cleek 2.4.43 → 2.4.44

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.
Files changed (39) hide show
  1. package/dist/cleek.es.js +26 -25
  2. package/dist/cleek.umd.js +3 -3
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/dist/components/ck-button.vue.d.ts +0 -50
  6. package/dist/components/ck-checkbox.vue.d.ts +0 -26
  7. package/dist/components/ck-chip.vue.d.ts +0 -30
  8. package/dist/components/ck-div.vue.d.ts +0 -19
  9. package/dist/components/ck-dropdown/ck-dropdown.vue.d.ts +0 -20
  10. package/dist/components/ck-icon.vue.d.ts +0 -34
  11. package/dist/components/ck-img.vue.d.ts +0 -38
  12. package/dist/components/ck-input.vue.d.ts +0 -75
  13. package/dist/components/ck-label.vue.d.ts +0 -20
  14. package/dist/components/ck-navbar/ck-navbar.vue.d.ts +0 -17
  15. package/dist/components/ck-notify/ck-notify.d.ts +0 -21
  16. package/dist/components/ck-notify/components/CkConfirm.vue.d.ts +0 -10
  17. package/dist/components/ck-notify/components/CkNotify.vue.d.ts +0 -9
  18. package/dist/components/ck-popup.vue.d.ts +0 -64
  19. package/dist/components/ck-radio.vue.d.ts +0 -34
  20. package/dist/components/ck-select.vue.d.ts +0 -82
  21. package/dist/components/ck-sidebar.vue.d.ts +0 -33
  22. package/dist/components/ck-switch-options.vue.d.ts +0 -42
  23. package/dist/components/ck-switch.vue.d.ts +0 -32
  24. package/dist/components/ck-table/ck-table.vue.d.ts +0 -59
  25. package/dist/components/ck-table/ck-td.vue.d.ts +0 -43
  26. package/dist/components/ck-table/ck-th.vue.d.ts +0 -17
  27. package/dist/components/ck-table/ck-tr.vue.d.ts +0 -2
  28. package/dist/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +0 -24
  29. package/dist/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +0 -42
  30. package/dist/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +0 -31
  31. package/dist/components/ck-table/inner-components/ck-table__title.vue.d.ts +0 -16
  32. package/dist/components/ck-textarea.vue.d.ts +0 -36
  33. package/dist/components/index.d.ts +0 -22
  34. package/dist/hooks/windowWidth.d.ts +0 -3
  35. package/dist/package-config.d.ts +0 -3
  36. package/dist/types/cleek-options.d.ts +0 -42
  37. package/dist/types/table.d.ts +0 -6
  38. package/dist/utils/functions.d.ts +0 -15
  39. package/dist/utils/globalVariables.d.ts +0 -6
package/dist/cleek.es.js CHANGED
@@ -18907,51 +18907,52 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18907
18907
  setup(__props) {
18908
18908
  const props = __props;
18909
18909
  const computedTdClass = computed$2(() => {
18910
+ var _a, _b, _c;
18910
18911
  const list = [];
18911
- if (props.autoWidth)
18912
+ console.log("props", __spreadValues({}, props));
18913
+ if (props.autoWidth || ((_a = props.col) == null ? void 0 : _a.autoWidth))
18912
18914
  list.push("auto-width");
18913
- if (props.overflowAuto)
18915
+ if (props.overflowAuto || ((_b = props.col) == null ? void 0 : _b.overflowAuto))
18914
18916
  list.push("overflow-auto");
18915
- if (props.verticalAlign)
18916
- list.push(`vertical-align--${props.verticalAlign}`);
18917
+ const verticalAlign = props.verticalAlign || ((_c = props.col) == null ? void 0 : _c.verticalAlign);
18918
+ if (verticalAlign)
18919
+ list.push(`vertical-align--${verticalAlign}`);
18917
18920
  return list;
18918
18921
  });
18919
18922
  const computedSpanClass = computed$2(() => {
18923
+ var _a, _b, _c;
18920
18924
  const list = [];
18921
- let align;
18922
- if (props.col)
18923
- align = props.col.align;
18924
- if (props.align)
18925
- align = props.align;
18925
+ const align = props.align || ((_a = props.col) == null ? void 0 : _a.align);
18926
18926
  if (align) {
18927
18927
  if (align === "center")
18928
18928
  list.push("align-center");
18929
18929
  if (align === "right")
18930
18930
  list.push("align-right");
18931
18931
  }
18932
- if (props.block)
18932
+ if (props.block || ((_b = props.col) == null ? void 0 : _b.block))
18933
18933
  list.push("block");
18934
- if (props.block)
18934
+ if (props.nowrap || ((_c = props.col) == null ? void 0 : _c.nowrap))
18935
18935
  list.push("no-wrap-text");
18936
18936
  return list;
18937
18937
  });
18938
18938
  const computedStyle = computed$2(() => {
18939
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
18939
18940
  const list = {};
18940
- let minWidth = "";
18941
- if (props.minWidth)
18942
- minWidth = props.minWidth;
18943
- if (props.fixedWidth)
18944
- minWidth = props.fixedWidth;
18941
+ let minWidth;
18942
+ if (props.minWidth || ((_a = props.col) == null ? void 0 : _a.minWidth))
18943
+ minWidth = props.minWidth || ((_b = props.col) == null ? void 0 : _b.minWidth);
18944
+ if (props.fixedWidth || ((_c = props.col) == null ? void 0 : _c.fixedWidth))
18945
+ minWidth = props.fixedWidth || ((_d = props.col) == null ? void 0 : _d.fixedWidth);
18945
18946
  if (minWidth)
18946
18947
  list.minWidth = minWidth;
18947
- let maxWidth = "";
18948
- if (props.maxWidth)
18949
- maxWidth = props.maxWidth;
18950
- if (props.fixedWidth)
18951
- maxWidth = props.fixedWidth;
18948
+ let maxWidth;
18949
+ if (props.maxWidth || ((_e = props.col) == null ? void 0 : _e.maxWidth))
18950
+ maxWidth = props.maxWidth || ((_f = props.col) == null ? void 0 : _f.maxWidth);
18951
+ if (props.fixedWidth || ((_g = props.col) == null ? void 0 : _g.fixedWidth))
18952
+ maxWidth = props.fixedWidth || ((_h = props.col) == null ? void 0 : _h.fixedWidth);
18952
18953
  if (maxWidth)
18953
18954
  list.maxWidth = maxWidth;
18954
- if (props.maxHeight)
18955
+ if (props.maxHeight || ((_i = props.col) == null ? void 0 : _i.maxHeight))
18955
18956
  list.maxHeight = props.maxHeight;
18956
18957
  return list;
18957
18958
  });
@@ -18979,7 +18980,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18979
18980
  };
18980
18981
  }
18981
18982
  });
18982
- var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-7f4cf041"]]);
18983
+ var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-cf9c5808"]]);
18983
18984
  var axios$2 = { exports: {} };
18984
18985
  var bind$2 = function bind2(fn, thisArg) {
18985
18986
  return function wrap() {
@@ -22778,7 +22779,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22778
22779
  class: normalizeClass(["ck-table__table", unref$1(computedClassTable)])
22779
22780
  }, [
22780
22781
  unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$4, [
22781
- createVNode(CkTr, null, {
22782
+ createVNode(CkTr, { class: "header-row" }, {
22782
22783
  default: withCtx(() => [
22783
22784
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
22784
22785
  return openBlock(), createBlock(_sfc_main$l, {
@@ -22832,7 +22833,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22832
22833
  };
22833
22834
  }
22834
22835
  });
22835
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-02337344"]]);
22836
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-64f91af6"]]);
22836
22837
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
22837
22838
  const _hoisted_1$9 = ["color"];
22838
22839
  const _sfc_main$a = /* @__PURE__ */ defineComponent({