@tekkare/auriga 0.1.96 → 0.1.97
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
|
@@ -354,17 +354,10 @@ export default defineComponent({
|
|
|
354
354
|
watch(
|
|
355
355
|
() => props.element_table,
|
|
356
356
|
(new_element_table) => {
|
|
357
|
-
console.log("uhuh");
|
|
358
357
|
element_table_copy.value = new_element_table;
|
|
359
|
-
console.log(props.default_select);
|
|
360
358
|
if (props.preselection_all) {
|
|
361
359
|
add_all();
|
|
362
360
|
} else if (props.default_select && props.default_select.length > 0) {
|
|
363
|
-
console.log(
|
|
364
|
-
element_table_copy.value.some(
|
|
365
|
-
(a) => props.default_select.includes(a)
|
|
366
|
-
)
|
|
367
|
-
);
|
|
368
361
|
if (!element_table_copy.value.some(
|
|
369
362
|
(a) => props.default_select.includes(a)
|
|
370
363
|
)) {
|
|
@@ -470,7 +463,7 @@ export default defineComponent({
|
|
|
470
463
|
}
|
|
471
464
|
const filterName = computed(() => {
|
|
472
465
|
if (!props.multiple_columns) {
|
|
473
|
-
if (searchName.value
|
|
466
|
+
if (searchName.value.length > 0) {
|
|
474
467
|
if (searchName.value.includes(" ")) {
|
|
475
468
|
return element_table_copy.value.filter(
|
|
476
469
|
(element) => checkIfContainsValue(
|
|
@@ -487,7 +480,7 @@ export default defineComponent({
|
|
|
487
480
|
} else {
|
|
488
481
|
let selectTable = [];
|
|
489
482
|
const finalTable = [];
|
|
490
|
-
if (searchName.value
|
|
483
|
+
if (searchName.value.length > 0) {
|
|
491
484
|
selectTable = [
|
|
492
485
|
...new Set(
|
|
493
486
|
element_table_copy.value.filter(
|
|
@@ -818,7 +811,8 @@ export default defineComponent({
|
|
|
818
811
|
getEmptyMsg,
|
|
819
812
|
getLoaderText,
|
|
820
813
|
getPlaceholder,
|
|
821
|
-
getEmptyContentMsg
|
|
814
|
+
getEmptyContentMsg,
|
|
815
|
+
element_table_copy
|
|
822
816
|
};
|
|
823
817
|
}
|
|
824
818
|
});
|
|
@@ -141,6 +141,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
141
|
getLoaderText: import("vue").ComputedRef<string[]>;
|
|
142
142
|
getPlaceholder: import("vue").ComputedRef<string>;
|
|
143
143
|
getEmptyContentMsg: import("vue").ComputedRef<string>;
|
|
144
|
+
element_table_copy: import("vue").Ref<any[]>;
|
|
144
145
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClose" | "changeElement" | "update:Selection" | "changeInputValue")[], "onClose" | "changeElement" | "update:Selection" | "changeInputValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
146
|
element_table: {
|
|
146
147
|
type: {
|