@saooti/octopus-sdk 32.0.16 → 32.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/index.ts +17 -15
- package/package.json +1 -1
- package/src/components/display/filter/AdvancedSearch.vue +25 -119
- package/src/components/display/filter/{CategoryFilter.vue → CategorySearchFilter.vue} +0 -0
- package/src/components/display/filter/DateFilter.vue +130 -0
- package/src/components/display/filter/SearchOrder.vue +41 -0
package/README.md
CHANGED
|
@@ -659,4 +659,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
659
659
|
* 32.0.13 Test Vite au lieu de Webpack
|
|
660
660
|
* 32.0.14 Mise en place Vite au lieu de Webpack
|
|
661
661
|
* 32.0.15 Pb lié refactor
|
|
662
|
-
* 32.0.16 Pb lié refactor
|
|
662
|
+
* 32.0.16 Pb lié refactor
|
|
663
|
+
* 32.0.17 AdvancedSearch components
|
package/index.ts
CHANGED
|
@@ -27,31 +27,26 @@ import Popover from "./src/components/misc/Popover.vue";
|
|
|
27
27
|
import CategoryChooser from "./src/components/display/categories/CategoryChooser.vue";
|
|
28
28
|
import CategoryList from "./src/components/display/categories/CategoryList.vue";
|
|
29
29
|
import CategoryFilter from "./src/components/display/categories/CategoryFilter.vue";
|
|
30
|
-
/*import EditBox from "./src/components/display/edit/EditBox.vue"; */
|
|
31
30
|
import EmissionChooser from "./src/components/display/emission/EmissionChooser.vue";
|
|
32
|
-
/* import EmissionItem from "./src/components/display/emission/EmissionItem.vue"; */
|
|
33
31
|
import EmissionList from "./src/components/display/emission/EmissionList.vue";
|
|
34
|
-
/*import MonetizableFilter from "./src/components/display/filter/MonetizableFilter.vue";
|
|
35
|
-
import ProductorSearch from "./src/components/display/filter/ProductorSearch.vue";*/
|
|
36
|
-
import AdvancedSearch from "./src/components/display/filter/AdvancedSearch.vue";
|
|
37
32
|
import OrganisationChooser from "./src/components/display/organisation/OrganisationChooser.vue";
|
|
38
|
-
/*import ParticipantItem from "./src/components/display/participant/ParticipantItem.vue";
|
|
39
|
-
import ParticipantList from "./src/components/display/participant/ParticipantList.vue";
|
|
40
|
-
import AnimatorsItem from "./src/components/display/podcasts/AnimatorsItem.vue";*/
|
|
41
33
|
import PodcastFilterList from "./src/components/display/podcasts/PodcastFilterList.vue";
|
|
42
|
-
/*import PodcastImage from "./src/components/display/podcasts/PodcastImage.vue";*/
|
|
43
34
|
import PodcastInlineList from "./src/components/display/podcasts/PodcastInlineList.vue";
|
|
44
|
-
/*import PodcastItem from "./src/components/display/podcasts/PodcastItem.vue";*/
|
|
45
35
|
import PodcastList from "./src/components/display/podcasts/PodcastList.vue";
|
|
46
36
|
import ShareButtons from "./src/components/display/sharing/ShareButtons.vue";
|
|
47
|
-
/*import ShareDistribution from "./src/components/display/sharing/ShareDistribution.vue";
|
|
48
|
-
import SharePlayer from "./src/components/display/sharing/SharePlayer.vue"; */
|
|
49
37
|
import EmissionInlineList from "./src/components/display/emission/EmissionInlineList.vue";
|
|
50
38
|
import RubriqueChooser from "./src/components/display/rubriques/RubriqueChooser.vue";
|
|
51
39
|
import CommentList from "./src/components/display/comments/CommentList.vue";
|
|
52
40
|
import CommentInput from "./src/components/display/comments/CommentInput.vue";
|
|
53
41
|
import PodcastPlaylistInlineList from "./src/components/display/playlist/PodcastPlaylistInlineList.vue";
|
|
54
42
|
|
|
43
|
+
//AdvancedSearch
|
|
44
|
+
import AdvancedSearch from "./src/components/display/filter/AdvancedSearch.vue";
|
|
45
|
+
import CategorySearchFilter from "./src/components/display/filter/CategorySearchFilter.vue";
|
|
46
|
+
import RubriqueFilter from "./src/components/display/filter/RubriqueFilter.vue";
|
|
47
|
+
import DateFilter from "./src/components/display/filter/DateFilter.vue";
|
|
48
|
+
import SearchOrder from "./src/components/display/filter/SearchOrder.vue";
|
|
49
|
+
|
|
55
50
|
//form
|
|
56
51
|
import ClassicSearch from "./src/components/form/ClassicSearch.vue";
|
|
57
52
|
import ClassicCheckbox from "./src/components/form/ClassicCheckbox.vue";
|
|
@@ -122,9 +117,12 @@ const components = {
|
|
|
122
117
|
ClassicSelect,
|
|
123
118
|
Error403Page,
|
|
124
119
|
Paginate,
|
|
125
|
-
ListPaginate
|
|
120
|
+
ListPaginate,
|
|
121
|
+
CategorySearchFilter,
|
|
122
|
+
RubriqueFilter,
|
|
123
|
+
DateFilter,
|
|
124
|
+
SearchOrder
|
|
126
125
|
}
|
|
127
|
-
|
|
128
126
|
export default components;
|
|
129
127
|
|
|
130
128
|
export {
|
|
@@ -180,5 +178,9 @@ export {
|
|
|
180
178
|
ClassicSelect,
|
|
181
179
|
Error403Page,
|
|
182
180
|
Paginate,
|
|
183
|
-
ListPaginate
|
|
181
|
+
ListPaginate,
|
|
182
|
+
CategorySearchFilter,
|
|
183
|
+
RubriqueFilter,
|
|
184
|
+
DateFilter,
|
|
185
|
+
SearchOrder
|
|
184
186
|
};
|
package/package.json
CHANGED
|
@@ -23,68 +23,17 @@
|
|
|
23
23
|
:is-emission="isEmission"
|
|
24
24
|
@updateMonetization="updateMonetization"
|
|
25
25
|
/>
|
|
26
|
-
<
|
|
26
|
+
<CategorySearchFilter @updateCategory="updateCategory" />
|
|
27
27
|
<RubriqueFilter
|
|
28
28
|
:reset-rubriquage="resetRubriquage"
|
|
29
29
|
:organisation-id="organisationId"
|
|
30
30
|
@updateRubriquageFilter="updateRubriquageFilter"
|
|
31
31
|
/>
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{{ $t('Emission with episode published :') }}
|
|
38
|
-
</div>
|
|
39
|
-
<div class="d-flex align-items-center">
|
|
40
|
-
<ClassicCheckbox
|
|
41
|
-
v-model:textInit="isFrom"
|
|
42
|
-
class="flex-shrink-0"
|
|
43
|
-
id-checkbox="search-from-checkbox"
|
|
44
|
-
:label="$t('From the :')"
|
|
45
|
-
/>
|
|
46
|
-
<DatePicker
|
|
47
|
-
v-model="fromDate"
|
|
48
|
-
class="ps-3 pe-3"
|
|
49
|
-
mode="dateTime"
|
|
50
|
-
color="green"
|
|
51
|
-
is24hr
|
|
52
|
-
@update:modelValue="updateFromDate()"
|
|
53
|
-
>
|
|
54
|
-
<template #default="{ inputValue, inputEvents }">
|
|
55
|
-
<input
|
|
56
|
-
class="px-2 py-1 border rounded focus:border-blue-300"
|
|
57
|
-
:value="inputValue"
|
|
58
|
-
v-on="inputEvents"
|
|
59
|
-
>
|
|
60
|
-
</template>
|
|
61
|
-
</DatePicker>
|
|
62
|
-
</div>
|
|
63
|
-
<div class="d-flex align-items-center">
|
|
64
|
-
<ClassicCheckbox
|
|
65
|
-
v-model:textInit="isTo"
|
|
66
|
-
class="flex-shrink-0"
|
|
67
|
-
id-checkbox="search-to-checkbox"
|
|
68
|
-
:label="$t('To the :')"
|
|
69
|
-
/>
|
|
70
|
-
<DatePicker
|
|
71
|
-
v-model="toDate"
|
|
72
|
-
class="ps-3"
|
|
73
|
-
mode="dateTime"
|
|
74
|
-
color="green"
|
|
75
|
-
is24hr
|
|
76
|
-
@update:modelValue="updateToDate()"
|
|
77
|
-
>
|
|
78
|
-
<template #default="{ inputValue, inputEvents }">
|
|
79
|
-
<input
|
|
80
|
-
class="px-2 py-1 border rounded focus:border-blue-300"
|
|
81
|
-
:value="inputValue"
|
|
82
|
-
v-on="inputEvents"
|
|
83
|
-
>
|
|
84
|
-
</template>
|
|
85
|
-
</DatePicker>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
32
|
+
<DateFilter
|
|
33
|
+
:isEmission="isEmission"
|
|
34
|
+
@updateToDate="updateToDate"
|
|
35
|
+
@updateFromDate="updateFromDate"
|
|
36
|
+
/>
|
|
88
37
|
<div
|
|
89
38
|
v-if="organisation && organisationRight && !isPodcastmaker"
|
|
90
39
|
class="d-flex flex-column mt-3"
|
|
@@ -113,14 +62,11 @@
|
|
|
113
62
|
<div class="primary-darker mb-2">
|
|
114
63
|
{{ $t('Sort') }}
|
|
115
64
|
</div>
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
:
|
|
120
|
-
|
|
121
|
-
{title:$t('Sort name'), value:'NAME'}]:
|
|
122
|
-
[{title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
|
|
123
|
-
{title:$t('Sort name'), value:'NAME'}]"
|
|
65
|
+
<SearchOrder
|
|
66
|
+
:isEmission="isEmission"
|
|
67
|
+
:isSearchBar="isSearchBar"
|
|
68
|
+
:sortCriteria="sortCriteria"
|
|
69
|
+
@updateSortCriteria="updateSortCriteria"
|
|
124
70
|
/>
|
|
125
71
|
</div>
|
|
126
72
|
</div>
|
|
@@ -130,23 +76,24 @@
|
|
|
130
76
|
<script lang="ts">
|
|
131
77
|
import { state } from '../../../store/paramStore';
|
|
132
78
|
import { orgaComputed } from '../../mixins/orgaComputed';
|
|
133
|
-
import
|
|
134
|
-
import
|
|
79
|
+
import CategorySearchFilter from './CategorySearchFilter.vue';
|
|
80
|
+
import DateFilter from './DateFilter.vue';
|
|
81
|
+
import SearchOrder from './SearchOrder.vue';
|
|
135
82
|
import RubriqueFilter from './RubriqueFilter.vue';
|
|
136
83
|
import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
|
|
137
84
|
import ClassicRadio from '../../form/ClassicRadio.vue';
|
|
138
85
|
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
139
|
-
import { DatePicker } from 'v-calendar';
|
|
140
86
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
141
87
|
const MonetizableFilter = defineAsyncComponent(() => import('./MonetizableFilter.vue'));
|
|
142
88
|
export default defineComponent({
|
|
143
89
|
components: {
|
|
144
90
|
MonetizableFilter,
|
|
145
|
-
|
|
146
|
-
CategoryFilter,
|
|
91
|
+
CategorySearchFilter,
|
|
147
92
|
RubriqueFilter,
|
|
148
93
|
ClassicCheckbox,
|
|
149
|
-
ClassicRadio
|
|
94
|
+
ClassicRadio,
|
|
95
|
+
DateFilter,
|
|
96
|
+
SearchOrder
|
|
150
97
|
},
|
|
151
98
|
mixins: [orgaComputed],
|
|
152
99
|
props: {
|
|
@@ -169,14 +116,9 @@ export default defineComponent({
|
|
|
169
116
|
'updateRubriquageFilter'],
|
|
170
117
|
data() {
|
|
171
118
|
return {
|
|
172
|
-
isFrom: false as boolean,
|
|
173
|
-
isTo: false as boolean,
|
|
174
|
-
fromDate: moment().subtract(10, 'days').toISOString() as string,
|
|
175
|
-
toDate: moment().toISOString() as string,
|
|
176
119
|
isNotVisible: this.includeHidden as boolean,
|
|
177
120
|
isNotValidate: false as boolean,
|
|
178
121
|
showFilters: false as boolean,
|
|
179
|
-
sort: this.sortCriteria as string,
|
|
180
122
|
};
|
|
181
123
|
},
|
|
182
124
|
|
|
@@ -219,58 +161,19 @@ export default defineComponent({
|
|
|
219
161
|
organisation(): void {
|
|
220
162
|
this.isNotVisible = undefined!==this.organisation && this.organisationRight && !this.isEmission;
|
|
221
163
|
},
|
|
222
|
-
isFrom(): void {
|
|
223
|
-
this.$emit('updateFromDate', this.isFrom ? moment(this.fromDate).toISOString(true) : undefined);
|
|
224
|
-
},
|
|
225
|
-
isTo(): void {
|
|
226
|
-
this.$emit('updateToDate', this.isTo ? moment(this.toDate).toISOString(true) : undefined);
|
|
227
|
-
},
|
|
228
|
-
sort(): void {
|
|
229
|
-
this.$emit('updateSortCriteria', this.sort);
|
|
230
|
-
},
|
|
231
164
|
isNotVisible(): void{
|
|
232
165
|
this.$emit('includeHidden', this.isNotVisible);
|
|
233
166
|
},
|
|
234
167
|
isNotValidate(): void {
|
|
235
168
|
this.$emit('notValid', this.isNotValidate);
|
|
236
169
|
},
|
|
237
|
-
sortCriteria(): void {
|
|
238
|
-
this.sort = this.sortCriteria;
|
|
239
|
-
},
|
|
240
170
|
},
|
|
241
171
|
methods: {
|
|
242
|
-
updateFromDate(): void {
|
|
243
|
-
|
|
244
|
-
moment(this.fromDate)
|
|
245
|
-
.startOf('minute')
|
|
246
|
-
.toISOString() ===
|
|
247
|
-
moment()
|
|
248
|
-
.subtract(10, 'days')
|
|
249
|
-
.startOf('minute')
|
|
250
|
-
.toISOString()
|
|
251
|
-
)
|
|
252
|
-
return;
|
|
253
|
-
if (this.isFrom) {
|
|
254
|
-
this.$emit('updateFromDate', moment(this.fromDate).toISOString(true));
|
|
255
|
-
} else {
|
|
256
|
-
this.isFrom = true;
|
|
257
|
-
}
|
|
172
|
+
updateFromDate(value: string): void {
|
|
173
|
+
this.$emit('updateFromDate', value);
|
|
258
174
|
},
|
|
259
|
-
updateToDate(): void {
|
|
260
|
-
|
|
261
|
-
moment(this.toDate)
|
|
262
|
-
.startOf('minute')
|
|
263
|
-
.toISOString() ===
|
|
264
|
-
moment()
|
|
265
|
-
.startOf('minute')
|
|
266
|
-
.toISOString()
|
|
267
|
-
)
|
|
268
|
-
return;
|
|
269
|
-
if (this.isTo) {
|
|
270
|
-
this.$emit('updateToDate', moment(this.toDate).toISOString(true));
|
|
271
|
-
} else {
|
|
272
|
-
this.isTo = true;
|
|
273
|
-
}
|
|
175
|
+
updateToDate(value: string): void {
|
|
176
|
+
this.$emit('updateToDate', value);
|
|
274
177
|
},
|
|
275
178
|
updateMonetization(value: string): void {
|
|
276
179
|
this.$emit('updateMonetization', value);
|
|
@@ -281,6 +184,9 @@ export default defineComponent({
|
|
|
281
184
|
updateRubriquageFilter(value: Array<RubriquageFilter>){
|
|
282
185
|
this.$emit('updateRubriquageFilter', value);
|
|
283
186
|
},
|
|
187
|
+
updateSortCriteria(value: string){
|
|
188
|
+
this.$emit('updateSortCriteria', value);
|
|
189
|
+
}
|
|
284
190
|
},
|
|
285
191
|
})
|
|
286
192
|
</script>
|
|
File without changes
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="d-flex mt-3 align-items-center flex-wrap">
|
|
3
|
+
<div
|
|
4
|
+
v-if="isEmission"
|
|
5
|
+
class="me-2"
|
|
6
|
+
>
|
|
7
|
+
{{ $t('Emission with episode published :') }}
|
|
8
|
+
</div>
|
|
9
|
+
<div class="d-flex align-items-center">
|
|
10
|
+
<ClassicCheckbox
|
|
11
|
+
v-model:textInit="isFrom"
|
|
12
|
+
class="flex-shrink-0"
|
|
13
|
+
id-checkbox="search-from-checkbox"
|
|
14
|
+
:label="$t('From the :')"
|
|
15
|
+
/>
|
|
16
|
+
<DatePicker
|
|
17
|
+
v-model="fromDate"
|
|
18
|
+
class="ps-3 pe-3"
|
|
19
|
+
mode="dateTime"
|
|
20
|
+
color="green"
|
|
21
|
+
is24hr
|
|
22
|
+
@update:modelValue="updateFromDate()"
|
|
23
|
+
>
|
|
24
|
+
<template #default="{ inputValue, inputEvents }">
|
|
25
|
+
<input
|
|
26
|
+
class="px-2 py-1 border rounded focus:border-blue-300"
|
|
27
|
+
:value="inputValue"
|
|
28
|
+
v-on="inputEvents"
|
|
29
|
+
>
|
|
30
|
+
</template>
|
|
31
|
+
</DatePicker>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="d-flex align-items-center">
|
|
34
|
+
<ClassicCheckbox
|
|
35
|
+
v-model:textInit="isTo"
|
|
36
|
+
class="flex-shrink-0"
|
|
37
|
+
id-checkbox="search-to-checkbox"
|
|
38
|
+
:label="$t('To the :')"
|
|
39
|
+
/>
|
|
40
|
+
<DatePicker
|
|
41
|
+
v-model="toDate"
|
|
42
|
+
class="ps-3"
|
|
43
|
+
mode="dateTime"
|
|
44
|
+
color="green"
|
|
45
|
+
is24hr
|
|
46
|
+
@update:modelValue="updateToDate()"
|
|
47
|
+
>
|
|
48
|
+
<template #default="{ inputValue, inputEvents }">
|
|
49
|
+
<input
|
|
50
|
+
class="px-2 py-1 border rounded focus:border-blue-300"
|
|
51
|
+
:value="inputValue"
|
|
52
|
+
v-on="inputEvents"
|
|
53
|
+
>
|
|
54
|
+
</template>
|
|
55
|
+
</DatePicker>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
</template>
|
|
60
|
+
|
|
61
|
+
<script lang="ts">
|
|
62
|
+
import moment from 'moment';
|
|
63
|
+
import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
|
|
64
|
+
import { DatePicker } from 'v-calendar';
|
|
65
|
+
import { defineComponent } from 'vue';
|
|
66
|
+
export default defineComponent({
|
|
67
|
+
components: {
|
|
68
|
+
DatePicker,
|
|
69
|
+
ClassicCheckbox,
|
|
70
|
+
},
|
|
71
|
+
props: {
|
|
72
|
+
isEmission: { default: false, type: Boolean},
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
emits: ['updateToDate', 'updateFromDate'],
|
|
76
|
+
|
|
77
|
+
data() {
|
|
78
|
+
return {
|
|
79
|
+
isFrom: false as boolean,
|
|
80
|
+
isTo: false as boolean,
|
|
81
|
+
fromDate: moment().subtract(10, 'days').toISOString() as string,
|
|
82
|
+
toDate: moment().toISOString() as string,
|
|
83
|
+
};
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
watch: {
|
|
87
|
+
isFrom(): void {
|
|
88
|
+
this.$emit('updateFromDate', this.isFrom ? moment(this.fromDate).toISOString(true) : undefined);
|
|
89
|
+
},
|
|
90
|
+
isTo(): void {
|
|
91
|
+
this.$emit('updateToDate', this.isTo ? moment(this.toDate).toISOString(true) : undefined);
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
methods: {
|
|
95
|
+
updateFromDate(): void {
|
|
96
|
+
if (
|
|
97
|
+
moment(this.fromDate)
|
|
98
|
+
.startOf('minute')
|
|
99
|
+
.toISOString() ===
|
|
100
|
+
moment()
|
|
101
|
+
.subtract(10, 'days')
|
|
102
|
+
.startOf('minute')
|
|
103
|
+
.toISOString()
|
|
104
|
+
)
|
|
105
|
+
return;
|
|
106
|
+
if (this.isFrom) {
|
|
107
|
+
this.$emit('updateFromDate', moment(this.fromDate).toISOString(true));
|
|
108
|
+
} else {
|
|
109
|
+
this.isFrom = true;
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
updateToDate(): void {
|
|
113
|
+
if (
|
|
114
|
+
moment(this.toDate)
|
|
115
|
+
.startOf('minute')
|
|
116
|
+
.toISOString() ===
|
|
117
|
+
moment()
|
|
118
|
+
.startOf('minute')
|
|
119
|
+
.toISOString()
|
|
120
|
+
)
|
|
121
|
+
return;
|
|
122
|
+
if (this.isTo) {
|
|
123
|
+
this.$emit('updateToDate', moment(this.toDate).toISOString(true));
|
|
124
|
+
} else {
|
|
125
|
+
this.isTo = true;
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
})
|
|
130
|
+
</script>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ClassicRadio
|
|
3
|
+
v-model:textInit="sort"
|
|
4
|
+
id-radio="sort-radio"
|
|
5
|
+
:options="isSearchBar? [{title:$t('Sort score'), value:'SCORE'},
|
|
6
|
+
{title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
|
|
7
|
+
{title:$t('Sort name'), value:'NAME'}]:
|
|
8
|
+
[{title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
|
|
9
|
+
{title:$t('Sort name'), value:'NAME'}]"
|
|
10
|
+
/>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script lang="ts">
|
|
14
|
+
import ClassicRadio from '../../form/ClassicRadio.vue';
|
|
15
|
+
import { defineComponent } from 'vue';
|
|
16
|
+
export default defineComponent({
|
|
17
|
+
components: {
|
|
18
|
+
ClassicRadio,
|
|
19
|
+
},
|
|
20
|
+
props: {
|
|
21
|
+
isEmission: { default: false, type: Boolean},
|
|
22
|
+
isSearchBar: { default: false, type: Boolean},
|
|
23
|
+
sortCriteria: { default: 'DATE', type: String},
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
emits: ['updateSortCriteria'],
|
|
27
|
+
data() {
|
|
28
|
+
return {
|
|
29
|
+
sort: this.sortCriteria as string,
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
watch: {
|
|
33
|
+
sort(): void {
|
|
34
|
+
this.$emit('updateSortCriteria', this.sort);
|
|
35
|
+
},
|
|
36
|
+
sortCriteria(): void {
|
|
37
|
+
this.sort = this.sortCriteria;
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
})
|
|
41
|
+
</script>
|