@tekkare/auriga 0.1.99 → 0.1.101
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
|
@@ -302,9 +302,6 @@
|
|
|
302
302
|
</div>
|
|
303
303
|
</template>
|
|
304
304
|
<script>
|
|
305
|
-
import argIcon from "./argIcon.vue";
|
|
306
|
-
import argSimpleLabel from "./argSimpleLabel.vue";
|
|
307
|
-
import argDataLoader from "./argDataLoader.vue";
|
|
308
305
|
import {
|
|
309
306
|
onMounted,
|
|
310
307
|
ref,
|
|
@@ -313,6 +310,9 @@ import {
|
|
|
313
310
|
defineComponent,
|
|
314
311
|
onUnmounted
|
|
315
312
|
} from "vue";
|
|
313
|
+
import argIcon from "./argIcon.vue";
|
|
314
|
+
import argSimpleLabel from "./argSimpleLabel.vue";
|
|
315
|
+
import argDataLoader from "./argDataLoader.vue";
|
|
316
316
|
export default defineComponent({
|
|
317
317
|
name: "argMultipleSelect",
|
|
318
318
|
components: { argIcon, argSimpleLabel, argDataLoader },
|
|
@@ -358,12 +358,12 @@ export default defineComponent({
|
|
|
358
358
|
if (props.preselection_all) {
|
|
359
359
|
add_all();
|
|
360
360
|
} else if (props.default_select && props.default_select.length > 0) {
|
|
361
|
-
if (!
|
|
362
|
-
(a) =>
|
|
361
|
+
if (!props.default_select.every(
|
|
362
|
+
(a) => element_table_copy.value.includes(a)
|
|
363
363
|
)) {
|
|
364
|
-
element_table_copy.value =
|
|
365
|
-
props.default_select
|
|
366
|
-
|
|
364
|
+
element_table_copy.value = [
|
|
365
|
+
...new Set(element_table_copy.value.concat(props.default_select))
|
|
366
|
+
];
|
|
367
367
|
}
|
|
368
368
|
selected_items.value = props.default_select;
|
|
369
369
|
}
|
|
@@ -382,13 +382,6 @@ export default defineComponent({
|
|
|
382
382
|
if (props.preselection_all) {
|
|
383
383
|
add_all();
|
|
384
384
|
} else if (props.default_select && props.default_select.length > 0) {
|
|
385
|
-
if (!element_table_copy.value.some(
|
|
386
|
-
(a) => props.default_select.includes(a)
|
|
387
|
-
)) {
|
|
388
|
-
element_table_copy.value = element_table_copy.value.concat(
|
|
389
|
-
props.default_select
|
|
390
|
-
);
|
|
391
|
-
}
|
|
392
385
|
selected_items.value = props.default_select;
|
|
393
386
|
}
|
|
394
387
|
});
|
|
@@ -483,7 +476,7 @@ export default defineComponent({
|
|
|
483
476
|
(element) => element.toLowerCase().includes(searchName.value.toLowerCase())
|
|
484
477
|
);
|
|
485
478
|
} else
|
|
486
|
-
return
|
|
479
|
+
return element_table_copy.value;
|
|
487
480
|
} else {
|
|
488
481
|
let selectTable = [];
|
|
489
482
|
const finalTable = [];
|
|
@@ -824,7 +817,6 @@ export default defineComponent({
|
|
|
824
817
|
}
|
|
825
818
|
});
|
|
826
819
|
</script>
|
|
827
|
-
|
|
828
820
|
<style>
|
|
829
821
|
.oip_select_complex_selection_loop>svg{color:var(--medium)!important}.oip_select_dropdown_block.multiple{min-width:225px;overflow-y:auto}.oip_select_complex_selection_loop.multiple{padding-left:7px}.oip_select_multiple_left_margin{border-left:1px solid var(--light);margin-left:7px}.relative{position:relative}
|
|
830
822
|
</style>
|