cleek 2.7.12 → 2.7.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
@@ -1,3 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj2, key, value) => key in obj2 ? __defProp(obj2, key, { enumerable: true, configurable: true, writable: true, value }) : obj2[key] = value;
3
+ var __publicField = (obj2, key, value) => {
4
+ __defNormalProp(obj2, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
1
7
  import { watch as watch$1, effectScope, reactive as reactive$2, computed as computed$3, pushScopeId as pushScopeId$2, popScopeId as popScopeId$2, defineComponent as defineComponent$2, nextTick as nextTick$4, openBlock as openBlock$2, createBlock as createBlock$2, createElementBlock as createElementBlock$2, normalizeClass as normalizeClass$2, renderSlot as renderSlot$2, normalizeProps as normalizeProps$1, guardReactiveProps as guardReactiveProps$2, withScopeId as withScopeId$2, resolveComponent as resolveComponent$2, normalizeStyle as normalizeStyle$2, withKeys as withKeys$2, createElementVNode, Fragment as Fragment$2, createCommentVNode as createCommentVNode$2, withCtx as withCtx$2, createVNode as createVNode$2, ref as ref$1, createApp, h as h$2, mergeProps as mergeProps$2, toDisplayString as toDisplayString$1, resolveDirective, createTextVNode as createTextVNode$2, withDirectives as withDirectives$1, unref as unref$3, onMounted as onMounted$1, getCurrentInstance as getCurrentInstance$1, onBeforeUnmount as onBeforeUnmount$1, vModelText, vModelDynamic, renderList as renderList$1, withModifiers as withModifiers$1, Teleport as Teleport$1, watchEffect, resolveDynamicComponent as resolveDynamicComponent$1, vShow as vShow$1, vModelRadio, vModelSelect, vModelCheckbox } from "vue";
2
8
  function getDevtoolsGlobalHook$2() {
3
9
  return getTarget$2().__VUE_DEVTOOLS_GLOBAL_HOOK__;
@@ -26121,21 +26127,21 @@ const computePosition$2 = (reference, floating, options) => computePosition$3(re
26121
26127
  platform: platform$1,
26122
26128
  ...options
26123
26129
  });
26124
- var __defProp = Object.defineProperty;
26130
+ var __defProp2 = Object.defineProperty;
26125
26131
  var __defProps = Object.defineProperties;
26126
26132
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
26127
26133
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
26128
26134
  var __hasOwnProp = Object.prototype.hasOwnProperty;
26129
26135
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
26130
- var __defNormalProp = (obj2, key, value) => key in obj2 ? __defProp(obj2, key, { enumerable: true, configurable: true, writable: true, value }) : obj2[key] = value;
26136
+ var __defNormalProp2 = (obj2, key, value) => key in obj2 ? __defProp2(obj2, key, { enumerable: true, configurable: true, writable: true, value }) : obj2[key] = value;
26131
26137
  var __spreadValues = (a32, b222) => {
26132
26138
  for (var prop in b222 || (b222 = {}))
26133
26139
  if (__hasOwnProp.call(b222, prop))
26134
- __defNormalProp(a32, prop, b222[prop]);
26140
+ __defNormalProp2(a32, prop, b222[prop]);
26135
26141
  if (__getOwnPropSymbols)
26136
26142
  for (var prop of __getOwnPropSymbols(b222)) {
26137
26143
  if (__propIsEnum.call(b222, prop))
26138
- __defNormalProp(a32, prop, b222[prop]);
26144
+ __defNormalProp2(a32, prop, b222[prop]);
26139
26145
  }
26140
26146
  return a32;
26141
26147
  };
@@ -46130,21 +46136,21 @@ const withKeys = (fn2, modifiers) => {
46130
46136
  }
46131
46137
  };
46132
46138
  };
46133
- var __defProp2 = Object.defineProperty;
46139
+ var __defProp22 = Object.defineProperty;
46134
46140
  var __defProps2 = Object.defineProperties;
46135
46141
  var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
46136
46142
  var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
46137
46143
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
46138
46144
  var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
