@acorex/components 20.7.53 → 20.7.55

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/list/index.d.ts CHANGED
@@ -136,9 +136,23 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
136
136
  */
137
137
  getItemByKey(key: unknown): Promise<unknown> | unknown;
138
138
  /**
139
- * Renders the component by updating the viewport size, scrolling to the last index, and optionally focusing the element.
139
+ * Renders the component by updating the viewport size, scrolling to the selected item, and optionally focusing the element.
140
140
  */
141
141
  render(): void;
142
+ /**
143
+ * Scrolls the viewport to the currently selected list item.
144
+ */
145
+ scrollTo(): void;
146
+ /**
147
+ * Resolves the selected item index from values already loaded in the list source.
148
+ * Only considers loaded entries so lazy sources are not scanned by a global index.
149
+ * @ignore
150
+ */
151
+ private resolveSelectedIndex;
152
+ /**
153
+ * @ignore
154
+ */
155
+ private getSelectedKey;
142
156
  /**
143
157
  * Refreshes the list by clearing the selection cache and reloading the data source.
144
158
  * @ignore
@@ -2,8 +2,8 @@ import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } fr
2
2
  import { AXOverlayRef } from '@acorex/cdk/overlay';
3
3
  import { AXDialogButtonItem } from '@acorex/components/dialog';
4
4
  import { AXProgressMode } from '@acorex/components/progress-bar';
5
- import * as i0 from '@angular/core';
6
- import { OnInit, WritableSignal } from '@angular/core';
5
+ import * as _angular_core from '@angular/core';
6
+ import { OnInit } from '@angular/core';
7
7
 
8
8
  interface AXLoadingDialogConfig {
9
9
  title: string;
@@ -56,19 +56,19 @@ interface AXLoadingDialogInternalRef {
56
56
  */
57
57
  declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit {
58
58
  /** Loading dialog configuration data */
59
- data: i0.InputSignal<AXLoadingDialogConfig>;
59
+ data: _angular_core.InputSignal<AXLoadingDialogConfig>;
60
60
  /** @internal Callback function to close the dialog */
61
- onClose: i0.InputSignal<() => void>;
61
+ onClose: _angular_core.InputSignal<() => void>;
62
62
  /** @ignore */
63
- protected progressText: WritableSignal<string>;
63
+ protected progressText: _angular_core.WritableSignal<string>;
64
64
  /** @ignore */
65
- protected progressStatus: WritableSignal<string>;
65
+ protected progressStatus: _angular_core.WritableSignal<string>;
66
66
  /** @ignore */
67
- protected progressColor: WritableSignal<AXStyleColorType>;
67
+ protected progressColor: _angular_core.WritableSignal<AXStyleColorType>;
68
68
  /** @ignore */
69
- protected dialogTitle: WritableSignal<string>;
69
+ protected dialogTitle: _angular_core.WritableSignal<string>;
70
70
  /** @ignore */
71
- protected progressValue: WritableSignal<number>;
71
+ protected progressValue: _angular_core.WritableSignal<number>;
72
72
  ngOnInit(): void;
73
73
  /**
74
74
  * Closes the loading dialog.
@@ -115,14 +115,14 @@ declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit
115
115
  protected _handleButtonClick(button: AXLoadingDialogButtonItem): void;
116
116
  /** @ignore */
117
117
  protected _hasAutoFocus(button: AXLoadingDialogButtonItem): boolean;
118
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogComponent, never>;
119
- static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
118
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogComponent, never>;
119
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
120
120
  }
121
121
 
122
122
  declare class AXLoadingDialogModule {
123
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogModule, never>;
124
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingDialogModule, never, [typeof AXLoadingDialogComponent], [typeof AXLoadingDialogComponent]>;
125
- static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingDialogModule>;
123
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogModule, never>;
124
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXLoadingDialogModule, never, [typeof AXLoadingDialogComponent], [typeof AXLoadingDialogComponent]>;
125
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXLoadingDialogModule>;
126
126
  }
127
127
 
