@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,5 +1,5 @@
|
|
|
1
|
-
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-
|
|
2
|
-
export { D as DateTimePickerTimeFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-22febde1.js';
|
|
2
|
+
export { D as DateTimePickerTimeFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-f843a18d.js';
|
|
3
3
|
export { I as DateTimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
4
4
|
import '../../normalize-component-6e8e3d80.js';
|
|
5
5
|
import 'vue-demi';
|
|
@@ -24,8 +24,8 @@ import '../../OrTeleport.vue2-424c7f33.js';
|
|
|
24
24
|
import 'portal-vue';
|
|
25
25
|
import '../../OrInputBox-11227ecd.js';
|
|
26
26
|
import '../../OrLabel-63380256.js';
|
|
27
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
27
|
+
import '../../OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
28
28
|
import '../../OrButton-9622e713.js';
|
|
29
29
|
import '../../OrLoader-b0c381f9.js';
|
|
30
|
-
import '../../OrMenuItem-
|
|
30
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
31
31
|
import '../../OrMenu-6b3de1c1.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrPaginationV3 } from '../../OrPagination-
|
|
1
|
+
export { _ as OrPaginationV3 } from '../../OrPagination-05a1c01b.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import '../../useProxyModelValue-940010d2.js';
|
|
@@ -9,7 +9,7 @@ import '../../OrButton-9622e713.js';
|
|
|
9
9
|
import '../../OrLoader-b0c381f9.js';
|
|
10
10
|
import '../../normalize-component-6e8e3d80.js';
|
|
11
11
|
import '../../OrIcon-d35a84d8.js';
|
|
12
|
-
import '../../OrMenuItem-
|
|
12
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
13
13
|
import '../../OrMenu-6b3de1c1.js';
|
|
14
14
|
import '../../usePopoverState-b92c698b.js';
|
|
15
15
|
import '../../OrPopover-71380b24.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-925d2b50.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -31,5 +31,5 @@ import '../../OrOverlay-948346df.js';
|
|
|
31
31
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
32
32
|
import 'portal-vue';
|
|
33
33
|
import '../../OrLoader-b0c381f9.js';
|
|
34
|
-
import '../../OrMenuItem-
|
|
34
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
35
35
|
import '../../OrTag-21683774.js';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { SortOption } from './types';
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
+
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
|
+
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
16
|
+
proxySort: import("@vue/composition-api").Ref<string>;
|
|
17
|
+
handleSort: (sort: string) => void;
|
|
18
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
19
|
+
sortLabelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
20
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
21
|
+
sort: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
options: {
|
|
26
|
+
type: PropType<SortOption[]>;
|
|
27
|
+
default: () => never[];
|
|
28
|
+
};
|
|
29
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
30
|
+
sort: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
options: {
|
|
35
|
+
type: PropType<SortOption[]>;
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
39
|
+
sort: string;
|
|
40
|
+
options: SortOption[];
|
|
41
|
+
} & {} & {
|
|
42
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
43
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
44
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
45
|
+
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, {
|
|
46
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
47
|
+
} | string[], {} & {}, {
|
|
48
|
+
[x: number]: string;
|
|
49
|
+
} | {}, true>)) | undefined>;
|
|
50
|
+
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, {
|
|
51
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
52
|
+
} | string[], {} & {}, {
|
|
53
|
+
[x: number]: string;
|
|
54
|
+
} | {}, true>)) | undefined>;
|
|
55
|
+
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
56
|
+
proxySort: import("@vue/composition-api").Ref<string>;
|
|
57
|
+
handleSort: (sort: string) => void;
|
|
58
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
59
|
+
sortLabelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
60
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
61
|
+
sort: string;
|
|
62
|
+
options: SortOption[];
|
|
63
|
+
} & {} & {
|
|
64
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
sort: string;
|
|
67
|
+
options: SortOption[];
|
|
68
|
+
}, true>);
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { _ as OrSortingV3 } from '../../OrSortingV3-6b5f1b51.js';
|
|
2
|
+
import 'vue-demi';
|
|
3
|
+
import '../../OrMenu-6b3de1c1.js';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import '../../usePopoverState-b92c698b.js';
|
|
6
|
+
import '@onereach/styles/tailwind.config';
|
|
7
|
+
import 'tailwindcss/resolveConfig';
|
|
8
|
+
import '../../OrPopover-71380b24.js';
|
|
9
|
+
import '@floating-ui/dom';
|
|
10
|
+
import '../../useElevation-a50ec347.js';
|
|
11
|
+
import '../../useResponsive-a02e95b7.js';
|
|
12
|
+
import '../../OrBottomSheet-6bc632c4.js';
|
|
13
|
+
import '../../OrOverlay-948346df.js';
|
|
14
|
+
import '../../OrTeleport.vue2-424c7f33.js';
|
|
15
|
+
import 'portal-vue';
|
|
16
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
17
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
18
|
+
import '../../OrIcon-d35a84d8.js';
|
|
19
|
+
import '../../OrButton-9622e713.js';
|
|
20
|
+
import '../../OrLoader-b0c381f9.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrTabsV3, T as TabsVariant } from '../../OrTabs-
|
|
1
|
+
export { _ as OrTabsV3, T as TabsVariant } from '../../OrTabs-e5b6986c.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useProxyModelValue-940010d2.js';
|
|
@@ -6,7 +6,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import '../../OrIcon-d35a84d8.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
|
-
import '../../OrMenuItem-
|
|
9
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
10
10
|
import '../../OrMenu-6b3de1c1.js';
|
|
11
11
|
import '../../usePopoverState-b92c698b.js';
|
|
12
12
|
import '../../OrPopover-71380b24.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { _ as OrTimePickerV3 } from '../../OrTimePicker-
|
|
2
|
-
export { D as TimePickerFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
export { _ as OrTimePickerV3 } from '../../OrTimePicker-3860cda8.js';
|
|
2
|
+
export { D as TimePickerFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-f843a18d.js';
|
|
3
3
|
export { I as TimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -7,7 +7,7 @@ import '@vueuse/core';
|
|
|
7
7
|
import '../../useProxyModelValue-940010d2.js';
|
|
8
8
|
import '@onereach/styles/tailwind.config';
|
|
9
9
|
import 'tailwindcss/resolveConfig';
|
|
10
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
10
|
+
import '../../OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
11
11
|
import '../../normalize-component-6e8e3d80.js';
|
|
12
12
|
import '../../OrButton-9622e713.js';
|
|
13
13
|
import '../../OrLoader-b0c381f9.js';
|
|
@@ -24,7 +24,7 @@ import '../../OrBottomSheet-6bc632c4.js';
|
|
|
24
24
|
import '../../OrOverlay-948346df.js';
|
|
25
25
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
26
26
|
import 'portal-vue';
|
|
27
|
-
import '../../OrMenuItem-
|
|
27
|
+
import '../../OrMenuItem-8af38fc8.js';
|
|
28
28
|
import '../../OrMenu-6b3de1c1.js';
|
|
29
29
|
import '../../OrError-4ffc1c39.js';
|
|
30
30
|
import '../../OrHint-aa221198.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -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';
|
|
@@ -153,7 +153,7 @@ import './dom-f1d55b67.js';
|
|
|
153
153
|
import 'lodash/isElement';
|
|
154
154
|
import 'lodash/get';
|
|
155
155
|
import '@vueuse/math';
|
|
156
|
-
import './OrDateTimePickerPopoverHeader-
|
|
156
|
+
import './OrDateTimePickerPopoverHeader-f4dabe74.js';
|
|
157
157
|
import 'lodash/padStart';
|
|
158
158
|
import '@floating-ui/dom';
|
|
159
159
|
import './OrTooltip.vue_rollup-plugin-vue_styles.0-47985d95.js';
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { s as script$3 } from './OrButton-c2b6aa9e.js';
|
|
3
2
|
import { s as script$2 } from './OrIconButton-80f76b73.js';
|
|
4
|
-
import { s as script$
|
|
5
|
-
import { s as script$5 } from './OrMenuItem-331cb96b.js';
|
|
6
|
-
import { s as script$4 } from './OrMenu-dbe1db1e.js';
|
|
7
|
-
import './OrPopover-94dc1203.js';
|
|
8
|
-
import { s as script$7 } from './OrSearch-daab0e0b.js';
|
|
3
|
+
import { s as script$4 } from './OrSearch-daab0e0b.js';
|
|
9
4
|
import './OrInputBox-32b37b17.js';
|
|
10
|
-
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode,
|
|
5
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createBlock, createCommentVNode, createVNode, normalizeProps, guardReactiveProps, withCtx } from 'vue';
|
|
6
|
+
import { s as script$3 } from './OrSortingV3-1ac9a2d5.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
|
|
|
@@ -98,11 +95,8 @@ var script = defineComponent({
|
|
|
98
95
|
components: {
|
|
99
96
|
OrCardCollectionView: script$1,
|
|
100
97
|
OrIconButton: script$2,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
OrMenuItem: script$5,
|
|
104
|
-
OrIcon: script$6,
|
|
105
|
-
OrSearch: script$7
|
|
98
|
+
OrSorting: script$3,
|
|
99
|
+
OrSearch: script$4
|
|
106
100
|
},
|
|
107
101
|
props: {
|
|
108
102
|
items: {
|
|
@@ -143,8 +137,6 @@ var script = defineComponent({
|
|
|
143
137
|
setup(props, context) {
|
|
144
138
|
// Refs
|
|
145
139
|
const root = ref();
|
|
146
|
-
const sortMenu = ref();
|
|
147
|
-
const sortButton = ref();
|
|
148
140
|
// Styles
|
|
149
141
|
const rootStyles = computed(() => ['or-card-collection-v3', ...CardCollectionRoot]);
|
|
150
142
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
@@ -155,15 +147,11 @@ var script = defineComponent({
|
|
|
155
147
|
});
|
|
156
148
|
// State
|
|
157
149
|
const proxyView = ref(props.view);
|
|
158
|
-
const proxySort = ref(props.sort);
|
|
159
150
|
const proxySearch = ref(props.search);
|
|
160
151
|
// Methods
|
|
161
152
|
function switchView(view) {
|
|
162
153
|
proxyView.value = view;
|
|
163
154
|
}
|
|
164
|
-
function handleSort(sort) {
|
|
165
|
-
proxySort.value = sort;
|
|
166
|
-
}
|
|
167
155
|
function handleSearch(search) {
|
|
168
156
|
proxySearch.value = search;
|
|
169
157
|
}
|
|
@@ -174,12 +162,6 @@ var script = defineComponent({
|
|
|
174
162
|
watch(proxyView, value => {
|
|
175
163
|
context.emit('viewChange', value);
|
|
176
164
|
});
|
|
177
|
-
watch(() => props.sort, value => {
|
|
178
|
-
proxySort.value = value;
|
|
179
|
-
});
|
|
180
|
-
watch(proxySort, value => {
|
|
181
|
-
context.emit('sortChange', value);
|
|
182
|
-
});
|
|
183
165
|
watch(() => props.search, value => {
|
|
184
166
|
proxySearch.value = value;
|
|
185
167
|
});
|
|
@@ -188,30 +170,24 @@ var script = defineComponent({
|
|
|
188
170
|
});
|
|
189
171
|
return {
|
|
190
172
|
root,
|
|
191
|
-
sortMenu,
|
|
192
|
-
sortButton,
|
|
193
173
|
rootStyles,
|
|
194
174
|
toolbarStyles,
|
|
195
175
|
toolbarPanelStyles,
|
|
196
176
|
proxyView,
|
|
197
|
-
proxySort,
|
|
198
177
|
proxySearch,
|
|
199
178
|
sortLabel,
|
|
200
179
|
switchView,
|
|
201
|
-
handleSort,
|
|
202
180
|
handleSearch
|
|
203
181
|
};
|
|
204
182
|
}
|
|
205
183
|
});
|
|
206
184
|
|
|
207
185
|
const _hoisted_1 = {
|
|
186
|
+
key: 0,
|
|
208
187
|
class: "layout-row gap-sm"
|
|
209
188
|
};
|
|
210
189
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
211
|
-
const
|
|
212
|
-
const _component_OrButton = resolveComponent("OrButton");
|
|
213
|
-
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
214
|
-
const _component_OrMenu = resolveComponent("OrMenu");
|
|
190
|
+
const _component_OrSorting = resolveComponent("OrSorting");
|
|
215
191
|
const _component_OrSearch = resolveComponent("OrSearch");
|
|
216
192
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
217
193
|
const _component_OrCardCollectionView = resolveComponent("OrCardCollectionView");
|
|
@@ -222,56 +198,30 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
222
198
|
class: normalizeClass(_ctx.toolbarStyles)
|
|
223
199
|
}, [createElementVNode("div", {
|
|
224
200
|
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
225
|
-
}, [_ctx.sortOptions.length ? (openBlock(),
|
|
226
|
-
key: 0
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
onClick: _cache[0] || (_cache[0] = $event => _ctx.sortMenu.toggle())
|
|
232
|
-
}, {
|
|
233
|
-
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.sortLabel) + " ", 1 /* TEXT */), _ctx.sortMenu ? (openBlock(), createBlock(_component_OrIcon, {
|
|
234
|
-
key: 0,
|
|
235
|
-
icon: _ctx.sortMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
236
|
-
}, null, 8 /* PROPS */, ["icon"])) : createCommentVNode("v-if", true)]),
|
|
237
|
-
_: 1 /* STABLE */
|
|
238
|
-
}, 512 /* NEED_PATCH */), createVNode(_component_OrMenu, {
|
|
239
|
-
ref: "sortMenu",
|
|
240
|
-
trigger: _ctx.sortButton && _ctx.sortButton.root
|
|
241
|
-
}, {
|
|
242
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sortOptions, sortItem => {
|
|
243
|
-
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
244
|
-
key: sortItem,
|
|
245
|
-
onClick: $event => _ctx.handleSort(sortItem.value)
|
|
246
|
-
}, {
|
|
247
|
-
default: withCtx(() => [createTextVNode(toDisplayString(sortItem.label), 1 /* TEXT */)]),
|
|
248
|
-
|
|
249
|
-
_: 2 /* DYNAMIC */
|
|
250
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
251
|
-
}), 128 /* KEYED_FRAGMENT */))]),
|
|
252
|
-
|
|
253
|
-
_: 1 /* STABLE */
|
|
254
|
-
}, 8 /* PROPS */, ["trigger"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
201
|
+
}, [_ctx.sortOptions.length ? (openBlock(), createBlock(_component_OrSorting, {
|
|
202
|
+
key: 0,
|
|
203
|
+
sort: _ctx.sort,
|
|
204
|
+
options: _ctx.sortOptions,
|
|
205
|
+
onChange: _cache[0] || (_cache[0] = $event => _ctx.$emit('sortChange', $event))
|
|
206
|
+
}, null, 8 /* PROPS */, ["sort", "options"])) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
255
207
|
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
256
208
|
}, [createVNode(_component_OrSearch, {
|
|
257
209
|
"model-value": _ctx.proxySearch,
|
|
258
210
|
class: "md:w-[350px]",
|
|
259
211
|
placeholder: _ctx.searchPlaceholder,
|
|
260
212
|
debounce: _ctx.searchDebounce,
|
|
261
|
-
size: "s",
|
|
262
213
|
onSearch: _ctx.handleSearch
|
|
263
|
-
}, null, 8 /* PROPS */, ["model-value", "placeholder", "debounce", "onSearch"]),
|
|
264
|
-
key: 0
|
|
265
|
-
}, renderList(_ctx.viewModes, viewOption => {
|
|
214
|
+
}, null, 8 /* PROPS */, ["model-value", "placeholder", "debounce", "onSearch"]), _ctx.viewModes.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.viewModes, viewOption => {
|
|
266
215
|
return openBlock(), createBlock(_component_OrIconButton, {
|
|
267
216
|
key: viewOption.view,
|
|
217
|
+
size: "l",
|
|
268
218
|
icon: {
|
|
269
|
-
icon: viewOption.icon
|
|
270
|
-
variant: viewOption.view === _ctx.proxyView ? 'filled' : 'outlined'
|
|
219
|
+
icon: viewOption.icon
|
|
271
220
|
},
|
|
221
|
+
selected: viewOption.view === _ctx.proxyView,
|
|
272
222
|
onClick: $event => _ctx.switchView(viewOption.view)
|
|
273
|
-
}, null, 8 /* PROPS */, ["icon", "onClick"]);
|
|
274
|
-
}), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "addon")]
|
|
223
|
+
}, null, 8 /* PROPS */, ["icon", "selected", "onClick"]);
|
|
224
|
+
}), 128 /* KEYED_FRAGMENT */))])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)], 2 /* CLASS */), renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({
|
|
275
225
|
items: _ctx.items,
|
|
276
226
|
mode: _ctx.proxyView
|
|
277
227
|
}))), _ctx.items.length ? renderSlot(_ctx.$slots, _ctx.proxyView, normalizeProps(mergeProps({
|
|
@@ -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 { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
7
|
+
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-be89989e.js';
|
|
8
8
|
import { s as script$7 } from './OrError-c01d0c29.js';
|
|
9
9
|
import { s as script$8 } from './OrHint-06ab89d7.js';
|
|
10
10
|
import { s as script$a } from './OrIconButton-80f76b73.js';
|
|
@@ -11,7 +11,7 @@ import { s as script$c } from './OrIcon-62793572.js';
|
|
|
11
11
|
import { s as script$e, I as InputBoxSize } from './OrInputBox-32b37b17.js';
|
|
12
12
|
import { s as script$f } from './OrLabel-4da56db0.js';
|
|
13
13
|
import { s as script$g } from './OrPopover-94dc1203.js';
|
|
14
|
-
import { s as script$4, a as script$5, b as script$6, c as script$7, d as script$8, e as script$9, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
14
|
+
import { s as script$4, a as script$5, b as script$6, c as script$7, d as script$8, e as script$9, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-be89989e.js';
|
|
15
15
|
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withModifiers, withCtx, createVNode, createCommentVNode, resolveDirective, renderSlot, withDirectives } from 'vue';
|
|
16
16
|
import { s as script$3 } from './OrButton-c2b6aa9e.js';
|
|
17
17
|
|
|
@@ -8,7 +8,7 @@ import { s as script$6 } from './OrButton-c2b6aa9e.js';
|
|
|
8
8
|
import { s as script$7 } from './OrLabel-4da56db0.js';
|
|
9
9
|
import { s as script$9 } from './OrIconButton-80f76b73.js';
|
|
10
10
|
import { s as script$8 } from './OrIcon-62793572.js';
|
|
11
|
-
import { s as script$b } from './OrMenuItem-
|
|
11
|
+
import { s as script$b } from './OrMenuItem-e2344d0e.js';
|
|
12
12
|
import { s as script$a } from './OrMenu-dbe1db1e.js';
|
|
13
13
|
import './OrPopover-94dc1203.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 { s as script$1 } from './OrButton-c2b6aa9e.js';
|
|
8
8
|
import { s as script$2 } from './OrIcon-62793572.js';
|
|
9
|
-
import { s as script$4 } from './OrMenuItem-
|
|
9
|
+
import { s as script$4 } from './OrMenuItem-e2344d0e.js';
|
|
10
10
|
import { s as script$3 } from './OrMenu-dbe1db1e.js';
|
|
11
11
|
import './OrPopover-94dc1203.js';
|
|
12
12
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withModifiers, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
@@ -13,7 +13,7 @@ import { s as script$5 } from './OrIcon-62793572.js';
|
|
|
13
13
|
import { s as script$7, I as InputBoxSize } from './OrInputBox-32b37b17.js';
|
|
14
14
|
import { s as script$6 } from './OrInput-05ac6369.js';
|
|
15
15
|
import { s as script$8 } from './OrLabel-4da56db0.js';
|
|
16
|
-
import { s as script$9 } from './OrMenuItem-
|
|
16
|
+
import { s as script$9 } from './OrMenuItem-e2344d0e.js';
|
|
17
17
|
import { s as script$a } from './OrPopover-94dc1203.js';
|
|
18
18
|
import { s as script$b } from './OrTag-d882091d.js';
|
|
19
19
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers, vShow } from 'vue';
|