@onereach/ui-components 4.0.5-beta.2528.0 → 4.0.5-beta.2530.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/components/OrCheckboxV3/OrCheckbox.js +4 -8
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +2 -7
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-60cefcbd.js → OrCheckbox.vue_vue_type_script_lang-b2107942.js} +2 -6
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-f7601423.js → OrSelect.vue_vue_type_script_lang-69f0fbbd.js} +3 -7
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +3 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +4 -4
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrSelectV3/index.js +3 -3
- package/dist/bundled/v3/components/index.js +2 -2
- package/dist/bundled/v3/index.js +2 -2
- package/dist/esm/v2/{OrCheckbox-dc587ec9.js → OrCheckbox-c26b1a89.js} +4 -9
- package/dist/esm/v2/{OrSelect-40183874.js → OrSelect-0105177c.js} +3 -8
- package/dist/esm/v2/components/index.js +2 -2
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/index.js +2 -2
- package/dist/esm/v3/{OrCheckbox-56f849f7.js → OrCheckbox-94fb7a4d.js} +2 -7
- package/dist/esm/v3/{OrSelect-5502d82d.js → OrSelect-2d2b7c36.js} +3 -8
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/index.js +2 -2
- package/package.json +1 -1
- package/src/components/or-checkbox-v3/OrCheckbox.vue +2 -7
- package/src/components/or-select-v3/OrSelect.stories3.ts +1 -1
- package/src/components/or-select-v3/OrSelect.vue +2 -7
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { CheckboxRoot, CheckboxControl, CheckboxControlHandle } from './styles.js';
|
|
3
4
|
import __vue_component__$1 from '../OrLabelV3/OrLabel.js';
|
|
4
5
|
import { LabelVariant } from '../OrLabelV3/props.js';
|
|
@@ -61,12 +62,7 @@ var script = defineComponent({
|
|
|
61
62
|
id: useIdAttribute(),
|
|
62
63
|
...useControlAttributes()
|
|
63
64
|
});
|
|
64
|
-
const proxyModelValue =
|
|
65
|
-
get: () => props.modelValue,
|
|
66
|
-
set: value => {
|
|
67
|
-
context.emit('update:modelValue', value);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
65
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
70
66
|
// Methods
|
|
71
67
|
function focus() {
|
|
72
68
|
var _a;
|
|
@@ -89,7 +85,7 @@ var script = defineComponent({
|
|
|
89
85
|
}
|
|
90
86
|
});
|
|
91
87
|
|
|
92
|
-
var css_248z = "input[data-v-
|
|
88
|
+
var css_248z = "input[data-v-51192f7f]{-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:0}";
|
|
93
89
|
styleInject(css_248z);
|
|
94
90
|
|
|
95
91
|
/* script */
|
|
@@ -168,7 +164,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
168
164
|
/* style */
|
|
169
165
|
const __vue_inject_styles__ = undefined;
|
|
170
166
|
/* scoped */
|
|
171
|
-
const __vue_scope_id__ = "data-v-
|
|
167
|
+
const __vue_scope_id__ = "data-v-51192f7f";
|
|
172
168
|
/* module identifier */
|
|
173
169
|
const __vue_module_identifier__ = undefined;
|
|
174
170
|
/* functional template */
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
11
11
|
'force-state': string | undefined;
|
|
12
12
|
id: string | undefined;
|
|
13
13
|
};
|
|
14
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
14
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
15
15
|
focus: () => void;
|
|
16
16
|
blur: () => void;
|
|
17
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
93
93
|
'force-state': string | undefined;
|
|
94
94
|
id: string | undefined;
|
|
95
95
|
};
|
|
96
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
96
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
97
97
|
focus: () => void;
|
|
98
98
|
blur: () => void;
|
|
99
99
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { SelectRoot, SelectControl, SelectPlaceholder, SelectDropdown, SelectNoSearchResults } from './styles.js';
|
|
3
4
|
import __vue_component__$1 from '../OrCheckboxV3/OrCheckbox.js';
|
|
4
5
|
import __vue_component__$2 from '../OrErrorV3/OrError.js';
|
|
@@ -33,7 +34,6 @@ import '../OrIconButtonV3/OrIconButton.js';
|
|
|
33
34
|
import '../OrIconButtonV3/props.js';
|
|
34
35
|
import '../OrIconButtonV3/styles.js';
|
|
35
36
|
import '../OrTooltipV3/OrTooltip.js';
|
|
36
|
-
import '@vueuse/core';
|
|
37
37
|
import '../OrTooltipV3/styles.js';
|
|
38
38
|
import '../OrPopoverV3/props.js';
|
|
39
39
|
import '../OrLoaderV3/OrLoader.js';
|
|
@@ -180,12 +180,7 @@ var script = defineComponent({
|
|
|
180
180
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
181
181
|
// State
|
|
182
182
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
183
|
-
const proxyModelValue =
|
|
184
|
-
get: () => props.modelValue,
|
|
185
|
-
set: value => {
|
|
186
|
-
context.emit('update:modelValue', value);
|
|
187
|
-
}
|
|
188
|
-
});
|
|
183
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
189
184
|
onMounted(() => {
|
|
190
185
|
if (!proxyModelValue.value && props.multiple) {
|
|
191
186
|
proxyModelValue.value = [];
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
24
24
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
25
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
26
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
27
27
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
28
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
29
29
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
209
209
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
210
210
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
211
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
212
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
212
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
213
213
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
214
214
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
215
215
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as OrSelectV3 } from './OrSelect.js';
|
|
2
2
|
export { InputBoxSize as SelectSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
|
+
import '@vueuse/core';
|
|
4
5
|
import './styles.js';
|
|
5
6
|
import '../OrCheckboxV3/OrCheckbox.js';
|
|
6
7
|
import '../OrCheckboxV3/styles.js';
|
|
@@ -28,7 +29,6 @@ import '../OrIconButtonV3/OrIconButton.js';
|
|
|
28
29
|
import '../OrIconButtonV3/props.js';
|
|
29
30
|
import '../OrIconButtonV3/styles.js';
|
|
30
31
|
import '../OrTooltipV3/OrTooltip.js';
|
|
31
|
-
import '@vueuse/core';
|
|
32
32
|
import '../OrTooltipV3/styles.js';
|
|
33
33
|
import '../OrPopoverV3/OrPopover.js';
|
|
34
34
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { CheckboxRoot, CheckboxControl, CheckboxControlHandle } from './components/OrCheckboxV3/styles.js';
|
|
3
4
|
import './components/OrLabelV3/OrLabel.js';
|
|
4
5
|
import { LabelVariant } from './components/OrLabelV3/props.js';
|
|
@@ -59,12 +60,7 @@ var script = defineComponent({
|
|
|
59
60
|
id: useIdAttribute(),
|
|
60
61
|
...useControlAttributes()
|
|
61
62
|
});
|
|
62
|
-
const proxyModelValue =
|
|
63
|
-
get: () => props.modelValue,
|
|
64
|
-
set: value => {
|
|
65
|
-
context.emit('update:modelValue', value);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
63
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
68
64
|
// Methods
|
|
69
65
|
function focus() {
|
|
70
66
|
var _a;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { SelectRoot, SelectControl, SelectPlaceholder, SelectDropdown, SelectNoSearchResults } from './components/OrSelectV3/styles.js';
|
|
3
4
|
import './components/OrCheckboxV3/OrCheckbox.js';
|
|
4
|
-
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
5
6
|
import './components/OrErrorV3/OrError.js';
|
|
6
7
|
import './components/OrExpansionPanelV3/OrExpansionPanel.js';
|
|
7
8
|
import { s as script$3 } from './OrExpansionPanel.vue_vue_type_script_lang-f1b6ff7d.js';
|
|
@@ -150,12 +151,7 @@ var script = defineComponent({
|
|
|
150
151
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
151
152
|
// State
|
|
152
153
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
153
|
-
const proxyModelValue =
|
|
154
|
-
get: () => props.modelValue,
|
|
155
|
-
set: value => {
|
|
156
|
-
context.emit('update:modelValue', value);
|
|
157
|
-
}
|
|
158
|
-
});
|
|
154
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
159
155
|
onMounted(() => {
|
|
160
156
|
if (!proxyModelValue.value && props.multiple) {
|
|
161
157
|
proxyModelValue.value = [];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { s as script } from '../../OrCheckbox.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrCheckbox.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
2
|
+
export { s as default } from '../../OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelDynamic, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
5
|
import 'vue-demi';
|
|
6
|
+
import '@vueuse/core';
|
|
6
7
|
import './styles.js';
|
|
7
8
|
import '../OrLabelV3/OrLabel.js';
|
|
8
9
|
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
11
11
|
'force-state': string | undefined;
|
|
12
12
|
id: string | undefined;
|
|
13
13
|
};
|
|
14
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
14
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
15
15
|
focus: () => void;
|
|
16
16
|
blur: () => void;
|
|
17
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
93
93
|
'force-state': string | undefined;
|
|
94
94
|
id: string | undefined;
|
|
95
95
|
};
|
|
96
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
96
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
97
97
|
focus: () => void;
|
|
98
98
|
blur: () => void;
|
|
99
99
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { s as OrCheckboxV3 } from '../../OrCheckbox.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrCheckboxV3 } from '../../OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
+
import '@vueuse/core';
|
|
3
4
|
import './styles.js';
|
|
4
5
|
import '../OrLabelV3/OrLabel.js';
|
|
5
6
|
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { s as script } from '../../OrSelect.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrSelect.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrSelect.vue_vue_type_script_lang-69f0fbbd.js';
|
|
2
|
+
export { s as default } from '../../OrSelect.vue_vue_type_script_lang-69f0fbbd.js';
|
|
3
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers, vShow } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
+
import '@vueuse/core';
|
|
5
6
|
import './styles.js';
|
|
6
7
|
import '../OrCheckboxV3/OrCheckbox.js';
|
|
7
|
-
import '../../OrCheckbox.vue_vue_type_script_lang-
|
|
8
|
+
import '../../OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
8
9
|
import '../OrCheckboxV3/styles.js';
|
|
9
10
|
import '../OrLabelV3/OrLabel.js';
|
|
10
11
|
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
@@ -38,7 +39,6 @@ import '../OrIconButtonV3/props.js';
|
|
|
38
39
|
import '../OrIconButtonV3/styles.js';
|
|
39
40
|
import '../OrTooltipV3/OrTooltip.js';
|
|
40
41
|
import '../../OrTooltip.vue_vue_type_script_lang-b35199da.js';
|
|
41
|
-
import '@vueuse/core';
|
|
42
42
|
import '../OrTooltipV3/styles.js';
|
|
43
43
|
import '../OrPopoverV3/OrPopover.js';
|
|
44
44
|
import '../../OrPopover.vue_vue_type_script_lang-9d3a7c2d.js';
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
24
24
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
25
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
26
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
27
27
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
28
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
29
29
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
209
209
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
210
210
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
211
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
212
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
212
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
213
213
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
214
214
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
215
215
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-69f0fbbd.js';
|
|
2
2
|
export { InputBoxSize as SelectSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
|
+
import '@vueuse/core';
|
|
4
5
|
import './styles.js';
|
|
5
6
|
import '../OrCheckboxV3/OrCheckbox.js';
|
|
6
|
-
import '../../OrCheckbox.vue_vue_type_script_lang-
|
|
7
|
+
import '../../OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
7
8
|
import '../OrCheckboxV3/styles.js';
|
|
8
9
|
import '../OrLabelV3/OrLabel.js';
|
|
9
10
|
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
@@ -37,7 +38,6 @@ import '../OrIconButtonV3/props.js';
|
|
|
37
38
|
import '../OrIconButtonV3/styles.js';
|
|
38
39
|
import '../OrTooltipV3/OrTooltip.js';
|
|
39
40
|
import '../../OrTooltip.vue_vue_type_script_lang-b35199da.js';
|
|
40
|
-
import '@vueuse/core';
|
|
41
41
|
import '../OrTooltipV3/styles.js';
|
|
42
42
|
import '../OrPopoverV3/OrPopover.js';
|
|
43
43
|
import '../../OrPopover.vue_vue_type_script_lang-9d3a7c2d.js';
|
|
@@ -19,7 +19,7 @@ export { s as OrCardV3 } from '../OrCard.vue_vue_type_script_lang-b204e541.js';
|
|
|
19
19
|
export { s as OrCarousel } from '../OrCarousel.vue_vue_type_script_lang-0e87c56b.js';
|
|
20
20
|
export { s as OrCarouselItem } from '../OrCarouselItem.vue_vue_type_script_lang-42da2f4a.js';
|
|
21
21
|
export { s as OrCheckbox } from '../OrCheckbox.vue_vue_type_script_lang-6ff51af9.js';
|
|
22
|
-
export { s as OrCheckboxV3 } from '../OrCheckbox.vue_vue_type_script_lang-
|
|
22
|
+
export { s as OrCheckboxV3 } from '../OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
23
23
|
export { s as OrChip } from '../OrChip.vue_vue_type_script_lang-ceebbd82.js';
|
|
24
24
|
export { s as OrChips } from '../OrChips.vue_vue_type_script_lang-94b456c7.js';
|
|
25
25
|
export { s as OrCode } from '../OrCode.vue_vue_type_script_lang-c5a9adb7.js';
|
|
@@ -104,7 +104,7 @@ export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-36ad17a9.j
|
|
|
104
104
|
export { s as OrSegmentedControlV3 } from '../OrSegmentedControl.vue_vue_type_script_lang-d1b4694c.js';
|
|
105
105
|
export { SegmentedControlSize } from './OrSegmentedControlV3/props.js';
|
|
106
106
|
export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-d2fecd97.js';
|
|
107
|
-
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-
|
|
107
|
+
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-69f0fbbd.js';
|
|
108
108
|
export { s as OrSidebar } from '../OrSidebar.vue_vue_type_script_lang-00e9cda7.js';
|
|
109
109
|
export { OrSidebarSide } from './OrSidebar/constants.js';
|
|
110
110
|
export { s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-ed7c92fb.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -71,7 +71,7 @@ export { s as OrSegmentedControlV3 } from './OrSegmentedControl.vue_vue_type_scr
|
|
|
71
71
|
import './components/OrSelect/OrSelect.js';
|
|
72
72
|
export { s as OrSelect } from './OrSelect.vue_vue_type_script_lang-d2fecd97.js';
|
|
73
73
|
import './components/OrSelectV3/OrSelect.js';
|
|
74
|
-
export { s as OrSelectV3 } from './OrSelect.vue_vue_type_script_lang-
|
|
74
|
+
export { s as OrSelectV3 } from './OrSelect.vue_vue_type_script_lang-69f0fbbd.js';
|
|
75
75
|
import './components/OrSidebar/OrSidebar.js';
|
|
76
76
|
export { s as OrSidebar } from './OrSidebar.vue_vue_type_script_lang-00e9cda7.js';
|
|
77
77
|
import './components/OrSidebarV3/OrSidebar.js';
|
|
@@ -133,7 +133,7 @@ export { s as OrCard } from './OrCard.vue_vue_type_script_lang-81561dd8.js';
|
|
|
133
133
|
export { CARD_COLLECTION_LAYOUT } from './components/OrCardCollection/constants.js';
|
|
134
134
|
export { DefaultCardCollectionViews, defaultViewModes, gridView, listView } from './components/OrCardCollectionV3/props.js';
|
|
135
135
|
export { s as OrCheckbox } from './OrCheckbox.vue_vue_type_script_lang-6ff51af9.js';
|
|
136
|
-
export { s as OrCheckboxV3 } from './OrCheckbox.vue_vue_type_script_lang-
|
|
136
|
+
export { s as OrCheckboxV3 } from './OrCheckbox.vue_vue_type_script_lang-b2107942.js';
|
|
137
137
|
export { s as OrChip } from './OrChip.vue_vue_type_script_lang-ceebbd82.js';
|
|
138
138
|
export { OrCodeLanguages } from './components/OrCode/constants.js';
|
|
139
139
|
export { s as OrCollapse } from './OrCollapse.vue_vue_type_script_lang-5137ca99.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
|
-
import '@vueuse/core';
|
|
4
4
|
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-63380256.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -88,12 +88,7 @@ var script = defineComponent({
|
|
|
88
88
|
id: useIdAttribute(),
|
|
89
89
|
...useControlAttributes()
|
|
90
90
|
});
|
|
91
|
-
const proxyModelValue =
|
|
92
|
-
get: () => props.modelValue,
|
|
93
|
-
set: value => {
|
|
94
|
-
context.emit('update:modelValue', value);
|
|
95
|
-
}
|
|
96
|
-
});
|
|
91
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
97
92
|
// Methods
|
|
98
93
|
function focus() {
|
|
99
94
|
var _a;
|
|
@@ -116,7 +111,7 @@ var script = defineComponent({
|
|
|
116
111
|
}
|
|
117
112
|
});
|
|
118
113
|
|
|
119
|
-
var css_248z = "input[data-v-
|
|
114
|
+
var css_248z = "input[data-v-51192f7f]{appearance:none;line-height:0}";
|
|
120
115
|
styleInject(css_248z);
|
|
121
116
|
|
|
122
117
|
/* script */
|
|
@@ -195,7 +190,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
195
190
|
/* style */
|
|
196
191
|
const __vue_inject_styles__ = undefined;
|
|
197
192
|
/* scoped */
|
|
198
|
-
const __vue_scope_id__ = "data-v-
|
|
193
|
+
const __vue_scope_id__ = "data-v-51192f7f";
|
|
199
194
|
/* module identifier */
|
|
200
195
|
const __vue_module_identifier__ = undefined;
|
|
201
196
|
/* functional template */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
3
4
|
import { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
4
|
-
import '
|
|
5
|
-
import { _ as __vue_component__$1 } from './OrCheckbox-dc587ec9.js';
|
|
5
|
+
import { _ as __vue_component__$1 } from './OrCheckbox-c26b1a89.js';
|
|
6
6
|
import { _ as __vue_component__$2 } from './OrError-4ffc1c39.js';
|
|
7
7
|
import { _ as __vue_component__$3 } from './OrExpansionPanel-7c359bb0.js';
|
|
8
8
|
import { _ as __vue_component__$4 } from './OrHint-aa221198.js';
|
|
@@ -181,12 +181,7 @@ var script = defineComponent({
|
|
|
181
181
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
182
182
|
// State
|
|
183
183
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
184
|
-
const proxyModelValue =
|
|
185
|
-
get: () => props.modelValue,
|
|
186
|
-
set: value => {
|
|
187
|
-
context.emit('update:modelValue', value);
|
|
188
|
-
}
|
|
189
|
-
});
|
|
184
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
190
185
|
onMounted(() => {
|
|
191
186
|
if (!proxyModelValue.value && props.multiple) {
|
|
192
187
|
proxyModelValue.value = [];
|
|
@@ -13,7 +13,7 @@ export { _ as OrCardV3 } from '../OrCard-0da13cbe.js';
|
|
|
13
13
|
export { _ as OrCarousel } from '../OrCarousel-3c809a13.js';
|
|
14
14
|
export { _ as OrCarouselItem } from '../OrCarouselItem-c614bab9.js';
|
|
15
15
|
export { _ as OrCheckbox } from '../OrCheckbox-bf34eb0f.js';
|
|
16
|
-
export { _ as OrCheckboxV3 } from '../OrCheckbox-
|
|
16
|
+
export { _ as OrCheckboxV3 } from '../OrCheckbox-c26b1a89.js';
|
|
17
17
|
export { _ as OrChip } from '../OrChip-416e848e.js';
|
|
18
18
|
export { _ as OrChips } from '../OrChips-77e789e9.js';
|
|
19
19
|
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-dcb0132a.js';
|
|
@@ -71,7 +71,7 @@ export { _ as OrSearch } from '../OrSearch-49ceaac4.js';
|
|
|
71
71
|
export { _ as OrSearchV3 } from '../OrSearch-a3038272.js';
|
|
72
72
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-a1ea5b72.js';
|
|
73
73
|
export { _ as OrSelect } from '../OrSelect-eb5cc918.js';
|
|
74
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
74
|
+
export { _ as OrSelectV3 } from '../OrSelect-0105177c.js';
|
|
75
75
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-feacf13a.js';
|
|
76
76
|
export { _ as OrSidebarV3 } from '../OrSidebar-26785a1e.js';
|
|
77
77
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-9c424133.js';
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
11
11
|
'force-state': string | undefined;
|
|
12
12
|
id: string | undefined;
|
|
13
13
|
};
|
|
14
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
14
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
15
15
|
focus: () => void;
|
|
16
16
|
blur: () => void;
|
|
17
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
93
93
|
'force-state': string | undefined;
|
|
94
94
|
id: string | undefined;
|
|
95
95
|
};
|
|
96
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
96
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
97
97
|
focus: () => void;
|
|
98
98
|
blur: () => void;
|
|
99
99
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { _ as OrCheckboxV3 } from '../../OrCheckbox-
|
|
1
|
+
export { _ as OrCheckboxV3 } from '../../OrCheckbox-c26b1a89.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../useIdAttribute-859439f0.js';
|
|
4
3
|
import '@vueuse/core';
|
|
4
|
+
import '../../useIdAttribute-859439f0.js';
|
|
5
5
|
import '../../OrLabel-63380256.js';
|
|
6
6
|
import '../../normalize-component-6e8e3d80.js';
|
|
7
7
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
24
24
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
25
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
26
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
27
27
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
28
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
29
29
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
209
209
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
210
210
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
211
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
212
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
212
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
213
213
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
214
214
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
215
215
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-0105177c.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-23426690.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
|
+
import '@vueuse/core';
|
|
4
5
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
6
|
import '../../useOverflow-af6161c8.js';
|
|
6
|
-
import '
|
|
7
|
-
import '../../OrCheckbox-dc587ec9.js';
|
|
7
|
+
import '../../OrCheckbox-c26b1a89.js';
|
|
8
8
|
import '../../useIdAttribute-859439f0.js';
|
|
9
9
|
import '../../OrLabel-63380256.js';
|
|
10
10
|
import '../../normalize-component-6e8e3d80.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export { _ as OrCardV3 } from './OrCard-0da13cbe.js';
|
|
|
13
13
|
export { _ as OrCarousel } from './OrCarousel-3c809a13.js';
|
|
14
14
|
export { _ as OrCarouselItem } from './OrCarouselItem-c614bab9.js';
|
|
15
15
|
export { _ as OrCheckbox } from './OrCheckbox-bf34eb0f.js';
|
|
16
|
-
export { _ as OrCheckboxV3 } from './OrCheckbox-
|
|
16
|
+
export { _ as OrCheckboxV3 } from './OrCheckbox-c26b1a89.js';
|
|
17
17
|
export { _ as OrChip } from './OrChip-416e848e.js';
|
|
18
18
|
export { _ as OrChips } from './OrChips-77e789e9.js';
|
|
19
19
|
export { _ as OrCode, O as OrCodeLanguages } from './OrCode-dcb0132a.js';
|
|
@@ -71,7 +71,7 @@ export { _ as OrSearch } from './OrSearch-49ceaac4.js';
|
|
|
71
71
|
export { _ as OrSearchV3 } from './OrSearch-a3038272.js';
|
|
72
72
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-a1ea5b72.js';
|
|
73
73
|
export { _ as OrSelect } from './OrSelect-eb5cc918.js';
|
|
74
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
74
|
+
export { _ as OrSelectV3 } from './OrSelect-0105177c.js';
|
|
75
75
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
|
76
76
|
export { _ as OrSidebarV3 } from './OrSidebar-26785a1e.js';
|
|
77
77
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-9c424133.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
|
-
import '@vueuse/core';
|
|
4
4
|
import { s as script$1, L as LabelVariant } from './OrLabel-4da56db0.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelDynamic, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -88,12 +88,7 @@ var script = defineComponent({
|
|
|
88
88
|
id: useIdAttribute(),
|
|
89
89
|
...useControlAttributes()
|
|
90
90
|
});
|
|
91
|
-
const proxyModelValue =
|
|
92
|
-
get: () => props.modelValue,
|
|
93
|
-
set: value => {
|
|
94
|
-
context.emit('update:modelValue', value);
|
|
95
|
-
}
|
|
96
|
-
});
|
|
91
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
97
92
|
// Methods
|
|
98
93
|
function focus() {
|
|
99
94
|
var _a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
3
4
|
import { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
4
|
-
import '
|
|
5
|
-
import { s as script$1 } from './OrCheckbox-56f849f7.js';
|
|
5
|
+
import { s as script$1 } from './OrCheckbox-94fb7a4d.js';
|
|
6
6
|
import { s as script$2 } from './OrError-c01d0c29.js';
|
|
7
7
|
import { s as script$3 } from './OrExpansionPanel-99ca7ed7.js';
|
|
8
8
|
import { s as script$4 } from './OrHint-06ab89d7.js';
|
|
@@ -180,12 +180,7 @@ var script = defineComponent({
|
|
|
180
180
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
181
181
|
// State
|
|
182
182
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
183
|
-
const proxyModelValue =
|
|
184
|
-
get: () => props.modelValue,
|
|
185
|
-
set: value => {
|
|
186
|
-
context.emit('update:modelValue', value);
|
|
187
|
-
}
|
|
188
|
-
});
|
|
183
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
189
184
|
onMounted(() => {
|
|
190
185
|
if (!proxyModelValue.value && props.multiple) {
|
|
191
186
|
proxyModelValue.value = [];
|
|
@@ -12,7 +12,7 @@ export { s as OrCardV3 } from '../OrCard-cc82902c.js';
|
|
|
12
12
|
export { s as OrCarousel } from '../OrCarousel-8de5d65b.js';
|
|
13
13
|
export { s as OrCarouselItem } from '../OrCarouselItem-8c7ccd0f.js';
|
|
14
14
|
export { s as OrCheckbox } from '../OrCheckbox-c2d9cf53.js';
|
|
15
|
-
export { s as OrCheckboxV3 } from '../OrCheckbox-
|
|
15
|
+
export { s as OrCheckboxV3 } from '../OrCheckbox-94fb7a4d.js';
|
|
16
16
|
export { s as OrChip } from '../OrChip-ccd4b331.js';
|
|
17
17
|
export { s as OrChips } from '../OrChips-9a19aa03.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-b0b514ab.js';
|
|
@@ -69,7 +69,7 @@ export { s as OrSearch } from '../OrSearch-fb2dd591.js';
|
|
|
69
69
|
export { s as OrSearchV3 } from '../OrSearch-d5d46937.js';
|
|
70
70
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-4587c7a9.js';
|
|
71
71
|
export { s as OrSelect } from '../OrSelect-3d923250.js';
|
|
72
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
72
|
+
export { s as OrSelectV3 } from '../OrSelect-2d2b7c36.js';
|
|
73
73
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
74
74
|
export { s as OrSidebarV3 } from '../OrSidebar-0d715029.js';
|
|
75
75
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-4d7497ec.js';
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
11
11
|
'force-state': string | undefined;
|
|
12
12
|
id: string | undefined;
|
|
13
13
|
};
|
|
14
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
14
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
15
15
|
focus: () => void;
|
|
16
16
|
blur: () => void;
|
|
17
17
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
93
93
|
'force-state': string | undefined;
|
|
94
94
|
id: string | undefined;
|
|
95
95
|
};
|
|
96
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
96
|
+
proxyModelValue: import("@vue/composition-api").Ref<boolean | string[]> | import("@vue/composition-api").WritableComputedRef<boolean | string[]>;
|
|
97
97
|
focus: () => void;
|
|
98
98
|
blur: () => void;
|
|
99
99
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { s as OrCheckboxV3 } from '../../OrCheckbox-
|
|
1
|
+
export { s as OrCheckboxV3 } from '../../OrCheckbox-94fb7a4d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../useIdAttribute-859439f0.js';
|
|
4
3
|
import '@vueuse/core';
|
|
4
|
+
import '../../useIdAttribute-859439f0.js';
|
|
5
5
|
import '../../OrLabel-4da56db0.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
24
24
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
25
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
26
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
27
27
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
28
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
29
29
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
209
209
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
210
210
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
211
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
212
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
212
|
+
proxyModelValue: import("@vue/composition-api").Ref<string | number | (string | number)[]> | import("@vue/composition-api").WritableComputedRef<string | number | (string | number)[]>;
|
|
213
213
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
214
214
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
215
215
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-2d2b7c36.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-11389afd.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
|
+
import '@vueuse/core';
|
|
4
5
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
6
|
import '../../useOverflow-af6161c8.js';
|
|
6
|
-
import '
|
|
7
|
-
import '../../OrCheckbox-56f849f7.js';
|
|
7
|
+
import '../../OrCheckbox-94fb7a4d.js';
|
|
8
8
|
import '../../useIdAttribute-859439f0.js';
|
|
9
9
|
import '../../OrLabel-4da56db0.js';
|
|
10
10
|
import 'vue';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -12,7 +12,7 @@ export { s as OrCardV3 } from './OrCard-cc82902c.js';
|
|
|
12
12
|
export { s as OrCarousel } from './OrCarousel-8de5d65b.js';
|
|
13
13
|
export { s as OrCarouselItem } from './OrCarouselItem-8c7ccd0f.js';
|
|
14
14
|
export { s as OrCheckbox } from './OrCheckbox-c2d9cf53.js';
|
|
15
|
-
export { s as OrCheckboxV3 } from './OrCheckbox-
|
|
15
|
+
export { s as OrCheckboxV3 } from './OrCheckbox-94fb7a4d.js';
|
|
16
16
|
export { s as OrChip } from './OrChip-ccd4b331.js';
|
|
17
17
|
export { s as OrChips } from './OrChips-9a19aa03.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-b0b514ab.js';
|
|
@@ -69,7 +69,7 @@ export { s as OrSearch } from './OrSearch-fb2dd591.js';
|
|
|
69
69
|
export { s as OrSearchV3 } from './OrSearch-d5d46937.js';
|
|
70
70
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-4587c7a9.js';
|
|
71
71
|
export { s as OrSelect } from './OrSelect-3d923250.js';
|
|
72
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
72
|
+
export { s as OrSelectV3 } from './OrSelect-2d2b7c36.js';
|
|
73
73
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
74
74
|
export { s as OrSidebarV3 } from './OrSidebar-0d715029.js';
|
|
75
75
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-4d7497ec.js';
|
package/package.json
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<script lang="ts">
|
|
38
38
|
import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
|
|
39
|
+
import { useVModel } from '@vueuse/core';
|
|
39
40
|
import { useControlAttributes, useIdAttribute } from '../../hooks';
|
|
40
41
|
import { LabelVariant, OrLabelV3 as OrLabel } from '../or-label-v3';
|
|
41
42
|
import { CheckboxControl, CheckboxControlHandle, CheckboxRoot } from './styles';
|
|
@@ -125,13 +126,7 @@ export default defineComponent({
|
|
|
125
126
|
...useControlAttributes(),
|
|
126
127
|
});
|
|
127
128
|
|
|
128
|
-
const proxyModelValue =
|
|
129
|
-
get: () => props.modelValue,
|
|
130
|
-
|
|
131
|
-
set: (value) => {
|
|
132
|
-
context.emit('update:modelValue', value);
|
|
133
|
-
},
|
|
134
|
-
});
|
|
129
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
135
130
|
|
|
136
131
|
// Methods
|
|
137
132
|
function focus(): void {
|
|
@@ -226,6 +226,7 @@
|
|
|
226
226
|
|
|
227
227
|
<script lang="ts">
|
|
228
228
|
import { computed, defineComponent, getCurrentInstance, onMounted, PropType, ref, watch } from 'vue-demi';
|
|
229
|
+
import { useVModel } from '@vueuse/core';
|
|
229
230
|
import { DropdownClose, DropdownOpen } from '../../directives';
|
|
230
231
|
import { useOverflow } from '../../hooks';
|
|
231
232
|
import { OrCheckboxV3 as OrCheckbox } from '../or-checkbox-v3';
|
|
@@ -408,13 +409,7 @@ export default defineComponent({
|
|
|
408
409
|
// State
|
|
409
410
|
const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
|
|
410
411
|
|
|
411
|
-
const proxyModelValue =
|
|
412
|
-
get: () => props.modelValue,
|
|
413
|
-
|
|
414
|
-
set: (value) => {
|
|
415
|
-
context.emit('update:modelValue', value);
|
|
416
|
-
},
|
|
417
|
-
});
|
|
412
|
+
const proxyModelValue = useVModel(props, 'modelValue', context.emit);
|
|
418
413
|
|
|
419
414
|
onMounted(() => {
|
|
420
415
|
if (!proxyModelValue.value && props.multiple) {
|