@astrato-io/visualizations 0.8.0 → 0.9.0

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 (125) hide show
  1. package/README.md +1 -1
  2. package/THIRD_PARTY_NOTICES.md +307 -378
  3. package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
  4. package/chunks/CircularProgress-DFS-LQb7.js +765 -0
  5. package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
  6. package/chunks/LinearProgress-CjIQfkNA.js +327 -0
  7. package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
  8. package/chunks/Title-CtFw1bVg.js +1804 -0
  9. package/chunks/ToggleButton-Br9HCPCv.js +150 -0
  10. package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
  11. package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
  12. package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
  13. package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
  14. package/chunks/contains-BK-sRXcB.js +21 -0
  15. package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
  16. package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
  17. package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
  18. package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
  19. package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
  20. package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
  21. package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
  22. package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
  23. package/chunks/isFocusVisible-B1_z03UT.js +144 -0
  24. package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
  25. package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
  26. package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
  27. package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
  28. package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
  29. package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
  30. package/chunks/react-dom-BwZT0N3F.js +368 -0
  31. package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
  32. package/chunks/{requirements-Dvd8jqYF.js → requirements-CYpVh65U.js} +52 -52
  33. package/chunks/responsive.styles-FItb913l.js +93 -0
  34. package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
  35. package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
  36. package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
  37. package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
  38. package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
  39. package/chunks/{standalone-vBnBS2YC.js → standalone-BDrQMxLi.js} +98 -98
  40. package/chunks/standalone-BMoJXGYe.js +2 -0
  41. package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
  42. package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
  43. package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
  44. package/chunks/standalone-CMJJIi9v.js +2 -0
  45. package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
  46. package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
  47. package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
  48. package/chunks/standalone-C_Jd4gkj.js +6 -0
  49. package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
  50. package/chunks/standalone-CoQxJ6ov.js +3638 -0
  51. package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
  52. package/chunks/standalone-DBeXQrwH.js +468 -0
  53. package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
  54. package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
  55. package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
  56. package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
  57. package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
  58. package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
  59. package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
  60. package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
  61. package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
  62. package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
  63. package/chunks/useFieldName-mWrD_uk_.js +7 -0
  64. package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
  65. package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
  66. package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
  67. package/chunks/with-html-element-B0Clt4jY.js +15901 -0
  68. package/definitions.js +2 -2
  69. package/docs/operations/astrato-app-filter-bar.md +1 -1
  70. package/docs/operations/bar.md +1 -1
  71. package/docs/operations/combo.md +1 -1
  72. package/docs/operations/date-picker.md +1 -1
  73. package/docs/operations/distribution-gauge.md +1 -1
  74. package/docs/operations/dot.md +1 -1
  75. package/docs/operations/filter.md +1 -1
  76. package/docs/operations/gauge.md +1 -1
  77. package/docs/operations/heatMap.md +1 -1
  78. package/docs/operations/histogram.md +1 -1
  79. package/docs/operations/iframe.md +1 -1
  80. package/docs/operations/image.md +1 -1
  81. package/docs/operations/index.md +2 -2
  82. package/docs/operations/line.md +1 -1
  83. package/docs/operations/number.md +1 -1
  84. package/docs/operations/pie.md +1 -1
  85. package/docs/operations/radar.md +1 -1
  86. package/docs/operations/sankey.md +1 -1
  87. package/docs/operations/scatter.md +1 -1
  88. package/docs/operations/shape.md +1 -1
  89. package/docs/operations/simpleTextObject.md +1 -1
  90. package/docs/operations/slider.md +1 -1
  91. package/docs/operations/table.md +66 -1
  92. package/docs/operations/tree.md +1 -1
  93. package/docs/operations/treemap.md +1 -1
  94. package/docs/operations/waterfall.md +1 -1
  95. package/docs/operations/word-cloud.md +1 -1
  96. package/getters.js +2 -2
  97. package/index.js +74 -68
  98. package/metadata.js +2 -2
  99. package/operations.js +5 -5
  100. package/package.json +67 -66
  101. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
  102. package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
  103. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
  104. package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
  105. package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
  106. package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
  107. package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
  108. package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
  109. package/src/visualization-catalog.d.ts +26 -26
  110. package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
  111. package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
  112. package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
  113. package/chunks/Title-CO5dP1ma.js +0 -1691
  114. package/chunks/ToggleButton-KOBAimC1.js +0 -112
  115. package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
  116. package/chunks/responsive.styles-DSiOGD7u.js +0 -82
  117. package/chunks/standalone-BXKRE_Se.js +0 -468
  118. package/chunks/standalone-BjZp0QMe.js +0 -2
  119. package/chunks/standalone-C8qAelL4.js +0 -2
  120. package/chunks/standalone-DT0wKji7.js +0 -6
  121. package/chunks/standalone-DYQIQH4c.js +0 -2095
  122. package/chunks/useFieldName-Cjn9KCVp.js +0 -7
  123. package/chunks/useSlotProps-DLbQp4lc.js +0 -166
  124. package/chunks/with-html-element-D0uY2zjI.js +0 -7328
  125. /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
