@avakhula/ui 0.0.44 → 0.0.46
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/index.js +1140 -1140
- package/dist/index.umd.cjs +38 -38
- package/package.json +1 -1
- package/src/components/TreeSelect/Select.vue +4 -3
package/package.json
CHANGED
|
@@ -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)
|
|
383
382
|
this.val = value;
|
|
384
383
|
this.setPreparedValues();
|
|
384
|
+
console.log(this.actualOptions)
|
|
385
385
|
},
|
|
386
386
|
val(value) {
|
|
387
387
|
if (
|
|
@@ -630,7 +630,6 @@ export default {
|
|
|
630
630
|
this.isLoading = false;
|
|
631
631
|
|
|
632
632
|
options.forEach((option) => {
|
|
633
|
-
console.log(option)
|
|
634
633
|
option.initiallyVisible =
|
|
635
634
|
typeof option.visible === "undefined" ? true : option.visible;
|
|
636
635
|
option.visible = option.initiallyVisible;
|
|
@@ -641,6 +640,8 @@ export default {
|
|
|
641
640
|
this.val.findIndex((el) => option.id == el) > -1
|
|
642
641
|
: this.val !== null && this.val == option.id;
|
|
643
642
|
|
|
643
|
+
console.log(option, 'option', option?.title, this.val)
|
|
644
|
+
|
|
644
645
|
if (option.checked) {
|
|
645
646
|
if (!this.onlyEndNodes || !option.children) {
|
|
646
647
|
selected[option.id] = option;
|