cleek 2.6.88 → 2.6.90

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
@@ -83127,7 +83127,6 @@ const _sfc_main$l = defineComponent$2({
83127
83127
  checkRefresh
83128
83128
  ]);
83129
83129
  return (_ctx, _cache) => {
83130
- const _component_ck_icon = resolveComponent$2("ck-icon");
83131
83130
  return openBlock$2(), createElementBlock$2("div", {
83132
83131
  class: normalizeClass$2(["ck-table__header-items", computedClass.value])
83133
83132
  }, [
@@ -83140,20 +83139,19 @@ const _sfc_main$l = defineComponent$2({
83140
83139
  layout: _ctx.layout,
83141
83140
  onClick: _cache[0] || (_cache[0] = ($event) => emits("refreshList", true))
83142
83141
  }, null, 8, ["layout"])) : createCommentVNode$2("", true),
83143
- itemsPerPageIsVisible.value ? (openBlock$2(), createElementBlock$2("div", {
83144
- key: 1,
83142
+ createElementVNode("div", {
83145
83143
  class: normalizeClass$2(["items-per-page", { "ck-component__group--left": isSearchVisible.value }])
83146
83144
  }, [
83147
- _ctx.isLoading ? (openBlock$2(), createBlock$2(_component_ck_icon, {
83145
+ _ctx.isLoading !== false && _ctx.listLength === 0 ? (openBlock$2(), createBlock$2(CkIcon, {
83148
83146
  key: 0,
83149
83147
  icon: "spinner",
83150
83148
  spin: ""
83151
83149
  })) : (openBlock$2(), createElementBlock$2(Fragment$2, { key: 1 }, [
83152
83150
  createTextVNode$2(toDisplayString$1(itemsPerPageStart.value) + " - " + toDisplayString$1(itemsPerPageEnd.value) + " de " + toDisplayString$1(_ctx.listLength), 1)
83153
83151
  ], 64))
83154
- ], 2)) : createCommentVNode$2("", true),
83152
+ ], 2),
83155
83153
  isSearchVisible.value ? (openBlock$2(), createBlock$2(CkInput, {
83156
- key: 2,
83154
+ key: 1,
83157
83155
  class: "ck-table--search-input",
83158
83156
  modelValue: searchLocal.value,
83159
83157
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchLocal.value = $event),
@@ -83165,7 +83163,7 @@ const _sfc_main$l = defineComponent$2({
83165
83163
  onInput: _cache[2] || (_cache[2] = ($event) => checkRefresh())
83166
83164
  }, null, 8, ["modelValue", "group", "layout", "borderColor"])) : createCommentVNode$2("", true),
83167
83165
  _ctx.hasColumnsManager ? (openBlock$2(), createBlock$2(CkButton, {
83168
- key: 3,
83166
+ key: 2,
83169
83167
  icon: "columns",
83170
83168
  type: "filled",
83171
83169
  title: "Administrador de columnas",
@@ -83178,7 +83176,7 @@ const _sfc_main$l = defineComponent$2({
83178
83176
  };
83179
83177
  }
83180
83178
  });
83181
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-017714d8"]]);
83179
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-673f54c4"]]);
83182
83180
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
83183
83181
  const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-02d0ab88"), n2 = n2(), popScopeId$2(), n2);
83184
83182
  const _hoisted_1$g = { class: "ck-table__pagination" };
@@ -84253,7 +84251,7 @@ const _sfc_main$g = defineComponent$2({
84253
84251
  };
84254
84252
  }
84255
84253
  });
84256
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-02ed510b"]]);
84254
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-22e37ce9"]]);
84257
84255
  var ckPagination_vue_vue_type_style_index_0_lang = "";
84258
84256
  const _sfc_main$f = defineComponent$2({
84259
84257
  __name: "ck-pagination",