@acorex/components 20.2.0-next.17 → 20.2.0-next.19
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 +2 -6
- package/calendar/index.d.ts +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +3 -19
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +5 -3
- package/fesm2022/acorex-components-calendar.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-list.mjs +14 -6
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +4 -4
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +11 -2
- package/fesm2022/acorex-components-menu.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-rail-navigation.mjs +11 -0
- package/fesm2022/acorex-components-rail-navigation.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 +19 -62
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +3 -3
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +12 -24
- 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 +9 -3
- package/menu/index.d.ts +2 -0
- package/package.json +9 -9
- package/rail-navigation/index.d.ts +11 -0
- package/select-box/index.d.ts +2 -11
- 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, WritableSignal, TemplateRef
|
3
|
-
import { AXEvent, MXSelectionValueComponent, AXDataSource, AXListDataSource } from '@acorex/cdk/common';
|
2
|
+
import { OnInit, EventEmitter, WritableSignal, TemplateRef } from '@angular/core';
|
3
|
+
import { AXEvent, MXSelectionValueComponent, AXItemClickEvent, 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,6 +27,12 @@ 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>>;
|
30
36
|
/**
|
31
37
|
* Defines the data source for the list.
|
32
38
|
*
|
@@ -142,7 +148,7 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
142
148
|
*/
|
143
149
|
showEmptyTemplate: i0.Signal<boolean>;
|
144
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXListComponent, 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"; "
|
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>;
|
146
152
|
}
|
147
153
|
|
148
154
|
declare class AXListModule {
|
package/menu/index.d.ts
CHANGED
@@ -78,6 +78,8 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
78
78
|
showAt(point: AXPoint, targetElement?: HTMLElement, event?: AXContextMenuOpeningEvent): void;
|
79
79
|
close(): void;
|
80
80
|
private backdropElement;
|
81
|
+
private originalNextSibling;
|
82
|
+
private originalParent;
|
81
83
|
protected items: _angular_core.WritableSignal<AXMenuItem[]>;
|
82
84
|
/** @ignore */
|
83
85
|
private getTargetElements;
|
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.19",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": "^20.0.0",
|
6
6
|
"@angular/core": "^20.0.0",
|
@@ -126,14 +126,14 @@
|
|
126
126
|
"types": "./datetime-box/index.d.ts",
|
127
127
|
"default": "./fesm2022/acorex-components-datetime-box.mjs"
|
128
128
|
},
|
129
|
-
"./datetime-input": {
|
130
|
-
"types": "./datetime-input/index.d.ts",
|
131
|
-
"default": "./fesm2022/acorex-components-datetime-input.mjs"
|
132
|
-
},
|
133
129
|
"./datetime-picker": {
|
134
130
|
"types": "./datetime-picker/index.d.ts",
|
135
131
|
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
136
132
|
},
|
133
|
+
"./datetime-input": {
|
134
|
+
"types": "./datetime-input/index.d.ts",
|
135
|
+
"default": "./fesm2022/acorex-components-datetime-input.mjs"
|
136
|
+
},
|
137
137
|
"./decorators": {
|
138
138
|
"types": "./decorators/index.d.ts",
|
139
139
|
"default": "./fesm2022/acorex-components-decorators.mjs"
|
@@ -306,14 +306,14 @@
|
|
306
306
|
"types": "./rate-picker/index.d.ts",
|
307
307
|
"default": "./fesm2022/acorex-components-rate-picker.mjs"
|
308
308
|
},
|
309
|
-
"./rest-api-generator": {
|
310
|
-
"types": "./rest-api-generator/index.d.ts",
|
311
|
-
"default": "./fesm2022/acorex-components-rest-api-generator.mjs"
|
312
|
-
},
|
313
309
|
"./result": {
|
314
310
|
"types": "./result/index.d.ts",
|
315
311
|
"default": "./fesm2022/acorex-components-result.mjs"
|
316
312
|
},
|
313
|
+
"./rest-api-generator": {
|
314
|
+
"types": "./rest-api-generator/index.d.ts",
|
315
|
+
"default": "./fesm2022/acorex-components-rest-api-generator.mjs"
|
316
|
+
},
|
317
317
|
"./routing-progress": {
|
318
318
|
"types": "./routing-progress/index.d.ts",
|
319
319
|
"default": "./fesm2022/acorex-components-routing-progress.mjs"
|
@@ -32,6 +32,10 @@ declare class AXRailNavigationItemComponent extends MXBaseComponent implements A
|
|
32
32
|
ngAfterViewInit(): void;
|
33
33
|
ngOnDestroy(): void;
|
34
34
|
handleClickEvent(e: MouseEvent): void;
|
35
|
+
/**
|
36
|
+
* Gets the height and top position of the item.
|
37
|
+
* @returns Object containing height and top position
|
38
|
+
*/
|
35
39
|
getStats(): {
|
36
40
|
height: number;
|
37
41
|
top: number;
|
@@ -64,7 +68,14 @@ declare class AXRailNavigationModule {
|
|
64
68
|
|
65
69
|
declare class AXRailNavigationService {
|
66
70
|
private activeItem;
|
71
|
+
/**
|
72
|
+
* Observable that emits the currently active rail navigation item.
|
73
|
+
*/
|
67
74
|
activeItem$: rxjs.Observable<AXRailNavigationItemComponent>;
|
75
|
+
/**
|
76
|
+
* Sets the specified item as the active rail navigation item.
|
77
|
+
* @param item - The rail navigation item to set as active
|
78
|
+
*/
|
68
79
|
setActive(item: AXRailNavigationItemComponent): void;
|
69
80
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXRailNavigationService, never>;
|
70
81
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXRailNavigationService>;
|
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
|
5
|
+
import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXEvent, AXValueChangedEvent } 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,11 +126,6 @@ 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;
|
134
129
|
/** @ignore */
|
135
130
|
ngOnDestroy(): void;
|
136
131
|
/**
|
@@ -149,10 +144,6 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
149
144
|
/** @ignore */
|
150
145
|
protected _handleValueChanged(e: AXValueChangedEvent): void;
|
151
146
|
/** @ignore */
|
152
|
-
protected _handleItemClick(e: AXItemClickEvent): void;
|
153
|
-
/** @ignore */
|
154
|
-
protected _handleItemSelected(e: AXItemSelectedEvent): void;
|
155
|
-
/** @ignore */
|
156
147
|
private setDropdownSize;
|
157
148
|
private updateDropdownPosition;
|
158
149
|
private updateDropdownSize;
|
@@ -172,7 +163,7 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
172
163
|
refresh(): void;
|
173
164
|
private hostClickListener;
|
174
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, 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";
|
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>;
|
176
167
|
}
|
177
168
|
|
178
169
|
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
|
+
protected internalSetValue(value: any): unknown[];
|
30
|
+
protected internalSetValue(value: any): any;
|
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>;
|