golden-logic-ui 1.2.65 → 1.2.67

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.
@@ -91252,7 +91252,7 @@ const DAe = {
91252
91252
  t.isLoadinPrint = !1;
91253
91253
  },
91254
91254
  closeCallback(t) {
91255
- t.columnVisibility.Action = !0, t.isLoadinPrint = !1;
91255
+ t.columnVisibility.action = !0, t.isLoadinPrint = !1;
91256
91256
  }
91257
91257
  },
91258
91258
  checkedIds: [],
@@ -91300,11 +91300,11 @@ const DAe = {
91300
91300
  closeColumnVisibilityDropdown() {
91301
91301
  this.isOpenColumnVisibility = !1;
91302
91302
  },
91303
- openColumnVisibilityDropdown() {
91304
- this.isOpenColumnVisibility = !0;
91303
+ toggleColumnVisibilityDropdown() {
91304
+ this.isOpenColumnVisibility = !this.isOpenColumnVisibility;
91305
91305
  },
91306
91306
  delayedPrint() {
91307
- this.ColumnVisibility.Action = !1, this.isLoadinPrint = !0, this.$nextTick(() => {
91307
+ this.columnVisibility.action = !1, this.isLoadinPrint = !0, this.$nextTick(() => {
91308
91308
  var r;
91309
91309
  (r = this.$refs.hiddenPrintBtn) == null || r.click(), this.isLoadinPrint = !1;
91310
91310
  });
@@ -91394,7 +91394,7 @@ const DAe = {
91394
91394
  this.sortField = this.columns && this.columns.length > 0 ? this.columns[0].field_name : "", this.sortOrder = "asc", this.page = 1, this.GetItemLists(this.page);
91395
91395
  },
91396
91396
  exportToExcel() {
91397
- const r = document.querySelector("#table" + this.Random_string), t = Array.from(r.querySelectorAll("thead th")).map((R) => R.innerText), l = ["", ...["Action"]], c = t.map((R, M) => l.includes(R) ? M : -1).filter((R) => R !== -1), f = Array.from(r.querySelectorAll("tbody tr")).map((R) => Array.from(R.querySelectorAll("td")).map((V) => V.innerText).filter((V, Y) => !c.includes(Y))), b = [t.filter((R, M) => !c.includes(M)), ...f], x = pte.aoa_to_sheet(b), C = pte.book_new();
91397
+ const r = document.querySelector("#table" + this.Random_string), t = Array.from(r.querySelectorAll("thead th")).map((R) => R.innerText), l = ["", ...["action"]], c = t.map((R, M) => l.includes(R) ? M : -1).filter((R) => R !== -1), f = Array.from(r.querySelectorAll("tbody tr")).map((R) => Array.from(R.querySelectorAll("td")).map((V) => V.innerText).filter((V, Y) => !c.includes(Y))), b = [t.filter((R, M) => !c.includes(M)), ...f], x = pte.aoa_to_sheet(b), C = pte.book_new();
91398
91398
  pte.book_append_sheet(C, x, "Sheet1"), vAe(C, "exported-file.xlsx");
91399
91399
  }
91400
91400
  },
@@ -91633,7 +91633,7 @@ function a5e(r, t, s, l, c, f) {
91633
91633
  }, 8, ["onClick"])) : Lt("", !0),
91634
91634
  Nr((Qe(), Ge("div", null, [
91635
91635
  U("button", {
91636
- onClick: t[3] || (t[3] = (...G) => f.openColumnVisibilityDropdown && f.openColumnVisibilityDropdown(...G)),
91636
+ onClick: t[3] || (t[3] = (...G) => f.toggleColumnVisibilityDropdown && f.toggleColumnVisibilityDropdown(...G)),
91637
91637
  class: "text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800",
91638
91638
  type: "button"
91639
91639
  }, t[7] || (t[7] = [
@@ -91796,7 +91796,7 @@ function a5e(r, t, s, l, c, f) {
91796
91796
  }])
91797
91797
  }, [
91798
91798
  U("div", {
91799
- class: Nn([vt.field_name === "Action" || vt.field_name === "action" ? "" : "overflow-auto", "td_overflow_auto max-h-40"])
91799
+ class: Nn([vt.field_name === "action" ? "" : "overflow-auto", "td_overflow_auto max-h-40"])
91800
91800
  }, [
91801
91801
  vt.tdComp ? (Qe(), Eu(cA(f.forDynCompIs(vt.tdComp)), {
91802
91802
  key: 0,
@@ -91831,7 +91831,7 @@ function a5e(r, t, s, l, c, f) {
91831
91831
  ])
91832
91832
  ], 64);
91833
91833
  }
91834
- const JRe = /* @__PURE__ */ Ii(DAe, [["render", a5e], ["__scopeId", "data-v-d4c057da"]]), l5e = {
91834
+ const JRe = /* @__PURE__ */ Ii(DAe, [["render", a5e], ["__scopeId", "data-v-c7a6821f"]]), l5e = {
91835
91835
  components: {},
91836
91836
  props: {
91837
91837
  data: Array,