@eodash/eodash 5.0.0-alpha.2.4 → 5.0.0-alpha.2.5
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 +12 -2
- package/core/client/SuspensedDashboard.ce.vue +1 -5
- package/core/client/components/DashboardLayout.vue +37 -14
- package/core/client/components/ErrorAlert.vue +6 -1
- package/core/client/components/Footer.vue +6 -1
- package/core/client/components/Header.vue +6 -1
- package/core/client/components/IframeWrapper.vue +1 -1
- package/core/client/components/MobileLayout.vue +41 -10
- package/core/client/composables/DefineEodash.js +2 -1
- package/core/client/composables/DefineWidgets.js +14 -8
- package/core/client/composables/index.js +18 -119
- package/core/client/eodash.js +38 -36
- package/core/client/plugins/index.js +3 -0
- package/core/client/types.d.ts +40 -83
- package/core/client/utils/eodashSTAC.js +29 -25
- package/core/client/utils/index.js +15 -11
- package/core/client/views/Dashboard.vue +22 -11
- package/dist/client/DashboardLayout-BYROtP-7.js +156 -0
- package/dist/client/{DynamicWebComponent-C4Hotc4H.js → DynamicWebComponent-BQhxFPM0.js} +6 -6
- package/dist/client/EodashDatePicker-CFltnt5d.js +1194 -0
- package/dist/client/EodashItemFilter-DIBDAHcc.js +65 -0
- package/dist/client/{EodashMap-CGrQjZ1P.js → EodashMap-C6jJ2Lb_.js} +14323 -15656
- package/dist/client/Footer-BVIZms1S.js +115 -0
- package/dist/client/Header-TsTL1d2R.js +633 -0
- package/dist/client/{IframeWrapper-Cg3GMmfW.js → IframeWrapper-XKChM78a.js} +4 -4
- package/dist/client/MobileLayout-BlGcMQra.js +957 -0
- package/dist/client/{VMain-BHYlmRic.js → VMain-C9XV5Lyg.js} +8 -8
- package/dist/client/{WidgetsContainer-dje9QSk0.js → WidgetsContainer-BQXHnZpa.js} +3 -3
- package/dist/client/asWebComponent-CbdGxelK.js +20188 -0
- package/dist/client/{decoder-HRvnjnEI-BQ2rajuJ.js → decoder-HRvnjnEI-CHAYOWhz.js} +1 -1
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/forwardRefs-CyCJOFsz.js +192 -0
- package/dist/client/http-ZWiLaAeR.js +1337 -0
- package/dist/client/{index-CaDDfJYE.js → index-CabQjjQg.js} +43 -74
- package/dist/client/{lerc-_E46UbWQ-Beu35ovS.js → lerc-_E46UbWQ-TxBH4OeK.js} +1 -1
- package/dist/client/{ssrBoot-Dd7m-btU.js → ssrBoot-DWJ-z4I-.js} +3 -3
- package/dist/client/style.css +2 -2
- package/dist/client/transition-BlLt41wg.js +34 -0
- package/dist/node/cli.js +3 -3
- package/package.json +3 -4
- package/widgets/EodashDatePicker.vue +89 -36
- package/widgets/EodashItemFilter.vue +29 -13
- package/dist/client/DashboardLayout-ZaSRMD1M.js +0 -149
- package/dist/client/EodashDatePicker-C4kKjxKy.js +0 -1653
- package/dist/client/EodashItemFilter-cBHC0YEM.js +0 -51
- package/dist/client/Footer-pS636dEP.js +0 -118
- package/dist/client/Header-DQuaLdjl.js +0 -605
- package/dist/client/MobileLayout-BLXFBWI_.js +0 -987
- package/dist/client/asWebComponent-Bvb3xkxI.js +0 -13311
- package/dist/client/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/client/index-DlNICb3T.js +0 -34
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
class d {
|
|
2
|
-
constructor(o) {
|
|
3
|
-
let {
|
|
4
|
-
x: s,
|
|
5
|
-
y: r,
|
|
6
|
-
width: e,
|
|
7
|
-
height: t
|
|
8
|
-
} = o;
|
|
9
|
-
this.x = s, this.y = r, this.width = e, this.height = t;
|
|
10
|
-
}
|
|
11
|
-
get top() {
|
|
12
|
-
return this.y;
|
|
13
|
-
}
|
|
14
|
-
get bottom() {
|
|
15
|
-
return this.y + this.height;
|
|
16
|
-
}
|
|
17
|
-
get left() {
|
|
18
|
-
return this.x;
|
|
19
|
-
}
|
|
20
|
-
get right() {
|
|
21
|
-
return this.x + this.width;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function v(f) {
|
|
25
|
-
const o = f.getBoundingClientRect(), s = getComputedStyle(f), r = s.transform;
|
|
26
|
-
if (r) {
|
|
27
|
-
let e, t, i, n, u;
|
|
28
|
-
if (r.startsWith("matrix3d("))
|
|
29
|
-
e = r.slice(9, -1).split(/, /), t = +e[0], i = +e[5], n = +e[12], u = +e[13];
|
|
30
|
-
else if (r.startsWith("matrix("))
|
|
31
|
-
e = r.slice(7, -1).split(/, /), t = +e[0], i = +e[3], n = +e[4], u = +e[5];
|
|
32
|
-
else
|
|
33
|
-
return new d(o);
|
|
34
|
-
const a = s.transformOrigin, c = o.x - n - (1 - t) * parseFloat(a), l = o.y - u - (1 - i) * parseFloat(a.slice(a.indexOf(" ") + 1)), h = t ? o.width / t : f.offsetWidth + 1, m = i ? o.height / i : f.offsetHeight + 1;
|
|
35
|
-
return new d({
|
|
36
|
-
x: c,
|
|
37
|
-
y: l,
|
|
38
|
-
width: h,
|
|
39
|
-
height: m
|
|
40
|
-
});
|
|
41
|
-
} else
|
|
42
|
-
return new d(o);
|
|
43
|
-
}
|
|
44
|
-
function w(f, o, s) {
|
|
45
|
-
if (typeof f.animate > "u")
|
|
46
|
-
return {
|
|
47
|
-
finished: Promise.resolve()
|
|
48
|
-
};
|
|
49
|
-
let r;
|
|
50
|
-
try {
|
|
51
|
-
r = f.animate(o, s);
|
|
52
|
-
} catch {
|
|
53
|
-
return {
|
|
54
|
-
finished: Promise.resolve()
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
return typeof r.finished > "u" && (r.finished = new Promise((e) => {
|
|
58
|
-
r.onfinish = () => {
|
|
59
|
-
e(r);
|
|
60
|
-
};
|
|
61
|
-
})), r;
|
|
62
|
-
}
|
|
63
|
-
const R = "cubic-bezier(0.4, 0, 0.2, 1)", p = Symbol("Forwarded refs");
|
|
64
|
-
function g(f, o) {
|
|
65
|
-
let s = f;
|
|
66
|
-
for (; s; ) {
|
|
67
|
-
const r = Reflect.getOwnPropertyDescriptor(s, o);
|
|
68
|
-
if (r)
|
|
69
|
-
return r;
|
|
70
|
-
s = Object.getPrototypeOf(s);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
function x(f) {
|
|
74
|
-
for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), r = 1; r < o; r++)
|
|
75
|
-
s[r - 1] = arguments[r];
|
|
76
|
-
return f[p] = s, new Proxy(f, {
|
|
77
|
-
get(e, t) {
|
|
78
|
-
if (Reflect.has(e, t))
|
|
79
|
-
return Reflect.get(e, t);
|
|
80
|
-
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
81
|
-
for (const i of s)
|
|
82
|
-
if (i.value && Reflect.has(i.value, t)) {
|
|
83
|
-
const n = Reflect.get(i.value, t);
|
|
84
|
-
return typeof n == "function" ? n.bind(i.value) : n;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
has(e, t) {
|
|
89
|
-
if (Reflect.has(e, t))
|
|
90
|
-
return !0;
|
|
91
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
92
|
-
return !1;
|
|
93
|
-
for (const i of s)
|
|
94
|
-
if (i.value && Reflect.has(i.value, t))
|
|
95
|
-
return !0;
|
|
96
|
-
return !1;
|
|
97
|
-
},
|
|
98
|
-
set(e, t, i) {
|
|
99
|
-
if (Reflect.has(e, t))
|
|
100
|
-
return Reflect.set(e, t, i);
|
|
101
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
102
|
-
return !1;
|
|
103
|
-
for (const n of s)
|
|
104
|
-
if (n.value && Reflect.has(n.value, t))
|
|
105
|
-
return Reflect.set(n.value, t, i);
|
|
106
|
-
return !1;
|
|
107
|
-
},
|
|
108
|
-
getOwnPropertyDescriptor(e, t) {
|
|
109
|
-
const i = Reflect.getOwnPropertyDescriptor(e, t);
|
|
110
|
-
if (i)
|
|
111
|
-
return i;
|
|
112
|
-
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
113
|
-
for (const n of s) {
|
|
114
|
-
if (!n.value)
|
|
115
|
-
continue;
|
|
116
|
-
const u = g(n.value, t) ?? ("_" in n.value ? g(n.value._?.setupState, t) : void 0);
|
|
117
|
-
if (u)
|
|
118
|
-
return u;
|
|
119
|
-
}
|
|
120
|
-
for (const n of s) {
|
|
121
|
-
const u = n.value && n.value[p];
|
|
122
|
-
if (!u)
|
|
123
|
-
continue;
|
|
124
|
-
const a = u.slice();
|
|
125
|
-
for (; a.length; ) {
|
|
126
|
-
const c = a.shift(), l = g(c.value, t);
|
|
127
|
-
if (l)
|
|
128
|
-
return l;
|
|
129
|
-
const h = c.value && c.value[p];
|
|
130
|
-
h && a.push(...h);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
export {
|
|
138
|
-
w as a,
|
|
139
|
-
x as f,
|
|
140
|
-
v as n,
|
|
141
|
-
R as s
|
|
142
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ag as b } from "./asWebComponent-Bvb3xkxI.js";
|
|
2
|
-
function d(e, t) {
|
|
3
|
-
if (!b)
|
|
4
|
-
return;
|
|
5
|
-
const n = t.modifiers || {}, r = t.value, {
|
|
6
|
-
handler: i,
|
|
7
|
-
options: v
|
|
8
|
-
} = typeof r == "object" ? r : {
|
|
9
|
-
handler: r,
|
|
10
|
-
options: {}
|
|
11
|
-
}, u = new IntersectionObserver(function() {
|
|
12
|
-
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], f = arguments.length > 1 ? arguments[1] : void 0;
|
|
13
|
-
const s = e._observe?.[t.instance.$.uid];
|
|
14
|
-
if (!s)
|
|
15
|
-
return;
|
|
16
|
-
const o = c.some((m) => m.isIntersecting);
|
|
17
|
-
i && (!n.quiet || s.init) && (!n.once || o || s.init) && i(o, c, f), o && n.once ? a(e, t) : s.init = !0;
|
|
18
|
-
}, v);
|
|
19
|
-
e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
|
|
20
|
-
init: !1,
|
|
21
|
-
observer: u
|
|
22
|
-
}, u.observe(e);
|
|
23
|
-
}
|
|
24
|
-
function a(e, t) {
|
|
25
|
-
const n = e._observe?.[t.instance.$.uid];
|
|
26
|
-
n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
|
|
27
|
-
}
|
|
28
|
-
const I = {
|
|
29
|
-
mounted: d,
|
|
30
|
-
unmounted: a
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
I
|
|
34
|
-
};
|