@onereach/ui-components 2.75.2-beta.2393.0 → 2.75.2-beta.2399.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-04e767c2.js → OrCardCollection-e3986f07.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-a76ff6d2.js → OrConfirm-498fa802.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-9304f205.js → OrInlineInput-5f0b99f9.js} +25 -11
- package/dist/bundled/v2/{OrInlineTextarea-e0d28fc6.js → OrInlineTextarea-975b8706.js} +25 -11
- package/dist/bundled/v2/{OrInput-b8511a0c.js → OrInput-822eb9f5.js} +27 -12
- package/dist/bundled/v2/{OrInputBox-e54dcef9.js → OrInputBox-9a31d211.js} +2 -12
- package/dist/bundled/v2/{OrSearch-60b64568.js → OrSearch-f9d46a70.js} +2 -2
- package/dist/bundled/v2/{OrSelect-752bdd3b.js → OrSelect-0c0c01d4.js} +27 -10
- package/dist/bundled/v2/{OrTextarea-5fdf63d0.js → OrTextarea-c56f19db.js} +27 -12
- package/dist/bundled/v2/components/index.js +10 -9
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +162 -0
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/index.js +11 -10
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js → OrCardCollection.vue_vue_type_script_lang-f2fdaa33.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-b550c3d3.js → OrConfirm.vue_vue_type_script_lang-2bb4e530.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js → OrInlineInput.vue_vue_type_script_lang-18853dd7.js} +3 -5
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js → OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js} +3 -5
- package/dist/bundled/v3/{OrInput-6d49f353.js → OrInput-13a84d53.js} +12 -9
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-af68d0e7.js → OrInput.vue_vue_type_script_lang-09a6138d.js} +6 -7
- package/dist/bundled/v3/{OrInputBox-358d4856.js → OrInputBox-44f37541.js} +1 -1
- package/dist/{esm/v2/OrInputBox-53d1f66d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js} +3 -53
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-8c37e5a7.js → OrSearch.vue_vue_type_script_lang-9028a3c5.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-35ac0247.js → OrSelect.vue_vue_type_script_lang-30c61027.js} +9 -8
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-de99a858.js → OrTextarea.vue_vue_type_script_lang-b2899ba6.js} +6 -7
- package/dist/bundled/v3/components/index.js +12 -11
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +7 -6
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +131 -0
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-input-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/index.js +140 -129
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/esm/v2/{OrCardCollection-f7856175.js → OrCardCollection-59455d23.js} +2 -2
- package/dist/esm/v2/{OrConfirm-98d62065.js → OrConfirm-b31e3d3d.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-df02ab5d.js → OrInlineInput-36d79e50.js} +25 -11
- package/dist/esm/v2/{OrInlineTextarea-ad120656.js → OrInlineTextarea-e2d61e44.js} +25 -11
- package/dist/esm/v2/{OrInput-3bb91436.js → OrInput-06003aad.js} +27 -12
- package/dist/esm/v2/OrInputBox-5c4b3104.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js} +1 -1
- package/dist/esm/v2/{OrSearch-dad9b02f.js → OrSearch-44645202.js} +2 -2
- package/dist/esm/v2/{OrSelect-7ef80130.js → OrSelect-a51044ed.js} +27 -10
- package/dist/esm/v2/{OrTextarea-0a64f718.js → OrTextarea-5fa93c9a.js} +27 -12
- package/dist/esm/v2/components/index.js +10 -9
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.js +159 -0
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -3
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +3 -2
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-input-v3/index.js +3 -2
- package/dist/esm/v2/components/or-search-v3/index.js +4 -3
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-select-v3/index.js +4 -3
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/index.js +10 -9
- package/dist/esm/v3/{OrCardCollection-4cb41408.js → OrCardCollection-5c0d53e0.js} +1 -1
- package/dist/esm/v3/{OrConfirm-19da64d1.js → OrConfirm-c7304c10.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-cd3753ee.js → OrInlineInput-651c9155.js} +14 -14
- package/dist/esm/v3/{OrInlineTextarea-4c5b0390.js → OrInlineTextarea-d16af66a.js} +14 -14
- package/dist/esm/v3/{OrInput-ae9f6871.js → OrInput-b3939d15.js} +14 -13
- package/dist/esm/v3/{OrSearch-6f6b4fcd.js → OrSearch-d16d0331.js} +1 -1
- package/dist/esm/v3/{OrSelect-96bf9b63.js → OrSelect-19c2e7d2.js} +16 -13
- package/dist/esm/v3/{OrTextarea-42d21f77.js → OrTextarea-dfc6a453.js} +14 -13
- package/dist/esm/v3/components/index.js +8 -8
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.js +130 -0
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +8 -8
- package/package.json +2 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +201 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +133 -0
- package/src/components/or-combined-input-v3/index.ts +2 -0
- package/src/components/or-combined-input-v3/props.ts +1 -0
- package/src/components/or-combined-input-v3/styles.ts +25 -0
- package/src/components/or-inline-input-v3/OrInlineInput.vue +12 -9
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +12 -9
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +12 -9
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +12 -8
- package/src/components/or-select-v3/styles.ts +4 -1
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +1 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +12 -9
- package/src/components/or-textarea-v3/styles.ts +2 -2
|
@@ -24,7 +24,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
24
24
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
25
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
26
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
27
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
27
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
29
28
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
30
29
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -73,7 +72,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
73
72
|
default: undefined;
|
|
74
73
|
};
|
|
75
74
|
error: {
|
|
76
|
-
type: StringConstructor;
|
|
75
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
77
76
|
default: undefined;
|
|
78
77
|
};
|
|
79
78
|
required: {
|
|
@@ -138,7 +137,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
138
137
|
default: undefined;
|
|
139
138
|
};
|
|
140
139
|
error: {
|
|
141
|
-
type: StringConstructor;
|
|
140
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
142
141
|
default: undefined;
|
|
143
142
|
};
|
|
144
143
|
required: {
|
|
@@ -178,7 +177,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
178
177
|
size: SelectSize;
|
|
179
178
|
placeholder: string;
|
|
180
179
|
hint: string;
|
|
181
|
-
error: string;
|
|
180
|
+
error: string | boolean;
|
|
182
181
|
required: boolean;
|
|
183
182
|
disabled: boolean;
|
|
184
183
|
disableDefaultStyles: boolean;
|
|
@@ -211,7 +210,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
211
210
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
212
211
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
213
212
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
214
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
215
213
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
216
214
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
217
215
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -235,7 +233,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
235
233
|
size: SelectSize;
|
|
236
234
|
placeholder: string;
|
|
237
235
|
hint: string;
|
|
238
|
-
error: string;
|
|
236
|
+
error: string | boolean;
|
|
239
237
|
required: boolean;
|
|
240
238
|
disabled: boolean;
|
|
241
239
|
disableDefaultStyles: boolean;
|
|
@@ -254,7 +252,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
254
252
|
size: SelectSize;
|
|
255
253
|
placeholder: string;
|
|
256
254
|
hint: string;
|
|
257
|
-
error: string;
|
|
255
|
+
error: string | boolean;
|
|
258
256
|
required: boolean;
|
|
259
257
|
disabled: boolean;
|
|
260
258
|
disableDefaultStyles: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
2
|
-
export { a as SelectSize } from '../../OrInputBox-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-a51044ed.js';
|
|
2
|
+
export { a as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useOverflow-af6161c8.js';
|
|
@@ -13,7 +13,8 @@ import '../../OrError-13845bb0.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-0a12d957.js';
|
|
14
14
|
import '../../OrIcon-c434985a.js';
|
|
15
15
|
import '../../OrHint-78b399cb.js';
|
|
16
|
-
import '../../
|
|
16
|
+
import '../../OrInputBox-5c4b3104.js';
|
|
17
|
+
import '../../OrInput-06003aad.js';
|
|
17
18
|
import '../../useResponsive-a02e95b7.js';
|
|
18
19
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
19
20
|
import '../../OrIconButton-fa9bff07.js';
|
|
@@ -21,7 +21,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
21
21
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
22
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
23
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
25
24
|
focus: () => void;
|
|
26
25
|
blur: () => void;
|
|
27
26
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -46,7 +45,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
46
45
|
default: undefined;
|
|
47
46
|
};
|
|
48
47
|
error: {
|
|
49
|
-
type: StringConstructor;
|
|
48
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
50
49
|
default: undefined;
|
|
51
50
|
};
|
|
52
51
|
required: {
|
|
@@ -83,7 +82,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
83
82
|
default: undefined;
|
|
84
83
|
};
|
|
85
84
|
error: {
|
|
86
|
-
type: StringConstructor;
|
|
85
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
87
86
|
default: undefined;
|
|
88
87
|
};
|
|
89
88
|
required: {
|
|
@@ -104,7 +103,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
104
103
|
label: string;
|
|
105
104
|
placeholder: string;
|
|
106
105
|
hint: string;
|
|
107
|
-
error: string;
|
|
106
|
+
error: string | boolean;
|
|
108
107
|
required: boolean;
|
|
109
108
|
readonly: boolean;
|
|
110
109
|
disabled: boolean;
|
|
@@ -131,7 +130,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
131
130
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
132
131
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
133
132
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
134
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
135
133
|
focus: () => void;
|
|
136
134
|
blur: () => void;
|
|
137
135
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -140,7 +138,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
140
138
|
label: string;
|
|
141
139
|
placeholder: string;
|
|
142
140
|
hint: string;
|
|
143
|
-
error: string;
|
|
141
|
+
error: string | boolean;
|
|
144
142
|
required: boolean;
|
|
145
143
|
readonly: boolean;
|
|
146
144
|
disabled: boolean;
|
|
@@ -152,7 +150,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
152
150
|
label: string;
|
|
153
151
|
placeholder: string;
|
|
154
152
|
hint: string;
|
|
155
|
-
error: string;
|
|
153
|
+
error: string | boolean;
|
|
156
154
|
required: boolean;
|
|
157
155
|
readonly: boolean;
|
|
158
156
|
disabled: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { _ as OrTextareaV3 } from '../../OrTextarea-
|
|
2
|
-
export { a as TextareaSize } from '../../OrInputBox-
|
|
1
|
+
export { _ as OrTextareaV3 } from '../../OrTextarea-5fa93c9a.js';
|
|
2
|
+
export { a as TextareaSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -7,5 +7,6 @@ import '../../useValidationAttributes-d1abbe34.js';
|
|
|
7
7
|
import '../../OrError-13845bb0.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
9
|
import '../../OrHint-78b399cb.js';
|
|
10
|
+
import '../../OrInputBox-5c4b3104.js';
|
|
10
11
|
import '../../OrLabel-0945a4d9.js';
|
|
11
12
|
import '../../style-inject.es-4c6f2515.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-c5ec96e7.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-050fb8d2.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-59455d23.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-e89c44ef.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-d20717ec.js';
|
|
14
14
|
export { _ as OrCheckbox } from './OrCheckbox-63d444f1.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-930709c5.js';
|
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-50e3914c.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-fa92b4fa.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-f7c58a78.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-b31e3d3d.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-4059980e.js';
|
|
24
24
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from './OrErrorTag-7cd5dc68.js';
|
|
@@ -34,11 +34,12 @@ export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-dd72b5
|
|
|
34
34
|
export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-fa9bff07.js';
|
|
35
35
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, _ as OrIconV3 } from './OrIcon-c434985a.js';
|
|
36
36
|
export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-46146af0.js';
|
|
37
|
-
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-
|
|
37
|
+
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-36d79e50.js';
|
|
38
38
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b914488a.js';
|
|
39
|
-
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
40
|
-
export {
|
|
41
|
-
export { I as
|
|
39
|
+
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-e2d61e44.js';
|
|
40
|
+
export { _ as OrInputBoxV3 } from './OrInputBox-5c4b3104.js';
|
|
41
|
+
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
|
|
42
|
+
export { I as InputType, _ as OrInputV3 } from './OrInput-06003aad.js';
|
|
42
43
|
export { _ as OrInput } from './OrInput-c005a759.js';
|
|
43
44
|
export { _ as OrLabel } from './OrLabel-931394a5.js';
|
|
44
45
|
export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-0945a4d9.js';
|
|
@@ -66,10 +67,10 @@ export { _ as OrRadio } from './OrRadio-514e8de8.js';
|
|
|
66
67
|
export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
67
68
|
export { _ as OrRadioV3 } from './OrRadio-06a54f1e.js';
|
|
68
69
|
export { _ as OrSearch } from './OrSearch-1d7880eb.js';
|
|
69
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
70
|
+
export { _ as OrSearchV3 } from './OrSearch-44645202.js';
|
|
70
71
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-7486115b.js';
|
|
71
72
|
export { _ as OrSelect } from './OrSelect-03e79c4b.js';
|
|
72
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
73
|
+
export { _ as OrSelectV3 } from './OrSelect-a51044ed.js';
|
|
73
74
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
|
74
75
|
export { _ as OrSidebarV3 } from './OrSidebar-89711112.js';
|
|
75
76
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-81c77db0.js';
|
|
@@ -91,7 +92,7 @@ export { _ as OrTeleport } from './OrTeleport.vue2-f0c16c71.js';
|
|
|
91
92
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
|
|
92
93
|
export { _ as OrTextV3 } from './OrText-91d662a0.js';
|
|
93
94
|
export { _ as OrTextarea } from './OrTextarea-724a4d6f.js';
|
|
94
|
-
export { _ as OrTextareaV3 } from './OrTextarea-
|
|
95
|
+
export { _ as OrTextareaV3 } from './OrTextarea-5fa93c9a.js';
|
|
95
96
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-a2cc5280.js';
|
|
96
97
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-8566bc09.js';
|
|
97
98
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
@@ -5,7 +5,7 @@ import { s as script$6 } from './OrIcon-ea40e58c.js';
|
|
|
5
5
|
import { s as script$5 } from './OrMenuItem-de91aded.js';
|
|
6
6
|
import { s as script$4 } from './OrMenu-b4e8136c.js';
|
|
7
7
|
import './OrPopover-35ee1b1e.js';
|
|
8
|
-
import { s as script$7 } from './OrSearch-
|
|
8
|
+
import { s as script$7 } from './OrSearch-d16d0331.js';
|
|
9
9
|
import './OrInputBox-2467d7e4.js';
|
|
10
10
|
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
4
|
import { s as script$2, a as ButtonColor } from './OrButton-9f059df6.js';
|
|
5
|
-
import { s as script$3 } from './OrInput-
|
|
5
|
+
import { s as script$3 } from './OrInput-b3939d15.js';
|
|
6
6
|
import { s as script$1 } from './OrOverlay-55f6cf9c.js';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
8
8
|
|
|
@@ -6,7 +6,7 @@ import { s as script$1 } from './OrError-19198748.js';
|
|
|
6
6
|
import { s as script$2 } from './OrHint-6863124f.js';
|
|
7
7
|
import { s as script$3 } from './OrIconButton-385e997c.js';
|
|
8
8
|
import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox-09b33e18.js';
|
|
9
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode,
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
11
11
|
|
|
12
12
|
var InlineInputType;
|
|
@@ -21,8 +21,8 @@ const InlineInputRoot = [
|
|
|
21
21
|
// Spacing
|
|
22
22
|
'gap-xs'];
|
|
23
23
|
const InlineInputControl = [
|
|
24
|
-
//
|
|
25
|
-
'
|
|
24
|
+
// Box
|
|
25
|
+
'w-full',
|
|
26
26
|
// Typography
|
|
27
27
|
'typography-inherit',
|
|
28
28
|
// Theme
|
|
@@ -81,7 +81,7 @@ var script = defineComponent({
|
|
|
81
81
|
default: undefined
|
|
82
82
|
},
|
|
83
83
|
error: {
|
|
84
|
-
type: String,
|
|
84
|
+
type: [String, Boolean],
|
|
85
85
|
default: undefined
|
|
86
86
|
}
|
|
87
87
|
},
|
|
@@ -113,7 +113,6 @@ var script = defineComponent({
|
|
|
113
113
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
114
114
|
});
|
|
115
115
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
116
|
-
const invalid = computed(() => !!props.error);
|
|
117
116
|
const activated = ref(false);
|
|
118
117
|
// Handlers
|
|
119
118
|
function onFocus(event) {
|
|
@@ -165,7 +164,6 @@ var script = defineComponent({
|
|
|
165
164
|
draftModelValue,
|
|
166
165
|
currentLength,
|
|
167
166
|
maxLength,
|
|
168
|
-
invalid,
|
|
169
167
|
activated,
|
|
170
168
|
onFocus,
|
|
171
169
|
onBlur,
|
|
@@ -181,6 +179,12 @@ const _hoisted_1 = {
|
|
|
181
179
|
class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
|
|
182
180
|
};
|
|
183
181
|
const _hoisted_2 = ["type", "placeholder", "activated"];
|
|
182
|
+
const _hoisted_3 = {
|
|
183
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
184
|
+
};
|
|
185
|
+
const _hoisted_4 = {
|
|
186
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
187
|
+
};
|
|
184
188
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
185
189
|
const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
|
|
186
190
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
@@ -191,7 +195,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
195
|
class: normalizeClass(_ctx.rootStyles)
|
|
192
196
|
}, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
|
|
193
197
|
size: _ctx.size,
|
|
194
|
-
invalid: _ctx.
|
|
198
|
+
invalid: !!_ctx.error
|
|
195
199
|
}, {
|
|
196
200
|
default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
|
|
197
201
|
ref: "control",
|
|
@@ -218,9 +222,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
218
222
|
icon: 'close',
|
|
219
223
|
color: 'inherit',
|
|
220
224
|
onClick: withModifiers(_ctx.reset, ["stop"])
|
|
221
|
-
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]),
|
|
222
|
-
key: 0
|
|
223
|
-
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
225
|
+
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), withDirectives(createElementVNode("div", _hoisted_3, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
224
226
|
key: 0
|
|
225
227
|
}, createSlots({
|
|
226
228
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -231,9 +233,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
233
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
232
234
|
|
|
233
235
|
key: "0"
|
|
234
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)],
|
|
235
|
-
key: 1
|
|
236
|
-
}, createSlots({
|
|
236
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_4, [createVNode(_component_OrError, null, createSlots({
|
|
237
237
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
238
238
|
|
|
239
239
|
_: 2 /* DYNAMIC */
|
|
@@ -242,7 +242,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
242
242
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
243
243
|
|
|
244
244
|
key: "0"
|
|
245
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */))], 2 /* CLASS */);
|
|
245
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)], 512 /* NEED_PATCH */), [[vShow, typeof _ctx.error === 'string']])], 2 /* CLASS */);
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
var css_248z = "\ninput[data-v-29d9ad19] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-29d9ad19]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-29d9ad19]::-webkit-search-cancel-button {\n display: none;\n}\n";
|
|
@@ -6,7 +6,7 @@ import { s as script$1 } from './OrError-19198748.js';
|
|
|
6
6
|
import { s as script$2 } from './OrHint-6863124f.js';
|
|
7
7
|
import { s as script$3 } from './OrIconButton-385e997c.js';
|
|
8
8
|
import { s as script$4 } from './OrInlineInputBox-09b33e18.js';
|
|
9
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode,
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
11
11
|
|
|
12
12
|
const InlineTextareaRoot = [
|
|
@@ -15,8 +15,8 @@ const InlineTextareaRoot = [
|
|
|
15
15
|
// Spacing
|
|
16
16
|
'gap-xs'];
|
|
17
17
|
const InlineTextareaControl = [
|
|
18
|
-
//
|
|
19
|
-
'
|
|
18
|
+
// Box
|
|
19
|
+
'w-full',
|
|
20
20
|
// Typography
|
|
21
21
|
'typography-inherit',
|
|
22
22
|
// Theme
|
|
@@ -59,7 +59,7 @@ var script = defineComponent({
|
|
|
59
59
|
default: undefined
|
|
60
60
|
},
|
|
61
61
|
error: {
|
|
62
|
-
type: String,
|
|
62
|
+
type: [String, Boolean],
|
|
63
63
|
default: undefined
|
|
64
64
|
}
|
|
65
65
|
},
|
|
@@ -91,7 +91,6 @@ var script = defineComponent({
|
|
|
91
91
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
92
92
|
});
|
|
93
93
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
94
|
-
const invalid = computed(() => !!props.error);
|
|
95
94
|
const activated = ref(false);
|
|
96
95
|
// Handlers
|
|
97
96
|
function onFocus(event) {
|
|
@@ -143,7 +142,6 @@ var script = defineComponent({
|
|
|
143
142
|
draftModelValue,
|
|
144
143
|
currentLength,
|
|
145
144
|
maxLength,
|
|
146
|
-
invalid,
|
|
147
145
|
activated,
|
|
148
146
|
onFocus,
|
|
149
147
|
onBlur,
|
|
@@ -159,6 +157,12 @@ const _hoisted_1 = {
|
|
|
159
157
|
class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
|
|
160
158
|
};
|
|
161
159
|
const _hoisted_2 = ["placeholder", "activated"];
|
|
160
|
+
const _hoisted_3 = {
|
|
161
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
162
|
+
};
|
|
163
|
+
const _hoisted_4 = {
|
|
164
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
165
|
+
};
|
|
162
166
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
163
167
|
const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
|
|
164
168
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
@@ -169,7 +173,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
169
173
|
class: normalizeClass(_ctx.rootStyles)
|
|
170
174
|
}, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
|
|
171
175
|
size: 's',
|
|
172
|
-
invalid: _ctx.
|
|
176
|
+
invalid: !!_ctx.error
|
|
173
177
|
}, {
|
|
174
178
|
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
175
179
|
ref: "control",
|
|
@@ -195,9 +199,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195
199
|
icon: 'close',
|
|
196
200
|
color: 'inherit',
|
|
197
201
|
onClick: withModifiers(_ctx.reset, ["stop"])
|
|
198
|
-
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]),
|
|
199
|
-
key: 0
|
|
200
|
-
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
202
|
+
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), withDirectives(createElementVNode("div", _hoisted_3, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
201
203
|
key: 0
|
|
202
204
|
}, createSlots({
|
|
203
205
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -208,9 +210,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
208
210
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
209
211
|
|
|
210
212
|
key: "0"
|
|
211
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)],
|
|
212
|
-
key: 1
|
|
213
|
-
}, createSlots({
|
|
213
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_4, [createVNode(_component_OrError, null, createSlots({
|
|
214
214
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
215
215
|
|
|
216
216
|
_: 2 /* DYNAMIC */
|
|
@@ -219,7 +219,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
219
219
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
220
220
|
|
|
221
221
|
key: "0"
|
|
222
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */))], 2 /* CLASS */);
|
|
222
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)], 512 /* NEED_PATCH */), [[vShow, typeof _ctx.error === 'string']])], 2 /* CLASS */);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
var css_248z = "\ntextarea[data-v-3f016b22] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -10,7 +10,7 @@ import { s as script$3 } from './OrIcon-ea40e58c.js';
|
|
|
10
10
|
import { s as script$5, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
11
11
|
import { s as script$6 } from './OrLabel-f700f9fb.js';
|
|
12
12
|
import { s as script$7 } from './OrLoader-18f66bca.js';
|
|
13
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, Fragment, withModifiers, createSlots } from 'vue';
|
|
13
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, Fragment, withModifiers, createSlots, vShow } from 'vue';
|
|
14
14
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
15
15
|
|
|
16
16
|
var InputType;
|
|
@@ -27,8 +27,8 @@ const InputRoot = [
|
|
|
27
27
|
// Spacing
|
|
28
28
|
'gap-xs'];
|
|
29
29
|
const InputControl = [
|
|
30
|
-
//
|
|
31
|
-
'
|
|
30
|
+
// Box
|
|
31
|
+
'w-full',
|
|
32
32
|
// Typography
|
|
33
33
|
'typography-inherit',
|
|
34
34
|
// Theme
|
|
@@ -75,7 +75,7 @@ var script = defineComponent({
|
|
|
75
75
|
default: undefined
|
|
76
76
|
},
|
|
77
77
|
error: {
|
|
78
|
-
type: String,
|
|
78
|
+
type: [String, Boolean],
|
|
79
79
|
default: undefined
|
|
80
80
|
},
|
|
81
81
|
loading: {
|
|
@@ -129,7 +129,6 @@ var script = defineComponent({
|
|
|
129
129
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
130
130
|
});
|
|
131
131
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
132
|
-
const invalid = computed(() => !!props.error);
|
|
133
132
|
const disclosed = ref(false);
|
|
134
133
|
const {
|
|
135
134
|
isMobile
|
|
@@ -152,7 +151,6 @@ var script = defineComponent({
|
|
|
152
151
|
proxyModelValue,
|
|
153
152
|
currentLength,
|
|
154
153
|
maxLength,
|
|
155
|
-
invalid,
|
|
156
154
|
disclosed,
|
|
157
155
|
isMobile,
|
|
158
156
|
focus,
|
|
@@ -165,6 +163,12 @@ const _hoisted_1 = ["type", "placeholder", "required", "readonly", "disabled", "
|
|
|
165
163
|
const _hoisted_2 = {
|
|
166
164
|
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
167
165
|
};
|
|
166
|
+
const _hoisted_3 = {
|
|
167
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
168
|
+
};
|
|
169
|
+
const _hoisted_4 = {
|
|
170
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
171
|
+
};
|
|
168
172
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
169
173
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
170
174
|
const _component_OrLoader = resolveComponent("OrLoader");
|
|
@@ -190,7 +194,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
190
194
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
191
195
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
192
196
|
size: _ctx.size,
|
|
193
|
-
invalid: _ctx.
|
|
197
|
+
invalid: !!_ctx.error,
|
|
194
198
|
readonly: _ctx.readonly || _ctx.loading,
|
|
195
199
|
disabled: _ctx.disabled
|
|
196
200
|
}, {
|
|
@@ -240,9 +244,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
240
244
|
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
|
|
241
245
|
|
|
242
246
|
_: 1 /* STABLE */
|
|
243
|
-
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]),
|
|
244
|
-
key: 1
|
|
245
|
-
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
247
|
+
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), withDirectives(createElementVNode("div", _hoisted_3, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
246
248
|
key: 0,
|
|
247
249
|
disabled: _ctx.disabled
|
|
248
250
|
}, createSlots({
|
|
@@ -254,8 +256,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
256
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
255
257
|
|
|
256
258
|
key: "0"
|
|
257
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)],
|
|
258
|
-
key: 2,
|
|
259
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_4, [createVNode(_component_OrError, {
|
|
259
260
|
disabled: _ctx.disabled
|
|
260
261
|
}, createSlots({
|
|
261
262
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
@@ -266,7 +267,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
266
267
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
267
268
|
|
|
268
269
|
key: "0"
|
|
269
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
270
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])], 512 /* NEED_PATCH */), [[vShow, typeof _ctx.error === 'string']])], 2 /* CLASS */);
|
|
270
271
|
}
|
|
271
272
|
|
|
272
273
|
var css_248z = "\ninput[data-v-78975fa2] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-78975fa2]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-78975fa2]::-webkit-search-cancel-button {\n display: none;\n}\n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrInput-
|
|
3
|
+
import { s as script$1 } from './OrInput-b3939d15.js';
|
|
4
4
|
import { a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -8,12 +8,12 @@ import { s as script$3 } from './OrExpansionPanel-541cc4c1.js';
|
|
|
8
8
|
import { s as script$4 } from './OrHint-6863124f.js';
|
|
9
9
|
import { s as script$5 } from './OrIcon-ea40e58c.js';
|
|
10
10
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
11
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$6 } from './OrInput-b3939d15.js';
|
|
12
12
|
import { s as script$8 } from './OrLabel-f700f9fb.js';
|
|
13
13
|
import { s as script$9 } from './OrMenuItem-de91aded.js';
|
|
14
14
|
import { s as script$a } from './OrPopover-35ee1b1e.js';
|
|
15
15
|
import { s as script$b } from './OrTag-330457a7.js';
|
|
16
|
-
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers } from 'vue';
|
|
16
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers, vShow } from 'vue';
|
|
17
17
|
|
|
18
18
|
const SelectRoot = [
|
|
19
19
|
// Layout
|
|
@@ -22,7 +22,9 @@ const SelectRoot = [
|
|
|
22
22
|
'gap-xs'];
|
|
23
23
|
const SelectControl = [
|
|
24
24
|
// Layout
|
|
25
|
-
'layout-row
|
|
25
|
+
'layout-row',
|
|
26
|
+
// Box
|
|
27
|
+
'w-full',
|
|
26
28
|
// Overflow
|
|
27
29
|
'overflow-hidden',
|
|
28
30
|
// Spacing
|
|
@@ -112,7 +114,7 @@ var script = defineComponent({
|
|
|
112
114
|
default: undefined
|
|
113
115
|
},
|
|
114
116
|
error: {
|
|
115
|
-
type: String,
|
|
117
|
+
type: [String, Boolean],
|
|
116
118
|
default: undefined
|
|
117
119
|
},
|
|
118
120
|
required: {
|
|
@@ -189,7 +191,6 @@ var script = defineComponent({
|
|
|
189
191
|
proxyModelValue.value = [];
|
|
190
192
|
}
|
|
191
193
|
});
|
|
192
|
-
const invalid = computed(() => !!props.error);
|
|
193
194
|
const readonly = computed(() => context.attrs.readonly);
|
|
194
195
|
const selection = computed(() => {
|
|
195
196
|
const modelValue = proxyModelValue.value;
|
|
@@ -270,7 +271,6 @@ var script = defineComponent({
|
|
|
270
271
|
noSearchResultsStyles,
|
|
271
272
|
controlId,
|
|
272
273
|
proxyModelValue,
|
|
273
|
-
invalid,
|
|
274
274
|
readonly,
|
|
275
275
|
selection,
|
|
276
276
|
searchText,
|
|
@@ -293,6 +293,12 @@ const _hoisted_2 = {
|
|
|
293
293
|
const _hoisted_3 = {
|
|
294
294
|
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
295
295
|
};
|
|
296
|
+
const _hoisted_4 = {
|
|
297
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
298
|
+
};
|
|
299
|
+
const _hoisted_5 = {
|
|
300
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
301
|
+
};
|
|
296
302
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
297
303
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
298
304
|
const _component_OrTag = resolveComponent("OrTag");
|
|
@@ -326,7 +332,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
326
332
|
class: normalizeClass([_ctx.popoverState === 'open' && 'rounded-b-0']),
|
|
327
333
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
328
334
|
size: _ctx.size,
|
|
329
|
-
invalid: _ctx.
|
|
335
|
+
invalid: !!_ctx.error,
|
|
330
336
|
readonly: _ctx.readonly,
|
|
331
337
|
disabled: _ctx.disabled
|
|
332
338
|
}, {
|
|
@@ -479,23 +485,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
479
485
|
_: 3 /* FORWARDED */
|
|
480
486
|
}, 8 /* PROPS */, ["class", "trigger"])]),
|
|
481
487
|
_: 3 /* FORWARDED */
|
|
482
|
-
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]),
|
|
483
|
-
key: 1
|
|
484
|
-
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
488
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div", _hoisted_4, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
485
489
|
key: 0,
|
|
486
490
|
disabled: _ctx.disabled
|
|
487
491
|
}, {
|
|
488
492
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
489
493
|
|
|
490
494
|
_: 1 /* STABLE */
|
|
491
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)],
|
|
492
|
-
key: 2,
|
|
495
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_5, [createVNode(_component_OrError, {
|
|
493
496
|
disabled: _ctx.disabled
|
|
494
497
|
}, {
|
|
495
498
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
496
499
|
|
|
497
500
|
_: 1 /* STABLE */
|
|
498
|
-
}, 8 /* PROPS */, ["disabled"]))], 2 /* CLASS */);
|
|
501
|
+
}, 8 /* PROPS */, ["disabled"])], 512 /* NEED_PATCH */), [[vShow, typeof _ctx.error === 'string']])], 2 /* CLASS */);
|
|
499
502
|
}
|
|
500
503
|
|
|
501
504
|
script.render = render;
|