arco-support-request 0.0.64 → 0.0.65
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/karma.conf.js +44 -0
- package/ng-package.json +18 -0
- package/package.json +11 -22
- package/src/lib/Pipe/allpipe.pipe.ts +127 -0
- package/src/lib/Pipe/handlebar-helper-register.ts +197 -0
- package/src/lib/Pipe/translate.pipe.ts +32 -0
- package/src/lib/all-routing.ts +61 -0
- package/src/lib/arco-support-request.component.spec.ts +25 -0
- package/src/lib/arco-support-request.component.ts +20 -0
- package/src/lib/arco-support-request.module.ts +19 -0
- package/src/lib/arco-support-request.service.spec.ts +16 -0
- package/src/lib/arco-support-request.service.ts +16 -0
- package/src/lib/commonstyles/new-style-rtl.css +381 -0
- package/src/lib/commonstyles/styles.scss +3984 -0
- package/src/lib/core/encodeurl.service.ts +23 -0
- package/src/lib/core/global.service.ts +1810 -0
- package/src/lib/core/handlebar-helper-register.ts +213 -0
- package/src/lib/core/httpcancel.service.ts +21 -0
- package/src/lib/core/loader.service.ts +19 -0
- package/src/lib/core/loading-provider.service.ts +64 -0
- package/src/lib/core/managehttp.interceptor.ts +49 -0
- package/src/lib/core/static/jwt.ts +7 -0
- package/src/lib/core/token.service.ts +37 -0
- package/src/lib/entity-type-setup/activities-create/activities-create.component.html +68 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/activities-create/activities-create.component.ts +121 -0
- package/src/lib/entity-type-setup/activities-view/activities-view.component.html +19 -0
- package/src/lib/entity-type-setup/activities-view/activities-view.component.scss +3 -0
- package/src/lib/entity-type-setup/activities-view/activities-view.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/activities-view/activities-view.component.ts +53 -0
- package/src/lib/entity-type-setup/activity-template/activity-template.component.html +73 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/activity-template/activity-template.component.ts +208 -0
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.html +356 -0
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.scss +50 -0
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.ts +346 -0
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.html +92 -0
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.scss +90 -0
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.ts +74 -0
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.html +57 -0
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.scss +16 -0
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.ts +59 -0
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.html +102 -0
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.scss +3 -0
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.ts +498 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.html +408 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.scss +123 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.ts +1051 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.ts +84 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.html +194 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.scss +81 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.ts +1466 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.html +137 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.ts +1232 -0
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.html +329 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.ts +520 -0
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.html +609 -0
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.scss +99 -0
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.ts +784 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.html +632 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.scss +261 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.ts +765 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.html +368 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.ts +334 -0
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.html +500 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.ts +862 -0
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.html +139 -0
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.scss +14 -0
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.ts +347 -0
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.html +150 -0
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.scss +27 -0
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.ts +384 -0
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.html +305 -0
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.scss +31 -0
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.ts +572 -0
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.html +610 -0
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.scss +50 -0
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.ts +633 -0
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.html +609 -0
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.scss +4 -0
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.ts +702 -0
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.html +530 -0
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.scss +12 -0
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.ts +767 -0
- package/src/lib/entity-type-setup/entity-type-setup-routing.module.ts +92 -0
- package/src/lib/entity-type-setup/entity-type-setup.module.ts +114 -0
- package/src/lib/entity-type-setup/events/events.component.html +211 -0
- package/src/lib/entity-type-setup/events/events.component.scss +61 -0
- package/src/lib/entity-type-setup/events/events.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/events/events.component.ts +517 -0
- package/src/lib/entity-type-setup/field-type/field-type.component.html +447 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/field-type/field-type.component.ts +531 -0
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.html +152 -0
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.scss +24 -0
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.ts +35 -0
- package/src/lib/entity-type-setup/instruction/instruction.component.html +239 -0
- package/src/lib/entity-type-setup/instruction/instruction.component.scss +18 -0
- package/src/lib/entity-type-setup/instruction/instruction.component.ts +450 -0
- package/src/lib/entity-type-setup/interface/entityTypeInterface.ts +1045 -0
- package/src/lib/entity-type-setup/interface/eventEnum.ts +191 -0
- package/src/lib/entity-type-setup/issue-group/issue-group.component.html +77 -0
- 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 +221 -0
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.html +192 -0
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.scss +10 -0
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.ts +418 -0
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.html +42 -0
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.scss +8 -0
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.ts +52 -0
- package/src/lib/entity-type-setup/my-task/my-task.component.html +599 -0
- 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 +25 -0
- package/src/lib/entity-type-setup/my-task/my-task.component.ts +770 -0
- package/src/lib/entity-type-setup/page-form-instance.ts +73 -0
- package/src/lib/entity-type-setup/page.interface.classes.ts +43 -0
- package/src/lib/entity-type-setup/service/dropdown.directive.ts +12 -0
- package/src/lib/entity-type-setup/service/entity-type-setup.service.ts +2821 -0
- package/src/lib/entity-type-setup/task-crete/task-crete.component.html +61 -0
- 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 +117 -0
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.html +95 -0
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.scss +23 -0
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.ts +213 -0
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.html +222 -0
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.scss +14 -0
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.spec.ts +25 -0
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.ts +328 -0
- package/src/lib/search.pipe.spec.ts +8 -0
- package/src/lib/search.pipe.ts +21 -0
- package/src/lib/support-request/action/action.component.html +122 -0
- package/src/lib/support-request/action/action.component.scss +6 -0
- package/src/lib/support-request/action/action.component.ts +179 -0
- package/src/lib/support-request/case-list/case-list.component.html +220 -0
- package/src/lib/support-request/case-list/case-list.component.scss +208 -0
- package/src/lib/support-request/case-list/case-list.component.ts +433 -0
- package/src/lib/support-request/home/home.component.html +16 -0
- package/src/lib/support-request/home/home.component.scss +4 -0
- package/src/lib/support-request/home/home.component.ts +23 -0
- package/src/lib/support-request/pagination/pagination.component.html +71 -0
- package/src/lib/support-request/pagination/pagination.component.scss +77 -0
- package/src/lib/support-request/pagination/pagination.component.ts +29 -0
- package/src/lib/support-request/request-flow/request-flow.component.html +330 -0
- package/src/lib/support-request/request-flow/request-flow.component.scss +2 -0
- package/src/lib/support-request/request-flow/request-flow.component.ts +846 -0
- package/src/lib/support-request/self-service-flow/self-service-flow.component.html +64 -0
- package/src/lib/support-request/self-service-flow/self-service-flow.component.scss +2 -0
- package/src/lib/support-request/self-service-flow/self-service-flow.component.ts +87 -0
- package/src/lib/support-request/support-request-create/support-request-create.component.html +103 -0
- package/src/lib/support-request/support-request-create/support-request-create.component.scss +39 -0
- package/src/lib/support-request/support-request-create/support-request-create.component.ts +319 -0
- package/src/lib/support-request/support-request-details/support-request-details.component.html +268 -0
- package/src/lib/support-request/support-request-details/support-request-details.component.scss +319 -0
- package/src/lib/support-request/support-request-details/support-request-details.component.ts +678 -0
- package/src/lib/support-request/support-request-index/support-request-index.component.html +4 -0
- 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 +16 -0
- package/src/lib/support-request/support-request-list/support-request-list.component.html +455 -0
- 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 +869 -0
- package/src/lib/support-request/support-request-routing.module.ts +21 -0
- package/src/lib/support-request/support-request.module.ts +103 -0
- package/src/lib/support-request/support-request.service.ts +145 -0
- package/src/lib/support-request/supportRequestInterface.ts +6 -0
- package/src/lib/task/Interfaces/TaskInterface.ts +164 -0
- package/src/lib/task/Services/task.service.spec.ts +16 -0
- package/src/lib/task/Services/task.service.ts +354 -0
- package/src/lib/task/task-routing.module.ts +12 -0
- package/src/lib/task/task.module.ts +23 -0
- package/src/lib/template/template.component.html +22 -0
- package/src/lib/template/template.component.scss +0 -0
- package/src/lib/template/template.component.spec.ts +25 -0
- package/src/lib/template/template.component.ts +24 -0
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.html +83 -0
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.ts +120 -0
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.html +134 -0
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.ts +185 -0
- package/src/lib/templates/attachmentsetup/attachment-api.ts +55 -0
- package/src/lib/templates/attachmentsetup/attachment-interface.ts +100 -0
- package/src/lib/templates/attachmentsetup/attachment.service.ts +233 -0
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.html +97 -0
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.scss +10 -0
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.ts +367 -0
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.html +49 -0
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.ts +226 -0
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.html +140 -0
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.scss +8 -0
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.ts +176 -0
- package/src/lib/templates/card/card.component.html +56 -0
- package/src/lib/templates/card/card.component.scss +0 -0
- package/src/lib/templates/card/card.component.spec.ts +25 -0
- package/src/lib/templates/card/card.component.ts +306 -0
- package/src/lib/templates/dashboard/dashboard.component.html +333 -0
- package/src/lib/templates/dashboard/dashboard.component.scss +16 -0
- package/src/lib/templates/dashboard/dashboard.component.ts +2290 -0
- package/src/lib/templates/details/details.component.html +233 -0
- package/src/lib/templates/details/details.component.scss +0 -0
- package/src/lib/templates/details/details.component.spec.ts +25 -0
- package/src/lib/templates/details/details.component.ts +15 -0
- package/src/lib/templates/detailstwo/detailstwo.component.html +694 -0
- package/src/lib/templates/detailstwo/detailstwo.component.scss +0 -0
- package/src/lib/templates/detailstwo/detailstwo.component.spec.ts +25 -0
- package/src/lib/templates/detailstwo/detailstwo.component.ts +15 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.html +1 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.scss +0 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.spec.ts +25 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.ts +15 -0
- package/src/lib/templates/grid/grid-datatype/grid-datatype.component.ts +39 -0
- package/src/lib/templates/grid/grid-service.service.ts +140 -0
- package/src/lib/templates/grid/grid.component.html +270 -0
- package/src/lib/templates/grid/grid.component.scss +99 -0
- package/src/lib/templates/grid/grid.component.spec.ts +25 -0
- package/src/lib/templates/grid/grid.component.ts +458 -0
- package/src/lib/templates/grid/inner-grid/inner-grid.component.html +1 -0
- 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 +25 -0
- package/src/lib/templates/grid/inner-grid/inner-grid.component.ts +15 -0
- package/src/lib/templates/home/home.component.html +251 -0
- package/src/lib/templates/home/home.component.scss +20 -0
- package/src/lib/templates/home/home.component.spec.ts +25 -0
- package/src/lib/templates/home/home.component.ts +15 -0
- package/src/lib/templates/interface_enum/common-Interface.ts +107 -0
- package/src/lib/templates/interface_enum/common-enum.ts +147 -0
- package/src/lib/templates/interface_enum/icon-class.ts +1149 -0
- package/src/lib/templates/leftside/leftside.component.html +77 -0
- package/src/lib/templates/leftside/leftside.component.scss +0 -0
- package/src/lib/templates/leftside/leftside.component.spec.ts +25 -0
- package/src/lib/templates/leftside/leftside.component.ts +238 -0
- package/src/lib/templates/login/login.component.html +93 -0
- package/src/lib/templates/login/login.component.scss +110 -0
- package/src/lib/templates/login/login.component.spec.ts +25 -0
- package/src/lib/templates/login/login.component.ts +142 -0
- package/src/lib/templates/main-content/main-content.component.html +31 -0
- package/src/lib/templates/main-content/main-content.component.scss +6 -0
- package/src/lib/templates/main-content/main-content.component.spec.ts +25 -0
- package/src/lib/templates/main-content/main-content.component.ts +24 -0
- package/src/lib/templates/menu-item/child-menu/child-menu.component.html +5 -0
- package/src/lib/templates/menu-item/child-menu/child-menu.component.scss +3 -0
- package/src/lib/templates/menu-item/child-menu/child-menu.component.ts +22 -0
- package/src/lib/templates/menu-item/menu-item.component.html +25 -0
- package/src/lib/templates/menu-item/menu-item.component.scss +11 -0
- package/src/lib/templates/menu-item/menu-item.component.ts +29 -0
- package/src/lib/templates/pagination/pagination.component.html +71 -0
- package/src/lib/templates/pagination/pagination.component.scss +73 -0
- package/src/lib/templates/pagination/pagination.component.ts +29 -0
- 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 +14 -0
- package/src/lib/templates/pipe/multiple-search.pipe.ts +28 -0
- package/src/lib/templates/pipe/simple-search.pipe.ts +18 -0
- package/src/lib/templates/pipe/translate.pipe.ts +31 -0
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.html +16 -0
- 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 +25 -0
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.ts +59 -0
- package/src/lib/templates/table/table.component.html +310 -0
- package/src/lib/templates/table/table.component.scss +0 -0
- package/src/lib/templates/table/table.component.spec.ts +25 -0
- package/src/lib/templates/table/table.component.ts +52 -0
- package/src/lib/templates/template.service.ts +43 -0
- package/src/lib/templates/templates-routing.module.ts +21 -0
- package/src/lib/templates/templates.module.ts +80 -0
- package/src/lib/templates/topnav/topnav.component.html +172 -0
- package/src/lib/templates/topnav/topnav.component.scss +10 -0
- package/src/lib/templates/topnav/topnav.component.spec.ts +25 -0
- package/src/lib/templates/topnav/topnav.component.ts +59 -0
- package/src/lib/ticket/_interfaces/master-models.ts +66 -0
- package/src/lib/ticket/_interfaces/model.ts +252 -0
- package/src/lib/ticket/_ticket-services/ticket-api.service.ts +319 -0
- package/src/lib/ticket/_ticket-services/ticket-master-api.service.ts +169 -0
- package/src/lib/ticket/_ticket-services/ticket-priority.service.ts +86 -0
- package/src/lib/ticket/_ticket-services/ticketchannel.service.ts +107 -0
- package/src/lib/ticket/ticket-routing.module.ts +12 -0
- package/src/lib/ticket/ticket.module.ts +29 -0
- package/{public-api.d.ts → src/public-api.ts} +6 -1
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +25 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/arco-support-request.d.ts +0 -32
- package/arco-support-request.metadata.json +0 -1
- package/bundles/arco-support-request.umd.js +0 -10935
- package/bundles/arco-support-request.umd.js.map +0 -1
- package/bundles/arco-support-request.umd.min.js +0 -2
- package/bundles/arco-support-request.umd.min.js.map +0 -1
- package/esm2015/arco-support-request.js +0 -33
- package/esm2015/lib/Pipe/allpipe.pipe.js +0 -110
- package/esm2015/lib/Pipe/translate.pipe.js +0 -31
- package/esm2015/lib/arco-support-request.component.js +0 -18
- package/esm2015/lib/arco-support-request.module.js +0 -20
- package/esm2015/lib/arco-support-request.service.js +0 -19
- package/esm2015/lib/core/global.service.js +0 -1747
- package/esm2015/lib/core/handlebar-helper-register.js +0 -182
- package/esm2015/lib/core/static/jwt.js +0 -8
- package/esm2015/lib/entity-type-setup/activities-create/activities-create.component.js +0 -105
- package/esm2015/lib/entity-type-setup/activities-view/activities-view.component.js +0 -46
- package/esm2015/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.js +0 -367
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +0 -850
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.js +0 -85
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +0 -957
- package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +0 -51
- package/esm2015/lib/entity-type-setup/interface/eventEnum.js +0 -84
- package/esm2015/lib/entity-type-setup/page-form-instance.js +0 -65
- package/esm2015/lib/entity-type-setup/page.interface.classes.js +0 -40
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +0 -1833
- package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +0 -276
- package/esm2015/lib/search.pipe.js +0 -19
- package/esm2015/lib/support-request/action/action.component.js +0 -104
- package/esm2015/lib/support-request/case-list/case-list.component.js +0 -390
- package/esm2015/lib/support-request/home/home.component.js +0 -23
- package/esm2015/lib/support-request/pagination/pagination.component.js +0 -34
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +0 -684
- package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +0 -78
- package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +0 -270
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +0 -508
- package/esm2015/lib/support-request/support-request-index/support-request-index.component.js +0 -16
- package/esm2015/lib/support-request/support-request-routing.module.js +0 -22
- package/esm2015/lib/support-request/support-request.module.js +0 -98
- package/esm2015/lib/support-request/support-request.service.js +0 -105
- package/esm2015/lib/support-request/supportRequestInterface.js +0 -2
- package/esm2015/lib/task/Interfaces/TaskInterface.js +0 -7
- package/esm2015/lib/task/Services/task.service.js +0 -251
- package/esm2015/lib/templates/Pipe/translate.pipe.js +0 -31
- package/esm2015/lib/templates/attachmentsetup/attachment-interface.js +0 -2
- package/esm2015/lib/templates/attachmentsetup/attachment.service.js +0 -196
- package/esm2015/lib/templates/grid/grid-datatype/grid-datatype.component.js +0 -37
- package/esm2015/lib/templates/grid/grid-service.service.js +0 -85
- package/esm2015/lib/templates/grid/grid.component.js +0 -436
- package/esm2015/lib/templates/grid/inner-grid/inner-grid.component.js +0 -15
- package/esm2015/lib/templates/interface_enum/common-Interface.js +0 -2
- package/esm2015/lib/templates/interface_enum/common-enum.js +0 -153
- package/esm2015/lib/ticket/_interfaces/model.js +0 -2
- package/esm2015/lib/ticket/_ticket-services/ticket-api.service.js +0 -232
- package/esm2015/public-api.js +0 -9
- package/fesm2015/arco-support-request.js +0 -10335
- package/fesm2015/arco-support-request.js.map +0 -1
- package/lib/Pipe/allpipe.pipe.d.ts +0 -19
- package/lib/Pipe/translate.pipe.d.ts +0 -7
- package/lib/arco-support-request.component.d.ts +0 -5
- package/lib/arco-support-request.module.d.ts +0 -2
- package/lib/arco-support-request.service.d.ts +0 -9
- package/lib/core/global.service.d.ts +0 -78
- package/lib/core/handlebar-helper-register.d.ts +0 -1
- package/lib/core/static/jwt.d.ts +0 -7
- package/lib/entity-type-setup/activities-create/activities-create.component.d.ts +0 -30
- package/lib/entity-type-setup/activities-view/activities-view.component.d.ts +0 -16
- package/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.d.ts +0 -67
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +0 -88
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.d.ts +0 -11
- package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +0 -69
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +0 -916
- package/lib/entity-type-setup/interface/eventEnum.d.ts +0 -161
- package/lib/entity-type-setup/page-form-instance.d.ts +0 -13
- package/lib/entity-type-setup/page.interface.classes.d.ts +0 -33
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +0 -604
- package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +0 -66
- package/lib/search.pipe.d.ts +0 -4
- package/lib/support-request/action/action.component.d.ts +0 -31
- package/lib/support-request/case-list/case-list.component.d.ts +0 -91
- package/lib/support-request/home/home.component.d.ts +0 -6
- package/lib/support-request/pagination/pagination.component.d.ts +0 -18
- package/lib/support-request/request-flow/request-flow.component.d.ts +0 -143
- package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +0 -31
- package/lib/support-request/support-request-create/support-request-create.component.d.ts +0 -55
- package/lib/support-request/support-request-details/support-request-details.component.d.ts +0 -116
- package/lib/support-request/support-request-index/support-request-index.component.d.ts +0 -5
- package/lib/support-request/support-request-routing.module.d.ts +0 -2
- package/lib/support-request/support-request.module.d.ts +0 -2
- package/lib/support-request/support-request.service.d.ts +0 -35
- package/lib/support-request/supportRequestInterface.d.ts +0 -6
- package/lib/task/Interfaces/TaskInterface.d.ts +0 -132
- package/lib/task/Services/task.service.d.ts +0 -75
- package/lib/templates/Pipe/translate.pipe.d.ts +0 -7
- package/lib/templates/attachmentsetup/attachment-interface.d.ts +0 -90
- package/lib/templates/attachmentsetup/attachment.service.d.ts +0 -61
- package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +0 -11
- package/lib/templates/grid/grid-service.service.d.ts +0 -40
- package/lib/templates/grid/grid.component.d.ts +0 -155
- package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +0 -5
- package/lib/templates/interface_enum/common-Interface.d.ts +0 -90
- package/lib/templates/interface_enum/common-enum.d.ts +0 -129
- package/lib/ticket/_interfaces/model.d.ts +0 -192
- package/lib/ticket/_ticket-services/ticket-api.service.d.ts +0 -81
|
@@ -0,0 +1,191 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
|
@@ -0,0 +1,221 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
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>
|