@astrato-io/visualizations 0.0.0-stage → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/LICENSE +93 -0
- package/README.md +843 -2
- package/THIRD_PARTY_NOTICES.md +8387 -0
- package/VISUALIZATION_DEFINITIONS.md +2378 -0
- package/chunks/LinearProgress-CUZ0D8_t.js +253 -0
- package/chunks/Radio-Ciu-F4CU.js +957 -0
- package/chunks/ToggleButton-BCJc3Jlc.js +153 -0
- package/chunks/_baseFlatten-DPXPOrea.js +7076 -0
- package/chunks/accessors-DemrDevR.js +128 -0
- package/chunks/app-filter-bar.compiler-j_CVoWTa.js +55 -0
- package/chunks/bar.compiler-oqaPzIut.js +370 -0
- package/chunks/color-settings-ZIvgNTq1.js +10 -0
- package/chunks/coloring-C16AUZEi.js +663 -0
- package/chunks/data-item-resolution-1lvYB5ln.js +53 -0
- package/chunks/debounce-fn-CUixuz45.js +7 -0
- package/chunks/escobar-BGqT1EsE.js +34580 -0
- package/chunks/event-bus-KiSiCJrC.js +2683 -0
- package/chunks/events-WZut5Ow6.js +4 -0
- package/chunks/extend-BKUkc4_i.js +37 -0
- package/chunks/filter.compiler-CuLtc_02.js +60 -0
- package/chunks/filtering-Yq4DEa0t.js +953 -0
- package/chunks/gauge-target-type-BkKXAqkX.js +4 -0
- package/chunks/grouping-type-BX_9Ix5q.js +3 -0
- package/chunks/interfaces-VUY4_yVO.js +8742 -0
- package/chunks/line-settings-DfYTUyPz.js +4 -0
- package/chunks/line.compiler-BpA_6Tc7.js +188 -0
- package/chunks/metadata-CPXdYoln.js +28 -0
- package/chunks/number.compiler-DbkWcG4S.js +44 -0
- package/chunks/pie-uv42Eqal.js +10 -0
- package/chunks/range-DrzdfBX4.js +22 -0
- package/chunks/registry-CExpGJ1N.js +920 -0
- package/chunks/requirements-DNhuShLS.js +6 -0
- package/chunks/rolldown-runtime-DleVn1XH.js +28 -0
- package/chunks/set-coloring-datafield-B3uIS1Pe.js +8 -0
- package/chunks/shared-CKDL4hx9.js +1171 -0
- package/chunks/src-BC7cGcJ-.js +2024 -0
- package/chunks/src-BOS6SqkZ.js +67 -0
- package/chunks/src-C0LgoUWY.js +26105 -0
- package/chunks/src-Cum_2NLV.js +12145 -0
- package/chunks/src-D9XogOrc.js +422 -0
- package/chunks/src-Dun_jXtz.js +10295 -0
- package/chunks/src-DvX5LU9T.js +14742 -0
- package/chunks/standalone-87YV_m9n.js +687 -0
- package/chunks/standalone-BDCwI6Hn.js +4619 -0
- package/chunks/standalone-BH5NqDwp.js +1763 -0
- package/chunks/standalone-BLVAWLNJ.js +385 -0
- package/chunks/standalone-BPomtAVs.js +2 -0
- package/chunks/standalone-BXyBcUOQ.js +2 -0
- package/chunks/standalone-BYm1UjLr.js +140 -0
- package/chunks/standalone-BllF4rDp.js +383 -0
- package/chunks/standalone-BmfMt74U.js +726 -0
- package/chunks/standalone-BqWyrnZI.js +281 -0
- package/chunks/standalone-C85u7U6I.js +340 -0
- package/chunks/standalone-CCNtaJ7s.js +741 -0
- package/chunks/standalone-CDQnr6qT.js +345 -0
- package/chunks/standalone-CNyNHKVx.js +674 -0
- package/chunks/standalone-CY57qwZ-.js +1129 -0
- package/chunks/standalone-CZynjFG7.js +12979 -0
- package/chunks/standalone-D5vnf-9y.js +3943 -0
- package/chunks/standalone-DFPva_ku.js +299 -0
- package/chunks/standalone-DQxxNwF8.js +675 -0
- package/chunks/standalone-DS9T0FZ-.js +830 -0
- package/chunks/standalone-Dx3MLlrO.js +512 -0
- package/chunks/standalone-DzixzZAL.js +411 -0
- package/chunks/standalone-QJ1kKMnO.js +6 -0
- package/chunks/standalone-jiz0L2Dg.js +3855 -0
- package/chunks/standalone-lBm9hQ-q.js +179 -0
- package/chunks/standalone-rJ45Zfl1.js +68 -0
- package/chunks/stroke-dash-UgMEcCS4.js +6 -0
- package/chunks/table.compiler-BrXkm4Fz.js +213 -0
- package/chunks/toInteger-DVZr-D1j.js +11 -0
- package/chunks/treemap-x_zmJoG7.js +23 -0
- package/chunks/typeof-CJDtcySz.js +13 -0
- package/chunks/types-dVVCsDWD.js +4 -0
- package/chunks/ui-D1HQNIBy.js +54039 -0
- package/chunks/url-utils-B17gj_mr.js +5501 -0
- package/chunks/useFieldName-oqQ3bvnO.js +7 -0
- package/chunks/utils-Ba9T0TqC.js +31097 -0
- package/chunks/view-CLqWMV7Z.js +156 -0
- package/definitions.js +3 -0
- package/docs/operations/astrato-app-filter-bar.md +161 -0
- package/docs/operations/bar.md +7050 -0
- package/docs/operations/combo.md +5825 -0
- package/docs/operations/date-picker.md +644 -0
- package/docs/operations/distribution-gauge.md +3218 -0
- package/docs/operations/dot.md +5662 -0
- package/docs/operations/filter.md +1507 -0
- package/docs/operations/gauge.md +3452 -0
- package/docs/operations/heatMap.md +6026 -0
- package/docs/operations/histogram.md +1870 -0
- package/docs/operations/iframe.md +56 -0
- package/docs/operations/image.md +177 -0
- package/docs/operations/index.md +46 -0
- package/docs/operations/line.md +6468 -0
- package/docs/operations/number.md +3969 -0
- package/docs/operations/pie.md +6089 -0
- package/docs/operations/radar.md +4646 -0
- package/docs/operations/sankey.md +3210 -0
- package/docs/operations/scatter.md +6075 -0
- package/docs/operations/shape.md +315 -0
- package/docs/operations/simpleTextObject.md +706 -0
- package/docs/operations/slider.md +230 -0
- package/docs/operations/table.md +8790 -0
- package/docs/operations/tree.md +2874 -0
- package/docs/operations/treemap.md +3619 -0
- package/docs/operations/waterfall.md +2938 -0
- package/docs/operations/word-cloud.md +3071 -0
- package/getters.js +18 -0
- package/index.js +1183 -0
- package/metadata.js +20 -0
- package/operations.js +64 -0
- package/package.json +191 -4
- package/src/definitions/index.d.ts +2 -0
- package/src/definitions/shared/index.d.ts +5 -0
- package/src/definitions/shared/lib/available-fields.d.ts +36 -0
- package/src/definitions/shared/lib/compilers/index.d.ts +7 -0
- package/src/definitions/shared/lib/registry/compile.d.ts +2 -0
- package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +587 -0
- package/src/definitions/shared/lib/registry/index.d.ts +3 -0
- package/src/definitions/shared/lib/registry/validation.d.ts +3 -0
- package/src/definitions/shared/lib/schemas/app-filter-bar.schema.d.ts +22 -0
- package/src/definitions/shared/lib/schemas/bar.schema.d.ts +73 -0
- package/src/definitions/shared/lib/schemas/broad-chart.schema.d.ts +68 -0
- package/src/definitions/shared/lib/schemas/common.schema.d.ts +304 -0
- package/src/definitions/shared/lib/schemas/filter.schema.d.ts +22 -0
- package/src/definitions/shared/lib/schemas/index.d.ts +9 -0
- package/src/definitions/shared/lib/schemas/line.schema.d.ts +72 -0
- package/src/definitions/shared/lib/schemas/number.schema.d.ts +21 -0
- package/src/definitions/shared/lib/schemas/object.schema.d.ts +215 -0
- package/src/definitions/shared/lib/schemas/table.schema.d.ts +458 -0
- package/src/definitions/shared/lib/types/compilation.types.d.ts +36 -0
- package/src/definitions/shared/lib/types/definition.types.d.ts +2 -0
- package/src/definitions/shared/lib/types/descriptor.types.d.ts +39 -0
- package/src/definitions/shared/lib/types/index.d.ts +3 -0
- package/src/getters/index.d.ts +30 -0
- package/src/index.d.ts +4 -0
- package/src/metadata/index.d.ts +4 -0
- package/src/operations/index.d.ts +30 -0
- package/src/registry/index.d.ts +6 -0
- package/src/runtime/index.d.ts +2 -0
- package/src/types.d.ts +307 -0
- package/src/visualization-catalog.d.ts +82 -0
- package/src/web-components/index.d.ts +12 -0
- package/styles.css +2 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const numberVisualizationDefinitionSchema: z.ZodObject<{
|
|
3
|
+
data: z.ZodObject<{
|
|
4
|
+
measure: z.ZodObject<{
|
|
5
|
+
aggregation: z.ZodOptional<z.ZodString>;
|
|
6
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
8
|
+
currencyIsPrefix: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
formatString: z.ZodOptional<z.ZodString>;
|
|
10
|
+
formatType: z.ZodOptional<z.ZodType<"custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime", unknown, z.core.$ZodTypeInternals<"custom" | "day" | "month" | "none" | "inherit" | "quarter" | "yyyy" | "yy" | "hh" | "ddmmyyyy" | "ddmmyyyy2" | "ddmmyyyy3" | "yyyymmdd" | "mmddyyyy" | "mmddyyyy2" | "ddmmmmyyyy" | "ddmmmyyyy" | "ddmmmyy" | "mmmmddyyyy" | "mmmyyyy" | "yyyymmm" | "yyyymmmm" | "mmyyyy" | "yyyymm" | "mmmmyyyy" | "yyyywn" | "wnyyyy" | "yywn" | "yyyyq" | "qyyyy" | "yyyymmddhhmmss" | "yyyymmddhmmss" | "yyyymmddhhmm" | "yyyymmddhh" | "yyyymmddhmm" | "yyyymmddh" | "ddmmmyyyyhhmmss" | "ddmmmyyyyhmmss" | "ddmmmyyyyhhmm" | "ddmmmyyyyhmm" | "ddmmmyyyyh" | "hhmmss" | "hhmm" | "hmm" | "h" | "hmmss" | "month2" | "monthn" | "month3" | "quarter2" | "week1" | "week2" | "week3" | "dayOfWeek" | "hhn" | "hn" | "defaultNumber" | "defaultMoney" | "numberNoDecimal" | "number1Decimal" | "number2Decimal" | "abbreviationAuto" | "abbreviationNoDecimal" | "abbreviation1Decimal" | "abbreviation2Decimal" | "percentageNoDecimal" | "percentage1Decimal" | "percentage2Decimal" | "money0Decimal" | "money2Decimal" | "durationDays" | "durationHours" | "durationMinutes" | "durationSeconds" | "defaultDate" | "defaultDatetime" | "defaultTime", unknown>>>;
|
|
11
|
+
negativeType: z.ZodOptional<z.ZodType<"symbol" | "parenthesis", unknown, z.core.$ZodTypeInternals<"symbol" | "parenthesis", unknown>>>;
|
|
12
|
+
}, z.core.$strict>>;
|
|
13
|
+
fieldKey: z.ZodString;
|
|
14
|
+
ref: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
filterGroup: z.ZodOptional<z.ZodType<import("./common.schema").VisualizationStaticFilterGroup, unknown, z.core.$ZodTypeInternals<import("./common.schema").VisualizationStaticFilterGroup, unknown>>>;
|
|
18
|
+
type: z.ZodLiteral<"number">;
|
|
19
|
+
version: z.ZodLiteral<1>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export type NumberVisualizationDefinition = z.infer<typeof numberVisualizationDefinitionSchema>;
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const datePickerVisualizationDefinitionSchema: z.ZodObject<{
|
|
3
|
+
data: z.ZodObject<{
|
|
4
|
+
field: z.ZodObject<{
|
|
5
|
+
fieldKey: z.ZodString;
|
|
6
|
+
ref: z.ZodString;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
settings: z.ZodOptional<z.ZodType<{
|
|
10
|
+
responsive?: boolean | undefined;
|
|
11
|
+
weekStart?: "0" | "1" | undefined;
|
|
12
|
+
pickerState?: "expanded" | "collapsed" | undefined;
|
|
13
|
+
pickerType?: "range" | "inputRange" | "inputSingle" | undefined;
|
|
14
|
+
startDateLabel?: string | {
|
|
15
|
+
type: "variable";
|
|
16
|
+
variableName: string;
|
|
17
|
+
} | null | undefined;
|
|
18
|
+
endDateLabel?: string | {
|
|
19
|
+
type: "variable";
|
|
20
|
+
variableName: string;
|
|
21
|
+
} | null | undefined;
|
|
22
|
+
quickSelect?: boolean | undefined;
|
|
23
|
+
timePickerVisibility?: "always" | "never" | "whenTimestampSelected" | undefined;
|
|
24
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
25
|
+
responsive?: boolean | undefined;
|
|
26
|
+
weekStart?: "0" | "1" | undefined;
|
|
27
|
+
pickerState?: "expanded" | "collapsed" | undefined;
|
|
28
|
+
pickerType?: "range" | "inputRange" | "inputSingle" | undefined;
|
|
29
|
+
startDateLabel?: string | {
|
|
30
|
+
type: "variable";
|
|
31
|
+
variableName: string;
|
|
32
|
+
} | null | undefined;
|
|
33
|
+
endDateLabel?: string | {
|
|
34
|
+
type: "variable";
|
|
35
|
+
variableName: string;
|
|
36
|
+
} | null | undefined;
|
|
37
|
+
quickSelect?: boolean | undefined;
|
|
38
|
+
timePickerVisibility?: "always" | "never" | "whenTimestampSelected" | undefined;
|
|
39
|
+
}, unknown>>>;
|
|
40
|
+
type: z.ZodLiteral<"date-picker">;
|
|
41
|
+
version: z.ZodLiteral<1>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export declare const iframeVisualizationDefinitionSchema: z.ZodObject<{
|
|
44
|
+
settings: z.ZodObject<{
|
|
45
|
+
url: z.ZodNullable<z.ZodString>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
type: z.ZodLiteral<"iframe">;
|
|
48
|
+
version: z.ZodLiteral<1>;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
export declare const imageVisualizationDefinitionSchema: z.ZodObject<{
|
|
51
|
+
settings: z.ZodType<{
|
|
52
|
+
blur?: number | undefined;
|
|
53
|
+
fit?: "none" | "fill" | "contain" | "cover" | undefined;
|
|
54
|
+
opacity?: number | undefined;
|
|
55
|
+
saturation?: number | undefined;
|
|
56
|
+
shadow?: boolean | undefined;
|
|
57
|
+
source?: {
|
|
58
|
+
sourceKind: "url";
|
|
59
|
+
imageUrl: string;
|
|
60
|
+
} | {
|
|
61
|
+
sourceKind: "mediaItem";
|
|
62
|
+
mediaItemId: string;
|
|
63
|
+
} | {
|
|
64
|
+
sourceKind: "variable";
|
|
65
|
+
variableName: string;
|
|
66
|
+
} | {
|
|
67
|
+
sourceKind: "none";
|
|
68
|
+
} | undefined;
|
|
69
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
70
|
+
blur?: number | undefined;
|
|
71
|
+
fit?: "none" | "fill" | "contain" | "cover" | undefined;
|
|
72
|
+
opacity?: number | undefined;
|
|
73
|
+
saturation?: number | undefined;
|
|
74
|
+
shadow?: boolean | undefined;
|
|
75
|
+
source?: {
|
|
76
|
+
sourceKind: "url";
|
|
77
|
+
imageUrl: string;
|
|
78
|
+
} | {
|
|
79
|
+
sourceKind: "mediaItem";
|
|
80
|
+
mediaItemId: string;
|
|
81
|
+
} | {
|
|
82
|
+
sourceKind: "variable";
|
|
83
|
+
variableName: string;
|
|
84
|
+
} | {
|
|
85
|
+
sourceKind: "none";
|
|
86
|
+
} | undefined;
|
|
87
|
+
}, unknown>>;
|
|
88
|
+
type: z.ZodLiteral<"image">;
|
|
89
|
+
version: z.ZodLiteral<1>;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export declare const shapeVisualizationDefinitionSchema: z.ZodObject<{
|
|
92
|
+
settings: z.ZodType<{
|
|
93
|
+
shape?: "line" | "circle" | "triangle" | "square" | "hexagon" | "arrow" | "rectangle" | "elbow" | undefined;
|
|
94
|
+
backgroundColor?: {
|
|
95
|
+
code: string;
|
|
96
|
+
} | undefined;
|
|
97
|
+
backgroundType?: "image" | "color" | undefined;
|
|
98
|
+
borderRadius?: number | undefined;
|
|
99
|
+
strokeColor?: {
|
|
100
|
+
code: string;
|
|
101
|
+
} | undefined;
|
|
102
|
+
rotate?: number | undefined;
|
|
103
|
+
borderEnabled?: boolean | undefined;
|
|
104
|
+
imageFit?: "none" | "xMidYMid slice" | undefined;
|
|
105
|
+
scale?: number | undefined;
|
|
106
|
+
imageURL?: string | undefined;
|
|
107
|
+
lineThickness?: number | undefined;
|
|
108
|
+
preserveAspectRatio?: boolean | undefined;
|
|
109
|
+
heightBasedSize?: boolean | undefined;
|
|
110
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
111
|
+
shape?: "line" | "circle" | "triangle" | "square" | "hexagon" | "arrow" | "rectangle" | "elbow" | undefined;
|
|
112
|
+
backgroundColor?: {
|
|
113
|
+
code: string;
|
|
114
|
+
} | undefined;
|
|
115
|
+
backgroundType?: "image" | "color" | undefined;
|
|
116
|
+
borderRadius?: number | undefined;
|
|
117
|
+
strokeColor?: {
|
|
118
|
+
code: string;
|
|
119
|
+
} | undefined;
|
|
120
|
+
rotate?: number | undefined;
|
|
121
|
+
borderEnabled?: boolean | undefined;
|
|
122
|
+
imageFit?: "none" | "xMidYMid slice" | undefined;
|
|
123
|
+
scale?: number | undefined;
|
|
124
|
+
imageURL?: string | undefined;
|
|
125
|
+
lineThickness?: number | undefined;
|
|
126
|
+
preserveAspectRatio?: boolean | undefined;
|
|
127
|
+
heightBasedSize?: boolean | undefined;
|
|
128
|
+
}, unknown>>;
|
|
129
|
+
type: z.ZodLiteral<"shape">;
|
|
130
|
+
version: z.ZodLiteral<1>;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
export declare const textVisualizationDefinitionSchema: z.ZodObject<{
|
|
133
|
+
settings: z.ZodType<{
|
|
134
|
+
align?: "left" | "right" | "justify" | "center" | undefined;
|
|
135
|
+
content?: string | undefined;
|
|
136
|
+
fontFamily?: string | null | undefined;
|
|
137
|
+
fontSize?: number | undefined;
|
|
138
|
+
position?: "top" | "bottom" | "middle" | "auto" | undefined;
|
|
139
|
+
representation?: "html" | "text" | "markdown" | undefined;
|
|
140
|
+
responsive?: boolean | undefined;
|
|
141
|
+
textColor?: string | null | undefined;
|
|
142
|
+
wordWrap?: boolean | undefined;
|
|
143
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
144
|
+
align?: "left" | "right" | "justify" | "center" | undefined;
|
|
145
|
+
content?: string | undefined;
|
|
146
|
+
fontFamily?: string | null | undefined;
|
|
147
|
+
fontSize?: number | undefined;
|
|
148
|
+
position?: "top" | "bottom" | "middle" | "auto" | undefined;
|
|
149
|
+
representation?: "html" | "text" | "markdown" | undefined;
|
|
150
|
+
responsive?: boolean | undefined;
|
|
151
|
+
textColor?: string | null | undefined;
|
|
152
|
+
wordWrap?: boolean | undefined;
|
|
153
|
+
}, unknown>>;
|
|
154
|
+
type: z.ZodLiteral<"simpleTextObject">;
|
|
155
|
+
version: z.ZodLiteral<1>;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
export declare const atomicInputVisualizationDefinitionSchema: z.ZodObject<{
|
|
158
|
+
settings: z.ZodType<{
|
|
159
|
+
customLabel?: {
|
|
160
|
+
enabled: boolean;
|
|
161
|
+
text?: string | null | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
hideLabel?: boolean | undefined;
|
|
164
|
+
inputType?: "slider" | "date" | "checkbox" | "dropdown" | "numeric" | "text" | "textArea" | "toggle" | "range-slider" | undefined;
|
|
165
|
+
placeholder?: string | null | undefined;
|
|
166
|
+
responsive?: boolean | undefined;
|
|
167
|
+
variableId?: string | null | undefined;
|
|
168
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
169
|
+
customLabel?: {
|
|
170
|
+
enabled: boolean;
|
|
171
|
+
text?: string | null | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
hideLabel?: boolean | undefined;
|
|
174
|
+
inputType?: "slider" | "date" | "checkbox" | "dropdown" | "numeric" | "text" | "textArea" | "toggle" | "range-slider" | undefined;
|
|
175
|
+
placeholder?: string | null | undefined;
|
|
176
|
+
responsive?: boolean | undefined;
|
|
177
|
+
variableId?: string | null | undefined;
|
|
178
|
+
}, unknown>>;
|
|
179
|
+
type: z.ZodLiteral<"atomic-input">;
|
|
180
|
+
version: z.ZodLiteral<1>;
|
|
181
|
+
}, z.core.$strict>;
|
|
182
|
+
export declare const sliderVisualizationDefinitionSchema: z.ZodObject<{
|
|
183
|
+
data: z.ZodObject<{
|
|
184
|
+
field: z.ZodObject<{
|
|
185
|
+
fieldKey: z.ZodString;
|
|
186
|
+
ref: z.ZodString;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
settings: z.ZodOptional<z.ZodType<{
|
|
190
|
+
layout?: "auto" | "single" | "multi" | undefined;
|
|
191
|
+
range?: {
|
|
192
|
+
min: number;
|
|
193
|
+
max: number;
|
|
194
|
+
} | undefined;
|
|
195
|
+
step?: number | undefined;
|
|
196
|
+
quickSelect?: boolean | undefined;
|
|
197
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
198
|
+
layout?: "auto" | "single" | "multi" | undefined;
|
|
199
|
+
range?: {
|
|
200
|
+
min: number;
|
|
201
|
+
max: number;
|
|
202
|
+
} | undefined;
|
|
203
|
+
step?: number | undefined;
|
|
204
|
+
quickSelect?: boolean | undefined;
|
|
205
|
+
}, unknown>>>;
|
|
206
|
+
type: z.ZodLiteral<"slider">;
|
|
207
|
+
version: z.ZodLiteral<1>;
|
|
208
|
+
}, z.core.$strict>;
|
|
209
|
+
export type AtomicInputVisualizationDefinition = z.infer<typeof atomicInputVisualizationDefinitionSchema>;
|
|
210
|
+
export type DatePickerVisualizationDefinition = z.infer<typeof datePickerVisualizationDefinitionSchema>;
|
|
211
|
+
export type IframeVisualizationDefinition = z.infer<typeof iframeVisualizationDefinitionSchema>;
|
|
212
|
+
export type ImageVisualizationDefinition = z.infer<typeof imageVisualizationDefinitionSchema>;
|
|
213
|
+
export type ShapeVisualizationDefinition = z.infer<typeof shapeVisualizationDefinitionSchema>;
|
|
214
|
+
export type SliderVisualizationDefinition = z.infer<typeof sliderVisualizationDefinitionSchema>;
|
|
215
|
+
export type TextVisualizationDefinition = z.infer<typeof textVisualizationDefinitionSchema>;
|