scope360-core 0.0.199 → 0.0.200
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, warning, error
|
|
11481
11481
|
textOnClose: { type: String },
|
|
11482
11482
|
message: { type: String, default: "" },
|
|
11483
11483
|
action: { type: Object, default: void 0 },
|
|
@@ -11488,7 +11488,7 @@ 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(() => e.type === "success" ? "check-circle-fill" : "circle-close"), r = U(() => e.type === "success" ? "-success" : e.type === "
|
|
11491
|
+
}, i = U(() => e.type === "success" ? "check-circle-fill" : "circle-close"), r = U(() => e.type === "success" ? "-success" : e.type === "warning" ? "-warning" : "-error");
|
|
11492
11492
|
return (a, o) => (D(), me(ii, null, {
|
|
11493
11493
|
default: Se(() => {
|
|
11494
11494
|
var l;
|
|
@@ -11518,7 +11518,7 @@ const JV = {
|
|
|
11518
11518
|
_: 1
|
|
11519
11519
|
}));
|
|
11520
11520
|
}
|
|
11521
|
-
}), FT = /* @__PURE__ */ Ue(LT, [["__scopeId", "data-v-
|
|
11521
|
+
}), FT = /* @__PURE__ */ Ue(LT, [["__scopeId", "data-v-e6731762"]]), YT = {
|
|
11522
11522
|
key: 0,
|
|
11523
11523
|
class: "scope-textarea__label"
|
|
11524
11524
|
}, VT = {
|
|
@@ -30050,7 +30050,7 @@ const IV = (t, e, n, s = {}, i) => {
|
|
|
30050
30050
|
const r = fo(t, e, s), a = document.createElement("div");
|
|
30051
30051
|
return a.setAttribute("id", i || ""), n.appendChild(a), ld(r, a), r.component;
|
|
30052
30052
|
}, NV = {
|
|
30053
|
-
type: "
|
|
30053
|
+
type: "warning",
|
|
30054
30054
|
textOnClose: "Dismiss",
|
|
30055
30055
|
duration: 5e3,
|
|
30056
30056
|
hideOnRouteChange: !0
|
|
@@ -30080,12 +30080,12 @@ const IV = (t, e, n, s = {}, i) => {
|
|
|
30080
30080
|
}), YV = (t, e) => ic({
|
|
30081
30081
|
...e,
|
|
30082
30082
|
message: t,
|
|
30083
|
-
type: "
|
|
30083
|
+
type: "warning"
|
|
30084
30084
|
}), Qb = () => ({
|
|
30085
30085
|
open: ic,
|
|
30086
30086
|
success: LV,
|
|
30087
30087
|
error: FV,
|
|
30088
|
-
|
|
30088
|
+
warning: YV
|
|
30089
30089
|
});
|
|
30090
30090
|
export {
|
|
30091
30091
|
i5 as AccountBalanceWidget,
|