arco-support-request 0.0.88 → 0.0.89
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 +249 -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 +380 -0
- package/src/lib/commonstyles/styles.scss +4334 -0
- package/src/lib/core/encodeurl.service.ts +23 -0
- package/src/lib/core/global.service.ts +1859 -0
- package/src/lib/core/handlebar-helper-register.ts +247 -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 +69 -0
- package/src/lib/entity-type-setup/activities-create/activities-create.component.scss +13 -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 +143 -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 +1073 -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 +1526 -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 +1353 -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 +1046 -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 +2901 -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 +240 -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 +404 -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 +280 -0
- package/src/lib/support-request/case-list/case-list.component.scss +187 -0
- package/src/lib/support-request/case-list/case-list.component.ts +519 -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 +536 -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 +914 -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 +105 -0
- package/src/lib/support-request/support-request-create/support-request-create.component.html +105 -0
- package/src/lib/support-request/support-request-create/support-request-create.component.scss +54 -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 +553 -0
- package/src/lib/support-request/support-request-details/support-request-details.component.scss +338 -0
- package/src/lib/support-request/support-request-details/support-request-details.component.ts +849 -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 +148 -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 +236 -0
- package/src/lib/templates/grid/grid.component.html +358 -0
- package/src/lib/templates/grid/grid.component.scss +118 -0
- package/src/lib/templates/grid/grid.component.spec.ts +25 -0
- package/src/lib/templates/grid/grid.component.ts +638 -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 +114 -0
- package/src/lib/templates/interface_enum/common-enum.ts +159 -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 -11689
- 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 -1783
- package/esm2015/lib/core/handlebar-helper-register.js +0 -188
- package/esm2015/lib/core/static/jwt.js +0 -8
- package/esm2015/lib/entity-type-setup/activities-create/activities-create.component.js +0 -126
- 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 -867
- 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 -1056
- 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 -1871
- package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +0 -320
- 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 -449
- 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 -739
- package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +0 -88
- 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 -659
- 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 -107
- 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/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 -151
- package/esm2015/lib/templates/grid/grid.component.js +0 -604
- 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 -164
- 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 -11082
- 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 -99
- 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 -70
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +0 -917
- 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 -615
- package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +0 -86
- 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 -100
- 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 -152
- package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +0 -32
- 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 -138
- 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/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 -45
- package/lib/templates/grid/grid.component.d.ts +0 -218
- package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +0 -5
- package/lib/templates/interface_enum/common-Interface.d.ts +0 -96
- package/lib/templates/interface_enum/common-enum.d.ts +0 -134
- package/lib/ticket/_interfaces/model.d.ts +0 -192
- package/lib/ticket/_ticket-services/ticket-api.service.d.ts +0 -81
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Pipe({
|
|
4
|
+
name: 'LockFilter'
|
|
5
|
+
})
|
|
6
|
+
export class SearchPipe implements PipeTransform {
|
|
7
|
+
|
|
8
|
+
transform(value: any, args?: any): any {
|
|
9
|
+
|
|
10
|
+
if(!value)return null;
|
|
11
|
+
if(!args)return value;
|
|
12
|
+
|
|
13
|
+
args = args.toLowerCase();
|
|
14
|
+
|
|
15
|
+
return value.filter(function(item){
|
|
16
|
+
return JSON.stringify(item).toLowerCase().includes(args);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
|
|
2
|
+
<div class="m-3">
|
|
3
|
+
<div class="row">
|
|
4
|
+
<div class="col-2">
|
|
5
|
+
</div>
|
|
6
|
+
<div class="col-8 action-block">
|
|
7
|
+
<h4 class="text-center">How can we help you ?</h4>
|
|
8
|
+
<hr>
|
|
9
|
+
<form [formGroup]="ActionForm">
|
|
10
|
+
<!-- <div class="form-group">
|
|
11
|
+
<label for="CategoryId" style="font-size:large;">Category:</label>
|
|
12
|
+
<ng-select formControlName="CategoryId" [items]="CategoryDDL" bindLabel="Description"
|
|
13
|
+
bindValue="CategoryId" (change)="getSubCategoryDDl()">
|
|
14
|
+
</ng-select>
|
|
15
|
+
</div> -->
|
|
16
|
+
<div class="form-group">
|
|
17
|
+
<label for="TicketGroupID" style="font-size:large;">Issue Group:</label>
|
|
18
|
+
<ng-select formControlName="TicketGroupID" [items]="IssueGroupDDL" bindLabel="TicketGroupName"
|
|
19
|
+
bindValue="TicketGroupID" (change)="getDropDownForIssueSubGroup()">
|
|
20
|
+
</ng-select>
|
|
21
|
+
<div class="text-danger">
|
|
22
|
+
<small *ngIf="ActionForm.get('TicketGroupID')?.touched &&
|
|
23
|
+
ActionForm.get('TicketGroupID')?.hasError('required')" class="error-message">required.</small>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group" *ngIf="TicketGroupID != null ">
|
|
27
|
+
<label for="SubGroupID" style="font-size:large;">Issue SubGroup:</label>
|
|
28
|
+
<ng-select formControlName="SubGroupID" [items]="IssueSubGroupDDL" bindLabel="SubGroupName"
|
|
29
|
+
bindValue="SubGroupID" (change)="getInstruction()">
|
|
30
|
+
</ng-select>
|
|
31
|
+
<div class="text-danger">
|
|
32
|
+
<small *ngIf="ActionForm.get('SubGroupID')?.touched &&
|
|
33
|
+
ActionForm.get('SubGroupID')?.hasError('required')" class="error-message">required.</small>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div class="form-group whole" *ngIf="TicketGroupID != null && SubGroupID != null">
|
|
38
|
+
<label for="SubGroupID" style="font-size:large;">Instructions:</label>
|
|
39
|
+
<!-- <div id="accordion" *ngFor=" let item of InstructionList; let i = index;">
|
|
40
|
+
<div class="card">
|
|
41
|
+
<div class="card-header" [id]="item.RecId+i">
|
|
42
|
+
<h5 class="mb-0">
|
|
43
|
+
<button class="btn btn-link" (click)="changeTab(item.RecId)" data-toggle="collapse" [attr.data-target]="'#'+item.RecId" aria-controls="collapseOne">
|
|
44
|
+
{{item?.Question+ '?'}}
|
|
45
|
+
</button>
|
|
46
|
+
</h5>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<div [id]="item.RecId" class="collapse" [ngClass]="{'show':item.RecId== CurrentId}" aria-labelledby="headingOne" data-parent="#accordion">
|
|
50
|
+
<div class="card-body">
|
|
51
|
+
{{item?.Answer}}
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div> -->
|
|
56
|
+
|
|
57
|
+
<div class="qsntns_answrs" *ngFor=" let item of InstructionList; let i = index;">
|
|
58
|
+
<a class="has-arrow menus_item" data-toggle="collapse" href="#col{{item.RecId}}">
|
|
59
|
+
<i class="la la-angle-down" style="font-size: 20px;"></i>
|
|
60
|
+
<span> {{item?.Question+ '?'}}</span>
|
|
61
|
+
</a>
|
|
62
|
+
|
|
63
|
+
<ul class="collapse" id="col{{item.RecId}}">
|
|
64
|
+
<p> {{item?.Answer}}</p>
|
|
65
|
+
</ul>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<!-- <div class="form-group" *ngIf="TicketGroupID != null && SubGroupID != null">
|
|
69
|
+
<label for="SubGroupID" style="font-size:large;">Case Type:</label>
|
|
70
|
+
<ng-select formControlName="CaseType" [items]="CaseTypeList" bindLabel="CaseTypeIdEn"
|
|
71
|
+
bindValue="CaseTypeId">
|
|
72
|
+
</ng-select>
|
|
73
|
+
</div> -->
|
|
74
|
+
<button *ngIf="SelectedCaseTypeId != null && SelectedCaseTypeId != 0 && displayPopupCreateView != true && SubGroupID != null" (click)="openPopupCreatePage()" type="button" class="btn btn-primary btn-lg btn-block">Create Case</button>
|
|
75
|
+
</form>
|
|
76
|
+
|
|
77
|
+
<!-- <div class="modal fade show" *ngIf="CreateItemId" [ngClass]="{'showPop':displayPopupCreateView}" tabindex="-1"
|
|
78
|
+
role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
79
|
+
<div class="modal-dialog modal-lg" style="width: 95%; max-width: 95%;">
|
|
80
|
+
<div class="modal-content">
|
|
81
|
+
<div class="modal-header">
|
|
82
|
+
<h5 class="modal-title" id="exampleModalLabel"></h5>
|
|
83
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close" (click)="closePopupCreateView()">
|
|
84
|
+
<span aria-hidden="true">×</span>
|
|
85
|
+
</button>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="modal-body"> -->
|
|
88
|
+
<!-- [ViewFrom]="'Popup'" -->
|
|
89
|
+
|
|
90
|
+
<app-support-request-create [ViewFrom]="'Popup'" *ngIf="displayPopupCreateView && CreateItemId &&SelectedCaseTypeId" [Type]="'Create'" [EntityTypeId]="CreateItemId"
|
|
91
|
+
(closeCreate)="closePopupCreateView($event.Type)"></app-support-request-create>
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
<!-- Modal -->
|
|
95
|
+
<div class="modal fade show"[ngClass]="{'showPop':this.supportService.displayListPopUp}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
96
|
+
<div class="modal-dialog modal-lg">
|
|
97
|
+
<div class="modal-content">
|
|
98
|
+
<div class="modal-header">
|
|
99
|
+
<div>
|
|
100
|
+
<!-- <h5 class="modal-title" id="exampleModalLabel">Requested Case List</h5> -->
|
|
101
|
+
</div>
|
|
102
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close" (click)="closeListPageModel()">
|
|
103
|
+
<span aria-hidden="true">×</span>
|
|
104
|
+
</button>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="modal-body">
|
|
107
|
+
<app-support-request-list *ngIf="SelectedCaseTypeId !=null" [PageViewType]="'PopUp'" [EntityTypeId]="SelectedCaseTypeId"></app-support-request-list>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
<!-- </div>
|
|
113
|
+
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
</div>-->
|
|
117
|
+
</div>
|
|
118
|
+
<div class="col-2">
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { Component, Input, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|
3
|
+
import { InstructionVM } from '../../entity-type-setup/interface/entityTypeInterface';
|
|
4
|
+
import { EntityTypeSetupService } from '../../entity-type-setup/service/entity-type-setup.service';
|
|
5
|
+
import Swal from 'sweetalert2';
|
|
6
|
+
import { SupportRequestService } from '../support-request.service';
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'app-action',
|
|
9
|
+
templateUrl: './action.component.html',
|
|
10
|
+
styleUrls: ['./action.component.scss']
|
|
11
|
+
})
|
|
12
|
+
export class ActionComponent implements OnInit {
|
|
13
|
+
|
|
14
|
+
constructor(private fb:FormBuilder,
|
|
15
|
+
private entityTypeSetup: EntityTypeSetupService,
|
|
16
|
+
public supportService: SupportRequestService
|
|
17
|
+
) { }
|
|
18
|
+
|
|
19
|
+
ngOnInit(): void {
|
|
20
|
+
|
|
21
|
+
this.getDropDownForIssueGroup();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
ActionForm: FormGroup = this.fb.group({
|
|
25
|
+
RecId: [null],
|
|
26
|
+
TicketGroupID: [null, [Validators.required]],
|
|
27
|
+
SubGroupID: [null , [Validators.required]],
|
|
28
|
+
//CaseType:[null ,[Validators.required]]
|
|
29
|
+
},
|
|
30
|
+
);
|
|
31
|
+
get TicketGroupID(){
|
|
32
|
+
return this.ActionForm.get('TicketGroupID').value;
|
|
33
|
+
}
|
|
34
|
+
get SubGroupID(){
|
|
35
|
+
return this.ActionForm.get('SubGroupID').value;
|
|
36
|
+
}
|
|
37
|
+
// get CaseType(){
|
|
38
|
+
// return this.ActionForm.get('CaseType').value;
|
|
39
|
+
// }
|
|
40
|
+
IssueGroupDDL:any =[];
|
|
41
|
+
getDropDownForIssueGroup(){
|
|
42
|
+
this.supportService.getGroupData().subscribe(
|
|
43
|
+
(res:any)=>{
|
|
44
|
+
this.IssueGroupDDL = res.Data;
|
|
45
|
+
},
|
|
46
|
+
(error=>{
|
|
47
|
+
console.log(error);
|
|
48
|
+
Swal.fire('alert',error.error,'error');
|
|
49
|
+
})
|
|
50
|
+
)
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
IssueSubGroupDDL:any =[];
|
|
54
|
+
getDropDownForIssueSubGroup(){
|
|
55
|
+
let TicketGroupID = this.ActionForm.value['TicketGroupID'];
|
|
56
|
+
if(TicketGroupID == null){
|
|
57
|
+
this.ActionForm.reset();
|
|
58
|
+
}
|
|
59
|
+
if(TicketGroupID != null){
|
|
60
|
+
this.supportService.getSubGroupDataByGroupId(TicketGroupID).subscribe(
|
|
61
|
+
(res:any)=>{
|
|
62
|
+
this.IssueSubGroupDDL = res;
|
|
63
|
+
},
|
|
64
|
+
(error=>{
|
|
65
|
+
console.log(error);
|
|
66
|
+
Swal.fire('alert',error.error,'error');
|
|
67
|
+
})
|
|
68
|
+
)
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
InstructionList:InstructionVM[];
|
|
73
|
+
SelectedCaseType:any;
|
|
74
|
+
SelectedCaseTypeId:number;
|
|
75
|
+
getInstruction(){
|
|
76
|
+
let subGroupId = this.ActionForm.value['SubGroupID'];
|
|
77
|
+
if(this.TicketGroupID == null || this.SubGroupID == null){
|
|
78
|
+
this.InstructionList = null;
|
|
79
|
+
this.SelectedCaseTypeId = null;
|
|
80
|
+
// this.CaseTypeList = null;
|
|
81
|
+
}
|
|
82
|
+
if(this.SubGroupID != null){
|
|
83
|
+
this.SelectedCaseType = this.IssueSubGroupDDL.filter(x=>
|
|
84
|
+
x.SubGroupID === subGroupId
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
this.SelectedCaseType.map(x=>
|
|
88
|
+
this.SelectedCaseTypeId= x.CaseTypeId
|
|
89
|
+
);
|
|
90
|
+
this.supportService.getInstructionDropDown(subGroupId).subscribe(
|
|
91
|
+
(res:any)=>{
|
|
92
|
+
this.InstructionList = res.Data;
|
|
93
|
+
//this.getCaseType();
|
|
94
|
+
},
|
|
95
|
+
(error=>{
|
|
96
|
+
console.log(error);
|
|
97
|
+
Swal.fire('alert',error.error,'error');
|
|
98
|
+
})
|
|
99
|
+
)
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
CurrentId:number;
|
|
104
|
+
changeTab(id){
|
|
105
|
+
this.CurrentId = id;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
CreateItemId: number = null;
|
|
109
|
+
displayPopupCreateView: boolean = false;
|
|
110
|
+
|
|
111
|
+
openPopupCreatePage() {
|
|
112
|
+
|
|
113
|
+
this.CreateItemId = this.SelectedCaseTypeId;
|
|
114
|
+
this.displayPopupCreateView = true;
|
|
115
|
+
}
|
|
116
|
+
closePopupCreateView(Type?:any) {
|
|
117
|
+
this.CreateItemId = null;
|
|
118
|
+
this.displayPopupCreateView = false;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
openListPageModel(){
|
|
123
|
+
this.supportService.displayListPopUp = true;
|
|
124
|
+
}
|
|
125
|
+
closeListPageModel(){
|
|
126
|
+
this.supportService.displayListPopUp = false;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// CategoryDDL:any[]=[];
|
|
130
|
+
|
|
131
|
+
// getCategoryDDL(){
|
|
132
|
+
|
|
133
|
+
// this.supportService.getAllEntityCategory().subscribe(
|
|
134
|
+
// (res:any)=>{
|
|
135
|
+
// this.CategoryDDL = res.Data;
|
|
136
|
+
// },
|
|
137
|
+
// (error=>{
|
|
138
|
+
// console.log(error);
|
|
139
|
+
// })
|
|
140
|
+
// )
|
|
141
|
+
// }
|
|
142
|
+
|
|
143
|
+
// isShowSubCategory:boolean=false;
|
|
144
|
+
// SubCategoryDDL:any[]=[];
|
|
145
|
+
// getSubCategoryDDl(){
|
|
146
|
+
// let categoryID = this.ActionForm.value['CategoryId']
|
|
147
|
+
// if(categoryID != null){
|
|
148
|
+
// this.isShowSubCategory = true;
|
|
149
|
+
// }else{
|
|
150
|
+
// this.isShowSubCategory = false;
|
|
151
|
+
// this.isShowInstruction = false;
|
|
152
|
+
// }
|
|
153
|
+
// this.SubCategoryDDL=[
|
|
154
|
+
// {SubCategoryId:"12",Description:"test"}
|
|
155
|
+
// ]
|
|
156
|
+
// this.supportService.getSubCategory(categoryID).subscribe(
|
|
157
|
+
// (res:any)=>{
|
|
158
|
+
// this.SubCategoryDDL = res.Data;
|
|
159
|
+
// },
|
|
160
|
+
// (error=>{
|
|
161
|
+
// console.log(error);
|
|
162
|
+
// })
|
|
163
|
+
// )
|
|
164
|
+
// }
|
|
165
|
+
// CaseTypeList:any[];
|
|
166
|
+
// getCaseType(){
|
|
167
|
+
// let subGroupId = this.ActionForm.value['SubGroupID'];
|
|
168
|
+
// this.supportService.getCaseTypeDropDown(subGroupId).subscribe(
|
|
169
|
+
// (res:any)=>{
|
|
170
|
+
// this.CaseTypeList = res.Data;
|
|
171
|
+
// },
|
|
172
|
+
// (error=>{
|
|
173
|
+
// console.log(error);
|
|
174
|
+
// Swal.fire('alert',error.error,'error');
|
|
175
|
+
// })
|
|
176
|
+
// )
|
|
177
|
+
// }
|
|
178
|
+
|
|
179
|
+
}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
<div class="req_page whole" [ngClass]="{'lang_Arabic': globalService.CurrentLanguage=='Ar'}">
|
|
2
|
+
<div class="whole m-t-10">
|
|
3
|
+
<div class="clearfix" *ngIf="!isShowCreateRequest && !isDetails">
|
|
4
|
+
<div class="float-left" style="width: calc(100% - 50px);">
|
|
5
|
+
<div class="progress-wrap">
|
|
6
|
+
<div id="progress-container">
|
|
7
|
+
<div class="line"></div>
|
|
8
|
+
<ul id="slider-arrow">
|
|
9
|
+
<li class="clearfix" *ngFor="let item of StatusAndStageList;let i= index" (click)="selectStage(item)">
|
|
10
|
+
<span class="circle-content" [ngClass]="{'active':selectedStage==item.RecId}">
|
|
11
|
+
<i *ngIf="item.StageIcon else elseicon;" [ngClass]="item.StageIcon"></i>
|
|
12
|
+
<ng-template #elseicon>
|
|
13
|
+
<i class="la la-list-alt" *ngIf="item?.StageId == -1"></i>
|
|
14
|
+
<i class="la la-hourglass-half" *ngIf="item?.StageId == 0"></i>
|
|
15
|
+
<i class="las la-clipboard-check" *ngIf="item?.StageId != 0 && item?.StageId != -1"></i>
|
|
16
|
+
</ng-template>
|
|
17
|
+
</span>
|
|
18
|
+
<br>
|
|
19
|
+
<a href="javascript:void(0);" class="text-center">
|
|
20
|
+
{{(globalService.CurrentLanguage == 'Ar') ? (item.StageDescriptionAr ? item.StageDescriptionAr : item.StageDescription | translate) : (item.StageDescription |translate)}}
|
|
21
|
+
<br>
|
|
22
|
+
<span class="badge" *ngIf="selectedStage==item.RecId">{{totalRecordCount}}</span>
|
|
23
|
+
<!-- <br>
|
|
24
|
+
<span> {{item?.StageId}} - {{item?.RecordsStatusEn |translate}}</span> -->
|
|
25
|
+
</a>
|
|
26
|
+
</li>
|
|
27
|
+
</ul>
|
|
28
|
+
<!-- <ul>
|
|
29
|
+
<li><i class="fa fa-check-square-o"></i> <p>Step 1</p></li>
|
|
30
|
+
<li><i class="fa fa-times"></i><p>Step 2</p></li>
|
|
31
|
+
<li><p>Step 3</p></li>
|
|
32
|
+
</ul> -->
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<div *ngIf="!isShowCreateRequest && !isDetails" class="float-right" style="width: 50px;border-radius: 5px 5px 0 0;background: #dddddd;">
|
|
37
|
+
<a href="javascript:void(0);" class="arrownext" style="font-size:22px;" (click)="slider('left','slider-arrow')"><i class="fa fa-arrow-left"></i></a>
|
|
38
|
+
<a href="javascript:void(0);" class="arrownext" style="font-size:22px;" (click)="slider('right','slider-arrow')"><i class="fa fa-arrow-right"></i></a>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="workflow" *ngIf="!isShowCreateRequest && !isDetails && false">
|
|
42
|
+
<ul>
|
|
43
|
+
<li *ngFor="let item of StatusAndStageList" class="clearfix">
|
|
44
|
+
<a href="javascript:void(0);" (click)="selectStage(item)">StageDescriptionAr
|
|
45
|
+
{{globalService.CurrentLanguage=='Ar' ? (item.StageDescriptionAr ? item.StageDescriptionAr : (item.StageDescription|translate) ) : (item.StageDescription |translate)}} - <sup *ngIf="selectedStage==item.RecId"> {{totalRecordCount}}</sup>
|
|
46
|
+
<span> {{item?.StageId}} - {{item?.RecordsStatusEn |translate}}</span>
|
|
47
|
+
</a>
|
|
48
|
+
</li>
|
|
49
|
+
</ul>
|
|
50
|
+
</div>
|
|
51
|
+
<h2 class="heading pull-left" style="font-size: 23px !important;">{{pageTitle |translate}}
|
|
52
|
+
<span *ngIf="isShowCreateRequest">- {{'Create'|translate}}</span>
|
|
53
|
+
<span *ngIf="displayPopupDetailView">- {{'Details'|translate}}</span>
|
|
54
|
+
</h2>
|
|
55
|
+
<div class="pull-left" *ngIf="!(isShowCreateRequest || isDetails)">
|
|
56
|
+
<div class="pull-left create_req hierarchy-view">
|
|
57
|
+
<button class="add_req_btn" (click)="openPopupCreatePage()">
|
|
58
|
+
{{'CreateNew'|translate}}
|
|
59
|
+
<i class="fa fa-plus" style="float: right;margin: 4px 1px 2px 8px;"></i>
|
|
60
|
+
</button>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="pull-right m-r-10" *ngIf="isDetails">
|
|
64
|
+
<button class="btn btn-outline btn-danger" (click)="closePopupDetailView()">
|
|
65
|
+
<i class="la la-arrow-left"></i>
|
|
66
|
+
{{'Back'|translate}}
|
|
67
|
+
</button>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="pull-right m-r-10" *ngIf="isShowCreateRequest">
|
|
70
|
+
<button class="btn btn-outline btn-danger" (click)="backtoCard()">
|
|
71
|
+
<i class="la la-arrow-left"></i>
|
|
72
|
+
{{'Back'|translate}}
|
|
73
|
+
</button>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
<ng-container *ngIf="!(isShowCreateRequest || isDetails)">
|
|
77
|
+
|
|
78
|
+
<div class="whole bg-white p-3">
|
|
79
|
+
<div class="m-r-10 pull-left status_dropdown_div" *ngIf="false">
|
|
80
|
+
<div class="dropdown status_dropdown pull-left" style="min-width: 200px;" *ngIf="false">
|
|
81
|
+
|
|
82
|
+
<ng-select *ngIf="globalService.CurrentLanguage == 'Ar' else elseEng" (change)="filterStatus()"
|
|
83
|
+
[(ngModel)]="StatusListValue" [items]="StatusListDDL" [placeholder]="'حالة'" bindLabel="NameAr"
|
|
84
|
+
bindValue="Name">
|
|
85
|
+
</ng-select>
|
|
86
|
+
<ng-template #elseEng>
|
|
87
|
+
<ng-select (change)="filterStatus()" [(ngModel)]="StatusListValue" [items]="StatusListDDL"
|
|
88
|
+
[placeholder]="'Status'" bindLabel="Name" bindValue="Name">
|
|
89
|
+
</ng-select>
|
|
90
|
+
</ng-template>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="pull-left">
|
|
94
|
+
<div class="m-r-10 pull-left sort_div">
|
|
95
|
+
<div class="dropdown sort_dropdown pull-left" style="min-width: 240px;">
|
|
96
|
+
|
|
97
|
+
<ng-select *ngIf="globalService.CurrentLanguage == 'Ar' else elseTemplate" [items]="FieldListDDL"
|
|
98
|
+
[placeholder]="'نوع'" bindLabel="FieldAr" bindValue="Name" (change)="SortGridData($event)">
|
|
99
|
+
</ng-select>
|
|
100
|
+
|
|
101
|
+
<ng-template #elseTemplate>
|
|
102
|
+
<ng-select [items]="FieldListDDL" [placeholder]="'Sort'" bindLabel="Name" bindValue="Field"
|
|
103
|
+
(change)="SortGridData($event)">
|
|
104
|
+
</ng-select>
|
|
105
|
+
</ng-template>
|
|
106
|
+
</div>
|
|
107
|
+
<ng-container *ngIf="CurrentSortingField">
|
|
108
|
+
<span class="pull-right sort-icon" style=" font-size: 20px;">
|
|
109
|
+
<i class="la la-sort-amount-asc" *ngIf="SortingField.direction=='0'" (click)="SortDirection(1)"></i>
|
|
110
|
+
<i class="la la-sort-amount-desc" *ngIf="SortingField.direction=='1'" (click)="SortDirection(0)"></i>
|
|
111
|
+
</span>
|
|
112
|
+
</ng-container>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="pull-right">
|
|
116
|
+
<div class="custom-dropdown" *ngIf="wfActionData.length > 0">
|
|
117
|
+
<!-- -->
|
|
118
|
+
<div class="custom-dropdown" style="color: #fff;border-radius: 10px;margin-bottom: 10px;background: #339e33;">
|
|
119
|
+
<div class="dropdown">
|
|
120
|
+
<button class="dropbtn btn btn-success">{{'Action'|translate}}</button>
|
|
121
|
+
<div class="dropdown-content">
|
|
122
|
+
<span *ngIf="wfActionData.length<= 0">
|
|
123
|
+
<a href="javascript:void(0);" class="dropdownlist">
|
|
124
|
+
{{'No Action Found'|translate}}
|
|
125
|
+
</a>
|
|
126
|
+
</span>
|
|
127
|
+
<span *ngFor="let item of wfActionData">
|
|
128
|
+
<a href="javascript:void(0);" class="dropdownlist" (click)="getStatusField(item)">{{item.ActionDescription |translate}}</a>
|
|
129
|
+
</span>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
<div class="pull-right">
|
|
136
|
+
|
|
137
|
+
<input placeholder="{{'Search the CaseId/Iqama/Name here' | translate }}" type="text" class="serach_box pull-left"
|
|
138
|
+
[(ngModel)]="SearchBox" (keyup)="searchData($event)">
|
|
139
|
+
|
|
140
|
+
<a href="javascript:void(0)" class="themecolor action-btn m-r-10" style="color: #000;font-size: 20px;"
|
|
141
|
+
*ngFor="let item of viewTypes; let i = index" [ngClass]="{'themecolor':selectedIndex != i}">
|
|
142
|
+
<span [class.active]="selectedIndex === i" (click)="viewType(item, i)">
|
|
143
|
+
<i class="la {{item.class}}"></i>
|
|
144
|
+
</span>
|
|
145
|
+
</a>
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
<div class="body whole">
|
|
153
|
+
<div *ngIf="viewTypeData ==2">
|
|
154
|
+
<div class="lists" *ngFor="let item of selfServiceRequestData">
|
|
155
|
+
|
|
156
|
+
<div class="assign_to_div" (click)="openDetailsPopup(item)">
|
|
157
|
+
<p>{{'ID' | translate}}</p>
|
|
158
|
+
<span>#{{item?.CaseId}}</span>
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
<div class="content" (click)="openDetailsPopup(item)">
|
|
162
|
+
<h4 class="themecolor">{{'#'+item.LabourId}} | {{item.LaborName}} </h4>
|
|
163
|
+
<span class="f-s-12"><i class="text-bold f-s-12">{{'Iqama Number'|translate}} </i>: {{item.IqamaNumber}}</span>
|
|
164
|
+
<span class="f-s-12"><i class="text-bold f-s-12">{{'Passport Number'|translate}} </i>: {{item.PassportNumber}}</span>
|
|
165
|
+
<span class="f-s-12"><i class="text-bold f-s-12">{{'Border Number'|translate}} </i>: {{item.BorderNumber}}</span>
|
|
166
|
+
<span class="f-s-12"><i class="text-bold f-s-12">{{'Mobile Number'|translate}} </i>: {{item.MobileNumber}}</span>
|
|
167
|
+
<span class="f-s-12"><i class="text-bold f-s-12">{{'Nationality'|translate}} </i>: {{item.NationalityEn}}</span>
|
|
168
|
+
<span class="f-s-12"><i class="text-bold f-s-12">{{'Profession'|translate}} </i>: {{item.ProfessionEn}}</span>
|
|
169
|
+
<div class="line_2">
|
|
170
|
+
<div class="pull-left">{{'Added On'|translate}} {{item.CreatedDatetime | date}} {{'By'|translate}}
|
|
171
|
+
{{item.CreatedBy}}</div>
|
|
172
|
+
</div>
|
|
173
|
+
<p>{{item.Description}}</p>
|
|
174
|
+
<!-- <span><i class="text-bold">Assigned Date </i>: {{item.AssignedDate | date}}</span>
|
|
175
|
+
<span><i class="text-bold">DeadLine Date </i>: {{item.DeadLineDateTime | date}}</span> -->
|
|
176
|
+
<!-- <p>Steps:1.Login to Bugasura with valid user.2.Select respective project and open it 3.In issues list search enter text for search and hit enter button4.</p> -->
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
<div class="req_id" (click)="openDetailsPopup(item)">
|
|
180
|
+
<!-- <label>{{item.CaseTypeIdEn}}</label>
|
|
181
|
+
<p>{{item.CaseTypeId}}</p> -->
|
|
182
|
+
<span><span class="text-bold">{{globalService.CurrentLanguage =='Ar' ? (item.CaseTypeIdAr ? item.CaseTypeIdAr
|
|
183
|
+
:
|
|
184
|
+
(item.CaseTypeIdEn |translate)) : item.CaseTypeIdEn}}</span></span>
|
|
185
|
+
<span><i class="text-bold">{{'Request Date'|translate}} </i>: {{(item.DateofRequest ? item.DateofRequest : DateOfRequest) | date}}</span>
|
|
186
|
+
<span><i class="text-bold">{{'Start Date'|translate}} </i>: {{item.StartDate | date}}</span>
|
|
187
|
+
<span><i class="text-bold">{{'End Date'|translate}} </i>: {{item.EndDate | date}}</span>
|
|
188
|
+
<!-- <span><i class="text-bold"> {{'DeadLine Date' | translate}} </i>: {{item.DeadLineDateTime | date}}</span> -->
|
|
189
|
+
</div>
|
|
190
|
+
<div class="prioritys">
|
|
191
|
+
<div class="custom-dropdown" *ngIf="wfActionData.length > 0 && false">
|
|
192
|
+
<!-- *ngIf="wfActionData.length > 0" -->
|
|
193
|
+
<div class="custom-dropdown" style="color: #fff;border-radius: 10px;margin-bottom: 10px;background: #339e33;">
|
|
194
|
+
<div class="dropdown">
|
|
195
|
+
<a href="javascript:void(0)" class="dropbtn atext">{{'Action'|translate}} <i class="fa fa-sort-desc m-r-5"></i></a>
|
|
196
|
+
<div class="dropdown-content">
|
|
197
|
+
<span *ngIf="wfActionData.length<= 0">
|
|
198
|
+
<a href="javascript:void(0);" class="dropdownlist">
|
|
199
|
+
{{'No Action Found'|translate}}
|
|
200
|
+
</a>
|
|
201
|
+
</span>
|
|
202
|
+
<span *ngFor="let item of wfActionData">
|
|
203
|
+
<a href="javascript:void(0);" class="dropdownlist" (click)="getStatusField(item)">{{item.ActionDescription |translate}}</a>
|
|
204
|
+
</span>
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
|
|
210
|
+
<span class="priority" [ngClass]="item?.PriorityEn">{{globalService.CurrentLanguage =='Ar' ? (item?.PriorityAr
|
|
211
|
+
?
|
|
212
|
+
item?.PriorityAr : (item?.PriorityEn |translate)) : item?.PriorityEn }}
|
|
213
|
+
<ng-container *ngIf="item.PriorityEn == null">{{'Medium'|translate}}</ng-container>
|
|
214
|
+
</span>
|
|
215
|
+
<span class="priority" style="background: #3535f238;color: #9c5145;">{{globalService.CurrentLanguage =='Ar' ? (item?.ProcessStageAr
|
|
216
|
+
?
|
|
217
|
+
item?.ProcessStageAr : (item?.ProcessStageEn |translate)) : item?.ProcessStageEn }}
|
|
218
|
+
</span>
|
|
219
|
+
|
|
220
|
+
<div class="status" [ngClass]="item?.StatusIdEn">
|
|
221
|
+
<span>{{item?.StatusIdEn |translate}}
|
|
222
|
+
<ng-container *ngIf="item.StatusIdEn == null">{{'New'|translate}}</ng-container>
|
|
223
|
+
</span>
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
</div>
|
|
227
|
+
<!-- <div class="assign_to_div">
|
|
228
|
+
<p>{{'Assigned To' | translate}}</p>
|
|
229
|
+
<i class="las la-user-circle" title="{{item.AssignedTo }}"></i>
|
|
230
|
+
</div> -->
|
|
231
|
+
<div class="comments" (click)="openDetailsPopup(item)">
|
|
232
|
+
<div>
|
|
233
|
+
<i class="fa fa-comments-o" aria-hidden="true"></i>
|
|
234
|
+
<span>{{item.CommentsCount}}</span>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
</div>
|
|
238
|
+
|
|
239
|
+
<app-pagination *ngIf="!IsClientPagination" [totalCount]="totalRecordCount" [pageCount]="pageCount"
|
|
240
|
+
[currentPage]="pageNo" [pageSize]="pageSize" [gridSearchType]="GridSearchType"
|
|
241
|
+
(getPaginationListData)="getPaginationListData($event.pageCount,$event.pageSize)">
|
|
242
|
+
</app-pagination>
|
|
243
|
+
</div>
|
|
244
|
+
<div *ngIf="viewTypeData ==1">
|
|
245
|
+
<app-grid [columnDefs]="columnDefs" [GridTitle]="pageTitle"
|
|
246
|
+
[selectMode]="selectMode" [IsCreate]="false" [IsDelete]="false"
|
|
247
|
+
[IsEdit]="false" [grid]="1" (getPageList)="getListDatas($event.Criteria)" (getGridCheckedData)="getgridCheckedData($event.gridData)" (goToDetails)="openDetailsPopup($event.data)">
|
|
248
|
+
</app-grid>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
|
|
252
|
+
</ng-container>
|
|
253
|
+
|
|
254
|
+
<ng-container *ngIf="isDetails && detailsRecId">
|
|
255
|
+
|
|
256
|
+
<app-support-request-details [ViewFrom]="'Popup'" [IsWfAction]="true" [RecId]="detailsRecId" [EntityTypeRecId]="detailsEntityTypeRecId">
|
|
257
|
+
</app-support-request-details>
|
|
258
|
+
|
|
259
|
+
</ng-container>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
<ng-container *ngIf="isShowCreateRequest">
|
|
263
|
+
|
|
264
|
+
<app-support-request-create class="support_req_div" *ngIf="CreateItemId" [ViewFrom]="'Popup'" [Source]="Source"
|
|
265
|
+
[IssueType]="11" [IssueTypeEn]="'Customer Self Service'"
|
|
266
|
+
[CreatedByUserType]="RequesterTypeId" [Channel]="Channel" [ChannelEn]="ChannelEn" [ChannelAr]="ChannelAr"
|
|
267
|
+
[RequesterId]="RequesterId" [RequesterIdEn]="RequesterTypeIdEn" [RequestField]="RequesterField" [Type]="'Create'"
|
|
268
|
+
[EntityTypeId]="CreateItemId" (closeCreate)="closePopupCreateView($event.Type,$event.Data)">
|
|
269
|
+
</app-support-request-create>
|
|
270
|
+
</ng-container>
|
|
271
|
+
|
|
272
|
+
<ng-container *ngIf="showWorkflowPopup">
|
|
273
|
+
|
|
274
|
+
<app-workflow-dynamic-popup [showWorkflowPopups]="showWorkflowPopup"
|
|
275
|
+
[EntityTypeId]="EntityTypeId"
|
|
276
|
+
[EntityFormId]="workflowEntityFormId"
|
|
277
|
+
(getWorkflowActionComments)="getWorkflowActionComments($event.comments, $event.updateFileds, $event.updateFieldsObject)">
|
|
278
|
+
</app-workflow-dynamic-popup>
|
|
279
|
+
</ng-container>
|
|
280
|
+
</div>
|