@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.
Files changed (51) hide show
  1. package/README.md +12 -2
  2. package/core/client/SuspensedDashboard.ce.vue +1 -5
  3. package/core/client/components/DashboardLayout.vue +37 -14
  4. package/core/client/components/ErrorAlert.vue +6 -1
  5. package/core/client/components/Footer.vue +6 -1
  6. package/core/client/components/Header.vue +6 -1
  7. package/core/client/components/IframeWrapper.vue +1 -1
  8. package/core/client/components/MobileLayout.vue +41 -10
  9. package/core/client/composables/DefineEodash.js +2 -1
  10. package/core/client/composables/DefineWidgets.js +14 -8
  11. package/core/client/composables/index.js +18 -119
  12. package/core/client/eodash.js +38 -36
  13. package/core/client/plugins/index.js +3 -0
  14. package/core/client/types.d.ts +40 -83
  15. package/core/client/utils/eodashSTAC.js +29 -25
  16. package/core/client/utils/index.js +15 -11
  17. package/core/client/views/Dashboard.vue +22 -11
  18. package/dist/client/DashboardLayout-BYROtP-7.js +156 -0
  19. package/dist/client/{DynamicWebComponent-C4Hotc4H.js → DynamicWebComponent-BQhxFPM0.js} +6 -6
  20. package/dist/client/EodashDatePicker-CFltnt5d.js +1194 -0
  21. package/dist/client/EodashItemFilter-DIBDAHcc.js +65 -0
  22. package/dist/client/{EodashMap-CGrQjZ1P.js → EodashMap-C6jJ2Lb_.js} +14323 -15656
  23. package/dist/client/Footer-BVIZms1S.js +115 -0
  24. package/dist/client/Header-TsTL1d2R.js +633 -0
  25. package/dist/client/{IframeWrapper-Cg3GMmfW.js → IframeWrapper-XKChM78a.js} +4 -4
  26. package/dist/client/MobileLayout-BlGcMQra.js +957 -0
  27. package/dist/client/{VMain-BHYlmRic.js → VMain-C9XV5Lyg.js} +8 -8
  28. package/dist/client/{WidgetsContainer-dje9QSk0.js → WidgetsContainer-BQXHnZpa.js} +3 -3
  29. package/dist/client/asWebComponent-CbdGxelK.js +20188 -0
  30. package/dist/client/{decoder-HRvnjnEI-BQ2rajuJ.js → decoder-HRvnjnEI-CHAYOWhz.js} +1 -1
  31. package/dist/client/eo-dash.js +1 -1
  32. package/dist/client/forwardRefs-CyCJOFsz.js +192 -0
  33. package/dist/client/http-ZWiLaAeR.js +1337 -0
  34. package/dist/client/{index-CaDDfJYE.js → index-CabQjjQg.js} +43 -74
  35. package/dist/client/{lerc-_E46UbWQ-Beu35ovS.js → lerc-_E46UbWQ-TxBH4OeK.js} +1 -1
  36. package/dist/client/{ssrBoot-Dd7m-btU.js → ssrBoot-DWJ-z4I-.js} +3 -3
  37. package/dist/client/style.css +2 -2
  38. package/dist/client/transition-BlLt41wg.js +34 -0
  39. package/dist/node/cli.js +3 -3
  40. package/package.json +3 -4
  41. package/widgets/EodashDatePicker.vue +89 -36
  42. package/widgets/EodashItemFilter.vue +29 -13
  43. package/dist/client/DashboardLayout-ZaSRMD1M.js +0 -149
  44. package/dist/client/EodashDatePicker-C4kKjxKy.js +0 -1653
  45. package/dist/client/EodashItemFilter-cBHC0YEM.js +0 -51
  46. package/dist/client/Footer-pS636dEP.js +0 -118
  47. package/dist/client/Header-DQuaLdjl.js +0 -605
  48. package/dist/client/MobileLayout-BLXFBWI_.js +0 -987
  49. package/dist/client/asWebComponent-Bvb3xkxI.js +0 -13311
  50. package/dist/client/forwardRefs-Bxeu9Obx.js +0 -142
  51. package/dist/client/index-DlNICb3T.js +0 -34
@@ -1,33 +1,5 @@
1
- import { aR as c, d as S, p as m, aS as g, aT as p, g as h, aU as _ } from "./asWebComponent-Bvb3xkxI.js";
2
- const L = m({
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(s, d, i) {
39
- return h()({
40
- name: s,
41
- props: w({
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: u,
59
- offsetHeight: y
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 = `${u}px`, e.style.height = `${y}px`;
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: u,
77
- width: y,
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 = u || "", e.style.width = y || "", e.style.height = x || "";
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 ? g : p;
86
- return c(e, {
87
- name: n.disabled ? "" : s,
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 v(s, d) {
70
+ function m(o, d) {
99
71
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
100
- return h()({
101
- name: s,
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 ? g : p;
115
- return () => c(t, {
116
- name: n.disabled ? "" : s,
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 b() {
125
- let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
126
- const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n = _(`offset-${i}`);
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, s && t._parent && t._parent.classList.add(s), requestAnimationFrame(() => {
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
- s && t._parent && t._parent.classList.remove(s), a(t);
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
- o("fab-transition", "center center", "out-in");
164
- o("dialog-bottom-transition");
165
- o("dialog-top-transition");
166
- const E = o("fade-transition");
167
- o("scale-transition");
168
- o("scroll-x-transition");
169
- o("scroll-x-reverse-transition");
170
- o("scroll-y-transition");
171
- o("scroll-y-reverse-transition");
172
- o("slide-x-transition");
173
- o("slide-x-reverse-transition");
174
- const P = o("slide-y-transition");
175
- o("slide-y-reverse-transition");
176
- const A = v("expand-transition", b()), $ = v("expand-x-transition", b("", !0));
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
- B as M,
179
- E as V,
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-CGrQjZ1P.js";
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 as t, Z as s, c as e, at as n } from "./asWebComponent-Bvb3xkxI.js";
1
+ import { s, Z as t, c as e, ay as n } from "./asWebComponent-CbdGxelK.js";
2
2
  function i() {
3
- const o = t(!1);
4
- return s(() => {
3
+ const o = s(!1);
4
+ return t(() => {
5
5
  window.requestAnimationFrame(() => {
6
6
  o.value = !0;
7
7
  });