@antelopejs/interface-dms 0.15.1-next.1020.g0c3c63d → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/base/activity-feed.d.ts +38 -137
- package/dist/base/banner.d.ts +34 -60
- package/dist/base/block-registry/helpers.d.ts +5 -5
- package/dist/base/block-registry/helpers.js.map +1 -1
- package/dist/base/block-registry/internal/describe.d.ts +3 -3
- package/dist/base/block-registry/internal/describe.js +120 -126
- package/dist/base/block-registry/internal/describe.js.map +1 -1
- package/dist/base/block-registry/internal/ui.d.ts +6 -4
- package/dist/base/block-registry/internal/ui.js +6 -2
- package/dist/base/block-registry/internal/ui.js.map +1 -1
- package/dist/base/block-registry/registry.d.ts +2 -2
- package/dist/base/block-registry/registry.js.map +1 -1
- package/dist/base/block-registry/types.d.ts +4 -4
- package/dist/base/card.d.ts +24 -46
- package/dist/base/chart-card.d.ts +10 -39
- package/dist/base/chart-schemas.d.ts +404 -2542
- package/dist/base/code-block.d.ts +12 -22
- package/dist/base/data-types/default/address.d.ts +1 -19
- package/dist/base/data-types/default/choices.d.ts +1 -1
- package/dist/base/data-types/default/files.d.ts +6 -30
- package/dist/base/data-types/default/numbers.d.ts +5 -17
- package/dist/base/data-types/default/numbers.js.map +1 -1
- package/dist/base/data-types/default/strings.d.ts +1 -1
- package/dist/base/data-types/field-types.d.ts +7 -17
- package/dist/base/display.d.ts +42 -48
- package/dist/base/empty-state.d.ts +48 -70
- package/dist/base/export-jobs.d.ts +3 -3
- package/dist/base/form-block-schema.d.ts +56 -510
- package/dist/base/form-block-schema.js +1 -1
- package/dist/base/form-block-schema.js.map +1 -1
- package/dist/base/form-schema.d.ts +0 -1
- package/dist/base/form-schema.js +0 -1
- package/dist/base/form-schema.js.map +1 -1
- package/dist/base/form-types.d.ts +2 -2
- package/dist/base/grid.d.ts +2 -12
- package/dist/base/guard.d.ts +55 -132
- package/dist/base/internal/composed-text.d.ts +3 -3
- package/dist/base/internal/composed-text.js +1 -1
- package/dist/base/internal/composed-text.js.map +1 -1
- package/dist/base/internal/display.d.ts +1 -1
- package/dist/base/internal/display.js.map +1 -1
- package/dist/base/internal/export-jobs.d.ts +2 -2
- package/dist/base/internal/export-jobs.js.map +1 -1
- package/dist/base/internal/form-schema-components.d.ts +11 -0
- package/dist/base/internal/form-schema-components.js +82 -2
- package/dist/base/internal/form-schema-components.js.map +1 -1
- package/dist/base/internal/form-schema-validation.d.ts +3 -5
- package/dist/base/internal/form-schema-validation.js +1 -1
- package/dist/base/internal/form-schema-validation.js.map +1 -1
- package/dist/base/key-value-list.d.ts +25 -92
- package/dist/base/kpi-card.d.ts +15 -49
- package/dist/base/live-toggle.d.ts +15 -16
- package/dist/base/meter.d.ts +56 -92
- package/dist/base/nav-card-grid.d.ts +29 -92
- package/dist/base/page-toolbar.d.ts +6 -10
- package/dist/base/period-selector.d.ts +95 -44
- package/dist/base/period-selector.js +2 -2
- package/dist/base/period-selector.js.map +1 -1
- package/dist/base/placeholder.d.ts +1 -9
- package/dist/base/resource-form-schema.d.ts +10 -25
- package/dist/base/resource-form-schema.js +1 -1
- package/dist/base/resource-form-schema.js.map +1 -1
- package/dist/base/section.d.ts +7 -25
- package/dist/base/stack.d.ts +31 -37
- package/dist/base/stat-group.d.ts +37 -84
- package/dist/base/tab.d.ts +19 -124
- package/dist/base/table-view/internal/meta-helpers.js +23 -1
- package/dist/base/table-view/internal/meta-helpers.js.map +1 -1
- package/dist/base/table-view/internal/row-actions-schema.d.ts +42 -258
- package/dist/base/table-view/schema.d.ts +135 -1222
- package/dist/base/table-view/schema.js +3 -3
- package/dist/base/table-view/schema.js.map +1 -1
- package/dist/base/top-list-card.d.ts +37 -151
- package/dist/invite-extensions/internal/types.d.ts +3 -4
- package/dist/invite-extensions/types.d.ts +2 -2
- package/docs/1.core/6.invites.md +1 -1
- package/docs/3.base/1.introduction.md +1 -1
- package/docs/3.base/9.helpers.md +1 -1
- package/package.json +3 -4
|
@@ -87,111 +87,44 @@ export declare function KeyValueList(options?: KeyValueListProps): ComponentBuil
|
|
|
87
87
|
/** The options `KeyValueList` accepts. */
|
|
88
88
|
export declare const KeyValueListSchema: z.ZodObject<{
|
|
89
89
|
fetchUrl: z.ZodOptional<z.ZodString>;
|
|
90
|
-
fetchUrlMethod: z.ZodOptional<z.
|
|
90
|
+
fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof import("./types").HttpMethod>>;
|
|
91
91
|
periodScope: z.ZodOptional<z.ZodString>;
|
|
92
|
-
realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
92
|
+
realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
93
93
|
empty: z.ZodOptional<z.ZodObject<{
|
|
94
94
|
title: z.ZodString;
|
|
95
95
|
description: z.ZodOptional<z.ZodString>;
|
|
96
|
-
},
|
|
97
|
-
title: string;
|
|
98
|
-
description?: string | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
title: string;
|
|
101
|
-
description?: string | undefined;
|
|
102
|
-
}>>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
103
97
|
skeletonCount: z.ZodOptional<z.ZodNumber>;
|
|
104
98
|
title: z.ZodOptional<z.ZodString>;
|
|
105
99
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
100
|
id: z.ZodOptional<z.ZodString>;
|
|
107
|
-
label: z.ZodType<BlockText, z.
|
|
108
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodType<BlockText, z.
|
|
109
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
101
|
+
label: z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>;
|
|
102
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>, z.ZodNumber]>>>;
|
|
103
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
date: "date";
|
|
105
|
+
link: "link";
|
|
106
|
+
money: "money";
|
|
107
|
+
mono: "mono";
|
|
108
|
+
status: "status";
|
|
109
|
+
text: "text";
|
|
110
|
+
}>>;
|
|
110
111
|
to: z.ZodOptional<z.ZodString>;
|
|
111
|
-
tone: z.ZodOptional<z.ZodEnum<
|
|
112
|
-
|
|
112
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
113
|
+
error: "error";
|
|
114
|
+
info: "info";
|
|
115
|
+
neutral: "neutral";
|
|
116
|
+
primary: "primary";
|
|
117
|
+
secondary: "secondary";
|
|
118
|
+
success: "success";
|
|
119
|
+
warning: "warning";
|
|
120
|
+
}>>;
|
|
121
|
+
detail: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
113
122
|
currency: z.ZodOptional<z.ZodString>;
|
|
114
123
|
copy: z.ZodOptional<z.ZodBoolean>;
|
|
115
124
|
copyValue: z.ZodOptional<z.ZodString>;
|
|
116
|
-
},
|
|
117
|
-
id?: string | undefined;
|
|
118
|
-
label: BlockText;
|
|
119
|
-
value?: number | BlockText | null | undefined;
|
|
120
|
-
type?: "date" | "link" | "money" | "mono" | "status" | "text" | undefined;
|
|
121
|
-
to?: string | undefined;
|
|
122
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
123
|
-
detail?: BlockText | undefined;
|
|
124
|
-
currency?: string | undefined;
|
|
125
|
-
copy?: boolean | undefined;
|
|
126
|
-
copyValue?: string | undefined;
|
|
127
|
-
}, {
|
|
128
|
-
id?: string | undefined;
|
|
129
|
-
label: BlockText;
|
|
130
|
-
value?: number | BlockText | null | undefined;
|
|
131
|
-
type?: "date" | "link" | "money" | "mono" | "status" | "text" | undefined;
|
|
132
|
-
to?: string | undefined;
|
|
133
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
134
|
-
detail?: BlockText | undefined;
|
|
135
|
-
currency?: string | undefined;
|
|
136
|
-
copy?: boolean | undefined;
|
|
137
|
-
copyValue?: string | undefined;
|
|
138
|
-
}>, "many">>;
|
|
125
|
+
}, z.core.$strip>>>;
|
|
139
126
|
card: z.ZodDefault<z.ZodBoolean>;
|
|
140
127
|
dense: z.ZodOptional<z.ZodBoolean>;
|
|
141
128
|
columns: z.ZodDefault<z.ZodNumber>;
|
|
142
129
|
currency: z.ZodOptional<z.ZodString>;
|
|
143
|
-
},
|
|
144
|
-
fetchUrl?: string | undefined;
|
|
145
|
-
fetchUrlMethod?: import("./types").HttpMethod | undefined;
|
|
146
|
-
periodScope?: string | undefined;
|
|
147
|
-
realtimeTopic?: string | string[] | undefined;
|
|
148
|
-
empty?: {
|
|
149
|
-
title: string;
|
|
150
|
-
description?: string | undefined;
|
|
151
|
-
} | undefined;
|
|
152
|
-
skeletonCount?: number | undefined;
|
|
153
|
-
title?: string | undefined;
|
|
154
|
-
items?: {
|
|
155
|
-
id?: string | undefined;
|
|
156
|
-
label: BlockText;
|
|
157
|
-
value?: number | BlockText | null | undefined;
|
|
158
|
-
type?: "date" | "link" | "money" | "mono" | "status" | "text" | undefined;
|
|
159
|
-
to?: string | undefined;
|
|
160
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
161
|
-
detail?: BlockText | undefined;
|
|
162
|
-
currency?: string | undefined;
|
|
163
|
-
copy?: boolean | undefined;
|
|
164
|
-
copyValue?: string | undefined;
|
|
165
|
-
}[] | undefined;
|
|
166
|
-
card: boolean;
|
|
167
|
-
dense?: boolean | undefined;
|
|
168
|
-
columns: number;
|
|
169
|
-
currency?: string | undefined;
|
|
170
|
-
}, {
|
|
171
|
-
fetchUrl?: string | undefined;
|
|
172
|
-
fetchUrlMethod?: import("./types").HttpMethod | undefined;
|
|
173
|
-
periodScope?: string | undefined;
|
|
174
|
-
realtimeTopic?: string | string[] | undefined;
|
|
175
|
-
empty?: {
|
|
176
|
-
title: string;
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
} | undefined;
|
|
179
|
-
skeletonCount?: number | undefined;
|
|
180
|
-
title?: string | undefined;
|
|
181
|
-
items?: {
|
|
182
|
-
id?: string | undefined;
|
|
183
|
-
label: BlockText;
|
|
184
|
-
value?: number | BlockText | null | undefined;
|
|
185
|
-
type?: "date" | "link" | "money" | "mono" | "status" | "text" | undefined;
|
|
186
|
-
to?: string | undefined;
|
|
187
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
188
|
-
detail?: BlockText | undefined;
|
|
189
|
-
currency?: string | undefined;
|
|
190
|
-
copy?: boolean | undefined;
|
|
191
|
-
copyValue?: string | undefined;
|
|
192
|
-
}[] | undefined;
|
|
193
|
-
card?: boolean | undefined;
|
|
194
|
-
dense?: boolean | undefined;
|
|
195
|
-
columns?: number | undefined;
|
|
196
|
-
currency?: string | undefined;
|
|
197
|
-
}>;
|
|
130
|
+
}, z.core.$strip>;
|
package/dist/base/kpi-card.d.ts
CHANGED
|
@@ -68,63 +68,29 @@ export declare const KpiCardSchema: z.ZodObject<{
|
|
|
68
68
|
title: z.ZodString;
|
|
69
69
|
description: z.ZodOptional<z.ZodString>;
|
|
70
70
|
icon: z.ZodOptional<z.ZodString>;
|
|
71
|
-
variant: z.ZodOptional<z.ZodEnum<
|
|
71
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
default: "default";
|
|
73
|
+
stat: "stat";
|
|
74
|
+
}>>;
|
|
72
75
|
fetchUrl: z.ZodOptional<z.ZodString>;
|
|
73
|
-
fetchUrlMethod: z.ZodOptional<z.
|
|
76
|
+
fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
|
|
74
77
|
periodScope: z.ZodOptional<z.ZodString>;
|
|
75
|
-
realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
76
|
-
valueFormat: z.ZodOptional<z.ZodEnum<
|
|
78
|
+
realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
79
|
+
valueFormat: z.ZodOptional<z.ZodEnum<{
|
|
80
|
+
compact: "compact";
|
|
81
|
+
currency: "currency";
|
|
82
|
+
number: "number";
|
|
83
|
+
percent: "percent";
|
|
84
|
+
}>>;
|
|
77
85
|
currencyCode: z.ZodOptional<z.ZodString>;
|
|
78
86
|
showDelta: z.ZodOptional<z.ZodBoolean>;
|
|
79
87
|
showPreviousValue: z.ZodOptional<z.ZodBoolean>;
|
|
80
88
|
showSparkline: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
-
sparklineAccent: z.ZodOptional<z.ZodType<"auto" | ChartColorValue, z.
|
|
89
|
+
sparklineAccent: z.ZodOptional<z.ZodType<"auto" | ChartColorValue, "auto" | ChartColorValue, z.core.$ZodTypeInternals<"auto" | ChartColorValue, "auto" | ChartColorValue>>>;
|
|
82
90
|
invert: z.ZodOptional<z.ZodBoolean>;
|
|
83
91
|
compareLabel: z.ZodOptional<z.ZodString>;
|
|
84
92
|
staticValue: z.ZodOptional<z.ZodNumber>;
|
|
85
93
|
staticDelta: z.ZodOptional<z.ZodNumber>;
|
|
86
94
|
staticPreviousValue: z.ZodOptional<z.ZodNumber>;
|
|
87
|
-
staticSparkline: z.ZodOptional<z.ZodArray<z.ZodNumber
|
|
88
|
-
},
|
|
89
|
-
title: string;
|
|
90
|
-
description?: string | undefined;
|
|
91
|
-
icon?: string | undefined;
|
|
92
|
-
variant?: "default" | "stat" | undefined;
|
|
93
|
-
fetchUrl?: string | undefined;
|
|
94
|
-
fetchUrlMethod?: HttpMethod | undefined;
|
|
95
|
-
periodScope?: string | undefined;
|
|
96
|
-
realtimeTopic?: string | string[] | undefined;
|
|
97
|
-
valueFormat?: "compact" | "currency" | "number" | "percent" | undefined;
|
|
98
|
-
currencyCode?: string | undefined;
|
|
99
|
-
showDelta?: boolean | undefined;
|
|
100
|
-
showPreviousValue?: boolean | undefined;
|
|
101
|
-
showSparkline?: boolean | undefined;
|
|
102
|
-
sparklineAccent?: "auto" | ChartColorValue | undefined;
|
|
103
|
-
invert?: boolean | undefined;
|
|
104
|
-
compareLabel?: string | undefined;
|
|
105
|
-
staticValue?: number | undefined;
|
|
106
|
-
staticDelta?: number | undefined;
|
|
107
|
-
staticPreviousValue?: number | undefined;
|
|
108
|
-
staticSparkline?: number[] | undefined;
|
|
109
|
-
}, {
|
|
110
|
-
title: string;
|
|
111
|
-
description?: string | undefined;
|
|
112
|
-
icon?: string | undefined;
|
|
113
|
-
variant?: "default" | "stat" | undefined;
|
|
114
|
-
fetchUrl?: string | undefined;
|
|
115
|
-
fetchUrlMethod?: HttpMethod | undefined;
|
|
116
|
-
periodScope?: string | undefined;
|
|
117
|
-
realtimeTopic?: string | string[] | undefined;
|
|
118
|
-
valueFormat?: "compact" | "currency" | "number" | "percent" | undefined;
|
|
119
|
-
currencyCode?: string | undefined;
|
|
120
|
-
showDelta?: boolean | undefined;
|
|
121
|
-
showPreviousValue?: boolean | undefined;
|
|
122
|
-
showSparkline?: boolean | undefined;
|
|
123
|
-
sparklineAccent?: "auto" | ChartColorValue | undefined;
|
|
124
|
-
invert?: boolean | undefined;
|
|
125
|
-
compareLabel?: string | undefined;
|
|
126
|
-
staticValue?: number | undefined;
|
|
127
|
-
staticDelta?: number | undefined;
|
|
128
|
-
staticPreviousValue?: number | undefined;
|
|
129
|
-
staticSparkline?: number[] | undefined;
|
|
130
|
-
}>;
|
|
95
|
+
staticSparkline: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
96
|
+
}, z.core.$strip>;
|
|
@@ -61,21 +61,20 @@ export interface LiveToggleProps extends BaseComponentProps {
|
|
|
61
61
|
export declare function LiveToggle(options?: LiveToggleProps): ComponentBuilder<LiveToggleProps>;
|
|
62
62
|
/** The options `LiveToggle` accepts. */
|
|
63
63
|
export declare const LiveToggleSchema: z.ZodObject<{
|
|
64
|
-
align: z.ZodOptional<z.ZodEnum<
|
|
64
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
center: "center";
|
|
66
|
+
left: "left";
|
|
67
|
+
right: "right";
|
|
68
|
+
}>>;
|
|
65
69
|
showUpdatedAt: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
-
variant: z.ZodOptional<z.ZodEnum<
|
|
67
|
-
|
|
70
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
pill: "pill";
|
|
72
|
+
segmented: "segmented";
|
|
73
|
+
}>>;
|
|
74
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
md: "md";
|
|
76
|
+
sm: "sm";
|
|
77
|
+
xs: "xs";
|
|
78
|
+
}>>;
|
|
68
79
|
missedLabel: z.ZodOptional<z.ZodString>;
|
|
69
|
-
},
|
|
70
|
-
align?: "center" | "left" | "right" | undefined;
|
|
71
|
-
showUpdatedAt?: boolean | undefined;
|
|
72
|
-
variant?: "pill" | "segmented" | undefined;
|
|
73
|
-
size?: "md" | "sm" | "xs" | undefined;
|
|
74
|
-
missedLabel?: string | undefined;
|
|
75
|
-
}, {
|
|
76
|
-
align?: "center" | "left" | "right" | undefined;
|
|
77
|
-
showUpdatedAt?: boolean | undefined;
|
|
78
|
-
variant?: "pill" | "segmented" | undefined;
|
|
79
|
-
size?: "md" | "sm" | "xs" | undefined;
|
|
80
|
-
missedLabel?: string | undefined;
|
|
81
|
-
}>;
|
|
80
|
+
}, z.core.$strip>;
|
package/dist/base/meter.d.ts
CHANGED
|
@@ -102,109 +102,73 @@ export declare function Meter(options?: MeterProps): ComponentBuilder<MeterProps
|
|
|
102
102
|
/** The options `Meter` accepts. */
|
|
103
103
|
export declare const MeterSchema: z.ZodObject<{
|
|
104
104
|
label: z.ZodOptional<z.ZodString>;
|
|
105
|
-
hint: z.ZodOptional<z.ZodType<BlockText, z.
|
|
105
|
+
hint: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
106
106
|
value: z.ZodOptional<z.ZodNumber>;
|
|
107
107
|
max: z.ZodOptional<z.ZodNumber>;
|
|
108
108
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
109
|
value: z.ZodNumber;
|
|
110
|
-
tone: z.ZodOptional<z.ZodEnum<
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
110
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
111
|
+
error: "error";
|
|
112
|
+
info: "info";
|
|
113
|
+
neutral: "neutral";
|
|
114
|
+
primary: "primary";
|
|
115
|
+
secondary: "secondary";
|
|
116
|
+
soft: "soft";
|
|
117
|
+
success: "success";
|
|
118
|
+
warning: "warning";
|
|
119
|
+
}>>;
|
|
120
|
+
label: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
121
|
+
}, z.core.$strip>>>;
|
|
121
122
|
legend: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
format: z.ZodOptional<z.ZodEnum<
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
124
|
+
fraction: "fraction";
|
|
125
|
+
none: "none";
|
|
126
|
+
percent: "percent";
|
|
127
|
+
value: "value";
|
|
128
|
+
}>>;
|
|
129
|
+
valueLabel: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
130
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
error: "error";
|
|
132
|
+
info: "info";
|
|
133
|
+
neutral: "neutral";
|
|
134
|
+
primary: "primary";
|
|
135
|
+
secondary: "secondary";
|
|
136
|
+
soft: "soft";
|
|
137
|
+
success: "success";
|
|
138
|
+
warning: "warning";
|
|
139
|
+
}>>;
|
|
125
140
|
warnAt: z.ZodOptional<z.ZodNumber>;
|
|
126
141
|
errorAt: z.ZodOptional<z.ZodNumber>;
|
|
127
|
-
size: z.ZodOptional<z.ZodEnum<
|
|
142
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
143
|
+
md: "md";
|
|
144
|
+
sm: "sm";
|
|
145
|
+
xs: "xs";
|
|
146
|
+
}>>;
|
|
128
147
|
fetchUrl: z.ZodOptional<z.ZodString>;
|
|
129
|
-
fetchUrlMethod: z.ZodOptional<z.
|
|
148
|
+
fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
|
|
130
149
|
periodScope: z.ZodOptional<z.ZodString>;
|
|
131
|
-
realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
150
|
+
realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
132
151
|
card: z.ZodDefault<z.ZodBoolean>;
|
|
133
152
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
134
153
|
label: z.ZodString;
|
|
135
154
|
to: z.ZodString;
|
|
136
155
|
icon: z.ZodOptional<z.ZodString>;
|
|
137
|
-
variant: z.ZodOptional<z.ZodEnum<
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
max?: number | undefined;
|
|
157
|
-
segments?: {
|
|
158
|
-
value: number;
|
|
159
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "soft" | "success" | "warning" | undefined;
|
|
160
|
-
label?: BlockText | undefined;
|
|
161
|
-
}[] | undefined;
|
|
162
|
-
legend?: boolean | undefined;
|
|
163
|
-
format?: "fraction" | "none" | "percent" | "value" | undefined;
|
|
164
|
-
valueLabel?: BlockText | undefined;
|
|
165
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "soft" | "success" | "warning" | undefined;
|
|
166
|
-
warnAt?: number | undefined;
|
|
167
|
-
errorAt?: number | undefined;
|
|
168
|
-
size?: "md" | "sm" | "xs" | undefined;
|
|
169
|
-
fetchUrl?: string | undefined;
|
|
170
|
-
fetchUrlMethod?: HttpMethod | undefined;
|
|
171
|
-
periodScope?: string | undefined;
|
|
172
|
-
realtimeTopic?: string | string[] | undefined;
|
|
173
|
-
card: boolean;
|
|
174
|
-
actions?: {
|
|
175
|
-
label: string;
|
|
176
|
-
to: string;
|
|
177
|
-
icon?: string | undefined;
|
|
178
|
-
variant?: "ghost" | "link" | "outline" | "soft" | "solid" | "subtle" | undefined;
|
|
179
|
-
color?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
180
|
-
}[] | undefined;
|
|
181
|
-
}, {
|
|
182
|
-
label?: string | undefined;
|
|
183
|
-
hint?: BlockText | undefined;
|
|
184
|
-
value?: number | undefined;
|
|
185
|
-
max?: number | undefined;
|
|
186
|
-
segments?: {
|
|
187
|
-
value: number;
|
|
188
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "soft" | "success" | "warning" | undefined;
|
|
189
|
-
label?: BlockText | undefined;
|
|
190
|
-
}[] | undefined;
|
|
191
|
-
legend?: boolean | undefined;
|
|
192
|
-
format?: "fraction" | "none" | "percent" | "value" | undefined;
|
|
193
|
-
valueLabel?: BlockText | undefined;
|
|
194
|
-
tone?: "error" | "info" | "neutral" | "primary" | "secondary" | "soft" | "success" | "warning" | undefined;
|
|
195
|
-
warnAt?: number | undefined;
|
|
196
|
-
errorAt?: number | undefined;
|
|
197
|
-
size?: "md" | "sm" | "xs" | undefined;
|
|
198
|
-
fetchUrl?: string | undefined;
|
|
199
|
-
fetchUrlMethod?: HttpMethod | undefined;
|
|
200
|
-
periodScope?: string | undefined;
|
|
201
|
-
realtimeTopic?: string | string[] | undefined;
|
|
202
|
-
card?: boolean | undefined;
|
|
203
|
-
actions?: {
|
|
204
|
-
label: string;
|
|
205
|
-
to: string;
|
|
206
|
-
icon?: string | undefined;
|
|
207
|
-
variant?: "ghost" | "link" | "outline" | "soft" | "solid" | "subtle" | undefined;
|
|
208
|
-
color?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
209
|
-
}[] | undefined;
|
|
210
|
-
}>;
|
|
156
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
ghost: "ghost";
|
|
158
|
+
link: "link";
|
|
159
|
+
outline: "outline";
|
|
160
|
+
soft: "soft";
|
|
161
|
+
solid: "solid";
|
|
162
|
+
subtle: "subtle";
|
|
163
|
+
}>>;
|
|
164
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
165
|
+
error: "error";
|
|
166
|
+
info: "info";
|
|
167
|
+
neutral: "neutral";
|
|
168
|
+
primary: "primary";
|
|
169
|
+
secondary: "secondary";
|
|
170
|
+
success: "success";
|
|
171
|
+
warning: "warning";
|
|
172
|
+
}>>;
|
|
173
|
+
}, z.core.$strip>>>;
|
|
174
|
+
}, z.core.$strip>;
|
|
@@ -86,108 +86,45 @@ export declare function NavCardGrid(options?: NavCardGridOptions): ComponentBuil
|
|
|
86
86
|
/** The options `NavCardGrid` accepts. */
|
|
87
87
|
export declare const NavCardGridSchema: z.ZodObject<{
|
|
88
88
|
fetchUrl: z.ZodOptional<z.ZodString>;
|
|
89
|
-
fetchUrlMethod: z.ZodOptional<z.
|
|
89
|
+
fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof import("./types").HttpMethod>>;
|
|
90
90
|
periodScope: z.ZodOptional<z.ZodString>;
|
|
91
|
-
realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
91
|
+
realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
92
92
|
empty: z.ZodOptional<z.ZodObject<{
|
|
93
93
|
title: z.ZodString;
|
|
94
94
|
description: z.ZodOptional<z.ZodString>;
|
|
95
|
-
},
|
|
96
|
-
title: string;
|
|
97
|
-
description?: string | undefined;
|
|
98
|
-
}, {
|
|
99
|
-
title: string;
|
|
100
|
-
description?: string | undefined;
|
|
101
|
-
}>>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
102
96
|
skeletonCount: z.ZodOptional<z.ZodNumber>;
|
|
103
97
|
title: z.ZodOptional<z.ZodString>;
|
|
104
98
|
description: z.ZodOptional<z.ZodString>;
|
|
105
99
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
100
|
id: z.ZodOptional<z.ZodString>;
|
|
107
|
-
title: z.ZodType<BlockText, z.
|
|
108
|
-
description: z.ZodOptional<z.ZodType<BlockText, z.
|
|
101
|
+
title: z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>;
|
|
102
|
+
description: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
109
103
|
icon: z.ZodString;
|
|
110
|
-
iconTone: z.ZodOptional<z.ZodEnum<
|
|
104
|
+
iconTone: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
error: "error";
|
|
106
|
+
info: "info";
|
|
107
|
+
muted: "muted";
|
|
108
|
+
neutral: "neutral";
|
|
109
|
+
primary: "primary";
|
|
110
|
+
secondary: "secondary";
|
|
111
|
+
success: "success";
|
|
112
|
+
warning: "warning";
|
|
113
|
+
}>>;
|
|
111
114
|
to: z.ZodString;
|
|
112
|
-
state: z.ZodOptional<z.ZodType<BlockText, z.
|
|
113
|
-
stateTone: z.ZodOptional<z.ZodEnum<
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
tag?: BlockText | undefined;
|
|
126
|
-
readout?: BlockText[] | undefined;
|
|
127
|
-
}, {
|
|
128
|
-
id?: string | undefined;
|
|
129
|
-
title: BlockText;
|
|
130
|
-
description?: BlockText | undefined;
|
|
131
|
-
icon: string;
|
|
132
|
-
iconTone?: "error" | "info" | "muted" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
133
|
-
to: string;
|
|
134
|
-
state?: BlockText | undefined;
|
|
135
|
-
stateTone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
136
|
-
tag?: BlockText | undefined;
|
|
137
|
-
readout?: BlockText[] | undefined;
|
|
138
|
-
}>, "many">>;
|
|
115
|
+
state: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
116
|
+
stateTone: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
error: "error";
|
|
118
|
+
info: "info";
|
|
119
|
+
neutral: "neutral";
|
|
120
|
+
primary: "primary";
|
|
121
|
+
secondary: "secondary";
|
|
122
|
+
success: "success";
|
|
123
|
+
warning: "warning";
|
|
124
|
+
}>>;
|
|
125
|
+
tag: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
126
|
+
readout: z.ZodOptional<z.ZodArray<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>>;
|
|
127
|
+
}, z.core.$strip>>>;
|
|
139
128
|
columns: z.ZodDefault<z.ZodNumber>;
|
|
140
129
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
141
|
-
},
|
|
142
|
-
fetchUrl?: string | undefined;
|
|
143
|
-
fetchUrlMethod?: import("./types").HttpMethod | undefined;
|
|
144
|
-
periodScope?: string | undefined;
|
|
145
|
-
realtimeTopic?: string | string[] | undefined;
|
|
146
|
-
empty?: {
|
|
147
|
-
title: string;
|
|
148
|
-
description?: string | undefined;
|
|
149
|
-
} | undefined;
|
|
150
|
-
skeletonCount?: number | undefined;
|
|
151
|
-
title?: string | undefined;
|
|
152
|
-
description?: string | undefined;
|
|
153
|
-
items?: {
|
|
154
|
-
id?: string | undefined;
|
|
155
|
-
title: BlockText;
|
|
156
|
-
description?: BlockText | undefined;
|
|
157
|
-
icon: string;
|
|
158
|
-
iconTone?: "error" | "info" | "muted" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
159
|
-
to: string;
|
|
160
|
-
state?: BlockText | undefined;
|
|
161
|
-
stateTone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
162
|
-
tag?: BlockText | undefined;
|
|
163
|
-
readout?: BlockText[] | undefined;
|
|
164
|
-
}[] | undefined;
|
|
165
|
-
columns: number;
|
|
166
|
-
categoryId?: string | undefined;
|
|
167
|
-
}, {
|
|
168
|
-
fetchUrl?: string | undefined;
|
|
169
|
-
fetchUrlMethod?: import("./types").HttpMethod | undefined;
|
|
170
|
-
periodScope?: string | undefined;
|
|
171
|
-
realtimeTopic?: string | string[] | undefined;
|
|
172
|
-
empty?: {
|
|
173
|
-
title: string;
|
|
174
|
-
description?: string | undefined;
|
|
175
|
-
} | undefined;
|
|
176
|
-
skeletonCount?: number | undefined;
|
|
177
|
-
title?: string | undefined;
|
|
178
|
-
description?: string | undefined;
|
|
179
|
-
items?: {
|
|
180
|
-
id?: string | undefined;
|
|
181
|
-
title: BlockText;
|
|
182
|
-
description?: BlockText | undefined;
|
|
183
|
-
icon: string;
|
|
184
|
-
iconTone?: "error" | "info" | "muted" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
185
|
-
to: string;
|
|
186
|
-
state?: BlockText | undefined;
|
|
187
|
-
stateTone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
188
|
-
tag?: BlockText | undefined;
|
|
189
|
-
readout?: BlockText[] | undefined;
|
|
190
|
-
}[] | undefined;
|
|
191
|
-
columns?: number | undefined;
|
|
192
|
-
categoryId?: string | undefined;
|
|
193
|
-
}>;
|
|
130
|
+
}, z.core.$strip>;
|
|
@@ -146,15 +146,11 @@ export declare const PAGE_TOOLBAR_PERIOD_CHILD_ID = "period";
|
|
|
146
146
|
export declare function pageToolbar(options?: PageToolbarOptions): ComponentBuilder<PageToolbarProps>;
|
|
147
147
|
/** The options `PageToolbar` accepts. */
|
|
148
148
|
export declare const PageToolbarSchema: z.ZodObject<{
|
|
149
|
-
size: z.ZodOptional<z.ZodEnum<
|
|
149
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
150
|
+
md: "md";
|
|
151
|
+
sm: "sm";
|
|
152
|
+
xs: "xs";
|
|
153
|
+
}>>;
|
|
150
154
|
showUpdatedAt: z.ZodOptional<z.ZodBoolean>;
|
|
151
155
|
refresh: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
-
},
|
|
153
|
-
size?: "md" | "sm" | "xs" | undefined;
|
|
154
|
-
showUpdatedAt?: boolean | undefined;
|
|
155
|
-
refresh?: boolean | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
size?: "md" | "sm" | "xs" | undefined;
|
|
158
|
-
showUpdatedAt?: boolean | undefined;
|
|
159
|
-
refresh?: boolean | undefined;
|
|
160
|
-
}>;
|
|
156
|
+
}, z.core.$strip>;
|