cleek 2.6.87 → 2.6.89

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 }) {
@@ -83141,7 +83142,15 @@ const _sfc_main$l = defineComponent$2({
83141
83142
  itemsPerPageIsVisible.value ? (openBlock$2(), createElementBlock$2("div", {
83142
83143
  key: 1,
83143
83144
  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),
83145
+ }, [
83146
+ _ctx.isLoading !== false && _ctx.listLength === 0 ? (openBlock$2(), createBlock$2(CkIcon, {
83147
+ key: 0,
83148
+ icon: "spinner",
83149
+ spin: ""
83150
+ })) : (openBlock$2(), createElementBlock$2(Fragment$2, { key: 1 }, [
83151
+ createTextVNode$2(toDisplayString$1(itemsPerPageStart.value) + " - " + toDisplayString$1(itemsPerPageEnd.value) + " de " + toDisplayString$1(_ctx.listLength), 1)
83152
+ ], 64))
83153
+ ], 2)) : createCommentVNode$2("", true),
83145
83154
  isSearchVisible.value ? (openBlock$2(), createBlock$2(CkInput, {
83146
83155
  key: 2,
83147
83156
  class: "ck-table--search-input",
@@ -83168,7 +83177,7 @@ const _sfc_main$l = defineComponent$2({
83168
83177
  };
83169
83178
  }
83170
83179
  });
83171
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-771a8d56"]]);
83180
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-07e92652"]]);
83172
83181
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
83173
83182
  const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-02d0ab88"), n2 = n2(), popScopeId$2(), n2);
83174
83183
  const _hoisted_1$g = { class: "ck-table__pagination" };
@@ -84135,9 +84144,10 @@ const _sfc_main$g = defineComponent$2({
84135
84144
  key: 0,
84136
84145
  modelValue: isPopupActive.value.columnsManager,
84137
84146
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopupActive.value.columnsManager = $event),
84147
+ isLoading: _ctx.isLoading,
84138
84148
  columnsArray: columnsArray.value,
84139
84149
  columns: _ctx.columns || []
84140
- }, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode$2("", true),
84150
+ }, null, 8, ["modelValue", "isLoading", "columnsArray", "columns"])) : createCommentVNode$2("", true),
84141
84151
  createElementVNode("div", _hoisted_1$c, [
84142
84152
  _ctx.$slots.header || !_ctx.hideHeaderActions ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$8, [
84143
84153
  createVNode$2(TableHeaderItems, {
@@ -84242,7 +84252,7 @@ const _sfc_main$g = defineComponent$2({
84242
84252
  };
84243
84253
  }
84244
84254
  });
84245
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-fcc3bb76"]]);
84255
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-22e37ce9"]]);
84246
84256
  var ckPagination_vue_vue_type_style_index_0_lang = "";
84247
84257
  const _sfc_main$f = defineComponent$2({
84248
84258
  __name: "ck-pagination",