@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,15 +1,13 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
-
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
3
|
import '@vueuse/core';
|
|
5
|
-
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
6
4
|
import { s as script$1 } from './OrError-ec8c709d.js';
|
|
7
5
|
import { s as script$2 } from './OrHint-74bb732d.js';
|
|
8
6
|
import { s as script$4 } from './OrIconButton-1a89fbf9.js';
|
|
9
7
|
import { s as script$3 } from './OrIcon-b195169c.js';
|
|
10
8
|
import { s as script$5, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
11
9
|
import { s as script$6 } from './OrLabel-bdaec602.js';
|
|
12
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
10
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
|
|
13
11
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
14
12
|
|
|
15
13
|
var InputType;
|
|
@@ -81,10 +79,6 @@ var script = defineComponent({
|
|
|
81
79
|
type: Boolean,
|
|
82
80
|
default: false
|
|
83
81
|
},
|
|
84
|
-
readonly: {
|
|
85
|
-
type: Boolean,
|
|
86
|
-
default: false
|
|
87
|
-
},
|
|
88
82
|
disabled: {
|
|
89
83
|
type: Boolean,
|
|
90
84
|
default: false
|
|
@@ -95,21 +89,19 @@ var script = defineComponent({
|
|
|
95
89
|
}
|
|
96
90
|
},
|
|
97
91
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
98
|
-
expose: ['root', 'focus'
|
|
92
|
+
expose: ['root', 'focus'],
|
|
99
93
|
setup(props, context) {
|
|
94
|
+
var _a;
|
|
95
|
+
const currentInstance = getCurrentInstance();
|
|
100
96
|
// Refs
|
|
101
97
|
const root = ref();
|
|
102
|
-
const
|
|
98
|
+
const input = ref();
|
|
103
99
|
// Styles
|
|
104
100
|
const classAttribute = useClassAttribute();
|
|
105
101
|
const rootStyles = computed(() => ['or-input', ...InputRoot, classAttribute.value]);
|
|
106
102
|
const controlStyles = computed(() => [...InputControl]);
|
|
107
103
|
// State
|
|
108
|
-
const
|
|
109
|
-
id: useIdAttribute(),
|
|
110
|
-
...useControlAttributes(),
|
|
111
|
-
...useValidationAttributes()
|
|
112
|
-
});
|
|
104
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
113
105
|
const proxyModelValue = computed({
|
|
114
106
|
get: () => {
|
|
115
107
|
var _a;
|
|
@@ -121,40 +113,37 @@ var script = defineComponent({
|
|
|
121
113
|
context.emit('update:modelValue', value);
|
|
122
114
|
}
|
|
123
115
|
});
|
|
116
|
+
const invalid = computed(() => !!props.error);
|
|
117
|
+
const readonly = computed(() => context.attrs.readonly);
|
|
124
118
|
const currentLength = computed(() => {
|
|
125
119
|
var _a, _b;
|
|
126
120
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
127
121
|
});
|
|
128
|
-
const maxLength = computed(() =>
|
|
129
|
-
const invalid = computed(() => !!props.error);
|
|
122
|
+
const maxLength = computed(() => context.attrs.maxlength);
|
|
130
123
|
const disclosed = ref(false);
|
|
131
124
|
// Methods
|
|
132
125
|
function focus() {
|
|
133
126
|
var _a;
|
|
134
|
-
(_a =
|
|
135
|
-
}
|
|
136
|
-
function blur() {
|
|
137
|
-
var _a;
|
|
138
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
127
|
+
(_a = input.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
139
128
|
}
|
|
140
129
|
return {
|
|
141
130
|
root,
|
|
142
|
-
|
|
131
|
+
input,
|
|
143
132
|
rootStyles,
|
|
144
133
|
controlStyles,
|
|
145
|
-
|
|
134
|
+
controlId,
|
|
146
135
|
proxyModelValue,
|
|
136
|
+
invalid,
|
|
137
|
+
readonly,
|
|
147
138
|
currentLength,
|
|
148
139
|
maxLength,
|
|
149
|
-
invalid,
|
|
150
140
|
disclosed,
|
|
151
|
-
focus
|
|
152
|
-
blur
|
|
141
|
+
focus
|
|
153
142
|
};
|
|
154
143
|
}
|
|
155
144
|
});
|
|
156
145
|
|
|
157
|
-
const _hoisted_1 = ["type", "placeholder", "required", "disabled"];
|
|
146
|
+
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
|
|
158
147
|
const _hoisted_2 = {
|
|
159
148
|
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
160
149
|
};
|
|
@@ -165,13 +154,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
154
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
166
155
|
const _component_OrHint = resolveComponent("OrHint");
|
|
167
156
|
const _component_OrError = resolveComponent("OrError");
|
|
168
|
-
return openBlock(), createElementBlock("div",
|
|
169
|
-
ref: "root"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
157
|
+
return openBlock(), createElementBlock("div", {
|
|
158
|
+
ref: "root",
|
|
159
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
160
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
173
161
|
key: 0,
|
|
174
|
-
"control-id": _ctx.
|
|
162
|
+
"control-id": _ctx.controlId,
|
|
175
163
|
variant: 'input',
|
|
176
164
|
required: _ctx.required,
|
|
177
165
|
disabled: _ctx.disabled
|
|
@@ -188,9 +176,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
188
176
|
disabled: _ctx.disabled
|
|
189
177
|
}, {
|
|
190
178
|
default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
|
|
191
|
-
|
|
179
|
+
id: _ctx.controlId,
|
|
180
|
+
ref: "input",
|
|
192
181
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
193
|
-
}, _ctx
|
|
182
|
+
}, _ctx.$attrs, {
|
|
194
183
|
class: _ctx.controlStyles,
|
|
195
184
|
type: _ctx.type === 'password' && _ctx.disclosed ? 'text' : _ctx.type,
|
|
196
185
|
placeholder: _ctx.placeholder,
|
|
@@ -249,7 +238,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
249
238
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
250
239
|
|
|
251
240
|
key: "0"
|
|
252
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
241
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
253
242
|
}
|
|
254
243
|
|
|
255
244
|
var css_248z = "\ninput[data-v-78975fa2] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-78975fa2]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-78975fa2]::-webkit-search-cancel-button {\n display: none;\n}\n";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
-
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
3
|
import '@vueuse/core';
|
|
5
4
|
import { s as script$1, L as LabelVariant } from './OrLabel-bdaec602.js';
|
|
6
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelRadio, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
7
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
7
|
|
|
9
8
|
const RadioRoot = [
|
|
@@ -73,20 +72,18 @@ var script = defineComponent({
|
|
|
73
72
|
}
|
|
74
73
|
},
|
|
75
74
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
76
|
-
expose: ['root'
|
|
75
|
+
expose: ['root'],
|
|
77
76
|
setup(props, context) {
|
|
77
|
+
var _a;
|
|
78
|
+
const currentInstance = getCurrentInstance();
|
|
78
79
|
// Refs
|
|
79
80
|
const root = ref();
|
|
80
|
-
const control = ref();
|
|
81
81
|
// Styles
|
|
82
82
|
const classAttribute = useClassAttribute();
|
|
83
83
|
const rootStyles = computed(() => ['or-radio', ...RadioRoot, classAttribute.value]);
|
|
84
84
|
const controlStyles = computed(() => [...RadioControl, ...RadioControlHandle]);
|
|
85
85
|
// State
|
|
86
|
-
const
|
|
87
|
-
id: useIdAttribute(),
|
|
88
|
-
...useControlAttributes()
|
|
89
|
-
});
|
|
86
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
90
87
|
const proxyModelValue = computed({
|
|
91
88
|
get: () => {
|
|
92
89
|
var _a;
|
|
@@ -98,39 +95,25 @@ var script = defineComponent({
|
|
|
98
95
|
context.emit('update:modelValue', value);
|
|
99
96
|
}
|
|
100
97
|
});
|
|
101
|
-
// Methods
|
|
102
|
-
function focus() {
|
|
103
|
-
var _a;
|
|
104
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
105
|
-
}
|
|
106
|
-
function blur() {
|
|
107
|
-
var _a;
|
|
108
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
109
|
-
}
|
|
110
98
|
return {
|
|
111
99
|
root,
|
|
112
|
-
control,
|
|
113
100
|
rootStyles,
|
|
114
101
|
controlStyles,
|
|
115
|
-
|
|
116
|
-
proxyModelValue
|
|
117
|
-
focus,
|
|
118
|
-
blur
|
|
102
|
+
controlId,
|
|
103
|
+
proxyModelValue
|
|
119
104
|
};
|
|
120
105
|
}
|
|
121
106
|
});
|
|
122
107
|
|
|
123
|
-
const _hoisted_1 = ["value", "required", "disabled"];
|
|
108
|
+
const _hoisted_1 = ["id", "value", "required", "disabled"];
|
|
124
109
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
125
110
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
126
|
-
return openBlock(), createElementBlock("div",
|
|
127
|
-
ref: "root"
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
133
|
-
}, _ctx.controlAttributes, {
|
|
111
|
+
return openBlock(), createElementBlock("div", {
|
|
112
|
+
ref: "root",
|
|
113
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
114
|
+
}, [withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
115
|
+
id: _ctx.controlId,
|
|
116
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
134
117
|
class: _ctx.controlStyles,
|
|
135
118
|
type: "radio",
|
|
136
119
|
value: _ctx.inputValue,
|
|
@@ -140,7 +123,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
140
123
|
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
|
|
141
124
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelRadio, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
142
125
|
key: 0,
|
|
143
|
-
"control-id": _ctx.
|
|
126
|
+
"control-id": _ctx.controlId,
|
|
144
127
|
variant: _ctx.labelVariant,
|
|
145
128
|
required: _ctx.required,
|
|
146
129
|
disabled: _ctx.disabled
|
|
@@ -149,7 +132,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
149
132
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
150
133
|
|
|
151
134
|
_: 3 /* FORWARDED */
|
|
152
|
-
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)],
|
|
135
|
+
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
153
136
|
}
|
|
154
137
|
|
|
155
138
|
var css_248z = "\ninput[data-v-2567d702] {\n appearance: none;\n line-height: 0;\n}\n";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
4
|
+
import { s as script$1 } from './OrInput-9c0426b9.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
@@ -3,13 +3,13 @@ import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.
|
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
4
|
import { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
|
-
import { s as script$1 } from './OrCheckbox-
|
|
6
|
+
import { s as script$1 } from './OrCheckbox-3e139eac.js';
|
|
7
7
|
import { s as script$2 } from './OrError-ec8c709d.js';
|
|
8
8
|
import { s as script$3 } from './OrExpansionPanel-f8d7ff8d.js';
|
|
9
9
|
import { s as script$4 } from './OrHint-74bb732d.js';
|
|
10
10
|
import { s as script$5 } from './OrIcon-b195169c.js';
|
|
11
11
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
12
|
+
import { s as script$6 } from './OrInput-9c0426b9.js';
|
|
13
13
|
import { s as script$8 } from './OrLabel-bdaec602.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-9da279f6.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-1075dd38.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
-
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
3
|
import '@vueuse/core';
|
|
5
4
|
import { s as script$1, L as LabelVariant } from './OrLabel-bdaec602.js';
|
|
6
5
|
import { s as script$2 } from './OrLoader-b3cf4231.js';
|
|
7
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
6
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, mergeProps, vModelCheckbox, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
8
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
8
|
|
|
10
9
|
const SwitchRoot = [
|
|
@@ -99,21 +98,19 @@ var script = defineComponent({
|
|
|
99
98
|
}
|
|
100
99
|
},
|
|
101
100
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
102
|
-
expose: ['root'
|
|
101
|
+
expose: ['root'],
|
|
103
102
|
setup(props, context) {
|
|
103
|
+
var _a;
|
|
104
|
+
const currentInstance = getCurrentInstance();
|
|
104
105
|
// Refs
|
|
105
106
|
const root = ref();
|
|
106
|
-
const control = ref();
|
|
107
107
|
// Styles
|
|
108
108
|
const classAttribute = useClassAttribute();
|
|
109
109
|
const rootStyles = computed(() => ['or-switch', ...SwitchRoot, classAttribute.value]);
|
|
110
110
|
const controlStyles = computed(() => [...SwitchControl, ...SwitchControlHandle]);
|
|
111
111
|
const loaderStyles = computed(() => [...SwitchLoader, ...SwitchLoaderHandle]);
|
|
112
112
|
// State
|
|
113
|
-
const
|
|
114
|
-
id: useIdAttribute(),
|
|
115
|
-
...useControlAttributes()
|
|
116
|
-
});
|
|
113
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
117
114
|
const proxyModelValue = computed({
|
|
118
115
|
get: () => {
|
|
119
116
|
var _a;
|
|
@@ -125,43 +122,30 @@ var script = defineComponent({
|
|
|
125
122
|
context.emit('update:modelValue', value);
|
|
126
123
|
}
|
|
127
124
|
});
|
|
128
|
-
// Methods
|
|
129
|
-
function focus() {
|
|
130
|
-
var _a;
|
|
131
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
132
|
-
}
|
|
133
|
-
function blur() {
|
|
134
|
-
var _a;
|
|
135
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
136
|
-
}
|
|
137
125
|
return {
|
|
138
126
|
root,
|
|
139
|
-
control,
|
|
140
127
|
rootStyles,
|
|
141
128
|
controlStyles,
|
|
142
129
|
loaderStyles,
|
|
143
|
-
|
|
144
|
-
proxyModelValue
|
|
145
|
-
focus,
|
|
146
|
-
blur
|
|
130
|
+
controlId,
|
|
131
|
+
proxyModelValue
|
|
147
132
|
};
|
|
148
133
|
}
|
|
149
134
|
});
|
|
150
135
|
|
|
151
|
-
const _hoisted_1 = ["value", "required", "disabled"];
|
|
136
|
+
const _hoisted_1 = ["id", "value", "required", "disabled"];
|
|
152
137
|
const _hoisted_2 = ["disabled"];
|
|
153
138
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
154
139
|
const _component_OrLoader = resolveComponent("OrLoader");
|
|
155
140
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
156
|
-
return openBlock(), createElementBlock("div",
|
|
157
|
-
ref: "root"
|
|
141
|
+
return openBlock(), createElementBlock("div", {
|
|
142
|
+
ref: "root",
|
|
143
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
144
|
+
}, [!_ctx.loading ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
|
|
145
|
+
key: 0
|
|
158
146
|
}, _ctx.$attrs, {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
key: 0,
|
|
162
|
-
ref: "control",
|
|
163
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
164
|
-
}, _ctx.controlAttributes, {
|
|
147
|
+
id: _ctx.controlId,
|
|
148
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
165
149
|
class: _ctx.controlStyles,
|
|
166
150
|
type: "checkbox",
|
|
167
151
|
value: _ctx.inputValue,
|
|
@@ -179,7 +163,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
163
|
size: 'm'
|
|
180
164
|
})], 10 /* CLASS, PROPS */, _hoisted_2)), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
181
165
|
key: 2,
|
|
182
|
-
"control-id": _ctx.
|
|
166
|
+
"control-id": _ctx.controlId,
|
|
183
167
|
variant: _ctx.labelVariant,
|
|
184
168
|
required: _ctx.required,
|
|
185
169
|
disabled: _ctx.disabled
|
|
@@ -188,7 +172,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
188
172
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
189
173
|
|
|
190
174
|
_: 3 /* FORWARDED */
|
|
191
|
-
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)],
|
|
175
|
+
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
192
176
|
}
|
|
193
177
|
|
|
194
178
|
var css_248z = "\ninput[data-v-4296509a] {\n appearance: none;\n line-height: 0;\n}\n";
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
-
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
3
|
import '@vueuse/core';
|
|
5
|
-
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
6
4
|
import { s as script$1 } from './OrError-ec8c709d.js';
|
|
7
5
|
import { s as script$2 } from './OrHint-74bb732d.js';
|
|
8
6
|
import { s as script$3, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
9
7
|
import { s as script$4 } from './OrLabel-bdaec602.js';
|
|
10
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
11
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
12
10
|
|
|
13
11
|
const TextareaRoot = [
|
|
@@ -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,50 +92,39 @@ 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
|
});
|
|
134
115
|
|
|
135
|
-
const _hoisted_1 = ["placeholder", "required", "disabled"];
|
|
116
|
+
const _hoisted_1 = ["id", "placeholder", "required", "disabled"];
|
|
136
117
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
137
118
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
138
119
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
139
120
|
const _component_OrHint = resolveComponent("OrHint");
|
|
140
121
|
const _component_OrError = resolveComponent("OrError");
|
|
141
|
-
return openBlock(), createElementBlock("div",
|
|
142
|
-
ref: "root"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
122
|
+
return openBlock(), createElementBlock("div", {
|
|
123
|
+
ref: "root",
|
|
124
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
125
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
146
126
|
key: 0,
|
|
147
|
-
"control-id": _ctx.
|
|
127
|
+
"control-id": _ctx.controlId,
|
|
148
128
|
variant: 'input',
|
|
149
129
|
required: _ctx.required,
|
|
150
130
|
disabled: _ctx.disabled
|
|
@@ -160,9 +140,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
140
|
disabled: _ctx.disabled
|
|
161
141
|
}, {
|
|
162
142
|
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
163
|
-
|
|
143
|
+
id: _ctx.controlId,
|
|
164
144
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
165
|
-
}, _ctx
|
|
145
|
+
}, _ctx.$attrs, {
|
|
166
146
|
class: _ctx.controlStyles,
|
|
167
147
|
placeholder: _ctx.placeholder,
|
|
168
148
|
required: _ctx.required,
|
|
@@ -199,7 +179,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
199
179
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
200
180
|
|
|
201
181
|
key: "0"
|
|
202
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
182
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
203
183
|
}
|
|
204
184
|
|
|
205
185
|
var css_248z = "\ntextarea[data-v-10a22fb4] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -6,17 +6,17 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-0fa67a0d.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-dbb3e839.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
|
|
13
|
-
export { s as OrCheckboxV3 } from '../OrCheckbox-
|
|
13
|
+
export { s as OrCheckboxV3 } from '../OrCheckbox-3e139eac.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from '../OrChips-9afba42f.js';
|
|
15
15
|
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-fee3c859.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-66950
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-1a89fbf9.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-b195169c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-8049f95a.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-507fc99c.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-53a9e027.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-6d1b6059.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-9c0426b9.js';
|
|
39
39
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from '../OrSearch-7cb2c91c.js';
|
|
40
40
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-bdaec602.js';
|
|
@@ -54,16 +54,16 @@ export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificati
|
|
|
54
54
|
export { s as OrOverflowMenu } from '../OrOverflowMenu-e82cbcbe.js';
|
|
55
55
|
export { s as OrOverlay } from '../OrOverlay-451dce49.js';
|
|
56
56
|
export { s as OrOverlayV3 } from '../OrOverlay-738a44d5.js';
|
|
57
|
-
export { s as OrPaginationV3 } from '../OrPagination-
|
|
57
|
+
export { s as OrPaginationV3 } from '../OrPagination-a703307d.js';
|
|
58
58
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-d0d52c86.js';
|
|
59
59
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-407002e0.js';
|
|
60
60
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
61
61
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
62
|
-
export { s as OrRadioV3 } from '../OrRadio-
|
|
63
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
62
|
+
export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
63
|
+
export { s as OrSearchV3 } from '../OrSearch-9885d178.js';
|
|
64
64
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
65
65
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
66
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
66
|
+
export { s as OrSelectV3 } from '../OrSelect-dfa4885f.js';
|
|
67
67
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
68
68
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
|
|
69
69
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
|
|
@@ -72,18 +72,18 @@ export { s as OrSlider } from '../OrSlider-87e2da8c.js';
|
|
|
72
72
|
export { s as OrSortHeaderV3 } from '../OrSortHeader-fe1a9cf8.js';
|
|
73
73
|
export { s as OrStepper } from '../OrStepper-f19b4eac.js';
|
|
74
74
|
export { s as OrSwitch } from '../OrSwitch-c333ee32.js';
|
|
75
|
-
export { s as OrSwitchV3 } from '../OrSwitch-
|
|
75
|
+
export { s as OrSwitchV3 } from '../OrSwitch-cca30aa0.js';
|
|
76
76
|
export { s as OrTab } from '../OrTab-bc98be02.js';
|
|
77
77
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-d668cc59.js';
|
|
78
78
|
export { s as OrTabV3 } from '../OrTab-c131cf60.js';
|
|
79
79
|
export { s as OrTabs } from '../OrTabs-d3812c11.js';
|
|
80
|
-
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
80
|
+
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-d0ee6cef.js';
|
|
81
81
|
export { s as OrTag } from '../OrTag-1b5e43fa.js';
|
|
82
82
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-efa7578f.js';
|
|
83
83
|
export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
|
|
84
84
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
85
85
|
export { s as OrTextV3 } from '../OrText-ecb46923.js';
|
|
86
|
-
export { s as OrTextareaV3 } from '../OrTextarea-
|
|
86
|
+
export { s as OrTextareaV3 } from '../OrTextarea-bb9ef3f2.js';
|
|
87
87
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-2f33e9c3.js';
|
|
88
88
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-40c4c1c8.js';
|
|
89
89
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
@@ -99,7 +99,6 @@ import '../useClassAttribute-47fdb016.js';
|
|
|
99
99
|
import '@vueuse/core';
|
|
100
100
|
import '../color-1f348774.js';
|
|
101
101
|
import '@splidejs/splide';
|
|
102
|
-
import '../useIdAttribute-859439f0.js';
|
|
103
102
|
import '@codemirror/state';
|
|
104
103
|
import '@codemirror/view';
|
|
105
104
|
import '@codemirror/commands';
|
|
@@ -113,7 +112,6 @@ import '../px-to-rem-0b26b83e.js';
|
|
|
113
112
|
import '../dom-3a15d036.js';
|
|
114
113
|
import '@vueuse/math';
|
|
115
114
|
import '@floating-ui/dom';
|
|
116
|
-
import '../useValidationAttributes-d1abbe34.js';
|
|
117
115
|
import '../useToggle-29e4d7c7.js';
|
|
118
116
|
import 'uuid';
|
|
119
117
|
import 'sortablejs';
|