arco-support-request 0.0.65 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arco-support-request.d.ts +32 -0
- package/arco-support-request.metadata.json +1 -0
- package/bundles/arco-support-request.umd.js +10936 -0
- package/bundles/arco-support-request.umd.js.map +1 -0
- package/bundles/arco-support-request.umd.min.js +2 -0
- package/bundles/arco-support-request.umd.min.js.map +1 -0
- package/esm2015/arco-support-request.js +33 -0
- package/esm2015/lib/Pipe/allpipe.pipe.js +110 -0
- package/esm2015/lib/Pipe/translate.pipe.js +31 -0
- package/esm2015/lib/arco-support-request.component.js +18 -0
- package/esm2015/lib/arco-support-request.module.js +20 -0
- package/esm2015/lib/arco-support-request.service.js +19 -0
- package/esm2015/lib/core/global.service.js +1747 -0
- package/esm2015/lib/core/handlebar-helper-register.js +182 -0
- package/esm2015/lib/core/static/jwt.js +8 -0
- package/esm2015/lib/entity-type-setup/activities-create/activities-create.component.js +105 -0
- package/esm2015/lib/entity-type-setup/activities-view/activities-view.component.js +46 -0
- package/esm2015/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.js +367 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +850 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.js +85 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +957 -0
- package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +51 -0
- package/esm2015/lib/entity-type-setup/interface/eventEnum.js +84 -0
- package/esm2015/lib/entity-type-setup/page-form-instance.js +65 -0
- package/esm2015/lib/entity-type-setup/page.interface.classes.js +40 -0
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +1833 -0
- package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +276 -0
- package/esm2015/lib/search.pipe.js +19 -0
- package/esm2015/lib/support-request/action/action.component.js +104 -0
- package/esm2015/lib/support-request/case-list/case-list.component.js +390 -0
- package/esm2015/lib/support-request/home/home.component.js +23 -0
- package/esm2015/lib/support-request/pagination/pagination.component.js +34 -0
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +685 -0
- package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +78 -0
- package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +270 -0
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +508 -0
- package/esm2015/lib/support-request/support-request-index/support-request-index.component.js +16 -0
- package/esm2015/lib/support-request/support-request-routing.module.js +22 -0
- package/esm2015/lib/support-request/support-request.module.js +98 -0
- package/esm2015/lib/support-request/support-request.service.js +105 -0
- package/esm2015/lib/support-request/supportRequestInterface.js +2 -0
- package/esm2015/lib/task/Interfaces/TaskInterface.js +7 -0
- package/esm2015/lib/task/Services/task.service.js +251 -0
- package/esm2015/lib/templates/Pipe/translate.pipe.js +31 -0
- package/esm2015/lib/templates/attachmentsetup/attachment-interface.js +2 -0
- package/esm2015/lib/templates/attachmentsetup/attachment.service.js +196 -0
- package/esm2015/lib/templates/grid/grid-datatype/grid-datatype.component.js +37 -0
- package/esm2015/lib/templates/grid/grid-service.service.js +85 -0
- package/esm2015/lib/templates/grid/grid.component.js +436 -0
- package/esm2015/lib/templates/grid/inner-grid/inner-grid.component.js +15 -0
- package/esm2015/lib/templates/interface_enum/common-Interface.js +2 -0
- package/esm2015/lib/templates/interface_enum/common-enum.js +153 -0
- package/esm2015/lib/ticket/_interfaces/model.js +2 -0
- package/esm2015/lib/ticket/_ticket-services/ticket-api.service.js +232 -0
- package/esm2015/public-api.js +9 -0
- package/fesm2015/arco-support-request.js +10336 -0
- package/fesm2015/arco-support-request.js.map +1 -0
- package/lib/Pipe/allpipe.pipe.d.ts +19 -0
- package/lib/Pipe/translate.pipe.d.ts +7 -0
- package/lib/arco-support-request.component.d.ts +5 -0
- package/lib/arco-support-request.module.d.ts +2 -0
- package/lib/arco-support-request.service.d.ts +9 -0
- package/lib/core/global.service.d.ts +78 -0
- package/lib/core/handlebar-helper-register.d.ts +1 -0
- package/lib/core/static/jwt.d.ts +7 -0
- package/lib/entity-type-setup/activities-create/activities-create.component.d.ts +30 -0
- package/lib/entity-type-setup/activities-view/activities-view.component.d.ts +16 -0
- package/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.d.ts +67 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +88 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.d.ts +11 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +69 -0
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +916 -0
- package/lib/entity-type-setup/interface/eventEnum.d.ts +161 -0
- package/lib/entity-type-setup/page-form-instance.d.ts +13 -0
- package/lib/entity-type-setup/page.interface.classes.d.ts +33 -0
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +604 -0
- package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +66 -0
- package/lib/search.pipe.d.ts +4 -0
- package/lib/support-request/action/action.component.d.ts +31 -0
- package/lib/support-request/case-list/case-list.component.d.ts +91 -0
- package/lib/support-request/home/home.component.d.ts +6 -0
- package/lib/support-request/pagination/pagination.component.d.ts +18 -0
- package/lib/support-request/request-flow/request-flow.component.d.ts +143 -0
- package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +31 -0
- package/lib/support-request/support-request-create/support-request-create.component.d.ts +55 -0
- package/lib/support-request/support-request-details/support-request-details.component.d.ts +116 -0
- package/lib/support-request/support-request-index/support-request-index.component.d.ts +5 -0
- package/lib/support-request/support-request-routing.module.d.ts +2 -0
- package/lib/support-request/support-request.module.d.ts +2 -0
- package/lib/support-request/support-request.service.d.ts +35 -0
- package/lib/support-request/supportRequestInterface.d.ts +6 -0
- package/lib/task/Interfaces/TaskInterface.d.ts +132 -0
- package/lib/task/Services/task.service.d.ts +75 -0
- package/lib/templates/Pipe/translate.pipe.d.ts +7 -0
- package/lib/templates/attachmentsetup/attachment-interface.d.ts +90 -0
- package/lib/templates/attachmentsetup/attachment.service.d.ts +61 -0
- package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +11 -0
- package/lib/templates/grid/grid-service.service.d.ts +40 -0
- package/lib/templates/grid/grid.component.d.ts +155 -0
- package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +5 -0
- package/lib/templates/interface_enum/common-Interface.d.ts +90 -0
- package/lib/templates/interface_enum/common-enum.d.ts +129 -0
- package/lib/ticket/_interfaces/model.d.ts +192 -0
- package/lib/ticket/_ticket-services/ticket-api.service.d.ts +81 -0
- package/package.json +22 -11
- package/{src/public-api.ts → public-api.d.ts} +1 -6
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -18
- package/src/lib/Pipe/allpipe.pipe.ts +0 -127
- package/src/lib/Pipe/handlebar-helper-register.ts +0 -197
- package/src/lib/Pipe/translate.pipe.ts +0 -32
- package/src/lib/all-routing.ts +0 -61
- package/src/lib/arco-support-request.component.spec.ts +0 -25
- package/src/lib/arco-support-request.component.ts +0 -20
- package/src/lib/arco-support-request.module.ts +0 -19
- package/src/lib/arco-support-request.service.spec.ts +0 -16
- package/src/lib/arco-support-request.service.ts +0 -16
- package/src/lib/commonstyles/new-style-rtl.css +0 -381
- package/src/lib/commonstyles/styles.scss +0 -3984
- package/src/lib/core/encodeurl.service.ts +0 -23
- package/src/lib/core/global.service.ts +0 -1810
- package/src/lib/core/handlebar-helper-register.ts +0 -213
- package/src/lib/core/httpcancel.service.ts +0 -21
- package/src/lib/core/loader.service.ts +0 -19
- package/src/lib/core/loading-provider.service.ts +0 -64
- package/src/lib/core/managehttp.interceptor.ts +0 -49
- package/src/lib/core/static/jwt.ts +0 -7
- package/src/lib/core/token.service.ts +0 -37
- package/src/lib/entity-type-setup/activities-create/activities-create.component.html +0 -68
- package/src/lib/entity-type-setup/activities-create/activities-create.component.scss +0 -0
- package/src/lib/entity-type-setup/activities-create/activities-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-create/activities-create.component.ts +0 -121
- package/src/lib/entity-type-setup/activities-view/activities-view.component.html +0 -19
- package/src/lib/entity-type-setup/activities-view/activities-view.component.scss +0 -3
- package/src/lib/entity-type-setup/activities-view/activities-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-view/activities-view.component.ts +0 -53
- package/src/lib/entity-type-setup/activity-template/activity-template.component.html +0 -73
- package/src/lib/entity-type-setup/activity-template/activity-template.component.scss +0 -0
- package/src/lib/entity-type-setup/activity-template/activity-template.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template/activity-template.component.ts +0 -208
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.html +0 -356
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.scss +0 -50
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.ts +0 -346
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.html +0 -92
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.scss +0 -90
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.ts +0 -74
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.html +0 -57
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.scss +0 -16
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.ts +0 -59
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.html +0 -102
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.scss +0 -3
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.ts +0 -498
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.html +0 -408
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.scss +0 -123
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.ts +0 -1051
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.ts +0 -84
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.html +0 -194
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.scss +0 -81
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.ts +0 -1466
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.html +0 -137
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.ts +0 -1232
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.html +0 -329
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.ts +0 -520
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.html +0 -609
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.scss +0 -99
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.ts +0 -784
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.html +0 -632
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.scss +0 -261
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.ts +0 -765
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.html +0 -368
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.ts +0 -334
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.html +0 -500
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.ts +0 -862
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.html +0 -139
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.scss +0 -14
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.ts +0 -347
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.html +0 -150
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.scss +0 -27
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.ts +0 -384
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.html +0 -305
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.scss +0 -31
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.ts +0 -572
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.html +0 -610
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.scss +0 -50
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.ts +0 -633
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.html +0 -609
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.scss +0 -4
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.ts +0 -702
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.html +0 -530
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.scss +0 -12
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.ts +0 -767
- package/src/lib/entity-type-setup/entity-type-setup-routing.module.ts +0 -92
- package/src/lib/entity-type-setup/entity-type-setup.module.ts +0 -114
- package/src/lib/entity-type-setup/events/events.component.html +0 -211
- package/src/lib/entity-type-setup/events/events.component.scss +0 -61
- package/src/lib/entity-type-setup/events/events.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/events/events.component.ts +0 -517
- package/src/lib/entity-type-setup/field-type/field-type.component.html +0 -447
- package/src/lib/entity-type-setup/field-type/field-type.component.scss +0 -0
- package/src/lib/entity-type-setup/field-type/field-type.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type/field-type.component.ts +0 -531
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.html +0 -152
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.scss +0 -24
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.ts +0 -35
- package/src/lib/entity-type-setup/instruction/instruction.component.html +0 -239
- package/src/lib/entity-type-setup/instruction/instruction.component.scss +0 -18
- package/src/lib/entity-type-setup/instruction/instruction.component.ts +0 -450
- package/src/lib/entity-type-setup/interface/entityTypeInterface.ts +0 -1045
- package/src/lib/entity-type-setup/interface/eventEnum.ts +0 -191
- package/src/lib/entity-type-setup/issue-group/issue-group.component.html +0 -77
- package/src/lib/entity-type-setup/issue-group/issue-group.component.scss +0 -0
- package/src/lib/entity-type-setup/issue-group/issue-group.component.ts +0 -221
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.html +0 -192
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.scss +0 -10
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.ts +0 -418
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.html +0 -42
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.scss +0 -8
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.ts +0 -52
- package/src/lib/entity-type-setup/my-task/my-task.component.html +0 -599
- package/src/lib/entity-type-setup/my-task/my-task.component.scss +0 -0
- package/src/lib/entity-type-setup/my-task/my-task.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/my-task/my-task.component.ts +0 -770
- package/src/lib/entity-type-setup/page-form-instance.ts +0 -73
- package/src/lib/entity-type-setup/page.interface.classes.ts +0 -43
- package/src/lib/entity-type-setup/service/dropdown.directive.ts +0 -12
- package/src/lib/entity-type-setup/service/entity-type-setup.service.ts +0 -2821
- package/src/lib/entity-type-setup/task-crete/task-crete.component.html +0 -61
- package/src/lib/entity-type-setup/task-crete/task-crete.component.scss +0 -0
- package/src/lib/entity-type-setup/task-crete/task-crete.component.ts +0 -117
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.html +0 -95
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.scss +0 -23
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.ts +0 -213
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.html +0 -222
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.scss +0 -14
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.ts +0 -328
- package/src/lib/search.pipe.spec.ts +0 -8
- package/src/lib/search.pipe.ts +0 -21
- package/src/lib/support-request/action/action.component.html +0 -122
- package/src/lib/support-request/action/action.component.scss +0 -6
- package/src/lib/support-request/action/action.component.ts +0 -179
- package/src/lib/support-request/case-list/case-list.component.html +0 -220
- package/src/lib/support-request/case-list/case-list.component.scss +0 -208
- package/src/lib/support-request/case-list/case-list.component.ts +0 -433
- package/src/lib/support-request/home/home.component.html +0 -16
- package/src/lib/support-request/home/home.component.scss +0 -4
- package/src/lib/support-request/home/home.component.ts +0 -23
- package/src/lib/support-request/pagination/pagination.component.html +0 -71
- package/src/lib/support-request/pagination/pagination.component.scss +0 -77
- package/src/lib/support-request/pagination/pagination.component.ts +0 -29
- package/src/lib/support-request/request-flow/request-flow.component.html +0 -330
- package/src/lib/support-request/request-flow/request-flow.component.scss +0 -2
- package/src/lib/support-request/request-flow/request-flow.component.ts +0 -846
- package/src/lib/support-request/self-service-flow/self-service-flow.component.html +0 -64
- package/src/lib/support-request/self-service-flow/self-service-flow.component.scss +0 -2
- package/src/lib/support-request/self-service-flow/self-service-flow.component.ts +0 -87
- package/src/lib/support-request/support-request-create/support-request-create.component.html +0 -103
- package/src/lib/support-request/support-request-create/support-request-create.component.scss +0 -39
- package/src/lib/support-request/support-request-create/support-request-create.component.ts +0 -319
- package/src/lib/support-request/support-request-details/support-request-details.component.html +0 -268
- package/src/lib/support-request/support-request-details/support-request-details.component.scss +0 -319
- package/src/lib/support-request/support-request-details/support-request-details.component.ts +0 -678
- package/src/lib/support-request/support-request-index/support-request-index.component.html +0 -4
- package/src/lib/support-request/support-request-index/support-request-index.component.scss +0 -0
- package/src/lib/support-request/support-request-index/support-request-index.component.ts +0 -16
- package/src/lib/support-request/support-request-list/support-request-list.component.html +0 -455
- package/src/lib/support-request/support-request-list/support-request-list.component.scss +0 -0
- package/src/lib/support-request/support-request-list/support-request-list.component.ts +0 -869
- package/src/lib/support-request/support-request-routing.module.ts +0 -21
- package/src/lib/support-request/support-request.module.ts +0 -103
- package/src/lib/support-request/support-request.service.ts +0 -145
- package/src/lib/support-request/supportRequestInterface.ts +0 -6
- package/src/lib/task/Interfaces/TaskInterface.ts +0 -164
- package/src/lib/task/Services/task.service.spec.ts +0 -16
- package/src/lib/task/Services/task.service.ts +0 -354
- package/src/lib/task/task-routing.module.ts +0 -12
- package/src/lib/task/task.module.ts +0 -23
- package/src/lib/template/template.component.html +0 -22
- package/src/lib/template/template.component.scss +0 -0
- package/src/lib/template/template.component.spec.ts +0 -25
- package/src/lib/template/template.component.ts +0 -24
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.html +0 -83
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.ts +0 -120
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.html +0 -134
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.ts +0 -185
- package/src/lib/templates/attachmentsetup/attachment-api.ts +0 -55
- package/src/lib/templates/attachmentsetup/attachment-interface.ts +0 -100
- package/src/lib/templates/attachmentsetup/attachment.service.ts +0 -233
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.html +0 -97
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.scss +0 -10
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.ts +0 -367
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.html +0 -49
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.ts +0 -226
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.html +0 -140
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.scss +0 -8
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.ts +0 -176
- package/src/lib/templates/card/card.component.html +0 -56
- package/src/lib/templates/card/card.component.scss +0 -0
- package/src/lib/templates/card/card.component.spec.ts +0 -25
- package/src/lib/templates/card/card.component.ts +0 -306
- package/src/lib/templates/dashboard/dashboard.component.html +0 -333
- package/src/lib/templates/dashboard/dashboard.component.scss +0 -16
- package/src/lib/templates/dashboard/dashboard.component.ts +0 -2290
- package/src/lib/templates/details/details.component.html +0 -233
- package/src/lib/templates/details/details.component.scss +0 -0
- package/src/lib/templates/details/details.component.spec.ts +0 -25
- package/src/lib/templates/details/details.component.ts +0 -15
- package/src/lib/templates/detailstwo/detailstwo.component.html +0 -694
- package/src/lib/templates/detailstwo/detailstwo.component.scss +0 -0
- package/src/lib/templates/detailstwo/detailstwo.component.spec.ts +0 -25
- package/src/lib/templates/detailstwo/detailstwo.component.ts +0 -15
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.html +0 -1
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.scss +0 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.spec.ts +0 -25
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.ts +0 -15
- package/src/lib/templates/grid/grid-datatype/grid-datatype.component.ts +0 -39
- package/src/lib/templates/grid/grid-service.service.ts +0 -140
- package/src/lib/templates/grid/grid.component.html +0 -270
- package/src/lib/templates/grid/grid.component.scss +0 -99
- package/src/lib/templates/grid/grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/grid.component.ts +0 -458
- package/src/lib/templates/grid/inner-grid/inner-grid.component.html +0 -1
- package/src/lib/templates/grid/inner-grid/inner-grid.component.scss +0 -0
- package/src/lib/templates/grid/inner-grid/inner-grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/inner-grid/inner-grid.component.ts +0 -15
- package/src/lib/templates/home/home.component.html +0 -251
- package/src/lib/templates/home/home.component.scss +0 -20
- package/src/lib/templates/home/home.component.spec.ts +0 -25
- package/src/lib/templates/home/home.component.ts +0 -15
- package/src/lib/templates/interface_enum/common-Interface.ts +0 -107
- package/src/lib/templates/interface_enum/common-enum.ts +0 -147
- package/src/lib/templates/interface_enum/icon-class.ts +0 -1149
- package/src/lib/templates/leftside/leftside.component.html +0 -77
- package/src/lib/templates/leftside/leftside.component.scss +0 -0
- package/src/lib/templates/leftside/leftside.component.spec.ts +0 -25
- package/src/lib/templates/leftside/leftside.component.ts +0 -238
- package/src/lib/templates/login/login.component.html +0 -93
- package/src/lib/templates/login/login.component.scss +0 -110
- package/src/lib/templates/login/login.component.spec.ts +0 -25
- package/src/lib/templates/login/login.component.ts +0 -142
- package/src/lib/templates/main-content/main-content.component.html +0 -31
- package/src/lib/templates/main-content/main-content.component.scss +0 -6
- package/src/lib/templates/main-content/main-content.component.spec.ts +0 -25
- package/src/lib/templates/main-content/main-content.component.ts +0 -24
- package/src/lib/templates/menu-item/child-menu/child-menu.component.html +0 -5
- package/src/lib/templates/menu-item/child-menu/child-menu.component.scss +0 -3
- package/src/lib/templates/menu-item/child-menu/child-menu.component.ts +0 -22
- package/src/lib/templates/menu-item/menu-item.component.html +0 -25
- package/src/lib/templates/menu-item/menu-item.component.scss +0 -11
- package/src/lib/templates/menu-item/menu-item.component.ts +0 -29
- package/src/lib/templates/pagination/pagination.component.html +0 -71
- package/src/lib/templates/pagination/pagination.component.scss +0 -73
- package/src/lib/templates/pagination/pagination.component.ts +0 -29
- package/src/lib/templates/pie-chart/pie-chart.component.html +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.scss +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.ts +0 -14
- package/src/lib/templates/pipe/multiple-search.pipe.ts +0 -28
- package/src/lib/templates/pipe/simple-search.pipe.ts +0 -18
- package/src/lib/templates/pipe/translate.pipe.ts +0 -31
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.html +0 -16
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.scss +0 -0
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.spec.ts +0 -25
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.ts +0 -59
- package/src/lib/templates/table/table.component.html +0 -310
- package/src/lib/templates/table/table.component.scss +0 -0
- package/src/lib/templates/table/table.component.spec.ts +0 -25
- package/src/lib/templates/table/table.component.ts +0 -52
- package/src/lib/templates/template.service.ts +0 -43
- package/src/lib/templates/templates-routing.module.ts +0 -21
- package/src/lib/templates/templates.module.ts +0 -80
- package/src/lib/templates/topnav/topnav.component.html +0 -172
- package/src/lib/templates/topnav/topnav.component.scss +0 -10
- package/src/lib/templates/topnav/topnav.component.spec.ts +0 -25
- package/src/lib/templates/topnav/topnav.component.ts +0 -59
- package/src/lib/ticket/_interfaces/master-models.ts +0 -66
- package/src/lib/ticket/_interfaces/model.ts +0 -252
- package/src/lib/ticket/_ticket-services/ticket-api.service.ts +0 -319
- package/src/lib/ticket/_ticket-services/ticket-master-api.service.ts +0 -169
- package/src/lib/ticket/_ticket-services/ticket-priority.service.ts +0 -86
- package/src/lib/ticket/_ticket-services/ticketchannel.service.ts +0 -107
- package/src/lib/ticket/ticket-routing.module.ts +0 -12
- package/src/lib/ticket/ticket.module.ts +0 -29
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
// import { AllRoutes } from '../../../app/all-routing';
|
|
4
|
-
import { GlobalService } from '../../core/global.service';
|
|
5
|
-
import { DynamicTicketVm, EntityTypeFormVM, EntityTypeSetUpVM } from '../../entity-type-setup/interface/entityTypeInterface';
|
|
6
|
-
import { EntityTypeSetupService } from '../../entity-type-setup/service/entity-type-setup.service';
|
|
7
|
-
import { TranslatePipe } from '../Pipe/translate.pipe';
|
|
8
|
-
import Swal from 'sweetalert2';
|
|
9
|
-
import { GridServiceService } from '../grid/grid-service.service';
|
|
10
|
-
import { E_ActionType, E_DataType, E_FieldType, E_GridSearchType, E_SelectMode } from '../interface_enum/common-enum';
|
|
11
|
-
import { IActionDef, IColumnDef, ISearchCriteria, ISortingField } from '../interface_enum/common-Interface';
|
|
12
|
-
|
|
13
|
-
@Component({
|
|
14
|
-
selector: 'app-card',
|
|
15
|
-
templateUrl: './card.component.html',
|
|
16
|
-
styleUrls: ['./card.component.scss']
|
|
17
|
-
})
|
|
18
|
-
export class CardComponent implements OnInit {
|
|
19
|
-
|
|
20
|
-
constructor(private router:Router, private entityTypeSetup: EntityTypeSetupService,private gridServiceService: GridServiceService, public globalService: GlobalService,) { }
|
|
21
|
-
|
|
22
|
-
ngOnInit(): void {
|
|
23
|
-
this._getPageList();
|
|
24
|
-
|
|
25
|
-
this.gridServiceService.onGridRefresh.subscribe((x) => {
|
|
26
|
-
if (x) {
|
|
27
|
-
if (Object.keys(x).includes('card')) {
|
|
28
|
-
|
|
29
|
-
if (x.grid === this.Card) {
|
|
30
|
-
this.gridData = x.list;
|
|
31
|
-
this.totalCount = x.count;
|
|
32
|
-
this.totalRecordCount = x.totalRecordCount;
|
|
33
|
-
this.insertSelectField(false);
|
|
34
|
-
this.getCheckboxChecked();
|
|
35
|
-
this.getPageCount();
|
|
36
|
-
} else return;
|
|
37
|
-
} else {
|
|
38
|
-
this.gridData = x.list;
|
|
39
|
-
this.totalCount = x.count;
|
|
40
|
-
this.totalRecordCount = x.totalRecordCount;
|
|
41
|
-
this.insertSelectField(false);
|
|
42
|
-
this.getCheckboxChecked();
|
|
43
|
-
this.getPageCount();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@Output() getGridAction = new EventEmitter<{ item: any; gridData: any }>();
|
|
50
|
-
@Output() openCreatePopup = new EventEmitter<{ type: any }>()
|
|
51
|
-
@Output() getPageList = new EventEmitter<{ Criteria: any }>()
|
|
52
|
-
@Output() goToDetails = new EventEmitter<{ data: any }>()
|
|
53
|
-
@Output() assignmentMethod = new EventEmitter<{ data: any }>()
|
|
54
|
-
@Output() attachMethod = new EventEmitter<{ data: any }>()
|
|
55
|
-
@Output() gotoBackToList = new EventEmitter<{ data: any }>()
|
|
56
|
-
@Output() editMethod = new EventEmitter<{ data: any }>()
|
|
57
|
-
@Output() deleteMethod = new EventEmitter<{ data: any }>()
|
|
58
|
-
@Output() multipleDeleteMethod = new EventEmitter<{ gridData: any }>()
|
|
59
|
-
@Output() getGridCheckedData = new EventEmitter<{ gridData: any }>();
|
|
60
|
-
|
|
61
|
-
@Input() EntityTypeId: number;
|
|
62
|
-
|
|
63
|
-
@Input() TicketData: DynamicTicketVm[] = [];
|
|
64
|
-
|
|
65
|
-
@Input() IsClientPagination: boolean = false;
|
|
66
|
-
|
|
67
|
-
@Input() selectMode: E_SelectMode = E_SelectMode.Multi;
|
|
68
|
-
|
|
69
|
-
@Input() GridSearchType: E_GridSearchType = E_GridSearchType.None;
|
|
70
|
-
|
|
71
|
-
@Input() Card: number = 1;
|
|
72
|
-
@Input() IsCreate: boolean = false;
|
|
73
|
-
@Input() IsEdit: boolean = false;
|
|
74
|
-
@Input() IsDelete: boolean = false;
|
|
75
|
-
@Input() IsDetails: boolean = false;
|
|
76
|
-
@Input() IsBack: boolean = false;
|
|
77
|
-
@Input() IsAttach: boolean = false;
|
|
78
|
-
@Input() IsAssign: boolean = false;
|
|
79
|
-
@Input() IsExport:boolean = false;
|
|
80
|
-
@Input() gridData: any[] = [];
|
|
81
|
-
tempgridData: any[] = [];
|
|
82
|
-
|
|
83
|
-
displayPopupDetailView: boolean = false;
|
|
84
|
-
|
|
85
|
-
EntityTypeForm: EntityTypeFormVM[] = [];
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
translatePipe = new TranslatePipe(this.globalService);
|
|
89
|
-
|
|
90
|
-
viewTypeData:number =2;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
columnDefs: IColumnDef[] = [
|
|
95
|
-
]
|
|
96
|
-
columnDataType = E_DataType;
|
|
97
|
-
columnFieldType = E_FieldType;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
goDetails(data: DynamicTicketVm) {
|
|
101
|
-
|
|
102
|
-
// this.router.navigate([
|
|
103
|
-
// AllRoutes.Entity.DynamicTicketDetails,
|
|
104
|
-
// data.RecId,
|
|
105
|
-
// data.EntityTypeId,
|
|
106
|
-
// ]);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
detailsRecId:number= null;
|
|
110
|
-
detailsEntityTypeRecId:number= null;
|
|
111
|
-
|
|
112
|
-
openDetailsPopup(data){
|
|
113
|
-
|
|
114
|
-
this.detailsRecId = data.RecId
|
|
115
|
-
this.detailsEntityTypeRecId = data.EntityTypeId
|
|
116
|
-
this.displayPopupDetailView = true;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
_openCreatePopup(item:any) {
|
|
120
|
-
this.openCreatePopup.emit({ type: item });
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
totalCount: number = 0;
|
|
124
|
-
totalRecordCount: number = 0;
|
|
125
|
-
pageCount: number = 0;
|
|
126
|
-
pageNo: number = 1;
|
|
127
|
-
pageSize: number = 10;
|
|
128
|
-
SortingField: ISortingField = { field: null, direction: null } as any;
|
|
129
|
-
Searchcriteria: ISearchCriteria = {
|
|
130
|
-
Pagging: {
|
|
131
|
-
PageNo: this.pageNo,
|
|
132
|
-
PageSize: this.pageSize,
|
|
133
|
-
},
|
|
134
|
-
Where: [],
|
|
135
|
-
SortOrder: this.SortingField,
|
|
136
|
-
};
|
|
137
|
-
_getPageList() {
|
|
138
|
-
//
|
|
139
|
-
//let criteriastr = JSON.stringify(this.Searchcriteria);
|
|
140
|
-
this.getPageList.emit({ Criteria: this.Searchcriteria });
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
getPaginationListData(pageNo, pageSize?) {
|
|
144
|
-
this.pageNo = pageNo;
|
|
145
|
-
if (pageSize) this.pageSize = pageSize;
|
|
146
|
-
this.Searchcriteria.Pagging.PageNo = this.pageNo;
|
|
147
|
-
this.Searchcriteria.Pagging.PageSize = this.pageSize;
|
|
148
|
-
this._getPageList();
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
getPageCount() {
|
|
152
|
-
|
|
153
|
-
this.pageCount = Math.ceil(this.totalRecordCount / this.pageSize);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
_editmethod(item: any) {
|
|
157
|
-
this.editMethod.emit({ data: item });
|
|
158
|
-
}
|
|
159
|
-
_deleteMethod(item: any) {
|
|
160
|
-
Swal.fire({
|
|
161
|
-
title: this.translatePipe.transform('Are you sure to delete?'),
|
|
162
|
-
icon: 'warning',
|
|
163
|
-
showCancelButton: true,
|
|
164
|
-
confirmButtonColor: '#3085d6',
|
|
165
|
-
cancelButtonColor: '#d33',
|
|
166
|
-
cancelButtonText: this.translatePipe.transform('Cancel'),
|
|
167
|
-
confirmButtonText: this.translatePipe.transform('Yes, delete it!'),
|
|
168
|
-
}).then((result) => {
|
|
169
|
-
if (result.isConfirmed) {
|
|
170
|
-
this.deleteMethod.emit({ data: item });
|
|
171
|
-
// Swal.fire('Deleted!', 'Your file has been deleted.', 'success');
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
_attachmentMethod(item: any) {
|
|
177
|
-
|
|
178
|
-
this.attachMethod.emit({ data: item });
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
insertSelectField(value: boolean) {
|
|
182
|
-
this.gridData = this.gridData.map((x) => {
|
|
183
|
-
x.isGridSelect = value;
|
|
184
|
-
return x;
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
_gridEditmethod() {
|
|
189
|
-
if (this.GridCheckedData.length != 1) {
|
|
190
|
-
Swal.fire(
|
|
191
|
-
this.translatePipe.transform('alert!'),
|
|
192
|
-
'warning',
|
|
193
|
-
this.translatePipe.transform('please select a single row')
|
|
194
|
-
);
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
this._editmethod(this.GridCheckedData[0]);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
_gridDeleteMethod() {
|
|
201
|
-
this.translatePipe.transform('alert!');
|
|
202
|
-
|
|
203
|
-
if (this.GridCheckedData.length < 1) {
|
|
204
|
-
Swal.fire(
|
|
205
|
-
this.translatePipe.transform('alert!'),
|
|
206
|
-
'warning',
|
|
207
|
-
this.translatePipe.transform('please select atleast one row')
|
|
208
|
-
);
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
if (this.GridCheckedData.length != 1) {
|
|
213
|
-
Swal.fire(
|
|
214
|
-
this.translatePipe.transform('alert!'),
|
|
215
|
-
'warning',
|
|
216
|
-
this.translatePipe.transform('please select a single row')
|
|
217
|
-
);
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
if (
|
|
221
|
-
this.selectMode == E_SelectMode.Sigle &&
|
|
222
|
-
this.GridCheckedData.length != 1
|
|
223
|
-
) {
|
|
224
|
-
Swal.fire(
|
|
225
|
-
this.translatePipe.transform('alert!'),
|
|
226
|
-
'warning',
|
|
227
|
-
this.translatePipe.transform('please select a single row')
|
|
228
|
-
);
|
|
229
|
-
return;
|
|
230
|
-
}
|
|
231
|
-
try {
|
|
232
|
-
if (this.GridCheckedData.length == 1)
|
|
233
|
-
this._deleteMethod(this.GridCheckedData[0]);
|
|
234
|
-
else if (this.GridCheckedData.length > 1)
|
|
235
|
-
this.multipleDeleteMethod.emit({ gridData: this.GridCheckedData });
|
|
236
|
-
} catch (Exception) {
|
|
237
|
-
Swal.fire(this.translatePipe.transform(Exception.message));
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
_gotoBackToList(item: any) {
|
|
242
|
-
this.gotoBackToList.emit({ data: item });
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
GridCheckAll: boolean = false;
|
|
246
|
-
getCheckboxChecked(event?: any, index?: number) {
|
|
247
|
-
this.GridCheckedData = [];
|
|
248
|
-
for (var i = 0; i < this.gridData.length; i++) {
|
|
249
|
-
if (this.gridData[i].isGridSelect)
|
|
250
|
-
this.GridCheckedData.push(this.gridData[i]);
|
|
251
|
-
}
|
|
252
|
-
if (this.GridCheckedData.length == this.gridData.length)
|
|
253
|
-
this.GridCheckAll = true;
|
|
254
|
-
else this.GridCheckAll = false;
|
|
255
|
-
|
|
256
|
-
this._getGridCheckedData();
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
GridCheckedData: any = [];
|
|
260
|
-
_getGridAction(item: IActionDef) {
|
|
261
|
-
// page leval
|
|
262
|
-
if (
|
|
263
|
-
item.needGridData &&
|
|
264
|
-
this.selectMode == E_SelectMode.Sigle &&
|
|
265
|
-
this.GridCheckedData.length != 1
|
|
266
|
-
) {
|
|
267
|
-
Swal.fire({ title: 'alert!', text: 'please select a single row' });
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
|
-
if (item.needGridData && this.GridCheckedData.length < 1) {
|
|
271
|
-
Swal.fire({ title: 'alert!', text: 'please select atleast one row' });
|
|
272
|
-
return;
|
|
273
|
-
}
|
|
274
|
-
// action leval
|
|
275
|
-
if (
|
|
276
|
-
item.selectMode == E_SelectMode.Sigle &&
|
|
277
|
-
this.GridCheckedData.length != 1
|
|
278
|
-
) {
|
|
279
|
-
Swal.fire({ title: 'alert!', text: 'please select a single row' });
|
|
280
|
-
return;
|
|
281
|
-
}
|
|
282
|
-
if (item.MethodType == E_ActionType.Delete) {
|
|
283
|
-
Swal.fire({
|
|
284
|
-
title: 'Are you sure to delete?',
|
|
285
|
-
showCancelButton: true,
|
|
286
|
-
confirmButtonColor: '#3085d6',
|
|
287
|
-
cancelButtonColor: '#d33',
|
|
288
|
-
cancelButtonText: 'Cancel',
|
|
289
|
-
confirmButtonText: 'Yes, delete it!',
|
|
290
|
-
}).then((result) => {
|
|
291
|
-
if (result.value) {
|
|
292
|
-
this.getGridAction.emit({
|
|
293
|
-
item: item,
|
|
294
|
-
gridData: this.GridCheckedData,
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
});
|
|
298
|
-
} else {
|
|
299
|
-
this.getGridAction.emit({ item: item, gridData: this.GridCheckedData });
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
_getGridCheckedData() {
|
|
304
|
-
this.getGridCheckedData.emit({ gridData: this.GridCheckedData });
|
|
305
|
-
}
|
|
306
|
-
}
|
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
<div class="row">
|
|
2
|
-
<div class="col " *ngFor="let status of taskStatusData">
|
|
3
|
-
<div class="card card-body-design" [ngStyle]="{'background':status?.Background}">
|
|
4
|
-
<div class="card-body text-center ">
|
|
5
|
-
<span [ngStyle]="{'color':status?.Color}" class="card-body-text-design">{{status?.StatusName}}</span>
|
|
6
|
-
<span [ngStyle]="{'color':status?.Color}" class="card-body-text-design">{{status?.Counts}}</span>
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<div class="row clearfix" *ngIf="appId !='Task'" >
|
|
17
|
-
<div class="col-lg-4 col-md-6 col-sm-6">
|
|
18
|
-
<div class="card text-center bg-white">
|
|
19
|
-
<div class="body row " style="margin-left: 0;">
|
|
20
|
-
<div class=" top-chart-design col-3" style="background: darkslateblue;">
|
|
21
|
-
<!-- <highcharts-chart [Highcharts]="highcharts" [options]="chartForStatus"
|
|
22
|
-
style="width: 100%; height: 100px; display: block;">
|
|
23
|
-
</highcharts-chart> -->
|
|
24
|
-
<div class="" >
|
|
25
|
-
<circle-progress [percent]="85" [showInnerStroke]="false" [radius]="25" [outerStrokeWidth]="5"
|
|
26
|
-
[outerStrokeColor]="'#f582dc'" [unitsColor]="'white'" [titleFontSize]="'13'" [unitsFontSize]="'13'"
|
|
27
|
-
[showSubtitle]="false" [toFixed]='0' [titleColor]="'white'" [subtitleFontSize]="'6'" [animation]="true"
|
|
28
|
-
[animationDuration]="800">
|
|
29
|
-
</circle-progress>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
<div class="p-7 text-light col-9 text-left">
|
|
35
|
-
<h3 style="color:darkslateblue">{{ticketNewCount}}</h3>
|
|
36
|
-
<span style="color:gray">New - جديد </span>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="col-lg-4 col-md-6 col-sm-6">
|
|
42
|
-
<div class="card text-center bg-white">
|
|
43
|
-
<div class="body row" style="margin-left: 0;">
|
|
44
|
-
<div class="top-chart-design col-3" style="background: #ea6938;">
|
|
45
|
-
<div class="" style="margin: 2px 0 0 -7px;">
|
|
46
|
-
<circle-progress [percent]="60" [showInnerStroke]="false" [radius]="25" [outerStrokeWidth]="5"
|
|
47
|
-
[outerStrokeColor]="'#f582dc'" [unitsColor]="'white'" [titleFontSize]="'13'" [unitsFontSize]="'13'"
|
|
48
|
-
[showSubtitle]="false" [titleColor]="'white'" [subtitleFontSize]="'6'" [animation]="true"
|
|
49
|
-
[animationDuration]="800">
|
|
50
|
-
</circle-progress>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
<div class="p-7 text-light col-9 text-left">
|
|
54
|
-
<h3 style="color:#ea6938">{{ticketClosedCount}}</h3>
|
|
55
|
-
<span style="color:gray">Closed - مغلق </span>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
<div class="col-lg-4 col-md-6 col-sm-6">
|
|
61
|
-
<div class="card text-center bg-white">
|
|
62
|
-
<div class="body row" style="margin-left: 0;">
|
|
63
|
-
<div class="top-chart-design col-3" style="background: rgb(113 214 83);">
|
|
64
|
-
<div class="" style="margin: 2px 0 0 -7px;">
|
|
65
|
-
<circle-progress [percent]="40" [showInnerStroke]="false" [radius]="25" [outerStrokeWidth]="5"
|
|
66
|
-
[outerStrokeColor]="'#f582dc'" [unitsColor]="'white'" [titleFontSize]="'13'" [unitsFontSize]="'13'"
|
|
67
|
-
[showSubtitle]="false" [titleColor]="'white'" [subtitleFontSize]="'6'" [animation]="true"
|
|
68
|
-
[animationDuration]="800">
|
|
69
|
-
</circle-progress>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="p-7 text-light col-9 text-left">
|
|
73
|
-
<h3 style="color:rgb(113 214 83);">{{ticketResolvedCount}}</h3>
|
|
74
|
-
<span style="color:gray"> Resolved - تم الحل </span>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
</div>
|
|
81
|
-
<div class="row" *ngIf="appId !='Task'" >
|
|
82
|
-
<div class="col-lg-4 col-md-6 col-sm-6">
|
|
83
|
-
<div class="card text-center bg-white">
|
|
84
|
-
<div class="body row " style="margin-left: 0;">
|
|
85
|
-
<div class=" top-chart-design col-3" style="background: #c765c4;">
|
|
86
|
-
<div class="" style="margin: 2px 0 0 -7px;">
|
|
87
|
-
<circle-progress [percent]="50" [showInnerStroke]="false" [radius]="25" [outerStrokeWidth]="5"
|
|
88
|
-
[outerStrokeColor]="'#f582dc'" [unitsColor]="'white'" [titleFontSize]="'13'" [unitsFontSize]="'13'"
|
|
89
|
-
[showSubtitle]="false" [titleColor]="'white'" [subtitleFontSize]="'6'" [animation]="true"
|
|
90
|
-
[animationDuration]="800">
|
|
91
|
-
</circle-progress>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
<div class="p-7 text-light col-9 text-left">
|
|
95
|
-
<h3 style="color:#c765c4">{{ticketReOpenCount}}</h3>
|
|
96
|
-
<span style="color:gray"> Reopen - اعادة فتح </span>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
<div class="col-lg-4 col-md-6 col-sm-6">
|
|
102
|
-
<div class="card text-center bg-white">
|
|
103
|
-
<div class="body row" style="margin-left: 0;">
|
|
104
|
-
<div class="top-chart-design col-3" style="background: #eaa236;">
|
|
105
|
-
<div class="" style="margin: 2px 0 0 -7px;">
|
|
106
|
-
<circle-progress [percent]="60" [showInnerStroke]="false" [radius]="25" [outerStrokeWidth]="5"
|
|
107
|
-
[outerStrokeColor]="'#f582dc'" [unitsColor]="'white'" [titleFontSize]="'13'" [unitsFontSize]="'13'"
|
|
108
|
-
[showSubtitle]="false" [titleColor]="'white'" [subtitleFontSize]="'6'" [animation]="true"
|
|
109
|
-
[animationDuration]="800">
|
|
110
|
-
</circle-progress>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div class="p-7 text-light col-9 text-left">
|
|
114
|
-
<h3 style="color:#eaa236">{{ticketInProgressCount}}</h3>
|
|
115
|
-
<span style="color:gray">in progress - تحت الاجراء</span>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="col-lg-4 col-md-6 col-sm-6">
|
|
121
|
-
<div class="card text-center bg-white">
|
|
122
|
-
<div class="body row" style="margin-left: 0;">
|
|
123
|
-
<div class="top-chart-design col-3" style="background: silver;">
|
|
124
|
-
<div class="" style="margin: 2px 0 0 -7px;">
|
|
125
|
-
<circle-progress [percent]="85" [showInnerStroke]="false" [radius]="25" [outerStrokeWidth]="5"
|
|
126
|
-
[outerStrokeColor]="'#f582dc'" [unitsColor]="'white'" [titleFontSize]="'13'" [unitsFontSize]="'13'"
|
|
127
|
-
[showSubtitle]="false" [titleColor]="'white'" [subtitleFontSize]="'6'" [animation]="true"
|
|
128
|
-
[animationDuration]="800">
|
|
129
|
-
</circle-progress>
|
|
130
|
-
</div>
|
|
131
|
-
</div>
|
|
132
|
-
<div class="p-7 text-light col-9 text-left">
|
|
133
|
-
<h3 style="color: silver;">{{ticketProgressCount}}</h3>
|
|
134
|
-
<span style="color:gray">progress </span>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</div>
|
|
139
|
-
<div class="col-lg-4 col-md-6 col-sm-6">
|
|
140
|
-
<div class="card text-center bg-white">
|
|
141
|
-
<div class="body row" style="margin-left: 0;">
|
|
142
|
-
<div class="top-chart-design col-3" style="background: silver;">
|
|
143
|
-
<div class="" style="margin: 2px 0 0 -7px;">
|
|
144
|
-
<circle-progress [percent]="30" [showInnerStroke]="false" [radius]="25" [outerStrokeWidth]="5"
|
|
145
|
-
[outerStrokeColor]="'#f582dc'" [unitsColor]="'white'" [titleFontSize]="'13'" [unitsFontSize]="'13'"
|
|
146
|
-
[showSubtitle]="false" [titleColor]="'white'" [subtitleFontSize]="'6'" [animation]="true"
|
|
147
|
-
[animationDuration]="800">
|
|
148
|
-
</circle-progress>
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
<div class="p-7 text-light col-9 text-left">
|
|
152
|
-
<h3 style="color: silver;">{{ticketCancelCount}}</h3>
|
|
153
|
-
<span style="color:gray">Cancel - إلغاء </span>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
<div class="row">
|
|
166
|
-
<div class="col-lg-6">
|
|
167
|
-
<div class="card details_card">
|
|
168
|
-
<div class="header whole">
|
|
169
|
-
<h2 style="float: left;">Ticket Status</h2>
|
|
170
|
-
<div class="text-align-left align-chart-design">
|
|
171
|
-
<ng-select [items]="chartType" bindLabel="Value" bindValue="Value" [(ngModel)]="ddlTicketStatus"
|
|
172
|
-
(change)="setStatusChartData()">
|
|
173
|
-
</ng-select>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
|
|
177
|
-
<div class="body whole" *ngIf="showStatus">
|
|
178
|
-
<highcharts-chart [id]="'TicketStatus'" [Highcharts]="highcharts" [options]="chartOptions"
|
|
179
|
-
style="width: 100%; height: 400px; display: block;">
|
|
180
|
-
</highcharts-chart>
|
|
181
|
-
</div>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
|
|
185
|
-
<div class="col-lg-6">
|
|
186
|
-
<div class="card details_card">
|
|
187
|
-
<div class="header whole">
|
|
188
|
-
<h2 style="float: left;">Ticket Open Priority</h2>
|
|
189
|
-
<div class=" align-chart-design">
|
|
190
|
-
<ng-select [items]="chartType" bindLabel="Value" bindValue="Value" [(ngModel)]="ddlTicketPriority"
|
|
191
|
-
(change)="setPriorityChartData()">
|
|
192
|
-
</ng-select>
|
|
193
|
-
</div>
|
|
194
|
-
</div>
|
|
195
|
-
|
|
196
|
-
<div class="body whole" *ngIf="showPriority">
|
|
197
|
-
<highcharts-chart [id]="'TicketPriority'" [Highcharts]="highcharts" [options]="chartPriorityOptions"
|
|
198
|
-
style="width: 100%; height: 400px; display: block;">
|
|
199
|
-
</highcharts-chart>
|
|
200
|
-
|
|
201
|
-
</div>
|
|
202
|
-
</div>
|
|
203
|
-
</div>
|
|
204
|
-
</div>
|
|
205
|
-
|
|
206
|
-
<div class="row">
|
|
207
|
-
<div class="col-lg-6">
|
|
208
|
-
<div class="card details_card">
|
|
209
|
-
<div class="header whole">
|
|
210
|
-
<h2 style="float: left;"> Open Requests By Department</h2>
|
|
211
|
-
<div class="text-align-left align-chart-design">
|
|
212
|
-
<ng-select [items]="chartType" bindLabel="Value" bindValue="Value" [(ngModel)]="ddlTicketDepartment"
|
|
213
|
-
(change)="setDepartmentChartData()"></ng-select>
|
|
214
|
-
</div>
|
|
215
|
-
</div>
|
|
216
|
-
<div class="body whole" *ngIf="showDepartment">
|
|
217
|
-
<highcharts-chart [id]="'Department'" [Highcharts]="highcharts" [options]="departmentChartOptions"
|
|
218
|
-
style="width: 100%; height: 400px; display: block;">
|
|
219
|
-
</highcharts-chart>
|
|
220
|
-
|
|
221
|
-
</div>
|
|
222
|
-
</div>
|
|
223
|
-
</div>
|
|
224
|
-
<div class="col-lg-6">
|
|
225
|
-
<div class="card details_card">
|
|
226
|
-
<div class="header whole">
|
|
227
|
-
<h2 style="float: left;"> Open Requests By TicketType</h2>
|
|
228
|
-
<div class="text-align-left align-chart-design">
|
|
229
|
-
<ng-select [items]="chartType" bindLabel="Value" bindValue="Value" [(ngModel)]="ddlTicketType"
|
|
230
|
-
(change)="setTicketTypeChartData()"></ng-select>
|
|
231
|
-
</div>
|
|
232
|
-
</div>
|
|
233
|
-
|
|
234
|
-
<div class="body whole" *ngIf="showTicketType">
|
|
235
|
-
<highcharts-chart [id]="'TicketType'" [Highcharts]="highcharts" [options]="TicketTypeChartOptions"
|
|
236
|
-
style="width: 100%; height: 400px; display: block;">
|
|
237
|
-
</highcharts-chart>
|
|
238
|
-
|
|
239
|
-
</div>
|
|
240
|
-
</div>
|
|
241
|
-
</div>
|
|
242
|
-
</div>
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
<div class="row">
|
|
246
|
-
<div class="col-lg-6">
|
|
247
|
-
<div class="card details_card">
|
|
248
|
-
<div class="header whole">
|
|
249
|
-
<h2 style="float: left;"> Open Requests By Category</h2>
|
|
250
|
-
<div class="text-align-left align-chart-design">
|
|
251
|
-
<ng-select [items]="chartType" bindLabel="Value" bindValue="Value" [(ngModel)]="ddlTicketCategory"
|
|
252
|
-
(change)="setCategoryChartData()"></ng-select>
|
|
253
|
-
</div>
|
|
254
|
-
</div>
|
|
255
|
-
<div class="body whole" *ngIf="showCategory">
|
|
256
|
-
<highcharts-chart [id]="'Category'" [Highcharts]="highcharts" [options]="CategoryChartOptions"
|
|
257
|
-
style="width: 100%; height: 400px; display: block;">
|
|
258
|
-
</highcharts-chart>
|
|
259
|
-
</div>
|
|
260
|
-
</div>
|
|
261
|
-
</div>
|
|
262
|
-
|
|
263
|
-
<div class="col-lg-6">
|
|
264
|
-
<div class="card details_card">
|
|
265
|
-
<div class="header whole">
|
|
266
|
-
<h2 style="float: left;"> Open Requests By Month </h2>
|
|
267
|
-
<div class="align-chart-design">
|
|
268
|
-
<ng-select name="chart" [items]="openRequestByMonth" bindLabel="Label" bindValue="value" id="chartmonth"
|
|
269
|
-
[(ngModel)]="monthwisechart" (change)="GetOpenMonthCharts()">
|
|
270
|
-
<!-- <ng-option value="OpenMonth">{{"Month"}}</ng-option>
|
|
271
|
-
<ng-option value="OpenCurrentMonth">{{"CurrentMonth"}}</ng-option>
|
|
272
|
-
<ng-option value="ClosedMonth">{{"ClosedMonth"}}</ng-option>
|
|
273
|
-
<ng-option value="ClosedCurrentMonth">{{"ClosedCurrentMonth"}}</ng-option> -->
|
|
274
|
-
</ng-select>
|
|
275
|
-
</div>
|
|
276
|
-
</div>
|
|
277
|
-
<div class="body whole">
|
|
278
|
-
<ng-container *ngIf="showMonth">
|
|
279
|
-
<highcharts-chart [id]="'Month'" [Highcharts]="highcharts" [options]="MonthChartOptions"
|
|
280
|
-
style="width: 100%; height: 400px; display: block;">
|
|
281
|
-
</highcharts-chart>
|
|
282
|
-
</ng-container>
|
|
283
|
-
<ng-container *ngIf="showCurrentMonth">
|
|
284
|
-
<highcharts-chart [id]="'CurrentMonth'" [Highcharts]="highcharts" [options]="CurrentMonthChartOptions"
|
|
285
|
-
style="width: 100%; height: 400px; display: block;">
|
|
286
|
-
</highcharts-chart>
|
|
287
|
-
</ng-container>
|
|
288
|
-
<ng-container *ngIf="showClosedMonth">
|
|
289
|
-
<highcharts-chart [id]="'Month'" [Highcharts]="highcharts" [options]="ClosedMonthChartOptions"
|
|
290
|
-
style="width: 100%; height: 400px; display: block;">
|
|
291
|
-
</highcharts-chart>
|
|
292
|
-
</ng-container>
|
|
293
|
-
<ng-container *ngIf="showClosedCurrentMonth">
|
|
294
|
-
<highcharts-chart [id]="'ClosedCurrentMonth'" [Highcharts]="highcharts"
|
|
295
|
-
[options]="ClosedCurrentMonthChartOptions" style="width: 100%; height: 400px; display: block;">
|
|
296
|
-
</highcharts-chart>
|
|
297
|
-
</ng-container>
|
|
298
|
-
</div>
|
|
299
|
-
|
|
300
|
-
</div>
|
|
301
|
-
</div>
|
|
302
|
-
</div>
|
|
303
|
-
|
|
304
|
-
<div class="row">
|
|
305
|
-
<div class="col-lg-6">
|
|
306
|
-
<div class="card details_card">
|
|
307
|
-
<div class="header whole clearfix">
|
|
308
|
-
<h2 class="float-left">{{'Ticket opened and Closed Week Wise' | translate}}</h2>
|
|
309
|
-
<div class="align-chart-design">
|
|
310
|
-
<ng-select name="chart" [items]="openRequestByWeekWise" bindLabel="Label" bindValue="value" id="chartWeekWise"
|
|
311
|
-
[(ngModel)]="WeekWiseCurrentChart" (change)="getWeekCharts()">
|
|
312
|
-
</ng-select>
|
|
313
|
-
<!-- <select name="chart" class="form-control" id="chartWeekWise" [(ngModel)]="WeekWiseCurrentChart" (change)="getWeekCharts()">
|
|
314
|
-
<option value="openedPrevious">{{'Opened Previous Week' | translate}}</option>
|
|
315
|
-
<option value="openedCurrent">{{'Opened Current Week' | translate}}</option>
|
|
316
|
-
<option value="closedPrevious">{{'Closed Previous Week' | translate}}</option>
|
|
317
|
-
<option value="closedCurrent">{{'Closed Current Week' | translate}}</option>
|
|
318
|
-
</select> -->
|
|
319
|
-
</div>
|
|
320
|
-
</div>
|
|
321
|
-
|
|
322
|
-
<div class="body whole">
|
|
323
|
-
<ng-container
|
|
324
|
-
*ngIf="IsOpenPrevColumn ||IsOpenCurrentColumn || IsClosedPrevWeekRequestedColumn ||IsClosedCurrentWeekRequestedColumn">
|
|
325
|
-
<highcharts-chart [id]="'weekChart'" [Highcharts]="highcharts" [options]="WeekChartOptions"
|
|
326
|
-
style="width: 100%; height: 400px; display: block;">
|
|
327
|
-
</highcharts-chart>
|
|
328
|
-
</ng-container>
|
|
329
|
-
</div>
|
|
330
|
-
</div>
|
|
331
|
-
|
|
332
|
-
</div>
|
|
333
|
-
</div>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
.dropdownDesign{
|
|
2
|
-
width:45%;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.card-body-design {
|
|
6
|
-
padding: 28px 0;
|
|
7
|
-
// background: hsla(0, 0%, 50%, 0.78);
|
|
8
|
-
border-radius: 10px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.card-body-text-design {
|
|
12
|
-
display: block;
|
|
13
|
-
font-size: 20px;
|
|
14
|
-
// color: white;
|
|
15
|
-
font-weight: bold;
|
|
16
|
-
}
|