@acorex/components 20.7.53 → 20.7.54
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/calendar/index.d.ts +5 -1
- package/fesm2022/acorex-components-calendar.mjs +30 -14
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +54 -4
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +1 -0
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +35 -5
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/list/index.d.ts +15 -1
- package/loading-dialog/index.d.ts +16 -16
- package/package.json +19 -19
- package/select-box/index.d.ts +1 -0
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
|
|
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
|
|
6
|
-
import { OnInit
|
|
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:
|
|
59
|
+
data: _angular_core.InputSignal<AXLoadingDialogConfig>;
|
|
60
60
|
/** @internal Callback function to close the dialog */
|
|
61
|
-
onClose:
|
|
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:
|
|
119
|
-
static ɵcmp:
|
|
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:
|
|
124
|
-
static ɵmod:
|
|
125
|
-
static ɵinj:
|
|
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:
|
|
138
|
-
static ɵprov:
|
|
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.
|
|
3
|
+
"version": "20.7.54",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "20.7.
|
|
6
|
-
"@acorex/cdk": "20.7.
|
|
5
|
+
"@acorex/core": "20.7.54",
|
|
6
|
+
"@acorex/cdk": "20.7.54",
|
|
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"
|
|
@@ -380,10 +380,6 @@
|
|
|
380
380
|
"types": "./scheduler/index.d.ts",
|
|
381
381
|
"default": "./fesm2022/acorex-components-scheduler.mjs"
|
|
382
382
|
},
|
|
383
|
-
"./scheduler-picker": {
|
|
384
|
-
"types": "./scheduler-picker/index.d.ts",
|
|
385
|
-
"default": "./fesm2022/acorex-components-scheduler-picker.mjs"
|
|
386
|
-
},
|
|
387
383
|
"./scss": {
|
|
388
384
|
"types": "./scss/index.d.ts",
|
|
389
385
|
"default": "./fesm2022/acorex-components-scss.mjs"
|
|
@@ -392,6 +388,10 @@
|
|
|
392
388
|
"types": "./search-box/index.d.ts",
|
|
393
389
|
"default": "./fesm2022/acorex-components-search-box.mjs"
|
|
394
390
|
},
|
|
391
|
+
"./scheduler-picker": {
|
|
392
|
+
"types": "./scheduler-picker/index.d.ts",
|
|
393
|
+
"default": "./fesm2022/acorex-components-scheduler-picker.mjs"
|
|
394
|
+
},
|
|
395
395
|
"./select-box": {
|
|
396
396
|
"types": "./select-box/index.d.ts",
|
|
397
397
|
"default": "./fesm2022/acorex-components-select-box.mjs"
|
|
@@ -432,14 +432,14 @@
|
|
|
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
|
},
|
|
439
|
+
"./tag-box": {
|
|
440
|
+
"types": "./tag-box/index.d.ts",
|
|
441
|
+
"default": "./fesm2022/acorex-components-tag-box.mjs"
|
|
442
|
+
},
|
|
443
443
|
"./text-area": {
|
|
444
444
|
"types": "./text-area/index.d.ts",
|
|
445
445
|
"default": "./fesm2022/acorex-components-text-area.mjs"
|
|
@@ -476,6 +476,10 @@
|
|
|
476
476
|
"types": "./tree-view-legacy/index.d.ts",
|
|
477
477
|
"default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
|
|
478
478
|
},
|
|
479
|
+
"./uploader": {
|
|
480
|
+
"types": "./uploader/index.d.ts",
|
|
481
|
+
"default": "./fesm2022/acorex-components-uploader.mjs"
|
|
482
|
+
},
|
|
479
483
|
"./video-player": {
|
|
480
484
|
"types": "./video-player/index.d.ts",
|
|
481
485
|
"default": "./fesm2022/acorex-components-video-player.mjs"
|
|
@@ -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
|
}
|
package/select-box/index.d.ts
CHANGED
|
@@ -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;
|