@tylertech/forge-ai 0.1.0
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/LICENSE +202 -0
- package/README.md +3 -0
- package/custom-elements.json +4963 -0
- package/dist/ai-actions-toolbar/ai-actions-toolbar.d.ts +25 -0
- package/dist/ai-actions-toolbar/ai-actions-toolbar.mjs +74 -0
- package/dist/ai-actions-toolbar/ai-actions-toolbar.scss.mjs +4 -0
- package/dist/ai-actions-toolbar/index.d.ts +1 -0
- package/dist/ai-actions-toolbar/index.mjs +5 -0
- package/dist/ai-artifact/ai-artifact.d.ts +20 -0
- package/dist/ai-artifact/ai-artifact.mjs +39 -0
- package/dist/ai-artifact/ai-artifact.scss.mjs +4 -0
- package/dist/ai-artifact/index.d.ts +1 -0
- package/dist/ai-artifact/index.mjs +5 -0
- package/dist/ai-button/ai-button.d.ts +21 -0
- package/dist/ai-button/ai-button.mjs +67 -0
- package/dist/ai-button/ai-button.scss.mjs +4 -0
- package/dist/ai-button/index.d.ts +1 -0
- package/dist/ai-button/index.mjs +5 -0
- package/dist/ai-chain-of-thought/ai-chain-of-thought.d.ts +17 -0
- package/dist/ai-chain-of-thought/ai-chain-of-thought.mjs +45 -0
- package/dist/ai-chain-of-thought/ai-chain-of-thought.scss.mjs +4 -0
- package/dist/ai-chain-of-thought/index.d.ts +5 -0
- package/dist/ai-chain-of-thought/index.mjs +17 -0
- package/dist/ai-chain-of-thought/thought-base/index.d.ts +1 -0
- package/dist/ai-chain-of-thought/thought-base/index.mjs +5 -0
- package/dist/ai-chain-of-thought/thought-base/thought-base.d.ts +20 -0
- package/dist/ai-chain-of-thought/thought-base/thought-base.mjs +43 -0
- package/dist/ai-chain-of-thought/thought-base/thought-base.scss.mjs +4 -0
- package/dist/ai-chain-of-thought/thought-detail/index.d.ts +1 -0
- package/dist/ai-chain-of-thought/thought-detail/index.mjs +5 -0
- package/dist/ai-chain-of-thought/thought-detail/thought-detail.d.ts +14 -0
- package/dist/ai-chain-of-thought/thought-detail/thought-detail.mjs +34 -0
- package/dist/ai-chain-of-thought/thought-detail/thought-detail.scss.mjs +4 -0
- package/dist/ai-chain-of-thought/thought-image/index.d.ts +1 -0
- package/dist/ai-chain-of-thought/thought-image/index.mjs +5 -0
- package/dist/ai-chain-of-thought/thought-image/thought-image.d.ts +16 -0
- package/dist/ai-chain-of-thought/thought-image/thought-image.mjs +43 -0
- package/dist/ai-chain-of-thought/thought-image/thought-image.scss.mjs +4 -0
- package/dist/ai-chain-of-thought/thought-search-result/index.d.ts +1 -0
- package/dist/ai-chain-of-thought/thought-search-result/index.mjs +5 -0
- package/dist/ai-chain-of-thought/thought-search-result/thought-search-result.d.ts +22 -0
- package/dist/ai-chain-of-thought/thought-search-result/thought-search-result.mjs +62 -0
- package/dist/ai-chain-of-thought/thought-search-result/thought-search-result.scss.mjs +4 -0
- package/dist/ai-chat-header/ai-chat-header.d.ts +54 -0
- package/dist/ai-chat-header/ai-chat-header.mjs +198 -0
- package/dist/ai-chat-header/ai-chat-header.scss.mjs +4 -0
- package/dist/ai-chat-header/index.d.ts +1 -0
- package/dist/ai-chat-header/index.mjs +5 -0
- package/dist/ai-chat-interface/ai-chat-interface.d.ts +38 -0
- package/dist/ai-chat-interface/ai-chat-interface.mjs +117 -0
- package/dist/ai-chat-interface/ai-chat-interface.scss.mjs +4 -0
- package/dist/ai-chat-interface/index.d.ts +1 -0
- package/dist/ai-chat-interface/index.mjs +5 -0
- package/dist/ai-dialog/ai-dialog.d.ts +56 -0
- package/dist/ai-dialog/ai-dialog.mjs +270 -0
- package/dist/ai-dialog/ai-dialog.scss.mjs +4 -0
- package/dist/ai-dialog/index.d.ts +1 -0
- package/dist/ai-dialog/index.mjs +5 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-item-group.d.ts +26 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-item-group.mjs +80 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-item-group.scss.mjs +4 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-item.d.ts +133 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-item.mjs +335 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-item.scss.mjs +4 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-separator.d.ts +18 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-separator.mjs +26 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu-separator.scss.mjs +4 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu.d.ts +143 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu.mjs +327 -0
- package/dist/ai-dropdown-menu/ai-dropdown-menu.scss.mjs +4 -0
- package/dist/ai-dropdown-menu/index.d.ts +4 -0
- package/dist/ai-dropdown-menu/index.mjs +10 -0
- package/dist/ai-dropdown-menu/navigation-controller.d.ts +79 -0
- package/dist/ai-dropdown-menu/navigation-controller.mjs +205 -0
- package/dist/ai-dropdown-menu/selection-manager.d.ts +145 -0
- package/dist/ai-dropdown-menu/selection-manager.mjs +183 -0
- package/dist/ai-embedded-chat/ai-embedded-chat.d.ts +47 -0
- package/dist/ai-embedded-chat/ai-embedded-chat.mjs +139 -0
- package/dist/ai-embedded-chat/ai-embedded-chat.scss.mjs +4 -0
- package/dist/ai-embedded-chat/index.d.ts +1 -0
- package/dist/ai-embedded-chat/index.mjs +5 -0
- package/dist/ai-empty-state/ai-empty-state.d.ts +19 -0
- package/dist/ai-empty-state/ai-empty-state.mjs +136 -0
- package/dist/ai-empty-state/ai-empty-state.scss.mjs +4 -0
- package/dist/ai-empty-state/index.d.ts +1 -0
- package/dist/ai-empty-state/index.mjs +5 -0
- package/dist/ai-fab/ai-fab.d.ts +23 -0
- package/dist/ai-fab/ai-fab.mjs +75 -0
- package/dist/ai-fab/ai-fab.scss.mjs +4 -0
- package/dist/ai-fab/index.d.ts +1 -0
- package/dist/ai-fab/index.mjs +5 -0
- package/dist/ai-file-picker/ai-file-picker.d.ts +77 -0
- package/dist/ai-file-picker/ai-file-picker.mjs +176 -0
- package/dist/ai-file-picker/ai-file-picker.scss.mjs +4 -0
- package/dist/ai-file-picker/index.d.ts +1 -0
- package/dist/ai-file-picker/index.mjs +4 -0
- package/dist/ai-floating-chat/ai-floating-chat.d.ts +65 -0
- package/dist/ai-floating-chat/ai-floating-chat.mjs +153 -0
- package/dist/ai-floating-chat/ai-floating-chat.scss.mjs +4 -0
- package/dist/ai-floating-chat/index.d.ts +1 -0
- package/dist/ai-floating-chat/index.mjs +5 -0
- package/dist/ai-gradient-container/ai-gradient-container.d.ts +26 -0
- package/dist/ai-gradient-container/ai-gradient-container.mjs +61 -0
- package/dist/ai-gradient-container/ai-gradient-container.scss.mjs +4 -0
- package/dist/ai-gradient-container/index.d.ts +1 -0
- package/dist/ai-gradient-container/index.mjs +5 -0
- package/dist/ai-icon/ai-icon.d.ts +22 -0
- package/dist/ai-icon/ai-icon.mjs +71 -0
- package/dist/ai-icon/ai-icon.scss.mjs +4 -0
- package/dist/ai-icon/index.d.ts +1 -0
- package/dist/ai-icon/index.mjs +5 -0
- package/dist/ai-modal/ai-modal.d.ts +49 -0
- package/dist/ai-modal/ai-modal.mjs +132 -0
- package/dist/ai-modal/ai-modal.scss.mjs +4 -0
- package/dist/ai-modal/index.d.ts +1 -0
- package/dist/ai-modal/index.mjs +4 -0
- package/dist/ai-prompt/ai-prompt.d.ts +42 -0
- package/dist/ai-prompt/ai-prompt.mjs +123 -0
- package/dist/ai-prompt/ai-prompt.scss.mjs +4 -0
- package/dist/ai-prompt/index.d.ts +1 -0
- package/dist/ai-prompt/index.mjs +5 -0
- package/dist/ai-prompt/prompt-button/index.d.ts +1 -0
- package/dist/ai-prompt/prompt-button/index.mjs +5 -0
- package/dist/ai-prompt/prompt-button/prompt-button.d.ts +16 -0
- package/dist/ai-prompt/prompt-button/prompt-button.mjs +40 -0
- package/dist/ai-prompt/prompt-button/prompt-button.scss.mjs +4 -0
- package/dist/ai-reasoning/ai-reasoning.d.ts +17 -0
- package/dist/ai-reasoning/ai-reasoning.mjs +44 -0
- package/dist/ai-reasoning/ai-reasoning.scss.mjs +4 -0
- package/dist/ai-reasoning/index.d.ts +2 -0
- package/dist/ai-reasoning/index.mjs +8 -0
- package/dist/ai-reasoning/reasoning-content/index.d.ts +1 -0
- package/dist/ai-reasoning/reasoning-content/index.mjs +5 -0
- package/dist/ai-reasoning/reasoning-content/reasoning-content.d.ts +22 -0
- package/dist/ai-reasoning/reasoning-content/reasoning-content.mjs +90 -0
- package/dist/ai-reasoning/reasoning-content/reasoning-content.scss.mjs +4 -0
- package/dist/ai-reasoning-header/ai-reasoning-header.d.ts +24 -0
- package/dist/ai-reasoning-header/ai-reasoning-header.mjs +68 -0
- package/dist/ai-reasoning-header/ai-reasoning-header.scss.mjs +4 -0
- package/dist/ai-reasoning-header/index.d.ts +1 -0
- package/dist/ai-reasoning-header/index.mjs +5 -0
- package/dist/ai-response-message/ai-response-message.d.ts +40 -0
- package/dist/ai-response-message/ai-response-message.mjs +137 -0
- package/dist/ai-response-message/ai-response-message.scss.mjs +4 -0
- package/dist/ai-response-message/index.d.ts +1 -0
- package/dist/ai-response-message/index.mjs +5 -0
- package/dist/ai-sidebar/ai-sidebar.d.ts +44 -0
- package/dist/ai-sidebar/ai-sidebar.mjs +105 -0
- package/dist/ai-sidebar/ai-sidebar.scss.mjs +4 -0
- package/dist/ai-sidebar/index.d.ts +1 -0
- package/dist/ai-sidebar/index.mjs +5 -0
- package/dist/ai-sidebar-chat/ai-sidebar-chat.d.ts +64 -0
- package/dist/ai-sidebar-chat/ai-sidebar-chat.mjs +170 -0
- package/dist/ai-sidebar-chat/ai-sidebar-chat.scss.mjs +4 -0
- package/dist/ai-sidebar-chat/index.d.ts +1 -0
- package/dist/ai-sidebar-chat/index.mjs +5 -0
- package/dist/ai-suggestions/ai-suggestions.d.ts +39 -0
- package/dist/ai-suggestions/ai-suggestions.mjs +96 -0
- package/dist/ai-suggestions/ai-suggestions.scss.mjs +4 -0
- package/dist/ai-suggestions/index.d.ts +1 -0
- package/dist/ai-suggestions/index.mjs +5 -0
- package/dist/ai-threads/ai-threads.d.ts +48 -0
- package/dist/ai-threads/ai-threads.mjs +203 -0
- package/dist/ai-threads/ai-threads.scss.mjs +4 -0
- package/dist/ai-threads/index.d.ts +1 -0
- package/dist/ai-threads/index.mjs +5 -0
- package/dist/ai-user-message/ai-user-message.d.ts +15 -0
- package/dist/ai-user-message/ai-user-message.mjs +43 -0
- package/dist/ai-user-message/ai-user-message.scss.mjs +4 -0
- package/dist/ai-user-message/index.d.ts +1 -0
- package/dist/ai-user-message/index.mjs +5 -0
- package/dist/ai-voice-input/ai-voice-input.d.ts +68 -0
- package/dist/ai-voice-input/ai-voice-input.mjs +107 -0
- package/dist/ai-voice-input/ai-voice-input.scss.mjs +4 -0
- package/dist/ai-voice-input/index.d.ts +1 -0
- package/dist/ai-voice-input/index.mjs +5 -0
- package/dist/core/drag-controller.d.ts +66 -0
- package/dist/core/drag-controller.mjs +219 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.mjs +4 -0
- package/dist/core/overlay/index.d.ts +1 -0
- package/dist/core/overlay/index.mjs +4 -0
- package/dist/core/overlay/overlay.d.ts +61 -0
- package/dist/core/overlay/overlay.mjs +142 -0
- package/dist/core/overlay/overlay.scss.mjs +4 -0
- package/dist/core/popover/index.d.ts +1 -0
- package/dist/core/popover/index.mjs +4 -0
- package/dist/core/popover/popover.d.ts +56 -0
- package/dist/core/popover/popover.mjs +71 -0
- package/dist/core/popover/popover.scss.mjs +4 -0
- package/dist/core/tooltip/index.d.ts +1 -0
- package/dist/core/tooltip/index.mjs +4 -0
- package/dist/core/tooltip/tooltip.d.ts +91 -0
- package/dist/core/tooltip/tooltip.mjs +243 -0
- package/dist/core/tooltip/tooltip.scss.mjs +4 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.mjs +98 -0
- package/dist/utils.d.ts +14 -0
- package/dist/utils.mjs +22 -0
- package/package.json +122 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './ai-artifact';
|
|
2
|
+
export * from './ai-suggestions';
|
|
3
|
+
export * from './ai-actions-toolbar';
|
|
4
|
+
export * from './ai-button';
|
|
5
|
+
export * from './ai-chat-header';
|
|
6
|
+
export * from './ai-chat-interface';
|
|
7
|
+
export * from './ai-dropdown-menu';
|
|
8
|
+
export * from './ai-chain-of-thought';
|
|
9
|
+
export * from './ai-dialog';
|
|
10
|
+
export * from './ai-embedded-chat';
|
|
11
|
+
export * from './ai-empty-state';
|
|
12
|
+
export * from './ai-fab';
|
|
13
|
+
export * from './ai-file-picker';
|
|
14
|
+
export * from './ai-floating-chat';
|
|
15
|
+
export * from './ai-gradient-container';
|
|
16
|
+
export * from './ai-icon';
|
|
17
|
+
export * from './ai-modal';
|
|
18
|
+
export * from './ai-prompt';
|
|
19
|
+
export * from './ai-reasoning';
|
|
20
|
+
export * from './ai-reasoning-header';
|
|
21
|
+
export * from './ai-response-message';
|
|
22
|
+
export * from './ai-sidebar';
|
|
23
|
+
export * from './ai-sidebar-chat';
|
|
24
|
+
export * from './ai-suggestions';
|
|
25
|
+
export * from './ai-threads';
|
|
26
|
+
export * from './ai-user-message';
|
|
27
|
+
export * from './ai-voice-input';
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { AiArtifactComponent, AiArtifactComponentTagName } from "./ai-artifact/ai-artifact.mjs";
|
|
2
|
+
import { AiSuggestionsComponent, AiSuggestionsComponentTagName } from "./ai-suggestions/ai-suggestions.mjs";
|
|
3
|
+
import { AiActionsToolbarComponent, AiActionsToolbarComponentTagName } from "./ai-actions-toolbar/ai-actions-toolbar.mjs";
|
|
4
|
+
import { AiButtonComponent, AiButtonComponentTagName } from "./ai-button/ai-button.mjs";
|
|
5
|
+
import { AiChatHeaderComponent, AiChatHeaderComponentTagName } from "./ai-chat-header/ai-chat-header.mjs";
|
|
6
|
+
import { AiChatInterfaceComponent, AiChatInterfaceComponentTagName } from "./ai-chat-interface/ai-chat-interface.mjs";
|
|
7
|
+
import { ForgeAiDropdownMenuComponent } from "./ai-dropdown-menu/ai-dropdown-menu.mjs";
|
|
8
|
+
import { ForgeAiDropdownMenuItemComponent } from "./ai-dropdown-menu/ai-dropdown-menu-item.mjs";
|
|
9
|
+
import { ForgeAiDropdownMenuItemGroupComponent } from "./ai-dropdown-menu/ai-dropdown-menu-item-group.mjs";
|
|
10
|
+
import { ForgeAiDropdownMenuSeparatorComponent } from "./ai-dropdown-menu/ai-dropdown-menu-separator.mjs";
|
|
11
|
+
import { AiChainOfThoughtComponent, AiChainOfThoughtComponentTagName } from "./ai-chain-of-thought/ai-chain-of-thought.mjs";
|
|
12
|
+
import { ThoughtBaseComponent, ThoughtBaseComponentTagName } from "./ai-chain-of-thought/thought-base/thought-base.mjs";
|
|
13
|
+
import { ThoughtSearchResultComponent, ThoughtSearchResultComponentTagName } from "./ai-chain-of-thought/thought-search-result/thought-search-result.mjs";
|
|
14
|
+
import { ThoughtImageComponent, ThoughtImageComponentTagName } from "./ai-chain-of-thought/thought-image/thought-image.mjs";
|
|
15
|
+
import { ThoughtDetailComponent, ThoughtDetailComponentTagName } from "./ai-chain-of-thought/thought-detail/thought-detail.mjs";
|
|
16
|
+
import { AiDialogComponent, AiDialogComponentTagName } from "./ai-dialog/ai-dialog.mjs";
|
|
17
|
+
import { AiEmbeddedChatComponent, AiEmbeddedChatComponentTagName } from "./ai-embedded-chat/ai-embedded-chat.mjs";
|
|
18
|
+
import { AiEmptyStateComponent, AiEmptyStateComponentTagName } from "./ai-empty-state/ai-empty-state.mjs";
|
|
19
|
+
import { AiFabComponent, AiFabComponentTagName } from "./ai-fab/ai-fab.mjs";
|
|
20
|
+
import { ForgeAiFilePickerComponent } from "./ai-file-picker/ai-file-picker.mjs";
|
|
21
|
+
import { AiFloatingChatComponent, AiFloatingChatComponentTagName } from "./ai-floating-chat/ai-floating-chat.mjs";
|
|
22
|
+
import { AiGradientContainerComponent, AiGradientContainerComponentTagName } from "./ai-gradient-container/ai-gradient-container.mjs";
|
|
23
|
+
import { AiIconComponent, AiIconComponentTagName } from "./ai-icon/ai-icon.mjs";
|
|
24
|
+
import { AiModalComponent } from "./ai-modal/ai-modal.mjs";
|
|
25
|
+
import { AiPromptComponent, AiPromptComponentTagName } from "./ai-prompt/ai-prompt.mjs";
|
|
26
|
+
import { AiReasoningComponent, AiReasoningComponentTagName } from "./ai-reasoning/ai-reasoning.mjs";
|
|
27
|
+
import { ReasoningContentComponent, ReasoningContentComponentTagName } from "./ai-reasoning/reasoning-content/reasoning-content.mjs";
|
|
28
|
+
import { AiReasoningHeaderComponent, AiReasoningHeaderComponentTagName } from "./ai-reasoning-header/ai-reasoning-header.mjs";
|
|
29
|
+
import { AiResponseMessageComponent, AiResponseMessageComponentTagName } from "./ai-response-message/ai-response-message.mjs";
|
|
30
|
+
import { AiSidebarComponent, AiSidebarComponentTagName } from "./ai-sidebar/ai-sidebar.mjs";
|
|
31
|
+
import { AiSidebarChatComponent, AiSidebarChatComponentTagName } from "./ai-sidebar-chat/ai-sidebar-chat.mjs";
|
|
32
|
+
import { AiThreadsComponent, AiThreadsComponentTagName } from "./ai-threads/ai-threads.mjs";
|
|
33
|
+
import { AiUserMessageComponent, AiUserMessageComponentTagName } from "./ai-user-message/ai-user-message.mjs";
|
|
34
|
+
import { AiVoiceInputComponent, AiVoiceInputComponentTagName } from "./ai-voice-input/ai-voice-input.mjs";
|
|
35
|
+
export {
|
|
36
|
+
AiActionsToolbarComponent,
|
|
37
|
+
AiActionsToolbarComponentTagName,
|
|
38
|
+
AiArtifactComponent,
|
|
39
|
+
AiArtifactComponentTagName,
|
|
40
|
+
AiButtonComponent,
|
|
41
|
+
AiButtonComponentTagName,
|
|
42
|
+
AiChainOfThoughtComponent,
|
|
43
|
+
AiChainOfThoughtComponentTagName,
|
|
44
|
+
AiChatHeaderComponent,
|
|
45
|
+
AiChatHeaderComponentTagName,
|
|
46
|
+
AiChatInterfaceComponent,
|
|
47
|
+
AiChatInterfaceComponentTagName,
|
|
48
|
+
AiDialogComponent,
|
|
49
|
+
AiDialogComponentTagName,
|
|
50
|
+
AiEmbeddedChatComponent,
|
|
51
|
+
AiEmbeddedChatComponentTagName,
|
|
52
|
+
AiEmptyStateComponent,
|
|
53
|
+
AiEmptyStateComponentTagName,
|
|
54
|
+
AiFabComponent,
|
|
55
|
+
AiFabComponentTagName,
|
|
56
|
+
AiFloatingChatComponent,
|
|
57
|
+
AiFloatingChatComponentTagName,
|
|
58
|
+
AiGradientContainerComponent,
|
|
59
|
+
AiGradientContainerComponentTagName,
|
|
60
|
+
AiIconComponent,
|
|
61
|
+
AiIconComponentTagName,
|
|
62
|
+
AiModalComponent,
|
|
63
|
+
AiPromptComponent,
|
|
64
|
+
AiPromptComponentTagName,
|
|
65
|
+
AiReasoningComponent,
|
|
66
|
+
AiReasoningComponentTagName,
|
|
67
|
+
AiReasoningHeaderComponent,
|
|
68
|
+
AiReasoningHeaderComponentTagName,
|
|
69
|
+
AiResponseMessageComponent,
|
|
70
|
+
AiResponseMessageComponentTagName,
|
|
71
|
+
AiSidebarChatComponent,
|
|
72
|
+
AiSidebarChatComponentTagName,
|
|
73
|
+
AiSidebarComponent,
|
|
74
|
+
AiSidebarComponentTagName,
|
|
75
|
+
AiSuggestionsComponent,
|
|
76
|
+
AiSuggestionsComponentTagName,
|
|
77
|
+
AiThreadsComponent,
|
|
78
|
+
AiThreadsComponentTagName,
|
|
79
|
+
AiUserMessageComponent,
|
|
80
|
+
AiUserMessageComponentTagName,
|
|
81
|
+
AiVoiceInputComponent,
|
|
82
|
+
AiVoiceInputComponentTagName,
|
|
83
|
+
ForgeAiDropdownMenuComponent,
|
|
84
|
+
ForgeAiDropdownMenuItemComponent,
|
|
85
|
+
ForgeAiDropdownMenuItemGroupComponent,
|
|
86
|
+
ForgeAiDropdownMenuSeparatorComponent,
|
|
87
|
+
ForgeAiFilePickerComponent,
|
|
88
|
+
ReasoningContentComponent,
|
|
89
|
+
ReasoningContentComponentTagName,
|
|
90
|
+
ThoughtBaseComponent,
|
|
91
|
+
ThoughtBaseComponentTagName,
|
|
92
|
+
ThoughtDetailComponent,
|
|
93
|
+
ThoughtDetailComponentTagName,
|
|
94
|
+
ThoughtImageComponent,
|
|
95
|
+
ThoughtImageComponentTagName,
|
|
96
|
+
ThoughtSearchResultComponent,
|
|
97
|
+
ThoughtSearchResultComponentTagName
|
|
98
|
+
};
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate a unique identifier with an optional prefix.
|
|
3
|
+
* @param prefix - Optional prefix for the ID.
|
|
4
|
+
* @returns A unique identifier string.
|
|
5
|
+
*/
|
|
6
|
+
export declare function generateUniqueId(prefix?: string): string;
|
|
7
|
+
/**
|
|
8
|
+
* Adds or removes a state from an element's custom state set.
|
|
9
|
+
*
|
|
10
|
+
* @param internals - The element's internals object.
|
|
11
|
+
* @param state - The name of the custom state to toggle.
|
|
12
|
+
* @param value - Whether to add or remove the state.
|
|
13
|
+
*/
|
|
14
|
+
export declare function toggleState(internals: ElementInternals, state: string, value: boolean): void;
|
package/dist/utils.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function generateUniqueId(prefix = "id") {
|
|
2
|
+
return `${prefix}-${Math.random().toString(36).substr(2, 9)}`;
|
|
3
|
+
}
|
|
4
|
+
function toggleState(internals, state, value) {
|
|
5
|
+
if (value) {
|
|
6
|
+
try {
|
|
7
|
+
internals.states.add(state);
|
|
8
|
+
} catch {
|
|
9
|
+
internals.states.add(`--${state}`);
|
|
10
|
+
}
|
|
11
|
+
} else {
|
|
12
|
+
try {
|
|
13
|
+
internals.states.delete(state);
|
|
14
|
+
} catch {
|
|
15
|
+
internals.states.delete(`--${state}`);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
generateUniqueId,
|
|
21
|
+
toggleState
|
|
22
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tylertech/forge-ai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A library of Tyler Forge™ AI chat interface web components.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": "Tyler Technologies, Inc.",
|
|
7
|
+
"main": "./dist/index.mjs",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"./*": {
|
|
16
|
+
"types": "./dist/*/index.d.ts",
|
|
17
|
+
"default": "./dist/*/index.mjs"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": {
|
|
20
|
+
"default": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"./custom-elements.json": {
|
|
23
|
+
"default": "./custom-elements.json"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"customElements": "custom-elements.json",
|
|
27
|
+
"keywords": [
|
|
28
|
+
"tyler-forge",
|
|
29
|
+
"web-components",
|
|
30
|
+
"custom-elements",
|
|
31
|
+
"lit-element"
|
|
32
|
+
],
|
|
33
|
+
"files": [
|
|
34
|
+
"./dist",
|
|
35
|
+
"./custom-elements.json"
|
|
36
|
+
],
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/tyler-technologies-oss/forge-ai.git"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@floating-ui/dom": "^1.7.4",
|
|
43
|
+
"@tylertech/tyler-icons": "2.0.4",
|
|
44
|
+
"lit": "3.3.1"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@tylertech/forge": "^3.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@custom-elements-manifest/analyzer": "0.10.10",
|
|
51
|
+
"@esm-bundle/chai": "4.3.4-fix.0",
|
|
52
|
+
"@open-wc/testing": "4.0.0",
|
|
53
|
+
"@repo/prettier-config": "",
|
|
54
|
+
"@storybook/addon-a11y": "9.1.12",
|
|
55
|
+
"@storybook/addon-docs": "9.1.12",
|
|
56
|
+
"@storybook/addon-links": "9.1.12",
|
|
57
|
+
"@storybook/addon-themes": "9.1.12",
|
|
58
|
+
"@storybook/web-components-vite": "9.1.12",
|
|
59
|
+
"@tylertech/forge": "3.11.0",
|
|
60
|
+
"@tylertech/stylelint-rules": "5.1.2",
|
|
61
|
+
"@types/cssbeautify": "^0.3.5",
|
|
62
|
+
"@types/mocha": "10.0.10",
|
|
63
|
+
"@types/node": "24.8.0",
|
|
64
|
+
"@types/react": "^18.3.26",
|
|
65
|
+
"@types/sinon": "17.0.4",
|
|
66
|
+
"@ungap/structured-clone": "^1.3.0",
|
|
67
|
+
"@vueless/storybook-dark-mode": "9.0.9",
|
|
68
|
+
"@wc-toolkit/jsdoc-tags": "^1.1.0",
|
|
69
|
+
"@web/dev-server-esbuild": "1.0.4",
|
|
70
|
+
"@web/dev-server-rollup": "0.6.4",
|
|
71
|
+
"@web/test-runner": "0.20.2",
|
|
72
|
+
"@web/test-runner-commands": "0.9.0",
|
|
73
|
+
"@web/test-runner-junit-reporter": "0.8.0",
|
|
74
|
+
"@web/test-runner-playwright": "0.11.1",
|
|
75
|
+
"cssbeautify": "^0.3.1",
|
|
76
|
+
"custom-element-svelte-integration": "^1.2.0",
|
|
77
|
+
"custom-element-vuejs-integration": "^1.4.0",
|
|
78
|
+
"eslint": "9.37.0",
|
|
79
|
+
"glob": "11.0.3",
|
|
80
|
+
"lit-analyzer": "2.0.3",
|
|
81
|
+
"plop": "4.0.4",
|
|
82
|
+
"postcss-lit": "1.3.1",
|
|
83
|
+
"react": "^18.3.1",
|
|
84
|
+
"react-dom": "^18.3.1",
|
|
85
|
+
"react-ga4": "^2.1.0",
|
|
86
|
+
"remark-gfm": "4.0.1",
|
|
87
|
+
"rimraf": "6.0.1",
|
|
88
|
+
"sass": "1.93.2",
|
|
89
|
+
"sinon": "21.0.0",
|
|
90
|
+
"storybook": "9.1.12",
|
|
91
|
+
"stylelint": "16.25.0",
|
|
92
|
+
"stylelint-config-standard": "39.0.1",
|
|
93
|
+
"typescript": "~5.9.3",
|
|
94
|
+
"vite": "7.1.10",
|
|
95
|
+
"vite-plugin-dts": "4.5.4",
|
|
96
|
+
"vite-tsconfig-paths": "5.1.4"
|
|
97
|
+
},
|
|
98
|
+
"scripts": {
|
|
99
|
+
"dev": "vite src/dev/ -c vite.config.mts",
|
|
100
|
+
"start": "pnpm run storybook",
|
|
101
|
+
"prebuild": "rimraf dist",
|
|
102
|
+
"build": "pnpm run lint && vite build && pnpm run cem",
|
|
103
|
+
"preview": "vite preview",
|
|
104
|
+
"prestorybook": "pnpm run cem",
|
|
105
|
+
"storybook": "storybook dev -p 6016",
|
|
106
|
+
"prebuild:storybook": "pnpm run cem",
|
|
107
|
+
"build:storybook": "storybook build",
|
|
108
|
+
"lint": "pnpm run lint:lit-analyzer && pnpm run lint:eslint && pnpm run lint:stylelint",
|
|
109
|
+
"lint:eslint": "eslint .",
|
|
110
|
+
"lint:stylelint": "stylelint src/**/*.scss",
|
|
111
|
+
"lint:lit-analyzer": "lit-analyzer",
|
|
112
|
+
"format": "prettier --write .",
|
|
113
|
+
"format:check": "prettier --check .",
|
|
114
|
+
"cem": "cem analyze --config custom-elements-manifest.config.mjs --litelement --globs \"src/lib/**/*.ts\"",
|
|
115
|
+
"cem:watch": "pnpm run analyze -- --watch",
|
|
116
|
+
"test": "wtr --coverage --watch --group lib",
|
|
117
|
+
"test:focus": "wtr --coverage --watch --group",
|
|
118
|
+
"test:ci": "wtr --group lib",
|
|
119
|
+
"ci:package": "tar -czvhf deployment-assets.tar.gz -C cdn-deployment/@tylertech/forge-ai .",
|
|
120
|
+
"plop": "plop"
|
|
121
|
+
}
|
|
122
|
+
}
|