cleek 2.4.80 → 2.4.82
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 -14
- 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
|
}
|
|
@@ -24119,18 +24119,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
24119
24119
|
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-a8333ef4"]]);
|
|
24120
24120
|
function useWindowWidth() {
|
|
24121
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
24122
|
return {
|
|
24135
24123
|
windowWidth
|
|
24136
24124
|
};
|
|
@@ -26299,6 +26287,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26299
26287
|
color: null,
|
|
26300
26288
|
textColor: null,
|
|
26301
26289
|
align: null,
|
|
26290
|
+
nowrap: { type: Boolean },
|
|
26302
26291
|
icon: null,
|
|
26303
26292
|
iconRight: null,
|
|
26304
26293
|
iconPack: null
|
|
@@ -26316,6 +26305,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26316
26305
|
list.push(`size-${props.size || defaultSize}`);
|
|
26317
26306
|
if (props.align)
|
|
26318
26307
|
list.push(`align--${props.align}`);
|
|
26308
|
+
if (props.nowrap)
|
|
26309
|
+
list.push(`ck-chip--${props.nowrap}`);
|
|
26319
26310
|
return list;
|
|
26320
26311
|
});
|
|
26321
26312
|
const computedStyle = computed$2(() => {
|
|
@@ -26352,7 +26343,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26352
26343
|
};
|
|
26353
26344
|
}
|
|
26354
26345
|
});
|
|
26355
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
26346
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-03892d67"]]);
|
|
26356
26347
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
26357
26348
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
26358
26349
|
props: {
|