@onereach/ui-components 2.74.13-beta.2364.0 → 2.74.13-beta.2365.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrButton-0242b4c0.js → OrButton-0a9470c0.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-04e767c2.js → OrCardCollection-638bc4a8.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-a76ff6d2.js → OrConfirm-f7ade1d1.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-9304f205.js → OrInlineInput-20e93482.js} +9 -11
- package/dist/bundled/v2/{OrInlineTextarea-e0d28fc6.js → OrInlineTextarea-e849ae9b.js} +9 -11
- package/dist/bundled/v2/{OrInput-b8511a0c.js → OrInput-15c2b072.js} +12 -13
- package/dist/bundled/v2/{OrInputBox-e54dcef9.js → OrInputBox-9a31d211.js} +2 -12
- package/dist/bundled/v2/{OrLoader-6bec8824.js → OrLoader-cf28bfa6.js} +2 -10
- package/dist/bundled/v2/{OrPagination-166592a5.js → OrPagination-95f37111.js} +1 -1
- package/dist/bundled/v2/{OrProgress-01123d1f.js → OrProgress-15fe65ec.js} +2 -6
- package/dist/bundled/v2/{OrSearch-60b64568.js → OrSearch-8df5d7fd.js} +2 -2
- package/dist/bundled/v2/{OrSelect-752bdd3b.js → OrSelect-3ac5eefe.js} +11 -10
- package/dist/bundled/v2/{OrSwitch-aa0da6b9.js → OrSwitch-34f79eb1.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-5fdf63d0.js → OrTextarea-53d756e4.js} +11 -12
- package/dist/bundled/v2/components/index.js +16 -15
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -6
- 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 +146 -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 +6 -5
- 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 +4 -3
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -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/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +17 -16
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v2/{types-e494517f.js → types-0e3ca5b9.js} +1 -1
- package/dist/bundled/v3/{OrButton-452d3149.js → OrButton-a5b98ee2.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-7d4f420c.js → OrButton.vue_vue_type_script_lang-e75f9a10.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js → OrCardCollection.vue_vue_type_script_lang-990fb52d.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-b550c3d3.js → OrConfirm.vue_vue_type_script_lang-8ac01851.js} +4 -4
- 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-2c10c351.js} +5 -5
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-af68d0e7.js → OrInput.vue_vue_type_script_lang-ce8b23e8.js} +8 -9
- 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/{OrLoader-be9d72cd.js → OrLoader-663e062d.js} +11 -11
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-65971a23.js → OrLoader.vue_vue_type_script_lang-8fc03499.js} +0 -8
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-a79c359c.js → OrPagination.vue_vue_type_script_lang-b6e7592e.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-c387db0b.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +0 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-8c37e5a7.js → OrSearch.vue_vue_type_script_lang-db6e6f7f.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-35ac0247.js → OrSelect.vue_vue_type_script_lang-52193c4c.js} +9 -8
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-fd43080e.js → OrSwitch.vue_vue_type_script_lang-f6039c8f.js} +2 -2
- 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/{OrToastContainer-6a85ebf8.js → OrToastContainer-5c99d3ce.js} +1 -1
- package/dist/bundled/v3/components/index.js +20 -19
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -10
- 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 +128 -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 +10 -9
- 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 +6 -5
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +8 -7
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-select-v3/index.js +8 -7
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -4
- 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/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +65 -65
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{types-661a05a5.js → types-5a9ace3b.js} +2 -2
- package/dist/esm/v2/{OrButton-c5ec96e7.js → OrButton-49f7f20b.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-f7856175.js → OrCardCollection-ffa4e842.js} +3 -3
- package/dist/esm/v2/{OrConfirm-98d62065.js → OrConfirm-73a902ce.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-df02ab5d.js → OrInlineInput-b003ddde.js} +9 -11
- package/dist/esm/v2/{OrInlineTextarea-ad120656.js → OrInlineTextarea-6349b529.js} +9 -11
- package/dist/esm/v2/{OrInput-3bb91436.js → OrInput-67eb3178.js} +12 -13
- 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/{OrLoader-b11ed386.js → OrLoader-8f1f3af1.js} +2 -10
- package/dist/esm/v2/{OrPagination-a9233838.js → OrPagination-81d4476a.js} +1 -1
- package/dist/esm/v2/{OrProgress-ff999494.js → OrProgress-b7d1c689.js} +2 -6
- package/dist/esm/v2/{OrSearch-dad9b02f.js → OrSearch-a5cab600.js} +2 -2
- package/dist/esm/v2/{OrSelect-7ef80130.js → OrSelect-2773ebeb.js} +11 -10
- package/dist/esm/v2/{OrSwitch-6129b63d.js → OrSwitch-1bd5b4d1.js} +1 -1
- package/dist/esm/v2/{OrTextarea-0a64f718.js → OrTextarea-0bf9bf33.js} +11 -12
- package/dist/esm/v2/components/index.js +16 -15
- package/dist/esm/v2/components/or-button-v3/index.js +2 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -7
- 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 +143 -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 +6 -5
- 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 +4 -3
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +5 -4
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-select-v3/index.js +5 -4
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- 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/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +16 -15
- package/dist/esm/v2/{types-e9a54dcf.js → types-d5127999.js} +1 -1
- package/dist/esm/v3/{OrButton-9f059df6.js → OrButton-eab948fb.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-4cb41408.js → OrCardCollection-274a413e.js} +2 -2
- package/dist/esm/v3/{OrConfirm-19da64d1.js → OrConfirm-c73aa589.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-cd3753ee.js → OrInlineInput-65127ed7.js} +7 -9
- package/dist/esm/v3/{OrInlineTextarea-4c5b0390.js → OrInlineTextarea-176a2701.js} +7 -9
- package/dist/esm/v3/{OrInput-ae9f6871.js → OrInput-86c9d300.js} +8 -10
- package/dist/esm/v3/{OrLoader-18f66bca.js → OrLoader-3a918ce9.js} +10 -18
- package/dist/esm/v3/{OrPagination-183803e7.js → OrPagination-94c2095f.js} +1 -1
- package/dist/esm/v3/{OrProgress-f881a58a.js → OrProgress-639ed5e8.js} +10 -15
- package/dist/esm/v3/{OrSearch-6f6b4fcd.js → OrSearch-1a92f8cf.js} +1 -1
- package/dist/esm/v3/{OrSelect-96bf9b63.js → OrSelect-e1443e71.js} +9 -9
- package/dist/esm/v3/{OrSwitch-2a23a9b8.js → OrSwitch-0e92c92c.js} +1 -1
- package/dist/esm/v3/{OrTextarea-42d21f77.js → OrTextarea-14a6b456.js} +7 -9
- package/dist/esm/v3/components/index.js +14 -14
- package/dist/esm/v3/components/or-button-v3/index.js +2 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -6
- 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 +127 -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 +4 -4
- 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 +2 -2
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-switch-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/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +14 -14
- package/dist/esm/v3/{types-b9717ff2.js → types-f6f8ab6b.js} +1 -1
- 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 +127 -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 +4 -7
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +4 -7
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +4 -7
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-loader-v3/OrLoader.vue +2 -12
- package/src/components/or-progress-v3/OrProgress.vue +2 -9
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +4 -6
- package/src/components/or-select-v3/styles.ts +4 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +4 -7
- package/src/components/or-textarea-v3/styles.ts +2 -2
|
@@ -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,
|
|
@@ -169,7 +167,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
169
167
|
class: normalizeClass(_ctx.rootStyles)
|
|
170
168
|
}, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
|
|
171
169
|
size: 's',
|
|
172
|
-
invalid: _ctx.
|
|
170
|
+
invalid: !!_ctx.error
|
|
173
171
|
}, {
|
|
174
172
|
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
175
173
|
ref: "control",
|
|
@@ -195,7 +193,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195
193
|
icon: 'close',
|
|
196
194
|
color: 'inherit',
|
|
197
195
|
onClick: withModifiers(_ctx.reset, ["stop"])
|
|
198
|
-
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.
|
|
196
|
+
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
|
|
199
197
|
key: 0
|
|
200
198
|
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
201
199
|
key: 0
|
|
@@ -208,7 +206,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
208
206
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
209
207
|
|
|
210
208
|
key: "0"
|
|
211
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
209
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
|
|
212
210
|
key: 1
|
|
213
211
|
}, createSlots({
|
|
214
212
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
@@ -219,7 +217,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
219
217
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
220
218
|
|
|
221
219
|
key: "0"
|
|
222
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */))], 2 /* CLASS */);
|
|
220
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
223
221
|
}
|
|
224
222
|
|
|
225
223
|
var css_248z = "\ntextarea[data-v-3f016b22] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -9,7 +9,7 @@ import { s as script$4 } from './OrIconButton-385e997c.js';
|
|
|
9
9
|
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
|
-
import { s as script$7 } from './OrLoader-
|
|
12
|
+
import { s as script$7 } from './OrLoader-3a918ce9.js';
|
|
13
13
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, Fragment, withModifiers, createSlots } from 'vue';
|
|
14
14
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
15
15
|
|
|
@@ -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,
|
|
@@ -190,7 +188,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
190
188
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
191
189
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
192
190
|
size: _ctx.size,
|
|
193
|
-
invalid: _ctx.
|
|
191
|
+
invalid: !!_ctx.error,
|
|
194
192
|
readonly: _ctx.readonly || _ctx.loading,
|
|
195
193
|
disabled: _ctx.disabled
|
|
196
194
|
}, {
|
|
@@ -240,7 +238,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
240
238
|
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
|
|
241
239
|
|
|
242
240
|
_: 1 /* STABLE */
|
|
243
|
-
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.
|
|
241
|
+
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
|
|
244
242
|
key: 1
|
|
245
243
|
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
246
244
|
key: 0,
|
|
@@ -254,7 +252,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
252
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
255
253
|
|
|
256
254
|
key: "0"
|
|
257
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
255
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
|
|
258
256
|
key: 2,
|
|
259
257
|
disabled: _ctx.disabled
|
|
260
258
|
}, createSlots({
|
|
@@ -266,7 +264,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
266
264
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
267
265
|
|
|
268
266
|
key: "0"
|
|
269
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
267
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
270
268
|
}
|
|
271
269
|
|
|
272
270
|
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,5 +1,4 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { useElementSize } from '@vueuse/core';
|
|
3
2
|
import { openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
|
|
4
3
|
|
|
5
4
|
var LoaderVariant;
|
|
@@ -70,9 +69,6 @@ var script = defineComponent({
|
|
|
70
69
|
setup(props) {
|
|
71
70
|
// Refs
|
|
72
71
|
const root = ref();
|
|
73
|
-
const {
|
|
74
|
-
width: loaderContainerWidth
|
|
75
|
-
} = useElementSize(root);
|
|
76
72
|
// Styles
|
|
77
73
|
const rootStyles = computed(() => ['or-loader', ...LoaderRoot, ...LoaderRootColors[props.color]]);
|
|
78
74
|
const titleStyles = computed(() => [...LoaderTitle]);
|
|
@@ -87,9 +83,6 @@ var script = defineComponent({
|
|
|
87
83
|
return 16;
|
|
88
84
|
}
|
|
89
85
|
});
|
|
90
|
-
const strokeWidth = computed(() => {
|
|
91
|
-
return loaderContainerWidth.value ? loaderContainerWidth.value - 2 : '100%';
|
|
92
|
-
});
|
|
93
86
|
/**
|
|
94
87
|
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
95
88
|
*/
|
|
@@ -103,7 +96,6 @@ var script = defineComponent({
|
|
|
103
96
|
titleStyles,
|
|
104
97
|
descriptionStyles,
|
|
105
98
|
computedSize,
|
|
106
|
-
strokeWidth,
|
|
107
99
|
wrapperStyle
|
|
108
100
|
};
|
|
109
101
|
}
|
|
@@ -126,8 +118,14 @@ const _hoisted_5 = {
|
|
|
126
118
|
"stroke-width": "4",
|
|
127
119
|
"stroke-linecap": "round"
|
|
128
120
|
};
|
|
129
|
-
const _hoisted_6 =
|
|
130
|
-
|
|
121
|
+
const _hoisted_6 = /*#__PURE__*/createElementVNode("line", {
|
|
122
|
+
class: /*#__PURE__*/normalizeClass(['stroke-surface-variant', 'dark:stroke-surface-variant-dark']),
|
|
123
|
+
x1: "2",
|
|
124
|
+
y1: "50%",
|
|
125
|
+
x2: "calc(100% - 2px)",
|
|
126
|
+
y2: "50%"
|
|
127
|
+
}, null, -1 /* HOISTED */);
|
|
128
|
+
const _hoisted_7 = ["stroke"];
|
|
131
129
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
132
130
|
return openBlock(), createElementBlock("div", {
|
|
133
131
|
ref: "root",
|
|
@@ -149,17 +147,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
149
147
|
cy: "50%",
|
|
150
148
|
r: "7",
|
|
151
149
|
stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
|
|
152
|
-
}, null, 8 /* PROPS */, _hoisted_3)])], 8 /* PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), _ctx.variant === 'linear' ? (openBlock(), createElementBlock("svg", _hoisted_4, [createElementVNode("g", _hoisted_5, [createElementVNode("line", {
|
|
153
|
-
class: normalizeClass(['stroke-surface-variant', 'dark:stroke-surface-variant-dark']),
|
|
154
|
-
x1: "2",
|
|
155
|
-
y1: "50%",
|
|
156
|
-
x2: _ctx.strokeWidth,
|
|
157
|
-
y2: "50%"
|
|
158
|
-
}, null, 8 /* PROPS */, _hoisted_6), createElementVNode("line", {
|
|
150
|
+
}, null, 8 /* PROPS */, _hoisted_3)])], 8 /* PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), _ctx.variant === 'linear' ? (openBlock(), createElementBlock("svg", _hoisted_4, [createElementVNode("g", _hoisted_5, [_hoisted_6, createElementVNode("line", {
|
|
159
151
|
class: normalizeClass(['animate-linear-loader', 'origin-center']),
|
|
160
152
|
x1: "2",
|
|
161
153
|
y1: "50%",
|
|
162
|
-
x2:
|
|
154
|
+
x2: "calc(100% - 2px)",
|
|
163
155
|
y2: "50%",
|
|
164
156
|
stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
|
|
165
157
|
}, null, 8 /* PROPS */, _hoisted_7)])])) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */), _ctx.description ? (openBlock(), createElementBlock("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrButton-
|
|
2
|
+
import { s as script$1 } from './OrButton-eab948fb.js';
|
|
3
3
|
import { s as script$2 } from './OrIcon-ea40e58c.js';
|
|
4
4
|
import { s as script$4 } from './OrMenuItem-de91aded.js';
|
|
5
5
|
import { s as script$3 } from './OrMenu-b4e8136c.js';
|
|
@@ -179,9 +179,6 @@ var script = defineComponent({
|
|
|
179
179
|
isCircleType.value ? 14 * Math.PI :
|
|
180
180
|
// 14 = diameter = viewBox - stroke-width
|
|
181
181
|
0);
|
|
182
|
-
const strokeWidth = computed(() => {
|
|
183
|
-
return width.value ? width.value - 2 : '100%';
|
|
184
|
-
});
|
|
185
182
|
const strokeDashoffset = computed(() => props.loading ? undefined : (1 - localProgress.value) * strokeDasharray.value);
|
|
186
183
|
return {
|
|
187
184
|
root,
|
|
@@ -194,7 +191,6 @@ var script = defineComponent({
|
|
|
194
191
|
progressBarMainPartStyles,
|
|
195
192
|
strokeDasharray,
|
|
196
193
|
strokeDashoffset,
|
|
197
|
-
strokeWidth,
|
|
198
194
|
localProgress,
|
|
199
195
|
localValue,
|
|
200
196
|
percent,
|
|
@@ -217,15 +213,14 @@ const _hoisted_2 = {
|
|
|
217
213
|
"stroke-width": "2",
|
|
218
214
|
"stroke-linecap": "round"
|
|
219
215
|
};
|
|
220
|
-
const _hoisted_3 = ["
|
|
221
|
-
const _hoisted_4 = ["
|
|
222
|
-
const _hoisted_5 =
|
|
223
|
-
const _hoisted_6 = {
|
|
216
|
+
const _hoisted_3 = ["stroke-dasharray", "stroke-dashoffset"];
|
|
217
|
+
const _hoisted_4 = ["width", "height"];
|
|
218
|
+
const _hoisted_5 = {
|
|
224
219
|
fill: "none",
|
|
225
220
|
"stroke-width": "2",
|
|
226
221
|
"stroke-linecap": "round"
|
|
227
222
|
};
|
|
228
|
-
const
|
|
223
|
+
const _hoisted_6 = ["stroke-dasharray", "stroke-dashoffset"];
|
|
229
224
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
230
225
|
return openBlock(), createElementBlock("div", {
|
|
231
226
|
ref: "root",
|
|
@@ -245,17 +240,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
245
240
|
class: normalizeClass(_ctx.progressBarBackgroundStyles),
|
|
246
241
|
x1: "2",
|
|
247
242
|
y1: "50%",
|
|
248
|
-
x2:
|
|
243
|
+
x2: "calc(100% - 2px)",
|
|
249
244
|
y2: "50%"
|
|
250
|
-
}, null,
|
|
245
|
+
}, null, 2 /* CLASS */), createElementVNode("line", {
|
|
251
246
|
class: normalizeClass(_ctx.progressBarMainPartStyles),
|
|
252
247
|
x1: "2",
|
|
253
248
|
y1: "50%",
|
|
254
|
-
x2:
|
|
249
|
+
x2: "calc(100% - 2px)",
|
|
255
250
|
y2: "50%",
|
|
256
251
|
"stroke-dasharray": _ctx.strokeDasharray,
|
|
257
252
|
"stroke-dashoffset": _ctx.strokeDashoffset
|
|
258
|
-
}, null, 10 /* CLASS, PROPS */,
|
|
253
|
+
}, null, 10 /* CLASS, PROPS */, _hoisted_3)])])), _ctx.isShowingFooter ? (openBlock(), createElementBlock("div", {
|
|
259
254
|
key: 1,
|
|
260
255
|
class: normalizeClass(_ctx.footerStyles)
|
|
261
256
|
}, [renderSlot(_ctx.$slots, "footer", {
|
|
@@ -265,7 +260,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
265
260
|
viewBox: "0 0 16 16",
|
|
266
261
|
width: _ctx.computedSize,
|
|
267
262
|
height: _ctx.computedSize
|
|
268
|
-
}, [createElementVNode("g",
|
|
263
|
+
}, [createElementVNode("g", _hoisted_5, [createElementVNode("circle", {
|
|
269
264
|
class: normalizeClass(_ctx.progressBarBackgroundStyles),
|
|
270
265
|
cx: "50%",
|
|
271
266
|
cy: "50%",
|
|
@@ -277,7 +272,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
277
272
|
r: "7",
|
|
278
273
|
"stroke-dasharray": _ctx.strokeDasharray,
|
|
279
274
|
"stroke-dashoffset": _ctx.strokeDashoffset
|
|
280
|
-
}, null, 10 /* CLASS, PROPS */,
|
|
275
|
+
}, null, 10 /* CLASS, PROPS */, _hoisted_6)])], 8 /* PROPS */, _hoisted_4)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
281
276
|
}
|
|
282
277
|
|
|
283
278
|
script.render = render;
|
|
@@ -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-86c9d300.js';
|
|
4
4
|
import { a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ 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-86c9d300.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';
|
|
@@ -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,
|
|
@@ -326,7 +326,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
326
326
|
class: normalizeClass([_ctx.popoverState === 'open' && 'rounded-b-0']),
|
|
327
327
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
328
328
|
size: _ctx.size,
|
|
329
|
-
invalid: _ctx.
|
|
329
|
+
invalid: !!_ctx.error,
|
|
330
330
|
readonly: _ctx.readonly,
|
|
331
331
|
disabled: _ctx.disabled
|
|
332
332
|
}, {
|
|
@@ -479,7 +479,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
479
479
|
_: 3 /* FORWARDED */
|
|
480
480
|
}, 8 /* PROPS */, ["class", "trigger"])]),
|
|
481
481
|
_: 3 /* FORWARDED */
|
|
482
|
-
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.
|
|
482
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
|
|
483
483
|
key: 1
|
|
484
484
|
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
485
485
|
key: 0,
|
|
@@ -488,14 +488,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
488
488
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
489
489
|
|
|
490
490
|
_: 1 /* STABLE */
|
|
491
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
491
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
|
|
492
492
|
key: 2,
|
|
493
493
|
disabled: _ctx.disabled
|
|
494
494
|
}, {
|
|
495
495
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
496
496
|
|
|
497
497
|
_: 1 /* STABLE */
|
|
498
|
-
}, 8 /* PROPS */, ["disabled"]))], 2 /* CLASS */);
|
|
498
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
script.render = render;
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
|
2
2
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { s as script$1, L as LabelVariant } from './OrLabel-f700f9fb.js';
|
|
5
|
-
import { s as script$2 } from './OrLoader-
|
|
5
|
+
import { s as script$2 } from './OrLoader-3a918ce9.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, mergeProps, vModelCheckbox, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
|
|
@@ -15,8 +15,8 @@ const TextareaRoot = [
|
|
|
15
15
|
// Spacing
|
|
16
16
|
'gap-xs'];
|
|
17
17
|
const TextareaControl = [
|
|
18
|
-
//
|
|
19
|
-
'
|
|
18
|
+
// Box
|
|
19
|
+
'w-full',
|
|
20
20
|
// Typography
|
|
21
21
|
'typography-inherit',
|
|
22
22
|
// Theme
|
|
@@ -56,7 +56,7 @@ var script = defineComponent({
|
|
|
56
56
|
default: undefined
|
|
57
57
|
},
|
|
58
58
|
error: {
|
|
59
|
-
type: String,
|
|
59
|
+
type: [String, Boolean],
|
|
60
60
|
default: undefined
|
|
61
61
|
},
|
|
62
62
|
required: {
|
|
@@ -98,7 +98,6 @@ var script = defineComponent({
|
|
|
98
98
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
99
99
|
});
|
|
100
100
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
101
|
-
const invalid = computed(() => !!props.error);
|
|
102
101
|
// Methods
|
|
103
102
|
function focus() {
|
|
104
103
|
var _a;
|
|
@@ -117,7 +116,6 @@ var script = defineComponent({
|
|
|
117
116
|
proxyModelValue,
|
|
118
117
|
currentLength,
|
|
119
118
|
maxLength,
|
|
120
|
-
invalid,
|
|
121
119
|
focus,
|
|
122
120
|
blur
|
|
123
121
|
};
|
|
@@ -146,7 +144,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
146
144
|
_: 3 /* FORWARDED */
|
|
147
145
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
148
146
|
size: _ctx.size,
|
|
149
|
-
invalid: _ctx.
|
|
147
|
+
invalid: !!_ctx.error,
|
|
150
148
|
readonly: _ctx.readonly,
|
|
151
149
|
disabled: _ctx.disabled
|
|
152
150
|
}, {
|
|
@@ -165,7 +163,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
163
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
166
164
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
|
|
167
165
|
_: 1 /* STABLE */
|
|
168
|
-
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.
|
|
166
|
+
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
|
|
169
167
|
key: 1
|
|
170
168
|
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
171
169
|
key: 0,
|
|
@@ -179,7 +177,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
177
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
180
178
|
|
|
181
179
|
key: "0"
|
|
182
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
180
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
|
|
183
181
|
key: 2,
|
|
184
182
|
disabled: _ctx.disabled
|
|
185
183
|
}, createSlots({
|
|
@@ -191,7 +189,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
189
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
192
190
|
|
|
193
191
|
key: "0"
|
|
194
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
192
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
195
193
|
}
|
|
196
194
|
|
|
197
195
|
var css_248z = "\ntextarea[data-v-10a22fb4] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from '../OrBottomSheet-9c291056.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from '../OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from '../OrIconButton-b668558a.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-eab948fb.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-1258cd45.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-274a413e.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-cd6af82e.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-a3a855e8.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-8d8887ea.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-033d49f4.js';
|
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-37a52e8f.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-9a149e6b.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-45796889.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-c73aa589.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-efd8aae7.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from '../OrErrorTag-0025b17c.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-ed3e1
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-385e997c.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-ea40e58c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-65127ed7.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-adf71cc1.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-176a2701.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-2467d7e4.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-86c9d300.js';
|
|
39
39
|
export { s as OrInput } from '../OrInput-0dbd5a01.js';
|
|
40
40
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-f700f9fb.js';
|
|
@@ -43,7 +43,7 @@ export { L as LinkColor, s as OrLinkV3 } from '../OrLink-07f6f27d.js';
|
|
|
43
43
|
export { s as OrList } from '../OrList-1255fc81.js';
|
|
44
44
|
export { s as OrListOfInputs } from '../OrListOfInputs-7611470b.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from '../OrLoader-15174477.js';
|
|
46
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from '../OrLoader-
|
|
46
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from '../OrLoader-3a918ce9.js';
|
|
47
47
|
export { s as OrMenuItemV3 } from '../OrMenuItem-de91aded.js';
|
|
48
48
|
export { s as OrMenuV3 } from '../OrMenu-b4e8136c.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-35ee1b1e.js';
|
|
@@ -56,17 +56,17 @@ export { s as OrOverflowMenu } from '../OrOverflowMenu-775d380c.js';
|
|
|
56
56
|
export { s as OrOverlay } from '../OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from '../OrOverlay-55f6cf9c.js';
|
|
58
58
|
export { s as OrPassword } from '../OrPassword-d18b4400.js';
|
|
59
|
-
export { s as OrPaginationV3 } from '../OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from '../OrPagination-94c2095f.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-d0d52c86.js';
|
|
61
|
-
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-
|
|
61
|
+
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-639ed5e8.js';
|
|
62
62
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
63
63
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from '../OrRadio-97fb105f.js';
|
|
65
65
|
export { s as OrSearch } from '../OrSearch-4a5c943b.js';
|
|
66
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from '../OrSearch-1a92f8cf.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-880b4911.js';
|
|
68
68
|
export { s as OrSelect } from '../OrSelect-88e5dfaf.js';
|
|
69
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
69
|
+
export { s as OrSelectV3 } from '../OrSelect-e1443e71.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
71
71
|
export { s as OrSidebarV3 } from '../OrSidebar-64703ef6.js';
|
|
72
72
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-506fc73c.js';
|
|
@@ -76,7 +76,7 @@ export { s as OrSlider } from '../OrSlider-858576e2.js';
|
|
|
76
76
|
export { s as OrSortHeaderV3 } from '../OrSortHeader-f66dcb37.js';
|
|
77
77
|
export { s as OrStepper } from '../OrStepper-17400c41.js';
|
|
78
78
|
export { s as OrSwitch } from '../OrSwitch-c333ee32.js';
|
|
79
|
-
export { s as OrSwitchV3 } from '../OrSwitch-
|
|
79
|
+
export { s as OrSwitchV3 } from '../OrSwitch-0e92c92c.js';
|
|
80
80
|
export { s as OrTab } from '../OrTab-bc98be02.js';
|
|
81
81
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-d668cc59.js';
|
|
82
82
|
export { s as OrTabV3 } from '../OrTab-d3785ea4.js';
|
|
@@ -88,11 +88,11 @@ export { s as OrTeleport } from '../OrTeleport.vue3-9bce0c02.js';
|
|
|
88
88
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
89
89
|
export { s as OrTextV3 } from '../OrText-a3b00048.js';
|
|
90
90
|
export { s as OrTextarea } from '../OrTextarea-de1ecb0f.js';
|
|
91
|
-
export { s as OrTextareaV3 } from '../OrTextarea-
|
|
91
|
+
export { s as OrTextareaV3 } from '../OrTextarea-14a6b456.js';
|
|
92
92
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-5c1cf735.js';
|
|
93
93
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-11a58425.js';
|
|
94
94
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
95
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
|
|
95
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-f6f8ab6b.js';
|
|
96
96
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
|
|
97
97
|
export { s as OrTooltip, a as OrTooltipContent } from '../OrTooltip-8d7385bc.js';
|
|
98
98
|
export { s as OrTooltipV3 } from '../OrTooltip-e5fe74d6.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-
|
|
1
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-eab948fb.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrLoader-
|
|
4
|
-
import '@vueuse/core';
|
|
3
|
+
import '../../OrLoader-3a918ce9.js';
|
|
5
4
|
import 'vue';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-274a413e.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
4
|
-
import '../../OrLoader-
|
|
5
|
-
import '@vueuse/core';
|
|
3
|
+
import '../../OrButton-eab948fb.js';
|
|
4
|
+
import '../../OrLoader-3a918ce9.js';
|
|
6
5
|
import 'vue';
|
|
7
6
|
import '../../OrIconButton-385e997c.js';
|
|
8
7
|
import '../../OrIcon-ea40e58c.js';
|
|
9
8
|
import '../../OrTooltip-e5fe74d6.js';
|
|
9
|
+
import '@vueuse/core';
|
|
10
10
|
import '../../OrPopover-35ee1b1e.js';
|
|
11
11
|
import '@floating-ui/dom';
|
|
12
12
|
import '../../useElevation-92fce12c.js';
|
|
@@ -16,8 +16,8 @@ import '../../OrOverlay-55f6cf9c.js';
|
|
|
16
16
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
17
17
|
import '../../OrMenuItem-de91aded.js';
|
|
18
18
|
import '../../OrMenu-b4e8136c.js';
|
|
19
|
-
import '../../OrSearch-
|
|
20
|
-
import '../../OrInput-
|
|
19
|
+
import '../../OrSearch-1a92f8cf.js';
|
|
20
|
+
import '../../OrInput-86c9d300.js';
|
|
21
21
|
import '../../useIdAttribute-859439f0.js';
|
|
22
22
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
23
23
|
import '../../OrError-19198748.js';
|