@tekkare/auriga 0.1.19 → 0.1.20
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/module.json
CHANGED
|
@@ -83,7 +83,7 @@ export default defineComponent({
|
|
|
83
83
|
return "var(--lavendar-grey)";
|
|
84
84
|
}
|
|
85
85
|
function updateSelection(index, option) {
|
|
86
|
-
|
|
86
|
+
const selected = props.return_value ? selectedString.value : selectedInts.value;
|
|
87
87
|
if (props.return_value) {
|
|
88
88
|
if (selectedString.value.includes(option)) {
|
|
89
89
|
selectedString.value.splice(
|
|
@@ -336,9 +336,7 @@ export default defineComponent({
|
|
|
336
336
|
if (props.preselection_all) {
|
|
337
337
|
add_all();
|
|
338
338
|
} else if (props.default_select && props.default_select.length > 0) {
|
|
339
|
-
selected_items.value = props.default_select
|
|
340
|
-
(index) => element_table_copy.value[element_table_copy.value.indexOf(index)]
|
|
341
|
-
);
|
|
339
|
+
selected_items.value = props.default_select;
|
|
342
340
|
}
|
|
343
341
|
}
|
|
344
342
|
);
|
|
@@ -346,9 +344,7 @@ export default defineComponent({
|
|
|
346
344
|
() => props.default_select,
|
|
347
345
|
(new_selected) => {
|
|
348
346
|
if (new_selected && new_selected.length > 0) {
|
|
349
|
-
selected_items.value = new_selected
|
|
350
|
-
(index) => element_table_copy.value[element_table_copy.value.indexOf(index)]
|
|
351
|
-
);
|
|
347
|
+
selected_items.value = new_selected;
|
|
352
348
|
}
|
|
353
349
|
}
|
|
354
350
|
);
|
|
@@ -357,9 +353,7 @@ export default defineComponent({
|
|
|
357
353
|
if (props.preselection_all) {
|
|
358
354
|
add_all();
|
|
359
355
|
} else if (props.default_select && props.default_select.length > 0) {
|
|
360
|
-
selected_items.value = props.default_select
|
|
361
|
-
(index) => element_table_copy.value[element_table_copy.value.indexOf(index)]
|
|
362
|
-
);
|
|
356
|
+
selected_items.value = props.default_select;
|
|
363
357
|
}
|
|
364
358
|
});
|
|
365
359
|
const getAllSelect = computed(() => {
|