@astrato-io/visualizations 0.10.1 → 0.11.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 (133) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/README.md +19 -1
  3. package/THIRD_PARTY_NOTICES.md +494 -0
  4. package/VISUALIZATION_DEFINITIONS.md +6 -145
  5. package/chunks/{Button-Dn3rJrYf.js → Button-CPG4WX8X.js} +3 -3
  6. package/chunks/{CircularProgress-BFeu06Yb.js → CircularProgress-PSLW8HmD.js} +12 -12
  7. package/chunks/FieldTypeIcon-5k2bkqd0.js +22 -0
  8. package/chunks/{LinearProgress-ClO6GUjN.js → LinearProgress-KQ2EQlGL.js} +16 -16
  9. package/chunks/{MenuOption-Czc34u4q.js → MenuOption-B-6K7kks.js} +151 -151
  10. package/chunks/{Title-BgYnaVTR.js → Title-BmvwZYkh.js} +32 -32
  11. package/chunks/{_createAggregator-BMu9uRax.js → _createAggregator-CFmH6gUN.js} +16 -16
  12. package/chunks/{app-filter-bar.compiler-CVir0wkl.js → app-filter-bar.compiler-BY5-T16I.js} +8 -8
  13. package/chunks/{bar-layout-C_UgRlVl.js → bar-layout-BNou0dZF.js} +2 -2
  14. package/chunks/{bar.compiler-DYuFdi9J.js → bar.compiler-BkhO7sDd.js} +58 -56
  15. package/chunks/{builder-C-TKA-My.js → builder-CNjuqD2z.js} +107 -56
  16. package/chunks/category-axis-D1OVyMrr.js +20 -0
  17. package/chunks/{coloring-BtnPiQ_o.js → coloring-BOiP0rmn.js} +51 -51
  18. package/chunks/{createSimplePaletteValueFilter--zrZxRV9.js → createSimplePaletteValueFilter-BkgQ7MFE.js} +166 -166
  19. package/chunks/defaults-B5_8S-J-.js +3 -0
  20. package/chunks/{definitions-CT304NDn.js → definitions-AS9GcavE.js} +228 -233
  21. package/chunks/{escobar-CvEV2ES1.js → escobar-cQ1eQ64G.js} +4183 -4183
  22. package/chunks/{extend-preset-D9-JP92b.js → extend-preset-BlCbcXKR.js} +427 -427
  23. package/chunks/{filter.compiler-CXeZznks.js → filter.compiler-CI7dDNM1.js} +10 -10
  24. package/chunks/{filtering-8_bFv-jb.js → filtering-Dwi7hDPZ.js} +308 -308
  25. package/chunks/{handlers-C6CZ0XJA.js → handlers-C63NVo7i.js} +4593 -4559
  26. package/chunks/{icon-picker-styles-BXiJ1SZS.js → icon-picker-styles-CBlxEu3s.js} +8 -8
  27. package/chunks/{isEqual-D8Ay63xR.js → isEqual-BdHo6wqq.js} +1 -1
  28. package/chunks/{isFocusVisible-Bu8gGZu5.js → isFocusVisible-C1nlVUwL.js} +9 -9
  29. package/chunks/line.compiler-DCv3h42f.js +198 -0
  30. package/chunks/linear-Bq_r9l5S.js +264 -0
  31. package/chunks/{logger-DdZpR7xZ.js → logger-Bc-DqDM_.js} +64 -64
  32. package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
  33. package/chunks/{map.compiler-Q_Y1Pvat.js → map.compiler-CRO6XpdI.js} +43 -43
  34. package/chunks/measure-format-default-B6ghxih7.js +22 -0
  35. package/chunks/{metadata-BQm_TXI1.js → metadata-CtkvZEhS.js} +1 -1
  36. package/chunks/number.compiler-kV4lobCZ.js +57 -0
  37. package/chunks/{operations-DKQWuLL7.js → operations-COl9wgqi.js} +8524 -8480
  38. package/chunks/{range-BdhzvYQ_.js → range-CMJ5yc5Z.js} +2 -2
  39. package/chunks/{react-dom-BGP4tbXV.js → react-dom-BjsCbYHq.js} +76 -76
  40. package/chunks/{render-wrappers-BZpyDnJy.js → render-wrappers-DFHi3Wkr.js} +1 -1
  41. package/chunks/{requirements-e8Fe96ag.js → requirements-C5YLmHKe.js} +250 -226
  42. package/chunks/{shared-C_2F90xq.js → shared-DyqxOie0.js} +504 -498
  43. package/chunks/standalone-06i1wmIX.js +6 -0
  44. package/chunks/{standalone-BDrXVxlP.js → standalone-9jrQ3zJT.js} +10 -10
  45. package/chunks/standalone-B6zUvxNQ.js +357 -0
  46. package/chunks/{standalone-BkbiH-o8.js → standalone-BYK2U0Vd.js} +418 -679
  47. package/chunks/standalone-Be5APcVv.js +762 -0
  48. package/chunks/{standalone-Cl0TSfqC.js → standalone-Bp4G3MDx.js} +123 -123
  49. package/chunks/{standalone-DNh9NcMa.js → standalone-BrjtMIdd.js} +145 -145
  50. package/chunks/{standalone-BTY3w_JA.js → standalone-Bsfz5vnJ.js} +53 -53
  51. package/chunks/standalone-BuXpKMnc.js +2 -0
  52. package/chunks/standalone-CIjNYyya.js +8378 -0
  53. package/chunks/{standalone-CsoMmE9T.js → standalone-CS5VGoja.js} +347 -347
  54. package/chunks/standalone-CUGt2FUF.js +2 -0
  55. package/chunks/{standalone-CaTxAydz.js → standalone-ChfEHb28.js} +2296 -1069
  56. package/chunks/standalone-CnF2OYLQ.js +355 -0
  57. package/chunks/standalone-CznEEiq3.js +422 -0
  58. package/chunks/{standalone-DflyWtuR.js → standalone-D9k5SCd8.js} +169 -169
  59. package/chunks/{standalone-Cc98Pdr6.js → standalone-DYVYccmY.js} +829 -829
  60. package/chunks/{standalone-CY_kjarf.js → standalone-DaNxWIKn.js} +22 -22
  61. package/chunks/{standalone-wOWRCpdn.js → standalone-Db_HNuWx.js} +48 -48
  62. package/chunks/standalone-DcuE8KBa.js +287 -0
  63. package/chunks/{standalone-BE_ONgiG.js → standalone-I5kRIsp8.js} +76 -76
  64. package/chunks/{standalone-B8ZSqauS.js → standalone-K2OvRAQM.js} +113 -113
  65. package/chunks/{standalone-z0o52o5t.js → standalone-c4CPN6ug.js} +1719 -1718
  66. package/chunks/{standalone-DHRalbVO.js → standalone-iOnJhCvA.js} +312 -312
  67. package/chunks/{standalone-CXY4FpF7.js → standalone-pCrzBiTy.js} +222 -222
  68. package/chunks/standalone-qrZaimgC.js +689 -0
  69. package/chunks/standalone-yqDJ8h3K.js +1012 -0
  70. package/chunks/{table.compiler-COaHE9VD.js → table.compiler-CMH_dtYs.js} +35 -35
  71. package/chunks/{useFieldName-CdnCWzhd.js → useFieldName-BfxBzhhH.js} +1 -1
  72. package/chunks/{utils-DganVptf.js → utils-BdJrEeIQ.js} +3924 -3910
  73. package/chunks/{view-Bzlros43.js → view-Q-_XIrWE.js} +1680 -1680
  74. package/chunks/{visualization-filters-D7i6oh1Z.js → visualization-filters-BwS0xUqs.js} +1705 -1686
  75. package/chunks/{with-html-element-CiIhFEa5.js → with-html-element-D_ooGNWI.js} +3962 -3950
  76. package/definitions.js +2 -2
  77. package/docs/operations/astrato-app-filter-bar.md +1 -1
  78. package/docs/operations/bar.md +30 -1
  79. package/docs/operations/combo.md +30 -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 +1 -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 +1 -1
  87. package/docs/operations/iframe.md +1 -1
  88. package/docs/operations/image.md +1 -1
  89. package/docs/operations/index.md +5 -4
  90. package/docs/operations/line.md +30 -1
  91. package/docs/operations/map.md +5274 -0
  92. package/docs/operations/number.md +1 -1
  93. package/docs/operations/pie.md +1 -1
  94. package/docs/operations/radar.md +1 -1
  95. package/docs/operations/sankey.md +1 -1
  96. package/docs/operations/scatter.md +1 -1
  97. package/docs/operations/shape.md +1 -1
  98. package/docs/operations/simpleTextObject.md +1 -1
  99. package/docs/operations/slider.md +1 -1
  100. package/docs/operations/table.md +1 -1
  101. package/docs/operations/tree.md +1 -1
  102. package/docs/operations/treemap.md +1 -1
  103. package/docs/operations/waterfall.md +1 -1
  104. package/docs/operations/word-cloud.md +1 -1
  105. package/getters.js +3 -3
  106. package/index.js +524 -500
  107. package/metadata.js +2 -2
  108. package/operations.js +6 -6
  109. package/package.json +73 -68
  110. package/src/definitions/index.d.ts +1 -7
  111. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +3 -48
  112. package/src/definitions/model/definitions/schema-registry.d.ts +2 -2
  113. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +1 -1
  114. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
  115. package/src/definitions/model/definitions/schemas/common.schema.d.ts +14 -2
  116. package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
  117. package/src/definitions/model/definitions/schemas/line.schema.d.ts +1 -1
  118. package/src/visualization-catalog.d.ts +3 -0
  119. package/styles.css +1 -1
  120. package/chunks/FieldTypeIcon-DrMoGpHJ.js +0 -22
  121. package/chunks/defaults-Dtk7fg3C.js +0 -3
  122. package/chunks/line.compiler-DmHpmQCC.js +0 -198
  123. package/chunks/number.compiler-DQdg6zTy.js +0 -53
  124. package/chunks/standalone-4MsKiqs0.js +0 -355
  125. package/chunks/standalone-B794g9pE.js +0 -1012
  126. package/chunks/standalone-BA2YXyJS.js +0 -422
  127. package/chunks/standalone-BgumbdaJ2.js +0 -357
  128. package/chunks/standalone-Blh4qejk.js +0 -689
  129. package/chunks/standalone-DH0xTEes.js +0 -2
  130. package/chunks/standalone-DcnHjNnC.js +0 -2
  131. package/chunks/standalone-DrHdGkY7.js +0 -762
  132. package/chunks/standalone-c_rROMtx.js +0 -287
  133. package/chunks/standalone-drcFLeN6.js +0 -6
