cleek 2.4.31 → 2.4.32
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 +8 -1
- package/dist/cleek.umd.js +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -23746,7 +23746,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23746
23746
|
var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-667c806b"]]);
|
|
23747
23747
|
const defaultDuration = 2e3;
|
|
23748
23748
|
var ckNotify = {
|
|
23749
|
-
|
|
23749
|
+
confirmOptions({
|
|
23750
23750
|
title = "\xBFEst\xE1s seguro?",
|
|
23751
23751
|
msg = "",
|
|
23752
23752
|
acceptText = "Aceptar",
|
|
@@ -23772,6 +23772,13 @@ var ckNotify = {
|
|
|
23772
23772
|
};
|
|
23773
23773
|
document.body.appendChild(instance.$el);
|
|
23774
23774
|
},
|
|
23775
|
+
confirm(msg, success, failure) {
|
|
23776
|
+
this.confirmOptions({
|
|
23777
|
+
msg,
|
|
23778
|
+
success,
|
|
23779
|
+
failure
|
|
23780
|
+
});
|
|
23781
|
+
},
|
|
23775
23782
|
notify({ text: text2 = "", title = "", color = "#ccc", duration = defaultDuration }) {
|
|
23776
23783
|
const tempDiv = document.createElement("div");
|
|
23777
23784
|
const instance = createApp(CkNotifyComponent).mount(tempDiv);
|