@superblocksteam/vite-plugin-file-sync 2.0.43-next.0 → 2.0.43-next.2
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/ai-service/agent/tools2/registry.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/registry.js +27 -14
- package/dist/ai-service/agent/tools2/registry.js.map +1 -1
- package/dist/ai-service/agent/tools2/tools/ask-multi-choice.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/tools/ask-multi-choice.js +1 -8
- package/dist/ai-service/agent/tools2/tools/ask-multi-choice.js.map +1 -1
- package/dist/ai-service/agent/tools2/types.d.ts +26 -7
- package/dist/ai-service/agent/tools2/types.d.ts.map +1 -1
- package/dist/ai-service/agent/tools2/types.js +47 -0
- package/dist/ai-service/agent/tools2/types.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/Dim.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/EventFlow.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/TextStyleWithVariant.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/full-examples.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-api.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-components-rules.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-custom-components.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-data-filtering.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-event-flow.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-forms.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-layouts.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-page.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-rbac.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-routes.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-state.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-theming-chakra-new.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-base.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-incremental.js +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-specific-edit.js +1 -1
- package/dist/ai-service/state-machine/handlers/llm-generating.d.ts.map +1 -1
- package/dist/ai-service/state-machine/handlers/llm-generating.js +3 -2
- package/dist/ai-service/state-machine/handlers/llm-generating.js.map +1 -1
- package/dist/ai-service/util/stop-condition.d.ts +12 -0
- package/dist/ai-service/util/stop-condition.d.ts.map +1 -0
- package/dist/ai-service/util/stop-condition.js +7 -0
- package/dist/ai-service/util/stop-condition.js.map +1 -0
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/tools2/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,IAAI,EACT,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,eAAe,
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/tools2/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,IAAI,EACT,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,eAAe,EAEhB,MAAM,YAAY,CAAC;AAEpB;;;;;;;;GAQG;AACH;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;AAEhE,qBAAa,YAAY;IACvB,OAAO,CAAC,SAAS,CAAkC;IACnD,OAAO,CAAC,SAAS,CAA2B;IAC5C,OAAO,CAAC,WAAW,CAA2B;IAC9C,OAAO,CAAC,UAAU,CAAwB;IAC1C,OAAO,CAAC,aAAa,CAAC,CAAgB;IAEtC;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,EA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AAC,KAAK,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;IA8EvC;;;;OAIG;IACH,KAAK,IAAI,IAAI;CAMd"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PermissionLevel, } from "./types.js";
|
|
1
|
+
import { PermissionLevel, ToolExecutionError, } from "./types.js";
|
|
2
2
|
export class ToolRegistry {
|
|
3
3
|
factories = new Map();
|
|
4
4
|
instances = new Map();
|
|
@@ -96,8 +96,8 @@ export class ToolRegistry {
|
|
|
96
96
|
execute: async (input) => {
|
|
97
97
|
// Execute through registry to apply access control with captured context
|
|
98
98
|
const result = await this.execute(tool.name, input, context);
|
|
99
|
-
if (
|
|
100
|
-
throw
|
|
99
|
+
if (result.type === "error") {
|
|
100
|
+
throw result.error;
|
|
101
101
|
}
|
|
102
102
|
return result.data;
|
|
103
103
|
},
|
|
@@ -245,8 +245,12 @@ export class ToolRegistry {
|
|
|
245
245
|
const tool = this.instances.get(toolName);
|
|
246
246
|
if (!tool) {
|
|
247
247
|
return {
|
|
248
|
-
|
|
249
|
-
error: `Tool "${toolName}" not found`,
|
|
248
|
+
type: "error",
|
|
249
|
+
error: new ToolExecutionError(`Tool "${toolName}" not found`, {
|
|
250
|
+
toolName,
|
|
251
|
+
input,
|
|
252
|
+
context,
|
|
253
|
+
}),
|
|
250
254
|
};
|
|
251
255
|
}
|
|
252
256
|
// Check permission
|
|
@@ -254,23 +258,27 @@ export class ToolRegistry {
|
|
|
254
258
|
// Handle BLOCK
|
|
255
259
|
if (permission === PermissionLevel.BLOCK) {
|
|
256
260
|
return {
|
|
257
|
-
|
|
258
|
-
error: `Tool "${toolName}" execution blocked by access control`,
|
|
261
|
+
type: "error",
|
|
262
|
+
error: new ToolExecutionError(`Tool "${toolName}" execution blocked by access control`, { toolName, input, context }),
|
|
259
263
|
};
|
|
260
264
|
}
|
|
261
265
|
// Handle PROMPT
|
|
262
266
|
if (permission === PermissionLevel.PROMPT) {
|
|
263
267
|
if (!this.promptHandler) {
|
|
264
268
|
return {
|
|
265
|
-
|
|
266
|
-
error: `Tool "${toolName}" requires user confirmation but no prompt handler registered`,
|
|
269
|
+
type: "error",
|
|
270
|
+
error: new ToolExecutionError(`Tool "${toolName}" requires user confirmation but no prompt handler registered`, { toolName, input, context }),
|
|
267
271
|
};
|
|
268
272
|
}
|
|
269
273
|
const approved = await this.promptHandler(toolName, input, context);
|
|
270
274
|
if (!approved) {
|
|
271
275
|
return {
|
|
272
|
-
|
|
273
|
-
error: `Tool "${toolName}" execution rejected by user`,
|
|
276
|
+
type: "error",
|
|
277
|
+
error: new ToolExecutionError(`Tool "${toolName}" execution rejected by user`, {
|
|
278
|
+
toolName,
|
|
279
|
+
input,
|
|
280
|
+
context,
|
|
281
|
+
}),
|
|
274
282
|
};
|
|
275
283
|
}
|
|
276
284
|
}
|
|
@@ -279,14 +287,19 @@ export class ToolRegistry {
|
|
|
279
287
|
const validated = tool.inputSchema.parse(input);
|
|
280
288
|
const output = await tool.execute(validated);
|
|
281
289
|
return {
|
|
282
|
-
|
|
290
|
+
type: "success",
|
|
283
291
|
data: output,
|
|
284
292
|
};
|
|
285
293
|
}
|
|
286
294
|
catch (error) {
|
|
287
295
|
return {
|
|
288
|
-
|
|
289
|
-
error:
|
|
296
|
+
type: "error",
|
|
297
|
+
error: new ToolExecutionError({
|
|
298
|
+
toolName,
|
|
299
|
+
input,
|
|
300
|
+
context,
|
|
301
|
+
cause: error,
|
|
302
|
+
}),
|
|
290
303
|
};
|
|
291
304
|
}
|
|
292
305
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../../src/ai-service/agent/tools2/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,eAAe,
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../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AAK,EAAE,KAAK;iBACb,CAAC;aACH,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,KAAK;QACH,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACvB,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACvB,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;IACjC,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask-multi-choice.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools2/tools/ask-multi-choice.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;
|
|
1
|
+
{"version":3,"file":"ask-multi-choice.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools2/tools/ask-multi-choice.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;GAsErC,CAAC"}
|
|
@@ -13,13 +13,6 @@ ALWAYS USE THIS TOOL when you need to ask the user ANY question.
|
|
|
13
13
|
This tool presents the user with a question and multiple choice options.
|
|
14
14
|
Even for seemingly open-ended questions, you should come up with 3-6 suggested choices to make it easier for the user.
|
|
15
15
|
|
|
16
|
-
When to use:
|
|
17
|
-
- User's request is ambiguous and could mean multiple things
|
|
18
|
-
- Need to understand user's preference between different approaches
|
|
19
|
-
- Want to confirm a specific detail before proceeding
|
|
20
|
-
- Want to present options for the user to choose from
|
|
21
|
-
- ANY time you would ask the user a question - make it multi-choice!
|
|
22
|
-
|
|
23
16
|
For open-ended questions:
|
|
24
17
|
- Come up with 3-6 reasonable suggestions based on common patterns
|
|
25
18
|
- Add a "Something else" or "Other" option as the last choice
|
|
@@ -28,7 +21,7 @@ For open-ended questions:
|
|
|
28
21
|
IMPORTANT: When asking about datasources/integrations:
|
|
29
22
|
- FIRST use the searchIntegrations tool to discover what datasources are available
|
|
30
23
|
- THEN present the available options to the user in your multi-choice question
|
|
31
|
-
-
|
|
24
|
+
- DON'T ask the user about datasources without first checking what's available
|
|
32
25
|
|
|
33
26
|
NEVER ask the user to type out a response when you can provide clear options.
|
|
34
27
|
The user will select one (or more) of the choices, and their selection will be sent back to you as a message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask-multi-choice.js","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools2/tools/ask-multi-choice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI/E;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CACxD,gBAAgB,EAChB,CAAC,KAAY,EAAE,QAAiC,EAAE,EAAE;IAClD,MAAM,EAAE,gBAAgB,EAAE,GAAG,QAAQ,CAAC;IAEtC,OAAO;QACL,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"ask-multi-choice.js","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools2/tools/ask-multi-choice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI/E;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CACxD,gBAAgB,EAChB,CAAC,KAAY,EAAE,QAAiC,EAAE,EAAE;IAClD,MAAM,EAAE,gBAAgB,EAAE,GAAG,QAAQ,CAAC;IAEtC,OAAO;QACL,WAAW,EAAE;;;;;;;;;;;;;;;;;;CAkBlB;QACK,QAAQ,EAAE,YAAY,CAAC,OAAO;QAC9B,iBAAiB,EAAE,eAAe,CAAC,KAAK;QACxC,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC;YACpB,QAAQ,EAAE,CAAC;iBACR,MAAM,EAAE;iBACR,QAAQ,CACP,6DAA6D,CAC9D;YACH,OAAO,EAAE,CAAC;iBACP,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;iBACjB,GAAG,CAAC,CAAC,CAAC;iBACN,GAAG,CAAC,CAAC,CAAC;iBACN,QAAQ,CACP,oNAAoN,CACrN;YACH,aAAa,EAAE,CAAC;iBACb,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;iBAC5B,OAAO,CAAC,QAAQ,CAAC;iBACjB,QAAQ,EAAE;iBACV,QAAQ,CACP,yHAAyH,CAC1H;SACJ,CAAC;QACF,OAAO,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE;YACtD,2FAA2F;YAC3F,MAAM,OAAO,GAAG;gBACd,IAAI,EAAE,cAAuB;gBAC7B,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,OAAO;gBACd,OAAO;gBACP,aAAa;aACd,CAAC;YAEF,2EAA2E;YAC3E,MAAM,eAAe,GAAG,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC;YACxE,MAAM,eAAe,CAAC,OAAO,CAAC,CAAC;YAE/B,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,aAAa,OAAO,CAAC,MAAM,6CAA6C;aAClF,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -137,12 +137,31 @@ export type PromptHandler = (toolName: string, input: any, context: AccessContro
|
|
|
137
137
|
/**
|
|
138
138
|
* Result of tool execution.
|
|
139
139
|
*/
|
|
140
|
-
export
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
error
|
|
140
|
+
export type ToolExecutionResult<Output = any> = ToolExecutionSuccessResult<Output> | ToolExecutionErrorResult;
|
|
141
|
+
export type ToolExecutionSuccessResult<Output = any> = {
|
|
142
|
+
type: "success";
|
|
143
|
+
data: Output;
|
|
144
|
+
};
|
|
145
|
+
export type ToolExecutionErrorResult = {
|
|
146
|
+
type: "error";
|
|
147
|
+
error: ToolExecutionError;
|
|
148
|
+
};
|
|
149
|
+
export interface ToolExecutionErrorOptions {
|
|
150
|
+
toolName: string;
|
|
151
|
+
input: any;
|
|
152
|
+
context: AccessControlContext;
|
|
153
|
+
cause?: unknown;
|
|
154
|
+
}
|
|
155
|
+
export declare class ToolExecutionError implements Error {
|
|
156
|
+
readonly name: string;
|
|
157
|
+
readonly options?: ToolExecutionErrorOptions;
|
|
158
|
+
private _message?;
|
|
159
|
+
constructor(message: string, options?: ToolExecutionErrorOptions);
|
|
160
|
+
constructor(options?: ToolExecutionErrorOptions);
|
|
161
|
+
get toolName(): string | undefined;
|
|
162
|
+
get input(): any;
|
|
163
|
+
get message(): string;
|
|
164
|
+
get stack(): string | undefined;
|
|
165
|
+
get cause(): unknown;
|
|
147
166
|
}
|
|
148
167
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/tools2/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/agent/tools2/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,OAAO,YAAY;CACpB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,IAAI,CAAC,KAAK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EAAE,GAAG,EACV,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,OAAO,CAAC,CAAC;AAEtB;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,MAAM,GAAG,GAAG,IACxC,0BAA0B,CAAC,MAAM,CAAC,GAClC,wBAAwB,CAAC;AAE7B,MAAM,MAAM,0BAA0B,CAAC,MAAM,GAAG,GAAG,IAAI;IACrD,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,kBAAkB,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,GAAG,CAAC;IACX,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,kBAAmB,YAAW,KAAK;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAwB;IAC7C,QAAQ,CAAC,OAAO,CAAC,EAAE,yBAAyB,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,CAAS;gBAEd,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,yBAAyB;gBACpD,OAAO,CAAC,EAAE,yBAAyB;IAa/C,IAAI,QAAQ,uBAEX;IAED,IAAI,KAAK,QAER;IAED,IAAI,OAAO,WAkBV;IAED,IAAI,KAAK,uBAKR;IAED,IAAI,KAAK,YAER;CACF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { safeJsonStringify } from "../../util/safe-stringify.js";
|
|
1
2
|
/**
|
|
2
3
|
* Tool categories for grouping and middleware selection.
|
|
3
4
|
*/
|
|
@@ -52,4 +53,50 @@ export function createToolFactory(name, factory) {
|
|
|
52
53
|
create: (...deps) => ({ ...factory(...deps), name }),
|
|
53
54
|
};
|
|
54
55
|
}
|
|
56
|
+
export class ToolExecutionError {
|
|
57
|
+
name = "ToolExecutionError";
|
|
58
|
+
options;
|
|
59
|
+
_message;
|
|
60
|
+
constructor(messageOrOptions, options) {
|
|
61
|
+
if (typeof messageOrOptions === "string") {
|
|
62
|
+
this._message = messageOrOptions;
|
|
63
|
+
this.options = options;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
this.options = messageOrOptions;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
get toolName() {
|
|
70
|
+
return this.options?.toolName;
|
|
71
|
+
}
|
|
72
|
+
get input() {
|
|
73
|
+
return this.options?.input;
|
|
74
|
+
}
|
|
75
|
+
get message() {
|
|
76
|
+
let message = "Error executing tool";
|
|
77
|
+
if (this.options) {
|
|
78
|
+
message += ` "${this.options.toolName}"`;
|
|
79
|
+
}
|
|
80
|
+
if (this._message) {
|
|
81
|
+
message += `: ${this._message}`;
|
|
82
|
+
}
|
|
83
|
+
if (this.cause instanceof Error) {
|
|
84
|
+
message += `: ${this.cause.message}`;
|
|
85
|
+
}
|
|
86
|
+
if (this.options) {
|
|
87
|
+
message += `\ninput: ${safeJsonStringify(this.options.input, 2)}`;
|
|
88
|
+
message += `\ncontext: ${safeJsonStringify(this.options.context, 2)}`;
|
|
89
|
+
}
|
|
90
|
+
return message;
|
|
91
|
+
}
|
|
92
|
+
get stack() {
|
|
93
|
+
if (this.cause instanceof Error) {
|
|
94
|
+
return this.cause.stack;
|
|
95
|
+
}
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
get cause() {
|
|
99
|
+
return this.options?.cause;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
55
102
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ai-service/agent/tools2/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ai-service/agent/tools2/types.ts"],"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AC;IAED,IAAI,OAAO;QACT,IAAI,OAAO,GAAG,sBAAsB,CAAC;QACrC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,OAAO,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,CAAC;QAC3C,CAAC;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,OAAO,IAAI,KAAK,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QAED,IAAI,IAAI,CAAC,KAAK,YAAY,KAAK,EAAE,CAAC;YAChC,OAAO,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;QACvC,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,OAAO,IAAI,YAAY,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC;YAClE,OAAO,IAAI,cAAc,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC;QACxE,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,IAAI,KAAK;QACP,IAAI,IAAI,CAAC,KAAK,YAAY,KAAK,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QAC1B,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC;IAC7B,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from ButtonPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.023Z
|
|
5
5
|
export const content = "## Button\n\nThe following is the type definition for the Button component.\n\n```typescript\ninterface ButtonProps {\n /** The text displayed on the button */\n label?: string;\n /** Sets the internal spacing around the component's content */\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** The visual style variant of the button (primary, secondary, or tertiary) */\n /** @default \"primary\" */\n variant?: \"primary\" | \"secondary\" | \"tertiary\";\n /** The icon displayed on the button */\n icon?: string;\n /** The position of the icon relative to the button text (left or right) */\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default \"Computed at runtime\" */\n textStyle?: TextStyleWithVariant;\n /** Allows selection of a color value using a color picker interface */\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n /** @default {\"left\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"right\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"top\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"},\"bottom\":{\"width\":{\"mode\":\"px\",\"value\":1},\"style\":\"solid\",\"color\":\"transparent\"}} */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** The horizontal alignment of the button content (left, center, or right) */\n /** @default \"center\" */\n horizontalAlign?: \"left\" | \"center\" | \"right\";\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Whether the button is disabled and cannot be clicked */\n /** @default false */\n isDisabled?: boolean;\n onClick?: EventFlow;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=ButtonPropsDocs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from CheckboxPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.023Z
|
|
5
5
|
export const content = "## Checkbox\n\nThe following is the type definition for the Checkbox component.\n\n```typescript\ninterface CheckboxProps {\n /** The text label displayed next to the checkbox */\n /** @default \"\" */\n label?: string;\n /** Whether the checkbox is checked by default */\n /** @default true */\n defaultChecked?: boolean;\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Whether the checkbox must be checked for form validation */\n required?: boolean;\n /** Whether the checkbox is disabled and cannot be interacted with */\n /** @default false */\n isDisabled?: boolean;\n /** Controls where error messages are displayed - either in a tooltip or inline below the input */\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** Custom validation rule expression that returns true when the input value is valid */\n /** @default \"\" */\n customValidationRule?: string;\n /** Custom error message to display when the validation rule fails */\n /** @default \"\" */\n customErrorMessage?: string;\n onCheckChange?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface CheckboxComponentState {\n /** The current value of the checkbox (true if checked, false if unchecked) */\n value?: boolean;\n /** Object containing any validation errors for the checkbox */\n /** @default {} */\n validationErrors?: any;\n /** Whether the checkbox passes all validation rules */\n /** @default true */\n isValid?: boolean;\n /** Whether validation errors should be displayed to the user */\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface CheckboxMetaProperties {\n /** @default false */\n isTouched?: boolean;\n /** The current checked state of the checkbox */\n isChecked?: boolean;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=CheckboxPropsDocs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from ColumnPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.022Z
|
|
5
5
|
export const content = "## Column\n\nThe following is the type definition for the Column component.\n\n```typescript\ninterface ColumnProps {\n /** Controls how child components are arranged - freeform positioning, vertical stack, or horizontal row */\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** Controls the vertical alignment of child components within the container */\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** Controls the horizontal alignment of child components within the container */\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** Sets the space between child components in the container */\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** Sets the internal spacing around the component's content */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":12},\"bottom\":{\"mode\":\"px\",\"value\":12},\"left\":{\"mode\":\"px\",\"value\":12},\"right\":{\"mode\":\"px\",\"value\":12}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n /** @default {\"mode\":\"fill\",\"value\":1} */\n width?: Dim;\n /** Sets the height of the component */\n /** @default {\"mode\":\"fill\",\"value\":1} */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Sets the number of columns in the grid layout for positioning child components */\n /** @default 12 */\n columns?: number;\n /** Sets the height of each row in the grid layout measured in pixels */\n /** @default 12 */\n rowHeight?: Dim;\n /** Enables scrolling when content exceeds the container bounds */\n /** @default true */\n shouldScrollContents?: boolean;\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Allows selection of a color value using a color picker interface */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=ColumnPropsDocs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from ContainerPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.022Z
|
|
5
5
|
export const content = "## Container\n\nThe following is the type definition for the Container component.\n\n```typescript\ninterface ContainerProps {\n /** Controls how child components are arranged - freeform positioning, vertical stack, or horizontal row */\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** Controls the vertical alignment of child components within the container */\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** Controls the horizontal alignment of child components within the container */\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** Sets the space between child components in the container */\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\n /** Sets the internal spacing around the component's content */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the number of columns in the grid layout for positioning child components */\n /** @default 12 */\n columns?: number;\n /** Sets the height of each row in the grid layout measured in pixels */\n /** @default 12 */\n rowHeight?: Dim;\n /** Enables scrolling when content exceeds the container bounds */\n /** @default true */\n shouldScrollContents?: boolean;\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** The visual style variant of the container (none or card) */\n /** @default \"none\" */\n variant?: \"none\" | \"card\";\n /** The background color of the container */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=ContainerPropsDocs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from DatePickerPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.022Z
|
|
5
5
|
export const content = "## DatePicker\n\nThe following is the type definition for the DatePicker component.\n\n```typescript\ninterface DatePickerProps {\n /** The text label displayed above the date picker */\n /** @default \"\" */\n label?: string;\n defaultDate?: string;\n /** The format used for the date value when accessing it programmatically */\n /** @default \"YYYY-MM-DDTHH:mm:ss.SSSSZ\" */\n dateFormat?:\n | \"X\"\n | \"x\"\n | \"MM-DD-YYYY\"\n | \"MM-DD-YYYY HH:mm\"\n | \"MM-DD-YYYY HH:mm:ss\"\n | \"MM-DD-YYYY hh:mm:ss a\"\n | \"MM-DD-YYYYTHH:mm:ss.sssZ\"\n | \"YYYY-MM-DD\"\n | \"YYYY-MM-DD HH:mm\"\n | \"YYYY-MM-DD HH:mm:ss\"\n | \"YYYY-MM-DD HH:mm:ssZ\"\n | \"YYYY-MM-DDTHH:mm:ss.sssZ\"\n | \"YYYY-MM-DD hh:mm:ss a\"\n | \"YYYY-MM-DDTHH:mm:ss\"\n | \"DD-MM-YYYY\"\n | \"DD-MM-YYYY HH:mm\"\n | \"DD-MM-YYYY HH:mm:ss\"\n | \"DD-MM-YYYY hh:mm:ss a\"\n | \"DD-MM-YYYYTHH:mm:ss.sssZ\"\n | \"Do MMM YYYY\"\n | \"MM/DD/YYYY\"\n | \"MM/DD/YYYY HH:mm\"\n | \"MM/DD/YYYY HH:mm:ss\"\n | \"MM/DD/YYYY hh:mm:ss a\"\n | \"MM/DD/YYYYTHH:mm:ss.sssZ\"\n | \"YYYY/MM/DD\"\n | \"YYYY/MM/DD HH:mm\"\n | \"YYYY/MM/DD HH:mm:ss\"\n | \"YYYY/MM/DD hh:mm:ss a\"\n | \"YYYY/MM/DDTHH:mm:ss\"\n | \"DD/MM/YYYY\"\n | \"DD/MM/YYYY HH:mm\"\n | \"DD/MM/YYYY HH:mm:ss\"\n | \"DD/MM/YYYY hh:mm:ss a\"\n | \"DD/MM/YYYYTHH:mm:ss.sssZ\";\n /** The format used to display the date to the user */\n /** @default \"MM/DD/YYYY\" */\n displayDateFormat?:\n | \"X\"\n | \"x\"\n | \"MM-DD-YYYY\"\n | \"MM-DD-YYYY HH:mm\"\n | \"MM-DD-YYYY HH:mm:ss\"\n | \"MM-DD-YYYY hh:mm:ss a\"\n | \"MM-DD-YYYYTHH:mm:ss.sssZ\"\n | \"YYYY-MM-DD\"\n | \"YYYY-MM-DD HH:mm\"\n | \"YYYY-MM-DD HH:mm:ss\"\n | \"YYYY-MM-DD HH:mm:ssZ\"\n | \"YYYY-MM-DDTHH:mm:ss.sssZ\"\n | \"YYYY-MM-DD hh:mm:ss a\"\n | \"YYYY-MM-DDTHH:mm:ss\"\n | \"DD-MM-YYYY\"\n | \"DD-MM-YYYY HH:mm\"\n | \"DD-MM-YYYY HH:mm:ss\"\n | \"DD-MM-YYYY hh:mm:ss a\"\n | \"DD-MM-YYYYTHH:mm:ss.sssZ\"\n | \"Do MMM YYYY\"\n | \"MM/DD/YYYY\"\n | \"MM/DD/YYYY HH:mm\"\n | \"MM/DD/YYYY HH:mm:ss\"\n | \"MM/DD/YYYY hh:mm:ss a\"\n | \"MM/DD/YYYYTHH:mm:ss.sssZ\"\n | \"YYYY/MM/DD\"\n | \"YYYY/MM/DD HH:mm\"\n | \"YYYY/MM/DD HH:mm:ss\"\n | \"YYYY/MM/DD hh:mm:ss a\"\n | \"YYYY/MM/DDTHH:mm:ss\"\n | \"DD/MM/YYYY\"\n | \"DD/MM/YYYY HH:mm\"\n | \"DD/MM/YYYY HH:mm:ss\"\n | \"DD/MM/YYYY hh:mm:ss a\"\n | \"DD/MM/YYYYTHH:mm:ss.sssZ\";\n /** Whether to enable timezone management for the date picker */\n /** @default false */\n manageTimezone?: boolean;\n /** The timezone used for the date value when timezone management is enabled */\n valueTimezone?:\n | \"undefined\"\n | \"Etc/UTC\"\n | \"UTC\"\n | \"Africa/Abidjan\"\n | \"Africa/Accra\"\n | \"Africa/Addis_Ababa\"\n | \"Africa/Algiers\"\n | \"Africa/Asmara\"\n | \"Africa/Asmera\"\n | \"Africa/Bamako\"\n | \"Africa/Bangui\"\n | \"Africa/Banjul\"\n | \"Africa/Bissau\"\n | \"Africa/Blantyre\"\n | \"Africa/Brazzaville\"\n | \"Africa/Bujumbura\"\n | \"Africa/Cairo\"\n | \"Africa/Casablanca\"\n | \"Africa/Ceuta\"\n | \"Africa/Conakry\"\n | \"Africa/Dakar\"\n | \"Africa/Dar_es_Salaam\"\n | \"Africa/Djibouti\"\n | \"Africa/Douala\"\n | \"Africa/El_Aaiun\"\n | \"Africa/Freetown\"\n | \"Africa/Gaborone\"\n | \"Africa/Harare\"\n | \"Africa/Johannesburg\"\n | \"Africa/Juba\"\n | \"Africa/Kampala\"\n | \"Africa/Khartoum\"\n | \"Africa/Kigali\"\n | \"Africa/Kinshasa\"\n | \"Africa/Lagos\"\n | \"Africa/Libreville\"\n | \"Africa/Lome\"\n | \"Africa/Luanda\"\n | \"Africa/Lubumbashi\"\n | \"Africa/Lusaka\"\n | \"Africa/Malabo\"\n | \"Africa/Maputo\"\n | \"Africa/Maseru\"\n | \"Africa/Mbabane\"\n | \"Africa/Mogadishu\"\n | \"Africa/Monrovia\"\n | \"Africa/Nairobi\"\n | \"Africa/Ndjamena\"\n | \"Africa/Niamey\"\n | \"Africa/Nouakchott\"\n | \"Africa/Ouagadougou\"\n | \"Africa/Porto-Novo\"\n | \"Africa/Sao_Tome\"\n | \"Africa/Timbuktu\"\n | \"Africa/Tripoli\"\n | \"Africa/Tunis\"\n | \"Africa/Windhoek\"\n | \"America/Adak\"\n | \"America/Anchorage\"\n | \"America/Anguilla\"\n | \"America/Antigua\"\n | \"America/Araguaina\"\n | \"America/Argentina/Buenos_Aires\"\n | \"America/Argentina/Catamarca\"\n | \"America/Argentina/ComodRivadavia\"\n | \"America/Argentina/Cordoba\"\n | \"America/Argentina/Jujuy\"\n | \"America/Argentina/La_Rioja\"\n | \"America/Argentina/Mendoza\"\n | \"America/Argentina/Rio_Gallegos\"\n | \"America/Argentina/Salta\"\n | \"America/Argentina/San_Juan\"\n | \"America/Argentina/San_Luis\"\n | \"America/Argentina/Tucuman\"\n | \"America/Argentina/Ushuaia\"\n | \"America/Aruba\"\n | \"America/Asuncion\"\n | \"America/Atikokan\"\n | \"America/Atka\"\n | \"America/Bahia\"\n | \"America/Bahia_Banderas\"\n | \"America/Barbados\"\n | \"America/Belem\"\n | \"America/Belize\"\n | \"America/Blanc-Sablon\"\n | \"America/Boa_Vista\"\n | \"America/Bogota\"\n | \"America/Boise\"\n | \"America/Buenos_Aires\"\n | \"America/Cambridge_Bay\"\n | \"America/Campo_Grande\"\n | \"America/Cancun\"\n | \"America/Caracas\"\n | \"America/Catamarca\"\n | \"America/Cayenne\"\n | \"America/Cayman\"\n | \"America/Chicago\"\n | \"America/Chihuahua\"\n | \"America/Ciudad_Juarez\"\n | \"America/Coral_Harbour\"\n | \"America/Cordoba\"\n | \"America/Costa_Rica\"\n | \"America/Creston\"\n | \"America/Cuiaba\"\n | \"America/Curacao\"\n | \"America/Danmarkshavn\"\n | \"America/Dawson\"\n | \"America/Dawson_Creek\"\n | \"America/Denver\"\n | \"America/Detroit\"\n | \"America/Dominica\"\n | \"America/Edmonton\"\n | \"America/Eirunepe\"\n | \"America/El_Salvador\"\n | \"America/Ensenada\"\n | \"America/Fort_Nelson\"\n | \"America/Fort_Wayne\"\n | \"America/Fortaleza\"\n | \"America/Glace_Bay\"\n | \"America/Godthab\"\n | \"America/Goose_Bay\"\n | \"America/Grand_Turk\"\n | \"America/Grenada\"\n | \"America/Guadeloupe\"\n | \"America/Guatemala\"\n | \"America/Guayaquil\"\n | \"America/Guyana\"\n | \"America/Halifax\"\n | \"America/Havana\"\n | \"America/Hermosillo\"\n | \"America/Indiana/Indianapolis\"\n | \"America/Indiana/Knox\"\n | \"America/Indiana/Marengo\"\n | \"America/Indiana/Petersburg\"\n | \"America/Indiana/Tell_City\"\n | \"America/Indiana/Vevay\"\n | \"America/Indiana/Vincennes\"\n | \"America/Indiana/Winamac\"\n | \"America/Indianapolis\"\n | \"America/Inuvik\"\n | \"America/Iqaluit\"\n | \"America/Jamaica\"\n | \"America/Jujuy\"\n | \"America/Juneau\"\n | \"America/Kentucky/Louisville\"\n | \"America/Kentucky/Monticello\"\n | \"America/Knox_IN\"\n | \"America/Kralendijk\"\n | \"America/La_Paz\"\n | \"America/Lima\"\n | \"America/Los_Angeles\"\n | \"America/Louisville\"\n | \"America/Lower_Princes\"\n | \"America/Maceio\"\n | \"America/Managua\"\n | \"America/Manaus\"\n | \"America/Marigot\"\n | \"America/Martinique\"\n | \"America/Matamoros\"\n | \"America/Mazatlan\"\n | \"America/Mendoza\"\n | \"America/Menominee\"\n | \"America/Merida\"\n | \"America/Metlakatla\"\n | \"America/Mexico_City\"\n | \"America/Miquelon\"\n | \"America/Moncton\"\n | \"America/Monterrey\"\n | \"America/Montevideo\"\n | \"America/Montreal\"\n | \"America/Montserrat\"\n | \"America/Nassau\"\n | \"America/New_York\"\n | \"America/Nipigon\"\n | \"America/Nome\"\n | \"America/Noronha\"\n | \"America/North_Dakota/Beulah\"\n | \"America/North_Dakota/Center\"\n | \"America/North_Dakota/New_Salem\"\n | \"America/Nuuk\"\n | \"America/Ojinaga\"\n | \"America/Panama\"\n | \"America/Pangnirtung\"\n | \"America/Paramaribo\"\n | \"America/Phoenix\"\n | \"America/Port-au-Prince\"\n | \"America/Port_of_Spain\"\n | \"America/Porto_Acre\"\n | \"America/Porto_Velho\"\n | \"America/Puerto_Rico\"\n | \"America/Punta_Arenas\"\n | \"America/Rainy_River\"\n | \"America/Rankin_Inlet\"\n | \"America/Recife\"\n | \"America/Regina\"\n | \"America/Resolute\"\n | \"America/Rio_Branco\"\n | \"America/Rosario\"\n | \"America/Santa_Isabel\"\n | \"America/Santarem\"\n | \"America/Santiago\"\n | \"America/Santo_Domingo\"\n | \"America/Sao_Paulo\"\n | \"America/Scoresbysund\"\n | \"America/Shiprock\"\n | \"America/Sitka\"\n | \"America/St_Barthelemy\"\n | \"America/St_Johns\"\n | \"America/St_Kitts\"\n | \"America/St_Lucia\"\n | \"America/St_Thomas\"\n | \"America/St_Vincent\"\n | \"America/Swift_Current\"\n | \"America/Tegucigalpa\"\n | \"America/Thule\"\n | \"America/Thunder_Bay\"\n | \"America/Tijuana\"\n | \"America/Toronto\"\n | \"America/Tortola\"\n | \"America/Vancouver\"\n | \"America/Virgin\"\n | \"America/Whitehorse\"\n | \"America/Winnipeg\"\n | \"America/Yakutat\"\n | \"America/Yellowknife\"\n | \"Antarctica/Casey\"\n | \"Antarctica/Davis\"\n | \"Antarctica/DumontDUrville\"\n | \"Antarctica/Macquarie\"\n | \"Antarctica/Mawson\"\n | \"Antarctica/McMurdo\"\n | \"Antarctica/Palmer\"\n | \"Antarctica/Rothera\"\n | \"Antarctica/South_Pole\"\n | \"Antarctica/Syowa\"\n | \"Antarctica/Troll\"\n | \"Antarctica/Vostok\"\n | \"Arctic/Longyearbyen\"\n | \"Asia/Aden\"\n | \"Asia/Almaty\"\n | \"Asia/Amman\"\n | \"Asia/Anadyr\"\n | \"Asia/Aqtau\"\n | \"Asia/Aqtobe\"\n | \"Asia/Ashgabat\"\n | \"Asia/Ashkhabad\"\n | \"Asia/Atyrau\"\n | \"Asia/Baghdad\"\n | \"Asia/Bahrain\"\n | \"Asia/Baku\"\n | \"Asia/Bangkok\"\n | \"Asia/Barnaul\"\n | \"Asia/Beirut\"\n | \"Asia/Bishkek\"\n | \"Asia/Brunei\"\n | \"Asia/Calcutta\"\n | \"Asia/Chita\"\n | \"Asia/Choibalsan\"\n | \"Asia/Chongqing\"\n | \"Asia/Chungking\"\n | \"Asia/Colombo\"\n | \"Asia/Dacca\"\n | \"Asia/Damascus\"\n | \"Asia/Dhaka\"\n | \"Asia/Dili\"\n | \"Asia/Dubai\"\n | \"Asia/Dushanbe\"\n | \"Asia/Famagusta\"\n | \"Asia/Gaza\"\n | \"Asia/Harbin\"\n | \"Asia/Hebron\"\n | \"Asia/Ho_Chi_Minh\"\n | \"Asia/Hong_Kong\"\n | \"Asia/Hovd\"\n | \"Asia/Irkutsk\"\n | \"Asia/Istanbul\"\n | \"Asia/Jakarta\"\n | \"Asia/Jayapura\"\n | \"Asia/Jerusalem\"\n | \"Asia/Kabul\"\n | \"Asia/Kamchatka\"\n | \"Asia/Karachi\"\n | \"Asia/Kashgar\"\n | \"Asia/Kathmandu\"\n | \"Asia/Katmandu\"\n | \"Asia/Khandyga\"\n | \"Asia/Kolkata\"\n | \"Asia/Krasnoyarsk\"\n | \"Asia/Kuala_Lumpur\"\n | \"Asia/Kuching\"\n | \"Asia/Kuwait\"\n | \"Asia/Macao\"\n | \"Asia/Macau\"\n | \"Asia/Magadan\"\n | \"Asia/Makassar\"\n | \"Asia/Manila\"\n | \"Asia/Muscat\"\n | \"Asia/Nicosia\"\n | \"Asia/Novokuznetsk\"\n | \"Asia/Novosibirsk\"\n | \"Asia/Omsk\"\n | \"Asia/Oral\"\n | \"Asia/Phnom_Penh\"\n | \"Asia/Pontianak\"\n | \"Asia/Pyongyang\"\n | \"Asia/Qatar\"\n | \"Asia/Qostanay\"\n | \"Asia/Qyzylorda\"\n | \"Asia/Rangoon\"\n | \"Asia/Riyadh\"\n | \"Asia/Saigon\"\n | \"Asia/Sakhalin\"\n | \"Asia/Samarkand\"\n | \"Asia/Seoul\"\n | \"Asia/Shanghai\"\n | \"Asia/Singapore\"\n | \"Asia/Srednekolymsk\"\n | \"Asia/Taipei\"\n | \"Asia/Tashkent\"\n | \"Asia/Tbilisi\"\n | \"Asia/Tehran\"\n | \"Asia/Tel_Aviv\"\n | \"Asia/Thimbu\"\n | \"Asia/Thimphu\"\n | \"Asia/Tokyo\"\n | \"Asia/Tomsk\"\n | \"Asia/Ujung_Pandang\"\n | \"Asia/Ulaanbaatar\"\n | \"Asia/Ulan_Bator\"\n | \"Asia/Urumqi\"\n | \"Asia/Ust-Nera\"\n | \"Asia/Vientiane\"\n | \"Asia/Vladivostok\"\n | \"Asia/Yakutsk\"\n | \"Asia/Yangon\"\n | \"Asia/Yekaterinburg\"\n | \"Asia/Yerevan\"\n | \"Atlantic/Azores\"\n | \"Atlantic/Bermuda\"\n | \"Atlantic/Canary\"\n | \"Atlantic/Cape_Verde\"\n | \"Atlantic/Faeroe\"\n | \"Atlantic/Faroe\"\n | \"Atlantic/Jan_Mayen\"\n | \"Atlantic/Madeira\"\n | \"Atlantic/Reykjavik\"\n | \"Atlantic/South_Georgia\"\n | \"Atlantic/St_Helena\"\n | \"Atlantic/Stanley\"\n | \"Australia/ACT\"\n | \"Australia/Adelaide\"\n | \"Australia/Brisbane\"\n | \"Australia/Broken_Hill\"\n | \"Australia/Canberra\"\n | \"Australia/Currie\"\n | \"Australia/Darwin\"\n | \"Australia/Eucla\"\n | \"Australia/Hobart\"\n | \"Australia/LHI\"\n | \"Australia/Lindeman\"\n | \"Australia/Lord_Howe\"\n | \"Australia/Melbourne\"\n | \"Australia/NSW\"\n | \"Australia/North\"\n | \"Australia/Perth\"\n | \"Australia/Queensland\"\n | \"Australia/South\"\n | \"Australia/Sydney\"\n | \"Australia/Tasmania\"\n | \"Australia/Victoria\"\n | \"Australia/West\"\n | \"Australia/Yancowinna\"\n | \"Brazil/Acre\"\n | \"Brazil/DeNoronha\"\n | \"Brazil/East\"\n | \"Brazil/West\"\n | \"CET\"\n | \"CST6CDT\"\n | \"Canada/Atlantic\"\n | \"Canada/Central\"\n | \"Canada/Eastern\"\n | \"Canada/Mountain\"\n | \"Canada/Newfoundland\"\n | \"Canada/Pacific\"\n | \"Canada/Saskatchewan\"\n | \"Canada/Yukon\"\n | \"Chile/Continental\"\n | \"Chile/EasterIsland\"\n | \"Cuba\"\n | \"EET\"\n | \"EST\"\n | \"EST5EDT\"\n | \"Egypt\"\n | \"Eire\"\n | \"Etc/GMT\"\n | \"Etc/GMT+0\"\n | \"Etc/GMT+1\"\n | \"Etc/GMT+10\"\n | \"Etc/GMT+11\"\n | \"Etc/GMT+12\"\n | \"Etc/GMT+2\"\n | \"Etc/GMT+3\"\n | \"Etc/GMT+4\"\n | \"Etc/GMT+5\"\n | \"Etc/GMT+6\"\n | \"Etc/GMT+7\"\n | \"Etc/GMT+8\"\n | \"Etc/GMT+9\"\n | \"Etc/GMT-0\"\n | \"Etc/GMT-1\"\n | \"Etc/GMT-10\"\n | \"Etc/GMT-11\"\n | \"Etc/GMT-12\"\n | \"Etc/GMT-13\"\n | \"Etc/GMT-14\"\n | \"Etc/GMT-2\"\n | \"Etc/GMT-3\"\n | \"Etc/GMT-4\"\n | \"Etc/GMT-5\"\n | \"Etc/GMT-6\"\n | \"Etc/GMT-7\"\n | \"Etc/GMT-8\"\n | \"Etc/GMT-9\"\n | \"Etc/GMT0\"\n | \"Etc/Greenwich\"\n | \"Etc/UCT\"\n | \"Etc/Universal\"\n | \"Etc/Zulu\"\n | \"Europe/Amsterdam\"\n | \"Europe/Andorra\"\n | \"Europe/Astrakhan\"\n | \"Europe/Athens\"\n | \"Europe/Belfast\"\n | \"Europe/Belgrade\"\n | \"Europe/Berlin\"\n | \"Europe/Bratislava\"\n | \"Europe/Brussels\"\n | \"Europe/Bucharest\"\n | \"Europe/Budapest\"\n | \"Europe/Busingen\"\n | \"Europe/Chisinau\"\n | \"Europe/Copenhagen\"\n | \"Europe/Dublin\"\n | \"Europe/Gibraltar\"\n | \"Europe/Guernsey\"\n | \"Europe/Helsinki\"\n | \"Europe/Isle_of_Man\"\n | \"Europe/Istanbul\"\n | \"Europe/Jersey\"\n | \"Europe/Kaliningrad\"\n | \"Europe/Kiev\"\n | \"Europe/Kirov\"\n | \"Europe/Kyiv\"\n | \"Europe/Lisbon\"\n | \"Europe/Ljubljana\"\n | \"Europe/London\"\n | \"Europe/Luxembourg\"\n | \"Europe/Madrid\"\n | \"Europe/Malta\"\n | \"Europe/Mariehamn\"\n | \"Europe/Minsk\"\n | \"Europe/Monaco\"\n | \"Europe/Moscow\"\n | \"Europe/Nicosia\"\n | \"Europe/Oslo\"\n | \"Europe/Paris\"\n | \"Europe/Podgorica\"\n | \"Europe/Prague\"\n | \"Europe/Riga\"\n | \"Europe/Rome\"\n | \"Europe/Samara\"\n | \"Europe/San_Marino\"\n | \"Europe/Sarajevo\"\n | \"Europe/Saratov\"\n | \"Europe/Simferopol\"\n | \"Europe/Skopje\"\n | \"Europe/Sofia\"\n | \"Europe/Stockholm\"\n | \"Europe/Tallinn\"\n | \"Europe/Tirane\"\n | \"Europe/Tiraspol\"\n | \"Europe/Ulyanovsk\"\n | \"Europe/Uzhgorod\"\n | \"Europe/Vaduz\"\n | \"Europe/Vatican\"\n | \"Europe/Vienna\"\n | \"Europe/Vilnius\"\n | \"Europe/Volgograd\"\n | \"Europe/Warsaw\"\n | \"Europe/Zagreb\"\n | \"Europe/Zaporozhye\"\n | \"Europe/Zurich\"\n | \"GB\"\n | \"GB-Eire\"\n | \"GMT\"\n | \"GMT+0\"\n | \"GMT-0\"\n | \"GMT0\"\n | \"Greenwich\"\n | \"HST\"\n | \"Hongkong\"\n | \"Iceland\"\n | \"Indian/Antananarivo\"\n | \"Indian/Chagos\"\n | \"Indian/Christmas\"\n | \"Indian/Cocos\"\n | \"Indian/Comoro\"\n | \"Indian/Kerguelen\"\n | \"Indian/Mahe\"\n | \"Indian/Maldives\"\n | \"Indian/Mauritius\"\n | \"Indian/Mayotte\"\n | \"Indian/Reunion\"\n | \"Iran\"\n | \"Israel\"\n | \"Jamaica\"\n | \"Japan\"\n | \"Kwajalein\"\n | \"Libya\"\n | \"MET\"\n | \"MST\"\n | \"MST7MDT\"\n | \"Mexico/BajaNorte\"\n | \"Mexico/BajaSur\"\n | \"Mexico/General\"\n | \"NZ\"\n | \"NZ-CHAT\"\n | \"Navajo\"\n | \"PRC\"\n | \"PST8PDT\"\n | \"Pacific/Apia\"\n | \"Pacific/Auckland\"\n | \"Pacific/Bougainville\"\n | \"Pacific/Chatham\"\n | \"Pacific/Chuuk\"\n | \"Pacific/Easter\"\n | \"Pacific/Efate\"\n | \"Pacific/Enderbury\"\n | \"Pacific/Fakaofo\"\n | \"Pacific/Fiji\"\n | \"Pacific/Funafuti\"\n | \"Pacific/Galapagos\"\n | \"Pacific/Gambier\"\n | \"Pacific/Guadalcanal\"\n | \"Pacific/Guam\"\n | \"Pacific/Honolulu\"\n | \"Pacific/Johnston\"\n | \"Pacific/Kanton\"\n | \"Pacific/Kiritimati\"\n | \"Pacific/Kosrae\"\n | \"Pacific/Kwajalein\"\n | \"Pacific/Majuro\"\n | \"Pacific/Marquesas\"\n | \"Pacific/Midway\"\n | \"Pacific/Nauru\"\n | \"Pacific/Niue\"\n | \"Pacific/Norfolk\"\n | \"Pacific/Noumea\"\n | \"Pacific/Pago_Pago\"\n | \"Pacific/Palau\"\n | \"Pacific/Pitcairn\"\n | \"Pacific/Pohnpei\"\n | \"Pacific/Ponape\"\n | \"Pacific/Port_Moresby\"\n | \"Pacific/Rarotonga\"\n | \"Pacific/Saipan\"\n | \"Pacific/Samoa\"\n | \"Pacific/Tahiti\"\n | \"Pacific/Tarawa\"\n | \"Pacific/Tongatapu\"\n | \"Pacific/Truk\"\n | \"Pacific/Wake\"\n | \"Pacific/Wallis\"\n | \"Pacific/Yap\"\n | \"Poland\"\n | \"Portugal\"\n | \"ROC\"\n | \"ROK\"\n | \"Singapore\"\n | \"Turkey\"\n | \"UCT\"\n | \"US/Alaska\"\n | \"US/Aleutian\"\n | \"US/Arizona\"\n | \"US/Central\"\n | \"US/East-Indiana\"\n | \"US/Eastern\"\n | \"US/Hawaii\"\n | \"US/Indiana-Starke\"\n | \"US/Michigan\"\n | \"US/Mountain\"\n | \"US/Pacific\"\n | \"US/Samoa\"\n | \"Universal\"\n | \"W-SU\"\n | \"WET\"\n | \"Zulu\";\n /** The timezone used for displaying the date when timezone management is enabled */\n displayTimezone?:\n | \"undefined\"\n | \"Etc/UTC\"\n | \"UTC\"\n | \"Africa/Abidjan\"\n | \"Africa/Accra\"\n | \"Africa/Addis_Ababa\"\n | \"Africa/Algiers\"\n | \"Africa/Asmara\"\n | \"Africa/Asmera\"\n | \"Africa/Bamako\"\n | \"Africa/Bangui\"\n | \"Africa/Banjul\"\n | \"Africa/Bissau\"\n | \"Africa/Blantyre\"\n | \"Africa/Brazzaville\"\n | \"Africa/Bujumbura\"\n | \"Africa/Cairo\"\n | \"Africa/Casablanca\"\n | \"Africa/Ceuta\"\n | \"Africa/Conakry\"\n | \"Africa/Dakar\"\n | \"Africa/Dar_es_Salaam\"\n | \"Africa/Djibouti\"\n | \"Africa/Douala\"\n | \"Africa/El_Aaiun\"\n | \"Africa/Freetown\"\n | \"Africa/Gaborone\"\n | \"Africa/Harare\"\n | \"Africa/Johannesburg\"\n | \"Africa/Juba\"\n | \"Africa/Kampala\"\n | \"Africa/Khartoum\"\n | \"Africa/Kigali\"\n | \"Africa/Kinshasa\"\n | \"Africa/Lagos\"\n | \"Africa/Libreville\"\n | \"Africa/Lome\"\n | \"Africa/Luanda\"\n | \"Africa/Lubumbashi\"\n | \"Africa/Lusaka\"\n | \"Africa/Malabo\"\n | \"Africa/Maputo\"\n | \"Africa/Maseru\"\n | \"Africa/Mbabane\"\n | \"Africa/Mogadishu\"\n | \"Africa/Monrovia\"\n | \"Africa/Nairobi\"\n | \"Africa/Ndjamena\"\n | \"Africa/Niamey\"\n | \"Africa/Nouakchott\"\n | \"Africa/Ouagadougou\"\n | \"Africa/Porto-Novo\"\n | \"Africa/Sao_Tome\"\n | \"Africa/Timbuktu\"\n | \"Africa/Tripoli\"\n | \"Africa/Tunis\"\n | \"Africa/Windhoek\"\n | \"America/Adak\"\n | \"America/Anchorage\"\n | \"America/Anguilla\"\n | \"America/Antigua\"\n | \"America/Araguaina\"\n | \"America/Argentina/Buenos_Aires\"\n | \"America/Argentina/Catamarca\"\n | \"America/Argentina/ComodRivadavia\"\n | \"America/Argentina/Cordoba\"\n | \"America/Argentina/Jujuy\"\n | \"America/Argentina/La_Rioja\"\n | \"America/Argentina/Mendoza\"\n | \"America/Argentina/Rio_Gallegos\"\n | \"America/Argentina/Salta\"\n | \"America/Argentina/San_Juan\"\n | \"America/Argentina/San_Luis\"\n | \"America/Argentina/Tucuman\"\n | \"America/Argentina/Ushuaia\"\n | \"America/Aruba\"\n | \"America/Asuncion\"\n | \"America/Atikokan\"\n | \"America/Atka\"\n | \"America/Bahia\"\n | \"America/Bahia_Banderas\"\n | \"America/Barbados\"\n | \"America/Belem\"\n | \"America/Belize\"\n | \"America/Blanc-Sablon\"\n | \"America/Boa_Vista\"\n | \"America/Bogota\"\n | \"America/Boise\"\n | \"America/Buenos_Aires\"\n | \"America/Cambridge_Bay\"\n | \"America/Campo_Grande\"\n | \"America/Cancun\"\n | \"America/Caracas\"\n | \"America/Catamarca\"\n | \"America/Cayenne\"\n | \"America/Cayman\"\n | \"America/Chicago\"\n | \"America/Chihuahua\"\n | \"America/Ciudad_Juarez\"\n | \"America/Coral_Harbour\"\n | \"America/Cordoba\"\n | \"America/Costa_Rica\"\n | \"America/Creston\"\n | \"America/Cuiaba\"\n | \"America/Curacao\"\n | \"America/Danmarkshavn\"\n | \"America/Dawson\"\n | \"America/Dawson_Creek\"\n | \"America/Denver\"\n | \"America/Detroit\"\n | \"America/Dominica\"\n | \"America/Edmonton\"\n | \"America/Eirunepe\"\n | \"America/El_Salvador\"\n | \"America/Ensenada\"\n | \"America/Fort_Nelson\"\n | \"America/Fort_Wayne\"\n | \"America/Fortaleza\"\n | \"America/Glace_Bay\"\n | \"America/Godthab\"\n | \"America/Goose_Bay\"\n | \"America/Grand_Turk\"\n | \"America/Grenada\"\n | \"America/Guadeloupe\"\n | \"America/Guatemala\"\n | \"America/Guayaquil\"\n | \"America/Guyana\"\n | \"America/Halifax\"\n | \"America/Havana\"\n | \"America/Hermosillo\"\n | \"America/Indiana/Indianapolis\"\n | \"America/Indiana/Knox\"\n | \"America/Indiana/Marengo\"\n | \"America/Indiana/Petersburg\"\n | \"America/Indiana/Tell_City\"\n | \"America/Indiana/Vevay\"\n | \"America/Indiana/Vincennes\"\n | \"America/Indiana/Winamac\"\n | \"America/Indianapolis\"\n | \"America/Inuvik\"\n | \"America/Iqaluit\"\n | \"America/Jamaica\"\n | \"America/Jujuy\"\n | \"America/Juneau\"\n | \"America/Kentucky/Louisville\"\n | \"America/Kentucky/Monticello\"\n | \"America/Knox_IN\"\n | \"America/Kralendijk\"\n | \"America/La_Paz\"\n | \"America/Lima\"\n | \"America/Los_Angeles\"\n | \"America/Louisville\"\n | \"America/Lower_Princes\"\n | \"America/Maceio\"\n | \"America/Managua\"\n | \"America/Manaus\"\n | \"America/Marigot\"\n | \"America/Martinique\"\n | \"America/Matamoros\"\n | \"America/Mazatlan\"\n | \"America/Mendoza\"\n | \"America/Menominee\"\n | \"America/Merida\"\n | \"America/Metlakatla\"\n | \"America/Mexico_City\"\n | \"America/Miquelon\"\n | \"America/Moncton\"\n | \"America/Monterrey\"\n | \"America/Montevideo\"\n | \"America/Montreal\"\n | \"America/Montserrat\"\n | \"America/Nassau\"\n | \"America/New_York\"\n | \"America/Nipigon\"\n | \"America/Nome\"\n | \"America/Noronha\"\n | \"America/North_Dakota/Beulah\"\n | \"America/North_Dakota/Center\"\n | \"America/North_Dakota/New_Salem\"\n | \"America/Nuuk\"\n | \"America/Ojinaga\"\n | \"America/Panama\"\n | \"America/Pangnirtung\"\n | \"America/Paramaribo\"\n | \"America/Phoenix\"\n | \"America/Port-au-Prince\"\n | \"America/Port_of_Spain\"\n | \"America/Porto_Acre\"\n | \"America/Porto_Velho\"\n | \"America/Puerto_Rico\"\n | \"America/Punta_Arenas\"\n | \"America/Rainy_River\"\n | \"America/Rankin_Inlet\"\n | \"America/Recife\"\n | \"America/Regina\"\n | \"America/Resolute\"\n | \"America/Rio_Branco\"\n | \"America/Rosario\"\n | \"America/Santa_Isabel\"\n | \"America/Santarem\"\n | \"America/Santiago\"\n | \"America/Santo_Domingo\"\n | \"America/Sao_Paulo\"\n | \"America/Scoresbysund\"\n | \"America/Shiprock\"\n | \"America/Sitka\"\n | \"America/St_Barthelemy\"\n | \"America/St_Johns\"\n | \"America/St_Kitts\"\n | \"America/St_Lucia\"\n | \"America/St_Thomas\"\n | \"America/St_Vincent\"\n | \"America/Swift_Current\"\n | \"America/Tegucigalpa\"\n | \"America/Thule\"\n | \"America/Thunder_Bay\"\n | \"America/Tijuana\"\n | \"America/Toronto\"\n | \"America/Tortola\"\n | \"America/Vancouver\"\n | \"America/Virgin\"\n | \"America/Whitehorse\"\n | \"America/Winnipeg\"\n | \"America/Yakutat\"\n | \"America/Yellowknife\"\n | \"Antarctica/Casey\"\n | \"Antarctica/Davis\"\n | \"Antarctica/DumontDUrville\"\n | \"Antarctica/Macquarie\"\n | \"Antarctica/Mawson\"\n | \"Antarctica/McMurdo\"\n | \"Antarctica/Palmer\"\n | \"Antarctica/Rothera\"\n | \"Antarctica/South_Pole\"\n | \"Antarctica/Syowa\"\n | \"Antarctica/Troll\"\n | \"Antarctica/Vostok\"\n | \"Arctic/Longyearbyen\"\n | \"Asia/Aden\"\n | \"Asia/Almaty\"\n | \"Asia/Amman\"\n | \"Asia/Anadyr\"\n | \"Asia/Aqtau\"\n | \"Asia/Aqtobe\"\n | \"Asia/Ashgabat\"\n | \"Asia/Ashkhabad\"\n | \"Asia/Atyrau\"\n | \"Asia/Baghdad\"\n | \"Asia/Bahrain\"\n | \"Asia/Baku\"\n | \"Asia/Bangkok\"\n | \"Asia/Barnaul\"\n | \"Asia/Beirut\"\n | \"Asia/Bishkek\"\n | \"Asia/Brunei\"\n | \"Asia/Calcutta\"\n | \"Asia/Chita\"\n | \"Asia/Choibalsan\"\n | \"Asia/Chongqing\"\n | \"Asia/Chungking\"\n | \"Asia/Colombo\"\n | \"Asia/Dacca\"\n | \"Asia/Damascus\"\n | \"Asia/Dhaka\"\n | \"Asia/Dili\"\n | \"Asia/Dubai\"\n | \"Asia/Dushanbe\"\n | \"Asia/Famagusta\"\n | \"Asia/Gaza\"\n | \"Asia/Harbin\"\n | \"Asia/Hebron\"\n | \"Asia/Ho_Chi_Minh\"\n | \"Asia/Hong_Kong\"\n | \"Asia/Hovd\"\n | \"Asia/Irkutsk\"\n | \"Asia/Istanbul\"\n | \"Asia/Jakarta\"\n | \"Asia/Jayapura\"\n | \"Asia/Jerusalem\"\n | \"Asia/Kabul\"\n | \"Asia/Kamchatka\"\n | \"Asia/Karachi\"\n | \"Asia/Kashgar\"\n | \"Asia/Kathmandu\"\n | \"Asia/Katmandu\"\n | \"Asia/Khandyga\"\n | \"Asia/Kolkata\"\n | \"Asia/Krasnoyarsk\"\n | \"Asia/Kuala_Lumpur\"\n | \"Asia/Kuching\"\n | \"Asia/Kuwait\"\n | \"Asia/Macao\"\n | \"Asia/Macau\"\n | \"Asia/Magadan\"\n | \"Asia/Makassar\"\n | \"Asia/Manila\"\n | \"Asia/Muscat\"\n | \"Asia/Nicosia\"\n | \"Asia/Novokuznetsk\"\n | \"Asia/Novosibirsk\"\n | \"Asia/Omsk\"\n | \"Asia/Oral\"\n | \"Asia/Phnom_Penh\"\n | \"Asia/Pontianak\"\n | \"Asia/Pyongyang\"\n | \"Asia/Qatar\"\n | \"Asia/Qostanay\"\n | \"Asia/Qyzylorda\"\n | \"Asia/Rangoon\"\n | \"Asia/Riyadh\"\n | \"Asia/Saigon\"\n | \"Asia/Sakhalin\"\n | \"Asia/Samarkand\"\n | \"Asia/Seoul\"\n | \"Asia/Shanghai\"\n | \"Asia/Singapore\"\n | \"Asia/Srednekolymsk\"\n | \"Asia/Taipei\"\n | \"Asia/Tashkent\"\n | \"Asia/Tbilisi\"\n | \"Asia/Tehran\"\n | \"Asia/Tel_Aviv\"\n | \"Asia/Thimbu\"\n | \"Asia/Thimphu\"\n | \"Asia/Tokyo\"\n | \"Asia/Tomsk\"\n | \"Asia/Ujung_Pandang\"\n | \"Asia/Ulaanbaatar\"\n | \"Asia/Ulan_Bator\"\n | \"Asia/Urumqi\"\n | \"Asia/Ust-Nera\"\n | \"Asia/Vientiane\"\n | \"Asia/Vladivostok\"\n | \"Asia/Yakutsk\"\n | \"Asia/Yangon\"\n | \"Asia/Yekaterinburg\"\n | \"Asia/Yerevan\"\n | \"Atlantic/Azores\"\n | \"Atlantic/Bermuda\"\n | \"Atlantic/Canary\"\n | \"Atlantic/Cape_Verde\"\n | \"Atlantic/Faeroe\"\n | \"Atlantic/Faroe\"\n | \"Atlantic/Jan_Mayen\"\n | \"Atlantic/Madeira\"\n | \"Atlantic/Reykjavik\"\n | \"Atlantic/South_Georgia\"\n | \"Atlantic/St_Helena\"\n | \"Atlantic/Stanley\"\n | \"Australia/ACT\"\n | \"Australia/Adelaide\"\n | \"Australia/Brisbane\"\n | \"Australia/Broken_Hill\"\n | \"Australia/Canberra\"\n | \"Australia/Currie\"\n | \"Australia/Darwin\"\n | \"Australia/Eucla\"\n | \"Australia/Hobart\"\n | \"Australia/LHI\"\n | \"Australia/Lindeman\"\n | \"Australia/Lord_Howe\"\n | \"Australia/Melbourne\"\n | \"Australia/NSW\"\n | \"Australia/North\"\n | \"Australia/Perth\"\n | \"Australia/Queensland\"\n | \"Australia/South\"\n | \"Australia/Sydney\"\n | \"Australia/Tasmania\"\n | \"Australia/Victoria\"\n | \"Australia/West\"\n | \"Australia/Yancowinna\"\n | \"Brazil/Acre\"\n | \"Brazil/DeNoronha\"\n | \"Brazil/East\"\n | \"Brazil/West\"\n | \"CET\"\n | \"CST6CDT\"\n | \"Canada/Atlantic\"\n | \"Canada/Central\"\n | \"Canada/Eastern\"\n | \"Canada/Mountain\"\n | \"Canada/Newfoundland\"\n | \"Canada/Pacific\"\n | \"Canada/Saskatchewan\"\n | \"Canada/Yukon\"\n | \"Chile/Continental\"\n | \"Chile/EasterIsland\"\n | \"Cuba\"\n | \"EET\"\n | \"EST\"\n | \"EST5EDT\"\n | \"Egypt\"\n | \"Eire\"\n | \"Etc/GMT\"\n | \"Etc/GMT+0\"\n | \"Etc/GMT+1\"\n | \"Etc/GMT+10\"\n | \"Etc/GMT+11\"\n | \"Etc/GMT+12\"\n | \"Etc/GMT+2\"\n | \"Etc/GMT+3\"\n | \"Etc/GMT+4\"\n | \"Etc/GMT+5\"\n | \"Etc/GMT+6\"\n | \"Etc/GMT+7\"\n | \"Etc/GMT+8\"\n | \"Etc/GMT+9\"\n | \"Etc/GMT-0\"\n | \"Etc/GMT-1\"\n | \"Etc/GMT-10\"\n | \"Etc/GMT-11\"\n | \"Etc/GMT-12\"\n | \"Etc/GMT-13\"\n | \"Etc/GMT-14\"\n | \"Etc/GMT-2\"\n | \"Etc/GMT-3\"\n | \"Etc/GMT-4\"\n | \"Etc/GMT-5\"\n | \"Etc/GMT-6\"\n | \"Etc/GMT-7\"\n | \"Etc/GMT-8\"\n | \"Etc/GMT-9\"\n | \"Etc/GMT0\"\n | \"Etc/Greenwich\"\n | \"Etc/UCT\"\n | \"Etc/Universal\"\n | \"Etc/Zulu\"\n | \"Europe/Amsterdam\"\n | \"Europe/Andorra\"\n | \"Europe/Astrakhan\"\n | \"Europe/Athens\"\n | \"Europe/Belfast\"\n | \"Europe/Belgrade\"\n | \"Europe/Berlin\"\n | \"Europe/Bratislava\"\n | \"Europe/Brussels\"\n | \"Europe/Bucharest\"\n | \"Europe/Budapest\"\n | \"Europe/Busingen\"\n | \"Europe/Chisinau\"\n | \"Europe/Copenhagen\"\n | \"Europe/Dublin\"\n | \"Europe/Gibraltar\"\n | \"Europe/Guernsey\"\n | \"Europe/Helsinki\"\n | \"Europe/Isle_of_Man\"\n | \"Europe/Istanbul\"\n | \"Europe/Jersey\"\n | \"Europe/Kaliningrad\"\n | \"Europe/Kiev\"\n | \"Europe/Kirov\"\n | \"Europe/Kyiv\"\n | \"Europe/Lisbon\"\n | \"Europe/Ljubljana\"\n | \"Europe/London\"\n | \"Europe/Luxembourg\"\n | \"Europe/Madrid\"\n | \"Europe/Malta\"\n | \"Europe/Mariehamn\"\n | \"Europe/Minsk\"\n | \"Europe/Monaco\"\n | \"Europe/Moscow\"\n | \"Europe/Nicosia\"\n | \"Europe/Oslo\"\n | \"Europe/Paris\"\n | \"Europe/Podgorica\"\n | \"Europe/Prague\"\n | \"Europe/Riga\"\n | \"Europe/Rome\"\n | \"Europe/Samara\"\n | \"Europe/San_Marino\"\n | \"Europe/Sarajevo\"\n | \"Europe/Saratov\"\n | \"Europe/Simferopol\"\n | \"Europe/Skopje\"\n | \"Europe/Sofia\"\n | \"Europe/Stockholm\"\n | \"Europe/Tallinn\"\n | \"Europe/Tirane\"\n | \"Europe/Tiraspol\"\n | \"Europe/Ulyanovsk\"\n | \"Europe/Uzhgorod\"\n | \"Europe/Vaduz\"\n | \"Europe/Vatican\"\n | \"Europe/Vienna\"\n | \"Europe/Vilnius\"\n | \"Europe/Volgograd\"\n | \"Europe/Warsaw\"\n | \"Europe/Zagreb\"\n | \"Europe/Zaporozhye\"\n | \"Europe/Zurich\"\n | \"GB\"\n | \"GB-Eire\"\n | \"GMT\"\n | \"GMT+0\"\n | \"GMT-0\"\n | \"GMT0\"\n | \"Greenwich\"\n | \"HST\"\n | \"Hongkong\"\n | \"Iceland\"\n | \"Indian/Antananarivo\"\n | \"Indian/Chagos\"\n | \"Indian/Christmas\"\n | \"Indian/Cocos\"\n | \"Indian/Comoro\"\n | \"Indian/Kerguelen\"\n | \"Indian/Mahe\"\n | \"Indian/Maldives\"\n | \"Indian/Mauritius\"\n | \"Indian/Mayotte\"\n | \"Indian/Reunion\"\n | \"Iran\"\n | \"Israel\"\n | \"Jamaica\"\n | \"Japan\"\n | \"Kwajalein\"\n | \"Libya\"\n | \"MET\"\n | \"MST\"\n | \"MST7MDT\"\n | \"Mexico/BajaNorte\"\n | \"Mexico/BajaSur\"\n | \"Mexico/General\"\n | \"NZ\"\n | \"NZ-CHAT\"\n | \"Navajo\"\n | \"PRC\"\n | \"PST8PDT\"\n | \"Pacific/Apia\"\n | \"Pacific/Auckland\"\n | \"Pacific/Bougainville\"\n | \"Pacific/Chatham\"\n | \"Pacific/Chuuk\"\n | \"Pacific/Easter\"\n | \"Pacific/Efate\"\n | \"Pacific/Enderbury\"\n | \"Pacific/Fakaofo\"\n | \"Pacific/Fiji\"\n | \"Pacific/Funafuti\"\n | \"Pacific/Galapagos\"\n | \"Pacific/Gambier\"\n | \"Pacific/Guadalcanal\"\n | \"Pacific/Guam\"\n | \"Pacific/Honolulu\"\n | \"Pacific/Johnston\"\n | \"Pacific/Kanton\"\n | \"Pacific/Kiritimati\"\n | \"Pacific/Kosrae\"\n | \"Pacific/Kwajalein\"\n | \"Pacific/Majuro\"\n | \"Pacific/Marquesas\"\n | \"Pacific/Midway\"\n | \"Pacific/Nauru\"\n | \"Pacific/Niue\"\n | \"Pacific/Norfolk\"\n | \"Pacific/Noumea\"\n | \"Pacific/Pago_Pago\"\n | \"Pacific/Palau\"\n | \"Pacific/Pitcairn\"\n | \"Pacific/Pohnpei\"\n | \"Pacific/Ponape\"\n | \"Pacific/Port_Moresby\"\n | \"Pacific/Rarotonga\"\n | \"Pacific/Saipan\"\n | \"Pacific/Samoa\"\n | \"Pacific/Tahiti\"\n | \"Pacific/Tarawa\"\n | \"Pacific/Tongatapu\"\n | \"Pacific/Truk\"\n | \"Pacific/Wake\"\n | \"Pacific/Wallis\"\n | \"Pacific/Yap\"\n | \"Poland\"\n | \"Portugal\"\n | \"ROC\"\n | \"ROK\"\n | \"Singapore\"\n | \"Turkey\"\n | \"UCT\"\n | \"US/Alaska\"\n | \"US/Aleutian\"\n | \"US/Arizona\"\n | \"US/Central\"\n | \"US/East-Indiana\"\n | \"US/Eastern\"\n | \"US/Hawaii\"\n | \"US/Indiana-Starke\"\n | \"US/Michigan\"\n | \"US/Mountain\"\n | \"US/Pacific\"\n | \"US/Samoa\"\n | \"Universal\"\n | \"W-SU\"\n | \"WET\"\n | \"Zulu\";\n /** Whether to display time in 24-hour format instead of 12-hour format */\n /** @default false */\n use24HourTime?: boolean;\n /** Sets the internal spacing around the component's content */\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component (excluding fit-content mode) */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Controls whether the label appears above or beside the input component */\n /** @default \"top\" */\n labelPosition?: \"top\" | \"left\";\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n /** The icon displayed in the date picker */\n /** @default \"calendar_today\" */\n icon?: string;\n /** @default \"Select date\" */\n placeholder?: string;\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputText\"} */\n textStyle?: TextStyleWithVariant;\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Whether a date selection is required for form validation */\n /** @default false */\n required?: boolean;\n /** The earliest date that can be selected */\n minDate?: string;\n /** The latest date that can be selected */\n maxDate?: string;\n /** Whether the date picker is disabled and cannot be interacted with */\n /** @default false */\n isDisabled?: boolean;\n /** Controls where error messages are displayed - either in a tooltip or inline below the input */\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** Custom validation rule expression that returns true when the input value is valid */\n /** @default \"\" */\n customValidationRule?: string;\n /** Custom error message to display when the validation rule fails */\n /** @default \"\" */\n customErrorMessage?: string;\n onDateSelected?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface DatePickerComponentState {\n /** The current value of the date picker in the specified date format */\n value?: string;\n /** Object containing any validation errors for the selected date */\n /** @default {} */\n validationErrors?: any;\n /** Whether the selected date passes all validation rules */\n /** @default true */\n isValid?: boolean;\n /** The selected date formatted as a local ISO string with timezone offset */\n /** @default \"Current datetime\" */\n outputDateLocal?: string;\n /** The selected date formatted as a UTC ISO string */\n /** @default \"Current datetime\" */\n outputDateUtc?: string;\n /** Whether validation errors should be displayed to the user */\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface DatePickerMetaProperties {\n /** The currently selected date in the date picker */\n selectedDate?: string;\n /** @default false */\n isTouched?: boolean;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=DatePickerPropsDocs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from DropdownPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.021Z
|
|
5
5
|
export const content = "## Dropdown\n\nThe following is the type definition for the Dropdown component.\n\n```typescript\ninterface DropdownProps {\n /** The text label displayed above the dropdown */\n /** @default \"\" */\n label?: string;\n /** The array of options available for selection in the dropdown */\n options?: any;\n defaultValue?: string;\n transformation?: any;\n /** Controls whether the label appears above or beside the input component */\n /** @default \"top\" */\n labelPosition?: \"top\" | \"left\";\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n icon?: string;\n /** @default \"Select an option\" */\n placeholder?: string;\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputText\"} */\n textStyle?: TextStyleWithVariant;\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Sets the internal spacing around the component's content */\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component (excluding fit-content mode) */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Whether the dropdown allows selecting multiple options */\n /** @default false */\n multiselect?: boolean;\n /** Whether to show a select/deselect all button in multi-select mode */\n /** @default false */\n allowSelectAll?: boolean;\n /** Whether users can clear the selected value from the dropdown */\n /** @default false */\n allowClearing?: boolean;\n /** Whether to enable client-side filtering of options as the user types */\n /** @default true */\n clientSideFiltering?: boolean;\n /** Whether a selection is required for form validation */\n /** @default false */\n required?: boolean;\n /** Whether the dropdown is disabled and cannot be interacted with */\n /** @default false */\n isDisabled?: boolean;\n /** Controls where error messages are displayed - either in a tooltip or inline below the input */\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** Custom validation rule expression that returns true when the input value is valid */\n /** @default \"\" */\n customValidationRule?: string;\n /** Custom error message to display when the validation rule fails */\n /** @default \"\" */\n customErrorMessage?: string;\n onOptionChange?: EventFlow;\n onSearchTextChange?: EventFlow;\n onClear?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface DropdownComponentState {\n /** The current value of the dropdown (single value or array of values in multi-select mode) */\n value?: any;\n /** The default transformation configuration for converting options to the expected format */\n defaultTransformation?: any;\n /** The processed options array with applied transformations and normalization */\n /** @default [] */\n transformedOptions?: any;\n /** Object containing any validation errors for the dropdown selection */\n /** @default {} */\n validationErrors?: any;\n /** The value of the currently selected option in single-select mode */\n /** @default \"Computed at runtime\" */\n selectedOptionValue?: any;\n /** Array of values for the currently selected options in multi-select mode */\n selectedOptionValues?: any;\n /** The complete option object of the currently selected option in single-select mode */\n /** @default \"Computed at runtime\" */\n selectedOption?: any;\n /** Array of complete option objects for the currently selected options in multi-select mode */\n selectedOptionArr?: any;\n /** The index of the currently selected option in single-select mode */\n /** @default \"Computed at runtime\" */\n selectedIndex?: number;\n /** Array of indices for the currently selected options in multi-select mode */\n /** @default [] */\n selectedIndexArr?: any;\n /** Whether the dropdown selection passes all validation rules */\n /** @default true */\n isValid?: boolean;\n /** Whether validation errors should be displayed to the user */\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface DropdownMetaProperties {\n metaSelectedOptionValue?: any;\n /** @default [null] */\n metaSelectedOptionValueArr?: any;\n /** @default false */\n isTouched?: boolean;\n searchText?: string;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=DropdownPropsDocs.js.map
|
package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from IconPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.021Z
|
|
5
5
|
export const content = "## Icon\n\nThe following is the type definition for the Icon component.\n\n```typescript\ninterface IconProps {\n /** The icon to display */\n icon?: string;\n /** The size of the icon */\n /** @default {\"mode\":\"fit\"} */\n size?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n /** Allows selection of a color value using a color picker interface */\n color?: string;\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n onClick?: EventFlow;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=IconPropsDocs.js.map
|
package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from ImagePropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.021Z
|
|
5
5
|
export const content = "## Image\n\nThe following is the type definition for the Image component.\n\n```typescript\ninterface ImageProps {\n /** The URL or Data URL of the image to display */\n src?: string;\n /** Allows selection of a color value using a color picker interface */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n /** @default {\"topLeft\":{\"mode\":\"px\",\"value\":0},\"topRight\":{\"mode\":\"px\",\"value\":0},\"bottomRight\":{\"mode\":\"px\",\"value\":0},\"bottomLeft\":{\"mode\":\"px\",\"value\":0}} */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** Whether the image should fill the entire container */\n /** @default false */\n fillContainer?: boolean;\n /** The horizontal alignment of the image (left, center, or right) */\n /** @default \"center\" */\n align?: \"left\" | \"center\" | \"right\";\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Sets the width of the component */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n onClick?: EventFlow;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=ImagePropsDocs.js.map
|
package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Auto-generated from InputPropsDocs.md
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
// Generated at: 2025-10-
|
|
4
|
+
// Generated at: 2025-10-09T13:33:07.021Z
|
|
5
5
|
export const content = "## Input\n\nThe following is the type definition for the Input component.\n\n```typescript\ninterface InputProps {\n /** Sets a label text for the input */\n /** @default \"\" */\n label?: string;\n /** Changes the type of data captured in the input */\n /** @default \"TEXT\" */\n inputType?:\n | \"TEXT\"\n | \"NUMBER\"\n | \"PERCENTAGE\"\n | \"CURRENCY\"\n | \"PASSWORD\"\n | \"EMAIL\"\n | \"URL\";\n /** The display format of the number */\n /** @default \"standard\" */\n numberFormat?:\n | \"unformatted\"\n | \"standard\"\n | \"compact\"\n | \"scientific\"\n | \"engineering\";\n /** The three letter ISO 4217 currency code of the input */\n /** @default \"USD\" */\n currency?:\n | \"AED\"\n | \"AFN\"\n | \"ALL\"\n | \"AMD\"\n | \"ANG\"\n | \"AOA\"\n | \"ARS\"\n | \"AUD\"\n | \"AWG\"\n | \"AZN\"\n | \"BAM\"\n | \"BBD\"\n | \"BDT\"\n | \"BGN\"\n | \"BHD\"\n | \"BIF\"\n | \"BMD\"\n | \"BND\"\n | \"BOB\"\n | \"BOV\"\n | \"BRL\"\n | \"BSD\"\n | \"BTN\"\n | \"BWP\"\n | \"BYN\"\n | \"BZD\"\n | \"CAD\"\n | \"CDF\"\n | \"CHE\"\n | \"CHF\"\n | \"CHW\"\n | \"CLF\"\n | \"CLP\"\n | \"CNY\"\n | \"COP\"\n | \"COU\"\n | \"CRC\"\n | \"CUC\"\n | \"CUP\"\n | \"CVE\"\n | \"CZK\"\n | \"DJF\"\n | \"DKK\"\n | \"DOP\"\n | \"DZD\"\n | \"EGP\"\n | \"ERN\"\n | \"ETB\"\n | \"EUR\"\n | \"FJD\"\n | \"FKP\"\n | \"GBP\"\n | \"GEL\"\n | \"GHS\"\n | \"GIP\"\n | \"GMD\"\n | \"GNF\"\n | \"GTQ\"\n | \"GYD\"\n | \"HKD\"\n | \"HNL\"\n | \"HRK\"\n | \"HTG\"\n | \"HUF\"\n | \"IDR\"\n | \"ILS\"\n | \"INR\"\n | \"IQD\"\n | \"IRR\"\n | \"ISK\"\n | \"JMD\"\n | \"JOD\"\n | \"JPY\"\n | \"KES\"\n | \"KGS\"\n | \"KHR\"\n | \"KMF\"\n | \"KPW\"\n | \"KRW\"\n | \"KWD\"\n | \"KYD\"\n | \"KZT\"\n | \"LAK\"\n | \"LBP\"\n | \"LKR\"\n | \"LRD\"\n | \"LSL\"\n | \"LYD\"\n | \"MAD\"\n | \"MDL\"\n | \"MGA\"\n | \"MKD\"\n | \"MMK\"\n | \"MNT\"\n | \"MOP\"\n | \"MRU\"\n | \"MUR\"\n | \"MVR\"\n | \"MWK\"\n | \"MXN\"\n | \"MXV\"\n | \"MYR\"\n | \"MZN\"\n | \"NAD\"\n | \"NGN\"\n | \"NIO\"\n | \"NOK\"\n | \"NPR\"\n | \"NZD\"\n | \"OMR\"\n | \"PAB\"\n | \"PEN\"\n | \"PGK\"\n | \"PHP\"\n | \"PKR\"\n | \"PLN\"\n | \"PYG\"\n | \"QAR\"\n | \"RON\"\n | \"RSD\"\n | \"RUB\"\n | \"RWF\"\n | \"SAR\"\n | \"SBD\"\n | \"SCR\"\n | \"SDG\"\n | \"SEK\"\n | \"SGD\"\n | \"SHP\"\n | \"SLL\"\n | \"SOS\"\n | \"SRD\"\n | \"SSP\"\n | \"STN\"\n | \"SVC\"\n | \"SYP\"\n | \"SZL\"\n | \"THB\"\n | \"TJS\"\n | \"TMT\"\n | \"TND\"\n | \"TOP\"\n | \"TRY\"\n | \"TTD\"\n | \"TWD\"\n | \"TZS\"\n | \"UAH\"\n | \"UGX\"\n | \"USD\"\n | \"USN\"\n | \"UYI\"\n | \"UYU\"\n | \"UYW\"\n | \"UZS\"\n | \"VED\"\n | \"VES\"\n | \"VND\"\n | \"VUV\"\n | \"WST\"\n | \"XAF\"\n | \"XAG\"\n | \"XAU\"\n | \"XBA\"\n | \"XBB\"\n | \"XBC\"\n | \"XBD\"\n | \"XCD\"\n | \"XDR\"\n | \"XOF\"\n | \"XPD\"\n | \"XPF\"\n | \"XPT\"\n | \"XSU\"\n | \"XTS\"\n | \"XUA\"\n | \"XXX\"\n | \"YER\"\n | \"ZAR\"\n | \"ZMW\"\n | \"ZWL\";\n /** The display for currency codes. If a symbol is unavailable, the display will fall back to the code */\n /** @default \"symbol\" */\n currencyCodeDisplay?: \"symbol\" | \"iso_code\";\n /** Sets the default text of the component. The text is updated if the default text changes */\n /** @default \"\" */\n defaultValue?: string;\n /** Controls whether the label appears above or beside the input component */\n /** @default \"top\" */\n labelPosition?: \"top\" | \"left\";\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n /** The text that appears in the input when it is empty */\n /** @default \"Enter text\" */\n placeholderText?: string;\n /** Configures the text styling including font family, size, weight, color, and other typography properties */\n /** @default {\"variant\":\"inputText\"} */\n textStyle?: TextStyleWithVariant;\n /** Changes the color of the background */\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\n /** Component border styling including color, width, and style for all sides */\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n /** Component border radius settings for each corner (top-left, top-right, bottom-right, bottom-left) */\n /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** Select an icon */\n icon?: string;\n /** The alignment of the icon */\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n inputType?: string;\n /** Controls the loading state of the component - off, on, or auto-detected based on data loading */\n loading?: boolean;\n /** Sets the internal spacing around the component's content */\n /** @default {\"left\":{\"mode\":\"px\",\"value\":10},\"right\":{\"mode\":\"px\",\"value\":10},\"top\":{\"mode\":\"px\",\"value\":8},\"bottom\":{\"mode\":\"px\",\"value\":8}} */\n padding?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the component (excluding fit-content mode) */\n width?: Dim;\n /** Sets the height of the component */\n height?: Dim;\n /** Controls the min width dimension of the component */\n minWidth?: Dim;\n /** Controls the max width dimension of the component */\n maxWidth?: Dim;\n /** Controls the min height dimension of the component */\n minHeight?: Dim;\n /** Controls the max height dimension of the component */\n maxHeight?: Dim;\n /** Sets the external spacing around the component */\n /** @default {\"top\":{\"mode\":\"px\",\"value\":0},\"bottom\":{\"mode\":\"px\",\"value\":0},\"left\":{\"mode\":\"px\",\"value\":0},\"right\":{\"mode\":\"px\",\"value\":0}} */\n margin?: { left: Dim; right: Dim; top: Dim; bottom: Dim };\n /** Sets the width of the input label when positioned to the left, either as a percentage or fixed pixels */\n /** @default {\"mode\":\"%\",\"value\":30} */\n labelWidth?: any;\n /** Controls whether the component is visible on the page */\n /** @default true */\n isVisible?: boolean;\n inputType?: string;\n /** Minimum number of decimal places to display in numeric values (0-20) */\n minDecimals?: number;\n /** Maximum number of decimal places to display in numeric values (0-20) */\n maxDecimals?: number;\n /** Display a stepper in the input for users to adjust the value via arrows */\n /** @default false */\n stepper?: boolean;\n /** The increment used when adjusting the value via the UI stepper or keyboard arrow keys */\n /** @default 1 */\n stepSize?: number;\n minLength?: number;\n maxLength?: number;\n /** Disables input to this component */\n /** @default false */\n isDisabled?: boolean;\n /** Makes input to the component mandatory */\n /** @default false */\n required?: boolean;\n /** Controls where error messages are displayed - either in a tooltip or inline below the input */\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** Custom validation rule expression that returns true when the input value is valid */\n customValidationRule?: any;\n /** Custom error message to display when the validation rule fails */\n /** @default \"\" */\n customErrorMessage?: string;\n /** Triggers an action when the text is changed */\n onTextChanged?: EventFlow;\n /** Triggers an action when the user submits the input */\n onSubmit?: EventFlow;\n /** Triggers an action on input focus */\n onFocus?: EventFlow;\n /** Triggers an action on input blur */\n onFocusOut?: EventFlow;\n}\n```\n\nAnd the following properties can be referenced on this component in the Superblocks state object:\n\n```typescript\ninterface InputComponentState {\n /** The current value of the input, processed according to the input type */\n /** @default \"\" */\n value?: any;\n /** Array of validation error messages for the current input value */\n /** @default {} */\n validationErrors?: any;\n /** Whether the current input value passes all validation rules */\n /** @default \"Computed at runtime\" */\n isValid?: boolean;\n /** Whether validation errors should be displayed to the user */\n showError?: boolean;\n}\n```\n\nAnd the following properties are settable via BindEntity.{propertyName} = newValue;\n\n```typescript\ninterface InputMetaProperties {\n /** The current text content of the input field */\n text?: any;\n /** Whether the input has been interacted with by the user */\n /** @default false */\n isTouched?: boolean;\n}\n```\n";
|
|
6
6
|
//# sourceMappingURL=InputPropsDocs.js.map
|