bootstrap-vue-top 1.0.1 → 1.0.2
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/bootstrap-vue.js +182 -189
- package/dist/bootstrap-vue.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/bootstrap-vue.js
CHANGED
|
@@ -6111,21 +6111,9 @@ var Cu = f({
|
|
|
6111
6111
|
for (let e of n.find("[aria-modal][class*=show][class*=offcanvas-]")) getComputedStyle(e).position !== "fixed" && T.getOrCreateInstance(e).hide();
|
|
6112
6112
|
}), i.enableDismissTrigger(T), o.defineJQueryPlugin(T), T;
|
|
6113
6113
|
}));
|
|
6114
|
-
})))()), Rd = ["id", "aria-labelledby"], zd = { class: "offcanvas-header" }, Bd = ["id"], Vd = { class: "offcanvas-body" },
|
|
6114
|
+
})))()), Rd = ["id", "aria-labelledby"], zd = { class: "offcanvas-header" }, Bd = ["id"], Vd = ["data-bs-target"], Hd = { class: "offcanvas-body" }, Ud = {
|
|
6115
6115
|
__name: "offcanvas",
|
|
6116
6116
|
props: {
|
|
6117
|
-
position: {
|
|
6118
|
-
type: String,
|
|
6119
|
-
default: "start",
|
|
6120
|
-
validator(e) {
|
|
6121
|
-
return [
|
|
6122
|
-
"start",
|
|
6123
|
-
"end",
|
|
6124
|
-
"top",
|
|
6125
|
-
"bottom"
|
|
6126
|
-
].includes(e);
|
|
6127
|
-
}
|
|
6128
|
-
},
|
|
6129
6117
|
title: {
|
|
6130
6118
|
type: String,
|
|
6131
6119
|
default: "Offcanvas"
|
|
@@ -6134,6 +6122,10 @@ var Cu = f({
|
|
|
6134
6122
|
type: [String, Boolean],
|
|
6135
6123
|
default: !0
|
|
6136
6124
|
},
|
|
6125
|
+
offcanvasClass: {
|
|
6126
|
+
type: String,
|
|
6127
|
+
default: "offcanvas offcanvas-start"
|
|
6128
|
+
},
|
|
6137
6129
|
offcanvasStyle: {
|
|
6138
6130
|
type: String,
|
|
6139
6131
|
default: null
|
|
@@ -6141,50 +6133,51 @@ var Cu = f({
|
|
|
6141
6133
|
},
|
|
6142
6134
|
emits: ["offcanvas-shown"],
|
|
6143
6135
|
setup(e, { expose: t, emit: n }) {
|
|
6144
|
-
let
|
|
6136
|
+
let r = n, i = A(), a = e, c = null;
|
|
6145
6137
|
return v(() => {
|
|
6146
|
-
if (
|
|
6147
|
-
let e = document.getElementById(
|
|
6148
|
-
|
|
6149
|
-
|
|
6138
|
+
if (c === null) {
|
|
6139
|
+
let e = document.getElementById(i);
|
|
6140
|
+
c = new Ld.default(e, { backdrop: a.backdrop }), e.addEventListener("shown.bs.offcanvas", (e) => {
|
|
6141
|
+
r("offcanvas-shown");
|
|
6150
6142
|
});
|
|
6151
6143
|
}
|
|
6152
6144
|
}), _(() => {
|
|
6153
|
-
|
|
6145
|
+
c !== null && (c.dispose(), c = null);
|
|
6154
6146
|
}), t({ toggle: function() {
|
|
6155
|
-
|
|
6147
|
+
c.toggle();
|
|
6156
6148
|
} }), (t, n) => (y(), o("div", {
|
|
6157
|
-
class: h(
|
|
6149
|
+
class: h(e.offcanvasClass),
|
|
6158
6150
|
style: g(e.offcanvasStyle),
|
|
6159
6151
|
tabindex: "-1",
|
|
6160
|
-
id: k(
|
|
6161
|
-
"aria-labelledby": `${k(
|
|
6152
|
+
id: k(i),
|
|
6153
|
+
"aria-labelledby": `${k(i)}Label`
|
|
6162
6154
|
}, [s("div", zd, [s("h5", {
|
|
6163
6155
|
class: "offcanvas-title",
|
|
6164
|
-
id: `${k(
|
|
6165
|
-
}, O(e.title), 9, Bd),
|
|
6156
|
+
id: `${k(i)}Label`
|
|
6157
|
+
}, O(e.title), 9, Bd), s("button", {
|
|
6166
6158
|
type: "button",
|
|
6167
6159
|
class: "btn-close",
|
|
6168
6160
|
"data-bs-dismiss": "offcanvas",
|
|
6161
|
+
"data-bs-target": `#${k(i)}`,
|
|
6169
6162
|
"aria-label": "Close"
|
|
6170
|
-
}, null,
|
|
6163
|
+
}, null, 8, Vd)]), s("div", Hd, [w(t.$slots, "default")])], 14, Rd));
|
|
6171
6164
|
}
|
|
6172
|
-
},
|
|
6165
|
+
}, Wd = {
|
|
6173
6166
|
class: "bi",
|
|
6174
6167
|
viewBox: "0 0 16 16",
|
|
6175
6168
|
width: "1em",
|
|
6176
6169
|
height: "1em"
|
|
6177
6170
|
};
|
|
6178
|
-
function
|
|
6179
|
-
return y(), o("svg",
|
|
6171
|
+
function Gd(e, t) {
|
|
6172
|
+
return y(), o("svg", Wd, [...t[0] || (t[0] = [s("path", {
|
|
6180
6173
|
fill: "currentColor",
|
|
6181
6174
|
d: "M16 8A8 8 0 1 0 0 8a8 8 0 0 0 16 0m-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707z"
|
|
6182
6175
|
}, null, -1)])]);
|
|
6183
6176
|
}
|
|
6184
|
-
var
|
|
6177
|
+
var Kd = f({
|
|
6185
6178
|
name: "bi-arrow-up-circle-fill",
|
|
6186
|
-
render:
|
|
6187
|
-
}),
|
|
6179
|
+
render: Gd
|
|
6180
|
+
}), qd = {
|
|
6188
6181
|
__name: "backtop",
|
|
6189
6182
|
props: {
|
|
6190
6183
|
color: {
|
|
@@ -6232,7 +6225,7 @@ var Gd = f({
|
|
|
6232
6225
|
document.documentElement.scrollTo({ top: 0 });
|
|
6233
6226
|
}
|
|
6234
6227
|
return (e, r) => {
|
|
6235
|
-
let c =
|
|
6228
|
+
let c = Kd;
|
|
6236
6229
|
return y(), i(t, { to: "body" }, [l(n, { name: "fadeIn" }, {
|
|
6237
6230
|
default: L(() => [s.value ? (y(), o("a", {
|
|
6238
6231
|
key: 0,
|
|
@@ -6245,35 +6238,35 @@ var Gd = f({
|
|
|
6245
6238
|
})]);
|
|
6246
6239
|
};
|
|
6247
6240
|
}
|
|
6248
|
-
},
|
|
6241
|
+
}, Jd = {
|
|
6249
6242
|
class: "bi",
|
|
6250
6243
|
viewBox: "0 0 16 16",
|
|
6251
6244
|
width: "1em",
|
|
6252
6245
|
height: "1em"
|
|
6253
6246
|
};
|
|
6254
|
-
function
|
|
6255
|
-
return y(), o("svg",
|
|
6247
|
+
function Yd(e, t) {
|
|
6248
|
+
return y(), o("svg", Jd, [...t[0] || (t[0] = [s("path", {
|
|
6256
6249
|
fill: "currentColor",
|
|
6257
6250
|
"fill-rule": "evenodd",
|
|
6258
6251
|
d: "M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2"
|
|
6259
6252
|
}, null, -1)])]);
|
|
6260
6253
|
}
|
|
6261
|
-
var
|
|
6254
|
+
var Xd = f({
|
|
6262
6255
|
name: "bi-plus-lg",
|
|
6263
|
-
render:
|
|
6264
|
-
}),
|
|
6256
|
+
render: Yd
|
|
6257
|
+
}), Zd = {
|
|
6265
6258
|
class: "bi",
|
|
6266
6259
|
viewBox: "0 0 16 16",
|
|
6267
6260
|
width: "1em",
|
|
6268
6261
|
height: "1em"
|
|
6269
6262
|
};
|
|
6270
|
-
function
|
|
6271
|
-
return y(), o("svg",
|
|
6263
|
+
function Qd(e, t) {
|
|
6264
|
+
return y(), o("svg", Zd, [...t[0] || (t[0] = [s("g", { fill: "currentColor" }, [s("path", { d: "M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z" }), s("path", { d: "M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z" })], -1)])]);
|
|
6272
6265
|
}
|
|
6273
|
-
var
|
|
6266
|
+
var $d = f({
|
|
6274
6267
|
name: "bi-trash",
|
|
6275
|
-
render:
|
|
6276
|
-
}),
|
|
6268
|
+
render: Qd
|
|
6269
|
+
}), ef = { class: "image-uploader-one" }, tf = ["src"], nf = { class: "position-absolute top-0 end-0 z-1 p-2" }, rf = ["disabled"], af = ["disabled"], of = {
|
|
6277
6270
|
__name: "image-one-uploader",
|
|
6278
6271
|
props: {
|
|
6279
6272
|
imgUrl: {
|
|
@@ -6313,8 +6306,8 @@ var Qd = f({
|
|
|
6313
6306
|
r("file-preview");
|
|
6314
6307
|
}
|
|
6315
6308
|
return (n, r) => {
|
|
6316
|
-
let p =
|
|
6317
|
-
return y(), o(e, null, [s("div",
|
|
6309
|
+
let p = $d, m = Xd;
|
|
6310
|
+
return y(), o(e, null, [s("div", ef, [t.imgUrl ? (y(), o("div", {
|
|
6318
6311
|
key: 0,
|
|
6319
6312
|
class: "position-relative",
|
|
6320
6313
|
style: g({
|
|
@@ -6328,13 +6321,13 @@ var Qd = f({
|
|
|
6328
6321
|
}, [s("img", {
|
|
6329
6322
|
class: "d-block border object-fit-cover rounded w-100 h-100",
|
|
6330
6323
|
src: t.imgUrl
|
|
6331
|
-
}, null, 8,
|
|
6324
|
+
}, null, 8, tf)]), s("div", nf, [s("button", {
|
|
6332
6325
|
type: "button",
|
|
6333
6326
|
disabled: t.disabled,
|
|
6334
6327
|
class: "btn btn-danger btn-sm",
|
|
6335
6328
|
style: { "--bs-btn-border-radius": "50%" },
|
|
6336
6329
|
onClick: z(d, ["stop"])
|
|
6337
|
-
}, [l(p)], 8,
|
|
6330
|
+
}, [l(p)], 8, rf)])], 4)) : (y(), o("button", {
|
|
6338
6331
|
key: 1,
|
|
6339
6332
|
type: "button",
|
|
6340
6333
|
disabled: t.disabled,
|
|
@@ -6344,7 +6337,7 @@ var Qd = f({
|
|
|
6344
6337
|
height: t.height
|
|
6345
6338
|
}),
|
|
6346
6339
|
onClick: c
|
|
6347
|
-
}, [l(m, { class: "fs-3" })], 12,
|
|
6340
|
+
}, [l(m, { class: "fs-3" })], 12, af)), s("input", {
|
|
6348
6341
|
ref_key: "fileRef",
|
|
6349
6342
|
ref: i,
|
|
6350
6343
|
type: "file",
|
|
@@ -6355,29 +6348,29 @@ var Qd = f({
|
|
|
6355
6348
|
}, null, 544)]), n.$slots.tip ? w(n.$slots, "tip", {}, void 0, void 0, 0) : a("", !0)], 64);
|
|
6356
6349
|
};
|
|
6357
6350
|
}
|
|
6358
|
-
},
|
|
6351
|
+
}, sf = {
|
|
6359
6352
|
class: "bi",
|
|
6360
6353
|
viewBox: "0 0 16 16",
|
|
6361
6354
|
width: "1em",
|
|
6362
6355
|
height: "1em"
|
|
6363
6356
|
};
|
|
6364
|
-
function
|
|
6365
|
-
return y(), o("svg",
|
|
6357
|
+
function cf(e, t) {
|
|
6358
|
+
return y(), o("svg", sf, [...t[0] || (t[0] = [s("path", {
|
|
6366
6359
|
fill: "currentColor",
|
|
6367
6360
|
"fill-rule": "evenodd",
|
|
6368
6361
|
d: "M7.646.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 1.707V5.5a.5.5 0 0 1-1 0V1.707L6.354 2.854a.5.5 0 1 1-.708-.708zM8 10a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L7.5 14.293V10.5A.5.5 0 0 1 8 10M.146 8.354a.5.5 0 0 1 0-.708l2-2a.5.5 0 1 1 .708.708L1.707 7.5H5.5a.5.5 0 0 1 0 1H1.707l1.147 1.146a.5.5 0 0 1-.708.708zM10 8a.5.5 0 0 1 .5-.5h3.793l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L14.293 8.5H10.5A.5.5 0 0 1 10 8"
|
|
6369
6362
|
}, null, -1)])]);
|
|
6370
6363
|
}
|
|
6371
|
-
var
|
|
6364
|
+
var lf = f({
|
|
6372
6365
|
name: "bi-arrows-move",
|
|
6373
|
-
render:
|
|
6374
|
-
}),
|
|
6366
|
+
render: cf
|
|
6367
|
+
}), uf = { class: "image-uploader-many" }, df = ["onDragstart", "onDragenter"], ff = ["onClick"], pf = ["src"], mf = {
|
|
6375
6368
|
key: 0,
|
|
6376
6369
|
class: "position-absolute top-0 start-0 end-0 z-1 d-flex justify-content-between p-2"
|
|
6377
|
-
},
|
|
6370
|
+
}, hf = ["disabled"], gf = ["disabled", "onClick"], _f = {
|
|
6378
6371
|
key: 1,
|
|
6379
6372
|
class: "position-absolute top-0 start-0 end-0 z-1 d-flex justify-content-end p-2"
|
|
6380
|
-
},
|
|
6373
|
+
}, vf = ["disabled", "onClick"], yf = ["disabled"], bf = {
|
|
6381
6374
|
__name: "image-many-uploader",
|
|
6382
6375
|
props: {
|
|
6383
6376
|
imgUrls: {
|
|
@@ -6449,8 +6442,8 @@ var cf = f({
|
|
|
6449
6442
|
e.button === 0 && e.currentTarget.parentNode.parentNode.setAttribute("draggable", !1);
|
|
6450
6443
|
}
|
|
6451
6444
|
return (n, r) => {
|
|
6452
|
-
let i =
|
|
6453
|
-
return y(), o(e, null, [s("div",
|
|
6445
|
+
let i = lf, m = $d, T = Xd;
|
|
6446
|
+
return y(), o(e, null, [s("div", uf, [
|
|
6454
6447
|
(y(!0), o(e, null, C(t.imgUrls, (e, n) => (y(), o("div", {
|
|
6455
6448
|
class: "position-relative",
|
|
6456
6449
|
style: g({
|
|
@@ -6472,7 +6465,7 @@ var cf = f({
|
|
|
6472
6465
|
draggable: "false",
|
|
6473
6466
|
class: "d-block border object-fit-cover rounded w-100 h-100",
|
|
6474
6467
|
src: e
|
|
6475
|
-
}, null, 8,
|
|
6468
|
+
}, null, 8, pf)], 8, ff), t.sortable ? (y(), o("div", mf, [s("button", {
|
|
6476
6469
|
type: "button",
|
|
6477
6470
|
disabled: t.disabled,
|
|
6478
6471
|
class: "btn btn-secondary btn-sm",
|
|
@@ -6482,19 +6475,19 @@ var cf = f({
|
|
|
6482
6475
|
},
|
|
6483
6476
|
onMousedown: x,
|
|
6484
6477
|
onMouseup: S
|
|
6485
|
-
}, [l(i)], 40,
|
|
6478
|
+
}, [l(i)], 40, hf), s("button", {
|
|
6486
6479
|
type: "button",
|
|
6487
6480
|
disabled: t.disabled,
|
|
6488
6481
|
class: "btn btn-danger btn-sm",
|
|
6489
6482
|
style: { "--bs-btn-border-radius": "50%" },
|
|
6490
6483
|
onClick: z((e) => f(n), ["stop"])
|
|
6491
|
-
}, [l(m)], 8,
|
|
6484
|
+
}, [l(m)], 8, gf)])) : (y(), o("div", _f, [s("button", {
|
|
6492
6485
|
type: "button",
|
|
6493
6486
|
disabled: t.disabled,
|
|
6494
6487
|
class: "btn btn-danger btn-sm",
|
|
6495
6488
|
style: { "--bs-btn-border-radius": "50%" },
|
|
6496
6489
|
onClick: z((e) => f(n), ["stop"])
|
|
6497
|
-
}, [l(m)], 8,
|
|
6490
|
+
}, [l(m)], 8, vf)]))], 44, df))), 128)),
|
|
6498
6491
|
s("button", {
|
|
6499
6492
|
type: "button",
|
|
6500
6493
|
disabled: t.disabled,
|
|
@@ -6504,7 +6497,7 @@ var cf = f({
|
|
|
6504
6497
|
height: t.height
|
|
6505
6498
|
}),
|
|
6506
6499
|
onClick: u
|
|
6507
|
-
}, [l(T, { class: "fs-3" })], 12,
|
|
6500
|
+
}, [l(T, { class: "fs-3" })], 12, yf),
|
|
6508
6501
|
s("input", {
|
|
6509
6502
|
ref_key: "fileRef",
|
|
6510
6503
|
ref: c,
|
|
@@ -6518,37 +6511,37 @@ var cf = f({
|
|
|
6518
6511
|
]), n.$slots.tip ? w(n.$slots, "tip", {}, void 0, void 0, 0) : a("", !0)], 64);
|
|
6519
6512
|
};
|
|
6520
6513
|
}
|
|
6521
|
-
},
|
|
6514
|
+
}, xf = {
|
|
6522
6515
|
class: "bi",
|
|
6523
6516
|
viewBox: "0 0 16 16",
|
|
6524
6517
|
width: "1em",
|
|
6525
6518
|
height: "1em"
|
|
6526
6519
|
};
|
|
6527
|
-
function
|
|
6528
|
-
return y(), o("svg",
|
|
6520
|
+
function Sf(e, t) {
|
|
6521
|
+
return y(), o("svg", xf, [...t[0] || (t[0] = [s("path", {
|
|
6529
6522
|
fill: "currentColor",
|
|
6530
6523
|
d: "M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z"
|
|
6531
6524
|
}, null, -1)])]);
|
|
6532
6525
|
}
|
|
6533
|
-
var
|
|
6526
|
+
var Cf = f({
|
|
6534
6527
|
name: "bi-x-lg",
|
|
6535
|
-
render:
|
|
6536
|
-
}),
|
|
6528
|
+
render: Sf
|
|
6529
|
+
}), wf = {
|
|
6537
6530
|
class: "bi",
|
|
6538
6531
|
viewBox: "0 0 16 16",
|
|
6539
6532
|
width: "1em",
|
|
6540
6533
|
height: "1em"
|
|
6541
6534
|
};
|
|
6542
|
-
function
|
|
6543
|
-
return y(), o("svg",
|
|
6535
|
+
function Tf(e, t) {
|
|
6536
|
+
return y(), o("svg", wf, [...t[0] || (t[0] = [s("g", { fill: "currentColor" }, [s("path", { d: "M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8M1.173 8a13 13 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5s3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5s-3.879-1.168-5.168-2.457A13 13 0 0 1 1.172 8z" }), s("path", { d: "M8 5.5a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5M4.5 8a3.5 3.5 0 1 1 7 0a3.5 3.5 0 0 1-7 0" })], -1)])]);
|
|
6544
6537
|
}
|
|
6545
|
-
var
|
|
6538
|
+
var Ef = f({
|
|
6546
6539
|
name: "bi-eye",
|
|
6547
|
-
render:
|
|
6548
|
-
}),
|
|
6540
|
+
render: Tf
|
|
6541
|
+
}), Df = {
|
|
6549
6542
|
key: 1,
|
|
6550
6543
|
class: "list-unstyled mb-0"
|
|
6551
|
-
},
|
|
6544
|
+
}, Of = { class: "d-flex align-items-center border-bottom py-2" }, kf = { class: "me-3" }, Af = { class: "text-body-secondary me-3 d-none d-sm-block" }, jf = ["href"], Mf = ["onClick"], Nf = ["multiple"], Pf = {
|
|
6552
6545
|
__name: "file-uploader",
|
|
6553
6546
|
props: {
|
|
6554
6547
|
fileList: {
|
|
@@ -6590,25 +6583,25 @@ var Tf = f({
|
|
|
6590
6583
|
return `${parseFloat((e / Math.pow(n, i)).toFixed(t))} ${r[i]}`;
|
|
6591
6584
|
}
|
|
6592
6585
|
return (n, r) => {
|
|
6593
|
-
let p =
|
|
6586
|
+
let p = Ef, m = Cf;
|
|
6594
6587
|
return y(), o("div", {
|
|
6595
6588
|
ref_key: "elementRef",
|
|
6596
6589
|
ref: i
|
|
6597
6590
|
}, [
|
|
6598
6591
|
w(n.$slots, "trigger"),
|
|
6599
6592
|
n.$slots.tip ? w(n.$slots, "tip", {}, void 0, void 0, 0) : a("", !0),
|
|
6600
|
-
t.fileList.length > 0 ? (y(), o("ul",
|
|
6601
|
-
s("span",
|
|
6602
|
-
s("small",
|
|
6593
|
+
t.fileList.length > 0 ? (y(), o("ul", Df, [(y(!0), o(e, null, C(t.fileList, (e, t) => (y(), o("li", Of, [
|
|
6594
|
+
s("span", kf, O(t + 1) + ". " + O(e.name), 1),
|
|
6595
|
+
s("small", Af, "[" + O(f(e.size)) + "]", 1),
|
|
6603
6596
|
s("a", {
|
|
6604
6597
|
class: "ms-auto me-3",
|
|
6605
6598
|
href: e.url,
|
|
6606
6599
|
target: "_blank"
|
|
6607
|
-
}, [l(p)], 8,
|
|
6600
|
+
}, [l(p)], 8, jf),
|
|
6608
6601
|
s("a", {
|
|
6609
6602
|
href: "#",
|
|
6610
6603
|
onClick: z((e) => d(t), ["prevent"])
|
|
6611
|
-
}, [l(m)], 8,
|
|
6604
|
+
}, [l(m)], 8, Mf)
|
|
6612
6605
|
]))), 256))])) : a("", !0),
|
|
6613
6606
|
s("input", {
|
|
6614
6607
|
ref_key: "fileRef",
|
|
@@ -6618,15 +6611,15 @@ var Tf = f({
|
|
|
6618
6611
|
name: "file",
|
|
6619
6612
|
style: { display: "none" },
|
|
6620
6613
|
onChange: u
|
|
6621
|
-
}, null, 40,
|
|
6614
|
+
}, null, 40, Nf)
|
|
6622
6615
|
], 512);
|
|
6623
6616
|
};
|
|
6624
6617
|
}
|
|
6625
|
-
},
|
|
6618
|
+
}, Ff = {
|
|
6626
6619
|
key: 0,
|
|
6627
6620
|
class: "position-absolute top-0 start-0 w-100 h-100 text-center z-1",
|
|
6628
6621
|
style: { "background-color": "rgba(255, 255, 255, 0.5)" }
|
|
6629
|
-
},
|
|
6622
|
+
}, If = {
|
|
6630
6623
|
__name: "loading",
|
|
6631
6624
|
props: { loading: {
|
|
6632
6625
|
type: Boolean,
|
|
@@ -6646,7 +6639,7 @@ var Tf = f({
|
|
|
6646
6639
|
class: "position-relative",
|
|
6647
6640
|
tabindex: "-1"
|
|
6648
6641
|
}, [w(r.$slots, "default"), l(n, { name: "fadeIn" }, {
|
|
6649
|
-
default: L(() => [e.loading ? (y(), o("div",
|
|
6642
|
+
default: L(() => [e.loading ? (y(), o("div", Ff, [...i[0] || (i[0] = [s("div", {
|
|
6650
6643
|
class: "spinner-border text-primary",
|
|
6651
6644
|
role: "status",
|
|
6652
6645
|
style: { "margin-top": "2rem" }
|
|
@@ -6654,22 +6647,22 @@ var Tf = f({
|
|
|
6654
6647
|
_: 1
|
|
6655
6648
|
})], 512));
|
|
6656
6649
|
}
|
|
6657
|
-
},
|
|
6650
|
+
}, Lf = {
|
|
6658
6651
|
class: "bi",
|
|
6659
6652
|
viewBox: "0 0 16 16",
|
|
6660
6653
|
width: "1em",
|
|
6661
6654
|
height: "1em"
|
|
6662
6655
|
};
|
|
6663
|
-
function
|
|
6664
|
-
return y(), o("svg",
|
|
6656
|
+
function Rf(e, t) {
|
|
6657
|
+
return y(), o("svg", Lf, [...t[0] || (t[0] = [s("g", { fill: "currentColor" }, [s("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }), s("path", { d: "M7.002 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0M7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z" })], -1)])]);
|
|
6665
6658
|
}
|
|
6666
|
-
var
|
|
6659
|
+
var zf = f({
|
|
6667
6660
|
name: "bi-exclamation-circle",
|
|
6668
|
-
render:
|
|
6669
|
-
}),
|
|
6661
|
+
render: Rf
|
|
6662
|
+
}), Bf = {
|
|
6670
6663
|
class: "shadow rounded bg-body p-3 col-sm-9 col-md-6 col-lg-4 col-xl-3",
|
|
6671
6664
|
style: { "margin-top": "25vh" }
|
|
6672
|
-
},
|
|
6665
|
+
}, Vf = { class: "d-flex justify-content-center align-items-center" }, Hf = { class: "me-2" }, Uf = { class: "fs-5 fw-bolder" }, Wf = {
|
|
6673
6666
|
__name: "alert-box",
|
|
6674
6667
|
props: { message: {
|
|
6675
6668
|
type: String,
|
|
@@ -6688,7 +6681,7 @@ var Rf = f({
|
|
|
6688
6681
|
a.value = !1;
|
|
6689
6682
|
}
|
|
6690
6683
|
return (r, c) => {
|
|
6691
|
-
let u =
|
|
6684
|
+
let u = zf;
|
|
6692
6685
|
return y(), i(n, {
|
|
6693
6686
|
name: "fadeIn",
|
|
6694
6687
|
onAfterLeave: c[0] || (c[0] = (e) => r.$emit("destroy"))
|
|
@@ -6699,8 +6692,8 @@ var Rf = f({
|
|
|
6699
6692
|
tabindex: "-1",
|
|
6700
6693
|
class: "alert-box d-flex justify-content-center align-items-start",
|
|
6701
6694
|
role: "alert"
|
|
6702
|
-
}, [s("div",
|
|
6703
|
-
s("div",
|
|
6695
|
+
}, [s("div", Bf, [
|
|
6696
|
+
s("div", Vf, [s("div", Hf, [l(u, { class: "text-danger fs-5" })]), s("div", Uf, O(e.message), 1)]),
|
|
6704
6697
|
c[1] || (c[1] = s("hr", null, null, -1)),
|
|
6705
6698
|
s("div", { class: "text-center" }, [s("button", {
|
|
6706
6699
|
type: "button",
|
|
@@ -6712,19 +6705,19 @@ var Rf = f({
|
|
|
6712
6705
|
});
|
|
6713
6706
|
};
|
|
6714
6707
|
}
|
|
6715
|
-
},
|
|
6716
|
-
|
|
6717
|
-
let t = l(
|
|
6708
|
+
}, Gf = null, Kf = function(e) {
|
|
6709
|
+
Gf && (S(null, Gf), Gf = null), Gf = document.createElement("div");
|
|
6710
|
+
let t = l(Wf, {
|
|
6718
6711
|
message: e.message,
|
|
6719
6712
|
onDestroy: () => {
|
|
6720
|
-
S(null,
|
|
6713
|
+
S(null, Gf);
|
|
6721
6714
|
}
|
|
6722
6715
|
});
|
|
6723
|
-
S(t,
|
|
6724
|
-
},
|
|
6716
|
+
S(t, Gf), document.body.appendChild(Gf.firstElementChild);
|
|
6717
|
+
}, qf = {
|
|
6725
6718
|
class: "shadow rounded bg-body p-3 col-sm-9 col-md-6 col-lg-4 col-xl-3",
|
|
6726
6719
|
style: { "margin-top": "25vh" }
|
|
6727
|
-
},
|
|
6720
|
+
}, Jf = { class: "d-flex justify-content-center align-items-center" }, Yf = { class: "me-2" }, Xf = { class: "fs-5 fw-bolder" }, Zf = {
|
|
6728
6721
|
__name: "alert-confirm",
|
|
6729
6722
|
props: {
|
|
6730
6723
|
message: {
|
|
@@ -6752,7 +6745,7 @@ var Rf = f({
|
|
|
6752
6745
|
o.value = !1;
|
|
6753
6746
|
}
|
|
6754
6747
|
return (r, a) => {
|
|
6755
|
-
let d =
|
|
6748
|
+
let d = zf;
|
|
6756
6749
|
return y(), i(n, {
|
|
6757
6750
|
name: "fadeIn",
|
|
6758
6751
|
onAfterLeave: a[0] || (a[0] = (e) => r.$emit("destroy"))
|
|
@@ -6763,8 +6756,8 @@ var Rf = f({
|
|
|
6763
6756
|
class: "alert-confirm d-flex justify-content-center align-items-start",
|
|
6764
6757
|
tabindex: "-1",
|
|
6765
6758
|
role: "alert"
|
|
6766
|
-
}, [s("div",
|
|
6767
|
-
s("div",
|
|
6759
|
+
}, [s("div", qf, [
|
|
6760
|
+
s("div", Jf, [s("div", Yf, [l(d, { class: "text-warning fs-5" })]), s("div", Xf, O(e.message), 1)]),
|
|
6768
6761
|
a[1] || (a[1] = s("hr", null, null, -1)),
|
|
6769
6762
|
s("div", { class: "text-center" }, [s("button", {
|
|
6770
6763
|
type: "button",
|
|
@@ -6780,53 +6773,53 @@ var Rf = f({
|
|
|
6780
6773
|
});
|
|
6781
6774
|
};
|
|
6782
6775
|
}
|
|
6783
|
-
},
|
|
6784
|
-
|
|
6785
|
-
let t = l(
|
|
6776
|
+
}, Qf = null, $f = function(e) {
|
|
6777
|
+
Qf && (S(null, Qf), Qf = null), Qf = document.createElement("div");
|
|
6778
|
+
let t = l(Zf, {
|
|
6786
6779
|
message: e.message,
|
|
6787
6780
|
callback: e.confirm,
|
|
6788
6781
|
onDestroy: () => {
|
|
6789
|
-
S(null,
|
|
6782
|
+
S(null, Qf);
|
|
6790
6783
|
}
|
|
6791
6784
|
});
|
|
6792
|
-
S(t,
|
|
6793
|
-
},
|
|
6785
|
+
S(t, Qf), document.body.appendChild(Qf.firstElementChild);
|
|
6786
|
+
}, ep = {
|
|
6794
6787
|
class: "bi",
|
|
6795
6788
|
viewBox: "0 0 16 16",
|
|
6796
6789
|
width: "1em",
|
|
6797
6790
|
height: "1em"
|
|
6798
6791
|
};
|
|
6799
|
-
function
|
|
6800
|
-
return y(), o("svg",
|
|
6792
|
+
function tp(e, t) {
|
|
6793
|
+
return y(), o("svg", ep, [...t[0] || (t[0] = [s("g", { fill: "currentColor" }, [s("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }), s("path", { d: "m8.93 6.588l-2.29.287l-.082.38l.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319c.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246c-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0" })], -1)])]);
|
|
6801
6794
|
}
|
|
6802
|
-
var
|
|
6795
|
+
var np = f({
|
|
6803
6796
|
name: "bi-info-circle",
|
|
6804
|
-
render:
|
|
6805
|
-
}),
|
|
6797
|
+
render: tp
|
|
6798
|
+
}), rp = {
|
|
6806
6799
|
class: "bi",
|
|
6807
6800
|
viewBox: "0 0 16 16",
|
|
6808
6801
|
width: "1em",
|
|
6809
6802
|
height: "1em"
|
|
6810
6803
|
};
|
|
6811
|
-
function
|
|
6812
|
-
return y(), o("svg",
|
|
6804
|
+
function ip(e, t) {
|
|
6805
|
+
return y(), o("svg", rp, [...t[0] || (t[0] = [s("g", { fill: "currentColor" }, [s("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }), s("path", { d: "M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8L4.646 5.354a.5.5 0 0 1 0-.708" })], -1)])]);
|
|
6813
6806
|
}
|
|
6814
|
-
var
|
|
6807
|
+
var ap = f({
|
|
6815
6808
|
name: "bi-x-circle",
|
|
6816
|
-
render:
|
|
6817
|
-
}),
|
|
6809
|
+
render: ip
|
|
6810
|
+
}), op = {
|
|
6818
6811
|
class: "bi",
|
|
6819
6812
|
viewBox: "0 0 16 16",
|
|
6820
6813
|
width: "1em",
|
|
6821
6814
|
height: "1em"
|
|
6822
6815
|
};
|
|
6823
|
-
function
|
|
6824
|
-
return y(), o("svg",
|
|
6816
|
+
function sp(e, t) {
|
|
6817
|
+
return y(), o("svg", op, [...t[0] || (t[0] = [s("g", { fill: "currentColor" }, [s("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }), s("path", { d: "m10.97 4.97l-.02.022l-3.473 4.425l-2.093-2.094a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05" })], -1)])]);
|
|
6825
6818
|
}
|
|
6826
|
-
var
|
|
6819
|
+
var cp = f({
|
|
6827
6820
|
name: "bi-check-circle",
|
|
6828
|
-
render:
|
|
6829
|
-
}),
|
|
6821
|
+
render: sp
|
|
6822
|
+
}), lp = { class: "me-2" }, up = {
|
|
6830
6823
|
__name: "alert-message",
|
|
6831
6824
|
props: {
|
|
6832
6825
|
type: {
|
|
@@ -6872,7 +6865,7 @@ var sp = f({
|
|
|
6872
6865
|
}, t.duration);
|
|
6873
6866
|
}
|
|
6874
6867
|
return (t, r) => {
|
|
6875
|
-
let c =
|
|
6868
|
+
let c = cp, l = ap, f = zf, p = np;
|
|
6876
6869
|
return y(), i(n, {
|
|
6877
6870
|
name: "fadeInDown",
|
|
6878
6871
|
onAfterLeave: r[0] || (r[0] = (e) => t.$emit("destroy"))
|
|
@@ -6882,38 +6875,38 @@ var sp = f({
|
|
|
6882
6875
|
onMouseenter: u,
|
|
6883
6876
|
onMouseleave: d,
|
|
6884
6877
|
role: "alert"
|
|
6885
|
-
}, [s("div", { class: h(["d-flex align-items-center rounded px-3 py-2", o.value]) }, [s("div",
|
|
6878
|
+
}, [s("div", { class: h(["d-flex align-items-center rounded px-3 py-2", o.value]) }, [s("div", lp, [e.type === "success" ? (y(), i(c, { key: 0 })) : e.type === "danger" ? (y(), i(l, { key: 1 })) : e.type === "warning" ? (y(), i(f, { key: 2 })) : (y(), i(p, { key: 3 }))]), s("div", null, O(e.message), 1)], 2)], 544), [[F, a.value]])]),
|
|
6886
6879
|
_: 1
|
|
6887
6880
|
});
|
|
6888
6881
|
};
|
|
6889
6882
|
}
|
|
6890
|
-
},
|
|
6891
|
-
|
|
6892
|
-
let t = l(
|
|
6883
|
+
}, dp = null, fp = function(e) {
|
|
6884
|
+
dp !== null && (S(null, dp), dp = null), dp = document.createElement("div");
|
|
6885
|
+
let t = l(up, {
|
|
6893
6886
|
type: e.type,
|
|
6894
6887
|
message: e.message,
|
|
6895
6888
|
duration: e.duration,
|
|
6896
6889
|
onDestroy: () => {
|
|
6897
|
-
S(null,
|
|
6890
|
+
S(null, dp);
|
|
6898
6891
|
}
|
|
6899
6892
|
});
|
|
6900
|
-
S(t,
|
|
6901
|
-
},
|
|
6893
|
+
S(t, dp), document.body.appendChild(dp.firstElementChild);
|
|
6894
|
+
}, pp = { class: "d-flex w-100 h-100 justify-content-center align-items-center user-select-none" }, mp = ["src"], hp = {
|
|
6902
6895
|
class: "position-absolute z-1",
|
|
6903
6896
|
style: {
|
|
6904
6897
|
top: "2rem",
|
|
6905
6898
|
right: "2rem"
|
|
6906
6899
|
}
|
|
6907
|
-
},
|
|
6900
|
+
}, gp = {
|
|
6908
6901
|
class: "position-absolute z-1 top-50 translate-middle-y",
|
|
6909
6902
|
style: { left: "2rem" }
|
|
6910
|
-
},
|
|
6903
|
+
}, _p = {
|
|
6911
6904
|
class: "position-absolute z-1 top-50 translate-middle-y",
|
|
6912
6905
|
style: { right: "2rem" }
|
|
6913
|
-
},
|
|
6906
|
+
}, vp = {
|
|
6914
6907
|
class: "position-absolute z-1 start-50 translate-middle-x",
|
|
6915
6908
|
style: { bottom: "2rem" }
|
|
6916
|
-
},
|
|
6909
|
+
}, yp = { class: "badge text-bg-secondary fs-6" }, bp = {
|
|
6917
6910
|
__name: "image-preview",
|
|
6918
6911
|
props: {
|
|
6919
6912
|
data: {
|
|
@@ -6955,7 +6948,7 @@ var sp = f({
|
|
|
6955
6948
|
f.value === u.data.length - 1 && (f.value = 0);
|
|
6956
6949
|
}
|
|
6957
6950
|
return (c, u) => {
|
|
6958
|
-
let p =
|
|
6951
|
+
let p = Cf, m = tl, h = Xr;
|
|
6959
6952
|
return y(), i(n, {
|
|
6960
6953
|
name: "fadeIn",
|
|
6961
6954
|
onAfterLeave: u[1] || (u[1] = (e) => c.$emit("destroy"))
|
|
@@ -6968,47 +6961,47 @@ var sp = f({
|
|
|
6968
6961
|
role: "dialog",
|
|
6969
6962
|
"aria-modal": "true"
|
|
6970
6963
|
}, [
|
|
6971
|
-
s("div",
|
|
6964
|
+
s("div", pp, [s("img", {
|
|
6972
6965
|
src: t.data[f.value],
|
|
6973
6966
|
class: "mw-100 mh-100"
|
|
6974
|
-
}, null, 8,
|
|
6975
|
-
s("div",
|
|
6967
|
+
}, null, 8, mp)]),
|
|
6968
|
+
s("div", hp, [s("button", {
|
|
6976
6969
|
type: "button",
|
|
6977
6970
|
class: "btn btn-dark btn-lg",
|
|
6978
6971
|
style: { "--bs-btn-border-radius": "50%" },
|
|
6979
6972
|
onClick: u[0] || (u[0] = (e) => d.value = !1)
|
|
6980
6973
|
}, [l(p)])]),
|
|
6981
6974
|
t.data.length > 1 ? (y(), o(e, { key: 0 }, [
|
|
6982
|
-
s("div",
|
|
6975
|
+
s("div", gp, [s("button", {
|
|
6983
6976
|
type: "button",
|
|
6984
6977
|
class: "btn btn-dark btn-lg",
|
|
6985
6978
|
style: { "--bs-btn-border-radius": "50%" },
|
|
6986
6979
|
onClick: g
|
|
6987
6980
|
}, [l(m)])]),
|
|
6988
|
-
s("div",
|
|
6981
|
+
s("div", _p, [s("button", {
|
|
6989
6982
|
type: "button",
|
|
6990
6983
|
class: "btn btn-dark btn-lg",
|
|
6991
6984
|
style: { "--bs-btn-border-radius": "50%" },
|
|
6992
6985
|
onClick: b
|
|
6993
6986
|
}, [l(h)])]),
|
|
6994
|
-
s("div",
|
|
6987
|
+
s("div", vp, [s("span", yp, O(f.value + 1) + " / " + O(t.data.length), 1)])
|
|
6995
6988
|
], 64)) : a("", !0)
|
|
6996
6989
|
], 512), [[F, d.value]])]),
|
|
6997
6990
|
_: 1
|
|
6998
6991
|
});
|
|
6999
6992
|
};
|
|
7000
6993
|
}
|
|
7001
|
-
},
|
|
7002
|
-
|
|
7003
|
-
let n = l(
|
|
6994
|
+
}, xp = null, Sp = function(e, t) {
|
|
6995
|
+
xp && (S(null, xp), xp = null), xp = document.createElement("div");
|
|
6996
|
+
let n = l(bp, {
|
|
7004
6997
|
data: e,
|
|
7005
6998
|
initIndex: t,
|
|
7006
6999
|
onDestroy: () => {
|
|
7007
|
-
S(null,
|
|
7000
|
+
S(null, xp);
|
|
7008
7001
|
}
|
|
7009
7002
|
});
|
|
7010
|
-
S(n,
|
|
7011
|
-
},
|
|
7003
|
+
S(n, xp), document.body.appendChild(xp.firstElementChild);
|
|
7004
|
+
}, Cp = {
|
|
7012
7005
|
__name: "loading-fullscreen",
|
|
7013
7006
|
setup(e, { expose: t }) {
|
|
7014
7007
|
let r = D(null), a = x(!1);
|
|
@@ -7042,10 +7035,10 @@ var sp = f({
|
|
|
7042
7035
|
_: 1
|
|
7043
7036
|
}));
|
|
7044
7037
|
}
|
|
7045
|
-
},
|
|
7038
|
+
}, wp = (function() {
|
|
7046
7039
|
let e = null, t = 0;
|
|
7047
7040
|
function n() {
|
|
7048
|
-
let e = document.createElement("div"), n = l(
|
|
7041
|
+
let e = document.createElement("div"), n = l(Cp, {});
|
|
7049
7042
|
return S(n, e), document.body.appendChild(e.firstElementChild), {
|
|
7050
7043
|
show() {
|
|
7051
7044
|
t === 0 && n.component.exposed.show(), t++;
|
|
@@ -7062,67 +7055,67 @@ var sp = f({
|
|
|
7062
7055
|
return { getInstance() {
|
|
7063
7056
|
return e === null && (e = n()), e;
|
|
7064
7057
|
} };
|
|
7065
|
-
})(),
|
|
7058
|
+
})(), Tp = {
|
|
7066
7059
|
class: "bi",
|
|
7067
7060
|
viewBox: "0 0 16 16",
|
|
7068
7061
|
width: "1em",
|
|
7069
7062
|
height: "1em"
|
|
7070
7063
|
};
|
|
7071
|
-
function
|
|
7072
|
-
return y(), o("svg",
|
|
7064
|
+
function Ep(e, t) {
|
|
7065
|
+
return y(), o("svg", Tp, [...t[0] || (t[0] = [s("path", {
|
|
7073
7066
|
fill: "currentColor",
|
|
7074
7067
|
d: "M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.93-9.412l-1 4.705c-.07.34.029.533.304.533c.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598c-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081l.082-.381l2.29-.287zM8 5.5a1 1 0 1 1 0-2a1 1 0 0 1 0 2"
|
|
7075
7068
|
}, null, -1)])]);
|
|
7076
7069
|
}
|
|
7077
|
-
var
|
|
7070
|
+
var Dp = f({
|
|
7078
7071
|
name: "bi-info-circle-fill",
|
|
7079
|
-
render:
|
|
7080
|
-
}),
|
|
7072
|
+
render: Ep
|
|
7073
|
+
}), Op = {
|
|
7081
7074
|
class: "bi",
|
|
7082
7075
|
viewBox: "0 0 16 16",
|
|
7083
7076
|
width: "1em",
|
|
7084
7077
|
height: "1em"
|
|
7085
7078
|
};
|
|
7086
|
-
function
|
|
7087
|
-
return y(), o("svg",
|
|
7079
|
+
function kp(e, t) {
|
|
7080
|
+
return y(), o("svg", Op, [...t[0] || (t[0] = [s("path", {
|
|
7088
7081
|
fill: "currentColor",
|
|
7089
7082
|
d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4m.002 6a1 1 0 1 0 0 2a1 1 0 0 0 0-2"
|
|
7090
7083
|
}, null, -1)])]);
|
|
7091
7084
|
}
|
|
7092
|
-
var
|
|
7085
|
+
var Ap = f({
|
|
7093
7086
|
name: "bi-exclamation-circle-fill",
|
|
7094
|
-
render:
|
|
7095
|
-
}),
|
|
7087
|
+
render: kp
|
|
7088
|
+
}), jp = {
|
|
7096
7089
|
class: "bi",
|
|
7097
7090
|
viewBox: "0 0 16 16",
|
|
7098
7091
|
width: "1em",
|
|
7099
7092
|
height: "1em"
|
|
7100
7093
|
};
|
|
7101
|
-
function
|
|
7102
|
-
return y(), o("svg",
|
|
7094
|
+
function Mp(e, t) {
|
|
7095
|
+
return y(), o("svg", jp, [...t[0] || (t[0] = [s("path", {
|
|
7103
7096
|
fill: "currentColor",
|
|
7104
7097
|
d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293z"
|
|
7105
7098
|
}, null, -1)])]);
|
|
7106
7099
|
}
|
|
7107
|
-
var
|
|
7100
|
+
var Np = f({
|
|
7108
7101
|
name: "bi-x-circle-fill",
|
|
7109
|
-
render:
|
|
7110
|
-
}),
|
|
7102
|
+
render: Mp
|
|
7103
|
+
}), Pp = {
|
|
7111
7104
|
class: "bi",
|
|
7112
7105
|
viewBox: "0 0 16 16",
|
|
7113
7106
|
width: "1em",
|
|
7114
7107
|
height: "1em"
|
|
7115
7108
|
};
|
|
7116
|
-
function
|
|
7117
|
-
return y(), o("svg",
|
|
7109
|
+
function Fp(e, t) {
|
|
7110
|
+
return y(), o("svg", Pp, [...t[0] || (t[0] = [s("path", {
|
|
7118
7111
|
fill: "currentColor",
|
|
7119
7112
|
d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417L5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"
|
|
7120
7113
|
}, null, -1)])]);
|
|
7121
7114
|
}
|
|
7122
|
-
var
|
|
7115
|
+
var Ip = f({
|
|
7123
7116
|
name: "bi-check-circle-fill",
|
|
7124
|
-
render:
|
|
7125
|
-
}),
|
|
7117
|
+
render: Fp
|
|
7118
|
+
}), Lp = /* @__PURE__ */ H((/* @__PURE__ */ V(((e, t) => {
|
|
7126
7119
|
(function(n, r) {
|
|
7127
7120
|
typeof e == "object" && t !== void 0 ? t.exports = r(we(), W(), Ee(), U()) : typeof define == "function" && define.amd ? define([
|
|
7128
7121
|
"./base-component",
|
|
@@ -7208,7 +7201,7 @@ var Fp = f({
|
|
|
7208
7201
|
}
|
|
7209
7202
|
return n.enableDismissTrigger(v), r.defineJQueryPlugin(v), v;
|
|
7210
7203
|
}));
|
|
7211
|
-
})))()),
|
|
7204
|
+
})))()), Rp = { class: "toast-header" }, zp = { class: "ms-2 me-auto" }, Bp = ["innerHTML"], Vp = {
|
|
7212
7205
|
__name: "toast",
|
|
7213
7206
|
props: {
|
|
7214
7207
|
type: {
|
|
@@ -7253,7 +7246,7 @@ var Fp = f({
|
|
|
7253
7246
|
setup(e, { emit: t }) {
|
|
7254
7247
|
let n = t, a = D(null), c = e, l = r(() => c.position === "top-right" ? "top-0 end-0" : c.position === "top-left" ? "top-0 start-0" : c.position === "top-center" ? "top-0 start-50 translate-middle-x" : c.position === "bottom-right" ? "bottom-0 end-0" : c.position === "bottom-left" ? "bottom-0 start-0" : "top-0 end-0"), u = null;
|
|
7255
7248
|
return v(() => {
|
|
7256
|
-
u === null && (u = new
|
|
7249
|
+
u === null && (u = new Lp.default(a.value, {
|
|
7257
7250
|
autohide: c.duration !== 0,
|
|
7258
7251
|
delay: c.duration
|
|
7259
7252
|
}), a.value.addEventListener("hidden.bs.toast", () => {
|
|
@@ -7262,7 +7255,7 @@ var Fp = f({
|
|
|
7262
7255
|
}), _(() => {
|
|
7263
7256
|
u !== null && (u.dispose(), u = null);
|
|
7264
7257
|
}), (t, n) => {
|
|
7265
|
-
let r =
|
|
7258
|
+
let r = Ip, c = Np, u = Ap, d = Dp;
|
|
7266
7259
|
return y(), o("div", { class: h(["toast-container position-fixed p-3", l.value]) }, [s("div", {
|
|
7267
7260
|
ref_key: "toastRef",
|
|
7268
7261
|
ref: a,
|
|
@@ -7270,7 +7263,7 @@ var Fp = f({
|
|
|
7270
7263
|
role: "alert",
|
|
7271
7264
|
"aria-live": "polite",
|
|
7272
7265
|
"aria-atomic": "true"
|
|
7273
|
-
}, [s("div",
|
|
7266
|
+
}, [s("div", Rp, [
|
|
7274
7267
|
e.type === "success" ? (y(), i(r, {
|
|
7275
7268
|
key: 0,
|
|
7276
7269
|
class: "fs-6 text-success"
|
|
@@ -7284,7 +7277,7 @@ var Fp = f({
|
|
|
7284
7277
|
key: 3,
|
|
7285
7278
|
class: "fs-6 text-info"
|
|
7286
7279
|
})),
|
|
7287
|
-
s("strong",
|
|
7280
|
+
s("strong", zp, O(e.title), 1),
|
|
7288
7281
|
n[0] || (n[0] = s("button", {
|
|
7289
7282
|
type: "button",
|
|
7290
7283
|
class: "btn-close",
|
|
@@ -7294,24 +7287,24 @@ var Fp = f({
|
|
|
7294
7287
|
]), s("div", {
|
|
7295
7288
|
class: "toast-body",
|
|
7296
7289
|
innerHTML: e.message
|
|
7297
|
-
}, null, 8,
|
|
7290
|
+
}, null, 8, Bp)], 512)], 2);
|
|
7298
7291
|
};
|
|
7299
7292
|
}
|
|
7300
|
-
},
|
|
7301
|
-
|
|
7302
|
-
let t = l(
|
|
7293
|
+
}, Hp = null, Up = function(e) {
|
|
7294
|
+
Hp && (S(null, Hp), Hp = null), Hp = document.createElement("div");
|
|
7295
|
+
let t = l(Vp, {
|
|
7303
7296
|
type: e.type,
|
|
7304
7297
|
title: e.title,
|
|
7305
7298
|
message: e.message,
|
|
7306
7299
|
duration: e.duration,
|
|
7307
7300
|
position: e.position,
|
|
7308
7301
|
onDestroy: () => {
|
|
7309
|
-
S(null,
|
|
7302
|
+
S(null, Hp);
|
|
7310
7303
|
}
|
|
7311
7304
|
});
|
|
7312
|
-
S(t,
|
|
7313
|
-
},
|
|
7314
|
-
e.directive("alert", Oe), e.directive("dropdown", Lr), e.directive("tooltip", Hr), e.directive("popover", Wr), e.directive("scrollspy", Kr), e.directive("collapse", qr), e.component("BvTable", Jc).component("BvTableCol", Yc), e.component("BvPagination", gl), e.component("BvModal", Dl), e.component("BvModal2", bu), e.component("BvTree", Vu), e.component("BvTreetable", Qu).component("BvTreetableCol", $u), e.component("BvTabs", gd).component("BvTabPane", _d), e.component("BvAccordion", wd).component("BvAccordionItem", Td), e.component("BvCarousel", Id), e.component("BvOffcanvas",
|
|
7305
|
+
S(t, Hp), document.body.appendChild(Hp.firstElementChild);
|
|
7306
|
+
}, Wp = { install: (e, t) => {
|
|
7307
|
+
e.directive("alert", Oe), e.directive("dropdown", Lr), e.directive("tooltip", Hr), e.directive("popover", Wr), e.directive("scrollspy", Kr), e.directive("collapse", qr), e.component("BvTable", Jc).component("BvTableCol", Yc), e.component("BvPagination", gl), e.component("BvModal", Dl), e.component("BvModal2", bu), e.component("BvTree", Vu), e.component("BvTreetable", Qu).component("BvTreetableCol", $u), e.component("BvTabs", gd).component("BvTabPane", _d), e.component("BvAccordion", wd).component("BvAccordionItem", Td), e.component("BvCarousel", Id), e.component("BvOffcanvas", Ud), e.component("BvBacktop", qd), e.component("BvImageOneUploader", of), e.component("BvImageManyUploader", bf), e.component("BvFileUploader", Pf), e.component("BvLoading", If);
|
|
7315
7308
|
} };
|
|
7316
7309
|
//#endregion
|
|
7317
|
-
export {
|
|
7310
|
+
export { wp as LoadingFullscreen, Kf as alertBox, $f as alertConfirm, fp as alertMessage, Wp as default, Sp as imagePreview, Up as toast };
|