cleek 1.5.8 → 1.5.9

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
@@ -11250,7 +11250,7 @@ const _sfc_main$h = {
11250
11250
  }
11251
11251
  };
11252
11252
  var ckIcon = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", render$i], ["__scopeId", "data-v-2609c60b"]]);
11253
- const _hoisted_1$c = ["title", "aria-label", "disabled"];
11253
+ const _hoisted_1$d = ["title", "aria-label", "disabled"];
11254
11254
  function render$h(_ctx, _cache, $props, $setup, $data, $options) {
11255
11255
  const _component_ck_icon = resolveComponent("ck-icon");
11256
11256
  return openBlock(), createElementBlock("button", {
@@ -11274,7 +11274,7 @@ function render$h(_ctx, _cache, $props, $setup, $data, $options) {
11274
11274
  icon: $props.iconRight,
11275
11275
  "icon-pack": _ctx.iconPack
11276
11276
  }, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true)
11277
- ], 10, _hoisted_1$c);
11277
+ ], 10, _hoisted_1$d);
11278
11278
  }
11279
11279
  var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
11280
11280
  const defaults = { type: "outlined" };
@@ -11324,7 +11324,7 @@ const _sfc_main$g = {
11324
11324
  };
11325
11325
  var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", render$h], ["__scopeId", "data-v-29466fcf"]]);
11326
11326
  const _withScopeId$2 = (n) => (pushScopeId("data-v-c7841510"), n = n(), popScopeId(), n);
11327
- const _hoisted_1$b = ["disabled", "checked"];
11327
+ const _hoisted_1$c = ["disabled", "checked"];
11328
11328
  const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
11329
11329
  const _hoisted_3$4 = {
11330
11330
  key: 0,
@@ -11349,7 +11349,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
11349
11349
  $options.value = $event.target.checked;
11350
11350
  $options.onChange($event);
11351
11351
  })
11352
- }, null, 40, _hoisted_1$b),
11352
+ }, null, 40, _hoisted_1$c),
11353
11353
  _hoisted_2$6,
11354
11354
  _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$4, [
11355
11355
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -11391,7 +11391,7 @@ const _sfc_main$f = {
11391
11391
  }
11392
11392
  };
11393
11393
  var ckCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", render$g], ["__scopeId", "data-v-c7841510"]]);
11394
- const _hoisted_1$a = ["src"];
11394
+ const _hoisted_1$b = ["src"];
11395
11395
  function render$f(_ctx, _cache, $props, $setup, $data, $options) {
11396
11396
  return openBlock(), createElementBlock("div", {
11397
11397
  class: normalizeClass(["ck-img", $options.computedClass]),
@@ -11402,7 +11402,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
11402
11402
  src: $options.imageUrl,
11403
11403
  style: normalizeStyle($options.computedImgStyle),
11404
11404
  onError: _cache[0] || (_cache[0] = ($event) => _ctx.altNeeded = true)
11405
- }, null, 44, _hoisted_1$a)
11405
+ }, null, 44, _hoisted_1$b)
11406
11406
  ], 6);
11407
11407
  }
11408
11408
  var ckImg_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -11491,10 +11491,10 @@ const _sfc_main$e = {
11491
11491
  }
11492
11492
  };
11493
11493
  var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", render$f], ["__scopeId", "data-v-1c6a3b4e"]]);
11494
- const _hoisted_1$9 = { class: "ck-input-text" };
11494
+ const _hoisted_1$a = { class: "ck-input-text" };
11495
11495
  const _hoisted_2$5 = ["placeholder"];
