@tekkare/auriga 0.2.119 → 0.2.121
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
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}"
|
|
32
32
|
@click="changeMenu(index + 1)"
|
|
33
33
|
>
|
|
34
|
-
<
|
|
34
|
+
<div class="header_one_tab_title oip_row v-center gap-4">
|
|
35
35
|
{{ tab }}
|
|
36
36
|
<span
|
|
37
37
|
v-if="
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
/>
|
|
51
51
|
</arg-tooltip>
|
|
52
52
|
</span>
|
|
53
|
-
</
|
|
53
|
+
</div>
|
|
54
54
|
</button>
|
|
55
55
|
</span>
|
|
56
56
|
</div>
|
|
@@ -419,7 +419,7 @@ export default defineComponent({
|
|
|
419
419
|
...new Set(element_table_copy.value.concat(props.default_select))
|
|
420
420
|
];
|
|
421
421
|
}
|
|
422
|
-
selected_items.value = props.default_select;
|
|
422
|
+
selected_items.value = [...new Set(props.default_select)];
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
);
|
|
@@ -427,7 +427,7 @@ export default defineComponent({
|
|
|
427
427
|
() => props.default_select,
|
|
428
428
|
(new_selected) => {
|
|
429
429
|
if (new_selected && new_selected.length > 0) {
|
|
430
|
-
selected_items.value =
|
|
430
|
+
selected_items.value = [...new Set(props.default_select)];
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
);
|
|
@@ -255,7 +255,6 @@ export default defineComponent({
|
|
|
255
255
|
openSugg();
|
|
256
256
|
searchValue.value = event?.target?.value;
|
|
257
257
|
emit("update:Value", searchValue.value);
|
|
258
|
-
console.log(searchValue.value);
|
|
259
258
|
}
|
|
260
259
|
onMounted(() => {
|
|
261
260
|
searchBar.value = document.getElementById(props.searchBarId);
|
|
@@ -413,6 +413,17 @@ export default defineComponent({
|
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
emits: ["changeInputValue"],
|
|
416
|
+
/************* ✨ Codeium Command ⭐ *************/
|
|
417
|
+
/**
|
|
418
|
+
* This function is the setup function for the argTable component.
|
|
419
|
+
* It initializes and defines all the computed properties and functions
|
|
420
|
+
* needed for the component to work properly.
|
|
421
|
+
* It also sets up the watchers for the props and emits changes to the parent component.
|
|
422
|
+
* @param {Object} props - The props object passed to the component.
|
|
423
|
+
* @param {Object} { emit } - The emit function to emit events to the parent component.
|
|
424
|
+
* @returns {Object} An object containing all the computed properties and functions.
|
|
425
|
+
*/
|
|
426
|
+
/****** fa6b7854-ac63-49ae-9d0f-ab8469d321ab *******/
|
|
416
427
|
setup(props, { emit }) {
|
|
417
428
|
const dataValues = ref();
|
|
418
429
|
const sortCol = ref();
|
|
@@ -420,7 +431,7 @@ export default defineComponent({
|
|
|
420
431
|
const currentPage = ref();
|
|
421
432
|
const sortIndex = ref();
|
|
422
433
|
const searchIndex = ref();
|
|
423
|
-
const searchKey = ref();
|
|
434
|
+
const searchKey = ref("");
|
|
424
435
|
const showSearch = ref(false);
|
|
425
436
|
const saveTable = ref([]);
|
|
426
437
|
const columnTypeNonProps = ref();
|
|
@@ -457,7 +468,7 @@ export default defineComponent({
|
|
|
457
468
|
});
|
|
458
469
|
watch(
|
|
459
470
|
() => props.contents,
|
|
460
|
-
(
|
|
471
|
+
() => {
|
|
461
472
|
saveTable.value = Object.assign([], [...new Set(fillTable.value)]);
|
|
462
473
|
dataValues.value = fillTable.value;
|
|
463
474
|
currentPage.value = 1;
|
|
@@ -466,16 +477,16 @@ export default defineComponent({
|
|
|
466
477
|
);
|
|
467
478
|
watch(
|
|
468
479
|
() => props.heads,
|
|
469
|
-
(
|
|
480
|
+
() => {
|
|
470
481
|
getColumnTypes();
|
|
471
482
|
}
|
|
472
483
|
);
|
|
473
|
-
watch(searchKey
|
|
484
|
+
watch(searchKey, () => {
|
|
474
485
|
setPage(1);
|
|
475
|
-
if (!props.searchFullWord || props.searchFullWord &&
|
|
476
|
-
emit("changeInputValue",
|
|
486
|
+
if (!props.searchFullWord || props.searchFullWord && searchKey.value.length === 0) {
|
|
487
|
+
emit("changeInputValue", searchKey.value);
|
|
477
488
|
}
|
|
478
|
-
if (
|
|
489
|
+
if (searchKey.value.length === 0) {
|
|
479
490
|
searchSubmit.value = false;
|
|
480
491
|
}
|
|
481
492
|
});
|