128
128
  declare class AXLoadingDialogService {
@@ -134,8 +134,8 @@ declare class AXLoadingDialogService {
134
134
  * @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
135
135
  */
136
136
  show(options: AXLoadingDialogConfig): AXLoadingDialogRef;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
138
- static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingDialogService>;
137
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
138
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLoadingDialogService>;
139
139
  }
140
140
 
141
141
  export { AXLoadingDialogComponent, AXLoadingDialogModule, AXLoadingDialogService };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.7.53",
3
+ "version": "20.7.55",
4
4
  "peerDependencies": {
5
- "@acorex/core": "20.7.53",
6
- "@acorex/cdk": "20.7.53",
5
+ "@acorex/core": "20.7.55",
6
+ "@acorex/cdk": "20.7.55",
7
7
  "polytype": ">=0.17.0",
8
8
  "angular-imask": ">=7.6.1",
9
9
  "gridstack": ">=12.0.0",
@@ -56,6 +56,10 @@
56
56
  "types": "./index.d.ts",
57
57
  "default": "./fesm2022/acorex-components.mjs"
58
58
  },
59
+ "./accordion": {
60
+ "types": "./accordion/index.d.ts",
61
+ "default": "./fesm2022/acorex-components-accordion.mjs"
62
+ },
59
63
  "./action-sheet": {
60
64
  "types": "./action-sheet/index.d.ts",
61
65
  "default": "./fesm2022/acorex-components-action-sheet.mjs"
@@ -64,10 +68,6 @@
64
68
  "types": "./alert/index.d.ts",
65
69
  "default": "./fesm2022/acorex-components-alert.mjs"
66
70
  },
67
- "./accordion": {
68
- "types": "./accordion/index.d.ts",
69
- "default": "./fesm2022/acorex-components-accordion.mjs"
70
- },
71
71
  "./aspect-ratio": {
72
72
  "types": "./aspect-ratio/index.d.ts",
73
73
  "default": "./fesm2022/acorex-components-aspect-ratio.mjs"
@@ -268,14 +268,14 @@
268
268
  "types": "./map/index.d.ts",
269
269
  "default": "./fesm2022/acorex-components-map.mjs"
270
270
  },
271
- "./media-viewer": {
272
- "types": "./media-viewer/index.d.ts",
273
- "default": "./fesm2022/acorex-components-media-viewer.mjs"
274
- },
275
271
  "./menu": {
276
272
  "types": "./menu/index.d.ts",
277
273
  "default": "./fesm2022/acorex-components-menu.mjs"
278
274
  },
275
+ "./media-viewer": {
276
+ "types": "./media-viewer/index.d.ts",
277
+ "default": "./fesm2022/acorex-components-media-viewer.mjs"
278
+ },
279
279
  "./modal": {
280
280
  "types": "./modal/index.d.ts",
281
281
  "default": "./fesm2022/acorex-components-modal.mjs"
@@ -316,14 +316,14 @@
316
316
  "types": "./pdf-reader/index.d.ts",
317
317
  "default": "./fesm2022/acorex-components-pdf-reader.mjs"
318
318
  },
319
- "./phone-box": {
320
- "types": "./phone-box/index.d.ts",
321
- "default": "./fesm2022/acorex-components-phone-box.mjs"
322
- },
323
319
  "./picker": {
324
320
  "types": "./picker/index.d.ts",
325
321
  "default": "./fesm2022/acorex-components-picker.mjs"
326
322
  },
323
+ "./phone-box": {
324
+ "types": "./phone-box/index.d.ts",
325
+ "default": "./fesm2022/acorex-components-phone-box.mjs"
326
+ },
327
327
  "./popover": {
328
328
  "types": "./popover/index.d.ts",
329
329
  "default": "./fesm2022/acorex-components-popover.mjs"
@@ -432,22 +432,22 @@
432
432
  "types": "./tabs/index.d.ts",
433
433
  "default": "./fesm2022/acorex-components-tabs.mjs"
434
434
  },
435
- "./tag-box": {
436
- "types": "./tag-box/index.d.ts",
437
- "default": "./fesm2022/acorex-components-tag-box.mjs"
438
- },
439
435
  "./tag": {
440
436
  "types": "./tag/index.d.ts",
441
437
  "default": "./fesm2022/acorex-components-tag.mjs"
442
438
  },
443
- "./text-area": {
444
- "types": "./text-area/index.d.ts",
445
- "default": "./fesm2022/acorex-components-text-area.mjs"
439
+ "./tag-box": {
440
+ "types": "./tag-box/index.d.ts",
441
+ "default": "./fesm2022/acorex-components-tag-box.mjs"
446
442
  },
447
443
  "./text-box": {
448
444
  "types": "./text-box/index.d.ts",
449
445
  "default": "./fesm2022/acorex-components-text-box.mjs"
450
446
  },
447
+ "./text-area": {
448
+ "types": "./text-area/index.d.ts",
449
+ "default": "./fesm2022/acorex-components-text-area.mjs"
450
+ },
451
451
  "./time-duration": {
452
452
  "types": "./time-duration/index.d.ts",
453
453
  "default": "./fesm2022/acorex-components-time-duration.mjs"
@@ -468,13 +468,17 @@
468
468
  "types": "./tooltip/index.d.ts",
469
469
  "default": "./fesm2022/acorex-components-tooltip.mjs"
470
470
  },
471
+ "./tree-view-legacy": {
472
+ "types": "./tree-view-legacy/index.d.ts",
473
+ "default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
474
+ },
471
475
  "./tree-view": {
472
476
  "types": "./tree-view/index.d.ts",
473
477
  "default": "./fesm2022/acorex-components-tree-view.mjs"
474
478
  },
475
- "./tree-view-legacy": {
476
- "types": "./tree-view-legacy/index.d.ts",
477
- "default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
479
+ "./uploader": {
480
+ "types": "./uploader/index.d.ts",
481
+ "default": "./fesm2022/acorex-components-uploader.mjs"
478
482
  },
479
483
  "./video-player": {
480
484
  "types": "./video-player/index.d.ts",
@@ -483,10 +487,6 @@
483
487
  "./wysiwyg": {
484
488
  "types": "./wysiwyg/index.d.ts",
485
489
  "default": "./fesm2022/acorex-components-wysiwyg.mjs"
486
- },
487
- "./uploader": {
488
- "types": "./uploader/index.d.ts",
489
- "default": "./fesm2022/acorex-components-uploader.mjs"
490
490
  }
491
491
  }
492
492
  }
@@ -162,6 +162,7 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
162
162
  private setDropdownSize;
163
163
  private updateDropdownPosition;
164
164
  private updateDropdownSize;
165
+ private _fitDropdownToContent;
165
166
  internalValueChanged(value: any): void;
166
167
  /** @ignore */
167
168
  _handleKeydown(e: KeyboardEvent): void;