@onereach/ui-components 2.70.2-beta.2199.0 → 2.70.2-beta.2203.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-1bb83cfb.js → OrCardCollection-0141a358.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-251ecafc.js → OrCheckbox-dbef9f9a.js} +17 -32
- package/dist/bundled/v2/{OrConfirm-4cae7867.js → OrConfirm-057e997e.js} +13 -6
- package/dist/bundled/v2/{OrInlineInput-2133e469.js → OrInlineInput-87589946.js} +22 -38
- package/dist/bundled/v2/{OrInlineTextarea-d61ca596.js → OrInlineTextarea-21b0e6fc.js} +18 -34
- package/dist/bundled/v2/{OrInput-770f1bed.js → OrInput-82ccfe00.js} +30 -38
- package/dist/bundled/v2/{OrPagination-468d0964.js → OrPagination-379c10b8.js} +1 -1
- package/dist/bundled/v2/{OrRadio-ae89bc9b.js → OrRadio-cd39b20b.js} +15 -30
- package/dist/bundled/v2/{OrSearch-2e5f9e24.js → OrSearch-53470b0e.js} +1 -1
- package/dist/bundled/v2/{OrSelect-039c0711.js → OrSelect-c49e1bcf.js} +2 -2
- package/dist/bundled/v2/{OrSwitch-20640a05.js → OrSwitch-237a2081.js} +15 -30
- package/dist/bundled/v2/{OrTabs-85aefcba.js → OrTabs-42f7c52c.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-0ff8063b.js → OrTextarea-5593fbe9.js} +20 -39
- package/dist/bundled/v2/components/index.js +13 -15
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -5
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -6
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -3
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -3
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +8 -43
- package/dist/bundled/v2/components/or-input-v3/index.js +1 -3
- package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +2 -4
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -5
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
- package/dist/bundled/v2/components/or-switch-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
- package/dist/bundled/v2/components/or-textarea-v3/index.js +1 -3
- package/dist/bundled/v2/hooks/index.d.ts +0 -3
- package/dist/bundled/v2/hooks/index.js +0 -2
- package/dist/bundled/v2/index.js +14 -16
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-a0f29a55.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-2024ec32.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +7 -22
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7d9d3810.js → OrConfirm.vue_vue_type_script_lang-9d9a3917.js} +14 -7
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-40f0073f.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +11 -27
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +11 -27
- package/dist/bundled/v3/{OrInput-e325a104.js → OrInput-a4f220ed.js} +12 -12
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-fd850b82.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +15 -26
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-0d9daaa7.js → OrPagination.vue_vue_type_script_lang-c96d7cd7.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-29e8b856.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +7 -22
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-480f4b1c.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7aa8956a.js → OrSelect.vue_vue_type_script_lang-58e5a52b.js} +15 -17
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-02b4913a.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +7 -22
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-01188224.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-2fdac7b2.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +12 -31
- package/dist/bundled/v3/components/index.js +14 -16
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-confirm-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -3
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -3
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +8 -43
- package/dist/bundled/v3/components/or-input-v3/index.js +1 -3
- package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
- package/dist/bundled/v3/components/or-radio-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +3 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
- package/dist/bundled/v3/components/or-switch-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
- package/dist/bundled/v3/components/or-textarea-v3/index.js +1 -3
- package/dist/bundled/v3/hooks/index.d.ts +0 -3
- package/dist/bundled/v3/hooks/index.js +0 -2
- package/dist/bundled/v3/index.js +69 -77
- package/dist/esm/v2/{OrCardCollection-784318ac.js → OrCardCollection-3c38fc85.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-7317fe1a.js → OrCheckbox-567e387c.js} +17 -32
- package/dist/esm/v2/{OrConfirm-3d064f6c.js → OrConfirm-047d4086.js} +13 -6
- package/dist/esm/v2/{OrInlineInput-7c4f1f92.js → OrInlineInput-10205811.js} +22 -38
- package/dist/esm/v2/{OrInlineTextarea-3381e2a9.js → OrInlineTextarea-7658611e.js} +18 -34
- package/dist/esm/v2/{OrInput-e10cc643.js → OrInput-ada3a970.js} +30 -38
- package/dist/esm/v2/{OrPagination-291bd1b9.js → OrPagination-c0dbec6a.js} +1 -1
- package/dist/esm/v2/{OrRadio-b0a560d2.js → OrRadio-848ce55d.js} +15 -30
- package/dist/esm/v2/{OrSearch-1490c00b.js → OrSearch-0f08f2f5.js} +1 -1
- package/dist/esm/v2/{OrSelect-1fbeed4f.js → OrSelect-1d705445.js} +2 -2
- package/dist/esm/v2/{OrSwitch-133052ca.js → OrSwitch-13b6a7ee.js} +15 -30
- package/dist/esm/v2/{OrTabs-e5b81f4b.js → OrTabs-71bd3fd2.js} +1 -1
- package/dist/esm/v2/{OrTextarea-a7c846da.js → OrTextarea-6712a150.js} +20 -39
- package/dist/esm/v2/components/index.js +13 -15
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -5
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -10
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -3
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +8 -43
- package/dist/esm/v2/components/or-input-v3/index.js +1 -3
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -2
- package/dist/esm/v2/components/or-search-v3/index.js +2 -4
- package/dist/esm/v2/components/or-select-v3/index.js +3 -5
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
- package/dist/esm/v2/components/or-textarea-v3/index.js +1 -3
- package/dist/esm/v2/hooks/index.d.ts +0 -3
- package/dist/esm/v2/hooks/index.js +0 -2
- package/dist/esm/v2/index.js +13 -15
- package/dist/esm/v3/{OrCardCollection-110b3a0b.js → OrCardCollection-dbb3e839.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-7144da06.js → OrCheckbox-3e139eac.js} +19 -36
- package/dist/esm/v3/{OrConfirm-1a38ed1b.js → OrConfirm-fee3c859.js} +13 -6
- package/dist/esm/v3/{OrInlineInput-a6b19dbe.js → OrInlineInput-507fc99c.js} +20 -37
- package/dist/esm/v3/{OrInlineTextarea-9eb60363.js → OrInlineTextarea-53a9e027.js} +20 -37
- package/dist/esm/v3/{OrInput-e07ec00c.js → OrInput-9c0426b9.js} +26 -37
- package/dist/esm/v3/{OrPagination-5e01a0a5.js → OrPagination-a703307d.js} +1 -1
- package/dist/esm/v3/{OrRadio-39d1905d.js → OrRadio-54b6d0de.js} +17 -34
- package/dist/esm/v3/{OrSearch-a60f67f0.js → OrSearch-9885d178.js} +1 -1
- package/dist/esm/v3/{OrSelect-2c70e384.js → OrSelect-dfa4885f.js} +2 -2
- package/dist/esm/v3/{OrSwitch-3e9a699d.js → OrSwitch-cca30aa0.js} +18 -34
- package/dist/esm/v3/{OrTabs-91618aab.js → OrTabs-d0ee6cef.js} +1 -1
- package/dist/esm/v3/{OrTextarea-fd6b9f31.js → OrTextarea-bb9ef3f2.js} +22 -42
- package/dist/esm/v3/components/index.js +13 -15
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -5
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -18
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -9
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +6 -36
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -3
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +6 -36
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -3
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +8 -43
- package/dist/esm/v3/components/or-input-v3/index.js +1 -3
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +2 -18
- package/dist/esm/v3/components/or-radio-v3/index.js +1 -2
- package/dist/esm/v3/components/or-search-v3/index.js +2 -4
- package/dist/esm/v3/components/or-select-v3/index.js +3 -5
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +2 -18
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +6 -45
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -3
- package/dist/esm/v3/hooks/index.d.ts +0 -3
- package/dist/esm/v3/hooks/index.js +0 -2
- package/dist/esm/v3/index.js +13 -15
- package/package.json +1 -1
- package/src/components/or-checkbox-v3/OrCheckbox.vue +10 -28
- package/src/components/or-confirm-v3/OrConfirm.vue +11 -10
- package/src/components/or-confirm-v3/styles.ts +13 -3
- package/src/components/or-inline-input-v3/OrInlineInput.vue +13 -32
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +13 -32
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +19 -31
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-radio-v3/OrRadio.vue +9 -27
- package/src/components/or-switch-v3/OrSwitch.vue +9 -27
- 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 +14 -36
- package/src/hooks/index.ts +0 -3
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v2/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +0 -16
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v3/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +0 -16
- package/src/hooks/useControlAttributes.ts +0 -19
- package/src/hooks/useIdAttribute.ts +0 -9
- package/src/hooks/useValidationAttributes.ts +0 -25
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed } 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';
|
|
6
5
|
import { s as script$1, L as LabelVariant } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
7
6
|
import { s as script$2 } from './OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
8
7
|
|
|
@@ -98,21 +97,19 @@ var script = defineComponent({
|
|
|
98
97
|
}
|
|
99
98
|
},
|
|
100
99
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
101
|
-
expose: ['root'
|
|
100
|
+
expose: ['root'],
|
|
102
101
|
setup(props, context) {
|
|
102
|
+
var _a;
|
|
103
|
+
const currentInstance = getCurrentInstance();
|
|
103
104
|
// Refs
|
|
104
105
|
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
|
|
113
|
-
id: useIdAttribute(),
|
|
114
|
-
...useControlAttributes()
|
|
115
|
-
});
|
|
112
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
116
113
|
const proxyModelValue = computed({
|
|
117
114
|
get: () => {
|
|
118
115
|
var _a;
|
|
@@ -124,25 +121,13 @@ var script = defineComponent({
|
|
|
124
121
|
context.emit('update:modelValue', value);
|
|
125
122
|
}
|
|
126
123
|
});
|
|
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
|
-
}
|
|
136
124
|
return {
|
|
137
125
|
root,
|
|
138
|
-
control,
|
|
139
126
|
rootStyles,
|
|
140
127
|
controlStyles,
|
|
141
128
|
loaderStyles,
|
|
142
|
-
|
|
143
|
-
proxyModelValue
|
|
144
|
-
focus,
|
|
145
|
-
blur
|
|
129
|
+
controlId,
|
|
130
|
+
proxyModelValue
|
|
146
131
|
};
|
|
147
132
|
}
|
|
148
133
|
});
|
|
@@ -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
|
+
// Functions
|
|
118
118
|
function rearrangeTabs(items, activeTab, rootElement) {
|
|
119
119
|
const {
|
|
120
120
|
children
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed } 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';
|
|
8
6
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
9
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
10
8
|
import { s as script$3, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
@@ -65,31 +63,24 @@ var script = defineComponent({
|
|
|
65
63
|
type: Boolean,
|
|
66
64
|
default: false
|
|
67
65
|
},
|
|
68
|
-
readonly: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
default: false
|
|
71
|
-
},
|
|
72
66
|
disabled: {
|
|
73
67
|
type: Boolean,
|
|
74
68
|
default: false
|
|
75
69
|
}
|
|
76
70
|
},
|
|
77
71
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
78
|
-
expose: ['root'
|
|
72
|
+
expose: ['root'],
|
|
79
73
|
setup(props, context) {
|
|
74
|
+
var _a;
|
|
75
|
+
const currentInstance = getCurrentInstance();
|
|
80
76
|
// Refs
|
|
81
77
|
const root = ref();
|
|
82
|
-
const control = ref();
|
|
83
78
|
// Styles
|
|
84
79
|
const classAttribute = useClassAttribute();
|
|
85
80
|
const rootStyles = computed(() => ['or-textarea', ...TextareaRoot, classAttribute.value]);
|
|
86
81
|
const controlStyles = computed(() => [...TextareaControl]);
|
|
87
82
|
// State
|
|
88
|
-
const
|
|
89
|
-
id: useIdAttribute(),
|
|
90
|
-
...useControlAttributes(),
|
|
91
|
-
...useValidationAttributes()
|
|
92
|
-
});
|
|
83
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
93
84
|
const proxyModelValue = computed({
|
|
94
85
|
get: () => {
|
|
95
86
|
var _a;
|
|
@@ -101,33 +92,23 @@ var script = defineComponent({
|
|
|
101
92
|
context.emit('update:modelValue', value);
|
|
102
93
|
}
|
|
103
94
|
});
|
|
95
|
+
const invalid = computed(() => !!props.error);
|
|
96
|
+
const readonly = computed(() => context.attrs.readonly);
|
|
104
97
|
const currentLength = computed(() => {
|
|
105
98
|
var _a, _b;
|
|
106
99
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
107
100
|
});
|
|
108
|
-
const maxLength = computed(() =>
|
|
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
|
-
}
|
|
101
|
+
const maxLength = computed(() => context.attrs.maxlength);
|
|
119
102
|
return {
|
|
120
103
|
root,
|
|
121
|
-
control,
|
|
122
104
|
rootStyles,
|
|
123
105
|
controlStyles,
|
|
124
|
-
|
|
106
|
+
controlId,
|
|
125
107
|
proxyModelValue,
|
|
126
|
-
currentLength,
|
|
127
|
-
maxLength,
|
|
128
108
|
invalid,
|
|
129
|
-
|
|
130
|
-
|
|
109
|
+
readonly,
|
|
110
|
+
currentLength,
|
|
111
|
+
maxLength
|
|
131
112
|
};
|
|
132
113
|
}
|
|
133
114
|
});
|
|
@@ -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-2d78a51a.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-8b36e06c.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-9d9a3917.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-67218502.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-a1831ab8.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-607d79d4.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-c96d7cd7.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-2e666a56.js';
|
|
68
|
+
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-06f318ca.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-58e5a52b.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-04829f64.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-61b79a5a.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-8e3531cd.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,7 +113,6 @@ 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';
|
|
117
116
|
import '../OrLabel-e412c532.js';
|
|
118
117
|
import '../OrError-b43ebad8.js';
|
|
119
118
|
import '../OrModal-868160ef.js';
|
|
@@ -123,12 +122,11 @@ import '../dom-d21d0a92.js';
|
|
|
123
122
|
import '../OrFloating-b6672a37.js';
|
|
124
123
|
import '../index-01519e46.js';
|
|
125
124
|
import '../OrButton-ec723bb7.js';
|
|
126
|
-
import '../OrInput-
|
|
125
|
+
import '../OrInput-a4f220ed.js';
|
|
127
126
|
import '../OrCollapse-63e83681.js';
|
|
128
127
|
import '../floating-ui.dom.esm-83eba816.js';
|
|
129
128
|
import '../OrHint-9592499e.js';
|
|
130
129
|
import '../OrInlineInputBox-9d68ded1.js';
|
|
131
|
-
import '../useValidationAttributes-5428d8fa.js';
|
|
132
130
|
import '../OrInputBox-eb54d73d.js';
|
|
133
131
|
import '../useToggle-09b6cb90.js';
|
|
134
132
|
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-2d78a51a.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-06f318ca.js';
|
|
27
|
+
import '../../OrInput-a4f220ed.js';
|
|
28
|
+
import '../../OrInput.vue_vue_type_script_lang-607d79d4.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,6 +33,4 @@ 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';
|
|
38
36
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -2,18 +2,10 @@ 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>;
|
|
6
5
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
7
6
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
|
-
|
|
9
|
-
readonly: boolean | undefined;
|
|
10
|
-
disabled: boolean | undefined;
|
|
11
|
-
'force-state': string | undefined;
|
|
12
|
-
id: string | undefined;
|
|
13
|
-
};
|
|
7
|
+
controlId: import("@vue/composition-api").Ref<string>;
|
|
14
8
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
15
|
-
focus: () => void;
|
|
16
|
-
blur: () => void;
|
|
17
9
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
18
10
|
modelValue: {
|
|
19
11
|
type: PropType<boolean | string[]>;
|
|
@@ -93,18 +85,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
93
85
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
94
86
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
95
87
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
96
|
-
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
97
88
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
98
89
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
99
|
-
|
|
100
|
-
readonly: boolean | undefined;
|
|
101
|
-
disabled: boolean | undefined;
|
|
102
|
-
'force-state': string | undefined;
|
|
103
|
-
id: string | undefined;
|
|
104
|
-
};
|
|
90
|
+
controlId: import("@vue/composition-api").Ref<string>;
|
|
105
91
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
106
|
-
focus: () => void;
|
|
107
|
-
blur: () => void;
|
|
108
92
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
109
93
|
modelValue: boolean | string[];
|
|
110
94
|
value: boolean | string[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { s as OrCheckboxV3 } from '../../OrCheckbox.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrCheckboxV3 } from '../../OrCheckbox.vue_vue_type_script_lang-8b36e06c.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,7 +1,7 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-
|
|
2
|
-
import 'vue';
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-9d9a3917.js';
|
|
3
2
|
import '@vueuse/core';
|
|
4
3
|
import '../../index-01519e46.js';
|
|
4
|
+
import 'vue';
|
|
5
5
|
import '../../OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
|
|
6
6
|
import '../../OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
7
7
|
import '../../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.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-a4f220ed.js';
|
|
15
|
+
import '../../OrInput.vue_vue_type_script_lang-607d79d4.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,6 +29,4 @@ 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';
|
|
34
32
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -2,33 +2,18 @@ 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>;
|
|
6
5
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
7
6
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
7
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
|
-
|
|
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
|
-
};
|
|
8
|
+
controlId: import("@vue/composition-api").Ref<string>;
|
|
22
9
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
23
10
|
draftModelValue: import("@vue/composition-api").Ref<string | number>;
|
|
11
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
12
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
24
13
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
25
14
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
26
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
27
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
28
15
|
onFocus: (event: Event) => void;
|
|
29
16
|
onBlur: (event: Event) => void;
|
|
30
|
-
focus: () => void;
|
|
31
|
-
blur: () => void;
|
|
32
17
|
apply: () => void;
|
|
33
18
|
reset: () => void;
|
|
34
19
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -110,33 +95,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
110
95
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
111
96
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
112
97
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
113
|
-
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
114
98
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
115
99
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
116
100
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
117
|
-
|
|
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
|
-
};
|
|
101
|
+
controlId: import("@vue/composition-api").Ref<string>;
|
|
130
102
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
131
103
|
draftModelValue: import("@vue/composition-api").Ref<string | number>;
|
|
104
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
105
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
132
106
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
133
107
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
134
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
135
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
136
108
|
onFocus: (event: Event) => void;
|
|
137
109
|
onBlur: (event: Event) => void;
|
|
138
|
-
focus: () => void;
|
|
139
|
-
blur: () => void;
|
|
140
110
|
apply: () => void;
|
|
141
111
|
reset: () => void;
|
|
142
112
|
}>, 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-67218502.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,5 +20,3 @@ 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,32 +1,17 @@
|
|
|
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>;
|
|
4
3
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
5
4
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
5
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
-
|
|
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
|
-
};
|
|
6
|
+
controlId: import("@vue/composition-api").Ref<string>;
|
|
20
7
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
21
8
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
9
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
10
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
22
11
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
23
12
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
25
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
26
13
|
onFocus: (event: Event) => void;
|
|
27
14
|
onBlur: (event: Event) => void;
|
|
28
|
-
focus: () => void;
|
|
29
|
-
blur: () => void;
|
|
30
15
|
apply: () => void;
|
|
31
16
|
reset: () => void;
|
|
32
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -90,33 +75,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
90
75
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
91
76
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
92
77
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
93
|
-
control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
94
78
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
95
79
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
96
80
|
actionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
97
|
-
|
|
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
|
-
};
|
|
81
|
+
controlId: import("@vue/composition-api").Ref<string>;
|
|
110
82
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
111
83
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
84
|
+
activated: import("@vue/composition-api").Ref<boolean>;
|
|
85
|
+
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
112
86
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
113
87
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
114
|
-
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
115
|
-
activated: import("@vue/composition-api").Ref<boolean>;
|
|
116
88
|
onFocus: (event: Event) => void;
|
|
117
89
|
onBlur: (event: Event) => void;
|
|
118
|
-
focus: () => void;
|
|
119
|
-
blur: () => void;
|
|
120
90
|
apply: () => void;
|
|
121
91
|
reset: () => void;
|
|
122
92
|
}>, 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-a1831ab8.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import '../../OrHint-9592499e.js';
|
|
4
4
|
import '../../OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
@@ -20,5 +20,3 @@ 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';
|