@onereach/ui-components 2.75.2-beta.2393.0 → 2.75.2-beta.2399.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrCardCollection-04e767c2.js → OrCardCollection-e3986f07.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-a76ff6d2.js → OrConfirm-498fa802.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-9304f205.js → OrInlineInput-5f0b99f9.js} +25 -11
- package/dist/bundled/v2/{OrInlineTextarea-e0d28fc6.js → OrInlineTextarea-975b8706.js} +25 -11
- package/dist/bundled/v2/{OrInput-b8511a0c.js → OrInput-822eb9f5.js} +27 -12
- package/dist/bundled/v2/{OrInputBox-e54dcef9.js → OrInputBox-9a31d211.js} +2 -12
- package/dist/bundled/v2/{OrSearch-60b64568.js → OrSearch-f9d46a70.js} +2 -2
- package/dist/bundled/v2/{OrSelect-752bdd3b.js → OrSelect-0c0c01d4.js} +27 -10
- package/dist/bundled/v2/{OrTextarea-5fdf63d0.js → OrTextarea-c56f19db.js} +27 -12
- package/dist/bundled/v2/components/index.js +10 -9
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +162 -0
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/index.js +11 -10
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js → OrCardCollection.vue_vue_type_script_lang-f2fdaa33.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-b550c3d3.js → OrConfirm.vue_vue_type_script_lang-2bb4e530.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js → OrInlineInput.vue_vue_type_script_lang-18853dd7.js} +3 -5
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js → OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js} +3 -5
- package/dist/bundled/v3/{OrInput-6d49f353.js → OrInput-13a84d53.js} +12 -9
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-af68d0e7.js → OrInput.vue_vue_type_script_lang-09a6138d.js} +6 -7
- package/dist/bundled/v3/{OrInputBox-358d4856.js → OrInputBox-44f37541.js} +1 -1
- package/dist/{esm/v2/OrInputBox-53d1f66d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js} +3 -53
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-8c37e5a7.js → OrSearch.vue_vue_type_script_lang-9028a3c5.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-35ac0247.js → OrSelect.vue_vue_type_script_lang-30c61027.js} +9 -8
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-de99a858.js → OrTextarea.vue_vue_type_script_lang-b2899ba6.js} +6 -7
- package/dist/bundled/v3/components/index.js +12 -11
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +7 -6
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +131 -0
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-input-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/index.js +140 -129
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/esm/v2/{OrCardCollection-f7856175.js → OrCardCollection-59455d23.js} +2 -2
- package/dist/esm/v2/{OrConfirm-98d62065.js → OrConfirm-b31e3d3d.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-df02ab5d.js → OrInlineInput-36d79e50.js} +25 -11
- package/dist/esm/v2/{OrInlineTextarea-ad120656.js → OrInlineTextarea-e2d61e44.js} +25 -11
- package/dist/esm/v2/{OrInput-3bb91436.js → OrInput-06003aad.js} +27 -12
- package/dist/esm/v2/OrInputBox-5c4b3104.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js} +1 -1
- package/dist/esm/v2/{OrSearch-dad9b02f.js → OrSearch-44645202.js} +2 -2
- package/dist/esm/v2/{OrSelect-7ef80130.js → OrSelect-a51044ed.js} +27 -10
- package/dist/esm/v2/{OrTextarea-0a64f718.js → OrTextarea-5fa93c9a.js} +27 -12
- package/dist/esm/v2/components/index.js +10 -9
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.js +159 -0
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -3
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +3 -2
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-input-v3/index.js +3 -2
- package/dist/esm/v2/components/or-search-v3/index.js +4 -3
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-select-v3/index.js +4 -3
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/index.js +10 -9
- package/dist/esm/v3/{OrCardCollection-4cb41408.js → OrCardCollection-5c0d53e0.js} +1 -1
- package/dist/esm/v3/{OrConfirm-19da64d1.js → OrConfirm-c7304c10.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-cd3753ee.js → OrInlineInput-651c9155.js} +14 -14
- package/dist/esm/v3/{OrInlineTextarea-4c5b0390.js → OrInlineTextarea-d16af66a.js} +14 -14
- package/dist/esm/v3/{OrInput-ae9f6871.js → OrInput-b3939d15.js} +14 -13
- package/dist/esm/v3/{OrSearch-6f6b4fcd.js → OrSearch-d16d0331.js} +1 -1
- package/dist/esm/v3/{OrSelect-96bf9b63.js → OrSelect-19c2e7d2.js} +16 -13
- package/dist/esm/v3/{OrTextarea-42d21f77.js → OrTextarea-dfc6a453.js} +14 -13
- package/dist/esm/v3/components/index.js +8 -8
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +105 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.js +130 -0
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +5 -7
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +8 -8
- package/package.json +2 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +201 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +133 -0
- package/src/components/or-combined-input-v3/index.ts +2 -0
- package/src/components/or-combined-input-v3/props.ts +1 -0
- package/src/components/or-combined-input-v3/styles.ts +25 -0
- package/src/components/or-inline-input-v3/OrInlineInput.vue +12 -9
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +12 -9
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +12 -9
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +12 -8
- package/src/components/or-select-v3/styles.ts +4 -1
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +1 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +12 -9
- package/src/components/or-textarea-v3/styles.ts +2 -2
|
@@ -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, createSlots, vShow } 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
|
+
// 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
|
};
|
|
@@ -125,6 +123,12 @@ var script = defineComponent({
|
|
|
125
123
|
});
|
|
126
124
|
|
|
127
125
|
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
|
+
};
|
|
128
132
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
129
133
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
130
134
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
@@ -146,7 +150,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
146
150
|
_: 3 /* FORWARDED */
|
|
147
151
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
148
152
|
size: _ctx.size,
|
|
149
|
-
invalid: _ctx.
|
|
153
|
+
invalid: !!_ctx.error,
|
|
150
154
|
readonly: _ctx.readonly,
|
|
151
155
|
disabled: _ctx.disabled
|
|
152
156
|
}, {
|
|
@@ -165,9 +169,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
169
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
166
170
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
|
|
167
171
|
_: 1 /* STABLE */
|
|
168
|
-
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]),
|
|
169
|
-
key: 1
|
|
170
|
-
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
172
|
+
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), withDirectives(createElementVNode("div", _hoisted_2, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
171
173
|
key: 0,
|
|
172
174
|
disabled: _ctx.disabled
|
|
173
175
|
}, createSlots({
|
|
@@ -179,8 +181,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
181
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
180
182
|
|
|
181
183
|
key: "0"
|
|
182
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)],
|
|
183
|
-
key: 2,
|
|
184
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_3, [createVNode(_component_OrError, {
|
|
184
185
|
disabled: _ctx.disabled
|
|
185
186
|
}, createSlots({
|
|
186
187
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|
|
@@ -191,7 +192,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
192
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
192
193
|
|
|
193
194
|
key: "0"
|
|
194
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
195
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])], 512 /* NEED_PATCH */), [[vShow, typeof _ctx.error === 'string']])], 2 /* CLASS */);
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
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-5c0d53e0.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-c7304c10.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-651c9155.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-d16af66a.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-b3939d15.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';
|
|
@@ -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-d16d0331.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-19c2e7d2.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-dfc6a453.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-5c0d53e0.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-d16d0331.js';
|
|
20
|
+
import '../../OrInput-b3939d15.js';
|
|
21
21
|
import '../../useIdAttribute-859439f0.js';
|
|
22
22
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
23
23
|
import '../../OrError-19198748.js';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { CombinedInputSize } from './props';
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
+
controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<CombinedInputSize>;
|
|
10
|
+
default: CombinedInputSize;
|
|
11
|
+
};
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
hint: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
error: {
|
|
21
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
required: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
readonly: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
disableDefaultStyles: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
41
|
+
size: {
|
|
42
|
+
type: PropType<CombinedInputSize>;
|
|
43
|
+
default: CombinedInputSize;
|
|
44
|
+
};
|
|
45
|
+
label: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
hint: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
error: {
|
|
54
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
required: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
readonly: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
disabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
disableDefaultStyles: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
74
|
+
size: CombinedInputSize;
|
|
75
|
+
label: string;
|
|
76
|
+
hint: string;
|
|
77
|
+
error: string | boolean;
|
|
78
|
+
required: boolean;
|
|
79
|
+
readonly: boolean;
|
|
80
|
+
disabled: boolean;
|
|
81
|
+
disableDefaultStyles: boolean;
|
|
82
|
+
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
83
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
84
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
85
|
+
controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
|
|
86
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
87
|
+
size: CombinedInputSize;
|
|
88
|
+
label: string;
|
|
89
|
+
hint: string;
|
|
90
|
+
error: string | boolean;
|
|
91
|
+
required: boolean;
|
|
92
|
+
readonly: boolean;
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
disableDefaultStyles: boolean;
|
|
95
|
+
} & {}, {
|
|
96
|
+
size: CombinedInputSize;
|
|
97
|
+
label: string;
|
|
98
|
+
hint: string;
|
|
99
|
+
error: string | boolean;
|
|
100
|
+
required: boolean;
|
|
101
|
+
readonly: boolean;
|
|
102
|
+
disabled: boolean;
|
|
103
|
+
disableDefaultStyles: boolean;
|
|
104
|
+
}, true>);
|
|
105
|
+
export default _default;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { s as script$1 } from '../../OrError-19198748.js';
|
|
3
|
+
import { s as script$2 } from '../../OrHint-6863124f.js';
|
|
4
|
+
import { s as script$3 } from '../../OrLabel-f700f9fb.js';
|
|
5
|
+
import { a as InputBoxSize } from '../../OrInputBox-2467d7e4.js';
|
|
6
|
+
export { a as CombinedInputSize } from '../../OrInputBox-2467d7e4.js';
|
|
7
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, withDirectives, vShow, createVNode } from 'vue';
|
|
8
|
+
|
|
9
|
+
const CombinedInputRoot = [
|
|
10
|
+
// Layout
|
|
11
|
+
'layout-column',
|
|
12
|
+
// Spacing
|
|
13
|
+
'gap-xs'];
|
|
14
|
+
const CombinedInputControlGroup = [
|
|
15
|
+
// Layout
|
|
16
|
+
'layout-row',
|
|
17
|
+
// Box
|
|
18
|
+
'w-full',
|
|
19
|
+
// Shape (.or-input-box)
|
|
20
|
+
'[&_.or-input-box]:first-child:rounded-r-0', '[&_.or-input-box]:intermediate-child:rounded-0', '[&_.or-input-box]:last-child:rounded-l-0',
|
|
21
|
+
// Spacing (.or-input-box)
|
|
22
|
+
'[&_.or-input-box]:first-child:mr-[-1px]', '[&_.or-input-box]:intermediate-child:border-x-0', '[&_.or-input-box]:last-child:ml-[-1px]'];
|
|
23
|
+
|
|
24
|
+
var script = defineComponent({
|
|
25
|
+
name: 'OrCombinedInput',
|
|
26
|
+
components: {
|
|
27
|
+
OrError: script$1,
|
|
28
|
+
OrHint: script$2,
|
|
29
|
+
OrLabel: script$3
|
|
30
|
+
},
|
|
31
|
+
props: {
|
|
32
|
+
size: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: InputBoxSize.M
|
|
35
|
+
},
|
|
36
|
+
label: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: undefined
|
|
39
|
+
},
|
|
40
|
+
hint: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: undefined
|
|
43
|
+
},
|
|
44
|
+
error: {
|
|
45
|
+
type: [String, Boolean],
|
|
46
|
+
default: undefined
|
|
47
|
+
},
|
|
48
|
+
required: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
52
|
+
readonly: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false
|
|
55
|
+
},
|
|
56
|
+
disabled: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: false
|
|
59
|
+
},
|
|
60
|
+
disableDefaultStyles: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
setup(props, context) {
|
|
66
|
+
// Refs
|
|
67
|
+
const root = ref();
|
|
68
|
+
// Styles
|
|
69
|
+
const rootStyles = computed(() => ['or-combined-input', ...CombinedInputRoot]);
|
|
70
|
+
const controlGroup = computed(() => [...CombinedInputControlGroup]);
|
|
71
|
+
return {
|
|
72
|
+
root,
|
|
73
|
+
rootStyles,
|
|
74
|
+
controlGroup
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
const _hoisted_1 = {
|
|
80
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
81
|
+
};
|
|
82
|
+
const _hoisted_2 = {
|
|
83
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
84
|
+
};
|
|
85
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
86
|
+
const _component_OrLabel = resolveComponent("OrLabel");
|
|
87
|
+
const _component_OrHint = resolveComponent("OrHint");
|
|
88
|
+
const _component_OrError = resolveComponent("OrError");
|
|
89
|
+
return openBlock(), createElementBlock("div", {
|
|
90
|
+
ref: "root",
|
|
91
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
92
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
93
|
+
key: 0,
|
|
94
|
+
variant: 'input',
|
|
95
|
+
required: _ctx.required,
|
|
96
|
+
disabled: _ctx.disabled
|
|
97
|
+
}, {
|
|
98
|
+
addon: withCtx(() => [renderSlot(_ctx.$slots, "addon")]),
|
|
99
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.label) + " ", 1 /* TEXT */)]),
|
|
100
|
+
|
|
101
|
+
_: 3 /* FORWARDED */
|
|
102
|
+
}, 8 /* PROPS */, ["required", "disabled"])) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
103
|
+
class: normalizeClass(_ctx.controlGroup)
|
|
104
|
+
}, [renderSlot(_ctx.$slots, "default", {
|
|
105
|
+
size: _ctx.size,
|
|
106
|
+
error: !!_ctx.error,
|
|
107
|
+
required: _ctx.required,
|
|
108
|
+
readonly: _ctx.readonly,
|
|
109
|
+
disabled: _ctx.disabled,
|
|
110
|
+
disableDefaultStyles: _ctx.disableDefaultStyles
|
|
111
|
+
})], 2 /* CLASS */), withDirectives(createElementVNode("div", _hoisted_1, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
112
|
+
key: 0,
|
|
113
|
+
disabled: _ctx.disabled
|
|
114
|
+
}, {
|
|
115
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
116
|
+
|
|
117
|
+
_: 1 /* STABLE */
|
|
118
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_2, [createVNode(_component_OrError, {
|
|
119
|
+
disabled: _ctx.disabled
|
|
120
|
+
}, {
|
|
121
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
122
|
+
|
|
123
|
+
_: 1 /* STABLE */
|
|
124
|
+
}, 8 /* PROPS */, ["disabled"])], 512 /* NEED_PATCH */), [[vShow, typeof _ctx.error === 'string']])], 2 /* CLASS */);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
script.render = render;
|
|
128
|
+
script.__file = "src/components/or-combined-input-v3/OrCombinedInput.vue";
|
|
129
|
+
|
|
130
|
+
export { script as OrCombinedInputV3 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-c7304c10.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-b3939d15.js';
|
|
9
9
|
import '../../useIdAttribute-859439f0.js';
|
|
10
10
|
import '../../useResponsive-a02e95b7.js';
|
|
11
11
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
@@ -23,7 +23,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
draftModelValue: import("@vue/composition-api").Ref<string | number>;
|
|
24
24
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
25
25
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
26
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
27
26
|
activated: import("@vue/composition-api").Ref<boolean>;
|
|
28
27
|
onFocus: (event: Event) => void;
|
|
29
28
|
onBlur: (event: Event) => void;
|
|
@@ -57,7 +56,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
57
56
|
default: undefined;
|
|
58
57
|
};
|
|
59
58
|
error: {
|
|
60
|
-
type: StringConstructor;
|
|
59
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
61
60
|
default: undefined;
|
|
62
61
|
};
|
|
63
62
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
@@ -86,7 +85,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
86
85
|
default: undefined;
|
|
87
86
|
};
|
|
88
87
|
error: {
|
|
89
|
-
type: StringConstructor;
|
|
88
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
90
89
|
default: undefined;
|
|
91
90
|
};
|
|
92
91
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
@@ -96,7 +95,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
96
95
|
size: InlineInputSize;
|
|
97
96
|
placeholder: string;
|
|
98
97
|
hint: string;
|
|
99
|
-
error: string;
|
|
98
|
+
error: string | boolean;
|
|
100
99
|
} & {} & {
|
|
101
100
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
102
101
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -122,7 +121,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
122
121
|
draftModelValue: import("@vue/composition-api").Ref<string | number>;
|
|
123
122
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
124
123
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
125
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
126
124
|
activated: import("@vue/composition-api").Ref<boolean>;
|
|
127
125
|
onFocus: (event: Event) => void;
|
|
128
126
|
onBlur: (event: Event) => void;
|
|
@@ -137,7 +135,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
137
135
|
size: InlineInputSize;
|
|
138
136
|
placeholder: string;
|
|
139
137
|
hint: string;
|
|
140
|
-
error: string;
|
|
138
|
+
error: string | boolean;
|
|
141
139
|
} & {} & {
|
|
142
140
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
143
141
|
}, {
|
|
@@ -147,6 +145,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
147
145
|
size: InlineInputSize;
|
|
148
146
|
placeholder: string;
|
|
149
147
|
hint: string;
|
|
150
|
-
error: string;
|
|
148
|
+
error: string | boolean;
|
|
151
149
|
}, true>);
|
|
152
150
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-
|
|
1
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-651c9155.js';
|
|
2
2
|
export { I as InlineInputSize } from '../../OrInlineInputBox-09b33e18.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -21,7 +21,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
21
21
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
22
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
23
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
25
24
|
activated: import("@vue/composition-api").Ref<boolean>;
|
|
26
25
|
onFocus: (event: Event) => void;
|
|
27
26
|
onBlur: (event: Event) => void;
|
|
@@ -47,7 +46,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
47
46
|
default: undefined;
|
|
48
47
|
};
|
|
49
48
|
error: {
|
|
50
|
-
type: StringConstructor;
|
|
49
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
51
50
|
default: undefined;
|
|
52
51
|
};
|
|
53
52
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
@@ -68,7 +67,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
68
67
|
default: undefined;
|
|
69
68
|
};
|
|
70
69
|
error: {
|
|
71
|
-
type: StringConstructor;
|
|
70
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
72
71
|
default: undefined;
|
|
73
72
|
};
|
|
74
73
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
@@ -76,7 +75,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
76
75
|
saveOnBlur: boolean;
|
|
77
76
|
placeholder: string;
|
|
78
77
|
hint: string;
|
|
79
|
-
error: string;
|
|
78
|
+
error: string | boolean;
|
|
80
79
|
} & {} & {
|
|
81
80
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
82
81
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -102,7 +101,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
102
101
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
103
102
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
104
103
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
105
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
106
104
|
activated: import("@vue/composition-api").Ref<boolean>;
|
|
107
105
|
onFocus: (event: Event) => void;
|
|
108
106
|
onBlur: (event: Event) => void;
|
|
@@ -115,7 +113,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
115
113
|
saveOnBlur: boolean;
|
|
116
114
|
placeholder: string;
|
|
117
115
|
hint: string;
|
|
118
|
-
error: string;
|
|
116
|
+
error: string | boolean;
|
|
119
117
|
} & {} & {
|
|
120
118
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
121
119
|
}, {
|
|
@@ -123,6 +121,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
123
121
|
saveOnBlur: boolean;
|
|
124
122
|
placeholder: string;
|
|
125
123
|
hint: string;
|
|
126
|
-
error: string;
|
|
124
|
+
error: string | boolean;
|
|
127
125
|
}, true>);
|
|
128
126
|
export default _default;
|
|
@@ -21,7 +21,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
21
21
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
22
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
23
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
25
24
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
26
25
|
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
27
26
|
focus: () => void;
|
|
@@ -52,7 +51,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
52
51
|
default: undefined;
|
|
53
52
|
};
|
|
54
53
|
error: {
|
|
55
|
-
type: StringConstructor;
|
|
54
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
56
55
|
default: undefined;
|
|
57
56
|
};
|
|
58
57
|
loading: {
|
|
@@ -105,7 +104,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
105
104
|
default: undefined;
|
|
106
105
|
};
|
|
107
106
|
error: {
|
|
108
|
-
type: StringConstructor;
|
|
107
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
109
108
|
default: undefined;
|
|
110
109
|
};
|
|
111
110
|
loading: {
|
|
@@ -139,7 +138,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
139
138
|
label: string;
|
|
140
139
|
placeholder: string;
|
|
141
140
|
hint: string;
|
|
142
|
-
error: string;
|
|
141
|
+
error: string | boolean;
|
|
143
142
|
loading: boolean;
|
|
144
143
|
required: boolean;
|
|
145
144
|
readonly: boolean;
|
|
@@ -169,7 +168,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
169
168
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
170
169
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
171
170
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
172
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
173
171
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
174
172
|
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
175
173
|
focus: () => void;
|
|
@@ -181,7 +179,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
181
179
|
label: string;
|
|
182
180
|
placeholder: string;
|
|
183
181
|
hint: string;
|
|
184
|
-
error: string;
|
|
182
|
+
error: string | boolean;
|
|
185
183
|
loading: boolean;
|
|
186
184
|
required: boolean;
|
|
187
185
|
readonly: boolean;
|
|
@@ -197,7 +195,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
197
195
|
label: string;
|
|
198
196
|
placeholder: string;
|
|
199
197
|
hint: string;
|
|
200
|
-
error: string;
|
|
198
|
+
error: string | boolean;
|
|
201
199
|
loading: boolean;
|
|
202
200
|
required: boolean;
|
|
203
201
|
readonly: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-b3939d15.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-d16d0331.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
-
import '../../OrInput-
|
|
5
|
+
import '../../OrInput-b3939d15.js';
|
|
6
6
|
import '../../useIdAttribute-859439f0.js';
|
|
7
7
|
import '../../useResponsive-a02e95b7.js';
|
|
8
8
|
import '../../useValidationAttributes-d1abbe34.js';
|