cleek 2.6.87 → 2.6.88

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
@@ -83063,7 +83063,8 @@ const _sfc_main$l = defineComponent$2({
83063
83063
  hideHeaderActions: { type: Boolean },
83064
83064
  listLength: {},
83065
83065
  layout: {},
83066
- version: {}
83066
+ version: {},
83067
+ isLoading: {}
83067
83068
  },
83068
83069
  emits: ["update:search", "refreshList", "openColumnsManager"],
83069
83070
  setup(__props, { emit: __emit }) {
@@ -83126,6 +83127,7 @@ const _sfc_main$l = defineComponent$2({
83126
83127
  checkRefresh
83127
83128
  ]);
83128
83129
  return (_ctx, _cache) => {
83130
+ const _component_ck_icon = resolveComponent$2("ck-icon");
83129
83131
  return openBlock$2(), createElementBlock$2("div", {
83130
83132
  class: normalizeClass$2(["ck-table__header-items", computedClass.value])
83131
83133
  }, [
@@ -83141,7 +83143,15 @@ const _sfc_main$l = defineComponent$2({
83141
83143
  itemsPerPageIsVisible.value ? (openBlock$2(), createElementBlock$2("div", {
83142
83144
  key: 1,
83143
83145
  class: normalizeClass$2(["items-per-page", { "ck-component__group--left": isSearchVisible.value }])
83144
- }, toDisplayString$1(itemsPerPageStart.value) + " - " + toDisplayString$1(itemsPerPageEnd.value) + " de " + toDisplayString$1(_ctx.listLength), 3)) : createCommentVNode$2("", true),
83146
+ }, [
83147
+ _ctx.isLoading ? (openBlock$2(), createBlock$2(_component_ck_icon, {
83148
+ key: 0,
83149
+ icon: "spinner",
83150
+ spin: ""
83151
+ })) : (openBlock$2(), createElementBlock$2(Fragment$2, { key: 1 }, [
83152
+ createTextVNode$2(toDisplayString$1(itemsPerPageStart.value) + " - " + toDisplayString$1(itemsPerPageEnd.value) + " de " + toDisplayString$1(_ctx.listLength), 1)
83153
+ ], 64))
83154
+ ], 2)) : createCommentVNode$2("", true),
83145
83155
  isSearchVisible.value ? (openBlock$2(), createBlock$2(CkInput, {
83146
83156
  key: 2,
83147
83157
  class: "ck-table--search-input",
@@ -83168,7 +83178,7 @@ const _sfc_main$l = defineComponent$2({
83168
83178
  };
83169
83179
  }
83170
83180
  });
83171
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-771a8d56"]]);
83181
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-017714d8"]]);
83172
83182
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
83173
83183
  const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-02d0ab88"), n2 = n2(), popScopeId$2(), n2);
83174
83184
  const _hoisted_1$g = { class: "ck-table__pagination" };
@@ -84135,9 +84145,10 @@ const _sfc_main$g = defineComponent$2({
84135
84145
  key: 0,
84136
84146
  modelValue: isPopupActive.value.columnsManager,
84137
84147
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopupActive.value.columnsManager = $event),
84148
+ isLoading: _ctx.isLoading,
84138
84149
  columnsArray: columnsArray.value,
84139
84150
  columns: _ctx.columns || []
84140
- }, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode$2("", true),
84151
+ }, null, 8, ["modelValue", "isLoading", "columnsArray", "columns"])) : createCommentVNode$2("", true),
84141
84152
  createElementVNode("div", _hoisted_1$c, [
84142
84153
  _ctx.$slots.header || !_ctx.hideHeaderActions ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$8, [
84143
84154
  createVNode$2(TableHeaderItems, {
@@ -84242,7 +84253,7 @@ const _sfc_main$g = defineComponent$2({
84242
84253
  };
84243
84254
  }
84244
84255
  });
84245
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-fcc3bb76"]]);
84256
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-02ed510b"]]);
84246
84257
  var ckPagination_vue_vue_type_style_index_0_lang = "";
84247
84258
  const _sfc_main$f = defineComponent$2({
84248
84259
  __name: "ck-pagination",