@onereach/ui-components 2.70.1 → 2.70.2-beta.2199.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-1bb83cfb.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-251ecafc.js} +32 -17
- package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-4cae7867.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-2133e469.js} +38 -22
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-d61ca596.js} +34 -18
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-770f1bed.js} +38 -30
- package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-468d0964.js} +1 -1
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-ae89bc9b.js} +30 -15
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-2e5f9e24.js} +1 -1
- package/dist/bundled/v2/{OrSelect-c49e1bcf.js → OrSelect-039c0711.js} +2 -2
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-20640a05.js} +30 -15
- package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-85aefcba.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-0ff8063b.js} +39 -20
- package/dist/bundled/v2/components/index.js +15 -13
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v2/hooks/index.d.ts +3 -0
- package/dist/bundled/v2/hooks/index.js +2 -0
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v2/index.js +15 -13
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-a0f29a55.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-2024ec32.js} +22 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-7d9d3810.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-40f0073f.js} +27 -11
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-2817edd5.js} +27 -11
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-e325a104.js} +12 -12
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-fd850b82.js} +26 -15
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-0d9daaa7.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-29e8b856.js} +22 -7
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-480f4b1c.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-58e5a52b.js → OrSelect.vue_vue_type_script_lang-7aa8956a.js} +17 -15
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-02b4913a.js} +22 -7
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-01188224.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-2fdac7b2.js} +31 -12
- package/dist/bundled/v3/components/index.js +16 -14
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-radio-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -4
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-switch-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/bundled/v3/hooks/index.d.ts +3 -0
- package/dist/bundled/v3/hooks/index.js +2 -0
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v3/index.js +76 -68
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-784318ac.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-7317fe1a.js} +32 -17
- package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-3d064f6c.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-7c4f1f92.js} +38 -22
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-3381e2a9.js} +34 -18
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-e10cc643.js} +38 -30
- package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-291bd1b9.js} +1 -1
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-b0a560d2.js} +30 -15
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-1490c00b.js} +1 -1
- package/dist/esm/v2/{OrSelect-1d705445.js → OrSelect-1fbeed4f.js} +2 -2
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-133052ca.js} +30 -15
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-e5b81f4b.js} +1 -1
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a7c846da.js} +39 -20
- package/dist/esm/v2/components/index.js +15 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v2/components/or-input-v3/index.js +3 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v2/components/or-search-v3/index.js +4 -2
- package/dist/esm/v2/components/or-select-v3/index.js +5 -3
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v2/hooks/index.d.ts +3 -0
- package/dist/esm/v2/hooks/index.js +2 -0
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v2/index.js +15 -13
- package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-110b3a0b.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-7144da06.js} +36 -19
- package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-1a38ed1b.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-a6b19dbe.js} +37 -20
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-9eb60363.js} +37 -20
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-e07ec00c.js} +37 -26
- package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-5e01a0a5.js} +1 -1
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-39d1905d.js} +34 -17
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-a60f67f0.js} +1 -1
- package/dist/esm/v3/{OrSelect-dfa4885f.js → OrSelect-2c70e384.js} +2 -2
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-3e9a699d.js} +34 -18
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-91618aab.js} +1 -1
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-fd6b9f31.js} +42 -22
- package/dist/esm/v3/components/index.js +15 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +36 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +43 -8
- package/dist/esm/v3/components/or-input-v3/index.js +3 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v3/components/or-search-v3/index.js +4 -2
- package/dist/esm/v3/components/or-select-v3/index.js +5 -3
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +45 -6
- package/dist/esm/v3/components/or-textarea-v3/index.js +3 -1
- package/dist/esm/v3/hooks/index.d.ts +3 -0
- package/dist/esm/v3/hooks/index.js +2 -0
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v3/index.js +15 -13
- package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
- package/package.json +2 -3
- package/src/components/or-checkbox-v3/OrCheckbox.vue +28 -10
- package/src/components/or-inline-input-v3/OrInlineInput.vue +32 -13
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +32 -13
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +31 -19
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-radio-v3/OrRadio.vue +27 -9
- package/src/components/or-switch-v3/OrSwitch.vue +27 -9
- package/src/components/or-tabs-v3/OrTabs.vue +1 -1
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +36 -14
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useControlAttributes.ts +19 -0
- package/src/hooks/useIdAttribute.ts +9 -0
- package/src/hooks/useValidationAttributes.ts +25 -0
|
@@ -1,7 +1,8 @@
|
|
|
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 {
|
|
4
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
5
|
+
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
7
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
7
8
|
|
|
@@ -72,18 +73,20 @@ var script = defineComponent({
|
|
|
72
73
|
}
|
|
73
74
|
},
|
|
74
75
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
75
|
-
expose: ['root'],
|
|
76
|
+
expose: ['root', 'focus', 'blur'],
|
|
76
77
|
setup(props, context) {
|
|
77
|
-
var _a;
|
|
78
|
-
const currentInstance = getCurrentInstance();
|
|
79
78
|
// Refs
|
|
80
79
|
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
|
|
86
|
+
const controlAttributes = reactive({
|
|
87
|
+
id: useIdAttribute(),
|
|
88
|
+
...useControlAttributes()
|
|
89
|
+
});
|
|
87
90
|
const proxyModelValue = computed({
|
|
88
91
|
get: () => {
|
|
89
92
|
var _a;
|
|
@@ -95,12 +98,24 @@ var script = defineComponent({
|
|
|
95
98
|
context.emit('update:modelValue', value);
|
|
96
99
|
}
|
|
97
100
|
});
|
|
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
|
+
}
|
|
98
110
|
return {
|
|
99
111
|
root,
|
|
112
|
+
control,
|
|
100
113
|
rootStyles,
|
|
101
114
|
controlStyles,
|
|
102
|
-
|
|
103
|
-
proxyModelValue
|
|
115
|
+
controlAttributes,
|
|
116
|
+
proxyModelValue,
|
|
117
|
+
focus,
|
|
118
|
+
blur
|
|
104
119
|
};
|
|
105
120
|
}
|
|
106
121
|
});
|
|
@@ -113,19 +128,19 @@ var __vue_render__ = function () {
|
|
|
113
128
|
var _vm = this;
|
|
114
129
|
var _h = _vm.$createElement;
|
|
115
130
|
var _c = _vm._self._c || _h;
|
|
116
|
-
return _c('div', {
|
|
131
|
+
return _c('div', _vm._b({
|
|
117
132
|
ref: "root",
|
|
118
133
|
class: _vm.rootStyles
|
|
119
|
-
}, [_c('input', _vm._b({
|
|
134
|
+
}, 'div', _vm.$attrs, false), [_c('input', _vm._b({
|
|
120
135
|
directives: [{
|
|
121
136
|
name: "model",
|
|
122
137
|
rawName: "v-model",
|
|
123
138
|
value: _vm.proxyModelValue,
|
|
124
139
|
expression: "proxyModelValue"
|
|
125
140
|
}],
|
|
141
|
+
ref: "control",
|
|
126
142
|
class: _vm.controlStyles,
|
|
127
143
|
attrs: {
|
|
128
|
-
"id": _vm.controlId,
|
|
129
144
|
"type": "radio",
|
|
130
145
|
"required": _vm.required,
|
|
131
146
|
"disabled": _vm.disabled
|
|
@@ -145,9 +160,9 @@ var __vue_render__ = function () {
|
|
|
145
160
|
_vm.proxyModelValue = _vm.inputValue;
|
|
146
161
|
}
|
|
147
162
|
}
|
|
148
|
-
}, 'input', _vm
|
|
163
|
+
}, 'input', _vm.controlAttributes, false)), _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
|
|
149
164
|
attrs: {
|
|
150
|
-
"control-id": _vm.
|
|
165
|
+
"control-id": _vm.controlAttributes.id,
|
|
151
166
|
"variant": _vm.labelVariant,
|
|
152
167
|
"required": _vm.required,
|
|
153
168
|
"disabled": _vm.disabled
|
|
@@ -168,14 +183,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
168
183
|
/* style */
|
|
169
184
|
const __vue_inject_styles__ = function (inject) {
|
|
170
185
|
if (!inject) return;
|
|
171
|
-
inject("data-v-
|
|
172
|
-
source: "input[data-v-
|
|
186
|
+
inject("data-v-5a34efe0_0", {
|
|
187
|
+
source: "input[data-v-5a34efe0]{appearance:none;line-height:0}",
|
|
173
188
|
map: undefined,
|
|
174
189
|
media: undefined
|
|
175
190
|
});
|
|
176
191
|
};
|
|
177
192
|
/* scoped */
|
|
178
|
-
const __vue_scope_id__ = "data-v-
|
|
193
|
+
const __vue_scope_id__ = "data-v-5a34efe0";
|
|
179
194
|
/* module identifier */
|
|
180
195
|
const __vue_module_identifier__ = undefined;
|
|
181
196
|
/* 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-770f1bed.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-251ecafc.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-770f1bed.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,7 +2,8 @@ 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 {
|
|
5
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
6
|
+
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
8
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
8
9
|
|
|
@@ -98,19 +99,21 @@ var script = defineComponent({
|
|
|
98
99
|
}
|
|
99
100
|
},
|
|
100
101
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
101
|
-
expose: ['root'],
|
|
102
|
+
expose: ['root', 'focus', 'blur'],
|
|
102
103
|
setup(props, context) {
|
|
103
|
-
var _a;
|
|
104
|
-
const currentInstance = getCurrentInstance();
|
|
105
104
|
// Refs
|
|
106
105
|
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
|
|
113
|
+
const controlAttributes = reactive({
|
|
114
|
+
id: useIdAttribute(),
|
|
115
|
+
...useControlAttributes()
|
|
116
|
+
});
|
|
114
117
|
const proxyModelValue = computed({
|
|
115
118
|
get: () => {
|
|
116
119
|
var _a;
|
|
@@ -122,13 +125,25 @@ var script = defineComponent({
|
|
|
122
125
|
context.emit('update:modelValue', value);
|
|
123
126
|
}
|
|
124
127
|
});
|
|
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
|
+
}
|
|
125
137
|
return {
|
|
126
138
|
root,
|
|
139
|
+
control,
|
|
127
140
|
rootStyles,
|
|
128
141
|
controlStyles,
|
|
129
142
|
loaderStyles,
|
|
130
|
-
|
|
131
|
-
proxyModelValue
|
|
143
|
+
controlAttributes,
|
|
144
|
+
proxyModelValue,
|
|
145
|
+
focus,
|
|
146
|
+
blur
|
|
132
147
|
};
|
|
133
148
|
}
|
|
134
149
|
});
|
|
@@ -141,19 +156,19 @@ var __vue_render__ = function () {
|
|
|
141
156
|
var _vm = this;
|
|
142
157
|
var _h = _vm.$createElement;
|
|
143
158
|
var _c = _vm._self._c || _h;
|
|
144
|
-
return _c('div', {
|
|
159
|
+
return _c('div', _vm._b({
|
|
145
160
|
ref: "root",
|
|
146
161
|
class: _vm.rootStyles
|
|
147
|
-
}, [!_vm.loading ? [_c('input', _vm._b({
|
|
162
|
+
}, 'div', _vm.$attrs, false), [!_vm.loading ? [_c('input', _vm._b({
|
|
148
163
|
directives: [{
|
|
149
164
|
name: "model",
|
|
150
165
|
rawName: "v-model",
|
|
151
166
|
value: _vm.proxyModelValue,
|
|
152
167
|
expression: "proxyModelValue"
|
|
153
168
|
}],
|
|
169
|
+
ref: "control",
|
|
154
170
|
class: _vm.controlStyles,
|
|
155
171
|
attrs: {
|
|
156
|
-
"id": _vm.controlId,
|
|
157
172
|
"type": "checkbox",
|
|
158
173
|
"required": _vm.required,
|
|
159
174
|
"disabled": _vm.disabled
|
|
@@ -186,7 +201,7 @@ var __vue_render__ = function () {
|
|
|
186
201
|
}
|
|
187
202
|
}
|
|
188
203
|
}
|
|
189
|
-
}, 'input', _vm
|
|
204
|
+
}, 'input', _vm.controlAttributes, false))] : [_c('div', {
|
|
190
205
|
class: _vm.loaderStyles,
|
|
191
206
|
attrs: {
|
|
192
207
|
"disabled": _vm.disabled ? '' : null
|
|
@@ -199,7 +214,7 @@ var __vue_render__ = function () {
|
|
|
199
214
|
}
|
|
200
215
|
})], 1)], _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
|
|
201
216
|
attrs: {
|
|
202
|
-
"control-id": _vm.
|
|
217
|
+
"control-id": _vm.controlAttributes.id,
|
|
203
218
|
"variant": _vm.labelVariant,
|
|
204
219
|
"required": _vm.required,
|
|
205
220
|
"disabled": _vm.disabled
|
|
@@ -220,14 +235,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
220
235
|
/* style */
|
|
221
236
|
const __vue_inject_styles__ = function (inject) {
|
|
222
237
|
if (!inject) return;
|
|
223
|
-
inject("data-v-
|
|
224
|
-
source: "input[data-v-
|
|
238
|
+
inject("data-v-203b3e04_0", {
|
|
239
|
+
source: "input[data-v-203b3e04]{appearance:none;line-height:0}",
|
|
225
240
|
map: undefined,
|
|
226
241
|
media: undefined
|
|
227
242
|
});
|
|
228
243
|
};
|
|
229
244
|
/* scoped */
|
|
230
|
-
const __vue_scope_id__ = "data-v-
|
|
245
|
+
const __vue_scope_id__ = "data-v-203b3e04";
|
|
231
246
|
/* module identifier */
|
|
232
247
|
const __vue_module_identifier__ = undefined;
|
|
233
248
|
/* functional template */
|
|
@@ -4,7 +4,9 @@ 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 {
|
|
7
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
8
|
+
import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
|
|
9
|
+
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
11
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
10
12
|
|
|
@@ -63,24 +65,31 @@ var script = defineComponent({
|
|
|
63
65
|
type: Boolean,
|
|
64
66
|
default: false
|
|
65
67
|
},
|
|
68
|
+
readonly: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: false
|
|
71
|
+
},
|
|
66
72
|
disabled: {
|
|
67
73
|
type: Boolean,
|
|
68
74
|
default: false
|
|
69
75
|
}
|
|
70
76
|
},
|
|
71
77
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
72
|
-
expose: ['root'],
|
|
78
|
+
expose: ['root', 'focus', 'blur'],
|
|
73
79
|
setup(props, context) {
|
|
74
|
-
var _a;
|
|
75
|
-
const currentInstance = getCurrentInstance();
|
|
76
80
|
// Refs
|
|
77
81
|
const root = ref();
|
|
82
|
+
const control = ref();
|
|
78
83
|
// Styles
|
|
79
84
|
const classAttribute = useClassAttribute();
|
|
80
85
|
const rootStyles = computed(() => ['or-textarea', ...TextareaRoot, classAttribute.value]);
|
|
81
86
|
const controlStyles = computed(() => [...TextareaControl]);
|
|
82
87
|
// State
|
|
83
|
-
const
|
|
88
|
+
const controlAttributes = reactive({
|
|
89
|
+
id: useIdAttribute(),
|
|
90
|
+
...useControlAttributes(),
|
|
91
|
+
...useValidationAttributes()
|
|
92
|
+
});
|
|
84
93
|
const proxyModelValue = computed({
|
|
85
94
|
get: () => {
|
|
86
95
|
var _a;
|
|
@@ -92,23 +101,33 @@ var script = defineComponent({
|
|
|
92
101
|
context.emit('update:modelValue', value);
|
|
93
102
|
}
|
|
94
103
|
});
|
|
95
|
-
const invalid = computed(() => !!props.error);
|
|
96
|
-
const readonly = computed(() => context.attrs.readonly);
|
|
97
104
|
const currentLength = computed(() => {
|
|
98
105
|
var _a, _b;
|
|
99
106
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
100
107
|
});
|
|
101
|
-
const maxLength = computed(() =>
|
|
108
|
+
const maxLength = computed(() => controlAttributes.maxlength);
|
|
109
|
+
const invalid = computed(() => !!props.error);
|
|
110
|
+
// Methods
|
|
111
|
+
function focus() {
|
|
112
|
+
var _a;
|
|
113
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
114
|
+
}
|
|
115
|
+
function blur() {
|
|
116
|
+
var _a;
|
|
117
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
118
|
+
}
|
|
102
119
|
return {
|
|
103
120
|
root,
|
|
121
|
+
control,
|
|
104
122
|
rootStyles,
|
|
105
123
|
controlStyles,
|
|
106
|
-
|
|
124
|
+
controlAttributes,
|
|
107
125
|
proxyModelValue,
|
|
108
|
-
invalid,
|
|
109
|
-
readonly,
|
|
110
126
|
currentLength,
|
|
111
|
-
maxLength
|
|
127
|
+
maxLength,
|
|
128
|
+
invalid,
|
|
129
|
+
focus,
|
|
130
|
+
blur
|
|
112
131
|
};
|
|
113
132
|
}
|
|
114
133
|
});
|
|
@@ -121,12 +140,12 @@ var __vue_render__ = function () {
|
|
|
121
140
|
var _vm = this;
|
|
122
141
|
var _h = _vm.$createElement;
|
|
123
142
|
var _c = _vm._self._c || _h;
|
|
124
|
-
return _c('div', {
|
|
143
|
+
return _c('div', _vm._b({
|
|
125
144
|
ref: "root",
|
|
126
145
|
class: _vm.rootStyles
|
|
127
|
-
}, [_vm.label ? [_c('OrLabel', {
|
|
146
|
+
}, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
|
|
128
147
|
attrs: {
|
|
129
|
-
"control-id": _vm.
|
|
148
|
+
"control-id": _vm.controlAttributes.id,
|
|
130
149
|
"variant": 'input',
|
|
131
150
|
"required": _vm.required,
|
|
132
151
|
"disabled": _vm.disabled
|
|
@@ -152,9 +171,9 @@ var __vue_render__ = function () {
|
|
|
152
171
|
value: _vm.proxyModelValue,
|
|
153
172
|
expression: "proxyModelValue"
|
|
154
173
|
}],
|
|
174
|
+
ref: "control",
|
|
155
175
|
class: _vm.controlStyles,
|
|
156
176
|
attrs: {
|
|
157
|
-
"id": _vm.controlId,
|
|
158
177
|
"placeholder": _vm.placeholder,
|
|
159
178
|
"required": _vm.required,
|
|
160
179
|
"disabled": _vm.disabled
|
|
@@ -182,7 +201,7 @@ var __vue_render__ = function () {
|
|
|
182
201
|
_vm.proxyModelValue = $event.target.value;
|
|
183
202
|
}
|
|
184
203
|
}
|
|
185
|
-
}, 'textarea', _vm
|
|
204
|
+
}, 'textarea', _vm.controlAttributes, false))]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
186
205
|
attrs: {
|
|
187
206
|
"disabled": _vm.disabled
|
|
188
207
|
},
|
|
@@ -211,14 +230,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
211
230
|
/* style */
|
|
212
231
|
const __vue_inject_styles__ = function (inject) {
|
|
213
232
|
if (!inject) return;
|
|
214
|
-
inject("data-v-
|
|
215
|
-
source: "textarea[data-v-
|
|
233
|
+
inject("data-v-17d8e528_0", {
|
|
234
|
+
source: "textarea[data-v-17d8e528]{min-width:0;background:0 0;outline:0}",
|
|
216
235
|
map: undefined,
|
|
217
236
|
media: undefined
|
|
218
237
|
});
|
|
219
238
|
};
|
|
220
239
|
/* scoped */
|
|
221
|
-
const __vue_scope_id__ = "data-v-
|
|
240
|
+
const __vue_scope_id__ = "data-v-17d8e528";
|
|
222
241
|
/* module identifier */
|
|
223
242
|
const __vue_module_identifier__ = undefined;
|
|
224
243
|
/* functional template */
|
|
@@ -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, O as OrButtonV3 } from '../OrButton-a846fa7e.js';
|
|
9
9
|
export { O as OrCard } from '../OrCard-a6b30f8f.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-89428bbf.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-1bb83cfb.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-29116e1f.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-6da755c0.js';
|
|
14
14
|
export { O as OrCheckbox } from '../OrCheckbox-4cbddd67.js';
|
|
15
|
-
export { O as OrCheckboxV3 } from '../OrCheckbox-
|
|
15
|
+
export { O as OrCheckboxV3 } from '../OrCheckbox-251ecafc.js';
|
|
16
16
|
export { O as OrChip } from '../OrChip-000fe7b5.js';
|
|
17
17
|
export { _ as OrChips } from '../OrChips-890b8476.js';
|
|
18
18
|
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-fc6876ec.js';
|
|
19
19
|
export { O as OrCollapse } from '../OrCollapse-3aa9a9b7.js';
|
|
20
20
|
export { _ 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-a1a37e83.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-56d01cff.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-4cae7867.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-e212f892.js';
|
|
24
24
|
export { O as OrError } from '../OrError-31503e4c.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-d0c5bcf4.js';
|
|
@@ -34,11 +34,11 @@ export { O as OrIcon, a as OrIconColors, b as OrIconType } from '../OrIcon-10ec4
|
|
|
34
34
|
export { I as IconButtonColor, O as OrIconButtonV3 } from '../OrIconButton-a2ba92df.js';
|
|
35
35
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, O as OrIconV3 } from '../OrIcon-8625385f.js';
|
|
36
36
|
export { I as InlineInputBoxSize, I as InlineInputSize, O as OrInlineInputBoxV3 } from '../OrInlineInputBox-f457210f.js';
|
|
37
|
-
export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-
|
|
37
|
+
export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-2133e469.js';
|
|
38
38
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-7262efdf.js';
|
|
39
|
-
export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-
|
|
39
|
+
export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-d61ca596.js';
|
|
40
40
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, O as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-79ec54ad.js';
|
|
41
|
-
export { I as InputType, O as OrInputV3 } from '../OrInput-
|
|
41
|
+
export { I as InputType, O as OrInputV3 } from '../OrInput-770f1bed.js';
|
|
42
42
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from '../OrPassword-7da938aa.js';
|
|
43
43
|
export { O as OrInput } from '../OrInput-08f2f666.js';
|
|
44
44
|
export { O as OrSearch } from '../OrSearch-f7cfa52f.js';
|
|
@@ -59,16 +59,16 @@ export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotificati
|
|
|
59
59
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-711e460e.js';
|
|
60
60
|
export { O as OrOverlay } from '../OrOverlay-47967a8b.js';
|
|
61
61
|
export { O as OrOverlayV3 } from '../OrOverlay-3c89d622.js';
|
|
62
|
-
export { _ as OrPaginationV3 } from '../OrPagination-
|
|
62
|
+
export { _ as OrPaginationV3 } from '../OrPagination-468d0964.js';
|
|
63
63
|
export { O as OrProgress, a as OrProgressColors, b as OrProgressTypes } from '../OrProgress-de947341.js';
|
|
64
64
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-cc397a38.js';
|
|
65
65
|
export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
|
|
66
66
|
export { _ as OrRadioGroup } from '../OrRadioGroup-aa9f0757.js';
|
|
67
|
-
export { _ as OrRadioV3 } from '../OrRadio-
|
|
68
|
-
export { O as OrSearchV3 } from '../OrSearch-
|
|
67
|
+
export { _ as OrRadioV3 } from '../OrRadio-ae89bc9b.js';
|
|
68
|
+
export { O as OrSearchV3 } from '../OrSearch-2e5f9e24.js';
|
|
69
69
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-21cc914e.js';
|
|
70
70
|
export { _ as OrSelect } from '../OrSelect-a23d4210.js';
|
|
71
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
71
|
+
export { _ as OrSelectV3 } from '../OrSelect-039c0711.js';
|
|
72
72
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
|
|
73
73
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614.js';
|
|
74
74
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.js';
|
|
@@ -77,18 +77,18 @@ export { _ as OrSlider } from '../OrSlider-59d05856.js';
|
|
|
77
77
|
export { _ as OrSortHeaderV3 } from '../OrSortHeader-9932d28f.js';
|
|
78
78
|
export { _ as OrStepper } from '../OrStepper-3fc1a2b3.js';
|
|
79
79
|
export { _ as OrSwitch } from '../OrSwitch-47670dbd.js';
|
|
80
|
-
export { _ as OrSwitchV3 } from '../OrSwitch-
|
|
80
|
+
export { _ as OrSwitchV3 } from '../OrSwitch-20640a05.js';
|
|
81
81
|
export { _ as OrTab } from '../OrTab-b2c6d977.js';
|
|
82
82
|
export { O as OrTabHeaderItem } from '../OrTabHeaderItem-d39c3cf7.js';
|
|
83
83
|
export { O as OrTabV3 } from '../OrTab-dd949240.js';
|
|
84
84
|
export { _ as OrTabs } from '../OrTabs-4c8f6422.js';
|
|
85
|
-
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
85
|
+
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-85aefcba.js';
|
|
86
86
|
export { _ as OrTag } from '../OrTag-79e48fec.js';
|
|
87
87
|
export { O as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-e3e6fdd6.js';
|
|
88
88
|
export { O as OrTeleport } from '../OrTeleportVue2-3544f185.js';
|
|
89
89
|
export { O as OrTeleportV3 } from '../OrTeleport.vue2-e9ba3054.js';
|
|
90
90
|
export { _ as OrTextV3 } from '../OrText-eac4b9f5.js';
|
|
91
|
-
export { _ as OrTextareaV3 } from '../OrTextarea-
|
|
91
|
+
export { _ as OrTextareaV3 } from '../OrTextarea-0ff8063b.js';
|
|
92
92
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-eacd9b19.js';
|
|
93
93
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-1faa828c.js';
|
|
94
94
|
export { O as OrToast, _ as OrToastContainer } from '../OrToastContainer-b03adc37.js';
|
|
@@ -106,10 +106,12 @@ import '../browser-82dea9ed.js';
|
|
|
106
106
|
import '../color-1f348774.js';
|
|
107
107
|
import '../useClassAttribute-9bf33346.js';
|
|
108
108
|
import '@vueuse/core';
|
|
109
|
+
import '../useIdAttribute-cf61643f.js';
|
|
109
110
|
import '../px-to-rem-0b26b83e.js';
|
|
110
111
|
import '../dom-3a15d036.js';
|
|
111
112
|
import '../index-17f264f9.js';
|
|
112
113
|
import '../floating-ui.dom.esm-83eba816.js';
|
|
114
|
+
import '../useValidationAttributes-6df7bcf9.js';
|
|
113
115
|
import '../useToggle-6166bd53.js';
|
|
114
116
|
import '../v4-cf8987a3.js';
|
|
115
117
|
import '../useResponsive-e13dfbb0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-1bb83cfb.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -20,10 +20,12 @@ import '../../OrButton-a846fa7e.js';
|
|
|
20
20
|
import '../../OrLoader-6a1f937b.js';
|
|
21
21
|
import '../../OrMenu-fa47c888.js';
|
|
22
22
|
import '../../OrMenuItem-26420908.js';
|
|
23
|
-
import '../../OrSearch-
|
|
24
|
-
import '../../OrInput-
|
|
23
|
+
import '../../OrSearch-2e5f9e24.js';
|
|
24
|
+
import '../../OrInput-770f1bed.js';
|
|
25
25
|
import '../../OrError-aad17598.js';
|
|
26
26
|
import '../../OrHint-f38a1940.js';
|
|
27
27
|
import '../../OrInputBox-79ec54ad.js';
|
|
28
28
|
import '../../OrLabel-172c4b89.js';
|
|
29
|
+
import '../../useIdAttribute-cf61643f.js';
|
|
30
|
+
import '../../useValidationAttributes-6df7bcf9.js';
|
|
29
31
|
import '../../browser-82dea9ed.js';
|
|
@@ -2,10 +2,18 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { LabelVariant } from '../or-label-v3';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
5
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
7
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
-
|
|
8
|
+
controlAttributes: {
|
|
9
|
+
readonly: boolean | undefined;
|
|
10
|
+
disabled: boolean | undefined;
|
|
11
|
+
'force-state': string | undefined;
|
|
12
|
+
id: string | undefined;
|
|
13
|
+
};
|
|
8
14
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
15
|
+
focus: () => void;
|
|
16
|
+
blur: () => void;
|
|
9
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
10
18
|
modelValue: {
|
|
11
19
|
type: PropType<boolean | string[]>;
|
|
@@ -85,10 +93,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
85
93
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
86
94
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
87
95
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
96
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
88
97
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
89
98
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
90
|
-
|
|
99
|
+
controlAttributes: {
|
|
100
|
+
readonly: boolean | undefined;
|
|
101
|
+
disabled: boolean | undefined;
|
|
102
|
+
'force-state': string | undefined;
|
|
103
|
+
id: string | undefined;
|
|
104
|
+
};
|
|
91
105
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
106
|
+
focus: () => void;
|
|
107
|
+
blur: () => void;
|
|
92
108
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
93
109
|
modelValue: boolean | string[];
|
|
94
110
|
value: boolean | string[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { O as OrCheckboxV3 } from '../../OrCheckbox-
|
|
1
|
+
export { O as OrCheckboxV3 } from '../../OrCheckbox-251ecafc.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
5
|
import '../../OrLabel-172c4b89.js';
|
|
6
6
|
import '../../useClassAttribute-9bf33346.js';
|
|
7
7
|
import '../../normalize-component-6e8e3d80.js';
|
|
8
|
+
import '../../useIdAttribute-cf61643f.js';
|
|
8
9
|
import '../../browser-82dea9ed.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-4cae7867.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -12,7 +12,7 @@ import '../../useClassAttribute-9bf33346.js';
|
|
|
12
12
|
import '../../useElevation-aac032f4.js';
|
|
13
13
|
import '../../OrButton-a846fa7e.js';
|
|
14
14
|
import '../../OrLoader-6a1f937b.js';
|
|
15
|
-
import '../../OrInput-
|
|
15
|
+
import '../../OrInput-770f1bed.js';
|
|
16
16
|
import '../../OrError-aad17598.js';
|
|
17
17
|
import '../../OrHint-f38a1940.js';
|
|
18
18
|
import '../../OrIcon-8625385f.js';
|
|
@@ -24,4 +24,6 @@ import '../../OrBottomSheet-1cd1ab4c.js';
|
|
|
24
24
|
import '../../useResponsive-e13dfbb0.js';
|
|
25
25
|
import '../../OrInputBox-79ec54ad.js';
|
|
26
26
|
import '../../OrLabel-172c4b89.js';
|
|
27
|
+
import '../../useIdAttribute-cf61643f.js';
|
|
28
|
+
import '../../useValidationAttributes-6df7bcf9.js';
|
|
27
29
|
import '../../browser-82dea9ed.js';
|