arco-support-request 0.0.65 → 0.0.66
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/arco-support-request.d.ts +32 -0
- package/arco-support-request.metadata.json +1 -0
- package/bundles/arco-support-request.umd.js +10936 -0
- package/bundles/arco-support-request.umd.js.map +1 -0
- package/bundles/arco-support-request.umd.min.js +2 -0
- package/bundles/arco-support-request.umd.min.js.map +1 -0
- package/esm2015/arco-support-request.js +33 -0
- package/esm2015/lib/Pipe/allpipe.pipe.js +110 -0
- package/esm2015/lib/Pipe/translate.pipe.js +31 -0
- package/esm2015/lib/arco-support-request.component.js +18 -0
- package/esm2015/lib/arco-support-request.module.js +20 -0
- package/esm2015/lib/arco-support-request.service.js +19 -0
- package/esm2015/lib/core/global.service.js +1747 -0
- package/esm2015/lib/core/handlebar-helper-register.js +182 -0
- package/esm2015/lib/core/static/jwt.js +8 -0
- package/esm2015/lib/entity-type-setup/activities-create/activities-create.component.js +105 -0
- package/esm2015/lib/entity-type-setup/activities-view/activities-view.component.js +46 -0
- package/esm2015/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.js +367 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +850 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.js +85 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +957 -0
- package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +51 -0
- package/esm2015/lib/entity-type-setup/interface/eventEnum.js +84 -0
- package/esm2015/lib/entity-type-setup/page-form-instance.js +65 -0
- package/esm2015/lib/entity-type-setup/page.interface.classes.js +40 -0
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +1833 -0
- package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +276 -0
- package/esm2015/lib/search.pipe.js +19 -0
- package/esm2015/lib/support-request/action/action.component.js +104 -0
- package/esm2015/lib/support-request/case-list/case-list.component.js +390 -0
- package/esm2015/lib/support-request/home/home.component.js +23 -0
- package/esm2015/lib/support-request/pagination/pagination.component.js +34 -0
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +685 -0
- package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +78 -0
- package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +270 -0
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +508 -0
- package/esm2015/lib/support-request/support-request-index/support-request-index.component.js +16 -0
- package/esm2015/lib/support-request/support-request-routing.module.js +22 -0
- package/esm2015/lib/support-request/support-request.module.js +98 -0
- package/esm2015/lib/support-request/support-request.service.js +105 -0
- package/esm2015/lib/support-request/supportRequestInterface.js +2 -0
- package/esm2015/lib/task/Interfaces/TaskInterface.js +7 -0
- package/esm2015/lib/task/Services/task.service.js +251 -0
- package/esm2015/lib/templates/Pipe/translate.pipe.js +31 -0
- package/esm2015/lib/templates/attachmentsetup/attachment-interface.js +2 -0
- package/esm2015/lib/templates/attachmentsetup/attachment.service.js +196 -0
- package/esm2015/lib/templates/grid/grid-datatype/grid-datatype.component.js +37 -0
- package/esm2015/lib/templates/grid/grid-service.service.js +85 -0
- package/esm2015/lib/templates/grid/grid.component.js +436 -0
- package/esm2015/lib/templates/grid/inner-grid/inner-grid.component.js +15 -0
- package/esm2015/lib/templates/interface_enum/common-Interface.js +2 -0
- package/esm2015/lib/templates/interface_enum/common-enum.js +153 -0
- package/esm2015/lib/ticket/_interfaces/model.js +2 -0
- package/esm2015/lib/ticket/_ticket-services/ticket-api.service.js +232 -0
- package/esm2015/public-api.js +9 -0
- package/fesm2015/arco-support-request.js +10336 -0
- package/fesm2015/arco-support-request.js.map +1 -0
- package/lib/Pipe/allpipe.pipe.d.ts +19 -0
- package/lib/Pipe/translate.pipe.d.ts +7 -0
- package/lib/arco-support-request.component.d.ts +5 -0
- package/lib/arco-support-request.module.d.ts +2 -0
- package/lib/arco-support-request.service.d.ts +9 -0
- package/lib/core/global.service.d.ts +78 -0
- package/lib/core/handlebar-helper-register.d.ts +1 -0
- package/lib/core/static/jwt.d.ts +7 -0
- package/lib/entity-type-setup/activities-create/activities-create.component.d.ts +30 -0
- package/lib/entity-type-setup/activities-view/activities-view.component.d.ts +16 -0
- package/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.d.ts +67 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +88 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.d.ts +11 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +69 -0
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +916 -0
- package/lib/entity-type-setup/interface/eventEnum.d.ts +161 -0
- package/lib/entity-type-setup/page-form-instance.d.ts +13 -0
- package/lib/entity-type-setup/page.interface.classes.d.ts +33 -0
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +604 -0
- package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +66 -0
- package/lib/search.pipe.d.ts +4 -0
- package/lib/support-request/action/action.component.d.ts +31 -0
- package/lib/support-request/case-list/case-list.component.d.ts +91 -0
- package/lib/support-request/home/home.component.d.ts +6 -0
- package/lib/support-request/pagination/pagination.component.d.ts +18 -0
- package/lib/support-request/request-flow/request-flow.component.d.ts +143 -0
- package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +31 -0
- package/lib/support-request/support-request-create/support-request-create.component.d.ts +55 -0
- package/lib/support-request/support-request-details/support-request-details.component.d.ts +116 -0
- package/lib/support-request/support-request-index/support-request-index.component.d.ts +5 -0
- package/lib/support-request/support-request-routing.module.d.ts +2 -0
- package/lib/support-request/support-request.module.d.ts +2 -0
- package/lib/support-request/support-request.service.d.ts +35 -0
- package/lib/support-request/supportRequestInterface.d.ts +6 -0
- package/lib/task/Interfaces/TaskInterface.d.ts +132 -0
- package/lib/task/Services/task.service.d.ts +75 -0
- package/lib/templates/Pipe/translate.pipe.d.ts +7 -0
- package/lib/templates/attachmentsetup/attachment-interface.d.ts +90 -0
- package/lib/templates/attachmentsetup/attachment.service.d.ts +61 -0
- package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +11 -0
- package/lib/templates/grid/grid-service.service.d.ts +40 -0
- package/lib/templates/grid/grid.component.d.ts +155 -0
- package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +5 -0
- package/lib/templates/interface_enum/common-Interface.d.ts +90 -0
- package/lib/templates/interface_enum/common-enum.d.ts +129 -0
- package/lib/ticket/_interfaces/model.d.ts +192 -0
- package/lib/ticket/_ticket-services/ticket-api.service.d.ts +81 -0
- package/package.json +22 -11
- package/{src/public-api.ts → public-api.d.ts} +1 -6
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -18
- package/src/lib/Pipe/allpipe.pipe.ts +0 -127
- package/src/lib/Pipe/handlebar-helper-register.ts +0 -197
- package/src/lib/Pipe/translate.pipe.ts +0 -32
- package/src/lib/all-routing.ts +0 -61
- package/src/lib/arco-support-request.component.spec.ts +0 -25
- package/src/lib/arco-support-request.component.ts +0 -20
- package/src/lib/arco-support-request.module.ts +0 -19
- package/src/lib/arco-support-request.service.spec.ts +0 -16
- package/src/lib/arco-support-request.service.ts +0 -16
- package/src/lib/commonstyles/new-style-rtl.css +0 -381
- package/src/lib/commonstyles/styles.scss +0 -3984
- package/src/lib/core/encodeurl.service.ts +0 -23
- package/src/lib/core/global.service.ts +0 -1810
- package/src/lib/core/handlebar-helper-register.ts +0 -213
- package/src/lib/core/httpcancel.service.ts +0 -21
- package/src/lib/core/loader.service.ts +0 -19
- package/src/lib/core/loading-provider.service.ts +0 -64
- package/src/lib/core/managehttp.interceptor.ts +0 -49
- package/src/lib/core/static/jwt.ts +0 -7
- package/src/lib/core/token.service.ts +0 -37
- package/src/lib/entity-type-setup/activities-create/activities-create.component.html +0 -68
- package/src/lib/entity-type-setup/activities-create/activities-create.component.scss +0 -0
- package/src/lib/entity-type-setup/activities-create/activities-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-create/activities-create.component.ts +0 -121
- package/src/lib/entity-type-setup/activities-view/activities-view.component.html +0 -19
- package/src/lib/entity-type-setup/activities-view/activities-view.component.scss +0 -3
- package/src/lib/entity-type-setup/activities-view/activities-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-view/activities-view.component.ts +0 -53
- package/src/lib/entity-type-setup/activity-template/activity-template.component.html +0 -73
- package/src/lib/entity-type-setup/activity-template/activity-template.component.scss +0 -0
- package/src/lib/entity-type-setup/activity-template/activity-template.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template/activity-template.component.ts +0 -208
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.html +0 -356
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.scss +0 -50
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.ts +0 -346
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.html +0 -92
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.scss +0 -90
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.ts +0 -74
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.html +0 -57
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.scss +0 -16
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.ts +0 -59
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.html +0 -102
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.scss +0 -3
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.ts +0 -498
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.html +0 -408
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.scss +0 -123
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.ts +0 -1051
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.ts +0 -84
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.html +0 -194
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.scss +0 -81
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.ts +0 -1466
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.html +0 -137
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.ts +0 -1232
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.html +0 -329
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.ts +0 -520
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.html +0 -609
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.scss +0 -99
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.ts +0 -784
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.html +0 -632
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.scss +0 -261
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.ts +0 -765
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.html +0 -368
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.ts +0 -334
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.html +0 -500
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.ts +0 -862
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.html +0 -139
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.scss +0 -14
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.ts +0 -347
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.html +0 -150
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.scss +0 -27
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.ts +0 -384
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.html +0 -305
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.scss +0 -31
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.ts +0 -572
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.html +0 -610
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.scss +0 -50
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.ts +0 -633
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.html +0 -609
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.scss +0 -4
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.ts +0 -702
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.html +0 -530
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.scss +0 -12
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.ts +0 -767
- package/src/lib/entity-type-setup/entity-type-setup-routing.module.ts +0 -92
- package/src/lib/entity-type-setup/entity-type-setup.module.ts +0 -114
- package/src/lib/entity-type-setup/events/events.component.html +0 -211
- package/src/lib/entity-type-setup/events/events.component.scss +0 -61
- package/src/lib/entity-type-setup/events/events.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/events/events.component.ts +0 -517
- package/src/lib/entity-type-setup/field-type/field-type.component.html +0 -447
- package/src/lib/entity-type-setup/field-type/field-type.component.scss +0 -0
- package/src/lib/entity-type-setup/field-type/field-type.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type/field-type.component.ts +0 -531
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.html +0 -152
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.scss +0 -24
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.ts +0 -35
- package/src/lib/entity-type-setup/instruction/instruction.component.html +0 -239
- package/src/lib/entity-type-setup/instruction/instruction.component.scss +0 -18
- package/src/lib/entity-type-setup/instruction/instruction.component.ts +0 -450
- package/src/lib/entity-type-setup/interface/entityTypeInterface.ts +0 -1045
- package/src/lib/entity-type-setup/interface/eventEnum.ts +0 -191
- package/src/lib/entity-type-setup/issue-group/issue-group.component.html +0 -77
- package/src/lib/entity-type-setup/issue-group/issue-group.component.scss +0 -0
- package/src/lib/entity-type-setup/issue-group/issue-group.component.ts +0 -221
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.html +0 -192
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.scss +0 -10
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.ts +0 -418
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.html +0 -42
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.scss +0 -8
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.ts +0 -52
- package/src/lib/entity-type-setup/my-task/my-task.component.html +0 -599
- package/src/lib/entity-type-setup/my-task/my-task.component.scss +0 -0
- package/src/lib/entity-type-setup/my-task/my-task.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/my-task/my-task.component.ts +0 -770
- package/src/lib/entity-type-setup/page-form-instance.ts +0 -73
- package/src/lib/entity-type-setup/page.interface.classes.ts +0 -43
- package/src/lib/entity-type-setup/service/dropdown.directive.ts +0 -12
- package/src/lib/entity-type-setup/service/entity-type-setup.service.ts +0 -2821
- package/src/lib/entity-type-setup/task-crete/task-crete.component.html +0 -61
- package/src/lib/entity-type-setup/task-crete/task-crete.component.scss +0 -0
- package/src/lib/entity-type-setup/task-crete/task-crete.component.ts +0 -117
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.html +0 -95
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.scss +0 -23
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.ts +0 -213
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.html +0 -222
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.scss +0 -14
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.ts +0 -328
- package/src/lib/search.pipe.spec.ts +0 -8
- package/src/lib/search.pipe.ts +0 -21
- package/src/lib/support-request/action/action.component.html +0 -122
- package/src/lib/support-request/action/action.component.scss +0 -6
- package/src/lib/support-request/action/action.component.ts +0 -179
- package/src/lib/support-request/case-list/case-list.component.html +0 -220
- package/src/lib/support-request/case-list/case-list.component.scss +0 -208
- package/src/lib/support-request/case-list/case-list.component.ts +0 -433
- package/src/lib/support-request/home/home.component.html +0 -16
- package/src/lib/support-request/home/home.component.scss +0 -4
- package/src/lib/support-request/home/home.component.ts +0 -23
- package/src/lib/support-request/pagination/pagination.component.html +0 -71
- package/src/lib/support-request/pagination/pagination.component.scss +0 -77
- package/src/lib/support-request/pagination/pagination.component.ts +0 -29
- package/src/lib/support-request/request-flow/request-flow.component.html +0 -330
- package/src/lib/support-request/request-flow/request-flow.component.scss +0 -2
- package/src/lib/support-request/request-flow/request-flow.component.ts +0 -846
- package/src/lib/support-request/self-service-flow/self-service-flow.component.html +0 -64
- package/src/lib/support-request/self-service-flow/self-service-flow.component.scss +0 -2
- package/src/lib/support-request/self-service-flow/self-service-flow.component.ts +0 -87
- package/src/lib/support-request/support-request-create/support-request-create.component.html +0 -103
- package/src/lib/support-request/support-request-create/support-request-create.component.scss +0 -39
- package/src/lib/support-request/support-request-create/support-request-create.component.ts +0 -319
- package/src/lib/support-request/support-request-details/support-request-details.component.html +0 -268
- package/src/lib/support-request/support-request-details/support-request-details.component.scss +0 -319
- package/src/lib/support-request/support-request-details/support-request-details.component.ts +0 -678
- package/src/lib/support-request/support-request-index/support-request-index.component.html +0 -4
- package/src/lib/support-request/support-request-index/support-request-index.component.scss +0 -0
- package/src/lib/support-request/support-request-index/support-request-index.component.ts +0 -16
- package/src/lib/support-request/support-request-list/support-request-list.component.html +0 -455
- package/src/lib/support-request/support-request-list/support-request-list.component.scss +0 -0
- package/src/lib/support-request/support-request-list/support-request-list.component.ts +0 -869
- package/src/lib/support-request/support-request-routing.module.ts +0 -21
- package/src/lib/support-request/support-request.module.ts +0 -103
- package/src/lib/support-request/support-request.service.ts +0 -145
- package/src/lib/support-request/supportRequestInterface.ts +0 -6
- package/src/lib/task/Interfaces/TaskInterface.ts +0 -164
- package/src/lib/task/Services/task.service.spec.ts +0 -16
- package/src/lib/task/Services/task.service.ts +0 -354
- package/src/lib/task/task-routing.module.ts +0 -12
- package/src/lib/task/task.module.ts +0 -23
- package/src/lib/template/template.component.html +0 -22
- package/src/lib/template/template.component.scss +0 -0
- package/src/lib/template/template.component.spec.ts +0 -25
- package/src/lib/template/template.component.ts +0 -24
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.html +0 -83
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.ts +0 -120
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.html +0 -134
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.ts +0 -185
- package/src/lib/templates/attachmentsetup/attachment-api.ts +0 -55
- package/src/lib/templates/attachmentsetup/attachment-interface.ts +0 -100
- package/src/lib/templates/attachmentsetup/attachment.service.ts +0 -233
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.html +0 -97
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.scss +0 -10
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.ts +0 -367
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.html +0 -49
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.ts +0 -226
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.html +0 -140
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.scss +0 -8
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.ts +0 -176
- package/src/lib/templates/card/card.component.html +0 -56
- package/src/lib/templates/card/card.component.scss +0 -0
- package/src/lib/templates/card/card.component.spec.ts +0 -25
- package/src/lib/templates/card/card.component.ts +0 -306
- package/src/lib/templates/dashboard/dashboard.component.html +0 -333
- package/src/lib/templates/dashboard/dashboard.component.scss +0 -16
- package/src/lib/templates/dashboard/dashboard.component.ts +0 -2290
- package/src/lib/templates/details/details.component.html +0 -233
- package/src/lib/templates/details/details.component.scss +0 -0
- package/src/lib/templates/details/details.component.spec.ts +0 -25
- package/src/lib/templates/details/details.component.ts +0 -15
- package/src/lib/templates/detailstwo/detailstwo.component.html +0 -694
- package/src/lib/templates/detailstwo/detailstwo.component.scss +0 -0
- package/src/lib/templates/detailstwo/detailstwo.component.spec.ts +0 -25
- package/src/lib/templates/detailstwo/detailstwo.component.ts +0 -15
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.html +0 -1
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.scss +0 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.spec.ts +0 -25
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.ts +0 -15
- package/src/lib/templates/grid/grid-datatype/grid-datatype.component.ts +0 -39
- package/src/lib/templates/grid/grid-service.service.ts +0 -140
- package/src/lib/templates/grid/grid.component.html +0 -270
- package/src/lib/templates/grid/grid.component.scss +0 -99
- package/src/lib/templates/grid/grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/grid.component.ts +0 -458
- package/src/lib/templates/grid/inner-grid/inner-grid.component.html +0 -1
- package/src/lib/templates/grid/inner-grid/inner-grid.component.scss +0 -0
- package/src/lib/templates/grid/inner-grid/inner-grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/inner-grid/inner-grid.component.ts +0 -15
- package/src/lib/templates/home/home.component.html +0 -251
- package/src/lib/templates/home/home.component.scss +0 -20
- package/src/lib/templates/home/home.component.spec.ts +0 -25
- package/src/lib/templates/home/home.component.ts +0 -15
- package/src/lib/templates/interface_enum/common-Interface.ts +0 -107
- package/src/lib/templates/interface_enum/common-enum.ts +0 -147
- package/src/lib/templates/interface_enum/icon-class.ts +0 -1149
- package/src/lib/templates/leftside/leftside.component.html +0 -77
- package/src/lib/templates/leftside/leftside.component.scss +0 -0
- package/src/lib/templates/leftside/leftside.component.spec.ts +0 -25
- package/src/lib/templates/leftside/leftside.component.ts +0 -238
- package/src/lib/templates/login/login.component.html +0 -93
- package/src/lib/templates/login/login.component.scss +0 -110
- package/src/lib/templates/login/login.component.spec.ts +0 -25
- package/src/lib/templates/login/login.component.ts +0 -142
- package/src/lib/templates/main-content/main-content.component.html +0 -31
- package/src/lib/templates/main-content/main-content.component.scss +0 -6
- package/src/lib/templates/main-content/main-content.component.spec.ts +0 -25
- package/src/lib/templates/main-content/main-content.component.ts +0 -24
- package/src/lib/templates/menu-item/child-menu/child-menu.component.html +0 -5
- package/src/lib/templates/menu-item/child-menu/child-menu.component.scss +0 -3
- package/src/lib/templates/menu-item/child-menu/child-menu.component.ts +0 -22
- package/src/lib/templates/menu-item/menu-item.component.html +0 -25
- package/src/lib/templates/menu-item/menu-item.component.scss +0 -11
- package/src/lib/templates/menu-item/menu-item.component.ts +0 -29
- package/src/lib/templates/pagination/pagination.component.html +0 -71
- package/src/lib/templates/pagination/pagination.component.scss +0 -73
- package/src/lib/templates/pagination/pagination.component.ts +0 -29
- package/src/lib/templates/pie-chart/pie-chart.component.html +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.scss +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.ts +0 -14
- package/src/lib/templates/pipe/multiple-search.pipe.ts +0 -28
- package/src/lib/templates/pipe/simple-search.pipe.ts +0 -18
- package/src/lib/templates/pipe/translate.pipe.ts +0 -31
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.html +0 -16
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.scss +0 -0
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.spec.ts +0 -25
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.ts +0 -59
- package/src/lib/templates/table/table.component.html +0 -310
- package/src/lib/templates/table/table.component.scss +0 -0
- package/src/lib/templates/table/table.component.spec.ts +0 -25
- package/src/lib/templates/table/table.component.ts +0 -52
- package/src/lib/templates/template.service.ts +0 -43
- package/src/lib/templates/templates-routing.module.ts +0 -21
- package/src/lib/templates/templates.module.ts +0 -80
- package/src/lib/templates/topnav/topnav.component.html +0 -172
- package/src/lib/templates/topnav/topnav.component.scss +0 -10
- package/src/lib/templates/topnav/topnav.component.spec.ts +0 -25
- package/src/lib/templates/topnav/topnav.component.ts +0 -59
- package/src/lib/ticket/_interfaces/master-models.ts +0 -66
- package/src/lib/ticket/_interfaces/model.ts +0 -252
- package/src/lib/ticket/_ticket-services/ticket-api.service.ts +0 -319
- package/src/lib/ticket/_ticket-services/ticket-master-api.service.ts +0 -169
- package/src/lib/ticket/_ticket-services/ticket-priority.service.ts +0 -86
- package/src/lib/ticket/_ticket-services/ticketchannel.service.ts +0 -107
- package/src/lib/ticket/ticket-routing.module.ts +0 -12
- package/src/lib/ticket/ticket.module.ts +0 -29
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
export interface ISysEventActionCVM {
|
|
2
|
-
RecId?: number;
|
|
3
|
-
Name: string; // Name
|
|
4
|
-
Config:string;
|
|
5
|
-
EventVersion:string;
|
|
6
|
-
ActionType:E_SysActionType;
|
|
7
|
-
EventName:number;
|
|
8
|
-
Module?: string; // Module
|
|
9
|
-
EventType?: number | null; // EventType
|
|
10
|
-
EventRecid?: number | null; // EventType
|
|
11
|
-
EventRecId?: number | null; // EventType
|
|
12
|
-
IsActive?:string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export interface ISysEventCVM {
|
|
17
|
-
|
|
18
|
-
Module: string; // Module
|
|
19
|
-
|
|
20
|
-
Name: string; // Name
|
|
21
|
-
|
|
22
|
-
EventType: number | null; // EventType
|
|
23
|
-
|
|
24
|
-
PayLoadModel: string; // PayLoadModel
|
|
25
|
-
|
|
26
|
-
Date: number | null; // EventType
|
|
27
|
-
Time: number | null; // EventType
|
|
28
|
-
Day: string; // Name
|
|
29
|
-
|
|
30
|
-
RecId: number;
|
|
31
|
-
ModuleEn: string; // Module
|
|
32
|
-
EventTypeEn: string; // Module
|
|
33
|
-
EventVersion: number | null; // EventType
|
|
34
|
-
IsActive: boolean | null;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface SysModuleTableCVM {
|
|
38
|
-
ModuleId: string; // Module
|
|
39
|
-
TableName: string; // Module
|
|
40
|
-
RecId: number;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface SysTableEventCVM {
|
|
44
|
-
RefRecId : number; // Module
|
|
45
|
-
EventName: string; // Module
|
|
46
|
-
Table: string; // Module
|
|
47
|
-
PersistenceType: number; // Module
|
|
48
|
-
EventType: number; // Module
|
|
49
|
-
IsActive: boolean; // Module
|
|
50
|
-
RecId: number;
|
|
51
|
-
Module:string;
|
|
52
|
-
ModuleEn:string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export interface ISysSmsEventCVM {
|
|
58
|
-
Module: string; // Module
|
|
59
|
-
To: string; // Module
|
|
60
|
-
Subject: string; // Name
|
|
61
|
-
EventType: number | null; // EventType
|
|
62
|
-
EventRecid: number | null; // EventType
|
|
63
|
-
EndPointConfigJSON: string; // EndPointConfigJSON
|
|
64
|
-
RecId: number;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export interface ISysEndPointConfig {
|
|
68
|
-
// EventType:string,
|
|
69
|
-
URL: string;
|
|
70
|
-
Method: string;
|
|
71
|
-
Headers: { [key: string]: string };
|
|
72
|
-
QueryStrings: { [key: string]: string };
|
|
73
|
-
Body: any;
|
|
74
|
-
Path:any;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface INameVal{
|
|
78
|
-
Name: string;
|
|
79
|
-
Value: string;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export interface IMailEndPointConfig {
|
|
83
|
-
// EventType:string,
|
|
84
|
-
Subject: string;
|
|
85
|
-
To: string;
|
|
86
|
-
CC: string;
|
|
87
|
-
BCC: string;
|
|
88
|
-
Mailtext: string;
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export interface ISysWorkflowEventCVM {
|
|
93
|
-
|
|
94
|
-
Module: string; // Module
|
|
95
|
-
CategoryId: string; // Name
|
|
96
|
-
EventTypeEn: string; // Name
|
|
97
|
-
EventType: number | null; // EventType
|
|
98
|
-
Workflow: number | null; // EventType
|
|
99
|
-
Workflowtage: number | null; // EventType
|
|
100
|
-
EventName: string; // PayLoadModel
|
|
101
|
-
RecId: number;
|
|
102
|
-
ModuleEn: string; // Module
|
|
103
|
-
IsActive: boolean | null;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
export enum E_SysModule {
|
|
109
|
-
HRM = 11,
|
|
110
|
-
IRM = 21,
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export enum E_SysEventType {
|
|
114
|
-
OnStart = 11,
|
|
115
|
-
OnEnd = 21,
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export enum E_SysActionType {
|
|
119
|
-
sms = 1,
|
|
120
|
-
mail = 2,
|
|
121
|
-
api = 3,
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export enum E_SysMethods {
|
|
126
|
-
GET = 1,
|
|
127
|
-
PUT = 2,
|
|
128
|
-
POST = 3,
|
|
129
|
-
DELETE = 4,
|
|
130
|
-
// HEAD=5,
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export enum E_ActionEventType {
|
|
134
|
-
sms = 1,
|
|
135
|
-
mail = 2,
|
|
136
|
-
api = 3,
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export enum E_WorkflowTypes {
|
|
140
|
-
CandidateSelection = 200010,
|
|
141
|
-
MedicalTest = 100060,
|
|
142
|
-
LabourOffice = 100070,
|
|
143
|
-
InsuranceIssued = 100080,
|
|
144
|
-
IqamaIssued = 100090,
|
|
145
|
-
ATMIssued = 100100,
|
|
146
|
-
DrivingLicense = 100110,
|
|
147
|
-
Gosi = 100120,
|
|
148
|
-
LifeInsurance = 100130,
|
|
149
|
-
LeaveRequest = 100140,
|
|
150
|
-
VacationSettlement = 100150,
|
|
151
|
-
RetirementRequest = 100160,
|
|
152
|
-
FinalSettlement = 100170,
|
|
153
|
-
VisaRequest = 100180,
|
|
154
|
-
TravelRequest = 100190,
|
|
155
|
-
VacationReturn = 100200,
|
|
156
|
-
PaymentRequest = 100210,
|
|
157
|
-
AtmReIssue = 100220,
|
|
158
|
-
AtmRenewal = 100230,
|
|
159
|
-
IqamaReIssue = 100240,
|
|
160
|
-
IqamaRenewal = 100250,
|
|
161
|
-
InsuranceReIssue = 100260,
|
|
162
|
-
InsuranceRenewal = 100270,
|
|
163
|
-
EmployeeIdCard = 100280,
|
|
164
|
-
LoanRequest = 100290,
|
|
165
|
-
HospitalCase = 300010,
|
|
166
|
-
DeadCase = 300020,
|
|
167
|
-
JailCase = 300030,
|
|
168
|
-
RefuseToWorkCase = 300040,
|
|
169
|
-
RestCase = 300050,
|
|
170
|
-
EscapeCase = 300060,
|
|
171
|
-
CheckInRequest = 300070,
|
|
172
|
-
CheckOutRequest = 300080,
|
|
173
|
-
TransferOrder = 300090,
|
|
174
|
-
LabourTransfer = 300100,
|
|
175
|
-
IndividualEnvelope = 300110,
|
|
176
|
-
BusinessPackage = 300120,
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
export enum E_Type {
|
|
181
|
-
Created = 1,
|
|
182
|
-
Updated = 2,
|
|
183
|
-
Deleted = 3,
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export enum E_WrokFlowEventType {
|
|
187
|
-
WFStarted = 201,
|
|
188
|
-
WFEnded = 202,
|
|
189
|
-
WFStageStarted = 203,
|
|
190
|
-
WFStageEnded = 204
|
|
191
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
<app-grid
|
|
2
|
-
[GridTitle]="pageTitle"
|
|
3
|
-
[GridDescription]="pageDesp"
|
|
4
|
-
[columnDefs]="columnDefs"
|
|
5
|
-
[gridActionList]="gridActionList"
|
|
6
|
-
[selectMode]="selectMode"
|
|
7
|
-
[IsCreate]="isCreate"
|
|
8
|
-
[IsDelete]="isDelete"
|
|
9
|
-
[IsEdit]="isEditIcon"
|
|
10
|
-
(editMethod)="edit($event.data)"
|
|
11
|
-
(deleteMethod)="delete($event.data)"
|
|
12
|
-
(getPageList)="getTableData($event.Criteria)"
|
|
13
|
-
(openCreatePopup)="openModel($event.type)"
|
|
14
|
-
(goToDetails)="goToDetailPage($event.data)"
|
|
15
|
-
>
|
|
16
|
-
</app-grid>
|
|
17
|
-
|
|
18
|
-
<div class="modal fade show"[ngClass]="{'showPop':displayPopUp}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
19
|
-
<div class="modal-dialog">
|
|
20
|
-
<div class="modal-content">
|
|
21
|
-
<div class="modal-header">
|
|
22
|
-
<div>
|
|
23
|
-
<h5 *ngIf="!isEdit" class="modal-title" id="exampleModalLabel">Create IssueGroup</h5>
|
|
24
|
-
<h5 *ngIf="isEdit" class="modal-title" id="exampleModalLabel">Edit IssueGroup</h5>
|
|
25
|
-
</div>
|
|
26
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close" (click)="closeModel()">
|
|
27
|
-
<span aria-hidden="true">×</span>
|
|
28
|
-
</button>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="modal-body">
|
|
31
|
-
<div>
|
|
32
|
-
<form [formGroup]="IssueGroupForm" (submit)="submit(IssueGroupForm.value)">
|
|
33
|
-
<div class="form-group row">
|
|
34
|
-
<label for="EntityType" class="col-sm-4 col-form-label">Requester Type</label>
|
|
35
|
-
<div class="col-sm-8">
|
|
36
|
-
|
|
37
|
-
<ng-select formControlName="RequesterType" [items]="RequesterTypeDDL" bindLabel="Description"
|
|
38
|
-
bindValue="LookupValueId">
|
|
39
|
-
</ng-select>
|
|
40
|
-
|
|
41
|
-
<div class="text-danger">
|
|
42
|
-
<small *ngIf="IssueGroupForm.get('RequesterType')?.touched &&
|
|
43
|
-
IssueGroupForm.get('RequesterType')?.hasError('required')"
|
|
44
|
-
class="error-message">required.</small>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div class="form-group row">
|
|
49
|
-
<label for="TicketGroupName" class="col-sm-4 col-form-label">Issue GroupName</label>
|
|
50
|
-
<div class="col-sm-8">
|
|
51
|
-
<input type="text" class="form-control" id="TicketGroupName" formControlName="TicketGroupName">
|
|
52
|
-
<div class="text-danger">
|
|
53
|
-
<small *ngIf="IssueGroupForm.get('TicketGroupName')?.touched &&
|
|
54
|
-
IssueGroupForm.get('TicketGroupName')?.hasError('required')" class="error-message">required.</small>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
<div class="form-group row">
|
|
59
|
-
<label for="IsActive" class="col-sm-4 col-form-label">Is Active</label>
|
|
60
|
-
<div class="col-sm-8">
|
|
61
|
-
<div class="form-check">
|
|
62
|
-
<input type="checkbox" class="form-check-input"
|
|
63
|
-
id=" IsActive" formControlName="IsActive">
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
<div class="modal-footer">
|
|
68
|
-
<button type="submit" [disabled]="IssueGroupForm.invalid" class="btn btn-primary float-right">Save</button>
|
|
69
|
-
<button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="closeModel()">Close</button>
|
|
70
|
-
</div>
|
|
71
|
-
</form>
|
|
72
|
-
</div>
|
|
73
|
-
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
File without changes
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { Component, OnInit } from '@angular/core';
|
|
2
|
-
import Swal from 'sweetalert2';
|
|
3
|
-
import {
|
|
4
|
-
IActionDef,
|
|
5
|
-
IColumnDef,
|
|
6
|
-
ISearchCriteria,
|
|
7
|
-
} from '../../templates/interface_enum/common-Interface';
|
|
8
|
-
import {
|
|
9
|
-
E_DataType,
|
|
10
|
-
E_FieldType,
|
|
11
|
-
E_SelectMode,
|
|
12
|
-
} from '../../templates/interface_enum/common-enum';
|
|
13
|
-
import { GridServiceService } from '../../templates/grid/grid-service.service';
|
|
14
|
-
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|
15
|
-
import { TicketGroupCVM, TicketGroupUVM, TicketGroupVM } from '../../ticket/_interfaces/model';
|
|
16
|
-
import { Router } from '@angular/router';
|
|
17
|
-
import { AllRoutes } from '../../all-routing';
|
|
18
|
-
import { EntityTypeSetupService } from '../service/entity-type-setup.service';
|
|
19
|
-
|
|
20
|
-
@Component({
|
|
21
|
-
selector: 'app-issue-group',
|
|
22
|
-
templateUrl: './issue-group.component.html',
|
|
23
|
-
styleUrls: ['./issue-group.component.scss']
|
|
24
|
-
})
|
|
25
|
-
export class IssueGroupComponent implements OnInit {
|
|
26
|
-
|
|
27
|
-
constructor(private gridServiceService: GridServiceService,
|
|
28
|
-
public fb: FormBuilder, private entityservice: EntityTypeSetupService,
|
|
29
|
-
private router: Router,
|
|
30
|
-
) { }
|
|
31
|
-
|
|
32
|
-
ngOnInit(): void {
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
IssueGroup:TicketGroupVM[]=[];
|
|
36
|
-
isEdit:boolean = false;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
isCreate: boolean = true;
|
|
40
|
-
isEditIcon: boolean = true;
|
|
41
|
-
isDelete: boolean = true;
|
|
42
|
-
pageTitle = 'Issue Group';
|
|
43
|
-
pageDesp = 'Issue Group';
|
|
44
|
-
gridActionList: IActionDef[] = [];
|
|
45
|
-
selectMode: E_SelectMode = E_SelectMode.Multi;
|
|
46
|
-
columnDefs: IColumnDef[] = [
|
|
47
|
-
{ Field: "TicketGroupID", Name: "IssueGroupID", FieldType: E_FieldType.details },
|
|
48
|
-
{ Field: "TicketGroupName", Name: "IssueGroupName" },
|
|
49
|
-
{ Field: "RequesterTypeEn", Name:"RequesterType"},
|
|
50
|
-
{ Field: "IsActive", Name: "IsActive", DataType: E_DataType.bool },
|
|
51
|
-
];
|
|
52
|
-
IssueGroupForm: FormGroup = this.fb.group({
|
|
53
|
-
RecId: [null],
|
|
54
|
-
RequesterType:[null, Validators.required],
|
|
55
|
-
TicketGroupName: [null, Validators.required],
|
|
56
|
-
IsActive: [false]
|
|
57
|
-
},
|
|
58
|
-
);
|
|
59
|
-
|
|
60
|
-
storeCriteria: ISearchCriteria;
|
|
61
|
-
getTableData(Criteria: ISearchCriteria) {
|
|
62
|
-
|
|
63
|
-
this.storeCriteria = Criteria;
|
|
64
|
-
this.entityservice.getGroupData(Criteria).subscribe(
|
|
65
|
-
(res: any) => {
|
|
66
|
-
|
|
67
|
-
this.IssueGroup = res.Data;
|
|
68
|
-
this.loadGrid(res.Data, res.TotalCount);
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
(error) => {
|
|
72
|
-
console.log(error);
|
|
73
|
-
|
|
74
|
-
this.loadGrid([], 0);
|
|
75
|
-
Swal.fire(error.error, error?.message, 'error');
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
loadGrid(data: any, TotalRecord: number) {
|
|
80
|
-
|
|
81
|
-
if (data) {
|
|
82
|
-
if (data.length > 0)
|
|
83
|
-
this.gridServiceService.onGridRefresh.next({
|
|
84
|
-
isTrue: true,
|
|
85
|
-
list: data,
|
|
86
|
-
count: data.length,
|
|
87
|
-
totalRecordCount: TotalRecord,
|
|
88
|
-
});
|
|
89
|
-
else
|
|
90
|
-
this.gridServiceService.onGridRefresh.next({
|
|
91
|
-
isTrue: true,
|
|
92
|
-
list: [],
|
|
93
|
-
count: 0,
|
|
94
|
-
totalRecordCount: 0,
|
|
95
|
-
});
|
|
96
|
-
} else
|
|
97
|
-
this.gridServiceService.onGridRefresh.next({
|
|
98
|
-
isTrue: true,
|
|
99
|
-
list: [],
|
|
100
|
-
count: 0,
|
|
101
|
-
totalRecordCount: 0,
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
displayPopUp:boolean = false;
|
|
106
|
-
openModel(data?: TicketGroupVM) {
|
|
107
|
-
|
|
108
|
-
this.displayPopUp = true;
|
|
109
|
-
this.getLookupValuseByLookupId();
|
|
110
|
-
}
|
|
111
|
-
closeModel() {
|
|
112
|
-
this.displayPopUp = false;
|
|
113
|
-
this.IssueGroupForm.reset();
|
|
114
|
-
this.isEdit = false;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
submit(values: TicketGroupVM) {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
if (this.IssueGroupForm.value['RecId'] == null || undefined) {
|
|
121
|
-
|
|
122
|
-
const data: TicketGroupCVM = {
|
|
123
|
-
RequesterType: values.RequesterType,
|
|
124
|
-
TicketGroupName: values.TicketGroupName,
|
|
125
|
-
IsActive: values.IsActive,
|
|
126
|
-
};
|
|
127
|
-
this.entityservice.createGroupData(data).subscribe(
|
|
128
|
-
(res) => {
|
|
129
|
-
this.closeModel();
|
|
130
|
-
this.isEdit = false;
|
|
131
|
-
this.IssueGroupForm.reset();
|
|
132
|
-
Swal.fire('Created Successfully', 'Success');
|
|
133
|
-
this.getTableData(this.storeCriteria);
|
|
134
|
-
},
|
|
135
|
-
(error) => {
|
|
136
|
-
console.log(error);
|
|
137
|
-
this.isEdit = false;
|
|
138
|
-
this.closeModel();
|
|
139
|
-
this.IssueGroupForm.reset();
|
|
140
|
-
Swal.fire(error.error, error?.message, 'error');
|
|
141
|
-
this.getTableData(this.storeCriteria);
|
|
142
|
-
}
|
|
143
|
-
);
|
|
144
|
-
} else {
|
|
145
|
-
|
|
146
|
-
const data: TicketGroupUVM = {
|
|
147
|
-
RecId: values.RecId,
|
|
148
|
-
RequesterType: values.RequesterType,
|
|
149
|
-
TicketGroupName: values.TicketGroupName,
|
|
150
|
-
IsActive: values.IsActive,
|
|
151
|
-
};
|
|
152
|
-
this.entityservice.updateGroupData(data).subscribe(
|
|
153
|
-
(res) => {
|
|
154
|
-
this.closeModel();
|
|
155
|
-
this.isEdit = false;
|
|
156
|
-
this.IssueGroupForm.reset();
|
|
157
|
-
Swal.fire('Updated Successfully', 'Success');
|
|
158
|
-
this.getTableData(this.storeCriteria);
|
|
159
|
-
},
|
|
160
|
-
(error) => {
|
|
161
|
-
console.log(error);
|
|
162
|
-
this.isEdit = false;
|
|
163
|
-
this.closeModel();
|
|
164
|
-
this.IssueGroupForm.reset();
|
|
165
|
-
Swal.fire(error.error, error?.message, 'error');
|
|
166
|
-
this.getTableData(this.storeCriteria);
|
|
167
|
-
}
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
edit(data: TicketGroupVM) {
|
|
172
|
-
|
|
173
|
-
this.isEdit = true;
|
|
174
|
-
this.entityservice.getSingleGroupData(data.RecId).subscribe(
|
|
175
|
-
(res) => {
|
|
176
|
-
this.IssueGroupForm.patchValue(res);
|
|
177
|
-
this.openModel();
|
|
178
|
-
},
|
|
179
|
-
(error) => {
|
|
180
|
-
console.log(error);
|
|
181
|
-
this.IssueGroupForm.reset();
|
|
182
|
-
this.closeModel();
|
|
183
|
-
Swal.fire(error.error, error?.message, 'error');
|
|
184
|
-
this.getTableData(this.storeCriteria);
|
|
185
|
-
}
|
|
186
|
-
);
|
|
187
|
-
}
|
|
188
|
-
delete(data: TicketGroupVM) {
|
|
189
|
-
|
|
190
|
-
this.entityservice.deleteGroupData(data.RecId).subscribe(
|
|
191
|
-
(res) => {
|
|
192
|
-
this.getTableData(this.storeCriteria);
|
|
193
|
-
},
|
|
194
|
-
(error) => {
|
|
195
|
-
console.log(error);
|
|
196
|
-
Swal.fire(error.error, error?.message, 'error');
|
|
197
|
-
this.getTableData(this.storeCriteria);
|
|
198
|
-
}
|
|
199
|
-
);
|
|
200
|
-
}
|
|
201
|
-
goToDetailPage(data:TicketGroupVM) {
|
|
202
|
-
|
|
203
|
-
this.router.navigate([AllRoutes.Entity.IssueSubGroup, data.TicketGroupID]);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
RequesterTypeDDL: any[] = [];
|
|
207
|
-
|
|
208
|
-
getLookupValuseByLookupId() {
|
|
209
|
-
|
|
210
|
-
let LookupTypeId = "1001";
|
|
211
|
-
this.entityservice.getLookupValuseByLookupId(LookupTypeId).subscribe(
|
|
212
|
-
(res: any[]) => {
|
|
213
|
-
|
|
214
|
-
this.RequesterTypeDDL = res;
|
|
215
|
-
},
|
|
216
|
-
(error => {
|
|
217
|
-
console.log(error);
|
|
218
|
-
})
|
|
219
|
-
)
|
|
220
|
-
}
|
|
221
|
-
}
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
<div class="card">
|
|
2
|
-
|
|
3
|
-
<div class="header clearfix">
|
|
4
|
-
<h2 class="float-left">
|
|
5
|
-
Issue Group details
|
|
6
|
-
</h2>
|
|
7
|
-
<a href="javascript:void(0)" class="pull-right themecolor action-btn m-r-5" (click)="backToList()">
|
|
8
|
-
<i class="icon icon-arrow-left-circle"></i>
|
|
9
|
-
</a>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="card">
|
|
13
|
-
<div class="card-body">
|
|
14
|
-
<div class="form-group">
|
|
15
|
-
<label>Issue GroupId</label>
|
|
16
|
-
<span>: {{IssueGroupDetails?.TicketGroupID}} </span>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="form-group">
|
|
19
|
-
<label>Issue GroupName</label>
|
|
20
|
-
<span>: {{IssueGroupDetails?.TicketGroupName}} </span>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<div class="form-group">
|
|
24
|
-
<label>IsActive</label>
|
|
25
|
-
<span>: {{IssueGroupDetails?.IsActive}} </span>
|
|
26
|
-
</div>
|
|
27
|
-
|
|
28
|
-
<!-- <div class="form-group">
|
|
29
|
-
<label>TicketTypeId</label>
|
|
30
|
-
<span>: {{IssueGroupDetails?.TicketTypeID}} </span>
|
|
31
|
-
</div> -->
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
<app-grid
|
|
35
|
-
[GridTitle]="pageTitle"
|
|
36
|
-
[GridDescription]="pageDesp"
|
|
37
|
-
[columnDefs]="columnDefs"
|
|
38
|
-
[gridActionList]="gridActionList"
|
|
39
|
-
[selectMode]="selectMode"
|
|
40
|
-
[IsCreate]="isCreate"
|
|
41
|
-
[IsDelete]="isDelete"
|
|
42
|
-
[IsEdit]="isEditIcon"
|
|
43
|
-
[IsAssign]="isAssign"
|
|
44
|
-
(editMethod)="edit($event.data)"
|
|
45
|
-
(deleteMethod)="delete($event.data)"
|
|
46
|
-
(getPageList)="getTableData($event.Criteria)"
|
|
47
|
-
(openCreatePopup)="openModel($event.type)"
|
|
48
|
-
(assignmentMethod)="openSubGroupAssignment($event.data)"
|
|
49
|
-
(goToDetails)="goToDetails($event.data)"
|
|
50
|
-
>
|
|
51
|
-
</app-grid>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
<div class="modal fade show"[ngClass]="{'showPop':displayPopUp}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
55
|
-
<div class="modal-dialog">
|
|
56
|
-
<div class="modal-content">
|
|
57
|
-
<div class="modal-header">
|
|
58
|
-
<div>
|
|
59
|
-
<h5 *ngIf="!isEdit" class="modal-title" id="exampleModalLabel">Create Issue SubGroup</h5>
|
|
60
|
-
<h5 *ngIf="isEdit" class="modal-title" id="exampleModalLabel">Edit Issue SubGroup</h5>
|
|
61
|
-
</div>
|
|
62
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close" (click)="closeModel()">
|
|
63
|
-
<span aria-hidden="true">×</span>
|
|
64
|
-
</button>
|
|
65
|
-
</div>
|
|
66
|
-
<div class="modal-body">
|
|
67
|
-
<div>
|
|
68
|
-
<form [formGroup]="IssueSubGroupForm" (submit)="submit(IssueSubGroupForm.value)">
|
|
69
|
-
<div class="form-group row">
|
|
70
|
-
<label for="SubGroupName" class="col-sm-4 col-form-label">Issue SubGroupName</label>
|
|
71
|
-
<div class="col-sm-8">
|
|
72
|
-
<input type="text" class="form-control" id="SubGroupName" formControlName="SubGroupName">
|
|
73
|
-
<div class="text-danger">
|
|
74
|
-
<small *ngIf="IssueSubGroupForm.get('SubGroupName')?.touched &&
|
|
75
|
-
IssueSubGroupForm.get('SubGroupName')?.hasError('required')" class="error-message">required.</small>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
<div class="form-group row">
|
|
80
|
-
<label for="CaseTypeId" class="col-sm-4 col-form-label">Case Type</label>
|
|
81
|
-
<div class="col-sm-8">
|
|
82
|
-
|
|
83
|
-
<ng-select formControlName="CaseTypeId" [items]="CaseTypeDDL" bindLabel="Description"
|
|
84
|
-
bindValue="RecId">
|
|
85
|
-
</ng-select>
|
|
86
|
-
|
|
87
|
-
<div class="text-danger">
|
|
88
|
-
<small *ngIf="IssueSubGroupForm.get('CaseTypeId')?.touched &&
|
|
89
|
-
IssueSubGroupForm.get('CaseTypeId')?.hasError('required')"
|
|
90
|
-
class="error-message">required.</small>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
<div class="modal-footer">
|
|
95
|
-
<button type="submit" [disabled]="IssueSubGroupForm.invalid" class="btn btn-primary float-right">Save</button>
|
|
96
|
-
<button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="closeModel()">Close</button>
|
|
97
|
-
</div>
|
|
98
|
-
</form>
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
|
|
106
|
-
<!-- SubGroupn Assignments Modal -->
|
|
107
|
-
<div class="modal fade show"[ngClass]="{'showPop':showSubGroupPopup}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
108
|
-
<div class="modal-dialog modal-lg " role="document">
|
|
109
|
-
<div class="modal-content">
|
|
110
|
-
<div class="modal-header">
|
|
111
|
-
<h5 class="modal-title" id="exampleModalLabel">Case Assignment</h5>
|
|
112
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close" (click)="closeSubGroupAssignment()">
|
|
113
|
-
<span aria-hidden="true">×</span>
|
|
114
|
-
</button>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="modal-body">
|
|
117
|
-
<div class="roleUserContent">
|
|
118
|
-
<div class="row">
|
|
119
|
-
<div class="col-5" style="padding-right: 0;">
|
|
120
|
-
<div class="clearfix">
|
|
121
|
-
<h5>UnAssigned Case</h5>
|
|
122
|
-
<input type="text"
|
|
123
|
-
class="form-control mt-1 mb-1"
|
|
124
|
-
[(ngModel)]="SubGroupUnAssignData"
|
|
125
|
-
(keyup)="filterSubGroupData(false)"
|
|
126
|
-
[ngModelOptions]="{standalone: true}"
|
|
127
|
-
placeholder="Search here"
|
|
128
|
-
id="SubGroupUnAssign" />
|
|
129
|
-
</div>
|
|
130
|
-
<div class="roleUserBody">
|
|
131
|
-
<div class="table-responsive">
|
|
132
|
-
<table class="table ">
|
|
133
|
-
<tbody>
|
|
134
|
-
<tr *ngFor="let Sub of SubGroupUnAssign">
|
|
135
|
-
<td>
|
|
136
|
-
<input type="checkbox" [(ngModel)]="Sub.IsSelected" (change)="checkIsAllSubGroupUnAssignSelected()" name="checkbox">
|
|
137
|
-
</td>
|
|
138
|
-
<td>{{Sub.CaseTypeIdEn}}</td>
|
|
139
|
-
</tr>
|
|
140
|
-
</tbody>
|
|
141
|
-
</table>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
<div class="mt-1">
|
|
145
|
-
<input [(ngModel)]="SubGroupUnAssignCheckAll"
|
|
146
|
-
(change)="getUnAssignSubGroupCheckAll($event)" type="checkbox" name="checkbox">
|
|
147
|
-
<span class="ml-1">Select All</span>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
<div class="col-2 align-item-center justify-content-center">
|
|
151
|
-
<div class="clearfix arrow-icon-design ">
|
|
152
|
-
<button class="btn btn-success " (click)="assignSubGroup()"><i class="fa fa-forward"></i></button>
|
|
153
|
-
<button class="btn btn-success mt-2" (click)="unAssignSubGroup()"><i class="fa fa-backward"></i></button>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
<div class="col-5" style="padding-left: 0;">
|
|
157
|
-
<div class="clearfix">
|
|
158
|
-
<h5>Assigned Case</h5>
|
|
159
|
-
<input type="text"
|
|
160
|
-
class="form-control mt- mb-1"
|
|
161
|
-
[(ngModel)]="SubGroupAssignData"
|
|
162
|
-
(keyup)="filterSubGroupData(true)"
|
|
163
|
-
[ngModelOptions]="{standalone: true}"
|
|
164
|
-
placeholder="Search here"
|
|
165
|
-
id="SubGroupAssign" />
|
|
166
|
-
</div>
|
|
167
|
-
<div class="roleUserBody">
|
|
168
|
-
<div class="table-responsive">
|
|
169
|
-
<table class="table">
|
|
170
|
-
<tbody>
|
|
171
|
-
<tr *ngFor="let Sub of SubGroupAssign, let i = index">
|
|
172
|
-
<td>
|
|
173
|
-
<input [(ngModel)]="Sub.IsSelected" (change)="checkIsAllSubGroupAssignSelected()" type="checkbox"name="checkbox">
|
|
174
|
-
</td>
|
|
175
|
-
<td>{{Sub.CaseTypeIdEn}}</td>
|
|
176
|
-
</tr>
|
|
177
|
-
</tbody>
|
|
178
|
-
</table>
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
181
|
-
<div class="mt-1">
|
|
182
|
-
<input [(ngModel)]="SubGroupAssignCheckAll"
|
|
183
|
-
(change)="getAssignSubGroupCheckAll($event)" type="checkbox" name="checkbox">
|
|
184
|
-
<span class="ml-1">Select All</span>
|
|
185
|
-
</div>
|
|
186
|
-
</div>
|
|
187
|
-
</div>
|
|
188
|
-
</div>
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|