@unifylib/ui-lib 1.0.3 → 1.0.64
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/iq-ui-lib.mjs +5 -0
- package/esm2022/lib/base-model/SearchStrConfig.mjs +11 -0
- package/esm2022/lib/base-model/api-response.mjs +2 -0
- package/esm2022/lib/base-model/audit-log-entry.mjs +3 -0
- package/esm2022/lib/base-model/button-action-settings.mjs +17 -0
- package/esm2022/lib/base-model/column-def.model.mjs +28 -0
- package/esm2022/lib/base-model/do-action-request.mjs +8 -0
- package/esm2022/lib/base-model/field-action.mjs +6 -0
- package/esm2022/lib/base-model/field-filter.model.mjs +3 -0
- package/esm2022/lib/base-model/field-info.mjs +64 -0
- package/esm2022/lib/base-model/field-predicate.model.mjs +10 -0
- package/esm2022/lib/base-model/filter-request.mjs +13 -0
- package/esm2022/lib/base-model/filter.model.mjs +25 -0
- package/esm2022/lib/base-model/get-items-list.mjs +10 -0
- package/esm2022/lib/base-model/index.mjs +13 -0
- package/esm2022/lib/base-model/items-total.model.mjs +8 -0
- package/esm2022/lib/base-model/line-item.model.mjs +12 -0
- package/esm2022/lib/base-model/lookupItem.mjs +16 -0
- package/esm2022/lib/base-model/page-info.mjs +17 -0
- package/esm2022/lib/base-model/permission-matrix.model.mjs +2 -0
- package/esm2022/lib/base-model/report-request.model.mjs +17 -0
- package/esm2022/lib/base-model/response-envelop.model.mjs +10 -0
- package/esm2022/lib/base-model/snack-message.model.mjs +11 -0
- package/esm2022/lib/base-model/table-column.interface.mjs +2 -0
- package/esm2022/lib/base-model/table-page-user-action.interface.mjs +21 -0
- package/esm2022/lib/base-model/workflow/workflow-steps.model.mjs +9 -0
- package/esm2022/lib/base-model/workflow/workflow.model.mjs +42 -0
- package/esm2022/lib/components/action-comment/action-comment.component.mjs +111 -0
- package/esm2022/lib/components/action-confirmation/action-confirmation.component.mjs +68 -0
- package/esm2022/lib/components/activity-report-form/activity-report-form.component.mjs +486 -0
- package/esm2022/lib/components/advanced-filter/field-filter/field-filter.component.mjs +44 -0
- package/esm2022/lib/components/advanced-filter/filter-builder/filter-builder.component.mjs +323 -0
- package/esm2022/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.mjs +70 -0
- package/esm2022/lib/components/audit-log-list/audit-log.component.mjs +97 -0
- package/esm2022/lib/components/auto-complete/auto-complete.component.mjs +300 -0
- package/esm2022/lib/components/base-form/base-form.component.mjs +284 -0
- package/esm2022/lib/components/base-form-canvas/MaxDigitsDirective.mjs +29 -0
- package/esm2022/lib/components/base-form-canvas/NumbersOnlyDirective.mjs +132 -0
- package/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +789 -0
- package/esm2022/lib/components/base-input-dialog/base-input-dialog.component.mjs +72 -0
- package/esm2022/lib/components/base-table/base-table.component.mjs +708 -0
- package/esm2022/lib/components/button-actions/button-actions.component.mjs +101 -0
- package/esm2022/lib/components/editable-base-table/editable-base-table.component.mjs +507 -0
- package/esm2022/lib/components/equation-builder/equation-builder.component.mjs +117 -0
- package/esm2022/lib/components/item-line-editor/item-line-editor.component.mjs +322 -0
- package/esm2022/lib/components/multi-auto-complete/multi-auto-complete.component.mjs +294 -0
- package/esm2022/lib/components/paginator/paginator.component.mjs +181 -0
- package/esm2022/lib/components/permission-matrix/permission-matrix.component.mjs +129 -0
- package/esm2022/lib/components/report-details-dialog/report-details-dialog.component.mjs +102 -0
- package/esm2022/lib/components/report-form/report-form.component.mjs +485 -0
- package/esm2022/lib/components/search-bar/search-bar.component.mjs +63 -0
- package/esm2022/lib/components/section-form-canvas/section-form-canvas.component.mjs +99 -0
- package/esm2022/lib/components/shared/action-button/action-button.component.mjs +59 -0
- package/esm2022/lib/components/shared/action-card/action-card.component.mjs +93 -0
- package/esm2022/lib/components/shared/attachment-uploader/attachment-uploader.component.mjs +74 -0
- package/esm2022/lib/components/shared-list/shared-list.component.mjs +47 -0
- package/esm2022/lib/components/snackbar-static/snackbar-static.component.mjs +43 -0
- package/esm2022/lib/components/title-bar/title-bar.component.mjs +185 -0
- package/esm2022/lib/services/backend-service.mjs +241 -0
- package/esm2022/lib/services/index.mjs +4 -0
- package/esm2022/lib/services/top-panel.mjs +22 -0
- package/esm2022/lib/services/trigger-form.service.mjs +17 -0
- package/esm2022/lib/utils/base-utils.mjs +101 -0
- package/esm2022/lib/validators/date-range-validator.mjs +27 -0
- package/esm2022/lib/validators/index.mjs +4 -0
- package/esm2022/lib/validators/match-list.validator.mjs +9 -0
- package/esm2022/lib/validators/multi-email-validator.mjs +13 -0
- package/esm2022/public-api.mjs +30 -0
- package/esm2022/unifylib-ui-lib.mjs +5 -0
- package/fesm2022/iq-ui-lib.mjs +6552 -0
- package/fesm2022/iq-ui-lib.mjs.map +1 -0
- package/fesm2022/unifylib-ui-lib.mjs +6713 -0
- package/fesm2022/unifylib-ui-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/base-model/SearchStrConfig.d.ts +8 -0
- package/{src/lib/base-model/api-response.ts → lib/base-model/api-response.d.ts} +5 -7
- package/lib/base-model/audit-log-entry.d.ts +7 -0
- package/lib/base-model/button-action-settings.d.ts +16 -0
- package/lib/base-model/column-def.model.d.ts +11 -0
- package/lib/base-model/do-action-request.d.ts +10 -0
- package/lib/base-model/field-action.d.ts +6 -0
- package/lib/base-model/field-filter.model.d.ts +7 -0
- package/lib/base-model/field-info.d.ts +59 -0
- package/lib/base-model/field-predicate.model.d.ts +7 -0
- package/lib/base-model/filter-request.d.ts +15 -0
- package/lib/base-model/filter.model.d.ts +22 -0
- package/lib/base-model/get-items-list.d.ts +21 -0
- package/lib/base-model/index.d.ts +12 -0
- package/lib/base-model/items-total.model.d.ts +6 -0
- package/lib/base-model/line-item.model.d.ts +10 -0
- package/lib/base-model/lookupItem.d.ts +13 -0
- package/{src/lib/base-model/page-info.ts → lib/base-model/page-info.d.ts} +26 -24
- package/lib/base-model/permission-matrix.model.d.ts +18 -0
- package/lib/base-model/report-request.model.d.ts +18 -0
- package/lib/base-model/response-envelop.model.d.ts +8 -0
- package/lib/base-model/snack-message.model.d.ts +7 -0
- package/lib/base-model/table-column.interface.d.ts +31 -0
- package/lib/base-model/table-page-user-action.interface.d.ts +14 -0
- package/lib/base-model/workflow/workflow-steps.model.d.ts +7 -0
- package/lib/base-model/workflow/workflow.model.d.ts +13 -0
- package/lib/components/action-comment/action-comment.component.d.ts +35 -0
- package/lib/components/action-confirmation/action-confirmation.component.d.ts +27 -0
- package/lib/components/activity-report-form/activity-report-form.component.d.ts +93 -0
- package/lib/components/advanced-filter/field-filter/field-filter.component.d.ts +21 -0
- package/lib/components/advanced-filter/filter-builder/filter-builder.component.d.ts +51 -0
- package/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.d.ts +25 -0
- package/lib/components/audit-log-list/audit-log.component.d.ts +29 -0
- package/lib/components/auto-complete/auto-complete.component.d.ts +52 -0
- package/lib/components/base-form/base-form.component.d.ts +59 -0
- package/lib/components/base-form-canvas/MaxDigitsDirective.d.ts +7 -0
- package/lib/components/base-form-canvas/NumbersOnlyDirective.d.ts +23 -0
- package/lib/components/base-form-canvas/base-form-canvas.component.d.ts +142 -0
- package/lib/components/base-input-dialog/base-input-dialog.component.d.ts +23 -0
- package/lib/components/base-table/base-table.component.d.ts +172 -0
- package/lib/components/button-actions/button-actions.component.d.ts +19 -0
- package/lib/components/editable-base-table/editable-base-table.component.d.ts +109 -0
- package/lib/components/equation-builder/equation-builder.component.d.ts +23 -0
- package/lib/components/item-line-editor/item-line-editor.component.d.ts +66 -0
- package/lib/components/multi-auto-complete/multi-auto-complete.component.d.ts +53 -0
- package/lib/components/paginator/paginator.component.d.ts +41 -0
- package/lib/components/permission-matrix/permission-matrix.component.d.ts +26 -0
- package/lib/components/report-details-dialog/report-details-dialog.component.d.ts +34 -0
- package/lib/components/report-form/report-form.component.d.ts +92 -0
- package/lib/components/search-bar/search-bar.component.d.ts +29 -0
- package/lib/components/section-form-canvas/section-form-canvas.component.d.ts +32 -0
- package/lib/components/shared/action-button/action-button.component.d.ts +17 -0
- package/lib/components/shared/action-card/action-card.component.d.ts +37 -0
- package/lib/components/shared/attachment-uploader/attachment-uploader.component.d.ts +18 -0
- package/lib/components/shared-list/shared-list.component.d.ts +21 -0
- package/lib/components/snackbar-static/snackbar-static.component.d.ts +15 -0
- package/lib/components/title-bar/title-bar.component.d.ts +54 -0
- package/lib/services/backend-service.d.ts +59 -0
- package/{src/lib/services/index.ts → lib/services/index.d.ts} +1 -1
- package/lib/services/top-panel.d.ts +8 -0
- package/lib/services/trigger-form.service.d.ts +7 -0
- package/lib/utils/base-utils.d.ts +13 -0
- package/lib/validators/date-range-validator.d.ts +2 -0
- package/lib/validators/match-list.validator.d.ts +4 -0
- package/lib/validators/multi-email-validator.d.ts +6 -0
- package/package.json +16 -3
- package/public-api.d.ts +26 -0
- package/ng-package.json +0 -7
- package/src/lib/base-model/SearchStrConfig.ts +0 -12
- package/src/lib/base-model/audit-log-entry.ts +0 -7
- package/src/lib/base-model/button-action-settings.ts +0 -25
- package/src/lib/base-model/column-def.model.ts +0 -34
- package/src/lib/base-model/do-action-request.ts +0 -11
- package/src/lib/base-model/field-action.ts +0 -7
- package/src/lib/base-model/field-filter.model.ts +0 -14
- package/src/lib/base-model/field-info.ts +0 -98
- package/src/lib/base-model/field-predicate.model.ts +0 -7
- package/src/lib/base-model/filter-request.ts +0 -27
- package/src/lib/base-model/filter.model.ts +0 -49
- package/src/lib/base-model/get-items-list.ts +0 -24
- package/src/lib/base-model/index.ts +0 -11
- package/src/lib/base-model/lookupItem.ts +0 -21
- package/src/lib/base-model/null-snackmessage.ts +0 -9
- package/src/lib/base-model/report-request.model.ts +0 -33
- package/src/lib/base-model/response-envelop.model.ts +0 -15
- package/src/lib/base-model/snack-message.model.ts +0 -14
- package/src/lib/base-model/snackmessage-interface.ts +0 -7
- package/src/lib/base-model/table-column.interface.ts +0 -29
- package/src/lib/base-model/table-page-user-action.interface.ts +0 -33
- package/src/lib/base-model/workflow/workflow-steps.model.ts +0 -9
- package/src/lib/base-model/workflow/workflow.model.ts +0 -52
- package/src/lib/components/action-confirmation/action-confirmation.component.css +0 -34
- package/src/lib/components/action-confirmation/action-confirmation.component.html +0 -18
- package/src/lib/components/action-confirmation/action-confirmation.component.spec.ts +0 -23
- package/src/lib/components/action-confirmation/action-confirmation.component.ts +0 -58
- package/src/lib/components/activity-report-form/activity-report-form.component.html +0 -109
- package/src/lib/components/activity-report-form/activity-report-form.component.scss +0 -0
- package/src/lib/components/activity-report-form/activity-report-form.component.spec.ts +0 -25
- package/src/lib/components/activity-report-form/activity-report-form.component.ts +0 -605
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.css +0 -51
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.html +0 -23
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.spec.ts +0 -23
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.ts +0 -69
- package/src/lib/components/audit-log-list/audit-log.component.html +0 -23
- package/src/lib/components/audit-log-list/audit-log.component.scss +0 -0
- package/src/lib/components/audit-log-list/audit-log.component.spec.ts +0 -25
- package/src/lib/components/audit-log-list/audit-log.component.ts +0 -116
- package/src/lib/components/auto-complete/auto-complete.component.css +0 -14
- package/src/lib/components/auto-complete/auto-complete.component.html +0 -29
- package/src/lib/components/auto-complete/auto-complete.component.spec.ts +0 -23
- package/src/lib/components/auto-complete/auto-complete.component.ts +0 -330
- package/src/lib/components/base-form/base-form.component.html +0 -58
- package/src/lib/components/base-form/base-form.component.scss +0 -0
- package/src/lib/components/base-form/base-form.component.spec.ts +0 -25
- package/src/lib/components/base-form/base-form.component.ts +0 -305
- package/src/lib/components/base-form-canvas/base-form-canvas.component.css +0 -22
- package/src/lib/components/base-form-canvas/base-form-canvas.component.html +0 -1006
- package/src/lib/components/base-form-canvas/base-form-canvas.component.spec.ts +0 -23
- package/src/lib/components/base-form-canvas/base-form-canvas.component.ts +0 -573
- package/src/lib/components/base-input-dialog/base-input-dialog.component.css +0 -0
- package/src/lib/components/base-input-dialog/base-input-dialog.component.html +0 -42
- package/src/lib/components/base-input-dialog/base-input-dialog.component.spec.ts +0 -23
- package/src/lib/components/base-input-dialog/base-input-dialog.component.ts +0 -78
- package/src/lib/components/base-table/base-table.component.html +0 -242
- package/src/lib/components/base-table/base-table.component.scss +0 -31
- package/src/lib/components/base-table/base-table.component.spec.ts +0 -25
- package/src/lib/components/base-table/base-table.component.ts +0 -568
- package/src/lib/components/button-actions/button-actions.component.html +0 -28
- package/src/lib/components/button-actions/button-actions.component.scss +0 -6
- package/src/lib/components/button-actions/button-actions.component.spec.ts +0 -23
- package/src/lib/components/button-actions/button-actions.component.ts +0 -72
- package/src/lib/components/editable-base-table/editable-base-table.component.html +0 -372
- package/src/lib/components/editable-base-table/editable-base-table.component.scss +0 -44
- package/src/lib/components/editable-base-table/editable-base-table.component.spec.ts +0 -25
- package/src/lib/components/editable-base-table/editable-base-table.component.ts +0 -570
- package/src/lib/components/equation-builder/equation-builder.component.css +0 -0
- package/src/lib/components/equation-builder/equation-builder.component.html +0 -31
- package/src/lib/components/equation-builder/equation-builder.component.spec.ts +0 -23
- package/src/lib/components/equation-builder/equation-builder.component.ts +0 -121
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.css +0 -11
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.html +0 -38
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.spec.ts +0 -23
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.ts +0 -317
- package/src/lib/components/paginator/paginator.component.css +0 -25
- package/src/lib/components/paginator/paginator.component.html +0 -34
- package/src/lib/components/paginator/paginator.component.ts +0 -94
- package/src/lib/components/rejection-comment/action-comment.component.css +0 -33
- package/src/lib/components/rejection-comment/action-comment.component.html +0 -46
- package/src/lib/components/rejection-comment/action-comment.component.spec.ts +0 -23
- package/src/lib/components/rejection-comment/action-comment.component.ts +0 -86
- package/src/lib/components/report-details-dialog/report-details-dialog.component.css +0 -17
- package/src/lib/components/report-details-dialog/report-details-dialog.component.html +0 -16
- package/src/lib/components/report-details-dialog/report-details-dialog.component.spec.ts +0 -23
- package/src/lib/components/report-details-dialog/report-details-dialog.component.ts +0 -113
- package/src/lib/components/report-form/report-form.component.html +0 -94
- package/src/lib/components/report-form/report-form.component.scss +0 -0
- package/src/lib/components/report-form/report-form.component.spec.ts +0 -25
- package/src/lib/components/report-form/report-form.component.ts +0 -588
- package/src/lib/components/search-bar/search-bar.component.html +0 -62
- package/src/lib/components/search-bar/search-bar.component.scss +0 -8
- package/src/lib/components/search-bar/search-bar.component.spec.ts +0 -25
- package/src/lib/components/search-bar/search-bar.component.ts +0 -70
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.css +0 -54
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.html +0 -22
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.spec.ts +0 -23
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.ts +0 -45
- package/src/lib/components/shared-list/shared-list.component.css +0 -0
- package/src/lib/components/shared-list/shared-list.component.html +0 -17
- package/src/lib/components/shared-list/shared-list.component.spec.ts +0 -23
- package/src/lib/components/shared-list/shared-list.component.ts +0 -53
- package/src/lib/components/title-bar/title-bar.component.css +0 -0
- package/src/lib/components/title-bar/title-bar.component.css.map +0 -1
- package/src/lib/components/title-bar/title-bar.component.html +0 -31
- package/src/lib/components/title-bar/title-bar.component.scss +0 -23
- package/src/lib/components/title-bar/title-bar.component.spec.ts +0 -23
- package/src/lib/components/title-bar/title-bar.component.ts +0 -119
- package/src/lib/services/backend-service.ts +0 -286
- package/src/lib/services/top-panel.ts +0 -17
- package/src/lib/services/trigger-form.service.ts +0 -11
- package/src/lib/share-module/shared-module.ts +0 -10
- package/src/lib/styles/invoiceq-theme.scss +0 -252
- package/src/lib/styles/styles.scss +0 -1723
- package/src/lib/utils/base-utils.ts +0 -102
- package/src/lib/validators/date-range-validator.ts +0 -31
- package/src/lib/validators/match-list.validator.ts +0 -10
- package/src/lib/validators/multi-email-validator.ts +0 -15
- package/src/public-api.ts +0 -21
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
- /package/{src/lib/validators/index.ts → lib/validators/index.d.ts} +0 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import { FormArray, FormBuilder, FormGroup } from "@angular/forms";
|
|
4
|
+
import { BackendService } from "../../services";
|
|
5
|
+
import { BaseUtils, getNegativeWfActionKey, getPositiveWfActionKey } from "../../utils/base-utils";
|
|
6
|
+
import { FieldInfo, FilterRequest, LookupItem, PageInfo, TableColumn } from "../../base-model";
|
|
7
|
+
import { DoActionRequest } from "../../base-model/do-action-request";
|
|
8
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
9
|
+
import { MatDatepicker } from "@angular/material/datepicker";
|
|
10
|
+
import moment, { Moment } from 'moment';
|
|
11
|
+
import { MatChipListbox } from "@angular/material/chips";
|
|
12
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
13
|
+
import { AttachmentUploaderComponent } from "../shared/attachment-uploader/attachment-uploader.component";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class EditableBaseTableComponent extends BaseUtils implements OnInit, OnChanges {
|
|
16
|
+
private backendService;
|
|
17
|
+
private router;
|
|
18
|
+
private fb;
|
|
19
|
+
dialog: MatDialog;
|
|
20
|
+
private directionality;
|
|
21
|
+
readonly minDate: moment.Moment;
|
|
22
|
+
collection: {
|
|
23
|
+
count: number;
|
|
24
|
+
data: any[];
|
|
25
|
+
};
|
|
26
|
+
config: {
|
|
27
|
+
itemsPerPage: number;
|
|
28
|
+
currentPage: number;
|
|
29
|
+
totalItems: number;
|
|
30
|
+
};
|
|
31
|
+
maxSize: number;
|
|
32
|
+
directionLinks: boolean;
|
|
33
|
+
autoHide: boolean;
|
|
34
|
+
responsive: boolean;
|
|
35
|
+
labels: any;
|
|
36
|
+
private timer;
|
|
37
|
+
dataElements: any[];
|
|
38
|
+
noDataFound: boolean;
|
|
39
|
+
isLoaded: boolean;
|
|
40
|
+
totalElements: number;
|
|
41
|
+
pagesCount: number;
|
|
42
|
+
pageIndex: number;
|
|
43
|
+
pageSize: number;
|
|
44
|
+
formParam: FormGroup;
|
|
45
|
+
searchForm: FormGroup;
|
|
46
|
+
filterRequest: FilterRequest;
|
|
47
|
+
superDataElements: any[];
|
|
48
|
+
pageInfo: PageInfo;
|
|
49
|
+
enforceRefresh: boolean;
|
|
50
|
+
isPending: boolean;
|
|
51
|
+
isBulkItemsSupported: boolean;
|
|
52
|
+
fields: FieldInfo[];
|
|
53
|
+
searchFormFields: FieldInfo[];
|
|
54
|
+
translationKey: string;
|
|
55
|
+
formUpdated: EventEmitter<FormGroup>;
|
|
56
|
+
saveActionEmitter: EventEmitter<any>;
|
|
57
|
+
saveAttachmentEmitter: EventEmitter<any>;
|
|
58
|
+
actionRequestCallback: (actionRequest: DoActionRequest) => DoActionRequest;
|
|
59
|
+
uploaderComponent: AttachmentUploaderComponent;
|
|
60
|
+
currentDirection: 'ltr' | 'rtl';
|
|
61
|
+
selectedFileFromUploader: File | null;
|
|
62
|
+
private selectedItem;
|
|
63
|
+
constructor(backendService: BackendService, router: Router, fb: FormBuilder, dialog: MatDialog, directionality: Directionality);
|
|
64
|
+
get dataFormArray(): FormArray;
|
|
65
|
+
extractFormat(column: TableColumn<any>): string;
|
|
66
|
+
get dataSource(): any;
|
|
67
|
+
ngOnInit(): void;
|
|
68
|
+
private loadData;
|
|
69
|
+
private buildForm;
|
|
70
|
+
onPageChange(event: number): void;
|
|
71
|
+
getNext(pageIndex: number): void;
|
|
72
|
+
onPageSizeChange(event: number): void;
|
|
73
|
+
extractFieldName(element: any, property: string): any;
|
|
74
|
+
get visibleColumns(): string[];
|
|
75
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
76
|
+
onSelectItem(row: any): void;
|
|
77
|
+
openNewTab(row: any): void;
|
|
78
|
+
getField(element: any, column: FieldInfo): any;
|
|
79
|
+
fieldButtonEvent(column: any, element: any, actionId: number): void;
|
|
80
|
+
patchLookupValue($event: LookupItem, property: string): void;
|
|
81
|
+
addNewItem(): void;
|
|
82
|
+
doSaveApproveAction(element: any, userActionId: any): void;
|
|
83
|
+
protected readonly getPositiveWfActionKey: typeof getPositiveWfActionKey;
|
|
84
|
+
protected readonly getNegativeWfActionKey: typeof getNegativeWfActionKey;
|
|
85
|
+
protected readonly SAVE = 2;
|
|
86
|
+
protected readonly REJECT = 3;
|
|
87
|
+
setMonthAndYear(normalizedMonthAndYear: Moment, picker: MatDatepicker<Moment>, element: any, column: any): void;
|
|
88
|
+
switchViewMode(b: boolean): void;
|
|
89
|
+
onChipSelectionChange(event: any, listbox?: MatChipListbox): void;
|
|
90
|
+
addBulkItems(): void;
|
|
91
|
+
fileUpload: ElementRef<HTMLInputElement>;
|
|
92
|
+
handleFileUpload($event: File): void;
|
|
93
|
+
shouldDisableBulkAdd(): boolean;
|
|
94
|
+
handleEquationChange(event: {
|
|
95
|
+
value: any[];
|
|
96
|
+
valid: boolean;
|
|
97
|
+
}, element: FormGroup, column: any): void;
|
|
98
|
+
clearBulkItems(): void;
|
|
99
|
+
hasDataToClear(): boolean;
|
|
100
|
+
getOptionValue(item: any): any;
|
|
101
|
+
disabledSaveButton(element: any): boolean;
|
|
102
|
+
doSearch(): void;
|
|
103
|
+
showSearch(): boolean;
|
|
104
|
+
clearSearch(): void;
|
|
105
|
+
updateSearchForm($event: FormGroup): void;
|
|
106
|
+
validSearchData(): true;
|
|
107
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditableBaseTableComponent, never>;
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditableBaseTableComponent, "app-editable-base-table", never, { "filterRequest": { "alias": "filterRequest"; "required": false; }; "superDataElements": { "alias": "superDataElements"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "enforceRefresh": { "alias": "enforceRefresh"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "isBulkItemsSupported": { "alias": "isBulkItemsSupported"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "searchFormFields": { "alias": "searchFormFields"; "required": false; }; "translationKey": { "alias": "translationKey"; "required": false; }; "actionRequestCallback": { "alias": "actionRequestCallback"; "required": false; }; }, { "formUpdated": "formUpdated"; "saveActionEmitter": "saveActionEmitter"; "saveAttachmentEmitter": "saveAttachmentEmitter"; }, never, never, true, never>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EquationBuilderComponent implements OnInit {
|
|
5
|
+
form: FormGroup;
|
|
6
|
+
field: any;
|
|
7
|
+
isPending: boolean;
|
|
8
|
+
valueChanged: EventEmitter<any>;
|
|
9
|
+
operators: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
items: any[];
|
|
14
|
+
readOnly: boolean;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
getLookupByCode(code: string): any;
|
|
17
|
+
onLookupChange(index: number, value: any): void;
|
|
18
|
+
onDropdownChange(index: number, value: any): void;
|
|
19
|
+
emitChange(): void;
|
|
20
|
+
onClearAll(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EquationBuilderComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EquationBuilderComponent, "lib-equation-builder", never, { "form": { "alias": "form"; "required": false; }; "field": { "alias": "field"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FieldInfo, PageInfo } from "../../base-model";
|
|
3
|
+
import { FormGroup } from "@angular/forms";
|
|
4
|
+
import { LineItem } from "../../base-model/line-item.model";
|
|
5
|
+
import { ItemsTotal } from "../../base-model/items-total.model";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ItemLineEditorComponent implements OnChanges, OnInit {
|
|
8
|
+
noDataFoundIcon: string;
|
|
9
|
+
noDataFoundTitle: string;
|
|
10
|
+
noDataFoundSubtitle: string;
|
|
11
|
+
pageInfo: PageInfo;
|
|
12
|
+
columnHeaderWidths: string[];
|
|
13
|
+
title: string;
|
|
14
|
+
subtitle: string;
|
|
15
|
+
allowAdd: boolean;
|
|
16
|
+
allowDelete: boolean;
|
|
17
|
+
editable: boolean;
|
|
18
|
+
currency: string;
|
|
19
|
+
fields: FieldInfo[];
|
|
20
|
+
private baseFieldsSnapshot;
|
|
21
|
+
items: LineItem[];
|
|
22
|
+
itemsChange: EventEmitter<LineItem[]>;
|
|
23
|
+
itemSaved: EventEmitter<{
|
|
24
|
+
index: number;
|
|
25
|
+
item: any;
|
|
26
|
+
}>;
|
|
27
|
+
itemDeleted: EventEmitter<{
|
|
28
|
+
index: number;
|
|
29
|
+
}>;
|
|
30
|
+
totalsChange: EventEmitter<ItemsTotal>;
|
|
31
|
+
editStateChange: EventEmitter<{
|
|
32
|
+
index: number;
|
|
33
|
+
editing: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
formRefs: (FormGroup | undefined)[];
|
|
36
|
+
editing: boolean[];
|
|
37
|
+
noDataFound: boolean;
|
|
38
|
+
isMobile(): boolean;
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
private applyMobileFieldModifications;
|
|
41
|
+
get headerFields(): FieldInfo[];
|
|
42
|
+
get hasInvalidEditingForm(): boolean;
|
|
43
|
+
get canAddNew(): boolean;
|
|
44
|
+
canSave(index: number): boolean;
|
|
45
|
+
labelOf(field: FieldInfo): string;
|
|
46
|
+
private blankItem;
|
|
47
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
+
onFormUpdated(form: FormGroup, index: number): void;
|
|
49
|
+
addNewItem(): void;
|
|
50
|
+
saveRow(index: number): void;
|
|
51
|
+
deleteItem(index: number): void;
|
|
52
|
+
clearAll(): void;
|
|
53
|
+
getCurrentValues(index: number): any;
|
|
54
|
+
calcLineTotal(index: number): number;
|
|
55
|
+
get subtotal(): number;
|
|
56
|
+
get discountTotal(): number;
|
|
57
|
+
get grandTotal(): number;
|
|
58
|
+
trackByIndex(index: number, _item: any): number;
|
|
59
|
+
editRow(index: number): void;
|
|
60
|
+
private emitTotals;
|
|
61
|
+
private restoreFieldsFromSnapshot;
|
|
62
|
+
get gridTemplate(): string;
|
|
63
|
+
private discountValidator;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemLineEditorComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemLineEditorComponent, "app-item-line-editor", never, { "noDataFoundIcon": { "alias": "noDataFoundIcon"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "columnHeaderWidths": { "alias": "columnHeaderWidths"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "allowDelete": { "alias": "allowDelete"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "itemsChange": "itemsChange"; "itemSaved": "itemSaved"; "itemDeleted": "itemDeleted"; "totalsChange": "totalsChange"; "editStateChange": "editStateChange"; }, never, never, true, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { LookupItem } from "../../base-model";
|
|
3
|
+
import { MatAutocompleteTrigger } from "@angular/material/autocomplete";
|
|
4
|
+
import { Observable } from "rxjs";
|
|
5
|
+
import { FieldInfo } from "../../base-model";
|
|
6
|
+
import { FormControl, FormGroup } from "@angular/forms";
|
|
7
|
+
import { BackendService } from "../../services";
|
|
8
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class MultiAutoCompleteComponent {
|
|
11
|
+
private backendService;
|
|
12
|
+
private translateService;
|
|
13
|
+
itemInput: ElementRef<HTMLInputElement>;
|
|
14
|
+
matACTrigger: MatAutocompleteTrigger;
|
|
15
|
+
lookupItems$: Observable<LookupItem[]> | undefined;
|
|
16
|
+
private lookupItems;
|
|
17
|
+
selectedItems: LookupItem[];
|
|
18
|
+
cascadedIdz: number[];
|
|
19
|
+
isRequired: boolean;
|
|
20
|
+
private timer;
|
|
21
|
+
field: FieldInfo;
|
|
22
|
+
form: FormGroup;
|
|
23
|
+
defaultValue: any;
|
|
24
|
+
pathParam: any;
|
|
25
|
+
readonly: boolean;
|
|
26
|
+
selectedValue: EventEmitter<LookupItem[]>;
|
|
27
|
+
question: string;
|
|
28
|
+
multiControl: FormControl<any>;
|
|
29
|
+
constructor(backendService: BackendService, translateService: TranslateService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
private updateFieldAttributes;
|
|
32
|
+
private removeChildItemsIfCascadedByRemoved;
|
|
33
|
+
ngOnChanges({ defaultValue, field }: SimpleChanges): void;
|
|
34
|
+
private getLookupData;
|
|
35
|
+
selected(value: any): void;
|
|
36
|
+
displayFn(selected: any): string;
|
|
37
|
+
isSelected(item: any): boolean;
|
|
38
|
+
_allowSelection(option: LookupItem): {
|
|
39
|
+
[className: string]: boolean;
|
|
40
|
+
};
|
|
41
|
+
itemNameByLag(item: any): string;
|
|
42
|
+
private readonly _columns;
|
|
43
|
+
filterLookupItems(name: any, trigger: MatAutocompleteTrigger): void;
|
|
44
|
+
private patchLookupValue;
|
|
45
|
+
remove(item: LookupItem): void;
|
|
46
|
+
get matErrorDescribedBy(): string | null;
|
|
47
|
+
getLabel(): any;
|
|
48
|
+
onKeydown(event: KeyboardEvent, autocompleteTrigger: MatAutocompleteTrigger): void;
|
|
49
|
+
openLookupPanel(autocompleteTrigger: MatAutocompleteTrigger): void;
|
|
50
|
+
getId(): string;
|
|
51
|
+
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, ["mat-error"], true, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges } from '@angular/core';
|
|
2
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
3
|
+
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PaginatorComponent implements OnInit, OnChanges {
|
|
7
|
+
private directionality;
|
|
8
|
+
private readonly liveAnnouncer;
|
|
9
|
+
private readonly translate;
|
|
10
|
+
currentPage: number;
|
|
11
|
+
totalItems: number;
|
|
12
|
+
pageSize: number;
|
|
13
|
+
pageSizeOptions: number[];
|
|
14
|
+
mobileLoadMoreIncrement: number;
|
|
15
|
+
displayedItems: number;
|
|
16
|
+
pageChange: EventEmitter<number>;
|
|
17
|
+
pageSizeChange: EventEmitter<number>;
|
|
18
|
+
loadMore: EventEmitter<number>;
|
|
19
|
+
currentDirection: 'ltr' | 'rtl';
|
|
20
|
+
constructor(directionality: Directionality, liveAnnouncer: LiveAnnouncer, translate: TranslateService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnChanges(): void;
|
|
23
|
+
get totalPages(): number;
|
|
24
|
+
get startIndex(): number;
|
|
25
|
+
get endIndex(): number;
|
|
26
|
+
goToPage(page: number): void;
|
|
27
|
+
nextPage(): void;
|
|
28
|
+
previousPage(): void;
|
|
29
|
+
onPageSizeChange(size: number): void;
|
|
30
|
+
private announcePagination;
|
|
31
|
+
getPageNumbers(): (number | string)[];
|
|
32
|
+
isEllipsis(page: number | string): boolean;
|
|
33
|
+
isActive(page: number | string): boolean;
|
|
34
|
+
onLoadMore(): void;
|
|
35
|
+
get canLoadMore(): boolean;
|
|
36
|
+
get currentPageNumber(): number;
|
|
37
|
+
get totalPageNumbers(): number;
|
|
38
|
+
protected readonly Math: Math;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "app-paginator", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "mobileLoadMoreIncrement": { "alias": "mobileLoadMoreIncrement"; "required": false; }; "displayedItems": { "alias": "displayedItems"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "loadMore": "loadMore"; }, never, never, true, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { PermissionConfig, PermissionMatrixItem, PermissionChangeEvent } from '../../base-model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PermissionMatrixComponent {
|
|
5
|
+
items: PermissionMatrixItem[];
|
|
6
|
+
permissions: PermissionConfig[];
|
|
7
|
+
titleKey: string;
|
|
8
|
+
selectAllLabelKey: string;
|
|
9
|
+
expandAllLabelKey: string;
|
|
10
|
+
collapseAllLabelKey: string;
|
|
11
|
+
readonly: boolean;
|
|
12
|
+
itemsChange: EventEmitter<PermissionMatrixItem[]>;
|
|
13
|
+
permissionChange: EventEmitter<PermissionChangeEvent>;
|
|
14
|
+
areAllExpanded(): boolean;
|
|
15
|
+
expandAllGroups(): void;
|
|
16
|
+
toggleGroup(item: PermissionMatrixItem): void;
|
|
17
|
+
isAllPermissionsSelected(item: PermissionMatrixItem): boolean;
|
|
18
|
+
toggleSelectAll(item: PermissionMatrixItem): void;
|
|
19
|
+
isPermissionSelected(item: PermissionMatrixItem, permission: PermissionConfig): boolean;
|
|
20
|
+
togglePermission(item: PermissionMatrixItem, permission: PermissionConfig): void;
|
|
21
|
+
private emitItemsChange;
|
|
22
|
+
trackByItem(index: number, item: PermissionMatrixItem): string | number;
|
|
23
|
+
trackByPermission(index: number, permission: PermissionConfig): string;
|
|
24
|
+
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>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
import { FieldInfo, PageInfo, ReportRequest, TableColumn } from "../../base-model";
|
|
5
|
+
import { BackendService } from "../../services";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ReportDetailsDialogComponent implements OnInit, AfterViewInit {
|
|
8
|
+
dialogRef: MatDialogRef<ReportDetailsDialogComponent>;
|
|
9
|
+
data: any;
|
|
10
|
+
private translateService;
|
|
11
|
+
backendService: BackendService;
|
|
12
|
+
private elRef;
|
|
13
|
+
dialogDirection: 'ltr' | 'rtl';
|
|
14
|
+
pageInfo: PageInfo;
|
|
15
|
+
fields: FieldInfo[];
|
|
16
|
+
isTermination: boolean;
|
|
17
|
+
comment: string;
|
|
18
|
+
external: boolean;
|
|
19
|
+
signingRequired: boolean;
|
|
20
|
+
tokenReference: string;
|
|
21
|
+
warningMsg: boolean;
|
|
22
|
+
item: any;
|
|
23
|
+
reportRequest: ReportRequest;
|
|
24
|
+
columns: TableColumn<any>[];
|
|
25
|
+
constructor(dialogRef: MatDialogRef<ReportDetailsDialogComponent>, data: any, translateService: TranslateService, backendService: BackendService, elRef: ElementRef);
|
|
26
|
+
onKeyUp(): void;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
cancel(): void;
|
|
30
|
+
onBackdropClick(event: MouseEvent): void;
|
|
31
|
+
getTitle(): string;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDetailsDialogComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReportDetailsDialogComponent, "app-audit-log-details-dialog", never, {}, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { FieldInfo } from "../../base-model/field-info";
|
|
3
|
+
import { PageInfo } from "../../base-model/page-info";
|
|
4
|
+
import { TableColumn } from "../../base-model/table-column.interface";
|
|
5
|
+
import { FieldMessage } from "../../base-model/api-response";
|
|
6
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
7
|
+
import { BackendService } from "../../services/backend-service";
|
|
8
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
9
|
+
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
10
|
+
import { ReportRequest } from "../../base-model/report-request.model";
|
|
11
|
+
import { TablePageUserAction } from "../../base-model";
|
|
12
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
13
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class ReportFormComponent implements OnInit {
|
|
16
|
+
private translateService;
|
|
17
|
+
backendService: BackendService;
|
|
18
|
+
private activatedRoute;
|
|
19
|
+
private injector;
|
|
20
|
+
private router;
|
|
21
|
+
private route;
|
|
22
|
+
private directionality;
|
|
23
|
+
dialog: MatDialog;
|
|
24
|
+
private fb;
|
|
25
|
+
showDetails: any;
|
|
26
|
+
showExtractButton: boolean;
|
|
27
|
+
columns: TableColumn<any>[];
|
|
28
|
+
actionRequestCallback: (actionRequest: TablePageUserAction) => TablePageUserAction;
|
|
29
|
+
enrichDrillDownReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
|
|
30
|
+
enrichHyperLinkReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
|
|
31
|
+
enrichJuniorReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
|
|
32
|
+
userAction: EventEmitter<TablePageUserAction>;
|
|
33
|
+
activeLevel: number;
|
|
34
|
+
private filterRequest;
|
|
35
|
+
x: any;
|
|
36
|
+
isEditable: boolean;
|
|
37
|
+
fields: FieldInfo[];
|
|
38
|
+
pageInfo: PageInfo;
|
|
39
|
+
drillDownPageInfo: PageInfo;
|
|
40
|
+
drillDownColumns: TableColumn<any>[];
|
|
41
|
+
hideDrillDownButton: false;
|
|
42
|
+
juniorPageInfo: PageInfo;
|
|
43
|
+
juniorColumns: TableColumn<any>[];
|
|
44
|
+
columnsDefinition: TableColumn<any>[];
|
|
45
|
+
types: string[];
|
|
46
|
+
searchStr: string;
|
|
47
|
+
errors: FieldMessage[];
|
|
48
|
+
reloadData: boolean;
|
|
49
|
+
backButtonEnabled: boolean;
|
|
50
|
+
reportRequest: ReportRequest;
|
|
51
|
+
childReportRequest: ReportRequest;
|
|
52
|
+
juniorReportRequest: ReportRequest;
|
|
53
|
+
reportForm: FormGroup;
|
|
54
|
+
readyToSearch: boolean;
|
|
55
|
+
private pageSize;
|
|
56
|
+
private dialogReportRequest;
|
|
57
|
+
currentDirection: 'ltr' | 'rtl';
|
|
58
|
+
constructor(translateService: TranslateService, backendService: BackendService, activatedRoute: ActivatedRoute, injector: Injector, router: Router, route: ActivatedRoute, directionality: Directionality, dialog: MatDialog, fb: FormBuilder);
|
|
59
|
+
disableExportAction: boolean;
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
isMatchHeight(): boolean;
|
|
62
|
+
doAction(type: string): void;
|
|
63
|
+
private getParamValue;
|
|
64
|
+
private getParamValueLabel;
|
|
65
|
+
getTitle(): string;
|
|
66
|
+
updateForm($event: FormGroup): void;
|
|
67
|
+
private setupDependentFieldWatchers;
|
|
68
|
+
isValidForm(): boolean;
|
|
69
|
+
emitUserAction($event: TablePageUserAction): void;
|
|
70
|
+
emitHyperLinkAction($event: TablePageUserAction): void;
|
|
71
|
+
private prepareDialogReportRequest;
|
|
72
|
+
private addStandardFilters;
|
|
73
|
+
private addFilterType;
|
|
74
|
+
private buildDialogReportRequest;
|
|
75
|
+
private createFilter;
|
|
76
|
+
private addOrReplaceFilter;
|
|
77
|
+
emitJuniorAction($event: TablePageUserAction): void;
|
|
78
|
+
drillDown(): void;
|
|
79
|
+
private doJuniorAction;
|
|
80
|
+
private doADrillDownAction;
|
|
81
|
+
private doHyperLinkAction;
|
|
82
|
+
extractReport(reportType: any): void;
|
|
83
|
+
goUp(): void;
|
|
84
|
+
drillDownEnabled(): boolean;
|
|
85
|
+
drillDownLabel(): string;
|
|
86
|
+
getIsEmptyList(): boolean;
|
|
87
|
+
clear(): void;
|
|
88
|
+
isFormEmpty(): boolean;
|
|
89
|
+
shouldProcessEventItem(item: any): boolean;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportFormComponent, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReportFormComponent, "app-report-form", never, { "showDetails": { "alias": "showDetails"; "required": false; }; "showExtractButton": { "alias": "showExtractButton"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "actionRequestCallback": { "alias": "actionRequestCallback"; "required": false; }; "enrichDrillDownReportRequest": { "alias": "enrichDrillDownReportRequest"; "required": false; }; "enrichHyperLinkReportRequest": { "alias": "enrichHyperLinkReportRequest"; "required": false; }; "enrichJuniorReportRequest": { "alias": "enrichJuniorReportRequest"; "required": false; }; }, { "userAction": "userAction"; }, never, never, true, never>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TableColumn } from "../../base-model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type SearchType = 'exact' | 'like';
|
|
5
|
+
type SortType = 'ASC' | 'DESC';
|
|
6
|
+
export declare class SearchBarComponent implements OnInit {
|
|
7
|
+
columns: TableColumn<any>[];
|
|
8
|
+
defaultSortKey: string;
|
|
9
|
+
searchValue: string;
|
|
10
|
+
searchType: SearchType;
|
|
11
|
+
selectedSortKey: string;
|
|
12
|
+
selectedSortType: SortType;
|
|
13
|
+
searchTriggered: EventEmitter<{
|
|
14
|
+
searchValue: string;
|
|
15
|
+
searchType: SearchType;
|
|
16
|
+
sortKey: string;
|
|
17
|
+
sortType: string;
|
|
18
|
+
}>;
|
|
19
|
+
onSearch(): void;
|
|
20
|
+
labelKey(column: {
|
|
21
|
+
label?: string;
|
|
22
|
+
property: string;
|
|
23
|
+
}): string;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
getColumns(): TableColumn<any>[];
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "ag-search-bar", never, { "columns": { "alias": "columns"; "required": false; }; "defaultSortKey": { "alias": "defaultSortKey"; "required": false; }; }, { "searchTriggered": "searchTriggered"; }, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonActionSettings, FieldInfo, PageInfo } from "../../base-model";
|
|
3
|
+
import { FormGroup } from "@angular/forms";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SectionFormCanvasComponent {
|
|
6
|
+
pageInfo: PageInfo;
|
|
7
|
+
fields: FieldInfo[];
|
|
8
|
+
itemId: number;
|
|
9
|
+
editable: boolean;
|
|
10
|
+
hideBackButton: boolean;
|
|
11
|
+
item: any;
|
|
12
|
+
title: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
isTranslateTitle: boolean;
|
|
15
|
+
isTranslateSubtitle: boolean;
|
|
16
|
+
key: number;
|
|
17
|
+
hideToggle: boolean;
|
|
18
|
+
isExpanded: boolean;
|
|
19
|
+
alwaysOpen: boolean;
|
|
20
|
+
actionEdit: EventEmitter<any>;
|
|
21
|
+
formEdit: EventEmitter<FormGroup>;
|
|
22
|
+
buttons: ButtonActionSettings[];
|
|
23
|
+
itemStatus: string;
|
|
24
|
+
buttonClicked: EventEmitter<any>;
|
|
25
|
+
formUpdated($event: any): void;
|
|
26
|
+
toggleExpand(): void;
|
|
27
|
+
onButtonClick(btn: ButtonActionSettings, sectionKey: number): void;
|
|
28
|
+
getDownloadButton(): ButtonActionSettings | undefined;
|
|
29
|
+
getMenuButtons(): ButtonActionSettings[];
|
|
30
|
+
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>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ActionButtonComponent implements OnInit, OnDestroy {
|
|
4
|
+
private readonly translateService;
|
|
5
|
+
private readonly destroy$;
|
|
6
|
+
buttonText: string;
|
|
7
|
+
buttonTextKey?: string;
|
|
8
|
+
buttonGradient: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
buttonClick: EventEmitter<void>;
|
|
11
|
+
get isArabic(): boolean;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
onButtonClick(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonComponent, "lib-action-button", never, { "buttonText": { "alias": "buttonText"; "required": false; }; "buttonTextKey": { "alias": "buttonTextKey"; "required": false; }; "buttonGradient": { "alias": "buttonGradient"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface FeatureItem {
|
|
4
|
+
text?: string;
|
|
5
|
+
textKey?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class ActionCardComponent {
|
|
8
|
+
icon: string;
|
|
9
|
+
iconSvg?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
buttonText: string;
|
|
13
|
+
buttonTextKey?: string;
|
|
14
|
+
titleKey?: string;
|
|
15
|
+
descriptionKey?: string;
|
|
16
|
+
iconColor: string;
|
|
17
|
+
borderColor: string;
|
|
18
|
+
borderLeftColor?: string;
|
|
19
|
+
borderRightColor?: string;
|
|
20
|
+
borderBottomColor?: string;
|
|
21
|
+
topBorderColor?: string;
|
|
22
|
+
topBorderGradient?: string;
|
|
23
|
+
buttonGradient: string;
|
|
24
|
+
decorativeIconColor: string;
|
|
25
|
+
featureCheckIconColor?: string;
|
|
26
|
+
variant: 'default' | 'extended';
|
|
27
|
+
iconSize: number;
|
|
28
|
+
features?: FeatureItem[];
|
|
29
|
+
featuresHeading?: string;
|
|
30
|
+
featuresHeadingKey?: string;
|
|
31
|
+
showDivider: boolean;
|
|
32
|
+
topBorderHeight: number;
|
|
33
|
+
buttonClick: EventEmitter<void>;
|
|
34
|
+
onButtonClick(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionCardComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionCardComponent, "lib-action-card", never, { "icon": { "alias": "icon"; "required": false; }; "iconSvg": { "alias": "iconSvg"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonTextKey": { "alias": "buttonTextKey"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "descriptionKey": { "alias": "descriptionKey"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderLeftColor": { "alias": "borderLeftColor"; "required": false; }; "borderRightColor": { "alias": "borderRightColor"; "required": false; }; "borderBottomColor": { "alias": "borderBottomColor"; "required": false; }; "topBorderColor": { "alias": "topBorderColor"; "required": false; }; "topBorderGradient": { "alias": "topBorderGradient"; "required": false; }; "buttonGradient": { "alias": "buttonGradient"; "required": false; }; "decorativeIconColor": { "alias": "decorativeIconColor"; "required": false; }; "featureCheckIconColor": { "alias": "featureCheckIconColor"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "features": { "alias": "features"; "required": false; }; "featuresHeading": { "alias": "featuresHeading"; "required": false; }; "featuresHeadingKey": { "alias": "featuresHeadingKey"; "required": false; }; "showDivider": { "alias": "showDivider"; "required": false; }; "topBorderHeight": { "alias": "topBorderHeight"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AttachmentUploaderComponent {
|
|
4
|
+
fileUpload: ElementRef<HTMLInputElement>;
|
|
5
|
+
fileSelected: EventEmitter<File>;
|
|
6
|
+
acceptedTypes?: string;
|
|
7
|
+
ariaDescribedBy?: string | null;
|
|
8
|
+
selectedFile: File | null;
|
|
9
|
+
isDragOver: boolean;
|
|
10
|
+
triggerAttachmentUpload(): void;
|
|
11
|
+
uploadFileToServer(): void;
|
|
12
|
+
clearFile(): void;
|
|
13
|
+
onDragOver(event: DragEvent): void;
|
|
14
|
+
onDragLeave(event: DragEvent): void;
|
|
15
|
+
onDrop(event: DragEvent): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentUploaderComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentUploaderComponent, "app-attachment-uploader", never, { "acceptedTypes": { "alias": "acceptedTypes"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; }, { "fileSelected": "fileSelected"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from "@angular/router";
|
|
3
|
+
import { ButtonActionSettings, FieldInfo, FilterRequest, PageInfo, TableColumn } from "../../base-model";
|
|
4
|
+
import { Filter } from "../../base-model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SharedListComponent implements OnInit {
|
|
7
|
+
private activatedRoute;
|
|
8
|
+
pageInfo: PageInfo;
|
|
9
|
+
columnsDefinition: TableColumn<any>[];
|
|
10
|
+
fields: FieldInfo[];
|
|
11
|
+
filters: Filter[];
|
|
12
|
+
readyToLoad: boolean;
|
|
13
|
+
isPending: boolean;
|
|
14
|
+
listAction: ButtonActionSettings[];
|
|
15
|
+
editableTable: boolean;
|
|
16
|
+
filterRequest: FilterRequest;
|
|
17
|
+
constructor(activatedRoute: ActivatedRoute);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedListComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SharedListComponent, "app-shared-list", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SnackbarStaticComponent {
|
|
4
|
+
messageKey: string;
|
|
5
|
+
titleKey: string;
|
|
6
|
+
params: Record<string, any>;
|
|
7
|
+
paramsTitle: Record<string, any>;
|
|
8
|
+
type: 'error' | 'success' | 'warning' | 'info' | 'help';
|
|
9
|
+
actionBtn: EventEmitter<void>;
|
|
10
|
+
width: string;
|
|
11
|
+
textBtn: string;
|
|
12
|
+
submit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarStaticComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarStaticComponent, "app-snackbar-static", never, { "messageKey": { "alias": "messageKey"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "params": { "alias": "params"; "required": false; }; "paramsTitle": { "alias": "paramsTitle"; "required": false; }; "type": { "alias": "type"; "required": false; }; "width": { "alias": "width"; "required": false; }; "textBtn": { "alias": "textBtn"; "required": false; }; }, { "actionBtn": "actionBtn"; }, never, never, true, never>;
|
|
15
|
+
}
|