cleek 2.4.80 → 2.4.81
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 +5 -18
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -29,7 +29,7 @@ var __objRest = (source2, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { watch, reactive, pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, resolveDirective, unref as unref$1, createTextVNode, withDirectives, onMounted, getCurrentInstance,
|
|
32
|
+
import { watch, reactive, pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, resolveDirective, unref as unref$1, createTextVNode, withDirectives, onMounted, getCurrentInstance, isRef as isRef$1, vModelText, vModelDynamic, renderList, withModifiers, Teleport, vModelRadio, vModelSelect, vModelCheckbox } from "vue";
|
|
33
33
|
function getDevtoolsGlobalHook() {
|
|
34
34
|
return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
35
35
|
}
|
|
@@ -24118,22 +24118,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
24118
24118
|
});
|
|
24119
24119
|
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-a8333ef4"]]);
|
|
24120
24120
|
function useWindowWidth() {
|
|
24121
|
-
const windowWidth = ref(0);
|
|
24122
|
-
function handleWindowResize(event) {
|
|
24123
|
-
windowWidth.value = event.currentTarget.innerWidth;
|
|
24124
|
-
}
|
|
24125
|
-
onMounted(() => {
|
|
24126
|
-
nextTick$1(() => {
|
|
24127
|
-
window.addEventListener("resize", handleWindowResize);
|
|
24128
|
-
});
|
|
24129
|
-
windowWidth.value = window.innerWidth;
|
|
24130
|
-
});
|
|
24131
|
-
onBeforeUnmount(() => {
|
|
24132
|
-
window.removeEventListener("resize", handleWindowResize);
|
|
24133
|
-
});
|
|
24134
|
-
return {
|
|
24135
|
-
windowWidth
|
|
24136
|
-
};
|
|
24137
24121
|
}
|
|
24138
24122
|
var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24139
24123
|
const _hoisted_1$j = ["title", "aria-label", "disabled"];
|
|
@@ -26299,6 +26283,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26299
26283
|
color: null,
|
|
26300
26284
|
textColor: null,
|
|
26301
26285
|
align: null,
|
|
26286
|
+
nowrap: { type: Boolean },
|
|
26302
26287
|
icon: null,
|
|
26303
26288
|
iconRight: null,
|
|
26304
26289
|
iconPack: null
|
|
@@ -26316,6 +26301,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26316
26301
|
list.push(`size-${props.size || defaultSize}`);
|
|
26317
26302
|
if (props.align)
|
|
26318
26303
|
list.push(`align--${props.align}`);
|
|
26304
|
+
if (props.nowrap)
|
|
26305
|
+
list.push(`ck-chip--${props.nowrap}`);
|
|
26319
26306
|
return list;
|
|
26320
26307
|
});
|
|
26321
26308
|
const computedStyle = computed$2(() => {
|
|
@@ -26352,7 +26339,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26352
26339
|
};
|
|
26353
26340
|
}
|
|
26354
26341
|
});
|
|
26355
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
26342
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-03892d67"]]);
|
|
26356
26343
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
26357
26344
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
26358
26345
|
props: {
|