This commit is contained in:
2020-02-20 23:43:51 +00:00
parent 202437a23c
commit 512c6739eb
2 changed files with 38 additions and 16 deletions

View File

@@ -279,6 +279,9 @@ TAGS - At server if equality compare value is an array of strings then it's assu
---------------------- NON DATALISTVIEW STUFF ---------------------------- ---------------------- NON DATALISTVIEW STUFF ----------------------------
TODO: Switch control has issues in mobile view throws error "touch is undefined"
- Update and see if fixes or else switch to some other component
TODO: HELP link on listVieweditor not working
TODO: Add test for *NULL* and not *NULL* in datalistfilter tests as there currently aren't any TODO: Add test for *NULL* and not *NULL* in datalistfilter tests as there currently aren't any
TODO: ay-data-list-view initform code shows proper way to initialize and await each step TODO: ay-data-list-view initform code shows proper way to initialize and await each step
- Take that model and look at all the other forms and ensure they work the same way - Take that model and look at all the other forms and ensure they work the same way

View File

@@ -97,35 +97,37 @@
></v-switch> ></v-switch>
<template v-if="item.isSortable"> <template v-if="item.isSortable">
<div @click="toggleSort(item)" class="pl-2 pt-2"> <div @click="toggleSort(item)" class="pl-2 pt-2">
<v-btn v-if="item.sort == null" outlined> <v-btn large v-if="item.sort == null" icon>
<v-icon>fa-sort</v-icon>{{ lt("Sort") }}</v-btn <v-icon large>fa-sort</v-icon></v-btn
> >
<v-btn <v-btn
v-if="item.sort != null && item.sort == '-'" v-if="item.sort != null && item.sort == '-'"
outlined icon
><v-icon>fa-sort-amount-down</v-icon x-large
>{{ lt("Sort") }}</v-btn ><v-icon color="primary" x-large>fa-sort-amount-down</v-icon></v-btn
> >
<v-btn <v-btn
v-if="item.sort != null && item.sort == '+'" v-if="item.sort != null && item.sort == '+'"
outlined icon
><v-icon>fa-sort-amount-up</v-icon x-large
>{{ lt("Sort") }}</v-btn ><v-icon color="primary" x-large
>fa-sort-amount-up</v-icon
></v-btn
> >
</div> </div>
</template> </template>
</div> </div>
<div class="d-flex justify-space-between"> <div class="d-flex justify-space-between">
<v-btn outlined @click="move('start', index)" <v-btn icon @click="move('start', index)"
><v-icon>fa-step-backward</v-icon></v-btn ><v-icon>fa-step-backward</v-icon></v-btn
> >
<v-btn outlined @click="move('left', index)" <v-btn icon @click="move('left', index)"
><v-icon>fa-backward</v-icon></v-btn ><v-icon>fa-backward</v-icon></v-btn
> >
<v-btn outlined @click="move('right', index)" <v-btn icon @click="move('right', index)"
><v-icon>fa-forward</v-icon></v-btn ><v-icon>fa-forward</v-icon></v-btn
> >
<v-btn outlined @click="move('end', index)" <v-btn icon @click="move('end', index)"
><v-icon>fa-step-forward</v-icon></v-btn ><v-icon>fa-step-forward</v-icon></v-btn
> >
</div> </div>
@@ -189,8 +191,7 @@
item.uiFieldDataType === 12 item.uiFieldDataType === 12
" "
> >
STRING BUILDER (NO NEED FOR SEARCH BY ID AS ALL NAMES STRING BUILDER
ARE GUARANTEED UNIQUE IN RAVEN)
</div> </div>
<!-- INTEGER BUILDER --> <!-- INTEGER BUILDER -->
@@ -219,8 +220,26 @@
</div> </div>
<v-divider class="mx-4 my-5"></v-divider> <v-divider class="mx-4 my-5"></v-divider>
<div> <div>
TODO: STATIC list of items with delete button on each <v-list>
one <v-list-item
v-for="(filterItem, index) in item.filter.items"
:key="index"
>
<v-list-item-content>
<v-list-item-title
v-text="
filterItem.op + ' ' + filterItem.value
"
>
</v-list-item-title>
</v-list-item-content>
<v-list-item-action>
<v-btn icon>
<v-icon>fa-trash-alt</v-icon>
</v-btn>
</v-list-item-action>
</v-list-item>
</v-list>
<v-divider></v-divider> <v-divider></v-divider>
{{ item }} {{ item }}
</div> </div>