@ascentgl/ads-ui 0.0.93 → 0.0.95

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.
Files changed (22) hide show
  1. package/fesm2022/ascentgl-ads-ui.mjs +169 -201
  2. package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
  3. package/index.d.ts +2 -1
  4. package/lib/components/legacy-search/legacy-search.component.d.ts +88 -0
  5. package/lib/components/legacy-search/legacy-search.module.d.ts +14 -0
  6. package/lib/components/legacy-search/public-api.d.ts +2 -0
  7. package/lib/components/legacy-search/search-results-footer/index.d.ts +1 -0
  8. package/lib/components/legacy-search/search-results-footer/legacy-search-results-footer.component.d.ts +9 -0
  9. package/lib/components/legacy-search/search-results-footer/legacy-search-results-footer.module.d.ts +8 -0
  10. package/lib/components/legacy-search/search-results-footer/public-api.d.ts +2 -0
  11. package/package.json +7 -7
  12. package/lib/components/nav-bar/main-menu/main-menu-bottom-sheet/main-menu-bottom-sheet.component.d.ts +0 -15
  13. package/lib/components/nav-bar/main-menu/main-menu-items/main-menu-items.component.d.ts +0 -11
  14. package/lib/components/nav-bar/main-menu/main-menu-items/main-menu-items.module.d.ts +0 -10
  15. package/lib/components/nav-bar/main-menu/main-menu.component.d.ts +0 -57
  16. package/lib/components/nav-bar/main-menu/main-menu.module.d.ts +0 -15
  17. package/lib/components/nav-bar/main-menu/main-menu.service.d.ts +0 -9
  18. package/lib/components/nav-bar/main-menu/main-menu.types.d.ts +0 -7
  19. package/lib/components/nav-bar/main-menu/profile-display/profile-display.component.d.ts +0 -15
  20. package/lib/components/nav-bar/main-menu/profile-display/profile-display.module.d.ts +0 -10
  21. package/lib/components/nav-bar/main-menu/public-api.d.ts +0 -4
  22. /package/lib/components/{nav-bar/main-menu → legacy-search}/index.d.ts +0 -0
package/index.d.ts CHANGED
@@ -65,4 +65,5 @@ export * from './lib/components/shell-layout/navigation/components/navigation-co
65
65
  export * from './lib/components/shell-layout/navigation/components/navigation-items-container';
66
66
  export * from './lib/components/shell-layout/navigation/components/navigation-item';
67
67
  export * from './lib/components/header/org-display-text';
