adminforth 2.17.0-next.47 → 2.17.0-next.49
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.
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"pinia": "^2.1.7",
|
|
22
22
|
"sanitize-html": "^2.13.0",
|
|
23
23
|
"unhead": "^1.9.12",
|
|
24
|
-
"uuid": "^10.0.0",
|
|
25
24
|
"vue": "^3.5.12",
|
|
26
25
|
"vue-diff": "^1.2.4",
|
|
27
26
|
"vue-i18n": "^10.0.5",
|
|
@@ -4633,18 +4632,6 @@
|
|
|
4633
4632
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
|
|
4634
4633
|
"dev": true
|
|
4635
4634
|
},
|
|
4636
|
-
"node_modules/uuid": {
|
|
4637
|
-
"version": "10.0.0",
|
|
4638
|
-
"resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",
|
|
4639
|
-
"integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",
|
|
4640
|
-
"funding": [
|
|
4641
|
-
"https://github.com/sponsors/broofa",
|
|
4642
|
-
"https://github.com/sponsors/ctavan"
|
|
4643
|
-
],
|
|
4644
|
-
"bin": {
|
|
4645
|
-
"uuid": "dist/bin/uuid"
|
|
4646
|
-
}
|
|
4647
|
-
},
|
|
4648
4635
|
"node_modules/vite": {
|
|
4649
4636
|
"version": "5.2.13",
|
|
4650
4637
|
"resolved": "https://registry.npmjs.org/vite/-/vite-5.2.13.tgz",
|
package/dist/spa/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ref, watch, type Ref } from 'vue'
|
|
2
2
|
import { defineStore } from 'pinia'
|
|
3
|
-
import { v1 as uuid } from 'uuid';
|
|
4
3
|
import { useRoute } from 'vue-router';
|
|
5
4
|
|
|
6
5
|
|
|
@@ -23,7 +22,7 @@ export const useToastStore = defineStore('toast', () => {
|
|
|
23
22
|
buttons?: { value: any; label: string }[];
|
|
24
23
|
onResolve?: (value?: any) => void;
|
|
25
24
|
}): string => {
|
|
26
|
-
const toastId =
|
|
25
|
+
const toastId = crypto.randomUUID();
|
|
27
26
|
toasts.value.push({
|
|
28
27
|
...toast,
|
|
29
28
|
id: toastId,
|