@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
|
@@ -136,50 +136,101 @@ export declare function PeriodSelector(options?: PeriodSelectorProps): Component
|
|
|
136
136
|
/** The options `PeriodSelector` accepts. */
|
|
137
137
|
export declare const PeriodSelectorSchema: z.ZodObject<{
|
|
138
138
|
id: z.ZodDefault<z.ZodString>;
|
|
139
|
-
defaultPreset: z.ZodOptional<z.ZodEnum<
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
139
|
+
defaultPreset: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
all: "all";
|
|
141
|
+
custom: "custom";
|
|
142
|
+
"last-24h": "last-24h";
|
|
143
|
+
"last-30-days": "last-30-days";
|
|
144
|
+
"last-7-days": "last-7-days";
|
|
145
|
+
"last-90-days": "last-90-days";
|
|
146
|
+
"last-hour": "last-hour";
|
|
147
|
+
"last-month": "last-month";
|
|
148
|
+
"last-quarter": "last-quarter";
|
|
149
|
+
"last-year": "last-year";
|
|
150
|
+
"this-month": "this-month";
|
|
151
|
+
"this-quarter": "this-quarter";
|
|
152
|
+
today: "today";
|
|
153
|
+
yesterday: "yesterday";
|
|
154
|
+
ytd: "ytd";
|
|
155
|
+
}>>;
|
|
156
|
+
defaultComparison: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
custom: "custom";
|
|
158
|
+
none: "none";
|
|
159
|
+
"previous-period": "previous-period";
|
|
160
|
+
"previous-year": "previous-year";
|
|
161
|
+
}>>;
|
|
162
|
+
presets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
163
|
+
all: "all";
|
|
164
|
+
custom: "custom";
|
|
165
|
+
"last-24h": "last-24h";
|
|
166
|
+
"last-30-days": "last-30-days";
|
|
167
|
+
"last-7-days": "last-7-days";
|
|
168
|
+
"last-90-days": "last-90-days";
|
|
169
|
+
"last-hour": "last-hour";
|
|
170
|
+
"last-month": "last-month";
|
|
171
|
+
"last-quarter": "last-quarter";
|
|
172
|
+
"last-year": "last-year";
|
|
173
|
+
"this-month": "this-month";
|
|
174
|
+
"this-quarter": "this-quarter";
|
|
175
|
+
today: "today";
|
|
176
|
+
yesterday: "yesterday";
|
|
177
|
+
ytd: "ytd";
|
|
178
|
+
}>>>;
|
|
179
|
+
comparisons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
180
|
+
custom: "custom";
|
|
181
|
+
none: "none";
|
|
182
|
+
"previous-period": "previous-period";
|
|
183
|
+
"previous-year": "previous-year";
|
|
184
|
+
}>>>;
|
|
185
|
+
presetLabels: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
186
|
+
all: "all";
|
|
187
|
+
custom: "custom";
|
|
188
|
+
"last-24h": "last-24h";
|
|
189
|
+
"last-30-days": "last-30-days";
|
|
190
|
+
"last-7-days": "last-7-days";
|
|
191
|
+
"last-90-days": "last-90-days";
|
|
192
|
+
"last-hour": "last-hour";
|
|
193
|
+
"last-month": "last-month";
|
|
194
|
+
"last-quarter": "last-quarter";
|
|
195
|
+
"last-year": "last-year";
|
|
196
|
+
"this-month": "this-month";
|
|
197
|
+
"this-quarter": "this-quarter";
|
|
198
|
+
today: "today";
|
|
199
|
+
yesterday: "yesterday";
|
|
200
|
+
ytd: "ytd";
|
|
201
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
202
|
+
comparisonLabels: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
203
|
+
custom: "custom";
|
|
204
|
+
none: "none";
|
|
205
|
+
"previous-period": "previous-period";
|
|
206
|
+
"previous-year": "previous-year";
|
|
207
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
208
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
209
|
+
center: "center";
|
|
210
|
+
left: "left";
|
|
211
|
+
right: "right";
|
|
212
|
+
}>>;
|
|
213
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
214
|
+
lg: "lg";
|
|
215
|
+
md: "md";
|
|
216
|
+
sm: "sm";
|
|
217
|
+
xl: "xl";
|
|
218
|
+
xs: "xs";
|
|
219
|
+
}>>;
|
|
147
220
|
showRangeLabel: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
-
rangeLabel: z.ZodOptional<z.ZodEnum<
|
|
149
|
-
|
|
221
|
+
rangeLabel: z.ZodOptional<z.ZodEnum<{
|
|
222
|
+
absolute: "absolute";
|
|
223
|
+
relative: "relative";
|
|
224
|
+
}>>;
|
|
225
|
+
comparisonControl: z.ZodOptional<z.ZodEnum<{
|
|
226
|
+
hidden: "hidden";
|
|
227
|
+
menu: "menu";
|
|
228
|
+
toggle: "toggle";
|
|
229
|
+
}>>;
|
|
150
230
|
rememberKey: z.ZodOptional<z.ZodString>;
|
|
151
|
-
variant: z.ZodOptional<z.ZodEnum<
|
|
231
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
default: "default";
|
|
233
|
+
segmented: "segmented";
|
|
234
|
+
}>>;
|
|
152
235
|
maxDays: z.ZodOptional<z.ZodNumber>;
|
|
153
|
-
},
|
|
154
|
-
id: string;
|
|
155
|
-
defaultPreset?: "all" | "custom" | "last-24h" | "last-30-days" | "last-7-days" | "last-90-days" | "last-hour" | "last-month" | "last-quarter" | "last-year" | "this-month" | "this-quarter" | "today" | "yesterday" | "ytd" | undefined;
|
|
156
|
-
defaultComparison?: "custom" | "none" | "previous-period" | "previous-year" | undefined;
|
|
157
|
-
presets?: ("all" | "custom" | "last-24h" | "last-30-days" | "last-7-days" | "last-90-days" | "last-hour" | "last-month" | "last-quarter" | "last-year" | "this-month" | "this-quarter" | "today" | "yesterday" | "ytd")[] | undefined;
|
|
158
|
-
comparisons?: ("custom" | "none" | "previous-period" | "previous-year")[] | undefined;
|
|
159
|
-
presetLabels?: Partial<Record<"all" | "custom" | "last-24h" | "last-30-days" | "last-7-days" | "last-90-days" | "last-hour" | "last-month" | "last-quarter" | "last-year" | "this-month" | "this-quarter" | "today" | "yesterday" | "ytd", string>> | undefined;
|
|
160
|
-
comparisonLabels?: Partial<Record<"custom" | "none" | "previous-period" | "previous-year", string>> | undefined;
|
|
161
|
-
align?: "center" | "left" | "right" | undefined;
|
|
162
|
-
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
163
|
-
showRangeLabel?: boolean | undefined;
|
|
164
|
-
rangeLabel?: "absolute" | "relative" | undefined;
|
|
165
|
-
comparisonControl?: "hidden" | "menu" | "toggle" | undefined;
|
|
166
|
-
rememberKey?: string | undefined;
|
|
167
|
-
variant?: "default" | "segmented" | undefined;
|
|
168
|
-
maxDays?: number | undefined;
|
|
169
|
-
}, {
|
|
170
|
-
id?: string | undefined;
|
|
171
|
-
defaultPreset?: "all" | "custom" | "last-24h" | "last-30-days" | "last-7-days" | "last-90-days" | "last-hour" | "last-month" | "last-quarter" | "last-year" | "this-month" | "this-quarter" | "today" | "yesterday" | "ytd" | undefined;
|
|
172
|
-
defaultComparison?: "custom" | "none" | "previous-period" | "previous-year" | undefined;
|
|
173
|
-
presets?: ("all" | "custom" | "last-24h" | "last-30-days" | "last-7-days" | "last-90-days" | "last-hour" | "last-month" | "last-quarter" | "last-year" | "this-month" | "this-quarter" | "today" | "yesterday" | "ytd")[] | undefined;
|
|
174
|
-
comparisons?: ("custom" | "none" | "previous-period" | "previous-year")[] | undefined;
|
|
175
|
-
presetLabels?: Partial<Record<"all" | "custom" | "last-24h" | "last-30-days" | "last-7-days" | "last-90-days" | "last-hour" | "last-month" | "last-quarter" | "last-year" | "this-month" | "this-quarter" | "today" | "yesterday" | "ytd", string>> | undefined;
|
|
176
|
-
comparisonLabels?: Partial<Record<"custom" | "none" | "previous-period" | "previous-year", string>> | undefined;
|
|
177
|
-
align?: "center" | "left" | "right" | undefined;
|
|
178
|
-
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
179
|
-
showRangeLabel?: boolean | undefined;
|
|
180
|
-
rangeLabel?: "absolute" | "relative" | undefined;
|
|
181
|
-
comparisonControl?: "hidden" | "menu" | "toggle" | undefined;
|
|
182
|
-
rememberKey?: string | undefined;
|
|
183
|
-
variant?: "default" | "segmented" | undefined;
|
|
184
|
-
maxDays?: number | undefined;
|
|
185
|
-
}>;
|
|
236
|
+
}, z.core.$strip>;
|
|
@@ -132,11 +132,11 @@ exports.PeriodSelectorSchema = zod_1.z.object({
|
|
|
132
132
|
label: "Available comparisons",
|
|
133
133
|
group: "behavior",
|
|
134
134
|
}),
|
|
135
|
-
presetLabels: (0, block_registry_1.ui)(zod_1.z.
|
|
135
|
+
presetLabels: (0, block_registry_1.ui)(zod_1.z.partialRecord(presetSchema, zod_1.z.string()).optional(), {
|
|
136
136
|
label: "Range labels",
|
|
137
137
|
group: "content",
|
|
138
138
|
}),
|
|
139
|
-
comparisonLabels: (0, block_registry_1.ui)(zod_1.z.
|
|
139
|
+
comparisonLabels: (0, block_registry_1.ui)(zod_1.z.partialRecord(comparisonSchema, zod_1.z.string()).optional(), {
|
|
140
140
|
label: "Comparison labels",
|
|
141
141
|
group: "content",
|
|
142
142
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"period-selector.js","sourceRoot":"","sources":["../../src/base/period-selector.ts"],"names":[],"mappings":";;;;AAAA,4CAAgD;AAChD,6BAAwB;AACxB,qDAA+E;AAE/E,uCAAqC;AAErC,+CAA+C;AAClC,QAAA,cAAc,GAAG;IAC5B,WAAW;IACX,UAAU;IACV,OAAO;IACP,WAAW;IACX,aAAa;IACb,cAAc;IACd,cAAc;IACd,YAAY;IACZ,YAAY;IACZ,cAAc;IACd,cAAc;IACd,KAAK;IACL,WAAW;IACX,KAAK;IACL,QAAQ;CACA,CAAC;AAGX,+CAA+C;AAClC,QAAA,kBAAkB,GAAG;IAChC,MAAM;IACN,iBAAiB;IACjB,eAAe;IACf,QAAQ;CACA,CAAC;AAGX;;;;GAIG;AACU,QAAA,mBAAmB,GAAG,CAAC,UAAU,EAAE,UAAU,CAAU,CAAC;AAGrE;;;;GAIG;AACU,QAAA,0BAA0B,GAAG,CAAC,MAAM,EAAE,QAAQ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AC;IAChB,IAAI,EAAE,gBAAgB;IACtB,aAAa,EAAE,8BAA8B;IAC7C,MAAM,EAAE,QAAA,oBAAoB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,2DAA2D;QACxE,KAAK,EAAE,MAAM;KACd;CACF,CAAC,CAAC"}
|
|
@@ -24,15 +24,7 @@ export declare const PlaceholderSchema: z.ZodObject<{
|
|
|
24
24
|
label: z.ZodOptional<z.ZodString>;
|
|
25
25
|
height: z.ZodOptional<z.ZodString>;
|
|
26
26
|
width: z.ZodOptional<z.ZodString>;
|
|
27
|
-
},
|
|
28
|
-
label?: string | undefined;
|
|
29
|
-
height?: string | undefined;
|
|
30
|
-
width?: string | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
label?: string | undefined;
|
|
33
|
-
height?: string | undefined;
|
|
34
|
-
width?: string | undefined;
|
|
35
|
-
}>;
|
|
27
|
+
}, z.core.$strip>;
|
|
36
28
|
/**
|
|
37
29
|
* Placeholder - Development Placeholder Component
|
|
38
30
|
*
|
|
@@ -30,34 +30,19 @@ export interface ResourceFormBlockOptions extends ResourceFormOptions {
|
|
|
30
30
|
export declare const ResourceFormSchema: z.ZodObject<{
|
|
31
31
|
successMessage: z.ZodOptional<z.ZodString>;
|
|
32
32
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
33
|
-
mode: z.ZodEnum<
|
|
33
|
+
mode: z.ZodEnum<{
|
|
34
|
+
edit: "edit";
|
|
35
|
+
new: "new";
|
|
36
|
+
view: "view";
|
|
37
|
+
}>;
|
|
34
38
|
title: z.ZodOptional<z.ZodString>;
|
|
35
39
|
description: z.ZodOptional<z.ZodString>;
|
|
36
40
|
submitLabel: z.ZodOptional<z.ZodString>;
|
|
37
|
-
fieldsOrientation: z.ZodOptional<z.ZodEnum<
|
|
41
|
+
fieldsOrientation: z.ZodOptional<z.ZodEnum<{
|
|
42
|
+
horizontal: "horizontal";
|
|
43
|
+
vertical: "vertical";
|
|
44
|
+
}>>;
|
|
38
45
|
redirectOnSuccess: z.ZodOptional<z.ZodString>;
|
|
39
46
|
rowId: z.ZodOptional<z.ZodString>;
|
|
40
47
|
submitDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
41
|
-
},
|
|
42
|
-
successMessage?: string | undefined;
|
|
43
|
-
errorMessage?: string | undefined;
|
|
44
|
-
mode: "edit" | "new" | "view";
|
|
45
|
-
title?: string | undefined;
|
|
46
|
-
description?: string | undefined;
|
|
47
|
-
submitLabel?: string | undefined;
|
|
48
|
-
fieldsOrientation?: "horizontal" | "vertical" | undefined;
|
|
49
|
-
redirectOnSuccess?: string | undefined;
|
|
50
|
-
rowId?: string | undefined;
|
|
51
|
-
submitDefaults?: Record<string, unknown> | undefined;
|
|
52
|
-
}, {
|
|
53
|
-
successMessage?: string | undefined;
|
|
54
|
-
errorMessage?: string | undefined;
|
|
55
|
-
mode: "edit" | "new" | "view";
|
|
56
|
-
title?: string | undefined;
|
|
57
|
-
description?: string | undefined;
|
|
58
|
-
submitLabel?: string | undefined;
|
|
59
|
-
fieldsOrientation?: "horizontal" | "vertical" | undefined;
|
|
60
|
-
redirectOnSuccess?: string | undefined;
|
|
61
|
-
rowId?: string | undefined;
|
|
62
|
-
submitDefaults?: Record<string, unknown> | undefined;
|
|
63
|
-
}>;
|
|
48
|
+
}, z.core.$strip>;
|
|
@@ -53,7 +53,7 @@ exports.ResourceFormSchema = zod_1.z.object({
|
|
|
53
53
|
.string()
|
|
54
54
|
.optional()
|
|
55
55
|
.describe(`Where edit and view read the row id from. Defaults to ${exports.QUERY_ROW_ID}.`), { label: "Row id from", group: "advanced", placeholder: exports.QUERY_ROW_ID }),
|
|
56
|
-
submitDefaults: (0, block_registry_1.ui)(zod_1.z.record(zod_1.z.unknown()).optional(), {
|
|
56
|
+
submitDefaults: (0, block_registry_1.ui)(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(), {
|
|
57
57
|
label: "Payload defaults",
|
|
58
58
|
group: "advanced",
|
|
59
59
|
widget: "json",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-form-schema.js","sourceRoot":"","sources":["../../src/base/resource-form-schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qDAA+E;AAC/E,oEAAmE;AACnE,2DAA2D;AAG3D,gFAAgF;AACnE,QAAA,mBAAmB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAU,CAAC;AAGpE;;;GAGG;AACU,QAAA,YAAY,GAAG,cAAc,CAAC;AAE3C,kEAAkE;AACrD,QAAA,kBAAkB,GAAG,eAAe,CAAC;AAmBlD;;;;GAIG;AACU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,IAAA,mBAAE,EACN,OAAC;SACE,IAAI,CAAC,QAAA,mBAAmB,CAAC;SACzB,QAAQ,CAAC,gDAAgD,CAAC,EAC7D,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAC9C;IACD,KAAK,EAAE,IAAA,mBAAE,EAAC,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE;QAC/B,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,SAAS;KACjB,CAAC;IACF,WAAW,EAAE,IAAA,mBAAE,EAAC,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE;QACrC,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,UAAU;KACnB,CAAC;IACF,WAAW,EAAE,IAAA,mBAAE,EAAC,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE;QACrC,KAAK,EAAE,qBAAqB;QAC5B,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,SAAS;KACjB,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a,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,QAAA,YAAY,EAAE,CACvE;IACD,cAAc,EAAE,IAAA,mBAAE,EAAC,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC/D,KAAK,EAAE,kBAAkB;QACzB,KAAK,EAAE,UAAU;QACjB,MAAM,EAAE,MAAM;KACf,CAAC;CACH,CAAqD,CAAC;AAEvD,IAAA,kCAAiB,EAAC;IAChB,IAAI,EAAE,cAAc;IACpB,aAAa,EAAE,uCAAmB;IAClC,MAAM,EAAE,QAAA,kBAAkB;IAC1B,aAAa,EAAE,IAAI;IACnB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACT,iGAAiG;QACnG,KAAK,EAAE,MAAM;KACd;CACF,CAAC,CAAC"}
|
package/dist/base/section.d.ts
CHANGED
|
@@ -76,34 +76,16 @@ export declare const SectionSchema: z.ZodObject<{
|
|
|
76
76
|
description: z.ZodOptional<z.ZodString>;
|
|
77
77
|
danger: z.ZodOptional<z.ZodBoolean>;
|
|
78
78
|
card: z.ZodDefault<z.ZodBoolean>;
|
|
79
|
-
},
|
|
80
|
-
title?: string | undefined;
|
|
81
|
-
description?: string | undefined;
|
|
82
|
-
danger?: boolean | undefined;
|
|
83
|
-
card: boolean;
|
|
84
|
-
}, {
|
|
85
|
-
title?: string | undefined;
|
|
86
|
-
description?: string | undefined;
|
|
87
|
-
danger?: boolean | undefined;
|
|
88
|
-
card?: boolean | undefined;
|
|
89
|
-
}>;
|
|
79
|
+
}, z.core.$strip>;
|
|
90
80
|
/** The options `FieldRow` accepts. */
|
|
91
81
|
export declare const FieldRowSchema: z.ZodObject<{
|
|
92
82
|
label: z.ZodOptional<z.ZodString>;
|
|
93
83
|
description: z.ZodOptional<z.ZodString>;
|
|
94
|
-
layout: z.ZodOptional<z.ZodEnum<
|
|
84
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
85
|
+
form: "form";
|
|
86
|
+
inline: "inline";
|
|
87
|
+
stack: "stack";
|
|
88
|
+
}>>;
|
|
95
89
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
96
90
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
},
|
|
98
|
-
label?: string | undefined;
|
|
99
|
-
description?: string | undefined;
|
|
100
|
-
layout?: "form" | "inline" | "stack" | undefined;
|
|
101
|
-
required?: boolean | undefined;
|
|
102
|
-
disabled?: boolean | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
label?: string | undefined;
|
|
105
|
-
description?: string | undefined;
|
|
106
|
-
layout?: "form" | "inline" | "stack" | undefined;
|
|
107
|
-
required?: boolean | undefined;
|
|
108
|
-
disabled?: boolean | undefined;
|
|
109
|
-
}>;
|
|
91
|
+
}, z.core.$strip>;
|
package/dist/base/stack.d.ts
CHANGED
|
@@ -89,55 +89,49 @@ export interface SpacerOptions {
|
|
|
89
89
|
}
|
|
90
90
|
/** The options `HStack` accepts. */
|
|
91
91
|
export declare const HStackSchema: z.ZodObject<{
|
|
92
|
-
alignment: z.ZodDefault<z.ZodEnum<
|
|
93
|
-
|
|
92
|
+
alignment: z.ZodDefault<z.ZodEnum<{
|
|
93
|
+
center: "center";
|
|
94
|
+
end: "end";
|
|
95
|
+
start: "start";
|
|
96
|
+
stretch: "stretch";
|
|
97
|
+
}>>;
|
|
98
|
+
distribution: z.ZodDefault<z.ZodEnum<{
|
|
99
|
+
center: "center";
|
|
100
|
+
end: "end";
|
|
101
|
+
"space-around": "space-around";
|
|
102
|
+
"space-between": "space-between";
|
|
103
|
+
"space-evenly": "space-evenly";
|
|
104
|
+
start: "start";
|
|
105
|
+
}>>;
|
|
94
106
|
spacing: z.ZodDefault<z.ZodString>;
|
|
95
107
|
wrap: z.ZodDefault<z.ZodBoolean>;
|
|
96
108
|
grow: z.ZodOptional<z.ZodNumber>;
|
|
97
|
-
},
|
|
98
|
-
alignment: "center" | "end" | "start" | "stretch";
|
|
99
|
-
distribution: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
|
100
|
-
spacing: string;
|
|
101
|
-
wrap: boolean;
|
|
102
|
-
grow?: number | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
alignment?: "center" | "end" | "start" | "stretch" | undefined;
|
|
105
|
-
distribution?: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | undefined;
|
|
106
|
-
spacing?: string | undefined;
|
|
107
|
-
wrap?: boolean | undefined;
|
|
108
|
-
grow?: number | undefined;
|
|
109
|
-
}>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
110
|
/** The options `VStack` accepts. */
|
|
111
111
|
export declare const VStackSchema: z.ZodObject<{
|
|
112
|
-
alignment: z.ZodDefault<z.ZodEnum<
|
|
113
|
-
|
|
112
|
+
alignment: z.ZodDefault<z.ZodEnum<{
|
|
113
|
+
center: "center";
|
|
114
|
+
end: "end";
|
|
115
|
+
start: "start";
|
|
116
|
+
stretch: "stretch";
|
|
117
|
+
}>>;
|
|
118
|
+
distribution: z.ZodDefault<z.ZodEnum<{
|
|
119
|
+
center: "center";
|
|
120
|
+
end: "end";
|
|
121
|
+
"space-around": "space-around";
|
|
122
|
+
"space-between": "space-between";
|
|
123
|
+
"space-evenly": "space-evenly";
|
|
124
|
+
start: "start";
|
|
125
|
+
}>>;
|
|
114
126
|
spacing: z.ZodDefault<z.ZodString>;
|
|
115
127
|
grow: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
},
|
|
117
|
-
alignment: "center" | "end" | "start" | "stretch";
|
|
118
|
-
distribution: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start";
|
|
119
|
-
spacing: string;
|
|
120
|
-
grow?: number | undefined;
|
|
121
|
-
}, {
|
|
122
|
-
alignment?: "center" | "end" | "start" | "stretch" | undefined;
|
|
123
|
-
distribution?: "center" | "end" | "space-around" | "space-between" | "space-evenly" | "start" | undefined;
|
|
124
|
-
spacing?: string | undefined;
|
|
125
|
-
grow?: number | undefined;
|
|
126
|
-
}>;
|
|
128
|
+
}, z.core.$strip>;
|
|
127
129
|
/** The options `Spacer` accepts. */
|
|
128
130
|
export declare const SpacerSchema: z.ZodObject<{
|
|
129
131
|
minSize: z.ZodOptional<z.ZodString>;
|
|
130
132
|
maxSize: z.ZodOptional<z.ZodString>;
|
|
131
133
|
grow: z.ZodDefault<z.ZodNumber>;
|
|
132
|
-
},
|
|
133
|
-
minSize?: string | undefined;
|
|
134
|
-
maxSize?: string | undefined;
|
|
135
|
-
grow: number;
|
|
136
|
-
}, {
|
|
137
|
-
minSize?: string | undefined;
|
|
138
|
-
maxSize?: string | undefined;
|
|
139
|
-
grow?: number | undefined;
|
|
140
|
-
}>;
|
|
134
|
+
}, z.core.$strip>;
|
|
141
135
|
/**
|
|
142
136
|
* HStack - Horizontal Stack Layout
|
|
143
137
|
*
|
|
@@ -87,98 +87,51 @@ export declare function StatGroup(options?: StatGroupProps): ComponentBuilder<St
|
|
|
87
87
|
/** The options `StatGroup` accepts. */
|
|
88
88
|
export declare const StatGroupSchema: 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
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
105
99
|
id: z.ZodOptional<z.ZodString>;
|
|
106
100
|
icon: z.ZodOptional<z.ZodString>;
|
|
107
|
-
tone: z.ZodOptional<z.ZodEnum<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
101
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
102
|
+
error: "error";
|
|
103
|
+
info: "info";
|
|
104
|
+
muted: "muted";
|
|
105
|
+
neutral: "neutral";
|
|
106
|
+
primary: "primary";
|
|
107
|
+
secondary: "secondary";
|
|
108
|
+
success: "success";
|
|
109
|
+
warning: "warning";
|
|
110
|
+
}>>;
|
|
111
|
+
eyebrow: z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>;
|
|
112
|
+
value: z.ZodUnion<readonly [z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>, z.ZodNumber]>;
|
|
113
|
+
detail: z.ZodOptional<z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>>;
|
|
114
|
+
detailTone: z.ZodOptional<z.ZodEnum<{
|
|
115
|
+
error: "error";
|
|
116
|
+
info: "info";
|
|
117
|
+
neutral: "neutral";
|
|
118
|
+
primary: "primary";
|
|
119
|
+
secondary: "secondary";
|
|
120
|
+
success: "success";
|
|
121
|
+
warning: "warning";
|
|
122
|
+
}>>;
|
|
112
123
|
to: z.ZodOptional<z.ZodString>;
|
|
113
|
-
},
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
value: number | BlockText;
|
|
119
|
-
detail?: BlockText | undefined;
|
|
120
|
-
detailTone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
121
|
-
to?: string | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
id?: string | undefined;
|
|
124
|
-
icon?: string | undefined;
|
|
125
|
-
tone?: "error" | "info" | "muted" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
126
|
-
eyebrow: BlockText;
|
|
127
|
-
value: number | BlockText;
|
|
128
|
-
detail?: BlockText | undefined;
|
|
129
|
-
detailTone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
130
|
-
to?: string | undefined;
|
|
131
|
-
}>, "many">>;
|
|
132
|
-
layout: z.ZodDefault<z.ZodEnum<["joined", "cards"]>>;
|
|
124
|
+
}, z.core.$strip>>>;
|
|
125
|
+
layout: z.ZodDefault<z.ZodEnum<{
|
|
126
|
+
cards: "cards";
|
|
127
|
+
joined: "joined";
|
|
128
|
+
}>>;
|
|
133
129
|
columns: z.ZodOptional<z.ZodNumber>;
|
|
134
|
-
columnsFrom: z.ZodOptional<z.ZodEnum<
|
|
130
|
+
columnsFrom: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
lg: "lg";
|
|
132
|
+
md: "md";
|
|
133
|
+
sm: "sm";
|
|
134
|
+
xl: "xl";
|
|
135
|
+
}>>;
|
|
135
136
|
label: z.ZodOptional<z.ZodString>;
|
|
136
|
-
},
|
|
137
|
-
fetchUrl?: string | undefined;
|
|
138
|
-
fetchUrlMethod?: import("./types").HttpMethod | undefined;
|
|
139
|
-
periodScope?: string | undefined;
|
|
140
|
-
realtimeTopic?: string | string[] | undefined;
|
|
141
|
-
empty?: {
|
|
142
|
-
title: string;
|
|
143
|
-
description?: string | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
skeletonCount?: number | undefined;
|
|
146
|
-
items?: {
|
|
147
|
-
id?: string | undefined;
|
|
148
|
-
icon?: string | undefined;
|
|
149
|
-
tone?: "error" | "info" | "muted" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
150
|
-
eyebrow: BlockText;
|
|
151
|
-
value: number | BlockText;
|
|
152
|
-
detail?: BlockText | undefined;
|
|
153
|
-
detailTone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
154
|
-
to?: string | undefined;
|
|
155
|
-
}[] | undefined;
|
|
156
|
-
layout: "cards" | "joined";
|
|
157
|
-
columns?: number | undefined;
|
|
158
|
-
columnsFrom?: "lg" | "md" | "sm" | "xl" | undefined;
|
|
159
|
-
label?: string | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
fetchUrl?: string | undefined;
|
|
162
|
-
fetchUrlMethod?: import("./types").HttpMethod | undefined;
|
|
163
|
-
periodScope?: string | undefined;
|
|
164
|
-
realtimeTopic?: string | string[] | undefined;
|
|
165
|
-
empty?: {
|
|
166
|
-
title: string;
|
|
167
|
-
description?: string | undefined;
|
|
168
|
-
} | undefined;
|
|
169
|
-
skeletonCount?: number | undefined;
|
|
170
|
-
items?: {
|
|
171
|
-
id?: string | undefined;
|
|
172
|
-
icon?: string | undefined;
|
|
173
|
-
tone?: "error" | "info" | "muted" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
174
|
-
eyebrow: BlockText;
|
|
175
|
-
value: number | BlockText;
|
|
176
|
-
detail?: BlockText | undefined;
|
|
177
|
-
detailTone?: "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
178
|
-
to?: string | undefined;
|
|
179
|
-
}[] | undefined;
|
|
180
|
-
layout?: "cards" | "joined" | undefined;
|
|
181
|
-
columns?: number | undefined;
|
|
182
|
-
columnsFrom?: "lg" | "md" | "sm" | "xl" | undefined;
|
|
183
|
-
label?: string | undefined;
|
|
184
|
-
}>;
|
|
137
|
+
}, z.core.$strip>;
|