@@ -43,11 +43,13 @@ Use `compilation.resolvedRefs` to get the data-item identity that operation payl
43
43
 
44
44
  ```ts
45
45
  import { applyOperations } from '@astrato-io/visualizations/operations';
46
+ import type { VisualizationResolvedDataItemReference } from '@astrato-io/visualizations/definitions';
46
47
 
47
48
  const compilation = await compileVisualizationDefinition({ definition, availableFields, baseVSpec });
48
49
  if (!compilation.success) throw new Error(JSON.stringify(compilation.issues));
49
50
 
50
- const { dataItemInternalKey, dataItemUniqueSignature } = compilation.resolvedRefs.sales;
51
+ const { dataItemInternalKey, dataItemUniqueSignature } = compilation.resolvedRefs
52
+ .sales as VisualizationResolvedDataItemReference;
51
53
  const finished = await applyOperations({
52
54
  instance: { id: 'sales-by-manufacturer', type: 'bar', vSpec: compilation.vSpec },
53
55
  operationRequests: [
@@ -455,10 +457,6 @@ Categorical comparison chart with sorting, limiting, per-measure axes, labels, l
455
457
  {
456
458
  "aggregation": "SUM",
457
459
  "fieldKey": "[Cars].[Sales In Thousands]",
458
- "format": {
459
- "formatType": "number2Decimal",
460
- "negativeType": "parenthesis"
461
- },
462
460
  "ref": "sales",
463
461
  "dataLabels": {
464
462
  "placements": ["outside", "inside"],
@@ -547,10 +545,6 @@ Categorical comparison chart with sorting, limiting, per-measure axes, labels, l
547
545
  {
548
546
  "aggregation": "SUM",
549
547
  "fieldKey": "[Cars].[Sales In Thousands]",
550
- "format": {
551
- "formatType": "number2Decimal",
552
- "negativeType": "parenthesis"
553
- },
554
548
  "ref": "sales"
555
549
  }
556
550
  ]
@@ -622,10 +616,6 @@ Combined categorical chart supporting multiple measures, per-measure axes, sorti
622
616
  {
623
617
  "aggregation": "SUM",
624
618
  "fieldKey": "[Cars].[Sales In Thousands]",
625
- "format": {
626
- "formatType": "number2Decimal",
627
- "negativeType": "parenthesis"
628
- },
629
619
  "ref": "sales",
630
620
  "dataLabels": {
631
621
  "visible": true
@@ -635,10 +625,6 @@ Combined categorical chart supporting multiple measures, per-measure axes, sorti
635
625
  {
636
626
  "aggregation": "AVG",
637
627
  "fieldKey": "[Cars].[Horsepower]",
638
- "format": {
639
- "formatType": "number2Decimal",
640
- "negativeType": "parenthesis"
641
- },
642
628
  "ref": "horsepower",
643
629
  "axis": "secondary",
644
630
  "seriesType": "line"
@@ -725,19 +711,11 @@ Gauge distribution across one or more values, optionally grouped by a dimension.
725
711
  {
726
712
  "aggregation": "SUM",
727
713
  "fieldKey": "[Cars].[Sales In Thousands]",
728
- "format": {
729
- "formatType": "number2Decimal",
730
- "negativeType": "parenthesis"
731
- },
732
714
  "ref": "sales"
733
715
  },
734
716
  {
735
717
  "aggregation": "AVG",
736
718
  "fieldKey": "[Cars].[Sales In Thousands]",
737
- "format": {
738
- "formatType": "number2Decimal",
739
- "negativeType": "parenthesis"
740
- },
741
719
  "ref": "averageSales"
742
720
  }
743
721
  ]
@@ -802,10 +780,6 @@ Dot comparison using two categorical dimensions and one measure.
802
780
  {
803
781
  "aggregation": "SUM",
804
782
  "fieldKey": "[Cars].[Sales In Thousands]",
805
- "format": {
806
- "formatType": "number2Decimal",
807
- "negativeType": "parenthesis"
808
- },
809
783
  "ref": "sales"
810
784
  }
811
785
  ]
@@ -879,19 +853,11 @@ Gauge values with an optional grouping dimension and optional data target.
879
853
  {
880
854
  "aggregation": "SUM",
881
855
  "fieldKey": "[Cars].[Sales In Thousands]",
882
- "format": {
883
- "formatType": "number2Decimal",
884
- "negativeType": "parenthesis"
885
- },
886
856
  "ref": "sales"
887
857
  },
888
858
  {
889
859
  "aggregation": "AVG",
890
860
  "fieldKey": "[Cars].[Sales In Thousands]",
891
- "format": {
892
- "formatType": "number2Decimal",
893
- "negativeType": "parenthesis"
894
- },
895
861
  "ref": "targetSales"
896
862
  }
897
863
  ]
@@ -956,19 +922,11 @@ Two-dimensional matrix colored and optionally sized by measures.
956
922
  {
957
923
  "aggregation": "SUM",
958
924
  "fieldKey": "[Cars].[Sales In Thousands]",
959
- "format": {
960
- "formatType": "number2Decimal",
961
- "negativeType": "parenthesis"
962
- },
963
925
  "ref": "sales"
964
926
  },
965
927
  {
966
928
  "aggregation": "AVG",
967
929
  "fieldKey": "[Cars].[Horsepower]",
968
- "format": {
969
- "formatType": "number2Decimal",
970
- "negativeType": "parenthesis"
971
- },
972
930
  "ref": "horsepower"
973
931
  }
974
932
  ]
@@ -1103,7 +1061,7 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
1103
1061
  **Constraints and semantics**
1104
1062
 
1105
1063
  - Each measure may select the primary or secondary axis using its axis property.
1106
- - Visible data labels require dataPointShape on every measure.
1064
+ - Data labels are off unless presentation.dataLabels.visible is true. Visible labels require dataPointShape on every measure.
1107
1065
  - presentation.axes.primaryMeasure.bands shades the plot between two primary measure axis values; start and end are measure values, and the bands replace any on the base vSpec.
1108
1066
  - Set range on a measure axis to fix its min, max, or both, for example to give several charts one shared scale. To keep an auto-fitted axis anchored at zero, leave both unset and put startsAtZero inside range, not on the axis itself: "primaryMeasure": { "range": { "startsAtZero": true } }. Set inverted on a measure axis to reverse its values, for example to put rank 1 at the top.
1109
1067
  - Set scale to log on a measure axis to draw it logarithmically, with gridlines at powers of ten. Zero and negative values are drawn at the floor of a log axis.
@@ -1129,10 +1087,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
1129
1087
  {
1130
1088
  "aggregation": "SUM",
1131
1089
  "fieldKey": "[Cars].[Sales In Thousands]",
1132
- "format": {
1133
- "formatType": "number2Decimal",
1134
- "negativeType": "parenthesis"
1135
- },
1136
1090
  "ref": "sales",
1137
1091
  "axis": "primary",
1138
1092
  "dataPointShape": "circle"
@@ -1140,10 +1094,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
1140
1094
  {
1141
1095
  "aggregation": "AVG",
1142
1096
  "fieldKey": "[Cars].[Horsepower]",
1143
- "format": {
1144
- "formatType": "number2Decimal",
1145
- "negativeType": "parenthesis"
1146
- },
1147
1097
  "ref": "horsepower",
1148
1098
  "axis": "secondary",
1149
1099
  "dataPointShape": "square"
@@ -1181,10 +1131,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
1181
1131
  "titleVisible": true
1182
1132
  }
1183
1133
  },
1184
- "dataLabels": {
1185
- "density": "medium",
1186
- "visible": true
1187
- },
1188
1134
  "legend": {
1189
1135
  "position": "right",
1190
1136
  "title": "Cars comparison",
@@ -1220,10 +1166,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
1220
1166
  {
1221
1167
  "aggregation": "SUM",
1222
1168
  "fieldKey": "[Cars].[Sales In Thousands]",
1223
- "format": {
1224
- "formatType": "number2Decimal",
1225
- "negativeType": "parenthesis"
1226
- },
1227
1169
  "ref": "sales",
1228
1170
  "dataPointShape": "circle"
1229
1171
  }
@@ -1265,10 +1207,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
1265
1207
  {
1266
1208
  "aggregation": "SUM",
1267
1209
  "fieldKey": "[Cars].[Sales In Thousands]",
1268
- "format": {
1269
- "formatType": "number2Decimal",
1270
- "negativeType": "parenthesis"
1271
- },
1272
1210
  "ref": "sales",
1273
1211
  "dataPointShape": "circle"
1274
1212
  }
@@ -1324,10 +1262,6 @@ Radial comparison chart for one or more measures with optional categorical dimen
1324
1262
  {
1325
1263
  "aggregation": "SUM",
1326
1264
  "fieldKey": "[Cars].[Sales In Thousands]",
1327
- "format": {
1328
- "formatType": "number2Decimal",
1329
- "negativeType": "parenthesis"
1330
- },
1331
1265
  "ref": "sales"
1332
1266
  }
1333
1267
  ]
@@ -1386,10 +1320,6 @@ Part-to-whole chart with optional secondary radial measure.
1386
1320
  {
1387
1321
  "aggregation": "SUM",
1388
1322
  "fieldKey": "[Cars].[Sales In Thousands]",
1389
- "format": {
1390
- "formatType": "number2Decimal",
1391
- "negativeType": "parenthesis"
1392
- },
1393
1323
  "ref": "sales"
1394
1324
  }
1395
1325
  ]
@@ -1442,10 +1372,6 @@ Part-to-whole chart with optional secondary radial measure.
1442
1372
  {
1443
1373
  "aggregation": "SUM",
1444
1374
  "fieldKey": "[Cars].[Sales In Thousands]",
1445
- "format": {
1446
- "formatType": "number2Decimal",
1447
- "negativeType": "parenthesis"
1448
- },
1449
1375
  "ref": "sales"
1450
1376
  }
1451
1377
  ]
@@ -1510,10 +1436,6 @@ Hierarchical tree built from dimensions, measures, or both.
1510
1436
  {
1511
1437
  "aggregation": "SUM",
1512
1438
  "fieldKey": "[Cars].[Sales In Thousands]",
1513
- "format": {
1514
- "formatType": "number2Decimal",
1515
- "negativeType": "parenthesis"
1516
- },
1517
1439
  "ref": "sales"
1518
1440
  }
1519
1441
  ]
@@ -1586,10 +1508,6 @@ Hierarchical area chart using ordered dimensions and one size measure.
1586
1508
  {
1587
1509
  "aggregation": "SUM",
1588
1510
  "fieldKey": "[Cars].[Sales In Thousands]",
1589
- "format": {
1590
- "formatType": "number2Decimal",
1591
- "negativeType": "parenthesis"
1592
- },
1593
1511
  "ref": "sales"
1594
1512
  }
1595
1513
  ]
@@ -1653,10 +1571,6 @@ Flow chart across an ordered sequence of categorical dimensions.
1653
1571
  {
1654
1572
  "aggregation": "SUM",
1655
1573
  "fieldKey": "[Cars].[Sales In Thousands]",
1656
- "format": {
1657
- "formatType": "number2Decimal",
1658
- "negativeType": "parenthesis"
1659
- },
1660
1574
  "ref": "sales"
1661
1575
  }
1662
1576
  ]
@@ -1697,10 +1611,6 @@ Flow chart across an ordered sequence of categorical dimensions.
1697
1611
  {
1698
1612
  "aggregation": "SUM",
1699
1613
  "fieldKey": "[Cars].[Sales In Thousands]",
1700
- "format": {
1701
- "formatType": "number2Decimal",
1702
- "negativeType": "parenthesis"
1703
- },
1704
1614
  "ref": "sales"
1705
1615
  }
1706
1616
  ]
@@ -1757,28 +1667,16 @@ Relationship chart using horizontal and vertical measures with optional size and
1757
1667
  {
1758
1668
  "aggregation": "SUM",
1759
1669
  "fieldKey": "[Cars].[Sales In Thousands]",
1760
- "format": {
1761
- "formatType": "number2Decimal",
1762
- "negativeType": "parenthesis"
1763
- },
1764
1670
  "ref": "sales"
1765
1671
  },
1766
1672
  {
1767
1673
  "aggregation": "AVG",
1768
1674
  "fieldKey": "[Cars].[Horsepower]",
1769
- "format": {
1770
- "formatType": "number2Decimal",
1771
- "negativeType": "parenthesis"
1772
- },
1773
1675
  "ref": "horsepower"
1774
1676
  },
1775
1677
  {
1776
1678
  "aggregation": "AVG",
1777
1679
  "fieldKey": "[Cars].[Sales In Thousands]",
1778
- "format": {
1779
- "formatType": "number2Decimal",
1780
- "negativeType": "parenthesis"
1781
- },
1782
1680
  "ref": "size"
1783
1681
  }
1784
1682
  ]
@@ -1867,11 +1765,10 @@ Normal, expandable, or pivot tabular output with formatting, filtering, sorting,
1867
1765
  {
1868
1766
  "aggregation": "SUM",
1869
1767
  "fieldKey": "[Cars].[Sales In Thousands]",
1768
+ "ref": "sales",
1870
1769
  "format": {
1871
- "formatType": "number2Decimal",
1872
- "negativeType": "parenthesis"
1770
+ "formatType": "numberNoDecimal"
1873
1771
  },
1874
- "ref": "sales",
1875
1772
  "role": "measure"
1876
1773
  }
1877
1774
  ],
@@ -1973,10 +1870,6 @@ Normal, expandable, or pivot tabular output with formatting, filtering, sorting,
1973
1870
  {
1974
1871
  "aggregation": "SUM",
1975
1872
  "fieldKey": "[Cars].[Sales In Thousands]",
1976
- "format": {
1977
- "formatType": "number2Decimal",
1978
- "negativeType": "parenthesis"
1979
- },
1980
1873
  "ref": "sales"
1981
1874
  }
1982
1875
  ],
@@ -2021,10 +1914,6 @@ Normal, expandable, or pivot tabular output with formatting, filtering, sorting,
2021
1914
  {
2022
1915
  "aggregation": "SUM",
2023
1916
  "fieldKey": "[Cars].[Sales In Thousands]",
2024
- "format": {
2025
- "formatType": "number2Decimal",
2026
- "negativeType": "parenthesis"
2027
- },
2028
1917
  "ref": "sales"
2029
1918
  }
2030
1919
  ],
@@ -2088,10 +1977,6 @@ Sequential contribution chart, or a comparison of two measures across one dimens
2088
1977
  {
2089
1978
  "aggregation": "SUM",
2090
1979
  "fieldKey": "[Cars].[Sales In Thousands]",
2091
- "format": {
2092
- "formatType": "number2Decimal",
2093
- "negativeType": "parenthesis"
2094
- },
2095
1980
  "ref": "sales",
2096
1981
  "dataLabels": {
2097
1982
  "visible": true
@@ -2100,10 +1985,6 @@ Sequential contribution chart, or a comparison of two measures across one dimens
2100
1985
  {
2101
1986
  "aggregation": "AVG",
2102
1987
  "fieldKey": "[Cars].[Horsepower]",
2103
- "format": {
2104
- "formatType": "number2Decimal",
2105
- "negativeType": "parenthesis"
2106
- },
2107
1988
  "ref": "horsepower",
2108
1989
  "dataLabels": {
2109
1990
  "visible": true
@@ -2161,19 +2042,11 @@ Sequential contribution chart, or a comparison of two measures across one dimens
2161
2042
  {
2162
2043
  "aggregation": "SUM",
2163
2044
  "fieldKey": "[Cars].[Sales In Thousands]",
2164
- "format": {
2165
- "formatType": "number2Decimal",
2166
- "negativeType": "parenthesis"
2167
- },
2168
2045
  "ref": "totalSales"
2169
2046
  },
2170
2047
  {
2171
2048
  "aggregation": "AVG",
2172
2049
  "fieldKey": "[Cars].[Sales In Thousands]",
2173
- "format": {
2174
- "formatType": "number2Decimal",
2175
- "negativeType": "parenthesis"
2176
- },
2177
2050
  "ref": "averageSales"
2178
2051
  }
2179
2052
  ]
@@ -2230,10 +2103,6 @@ Weighted word display using one label dimension and one measure.
2230
2103
  {
2231
2104
  "aggregation": "SUM",
2232
2105
  "fieldKey": "[Cars].[Sales In Thousands]",
2233
- "format": {
2234
- "formatType": "number2Decimal",
2235
- "negativeType": "parenthesis"
2236
- },
2237
2106
  "ref": "sales"
2238
2107
  }
2239
2108
  ]
@@ -2421,10 +2290,6 @@ Single aggregated or semantic value with value formatting and static filters.
2421
2290
  "measure": {
2422
2291
  "aggregation": "SUM",
2423
2292
  "fieldKey": "[Cars].[Sales In Thousands]",
2424
- "format": {
2425
- "formatType": "number2Decimal",
2426
- "negativeType": "parenthesis"
2427
- },
2428
2293
  "ref": "sales"
2429
2294
  }
2430
2295
  },
@@ -2453,10 +2318,6 @@ Single aggregated or semantic value with value formatting and static filters.
2453
2318
  "measure": {
2454
2319
  "aggregation": "SUM",
2455
2320
  "fieldKey": "[Cars].[Sales In Thousands]",
2456
- "format": {
2457
- "formatType": "number2Decimal",
2458
- "negativeType": "parenthesis"
2459
- },
2460
2321
  "ref": "sales"
2461
2322
  }
2462
2323
  },
@@ -1,8 +1,8 @@
1
1
  import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Oa as t } from "./visualization-filters-D7i6oh1Z.js";
3
- import { W as n, ci as r, si as i, sn as a, zr as o } from "./utils-DganVptf.js";
2
+ import { Na as t } from "./visualization-filters-BwS0xUqs.js";
3
+ import { Br as n, G as r, ci as i, cn as a, li as o } from "./utils-BdJrEeIQ.js";
4
4
  import { i as s, u as c } from "./responsive.styles-FItb913l.js";
5
- var l = /* @__PURE__ */ e(r()), u = o(), d = n({
5
+ var l = /* @__PURE__ */ e(o()), u = n(), d = r({
6
6
  container: {
7
7
  display: "flex",
8
8
  fontSize: "14px"
@@ -1,10 +1,10 @@
1
1
  import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Dt as t, Et as n, G as r, X as i, ci as a, it as o, zr as s } from "./utils-DganVptf.js";
3
- import { _ as c, a as l, c as u, d, l as f, m as p, n as m, u as h, v as g } from "./react-dom-BGP4tbXV.js";
4
- import { t as _ } from "./isFocusVisible-Bu8gGZu5.js";
5
- import { d as v, f as y, h as b, m as x, u as S, y as C } from "./Title-BgYnaVTR.js";
2
+ import { Br as t, Dt as n, K as r, Ot as i, Z as a, at as o, li as s } from "./utils-BdJrEeIQ.js";
3
+ import { _ as c, a as l, c as u, d, l as f, m as p, n as m, u as h, v as g } from "./react-dom-BjsCbYHq.js";
4
+ import { t as _ } from "./isFocusVisible-C1nlVUwL.js";
5
+ import { d as v, f as y, h as b, m as x, u as S, y as C } from "./Title-BmvwZYkh.js";
6
6
  import { p as w } from "./responsive.styles-FItb913l.js";
7
- var T = /* @__PURE__ */ e(a(), 1);
7
+ var T = /* @__PURE__ */ e(s(), 1);
8
8
  function E(e) {
9
9
  let { focusableWhenDisabled: t, disabled: n, composite: r = !1, tabIndex: i = 0, isNativeButton: a } = e, o = r && t !== !1, s = r && t === !1;
10
10
  return T.useMemo(() => {
@@ -124,7 +124,7 @@ function j() {
124
124
  });
125
125
  return n.resolve = e, n.reject = t, n;
126
126
  }
127
- var M = s();
127
+ var M = t();
128
128
  function N(e) {
129
129
  let { className: t, classes: n, pulsate: r = !1, rippleX: i, rippleY: a, rippleSize: s, in: c, onExited: l, timeout: u } = e, [d, f] = T.useState(!1), p = S(), m = T.useRef(!1), h = T.useRef(l);
130
130
  h.current = l;
@@ -192,7 +192,7 @@ function te({ event: e, element: t, center: n }) {
192
192
  rippleSize: o
193
193
  };
194
194
  }
195
- var ne = t`
195
+ var ne = i`
196
196
  0% {
197
197
  transform: scale(0);
198
198
  opacity: 0.1;
@@ -202,7 +202,7 @@ var ne = t`
202
202
  transform: scale(1);
