@astrato-io/visualizations 0.8.0 → 0.10.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 (161) hide show
  1. package/README.md +9 -5
  2. package/THIRD_PARTY_NOTICES.md +403 -325
  3. package/VISUALIZATION_DEFINITIONS.md +319 -32
  4. package/chunks/{Button-BrGKp9Nm.js → Button-CCF851ea.js} +10 -10
  5. package/chunks/CircularProgress-yupH6YWs.js +765 -0
  6. package/chunks/FieldTypeIcon-D_MzsdfY.js +22 -0
  7. package/chunks/LinearProgress-CyFjN4px.js +327 -0
  8. package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-CQpT79AP.js} +1391 -1008
  9. package/chunks/Title-C-p4ZarD.js +1804 -0
  10. package/chunks/_createAggregator-BF4qG9XK.js +50 -0
  11. package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-8fxCo2q7.js} +10 -10
  12. package/chunks/bar-layout-DStC-GNV.js +9 -0
  13. package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-CQAu8KL8.js} +102 -84
  14. package/chunks/{builder-DEDvNq1k.js → builder-CScg1TOS.js} +156 -60
  15. package/chunks/color-rules-DYJL4fIW.js +15 -0
  16. package/chunks/color-settings-DJFoFTip.js +5 -0
  17. package/chunks/{coloring-CncX_JRX.js → coloring-9jU3s_-p.js} +41 -41
  18. package/chunks/contains-BK-sRXcB.js +21 -0
  19. package/chunks/createSimplePaletteValueFilter-C4hZpCdn.js +2005 -0
  20. package/chunks/defaults-cyNhn37t.js +3 -0
  21. package/chunks/{definitions-BPJQTx16.js → definitions-C4grxhye.js} +612 -400
  22. package/chunks/{escobar-DRhRMYRE.js → escobar-CjirINHP.js} +5354 -5473
  23. package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-D-l9u_we.js} +974 -909
  24. package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-lji2Acgn.js} +7 -7
  25. package/chunks/{filtering-cc7WqWpg.js → filtering-C1zakrrX.js} +570 -390
  26. package/chunks/handlers-ZviIUC-j.js +15387 -0
  27. package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-Bj80ZUBK.js} +11 -11
  28. package/chunks/isEqual-Ch9OEye3.js +16 -0
  29. package/chunks/isFocusVisible-CgMP0qkR.js +144 -0
  30. package/chunks/label-format-type-C46pzgx7.js +17 -0
  31. package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-De5fiKuR.js} +6 -6
  32. package/chunks/{logger-DpQtYQnX.js → logger-CKRjhSHQ.js} +77 -66
  33. package/chunks/map.compiler-CKzorLgK.js +345 -0
  34. package/chunks/{metadata-WABZrt7Y.js → metadata-Bb9pTXrq.js} +1 -1
  35. package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CaTmJkmi.js} +4 -4
  36. package/chunks/operations-DZoY50VX.js +31297 -0
  37. package/chunks/{range-Bi-7zT0k.js → range-D1BTmFMp.js} +2 -2
  38. package/chunks/react-dom-Dgv2azN2.js +368 -0
  39. package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-_P3xwu5A.js} +1 -1
  40. package/chunks/{requirements-Dvd8jqYF.js → requirements-NHNrR8Ie.js} +55 -53
  41. package/chunks/responsive.styles-FItb913l.js +93 -0
  42. package/chunks/shared-UitWpq1J.js +1331 -0
  43. package/chunks/standalone-B0U6c3su.js +3638 -0
  44. package/chunks/{standalone-we5D5MIn.js → standalone-BBu90BhK.js} +113 -113
  45. package/chunks/standalone-BEekPuA12.js +357 -0
  46. package/chunks/{standalone-BMTCb10X.js → standalone-BOzHA_d4.js} +41 -41
  47. package/chunks/standalone-BR2JuRIC.js +422 -0
  48. package/chunks/{standalone-BGkmozIb.js → standalone-BapqaniK.js} +619 -619
  49. package/chunks/standalone-Bnnr87pc.js +2009 -0
  50. package/chunks/standalone-BwJqDj2Z.js +396 -0
  51. package/chunks/{standalone-BDhPQtzQ.js → standalone-ByKKqT5L.js} +308 -300
  52. package/chunks/{standalone-vBnBS2YC.js → standalone-CRdDZYeM.js} +1788 -1004
  53. package/chunks/standalone-CRfDOO1x.js +287 -0
  54. package/chunks/{standalone-D5Q5ngsD.js → standalone-CVknVdUC.js} +30 -27
  55. package/chunks/standalone-CbPk8bKn.js +580 -0
  56. package/chunks/{standalone-CJvIXsQE.js → standalone-Ck63MZzj.js} +234 -232
  57. package/chunks/{standalone-CM5XcAN5.js → standalone-DCFY1MAV.js} +8075 -7729
  58. package/chunks/{standalone-DW6NT205.js → standalone-DZDGX3aa.js} +168 -168
  59. package/chunks/standalone-DhfgeJIk.js +1012 -0
  60. package/chunks/{standalone-DT0wKji7.js → standalone-DibjA73M.js} +2 -2
  61. package/chunks/{standalone-XuGksArp.js → standalone-DtBk_iUz.js} +9 -8
  62. package/chunks/standalone-DxBAyqAu.js +772 -0
  63. package/chunks/standalone-KMQPsNsq.js +2 -0
  64. package/chunks/standalone-MBLSvsrY.js +2 -0
  65. package/chunks/standalone-U0WJwFlG.js +354 -0
  66. package/chunks/{standalone-C8ZAEutO.js → standalone-swGs70tD.js} +49 -51
  67. package/chunks/standalone-wgFAVnnm.js +355 -0
  68. package/chunks/standalone-xGV0dqPV.js +689 -0
  69. package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-OWSx5MOq.js} +7 -7
  70. package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
  71. package/chunks/useFieldName-B8iCYyw1.js +7 -0
  72. package/chunks/{utils-vdmi_2PK.js → utils-3Igg6xmO.js} +7668 -12779
  73. package/chunks/{view-BuwQugKb.js → view-DdMLZySj.js} +2430 -2110
  74. package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-CzvFHE6M.js} +5205 -4438
  75. package/chunks/with-html-element-DOfkR3C1.js +16094 -0
  76. package/definitions.js +2 -2
  77. package/docs/operations/astrato-app-filter-bar.md +1 -1
  78. package/docs/operations/bar.md +303 -2
  79. package/docs/operations/combo.md +262 -1
  80. package/docs/operations/date-picker.md +1 -1
  81. package/docs/operations/distribution-gauge.md +1 -1
  82. package/docs/operations/dot.md +148 -1
  83. package/docs/operations/filter.md +1 -1
  84. package/docs/operations/gauge.md +1 -1
  85. package/docs/operations/heatMap.md +1 -1
  86. package/docs/operations/histogram.md +262 -1
  87. package/docs/operations/iframe.md +1 -1
  88. package/docs/operations/image.md +1 -1
  89. package/docs/operations/index.md +8 -8
  90. package/docs/operations/line.md +262 -1
  91. package/docs/operations/number.md +1 -1
  92. package/docs/operations/pie.md +1 -1
  93. package/docs/operations/radar.md +1 -1
  94. package/docs/operations/sankey.md +1 -1
  95. package/docs/operations/scatter.md +148 -1
  96. package/docs/operations/shape.md +1 -1
  97. package/docs/operations/simpleTextObject.md +1 -1
  98. package/docs/operations/slider.md +1 -1
  99. package/docs/operations/table.md +439 -157
  100. package/docs/operations/tree.md +1 -1
  101. package/docs/operations/treemap.md +1 -1
  102. package/docs/operations/waterfall.md +1 -1
  103. package/docs/operations/word-cloud.md +1 -1
  104. package/getters.js +2 -2
  105. package/index.js +523 -469
  106. package/metadata.js +2 -2
  107. package/operations.js +5 -5
  108. package/package.json +74 -68
  109. package/src/definitions/index.d.ts +1 -1
  110. package/src/definitions/model/definitions/available-fields.d.ts +2 -2
  111. package/src/definitions/model/definitions/compilers/compile.d.ts +1 -0
  112. package/src/definitions/model/definitions/data-item-resolution.d.ts +3 -3
  113. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +535 -349
  114. package/src/definitions/model/definitions/index.d.ts +2 -1
  115. package/src/definitions/model/definitions/schema-registry.d.ts +406 -101
  116. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +10 -8
  117. package/src/definitions/model/definitions/schemas/common.schema.d.ts +33 -32
  118. package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
  119. package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
  120. package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
  121. package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
  122. package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
  123. package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
  124. package/src/definitions/model/definitions/types/compilation.types.d.ts +7 -2
  125. package/src/definitions/model/definitions/types/definition.types.d.ts +2 -2
  126. package/src/definitions/model/definitions/types/index.d.ts +1 -1
  127. package/src/index.d.ts +1 -1
  128. package/src/operations/index.d.ts +1 -1
  129. package/src/types.d.ts +45 -41
  130. package/src/visualization-catalog.d.ts +26 -26
  131. package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
  132. package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
  133. package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
  134. package/chunks/Title-CO5dP1ma.js +0 -1691
  135. package/chunks/ToggleButton-KOBAimC1.js +0 -112
  136. package/chunks/color-rules-CN7TcGrC.js +0 -6
  137. package/chunks/color-settings-3VRlf_Vw.js +0 -6
  138. package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
  139. package/chunks/handlers-TOT-7INo.js +0 -12871
  140. package/chunks/isEqual-B8loyPsC.js +0 -12
  141. package/chunks/label-format-type-weq1XfcX.js +0 -8
  142. package/chunks/operations-Dh4v1Ovt.js +0 -26280
  143. package/chunks/responsive.styles-DSiOGD7u.js +0 -82
  144. package/chunks/shared-Bn4N5QcZ.js +0 -1218
  145. package/chunks/standalone-B55oyW6c.js +0 -689
  146. package/chunks/standalone-BXKRE_Se.js +0 -468
  147. package/chunks/standalone-Bes8srx1.js +0 -354
  148. package/chunks/standalone-BjZp0QMe.js +0 -2
  149. package/chunks/standalone-BlMIwpEe.js +0 -1877
  150. package/chunks/standalone-C8qAelL4.js +0 -2
  151. package/chunks/standalone-CLmGb7nn2.js +0 -355
  152. package/chunks/standalone-CXNP6-xD.js +0 -420
  153. package/chunks/standalone-DLlyRIE6.js +0 -287
  154. package/chunks/standalone-DMcI1afI.js +0 -396
  155. package/chunks/standalone-DN4S1MjT.js +0 -3874
  156. package/chunks/standalone-DYQIQH4c.js +0 -2095
  157. package/chunks/standalone-D__XCp-h.js +0 -1003
  158. package/chunks/standalone-XTgSsTAa.js +0 -354
  159. package/chunks/useFieldName-Cjn9KCVp.js +0 -7
  160. package/chunks/useSlotProps-DLbQp4lc.js +0 -166
  161. package/chunks/with-html-element-D0uY2zjI.js +0 -7328
