scope360-core 0.0.200 → 0.0.201
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/scope360-core.js
CHANGED
|
@@ -11477,7 +11477,7 @@ const JV = {
|
|
|
11477
11477
|
__name: "Toast",
|
|
11478
11478
|
props: {
|
|
11479
11479
|
type: { type: String, default: "success" },
|
|
11480
|
-
// success,
|
|
11480
|
+
// success, info, error
|
|
11481
11481
|
textOnClose: { type: String },
|
|
11482
11482
|
message: { type: String, default: "" },
|
|
11483
11483
|
action: { type: Object, default: void 0 },
|
|
@@ -11488,7 +11488,14 @@ const JV = {
|
|
|
11488
11488
|
const e = t, n = K(null), s = () => {
|
|
11489
11489
|
var a, o, l, u;
|
|
11490
11490
|
(a = e.action) != null && a.label ? (o = e.action) == null || o.callback() : (u = (l = n.value) == null ? void 0 : l.parentElement) == null || u.remove();
|
|
11491
|
-
}, i = U(() =>
|
|
11491
|
+
}, i = U(() => {
|
|
11492
|
+
if (e.type === "success")
|
|
11493
|
+
return "check-circle-fill";
|
|
11494
|
+
if (e.type === "error")
|
|
11495
|
+
return "circle-close";
|
|
11496
|
+
if (e.type === "info")
|
|
11497
|
+
return "warning";
|
|
11498
|
+
}), r = U(() => e.type === "success" ? "-success" : e.type === "warning" ? "-warning" : "-error");
|
|
11492
11499
|
return (a, o) => (D(), me(ii, null, {
|
|
11493
11500
|
default: Se(() => {
|
|
11494
11501
|
var l;
|
|
@@ -11518,7 +11525,7 @@ const JV = {
|
|
|
11518
11525
|
_: 1
|
|
11519
11526
|
}));
|
|
11520
11527
|
}
|
|
11521
|
-
}), FT = /* @__PURE__ */ Ue(LT, [["__scopeId", "data-v-
|
|
11528
|
+
}), FT = /* @__PURE__ */ Ue(LT, [["__scopeId", "data-v-0a6591d5"]]), YT = {
|
|
11522
11529
|
key: 0,
|
|
11523
11530
|
class: "scope-textarea__label"
|
|
11524
11531
|
}, VT = {
|
|
@@ -30050,7 +30057,7 @@ const IV = (t, e, n, s = {}, i) => {
|
|
|
30050
30057
|
const r = fo(t, e, s), a = document.createElement("div");
|
|
30051
30058
|
return a.setAttribute("id", i || ""), n.appendChild(a), ld(r, a), r.component;
|
|
30052
30059
|
}, NV = {
|
|
30053
|
-
type: "
|
|
30060
|
+
type: "info",
|
|
30054
30061
|
textOnClose: "Dismiss",
|
|
30055
30062
|
duration: 5e3,
|
|
30056
30063
|
hideOnRouteChange: !0
|
|
@@ -30080,12 +30087,12 @@ const IV = (t, e, n, s = {}, i) => {
|
|
|
30080
30087
|
}), YV = (t, e) => ic({
|
|
30081
30088
|
...e,
|
|
30082
30089
|
message: t,
|
|
30083
|
-
type: "
|
|
30090
|
+
type: "info"
|
|
30084
30091
|
}), Qb = () => ({
|
|
30085
30092
|
open: ic,
|
|
30086
30093
|
success: LV,
|
|
30087
30094
|
error: FV,
|
|
30088
|
-
|
|
30095
|
+
info: YV
|
|
30089
30096
|
});
|
|
30090
30097
|
export {
|
|
30091
30098
|
i5 as AccountBalanceWidget,
|