@onereach/ui-components 2.70.2-beta.2200.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-046b51fd.js → OrCardCollection-0141a358.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-251ecafc.js → OrCheckbox-dbef9f9a.js} +17 -32
- package/dist/bundled/v2/{OrConfirm-4a96edab.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-56314ef0.js → OrInput-82ccfe00.js} +31 -42
- 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-5022873f.js → OrSearch-53470b0e.js} +1 -1
- package/dist/bundled/v2/{OrSelect-4f163320.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-43c4b8a2.js → OrTextarea-5593fbe9.js} +20 -40
- 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-1b263db2.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-35c1085c.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-d1c13e6b.js → OrInput-a4f220ed.js} +13 -14
- 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-f5f127f6.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-8092d0c0.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 -78
- package/dist/esm/v2/{OrCardCollection-d51e15f5.js → OrCardCollection-3c38fc85.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-7317fe1a.js → OrCheckbox-567e387c.js} +17 -32
- package/dist/esm/v2/{OrConfirm-fe4f21bf.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-fbbf5de4.js → OrInput-ada3a970.js} +31 -42
- 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-9e3dc7b2.js → OrSearch-0f08f2f5.js} +1 -1
- package/dist/esm/v2/{OrSelect-6d3c3d2a.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-709eea9b.js → OrTextarea-6712a150.js} +20 -40
- 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-14faa91f.js → OrCardCollection-dbb3e839.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-7144da06.js → OrCheckbox-3e139eac.js} +19 -36
- package/dist/esm/v3/{OrConfirm-671d4ff7.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-8332b985.js → OrInput-9c0426b9.js} +27 -39
- 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-875646f5.js → OrSearch-9885d178.js} +1 -1
- package/dist/esm/v3/{OrSelect-1a71fec6.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-d0892f73.js → OrTextarea-bb9ef3f2.js} +22 -43
- 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 +20 -33
- 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 -37
- 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
|
@@ -6,9 +6,7 @@ import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
|
|
|
6
6
|
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-79ec54ad.js';
|
|
7
7
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
8
8
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
9
|
-
import {
|
|
10
|
-
import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
|
|
11
|
-
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
9
|
+
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
12
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
13
11
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
14
12
|
|
|
@@ -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,35 +113,32 @@ 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
|
});
|
|
@@ -162,12 +151,12 @@ var __vue_render__ = function () {
|
|
|
162
151
|
var _vm = this;
|
|
163
152
|
var _h = _vm.$createElement;
|
|
164
153
|
var _c = _vm._self._c || _h;
|
|
165
|
-
return _c('div',
|
|
154
|
+
return _c('div', {
|
|
166
155
|
ref: "root",
|
|
167
156
|
class: _vm.rootStyles
|
|
168
|
-
},
|
|
157
|
+
}, [_vm.label ? [_c('OrLabel', {
|
|
169
158
|
attrs: {
|
|
170
|
-
"control-id": _vm.
|
|
159
|
+
"control-id": _vm.controlId,
|
|
171
160
|
"variant": 'input',
|
|
172
161
|
"required": _vm.required,
|
|
173
162
|
"disabled": _vm.disabled
|
|
@@ -194,12 +183,12 @@ var __vue_render__ = function () {
|
|
|
194
183
|
value: _vm.proxyModelValue,
|
|
195
184
|
expression: "proxyModelValue"
|
|
196
185
|
}],
|
|
197
|
-
ref: "
|
|
186
|
+
ref: "input",
|
|
198
187
|
class: _vm.controlStyles,
|
|
199
188
|
attrs: {
|
|
189
|
+
"id": _vm.controlId,
|
|
200
190
|
"placeholder": _vm.placeholder,
|
|
201
191
|
"required": _vm.required,
|
|
202
|
-
"readonly": _vm.readonly,
|
|
203
192
|
"disabled": _vm.disabled,
|
|
204
193
|
"type": "checkbox"
|
|
205
194
|
},
|
|
@@ -236,19 +225,19 @@ var __vue_render__ = function () {
|
|
|
236
225
|
}
|
|
237
226
|
}
|
|
238
227
|
}
|
|
239
|
-
}, 'input', _vm
|
|
228
|
+
}, 'input', _vm.$attrs, false)) : (_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'radio' ? _c('input', _vm._b({
|
|
240
229
|
directives: [{
|
|
241
230
|
name: "model",
|
|
242
231
|
rawName: "v-model",
|
|
243
232
|
value: _vm.proxyModelValue,
|
|
244
233
|
expression: "proxyModelValue"
|
|
245
234
|
}],
|
|
246
|
-
ref: "
|
|
235
|
+
ref: "input",
|
|
247
236
|
class: _vm.controlStyles,
|
|
248
237
|
attrs: {
|
|
238
|
+
"id": _vm.controlId,
|
|
249
239
|
"placeholder": _vm.placeholder,
|
|
250
240
|
"required": _vm.required,
|
|
251
|
-
"readonly": _vm.readonly,
|
|
252
241
|
"disabled": _vm.disabled,
|
|
253
242
|
"type": "radio"
|
|
254
243
|
},
|
|
@@ -272,19 +261,19 @@ var __vue_render__ = function () {
|
|
|
272
261
|
_vm.proxyModelValue = null;
|
|
273
262
|
}
|
|
274
263
|
}
|
|
275
|
-
}, 'input', _vm
|
|
264
|
+
}, 'input', _vm.$attrs, false)) : _c('input', _vm._b({
|
|
276
265
|
directives: [{
|
|
277
266
|
name: "model",
|
|
278
267
|
rawName: "v-model",
|
|
279
268
|
value: _vm.proxyModelValue,
|
|
280
269
|
expression: "proxyModelValue"
|
|
281
270
|
}],
|
|
282
|
-
ref: "
|
|
271
|
+
ref: "input",
|
|
283
272
|
class: _vm.controlStyles,
|
|
284
273
|
attrs: {
|
|
274
|
+
"id": _vm.controlId,
|
|
285
275
|
"placeholder": _vm.placeholder,
|
|
286
276
|
"required": _vm.required,
|
|
287
|
-
"readonly": _vm.readonly,
|
|
288
277
|
"disabled": _vm.disabled,
|
|
289
278
|
"type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type
|
|
290
279
|
},
|
|
@@ -311,7 +300,7 @@ var __vue_render__ = function () {
|
|
|
311
300
|
_vm.proxyModelValue = $event.target.value;
|
|
312
301
|
}
|
|
313
302
|
}
|
|
314
|
-
}, 'input', _vm
|
|
303
|
+
}, 'input', _vm.$attrs, false)), _vm._v(" "), _c('div', {
|
|
315
304
|
class: ['layout-row']
|
|
316
305
|
}, [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
317
306
|
attrs: {
|
|
@@ -332,7 +321,7 @@ var __vue_render__ = function () {
|
|
|
332
321
|
attrs: {
|
|
333
322
|
"icon": 'close',
|
|
334
323
|
"color": 'inherit',
|
|
335
|
-
"disabled": _vm.
|
|
324
|
+
"disabled": _vm.disabled
|
|
336
325
|
},
|
|
337
326
|
on: {
|
|
338
327
|
"click": function ($event) {
|
|
@@ -374,14 +363,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
374
363
|
/* style */
|
|
375
364
|
const __vue_inject_styles__ = function (inject) {
|
|
376
365
|
if (!inject) return;
|
|
377
|
-
inject("data-v-
|
|
378
|
-
source: "input[data-v-
|
|
366
|
+
inject("data-v-677a1aa4_0", {
|
|
367
|
+
source: "input[data-v-677a1aa4]{min-width:0;background:0 0;outline:0}input[type=number][data-v-677a1aa4]::-webkit-inner-spin-button{display:none}input[type=search][data-v-677a1aa4]::-webkit-search-cancel-button{display:none}",
|
|
379
368
|
map: undefined,
|
|
380
369
|
media: undefined
|
|
381
370
|
});
|
|
382
371
|
};
|
|
383
372
|
/* scoped */
|
|
384
|
-
const __vue_scope_id__ = "data-v-
|
|
373
|
+
const __vue_scope_id__ = "data-v-677a1aa4";
|
|
385
374
|
/* module identifier */
|
|
386
375
|
const __vue_module_identifier__ = undefined;
|
|
387
376
|
/* functional template */
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { O as OrLabel, L as LabelVariant } from './OrLabel-172c4b89.js';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
4
|
-
import {
|
|
5
|
-
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
|
+
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
6
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
8
7
|
|
|
@@ -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,24 +95,12 @@ 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
|
});
|
|
@@ -128,19 +113,19 @@ var __vue_render__ = function () {
|
|
|
128
113
|
var _vm = this;
|
|
129
114
|
var _h = _vm.$createElement;
|
|
130
115
|
var _c = _vm._self._c || _h;
|
|
131
|
-
return _c('div',
|
|
116
|
+
return _c('div', {
|
|
132
117
|
ref: "root",
|
|
133
118
|
class: _vm.rootStyles
|
|
134
|
-
},
|
|
119
|
+
}, [_c('input', _vm._b({
|
|
135
120
|
directives: [{
|
|
136
121
|
name: "model",
|
|
137
122
|
rawName: "v-model",
|
|
138
123
|
value: _vm.proxyModelValue,
|
|
139
124
|
expression: "proxyModelValue"
|
|
140
125
|
}],
|
|
141
|
-
ref: "control",
|
|
142
126
|
class: _vm.controlStyles,
|
|
143
127
|
attrs: {
|
|
128
|
+
"id": _vm.controlId,
|
|
144
129
|
"type": "radio",
|
|
145
130
|
"required": _vm.required,
|
|
146
131
|
"disabled": _vm.disabled
|
|
@@ -160,9 +145,9 @@ var __vue_render__ = function () {
|
|
|
160
145
|
_vm.proxyModelValue = _vm.inputValue;
|
|
161
146
|
}
|
|
162
147
|
}
|
|
163
|
-
}, 'input', _vm
|
|
148
|
+
}, 'input', _vm.$attrs, false)), _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
|
|
164
149
|
attrs: {
|
|
165
|
-
"control-id": _vm.
|
|
150
|
+
"control-id": _vm.controlId,
|
|
166
151
|
"variant": _vm.labelVariant,
|
|
167
152
|
"required": _vm.required,
|
|
168
153
|
"disabled": _vm.disabled
|
|
@@ -183,14 +168,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
183
168
|
/* style */
|
|
184
169
|
const __vue_inject_styles__ = function (inject) {
|
|
185
170
|
if (!inject) return;
|
|
186
|
-
inject("data-v-
|
|
187
|
-
source: "input[data-v-
|
|
171
|
+
inject("data-v-3a964458_0", {
|
|
172
|
+
source: "input[data-v-3a964458]{appearance:none;line-height:0}",
|
|
188
173
|
map: undefined,
|
|
189
174
|
media: undefined
|
|
190
175
|
});
|
|
191
176
|
};
|
|
192
177
|
/* scoped */
|
|
193
|
-
const __vue_scope_id__ = "data-v-
|
|
178
|
+
const __vue_scope_id__ = "data-v-3a964458";
|
|
194
179
|
/* module identifier */
|
|
195
180
|
const __vue_module_identifier__ = undefined;
|
|
196
181
|
/* functional template */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import { O as OrInput } from './OrInput-
|
|
3
|
+
import { O as OrInput } from './OrInput-82ccfe00.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
5
5
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
6
|
import { a as InputBoxSize } from './OrInputBox-79ec54ad.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrCheckbox } from './OrCheckbox-
|
|
2
|
+
import { O as OrCheckbox } from './OrCheckbox-dbef9f9a.js';
|
|
3
3
|
import { O as OrError } from './OrError-aad17598.js';
|
|
4
4
|
import { O as OrExpansionPanel } from './OrExpansionPanel-d9a260e2.js';
|
|
5
5
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
6
6
|
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
7
|
-
import { O as OrInput } from './OrInput-
|
|
7
|
+
import { O as OrInput } from './OrInput-82ccfe00.js';
|
|
8
8
|
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-79ec54ad.js';
|
|
9
9
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
10
10
|
import { O as OrMenuItem } from './OrMenuItem-26420908.js';
|
|
@@ -2,8 +2,7 @@ import './index-fa6eb4ca.js';
|
|
|
2
2
|
import { O as OrLabel, L as LabelVariant } from './OrLabel-172c4b89.js';
|
|
3
3
|
import { O as OrLoader } from './OrLoader-6a1f937b.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
5
|
-
import {
|
|
6
|
-
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
|
+
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
7
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
7
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
9
8
|
|
|
@@ -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,25 +122,13 @@ 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
|
});
|
|
@@ -156,19 +141,19 @@ var __vue_render__ = function () {
|
|
|
156
141
|
var _vm = this;
|
|
157
142
|
var _h = _vm.$createElement;
|
|
158
143
|
var _c = _vm._self._c || _h;
|
|
159
|
-
return _c('div',
|
|
144
|
+
return _c('div', {
|
|
160
145
|
ref: "root",
|
|
161
146
|
class: _vm.rootStyles
|
|
162
|
-
},
|
|
147
|
+
}, [!_vm.loading ? [_c('input', _vm._b({
|
|
163
148
|
directives: [{
|
|
164
149
|
name: "model",
|
|
165
150
|
rawName: "v-model",
|
|
166
151
|
value: _vm.proxyModelValue,
|
|
167
152
|
expression: "proxyModelValue"
|
|
168
153
|
}],
|
|
169
|
-
ref: "control",
|
|
170
154
|
class: _vm.controlStyles,
|
|
171
155
|
attrs: {
|
|
156
|
+
"id": _vm.controlId,
|
|
172
157
|
"type": "checkbox",
|
|
173
158
|
"required": _vm.required,
|
|
174
159
|
"disabled": _vm.disabled
|
|
@@ -201,7 +186,7 @@ var __vue_render__ = function () {
|
|
|
201
186
|
}
|
|
202
187
|
}
|
|
203
188
|
}
|
|
204
|
-
}, 'input', _vm
|
|
189
|
+
}, 'input', _vm.$attrs, false))] : [_c('div', {
|
|
205
190
|
class: _vm.loaderStyles,
|
|
206
191
|
attrs: {
|
|
207
192
|
"disabled": _vm.disabled ? '' : null
|
|
@@ -214,7 +199,7 @@ var __vue_render__ = function () {
|
|
|
214
199
|
}
|
|
215
200
|
})], 1)], _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
|
|
216
201
|
attrs: {
|
|
217
|
-
"control-id": _vm.
|
|
202
|
+
"control-id": _vm.controlId,
|
|
218
203
|
"variant": _vm.labelVariant,
|
|
219
204
|
"required": _vm.required,
|
|
220
205
|
"disabled": _vm.disabled
|
|
@@ -235,14 +220,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
235
220
|
/* style */
|
|
236
221
|
const __vue_inject_styles__ = function (inject) {
|
|
237
222
|
if (!inject) return;
|
|
238
|
-
inject("data-v-
|
|
239
|
-
source: "input[data-v-
|
|
223
|
+
inject("data-v-bd0f51ac_0", {
|
|
224
|
+
source: "input[data-v-bd0f51ac]{appearance:none;line-height:0}",
|
|
240
225
|
map: undefined,
|
|
241
226
|
media: undefined
|
|
242
227
|
});
|
|
243
228
|
};
|
|
244
229
|
/* scoped */
|
|
245
|
-
const __vue_scope_id__ = "data-v-
|
|
230
|
+
const __vue_scope_id__ = "data-v-bd0f51ac";
|
|
246
231
|
/* module identifier */
|
|
247
232
|
const __vue_module_identifier__ = undefined;
|
|
248
233
|
/* functional template */
|
|
@@ -4,9 +4,7 @@ import { O as OrHint } from './OrHint-f38a1940.js';
|
|
|
4
4
|
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-79ec54ad.js';
|
|
5
5
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
6
6
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
7
|
-
import {
|
|
8
|
-
import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
|
|
9
|
-
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
7
|
+
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
10
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
9
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
12
10
|
|
|
@@ -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
|
});
|
|
@@ -140,12 +121,12 @@ var __vue_render__ = function () {
|
|
|
140
121
|
var _vm = this;
|
|
141
122
|
var _h = _vm.$createElement;
|
|
142
123
|
var _c = _vm._self._c || _h;
|
|
143
|
-
return _c('div',
|
|
124
|
+
return _c('div', {
|
|
144
125
|
ref: "root",
|
|
145
126
|
class: _vm.rootStyles
|
|
146
|
-
},
|
|
127
|
+
}, [_vm.label ? [_c('OrLabel', {
|
|
147
128
|
attrs: {
|
|
148
|
-
"control-id": _vm.
|
|
129
|
+
"control-id": _vm.controlId,
|
|
149
130
|
"variant": 'input',
|
|
150
131
|
"required": _vm.required,
|
|
151
132
|
"disabled": _vm.disabled
|
|
@@ -171,12 +152,11 @@ var __vue_render__ = function () {
|
|
|
171
152
|
value: _vm.proxyModelValue,
|
|
172
153
|
expression: "proxyModelValue"
|
|
173
154
|
}],
|
|
174
|
-
ref: "control",
|
|
175
155
|
class: _vm.controlStyles,
|
|
176
156
|
attrs: {
|
|
157
|
+
"id": _vm.controlId,
|
|
177
158
|
"placeholder": _vm.placeholder,
|
|
178
159
|
"required": _vm.required,
|
|
179
|
-
"readonly": _vm.readonly,
|
|
180
160
|
"disabled": _vm.disabled
|
|
181
161
|
},
|
|
182
162
|
domProps: {
|
|
@@ -202,7 +182,7 @@ var __vue_render__ = function () {
|
|
|
202
182
|
_vm.proxyModelValue = $event.target.value;
|
|
203
183
|
}
|
|
204
184
|
}
|
|
205
|
-
}, 'textarea', _vm
|
|
185
|
+
}, 'textarea', _vm.$attrs, false))]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
206
186
|
attrs: {
|
|
207
187
|
"disabled": _vm.disabled
|
|
208
188
|
},
|
|
@@ -231,14 +211,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
231
211
|
/* style */
|
|
232
212
|
const __vue_inject_styles__ = function (inject) {
|
|
233
213
|
if (!inject) return;
|
|
234
|
-
inject("data-v-
|
|
235
|
-
source: "textarea[data-v-
|
|
214
|
+
inject("data-v-61af6ad5_0", {
|
|
215
|
+
source: "textarea[data-v-61af6ad5]{min-width:0;background:0 0;outline:0}",
|
|
236
216
|
map: undefined,
|
|
237
217
|
media: undefined
|
|
238
218
|
});
|
|
239
219
|
};
|
|
240
220
|
/* scoped */
|
|
241
|
-
const __vue_scope_id__ = "data-v-
|
|
221
|
+
const __vue_scope_id__ = "data-v-61af6ad5";
|
|
242
222
|
/* module identifier */
|
|
243
223
|
const __vue_module_identifier__ = undefined;
|
|
244
224
|
/* functional template */
|