cleek 2.4.0 → 2.4.1
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 +19 -21
- 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 { 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, unref as unref$1, createTextVNode, watch, onMounted, onBeforeUnmount, getCurrentInstance, withDirectives, isRef as isRef$1, vModelDynamic, renderList, withModifiers, vModelRadio, vModelSelect, vModelCheckbox, vModelText
|
|
32
|
+
import { 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, unref as unref$1, createTextVNode, watch, onMounted, onBeforeUnmount, getCurrentInstance, withDirectives, isRef as isRef$1, vModelDynamic, renderList, withModifiers, vModelRadio, vModelSelect, vModelCheckbox, vModelText } from "vue";
|
|
33
33
|
function getBasePlacement(placement) {
|
|
34
34
|
return placement.split("-")[0];
|
|
35
35
|
}
|
|
@@ -23449,7 +23449,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23449
23449
|
});
|
|
23450
23450
|
var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-bc51fc7a"]]);
|
|
23451
23451
|
var CkNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23452
|
-
const _hoisted_1 = {
|
|
23452
|
+
const _hoisted_1 = {
|
|
23453
|
+
key: 0,
|
|
23454
|
+
class: "ck-notify__container"
|
|
23455
|
+
};
|
|
23453
23456
|
const _hoisted_2 = { class: "ck-notify__title" };
|
|
23454
23457
|
const _hoisted_3 = { class: "close-btn" };
|
|
23455
23458
|
const _hoisted_4 = { class: "ck-notify__text" };
|
|
@@ -23465,30 +23468,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23465
23468
|
color
|
|
23466
23469
|
});
|
|
23467
23470
|
return (_ctx, _cache) => {
|
|
23468
|
-
return isActive.value ? (openBlock(),
|
|
23469
|
-
|
|
23470
|
-
|
|
23471
|
-
|
|
23472
|
-
|
|
23473
|
-
|
|
23474
|
-
|
|
23475
|
-
|
|
23476
|
-
|
|
23477
|
-
}, [
|
|
23478
|
-
createElementVNode("div", _hoisted_2, [
|
|
23479
|
-
createElementVNode("div", _hoisted_3, [
|
|
23480
|
-
createVNode(CkIcon, { icon: "times" })
|
|
23481
|
-
]),
|
|
23482
|
-
createTextVNode(toDisplayString(title.value), 1)
|
|
23471
|
+
return isActive.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
23472
|
+
createElementVNode("div", {
|
|
23473
|
+
class: "ck-notify",
|
|
23474
|
+
style: normalizeStyle({ "background-color": color.value }),
|
|
23475
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
|
|
23476
|
+
}, [
|
|
23477
|
+
createElementVNode("div", _hoisted_2, [
|
|
23478
|
+
createElementVNode("div", _hoisted_3, [
|
|
23479
|
+
createVNode(CkIcon, { icon: "times" })
|
|
23483
23480
|
]),
|
|
23484
|
-
|
|
23485
|
-
],
|
|
23486
|
-
|
|
23481
|
+
createTextVNode(toDisplayString(title.value), 1)
|
|
23482
|
+
]),
|
|
23483
|
+
createElementVNode("div", _hoisted_4, toDisplayString(text2.value), 1)
|
|
23484
|
+
], 4)
|
|
23487
23485
|
])) : createCommentVNode("", true);
|
|
23488
23486
|
};
|
|
23489
23487
|
}
|
|
23490
23488
|
});
|
|
23491
|
-
var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
23489
|
+
var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0d3144b1"]]);
|
|
23492
23490
|
const defaultDuration = 2e3;
|
|
23493
23491
|
var ckNotify = {
|
|
23494
23492
|
confirm({
|