cleek 2.6.98 → 2.6.100

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: {
@@ -90063,6 +90085,7 @@ const _sfc_main$7 = defineComponent$2({
90063
90085
  icon: {},
90064
90086
  iconRight: {},
90065
90087
  iconPack: {},
90088
+ iconColor: {},
90066
90089
  label: {},
90067
90090
  labelAlign: {},
90068
90091
  placeholder: {},
@@ -90241,17 +90264,17 @@ const _sfc_main$7 = defineComponent$2({
90241
90264
  _ctx.icon ? (openBlock$2(), createBlock$2(CkIcon, {
90242
90265
  key: 0,
90243
90266
  class: "ck-select__icon-left",
90244
- color: "lightgrey",
90245
90267
  icon: _ctx.icon,
90246
- "icon-pack": _ctx.iconPack
90247
- }, null, 8, ["icon", "icon-pack"])) : createCommentVNode$2("", true),
90268
+ "icon-pack": _ctx.iconPack,
90269
+ color: _ctx.iconColor ? _ctx.iconColor : "lightgrey"
90270
+ }, null, 8, ["icon", "icon-pack", "color"])) : createCommentVNode$2("", true),
90248
90271
  _ctx.iconRight ? (openBlock$2(), createBlock$2(CkIcon, {
90249
90272
  key: 1,
90250
90273
  class: "ck-select__icon-right",
90251
- color: "lightgrey",
90252
90274
  icon: _ctx.iconRight,
90253
- "icon-pack": _ctx.iconPack
90254
- }, null, 8, ["icon", "icon-pack"])) : createCommentVNode$2("", true),
90275
+ "icon-pack": _ctx.iconPack,
90276
+ color: _ctx.iconColor ? _ctx.iconColor : "lightgrey"
90277
+ }, null, 8, ["icon", "icon-pack", "color"])) : createCommentVNode$2("", true),
90255
90278
  isClearBtnVisible.value ? (openBlock$2(), createElementBlock$2("div", {
90256
90279
  key: 2,
90257
90280
  class: "ck-select__clear-btn",
@@ -90290,7 +90313,7 @@ const _sfc_main$7 = defineComponent$2({
90290
90313
  };
90291
90314
  }
90292
90315
  });
90293
- var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-29788932"]]);
90316
+ var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-775ff419"]]);
90294
90317
  var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
90295
90318
  const _hoisted_1$6 = {
90296
90319
  key: 0,