vue-popup-plus-plugin-preset 1.3.4 → 1.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-popup-plus-plugin-preset",
3
- "version": "1.3.4",
3
+ "version": "1.4.0",
4
4
  "keywords": [
5
5
  "vue",
6
6
  "vue3",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "vue": "^3.5.22",
28
- "vue-popup-plus": "^1.3.4"
28
+ "vue-popup-plus": "^1.4.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@prettier/plugin-pug": "^3.4.2",
@@ -1,62 +0,0 @@
1
- import { defineComponent as r, useCssVars as u, createElementBlock as c, openBlock as s, createElementVNode as a, inject as m, createVNode as i, createBlock as _, createCommentVNode as f, withCtx as d, createTextVNode as P } from "vue";
2
- import { usePopup as g, POPUP_COMPONENT_INJECTS as k } from "vue-popup-plus";
3
- import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { P as x, a as C } from "./PButtonGroup-C-RNjqPq.js";
5
- const N = { class: "p-loading" }, v = /* @__PURE__ */ r({
6
- name: "PLoading",
7
- __name: "PLoading",
8
- props: {
9
- size: { default: 60 }
10
- },
11
- setup(n) {
12
- return u((e) => ({
13
- v083770df: `${e.size}px`
14
- })), (e, o) => (s(), c("div", N, [...o[0] || (o[0] = [
15
- a("svg", { viewBox: "25 25 50 50" }, [
16
- a("circle", {
17
- cx: "50",
18
- cy: "50",
19
- fill: "none",
20
- r: "20"
21
- })
22
- ], -1)
23
- ])]));
24
- }
25
- }), B = /* @__PURE__ */ l(v, [["__scopeId", "data-v-82e7b730"]]), z = { class: "p-loading-mask" }, I = /* @__PURE__ */ r({
26
- name: "PLoading",
27
- __name: "PLoadingMask",
28
- props: {
29
- debugMode: { type: Boolean },
30
- iconSize: { default: 60 }
31
- },
32
- setup(n) {
33
- const e = g(), o = m(k.INSTANCE_ID);
34
- function p() {
35
- e.destroy(o);
36
- }
37
- return (L, t) => (s(), c("div", z, [
38
- t[1] || (t[1] = a("div", { class: "mask" }, null, -1)),
39
- i(B, { size: n.iconSize }, null, 8, ["size"]),
40
- n.debugMode ? (s(), _(x, {
41
- key: 0,
42
- align: "center"
43
- }, {
44
- default: d(() => [
45
- i(C, {
46
- onClick: p,
47
- theme: "primary"
48
- }, {
49
- default: d(() => [...t[0] || (t[0] = [
50
- P("强制关闭遮罩(仅在调试模式下可用)", -1)
51
- ])]),
52
- _: 1
53
- })
54
- ]),
55
- _: 1
56
- })) : f("", !0)
57
- ]));
58
- }
59
- }), S = /* @__PURE__ */ l(I, [["__scopeId", "data-v-27933c63"]]);
60
- export {
61
- S as default
62
- };