@4djs/assistant 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -3
- package/dist/core/chat-activity.d.ts +2 -1
- package/dist/core/chat-activity.d.ts.map +1 -1
- package/dist/core/chat-commands.d.ts +6 -4
- package/dist/core/chat-commands.d.ts.map +1 -1
- package/dist/core/chat-history.d.ts.map +1 -1
- package/dist/core/chat-reply-suggestions-parse.d.ts.map +1 -1
- package/dist/core/create-assistant-store.d.ts +1 -0
- package/dist/core/create-assistant-store.d.ts.map +1 -1
- package/dist/core/fetch-suggested-prompts.d.ts.map +1 -1
- package/dist/core/index.d.ts +10 -2
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +2148 -838
- package/dist/core/interactive-tools/choices.d.ts.map +1 -1
- package/dist/core/interactive-tools/confirmation.d.ts.map +1 -1
- package/dist/core/interactive-tools/execute.d.ts.map +1 -1
- package/dist/core/interactive-tools/gate.d.ts +14 -0
- package/dist/core/interactive-tools/gate.d.ts.map +1 -0
- package/dist/core/interactive-tools/index.d.ts +1 -0
- package/dist/core/interactive-tools/index.d.ts.map +1 -1
- package/dist/core/interactive-tools/suggestions.d.ts.map +1 -1
- package/dist/core/interactive-tools/waiters.d.ts.map +1 -1
- package/dist/core/llm-chat.d.ts.map +1 -1
- package/dist/core/llm-config.d.ts.map +1 -1
- package/dist/core/llm-models.d.ts.map +1 -1
- package/dist/core/llm-provider.d.ts.map +1 -1
- package/dist/core/llm-settings-storage.d.ts.map +1 -1
- package/dist/core/llm-sse.d.ts.map +1 -1
- package/dist/core/llm-types.d.ts.map +1 -1
- package/dist/core/markdown-utils.d.ts +1 -2
- package/dist/core/markdown-utils.d.ts.map +1 -1
- package/dist/core/system-prompt.d.ts +3 -0
- package/dist/core/system-prompt.d.ts.map +1 -0
- package/dist/core/tool-names.d.ts +5 -0
- package/dist/core/tool-names.d.ts.map +1 -0
- package/dist/core/tool-registry.d.ts +28 -0
- package/dist/core/tool-registry.d.ts.map +1 -0
- package/dist/core/types.d.ts +5 -2
- package/dist/core/types.d.ts.map +1 -1
- package/dist/index.js +875 -4161
- package/dist/labels.d.ts +136 -0
- package/dist/labels.d.ts.map +1 -0
- package/dist/react/Assistant.d.ts.map +1 -1
- package/dist/react/components/HighlightedJsonCode.d.ts.map +1 -1
- package/dist/react/components/MarkdownContent.d.ts.map +1 -1
- package/dist/react/components/MarkdownEditor.d.ts.map +1 -1
- package/dist/react/components/MermaidDiagram.d.ts.map +1 -1
- package/dist/react/components/ModelSelector.d.ts.map +1 -1
- package/dist/react/components/chat/AssistantErrorCallout.d.ts +3 -1
- package/dist/react/components/chat/AssistantErrorCallout.d.ts.map +1 -1
- package/dist/react/components/chat/ChatActivity.d.ts.map +1 -1
- package/dist/react/components/chat/ChatComposer.d.ts +3 -1
- package/dist/react/components/chat/ChatComposer.d.ts.map +1 -1
- package/dist/react/components/chat/ChatEmptyState.d.ts.map +1 -1
- package/dist/react/components/chat/ChatInteractivePrompt/choices-prompt.d.ts.map +1 -1
- package/dist/react/components/chat/ChatInteractivePrompt/confirmation-prompt.d.ts.map +1 -1
- package/dist/react/components/chat/ChatInteractivePrompt/index.d.ts.map +1 -1
- package/dist/react/components/chat/ChatInteractivePrompt/shell.d.ts.map +1 -1
- package/dist/react/components/chat/ChatMessage.d.ts.map +1 -1
- package/dist/react/components/chat/ChatMessageScroll.d.ts.map +1 -1
- package/dist/react/components/chat/ChatReplySuggestions.d.ts.map +1 -1
- package/dist/react/components/chat/ComposerCommandMenu.d.ts.map +1 -1
- package/dist/react/components/chat/LlmSettingsStrip.d.ts.map +1 -1
- package/dist/react/components/chat/LlmSetupPrompt.d.ts.map +1 -1
- package/dist/react/components/chat/LlmUnavailableBanner.d.ts.map +1 -1
- package/dist/react/components/chat/SuggestedPromptsList.d.ts.map +1 -1
- package/dist/react/components/chat/SuggestedPromptsStrip.d.ts.map +1 -1
- package/dist/react/components/chat/SystemPromptField.d.ts.map +1 -1
- package/dist/react/components/highlighted-code.d.ts.map +1 -1
- package/dist/react/context.d.ts +4 -2
- package/dist/react/context.d.ts.map +1 -1
- package/dist/react/hooks/use-composer-commands.d.ts +4 -2
- package/dist/react/hooks/use-composer-commands.d.ts.map +1 -1
- package/dist/react/hooks/use-suggested-prompts.d.ts +2 -1
- package/dist/react/hooks/use-suggested-prompts.d.ts.map +1 -1
- package/dist/react/index.d.ts +4 -2
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/lib/parse-assistant-error.d.ts +2 -1
- package/dist/react/lib/parse-assistant-error.d.ts.map +1 -1
- package/dist/react/lib/prompt-icons.d.ts.map +1 -1
- package/dist/react/types.d.ts +7 -2
- package/dist/react/types.d.ts.map +1 -1
- package/dist/react/utils/cn.d.ts.map +1 -1
- package/dist/styles.css +1886 -1806
- package/dist/tools/datastore.d.ts +28 -0
- package/dist/tools/datastore.d.ts.map +1 -0
- package/dist/tools/index.d.ts +4 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +249 -0
- package/package.json +55 -50
package/dist/labels.d.ts
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export declare const DEFAULT_ASSISTANT_LABELS: {
|
|
2
|
+
readonly "common.cancel": "Cancel";
|
|
3
|
+
readonly "common.save": "Save";
|
|
4
|
+
readonly "common.saving": "Saving";
|
|
5
|
+
readonly "common.dismiss": "Dismiss";
|
|
6
|
+
readonly "common.loading": "Loading…";
|
|
7
|
+
readonly "common.error": "Error";
|
|
8
|
+
readonly "common.result": "Result";
|
|
9
|
+
readonly "common.edit": "Edit";
|
|
10
|
+
readonly "common.preview": "Preview";
|
|
11
|
+
readonly "common.regenerate": "Regenerate";
|
|
12
|
+
readonly "common.tryAgain": "Try again";
|
|
13
|
+
readonly "header.title": "Assistant";
|
|
14
|
+
readonly "message.assistantRole": "Assistant";
|
|
15
|
+
readonly "message.thinking": "Assistant is thinking";
|
|
16
|
+
readonly "composer.placeholder": "Ask the assistant…";
|
|
17
|
+
readonly "composer.placeholderDisabled": "LLM not configured — chat is disabled";
|
|
18
|
+
readonly "composer.messageAria": "Chat message";
|
|
19
|
+
readonly "composer.send": "Send";
|
|
20
|
+
readonly "composer.stop": "Stop";
|
|
21
|
+
readonly "composer.hint": "Enter to send · Shift+Enter for new line";
|
|
22
|
+
readonly "composer.llmSettings": "LLM settings";
|
|
23
|
+
readonly "composer.generateSuggestions": "Generate suggestions";
|
|
24
|
+
readonly "composer.clearConversation": "Clear conversation";
|
|
25
|
+
readonly "commandMenu.ariaLabel": "Composer commands";
|
|
26
|
+
readonly "commandMenu.header": "Commands";
|
|
27
|
+
readonly "commands.clear.description": "Clear the current conversation";
|
|
28
|
+
readonly "commands.clear.noArgsError": "The /clear command does not accept arguments.";
|
|
29
|
+
readonly "commands.clear.waitForFinishError": "Wait for the assistant to finish before clearing.";
|
|
30
|
+
readonly "commands.unknown": "Unknown command: /{name}";
|
|
31
|
+
readonly "commands.failed": "Command failed";
|
|
32
|
+
readonly "llmSetup.notConnected": "LLM not connected.";
|
|
33
|
+
readonly "llmSetup.addProviderBeforeLink": "Add a cloud or local provider in";
|
|
34
|
+
readonly "llmSetup.settingsLink": "LLM settings";
|
|
35
|
+
readonly "llmSetup.connectTitle": "Connect an LLM";
|
|
36
|
+
readonly "llmSetup.connectDescription": "OpenAI-compatible endpoint — cloud or local";
|
|
37
|
+
readonly "llmSetup.configure": "Configure";
|
|
38
|
+
readonly "llmSettings.title": "LLM settings";
|
|
39
|
+
readonly "llmSettings.ariaLabel": "LLM settings";
|
|
40
|
+
readonly "llmSettings.testConnection": "Test connection";
|
|
41
|
+
readonly "llmSettings.resetAllSettings": "Reset all settings";
|
|
42
|
+
readonly "llmSettings.close": "Close LLM settings";
|
|
43
|
+
readonly "llmSettings.baseUrl": "Base URL";
|
|
44
|
+
readonly "llmSettings.apiKey": "API key";
|
|
45
|
+
readonly "llmSettings.model": "Model";
|
|
46
|
+
readonly "llmSettings.advanced": "Advanced";
|
|
47
|
+
readonly "llmSettings.modelList": "Model list";
|
|
48
|
+
readonly "llmSettings.baseUrlPlaceholder": "https://api.openai.com/v1";
|
|
49
|
+
readonly "llmSettings.apiKeyPlaceholder": "sk-…";
|
|
50
|
+
readonly "llmSettings.apiKeyConfiguredPlaceholder": "Configured — leave blank to keep";
|
|
51
|
+
readonly "llmSettings.modelPlaceholder": "gpt-4o-mini";
|
|
52
|
+
readonly "llmSettings.modelListPlaceholder": "Optional — comma-separated";
|
|
53
|
+
readonly "llmSettings.connected": "Connected · {model}";
|
|
54
|
+
readonly "llmSettings.resetAll": "Reset all";
|
|
55
|
+
readonly "llmSettings.failedToLoad": "Failed to load LLM settings";
|
|
56
|
+
readonly "llmSettings.failedToSave": "Failed to save LLM settings";
|
|
57
|
+
readonly "llmSettings.failedToReset": "Failed to reset LLM settings";
|
|
58
|
+
readonly "systemPrompt.label": "System prompt";
|
|
59
|
+
readonly "systemPrompt.defaultTag": "Default";
|
|
60
|
+
readonly "systemPrompt.viewAria": "System prompt view";
|
|
61
|
+
readonly "systemPrompt.resetAria": "Reset system prompt";
|
|
62
|
+
readonly "systemPrompt.resetTitle": "Reset to default";
|
|
63
|
+
readonly "systemPrompt.placeholder": "Optional — replaces app default";
|
|
64
|
+
readonly "systemPrompt.editorAria": "System prompt editor";
|
|
65
|
+
readonly "systemPrompt.previewAria": "System prompt preview";
|
|
66
|
+
readonly "modelSelector.label": "Model";
|
|
67
|
+
readonly "modelSelector.modelAria": "LLM model";
|
|
68
|
+
readonly "modelSelector.loadingModels": "Loading models…";
|
|
69
|
+
readonly "modelSelector.searchModels": "Search models…";
|
|
70
|
+
readonly "modelSelector.suggestionsAria": "Model suggestions";
|
|
71
|
+
readonly "modelSelector.custom": "Custom";
|
|
72
|
+
readonly "suggestions.ariaLabel": "Suggested prompts";
|
|
73
|
+
readonly "suggestions.title": "Suggestions";
|
|
74
|
+
readonly "suggestions.generate": "Generate";
|
|
75
|
+
readonly "suggestions.close": "Close suggestions";
|
|
76
|
+
readonly "suggestions.loading": "Loading suggestions";
|
|
77
|
+
readonly "suggestions.failedToLoad": "Failed to load suggestions";
|
|
78
|
+
readonly "emptyState.eyebrow": "AI Assistant";
|
|
79
|
+
readonly "emptyState.generateSuggestions": "Generate suggestions";
|
|
80
|
+
readonly "emptyState.generateSuggestionsHint": "Tailored prompts based on your live catalog";
|
|
81
|
+
readonly "emptyState.generating": "Generating suggestions";
|
|
82
|
+
readonly "emptyState.suggestedForYou": "Suggested for you";
|
|
83
|
+
readonly "emptyState.quickStarts": "Quick starts";
|
|
84
|
+
readonly "emptyState.capabilities.catalog": "Catalog";
|
|
85
|
+
readonly "emptyState.capabilities.query": "Query";
|
|
86
|
+
readonly "emptyState.capabilities.mutate": "Mutate";
|
|
87
|
+
readonly "activity.trace": "Trace";
|
|
88
|
+
readonly "activity.live": "Live";
|
|
89
|
+
readonly "activity.arguments": "Arguments";
|
|
90
|
+
readonly "activity.running": "Running…";
|
|
91
|
+
readonly "activity.steps.waitingConfirmation": "Waiting for confirmation…";
|
|
92
|
+
readonly "activity.steps.waitingChoice": "Waiting for your choice…";
|
|
93
|
+
readonly "activity.steps.suggestingReplies": "Suggesting replies…";
|
|
94
|
+
readonly "activity.steps.running": "Running {name}…";
|
|
95
|
+
readonly "activity.steps.failed": "{name} failed";
|
|
96
|
+
readonly "activity.steps.confirmationAnswered": "Confirmation answered";
|
|
97
|
+
readonly "activity.steps.choiceSubmitted": "Choice submitted";
|
|
98
|
+
readonly "activity.steps.replySuggestionsShown": "Reply suggestions shown";
|
|
99
|
+
readonly "activity.steps.ran": "Ran {name}";
|
|
100
|
+
readonly "interactive.chooseOptions": "Choose options";
|
|
101
|
+
readonly "interactive.chooseOne": "Choose one";
|
|
102
|
+
readonly "interactive.choicesKeyboardHint": "1-9 · Enter · Esc";
|
|
103
|
+
readonly "interactive.confirmationKeyboardHint": "Enter · Esc";
|
|
104
|
+
readonly "interactive.confirm": "Confirm";
|
|
105
|
+
readonly "interactive.confirmDeletion": "Confirm deletion";
|
|
106
|
+
readonly "interactive.invalidArgs": "Invalid interactive tool arguments";
|
|
107
|
+
readonly "replySuggestions.legend": "Suggested replies";
|
|
108
|
+
readonly "replySuggestions.pickHint": "to pick · or type below";
|
|
109
|
+
readonly "replySuggestions.badges.model": "Model";
|
|
110
|
+
readonly "replySuggestions.badges.status": "Status";
|
|
111
|
+
readonly "replySuggestions.badges.tools": "Tools";
|
|
112
|
+
readonly "replySuggestions.badges.dataclass": "Dataclass";
|
|
113
|
+
readonly "replySuggestions.badges.filter": "Filter";
|
|
114
|
+
readonly "scroll.toBottom": "Scroll to bottom";
|
|
115
|
+
readonly "errors.network.title": "Connection lost";
|
|
116
|
+
readonly "errors.network.hintChat": "Check your network or LLM endpoint, then try again.";
|
|
117
|
+
readonly "errors.network.hintSuggestions": "Check your connection and LLM settings.";
|
|
118
|
+
readonly "errors.auth.title": "Authentication failed";
|
|
119
|
+
readonly "errors.auth.hint": "Verify your API key or credentials in LLM settings.";
|
|
120
|
+
readonly "errors.timeout.title": "Request timed out";
|
|
121
|
+
readonly "errors.timeout.hint": "The model took too long to respond. Try again in a moment.";
|
|
122
|
+
readonly "errors.rateLimit.title": "Rate limit reached";
|
|
123
|
+
readonly "errors.rateLimit.hint": "Wait a few seconds before sending another request.";
|
|
124
|
+
readonly "errors.unknown.titleChat": "Something went wrong";
|
|
125
|
+
readonly "errors.unknown.titleSuggestions": "Couldn't load suggestions";
|
|
126
|
+
readonly "errors.unknown.hintChat": "Try again, or review your LLM settings.";
|
|
127
|
+
readonly "errors.unknown.hintSuggestions": "Try regenerating, or check your LLM configuration.";
|
|
128
|
+
};
|
|
129
|
+
export type AssistantLabelKey = keyof typeof DEFAULT_ASSISTANT_LABELS;
|
|
130
|
+
export type AssistantLabels = Record<AssistantLabelKey, string>;
|
|
131
|
+
/** Partial label overrides — shallow-merged onto defaults */
|
|
132
|
+
export type AssistantLabelOverrides = Partial<AssistantLabels>;
|
|
133
|
+
export declare const ASSISTANT_LABEL_KEYS: AssistantLabelKey[];
|
|
134
|
+
export declare function formatLabel(template: string, values: Record<string, string | number>): string;
|
|
135
|
+
export declare function resolveAssistantLabels(overrides?: AssistantLabelOverrides): AssistantLabels;
|
|
136
|
+
//# sourceMappingURL=labels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../src/labels.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoI3B,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,wBAAwB,CAAC;AAEtE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAEhE,6DAA6D;AAC7D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAE/D,eAAO,MAAM,oBAAoB,EAE5B,iBAAiB,EAAE,CAAC;AAEzB,wBAAgB,WAAW,CACzB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACtC,MAAM,CAIR;AAED,wBAAgB,sBAAsB,CACpC,SAAS,CAAC,EAAE,uBAAuB,GAClC,eAAe,CAEjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Assistant.d.ts","sourceRoot":"","sources":["../../src/react/Assistant.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Assistant.d.ts","sourceRoot":"","sources":["../../src/react/Assistant.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAiBf,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAoUlE,iEAAiE;AACjE,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BAM9C;AAED,0DAA0D;AAC1D,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,GAAG;IAClB,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,+BAQA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HighlightedJsonCode.d.ts","sourceRoot":"","sources":["../../../src/react/components/HighlightedJsonCode.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HighlightedJsonCode.d.ts","sourceRoot":"","sources":["../../../src/react/components/HighlightedJsonCode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAItD,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,wBAAwB,CAAC,MAAM,CAAC,+BAWnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownContent.d.ts","sourceRoot":"","sources":["../../../src/react/components/MarkdownContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownContent.d.ts","sourceRoot":"","sources":["../../../src/react/components/MarkdownContent.tsx"],"names":[],"mappings":"AAWA,OAAO,0BAA0B,CAAC;AAElC,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAiDD,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,SAAc,EACd,MAAc,EACd,SAAiB,GAClB,EAAE,oBAAoB,+BA6BtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../src/react/components/MarkdownEditor.tsx"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;
|
|
1
|
+
{"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../src/react/components/MarkdownEditor.tsx"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,QAAgB,EAChB,SAAc,EACd,YAAY,EAAE,SAAS,GACxB,EAAE,mBAAmB,+BAwCrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MermaidDiagram.d.ts","sourceRoot":"","sources":["../../../src/react/components/MermaidDiagram.tsx"],"names":[],"mappings":"AA0DA,UAAU,mBAAmB;
|
|
1
|
+
{"version":3,"file":"MermaidDiagram.d.ts","sourceRoot":"","sources":["../../../src/react/components/MermaidDiagram.tsx"],"names":[],"mappings":"AA0DA,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,SAAiB,EACjB,SAAS,GACV,EAAE,mBAAmB,+BAsErB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelSelector.d.ts","sourceRoot":"","sources":["../../../src/react/components/ModelSelector.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModelSelector.d.ts","sourceRoot":"","sources":["../../../src/react/components/ModelSelector.tsx"],"names":[],"mappings":"AAoBA,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,OAAkB,EAClB,MAAc,GACf,EAAE,kBAAkB,+BA6NpB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AssistantLabels } from "../../../labels.js";
|
|
1
2
|
interface AssistantErrorCalloutProps {
|
|
2
3
|
error: string;
|
|
3
4
|
context?: "chat" | "suggestions";
|
|
@@ -5,7 +6,8 @@ interface AssistantErrorCalloutProps {
|
|
|
5
6
|
onRetry?: () => void;
|
|
6
7
|
retryLabel?: string;
|
|
7
8
|
retryLoading?: boolean;
|
|
9
|
+
labels?: AssistantLabels;
|
|
8
10
|
}
|
|
9
|
-
export declare function AssistantErrorCallout({ error, context, variant, onRetry, retryLabel, retryLoading, }: AssistantErrorCalloutProps): import("react").JSX.Element;
|
|
11
|
+
export declare function AssistantErrorCallout({ error, context, variant, onRetry, retryLabel, retryLoading, labels: labelsOverride, }: AssistantErrorCalloutProps): import("react").JSX.Element;
|
|
10
12
|
export {};
|
|
11
13
|
//# sourceMappingURL=AssistantErrorCallout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantErrorCallout.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/AssistantErrorCallout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AssistantErrorCallout.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/AssistantErrorCallout.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAkB1D,UAAU,0BAA0B;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IACjC,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,OAAgB,EAChB,OAAoB,EACpB,OAAO,EACP,UAAU,EACV,YAAoB,EACpB,MAAM,EAAE,cAAc,GACvB,EAAE,0BAA0B,+BAwC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatActivity.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatActivity.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChatActivity.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatActivity.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,gBAAgB,EAKtB,MAAM,gCAAgC,CAAC;AAOxC,UAAU,iBAAiB;IACzB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAyOD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,iBAAiB,sCAgEnE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { KeyboardEvent, RefObject } from "react";
|
|
2
2
|
import type { ChatCommandSuggestion } from "../../../core/chat-commands.js";
|
|
3
|
+
import type { AssistantLabels } from "../../../labels.js";
|
|
3
4
|
interface ChatComposerToolbar {
|
|
4
5
|
showLlmSettings?: boolean;
|
|
5
6
|
onOpenLlmSettings?: () => void;
|
|
@@ -23,6 +24,7 @@ interface ChatComposerProps {
|
|
|
23
24
|
/** When true, only blocks message input and send — toolbar actions stay available. */
|
|
24
25
|
inputDisabled?: boolean;
|
|
25
26
|
placeholder?: string;
|
|
27
|
+
labels?: AssistantLabels;
|
|
26
28
|
toolbar?: ChatComposerToolbar;
|
|
27
29
|
commandMenu?: {
|
|
28
30
|
open: boolean;
|
|
@@ -31,6 +33,6 @@ interface ChatComposerProps {
|
|
|
31
33
|
onSelect: (command: ChatCommandSuggestion) => void;
|
|
32
34
|
};
|
|
33
35
|
}
|
|
34
|
-
export declare function ChatComposer({ input, onInputChange, onSubmit, onKeyDown, streaming, onStop, textareaRef, llmEnabled, disabled, inputDisabled, placeholder, toolbar, commandMenu, }: ChatComposerProps): import("react").JSX.Element;
|
|
36
|
+
export declare function ChatComposer({ input, onInputChange, onSubmit, onKeyDown, streaming, onStop, textareaRef, llmEnabled, disabled, inputDisabled, placeholder, labels: labelsOverride, toolbar, commandMenu, }: ChatComposerProps): import("react").JSX.Element;
|
|
35
37
|
export {};
|
|
36
38
|
//# sourceMappingURL=ChatComposer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatComposer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatComposer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D,UAAU,mBAAmB;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC/D,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sFAAsF;IACtF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,OAAO,CAAC;QACd,QAAQ,EAAE,qBAAqB,EAAE,CAAC;QAClC,aAAa,EAAE,MAAM,CAAC;QACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,qBAAqB,KAAK,IAAI,CAAC;KACpD,CAAC;CACH;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,QAAQ,EACR,SAAS,EACT,SAAS,EACT,MAAM,EACN,WAAW,EACX,UAAU,EACV,QAAQ,EACR,aAAa,EACb,WAAW,EACX,MAAM,EAAE,cAAc,EACtB,OAAO,EACP,WAAW,GACZ,EAAE,iBAAiB,+BAmInB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatEmptyState.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatEmptyState.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatEmptyState.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatEmptyState.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAGhE,UAAU,mBAAmB;IAC3B,MAAM,EAAE,yBAAyB,CAAC;IAClC,WAAW,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IACpD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,WAAW,EACX,QAAQ,GACT,EAAE,mBAAmB,+BA8HrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choices-prompt.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/choices-prompt.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"choices-prompt.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/choices-prompt.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,eAAe,EAEhB,MAAM,6CAA6C,CAAC;AA+ErD,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,MAAM,EACN,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB,+BA6KA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirmation-prompt.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/confirmation-prompt.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAMxF,wBAAgB,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"confirmation-prompt.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/confirmation-prompt.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAMxF,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,MAAM,EACN,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB,+BAuFA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/index.tsx"],"names":[],"mappings":"AAUA,wBAAgB,qBAAqB,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/index.tsx"],"names":[],"mappings":"AAUA,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,MAAM,GACP,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACjB,sCAsCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,2BAA2B,GAAG;
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../src/react/components/chat/ChatInteractivePrompt/shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EAAE,IAAI,EACV,KAAK,EACL,IAAgB,EAChB,QAAQ,EACR,OAAO,EACP,YAAY,GACb,EAAE,2BAA2B,+BAuC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatMessage.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatMessage.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAwB/D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,GAClB,EAAE,oBAAoB,+BAiHtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessageScroll.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatMessageScroll.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChatMessageScroll.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatMessageScroll.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAYf,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,aAAa,GACd,EAAE,sBAAsB,+BA0FxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatReplySuggestions.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatReplySuggestions.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"ChatReplySuggestions.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ChatReplySuggestions.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAKjF,KAAK,yBAAyB,GAAG;IAC/B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAsIF,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,yBAAyB,+BAkF3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerCommandMenu.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ComposerCommandMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"ComposerCommandMenu.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/ComposerCommandMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAI5E,UAAU,wBAAwB;IAChC,QAAQ,EAAE,qBAAqB,EAAE,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,SAAS,GACV,EAAE,wBAAwB,sCAwD1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LlmSettingsStrip.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/LlmSettingsStrip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LlmSettingsStrip.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/LlmSettingsStrip.tsx"],"names":[],"mappings":"AAeA,UAAU,qBAAqB;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,qBAAqB,sCAgVxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LlmSetupPrompt.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/LlmSetupPrompt.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LlmSetupPrompt.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/LlmSetupPrompt.tsx"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;IAC3B,OAAO,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,mBAAmB,+BAsD3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LlmUnavailableBanner.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/LlmUnavailableBanner.tsx"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;
|
|
1
|
+
{"version":3,"file":"LlmUnavailableBanner.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/LlmUnavailableBanner.tsx"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,GACZ,EAAE,yBAAyB,+BAE3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestedPromptsList.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/SuggestedPromptsList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SuggestedPromptsList.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/SuggestedPromptsList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gBAAgB,CAAC;AAyBvE,UAAU,yBAAyB;IACjC,OAAO,EAAE,gCAAgC,EAAE,CAAC;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,SAAS,EACT,OAAO,GACR,EAAE,yBAAyB,sCA2E3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestedPromptsStrip.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/SuggestedPromptsStrip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SuggestedPromptsStrip.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/SuggestedPromptsStrip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAGhF,UAAU,0BAA0B;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;CACrD;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,OAAO,EACP,SAAS,EACT,QAAQ,EACR,WAAW,GACZ,EAAE,0BAA0B,sCAyD5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SystemPromptField.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/SystemPromptField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SystemPromptField.d.ts","sourceRoot":"","sources":["../../../../src/react/components/chat/SystemPromptField.tsx"],"names":[],"mappings":"AAQA,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,aAAa,EACb,QAAQ,EACR,OAAO,EACP,QAAgB,GACjB,EAAE,sBAAsB,+BAwFxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlighted-code.d.ts","sourceRoot":"","sources":["../../../src/react/components/highlighted-code.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"highlighted-code.d.ts","sourceRoot":"","sources":["../../../src/react/components/highlighted-code.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAwCf,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,SAAS,EAAE,CAgCb;AAED,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,IAAI,EACJ,QAAiB,EACjB,GAAG,KAAK,EACT,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,GAAG,wBAAwB,CAAC,MAAM,CAAC,+BAcnC"}
|
package/dist/react/context.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { createAssistantStore } from "@4djs/assistant/core";
|
|
1
2
|
import { type ReactNode } from "react";
|
|
2
|
-
import {
|
|
3
|
+
import { type AssistantLabels } from "../labels.js";
|
|
3
4
|
import type { AssistantContextValue, AssistantProviderProps } from "./types.js";
|
|
4
5
|
export declare function AssistantProvider({ config, children, }: AssistantProviderProps): import("react").JSX.Element;
|
|
5
6
|
export declare function useAssistantContext(): AssistantContextValue;
|
|
6
7
|
export declare function useAssistant<T>(selector: (state: ReturnType<ReturnType<typeof createAssistantStore>["getState"]>) => T): T;
|
|
7
|
-
export declare function useAssistantActions(): import("
|
|
8
|
+
export declare function useAssistantActions(): import("@4djs/assistant/core").AssistantState;
|
|
9
|
+
export declare function useAssistantLabels(): AssistantLabels;
|
|
8
10
|
export declare function AssistantBootstrap({ children }: {
|
|
9
11
|
children: ReactNode;
|
|
10
12
|
}): ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/react/context.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/react/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAA6B,MAAM,sBAAsB,CAAC;AACvF,OAAO,EAEL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,eAAe,EAGrB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AA6BhF,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,QAAQ,GACT,EAAE,sBAAsB,+BAqBxB;AAED,wBAAgB,mBAAmB,IAAI,qBAAqB,CAQ3D;AAED,wBAAgB,YAAY,CAAC,CAAC,EAC5B,QAAQ,EAAE,CACR,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,UAAU,CAAC,CAAC,KACnE,CAAC,GACL,CAAC,CAGH;AAED,wBAAgB,mBAAmB,kDAGlC;AAED,wBAAgB,kBAAkB,IAAI,eAAe,CAGpD;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,aAUvE"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import { type ChatCommandSuggestion, type ChatCommandSurface } from "@4djs/assistant/core";
|
|
1
2
|
import { type KeyboardEvent } from "react";
|
|
2
|
-
import
|
|
3
|
+
import type { AssistantLabels } from "../../labels.js";
|
|
3
4
|
type UseComposerCommandsOptions = {
|
|
4
5
|
value: string;
|
|
5
6
|
onChange: (value: string) => void;
|
|
6
7
|
surface: ChatCommandSurface;
|
|
7
8
|
onExecute: (commandText: string) => void | Promise<void>;
|
|
8
9
|
disabled?: boolean;
|
|
10
|
+
labels?: AssistantLabels;
|
|
9
11
|
};
|
|
10
|
-
export declare function useComposerCommands({ value, onChange, surface, onExecute, disabled, }: UseComposerCommandsOptions): {
|
|
12
|
+
export declare function useComposerCommands({ value, onChange, surface, onExecute, disabled, labels, }: UseComposerCommandsOptions): {
|
|
11
13
|
suggestions: ChatCommandSuggestion[];
|
|
12
14
|
menuOpen: boolean;
|
|
13
15
|
selectedIndex: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-composer-commands.d.ts","sourceRoot":"","sources":["../../../src/react/hooks/use-composer-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAgC,MAAM,OAAO,CAAC;AACzE,OAAO,
|
|
1
|
+
{"version":3,"file":"use-composer-commands.d.ts","sourceRoot":"","sources":["../../../src/react/hooks/use-composer-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EAKxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,aAAa,EAAgC,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,KAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,kBAAkB,CAAC;IAC5B,SAAS,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,QAAQ,EACR,OAAO,EACP,SAAS,EACT,QAAgB,EAChB,MAAM,GACP,EAAE,0BAA0B;;;;;8BASM,MAAM;+BAWL,qBAAqB;6BAInB,OAAO,CAAC,OAAO,CAAC;2BAgBtB,aAAa,CAAC,mBAAmB,CAAC,KAAG,OAAO;EAiE3E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AssistantToolDefinition } from "
|
|
1
|
+
import type { AssistantToolDefinition } from "@4djs/assistant/core";
|
|
2
2
|
import type { AssistantSuggestedPromptWithIcon } from "../types.js";
|
|
3
3
|
export declare function useSuggestedPrompts(input: {
|
|
4
4
|
staticPrompts?: AssistantSuggestedPromptWithIcon[];
|
|
@@ -18,6 +18,7 @@ export declare function useSuggestedPrompts(input: {
|
|
|
18
18
|
prompt: string;
|
|
19
19
|
icon?: string;
|
|
20
20
|
}>>;
|
|
21
|
+
failedToLoadLabel?: string;
|
|
21
22
|
}): {
|
|
22
23
|
prompts: AssistantSuggestedPromptWithIcon[];
|
|
23
24
|
loading: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-suggested-prompts.d.ts","sourceRoot":"","sources":["../../../src/react/hooks/use-suggested-prompts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-suggested-prompts.d.ts","sourceRoot":"","sources":["../../../src/react/hooks/use-suggested-prompts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAGpE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,aAAa,CAAC;AAoBpE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,aAAa,CAAC,EAAE,gCAAgC,EAAE,CAAC;IACnD,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,SAAS,EAAE,MAAM,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAAC;IACpD,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE;QAC5B,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,EAAE,uBAAuB,EAAE,CAAC;KAClC,KAAK,OAAO,CACX,KAAK,CAAC;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC,CACH,CAAC;IACF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;;;;;;;EAsFA"}
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export type { AssistantMessage, AssistantStoreDependencies, AssistantToolDefinition, AssistantToolResult, } from "
|
|
1
|
+
export type { AssistantMessage, AssistantStoreDependencies, AssistantToolDefinition, AssistantToolResult, } from "@4djs/assistant/core";
|
|
2
|
+
export type { AssistantLabelKey, AssistantLabelOverrides, AssistantLabels, } from "../labels.js";
|
|
3
|
+
export { ASSISTANT_LABEL_KEYS, DEFAULT_ASSISTANT_LABELS, formatLabel, resolveAssistantLabels, } from "../labels.js";
|
|
2
4
|
export { Assistant, AssistantRoot, } from "./Assistant.js";
|
|
3
5
|
export { ChatActivity } from "./components/chat/ChatActivity.js";
|
|
4
6
|
export { ChatComposer } from "./components/chat/ChatComposer.js";
|
|
@@ -11,7 +13,7 @@ export { LlmSettingsStrip } from "./components/chat/LlmSettingsStrip.js";
|
|
|
11
13
|
export { MarkdownContent } from "./components/MarkdownContent.js";
|
|
12
14
|
export { MermaidDiagram } from "./components/MermaidDiagram.js";
|
|
13
15
|
export { ModelSelector } from "./components/ModelSelector.js";
|
|
14
|
-
export { AssistantBootstrap, AssistantProvider, useAssistant, useAssistantActions, useAssistantContext, } from "./context.js";
|
|
16
|
+
export { AssistantBootstrap, AssistantProvider, useAssistant, useAssistantActions, useAssistantContext, useAssistantLabels, } from "./context.js";
|
|
15
17
|
export { useComposerCommands } from "./hooks/use-composer-commands.js";
|
|
16
18
|
export type { AssistantConfig, AssistantContextValue, AssistantEmptyStateConfig, AssistantHeaderConfig, AssistantProps, AssistantProviderProps, AssistantSuggestedPromptWithIcon, AssistantUiConfig, } from "./types.js";
|
|
17
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,iBAAiB,EACjB,uBAAuB,EACvB,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACX,sBAAsB,GACvB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,SAAS,EACT,aAAa,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,YAAY,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AssistantLabels } from "../../labels.js";
|
|
1
2
|
export type AssistantErrorKind = "network" | "auth" | "timeout" | "rate-limit" | "unknown";
|
|
2
3
|
export type ParsedAssistantError = {
|
|
3
4
|
title: string;
|
|
@@ -5,5 +6,5 @@ export type ParsedAssistantError = {
|
|
|
5
6
|
hint?: string;
|
|
6
7
|
kind: AssistantErrorKind;
|
|
7
8
|
};
|
|
8
|
-
export declare function parseAssistantError(raw: string, context?: "chat" | "suggestions"): ParsedAssistantError;
|
|
9
|
+
export declare function parseAssistantError(raw: string, context?: "chat" | "suggestions", labels?: AssistantLabels): ParsedAssistantError;
|
|
9
10
|
//# sourceMappingURL=parse-assistant-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-assistant-error.d.ts","sourceRoot":"","sources":["../../../src/react/lib/parse-assistant-error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"parse-assistant-error.d.ts","sourceRoot":"","sources":["../../../src/react/lib/parse-assistant-error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,MAAM,GACN,SAAS,GACT,YAAY,GACZ,SAAS,CAAC;AAEd,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAUF,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,MAAM,GAAG,aAAsB,EACxC,MAAM,GAAE,eAA0C,GACjD,oBAAoB,CAwEtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-icons.d.ts","sourceRoot":"","sources":["../../../src/react/lib/prompt-icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"prompt-icons.d.ts","sourceRoot":"","sources":["../../../src/react/lib/prompt-icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAKL,QAAQ,EAKT,MAAM,cAAc,CAAC;AAsBtB,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAIvE;AAED,OAAO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,CAAC"}
|
package/dist/react/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { AssistantStore, AssistantStoreDependencies, AssistantSuggestedPrompt, AssistantToolDefinition } from "@4djs/assistant/core";
|
|
1
2
|
import type { LucideIcon } from "lucide-react";
|
|
2
3
|
import type { ReactNode } from "react";
|
|
3
|
-
import type {
|
|
4
|
-
import type { AssistantStoreDependencies, AssistantSuggestedPrompt, AssistantToolDefinition } from "../core/types.js";
|
|
4
|
+
import type { AssistantLabelOverrides, AssistantLabels } from "../labels.js";
|
|
5
5
|
export interface AssistantSuggestedPromptWithIcon extends Omit<AssistantSuggestedPrompt, "icon"> {
|
|
6
6
|
icon?: LucideIcon;
|
|
7
7
|
hint?: string;
|
|
@@ -31,6 +31,8 @@ export interface AssistantUiConfig {
|
|
|
31
31
|
className?: string;
|
|
32
32
|
}
|
|
33
33
|
export interface AssistantConfig extends AssistantStoreDependencies {
|
|
34
|
+
/** UI copy — pass partial overrides to translate or customize strings */
|
|
35
|
+
labels?: AssistantLabelOverrides;
|
|
34
36
|
emptyState?: AssistantEmptyStateConfig;
|
|
35
37
|
header?: AssistantHeaderConfig;
|
|
36
38
|
ui?: AssistantUiConfig;
|
|
@@ -52,6 +54,7 @@ export interface AssistantConfig extends AssistantStoreDependencies {
|
|
|
52
54
|
export interface AssistantContextValue {
|
|
53
55
|
store: AssistantStore;
|
|
54
56
|
config: AssistantConfig;
|
|
57
|
+
labels: AssistantLabels;
|
|
55
58
|
}
|
|
56
59
|
export interface AssistantProviderProps {
|
|
57
60
|
config: AssistantConfig;
|
|
@@ -65,5 +68,7 @@ export interface AssistantProps {
|
|
|
65
68
|
emptyState?: AssistantEmptyStateConfig;
|
|
66
69
|
/** Override UI options from provider config */
|
|
67
70
|
ui?: AssistantUiConfig;
|
|
71
|
+
/** Focus the composer when the panel mounts (default: true) */
|
|
72
|
+
focusComposerOnMount?: boolean;
|
|
68
73
|
}
|
|
69
74
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/react/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/react/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE7E,MAAM,WAAW,gCACf,SAAQ,IAAI,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAC9C,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,gBAAgB,CAAC,EAAE,gCAAgC,EAAE,CAAC;IACtD,gFAAgF;IAChF,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,sGAAsG;IACtG,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,iBAAiB;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,sEAAsE;IACtE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAgB,SAAQ,0BAA0B;IACjE,yEAAyE;IACzE,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,+CAA+C;IAC/C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mFAAmF;IACnF,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE;QAC5B,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,EAAE,uBAAuB,EAAE,CAAC;KAClC,KAAK,OAAO,CACX,KAAK,CAAC;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC,CACH,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,gDAAgD;IAChD,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,+CAA+C;IAC/C,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,+DAA+D;IAC/D,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/react/utils/cn.ts"],"names":[],"mappings":"AAAA,wBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/react/utils/cn.ts"],"names":[],"mappings":"AAAA,wBAAgB,EAAE,CAChB,GAAG,OAAO,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,GACnD,MAAM,CAER"}
|