@@ -1,5 +1,6 @@
1
- import { Bn as e, Cn as t, Dn as n, En as r, Fn as i, Gn as a, Hn as ee, In as te, Jn as ne, Kn as re, Ln as ie, Mn as ae, Nn as o, On as s, Pn as c, Rn as oe, Sn as se, Tn as ce, Un as le, Vn as ue, Wn as de, _r as fe, jn as pe, kn as me, qn as he, wn as ge, ws as l, zn as _e } from "./visualization-filters-Cc4KU-l-.js";
1
+ import { An as e, Cn as t, Dn as n, En as r, Fn as i, In as a, Ln as ee, Mn as te, Nn as ne, On as re, Pn as ie, Rn as ae, Sn as o, _n as s, bn as c, dn as oe, fn as se, gn as ce, hc as l, hn as le, jn as ue, kn as de, mn as fe, or as pe, pn as me, vn as he, wn as ge, xn as _e } from "./visualization-filters-CzvFHE6M.js";
2
2
  import { n as ve } from "./lookup-BWllin0q.js";
3
+ import "./defaults-cyNhn37t.js";
3
4
  var u = {
4
5
  bars: {
5
6
  id: "bars",
@@ -147,9 +148,9 @@ var u = {
147
148
  metadata: be,
148
149
  type: f,
149
150
  family: "chart",
150
- createDefaultVSpec: he,
151
+ createDefaultVSpec: ee,
151
152
  loadElement: async () => {
152
- let [{ BarChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-D__XCp-h.js").then((e) => e.t), import("./render-wrappers-OEmtaM8g.js")]);
153
+ let [{ BarChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DhfgeJIk.js").then((e) => e.t), import("./render-wrappers-_P3xwu5A.js")]);
153
154
  return n(t(e, f), f, !0);
154
155
  },
155
156
  capabilities: {
@@ -165,9 +166,9 @@ var u = {
165
166
  },
166
167
  type: p,
167
168
  family: "filter",
168
- createDefaultVSpec: ne,
169
+ createDefaultVSpec: ae,
169
170
  loadElement: async () => {
170
- let [{ AppFilterBar: e }, { withHTMLElement: t }] = await Promise.all([import("./standalone-BGkmozIb.js"), import("./render-wrappers-OEmtaM8g.js")]);
171
+ let [{ AppFilterBar: e }, { withHTMLElement: t }] = await Promise.all([import("./standalone-BapqaniK.js"), import("./render-wrappers-_P3xwu5A.js")]);
171
172
  return t(e, p, !0);
172
173
  },
173
174
  capabilities: {
@@ -188,9 +189,9 @@ var u = {
188
189
  metadata: we,
189
190
  type: m,
190
191
  family: "chart",
191
- createDefaultVSpec: re,
192
+ createDefaultVSpec: a,
192
193
  loadElement: async () => {
193
- let [{ ComboChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DLlyRIE6.js"), import("./render-wrappers-OEmtaM8g.js")]);
194
+ let [{ ComboChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CRfDOO1x.js"), import("./render-wrappers-_P3xwu5A.js")]);
194
195
  return n(t(e, m), m, !0);
195
196
  },
196
197
  capabilities: {
@@ -211,9 +212,9 @@ var u = {
211
212
  metadata: _,
212
213
  type: v,
213
214
  family: "chart",
214
- createDefaultVSpec: le,
215
+ createDefaultVSpec: ne,
215
216
  loadElement: async () => {
216
- let [{ DotChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DMcI1afI.js"), import("./render-wrappers-OEmtaM8g.js")]);
217
+ let [{ DotChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BwJqDj2Z.js"), import("./render-wrappers-_P3xwu5A.js")]);
217
218
  return n(t(e, v), v, !0);
218
219
  },
219
220
  capabilities: {
@@ -234,9 +235,9 @@ var u = {
234
235
  metadata: x,
235
236
  type: S,
236
237
  family: "chart",
237
- createDefaultVSpec: de,
238
+ createDefaultVSpec: ie,
238
239
  loadElement: async () => {
239
- let [{ DistributionGaugeChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BjZp0QMe.js"), import("./render-wrappers-OEmtaM8g.js")]);
240
+ let [{ DistributionGaugeChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-KMQPsNsq.js"), import("./render-wrappers-_P3xwu5A.js")]);
240
241
  return n(t(e, S), S, !0);
241
242
  },
242
243
  capabilities: {
@@ -273,7 +274,7 @@ var u = {
273
274
  family: "chart",
274
275
  createDefaultVSpec: ue,
275
276
  loadElement: async () => {
276
- let [{ GaugeChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-XTgSsTAa.js").then((e) => e.t), import("./render-wrappers-OEmtaM8g.js")]);
277
+ let [{ GaugeChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-wgFAVnnm.js").then((e) => e.t), import("./render-wrappers-_P3xwu5A.js")]);
277
278
  return n(t(e, E), E, !0);
278
279
  },
279
280
  capabilities: {
@@ -310,7 +311,7 @@ var u = {
310
311
  family: "chart",
311
312
  createDefaultVSpec: e,
312
313
  loadElement: async () => {
313
- let [{ HeatMapChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CXNP6-xD.js"), import("./render-wrappers-OEmtaM8g.js")]);
314
+ let [{ HeatMapChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BR2JuRIC.js"), import("./render-wrappers-_P3xwu5A.js")]);
314
315
  return n(t(e, A), A, !0);
315
316
  },
316
317
  capabilities: {
@@ -331,9 +332,9 @@ var u = {
331
332
  metadata: De,
332
333
  type: j,
333
334
  family: "chart",
334
- createDefaultVSpec: _e,
335
+ createDefaultVSpec: de,
335
336
  loadElement: async () => {
336
- let [{ HistogramChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DT0wKji7.js"), import("./render-wrappers-OEmtaM8g.js")]);
337
+ let [{ HistogramChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DibjA73M.js"), import("./render-wrappers-_P3xwu5A.js")]);
337
338
  return n(t(e, j), j, !0);
338
339
  },
339
340
  capabilities: {
@@ -368,9 +369,9 @@ var u = {
368
369
  metadata: Ae,
369
370
  type: M,
370
371
  family: "chart",
371
- createDefaultVSpec: te,
372
+ createDefaultVSpec: r,
372
373
  loadElement: async () => {
373
- let [{ LineChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BXKRE_Se.js").then((e) => e.t), import("./render-wrappers-OEmtaM8g.js")]);
374
+ let [{ LineChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DxBAyqAu.js").then((e) => e.t), import("./render-wrappers-_P3xwu5A.js")]);
374
375
  return n(t(e, M), M, !0);
375
376
  },
376
377
  capabilities: {
@@ -405,9 +406,9 @@ var u = {
405
406
  metadata: Ne,
406
407
  type: N,
407
408
  family: "chart",
408
- createDefaultVSpec: c,
409
+ createDefaultVSpec: t,
409
410
  loadElement: async () => {
410
- let [{ PieChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CLmGb7nn2.js"), import("./render-wrappers-OEmtaM8g.js")]);
411
+ let [{ PieChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BEekPuA12.js"), import("./render-wrappers-_P3xwu5A.js")]);
411
412
  return n(t(e, N), N, !0);
412
413
  },
413
414
  capabilities: {
@@ -430,7 +431,7 @@ var u = {
430
431
  family: "chart",
431
432
  createDefaultVSpec: o,
432
433
  loadElement: async () => {
433
- let [{ RadarChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DN4S1MjT.js"), import("./render-wrappers-OEmtaM8g.js")]);
434
+ let [{ RadarChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CbPk8bKn.js"), import("./render-wrappers-_P3xwu5A.js")]);
434
435
  return n(t(e, P), P, !0);
435
436
  },
436
437
  capabilities: {
@@ -451,9 +452,9 @@ var u = {
451
452
  metadata: ze,
452
453
  type: F,
453
454
  family: "chart",
454
- createDefaultVSpec: ae,
455
+ createDefaultVSpec: _e,
455
456
  loadElement: async () => {
456
- let [{ Sankey: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BDhPQtzQ.js"), import("./render-wrappers-OEmtaM8g.js")]);
457
+ let [{ Sankey: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-ByKKqT5L.js"), import("./render-wrappers-_P3xwu5A.js")]);
457
458
  return n(t(e, F), F, !0);
458
459
  },
459
460
  capabilities: {
@@ -482,9 +483,9 @@ var u = {
482
483
  metadata: Ve,
483
484
  type: L,
484
485
  family: "chart",
485
- createDefaultVSpec: pe,
486
+ createDefaultVSpec: c,
486
487
  loadElement: async () => {
487
- let [{ ScatterChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-B55oyW6c.js"), import("./render-wrappers-OEmtaM8g.js")]);
488
+ let [{ ScatterChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-xGV0dqPV.js"), import("./render-wrappers-_P3xwu5A.js")]);
488
489
  return n(t(e, L), L, !0);
489
490
  },
490
491
  capabilities: {
@@ -493,9 +494,10 @@ var u = {
493
494
  supportsSelections: !0,
494
495
  supportsStaticFilters: !0
495
496
  }
496
- }), R = /* @__PURE__ */ function(e) {
497
- return e.HierarchyMode = "hierarchyMode", e.PivotMode = "pivotMode", e;
498
- }({}), Ue = {
497
+ }), R = {
498
+ HierarchyMode: "hierarchyMode",
499
+ PivotMode: "pivotMode"
500
+ }, Ue = {
499
501
  "table-simple": {
500
502
  id: "table-simple",
501
503
  friendlyName: "Straight Table",
@@ -523,9 +525,9 @@ var u = {
523
525
  metadata: We,
524
526
  type: z,
525
527
  family: "chart",
526
- createDefaultVSpec: n,
528
+ createDefaultVSpec: ce,
527
529
  loadElement: async () => {
528
- let [{ Table: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CM5XcAN5.js"), import("./render-wrappers-OEmtaM8g.js")]);
530
+ let [{ Table: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DCFY1MAV.js"), import("./render-wrappers-_P3xwu5A.js")]);
529
531
  return n(t(e, z), z, !0);
530
532
  },
531
533
  capabilities: {
@@ -546,9 +548,9 @@ var u = {
546
548
  metadata: qe,
547
549
  type: B,
548
550
  family: "chart",
549
- createDefaultVSpec: ce,
551
+ createDefaultVSpec: fe,
550
552
  loadElement: async () => {
551
- let [{ Tree: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-vBnBS2YC.js"), import("./render-wrappers-OEmtaM8g.js")]);
553
+ let [{ Tree: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CRdDZYeM.js"), import("./render-wrappers-_P3xwu5A.js")]);
552
554
  return n(t(e, B), B, !0);
553
555
  },
554
556
  capabilities: {
@@ -569,9 +571,9 @@ var u = {
569
571
  metadata: Xe,
570
572
  type: V,
571
573
  family: "chart",
572
- createDefaultVSpec: ge,
574
+ createDefaultVSpec: me,
573
575
  loadElement: async () => {
574
- let [{ Treemap: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CJvIXsQE.js"), import("./render-wrappers-OEmtaM8g.js")]);
576
+ let [{ Treemap: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-Ck63MZzj.js"), import("./render-wrappers-_P3xwu5A.js")]);
575
577
  return n(t(e, V), V, !0);
576
578
  },
577
579
  capabilities: {
@@ -592,9 +594,9 @@ var u = {
592
594
  metadata: $e,
593
595
  type: H,
594
596
  family: "chart",
595
- createDefaultVSpec: t,
597
+ createDefaultVSpec: se,
596
598
  loadElement: async () => {
597
- let [{ WaterfallChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DW6NT205.js"), import("./render-wrappers-OEmtaM8g.js")]);
599
+ let [{ WaterfallChart: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DZDGX3aa.js"), import("./render-wrappers-_P3xwu5A.js")]);
598
600
  return n(t(e, H), H, !0);
599
601
  },
600
602
  capabilities: {
@@ -615,9 +617,9 @@ var u = {
615
617
  metadata: nt,
616
618
  type: U,
617
619
  family: "chart",
618
- createDefaultVSpec: se,
620
+ createDefaultVSpec: oe,
619
621
  loadElement: async () => {
620
- let [{ WordCloud: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-C8ZAEutO.js"), import("./render-wrappers-OEmtaM8g.js")]);
622
+ let [{ WordCloud: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-swGs70tD.js"), import("./render-wrappers-_P3xwu5A.js")]);
621
623
  return n(t(e, U), U, !0);
622
624
  },
623
625
  capabilities: {
@@ -638,9 +640,9 @@ var u = {
638
640
  metadata: at,
639
641
  type: W,
640
642
  family: "filter",
641
- createDefaultVSpec: a,
643
+ createDefaultVSpec: i,
642
644
  loadElement: async () => {
643
- let [{ DatePicker: e }, { withAstratoFilterBar: t, withHTMLElement: n }] = await Promise.all([import("./standalone-C8qAelL4.js"), import("./render-wrappers-OEmtaM8g.js")]);
645
+ let [{ DatePicker: e }, { withAstratoFilterBar: t, withHTMLElement: n }] = await Promise.all([import("./standalone-MBLSvsrY.js"), import("./render-wrappers-_P3xwu5A.js")]);
644
646
  return n(t(e), W, !0);
645
647
  },
646
648
  capabilities: {
@@ -669,9 +671,9 @@ var u = {
669
671
  metadata: ct,
670
672
  type: G,
671
673
  family: "filter",
672
- createDefaultVSpec: ee,
674
+ createDefaultVSpec: te,
673
675
  loadElement: async () => {
674
- let [{ Filter: e }, { withAstratoFilter: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DYQIQH4c.js"), import("./render-wrappers-OEmtaM8g.js")]);
676
+ let [{ Filter: e }, { withAstratoFilter: t, withHTMLElement: n }] = await Promise.all([import("./standalone-B0U6c3su.js"), import("./render-wrappers-_P3xwu5A.js")]);
675
677
  return n(t(e, G), G, !0);
676
678
  },
677
679
  capabilities: {
@@ -692,9 +694,9 @@ var u = {
692
694
  metadata: dt,
693
695
  type: K,
694
696
  family: "object",
695
- createDefaultVSpec: oe,
697
+ createDefaultVSpec: re,
696
698
  loadElement: async () => {
697
- let [{ IframeObject: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-XuGksArp.js"), import("./render-wrappers-OEmtaM8g.js")]);
699
+ let [{ IframeObject: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-DtBk_iUz.js"), import("./render-wrappers-_P3xwu5A.js")]);
698
700
  return n(t(e, K), K, !0);
699
701
  },
700
702
  capabilities: {
@@ -715,9 +717,9 @@ var u = {
715
717
  metadata: mt,
716
718
  type: q,
717
719
  family: "object",
718
- createDefaultVSpec: ie,
720
+ createDefaultVSpec: n,
719
721
  loadElement: async () => {
720
- let [{ Image: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-D5Q5ngsD.js"), import("./render-wrappers-OEmtaM8g.js")]);
722
+ let [{ Image: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-CVknVdUC.js"), import("./render-wrappers-_P3xwu5A.js")]);
721
723
  return n(t(e, q), q, !0);
722
724
  },
723
725
  capabilities: {
@@ -758,9 +760,9 @@ var u = {
758
760
  metadata: _t,
759
761
  type: J,
760
762
  family: "object",
761
- createDefaultVSpec: i,
763
+ createDefaultVSpec: ge,
762
764
  loadElement: async () => {
763
- let [{ NumberView: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-Bes8srx1.js"), import("./render-wrappers-OEmtaM8g.js")]);
765
+ let [{ NumberView: e }, { withAstratoChart: t, withHTMLElement: n }] = await Promise.all([import("./standalone-U0WJwFlG.js"), import("./render-wrappers-_P3xwu5A.js")]);
764
766
  return n(t(e, J), J, !0);
765
767
  },
766
768
  capabilities: {
@@ -825,9 +827,9 @@ var u = {
825
827
  metadata: bt,
826
828
  type: Y,
827
829
  family: "object",
828
- createDefaultVSpec: me,
830
+ createDefaultVSpec: he,
829
831
  loadElement: async () => {
830
- let [{ Shape: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BMTCb10X.js"), import("./render-wrappers-OEmtaM8g.js")]);
832
+ let [{ Shape: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BOzHA_d4.js"), import("./render-wrappers-_P3xwu5A.js")]);
831
833
  return n(t(e, Y), Y, !0);
832
834
  },
833
835
  capabilities: {
@@ -850,7 +852,7 @@ var u = {
850
852
  family: "filter",
851
853
  createDefaultVSpec: s,
852
854
  loadElement: async () => {
853
- let [{ Slider: e }, { withAstratoFilterBar: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BlMIwpEe.js").then((e) => e.t), import("./render-wrappers-OEmtaM8g.js")]);
855
+ let [{ Slider: e }, { withAstratoFilterBar: t, withHTMLElement: n }] = await Promise.all([import("./standalone-Bnnr87pc.js").then((e) => e.t), import("./render-wrappers-_P3xwu5A.js")]);
854
856
  return n(t(e), X, !0);
855
857
  },
856
858
  capabilities: {
@@ -896,9 +898,9 @@ var u = {
896
898
  metadata: Et,
897
899
  type: Z,
898
900
  family: "object",
899
- createDefaultVSpec: r,
901
+ createDefaultVSpec: le,
900
902
  loadElement: async () => {
901
- let [{ SimpleTextObject: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-we5D5MIn.js"), import("./render-wrappers-OEmtaM8g.js")]);
903
+ let [{ SimpleTextObject: e }, { withAstratoObject: t, withHTMLElement: n }] = await Promise.all([import("./standalone-BBu90BhK.js"), import("./render-wrappers-_P3xwu5A.js")]);
902
904
  return n(t(e, Z), Z, !0);
903
905
  },
904
906
  capabilities: {
@@ -911,6 +913,6 @@ var u = {
911
913
  slider: wt
912
914
  }, Dt = Q, Ot = (e = Q) => Object.values(e), $ = (e, t = Q) => ve(e, t), kt = (e, t = Q) => $(e, t).createDefaultVSpec(), At = (e) => ({
913
915
  source: "chartRequirementsManifest",
914
- scenarios: fe[e] ?? []
916
+ scenarios: pe[e] ?? []
915
917
  });
916
918
  export { Dt as a, Ot as i, kt as n, Q as o, $ as r, At as t };
@@ -0,0 +1,93 @@
1
+ function e(e) {
2
+ return typeof e.main == "string";
3
+ }
4
+ function t(t, n = []) {
5
+ if (!e(t)) return !1;
6
+ for (let e of n) if (!t.hasOwnProperty(e) || typeof t[e] != "string") return !1;
7
+ return !0;
8
+ }
9
+ function n(e = []) {
10
+ return ([, n]) => n && t(n, e);
11
+ }
12
+ var r = {
13
+ lg: 1,
14
+ md: .9,
15
+ sm: .7,
16
+ xs: .6
17
+ }, i = {
18
+ lg: 1200,
19
+ md: 1e3,
20
+ sm: 800,
21
+ xs: 600
22
+ }, a = (e, t) => e <= i.xs || t <= i.xs, o = (e, t) => e <= i.sm || t <= i.sm, s = (e, t) => e <= i.md || t <= i.md;
23
+ function c(e, t) {
24
+ return e <= i.xs || t <= i.xs ? r.xs : e <= i.sm || t <= i.sm ? r.sm : e <= i.md || t <= i.md ? r.md : 1;
25
+ }
26
+ function l(e, t) {
27
+ return e <= i.xs || t <= i.xs ? "xs" : e <= i.sm || t <= i.sm ? "sm" : e <= i.md || t <= i.md ? "md" : "lg";
28
+ }
29
+ var u = {
30
+ lg: `@media (max-width:${i.lg}px), (max-height: ${i.lg}px)`,
31
+ md: `@media (max-width:${i.md}px), (max-height: ${i.md}px)`,
32
+ sm: `@media (max-width:${i.sm}px), (max-height: ${i.sm}px)`,
33
+ xs: `@media (max-width:${i.xs}px), (max-height: ${i.xs}px)`
34
+ };
35
+ function d(e) {
36
+ return {
37
+ fontSize: "1em",
38
+ ...e && {
39
+ [u.md]: { fontSize: `min(${r.md}em, 14px)` },
40
+ [u.sm]: { fontSize: `min(${r.sm}em, 12px)` },
41
+ [u.xs]: {
42
+ fontSize: `min(${r.xs}em, 10px)`,
43
+ fontWeight: "normal !important"
44
+ }
45
+ }
46
+ };
47
+ }
48
+ var f = { svg: {
49
+ [u.lg]: {
50
+ maxWidth: 20,
51
+ maxHeight: 20
52
+ },
53
+ [u.md]: {
54
+ maxWidth: 16,
55
+ maxHeight: 16
56
+ },
57
+ [u.sm]: {
58
+ maxWidth: 12,
59
+ maxHeight: 12
60
+ },
61
+ [u.xs]: {
62
+ maxWidth: 8,
63
+ maxHeight: 8
64
+ }
65
+ } };
66
+ function p(e, t, n) {
67
+ switch (l(t, n)) {
68
+ case "lg": return e;
69
+ case "md": return Math.min(e * r.md, 16);
70
+ case "sm": return Math.min(e * r.sm, 14);
71
+ case "xs": return Math.min(e * r.xs, 12);
72
+ }
73
+ }
74
+ function m(e, t, n) {
75
+ switch (l(t, n)) {
76
+ case "lg": return Math.min(e * r.lg, 20);
77
+ case "md": return Math.min(e * r.md, 16);
78
+ case "sm": return Math.min(e * r.sm, 12);
79
+ case "xs": return Math.min(e * r.xs, 8);
80
+ }
81
+ }
82
+ function h(e, t) {
83
+ return {
84
+ height: e,
85
+ ...t && {
86
+ [u.lg]: { height: e * r.lg },
87
+ [u.md]: { height: e * r.md },
88
+ [u.sm]: { height: e * r.sm },
89
+ [u.xs]: { height: e * r.xs }
90
+ }
91
+ };
92
+ }
93
+ export { m as a, a as c, f as d, u as f, h as i, r as l, c as n, s as o, n as p, p as r, o as s, l as t, d as u };