@acorex/components 19.10.6 → 19.10.7
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-color-palette.mjs +1 -1
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +13 -20
- package/fesm2022/acorex-components-common.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-table.mjs +0 -1
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +55 -41
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +6 -16
- 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-select-box.mjs +20 -12
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +24 -12
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/file-explorer/lib/file-explorer-internal.service.d.ts +4 -0
- package/file-explorer/lib/file-explorer-tree/file-explorer-tree.component.d.ts +3 -0
- package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +0 -3
- package/file-explorer/lib/file-explorer.service.d.ts +1 -1
- package/list/lib/list.component.d.ts +1 -1
- package/package.json +5 -5
- package/select-box/lib/select-box.component.d.ts +11 -4
- package/tree-view/lib/tree-view.class.d.ts +2 -0
- package/tree-view/lib/tree-view.component.d.ts +4 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AXDataSource, AXEvent,
|
1
|
+
import { AXDataSource, AXEvent, AXValueChangedEvent, MXLookComponent, MXSelectionBridgeService, MXSelectionValueComponent } from '@acorex/components/common';
|
2
2
|
import { AXDropdownBoxComponent, MXDropdownBoxBaseComponent } from '@acorex/components/dropdown';
|
3
3
|
import { AXListComponent } from '@acorex/components/list';
|
4
4
|
import { AXSearchBoxComponent } from '@acorex/components/search-box';
|
@@ -16,6 +16,8 @@ export declare class AXSelectBoxComponent extends AXSelectBoxComponent_base impl
|
|
16
16
|
/** @ignore */
|
17
17
|
protected isLoading: WritableSignal<boolean>;
|
18
18
|
/** @ignore */
|
19
|
+
protected searchValue: WritableSignal<string>;
|
20
|
+
/** @ignore */
|
19
21
|
protected renderList: boolean;
|
20
22
|
/** @ignore */
|
21
23
|
protected dropdownSizes: {
|
@@ -26,6 +28,8 @@ export declare class AXSelectBoxComponent extends AXSelectBoxComponent_base impl
|
|
26
28
|
protected _listDataSource: AXDataSource<any>;
|
27
29
|
/** @ignore */
|
28
30
|
private _dataSource;
|
31
|
+
/** @ignore */
|
32
|
+
private onChangedSubscription;
|
29
33
|
/**
|
30
34
|
* Gets the data source for the component, which can be either an `AXDataSource` or an array of items.
|
31
35
|
* @returns {AXDataSource<any> | any[]}
|
@@ -41,6 +45,11 @@ export declare class AXSelectBoxComponent extends AXSelectBoxComponent_base impl
|
|
41
45
|
* @param {string} placeholder
|
42
46
|
*/
|
43
47
|
placeholder: string;
|
48
|
+
/**
|
49
|
+
* The minRecordsForSearch defines the minimum number of records required to display the search box.
|
50
|
+
* @param {number} minRecordsForSearch
|
51
|
+
*/
|
52
|
+
minRecordsForSearch: number;
|
44
53
|
/**
|
45
54
|
* The caption text to be displayed in the component.
|
46
55
|
* @param {string} caption
|
@@ -109,8 +118,6 @@ export declare class AXSelectBoxComponent extends AXSelectBoxComponent_base impl
|
|
109
118
|
/** @ignore */
|
110
119
|
protected _handleValueChanged(e: AXValueChangedEvent): void;
|
111
120
|
/** @ignore */
|
112
|
-
protected _handleOnItemClick(e: AXItemClickEvent): void;
|
113
|
-
/** @ignore */
|
114
121
|
private setDropdownSize;
|
115
122
|
/** @ignore */
|
116
123
|
_handleKeydown(e: KeyboardEvent): void;
|
@@ -126,6 +133,6 @@ export declare class AXSelectBoxComponent extends AXSelectBoxComponent_base impl
|
|
126
133
|
*/
|
127
134
|
refresh(): void;
|
128
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
129
|
-
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; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "dataSource": { "alias": "dataSource"; "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; }; "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"], false, never>;
|
136
|
+
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; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "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; }; "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"], false, never>;
|
130
137
|
}
|
131
138
|
export {};
|
@@ -20,3 +20,5 @@ export declare class AXTreeItemClickBaseEvent extends AXClickEvent {
|
|
20
20
|
nativeElement: any;
|
21
21
|
}
|
22
22
|
export type SelectionBehaviorType = 'autoExpand' | 'cascade' | 'indeterminate' | null;
|
23
|
+
export type ExpandBehaviorType = 'click' | 'dbClick' | 'both';
|
24
|
+
export type OperationMethod = 'expand' | 'active' | 'visible' | 'disabled';
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { AXValueChangedEvent, NXComponent } from '@acorex/components/common';
|
2
|
-
import { AXTreeItemClickBaseEvent, AXTreeViewSchema, SelectionBehaviorType } from './tree-view.class';
|
2
|
+
import { AXTreeItemClickBaseEvent, AXTreeViewSchema, ExpandBehaviorType, OperationMethod, SelectionBehaviorType } from './tree-view.class';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXTreeViewComponent extends NXComponent {
|
5
5
|
#private;
|
6
|
+
private cdr;
|
6
7
|
private itemsSignal;
|
7
8
|
private itemsPromise;
|
8
9
|
items: import("@angular/core").InputSignal<AXTreeViewSchema[] | ((selectedItemId?: string | number) => AXTreeViewSchema[] | Promise<AXTreeViewSchema[]>)>;
|
@@ -21,7 +22,7 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
21
22
|
onItemClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
22
23
|
onNodeClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
23
24
|
onNodeExpandClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
24
|
-
expandBehavior: import("@angular/core").InputSignal<
|
25
|
+
expandBehavior: import("@angular/core").InputSignal<ExpandBehaviorType>;
|
25
26
|
protected handleNodeSelectionClick(event: AXValueChangedEvent, item: AXTreeViewSchema): void;
|
26
27
|
/**
|
27
28
|
*
|
@@ -74,6 +75,7 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
74
75
|
private loadingState;
|
75
76
|
protected isNodeLoading(nodeId: string | number): boolean;
|
76
77
|
private setNodeLoading;
|
78
|
+
executeOnTreeNode(node: AXTreeViewSchema, operation: OperationMethod, value: boolean): void;
|
77
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewComponent, never>;
|
78
80
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "showActiveNode": { "alias": "showActiveNode"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "visibleField": { "alias": "visibleField"; "required": false; "isSignal": true; }; "disableField": { "alias": "disableField"; "required": false; "isSignal": true; }; "hasChildField": { "alias": "hasChildField"; "required": false; "isSignal": true; }; "iconField": { "alias": "iconField"; "required": false; "isSignal": true; }; "expandBehavior": { "alias": "expandBehavior"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; "onItemClick": "onItemClick"; "onNodeClick": "onNodeClick"; "onNodeExpandClick": "onNodeExpandClick"; }, never, never, false, never>;
|
79
81
|
}
|