46139
- var __defNormalProp2 = (obj2, key, value) => key in obj2 ? __defProp2(obj2, key, { enumerable: true, configurable: true, writable: true, value }) : obj2[key] = value;
46145
+ var __defNormalProp22 = (obj2, key, value) => key in obj2 ? __defProp22(obj2, key, { enumerable: true, configurable: true, writable: true, value }) : obj2[key] = value;
46140
46146
  var __spreadValues2 = (a32, b222) => {
46141
46147
  for (var prop in b222 || (b222 = {}))
46142
46148
  if (__hasOwnProp2.call(b222, prop))
46143
- __defNormalProp2(a32, prop, b222[prop]);
46149
+ __defNormalProp22(a32, prop, b222[prop]);
46144
46150
  if (__getOwnPropSymbols2)
46145
46151
  for (var prop of __getOwnPropSymbols2(b222)) {
46146
46152
  if (__propIsEnum2.call(b222, prop))
46147
- __defNormalProp2(a32, prop, b222[prop]);
46153
+ __defNormalProp22(a32, prop, b222[prop]);
46148
46154
  }
46149
46155
  return a32;
46150
46156
  };
@@ -48100,21 +48106,21 @@ const platform = {
48100
48106
  const computePosition = (reference, floating, options) => computePosition$1(reference, floating, __spreadValues2({
48101
48107
  platform
48102
48108
  }, options));
48103
- var __defProp22 = Object.defineProperty;
48109
+ var __defProp222 = Object.defineProperty;
48104
48110
  var __defProps22 = Object.defineProperties;
48105
48111
  var __getOwnPropDescs22 = Object.getOwnPropertyDescriptors;
48106
48112
  var __getOwnPropSymbols22 = Object.getOwnPropertySymbols;
48107
48113
  var __hasOwnProp22 = Object.prototype.hasOwnProperty;
48108
48114
  var __propIsEnum22 = Object.prototype.propertyIsEnumerable;
48109
- var __defNormalProp22 = (obj2, key, value) => key in obj2 ? __defProp22(obj2, key, { enumerable: true, configurable: true, writable: true, value }) : obj2[key] = value;
48115
+ var __defNormalProp222 = (obj2, key, value) => key in obj2 ? __defProp222(obj2, key, { enumerable: true, configurable: true, writable: true, value }) : obj2[key] = value;
48110
48116
  var __spreadValues22 = (a32, b222) => {
48111
48117
  for (var prop in b222 || (b222 = {}))
48112
48118
  if (__hasOwnProp22.call(b222, prop))
48113
- __defNormalProp22(a32, prop, b222[prop]);
48119
+ __defNormalProp222(a32, prop, b222[prop]);
48114
48120
  if (__getOwnPropSymbols22)
48115
48121
  for (var prop of __getOwnPropSymbols22(b222)) {
48116
48122
  if (__propIsEnum22.call(b222, prop))
48117
- __defNormalProp22(a32, prop, b222[prop]);
48123
+ __defNormalProp222(a32, prop, b222[prop]);
48118
48124
  }
48119
48125
  return a32;
48120
48126
  };
@@ -91274,8 +91280,20 @@ var ckNotify = {
91274
91280
  this.notify({ text: text2, title, color: "warning", duration });
91275
91281
  }
91276
91282
  };
91283
+ class TableData {
91284
+ constructor(itemsPerPage) {
91285
+ __publicField(this, "search", "");
91286
+ __publicField(this, "currentPage", 1);
91287
+ __publicField(this, "listLength", 0);
91288
+ __publicField(this, "itemsPerPage", 20);
91289
+ if (itemsPerPage) {
91290
+ this.itemsPerPage = itemsPerPage;
91291
+ }
91292
+ }
91293
+ }
91277
91294
  var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91278
91295
  __proto__: null,
91296
+ TableData,
91279
91297
  CkDatetimeShower: ckDatetimeShower,
91280
91298
  CkTimeShower: ckTimeShower,
91281
91299
  CkDropdown: ckDropdown,
@@ -91351,4 +91369,4 @@ const install3 = function installCleek(app, options) {
91351
91369
  app.component(componentName, component);
91352
91370
  });
91353
91371
  };
91354
- export { CkButton, ckCard as CkCard, CkCheckbox, ckChip as CkChip, ckCircle as CkCircle, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, ckInputDate as CkInputDate, _sfc_main$e as CkInputTime, CkLabel, ckNavbar as CkNavbar, _sfc_main$g as CkPagination, _sfc_main$j as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, ckTimeShower as CkTimeShower, CkTr, ckNotify, install3 as default, useWindowWidth };
91372
+ export { CkButton, ckCard as CkCard, CkCheckbox, ckChip as CkChip, ckCircle as CkCircle, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, ckInputDate as CkInputDate, _sfc_main$e as CkInputTime, CkLabel, ckNavbar as CkNavbar, _sfc_main$g as CkPagination, _sfc_main$j as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, ckTimeShower as CkTimeShower, CkTr, TableData, ckNotify, install3 as default, useWindowWidth };