@onereach/ui-components 2.70.1 → 2.70.2-beta.2199.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-0141a358.js → OrCardCollection-1bb83cfb.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-251ecafc.js} +32 -17
- package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-4cae7867.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-2133e469.js} +38 -22
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-d61ca596.js} +34 -18
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-770f1bed.js} +38 -30
- package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-468d0964.js} +1 -1
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-ae89bc9b.js} +30 -15
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-2e5f9e24.js} +1 -1
- package/dist/bundled/v2/{OrSelect-c49e1bcf.js → OrSelect-039c0711.js} +2 -2
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-20640a05.js} +30 -15
- package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-85aefcba.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-0ff8063b.js} +39 -20
- package/dist/bundled/v2/components/index.js +15 -13
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/hooks/index.d.ts +3 -0
- package/dist/bundled/v2/hooks/index.js +2 -0
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v2/index.js +15 -13
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-a0f29a55.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-2024ec32.js} +22 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-7d9d3810.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-40f0073f.js} +27 -11
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js} +27 -11
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-e325a104.js} +12 -12
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-fd850b82.js} +26 -15
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-0d9daaa7.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-29e8b856.js} +22 -7
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-480f4b1c.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-58e5a52b.js → OrSelect.vue_vue_type_script_lang-7aa8956a.js} +17 -15
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-02b4913a.js} +22 -7
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-01188224.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-2fdac7b2.js} +31 -12
- package/dist/bundled/v3/components/index.js +16 -14
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/hooks/index.d.ts +3 -0
- package/dist/bundled/v3/hooks/index.js +2 -0
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v3/index.js +76 -68
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-784318ac.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-7317fe1a.js} +32 -17
- package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-3d064f6c.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-7c4f1f92.js} +38 -22
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-3381e2a9.js} +34 -18
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-e10cc643.js} +38 -30
- package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-291bd1b9.js} +1 -1
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-b0a560d2.js} +30 -15
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-1490c00b.js} +1 -1
- package/dist/esm/v2/{OrSelect-1d705445.js → OrSelect-1fbeed4f.js} +2 -2
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-133052ca.js} +30 -15
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-e5b81f4b.js} +1 -1
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a7c846da.js} +39 -20
- package/dist/esm/v2/components/index.js +15 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v2/components/or-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v2/components/or-search-v3/index.js +4 -2
- package/dist/esm/v2/components/or-select-v3/index.js +5 -3
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v2/hooks/index.d.ts +3 -0
- package/dist/esm/v2/hooks/index.js +2 -0
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v2/index.js +15 -13
- package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-110b3a0b.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-7144da06.js} +36 -19
- package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-1a38ed1b.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-a6b19dbe.js} +37 -20
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-9eb60363.js} +37 -20
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-e07ec00c.js} +37 -26
- package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-5e01a0a5.js} +1 -1
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-39d1905d.js} +34 -17
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-a60f67f0.js} +1 -1
- package/dist/esm/v3/{OrSelect-dfa4885f.js → OrSelect-2c70e384.js} +2 -2
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-3e9a699d.js} +34 -18
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-91618aab.js} +1 -1
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-fd6b9f31.js} +42 -22
- package/dist/esm/v3/components/index.js +15 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v3/components/or-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v3/components/or-search-v3/index.js +4 -2
- package/dist/esm/v3/components/or-select-v3/index.js +5 -3
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v3/hooks/index.d.ts +3 -0
- package/dist/esm/v3/hooks/index.js +2 -0
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v3/index.js +15 -13
- package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
- package/package.json +2 -3
- package/src/components/or-checkbox-v3/OrCheckbox.vue +28 -10
- package/src/components/or-inline-input-v3/OrInlineInput.vue +32 -13
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +32 -13
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +31 -19
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-radio-v3/OrRadio.vue +27 -9
- package/src/components/or-switch-v3/OrSwitch.vue +27 -9
- package/src/components/or-tabs-v3/OrTabs.vue +1 -1
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +36 -14
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useControlAttributes.ts +19 -0
- package/src/hooks/useIdAttribute.ts +9 -0
- package/src/hooks/useValidationAttributes.ts +25 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
2
|
-
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, withDirectives, createElementVNode, vModelDynamic, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, normalizeClass, withModifiers, createVNode, vShow, defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue';
|
|
2
|
+
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-2024ec32.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
import './OrHint-9592499e.js';
|
|
5
5
|
import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-5360f580.js';
|
|
6
6
|
import './OrIcon-d878b768.js';
|
|
7
|
-
import './OrInput-
|
|
7
|
+
import './OrInput-e325a104.js';
|
|
8
8
|
import './OrInputBox-eb54d73d.js';
|
|
9
9
|
import './OrLabel-c6873e79.js';
|
|
10
10
|
import './OrMenuItem-4feaba6c.js';
|
|
@@ -16,32 +16,34 @@ import { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
|
16
16
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
17
17
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
18
18
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
19
|
-
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-
|
|
19
|
+
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-fd850b82.js';
|
|
20
20
|
import { s as script$8, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
21
21
|
import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
22
22
|
import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
23
23
|
import { s as script$b } from './OrPopover.vue_vue_type_script_lang-54c7b11c.js';
|
|
24
24
|
|
|
25
|
-
const _hoisted_1$2 = ["
|
|
25
|
+
const _hoisted_1$2 = ["value", "indeterminate", "required", "disabled"];
|
|
26
26
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27
27
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
28
|
-
return openBlock(), createElementBlock("div", {
|
|
29
|
-
ref: "root"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
29
|
+
ref: "root"
|
|
30
|
+
}, _ctx.$attrs, {
|
|
31
|
+
class: _ctx.rootStyles
|
|
32
|
+
}), [withDirectives(createElementVNode("input", mergeProps({
|
|
33
|
+
ref: "control",
|
|
34
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
35
|
+
}, _ctx.controlAttributes, {
|
|
34
36
|
class: _ctx.controlStyles,
|
|
35
|
-
type:
|
|
37
|
+
type: 'checkbox',
|
|
36
38
|
value: _ctx.inputValue,
|
|
37
39
|
indeterminate: _ctx.indeterminate,
|
|
38
40
|
required: _ctx.required,
|
|
39
41
|
disabled: _ctx.disabled,
|
|
40
42
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
41
43
|
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
|
|
42
|
-
}), null, 16 /* FULL_PROPS */, _hoisted_1$2), [[
|
|
44
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_1$2), [[vModelDynamic, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
43
45
|
key: 0,
|
|
44
|
-
"control-id": _ctx.
|
|
46
|
+
"control-id": _ctx.controlAttributes.id,
|
|
45
47
|
variant: _ctx.labelVariant,
|
|
46
48
|
required: _ctx.required,
|
|
47
49
|
disabled: _ctx.disabled
|
|
@@ -50,7 +52,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50
52
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
51
53
|
|
|
52
54
|
_: 3 /* FORWARDED */
|
|
53
|
-
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)],
|
|
55
|
+
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */);
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
var css_248z = "\ninput[data-v-5358d710] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n line-height: 0;\n}\n";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, ref, computed, reactive } from 'vue';
|
|
2
2
|
import './OrLabel-c6873e79.js';
|
|
3
3
|
import './OrLoader-c4bbef2f.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
5
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
5
6
|
import { s as script$1, L as LabelVariant } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
6
7
|
import { s as script$2 } from './OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
7
8
|
|
|
@@ -97,19 +98,21 @@ var script = defineComponent({
|
|
|
97
98
|
}
|
|
98
99
|
},
|
|
99
100
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
100
|
-
expose: ['root'],
|
|
101
|
+
expose: ['root', 'focus', 'blur'],
|
|
101
102
|
setup(props, context) {
|
|
102
|
-
var _a;
|
|
103
|
-
const currentInstance = getCurrentInstance();
|
|
104
103
|
// Refs
|
|
105
104
|
const root = ref();
|
|
105
|
+
const control = ref();
|
|
106
106
|
// Styles
|
|
107
107
|
const classAttribute = useClassAttribute();
|
|
108
108
|
const rootStyles = computed(() => ['or-switch', ...SwitchRoot, classAttribute.value]);
|
|
109
109
|
const controlStyles = computed(() => [...SwitchControl, ...SwitchControlHandle]);
|
|
110
110
|
const loaderStyles = computed(() => [...SwitchLoader, ...SwitchLoaderHandle]);
|
|
111
111
|
// State
|
|
112
|
-
const
|
|
112
|
+
const controlAttributes = reactive({
|
|
113
|
+
id: useIdAttribute(),
|
|
114
|
+
...useControlAttributes()
|
|
115
|
+
});
|
|
113
116
|
const proxyModelValue = computed({
|
|
114
117
|
get: () => {
|
|
115
118
|
var _a;
|
|
@@ -121,13 +124,25 @@ var script = defineComponent({
|
|
|
121
124
|
context.emit('update:modelValue', value);
|
|
122
125
|
}
|
|
123
126
|
});
|
|
127
|
+
// Methods
|
|
128
|
+
function focus() {
|
|
129
|
+
var _a;
|
|
130
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
131
|
+
}
|
|
132
|
+
function blur() {
|
|
133
|
+
var _a;
|
|
134
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
135
|
+
}
|
|
124
136
|
return {
|
|
125
137
|
root,
|
|
138
|
+
control,
|
|
126
139
|
rootStyles,
|
|
127
140
|
controlStyles,
|
|
128
141
|
loaderStyles,
|
|
129
|
-
|
|
130
|
-
proxyModelValue
|
|
142
|
+
controlAttributes,
|
|
143
|
+
proxyModelValue,
|
|
144
|
+
focus,
|
|
145
|
+
blur
|
|
131
146
|
};
|
|
132
147
|
}
|
|
133
148
|
});
|
|
@@ -114,7 +114,7 @@ var script = defineComponent({
|
|
|
114
114
|
const activeTab = computed(() => props.items.find(({
|
|
115
115
|
value
|
|
116
116
|
}) => value === proxyModelValue.value));
|
|
117
|
-
//
|
|
117
|
+
// Methods
|
|
118
118
|
function rearrangeTabs(items, activeTab, rootElement) {
|
|
119
119
|
const {
|
|
120
120
|
children
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, ref, computed, reactive } from 'vue';
|
|
2
2
|
import './OrHint-9592499e.js';
|
|
3
3
|
import './OrInputBox-eb54d73d.js';
|
|
4
4
|
import './OrLabel-c6873e79.js';
|
|
5
5
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
6
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
7
|
+
import { u as useValidationAttributes } from './useValidationAttributes-5428d8fa.js';
|
|
6
8
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
7
9
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
8
10
|
import { s as script$3, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
@@ -63,24 +65,31 @@ var script = defineComponent({
|
|
|
63
65
|
type: Boolean,
|
|
64
66
|
default: false
|
|
65
67
|
},
|
|
68
|
+
readonly: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: false
|
|
71
|
+
},
|
|
66
72
|
disabled: {
|
|
67
73
|
type: Boolean,
|
|
68
74
|
default: false
|
|
69
75
|
}
|
|
70
76
|
},
|
|
71
77
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
72
|
-
expose: ['root'],
|
|
78
|
+
expose: ['root', 'focus', 'blur'],
|
|
73
79
|
setup(props, context) {
|
|
74
|
-
var _a;
|
|
75
|
-
const currentInstance = getCurrentInstance();
|
|
76
80
|
// Refs
|
|
77
81
|
const root = ref();
|
|
82
|
+
const control = ref();
|
|
78
83
|
// Styles
|
|
79
84
|
const classAttribute = useClassAttribute();
|
|
80
85
|
const rootStyles = computed(() => ['or-textarea', ...TextareaRoot, classAttribute.value]);
|
|
81
86
|
const controlStyles = computed(() => [...TextareaControl]);
|
|
82
87
|
// State
|
|
83
|
-
const
|
|
88
|
+
const controlAttributes = reactive({
|
|
89
|
+
id: useIdAttribute(),
|
|
90
|
+
...useControlAttributes(),
|
|
91
|
+
...useValidationAttributes()
|
|
92
|
+
});
|
|
84
93
|
const proxyModelValue = computed({
|
|
85
94
|
get: () => {
|
|
86
95
|
var _a;
|
|
@@ -92,23 +101,33 @@ var script = defineComponent({
|
|
|
92
101
|
context.emit('update:modelValue', value);
|
|
93
102
|
}
|
|
94
103
|
});
|
|
95
|
-
const invalid = computed(() => !!props.error);
|
|
96
|
-
const readonly = computed(() => context.attrs.readonly);
|
|
97
104
|
const currentLength = computed(() => {
|
|
98
105
|
var _a, _b;
|
|
99
106
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
100
107
|
});
|
|
101
|
-
const maxLength = computed(() =>
|
|
108
|
+
const maxLength = computed(() => controlAttributes.maxlength);
|
|
109
|
+
const invalid = computed(() => !!props.error);
|
|
110
|
+
// Methods
|
|
111
|
+
function focus() {
|
|
112
|
+
var _a;
|
|
113
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
114
|
+
}
|
|
115
|
+
function blur() {
|
|
116
|
+
var _a;
|
|
117
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
118
|
+
}
|
|
102
119
|
return {
|
|
103
120
|
root,
|
|
121
|
+
control,
|
|
104
122
|
rootStyles,
|
|
105
123
|
controlStyles,
|
|
106
|
-
|
|
124
|
+
controlAttributes,
|
|
107
125
|
proxyModelValue,
|
|
108
|
-
invalid,
|
|
109
|
-
readonly,
|
|
110
126
|
currentLength,
|
|
111
|
-
maxLength
|
|
127
|
+
maxLength,
|
|
128
|
+
invalid,
|
|
129
|
+
focus,
|
|
130
|
+
blur
|
|
112
131
|
};
|
|
113
132
|
}
|
|
114
133
|
});
|
|
@@ -8,18 +8,18 @@ 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, s as OrButtonV3 } from '../OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
9
9
|
export { s as OrCard } from '../OrCard.vue_vue_type_script_lang-90ba001b.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection.vue_vue_type_script_lang-d8124dda.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection.vue_vue_type_script_lang-
|
|
11
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection.vue_vue_type_script_lang-a0f29a55.js';
|
|
12
12
|
export { s as OrCardV3 } from '../OrCard.vue_vue_type_script_lang-165de137.js';
|
|
13
13
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem.vue_vue_type_script_lang-ad286afc.js';
|
|
14
14
|
export { s as OrCheckbox } from '../OrCheckbox.vue_vue_type_script_lang-d8a66818.js';
|
|
15
|
-
export { s as OrCheckboxV3 } from '../OrCheckbox.vue_vue_type_script_lang-
|
|
15
|
+
export { s as OrCheckboxV3 } from '../OrCheckbox.vue_vue_type_script_lang-2024ec32.js';
|
|
16
16
|
export { s as OrChip } from '../OrChip-5d502431.js';
|
|
17
17
|
export { s as OrChips } from '../OrChips.vue_vue_type_script_lang-69917e34.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from '../OrCode.vue_vue_type_script_lang-c55de81d.js';
|
|
19
19
|
export { s as OrCollapse } from '../OrCollapse.vue_vue_type_script_lang-65cbb754.js';
|
|
20
20
|
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.vue_vue_type_script_lang-4141378d.js';
|
|
21
21
|
export { s as OrConfirm } from '../OrConfirm.vue_vue_type_script_lang-0f16fc67.js';
|
|
22
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-
|
|
22
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-7d9d3810.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js';
|
|
24
24
|
export { s as OrError } from '../OrError.vue_vue_type_script_lang-7c39e012.js';
|
|
25
25
|
export { s as OrErrorTagV3 } from '../OrErrorTag.vue_vue_type_script_lang-4828c387.js';
|
|
@@ -34,11 +34,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon.vue_v
|
|
|
34
34
|
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton.vue_vue_type_script_lang-aefcf30d.js';
|
|
35
35
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
36
36
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
|
|
37
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput.vue_vue_type_script_lang-
|
|
37
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput.vue_vue_type_script_lang-40f0073f.js';
|
|
38
38
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js';
|
|
39
|
-
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea.vue_vue_type_script_lang-
|
|
39
|
+
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js';
|
|
40
40
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
41
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput.vue_vue_type_script_lang-
|
|
41
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput.vue_vue_type_script_lang-fd850b82.js';
|
|
42
42
|
export { a as OrNumberInput, b as OrPassword, s as OrTextarea } from '../OrPassword.vue_vue_type_script_lang-13bc5b00.js';
|
|
43
43
|
export { s as OrInput } from '../OrInput-7d4b571a.js';
|
|
44
44
|
export { s as OrSearch } from '../OrSearch.vue_vue_type_script_lang-16fbccc0.js';
|
|
@@ -59,16 +59,16 @@ export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificati
|
|
|
59
59
|
export { s as OrOverflowMenu } from '../OrOverflowMenu.vue_vue_type_script_lang-0397533d.js';
|
|
60
60
|
export { s as OrOverlay } from '../OrOverlay.vue_vue_type_script_lang-b9bf5e50.js';
|
|
61
61
|
export { s as OrOverlayV3 } from '../OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
62
|
-
export { s as OrPaginationV3 } from '../OrPagination.vue_vue_type_script_lang-
|
|
62
|
+
export { s as OrPaginationV3 } from '../OrPagination.vue_vue_type_script_lang-0d9daaa7.js';
|
|
63
63
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress.vue_vue_type_script_lang-3f9ec654.js';
|
|
64
64
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress.vue_vue_type_script_lang-a73c0acf.js';
|
|
65
65
|
export { s as OrRadio } from '../OrRadio.vue_vue_type_script_lang-c956b54b.js';
|
|
66
66
|
export { s as OrRadioGroup } from '../OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js';
|
|
67
|
-
export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-
|
|
68
|
-
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-
|
|
67
|
+
export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-29e8b856.js';
|
|
68
|
+
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-480f4b1c.js';
|
|
69
69
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
|
|
70
70
|
export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-26c0a70a.js';
|
|
71
|
-
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-
|
|
71
|
+
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-7aa8956a.js';
|
|
72
72
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar.vue_vue_type_script_lang-7c55ac0a.js';
|
|
73
73
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-ce0b152c.js';
|
|
74
74
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js';
|
|
@@ -77,18 +77,18 @@ export { s as OrSlider } from '../OrSlider.vue_vue_type_script_lang-d47ff040.js'
|
|
|
77
77
|
export { s as OrSortHeaderV3 } from '../OrSortHeader.vue_vue_type_script_lang-75115125.js';
|
|
78
78
|
export { s as OrStepper } from '../OrStepper.vue_vue_type_script_lang-7de7c1ad.js';
|
|
79
79
|
export { s as OrSwitch } from '../OrSwitch.vue_vue_type_script_lang-f55d33f4.js';
|
|
80
|
-
export { s as OrSwitchV3 } from '../OrSwitch.vue_vue_type_script_lang-
|
|
80
|
+
export { s as OrSwitchV3 } from '../OrSwitch.vue_vue_type_script_lang-02b4913a.js';
|
|
81
81
|
export { s as OrTab } from '../OrTab.vue_vue_type_script_lang-de7c7063.js';
|
|
82
82
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js';
|
|
83
83
|
export { s as OrTabV3 } from '../OrTab.vue_vue_type_script_lang-134ad9d1.js';
|
|
84
84
|
export { s as OrTabs } from '../OrTabs.vue_vue_type_script_lang-40e2a6e9.js';
|
|
85
|
-
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs.vue_vue_type_script_lang-
|
|
85
|
+
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs.vue_vue_type_script_lang-01188224.js';
|
|
86
86
|
export { s as OrTag } from '../OrTag.vue_vue_type_script_lang-8c526c11.js';
|
|
87
87
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag.vue_vue_type_script_lang-e45c345b.js';
|
|
88
88
|
export { s as OrTeleport } from '../OrTeleportVue3-012351e1.js';
|
|
89
89
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
90
90
|
export { s as OrTextV3 } from '../OrText.vue_vue_type_script_lang-d9525d49.js';
|
|
91
|
-
export { s as OrTextareaV3 } from '../OrTextarea.vue_vue_type_script_lang-
|
|
91
|
+
export { s as OrTextareaV3 } from '../OrTextarea.vue_vue_type_script_lang-2fdac7b2.js';
|
|
92
92
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox.vue_vue_type_script_lang-b5c4a93a.js';
|
|
93
93
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-d5b3c109.js';
|
|
94
94
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer.vue_vue_type_script_lang-4bb702ce.js';
|
|
@@ -113,6 +113,7 @@ import '../OrButton-2b27c1fd.js';
|
|
|
113
113
|
import '../OrMenu-f26e8e55.js';
|
|
114
114
|
import '../OrMenuItem-4feaba6c.js';
|
|
115
115
|
import '../OrLabel-c6873e79.js';
|
|
116
|
+
import '../useIdAttribute-b2e42f31.js';
|
|
116
117
|
import '../OrLabel-e412c532.js';
|
|
117
118
|
import '../OrError-b43ebad8.js';
|
|
118
119
|
import '../OrModal-868160ef.js';
|
|
@@ -122,11 +123,12 @@ import '../dom-d21d0a92.js';
|
|
|
122
123
|
import '../OrFloating-b6672a37.js';
|
|
123
124
|
import '../index-01519e46.js';
|
|
124
125
|
import '../OrButton-ec723bb7.js';
|
|
125
|
-
import '../OrInput-
|
|
126
|
+
import '../OrInput-e325a104.js';
|
|
126
127
|
import '../OrCollapse-63e83681.js';
|
|
127
128
|
import '../floating-ui.dom.esm-83eba816.js';
|
|
128
129
|
import '../OrHint-9592499e.js';
|
|
129
130
|
import '../OrInlineInputBox-9d68ded1.js';
|
|
131
|
+
import '../useValidationAttributes-5428d8fa.js';
|
|
130
132
|
import '../OrInputBox-eb54d73d.js';
|
|
131
133
|
import '../useToggle-09b6cb90.js';
|
|
132
134
|
import '../v4-cf8987a3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection.vue_vue_type_script_lang-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection.vue_vue_type_script_lang-a0f29a55.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import '../../OrIconButton-cd62526d.js';
|
|
4
4
|
import '../../OrIconButton.vue_vue_type_script_lang-aefcf30d.js';
|
|
@@ -23,9 +23,9 @@ import '../../OrMenu-f26e8e55.js';
|
|
|
23
23
|
import '../../OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
24
24
|
import '../../OrMenuItem-4feaba6c.js';
|
|
25
25
|
import '../../OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
26
|
-
import '../../OrSearch.vue_vue_type_script_lang-
|
|
27
|
-
import '../../OrInput-
|
|
28
|
-
import '../../OrInput.vue_vue_type_script_lang-
|
|
26
|
+
import '../../OrSearch.vue_vue_type_script_lang-480f4b1c.js';
|
|
27
|
+
import '../../OrInput-e325a104.js';
|
|
28
|
+
import '../../OrInput.vue_vue_type_script_lang-fd850b82.js';
|
|
29
29
|
import '../../OrHint-9592499e.js';
|
|
30
30
|
import '../../OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
31
31
|
import '../../OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
@@ -33,4 +33,6 @@ import '../../OrInputBox-eb54d73d.js';
|
|
|
33
33
|
import '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
34
34
|
import '../../OrLabel-c6873e79.js';
|
|
35
35
|
import '../../OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
36
|
+
import '../../useIdAttribute-b2e42f31.js';
|
|
37
|
+
import '../../useValidationAttributes-5428d8fa.js';
|
|
36
38
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -2,10 +2,18 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { LabelVariant } from '../or-label-v3';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
5
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
7
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
-
|
|
8
|
+
controlAttributes: {
|
|
9
|
+
readonly: boolean | undefined;
|
|
10
|
+
disabled: boolean | undefined;
|
|
11
|
+
'force-state': string | undefined;
|
|
12
|
+
id: string | undefined;
|
|
13
|
+
};
|
|
8
14
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
15
|
+
focus: () => void;
|
|
16
|
+
blur: () => void;
|
|
9
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
10
18
|
modelValue: {
|
|
11
19
|
type: PropType<boolean | string[]>;
|
|
@@ -85,10 +93,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
85
93
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
86
94
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
87
95
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
96
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
88
97
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
89
98
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
90
|
-
|
|
99
|
+
controlAttributes: {
|
|
100
|
+
readonly: boolean | undefined;
|
|
101
|
+
disabled: boolean | undefined;
|
|
102
|
+
'force-state': string | undefined;
|
|
103
|
+
id: string | undefined;
|
|
104
|
+
};
|
|
91
105
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
106
|
+
focus: () => void;
|
|
107
|
+
blur: () => void;
|
|
92
108
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
93
109
|
modelValue: boolean | string[];
|
|
94
110
|
value: boolean | string[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { s as OrCheckboxV3 } from '../../OrCheckbox.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrCheckboxV3 } from '../../OrCheckbox.vue_vue_type_script_lang-2024ec32.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import '../../OrLabel-c6873e79.js';
|
|
4
4
|
import '../../OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
5
5
|
import '../../useClassAttribute-00888f78.js';
|
|
6
|
+
import '../../useIdAttribute-b2e42f31.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-7d9d3810.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import '../../index-01519e46.js';
|
|
@@ -11,8 +11,8 @@ import '../../OrButton-2b27c1fd.js';
|
|
|
11
11
|
import '../../OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
12
12
|
import '../../OrLoader-c4bbef2f.js';
|
|
13
13
|
import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
14
|
-
import '../../OrInput-
|
|
15
|
-
import '../../OrInput.vue_vue_type_script_lang-
|
|
14
|
+
import '../../OrInput-e325a104.js';
|
|
15
|
+
import '../../OrInput.vue_vue_type_script_lang-fd850b82.js';
|
|
16
16
|
import '../../OrHint-9592499e.js';
|
|
17
17
|
import '../../OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
18
18
|
import '../../OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
@@ -29,4 +29,6 @@ import '../../OrInputBox-eb54d73d.js';
|
|
|
29
29
|
import '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
30
30
|
import '../../OrLabel-c6873e79.js';
|
|
31
31
|
import '../../OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
32
|
+
import '../../useIdAttribute-b2e42f31.js';
|
|
33
|
+
import '../../useValidationAttributes-5428d8fa.js';
|
|
32
34
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -2,18 +2,33 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { InlineInputSize, InlineInputType } from './props';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
5
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
7
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
8
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
|
-
|
|
9
|
+
controlAttributes: {
|
|
10
|
+
required: boolean | undefined;
|
|
11
|
+
minlength: number | undefined;
|
|
12
|
+
maxlength: number | undefined;
|
|
13
|
+
pattern: string | undefined;
|
|
14
|
+
min: number | undefined;
|
|
15
|
+
max: number | undefined;
|
|
16
|
+
step: number | undefined;
|
|
17
|
+
readonly: boolean | undefined;
|
|
18
|
+
disabled: boolean | undefined;
|
|
19
|
+
'force-state': string | undefined;
|
|
20
|
+
id: string | undefined;
|
|
21
|
+
};
|
|
9
22
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
10
23
|
draftModelValue: import("@vue/composition-api").Ref<string | number>;
|
|
11
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
12
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
13
24
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
14
25
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
26
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
27
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
15
28
|
onFocus: (event: Event) => void;
|
|
16
29
|
onBlur: (event: Event) => void;
|
|
30
|
+
focus: () => void;
|
|
31
|
+
blur: () => void;
|
|
17
32
|
apply: () => void;
|
|
18
33
|
reset: () => void;
|
|
19
34
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -95,18 +110,33 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
95
110
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
96
111
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
97
112
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
113
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
98
114
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
99
115
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
100
116
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
101
|
-
|
|
117
|
+
controlAttributes: {
|
|
118
|
+
required: boolean | undefined;
|
|
119
|
+
minlength: number | undefined;
|
|
120
|
+
maxlength: number | undefined;
|
|
121
|
+
pattern: string | undefined;
|
|
122
|
+
min: number | undefined;
|
|
123
|
+
max: number | undefined;
|
|
124
|
+
step: number | undefined;
|
|
125
|
+
readonly: boolean | undefined;
|
|
126
|
+
disabled: boolean | undefined;
|
|
127
|
+
'force-state': string | undefined;
|
|
128
|
+
id: string | undefined;
|
|
129
|
+
};
|
|
102
130
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
103
131
|
draftModelValue: import("@vue/composition-api").Ref<string | number>;
|
|
104
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
105
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
106
132
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
107
133
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
134
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
135
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
108
136
|
onFocus: (event: Event) => void;
|
|
109
137
|
onBlur: (event: Event) => void;
|
|
138
|
+
focus: () => void;
|
|
139
|
+
blur: () => void;
|
|
110
140
|
apply: () => void;
|
|
111
141
|
reset: () => void;
|
|
112
142
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput.vue_vue_type_script_lang-
|
|
1
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput.vue_vue_type_script_lang-40f0073f.js';
|
|
2
2
|
export { I as InlineInputSize } from '../../OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '../../OrHint-9592499e.js';
|
|
@@ -20,3 +20,5 @@ import '../../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
|
20
20
|
import '../../useElevation-c8d5d3ba.js';
|
|
21
21
|
import '../../useResponsive-9d397e2a.js';
|
|
22
22
|
import '../../OrInlineInputBox-9d68ded1.js';
|
|
23
|
+
import '../../useIdAttribute-b2e42f31.js';
|
|
24
|
+
import '../../useValidationAttributes-5428d8fa.js';
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
2
2
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
3
|
+
control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
3
4
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
4
5
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
5
6
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
-
|
|
7
|
+
controlAttributes: {
|
|
8
|
+
required: boolean | undefined;
|
|
9
|
+
minlength: number | undefined;
|
|
10
|
+
maxlength: number | undefined;
|
|
11
|
+
pattern: string | undefined;
|
|
12
|
+
min: number | undefined;
|
|
13
|
+
max: number | undefined;
|
|
14
|
+
step: number | undefined;
|
|
15
|
+
readonly: boolean | undefined;
|
|
16
|
+
disabled: boolean | undefined;
|
|
17
|
+
'force-state': string | undefined;
|
|
18
|
+
id: string | undefined;
|
|
19
|
+
};
|
|
7
20
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
8
21
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
9
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
10
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
11
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
12
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
25
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
13
26
|
onFocus: (event: Event) => void;
|
|
14
27
|
onBlur: (event: Event) => void;
|
|
28
|
+
focus: () => void;
|
|
29
|
+
blur: () => void;
|
|
15
30
|
apply: () => void;
|
|
16
31
|
reset: () => void;
|
|
17
32
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -75,18 +90,33 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
75
90
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
76
91
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
77
92
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
93
|
+
control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
78
94
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
79
95
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
80
96
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
81
|
-
|
|
97
|
+
controlAttributes: {
|
|
98
|
+
required: boolean | undefined;
|
|
99
|
+
minlength: number | undefined;
|
|
100
|
+
maxlength: number | undefined;
|
|
101
|
+
pattern: string | undefined;
|
|
102
|
+
min: number | undefined;
|
|
103
|
+
max: number | undefined;
|
|
104
|
+
step: number | undefined;
|
|
105
|
+
readonly: boolean | undefined;
|
|
106
|
+
disabled: boolean | undefined;
|
|
107
|
+
'force-state': string | undefined;
|
|
108
|
+
id: string | undefined;
|
|
109
|
+
};
|
|
82
110
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
83
111
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
84
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
85
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
86
112
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
87
113
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
114
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
115
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
88
116
|
onFocus: (event: Event) => void;
|
|
89
117
|
onBlur: (event: Event) => void;
|
|
118
|
+
focus: () => void;
|
|
119
|
+
blur: () => void;
|
|
90
120
|
apply: () => void;
|
|
91
121
|
reset: () => void;
|
|
92
122
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrInlineTextareaV3 } from '../../OrInlineTextarea.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrInlineTextareaV3 } from '../../OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import '../../OrHint-9592499e.js';
|
|
4
4
|
import '../../OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
@@ -20,3 +20,5 @@ import '../../useElevation-c8d5d3ba.js';
|
|
|
20
20
|
import '../../useResponsive-9d397e2a.js';
|
|
21
21
|
import '../../OrInlineInputBox-9d68ded1.js';
|
|
22
22
|
import '../../OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
|
|
23
|
+
import '../../useIdAttribute-b2e42f31.js';
|
|
24
|
+
import '../../useValidationAttributes-5428d8fa.js';
|