@onereach/ui-components 4.1.3-beta.2563.0 → 4.1.3-beta.2565.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.
@@ -105,7 +105,7 @@ var script = defineComponent({
105
105
  if (isAllChildrenSelected.value) {
106
106
  proxyModelValue.value = proxyModelValue.value.filter(value => !childrenValues.value.includes(value));
107
107
  } else {
108
- proxyModelValue.value = [...proxyModelValue.value, ...childrenValues.value];
108
+ proxyModelValue.value = [...new Set([...proxyModelValue.value, ...childrenValues.value])];
109
109
  }
110
110
  };
111
111
  return {
@@ -93,7 +93,7 @@ var script = defineComponent({
93
93
  if (isAllChildrenSelected.value) {
94
94
  proxyModelValue.value = proxyModelValue.value.filter(value => !childrenValues.value.includes(value));
95
95
  } else {
96
- proxyModelValue.value = [...proxyModelValue.value, ...childrenValues.value];
96
+ proxyModelValue.value = [...new Set([...proxyModelValue.value, ...childrenValues.value])];
97
97
  }
98
98
  };
99
99
  return {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent } from 'vue-demi';
2
2
  import { useVModel } from '@vueuse/core';
3
3
  import '../OrCheckboxTreeV3/OrCheckboxTree.js';
4
- import { s as script$1 } from '../../OrCheckboxTree.vue_vue_type_script_lang-5b6dbef1.js';
4
+ import { s as script$1 } from '../../OrCheckboxTree.vue_vue_type_script_lang-f9807b75.js';
5
5
  import '../OrFormGroupV3/OrFormGroup.js';
6
6
  import { FormGroupDirection } from '../OrFormGroupV3/props.js';
7
7
  import { s as script$2 } from '../../OrFormGroup.vue_vue_type_script_lang-360b258b.js';
@@ -2,7 +2,7 @@ export { default as OrCheckboxGroupV3 } from './OrCheckboxGroup.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
4
  import '../OrCheckboxTreeV3/OrCheckboxTree.js';
5
- import '../../OrCheckboxTree.vue_vue_type_script_lang-5b6dbef1.js';
5
+ import '../../OrCheckboxTree.vue_vue_type_script_lang-f9807b75.js';
6
6
  import '../OrCheckboxTreeV3/styles.js';
7
7
  import '../../utils/functions/flattenDeep.js';
8
8
  import '../OrIconV3/OrIcon.js';
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrCheckboxTree.vue_vue_type_script_lang-5b6dbef1.js';
2
- export { s as default } from '../../OrCheckboxTree.vue_vue_type_script_lang-5b6dbef1.js';
1
+ import { s as script } from '../../OrCheckboxTree.vue_vue_type_script_lang-f9807b75.js';
2
+ export { s as default } from '../../OrCheckboxTree.vue_vue_type_script_lang-f9807b75.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createElementVNode, createBlock, withCtx, createVNode, createCommentVNode, renderList } from 'vue';
4
4
  import 'vue-demi';
5
5
  import '@vueuse/core';
@@ -1,4 +1,4 @@
1
- export { s as OrCheckboxTreeV3 } from '../../OrCheckboxTree.vue_vue_type_script_lang-5b6dbef1.js';
1
+ export { s as OrCheckboxTreeV3 } from '../../OrCheckboxTree.vue_vue_type_script_lang-f9807b75.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
4
  import './styles.js';
@@ -99,7 +99,7 @@ var script = defineComponent({
99
99
  if (isAllChildrenSelected.value) {
100
100
  proxyModelValue.value = proxyModelValue.value.filter(value => !childrenValues.value.includes(value));
101
101
  } else {
102
- proxyModelValue.value = [...proxyModelValue.value, ...childrenValues.value];
102
+ proxyModelValue.value = [...new Set([...proxyModelValue.value, ...childrenValues.value])];
103
103
  }
104
104
  };
105
105
  return {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent } from 'vue-demi';
2
2
  import { useVModel } from '@vueuse/core';
3
3
  import { _ as __vue_component__$2, F as FormGroupDirection } from '../../OrFormGroup-7a883bce.js';
4
- import { _ as __vue_component__$1 } from '../../OrCheckboxTree-97d78f1f.js';
4
+ import { _ as __vue_component__$1 } from '../../OrCheckboxTree-7b81e76c.js';
5
5
  import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
6
6
  import '../../OrLabel-63380256.js';
7
7
  import '../../OrError-4ffc1c39.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrCheckboxTreeV3 } from '../../OrCheckboxTree-97d78f1f.js';
1
+ export { _ as OrCheckboxTreeV3 } from '../../OrCheckboxTree-7b81e76c.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
4
  import '../../OrCheckbox-39c94019.js';
@@ -99,7 +99,7 @@ var script = defineComponent({
99
99
  if (isAllChildrenSelected.value) {
100
100
  proxyModelValue.value = proxyModelValue.value.filter(value => !childrenValues.value.includes(value));
101
101
  } else {
102
- proxyModelValue.value = [...proxyModelValue.value, ...childrenValues.value];
102
+ proxyModelValue.value = [...new Set([...proxyModelValue.value, ...childrenValues.value])];
103
103
  }
104
104
  };
105
105
  return {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent } from 'vue-demi';
2
2
  import { useVModel } from '@vueuse/core';
3
3
  import { s as script$2, F as FormGroupDirection } from '../../OrFormGroup-d9255559.js';
4
- import { s as script$1 } from '../../OrCheckboxTree-a02567a5.js';
4
+ import { s as script$1 } from '../../OrCheckboxTree-87d0528b.js';
5
5
  import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
6
6
  import '../../OrLabel-4da56db0.js';
7
7
  import '../../OrError-c01d0c29.js';
@@ -1,4 +1,4 @@
1
- export { s as OrCheckboxTreeV3 } from '../../OrCheckboxTree-a02567a5.js';
1
+ export { s as OrCheckboxTreeV3 } from '../../OrCheckboxTree-87d0528b.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
4
  import '../../OrCheckbox-488b6915.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "4.1.3-beta.2563.0",
3
+ "version": "4.1.3-beta.2565.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -166,8 +166,10 @@ export default defineComponent({
166
166
  proxyModelValue.value = proxyModelValue.value.filter((value) => !childrenValues.value.includes(value));
167
167
  } else {
168
168
  proxyModelValue.value = [
169
- ...proxyModelValue.value,
170
- ...childrenValues.value,
169
+ ...new Set([
170
+ ...proxyModelValue.value,
171
+ ...childrenValues.value,
172
+ ]),
171
173
  ];
172
174
  }
173
175
  };