@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
package/index.d.ts
ADDED
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
export interface ApiResponse {
|
|
2
|
-
body: any;
|
|
3
|
-
valid?: boolean;
|
|
4
|
-
fieldMessages?: FieldMessage[];
|
|
5
|
-
globalMessages?: GlobalMessage[];
|
|
6
|
-
pagination?: Pagination;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
messageType: 'INFO'| 'WARNING' | 'ERROR';
|
|
23
|
-
}
|
|
1
|
+
export interface ApiResponse {
|
|
2
|
+
body: any;
|
|
3
|
+
valid?: boolean;
|
|
4
|
+
fieldMessages?: FieldMessage[];
|
|
5
|
+
globalMessages?: GlobalMessage[];
|
|
6
|
+
pagination?: Pagination;
|
|
7
|
+
}
|
|
8
|
+
export interface Pagination {
|
|
9
|
+
pageNumber: number;
|
|
10
|
+
pageSize: number;
|
|
11
|
+
totalElements: number;
|
|
12
|
+
totalPages: number;
|
|
13
|
+
}
|
|
14
|
+
export interface FieldMessage {
|
|
15
|
+
message: string;
|
|
16
|
+
fieldName: string;
|
|
17
|
+
}
|
|
18
|
+
export interface GlobalMessage {
|
|
19
|
+
message: string;
|
|
20
|
+
messageType: 'INFO' | 'WARNING' | 'ERROR';
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class ButtonActionSettings {
|
|
2
|
+
constructor(buttonActionSettings: ButtonActionSettings);
|
|
3
|
+
label: string;
|
|
4
|
+
id: string;
|
|
5
|
+
action?: any;
|
|
6
|
+
key: number;
|
|
7
|
+
isPrimary?: boolean;
|
|
8
|
+
icon?: any;
|
|
9
|
+
showCommentDialog?: boolean;
|
|
10
|
+
comment?: any;
|
|
11
|
+
shareExternal?: boolean;
|
|
12
|
+
selectedId?: number;
|
|
13
|
+
commentRequired?: boolean;
|
|
14
|
+
color?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class ColumnDef {
|
|
2
|
+
order: number;
|
|
3
|
+
label: string;
|
|
4
|
+
fieldName: string;
|
|
5
|
+
datatype: string;
|
|
6
|
+
groupLabel: string;
|
|
7
|
+
width: number;
|
|
8
|
+
showSum: boolean;
|
|
9
|
+
showCount: boolean;
|
|
10
|
+
constructor(tableColumn: any, order: number, transLabel: string, lang?: string, groupLabel?: string);
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const NEW = 1;
|
|
2
|
+
export declare const SAVE = 2;
|
|
3
|
+
export declare const REJECT = 3;
|
|
4
|
+
export declare const APPROVE = 4;
|
|
5
|
+
export declare const SAVE_AND_COMPLETE = 5;
|
|
6
|
+
export declare class DoActionRequest {
|
|
7
|
+
actionId: number;
|
|
8
|
+
comment: string;
|
|
9
|
+
subject: any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ValidatorFn } from "@angular/forms";
|
|
2
|
+
import { Filter } from "./filter.model";
|
|
3
|
+
export declare class FieldInfo {
|
|
4
|
+
property: string;
|
|
5
|
+
targetProperty?: string;
|
|
6
|
+
row: number;
|
|
7
|
+
required: boolean;
|
|
8
|
+
type: 'text' | 'amount' | 'color-picker' | 'currency' | 'date' | 'number' | 'sequence' | 'list' | 'lookup' | 'multi-select' | 'password' | 'rich-text' | 'radio-button' | 'phone-number' | 'iban-text' | 'checkbox' | 'textarea' | 'button' | 'spacer' | 'attachment' | 'section-title' | 'chip-list' | 'time' | 'divider' | 'hyper-text' | 'stateType' | 'status' | 'year' | 'equation-builder';
|
|
9
|
+
textFormat?: 'json';
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
viewonly?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
currency?: string;
|
|
14
|
+
lookupApiPath?: string;
|
|
15
|
+
multi?: boolean;
|
|
16
|
+
supportedTypes?: string;
|
|
17
|
+
cascadedBy?: string;
|
|
18
|
+
cascadedByProperty?: string;
|
|
19
|
+
pathParams?: string;
|
|
20
|
+
listOptions?: any[];
|
|
21
|
+
operators?: any[];
|
|
22
|
+
fieldsApi?: string;
|
|
23
|
+
reportFilter?: string;
|
|
24
|
+
updateOnly?: boolean;
|
|
25
|
+
fieldSize?: number;
|
|
26
|
+
includeAllOption?: boolean;
|
|
27
|
+
defaultListOption?: any;
|
|
28
|
+
acceptNewItem?: boolean;
|
|
29
|
+
translate?: boolean;
|
|
30
|
+
validators?: ValidatorFn[];
|
|
31
|
+
placeholder?: any;
|
|
32
|
+
visible?: boolean;
|
|
33
|
+
pattern?: string;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
advancedFilter?: boolean;
|
|
36
|
+
filterOperator?: 'GREATER_THAN_EQUAL' | 'GREATER_THAN' | 'LESS_THAN' | 'LESS_THAN_EQUAL' | 'EQUALS' | 'LIKE' | 'NOT_EQ' | 'IN';
|
|
37
|
+
workflowManaged?: boolean;
|
|
38
|
+
workflowCascadingField?: string;
|
|
39
|
+
attachmentType?: string;
|
|
40
|
+
lookupFilterList?: Filter[];
|
|
41
|
+
buttonType?: string;
|
|
42
|
+
hideFiles?: boolean;
|
|
43
|
+
behavioralName?: string;
|
|
44
|
+
flattenBySubAttribute?: string;
|
|
45
|
+
defaultValue?: any;
|
|
46
|
+
extraLookupsColumns?: string[];
|
|
47
|
+
displayColumn?: string;
|
|
48
|
+
searchAttribute?: string;
|
|
49
|
+
validationMessages?: any;
|
|
50
|
+
hideLabel?: boolean;
|
|
51
|
+
searchOperator?: "GREATER_THAN_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_EQUAL" | "EQUALS" | "LIKE" | "NOT_EQ" | "IN" | "NOT_NULL";
|
|
52
|
+
constructor(fieldInfo: FieldInfo);
|
|
53
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Filter } from "./filter.model";
|
|
2
|
+
import { MATCH_TYPE } from "./SearchStrConfig";
|
|
3
|
+
export declare class FilterRequest {
|
|
4
|
+
filters?: Filter[];
|
|
5
|
+
searchStr: string;
|
|
6
|
+
pageIndex: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
sortKey: string;
|
|
9
|
+
sortDirection: 'ASC' | 'DESC';
|
|
10
|
+
apiUri: string;
|
|
11
|
+
columns: string[];
|
|
12
|
+
pendingPage: boolean;
|
|
13
|
+
matchType?: MATCH_TYPE;
|
|
14
|
+
constructor(pageSize?: number);
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class Filter {
|
|
2
|
+
id?: any;
|
|
3
|
+
key?: any;
|
|
4
|
+
label?: string;
|
|
5
|
+
fieldName?: string;
|
|
6
|
+
joinObjectName?: string;
|
|
7
|
+
valueObject?: any;
|
|
8
|
+
fieldType?: string;
|
|
9
|
+
objectFieldName?: string;
|
|
10
|
+
filterType?: 'ASSIGNED_TO_ME' | 'FILED_FILTER' | 'CLEAR_FILTERS' | 'CUSTOMER_ID' | 'VENDOR_ID' | 'INVOICE_CUSTOMER_ID' | 'INVOICE_VENDOR_ID' | 'DATE' | 'ASSIGNED_DEPARTMENT' | 'ASSIGNED_DEPARTMENT_MANAGER_STEPS';
|
|
11
|
+
operator?: 'GREATER_THAN_EQUAL' | 'GREATER_THAN' | 'LESS_THAN' | 'LESS_THAN_EQUAL' | 'EQUALS' | 'LIKE' | 'NOT_EQ' | 'IN' | 'NOT_NULL';
|
|
12
|
+
firstValue?: any;
|
|
13
|
+
secondValue?: string;
|
|
14
|
+
values?: string[];
|
|
15
|
+
autoSelect?: boolean;
|
|
16
|
+
constructor(filter: Filter);
|
|
17
|
+
}
|
|
18
|
+
export declare const HIDE_TERMINATED: Filter;
|
|
19
|
+
export declare const ASSIGNED_TO_ME_FILTER: Filter;
|
|
20
|
+
export declare const PENDING_STATUS_FILTER: Filter;
|
|
21
|
+
export declare const CLEAR_FILTERS: Filter;
|
|
22
|
+
export declare const ASSIGNED_DEPARTMENT_FILTER: Filter;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Filter } from "./filter.model";
|
|
2
|
+
export interface GetItemsList {
|
|
3
|
+
filters?: Filter[];
|
|
4
|
+
apiUri?: string;
|
|
5
|
+
pageNumber?: number;
|
|
6
|
+
pageSize?: number;
|
|
7
|
+
sortBy?: string;
|
|
8
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
9
|
+
searchStr?: any;
|
|
10
|
+
status?: string;
|
|
11
|
+
columns?: any[];
|
|
12
|
+
}
|
|
13
|
+
export declare const INIT_GET_ITEMS_LIST: {
|
|
14
|
+
apiUri: string;
|
|
15
|
+
pageNumber: number;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
sortBy: string;
|
|
18
|
+
sortDirection: "DESC";
|
|
19
|
+
filters: any[];
|
|
20
|
+
columns: any[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './button-action-settings';
|
|
2
|
+
export * from './table-column.interface';
|
|
3
|
+
export * from './field-info';
|
|
4
|
+
export * from './page-info';
|
|
5
|
+
export * from './report-request.model';
|
|
6
|
+
export * from './filter-request';
|
|
7
|
+
export * from './filter.model';
|
|
8
|
+
export * from './lookupItem';
|
|
9
|
+
export * from './snack-message.model';
|
|
10
|
+
export * from './table-page-user-action.interface';
|
|
11
|
+
export * from './do-action-request';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class LineItem {
|
|
2
|
+
gtinCode: string;
|
|
3
|
+
description: string;
|
|
4
|
+
unitPrice: number;
|
|
5
|
+
qty: number;
|
|
6
|
+
discount: number;
|
|
7
|
+
total: number;
|
|
8
|
+
constructor(code: string, description: string, unitPrice: number, qty: number, discount: number, total: number);
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class LookupItem {
|
|
2
|
+
id: number;
|
|
3
|
+
arabicName: string;
|
|
4
|
+
englishName: string;
|
|
5
|
+
defaultValue?: boolean;
|
|
6
|
+
constructor(lookup: LookupItem);
|
|
7
|
+
}
|
|
8
|
+
export declare const ALL_ITEM: {
|
|
9
|
+
id: number;
|
|
10
|
+
arabicName: string;
|
|
11
|
+
englishName: string;
|
|
12
|
+
defaultValue: boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
hasHint?: boolean;
|
|
3
|
+
id: string;
|
|
4
|
+
labelsSection: string;
|
|
5
|
+
hasAddButton: boolean;
|
|
6
|
+
apiUri?: string;
|
|
7
|
+
selfRouting?: boolean;
|
|
8
|
+
addNewRoutePath?: string;
|
|
9
|
+
editRoutePath?: string;
|
|
10
|
+
listRoutePath?: string;
|
|
11
|
+
hideTitle?: boolean;
|
|
12
|
+
saveLabel?: string;
|
|
13
|
+
pageHeight?: 'full' | 'match';
|
|
14
|
+
processId?: number;
|
|
15
|
+
draftSupported: boolean;
|
|
16
|
+
hasExtraTabs?: boolean;
|
|
17
|
+
attachmentEnabled?: boolean;
|
|
18
|
+
attachmentDefaultExternal?: boolean;
|
|
19
|
+
printAction?: boolean;
|
|
20
|
+
completedStatusFilterLabel?: string;
|
|
21
|
+
enableHideTerminated?: boolean;
|
|
22
|
+
embededTableOnly?: boolean;
|
|
23
|
+
hasCustomFields?: boolean;
|
|
24
|
+
hidePagination?: boolean;
|
|
25
|
+
hideExtractButton?: boolean;
|
|
26
|
+
hideReportsExtractButton?: boolean;
|
|
27
|
+
externalPropertyName?: string;
|
|
28
|
+
lazyLoadData?: boolean;
|
|
29
|
+
groupByProperty?: string;
|
|
30
|
+
groupByValue?: string[];
|
|
31
|
+
supportGroupingInExport?: boolean;
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
hideAuditLog?: boolean;
|
|
34
|
+
stayOnPage?: boolean;
|
|
35
|
+
hideAdvancedFilter?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare const EMPTY_PAGE_INFO: {
|
|
38
|
+
id: string;
|
|
39
|
+
labelsSection: string;
|
|
40
|
+
hasAddButton: boolean;
|
|
41
|
+
selfRouting: boolean;
|
|
42
|
+
draftSupported: boolean;
|
|
43
|
+
hasExtraTabs: boolean;
|
|
44
|
+
attachmentEnabled: boolean;
|
|
45
|
+
printAction: boolean;
|
|
46
|
+
hidePagination: boolean;
|
|
47
|
+
attachmentDefaultExternal: boolean;
|
|
48
|
+
supportGroupingInExport: boolean;
|
|
49
|
+
hideReportsExtractButton: boolean;
|
|
50
|
+
hideAuditLog: boolean;
|
|
51
|
+
stayOnPage: boolean;
|
|
52
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ColumnDef } from "./column-def.model";
|
|
2
|
+
import { FieldPredicate } from "./field-predicate.model";
|
|
3
|
+
import { FilterRequest } from "./filter-request";
|
|
4
|
+
export declare class ReportRequest {
|
|
5
|
+
sessionId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
prefLang: string;
|
|
8
|
+
columns: ColumnDef[];
|
|
9
|
+
filter: string;
|
|
10
|
+
reportType: 'pdf' | 'xlsx';
|
|
11
|
+
dataset: any[];
|
|
12
|
+
orientation: string;
|
|
13
|
+
searchStr?: string;
|
|
14
|
+
filtersList?: FieldPredicate[];
|
|
15
|
+
filterRequest?: FilterRequest;
|
|
16
|
+
reportCode?: string;
|
|
17
|
+
constructor(br: any);
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface TableColumn<T> {
|
|
2
|
+
property: string;
|
|
3
|
+
type: 'text' | 'croppedText' | 'image' | 'netAmount' | 'workflowStatus' | 'onOff' | 'progress' | 'checkbox' | 'button' | 'date' | 'number' | 'icon' | 'bigdecimal' | 'builder' | 'localDateTime' | 'report-sequence' | 'listAction' | 'info' | 'stateType' | 'hyper-text' | 'year' | 'reportType' | 'status';
|
|
4
|
+
viewType?: string;
|
|
5
|
+
enableSorting: boolean;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
cssClasses?: string[];
|
|
8
|
+
reportVisible?: boolean | true;
|
|
9
|
+
reportProperty?: string;
|
|
10
|
+
reportType?: string;
|
|
11
|
+
showSum?: boolean;
|
|
12
|
+
showCount?: boolean;
|
|
13
|
+
translate?: boolean;
|
|
14
|
+
width?: number;
|
|
15
|
+
label?: string;
|
|
16
|
+
reportwidth?: number;
|
|
17
|
+
langDrivenName?: boolean;
|
|
18
|
+
additionalProperty?: string;
|
|
19
|
+
currency?: string;
|
|
20
|
+
orderByProperty?: string;
|
|
21
|
+
advancedFilter?: boolean;
|
|
22
|
+
enableQuickFilter?: boolean;
|
|
23
|
+
format?: string;
|
|
24
|
+
group?: string;
|
|
25
|
+
arraySubProperty?: string;
|
|
26
|
+
digitInfo?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const FRONT_END_COLUMN_TYPES: string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PageInfo } from "./page-info";
|
|
2
|
+
export interface TablePageUserAction {
|
|
3
|
+
type: 'add' | 'select' | 'extra';
|
|
4
|
+
id?: number;
|
|
5
|
+
item?: any;
|
|
6
|
+
actionKey?: string;
|
|
7
|
+
pageInfo?: PageInfo;
|
|
8
|
+
}
|
|
9
|
+
export declare const SELECT_RECORD_ACTION: TablePageUserAction;
|
|
10
|
+
export declare const EXTRA_ACTION: TablePageUserAction;
|
|
11
|
+
export declare const DRILL_DOWN_ACTION: TablePageUserAction;
|
|
12
|
+
export declare const JUNIOR_DOWN_ACTION: TablePageUserAction;
|
|
13
|
+
export declare const ADD_NEW_RECORD_ACTION: TablePageUserAction;
|
|
14
|
+
export declare const TABLE_RECORD_ACTION: TablePageUserAction;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WorkflowStep } from "./workflow-steps.model";
|
|
2
|
+
export declare class Workflow {
|
|
3
|
+
id: number;
|
|
4
|
+
corporateWorkflowId: number;
|
|
5
|
+
corporateId: number;
|
|
6
|
+
workflowProcessId: number;
|
|
7
|
+
workflowSteps: WorkflowStep[];
|
|
8
|
+
rejectionStrategy: 'TERMINATE' | 'STEP_BACK' | 'CREATE_STEP';
|
|
9
|
+
processName: string;
|
|
10
|
+
constructor(workflow: Workflow);
|
|
11
|
+
}
|
|
12
|
+
export declare const PROCESS_NAMES_MAP: Record<number, string>;
|
|
13
|
+
export declare const SEQ_PROCESS_NAMES_MAP: Record<number, string>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionCommentComponent implements OnInit {
|
|
5
|
+
dialogRef: MatDialogRef<ActionCommentComponent>;
|
|
6
|
+
data: any;
|
|
7
|
+
itemName: string;
|
|
8
|
+
titleKey: string;
|
|
9
|
+
subtitleKey: string;
|
|
10
|
+
reasonLabelKey: string;
|
|
11
|
+
placeholderKey: string;
|
|
12
|
+
warningKey: string;
|
|
13
|
+
cancelKey: string;
|
|
14
|
+
actionKey: string;
|
|
15
|
+
currentDirection: 'ltr' | 'rtl';
|
|
16
|
+
actionLabel: string;
|
|
17
|
+
isTermination: boolean;
|
|
18
|
+
comment: string;
|
|
19
|
+
external: boolean;
|
|
20
|
+
signingRequired: boolean;
|
|
21
|
+
tokenReference: string;
|
|
22
|
+
otp: string;
|
|
23
|
+
isSubmitted: boolean;
|
|
24
|
+
warningMsg: boolean;
|
|
25
|
+
constructor(dialogRef: MatDialogRef<ActionCommentComponent>, data: any);
|
|
26
|
+
onKeyUp(): void;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
commentAndClose(): false | "";
|
|
29
|
+
cancel(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionCommentComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionCommentComponent, "app-action-comment", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionConfirmationComponent implements OnInit {
|
|
5
|
+
dialogRef: MatDialogRef<ActionConfirmationComponent>;
|
|
6
|
+
data: any;
|
|
7
|
+
acceptActionLabel: string;
|
|
8
|
+
rejectActionLabel: string;
|
|
9
|
+
subMsg: string;
|
|
10
|
+
titleMsg: string;
|
|
11
|
+
currentDirection: 'ltr' | 'rtl';
|
|
12
|
+
constructor(dialogRef: MatDialogRef<ActionConfirmationComponent>, data: any);
|
|
13
|
+
onKeyUp(): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
commentAndClose(): string;
|
|
16
|
+
cancel(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionConfirmationComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionConfirmationComponent, "app-action-confirmation", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 ActivityReportFormComponent implements OnInit {
|
|
16
|
+
private translateService;
|
|
17
|
+
backendService: BackendService;
|
|
18
|
+
private activatedRoute;
|
|
19
|
+
private injector;
|
|
20
|
+
private router;
|
|
21
|
+
private route;
|
|
22
|
+
dialog: MatDialog;
|
|
23
|
+
private directionality;
|
|
24
|
+
private fb;
|
|
25
|
+
showDetails: any;
|
|
26
|
+
showExtractButton: boolean;
|
|
27
|
+
columns: TableColumn<any>[];
|
|
28
|
+
private originalColumns;
|
|
29
|
+
actionRequestCallback: (actionRequest: TablePageUserAction) => TablePageUserAction;
|
|
30
|
+
enrichDrillDownReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
|
|
31
|
+
enrichHyperLinkReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
|
|
32
|
+
enrichJuniorReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
|
|
33
|
+
userAction: EventEmitter<TablePageUserAction>;
|
|
34
|
+
activeLevel: number;
|
|
35
|
+
items: number[];
|
|
36
|
+
private filterRequest;
|
|
37
|
+
x: any;
|
|
38
|
+
isEditable: boolean;
|
|
39
|
+
fields: FieldInfo[];
|
|
40
|
+
pageInfo: PageInfo;
|
|
41
|
+
drillDownPageInfo: PageInfo;
|
|
42
|
+
drillDownColumns: TableColumn<any>[];
|
|
43
|
+
hideDrillDownButton: false;
|
|
44
|
+
juniorPageInfo: PageInfo;
|
|
45
|
+
juniorColumns: TableColumn<any>[];
|
|
46
|
+
columnsDefinition: TableColumn<any>[];
|
|
47
|
+
types: string[];
|
|
48
|
+
searchStr: string;
|
|
49
|
+
errors: FieldMessage[];
|
|
50
|
+
reloadData: boolean;
|
|
51
|
+
drillDownRequestStack: any[];
|
|
52
|
+
reportRequest: ReportRequest;
|
|
53
|
+
childReportRequest: ReportRequest;
|
|
54
|
+
juniorReportRequest: ReportRequest;
|
|
55
|
+
reportForm: FormGroup;
|
|
56
|
+
readyToSearch: boolean;
|
|
57
|
+
private pageSize;
|
|
58
|
+
private dialogReportRequest;
|
|
59
|
+
currentDirection: 'ltr' | 'rtl';
|
|
60
|
+
protected isComparisonReport: boolean;
|
|
61
|
+
constructor(translateService: TranslateService, backendService: BackendService, activatedRoute: ActivatedRoute, injector: Injector, router: Router, route: ActivatedRoute, dialog: MatDialog, directionality: Directionality, fb: FormBuilder);
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
private initializeComparisonReport;
|
|
64
|
+
private setupForm;
|
|
65
|
+
private removeCheckboxFields;
|
|
66
|
+
private setupFilters;
|
|
67
|
+
private setupJuniorReportRequest;
|
|
68
|
+
isMatchHeight(): boolean;
|
|
69
|
+
doAction(type: string): void;
|
|
70
|
+
private getParamValue;
|
|
71
|
+
private getParamValueLabel;
|
|
72
|
+
getTitle(): string;
|
|
73
|
+
updateForm($event: FormGroup): void;
|
|
74
|
+
isValidForm(): boolean;
|
|
75
|
+
emitUserAction($event: TablePageUserAction): void;
|
|
76
|
+
emitHyperLinkAction($event: TablePageUserAction): void;
|
|
77
|
+
emitJuniorAction($event: TablePageUserAction): void;
|
|
78
|
+
drillDown(): void;
|
|
79
|
+
private doJuniorAction;
|
|
80
|
+
private doADrillDownAction;
|
|
81
|
+
private addOrUpdateFilter;
|
|
82
|
+
private doHyperLinkAction;
|
|
83
|
+
extractReport(reportType: any): void;
|
|
84
|
+
goUp(): void;
|
|
85
|
+
drillDownEnabled(): boolean;
|
|
86
|
+
drillDownLabel(): string;
|
|
87
|
+
getIsEmptyList(): boolean;
|
|
88
|
+
clear(): void;
|
|
89
|
+
isFormEmpty(): boolean;
|
|
90
|
+
shouldProcessEventItem(item: any): boolean;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityReportFormComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityReportFormComponent, "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>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from "@angular/forms";
|
|
3
|
+
import { FieldFilter } from "../../../base-model/field-filter.model";
|
|
4
|
+
import { FieldInfo, PageInfo } from "../../../base-model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FieldFilterComponent implements OnInit {
|
|
7
|
+
filter: FieldFilter;
|
|
8
|
+
pageInfo: PageInfo;
|
|
9
|
+
filterFields: FieldInfo[];
|
|
10
|
+
filterForm: FormGroup;
|
|
11
|
+
item: any;
|
|
12
|
+
editable: boolean;
|
|
13
|
+
selectedValue: EventEmitter<any>;
|
|
14
|
+
filterFieldInformation: EventEmitter<any>;
|
|
15
|
+
constructor();
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
formChanges($event: FormGroup): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldFilterComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldFilterComponent, "app-field-filter", never, { "filter": { "alias": "filter"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "item": { "alias": "item"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, { "selectedValue": "selectedValue"; "filterFieldInformation": "filterFieldInformation"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FieldInfo, PageInfo, TableColumn } from "../../../base-model";
|
|
3
|
+
import { FieldFilter } from "../../../base-model/field-filter.model";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FilterBuilderComponent implements OnInit, OnDestroy {
|
|
6
|
+
columns: TableColumn<any>[];
|
|
7
|
+
isChecked: boolean;
|
|
8
|
+
filterFields: FieldInfo[];
|
|
9
|
+
pageInfo: PageInfo;
|
|
10
|
+
filter: FieldFilter;
|
|
11
|
+
filters: FieldFilter[];
|
|
12
|
+
private searchTimeout;
|
|
13
|
+
filterInformation: EventEmitter<FieldFilter[]>;
|
|
14
|
+
isEmpty: EventEmitter<boolean>;
|
|
15
|
+
constructor();
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
doSearch(): void;
|
|
19
|
+
private scheduleSearch;
|
|
20
|
+
formChanges($event: any, index?: number, fieldInfo?: FieldInfo): void;
|
|
21
|
+
typeMap(colType?: string): string;
|
|
22
|
+
isEditable(_index?: number): boolean;
|
|
23
|
+
deleteAll(): void;
|
|
24
|
+
switchToAdvanced(): void;
|
|
25
|
+
private createDefaultFieldFilter;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterBuilderComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterBuilderComponent, "app-filter-builder", never, { "columns": { "alias": "columns"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; }, { "filterInformation": "filterInformation"; "isEmpty": "isEmpty"; }, never, never, true, never>;
|
|
28
|
+
}
|