cleek 2.3.39 → 2.3.42

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.
@@ -0,0 +1,6 @@
1
+ .ck-inputs--container
2
+ display flex
3
+ align-items flex-end
4
+ flex-wrap wrap
5
+ .ck-inputs--item
6
+ margin-bottom .5rem
package/dist/cleek.es.js CHANGED
@@ -95,7 +95,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
95
95
  };
96
96
  }
97
97
  });
98
- var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-2120e680"]]);
98
+ var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-7e4fff5e"]]);
99
99
  var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
100
100
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
101
101
  props: {
@@ -18076,7 +18076,7 @@ const _hoisted_4$3 = {
18076
18076
  class: "ck-popup__title"
18077
18077
  };
18078
18078
  const _hoisted_5$1 = { class: "ck-popup__slot-body" };
18079
- const _hoisted_6$1 = {
18079
+ const _hoisted_6 = {
18080
18080
  key: 0,
18081
18081
  class: "ck-popup__slot-footer"
18082
18082
  };
@@ -18094,7 +18094,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18094
18094
  notClose: { type: Boolean, default: false },
18095
18095
  notCloseBtn: { type: Boolean, default: false },
18096
18096
  notCloseByBg: { type: Boolean, default: false },
18097
- preventCloseOnCancel: { type: Boolean, default: false }
18097
+ preventCloseOnCancel: { type: Boolean, default: false },
18098
+ maxWidth: { type: String, default: void 0 }
18098
18099
  },
18099
18100
  emits: ["update:modelValue", "cancel", "accept"],
18100
18101
  setup(__props, { emit: emits }) {
@@ -18107,6 +18108,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18107
18108
  emits("update:modelValue", val);
18108
18109
  }
18109
18110
  });
18111
+ const computedStyleContent = computed$2(() => {
18112
+ const list = [];
18113
+ if (props.maxWidth)
18114
+ list.push({ maxWidth: props.maxWidth });
18115
+ return list;
18116
+ });
18110
18117
  function onCancel() {
18111
18118
  emits("cancel");
18112
18119
  if (!props.preventCloseOnCancel)
@@ -18130,7 +18137,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18130
18137
  createElementVNode("div", {
18131
18138
  class: "ck-popup__content",
18132
18139
  onClick: _cache[3] || (_cache[3] = withModifiers(() => {
18133
- }, ["stop"]))
18140
+ }, ["stop"])),
18141
+ style: normalizeStyle(unref$1(computedStyleContent))
18134
18142
  }, [
18135
18143
  createElementVNode("div", _hoisted_3$3, [
18136
18144
  __props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$3, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
@@ -18145,7 +18153,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18145
18153
  createElementVNode("div", _hoisted_5$1, [
18146
18154
  renderSlot(_ctx.$slots, "default")
18147
18155
  ]),
18148
- _ctx.$slots.footer || __props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
18156
+ _ctx.$slots.footer || __props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_6, [
18149
18157
  renderSlot(_ctx.$slots, "footer"),
18150
18158
  __props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_7, [
18151
18159
  createVNode(ckButton, {
@@ -18169,7 +18177,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18169
18177
  })
18170
18178
  ])) : createCommentVNode("", true)
18171
18179
  ])) : createCommentVNode("", true)
18172
- ])
18180
+ ], 4)
18173
18181
  ])
18174
18182
  ])) : createCommentVNode("", true);
18175
18183
  };
@@ -18533,9 +18541,8 @@ const _hoisted_3$2 = {
18533
18541
  key: 0,
18534
18542
  class: "ck-table__header--slot"
18535
18543
  };
18536
- const _hoisted_4$2 = { class: "ck-table__table-container" };
18537
- const _hoisted_5 = { key: 0 };
18538
- const _hoisted_6 = { key: 1 };
18544
+ const _hoisted_4$2 = { key: 0 };
18545
+ const _hoisted_5 = { key: 1 };
18539
18546
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18540
18547
  props: {
18541
18548
  columns: { type: [Array, Object], required: true, default: () => [] },
@@ -18552,6 +18559,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18552
18559
  cellPadding: { type: String, default: void 0 },
18553
18560
  cellPaddingY: { type: String, default: void 0 },
18554
18561
  noResultsText: { type: String, default: "No se encontraron resultados" },
18562
+ notOverflow: { type: Boolean, default: false },
18555
18563
  mobileMaxWidth: { type: [Number, String], default: 800 }
18556
18564
  },
18557
18565
  emits: ["refreshList", "update:search", "update:currentPage"],
@@ -18653,11 +18661,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18653
18661
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
18654
18662
  ])) : createCommentVNode("", true)
18655
18663
  ])) : createCommentVNode("", true),
18656
- createElementVNode("div", _hoisted_4$2, [
18664
+ createElementVNode("div", {
18665
+ class: normalizeClass(["ck-table__table-container", { "not-overflow": __props.notOverflow }])
18666
+ }, [
18657
18667
  createElementVNode("table", {
18658
18668
  class: normalizeClass(["ck-table__table", unref$1(computedClassTable)])
18659
18669
  }, [
18660
- unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_5, [
18670
+ unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$2, [
18661
18671
  createVNode(ckTr, null, {
18662
18672
  default: withCtx(() => [
18663
18673
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
@@ -18690,11 +18700,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18690
18700
  _: 1
18691
18701
  })) : createCommentVNode("", true)
18692
18702
  ]),
18693
- _ctx.$slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_6, [
18703
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_5, [
18694
18704
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
18695
18705
  ])) : createCommentVNode("", true)
18696
18706
  ], 2)
18697
- ]),
18707
+ ], 2),
18698
18708
  createVNode(TablePagination, {
18699
18709
  class: "ck-table__pagination",
18700
18710
  currentPage: unref$1(currentPageLocal),
@@ -18709,7 +18719,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18709
18719
  };
18710
18720
  }
18711
18721
  });
18712
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6545e800"]]);
18722
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3d8c946e"]]);
18713
18723
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
18714
18724
  const _hoisted_1$7 = ["color"];
18715
18725
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
@@ -18753,6 +18763,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
18753
18763
  }
18754
18764
  });
18755
18765
  var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-1e92de86"]]);
18766
+ var ckDiv_vue_vue_type_style_index_0_lang = "";
18756
18767
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
18757
18768
  props: {
18758
18769
  widthBreaks: { type: Array, default: void 0 }
@@ -19247,7 +19258,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
19247
19258
  label: { type: String, default: "" },
19248
19259
  labelAlign: { type: String, default: "" },
19249
19260
  group: { type: String, default: "" },
19250
- lineBreak: { type: [String, Number], default: "" },
19251
19261
  widthBreaks: { type: Array, default: void 0 },
19252
19262
  groupVertical: { type: String, default: "" },
19253
19263
  sameWidthOptions: { type: Boolean, default: false }
@@ -19308,7 +19318,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
19308
19318
  };
19309
19319
  }
19310
19320
  });
19311
- var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f6a5151e"]]);
19321
+ var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f200edc8"]]);
19312
19322
  var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
19313
19323
  const _hoisted_1$1 = { class: "ck-textarea" };
19314
19324
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({