203
203
  opacity: 0.3;
204
204
  }
205
- `, z = t`
205
+ `, z = i`
206
206
  0% {
207
207
  opacity: 1;
208
208
  }
@@ -210,7 +210,7 @@ var ne = t`
210
210
  100% {
211
211
  opacity: 0;
212
212
  }
213
- `, re = t`
213
+ `, re = i`
214
214
  0% {
215
215
  transform: scale(1);
216
216
  }
@@ -477,7 +477,7 @@ var U = c("MuiButtonBase", [
477
477
  variants: [{
478
478
  props: { internalDisabledThemeFocusVisible: !1 },
479
479
  style: e.focusVisible && {
480
- ...i,
480
+ ...a,
481
481
  [`&.${U.focusVisible}`]: e.focusVisible
482
482
  }
483
483
  }]
@@ -590,7 +590,7 @@ c("MuiCircularProgress", [
590
590
  "circle",
591
591
  "circleDisableShrink"
592
592
  ]);
593
- var q = 44, J = t`
593
+ var q = 44, J = i`
594
594
  0% {
595
595
  transform: rotate(0deg);
596
596
  }
@@ -598,7 +598,7 @@ var q = 44, J = t`
598
598
  100% {
599
599
  transform: rotate(360deg);
600
600
  }
