@onereach/ui-components 4.14.1 → 4.14.2-beta.3002.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 +3 -3
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +10 -10
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/OrInput.vue.d.ts +10 -10
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +12 -12
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +9 -9
- package/dist/bundled/v2/components/OrSelectV3/types.d.ts +1 -1
- package/dist/bundled/v2/utils/isEmptyValue.d.ts +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-a27167e0.js → OrCheckbox.vue_vue_type_script_lang-6c0e5fe9.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-386971f8.js → OrCheckboxGroup.vue_vue_type_script_lang-d8afbbf9.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-1d754ac1.js → OrCheckboxTree.vue_vue_type_script_lang-d3632aaa.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-cd73a3d2.js → OrSelect.vue_vue_type_script_lang-f62151ac.js} +2 -2
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +6 -6
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +6 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +14 -14
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +5 -5
- package/dist/bundled/v3/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/types.d.ts +1 -1
- package/dist/bundled/v3/components/index.js +4 -4
- package/dist/bundled/v3/index.js +4 -4
- package/dist/bundled/v3/utils/isEmptyValue.d.ts +1 -1
- package/dist/esm/v2/{OrCardCollection-74566219.js → OrCardCollection-04ac96cf.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-43615f70.js → OrCheckbox-0c2a7fa7.js} +3 -3
- package/dist/esm/v2/{OrCheckboxGroup-4e6dbdd3.js → OrCheckboxGroup-026ecf5f.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-ba023624.js → OrCheckboxTree-e991bcd9.js} +1 -1
- package/dist/esm/v2/{OrConfirm-d8d3b5e1.js → OrConfirm-defe0311.js} +1 -1
- package/dist/esm/v2/{OrInput-386e9352.js → OrInput-b7b43cd0.js} +2 -2
- package/dist/esm/v2/{OrSearch-7f444d5c.js → OrSearch-e8866022.js} +1 -1
- package/dist/esm/v2/{OrSelect-a3664bf7.js → OrSelect-9745beca.js} +14 -14
- package/dist/esm/v2/components/index.js +8 -8
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +10 -10
- 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-input-v3/OrInput.vue.d.ts +10 -10
- package/dist/esm/v2/components/or-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +9 -9
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v2/index.js +8 -8
- package/dist/esm/v2/utils/isEmptyValue.d.ts +1 -1
- package/dist/esm/v3/{OrCheckbox-bb06af0f.js → OrCheckbox-d1ceab55.js} +1 -1
- package/dist/esm/v3/{OrCheckboxGroup-9a8ab902.js → OrCheckboxGroup-6ec89f2a.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-969bc928.js → OrCheckboxTree-9e08a6c4.js} +1 -1
- package/dist/esm/v3/{OrSelect-9613954a.js → OrSelect-775025c6.js} +13 -13
- package/dist/esm/v3/components/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +6 -6
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +6 -6
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -5
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v3/index.js +4 -4
- package/dist/esm/v3/utils/isEmptyValue.d.ts +1 -1
- package/package.json +2 -3
- package/src/components/or-checkbox-v3/OrCheckbox.vue +2 -2
- package/src/components/or-input-v3/OrInput.vue +2 -2
- package/src/components/or-select-v3/OrSelect.vue +12 -12
- package/src/components/or-select-v3/types.ts +1 -1
- package/src/utils/isEmptyValue.ts +1 -1
|
@@ -62,7 +62,7 @@ export default defineComponent({
|
|
|
62
62
|
},
|
|
63
63
|
|
|
64
64
|
value: {
|
|
65
|
-
type: [String,
|
|
65
|
+
type: [Object, String, Number, Boolean] as PropType<object | string | number | boolean>,
|
|
66
66
|
default: null,
|
|
67
67
|
},
|
|
68
68
|
|
|
@@ -72,7 +72,7 @@ export default defineComponent({
|
|
|
72
72
|
},
|
|
73
73
|
|
|
74
74
|
labelVariant: {
|
|
75
|
-
type: String as PropType
|
|
75
|
+
type: String as PropType<`${LabelVariant}`>,
|
|
76
76
|
default: LabelVariant.Toggle,
|
|
77
77
|
},
|
|
78
78
|
|
|
@@ -156,12 +156,12 @@ export default defineComponent({
|
|
|
156
156
|
},
|
|
157
157
|
|
|
158
158
|
type: {
|
|
159
|
-
type: String as PropType
|
|
159
|
+
type: String as PropType<`${InputType}`>,
|
|
160
160
|
default: InputType.Text,
|
|
161
161
|
},
|
|
162
162
|
|
|
163
163
|
size: {
|
|
164
|
-
type: String as PropType
|
|
164
|
+
type: String as PropType<`${InputSize}`>,
|
|
165
165
|
default: InputSize.M,
|
|
166
166
|
},
|
|
167
167
|
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
:model="proxyModelValue"
|
|
46
46
|
>
|
|
47
47
|
<OrTag
|
|
48
|
-
v-for="option in selection"
|
|
49
|
-
:key="
|
|
48
|
+
v-for="(option, i) in selection"
|
|
49
|
+
:key="i"
|
|
50
50
|
:variant="'reset'"
|
|
51
51
|
:disabled="disabled || readonly"
|
|
52
52
|
@reset="deselect(option)"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
:model="proxyModelValue"
|
|
69
69
|
>
|
|
70
70
|
<span class="truncate">
|
|
71
|
-
{{ selection.label }}
|
|
71
|
+
{{ selection && selection.label }}
|
|
72
72
|
</span>
|
|
73
73
|
</slot>
|
|
74
74
|
</template>
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
>
|
|
128
128
|
<template v-if="multiple">
|
|
129
129
|
<OrMenuItem
|
|
130
|
-
v-for="option in group"
|
|
131
|
-
:key="
|
|
130
|
+
v-for="(option, i) in group"
|
|
131
|
+
:key="i"
|
|
132
132
|
>
|
|
133
133
|
<slot
|
|
134
134
|
name="optionTemplate"
|
|
@@ -147,8 +147,8 @@
|
|
|
147
147
|
|
|
148
148
|
<template v-else>
|
|
149
149
|
<OrMenuItem
|
|
150
|
-
v-for="option in group"
|
|
151
|
-
:key="
|
|
150
|
+
v-for="(option, i) in group"
|
|
151
|
+
:key="i"
|
|
152
152
|
@click.stop="proxyModelValue = option.value; close()"
|
|
153
153
|
>
|
|
154
154
|
<slot
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
<template v-else>
|
|
167
167
|
<template v-if="multiple">
|
|
168
168
|
<OrMenuItem
|
|
169
|
-
v-for="option in resolvedSearchOptions"
|
|
170
|
-
:key="
|
|
169
|
+
v-for="(option, i) in resolvedSearchOptions"
|
|
170
|
+
:key="i"
|
|
171
171
|
>
|
|
172
172
|
<OrCheckbox
|
|
173
173
|
v-model="proxyModelValue"
|
|
@@ -186,8 +186,8 @@
|
|
|
186
186
|
|
|
187
187
|
<template v-else>
|
|
188
188
|
<OrMenuItem
|
|
189
|
-
v-for="option in resolvedSearchOptions"
|
|
190
|
-
:key="
|
|
189
|
+
v-for="(option, i) in resolvedSearchOptions"
|
|
190
|
+
:key="i"
|
|
191
191
|
@click.stop="proxyModelValue = option.value; close()"
|
|
192
192
|
>
|
|
193
193
|
<slot
|
|
@@ -295,7 +295,7 @@ export default defineComponent({
|
|
|
295
295
|
},
|
|
296
296
|
|
|
297
297
|
modelValue: {
|
|
298
|
-
type: [String, Number, Array] as PropType<string | number |
|
|
298
|
+
type: [Object, String, Number, Array] as PropType<object | string | number | object[] | string[] | number[]>,
|
|
299
299
|
default: undefined,
|
|
300
300
|
},
|
|
301
301
|
|