@masterteam/components 0.0.218 → 0.0.220
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/assets/common.css +2 -257
- package/fesm2022/masterteam-components-business-fields.mjs +5 -2
- package/fesm2022/masterteam-components-business-fields.mjs.map +1 -1
- package/fesm2022/masterteam-components-slider-field.mjs +128 -0
- package/fesm2022/masterteam-components-slider-field.mjs.map +1 -0
- package/fesm2022/masterteam-components-statistic-card.mjs +22 -0
- package/fesm2022/masterteam-components-statistic-card.mjs.map +1 -0
- package/fesm2022/masterteam-components-textarea-field.mjs +122 -0
- package/fesm2022/masterteam-components-textarea-field.mjs.map +1 -0
- package/fesm2022/masterteam-components-toggle-field.mjs +2 -2
- package/fesm2022/masterteam-components-toggle-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-topbar.mjs +32 -0
- package/fesm2022/masterteam-components-topbar.mjs.map +1 -0
- package/fesm2022/masterteam-components-tree.mjs +260 -0
- package/fesm2022/masterteam-components-tree.mjs.map +1 -0
- package/fesm2022/masterteam-components.mjs +3 -0
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +16 -16
- package/types/masterteam-components-business-fields.d.ts +5 -1
- package/types/masterteam-components-slider-field.d.ts +41 -0
- package/types/masterteam-components-statistic-card.d.ts +18 -0
- package/types/masterteam-components-textarea-field.d.ts +41 -0
- package/types/masterteam-components-topbar.d.ts +20 -0
- package/types/masterteam-components-tree.d.ts +106 -0
- package/types/masterteam-components.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.220",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/components",
|
|
6
6
|
"linkDirectory": true,
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@angular/cdk": "
|
|
11
|
-
"@angular/common": "
|
|
12
|
-
"@angular/core": "
|
|
13
|
-
"@angular/forms": "
|
|
14
|
-
"@jsverse/transloco": "
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
10
|
+
"@angular/cdk": "catalog:angular21",
|
|
11
|
+
"@angular/common": "catalog:angular21",
|
|
12
|
+
"@angular/core": "catalog:angular21",
|
|
13
|
+
"@angular/forms": "catalog:angular21",
|
|
14
|
+
"@jsverse/transloco": "catalog:i18n",
|
|
15
|
+
"@masterteam/icons": "workspace:^",
|
|
16
|
+
"@primeuix/themes": "catalog:",
|
|
17
|
+
"@tailwindcss/postcss": "catalog:",
|
|
17
18
|
"monaco-editor": "^0.52.0",
|
|
18
|
-
"ngx-quill": "
|
|
19
|
-
"postcss": "
|
|
20
|
-
"primeng": "
|
|
21
|
-
"quill": "
|
|
22
|
-
"tailwindcss": "
|
|
23
|
-
"tailwindcss-primeui": "
|
|
24
|
-
"@masterteam/icons": "^0.0.17"
|
|
19
|
+
"ngx-quill": "catalog:",
|
|
20
|
+
"postcss": "catalog:",
|
|
21
|
+
"primeng": "catalog:",
|
|
22
|
+
"quill": "catalog:",
|
|
23
|
+
"tailwindcss": "catalog:",
|
|
24
|
+
"tailwindcss-primeui": "catalog:"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
},
|
|
263
263
|
"dependencies": {
|
|
264
264
|
"xlsx": "^0.18.5",
|
|
265
|
-
"tslib": "
|
|
265
|
+
"tslib": "catalog:angular21"
|
|
266
266
|
},
|
|
267
267
|
"module": "fesm2022/masterteam-components.mjs",
|
|
268
268
|
"typings": "types/masterteam-components.d.ts",
|
|
@@ -427,6 +427,8 @@ declare class ScheduleItemSelectorField implements ControlValueAccessor {
|
|
|
427
427
|
interface LookupCheckListFormInputs {
|
|
428
428
|
/** Lookup items rendered as collapsible sections. */
|
|
429
429
|
lookupOptions: LookupOptionItemConfig[];
|
|
430
|
+
/** Full lookup catalog used to resolve nested lookup fields. */
|
|
431
|
+
lookups: unknown[];
|
|
430
432
|
/** Property keys to render in each section form. */
|
|
431
433
|
propertyKeys: string[];
|
|
432
434
|
/** Scope module id whose form is loaded once via `process-form-load`. */
|
|
@@ -474,6 +476,8 @@ declare class LookupModuleCheckListField implements ControlValueAccessor, OnInit
|
|
|
474
476
|
readonly required: _angular_core.InputSignal<boolean>;
|
|
475
477
|
/** Lookup items rendered as collapsible checklist sections. */
|
|
476
478
|
readonly lookupOptions: _angular_core.InputSignal<LookupOptionItemConfig[]>;
|
|
479
|
+
/** Full lookup catalog passed to the rich nested form renderer. */
|
|
480
|
+
readonly lookups: _angular_core.InputSignal<unknown[]>;
|
|
477
481
|
/** Module property keys/labels (used by the text fallback + labels). */
|
|
478
482
|
readonly propertyFields: _angular_core.InputSignal<LookupCheckListPropertyConfig[]>;
|
|
479
483
|
/** Scope module id whose form is loaded for each section. */
|
|
@@ -542,7 +546,7 @@ declare class LookupModuleCheckListField implements ControlValueAccessor, OnInit
|
|
|
542
546
|
private normalizeIncoming;
|
|
543
547
|
private extractEntries;
|
|
544
548
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LookupModuleCheckListField, never>;
|
|
545
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LookupModuleCheckListField, "mt-lookup-module-check-list-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "lookupOptions": { "alias": "lookupOptions"; "required": false; "isSignal": true; }; "propertyFields": { "alias": "propertyFields"; "required": false; "isSignal": true; }; "scopeId": { "alias": "scopeId"; "required": false; "isSignal": true; }; "propertyKeys": { "alias": "propertyKeys"; "required": false; "isSignal": true; }; "runtimeContext": { "alias": "runtimeContext"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
549
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LookupModuleCheckListField, "mt-lookup-module-check-list-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "lookupOptions": { "alias": "lookupOptions"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "propertyFields": { "alias": "propertyFields"; "required": false; "isSignal": true; }; "scopeId": { "alias": "scopeId"; "required": false; "isSignal": true; }; "propertyKeys": { "alias": "propertyKeys"; "required": false; "isSignal": true; }; "runtimeContext": { "alias": "runtimeContext"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
546
550
|
}
|
|
547
551
|
|
|
548
552
|
export { ENTITY_LIST_ADD_DIALOG_COMPONENT, EntityListField, LOOKUP_CHECK_LIST_FORM_COMPONENT, LookupMatrixField, LookupModuleCheckListField, ScheduleItemSelectorField, SchedulePredecessorField, SchemaConnectionField };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, NgControl, Validators } from '@angular/forms';
|
|
4
|
+
import { isInvalid } from '@masterteam/components';
|
|
5
|
+
|
|
6
|
+
declare class SliderField implements ControlValueAccessor {
|
|
7
|
+
readonly field: _angular_core.InputSignal<boolean>;
|
|
8
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
9
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
10
|
+
readonly min: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
11
|
+
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
12
|
+
readonly step: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
13
|
+
readonly hideNumber: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
readonly unit: _angular_core.InputSignal<string>;
|
|
15
|
+
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
16
|
+
readonly required: _angular_core.InputSignal<boolean>;
|
|
17
|
+
readonly ngControl: NgControl | null;
|
|
18
|
+
readonly hostClass: _angular_core.Signal<string>;
|
|
19
|
+
readonly fieldId: _angular_core.Signal<string>;
|
|
20
|
+
readonly progressBgStyle: _angular_core.Signal<string>;
|
|
21
|
+
readonly numberInput: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
22
|
+
readonly requiredValidator: typeof Validators.required;
|
|
23
|
+
readonly value: _angular_core.WritableSignal<number | null>;
|
|
24
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
25
|
+
onTouched: () => void;
|
|
26
|
+
onModelChange: (value: number | null) => void;
|
|
27
|
+
isInvalid: typeof isInvalid;
|
|
28
|
+
private readonly defaultId;
|
|
29
|
+
constructor();
|
|
30
|
+
onValueChange(value: number | null): void;
|
|
31
|
+
private syncInputDisplay;
|
|
32
|
+
writeValue(value: number | null): void;
|
|
33
|
+
registerOnChange(fn: (value: number | null) => void): void;
|
|
34
|
+
registerOnTouched(fn: () => void): void;
|
|
35
|
+
setDisabledState(disabled: boolean): void;
|
|
36
|
+
private normalizeValue;
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderField, never>;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SliderField, "mt-slider-field", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hideNumber": { "alias": "hideNumber"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { SliderField };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { MTIcon } from '@masterteam/icons';
|
|
3
|
+
|
|
4
|
+
interface StatisticCardData {
|
|
5
|
+
title: string;
|
|
6
|
+
subTitle: string;
|
|
7
|
+
icon: MTIcon;
|
|
8
|
+
color: string;
|
|
9
|
+
}
|
|
10
|
+
declare class StatisticCard {
|
|
11
|
+
readonly data: _angular_core.InputSignal<StatisticCardData>;
|
|
12
|
+
readonly cardClass: _angular_core.InputSignal<string>;
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatisticCard, never>;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatisticCard, "mt-statistic-card", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "cardClass": { "alias": "cardClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { StatisticCard };
|
|
18
|
+
export type { StatisticCardData };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, Validators, NgControl } from '@angular/forms';
|
|
4
|
+
import { isInvalid } from '@masterteam/components';
|
|
5
|
+
|
|
6
|
+
declare class TextareaField implements ControlValueAccessor, OnInit, OnChanges {
|
|
7
|
+
textarea: HTMLTextAreaElement;
|
|
8
|
+
readonly field: _angular_core.InputSignal<boolean>;
|
|
9
|
+
readonly hint: _angular_core.InputSignal<string | undefined>;
|
|
10
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
11
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
12
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
13
|
+
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
14
|
+
readonly noErrorStyle: _angular_core.InputSignal<boolean>;
|
|
15
|
+
readonly pInputs: _angular_core.InputSignal<Partial<HTMLTextAreaElement> | undefined>;
|
|
16
|
+
readonly rows: _angular_core.InputSignal<string>;
|
|
17
|
+
readonly required: _angular_core.InputSignal<boolean>;
|
|
18
|
+
readonly maxLength: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
19
|
+
styleClass: string;
|
|
20
|
+
requiredValidator: typeof Validators.required;
|
|
21
|
+
private maxLengthValidator;
|
|
22
|
+
value: _angular_core.WritableSignal<string | null>;
|
|
23
|
+
disabled: _angular_core.WritableSignal<boolean>;
|
|
24
|
+
onTouched: () => void;
|
|
25
|
+
onModelChange: (value: string | null) => void;
|
|
26
|
+
ngControl: NgControl | null;
|
|
27
|
+
isInvalid: typeof isInvalid;
|
|
28
|
+
constructor();
|
|
29
|
+
applyInputsToTextarea(): void;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
onValueChange(value: string | null): void;
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
writeValue(value: string): void;
|
|
34
|
+
registerOnChange(fn: any): void;
|
|
35
|
+
registerOnTouched(fn: any): void;
|
|
36
|
+
setDisabledState(disabled: boolean): void;
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaField, never>;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaField, "mt-textarea-field", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "noErrorStyle": { "alias": "noErrorStyle"; "required": false; "isSignal": true; }; "pInputs": { "alias": "pInputs"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { TextareaField };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class Topbar {
|
|
4
|
+
logo: _angular_core.InputSignal<string | undefined>;
|
|
5
|
+
logoLink: _angular_core.InputSignal<string | any[] | undefined>;
|
|
6
|
+
bgColor: _angular_core.InputSignal<string>;
|
|
7
|
+
bgImage: _angular_core.InputSignal<string | undefined>;
|
|
8
|
+
bgRepeat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
textColor: _angular_core.InputSignal<string>;
|
|
10
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
11
|
+
subTitle: _angular_core.InputSignal<string | undefined>;
|
|
12
|
+
showBranding: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
logoClass: _angular_core.InputSignal<string | undefined>;
|
|
14
|
+
titleClass: _angular_core.InputSignal<string | undefined>;
|
|
15
|
+
subTitleClass: _angular_core.InputSignal<string | undefined>;
|
|
16
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Topbar, never>;
|
|
17
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Topbar, "mt-topbar", never, { "logo": { "alias": "logo"; "required": false; "isSignal": true; }; "logoLink": { "alias": "logoLink"; "required": false; "isSignal": true; }; "bgColor": { "alias": "bgColor"; "required": false; "isSignal": true; }; "bgImage": { "alias": "bgImage"; "required": false; "isSignal": true; }; "bgRepeat": { "alias": "bgRepeat"; "required": false; "isSignal": true; }; "textColor": { "alias": "textColor"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subTitle": { "alias": "subTitle"; "required": false; "isSignal": true; }; "showBranding": { "alias": "showBranding"; "required": false; "isSignal": true; }; "logoClass": { "alias": "logoClass"; "required": false; "isSignal": true; }; "titleClass": { "alias": "titleClass"; "required": false; "isSignal": true; }; "subTitleClass": { "alias": "subTitleClass"; "required": false; "isSignal": true; }; }, {}, never, ["[start]", "[actions]"], true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { Topbar };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal } from '@angular/core';
|
|
3
|
+
import { Tree as Tree$1 } from 'primeng/tree';
|
|
4
|
+
import { TreeNode, MenuItem } from 'primeng/api';
|
|
5
|
+
export { TreeNode } from 'primeng/api';
|
|
6
|
+
import { MTIcon } from '@masterteam/icons';
|
|
7
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
8
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Defines an action button for tree nodes
|
|
12
|
+
*/
|
|
13
|
+
interface TreeAction {
|
|
14
|
+
icon?: MTIcon | undefined;
|
|
15
|
+
severity?: 'info' | 'success' | 'warn' | 'danger' | 'secondary' | 'contrast' | 'help' | 'primary';
|
|
16
|
+
variant?: 'text' | 'outlined' | undefined;
|
|
17
|
+
size?: 'small' | 'large' | undefined;
|
|
18
|
+
label?: string;
|
|
19
|
+
tooltip?: string;
|
|
20
|
+
hidden?: (node: any) => boolean;
|
|
21
|
+
action: (node: any) => void;
|
|
22
|
+
loading?: boolean | ((node: any) => boolean);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Defines a context menu action for tree nodes
|
|
26
|
+
*/
|
|
27
|
+
interface TreeContextMenuAction {
|
|
28
|
+
icon?: MTIcon | undefined;
|
|
29
|
+
label: string;
|
|
30
|
+
action: (node: any) => void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Tree action types - all possible events from tree component
|
|
34
|
+
*/
|
|
35
|
+
type TreeActionType = 'selectionChange' | 'nodeSelect' | 'nodeUnselect' | 'nodeExpand' | 'nodeCollapse';
|
|
36
|
+
/**
|
|
37
|
+
* Tree action event interface - unified event structure for all tree actions
|
|
38
|
+
*/
|
|
39
|
+
interface TreeActionEvent {
|
|
40
|
+
action: TreeActionType;
|
|
41
|
+
data: any;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class Tree {
|
|
45
|
+
transloco: TranslocoService;
|
|
46
|
+
dir: Directionality | null;
|
|
47
|
+
readonly primeTree: Signal<Tree$1 | undefined>;
|
|
48
|
+
readonly value: _angular_core.InputSignal<TreeNode<any>[]>;
|
|
49
|
+
readonly selection: _angular_core.ModelSignal<TreeNode<any> | TreeNode<any>[] | null | undefined>;
|
|
50
|
+
readonly selectionMode: _angular_core.InputSignal<"single" | "multiple" | "checkbox" | undefined>;
|
|
51
|
+
readonly nodeIcon: _angular_core.InputSignal<MTIcon | undefined>;
|
|
52
|
+
readonly propagateSelectionUp: _angular_core.InputSignal<boolean>;
|
|
53
|
+
readonly propagateSelectionDown: _angular_core.InputSignal<boolean>;
|
|
54
|
+
readonly checkAllChildren: _angular_core.InputSignal<boolean>;
|
|
55
|
+
readonly loading: _angular_core.InputSignal<boolean>;
|
|
56
|
+
readonly emptyMessage: _angular_core.InputSignal<string>;
|
|
57
|
+
readonly checkAllLabel: _angular_core.InputSignal<string>;
|
|
58
|
+
readonly filterPlaceholder: _angular_core.InputSignal<string>;
|
|
59
|
+
readonly dataKey: _angular_core.InputSignal<"key">;
|
|
60
|
+
readonly filter: _angular_core.InputSignal<boolean>;
|
|
61
|
+
readonly filterMode: _angular_core.InputSignal<"lenient" | "strict">;
|
|
62
|
+
readonly virtualScroll: _angular_core.InputSignal<boolean>;
|
|
63
|
+
readonly virtualScrollItemSize: _angular_core.InputSignal<number>;
|
|
64
|
+
readonly scrollHeight: _angular_core.InputSignal<string | undefined>;
|
|
65
|
+
readonly styleClass: _angular_core.InputSignal<string>;
|
|
66
|
+
readonly style: _angular_core.InputSignal<Record<string, string> | undefined>;
|
|
67
|
+
readonly pInputs: _angular_core.InputSignal<Partial<Tree$1> | undefined>;
|
|
68
|
+
readonly nodeActions: _angular_core.InputSignal<TreeAction[]>;
|
|
69
|
+
readonly nodeContextmenuActions: _angular_core.InputSignal<TreeContextMenuAction[]>;
|
|
70
|
+
readonly contextMenuSelection: _angular_core.ModelSignal<TreeNode<any> | null>;
|
|
71
|
+
readonly contextMenuItems: Signal<MenuItem[]>;
|
|
72
|
+
readonly action: _angular_core.OutputEmitterRef<TreeActionEvent>;
|
|
73
|
+
CheckAllValue: _angular_core.WritableSignal<boolean>;
|
|
74
|
+
readonly treeValue: Signal<TreeNode[]>;
|
|
75
|
+
constructor();
|
|
76
|
+
private isProcessingBatchSelection;
|
|
77
|
+
onSelectionChange(event: TreeNode | TreeNode[] | null): void;
|
|
78
|
+
onNodeSelect(event: {
|
|
79
|
+
node: TreeNode;
|
|
80
|
+
}): void;
|
|
81
|
+
onNodeUnselect(event: {
|
|
82
|
+
node: TreeNode;
|
|
83
|
+
}): void;
|
|
84
|
+
onNodeExpand(event: {
|
|
85
|
+
node: TreeNode;
|
|
86
|
+
}): void;
|
|
87
|
+
onNodeCollapse(event: {
|
|
88
|
+
node: TreeNode;
|
|
89
|
+
}): void;
|
|
90
|
+
onContextMenuSelect(event: TreeNode): void;
|
|
91
|
+
getCheckAllValue(event: any): void;
|
|
92
|
+
toggleNodeExpanded(node: TreeNode, event: MouseEvent): void;
|
|
93
|
+
toggleNodeSelection(node: TreeNode, event: MouseEvent): void;
|
|
94
|
+
handleCheckedNodes(): void;
|
|
95
|
+
/**
|
|
96
|
+
* Clears the tree's search/filter input and resets the filtered nodes.
|
|
97
|
+
*/
|
|
98
|
+
resetFilter(): void;
|
|
99
|
+
resolveActionLoading(action: TreeAction, node: any): boolean | undefined;
|
|
100
|
+
nodeAction(action: TreeAction, node: any): void;
|
|
101
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tree, never>;
|
|
102
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tree, "mt-tree", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "nodeIcon": { "alias": "nodeIcon"; "required": false; "isSignal": true; }; "propagateSelectionUp": { "alias": "propagateSelectionUp"; "required": false; "isSignal": true; }; "propagateSelectionDown": { "alias": "propagateSelectionDown"; "required": false; "isSignal": true; }; "checkAllChildren": { "alias": "checkAllChildren"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "checkAllLabel": { "alias": "checkAllLabel"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "pInputs": { "alias": "pInputs"; "required": false; "isSignal": true; }; "nodeActions": { "alias": "nodeActions"; "required": false; "isSignal": true; }; "nodeContextmenuActions": { "alias": "nodeContextmenuActions"; "required": false; "isSignal": true; }; "contextMenuSelection": { "alias": "contextMenuSelection"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; "contextMenuSelection": "contextMenuSelectionChange"; "action": "action"; }, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { Tree };
|
|
106
|
+
export type { TreeAction, TreeActionEvent, TreeActionType, TreeContextMenuAction };
|
|
@@ -590,6 +590,8 @@ interface LookupModuleCheckListFieldRuntimeContext {
|
|
|
590
590
|
declare class LookupModuleCheckListFieldConfig extends BaseFieldConfig {
|
|
591
591
|
/** Lookup items rendered as collapsible checklist sections. */
|
|
592
592
|
lookupOptions: LookupOptionItemConfig[];
|
|
593
|
+
/** Full lookup catalog passed through to the rich nested form renderer. */
|
|
594
|
+
lookups: unknown[];
|
|
593
595
|
/** Module property keys/labels captured per checklist entry. */
|
|
594
596
|
propertyFields: LookupCheckListPropertyConfig[];
|
|
595
597
|
/** Scope module id whose form is loaded for each section. */
|
|
@@ -602,6 +604,7 @@ declare class LookupModuleCheckListFieldConfig extends BaseFieldConfig {
|
|
|
602
604
|
configuration: any;
|
|
603
605
|
constructor(config: Omit<BaseFieldConstructorConfig, 'type'> & {
|
|
604
606
|
lookupOptions?: LookupOptionItemConfig[];
|
|
607
|
+
lookups?: unknown[];
|
|
605
608
|
propertyFields?: LookupCheckListPropertyConfig[];
|
|
606
609
|
scopeId?: number | string | null;
|
|
607
610
|
propertyKeys?: string[];
|