68
- export * from './lib/components/nav-bar/main-menu';
68
+ export * from './lib/components/legacy-search/';
69
+ export * from './lib/components/legacy-search/search-results-footer';
@@ -0,0 +1,88 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { MatAutocomplete, MatAutocompleteOrigin } from '@angular/material/autocomplete';
3
+ import { AdsIconRegistry } from '@ascentgl/ads-icons';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AdsLegacySearchComponent implements OnDestroy, OnInit {
6
+ private registry;
7
+ constructor(registry: AdsIconRegistry);
8
+ /**
9
+ * Reference to the MatAutocomplete
10
+ */
11
+ matAutocomplete: MatAutocomplete;
12
+ /**
13
+ * Reference to the MatAutocompleteOrigin
14
+ */
15
+ matAutocompleteOrigin: MatAutocompleteOrigin;
16
+ /**
17
+ * The number of milliseconds to wait before responding to user input
18
+ */
19
+ debounceTime: number;
20
+ /**
21
+ * The unique ID for the search input
22
+ */
23
+ id: string;
24
+ /**
25
+ * Whether search results are loading
26
+ */
27
+ isLoading: boolean;
28
+ /**
29
+ * Whether the viewport is mobile
30
+ */
31
+ isMobile: boolean;
32
+ /**
33
+ * Placeholder text for the search input
34
+ */
35
+ placeholder: string;
36
+ /**
37
+ * Allow advanced search capabilities
38
+ */
39
+ hasAdvancedSearch: boolean;
40
+ /**
41
+ * Disable user input
42
+ */
43
+ disableInput: boolean;
44
+ /**
45
+ * Event emitted when the advanced filters icon is clicked
46
+ */
47
+ advancedSearchClicked: EventEmitter<null>;
48
+ /**
49
+ * Event emitted when the enter key is pressed
50
+ */
51
+ enter: EventEmitter<string>;
52
+ /**
53
+ * Event emitted when the user is typing
54
+ */
55
+ search: EventEmitter<string>;
56
+ /**
57
+ * Event emitted when the search icon is clicked
58
+ */
59
+ searchClicked: EventEmitter<string>;
60
+ /**
61
+ * Event emitted when the clear icon is clicked
62
+ */
63
+ searchClosed: EventEmitter<null>;
64
+ /** @ignore */
65
+ searchFocused: boolean;
66
+ /** @ignore */
67
+ searchValue: string;
68
+ /** @ignore */
69
+ private debouncer;
70
+ /** @ignore */
71
+ private ngUnsubscribe;
72
+ /** @ignore */
73
+ ngOnInit(): void;
74
+ /** @ignore */
75
+ ngOnDestroy(): void;
76
+ /** @ignore */
77
+ onEnter(event: Event): void;
78
+ /** @ignore */
79
+ onSearch(event: Event): void;
80
+ /** @ignore */
81
+ onSearchClicked(event: MouseEvent): void;
82
+ /** @ignore */
83
+ onSearchClose(): void;
84
+ /** @ignore */
85
+ setFocusState(): void;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdsLegacySearchComponent, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsLegacySearchComponent, "ads-legacy-search", never, { "matAutocomplete": { "alias": "matAutocomplete"; "required": false; }; "matAutocompleteOrigin": { "alias": "matAutocompleteOrigin"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hasAdvancedSearch": { "alias": "hasAdvancedSearch"; "required": false; }; "disableInput": { "alias": "disableInput"; "required": false; }; }, { "advancedSearchClicked": "advancedSearchClicked"; "enter": "enter"; "search": "search"; "searchClicked": "searchClicked"; "searchClosed": "searchClosed"; }, never, never, false, never>;
88
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./legacy-search.component";
3
+ import * as i2 from "@angular/cdk/a11y";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/autocomplete";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/input";
8
+ import * as i7 from "@angular/material/progress-spinner";
9
+ import * as i8 from "@ascentgl/ads-icons";
10
+ export declare class AdsLegacySearchModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdsLegacySearchModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsLegacySearchModule, [typeof i1.AdsLegacySearchComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.MatAutocompleteModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatProgressSpinnerModule, typeof i8.AdsIconModule], [typeof i1.AdsLegacySearchComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdsLegacySearchModule>;
14
+ }
@@ -0,0 +1,2 @@
1
+ export * from './legacy-search.component';
2
+ export * from './legacy-search.module';
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AdsLegacySearchResultsFooterComponent {
3
+ /**
4
+ * Whether the viewport is mobile
5
+ */
6
+ isMobile: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdsLegacySearchResultsFooterComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsLegacySearchResultsFooterComponent, "ads-legacy-search-results-footer", never, { "isMobile": { "alias": "isMobile"; "required": false; }; }, {}, never, ["*"], false, never>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./legacy-search-results-footer.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class AdsLegacySearchResultsFooterModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdsLegacySearchResultsFooterModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsLegacySearchResultsFooterModule, [typeof i1.AdsLegacySearchResultsFooterComponent], [typeof i2.CommonModule], [typeof i1.AdsLegacySearchResultsFooterComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdsLegacySearchResultsFooterModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './legacy-search-results-footer.component';
2
+ export * from './legacy-search-results-footer.module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascentgl/ads-ui",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "peerDependencies": {
5
5
  "@ascentgl/ads-icons": ">=0.0.0",
6
6
  "@ascentgl/ads-utils": ">=0.0.0",
@@ -72,17 +72,17 @@
72
72
  "types": "./src/lib/components/logo/primary-logo/index.d.ts",
73
73
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
74
74
  },
75
- "./src/lib/components/progress-indicators/progress-indicator-spinner": {
76
- "types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
77
- "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
75
+ "./src/lib/components/progress-indicators/progress-bar": {
76
+ "types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
77
+ "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
78
78
  },
79
79
  "./src/lib/components/progress-indicators/progress-spinner": {
80
80
  "types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
81
81
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
82
82
  },
83
- "./src/lib/components/progress-indicators/progress-bar": {
84
- "types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
85
- "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
83
+ "./src/lib/components/progress-indicators/progress-indicator-spinner": {
84
+ "types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
85
+ "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
86
86
  },
87
87
  "./src/lib/components/tags/tag-container": {
88
88
  "types": "./src/lib/components/tags/tag-container/index.d.ts",
@@ -1,15 +0,0 @@
1
- import { MainMenuItem } from '../main-menu.types';
2
- import * as i0 from "@angular/core";
3
- export interface MainMenuData {
4
- menuItems: MainMenuItem[];
5
- userImageSrc: string;
6
- userDisplayName: string;
7
- userProfilePath: string;
8
- userBasePath: string;
9
- }
10
- export declare class AdsMainMenuBottomSheetComponent {
11
- data: MainMenuData;
12
- constructor(data: MainMenuData);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuBottomSheetComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsMainMenuBottomSheetComponent, "ads-main-menu-bottom-sheet", never, {}, {}, never, never, true, never>;
15
- }
@@ -1,11 +0,0 @@
1
- import { MainMenuService } from '../main-menu.service';
2
- import { MainMenuItem } from '../main-menu.types';
3
- import * as i0 from "@angular/core";
4
- export declare class AdsMainMenuItemsComponent {
5
- private mainMenuService;
6
- constructor(mainMenuService: MainMenuService);
7
- items: MainMenuItem[] | null;
8
- onMenuItemClick(item: MainMenuItem): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuItemsComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsMainMenuItemsComponent, "ads-main-menu-items", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
11
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./main-menu-items.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/router";
5
- import * as i4 from "@angular/material/menu";
6
- export declare class AdsMainMenuItemsModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuItemsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuItemsModule, [typeof i1.AdsMainMenuItemsComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatMenuModule], [typeof i1.AdsMainMenuItemsComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<AdsMainMenuItemsModule>;
10
- }
@@ -1,57 +0,0 @@
1
- import { OnChanges, OnInit, SimpleChange } from '@angular/core';
2
- import { MatBottomSheet } from '@angular/material/bottom-sheet';
3
- import { Router } from '@angular/router';
4
- import { AdsIconRegistry } from '@ascentgl/ads-icons';
5
- import { MainMenuItem } from './main-menu.types';
6
- import { MatMenu } from '@angular/material/menu';
7
- import * as i0 from "@angular/core";
8
- export declare class AdsMainMenuComponent implements OnChanges, OnInit {
9
- private bottomSheet;
10
- private registry;
11
- private router;
12
- constructor(bottomSheet: MatBottomSheet, registry: AdsIconRegistry, router: Router);
13
- /** @ignore */
14
- menu?: MatMenu;
15
- /**
16
- * Array of menu items to display in the main menu
17
- */
18
- menuItems: MainMenuItem[] | null;
19
- /** Id attribute for the main menu trigger element */
20
- id: string;
21
- /**
22
- * Whether the navigation is collapsed
23
- */
24
- isCollapsed: boolean;
25
- /**
26
- * Whether the viewport is mobile
27
- */
28
- isMobile: boolean;
29
- /**
30
- * The path to the users display image
31
- */
32
- userImageSrc?: string;
33
- /**
34
- * The users display name
35
- */
36
- userDisplayName: string;
37
- /**
38
- * The path to the user profile page
39
- */
40
- userProfilePath: string;
41
- /**
42
- * The base user profile path
43
- */
44
- userBasePath: string;
45
- /** @ignore */
46
- private bottomSheetRef?;
47
- /** @ignore */
48
- ngOnInit(): void;
49
- /** @ignore */
50
- ngOnChanges(changes: {
51
- isMobile: SimpleChange;
52
- }): void;
53
- /** @ignore */
54
- openBottomSheet(): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsMainMenuComponent, "ads-main-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "userImageSrc": { "alias": "userImageSrc"; "required": false; }; "userDisplayName": { "alias": "userDisplayName"; "required": true; }; "userProfilePath": { "alias": "userProfilePath"; "required": true; }; "userBasePath": { "alias": "userBasePath"; "required": true; }; }, {}, never, never, false, never>;
57
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./main-menu.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/bottom-sheet";
5
- import * as i4 from "@angular/material/list";
6
- import * as i5 from "@angular/material/menu";
7
- import * as i6 from "@ascentgl/ads-icons";
8
- import * as i7 from "./main-menu-items/main-menu-items.module";
9
- import * as i8 from "./profile-display/profile-display.module";
10
- import * as i9 from "@angular/router";
11
- export declare class AdsMainMenuModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuModule, [typeof i1.AdsMainMenuComponent], [typeof i2.CommonModule, typeof i3.MatBottomSheetModule, typeof i4.MatListModule, typeof i5.MatMenuModule, typeof i6.AdsIconModule, typeof i7.AdsMainMenuItemsModule, typeof i8.AdsProfileDisplayModule, typeof i9.RouterModule], [typeof i1.AdsMainMenuComponent]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<AdsMainMenuModule>;
15
- }
@@ -1,9 +0,0 @@
1
- import { Subject } from 'rxjs';
2
- import { MainMenuItem } from './main-menu.types';
3
- import * as i0 from "@angular/core";
4
- export declare class MainMenuService {
5
- menuItemClicked: Subject<MainMenuItem>;
6
- onMenuItemClicked(item: MainMenuItem): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<MainMenuService>;
9
- }
@@ -1,7 +0,0 @@
1
- export type MainMenuItem = {
2
- text: string;
3
- icon?: string;
4
- href?: string;
5
- class?: string;
6
- id?: string;
7
- };
@@ -1,15 +0,0 @@
1
- import { AdsIconRegistry } from '@ascentgl/ads-icons';
2
- import { Router } from '@angular/router';
3
- import * as i0 from "@angular/core";
4
- export declare class AdsProfileDisplayComponent {
5
- router: Router;
6
- private registry;
7
- constructor(router: Router, registry: AdsIconRegistry);
8
- userDisplayName: string;
9
- userImageSrc?: string;
10
- userProfilePath: string;
11
- userBasePath: string;
12
- isSelected(): boolean;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AdsProfileDisplayComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsProfileDisplayComponent, "ads-profile-display", never, { "userDisplayName": { "alias": "userDisplayName"; "required": true; }; "userImageSrc": { "alias": "userImageSrc"; "required": true; }; "userProfilePath": { "alias": "userProfilePath"; "required": true; }; "userBasePath": { "alias": "userBasePath"; "required": true; }; }, {}, never, never, false, never>;
15
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./profile-display.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/router";
5
- import * as i4 from "@ascentgl/ads-icons";
6
- export declare class AdsProfileDisplayModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AdsProfileDisplayModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsProfileDisplayModule, [typeof i1.AdsProfileDisplayComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.AdsIconModule], [typeof i1.AdsProfileDisplayComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<AdsProfileDisplayModule>;
10
- }
@@ -1,4 +0,0 @@
1
- export * from './main-menu.component';
2
- export * from './main-menu.module';
3
- export * from './main-menu.service';
4
- export * from './main-menu.types';