cleek 2.6.98 → 2.6.99

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
@@ -83086,15 +83086,15 @@ const _sfc_main$m = defineComponent$2({
83086
83086
  _ctx.iconRight && _ctx.type !== "password" ? (openBlock$2(), createBlock$2(CkIcon, {
83087
83087
  key: 5,
83088
83088
  class: "ck-input__icon-right",
83089
- color: "lightgrey",
83089
+ color: _ctx.iconColor ? _ctx.iconColor : "lightgrey",
83090
83090
  icon: _ctx.iconRight,
83091
83091
  "icon-pack": _ctx.iconPack
83092
- }, null, 8, ["icon", "icon-pack"])) : createCommentVNode$2("", true)
83092
+ }, null, 8, ["color", "icon", "icon-pack"])) : createCommentVNode$2("", true)
83093
83093
  ], 4);
83094
83094
  };
83095
83095
  }
83096
83096
  });
83097
- var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-3aa30e6a"]]);
83097
+ var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-feca7ebc"]]);
83098
83098
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
83099
83099
  const _sfc_main$l = defineComponent$2({
83100
83100
  __name: "ck-table__header-items",
@@ -89462,6 +89462,10 @@ const _sfc_main$e = defineComponent$2({
89462
89462
  props: {
89463
89463
  modelValue: {},
89464
89464
  label: {},
89465
+ icon: {},
89466
+ iconRight: {},
89467
+ iconPack: {},
89468
+ iconColor: {},
89465
89469
  widthBreaks: {},
89466
89470
  group: {},
89467
89471
  groupVertical: {}
@@ -89488,7 +89492,10 @@ const _sfc_main$e = defineComponent$2({
89488
89492
  const computedClass = computed$3(() => {
89489
89493
  const classes = [];
89490
89494
  classes.push(hooks9.getGroupClass(props, windowWidth.value));
89491
- console.log("classes", classes);
89495
+ if (props.icon)
89496
+ classes.push("has-icon-left");
89497
+ if (props.iconRight)
89498
+ classes.push("has-icon-right");
89492
89499
  isOnPopup.value = document.querySelector(".ck-popup__content") ? true : false;
89493
89500
  if (isOnPopup.value)
89494
89501
  classes.push("ck-picker-popup");
@@ -89532,6 +89539,7 @@ const _sfc_main$e = defineComponent$2({
89532
89539
  }
89533
89540
  return (_ctx, _cache) => {
89534
89541
  const _component_ck_label = resolveComponent$2("ck-label");
89542
+ const _component_ck_icon = resolveComponent$2("ck-icon");
89535
89543
  const _component_ck_div = resolveComponent$2("ck-div");
89536
89544
  return openBlock$2(), createBlock$2(_component_ck_div, { widthBreaks: _ctx.widthBreaks }, {
89537
89545
  default: withCtx$2(() => [
@@ -89550,6 +89558,13 @@ const _sfc_main$e = defineComponent$2({
89550
89558
  _: 1
89551
89559
  }),
89552
89560
  createElementVNode("div", _hoisted_1$c, [
89561
+ _ctx.icon ? (openBlock$2(), createBlock$2(_component_ck_icon, {
89562
+ key: 0,
89563
+ class: "ck-input__icon-left",
89564
+ color: _ctx.iconColor ? _ctx.iconColor : "lightgrey",
89565
+ icon: _ctx.icon,
89566
+ "icon-pack": _ctx.iconPack
89567
+ }, null, 8, ["color", "icon", "icon-pack"])) : createCommentVNode$2("", true),
89553
89568
  createVNode$2(unref$3(Lt), {
89554
89569
  modelValue: inputValue.value,
89555
89570
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
@@ -89557,7 +89572,14 @@ const _sfc_main$e = defineComponent$2({
89557
89572
  onOpened: setOpenStatus,
89558
89573
  onClosed: setClosedStatus,
89559
89574
  inputFormat: "dd-MM-yyyy"
89560
- }, null, 8, ["modelValue"])
89575
+ }, null, 8, ["modelValue"]),
89576
+ _ctx.iconRight ? (openBlock$2(), createBlock$2(_component_ck_icon, {
89577
+ key: 1,
89578
+ class: "ck-input__icon-right",
89579
+ color: _ctx.iconColor ? _ctx.iconColor : "lightgrey",
89580
+ icon: _ctx.iconRight,
89581
+ "icon-pack": _ctx.iconPack
89582
+ }, null, 8, ["color", "icon", "icon-pack"])) : createCommentVNode$2("", true)
89561
89583
  ])
89562
89584
  ], 2)
89563
89585
  ]),
@@ -89566,7 +89588,7 @@ const _sfc_main$e = defineComponent$2({
89566
89588
  };
89567
89589
  }
89568
89590
  });
89569
- var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-09299fcb"]]);
89591
+ var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-5b945a48"]]);
89570
89592
  const _sfc_main$d = defineComponent$2({
89571
89593
  __name: "ck-input-time",
89572
89594
  props: {