@acorex/components 20.2.0-next.19 → 20.2.0-next.20
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/autocomplete/index.d.ts +6 -2
- package/data-list/README.md +356 -0
- package/data-list/index.d.ts +102 -0
- package/fesm2022/acorex-components-autocomplete.mjs +19 -3
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +1 -1
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +6 -6
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +386 -0
- package/fesm2022/acorex-components-data-list.mjs.map +1 -0
- package/fesm2022/acorex-components-list.mjs +6 -14
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +1 -1
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +1 -1
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +1 -1
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1 -1
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +62 -19
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +5 -2
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -4
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +24 -12
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/list/index.d.ts +3 -9
- package/package.json +13 -9
- package/select-box/index.d.ts +11 -2
- package/tag-box/index.d.ts +2 -2
package/list/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { OnInit,
|
3
|
-
import { AXEvent, MXSelectionValueComponent,
|
2
|
+
import { OnInit, WritableSignal, TemplateRef, EventEmitter } from '@angular/core';
|
3
|
+
import { AXEvent, MXSelectionValueComponent, AXDataSource, AXListDataSource } from '@acorex/cdk/common';
|
4
4
|
import * as i1 from '@angular/common';
|
5
5
|
import * as i2 from '@angular/cdk/scrolling';
|
6
6
|
import * as i3 from '@acorex/core/translation';
|
@@ -27,12 +27,6 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
27
27
|
* @defaultValue false
|
28
28
|
*/
|
29
29
|
showItemTooltip: i0.InputSignal<boolean>;
|
30
|
-
/**
|
31
|
-
* Emitted when an item in the list is clicked.
|
32
|
-
*
|
33
|
-
* @event
|
34
|
-
*/
|
35
|
-
onItemClick: EventEmitter<AXItemClickEvent<any>>;
|
36
30
|
/**
|
37
31
|
* Defines the data source for the list.
|
38
32
|
*
|
@@ -148,7 +142,7 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
148
142
|
*/
|
149
143
|
showEmptyTemplate: i0.Signal<boolean>;
|
150
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXListComponent, never>;
|
151
|
-
static ɵcmp: i0.ɵɵ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"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, never, ["ax-header", "ax-footer"], true, never>;
|
145
|
+
static ɵcmp: i0.ɵɵ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>;
|
152
146
|
}
|
153
147
|
|
154
148
|
declare class AXListModule {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "20.2.0-next.
|
3
|
+
"version": "20.2.0-next.20",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": "^20.0.0",
|
6
6
|
"@angular/core": "^20.0.0",
|
@@ -114,6 +114,10 @@
|
|
114
114
|
"types": "./cron-job/index.d.ts",
|
115
115
|
"default": "./fesm2022/acorex-components-cron-job.mjs"
|
116
116
|
},
|
117
|
+
"./data-list": {
|
118
|
+
"types": "./data-list/index.d.ts",
|
119
|
+
"default": "./fesm2022/acorex-components-data-list.mjs"
|
120
|
+
},
|
117
121
|
"./data-pager": {
|
118
122
|
"types": "./data-pager/index.d.ts",
|
119
123
|
"default": "./fesm2022/acorex-components-data-pager.mjs"
|
@@ -126,14 +130,14 @@
|
|
126
130
|
"types": "./datetime-box/index.d.ts",
|
127
131
|
"default": "./fesm2022/acorex-components-datetime-box.mjs"
|
128
132
|
},
|
129
|
-
"./datetime-picker": {
|
130
|
-
"types": "./datetime-picker/index.d.ts",
|
131
|
-
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
132
|
-
},
|
133
133
|
"./datetime-input": {
|
134
134
|
"types": "./datetime-input/index.d.ts",
|
135
135
|
"default": "./fesm2022/acorex-components-datetime-input.mjs"
|
136
136
|
},
|
137
|
+
"./datetime-picker": {
|
138
|
+
"types": "./datetime-picker/index.d.ts",
|
139
|
+
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
140
|
+
},
|
137
141
|
"./decorators": {
|
138
142
|
"types": "./decorators/index.d.ts",
|
139
143
|
"default": "./fesm2022/acorex-components-decorators.mjs"
|
@@ -306,14 +310,14 @@
|
|
306
310
|
"types": "./rate-picker/index.d.ts",
|
307
311
|
"default": "./fesm2022/acorex-components-rate-picker.mjs"
|
308
312
|
},
|
309
|
-
"./result": {
|
310
|
-
"types": "./result/index.d.ts",
|
311
|
-
"default": "./fesm2022/acorex-components-result.mjs"
|
312
|
-
},
|
313
313
|
"./rest-api-generator": {
|
314
314
|
"types": "./rest-api-generator/index.d.ts",
|
315
315
|
"default": "./fesm2022/acorex-components-rest-api-generator.mjs"
|
316
316
|
},
|
317
|
+
"./result": {
|
318
|
+
"types": "./result/index.d.ts",
|
319
|
+
"default": "./fesm2022/acorex-components-result.mjs"
|
320
|
+
},
|
317
321
|
"./routing-progress": {
|
318
322
|
"types": "./routing-progress/index.d.ts",
|
319
323
|
"default": "./fesm2022/acorex-components-routing-progress.mjs"
|
package/select-box/index.d.ts
CHANGED
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
2
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
|
-
import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
5
|
+
import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXEvent, AXValueChangedEvent, AXItemClickEvent, AXItemSelectedEvent } from '@acorex/cdk/common';
|
6
6
|
import * as i12 from '@acorex/components/dropdown';
|
7
7
|
import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
|
8
8
|
import * as i13 from '@acorex/components/list';
|
@@ -126,6 +126,11 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
126
126
|
private _unsubscriber;
|
127
127
|
/** @ignore */
|
128
128
|
protected ngOnInit(): void;
|
129
|
+
/**
|
130
|
+
* Proactively fetches item data if the component has a value but no corresponding item data.
|
131
|
+
* This prevents showing "loading..." when the component has a value.
|
132
|
+
*/
|
133
|
+
private fetchItemDataIfNeeded;
|
129
134
|
/** @ignore */
|
130
135
|
ngOnDestroy(): void;
|
131
136
|
/**
|
@@ -144,6 +149,10 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
144
149
|
/** @ignore */
|
145
150
|
protected _handleValueChanged(e: AXValueChangedEvent): void;
|
146
151
|
/** @ignore */
|
152
|
+
protected _handleItemClick(e: AXItemClickEvent): void;
|
153
|
+
/** @ignore */
|
154
|
+
protected _handleItemSelected(e: AXItemSelectedEvent): void;
|
155
|
+
/** @ignore */
|
147
156
|
private setDropdownSize;
|
148
157
|
private updateDropdownPosition;
|
149
158
|
private updateDropdownSize;
|
@@ -163,7 +172,7 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
163
172
|
refresh(): void;
|
164
173
|
private hostClickListener;
|
165
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "minRecordsForSearch": { "alias": "minRecordsForSearch"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "searchBoxAutoFocus": { "alias": "searchBoxAutoFocus"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, ["searchBox"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-search-box", "ax-footer", "ax-validation-rule"], true, never>;
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "minRecordsForSearch": { "alias": "minRecordsForSearch"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "searchBoxAutoFocus": { "alias": "searchBoxAutoFocus"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; "onItemSelected": "onItemSelected"; "onItemClick": "onItemClick"; }, ["searchBox"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-search-box", "ax-footer", "ax-validation-rule"], true, never>;
|
167
176
|
}
|
168
177
|
|
169
178
|
declare class AXSelectBoxModule {
|
package/tag-box/index.d.ts
CHANGED
@@ -26,8 +26,8 @@ declare class AXTagBoxComponent extends AXTagBoxComponent_base implements OnInit
|
|
26
26
|
addItems(items: object[]): void;
|
27
27
|
removeItem(index: number): void;
|
28
28
|
convertString(v: unknown): object[];
|
29
|
-
|
30
|
-
protected internalSetValue(value:
|
29
|
+
getFieldValue(item: unknown, path: string): unknown;
|
30
|
+
protected internalSetValue(value: unknown): unknown[];
|
31
31
|
private get __hostName();
|
32
32
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTagBoxComponent, never>;
|
33
33
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTagBoxComponent, "ax-tag-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "addOnComma": { "alias": "addOnComma"; "required": false; "isSignal": true; }; "addOnEnter": { "alias": "addOnEnter"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "readonlyField": { "alias": "readonlyField"; "required": false; "isSignal": true; }; "allowDuplicateValues": { "alias": "allowDuplicateValues"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-autocomplete", "ax-validation-rule"], true, never>;
|