vue-popup-plus-plugin-preset 1.4.0 → 1.5.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/README.md +86 -0
- package/dist/{PAlbum-Dx2UtKoc.js → PAlbum-C2Z3Qgkm.js} +92 -88
- package/dist/PAlert-xZSu5lCj.js +71 -0
- package/dist/PBody-Cotuzlbw.js +129 -0
- package/dist/PButtonGroup-8zbI-6Gv.js +93 -0
- package/dist/PConfirm-C_ojBEhv.js +85 -0
- package/dist/PDialog-U1Krz20W.js +71 -0
- package/dist/PLoading-DMxZw80B.js +60 -0
- package/dist/PPrompt-C430XhhF.js +111 -0
- package/dist/PToast-BelmEP1_.js +67 -0
- package/dist/vue-popup-plus-plugin-preset.d.ts +114 -24
- package/dist/vue-popup-plus-plugin-preset.js +661 -177
- package/dist/vue-popup-plus-plugin-preset.umd.cjs +3 -3
- package/package.json +5 -4
- package/dist/PAlert-B2CDGy2q.js +0 -69
- package/dist/PBody-dDV4yMXv.js +0 -129
- package/dist/PButtonGroup-C-RNjqPq.js +0 -80
- package/dist/PConfirm-Br4b52N6.js +0 -84
- package/dist/PDialog-Bsv_dImI.js +0 -72
- package/dist/PFooter-Cp_J7xg-.js +0 -14
- package/dist/PLoading-DAe6QRqV.js +0 -73
- package/dist/PPrompt-Do_oimXJ.js +0 -111
- package/dist/PToast-DYDVn76M.js +0 -29
package/dist/PToast-DYDVn76M.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, inject as i, onMounted as m, createElementBlock as r, openBlock as c, normalizeClass as d, createElementVNode as o, toDisplayString as l } from "vue";
|
|
2
|
-
import { usePopup as p, POPUP_COMPONENT_INJECTS as u } from "vue-popup-plus";
|
|
3
|
-
import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
const P = { class: "content" }, _ = /* @__PURE__ */ a({
|
|
5
|
-
name: "PToast",
|
|
6
|
-
__name: "PToast",
|
|
7
|
-
props: {
|
|
8
|
-
content: {},
|
|
9
|
-
theme: {},
|
|
10
|
-
duration: {}
|
|
11
|
-
},
|
|
12
|
-
setup(e) {
|
|
13
|
-
const n = p(), s = i(u.INSTANCE_ID);
|
|
14
|
-
return m(() => {
|
|
15
|
-
window.setTimeout(() => {
|
|
16
|
-
n.destroy(s);
|
|
17
|
-
}, e.duration);
|
|
18
|
-
}), (T, t) => (c(), r("div", {
|
|
19
|
-
class: d(["p-message", `is-theme-${e.theme}`])
|
|
20
|
-
}, [
|
|
21
|
-
t[0] || (t[0] = o("div", { class: "mask" }, null, -1)),
|
|
22
|
-
t[1] || (t[1] = o("div", { class: "mask-background" }, null, -1)),
|
|
23
|
-
o("div", P, l(e.content), 1)
|
|
24
|
-
], 2));
|
|
25
|
-
}
|
|
26
|
-
}), C = /* @__PURE__ */ f(_, [["__scopeId", "data-v-91202cf8"]]);
|
|
27
|
-
export {
|
|
28
|
-
C as default
|
|
29
|
-
};
|