@unifylib/ui-lib 1.1.67 → 1.2.2
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/audit-log-entry.mjs +1 -1
- package/esm2022/lib/base-model/field-info.mjs +2 -1
- package/esm2022/lib/components/action-comment/action-comment.component.mjs +3 -3
- package/esm2022/lib/components/audit-log-list/audit-log.component.mjs +58 -22
- package/esm2022/lib/components/base-form/base-form.component.mjs +1 -1
- package/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +25 -3
- package/esm2022/lib/components/base-table/base-table.component.mjs +24 -31
- package/esm2022/lib/components/permission-matrix/permission-matrix.component.mjs +67 -4
- package/esm2022/lib/components/section-form-canvas/section-form-canvas.component.mjs +11 -3
- package/esm2022/lib/components/snackbar-static/snackbar-static.component.mjs +2 -2
- package/esm2022/lib/components/title-bar/title-bar.component.mjs +3 -3
- package/esm2022/lib/utils/base-utils.mjs +6 -3
- package/fesm2022/iq-ui-lib.mjs +201 -74
- package/fesm2022/iq-ui-lib.mjs.map +1 -1
- package/fesm2022/unifylib-ui-lib.mjs +201 -74
- package/fesm2022/unifylib-ui-lib.mjs.map +1 -1
- package/lib/base-model/audit-log-entry.d.ts +1 -0
- package/lib/base-model/field-info.d.ts +1 -0
- package/lib/components/audit-log-list/audit-log.component.d.ts +6 -2
- package/lib/components/base-form-canvas/base-form-canvas.component.d.ts +1 -0
- package/lib/components/base-table/base-table.component.d.ts +3 -4
- package/lib/components/permission-matrix/permission-matrix.component.d.ts +8 -1
- package/lib/components/section-form-canvas/section-form-canvas.component.d.ts +3 -1
- package/package.json +4 -1
|
@@ -19,11 +19,15 @@ export declare class AuditLogComponent implements OnInit {
|
|
|
19
19
|
identifier: string;
|
|
20
20
|
fields: FieldInfo[];
|
|
21
21
|
showHiddenFields: string[];
|
|
22
|
-
|
|
22
|
+
nameField: string;
|
|
23
|
+
auditRecordId: number | string | null;
|
|
23
24
|
currentDirection: 'ltr' | 'rtl';
|
|
24
25
|
constructor(dialog: MatDialog, activatedRoute: ActivatedRoute, directionality: Directionality, securityManager: any, backendService: BackendService);
|
|
25
26
|
ngOnInit(): void;
|
|
27
|
+
private resolveStateRecord;
|
|
26
28
|
private loadItem;
|
|
29
|
+
getSubjectName(entry: AuditLogEntry): string;
|
|
30
|
+
private resolveFieldPath;
|
|
27
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogComponent, "app-audit-log", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "statusName": { "alias": "statusName"; "required": false; }; "module": { "alias": "module"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "showHiddenFields": { "alias": "showHiddenFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogComponent, "app-audit-log", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "statusName": { "alias": "statusName"; "required": false; }; "module": { "alias": "module"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "showHiddenFields": { "alias": "showHiddenFields"; "required": false; }; "nameField": { "alias": "nameField"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
33
|
}
|
|
@@ -90,6 +90,7 @@ export declare class BaseFormCanvasComponent implements OnInit, OnChanges, OnDes
|
|
|
90
90
|
private resetFilterFormValues;
|
|
91
91
|
labelKey(column: any): string;
|
|
92
92
|
labelKeyPlaceHolder(column: any): string;
|
|
93
|
+
blockNegativeNumberKeydown(event: KeyboardEvent, field: FieldInfo): void;
|
|
93
94
|
getErrors(prop: string): string;
|
|
94
95
|
getFirstErrorKey(prop: string): string;
|
|
95
96
|
getCountryCodeList(): string[];
|
|
@@ -13,11 +13,13 @@ import { Workflow } from "../../base-model/workflow/workflow.model";
|
|
|
13
13
|
import { Router } from "@angular/router";
|
|
14
14
|
import { LiveAnnouncer } from "@angular/cdk/a11y";
|
|
15
15
|
import { FieldFilter } from "../../base-model/field-filter.model";
|
|
16
|
+
import { BreakpointObserver } from "@angular/cdk/layout";
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
export declare class BaseTableComponent extends BaseUtils implements OnInit, OnChanges, OnDestroy {
|
|
18
19
|
private backendService;
|
|
19
20
|
translateService: TranslateService;
|
|
20
21
|
shareDataService: ShareDataService;
|
|
22
|
+
private breakpointObserver;
|
|
21
23
|
private securityManager;
|
|
22
24
|
private router;
|
|
23
25
|
private readonly liveAnnouncer;
|
|
@@ -94,11 +96,9 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
94
96
|
noDataFound: boolean;
|
|
95
97
|
totalRequiredCountItem: number;
|
|
96
98
|
clickRoutePage: EventEmitter<any>;
|
|
97
|
-
constructor(backendService: BackendService, translateService: TranslateService, shareDataService: ShareDataService, securityManager: any, router: Router, liveAnnouncer: LiveAnnouncer);
|
|
99
|
+
constructor(backendService: BackendService, translateService: TranslateService, shareDataService: ShareDataService, breakpointObserver: BreakpointObserver, securityManager: any, router: Router, liveAnnouncer: LiveAnnouncer);
|
|
98
100
|
ngOnDestroy(): void;
|
|
99
101
|
ngOnInit(): void;
|
|
100
|
-
private isMobile;
|
|
101
|
-
private initializeMobilePageSize;
|
|
102
102
|
onPageChange(event: number): void;
|
|
103
103
|
extractFieldName(element: any, property: string): any;
|
|
104
104
|
get visibleColumns(): string[];
|
|
@@ -109,7 +109,6 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
109
109
|
onSortHeaderKeydown(event: KeyboardEvent, columnProp: string): void;
|
|
110
110
|
/** aria-sort on sortable column headers (WCAG table semantics). */
|
|
111
111
|
getColumnAriaSort(columnProp: string): 'ascending' | 'descending' | 'none' | null;
|
|
112
|
-
onDefaultCellLinkKeydown(event: KeyboardEvent, row: unknown): void;
|
|
113
112
|
sortState: any;
|
|
114
113
|
getNext(pageIndex: number): void;
|
|
115
114
|
onPageSizeChange(event: number): void;
|
|
@@ -9,6 +9,8 @@ export declare class PermissionMatrixComponent {
|
|
|
9
9
|
expandAllLabelKey: string;
|
|
10
10
|
collapseAllLabelKey: string;
|
|
11
11
|
readonly: boolean;
|
|
12
|
+
hideSelectAll: boolean;
|
|
13
|
+
autoLockView: boolean;
|
|
12
14
|
itemsChange: EventEmitter<PermissionMatrixItem[]>;
|
|
13
15
|
permissionChange: EventEmitter<PermissionChangeEvent>;
|
|
14
16
|
areAllExpanded(): boolean;
|
|
@@ -17,10 +19,15 @@ export declare class PermissionMatrixComponent {
|
|
|
17
19
|
isAllPermissionsSelected(item: PermissionMatrixItem): boolean;
|
|
18
20
|
toggleSelectAll(item: PermissionMatrixItem): void;
|
|
19
21
|
isPermissionSelected(item: PermissionMatrixItem, permission: PermissionConfig): boolean;
|
|
22
|
+
isPermissionDisabled(item: PermissionMatrixItem, permission: PermissionConfig): boolean;
|
|
20
23
|
togglePermission(item: PermissionMatrixItem, permission: PermissionConfig): void;
|
|
24
|
+
private hasNonViewPermission;
|
|
25
|
+
private clearAllPermissions;
|
|
26
|
+
/** Auto-select view when any non-view permission is selected; never auto-clear view. */
|
|
27
|
+
private syncViewPermission;
|
|
21
28
|
private emitItemsChange;
|
|
22
29
|
trackByItem(index: number, item: PermissionMatrixItem): string | number;
|
|
23
30
|
trackByPermission(index: number, permission: PermissionConfig): string;
|
|
24
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionMatrixComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionMatrixComponent, "lib-permission-matrix", never, { "items": { "alias": "items"; "required": false; }; "permissions": { "alias": "permissions"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "selectAllLabelKey": { "alias": "selectAllLabelKey"; "required": false; }; "expandAllLabelKey": { "alias": "expandAllLabelKey"; "required": false; }; "collapseAllLabelKey": { "alias": "collapseAllLabelKey"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "itemsChange": "itemsChange"; "permissionChange": "permissionChange"; }, never, never, true, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionMatrixComponent, "lib-permission-matrix", never, { "items": { "alias": "items"; "required": false; }; "permissions": { "alias": "permissions"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "selectAllLabelKey": { "alias": "selectAllLabelKey"; "required": false; }; "expandAllLabelKey": { "alias": "expandAllLabelKey"; "required": false; }; "collapseAllLabelKey": { "alias": "collapseAllLabelKey"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hideSelectAll": { "alias": "hideSelectAll"; "required": false; }; "autoLockView": { "alias": "autoLockView"; "required": false; }; }, { "itemsChange": "itemsChange"; "permissionChange": "permissionChange"; }, never, never, true, never>;
|
|
26
33
|
}
|
|
@@ -17,6 +17,7 @@ export declare class SectionFormCanvasComponent {
|
|
|
17
17
|
hideToggle: boolean;
|
|
18
18
|
isExpanded: boolean;
|
|
19
19
|
alwaysOpen: boolean;
|
|
20
|
+
expansionHeaderTabIndex: number;
|
|
20
21
|
actionEdit: EventEmitter<any>;
|
|
21
22
|
formEdit: EventEmitter<FormGroup>;
|
|
22
23
|
buttons: ButtonActionSettings[];
|
|
@@ -24,9 +25,10 @@ export declare class SectionFormCanvasComponent {
|
|
|
24
25
|
buttonClicked: EventEmitter<any>;
|
|
25
26
|
formUpdated($event: any): void;
|
|
26
27
|
toggleExpand(): void;
|
|
28
|
+
onPanelHeaderChildKeydown(event: KeyboardEvent): void;
|
|
27
29
|
onButtonClick(btn: ButtonActionSettings, sectionKey: number): void;
|
|
28
30
|
getDownloadButton(): ButtonActionSettings | undefined;
|
|
29
31
|
getMenuButtons(): ButtonActionSettings[];
|
|
30
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionFormCanvasComponent, never>;
|
|
31
|
-
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; }; "buttons": { "alias": "buttons"; "required": false; }; "itemStatus": { "alias": "itemStatus"; "required": false; }; }, { "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never, ["*"], true, 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>;
|
|
32
34
|
}
|