@onecx/angular-accelerator 9.0.0-rc.2 → 9.0.0-rc.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/angular-accelerator",
3
- "version": "9.0.0-rc.2",
3
+ "version": "9.0.0-rc.4",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,12 +15,12 @@
15
15
  "@angular/router": "^21.0.0",
16
16
  "@ngx-translate/core": "^17.0.0",
17
17
  "@ngneat/until-destroy": "^10.0.0",
18
- "@onecx/integration-interface": "^9.0.0-rc.2",
19
- "@onecx/accelerator": "^9.0.0-rc.2",
20
- "@onecx/angular-integration-interface": "^9.0.0-rc.2",
21
- "@onecx/angular-remote-components": "^9.0.0-rc.2",
22
- "@onecx/angular-testing": "^9.0.0-rc.2",
23
- "@onecx/angular-utils": "^9.0.0-rc.2",
18
+ "@onecx/integration-interface": "^9.0.0-rc.4",
19
+ "@onecx/accelerator": "^9.0.0-rc.4",
20
+ "@onecx/angular-integration-interface": "^9.0.0-rc.4",
21
+ "@onecx/angular-remote-components": "^9.0.0-rc.4",
22
+ "@onecx/angular-testing": "^9.0.0-rc.4",
23
+ "@onecx/angular-utils": "^9.0.0-rc.4",
24
24
  "chart.js": "^4.4.3",
25
25
  "d3-scale-chromatic": "^3.1.0",
26
26
  "fast-deep-equal": "^3.1.3",
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, TemplateRef, EventEmitter, DoCheck, AfterViewInit, OnChanges, Renderer2, SimpleChanges, OnDestroy, OutputEmitterRef, Signal, ElementRef, Type, ViewContainerRef, ComponentRef, PipeTransform, QueryList } from '@angular/core';
2
+ import { OnInit, TemplateRef, EventEmitter, DoCheck, AfterViewInit, OnChanges, Renderer2, SimpleChanges, OnDestroy, OutputEmitterRef, Signal, ElementRef, Type, ViewContainerRef, ComponentRef, PipeTransform } from '@angular/core';
3
3
  import * as i19 from 'primeng/tooltip';
4
4
  import { Tooltip } from 'primeng/tooltip';
5
5
  import * as i22 from 'primeng/api';
@@ -440,7 +440,7 @@ interface DataAction {
440
440
  actionVisibleField?: string;
441
441
  actionEnabledField?: string;
442
442
  showAsOverflow?: boolean;
443
- callback: (data: any) => void;
443
+ callback?: (data: any) => void;
444
444
  routerLink?: RouterLink;
445
445
  }
446
446
 
@@ -1624,7 +1624,7 @@ interface Action {
1624
1624
  ariaLabel?: string;
1625
1625
  ariaLabelKey?: string;
1626
1626
  btnClass?: string;
1627
- actionCallback(): void;
1627
+ actionCallback?(): void;
1628
1628
  routerLink?: RouterLink;
1629
1629
  loading?: boolean;
1630
1630
  disabled?: boolean;
@@ -2481,11 +2481,11 @@ interface BuildSearchCriteriaParameters {
2481
2481
  /**
2482
2482
  * Safely builds the search criteria based on form values
2483
2483
  * @param formRawValue the raw value of the form to use
2484
- * @param datePickers a list of primeng datePickers of the form (use `@ViewChildren(DatePicker) datePickers!: QueryList<DatePicker>;`)
2484
+ * @param datePickers a list of primeng datePickers of the form (use `viewChildren` to get list of datePickers)
2485
2485
  * @param parameters {@link BuildSearchCriteriaParameters} to use when building the search criteria
2486
2486
  * @returns the search criteria as a partial of T (T = type of the search criteria)
2487
2487
  */
2488
- declare function buildSearchCriteria<T>(formRawValue: any, datePickers: QueryList<DatePicker>, { removeNullValues }: BuildSearchCriteriaParameters): Partial<T>;
2488
+ declare function buildSearchCriteria<T>(formRawValue: any, datePickers: DatePicker[], { removeNullValues }: BuildSearchCriteriaParameters): Partial<T>;
2489
2489
 
2490
2490
  declare function findEntryWithKeyword(array: string[] | undefined, keyword: string): string | null;
2491
2491
  declare function removeKeyword(input: string, keyword: string): string;