@superblocksteam/vite-plugin-file-sync 2.0.42-next.53 → 2.0.42-next.54
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/tool-message-utils.js +1 -1
- package/dist/ai-service/agent/tool-message-utils.js.map +1 -1
- package/dist/ai-service/agent/tools/integrations/index.d.ts +1 -1
- package/dist/ai-service/agent/tools/integrations/index.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/integrations/index.js +1 -1
- package/dist/ai-service/agent/tools/integrations/index.js.map +1 -1
- package/dist/ai-service/agent/tools/integrations/metadata.d.ts +3 -2
- package/dist/ai-service/agent/tools/integrations/metadata.d.ts.map +1 -1
- package/dist/ai-service/agent/tools/integrations/metadata.js +27 -4
- package/dist/ai-service/agent/tools/integrations/metadata.js.map +1 -1
- package/dist/ai-service/integrations/store.d.ts +11 -4
- package/dist/ai-service/integrations/store.d.ts.map +1 -1
- package/dist/ai-service/integrations/store.js +37 -8
- package/dist/ai-service/integrations/store.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/package.json +6 -6
|
@@ -77,7 +77,7 @@ const messageHandlers = {
|
|
|
77
77
|
name,
|
|
78
78
|
};
|
|
79
79
|
},
|
|
80
|
-
|
|
80
|
+
readIntegrationMetadataForPrompt: (args, clark) => {
|
|
81
81
|
const ids = args?.integrationIds;
|
|
82
82
|
const integrationNames = clark?.context.availableIntegrations
|
|
83
83
|
?.filter((int) => ids?.includes(int.id))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-message-utils.js","sourceRoot":"","sources":["../../../src/ai-service/agent/tool-message-utils.ts"],"names":[],"mappings":"AAgCA,qCAAqC;AACrC,0EAA0E;AAC1E,8EAA8E;AAC9E,8DAA8D;AAC9D,MAAM,eAAe,GAAoB;IACvC,qBAAqB,EAAE,GAAG,EAAE,CAAC,SAAS;IACtC,gBAAgB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC3B,IAAI,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE;QACtB,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,EAAE;KACzB,CAAC;IACF,6BAA6B,EAAE,GAAG,EAAE,CAAC,SAAS;IAC9C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC5B,UAAU,EAAE,IAAI,EAAE,UAAU,IAAI,EAAE;KACnC,CAAC;IACF,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACzB,UAAU,EAAE,IAAI,EAAE,UAAU,IAAI,EAAE;KACnC,CAAC;IACF,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACzB,UAAU,EAAE,IAAI,EAAE,UAAU,IAAI,EAAE;KACnC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rationMetadataToolFactory, } from "./metadata.js";
|
|
2
|
+
export { searchIntegrationsToolFactory, readIntegrationMetadataForPromptToolFactory as readIntegrationMetadataToolFactory, } from "./metadata.js";
|
|
3
3
|
export { runCodeToolFactory } from "./run-code.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EACL,6BAA6B,EAC7B,2CAA2C,IAAI,kCAAkC,GAClF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { executeRequestToIntegrationToolFactory } from "./execute-request.js";
|
|
2
|
-
export { searchIntegrationsToolFactory, readIntegrationMetadataToolFactory, } from "./metadata.js";
|
|
2
|
+
export { searchIntegrationsToolFactory, readIntegrationMetadataForPromptToolFactory as readIntegrationMetadataToolFactory, } from "./metadata.js";
|
|
3
3
|
export { runCodeToolFactory } from "./run-code.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EACL,6BAA6B,EAC7B,2CAA2C,IAAI,kCAAkC,GAClF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -3,7 +3,8 @@ export declare const searchIntegrationsToolFactory: import("../../tools2/types.j
|
|
|
3
3
|
type?: PluginType;
|
|
4
4
|
name?: string;
|
|
5
5
|
}, import("../../../integrations/store.js").IntegrationHeader[]>>;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const readIntegrationMetadataForPromptToolFactory: import("../../tools2/types.js").ToolFactory<import("../../tools2/types.js").Tool<{
|
|
7
7
|
integrationIds: string[];
|
|
8
|
-
|
|
8
|
+
prompt: string;
|
|
9
|
+
}, string>>;
|
|
9
10
|
//# sourceMappingURL=metadata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAUrD,eAAO,MAAM,6BAA6B;WAoBH,UAAU;WAAS,MAAM;iEAmB/D,CAAC;AAEF,eAAO,MAAM,2CAA2C;oBAuBR,MAAM,EAAE;YAAU,MAAM;WA6BvE,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PluginType } from "@superblocksteam/shared";
|
|
2
|
+
import { zip } from "lodash-es";
|
|
2
3
|
import z from "zod";
|
|
4
|
+
import { getLogger } from "../../../../util/logger.js";
|
|
5
|
+
import { safeJsonStringify } from "../../../util/safe-stringify.js";
|
|
3
6
|
import { createToolFactory, ToolCategory } from "../../tools2/types.js";
|
|
4
7
|
export const searchIntegrationsToolFactory = createToolFactory("searchIntegrations", (_clark, services) => {
|
|
5
8
|
return {
|
|
@@ -32,11 +35,12 @@ export const searchIntegrationsToolFactory = createToolFactory("searchIntegratio
|
|
|
32
35
|
readOnly: true,
|
|
33
36
|
};
|
|
34
37
|
});
|
|
35
|
-
export const
|
|
38
|
+
export const readIntegrationMetadataForPromptToolFactory = createToolFactory("readIntegrationMetadataForPrompt", (clark, services) => {
|
|
39
|
+
const MAX_RESPONSE_CHARS = 250_000; // in characters
|
|
36
40
|
return {
|
|
37
41
|
category: ToolCategory.GENERAL,
|
|
38
42
|
description: `
|
|
39
|
-
Use this tool to read metadata about integrations in the user's application.
|
|
43
|
+
Use this tool to read metadata about integrations in the user's application that is relevant to the provided prompt.
|
|
40
44
|
This can include information such as available tables and schemas for database integrations, or available endpoints and data structures for API integrations.
|
|
41
45
|
If you need schema information about a SQL integration, prefer retrieving it with a query to it using the executeRequestToIntegration tool. Fallback to this tool only if you have an issue with the SQL tool.
|
|
42
46
|
`,
|
|
@@ -45,11 +49,30 @@ export const readIntegrationMetadataToolFactory = createToolFactory("readFullInt
|
|
|
45
49
|
.array(z.string())
|
|
46
50
|
.min(1)
|
|
47
51
|
.describe("The ID(s) of the integration(s) to read metadata for"),
|
|
52
|
+
prompt: z
|
|
53
|
+
.string()
|
|
54
|
+
.describe("Prompt to guide what metadata to retrieve (e.g., 'List names and columns for tables related to X', 'List endpoints related to Y')"),
|
|
48
55
|
}),
|
|
49
56
|
outputSchema: z.record(z.any()),
|
|
50
57
|
execute: async (params) => {
|
|
51
|
-
const { integrationIds } = params;
|
|
52
|
-
|
|
58
|
+
const { integrationIds, prompt } = params;
|
|
59
|
+
const metadata = await Promise.all(integrationIds.map((id) => services.integrationStore.getRelevantMetadata({
|
|
60
|
+
clark,
|
|
61
|
+
integrationId: id,
|
|
62
|
+
prompt,
|
|
63
|
+
llmProvider: services.llmProvider,
|
|
64
|
+
})));
|
|
65
|
+
const combined = Object.entries(zip(integrationIds, metadata));
|
|
66
|
+
const json = safeJsonStringify(combined);
|
|
67
|
+
if (json.length > MAX_RESPONSE_CHARS) {
|
|
68
|
+
getLogger().warn(`Truncating readIntegrationMetadataForPrompt response from ${json.length} to ${MAX_RESPONSE_CHARS} characters`);
|
|
69
|
+
const notice = `\n\n[TRUNCATED: response exceeded ${MAX_RESPONSE_CHARS} characters]`;
|
|
70
|
+
const truncated = json.slice(0, MAX_RESPONSE_CHARS - notice.length) + notice;
|
|
71
|
+
return truncated;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
53
76
|
},
|
|
54
77
|
readOnly: true,
|
|
55
78
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../../../src/ai-service/agent/tools/integrations/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAKxE,MAAM,CAAC,MAAM,6BAA6B,GAAG,i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AAM,CAAC,GAAG,MAAM,CAAC;gBAC7D,OAAO,SAAS,CAAC;YACnB,CAAC;iBAAM,CAAC;gBACN,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,QAAQ,EAAE,IAAI;KACf,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -7,6 +7,9 @@ import type { SdkIntegration, EditorClient } from "../types.js";
|
|
|
7
7
|
import type { PromptContextIntegration } from "@superblocksteam/library-shared/types";
|
|
8
8
|
export type IntegrationId = string;
|
|
9
9
|
export type PluginId = string;
|
|
10
|
+
export type Integration = IntegrationHeader & {
|
|
11
|
+
metadata: IntegrationMetadataRecord;
|
|
12
|
+
};
|
|
10
13
|
export type IntegrationHeader = {
|
|
11
14
|
id: IntegrationId;
|
|
12
15
|
name: string;
|
|
@@ -16,8 +19,11 @@ export type PluginHeader = {
|
|
|
16
19
|
id: PluginId;
|
|
17
20
|
type: PluginType;
|
|
18
21
|
isBuiltIn: boolean;
|
|
22
|
+
basePluginId?: PluginId;
|
|
23
|
+
};
|
|
24
|
+
export type IntegrationMetadataRecord = Record<string, any> & {
|
|
25
|
+
openApiSpecRef?: string;
|
|
19
26
|
};
|
|
20
|
-
export type IntegrationMetadataRecord = Record<string, any>;
|
|
21
27
|
export declare class IntegrationStore {
|
|
22
28
|
private openApiSpecs;
|
|
23
29
|
private pluginRegistry;
|
|
@@ -29,14 +35,15 @@ export declare class IntegrationStore {
|
|
|
29
35
|
insertFromPromptContext(integration: PromptContextIntegration, editorClient?: EditorClient): void;
|
|
30
36
|
getHeader(id: IntegrationId): IntegrationHeader | undefined;
|
|
31
37
|
getMetadata(id: IntegrationId, editorClient?: EditorClient): Promise<IntegrationMetadataRecord | undefined>;
|
|
38
|
+
private getIntegration;
|
|
32
39
|
getIntegrationForPromptContext(integration: PromptContextIntegration, prompt: string, clark: Clark, params: ClarkStateHandlerParams): Promise<SdkIntegration | null>;
|
|
33
|
-
getRelevantMetadata({ clark,
|
|
40
|
+
getRelevantMetadata({ clark, integrationId, prompt, llmProvider, }: {
|
|
34
41
|
clark: Clark;
|
|
35
|
-
|
|
42
|
+
integrationId: IntegrationId;
|
|
36
43
|
prompt: string;
|
|
37
44
|
llmProvider: LLMProvider;
|
|
38
45
|
}): Promise<Record<string, any>>;
|
|
39
46
|
getMetadataClassForIntegration(integration: PromptContextIntegration): typeof IntegrationMetadata;
|
|
40
|
-
getOpenApiSpec(integration:
|
|
47
|
+
getOpenApiSpec(integration: Integration, clark: Clark): Promise<OpenApiSpec | undefined>;
|
|
41
48
|
}
|
|
42
49
|
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/ai-service/integrations/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,KAAK,MAAM,EACX,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EACV,KAAK,EACL,uBAAuB,EACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,cAAc,EAGd,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEtF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AACnC,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,aAAa,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,QAAQ,CAAC;IACb,IAAI,EAAE,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AmC;IACvD,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,YAAY,CAA2B;IAC/C,OAAO,CAAC,aAAa,CACT;gBAEA,cAAc,GAAE,cAAyC;IAIrE,qBAAqB,IAAI,iBAAiB,EAAE;IAM5C,SAAS,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS;IAIjD,uBAAuB,CACrB,WAAW,EAAE,wBAAwB,EACrC,YAAY,CAAC,EAAE,YAAY;IA8C7B,SAAS,CAAC,EAAE,EAAE,aAAa,GAAG,iBAAiB,GAAG,SAAS;IAQrD,WAAW,CACf,EAAE,EAAE,aAAa,EACjB,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC;YAwBnC,cAAc;IAmBtB,8BAA8B,CAClC,WAAW,EAAE,wBAAwB,EACrC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,uBAAuB,GAC9B,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAiC3B,mBAAmB,CAAC,EACxB,KAAK,EACL,aAAa,EACb,MAAM,EACN,WAAW,GACZ,EAAE;QACD,KAAK,EAAE,KAAK,CAAC;QACb,aAAa,EAAE,aAAa,CAAC;QAC7B,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,WAAW,CAAC;KAC1B,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAuChC,8BAA8B,CAC5B,WAAW,EAAE,wBAAwB,GACpC,OAAO,mBAAmB;IAoBvB,cAAc,CAClB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACX,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;CAyBpC"}
|
|
@@ -43,6 +43,14 @@ import { GraphQLIntegrationMetadata } from "./metadata/graphql-based.js";
|
|
|
43
43
|
import { IntegrationMetadata } from "./metadata/index.js";
|
|
44
44
|
import { OpenApiIntegrationMetadata } from "./metadata/open-api.js";
|
|
45
45
|
import { TableBasedIntegrationMetadata } from "./metadata/table-based.js";
|
|
46
|
+
function toPromptContextIntegration(integration) {
|
|
47
|
+
return {
|
|
48
|
+
id: integration.id,
|
|
49
|
+
name: integration.name,
|
|
50
|
+
type: integration.plugin.id,
|
|
51
|
+
metadata: integration.metadata,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
46
54
|
let IntegrationStore = (() => {
|
|
47
55
|
let _instanceExtraInitializers = [];
|
|
48
56
|
let _getMetadata_decorators;
|
|
@@ -89,20 +97,22 @@ let IntegrationStore = (() => {
|
|
|
89
97
|
}
|
|
90
98
|
insertFromPromptContext(integration, editorClient) {
|
|
91
99
|
const pluginId = integration.type;
|
|
100
|
+
const plugin = this.pluginRegistry.get(pluginId);
|
|
92
101
|
const basePluginId = getBasePluginId(pluginId) ?? pluginId;
|
|
93
102
|
const basePlugin = this.pluginRegistry.get(basePluginId);
|
|
94
|
-
if (!
|
|
103
|
+
if (!plugin) {
|
|
95
104
|
// this should never happen
|
|
96
105
|
getLogger().error(`No plugin found for integration type ${integration.type}`);
|
|
97
106
|
return;
|
|
98
107
|
}
|
|
99
108
|
const pluginHeader = {
|
|
100
|
-
id:
|
|
101
|
-
type:
|
|
109
|
+
id: plugin?.id,
|
|
110
|
+
type: plugin.type,
|
|
102
111
|
isBuiltIn: this.pluginRegistry
|
|
103
112
|
.defaultPlugins()
|
|
104
113
|
.map((p) => p.id)
|
|
105
114
|
.includes(pluginId),
|
|
115
|
+
basePluginId: basePlugin?.id !== pluginId ? basePlugin?.id : undefined,
|
|
106
116
|
};
|
|
107
117
|
const header = {
|
|
108
118
|
id: integration.id,
|
|
@@ -147,6 +157,17 @@ let IntegrationStore = (() => {
|
|
|
147
157
|
}
|
|
148
158
|
return await promise;
|
|
149
159
|
}
|
|
160
|
+
async getIntegration(id, editorClient) {
|
|
161
|
+
const header = this.getHeader(id);
|
|
162
|
+
if (!header) {
|
|
163
|
+
return undefined;
|
|
164
|
+
}
|
|
165
|
+
const metadata = await this.getMetadata(id, editorClient);
|
|
166
|
+
return {
|
|
167
|
+
...header,
|
|
168
|
+
metadata: metadata || {},
|
|
169
|
+
};
|
|
170
|
+
}
|
|
150
171
|
async getIntegrationForPromptContext(integration, prompt, clark, params) {
|
|
151
172
|
const { name, id } = integration;
|
|
152
173
|
const type = integration.type;
|
|
@@ -159,7 +180,7 @@ let IntegrationStore = (() => {
|
|
|
159
180
|
}
|
|
160
181
|
const metadata = await this.getRelevantMetadata({
|
|
161
182
|
clark,
|
|
162
|
-
integration,
|
|
183
|
+
integrationId: integration.id,
|
|
163
184
|
prompt,
|
|
164
185
|
llmProvider: params.llmProvider,
|
|
165
186
|
});
|
|
@@ -170,11 +191,18 @@ let IntegrationStore = (() => {
|
|
|
170
191
|
metadata,
|
|
171
192
|
};
|
|
172
193
|
}
|
|
173
|
-
async getRelevantMetadata({ clark,
|
|
194
|
+
async getRelevantMetadata({ clark, integrationId, prompt, llmProvider, }) {
|
|
195
|
+
getLogger().debug(`[integration-store] Fetching metadata for integration ${integrationId}
|
|
196
|
+
`);
|
|
174
197
|
// If we're operating on an openapi integration, we need to fetch its full spec.
|
|
175
198
|
// It would be nice to push this down, but the cache lives on this instance as this.openApiSpecs
|
|
176
|
-
|
|
177
|
-
if (
|
|
199
|
+
const integration = await this.getIntegration(integrationId, clark.context.peer);
|
|
200
|
+
if (!integration) {
|
|
201
|
+
throw new Error(`No integration found for id ${integrationId}`);
|
|
202
|
+
}
|
|
203
|
+
let metadata = integration.metadata;
|
|
204
|
+
const promptContextIntegration = toPromptContextIntegration(integration);
|
|
205
|
+
if (isOpenApiIntegration(promptContextIntegration)) {
|
|
178
206
|
const openApiSpec = await this.getOpenApiSpec(integration, clark);
|
|
179
207
|
metadata = {
|
|
180
208
|
...(metadata ?? (integration.metadata || {})),
|
|
@@ -185,7 +213,8 @@ let IntegrationStore = (() => {
|
|
|
185
213
|
// we couldn't fetch metadata for some reason, throw error
|
|
186
214
|
throw new Error(`No metadata found for integration ${integration.id}`);
|
|
187
215
|
}
|
|
188
|
-
const klass = this.getMetadataClassForIntegration(
|
|
216
|
+
const klass = this.getMetadataClassForIntegration(promptContextIntegration);
|
|
217
|
+
getLogger().info(`[integration-store] Using metadata class ${klass.name} for integration ${integration.id} of type ${integration.plugin.id}`);
|
|
189
218
|
return await klass.refineMetadataForPrompt({
|
|
190
219
|
metadata,
|
|
191
220
|
prompt,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/ai-service/integrations/store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,iBAAiB,GAGlB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/ai-service/integrations/store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,iBAAiB,GAGlB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;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I,MAAM,CAAC,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC5D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,oBAAoB,CAAC,WAAqC;IACjE,OAAO,WAAW,CAAC,IAAI,KAAK,oBAAoB,CAAC;AACnD,CAAC"}
|
|
@@ -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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.106Z
|
|
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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.105Z
|
|
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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.105Z
|
|
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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.105Z
|
|
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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.105Z
|
|
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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.105Z
|
|
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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.105Z
|
|
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-08T20:
|
|
4
|
+
// Generated at: 2025-10-08T20:21:33.105Z
|
|
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
|