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/dist/{PAlbum-LPEViiZF.js → PAlbum-Dx2UtKoc.js} +97 -95
- package/dist/PLoading-DAe6QRqV.js +73 -0
- package/dist/{PToast-CVYEOEG3.js → PToast-DYDVn76M.js} +2 -3
- package/dist/vue-popup-plus-plugin-preset.d.ts +247 -115
- package/dist/vue-popup-plus-plugin-preset.js +168 -151
- package/dist/vue-popup-plus-plugin-preset.umd.cjs +3 -3
- package/package.json +2 -2
- package/dist/PLoadingMask-BjvzKGUb.js +0 -62
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ee, inject as te, ref as c, computed as g, watch as ne, onBeforeMount as le, onMounted as oe, onBeforeUnmount as
|
|
1
|
+
import { defineComponent as ee, inject as te, ref as c, computed as g, watch as ne, onBeforeMount as le, onMounted as oe, onBeforeUnmount as se, createElementBlock as o, openBlock as s, createElementVNode as d, createCommentVNode as v, Fragment as N, renderList as ae, normalizeStyle as re, normalizeClass as ie, toDisplayString as B } from "vue";
|
|
2
2
|
import { usePopup as ue, POPUP_COMPONENT_INJECTS as ce } from "vue-popup-plus";
|
|
3
3
|
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
function ve(n) {
|
|
@@ -13,33 +13,33 @@ function pe(n, {
|
|
|
13
13
|
}
|
|
14
14
|
} = {}) {
|
|
15
15
|
try {
|
|
16
|
-
me(n) ?
|
|
17
|
-
} catch (
|
|
16
|
+
me(n) ? P() : t ? I() : window.open(n);
|
|
17
|
+
} catch (a) {
|
|
18
18
|
console.error(`free download error:
|
|
19
|
-
`,
|
|
19
|
+
`, a);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
const
|
|
23
|
-
|
|
21
|
+
function P() {
|
|
22
|
+
const a = document.createElement("a");
|
|
23
|
+
a.setAttribute("download", l), a.href = n, a.click(), h(l);
|
|
24
24
|
}
|
|
25
25
|
function I() {
|
|
26
|
-
let
|
|
26
|
+
let a;
|
|
27
27
|
try {
|
|
28
|
-
|
|
28
|
+
a = new XMLHttpRequest();
|
|
29
29
|
} catch {
|
|
30
30
|
throw new Error("当前浏览器不支持XMLHttpRequest,无法下载");
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
a.open("GET", n, !0), a.responseType = "blob";
|
|
33
33
|
for (const f in u)
|
|
34
|
-
Object.hasOwnProperty.call(u, f) &&
|
|
35
|
-
|
|
36
|
-
if (
|
|
37
|
-
const f = window.URL.createObjectURL(
|
|
34
|
+
Object.hasOwnProperty.call(u, f) && a.setRequestHeader(f, u[f]);
|
|
35
|
+
a.onload = function() {
|
|
36
|
+
if (a.status === 200) {
|
|
37
|
+
const f = window.URL.createObjectURL(a.response), m = document.createElement("a");
|
|
38
38
|
m.href = f, m.download = l, m.click(), h(l);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
try {
|
|
42
|
-
|
|
42
|
+
a.send();
|
|
43
43
|
} catch {
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
@@ -80,7 +80,7 @@ const p = {
|
|
|
80
80
|
EXE: "exe",
|
|
81
81
|
UNKNOWN: "unknown"
|
|
82
82
|
/* UNKNOWN */
|
|
83
|
-
},
|
|
83
|
+
}, X = /* @__PURE__ */ new Map([
|
|
84
84
|
[p.IMAGE, ["jpg", "jpeg", "png", "gif"]],
|
|
85
85
|
[
|
|
86
86
|
p.VIDEO,
|
|
@@ -101,7 +101,7 @@ class x {
|
|
|
101
101
|
// 文件类型
|
|
102
102
|
static FILE_TYPES = p;
|
|
103
103
|
// 文件类型后缀映射
|
|
104
|
-
static FILE_TYPE_SUFFIX_MAP =
|
|
104
|
+
static FILE_TYPE_SUFFIX_MAP = X;
|
|
105
105
|
// 文件id
|
|
106
106
|
id = "";
|
|
107
107
|
// 文件地址
|
|
@@ -120,7 +120,7 @@ class x {
|
|
|
120
120
|
}
|
|
121
121
|
// 类型
|
|
122
122
|
get type() {
|
|
123
|
-
for (const [t, l] of
|
|
123
|
+
for (const [t, l] of X)
|
|
124
124
|
if (l.some((u) => u === this.suffix))
|
|
125
125
|
return t;
|
|
126
126
|
return p.UNKNOWN;
|
|
@@ -180,90 +180,90 @@ const be = ["src"], he = ["poster", "src"], we = {
|
|
|
180
180
|
}, Ee = {
|
|
181
181
|
key: 0,
|
|
182
182
|
class: "info count"
|
|
183
|
-
}, ke = { class: "current" }, xe = {
|
|
183
|
+
}, ke = { class: "number current" }, xe = { class: "number" }, Pe = {
|
|
184
184
|
key: 1,
|
|
185
185
|
class: "emyty"
|
|
186
|
-
},
|
|
186
|
+
}, Ie = {
|
|
187
187
|
key: 1,
|
|
188
188
|
class: "tools left"
|
|
189
|
-
},
|
|
189
|
+
}, Oe = {
|
|
190
190
|
key: 2,
|
|
191
191
|
class: "tools right"
|
|
192
|
-
},
|
|
192
|
+
}, Se = {
|
|
193
193
|
key: 3,
|
|
194
194
|
class: "tools bottom"
|
|
195
|
-
},
|
|
195
|
+
}, De = {
|
|
196
196
|
key: 1,
|
|
197
197
|
class: "emyty"
|
|
198
|
-
},
|
|
198
|
+
}, Ce = { class: "center" }, Ue = {
|
|
199
199
|
key: 3,
|
|
200
200
|
class: "emyty"
|
|
201
|
-
},
|
|
201
|
+
}, Me = /* @__PURE__ */ ee({
|
|
202
202
|
name: "PAlbum",
|
|
203
203
|
__name: "PAlbum",
|
|
204
204
|
props: {
|
|
205
205
|
sources: {},
|
|
206
206
|
defaultIndex: {},
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
207
|
+
disableCounter: { type: Boolean },
|
|
208
|
+
disableName: { type: Boolean },
|
|
209
|
+
disableDownload: { type: Boolean },
|
|
210
|
+
disablePure: { type: Boolean },
|
|
211
|
+
disableScale: { type: Boolean },
|
|
212
|
+
disableDrag: { type: Boolean }
|
|
213
213
|
},
|
|
214
214
|
setup(n) {
|
|
215
|
-
const t = ue(), l = te(ce.INSTANCE_ID), u = c(n.defaultIndex), h = c(1),
|
|
215
|
+
const t = ue(), l = te(ce.INSTANCE_ID), u = c(n.defaultIndex), h = c(1), P = c(30), I = c(0.01), a = c(3), f = c(1.5), m = c(h.value), k = c(!1), O = c(0), S = c(0), L = c(0), T = c(0), D = c(0), C = c(0), y = c(!1), w = g(() => x.FILE_TYPES), b = g(
|
|
216
216
|
() => n.sources.map((i) => new x(i)).filter(
|
|
217
217
|
(i) => [w.value.IMAGE, w.value.VIDEO].includes(i.type)
|
|
218
218
|
)
|
|
219
219
|
), E = g(() => b.value[u.value]), A = g(() => ({
|
|
220
|
-
transform: `translate(${
|
|
220
|
+
transform: `translate(${D.value}px, ${C.value}px) scale(${m.value})`,
|
|
221
221
|
transitionDuration: k.value ? "0s" : void 0
|
|
222
222
|
})), j = g(() => u.value !== 0), R = g(
|
|
223
223
|
() => u.value !== b.value.length - 1 && b.value.length
|
|
224
|
-
),
|
|
224
|
+
), U = g(
|
|
225
225
|
() => E.value && E.value.type === w.value.IMAGE
|
|
226
226
|
);
|
|
227
227
|
ne(u, () => {
|
|
228
|
-
|
|
228
|
+
V();
|
|
229
229
|
}), le(() => {
|
|
230
230
|
n.defaultIndex >= 0 && n.defaultIndex < b.value.length && (u.value = n.defaultIndex);
|
|
231
231
|
}), oe(() => {
|
|
232
232
|
window.addEventListener("mousemove", F), window.addEventListener("mouseup", $);
|
|
233
|
-
}),
|
|
233
|
+
}), se(() => {
|
|
234
234
|
window.removeEventListener("mousemove", F), window.removeEventListener("mouseup", $);
|
|
235
235
|
});
|
|
236
236
|
function Y() {
|
|
237
237
|
u.value--;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function G() {
|
|
240
240
|
u.value++;
|
|
241
241
|
}
|
|
242
|
-
function M(i, e =
|
|
243
|
-
|
|
242
|
+
function M(i, e = a.value) {
|
|
243
|
+
U.value && (i ? m.value = Math.min(
|
|
244
244
|
m.value * e,
|
|
245
|
-
|
|
245
|
+
P.value
|
|
246
246
|
) : m.value = Math.max(
|
|
247
247
|
m.value / e,
|
|
248
248
|
I.value
|
|
249
249
|
));
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function V() {
|
|
252
252
|
m.value = h.value;
|
|
253
253
|
}
|
|
254
254
|
function W(i) {
|
|
255
|
-
if (n.
|
|
255
|
+
if (n.disableScale) return;
|
|
256
256
|
const e = i.wheelDelta > 0;
|
|
257
257
|
M(e, f.value);
|
|
258
258
|
}
|
|
259
259
|
function q(i) {
|
|
260
|
-
n.
|
|
260
|
+
n.disableDrag || (O.value = i.clientX, S.value = i.clientY, k.value = !0, i.stopPropagation(), i.preventDefault());
|
|
261
261
|
}
|
|
262
262
|
function F(i) {
|
|
263
|
-
k.value && (
|
|
263
|
+
k.value && (D.value = L.value + i.clientX - O.value, C.value = T.value + i.clientY - S.value);
|
|
264
264
|
}
|
|
265
265
|
function $() {
|
|
266
|
-
O.value = 0,
|
|
266
|
+
O.value = 0, S.value = 0, L.value = D.value, T.value = C.value, k.value = !1;
|
|
267
267
|
}
|
|
268
268
|
function H() {
|
|
269
269
|
ge(E.value.name), t.toast("复制成功");
|
|
@@ -275,31 +275,32 @@ const be = ["src"], he = ["poster", "src"], we = {
|
|
|
275
275
|
y.value && (y.value = !1, t.toast("退出纯净模式"));
|
|
276
276
|
}
|
|
277
277
|
function Z() {
|
|
278
|
-
n.
|
|
278
|
+
n.disableDownload || pe(E.value.url, {
|
|
279
279
|
allowCrossOrigin: !0
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
function Q() {
|
|
283
283
|
t.destroy(l);
|
|
284
284
|
}
|
|
285
|
-
return (i, e) => (
|
|
285
|
+
return (i, e) => (s(), o("div", {
|
|
286
286
|
class: "p-media-album",
|
|
287
287
|
onDblclick: e[10] || (e[10] = (r) => K())
|
|
288
288
|
}, [
|
|
289
|
-
|
|
289
|
+
d("div", {
|
|
290
290
|
class: "media",
|
|
291
291
|
onWheel: e[1] || (e[1] = (r) => W(r))
|
|
292
292
|
}, [
|
|
293
|
-
(
|
|
294
|
-
|
|
295
|
-
r.type === w.value.IMAGE ? (
|
|
296
|
-
|
|
293
|
+
(s(!0), o(N, null, ae(b.value, (r, z) => (s(), o(N, null, [
|
|
294
|
+
z === u.value ? (s(), o(N, { key: 0 }, [
|
|
295
|
+
r.type === w.value.IMAGE ? (s(), o("img", {
|
|
296
|
+
class: ie({ "is-draggable": !n.disableDrag }),
|
|
297
|
+
key: `media-${z}-${r.url}`,
|
|
297
298
|
src: r.url,
|
|
298
299
|
style: re(A.value),
|
|
299
300
|
onMousedown: e[0] || (e[0] = (_) => q(_)),
|
|
300
301
|
dragable: "false"
|
|
301
|
-
}, null,
|
|
302
|
-
r.type === w.value.VIDEO ? (
|
|
302
|
+
}, null, 46, be)) : v("", !0),
|
|
303
|
+
r.type === w.value.VIDEO ? (s(), o("video", {
|
|
303
304
|
key: 1,
|
|
304
305
|
poster: r.poster,
|
|
305
306
|
src: r.url,
|
|
@@ -307,80 +308,81 @@ const be = ["src"], he = ["poster", "src"], we = {
|
|
|
307
308
|
controlslist: "nodownload noremoteplayback noplaybackrate",
|
|
308
309
|
disablePictureInPicture: "",
|
|
309
310
|
disableRemotePlayback: ""
|
|
310
|
-
}, null, 8, he)) :
|
|
311
|
-
], 64)) :
|
|
311
|
+
}, null, 8, he)) : v("", !0)
|
|
312
|
+
], 64)) : v("", !0)
|
|
312
313
|
], 64))), 256))
|
|
313
314
|
], 32),
|
|
314
|
-
y.value ?
|
|
315
|
-
n.
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
y.value ? v("", !0) : (s(), o("div", we, [
|
|
316
|
+
n.disableCounter ? (s(), o("div", Pe)) : (s(), o("div", Ee, [
|
|
317
|
+
d("span", ke, B(`${u.value + 1} `), 1),
|
|
318
|
+
e[11] || (e[11] = d("span", { class: "connect" }, "/", -1)),
|
|
319
|
+
d("span", xe, B(b.value.length), 1)
|
|
318
320
|
])),
|
|
319
|
-
n.
|
|
321
|
+
n.disableName ? v("", !0) : (s(), o("div", {
|
|
320
322
|
key: 2,
|
|
321
323
|
class: "control name",
|
|
322
324
|
onClick: e[2] || (e[2] = (r) => H())
|
|
323
325
|
}, B(E.value.name), 1)),
|
|
324
|
-
|
|
326
|
+
d("div", {
|
|
325
327
|
class: "control close",
|
|
326
328
|
onClick: e[3] || (e[3] = (r) => Q())
|
|
327
|
-
}, [...e[
|
|
328
|
-
|
|
329
|
+
}, [...e[12] || (e[12] = [
|
|
330
|
+
d("i", { class: "iconfont-popup-plugin-preset album-close" }, null, -1)
|
|
329
331
|
])])
|
|
330
332
|
])),
|
|
331
|
-
y.value ?
|
|
332
|
-
j.value ? (
|
|
333
|
+
y.value ? v("", !0) : (s(), o("div", Ie, [
|
|
334
|
+
j.value ? (s(), o("div", {
|
|
333
335
|
key: 0,
|
|
334
336
|
class: "control back",
|
|
335
337
|
onClick: e[4] || (e[4] = (r) => Y())
|
|
336
|
-
}, [...e[
|
|
337
|
-
|
|
338
|
-
])])) :
|
|
338
|
+
}, [...e[13] || (e[13] = [
|
|
339
|
+
d("i", { class: "iconfont-popup-plugin-preset album-prev" }, null, -1)
|
|
340
|
+
])])) : v("", !0)
|
|
339
341
|
])),
|
|
340
|
-
y.value ?
|
|
341
|
-
R.value ? (
|
|
342
|
+
y.value ? v("", !0) : (s(), o("div", Oe, [
|
|
343
|
+
R.value ? (s(), o("div", {
|
|
342
344
|
key: 0,
|
|
343
345
|
class: "control next",
|
|
344
|
-
onClick: e[5] || (e[5] = (r) =>
|
|
345
|
-
}, [...e[
|
|
346
|
-
|
|
347
|
-
])])) :
|
|
346
|
+
onClick: e[5] || (e[5] = (r) => G())
|
|
347
|
+
}, [...e[14] || (e[14] = [
|
|
348
|
+
d("i", { class: "iconfont-popup-plugin-preset album-next" }, null, -1)
|
|
349
|
+
])])) : v("", !0)
|
|
348
350
|
])),
|
|
349
|
-
y.value ?
|
|
350
|
-
n.
|
|
351
|
+
y.value ? v("", !0) : (s(), o("div", Se, [
|
|
352
|
+
n.disablePure ? (s(), o("div", De)) : (s(), o("div", {
|
|
351
353
|
key: 0,
|
|
352
354
|
class: "control",
|
|
353
355
|
onClick: e[6] || (e[6] = (r) => J())
|
|
354
|
-
}, [...e[
|
|
355
|
-
|
|
356
|
+
}, [...e[15] || (e[15] = [
|
|
357
|
+
d("i", { class: "iconfont-popup-plugin-preset album-pure" }, null, -1)
|
|
356
358
|
])])),
|
|
357
|
-
|
|
358
|
-
!n.
|
|
359
|
+
d("div", Ce, [
|
|
360
|
+
!n.disableScale && U.value ? (s(), o("div", {
|
|
359
361
|
key: 0,
|
|
360
362
|
class: "control",
|
|
361
|
-
onClick: e[7] || (e[7] = (r) => M(!0,
|
|
362
|
-
}, [...e[
|
|
363
|
-
|
|
364
|
-
])])) :
|
|
365
|
-
!n.
|
|
363
|
+
onClick: e[7] || (e[7] = (r) => M(!0, a.value))
|
|
364
|
+
}, [...e[16] || (e[16] = [
|
|
365
|
+
d("i", { class: "iconfont-popup-plugin-preset album-enlarge" }, null, -1)
|
|
366
|
+
])])) : v("", !0),
|
|
367
|
+
!n.disableScale && U.value ? (s(), o("div", {
|
|
366
368
|
key: 1,
|
|
367
369
|
class: "control",
|
|
368
|
-
onClick: e[8] || (e[8] = (r) => M(!1,
|
|
369
|
-
}, [...e[
|
|
370
|
-
|
|
371
|
-
])])) :
|
|
370
|
+
onClick: e[8] || (e[8] = (r) => M(!1, a.value))
|
|
371
|
+
}, [...e[17] || (e[17] = [
|
|
372
|
+
d("i", { class: "iconfont-popup-plugin-preset album-narrow" }, null, -1)
|
|
373
|
+
])])) : v("", !0)
|
|
372
374
|
]),
|
|
373
|
-
n.
|
|
375
|
+
n.disableDownload ? (s(), o("div", Ue)) : (s(), o("div", {
|
|
374
376
|
key: 2,
|
|
375
377
|
class: "control download",
|
|
376
378
|
onClick: e[9] || (e[9] = (r) => Z())
|
|
377
|
-
}, [...e[
|
|
378
|
-
|
|
379
|
+
}, [...e[18] || (e[18] = [
|
|
380
|
+
d("i", { class: "iconfont-popup-plugin-preset download" }, null, -1)
|
|
379
381
|
])]))
|
|
380
382
|
]))
|
|
381
383
|
], 32));
|
|
382
384
|
}
|
|
383
|
-
}),
|
|
385
|
+
}), Te = /* @__PURE__ */ de(Me, [["__scopeId", "data-v-e03b9968"]]);
|
|
384
386
|
export {
|
|
385
|
-
|
|
387
|
+
Te as default
|
|
386
388
|
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { defineComponent as l, useCssVars as p, createElementBlock as i, openBlock as n, normalizeClass as _, createElementVNode as s, inject as f, createVNode as c, createCommentVNode as r, createBlock as P, toDisplayString as g, withCtx as d, createTextVNode as h } from "vue";
|
|
2
|
+
import { usePopup as C, POPUP_COMPONENT_INJECTS as x } from "vue-popup-plus";
|
|
3
|
+
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import { P as I, a as N } from "./PButtonGroup-C-RNjqPq.js";
|
|
5
|
+
const v = /* @__PURE__ */ l({
|
|
6
|
+
name: "PLoadingIcon",
|
|
7
|
+
__name: "PLoadingIcon",
|
|
8
|
+
props: {
|
|
9
|
+
theme: { default: "primary" },
|
|
10
|
+
size: { default: 60 }
|
|
11
|
+
},
|
|
12
|
+
setup(e) {
|
|
13
|
+
return p((t) => ({
|
|
14
|
+
v35198121: `${t.size}px`
|
|
15
|
+
})), (t, o) => (n(), i("div", {
|
|
16
|
+
class: _(["p-loading-icon", `is-theme-${e.theme}`])
|
|
17
|
+
}, [...o[0] || (o[0] = [
|
|
18
|
+
s("svg", { viewBox: "25 25 50 50" }, [
|
|
19
|
+
s("circle", {
|
|
20
|
+
cx: "50",
|
|
21
|
+
cy: "50",
|
|
22
|
+
fill: "none",
|
|
23
|
+
r: "20"
|
|
24
|
+
})
|
|
25
|
+
], -1)
|
|
26
|
+
])], 2));
|
|
27
|
+
}
|
|
28
|
+
}), y = /* @__PURE__ */ m(v, [["__scopeId", "data-v-2c246d61"]]), z = { class: "p-loading" }, B = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "title"
|
|
31
|
+
}, k = /* @__PURE__ */ l({
|
|
32
|
+
name: "PLoading",
|
|
33
|
+
__name: "PLoading",
|
|
34
|
+
props: {
|
|
35
|
+
theme: {},
|
|
36
|
+
title: {},
|
|
37
|
+
iconSize: {},
|
|
38
|
+
debugMode: { type: Boolean }
|
|
39
|
+
},
|
|
40
|
+
setup(e) {
|
|
41
|
+
const t = C(), o = f(x.INSTANCE_ID);
|
|
42
|
+
function u() {
|
|
43
|
+
t.destroy(o);
|
|
44
|
+
}
|
|
45
|
+
return (L, a) => (n(), i("div", z, [
|
|
46
|
+
c(y, {
|
|
47
|
+
size: e.iconSize,
|
|
48
|
+
theme: e.theme
|
|
49
|
+
}, null, 8, ["size", "theme"]),
|
|
50
|
+
e.title ? (n(), i("div", B, g(e.title), 1)) : r("", !0),
|
|
51
|
+
e.debugMode ? (n(), P(I, {
|
|
52
|
+
key: 1,
|
|
53
|
+
align: "center"
|
|
54
|
+
}, {
|
|
55
|
+
default: d(() => [
|
|
56
|
+
c(N, {
|
|
57
|
+
onClick: u,
|
|
58
|
+
theme: "primary"
|
|
59
|
+
}, {
|
|
60
|
+
default: d(() => [...a[0] || (a[0] = [
|
|
61
|
+
h("强制关闭遮罩(仅在调试模式下可用)", -1)
|
|
62
|
+
])]),
|
|
63
|
+
_: 1
|
|
64
|
+
})
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
})) : r("", !0)
|
|
68
|
+
]));
|
|
69
|
+
}
|
|
70
|
+
}), M = /* @__PURE__ */ m(k, [["__scopeId", "data-v-c71a204e"]]);
|
|
71
|
+
export {
|
|
72
|
+
M as default
|
|
73
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
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
2
|
import { usePopup as p, POPUP_COMPONENT_INJECTS as u } from "vue-popup-plus";
|
|
3
|
-
import "./vue-popup-plus-plugin-preset.js";
|
|
4
3
|
import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
4
|
const P = { class: "content" }, _ = /* @__PURE__ */ a({
|
|
6
5
|
name: "PToast",
|
|
@@ -24,7 +23,7 @@ const P = { class: "content" }, _ = /* @__PURE__ */ a({
|
|
|
24
23
|
o("div", P, l(e.content), 1)
|
|
25
24
|
], 2));
|
|
26
25
|
}
|
|
27
|
-
}),
|
|
26
|
+
}), C = /* @__PURE__ */ f(_, [["__scopeId", "data-v-91202cf8"]]);
|
|
28
27
|
export {
|
|
29
|
-
|
|
28
|
+
C as default
|
|
30
29
|
};
|