@superblocksteam/vite-plugin-file-sync 2.0.19 → 2.0.20-next.1
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/clark-provider/clark-chat-settings.d.ts +8 -0
- package/dist/ai-service/clark-provider/clark-chat-settings.d.ts.map +1 -0
- package/dist/ai-service/clark-provider/clark-chat-settings.js +9 -0
- package/dist/ai-service/clark-provider/clark-chat-settings.js.map +1 -0
- package/dist/ai-service/clark-provider/clark-error-handler.d.ts +58 -0
- package/dist/ai-service/clark-provider/clark-error-handler.d.ts.map +1 -0
- package/dist/ai-service/clark-provider/clark-error-handler.js +18 -0
- package/dist/ai-service/clark-provider/clark-error-handler.js.map +1 -0
- package/dist/ai-service/clark-provider/clark-language-model.d.ts +24 -0
- package/dist/ai-service/clark-provider/clark-language-model.d.ts.map +1 -0
- package/dist/ai-service/clark-provider/clark-language-model.js +341 -0
- package/dist/ai-service/clark-provider/clark-language-model.js.map +1 -0
- package/dist/ai-service/clark-provider/clark-provider.d.ts +39 -0
- package/dist/ai-service/clark-provider/clark-provider.d.ts.map +1 -0
- package/dist/ai-service/clark-provider/clark-provider.js +38 -0
- package/dist/ai-service/clark-provider/clark-provider.js.map +1 -0
- package/dist/ai-service/evals/helpers/non-critical-scorers.d.ts.map +1 -1
- package/dist/ai-service/evals/helpers/non-critical-scorers.js +7 -7
- package/dist/ai-service/evals/helpers/non-critical-scorers.js.map +1 -1
- package/dist/ai-service/evals/llm-provider.d.ts +2 -1
- package/dist/ai-service/evals/llm-provider.d.ts.map +1 -1
- package/dist/ai-service/evals/llm-provider.js +10 -5
- package/dist/ai-service/evals/llm-provider.js.map +1 -1
- package/dist/ai-service/index.d.ts +1 -0
- package/dist/ai-service/index.d.ts.map +1 -1
- package/dist/ai-service/index.js +26 -5
- package/dist/ai-service/index.js.map +1 -1
- package/dist/ai-service/llm/impl/clark.d.ts +3 -0
- package/dist/ai-service/llm/impl/clark.d.ts.map +1 -0
- package/dist/ai-service/llm/impl/clark.js +43 -0
- package/dist/ai-service/llm/impl/clark.js.map +1 -0
- package/dist/ai-service/llm/provider.d.ts +2 -2
- package/dist/ai-service/llm/provider.d.ts.map +1 -1
- package/dist/ai-service/llm/provider.js +3 -3
- package/dist/ai-service/llm/provider.js.map +1 -1
- package/dist/ai-service/llm/types.d.ts +2 -0
- package/dist/ai-service/llm/types.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.js.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.d.ts +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.d.ts.map +1 -1
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.js +2 -2
- package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.js.map +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/mocks.js +1 -1
- package/dist/ai-service/state-machine/mocks.js.map +1 -1
- package/dist/components-manager.d.ts.map +1 -1
- package/dist/components-manager.js +23 -17
- package/dist/components-manager.js.map +1 -1
- package/package.json +9 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-critical-scorers.js","sourceRoot":"","sources":["../../../../src/ai-service/evals/helpers/non-critical-scorers.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"non-critical-scorers.js","sourceRoot":"","sources":["../../../../src/ai-service/evals/helpers/non-critical-scorers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,0FAA0F;AAC1F,2BAA2B;AAE3B,MAAM,UAAU,sBAAsB,CAAC,OAAsB;IAC3D,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC;IAC3D,IAAI,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,YAAY,GAAG,CAAC,CAAC;IAErB,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QACtC,IAAI,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YAC1C,MAAM,GAAG,KAAK,CAAC;YAC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ings, LLMTaskModels } from "../llm/types.js";
|
|
2
|
+
export declare const llmProvider: (provider: (settings: LLMProviderSettings) => LLMTaskModels) => import("../llm/types.js").LLMProvider;
|
|
2
3
|
//# sourceMappingURL=llm-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"llm-provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAI1E,eAAO,MAAM,WAAW,GACtB,UAAU,CAAC,QAAQ,EAAE,mBAAmB,KAAK,aAAa,0CAc3D,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { createLLMProvider } from "../llm/provider.js";
|
|
2
2
|
import { loadEnvVars } from "./load-env-vars.js";
|
|
3
3
|
loadEnvVars();
|
|
4
|
-
export const llmProvider =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
4
|
+
export const llmProvider = (provider) => {
|
|
5
|
+
return createLLMProvider({
|
|
6
|
+
anthropic: {
|
|
7
|
+
apiKey: process.env.SUPERBLOCKS_AI_SERVICE_EVALS_ANTHROPIC_API_KEY,
|
|
8
|
+
},
|
|
9
|
+
clark: {
|
|
10
|
+
baseURL: "http://localhost:8080/api/v1/ai/inference",
|
|
11
|
+
},
|
|
12
|
+
}, undefined, provider);
|
|
13
|
+
};
|
|
9
14
|
//# sourceMappingURL=llm-provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-provider.js","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"llm-provider.js","sourceRoot":"","sources":["../../../src/ai-service/evals/llm-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,WAAW,EAAE,CAAC;AAEd,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,QAA0D,EAC1D,EAAE;IACF,OAAO,iBAAiB,CACtB;QACE,SAAS,EAAE;YACT,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,8CAA8C;SACnE;QACD,KAAK,EAAE;YACL,OAAO,EAAE,2CAA2C;SACrD;KACF,EACD,SAAS,EACT,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -19,6 +19,7 @@ export declare class AiService extends TracedEventEmitter<AiServiceEvents> {
|
|
|
19
19
|
private getLogger;
|
|
20
20
|
private createClarkTransitionHandler;
|
|
21
21
|
private registerPromptInterpretationTask;
|
|
22
|
+
private getTraceTagsFromGenerateRequest;
|
|
22
23
|
handleAiGenerate(request: AiGenerateRequest, peer: ISocketClient<EditorClientMethods>): Promise<void>;
|
|
23
24
|
private submitAcceptanceEvalutation;
|
|
24
25
|
handleUserAcceptedDraft(peer: ISocketClient<EditorClientMethods>): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ai-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ai-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAuC3D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CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EACxC,IAAI,EAAE,aAAa,CAAC,mBAAmB,CAAC,GACvC,OAAO,CAAC,IAAI,CAAC;IAoBT,MAAM,IAAI,OAAO;IAQjB,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS;CAOjE"}
|
package/dist/ai-service/index.js
CHANGED
|
@@ -48,6 +48,12 @@ export class AiService extends TracedEventEmitter {
|
|
|
48
48
|
? mockAnthropicFetch
|
|
49
49
|
: undefined,
|
|
50
50
|
},
|
|
51
|
+
clark: {
|
|
52
|
+
baseURL: `${config.superblocksBaseUrl}/api/v1/ai/inference`,
|
|
53
|
+
fetch: process.env.MOCK_AI_GENERATION === "true"
|
|
54
|
+
? mockAnthropicFetch
|
|
55
|
+
: undefined,
|
|
56
|
+
},
|
|
51
57
|
};
|
|
52
58
|
this.templateRenderer = new TemplateRenderer({
|
|
53
59
|
prefetchNodeModules: true,
|
|
@@ -119,11 +125,15 @@ export class AiService extends TracedEventEmitter {
|
|
|
119
125
|
return llmobs.trace({
|
|
120
126
|
kind: "task",
|
|
121
127
|
name: transition.to,
|
|
122
|
-
tags: {
|
|
123
|
-
"fsm.from": transition.from,
|
|
124
|
-
"fsm.event.type": transition.event.type,
|
|
125
|
-
},
|
|
126
128
|
}, async (_) => {
|
|
129
|
+
llmobs.annotate({
|
|
130
|
+
tags: {
|
|
131
|
+
"fsm.from": transition.from,
|
|
132
|
+
"fsm.event.type": transition.event.type,
|
|
133
|
+
"application.id": this.config.applicationId,
|
|
134
|
+
"organization.id": this.config.organizationId,
|
|
135
|
+
},
|
|
136
|
+
});
|
|
127
137
|
const { from, to, event } = transition;
|
|
128
138
|
const handler = clarkStateHandlers[to];
|
|
129
139
|
if (!handler) {
|
|
@@ -181,6 +191,15 @@ export class AiService extends TracedEventEmitter {
|
|
|
181
191
|
console.log("interpretation", prompt, classification, hydratedComponents, hydratedApis);
|
|
182
192
|
}
|
|
183
193
|
}
|
|
194
|
+
getTraceTagsFromGenerateRequest(request) {
|
|
195
|
+
const tags = {};
|
|
196
|
+
for (const integration of request?.promptContext?.integrations ?? []) {
|
|
197
|
+
if (integration?.type) {
|
|
198
|
+
tags[`integration.${integration.type}`] = "true";
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
return tags;
|
|
202
|
+
}
|
|
184
203
|
async handleAiGenerate(request, peer) {
|
|
185
204
|
const { llmobs } = tracer;
|
|
186
205
|
// TODO: We'll reintroduce this when we're ready to do prompt interpretation.
|
|
@@ -194,10 +213,12 @@ export class AiService extends TracedEventEmitter {
|
|
|
194
213
|
return llmobs.trace({
|
|
195
214
|
kind: "workflow",
|
|
196
215
|
name: "ai-generate-code",
|
|
197
|
-
tags: { "user.prompt": request.prompt },
|
|
198
216
|
// NOTE: @joeyagreco - we can pipe session id down to here in the future
|
|
199
217
|
// https://github.com/DataDog/dd-trace-js/blob/master/index.d.ts#L2717
|
|
200
218
|
}, async (_) => {
|
|
219
|
+
llmobs.annotate({
|
|
220
|
+
tags: this.getTraceTagsFromGenerateRequest(request),
|
|
221
|
+
});
|
|
201
222
|
if (this.clark.state === ClarkStateNames.Dead) {
|
|
202
223
|
throw new Error("Service is unavailable");
|
|
203
224
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ai-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEnB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D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;YACzC,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,eAAe,CAAC,YAAY,EACjD,CAAC;YACD,IAAI,CAAC,SAAS,EAAE,CAAC,IAAI,CACnB,mEAAmE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CACtF,CAAC;YACF,OAAO;QACT,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,EAAE,CAAC;QAEhD,KAAK,IAAI,CAAC,gCAAgC,CACxC,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,GAAG,EACX,IAAI,CACL,CAAC;IACJ,CAAC;IAEM,MAAM;QACX,OAAO,CACL,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI;YACzC,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,eAAe,CAAC,YAAY;YACjD,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,eAAe,CAAC,IAAI,CAC1C,CAAC;IACJ,CAAC;IAEM,gBAAgB,CAAC,aAAwC;QAC9D,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;QACxD,CAAC;QAED,IAAI,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC9D,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clark.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/llm/impl/clark.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEtE,eAAO,MAAM,SAAS,GAAI,UAAU,mBAAmB,KAAG,aAsCzD,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { wrapLanguageModel } from "ai";
|
|
2
|
+
import { ClarkChatModelId } from "../../clark-provider/clark-chat-settings.js";
|
|
3
|
+
import { createClark } from "../../clark-provider/clark-provider.js";
|
|
4
|
+
import { prioritySettingsMiddleware } from "../utils.js";
|
|
5
|
+
export const clarkImpl = (settings) => {
|
|
6
|
+
const clark = createClark(settings.clark);
|
|
7
|
+
return {
|
|
8
|
+
classifyPrompt: clark(ClarkChatModelId.CLARK_CLASSIFY),
|
|
9
|
+
openApiIntent: clark(ClarkChatModelId.CLARK_INTENT),
|
|
10
|
+
generateSpecificEdit: wrapLanguageModel({
|
|
11
|
+
model: clark(ClarkChatModelId.CLARK_SMALL_EDIT),
|
|
12
|
+
middleware: [
|
|
13
|
+
prioritySettingsMiddleware({
|
|
14
|
+
settings: {
|
|
15
|
+
maxTokens: 8192,
|
|
16
|
+
temperature: 0.5,
|
|
17
|
+
},
|
|
18
|
+
}),
|
|
19
|
+
],
|
|
20
|
+
}),
|
|
21
|
+
generateBroadEdit: wrapLanguageModel({
|
|
22
|
+
model: clark(ClarkChatModelId.CLARK_LARGE_EDIT),
|
|
23
|
+
middleware: [
|
|
24
|
+
prioritySettingsMiddleware({
|
|
25
|
+
settings: {
|
|
26
|
+
maxTokens: 64000,
|
|
27
|
+
},
|
|
28
|
+
}),
|
|
29
|
+
],
|
|
30
|
+
}),
|
|
31
|
+
generateFullAppGen: wrapLanguageModel({
|
|
32
|
+
model: clark(ClarkChatModelId.CLARK_GENERATE),
|
|
33
|
+
middleware: [
|
|
34
|
+
prioritySettingsMiddleware({
|
|
35
|
+
settings: {
|
|
36
|
+
maxTokens: 64000,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
],
|
|
40
|
+
}),
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=clark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clark.js","sourceRoot":"","sources":["../../../../src/ai-service/llm/impl/clark.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,IAAI,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAGzD,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,QAA6B,EAAiB,EAAE;IACxE,MAAM,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1C,OAAO;QACL,cAAc,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC;QACtD,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,YAAY,CAAC;QACnD,oBAAoB,EAAE,iBAAiB,CAAC;YACtC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,CAAC;YAC/C,UAAU,EAAE;gBACV,0BAA0B,CAAC;oBACzB,QAAQ,EAAE;wBACR,SAAS,EAAE,IAAI;wBACf,WAAW,EAAE,GAAG;qBACjB;iBACF,CAAC;aACH;SACF,CAAC;QACF,iBAAiB,EAAE,iBAAiB,CAAC;YACnC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,CAAC;YAC/C,UAAU,EAAE;gBACV,0BAA0B,CAAC;oBACzB,QAAQ,EAAE;wBACR,SAAS,EAAE,KAAK;qBACjB;iBACF,CAAC;aACH;SACF,CAAC;QACF,kBAAkB,EAAE,iBAAiB,CAAC;YACpC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC;YAC7C,UAAU,EAAE;gBACV,0BAA0B,CAAC;oBACzB,QAAQ,EAAE;wBACR,SAAS,EAAE,KAAK;qBACjB;iBACF,CAAC;aACH;SACF,CAAC;KACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { LLMProvider, LLMProviderSettings } from "./types.js";
|
|
2
|
-
export declare const createLLMProvider: (settings: LLMProviderSettings, getJwt?: () => string | undefined) => LLMProvider;
|
|
1
|
+
import type { LLMProvider, LLMProviderSettings, LLMTaskModels } from "./types.js";
|
|
2
|
+
export declare const createLLMProvider: (settings: LLMProviderSettings, getJwt?: () => string | undefined, implFunc?: (settings: LLMProviderSettings) => LLMTaskModels) => LLMProvider;
|
|
3
3
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,EAEnB,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,iBAAiB,GAC5B,UAAU,mBAAmB,EAC7B,SAAS,MAAM,MAAM,GAAG,SAAS,EACjC,WAAU,CAAC,QAAQ,EAAE,mBAAmB,KAAK,aAAyB,KACrE,WAgCF,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { customProvider, wrapLanguageModel } from "ai";
|
|
2
|
-
import {
|
|
2
|
+
import { clarkImpl } from "./impl/clark.js";
|
|
3
3
|
import { jwtMiddleware, modelFromClassification } from "./utils.js";
|
|
4
|
-
export const createLLMProvider = (settings, getJwt) => {
|
|
4
|
+
export const createLLMProvider = (settings, getJwt, implFunc = clarkImpl) => {
|
|
5
5
|
const wrapDefaults = (model) => wrapLanguageModel({
|
|
6
6
|
model,
|
|
7
7
|
middleware: [jwtMiddleware(getJwt)],
|
|
8
8
|
});
|
|
9
9
|
// NOTE: when we support multiple providers, we'll want to discriminate
|
|
10
10
|
// on some TBD criteria. We may also choose to mix and match providers.
|
|
11
|
-
const impl =
|
|
11
|
+
const impl = implFunc(settings);
|
|
12
12
|
const languageModels = {
|
|
13
13
|
classifyPrompt: wrapDefaults(impl.classifyPrompt),
|
|
14
14
|
openApiIntent: wrapDefaults(impl.openApiIntent),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../src/ai-service/llm/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAwB,MAAM,IAAI,CAAC;AAC7E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../src/ai-service/llm/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAwB,MAAM,IAAI,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAQpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,QAA6B,EAC7B,MAAiC,EACjC,WAA6D,SAAS,EACzD,EAAE;IACf,MAAM,YAAY,GAAG,CAAC,KAAsB,EAAE,EAAE,CAC9C,iBAAiB,CAAC;QAChB,KAAK;QACL,UAAU,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;KACpC,CAAC,CAAC;IAEL,uEAAuE;IACvE,uEAAuE;IACvE,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAEhC,MAAM,cAAc,GAAkB;QACpC,cAAc,EAAE,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC;QACjD,aAAa,EAAE,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC;QAC/C,oBAAoB,EAAE,YAAY,CAAC,IAAI,CAAC,oBAAoB,CAAC;QAC7D,iBAAiB,EAAE,YAAY,CAAC,IAAI,CAAC,iBAAiB,CAAC;QACvD,kBAAkB,EAAE,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC;KAC1D,CAAC;IAEF,MAAM,WAAW,GAAG,cAAc,CAAC;QACjC,cAAc;KACf,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,EAAE;QACxC,OAAO,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,sBAAsB,EAAE,CAAC,cAAc,EAAE,EAAE,CACzC,uBAAuB,CAAC,YAAY,EAAE,cAAc,CAAC;KACxD,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { ClarkProviderSettings } from "../clark-provider/clark-provider.js";
|
|
1
2
|
import type { PromptClassification } from "../prompt-builder-service/types.js";
|
|
2
3
|
import type { AnthropicProviderSettings } from "@ai-sdk/anthropic";
|
|
3
4
|
import type { LanguageModelV1 } from "ai";
|
|
4
5
|
export type LLMProviderSettings = {
|
|
5
6
|
anthropic: AnthropicProviderSettings;
|
|
7
|
+
clark: ClarkProviderSettings;
|
|
6
8
|
};
|
|
7
9
|
export type LLMTask = "classifyPrompt" | "openApiIntent" | "generateSpecificEdit" | "generateBroadEdit" | "generateFullAppGen";
|
|
8
10
|
export type LLMTaskModels = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/ai-service/llm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,yBAAyB,CAAC;IACrC,KAAK,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,OAAO,GACf,gBAAgB,GAChB,eAAe,GACf,sBAAsB,GACtB,mBAAmB,GACnB,oBAAoB,CAAC;AAEzB,MAAM,MAAM,aAAa,GAAG;KACzB,CAAC,IAAI,OAAO,GAAG,eAAe;CAChC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,eAAe,CAAC;IACpD,sBAAsB,EAAE,CACtB,cAAc,EAAE,oBAAoB,KACjC,eAAe,CAAC;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-interpret-task.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,oBAAoB,CAAC;IACrC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,qBAAa,mBAAmB;IAK5B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IANzB,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,MAAM,CAAwD;gBAGnD,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM;IAKjC,OAAc,aAAa,EAAE,8BAA8B,CAIzD;IAEF,OAAO,CAAC,iBAAiB;IAgFlB,KAAK,IAAI,IAAI;IAIb,OAAO,IAAI,OAAO,CAAC,8BAA8B,CAAC;YAQ3C,SAAS;
|
|
1
|
+
{"version":3,"file":"prompt-interpret-task.d.ts","sourceRoot":"","sources":["../../../../src/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,oBAAoB,CAAC;IACrC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,qBAAa,mBAAmB;IAK5B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IANzB,OAAO,CAAC,eAAe,CAAkB;IACzC,OAAO,CAAC,MAAM,CAAwD;gBAGnD,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM;IAKjC,OAAc,aAAa,EAAE,8BAA8B,CAIzD;IAEF,OAAO,CAAC,iBAAiB;IAgFlB,KAAK,IAAI,IAAI;IAIb,OAAO,IAAI,OAAO,CAAC,8BAA8B,CAAC;YAQ3C,SAAS;CAexB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-interpret-task.js","sourceRoot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I,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAEO,KAAK,CAAC,SAAS;QACrB,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"prompt-interpret-task.js","sourceRoot":"","sources":["../../../../src/ai-service/prompt-builder-service/classifiers/prompt-interpret-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,wBAAwB,GAEzB,MAAM,aAAa,CAAC;AAWrB,MAAM,OAAO,mBAAmB;IAKX;IACA;IACA;IANX,eAAe,CAAkB;IACjC,MAAM,GAAmD,IAAI,CAAC;IAEtE,YACmB,WAAwB,EACxB,UAA2B,EAC3B,MAAc;QAFd,gBAAW,GAAX,WAAW,CAAa;QACxB,eAAU,GAAV,UAAU,CAAiB;QAC3B,WAAM,GAAN,MAAM,CAAQ;QAE/B,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC;IAC/C,CAAC;IAEM,MAAM,CAAC,aAAa,GAAmC;QAC5D,cAAc,EAAE,cAAc;QAC9B,UAAU,EAAE,EAAE;QACd,IAAI,EAAE,EAAE;KACT,CAAC;IAEM,iBAAiB;QACvB,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAW,CACzC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,GAAG,CACxD,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC;YACjE,EAAE;YACF;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,YAAY;gBACl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C,CAAC;QAEH,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC;IAClC,CAAC;IAEM,KAAK;QACV,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC;IAC/B,CAAC;IAEM,OAAO;QACZ,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAEO,KAAK,CAAC,SAAS;QACrB,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAC1D,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,cAAc,CAAC;YACtD,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,gBAAgB,CAAC;YACtD,MAAM;YACN,MAAM,EAAE,YAAY;YACpB,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;SACzC,CAAC,CAAC;QAEH,OAAO;YACL,cAAc,EAAE,cAAc,CAAC,cAAc;YAC7C,UAAU,EAAE,cAAc,CAAC,UAAyB;YACpD,IAAI,EAAE,cAAc,CAAC,IAAI;SAC1B,CAAC;IACJ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const content = "## Button\n\nThe following is the type definition for the Button component.\n\n```typescript\ninterface ButtonProps {\n label?: string;\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 width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\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 /** @default true */\n isVisible?: boolean;\n /** @default \"primary\" */\n variant?: \"primary\" | \"secondary\" | \"tertiary\";\n icon?: string;\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n /** @default \"Computed at runtime\" */\n textStyle?: TextStyleWithVariant;\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\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 /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** @default \"center\" */\n horizontalAlign?: \"left\" | \"center\" | \"right\";\n loading?: boolean;\n /** @default false */\n isDisabled?: boolean;\n onClick?: EventFlow;\n}\n```\n";
|
|
1
|
+
export declare 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";
|
|
2
2
|
//# sourceMappingURL=ButtonPropsDocs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ButtonPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,qwGAAqwG,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-07-
|
|
5
|
-
export const content = "## Button\n\nThe following is the type definition for the Button component.\n\n```typescript\ninterface ButtonProps {\n label?: string;\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 width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\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 /** @default true */\n isVisible?: boolean;\n /** @default \"primary\" */\n variant?: \"primary\" | \"secondary\" | \"tertiary\";\n icon?: string;\n /** @default \"left\" */\n iconPosition?: \"left\" | \"right\";\n /** @default \"Computed at runtime\" */\n textStyle?: TextStyleWithVariant;\n /** @default \"Computed at runtime\" */\n backgroundColor?: string;\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 /** @default \"Computed at runtime\" */\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n /** @default \"center\" */\n horizontalAlign?: \"left\" | \"center\" | \"right\";\n loading?: boolean;\n /** @default false */\n isDisabled?: boolean;\n onClick?: EventFlow;\n}\n```\n";
|
|
4
|
+
// Generated at: 2025-07-29T14:02:47.895Z
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"ButtonPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,kwGAAkwG,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const content = "## Checkbox\n\nThe following is the type definition for the Checkbox component.\n\n```typescript\ninterface CheckboxProps {\n /** @default \"\" */\n label?: string;\n /** @default true */\n defaultChecked?: boolean;\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n loading?: boolean;\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\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 /** @default true */\n isVisible?: boolean;\n required?: boolean;\n /** @default false */\n isDisabled?: boolean;\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** @default \"\" */\n customValidationRule?: string;\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 value?: boolean;\n /** @default {} */\n validationErrors?: any;\n /** @default true */\n isValid?: boolean;\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 isChecked?: boolean;\n}\n```\n";
|
|
1
|
+
export declare 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";
|
|
2
2
|
//# sourceMappingURL=CheckboxPropsDocs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"CheckboxPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,mgGAAmgG,CAAC"}
|
|
@@ -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-07-
|
|
5
|
-
export const content = "## Checkbox\n\nThe following is the type definition for the Checkbox component.\n\n```typescript\ninterface CheckboxProps {\n /** @default \"\" */\n label?: string;\n /** @default true */\n defaultChecked?: boolean;\n /** @default {\"variant\":\"inputLabel\"} */\n labelStyle?: TextStyleWithVariant;\n loading?: boolean;\n width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\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 /** @default true */\n isVisible?: boolean;\n required?: boolean;\n /** @default false */\n isDisabled?: boolean;\n /** @default \"tooltip\" */\n errorMessagePlacement?: \"tooltip\" | \"inline\";\n /** @default \"\" */\n customValidationRule?: string;\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 value?: boolean;\n /** @default {} */\n validationErrors?: any;\n /** @default true */\n isValid?: boolean;\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 isChecked?: boolean;\n}\n```\n";
|
|
4
|
+
// Generated at: 2025-07-29T14:02:47.895Z
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,2CAA2C;AAC3C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"CheckboxPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,2CAA2C;AAC3C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,ggGAAggG,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const content = "## Column\n\nThe following is the type definition for the Column component.\n\n```typescript\ninterface ColumnProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\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 /** @default {\"mode\":\"fill\",\"value\":1} */\n width?: Dim;\n /** @default {\"mode\":\"fill\",\"value\":1} */\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n loading?: boolean;\n}\n```\n";
|
|
1
|
+
export declare 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";
|
|
2
2
|
//# sourceMappingURL=ColumnPropsDocs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ColumnPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,s8EAAs8E,CAAC"}
|
|
@@ -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-07-
|
|
5
|
-
export const content = "## Column\n\nThe following is the type definition for the Column component.\n\n```typescript\ninterface ColumnProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\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 /** @default {\"mode\":\"fill\",\"value\":1} */\n width?: Dim;\n /** @default {\"mode\":\"fill\",\"value\":1} */\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n loading?: boolean;\n}\n```\n";
|
|
4
|
+
// Generated at: 2025-07-29T14:02:47.895Z
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"ColumnPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,yCAAyC;AACzC,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,m8EAAm8E,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const content = "## Container\n\nThe following is the type definition for the Container component.\n\n```typescript\ninterface ContainerProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\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 /** @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 width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n /** @default \"none\" */\n variant?: \"none\" | \"card\";\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n loading?: boolean;\n}\n```\n";
|
|
1
|
+
export declare 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";
|
|
2
2
|
//# sourceMappingURL=ContainerPropsDocs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"ContainerPropsDocs.d.ts","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,inGAAinG,CAAC"}
|
|
@@ -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-07-
|
|
5
|
-
export const content = "## Container\n\nThe following is the type definition for the Container component.\n\n```typescript\ninterface ContainerProps {\n /** @default \"vertical\" */\n layout?: \"freeform\" | \"vertical\" | \"horizontal\";\n /** @default \"top\" */\n verticalAlign?:\n | \"top\"\n | \"center\"\n | \"bottom\"\n | \"space-between\"\n | \"space-around\";\n /** @default \"left\" */\n horizontalAlign?:\n | \"left\"\n | \"center\"\n | \"right\"\n | \"space-between\"\n | \"space-around\";\n /** @default {\"mode\":\"px\",\"value\":12} */\n spacing?: Dim;\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 /** @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 width?: Dim;\n height?: Dim;\n minWidth?: Dim;\n maxWidth?: Dim;\n minHeight?: Dim;\n maxHeight?: Dim;\n /** @default 12 */\n columns?: number;\n /** @default 12 */\n rowHeight?: Dim;\n /** @default true */\n shouldScrollContents?: boolean;\n /** @default true */\n isVisible?: boolean;\n /** @default \"none\" */\n variant?: \"none\" | \"card\";\n backgroundColor?: string;\n border?: { left: Border; right: Border; top: Border; bottom: Border };\n borderRadius?: {\n topLeft: Dim;\n topRight: Dim;\n bottomLeft: Dim;\n bottomRight: Dim;\n };\n loading?: boolean;\n}\n```\n";
|
|
4
|
+
// Generated at: 2025-07-29T14:02:47.895Z
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,4CAA4C;AAC5C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"ContainerPropsDocs.js","sourceRoot":"","sources":["../../../../../src/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,4CAA4C;AAC5C,iCAAiC;AACjC,yCAAyC;AAEzC,MAAM,CAAC,MAAM,OAAO,GAAG,8mGAA8mG,CAAC"}
|