@onereach/ui-components 4.12.0 → 4.12.1-beta.2983.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/components/OrCardCollectionV3/OrCardCollection.js +26 -62
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +2 -25
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +6 -4
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +6 -5
- package/dist/bundled/v2/components/OrCardCollectionV3/types.d.ts +0 -4
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +3 -1
- package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.js +160 -0
- package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.vue.d.ts +69 -0
- package/dist/bundled/v2/components/OrSortingV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrSortingV3/index.js +34 -0
- package/dist/bundled/v2/components/OrSortingV3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/OrSortingV3/styles.js +6 -0
- package/dist/bundled/v2/components/OrSortingV3/types.d.ts +4 -0
- package/dist/bundled/v2/components/index.d.ts +1 -1
- package/dist/bundled/v2/components/index.js +3 -3
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-9d20dd3c.js → OrCardCollection.vue_vue_type_script_lang-9597e400.js} +5 -30
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-d94c33ca.js → OrDatePicker.vue_vue_type_script_lang-04af0e24.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-46b1735a.js → OrDateTimePicker.vue_vue_type_script_lang-ec06a304.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-57340c1e.js → OrDateTimePickerMonthSelect-1e284be4.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-32a27808.js → OrPagination.vue_vue_type_script_lang-f4c61af9.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-69c5cd67.js → OrSelect.vue_vue_type_script_lang-fe9a7e7c.js} +1 -1
- package/dist/bundled/v3/OrSortingV3.vue_vue_type_script_lang-1bb22099.js +68 -0
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e9ea6c28.js → OrTabs.vue_vue_type_script_lang-366b95d9.js} +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +26 -51
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +2 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +10 -7
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +6 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/types.d.ts +0 -4
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +4 -4
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +2 -2
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +3 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +3 -3
- package/dist/bundled/v3/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.js +88 -0
- package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.vue.d.ts +36 -0
- package/dist/bundled/v3/components/OrSortingV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrSortingV3/index.js +42 -0
- package/dist/bundled/v3/components/OrSortingV3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/OrSortingV3/styles.js +6 -0
- package/dist/bundled/v3/components/OrSortingV3/types.d.ts +4 -0
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +3 -3
- package/dist/bundled/v3/components/OrTabsV3/index.js +2 -2
- package/dist/bundled/v3/components/index.d.ts +1 -1
- package/dist/bundled/v3/components/index.js +12 -11
- package/dist/bundled/v3/index.js +15 -15
- package/dist/esm/v2/{OrCardCollection-d29b850c.js → OrCardCollection-4e2fba5e.js} +24 -65
- package/dist/esm/v2/{OrDatePicker-365c393c.js → OrDatePicker-078c3498.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker-665b1585.js → OrDateTimePicker-22febde1.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-a59d2087.js → OrDateTimePicker.vue_rollup-plugin-vue_script-f843a18d.js} +1 -1
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-3a99a29d.js → OrDateTimePickerPopoverHeader-f4dabe74.js} +1 -1
- package/dist/esm/v2/{OrMenuItem-b5bb6e11.js → OrMenuItem-8af38fc8.js} +3 -1
- package/dist/esm/v2/{OrPagination-b9a941dd.js → OrPagination-05a1c01b.js} +1 -1
- package/dist/esm/v2/{OrSelect-9893819d.js → OrSelect-925d2b50.js} +1 -1
- package/dist/esm/v2/OrSortingV3-6b5f1b51.js +139 -0
- package/dist/esm/v2/{OrTabs-80db5b36.js → OrTabs-e5b6986c.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-13232692.js → OrTimePicker-3860cda8.js} +2 -2
- package/dist/esm/v2/components/index.d.ts +1 -1
- package/dist/esm/v2/components/index.js +11 -11
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -25
- package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -7
- package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +0 -4
- package/dist/esm/v2/components/or-date-picker-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-sorting-v3/OrSortingV3.vue.d.ts +69 -0
- package/dist/esm/v2/components/or-sorting-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-sorting-v3/index.js +20 -0
- package/dist/esm/v2/components/or-sorting-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-sorting-v3/types.d.ts +4 -0
- package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/index.js +11 -11
- package/dist/esm/v3/{OrCardCollection-305a9a2d.js → OrCardCollection-46544ba3.js} +25 -75
- package/dist/esm/v3/{OrDatePicker-aac79bce.js → OrDatePicker-4b5a93ad.js} +1 -1
- package/dist/esm/v3/{OrDateTimePicker-5a1af2fe.js → OrDateTimePicker-091fe6ac.js} +1 -1
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-a478e254.js → OrDateTimePickerPopoverHeader-be89989e.js} +1 -1
- package/dist/esm/v3/{OrMenuItem-331cb96b.js → OrMenuItem-e2344d0e.js} +3 -1
- package/dist/esm/v3/{OrPagination-1018acbc.js → OrPagination-a3904a4d.js} +1 -1
- package/dist/esm/v3/{OrSelect-a310d8be.js → OrSelect-0ef072dc.js} +1 -1
- package/dist/esm/v3/OrSortingV3-1ac9a2d5.js +115 -0
- package/dist/esm/v3/{OrTabs-328f5a69.js → OrTabs-3457d575.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-aaf59858.js → OrTimePicker-c4b02958.js} +2 -2
- package/dist/esm/v3/components/index.d.ts +1 -1
- package/dist/esm/v3/components/index.js +10 -10
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -5
- package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -7
- package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +0 -4
- package/dist/esm/v3/components/or-date-picker-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +3 -3
- package/dist/esm/v3/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-sorting-v3/OrSortingV3.vue.d.ts +36 -0
- package/dist/esm/v3/components/or-sorting-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-sorting-v3/index.js +19 -0
- package/dist/esm/v3/components/or-sorting-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-sorting-v3/types.d.ts +4 -0
- package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/index.js +10 -10
- package/package.json +2 -3
- package/src/components/index.ts +1 -1
- package/src/components/or-card-collection-v3/OrCardCollection.vue +17 -58
- package/src/components/or-card-collection-v3/styles.ts +6 -8
- package/src/components/or-card-collection-v3/types.ts +0 -5
- package/src/components/or-menu-item-v3/styles.ts +3 -0
- package/src/components/or-sorting-v3/OrSortingV3.vue +116 -0
- package/src/components/or-sorting-v3/index.ts +2 -0
- package/src/components/or-sorting-v3/styles.ts +5 -0
- package/src/components/or-sorting-v3/types.ts +4 -0
- package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeader.js +0 -109
- package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +0 -46
- package/dist/bundled/v2/components/OrSortHeaderV3/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrSortHeaderV3/index.js +0 -8
- package/dist/bundled/v2/components/OrSortHeaderV3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/OrSortHeaderV3/styles.js +0 -15
- package/dist/bundled/v2/components/OrSortHeaderV3/types.d.ts +0 -4
- package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-a444d88b.js +0 -57
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.js +0 -30
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +0 -34
- package/dist/bundled/v3/components/OrSortHeaderV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSortHeaderV3/index.js +0 -9
- package/dist/bundled/v3/components/OrSortHeaderV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrSortHeaderV3/styles.js +0 -15
- package/dist/bundled/v3/components/OrSortHeaderV3/types.d.ts +0 -4
- package/dist/esm/v2/OrSortHeader-46a92f09.js +0 -123
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +0 -46
- package/dist/esm/v2/components/or-sort-header-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-sort-header-v3/index.js +0 -8
- package/dist/esm/v2/components/or-sort-header-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-sort-header-v3/types.d.ts +0 -4
- package/dist/esm/v3/OrSortHeader-21a443f9.js +0 -93
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +0 -34
- package/dist/esm/v3/components/or-sort-header-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-sort-header-v3/index.js +0 -8
- package/dist/esm/v3/components/or-sort-header-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-sort-header-v3/types.d.ts +0 -4
- package/src/components/or-sort-header-v3/OrSortHeader.docs.mdx +0 -3
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +0 -125
- package/src/components/or-sort-header-v3/OrSortHeader.vue +0 -95
- package/src/components/or-sort-header-v3/index.ts +0 -2
- package/src/components/or-sort-header-v3/styles.ts +0 -21
- package/src/components/or-sort-header-v3/types.ts +0 -4
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-232c4dda.js → OrDateTimePickerMonthSelect-2e61ba21.js} +0 -0
- /package/dist/bundled/v2/components/{OrSortHeaderV3 → OrSortingV3}/types.js +0 -0
- /package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-f35dcab4.js → OrMenuItem.vue_vue_type_script_lang-8f6994d5.js} +0 -0
- /package/dist/bundled/v3/components/{OrSortHeaderV3 → OrSortingV3}/types.js +0 -0
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$3 } from './OrButton-9622e713.js';
|
|
3
2
|
import { _ as __vue_component__$2 } from './OrIconButton-6fcd20b0.js';
|
|
4
|
-
import { _ as __vue_component__$
|
|
5
|
-
import { _ as __vue_component__$5 } from './OrMenuItem-b5bb6e11.js';
|
|
6
|
-
import { _ as __vue_component__$4 } from './OrMenu-6b3de1c1.js';
|
|
7
|
-
import './OrPopover-71380b24.js';
|
|
8
|
-
import { _ as __vue_component__$7 } from './OrSearch-7f444d5c.js';
|
|
3
|
+
import { _ as __vue_component__$4 } from './OrSearch-7f444d5c.js';
|
|
9
4
|
import './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
10
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
|
+
import { _ as __vue_component__$3 } from './OrSortingV3-6b5f1b51.js';
|
|
11
7
|
|
|
12
8
|
const CardCollectionRoot = [
|
|
13
9
|
// Layout
|
|
14
10
|
'layout-column',
|
|
15
11
|
// Spacing
|
|
16
|
-
'gap-md', 'max-h-full'
|
|
17
|
-
// Overflow
|
|
18
|
-
'overflow-hidden'];
|
|
12
|
+
'gap-md', 'max-h-full'];
|
|
19
13
|
const CardCollectionToolbar = [
|
|
20
14
|
// Layout
|
|
21
15
|
'layout-row justify-between',
|
|
@@ -34,11 +28,14 @@ const CardCollectionContent = [
|
|
|
34
28
|
// Spacing
|
|
35
29
|
'gap-sm md:gap-md',
|
|
36
30
|
// Overflow
|
|
37
|
-
'overflow-auto'
|
|
31
|
+
'overflow-y-auto', 'p-xs*', '-m-xs*'
|
|
32
|
+
// '-mr-sm*',
|
|
33
|
+
];
|
|
34
|
+
|
|
38
35
|
const CardCollectionContentViews = {
|
|
39
36
|
'grid': [
|
|
40
37
|
// Layout
|
|
41
|
-
'
|
|
38
|
+
'grid-cols-1', 'md:grid-cols-5'],
|
|
42
39
|
'list': ['grid-cols-1']
|
|
43
40
|
};
|
|
44
41
|
|
|
@@ -122,11 +119,8 @@ var script = defineComponent({
|
|
|
122
119
|
components: {
|
|
123
120
|
OrCardCollectionView: __vue_component__$1,
|
|
124
121
|
OrIconButton: __vue_component__$2,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
OrMenuItem: __vue_component__$5,
|
|
128
|
-
OrIcon: __vue_component__$6,
|
|
129
|
-
OrSearch: __vue_component__$7
|
|
122
|
+
OrSorting: __vue_component__$3,
|
|
123
|
+
OrSearch: __vue_component__$4
|
|
130
124
|
},
|
|
131
125
|
props: {
|
|
132
126
|
items: {
|
|
@@ -167,8 +161,6 @@ var script = defineComponent({
|
|
|
167
161
|
setup(props, context) {
|
|
168
162
|
// Refs
|
|
169
163
|
const root = ref();
|
|
170
|
-
const sortMenu = ref();
|
|
171
|
-
const sortButton = ref();
|
|
172
164
|
// Styles
|
|
173
165
|
const rootStyles = computed(() => ['or-card-collection-v3', ...CardCollectionRoot]);
|
|
174
166
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
@@ -179,15 +171,11 @@ var script = defineComponent({
|
|
|
179
171
|
});
|
|
180
172
|
// State
|
|
181
173
|
const proxyView = ref(props.view);
|
|
182
|
-
const proxySort = ref(props.sort);
|
|
183
174
|
const proxySearch = ref(props.search);
|
|
184
175
|
// Methods
|
|
185
176
|
function switchView(view) {
|
|
186
177
|
proxyView.value = view;
|
|
187
178
|
}
|
|
188
|
-
function handleSort(sort) {
|
|
189
|
-
proxySort.value = sort;
|
|
190
|
-
}
|
|
191
179
|
function handleSearch(search) {
|
|
192
180
|
proxySearch.value = search;
|
|
193
181
|
}
|
|
@@ -198,12 +186,6 @@ var script = defineComponent({
|
|
|
198
186
|
watch(proxyView, value => {
|
|
199
187
|
context.emit('viewChange', value);
|
|
200
188
|
});
|
|
201
|
-
watch(() => props.sort, value => {
|
|
202
|
-
proxySort.value = value;
|
|
203
|
-
});
|
|
204
|
-
watch(proxySort, value => {
|
|
205
|
-
context.emit('sortChange', value);
|
|
206
|
-
});
|
|
207
189
|
watch(() => props.search, value => {
|
|
208
190
|
proxySearch.value = value;
|
|
209
191
|
});
|
|
@@ -212,17 +194,13 @@ var script = defineComponent({
|
|
|
212
194
|
});
|
|
213
195
|
return {
|
|
214
196
|
root,
|
|
215
|
-
sortMenu,
|
|
216
|
-
sortButton,
|
|
217
197
|
rootStyles,
|
|
218
198
|
toolbarStyles,
|
|
219
199
|
toolbarPanelStyles,
|
|
220
200
|
proxyView,
|
|
221
|
-
proxySort,
|
|
222
201
|
proxySearch,
|
|
223
202
|
sortLabel,
|
|
224
203
|
switchView,
|
|
225
|
-
handleSort,
|
|
226
204
|
handleSearch
|
|
227
205
|
};
|
|
228
206
|
}
|
|
@@ -243,58 +221,39 @@ var __vue_render__ = function () {
|
|
|
243
221
|
class: _vm.toolbarStyles
|
|
244
222
|
}, [_c('div', {
|
|
245
223
|
class: _vm.toolbarPanelStyles
|
|
246
|
-
}, [_vm.sortOptions.length ? [_c('
|
|
247
|
-
ref: "sortButton",
|
|
224
|
+
}, [_vm.sortOptions.length ? [_c('OrSorting', {
|
|
248
225
|
attrs: {
|
|
249
|
-
"
|
|
250
|
-
"
|
|
226
|
+
"sort": _vm.sort,
|
|
227
|
+
"options": _vm.sortOptions
|
|
251
228
|
},
|
|
252
229
|
on: {
|
|
253
|
-
"
|
|
254
|
-
return _vm
|
|
230
|
+
"change": function ($event) {
|
|
231
|
+
return _vm.$emit('sortChange', $event);
|
|
255
232
|
}
|
|
256
233
|
}
|
|
257
|
-
}
|
|
258
|
-
attrs: {
|
|
259
|
-
"icon": _vm.sortMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
260
|
-
}
|
|
261
|
-
}) : _vm._e()], 1), _vm._v(" "), _c('OrMenu', {
|
|
262
|
-
ref: "sortMenu",
|
|
263
|
-
attrs: {
|
|
264
|
-
"trigger": _vm.sortButton && _vm.sortButton.root
|
|
265
|
-
}
|
|
266
|
-
}, _vm._l(_vm.sortOptions, function (sortItem) {
|
|
267
|
-
return _c('OrMenuItem', {
|
|
268
|
-
key: sortItem,
|
|
269
|
-
on: {
|
|
270
|
-
"click": function ($event) {
|
|
271
|
-
return _vm.handleSort(sortItem.value);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}, [_vm._v("\n " + _vm._s(sortItem.label) + "\n ")]);
|
|
275
|
-
}), 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
234
|
+
})] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
276
235
|
class: _vm.toolbarPanelStyles
|
|
277
236
|
}, [_c('OrSearch', {
|
|
278
237
|
staticClass: "md:w-[350px]",
|
|
279
238
|
attrs: {
|
|
280
239
|
"model-value": _vm.proxySearch,
|
|
281
240
|
"placeholder": _vm.searchPlaceholder,
|
|
282
|
-
"debounce": _vm.searchDebounce
|
|
283
|
-
"size": "s"
|
|
241
|
+
"debounce": _vm.searchDebounce
|
|
284
242
|
},
|
|
285
243
|
on: {
|
|
286
244
|
"search": _vm.handleSearch
|
|
287
245
|
}
|
|
288
|
-
}), _vm._v(" "), _c('div', {
|
|
246
|
+
}), _vm._v(" "), _vm.viewModes.length > 1 ? [_c('div', {
|
|
289
247
|
staticClass: "layout-row gap-sm"
|
|
290
|
-
},
|
|
248
|
+
}, _vm._l(_vm.viewModes, function (viewOption) {
|
|
291
249
|
return _c('OrIconButton', {
|
|
292
250
|
key: viewOption.view,
|
|
293
251
|
attrs: {
|
|
252
|
+
"size": "l",
|
|
294
253
|
"icon": {
|
|
295
|
-
icon: viewOption.icon
|
|
296
|
-
|
|
297
|
-
|
|
254
|
+
icon: viewOption.icon
|
|
255
|
+
},
|
|
256
|
+
"selected": viewOption.view === _vm.proxyView
|
|
298
257
|
},
|
|
299
258
|
on: {
|
|
300
259
|
"click": function ($event) {
|
|
@@ -302,7 +261,7 @@ var __vue_render__ = function () {
|
|
|
302
261
|
}
|
|
303
262
|
}
|
|
304
263
|
});
|
|
305
|
-
}) : _vm._e(), _vm._v(" "), _vm._t("addon")], 2)]
|
|
264
|
+
}), 1)] : _vm._e(), _vm._v(" "), _vm._t("addon")], 2)]), _vm._v(" "), _vm._t("header", null, null, {
|
|
306
265
|
items: _vm.items,
|
|
307
266
|
mode: _vm.proxyView
|
|
308
267
|
}), _vm._v(" "), _vm.items.length ? _vm._t(_vm.proxyView, function () {
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
7
|
+
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$8 } from './OrHint-aa221198.js';
|
|
10
10
|
import { _ as __vue_component__$a } from './OrIconButton-6fcd20b0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-f843a18d.js';
|
|
2
2
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
3
3
|
|
|
4
4
|
/* script */
|
|
@@ -12,7 +12,7 @@ import { _ as __vue_component__$d } from './OrInputBox-11227ecd.js';
|
|
|
12
12
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
13
13
|
import { _ as __vue_component__$e } from './OrLabel-63380256.js';
|
|
14
14
|
import { _ as __vue_component__$f } from './OrPopover-71380b24.js';
|
|
15
|
-
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
15
|
+
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
import { _ as __vue_component__$2 } from './OrButton-9622e713.js';
|
|
18
18
|
|
|
@@ -8,7 +8,7 @@ import { _ as __vue_component__$6 } from './OrButton-9622e713.js';
|
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrLabel-63380256.js';
|
|
9
9
|
import { _ as __vue_component__$9 } from './OrIconButton-6fcd20b0.js';
|
|
10
10
|
import { _ as __vue_component__$8 } from './OrIcon-d35a84d8.js';
|
|
11
|
-
import { _ as __vue_component__$b } from './OrMenuItem-
|
|
11
|
+
import { _ as __vue_component__$b } from './OrMenuItem-8af38fc8.js';
|
|
12
12
|
import { _ as __vue_component__$a } from './OrMenu-6b3de1c1.js';
|
|
13
13
|
import './OrPopover-71380b24.js';
|
|
14
14
|
|
|
@@ -18,7 +18,9 @@ const MenuItemRoot = [
|
|
|
18
18
|
// Theme (hover)
|
|
19
19
|
'hover:md:theme-foreground-default', 'dark:hover:md:theme-foreground-default-dark',
|
|
20
20
|
// Theme (active)
|
|
21
|
-
'active:theme-foreground-default', 'dark:active:theme-foreground-default-dark'
|
|
21
|
+
'active:theme-foreground-default', 'dark:active:theme-foreground-default-dark',
|
|
22
|
+
// Theme (selected)
|
|
23
|
+
'selected:text-on-background dark:selected:text-on-background-dark'];
|
|
22
24
|
|
|
23
25
|
var script = defineComponent({
|
|
24
26
|
name: 'OrMenuItem',
|
|
@@ -6,7 +6,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$1 } from './OrButton-9622e713.js';
|
|
8
8
|
import { _ as __vue_component__$2 } from './OrIcon-d35a84d8.js';
|
|
9
|
-
import { _ as __vue_component__$4 } from './OrMenuItem-
|
|
9
|
+
import { _ as __vue_component__$4 } from './OrMenuItem-8af38fc8.js';
|
|
10
10
|
import { _ as __vue_component__$3 } from './OrMenu-6b3de1c1.js';
|
|
11
11
|
import './OrPopover-71380b24.js';
|
|
12
12
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -14,7 +14,7 @@ import { _ as __vue_component__$7 } from './OrInputBox-11227ecd.js';
|
|
|
14
14
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
15
15
|
import { _ as __vue_component__$6 } from './OrInput-386e9352.js';
|
|
16
16
|
import { _ as __vue_component__$8 } from './OrLabel-63380256.js';
|
|
17
|
-
import { _ as __vue_component__$9 } from './OrMenuItem-
|
|
17
|
+
import { _ as __vue_component__$9 } from './OrMenuItem-8af38fc8.js';
|
|
18
18
|
import { _ as __vue_component__$a } from './OrPopover-71380b24.js';
|
|
19
19
|
import { _ as __vue_component__$b } from './OrTag-21683774.js';
|
|
20
20
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrMenu-6b3de1c1.js';
|
|
3
|
+
import './OrPopover-71380b24.js';
|
|
4
|
+
import { _ as __vue_component__$2 } from './OrMenuItem-8af38fc8.js';
|
|
5
|
+
import { _ as __vue_component__$3 } from './OrButton-9622e713.js';
|
|
6
|
+
import { _ as __vue_component__$4 } from './OrIcon-d35a84d8.js';
|
|
7
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
|
+
|
|
9
|
+
const SortingRoot = [];
|
|
10
|
+
const SortingLabel = [
|
|
11
|
+
// Theme
|
|
12
|
+
'text-on-background dark:text-on-background-dark'];
|
|
13
|
+
|
|
14
|
+
var script = defineComponent({
|
|
15
|
+
name: 'OrSorting',
|
|
16
|
+
components: {
|
|
17
|
+
OrMenu: __vue_component__$1,
|
|
18
|
+
OrMenuItem: __vue_component__$2,
|
|
19
|
+
OrButton: __vue_component__$3,
|
|
20
|
+
OrIcon: __vue_component__$4
|
|
21
|
+
},
|
|
22
|
+
props: {
|
|
23
|
+
sort: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: undefined
|
|
26
|
+
},
|
|
27
|
+
options: {
|
|
28
|
+
type: Array,
|
|
29
|
+
default: () => []
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
emits: ['change'],
|
|
33
|
+
setup(props, context) {
|
|
34
|
+
// Refs
|
|
35
|
+
const root = ref();
|
|
36
|
+
const sortMenu = ref();
|
|
37
|
+
const sortButton = ref();
|
|
38
|
+
// State
|
|
39
|
+
const proxySort = ref(props.sort);
|
|
40
|
+
const sortLabel = computed(() => {
|
|
41
|
+
var _a;
|
|
42
|
+
return (_a = props.options.find(item => item.value === props.sort)) === null || _a === void 0 ? void 0 : _a.label;
|
|
43
|
+
});
|
|
44
|
+
// Methods
|
|
45
|
+
function handleSort(sort) {
|
|
46
|
+
proxySort.value = sort;
|
|
47
|
+
}
|
|
48
|
+
// Effects
|
|
49
|
+
watch(() => props.sort, value => {
|
|
50
|
+
proxySort.value = value;
|
|
51
|
+
});
|
|
52
|
+
watch(proxySort, value => {
|
|
53
|
+
context.emit('change', value);
|
|
54
|
+
});
|
|
55
|
+
const rootStyles = computed(() => ['or-sorting-v3', ...SortingRoot]);
|
|
56
|
+
const sortLabelStyles = computed(() => [...SortingLabel]);
|
|
57
|
+
return {
|
|
58
|
+
root,
|
|
59
|
+
sortMenu,
|
|
60
|
+
sortButton,
|
|
61
|
+
sortLabel,
|
|
62
|
+
proxySort,
|
|
63
|
+
handleSort,
|
|
64
|
+
rootStyles,
|
|
65
|
+
sortLabelStyles
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/* script */
|
|
71
|
+
const __vue_script__ = script;
|
|
72
|
+
|
|
73
|
+
/* template */
|
|
74
|
+
var __vue_render__ = function () {
|
|
75
|
+
var _vm = this;
|
|
76
|
+
var _h = _vm.$createElement;
|
|
77
|
+
var _c = _vm._self._c || _h;
|
|
78
|
+
return _c('div', {
|
|
79
|
+
ref: _vm.root,
|
|
80
|
+
class: _vm.rootStyles
|
|
81
|
+
}, [_c('OrButton', {
|
|
82
|
+
ref: "sortButton",
|
|
83
|
+
attrs: {
|
|
84
|
+
"variant": "link",
|
|
85
|
+
"color": "primary"
|
|
86
|
+
},
|
|
87
|
+
on: {
|
|
88
|
+
"click": function ($event) {
|
|
89
|
+
return _vm.sortMenu.toggle();
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}, [_c('span', {
|
|
93
|
+
class: _vm.sortLabelStyles
|
|
94
|
+
}, [_vm._v("\n " + _vm._s(_vm.sortLabel) + "\n ")]), _vm._v(" "), _vm.sortMenu ? _c('OrIcon', {
|
|
95
|
+
attrs: {
|
|
96
|
+
"icon": _vm.sortMenu.state === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
97
|
+
}
|
|
98
|
+
}) : _vm._e()], 1), _vm._v(" "), _c('OrMenu', {
|
|
99
|
+
ref: "sortMenu",
|
|
100
|
+
attrs: {
|
|
101
|
+
"trigger": _vm.sortButton && _vm.sortButton.root,
|
|
102
|
+
"placement": "bottom-start"
|
|
103
|
+
}
|
|
104
|
+
}, _vm._l(_vm.options, function (item) {
|
|
105
|
+
return _c('OrMenuItem', {
|
|
106
|
+
key: item.value,
|
|
107
|
+
attrs: {
|
|
108
|
+
"selected": item.value === _vm.proxySort
|
|
109
|
+
},
|
|
110
|
+
on: {
|
|
111
|
+
"click": function ($event) {
|
|
112
|
+
return _vm.handleSort(item.value);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}, [_vm._v("\n " + _vm._s(item.label) + "\n ")]);
|
|
116
|
+
}), 1)], 1);
|
|
117
|
+
};
|
|
118
|
+
var __vue_staticRenderFns__ = [];
|
|
119
|
+
|
|
120
|
+
/* style */
|
|
121
|
+
const __vue_inject_styles__ = undefined;
|
|
122
|
+
/* scoped */
|
|
123
|
+
const __vue_scope_id__ = undefined;
|
|
124
|
+
/* module identifier */
|
|
125
|
+
const __vue_module_identifier__ = undefined;
|
|
126
|
+
/* functional template */
|
|
127
|
+
const __vue_is_functional_template__ = false;
|
|
128
|
+
/* style inject */
|
|
129
|
+
|
|
130
|
+
/* style inject SSR */
|
|
131
|
+
|
|
132
|
+
/* style inject shadow dom */
|
|
133
|
+
|
|
134
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
135
|
+
render: __vue_render__,
|
|
136
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
137
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
138
|
+
|
|
139
|
+
export { __vue_component__ as _ };
|
|
@@ -4,7 +4,7 @@ import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrMenuItem-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrMenuItem-8af38fc8.js';
|
|
8
8
|
import { _ as __vue_component__$2 } from './OrMenu-6b3de1c1.js';
|
|
9
9
|
import './OrPopover-71380b24.js';
|
|
10
10
|
import { _ as __vue_component__$4 } from './OrTab-88036fe9.js';
|
|
@@ -4,8 +4,8 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { b as __vue_component__$1, d as __vue_component__$2, e as __vue_component__$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
8
|
-
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
7
|
+
import { b as __vue_component__$1, d as __vue_component__$2, e as __vue_component__$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
8
|
+
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-f843a18d.js';
|
|
9
9
|
import { _ as __vue_component__$6 } from './OrError-4ffc1c39.js';
|
|
10
10
|
import { _ as __vue_component__$7 } from './OrHint-aa221198.js';
|
|
11
11
|
import { _ as __vue_component__$9 } from './OrIconButton-6fcd20b0.js';
|
|
@@ -80,7 +80,7 @@ export * from './or-sidebar-v3';
|
|
|
80
80
|
export * from './or-skeleton';
|
|
81
81
|
export * from './or-skeleton-v3';
|
|
82
82
|
export * from './or-slider';
|
|
83
|
-
export * from './or-
|
|
83
|
+
export * from './or-sorting-v3';
|
|
84
84
|
export * from './or-stepper';
|
|
85
85
|
export * from './or-switch';
|
|
86
86
|
export * from './or-switch-v3';
|
|
@@ -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, _ as OrButtonV3 } from '../OrButton-9622e713.js';
|
|
9
9
|
export { _ as OrCard } from '../OrCard-c44d9783.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-4eb5c533.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-4e2fba5e.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-0da13cbe.js';
|
|
13
13
|
export { _ as OrCheckbox } from '../OrCheckbox-91788c22.js';
|
|
14
14
|
export { _ as OrCheckboxGroupV3 } from '../OrCheckboxGroup-4e6dbdd3.js';
|
|
@@ -25,10 +25,10 @@ export { _ as OrInputBoxV3 } from '../OrInputBox-11227ecd.js';
|
|
|
25
25
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from '../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
26
26
|
export { _ as OrConfirm } from '../OrConfirm-f4eec5b2.js';
|
|
27
27
|
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-d8d3b5e1.js';
|
|
28
|
-
export { _ as OrDatePickerV3 } from '../OrDatePicker-
|
|
28
|
+
export { _ as OrDatePickerV3 } from '../OrDatePicker-078c3498.js';
|
|
29
29
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-fb410167.js';
|
|
30
|
-
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
31
|
-
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from '../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
30
|
+
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-22febde1.js';
|
|
31
|
+
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from '../OrDateTimePicker.vue_rollup-plugin-vue_script-f843a18d.js';
|
|
32
32
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-2d3fd68d.js';
|
|
33
33
|
export { _ as OrError } from '../OrError-efc74907.js';
|
|
34
34
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-a55ae01a.js';
|
|
@@ -55,7 +55,7 @@ export { _ as OrList } from '../OrList-2e65227a.js';
|
|
|
55
55
|
export { _ as OrListOfInputs } from '../OrListOfInputs-9b7522fa.js';
|
|
56
56
|
export { L as LoaderViews, _ as OrLoader } from '../OrLoader-0cc7c73e.js';
|
|
57
57
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../OrLoader-b0c381f9.js';
|
|
58
|
-
export { _ as OrMenuItemV3 } from '../OrMenuItem-
|
|
58
|
+
export { _ as OrMenuItemV3 } from '../OrMenuItem-8af38fc8.js';
|
|
59
59
|
export { _ as OrMenuV3 } from '../OrMenu-6b3de1c1.js';
|
|
60
60
|
export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-71380b24.js';
|
|
61
61
|
export { _ as OrModal, O as OrModalSizes } from '../OrModal-206611f2.js';
|
|
@@ -66,7 +66,7 @@ export { _ as OrNumberInput } from '../OrNumberInput-fcbcf229.js';
|
|
|
66
66
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-e3ae75a3.js';
|
|
67
67
|
export { _ as OrOverlay } from '../OrOverlay-ccec2218.js';
|
|
68
68
|
export { _ as OrOverlayV3 } from '../OrOverlay-948346df.js';
|
|
69
|
-
export { _ as OrPaginationV3 } from '../OrPagination-
|
|
69
|
+
export { _ as OrPaginationV3 } from '../OrPagination-05a1c01b.js';
|
|
70
70
|
export { _ as OrPassword } from '../OrPassword-681f8c53.js';
|
|
71
71
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-65968c24.js';
|
|
72
72
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-e079e857.js';
|
|
@@ -78,7 +78,7 @@ export { _ as OrSearch } from '../OrSearch-e2941d35.js';
|
|
|
78
78
|
export { _ as OrSearchV3 } from '../OrSearch-7f444d5c.js';
|
|
79
79
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-d4e32f80.js';
|
|
80
80
|
export { _ as OrSelect } from '../OrSelect-49239b74.js';
|
|
81
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
81
|
+
export { _ as OrSelectV3 } from '../OrSelect-925d2b50.js';
|
|
82
82
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-c56a9221.js';
|
|
83
83
|
export { _ as OrSidebarV3 } from '../OrSidebar-41c869c1.js';
|
|
84
84
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-0d2e41c8.js';
|
|
@@ -90,7 +90,7 @@ export { _ as OrSkeletonCircleV3 } from '../OrSkeletonCircle-3419b04d.js';
|
|
|
90
90
|
export { _ as OrSkeletonRectV3 } from '../OrSkeletonRect-7057bc1c.js';
|
|
91
91
|
export { _ as OrSkeletonTextV3 } from '../OrSkeletonText-6c00f797.js';
|
|
92
92
|
export { _ as OrSlider } from '../OrSlider-529730ed.js';
|
|
93
|
-
export { _ as
|
|
93
|
+
export { _ as OrSortingV3 } from '../OrSortingV3-6b5f1b51.js';
|
|
94
94
|
export { _ as OrStepper } from '../OrStepper-3707ec50.js';
|
|
95
95
|
export { _ as OrSwitch } from '../OrSwitch-75458852.js';
|
|
96
96
|
export { _ as OrSwitchV3 } from '../OrSwitch-e49ce2d8.js';
|
|
@@ -98,7 +98,7 @@ export { _ as OrTab } from '../OrTab-58821c9b.js';
|
|
|
98
98
|
export { _ as OrTabHeaderItem } from '../OrTabHeaderItem-424f2986.js';
|
|
99
99
|
export { _ as OrTabV3 } from '../OrTab-88036fe9.js';
|
|
100
100
|
export { _ as OrTabs } from '../OrTabs-62e7e478.js';
|
|
101
|
-
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
101
|
+
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-e5b6986c.js';
|
|
102
102
|
export { _ as OrTag } from '../OrTag-54778d09.js';
|
|
103
103
|
export { _ as OrTagInputV3 } from '../OrTagInput-d5400871.js';
|
|
104
104
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-21683774.js';
|
|
@@ -109,7 +109,7 @@ export { _ as OrTextV3 } from '../OrText-44449e7b.js';
|
|
|
109
109
|
export { _ as OrTextarea } from '../OrTextarea-d36f4ec6.js';
|
|
110
110
|
export { _ as OrTextareaV3 } from '../OrTextarea-9221a04a.js';
|
|
111
111
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-a937432f.js';
|
|
112
|
-
export { _ as OrTimePickerV3 } from '../OrTimePicker-
|
|
112
|
+
export { _ as OrTimePickerV3 } from '../OrTimePicker-3860cda8.js';
|
|
113
113
|
export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-7017d12b.js';
|
|
114
114
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-b5ea5cb2.js';
|
|
115
115
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-ed6cc191.js';
|
|
@@ -149,7 +149,7 @@ import 'lodash/isElement';
|
|
|
149
149
|
import 'lodash/get';
|
|
150
150
|
import '@vueuse/math';
|
|
151
151
|
import '../dropdown-open-e1f90e0a.js';
|
|
152
|
-
import '../OrDateTimePickerPopoverHeader-
|
|
152
|
+
import '../OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
153
153
|
import 'lodash/padStart';
|
|
154
154
|
import '@floating-ui/dom';
|
|
155
155
|
import '../OrTooltip.vue_rollup-plugin-vue_styles.0-47985d95.js';
|
|
@@ -1,26 +1,15 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { SortOption } from '../or-sorting-v3';
|
|
3
|
+
import { CardCollectionItem, ViewMode } from './types';
|
|
3
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
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, {
|
|
6
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
7
|
-
} | string[], {} & {}, {
|
|
8
|
-
[x: number]: string;
|
|
9
|
-
} | {}, true>)) | undefined>;
|
|
10
|
-
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, {
|
|
11
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
12
|
-
} | string[], {} & {}, {
|
|
13
|
-
[x: number]: string;
|
|
14
|
-
} | {}, true>)) | undefined>;
|
|
15
6
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
16
7
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
17
8
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
18
9
|
proxyView: import("@vue/composition-api").Ref<string>;
|
|
19
|
-
proxySort: import("@vue/composition-api").Ref<string>;
|
|
20
10
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
21
11
|
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
22
12
|
switchView: (view: string) => void;
|
|
23
|
-
handleSort: (sort: string) => void;
|
|
24
13
|
handleSearch: (search: string) => void;
|
|
25
14
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
26
15
|
items: {
|
|
@@ -101,25 +90,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
101
90
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
102
91
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
103
92
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
104
|
-
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, {
|
|
105
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
106
|
-
} | string[], {} & {}, {
|
|
107
|
-
[x: number]: string;
|
|
108
|
-
} | {}, true>)) | undefined>;
|
|
109
|
-
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, {
|
|
110
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
111
|
-
} | string[], {} & {}, {
|
|
112
|
-
[x: number]: string;
|
|
113
|
-
} | {}, true>)) | undefined>;
|
|
114
93
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
115
94
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
116
95
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
117
96
|
proxyView: import("@vue/composition-api").Ref<string>;
|
|
118
|
-
proxySort: import("@vue/composition-api").Ref<string>;
|
|
119
97
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
120
98
|
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
121
99
|
switchView: (view: string) => void;
|
|
122
|
-
handleSort: (sort: string) => void;
|
|
123
100
|
handleSearch: (search: string) => void;
|
|
124
101
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
125
102
|
sort: string;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-4e2fba5e.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-9622e713.js';
|
|
4
|
-
import '../../OrLoader-b0c381f9.js';
|
|
5
|
-
import '@vueuse/core';
|
|
6
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
7
3
|
import '../../OrIconButton-6fcd20b0.js';
|
|
8
4
|
import '../../OrIcon-d35a84d8.js';
|
|
5
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
9
6
|
import '../../OrTooltip-a32c182a.js';
|
|
7
|
+
import '@vueuse/core';
|
|
10
8
|
import '../../usePopoverState-b92c698b.js';
|
|
11
9
|
import '@onereach/styles/tailwind.config';
|
|
12
10
|
import 'tailwindcss/resolveConfig';
|
|
@@ -18,8 +16,6 @@ import '../../OrBottomSheet-6bc632c4.js';
|
|
|
18
16
|
import '../../OrOverlay-948346df.js';
|
|
19
17
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
20
18
|
import 'portal-vue';
|
|
21
|
-
import '../../OrMenuItem-b5bb6e11.js';
|
|
22
|
-
import '../../OrMenu-6b3de1c1.js';
|
|
23
19
|
import '../../OrSearch-7f444d5c.js';
|
|
24
20
|
import '../../OrInput-386e9352.js';
|
|
25
21
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -30,4 +26,9 @@ import '../../OrHint-aa221198.js';
|
|
|
30
26
|
import '../../OrInputBox-11227ecd.js';
|
|
31
27
|
import '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
32
28
|
import '../../OrLabel-63380256.js';
|
|
29
|
+
import '../../OrLoader-b0c381f9.js';
|
|
33
30
|
import '../../style-inject.es-4c6f2515.js';
|
|
31
|
+
import '../../OrSortingV3-6b5f1b51.js';
|
|
32
|
+
import '../../OrMenu-6b3de1c1.js';
|
|
33
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
34
|
+
import '../../OrButton-9622e713.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrDatePickerV3 } from '../../OrDatePicker-
|
|
1
|
+
export { _ as OrDatePickerV3 } from '../../OrDatePicker-078c3498.js';
|
|
2
2
|
export { I as DatePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -6,7 +6,7 @@ import '@vueuse/core';
|
|
|
6
6
|
import '../../useProxyModelValue-940010d2.js';
|
|
7
7
|
import '@onereach/styles/tailwind.config';
|
|
8
8
|
import 'tailwindcss/resolveConfig';
|
|
9
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
9
|
+
import '../../OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
10
10
|
import '../../normalize-component-6e8e3d80.js';
|
|
11
11
|
import '../../OrButton-9622e713.js';
|
|
12
12
|
import '../../OrLoader-b0c381f9.js';
|
|
@@ -23,7 +23,7 @@ import '../../OrBottomSheet-6bc632c4.js';
|
|
|
23
23
|
import '../../OrOverlay-948346df.js';
|
|
24
24
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
25
25
|
import 'portal-vue';
|
|
26
|
-
import '../../OrMenuItem-
|
|
26
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
27
27
|
import '../../OrMenu-6b3de1c1.js';
|
|
28
28
|
import '../../OrError-4ffc1c39.js';
|
|
29
29
|
import '../../OrHint-aa221198.js';
|