@@ -1,81 +1,81 @@
1
1
  export declare const standaloneVisualizationCatalog: {
2
2
  readonly bar: {
3
- readonly family: "chart";
3
+ readonly family: 'chart';
4
4
  };
5
5
  readonly combo: {
6
- readonly family: "chart";
6
+ readonly family: 'chart';
7
7
  };
8
8
  readonly 'distribution-gauge': {
9
- readonly family: "chart";
9
+ readonly family: 'chart';
10
10
  };
11
11
  readonly dot: {
12
- readonly family: "chart";
12
+ readonly family: 'chart';
13
13
  };
14
14
  readonly gauge: {
15
- readonly family: "chart";
15
+ readonly family: 'chart';
16
16
  };
17
17
  readonly heatMap: {
18
- readonly family: "chart";
18
+ readonly family: 'chart';
19
19
  };
20
20
  readonly histogram: {
21
- readonly family: "chart";
21
+ readonly family: 'chart';
22
22
  };
23
23
  readonly line: {
24
- readonly family: "chart";
24
+ readonly family: 'chart';
25
25
  };
26
26
  readonly pie: {
27
- readonly family: "chart";
27
+ readonly family: 'chart';
28
28
  };
29
29
  readonly radar: {
30
- readonly family: "chart";
30
+ readonly family: 'chart';
31
31
  };
32
32
  readonly sankey: {
33
- readonly family: "chart";
33
+ readonly family: 'chart';
34
34
  };
35
35
  readonly scatter: {
36
- readonly family: "chart";
36
+ readonly family: 'chart';
37
37
  };
38
38
  readonly table: {
39
- readonly family: "chart";
39
+ readonly family: 'chart';
40
40
  };
41
41
  readonly tree: {
42
- readonly family: "chart";
42
+ readonly family: 'chart';
43
43
  };
44
44
  readonly treemap: {
45
- readonly family: "chart";
45
+ readonly family: 'chart';
46
46
  };
47
47
  readonly waterfall: {
48
- readonly family: "chart";
48
+ readonly family: 'chart';
49
49
  };
50
50
  readonly 'word-cloud': {
51
- readonly family: "chart";
51
+ readonly family: 'chart';
52
52
  };
53
53
  readonly 'astrato-app-filter-bar': {
54
- readonly family: "filter";
54
+ readonly family: 'filter';
55
55
  };
56
56
  readonly 'date-picker': {
57
- readonly family: "filter";
57
+ readonly family: 'filter';
58
58
  };
59
59
  readonly number: {
60
- readonly family: "object";
60
+ readonly family: 'object';
61
61
  };
62
62
  readonly filter: {
63
- readonly family: "filter";
63
+ readonly family: 'filter';
64
64
  };
65
65
  readonly iframe: {
66
- readonly family: "object";
66
+ readonly family: 'object';
67
67
  };
68
68
  readonly image: {
69
- readonly family: "object";
69
+ readonly family: 'object';
70
70
  };
71
71
  readonly shape: {
72
- readonly family: "object";
72
+ readonly family: 'object';
73
73
  };
74
74
  readonly simpleTextObject: {
75
- readonly family: "object";
75
+ readonly family: 'object';
76
76
  };
77
77
  readonly slider: {
78
- readonly family: "filter";
78
+ readonly family: 'filter';
79
79
  };
80
80
  };
