@onereach/ui-components 2.69.7 → 2.69.8-beta.2189.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-4b99c680.js → OrButton-a846fa7e.js} +10 -1
- package/dist/bundled/v2/{OrCardCollection-754aa36f.js → OrCardCollection-0141a358.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-cf334659.js → OrConfirm-23c3ce56.js} +1 -1
- package/dist/bundled/v2/OrPagination-379c10b8.js +308 -0
- package/dist/bundled/v2/{OrSelect-2e48be47.js → OrSelect-20226912.js} +15 -8
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +5 -4
- 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/index.js +2 -2
- 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 +112 -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 +4 -0
- package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +4 -0
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +25 -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/index.js +6 -5
- package/dist/bundled/v3/{OrButton-a671b8a1.js → OrButton-2b27c1fd.js} +3 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b0dc31ca.js → OrButton.vue_vue_type_script_lang-8c44986c.js} +9 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-365741ae.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-68329ca1.js → OrConfirm.vue_vue_type_script_lang-05b21989.js} +2 -2
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-c96d7cd7.js +187 -0
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-a5ecc5ed.js → OrSelect.vue_vue_type_script_lang-edc5eb2d.js} +6 -2
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +6 -5
- 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/index.js +3 -3
- 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 +112 -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 +4 -0
- package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +4 -0
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +25 -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 +253 -162
- package/dist/esm/v2/{OrButton-357e1e2c.js → OrButton-835d4f11.js} +10 -1
- package/dist/esm/v2/{OrCardCollection-153b0179.js → OrCardCollection-3c38fc85.js} +1 -1
- package/dist/esm/v2/{OrConfirm-d67d5c00.js → OrConfirm-e2ab9b4c.js} +1 -1
- package/dist/esm/v2/OrPagination-c0dbec6a.js +308 -0
- package/dist/esm/v2/{OrSelect-b3794fd3.js → OrSelect-2b198f4f.js} +15 -8
- 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/index.js +2 -2
- 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 +112 -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 +4 -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 +25 -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-bb6bf8a9.js → OrButton-0fa67a0d.js} +11 -2
- package/dist/esm/v3/{OrCardCollection-a09ad585.js → OrCardCollection-dbb3e839.js} +1 -1
- package/dist/esm/v3/{OrConfirm-b93b5131.js → OrConfirm-1bcd39b1.js} +1 -1
- package/dist/esm/v3/OrPagination-a703307d.js +269 -0
- package/dist/esm/v3/{OrSelect-a0718c44.js → OrSelect-f42de9d8.js} +19 -9
- 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/index.js +2 -2
- 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 +112 -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 +4 -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 +25 -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 +2 -3
- 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 +9 -1
- 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 +270 -0
- package/src/components/or-pagination-v3/index.ts +2 -0
- package/src/components/or-pagination-v3/styles.ts +38 -0
- package/src/components/or-pagination-v3/types.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +26 -14
- package/src/components/or-select-v3/index.ts +1 -0
- package/src/components/or-select-v3/types.ts +1 -1
|
@@ -0,0 +1,112 @@
|
|
|
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
|
+
itemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
21
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
22
|
+
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
23
|
+
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
24
|
+
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
25
|
+
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
26
|
+
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
27
|
+
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
28
|
+
toPreviousPage: () => void;
|
|
29
|
+
toNextPage: () => void;
|
|
30
|
+
toPage: (page: number) => void;
|
|
31
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
32
|
+
modelValue: {
|
|
33
|
+
type: PropType<PaginationModel>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
value: {
|
|
37
|
+
type: PropType<PaginationModel>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
length: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
pageSizeOptions: {
|
|
45
|
+
type: PropType<number[]>;
|
|
46
|
+
default: () => number[];
|
|
47
|
+
};
|
|
48
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
49
|
+
modelValue: {
|
|
50
|
+
type: PropType<PaginationModel>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
value: {
|
|
54
|
+
type: PropType<PaginationModel>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
length: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
pageSizeOptions: {
|
|
62
|
+
type: PropType<number[]>;
|
|
63
|
+
default: () => number[];
|
|
64
|
+
};
|
|
65
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
66
|
+
length: number;
|
|
67
|
+
modelValue: PaginationModel;
|
|
68
|
+
value: PaginationModel;
|
|
69
|
+
pageSizeOptions: number[];
|
|
70
|
+
} & {} & {
|
|
71
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
73
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
74
|
+
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, {
|
|
75
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
76
|
+
} | string[], {} & {}, {
|
|
77
|
+
[x: number]: string;
|
|
78
|
+
} | {}, true> | undefined>;
|
|
79
|
+
limitButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
80
|
+
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, {
|
|
81
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
82
|
+
} | string[], {} & {}, {
|
|
83
|
+
[x: number]: string;
|
|
84
|
+
} | {}, true> | undefined>;
|
|
85
|
+
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
86
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
87
|
+
offsetControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
88
|
+
limitControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
89
|
+
itemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
90
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
91
|
+
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
92
|
+
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
93
|
+
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
94
|
+
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
95
|
+
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
96
|
+
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
97
|
+
toPreviousPage: () => void;
|
|
98
|
+
toNextPage: () => void;
|
|
99
|
+
toPage: (page: number) => void;
|
|
100
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
101
|
+
length: number;
|
|
102
|
+
modelValue: PaginationModel;
|
|
103
|
+
value: PaginationModel;
|
|
104
|
+
pageSizeOptions: number[];
|
|
105
|
+
} & {} & {
|
|
106
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
modelValue: PaginationModel;
|
|
109
|
+
value: PaginationModel;
|
|
110
|
+
pageSizeOptions: number[];
|
|
111
|
+
}, true>);
|
|
112
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { _ as OrPaginationV3 } from '../../OrPagination-c0dbec6a.js';
|
|
2
|
+
import 'vue-demi';
|
|
3
|
+
import '../../useClassAttribute-47fdb016.js';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import '../../OrButton-835d4f11.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: {
|
|
@@ -88,6 +88,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
|
+
disableDefaultStyles: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
91
95
|
enableSearch: {
|
|
92
96
|
type: BooleanConstructor;
|
|
93
97
|
default: boolean;
|
|
@@ -114,11 +118,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
114
118
|
default: SelectOption[];
|
|
115
119
|
};
|
|
116
120
|
modelValue: {
|
|
117
|
-
type: PropType<string | string[]>;
|
|
121
|
+
type: PropType<string | number | (string | number)[]>;
|
|
118
122
|
default: undefined;
|
|
119
123
|
};
|
|
120
124
|
value: {
|
|
121
|
-
type: PropType<string | string[]>;
|
|
125
|
+
type: PropType<string | number | (string | number)[]>;
|
|
122
126
|
default: undefined;
|
|
123
127
|
};
|
|
124
128
|
multiple: {
|
|
@@ -153,6 +157,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
153
157
|
type: BooleanConstructor;
|
|
154
158
|
default: boolean;
|
|
155
159
|
};
|
|
160
|
+
disableDefaultStyles: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
156
164
|
enableSearch: {
|
|
157
165
|
type: BooleanConstructor;
|
|
158
166
|
default: boolean;
|
|
@@ -173,8 +181,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
173
181
|
label: string;
|
|
174
182
|
options: SelectOption[];
|
|
175
183
|
searchOptions: SelectOption[];
|
|
176
|
-
modelValue: string | string[];
|
|
177
|
-
value: string | string[];
|
|
184
|
+
modelValue: string | number | (string | number)[];
|
|
185
|
+
value: string | number | (string | number)[];
|
|
178
186
|
multiple: boolean;
|
|
179
187
|
size: SelectSize;
|
|
180
188
|
placeholder: string;
|
|
@@ -182,6 +190,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
182
190
|
error: string;
|
|
183
191
|
required: boolean;
|
|
184
192
|
disabled: boolean;
|
|
193
|
+
disableDefaultStyles: boolean;
|
|
185
194
|
enableSearch: boolean;
|
|
186
195
|
searchFunction: SelectSearchFunction;
|
|
187
196
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -210,13 +219,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
210
219
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
220
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
212
221
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
213
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | string[]>;
|
|
222
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
214
223
|
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
215
224
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
216
225
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
217
226
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
218
227
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
219
|
-
value: string;
|
|
228
|
+
value: string | number;
|
|
220
229
|
label: string;
|
|
221
230
|
}[]>;
|
|
222
231
|
resolvedSearchOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
|
|
@@ -230,8 +239,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
230
239
|
label: string;
|
|
231
240
|
options: SelectOption[];
|
|
232
241
|
searchOptions: SelectOption[];
|
|
233
|
-
modelValue: string | string[];
|
|
234
|
-
value: string | string[];
|
|
242
|
+
modelValue: string | number | (string | number)[];
|
|
243
|
+
value: string | number | (string | number)[];
|
|
235
244
|
multiple: boolean;
|
|
236
245
|
size: SelectSize;
|
|
237
246
|
placeholder: string;
|
|
@@ -239,6 +248,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
239
248
|
error: string;
|
|
240
249
|
required: boolean;
|
|
241
250
|
disabled: boolean;
|
|
251
|
+
disableDefaultStyles: boolean;
|
|
242
252
|
enableSearch: boolean;
|
|
243
253
|
searchFunction: SelectSearchFunction;
|
|
244
254
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -249,8 +259,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
249
259
|
label: string;
|
|
250
260
|
options: SelectOption[];
|
|
251
261
|
searchOptions: SelectOption[];
|
|
252
|
-
modelValue: string | string[];
|
|
253
|
-
value: string | string[];
|
|
262
|
+
modelValue: string | number | (string | number)[];
|
|
263
|
+
value: string | number | (string | number)[];
|
|
254
264
|
multiple: boolean;
|
|
255
265
|
size: SelectSize;
|
|
256
266
|
placeholder: string;
|
|
@@ -258,6 +268,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
258
268
|
error: string;
|
|
259
269
|
required: boolean;
|
|
260
270
|
disabled: boolean;
|
|
271
|
+
disableDefaultStyles: boolean;
|
|
261
272
|
enableSearch: boolean;
|
|
262
273
|
searchFunction: SelectSearchFunction;
|
|
263
274
|
groupByFunction: SelectGroupByFunction;
|
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-835d4f11.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 { 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-3c38fc85.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-d4400b42.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-e2ab9b4c.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';
|
|
@@ -59,6 +59,7 @@ export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotificatio
|
|
|
59
59
|
export { _ as OrOverflowMenu } from './OrOverflowMenu-10a4166a.js';
|
|
60
60
|
export { _ as OrOverlay } from './OrOverlay-3b52865d.js';
|
|
61
61
|
export { _ as OrOverlayV3 } from './OrOverlay-18ba2dc6.js';
|
|
62
|
+
export { _ as OrPaginationV3 } from './OrPagination-c0dbec6a.js';
|
|
62
63
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-4ee24824.js';
|
|
63
64
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-c27c8946.js';
|
|
64
65
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
@@ -67,7 +68,7 @@ export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
|
67
68
|
export { _ as OrSearchV3 } from './OrSearch-0f08f2f5.js';
|
|
68
69
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
69
70
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
70
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
71
|
+
export { _ as OrSelectV3 } from './OrSelect-2b198f4f.js';
|
|
71
72
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
72
73
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
73
74
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
@@ -81,7 +81,11 @@ const ButtonRootColors = {
|
|
|
81
81
|
'danger-link': [
|
|
82
82
|
// Theme
|
|
83
83
|
'theme-preset-4-error', 'dark:theme-preset-4-error-dark'],
|
|
84
|
-
'inherit-link': [
|
|
84
|
+
'inherit-link': [
|
|
85
|
+
// Theme
|
|
86
|
+
'theme-foreground-inherit', 'dark:theme-foreground-inherit',
|
|
87
|
+
// Theme (activated)
|
|
88
|
+
'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
|
|
85
89
|
};
|
|
86
90
|
|
|
87
91
|
var script = defineComponent({
|
|
@@ -103,6 +107,10 @@ var script = defineComponent({
|
|
|
103
107
|
type: String,
|
|
104
108
|
default: ButtonColor.Primary
|
|
105
109
|
},
|
|
110
|
+
activated: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
default: false
|
|
113
|
+
},
|
|
106
114
|
disabled: {
|
|
107
115
|
type: Boolean,
|
|
108
116
|
default: false
|
|
@@ -131,7 +139,7 @@ var script = defineComponent({
|
|
|
131
139
|
}
|
|
132
140
|
});
|
|
133
141
|
|
|
134
|
-
const _hoisted_1 = ["type", "disabled"];
|
|
142
|
+
const _hoisted_1 = ["type", "activated", "disabled"];
|
|
135
143
|
const _hoisted_2 = {
|
|
136
144
|
key: 0,
|
|
137
145
|
class: /*#__PURE__*/normalizeClass(['absolute'])
|
|
@@ -143,6 +151,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
143
151
|
}, _ctx.$attrs, {
|
|
144
152
|
class: _ctx.rootStyles,
|
|
145
153
|
type: _ctx.type,
|
|
154
|
+
activated: _ctx.activated ? '' : null,
|
|
146
155
|
disabled: _ctx.disabled,
|
|
147
156
|
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
|
|
148
157
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
@@ -7,7 +7,7 @@ import './OrPopover-1075dd38.js';
|
|
|
7
7
|
import { s as script$5 } from './OrMenuItem-9da279f6.js';
|
|
8
8
|
import { s as script$6 } from './OrIcon-b195169c.js';
|
|
9
9
|
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
10
|
-
import { s as script$3 } from './OrButton-
|
|
10
|
+
import { s as script$3 } from './OrButton-0fa67a0d.js';
|
|
11
11
|
import { s as script$7 } from './OrSearch-9885d178.js';
|
|
12
12
|
import './OrInputBox-6d1b6059.js';
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
-
import { s as script$2, a as ButtonColor } from './OrButton-
|
|
2
|
+
import { s as script$2, a as ButtonColor } from './OrButton-0fa67a0d.js';
|
|
3
3
|
import { s as script$1 } from './OrOverlay-738a44d5.js';
|
|
4
4
|
import { s as script$3 } from './OrInput-9c0426b9.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|