@ah-oh/ao-workspaces-design-system 0.0.51 → 0.0.53
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/package.json
CHANGED
|
@@ -1552,25 +1552,27 @@ interface SearchResultsTypeOption {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
declare class SearchResultsPageComponent {
|
|
1554
1554
|
private readonly sanitizer;
|
|
1555
|
+
private readonly hostRef;
|
|
1555
1556
|
readonly query: _angular_core.InputSignal<string>;
|
|
1556
1557
|
readonly groups: _angular_core.InputSignal<SearchResultGroup[]>;
|
|
1557
1558
|
readonly availableTypes: _angular_core.InputSignal<SearchResultsTypeOption[]>;
|
|
1558
1559
|
readonly typeFilter: _angular_core.ModelSignal<SearchEntityType>;
|
|
1559
|
-
readonly dateFilter: _angular_core.ModelSignal<string>;
|
|
1560
1560
|
readonly resultClick: _angular_core.OutputEmitterRef<SearchResult>;
|
|
1561
|
-
readonly typeFilterClick: _angular_core.OutputEmitterRef<void>;
|
|
1562
|
-
readonly dateFilterClick: _angular_core.OutputEmitterRef<void>;
|
|
1563
1561
|
protected readonly caretDownIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\" fill=\"currentColor\"><path d=\"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z\"></path></svg>";
|
|
1564
|
-
protected readonly calendarIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\" fill=\"currentColor\"><path d=\"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z\"></path></svg>";
|
|
1565
1562
|
protected readonly sparkleIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 256\" fill=\"currentColor\"><path d=\"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z\"></path></svg>";
|
|
1563
|
+
protected readonly typeFilterOpen: _angular_core.WritableSignal<boolean>;
|
|
1564
|
+
protected readonly typeOptions: _angular_core.Signal<SearchResultsTypeOption[]>;
|
|
1565
|
+
protected readonly activeTypeLabel: _angular_core.Signal<string>;
|
|
1566
|
+
protected readonly filteredGroups: _angular_core.Signal<SearchResultGroup[]>;
|
|
1567
|
+
protected onDocumentClick(event: MouseEvent): void;
|
|
1566
1568
|
protected onResultClick(r: SearchResult): void;
|
|
1567
1569
|
protected onTypeFilterClick(): void;
|
|
1568
|
-
protected
|
|
1570
|
+
protected onTypeOptionClick(option: SearchResultsTypeOption): void;
|
|
1569
1571
|
protected highlight(text: string): SafeHtml;
|
|
1570
1572
|
private escapeHtml;
|
|
1571
1573
|
private escapeRegex;
|
|
1572
1574
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchResultsPageComponent, never>;
|
|
1573
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchResultsPageComponent, "ao-search-results-page", never, { "query": { "alias": "query"; "required": false; "isSignal": true; }; "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "availableTypes": { "alias": "availableTypes"; "required": false; "isSignal": true; }; "typeFilter": { "alias": "typeFilter"; "required": false; "isSignal": true; };
|
|
1575
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchResultsPageComponent, "ao-search-results-page", never, { "query": { "alias": "query"; "required": false; "isSignal": true; }; "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "availableTypes": { "alias": "availableTypes"; "required": false; "isSignal": true; }; "typeFilter": { "alias": "typeFilter"; "required": false; "isSignal": true; }; }, { "typeFilter": "typeFilterChange"; "resultClick": "resultClick"; }, never, never, true, never>;
|
|
1574
1576
|
}
|
|
1575
1577
|
|
|
1576
1578
|
declare const ROBIN_API_BASE_URL: InjectionToken<string>;
|
|
@@ -1854,6 +1856,7 @@ declare class WorkspaceNavbarComponent implements AfterViewInit {
|
|
|
1854
1856
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WorkspaceNavbarComponent, "ao-workspace-navbar", never, { "appId": { "alias": "appId"; "required": true; "isSignal": true; }; "production": { "alias": "production"; "required": false; "isSignal": true; }; "topNavItems": { "alias": "topNavItems"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "showNotifications": { "alias": "showNotifications"; "required": false; "isSignal": true; }; "notificationCount": { "alias": "notificationCount"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "recommendedFilters": { "alias": "recommendedFilters"; "required": false; "isSignal": true; }; "activeFilter": { "alias": "activeFilter"; "required": false; "isSignal": true; }; "resultGroups": { "alias": "resultGroups"; "required": false; "isSignal": true; }; "pageSuggestion": { "alias": "pageSuggestion"; "required": false; "isSignal": true; }; "aiSuggestions": { "alias": "aiSuggestions"; "required": false; "isSignal": true; }; "searchLoading": { "alias": "searchLoading"; "required": false; "isSignal": true; }; "searchError": { "alias": "searchError"; "required": false; "isSignal": true; }; }, { "activeFilter": "activeFilterChange"; "topNavItemClick": "topNavItemClick"; "topNavItemChange": "topNavItemChange"; "subTopNavItemClick": "subTopNavItemClick"; "subTopNavItemChange": "subTopNavItemChange"; "appSwitched": "appSwitched"; "searchSubmit": "searchSubmit"; "searchQueryChange": "searchQueryChange"; "searchViewAll": "searchViewAll"; "searchResultSelect": "searchResultSelect"; "searchAiSuggestionSelect": "searchAiSuggestionSelect"; "searchPageSuggestionSelect": "searchPageSuggestionSelect"; "searchFilterSelect": "searchFilterSelect"; "searchFilterClear": "searchFilterClear"; "notificationClick": "notificationClick"; }, never, ["*"], true, never>;
|
|
1855
1857
|
}
|
|
1856
1858
|
|
|
1859
|
+
type ChatHandbookType = 'szales' | 'sethub' | 'admin';
|
|
1857
1860
|
type ChatProduct = 'szales' | 'sethub' | 'admin';
|
|
1858
1861
|
interface A2uiSurfaceEnvelope {
|
|
1859
1862
|
surfaceId: string;
|
|
@@ -1879,6 +1882,13 @@ interface ChatResponse {
|
|
|
1879
1882
|
threadId: string;
|
|
1880
1883
|
parts: ChatPart[];
|
|
1881
1884
|
}
|
|
1885
|
+
interface ChatMessageRequest {
|
|
1886
|
+
question: string;
|
|
1887
|
+
threadId?: string;
|
|
1888
|
+
product: ChatProduct;
|
|
1889
|
+
handbookType?: ChatHandbookType;
|
|
1890
|
+
type?: SearchEntityType | null;
|
|
1891
|
+
}
|
|
1882
1892
|
interface ChatActionRequest {
|
|
1883
1893
|
threadId: string;
|
|
1884
1894
|
surfaceId: string;
|
|
@@ -1899,11 +1909,7 @@ interface ChatThreadOverview {
|
|
|
1899
1909
|
declare class RobinChatService {
|
|
1900
1910
|
private readonly http;
|
|
1901
1911
|
private readonly baseUrl;
|
|
1902
|
-
sendMessage(req:
|
|
1903
|
-
question: string;
|
|
1904
|
-
threadId?: string;
|
|
1905
|
-
product: ChatProduct;
|
|
1906
|
-
}): Promise<ChatResponse>;
|
|
1912
|
+
sendMessage(req: ChatMessageRequest): Promise<ChatResponse>;
|
|
1907
1913
|
sendAction(req: ChatActionRequest): Promise<ChatResponse>;
|
|
1908
1914
|
listThreads(product: ChatProduct): Promise<ChatThreadOverview[]>;
|
|
1909
1915
|
loadHistory(threadId: string): Promise<ChatTurn[]>;
|
|
@@ -1968,4 +1974,4 @@ declare class AoCatalog extends BasicCatalogBase {
|
|
|
1968
1974
|
declare function provideRobinA2ui(): EnvironmentProviders;
|
|
1969
1975
|
|
|
1970
1976
|
export { AO_CATALOG_ID, AiSearchComponent, AoCatalog, AuthService, ButtonComponent, CheckboxComponent, ChipsInputComponent, DEFAULT_TOOLBAR, DIALOG_DATA, DateInputComponent, DesignSystem, DialogComponent, DialogRef, DialogService, EditableTextComponent, IconButtonComponent, IconComponent, InputComponent, LogoMenuComponent, MarkdownEditorComponent, MenuComponent, MenuItemComponent, MultiselectComponent, NavToolsComponent, NotificationButtonComponent, ROBIN_API_BASE_URL, ROBIN_SEARCH_APP_NAME, RobinChatActionDispatcher, RobinChatService, RobinSearchService, SearchResultsPageComponent, SelectComponent, SideNavComponent, SlideToggleComponent, SubNavActionsService, SubTopNavComponent, TabPanelComponent, TableCellDefDirective, TableCheckboxComponent, TableComponent, TableDatePickerComponent, TableFilterComponent, TableInputComponent, TablePaginationComponent, TableRowActionsComponent, TableSelectComponent, TabsComponent, TooltipDirective, TopNavComponent, WorkspaceNavbarComponent, WorkspaceNavbarService, authInterceptor, provideAuth, provideRobinA2ui, withAuthInterceptor };
|
|
1971
|
-
export type { A2uiSurfaceEnvelope, ButtonVariant, ChatActionRequest, ChatPart, ChatProduct, ChatResponse, ChatThreadOverview, ChatTurn, CheckboxState, CompanyMenuItem, DialogConfig, DialogInternalConfig, DialogSize, EditableTextSize, IconButtonSize, IconSize, LogoMenuItem, MarkdownEditorConfig, MarkdownEditorToolbarAction, NavItem, NavItemChangeEvent, PageSuggestion, RecommendedFilter, SearchEntityType, SearchPayload, SearchResult, SearchResultGroup, SearchResultsTypeOption, SearchSubmitEvent, SelectOption, SortDirection, SubNavActionEvent, SubNavActionsConfig, SubNavActionsHandle, SubNavActionsLabels, TabChangeEvent, TableCellDefContext, TableColumn, TableColumnFilter, TableFilterState, TableFilterType, TablePageChangeEvent, TablePageState, TableRowAction, TableRowActionEvent, TableSelectionMode, TableSortState, UserSession, WorkspaceNavbarConfig };
|
|
1977
|
+
export type { A2uiSurfaceEnvelope, ButtonVariant, ChatActionRequest, ChatHandbookType, ChatMessageRequest, ChatPart, ChatProduct, ChatResponse, ChatThreadOverview, ChatTurn, CheckboxState, CompanyMenuItem, DialogConfig, DialogInternalConfig, DialogSize, EditableTextSize, IconButtonSize, IconSize, LogoMenuItem, MarkdownEditorConfig, MarkdownEditorToolbarAction, NavItem, NavItemChangeEvent, PageSuggestion, RecommendedFilter, SearchEntityType, SearchPayload, SearchResult, SearchResultGroup, SearchResultsTypeOption, SearchSubmitEvent, SelectOption, SortDirection, SubNavActionEvent, SubNavActionsConfig, SubNavActionsHandle, SubNavActionsLabels, TabChangeEvent, TableCellDefContext, TableColumn, TableColumnFilter, TableFilterState, TableFilterType, TablePageChangeEvent, TablePageState, TableRowAction, TableRowActionEvent, TableSelectionMode, TableSortState, UserSession, WorkspaceNavbarConfig };
|