@onereach/ui-components 2.68.1-beta.2065.0 → 2.68.1-beta.2067.0
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/dist/bundled/v2/{OrCardCollection-0eaf7489.js → OrCardCollection-94a30a19.js} +67 -37
- package/dist/bundled/v2/{OrSearch-e34afaee.js → OrSearch-3ece0ef6.js} +2 -2
- package/dist/bundled/v2/{OrSortHeader-396e6a7c.js → OrSortHeader-9932d28f.js} +2 -2
- package/dist/bundled/v2/components/index.js +3 -3
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v3/OrButton-8ab33d9d.js +33 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-26d9a7c8.js → OrCardCollection.vue_vue_type_script_lang-0e029303.js} +63 -35
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2e7fa659.js → OrConfirm.vue_vue_type_script_lang-18997376.js} +6 -36
- package/dist/bundled/v3/OrMenu-f26e8e55.js +29 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-1d2a20e0.js → OrSearch.vue_vue_type_script_lang-147a1fb9.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-919b2021.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +10 -36
- package/dist/bundled/v3/components/index.js +9 -7
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +10 -2
- package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +2 -1
- package/dist/bundled/v3/index.js +188 -173
- package/dist/esm/v2/{OrCardCollection-7bf35252.js → OrCardCollection-54648673.js} +69 -37
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
- package/dist/esm/v2/components/or-card-collection-v3/index.js +6 -2
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrCardCollection-9682c6ef.js → OrCardCollection-9d0036fa.js} +76 -36
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
- package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -2
- package/dist/esm/v3/index.js +1 -1
- package/package.json +1 -1
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +57 -52
- package/src/components/or-card-collection-v3/OrCardCollection.vue +72 -34
- package/src/components/or-card-collection-v3/styles.ts +1 -1
|
@@ -2,8 +2,11 @@ import './index-fa6eb4ca.js';
|
|
|
2
2
|
import { defineComponent, computed, ref, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
import { O as OrIconButton } from './OrIconButton-a215104c.js';
|
|
5
|
-
import { O as
|
|
6
|
-
import { O as
|
|
5
|
+
import { O as OrButton } from './OrButton-0e91a808.js';
|
|
6
|
+
import { O as OrMenu } from './OrMenu-fa47c888.js';
|
|
7
|
+
import { O as OrMenuItem } from './OrMenuItem-26420908.js';
|
|
8
|
+
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
9
|
+
import { O as OrSearch } from './OrSearch-3ece0ef6.js';
|
|
7
10
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
8
11
|
|
|
9
12
|
var CardCollectionView;
|
|
@@ -28,7 +31,7 @@ const CardCollectionToolbarPanel = [
|
|
|
28
31
|
// Layout
|
|
29
32
|
'layout-row',
|
|
30
33
|
// Spacing
|
|
31
|
-
'gap-
|
|
34
|
+
'gap-lg+'];
|
|
32
35
|
const CardCollectionContent = [
|
|
33
36
|
// Layout
|
|
34
37
|
'grid',
|
|
@@ -105,8 +108,11 @@ var script = defineComponent({
|
|
|
105
108
|
components: {
|
|
106
109
|
OrCardCollectionView,
|
|
107
110
|
OrIconButton,
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
OrButton,
|
|
112
|
+
OrMenu,
|
|
113
|
+
OrMenuItem,
|
|
114
|
+
OrIcon,
|
|
115
|
+
OrSearch
|
|
110
116
|
},
|
|
111
117
|
inheritAttrs: false,
|
|
112
118
|
props: {
|
|
@@ -119,12 +125,12 @@ var script = defineComponent({
|
|
|
119
125
|
default: CardCollectionView.Grid
|
|
120
126
|
},
|
|
121
127
|
sort: {
|
|
122
|
-
type:
|
|
123
|
-
|
|
128
|
+
type: String,
|
|
129
|
+
required: true
|
|
124
130
|
},
|
|
125
|
-
|
|
131
|
+
sortOptions: {
|
|
126
132
|
type: Array,
|
|
127
|
-
default:
|
|
133
|
+
default: () => []
|
|
128
134
|
},
|
|
129
135
|
search: {
|
|
130
136
|
type: String,
|
|
@@ -136,6 +142,8 @@ var script = defineComponent({
|
|
|
136
142
|
setup(props, context) {
|
|
137
143
|
// Refs
|
|
138
144
|
const root = ref();
|
|
145
|
+
const sortMenu = ref();
|
|
146
|
+
const sortButton = ref();
|
|
139
147
|
// Styles
|
|
140
148
|
const classAttribute = useClassAttribute();
|
|
141
149
|
const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
|
|
@@ -152,6 +160,12 @@ var script = defineComponent({
|
|
|
152
160
|
function switchToListView() {
|
|
153
161
|
proxyView.value = CardCollectionView.List;
|
|
154
162
|
}
|
|
163
|
+
function handleSort(sort) {
|
|
164
|
+
proxySort.value = sort;
|
|
165
|
+
}
|
|
166
|
+
function handleSearch(search) {
|
|
167
|
+
proxySearch.value = search;
|
|
168
|
+
}
|
|
155
169
|
// Effects
|
|
156
170
|
watch(() => props.view, value => {
|
|
157
171
|
proxyView.value = value;
|
|
@@ -173,6 +187,8 @@ var script = defineComponent({
|
|
|
173
187
|
});
|
|
174
188
|
return {
|
|
175
189
|
root,
|
|
190
|
+
sortMenu,
|
|
191
|
+
sortButton,
|
|
176
192
|
rootStyles,
|
|
177
193
|
toolbarStyles,
|
|
178
194
|
toolbarPanelStyles,
|
|
@@ -180,7 +196,9 @@ var script = defineComponent({
|
|
|
180
196
|
proxySort,
|
|
181
197
|
proxySearch,
|
|
182
198
|
switchToGridView,
|
|
183
|
-
switchToListView
|
|
199
|
+
switchToListView,
|
|
200
|
+
handleSort,
|
|
201
|
+
handleSearch
|
|
184
202
|
};
|
|
185
203
|
}
|
|
186
204
|
});
|
|
@@ -200,36 +218,48 @@ var __vue_render__ = function () {
|
|
|
200
218
|
class: _vm.toolbarStyles
|
|
201
219
|
}, [_c('div', {
|
|
202
220
|
class: _vm.toolbarPanelStyles
|
|
203
|
-
}, [_vm.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
_vm.proxySort = $$v;
|
|
213
|
-
},
|
|
214
|
-
expression: "proxySort"
|
|
221
|
+
}, [_vm.sortOptions.length ? [_c('OrButton', {
|
|
222
|
+
ref: "sortButton",
|
|
223
|
+
attrs: {
|
|
224
|
+
"variant": "link",
|
|
225
|
+
"color": "inherit"
|
|
226
|
+
},
|
|
227
|
+
on: {
|
|
228
|
+
"click": function ($event) {
|
|
229
|
+
return _vm.sortMenu.toggle();
|
|
215
230
|
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
231
|
+
}
|
|
232
|
+
}, [_vm._v("\n " + _vm._s(_vm.proxySort) + "\n "), _vm.sortMenu ? _c('OrIcon', {
|
|
233
|
+
attrs: {
|
|
234
|
+
"icon": _vm.sortMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
235
|
+
}
|
|
236
|
+
}) : _vm._e()], 1), _vm._v(" "), _c('OrMenu', {
|
|
237
|
+
ref: "sortMenu",
|
|
238
|
+
attrs: {
|
|
239
|
+
"trigger": _vm.sortButton && _vm.sortButton.root
|
|
240
|
+
}
|
|
241
|
+
}, _vm._l(_vm.sortOptions, function (sortItem) {
|
|
242
|
+
return _c('OrMenuItem', {
|
|
243
|
+
key: sortItem,
|
|
244
|
+
on: {
|
|
245
|
+
"click": function ($event) {
|
|
246
|
+
return _vm.handleSort(sortItem);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}, [_vm._v("\n " + _vm._s(sortItem) + "\n ")]);
|
|
250
|
+
}), 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
218
251
|
class: _vm.toolbarPanelStyles
|
|
219
|
-
}, [_c('
|
|
252
|
+
}, [_c('OrSearch', {
|
|
253
|
+
staticClass: "md:w-[350px]",
|
|
220
254
|
attrs: {
|
|
221
|
-
"
|
|
222
|
-
"placeholder": 'Search',
|
|
223
|
-
"size": 's'
|
|
255
|
+
"size": "s"
|
|
224
256
|
},
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
callback: function ($$v) {
|
|
228
|
-
_vm.proxySearch = $$v;
|
|
229
|
-
},
|
|
230
|
-
expression: "proxySearch"
|
|
257
|
+
on: {
|
|
258
|
+
"search": _vm.handleSearch
|
|
231
259
|
}
|
|
232
|
-
}), _vm._v(" "), _c('
|
|
260
|
+
}), _vm._v(" "), _c('div', {
|
|
261
|
+
staticClass: "layout-row gap-sm"
|
|
262
|
+
}, [_c('OrIconButton', {
|
|
233
263
|
attrs: {
|
|
234
264
|
"icon": 'grid_view'
|
|
235
265
|
},
|
|
@@ -240,14 +270,14 @@ var __vue_render__ = function () {
|
|
|
240
270
|
}
|
|
241
271
|
}), _vm._v(" "), _c('OrIconButton', {
|
|
242
272
|
attrs: {
|
|
243
|
-
"icon": '
|
|
273
|
+
"icon": 'view_agenda'
|
|
244
274
|
},
|
|
245
275
|
on: {
|
|
246
276
|
"click": function ($event) {
|
|
247
277
|
return _vm.switchToListView();
|
|
248
278
|
}
|
|
249
279
|
}
|
|
250
|
-
}), _vm._v(" "), _vm._t("addon")], 2)]), _vm._v(" "), _vm._t(_vm.proxyView, function () {
|
|
280
|
+
}), _vm._v(" "), _vm._t("addon")], 2)], 1)]), _vm._v(" "), _vm._t(_vm.proxyView, function () {
|
|
251
281
|
return [_c('OrCardCollectionView', {
|
|
252
282
|
attrs: {
|
|
253
283
|
"items": _vm.items,
|
|
@@ -137,6 +137,6 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
137
137
|
render: __vue_render__,
|
|
138
138
|
staticRenderFns: __vue_staticRenderFns__
|
|
139
139
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
140
|
-
var
|
|
140
|
+
var OrSearch = __vue_component__;
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { OrSearch as O };
|
|
@@ -129,6 +129,6 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
129
129
|
render: __vue_render__,
|
|
130
130
|
staticRenderFns: __vue_staticRenderFns__
|
|
131
131
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
132
|
-
var
|
|
132
|
+
var __vue_component__$1 = __vue_component__;
|
|
133
133
|
|
|
134
|
-
export {
|
|
134
|
+
export { __vue_component__$1 as _ };
|
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-0e91a808.js';
|
|
9
9
|
export { O as OrCard } from '../OrCard-a6b30f8f.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-89428bbf.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-94a30a19.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-29116e1f.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-6da755c0.js';
|
|
14
14
|
export { O as OrCheckbox } from '../OrCheckbox-4cbddd67.js';
|
|
@@ -63,7 +63,7 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
63
63
|
export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
|
|
64
64
|
export { _ as OrRadioGroup } from '../OrRadioGroup-aa9f0757.js';
|
|
65
65
|
export { _ as OrRadioV3 } from '../OrRadio-cd39b20b.js';
|
|
66
|
-
export {
|
|
66
|
+
export { O as OrSearchV3 } from '../OrSearch-3ece0ef6.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-21cc914e.js';
|
|
68
68
|
export { _ as OrSelect } from '../OrSelect-a23d4210.js';
|
|
69
69
|
export { _ as OrSelectV3 } from '../OrSelect-68aacb62.js';
|
|
@@ -72,7 +72,7 @@ export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614
|
|
|
72
72
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.js';
|
|
73
73
|
export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-516993b4.js';
|
|
74
74
|
export { _ as OrSlider } from '../OrSlider-59d05856.js';
|
|
75
|
-
export {
|
|
75
|
+
export { _ as OrSortHeaderV3 } from '../OrSortHeader-9932d28f.js';
|
|
76
76
|
export { _ as OrStepper } from '../OrStepper-3fc1a2b3.js';
|
|
77
77
|
export { _ as OrSwitch } from '../OrSwitch-47670dbd.js';
|
|
78
78
|
export { _ as OrSwitchV3 } from '../OrSwitch-237a2081.js';
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import { SortHeaderModel } from '../or-sort-header-v3';
|
|
3
2
|
import { CardCollectionView } from './props';
|
|
4
|
-
import { CardCollectionItem
|
|
3
|
+
import { CardCollectionItem } from './types';
|
|
5
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
6
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
|
+
sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
7
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
8
|
+
} | string[], {} & {}, {
|
|
9
|
+
[x: number]: string;
|
|
10
|
+
} | {}, true>)) | undefined>;
|
|
11
|
+
sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
12
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
13
|
+
} | string[], {} & {}, {
|
|
14
|
+
[x: number]: string;
|
|
15
|
+
} | {}, true>)) | undefined>;
|
|
7
16
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
8
17
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
18
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
10
19
|
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
11
|
-
proxySort: import("@vue/composition-api").Ref<
|
|
12
|
-
column: string;
|
|
13
|
-
direction: "asc" | "desc";
|
|
14
|
-
}>;
|
|
20
|
+
proxySort: import("@vue/composition-api").Ref<string>;
|
|
15
21
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
16
22
|
switchToGridView: () => void;
|
|
17
23
|
switchToListView: () => void;
|
|
24
|
+
handleSort: (sort: string) => void;
|
|
25
|
+
handleSearch: (search: string) => void;
|
|
18
26
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
19
27
|
items: {
|
|
20
28
|
type: PropType<CardCollectionItem[]>;
|
|
@@ -25,12 +33,12 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
25
33
|
default: CardCollectionView;
|
|
26
34
|
};
|
|
27
35
|
sort: {
|
|
28
|
-
type:
|
|
29
|
-
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: true;
|
|
30
38
|
};
|
|
31
|
-
|
|
32
|
-
type: PropType<
|
|
33
|
-
default:
|
|
39
|
+
sortOptions: {
|
|
40
|
+
type: PropType<string[]>;
|
|
41
|
+
default: () => never[];
|
|
34
42
|
};
|
|
35
43
|
search: {
|
|
36
44
|
type: StringConstructor;
|
|
@@ -46,12 +54,12 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
46
54
|
default: CardCollectionView;
|
|
47
55
|
};
|
|
48
56
|
sort: {
|
|
49
|
-
type:
|
|
50
|
-
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: true;
|
|
51
59
|
};
|
|
52
|
-
|
|
53
|
-
type: PropType<
|
|
54
|
-
default:
|
|
60
|
+
sortOptions: {
|
|
61
|
+
type: PropType<string[]>;
|
|
62
|
+
default: () => never[];
|
|
55
63
|
};
|
|
56
64
|
search: {
|
|
57
65
|
type: StringConstructor;
|
|
@@ -59,38 +67,46 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
59
67
|
};
|
|
60
68
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
61
69
|
search: string;
|
|
62
|
-
sort:
|
|
70
|
+
sort: string;
|
|
63
71
|
items: CardCollectionItem[];
|
|
64
72
|
view: CardCollectionView;
|
|
65
|
-
|
|
73
|
+
sortOptions: string[];
|
|
66
74
|
} & {} & {
|
|
67
75
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
68
76
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
69
77
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
78
|
+
sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
79
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
80
|
+
} | string[], {} & {}, {
|
|
81
|
+
[x: number]: string;
|
|
82
|
+
} | {}, true>)) | undefined>;
|
|
83
|
+
sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
84
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
85
|
+
} | string[], {} & {}, {
|
|
86
|
+
[x: number]: string;
|
|
87
|
+
} | {}, true>)) | undefined>;
|
|
70
88
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
71
89
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
72
90
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
73
91
|
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
74
|
-
proxySort: import("@vue/composition-api").Ref<
|
|
75
|
-
column: string;
|
|
76
|
-
direction: "asc" | "desc";
|
|
77
|
-
}>;
|
|
92
|
+
proxySort: import("@vue/composition-api").Ref<string>;
|
|
78
93
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
79
94
|
switchToGridView: () => void;
|
|
80
95
|
switchToListView: () => void;
|
|
96
|
+
handleSort: (sort: string) => void;
|
|
97
|
+
handleSearch: (search: string) => void;
|
|
81
98
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
82
99
|
search: string;
|
|
83
|
-
sort:
|
|
100
|
+
sort: string;
|
|
84
101
|
items: CardCollectionItem[];
|
|
85
102
|
view: CardCollectionView;
|
|
86
|
-
|
|
103
|
+
sortOptions: string[];
|
|
87
104
|
} & {} & {
|
|
88
105
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
89
106
|
}, {
|
|
90
107
|
search: string;
|
|
91
|
-
sort: SortHeaderModel;
|
|
92
108
|
items: CardCollectionItem[];
|
|
93
109
|
view: CardCollectionView;
|
|
94
|
-
|
|
110
|
+
sortOptions: string[];
|
|
95
111
|
}, true>);
|
|
96
112
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-94a30a19.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -16,10 +16,14 @@ import '../../OrTeleport.vue2-e9ba3054.js';
|
|
|
16
16
|
import 'portal-vue';
|
|
17
17
|
import '../../useElevation-aac032f4.js';
|
|
18
18
|
import '../../useResponsive-e13dfbb0.js';
|
|
19
|
+
import '../../OrButton-0e91a808.js';
|
|
20
|
+
import '../../OrLoader-6a1f937b.js';
|
|
21
|
+
import '../../OrMenu-fa47c888.js';
|
|
22
|
+
import '../../OrMenuItem-26420908.js';
|
|
23
|
+
import '../../OrSearch-3ece0ef6.js';
|
|
19
24
|
import '../../OrInput-4b82eb59.js';
|
|
20
25
|
import '../../OrError-aad17598.js';
|
|
21
26
|
import '../../OrHint-f38a1940.js';
|
|
22
27
|
import '../../OrInputBox-79ec54ad.js';
|
|
23
28
|
import '../../OrLabel-172c4b89.js';
|
|
24
29
|
import '../../browser-82dea9ed.js';
|
|
25
|
-
import '../../OrSortHeader-396e6a7c.js';
|