@onereach/ui-components 2.70.1 → 2.70.2-beta.2199.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/{OrCardCollection-0141a358.js → OrCardCollection-1bb83cfb.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-251ecafc.js} +32 -17
- package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-4cae7867.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-2133e469.js} +38 -22
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-d61ca596.js} +34 -18
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-770f1bed.js} +38 -30
- package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-468d0964.js} +1 -1
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-ae89bc9b.js} +30 -15
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-2e5f9e24.js} +1 -1
- package/dist/bundled/v2/{OrSelect-c49e1bcf.js → OrSelect-039c0711.js} +2 -2
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-20640a05.js} +30 -15
- package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-85aefcba.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-0ff8063b.js} +39 -20
- package/dist/bundled/v2/components/index.js +15 -13
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/hooks/index.d.ts +3 -0
- package/dist/bundled/v2/hooks/index.js +2 -0
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v2/index.js +15 -13
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-a0f29a55.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-2024ec32.js} +22 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-7d9d3810.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-40f0073f.js} +27 -11
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js} +27 -11
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-e325a104.js} +12 -12
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-fd850b82.js} +26 -15
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-0d9daaa7.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-29e8b856.js} +22 -7
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-480f4b1c.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-58e5a52b.js → OrSelect.vue_vue_type_script_lang-7aa8956a.js} +17 -15
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-02b4913a.js} +22 -7
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-01188224.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-2fdac7b2.js} +31 -12
- package/dist/bundled/v3/components/index.js +16 -14
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/hooks/index.d.ts +3 -0
- package/dist/bundled/v3/hooks/index.js +2 -0
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v3/index.js +76 -68
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-784318ac.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-7317fe1a.js} +32 -17
- package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-3d064f6c.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-7c4f1f92.js} +38 -22
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-3381e2a9.js} +34 -18
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-e10cc643.js} +38 -30
- package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-291bd1b9.js} +1 -1
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-b0a560d2.js} +30 -15
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-1490c00b.js} +1 -1
- package/dist/esm/v2/{OrSelect-1d705445.js → OrSelect-1fbeed4f.js} +2 -2
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-133052ca.js} +30 -15
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-e5b81f4b.js} +1 -1
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a7c846da.js} +39 -20
- package/dist/esm/v2/components/index.js +15 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v2/components/or-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v2/components/or-search-v3/index.js +4 -2
- package/dist/esm/v2/components/or-select-v3/index.js +5 -3
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v2/hooks/index.d.ts +3 -0
- package/dist/esm/v2/hooks/index.js +2 -0
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v2/index.js +15 -13
- package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-110b3a0b.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-7144da06.js} +36 -19
- package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-1a38ed1b.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-a6b19dbe.js} +37 -20
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-9eb60363.js} +37 -20
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-e07ec00c.js} +37 -26
- package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-5e01a0a5.js} +1 -1
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-39d1905d.js} +34 -17
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-a60f67f0.js} +1 -1
- package/dist/esm/v3/{OrSelect-dfa4885f.js → OrSelect-2c70e384.js} +2 -2
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-3e9a699d.js} +34 -18
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-91618aab.js} +1 -1
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-fd6b9f31.js} +42 -22
- package/dist/esm/v3/components/index.js +15 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v3/components/or-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v3/components/or-search-v3/index.js +4 -2
- package/dist/esm/v3/components/or-select-v3/index.js +5 -3
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v3/hooks/index.d.ts +3 -0
- package/dist/esm/v3/hooks/index.js +2 -0
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v3/index.js +15 -13
- package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
- package/package.json +2 -3
- package/src/components/or-checkbox-v3/OrCheckbox.vue +28 -10
- package/src/components/or-inline-input-v3/OrInlineInput.vue +32 -13
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +32 -13
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +31 -19
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-radio-v3/OrRadio.vue +27 -9
- package/src/components/or-switch-v3/OrSwitch.vue +27 -9
- package/src/components/or-tabs-v3/OrTabs.vue +1 -1
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +36 -14
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useControlAttributes.ts +19 -0
- package/src/hooks/useIdAttribute.ts +9 -0
- package/src/hooks/useValidationAttributes.ts +25 -0
|
@@ -2,17 +2,29 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { InputSize, InputType } from './props';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
6
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
7
7
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
|
-
|
|
8
|
+
controlAttributes: {
|
|
9
|
+
required: boolean | undefined;
|
|
10
|
+
minlength: number | undefined;
|
|
11
|
+
maxlength: number | undefined;
|
|
12
|
+
pattern: string | undefined;
|
|
13
|
+
min: number | undefined;
|
|
14
|
+
max: number | undefined;
|
|
15
|
+
step: number | undefined;
|
|
16
|
+
readonly: boolean | undefined;
|
|
17
|
+
disabled: boolean | undefined;
|
|
18
|
+
'force-state': string | undefined;
|
|
19
|
+
id: string | undefined;
|
|
20
|
+
};
|
|
9
21
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
10
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
11
|
-
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
12
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
13
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
14
25
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
15
26
|
focus: () => void;
|
|
27
|
+
blur: () => void;
|
|
16
28
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
17
29
|
modelValue: {
|
|
18
30
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -50,6 +62,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
50
62
|
type: BooleanConstructor;
|
|
51
63
|
default: boolean;
|
|
52
64
|
};
|
|
65
|
+
readonly: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
53
69
|
disabled: {
|
|
54
70
|
type: BooleanConstructor;
|
|
55
71
|
default: boolean;
|
|
@@ -95,6 +111,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
95
111
|
type: BooleanConstructor;
|
|
96
112
|
default: boolean;
|
|
97
113
|
};
|
|
114
|
+
readonly: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
98
118
|
disabled: {
|
|
99
119
|
type: BooleanConstructor;
|
|
100
120
|
default: boolean;
|
|
@@ -113,23 +133,36 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
113
133
|
hint: string;
|
|
114
134
|
error: string;
|
|
115
135
|
required: boolean;
|
|
136
|
+
readonly: boolean;
|
|
116
137
|
disabled: boolean;
|
|
117
138
|
disableDefaultStyles: boolean;
|
|
118
139
|
} & {} & {
|
|
119
140
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
120
141
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
121
142
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
122
|
-
|
|
143
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
123
144
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
124
145
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
125
|
-
|
|
146
|
+
controlAttributes: {
|
|
147
|
+
required: boolean | undefined;
|
|
148
|
+
minlength: number | undefined;
|
|
149
|
+
maxlength: number | undefined;
|
|
150
|
+
pattern: string | undefined;
|
|
151
|
+
min: number | undefined;
|
|
152
|
+
max: number | undefined;
|
|
153
|
+
step: number | undefined;
|
|
154
|
+
readonly: boolean | undefined;
|
|
155
|
+
disabled: boolean | undefined;
|
|
156
|
+
'force-state': string | undefined;
|
|
157
|
+
id: string | undefined;
|
|
158
|
+
};
|
|
126
159
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
127
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
128
|
-
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
129
160
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
130
161
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
162
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
131
163
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
132
164
|
focus: () => void;
|
|
165
|
+
blur: () => void;
|
|
133
166
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
134
167
|
modelValue: string | number;
|
|
135
168
|
value: string | number;
|
|
@@ -140,6 +173,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
140
173
|
hint: string;
|
|
141
174
|
error: string;
|
|
142
175
|
required: boolean;
|
|
176
|
+
readonly: boolean;
|
|
143
177
|
disabled: boolean;
|
|
144
178
|
disableDefaultStyles: boolean;
|
|
145
179
|
} & {} & {
|
|
@@ -154,6 +188,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
154
188
|
hint: string;
|
|
155
189
|
error: string;
|
|
156
190
|
required: boolean;
|
|
191
|
+
readonly: boolean;
|
|
157
192
|
disabled: boolean;
|
|
158
193
|
disableDefaultStyles: boolean;
|
|
159
194
|
}, true>);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-e07ec00c.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
|
+
import '../../useIdAttribute-859439f0.js';
|
|
5
6
|
import '@vueuse/core';
|
|
7
|
+
import '../../useValidationAttributes-d1abbe34.js';
|
|
6
8
|
import '../../OrError-ec8c709d.js';
|
|
7
9
|
import 'vue';
|
|
8
10
|
import '../../OrHint-74bb732d.js';
|
|
@@ -2,10 +2,18 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { LabelVariant } from '../or-label-v3';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
5
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
7
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
-
|
|
8
|
+
controlAttributes: {
|
|
9
|
+
readonly: boolean | undefined;
|
|
10
|
+
disabled: boolean | undefined;
|
|
11
|
+
'force-state': string | undefined;
|
|
12
|
+
id: string | undefined;
|
|
13
|
+
};
|
|
8
14
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
15
|
+
focus: () => void;
|
|
16
|
+
blur: () => void;
|
|
9
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
10
18
|
modelValue: {
|
|
11
19
|
type: StringConstructor;
|
|
@@ -76,10 +84,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
76
84
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
77
85
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
78
86
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
87
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
79
88
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
80
89
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
81
|
-
|
|
90
|
+
controlAttributes: {
|
|
91
|
+
readonly: boolean | undefined;
|
|
92
|
+
disabled: boolean | undefined;
|
|
93
|
+
'force-state': string | undefined;
|
|
94
|
+
id: string | undefined;
|
|
95
|
+
};
|
|
82
96
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
97
|
+
focus: () => void;
|
|
98
|
+
blur: () => void;
|
|
83
99
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
84
100
|
modelValue: string;
|
|
85
101
|
value: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { s as OrRadioV3 } from '../../OrRadio-
|
|
1
|
+
export { s as OrRadioV3 } from '../../OrRadio-39d1905d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
|
+
import '../../useIdAttribute-859439f0.js';
|
|
4
5
|
import '@vueuse/core';
|
|
5
6
|
import '../../OrLabel-bdaec602.js';
|
|
6
7
|
import 'vue';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-a60f67f0.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../OrInput-
|
|
6
|
+
import '../../OrInput-e07ec00c.js';
|
|
7
|
+
import '../../useIdAttribute-859439f0.js';
|
|
8
|
+
import '../../useValidationAttributes-d1abbe34.js';
|
|
7
9
|
import '../../OrError-ec8c709d.js';
|
|
8
10
|
import 'vue';
|
|
9
11
|
import '../../OrHint-74bb732d.js';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-2c70e384.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
6
|
import '../../useOverflow-af6161c8.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
|
-
import '../../OrCheckbox-
|
|
8
|
+
import '../../OrCheckbox-7144da06.js';
|
|
9
|
+
import '../../useIdAttribute-859439f0.js';
|
|
9
10
|
import '../../OrLabel-bdaec602.js';
|
|
10
11
|
import 'vue';
|
|
11
12
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -13,7 +14,8 @@ import '../../OrError-ec8c709d.js';
|
|
|
13
14
|
import '../../OrExpansionPanel-f8d7ff8d.js';
|
|
14
15
|
import '../../OrIcon-b195169c.js';
|
|
15
16
|
import '../../OrHint-74bb732d.js';
|
|
16
|
-
import '../../OrInput-
|
|
17
|
+
import '../../OrInput-e07ec00c.js';
|
|
18
|
+
import '../../useValidationAttributes-d1abbe34.js';
|
|
17
19
|
import '../../OrIconButton-1a89fbf9.js';
|
|
18
20
|
import '../../OrTooltip-50d27b4f.js';
|
|
19
21
|
import '../../OrPopover-1075dd38.js';
|
|
@@ -2,11 +2,19 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { LabelVariant } from '../or-label-v3';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
5
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
7
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
8
|
loaderStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
|
-
|
|
9
|
+
controlAttributes: {
|
|
10
|
+
readonly: boolean | undefined;
|
|
11
|
+
disabled: boolean | undefined;
|
|
12
|
+
'force-state': string | undefined;
|
|
13
|
+
id: string | undefined;
|
|
14
|
+
};
|
|
9
15
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
16
|
+
focus: () => void;
|
|
17
|
+
blur: () => void;
|
|
10
18
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
11
19
|
modelValue: {
|
|
12
20
|
type: PropType<boolean | string[]>;
|
|
@@ -86,11 +94,19 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
86
94
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
87
95
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
88
96
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
97
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
89
98
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
90
99
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
91
100
|
loaderStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
92
|
-
|
|
101
|
+
controlAttributes: {
|
|
102
|
+
readonly: boolean | undefined;
|
|
103
|
+
disabled: boolean | undefined;
|
|
104
|
+
'force-state': string | undefined;
|
|
105
|
+
id: string | undefined;
|
|
106
|
+
};
|
|
93
107
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
108
|
+
focus: () => void;
|
|
109
|
+
blur: () => void;
|
|
94
110
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
95
111
|
modelValue: boolean | string[];
|
|
96
112
|
value: boolean | string[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { s as OrSwitchV3 } from '../../OrSwitch-
|
|
1
|
+
export { s as OrSwitchV3 } from '../../OrSwitch-3e9a699d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
|
+
import '../../useIdAttribute-859439f0.js';
|
|
4
5
|
import '@vueuse/core';
|
|
5
6
|
import '../../OrLabel-bdaec602.js';
|
|
6
7
|
import 'vue';
|
|
@@ -2,14 +2,28 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { TextareaSize } from './props';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
5
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
7
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
-
|
|
8
|
+
controlAttributes: {
|
|
9
|
+
required: boolean | undefined;
|
|
10
|
+
minlength: number | undefined;
|
|
11
|
+
maxlength: number | undefined;
|
|
12
|
+
pattern: string | undefined;
|
|
13
|
+
min: number | undefined;
|
|
14
|
+
max: number | undefined;
|
|
15
|
+
step: number | undefined;
|
|
16
|
+
readonly: boolean | undefined;
|
|
17
|
+
disabled: boolean | undefined;
|
|
18
|
+
'force-state': string | undefined;
|
|
19
|
+
id: string | undefined;
|
|
20
|
+
};
|
|
8
21
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
9
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
10
|
-
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
11
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
12
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
25
|
+
focus: () => void;
|
|
26
|
+
blur: () => void;
|
|
13
27
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
14
28
|
modelValue: {
|
|
15
29
|
type: StringConstructor;
|
|
@@ -43,6 +57,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
43
57
|
type: BooleanConstructor;
|
|
44
58
|
default: boolean;
|
|
45
59
|
};
|
|
60
|
+
readonly: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
46
64
|
disabled: {
|
|
47
65
|
type: BooleanConstructor;
|
|
48
66
|
default: boolean;
|
|
@@ -80,6 +98,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
80
98
|
type: BooleanConstructor;
|
|
81
99
|
default: boolean;
|
|
82
100
|
};
|
|
101
|
+
readonly: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
83
105
|
disabled: {
|
|
84
106
|
type: BooleanConstructor;
|
|
85
107
|
default: boolean;
|
|
@@ -93,19 +115,34 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
93
115
|
hint: string;
|
|
94
116
|
error: string;
|
|
95
117
|
required: boolean;
|
|
118
|
+
readonly: boolean;
|
|
96
119
|
disabled: boolean;
|
|
97
120
|
} & {} & {
|
|
98
121
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
99
122
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
100
123
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
124
|
+
control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
101
125
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
102
126
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
103
|
-
|
|
127
|
+
controlAttributes: {
|
|
128
|
+
required: boolean | undefined;
|
|
129
|
+
minlength: number | undefined;
|
|
130
|
+
maxlength: number | undefined;
|
|
131
|
+
pattern: string | undefined;
|
|
132
|
+
min: number | undefined;
|
|
133
|
+
max: number | undefined;
|
|
134
|
+
step: number | undefined;
|
|
135
|
+
readonly: boolean | undefined;
|
|
136
|
+
disabled: boolean | undefined;
|
|
137
|
+
'force-state': string | undefined;
|
|
138
|
+
id: string | undefined;
|
|
139
|
+
};
|
|
104
140
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
105
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
106
|
-
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
107
141
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
108
142
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
143
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
144
|
+
focus: () => void;
|
|
145
|
+
blur: () => void;
|
|
109
146
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
110
147
|
modelValue: string;
|
|
111
148
|
value: string;
|
|
@@ -115,6 +152,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
115
152
|
hint: string;
|
|
116
153
|
error: string;
|
|
117
154
|
required: boolean;
|
|
155
|
+
readonly: boolean;
|
|
118
156
|
disabled: boolean;
|
|
119
157
|
} & {} & {
|
|
120
158
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
@@ -127,6 +165,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
127
165
|
hint: string;
|
|
128
166
|
error: string;
|
|
129
167
|
required: boolean;
|
|
168
|
+
readonly: boolean;
|
|
130
169
|
disabled: boolean;
|
|
131
170
|
}, true>);
|
|
132
171
|
export default _default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export { s as OrTextareaV3 } from '../../OrTextarea-
|
|
1
|
+
export { s as OrTextareaV3 } from '../../OrTextarea-fd6b9f31.js';
|
|
2
2
|
export { a as TextareaSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
|
+
import '../../useIdAttribute-859439f0.js';
|
|
5
6
|
import '@vueuse/core';
|
|
7
|
+
import '../../useValidationAttributes-d1abbe34.js';
|
|
6
8
|
import '../../OrError-ec8c709d.js';
|
|
7
9
|
import 'vue';
|
|
8
10
|
import '../../OrHint-74bb732d.js';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { useClassAttribute } from './useClassAttribute';
|
|
2
|
+
export { useControlAttributes } from './useControlAttributes';
|
|
2
3
|
export { useElevation } from './useElevation';
|
|
4
|
+
export { useIdAttribute } from './useIdAttribute';
|
|
3
5
|
export { useOverflow } from './useOverflow';
|
|
4
6
|
export { useResponsive } from './useResponsive';
|
|
5
7
|
export { default as useToggle } from './useToggle';
|
|
8
|
+
export { useValidationAttributes } from './useValidationAttributes';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export { u as useClassAttribute } from '../useClassAttribute-47fdb016.js';
|
|
2
|
+
export { u as useControlAttributes, a as useIdAttribute } from '../useIdAttribute-859439f0.js';
|
|
2
3
|
export { u as useElevation } from '../useElevation-31bfe1f6.js';
|
|
3
4
|
export { u as useOverflow } from '../useOverflow-af6161c8.js';
|
|
4
5
|
export { u as useResponsive } from '../useResponsive-a02e95b7.js';
|
|
5
6
|
export { u as useToggle } from '../useToggle-29e4d7c7.js';
|
|
7
|
+
export { u as useValidationAttributes } from '../useValidationAttributes-d1abbe34.js';
|
|
6
8
|
import 'vue-demi';
|
|
7
9
|
import '@vueuse/core';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue-demi';
|
|
2
|
+
interface ControlAttributes {
|
|
3
|
+
readonly: ComputedRef<boolean | undefined>;
|
|
4
|
+
disabled: ComputedRef<boolean | undefined>;
|
|
5
|
+
'force-state': ComputedRef<string | undefined>;
|
|
6
|
+
}
|
|
7
|
+
export declare function useControlAttributes(): ControlAttributes;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue-demi';
|
|
2
|
+
interface ValidationAttributes {
|
|
3
|
+
required: ComputedRef<boolean | undefined>;
|
|
4
|
+
minlength: ComputedRef<number | undefined>;
|
|
5
|
+
maxlength: ComputedRef<number | undefined>;
|
|
6
|
+
pattern: ComputedRef<string | undefined>;
|
|
7
|
+
min: ComputedRef<number | undefined>;
|
|
8
|
+
max: ComputedRef<number | undefined>;
|
|
9
|
+
step: ComputedRef<number | undefined>;
|
|
10
|
+
}
|
|
11
|
+
export declare function useValidationAttributes(): ValidationAttributes;
|
|
12
|
+
export {};
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -6,17 +6,17 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-0fa67a0d.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-110b3a0b.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
13
|
-
export { s as OrCheckboxV3 } from './OrCheckbox-
|
|
13
|
+
export { s as OrCheckboxV3 } from './OrCheckbox-7144da06.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from './OrChips-9afba42f.js';
|
|
15
15
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
export { s 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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-1a38ed1b.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from './OrErrorTag-98252eef.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-1a89fbf9.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-b195169c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-8049f95a.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-a6b19dbe.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-9eb60363.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-6d1b6059.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-e07ec00c.js';
|
|
39
39
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-bdaec602.js';
|
|
@@ -54,16 +54,16 @@ export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotificatio
|
|
|
54
54
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
55
55
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
56
56
|
export { s as OrOverlayV3 } from './OrOverlay-738a44d5.js';
|
|
57
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
57
|
+
export { s as OrPaginationV3 } from './OrPagination-5e01a0a5.js';
|
|
58
58
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
59
59
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-407002e0.js';
|
|
60
60
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
61
61
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
62
|
-
export { s as OrRadioV3 } from './OrRadio-
|
|
63
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
62
|
+
export { s as OrRadioV3 } from './OrRadio-39d1905d.js';
|
|
63
|
+
export { s as OrSearchV3 } from './OrSearch-a60f67f0.js';
|
|
64
64
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
|
|
65
65
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
66
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
66
|
+
export { s as OrSelectV3 } from './OrSelect-2c70e384.js';
|
|
67
67
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
68
68
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
69
69
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -72,18 +72,18 @@ export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
|
72
72
|
export { s as OrSortHeaderV3 } from './OrSortHeader-fe1a9cf8.js';
|
|
73
73
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
74
74
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
75
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
75
|
+
export { s as OrSwitchV3 } from './OrSwitch-3e9a699d.js';
|
|
76
76
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
77
77
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
78
78
|
export { s as OrTabV3 } from './OrTab-c131cf60.js';
|
|
79
79
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
80
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
80
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-91618aab.js';
|
|
81
81
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
82
82
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-efa7578f.js';
|
|
83
83
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
84
84
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
85
85
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
86
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
86
|
+
export { s as OrTextareaV3 } from './OrTextarea-fd6b9f31.js';
|
|
87
87
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
88
88
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
89
89
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
@@ -93,10 +93,12 @@ export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
|
93
93
|
export { s as OrTooltipV3 } from './OrTooltip-50d27b4f.js';
|
|
94
94
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
95
95
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
96
|
+
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
96
97
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
97
98
|
export { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
98
99
|
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
99
100
|
export { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
101
|
+
export { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
100
102
|
import { R as RX_ABBREVIATION_FROM_STRING } from './color-1f348774.js';
|
|
101
103
|
import 'vue-demi';
|
|
102
104
|
import 'lodash';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useAttrs, computed, getCurrentInstance } from 'vue-demi';
|
|
2
|
+
|
|
3
|
+
function useControlAttributes() {
|
|
4
|
+
const attributes = useAttrs();
|
|
5
|
+
return {
|
|
6
|
+
readonly: computed(() => attributes['readonly']),
|
|
7
|
+
disabled: computed(() => attributes['disabled']),
|
|
8
|
+
'force-state': computed(() => attributes['force-state'])
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function useIdAttribute() {
|
|
13
|
+
const attributes = useAttrs(),
|
|
14
|
+
component = getCurrentInstance();
|
|
15
|
+
return computed(() => {
|
|
16
|
+
var _a;
|
|
17
|
+
return (_a = attributes['id']) !== null && _a !== void 0 ? _a : component === null || component === void 0 ? void 0 : component.uid.toString();
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { useIdAttribute as a, useControlAttributes as u };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useAttrs, computed } from 'vue-demi';
|
|
2
|
+
|
|
3
|
+
function useValidationAttributes() {
|
|
4
|
+
const attributes = useAttrs();
|
|
5
|
+
return {
|
|
6
|
+
required: computed(() => attributes['required']),
|
|
7
|
+
minlength: computed(() => attributes['minlength']),
|
|
8
|
+
maxlength: computed(() => attributes['maxlength']),
|
|
9
|
+
pattern: computed(() => attributes['pattern']),
|
|
10
|
+
min: computed(() => attributes['min']),
|
|
11
|
+
max: computed(() => attributes['max']),
|
|
12
|
+
step: computed(() => attributes['step'])
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { useValidationAttributes as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.70.
|
|
3
|
+
"version": "2.70.2-beta.2199.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -124,6 +124,5 @@
|
|
|
124
124
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
125
125
|
},
|
|
126
126
|
"./package.json": "./package.json"
|
|
127
|
-
}
|
|
128
|
-
"gitHead": "17e59ffe62767284f97f34422c6b40b43d97a309"
|
|
127
|
+
}
|
|
129
128
|
}
|