@acorex/components 20.9.1 → 20.9.2
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/fesm2022/acorex-components-file-viewer.mjs +2 -2
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +16 -3
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +56 -9
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/list/index.d.ts +19 -9
- package/package.json +11 -11
- package/select-box/index.d.ts +6 -0
package/list/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, WritableSignal, TemplateRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import { MXSelectionValueComponent, AXDataSource, AXEvent, AXListDataSource } from '@acorex/cdk/common';
|
|
4
4
|
|
|
@@ -17,13 +17,13 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
|
17
17
|
*
|
|
18
18
|
* @defaultValue true
|
|
19
19
|
*/
|
|
20
|
-
isItemTruncated:
|
|
20
|
+
isItemTruncated: _angular_core.InputSignal<boolean>;
|
|
21
21
|
/**
|
|
22
22
|
* Determines if a tooltip is shown for an item.
|
|
23
23
|
*
|
|
24
24
|
* @defaultValue false
|
|
25
25
|
*/
|
|
26
|
-
showItemTooltip:
|
|
26
|
+
showItemTooltip: _angular_core.InputSignal<boolean>;
|
|
27
27
|
/** @ignore */
|
|
28
28
|
private _dataSource;
|
|
29
29
|
/** @ignore */
|
|
@@ -43,6 +43,16 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
|
43
43
|
* @ignore
|
|
44
44
|
*/
|
|
45
45
|
itemHeightSignal: WritableSignal<number | 'auto'>;
|
|
46
|
+
/**
|
|
47
|
+
* Fixed pixel size for CDK virtual scroll. Falls back to 40 when `itemHeight` is `'auto'`.
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
50
|
+
protected cdkItemSize: _angular_core.Signal<number>;
|
|
51
|
+
/**
|
|
52
|
+
* CSS value applied to `--ax-comp-list-item-height` so rendered rows match the virtual slot.
|
|
53
|
+
* @ignore
|
|
54
|
+
*/
|
|
55
|
+
protected itemHeightCss: _angular_core.Signal<string>;
|
|
46
56
|
/**
|
|
47
57
|
* Sets the height of each item in the list.
|
|
48
58
|
*/
|
|
@@ -172,15 +182,15 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
|
172
182
|
* Determines whether to show the empty template based on the presence of items and loading state.
|
|
173
183
|
* @ignore
|
|
174
184
|
*/
|
|
175
|
-
showEmptyTemplate:
|
|
176
|
-
static ɵfac:
|
|
177
|
-
static ɵcmp:
|
|
185
|
+
showEmptyTemplate: _angular_core.Signal<boolean>;
|
|
186
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXListComponent, never>;
|
|
187
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXListComponent, "ax-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "disabledChange": "disabledChange"; "readonlyChange": "readonlyChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onItemClick": "onItemClick"; "onItemSelected": "onItemSelected"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, never, ["ax-header", "ax-footer"], true, never>;
|
|
178
188
|
}
|
|
179
189
|
|
|
180
190
|
declare class AXListModule {
|
|
181
|
-
static ɵfac:
|
|
182
|
-
static ɵmod:
|
|
183
|
-
static ɵinj:
|
|
191
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXListModule, never>;
|
|
192
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXListModule, never, [typeof AXListComponent], [typeof AXListComponent]>;
|
|
193
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXListModule>;
|
|
184
194
|
}
|
|
185
195
|
|
|
186
196
|
export { AXListComponent, AXListModule };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "20.9.
|
|
3
|
+
"version": "20.9.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "20.9.
|
|
6
|
-
"@acorex/cdk": "20.9.
|
|
5
|
+
"@acorex/core": "20.9.2",
|
|
6
|
+
"@acorex/cdk": "20.9.2",
|
|
7
7
|
"polytype": ">=0.17.0",
|
|
8
8
|
"angular-imask": ">=7.6.1",
|
|
9
9
|
"imask": ">=7.6.1",
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
"types": "./calendar/index.d.ts",
|
|
110
110
|
"default": "./fesm2022/acorex-components-calendar.mjs"
|
|
111
111
|
},
|
|
112
|
-
"./check-box": {
|
|
113
|
-
"types": "./check-box/index.d.ts",
|
|
114
|
-
"default": "./fesm2022/acorex-components-check-box.mjs"
|
|
115
|
-
},
|
|
116
112
|
"./chips": {
|
|
117
113
|
"types": "./chips/index.d.ts",
|
|
118
114
|
"default": "./fesm2022/acorex-components-chips.mjs"
|
|
119
115
|
},
|
|
116
|
+
"./check-box": {
|
|
117
|
+
"types": "./check-box/index.d.ts",
|
|
118
|
+
"default": "./fesm2022/acorex-components-check-box.mjs"
|
|
119
|
+
},
|
|
120
120
|
"./circular-progress": {
|
|
121
121
|
"types": "./circular-progress/index.d.ts",
|
|
122
122
|
"default": "./fesm2022/acorex-components-circular-progress.mjs"
|
|
@@ -417,14 +417,14 @@
|
|
|
417
417
|
"types": "./slider/index.d.ts",
|
|
418
418
|
"default": "./fesm2022/acorex-components-slider.mjs"
|
|
419
419
|
},
|
|
420
|
-
"./sliding-item": {
|
|
421
|
-
"types": "./sliding-item/index.d.ts",
|
|
422
|
-
"default": "./fesm2022/acorex-components-sliding-item.mjs"
|
|
423
|
-
},
|
|
424
420
|
"./step-wizard": {
|
|
425
421
|
"types": "./step-wizard/index.d.ts",
|
|
426
422
|
"default": "./fesm2022/acorex-components-step-wizard.mjs"
|
|
427
423
|
},
|
|
424
|
+
"./sliding-item": {
|
|
425
|
+
"types": "./sliding-item/index.d.ts",
|
|
426
|
+
"default": "./fesm2022/acorex-components-sliding-item.mjs"
|
|
427
|
+
},
|
|
428
428
|
"./switch": {
|
|
429
429
|
"types": "./switch/index.d.ts",
|
|
430
430
|
"default": "./fesm2022/acorex-components-switch.mjs"
|
package/select-box/index.d.ts
CHANGED
|
@@ -160,6 +160,12 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
|
160
160
|
private resetSearchAfterSelection;
|
|
161
161
|
/** @ignore */
|
|
162
162
|
private setDropdownSize;
|
|
163
|
+
/**
|
|
164
|
+
* Shrinks list height to the visible overlay area so virtual scroll ends on fully
|
|
165
|
+
* visible rows instead of inside an overflow:hidden clipped region.
|
|
166
|
+
* @ignore
|
|
167
|
+
*/
|
|
168
|
+
private _fitListHeightToAvailableSpace;
|
|
163
169
|
private updateDropdownPosition;
|
|
164
170
|
private updateDropdownSize;
|
|
165
171
|
private _fitDropdownToContent;
|