@onereach/ui-components 2.69.1-beta.2090.0 → 2.69.1-beta.2095.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-0e91a808.js → OrButton-66d37aff.js} +14 -1
- package/dist/bundled/v2/{OrCard-29116e1f.js → OrCard-58a1ba3e.js} +2 -2
- package/dist/bundled/v2/OrCardCollection-a9a779ea.js +228 -0
- package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-e1ca1422.js} +1 -1
- package/dist/bundled/v2/OrPagination-354e9abd.js +296 -0
- package/dist/bundled/v2/{OrSearch-19f43fe5.js → OrSearch-9d402f56.js} +2 -2
- package/dist/bundled/v2/{OrSelect-759b4410.js → OrSelect-1c9421ad.js} +3 -3
- package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-396e6a7c.js} +2 -2
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +8 -7
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +11 -0
- 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 +0 -4
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +37 -61
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -7
- package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +4 -5
- 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-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +110 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.js +20 -0
- package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +3 -0
- package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +4 -0
- 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 +1 -0
- 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 +9 -8
- package/dist/bundled/v3/{OrButton-8ab33d9d.js → OrButton-9640286b.js} +3 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3718b300.js → OrButton.vue_vue_type_script_lang-06d8ead1.js} +13 -1
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-3993a015.js +164 -0
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-85472b12.js → OrConfirm.vue_vue_type_script_lang-f1b81f00.js} +2 -2
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-ff22b11c.js +180 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-cb2d6612.js → OrSearch.vue_vue_type_script_lang-ed78b21f.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-dfadd12f.js → OrSelect.vue_vue_type_script_lang-d0626539.js} +2 -2
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +11 -10
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +11 -0
- 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 +0 -4
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +37 -61
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -11
- package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +4 -5
- package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +110 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.js +22 -0
- package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +3 -0
- package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +4 -0
- 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 +1 -0
- 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 +354 -292
- package/dist/esm/v2/{OrButton-357a5756.js → OrButton-3d4fc9da.js} +14 -1
- package/dist/esm/v2/OrCardCollection-4f001551.js +227 -0
- package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-ba3f8c45.js} +1 -1
- package/dist/esm/v2/OrPagination-a56eb93b.js +296 -0
- package/dist/esm/v2/{OrSelect-ac382aa6.js → OrSelect-ca2510cd.js} +3 -3
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +5 -4
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +11 -0
- 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 +0 -4
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +37 -61
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -7
- package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +4 -5
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +110 -0
- package/dist/esm/v2/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-pagination-v3/index.js +18 -0
- package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +3 -0
- package/dist/esm/v2/components/or-pagination-v3/types.d.ts +4 -0
- 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 +1 -0
- 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 +5 -4
- package/dist/esm/v3/{OrButton-f4b9ee51.js → OrButton-970ae320.js} +15 -2
- package/dist/esm/v3/OrCardCollection-5a0febaf.js +198 -0
- package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-7cb2f36b.js} +1 -1
- package/dist/esm/v3/OrPagination-d351a13b.js +257 -0
- package/dist/esm/v3/{OrSelect-fee9c099.js → OrSelect-bff22c7f.js} +3 -3
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +5 -4
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +11 -0
- 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 +0 -4
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +37 -61
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -7
- package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +4 -5
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +110 -0
- package/dist/esm/v3/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-pagination-v3/index.js +17 -0
- package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +3 -0
- package/dist/esm/v3/components/or-pagination-v3/types.d.ts +4 -0
- 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 +1 -0
- 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 +5 -4
- package/package.json +1 -1
- package/src/components/index.ts +1 -0
- package/src/components/or-button-v3/OrButton.stories3.ts +4 -0
- package/src/components/or-button-v3/OrButton.vue +6 -0
- package/src/components/or-button-v3/styles.ts +15 -1
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +19 -160
- package/src/components/or-card-collection-v3/OrCardCollection.vue +74 -99
- package/src/components/or-card-collection-v3/styles.ts +1 -1
- package/src/components/or-card-collection-v3/types.ts +4 -5
- package/src/components/or-pagination-v3/OrPagination.docs.mdx +7 -0
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +87 -0
- package/src/components/or-pagination-v3/OrPagination.vue +260 -0
- package/src/components/or-pagination-v3/index.ts +2 -0
- package/src/components/or-pagination-v3/styles.ts +30 -0
- package/src/components/or-pagination-v3/types.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +3 -3
- package/src/components/or-select-v3/index.ts +1 -0
- package/src/components/or-select-v3/types.ts +1 -1
- package/dist/bundled/v2/OrCardCollection-a8d5ce32.js +0 -328
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
- package/dist/bundled/v2/components/or-card-collection-v3/constatnts.d.ts +0 -4
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-f9f329a2.js +0 -224
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
- package/dist/bundled/v3/components/or-card-collection-v3/constatnts.d.ts +0 -4
- package/dist/esm/v2/OrCardCollection-95b051e1.js +0 -328
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
- package/dist/esm/v2/components/or-card-collection-v3/constatnts.d.ts +0 -4
- package/dist/esm/v3/OrCardCollection-afd863fc.js +0 -274
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
- package/dist/esm/v3/components/or-card-collection-v3/constatnts.d.ts +0 -4
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +0 -41
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +0 -42
- package/src/components/or-card-collection-v3/constatnts.ts +0 -12
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import OrCardCollection from './OrCardCollection.vue';
|
|
3
2
|
declare const _default: Meta<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, {
|
|
4
3
|
[x: string]: ((...args: any[]) => any) | null;
|
|
5
4
|
} | string[], {} & {}, {
|
|
@@ -16,6 +15,3 @@ export declare const WithSorting: StoryFn<import("vue").ComponentOptions<import(
|
|
|
16
15
|
} | string[], {} & {}, {
|
|
17
16
|
[x: number]: string;
|
|
18
17
|
} | {}, true>)>;
|
|
19
|
-
export declare const OverrideViewContainer: StoryFn<typeof OrCardCollection>;
|
|
20
|
-
export declare const ExtraViewMode: StoryFn<typeof OrCardCollection>;
|
|
21
|
-
export declare const WithLink: StoryFn<typeof OrCardCollection>;
|
|
@@ -1,47 +1,37 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
+
import { SortHeaderModel } from '../or-sort-header-v3';
|
|
2
3
|
import { CardCollectionView } from './props';
|
|
3
|
-
import { CardCollectionItem,
|
|
4
|
+
import { CardCollectionItem, CardCollectionSortHeader } from './types';
|
|
4
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
6
|
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>;
|
|
16
7
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
17
8
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
18
9
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
11
|
+
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
12
|
+
proxySort: import("@vue/composition-api").Ref<{
|
|
13
|
+
column: string;
|
|
14
|
+
direction: "asc" | "desc";
|
|
15
|
+
}>;
|
|
21
16
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
handleSearch: (search: string) => void;
|
|
17
|
+
switchToGridView: () => void;
|
|
18
|
+
switchToListView: () => void;
|
|
25
19
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
26
20
|
items: {
|
|
27
21
|
type: PropType<CardCollectionItem[]>;
|
|
28
22
|
default: CardCollectionItem[];
|
|
29
23
|
};
|
|
30
24
|
view: {
|
|
31
|
-
type: PropType<
|
|
25
|
+
type: PropType<CardCollectionView>;
|
|
32
26
|
default: CardCollectionView;
|
|
33
27
|
};
|
|
34
|
-
viewModes: {
|
|
35
|
-
type: PropType<ViewMode[]>;
|
|
36
|
-
default: () => ViewMode[];
|
|
37
|
-
};
|
|
38
28
|
sort: {
|
|
39
|
-
type:
|
|
29
|
+
type: PropType<SortHeaderModel>;
|
|
40
30
|
default: undefined;
|
|
41
31
|
};
|
|
42
|
-
|
|
43
|
-
type: PropType<
|
|
44
|
-
default:
|
|
32
|
+
sortHeaders: {
|
|
33
|
+
type: PropType<CardCollectionSortHeader[]>;
|
|
34
|
+
default: undefined;
|
|
45
35
|
};
|
|
46
36
|
search: {
|
|
47
37
|
type: StringConstructor;
|
|
@@ -53,20 +43,16 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
53
43
|
default: CardCollectionItem[];
|
|
54
44
|
};
|
|
55
45
|
view: {
|
|
56
|
-
type: PropType<
|
|
46
|
+
type: PropType<CardCollectionView>;
|
|
57
47
|
default: CardCollectionView;
|
|
58
48
|
};
|
|
59
|
-
viewModes: {
|
|
60
|
-
type: PropType<ViewMode[]>;
|
|
61
|
-
default: () => ViewMode[];
|
|
62
|
-
};
|
|
63
49
|
sort: {
|
|
64
|
-
type:
|
|
50
|
+
type: PropType<SortHeaderModel>;
|
|
65
51
|
default: undefined;
|
|
66
52
|
};
|
|
67
|
-
|
|
68
|
-
type: PropType<
|
|
69
|
-
default:
|
|
53
|
+
sortHeaders: {
|
|
54
|
+
type: PropType<CardCollectionSortHeader[]>;
|
|
55
|
+
default: undefined;
|
|
70
56
|
};
|
|
71
57
|
search: {
|
|
72
58
|
type: StringConstructor;
|
|
@@ -74,49 +60,39 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
74
60
|
};
|
|
75
61
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
76
62
|
search: string;
|
|
77
|
-
sort:
|
|
63
|
+
sort: SortHeaderModel;
|
|
78
64
|
items: CardCollectionItem[];
|
|
79
|
-
view:
|
|
80
|
-
|
|
81
|
-
sortOptions: string[];
|
|
65
|
+
view: CardCollectionView;
|
|
66
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
82
67
|
} & {} & {
|
|
83
68
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
84
69
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
85
70
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
86
|
-
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, {
|
|
87
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
88
|
-
} | string[], {} & {}, {
|
|
89
|
-
[x: number]: string;
|
|
90
|
-
} | {}, true>)) | undefined>;
|
|
91
|
-
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, {
|
|
92
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
93
|
-
} | string[], {} & {}, {
|
|
94
|
-
[x: number]: string;
|
|
95
|
-
} | {}, true>)) | undefined>;
|
|
96
71
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
97
72
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
98
73
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
99
|
-
|
|
100
|
-
|
|
74
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
75
|
+
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
76
|
+
proxySort: import("@vue/composition-api").Ref<{
|
|
77
|
+
column: string;
|
|
78
|
+
direction: "asc" | "desc";
|
|
79
|
+
}>;
|
|
101
80
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
handleSearch: (search: string) => void;
|
|
81
|
+
switchToGridView: () => void;
|
|
82
|
+
switchToListView: () => void;
|
|
105
83
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
106
84
|
search: string;
|
|
107
|
-
sort:
|
|
85
|
+
sort: SortHeaderModel;
|
|
108
86
|
items: CardCollectionItem[];
|
|
109
|
-
view:
|
|
110
|
-
|
|
111
|
-
sortOptions: string[];
|
|
87
|
+
view: CardCollectionView;
|
|
88
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
112
89
|
} & {} & {
|
|
113
90
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
114
91
|
}, {
|
|
115
92
|
search: string;
|
|
116
|
-
sort:
|
|
93
|
+
sort: SortHeaderModel;
|
|
117
94
|
items: CardCollectionItem[];
|
|
118
|
-
view:
|
|
119
|
-
|
|
120
|
-
sortOptions: string[];
|
|
95
|
+
view: CardCollectionView;
|
|
96
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
121
97
|
}, true>);
|
|
122
98
|
export default _default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-4f001551.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';
|
|
5
7
|
import '../../OrIconButton-e17e4944.js';
|
|
6
8
|
import '../../OrIcon-5e394c62.js';
|
|
7
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
8
9
|
import '../../OrTooltip-513bee30.js';
|
|
9
10
|
import '../../OrPopover-9bafbdb4.js';
|
|
10
11
|
import '@floating-ui/dom';
|
|
@@ -14,14 +15,10 @@ import '../../OrBottomSheet-16c2e610.js';
|
|
|
14
15
|
import '../../OrOverlay-18ba2dc6.js';
|
|
15
16
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
16
17
|
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';
|
|
22
18
|
import '../../OrInput-2f16a7ac.js';
|
|
23
19
|
import '../../OrError-d267ee9a.js';
|
|
24
20
|
import '../../OrHint-42dc9ebb.js';
|
|
25
21
|
import '../../OrInputBox-4d5a318d.js';
|
|
26
22
|
import '../../OrLabel-2a9f1477.js';
|
|
27
23
|
import '../../browser-82dea9ed.js';
|
|
24
|
+
import '../../OrSortHeader-19bf94ca.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-ba3f8c45.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
3
|
+
import '../../OrButton-3d4fc9da.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../OrLoader-f857d55b.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
declare const _default: Meta<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, {
|
|
3
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
+
} | string[], {} & {}, {
|
|
5
|
+
[x: number]: string;
|
|
6
|
+
} | {}, true>)>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: StoryFn<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, {
|
|
9
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
+
} | string[], {} & {}, {
|
|
11
|
+
[x: number]: string;
|
|
12
|
+
} | {}, true>)>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { PaginationModel } 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
|
+
limitButton: import("@vue/composition-api").Ref<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
|
+
limitButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
11
|
+
limitMenu: import("@vue/composition-api").Ref<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>;
|
|
16
|
+
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
17
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
18
|
+
offsetControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
19
|
+
limitControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
20
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
21
|
+
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
22
|
+
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
23
|
+
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
24
|
+
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
25
|
+
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
26
|
+
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
27
|
+
toPreviousPage: () => void;
|
|
28
|
+
toNextPage: () => void;
|
|
29
|
+
toPage: (page: number) => void;
|
|
30
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: PropType<PaginationModel>;
|
|
33
|
+
default: PaginationModel;
|
|
34
|
+
};
|
|
35
|
+
value: {
|
|
36
|
+
type: PropType<PaginationModel>;
|
|
37
|
+
default: PaginationModel;
|
|
38
|
+
};
|
|
39
|
+
length: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
pageSizeOptions: {
|
|
44
|
+
type: PropType<number[]>;
|
|
45
|
+
default: number[];
|
|
46
|
+
};
|
|
47
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: PropType<PaginationModel>;
|
|
50
|
+
default: PaginationModel;
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
type: PropType<PaginationModel>;
|
|
54
|
+
default: PaginationModel;
|
|
55
|
+
};
|
|
56
|
+
length: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
pageSizeOptions: {
|
|
61
|
+
type: PropType<number[]>;
|
|
62
|
+
default: number[];
|
|
63
|
+
};
|
|
64
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
65
|
+
length: number;
|
|
66
|
+
modelValue: PaginationModel;
|
|
67
|
+
value: PaginationModel;
|
|
68
|
+
pageSizeOptions: number[];
|
|
69
|
+
} & {} & {
|
|
70
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
72
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
73
|
+
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
74
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
75
|
+
} | string[], {} & {}, {
|
|
76
|
+
[x: number]: string;
|
|
77
|
+
} | {}, true> | undefined>;
|
|
78
|
+
limitButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
79
|
+
limitMenu: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
80
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
81
|
+
} | string[], {} & {}, {
|
|
82
|
+
[x: number]: string;
|
|
83
|
+
} | {}, true> | undefined>;
|
|
84
|
+
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
85
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
86
|
+
offsetControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
87
|
+
limitControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
88
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
89
|
+
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
90
|
+
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
91
|
+
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
92
|
+
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
93
|
+
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
94
|
+
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
95
|
+
toPreviousPage: () => void;
|
|
96
|
+
toNextPage: () => void;
|
|
97
|
+
toPage: (page: number) => void;
|
|
98
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
99
|
+
length: number;
|
|
100
|
+
modelValue: PaginationModel;
|
|
101
|
+
value: PaginationModel;
|
|
102
|
+
pageSizeOptions: number[];
|
|
103
|
+
} & {} & {
|
|
104
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
modelValue: PaginationModel;
|
|
107
|
+
value: PaginationModel;
|
|
108
|
+
pageSizeOptions: number[];
|
|
109
|
+
}, true>);
|
|
110
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { _ as OrPaginationV3 } from '../../OrPagination-a56eb93b.js';
|
|
2
|
+
import 'vue-demi';
|
|
3
|
+
import '../../useClassAttribute-47fdb016.js';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import '../../OrButton-3d4fc9da.js';
|
|
6
|
+
import '../../OrLoader-f857d55b.js';
|
|
7
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
8
|
+
import '../../OrIcon-5e394c62.js';
|
|
9
|
+
import '../../OrMenuItem-c7f28480.js';
|
|
10
|
+
import '../../OrMenu-df27d0ef.js';
|
|
11
|
+
import '../../OrPopover-9bafbdb4.js';
|
|
12
|
+
import '@floating-ui/dom';
|
|
13
|
+
import '../../useElevation-31bfe1f6.js';
|
|
14
|
+
import '../../useResponsive-a02e95b7.js';
|
|
15
|
+
import '../../OrBottomSheet-16c2e610.js';
|
|
16
|
+
import '../../OrOverlay-18ba2dc6.js';
|
|
17
|
+
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
18
|
+
import 'portal-vue';
|
|
@@ -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 | string[]>;
|
|
26
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
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 | number;
|
|
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 | string[]>;
|
|
52
|
+
type: PropType<string | number | (string | number)[]>;
|
|
53
53
|
default: undefined;
|
|
54
54
|
};
|
|
55
55
|
value: {
|
|
56
|
-
type: PropType<string | string[]>;
|
|
56
|
+
type: PropType<string | number | (string | number)[]>;
|
|
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 | string[]>;
|
|
117
|
+
type: PropType<string | number | (string | number)[]>;
|
|
118
118
|
default: undefined;
|
|
119
119
|
};
|
|
120
120
|
value: {
|
|
121
|
-
type: PropType<string | string[]>;
|
|
121
|
+
type: PropType<string | number | (string | number)[]>;
|
|
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 | string[];
|
|
177
|
-
value: string | string[];
|
|
176
|
+
modelValue: string | number | (string | number)[];
|
|
177
|
+
value: string | number | (string | number)[];
|
|
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 | string[]>;
|
|
213
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
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 | number;
|
|
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 | string[];
|
|
234
|
-
value: string | string[];
|
|
233
|
+
modelValue: string | number | (string | number)[];
|
|
234
|
+
value: string | number | (string | number)[];
|
|
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 | string[];
|
|
253
|
-
value: string | string[];
|
|
252
|
+
modelValue: string | number | (string | number)[];
|
|
253
|
+
value: string | number | (string | number)[];
|
|
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-3d4fc9da.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-4f001551.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-ba3f8c45.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,6 +58,7 @@ 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';
|
|
61
62
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-4ee24824.js';
|
|
62
63
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-c27c8946.js';
|
|
63
64
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
@@ -66,7 +67,7 @@ export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
|
66
67
|
export { _ as OrSearchV3 } from './OrSearch-ddb7c1fe.js';
|
|
67
68
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
68
69
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
69
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
70
|
+
export { _ as OrSelectV3 } from './OrSelect-ca2510cd.js';
|
|
70
71
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
71
72
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
72
73
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
@@ -77,7 +77,15 @@ const ButtonRootColors = {
|
|
|
77
77
|
'danger-link': [
|
|
78
78
|
// Theme
|
|
79
79
|
'theme-preset-4-error', 'dark:theme-preset-4-error-dark'],
|
|
80
|
-
'inherit-link': [
|
|
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']
|
|
81
89
|
};
|
|
82
90
|
|
|
83
91
|
var script = defineComponent({
|
|
@@ -99,6 +107,10 @@ var script = defineComponent({
|
|
|
99
107
|
type: String,
|
|
100
108
|
default: ButtonColor.Primary
|
|
101
109
|
},
|
|
110
|
+
activated: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
default: false
|
|
113
|
+
},
|
|
102
114
|
disabled: {
|
|
103
115
|
type: Boolean,
|
|
104
116
|
default: false
|
|
@@ -127,7 +139,7 @@ var script = defineComponent({
|
|
|
127
139
|
}
|
|
128
140
|
});
|
|
129
141
|
|
|
130
|
-
const _hoisted_1 = ["type", "disabled"];
|
|
142
|
+
const _hoisted_1 = ["type", "activated", "disabled"];
|
|
131
143
|
const _hoisted_2 = {
|
|
132
144
|
key: 0,
|
|
133
145
|
class: /*#__PURE__*/normalizeClass(['absolute'])
|
|
@@ -139,6 +151,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
139
151
|
}, _ctx.$attrs, {
|
|
140
152
|
class: _ctx.rootStyles,
|
|
141
153
|
type: _ctx.type,
|
|
154
|
+
activated: _ctx.activated ? '' : null,
|
|
142
155
|
disabled: _ctx.disabled,
|
|
143
156
|
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
|
|
144
157
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|