@acorex/components 21.0.2-next.11 → 21.0.2-next.14

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 (30) hide show
  1. package/fesm2022/acorex-components-button-group.mjs +26 -6
  2. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  3. package/fesm2022/acorex-components-color-palette.mjs +50 -9
  4. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  5. package/fesm2022/acorex-components-conversation2.mjs +84 -40
  6. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  7. package/fesm2022/acorex-components-flow-chart.mjs +42 -25
  8. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  9. package/fesm2022/acorex-components-number-box.mjs +43 -5
  10. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  11. package/fesm2022/acorex-components-popup.mjs +25 -1
  12. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  13. package/fesm2022/acorex-components-qrcode.mjs +19 -2
  14. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  15. package/fesm2022/acorex-components-query-builder.mjs +3 -2
  16. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  17. package/fesm2022/acorex-components-scheduler.mjs +1 -0
  18. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  19. package/fesm2022/acorex-components-select-box.mjs +2 -2
  20. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  21. package/fesm2022/acorex-components-time-duration.mjs +3 -5
  22. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  23. package/package.json +3 -3
  24. package/types/acorex-components-button-group.d.ts +9 -3
  25. package/types/acorex-components-color-palette.d.ts +2 -0
  26. package/types/acorex-components-flow-chart.d.ts +4 -0
  27. package/types/acorex-components-number-box.d.ts +9 -0
  28. package/types/acorex-components-popup.d.ts +10 -0
  29. package/types/acorex-components-qrcode.d.ts +1 -0
  30. package/types/acorex-components-query-builder.d.ts +1 -1
@@ -29,11 +29,20 @@ declare class AXNumberBoxComponent extends AXNumberBoxComponent_base {
29
29
  protected mode: _angular_core.WritableSignal<"digits" | "thousandsSeparator" | "decimal">;
30
30
  private input;
31
31
  protected stringValue: _angular_core.WritableSignal<string>;
32
+ private translationService;
33
+ protected validateFn: (val: number) => Promise<{
34
+ result: boolean;
35
+ message: string;
36
+ } | {
37
+ result: boolean;
38
+ message?: undefined;
39
+ }>;
32
40
  protected internalValueChanged(value: number | undefined): void;
33
41
  private plusValue;
34
42
  private minusValue;
35
43
  private getNumericValue;
36
44
  private getSteppedValue;
45
+ private clampToRange;
37
46
  private getFractionDigits;
38
47
  protected handleOnKeydownEvent(e: KeyboardEvent): void;
39
48
  protected handleUpClick(): void;
@@ -23,6 +23,7 @@ interface AXPopupConfig {
23
23
  hasBackdrop?: boolean;
24
24
  backdropClass?: string;
25
25
  closeOnBackdropClick?: boolean;
26
+ closeOnNavigation?: boolean;
26
27
  viewContainerRef?: ViewContainerRef;
27
28
  providers?: StaticProvider[];
28
29
  panelClass?: string[];
@@ -67,6 +68,8 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
67
68
  private loadingService;
68
69
  private _platform;
69
70
  private componentService;
71
+ private _router;
72
+ private _destroyRef;
70
73
  private contentContainerRef;
71
74
  private contentContainerEl;
72
75
  readonly __content__: i0.InputSignal<AXPopupContentType>;
@@ -97,6 +100,13 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
97
100
  private elementStartPos;
98
101
  /** @ignore */
99
102
  ngOnInit(): void;
103
+ /**
104
+ * Subscribes to router navigation events so the popup is closed automatically
105
+ * when the user navigates to another route. Enabled by default; disable via
106
+ * `closeOnNavigation: false` in the popup config.
107
+ * @ignore
108
+ */
109
+ private _setupCloseOnNavigation;
100
110
  /** @ignore */
101
111
  private renderContent;
102
112
  /** @ignore */
@@ -7,6 +7,7 @@ type AXQrcodeLevel = 'L' | 'M' | 'Q' | 'H';
7
7
  declare function debounce(func: (...args: any) => void, delayMS: number): (...args: any[]) => void;
8
8
 
9
9
  declare class AXQrcodeComponent implements AfterViewInit {
10
+ private platformId;
10
11
  /**
11
12
  * @description Value of QR code
12
13
  */
@@ -1,7 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { AXDataSource, AXValueChangedEvent } from '@acorex/cdk/common';
3
2
  import * as i1 from '@acorex/components/button-group';
4
3
  import { AXButtonGroupItemComponent } from '@acorex/components/button-group';
4
+ import { AXDataSource, AXValueChangedEvent } from '@acorex/cdk/common';
5
5
  import * as i3 from '@acorex/components/select-box';
6
6
  import { AXSelectBoxComponent } from '@acorex/components/select-box';
7
7
  import * as i2 from '@acorex/components/decorators';