cleek 2.4.61 → 2.4.62

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
@@ -21944,6 +21944,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
21944
21944
  layout: null,
21945
21945
  borderColor: null,
21946
21946
  textColor: null,
21947
+ autofocus: { type: Boolean },
21947
21948
  capitalize: { type: Boolean },
21948
21949
  autoSelect: { type: Boolean },
21949
21950
  delayChangeTime: null
@@ -22060,6 +22061,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22060
22061
  ]);
22061
22062
  onMounted(() => {
22062
22063
  cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
22064
+ if (props.autofocus) {
22065
+ setFocus();
22066
+ }
22063
22067
  });
22064
22068
  return (_ctx, _cache) => {
22065
22069
  return openBlock(), createElementBlock("div", {
@@ -22141,7 +22145,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22141
22145
  };
22142
22146
  }
22143
22147
  });
22144
- var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-186069ca"]]);
22148
+ var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1beb528a"]]);
22145
22149
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
22146
22150
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
22147
22151
  props: {
@@ -23810,17 +23814,26 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
23810
23814
  style: normalizeStyle(unref$1(computedStyle)),
23811
23815
  onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
23812
23816
  }, [
23813
- __props.icon ? (openBlock(), createBlock(CkIcon, {
23817
+ __props.icon && !_ctx.iconRight ? (openBlock(), createBlock(CkIcon, {
23814
23818
  key: 0,
23819
+ class: "pr-2",
23815
23820
  icon: __props.icon,
23816
23821
  "icon-pack": __props.iconPack
23817
23822
  }, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true),
23818
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
23823
+ createElementVNode("span", null, [
23824
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
23825
+ ]),
23826
+ __props.icon && _ctx.iconRight ? (openBlock(), createBlock(CkIcon, {
23827
+ key: 1,
23828
+ class: "pl-2",
23829
+ icon: __props.icon,
23830
+ "icon-pack": __props.iconPack
23831
+ }, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true)
23819
23832
  ], 14, _hoisted_1$a);
23820
23833
  };
23821
23834
  }
23822
23835
  });
23823
- var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c7cdf0ec"]]);
23836
+ var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-7210674d"]]);
23824
23837
  var ckDiv_vue_vue_type_style_index_0_lang = "";
23825
23838
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
23826
23839
  props: {