@onereach/ui-components 2.75.2-beta.2390.0 → 2.75.2-beta.2391.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-e3986f07.js → OrCardCollection-04e767c2.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-498fa802.js → OrConfirm-a76ff6d2.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-5f0b99f9.js → OrInlineInput-9304f205.js} +11 -25
- package/dist/bundled/v2/{OrInlineTextarea-975b8706.js → OrInlineTextarea-e0d28fc6.js} +11 -25
- package/dist/bundled/v2/{OrInput-822eb9f5.js → OrInput-b8511a0c.js} +12 -27
- package/dist/bundled/v2/{OrInputBox-9a31d211.js → OrInputBox-e54dcef9.js} +12 -2
- package/dist/bundled/v2/{OrModal-d845da2d.js → OrModal-5f094323.js} +4 -4
- package/dist/bundled/v2/{OrSearch-f9d46a70.js → OrSearch-60b64568.js} +2 -2
- package/dist/bundled/v2/{OrSelect-0c0c01d4.js → OrSelect-752bdd3b.js} +10 -27
- package/dist/bundled/v2/{OrTextarea-c56f19db.js → OrTextarea-5fdf63d0.js} +12 -27
- package/dist/bundled/v2/components/index.js +10 -11
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
- 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 +7 -5
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-modal-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/bundled/v2/index.js +11 -12
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f2fdaa33.js → OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2bb4e530.js → OrConfirm.vue_vue_type_script_lang-b550c3d3.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js} +5 -3
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js} +5 -3
- package/dist/bundled/v3/{OrInput-13a84d53.js → OrInput-6d49f353.js} +9 -12
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-09a6138d.js → OrInput.vue_vue_type_script_lang-af68d0e7.js} +7 -6
- package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
- package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-3f3ce339.js → OrModal.vue_vue_type_script_lang-92339e0f.js} +4 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-9028a3c5.js → OrSearch.vue_vue_type_script_lang-8c37e5a7.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-30c61027.js → OrSelect.vue_vue_type_script_lang-35ac0247.js} +8 -9
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +7 -6
- package/dist/bundled/v3/components/index.js +12 -13
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -7
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
- 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 +7 -5
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-modal-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
- package/dist/bundled/v3/index.js +131 -142
- package/dist/esm/v2/{OrCardCollection-59455d23.js → OrCardCollection-f7856175.js} +2 -2
- package/dist/esm/v2/{OrConfirm-b31e3d3d.js → OrConfirm-98d62065.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-36d79e50.js → OrInlineInput-df02ab5d.js} +11 -25
- package/dist/esm/v2/{OrInlineTextarea-e2d61e44.js → OrInlineTextarea-ad120656.js} +11 -25
- package/dist/esm/v2/{OrInput-06003aad.js → OrInput-3bb91436.js} +12 -27
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
- package/dist/esm/v2/{OrModal-370cfc3b.js → OrModal-407f3ac7.js} +4 -4
- package/dist/esm/v2/{OrSearch-44645202.js → OrSearch-dad9b02f.js} +2 -2
- package/dist/esm/v2/{OrSelect-a51044ed.js → OrSelect-7ef80130.js} +10 -27
- package/dist/esm/v2/{OrTextarea-5fa93c9a.js → OrTextarea-0a64f718.js} +12 -27
- package/dist/esm/v2/components/index.js +10 -11
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -5
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -4
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
- 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 +7 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-input-v3/index.js +2 -3
- package/dist/esm/v2/components/or-modal-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +3 -4
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-select-v3/index.js +3 -4
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/esm/v2/index.js +10 -11
- package/dist/esm/v3/{OrCardCollection-5c0d53e0.js → OrCardCollection-4cb41408.js} +1 -1
- package/dist/esm/v3/{OrConfirm-c7304c10.js → OrConfirm-19da64d1.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-651c9155.js → OrInlineInput-cd3753ee.js} +14 -14
- package/dist/esm/v3/{OrInlineTextarea-d16af66a.js → OrInlineTextarea-4c5b0390.js} +14 -14
- package/dist/esm/v3/{OrInput-b3939d15.js → OrInput-ae9f6871.js} +13 -14
- package/dist/esm/v3/{OrModal-f9f2279b.js → OrModal-17c3a1cb.js} +4 -4
- package/dist/esm/v3/{OrSearch-d16d0331.js → OrSearch-6f6b4fcd.js} +1 -1
- package/dist/esm/v3/{OrSelect-19c2e7d2.js → OrSelect-96bf9b63.js} +13 -16
- package/dist/esm/v3/{OrTextarea-dfc6a453.js → OrTextarea-42d21f77.js} +13 -14
- package/dist/esm/v3/components/index.js +9 -9
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- 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 +7 -5
- 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 +7 -5
- 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 +7 -5
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-modal-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 +7 -5
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +9 -9
- package/package.json +2 -2
- package/src/components/or-inline-input-v3/OrInlineInput.vue +9 -12
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +9 -12
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +9 -12
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-modal-v3/OrModal.stories3.ts +19 -0
- package/src/components/or-modal-v3/styles.ts +1 -4
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/OrSelect.vue +8 -12
- package/src/components/or-select-v3/styles.ts +1 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +9 -12
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -162
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v2/props-78496a2d.js +0 -12
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -131
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v3/props-78496a2d.js +0 -12
- package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -159
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -130
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -133
- package/src/components/or-combined-input-v3/index.ts +0 -2
- package/src/components/or-combined-input-v3/props.ts +0 -1
- package/src/components/or-combined-input-v3/styles.ts +0 -25
|
@@ -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, createBlock, createSlots, createTextVNode, toDisplayString
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } 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
|
+
// Layout
|
|
25
|
+
'grow',
|
|
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:
|
|
84
|
+
type: String,
|
|
85
85
|
default: undefined
|
|
86
86
|
}
|
|
87
87
|
},
|
|
@@ -113,6 +113,7 @@ 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);
|
|
116
117
|
const activated = ref(false);
|
|
117
118
|
// Handlers
|
|
118
119
|
function onFocus(event) {
|
|
@@ -164,6 +165,7 @@ var script = defineComponent({
|
|
|
164
165
|
draftModelValue,
|
|
165
166
|
currentLength,
|
|
166
167
|
maxLength,
|
|
168
|
+
invalid,
|
|
167
169
|
activated,
|
|
168
170
|
onFocus,
|
|
169
171
|
onBlur,
|
|
@@ -179,12 +181,6 @@ const _hoisted_1 = {
|
|
|
179
181
|
class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
|
|
180
182
|
};
|
|
181
183
|
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
|
-
};
|
|
188
184
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
189
185
|
const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
|
|
190
186
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
@@ -195,7 +191,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195
191
|
class: normalizeClass(_ctx.rootStyles)
|
|
196
192
|
}, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
|
|
197
193
|
size: _ctx.size,
|
|
198
|
-
invalid:
|
|
194
|
+
invalid: _ctx.invalid
|
|
199
195
|
}, {
|
|
200
196
|
default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
|
|
201
197
|
ref: "control",
|
|
@@ -222,7 +218,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
222
218
|
icon: 'close',
|
|
223
219
|
color: 'inherit',
|
|
224
220
|
onClick: withModifiers(_ctx.reset, ["stop"])
|
|
225
|
-
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]),
|
|
221
|
+
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
222
|
+
key: 0
|
|
223
|
+
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
226
224
|
key: 0
|
|
227
225
|
}, createSlots({
|
|
228
226
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -233,7 +231,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
233
231
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
234
232
|
|
|
235
233
|
key: "0"
|
|
236
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)],
|
|
234
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
235
|
+
key: 1
|
|
236
|
+
}, 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 */)
|
|
245
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */))], 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, createBlock, createSlots, createTextVNode, toDisplayString
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } 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
|
+
// Layout
|
|
19
|
+
'grow',
|
|
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:
|
|
62
|
+
type: String,
|
|
63
63
|
default: undefined
|
|
64
64
|
}
|
|
65
65
|
},
|
|
@@ -91,6 +91,7 @@ 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);
|
|
94
95
|
const activated = ref(false);
|
|
95
96
|
// Handlers
|
|
96
97
|
function onFocus(event) {
|
|
@@ -142,6 +143,7 @@ var script = defineComponent({
|
|
|
142
143
|
draftModelValue,
|
|
143
144
|
currentLength,
|
|
144
145
|
maxLength,
|
|
146
|
+
invalid,
|
|
145
147
|
activated,
|
|
146
148
|
onFocus,
|
|
147
149
|
onBlur,
|
|
@@ -157,12 +159,6 @@ const _hoisted_1 = {
|
|
|
157
159
|
class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm+'])
|
|
158
160
|
};
|
|
159
161
|
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
|
-
};
|
|
166
162
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
167
163
|
const _component_OrInlineInputBox = resolveComponent("OrInlineInputBox");
|
|
168
164
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
@@ -173,7 +169,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
173
169
|
class: normalizeClass(_ctx.rootStyles)
|
|
174
170
|
}, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrInlineInputBox, {
|
|
175
171
|
size: 's',
|
|
176
|
-
invalid:
|
|
172
|
+
invalid: _ctx.invalid
|
|
177
173
|
}, {
|
|
178
174
|
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
179
175
|
ref: "control",
|
|
@@ -199,7 +195,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
199
195
|
icon: 'close',
|
|
200
196
|
color: 'inherit',
|
|
201
197
|
onClick: withModifiers(_ctx.reset, ["stop"])
|
|
202
|
-
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]),
|
|
198
|
+
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
199
|
+
key: 0
|
|
200
|
+
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
203
201
|
key: 0
|
|
204
202
|
}, createSlots({
|
|
205
203
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -210,7 +208,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
210
208
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
211
209
|
|
|
212
210
|
key: "0"
|
|
213
|
-
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)],
|
|
211
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
212
|
+
key: 1
|
|
213
|
+
}, 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 */)
|
|
222
|
+
} : undefined]), 1024 /* DYNAMIC_SLOTS */))], 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
|
|
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
|
|
|
16
16
|
var InputType;
|
|
@@ -27,8 +27,8 @@ const InputRoot = [
|
|
|
27
27
|
// Spacing
|
|
28
28
|
'gap-xs'];
|
|
29
29
|
const InputControl = [
|
|
30
|
-
//
|
|
31
|
-
'
|
|
30
|
+
// Layout
|
|
31
|
+
'grow',
|
|
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:
|
|
78
|
+
type: String,
|
|
79
79
|
default: undefined
|
|
80
80
|
},
|
|
81
81
|
loading: {
|
|
@@ -129,6 +129,7 @@ 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);
|
|
132
133
|
const disclosed = ref(false);
|
|
133
134
|
const {
|
|
134
135
|
isMobile
|
|
@@ -151,6 +152,7 @@ var script = defineComponent({
|
|
|
151
152
|
proxyModelValue,
|
|
152
153
|
currentLength,
|
|
153
154
|
maxLength,
|
|
155
|
+
invalid,
|
|
154
156
|
disclosed,
|
|
155
157
|
isMobile,
|
|
156
158
|
focus,
|
|
@@ -163,12 +165,6 @@ const _hoisted_1 = ["type", "placeholder", "required", "readonly", "disabled", "
|
|
|
163
165
|
const _hoisted_2 = {
|
|
164
166
|
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
165
167
|
};
|
|
166
|
-
const _hoisted_3 = {
|
|
167
|
-
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
168
|
-
};
|
|
169
|
-
const _hoisted_4 = {
|
|
170
|
-
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
171
|
-
};
|
|
172
168
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
173
169
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
174
170
|
const _component_OrLoader = resolveComponent("OrLoader");
|
|
@@ -194,7 +190,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
194
190
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
195
191
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
196
192
|
size: _ctx.size,
|
|
197
|
-
invalid:
|
|
193
|
+
invalid: _ctx.invalid,
|
|
198
194
|
readonly: _ctx.readonly || _ctx.loading,
|
|
199
195
|
disabled: _ctx.disabled
|
|
200
196
|
}, {
|
|
@@ -244,7 +240,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
244
240
|
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
|
|
245
241
|
|
|
246
242
|
_: 1 /* STABLE */
|
|
247
|
-
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]),
|
|
243
|
+
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
244
|
+
key: 1
|
|
245
|
+
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
248
246
|
key: 0,
|
|
249
247
|
disabled: _ctx.disabled
|
|
250
248
|
}, createSlots({
|
|
@@ -256,7 +254,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
256
254
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
257
255
|
|
|
258
256
|
key: "0"
|
|
259
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)],
|
|
257
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
258
|
+
key: 2,
|
|
260
259
|
disabled: _ctx.disabled
|
|
261
260
|
}, createSlots({
|
|
262
261
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
@@ -267,7 +266,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
267
266
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
268
267
|
|
|
269
268
|
key: "0"
|
|
270
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])
|
|
269
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
271
270
|
}
|
|
272
271
|
|
|
273
272
|
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";
|
|
@@ -14,7 +14,7 @@ const ModalRoot = [
|
|
|
14
14
|
// Layout
|
|
15
15
|
'layout-column',
|
|
16
16
|
// Box
|
|
17
|
-
'w-full', 'h-full',
|
|
17
|
+
'w-full', 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
|
|
18
18
|
// Shape
|
|
19
19
|
'md:rounded-md',
|
|
20
20
|
// Spacing
|
|
@@ -28,13 +28,13 @@ const ModalRoot = [
|
|
|
28
28
|
const ModalRootSizes = {
|
|
29
29
|
'l': [
|
|
30
30
|
// Box
|
|
31
|
-
'md:w-[1050px]'
|
|
31
|
+
'md:w-[1050px]'],
|
|
32
32
|
'm': [
|
|
33
33
|
// Box
|
|
34
|
-
'md:w-[700px]'
|
|
34
|
+
'md:w-[700px]'],
|
|
35
35
|
's': [
|
|
36
36
|
// Box
|
|
37
|
-
'md:w-[480px]'
|
|
37
|
+
'md:w-[480px]']
|
|
38
38
|
};
|
|
39
39
|
const ModalHeader = [
|
|
40
40
|
// Layouot
|
|
@@ -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-ae9f6871.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-ae9f6871.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
|
|
16
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers } from 'vue';
|
|
17
17
|
|
|
18
18
|
const SelectRoot = [
|
|
19
19
|
// Layout
|
|
@@ -22,9 +22,7 @@ const SelectRoot = [
|
|
|
22
22
|
'gap-xs'];
|
|
23
23
|
const SelectControl = [
|
|
24
24
|
// Layout
|
|
25
|
-
'layout-row',
|
|
26
|
-
// Box
|
|
27
|
-
'w-full',
|
|
25
|
+
'layout-row grow',
|
|
28
26
|
// Overflow
|
|
29
27
|
'overflow-hidden',
|
|
30
28
|
// Spacing
|
|
@@ -114,7 +112,7 @@ var script = defineComponent({
|
|
|
114
112
|
default: undefined
|
|
115
113
|
},
|
|
116
114
|
error: {
|
|
117
|
-
type:
|
|
115
|
+
type: String,
|
|
118
116
|
default: undefined
|
|
119
117
|
},
|
|
120
118
|
required: {
|
|
@@ -191,6 +189,7 @@ var script = defineComponent({
|
|
|
191
189
|
proxyModelValue.value = [];
|
|
192
190
|
}
|
|
193
191
|
});
|
|
192
|
+
const invalid = computed(() => !!props.error);
|
|
194
193
|
const readonly = computed(() => context.attrs.readonly);
|
|
195
194
|
const selection = computed(() => {
|
|
196
195
|
const modelValue = proxyModelValue.value;
|
|
@@ -271,6 +270,7 @@ var script = defineComponent({
|
|
|
271
270
|
noSearchResultsStyles,
|
|
272
271
|
controlId,
|
|
273
272
|
proxyModelValue,
|
|
273
|
+
invalid,
|
|
274
274
|
readonly,
|
|
275
275
|
selection,
|
|
276
276
|
searchText,
|
|
@@ -293,12 +293,6 @@ 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
|
-
};
|
|
302
296
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
303
297
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
304
298
|
const _component_OrTag = resolveComponent("OrTag");
|
|
@@ -332,7 +326,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
332
326
|
class: normalizeClass([_ctx.popoverState === 'open' && 'rounded-b-0']),
|
|
333
327
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
334
328
|
size: _ctx.size,
|
|
335
|
-
invalid:
|
|
329
|
+
invalid: _ctx.invalid,
|
|
336
330
|
readonly: _ctx.readonly,
|
|
337
331
|
disabled: _ctx.disabled
|
|
338
332
|
}, {
|
|
@@ -485,20 +479,23 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
485
479
|
_: 3 /* FORWARDED */
|
|
486
480
|
}, 8 /* PROPS */, ["class", "trigger"])]),
|
|
487
481
|
_: 3 /* FORWARDED */
|
|
488
|
-
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]),
|
|
482
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
483
|
+
key: 1
|
|
484
|
+
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
489
485
|
key: 0,
|
|
490
486
|
disabled: _ctx.disabled
|
|
491
487
|
}, {
|
|
492
488
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
493
489
|
|
|
494
490
|
_: 1 /* STABLE */
|
|
495
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)],
|
|
491
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
492
|
+
key: 2,
|
|
496
493
|
disabled: _ctx.disabled
|
|
497
494
|
}, {
|
|
498
495
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
499
496
|
|
|
500
497
|
_: 1 /* STABLE */
|
|
501
|
-
}, 8 /* PROPS */, ["disabled"])
|
|
498
|
+
}, 8 /* PROPS */, ["disabled"]))], 2 /* CLASS */);
|
|
502
499
|
}
|
|
503
500
|
|
|
504
501
|
script.render = render;
|
|
@@ -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, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
8
8
|
import { s as script$4 } from './OrLabel-f700f9fb.js';
|
|
9
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText,
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
11
11
|
|
|
12
12
|
const TextareaRoot = [
|
|
@@ -15,8 +15,8 @@ const TextareaRoot = [
|
|
|
15
15
|
// Spacing
|
|
16
16
|
'gap-xs'];
|
|
17
17
|
const TextareaControl = [
|
|
18
|
-
//
|
|
19
|
-
'
|
|
18
|
+
// Layout
|
|
19
|
+
'grow',
|
|
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:
|
|
59
|
+
type: String,
|
|
60
60
|
default: undefined
|
|
61
61
|
},
|
|
62
62
|
required: {
|
|
@@ -98,6 +98,7 @@ 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);
|
|
101
102
|
// Methods
|
|
102
103
|
function focus() {
|
|
103
104
|
var _a;
|
|
@@ -116,6 +117,7 @@ var script = defineComponent({
|
|
|
116
117
|
proxyModelValue,
|
|
117
118
|
currentLength,
|
|
118
119
|
maxLength,
|
|
120
|
+
invalid,
|
|
119
121
|
focus,
|
|
120
122
|
blur
|
|
121
123
|
};
|
|
@@ -123,12 +125,6 @@ var script = defineComponent({
|
|
|
123
125
|
});
|
|
124
126
|
|
|
125
127
|
const _hoisted_1 = ["placeholder", "required", "readonly", "disabled"];
|
|
126
|
-
const _hoisted_2 = {
|
|
127
|
-
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
128
|
-
};
|
|
129
|
-
const _hoisted_3 = {
|
|
130
|
-
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
131
|
-
};
|
|
132
128
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
133
129
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
134
130
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
@@ -150,7 +146,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
150
146
|
_: 3 /* FORWARDED */
|
|
151
147
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
152
148
|
size: _ctx.size,
|
|
153
|
-
invalid:
|
|
149
|
+
invalid: _ctx.invalid,
|
|
154
150
|
readonly: _ctx.readonly,
|
|
155
151
|
disabled: _ctx.disabled
|
|
156
152
|
}, {
|
|
@@ -169,7 +165,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
169
165
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
170
166
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
|
|
171
167
|
_: 1 /* STABLE */
|
|
172
|
-
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]),
|
|
168
|
+
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
169
|
+
key: 1
|
|
170
|
+
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
173
171
|
key: 0,
|
|
174
172
|
disabled: _ctx.disabled
|
|
175
173
|
}, createSlots({
|
|
@@ -181,7 +179,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
181
179
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
182
180
|
|
|
183
181
|
key: "0"
|
|
184
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)],
|
|
182
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
183
|
+
key: 2,
|
|
185
184
|
disabled: _ctx.disabled
|
|
186
185
|
}, createSlots({
|
|
187
186
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
@@ -192,7 +191,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
192
191
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
193
192
|
|
|
194
193
|
key: "0"
|
|
195
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])
|
|
194
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
196
195
|
}
|
|
197
196
|
|
|
198
197
|
var css_248z = "\ntextarea[data-v-10a22fb4] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -6,7 +6,7 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-9f059df6.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-4cb41408.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-fe49ca8e.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-19da64d1.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-cd3753ee.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-4c5b0390.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-ae9f6871.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';
|
|
@@ -48,7 +48,7 @@ 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';
|
|
50
50
|
export { s as OrModal, O as OrModalSizes } from '../OrModal-153310f7.js';
|
|
51
|
-
export { M as ModalSize, s as OrModalV3 } from '../OrModal-
|
|
51
|
+
export { M as ModalSize, s as OrModalV3 } from '../OrModal-17c3a1cb.js';
|
|
52
52
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../OrNotification-2d77aae4.js';
|
|
53
53
|
export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotification-aab2e22a.js';
|
|
54
54
|
export { s as OrNumberInput } from '../OrNumberInput-dca5e850.js';
|
|
@@ -63,10 +63,10 @@ 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-6f6b4fcd.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-96bf9b63.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';
|
|
@@ -88,7 +88,7 @@ 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-42d21f77.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';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-4cb41408.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-9f059df6.js';
|
|
4
4
|
import '../../OrLoader-18f66bca.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-6f6b4fcd.js';
|
|
20
|
+
import '../../OrInput-ae9f6871.js';
|
|
21
21
|
import '../../useIdAttribute-859439f0.js';
|
|
22
22
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
23
23
|
import '../../OrError-19198748.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-19da64d1.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '@vueuse/math';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../OrButton-9f059df6.js';
|
|
6
6
|
import '../../OrLoader-18f66bca.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../OrInput-
|
|
8
|
+
import '../../OrInput-ae9f6871.js';
|
|
9
9
|
import '../../useIdAttribute-859439f0.js';
|
|
10
10
|
import '../../useResponsive-a02e95b7.js';
|
|
11
11
|
import '../../useValidationAttributes-d1abbe34.js';
|