@aitronos/freddy-plugins 0.1.30 → 0.1.32
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -495,8 +495,8 @@ export declare const useSnackBar: () => {
|
|
|
495
495
|
toastType: ToastType;
|
|
496
496
|
duration?: number | undefined;
|
|
497
497
|
}[]>;
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
addSnackBar: (snack: Snack) => void;
|
|
499
|
+
removeSnackBar: (snack: Snack) => void;
|
|
500
500
|
};
|
|
501
501
|
|
|
502
502
|
export declare const useToast: () => {
|
package/dist/index.js
CHANGED
|
@@ -1146,21 +1146,21 @@ function k5(C, A) {
|
|
|
1146
1146
|
]));
|
|
1147
1147
|
}
|
|
1148
1148
|
const Y8 = /* @__PURE__ */ B(x5, [["render", k5]]), z5 = {}, G5 = {
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1149
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1150
|
+
viewBox: "0 0 22 21",
|
|
1151
|
+
fill: "none"
|
|
1152
1152
|
};
|
|
1153
1153
|
function O5(C, A) {
|
|
1154
1154
|
return e(), o("svg", G5, A[0] || (A[0] = [
|
|
1155
1155
|
t("path", {
|
|
1156
|
-
d: "
|
|
1156
|
+
d: "M15.613 14.0862C12.98 15.5692 11.477 18.6412 11 19.5012V6.00122C11.415 5.25522 12.602 3.11724 14.632 1.66524C15.487 1.05324 15.914 0.747235 16.457 1.02524C17 1.30524 17 1.92124 17 3.15224V11.9922C17 12.6582 17 12.9912 16.863 13.2242C16.727 13.4582 16.355 13.6672 15.613 14.0862Z",
|
|
1157
1157
|
stroke: "currentColor",
|
|
1158
1158
|
"stroke-width": "1.5",
|
|
1159
1159
|
"stroke-linecap": "round",
|
|
1160
1160
|
"stroke-linejoin": "round"
|
|
1161
1161
|
}, null, -1),
|
|
1162
1162
|
t("path", {
|
|
1163
|
-
d: "
|
|
1163
|
+
d: "M11 5.80607C10.313 5.08407 8.322 3.37007 4.98 2.77007C3.288 2.46507 2.442 2.31307 1.72 2.89607C1 3.48007 1 4.42607 1 6.32107V13.1301C1 14.8621 1 15.7281 1.463 16.2691C1.925 16.8091 2.943 16.9931 4.981 17.3591C6.796 17.6851 8.213 18.2061 9.239 18.7291C10.249 19.2431 10.753 19.5001 11 19.5001C11.247 19.5001 11.752 19.2431 12.76 18.7291C13.787 18.2061 15.204 17.6851 17.02 17.3591C19.056 16.9931 20.075 16.8091 20.537 16.2691C21 15.7281 21 14.8621 21 13.1291V6.32207C21 4.42807 21 3.48107 20.28 2.89707C19.557 2.31307 18 2.77007 17 3.50007",
|
|
1164
1164
|
stroke: "currentColor",
|
|
1165
1165
|
"stroke-width": "1.5",
|
|
1166
1166
|
"stroke-linecap": "round",
|
|
@@ -1986,14 +1986,14 @@ const p6 = /* @__PURE__ */ B(q3, [["render", $3]]), A7 = ["placeholder"], d6 = /
|
|
|
1986
1986
|
}
|
|
1987
1987
|
}), c = I([]), C7 = () => ({
|
|
1988
1988
|
snackQueue: c,
|
|
1989
|
-
|
|
1989
|
+
addSnackBar: (n) => {
|
|
1990
1990
|
const s = n.duration ?? 3e3;
|
|
1991
1991
|
c.value.push(n), s > 0 && setTimeout(() => {
|
|
1992
1992
|
const i = c.value.indexOf(n);
|
|
1993
1993
|
i !== -1 && c.value.splice(i, 1);
|
|
1994
1994
|
}, s);
|
|
1995
1995
|
},
|
|
1996
|
-
|
|
1996
|
+
removeSnackBar: (n) => {
|
|
1997
1997
|
const s = c.value.indexOf(n);
|
|
1998
1998
|
s !== -1 && c.value.splice(s, 1);
|
|
1999
1999
|
}
|