@onereach/ui-components 2.70.2-beta.2218.0 → 2.70.2-beta.2219.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-9d8e3fbc.js → OrCardCollection-091e2193.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-a2ceda44.js → OrCheckbox-9be450f9.js} +12 -17
- package/dist/bundled/v2/{OrConfirm-d6e533f2.js → OrConfirm-ebff0b61.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-47fca182.js → OrInlineInput-b009a043.js} +9 -14
- package/dist/bundled/v2/{OrInlineTextarea-d9b9e485.js → OrInlineTextarea-6e8c1f80.js} +9 -14
- package/dist/bundled/v2/{OrInput-9288b667.js → OrInput-5404a234.js} +9 -14
- package/dist/bundled/v2/{OrPagination-44e713a2.js → OrPagination-daf25de2.js} +7 -14
- package/dist/bundled/v2/{OrRadio-f140c19a.js → OrRadio-fe23947a.js} +12 -17
- package/dist/bundled/v2/{OrSearch-ba756661.js → OrSearch-d1169241.js} +1 -1
- package/dist/bundled/v2/{OrSegmentedControl-b9d0b95a.js → OrSegmentedControl-878279bf.js} +6 -11
- package/dist/bundled/v2/{OrSelect-c91fc506.js → OrSelect-fef400f4.js} +10 -15
- package/dist/bundled/v2/{OrSortHeader-180d77ee.js → OrSortHeader-565ace92.js} +8 -13
- package/dist/bundled/v2/{OrSwitch-37a3ecf9.js → OrSwitch-782d7b43.js} +12 -17
- package/dist/bundled/v2/{OrTabs-92360920.js → OrTabs-d69780fc.js} +6 -11
- package/dist/bundled/v2/{OrTextarea-7822c4b6.js → OrTextarea-5c57c02b.js} +9 -14
- package/dist/bundled/v2/components/index.js +15 -15
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +15 -15
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1e3dd861.js → OrCardCollection.vue_vue_type_script_lang-60403ae6.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-fec2fa29.js → OrCheckbox.vue_vue_type_script_lang-fc067611.js} +6 -11
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-747c5ce7.js → OrConfirm.vue_vue_type_script_lang-528380c1.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-62406472.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +6 -11
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a55dffd2.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +6 -11
- package/dist/bundled/v3/{OrInput-9faa2035.js → OrInput-2a7c6b57.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-dea5c599.js → OrInput.vue_vue_type_script_lang-509de504.js} +6 -11
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-0d299d07.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +7 -14
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2f053184.js → OrRadio.vue_vue_type_script_lang-8dc0720c.js} +6 -11
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2bc9e930.js → OrSearch.vue_vue_type_script_lang-ab2ef22c.js} +2 -2
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-92379dcc.js → OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js} +6 -11
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-72e0cd5a.js → OrSelect.vue_vue_type_script_lang-8ab7bc56.js} +10 -15
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-866f9764.js → OrSortHeader.vue_vue_type_script_lang-a20eae87.js} +8 -13
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-45f536b3.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +6 -11
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-2b84672b.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +6 -11
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-94b94433.js → OrTextarea.vue_vue_type_script_lang-296da567.js} +6 -11
- package/dist/bundled/v3/components/index.js +16 -16
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-select-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +34 -34
- package/dist/esm/v2/{OrCardCollection-3fc3a24e.js → OrCardCollection-bbdb6159.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-05b9a244.js → OrCheckbox-b380c131.js} +12 -17
- package/dist/esm/v2/{OrConfirm-56db44bd.js → OrConfirm-7fb515d4.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-c8058b04.js → OrInlineInput-38645a8e.js} +9 -14
- package/dist/esm/v2/{OrInlineTextarea-252d3c2c.js → OrInlineTextarea-b49a7107.js} +9 -14
- package/dist/esm/v2/{OrInput-fd9b3e7d.js → OrInput-e8fe9102.js} +9 -14
- package/dist/esm/v2/{OrPagination-8b604bd9.js → OrPagination-1adbcadb.js} +7 -14
- package/dist/esm/v2/{OrRadio-2094e67d.js → OrRadio-87a4d226.js} +12 -17
- package/dist/esm/v2/{OrSearch-072ee1b9.js → OrSearch-4b774707.js} +1 -1
- package/dist/esm/v2/{OrSegmentedControl-71248337.js → OrSegmentedControl-7486115b.js} +6 -11
- package/dist/esm/v2/{OrSelect-23208d36.js → OrSelect-871fae44.js} +10 -15
- package/dist/esm/v2/{OrSortHeader-8ca76674.js → OrSortHeader-592727dc.js} +8 -13
- package/dist/esm/v2/{OrSwitch-a1f67338.js → OrSwitch-8549219a.js} +12 -17
- package/dist/esm/v2/{OrTabs-954838f3.js → OrTabs-96b0473d.js} +6 -11
- package/dist/esm/v2/{OrTextarea-5f79faca.js → OrTextarea-a5a3572b.js} +9 -14
- package/dist/esm/v2/components/index.js +15 -15
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/esm/v2/components/or-sort-header-v3/index.js +1 -1
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v2/index.js +15 -15
- package/dist/esm/v3/{OrCardCollection-53e83dbb.js → OrCardCollection-47f61c40.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-afadd5b8.js → OrCheckbox-16c1e2f4.js} +7 -12
- package/dist/esm/v3/{OrConfirm-06ed85f9.js → OrConfirm-8b7f29c2.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-6d363088.js → OrInlineInput-09de432a.js} +6 -11
- package/dist/esm/v3/{OrInlineTextarea-3e48b319.js → OrInlineTextarea-56328f22.js} +6 -11
- package/dist/esm/v3/{OrInput-5ef51369.js → OrInput-6fb81556.js} +6 -11
- package/dist/esm/v3/{OrPagination-010b0bef.js → OrPagination-da9e5017.js} +7 -14
- package/dist/esm/v3/{OrRadio-a0bd352b.js → OrRadio-bb9b37c1.js} +7 -12
- package/dist/esm/v3/{OrSearch-9eb38b29.js → OrSearch-e15955a7.js} +1 -1
- package/dist/esm/v3/{OrSegmentedControl-c7221732.js → OrSegmentedControl-880b4911.js} +6 -11
- package/dist/esm/v3/{OrSelect-64fa5d0b.js → OrSelect-acf12fe6.js} +12 -17
- package/dist/esm/v3/{OrSortHeader-cab07616.js → OrSortHeader-a39f77f9.js} +8 -13
- package/dist/esm/v3/{OrSwitch-f342ee4b.js → OrSwitch-1c2196da.js} +7 -12
- package/dist/esm/v3/{OrTabs-a1ffc2a3.js → OrTabs-328d41b9.js} +6 -11
- package/dist/esm/v3/{OrTextarea-f3831b3f.js → OrTextarea-37566985.js} +6 -11
- package/dist/esm/v3/components/index.js +15 -15
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/esm/v3/components/or-sort-header-v3/index.js +1 -1
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +15 -15
- package/package.json +1 -1
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +3 -7
- package/src/components/or-checkbox-v3/OrCheckbox.vue +8 -12
- package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +0 -4
- package/src/components/or-inline-input-v3/OrInlineInput.vue +6 -10
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +0 -4
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +6 -10
- package/src/components/or-input-v3/OrInput.stories3.ts +0 -4
- package/src/components/or-input-v3/OrInput.vue +6 -10
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -4
- package/src/components/or-pagination-v3/OrPagination.vue +9 -20
- package/src/components/or-radio-v3/OrRadio.stories3.ts +3 -7
- package/src/components/or-radio-v3/OrRadio.vue +8 -12
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -4
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +6 -11
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/OrSelect.vue +8 -12
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +3 -7
- package/src/components/or-sort-header-v3/OrSortHeader.vue +9 -13
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +3 -7
- package/src/components/or-switch-v3/OrSwitch.vue +8 -12
- package/src/components/or-tabs-v3/OrTabs.stories3.ts +0 -4
- package/src/components/or-tabs-v3/OrTabs.vue +6 -11
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +0 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +6 -10
|
@@ -40,16 +40,16 @@ var script = defineComponent({
|
|
|
40
40
|
components: {
|
|
41
41
|
OrLabel: script$1
|
|
42
42
|
},
|
|
43
|
+
model: {
|
|
44
|
+
prop: 'modelValue',
|
|
45
|
+
event: 'update:modelValue'
|
|
46
|
+
},
|
|
43
47
|
props: {
|
|
44
48
|
modelValue: {
|
|
45
49
|
type: [Boolean, Array],
|
|
46
50
|
default: undefined
|
|
47
51
|
},
|
|
48
52
|
value: {
|
|
49
|
-
type: [Boolean, Array],
|
|
50
|
-
default: undefined
|
|
51
|
-
},
|
|
52
|
-
inputValue: {
|
|
53
53
|
type: String,
|
|
54
54
|
default: undefined
|
|
55
55
|
},
|
|
@@ -74,7 +74,7 @@ var script = defineComponent({
|
|
|
74
74
|
default: false
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
-
emits: ['update:modelValue', '
|
|
77
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
78
78
|
expose: ['root', 'focus', 'blur'],
|
|
79
79
|
setup(props, context) {
|
|
80
80
|
// Refs
|
|
@@ -89,13 +89,8 @@ var script = defineComponent({
|
|
|
89
89
|
...useControlAttributes()
|
|
90
90
|
});
|
|
91
91
|
const proxyModelValue = computed({
|
|
92
|
-
get: () =>
|
|
93
|
-
var _a;
|
|
94
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
95
|
-
},
|
|
96
|
-
|
|
92
|
+
get: () => props.modelValue,
|
|
97
93
|
set: value => {
|
|
98
|
-
context.emit('input', value);
|
|
99
94
|
context.emit('update:modelValue', value);
|
|
100
95
|
}
|
|
101
96
|
});
|
|
@@ -133,7 +128,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
133
128
|
}, _ctx.controlAttributes, {
|
|
134
129
|
class: _ctx.controlStyles,
|
|
135
130
|
type: 'checkbox',
|
|
136
|
-
value: _ctx.
|
|
131
|
+
value: _ctx.value,
|
|
137
132
|
indeterminate: _ctx.indeterminate,
|
|
138
133
|
required: _ctx.required,
|
|
139
134
|
disabled: _ctx.disabled,
|
|
@@ -2,7 +2,7 @@ import { useMagicKeys, whenever } from '@vueuse/core';
|
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
4
|
import { s as script$2, a as ButtonColor } from './OrButton-c56998e7.js';
|
|
5
|
-
import { s as script$3 } from './OrInput-
|
|
5
|
+
import { s as script$3 } from './OrInput-6fb81556.js';
|
|
6
6
|
import { s as script$1 } from './OrOverlay-afad3aa4.js';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
8
8
|
|
|
@@ -51,15 +51,15 @@ var script = defineComponent({
|
|
|
51
51
|
OrIconButton: script$3,
|
|
52
52
|
OrInlineInputBox: script$4
|
|
53
53
|
},
|
|
54
|
+
model: {
|
|
55
|
+
prop: 'modelValue',
|
|
56
|
+
event: 'update:modelValue'
|
|
57
|
+
},
|
|
54
58
|
props: {
|
|
55
59
|
modelValue: {
|
|
56
60
|
type: [String, Number],
|
|
57
61
|
default: undefined
|
|
58
62
|
},
|
|
59
|
-
value: {
|
|
60
|
-
type: [String, Number],
|
|
61
|
-
default: undefined
|
|
62
|
-
},
|
|
63
63
|
saveOnBlur: {
|
|
64
64
|
type: Boolean,
|
|
65
65
|
default: false
|
|
@@ -85,7 +85,7 @@ var script = defineComponent({
|
|
|
85
85
|
default: undefined
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
emits: ['update:modelValue', '
|
|
88
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
89
89
|
expose: ['root', 'focus', 'blur'],
|
|
90
90
|
setup(props, context) {
|
|
91
91
|
// Refs
|
|
@@ -102,13 +102,8 @@ var script = defineComponent({
|
|
|
102
102
|
...useValidationAttributes()
|
|
103
103
|
});
|
|
104
104
|
const proxyModelValue = computed({
|
|
105
|
-
get: () =>
|
|
106
|
-
var _a;
|
|
107
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
108
|
-
},
|
|
109
|
-
|
|
105
|
+
get: () => props.modelValue,
|
|
110
106
|
set: value => {
|
|
111
|
-
context.emit('input', value);
|
|
112
107
|
context.emit('update:modelValue', value);
|
|
113
108
|
}
|
|
114
109
|
});
|
|
@@ -37,15 +37,15 @@ var script = defineComponent({
|
|
|
37
37
|
OrIconButton: script$3,
|
|
38
38
|
OrInlineInputBox: script$4
|
|
39
39
|
},
|
|
40
|
+
model: {
|
|
41
|
+
prop: 'modelValue',
|
|
42
|
+
event: 'update:modelValue'
|
|
43
|
+
},
|
|
40
44
|
props: {
|
|
41
45
|
modelValue: {
|
|
42
46
|
type: String,
|
|
43
47
|
default: undefined
|
|
44
48
|
},
|
|
45
|
-
value: {
|
|
46
|
-
type: String,
|
|
47
|
-
default: undefined
|
|
48
|
-
},
|
|
49
49
|
saveOnBlur: {
|
|
50
50
|
type: Boolean,
|
|
51
51
|
default: false
|
|
@@ -63,7 +63,7 @@ var script = defineComponent({
|
|
|
63
63
|
default: undefined
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
emits: ['update:modelValue', '
|
|
66
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
67
67
|
expose: ['root', 'focus', 'blur'],
|
|
68
68
|
setup(props, context) {
|
|
69
69
|
// Refs
|
|
@@ -80,13 +80,8 @@ var script = defineComponent({
|
|
|
80
80
|
...useValidationAttributes()
|
|
81
81
|
});
|
|
82
82
|
const proxyModelValue = computed({
|
|
83
|
-
get: () =>
|
|
84
|
-
var _a;
|
|
85
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
86
|
-
},
|
|
87
|
-
|
|
83
|
+
get: () => props.modelValue,
|
|
88
84
|
set: value => {
|
|
89
|
-
context.emit('input', value);
|
|
90
85
|
context.emit('update:modelValue', value);
|
|
91
86
|
}
|
|
92
87
|
});
|
|
@@ -42,15 +42,15 @@ var script = defineComponent({
|
|
|
42
42
|
OrInputBox: script$5,
|
|
43
43
|
OrLabel: script$6
|
|
44
44
|
},
|
|
45
|
+
model: {
|
|
46
|
+
prop: 'modelValue',
|
|
47
|
+
event: 'update:modelValue'
|
|
48
|
+
},
|
|
45
49
|
props: {
|
|
46
50
|
modelValue: {
|
|
47
51
|
type: [String, Number],
|
|
48
52
|
default: undefined
|
|
49
53
|
},
|
|
50
|
-
value: {
|
|
51
|
-
type: [String, Number],
|
|
52
|
-
default: undefined
|
|
53
|
-
},
|
|
54
54
|
type: {
|
|
55
55
|
type: String,
|
|
56
56
|
default: InputType.Text
|
|
@@ -92,7 +92,7 @@ var script = defineComponent({
|
|
|
92
92
|
default: false
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
-
emits: ['update:modelValue', '
|
|
95
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
96
96
|
expose: ['root', 'focus', 'blur'],
|
|
97
97
|
setup(props, context) {
|
|
98
98
|
// Refs
|
|
@@ -108,13 +108,8 @@ var script = defineComponent({
|
|
|
108
108
|
...useValidationAttributes()
|
|
109
109
|
});
|
|
110
110
|
const proxyModelValue = computed({
|
|
111
|
-
get: () =>
|
|
112
|
-
var _a;
|
|
113
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
114
|
-
},
|
|
115
|
-
|
|
111
|
+
get: () => props.modelValue,
|
|
116
112
|
set: value => {
|
|
117
|
-
context.emit('input', value);
|
|
118
113
|
context.emit('update:modelValue', value);
|
|
119
114
|
}
|
|
120
115
|
});
|
|
@@ -39,15 +39,15 @@ var script = defineComponent({
|
|
|
39
39
|
OrMenu: script$3,
|
|
40
40
|
OrMenuItem: script$4
|
|
41
41
|
},
|
|
42
|
+
model: {
|
|
43
|
+
prop: 'modelValue',
|
|
44
|
+
event: 'update:modelValue'
|
|
45
|
+
},
|
|
42
46
|
props: {
|
|
43
47
|
modelValue: {
|
|
44
48
|
type: Object,
|
|
45
49
|
default: undefined
|
|
46
50
|
},
|
|
47
|
-
value: {
|
|
48
|
-
type: Object,
|
|
49
|
-
default: undefined
|
|
50
|
-
},
|
|
51
51
|
length: {
|
|
52
52
|
type: Number,
|
|
53
53
|
required: true
|
|
@@ -57,7 +57,7 @@ var script = defineComponent({
|
|
|
57
57
|
default: () => [50, 20, 10, 5]
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
emits: ['update:modelValue'
|
|
60
|
+
emits: ['update:modelValue'],
|
|
61
61
|
expose: ['root'],
|
|
62
62
|
setup(props, context) {
|
|
63
63
|
// Refs
|
|
@@ -79,13 +79,8 @@ var script = defineComponent({
|
|
|
79
79
|
const itemStyles = computed(() => [...PaginationItem]);
|
|
80
80
|
// State
|
|
81
81
|
const proxyModelValue = computed({
|
|
82
|
-
get: () =>
|
|
83
|
-
var _a;
|
|
84
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
85
|
-
},
|
|
86
|
-
|
|
82
|
+
get: () => props.modelValue,
|
|
87
83
|
set: value => {
|
|
88
|
-
context.emit('input', value);
|
|
89
84
|
context.emit('update:modelValue', value);
|
|
90
85
|
}
|
|
91
86
|
});
|
|
@@ -114,9 +109,7 @@ var script = defineComponent({
|
|
|
114
109
|
}
|
|
115
110
|
});
|
|
116
111
|
const currentPage = computed({
|
|
117
|
-
get: () =>
|
|
118
|
-
return Math.floor(currentOffset.value / currentLimit.value) + 1;
|
|
119
|
-
},
|
|
112
|
+
get: () => Math.floor(currentOffset.value / currentLimit.value) + 1,
|
|
120
113
|
set: value => {
|
|
121
114
|
currentOffset.value = (value - 1) * currentLimit.value;
|
|
122
115
|
}
|
|
@@ -40,16 +40,16 @@ var script = defineComponent({
|
|
|
40
40
|
components: {
|
|
41
41
|
OrLabel: script$1
|
|
42
42
|
},
|
|
43
|
+
model: {
|
|
44
|
+
prop: 'modelValue',
|
|
45
|
+
event: 'update:modelValue'
|
|
46
|
+
},
|
|
43
47
|
props: {
|
|
44
48
|
modelValue: {
|
|
45
49
|
type: String,
|
|
46
50
|
default: undefined
|
|
47
51
|
},
|
|
48
52
|
value: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: undefined
|
|
51
|
-
},
|
|
52
|
-
inputValue: {
|
|
53
53
|
type: String,
|
|
54
54
|
required: true
|
|
55
55
|
},
|
|
@@ -70,7 +70,7 @@ var script = defineComponent({
|
|
|
70
70
|
default: false
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
emits: ['update:modelValue', '
|
|
73
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
74
74
|
expose: ['root', 'focus', 'blur'],
|
|
75
75
|
setup(props, context) {
|
|
76
76
|
// Refs
|
|
@@ -85,13 +85,8 @@ var script = defineComponent({
|
|
|
85
85
|
...useControlAttributes()
|
|
86
86
|
});
|
|
87
87
|
const proxyModelValue = computed({
|
|
88
|
-
get: () =>
|
|
89
|
-
var _a;
|
|
90
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
91
|
-
},
|
|
92
|
-
|
|
88
|
+
get: () => props.modelValue,
|
|
93
89
|
set: value => {
|
|
94
|
-
context.emit('input', value);
|
|
95
90
|
context.emit('update:modelValue', value);
|
|
96
91
|
}
|
|
97
92
|
});
|
|
@@ -129,7 +124,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
129
124
|
}, _ctx.controlAttributes, {
|
|
130
125
|
class: _ctx.controlStyles,
|
|
131
126
|
type: "radio",
|
|
132
|
-
value: _ctx.
|
|
127
|
+
value: _ctx.value,
|
|
133
128
|
required: _ctx.required,
|
|
134
129
|
disabled: _ctx.disabled,
|
|
135
130
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrInput-
|
|
3
|
+
import { s as script$1 } from './OrInput-6fb81556.js';
|
|
4
4
|
import { a as InputBoxSize } from './OrInputBox-e16ade90.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -108,6 +108,10 @@ var script = defineComponent({
|
|
|
108
108
|
components: {
|
|
109
109
|
OrSegmentedControlItem: script$1
|
|
110
110
|
},
|
|
111
|
+
model: {
|
|
112
|
+
prop: 'modelValue',
|
|
113
|
+
event: 'update:modelValue'
|
|
114
|
+
},
|
|
111
115
|
props: {
|
|
112
116
|
options: {
|
|
113
117
|
type: Array,
|
|
@@ -117,10 +121,6 @@ var script = defineComponent({
|
|
|
117
121
|
type: String,
|
|
118
122
|
default: undefined
|
|
119
123
|
},
|
|
120
|
-
value: {
|
|
121
|
-
type: String,
|
|
122
|
-
default: undefined
|
|
123
|
-
},
|
|
124
124
|
size: {
|
|
125
125
|
type: String,
|
|
126
126
|
default: SegmentedControlSize.M
|
|
@@ -130,7 +130,7 @@ var script = defineComponent({
|
|
|
130
130
|
default: false
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
|
-
emits: ['update:modelValue'
|
|
133
|
+
emits: ['update:modelValue'],
|
|
134
134
|
expose: ['root'],
|
|
135
135
|
setup(props, context) {
|
|
136
136
|
// Refs
|
|
@@ -139,13 +139,8 @@ var script = defineComponent({
|
|
|
139
139
|
const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size]]);
|
|
140
140
|
// State
|
|
141
141
|
const proxyModelValue = computed({
|
|
142
|
-
get: () =>
|
|
143
|
-
var _a;
|
|
144
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
145
|
-
},
|
|
146
|
-
|
|
142
|
+
get: () => props.modelValue,
|
|
147
143
|
set: value => {
|
|
148
|
-
context.emit('input', value);
|
|
149
144
|
context.emit('update:modelValue', value);
|
|
150
145
|
}
|
|
151
146
|
});
|
|
@@ -2,13 +2,13 @@ import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch }
|
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
3
3
|
import { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import { s as script$1 } from './OrCheckbox-
|
|
5
|
+
import { s as script$1 } from './OrCheckbox-16c1e2f4.js';
|
|
6
6
|
import { s as script$2 } from './OrError-19198748.js';
|
|
7
7
|
import { s as script$3 } from './OrExpansionPanel-3a4282da.js';
|
|
8
8
|
import { s as script$4 } from './OrHint-6863124f.js';
|
|
9
9
|
import { s as script$5 } from './OrIcon-34f59f73.js';
|
|
10
10
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-e16ade90.js';
|
|
11
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$6 } from './OrInput-6fb81556.js';
|
|
12
12
|
import { s as script$8 } from './OrLabel-f700f9fb.js';
|
|
13
13
|
import { s as script$9 } from './OrMenuItem-58707d47.js';
|
|
14
14
|
import { s as script$a } from './OrPopover-40217b49.js';
|
|
@@ -70,6 +70,10 @@ var script = defineComponent({
|
|
|
70
70
|
DropdownClose,
|
|
71
71
|
DropdownOpen
|
|
72
72
|
},
|
|
73
|
+
model: {
|
|
74
|
+
prop: 'modelValue',
|
|
75
|
+
event: 'update:modelValue'
|
|
76
|
+
},
|
|
73
77
|
props: {
|
|
74
78
|
options: {
|
|
75
79
|
type: Array,
|
|
@@ -83,10 +87,6 @@ var script = defineComponent({
|
|
|
83
87
|
type: [String, Number, Array],
|
|
84
88
|
default: undefined
|
|
85
89
|
},
|
|
86
|
-
value: {
|
|
87
|
-
type: [String, Number, Array],
|
|
88
|
-
default: undefined
|
|
89
|
-
},
|
|
90
90
|
multiple: {
|
|
91
91
|
type: Boolean,
|
|
92
92
|
default: false
|
|
@@ -144,7 +144,7 @@ var script = defineComponent({
|
|
|
144
144
|
default: false
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
-
emits: ['update:modelValue', '
|
|
147
|
+
emits: ['update:modelValue', 'focus', 'blur', 'search'],
|
|
148
148
|
expose: ['root'],
|
|
149
149
|
setup(props, context) {
|
|
150
150
|
var _a;
|
|
@@ -175,13 +175,8 @@ var script = defineComponent({
|
|
|
175
175
|
// State
|
|
176
176
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
177
177
|
const proxyModelValue = computed({
|
|
178
|
-
get: () =>
|
|
179
|
-
var _a;
|
|
180
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
181
|
-
},
|
|
182
|
-
|
|
178
|
+
get: () => props.modelValue,
|
|
183
179
|
set: value => {
|
|
184
|
-
context.emit('input', value);
|
|
185
180
|
context.emit('update:modelValue', value);
|
|
186
181
|
}
|
|
187
182
|
});
|
|
@@ -405,10 +400,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
405
400
|
}, () => [createVNode(_component_OrCheckbox, {
|
|
406
401
|
modelValue: _ctx.proxyModelValue,
|
|
407
402
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.proxyModelValue = $event),
|
|
408
|
-
|
|
403
|
+
value: option.value,
|
|
409
404
|
label: option.label,
|
|
410
405
|
"label-variant": 'input'
|
|
411
|
-
}, null, 8 /* PROPS */, ["modelValue", "
|
|
406
|
+
}, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
|
|
412
407
|
_: 2 /* DYNAMIC */
|
|
413
408
|
}, 1024 /* DYNAMIC_SLOTS */);
|
|
414
409
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
@@ -446,10 +441,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
446
441
|
}, () => [createVNode(_component_OrCheckbox, {
|
|
447
442
|
modelValue: _ctx.proxyModelValue,
|
|
448
443
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.proxyModelValue = $event),
|
|
449
|
-
|
|
444
|
+
value: option.value,
|
|
450
445
|
label: option.label,
|
|
451
446
|
"label-variant": 'input'
|
|
452
|
-
}, null, 8 /* PROPS */, ["modelValue", "
|
|
447
|
+
}, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
|
|
453
448
|
_: 2 /* DYNAMIC */
|
|
454
449
|
}, 1024 /* DYNAMIC_SLOTS */);
|
|
455
450
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
@@ -21,21 +21,21 @@ var script = defineComponent({
|
|
|
21
21
|
components: {
|
|
22
22
|
OrIcon: script$1
|
|
23
23
|
},
|
|
24
|
+
model: {
|
|
25
|
+
prop: 'modelValue',
|
|
26
|
+
event: 'update:modelValue'
|
|
27
|
+
},
|
|
24
28
|
props: {
|
|
25
29
|
modelValue: {
|
|
26
30
|
type: Object,
|
|
27
31
|
default: undefined
|
|
28
32
|
},
|
|
29
33
|
value: {
|
|
30
|
-
type: Object,
|
|
31
|
-
default: undefined
|
|
32
|
-
},
|
|
33
|
-
inputValue: {
|
|
34
34
|
type: String,
|
|
35
35
|
required: true
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
emits: ['update:modelValue', '
|
|
38
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
39
39
|
expose: ['root'],
|
|
40
40
|
setup(props, context) {
|
|
41
41
|
// Refs
|
|
@@ -44,25 +44,20 @@ var script = defineComponent({
|
|
|
44
44
|
const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot]);
|
|
45
45
|
// State
|
|
46
46
|
const proxyModelValue = computed({
|
|
47
|
-
get: () =>
|
|
48
|
-
var _a;
|
|
49
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
50
|
-
},
|
|
51
|
-
|
|
47
|
+
get: () => props.modelValue,
|
|
52
48
|
set: value => {
|
|
53
|
-
context.emit('input', value);
|
|
54
49
|
context.emit('update:modelValue', value);
|
|
55
50
|
}
|
|
56
51
|
});
|
|
57
52
|
const activated = computed(() => {
|
|
58
53
|
var _a;
|
|
59
|
-
return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.
|
|
54
|
+
return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.value;
|
|
60
55
|
});
|
|
61
56
|
// Methods
|
|
62
57
|
function toggleDirection() {
|
|
63
58
|
var _a;
|
|
64
59
|
proxyModelValue.value = {
|
|
65
|
-
column: props.
|
|
60
|
+
column: props.value,
|
|
66
61
|
direction: ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.direction) === 'asc' ? 'desc' : 'asc'
|
|
67
62
|
};
|
|
68
63
|
}
|
|
@@ -62,16 +62,16 @@ var script = defineComponent({
|
|
|
62
62
|
OrLabel: script$1,
|
|
63
63
|
OrLoader: script$2
|
|
64
64
|
},
|
|
65
|
+
model: {
|
|
66
|
+
prop: 'modelValue',
|
|
67
|
+
event: 'update:modelValue'
|
|
68
|
+
},
|
|
65
69
|
props: {
|
|
66
70
|
modelValue: {
|
|
67
71
|
type: [Boolean, Array],
|
|
68
72
|
default: undefined
|
|
69
73
|
},
|
|
70
74
|
value: {
|
|
71
|
-
type: [Boolean, Array],
|
|
72
|
-
default: undefined
|
|
73
|
-
},
|
|
74
|
-
inputValue: {
|
|
75
75
|
type: String,
|
|
76
76
|
default: undefined
|
|
77
77
|
},
|
|
@@ -96,7 +96,7 @@ var script = defineComponent({
|
|
|
96
96
|
default: false
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
-
emits: ['update:modelValue', '
|
|
99
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
100
100
|
expose: ['root', 'focus', 'blur'],
|
|
101
101
|
setup(props, context) {
|
|
102
102
|
// Refs
|
|
@@ -112,13 +112,8 @@ var script = defineComponent({
|
|
|
112
112
|
...useControlAttributes()
|
|
113
113
|
});
|
|
114
114
|
const proxyModelValue = computed({
|
|
115
|
-
get: () =>
|
|
116
|
-
var _a;
|
|
117
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
118
|
-
},
|
|
119
|
-
|
|
115
|
+
get: () => props.modelValue,
|
|
120
116
|
set: value => {
|
|
121
|
-
context.emit('input', value);
|
|
122
117
|
context.emit('update:modelValue', value);
|
|
123
118
|
}
|
|
124
119
|
});
|
|
@@ -160,7 +155,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
155
|
}, _ctx.controlAttributes, {
|
|
161
156
|
class: _ctx.controlStyles,
|
|
162
157
|
type: "checkbox",
|
|
163
|
-
value: _ctx.
|
|
158
|
+
value: _ctx.value,
|
|
164
159
|
required: _ctx.required,
|
|
165
160
|
disabled: _ctx.disabled,
|
|
166
161
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
@@ -40,6 +40,10 @@ var script = defineComponent({
|
|
|
40
40
|
OrTab: script$4
|
|
41
41
|
},
|
|
42
42
|
inheritAttrs: false,
|
|
43
|
+
model: {
|
|
44
|
+
prop: 'modelValue',
|
|
45
|
+
event: 'update:modelValue'
|
|
46
|
+
},
|
|
43
47
|
props: {
|
|
44
48
|
items: {
|
|
45
49
|
type: Array,
|
|
@@ -49,16 +53,12 @@ var script = defineComponent({
|
|
|
49
53
|
type: [String, Number],
|
|
50
54
|
default: undefined
|
|
51
55
|
},
|
|
52
|
-
value: {
|
|
53
|
-
type: [String, Number],
|
|
54
|
-
default: undefined
|
|
55
|
-
},
|
|
56
56
|
variant: {
|
|
57
57
|
type: String,
|
|
58
58
|
default: TabsVariant.Default
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
emits: ['update:modelValue'
|
|
61
|
+
emits: ['update:modelValue'],
|
|
62
62
|
expose: ['root'],
|
|
63
63
|
setup(props, context) {
|
|
64
64
|
// Refs
|
|
@@ -81,13 +81,8 @@ var script = defineComponent({
|
|
|
81
81
|
hidden: []
|
|
82
82
|
});
|
|
83
83
|
const proxyModelValue = computed({
|
|
84
|
-
get: () =>
|
|
85
|
-
var _a;
|
|
86
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
87
|
-
},
|
|
88
|
-
|
|
84
|
+
get: () => props.modelValue,
|
|
89
85
|
set: value => {
|
|
90
|
-
context.emit('input', value);
|
|
91
86
|
context.emit('update:modelValue', value);
|
|
92
87
|
}
|
|
93
88
|
});
|
|
@@ -30,15 +30,15 @@ var script = defineComponent({
|
|
|
30
30
|
OrInputBox: script$3,
|
|
31
31
|
OrLabel: script$4
|
|
32
32
|
},
|
|
33
|
+
model: {
|
|
34
|
+
prop: 'modelValue',
|
|
35
|
+
event: 'update:modelValue'
|
|
36
|
+
},
|
|
33
37
|
props: {
|
|
34
38
|
modelValue: {
|
|
35
39
|
type: String,
|
|
36
40
|
default: undefined
|
|
37
41
|
},
|
|
38
|
-
value: {
|
|
39
|
-
type: String,
|
|
40
|
-
default: undefined
|
|
41
|
-
},
|
|
42
42
|
size: {
|
|
43
43
|
type: String,
|
|
44
44
|
default: InputBoxSize.M
|
|
@@ -72,7 +72,7 @@ var script = defineComponent({
|
|
|
72
72
|
default: false
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
emits: ['update:modelValue', '
|
|
75
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
76
76
|
expose: ['root', 'focus', 'blur'],
|
|
77
77
|
setup(props, context) {
|
|
78
78
|
// Refs
|
|
@@ -88,13 +88,8 @@ var script = defineComponent({
|
|
|
88
88
|
...useValidationAttributes()
|
|
89
89
|
});
|
|
90
90
|
const proxyModelValue = computed({
|
|
91
|
-
get: () =>
|
|
92
|
-
var _a;
|
|
93
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
94
|
-
},
|
|
95
|
-
|
|
91
|
+
get: () => props.modelValue,
|
|
96
92
|
set: value => {
|
|
97
|
-
context.emit('input', value);
|
|
98
93
|
context.emit('update:modelValue', value);
|
|
99
94
|
}
|
|
100
95
|
});
|