@onereach/ui-components 2.69.1 → 2.69.2-beta.2107.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-a9a779ea.js → OrCardCollection-3d1b3b9a.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-43626f94.js} +1 -1
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-0a3666aa.js} +18 -11
- package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-dfdcbdce.js} +4 -14
- package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-847c1bab.js} +2 -2
- package/dist/bundled/v2/{OrSelect-b20a9be0.js → OrSelect-41c6588d.js} +8 -2
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-ff2ba975.js} +2 -1
- package/dist/bundled/v2/components/index.js +8 -7
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +149 -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-input-box-v3/index.js +2 -1
- 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 +11 -0
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/index.js +9 -8
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3993a015.js → OrCardCollection.vue_vue_type_script_lang-fd4d589f.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-289b5600.js → OrConfirm.vue_vue_type_script_lang-338631e0.js} +2 -2
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-5efc4b9a.js} +17 -14
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-f6d793d3.js → OrInput.vue_vue_type_script_lang-a9f3e530.js} +3 -2
- package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-1b143e00.js} +1 -1
- package/dist/{esm/v2/OrInputBox-4d5a318d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-70dec655.js} +6 -57
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-df09cad8.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-15285ce4.js → OrSelect.vue_vue_type_script_lang-cf991ed8.js} +9 -4
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-115a1244.js} +3 -2
- package/dist/bundled/v3/components/index.js +10 -9
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +132 -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-input-box-v3/index.js +2 -1
- 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 +11 -0
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/index.js +18 -16
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/esm/v2/{OrCardCollection-4f001551.js → OrCardCollection-09e4cb8a.js} +1 -1
- package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-93376443.js} +1 -1
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-f92456ea.js} +18 -11
- package/dist/esm/v2/OrInputBox-ad7c1875.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js} +5 -4
- package/dist/esm/v2/{OrSearch-ddb7c1fe.js → OrSearch-4296eecb.js} +2 -2
- package/dist/esm/v2/{OrSelect-f0ff5a85.js → OrSelect-633a9e09.js} +8 -2
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-823d0529.js} +2 -1
- package/dist/esm/v2/components/index.js +8 -7
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -3
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +147 -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-input-box-v3/index.js +3 -2
- 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 +11 -0
- package/dist/esm/v2/components/or-select-v3/index.js +4 -3
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/index.js +8 -7
- package/dist/esm/v3/{OrCardCollection-5a0febaf.js → OrCardCollection-37226d46.js} +1 -1
- package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-b27e7221.js} +1 -1
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-99776ffe.js} +17 -14
- package/dist/esm/v3/{OrInputBox-5247ab25.js → OrInputBox-36c102a4.js} +2 -2
- package/dist/esm/v3/{OrSearch-cdde55ce.js → OrSearch-188c643f.js} +2 -2
- package/dist/esm/v3/{OrSelect-7e813982.js → OrSelect-cba3966c.js} +8 -3
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-b3ecc40d.js} +1 -1
- package/dist/esm/v3/components/index.js +7 -7
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -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 +132 -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 +3 -3
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/index.js +7 -7
- package/package.json +3 -4
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +202 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +134 -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-input-box-v3/styles.ts +3 -3
- package/src/components/or-input-v3/OrInput.vue +28 -22
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +6 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { O as OrCard } from './OrCard-58a1ba3e.js';
|
|
3
3
|
import { O as OrIconButton } from './OrIconButton-a215104c.js';
|
|
4
|
-
import { O as OrInput } from './OrInput-
|
|
4
|
+
import { O as OrInput } from './OrInput-0a3666aa.js';
|
|
5
5
|
import { O as OrSortHeader } from './OrSortHeader-396e6a7c.js';
|
|
6
6
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
7
7
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -3,7 +3,7 @@ import { useMagicKeys, whenever } from '@vueuse/core';
|
|
|
3
3
|
import { l as logicAnd } from './index-17f264f9.js';
|
|
4
4
|
import { O as OrOverlay } from './OrOverlay-3c89d622.js';
|
|
5
5
|
import { O as OrButton, a as ButtonColor } from './OrButton-0e91a808.js';
|
|
6
|
-
import { O as OrInput } from './OrInput-
|
|
6
|
+
import { O as OrInput } from './OrInput-0a3666aa.js';
|
|
7
7
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
@@ -3,8 +3,9 @@ import { O as OrError } from './OrError-aad17598.js';
|
|
|
3
3
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
4
4
|
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
5
5
|
import { O as OrIconButton } from './OrIconButton-a215104c.js';
|
|
6
|
-
import { O as OrInputBox
|
|
6
|
+
import { O as OrInputBox } from './OrInputBox-dfdcbdce.js';
|
|
7
7
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
8
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
8
9
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
9
10
|
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
10
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -151,10 +152,10 @@ var __vue_render__ = function () {
|
|
|
151
152
|
var _vm = this;
|
|
152
153
|
var _h = _vm.$createElement;
|
|
153
154
|
var _c = _vm._self._c || _h;
|
|
154
|
-
return _c('div', {
|
|
155
|
+
return _c('div', _vm._b({
|
|
155
156
|
ref: "root",
|
|
156
157
|
class: _vm.rootStyles
|
|
157
|
-
}, [_vm.label ? [_c('OrLabel', {
|
|
158
|
+
}, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
|
|
158
159
|
attrs: {
|
|
159
160
|
"control-id": _vm.controlId,
|
|
160
161
|
"variant": 'input',
|
|
@@ -176,7 +177,7 @@ var __vue_render__ = function () {
|
|
|
176
177
|
"readonly": _vm.readonly,
|
|
177
178
|
"disabled": _vm.disabled
|
|
178
179
|
}
|
|
179
|
-
}, [(_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'checkbox' ? _c('input',
|
|
180
|
+
}, [(_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'checkbox' ? _c('input', {
|
|
180
181
|
directives: [{
|
|
181
182
|
name: "model",
|
|
182
183
|
rawName: "v-model",
|
|
@@ -190,6 +191,8 @@ var __vue_render__ = function () {
|
|
|
190
191
|
"placeholder": _vm.placeholder,
|
|
191
192
|
"required": _vm.required,
|
|
192
193
|
"disabled": _vm.disabled,
|
|
194
|
+
"read-only": _vm.readonly,
|
|
195
|
+
"max-length": _vm.maxLength,
|
|
193
196
|
"type": "checkbox"
|
|
194
197
|
},
|
|
195
198
|
domProps: {
|
|
@@ -225,7 +228,7 @@ var __vue_render__ = function () {
|
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
}
|
|
228
|
-
}
|
|
231
|
+
}) : (_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'radio' ? _c('input', {
|
|
229
232
|
directives: [{
|
|
230
233
|
name: "model",
|
|
231
234
|
rawName: "v-model",
|
|
@@ -239,6 +242,8 @@ var __vue_render__ = function () {
|
|
|
239
242
|
"placeholder": _vm.placeholder,
|
|
240
243
|
"required": _vm.required,
|
|
241
244
|
"disabled": _vm.disabled,
|
|
245
|
+
"read-only": _vm.readonly,
|
|
246
|
+
"max-length": _vm.maxLength,
|
|
242
247
|
"type": "radio"
|
|
243
248
|
},
|
|
244
249
|
domProps: {
|
|
@@ -261,7 +266,7 @@ var __vue_render__ = function () {
|
|
|
261
266
|
_vm.proxyModelValue = null;
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
|
-
}
|
|
269
|
+
}) : _c('input', {
|
|
265
270
|
directives: [{
|
|
266
271
|
name: "model",
|
|
267
272
|
rawName: "v-model",
|
|
@@ -275,6 +280,8 @@ var __vue_render__ = function () {
|
|
|
275
280
|
"placeholder": _vm.placeholder,
|
|
276
281
|
"required": _vm.required,
|
|
277
282
|
"disabled": _vm.disabled,
|
|
283
|
+
"read-only": _vm.readonly,
|
|
284
|
+
"max-length": _vm.maxLength,
|
|
278
285
|
"type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type
|
|
279
286
|
},
|
|
280
287
|
domProps: {
|
|
@@ -300,7 +307,7 @@ var __vue_render__ = function () {
|
|
|
300
307
|
_vm.proxyModelValue = $event.target.value;
|
|
301
308
|
}
|
|
302
309
|
}
|
|
303
|
-
}
|
|
310
|
+
}), _vm._v(" "), _vm.type !== 'text' ? [_c('div', {
|
|
304
311
|
class: ['layout-row']
|
|
305
312
|
}, [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
306
313
|
attrs: {
|
|
@@ -334,7 +341,7 @@ var __vue_render__ = function () {
|
|
|
334
341
|
"icon": 'search',
|
|
335
342
|
"variant": 'outlined'
|
|
336
343
|
}
|
|
337
|
-
})]] : _vm._e()], 2)]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
344
|
+
})]] : _vm._e()], 2)] : _vm._e()], 2), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
338
345
|
attrs: {
|
|
339
346
|
"disabled": _vm.disabled
|
|
340
347
|
},
|
|
@@ -363,14 +370,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
363
370
|
/* style */
|
|
364
371
|
const __vue_inject_styles__ = function (inject) {
|
|
365
372
|
if (!inject) return;
|
|
366
|
-
inject("data-v-
|
|
367
|
-
source: "input[data-v-
|
|
373
|
+
inject("data-v-48b71ae8_0", {
|
|
374
|
+
source: "input[data-v-48b71ae8]{min-width:0;background:0 0;outline:0}input[type=number][data-v-48b71ae8]::-webkit-inner-spin-button{display:none}input[type=search][data-v-48b71ae8]::-webkit-search-cancel-button{display:none}",
|
|
368
375
|
map: undefined,
|
|
369
376
|
media: undefined
|
|
370
377
|
});
|
|
371
378
|
};
|
|
372
379
|
/* scoped */
|
|
373
|
-
const __vue_scope_id__ = "data-v-
|
|
380
|
+
const __vue_scope_id__ = "data-v-48b71ae8";
|
|
374
381
|
/* module identifier */
|
|
375
382
|
const __vue_module_identifier__ = undefined;
|
|
376
383
|
/* functional template */
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
+
import { I as InputBoxVariant, a as InputBoxSize } from './props-78496a2d.js';
|
|
2
3
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
4
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
6
|
|
|
6
|
-
var InputBoxVariant;
|
|
7
|
-
(function (InputBoxVariant) {
|
|
8
|
-
InputBoxVariant["Styled"] = "styled";
|
|
9
|
-
InputBoxVariant["Unstyled"] = "unstyled";
|
|
10
|
-
})(InputBoxVariant || (InputBoxVariant = {}));
|
|
11
|
-
var InputBoxSize;
|
|
12
|
-
(function (InputBoxSize) {
|
|
13
|
-
InputBoxSize["M"] = "m";
|
|
14
|
-
InputBoxSize["S"] = "s";
|
|
15
|
-
})(InputBoxSize || (InputBoxSize = {}));
|
|
16
|
-
|
|
17
7
|
const InputBoxRoot = [
|
|
18
8
|
// Layout
|
|
19
9
|
'layout-row',
|
|
@@ -46,14 +36,14 @@ const InputBoxRootSizes = {
|
|
|
46
36
|
// Box
|
|
47
37
|
'children:min-h-[34px]',
|
|
48
38
|
// Spacing
|
|
49
|
-
'first-child:pl-md first-child:md:pl-sm+', '
|
|
39
|
+
'first-child:pl-md first-child:md:pl-sm+', 'intermediate-child:pt-[11px] intermediate-child:md:pt-[7px]', 'intermediate-child:pb-[11px] intermediate-child:md:pb-[6px]', 'last-child:pr-md last-child:md:pr-sm+', 'gap-sm+ md:gap-sm',
|
|
50
40
|
// Typography
|
|
51
41
|
'typography-body-2-regular'],
|
|
52
42
|
's': [
|
|
53
43
|
// Box
|
|
54
44
|
'children:min-h-[30px]',
|
|
55
45
|
// Spacing
|
|
56
|
-
'first-child:pl-sm', '
|
|
46
|
+
'first-child:pl-sm', 'intermediate-child:py-[6px]', 'last-child:pr-sm', 'gap-[6px]',
|
|
57
47
|
// Typography
|
|
58
48
|
'typography-caption-regular']
|
|
59
49
|
};
|
|
@@ -137,4 +127,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
137
127
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
138
128
|
var OrInputBox = __vue_component__;
|
|
139
129
|
|
|
140
|
-
export {
|
|
130
|
+
export { OrInputBox as O };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import { O as OrInput } from './OrInput-
|
|
3
|
+
import { O as OrInput } from './OrInput-0a3666aa.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
5
5
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
|
-
import { a as InputBoxSize } from './
|
|
6
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
@@ -4,8 +4,8 @@ import { O as OrError } from './OrError-aad17598.js';
|
|
|
4
4
|
import { O as OrExpansionPanel } from './OrExpansionPanel-995caa85.js';
|
|
5
5
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
6
6
|
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
7
|
-
import { O as OrInput } from './OrInput-
|
|
8
|
-
import { O as OrInputBox
|
|
7
|
+
import { O as OrInput } from './OrInput-0a3666aa.js';
|
|
8
|
+
import { O as OrInputBox } from './OrInputBox-dfdcbdce.js';
|
|
9
9
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
10
10
|
import { O as OrMenuItem } from './OrMenuItem-26420908.js';
|
|
11
11
|
import { O as OrPopover } from './OrPopover-5dc240f1.js';
|
|
@@ -14,6 +14,7 @@ import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.
|
|
|
14
14
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
15
15
|
import { u as useOverflow } from './useOverflow-bae6342f.js';
|
|
16
16
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
17
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
17
18
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
19
|
|
|
19
20
|
const SelectRoot = [
|
|
@@ -121,6 +122,10 @@ var script = defineComponent({
|
|
|
121
122
|
type: Boolean,
|
|
122
123
|
default: false
|
|
123
124
|
},
|
|
125
|
+
disableDefaultStyles: {
|
|
126
|
+
type: Boolean,
|
|
127
|
+
default: false
|
|
128
|
+
},
|
|
124
129
|
enableSearch: {
|
|
125
130
|
type: Boolean,
|
|
126
131
|
default: false
|
|
@@ -326,6 +331,7 @@ var __vue_render__ = function () {
|
|
|
326
331
|
ref: "inputBox",
|
|
327
332
|
class: [_vm.popoverState === 'open' && 'rounded-b-0'],
|
|
328
333
|
attrs: {
|
|
334
|
+
"variant": _vm.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
329
335
|
"size": _vm.size,
|
|
330
336
|
"invalid": _vm.invalid,
|
|
331
337
|
"readonly": _vm.readonly,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { O as OrError } from './OrError-aad17598.js';
|
|
3
3
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
4
|
-
import { O as OrInputBox
|
|
4
|
+
import { O as OrInputBox } from './OrInputBox-dfdcbdce.js';
|
|
5
5
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
6
6
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
7
7
|
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
8
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
10
11
|
|
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-0e91a808.js';
|
|
9
9
|
export { O as OrCard } from '../OrCard-a6b30f8f.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-89428bbf.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-3d1b3b9a.js';
|
|
12
12
|
export { O as OrCardV3 } from '../OrCard-58a1ba3e.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-6da755c0.js';
|
|
14
14
|
export { O as OrCheckbox } from '../OrCheckbox-4cbddd67.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-edc7a1f5.js';
|
|
|
19
19
|
export { O as OrCollapse } from '../OrCollapse-3aa9a9b7.js';
|
|
20
20
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-a1a37e83.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-56d01cff.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-43626f94.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-e212f892.js';
|
|
24
24
|
export { O as OrError } from '../OrError-31503e4c.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-d0c5bcf4.js';
|
|
@@ -36,8 +36,9 @@ export { I as InlineInputBoxSize, I as InlineInputSize, O as OrInlineInputBoxV3
|
|
|
36
36
|
export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-9add2e1e.js';
|
|
37
37
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-7262efdf.js';
|
|
38
38
|
export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-9c6f9044.js';
|
|
39
|
-
export {
|
|
40
|
-
export { I as
|
|
39
|
+
export { O as OrInputBoxV3 } from '../OrInputBox-dfdcbdce.js';
|
|
40
|
+
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, a as SearchSize, a as SelectSize, a as TextareaSize } from '../props-78496a2d.js';
|
|
41
|
+
export { I as InputType, O as OrInputV3 } from '../OrInput-0a3666aa.js';
|
|
41
42
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from '../OrPassword-7da938aa.js';
|
|
42
43
|
export { O as OrInput } from '../OrInput-08f2f666.js';
|
|
43
44
|
export { O as OrSearch } from '../OrSearch-f7cfa52f.js';
|
|
@@ -63,10 +64,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
63
64
|
export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
|
|
64
65
|
export { _ as OrRadioGroup } from '../OrRadioGroup-aa9f0757.js';
|
|
65
66
|
export { _ as OrRadioV3 } from '../OrRadio-cd39b20b.js';
|
|
66
|
-
export { _ as OrSearchV3 } from '../OrSearch-
|
|
67
|
+
export { _ as OrSearchV3 } from '../OrSearch-847c1bab.js';
|
|
67
68
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-21cc914e.js';
|
|
68
69
|
export { _ as OrSelect } from '../OrSelect-a23d4210.js';
|
|
69
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
70
|
+
export { _ as OrSelectV3 } from '../OrSelect-41c6588d.js';
|
|
70
71
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
|
|
71
72
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614.js';
|
|
72
73
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.js';
|
|
@@ -86,7 +87,7 @@ export { O as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-6440aa89.
|
|
|
86
87
|
export { O as OrTeleport } from '../OrTeleportVue2-3544f185.js';
|
|
87
88
|
export { O as OrTeleportV3 } from '../OrTeleport.vue2-e9ba3054.js';
|
|
88
89
|
export { _ as OrTextV3 } from '../OrText-eac4b9f5.js';
|
|
89
|
-
export { _ as OrTextareaV3 } from '../OrTextarea-
|
|
90
|
+
export { _ as OrTextareaV3 } from '../OrTextarea-ff2ba975.js';
|
|
90
91
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-eacd9b19.js';
|
|
91
92
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-1faa828c.js';
|
|
92
93
|
export { O as OrToast, _ as OrToastContainer } from '../OrToastContainer-b03adc37.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-3d1b3b9a.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -17,10 +17,11 @@ import '../../OrTeleport.vue2-e9ba3054.js';
|
|
|
17
17
|
import 'portal-vue';
|
|
18
18
|
import '../../useElevation-aac032f4.js';
|
|
19
19
|
import '../../useResponsive-e13dfbb0.js';
|
|
20
|
-
import '../../OrInput-
|
|
20
|
+
import '../../OrInput-0a3666aa.js';
|
|
21
21
|
import '../../OrError-aad17598.js';
|
|
22
22
|
import '../../OrHint-f38a1940.js';
|
|
23
|
-
import '../../OrInputBox-
|
|
23
|
+
import '../../OrInputBox-dfdcbdce.js';
|
|
24
|
+
import '../../props-78496a2d.js';
|
|
24
25
|
import '../../OrLabel-172c4b89.js';
|
|
25
26
|
import '../../browser-82dea9ed.js';
|
|
26
27
|
import '../../OrSortHeader-396e6a7c.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
3
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
+
} | string[], {} & {}, {
|
|
5
|
+
[x: number]: string;
|
|
6
|
+
} | {}, true>)>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
9
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
+
} | string[], {} & {}, {
|
|
11
|
+
[x: number]: string;
|
|
12
|
+
} | {}, true>)>;
|
|
13
|
+
export declare const Addon: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
14
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
15
|
+
} | string[], {} & {}, {
|
|
16
|
+
[x: number]: string;
|
|
17
|
+
} | {}, true>)>;
|
|
18
|
+
export declare const Hint: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
+
} | string[], {} & {}, {
|
|
21
|
+
[x: number]: string;
|
|
22
|
+
} | {}, true>)>;
|
|
23
|
+
export declare const Error: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
24
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
25
|
+
} | string[], {} & {}, {
|
|
26
|
+
[x: number]: string;
|
|
27
|
+
} | {}, true>)>;
|
|
@@ -0,0 +1,98 @@
|
|
|
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 | undefined)[]>;
|
|
6
|
+
controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
8
|
+
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
9
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
10
|
+
size: {
|
|
11
|
+
type: PropType<CombinedInputSize>;
|
|
12
|
+
default: CombinedInputSize;
|
|
13
|
+
};
|
|
14
|
+
label: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
hint: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
error: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
required: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
disableDefaultStyles: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
39
|
+
size: {
|
|
40
|
+
type: PropType<CombinedInputSize>;
|
|
41
|
+
default: CombinedInputSize;
|
|
42
|
+
};
|
|
43
|
+
label: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
hint: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
error: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
required: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
disableDefaultStyles: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
68
|
+
size: CombinedInputSize;
|
|
69
|
+
label: string;
|
|
70
|
+
hint: string;
|
|
71
|
+
error: string;
|
|
72
|
+
required: boolean;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
disableDefaultStyles: boolean;
|
|
75
|
+
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
76
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
77
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
78
|
+
controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
|
|
79
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
80
|
+
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
81
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
82
|
+
size: CombinedInputSize;
|
|
83
|
+
label: string;
|
|
84
|
+
hint: string;
|
|
85
|
+
error: string;
|
|
86
|
+
required: boolean;
|
|
87
|
+
disabled: boolean;
|
|
88
|
+
disableDefaultStyles: boolean;
|
|
89
|
+
} & {}, {
|
|
90
|
+
size: CombinedInputSize;
|
|
91
|
+
label: string;
|
|
92
|
+
hint: string;
|
|
93
|
+
error: string;
|
|
94
|
+
required: boolean;
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
disableDefaultStyles: boolean;
|
|
97
|
+
}, true>);
|
|
98
|
+
export default _default;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import '../../index-fa6eb4ca.js';
|
|
2
|
+
import { O as OrError } from '../../OrError-aad17598.js';
|
|
3
|
+
import { O as OrHint } from '../../OrHint-f38a1940.js';
|
|
4
|
+
import { O as OrLabel } from '../../OrLabel-172c4b89.js';
|
|
5
|
+
import { u as useClassAttribute } from '../../useClassAttribute-9bf33346.js';
|
|
6
|
+
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
7
|
+
import { a as InputBoxSize } from '../../props-78496a2d.js';
|
|
8
|
+
export { a as CombinedInputSize } from '../../props-78496a2d.js';
|
|
9
|
+
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
10
|
+
import 'vue';
|
|
11
|
+
|
|
12
|
+
const CombinedInputRoot = [
|
|
13
|
+
// Layout
|
|
14
|
+
'layout-column',
|
|
15
|
+
// Spacing
|
|
16
|
+
'gap-xs'];
|
|
17
|
+
const CombinedInputControlGroup = [
|
|
18
|
+
// Layout
|
|
19
|
+
'layout-row',
|
|
20
|
+
// Box
|
|
21
|
+
'w-full',
|
|
22
|
+
// Shape (.or-input-box)
|
|
23
|
+
'[&_.or-input-box]:first-child:rounded-r-none', '[&_.or-input-box]:intermediate-child:rounded-none', '[&_.or-input-box]:last-child:rounded-l-none',
|
|
24
|
+
// Spacing (children)
|
|
25
|
+
'[&_.or-input-box]:first-child:mr-[-1px]', '[&_.or-input-box]:intermediate-child:border-x-0', '[&_.or-input-box]:last-child:ml-[-1px]'];
|
|
26
|
+
|
|
27
|
+
var script = defineComponent({
|
|
28
|
+
name: 'OrCombinedInput',
|
|
29
|
+
components: {
|
|
30
|
+
OrError,
|
|
31
|
+
OrHint,
|
|
32
|
+
OrLabel
|
|
33
|
+
},
|
|
34
|
+
inheritAttrs: false,
|
|
35
|
+
props: {
|
|
36
|
+
size: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: InputBoxSize.M
|
|
39
|
+
},
|
|
40
|
+
label: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: undefined
|
|
43
|
+
},
|
|
44
|
+
hint: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: undefined
|
|
47
|
+
},
|
|
48
|
+
error: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: undefined
|
|
51
|
+
},
|
|
52
|
+
required: {
|
|
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 classAttribute = useClassAttribute();
|
|
70
|
+
const rootStyles = computed(() => ['or-combined-input', ...CombinedInputRoot, classAttribute.value]);
|
|
71
|
+
const controlGroup = computed(() => [...CombinedInputControlGroup]);
|
|
72
|
+
// State
|
|
73
|
+
const invalid = computed(() => !!props.error);
|
|
74
|
+
const readonly = computed(() => context.attrs.readonly);
|
|
75
|
+
return {
|
|
76
|
+
root,
|
|
77
|
+
rootStyles,
|
|
78
|
+
controlGroup,
|
|
79
|
+
invalid,
|
|
80
|
+
readonly
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
/* script */
|
|
86
|
+
const __vue_script__ = script;
|
|
87
|
+
|
|
88
|
+
/* template */
|
|
89
|
+
var __vue_render__ = function () {
|
|
90
|
+
var _vm = this;
|
|
91
|
+
var _h = _vm.$createElement;
|
|
92
|
+
var _c = _vm._self._c || _h;
|
|
93
|
+
return _c('div', _vm._b({
|
|
94
|
+
ref: "root",
|
|
95
|
+
class: _vm.rootStyles
|
|
96
|
+
}, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
|
|
97
|
+
attrs: {
|
|
98
|
+
"variant": 'input',
|
|
99
|
+
"required": _vm.required,
|
|
100
|
+
"disabled": _vm.disabled
|
|
101
|
+
},
|
|
102
|
+
scopedSlots: _vm._u([{
|
|
103
|
+
key: "addon",
|
|
104
|
+
fn: function () {
|
|
105
|
+
return [_vm._t("addon")];
|
|
106
|
+
},
|
|
107
|
+
proxy: true
|
|
108
|
+
}], null, true)
|
|
109
|
+
}, [_vm._v("\n " + _vm._s(_vm.label) + "\n\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
|
|
110
|
+
class: _vm.controlGroup
|
|
111
|
+
}, [_vm._t("default", null, {
|
|
112
|
+
"size": _vm.size,
|
|
113
|
+
"required": _vm.required,
|
|
114
|
+
"readonly": _vm.readonly,
|
|
115
|
+
"disabled": _vm.disabled,
|
|
116
|
+
"disableDefaultStyles": _vm.disableDefaultStyles
|
|
117
|
+
})], 2), _vm._v(" "), !_vm.invalid ? [_vm.hint ? [_c('OrHint', {
|
|
118
|
+
attrs: {
|
|
119
|
+
"disabled": _vm.disabled
|
|
120
|
+
}
|
|
121
|
+
}, [_vm._v("\n " + _vm._s(_vm.hint) + "\n ")])] : _vm._e()] : [_c('OrError', {
|
|
122
|
+
attrs: {
|
|
123
|
+
"disabled": _vm.disabled
|
|
124
|
+
}
|
|
125
|
+
}, [_vm._v("\n " + _vm._s(_vm.error) + "\n ")])]], 2);
|
|
126
|
+
};
|
|
127
|
+
var __vue_staticRenderFns__ = [];
|
|
128
|
+
|
|
129
|
+
/* style */
|
|
130
|
+
const __vue_inject_styles__ = undefined;
|
|
131
|
+
/* scoped */
|
|
132
|
+
const __vue_scope_id__ = undefined;
|
|
133
|
+
/* module identifier */
|
|
134
|
+
const __vue_module_identifier__ = undefined;
|
|
135
|
+
/* functional template */
|
|
136
|
+
const __vue_is_functional_template__ = false;
|
|
137
|
+
/* style inject */
|
|
138
|
+
|
|
139
|
+
/* style inject SSR */
|
|
140
|
+
|
|
141
|
+
/* style inject shadow dom */
|
|
142
|
+
|
|
143
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
144
|
+
render: __vue_render__,
|
|
145
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
146
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
147
|
+
var __vue_component__$1 = __vue_component__;
|
|
148
|
+
|
|
149
|
+
export { __vue_component__$1 as OrCombinedInputV3 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-43626f94.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -12,7 +12,7 @@ import '../../useClassAttribute-9bf33346.js';
|
|
|
12
12
|
import '../../useElevation-aac032f4.js';
|
|
13
13
|
import '../../OrButton-0e91a808.js';
|
|
14
14
|
import '../../OrLoader-6a1f937b.js';
|
|
15
|
-
import '../../OrInput-
|
|
15
|
+
import '../../OrInput-0a3666aa.js';
|
|
16
16
|
import '../../OrError-aad17598.js';
|
|
17
17
|
import '../../OrHint-f38a1940.js';
|
|
18
18
|
import '../../OrIcon-8625385f.js';
|
|
@@ -22,6 +22,7 @@ import '../../OrPopover-5dc240f1.js';
|
|
|
22
22
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
23
23
|
import '../../OrBottomSheet-1cd1ab4c.js';
|
|
24
24
|
import '../../useResponsive-e13dfbb0.js';
|
|
25
|
-
import '../../OrInputBox-
|
|
25
|
+
import '../../OrInputBox-dfdcbdce.js';
|
|
26
|
+
import '../../props-78496a2d.js';
|
|
26
27
|
import '../../OrLabel-172c4b89.js';
|
|
27
28
|
import '../../browser-82dea9ed.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { O as OrInputBoxV3 } from '../../OrInputBox-dfdcbdce.js';
|
|
2
|
+
export { a as InputBoxSize, I as InputBoxVariant } from '../../props-78496a2d.js';
|
|
2
3
|
import '../../index-fa6eb4ca.js';
|
|
3
4
|
import 'vue';
|
|
4
5
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|