@ascentgl/ads-ui 20.28.0 → 20.29.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/index.d.ts CHANGED
@@ -44,9 +44,9 @@ import * as i7 from '@angular/material/expansion';
44
44
  import { MatExpansionPanel, MatAccordion } from '@angular/material/expansion';
45
45
  import * as ag_grid_community from 'ag-grid-community';
46
46
  import { GridOptions, ColDef, GridApi, SortChangedEvent, FilterChangedEvent, GridReadyEvent, FirstDataRenderedEvent } from 'ag-grid-community';
47
- import * as i4$6 from 'ag-grid-angular';
48
- import * as i4$7 from '@angular/material/menu';
49
- import { MatMenu } from '@angular/material/menu';
47
+ import * as i4$6 from '@angular/material/menu';
48
+ import { MatMenuTrigger, MatMenuPanel, MatMenu } from '@angular/material/menu';
49
+ import * as i4$7 from 'ag-grid-angular';
50
50
  import * as i4$8 from 'angular-split';
51
51
  import { SplitComponent, SplitGutterInteractionEvent } from 'angular-split';
52
52
  import * as i12 from '@angular/material/toolbar';
@@ -224,7 +224,7 @@ declare class AdsButtonModule {
224
224
 
225
225
  declare class AdsButtonContainerComponent {
226
226
  /** How buttons in the container should be placed */
227
- justify: i0.InputSignal<"flex-start" | "flex-end" | "center">;
227
+ justify: i0.InputSignal<"center" | "flex-start" | "flex-end">;
228
228
  /** The gap between elements */
229
229
  gap: i0.InputSignal<number>;
230
230
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
@@ -2315,7 +2315,7 @@ declare class AdsExpansionPanelComponent implements AfterContentInit {
2315
2315
  /** Component width. Must include units of measure: px, %, em, rem, etc. */
2316
2316
  width: i0.InputSignal<string>;
2317
2317
  /** The Chevron Icon size () */
2318
- chevronSize: i0.InputSignal<"base" | "xs">;
2318
+ chevronSize: i0.InputSignal<"xs" | "base">;
2319
2319
  /** Header padding size size () */
2320
2320
  headerPadding: i0.InputSignal<string>;
2321
2321
  /** Content padding size size () */
@@ -2359,6 +2359,8 @@ declare class AdsTableComponent implements AfterViewInit, OnDestroy {
2359
2359
  width: string;
2360
2360
  /** The grid's height */
2361
2361
  height: string;
2362
+ /** Custom header template for the table header actions */
2363
+ headerTemplate?: TemplateRef<any>;
2362
2364
  /** The grid options for ag-Grid */
2363
2365
  gridOptions?: GridOptions;
2364
2366
  /** The data to be displayed in the grid */
@@ -2375,20 +2377,15 @@ declare class AdsTableComponent implements AfterViewInit, OnDestroy {
2375
2377
  columnDefsByBreakpoint: Record<TableBreakpoint, ColDef[]>;
2376
2378
  /** Show/hide the header with column visibility button */
2377
2379
  showHeaderActions: boolean;
2380
+ /** Event emitted when all filters are cleared */
2381
+ filtersCleared: EventEmitter<void>;
2378
2382
  /** @ignore */
2379
- hideColumnButton: ElementRef;
2383
+ menuTrigger: MatMenuTrigger;
2380
2384
  /** @ignore */
2381
2385
  tableColumnDefs: i0.WritableSignal<ColDef<any, any>[]>;
2382
2386
  /** @ignore */
2383
2387
  columnVisibilityList: i0.WritableSignal<ColumnVisibilityControl[]>;
2384
2388
  /** @ignore */
2385
- isDropdownOpen: boolean;
2386
- /** @ignore */
2387
- dropdownPosition: {
2388
- top: string;
2389
- left: string;
2390
- };
2391
- /** @ignore */
2392
2389
  private destroy$;
2393
2390
  /** @ignore */
2394
2391
  private cachedDefaultColDef;
@@ -2419,13 +2416,7 @@ declare class AdsTableComponent implements AfterViewInit, OnDestroy {
2419
2416
  /** @ignore */
2420
2417
  private getActiveColumnDefs;
2421
2418
  /** @ignore */
2422
- openColumnVisibilityDropdown(): void;
2423
- /** @ignore */
2424
- private onDocumentClick;
2425
- /** @ignore */
2426
- closeDropdown(): void;
2427
- /** @ignore */
2428
- onDropdownClick(event: Event): void;
2419
+ openColumnVisibilityMenu(): void;
2429
2420
  /** @ignore */
2430
2421
  hideAllColumns(): void;
2431
2422
  /** @ignore */
@@ -2486,7 +2477,7 @@ declare class AdsTableComponent implements AfterViewInit, OnDestroy {
2486
2477
  ngOnDestroy(): void;
2487
2478
  protected readonly themeQuartz: ag_grid_community.Theme<ag_grid_community.ThemeDefaultParams>;
2488
2479
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsTableComponent, never>;
2489
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsTableComponent, "ads-table", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "gridOptions": { "alias": "gridOptions"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; "columnDefs": { "alias": "columnDefs"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "defaultColDef": { "alias": "defaultColDef"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "columnDefsByBreakpoint": { "alias": "columnDefsByBreakpoint"; "required": false; }; "showHeaderActions": { "alias": "showHeaderActions"; "required": false; }; }, {}, never, never, false, never>;
2480
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsTableComponent, "ads-table", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "gridOptions": { "alias": "gridOptions"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; "columnDefs": { "alias": "columnDefs"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "defaultColDef": { "alias": "defaultColDef"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "columnDefsByBreakpoint": { "alias": "columnDefsByBreakpoint"; "required": false; }; "showHeaderActions": { "alias": "showHeaderActions"; "required": false; }; }, { "filtersCleared": "filtersCleared"; }, never, never, false, never>;
2490
2481
  }
2491
2482
 
2492
2483
  declare class AdsTableButtonComponent {
@@ -2496,19 +2487,23 @@ declare class AdsTableButtonComponent {
2496
2487
  disabled: i0.InputSignal<boolean>;
2497
2488
  /** Makes the button take 100% width of its container */
2498
2489
  fullWidth: i0.InputSignal<boolean>;
2490
+ /** The menu to trigger when button is clicked */
2491
+ matMenuTriggerFor: i0.InputSignal<MatMenuPanel<any> | null>;
2492
+ /** Event emitted when the menu is opened */
2493
+ menuOpened: i0.OutputEmitterRef<void>;
2499
2494
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsTableButtonComponent, never>;
2500
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsTableButtonComponent, "ads-table-button", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
2495
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsTableButtonComponent, "ads-table-button", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "matMenuTriggerFor": { "alias": "matMenuTriggerFor"; "required": false; "isSignal": true; }; }, { "menuOpened": "menuOpened"; }, never, ["*"], false, never>;
2501
2496
  }
2502
2497
 
2503
2498
  declare class AdsTableButtonModule {
2504
2499
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsTableButtonModule, never>;
2505
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTableButtonModule, [typeof AdsTableButtonComponent], [typeof i2.CommonModule, typeof i3$1.MatButtonModule], [typeof AdsTableButtonComponent]>;
2500
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTableButtonModule, [typeof AdsTableButtonComponent], [typeof i2.CommonModule, typeof i3$1.MatButtonModule, typeof i4$6.MatMenuModule], [typeof AdsTableButtonComponent]>;
2506
2501
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsTableButtonModule>;
2507
2502
  }
2508
2503
 
2509
2504
  declare class AdsTableModule {
2510
2505
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsTableModule, never>;
2511
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTableModule, [typeof AdsTableComponent], [typeof i2.CommonModule, typeof i4.AdsIconModule, typeof i4$6.AgGridAngular, typeof i2$1.MatDialogModule, typeof AdsSlideToggle, typeof AdsButtonModule, typeof AdsTableButtonModule, typeof AdsDividerModule, typeof i16.MatTooltip], [typeof AdsTableComponent]>;
2506
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTableModule, [typeof AdsTableComponent], [typeof i2.CommonModule, typeof i4.AdsIconModule, typeof i4$7.AgGridAngular, typeof i2$1.MatDialogModule, typeof AdsSlideToggle, typeof AdsButtonModule, typeof AdsTableButtonModule, typeof AdsDividerModule, typeof i16.MatTooltip, typeof i4$6.MatMenuModule], [typeof AdsTableComponent]>;
2512
2507
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsTableModule>;
2513
2508
  }
2514
2509
 
@@ -2544,7 +2539,7 @@ declare class AdsNavMenuComponent {
2544
2539
 
2545
2540
  declare class AdsNavMenuModule {
2546
2541
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsNavMenuModule, never>;
2547
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsNavMenuModule, [typeof AdsNavMenuComponent], [typeof i2.CommonModule, typeof i4.AdsIconModule, typeof i2.NgOptimizedImage, typeof i4$7.MatMenu, typeof i4$7.MatMenuTrigger, typeof i3$2.RouterLinkActive, typeof i4$7.MatMenuItem, typeof i3$2.RouterLink], [typeof AdsNavMenuComponent]>;
2542
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsNavMenuModule, [typeof AdsNavMenuComponent], [typeof i2.CommonModule, typeof i4.AdsIconModule, typeof i2.NgOptimizedImage, typeof i4$6.MatMenu, typeof i4$6.MatMenuTrigger, typeof i3$2.RouterLinkActive, typeof i4$6.MatMenuItem, typeof i3$2.RouterLink], [typeof AdsNavMenuComponent]>;
2548
2543
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsNavMenuModule>;
2549
2544
  }
2550
2545
 
@@ -2693,7 +2688,7 @@ declare class AdsScmsSideNavBarComponent extends AbstractSideNavBarComponent {
2693
2688
 
2694
2689
  declare class AdsScmsSideNavBarModule {
2695
2690
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsScmsSideNavBarModule, never>;
2696
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsScmsSideNavBarModule, [typeof AdsScmsSideNavBarComponent], [typeof i2.CommonModule, typeof i4$8.SplitComponent, typeof i4$8.SplitAreaComponent, typeof i3$2.RouterLink, typeof i3$2.RouterLinkActive, typeof i4.AdsIconModule, typeof AdsDividerModule, typeof i7.MatAccordion, typeof i7.MatExpansionPanel, typeof i7.MatExpansionPanelDescription, typeof i7.MatExpansionPanelHeader, typeof i7.MatExpansionPanelTitle, typeof AdsAscentLogoModule, typeof i16.MatTooltip, typeof AdsBreadcrumbModule, typeof i4$7.MatMenu, typeof i12.MatToolbar, typeof i4$7.MatMenuTrigger, typeof i3$1.MatIconButton, typeof i3$2.RouterOutlet], [typeof AdsScmsSideNavBarComponent]>;
2691
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsScmsSideNavBarModule, [typeof AdsScmsSideNavBarComponent], [typeof i2.CommonModule, typeof i4$8.SplitComponent, typeof i4$8.SplitAreaComponent, typeof i3$2.RouterLink, typeof i3$2.RouterLinkActive, typeof i4.AdsIconModule, typeof AdsDividerModule, typeof i7.MatAccordion, typeof i7.MatExpansionPanel, typeof i7.MatExpansionPanelDescription, typeof i7.MatExpansionPanelHeader, typeof i7.MatExpansionPanelTitle, typeof AdsAscentLogoModule, typeof i16.MatTooltip, typeof AdsBreadcrumbModule, typeof i4$6.MatMenu, typeof i12.MatToolbar, typeof i4$6.MatMenuTrigger, typeof i3$1.MatIconButton, typeof i3$2.RouterOutlet], [typeof AdsScmsSideNavBarComponent]>;
2697
2692
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsScmsSideNavBarModule>;
2698
2693
  }
2699
2694
 
@@ -2775,7 +2770,7 @@ declare class AdsMainMenuItemsComponent {
2775
2770
 
2776
2771
  declare class AdsMainMenuItemsModule {
2777
2772
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuItemsModule, never>;
2778
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuItemsModule, [typeof AdsMainMenuItemsComponent], [typeof i2.CommonModule, typeof i3$2.RouterModule, typeof i4$7.MatMenuModule, typeof AdsButtonModule, typeof AdsButtonModule, typeof AdsLinkButtonModule], [typeof AdsMainMenuItemsComponent]>;
2773
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuItemsModule, [typeof AdsMainMenuItemsComponent], [typeof i2.CommonModule, typeof i3$2.RouterModule, typeof i4$6.MatMenuModule, typeof AdsButtonModule, typeof AdsButtonModule, typeof AdsLinkButtonModule], [typeof AdsMainMenuItemsComponent]>;
2779
2774
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsMainMenuItemsModule>;
2780
2775
  }
2781
2776
 
@@ -2800,7 +2795,7 @@ declare class AdsProfileDisplayModule {
2800
2795
 
2801
2796
  declare class AdsMainMenuModule {
2802
2797
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuModule, never>;
2803
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuModule, [typeof AdsMainMenuComponent], [typeof i2.CommonModule, typeof i3$8.MatBottomSheetModule, typeof i4$9.MatListModule, typeof i4$7.MatMenuModule, typeof i4.AdsIconModule, typeof AdsMainMenuItemsModule, typeof AdsProfileDisplayModule, typeof i3$2.RouterModule], [typeof AdsMainMenuComponent]>;
2798
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuModule, [typeof AdsMainMenuComponent], [typeof i2.CommonModule, typeof i3$8.MatBottomSheetModule, typeof i4$9.MatListModule, typeof i4$6.MatMenuModule, typeof i4.AdsIconModule, typeof AdsMainMenuItemsModule, typeof AdsProfileDisplayModule, typeof i3$2.RouterModule], [typeof AdsMainMenuComponent]>;
2804
2799
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsMainMenuModule>;
2805
2800
  }
2806
2801
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascentgl/ads-ui",
3
- "version": "20.28.0",
3
+ "version": "20.29.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=20.3.0",
6
6
  "date-fns": ">=4.1.0",
@@ -79,14 +79,14 @@
79
79
  "types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
80
80
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
81
81
  },
82
- "./src/lib/components/progress-indicators/progress-indicator-spinner": {
83
- "types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
84
- "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
85
- },
86
82
  "./src/lib/components/progress-indicators/progress-spinner": {
87
83
  "types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
88
84
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
89
85
  },
86
+ "./src/lib/components/progress-indicators/progress-indicator-spinner": {
87
+ "types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
88
+ "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
89
+ },
90
90
  "./src/lib/components/tags/tag-container": {
91
91
  "types": "./src/lib/components/tags/tag-container/index.d.ts",
92
92
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs"