@avakhula/ui 0.0.45 → 0.0.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avakhula/ui",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -33,6 +33,7 @@
33
33
  active: !showInput && option.checked,
34
34
  }"
35
35
  >
36
+ {{ isChecked }} {{ option.checked }}
36
37
  <component
37
38
  ref="component"
38
39
  tabindex="-1"
@@ -185,7 +185,7 @@
185
185
  ></select-option>
186
186
  </template>
187
187
 
188
- <template v-for="option in actualOptions" :key="option.value">
188
+ <template v-for="option in actualOptions" :key="name + option.value">
189
189
  <slot
190
190
  :option="option"
191
191
  :name="actualName"
@@ -379,9 +379,9 @@ export default {
379
379
  this.setPreparedValues();
380
380
  },
381
381
  modelValue(value) {
382
- console.log(value, '1123213123123123123')
383
382
  this.val = value;
384
383
  this.setPreparedValues();
384
+ console.log(this.actualOptions)
385
385
  },
386
386
  val(value) {
387
387
  if (
@@ -640,8 +640,6 @@ export default {
640
640
  this.val.findIndex((el) => option.id == el) > -1
641
641
  : this.val !== null && this.val == option.id;
642
642
 
643
- console.log(option, 'option', option?.title, this.val)
644
-
645
643
  if (option.checked) {
646
644
  if (!this.onlyEndNodes || !option.children) {
647
645
  selected[option.id] = option;