arco-support-request 0.0.89 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arco-support-request.d.ts +32 -0
- package/arco-support-request.metadata.json +1 -0
- package/bundles/arco-support-request.umd.js +11762 -0
- package/bundles/arco-support-request.umd.js.map +1 -0
- package/bundles/arco-support-request.umd.min.js +2 -0
- package/bundles/arco-support-request.umd.min.js.map +1 -0
- package/esm2015/arco-support-request.js +33 -0
- package/esm2015/lib/Pipe/allpipe.pipe.js +110 -0
- package/esm2015/lib/Pipe/translate.pipe.js +31 -0
- package/esm2015/lib/arco-support-request.component.js +18 -0
- package/esm2015/lib/arco-support-request.module.js +20 -0
- package/esm2015/lib/arco-support-request.service.js +19 -0
- package/esm2015/lib/core/global.service.js +1813 -0
- package/esm2015/lib/core/handlebar-helper-register.js +217 -0
- package/esm2015/lib/core/static/jwt.js +8 -0
- package/esm2015/lib/entity-type-setup/activities-create/activities-create.component.js +128 -0
- package/esm2015/lib/entity-type-setup/activities-view/activities-view.component.js +49 -0
- package/esm2015/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.js +373 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +867 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.js +85 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +1076 -0
- package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +51 -0
- package/esm2015/lib/entity-type-setup/interface/eventEnum.js +84 -0
- package/esm2015/lib/entity-type-setup/page-form-instance.js +65 -0
- package/esm2015/lib/entity-type-setup/page.interface.classes.js +40 -0
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +1894 -0
- package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +321 -0
- package/esm2015/lib/search.pipe.js +19 -0
- package/esm2015/lib/support-request/action/action.component.js +104 -0
- package/esm2015/lib/support-request/case-list/case-list.component.js +438 -0
- package/esm2015/lib/support-request/home/home.component.js +23 -0
- package/esm2015/lib/support-request/pagination/pagination.component.js +34 -0
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +729 -0
- package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +86 -0
- package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +273 -0
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +631 -0
- package/esm2015/lib/support-request/support-request-index/support-request-index.component.js +16 -0
- package/esm2015/lib/support-request/support-request-routing.module.js +22 -0
- package/esm2015/lib/support-request/support-request.module.js +98 -0
- package/esm2015/lib/support-request/support-request.service.js +107 -0
- package/esm2015/lib/support-request/supportRequestInterface.js +2 -0
- package/esm2015/lib/task/Interfaces/TaskInterface.js +7 -0
- package/esm2015/lib/task/Services/task.service.js +251 -0
- package/esm2015/lib/templates/attachmentsetup/attachment-interface.js +2 -0
- package/esm2015/lib/templates/attachmentsetup/attachment.service.js +196 -0
- package/esm2015/lib/templates/grid/grid-datatype/grid-datatype.component.js +37 -0
- package/esm2015/lib/templates/grid/grid-service.service.js +163 -0
- package/esm2015/lib/templates/grid/grid.component.js +604 -0
- package/esm2015/lib/templates/grid/inner-grid/inner-grid.component.js +15 -0
- package/esm2015/lib/templates/interface_enum/common-Interface.js +2 -0
- package/esm2015/lib/templates/interface_enum/common-enum.js +164 -0
- package/esm2015/lib/ticket/_interfaces/model.js +2 -0
- package/esm2015/lib/ticket/_ticket-services/ticket-api.service.js +232 -0
- package/esm2015/public-api.js +9 -0
- package/fesm2015/arco-support-request.js +11155 -0
- package/fesm2015/arco-support-request.js.map +1 -0
- package/lib/Pipe/allpipe.pipe.d.ts +19 -0
- package/lib/Pipe/translate.pipe.d.ts +7 -0
- package/lib/arco-support-request.component.d.ts +5 -0
- package/lib/arco-support-request.module.d.ts +2 -0
- package/lib/arco-support-request.service.d.ts +9 -0
- package/lib/core/global.service.d.ts +99 -0
- package/lib/core/handlebar-helper-register.d.ts +1 -0
- package/lib/core/static/jwt.d.ts +7 -0
- package/lib/entity-type-setup/activities-create/activities-create.component.d.ts +30 -0
- package/lib/entity-type-setup/activities-view/activities-view.component.d.ts +16 -0
- package/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.d.ts +67 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +88 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.d.ts +11 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +70 -0
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +917 -0
- package/lib/entity-type-setup/interface/eventEnum.d.ts +161 -0
- package/lib/entity-type-setup/page-form-instance.d.ts +13 -0
- package/lib/entity-type-setup/page.interface.classes.d.ts +33 -0
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +616 -0
- package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +86 -0
- package/lib/search.pipe.d.ts +4 -0
- package/lib/support-request/action/action.component.d.ts +31 -0
- package/lib/support-request/case-list/case-list.component.d.ts +100 -0
- package/lib/support-request/home/home.component.d.ts +6 -0
- package/lib/support-request/pagination/pagination.component.d.ts +18 -0
- package/lib/support-request/request-flow/request-flow.component.d.ts +152 -0
- package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +32 -0
- package/lib/support-request/support-request-create/support-request-create.component.d.ts +55 -0
- package/lib/support-request/support-request-details/support-request-details.component.d.ts +138 -0
- package/lib/support-request/support-request-index/support-request-index.component.d.ts +5 -0
- package/lib/support-request/support-request-routing.module.d.ts +2 -0
- package/lib/support-request/support-request.module.d.ts +2 -0
- package/lib/support-request/support-request.service.d.ts +35 -0
- package/lib/support-request/supportRequestInterface.d.ts +6 -0
- package/lib/task/Interfaces/TaskInterface.d.ts +132 -0
- package/lib/task/Services/task.service.d.ts +75 -0
- package/lib/templates/attachmentsetup/attachment-interface.d.ts +90 -0
- package/lib/templates/attachmentsetup/attachment.service.d.ts +61 -0
- package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +11 -0
- package/lib/templates/grid/grid-service.service.d.ts +46 -0
- package/lib/templates/grid/grid.component.d.ts +218 -0
- package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +5 -0
- package/lib/templates/interface_enum/common-Interface.d.ts +97 -0
- package/lib/templates/interface_enum/common-enum.d.ts +134 -0
- package/lib/ticket/_interfaces/model.d.ts +192 -0
- package/lib/ticket/_ticket-services/ticket-api.service.d.ts +81 -0
- package/package.json +22 -11
- package/{src/public-api.ts → public-api.d.ts} +1 -6
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -18
- package/src/lib/Pipe/allpipe.pipe.ts +0 -127
- package/src/lib/Pipe/handlebar-helper-register.ts +0 -249
- package/src/lib/Pipe/translate.pipe.ts +0 -32
- package/src/lib/all-routing.ts +0 -61
- package/src/lib/arco-support-request.component.spec.ts +0 -25
- package/src/lib/arco-support-request.component.ts +0 -20
- package/src/lib/arco-support-request.module.ts +0 -19
- package/src/lib/arco-support-request.service.spec.ts +0 -16
- package/src/lib/arco-support-request.service.ts +0 -16
- package/src/lib/commonstyles/new-style-rtl.css +0 -380
- package/src/lib/commonstyles/styles.scss +0 -4334
- package/src/lib/core/encodeurl.service.ts +0 -23
- package/src/lib/core/global.service.ts +0 -1859
- package/src/lib/core/handlebar-helper-register.ts +0 -247
- package/src/lib/core/httpcancel.service.ts +0 -21
- package/src/lib/core/loader.service.ts +0 -19
- package/src/lib/core/loading-provider.service.ts +0 -64
- package/src/lib/core/managehttp.interceptor.ts +0 -49
- package/src/lib/core/static/jwt.ts +0 -7
- package/src/lib/core/token.service.ts +0 -37
- package/src/lib/entity-type-setup/activities-create/activities-create.component.html +0 -69
- package/src/lib/entity-type-setup/activities-create/activities-create.component.scss +0 -13
- package/src/lib/entity-type-setup/activities-create/activities-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-create/activities-create.component.ts +0 -143
- package/src/lib/entity-type-setup/activities-view/activities-view.component.html +0 -19
- package/src/lib/entity-type-setup/activities-view/activities-view.component.scss +0 -3
- package/src/lib/entity-type-setup/activities-view/activities-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-view/activities-view.component.ts +0 -53
- package/src/lib/entity-type-setup/activity-template/activity-template.component.html +0 -73
- package/src/lib/entity-type-setup/activity-template/activity-template.component.scss +0 -0
- package/src/lib/entity-type-setup/activity-template/activity-template.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template/activity-template.component.ts +0 -208
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.html +0 -356
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.scss +0 -50
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.ts +0 -346
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.html +0 -92
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.scss +0 -90
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.ts +0 -74
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.html +0 -57
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.scss +0 -16
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.ts +0 -59
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.html +0 -102
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.scss +0 -3
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.ts +0 -498
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.html +0 -408
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.scss +0 -123
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.ts +0 -1073
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.ts +0 -84
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.html +0 -194
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.scss +0 -81
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.ts +0 -1526
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.html +0 -137
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.ts +0 -1353
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.html +0 -329
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.ts +0 -520
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.html +0 -609
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.scss +0 -99
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.ts +0 -784
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.html +0 -632
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.scss +0 -261
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.ts +0 -765
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.html +0 -368
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.ts +0 -334
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.html +0 -500
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.ts +0 -862
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.html +0 -139
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.scss +0 -14
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.ts +0 -347
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.html +0 -150
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.scss +0 -27
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.ts +0 -384
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.html +0 -305
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.scss +0 -31
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.ts +0 -572
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.html +0 -610
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.scss +0 -50
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.ts +0 -633
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.html +0 -609
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.scss +0 -4
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.ts +0 -702
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.html +0 -530
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.scss +0 -12
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.ts +0 -767
- package/src/lib/entity-type-setup/entity-type-setup-routing.module.ts +0 -92
- package/src/lib/entity-type-setup/entity-type-setup.module.ts +0 -114
- package/src/lib/entity-type-setup/events/events.component.html +0 -211
- package/src/lib/entity-type-setup/events/events.component.scss +0 -61
- package/src/lib/entity-type-setup/events/events.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/events/events.component.ts +0 -517
- package/src/lib/entity-type-setup/field-type/field-type.component.html +0 -447
- package/src/lib/entity-type-setup/field-type/field-type.component.scss +0 -0
- package/src/lib/entity-type-setup/field-type/field-type.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type/field-type.component.ts +0 -531
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.html +0 -152
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.scss +0 -24
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.ts +0 -35
- package/src/lib/entity-type-setup/instruction/instruction.component.html +0 -239
- package/src/lib/entity-type-setup/instruction/instruction.component.scss +0 -18
- package/src/lib/entity-type-setup/instruction/instruction.component.ts +0 -450
- package/src/lib/entity-type-setup/interface/entityTypeInterface.ts +0 -1046
- package/src/lib/entity-type-setup/interface/eventEnum.ts +0 -191
- package/src/lib/entity-type-setup/issue-group/issue-group.component.html +0 -77
- package/src/lib/entity-type-setup/issue-group/issue-group.component.scss +0 -0
- package/src/lib/entity-type-setup/issue-group/issue-group.component.ts +0 -221
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.html +0 -192
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.scss +0 -10
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.ts +0 -418
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.html +0 -42
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.scss +0 -8
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.ts +0 -52
- package/src/lib/entity-type-setup/my-task/my-task.component.html +0 -599
- package/src/lib/entity-type-setup/my-task/my-task.component.scss +0 -0
- package/src/lib/entity-type-setup/my-task/my-task.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/my-task/my-task.component.ts +0 -770
- package/src/lib/entity-type-setup/page-form-instance.ts +0 -73
- package/src/lib/entity-type-setup/page.interface.classes.ts +0 -43
- package/src/lib/entity-type-setup/service/dropdown.directive.ts +0 -12
- package/src/lib/entity-type-setup/service/entity-type-setup.service.ts +0 -2901
- package/src/lib/entity-type-setup/task-crete/task-crete.component.html +0 -61
- package/src/lib/entity-type-setup/task-crete/task-crete.component.scss +0 -0
- package/src/lib/entity-type-setup/task-crete/task-crete.component.ts +0 -117
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.html +0 -95
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.scss +0 -23
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.ts +0 -213
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.html +0 -240
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.scss +0 -14
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.ts +0 -404
- package/src/lib/search.pipe.spec.ts +0 -8
- package/src/lib/search.pipe.ts +0 -21
- package/src/lib/support-request/action/action.component.html +0 -122
- package/src/lib/support-request/action/action.component.scss +0 -6
- package/src/lib/support-request/action/action.component.ts +0 -179
- package/src/lib/support-request/case-list/case-list.component.html +0 -280
- package/src/lib/support-request/case-list/case-list.component.scss +0 -187
- package/src/lib/support-request/case-list/case-list.component.ts +0 -519
- package/src/lib/support-request/home/home.component.html +0 -16
- package/src/lib/support-request/home/home.component.scss +0 -4
- package/src/lib/support-request/home/home.component.ts +0 -23
- package/src/lib/support-request/pagination/pagination.component.html +0 -71
- package/src/lib/support-request/pagination/pagination.component.scss +0 -77
- package/src/lib/support-request/pagination/pagination.component.ts +0 -29
- package/src/lib/support-request/request-flow/request-flow.component.html +0 -536
- package/src/lib/support-request/request-flow/request-flow.component.scss +0 -2
- package/src/lib/support-request/request-flow/request-flow.component.ts +0 -914
- package/src/lib/support-request/self-service-flow/self-service-flow.component.html +0 -64
- package/src/lib/support-request/self-service-flow/self-service-flow.component.scss +0 -2
- package/src/lib/support-request/self-service-flow/self-service-flow.component.ts +0 -105
- package/src/lib/support-request/support-request-create/support-request-create.component.html +0 -105
- package/src/lib/support-request/support-request-create/support-request-create.component.scss +0 -54
- package/src/lib/support-request/support-request-create/support-request-create.component.ts +0 -319
- package/src/lib/support-request/support-request-details/support-request-details.component.html +0 -553
- package/src/lib/support-request/support-request-details/support-request-details.component.scss +0 -338
- package/src/lib/support-request/support-request-details/support-request-details.component.ts +0 -849
- package/src/lib/support-request/support-request-index/support-request-index.component.html +0 -4
- package/src/lib/support-request/support-request-index/support-request-index.component.scss +0 -0
- package/src/lib/support-request/support-request-index/support-request-index.component.ts +0 -16
- package/src/lib/support-request/support-request-list/support-request-list.component.html +0 -455
- package/src/lib/support-request/support-request-list/support-request-list.component.scss +0 -0
- package/src/lib/support-request/support-request-list/support-request-list.component.ts +0 -869
- package/src/lib/support-request/support-request-routing.module.ts +0 -21
- package/src/lib/support-request/support-request.module.ts +0 -103
- package/src/lib/support-request/support-request.service.ts +0 -148
- package/src/lib/support-request/supportRequestInterface.ts +0 -6
- package/src/lib/task/Interfaces/TaskInterface.ts +0 -164
- package/src/lib/task/Services/task.service.spec.ts +0 -16
- package/src/lib/task/Services/task.service.ts +0 -354
- package/src/lib/task/task-routing.module.ts +0 -12
- package/src/lib/task/task.module.ts +0 -23
- package/src/lib/template/template.component.html +0 -22
- package/src/lib/template/template.component.scss +0 -0
- package/src/lib/template/template.component.spec.ts +0 -25
- package/src/lib/template/template.component.ts +0 -24
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.html +0 -83
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.ts +0 -120
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.html +0 -134
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.ts +0 -185
- package/src/lib/templates/attachmentsetup/attachment-api.ts +0 -55
- package/src/lib/templates/attachmentsetup/attachment-interface.ts +0 -100
- package/src/lib/templates/attachmentsetup/attachment.service.ts +0 -233
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.html +0 -97
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.scss +0 -10
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.ts +0 -367
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.html +0 -49
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.ts +0 -226
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.html +0 -140
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.scss +0 -8
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.ts +0 -176
- package/src/lib/templates/card/card.component.html +0 -56
- package/src/lib/templates/card/card.component.scss +0 -0
- package/src/lib/templates/card/card.component.spec.ts +0 -25
- package/src/lib/templates/card/card.component.ts +0 -306
- package/src/lib/templates/dashboard/dashboard.component.html +0 -333
- package/src/lib/templates/dashboard/dashboard.component.scss +0 -16
- package/src/lib/templates/dashboard/dashboard.component.ts +0 -2290
- package/src/lib/templates/details/details.component.html +0 -233
- package/src/lib/templates/details/details.component.scss +0 -0
- package/src/lib/templates/details/details.component.spec.ts +0 -25
- package/src/lib/templates/details/details.component.ts +0 -15
- package/src/lib/templates/detailstwo/detailstwo.component.html +0 -694
- package/src/lib/templates/detailstwo/detailstwo.component.scss +0 -0
- package/src/lib/templates/detailstwo/detailstwo.component.spec.ts +0 -25
- package/src/lib/templates/detailstwo/detailstwo.component.ts +0 -15
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.html +0 -1
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.scss +0 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.spec.ts +0 -25
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.ts +0 -15
- package/src/lib/templates/grid/grid-datatype/grid-datatype.component.ts +0 -39
- package/src/lib/templates/grid/grid-service.service.ts +0 -236
- package/src/lib/templates/grid/grid.component.html +0 -358
- package/src/lib/templates/grid/grid.component.scss +0 -118
- package/src/lib/templates/grid/grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/grid.component.ts +0 -638
- package/src/lib/templates/grid/inner-grid/inner-grid.component.html +0 -1
- package/src/lib/templates/grid/inner-grid/inner-grid.component.scss +0 -0
- package/src/lib/templates/grid/inner-grid/inner-grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/inner-grid/inner-grid.component.ts +0 -15
- package/src/lib/templates/home/home.component.html +0 -251
- package/src/lib/templates/home/home.component.scss +0 -20
- package/src/lib/templates/home/home.component.spec.ts +0 -25
- package/src/lib/templates/home/home.component.ts +0 -15
- package/src/lib/templates/interface_enum/common-Interface.ts +0 -114
- package/src/lib/templates/interface_enum/common-enum.ts +0 -159
- package/src/lib/templates/interface_enum/icon-class.ts +0 -1149
- package/src/lib/templates/leftside/leftside.component.html +0 -77
- package/src/lib/templates/leftside/leftside.component.scss +0 -0
- package/src/lib/templates/leftside/leftside.component.spec.ts +0 -25
- package/src/lib/templates/leftside/leftside.component.ts +0 -238
- package/src/lib/templates/login/login.component.html +0 -93
- package/src/lib/templates/login/login.component.scss +0 -110
- package/src/lib/templates/login/login.component.spec.ts +0 -25
- package/src/lib/templates/login/login.component.ts +0 -142
- package/src/lib/templates/main-content/main-content.component.html +0 -31
- package/src/lib/templates/main-content/main-content.component.scss +0 -6
- package/src/lib/templates/main-content/main-content.component.spec.ts +0 -25
- package/src/lib/templates/main-content/main-content.component.ts +0 -24
- package/src/lib/templates/menu-item/child-menu/child-menu.component.html +0 -5
- package/src/lib/templates/menu-item/child-menu/child-menu.component.scss +0 -3
- package/src/lib/templates/menu-item/child-menu/child-menu.component.ts +0 -22
- package/src/lib/templates/menu-item/menu-item.component.html +0 -25
- package/src/lib/templates/menu-item/menu-item.component.scss +0 -11
- package/src/lib/templates/menu-item/menu-item.component.ts +0 -29
- package/src/lib/templates/pagination/pagination.component.html +0 -71
- package/src/lib/templates/pagination/pagination.component.scss +0 -73
- package/src/lib/templates/pagination/pagination.component.ts +0 -29
- package/src/lib/templates/pie-chart/pie-chart.component.html +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.scss +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.ts +0 -14
- package/src/lib/templates/pipe/multiple-search.pipe.ts +0 -28
- package/src/lib/templates/pipe/simple-search.pipe.ts +0 -18
- package/src/lib/templates/pipe/translate.pipe.ts +0 -31
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.html +0 -16
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.scss +0 -0
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.spec.ts +0 -25
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.ts +0 -59
- package/src/lib/templates/table/table.component.html +0 -310
- package/src/lib/templates/table/table.component.scss +0 -0
- package/src/lib/templates/table/table.component.spec.ts +0 -25
- package/src/lib/templates/table/table.component.ts +0 -52
- package/src/lib/templates/template.service.ts +0 -43
- package/src/lib/templates/templates-routing.module.ts +0 -21
- package/src/lib/templates/templates.module.ts +0 -80
- package/src/lib/templates/topnav/topnav.component.html +0 -172
- package/src/lib/templates/topnav/topnav.component.scss +0 -10
- package/src/lib/templates/topnav/topnav.component.spec.ts +0 -25
- package/src/lib/templates/topnav/topnav.component.ts +0 -59
- package/src/lib/ticket/_interfaces/master-models.ts +0 -66
- package/src/lib/ticket/_interfaces/model.ts +0 -252
- package/src/lib/ticket/_ticket-services/ticket-api.service.ts +0 -319
- package/src/lib/ticket/_ticket-services/ticket-master-api.service.ts +0 -169
- package/src/lib/ticket/_ticket-services/ticket-priority.service.ts +0 -86
- package/src/lib/ticket/_ticket-services/ticketchannel.service.ts +0 -107
- package/src/lib/ticket/ticket-routing.module.ts +0 -12
- package/src/lib/ticket/ticket.module.ts +0 -29
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
package/src/lib/search.pipe.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,179 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,280 +0,0 @@
|
|
|
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>
|