601
- `, Y = t`
601
+ `, Y = i`
602
602
  0% {
603
603
  stroke-dasharray: 1px, 200px;
604
604
  stroke-dashoffset: 0;
@@ -0,0 +1,22 @@
1
+ import { Br as e, Sr as t, _r as n, br as r, dr as i, fr as a, gr as o, hr as s, mr as c, pr as l, ur as u, vr as d, xr as f, yr as p } from "./utils-BdJrEeIQ.js";
2
+ import { s as m } from "./logger-Bc-DqDM_.js";
3
+ var h = m(), g = e(), _ = ({ fieldType: e, fill: m, isBucketing: _ }) => {
4
+ if (_) return /* @__PURE__ */ (0, g.jsx)(f, { fill: m });
5
+ switch (e) {
6
+ case h.FieldType.BOOLEAN: return /* @__PURE__ */ (0, g.jsx)(t, { fill: m });
7
+ case h.FieldType.DATE: return /* @__PURE__ */ (0, g.jsx)(r, { fill: m });
8
+ case h.FieldType.DECIMAL: return /* @__PURE__ */ (0, g.jsx)(p, { fill: m });
9
+ case h.FieldType.FLOAT: return /* @__PURE__ */ (0, g.jsx)(d, { 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)(s, { fill: m });
12
+ case h.FieldType.JSON: return /* @__PURE__ */ (0, g.jsx)(c, { fill: m });
13
+ case h.FieldType.REAL: return /* @__PURE__ */ (0, g.jsx)(s, { fill: m });
14
+ case h.FieldType.STRING: return /* @__PURE__ */ (0, g.jsx)(l, { fill: m });
15
+ case h.FieldType.TIME: return /* @__PURE__ */ (0, g.jsx)(a, { fill: m });
16
+ case h.FieldType.TIMESTAMP: return /* @__PURE__ */ (0, g.jsx)(i, { fill: m });
17
+ case h.FieldType.TIMESTAMP_TZ: return /* @__PURE__ */ (0, g.jsx)(u, { fill: m });
18
+ case h.FieldType.GEOGRAPHY: return /* @__PURE__ */ (0, g.jsx)(n, { fill: m });
19
+ default: return null;
20
+ }
21
+ };
22
+ export { _ as t };
@@ -1,8 +1,8 @@
1
1
  import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { $ as t, Dt as n, Et as r, ci as i, it as a, zr as o } from "./utils-DganVptf.js";
3
- import { _ as s, a as c, c as l, d as u, l as d, m as f, n as p, u as m, v as h } from "./react-dom-BGP4tbXV.js";
2
+ import { Br as t, Dt as n, Ot as r, at as i, et as a, li as o } from "./utils-BdJrEeIQ.js";
3
+ import { _ as s, a as c, c as l, d as u, l as d, m as f, n as p, u as m, v as h } from "./react-dom-BjsCbYHq.js";
4
4
  import { p as g } from "./responsive.styles-FItb913l.js";
5
- var _ = /* @__PURE__ */ e(i(), 1);
5
+ var _ = /* @__PURE__ */ e(o(), 1);
6
6
  function v(e) {
7
7
  return h("MuiLinearProgress", e);
8
8
  }
@@ -18,7 +18,7 @@ var y = s("MuiLinearProgress", [
18
18
  "bar",
19
19
  "bar1",
20
20
  "bar2"
21
- ]), b = o(), x = 4, S = {}, C = n`
21
+ ]), b = t(), x = 4, S = {}, C = r`
22
22
  0% {
23
23
  left: -35%;
24
24
  right: 100%;
@@ -33,9 +33,9 @@ var y = s("MuiLinearProgress", [
33
33
  left: 100%;
34
34
  right: -90%;
35
35
  }
36
- `, w = typeof C == "string" ? null : r`
36
+ `, w = typeof C == "string" ? null : n`
37
37
  animation: ${C} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
38
- `, T = n`
38
+ `, T = r`
39
39
  0% {
40
40
  left: -200%;
41
41
  right: 100%;
@@ -50,9 +50,9 @@ var y = s("MuiLinearProgress", [
50
50
  left: 107%;
51
51
  right: -8%;
52
52
  }
53
- `, E = typeof T == "string" ? null : r`
53
+ `, E = typeof T == "string" ? null : n`
54
54
  animation: ${T} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
55
- `, D = n`
55
+ `, D = r`
56
56
  0% {
57
57
  opacity: 1;
58
58
  background-position: 0 -23px;
@@ -67,7 +67,7 @@ var y = s("MuiLinearProgress", [
67
67
  opacity: 1;
68
68
  background-position: -200px -23px;
69
69
  }
70
- `, O = typeof D == "string" ? null : r`
70
+ `, O = typeof D == "string" ? null : n`
71
71
  animation: ${D} 3s infinite linear;
72
72
  `, k = (e) => {
73
73
  let { classes: t, variant: n, color: r } = e;
@@ -279,15 +279,15 @@ var y = s("MuiLinearProgress", [
279
279
  }] : []
280
280
  ]
281
281
  };
282
- })), F = /*#__PURE__*/ _.forwardRef(function(e, n) {
283
- let r = d({
282
+ })), F = /*#__PURE__*/ _.forwardRef(function(e, t) {
283
+ let n = d({
284
284
  props: e,
285
285
  name: "MuiLinearProgress"
286
- }), { className: i, color: o = "primary", max: s, min: c, value: l, valueBuffer: u, variant: f = "indeterminate", ...p } = r, m = {
287
- ...r,
286
+ }), { className: r, color: o = "primary", max: s, min: c, value: l, valueBuffer: u, variant: f = "indeterminate", ...p } = n, m = {
287
+ ...n,
288
288
  color: o,
289
289
  variant: f
290
- }, h = c ?? 0, g = s ?? 100, _ = k(m), v = t(), y = {}, x = {
290
+ }, h = c ?? 0, g = s ?? 100, _ = k(m), v = a(), y = {}, x = {
291
291
  bar1: {},
292
292
  bar2: {}
293
293
  };
@@ -300,11 +300,11 @@ var y = s("MuiLinearProgress", [
300
300
  v && (t = -t), x.bar2.transform = e > 0 ? `translateX(${t}%)` : "translateX(-100%)";
301
301
  }
302
302
  return /*#__PURE__*/ (0, b.jsxs)(j, {
303
- className: a(_.root, i),
303
+ className: i(_.root, r),
304
304
  ownerState: m,
305
305
  role: "progressbar",
306
306
  ...y,
307
- ref: n,
307
+ ref: t,
308
308
  ...p,
309
309
  children: [
310
310
  f === "buffer" ? /*#__PURE__*/ (0, b.jsx)(M, {