@ulu/frontend-vue 0.6.22 → 0.6.23
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluToastDisplay.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/UluToastDisplay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UluToastDisplay.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/toast/UluToastDisplay.vue"],"names":[],"mappings":"AAkBA;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { store as
|
|
1
|
+
import { computed as l, createBlock as r, openBlock as e, Teleport as p, unref as s, createVNode as u, TransitionGroup as m, normalizeClass as _, withCtx as d, createElementBlock as f, Fragment as k, renderList as y, resolveDynamicComponent as T } from "vue";
|
|
2
|
+
import { store as g } from "./store.js";
|
|
3
3
|
const C = {
|
|
4
4
|
__name: "UluToastDisplay",
|
|
5
|
-
setup(
|
|
6
|
-
const { toasts: c, pluginOptions: o } =
|
|
5
|
+
setup(v) {
|
|
6
|
+
const { toasts: c, pluginOptions: o } = g, i = l(() => {
|
|
7
7
|
const { position: n } = o;
|
|
8
8
|
return n.map((a) => `toast-container--${a}`);
|
|
9
9
|
});
|
|
@@ -11,12 +11,13 @@ const C = {
|
|
|
11
11
|
to: s(o).teleportTo
|
|
12
12
|
}, [
|
|
13
13
|
u(m, {
|
|
14
|
-
class: _(["toast-container",
|
|
14
|
+
class: _(["toast-container", i.value]),
|
|
15
15
|
name: "toast-animation",
|
|
16
|
-
tag: "div"
|
|
16
|
+
tag: "div",
|
|
17
|
+
type: "transition"
|
|
17
18
|
}, {
|
|
18
19
|
default: d(() => [
|
|
19
|
-
(e(!0), f(k, null,
|
|
20
|
+
(e(!0), f(k, null, y(s(c), (t) => (e(), r(T(t.component), {
|
|
20
21
|
key: t.uid,
|
|
21
22
|
toast: t
|
|
22
23
|
}, null, 8, ["toast"]))), 128))
|
package/package.json
CHANGED