@tekkare/auriga 0.1.155 → 0.1.157

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
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.155"
7
+ "version": "0.1.157"
8
8
  }
@@ -113,7 +113,7 @@
113
113
  :name="columnTypeNonProps[valIndex]"
114
114
  v-bind:value="value"
115
115
  ></slot>
116
- <div v-else-if="autoCrop === true" class="display_auto_crop">
116
+ <!-- <div v-else-if="autoCrop === true" class="display_auto_crop">
117
117
  <p
118
118
  :class="
119
119
  toggleCrop !== null &&
@@ -143,8 +143,8 @@
143
143
  : "Read more"
144
144
  : "Read more"
145
145
  }}
146
- </p>
147
- </div>
146
+ </p>
147
+ </div>-->
148
148
  <p v-else>
149
149
  {{ value }}
150
150
  </p>
@@ -376,7 +376,6 @@ export default defineComponent({
376
376
  saveTable.value = Object.assign([], [...new Set(fillTable.value)]);
377
377
  dataValues.value = fillTable.value;
378
378
  currentPage.value = 1;
379
- setCrop();
380
379
  }
381
380
  );
382
381
  watch(
@@ -670,25 +669,7 @@ export default defineComponent({
670
669
  showToggle.value = props.toggleDisplay;
671
670
  }
672
671
  onMounted(() => {
673
- setCrop();
674
672
  });
675
- function setCrop() {
676
- setTimeout(() => {
677
- if (props.autoCrop) {
678
- hasReadMore.value = [];
679
- const textCells = document.querySelectorAll(".text_cell");
680
- textCells.forEach((cell) => {
681
- cell.classList.remove("crop_text");
682
- const fullHeight = cell.clientHeight;
683
- cell.classList.add("crop_text");
684
- const originalHeight = cell.clientHeight;
685
- if (fullHeight > originalHeight) {
686
- hasReadMore.value.push(cell.id);
687
- }
688
- });
689
- }
690
- }, 100);
691
- }
692
673
  function applyToggleCrop(index, value) {
693
674
  if (toggleCrop.value !== null) {
694
675
  if (toggleCrop.value.index === index && toggleCrop.value.value === value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.155",
3
+ "version": "0.1.157",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",