11496
11496
  function render$e(_ctx, _cache, $props, $setup, $data, $options) {
11497
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
11497
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
11498
11498
  withDirectives(createElementVNode("input", {
11499
11499
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.value = $event),
11500
11500
  type: "text",
@@ -11561,6 +11561,9 @@ const _sfc_main$c = {
11561
11561
  };
11562
11562
  var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", render$d], ["__scopeId", "data-v-753ae406"]]);
11563
11563
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
11564
+ function getDefaultExportFromCjs(x) {
11565
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
11566
+ }
11564
11567
  var dist = function(t) {
11565
11568
  function e(i) {
11566
11569
  if (r[i])
@@ -12165,7 +12168,7 @@ var dist = function(t) {
12165
12168
  r(9)(i, {});
12166
12169
  i.locals && (t.exports = i.locals);
12167
12170
  }]);
12168
- const _hoisted_1$8 = {
12171
+ const _hoisted_1$9 = {
12169
12172
  key: 0,
12170
12173
  class: "ck-popup"
12171
12174
  };
@@ -12185,7 +12188,7 @@ const _hoisted_8 = /* @__PURE__ */ createTextVNode("Aceptar");
12185
12188
  function render$c(_ctx, _cache, $props, $setup, $data, $options) {
12186
12189
  const _component_ck_icon = resolveComponent("ck-icon");
12187
12190
  const _component_ck_button = resolveComponent("ck-button");
12188
- return $options.value ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
12191
+ return $options.value ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
12189
12192
  _hoisted_2$4,
12190
12193
  createElementVNode("div", {
12191
12194
  class: "popup-container",
@@ -12276,7 +12279,7 @@ const _sfc_main$b = {
12276
12279
  };
12277
12280
  var ckPopup = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", render$c]]);
12278
12281
  const _withScopeId$1 = (n) => (pushScopeId("data-v-73a891e8"), n = n(), popScopeId(), n);
12279
- const _hoisted_1$7 = ["onKeyup"];
12282
+ const _hoisted_1$8 = ["onKeyup"];
12280
12283
  const _hoisted_2$3 = ["name", "value", "disabled"];
12281
12284
  const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
12282
12285
  const _hoisted_4 = {
@@ -12309,7 +12312,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
12309
12312
  ]),
12310
12313
  _hoisted_3$2,
12311
12314
  item.label ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(item.label), 1)) : createCommentVNode("", true)
12312
- ], 16, _hoisted_1$7);
12315
+ ], 16, _hoisted_1$8);
12313
12316
  }), 128);
12314
12317
  }
12315
12318
  var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -12764,19 +12767,41 @@ var vueSelect$1 = { exports: {} };
12764
12767
  }]);
12765
12768
  });
12766
12769
  })(vueSelect$1);
12770
+ var vSelect = /* @__PURE__ */ getDefaultExportFromCjs(vueSelect$1.exports);
12767
12771
  var vueSelect = "";
12772
+ const _hoisted_1$7 = { slot: "no-options" };
12768
12773
  function render$a(_ctx, _cache, $props, $setup, $data, $options) {
12774
+ const _component_v_select = resolveComponent("v-select");
12769
12775
  return openBlock(), createElementBlock("div", {
12770
12776
  class: "ck-select",
12771
12777
  style: normalizeStyle($options.computedStyle)
12772
12778
  }, [
12773
- createElementVNode("div", null, toDisplayString($props.options), 1)
12779
+ createElementVNode("div", null, toDisplayString($props.options), 1),
12780
+ createVNode(_component_v_select, {
12781
+ class: "ck-select__v-select",
12782
+ ref: "vSelect",
12783
+ modelValue: $options.value,
12784
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.value = $event),
12785
+ label: $props.prop,
12786
+ options: $props.options,
12787
+ disabled: !!$props.disabled,
12788
+ reduce: $options.realReduceFunction,
12789
+ clearable: !$props.notClearable && !$options.valueIsDefault,
12790
+ searchable: $options.realSearchable
12791
+ }, {
12792
+ default: withCtx(() => [
12793
+ createElementVNode("span", _hoisted_1$7, toDisplayString($props.noDataText), 1)
12794
+ ]),
12795
+ _: 1
12796
+ }, 8, ["modelValue", "label", "options", "disabled", "reduce", "clearable", "searchable"])
12774
12797
  ], 4);
12775
12798
  }
12776
12799
  var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
12777
12800
  const _sfc_main$9 = {
12778
12801
  name: "CkSelect",
12779
- components: {},
12802
+ components: {
12803
+ vSelect
12804
+ },
12780
12805
  props: {
12781
12806
  modelValue: { default: null, type: [Boolean, Number, Object, Array] },
12782
12807
  prop: { type: String, default: "name" },
@@ -12875,7 +12900,7 @@ const _sfc_main$9 = {
12875
12900
  }
12876
12901
  }
12877
12902
  };
12878
- var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", render$a], ["__scopeId", "data-v-13c1650c"]]);
12903
+ var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", render$a], ["__scopeId", "data-v-069e50be"]]);
12879
12904
  const _withScopeId = (n) => (pushScopeId("data-v-6f20f256"), n = n(), popScopeId(), n);
12880
12905
  const _hoisted_1$6 = ["disabled"];
12881
12906
  const _hoisted_2$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));