cleek 2.4.65 → 2.4.68

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/cleek.es.js CHANGED
@@ -3785,6 +3785,10 @@ const cleekOptions = {
3785
3785
  primary: "#559933",
3786
3786
  secondary: "#559933"
3787
3787
  },
3788
+ styles: {
3789
+ layout: "base",
3790
+ borderColor: "#dae1e7"
3791
+ },
3788
3792
  button: {
3789
3793
  type: "outlined",
3790
3794
  layout: "base"
@@ -3801,9 +3805,11 @@ const cleekOptions = {
3801
3805
  maxWidth: "",
3802
3806
  fontSize: ""
3803
3807
  },
3804
- styles: {
3805
- layout: "base",
3806
- borderColor: "#dae1e7"
3808
+ select: {
3809
+ clearValue: null
3810
+ },
3811
+ table: {
3812
+ striped: false
3807
3813
  }
3808
3814
  };
3809
3815
  /*!
@@ -22066,6 +22072,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22066
22072
  }
22067
22073
  });
22068
22074
  return (_ctx, _cache) => {
22075
+ var _a;
22069
22076
  return openBlock(), createElementBlock("div", {
22070
22077
  class: "ck-input",
22071
22078
  style: normalizeStyle(unref$1(computedStyle))
@@ -22127,13 +22134,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22127
22134
  ]),
22128
22135
  __props.type === "password" ? (openBlock(), createElementBlock("div", {
22129
22136
  key: 4,
22130
- class: "show-password",
22137
+ class: normalizeClass(["show-password", __props.layout || ((_a = unref$1(cleekOptions2)) == null ? void 0 : _a.styles.layout)]),
22131
22138
  onClick: _cache[12] || (_cache[12] = ($event) => isShowingPassword.value = !isShowingPassword.value)
22132
22139
  }, [
22133
22140
  createVNode(CkIcon, {
22134
22141
  icon: isShowingPassword.value ? "eye-slash" : "eye"
22135
22142
  }, null, 8, ["icon"])
22136
- ])) : createCommentVNode("", true),
22143
+ ], 2)) : createCommentVNode("", true),
22137
22144
  __props.iconRight && __props.type !== "password" ? (openBlock(), createBlock(CkIcon, {
22138
22145
  key: 5,
22139
22146
  class: "ck-input__icon-right",
@@ -22145,7 +22152,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22145
22152
  };
22146
22153
  }
22147
22154
  });
22148
- var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1beb528a"]]);
22155
+ var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-63381df9"]]);
22149
22156
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
22150
22157
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
22151
22158
  props: {
@@ -22259,7 +22266,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
22259
22266
  });
22260
22267
  var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4bfc21c8"]]);
22261
22268
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
22262
- const _withScopeId$4 = (n) => (pushScopeId("data-v-13fd1fa4"), n = n(), popScopeId(), n);
22269
+ const _withScopeId$4 = (n) => (pushScopeId("data-v-0c3ab853"), n = n(), popScopeId(), n);
22263
22270
  const _hoisted_1$f = { class: "ck-table__pagination" };
22264
22271
  const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
22265
22272
  const _hoisted_3$7 = ["onClick"];
@@ -22352,7 +22359,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
22352
22359
  }
22353
22360
  }
22354
22361
  function onClickArrowRight() {
22355
- console.log("hasArrowRight", hasArrowRight.value);
22356
22362
  if (!hasArrowRight.value)
22357
22363
  return;
22358
22364
  currentPageLocal.value = props.currentPage + 1;
@@ -22413,7 +22419,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
22413
22419
  };
22414
22420
  }
22415
22421
  });
22416
- var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-13fd1fa4"]]);
22422
+ var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-0c3ab853"]]);
22417
22423
  const EMPTY_OBJ = {};
22418
22424
  const NOOP = () => {
22419
22425
  };
@@ -23659,6 +23665,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
23659
23665
  }
23660
23666
  }
23661
23667
  const computedClassTable = computed$2(() => {
23668
+ var _a, _b;
23662
23669
  const list = [];
23663
23670
  if (props.cellPadding)
23664
23671
  list.push(`table__cell-padding--${props.cellPadding}`);
@@ -23666,7 +23673,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
23666
23673
  list.push(`table__cell-padding-y--${props.cellPaddingY}`);
23667
23674
  if (props.notFullWidth)
23668
23675
  list.push("not-full-width");
23669
- if (props.striped)
23676
+ const striped = props.striped || ((_b = (_a = cleekOptions2.value) == null ? void 0 : _a.table) == null ? void 0 : _b.striped);
23677
+ if (striped)
23670
23678
  list.push("striped-table");
23671
23679
  return list;
23672
23680
  });
@@ -23779,7 +23787,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
23779
23787
  };
23780
23788
  }
23781
23789
  });
23782
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-6d9f4aad"]]);
23790
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-578b78e9"]]);
23783
23791
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
23784
23792
  const _hoisted_1$a = ["color"];
23785
23793
  const _sfc_main$b = /* @__PURE__ */ defineComponent({