lew-ui 1.3.2 → 1.3.4

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/lew.es.ts CHANGED
@@ -203,7 +203,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
203
203
  });
204
204
  var LewLayout = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-38cc287d"], ["__file", "/Users/kamtao/Documents/lew_worksplace/lew-ui/packages/components/layout/src/LewLayout.vue"]]);
205
205
  function useDOMCreate(nodeId) {
206
- let node = document.getElementById(nodeId) || document.createElement("div");
206
+ let node = document.getElementById(nodeId);
207
207
  if (node) {
208
208
  return;
209
209
  } else {
@@ -12347,6 +12347,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12347
12347
  return (_ctx, _cache) => {
12348
12348
  const _component_lew_checkbox = resolveComponent("lew-checkbox");
12349
12349
  const _component_lew_flex = resolveComponent("lew-flex");
12350
+ const _component_lew_text_trim = resolveComponent("lew-text-trim");
12350
12351
  return openBlock(), createElementBlock("div", {
12351
12352
  class: normalizeClass(["lew-table-wrapper", {
12352
12353
  "hide-line-left": !state.scrollbarVisible || ["all", "left"].includes(state.hidScrollLine) || _ctx.columns.filter((e) => e.fixed === "left").length > 0,
@@ -12558,9 +12559,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12558
12559
  key: 0,
12559
12560
  row,
12560
12561
  column
12561
- }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
12562
- createTextVNode(toDisplayString(row[column.field]), 1)
12563
- ], 64))
12562
+ }) : (openBlock(), createBlock(_component_lew_text_trim, {
12563
+ key: 1,
12564
+ style: { "width": "100%" },
12565
+ text: row[column.field]
12566
+ }, null, 8, ["text"]))
12564
12567
  ]),
12565
12568
  _: 2
12566
12569
  }, 1032, ["x", "y", "style"]);