@gooder-ai/schemas 1.0.7 → 1.0.9
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/dist/tsc/schema.js +2 -25
- package/dist/tsc/schema.js.map +1 -1
- package/dist/tsc/transform.js +71 -2
- package/dist/tsc/transform.js.map +1 -1
- package/dist/types/schema.d.ts +850 -83
- package/dist/types/schema.d.ts.map +1 -1
- package/dist/types/transform.d.ts +5 -0
- package/dist/types/transform.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/tsc/schema.js
CHANGED
|
@@ -238,6 +238,7 @@ exports.ChartDefinitionSchema = zod_1.z.object({
|
|
|
238
238
|
projectedPopulation: zod_1.z.number().min(0).nullish(),
|
|
239
239
|
customCharts: zod_1.z.array(exports.CustomChartDefinitionSchema).nullish(),
|
|
240
240
|
customChartLayoutMap: exports.ChartLayoutSchema.nullish(),
|
|
241
|
+
hiddenChartLayoutMap: exports.ChartLayoutSchema.nullish(),
|
|
241
242
|
sliders: exports.SlidersSchema,
|
|
242
243
|
sliderAssociations: zod_1.z.array(exports.SliderAssociationSchema),
|
|
243
244
|
xAxisName: zod_1.z.string().default("Percent treated"),
|
|
@@ -250,10 +251,7 @@ exports.ChartDefinitionSchema = zod_1.z.object({
|
|
|
250
251
|
variableSelectors: exports.VariableSelectorsSchema.nullish(),
|
|
251
252
|
customColumns: exports.CustomColumnsSchema.nullish(),
|
|
252
253
|
compactType: zod_1.z.nativeEnum(utils_1.CompactType).nullish(),
|
|
253
|
-
}).superRefine(({
|
|
254
|
-
const isDependentVariableValid = typeof dependentVariable === "string";
|
|
255
|
-
const isPositivePolarityValuesValid = Array.isArray(positivePolarityValues);
|
|
256
|
-
const isScoresPresent = scores.length > 0;
|
|
254
|
+
}).superRefine(({ customCharts }, ctx) => {
|
|
257
255
|
const isWidgetPresent = Array.isArray(customCharts) && customCharts.length > 0;
|
|
258
256
|
const areCustomChartsValid = Array.isArray(customCharts) &&
|
|
259
257
|
customCharts.every((chart) => {
|
|
@@ -268,27 +266,6 @@ exports.ChartDefinitionSchema = zod_1.z.object({
|
|
|
268
266
|
}
|
|
269
267
|
return output;
|
|
270
268
|
});
|
|
271
|
-
if (isDependentVariableValid === false) {
|
|
272
|
-
ctx.addIssue({
|
|
273
|
-
code: zod_1.z.ZodIssueCode.custom,
|
|
274
|
-
message: "Dependent variable is not defined.",
|
|
275
|
-
path: ["dependentVariable"],
|
|
276
|
-
});
|
|
277
|
-
}
|
|
278
|
-
if (isDependentVariableValid === true && isPositivePolarityValuesValid === false) {
|
|
279
|
-
ctx.addIssue({
|
|
280
|
-
code: zod_1.z.ZodIssueCode.custom,
|
|
281
|
-
message: "Polarity values are not defined",
|
|
282
|
-
path: ["positivePolarityValues"],
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
if (isScoresPresent === false) {
|
|
286
|
-
ctx.addIssue({
|
|
287
|
-
code: zod_1.z.ZodIssueCode.custom,
|
|
288
|
-
message: "No model selected.",
|
|
289
|
-
path: ["scores"],
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
269
|
if (isWidgetPresent === false) {
|
|
293
270
|
ctx.addIssue({
|
|
294
271
|
code: zod_1.z.ZodIssueCode.custom,
|
package/dist/tsc/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":";;;;AAAA,mCASiB;AACjB,4DAA4B;AAC5B,6BAA+B;AAElB,QAAA,gBAAgB,GAAG,OAAG,CAAC,KAAK,CAAC,CAAC,OAAG,CAAC,MAAM,EAAE,EAAE,OAAG,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AACrE,QAAA,WAAW,GAAG,OAAG,CAAC,MAAM,CAAC,wBAAgB,CAAC,CAAC;AAE3C,QAAA,2BAA2B,GAAG,OAAG,CAAC,MAAM,CAAC;IACpD,EAAE,EAAE,OAAG,CAAC,MAAM,E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I,KAAK,CAAC,UAAU,KAAK,mBAAW,CAAC,IAAI,EAAE,CAAC;gBAC/C,MAAM,GAAG,IAAI,CAAC;YAChB,CAAC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;IAEL,IAAI,eAAe,KAAK,KAAK,EAAE,CAAC;QAC9B,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,OAAG,CAAC,YAAY,CAAC,MAAM;YAC7B,OAAO,EAAE,sCAAsC;YAC/C,IAAI,EAAE,CAAC,cAAc,CAAC;SACvB,CAAC,CAAC;IACL,CAAC;IACD,IAAI,oBAAoB,KAAK,KAAK,EAAE,CAAC;QACnC,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,OAAG,CAAC,YAAY,CAAC,MAAM;YAC7B,OAAO,EAAE,oCAAoC;YAC7C,IAAI,EAAE,CAAC,cAAc,CAAC;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC"}
|
package/dist/tsc/transform.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.calculatePosition = calculatePosition;
|
|
3
4
|
exports.transformRawChartDefinition = transformRawChartDefinition;
|
|
4
5
|
const utils_1 = require("./utils");
|
|
6
|
+
function calculatePosition(lastItem) {
|
|
7
|
+
const occupiedSpace = lastItem.x + lastItem.w;
|
|
8
|
+
const xPosition = occupiedSpace + 6 >= 12 ? 0 : occupiedSpace;
|
|
9
|
+
const yPosition = occupiedSpace + 6 >= 12 ? lastItem.y + 12 : lastItem.y;
|
|
10
|
+
return { xPosition, yPosition };
|
|
11
|
+
}
|
|
5
12
|
function transformRawChartDefinition(data) {
|
|
6
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
13
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
7
14
|
const output = Object.assign({}, data);
|
|
8
15
|
// "1.0", null and undefined all specifies the config version "1.0" because version was nullish.
|
|
9
16
|
if (data.version === "1.0" || data.version === undefined || data.version === null) {
|
|
@@ -79,13 +86,75 @@ function transformRawChartDefinition(data) {
|
|
|
79
86
|
return Object.assign(Object.assign({}, selector), { id: "id" in selector ? selector.id : crypto.randomUUID() });
|
|
80
87
|
});
|
|
81
88
|
output.variableSelectors = variableSelectors;
|
|
82
|
-
output.version = "2.6";
|
|
83
89
|
}
|
|
90
|
+
output.version = "2.6";
|
|
84
91
|
}
|
|
85
92
|
if (output.version === "2.6") {
|
|
86
93
|
output.compactType = (_h = output.compactType) !== null && _h !== void 0 ? _h : null;
|
|
87
94
|
output.version = "2.7";
|
|
88
95
|
}
|
|
96
|
+
if (output.version === "2.7") {
|
|
97
|
+
if (Array.isArray(output.customCharts) === true) {
|
|
98
|
+
const customCharts = output.customCharts.map((chart) => {
|
|
99
|
+
var _a;
|
|
100
|
+
return Object.assign(Object.assign({}, chart), { moveChartToTop: (_a = chart.moveChartToTop) !== null && _a !== void 0 ? _a : false });
|
|
101
|
+
});
|
|
102
|
+
output.customCharts = customCharts;
|
|
103
|
+
}
|
|
104
|
+
output.version = "2.8";
|
|
105
|
+
}
|
|
106
|
+
if (output.version === "2.8") {
|
|
107
|
+
if (typeof output.dependentVariable !== "string") {
|
|
108
|
+
output.dependentVariable = null;
|
|
109
|
+
output.positivePolarityValues = null;
|
|
110
|
+
}
|
|
111
|
+
output.version = "2.9";
|
|
112
|
+
}
|
|
113
|
+
if (output.version === "2.9") {
|
|
114
|
+
if (Array.isArray(output.customCharts) === true) {
|
|
115
|
+
const customCharts = output.customCharts
|
|
116
|
+
.filter((chart) => {
|
|
117
|
+
return chart.showInDashboard !== true && typeof chart.id === "string";
|
|
118
|
+
})
|
|
119
|
+
.map((ele) => {
|
|
120
|
+
return ele.id;
|
|
121
|
+
});
|
|
122
|
+
output.hiddenChartLayoutMap = Object.entries((_j = output.customChartLayoutMap) !== null && _j !== void 0 ? _j : {}).reduce((acc, [screen, layouts]) => {
|
|
123
|
+
const currentLayouts = Array.isArray(layouts) ? layouts : undefined;
|
|
124
|
+
// Find out the last chart layout by using reducer function.
|
|
125
|
+
let lastChartLayout = currentLayouts === null || currentLayouts === void 0 ? void 0 : currentLayouts.reduce((max, current) => {
|
|
126
|
+
let lastChartLayoutOutput = max;
|
|
127
|
+
if (current.y > max.y || (current.y === max.y && current.x > max.x)) {
|
|
128
|
+
lastChartLayoutOutput = current;
|
|
129
|
+
}
|
|
130
|
+
return lastChartLayoutOutput;
|
|
131
|
+
}, currentLayouts[0]);
|
|
132
|
+
return Object.assign(Object.assign({}, acc), { [screen]: customCharts.map((ele) => {
|
|
133
|
+
if (lastChartLayout !== undefined) {
|
|
134
|
+
const { xPosition, yPosition } = calculatePosition(lastChartLayout);
|
|
135
|
+
lastChartLayout = {
|
|
136
|
+
i: ele,
|
|
137
|
+
h: 12,
|
|
138
|
+
w: 6,
|
|
139
|
+
x: xPosition,
|
|
140
|
+
y: yPosition,
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
lastChartLayout = {
|
|
145
|
+
i: ele,
|
|
146
|
+
h: 12,
|
|
147
|
+
w: 6,
|
|
148
|
+
x: 0,
|
|
149
|
+
y: 0,
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
return lastChartLayout;
|
|
153
|
+
}) });
|
|
154
|
+
}, {});
|
|
155
|
+
}
|
|
156
|
+
output.version = "2.10";
|
|
157
|
+
}
|
|
89
158
|
return output;
|
|
90
159
|
}
|
|
91
160
|
//# sourceMappingURL=transform.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../src/transform.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../src/transform.ts"],"names":[],"mappings":";;AAGA,8CAKC;AAED,kEAyMC;AAnND,mCAA2G;AAG3G,SAAgB,iBAAiB,CAAC,QAAgB;IAChD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AC;4BACN,eAAe,GAAG;gCAChB,CAAC,EAAE,GAAG;gCACN,CAAC,EAAE,EAAE;gCACL,CAAC,EAAE,CAAC;gCACJ,CAAC,EAAE,CAAC;gCACJ,CAAC,EAAE,CAAC;6BACL,CAAC;wBACJ,CAAC;wBACD,OAAO,eAAe,CAAC;oBACzB,CAAC,CAAC,IACF;YACJ,CAAC,EACD,EAAE,CACH,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;IAC1B,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/dist/types/schema.d.ts
CHANGED
|
@@ -1602,6 +1602,425 @@ export declare const ChartDefinitionSchema: Zod.ZodEffects<Zod.ZodObject<{
|
|
|
1602
1602
|
isBounded?: boolean | undefined;
|
|
1603
1603
|
}[] | undefined;
|
|
1604
1604
|
}>>>;
|
|
1605
|
+
hiddenChartLayoutMap: Zod.ZodOptional<Zod.ZodNullable<Zod.ZodObject<{
|
|
1606
|
+
xl: Zod.ZodOptional<Zod.ZodArray<Zod.ZodObject<{
|
|
1607
|
+
i: Zod.ZodString;
|
|
1608
|
+
x: Zod.ZodNumber;
|
|
1609
|
+
y: Zod.ZodNumber;
|
|
1610
|
+
w: Zod.ZodNumber;
|
|
1611
|
+
h: Zod.ZodNumber;
|
|
1612
|
+
minW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1613
|
+
maxW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1614
|
+
minH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1615
|
+
maxH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1616
|
+
moved: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1617
|
+
static: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1618
|
+
isDraggable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1619
|
+
isResizable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1620
|
+
resizeHandles: Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<["s", "w", "e", "n", "sw", "nw", "se", "ne"]>, "many">>;
|
|
1621
|
+
isBounded: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1622
|
+
}, "strip", Zod.ZodTypeAny, {
|
|
1623
|
+
i: string;
|
|
1624
|
+
x: number;
|
|
1625
|
+
y: number;
|
|
1626
|
+
w: number;
|
|
1627
|
+
h: number;
|
|
1628
|
+
minW?: number | undefined;
|
|
1629
|
+
maxW?: number | undefined;
|
|
1630
|
+
minH?: number | undefined;
|
|
1631
|
+
maxH?: number | undefined;
|
|
1632
|
+
moved?: boolean | undefined;
|
|
1633
|
+
static?: boolean | undefined;
|
|
1634
|
+
isDraggable?: boolean | undefined;
|
|
1635
|
+
isResizable?: boolean | undefined;
|
|
1636
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1637
|
+
isBounded?: boolean | undefined;
|
|
1638
|
+
}, {
|
|
1639
|
+
i: string;
|
|
1640
|
+
x: number;
|
|
1641
|
+
y: number;
|
|
1642
|
+
w: number;
|
|
1643
|
+
h: number;
|
|
1644
|
+
minW?: number | undefined;
|
|
1645
|
+
maxW?: number | undefined;
|
|
1646
|
+
minH?: number | undefined;
|
|
1647
|
+
maxH?: number | undefined;
|
|
1648
|
+
moved?: boolean | undefined;
|
|
1649
|
+
static?: boolean | undefined;
|
|
1650
|
+
isDraggable?: boolean | undefined;
|
|
1651
|
+
isResizable?: boolean | undefined;
|
|
1652
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1653
|
+
isBounded?: boolean | undefined;
|
|
1654
|
+
}>, "many">>;
|
|
1655
|
+
lg: Zod.ZodOptional<Zod.ZodArray<Zod.ZodObject<{
|
|
1656
|
+
i: Zod.ZodString;
|
|
1657
|
+
x: Zod.ZodNumber;
|
|
1658
|
+
y: Zod.ZodNumber;
|
|
1659
|
+
w: Zod.ZodNumber;
|
|
1660
|
+
h: Zod.ZodNumber;
|
|
1661
|
+
minW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1662
|
+
maxW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1663
|
+
minH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1664
|
+
maxH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1665
|
+
moved: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1666
|
+
static: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1667
|
+
isDraggable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1668
|
+
isResizable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1669
|
+
resizeHandles: Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<["s", "w", "e", "n", "sw", "nw", "se", "ne"]>, "many">>;
|
|
1670
|
+
isBounded: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1671
|
+
}, "strip", Zod.ZodTypeAny, {
|
|
1672
|
+
i: string;
|
|
1673
|
+
x: number;
|
|
1674
|
+
y: number;
|
|
1675
|
+
w: number;
|
|
1676
|
+
h: number;
|
|
1677
|
+
minW?: number | undefined;
|
|
1678
|
+
maxW?: number | undefined;
|
|
1679
|
+
minH?: number | undefined;
|
|
1680
|
+
maxH?: number | undefined;
|
|
1681
|
+
moved?: boolean | undefined;
|
|
1682
|
+
static?: boolean | undefined;
|
|
1683
|
+
isDraggable?: boolean | undefined;
|
|
1684
|
+
isResizable?: boolean | undefined;
|
|
1685
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1686
|
+
isBounded?: boolean | undefined;
|
|
1687
|
+
}, {
|
|
1688
|
+
i: string;
|
|
1689
|
+
x: number;
|
|
1690
|
+
y: number;
|
|
1691
|
+
w: number;
|
|
1692
|
+
h: number;
|
|
1693
|
+
minW?: number | undefined;
|
|
1694
|
+
maxW?: number | undefined;
|
|
1695
|
+
minH?: number | undefined;
|
|
1696
|
+
maxH?: number | undefined;
|
|
1697
|
+
moved?: boolean | undefined;
|
|
1698
|
+
static?: boolean | undefined;
|
|
1699
|
+
isDraggable?: boolean | undefined;
|
|
1700
|
+
isResizable?: boolean | undefined;
|
|
1701
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1702
|
+
isBounded?: boolean | undefined;
|
|
1703
|
+
}>, "many">>;
|
|
1704
|
+
md: Zod.ZodOptional<Zod.ZodArray<Zod.ZodObject<{
|
|
1705
|
+
i: Zod.ZodString;
|
|
1706
|
+
x: Zod.ZodNumber;
|
|
1707
|
+
y: Zod.ZodNumber;
|
|
1708
|
+
w: Zod.ZodNumber;
|
|
1709
|
+
h: Zod.ZodNumber;
|
|
1710
|
+
minW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1711
|
+
maxW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1712
|
+
minH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1713
|
+
maxH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1714
|
+
moved: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1715
|
+
static: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1716
|
+
isDraggable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1717
|
+
isResizable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1718
|
+
resizeHandles: Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<["s", "w", "e", "n", "sw", "nw", "se", "ne"]>, "many">>;
|
|
1719
|
+
isBounded: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1720
|
+
}, "strip", Zod.ZodTypeAny, {
|
|
1721
|
+
i: string;
|
|
1722
|
+
x: number;
|
|
1723
|
+
y: number;
|
|
1724
|
+
w: number;
|
|
1725
|
+
h: number;
|
|
1726
|
+
minW?: number | undefined;
|
|
1727
|
+
maxW?: number | undefined;
|
|
1728
|
+
minH?: number | undefined;
|
|
1729
|
+
maxH?: number | undefined;
|
|
1730
|
+
moved?: boolean | undefined;
|
|
1731
|
+
static?: boolean | undefined;
|
|
1732
|
+
isDraggable?: boolean | undefined;
|
|
1733
|
+
isResizable?: boolean | undefined;
|
|
1734
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1735
|
+
isBounded?: boolean | undefined;
|
|
1736
|
+
}, {
|
|
1737
|
+
i: string;
|
|
1738
|
+
x: number;
|
|
1739
|
+
y: number;
|
|
1740
|
+
w: number;
|
|
1741
|
+
h: number;
|
|
1742
|
+
minW?: number | undefined;
|
|
1743
|
+
maxW?: number | undefined;
|
|
1744
|
+
minH?: number | undefined;
|
|
1745
|
+
maxH?: number | undefined;
|
|
1746
|
+
moved?: boolean | undefined;
|
|
1747
|
+
static?: boolean | undefined;
|
|
1748
|
+
isDraggable?: boolean | undefined;
|
|
1749
|
+
isResizable?: boolean | undefined;
|
|
1750
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1751
|
+
isBounded?: boolean | undefined;
|
|
1752
|
+
}>, "many">>;
|
|
1753
|
+
sm: Zod.ZodOptional<Zod.ZodArray<Zod.ZodObject<{
|
|
1754
|
+
i: Zod.ZodString;
|
|
1755
|
+
x: Zod.ZodNumber;
|
|
1756
|
+
y: Zod.ZodNumber;
|
|
1757
|
+
w: Zod.ZodNumber;
|
|
1758
|
+
h: Zod.ZodNumber;
|
|
1759
|
+
minW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1760
|
+
maxW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1761
|
+
minH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1762
|
+
maxH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1763
|
+
moved: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1764
|
+
static: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1765
|
+
isDraggable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1766
|
+
isResizable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1767
|
+
resizeHandles: Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<["s", "w", "e", "n", "sw", "nw", "se", "ne"]>, "many">>;
|
|
1768
|
+
isBounded: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1769
|
+
}, "strip", Zod.ZodTypeAny, {
|
|
1770
|
+
i: string;
|
|
1771
|
+
x: number;
|
|
1772
|
+
y: number;
|
|
1773
|
+
w: number;
|
|
1774
|
+
h: number;
|
|
1775
|
+
minW?: number | undefined;
|
|
1776
|
+
maxW?: number | undefined;
|
|
1777
|
+
minH?: number | undefined;
|
|
1778
|
+
maxH?: number | undefined;
|
|
1779
|
+
moved?: boolean | undefined;
|
|
1780
|
+
static?: boolean | undefined;
|
|
1781
|
+
isDraggable?: boolean | undefined;
|
|
1782
|
+
isResizable?: boolean | undefined;
|
|
1783
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1784
|
+
isBounded?: boolean | undefined;
|
|
1785
|
+
}, {
|
|
1786
|
+
i: string;
|
|
1787
|
+
x: number;
|
|
1788
|
+
y: number;
|
|
1789
|
+
w: number;
|
|
1790
|
+
h: number;
|
|
1791
|
+
minW?: number | undefined;
|
|
1792
|
+
maxW?: number | undefined;
|
|
1793
|
+
minH?: number | undefined;
|
|
1794
|
+
maxH?: number | undefined;
|
|
1795
|
+
moved?: boolean | undefined;
|
|
1796
|
+
static?: boolean | undefined;
|
|
1797
|
+
isDraggable?: boolean | undefined;
|
|
1798
|
+
isResizable?: boolean | undefined;
|
|
1799
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1800
|
+
isBounded?: boolean | undefined;
|
|
1801
|
+
}>, "many">>;
|
|
1802
|
+
xs: Zod.ZodOptional<Zod.ZodArray<Zod.ZodObject<{
|
|
1803
|
+
i: Zod.ZodString;
|
|
1804
|
+
x: Zod.ZodNumber;
|
|
1805
|
+
y: Zod.ZodNumber;
|
|
1806
|
+
w: Zod.ZodNumber;
|
|
1807
|
+
h: Zod.ZodNumber;
|
|
1808
|
+
minW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1809
|
+
maxW: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1810
|
+
minH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1811
|
+
maxH: Zod.ZodOptional<Zod.ZodNumber>;
|
|
1812
|
+
moved: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1813
|
+
static: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1814
|
+
isDraggable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1815
|
+
isResizable: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1816
|
+
resizeHandles: Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<["s", "w", "e", "n", "sw", "nw", "se", "ne"]>, "many">>;
|
|
1817
|
+
isBounded: Zod.ZodOptional<Zod.ZodBoolean>;
|
|
1818
|
+
}, "strip", Zod.ZodTypeAny, {
|
|
1819
|
+
i: string;
|
|
1820
|
+
x: number;
|
|
1821
|
+
y: number;
|
|
1822
|
+
w: number;
|
|
1823
|
+
h: number;
|
|
1824
|
+
minW?: number | undefined;
|
|
1825
|
+
maxW?: number | undefined;
|
|
1826
|
+
minH?: number | undefined;
|
|
1827
|
+
maxH?: number | undefined;
|
|
1828
|
+
moved?: boolean | undefined;
|
|
1829
|
+
static?: boolean | undefined;
|
|
1830
|
+
isDraggable?: boolean | undefined;
|
|
1831
|
+
isResizable?: boolean | undefined;
|
|
1832
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1833
|
+
isBounded?: boolean | undefined;
|
|
1834
|
+
}, {
|
|
1835
|
+
i: string;
|
|
1836
|
+
x: number;
|
|
1837
|
+
y: number;
|
|
1838
|
+
w: number;
|
|
1839
|
+
h: number;
|
|
1840
|
+
minW?: number | undefined;
|
|
1841
|
+
maxW?: number | undefined;
|
|
1842
|
+
minH?: number | undefined;
|
|
1843
|
+
maxH?: number | undefined;
|
|
1844
|
+
moved?: boolean | undefined;
|
|
1845
|
+
static?: boolean | undefined;
|
|
1846
|
+
isDraggable?: boolean | undefined;
|
|
1847
|
+
isResizable?: boolean | undefined;
|
|
1848
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1849
|
+
isBounded?: boolean | undefined;
|
|
1850
|
+
}>, "many">>;
|
|
1851
|
+
}, "strip", Zod.ZodTypeAny, {
|
|
1852
|
+
xl?: {
|
|
1853
|
+
i: string;
|
|
1854
|
+
x: number;
|
|
1855
|
+
y: number;
|
|
1856
|
+
w: number;
|
|
1857
|
+
h: number;
|
|
1858
|
+
minW?: number | undefined;
|
|
1859
|
+
maxW?: number | undefined;
|
|
1860
|
+
minH?: number | undefined;
|
|
1861
|
+
maxH?: number | undefined;
|
|
1862
|
+
moved?: boolean | undefined;
|
|
1863
|
+
static?: boolean | undefined;
|
|
1864
|
+
isDraggable?: boolean | undefined;
|
|
1865
|
+
isResizable?: boolean | undefined;
|
|
1866
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1867
|
+
isBounded?: boolean | undefined;
|
|
1868
|
+
}[] | undefined;
|
|
1869
|
+
lg?: {
|
|
1870
|
+
i: string;
|
|
1871
|
+
x: number;
|
|
1872
|
+
y: number;
|
|
1873
|
+
w: number;
|
|
1874
|
+
h: number;
|
|
1875
|
+
minW?: number | undefined;
|
|
1876
|
+
maxW?: number | undefined;
|
|
1877
|
+
minH?: number | undefined;
|
|
1878
|
+
maxH?: number | undefined;
|
|
1879
|
+
moved?: boolean | undefined;
|
|
1880
|
+
static?: boolean | undefined;
|
|
1881
|
+
isDraggable?: boolean | undefined;
|
|
1882
|
+
isResizable?: boolean | undefined;
|
|
1883
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1884
|
+
isBounded?: boolean | undefined;
|
|
1885
|
+
}[] | undefined;
|
|
1886
|
+
md?: {
|
|
1887
|
+
i: string;
|
|
1888
|
+
x: number;
|
|
1889
|
+
y: number;
|
|
1890
|
+
w: number;
|
|
1891
|
+
h: number;
|
|
1892
|
+
minW?: number | undefined;
|
|
1893
|
+
maxW?: number | undefined;
|
|
1894
|
+
minH?: number | undefined;
|
|
1895
|
+
maxH?: number | undefined;
|
|
1896
|
+
moved?: boolean | undefined;
|
|
1897
|
+
static?: boolean | undefined;
|
|
1898
|
+
isDraggable?: boolean | undefined;
|
|
1899
|
+
isResizable?: boolean | undefined;
|
|
1900
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1901
|
+
isBounded?: boolean | undefined;
|
|
1902
|
+
}[] | undefined;
|
|
1903
|
+
sm?: {
|
|
1904
|
+
i: string;
|
|
1905
|
+
x: number;
|
|
1906
|
+
y: number;
|
|
1907
|
+
w: number;
|
|
1908
|
+
h: number;
|
|
1909
|
+
minW?: number | undefined;
|
|
1910
|
+
maxW?: number | undefined;
|
|
1911
|
+
minH?: number | undefined;
|
|
1912
|
+
maxH?: number | undefined;
|
|
1913
|
+
moved?: boolean | undefined;
|
|
1914
|
+
static?: boolean | undefined;
|
|
1915
|
+
isDraggable?: boolean | undefined;
|
|
1916
|
+
isResizable?: boolean | undefined;
|
|
1917
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1918
|
+
isBounded?: boolean | undefined;
|
|
1919
|
+
}[] | undefined;
|
|
1920
|
+
xs?: {
|
|
1921
|
+
i: string;
|
|
1922
|
+
x: number;
|
|
1923
|
+
y: number;
|
|
1924
|
+
w: number;
|
|
1925
|
+
h: number;
|
|
1926
|
+
minW?: number | undefined;
|
|
1927
|
+
maxW?: number | undefined;
|
|
1928
|
+
minH?: number | undefined;
|
|
1929
|
+
maxH?: number | undefined;
|
|
1930
|
+
moved?: boolean | undefined;
|
|
1931
|
+
static?: boolean | undefined;
|
|
1932
|
+
isDraggable?: boolean | undefined;
|
|
1933
|
+
isResizable?: boolean | undefined;
|
|
1934
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1935
|
+
isBounded?: boolean | undefined;
|
|
1936
|
+
}[] | undefined;
|
|
1937
|
+
}, {
|
|
1938
|
+
xl?: {
|
|
1939
|
+
i: string;
|
|
1940
|
+
x: number;
|
|
1941
|
+
y: number;
|
|
1942
|
+
w: number;
|
|
1943
|
+
h: number;
|
|
1944
|
+
minW?: number | undefined;
|
|
1945
|
+
maxW?: number | undefined;
|
|
1946
|
+
minH?: number | undefined;
|
|
1947
|
+
maxH?: number | undefined;
|
|
1948
|
+
moved?: boolean | undefined;
|
|
1949
|
+
static?: boolean | undefined;
|
|
1950
|
+
isDraggable?: boolean | undefined;
|
|
1951
|
+
isResizable?: boolean | undefined;
|
|
1952
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1953
|
+
isBounded?: boolean | undefined;
|
|
1954
|
+
}[] | undefined;
|
|
1955
|
+
lg?: {
|
|
1956
|
+
i: string;
|
|
1957
|
+
x: number;
|
|
1958
|
+
y: number;
|
|
1959
|
+
w: number;
|
|
1960
|
+
h: number;
|
|
1961
|
+
minW?: number | undefined;
|
|
1962
|
+
maxW?: number | undefined;
|
|
1963
|
+
minH?: number | undefined;
|
|
1964
|
+
maxH?: number | undefined;
|
|
1965
|
+
moved?: boolean | undefined;
|
|
1966
|
+
static?: boolean | undefined;
|
|
1967
|
+
isDraggable?: boolean | undefined;
|
|
1968
|
+
isResizable?: boolean | undefined;
|
|
1969
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1970
|
+
isBounded?: boolean | undefined;
|
|
1971
|
+
}[] | undefined;
|
|
1972
|
+
md?: {
|
|
1973
|
+
i: string;
|
|
1974
|
+
x: number;
|
|
1975
|
+
y: number;
|
|
1976
|
+
w: number;
|
|
1977
|
+
h: number;
|
|
1978
|
+
minW?: number | undefined;
|
|
1979
|
+
maxW?: number | undefined;
|
|
1980
|
+
minH?: number | undefined;
|
|
1981
|
+
maxH?: number | undefined;
|
|
1982
|
+
moved?: boolean | undefined;
|
|
1983
|
+
static?: boolean | undefined;
|
|
1984
|
+
isDraggable?: boolean | undefined;
|
|
1985
|
+
isResizable?: boolean | undefined;
|
|
1986
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
1987
|
+
isBounded?: boolean | undefined;
|
|
1988
|
+
}[] | undefined;
|
|
1989
|
+
sm?: {
|
|
1990
|
+
i: string;
|
|
1991
|
+
x: number;
|
|
1992
|
+
y: number;
|
|
1993
|
+
w: number;
|
|
1994
|
+
h: number;
|
|
1995
|
+
minW?: number | undefined;
|
|
1996
|
+
maxW?: number | undefined;
|
|
1997
|
+
minH?: number | undefined;
|
|
1998
|
+
maxH?: number | undefined;
|
|
1999
|
+
moved?: boolean | undefined;
|
|
2000
|
+
static?: boolean | undefined;
|
|
2001
|
+
isDraggable?: boolean | undefined;
|
|
2002
|
+
isResizable?: boolean | undefined;
|
|
2003
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2004
|
+
isBounded?: boolean | undefined;
|
|
2005
|
+
}[] | undefined;
|
|
2006
|
+
xs?: {
|
|
2007
|
+
i: string;
|
|
2008
|
+
x: number;
|
|
2009
|
+
y: number;
|
|
2010
|
+
w: number;
|
|
2011
|
+
h: number;
|
|
2012
|
+
minW?: number | undefined;
|
|
2013
|
+
maxW?: number | undefined;
|
|
2014
|
+
minH?: number | undefined;
|
|
2015
|
+
maxH?: number | undefined;
|
|
2016
|
+
moved?: boolean | undefined;
|
|
2017
|
+
static?: boolean | undefined;
|
|
2018
|
+
isDraggable?: boolean | undefined;
|
|
2019
|
+
isResizable?: boolean | undefined;
|
|
2020
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2021
|
+
isBounded?: boolean | undefined;
|
|
2022
|
+
}[] | undefined;
|
|
2023
|
+
}>>>;
|
|
1605
2024
|
sliders: Zod.ZodEffects<Zod.ZodArray<Zod.ZodEffects<Zod.ZodEffects<Zod.ZodObject<{
|
|
1606
2025
|
id: Zod.ZodString;
|
|
1607
2026
|
name: Zod.ZodString;
|
|
@@ -1966,89 +2385,263 @@ export declare const ChartDefinitionSchema: Zod.ZodEffects<Zod.ZodObject<{
|
|
|
1966
2385
|
isBounded?: boolean | undefined;
|
|
1967
2386
|
}[] | undefined;
|
|
1968
2387
|
} | null | undefined;
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2388
|
+
hiddenChartLayoutMap?: {
|
|
2389
|
+
xl?: {
|
|
2390
|
+
i: string;
|
|
2391
|
+
x: number;
|
|
2392
|
+
y: number;
|
|
2393
|
+
w: number;
|
|
2394
|
+
h: number;
|
|
2395
|
+
minW?: number | undefined;
|
|
2396
|
+
maxW?: number | undefined;
|
|
2397
|
+
minH?: number | undefined;
|
|
2398
|
+
maxH?: number | undefined;
|
|
2399
|
+
moved?: boolean | undefined;
|
|
2400
|
+
static?: boolean | undefined;
|
|
2401
|
+
isDraggable?: boolean | undefined;
|
|
2402
|
+
isResizable?: boolean | undefined;
|
|
2403
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2404
|
+
isBounded?: boolean | undefined;
|
|
2405
|
+
}[] | undefined;
|
|
2406
|
+
lg?: {
|
|
2407
|
+
i: string;
|
|
2408
|
+
x: number;
|
|
2409
|
+
y: number;
|
|
2410
|
+
w: number;
|
|
2411
|
+
h: number;
|
|
2412
|
+
minW?: number | undefined;
|
|
2413
|
+
maxW?: number | undefined;
|
|
2414
|
+
minH?: number | undefined;
|
|
2415
|
+
maxH?: number | undefined;
|
|
2416
|
+
moved?: boolean | undefined;
|
|
2417
|
+
static?: boolean | undefined;
|
|
2418
|
+
isDraggable?: boolean | undefined;
|
|
2419
|
+
isResizable?: boolean | undefined;
|
|
2420
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2421
|
+
isBounded?: boolean | undefined;
|
|
2422
|
+
}[] | undefined;
|
|
2423
|
+
md?: {
|
|
2424
|
+
i: string;
|
|
2425
|
+
x: number;
|
|
2426
|
+
y: number;
|
|
2427
|
+
w: number;
|
|
2428
|
+
h: number;
|
|
2429
|
+
minW?: number | undefined;
|
|
2430
|
+
maxW?: number | undefined;
|
|
2431
|
+
minH?: number | undefined;
|
|
2432
|
+
maxH?: number | undefined;
|
|
2433
|
+
moved?: boolean | undefined;
|
|
2434
|
+
static?: boolean | undefined;
|
|
2435
|
+
isDraggable?: boolean | undefined;
|
|
2436
|
+
isResizable?: boolean | undefined;
|
|
2437
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2438
|
+
isBounded?: boolean | undefined;
|
|
2439
|
+
}[] | undefined;
|
|
2440
|
+
sm?: {
|
|
2441
|
+
i: string;
|
|
2442
|
+
x: number;
|
|
2443
|
+
y: number;
|
|
2444
|
+
w: number;
|
|
2445
|
+
h: number;
|
|
2446
|
+
minW?: number | undefined;
|
|
2447
|
+
maxW?: number | undefined;
|
|
2448
|
+
minH?: number | undefined;
|
|
2449
|
+
maxH?: number | undefined;
|
|
2450
|
+
moved?: boolean | undefined;
|
|
2451
|
+
static?: boolean | undefined;
|
|
2452
|
+
isDraggable?: boolean | undefined;
|
|
2453
|
+
isResizable?: boolean | undefined;
|
|
2454
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2455
|
+
isBounded?: boolean | undefined;
|
|
2456
|
+
}[] | undefined;
|
|
2457
|
+
xs?: {
|
|
2458
|
+
i: string;
|
|
2459
|
+
x: number;
|
|
2460
|
+
y: number;
|
|
2461
|
+
w: number;
|
|
2462
|
+
h: number;
|
|
2463
|
+
minW?: number | undefined;
|
|
2464
|
+
maxW?: number | undefined;
|
|
2465
|
+
minH?: number | undefined;
|
|
2466
|
+
maxH?: number | undefined;
|
|
2467
|
+
moved?: boolean | undefined;
|
|
2468
|
+
static?: boolean | undefined;
|
|
2469
|
+
isDraggable?: boolean | undefined;
|
|
2470
|
+
isResizable?: boolean | undefined;
|
|
2471
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2472
|
+
isBounded?: boolean | undefined;
|
|
2473
|
+
}[] | undefined;
|
|
2474
|
+
} | null | undefined;
|
|
2475
|
+
percentTreated?: number | null | undefined;
|
|
2476
|
+
activeFilter?: string | null | undefined;
|
|
2477
|
+
showFiltersOnDashboard?: boolean | null | undefined;
|
|
2478
|
+
numberOfRowsSentInAIPrompt?: number | null | undefined;
|
|
2479
|
+
variableSelectors?: {
|
|
2480
|
+
id: string;
|
|
2481
|
+
name: string;
|
|
2482
|
+
label: string;
|
|
2483
|
+
}[] | null | undefined;
|
|
2484
|
+
customColumns?: {
|
|
2485
|
+
code: string;
|
|
2486
|
+
columnName: string;
|
|
2487
|
+
}[] | null | undefined;
|
|
2488
|
+
compactType?: "vertical" | "horizontal" | null | undefined;
|
|
2489
|
+
}, {
|
|
2490
|
+
sliders: {
|
|
2491
|
+
max: number;
|
|
2492
|
+
min: number;
|
|
2493
|
+
value: number;
|
|
2494
|
+
id: string;
|
|
2495
|
+
name: string;
|
|
2496
|
+
description?: string | null | undefined;
|
|
2497
|
+
label?: string | null | undefined;
|
|
2498
|
+
}[];
|
|
2499
|
+
scores: {
|
|
2500
|
+
fieldName: string;
|
|
2501
|
+
fieldLabel?: string | null | undefined;
|
|
2502
|
+
sortOrder?: "asc" | "desc" | null | undefined;
|
|
2503
|
+
}[];
|
|
2504
|
+
sliderAssociations: {
|
|
2505
|
+
sliderID: string;
|
|
2506
|
+
uswID: string;
|
|
2507
|
+
showInDashboard?: boolean | null | undefined;
|
|
2508
|
+
}[];
|
|
2509
|
+
title?: string | null | undefined;
|
|
2510
|
+
rules?: {
|
|
2511
|
+
value: string | number | boolean | (string | number | boolean)[];
|
|
2512
|
+
id: string;
|
|
2513
|
+
operator: "===" | ">" | "<" | ">=" | "<=" | "!==" | "in" | "between" | "betweenInclusive";
|
|
2514
|
+
model: string;
|
|
2515
|
+
}[] | null | undefined;
|
|
2516
|
+
filters?: {
|
|
2517
|
+
name: string;
|
|
2518
|
+
rules: string[];
|
|
2519
|
+
joinBy?: "and" | "or" | null | undefined;
|
|
2520
|
+
}[] | null | undefined;
|
|
2521
|
+
version?: string | undefined;
|
|
2522
|
+
isOffline?: boolean | null | undefined;
|
|
2523
|
+
datasetID?: string | null | undefined;
|
|
2524
|
+
dependentVariable?: string | null | undefined;
|
|
2525
|
+
positivePolarityValues?: (string | number | null | undefined)[] | null | undefined;
|
|
2526
|
+
projectedPopulation?: number | null | undefined;
|
|
2527
|
+
customCharts?: {
|
|
2528
|
+
id: string;
|
|
2529
|
+
dataInitializationCode: string;
|
|
2530
|
+
metricCalculationCode: string;
|
|
2531
|
+
metric: string;
|
|
2532
|
+
resolution: number;
|
|
2533
|
+
unit: "currency" | "percentage" | "none";
|
|
2534
|
+
minRange: number;
|
|
2535
|
+
maxRange: number;
|
|
2536
|
+
seriesType: "line" | "bar";
|
|
2537
|
+
currency?: "USD" | "GBP" | "EUR" | "JPY" | "AUD" | "CAD" | "INR" | null | undefined;
|
|
2538
|
+
title?: string | null | undefined;
|
|
2539
|
+
xAxisDecimalPlaces?: number | null | undefined;
|
|
2540
|
+
yAxisDecimalPlaces?: number | null | undefined;
|
|
2541
|
+
showRangeSlider?: boolean | null | undefined;
|
|
2542
|
+
showInDashboard?: boolean | null | undefined;
|
|
2543
|
+
showInMetricTable?: boolean | null | undefined;
|
|
2544
|
+
showBaseline?: boolean | null | undefined;
|
|
2545
|
+
description?: string | null | undefined;
|
|
2546
|
+
metricTableRowOrder?: number | null | undefined;
|
|
2547
|
+
aspectRatio?: number | null | undefined;
|
|
2548
|
+
scaleMetric?: boolean | null | undefined;
|
|
2549
|
+
suppressBar?: boolean | null | undefined;
|
|
2550
|
+
suppressXAxisLabel?: boolean | null | undefined;
|
|
2551
|
+
showThreshold?: boolean | null | undefined;
|
|
2552
|
+
reverseXAxis?: boolean | null | undefined;
|
|
2553
|
+
aiPrompt?: string | null | undefined;
|
|
2554
|
+
highlightType?: "none" | "max" | "min" | null | undefined;
|
|
2555
|
+
optimizeResolution?: boolean | null | undefined;
|
|
2556
|
+
}[] | null | undefined;
|
|
2557
|
+
customChartLayoutMap?: {
|
|
2558
|
+
xl?: {
|
|
2559
|
+
i: string;
|
|
2560
|
+
x: number;
|
|
2561
|
+
y: number;
|
|
2562
|
+
w: number;
|
|
2563
|
+
h: number;
|
|
2564
|
+
minW?: number | undefined;
|
|
2565
|
+
maxW?: number | undefined;
|
|
2566
|
+
minH?: number | undefined;
|
|
2567
|
+
maxH?: number | undefined;
|
|
2568
|
+
moved?: boolean | undefined;
|
|
2569
|
+
static?: boolean | undefined;
|
|
2570
|
+
isDraggable?: boolean | undefined;
|
|
2571
|
+
isResizable?: boolean | undefined;
|
|
2572
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2573
|
+
isBounded?: boolean | undefined;
|
|
2574
|
+
}[] | undefined;
|
|
2575
|
+
lg?: {
|
|
2576
|
+
i: string;
|
|
2577
|
+
x: number;
|
|
2578
|
+
y: number;
|
|
2579
|
+
w: number;
|
|
2580
|
+
h: number;
|
|
2581
|
+
minW?: number | undefined;
|
|
2582
|
+
maxW?: number | undefined;
|
|
2583
|
+
minH?: number | undefined;
|
|
2584
|
+
maxH?: number | undefined;
|
|
2585
|
+
moved?: boolean | undefined;
|
|
2586
|
+
static?: boolean | undefined;
|
|
2587
|
+
isDraggable?: boolean | undefined;
|
|
2588
|
+
isResizable?: boolean | undefined;
|
|
2589
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2590
|
+
isBounded?: boolean | undefined;
|
|
2591
|
+
}[] | undefined;
|
|
2592
|
+
md?: {
|
|
2593
|
+
i: string;
|
|
2594
|
+
x: number;
|
|
2595
|
+
y: number;
|
|
2596
|
+
w: number;
|
|
2597
|
+
h: number;
|
|
2598
|
+
minW?: number | undefined;
|
|
2599
|
+
maxW?: number | undefined;
|
|
2600
|
+
minH?: number | undefined;
|
|
2601
|
+
maxH?: number | undefined;
|
|
2602
|
+
moved?: boolean | undefined;
|
|
2603
|
+
static?: boolean | undefined;
|
|
2604
|
+
isDraggable?: boolean | undefined;
|
|
2605
|
+
isResizable?: boolean | undefined;
|
|
2606
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2607
|
+
isBounded?: boolean | undefined;
|
|
2608
|
+
}[] | undefined;
|
|
2609
|
+
sm?: {
|
|
2610
|
+
i: string;
|
|
2611
|
+
x: number;
|
|
2612
|
+
y: number;
|
|
2613
|
+
w: number;
|
|
2614
|
+
h: number;
|
|
2615
|
+
minW?: number | undefined;
|
|
2616
|
+
maxW?: number | undefined;
|
|
2617
|
+
minH?: number | undefined;
|
|
2618
|
+
maxH?: number | undefined;
|
|
2619
|
+
moved?: boolean | undefined;
|
|
2620
|
+
static?: boolean | undefined;
|
|
2621
|
+
isDraggable?: boolean | undefined;
|
|
2622
|
+
isResizable?: boolean | undefined;
|
|
2623
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2624
|
+
isBounded?: boolean | undefined;
|
|
2625
|
+
}[] | undefined;
|
|
2626
|
+
xs?: {
|
|
2627
|
+
i: string;
|
|
2628
|
+
x: number;
|
|
2629
|
+
y: number;
|
|
2630
|
+
w: number;
|
|
2631
|
+
h: number;
|
|
2632
|
+
minW?: number | undefined;
|
|
2633
|
+
maxW?: number | undefined;
|
|
2634
|
+
minH?: number | undefined;
|
|
2635
|
+
maxH?: number | undefined;
|
|
2636
|
+
moved?: boolean | undefined;
|
|
2637
|
+
static?: boolean | undefined;
|
|
2638
|
+
isDraggable?: boolean | undefined;
|
|
2639
|
+
isResizable?: boolean | undefined;
|
|
2640
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2641
|
+
isBounded?: boolean | undefined;
|
|
2642
|
+
}[] | undefined;
|
|
2643
|
+
} | null | undefined;
|
|
2644
|
+
hiddenChartLayoutMap?: {
|
|
2052
2645
|
xl?: {
|
|
2053
2646
|
i: string;
|
|
2054
2647
|
x: number;
|
|
@@ -2306,6 +2899,93 @@ export declare const ChartDefinitionSchema: Zod.ZodEffects<Zod.ZodObject<{
|
|
|
2306
2899
|
isBounded?: boolean | undefined;
|
|
2307
2900
|
}[] | undefined;
|
|
2308
2901
|
} | null | undefined;
|
|
2902
|
+
hiddenChartLayoutMap?: {
|
|
2903
|
+
xl?: {
|
|
2904
|
+
i: string;
|
|
2905
|
+
x: number;
|
|
2906
|
+
y: number;
|
|
2907
|
+
w: number;
|
|
2908
|
+
h: number;
|
|
2909
|
+
minW?: number | undefined;
|
|
2910
|
+
maxW?: number | undefined;
|
|
2911
|
+
minH?: number | undefined;
|
|
2912
|
+
maxH?: number | undefined;
|
|
2913
|
+
moved?: boolean | undefined;
|
|
2914
|
+
static?: boolean | undefined;
|
|
2915
|
+
isDraggable?: boolean | undefined;
|
|
2916
|
+
isResizable?: boolean | undefined;
|
|
2917
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2918
|
+
isBounded?: boolean | undefined;
|
|
2919
|
+
}[] | undefined;
|
|
2920
|
+
lg?: {
|
|
2921
|
+
i: string;
|
|
2922
|
+
x: number;
|
|
2923
|
+
y: number;
|
|
2924
|
+
w: number;
|
|
2925
|
+
h: number;
|
|
2926
|
+
minW?: number | undefined;
|
|
2927
|
+
maxW?: number | undefined;
|
|
2928
|
+
minH?: number | undefined;
|
|
2929
|
+
maxH?: number | undefined;
|
|
2930
|
+
moved?: boolean | undefined;
|
|
2931
|
+
static?: boolean | undefined;
|
|
2932
|
+
isDraggable?: boolean | undefined;
|
|
2933
|
+
isResizable?: boolean | undefined;
|
|
2934
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2935
|
+
isBounded?: boolean | undefined;
|
|
2936
|
+
}[] | undefined;
|
|
2937
|
+
md?: {
|
|
2938
|
+
i: string;
|
|
2939
|
+
x: number;
|
|
2940
|
+
y: number;
|
|
2941
|
+
w: number;
|
|
2942
|
+
h: number;
|
|
2943
|
+
minW?: number | undefined;
|
|
2944
|
+
maxW?: number | undefined;
|
|
2945
|
+
minH?: number | undefined;
|
|
2946
|
+
maxH?: number | undefined;
|
|
2947
|
+
moved?: boolean | undefined;
|
|
2948
|
+
static?: boolean | undefined;
|
|
2949
|
+
isDraggable?: boolean | undefined;
|
|
2950
|
+
isResizable?: boolean | undefined;
|
|
2951
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2952
|
+
isBounded?: boolean | undefined;
|
|
2953
|
+
}[] | undefined;
|
|
2954
|
+
sm?: {
|
|
2955
|
+
i: string;
|
|
2956
|
+
x: number;
|
|
2957
|
+
y: number;
|
|
2958
|
+
w: number;
|
|
2959
|
+
h: number;
|
|
2960
|
+
minW?: number | undefined;
|
|
2961
|
+
maxW?: number | undefined;
|
|
2962
|
+
minH?: number | undefined;
|
|
2963
|
+
maxH?: number | undefined;
|
|
2964
|
+
moved?: boolean | undefined;
|
|
2965
|
+
static?: boolean | undefined;
|
|
2966
|
+
isDraggable?: boolean | undefined;
|
|
2967
|
+
isResizable?: boolean | undefined;
|
|
2968
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2969
|
+
isBounded?: boolean | undefined;
|
|
2970
|
+
}[] | undefined;
|
|
2971
|
+
xs?: {
|
|
2972
|
+
i: string;
|
|
2973
|
+
x: number;
|
|
2974
|
+
y: number;
|
|
2975
|
+
w: number;
|
|
2976
|
+
h: number;
|
|
2977
|
+
minW?: number | undefined;
|
|
2978
|
+
maxW?: number | undefined;
|
|
2979
|
+
minH?: number | undefined;
|
|
2980
|
+
maxH?: number | undefined;
|
|
2981
|
+
moved?: boolean | undefined;
|
|
2982
|
+
static?: boolean | undefined;
|
|
2983
|
+
isDraggable?: boolean | undefined;
|
|
2984
|
+
isResizable?: boolean | undefined;
|
|
2985
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
2986
|
+
isBounded?: boolean | undefined;
|
|
2987
|
+
}[] | undefined;
|
|
2988
|
+
} | null | undefined;
|
|
2309
2989
|
percentTreated?: number | null | undefined;
|
|
2310
2990
|
activeFilter?: string | null | undefined;
|
|
2311
2991
|
showFiltersOnDashboard?: boolean | null | undefined;
|
|
@@ -2475,6 +3155,93 @@ export declare const ChartDefinitionSchema: Zod.ZodEffects<Zod.ZodObject<{
|
|
|
2475
3155
|
isBounded?: boolean | undefined;
|
|
2476
3156
|
}[] | undefined;
|
|
2477
3157
|
} | null | undefined;
|
|
3158
|
+
hiddenChartLayoutMap?: {
|
|
3159
|
+
xl?: {
|
|
3160
|
+
i: string;
|
|
3161
|
+
x: number;
|
|
3162
|
+
y: number;
|
|
3163
|
+
w: number;
|
|
3164
|
+
h: number;
|
|
3165
|
+
minW?: number | undefined;
|
|
3166
|
+
maxW?: number | undefined;
|
|
3167
|
+
minH?: number | undefined;
|
|
3168
|
+
maxH?: number | undefined;
|
|
3169
|
+
moved?: boolean | undefined;
|
|
3170
|
+
static?: boolean | undefined;
|
|
3171
|
+
isDraggable?: boolean | undefined;
|
|
3172
|
+
isResizable?: boolean | undefined;
|
|
3173
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
3174
|
+
isBounded?: boolean | undefined;
|
|
3175
|
+
}[] | undefined;
|
|
3176
|
+
lg?: {
|
|
3177
|
+
i: string;
|
|
3178
|
+
x: number;
|
|
3179
|
+
y: number;
|
|
3180
|
+
w: number;
|
|
3181
|
+
h: number;
|
|
3182
|
+
minW?: number | undefined;
|
|
3183
|
+
maxW?: number | undefined;
|
|
3184
|
+
minH?: number | undefined;
|
|
3185
|
+
maxH?: number | undefined;
|
|
3186
|
+
moved?: boolean | undefined;
|
|
3187
|
+
static?: boolean | undefined;
|
|
3188
|
+
isDraggable?: boolean | undefined;
|
|
3189
|
+
isResizable?: boolean | undefined;
|
|
3190
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
3191
|
+
isBounded?: boolean | undefined;
|
|
3192
|
+
}[] | undefined;
|
|
3193
|
+
md?: {
|
|
3194
|
+
i: string;
|
|
3195
|
+
x: number;
|
|
3196
|
+
y: number;
|
|
3197
|
+
w: number;
|
|
3198
|
+
h: number;
|
|
3199
|
+
minW?: number | undefined;
|
|
3200
|
+
maxW?: number | undefined;
|
|
3201
|
+
minH?: number | undefined;
|
|
3202
|
+
maxH?: number | undefined;
|
|
3203
|
+
moved?: boolean | undefined;
|
|
3204
|
+
static?: boolean | undefined;
|
|
3205
|
+
isDraggable?: boolean | undefined;
|
|
3206
|
+
isResizable?: boolean | undefined;
|
|
3207
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
3208
|
+
isBounded?: boolean | undefined;
|
|
3209
|
+
}[] | undefined;
|
|
3210
|
+
sm?: {
|
|
3211
|
+
i: string;
|
|
3212
|
+
x: number;
|
|
3213
|
+
y: number;
|
|
3214
|
+
w: number;
|
|
3215
|
+
h: number;
|
|
3216
|
+
minW?: number | undefined;
|
|
3217
|
+
maxW?: number | undefined;
|
|
3218
|
+
minH?: number | undefined;
|
|
3219
|
+
maxH?: number | undefined;
|
|
3220
|
+
moved?: boolean | undefined;
|
|
3221
|
+
static?: boolean | undefined;
|
|
3222
|
+
isDraggable?: boolean | undefined;
|
|
3223
|
+
isResizable?: boolean | undefined;
|
|
3224
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
3225
|
+
isBounded?: boolean | undefined;
|
|
3226
|
+
}[] | undefined;
|
|
3227
|
+
xs?: {
|
|
3228
|
+
i: string;
|
|
3229
|
+
x: number;
|
|
3230
|
+
y: number;
|
|
3231
|
+
w: number;
|
|
3232
|
+
h: number;
|
|
3233
|
+
minW?: number | undefined;
|
|
3234
|
+
maxW?: number | undefined;
|
|
3235
|
+
minH?: number | undefined;
|
|
3236
|
+
maxH?: number | undefined;
|
|
3237
|
+
moved?: boolean | undefined;
|
|
3238
|
+
static?: boolean | undefined;
|
|
3239
|
+
isDraggable?: boolean | undefined;
|
|
3240
|
+
isResizable?: boolean | undefined;
|
|
3241
|
+
resizeHandles?: ("w" | "s" | "e" | "n" | "sw" | "nw" | "se" | "ne")[] | undefined;
|
|
3242
|
+
isBounded?: boolean | undefined;
|
|
3243
|
+
}[] | undefined;
|
|
3244
|
+
} | null | undefined;
|
|
2478
3245
|
xAxisName?: string | undefined;
|
|
2479
3246
|
percentTreated?: number | null | undefined;
|
|
2480
3247
|
activeFilter?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,IAAI,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,eAAO,MAAM,gBAAgB,gFAAoD,CAAC;AAClF,eAAO,MAAM,WAAW,8GAA+B,CAAC;AAExD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,MAAM,MAAM,gBAAgB,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACxE,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC1E,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
import type { Layout } from "./schema";
|
|
2
|
+
export declare function calculatePosition(lastItem: Layout): {
|
|
3
|
+
xPosition: number;
|
|
4
|
+
yPosition: number;
|
|
5
|
+
};
|
|
1
6
|
export declare function transformRawChartDefinition(data: Record<string, unknown>): Record<string, unknown>;
|
|
2
7
|
//# sourceMappingURL=transform.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../src/transform.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../src/transform.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,MAAM,EAA2B,MAAM,UAAU,CAAC;AAE7E,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAK5F;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAyMlG"}
|