cleek 2.3.12 → 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: {