@acorex/components 20.1.20 → 20.1.21

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 (67) hide show
  1. package/action-sheet/index.d.ts +56 -0
  2. package/alert/index.d.ts +1 -1
  3. package/avatar/index.d.ts +11 -4
  4. package/breadcrumbs/index.d.ts +15 -1
  5. package/calendar/index.d.ts +23 -9
  6. package/check-box/index.d.ts +1 -1
  7. package/circular-progress/index.d.ts +23 -18
  8. package/collapse/index.d.ts +6 -3
  9. package/color-palette/index.d.ts +1 -1
  10. package/comment/index.d.ts +3 -3
  11. package/cron-job/index.d.ts +4 -4
  12. package/data-pager/index.d.ts +10 -5
  13. package/datetime-picker/index.d.ts +8 -0
  14. package/dropdown/index.d.ts +41 -0
  15. package/fesm2022/acorex-components-action-sheet.mjs +56 -0
  16. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  17. package/fesm2022/acorex-components-alert.mjs +1 -1
  18. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  19. package/fesm2022/acorex-components-avatar.mjs +11 -4
  20. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  21. package/fesm2022/acorex-components-breadcrumbs.mjs +15 -1
  22. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  23. package/fesm2022/acorex-components-calendar.mjs +26 -12
  24. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  25. package/fesm2022/acorex-components-check-box.mjs +2 -2
  26. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  27. package/fesm2022/acorex-components-circular-progress.mjs +23 -18
  28. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  29. package/fesm2022/acorex-components-collapse.mjs +6 -3
  30. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  31. package/fesm2022/acorex-components-color-box.mjs +1 -1
  32. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  33. package/fesm2022/acorex-components-color-palette.mjs +2 -2
  34. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  35. package/fesm2022/acorex-components-comment.mjs +5 -5
  36. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  37. package/fesm2022/acorex-components-cron-job.mjs +6 -6
  38. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  39. package/fesm2022/acorex-components-data-pager.mjs +10 -5
  40. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  41. package/fesm2022/acorex-components-data-table.mjs +1 -1
  42. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  43. package/fesm2022/acorex-components-datetime-picker.mjs +70 -2
  44. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  45. package/fesm2022/acorex-components-dropdown.mjs +44 -0
  46. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  47. package/fesm2022/acorex-components-json-viewer.mjs +2 -2
  48. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  49. package/fesm2022/acorex-components-list.mjs +10 -8
  50. package/fesm2022/acorex-components-list.mjs.map +1 -1
  51. package/fesm2022/acorex-components-picker.mjs +14 -4
  52. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  53. package/fesm2022/acorex-components-radio.mjs +2 -2
  54. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  55. package/fesm2022/acorex-components-select-box.mjs +42 -17
  56. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  57. package/fesm2022/acorex-components-side-menu.mjs +1 -1
  58. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  59. package/fesm2022/acorex-components-tree-view.mjs +1 -1
  60. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  61. package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
  62. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  63. package/json-viewer/index.d.ts +3 -3
  64. package/package.json +5 -5
  65. package/picker/index.d.ts +10 -8
  66. package/radio/index.d.ts +1 -1
  67. package/select-box/index.d.ts +9 -6
@@ -5,15 +5,15 @@ import * as i3 from '@angular/common';
5
5
 
