dlzn-ui 2.0.51 → 2.0.52

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.
@@ -10,7 +10,7 @@ var y = { class: "inline-flex max-w-full align-middle" }, b = 25, x = /* @__PURE
10
10
  setup(a) {
11
11
  let x = o("_columnWidths"), S = o("columnMinWidths"), C = o("columnMaxWidths"), w = p(), T = t(() => w.col.colKey), E = m("wrapperRef"), D = u(!1), O = u(""), k = t(() => E.value === null ? null : E.value.closest("td, th")), A = v(() => {
12
12
  if (E.value === null) return;
13
- let t = E.value.getBoundingClientRect().width, n = e(E.value) + Number.parseFloat(getComputedStyle(E.value).paddingLeft) + Number.parseFloat(getComputedStyle(E.value).paddingRight), r = k.value.getBoundingClientRect().width, i = T.value, a = C[i], o = 0, s = k.value.querySelector(".t-table__tree-op-icon");
13
+ let t = E.value.getBoundingClientRect().width, n = t === 0 ? 0 : e(E.value) + Number.parseFloat(getComputedStyle(E.value).paddingLeft) + Number.parseFloat(getComputedStyle(E.value).paddingRight), r = k.value.getBoundingClientRect().width, i = T.value, a = C[i], o = 0, s = k.value.querySelector(".t-table__tree-op-icon");
14
14
  s && (o = s.getBoundingClientRect().width + Number.parseFloat(getComputedStyle(s).marginRight));
15
15
  let c = 0, l = k.value.querySelector(".t-table__tree-col");
16
16
  l && (c = Number.parseFloat(getComputedStyle(l).paddingLeft));
package/package.json CHANGED
@@ -108,7 +108,7 @@
108
108
  "> 1%",
109
109
  "not dead"
110
110
  ],
111
- "version": "2.0.51",
111
+ "version": "2.0.52",
112
112
  "scripts": {
113
113
  "dev": "vite --config play/vite.config.ts"
114
114
  }
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/Wrapper-Boiyneqd.mjs";
1
+ import { t as e } from "../../chunks/Wrapper-64pfjnP6.mjs";
2
2
  export { e as default };
@@ -19,7 +19,7 @@ import { t as _ } from "../../../chunks/Index-BOv4n_q9.mjs";
19
19
  import { t as v } from "../../../chunks/Index-DuOAXN6w.mjs";
20
20
  import { t as y } from "../../../chunks/Index-DytUHz5x.mjs";
21
21
  import { t as b } from "../../../chunks/Index-BBRYiUAP.mjs";
22
- import { t as x } from "../../../chunks/Wrapper-Boiyneqd.mjs";
22
+ import { t as x } from "../../../chunks/Wrapper-64pfjnP6.mjs";
23
23
  //#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
24
24
  var S = /* #__PURE__ */ Object.assign({
25
25
  "./Avatar/Index.vue": t,
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../chunks/Wrapper-Boiyneqd.mjs";
1
+ import { t as e } from "../../../chunks/Wrapper-64pfjnP6.mjs";
2
2
  import { t } from "../../../chunks/Index-Cesv9ltS.mjs";
3
3
  import { t as n } from "../../../chunks/Index-C9NFNzgI.mjs";
4
4
  //#region ../../packages/dlzn-ui/plugins/tableRenders/title/index.ts