@eodash/eodash 5.0.0-alpha.2.9 → 5.0.0-processing
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/README.md +1 -1
- package/core/client/App.vue +13 -1
- package/core/client/asWebComponent.js +13 -3
- package/core/client/components/DashboardLayout.vue +6 -2
- package/core/client/composables/DefineEodash.js +1 -1
- package/core/client/composables/EodashMap.js +349 -0
- package/core/client/composables/EodashProcess.js +575 -0
- package/core/client/composables/index.js +107 -24
- package/core/client/eodash.js +83 -10
- package/core/client/plugins/axios.js +8 -0
- package/core/client/plugins/index.js +2 -1
- package/core/client/store/Actions.js +63 -12
- package/core/client/store/States.js +19 -0
- package/core/client/store/stac.js +98 -8
- package/core/client/types.d.ts +25 -18
- package/core/client/utils/createLayers.js +313 -0
- package/core/client/utils/eodashSTAC.js +320 -170
- package/core/client/utils/helpers.js +369 -9
- package/core/client/utils/keys.js +2 -0
- package/core/client/utils/states.js +17 -0
- package/core/client/views/Dashboard.vue +17 -46
- package/core/client/vite-env.d.ts +1 -9
- package/dist/client/DashboardLayout-CVMJ4l8M.js +87 -0
- package/dist/client/DynamicWebComponent-Cv8n457T.js +88 -0
- package/dist/client/EodashDatePicker-VVkiPmpc.js +394 -0
- package/dist/client/EodashItemFilter-CugWNQ86.js +194 -0
- package/dist/client/EodashLayerControl-53WghA8G.js +110 -0
- package/dist/client/EodashMap-CQnOePpy.js +486 -0
- package/dist/client/EodashMapBtns-uaRwFtfB.js +66 -0
- package/dist/client/EodashProcess-cF0unIy8.js +1477 -0
- package/dist/client/ExportState-BT8MLAW7.js +644 -0
- package/dist/client/Footer-C6GUG84G.js +141 -0
- package/dist/client/Header-D2dtCWp8.js +437 -0
- package/dist/client/IframeWrapper-BgM9aU8f.js +28 -0
- package/dist/client/MobileLayout-BAo8Wr8T.js +1210 -0
- package/dist/client/PopUp-Bm01q7Ko.js +389 -0
- package/dist/client/VImg-B8AbetCE.js +384 -0
- package/dist/client/VMain-DnGlQUyr.js +43 -0
- package/dist/client/VOverlay-B8Qj7LRG.js +1453 -0
- package/dist/client/WidgetsContainer-CwXRRLS1.js +83 -0
- package/dist/client/asWebComponent-DUUoR7MZ.js +11621 -0
- package/dist/client/eo-dash.js +2 -6
- package/dist/client/forwardRefs-CZJhEAKW.js +245 -0
- package/dist/client/index-DlIO7sJ3.js +199 -0
- package/dist/client/ssrBoot-BP7SYRyC.js +22 -0
- package/dist/client/style.css +2 -2
- package/dist/client/transition-BiR8wMn1.js +37 -0
- package/dist/node/cli.js +4 -4
- package/dist/node/types.d.ts +2 -0
- package/dist/types/core/client/App.vue.d.ts +7 -0
- package/dist/types/core/client/asWebComponent.d.ts +9 -0
- package/dist/types/core/client/components/DashboardLayout.vue.d.ts +2 -0
- package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +18 -0
- package/dist/types/core/client/components/ErrorAlert.vue.d.ts +2 -0
- package/dist/types/core/client/components/Footer.vue.d.ts +2 -0
- package/dist/types/core/client/components/Header.vue.d.ts +2 -0
- package/dist/types/core/client/components/IframeWrapper.vue.d.ts +7 -0
- package/dist/types/core/client/components/Loading.vue.d.ts +2 -0
- package/dist/types/core/client/components/MobileLayout.vue.d.ts +2 -0
- package/dist/types/core/client/composables/DefineEodash.d.ts +2 -0
- package/dist/types/core/client/composables/DefineTemplate.d.ts +15 -0
- package/dist/types/core/client/composables/DefineWidgets.d.ts +14 -0
- package/dist/types/core/client/composables/EodashMap.d.ts +5 -0
- package/dist/types/core/client/composables/index.d.ts +30 -0
- package/dist/types/core/client/eodash.d.ts +8 -0
- package/dist/types/core/client/main.d.ts +2 -0
- package/dist/types/core/client/plugins/axios.d.ts +2 -0
- package/dist/types/core/client/plugins/index.d.ts +3 -0
- package/dist/types/core/client/plugins/vuetify.d.ts +82 -0
- package/dist/types/core/client/render.d.ts +1 -0
- package/dist/types/core/client/store/Actions.d.ts +12 -0
- package/dist/types/core/client/store/States.d.ts +22 -0
- package/dist/types/core/client/store/index.d.ts +2 -0
- package/dist/types/core/client/store/stac.d.ts +25 -0
- package/dist/types/core/client/types.d.ts +279 -0
- package/dist/types/core/client/utils/createLayers.d.ts +45 -0
- package/dist/types/core/client/utils/eodashSTAC.d.ts +82 -0
- package/dist/types/core/client/utils/helpers.d.ts +84 -0
- package/dist/types/core/client/utils/index.d.ts +2 -0
- package/dist/types/core/client/utils/keys.d.ts +6 -0
- package/dist/types/core/client/utils/states.d.ts +14 -0
- package/dist/types/core/client/views/Dashboard.vue.d.ts +9 -0
- package/dist/types/widgets/EodashDatePicker.vue.d.ts +7 -0
- package/dist/types/widgets/EodashItemFilter.vue.d.ts +42 -0
- package/dist/types/widgets/EodashLayerControl.vue.d.ts +11 -0
- package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +9 -0
- package/dist/types/widgets/EodashMap.vue.d.ts +7 -0
- package/dist/types/widgets/EodashMapBtns.vue.d.ts +11 -0
- package/dist/types/widgets/EodashStacInfo.vue.d.ts +21 -0
- package/dist/types/widgets/EodashTools.vue.d.ts +15 -0
- package/dist/types/widgets/ExportState.vue.d.ts +7 -0
- package/dist/types/widgets/PopUp.vue.d.ts +22 -0
- package/dist/types/widgets/WidgetsContainer.vue.d.ts +7 -0
- package/package.json +58 -37
- package/widgets/EodashDatePicker.vue +128 -100
- package/widgets/EodashItemFilter.vue +100 -14
- package/widgets/EodashLayerControl.vue +98 -0
- package/widgets/EodashMap.vue +98 -122
- package/widgets/EodashMapBtns.vue +24 -7
- package/widgets/EodashProcess.vue +151 -0
- package/widgets/ExportState.vue +15 -11
- package/core/client/SuspensedDashboard.ce.vue +0 -105
- package/dist/client/DashboardLayout-D0ZF6V2S.js +0 -156
- package/dist/client/DynamicWebComponent-CPsMSBHi.js +0 -57
- package/dist/client/EodashDatePicker-CBQP7u2X.js +0 -252
- package/dist/client/EodashItemFilter-DL2ScI-5.js +0 -7671
- package/dist/client/EodashMap-CkKoQlmR.js +0 -86917
- package/dist/client/EodashMapBtns-yuO2QmiR.js +0 -36
- package/dist/client/ExportState-CCzOhppU.js +0 -558
- package/dist/client/Footer-BPAND0yG.js +0 -115
- package/dist/client/Header-DLhebNvG.js +0 -350
- package/dist/client/IframeWrapper-1GEMHlsW.js +0 -19
- package/dist/client/MobileLayout-mGkOYRhu.js +0 -945
- package/dist/client/PopUp-1d2bBFjw.js +0 -300
- package/dist/client/VImg-DxHcztfM.js +0 -291
- package/dist/client/VMain-BLX5vRRn.js +0 -39
- package/dist/client/VOverlay-CvrYEmLu.js +0 -967
- package/dist/client/WidgetsContainer-CmYjvGm7.js +0 -129
- package/dist/client/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/client/asWebComponent-B91uK0U7.js +0 -20361
- package/dist/client/basedecoder-DHcBySSe-BmCFNFnw.js +0 -88
- package/dist/client/decoder-CP4lv0Kb-B6yqkcfC.js +0 -10
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +0 -10
- package/dist/client/eodashSTAC-DBjqe_Ho.js +0 -2788
- package/dist/client/eox-stacinfo-l7ALSV90.js +0 -13969
- package/dist/client/forwardRefs-BJJiadQP.js +0 -185
- package/dist/client/index-Q-bHLjxx.js +0 -153
- package/dist/client/jpeg-BAgeD1d3-oeHbFPUL.js +0 -514
- package/dist/client/lerc-DzVumYtB-P-KXC0TO.js +0 -1027
- package/dist/client/lzw-LAGDNbSC-DkP96qO9.js +0 -84
- package/dist/client/packbits-BlDR4Kj5-C66n1-zr.js +0 -24
- package/dist/client/pako.esm-CB1uQYY0-DB0PYm1P.js +0 -1081
- package/dist/client/raw-CMGvRjfu-BRi6E4i1.js +0 -9
- package/dist/client/ssrBoot-yo11mybw.js +0 -17
- package/dist/client/transition-CSJhuYGK.js +0 -34
- package/dist/client/webfontloader-qotgY98I.js +0 -435
- package/dist/client/webimage-BM_pbLN3-L2cGWK5l.js +0 -19
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { p as v, s as w, c as x, w as R, b9 as b } from "./asWebComponent-B91uK0U7.js";
|
|
2
|
-
class d {
|
|
3
|
-
constructor(r) {
|
|
4
|
-
let {
|
|
5
|
-
x: n,
|
|
6
|
-
y: i,
|
|
7
|
-
width: s,
|
|
8
|
-
height: t
|
|
9
|
-
} = r;
|
|
10
|
-
this.x = n, this.y = i, this.width = s, this.height = t;
|
|
11
|
-
}
|
|
12
|
-
get top() {
|
|
13
|
-
return this.y;
|
|
14
|
-
}
|
|
15
|
-
get bottom() {
|
|
16
|
-
return this.y + this.height;
|
|
17
|
-
}
|
|
18
|
-
get left() {
|
|
19
|
-
return this.x;
|
|
20
|
-
}
|
|
21
|
-
get right() {
|
|
22
|
-
return this.x + this.width;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
function W(e, r) {
|
|
26
|
-
return {
|
|
27
|
-
x: {
|
|
28
|
-
before: Math.max(0, r.left - e.left),
|
|
29
|
-
after: Math.max(0, e.right - r.right)
|
|
30
|
-
},
|
|
31
|
-
y: {
|
|
32
|
-
before: Math.max(0, r.top - e.top),
|
|
33
|
-
after: Math.max(0, e.bottom - r.bottom)
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function O(e) {
|
|
38
|
-
return Array.isArray(e) ? new d({
|
|
39
|
-
x: e[0],
|
|
40
|
-
y: e[1],
|
|
41
|
-
width: 0,
|
|
42
|
-
height: 0
|
|
43
|
-
}) : e.getBoundingClientRect();
|
|
44
|
-
}
|
|
45
|
-
function P(e) {
|
|
46
|
-
const r = e.getBoundingClientRect(), n = getComputedStyle(e), i = n.transform;
|
|
47
|
-
if (i) {
|
|
48
|
-
let s, t, o, a, f;
|
|
49
|
-
if (i.startsWith("matrix3d("))
|
|
50
|
-
s = i.slice(9, -1).split(/, /), t = +s[0], o = +s[5], a = +s[12], f = +s[13];
|
|
51
|
-
else if (i.startsWith("matrix("))
|
|
52
|
-
s = i.slice(7, -1).split(/, /), t = +s[0], o = +s[3], a = +s[4], f = +s[5];
|
|
53
|
-
else
|
|
54
|
-
return new d(r);
|
|
55
|
-
const c = n.transformOrigin, u = r.x - a - (1 - t) * parseFloat(c), l = r.y - f - (1 - o) * parseFloat(c.slice(c.indexOf(" ") + 1)), h = t ? r.width / t : e.offsetWidth + 1, m = o ? r.height / o : e.offsetHeight + 1;
|
|
56
|
-
return new d({
|
|
57
|
-
x: u,
|
|
58
|
-
y: l,
|
|
59
|
-
width: h,
|
|
60
|
-
height: m
|
|
61
|
-
});
|
|
62
|
-
} else
|
|
63
|
-
return new d(r);
|
|
64
|
-
}
|
|
65
|
-
function B(e, r, n) {
|
|
66
|
-
if (typeof e.animate > "u") return {
|
|
67
|
-
finished: Promise.resolve()
|
|
68
|
-
};
|
|
69
|
-
let i;
|
|
70
|
-
try {
|
|
71
|
-
i = e.animate(r, n);
|
|
72
|
-
} catch {
|
|
73
|
-
return {
|
|
74
|
-
finished: Promise.resolve()
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
return typeof i.finished > "u" && (i.finished = new Promise((s) => {
|
|
78
|
-
i.onfinish = () => {
|
|
79
|
-
s(i);
|
|
80
|
-
};
|
|
81
|
-
})), i;
|
|
82
|
-
}
|
|
83
|
-
const z = "cubic-bezier(0.4, 0, 0.2, 1)", I = "cubic-bezier(0.0, 0, 0.2, 1)", C = "cubic-bezier(0.4, 0, 1, 1)", S = v({
|
|
84
|
-
eager: Boolean
|
|
85
|
-
}, "lazy");
|
|
86
|
-
function _(e, r) {
|
|
87
|
-
const n = w(!1), i = x(() => n.value || e.eager || r.value);
|
|
88
|
-
R(r, () => n.value = !0);
|
|
89
|
-
function s() {
|
|
90
|
-
e.eager || (n.value = !1);
|
|
91
|
-
}
|
|
92
|
-
return {
|
|
93
|
-
isBooted: n,
|
|
94
|
-
hasContent: i,
|
|
95
|
-
onAfterLeave: s
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
function A() {
|
|
99
|
-
const r = b("useScopeId").vnode.scopeId;
|
|
100
|
-
return {
|
|
101
|
-
scopeId: r ? {
|
|
102
|
-
[r]: ""
|
|
103
|
-
} : void 0
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
const p = Symbol("Forwarded refs");
|
|
107
|
-
function g(e, r) {
|
|
108
|
-
let n = e;
|
|
109
|
-
for (; n; ) {
|
|
110
|
-
const i = Reflect.getOwnPropertyDescriptor(n, r);
|
|
111
|
-
if (i) return i;
|
|
112
|
-
n = Object.getPrototypeOf(n);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
function D(e) {
|
|
116
|
-
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
117
|
-
n[i - 1] = arguments[i];
|
|
118
|
-
return e[p] = n, new Proxy(e, {
|
|
119
|
-
get(s, t) {
|
|
120
|
-
if (Reflect.has(s, t))
|
|
121
|
-
return Reflect.get(s, t);
|
|
122
|
-
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
123
|
-
for (const o of n)
|
|
124
|
-
if (o.value && Reflect.has(o.value, t)) {
|
|
125
|
-
const a = Reflect.get(o.value, t);
|
|
126
|
-
return typeof a == "function" ? a.bind(o.value) : a;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
has(s, t) {
|
|
131
|
-
if (Reflect.has(s, t))
|
|
132
|
-
return !0;
|
|
133
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
134
|
-
for (const o of n)
|
|
135
|
-
if (o.value && Reflect.has(o.value, t))
|
|
136
|
-
return !0;
|
|
137
|
-
return !1;
|
|
138
|
-
},
|
|
139
|
-
set(s, t, o) {
|
|
140
|
-
if (Reflect.has(s, t))
|
|
141
|
-
return Reflect.set(s, t, o);
|
|
142
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
143
|
-
for (const a of n)
|
|
144
|
-
if (a.value && Reflect.has(a.value, t))
|
|
145
|
-
return Reflect.set(a.value, t, o);
|
|
146
|
-
return !1;
|
|
147
|
-
},
|
|
148
|
-
getOwnPropertyDescriptor(s, t) {
|
|
149
|
-
const o = Reflect.getOwnPropertyDescriptor(s, t);
|
|
150
|
-
if (o) return o;
|
|
151
|
-
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
152
|
-
for (const a of n) {
|
|
153
|
-
if (!a.value) continue;
|
|
154
|
-
const f = g(a.value, t) ?? ("_" in a.value ? g(a.value._?.setupState, t) : void 0);
|
|
155
|
-
if (f) return f;
|
|
156
|
-
}
|
|
157
|
-
for (const a of n) {
|
|
158
|
-
const f = a.value && a.value[p];
|
|
159
|
-
if (!f) continue;
|
|
160
|
-
const c = f.slice();
|
|
161
|
-
for (; c.length; ) {
|
|
162
|
-
const u = c.shift(), l = g(u.value, t);
|
|
163
|
-
if (l) return l;
|
|
164
|
-
const h = u.value && u.value[p];
|
|
165
|
-
h && c.push(...h);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
export {
|
|
173
|
-
d as B,
|
|
174
|
-
B as a,
|
|
175
|
-
A as b,
|
|
176
|
-
C as c,
|
|
177
|
-
I as d,
|
|
178
|
-
W as e,
|
|
179
|
-
D as f,
|
|
180
|
-
O as g,
|
|
181
|
-
S as m,
|
|
182
|
-
P as n,
|
|
183
|
-
z as s,
|
|
184
|
-
_ as u
|
|
185
|
-
};
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { g as c, bb as g, ab as p, ay as h, p as b, bc as S } from "./asWebComponent-B91uK0U7.js";
|
|
2
|
-
const _ = b({
|
|
3
|
-
disabled: Boolean,
|
|
4
|
-
group: Boolean,
|
|
5
|
-
hideOnLeave: Boolean,
|
|
6
|
-
leaveAbsolute: Boolean,
|
|
7
|
-
mode: String,
|
|
8
|
-
origin: String
|
|
9
|
-
}, "transition");
|
|
10
|
-
function s(o, d, i) {
|
|
11
|
-
return c()({
|
|
12
|
-
name: o,
|
|
13
|
-
props: _({
|
|
14
|
-
mode: i,
|
|
15
|
-
origin: d
|
|
16
|
-
}),
|
|
17
|
-
setup(n, r) {
|
|
18
|
-
let {
|
|
19
|
-
slots: a
|
|
20
|
-
} = r;
|
|
21
|
-
const t = {
|
|
22
|
-
onBeforeEnter(e) {
|
|
23
|
-
n.origin && (e.style.transformOrigin = n.origin);
|
|
24
|
-
},
|
|
25
|
-
onLeave(e) {
|
|
26
|
-
if (n.leaveAbsolute) {
|
|
27
|
-
const {
|
|
28
|
-
offsetTop: l,
|
|
29
|
-
offsetLeft: f,
|
|
30
|
-
offsetWidth: y,
|
|
31
|
-
offsetHeight: u
|
|
32
|
-
} = e;
|
|
33
|
-
e._transitionInitialStyles = {
|
|
34
|
-
position: e.style.position,
|
|
35
|
-
top: e.style.top,
|
|
36
|
-
left: e.style.left,
|
|
37
|
-
width: e.style.width,
|
|
38
|
-
height: e.style.height
|
|
39
|
-
}, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${y}px`, e.style.height = `${u}px`;
|
|
40
|
-
}
|
|
41
|
-
n.hideOnLeave && e.style.setProperty("display", "none", "important");
|
|
42
|
-
},
|
|
43
|
-
onAfterLeave(e) {
|
|
44
|
-
if (n.leaveAbsolute && e?._transitionInitialStyles) {
|
|
45
|
-
const {
|
|
46
|
-
position: l,
|
|
47
|
-
top: f,
|
|
48
|
-
left: y,
|
|
49
|
-
width: u,
|
|
50
|
-
height: x
|
|
51
|
-
} = e._transitionInitialStyles;
|
|
52
|
-
delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = y || "", e.style.width = u || "", e.style.height = x || "";
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
return () => {
|
|
57
|
-
const e = n.group ? g : p;
|
|
58
|
-
return h(e, {
|
|
59
|
-
name: n.disabled ? "" : o,
|
|
60
|
-
css: !n.disabled,
|
|
61
|
-
...n.group ? void 0 : {
|
|
62
|
-
mode: n.mode
|
|
63
|
-
},
|
|
64
|
-
...n.disabled ? {} : t
|
|
65
|
-
}, a.default);
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
function m(o, d) {
|
|
71
|
-
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
|
|
72
|
-
return c()({
|
|
73
|
-
name: o,
|
|
74
|
-
props: {
|
|
75
|
-
mode: {
|
|
76
|
-
type: String,
|
|
77
|
-
default: i
|
|
78
|
-
},
|
|
79
|
-
disabled: Boolean,
|
|
80
|
-
group: Boolean
|
|
81
|
-
},
|
|
82
|
-
setup(n, r) {
|
|
83
|
-
let {
|
|
84
|
-
slots: a
|
|
85
|
-
} = r;
|
|
86
|
-
const t = n.group ? g : p;
|
|
87
|
-
return () => h(t, {
|
|
88
|
-
name: n.disabled ? "" : o,
|
|
89
|
-
css: !n.disabled,
|
|
90
|
-
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
|
91
|
-
...n.disabled ? {} : d
|
|
92
|
-
}, a.default);
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
function v() {
|
|
97
|
-
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
98
|
-
const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n = S(`offset-${i}`);
|
|
99
|
-
return {
|
|
100
|
-
onBeforeEnter(t) {
|
|
101
|
-
t._parent = t.parentNode, t._initialStyle = {
|
|
102
|
-
transition: t.style.transition,
|
|
103
|
-
overflow: t.style.overflow,
|
|
104
|
-
[i]: t.style[i]
|
|
105
|
-
};
|
|
106
|
-
},
|
|
107
|
-
onEnter(t) {
|
|
108
|
-
const e = t._initialStyle;
|
|
109
|
-
t.style.setProperty("transition", "none", "important"), t.style.overflow = "hidden";
|
|
110
|
-
const l = `${t[n]}px`;
|
|
111
|
-
t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, o && t._parent && t._parent.classList.add(o), requestAnimationFrame(() => {
|
|
112
|
-
t.style[i] = l;
|
|
113
|
-
});
|
|
114
|
-
},
|
|
115
|
-
onAfterEnter: a,
|
|
116
|
-
onEnterCancelled: a,
|
|
117
|
-
onLeave(t) {
|
|
118
|
-
t._initialStyle = {
|
|
119
|
-
transition: "",
|
|
120
|
-
overflow: t.style.overflow,
|
|
121
|
-
[i]: t.style[i]
|
|
122
|
-
}, t.style.overflow = "hidden", t.style[i] = `${t[n]}px`, t.offsetHeight, requestAnimationFrame(() => t.style[i] = "0");
|
|
123
|
-
},
|
|
124
|
-
onAfterLeave: r,
|
|
125
|
-
onLeaveCancelled: r
|
|
126
|
-
};
|
|
127
|
-
function r(t) {
|
|
128
|
-
o && t._parent && t._parent.classList.remove(o), a(t);
|
|
129
|
-
}
|
|
130
|
-
function a(t) {
|
|
131
|
-
const e = t._initialStyle[i];
|
|
132
|
-
t.style.overflow = t._initialStyle.overflow, e != null && (t.style[i] = e), delete t._initialStyle;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
s("fab-transition", "center center", "out-in");
|
|
136
|
-
s("dialog-bottom-transition");
|
|
137
|
-
s("dialog-top-transition");
|
|
138
|
-
const L = s("fade-transition");
|
|
139
|
-
s("scale-transition");
|
|
140
|
-
s("scroll-x-transition");
|
|
141
|
-
s("scroll-x-reverse-transition");
|
|
142
|
-
s("scroll-y-transition");
|
|
143
|
-
s("scroll-y-reverse-transition");
|
|
144
|
-
s("slide-x-transition");
|
|
145
|
-
s("slide-x-reverse-transition");
|
|
146
|
-
s("slide-y-transition");
|
|
147
|
-
s("slide-y-reverse-transition");
|
|
148
|
-
const T = m("expand-transition", v());
|
|
149
|
-
m("expand-x-transition", v("", !0));
|
|
150
|
-
export {
|
|
151
|
-
L as V,
|
|
152
|
-
T as a
|
|
153
|
-
};
|