@unifylib/ui-lib 1.2.11 → 1.2.13
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/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +22 -4
- package/esm2022/lib/components/multi-auto-complete/multi-auto-complete.component.mjs +92 -48
- package/esm2022/lib/components/section-form-canvas/section-form-canvas.component.mjs +9 -3
- package/fesm2022/unifylib-ui-lib.mjs +120 -50
- package/fesm2022/unifylib-ui-lib.mjs.map +1 -1
- package/lib/components/base-form-canvas/base-form-canvas.component.d.ts +2 -1
- package/lib/components/multi-auto-complete/multi-auto-complete.component.d.ts +8 -3
- package/lib/components/section-form-canvas/section-form-canvas.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -73,7 +73,7 @@ export declare class BaseFormCanvasComponent implements OnInit, OnChanges, OnDes
|
|
|
73
73
|
get defaults(): any | undefined;
|
|
74
74
|
constructor(translateService: TranslateService, activatedRoute: ActivatedRoute, backendService: BackendService, fb: FormBuilder, announcer: LiveAnnouncer);
|
|
75
75
|
ngOnInit(): void;
|
|
76
|
-
formatTimeToDate(v: any): Date;
|
|
76
|
+
formatTimeToDate(v: any): "" | Date;
|
|
77
77
|
patchLookupValue($event: LookupItem, fieldName: string): void;
|
|
78
78
|
getBankName(fieldName: string): string;
|
|
79
79
|
patchMultiSelectValue($event: LookupItem[], fieldName: string): void;
|
|
@@ -92,6 +92,7 @@ export declare class BaseFormCanvasComponent implements OnInit, OnChanges, OnDes
|
|
|
92
92
|
labelKey(column: any): string;
|
|
93
93
|
labelKeyPlaceHolder(column: any): string;
|
|
94
94
|
blockNegativeNumberKeydown(event: KeyboardEvent, field: FieldInfo): void;
|
|
95
|
+
openTimePicker(input: HTMLInputElement): void;
|
|
95
96
|
getErrors(prop: string): string;
|
|
96
97
|
getFirstErrorKey(prop: string): string;
|
|
97
98
|
getCountryCodeList(): string[];
|
|
@@ -23,12 +23,15 @@ export declare class MultiAutoCompleteComponent {
|
|
|
23
23
|
defaultValue: any;
|
|
24
24
|
pathParam: any;
|
|
25
25
|
readonly: boolean;
|
|
26
|
+
labelsSection?: string;
|
|
26
27
|
selectedValue: EventEmitter<LookupItem[]>;
|
|
27
28
|
question: string;
|
|
28
29
|
multiControl: FormControl<any>;
|
|
29
30
|
constructor(backendService: BackendService, translateService: TranslateService);
|
|
30
31
|
ngOnInit(): void;
|
|
31
32
|
private updateFieldAttributes;
|
|
33
|
+
private syncFormControlState;
|
|
34
|
+
private updateInputValidators;
|
|
32
35
|
private removeChildItemsIfCascadedByRemoved;
|
|
33
36
|
ngOnChanges({ defaultValue, field }: SimpleChanges): void;
|
|
34
37
|
private getLookupData;
|
|
@@ -43,11 +46,13 @@ export declare class MultiAutoCompleteComponent {
|
|
|
43
46
|
filterLookupItems(name: any, trigger: MatAutocompleteTrigger): void;
|
|
44
47
|
private patchLookupValue;
|
|
45
48
|
remove(item: LookupItem): void;
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
getPlaceholderKey(): string;
|
|
50
|
+
get showInputPlaceholder(): boolean;
|
|
51
|
+
onInputClick(autocompleteTrigger: MatAutocompleteTrigger): void;
|
|
52
|
+
onTriggerClick(event: MouseEvent, autocompleteTrigger: MatAutocompleteTrigger): void;
|
|
48
53
|
onKeydown(event: KeyboardEvent, autocompleteTrigger: MatAutocompleteTrigger): void;
|
|
49
54
|
openLookupPanel(autocompleteTrigger: MatAutocompleteTrigger): void;
|
|
50
55
|
getId(): string;
|
|
51
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiAutoCompleteComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiAutoCompleteComponent, "app-multi-auto-complete", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "selectedValue": "selectedValue"; }, never,
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiAutoCompleteComponent, "app-multi-auto-complete", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelsSection": { "alias": "labelsSection"; "required": false; }; }, { "selectedValue": "selectedValue"; }, never, never, true, never>;
|
|
53
58
|
}
|
|
@@ -17,6 +17,7 @@ export declare class SectionFormCanvasComponent {
|
|
|
17
17
|
hideToggle: boolean;
|
|
18
18
|
isExpanded: boolean;
|
|
19
19
|
alwaysOpen: boolean;
|
|
20
|
+
attachmentEmitter: EventEmitter<any>;
|
|
20
21
|
expansionHeaderTabIndex: number;
|
|
21
22
|
actionEdit: EventEmitter<any>;
|
|
22
23
|
formEdit: EventEmitter<FormGroup>;
|
|
@@ -29,6 +30,7 @@ export declare class SectionFormCanvasComponent {
|
|
|
29
30
|
onButtonClick(btn: ButtonActionSettings, sectionKey: number): void;
|
|
30
31
|
getDownloadButton(): ButtonActionSettings | undefined;
|
|
31
32
|
getMenuButtons(): ButtonActionSettings[];
|
|
33
|
+
attachmentHandler($event: any): void;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionFormCanvasComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SectionFormCanvasComponent, "lib-section-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "item": { "alias": "item"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isTranslateTitle": { "alias": "isTranslateTitle"; "required": false; }; "isTranslateSubtitle": { "alias": "isTranslateSubtitle"; "required": false; }; "key": { "alias": "key"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "expansionHeaderTabIndex": { "alias": "expansionHeaderTabIndex"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "itemStatus": { "alias": "itemStatus"; "required": false; }; }, { "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never, ["*"], true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionFormCanvasComponent, "lib-section-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "item": { "alias": "item"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isTranslateTitle": { "alias": "isTranslateTitle"; "required": false; }; "isTranslateSubtitle": { "alias": "isTranslateSubtitle"; "required": false; }; "key": { "alias": "key"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "expansionHeaderTabIndex": { "alias": "expansionHeaderTabIndex"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "itemStatus": { "alias": "itemStatus"; "required": false; }; }, { "attachmentEmitter": "attachmentEmitter"; "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never, ["*"], true, never>;
|
|
34
36
|
}
|