81
81
  export type StandaloneVisualizationType = keyof typeof standaloneVisualizationCatalog;
@@ -1,257 +0,0 @@
1
- import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Ei as a, Ht as o, K as s, Lt as c, Nt as l, Ot as u, St as d, X as f, Z as p, at as m, bt as h, dt as g, ft as _, kt as v, ot as y, ri as b, xt as x } from "./utils-vdmi_2PK.js";
3
- var S = (e) => e, C = (() => {
4
- let e = S;
5
- return {
6
- configure(t) {
7
- e = t;
8
- },
9
- generate(t) {
10
- return e(t);
11
- },
12
- reset() {
13
- e = S;
14
- }
15
- };
16
- })();
17
- function w(e) {
18
- var t, n, r = "";
19
- if (typeof e == "string" || typeof e == "number") r += e;
20
- else if (typeof e == "object") if (Array.isArray(e)) {
21
- var i = e.length;
22
- for (t = 0; t < i; t++) e[t] && (n = w(e[t])) && (r && (r += " "), r += n);
23
- } else for (n in e) e[n] && (r && (r += " "), r += n);
24
- return r;
25
- }
26
- function T() {
27
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = w(e)) && (r && (r += " "), r += t);
28
- return r;
29
- }
30
- var E = {
31
- active: "active",
32
- checked: "checked",
33
- completed: "completed",
34
- disabled: "disabled",
35
- error: "error",
36
- expanded: "expanded",
37
- focused: "focused",
38
- focusVisible: "focusVisible",
39
- open: "open",
40
- readOnly: "readOnly",
41
- required: "required",
42
- selected: "selected"
43
- };
44
- function D(e, t, n = "Mui") {
45
- let r = E[t];
46
- return r ? `${n}-${r}` : `${C.generate(e)}-${t}`;
47
- }
48
- function O(e, t, n = "Mui") {
49
- let r = {};
50
- return t.forEach((t) => {
51
- r[t] = D(e, t, n);
52
- }), r;
53
- }
54
- var k = /* @__PURE__ */ i(((e) => {
55
- var t = Symbol.for("react.forward_ref"), n = Symbol.for("react.memo");
56
- e.ForwardRef = t, e.Memo = n;
57
- })), A = /* @__PURE__ */ i(((e, t) => {
58
- t.exports = k();
59
- }));
60
- function j(e) {
61
- let t = `${e}`.match(I);
62
- return t && t[1] || "";
63
- }
64
- function M(e, t = "") {
65
- return e.displayName || e.name || j(e) || t;
66
- }
67
- function N(e, t, n) {
68
- let r = M(t);
69
- return e.displayName || (r === "" ? n : `${n}(${r})`);
70
- }
71
- function P(e) {
72
- if (e != null) {
73
- if (typeof e == "string") return e;
74
- if (typeof e == "function") return M(e, "Component");
75
- if (typeof e == "object") switch (e.$$typeof) {
76
- case F.ForwardRef: return N(e, e.render, "ForwardRef");
77
- case F.Memo: return N(e, e.type, "memo");
78
- default: return;
79
- }
80
- }
81
- }
82
- var F, I, L = t((() => {
83
- F = A(), I = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
84
- })), R = /* @__PURE__ */ r({
85
- default: () => P,
86
- getFunctionName: () => j
87
- }), z = t((() => {
88
- L(), L();
89
- }));
90
- function B(e, t, n = void 0) {
91
- let r = {};
92
- return Object.keys(e).forEach((i) => {
93
- r[i] = e[i].reduce((e, r) => {
94
- if (r) {
95
- let i = t(r);
96
- i !== "" && e.push(i), n && n[r] && e.push(n[r]);
97
- }
98
- return e;
99
- }, []).join(" ");
100
- }), r;
101
- }
102
- var V = /* @__PURE__ */ i(((e, t) => {
103
- function n() {
104
- return t.exports = n = Object.assign ? Object.assign.bind() : function(e) {
105
- for (var t = 1; t < arguments.length; t++) {
106
- var n = arguments[t];
107
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
108
- }
109
- return e;
110
- }, t.exports.__esModule = !0, t.exports.default = t.exports, n.apply(null, arguments);
111
- }
112
- t.exports = n, t.exports.__esModule = !0, t.exports.default = t.exports;
113
- })), H = /* @__PURE__ */ i(((e, t) => {
114
- function n(e, t) {
115
- if (e == null) return {};
116
- var n = {};
117
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
118
- if (t.indexOf(r) !== -1) continue;
119
- n[r] = e[r];
120
- }
121
- return n;
122
- }
123
- t.exports = n, t.exports.__esModule = !0, t.exports.default = t.exports;
124
- })), U = /* @__PURE__ */ n((/* @__PURE__ */ i(((t) => {
125
- var n = f();
126
- Object.defineProperty(t, "__esModule", { value: !0 }), t.default = P, t.shouldForwardProp = D, t.systemDefaultTheme = void 0;
127
- var r = n(V()), i = n(H()), a = w((l(), e(c))), o = (v(), e(u));
128
- n((x(), e(h))), n((z(), e(R)));
129
- var s = n((_(), e(g))), d = n((m(), e(y))), p = ["ownerState"], b = ["variants"], S = [
130
- "name",
131
- "slot",
132
- "skipVariantsResolver",
133
- "skipSx",
134
- "overridesResolver"
135
- ];
136
- function C(e) {
137
- if (typeof WeakMap != "function") return null;
138
- var t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
139
- return (C = function(e) {
140
- return e ? n : t;
141
- })(e);
142
- }
143
- function w(e, t) {
144
- if (!t && e && e.__esModule) return e;
145
- if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
146
- var n = C(t);
147
- if (n && n.has(e)) return n.get(e);
148
- var r = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
149
- for (var a in e) if (a !== "default" && Object.prototype.hasOwnProperty.call(e, a)) {
150
- var o = i ? Object.getOwnPropertyDescriptor(e, a) : null;
151
- o && (o.get || o.set) ? Object.defineProperty(r, a, o) : r[a] = e[a];
152
- }
153
- return r.default = e, n && n.set(e, r), r;
154
- }
155
- function T(e) {
156
- return Object.keys(e).length === 0;
157
- }
158
- function E(e) {
159
- return typeof e == "string" && e.charCodeAt(0) > 96;
160
- }
161
- function D(e) {
162
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
163
- }
164
- function O(e, t) {
165
- return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
166
- }
167
- var k = t.systemDefaultTheme = (0, s.default)(), A = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
168
- function j({ defaultTheme: e, theme: t, themeId: n }) {
169
- return T(t) ? e : t[n] || t;
170
- }
171
- function M(e) {
172
- return e ? (t, n) => n[e] : null;
173
- }
174
- function N(e, t, n) {
175
- let { ownerState: o } = t, s = (0, i.default)(t, p), c = typeof e == "function" ? e((0, r.default)({ ownerState: o }, s)) : e;
176
- if (Array.isArray(c)) return c.flatMap((e) => N(e, (0, r.default)({ ownerState: o }, s), n));
177
- if (c && typeof c == "object" && Array.isArray(c.variants)) {
178
- let { variants: e = [] } = c, t = (0, i.default)(c, b);
179
- return e.forEach((e) => {
180
- let i = !0;
181
- if (typeof e.props == "function" ? i = e.props((0, r.default)({ ownerState: o }, s, o)) : Object.keys(e.props).forEach((t) => {
182
- o?.[t] !== e.props[t] && s[t] !== e.props[t] && (i = !1);
183
- }), i) {
184
- Array.isArray(t) || (t = [t]);
185
- let i = typeof e.style == "function" ? e.style((0, r.default)({ ownerState: o }, s, o)) : e.style;
186
- t.push(n ? O((0, a.internal_serializeStyles)(i), n) : i);
187
- }
188
- }), t;
189
- }
190
- return n ? O((0, a.internal_serializeStyles)(c), n) : c;
191
- }
192
- function P(e = {}) {
193
- let { themeId: t, defaultTheme: n = k, rootShouldForwardProp: s = D, slotShouldForwardProp: c = D } = e, l = (e) => (0, d.default)((0, r.default)({}, e, { theme: j((0, r.default)({}, e, {
194
- defaultTheme: n,
195
- themeId: t
196
- })) }));
197
- return l.__mui_systemSx = !0, (e, u = {}) => {
198
- (0, a.internal_processStyles)(e, (e) => e.filter((e) => !(e != null && e.__mui_systemSx)));
199
- let { name: d, slot: f, skipVariantsResolver: p, skipSx: m, overridesResolver: h = M(A(f)) } = u, g = (0, i.default)(u, S), _ = d && d.startsWith("Mui") || f ? "components" : "custom", v = p === void 0 ? f && f !== "Root" && f !== "root" || !1 : p, y = m || !1, b = D;
200
- f === "Root" || f === "root" ? b = s : f ? b = c : E(e) && (b = void 0);
201
- let x = (0, a.default)(e, (0, r.default)({
202
- shouldForwardProp: b,
203
- label: void 0
204
- }, g)), C = (e) => typeof e == "function" && e.__emotion_real !== e || (0, o.isPlainObject)(e) ? (i) => {
205
- let a = j({
206
- theme: i.theme,
207
- defaultTheme: n,
208
- themeId: t
209
- });
210
- return N(e, (0, r.default)({}, i, { theme: a }), a.modularCssLayers ? _ : void 0);
211
- } : e, w = (i, ...a) => {
212
- let o = C(i), s = a ? a.map(C) : [];
213
- d && h && s.push((e) => {
214
- let i = j((0, r.default)({}, e, {
215
- defaultTheme: n,
216
- themeId: t
217
- }));
218
- if (!i.components || !i.components[d] || !i.components[d].styleOverrides) return null;
219
- let a = i.components[d].styleOverrides, o = {};
220
- return Object.entries(a).forEach(([t, n]) => {
221
- o[t] = N(n, (0, r.default)({}, e, { theme: i }), i.modularCssLayers ? "theme" : void 0);
222
- }), h(e, o);
223
- }), d && !v && s.push((e) => {
224
- var i;
225
- let a = j((0, r.default)({}, e, {
226
- defaultTheme: n,
227
- themeId: t
228
- }));
229
- return N({ variants: a == null || (i = a.components) == null || (i = i[d]) == null ? void 0 : i.variants }, (0, r.default)({}, e, { theme: a }), a.modularCssLayers ? "theme" : void 0);
230
- }), y || s.push(l);
231
- let c = s.length - a.length;
232
- if (Array.isArray(i) && c > 0) {
233
- let e = Array(c).fill("");
234
- o = [...i, ...e], o.raw = [...i.raw, ...e];
235
- }
236
- let u = x(o, ...s);
237
- return e.muiName && (u.muiName = e.muiName), u;
238
- };
239
- return x.withConfig && (w.withConfig = x.withConfig), w;
240
- };
241
- }
242
- })))());
243
- function W(e) {
244
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
245
- }
246
- var G = (e) => W(e) && e !== "classes", K = (0, U.default)({
247
- themeId: o,
248
- defaultTheme: s,
249
- rootShouldForwardProp: G
250
- });
251
- x();
252
- var q = d;
253
- a(), b();
254
- function J(e) {
255
- return p(e);
256
- }
257
- export { W as a, B as c, T as d, C as f, G as i, O as l, q as n, H as o, K as r, V as s, J as t, D as u };
@@ -1,22 +0,0 @@
1
- import { Ar as e, Dr as t, Fr as n, Ir as r, Lr as i, Mr as a, Nr as o, Or as s, Pr as c, Rr as l, jr as u, kr as d, ri as f, zr as p } from "./utils-vdmi_2PK.js";
2
- import { s as m } from "./logger-DpQtYQnX.js";
3
- var h = m(), g = f(), _ = ({ fieldType: f, fill: m, isBucketing: _ }) => {
4
- if (_) return /* @__PURE__ */ (0, g.jsx)(l, { fill: m });
5
- switch (f) {
6
- case h.FieldType.BOOLEAN: return /* @__PURE__ */ (0, g.jsx)(p, { fill: m });
7
- case h.FieldType.DATE: return /* @__PURE__ */ (0, g.jsx)(i, { fill: m });
8
- case h.FieldType.DECIMAL: return /* @__PURE__ */ (0, g.jsx)(r, { fill: m });
9
- case h.FieldType.FLOAT: return /* @__PURE__ */ (0, g.jsx)(n, { fill: m });
10
- case h.FieldType.GROUPED_DIMENSION: return /* @__PURE__ */ (0, g.jsx)(o, { fill: m });
11
- case h.FieldType.INT: return /* @__PURE__ */ (0, g.jsx)(a, { fill: m });
12
- case h.FieldType.JSON: return /* @__PURE__ */ (0, g.jsx)(u, { fill: m });
13
- case h.FieldType.REAL: return /* @__PURE__ */ (0, g.jsx)(a, { fill: m });
14
- case h.FieldType.STRING: return /* @__PURE__ */ (0, g.jsx)(e, { fill: m });
15
- case h.FieldType.TIME: return /* @__PURE__ */ (0, g.jsx)(d, { fill: m });
16
- case h.FieldType.TIMESTAMP: return /* @__PURE__ */ (0, g.jsx)(s, { fill: m });
17
- case h.FieldType.TIMESTAMP_TZ: return /* @__PURE__ */ (0, g.jsx)(t, { fill: m });
18
- case h.FieldType.GEOGRAPHY: return /* @__PURE__ */ (0, g.jsx)(c, { fill: m });
19
- default: return null;
20
- }
21
- };
22
- export { _ as t };
@@ -1,253 +0,0 @@
1
- import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Bt as t, Ei as n, Jt as r, Kt as i, Q as a, Vt as o, Y as s, ln as c, qt as l, ri as u, un as d } from "./utils-vdmi_2PK.js";
3
- import { c as f, d as p, l as m, n as h, r as g, t as _, u as v } from "./DefaultPropsProvider-BsfB7QTn.js";
4
- var y = /* @__PURE__ */ e(n());
5
- d(), o();
6
- var b = s();
7
- function x(e) {
8
- return v("MuiLinearProgress", e);
9
- }
10
- var S = m("MuiLinearProgress", [
11
- "root",
12
- "colorPrimary",
13
- "colorSecondary",
14
- "determinate",
15
- "indeterminate",
16
- "buffer",
17
- "query",
18
- "dashed",
19
- "dashedColorPrimary",
20
- "dashedColorSecondary",
21
- "bar",
22
- "barColorPrimary",
23
- "barColorSecondary",
24
- "bar1Indeterminate",
25
- "bar1Determinate",
26
- "bar1Buffer",
27
- "bar2Indeterminate",
28
- "bar2Buffer"
29
- ]);
30
- l();
31
- var C = u(), w = [
32
- "className",
33
- "color",
34
- "value",
35
- "valueBuffer",
36
- "variant"
37
- ], T = (e) => e, E, D, O, k, A, j, M = 4, N = r(E ||= T`
38
- 0% {
39
- left: -35%;
40
- right: 100%;
41
- }
42
-
43
- 60% {
44
- left: 100%;
45
- right: -90%;
46
- }
47
-
48
- 100% {
49
- left: 100%;
50
- right: -90%;
51
- }
52
- `), P = r(D ||= T`
53
- 0% {
54
- left: -200%;
55
- right: 100%;
56
- }
57
-
58
- 60% {
59
- left: 107%;
60
- right: -8%;
61
- }
62
-
63
- 100% {
64
- left: 107%;
65
- right: -8%;
66
- }
67
- `), F = r(O ||= T`
68
- 0% {
69
- opacity: 1;
70
- background-position: 0 -23px;
71
- }
72
-
73
- 60% {
74
- opacity: 0;
75
- background-position: 0 -23px;
76
- }
77
-
78
- 100% {
79
- opacity: 1;
80
- background-position: -200px -23px;
81
- }
82
- `), I = (e) => {
83
- let { classes: t, variant: n, color: r } = e;
84
- return f({
85
- root: [
86
- "root",
87
- `color${h(r)}`,
88
- n
89
- ],
90
- dashed: ["dashed", `dashedColor${h(r)}`],
91
- bar1: [
92
- "bar",
93
- `barColor${h(r)}`,
94
- (n === "indeterminate" || n === "query") && "bar1Indeterminate",
95
- n === "determinate" && "bar1Determinate",
96
- n === "buffer" && "bar1Buffer"
97
- ],
98
- bar2: [
99
- "bar",
100
- n !== "buffer" && `barColor${h(r)}`,
101
- n === "buffer" && `color${h(r)}`,
102
- (n === "indeterminate" || n === "query") && "bar2Indeterminate",
103
- n === "buffer" && "bar2Buffer"
104
- ]
105
- }, x, t);
106
- }, L = (e, t) => t === "inherit" ? "currentColor" : e.vars ? e.vars.palette.LinearProgress[`${t}Bg`] : e.palette.mode === "light" ? (0, b.lighten)(e.palette[t].main, .62) : (0, b.darken)(e.palette[t].main, .5), R = g("span", {
107
- name: "MuiLinearProgress",
108
- slot: "Root",
109
- overridesResolver: (e, t) => {
110
- let { ownerState: n } = e;
111
- return [
112
- t.root,
113
- t[`color${h(n.color)}`],
114
- t[n.variant]
115
- ];
116
- }
117
- })(({ ownerState: e, theme: t }) => c({
118
- position: "relative",
119
- overflow: "hidden",
120
- display: "block",
121
- height: 4,
122
- zIndex: 0,
123
- "@media print": { colorAdjust: "exact" },
124
- backgroundColor: L(t, e.color)
125
- }, e.color === "inherit" && e.variant !== "buffer" && {
126
- backgroundColor: "none",
127
- "&::before": {
128
- content: "\"\"",
129
- position: "absolute",
130
- left: 0,
131
- top: 0,
132
- right: 0,
133
- bottom: 0,
134
- backgroundColor: "currentColor",
135
- opacity: .3
136
- }
137
- }, e.variant === "buffer" && { backgroundColor: "transparent" }, e.variant === "query" && { transform: "rotate(180deg)" })), z = g("span", {
138
- name: "MuiLinearProgress",
139
- slot: "Dashed",
140
- overridesResolver: (e, t) => {
141
- let { ownerState: n } = e;
142
- return [t.dashed, t[`dashedColor${h(n.color)}`]];
143
- }
144
- })(({ ownerState: e, theme: t }) => {
145
- let n = L(t, e.color);
146
- return c({
147
- position: "absolute",
148
- marginTop: 0,
149
- height: "100%",
150
- width: "100%"
151
- }, e.color === "inherit" && { opacity: .3 }, {
152
- backgroundImage: `radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,
153
- backgroundSize: "10px 10px",
154
- backgroundPosition: "0 -23px"
155
- });
156
- }, i(k ||= T`
157
- animation: ${0} 3s infinite linear;
158
- `, F)), B = g("span", {
159
- name: "MuiLinearProgress",
160
- slot: "Bar1",
161
- overridesResolver: (e, t) => {
162
- let { ownerState: n } = e;
163
- return [
164
- t.bar,
165
- t[`barColor${h(n.color)}`],
166
- (n.variant === "indeterminate" || n.variant === "query") && t.bar1Indeterminate,
167
- n.variant === "determinate" && t.bar1Determinate,
168
- n.variant === "buffer" && t.bar1Buffer
169
- ];
170
- }
171
- })(({ ownerState: e, theme: t }) => c({
172
- width: "100%",
173
- position: "absolute",
174
- left: 0,
175
- bottom: 0,
176
- top: 0,
177
- transition: "transform 0.2s linear",
178
- transformOrigin: "left",
179
- backgroundColor: e.color === "inherit" ? "currentColor" : (t.vars || t).palette[e.color].main
180
- }, e.variant === "determinate" && { transition: `transform .${M}s linear` }, e.variant === "buffer" && {
181
- zIndex: 1,
182
- transition: `transform .${M}s linear`
183
- }), ({ ownerState: e }) => (e.variant === "indeterminate" || e.variant === "query") && i(A ||= T`
184
- width: auto;
185
- animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
186
- `, N)), V = g("span", {
187
- name: "MuiLinearProgress",
188
- slot: "Bar2",
189
- overridesResolver: (e, t) => {
190
- let { ownerState: n } = e;
191
- return [
192
- t.bar,
193
- t[`barColor${h(n.color)}`],
194
- (n.variant === "indeterminate" || n.variant === "query") && t.bar2Indeterminate,
195
- n.variant === "buffer" && t.bar2Buffer
196
- ];
197
- }
198
- })(({ ownerState: e, theme: t }) => c({
199
- width: "100%",
200
- position: "absolute",
201
- left: 0,
202
- bottom: 0,
203
- top: 0,
204
- transition: "transform 0.2s linear",
205
- transformOrigin: "left"
206
- }, e.variant !== "buffer" && { backgroundColor: e.color === "inherit" ? "currentColor" : (t.vars || t).palette[e.color].main }, e.color === "inherit" && { opacity: .3 }, e.variant === "buffer" && {
207
- backgroundColor: L(t, e.color),
208
- transition: `transform .${M}s linear`
209
- }), ({ ownerState: e }) => (e.variant === "indeterminate" || e.variant === "query") && i(j ||= T`
210
- width: auto;
211
- animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
212
- `, P)), H = /*#__PURE__*/ y.forwardRef(function(e, n) {
213
- let r = _({
214
- props: e,
215
- name: "MuiLinearProgress"
216
- }), { className: i, color: o = "primary", value: s, valueBuffer: l, variant: u = "indeterminate" } = r, d = t(r, w), f = c({}, r, {
217
- color: o,
218
- variant: u
219
- }), m = I(f), h = a(), g = {}, v = {
220
- bar1: {},
221
- bar2: {}
222
- };
223
- if ((u === "determinate" || u === "buffer") && s !== void 0) {
224
- g["aria-valuenow"] = Math.round(s), g["aria-valuemin"] = 0, g["aria-valuemax"] = 100;
225
- let e = s - 100;
226
- h && (e = -e), v.bar1.transform = `translateX(${e}%)`;
227
- }
228
- if (u === "buffer" && l !== void 0) {
229
- let e = (l || 0) - 100;
230
- h && (e = -e), v.bar2.transform = `translateX(${e}%)`;
231
- }
232
- return /*#__PURE__*/ (0, C.jsxs)(R, c({
233
- className: p(m.root, i),
234
- ownerState: f,
235
- role: "progressbar"
236
- }, g, { ref: n }, d, { children: [
237
- u === "buffer" ? /*#__PURE__*/ (0, C.jsx)(z, {
238
- className: m.dashed,
239
- ownerState: f
240
- }) : null,
241
- /*#__PURE__*/ (0, C.jsx)(B, {
242
- className: m.bar1,
243
- ownerState: f,
244
- style: v.bar1
245
- }),
246
- u === "determinate" ? null : /*#__PURE__*/ (0, C.jsx)(V, {
247
- className: m.bar2,
248
- ownerState: f,
249
- style: v.bar2
250
- })
251
- ] }));
252
- });
253
- export { S as n, H as t };