6
6
  declare class JsonViewerComponent {
7
7
  #private;
8
- json: i0.InputSignal<any>;
9
- convertedData: i0.WritableSignal<any>;
8
+ readonly json: i0.InputSignal<object>;
9
+ protected convertedData: i0.WritableSignal<any>;
10
10
  protected convertNestedToArray(obj: any): any;
11
11
  protected isArray(arry: any): arry is any[];
12
12
  protected isNumber(i: any): i is number;
13
13
  protected isDate(value: any): value is Date;
14
14
  protected isBoolean(value: any): value is boolean;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonViewerComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<JsonViewerComponent, "ax-json-viewer", never, { "json": { "alias": "json"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<JsonViewerComponent, "ax-json-viewer", never, { "json": { "alias": "json"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
17
17
  }
18
18
 
19
19
  declare class AXJsonViewerModule {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.1.20",
3
+ "version": "20.1.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",
@@ -90,14 +90,14 @@
90
90
  "types": "./circular-progress/index.d.ts",
91
91
  "default": "./fesm2022/acorex-components-circular-progress.mjs"
92
92
  },
93
- "./color-box": {
94
- "types": "./color-box/index.d.ts",
95
- "default": "./fesm2022/acorex-components-color-box.mjs"
96
- },
97
93
  "./collapse": {
98
94
  "types": "./collapse/index.d.ts",
99
95
  "default": "./fesm2022/acorex-components-collapse.mjs"
100
96
  },
97
+ "./color-box": {
98
+ "types": "./color-box/index.d.ts",
99
+ "default": "./fesm2022/acorex-components-color-box.mjs"
100
+ },
101
101
  "./color-palette": {
102
102
  "types": "./color-palette/index.d.ts",
103
103
  "default": "./fesm2022/acorex-components-color-palette.mjs"
package/picker/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { MXValueComponent } from '@acorex/cdk/common';
6
6
  import * as i1 from '@angular/common';
7
7
 
8
8
  declare class AXPickerContainerComponent {
9
- customClass: _angular_core.InputSignal<string>;
9
+ readonly customClass: _angular_core.InputSignal<string>;
10
10
  get __hostClass(): string;
11
11
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPickerContainerComponent, never>;
12
12
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPickerContainerComponent, "ax-picker-container", never, { "customClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["ax-picker-title", "ax-picker-items"], true, never>;
@@ -15,19 +15,21 @@ declare class AXPickerContainerComponent {
15
15
  declare class AXPickerItemsComponent extends MXValueComponent {
16
16
  #private;
17
17
  protected swiperRef: _angular_core.Signal<AXCarouselDirective>;
18
- items: _angular_core.InputSignal<any[]>;
19
- valueField: _angular_core.InputSignal<string>;
20
- textField: _angular_core.InputSignal<string>;
21
- selectedItemIndex: _angular_core.WritableSignal<any>;
22
- slidesPerGroup: _angular_core.InputSignal<number>;
23
- loop: _angular_core.InputSignal<boolean>;
18
+ readonly items: _angular_core.InputSignal<any[]>;
19
+ readonly valueField: _angular_core.InputSignal<string>;
20
+ readonly textField: _angular_core.InputSignal<string>;
21
+ readonly slidesPerGroup: _angular_core.InputSignal<number>;
22
+ readonly loop: _angular_core.InputSignal<boolean>;
23
+ private selectedItemIndex;
24
+ readonly minValue: _angular_core.InputSignal<number>;
25
+ readonly maxValue: _angular_core.InputSignal<number>;
24
26
  protected option: _angular_core.WritableSignal<swiper_types.SwiperOptions>;
25
27
  protected clickHandler(v: any): any;
26
28
  internalSetValue(v: any): any;
27
29
  /** @ignore */
28
30
  private get __hostClass();
29
31
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPickerItemsComponent, never>;
30
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPickerItemsComponent, "ax-picker-items", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyChange": { "alias": "readonlyChange"; "required": false; }; "disabledChange": { "alias": "disabledChange"; "required": false; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "slidesPerGroup": { "alias": "slidesPerGroup"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
32
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPickerItemsComponent, "ax-picker-items", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyChange": { "alias": "readonlyChange"; "required": false; }; "disabledChange": { "alias": "disabledChange"; "required": false; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "slidesPerGroup": { "alias": "slidesPerGroup"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
31
33
  }
32
34
 
33
35
  declare class AXPickerTitleComponent {
package/radio/index.d.ts CHANGED
@@ -21,7 +21,7 @@ declare class AXRadioComponent extends MXValueComponent<boolean | null> implemen
21
21
  /** @ignore */
22
22
  protected _handleModelChange(value: boolean | null): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXRadioComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<AXRadioComponent, "ax-radio", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], true, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXRadioComponent, "ax-radio", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], true, never>;
25
25
  }
26
26
 
27
27
  declare class AXRadioModule {
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { AfterViewInit, OnDestroy, WritableSignal, TemplateRef, ElementRef } from '@angular/core';
2
+ import { OnDestroy, WritableSignal, TemplateRef, ElementRef } from '@angular/core';
3
3
  import * as polytype from 'polytype';
4
4
  import * as i2 from '@acorex/cdk/common';
5
5
  import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXEvent, AXValueChangedEvent } from '@acorex/cdk/common';
@@ -25,7 +25,7 @@ declare const AXSelectBoxComponent_base: polytype.Polytype.ClusteredConstructor<
25
25
  * The Button is a component which detects user interaction and triggers a corresponding event
26
26
  * @category
27
27
  */
28
- declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements AfterViewInit, OnDestroy {
28
+ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements OnDestroy {
29
29
  /**
30
30
  * Determines if an item is truncated.
31
31
  *
@@ -45,7 +45,7 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
45
45
  /** @ignore */
46
46
  protected searchValue: WritableSignal<string>;
47
47
  /** @ignore */
48
- protected renderList: boolean;
48
+ protected renderList: WritableSignal<boolean>;
49
49
  /** @ignore */
50
50
  protected _dropdownWidth: WritableSignal<string>;
51
51
  /** @ignore */
@@ -53,9 +53,11 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
53
53
  /** @ignore */
54
54
  protected _listDataSource: AXDataSource<any>;
55
55
  /** @ignore */
56
- private _dataSource;
56
+ private _originalDataSource;
57
57
  /** @ignore */
58
58
  private onChangedSubscription;
59
+ /** @ignore */
60
+ private onLoadingChangedSubscription;
59
61
  /**
60
62
  * Gets the data source for the component, which can be either an `AXDataSource` or an array of items.
61
63
  * @returns {AXDataSource<any> | any[]}
@@ -125,8 +127,6 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
125
127
  /** @ignore */
126
128
  protected ngOnInit(): void;
127
129
  /** @ignore */
128
- ngAfterViewInit(): void;
129
- /** @ignore */
130
130
  ngOnDestroy(): void;
131
131
  /**
132
132
  * Retrieves an item by its key.
@@ -145,6 +145,9 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
145
145
  protected _handleValueChanged(e: AXValueChangedEvent): void;
146
146
  /** @ignore */
147
147
  private setDropdownSize;
148
+ private updateDropdownPosition;
149
+ private updateDropdownSize;
150
+ internalValueChanged(value: any): void;
148
151
  /** @ignore */
149
152
  _handleKeydown(e: KeyboardEvent): void;
150
153
  /** @ignore */