@onereach/ui-components 2.69.1-beta.2095.0 → 2.69.1-beta.2097.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/{OrButton-66d37aff.js → OrButton-0e91a808.js} +1 -14
- package/dist/bundled/v2/{OrCard-58a1ba3e.js → OrCard-29116e1f.js} +2 -2
- package/dist/bundled/v2/OrCardCollection-8606c407.js +336 -0
- package/dist/bundled/v2/{OrConfirm-e1ca1422.js → OrConfirm-18c534df.js} +1 -1
- package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-19f43fe5.js} +2 -2
- package/dist/bundled/v2/{OrSelect-1c9421ad.js → OrSelect-759b4410.js} +3 -3
- package/dist/bundled/v2/{OrSortHeader-396e6a7c.js → OrSortHeader-9932d28f.js} +2 -2
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +7 -8
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
- package/dist/bundled/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -4
- package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +8 -3
- package/dist/bundled/v2/components/or-card-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
- package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-select-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +8 -9
- package/dist/bundled/v3/{OrButton-9640286b.js → OrButton-8ab33d9d.js} +2 -3
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-06d8ead1.js → OrButton.vue_vue_type_script_lang-3718b300.js} +1 -13
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-80c10c12.js +229 -0
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f1b81f00.js → OrConfirm.vue_vue_type_script_lang-85472b12.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-cb2d6612.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-d0626539.js → OrSelect.vue_vue_type_script_lang-dfadd12f.js} +2 -2
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +10 -11
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
- package/dist/bundled/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -4
- package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +8 -3
- package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
- package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-select-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v3/index.js +295 -354
- package/dist/esm/v2/{OrButton-3d4fc9da.js → OrButton-357a5756.js} +1 -14
- package/dist/esm/v2/OrCardCollection-e7a4ead6.js +336 -0
- package/dist/esm/v2/{OrConfirm-ba3f8c45.js → OrConfirm-b0b2e43c.js} +1 -1
- package/dist/esm/v2/{OrSelect-ca2510cd.js → OrSelect-ac382aa6.js} +3 -3
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +4 -5
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
- package/dist/esm/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
- package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -4
- package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +8 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
- package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-select-v3/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v2/index.js +4 -5
- package/dist/esm/v3/{OrButton-970ae320.js → OrButton-f4b9ee51.js} +2 -15
- package/dist/esm/v3/OrCardCollection-3bd67c5c.js +282 -0
- package/dist/esm/v3/{OrConfirm-7cb2f36b.js → OrConfirm-906427ef.js} +1 -1
- package/dist/esm/v3/{OrSelect-bff22c7f.js → OrSelect-fee9c099.js} +3 -3
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +4 -5
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
- package/dist/esm/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
- package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -4
- package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +8 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
- package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-select-v3/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v3/index.js +4 -5
- package/package.json +1 -1
- package/src/components/index.ts +0 -1
- package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
- package/src/components/or-button-v3/OrButton.vue +0 -6
- package/src/components/or-button-v3/styles.ts +1 -15
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +193 -28
- package/src/components/or-card-collection-v3/OrCardCollection.vue +110 -76
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +41 -0
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +42 -0
- package/src/components/or-card-collection-v3/constatnts.ts +12 -0
- package/src/components/or-card-collection-v3/styles.ts +1 -1
- package/src/components/or-card-collection-v3/types.ts +9 -3
- package/src/components/or-select-v3/OrSelect.vue +3 -3
- package/src/components/or-select-v3/index.ts +0 -1
- package/src/components/or-select-v3/types.ts +1 -1
- package/dist/bundled/v2/OrCardCollection-a9a779ea.js +0 -228
- package/dist/bundled/v2/OrPagination-354e9abd.js +0 -296
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
- package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-3993a015.js +0 -164
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-ff22b11c.js +0 -180
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
- package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v2/OrCardCollection-4f001551.js +0 -227
- package/dist/esm/v2/OrPagination-a56eb93b.js +0 -296
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
- package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v3/OrCardCollection-5a0febaf.js +0 -198
- package/dist/esm/v3/OrPagination-d351a13b.js +0 -257
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
- package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
- package/src/components/or-pagination-v3/OrPagination.vue +0 -260
- package/src/components/or-pagination-v3/index.ts +0 -2
- package/src/components/or-pagination-v3/styles.ts +0 -30
- package/src/components/or-pagination-v3/types.ts +0 -4
|
@@ -1,37 +1,48 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import { SortHeaderModel } from '../or-sort-header-v3';
|
|
3
2
|
import { CardCollectionView } from './props';
|
|
4
|
-
import { CardCollectionItem,
|
|
3
|
+
import { CardCollectionItem, SortOption, ViewMode } from './types';
|
|
5
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
6
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
|
+
sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
7
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
8
|
+
} | string[], {} & {}, {
|
|
9
|
+
[x: number]: string;
|
|
10
|
+
} | {}, true>)) | undefined>;
|
|
11
|
+
sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
12
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
13
|
+
} | string[], {} & {}, {
|
|
14
|
+
[x: number]: string;
|
|
15
|
+
} | {}, true>)) | undefined>;
|
|
7
16
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
8
17
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
18
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
proxySort: import("@vue/composition-api").Ref<{
|
|
13
|
-
column: string;
|
|
14
|
-
direction: "asc" | "desc";
|
|
15
|
-
}>;
|
|
19
|
+
proxyView: import("@vue/composition-api").Ref<string>;
|
|
20
|
+
proxySort: import("@vue/composition-api").Ref<string>;
|
|
16
21
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
23
|
+
switchView: (view: string) => void;
|
|
24
|
+
handleSort: (sort: string) => void;
|
|
25
|
+
handleSearch: (search: string) => void;
|
|
19
26
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
20
27
|
items: {
|
|
21
28
|
type: PropType<CardCollectionItem[]>;
|
|
22
29
|
default: CardCollectionItem[];
|
|
23
30
|
};
|
|
24
31
|
view: {
|
|
25
|
-
type: PropType<
|
|
32
|
+
type: PropType<string>;
|
|
26
33
|
default: CardCollectionView;
|
|
27
34
|
};
|
|
35
|
+
viewModes: {
|
|
36
|
+
type: PropType<ViewMode[]>;
|
|
37
|
+
default: () => ViewMode[];
|
|
38
|
+
};
|
|
28
39
|
sort: {
|
|
29
|
-
type:
|
|
40
|
+
type: StringConstructor;
|
|
30
41
|
default: undefined;
|
|
31
42
|
};
|
|
32
|
-
|
|
33
|
-
type: PropType<
|
|
34
|
-
default:
|
|
43
|
+
sortOptions: {
|
|
44
|
+
type: PropType<SortOption[]>;
|
|
45
|
+
default: () => never[];
|
|
35
46
|
};
|
|
36
47
|
search: {
|
|
37
48
|
type: StringConstructor;
|
|
@@ -43,16 +54,20 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
43
54
|
default: CardCollectionItem[];
|
|
44
55
|
};
|
|
45
56
|
view: {
|
|
46
|
-
type: PropType<
|
|
57
|
+
type: PropType<string>;
|
|
47
58
|
default: CardCollectionView;
|
|
48
59
|
};
|
|
60
|
+
viewModes: {
|
|
61
|
+
type: PropType<ViewMode[]>;
|
|
62
|
+
default: () => ViewMode[];
|
|
63
|
+
};
|
|
49
64
|
sort: {
|
|
50
|
-
type:
|
|
65
|
+
type: StringConstructor;
|
|
51
66
|
default: undefined;
|
|
52
67
|
};
|
|
53
|
-
|
|
54
|
-
type: PropType<
|
|
55
|
-
default:
|
|
68
|
+
sortOptions: {
|
|
69
|
+
type: PropType<SortOption[]>;
|
|
70
|
+
default: () => never[];
|
|
56
71
|
};
|
|
57
72
|
search: {
|
|
58
73
|
type: StringConstructor;
|
|
@@ -60,39 +75,50 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
60
75
|
};
|
|
61
76
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
62
77
|
search: string;
|
|
63
|
-
sort:
|
|
78
|
+
sort: string;
|
|
64
79
|
items: CardCollectionItem[];
|
|
65
|
-
view:
|
|
66
|
-
|
|
80
|
+
view: string;
|
|
81
|
+
viewModes: ViewMode[];
|
|
82
|
+
sortOptions: SortOption[];
|
|
67
83
|
} & {} & {
|
|
68
84
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
69
85
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
70
86
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
87
|
+
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, {
|
|
88
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
89
|
+
} | string[], {} & {}, {
|
|
90
|
+
[x: number]: string;
|
|
91
|
+
} | {}, true>)) | undefined>;
|
|
92
|
+
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, {
|
|
93
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
94
|
+
} | string[], {} & {}, {
|
|
95
|
+
[x: number]: string;
|
|
96
|
+
} | {}, true>)) | undefined>;
|
|
71
97
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
72
98
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
73
99
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
proxySort: import("@vue/composition-api").Ref<{
|
|
77
|
-
column: string;
|
|
78
|
-
direction: "asc" | "desc";
|
|
79
|
-
}>;
|
|
100
|
+
proxyView: import("@vue/composition-api").Ref<string>;
|
|
101
|
+
proxySort: import("@vue/composition-api").Ref<string>;
|
|
80
102
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
81
|
-
|
|
82
|
-
|
|
103
|
+
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
104
|
+
switchView: (view: string) => void;
|
|
105
|
+
handleSort: (sort: string) => void;
|
|
106
|
+
handleSearch: (search: string) => void;
|
|
83
107
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
84
108
|
search: string;
|
|
85
|
-
sort:
|
|
109
|
+
sort: string;
|
|
86
110
|
items: CardCollectionItem[];
|
|
87
|
-
view:
|
|
88
|
-
|
|
111
|
+
view: string;
|
|
112
|
+
viewModes: ViewMode[];
|
|
113
|
+
sortOptions: SortOption[];
|
|
89
114
|
} & {} & {
|
|
90
115
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
91
116
|
}, {
|
|
92
117
|
search: string;
|
|
93
|
-
sort:
|
|
118
|
+
sort: string;
|
|
94
119
|
items: CardCollectionItem[];
|
|
95
|
-
view:
|
|
96
|
-
|
|
120
|
+
view: string;
|
|
121
|
+
viewModes: ViewMode[];
|
|
122
|
+
sortOptions: SortOption[];
|
|
97
123
|
}, true>);
|
|
98
124
|
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { CardCollectionItem } from './types';
|
|
3
|
+
import { CardCollectionView } from './props';
|
|
4
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
7
|
+
items: {
|
|
8
|
+
type: PropType<CardCollectionItem[]>;
|
|
9
|
+
default: CardCollectionItem[];
|
|
10
|
+
};
|
|
11
|
+
mode: {
|
|
12
|
+
type: PropType<CardCollectionView>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
16
|
+
items: {
|
|
17
|
+
type: PropType<CardCollectionItem[]>;
|
|
18
|
+
default: CardCollectionItem[];
|
|
19
|
+
};
|
|
20
|
+
mode: {
|
|
21
|
+
type: PropType<CardCollectionView>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
25
|
+
items: CardCollectionItem[];
|
|
26
|
+
mode: CardCollectionView;
|
|
27
|
+
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
28
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
29
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
30
|
+
items: CardCollectionItem[];
|
|
31
|
+
mode: CardCollectionView;
|
|
32
|
+
} & {}, {
|
|
33
|
+
items: CardCollectionItem[];
|
|
34
|
+
}, true>);
|
|
35
|
+
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-e7a4ead6.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import '../../OrCard-de799db0.js';
|
|
6
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
7
5
|
import '../../OrIconButton-e17e4944.js';
|
|
8
6
|
import '../../OrIcon-5e394c62.js';
|
|
7
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
9
8
|
import '../../OrTooltip-513bee30.js';
|
|
10
9
|
import '../../OrPopover-9bafbdb4.js';
|
|
11
10
|
import '@floating-ui/dom';
|
|
@@ -15,10 +14,14 @@ import '../../OrBottomSheet-16c2e610.js';
|
|
|
15
14
|
import '../../OrOverlay-18ba2dc6.js';
|
|
16
15
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
17
16
|
import 'portal-vue';
|
|
17
|
+
import '../../OrMenu-df27d0ef.js';
|
|
18
|
+
import '../../OrMenuItem-c7f28480.js';
|
|
19
|
+
import '../../OrButton-357a5756.js';
|
|
20
|
+
import '../../OrLoader-f857d55b.js';
|
|
21
|
+
import '../../OrSearch-ddb7c1fe.js';
|
|
18
22
|
import '../../OrInput-2f16a7ac.js';
|
|
19
23
|
import '../../OrError-d267ee9a.js';
|
|
20
24
|
import '../../OrHint-42dc9ebb.js';
|
|
21
25
|
import '../../OrInputBox-4d5a318d.js';
|
|
22
26
|
import '../../OrLabel-2a9f1477.js';
|
|
23
27
|
import '../../browser-82dea9ed.js';
|
|
24
|
-
import '../../OrSortHeader-19bf94ca.js';
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export interface CardCollectionItem {
|
|
2
|
-
|
|
2
|
+
key?: string;
|
|
3
|
+
[key: string | number]: any;
|
|
3
4
|
}
|
|
4
|
-
export interface
|
|
5
|
-
|
|
5
|
+
export interface ViewMode {
|
|
6
|
+
view: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SortOption {
|
|
6
10
|
label: string;
|
|
11
|
+
value: string;
|
|
7
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-b0b2e43c.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
3
|
+
import '../../OrButton-357a5756.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../OrLoader-f857d55b.js';
|
|
@@ -23,13 +23,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
24
24
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
25
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string |
|
|
26
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | string[]>;
|
|
27
27
|
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
28
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
29
29
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
30
30
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
31
31
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
32
|
-
value: string
|
|
32
|
+
value: string;
|
|
33
33
|
label: string;
|
|
34
34
|
}[]>;
|
|
35
35
|
resolvedSearchOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
|
|
@@ -49,11 +49,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
49
49
|
default: SelectOption[];
|
|
50
50
|
};
|
|
51
51
|
modelValue: {
|
|
52
|
-
type: PropType<string |
|
|
52
|
+
type: PropType<string | string[]>;
|
|
53
53
|
default: undefined;
|
|
54
54
|
};
|
|
55
55
|
value: {
|
|
56
|
-
type: PropType<string |
|
|
56
|
+
type: PropType<string | string[]>;
|
|
57
57
|
default: undefined;
|
|
58
58
|
};
|
|
59
59
|
multiple: {
|
|
@@ -114,11 +114,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
114
114
|
default: SelectOption[];
|
|
115
115
|
};
|
|
116
116
|
modelValue: {
|
|
117
|
-
type: PropType<string |
|
|
117
|
+
type: PropType<string | string[]>;
|
|
118
118
|
default: undefined;
|
|
119
119
|
};
|
|
120
120
|
value: {
|
|
121
|
-
type: PropType<string |
|
|
121
|
+
type: PropType<string | string[]>;
|
|
122
122
|
default: undefined;
|
|
123
123
|
};
|
|
124
124
|
multiple: {
|
|
@@ -173,8 +173,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
173
173
|
label: string;
|
|
174
174
|
options: SelectOption[];
|
|
175
175
|
searchOptions: SelectOption[];
|
|
176
|
-
modelValue: string |
|
|
177
|
-
value: string |
|
|
176
|
+
modelValue: string | string[];
|
|
177
|
+
value: string | string[];
|
|
178
178
|
multiple: boolean;
|
|
179
179
|
size: SelectSize;
|
|
180
180
|
placeholder: string;
|
|
@@ -210,13 +210,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
210
210
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
211
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
212
212
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
213
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string |
|
|
213
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | string[]>;
|
|
214
214
|
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
215
215
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
216
216
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
217
217
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
218
218
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
219
|
-
value: string
|
|
219
|
+
value: string;
|
|
220
220
|
label: string;
|
|
221
221
|
}[]>;
|
|
222
222
|
resolvedSearchOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
|
|
@@ -230,8 +230,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
230
230
|
label: string;
|
|
231
231
|
options: SelectOption[];
|
|
232
232
|
searchOptions: SelectOption[];
|
|
233
|
-
modelValue: string |
|
|
234
|
-
value: string |
|
|
233
|
+
modelValue: string | string[];
|
|
234
|
+
value: string | string[];
|
|
235
235
|
multiple: boolean;
|
|
236
236
|
size: SelectSize;
|
|
237
237
|
placeholder: string;
|
|
@@ -249,8 +249,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
249
249
|
label: string;
|
|
250
250
|
options: SelectOption[];
|
|
251
251
|
searchOptions: SelectOption[];
|
|
252
|
-
modelValue: string |
|
|
253
|
-
value: string |
|
|
252
|
+
modelValue: string | string[];
|
|
253
|
+
value: string | string[];
|
|
254
254
|
multiple: boolean;
|
|
255
255
|
size: SelectSize;
|
|
256
256
|
placeholder: string;
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -5,10 +5,10 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
|
|
|
5
5
|
export { _ as OrButtonV2 } from './OrButton-c4f9955b.js';
|
|
6
6
|
export { _ as OrIconButton } from './OrIconButton-014e86a7.js';
|
|
7
7
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
|
|
8
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-
|
|
8
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-357a5756.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-f6b07557.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-e7a4ead6.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-de799db0.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-41dd5f9b.js';
|
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
|
|
20
20
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-b0b2e43c.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from './OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from './OrErrorTag-782dd714.js';
|
|
@@ -58,7 +58,6 @@ export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotificatio
|
|
|
58
58
|
export { _ as OrOverflowMenu } from './OrOverflowMenu-10a4166a.js';
|
|
59
59
|
export { _ as OrOverlay } from './OrOverlay-3b52865d.js';
|
|
60
60
|
export { _ as OrOverlayV3 } from './OrOverlay-18ba2dc6.js';
|
|
61
|
-
export { _ as OrPaginationV3 } from './OrPagination-a56eb93b.js';
|
|
62
61
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-4ee24824.js';
|
|
63
62
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-c27c8946.js';
|
|
64
63
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
@@ -67,7 +66,7 @@ export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
|
67
66
|
export { _ as OrSearchV3 } from './OrSearch-ddb7c1fe.js';
|
|
68
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
69
68
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
70
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
69
|
+
export { _ as OrSelectV3 } from './OrSelect-ac382aa6.js';
|
|
71
70
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
72
71
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
73
72
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
@@ -77,15 +77,7 @@ const ButtonRootColors = {
|
|
|
77
77
|
'danger-link': [
|
|
78
78
|
// Theme
|
|
79
79
|
'theme-preset-4-error', 'dark:theme-preset-4-error-dark'],
|
|
80
|
-
'inherit-link': [
|
|
81
|
-
// Typography
|
|
82
|
-
'typography-caption-regular',
|
|
83
|
-
// Typography (activated)
|
|
84
|
-
'activated:typography-caption-bold',
|
|
85
|
-
// Theme
|
|
86
|
-
'theme-foreground-inherit', 'dark:theme-foreground-inherit',
|
|
87
|
-
// Theme (activated)
|
|
88
|
-
'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
|
|
80
|
+
'inherit-link': []
|
|
89
81
|
};
|
|
90
82
|
|
|
91
83
|
var script = defineComponent({
|
|
@@ -107,10 +99,6 @@ var script = defineComponent({
|
|
|
107
99
|
type: String,
|
|
108
100
|
default: ButtonColor.Primary
|
|
109
101
|
},
|
|
110
|
-
activated: {
|
|
111
|
-
type: Boolean,
|
|
112
|
-
default: false
|
|
113
|
-
},
|
|
114
102
|
disabled: {
|
|
115
103
|
type: Boolean,
|
|
116
104
|
default: false
|
|
@@ -139,7 +127,7 @@ var script = defineComponent({
|
|
|
139
127
|
}
|
|
140
128
|
});
|
|
141
129
|
|
|
142
|
-
const _hoisted_1 = ["type", "
|
|
130
|
+
const _hoisted_1 = ["type", "disabled"];
|
|
143
131
|
const _hoisted_2 = {
|
|
144
132
|
key: 0,
|
|
145
133
|
class: /*#__PURE__*/normalizeClass(['absolute'])
|
|
@@ -151,7 +139,6 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
151
139
|
}, _ctx.$attrs, {
|
|
152
140
|
class: _ctx.rootStyles,
|
|
153
141
|
type: _ctx.type,
|
|
154
|
-
activated: _ctx.activated ? '' : null,
|
|
155
142
|
disabled: _ctx.disabled,
|
|
156
143
|
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
|
|
157
144
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|