@unifylib/ui-lib 1.1.3 → 1.1.4
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 +16 -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 +57 -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 +12 -0
- package/esm2022/lib/base-model/items-total.model.mjs +8 -0
- package/esm2022/lib/base-model/line-item.model.mjs +11 -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/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 +101 -0
- package/esm2022/lib/components/action-confirmation/action-confirmation.component.mjs +55 -0
- package/esm2022/lib/components/activity-report-form/activity-report-form.component.mjs +499 -0
- package/esm2022/lib/components/advanced-filter/field-filter/field-filter.component.mjs +41 -0
- package/esm2022/lib/components/advanced-filter/filter-builder/filter-builder.component.mjs +162 -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 +99 -0
- package/esm2022/lib/components/auto-complete/auto-complete.component.mjs +292 -0
- package/esm2022/lib/components/base-form/base-form.component.mjs +297 -0
- package/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +591 -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 +514 -0
- package/esm2022/lib/components/button-actions/button-actions.component.mjs +70 -0
- package/esm2022/lib/components/editable-base-table/editable-base-table.component.mjs +496 -0
- package/esm2022/lib/components/equation-builder/equation-builder.component.mjs +112 -0
- package/esm2022/lib/components/item-line-editor/item-line-editor.component.mjs +299 -0
- package/esm2022/lib/components/multi-auto-complete/multi-auto-complete.component.mjs +278 -0
- package/esm2022/lib/components/paginator/paginator.component.mjs +91 -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 +498 -0
- package/esm2022/lib/components/search-bar/search-bar.component.mjs +62 -0
- package/esm2022/lib/components/section-form-canvas/section-form-canvas.component.mjs +81 -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 +70 -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 +119 -0
- package/esm2022/lib/services/backend-service.mjs +240 -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 +97 -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 +29 -0
- package/esm2022/q-btech-ui-lib.mjs +5 -0
- package/esm2022/unifylib-ui-lib.mjs +5 -0
- package/fesm2022/iq-ui-lib.mjs +5625 -0
- package/fesm2022/iq-ui-lib.mjs.map +1 -0
- package/fesm2022/q-btech-ui-lib.mjs +5619 -0
- package/fesm2022/q-btech-ui-lib.mjs.map +1 -0
- package/fesm2022/unifylib-ui-lib.mjs +5625 -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} +21 -23
- package/lib/base-model/audit-log-entry.d.ts +7 -0
- package/lib/base-model/button-action-settings.d.ts +15 -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 +53 -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 +11 -0
- package/lib/base-model/items-total.model.d.ts +6 -0
- package/lib/base-model/line-item.model.d.ts +9 -0
- package/lib/base-model/lookupItem.d.ts +13 -0
- package/lib/base-model/page-info.d.ts +52 -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 +28 -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 +32 -0
- package/lib/components/action-confirmation/action-confirmation.component.d.ts +19 -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 +20 -0
- package/lib/components/advanced-filter/filter-builder/filter-builder.component.d.ts +28 -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 +36 -0
- package/lib/components/auto-complete/auto-complete.component.d.ts +51 -0
- package/lib/components/base-form/base-form.component.d.ts +59 -0
- package/lib/components/base-form-canvas/base-form-canvas.component.d.ts +124 -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 +128 -0
- package/lib/components/button-actions/button-actions.component.d.ts +17 -0
- package/lib/components/editable-base-table/editable-base-table.component.d.ts +106 -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 +64 -0
- package/lib/components/multi-auto-complete/multi-auto-complete.component.d.ts +51 -0
- package/lib/components/paginator/paginator.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 +27 -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 +16 -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 +42 -0
- package/lib/services/backend-service.d.ts +59 -0
- package/{src/lib/services/index.ts → lib/services/index.d.ts} +3 -3
- 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/{src/lib/validators/index.ts → lib/validators/index.d.ts} +3 -3
- package/lib/validators/match-list.validator.d.ts +4 -0
- package/lib/validators/multi-email-validator.d.ts +6 -0
- package/package.json +27 -14
- package/{src/public-api.ts → public-api.d.ts} +25 -29
- 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 -29
- 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/feature-item.ts +0 -9
- package/src/lib/base-model/field-action.ts +0 -7
- package/src/lib/base-model/field-filter.model.ts +0 -7
- package/src/lib/base-model/field-info.ts +0 -102
- 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/items-total.model.ts +0 -12
- package/src/lib/base-model/line-item.model.ts +0 -18
- package/src/lib/base-model/lookupItem.ts +0 -21
- package/src/lib/base-model/null-snackmessage.ts +0 -9
- package/src/lib/base-model/page-info.ts +0 -54
- 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-comment/action-comment.component.css +0 -52
- package/src/lib/components/action-comment/action-comment.component.html +0 -47
- package/src/lib/components/action-comment/action-comment.component.spec.ts +0 -23
- package/src/lib/components/action-comment/action-comment.component.ts +0 -102
- package/src/lib/components/action-confirmation/action-confirmation.component.css +0 -46
- package/src/lib/components/action-confirmation/action-confirmation.component.html +0 -32
- 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 -110
- package/src/lib/components/activity-report-form/activity-report-form.component.scss +0 -69
- 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 -616
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.html +0 -8
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.scss +0 -0
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.spec.ts +0 -25
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.ts +0 -55
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.html +0 -36
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.scss +0 -130
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.spec.ts +0 -25
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.ts +0 -186
- 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 -26
- package/src/lib/components/audit-log-list/audit-log.component.scss +0 -50
- 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 -114
- package/src/lib/components/auto-complete/auto-complete.component.css +0 -55
- package/src/lib/components/auto-complete/auto-complete.component.html +0 -45
- package/src/lib/components/auto-complete/auto-complete.component.spec.ts +0 -23
- package/src/lib/components/auto-complete/auto-complete.component.ts +0 -331
- package/src/lib/components/base-form/base-form.component.html +0 -59
- package/src/lib/components/base-form/base-form.component.scss +0 -68
- package/src/lib/components/base-form/base-form.component.spec.ts +0 -25
- package/src/lib/components/base-form/base-form.component.ts +0 -323
- package/src/lib/components/base-form-canvas/base-form-canvas.component.css +0 -196
- package/src/lib/components/base-form-canvas/base-form-canvas.component.html +0 -1095
- 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 -680
- package/src/lib/components/base-input-dialog/base-input-dialog.component.css +0 -67
- package/src/lib/components/base-input-dialog/base-input-dialog.component.html +0 -47
- 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 -77
- package/src/lib/components/base-table/base-table.component.html +0 -268
- package/src/lib/components/base-table/base-table.component.scss +0 -140
- package/src/lib/components/base-table/base-table.component.spec.ts +0 -25
- package/src/lib/components/base-table/base-table.component.ts +0 -621
- package/src/lib/components/button-actions/button-actions.component.html +0 -27
- package/src/lib/components/button-actions/button-actions.component.scss +0 -101
- package/src/lib/components/button-actions/button-actions.component.spec.ts +0 -23
- package/src/lib/components/button-actions/button-actions.component.ts +0 -70
- package/src/lib/components/editable-base-table/editable-base-table.component.html +0 -337
- package/src/lib/components/editable-base-table/editable-base-table.component.scss +0 -126
- 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 -579
- package/src/lib/components/equation-builder/equation-builder.component.css +0 -39
- 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 -119
- package/src/lib/components/item-line-editor/item-line-editor.component.html +0 -102
- package/src/lib/components/item-line-editor/item-line-editor.component.scss +0 -152
- package/src/lib/components/item-line-editor/item-line-editor.component.spec.ts +0 -23
- package/src/lib/components/item-line-editor/item-line-editor.component.ts +0 -306
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.css +0 -19
- 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 -315
- package/src/lib/components/paginator/paginator.component.css +0 -65
- package/src/lib/components/paginator/paginator.component.html +0 -30
- package/src/lib/components/paginator/paginator.component.ts +0 -87
- 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 -111
- package/src/lib/components/report-form/report-form.component.html +0 -92
- package/src/lib/components/report-form/report-form.component.scss +0 -51
- package/src/lib/components/report-form/report-form.component.spec.ts +0 -25
- package/src/lib/components/report-form/report-form.component.ts +0 -599
- package/src/lib/components/search-bar/search-bar.component.html +0 -51
- package/src/lib/components/search-bar/search-bar.component.scss +0 -63
- package/src/lib/components/search-bar/search-bar.component.spec.ts +0 -25
- package/src/lib/components/search-bar/search-bar.component.ts +0 -68
- package/src/lib/components/section-form-canvas/section-form-canvas.component.html +0 -43
- package/src/lib/components/section-form-canvas/section-form-canvas.component.scss +0 -81
- package/src/lib/components/section-form-canvas/section-form-canvas.component.spec.ts +0 -23
- package/src/lib/components/section-form-canvas/section-form-canvas.component.ts +0 -67
- package/src/lib/components/shared/action-button/action-button.component.html +0 -12
- package/src/lib/components/shared/action-button/action-button.component.scss +0 -45
- package/src/lib/components/shared/action-button/action-button.component.ts +0 -51
- package/src/lib/components/shared/action-card/action-card.component.html +0 -78
- package/src/lib/components/shared/action-card/action-card.component.scss +0 -238
- package/src/lib/components/shared/action-card/action-card.component.ts +0 -56
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.css +0 -135
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.html +0 -36
- 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 -71
- 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/snackbar-static/snackbar-static.component.html +0 -20
- package/src/lib/components/snackbar-static/snackbar-static.component.scss +0 -135
- package/src/lib/components/snackbar-static/snackbar-static.component.ts +0 -26
- 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 -35
- package/src/lib/components/title-bar/title-bar.component.scss +0 -126
- package/src/lib/components/title-bar/title-bar.component.spec.ts +0 -23
- package/src/lib/components/title-bar/title-bar.component.ts +0 -126
- package/src/lib/services/backend-service.ts +0 -287
- 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/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/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { FieldInfo, PageInfo } from "../../base-model";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AuditLogDetailsDialogComponent implements OnInit {
|
|
6
|
+
dialogRef: MatDialogRef<AuditLogDetailsDialogComponent>;
|
|
7
|
+
data: any;
|
|
8
|
+
pageInfo: PageInfo;
|
|
9
|
+
fields: FieldInfo[];
|
|
10
|
+
actionLabel: string;
|
|
11
|
+
isTermination: boolean;
|
|
12
|
+
comment: string;
|
|
13
|
+
external: boolean;
|
|
14
|
+
signingRequired: boolean;
|
|
15
|
+
tokenReference: string;
|
|
16
|
+
warningMsg: boolean;
|
|
17
|
+
item: any;
|
|
18
|
+
constructor(dialogRef: MatDialogRef<AuditLogDetailsDialogComponent>, data: any);
|
|
19
|
+
onKeyUp(): void;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
cancel(): void;
|
|
22
|
+
getTitle(): string;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogDetailsDialogComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogDetailsDialogComponent, "app-audit-log-details-dialog", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FieldInfo, PageInfo, TableColumn } from "../../base-model";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
import { BackendService } from "../../services";
|
|
5
|
+
import { DatePipe } from "@angular/common";
|
|
6
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
7
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
8
|
+
import { AuditLogEntry } from "../../base-model/audit-log-entry";
|
|
9
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class AuditLogComponent implements OnInit {
|
|
12
|
+
dialog: MatDialog;
|
|
13
|
+
private activatedRoute;
|
|
14
|
+
private datePipe;
|
|
15
|
+
private translateService;
|
|
16
|
+
private router;
|
|
17
|
+
private directionality;
|
|
18
|
+
private securityManager;
|
|
19
|
+
backendService: BackendService;
|
|
20
|
+
auditLogEntries: AuditLogEntry[];
|
|
21
|
+
pageInfo: PageInfo;
|
|
22
|
+
fields: FieldInfo[];
|
|
23
|
+
showHiddenFields: string[];
|
|
24
|
+
itemId: number;
|
|
25
|
+
item: any;
|
|
26
|
+
isLoaded: boolean;
|
|
27
|
+
columnsDefinition: TableColumn<any>[];
|
|
28
|
+
currentDirection: 'ltr' | 'rtl';
|
|
29
|
+
constructor(dialog: MatDialog, activatedRoute: ActivatedRoute, datePipe: DatePipe, translateService: TranslateService, router: Router, directionality: Directionality, securityManager: any, backendService: BackendService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
private loadItem;
|
|
32
|
+
viewObject(auditLog: AuditLogEntry): void;
|
|
33
|
+
getDescription(auditLog: AuditLogEntry): string;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogComponent, "app-audit-log", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "showHiddenFields": { "alias": "showHiddenFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FieldInfo, LookupItem } from "../../base-model";
|
|
3
|
+
import { MatAutocompleteTrigger } from "@angular/material/autocomplete";
|
|
4
|
+
import { Observable } from "rxjs";
|
|
5
|
+
import { FormControl, FormGroup } from "@angular/forms";
|
|
6
|
+
import { BackendService } from "../../services";
|
|
7
|
+
import { GetItemsList } from "../../base-model/get-items-list";
|
|
8
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class AutoCompleteComponent implements OnInit, OnChanges {
|
|
11
|
+
private backendService;
|
|
12
|
+
protected translateService: TranslateService;
|
|
13
|
+
private secretsManager;
|
|
14
|
+
matACTrigger: MatAutocompleteTrigger;
|
|
15
|
+
lookupItems$: Observable<LookupItem[]> | undefined;
|
|
16
|
+
lookupItems: LookupItem[];
|
|
17
|
+
items: LookupItem[];
|
|
18
|
+
field: FieldInfo;
|
|
19
|
+
form: FormGroup;
|
|
20
|
+
defaultValue: any;
|
|
21
|
+
readonly: boolean;
|
|
22
|
+
supportingAttributes: any;
|
|
23
|
+
selectedValue: EventEmitter<LookupItem>;
|
|
24
|
+
autocompleteTrigger: MatAutocompleteTrigger;
|
|
25
|
+
question: string;
|
|
26
|
+
cascadedId: number;
|
|
27
|
+
isRequired: boolean;
|
|
28
|
+
private timer;
|
|
29
|
+
myControl: FormControl<any>;
|
|
30
|
+
constructor(backendService: BackendService, translateService: TranslateService, secretsManager: any);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
private extractWorkflowGuidedCascading;
|
|
33
|
+
private buildControl;
|
|
34
|
+
private updateAttributes;
|
|
35
|
+
ngOnChanges({ defaultValue }: SimpleChanges): void;
|
|
36
|
+
private getLookupData;
|
|
37
|
+
itemSelected(value: any): void;
|
|
38
|
+
displayFn(selected: any): string | undefined;
|
|
39
|
+
_allowSelection(option: LookupItem): {
|
|
40
|
+
[className: string]: boolean;
|
|
41
|
+
};
|
|
42
|
+
itemNameByLag(item: any): string;
|
|
43
|
+
filterLookupItems(name: any, trigger: MatAutocompleteTrigger): void;
|
|
44
|
+
addLookupFilterByAnotherProperties(listItems: GetItemsList): void;
|
|
45
|
+
private patchLookupValue;
|
|
46
|
+
getId(): string;
|
|
47
|
+
onKeydown(event: KeyboardEvent, autocompleteTrigger: MatAutocompleteTrigger): void;
|
|
48
|
+
closed(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "app-auto-complete", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "supportingAttributes": { "alias": "supportingAttributes"; "required": false; }; }, { "selectedValue": "selectedValue"; }, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FieldInfo, PageInfo } from "../../base-model";
|
|
3
|
+
import { FieldMessage } from "../../base-model/api-response";
|
|
4
|
+
import { BackendService } from "../../services";
|
|
5
|
+
import { FormGroup } from "@angular/forms";
|
|
6
|
+
import { Location } from "@angular/common";
|
|
7
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
8
|
+
import { BaseUtils, getNegativeWfActionKey, getPositiveWfActionKey } from "../../utils/base-utils";
|
|
9
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
10
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class BaseFormComponent extends BaseUtils implements OnInit, OnChanges {
|
|
13
|
+
dialog: MatDialog;
|
|
14
|
+
private activatedRoute;
|
|
15
|
+
private router;
|
|
16
|
+
private directionality;
|
|
17
|
+
private location;
|
|
18
|
+
private securityManager;
|
|
19
|
+
backendService: BackendService;
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
fields: FieldInfo[];
|
|
22
|
+
errors: FieldMessage[];
|
|
23
|
+
editable: boolean;
|
|
24
|
+
itemId: number;
|
|
25
|
+
actionResultEmitter: EventEmitter<any>;
|
|
26
|
+
formUpdated: EventEmitter<FormGroup>;
|
|
27
|
+
itemLoaded: EventEmitter<any>;
|
|
28
|
+
extraAction: EventEmitter<any>;
|
|
29
|
+
item: any;
|
|
30
|
+
isLoaded: boolean;
|
|
31
|
+
hyperTextEvent: EventEmitter<boolean>;
|
|
32
|
+
currentDirection: 'ltr' | 'rtl';
|
|
33
|
+
isSaveDisabled: boolean;
|
|
34
|
+
isRejectDisabled: boolean;
|
|
35
|
+
hideBackButton: boolean;
|
|
36
|
+
protected readonly SAVE = 2;
|
|
37
|
+
private isPending;
|
|
38
|
+
constructor(dialog: MatDialog, activatedRoute: ActivatedRoute, router: Router, directionality: Directionality, location: Location, securityManager: any, backendService: BackendService);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngOnChanges({ item, errors, fields }: SimpleChanges): void;
|
|
41
|
+
isValid(): boolean;
|
|
42
|
+
isMatchHeight(): boolean;
|
|
43
|
+
private loadItem;
|
|
44
|
+
buildDoActionSubject(): any;
|
|
45
|
+
doSaveApproveAction(): void;
|
|
46
|
+
backToParent(): void;
|
|
47
|
+
getTitle(): string;
|
|
48
|
+
updateForm($event: FormGroup): void;
|
|
49
|
+
doCancelRejectAction(): void;
|
|
50
|
+
hasWfPermission(): any;
|
|
51
|
+
protected readonly getPositiveWfActionKey: typeof getPositiveWfActionKey;
|
|
52
|
+
protected readonly getNegativeWfActionKey: typeof getNegativeWfActionKey;
|
|
53
|
+
hasWfPositivePermission(): any;
|
|
54
|
+
hasWfNegativePermission(): any;
|
|
55
|
+
doExtraAction(): void;
|
|
56
|
+
disabledSaveButton(element: any): boolean;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormComponent, "app-base-form", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; }, { "actionResultEmitter": "actionResultEmitter"; "formUpdated": "formUpdated"; "itemLoaded": "itemLoaded"; "extraAction": "extraAction"; "hyperTextEvent": "hyperTextEvent"; }, never, never, true, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
3
|
+
import { MatChipInputEvent } from "@angular/material/chips";
|
|
4
|
+
import { FieldInfo } from "../../base-model/field-info";
|
|
5
|
+
import { ActivatedRoute } from "@angular/router";
|
|
6
|
+
import { BackendService } from "../../services/backend-service";
|
|
7
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
8
|
+
import { PageInfo } from "../../base-model/page-info";
|
|
9
|
+
import { LookupItem } from "../../base-model/lookupItem";
|
|
10
|
+
import { FieldMessage } from "../../base-model/api-response";
|
|
11
|
+
import { MatDatepicker } from "@angular/material/datepicker";
|
|
12
|
+
import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
13
|
+
import { BehaviorSubject } from "rxjs";
|
|
14
|
+
import { LiveAnnouncer } from "@angular/cdk/a11y";
|
|
15
|
+
import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
|
|
16
|
+
import { Moment } from "moment/moment";
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export declare const DD_MM_YYYY_Format: {
|
|
19
|
+
parse: {
|
|
20
|
+
dateInput: string;
|
|
21
|
+
};
|
|
22
|
+
display: {
|
|
23
|
+
dateInput: string;
|
|
24
|
+
monthYearLabel: string;
|
|
25
|
+
dateA11yLabel: string;
|
|
26
|
+
monthYearA11yLabel: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare class BaseFormCanvasComponent implements OnInit, OnChanges, OnDestroy {
|
|
30
|
+
protected translateService: TranslateService;
|
|
31
|
+
protected activatedRoute: ActivatedRoute;
|
|
32
|
+
protected backendService: BackendService;
|
|
33
|
+
private fb;
|
|
34
|
+
private announcer;
|
|
35
|
+
Editor: typeof ClassicEditor;
|
|
36
|
+
hide: boolean;
|
|
37
|
+
dateViewMode: 'month' | 'year' | 'multi-year';
|
|
38
|
+
pageInfo: PageInfo;
|
|
39
|
+
currency: string;
|
|
40
|
+
fields: FieldInfo[];
|
|
41
|
+
errors: FieldMessage[];
|
|
42
|
+
workflowEditableFields: string[];
|
|
43
|
+
isWorkflowEditableManaged: boolean;
|
|
44
|
+
supportingAttributes: any;
|
|
45
|
+
editable: boolean;
|
|
46
|
+
emitOnValueChanges: boolean;
|
|
47
|
+
item: any;
|
|
48
|
+
_defaults: any;
|
|
49
|
+
attachmentEmitter: EventEmitter<any>;
|
|
50
|
+
actionEmitter: EventEmitter<any>;
|
|
51
|
+
formUpdated: EventEmitter<FormGroup>;
|
|
52
|
+
hyperTextEvent: EventEmitter<boolean>;
|
|
53
|
+
formParam: FormGroup;
|
|
54
|
+
screenFields: Map<number, FieldInfo[]>;
|
|
55
|
+
removable: boolean;
|
|
56
|
+
selectable: boolean;
|
|
57
|
+
addOnBlur: boolean;
|
|
58
|
+
readonly separatorKeysCodes: number[];
|
|
59
|
+
isPending: boolean;
|
|
60
|
+
isNew: boolean;
|
|
61
|
+
itemId: number | undefined;
|
|
62
|
+
equationOperators: string[];
|
|
63
|
+
equationSuggestedFields: {
|
|
64
|
+
name: string;
|
|
65
|
+
id: string;
|
|
66
|
+
}[];
|
|
67
|
+
allEquationFields: BehaviorSubject<string[]>;
|
|
68
|
+
readonly equationValues: import("@angular/core").WritableSignal<string[]>;
|
|
69
|
+
currentEquationValue: import("@angular/core").ModelSignal<string>;
|
|
70
|
+
readonly equationFilteredFields: import("@angular/core").Signal<import("rxjs").Observable<string[]>>;
|
|
71
|
+
fieldsInput: ElementRef<HTMLInputElement>;
|
|
72
|
+
set defaults(value: any | undefined);
|
|
73
|
+
get defaults(): any | undefined;
|
|
74
|
+
constructor(translateService: TranslateService, activatedRoute: ActivatedRoute, backendService: BackendService, fb: FormBuilder, announcer: LiveAnnouncer);
|
|
75
|
+
ngOnInit(): void;
|
|
76
|
+
formatTimeToDate(v: any): Date;
|
|
77
|
+
patchLookupValue($event: LookupItem, fieldName: string): void;
|
|
78
|
+
getBankName(fieldName: string): string;
|
|
79
|
+
patchMultiSelectValue($event: LookupItem[], fieldName: string): void;
|
|
80
|
+
ngOnChanges({ item, errors, fields }: SimpleChanges): void;
|
|
81
|
+
showField(item: any, field: any): any;
|
|
82
|
+
workflowEditableField(field: {
|
|
83
|
+
property: string;
|
|
84
|
+
}): boolean;
|
|
85
|
+
showMultiSelectValuesAsReadonly(field: FieldInfo): any;
|
|
86
|
+
splitReadonly(values: any): any;
|
|
87
|
+
referenceAttributeTrue(fieldName: string, attribute: any): void;
|
|
88
|
+
translateLable(itemElement: any): any;
|
|
89
|
+
buildForm(): void;
|
|
90
|
+
labelKey(column: any): string;
|
|
91
|
+
labelKeyPlaceHolder(column: any): string;
|
|
92
|
+
getErrors(prop: string): string;
|
|
93
|
+
getFirstErrorKey(prop: string): string;
|
|
94
|
+
getCountryCodeList(): string[];
|
|
95
|
+
friendlyName(fullPath: string, subPath: string, item: string): string;
|
|
96
|
+
showValue(defaults: any, field: any): string;
|
|
97
|
+
showError(prop: string): boolean;
|
|
98
|
+
ngOnDestroy(): void;
|
|
99
|
+
private extractLables;
|
|
100
|
+
private calcFlexSize;
|
|
101
|
+
getCurrencyPattern(field: FieldInfo): string;
|
|
102
|
+
splittedChips(form: FormGroup, fieldName: string): string[];
|
|
103
|
+
fixArabicNumbers(str: any): void;
|
|
104
|
+
listShowValue(defaults: any, field: FieldInfo): string;
|
|
105
|
+
removeChipsItem(form: FormGroup, fieldName: string, idx: number): void;
|
|
106
|
+
extractFieldName(element: any, property: string): any;
|
|
107
|
+
getMultiValue(field: FieldInfo): any;
|
|
108
|
+
private validateEmail;
|
|
109
|
+
addEmailToChips(event: MatChipInputEvent, form: FormGroup, fieldName: string): void;
|
|
110
|
+
extractJsonFieldName(defaults: any, property: string): any;
|
|
111
|
+
getOptionValue(item: any): any;
|
|
112
|
+
getHyperTextEvent(): void;
|
|
113
|
+
add(event: MatChipInputEvent): void;
|
|
114
|
+
remove(item: string, index: number): void;
|
|
115
|
+
selected(event: MatAutocompleteSelectedEvent): void;
|
|
116
|
+
updateEquationOptions(): void;
|
|
117
|
+
getNamesFromSuggestedEquationFields(): string[];
|
|
118
|
+
reflectEquationValueOnForm(): void;
|
|
119
|
+
checkEquation(field: FieldInfo, $event: Event): void;
|
|
120
|
+
getView(field: any): 'month' | 'year' | 'multi-year';
|
|
121
|
+
setMonthAndYear(normalizedMonthAndYear: Moment, picker: MatDatepicker<Moment>, field: any): void;
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormCanvasComponent, never>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormCanvasComponent, "app-base-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "workflowEditableFields": { "alias": "workflowEditableFields"; "required": false; }; "isWorkflowEditableManaged": { "alias": "isWorkflowEditableManaged"; "required": false; }; "supportingAttributes": { "alias": "supportingAttributes"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "emitOnValueChanges": { "alias": "emitOnValueChanges"; "required": false; }; "item": { "alias": "item"; "required": false; }; "equationSuggestedFields": { "alias": "equationSuggestedFields"; "required": false; }; "currentEquationValue": { "alias": "currentEquationValue"; "required": false; "isSignal": true; }; }, { "attachmentEmitter": "attachmentEmitter"; "actionEmitter": "actionEmitter"; "formUpdated": "formUpdated"; "hyperTextEvent": "hyperTextEvent"; "currentEquationValue": "currentEquationValueChange"; }, never, never, true, never>;
|
|
124
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { FormGroup } from "@angular/forms";
|
|
4
|
+
import { FieldInfo } from "../../base-model";
|
|
5
|
+
import { BaseUtils } from "../../utils/base-utils";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BaseInputDialogComponent extends BaseUtils implements OnInit {
|
|
8
|
+
dialogRef: MatDialogRef<BaseInputDialogComponent>;
|
|
9
|
+
data: any;
|
|
10
|
+
fieldsInfo: FieldInfo[];
|
|
11
|
+
default: any;
|
|
12
|
+
isLoaded: boolean;
|
|
13
|
+
formGroup: FormGroup;
|
|
14
|
+
constructor(dialogRef: MatDialogRef<BaseInputDialogComponent>, data: any);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
captureForm($event: FormGroup): void;
|
|
17
|
+
saveDisabled(): boolean;
|
|
18
|
+
getTitle(): string;
|
|
19
|
+
doSave(save: string): void;
|
|
20
|
+
doCancel(cancel: string): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseInputDialogComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseInputDialogComponent, "lib-base-input-dialog", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { MatTableDataSource } from "@angular/material/table";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
import { Sort } from "@angular/material/sort";
|
|
5
|
+
import { ShareDataService } from "../../services/trigger-form.service";
|
|
6
|
+
import { BaseUtils } from "../../utils/base-utils";
|
|
7
|
+
import { BackendService } from "../../services/backend-service";
|
|
8
|
+
import { Filter } from "../../base-model/filter.model";
|
|
9
|
+
import { ButtonActionSettings, FieldInfo, PageInfo, TableColumn } from "../../base-model";
|
|
10
|
+
import { ReportRequest } from "../../base-model/report-request.model";
|
|
11
|
+
import { TablePageUserAction } from "../../base-model/table-page-user-action.interface";
|
|
12
|
+
import { Workflow } from "../../base-model/workflow/workflow.model";
|
|
13
|
+
import { Router } from "@angular/router";
|
|
14
|
+
import { FieldFilter } from "../../base-model/field-filter.model";
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export declare class BaseTableComponent extends BaseUtils implements OnInit, OnChanges, OnDestroy {
|
|
17
|
+
private backendService;
|
|
18
|
+
translateService: TranslateService;
|
|
19
|
+
shareDataService: ShareDataService;
|
|
20
|
+
private securityManager;
|
|
21
|
+
private router;
|
|
22
|
+
types: string[];
|
|
23
|
+
collection: {
|
|
24
|
+
count: number;
|
|
25
|
+
data: any[];
|
|
26
|
+
};
|
|
27
|
+
config: {
|
|
28
|
+
itemsPerPage: number;
|
|
29
|
+
currentPage: number;
|
|
30
|
+
totalItems: number;
|
|
31
|
+
};
|
|
32
|
+
maxSize: number;
|
|
33
|
+
directionLinks: boolean;
|
|
34
|
+
autoHide: boolean;
|
|
35
|
+
responsive: boolean;
|
|
36
|
+
labels: any;
|
|
37
|
+
filterFields: FieldInfo[];
|
|
38
|
+
noDataFoundIcon: string;
|
|
39
|
+
noDataFoundTitle: string;
|
|
40
|
+
noDataFoundSubtitle: string;
|
|
41
|
+
totalElements: number;
|
|
42
|
+
pagesCount: number;
|
|
43
|
+
pageIndex: number;
|
|
44
|
+
pageSize: number;
|
|
45
|
+
private selectedStatusFilter;
|
|
46
|
+
advancedAppliedFilter: any[];
|
|
47
|
+
searchStr: string;
|
|
48
|
+
private filterRequest;
|
|
49
|
+
private timer;
|
|
50
|
+
pageInfo: PageInfo;
|
|
51
|
+
enablePagination: boolean;
|
|
52
|
+
data?: MatTableDataSource<any>;
|
|
53
|
+
listAction: ButtonActionSettings[];
|
|
54
|
+
columns: TableColumn<any>[];
|
|
55
|
+
filters: Filter[];
|
|
56
|
+
pathParam: number;
|
|
57
|
+
extraButton: string;
|
|
58
|
+
enforceRefresh: boolean;
|
|
59
|
+
isPending: boolean;
|
|
60
|
+
trigger: boolean;
|
|
61
|
+
reportRequest: ReportRequest;
|
|
62
|
+
separateEndpointData: any;
|
|
63
|
+
manageablePages: boolean;
|
|
64
|
+
totalPagesCount: number;
|
|
65
|
+
currentPageIndex: number;
|
|
66
|
+
pageChange: EventEmitter<any>;
|
|
67
|
+
userAction: EventEmitter<TablePageUserAction>;
|
|
68
|
+
hyperLinkAction: EventEmitter<TablePageUserAction>;
|
|
69
|
+
extraAction: EventEmitter<TablePageUserAction>;
|
|
70
|
+
selectedColumn: EventEmitter<Sort>;
|
|
71
|
+
listActionClicked: EventEmitter<{
|
|
72
|
+
action: ButtonActionSettings;
|
|
73
|
+
row: any;
|
|
74
|
+
}>;
|
|
75
|
+
showDialog: EventEmitter<any>;
|
|
76
|
+
usedWorkflow: Workflow;
|
|
77
|
+
mode: any;
|
|
78
|
+
customizedData?: MatTableDataSource<any>;
|
|
79
|
+
dataSource: MatTableDataSource<any>;
|
|
80
|
+
selectedRowIndex: number;
|
|
81
|
+
noDataFound: boolean;
|
|
82
|
+
totalRequiredCountItem: number;
|
|
83
|
+
clickRoutePage: EventEmitter<any>;
|
|
84
|
+
constructor(backendService: BackendService, translateService: TranslateService, shareDataService: ShareDataService, securityManager: any, router: Router);
|
|
85
|
+
ngOnDestroy(): void;
|
|
86
|
+
ngOnInit(): void;
|
|
87
|
+
onPageChange(event: number): void;
|
|
88
|
+
extractFieldName(element: any, property: string): any;
|
|
89
|
+
get visibleColumns(): string[];
|
|
90
|
+
getNext(pageIndex: number): void;
|
|
91
|
+
onPageSizeChange(event: number): void;
|
|
92
|
+
private loadData;
|
|
93
|
+
getStatusDescription(element: any): any;
|
|
94
|
+
getStateType(element: any): any;
|
|
95
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
96
|
+
getCroppedText(elementValue: any, subWidth?: number): any;
|
|
97
|
+
emitEvent(element: any): void;
|
|
98
|
+
extractFormat(column: TableColumn<any>): string;
|
|
99
|
+
actionListClicked(listAction: ButtonActionSettings, element: any): void;
|
|
100
|
+
hyperLinkClicked(actionName: string, element: any): void;
|
|
101
|
+
emitRoutePage(element: any): void;
|
|
102
|
+
onSelectItem(row: any): void;
|
|
103
|
+
openNewTab(row: any): void;
|
|
104
|
+
switchViewMode(b: boolean): void;
|
|
105
|
+
onAddNewAction($event: any): void;
|
|
106
|
+
showAddNew(): boolean;
|
|
107
|
+
onExtraButtionAction($event: any): void;
|
|
108
|
+
hasGroups(): boolean;
|
|
109
|
+
groupNames: any;
|
|
110
|
+
groupSpans: Map<string, number>;
|
|
111
|
+
buildGroups(): void;
|
|
112
|
+
insertInMap(key: any): void;
|
|
113
|
+
isHumanMade(str: any): boolean;
|
|
114
|
+
actionButtonClicked(actionKey: string, item: any): void;
|
|
115
|
+
private handleNavigateAction;
|
|
116
|
+
private emitTableAction;
|
|
117
|
+
extractReport(reportType: any): void;
|
|
118
|
+
getIcon(status: string): string;
|
|
119
|
+
actionCheckedClicked(property: string, element: any): void;
|
|
120
|
+
isDarkHighlight(row: any): boolean;
|
|
121
|
+
shouldRenderAsHyperLink(element: any): boolean;
|
|
122
|
+
onSortAction($event: Sort): void;
|
|
123
|
+
shouldShowButton(element: any): boolean;
|
|
124
|
+
doAdvancedSearch($event: FieldFilter[]): void;
|
|
125
|
+
resetData($event: boolean): void;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTableComponent, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTableComponent, "app-base-table", never, { "filterFields": { "alias": "filterFields"; "required": false; }; "noDataFoundIcon": { "alias": "noDataFoundIcon"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "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>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonActionSettings } from "../../base-model/button-action-settings";
|
|
3
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ButtonActionsComponent {
|
|
6
|
+
dialog: MatDialog;
|
|
7
|
+
constructor(dialog: MatDialog);
|
|
8
|
+
actions: ButtonActionSettings[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
clickedButton: EventEmitter<any>;
|
|
11
|
+
buttonsAction: boolean;
|
|
12
|
+
listAction: ButtonActionSettings[];
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getClickedAction(action: ButtonActionSettings): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonActionsComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonActionsComponent, "app-button-actions", never, { "actions": { "alias": "actions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonsAction": { "alias": "buttonsAction"; "required": false; }; "listAction": { "alias": "listAction"; "required": false; }; }, { "clickedButton": "clickedButton"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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 } from 'moment';
|
|
11
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
12
|
+
import { AttachmentUploaderComponent } from "../shared/attachment-uploader/attachment-uploader.component";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class EditableBaseTableComponent extends BaseUtils implements OnInit, OnChanges {
|
|
15
|
+
private backendService;
|
|
16
|
+
private router;
|
|
17
|
+
private fb;
|
|
18
|
+
dialog: MatDialog;
|
|
19
|
+
private directionality;
|
|
20
|
+
collection: {
|
|
21
|
+
count: number;
|
|
22
|
+
data: any[];
|
|
23
|
+
};
|
|
24
|
+
config: {
|
|
25
|
+
itemsPerPage: number;
|
|
26
|
+
currentPage: number;
|
|
27
|
+
totalItems: number;
|
|
28
|
+
};
|
|
29
|
+
maxSize: number;
|
|
30
|
+
directionLinks: boolean;
|
|
31
|
+
autoHide: boolean;
|
|
32
|
+
responsive: boolean;
|
|
33
|
+
labels: any;
|
|
34
|
+
private timer;
|
|
35
|
+
dataElements: any[];
|
|
36
|
+
noDataFound: boolean;
|
|
37
|
+
isLoaded: boolean;
|
|
38
|
+
totalElements: number;
|
|
39
|
+
pagesCount: number;
|
|
40
|
+
pageIndex: number;
|
|
41
|
+
pageSize: number;
|
|
42
|
+
formParam: FormGroup;
|
|
43
|
+
searchForm: FormGroup;
|
|
44
|
+
filterRequest: FilterRequest;
|
|
45
|
+
superDataElements: any[];
|
|
46
|
+
pageInfo: PageInfo;
|
|
47
|
+
enforceRefresh: boolean;
|
|
48
|
+
isPending: boolean;
|
|
49
|
+
isBulkItemsSupported: boolean;
|
|
50
|
+
fields: FieldInfo[];
|
|
51
|
+
searchFormFields: FieldInfo[];
|
|
52
|
+
translationKey: string;
|
|
53
|
+
formUpdated: EventEmitter<FormGroup>;
|
|
54
|
+
saveActionEmitter: EventEmitter<any>;
|
|
55
|
+
saveAttachmentEmitter: EventEmitter<any>;
|
|
56
|
+
actionRequestCallback: (actionRequest: DoActionRequest) => DoActionRequest;
|
|
57
|
+
uploaderComponent: AttachmentUploaderComponent;
|
|
58
|
+
currentDirection: 'ltr' | 'rtl';
|
|
59
|
+
selectedFileFromUploader: File | null;
|
|
60
|
+
private selectedItem;
|
|
61
|
+
constructor(backendService: BackendService, router: Router, fb: FormBuilder, dialog: MatDialog, directionality: Directionality);
|
|
62
|
+
get dataFormArray(): FormArray;
|
|
63
|
+
extractFormat(column: TableColumn<any>): string;
|
|
64
|
+
get dataSource(): any;
|
|
65
|
+
ngOnInit(): void;
|
|
66
|
+
private loadData;
|
|
67
|
+
private buildForm;
|
|
68
|
+
onPageChange(event: number): void;
|
|
69
|
+
getNext(pageIndex: number): void;
|
|
70
|
+
onPageSizeChange(event: number): void;
|
|
71
|
+
extractFieldName(element: any, property: string): any;
|
|
72
|
+
get visibleColumns(): string[];
|
|
73
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
74
|
+
onSelectItem(row: any): void;
|
|
75
|
+
openNewTab(row: any): void;
|
|
76
|
+
getField(element: any, column: FieldInfo): any;
|
|
77
|
+
fieldButtonEvent(column: any, element: any, actionId: number): void;
|
|
78
|
+
patchLookupValue($event: LookupItem, property: string): void;
|
|
79
|
+
addNewItem(): void;
|
|
80
|
+
doSaveApproveAction(element: any, userActionId: any): void;
|
|
81
|
+
protected readonly getPositiveWfActionKey: typeof getPositiveWfActionKey;
|
|
82
|
+
protected readonly getNegativeWfActionKey: typeof getNegativeWfActionKey;
|
|
83
|
+
protected readonly SAVE = 2;
|
|
84
|
+
protected readonly REJECT = 3;
|
|
85
|
+
setMonthAndYear(normalizedMonthAndYear: Moment, picker: MatDatepicker<Moment>, element: any, column: any): void;
|
|
86
|
+
switchViewMode(b: boolean): void;
|
|
87
|
+
addBulkItems(): void;
|
|
88
|
+
fileUpload: ElementRef<HTMLInputElement>;
|
|
89
|
+
handleFileUpload($event: File): void;
|
|
90
|
+
shouldDisableBulkAdd(): boolean;
|
|
91
|
+
handleEquationChange(event: {
|
|
92
|
+
value: any[];
|
|
93
|
+
valid: boolean;
|
|
94
|
+
}, element: FormGroup, column: any): void;
|
|
95
|
+
clearBulkItems(): void;
|
|
96
|
+
hasDataToClear(): boolean;
|
|
97
|
+
getOptionValue(item: any): any;
|
|
98
|
+
disabledSaveButton(element: any): boolean;
|
|
99
|
+
doSearch(): void;
|
|
100
|
+
showSearch(): boolean;
|
|
101
|
+
clearSearch(): void;
|
|
102
|
+
updateSearchForm($event: FormGroup): void;
|
|
103
|
+
validSearchData(): true;
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditableBaseTableComponent, never>;
|
|
105
|
+
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>;
|
|
106
|
+
}
|
|
@@ -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
|
+
}
|