@unifylib/ui-lib 1.1.23 → 1.1.25
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/base-model/field-info.mjs +1 -1
- package/esm2022/lib/components/activity-report-form/activity-report-form.component.mjs +2 -2
- package/esm2022/lib/components/base-form/base-form.component.mjs +2 -2
- package/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +5 -3
- package/esm2022/lib/components/base-input-dialog/base-input-dialog.component.mjs +2 -2
- package/esm2022/lib/components/base-table/base-table.component.mjs +33 -29
- package/esm2022/lib/components/editable-base-table/editable-base-table.component.mjs +2 -2
- package/esm2022/lib/components/item-line-editor/item-line-editor.component.mjs +3 -3
- package/esm2022/lib/components/report-details-dialog/report-details-dialog.component.mjs +2 -2
- package/esm2022/lib/components/report-form/report-form.component.mjs +2 -2
- package/esm2022/lib/components/shared-list/shared-list.component.mjs +2 -2
- package/esm2022/lib/components/title-bar/title-bar.component.mjs +46 -8
- package/fesm2022/iq-ui-lib.mjs +89 -44
- package/fesm2022/iq-ui-lib.mjs.map +1 -1
- package/fesm2022/unifylib-ui-lib.mjs +89 -44
- package/fesm2022/unifylib-ui-lib.mjs.map +1 -1
- package/lib/base-model/field-info.d.ts +1 -1
- package/lib/components/base-table/base-table.component.d.ts +8 -3
- package/lib/components/title-bar/title-bar.component.d.ts +12 -3
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ export declare class FieldInfo {
|
|
|
5
5
|
targetProperty?: string;
|
|
6
6
|
row: number;
|
|
7
7
|
required: boolean;
|
|
8
|
-
type: 'text' | 'amount' | 'color-picker' | 'currency' | 'date' | 'number' | 'sequence' | 'list' | 'lookup' | 'multi-select' | 'password' | 'rich-text' | 'radio-button' | 'phone-number' | 'iban-text' | 'checkbox' | 'textarea' | 'button' | 'spacer' | 'attachment' | 'section-title' | 'chip-list' | 'time' | 'divider' | 'hyper-text' | 'stateType' | 'status' | 'year' | 'equation-builder';
|
|
8
|
+
type: 'text' | 'amount' | 'color-picker' | 'currency' | 'date' | 'number' | 'sequence' | 'list' | 'lookup' | 'multi-select' | 'password' | 'rich-text' | 'radio-button' | 'phone-number' | 'iban-text' | 'checkbox' | 'textarea' | 'button' | 'spacer' | 'attachment' | 'section-title' | 'chip-list' | 'time' | 'divider' | 'hyper-text' | 'stateType' | 'status' | 'year' | 'equation-builder' | 'toggle';
|
|
9
9
|
textFormat?: 'json';
|
|
10
10
|
readonly?: boolean;
|
|
11
11
|
viewonly?: boolean;
|
|
@@ -55,10 +55,13 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
55
55
|
enablePagination: boolean;
|
|
56
56
|
data?: MatTableDataSource<any>;
|
|
57
57
|
listAction: ButtonActionSettings[];
|
|
58
|
+
extraActions: ButtonActionSettings[];
|
|
59
|
+
buttonsDisplayMode: 'dropdown' | 'list';
|
|
58
60
|
columns: TableColumn<any>[];
|
|
59
61
|
filters: Filter[];
|
|
60
62
|
pathParam: number;
|
|
61
|
-
extraButton:
|
|
63
|
+
extraButton: ButtonActionSettings[];
|
|
64
|
+
buttonClicked: EventEmitter<ButtonActionSettings>;
|
|
62
65
|
enforceRefresh: boolean;
|
|
63
66
|
isPending: boolean;
|
|
64
67
|
trigger: boolean;
|
|
@@ -110,7 +113,8 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
110
113
|
emitRoutePage(element: any): void;
|
|
111
114
|
onSelectItem(row: any): void;
|
|
112
115
|
openNewTab(row: any): void;
|
|
113
|
-
|
|
116
|
+
onViewModeChangedReceived(isPending: boolean): void;
|
|
117
|
+
switchViewMode(isPending: boolean): void;
|
|
114
118
|
onAddNewAction($event: any): void;
|
|
115
119
|
showAddNew(): boolean;
|
|
116
120
|
onExtraButtionAction($event: any): void;
|
|
@@ -139,6 +143,7 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
139
143
|
getDisplaySvgPath(): string;
|
|
140
144
|
getDisplayTitle(): string;
|
|
141
145
|
getDisplaySubtitle(): string;
|
|
146
|
+
buttonClickedEvent($event: ButtonActionSettings): void;
|
|
142
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTableComponent, never>;
|
|
143
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTableComponent, "app-base-table", never, { "filterFields": { "alias": "filterFields"; "required": false; }; "noDataFoundSvgPath": { "alias": "noDataFoundSvgPath"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "required": false; }; "noResultSvgPath": { "alias": "noResultSvgPath"; "required": false; }; "noResultTitle": { "alias": "noResultTitle"; "required": false; }; "noResultSubtitle": { "alias": "noResultSubtitle"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; }; "data": { "alias": "data"; "required": false; }; "listAction": { "alias": "listAction"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "enforceRefresh": { "alias": "enforceRefresh"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "reportRequest": { "alias": "reportRequest"; "required": false; }; "separateEndpointData": { "alias": "separateEndpointData"; "required": false; }; "manageablePages": { "alias": "manageablePages"; "required": false; }; "totalPagesCount": { "alias": "totalPagesCount"; "required": false; }; "currentPageIndex": { "alias": "currentPageIndex"; "required": false; }; "customizedData": { "alias": "customizedData"; "required": false; }; }, { "pageChange": "pageChange"; "userAction": "userAction"; "hyperLinkAction": "hyperLinkAction"; "extraAction": "extraAction"; "selectedColumn": "selectedColumn"; "listActionClicked": "listActionClicked"; "showDialog": "showDialog"; "clickRoutePage": "clickRoutePage"; }, never, never, true, never>;
|
|
148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTableComponent, "app-base-table", never, { "filterFields": { "alias": "filterFields"; "required": false; }; "noDataFoundSvgPath": { "alias": "noDataFoundSvgPath"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "required": false; }; "noResultSvgPath": { "alias": "noResultSvgPath"; "required": false; }; "noResultTitle": { "alias": "noResultTitle"; "required": false; }; "noResultSubtitle": { "alias": "noResultSubtitle"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; }; "data": { "alias": "data"; "required": false; }; "listAction": { "alias": "listAction"; "required": false; }; "extraActions": { "alias": "extraActions"; "required": false; }; "buttonsDisplayMode": { "alias": "buttonsDisplayMode"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "enforceRefresh": { "alias": "enforceRefresh"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "reportRequest": { "alias": "reportRequest"; "required": false; }; "separateEndpointData": { "alias": "separateEndpointData"; "required": false; }; "manageablePages": { "alias": "manageablePages"; "required": false; }; "totalPagesCount": { "alias": "totalPagesCount"; "required": false; }; "currentPageIndex": { "alias": "currentPageIndex"; "required": false; }; "customizedData": { "alias": "customizedData"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "pageChange": "pageChange"; "userAction": "userAction"; "hyperLinkAction": "hyperLinkAction"; "extraAction": "extraAction"; "selectedColumn": "selectedColumn"; "listActionClicked": "listActionClicked"; "showDialog": "showDialog"; "clickRoutePage": "clickRoutePage"; }, never, never, true, never>;
|
|
144
149
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Location } from "@angular/common";
|
|
3
3
|
import { Directionality } from "@angular/cdk/bidi";
|
|
4
|
-
import { ButtonActionSettings } from "../../base-model";
|
|
4
|
+
import { ButtonActionSettings, PageInfo } from "../../base-model";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TitleBarComponent implements OnInit, OnChanges {
|
|
7
7
|
private location;
|
|
@@ -10,6 +10,7 @@ export declare class TitleBarComponent implements OnInit, OnChanges {
|
|
|
10
10
|
showExtractButton: boolean;
|
|
11
11
|
totalElements?: number;
|
|
12
12
|
titleMode: string;
|
|
13
|
+
pageInfo: PageInfo;
|
|
13
14
|
subTitle: string;
|
|
14
15
|
statusDesc?: string;
|
|
15
16
|
newAction: boolean;
|
|
@@ -29,15 +30,23 @@ export declare class TitleBarComponent implements OnInit, OnChanges {
|
|
|
29
30
|
buttons: ButtonActionSettings[];
|
|
30
31
|
buttonsDisplayMode: 'dropdown' | 'list';
|
|
31
32
|
buttonClicked: EventEmitter<ButtonActionSettings>;
|
|
33
|
+
draftSupported: boolean;
|
|
34
|
+
isPending: boolean;
|
|
35
|
+
onViewModeChange?: (isPending: boolean) => void;
|
|
36
|
+
viewModeChanged: EventEmitter<boolean>;
|
|
37
|
+
private _isPending;
|
|
32
38
|
constructor(location: Location, dir: Directionality);
|
|
33
39
|
ngOnInit(): void;
|
|
40
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
+
get currentIsPending(): boolean;
|
|
34
42
|
get backIcon(): string;
|
|
35
43
|
publishEvent(): void;
|
|
36
44
|
doExtractReport(value: any): void;
|
|
37
45
|
publishExtraButtonEvent(): void;
|
|
38
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
39
46
|
goBack(): void;
|
|
40
47
|
onButtonClick(btn: ButtonActionSettings): void;
|
|
48
|
+
onViewModeChanged(isPending: boolean): void;
|
|
49
|
+
onChipSelectionChange(event: any): void;
|
|
41
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<TitleBarComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TitleBarComponent, "app-title-bar", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "showExtractButton": { "alias": "showExtractButton"; "required": false; }; "totalElements": { "alias": "totalElements"; "required": false; }; "titleMode": { "alias": "titleMode"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "statusDesc": { "alias": "statusDesc"; "required": false; }; "newAction": { "alias": "newAction"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "showDetails": { "alias": "showDetails"; "required": false; }; "showImport": { "alias": "showImport"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "extraData": { "alias": "extraData"; "required": false; }; "titleCorporateAdmin": { "alias": "titleCorporateAdmin"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "buttonsDisplayMode": { "alias": "buttonsDisplayMode"; "required": false; }; }, { "newActionClicked": "newActionClicked"; "extraButtonClicked": "extraButtonClicked"; "extractReport": "extractReport"; "buttonClicked": "buttonClicked"; }, never, never, true, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TitleBarComponent, "app-title-bar", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "showExtractButton": { "alias": "showExtractButton"; "required": false; }; "totalElements": { "alias": "totalElements"; "required": false; }; "titleMode": { "alias": "titleMode"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "statusDesc": { "alias": "statusDesc"; "required": false; }; "newAction": { "alias": "newAction"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "showDetails": { "alias": "showDetails"; "required": false; }; "showImport": { "alias": "showImport"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "extraData": { "alias": "extraData"; "required": false; }; "titleCorporateAdmin": { "alias": "titleCorporateAdmin"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "buttonsDisplayMode": { "alias": "buttonsDisplayMode"; "required": false; }; "draftSupported": { "alias": "draftSupported"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "onViewModeChange": { "alias": "onViewModeChange"; "required": false; }; }, { "newActionClicked": "newActionClicked"; "extraButtonClicked": "extraButtonClicked"; "extractReport": "extractReport"; "buttonClicked": "buttonClicked"; "viewModeChanged": "viewModeChanged"; }, never, never, true, never>;
|
|
43
52
|
}
|