@superblocksteam/vite-plugin-file-sync 2.0.22-next.26 → 2.0.22-next.28
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/integrations/metadata/database.d.ts +10 -0
- package/dist/ai-service/integrations/metadata/database.d.ts.map +1 -0
- package/dist/ai-service/integrations/metadata/database.js +30 -0
- package/dist/ai-service/integrations/metadata/database.js.map +1 -0
- package/dist/ai-service/integrations/metadata/index.d.ts +9 -0
- package/dist/ai-service/integrations/metadata/index.d.ts.map +1 -0
- package/dist/ai-service/integrations/metadata/index.js +7 -0
- package/dist/ai-service/integrations/metadata/index.js.map +1 -0
- package/dist/ai-service/integrations/metadata/open-api.d.ts +17 -0
- package/dist/ai-service/integrations/metadata/open-api.d.ts.map +1 -0
- package/dist/ai-service/integrations/metadata/open-api.js +61 -0
- package/dist/ai-service/integrations/metadata/open-api.js.map +1 -0
- package/dist/ai-service/integrations/store.d.ts +9 -6
- package/dist/ai-service/integrations/store.d.ts.map +1 -1
- package/dist/ai-service/integrations/store.js +66 -47
- 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/Annotations.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.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/agent-planning.d.ts.map +1 -1
- package/dist/ai-service/state-machine/handlers/agent-planning.js +1 -2
- package/dist/ai-service/state-machine/handlers/agent-planning.js.map +1 -1
- package/dist/ai-service/state-machine/mocks.js +1 -1
- package/dist/ai-service/state-machine/mocks.js.map +1 -1
- package/package.json +6 -6
- package/dist/ai-service/integrations/from-prompt-context.d.ts +0 -5
- package/dist/ai-service/integrations/from-prompt-context.d.ts.map +0 -1
- package/dist/ai-service/integrations/from-prompt-context.js +0 -76
- package/dist/ai-service/integrations/from-prompt-context.js.map +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IntegrationMetadata } from "./index.js";
|
|
2
|
+
import type { LLMProvider } from "../../llm/types.js";
|
|
3
|
+
export declare class DatabaseIntegrationMetadata extends IntegrationMetadata {
|
|
4
|
+
static refineMetadataForPrompt({ metadata, }: {
|
|
5
|
+
metadata: Record<string, any>;
|
|
6
|
+
prompt: string;
|
|
7
|
+
llmProvider: LLMProvider;
|
|
8
|
+
}): Promise<Record<string, any>>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=database.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/integrations/metadata/database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,qBAAa,2BAA4B,SAAQ,mBAAmB;WACrC,uBAAuB,CAAC,EACnD,QAAQ,GAGT,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC9B,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,WAAW,CAAC;KAC1B,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CA4BjC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IntegrationMetadata } from "./index.js";
|
|
2
|
+
export class DatabaseIntegrationMetadata extends IntegrationMetadata {
|
|
3
|
+
static async refineMetadataForPrompt({ metadata,
|
|
4
|
+
//prompt,
|
|
5
|
+
//llmProvider,
|
|
6
|
+
}) {
|
|
7
|
+
const schema = metadata.schema || metadata.dbSchema;
|
|
8
|
+
if (!schema || !schema.tables || !Array.isArray(schema.tables)) {
|
|
9
|
+
return metadata;
|
|
10
|
+
}
|
|
11
|
+
const normalizedTables = schema.tables.map((tableObj) => {
|
|
12
|
+
const newColumns = tableObj.columns?.map((columnObj) => ({
|
|
13
|
+
name: columnObj.name,
|
|
14
|
+
type: columnObj.type,
|
|
15
|
+
})) || [];
|
|
16
|
+
return {
|
|
17
|
+
type: tableObj.type,
|
|
18
|
+
name: tableObj.name,
|
|
19
|
+
schema: tableObj.schema,
|
|
20
|
+
columns: newColumns,
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
return {
|
|
24
|
+
schema: {
|
|
25
|
+
tables: normalizedTables,
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=database.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../../../src/ai-service/integrations/metadata/database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAIjD,MAAM,OAAO,2BAA4B,SAAQ,mBAAmB;IAC3D,MAAM,CAAU,KAAK,CAAC,uBAAuB,CAAC,EACnD,QAAQ;IACR,SAAS;IACT,cAAc;MAKf;QACC,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,IAAI,QAAQ,CAAC,QAAQ,CAAC;QACpD,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;YAC/D,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CACxC,CAAC,QAA6B,EAAE,EAAE;YAChC,MAAM,UAAU,GACd,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,SAA+B,EAAE,EAAE,CAAC,CAAC;gBAC1D,IAAI,EAAE,SAAS,CAAC,IAAI;gBACpB,IAAI,EAAE,SAAS,CAAC,IAAI;aACrB,CAAC,CAAC,IAAI,EAAE,CAAC;YAEZ,OAAO;gBACL,IAAI,EAAE,QAAQ,CAAC,IAAI;gBACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;gBACnB,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,OAAO,EAAE,UAAU;aACpB,CAAC;QACJ,CAAC,CACF,CAAC;QAEF,OAAO;YACL,MAAM,EAAE;gBACN,MAAM,EAAE,gBAAgB;aACzB;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LLMProvider } from "../../llm/types.js";
|
|
2
|
+
export declare class IntegrationMetadata {
|
|
3
|
+
static refineMetadataForPrompt({ metadata, }: {
|
|
4
|
+
metadata: Record<string, any>;
|
|
5
|
+
prompt: string;
|
|
6
|
+
llmProvider: LLMProvider;
|
|
7
|
+
}): Promise<Record<string, any>>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/integrations/metadata/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,qBAAa,mBAAmB;WACV,uBAAuB,CAAC,EAC1C,QAAQ,GACT,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC9B,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,WAAW,CAAC;KAC1B,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAGjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ai-service/integrations/metadata/index.ts"],"names":[],"mappings":"AAEA,0CAA0C;AAC1C,MAAM,OAAO,mBAAmB;IACvB,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,EAC1C,QAAQ,GAKT;QACC,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { getOpenApiSubset, type OpenApiSpec } from "../../../util/open-api.js";
|
|
2
|
+
import { IntegrationMetadata } from "./index.js";
|
|
3
|
+
import type { LLMProvider } from "../../llm/types.js";
|
|
4
|
+
export type OpenApiSubset = ReturnType<typeof getOpenApiSubset>;
|
|
5
|
+
export declare class OpenApiIntegrationMetadata extends IntegrationMetadata {
|
|
6
|
+
static refineMetadataForPrompt({ metadata, prompt, llmProvider, }: {
|
|
7
|
+
metadata: Record<string, any>;
|
|
8
|
+
prompt: string;
|
|
9
|
+
llmProvider: LLMProvider;
|
|
10
|
+
}): Promise<Record<string, any>>;
|
|
11
|
+
static getRelevantOpenApiPaths({ openApiSpec, prompt, llmProvider, }: {
|
|
12
|
+
openApiSpec: OpenApiSpec;
|
|
13
|
+
prompt: string;
|
|
14
|
+
llmProvider: LLMProvider;
|
|
15
|
+
}): Promise<OpenApiSubset>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=open-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-api.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/integrations/metadata/open-api.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAEhB,KAAK,WAAW,EACjB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,qBAAa,0BAA2B,SAAQ,mBAAmB;WACpC,uBAAuB,CAAC,EACnD,QAAQ,EACR,MAAM,EACN,WAAW,GACZ,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC9B,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,WAAW,CAAC;KAC1B,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;WAaZ,uBAAuB,CAAC,EAC1C,WAAW,EACX,MAAM,EACN,WAAW,GACZ,EAAE;QACD,WAAW,EAAE,WAAW,CAAC;QACzB,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,WAAW,CAAC;KAC1B,GAAG,OAAO,CAAC,aAAa,CAAC;CAuD3B"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { generateObject } from "ai";
|
|
2
|
+
import ddTrace from "dd-trace";
|
|
3
|
+
import { getOpenApiSubset, getRedactedPaths, } from "../../../util/open-api.js";
|
|
4
|
+
import { buildOpenAPIIntentPrompt } from "../../prompt-builder-service/index.js";
|
|
5
|
+
import { IntegrationMetadata } from "./index.js";
|
|
6
|
+
export class OpenApiIntegrationMetadata extends IntegrationMetadata {
|
|
7
|
+
static async refineMetadataForPrompt({ metadata, prompt, llmProvider, }) {
|
|
8
|
+
const openApiSpec = await this.getRelevantOpenApiPaths({
|
|
9
|
+
prompt,
|
|
10
|
+
openApiSpec: metadata.openApiSpec,
|
|
11
|
+
llmProvider,
|
|
12
|
+
});
|
|
13
|
+
return {
|
|
14
|
+
...metadata,
|
|
15
|
+
openApiSpec,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
static async getRelevantOpenApiPaths({ openApiSpec, prompt, llmProvider, }) {
|
|
19
|
+
if (!openApiSpec) {
|
|
20
|
+
return {
|
|
21
|
+
paths: {},
|
|
22
|
+
components: {},
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
const redactedPaths = getRedactedPaths(openApiSpec);
|
|
26
|
+
const { prompt: openApiIntentPrompt, schema } = buildOpenAPIIntentPrompt(prompt, redactedPaths);
|
|
27
|
+
const { llmobs } = ddTrace;
|
|
28
|
+
const model = llmProvider.modelForTask("openApiIntent");
|
|
29
|
+
const wrappedGenerateObject = llmobs.wrap({
|
|
30
|
+
kind: "llm",
|
|
31
|
+
name: "getRelevantOpenApiPaths",
|
|
32
|
+
modelName: model.modelId,
|
|
33
|
+
modelProvider: model.provider,
|
|
34
|
+
}, async (args) => {
|
|
35
|
+
const result = await generateObject(args);
|
|
36
|
+
// https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#annotating-a-span
|
|
37
|
+
llmobs.annotate({
|
|
38
|
+
inputData: [{ role: "user", content: args.prompt }],
|
|
39
|
+
outputData: [
|
|
40
|
+
{ role: "assistant", content: JSON.stringify(result.object) },
|
|
41
|
+
],
|
|
42
|
+
metrics: {
|
|
43
|
+
input_tokens: result.usage?.promptTokens,
|
|
44
|
+
output_tokens: result.usage?.completionTokens,
|
|
45
|
+
total_tokens: result.usage?.totalTokens,
|
|
46
|
+
},
|
|
47
|
+
tags: {
|
|
48
|
+
finishReason: result.finishReason,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
return result;
|
|
52
|
+
});
|
|
53
|
+
const { object } = await wrappedGenerateObject({
|
|
54
|
+
model,
|
|
55
|
+
schema,
|
|
56
|
+
prompt: openApiIntentPrompt,
|
|
57
|
+
});
|
|
58
|
+
return getOpenApiSubset(openApiSpec, object.paths);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=open-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-api.js","sourceRoot":"","sources":["../../../../src/ai-service/integrations/metadata/open-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA6B,MAAM,IAAI,CAAC;AAC/D,OAAO,OAAO,MAAM,UAAU,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,gBAAgB,GAEjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAKjD,MAAM,OAAO,0BAA2B,SAAQ,mBAAmB;IAC1D,MAAM,CAAU,KAAK,CAAC,uBAAuB,CAAC,EACnD,QAAQ,EACR,MAAM,EACN,WAAW,GAKZ;QACC,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,uBAAuB,CAAC;YACrD,MAAM;YACN,WAAW,EAAE,QAAQ,CAAC,WAAW;YACjC,WAAW;SACZ,CAAC,CAAC;QAEH,OAAO;YACL,GAAG,QAAQ;YACX,WAAW;SACZ,CAAC;IACJ,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,EAC1C,WAAW,EACX,MAAM,EACN,WAAW,GAKZ;QACC,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,OAAO;gBACL,KAAK,EAAE,EAAE;gBACT,UAAU,EAAE,EAAE;aACf,CAAC;QACJ,CAAC;QAED,MAAM,aAAa,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACpD,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,GAAG,wBAAwB,CACtE,MAAM,EACN,aAAa,CACd,CAAC;QACF,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAE3B,MAAM,KAAK,GAAG,WAAW,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;QAExD,MAAM,qBAAqB,GAAG,MAAM,CAAC,IAAI,CACvC;YACE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,yBAAyB;YAC/B,SAAS,EAAE,KAAK,CAAC,OAAO;YACxB,aAAa,EAAE,KAAK,CAAC,QAAQ;SAC9B,EACD,KAAK,EAAE,IAAI,EAAsC,EAAE;YACjD,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,IAAI,CAAC,CAAC;YAE1C,iFAAiF;YACjF,MAAM,CAAC,QAAQ,CAAC;gBACd,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;gBACnD,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;iBAC9D;gBACD,OAAO,EAAE;oBACP,YAAY,EAAE,MAAM,CAAC,KAAK,EAAE,YAAY;oBACxC,aAAa,EAAE,MAAM,CAAC,KAAK,EAAE,gBAAgB;oBAC7C,YAAY,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW;iBACxC;gBACD,IAAI,EAAE;oBACJ,YAAY,EAAE,MAAM,CAAC,YAAY;iBAClC;aACF,CAAC,CAAC;YAEH,OAAO,MAAM,CAAC;QAChB,CAAC,CACF,CAAC;QAEF,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,qBAAqB,CAAC;YAC7C,KAAK;YACL,MAAM;YACN,MAAM,EAAE,mBAAmB;SAC5B,CAAC,CAAC;QAEH,OAAO,gBAAgB,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC;CACF"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IntegrationMetadata } from "./metadata/index.js";
|
|
2
|
+
import type { OpenApiSpec } from "../../util/open-api.js";
|
|
2
3
|
import type { LLMProvider } from "../llm/types.js";
|
|
3
|
-
import type { Clark } from "../state-machine/clark-fsm.js";
|
|
4
|
+
import type { Clark, ClarkStateHandlerParams } from "../state-machine/clark-fsm.js";
|
|
5
|
+
import type { SdkIntegration } from "../types.js";
|
|
4
6
|
import type { PromptContextIntegration } from "@superblocksteam/library-shared/types";
|
|
5
7
|
export declare class IntegrationStore {
|
|
6
8
|
private openApiSpecs;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
getIntegrationForPromptContext(integration: PromptContextIntegration, prompt: string, clark: Clark, params: ClarkStateHandlerParams): Promise<SdkIntegration | null>;
|
|
10
|
+
getRelevantMetadata({ clark, integration, prompt, llmProvider, }: {
|
|
9
11
|
clark: Clark;
|
|
10
12
|
integration: PromptContextIntegration;
|
|
11
13
|
prompt: string;
|
|
12
14
|
llmProvider: LLMProvider;
|
|
13
|
-
}): Promise<
|
|
15
|
+
}): Promise<Record<string, any>>;
|
|
16
|
+
getMetadataClassForIntegration(integration: PromptContextIntegration): typeof IntegrationMetadata;
|
|
17
|
+
getOpenApiSpec(integration: PromptContextIntegration, clark: Clark): Promise<OpenApiSpec | undefined>;
|
|
14
18
|
}
|
|
15
|
-
export type OpenApiSubset = ReturnType<typeof getOpenApiSubset>;
|
|
16
19
|
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/ai-service/integrations/store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/ai-service/integrations/store.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,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,EAEV,cAAc,EAGf,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEtF,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,YAAY,CAAmC;IAEjD,8BAA8B,CAClC,WAAW,EAAE,wBAAwB,EACrC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,uBAAuB,GAC9B,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IA6B3B,mBAAmB,CAAC,EACxB,KAAK,EACL,WAAW,EACX,MAAM,EACN,WAAW,GACZ,EAAE;QACD,KAAK,EAAE,KAAK,CAAC;QACb,WAAW,EAAE,wBAAwB,CAAC;QACtC,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,WAAW,CAAC;KAC1B,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAqBhC,8BAA8B,CAC5B,WAAW,EAAE,wBAAwB,GACpC,OAAO,mBAAmB;IAcvB,cAAc,CAClB,WAAW,EAAE,wBAAwB,EACrC,KAAK,EAAE,KAAK,GACX,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;CAyBpC"}
|
|
@@ -1,10 +1,62 @@
|
|
|
1
|
-
import { generateObject } from "ai";
|
|
2
|
-
import ddTrace from "dd-trace";
|
|
3
1
|
import { isEmpty } from "lodash-es";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { databaseIntegrationTypes, datasourceSdkClassByType, } from "../const.js";
|
|
3
|
+
import { DatabaseIntegrationMetadata } from "./metadata/database.js";
|
|
4
|
+
import { IntegrationMetadata } from "./metadata/index.js";
|
|
5
|
+
import { OpenApiIntegrationMetadata } from "./metadata/open-api.js";
|
|
6
6
|
export class IntegrationStore {
|
|
7
7
|
openApiSpecs = {};
|
|
8
|
+
async getIntegrationForPromptContext(integration, prompt, clark, params) {
|
|
9
|
+
const { name, id } = integration;
|
|
10
|
+
const type = integration.type;
|
|
11
|
+
if (!name ||
|
|
12
|
+
!id ||
|
|
13
|
+
!isSdkIntegration({
|
|
14
|
+
type,
|
|
15
|
+
})) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
const metadata = await this.getRelevantMetadata({
|
|
19
|
+
clark,
|
|
20
|
+
integration,
|
|
21
|
+
prompt,
|
|
22
|
+
llmProvider: params.llmProvider,
|
|
23
|
+
});
|
|
24
|
+
return {
|
|
25
|
+
name,
|
|
26
|
+
id,
|
|
27
|
+
type,
|
|
28
|
+
metadata,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
async getRelevantMetadata({ clark, integration, prompt, llmProvider, }) {
|
|
32
|
+
// If we're operating on an openapi integration, we need to fetch its full spec.
|
|
33
|
+
// It would be nice to push this down, but the cache lives on this instance as this.openApiSpecs
|
|
34
|
+
let metadata = integration.metadata;
|
|
35
|
+
if (isOpenApiIntegration(integration)) {
|
|
36
|
+
const openApiSpec = await this.getOpenApiSpec(integration, clark);
|
|
37
|
+
metadata = {
|
|
38
|
+
...(integration.metadata || {}),
|
|
39
|
+
openApiSpec,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
const klass = this.getMetadataClassForIntegration(integration);
|
|
43
|
+
return klass.refineMetadataForPrompt({
|
|
44
|
+
metadata,
|
|
45
|
+
prompt,
|
|
46
|
+
llmProvider,
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
getMetadataClassForIntegration(integration) {
|
|
50
|
+
if (isOpenApiIntegration(integration)) {
|
|
51
|
+
return OpenApiIntegrationMetadata;
|
|
52
|
+
}
|
|
53
|
+
if (isDatabaseIntegration({
|
|
54
|
+
type: integration.type,
|
|
55
|
+
})) {
|
|
56
|
+
return DatabaseIntegrationMetadata;
|
|
57
|
+
}
|
|
58
|
+
return IntegrationMetadata;
|
|
59
|
+
}
|
|
8
60
|
async getOpenApiSpec(integration, clark) {
|
|
9
61
|
if (this.openApiSpecs[integration.id]) {
|
|
10
62
|
return this.openApiSpecs[integration.id];
|
|
@@ -27,48 +79,15 @@ export class IntegrationStore {
|
|
|
27
79
|
this.openApiSpecs[integration.id] = result;
|
|
28
80
|
return this.openApiSpecs[integration.id];
|
|
29
81
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const { llmobs } = ddTrace;
|
|
41
|
-
const model = llmProvider.modelForTask("openApiIntent");
|
|
42
|
-
const wrappedGenerateObject = llmobs.wrap({
|
|
43
|
-
kind: "llm",
|
|
44
|
-
name: "getRelevantOpenApiPaths",
|
|
45
|
-
modelName: model.modelId,
|
|
46
|
-
modelProvider: model.provider,
|
|
47
|
-
}, async (args) => {
|
|
48
|
-
const result = await generateObject(args);
|
|
49
|
-
// https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#annotating-a-span
|
|
50
|
-
llmobs.annotate({
|
|
51
|
-
inputData: [{ role: "user", content: args.prompt }],
|
|
52
|
-
outputData: [
|
|
53
|
-
{ role: "assistant", content: JSON.stringify(result.object) },
|
|
54
|
-
],
|
|
55
|
-
metrics: {
|
|
56
|
-
input_tokens: result.usage?.promptTokens,
|
|
57
|
-
output_tokens: result.usage?.completionTokens,
|
|
58
|
-
total_tokens: result.usage?.totalTokens,
|
|
59
|
-
},
|
|
60
|
-
tags: {
|
|
61
|
-
finishReason: result.finishReason,
|
|
62
|
-
},
|
|
63
|
-
});
|
|
64
|
-
return result;
|
|
65
|
-
});
|
|
66
|
-
const { object } = await wrappedGenerateObject({
|
|
67
|
-
model,
|
|
68
|
-
schema,
|
|
69
|
-
prompt: openApiIntentPrompt,
|
|
70
|
-
});
|
|
71
|
-
return getOpenApiSubset(openApiSpec, object.paths);
|
|
72
|
-
}
|
|
82
|
+
}
|
|
83
|
+
function isOpenApiIntegration(integration) {
|
|
84
|
+
return integration.metadata?.openApiSpecRef !== undefined;
|
|
85
|
+
}
|
|
86
|
+
function isSdkIntegration(integration) {
|
|
87
|
+
return (typeof integration.type === "string" &&
|
|
88
|
+
integration.type in datasourceSdkClassByType);
|
|
89
|
+
}
|
|
90
|
+
function isDatabaseIntegration(integration) {
|
|
91
|
+
return databaseIntegrationTypes.includes(integration.type);
|
|
73
92
|
}
|
|
74
93
|
//# sourceMappingURL=store.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/ai-service/integrations/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/ai-service/integrations/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAepE,MAAM,OAAO,gBAAgB;IACnB,YAAY,GAAgC,EAAE,CAAC;IAEvD,KAAK,CAAC,8BAA8B,CAClC,WAAqC,EACrC,MAAc,EACd,KAAY,EACZ,MAA+B;QAE/B,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,WAAW,CAAC;QACjC,MAAM,IAAI,GAAG,WAAW,CAAC,IAA0B,CAAC;QAEpD,IACE,CAAC,IAAI;YACL,CAAC,EAAE;YACH,CAAC,gBAAgB,CAAC;gBAChB,IAAI;aACL,CAAC,EACF,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC;YAC9C,KAAK;YACL,WAAW;YACX,MAAM;YACN,WAAW,EAAE,MAAM,CAAC,WAAW;SAChC,CAAC,CAAC;QAEH,OAAO;YACL,IAAI;YACJ,EAAE;YACF,IAAI;YACJ,QAAQ;SACT,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,mBAAmB,CAAC,EACxB,KAAK,EACL,WAAW,EACX,MAAM,EACN,WAAW,GAMZ;QACC,gFAAgF;QAChF,gGAAgG;QAChG,IAAI,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QACpC,IAAI,oBAAoB,CAAC,WAAW,CAAC,EAAE,CAAC;YACtC,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;YAElE,QAAQ,GAAG;gBACT,GAAG,CAAC,WAAW,CAAC,QAAQ,IAAI,EAAE,CAAC;gBAC/B,WAAW;aACZ,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,8BAA8B,CAAC,WAAW,CAAC,CAAC;QAC/D,OAAO,KAAK,CAAC,uBAAuB,CAAC;YACnC,QAAQ;YACR,MAAM;YACN,WAAW;SACZ,CAAC,CAAC;IACL,CAAC;IAED,8BAA8B,CAC5B,WAAqC;QAErC,IAAI,oBAAoB,CAAC,WAAW,CAAC,EAAE,CAAC;YACtC,OAAO,0BAA0B,CAAC;QACpC,CAAC;QACD,IACE,qBAAqB,CAAC;YACpB,IAAI,EAAE,WAAW,CAAC,IAAkC;SACrD,CAAC,EACF,CAAC;YACD,OAAO,2BAA2B,CAAC;QACrC,CAAC;QACD,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,KAAK,CAAC,cAAc,CAClB,WAAqC,EACrC,KAAY;QAEZ,IAAI,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC;YACtC,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;QAC3C,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;QAED,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,EAAE,CAAC;YACzC,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,oKAAoK;QACpK,iHAAiH;QACjH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YAC5D,aAAa,EAAE,WAAW,CAAC,EAAE;YAC7B,GAAG,EAAE,WAAW,CAAC,QAAQ,CAAC,cAAc;SACzC,CAAC,CAAC;QACH,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YACpB,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC,GAAG,MAAqB,CAAC;QAC1D,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,CAAC;CACF;AAED,SAAS,oBAAoB,CAAC,WAAqC;IACjE,OAAO,WAAW,CAAC,QAAQ,EAAE,cAAc,KAAK,SAAS,CAAC;AAC5D,CAAC;AAED,SAAS,gBAAgB,CACvB,WAAoC;IAEpC,OAAO,CACL,OAAO,WAAW,CAAC,IAAI,KAAK,QAAQ;QACpC,WAAW,CAAC,IAAI,IAAI,wBAAwB,CAC7C,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAC5B,WAAoC;IAEpC,OAAO,wBAAwB,CAAC,QAAQ,CACtC,WAAW,CAAC,IAAkC,CAC/C,CAAC;AACJ,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-08-
|
|
4
|
+
// Generated at: 2025-08-11T20:14:10.690Z
|
|
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-08-
|
|
4
|
+
// Generated at: 2025-08-11T20:14:10.690Z
|
|
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 /** @readonly */\n value?: boolean;\n /** Object containing any validation errors for the checkbox */\n /** @readonly @default {} */\n validationErrors?: any;\n /** Whether the checkbox passes all validation rules */\n /** @readonly @default true */\n isValid?: boolean;\n /** Whether validation errors should be displayed to the user */\n /** @readonly */\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-08-
|
|
4
|
+
// Generated at: 2025-08-11T20:14:10.689Z
|
|
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-08-
|
|
4
|
+
// Generated at: 2025-08-11T20:14:10.689Z
|
|
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-08-
|
|
4
|
+
// Generated at: 2025-08-11T20:14:10.689Z
|
|
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 /** 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 /** 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 /** @readonly */\n value?: string;\n /** Object containing any validation errors for the selected date */\n /** @readonly @default {} */\n validationErrors?: any;\n /** Whether the selected date passes all validation rules */\n /** @readonly @default true */\n isValid?: boolean;\n /** The selected date formatted as a local ISO string with timezone offset */\n /** @readonly @default \"Current datetime\" */\n outputDateLocal?: string;\n /** The selected date formatted as a UTC ISO string */\n /** @readonly @default \"Current datetime\" */\n outputDateUtc?: string;\n /** Whether validation errors should be displayed to the user */\n /** @readonly */\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}\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-08-
|
|
4
|
+
// Generated at: 2025-08-11T20:14:10.687Z
|
|
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 /** 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 /** 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 /** @readonly */\n value?: any;\n /** The default transformation configuration for converting options to the expected format */\n /** @readonly */\n defaultTransformation?: any;\n /** The processed options array with applied transformations and normalization */\n /** @readonly @default [] */\n transformedOptions?: any;\n /** Object containing any validation errors for the dropdown selection */\n /** @readonly @default {} */\n validationErrors?: any;\n /** The value of the currently selected option in single-select mode */\n /** @readonly @default \"Computed at runtime\" */\n selectedOptionValue?: any;\n /** Array of values for the currently selected options in multi-select mode */\n /** @readonly */\n selectedOptionValues?: any;\n /** The complete option object of the currently selected option in single-select mode */\n /** @readonly @default \"Computed at runtime\" */\n selectedOption?: any;\n /** Array of complete option objects for the currently selected options in multi-select mode */\n /** @readonly */\n selectedOptionArr?: any;\n /** The index of the currently selected option in single-select mode */\n /** @readonly @default \"Computed at runtime\" */\n selectedIndex?: number;\n /** Array of indices for the currently selected options in multi-select mode */\n /** @readonly @default [] */\n selectedIndexArr?: any;\n /** Whether the dropdown selection passes all validation rules */\n /** @readonly @default true */\n isValid?: boolean;\n /** Whether validation errors should be displayed to the user */\n /** @readonly */\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-08-
|
|
4
|
+
// Generated at: 2025-08-11T20:14:10.687Z
|
|
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
|