@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,33 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
transition: {
|
|
4
|
-
type: [Boolean, String, Object],
|
|
5
|
-
default: "fade-transition",
|
|
6
|
-
validator: (s) => s !== !0
|
|
7
|
-
}
|
|
8
|
-
}, "transition"), B = (s, d) => {
|
|
9
|
-
let {
|
|
10
|
-
slots: i
|
|
11
|
-
} = d;
|
|
12
|
-
const {
|
|
13
|
-
transition: n,
|
|
14
|
-
disabled: r,
|
|
15
|
-
group: a,
|
|
16
|
-
...t
|
|
17
|
-
} = s, {
|
|
18
|
-
component: e = a ? g : p,
|
|
19
|
-
...l
|
|
20
|
-
} = typeof n == "object" ? n : {};
|
|
21
|
-
return c(e, S(typeof n == "string" ? {
|
|
22
|
-
name: r ? "" : n
|
|
23
|
-
} : l, typeof n == "string" ? {} : Object.fromEntries(Object.entries({
|
|
24
|
-
disabled: r,
|
|
25
|
-
group: a
|
|
26
|
-
}).filter((f) => {
|
|
27
|
-
let [u, y] = f;
|
|
28
|
-
return y !== void 0;
|
|
29
|
-
})), t), i);
|
|
30
|
-
}, w = m({
|
|
1
|
+
import { g, av as c, ab as p, aw as h, p as b, ax as w } from "./asWebComponent-CbdGxelK.js";
|
|
2
|
+
const S = b({
|
|
31
3
|
disabled: Boolean,
|
|
32
4
|
group: Boolean,
|
|
33
5
|
hideOnLeave: Boolean,
|
|
@@ -35,10 +7,10 @@ const L = m({
|
|
|
35
7
|
mode: String,
|
|
36
8
|
origin: String
|
|
37
9
|
}, "transition");
|
|
38
|
-
function o
|
|
39
|
-
return
|
|
40
|
-
name:
|
|
41
|
-
props:
|
|
10
|
+
function s(o, d, i) {
|
|
11
|
+
return g()({
|
|
12
|
+
name: o,
|
|
13
|
+
props: S({
|
|
42
14
|
mode: i,
|
|
43
15
|
origin: d
|
|
44
16
|
}),
|
|
@@ -55,8 +27,8 @@ function o(s, d, i) {
|
|
|
55
27
|
const {
|
|
56
28
|
offsetTop: l,
|
|
57
29
|
offsetLeft: f,
|
|
58
|
-
offsetWidth:
|
|
59
|
-
offsetHeight:
|
|
30
|
+
offsetWidth: y,
|
|
31
|
+
offsetHeight: u
|
|
60
32
|
} = e;
|
|
61
33
|
e._transitionInitialStyles = {
|
|
62
34
|
position: e.style.position,
|
|
@@ -64,7 +36,7 @@ function o(s, d, i) {
|
|
|
64
36
|
left: e.style.left,
|
|
65
37
|
width: e.style.width,
|
|
66
38
|
height: e.style.height
|
|
67
|
-
}, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${
|
|
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`;
|
|
68
40
|
}
|
|
69
41
|
n.hideOnLeave && e.style.setProperty("display", "none", "important");
|
|
70
42
|
},
|
|
@@ -73,18 +45,18 @@ function o(s, d, i) {
|
|
|
73
45
|
const {
|
|
74
46
|
position: l,
|
|
75
47
|
top: f,
|
|
76
|
-
left:
|
|
77
|
-
width:
|
|
48
|
+
left: y,
|
|
49
|
+
width: u,
|
|
78
50
|
height: x
|
|
79
51
|
} = e._transitionInitialStyles;
|
|
80
|
-
delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left =
|
|
52
|
+
delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = y || "", e.style.width = u || "", e.style.height = x || "";
|
|
81
53
|
}
|
|
82
54
|
}
|
|
83
55
|
};
|
|
84
56
|
return () => {
|
|
85
|
-
const e = n.group ?
|
|
86
|
-
return
|
|
87
|
-
name: n.disabled ? "" :
|
|
57
|
+
const e = n.group ? c : p;
|
|
58
|
+
return h(e, {
|
|
59
|
+
name: n.disabled ? "" : o,
|
|
88
60
|
css: !n.disabled,
|
|
89
61
|
...n.group ? void 0 : {
|
|
90
62
|
mode: n.mode
|
|
@@ -95,10 +67,10 @@ function o(s, d, i) {
|
|
|
95
67
|
}
|
|
96
68
|
});
|
|
97
69
|
}
|
|
98
|
-
function
|
|
70
|
+
function m(o, d) {
|
|
99
71
|
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
|
|
100
|
-
return
|
|
101
|
-
name:
|
|
72
|
+
return g()({
|
|
73
|
+
name: o,
|
|
102
74
|
props: {
|
|
103
75
|
mode: {
|
|
104
76
|
type: String,
|
|
@@ -111,9 +83,9 @@ function v(s, d) {
|
|
|
111
83
|
let {
|
|
112
84
|
slots: a
|
|
113
85
|
} = r;
|
|
114
|
-
const t = n.group ?
|
|
115
|
-
return () =>
|
|
116
|
-
name: n.disabled ? "" :
|
|
86
|
+
const t = n.group ? c : p;
|
|
87
|
+
return () => h(t, {
|
|
88
|
+
name: n.disabled ? "" : o,
|
|
117
89
|
css: !n.disabled,
|
|
118
90
|
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
|
119
91
|
...n.disabled ? {} : d
|
|
@@ -121,9 +93,9 @@ function v(s, d) {
|
|
|
121
93
|
}
|
|
122
94
|
});
|
|
123
95
|
}
|
|
124
|
-
function
|
|
125
|
-
let
|
|
126
|
-
const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n =
|
|
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 = w(`offset-${i}`);
|
|
127
99
|
return {
|
|
128
100
|
onBeforeEnter(t) {
|
|
129
101
|
t._parent = t.parentNode, t._initialStyle = {
|
|
@@ -136,7 +108,7 @@ function b() {
|
|
|
136
108
|
const e = t._initialStyle;
|
|
137
109
|
t.style.setProperty("transition", "none", "important"), t.style.overflow = "hidden";
|
|
138
110
|
const l = `${t[n]}px`;
|
|
139
|
-
t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition,
|
|
111
|
+
t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, o && t._parent && t._parent.classList.add(o), requestAnimationFrame(() => {
|
|
140
112
|
t.style[i] = l;
|
|
141
113
|
});
|
|
142
114
|
},
|
|
@@ -153,32 +125,29 @@ function b() {
|
|
|
153
125
|
onLeaveCancelled: r
|
|
154
126
|
};
|
|
155
127
|
function r(t) {
|
|
156
|
-
|
|
128
|
+
o && t._parent && t._parent.classList.remove(o), a(t);
|
|
157
129
|
}
|
|
158
130
|
function a(t) {
|
|
159
131
|
const e = t._initialStyle[i];
|
|
160
132
|
t.style.overflow = t._initialStyle.overflow, e != null && (t.style[i] = e), delete t._initialStyle;
|
|
161
133
|
}
|
|
162
134
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
const
|
|
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));
|
|
177
150
|
export {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
A as a,
|
|
181
|
-
P as b,
|
|
182
|
-
$ as c,
|
|
183
|
-
L as m
|
|
151
|
+
L as V,
|
|
152
|
+
T as a
|
|
184
153
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as tA } from "./pako.esm-C3kYPGGQ-BMki8cQY.js";
|
|
2
|
-
import { D as sA, G as gA, V as rA } from "./EodashMap-
|
|
2
|
+
import { D as sA, G as gA, V as rA } from "./EodashMap-C6jJ2Lb_.js";
|
|
3
3
|
import { g as DA } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
|
|
4
4
|
var iA = { exports: {} };
|
|
5
5
|
(function(W) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s
|
|
1
|
+
import { s, Z as t, c as e, ay as n } from "./asWebComponent-CbdGxelK.js";
|
|
2
2
|
function i() {
|
|
3
|
-
const o =
|
|
4
|
-
return
|
|
3
|
+
const o = s(!1);
|
|
4
|
+
return t(() => {
|
|
5
5
|
window.requestAnimationFrame(() => {
|
|
6
6
|
o.value = !0;
|
|
7
7
|
});
|