@tekkare/auriga 0.1.154 → 0.1.156
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
|
@@ -251,12 +251,10 @@ import argBtn from "./argBtn.vue";
|
|
|
251
251
|
import argSortIcon from "./argSortIcon.vue";
|
|
252
252
|
import {
|
|
253
253
|
onMounted,
|
|
254
|
-
onUpdated,
|
|
255
254
|
ref,
|
|
256
255
|
computed,
|
|
257
256
|
watch,
|
|
258
|
-
defineComponent
|
|
259
|
-
onUnmounted
|
|
257
|
+
defineComponent
|
|
260
258
|
} from "vue";
|
|
261
259
|
export default defineComponent({
|
|
262
260
|
name: "argTable",
|
|
@@ -378,14 +376,12 @@ export default defineComponent({
|
|
|
378
376
|
saveTable.value = Object.assign([], [...new Set(fillTable.value)]);
|
|
379
377
|
dataValues.value = fillTable.value;
|
|
380
378
|
currentPage.value = 1;
|
|
381
|
-
setCrop();
|
|
382
379
|
}
|
|
383
380
|
);
|
|
384
381
|
watch(
|
|
385
382
|
() => props.heads,
|
|
386
383
|
(newHeads) => {
|
|
387
384
|
getColumnTypes();
|
|
388
|
-
setCrop();
|
|
389
385
|
}
|
|
390
386
|
);
|
|
391
387
|
watch(searchKey, (newSearchKey) => {
|
|
@@ -673,16 +669,6 @@ export default defineComponent({
|
|
|
673
669
|
showToggle.value = props.toggleDisplay;
|
|
674
670
|
}
|
|
675
671
|
onMounted(() => {
|
|
676
|
-
setCrop();
|
|
677
|
-
document.addEventListener("resize", setCrop);
|
|
678
|
-
});
|
|
679
|
-
onUpdated(() => {
|
|
680
|
-
setCrop();
|
|
681
|
-
});
|
|
682
|
-
onUnmounted(() => {
|
|
683
|
-
document.removeEventListener("resize", setCrop);
|
|
684
|
-
});
|
|
685
|
-
function setCrop() {
|
|
686
672
|
setTimeout(() => {
|
|
687
673
|
if (props.autoCrop) {
|
|
688
674
|
hasReadMore.value = [];
|
|
@@ -697,8 +683,8 @@ export default defineComponent({
|
|
|
697
683
|
}
|
|
698
684
|
});
|
|
699
685
|
}
|
|
700
|
-
},
|
|
701
|
-
}
|
|
686
|
+
}, 100);
|
|
687
|
+
});
|
|
702
688
|
function applyToggleCrop(index, value) {
|
|
703
689
|
if (toggleCrop.value !== null) {
|
|
704
690
|
if (toggleCrop.value.index === index && toggleCrop.value.value === value) {
|