cleek 2.3.10 → 2.3.13

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
@@ -13336,7 +13336,8 @@ var App;
13336
13336
  }
13337
13337
  App2.OtherClass = OtherClass;
13338
13338
  })(App || (App = {}));
13339
- var ckTable_vue_vue_type_style_index_0_scoped_true_lang = "";
13339
+ var ckTable_vue_vue_type_style_index_0_lang = "";
13340
+ var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
13340
13341
  const _hoisted_1$8 = { class: "ck-table" };
13341
13342
  const _hoisted_2$3 = {
13342
13343
  key: 0,
@@ -13362,6 +13363,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
13362
13363
  showRefreshBtn: { type: Boolean, default: false },
13363
13364
  hideItemsPerPage: { type: Boolean, default: false },
13364
13365
  notFullWidth: { type: Boolean, default: false },
13366
+ cellPadding: { type: String, "m": void 0 },
13365
13367
  mobileMaxWidth: { type: [Number, String], default: 800 }
13366
13368
  },
13367
13369
  emits: ["refreshList", "update:search", "update:currentPage"],
@@ -13416,6 +13418,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
13416
13418
  console.log("ERROR ck-table", "The columns list should be an object");
13417
13419
  }
13418
13420
  }
13421
+ const computedClassTable = computed$2(() => {
13422
+ const list = [];
13423
+ if (props.cellPadding)
13424
+ list.push(`table__cell-padding--${props.cellPadding}`);
13425
+ if (props.notFullWidth)
13426
+ list.push("not-full-width");
13427
+ return list;
13428
+ });
13419
13429
  return (_ctx, _cache) => {
13420
13430
  return openBlock(), createElementBlock(Fragment, null, [
13421
13431
  __props.hasColumnsManager && unref$1(columnsAreObj) ? (openBlock(), createBlock(TableColumnsManager, {
@@ -13446,7 +13456,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
13446
13456
  ])) : createCommentVNode("", true),
13447
13457
  createElementVNode("div", _hoisted_4$2, [
13448
13458
  createElementVNode("table", {
13449
- class: normalizeClass(["ck-table__table", { "not-full-width": __props.notFullWidth }])
13459
+ class: normalizeClass(["ck-table__table", unref$1(computedClassTable)])
13450
13460
  }, [
13451
13461
  unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_5, [
13452
13462
  createVNode(ckTr, null, {
@@ -13485,7 +13495,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
13485
13495
  };
13486
13496
  }
13487
13497
  });
13488
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-79775e25"]]);
13498
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-03297f2e"]]);
13489
13499
  var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
13490
13500
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
13491
13501
  props: {
@@ -13962,7 +13972,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
13962
13972
  });
13963
13973
  var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6217135d"]]);
13964
13974
  var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
13965
- const _withScopeId = (n) => (pushScopeId("data-v-b6a4dfaa"), n = n(), popScopeId(), n);
13975
+ const _withScopeId = (n) => (pushScopeId("data-v-7e2f20c4"), n = n(), popScopeId(), n);
13966
13976
  const _hoisted_1$3 = ["disabled"];
13967
13977
  const _hoisted_2$1 = { class: "ck-switch__slider-container" };
13968
13978
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
@@ -13976,7 +13986,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
13976
13986
  disabled: { type: Boolean, default: false },
13977
13987
  outlined: { type: Boolean, default: false },
13978
13988
  squared: { type: Boolean, default: false },
13979
- size: { type: String, default: "m" },
13989
+ size: { type: String, default: "s" },
13980
13990
  icon: { type: String, default: void 0 },
13981
13991
  iconPack: { type: String, default: void 0 }
13982
13992
  },
@@ -13998,7 +14008,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
13998
14008
  if (props.outlined)
13999
14009
  list.push("is-outlined");
14000
14010
  let size = "s";
14001
- if (props.size === "m" || props.size === "l")
14011
+ if (props.size === "xs" || props.size === "m" || props.size === "l")
14002
14012
  size = props.size;
14003
14013
  list.push(`ck-switch--size-${size}`);
14004
14014
  return list;
@@ -14061,7 +14071,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14061
14071
  };
14062
14072
  }
14063
14073
  });
14064
- var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b6a4dfaa"]]);
14074
+ var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-7e2f20c4"]]);
14065
14075
  var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
14066
14076
  const _hoisted_1$2 = { class: "ck-switch-options__container-exterior" };
14067
14077
  const _hoisted_2 = ["onClick"];