@astrato-io/visualizations 0.10.1 → 0.12.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.
- package/CHANGELOG.md +30 -1
- package/README.md +148 -5
- package/THIRD_PARTY_NOTICES.md +494 -0
- package/VISUALIZATION_DEFINITIONS.md +9 -146
- package/chunks/{Button-Dn3rJrYf.js → Button-CQdoKSXX.js} +3 -3
- package/chunks/{CircularProgress-BFeu06Yb.js → CircularProgress-DpT1lwWw.js} +20 -20
- package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
- package/chunks/{LinearProgress-ClO6GUjN.js → LinearProgress-B7S0Q26A.js} +14 -14
- package/chunks/{MenuOption-Czc34u4q.js → MenuOption-DpKFJxmo.js} +167 -167
- package/chunks/{Title-BgYnaVTR.js → Title-m5damhc0.js} +37 -37
- package/chunks/{_createAggregator-BMu9uRax.js → _createAggregator-BA8_iU9q.js} +17 -17
- package/chunks/{app-filter-bar.compiler-CVir0wkl.js → app-filter-bar.compiler--T4Qz3Wu.js} +8 -8
- package/chunks/{bar-layout-C_UgRlVl.js → bar-layout-OFhxn2Go.js} +2 -2
- package/chunks/{bar.compiler-DYuFdi9J.js → bar.compiler-hWZBYYvV.js} +71 -69
- package/chunks/{builder-C-TKA-My.js → builder-7w_bgV_h.js} +106 -55
- package/chunks/{coloring-BtnPiQ_o.js → coloring-Cd6p0GQJ.js} +93 -88
- package/chunks/{createSimplePaletteValueFilter--zrZxRV9.js → createSimplePaletteValueFilter-CiJT8s1s.js} +169 -169
- package/chunks/defaults-CMFqXvaJ.js +3 -0
- package/chunks/{definitions-CT304NDn.js → definitions-DTauTjIX.js} +399 -398
- package/chunks/{escobar-CvEV2ES1.js → escobar-CMvphKSK.js} +4949 -4879
- package/chunks/{extend-preset-D9-JP92b.js → extend-preset-BpXttHFk.js} +449 -450
- package/chunks/{filter.compiler-CXeZznks.js → filter.compiler-DOGFweJz.js} +10 -10
- package/chunks/{filtering-8_bFv-jb.js → filtering-NOnDcGbo.js} +241 -241
- package/chunks/handlers-CyYFSfhM.js +15393 -0
- package/chunks/{icon-picker-styles-BXiJ1SZS.js → icon-picker-styles-DuSERhBU.js} +8 -8
- package/chunks/{isEqual-D8Ay63xR.js → isEqual-4f8yUUtC.js} +1 -1
- package/chunks/{isFocusVisible-Bu8gGZu5.js → isFocusVisible-Czm70MGc.js} +9 -9
- package/chunks/line.compiler-B-4H55_T.js +203 -0
- package/chunks/linear-Bq_r9l5S.js +264 -0
- package/chunks/{logger-DdZpR7xZ.js → logger-Cioob-QV.js} +74 -73
- package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
- package/chunks/{map.compiler-Q_Y1Pvat.js → map.compiler-Cv5V6EhF.js} +40 -40
- package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
- package/chunks/measure-format-default-B_kuGSzi.js +26 -0
- package/chunks/{metadata-BQm_TXI1.js → metadata-dGSe5UWy.js} +5 -5
- package/chunks/number.compiler-D7nMcEMv.js +57 -0
- package/chunks/{operations-DKQWuLL7.js → operations-CgfehCad.js} +11397 -11114
- package/chunks/{range-BdhzvYQ_.js → range-Dmwp9kVB.js} +2 -2
- package/chunks/{react-dom-BGP4tbXV.js → react-dom-CfuL-m78.js} +82 -82
- package/chunks/{render-wrappers-BZpyDnJy.js → render-wrappers--g-zPFBW.js} +1 -1
- package/chunks/{requirements-e8Fe96ag.js → requirements-DHayNJ2C.js} +245 -221
- package/chunks/{shared-C_2F90xq.js → shared-DoEN9nNM.js} +505 -494
- package/chunks/standalone-B3hRGgYi.js +773 -0
- package/chunks/{standalone-BkbiH-o8.js → standalone-BPNXgFft.js} +498 -759
- package/chunks/standalone-BPTT8XEu.js +424 -0
- package/chunks/standalone-BgAeHROc.js +2 -0
- package/chunks/{standalone-BE_ONgiG.js → standalone-BkQxag7M.js} +102 -102
- package/chunks/{standalone-Cc98Pdr6.js → standalone-Bxa3x6dg.js} +872 -872
- package/chunks/standalone-C0If-V6O.js +773 -0
- package/chunks/standalone-C1TOyflX.js +287 -0
- package/chunks/{standalone-CY_kjarf.js → standalone-CE5PwJN0.js} +18 -18
- package/chunks/{standalone-B8ZSqauS.js → standalone-CG7IFN6n.js} +120 -120
- package/chunks/{standalone-wOWRCpdn.js → standalone-CKlgGu80.js} +49 -49
- package/chunks/standalone-CNf-oA2U.js +355 -0
- package/chunks/{standalone-BDrXVxlP.js → standalone-CXPdWFlw.js} +14 -14
- package/chunks/{standalone-z0o52o5t.js → standalone-Cf0_5tbu.js} +5567 -5568
- package/chunks/{standalone-Cl0TSfqC.js → standalone-DMi4-Vp3.js} +122 -122
- package/chunks/{standalone-DNh9NcMa.js → standalone-DTEX67C8.js} +154 -154
- package/chunks/{standalone-DHRalbVO.js → standalone-DU46-kYv.js} +279 -279
- package/chunks/standalone-Dbn3jSH6.js +690 -0
- package/chunks/{standalone-CsoMmE9T.js → standalone-DdcAL_k_.js} +839 -843
- package/chunks/standalone-DwCIA0UG.js +1057 -0
- package/chunks/standalone-Dz13tl3P.js +357 -0
- package/chunks/standalone-H9GFzFk_.js +8377 -0
- package/chunks/{standalone-CaTxAydz.js → standalone-MduR0qre.js} +2227 -1000
- package/chunks/standalone-ejTz66P3.js +2 -0
- package/chunks/{standalone-DflyWtuR.js → standalone-keB-0wK3.js} +216 -216
- package/chunks/{standalone-BTY3w_JA.js → standalone-nnkuQd0K.js} +28 -28
- package/chunks/standalone-vGGR6Vcn.js +6 -0
- package/chunks/{table.compiler-COaHE9VD.js → table.compiler-mS4UvhLT.js} +31 -31
- package/chunks/theme-MYp6Rj1J.js +232 -0
- package/chunks/{useFieldName-CdnCWzhd.js → useFieldName-AdSak4Ch.js} +1 -1
- package/chunks/{utils-DganVptf.js → utils-CUKgR7it.js} +4216 -4070
- package/chunks/{view-Bzlros43.js → view-BeYwpcVD.js} +1561 -1561
- package/chunks/{visualization-filters-D7i6oh1Z.js → visualization-filters-B9qik5_K.js} +2683 -2342
- package/chunks/{with-html-element-CiIhFEa5.js → with-html-element-1GSeLT59.js} +3712 -3682
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +144 -32
- package/docs/operations/combo.md +79 -17
- package/docs/operations/date-picker.md +4 -4
- package/docs/operations/distribution-gauge.md +18 -16
- package/docs/operations/dot.md +107 -24
- package/docs/operations/filter.md +10 -8
- package/docs/operations/gauge.md +20 -18
- package/docs/operations/heatMap.md +73 -21
- package/docs/operations/histogram.md +45 -12
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +12 -11
- package/docs/operations/line.md +86 -24
- package/docs/operations/map.md +5274 -0
- package/docs/operations/number.md +10 -9
- package/docs/operations/pie.md +23 -21
- package/docs/operations/radar.md +13 -11
- package/docs/operations/sankey.md +19 -17
- package/docs/operations/scatter.md +111 -28
- package/docs/operations/shape.md +5 -5
- package/docs/operations/simpleTextObject.md +4 -4
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +27 -25
- package/docs/operations/tree.md +5 -3
- package/docs/operations/treemap.md +70 -18
- package/docs/operations/waterfall.md +40 -7
- package/docs/operations/word-cloud.md +69 -17
- package/getters.js +3 -3
- package/index.js +585 -612
- package/metadata.js +2 -2
- package/operations.js +25 -18
- package/package.json +74 -70
- package/src/definitions/index.d.ts +1 -7
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +3 -48
- package/src/definitions/model/definitions/schema-registry.d.ts +15 -14
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +3 -3
- package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +19 -6
- package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +4 -3
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
- package/src/index.d.ts +1 -1
- package/src/operations/index.d.ts +11 -1
- package/src/types.d.ts +166 -1
- package/src/visualization-catalog.d.ts +3 -0
- package/styles.css +1 -1
- package/chunks/FieldTypeIcon-DrMoGpHJ.js +0 -22
- package/chunks/color-rules-DYJL4fIW.js +0 -15
- package/chunks/color-settings-DJFoFTip.js +0 -5
- package/chunks/defaults-Dtk7fg3C.js +0 -3
- package/chunks/handlers-C6CZ0XJA.js +0 -15399
- package/chunks/line.compiler-DmHpmQCC.js +0 -198
- package/chunks/number.compiler-DQdg6zTy.js +0 -53
- package/chunks/standalone-4MsKiqs0.js +0 -355
- package/chunks/standalone-B794g9pE.js +0 -1012
- package/chunks/standalone-BA2YXyJS.js +0 -422
- package/chunks/standalone-BgumbdaJ2.js +0 -357
- package/chunks/standalone-Blh4qejk.js +0 -689
- package/chunks/standalone-CXY4FpF7.js +0 -773
- package/chunks/standalone-DH0xTEes.js +0 -2
- package/chunks/standalone-DcnHjNnC.js +0 -2
- package/chunks/standalone-DrHdGkY7.js +0 -762
- package/chunks/standalone-c_rROMtx.js +0 -287
- package/chunks/standalone-drcFLeN6.js +0 -6
|
@@ -11,6 +11,7 @@ The reference and the public per-type descriptors share the same metadata catalo
|
|
|
11
11
|
- Definition-local `ref` values let sorting, Top N, and similar settings refer to data items before internal identities exist.
|
|
12
12
|
- Raw fields used as measures require `aggregation`. Semantic dimensions, predefined measures, and calculations retain their engine semantics.
|
|
13
13
|
- Omit `format` on a dimension unless it needs a specific format. A date field then shows readable dates; `none` or `inherit` on a date field shows raw timestamp numbers. To choose a date format, use a date format type such as `ddmmmyyyy`.
|
|
14
|
+
- Measure axes print values compactly, such as `40M` or `$1.5M`, while data labels and tooltips keep the measure's format. To print an axis with the measure's format, set `labelFormat: 'value'` on `presentation.axes.primaryMeasure` or `secondaryMeasure`. Percent, date, time and duration formats are never compacted.
|
|
14
15
|
- Each static filter in `filterGroup` takes the value keys of its operator: `inList` and `excludedFromList` take a `values` array, `isBetween` and `isNotBetween` take `valueFrom` and `valueTo`, `isNull` and `notNull` take none, and every other operator, such as `contains`, takes one string in `value`.
|
|
15
16
|
- Unsupported sections and properties are rejected instead of ignored.
|
|
16
17
|
- The compiler returns one complete vSpec or structured issues; it never returns partial state. A successful result can also carry `warnings` about settings that are likely to display poorly.
|
|
@@ -43,11 +44,13 @@ Use `compilation.resolvedRefs` to get the data-item identity that operation payl
|
|
|
43
44
|
|
|
44
45
|
```ts
|
|
45
46
|
import { applyOperations } from '@astrato-io/visualizations/operations';
|
|
47
|
+
import type { VisualizationResolvedDataItemReference } from '@astrato-io/visualizations/definitions';
|
|
46
48
|
|
|
47
49
|
const compilation = await compileVisualizationDefinition({ definition, availableFields, baseVSpec });
|
|
48
50
|
if (!compilation.success) throw new Error(JSON.stringify(compilation.issues));
|
|
49
51
|
|
|
50
|
-
const { dataItemInternalKey, dataItemUniqueSignature } = compilation.resolvedRefs
|
|
52
|
+
const { dataItemInternalKey, dataItemUniqueSignature } = compilation.resolvedRefs
|
|
53
|
+
.sales as VisualizationResolvedDataItemReference;
|
|
51
54
|
const finished = await applyOperations({
|
|
52
55
|
instance: { id: 'sales-by-manufacturer', type: 'bar', vSpec: compilation.vSpec },
|
|
53
56
|
operationRequests: [
|
|
@@ -80,7 +83,7 @@ Avoid finishing a chart by applying operations one at a time after it is mounted
|
|
|
80
83
|
| -------------------- | ------------------------------------------------------------------------------ |
|
|
81
84
|
| `axes` | Semantic dimension/primary-measure/secondary-measure axis presentation. |
|
|
82
85
|
| `axis-bands` | Shaded ranges between two primary measure axis values. |
|
|
83
|
-
| `axis-range` | Measure-axis range (min, max, starts at zero) and
|
|
86
|
+
| `axis-range` | Measure-axis range (min, max, starts at zero), inversion and label format. |
|
|
84
87
|
| `axis-scale` | Linear or logarithmic measure axis. |
|
|
85
88
|
| `content` | User-visible content such as text, image, or URL. |
|
|
86
89
|
| `data-labels` | Chart or measure label visibility and supported label settings. |
|
|
@@ -455,10 +458,6 @@ Categorical comparison chart with sorting, limiting, per-measure axes, labels, l
|
|
|
455
458
|
{
|
|
456
459
|
"aggregation": "SUM",
|
|
457
460
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
458
|
-
"format": {
|
|
459
|
-
"formatType": "number2Decimal",
|
|
460
|
-
"negativeType": "parenthesis"
|
|
461
|
-
},
|
|
462
461
|
"ref": "sales",
|
|
463
462
|
"dataLabels": {
|
|
464
463
|
"placements": ["outside", "inside"],
|
|
@@ -547,10 +546,6 @@ Categorical comparison chart with sorting, limiting, per-measure axes, labels, l
|
|
|
547
546
|
{
|
|
548
547
|
"aggregation": "SUM",
|
|
549
548
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
550
|
-
"format": {
|
|
551
|
-
"formatType": "number2Decimal",
|
|
552
|
-
"negativeType": "parenthesis"
|
|
553
|
-
},
|
|
554
549
|
"ref": "sales"
|
|
555
550
|
}
|
|
556
551
|
]
|
|
@@ -622,10 +617,6 @@ Combined categorical chart supporting multiple measures, per-measure axes, sorti
|
|
|
622
617
|
{
|
|
623
618
|
"aggregation": "SUM",
|
|
624
619
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
625
|
-
"format": {
|
|
626
|
-
"formatType": "number2Decimal",
|
|
627
|
-
"negativeType": "parenthesis"
|
|
628
|
-
},
|
|
629
620
|
"ref": "sales",
|
|
630
621
|
"dataLabels": {
|
|
631
622
|
"visible": true
|
|
@@ -635,10 +626,6 @@ Combined categorical chart supporting multiple measures, per-measure axes, sorti
|
|
|
635
626
|
{
|
|
636
627
|
"aggregation": "AVG",
|
|
637
628
|
"fieldKey": "[Cars].[Horsepower]",
|
|
638
|
-
"format": {
|
|
639
|
-
"formatType": "number2Decimal",
|
|
640
|
-
"negativeType": "parenthesis"
|
|
641
|
-
},
|
|
642
629
|
"ref": "horsepower",
|
|
643
630
|
"axis": "secondary",
|
|
644
631
|
"seriesType": "line"
|
|
@@ -725,19 +712,11 @@ Gauge distribution across one or more values, optionally grouped by a dimension.
|
|
|
725
712
|
{
|
|
726
713
|
"aggregation": "SUM",
|
|
727
714
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
728
|
-
"format": {
|
|
729
|
-
"formatType": "number2Decimal",
|
|
730
|
-
"negativeType": "parenthesis"
|
|
731
|
-
},
|
|
732
715
|
"ref": "sales"
|
|
733
716
|
},
|
|
734
717
|
{
|
|
735
718
|
"aggregation": "AVG",
|
|
736
719
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
737
|
-
"format": {
|
|
738
|
-
"formatType": "number2Decimal",
|
|
739
|
-
"negativeType": "parenthesis"
|
|
740
|
-
},
|
|
741
720
|
"ref": "averageSales"
|
|
742
721
|
}
|
|
743
722
|
]
|
|
@@ -802,10 +781,6 @@ Dot comparison using two categorical dimensions and one measure.
|
|
|
802
781
|
{
|
|
803
782
|
"aggregation": "SUM",
|
|
804
783
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
805
|
-
"format": {
|
|
806
|
-
"formatType": "number2Decimal",
|
|
807
|
-
"negativeType": "parenthesis"
|
|
808
|
-
},
|
|
809
784
|
"ref": "sales"
|
|
810
785
|
}
|
|
811
786
|
]
|
|
@@ -879,19 +854,11 @@ Gauge values with an optional grouping dimension and optional data target.
|
|
|
879
854
|
{
|
|
880
855
|
"aggregation": "SUM",
|
|
881
856
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
882
|
-
"format": {
|
|
883
|
-
"formatType": "number2Decimal",
|
|
884
|
-
"negativeType": "parenthesis"
|
|
885
|
-
},
|
|
886
857
|
"ref": "sales"
|
|
887
858
|
},
|
|
888
859
|
{
|
|
889
860
|
"aggregation": "AVG",
|
|
890
861
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
891
|
-
"format": {
|
|
892
|
-
"formatType": "number2Decimal",
|
|
893
|
-
"negativeType": "parenthesis"
|
|
894
|
-
},
|
|
895
862
|
"ref": "targetSales"
|
|
896
863
|
}
|
|
897
864
|
]
|
|
@@ -956,19 +923,11 @@ Two-dimensional matrix colored and optionally sized by measures.
|
|
|
956
923
|
{
|
|
957
924
|
"aggregation": "SUM",
|
|
958
925
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
959
|
-
"format": {
|
|
960
|
-
"formatType": "number2Decimal",
|
|
961
|
-
"negativeType": "parenthesis"
|
|
962
|
-
},
|
|
963
926
|
"ref": "sales"
|
|
964
927
|
},
|
|
965
928
|
{
|
|
966
929
|
"aggregation": "AVG",
|
|
967
930
|
"fieldKey": "[Cars].[Horsepower]",
|
|
968
|
-
"format": {
|
|
969
|
-
"formatType": "number2Decimal",
|
|
970
|
-
"negativeType": "parenthesis"
|
|
971
|
-
},
|
|
972
931
|
"ref": "horsepower"
|
|
973
932
|
}
|
|
974
933
|
]
|
|
@@ -1103,7 +1062,8 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
|
|
|
1103
1062
|
**Constraints and semantics**
|
|
1104
1063
|
|
|
1105
1064
|
- Each measure may select the primary or secondary axis using its axis property.
|
|
1106
|
-
-
|
|
1065
|
+
- Clicking a point, the line near a point or an axis label selects its axis value. Set presentation.selectOnClick to false to turn this off; when it is omitted, a selectOnClick already set on the base vSpec is kept.
|
|
1066
|
+
- Data labels are off unless presentation.dataLabels.visible is true. Visible labels require dataPointShape on every measure.
|
|
1107
1067
|
- 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
1068
|
- 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
1069
|
- 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 +1089,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
|
|
|
1129
1089
|
{
|
|
1130
1090
|
"aggregation": "SUM",
|
|
1131
1091
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1132
|
-
"format": {
|
|
1133
|
-
"formatType": "number2Decimal",
|
|
1134
|
-
"negativeType": "parenthesis"
|
|
1135
|
-
},
|
|
1136
1092
|
"ref": "sales",
|
|
1137
1093
|
"axis": "primary",
|
|
1138
1094
|
"dataPointShape": "circle"
|
|
@@ -1140,10 +1096,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
|
|
|
1140
1096
|
{
|
|
1141
1097
|
"aggregation": "AVG",
|
|
1142
1098
|
"fieldKey": "[Cars].[Horsepower]",
|
|
1143
|
-
"format": {
|
|
1144
|
-
"formatType": "number2Decimal",
|
|
1145
|
-
"negativeType": "parenthesis"
|
|
1146
|
-
},
|
|
1147
1099
|
"ref": "horsepower",
|
|
1148
1100
|
"axis": "secondary",
|
|
1149
1101
|
"dataPointShape": "square"
|
|
@@ -1181,10 +1133,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
|
|
|
1181
1133
|
"titleVisible": true
|
|
1182
1134
|
}
|
|
1183
1135
|
},
|
|
1184
|
-
"dataLabels": {
|
|
1185
|
-
"density": "medium",
|
|
1186
|
-
"visible": true
|
|
1187
|
-
},
|
|
1188
1136
|
"legend": {
|
|
1189
1137
|
"position": "right",
|
|
1190
1138
|
"title": "Cars comparison",
|
|
@@ -1220,10 +1168,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
|
|
|
1220
1168
|
{
|
|
1221
1169
|
"aggregation": "SUM",
|
|
1222
1170
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1223
|
-
"format": {
|
|
1224
|
-
"formatType": "number2Decimal",
|
|
1225
|
-
"negativeType": "parenthesis"
|
|
1226
|
-
},
|
|
1227
1171
|
"ref": "sales",
|
|
1228
1172
|
"dataPointShape": "circle"
|
|
1229
1173
|
}
|
|
@@ -1265,10 +1209,6 @@ Trend chart with sorting, query limiting, dual measure axes, labels, legend, and
|
|
|
1265
1209
|
{
|
|
1266
1210
|
"aggregation": "SUM",
|
|
1267
1211
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1268
|
-
"format": {
|
|
1269
|
-
"formatType": "number2Decimal",
|
|
1270
|
-
"negativeType": "parenthesis"
|
|
1271
|
-
},
|
|
1272
1212
|
"ref": "sales",
|
|
1273
1213
|
"dataPointShape": "circle"
|
|
1274
1214
|
}
|
|
@@ -1324,10 +1264,6 @@ Radial comparison chart for one or more measures with optional categorical dimen
|
|
|
1324
1264
|
{
|
|
1325
1265
|
"aggregation": "SUM",
|
|
1326
1266
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1327
|
-
"format": {
|
|
1328
|
-
"formatType": "number2Decimal",
|
|
1329
|
-
"negativeType": "parenthesis"
|
|
1330
|
-
},
|
|
1331
1267
|
"ref": "sales"
|
|
1332
1268
|
}
|
|
1333
1269
|
]
|
|
@@ -1386,10 +1322,6 @@ Part-to-whole chart with optional secondary radial measure.
|
|
|
1386
1322
|
{
|
|
1387
1323
|
"aggregation": "SUM",
|
|
1388
1324
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1389
|
-
"format": {
|
|
1390
|
-
"formatType": "number2Decimal",
|
|
1391
|
-
"negativeType": "parenthesis"
|
|
1392
|
-
},
|
|
1393
1325
|
"ref": "sales"
|
|
1394
1326
|
}
|
|
1395
1327
|
]
|
|
@@ -1442,10 +1374,6 @@ Part-to-whole chart with optional secondary radial measure.
|
|
|
1442
1374
|
{
|
|
1443
1375
|
"aggregation": "SUM",
|
|
1444
1376
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1445
|
-
"format": {
|
|
1446
|
-
"formatType": "number2Decimal",
|
|
1447
|
-
"negativeType": "parenthesis"
|
|
1448
|
-
},
|
|
1449
1377
|
"ref": "sales"
|
|
1450
1378
|
}
|
|
1451
1379
|
]
|
|
@@ -1510,10 +1438,6 @@ Hierarchical tree built from dimensions, measures, or both.
|
|
|
1510
1438
|
{
|
|
1511
1439
|
"aggregation": "SUM",
|
|
1512
1440
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1513
|
-
"format": {
|
|
1514
|
-
"formatType": "number2Decimal",
|
|
1515
|
-
"negativeType": "parenthesis"
|
|
1516
|
-
},
|
|
1517
1441
|
"ref": "sales"
|
|
1518
1442
|
}
|
|
1519
1443
|
]
|
|
@@ -1586,10 +1510,6 @@ Hierarchical area chart using ordered dimensions and one size measure.
|
|
|
1586
1510
|
{
|
|
1587
1511
|
"aggregation": "SUM",
|
|
1588
1512
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1589
|
-
"format": {
|
|
1590
|
-
"formatType": "number2Decimal",
|
|
1591
|
-
"negativeType": "parenthesis"
|
|
1592
|
-
},
|
|
1593
1513
|
"ref": "sales"
|
|
1594
1514
|
}
|
|
1595
1515
|
]
|
|
@@ -1653,10 +1573,6 @@ Flow chart across an ordered sequence of categorical dimensions.
|
|
|
1653
1573
|
{
|
|
1654
1574
|
"aggregation": "SUM",
|
|
1655
1575
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1656
|
-
"format": {
|
|
1657
|
-
"formatType": "number2Decimal",
|
|
1658
|
-
"negativeType": "parenthesis"
|
|
1659
|
-
},
|
|
1660
1576
|
"ref": "sales"
|
|
1661
1577
|
}
|
|
1662
1578
|
]
|
|
@@ -1697,10 +1613,6 @@ Flow chart across an ordered sequence of categorical dimensions.
|
|
|
1697
1613
|
{
|
|
1698
1614
|
"aggregation": "SUM",
|
|
1699
1615
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1700
|
-
"format": {
|
|
1701
|
-
"formatType": "number2Decimal",
|
|
1702
|
-
"negativeType": "parenthesis"
|
|
1703
|
-
},
|
|
1704
1616
|
"ref": "sales"
|
|
1705
1617
|
}
|
|
1706
1618
|
]
|
|
@@ -1757,28 +1669,16 @@ Relationship chart using horizontal and vertical measures with optional size and
|
|
|
1757
1669
|
{
|
|
1758
1670
|
"aggregation": "SUM",
|
|
1759
1671
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1760
|
-
"format": {
|
|
1761
|
-
"formatType": "number2Decimal",
|
|
1762
|
-
"negativeType": "parenthesis"
|
|
1763
|
-
},
|
|
1764
1672
|
"ref": "sales"
|
|
1765
1673
|
},
|
|
1766
1674
|
{
|
|
1767
1675
|
"aggregation": "AVG",
|
|
1768
1676
|
"fieldKey": "[Cars].[Horsepower]",
|
|
1769
|
-
"format": {
|
|
1770
|
-
"formatType": "number2Decimal",
|
|
1771
|
-
"negativeType": "parenthesis"
|
|
1772
|
-
},
|
|
1773
1677
|
"ref": "horsepower"
|
|
1774
1678
|
},
|
|
1775
1679
|
{
|
|
1776
1680
|
"aggregation": "AVG",
|
|
1777
1681
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1778
|
-
"format": {
|
|
1779
|
-
"formatType": "number2Decimal",
|
|
1780
|
-
"negativeType": "parenthesis"
|
|
1781
|
-
},
|
|
1782
1682
|
"ref": "size"
|
|
1783
1683
|
}
|
|
1784
1684
|
]
|
|
@@ -1867,11 +1767,10 @@ Normal, expandable, or pivot tabular output with formatting, filtering, sorting,
|
|
|
1867
1767
|
{
|
|
1868
1768
|
"aggregation": "SUM",
|
|
1869
1769
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1770
|
+
"ref": "sales",
|
|
1870
1771
|
"format": {
|
|
1871
|
-
"formatType": "
|
|
1872
|
-
"negativeType": "parenthesis"
|
|
1772
|
+
"formatType": "numberNoDecimal"
|
|
1873
1773
|
},
|
|
1874
|
-
"ref": "sales",
|
|
1875
1774
|
"role": "measure"
|
|
1876
1775
|
}
|
|
1877
1776
|
],
|
|
@@ -1973,10 +1872,6 @@ Normal, expandable, or pivot tabular output with formatting, filtering, sorting,
|
|
|
1973
1872
|
{
|
|
1974
1873
|
"aggregation": "SUM",
|
|
1975
1874
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
1976
|
-
"format": {
|
|
1977
|
-
"formatType": "number2Decimal",
|
|
1978
|
-
"negativeType": "parenthesis"
|
|
1979
|
-
},
|
|
1980
1875
|
"ref": "sales"
|
|
1981
1876
|
}
|
|
1982
1877
|
],
|
|
@@ -2021,10 +1916,6 @@ Normal, expandable, or pivot tabular output with formatting, filtering, sorting,
|
|
|
2021
1916
|
{
|
|
2022
1917
|
"aggregation": "SUM",
|
|
2023
1918
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
2024
|
-
"format": {
|
|
2025
|
-
"formatType": "number2Decimal",
|
|
2026
|
-
"negativeType": "parenthesis"
|
|
2027
|
-
},
|
|
2028
1919
|
"ref": "sales"
|
|
2029
1920
|
}
|
|
2030
1921
|
],
|
|
@@ -2088,10 +1979,6 @@ Sequential contribution chart, or a comparison of two measures across one dimens
|
|
|
2088
1979
|
{
|
|
2089
1980
|
"aggregation": "SUM",
|
|
2090
1981
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
2091
|
-
"format": {
|
|
2092
|
-
"formatType": "number2Decimal",
|
|
2093
|
-
"negativeType": "parenthesis"
|
|
2094
|
-
},
|
|
2095
1982
|
"ref": "sales",
|
|
2096
1983
|
"dataLabels": {
|
|
2097
1984
|
"visible": true
|
|
@@ -2100,10 +1987,6 @@ Sequential contribution chart, or a comparison of two measures across one dimens
|
|
|
2100
1987
|
{
|
|
2101
1988
|
"aggregation": "AVG",
|
|
2102
1989
|
"fieldKey": "[Cars].[Horsepower]",
|
|
2103
|
-
"format": {
|
|
2104
|
-
"formatType": "number2Decimal",
|
|
2105
|
-
"negativeType": "parenthesis"
|
|
2106
|
-
},
|
|
2107
1990
|
"ref": "horsepower",
|
|
2108
1991
|
"dataLabels": {
|
|
2109
1992
|
"visible": true
|
|
@@ -2161,19 +2044,11 @@ Sequential contribution chart, or a comparison of two measures across one dimens
|
|
|
2161
2044
|
{
|
|
2162
2045
|
"aggregation": "SUM",
|
|
2163
2046
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
2164
|
-
"format": {
|
|
2165
|
-
"formatType": "number2Decimal",
|
|
2166
|
-
"negativeType": "parenthesis"
|
|
2167
|
-
},
|
|
2168
2047
|
"ref": "totalSales"
|
|
2169
2048
|
},
|
|
2170
2049
|
{
|
|
2171
2050
|
"aggregation": "AVG",
|
|
2172
2051
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
2173
|
-
"format": {
|
|
2174
|
-
"formatType": "number2Decimal",
|
|
2175
|
-
"negativeType": "parenthesis"
|
|
2176
|
-
},
|
|
2177
2052
|
"ref": "averageSales"
|
|
2178
2053
|
}
|
|
2179
2054
|
]
|
|
@@ -2230,10 +2105,6 @@ Weighted word display using one label dimension and one measure.
|
|
|
2230
2105
|
{
|
|
2231
2106
|
"aggregation": "SUM",
|
|
2232
2107
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
2233
|
-
"format": {
|
|
2234
|
-
"formatType": "number2Decimal",
|
|
2235
|
-
"negativeType": "parenthesis"
|
|
2236
|
-
},
|
|
2237
2108
|
"ref": "sales"
|
|
2238
2109
|
}
|
|
2239
2110
|
]
|
|
@@ -2421,10 +2292,6 @@ Single aggregated or semantic value with value formatting and static filters.
|
|
|
2421
2292
|
"measure": {
|
|
2422
2293
|
"aggregation": "SUM",
|
|
2423
2294
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
2424
|
-
"format": {
|
|
2425
|
-
"formatType": "number2Decimal",
|
|
2426
|
-
"negativeType": "parenthesis"
|
|
2427
|
-
},
|
|
2428
2295
|
"ref": "sales"
|
|
2429
2296
|
}
|
|
2430
2297
|
},
|
|
@@ -2453,10 +2320,6 @@ Single aggregated or semantic value with value formatting and static filters.
|
|
|
2453
2320
|
"measure": {
|
|
2454
2321
|
"aggregation": "SUM",
|
|
2455
2322
|
"fieldKey": "[Cars].[Sales In Thousands]",
|
|
2456
|
-
"format": {
|
|
2457
|
-
"formatType": "number2Decimal",
|
|
2458
|
-
"negativeType": "parenthesis"
|
|
2459
|
-
},
|
|
2460
2323
|
"ref": "sales"
|
|
2461
2324
|
}
|
|
2462
2325
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Ua as t } from "./visualization-filters-B9qik5_K.js";
|
|
3
|
+
import { G as n, Ur as r, di as i, dn as a, fi as o } from "./utils-CUKgR7it.js";
|
|
4
4
|
import { i as s, u as c } from "./responsive.styles-FItb913l.js";
|
|
5
|
-
var l = /* @__PURE__ */ e(
|
|
5
|
+
var l = /* @__PURE__ */ e(o()), u = r(), d = n({
|
|
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,
|
|
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-
|
|
4
|
-
import { t as _ } from "./isFocusVisible-
|
|
5
|
-
import { d as v, f as y, h as b, m as x, u as S, y as C } from "./Title-
|
|
2
|
+
import { Dt as t, K as n, Ot as r, Ur as i, Z as a, at as o, fi as s } from "./utils-CUKgR7it.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-CfuL-m78.js";
|
|
4
|
+
import { t as _ } from "./isFocusVisible-Czm70MGc.js";
|
|
5
|
+
import { d as v, f as y, h as b, m as x, u as S, y as C } from "./Title-m5damhc0.js";
|
|
6
6
|
import { p as w } from "./responsive.styles-FItb913l.js";
|
|
7
|
-
var T = /* @__PURE__ */ e(
|
|
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 =
|
|
127
|
+
var M = i();
|
|
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 =
|
|
195
|
+
var ne = r`
|
|
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 =
|
|
205
|
+
`, z = r`
|
|
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 =
|
|
213
|
+
`, re = r`
|
|
214
214
|
0% {
|
|
215
215
|
transform: scale(1);
|
|
216
216
|
}
|
|
@@ -225,7 +225,7 @@ var ne = t`
|
|
|
225
225
|
`;
|
|
226
226
|
function ie(e) {
|
|
227
227
|
if (e.motion.reducedMotion === "always") return null;
|
|
228
|
-
let
|
|
228
|
+
let n = t`
|
|
229
229
|
&.${P.rippleVisible} {
|
|
230
230
|
animation-name: ${ne};
|
|
231
231
|
animation-duration: ${F}ms;
|
|
@@ -250,11 +250,11 @@ function ie(e) {
|
|
|
250
250
|
animation-delay: 200ms;
|
|
251
251
|
}
|
|
252
252
|
`;
|
|
253
|
-
return e.motion.reducedMotion === "system" ?
|
|
253
|
+
return e.motion.reducedMotion === "system" ? t`
|
|
254
254
|
@media (prefers-reduced-motion: no-preference) {
|
|
255
|
-
${
|
|
255
|
+
${n}
|
|
256
256
|
}
|
|
257
|
-
` :
|
|
257
|
+
` : n;
|
|
258
258
|
}
|
|
259
259
|
var B = d("span", {
|
|
260
260
|
name: "MuiTouchRipple",
|
|
@@ -311,10 +311,10 @@ var B = d("span", {
|
|
|
311
311
|
|
|
312
312
|
${({ theme: e }) => ie(e)}
|
|
313
313
|
`, ae = /*#__PURE__*/ T.forwardRef(function(e, t) {
|
|
314
|
-
let
|
|
314
|
+
let r = f({
|
|
315
315
|
props: e,
|
|
316
316
|
name: "MuiTouchRipple"
|
|
317
|
-
}), i = y(
|
|
317
|
+
}), i = y(n().motion.reducedMotion, !1), { center: a = !1, classes: s = I, className: c, ...l } = r, [u, d] = T.useState({
|
|
318
318
|
items: L,
|
|
319
319
|
order: L
|
|
320
320
|
}), p = u.items, m = T.useRef(0), h = T.useRef(null), g = T.useRef(!1);
|
|
@@ -477,7 +477,7 @@ var U = c("MuiButtonBase", [
|
|
|
477
477
|
variants: [{
|
|
478
478
|
props: { internalDisabledThemeFocusVisible: !1 },
|
|
479
479
|
style: e.focusVisible && {
|
|
480
|
-
...
|
|
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 =
|
|
593
|
+
var q = 44, J = r`
|
|
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 =
|
|
601
|
+
`, Y = r`
|
|
602
602
|
0% {
|
|
603
603
|
stroke-dasharray: 1px, 200px;
|
|
604
604
|
stroke-dashoffset: 0;
|
|
@@ -613,9 +613,9 @@ var q = 44, J = t`
|
|
|
613
613
|
stroke-dasharray: 1px, 200px;
|
|
614
614
|
stroke-dashoffset: -126px;
|
|
615
615
|
}
|
|
616
|
-
`, X = typeof J == "string" ? null :
|
|
616
|
+
`, X = typeof J == "string" ? null : t`
|
|
617
617
|
animation: ${J} 1.4s linear infinite;
|
|
618
|
-
`, Z = typeof Y == "string" ? null :
|
|
618
|
+
`, Z = typeof Y == "string" ? null : t`
|
|
619
619
|
animation: ${Y} 1.4s ease-in-out infinite;
|
|
620
620
|
`, ce = (e) => {
|
|
621
621
|
let { classes: t, variant: n, color: r, disableShrink: i } = e;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Cr as e, Sr as t, Tr as n, Ur as r, _r as i, br as a, gr as o, hr as s, mr as c, pr as l, vr as u, wr as d, xr as f, yr as p } from "./utils-CUKgR7it.js";
|
|
2
|
+
import { s as m } from "./logger-Cioob-QV.js";
|
|
3
|
+
var h = m(), g = r(), _ = ({ fieldType: r, fill: m, isBucketing: _ }) => {
|
|
4
|
+
if (_) return /* @__PURE__ */ (0, g.jsx)(d, { fill: m });
|
|
5
|
+
switch (r) {
|
|
6
|
+
case h.FieldType.BOOLEAN: return /* @__PURE__ */ (0, g.jsx)(n, { fill: m });
|
|
7
|
+
case h.FieldType.DATE: return /* @__PURE__ */ (0, g.jsx)(e, { fill: m });
|
|
8
|
+
case h.FieldType.DECIMAL: return /* @__PURE__ */ (0, g.jsx)(t, { fill: m });
|
|
9
|
+
case h.FieldType.FLOAT: return /* @__PURE__ */ (0, g.jsx)(f, { fill: m });
|
|
10
|
+
case h.FieldType.GROUPED_DIMENSION: return /* @__PURE__ */ (0, g.jsx)(p, { fill: m });
|
|
11
|
+
case h.FieldType.INT: return /* @__PURE__ */ (0, g.jsx)(u, { fill: m });
|
|
12
|
+
case h.FieldType.JSON: return /* @__PURE__ */ (0, g.jsx)(i, { fill: m });
|
|
13
|
+
case h.FieldType.REAL: return /* @__PURE__ */ (0, g.jsx)(u, { fill: m });
|
|
14
|
+
case h.FieldType.STRING: return /* @__PURE__ */ (0, g.jsx)(o, { fill: m });
|
|
15
|
+
case h.FieldType.TIME: return /* @__PURE__ */ (0, g.jsx)(s, { fill: m });
|
|
16
|
+
case h.FieldType.TIMESTAMP: return /* @__PURE__ */ (0, g.jsx)(c, { fill: m });
|
|
17
|
+
case h.FieldType.TIMESTAMP_TZ: return /* @__PURE__ */ (0, g.jsx)(l, { fill: m });
|
|
18
|
+
case h.FieldType.GEOGRAPHY: return /* @__PURE__ */ (0, g.jsx)(a, { 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 {
|
|
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-
|
|
2
|
+
import { Dt as t, Ot as n, Ur as r, at as i, et as a, fi as o } from "./utils-CUKgR7it.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-CfuL-m78.js";
|
|
4
4
|
import { p as g } from "./responsive.styles-FItb913l.js";
|
|
5
|
-
var _ = /* @__PURE__ */ e(
|
|
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 =
|
|
21
|
+
]), b = r(), x = 4, S = {}, C = n`
|
|
22
22
|
0% {
|
|
23
23
|
left: -35%;
|
|
24
24
|
right: 100%;
|
|
@@ -33,7 +33,7 @@ var y = s("MuiLinearProgress", [
|
|
|
33
33
|
left: 100%;
|
|
34
34
|
right: -90%;
|
|
35
35
|
}
|
|
36
|
-
`, w = typeof C == "string" ? null :
|
|
36
|
+
`, w = typeof C == "string" ? null : t`
|
|
37
37
|
animation: ${C} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
38
38
|
`, T = n`
|
|
39
39
|
0% {
|
|
@@ -50,7 +50,7 @@ var y = s("MuiLinearProgress", [
|
|
|
50
50
|
left: 107%;
|
|
51
51
|
right: -8%;
|
|
52
52
|
}
|
|
53
|
-
`, E = typeof T == "string" ? null :
|
|
53
|
+
`, E = typeof T == "string" ? null : t`
|
|
54
54
|
animation: ${T} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
55
55
|
`, D = n`
|
|
56
56
|
0% {
|
|
@@ -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 :
|
|
70
|
+
`, O = typeof D == "string" ? null : t`
|
|
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,
|
|
283
|
-
let
|
|
282
|
+
})), F = /*#__PURE__*/ _.forwardRef(function(e, t) {
|
|
283
|
+
let n = d({
|
|
284
284
|
props: e,
|
|
285
285
|
name: "MuiLinearProgress"
|
|
286
|
-
}), { className:
|
|
287
|
-
...
|
|
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 =
|
|
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:
|
|
303
|
+
className: i(_.root, r),
|
|
304
304
|
ownerState: m,
|
|
305
305
|
role: "progressbar",
|
|
306
306
|
...y,
|
|
307
|
-
ref:
|
|
307
|
+
ref: t,
|
|
308
308
|
...p,
|
|
309
309
|
children: [
|
|
310
310
|
f === "buffer" ? /*#__PURE__*/ (0, b.jsx)(M, {
|