@tekkare/auriga 0.1.148 → 0.1.150
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 +1 -1
- package/dist/runtime/components/argTable.vue +14 -12
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -663,18 +663,20 @@ export default defineComponent({
|
|
|
663
663
|
showToggle.value = props.toggleDisplay;
|
|
664
664
|
}
|
|
665
665
|
onMounted(() => {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
666
|
+
setTimeout(() => {
|
|
667
|
+
if (props.autoCrop) {
|
|
668
|
+
const textCells = document.querySelectorAll(".text_cell");
|
|
669
|
+
textCells.forEach((cell) => {
|
|
670
|
+
cell.classList.remove("crop_text");
|
|
671
|
+
const fullHeight = cell.clientHeight;
|
|
672
|
+
cell.classList.add("crop_text");
|
|
673
|
+
const originalHeight = cell.clientHeight;
|
|
674
|
+
if (fullHeight > originalHeight) {
|
|
675
|
+
hasReadMore.value.push(cell.id);
|
|
676
|
+
}
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
}, 500);
|
|
678
680
|
});
|
|
679
681
|
function applyToggleCrop(index, value) {
|
|
680
682
|
if (toggleCrop.value !== null) {
|