@onereach/ui-components 2.69.2-beta.2106.0 → 2.69.2-beta.2108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrButton-66d37aff.js → OrButton-0e91a808.js} +1 -14
- package/dist/bundled/v2/{OrCardCollection-a9a779ea.js → OrCardCollection-3d1b3b9a.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-e1ca1422.js → OrConfirm-43626f94.js} +2 -2
- 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-ff9e4fbd.js → OrSelect-41c6588d.js} +11 -5
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-ff2ba975.js} +2 -1
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +9 -9
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- 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 +5 -4
- 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 +25 -14
- package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/index.js +10 -10
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-06d8ead1.js → OrButton.vue_vue_type_script_lang-3718b300.js} +1 -13
- 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-f1b81f00.js → OrConfirm.vue_vue_type_script_lang-338631e0.js} +38 -8
- 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-05b03858.js → OrSelect.vue_vue_type_script_lang-cf991ed8.js} +11 -6
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-919b2021.js} +36 -10
- 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.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +12 -14
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- 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 +7 -7
- 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 +25 -14
- package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/index.js +162 -242
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/esm/v2/{OrButton-3d4fc9da.js → OrButton-357a5756.js} +1 -14
- package/dist/esm/v2/{OrCardCollection-4f001551.js → OrCardCollection-09e4cb8a.js} +1 -1
- package/dist/esm/v2/{OrConfirm-ba3f8c45.js → OrConfirm-93376443.js} +2 -2
- 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-651bb83e.js → OrSelect-633a9e09.js} +11 -5
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-823d0529.js} +2 -1
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +9 -9
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- 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 +5 -4
- 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 +25 -14
- package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-select-v3/index.js +4 -3
- package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/index.js +9 -9
- package/dist/esm/v3/{OrButton-970ae320.js → OrButton-f4b9ee51.js} +2 -15
- package/dist/esm/v3/{OrCardCollection-5a0febaf.js → OrCardCollection-37226d46.js} +1 -1
- package/dist/esm/v3/{OrConfirm-7cb2f36b.js → OrConfirm-b27e7221.js} +2 -2
- 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-28a175dc.js → OrSelect-cba3966c.js} +11 -6
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-b3ecc40d.js} +1 -1
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +8 -9
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- 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 +4 -4
- 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 +25 -14
- package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/index.js +8 -9
- package/package.json +2 -2
- package/src/components/index.ts +0 -1
- package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
- package/src/components/or-button-v3/OrButton.vue +0 -6
- package/src/components/or-button-v3/styles.ts +1 -15
- 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 +9 -3
- package/src/components/or-select-v3/index.ts +0 -1
- package/src/components/or-select-v3/types.ts +1 -1
- package/dist/bundled/v2/OrPagination-354e9abd.js +0 -296
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
- package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/bundled/v3/OrButton-9640286b.js +0 -34
- package/dist/bundled/v3/OrMenu-f26e8e55.js +0 -29
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-ff22b11c.js +0 -180
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
- package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v2/OrPagination-a56eb93b.js +0 -296
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
- package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v3/OrPagination-d351a13b.js +0 -257
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
- package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
- package/src/components/or-pagination-v3/OrPagination.vue +0 -260
- package/src/components/or-pagination-v3/index.ts +0 -2
- package/src/components/or-pagination-v3/styles.ts +0 -30
- package/src/components/or-pagination-v3/types.ts +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
5
|
-
import { a as InputBoxSize } from './OrInputBox-
|
|
4
|
+
import { s as script$1 } from './OrInput-99776ffe.js';
|
|
5
|
+
import { a as InputBoxSize } from './OrInputBox-36c102a4.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
8
8
|
var script = defineComponent({
|
|
@@ -8,8 +8,8 @@ import { s as script$2 } from './OrError-ec8c709d.js';
|
|
|
8
8
|
import { s as script$3 } from './OrExpansionPanel-311e64cf.js';
|
|
9
9
|
import { s as script$4 } from './OrHint-74bb732d.js';
|
|
10
10
|
import { s as script$5 } from './OrIcon-b195169c.js';
|
|
11
|
-
import { s as script$7, a as InputBoxSize } from './OrInputBox-
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$7, a as InputBoxSize } from './OrInputBox-36c102a4.js';
|
|
12
|
+
import { s as script$6 } from './OrInput-99776ffe.js';
|
|
13
13
|
import { s as script$8 } from './OrLabel-bdaec602.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-9da279f6.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-1075dd38.js';
|
|
@@ -82,11 +82,11 @@ var script = defineComponent({
|
|
|
82
82
|
default: []
|
|
83
83
|
},
|
|
84
84
|
modelValue: {
|
|
85
|
-
type: [String,
|
|
85
|
+
type: [String, Array],
|
|
86
86
|
default: undefined
|
|
87
87
|
},
|
|
88
88
|
value: {
|
|
89
|
-
type: [String,
|
|
89
|
+
type: [String, Array],
|
|
90
90
|
default: undefined
|
|
91
91
|
},
|
|
92
92
|
multiple: {
|
|
@@ -121,6 +121,10 @@ var script = defineComponent({
|
|
|
121
121
|
type: Boolean,
|
|
122
122
|
default: false
|
|
123
123
|
},
|
|
124
|
+
disableDefaultStyles: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
default: false
|
|
127
|
+
},
|
|
124
128
|
enableSearch: {
|
|
125
129
|
type: Boolean,
|
|
126
130
|
default: false
|
|
@@ -322,6 +326,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
322
326
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), withDirectives((openBlock(), createBlock(_component_OrInputBox, {
|
|
323
327
|
ref: "inputBox",
|
|
324
328
|
class: normalizeClass([_ctx.popoverState === 'open' && 'rounded-b-0']),
|
|
329
|
+
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
325
330
|
size: _ctx.size,
|
|
326
331
|
invalid: _ctx.invalid,
|
|
327
332
|
readonly: _ctx.readonly,
|
|
@@ -335,7 +340,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
335
340
|
disabled: _ctx.disabled,
|
|
336
341
|
onFocus: _cache[0] || (_cache[0] = $event => _ctx.$emit('focus', $event)),
|
|
337
342
|
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event))
|
|
338
|
-
}, [_ctx.proxyModelValue
|
|
343
|
+
}, [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
339
344
|
key: 0
|
|
340
345
|
}, [_ctx.multiple ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
341
346
|
key: 0,
|
|
@@ -471,7 +476,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
471
476
|
_: 3 /* FORWARDED */
|
|
472
477
|
}, 8 /* PROPS */, ["class", "trigger"])]),
|
|
473
478
|
_: 3 /* FORWARDED */
|
|
474
|
-
}, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
479
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
475
480
|
key: 1
|
|
476
481
|
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
477
482
|
key: 0,
|
|
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { s as script$1 } from './OrError-ec8c709d.js';
|
|
5
5
|
import { s as script$2 } from './OrHint-74bb732d.js';
|
|
6
|
-
import { s as script$3, a as InputBoxSize } from './OrInputBox-
|
|
6
|
+
import { s as script$3, a as InputBoxSize } from './OrInputBox-36c102a4.js';
|
|
7
7
|
import { s as script$4 } from './OrLabel-bdaec602.js';
|
|
8
8
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -52,7 +52,6 @@ export * from './or-notification-v3';
|
|
|
52
52
|
export * from './or-overflow-menu';
|
|
53
53
|
export * from './or-overlay';
|
|
54
54
|
export * from './or-overlay-v3';
|
|
55
|
-
export * from './or-pagination-v3';
|
|
56
55
|
export * from './or-popover-v3';
|
|
57
56
|
export * from './or-progress';
|
|
58
57
|
export * from './or-progress-v3';
|
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from '../OrBottomSheet-62817aec.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from '../OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from '../OrIconButton-8be9c89f.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-f4b9ee51.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection-
|
|
9
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection-37226d46.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-ee19a5e6.js';
|
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-b27e7221.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
|
|
@@ -33,8 +33,8 @@ export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3
|
|
|
33
33
|
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-31026cd0.js';
|
|
34
34
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
|
|
35
35
|
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-b28c3d8c.js';
|
|
36
|
-
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-
|
|
37
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
36
|
+
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-36c102a4.js';
|
|
37
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-99776ffe.js';
|
|
38
38
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from '../OrSearch-7cb2c91c.js';
|
|
39
39
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
40
40
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-bdaec602.js';
|
|
@@ -53,16 +53,15 @@ export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificati
|
|
|
53
53
|
export { s as OrOverflowMenu } from '../OrOverflowMenu-e82cbcbe.js';
|
|
54
54
|
export { s as OrOverlay } from '../OrOverlay-451dce49.js';
|
|
55
55
|
export { s as OrOverlayV3 } from '../OrOverlay-738a44d5.js';
|
|
56
|
-
export { s as OrPaginationV3 } from '../OrPagination-d351a13b.js';
|
|
57
56
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-d0d52c86.js';
|
|
58
57
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-407002e0.js';
|
|
59
58
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
60
59
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
61
60
|
export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
62
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from '../OrSearch-188c643f.js';
|
|
63
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
64
63
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
65
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
64
|
+
export { s as OrSelectV3 } from '../OrSelect-cba3966c.js';
|
|
66
65
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
67
66
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
|
|
68
67
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
|
|
@@ -82,7 +81,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-c0bbaa58.
|
|
|
82
81
|
export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
|
|
83
82
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
84
83
|
export { s as OrTextV3 } from '../OrText-ecb46923.js';
|
|
85
|
-
export { s as OrTextareaV3 } from '../OrTextarea-
|
|
84
|
+
export { s as OrTextareaV3 } from '../OrTextarea-b3ecc40d.js';
|
|
86
85
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-2f33e9c3.js';
|
|
87
86
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-40c4c1c8.js';
|
|
88
87
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
@@ -16,10 +16,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
16
16
|
type: PropType<ButtonColor>;
|
|
17
17
|
default: ButtonColor;
|
|
18
18
|
};
|
|
19
|
-
activated: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
19
|
disabled: {
|
|
24
20
|
type: BooleanConstructor;
|
|
25
21
|
default: boolean;
|
|
@@ -45,10 +41,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
45
41
|
type: PropType<ButtonColor>;
|
|
46
42
|
default: ButtonColor;
|
|
47
43
|
};
|
|
48
|
-
activated: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
44
|
disabled: {
|
|
53
45
|
type: BooleanConstructor;
|
|
54
46
|
default: boolean;
|
|
@@ -62,7 +54,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
62
54
|
default: string;
|
|
63
55
|
};
|
|
64
56
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
65
|
-
activated: boolean;
|
|
66
57
|
type: ButtonType;
|
|
67
58
|
variant: ButtonVariant;
|
|
68
59
|
color: ButtonColor;
|
|
@@ -75,7 +66,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
75
66
|
root: import("@vue/composition-api").Ref<HTMLButtonElement | undefined>;
|
|
76
67
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | false | undefined)[]>;
|
|
77
68
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
78
|
-
activated: boolean;
|
|
79
69
|
type: ButtonType;
|
|
80
70
|
variant: ButtonVariant;
|
|
81
71
|
color: ButtonColor;
|
|
@@ -85,7 +75,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
85
75
|
} & {} & {
|
|
86
76
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
87
77
|
}, {
|
|
88
|
-
activated: boolean;
|
|
89
78
|
type: ButtonType;
|
|
90
79
|
variant: ButtonVariant;
|
|
91
80
|
color: ButtonColor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-
|
|
1
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-f4b9ee51.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../../OrCardCollection-37226d46.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -14,10 +14,10 @@ import '../../useResponsive-a02e95b7.js';
|
|
|
14
14
|
import '../../OrBottomSheet-62817aec.js';
|
|
15
15
|
import '../../OrOverlay-738a44d5.js';
|
|
16
16
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
17
|
-
import '../../OrInput-
|
|
17
|
+
import '../../OrInput-99776ffe.js';
|
|
18
18
|
import '../../OrError-ec8c709d.js';
|
|
19
19
|
import '../../OrHint-74bb732d.js';
|
|
20
|
-
import '../../OrInputBox-
|
|
20
|
+
import '../../OrInputBox-36c102a4.js';
|
|
21
21
|
import '../../OrLabel-bdaec602.js';
|
|
22
22
|
import '../../style-inject.es-4c6f2515.js';
|
|
23
23
|
import '../../OrSortHeader-fe1a9cf8.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,132 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from '../../useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$1 } from '../../OrError-ec8c709d.js';
|
|
5
|
+
import { s as script$2 } from '../../OrHint-74bb732d.js';
|
|
6
|
+
import { s as script$3 } from '../../OrLabel-bdaec602.js';
|
|
7
|
+
import { a as InputBoxSize } from '../../OrInputBox-36c102a4.js';
|
|
8
|
+
export { a as CombinedInputSize } from '../../OrInputBox-36c102a4.js';
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeClass, Fragment } from 'vue';
|
|
10
|
+
|
|
11
|
+
const CombinedInputRoot = [
|
|
12
|
+
// Layout
|
|
13
|
+
'layout-column',
|
|
14
|
+
// Spacing
|
|
15
|
+
'gap-xs'];
|
|
16
|
+
const CombinedInputControlGroup = [
|
|
17
|
+
// Layout
|
|
18
|
+
'layout-row',
|
|
19
|
+
// Box
|
|
20
|
+
'w-full',
|
|
21
|
+
// Shape (.or-input-box)
|
|
22
|
+
'[&_.or-input-box]:first-child:rounded-r-none', '[&_.or-input-box]:intermediate-child:rounded-none', '[&_.or-input-box]:last-child:rounded-l-none',
|
|
23
|
+
// Spacing (.or-input-box)
|
|
24
|
+
'[&_.or-input-box]:first-child:mr-[-1px]', '[&_.or-input-box]:intermediate-child:border-x-0', '[&_.or-input-box]:last-child:ml-[-1px]'];
|
|
25
|
+
|
|
26
|
+
var script = defineComponent({
|
|
27
|
+
name: 'OrCombinedInput',
|
|
28
|
+
components: {
|
|
29
|
+
OrError: script$1,
|
|
30
|
+
OrHint: script$2,
|
|
31
|
+
OrLabel: script$3
|
|
32
|
+
},
|
|
33
|
+
inheritAttrs: false,
|
|
34
|
+
props: {
|
|
35
|
+
size: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: InputBoxSize.M
|
|
38
|
+
},
|
|
39
|
+
label: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: undefined
|
|
42
|
+
},
|
|
43
|
+
hint: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: undefined
|
|
46
|
+
},
|
|
47
|
+
error: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: undefined
|
|
50
|
+
},
|
|
51
|
+
required: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: false
|
|
54
|
+
},
|
|
55
|
+
disabled: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
},
|
|
59
|
+
disableDefaultStyles: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: false
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
setup(props, context) {
|
|
65
|
+
// Refs
|
|
66
|
+
const root = ref();
|
|
67
|
+
// Styles
|
|
68
|
+
const classAttribute = useClassAttribute();
|
|
69
|
+
const rootStyles = computed(() => ['or-combined-input', ...CombinedInputRoot, classAttribute.value]);
|
|
70
|
+
const controlGroup = computed(() => [...CombinedInputControlGroup]);
|
|
71
|
+
// State
|
|
72
|
+
const invalid = computed(() => !!props.error);
|
|
73
|
+
const readonly = computed(() => context.attrs.readonly);
|
|
74
|
+
return {
|
|
75
|
+
root,
|
|
76
|
+
rootStyles,
|
|
77
|
+
controlGroup,
|
|
78
|
+
invalid,
|
|
79
|
+
readonly
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
85
|
+
const _component_OrLabel = resolveComponent("OrLabel");
|
|
86
|
+
const _component_OrHint = resolveComponent("OrHint");
|
|
87
|
+
const _component_OrError = resolveComponent("OrError");
|
|
88
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
89
|
+
ref: "root"
|
|
90
|
+
}, _ctx.$attrs, {
|
|
91
|
+
class: _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
|
+
required: _ctx.required,
|
|
107
|
+
readonly: _ctx.readonly,
|
|
108
|
+
disabled: _ctx.disabled,
|
|
109
|
+
disableDefaultStyles: _ctx.disableDefaultStyles
|
|
110
|
+
})], 2 /* CLASS */), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
111
|
+
key: 1
|
|
112
|
+
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
113
|
+
key: 0,
|
|
114
|
+
disabled: _ctx.disabled
|
|
115
|
+
}, {
|
|
116
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
117
|
+
|
|
118
|
+
_: 1 /* STABLE */
|
|
119
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
|
|
120
|
+
key: 2,
|
|
121
|
+
disabled: _ctx.disabled
|
|
122
|
+
}, {
|
|
123
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
124
|
+
|
|
125
|
+
_: 1 /* STABLE */
|
|
126
|
+
}, 8 /* PROPS */, ["disabled"]))], 16 /* FULL_PROPS */);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
script.render = render;
|
|
130
|
+
script.__file = "src/components/or-combined-input-v3/OrCombinedInput.vue";
|
|
131
|
+
|
|
132
|
+
export { script as OrCombinedInputV3 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-b27e7221.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
3
|
+
import '../../OrButton-f4b9ee51.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../OrLoader-b3cf4231.js';
|
|
@@ -8,7 +8,7 @@ import 'vue';
|
|
|
8
8
|
import '../../OrOverlay-738a44d5.js';
|
|
9
9
|
import '../../useElevation-31bfe1f6.js';
|
|
10
10
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
11
|
-
import '../../OrInput-
|
|
11
|
+
import '../../OrInput-99776ffe.js';
|
|
12
12
|
import '../../OrError-ec8c709d.js';
|
|
13
13
|
import '../../OrHint-74bb732d.js';
|
|
14
14
|
import '../../OrIconButton-1eebcafc.js';
|
|
@@ -18,7 +18,7 @@ import '../../OrPopover-1075dd38.js';
|
|
|
18
18
|
import '@floating-ui/dom';
|
|
19
19
|
import '../../useResponsive-a02e95b7.js';
|
|
20
20
|
import '../../OrBottomSheet-62817aec.js';
|
|
21
|
-
import '../../OrInputBox-
|
|
21
|
+
import '../../OrInputBox-36c102a4.js';
|
|
22
22
|
import '../../OrLabel-bdaec602.js';
|
|
23
23
|
import '../../style-inject.es-4c6f2515.js';
|
|
24
24
|
import '@vueuse/math';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as InputBoxSize, I as InputBoxVariant, s as OrInputBoxV3 } from '../../OrInputBox-
|
|
1
|
+
export { a as InputBoxSize, I as InputBoxVariant, s as OrInputBoxV3 } from '../../OrInputBox-36c102a4.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput-
|
|
2
|
-
export { a as InputSize } from '../../OrInputBox-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-99776ffe.js';
|
|
2
|
+
export { a as InputSize } from '../../OrInputBox-36c102a4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
2
|
-
export { a as SearchSize } from '../../OrInputBox-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-188c643f.js';
|
|
2
|
+
export { a as SearchSize } from '../../OrInputBox-36c102a4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../OrInput-
|
|
6
|
+
import '../../OrInput-99776ffe.js';
|
|
7
7
|
import '../../OrError-ec8c709d.js';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import '../../OrHint-74bb732d.js';
|