@astrato-io/visualizations 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +307 -378
- package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
- package/chunks/CircularProgress-DFS-LQb7.js +765 -0
- package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
- package/chunks/LinearProgress-CjIQfkNA.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
- package/chunks/Title-CtFw1bVg.js +1804 -0
- package/chunks/ToggleButton-Br9HCPCv.js +150 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
- package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
- package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
- package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
- package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
- package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
- package/chunks/isFocusVisible-B1_z03UT.js +144 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
- package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
- package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
- package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
- package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
- package/chunks/react-dom-BwZT0N3F.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-CYpVh65U.js} +52 -52
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
- package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
- package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
- package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
- package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
- package/chunks/{standalone-vBnBS2YC.js → standalone-BDrQMxLi.js} +98 -98
- package/chunks/standalone-BMoJXGYe.js +2 -0
- package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
- package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
- package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
- package/chunks/standalone-CMJJIi9v.js +2 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
- package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
- package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
- package/chunks/standalone-C_Jd4gkj.js +6 -0
- package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
- package/chunks/standalone-CoQxJ6ov.js +3638 -0
- package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
- package/chunks/standalone-DBeXQrwH.js +468 -0
- package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
- package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
- package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
- package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
- package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
- package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
- package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
- package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-mWrD_uk_.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
- package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
- package/chunks/with-html-element-B0Clt4jY.js +15901 -0
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +1 -1
- package/docs/operations/combo.md +1 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +1 -1
- package/docs/operations/filter.md +1 -1
- package/docs/operations/gauge.md +1 -1
- package/docs/operations/heatMap.md +1 -1
- package/docs/operations/histogram.md +1 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +2 -2
- package/docs/operations/line.md +1 -1
- package/docs/operations/number.md +1 -1
- package/docs/operations/pie.md +1 -1
- package/docs/operations/radar.md +1 -1
- package/docs/operations/sankey.md +1 -1
- package/docs/operations/scatter.md +1 -1
- package/docs/operations/shape.md +1 -1
- package/docs/operations/simpleTextObject.md +1 -1
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +66 -1
- package/docs/operations/tree.md +1 -1
- package/docs/operations/treemap.md +1 -1
- package/docs/operations/waterfall.md +1 -1
- package/docs/operations/word-cloud.md +1 -1
- package/getters.js +2 -2
- package/index.js +74 -68
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +67 -66
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
- package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
- package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
- package/src/visualization-catalog.d.ts +26 -26
- package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
- package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
- package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
- package/chunks/Title-CO5dP1ma.js +0 -1691
- package/chunks/ToggleButton-KOBAimC1.js +0 -112
- package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-DT0wKji7.js +0 -6
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
- /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
|
@@ -1,240 +1,240 @@
|
|
|
1
|
-
import { Mo as e, Oo as t, Ro as n, Xa as r, Za as i, jo as a, r as o, vc as s, xo as c, zo as l } from "./visualization-filters-
|
|
2
|
-
import {
|
|
3
|
-
import { T as
|
|
4
|
-
import { z as
|
|
5
|
-
var
|
|
6
|
-
orientation:
|
|
7
|
-
selectionMode:
|
|
1
|
+
import { Mo as e, Oo as t, Ro as n, Xa as r, Za as i, jo as a, r as o, vc as s, xo as c, zo as l } from "./visualization-filters-mVnsnvLP.js";
|
|
2
|
+
import { $f as u, Bd as d, Fm as ee, Gd as f, Hp as te, If as p, Jd as ne, Kd as re, Om as m, Qf as ie, Sm as ae, Ud as h, Yd as oe, Zf as se, dp as ce, em as le, im as ue, jm as de, lp as fe, rp as pe, sm as me, uf as g, um as he, up as ge, wf as _e, ym as ve } from "./handlers-CMbyj5y1.js";
|
|
3
|
+
import { T as ye, d as be, t as xe, y as _ } from "./operations-HSqnCRvv.js";
|
|
4
|
+
import { z as v } from "zod";
|
|
5
|
+
var y = s(), Se = v.object({
|
|
6
|
+
orientation: v.enum(["horizontal", "vertical"]).optional(),
|
|
7
|
+
selectionMode: v.enum([
|
|
8
8
|
"inherit",
|
|
9
9
|
"auto",
|
|
10
10
|
"manual"
|
|
11
11
|
]).optional(),
|
|
12
|
-
enableAddingNewFilters:
|
|
13
|
-
enableAssociativeFilter:
|
|
14
|
-
showClearAll:
|
|
15
|
-
showChartBreakdown:
|
|
16
|
-
selectableFieldKeys:
|
|
17
|
-
}).strict(),
|
|
18
|
-
settings:
|
|
19
|
-
type:
|
|
20
|
-
version:
|
|
21
|
-
}).strict(),
|
|
22
|
-
distinct:
|
|
23
|
-
name:
|
|
24
|
-
resultType:
|
|
25
|
-
}).strict(),
|
|
26
|
-
aggregations:
|
|
27
|
-
dataType:
|
|
28
|
-
fieldKey:
|
|
29
|
-
isManualData:
|
|
30
|
-
kind:
|
|
31
|
-
name:
|
|
32
|
-
view:
|
|
33
|
-
}).strict(),
|
|
34
|
-
description:
|
|
35
|
-
id:
|
|
36
|
-
key:
|
|
37
|
-
name:
|
|
38
|
-
views:
|
|
39
|
-
}).passthrough(),
|
|
40
|
-
dimension:
|
|
41
|
-
type:
|
|
42
|
-
}),
|
|
43
|
-
measure:
|
|
44
|
-
type:
|
|
45
|
-
}),
|
|
46
|
-
calculation:
|
|
47
|
-
type:
|
|
48
|
-
}),
|
|
49
|
-
fieldKey:
|
|
50
|
-
item: De,
|
|
51
|
-
kind: y.literal("dimension"),
|
|
52
|
-
name: y.string().min(1)
|
|
53
|
-
}).strict(), je = y.object({
|
|
54
|
-
fieldKey: C,
|
|
12
|
+
enableAddingNewFilters: v.boolean().optional(),
|
|
13
|
+
enableAssociativeFilter: v.boolean().optional(),
|
|
14
|
+
showClearAll: v.boolean().optional(),
|
|
15
|
+
showChartBreakdown: v.boolean().optional(),
|
|
16
|
+
selectableFieldKeys: v.array(v.string()).optional()
|
|
17
|
+
}).strict(), Ce = v.object({
|
|
18
|
+
settings: Se.optional(),
|
|
19
|
+
type: v.literal("astrato-app-filter-bar"),
|
|
20
|
+
version: v.literal(1)
|
|
21
|
+
}).strict(), b = (e) => e, x = v.string().trim().min(1).max(100), S = v.string().min(1).refine((e) => e.trim().length > 0, "Field key cannot be blank."), we = b(ae.shape.dataType), Te = b(ve.shape.formatType), Ee = v.object({
|
|
22
|
+
distinct: v.boolean().optional(),
|
|
23
|
+
name: v.string().trim().min(1),
|
|
24
|
+
resultType: v.string().optional()
|
|
25
|
+
}).strict(), De = v.object({
|
|
26
|
+
aggregations: v.array(Ee).default([]),
|
|
27
|
+
dataType: we,
|
|
28
|
+
fieldKey: S,
|
|
29
|
+
isManualData: v.boolean().optional(),
|
|
30
|
+
kind: v.literal("field").default("field"),
|
|
31
|
+
name: v.string().min(1),
|
|
32
|
+
view: v.string().min(1)
|
|
33
|
+
}).strict(), C = v.object({
|
|
34
|
+
description: v.string().optional(),
|
|
35
|
+
id: v.string().min(1).optional(),
|
|
36
|
+
key: S,
|
|
37
|
+
name: v.string().min(1),
|
|
38
|
+
views: v.array(v.string()).optional()
|
|
39
|
+
}).passthrough(), Oe = C.extend({
|
|
40
|
+
dimension: v.record(v.string(), v.unknown()),
|
|
41
|
+
type: v.literal("dimension")
|
|
42
|
+
}), ke = C.extend({
|
|
43
|
+
measure: v.object({ aggregation: v.string().min(1) }).passthrough(),
|
|
44
|
+
type: v.literal("measure")
|
|
45
|
+
}), Ae = C.extend({
|
|
46
|
+
calculation: v.record(v.string(), v.unknown()),
|
|
47
|
+
type: v.literal("calculation")
|
|
48
|
+
}), je = v.object({
|
|
49
|
+
fieldKey: S,
|
|
55
50
|
item: Oe,
|
|
56
|
-
kind:
|
|
57
|
-
name:
|
|
58
|
-
}).strict(), Me =
|
|
59
|
-
fieldKey:
|
|
51
|
+
kind: v.literal("dimension"),
|
|
52
|
+
name: v.string().min(1)
|
|
53
|
+
}).strict(), Me = v.object({
|
|
54
|
+
fieldKey: S,
|
|
60
55
|
item: ke,
|
|
61
|
-
kind:
|
|
62
|
-
name:
|
|
63
|
-
}).strict(),
|
|
64
|
-
|
|
65
|
-
Ae,
|
|
56
|
+
kind: v.literal("measure"),
|
|
57
|
+
name: v.string().min(1)
|
|
58
|
+
}).strict(), Ne = v.object({
|
|
59
|
+
fieldKey: S,
|
|
60
|
+
item: Ae,
|
|
61
|
+
kind: v.literal("calculation"),
|
|
62
|
+
name: v.string().min(1)
|
|
63
|
+
}).strict(), w = v.union([
|
|
64
|
+
De,
|
|
66
65
|
je,
|
|
67
|
-
Me
|
|
66
|
+
Me,
|
|
67
|
+
Ne
|
|
68
68
|
]).superRefine((e, t) => {
|
|
69
69
|
e.kind !== "field" && e.item.key !== e.fieldKey && t.addIssue({
|
|
70
70
|
code: "custom",
|
|
71
71
|
message: "Semantic item key must match fieldKey.",
|
|
72
72
|
path: ["item", "key"]
|
|
73
73
|
});
|
|
74
|
-
}),
|
|
75
|
-
currency:
|
|
76
|
-
currencyIsPrefix:
|
|
77
|
-
formatString:
|
|
78
|
-
formatType:
|
|
79
|
-
negativeType:
|
|
80
|
-
}).strict(),
|
|
81
|
-
dateLevel:
|
|
82
|
-
mode:
|
|
83
|
-
}).strict(),
|
|
84
|
-
datePart:
|
|
85
|
-
mode:
|
|
86
|
-
}).strict()]),
|
|
87
|
-
fieldKey:
|
|
88
|
-
format:
|
|
74
|
+
}), Pe = v.object({
|
|
75
|
+
currency: v.string().min(1).optional(),
|
|
76
|
+
currencyIsPrefix: v.boolean().optional(),
|
|
77
|
+
formatString: v.string().optional(),
|
|
78
|
+
formatType: Te.optional(),
|
|
79
|
+
negativeType: b(ve.shape.negativeType.unwrap()).optional()
|
|
80
|
+
}).strict(), Fe = v.discriminatedUnion("mode", [v.object({
|
|
81
|
+
dateLevel: b(v.enum(y.DateLevel)).describe("Year-aware bucket, such as month over time."),
|
|
82
|
+
mode: v.literal("level")
|
|
83
|
+
}).strict(), v.object({
|
|
84
|
+
datePart: b(v.enum(y.DatePart)).describe("Date part, such as month of year."),
|
|
85
|
+
mode: v.literal("part")
|
|
86
|
+
}).strict()]), T = v.object({
|
|
87
|
+
fieldKey: S,
|
|
88
|
+
format: Pe.pick({
|
|
89
89
|
formatString: !0,
|
|
90
90
|
formatType: !0
|
|
91
91
|
}).optional(),
|
|
92
|
-
ref:
|
|
93
|
-
showNullValues:
|
|
94
|
-
temporalGrouping:
|
|
95
|
-
}).strict(),
|
|
96
|
-
placements:
|
|
97
|
-
visible:
|
|
98
|
-
}).strict(),
|
|
99
|
-
aggregation:
|
|
100
|
-
dataLabels:
|
|
101
|
-
fieldKey:
|
|
102
|
-
format:
|
|
103
|
-
ref:
|
|
104
|
-
}).strict(),
|
|
105
|
-
fieldKey:
|
|
106
|
-
operator:
|
|
107
|
-
value:
|
|
108
|
-
}).strict(),
|
|
109
|
-
fieldKey:
|
|
110
|
-
operator:
|
|
111
|
-
valueFrom:
|
|
112
|
-
valueTo:
|
|
113
|
-
}).strict(),
|
|
114
|
-
fieldKey:
|
|
115
|
-
operator:
|
|
116
|
-
values:
|
|
117
|
-
}).strict(),
|
|
118
|
-
fieldKey:
|
|
119
|
-
operator:
|
|
120
|
-
}).strict(),
|
|
121
|
-
Ie,
|
|
92
|
+
ref: x,
|
|
93
|
+
showNullValues: v.boolean().optional(),
|
|
94
|
+
temporalGrouping: Fe.describe("Groups a date dimension. Applied before format; format must then suit the grouping.").optional()
|
|
95
|
+
}).strict(), Ie = v.object({
|
|
96
|
+
placements: v.array(b(v.enum(de))).min(1).optional(),
|
|
97
|
+
visible: v.boolean()
|
|
98
|
+
}).strict(), E = v.object({
|
|
99
|
+
aggregation: v.string().trim().min(1).describe("Required for a raw field measure; omit for a predefined measure or calculation.").optional(),
|
|
100
|
+
dataLabels: Ie.optional(),
|
|
101
|
+
fieldKey: S,
|
|
102
|
+
format: Pe.optional(),
|
|
103
|
+
ref: x
|
|
104
|
+
}).strict(), Le = v.object({
|
|
105
|
+
fieldKey: S,
|
|
106
|
+
operator: b(v.enum(pe)),
|
|
107
|
+
value: v.string()
|
|
108
|
+
}).strict(), Re = v.object({
|
|
109
|
+
fieldKey: S,
|
|
110
|
+
operator: b(v.enum(u)),
|
|
111
|
+
valueFrom: v.string(),
|
|
112
|
+
valueTo: v.string()
|
|
113
|
+
}).strict(), ze = v.object({
|
|
114
|
+
fieldKey: S,
|
|
115
|
+
operator: b(v.enum(se)),
|
|
116
|
+
values: v.array(v.string()).min(1)
|
|
117
|
+
}).strict(), Be = v.object({
|
|
118
|
+
fieldKey: S,
|
|
119
|
+
operator: b(v.enum(ie))
|
|
120
|
+
}).strict(), Ve = v.union([
|
|
122
121
|
Le,
|
|
123
122
|
Re,
|
|
124
|
-
ze
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
...
|
|
163
|
-
|
|
123
|
+
ze,
|
|
124
|
+
Be
|
|
125
|
+
]), D = v.lazy(() => v.object({
|
|
126
|
+
filters: v.array(v.union([Ve, D])),
|
|
127
|
+
operator: v.enum(["and", "or"])
|
|
128
|
+
}).strict()), O = v.object({
|
|
129
|
+
by: x,
|
|
130
|
+
direction: b(le.shape.sortDirection),
|
|
131
|
+
enabled: v.boolean().optional()
|
|
132
|
+
}).strict(), He = v.object({
|
|
133
|
+
by: x,
|
|
134
|
+
count: v.number().int().positive(),
|
|
135
|
+
direction: b(le.shape.sortDirection),
|
|
136
|
+
showOthers: v.boolean().optional()
|
|
137
|
+
}).strict(), Ue = v.object({
|
|
138
|
+
queryLimit: v.number().int().positive().optional(),
|
|
139
|
+
topN: He.optional()
|
|
140
|
+
}).strict(), We = v.object({
|
|
141
|
+
position: b(he.shape.position).optional(),
|
|
142
|
+
title: v.string().optional(),
|
|
143
|
+
visible: v.boolean().optional()
|
|
144
|
+
}).strict(), k = v.object({
|
|
145
|
+
labelsVisible: v.boolean().optional(),
|
|
146
|
+
lineVisible: v.boolean().optional(),
|
|
147
|
+
ticksVisible: v.boolean().optional(),
|
|
148
|
+
title: v.string().optional(),
|
|
149
|
+
titleVisible: v.boolean().optional()
|
|
150
|
+
}).strict(), Ge = v.union([v.object({
|
|
151
|
+
max: v.number().optional(),
|
|
152
|
+
min: v.number().optional().describe("Must be less than max when both are set")
|
|
153
|
+
}).strict(), v.object({ startsAtZero: v.boolean() }).strict()]).describe("Fix min, max or both, or set startsAtZero on an axis fitted to the data"), Ke = v.array(te).optional().describe("Shaded ranges drawn across the plot between two primary measure axis values"), qe = fe({}), Je = fe({ dimension: x.describe(`Alias of a dimension in data.dimensions. ${ce}`) }), Ye = ge({ measure: x.describe("Alias of the measure in data.measures whose value is compared") }), Xe = "Colors bound to dimension values, eg. \"Happy\" is dark teal. The first matching entry wins, ahead of rules and the palette. For ordered bands, add one entry per band with colors taken along a ramp.", Ze = v.array(Ye).min(1).describe("Colors bound to measure thresholds, eg. red when sales is below 100. The first matching rule wins."), A = (e) => v.object({
|
|
154
|
+
overwrites: v.array(e.requiresOverwriteDimension ? Je : qe).min(1).describe(Xe).optional(),
|
|
155
|
+
...e.rules ? { rules: Ze.optional() } : {}
|
|
156
|
+
}).strict(), Qe = {
|
|
157
|
+
inverted: v.boolean().optional().describe("Reverse the direction of the axis values, eg. to put rank 1 at the top"),
|
|
158
|
+
range: Ge.optional()
|
|
159
|
+
}, $e = { bands: Ke }, j = { scale: b(v.enum(ee)).optional() };
|
|
160
|
+
k.extend({
|
|
161
|
+
...Qe,
|
|
162
|
+
...$e,
|
|
163
|
+
...j
|
|
164
164
|
}).strict();
|
|
165
|
-
var
|
|
166
|
-
let r = (t, r) =>
|
|
167
|
-
...n.includes(t) ?
|
|
168
|
-
...r ?
|
|
169
|
-
...e ?
|
|
165
|
+
var M = ({ logScale: e = !1, primaryMeasureBands: t = !1, rangedMeasureAxes: n = [] } = {}) => {
|
|
166
|
+
let r = (t, r) => k.extend({
|
|
167
|
+
...n.includes(t) ? Qe : {},
|
|
168
|
+
...r ? $e : {},
|
|
169
|
+
...e ? j : {}
|
|
170
170
|
}).strict();
|
|
171
|
-
return
|
|
172
|
-
dimension:
|
|
171
|
+
return v.object({
|
|
172
|
+
dimension: k.optional(),
|
|
173
173
|
primaryMeasure: r("primaryMeasure", t).optional(),
|
|
174
174
|
secondaryMeasure: r("secondaryMeasure", !1).optional()
|
|
175
175
|
}).strict();
|
|
176
176
|
};
|
|
177
|
-
|
|
178
|
-
var
|
|
179
|
-
axes:
|
|
177
|
+
M();
|
|
178
|
+
var et = v.object({
|
|
179
|
+
axes: M({
|
|
180
180
|
logScale: !0,
|
|
181
181
|
primaryMeasureBands: !0,
|
|
182
182
|
rangedMeasureAxes: ["primaryMeasure", "secondaryMeasure"]
|
|
183
183
|
}).optional(),
|
|
184
|
-
legend:
|
|
185
|
-
orientation:
|
|
186
|
-
}).strict(),
|
|
187
|
-
data:
|
|
188
|
-
dimensions:
|
|
189
|
-
measures:
|
|
184
|
+
legend: We.optional(),
|
|
185
|
+
orientation: b(v.enum(i)).optional()
|
|
186
|
+
}).strict(), tt = E.extend({ axis: v.enum(["primary", "secondary"]).optional() }), nt = v.object({
|
|
187
|
+
data: v.object({
|
|
188
|
+
dimensions: v.array(T).min(1),
|
|
189
|
+
measures: v.array(tt).min(1)
|
|
190
190
|
}).strict(),
|
|
191
|
-
filterGroup:
|
|
192
|
-
limiting:
|
|
193
|
-
presentation:
|
|
194
|
-
sorting:
|
|
195
|
-
type:
|
|
196
|
-
version:
|
|
197
|
-
}).strict(),
|
|
191
|
+
filterGroup: D.optional(),
|
|
192
|
+
limiting: Ue.optional(),
|
|
193
|
+
presentation: et.extend({ coloring: A({ rules: !0 }).optional() }).optional(),
|
|
194
|
+
sorting: v.array(O).optional(),
|
|
195
|
+
type: v.literal("bar"),
|
|
196
|
+
version: v.literal(1)
|
|
197
|
+
}).strict(), N = v.object({ visible: v.boolean() }).strict(), rt = (e, t) => v.array(e).min(t.min).max(t.max), P = (e, t) => {
|
|
198
198
|
let n = {};
|
|
199
199
|
if (t.dimensions.max > 0) {
|
|
200
|
-
let e =
|
|
200
|
+
let e = rt(T, t.dimensions);
|
|
201
201
|
n.dimensions = t.dimensions.min === 0 ? e.optional() : e;
|
|
202
202
|
}
|
|
203
203
|
if (t.measures.max > 0) {
|
|
204
|
-
let e = t.dataLabels ?
|
|
204
|
+
let e = t.dataLabels ? E.omit({ dataLabels: !0 }).extend({ dataLabels: N.optional() }) : E.omit({ dataLabels: !0 }), r = t.comboSeriesTypes ? e.extend({ seriesType: v.enum([
|
|
205
205
|
"bar",
|
|
206
206
|
"line",
|
|
207
207
|
"point"
|
|
208
|
-
]).optional() }) : e, i =
|
|
208
|
+
]).optional() }) : e, i = rt(t.measureAxis ? r.extend({ axis: v.enum(["primary", "secondary"]).optional() }) : r, t.measures);
|
|
209
209
|
n.measures = t.measures.min === 0 ? i.optional() : i;
|
|
210
210
|
}
|
|
211
211
|
let r = {};
|
|
212
212
|
if (t.axes) {
|
|
213
|
-
let e =
|
|
213
|
+
let e = M({
|
|
214
214
|
logScale: t.measureAxisScale,
|
|
215
215
|
primaryMeasureBands: t.measureAxisBands,
|
|
216
216
|
rangedMeasureAxes: t.rangedMeasureAxes
|
|
217
217
|
});
|
|
218
|
-
r.axes = (t.secondaryDimensionAxis ? e.extend({ secondaryDimension:
|
|
218
|
+
r.axes = (t.secondaryDimensionAxis ? e.extend({ secondaryDimension: k.optional() }) : e).optional();
|
|
219
219
|
}
|
|
220
|
-
t.conditionalColoring && (r.coloring =
|
|
221
|
-
compact:
|
|
222
|
-
direction:
|
|
220
|
+
t.conditionalColoring && (r.coloring = A(t.conditionalColoring).optional()), t.dataLabels && (r.dataLabels = N.optional()), t.gaugeDisplayMode && (r.displayMode = v.enum(["bar", "radial"]).optional()), t.legend && (r.legend = We.optional()), t.orientation && (r.orientation = b(v.enum(i)).optional()), t.treeLayout && (r.layout = v.object({
|
|
221
|
+
compact: v.boolean().optional(),
|
|
222
|
+
direction: v.enum([
|
|
223
223
|
"bottom",
|
|
224
224
|
"left",
|
|
225
225
|
"right",
|
|
226
226
|
"top"
|
|
227
227
|
]).optional(),
|
|
228
|
-
forceAutoFit:
|
|
229
|
-
initialExpandedLevels:
|
|
228
|
+
forceAutoFit: v.boolean().optional(),
|
|
229
|
+
initialExpandedLevels: v.number().int().min(0).optional()
|
|
230
230
|
}).strict().optional());
|
|
231
231
|
let a = {
|
|
232
|
-
data:
|
|
233
|
-
filterGroup:
|
|
234
|
-
type:
|
|
235
|
-
version:
|
|
232
|
+
data: v.object(n).strict(),
|
|
233
|
+
filterGroup: D.optional(),
|
|
234
|
+
type: v.literal(e),
|
|
235
|
+
version: v.literal(1)
|
|
236
236
|
};
|
|
237
|
-
return t.queryLimit && (a.limiting =
|
|
237
|
+
return t.queryLimit && (a.limiting = v.object({ queryLimit: v.number().int().positive().optional() }).strict().optional()), Object.keys(r).length > 0 && (a.presentation = v.object(r).strict().optional()), t.sorting && (a.sorting = v.array(O).optional()), v.object(a).strict().superRefine((n, r) => {
|
|
238
238
|
let i = n.data, a = t.validateCounts?.(i.dimensions?.length ?? 0, i.measures?.length ?? 0);
|
|
239
239
|
a && r.addIssue({
|
|
240
240
|
code: "custom",
|
|
@@ -248,7 +248,7 @@ var Qe = y.object({
|
|
|
248
248
|
path: ["presentation", "coloring"]
|
|
249
249
|
}), t.validateDefinition?.(n, r);
|
|
250
250
|
});
|
|
251
|
-
},
|
|
251
|
+
}, it = P("combo", {
|
|
252
252
|
axes: !0,
|
|
253
253
|
comboSeriesTypes: !0,
|
|
254
254
|
dataLabels: !0,
|
|
@@ -298,7 +298,7 @@ var Qe = y.object({
|
|
|
298
298
|
});
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
-
}),
|
|
301
|
+
}), at = P("dot", {
|
|
302
302
|
conditionalColoring: { rules: !0 },
|
|
303
303
|
axes: !0,
|
|
304
304
|
dimensions: {
|
|
@@ -312,7 +312,7 @@ var Qe = y.object({
|
|
|
312
312
|
},
|
|
313
313
|
orientation: !0,
|
|
314
314
|
rangedMeasureAxes: ["primaryMeasure"]
|
|
315
|
-
}),
|
|
315
|
+
}), ot = P("scatter", {
|
|
316
316
|
conditionalColoring: { rules: !0 },
|
|
317
317
|
axes: !0,
|
|
318
318
|
dimensions: {
|
|
@@ -327,7 +327,7 @@ var Qe = y.object({
|
|
|
327
327
|
queryLimit: !0,
|
|
328
328
|
rangedMeasureAxes: ["primaryMeasure", "secondaryMeasure"],
|
|
329
329
|
sorting: !0
|
|
330
|
-
}),
|
|
330
|
+
}), st = P("histogram", {
|
|
331
331
|
axes: !0,
|
|
332
332
|
dimensions: {
|
|
333
333
|
min: 1,
|
|
@@ -341,7 +341,7 @@ var Qe = y.object({
|
|
|
341
341
|
},
|
|
342
342
|
orientation: !0,
|
|
343
343
|
rangedMeasureAxes: ["primaryMeasure"]
|
|
344
|
-
}),
|
|
344
|
+
}), ct = P("heatMap", {
|
|
345
345
|
conditionalColoring: { rules: !0 },
|
|
346
346
|
axes: !0,
|
|
347
347
|
dimensions: {
|
|
@@ -356,7 +356,7 @@ var Qe = y.object({
|
|
|
356
356
|
queryLimit: !0,
|
|
357
357
|
secondaryDimensionAxis: !0,
|
|
358
358
|
sorting: !0
|
|
359
|
-
}),
|
|
359
|
+
}), lt = P("radar", {
|
|
360
360
|
conditionalColoring: {
|
|
361
361
|
minDimensions: 2,
|
|
362
362
|
rules: !1
|
|
@@ -374,7 +374,7 @@ var Qe = y.object({
|
|
|
374
374
|
if (e === 0 && t < 2) return "Radar charts without dimensions require at least two measures.";
|
|
375
375
|
if (e > 0 && t > 1) return "Radar charts with dimensions support exactly one measure.";
|
|
376
376
|
}
|
|
377
|
-
}),
|
|
377
|
+
}), ut = P("gauge", {
|
|
378
378
|
conditionalColoring: { rules: !0 },
|
|
379
379
|
dimensions: {
|
|
380
380
|
min: 0,
|
|
@@ -387,7 +387,7 @@ var Qe = y.object({
|
|
|
387
387
|
max: 20
|
|
388
388
|
},
|
|
389
389
|
validateCounts: (e, t) => e === 1 && t > 2 ? "Gauge charts with a dimension support at most two measures." : void 0
|
|
390
|
-
}),
|
|
390
|
+
}), dt = P("distribution-gauge", {
|
|
391
391
|
conditionalColoring: { rules: !0 },
|
|
392
392
|
dimensions: {
|
|
393
393
|
min: 0,
|
|
@@ -399,7 +399,7 @@ var Qe = y.object({
|
|
|
399
399
|
min: 1,
|
|
400
400
|
max: 20
|
|
401
401
|
}
|
|
402
|
-
}),
|
|
402
|
+
}), ft = P("pie", {
|
|
403
403
|
conditionalColoring: { rules: !0 },
|
|
404
404
|
dimensions: {
|
|
405
405
|
min: 1,
|
|
@@ -412,7 +412,7 @@ var Qe = y.object({
|
|
|
412
412
|
},
|
|
413
413
|
queryLimit: !0,
|
|
414
414
|
sorting: !0
|
|
415
|
-
}),
|
|
415
|
+
}), pt = P("tree", {
|
|
416
416
|
dimensions: {
|
|
417
417
|
min: 0,
|
|
418
418
|
max: 10
|
|
@@ -425,7 +425,7 @@ var Qe = y.object({
|
|
|
425
425
|
sorting: !0,
|
|
426
426
|
treeLayout: !0,
|
|
427
427
|
validateCounts: (e, t) => e + t === 0 ? "Tree charts require at least one dimension or measure." : e > 0 && t > 1 ? "Tree charts with dimensions support at most one measure." : void 0
|
|
428
|
-
}),
|
|
428
|
+
}), mt = P("treemap", {
|
|
429
429
|
conditionalColoring: { rules: !0 },
|
|
430
430
|
dimensions: {
|
|
431
431
|
min: 1,
|
|
@@ -436,7 +436,7 @@ var Qe = y.object({
|
|
|
436
436
|
min: 1,
|
|
437
437
|
max: 1
|
|
438
438
|
}
|
|
439
|
-
}),
|
|
439
|
+
}), ht = P("sankey", {
|
|
440
440
|
conditionalColoring: {
|
|
441
441
|
requiresOverwriteDimension: !0,
|
|
442
442
|
rules: !0
|
|
@@ -449,7 +449,7 @@ var Qe = y.object({
|
|
|
449
449
|
min: 1,
|
|
450
450
|
max: 1
|
|
451
451
|
}
|
|
452
|
-
}),
|
|
452
|
+
}), gt = P("waterfall", {
|
|
453
453
|
axes: !0,
|
|
454
454
|
dataLabels: !0,
|
|
455
455
|
dimensions: {
|
|
@@ -463,7 +463,7 @@ var Qe = y.object({
|
|
|
463
463
|
},
|
|
464
464
|
orientation: !0,
|
|
465
465
|
rangedMeasureAxes: ["primaryMeasure"]
|
|
466
|
-
}),
|
|
466
|
+
}), _t = P("word-cloud", {
|
|
467
467
|
conditionalColoring: { rules: !0 },
|
|
468
468
|
dimensions: {
|
|
469
469
|
min: 1,
|
|
@@ -473,41 +473,41 @@ var Qe = y.object({
|
|
|
473
473
|
min: 1,
|
|
474
474
|
max: 1
|
|
475
475
|
}
|
|
476
|
-
}),
|
|
477
|
-
mode:
|
|
478
|
-
quickSelect:
|
|
479
|
-
responsive:
|
|
480
|
-
searchable:
|
|
481
|
-
showProgressBar:
|
|
482
|
-
}).strict(),
|
|
483
|
-
data:
|
|
476
|
+
}), vt = v.enum(["dropdown", "listbox"]), yt = v.object({
|
|
477
|
+
mode: vt.optional(),
|
|
478
|
+
quickSelect: v.boolean().optional(),
|
|
479
|
+
responsive: v.boolean().optional(),
|
|
480
|
+
searchable: v.boolean().optional(),
|
|
481
|
+
showProgressBar: v.boolean().optional()
|
|
482
|
+
}).strict(), bt = v.object({
|
|
483
|
+
data: v.object({ field: T.omit({
|
|
484
484
|
format: !0,
|
|
485
485
|
showNullValues: !0,
|
|
486
486
|
temporalGrouping: !0
|
|
487
487
|
}) }).strict(),
|
|
488
|
-
presentation:
|
|
489
|
-
type:
|
|
490
|
-
version:
|
|
491
|
-
}).strict(),
|
|
492
|
-
axis:
|
|
493
|
-
dataPointShape:
|
|
494
|
-
}),
|
|
495
|
-
density:
|
|
496
|
-
visible:
|
|
497
|
-
}).strict(),
|
|
498
|
-
coloring:
|
|
499
|
-
dataLabels:
|
|
500
|
-
}),
|
|
501
|
-
data:
|
|
502
|
-
dimensions:
|
|
503
|
-
measures:
|
|
488
|
+
presentation: yt.optional(),
|
|
489
|
+
type: v.literal("filter"),
|
|
490
|
+
version: v.literal(1)
|
|
491
|
+
}).strict(), xt = E.omit({ dataLabels: !0 }).extend({
|
|
492
|
+
axis: v.enum(["primary", "secondary"]).optional(),
|
|
493
|
+
dataPointShape: b(me.shape.dataPointShape)
|
|
494
|
+
}), St = v.object({
|
|
495
|
+
density: ue.optional(),
|
|
496
|
+
visible: v.boolean()
|
|
497
|
+
}).strict(), Ct = et.extend({
|
|
498
|
+
coloring: A({ rules: !1 }).optional(),
|
|
499
|
+
dataLabels: St.optional()
|
|
500
|
+
}), wt = v.object({
|
|
501
|
+
data: v.object({
|
|
502
|
+
dimensions: v.array(T).min(1),
|
|
503
|
+
measures: v.array(xt).min(1)
|
|
504
504
|
}).strict(),
|
|
505
|
-
filterGroup:
|
|
506
|
-
limiting:
|
|
507
|
-
presentation:
|
|
508
|
-
sorting:
|
|
509
|
-
type:
|
|
510
|
-
version:
|
|
505
|
+
filterGroup: D.optional(),
|
|
506
|
+
limiting: v.object({ queryLimit: v.number().int().positive().optional() }).strict().optional(),
|
|
507
|
+
presentation: Ct.optional(),
|
|
508
|
+
sorting: v.array(O).optional(),
|
|
509
|
+
type: v.literal("line"),
|
|
510
|
+
version: v.literal(1)
|
|
511
511
|
}).strict().superRefine((e, t) => {
|
|
512
512
|
e.presentation?.coloring && e.data.dimensions.length < 2 && t.addIssue({
|
|
513
513
|
code: "custom",
|
|
@@ -525,12 +525,12 @@ var Qe = y.object({
|
|
|
525
525
|
]
|
|
526
526
|
});
|
|
527
527
|
});
|
|
528
|
-
}),
|
|
529
|
-
data:
|
|
530
|
-
filterGroup:
|
|
531
|
-
type:
|
|
532
|
-
version:
|
|
533
|
-
}).strict(),
|
|
528
|
+
}), Tt = v.object({
|
|
529
|
+
data: v.object({ measure: E.omit({ dataLabels: !0 }) }).strict(),
|
|
530
|
+
filterGroup: D.optional(),
|
|
531
|
+
type: v.literal("number"),
|
|
532
|
+
version: v.literal(1)
|
|
533
|
+
}).strict(), Et = b(_e.pick({
|
|
534
534
|
endDateLabel: !0,
|
|
535
535
|
pickerState: !0,
|
|
536
536
|
pickerType: !0,
|
|
@@ -539,32 +539,32 @@ var Qe = y.object({
|
|
|
539
539
|
startDateLabel: !0,
|
|
540
540
|
timePickerVisibility: !0,
|
|
541
541
|
weekStart: !0
|
|
542
|
-
}).partial()),
|
|
543
|
-
data:
|
|
542
|
+
}).partial()), Dt = v.object({
|
|
543
|
+
data: v.object({ field: T.omit({
|
|
544
544
|
format: !0,
|
|
545
545
|
showNullValues: !0,
|
|
546
546
|
temporalGrouping: !0
|
|
547
547
|
}) }).strict(),
|
|
548
|
-
settings:
|
|
549
|
-
type:
|
|
550
|
-
version:
|
|
551
|
-
}).strict(),
|
|
552
|
-
settings:
|
|
553
|
-
type:
|
|
554
|
-
version:
|
|
555
|
-
}).strict(),
|
|
556
|
-
settings:
|
|
557
|
-
blur:
|
|
558
|
-
fit:
|
|
559
|
-
opacity:
|
|
560
|
-
saturation:
|
|
561
|
-
shadow:
|
|
562
|
-
source:
|
|
548
|
+
settings: Et.optional(),
|
|
549
|
+
type: v.literal("date-picker"),
|
|
550
|
+
version: v.literal(1)
|
|
551
|
+
}).strict(), Ot = v.object({
|
|
552
|
+
settings: v.object({ url: v.string().url().nullable() }).strict(),
|
|
553
|
+
type: v.literal("iframe"),
|
|
554
|
+
version: v.literal(1)
|
|
555
|
+
}).strict(), kt = v.object({
|
|
556
|
+
settings: b(v.object({
|
|
557
|
+
blur: g.shape.blur.optional(),
|
|
558
|
+
fit: g.shape.image.unwrap().shape.imageFit.optional(),
|
|
559
|
+
opacity: g.shape.opacity.optional(),
|
|
560
|
+
saturation: g.shape.saturation.optional(),
|
|
561
|
+
shadow: g.shape.shadow.optional(),
|
|
562
|
+
source: be.optional()
|
|
563
563
|
}).strict()),
|
|
564
|
-
type:
|
|
565
|
-
version:
|
|
566
|
-
}).strict(),
|
|
567
|
-
settings:
|
|
564
|
+
type: v.literal("image"),
|
|
565
|
+
version: v.literal(1)
|
|
566
|
+
}).strict(), At = v.object({
|
|
567
|
+
settings: b(oe.pick({
|
|
568
568
|
backgroundColor: !0,
|
|
569
569
|
backgroundType: !0,
|
|
570
570
|
borderEnabled: !0,
|
|
@@ -579,160 +579,160 @@ var Qe = y.object({
|
|
|
579
579
|
shape: !0,
|
|
580
580
|
strokeColor: !0
|
|
581
581
|
}).partial().strict()),
|
|
582
|
-
type:
|
|
583
|
-
version:
|
|
584
|
-
}).strict(),
|
|
585
|
-
settings:
|
|
586
|
-
align:
|
|
587
|
-
content:
|
|
588
|
-
fontFamily:
|
|
589
|
-
fontSize:
|
|
590
|
-
position:
|
|
591
|
-
representation:
|
|
592
|
-
responsive:
|
|
593
|
-
textColor:
|
|
594
|
-
wordWrap:
|
|
582
|
+
type: v.literal("shape"),
|
|
583
|
+
version: v.literal(1)
|
|
584
|
+
}).strict(), F = ne.shape.simpleTextObjectSettings, jt = v.object({
|
|
585
|
+
settings: b(v.object({
|
|
586
|
+
align: F.shape.align.optional(),
|
|
587
|
+
content: v.string().optional(),
|
|
588
|
+
fontFamily: F.shape.fontFamily.optional(),
|
|
589
|
+
fontSize: F.shape.fontSize.optional(),
|
|
590
|
+
position: F.shape.position.optional(),
|
|
591
|
+
representation: F.shape.representation.optional(),
|
|
592
|
+
responsive: F.shape.responsive.optional(),
|
|
593
|
+
textColor: F.shape.textColor.optional(),
|
|
594
|
+
wordWrap: F.shape.wordWrap.optional()
|
|
595
595
|
}).strict()),
|
|
596
|
-
type:
|
|
597
|
-
version:
|
|
598
|
-
}).strict(),
|
|
599
|
-
settings:
|
|
600
|
-
customLabel:
|
|
601
|
-
hideLabel:
|
|
602
|
-
inputType:
|
|
603
|
-
placeholder:
|
|
604
|
-
responsive:
|
|
605
|
-
variableId:
|
|
596
|
+
type: v.literal("simpleTextObject"),
|
|
597
|
+
version: v.literal(1)
|
|
598
|
+
}).strict(), Mt = v.object({
|
|
599
|
+
settings: b(v.object({
|
|
600
|
+
customLabel: p.shape.commonSettings.shape.customLabel.optional(),
|
|
601
|
+
hideLabel: p.shape.commonSettings.shape.hideLabel.optional(),
|
|
602
|
+
inputType: p.shape.type.optional(),
|
|
603
|
+
placeholder: p.shape.commonSettings.shape.placeholder.optional(),
|
|
604
|
+
responsive: p.shape.commonSettings.shape.responsive.optional(),
|
|
605
|
+
variableId: p.shape.commonSettings.shape.variableId.optional()
|
|
606
606
|
}).strict()),
|
|
607
|
-
type:
|
|
608
|
-
version:
|
|
609
|
-
}).strict(),
|
|
610
|
-
data:
|
|
607
|
+
type: v.literal("atomic-input"),
|
|
608
|
+
version: v.literal(1)
|
|
609
|
+
}).strict(), Nt = v.object({
|
|
610
|
+
data: v.object({ field: T.omit({
|
|
611
611
|
format: !0,
|
|
612
612
|
showNullValues: !0,
|
|
613
613
|
temporalGrouping: !0
|
|
614
614
|
}) }).strict(),
|
|
615
|
-
settings:
|
|
615
|
+
settings: b(re.pick({
|
|
616
616
|
layout: !0,
|
|
617
617
|
quickSelect: !0,
|
|
618
618
|
range: !0,
|
|
619
619
|
step: !0
|
|
620
620
|
}).partial()).optional(),
|
|
621
|
-
type:
|
|
622
|
-
version:
|
|
623
|
-
}).strict(),
|
|
624
|
-
columns:
|
|
625
|
-
structure:
|
|
626
|
-
}).strict(),
|
|
627
|
-
dimensions:
|
|
628
|
-
measures:
|
|
629
|
-
structure:
|
|
630
|
-
}).strict(),
|
|
631
|
-
columnDimensions:
|
|
632
|
-
measures:
|
|
633
|
-
rowDimensions:
|
|
634
|
-
structure:
|
|
635
|
-
}).strict(),
|
|
636
|
-
Ft,
|
|
621
|
+
type: v.literal("slider"),
|
|
622
|
+
version: v.literal(1)
|
|
623
|
+
}).strict(), Pt = T.extend({ role: v.literal("dimension") }), I = E.omit({ dataLabels: !0 }), Ft = I.extend({ role: v.literal("measure") }), It = v.object({
|
|
624
|
+
columns: v.array(v.discriminatedUnion("role", [Pt, Ft])).min(1),
|
|
625
|
+
structure: v.literal("normal").optional()
|
|
626
|
+
}).strict(), Lt = v.object({
|
|
627
|
+
dimensions: v.array(T).min(1),
|
|
628
|
+
measures: v.array(I).min(1),
|
|
629
|
+
structure: v.literal("expandable")
|
|
630
|
+
}).strict(), Rt = v.object({
|
|
631
|
+
columnDimensions: v.array(T).min(1),
|
|
632
|
+
measures: v.array(I).min(1),
|
|
633
|
+
rowDimensions: v.array(T).min(1),
|
|
634
|
+
structure: v.literal("pivot")
|
|
635
|
+
}).strict(), zt = v.union([
|
|
637
636
|
It,
|
|
638
|
-
Lt
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
637
|
+
Lt,
|
|
638
|
+
Rt
|
|
639
|
+
]), Bt = v.object({
|
|
640
|
+
applyTo: d.shape.applyTo,
|
|
641
|
+
enabled: d.shape.enabled,
|
|
642
|
+
showRecordsCount: d.shape.showRecordsCount,
|
|
643
|
+
style: v.object({
|
|
644
|
+
backgroundColor: f.shape.backgroundColor.optional(),
|
|
645
|
+
fontColor: f.shape.fontColor.optional(),
|
|
646
|
+
fontStyle: h.optional(),
|
|
647
|
+
position: f.shape.position.optional(),
|
|
648
|
+
responsiveHeight: f.shape.responsive
|
|
649
649
|
}).strict().optional()
|
|
650
|
-
}).strict(),
|
|
651
|
-
background:
|
|
652
|
-
color:
|
|
653
|
-
evenColor:
|
|
654
|
-
oddColor:
|
|
655
|
-
type:
|
|
650
|
+
}).strict(), Vt = v.object({
|
|
651
|
+
background: v.object({
|
|
652
|
+
color: m.optional(),
|
|
653
|
+
evenColor: m.optional(),
|
|
654
|
+
oddColor: m.optional(),
|
|
655
|
+
type: v.enum([
|
|
656
656
|
"none",
|
|
657
657
|
"single",
|
|
658
658
|
"zebra"
|
|
659
659
|
])
|
|
660
660
|
}).strict().optional(),
|
|
661
|
-
body:
|
|
662
|
-
fontColor:
|
|
663
|
-
fontFamily:
|
|
664
|
-
fontSize:
|
|
665
|
-
fontStyle:
|
|
666
|
-
horizontalAlign:
|
|
661
|
+
body: v.object({
|
|
662
|
+
fontColor: m.optional(),
|
|
663
|
+
fontFamily: v.string().trim().min(1).optional(),
|
|
664
|
+
fontSize: v.number().positive().optional(),
|
|
665
|
+
fontStyle: h.optional(),
|
|
666
|
+
horizontalAlign: v.enum([
|
|
667
667
|
"auto",
|
|
668
668
|
"center",
|
|
669
669
|
"left",
|
|
670
670
|
"right"
|
|
671
671
|
]).optional(),
|
|
672
|
-
verticalAlign:
|
|
672
|
+
verticalAlign: v.enum([
|
|
673
673
|
"auto",
|
|
674
674
|
"bottom",
|
|
675
675
|
"middle",
|
|
676
676
|
"top"
|
|
677
677
|
]).optional()
|
|
678
678
|
}).strict().optional(),
|
|
679
|
-
borders:
|
|
680
|
-
color:
|
|
681
|
-
dividerColor:
|
|
682
|
-
dividers:
|
|
679
|
+
borders: v.object({
|
|
680
|
+
color: m.optional(),
|
|
681
|
+
dividerColor: m.optional(),
|
|
682
|
+
dividers: v.enum([
|
|
683
683
|
"all",
|
|
684
684
|
"auto",
|
|
685
685
|
"horizontal",
|
|
686
686
|
"none",
|
|
687
687
|
"vertical"
|
|
688
688
|
]).optional(),
|
|
689
|
-
enabled:
|
|
690
|
-
lineStyle:
|
|
689
|
+
enabled: v.boolean(),
|
|
690
|
+
lineStyle: v.enum([
|
|
691
691
|
"dashed",
|
|
692
692
|
"dotted",
|
|
693
693
|
"line"
|
|
694
694
|
]).optional(),
|
|
695
|
-
radius:
|
|
696
|
-
strokeWidth:
|
|
695
|
+
radius: v.number().nonnegative().optional(),
|
|
696
|
+
strokeWidth: v.number().nonnegative().optional()
|
|
697
697
|
}).strict().optional(),
|
|
698
|
-
header:
|
|
699
|
-
backgroundColor:
|
|
700
|
-
borderColor:
|
|
701
|
-
fontColor:
|
|
702
|
-
fontFamily:
|
|
703
|
-
fontSize:
|
|
704
|
-
fontStyle:
|
|
705
|
-
responsiveHeight:
|
|
698
|
+
header: v.object({
|
|
699
|
+
backgroundColor: m.optional(),
|
|
700
|
+
borderColor: m.optional(),
|
|
701
|
+
fontColor: m.optional(),
|
|
702
|
+
fontFamily: v.string().trim().min(1).optional(),
|
|
703
|
+
fontSize: v.number().positive().optional(),
|
|
704
|
+
fontStyle: h.optional(),
|
|
705
|
+
responsiveHeight: v.boolean().optional()
|
|
706
706
|
}).strict().optional(),
|
|
707
|
-
highlight:
|
|
708
|
-
backgroundColor:
|
|
709
|
-
mode:
|
|
707
|
+
highlight: v.object({
|
|
708
|
+
backgroundColor: m.optional(),
|
|
709
|
+
mode: v.enum([
|
|
710
710
|
"column",
|
|
711
711
|
"none",
|
|
712
712
|
"row",
|
|
713
713
|
"row-and-column"
|
|
714
714
|
]),
|
|
715
|
-
textColor:
|
|
715
|
+
textColor: m.optional()
|
|
716
716
|
}).strict().optional(),
|
|
717
|
-
layout:
|
|
718
|
-
columnWidthBehavior:
|
|
719
|
-
rowHeight:
|
|
717
|
+
layout: v.object({
|
|
718
|
+
columnWidthBehavior: v.enum(["responsive", "static"]).optional(),
|
|
719
|
+
rowHeight: v.number().positive().optional()
|
|
720
720
|
}).strict().optional()
|
|
721
|
-
}).strict(),
|
|
722
|
-
data:
|
|
723
|
-
filterGroup:
|
|
724
|
-
limiting:
|
|
725
|
-
presentation:
|
|
726
|
-
sorting:
|
|
727
|
-
totals:
|
|
728
|
-
type:
|
|
729
|
-
version:
|
|
730
|
-
}).strict(),
|
|
721
|
+
}).strict(), Ht = v.object({
|
|
722
|
+
data: zt,
|
|
723
|
+
filterGroup: D.optional(),
|
|
724
|
+
limiting: v.object({ queryLimit: v.number().int().positive().optional() }).strict().optional(),
|
|
725
|
+
presentation: Vt.optional(),
|
|
726
|
+
sorting: v.array(O).optional(),
|
|
727
|
+
totals: Bt.optional(),
|
|
728
|
+
type: v.literal("table"),
|
|
729
|
+
version: v.literal(1)
|
|
730
|
+
}).strict(), L = (e) => typeof e == "object" && !!e && !Array.isArray(e), Ut = (e) => {
|
|
731
731
|
let t = e.fieldKey ?? e.key;
|
|
732
732
|
return typeof t == "string" ? t : void 0;
|
|
733
|
-
},
|
|
733
|
+
}, Wt = (e) => {
|
|
734
734
|
if (Array.isArray(e)) return e;
|
|
735
|
-
if (!
|
|
735
|
+
if (!L(e)) throw Error("Available field metadata must be an array or an object.");
|
|
736
736
|
return [
|
|
737
737
|
"fields",
|
|
738
738
|
"dimensions",
|
|
@@ -743,10 +743,10 @@ var Qe = y.object({
|
|
|
743
743
|
if (!Array.isArray(n)) throw Error(`Available field metadata "${t}" must be an array.`);
|
|
744
744
|
return n;
|
|
745
745
|
});
|
|
746
|
-
},
|
|
746
|
+
}, Gt = (e, t) => {
|
|
747
747
|
let n = e.type;
|
|
748
|
-
if (!(n === "dimension" &&
|
|
749
|
-
let r =
|
|
748
|
+
if (!(n === "dimension" && L(e.dimension) || n === "measure" && L(e.measure) || n === "calculation" && L(e.calculation))) return;
|
|
749
|
+
let r = w.safeParse({
|
|
750
750
|
fieldKey: e.key,
|
|
751
751
|
item: e,
|
|
752
752
|
kind: n,
|
|
@@ -754,20 +754,20 @@ var Qe = y.object({
|
|
|
754
754
|
});
|
|
755
755
|
if (!r.success) throw Error(`Invalid available semantic item at index ${t}: ${r.error.message}`);
|
|
756
756
|
return r.data;
|
|
757
|
-
},
|
|
758
|
-
if (!
|
|
759
|
-
let n =
|
|
757
|
+
}, Kt = (e, t) => {
|
|
758
|
+
if (!L(e)) throw Error(`Available field at index ${t} must be an object.`);
|
|
759
|
+
let n = w.safeParse(e);
|
|
760
760
|
if (n.success) return n.data;
|
|
761
|
-
let r =
|
|
761
|
+
let r = Gt(e, t);
|
|
762
762
|
if (r) return r;
|
|
763
|
-
let i = Array.isArray(e.aggregations) ? e.aggregations : Array.isArray(e.aggregators) ? e.aggregators : [], a =
|
|
764
|
-
aggregations: i.map((e) =>
|
|
763
|
+
let i = Array.isArray(e.aggregations) ? e.aggregations : Array.isArray(e.aggregators) ? e.aggregators : [], a = w.safeParse({
|
|
764
|
+
aggregations: i.map((e) => L(e) ? {
|
|
765
765
|
distinct: e.distinct,
|
|
766
766
|
name: e.name ?? e.funcName,
|
|
767
767
|
resultType: e.resultType
|
|
768
768
|
} : e),
|
|
769
769
|
dataType: e.dataType,
|
|
770
|
-
fieldKey:
|
|
770
|
+
fieldKey: Ut(e),
|
|
771
771
|
isManualData: e.isManualData,
|
|
772
772
|
kind: "field",
|
|
773
773
|
name: e.name,
|
|
@@ -775,19 +775,19 @@ var Qe = y.object({
|
|
|
775
775
|
});
|
|
776
776
|
if (!a.success) throw Error(`Invalid available field at index ${t}: ${a.error.message}`);
|
|
777
777
|
return a.data;
|
|
778
|
-
},
|
|
779
|
-
let t =
|
|
778
|
+
}, qt = (e) => {
|
|
779
|
+
let t = Wt(e).map(Kt), n = /* @__PURE__ */ new Map();
|
|
780
780
|
return t.forEach((e, t) => {
|
|
781
781
|
let r = n.get(e.fieldKey);
|
|
782
782
|
if (r !== void 0) throw Error(`Duplicate available field key "${e.fieldKey}" at indexes ${r} and ${t}.`);
|
|
783
783
|
n.set(e.fieldKey, t);
|
|
784
784
|
}), t;
|
|
785
|
-
},
|
|
785
|
+
}, Jt = (e) => e.kind === "field" ? [...new Set(e.aggregations.flatMap((e) => [e.name, ...e.distinct ? [`${e.name}_DISTINCT`] : []]))] : [], Yt = (e, t) => e.kind === "field" || t === "dimension" && e.kind === "dimension" || t === "measure" && (e.kind === "measure" || e.kind === "calculation"), Xt = (e) => {
|
|
786
786
|
if (e.kind !== "dimension") return e.kind;
|
|
787
|
-
},
|
|
787
|
+
}, R = (e) => ({
|
|
788
788
|
...t(e.item),
|
|
789
789
|
id: e.item.id ?? e.fieldKey
|
|
790
|
-
}),
|
|
790
|
+
}), z = (t) => t.map((t) => t.kind === "dimension" ? e(R(t)) : t.kind === "measure" || t.kind === "calculation" ? a(R(t)) : {
|
|
791
791
|
aggregators: n(t.aggregations.map((e) => ({
|
|
792
792
|
distinct: e.distinct ?? !1,
|
|
793
793
|
name: e.name,
|
|
@@ -799,28 +799,28 @@ var Qe = y.object({
|
|
|
799
799
|
name: t.name,
|
|
800
800
|
view: t.view,
|
|
801
801
|
views: [t.view]
|
|
802
|
-
}),
|
|
802
|
+
}), B = (e, t) => {
|
|
803
803
|
let n = Math.min(e.length, t.length), r = 0;
|
|
804
804
|
for (; r < n && e[r].toLocaleLowerCase() === t[r].toLocaleLowerCase();) r += 1;
|
|
805
805
|
return r;
|
|
806
|
-
},
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
],
|
|
806
|
+
}, Zt = (e, t) => [...t].sort((t, n) => B(e, n.fieldKey) - B(e, t.fieldKey) || t.fieldKey.localeCompare(n.fieldKey)).slice(0, 5).map((e) => e.fieldKey), Qt = [
|
|
807
|
+
y.FieldType.DATE,
|
|
808
|
+
y.FieldType.TIME,
|
|
809
|
+
y.FieldType.TIMESTAMP,
|
|
810
|
+
y.FieldType.TIMESTAMP_TZ
|
|
811
|
+
], V = (e, t, n, r) => ({
|
|
812
812
|
...r ? { allowedValues: r } : {},
|
|
813
813
|
code: e,
|
|
814
814
|
message: n,
|
|
815
815
|
path: t
|
|
816
|
-
}),
|
|
816
|
+
}), H = (e) => Jt(e).filter((e) => !!l(e)), U = (e, t) => {
|
|
817
817
|
let n = t.find((t) => t.fieldKey === e.fieldKey);
|
|
818
|
-
return n?.kind === "field" ?
|
|
818
|
+
return n?.kind === "field" ? H(n).find((t) => t.toLocaleUpperCase() === e.aggregation?.toLocaleUpperCase()) : void 0;
|
|
819
819
|
}, $t = (e, t) => {
|
|
820
820
|
let n = t.find((t) => t.fieldKey === e.fieldKey);
|
|
821
|
-
return n?.kind === "measure" ? n.item.measure.aggregation :
|
|
821
|
+
return n?.kind === "measure" ? n.item.measure.aggregation : U(e, t);
|
|
822
822
|
}, en = (e, t, n = {}) => {
|
|
823
|
-
let r = t.find((t) => t.fieldKey === e.fieldKey), i = r ?
|
|
823
|
+
let r = t.find((t) => t.fieldKey === e.fieldKey), i = r ? Xt(r) : void 0, a = U(e, t);
|
|
824
824
|
return {
|
|
825
825
|
...n,
|
|
826
826
|
key: e.fieldKey,
|
|
@@ -829,15 +829,15 @@ var Qe = y.object({
|
|
|
829
829
|
};
|
|
830
830
|
}, W = (e, t, n, r) => {
|
|
831
831
|
let i = t.find((t) => t.fieldKey === e.fieldKey);
|
|
832
|
-
if (!i) return [
|
|
833
|
-
if (!
|
|
834
|
-
if (r !== "measure") return e.temporalGrouping ? nn(e, t, n,
|
|
835
|
-
if (i.kind !== "field") return e.aggregation === void 0 ? [] : [
|
|
836
|
-
let a =
|
|
837
|
-
return e.aggregation ? a.some((t) => t.toLocaleUpperCase() === e.aggregation?.toLocaleUpperCase()) ? [] : [
|
|
832
|
+
if (!i) return [V("unknown_field_key", [...n, "fieldKey"], `Field key "${e.fieldKey}" is not available.`, Zt(e.fieldKey, t))];
|
|
833
|
+
if (!Yt(i, r)) return [V("invalid_field_role", [...n, "fieldKey"], `Available item "${e.fieldKey}" of kind "${i.kind}" cannot be used as a ${r}.`)];
|
|
834
|
+
if (r !== "measure") return e.temporalGrouping ? nn(e, t, n, Qt, "a temporally grouped dimension") : [];
|
|
835
|
+
if (i.kind !== "field") return e.aggregation === void 0 ? [] : [V("invalid_aggregation", [...n, "aggregation"], `Aggregation must be omitted for semantic ${i.kind} "${e.fieldKey}".`)];
|
|
836
|
+
let a = H(i);
|
|
837
|
+
return e.aggregation ? a.some((t) => t.toLocaleUpperCase() === e.aggregation?.toLocaleUpperCase()) ? [] : [V("invalid_aggregation", [...n, "aggregation"], `Aggregation "${e.aggregation}" is not available for field key "${e.fieldKey}".`, a)] : [V("invalid_aggregation", [...n, "aggregation"], `Aggregation is required for raw field "${e.fieldKey}" when it is used as a measure.`, a)];
|
|
838
838
|
}, tn = (e, t, n, r) => e.flatMap((e, i) => W(e, t, [...n, i], r)), nn = (e, t, n, r, i) => {
|
|
839
839
|
let a = t.find((t) => t.fieldKey === e.fieldKey);
|
|
840
|
-
return a?.kind !== "field" || r.includes(a.dataType) ? [] : [
|
|
840
|
+
return a?.kind !== "field" || r.includes(a.dataType) ? [] : [V("invalid_field_role", [...n, "fieldKey"], `Raw field "${e.fieldKey}" has data type "${a.dataType}" and cannot be used as ${i}.`, [...r])];
|
|
841
841
|
}, rn = (e, t, n = ["filterGroup"]) => e ? e.filters.flatMap((e, r) => {
|
|
842
842
|
let i = [
|
|
843
843
|
...n,
|
|
@@ -973,7 +973,7 @@ var cn = (e, t) => {
|
|
|
973
973
|
let n = e, r = n.referencedData;
|
|
974
974
|
return t.every((e) => !Array.isArray(n[e]) || n[e].length === 0) && (typeof r != "object" || !r || Object.keys(r).length === 0);
|
|
975
975
|
}, pn = (e, t) => ({
|
|
976
|
-
availableFields:
|
|
976
|
+
availableFields: z(e.availableFields),
|
|
977
977
|
input: e,
|
|
978
978
|
resolvedRefs: {},
|
|
979
979
|
vSpec: t
|
|
@@ -1043,7 +1043,7 @@ var cn = (e, t) => {
|
|
|
1043
1043
|
}, xn = (e, t) => {
|
|
1044
1044
|
let n = [];
|
|
1045
1045
|
t.inverted !== void 0 && n.push({
|
|
1046
|
-
name:
|
|
1046
|
+
name: _.SET_INVERT_AXIS,
|
|
1047
1047
|
payload: {
|
|
1048
1048
|
axisName: e,
|
|
1049
1049
|
invertAxis: t.inverted
|
|
@@ -1052,7 +1052,7 @@ var cn = (e, t) => {
|
|
|
1052
1052
|
let { range: r } = t;
|
|
1053
1053
|
if (r) {
|
|
1054
1054
|
n.push({
|
|
1055
|
-
name:
|
|
1055
|
+
name: _.SET_AXIS_RANGE_OPTION,
|
|
1056
1056
|
payload: {
|
|
1057
1057
|
axisName: e,
|
|
1058
1058
|
axisRangeOption: yn(r)
|
|
@@ -1060,19 +1060,19 @@ var cn = (e, t) => {
|
|
|
1060
1060
|
});
|
|
1061
1061
|
let { max: t, min: i } = Q(r);
|
|
1062
1062
|
i !== void 0 && n.push({
|
|
1063
|
-
name:
|
|
1063
|
+
name: _.SET_AXIS_RANGE_MIN,
|
|
1064
1064
|
payload: {
|
|
1065
1065
|
axisName: e,
|
|
1066
1066
|
minValue: i
|
|
1067
1067
|
}
|
|
1068
1068
|
}), t !== void 0 && n.push({
|
|
1069
|
-
name:
|
|
1069
|
+
name: _.SET_AXIS_RANGE_MAX,
|
|
1070
1070
|
payload: {
|
|
1071
1071
|
axisName: e,
|
|
1072
1072
|
maxValue: t
|
|
1073
1073
|
}
|
|
1074
1074
|
}), "startsAtZero" in r && n.push({
|
|
1075
|
-
name:
|
|
1075
|
+
name: _.SET_AXIS_STARTS_AT_ZERO,
|
|
1076
1076
|
payload: {
|
|
1077
1077
|
axisName: e,
|
|
1078
1078
|
startsAtZero: r.startsAtZero
|
|
@@ -1090,7 +1090,7 @@ var cn = (e, t) => {
|
|
|
1090
1090
|
let r = t.map((e, t) => ({
|
|
1091
1091
|
...e,
|
|
1092
1092
|
id: e.id ?? `definition:${t}`
|
|
1093
|
-
})), i = await
|
|
1093
|
+
})), i = await xe(e.vSpec, e.availableFields, r.map(({ id: e, name: t, payload: n }) => ({
|
|
1094
1094
|
id: e,
|
|
1095
1095
|
name: t,
|
|
1096
1096
|
payload: n
|
|
@@ -1125,7 +1125,7 @@ var cn = (e, t) => {
|
|
|
1125
1125
|
kind: t
|
|
1126
1126
|
};
|
|
1127
1127
|
}, wn = async (e, t, n, r, i, a) => {
|
|
1128
|
-
let o = `${n}:${t.ref}`, s = await
|
|
1128
|
+
let o = `${n}:${t.ref}`, s = await xe(e.vSpec, e.availableFields, [{
|
|
1129
1129
|
id: o,
|
|
1130
1130
|
name: r,
|
|
1131
1131
|
payload: i
|
|
@@ -1202,17 +1202,17 @@ var cn = (e, t) => {
|
|
|
1202
1202
|
}, An = (e, t) => {
|
|
1203
1203
|
let n = [];
|
|
1204
1204
|
return t?.overwrites && n.push({
|
|
1205
|
-
name:
|
|
1205
|
+
name: ye.SET_COLORING_OVERWRITES,
|
|
1206
1206
|
payload: { overwrites: t.overwrites.map(({ dimension: t, ...n }) => t === void 0 ? n : {
|
|
1207
1207
|
...n,
|
|
1208
1208
|
dimension: Y(e.resolvedRefs[t])
|
|
1209
1209
|
}) }
|
|
1210
1210
|
}), t?.rules && n.push({
|
|
1211
|
-
name:
|
|
1211
|
+
name: ye.SET_COLORING_RULES,
|
|
1212
1212
|
payload: { rules: t.rules.map(({ measure: t, ...n }) => ({
|
|
1213
1213
|
...n,
|
|
1214
1214
|
measure: Y(e.resolvedRefs[t])
|
|
1215
1215
|
})) }
|
|
1216
1216
|
}), $(e, n, Z);
|
|
1217
1217
|
};
|
|
1218
|
-
export {
|
|
1218
|
+
export { ht as $, rn as A, Nt as B, dn as C, $t as D, en as E, Mt as F, it as G, Tt as H, Dt as I, ut as J, dt as K, Ot as L, qt as M, z as N, W as O, Ht as P, lt as Q, kt as R, _n as S, sn as T, wt as U, jt as V, bt as W, st as X, ct as Y, ft as Z, bn as _, Tn as a, nt as at, X as b, xn as c, J as d, ot as et, cn as f, vn as g, $ as h, On as i, _t as it, nn as j, tn as k, ln as l, mn as m, An as n, mt as nt, kn as o, w as ot, un as p, at as q, Dn as r, gt as rt, En as s, Ce as st, wn as t, pt as tt, pn as u, fn as v, G as w, gn as x, Y as y, At as z };
|