cleek 1.8.2 → 1.8.6

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
@@ -4,7 +4,7 @@ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
4
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
6
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
- var __defNormalProp = (obj, key, value2) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
8
  var __spreadValues = (a, b) => {
9
9
  for (var prop in b || (b = {}))
10
10
  if (__hasOwnProp.call(b, prop))
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, computed, watch, h, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, createCommentVNode, renderSlot, mergeProps, withKeys, withModifiers, createElementVNode, pushScopeId, popScopeId, normalizeStyle, withCtx, createTextVNode, toDisplayString, withDirectives, isRef, vModelText, createVNode, Fragment, renderList, vModelRadio, vModelCheckbox } from "vue";
20
+ import { defineComponent, computed, watch, h, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, createCommentVNode, renderSlot, mergeProps, withKeys, withModifiers, createElementVNode, pushScopeId, popScopeId, normalizeStyle, withCtx, createTextVNode, toDisplayString, withDirectives, isRef, unref, vModelDynamic, createVNode, Fragment, renderList, vModelRadio, ref, vModelSelect, vModelCheckbox, vModelText } from "vue";
21
21
  var validators = {
22
22
  size: (type) => {
23
23
  return ["", "xs", "s", "m", "l", "xl"].includes(type);
@@ -34,6 +34,9 @@ var validators = {
34
34
  buttonType: (type) => {
35
35
  return ["filled", "outlined", "flat"].includes(type);
36
36
  },
37
+ inputType: (type) => {
38
+ return ["text", "number", "date", "time", "password"].includes(type);
39
+ },
37
40
  radioOptions: (options) => {
38
41
  let isValid = true;
39
42
  options.forEach((option) => {
@@ -106,16 +109,16 @@ function _createClass(Constructor, protoProps, staticProps) {
106
109
  _defineProperties(Constructor, staticProps);
107
110
  return Constructor;
108
111
  }
109
- function _defineProperty(obj, key, value2) {
112
+ function _defineProperty(obj, key, value) {
110
113
  if (key in obj) {
111
114
  Object.defineProperty(obj, key, {
112
- value: value2,
115
+ value,
113
116
  enumerable: true,
114
117
  configurable: true,
115
118
  writable: true
116
119
  });
117
120
  } else {
118
- obj[key] = value2;
121
+ obj[key] = value;
119
122
  }
120
123
  return obj;
121
124
  }
@@ -10877,16 +10880,16 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
10877
10880
  } : function(obj) {
10878
10881
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
10879
10882
  };
10880
- var defineProperty = function(obj, key, value2) {
10883
+ var defineProperty = function(obj, key, value) {
10881
10884
  if (key in obj) {
10882
10885
  Object.defineProperty(obj, key, {
10883
- value: value2,
10886
+ value,
10884
10887
  enumerable: true,
10885
10888
  configurable: true,
10886
10889
  writable: true
10887
10890
  });
10888
10891
  } else {
10889
- obj[key] = value2;
10892
+ obj[key] = value;
10890
10893
  }
10891
10894
  return obj;
10892
10895
  };
@@ -10929,8 +10932,8 @@ function styleToObject(style) {
10929
10932
  }).reduce(function(output, pair) {
10930
10933
  var idx = pair.indexOf(":");
10931
10934
  var prop = humps.camelize(pair.slice(0, idx));
10932
- var value2 = pair.slice(idx + 1).trim();
10933
- output[prop] = value2;
10935
+ var value = pair.slice(idx + 1).trim();
10936
+ output[prop] = value;
10934
10937
  return output;
10935
10938
  }, {});
10936
10939
  }
@@ -10950,16 +10953,16 @@ function convert(abstractElement) {
10950
10953
  return convert(child);
10951
10954
  });
10952
10955
  var mixins = Object.keys(abstractElement.attributes || {}).reduce(function(mixins2, key) {
10953
- var value2 = abstractElement.attributes[key];
10956
+ var value = abstractElement.attributes[key];
10954
10957
  switch (key) {
10955
10958
  case "class":
10956
- mixins2.class = classToObject(value2);
10959
+ mixins2.class = classToObject(value);
10957
10960
  break;
10958
10961
  case "style":
10959
- mixins2.style = styleToObject(value2);
10962
+ mixins2.style = styleToObject(value);
10960
10963
  break;
10961
10964
  default:
10962
- mixins2.attrs[key] = value2;
10965
+ mixins2.attrs[key] = value;
10963
10966
  }
10964
10967
  return mixins2;
10965
10968
  }, {
@@ -10985,8 +10988,8 @@ function log() {
10985
10988
  (_console = console).error.apply(_console, arguments);
10986
10989
  }
10987
10990
  }
10988
- function objectWithKey(key, value2) {
10989
- return Array.isArray(value2) && value2.length > 0 || !Array.isArray(value2) && value2 ? defineProperty({}, key, value2) : {};
10991
+ function objectWithKey(key, value) {
10992
+ return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? defineProperty({}, key, value) : {};
10990
10993
  }
10991
10994
  function classList(props) {
10992
10995
  var _classes;
@@ -11034,8 +11037,8 @@ var FontAwesomeIcon = defineComponent({
11034
11037
  flip: {
11035
11038
  type: String,
11036
11039
  default: null,
11037
- validator: function validator(value2) {
11038
- return ["horizontal", "vertical", "both"].indexOf(value2) > -1;
11040
+ validator: function validator(value) {
11041
+ return ["horizontal", "vertical", "both"].indexOf(value) > -1;
11039
11042
  }
11040
11043
  },
11041
11044
  icon: {
@@ -11053,8 +11056,8 @@ var FontAwesomeIcon = defineComponent({
11053
11056
  pull: {
11054
11057
  type: String,
11055
11058
  default: null,
11056
- validator: function validator2(value2) {
11057
- return ["right", "left"].indexOf(value2) > -1;
11059
+ validator: function validator2(value) {
11060
+ return ["right", "left"].indexOf(value) > -1;
11058
11061
  }
11059
11062
  },
11060
11063
  pulse: {
@@ -11064,8 +11067,8 @@ var FontAwesomeIcon = defineComponent({
11064
11067
  rotation: {
11065
11068
  type: [String, Number],
11066
11069
  default: null,
11067
- validator: function validator3(value2) {
11068
- return [90, 180, 270].indexOf(Number.parseInt(value2, 10)) > -1;
11070
+ validator: function validator3(value) {
11071
+ return [90, 180, 270].indexOf(Number.parseInt(value, 10)) > -1;
11069
11072
  }
11070
11073
  },
11071
11074
  swapOpacity: {
@@ -11075,8 +11078,8 @@ var FontAwesomeIcon = defineComponent({
11075
11078
  size: {
11076
11079
  type: String,
11077
11080
  default: null,
11078
- validator: function validator4(value2) {
11079
- return ["lg", "xs", "sm", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"].indexOf(value2) > -1;
11081
+ validator: function validator4(value) {
11082
+ return ["lg", "xs", "sm", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"].indexOf(value) > -1;
11080
11083
  }
11081
11084
  },
11082
11085
  spin: {
@@ -11120,8 +11123,8 @@ var FontAwesomeIcon = defineComponent({
11120
11123
  title: props.title
11121
11124
  }));
11122
11125
  });
11123
- watch(renderedIcon, function(value2) {
11124
- if (!value2) {
11126
+ watch(renderedIcon, function(value) {
11127
+ if (!value) {
11125
11128
  return log("Could not find one or more icon(s)", icon$$1.value, mask.value);
11126
11129
  }
11127
11130
  }, { immediate: true });
@@ -11170,8 +11173,8 @@ defineComponent({
11170
11173
  position: {
11171
11174
  type: String,
11172
11175
  default: null,
11173
- validator: function validator5(value2) {
11174
- return ["bottom-left", "bottom-right", "top-left", "top-right"].indexOf(value2) > -1;
11176
+ validator: function validator5(value) {
11177
+ return ["bottom-left", "bottom-right", "top-left", "top-right"].indexOf(value) > -1;
11175
11178
  }
11176
11179
  }
11177
11180
  },
@@ -11199,7 +11202,7 @@ defineComponent({
11199
11202
  };
11200
11203
  }
11201
11204
  });
11202
- function render$f(_ctx, _cache, $props, $setup, $data, $options) {
11205
+ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
11203
11206
  const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
11204
11207
  return openBlock(), createElementBlock("div", {
11205
11208
  class: normalizeClass(["ck-icon", $options.computedClass]),
@@ -11275,9 +11278,9 @@ const _sfc_main$j = {
11275
11278
  }
11276
11279
  }
11277
11280
  };
11278
- var ckIcon = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", render$f], ["__scopeId", "data-v-77d9963a"]]);
11281
+ var ckIcon = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", render$e], ["__scopeId", "data-v-77d9963a"]]);
11279
11282
  const _hoisted_1$g = ["title", "aria-label", "disabled"];
11280
- function render$e(_ctx, _cache, $props, $setup, $data, $options) {
11283
+ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
11281
11284
  const _component_ck_icon = resolveComponent("ck-icon");
11282
11285
  return openBlock(), createElementBlock("button", {
11283
11286
  type: "button",
@@ -11354,15 +11357,15 @@ const _sfc_main$i = {
11354
11357
  }
11355
11358
  }
11356
11359
  };
11357
- var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", render$e], ["__scopeId", "data-v-dfa2f586"]]);
11360
+ var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", render$d], ["__scopeId", "data-v-dfa2f586"]]);
11358
11361
  const _withScopeId$2 = (n) => (pushScopeId("data-v-64a6608c"), n = n(), popScopeId(), n);
11359
11362
  const _hoisted_1$f = ["disabled", "checked"];
11360
- const _hoisted_2$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
11361
- const _hoisted_3$6 = {
11363
+ const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
11364
+ const _hoisted_3$5 = {
11362
11365
  key: 0,
11363
11366
  class: "c-Checkbox__label"
11364
11367
  };
11365
- function render$d(_ctx, _cache, $props, $setup, $data, $options) {
11368
+ function render$c(_ctx, _cache, $props, $setup, $data, $options) {
11366
11369
  return openBlock(), createElementBlock("label", mergeProps({ class: "ck-checkbox" }, $options.checkboxAttributes, {
11367
11370
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(() => {
11368
11371
  }, ["prevent"]), ["space"])),
@@ -11382,8 +11385,8 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
11382
11385
  $options.onChange($event);
11383
11386
  })
11384
11387
  }, null, 40, _hoisted_1$f),
11385
- _hoisted_2$8,
11386
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$6, [
11388
+ _hoisted_2$7,
11389
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$5, [
11387
11390
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
11388
11391
  ])) : createCommentVNode("", true)
11389
11392
  ], 16);
@@ -11422,9 +11425,9 @@ const _sfc_main$h = {
11422
11425
  }
11423
11426
  }
11424
11427
  };
11425
- var ckCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", render$d], ["__scopeId", "data-v-64a6608c"]]);
11428
+ var ckCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", render$c], ["__scopeId", "data-v-64a6608c"]]);
11426
11429
  const _hoisted_1$e = ["src"];
11427
- function render$c(_ctx, _cache, $props, $setup, $data, $options) {
11430
+ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
11428
11431
  return openBlock(), createElementBlock("div", {
11429
11432
  class: normalizeClass(["ck-img", $options.computedClass]),
11430
11433
  style: normalizeStyle($options.computedStyle),
@@ -11523,9 +11526,9 @@ const _sfc_main$g = {
11523
11526
  }
11524
11527
  }
11525
11528
  };
11526
- var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", render$c], ["__scopeId", "data-v-38b603bf"]]);
11529
+ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", render$b], ["__scopeId", "data-v-38b603bf"]]);
11527
11530
  const _hoisted_1$d = ["for"];
11528
- function render$b(_ctx, _cache, $props, $setup, $data, $options) {
11531
+ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
11529
11532
  return openBlock(), createElementBlock("label", {
11530
11533
  class: normalizeClass(["ck-label", $options.computedClass]),
11531
11534
  for: $props.for
@@ -11551,76 +11554,73 @@ const _sfc_main$f = {
11551
11554
  }
11552
11555
  }
11553
11556
  };
11554
- var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", render$b], ["__scopeId", "data-v-4b8b9ab4"]]);
11555
- var ckInputText_vue_vue_type_style_index_0_scoped_true_lang = "";
11556
- const _hoisted_1$c = { class: "ck-input-text" };
11557
- const _hoisted_2$7 = ["placeholder", "id"];
11558
- const __default__$4 = {
11557
+ var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", render$a], ["__scopeId", "data-v-4b8b9ab4"]]);
11558
+ var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
11559
+ const _hoisted_1$c = { class: "ck-input" };
11560
+ const _hoisted_2$6 = ["type", "placeholder", "id", "disabled"];
11561
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
11559
11562
  props: {
11560
- modelValue: { type: [String, Number], default: "" },
11561
- placeholder: { type: String, default: "" },
11562
- label: { type: String, default: "" },
11563
+ modelValue: {},
11564
+ type: { type: String, validator: validators.inputType, default: "text" },
11565
+ disabled: { type: Boolean, default: false },
11566
+ placeholder: { type: String, default: void 0 },
11567
+ label: { type: String, default: void 0 },
11563
11568
  labelAlign: { type: String, validator: validators.align, default: void 0 },
11564
11569
  icon: { type: [String, Array], default: void 0 },
11565
11570
  iconPack: { type: String, default: void 0 },
11566
11571
  iconRight: { type: String, default: void 0 },
11567
- group: { type: String, default: "" },
11572
+ group: { type: String, default: void 0 },
11568
11573
  groupBreak: { type: String, default: "s" },
11569
- groupVertical: { type: String, default: "" },
11574
+ groupVertical: { type: String, default: void 0 },
11570
11575
  hideBorder: { type: Boolean, default: false },
11571
11576
  width: { type: String, default: void 0 },
11572
11577
  align: { type: String, validator: validators.align, default: void 0 },
11573
11578
  autoSelect: { type: Boolean, default: false }
11574
11579
  },
11575
- emits: ["update:modelValue", "change", "click"],
11576
- computed: {
11577
- value: {
11580
+ emits: ["update:modelValue", "click", "input", "change"],
11581
+ setup(__props, { emit: emits }) {
11582
+ const props = __props;
11583
+ const value = computed({
11578
11584
  get() {
11579
- return this.modelValue;
11585
+ return props.modelValue;
11580
11586
  },
11581
11587
  set(val) {
11582
- this.$emit("update:modelValue", val);
11588
+ emits("update:modelValue", val);
11583
11589
  }
11584
- },
11585
- computedStyleInput() {
11590
+ });
11591
+ const onClick = (event) => {
11592
+ if (props.autoSelect)
11593
+ event.target.select();
11594
+ emits("click", event);
11595
+ };
11596
+ const onChange = (event) => {
11597
+ emits("change", event);
11598
+ };
11599
+ const computedStyleInput = computed(() => {
11586
11600
  const list = [];
11587
- if (this.width)
11588
- list.push({ width: this.width });
11601
+ if (props.width)
11602
+ list.push({ width: props.width });
11589
11603
  return list;
11590
- },
11591
- computedClassInput() {
11604
+ });
11605
+ const computedClassInput = computed(() => {
11592
11606
  const list = [];
11593
- list.push(functions$1.getGroupClass(this));
11594
- if (this.icon)
11607
+ list.push(functions$1.getGroupClass(props));
11608
+ if (props.icon)
11595
11609
  list.push("has-icon-left");
11596
- if (this.iconRight)
11610
+ if (props.iconRight)
11597
11611
  list.push("has-icon-right");
11598
- if (this.align)
11599
- list.push(`align--${this.align}`);
11600
- if (this.hideBorder)
11612
+ if (props.align)
11613
+ list.push(`align--${props.align}`);
11614
+ if (props.hideBorder)
11601
11615
  list.push("no-border");
11602
11616
  return list;
11603
- }
11604
- },
11605
- methods: {
11606
- onChange(event) {
11607
- this.$emit("change", event);
11608
- },
11609
- onClick(event) {
11610
- if (this.autoSelect)
11611
- event.target.select();
11612
- this.$emit("click", event);
11613
- }
11614
- }
11615
- };
11616
- const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
11617
- setup(__props) {
11617
+ });
11618
11618
  return (_ctx, _cache) => {
11619
11619
  return openBlock(), createElementBlock("div", _hoisted_1$c, [
11620
11620
  __props.label ? (openBlock(), createBlock(ckLabel, {
11621
11621
  key: 0,
11622
11622
  align: __props.labelAlign,
11623
- for: "ck-input-text"
11623
+ for: "ck-input"
11624
11624
  }, {
11625
11625
  default: withCtx(() => [
11626
11626
  createTextVNode(toDisplayString(__props.label), 1)
@@ -11636,15 +11636,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
11636
11636
  }, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true),
11637
11637
  withDirectives(createElementVNode("input", {
11638
11638
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(value) ? value.value = $event : null),
11639
- type: "text",
11639
+ type: __props.type,
11640
11640
  placeholder: __props.placeholder,
11641
- class: normalizeClass(_ctx.computedClassInput),
11642
- style: normalizeStyle(_ctx.computedStyleInput),
11643
- id: __props.label ? "ck-input-text" : "",
11644
- onChange: _cache[1] || (_cache[1] = ($event) => _ctx.onChange($event)),
11645
- onClick: _cache[2] || (_cache[2] = ($event) => _ctx.onClick($event))
11646
- }, null, 46, _hoisted_2$7), [
11647
- [vModelText, _ctx.value]
11641
+ class: normalizeClass(unref(computedClassInput)),
11642
+ style: normalizeStyle(unref(computedStyleInput)),
11643
+ id: __props.label ? "ck-input" : "",
11644
+ disabled: __props.disabled,
11645
+ onChange: _cache[1] || (_cache[1] = ($event) => onChange($event)),
11646
+ onClick: _cache[2] || (_cache[2] = ($event) => onClick($event))
11647
+ }, null, 46, _hoisted_2$6), [
11648
+ [vModelDynamic, unref(value)]
11648
11649
  ]),
11649
11650
  __props.iconRight ? (openBlock(), createBlock(ckIcon, {
11650
11651
  key: 2,
@@ -11656,16 +11657,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
11656
11657
  ]);
11657
11658
  };
11658
11659
  }
11659
- }));
11660
- var ckInputText = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-aee99f3c"]]);
11660
+ });
11661
+ var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-36850b72"]]);
11661
11662
  var ckPopup_vue_vue_type_style_index_0_lang = "";
11662
11663
  const _hoisted_1$b = {
11663
11664
  key: 0,
11664
11665
  class: "ck-popup"
11665
11666
  };
11666
- const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
11667
- const _hoisted_3$5 = { class: "ck-popup__slot-header" };
11668
- const _hoisted_4$3 = {
11667
+ const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
11668
+ const _hoisted_3$4 = { class: "ck-popup__slot-header" };
11669
+ const _hoisted_4$2 = {
11669
11670
  key: 0,
11670
11671
  class: "ck-popup__title"
11671
11672
  };
@@ -11720,7 +11721,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
11720
11721
  setup(__props) {
11721
11722
  return (_ctx, _cache) => {
11722
11723
  return _ctx.value ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
11723
- _hoisted_2$6,
11724
+ _hoisted_2$5,
11724
11725
  createElementVNode("div", {
11725
11726
  class: "popup-container",
11726
11727
  onClick: _cache[4] || (_cache[4] = ($event) => _ctx.onBgClick())
@@ -11730,8 +11731,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
11730
11731
  onClick: _cache[3] || (_cache[3] = withModifiers(() => {
11731
11732
  }, ["stop"]))
11732
11733
  }, [
11733
- createElementVNode("div", _hoisted_3$5, [
11734
- __props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$3, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
11734
+ createElementVNode("div", _hoisted_3$4, [
11735
+ __props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$2, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
11735
11736
  renderSlot(_ctx.$slots, "header", { class: "ml-3" }),
11736
11737
  !__props.notCloseBtn ? (openBlock(), createBlock(ckIcon, {
11737
11738
  key: 1,
@@ -11774,13 +11775,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
11774
11775
  }));
11775
11776
  const _withScopeId$1 = (n) => (pushScopeId("data-v-73a891e8"), n = n(), popScopeId(), n);
11776
11777
  const _hoisted_1$a = ["onKeyup"];
11777
- const _hoisted_2$5 = ["name", "value", "disabled"];
11778
- const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
11779
- const _hoisted_4$2 = {
11778
+ const _hoisted_2$4 = ["name", "value", "disabled"];
11779
+ const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
11780
+ const _hoisted_4$1 = {
11780
11781
  key: 0,
11781
11782
  class: "c-Radio__label"
11782
11783
  };
11783
- function render$a(_ctx, _cache, $props, $setup, $data, $options) {
11784
+ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
11784
11785
  return openBlock(true), createElementBlock(Fragment, null, renderList($props.options, (item, index) => {
11785
11786
  return openBlock(), createElementBlock("label", mergeProps({
11786
11787
  key: `radio-${index}`,
@@ -11801,11 +11802,11 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
11801
11802
  name: $props.name,
11802
11803
  value: item.value,
11803
11804
  disabled: $props.disabled
11804
- }, null, 8, _hoisted_2$5), [
11805
+ }, null, 8, _hoisted_2$4), [
11805
11806
  [vModelRadio, $options.value]
11806
11807
  ]),
11807
- _hoisted_3$4,
11808
- item.label ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(item.label), 1)) : createCommentVNode("", true)
11808
+ _hoisted_3$3,
11809
+ item.label ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(item.label), 1)) : createCommentVNode("", true)
11809
11810
  ], 16, _hoisted_1$a);
11810
11811
  }), 128);
11811
11812
  }
@@ -11836,13 +11837,13 @@ const _sfc_main$c = {
11836
11837
  }
11837
11838
  },
11838
11839
  methods: {
11839
- handleChange(value2) {
11840
- this.value = value2;
11841
- this.$emit("change", value2);
11840
+ handleChange(value) {
11841
+ this.value = value;
11842
+ this.$emit("change", value);
11842
11843
  }
11843
11844
  }
11844
11845
  };
11845
- var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", render$a], ["__scopeId", "data-v-73a891e8"]]);
11846
+ var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", render$9], ["__scopeId", "data-v-73a891e8"]]);
11846
11847
  const qmStr = {
11847
11848
  capitalize(str) {
11848
11849
  return str.charAt(0).toUpperCase() + str.slice(1);
@@ -11879,51 +11880,9 @@ const qmStr = {
11879
11880
  return joinArray;
11880
11881
  }
11881
11882
  };
11882
- const _hoisted_1$9 = {
11883
- class: "ck-select",
11884
- action: "/action_page.php",
11885
- method: "get"
11886
- };
11887
- const _hoisted_2$4 = ["placeholder"];
11888
- const _hoisted_3$3 = { id: "ck-select__list" };
11889
- const _hoisted_4$1 = ["value"];
11890
- function render$9(_ctx, _cache, $props, $setup, $data, $options) {
11891
- const _component_ck_label = resolveComponent("ck-label");
11892
- return openBlock(), createElementBlock("form", _hoisted_1$9, [
11893
- $props.label ? (openBlock(), createBlock(_component_ck_label, {
11894
- key: 0,
11895
- align: $props.labelAlign,
11896
- for: "ck-select"
11897
- }, {
11898
- default: withCtx(() => [
11899
- createTextVNode(toDisplayString($props.label), 1)
11900
- ]),
11901
- _: 1
11902
- }, 8, ["align"])) : createCommentVNode("", true),
11903
- createElementVNode("input", {
11904
- list: "ck-select__list",
11905
- name: "ck-select",
11906
- id: "ck-select",
11907
- placeholder: $data.lastSelectedValue,
11908
- class: normalizeClass($options.computedClass),
11909
- onFocus: _cache[0] || (_cache[0] = ($event) => $options.onFocus($event)),
11910
- onBlur: _cache[1] || (_cache[1] = ($event) => $options.onBlur($event))
11911
- }, null, 42, _hoisted_2$4),
11912
- createElementVNode("datalist", _hoisted_3$3, [
11913
- (openBlock(true), createElementBlock(Fragment, null, renderList($props.options, (option) => {
11914
- return openBlock(), createElementBlock("option", {
11915
- value: option.name
11916
- }, null, 8, _hoisted_4$1);
11917
- }), 256))
11918
- ])
11919
- ]);
11920
- }
11921
11883
  var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
11922
- const _sfc_main$b = {
11923
- name: "CkSelect",
11924
- components: {
11925
- ckLabel
11926
- },
11884
+ const _hoisted_1$9 = ["value"];
11885
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
11927
11886
  props: {
11928
11887
  modelValue: { default: null, type: [Boolean, Number, Object, Array] },
11929
11888
  prop: { type: String, default: "name" },
@@ -11945,115 +11904,114 @@ const _sfc_main$b = {
11945
11904
  label: { type: String, default: "" },
11946
11905
  labelAlign: { type: String, default: "" }
11947
11906
  },
11948
- emits: ["update:modelValue"],
11949
- data() {
11950
- return {
11951
- search: "",
11952
- lastSelectedValue: null
11953
- };
11954
- },
11955
- computed: {
11956
- value: {
11907
+ emits: ["update:modelValue", "click", "change"],
11908
+ setup(__props, { emit: emits }) {
11909
+ const props = __props;
11910
+ const search = ref("");
11911
+ ref(null);
11912
+ const value = computed({
11957
11913
  get() {
11958
- return this.modelValue;
11914
+ return props.modelValue;
11959
11915
  },
11960
11916
  set(val) {
11961
11917
  if (val === null)
11962
- val = this.realClearValue;
11963
- this.$emit("update:modelValue", val);
11918
+ val = realClearValue;
11919
+ emits("update:modelValue", val);
11964
11920
  }
11965
- },
11966
- filteredOptions() {
11967
- return this.options.filter((option) => {
11968
- const name = this.getOptionName(option);
11969
- return qmStr.checkContainsStr(name, this.search);
11921
+ });
11922
+ const filteredOptions = computed(() => {
11923
+ const list = props.options.filter((option) => {
11924
+ const name = getOptionName(option);
11925
+ return qmStr.checkContainsStr(name, search.value);
11970
11926
  });
11971
- },
11972
- computedClass() {
11927
+ return list;
11928
+ });
11929
+ const computedClass = computed(() => {
11973
11930
  const classList2 = [];
11974
- classList2.push(functions$1.getGroupClass(this));
11931
+ classList2.push(functions$1.getGroupClass(props));
11975
11932
  return classList2;
11976
- },
11977
- computedStyle() {
11933
+ });
11934
+ const computedStyle = computed(() => {
11978
11935
  const list = [];
11979
- if (this.minWidth)
11980
- list.push({ "min-width": this.minWidth });
11936
+ if (props.minWidth)
11937
+ list.push({ "min-width": props.minWidth });
11981
11938
  return list;
11982
- },
11983
- realSearchable() {
11984
- if (this.searchable === "auto") {
11985
- if (this.options.length < 5)
11939
+ });
11940
+ computed(() => {
11941
+ if (props.searchable === "auto") {
11942
+ if (props.options.length < 5)
11986
11943
  return false;
11987
11944
  return true;
11988
11945
  }
11989
- return this.searchable;
11990
- },
11991
- realClearValue() {
11992
- switch (typeof this.modelValue) {
11946
+ return props.searchable;
11947
+ });
11948
+ const realClearValue = computed(() => {
11949
+ switch (typeof props.modelValue) {
11993
11950
  case "number":
11994
11951
  return 0;
11995
11952
  case "string":
11996
11953
  return "";
11997
11954
  case "object":
11998
- if (this.modelValue.constructor === Array)
11955
+ if (props.modelValue.constructor === Array)
11999
11956
  return [];
12000
11957
  return {};
12001
11958
  default:
12002
11959
  return null;
12003
11960
  }
12004
- },
12005
- valueIsDefault() {
12006
- switch (typeof this.modelValue) {
11961
+ });
11962
+ computed(() => {
11963
+ switch (typeof props.modelValue) {
12007
11964
  case "number":
12008
- return this.modelValue === 0;
11965
+ return props.modelValue === 0;
12009
11966
  case "string":
12010
- return this.modelValue === "";
11967
+ return props.modelValue === "";
12011
11968
  case "object":
12012
- if (!this.modelValue)
11969
+ if (!props.modelValue)
12013
11970
  return null;
12014
- if (this.modelValue.constructor === Array) {
12015
- return this.modelValue.length() === 0;
11971
+ if (props.modelValue.constructor === Array) {
11972
+ return props.modelValue.length() === 0;
12016
11973
  }
12017
- return Object.keys(this.modelValue).length === 0;
11974
+ return Object.keys(props.modelValue).length === 0;
12018
11975
  default:
12019
- return this.modelValue === null;
11976
+ return props.modelValue === null;
12020
11977
  }
12021
- }
12022
- },
12023
- methods: {
12024
- onBlur(event) {
12025
- const isValid = this.checkOptionsIsValid(event.target.value);
12026
- if (!isValid)
12027
- event.target.value = this.lastSelectedValue;
12028
- this.lastSelectedValue = null;
12029
- },
12030
- onFocus(event) {
12031
- this.lastSelectedValue = event.target.value;
12032
- event.target.value = "";
12033
- },
12034
- checkOptionsIsValid(optionName) {
12035
- if (!optionName)
12036
- return;
12037
- return this.options.some((i) => this.getOptionName(i) === optionName);
12038
- },
12039
- getOptionKey(option) {
12040
- return this.realReduceFunction(option);
12041
- },
12042
- getOptionName(option) {
12043
- if (!this.prop)
11978
+ });
11979
+ const getOptionKey = (option) => {
11980
+ return realReduceFunction(option);
11981
+ };
11982
+ const getOptionName = (option) => {
11983
+ if (!props.prop)
12044
11984
  return option;
12045
- return option[this.prop];
12046
- },
12047
- realReduceFunction(option) {
12048
- if (this.notReduce)
11985
+ return option[props.prop];
11986
+ };
11987
+ const realReduceFunction = (option) => {
11988
+ if (props.notReduce)
12049
11989
  return option;
12050
- return this.reduceFunction(option);
12051
- },
12052
- setFocus() {
12053
- }
11990
+ return props.reduceFunction(option);
11991
+ };
11992
+ return (_ctx, _cache) => {
11993
+ return openBlock(), createElementBlock("div", {
11994
+ class: "ck-select",
11995
+ style: normalizeStyle(unref(computedStyle))
11996
+ }, [
11997
+ withDirectives(createElementVNode("select", {
11998
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(value) ? value.value = $event : null),
11999
+ class: normalizeClass(unref(computedClass))
12000
+ }, [
12001
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(filteredOptions), (option) => {
12002
+ return openBlock(), createElementBlock("option", {
12003
+ value: getOptionKey(option),
12004
+ key: option
12005
+ }, toDisplayString(getOptionName(option)), 9, _hoisted_1$9);
12006
+ }), 128))
12007
+ ], 2), [
12008
+ [vModelSelect, unref(value)]
12009
+ ])
12010
+ ], 4);
12011
+ };
12054
12012
  }
12055
- };
12056
- var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", render$9], ["__scopeId", "data-v-76421759"]]);
12013
+ });
12014
+ var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-02ca0bce"]]);
12057
12015
  const _withScopeId = (n) => (pushScopeId("data-v-5251135b"), n = n(), popScopeId(), n);
12058
12016
  const _hoisted_1$8 = ["disabled"];
12059
12017
  const _hoisted_2$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
@@ -12307,10 +12265,10 @@ const __default__$2 = {
12307
12265
  itemsPerPageEnd() {
12308
12266
  console.log("this.currentPage", this.currentPage);
12309
12267
  console.log("this.itemsPerPage", this.itemsPerPage);
12310
- const value2 = this.currentPage * this.itemsPerPage;
12311
- if (value2 > this.listLength)
12268
+ const value = this.currentPage * this.itemsPerPage;
12269
+ if (value > this.listLength)
12312
12270
  return this.listLength;
12313
- return value2;
12271
+ return value;
12314
12272
  }
12315
12273
  }
12316
12274
  };
@@ -12328,7 +12286,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12328
12286
  key: 1,
12329
12287
  class: normalizeClass(["items-per-page", { "ck-component__group--left": !_ctx.hideSearch }])
12330
12288
  }, toDisplayString(_ctx.itemsPerPageStart) + " - " + toDisplayString(_ctx.itemsPerPageEnd) + " de " + toDisplayString(__props.listLength), 3)) : createCommentVNode("", true),
12331
- !_ctx.hideSearch ? (openBlock(), createBlock(ckInputText, {
12289
+ !_ctx.hideSearch ? (openBlock(), createBlock(ckInput, {
12332
12290
  key: 2,
12333
12291
  modelValue: _ctx.searchLocal,
12334
12292
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(searchLocal) ? searchLocal.value = $event : null),
@@ -12341,7 +12299,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12341
12299
  };
12342
12300
  }
12343
12301
  }));
12344
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-5bc62f88"]]);
12302
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4ce2fcee"]]);
12345
12303
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
12346
12304
  const _hoisted_1$3 = { class: "ck-table__pagination" };
12347
12305
  const _hoisted_2$1 = ["onClick"];
@@ -12441,9 +12399,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12441
12399
  onClick: ($event) => _ctx.updateCurrentPage(num)
12442
12400
  }, toDisplayString(num), 9, _hoisted_2$1);
12443
12401
  }), 256)),
12444
- createVNode(ckInputText, {
12402
+ createVNode(ckInput, {
12445
12403
  class: "ck-table__pagination-input",
12446
12404
  autoSelect: "",
12405
+ type: "number",
12447
12406
  width: "50px",
12448
12407
  align: "center",
12449
12408
  modelValue: _ctx.currentPageLocal2,
@@ -12468,7 +12427,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12468
12427
  };
12469
12428
  }
12470
12429
  }));
12471
- var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1338efe2"]]);
12430
+ var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3fc0d6c6"]]);
12472
12431
  var ckTable_vue_vue_type_style_index_0_scoped_true_lang = "";
12473
12432
  const _hoisted_1$2 = { class: "ck-table" };
12474
12433
  const _hoisted_2 = {
@@ -12745,11 +12704,11 @@ function applyStyles(_ref2) {
12745
12704
  }
12746
12705
  Object.assign(element.style, style);
12747
12706
  Object.keys(attributes).forEach(function(name2) {
12748
- var value2 = attributes[name2];
12749
- if (value2 === false) {
12707
+ var value = attributes[name2];
12708
+ if (value === false) {
12750
12709
  element.removeAttribute(name2);
12751
12710
  } else {
12752
- element.setAttribute(name2, value2 === true ? "" : value2);
12711
+ element.setAttribute(name2, value === true ? "" : value);
12753
12712
  }
12754
12713
  });
12755
12714
  });
@@ -12921,11 +12880,11 @@ function getOffsetParent(element) {
12921
12880
  function getMainAxisFromPlacement(placement) {
12922
12881
  return ["top", "bottom"].indexOf(placement) >= 0 ? "x" : "y";
12923
12882
  }
12924
- function within(min$1, value2, max$1) {
12925
- return max(min$1, min(value2, max$1));
12883
+ function within(min$1, value, max$1) {
12884
+ return max(min$1, min(value, max$1));
12926
12885
  }
12927
- function withinMaxClamp(min2, value2, max2) {
12928
- var v = within(min2, value2, max2);
12886
+ function withinMaxClamp(min2, value, max2) {
12887
+ var v = within(min2, value, max2);
12929
12888
  return v > max2 ? max2 : v;
12930
12889
  }
12931
12890
  function getFreshSideObject() {
@@ -12939,9 +12898,9 @@ function getFreshSideObject() {
12939
12898
  function mergePaddingObject(paddingObject) {
12940
12899
  return Object.assign({}, getFreshSideObject(), paddingObject);
12941
12900
  }
12942
- function expandToHashMap(value2, keys) {
12901
+ function expandToHashMap(value, keys) {
12943
12902
  return keys.reduce(function(hashMap, key) {
12944
- hashMap[key] = value2;
12903
+ hashMap[key] = value;
12945
12904
  return hashMap;
12946
12905
  }, {});
12947
12906
  }
@@ -13991,19 +13950,19 @@ var TOUCH_OPTIONS = {
13991
13950
  var TIPPY_DEFAULT_APPEND_TO = function TIPPY_DEFAULT_APPEND_TO2() {
13992
13951
  return document.body;
13993
13952
  };
13994
- function getValueAtIndexOrReturn(value2, index, defaultValue) {
13995
- if (Array.isArray(value2)) {
13996
- var v = value2[index];
13953
+ function getValueAtIndexOrReturn(value, index, defaultValue) {
13954
+ if (Array.isArray(value)) {
13955
+ var v = value[index];
13997
13956
  return v == null ? Array.isArray(defaultValue) ? defaultValue[index] : defaultValue : v;
13998
13957
  }
13999
- return value2;
13958
+ return value;
14000
13959
  }
14001
- function isType(value2, type) {
14002
- var str = {}.toString.call(value2);
13960
+ function isType(value, type) {
13961
+ var str = {}.toString.call(value);
14003
13962
  return str.indexOf("[object") === 0 && str.indexOf(type + "]") > -1;
14004
13963
  }
14005
- function invokeWithArgsOrReturn(value2, args) {
14006
- return typeof value2 === "function" ? value2.apply(void 0, args) : value2;
13964
+ function invokeWithArgsOrReturn(value, args) {
13965
+ return typeof value === "function" ? value.apply(void 0, args) : value;
14007
13966
  }
14008
13967
  function debounce(fn2, ms) {
14009
13968
  if (ms === 0) {
@@ -14017,15 +13976,15 @@ function debounce(fn2, ms) {
14017
13976
  }, ms);
14018
13977
  };
14019
13978
  }
14020
- function splitBySpaces(value2) {
14021
- return value2.split(/\s+/).filter(Boolean);
13979
+ function splitBySpaces(value) {
13980
+ return value.split(/\s+/).filter(Boolean);
14022
13981
  }
14023
- function normalizeToArray(value2) {
14024
- return [].concat(value2);
13982
+ function normalizeToArray(value) {
13983
+ return [].concat(value);
14025
13984
  }
14026
- function pushIfUnique(arr, value2) {
14027
- if (arr.indexOf(value2) === -1) {
14028
- arr.push(value2);
13985
+ function pushIfUnique(arr, value) {
13986
+ if (arr.indexOf(value) === -1) {
13987
+ arr.push(value);
14029
13988
  }
14030
13989
  }
14031
13990
  function unique(arr) {
@@ -14036,8 +13995,8 @@ function unique(arr) {
14036
13995
  function getBasePlacement(placement) {
14037
13996
  return placement.split("-")[0];
14038
13997
  }
14039
- function arrayFrom(value2) {
14040
- return [].slice.call(value2);
13998
+ function arrayFrom(value) {
13999
+ return [].slice.call(value);
14041
14000
  }
14042
14001
  function removeUndefinedProps(obj) {
14043
14002
  return Object.keys(obj).reduce(function(acc, key) {
@@ -14050,36 +14009,36 @@ function removeUndefinedProps(obj) {
14050
14009
  function div() {
14051
14010
  return document.createElement("div");
14052
14011
  }
14053
- function isElement(value2) {
14012
+ function isElement(value) {
14054
14013
  return ["Element", "Fragment"].some(function(type) {
14055
- return isType(value2, type);
14014
+ return isType(value, type);
14056
14015
  });
14057
14016
  }
14058
- function isNodeList(value2) {
14059
- return isType(value2, "NodeList");
14017
+ function isNodeList(value) {
14018
+ return isType(value, "NodeList");
14060
14019
  }
14061
- function isMouseEvent(value2) {
14062
- return isType(value2, "MouseEvent");
14020
+ function isMouseEvent(value) {
14021
+ return isType(value, "MouseEvent");
14063
14022
  }
14064
- function isReferenceElement(value2) {
14065
- return !!(value2 && value2._tippy && value2._tippy.reference === value2);
14023
+ function isReferenceElement(value) {
14024
+ return !!(value && value._tippy && value._tippy.reference === value);
14066
14025
  }
14067
- function getArrayOfElements(value2) {
14068
- if (isElement(value2)) {
14069
- return [value2];
14026
+ function getArrayOfElements(value) {
14027
+ if (isElement(value)) {
14028
+ return [value];
14070
14029
  }
14071
- if (isNodeList(value2)) {
14072
- return arrayFrom(value2);
14030
+ if (isNodeList(value)) {
14031
+ return arrayFrom(value);
14073
14032
  }
14074
- if (Array.isArray(value2)) {
14075
- return value2;
14033
+ if (Array.isArray(value)) {
14034
+ return value;
14076
14035
  }
14077
- return arrayFrom(document.querySelectorAll(value2));
14036
+ return arrayFrom(document.querySelectorAll(value));
14078
14037
  }
14079
- function setTransitionDuration(els, value2) {
14038
+ function setTransitionDuration(els, value) {
14080
14039
  els.forEach(function(el) {
14081
14040
  if (el) {
14082
- el.style.transitionDuration = value2 + "ms";
14041
+ el.style.transitionDuration = value + "ms";
14083
14042
  }
14084
14043
  });
14085
14044
  }
@@ -14293,16 +14252,16 @@ var innerHTML = function innerHTML2() {
14293
14252
  function dangerouslySetInnerHTML(element, html) {
14294
14253
  element[innerHTML()] = html;
14295
14254
  }
14296
- function createArrowElement(value2) {
14255
+ function createArrowElement(value) {
14297
14256
  var arrow2 = div();
14298
- if (value2 === true) {
14257
+ if (value === true) {
14299
14258
  arrow2.className = ARROW_CLASS;
14300
14259
  } else {
14301
14260
  arrow2.className = SVG_ARROW_CLASS;
14302
- if (isElement(value2)) {
14303
- arrow2.appendChild(value2);
14261
+ if (isElement(value)) {
14262
+ arrow2.appendChild(value);
14304
14263
  } else {
14305
- dangerouslySetInnerHTML(arrow2, value2);
14264
+ dangerouslySetInnerHTML(arrow2, value);
14306
14265
  }
14307
14266
  }
14308
14267
  return arrow2;
@@ -15280,7 +15239,7 @@ var components = /* @__PURE__ */ Object.freeze({
15280
15239
  ckCheckbox,
15281
15240
  ckIcon,
15282
15241
  ckImg,
15283
- ckInputText,
15242
+ ckInput,
15284
15243
  ckLabel,
15285
15244
  ckPopup: _sfc_main$d,
15286
15245
  ckRadio,
@@ -15304,4 +15263,4 @@ const install = function installCleek(app, options) {
15304
15263
  app.component(componentName, component);
15305
15264
  });
15306
15265
  };
15307
- export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckIcon, ckImg, ckInputText, ckLabel, _sfc_main$d as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };
15266
+ export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckIcon, ckImg, ckInput, ckLabel, _sfc_main$d as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };