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/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.html
DELETED
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<div class="modal fade show" [ngClass]="{'showPop':showWorkflowPopups}" id="exampleModal" tabindex="-1"
|
|
3
|
-
aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
4
|
-
<div class="modal-dialog modal-lg">
|
|
5
|
-
<div class="modal-content">
|
|
6
|
-
<div class="modal-header">
|
|
7
|
-
<h5 class="modal-title" id="exampleModalLabel">{{'WorkFlow Stage'|translate}}</h5>
|
|
8
|
-
<button type="button" (click)="closePopup()" class="close" data-bs-dismiss="modal"
|
|
9
|
-
aria-label="Close">×</button>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="modal-body">
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<ng-container *ngIf="EntityFormId && showWorkflowPopups ">
|
|
15
|
-
<app-entity-dynamic-view [EntityFormId]="EntityFormId"
|
|
16
|
-
[PageGroupValues]="PageGroupValues"
|
|
17
|
-
[ViewFrom]="'Details'"
|
|
18
|
-
[Type]="Type"
|
|
19
|
-
[ParameterData]="ParameterData"
|
|
20
|
-
(submitFormValue)="emitSubmitForm($event.formdata,$event.pageForm,$event.forms,$event.CurrentFormPageGroupObjects)"></app-entity-dynamic-view>
|
|
21
|
-
</ng-container>
|
|
22
|
-
|
|
23
|
-
<form *ngIf="fieldConfig.length != 0" [formGroup]="dynamicFormGroup">
|
|
24
|
-
<ng-container *ngIf="fieldConfig.length != 0">
|
|
25
|
-
<ng-container *ngFor="let item of fieldConfig; let i = index">
|
|
26
|
-
<!-- textarea, image, file -->
|
|
27
|
-
<ng-container
|
|
28
|
-
*ngIf="(item.Datatype == 10 || item.Datatype == 7 || item.Datatype == 8 || item.Datatype == 11) else thenBlack">
|
|
29
|
-
<ng-container *ngIf="item.IsVisible">
|
|
30
|
-
|
|
31
|
-
<!-- Drop Down -->
|
|
32
|
-
<div class="form-group" *ngIf="item.Datatype == 8"
|
|
33
|
-
[ngClass]="{hide: item.IsHide,inactiveLink:item.IsReadonly}">
|
|
34
|
-
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
|
|
35
|
-
<div class="clearfix">
|
|
36
|
-
<label class="control-label"
|
|
37
|
-
style="padding-right: 0px;">{{item.DisplayLabel || item.FieldName | translate }}
|
|
38
|
-
<span class="red" *ngIf="item.IsMandatory">*</span>
|
|
39
|
-
</label>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="control-input">
|
|
42
|
-
<ng-select [items]="dropDown$[item.FieldName] | async" [formControlName]="item.FieldName"
|
|
43
|
-
bindLabel="Description" bindValue="Id"
|
|
44
|
-
[ngClass]="{'is-invalid': submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required }">
|
|
45
|
-
</ng-select>
|
|
46
|
-
<ng-container *ngIf="submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required"
|
|
47
|
-
class="invalid-feedback">
|
|
48
|
-
<span *ngIf="submitted && dynamicFormGroup.get(item.FieldName)['errors']['required']"
|
|
49
|
-
style="color: red">{{item.DisplayLabel + ' is required' | translate }}</span>
|
|
50
|
-
</ng-container>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<!-- text-area -->
|
|
56
|
-
<div class="form-group" *ngIf="item.Datatype == 10"
|
|
57
|
-
[ngClass]="{hide: item.IsHide,inactiveLink:item.IsReadonly}">
|
|
58
|
-
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
|
|
59
|
-
<div class="clearfix">
|
|
60
|
-
<label class="control-label"
|
|
61
|
-
style="padding-right: 0px;">{{item.DisplayLabel || item.FieldName | translate }}
|
|
62
|
-
<span class="red" *ngIf="item.IsMandatory">*</span>
|
|
63
|
-
</label>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="control-input">
|
|
66
|
-
<textarea class="dy-text-area" [name]="item.FieldName" [formControlName]="item.FieldName"
|
|
67
|
-
class="form-control"
|
|
68
|
-
[ngClass]="{'is-invalid': submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required }"></textarea>
|
|
69
|
-
<ng-container *ngIf="submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required"
|
|
70
|
-
class="invalid-feedback">
|
|
71
|
-
<span style="color: red">{{item.DisplayLabel + ' is required' | translate }}</span>
|
|
72
|
-
</ng-container>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
<!-- Image -->
|
|
78
|
-
<div class="form-group" *ngIf="item.Datatype == 7"
|
|
79
|
-
[ngClass]="{hide: item.IsHide,inactiveLink:item.IsReadonly}">
|
|
80
|
-
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
|
|
81
|
-
<div class="clearfix">
|
|
82
|
-
<label class="control-label"
|
|
83
|
-
style="padding-right: 0px;">{{item.DisplayLabel || item.FieldName | translate }}
|
|
84
|
-
<span class="red" *ngIf="item.IsMandatory">*</span>
|
|
85
|
-
</label>
|
|
86
|
-
</div>
|
|
87
|
-
<div class="control-input">
|
|
88
|
-
<input autocomplete="off" [placeholder]="item.DisplayLabel" type="file"
|
|
89
|
-
[name]="item.FieldName" [formControlName]="item.FieldName" class="form-control"
|
|
90
|
-
(change)="uploadFile($event)" accept="image/x-png,image/gif,image/jpeg"
|
|
91
|
-
[ngClass]="{'is-invalid': submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required }" />
|
|
92
|
-
<ng-container *ngIf="submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required"
|
|
93
|
-
class="invalid-feedback">
|
|
94
|
-
<span style="color: red">{{item.DisplayLabel + ' is required' | translate }}</span>
|
|
95
|
-
</ng-container>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
|
|
100
|
-
<!-- file -->
|
|
101
|
-
<!-- <div class="form-group"
|
|
102
|
-
*ngIf="item.Datatype == 11"
|
|
103
|
-
[ngClass]="{hide: item.IsHide,inactiveLink:item.IsReadonly}">
|
|
104
|
-
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
|
|
105
|
-
<div class="clearfix">
|
|
106
|
-
<label class="control-label"
|
|
107
|
-
style="padding-right: 0px;">{{item.DisplayLabel || item.FieldName | translate}}
|
|
108
|
-
<span class="red" *ngIf="item.IsMandatory">*</span>
|
|
109
|
-
</label>
|
|
110
|
-
</div>
|
|
111
|
-
<div class="control-input">
|
|
112
|
-
<input autocomplete="off"
|
|
113
|
-
style="width: calc(100% - 30px); display: inline-block; margin: 00 5px 0 0;"
|
|
114
|
-
[placeholder]="item.DisplayLabel"
|
|
115
|
-
type="file"
|
|
116
|
-
(change)="changeFile($event.target.file,item)"
|
|
117
|
-
[name]="item.FieldName"
|
|
118
|
-
[formControlName]="item.FieldName"
|
|
119
|
-
class="form-control"
|
|
120
|
-
[ngClass]="{'is-invalid': submitted && dynamicFormGroup.get(item.FieldName)?.errors }" />
|
|
121
|
-
<i class="themeprimary fa fa-upload"
|
|
122
|
-
*ngIf="!isFileUpload"
|
|
123
|
-
(click)="uploadFiles()"
|
|
124
|
-
style="font-size: 20px;"></i>
|
|
125
|
-
<div>
|
|
126
|
-
<i class="themeprimary"
|
|
127
|
-
*ngIf="!isFileUpload">{{"before submitting please file attach" | translate}}</i>
|
|
128
|
-
<i class="themeprimary la la-check"
|
|
129
|
-
style="margin: 0 5px"
|
|
130
|
-
*ngIf="isFileUpload"></i>
|
|
131
|
-
<i class="themeprimary"
|
|
132
|
-
*ngIf="isFileUpload">{{"file attached" | translate}}</i>
|
|
133
|
-
</div>
|
|
134
|
-
|
|
135
|
-
<ng-container *ngIf="submitted && dynamicFormGroup.get(item.FieldName)?.errors"
|
|
136
|
-
class="invalid-feedback">
|
|
137
|
-
<span style="color: red">{{item.DisplayLabel + ' is required' | translate }}</span>
|
|
138
|
-
</ng-container>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
</div> -->
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
</ng-container>
|
|
145
|
-
</ng-container>
|
|
146
|
-
|
|
147
|
-
<ng-template #thenBlack>
|
|
148
|
-
<div class="form-group" [ngClass]="{hide: item.IsHide,inactiveLink:item.IsReadonly}"
|
|
149
|
-
*ngIf="item.IsVisible">
|
|
150
|
-
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
|
|
151
|
-
<div class="clearfix">
|
|
152
|
-
<label class="control-label" style="padding-right: 0px;">{{item.DisplayLabel | translate }}
|
|
153
|
-
<span class="red" *ngIf="item.IsMandatory">*</span>
|
|
154
|
-
</label>
|
|
155
|
-
</div>
|
|
156
|
-
<!-- string, int, decimal, time, checkbox, image -->
|
|
157
|
-
<div class="control-input"
|
|
158
|
-
*ngIf="item.Datatype == 1 || item.Datatype == 2 || item.Datatype == 5 || item.Datatype == 6 || item.Datatype == 9">
|
|
159
|
-
<input min="0" autocomplete="off" [placeholder]="item.DisplayLabel"
|
|
160
|
-
[type]="getType(item.Datatype)" [name]="item.FieldName" [formControlName]="item.FieldName"
|
|
161
|
-
class="form-control"
|
|
162
|
-
[ngClass]="{'is-invalid': submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required }" />
|
|
163
|
-
<ng-container *ngIf="submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required"
|
|
164
|
-
class="invalid-feedback">
|
|
165
|
-
<span style="color: red">{{item.DisplayLabel + ' is required' | translate }}</span>
|
|
166
|
-
</ng-container>
|
|
167
|
-
</div>
|
|
168
|
-
|
|
169
|
-
<!-- date && date-time -->
|
|
170
|
-
<!-- <div class="control-input date_pick"
|
|
171
|
-
*ngIf="item.Datatype == 3 || item.Datatype == 4">
|
|
172
|
-
<input type="text"
|
|
173
|
-
readonly
|
|
174
|
-
[matDatepicker]="Datepicker"
|
|
175
|
-
[placeholder]="item.DisplayLabel"
|
|
176
|
-
[name]="item.FieldName"
|
|
177
|
-
[formControlName]="item.FieldName"
|
|
178
|
-
class="form-control"
|
|
179
|
-
[ngClass]="{'is-invalid': submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required }" />
|
|
180
|
-
<mat-datepicker-toggle matSuffix
|
|
181
|
-
[for]="Datepicker"></mat-datepicker-toggle>
|
|
182
|
-
<mat-datepicker #Datepicker></mat-datepicker>
|
|
183
|
-
<ng-container *ngIf="submitted && dynamicFormGroup.get(item.FieldName)?.errors?.required"
|
|
184
|
-
class="invalid-feedback">
|
|
185
|
-
<span style="color: red">{{item.DisplayLabel + ' is required' | translate }}</span>
|
|
186
|
-
</ng-container>
|
|
187
|
-
</div> -->
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
192
|
-
</ng-template>
|
|
193
|
-
|
|
194
|
-
</ng-container>
|
|
195
|
-
</ng-container>
|
|
196
|
-
</form>
|
|
197
|
-
|
|
198
|
-
<div class="clearfix">
|
|
199
|
-
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
|
|
200
|
-
<div class="row">
|
|
201
|
-
<div class="col text-right" style="max-width: 167px;">
|
|
202
|
-
<label class="control-label"
|
|
203
|
-
style="padding-right: 0px;">{{'Comments' | translate}}</label>
|
|
204
|
-
</div>
|
|
205
|
-
<div class="col control-input">
|
|
206
|
-
<textarea id="comments"
|
|
207
|
-
class="form-control"
|
|
208
|
-
rows="4"
|
|
209
|
-
[ngModelOptions]="{standalone: true}"
|
|
210
|
-
[(ngModel)]="workflowComments"
|
|
211
|
-
(click)="activeInputId = 'comments'"></textarea>
|
|
212
|
-
</div>
|
|
213
|
-
<div class="canned-response">
|
|
214
|
-
|
|
215
|
-
<button type="button"
|
|
216
|
-
(click)="showshortcode =!showshortcode; getShortCodeCannedResponse()"
|
|
217
|
-
class="btn-outline-success badge bg-white">
|
|
218
|
-
<i class="la la-envelope-open-text themecolor"
|
|
219
|
-
style="font-size: 25px;"></i> </button>
|
|
220
|
-
<ul role="menu"
|
|
221
|
-
class="dropdown-menu show"
|
|
222
|
-
*ngIf="showshortcode">
|
|
223
|
-
<li *ngFor="let short of shortcode"><a class="dropdown-item"
|
|
224
|
-
(click)="selectShortKey(short)">{{short.Message}}</a></li>
|
|
225
|
-
</ul>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
</div>
|
|
231
|
-
</div>
|
|
232
|
-
|
|
233
|
-
</div>
|
|
234
|
-
<div class="modal-footer">
|
|
235
|
-
<button type="submit" class="btn btn-primary" data-bs-dismiss="modal" (click)="onSubmit()">{{'Submit'|translate}}</button>
|
|
236
|
-
</div>
|
|
237
|
-
</div>
|
|
238
|
-
</div>
|
|
239
|
-
</div>
|
|
240
|
-
</div>
|
package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.spec.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { WorkflowDynamicPopupComponent } from './workflow-dynamic-popup.component';
|
|
4
|
-
|
|
5
|
-
describe('WorkflowDynamicPopupComponent', () => {
|
|
6
|
-
let component: WorkflowDynamicPopupComponent;
|
|
7
|
-
let fixture: ComponentFixture<WorkflowDynamicPopupComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ WorkflowDynamicPopupComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
fixture = TestBed.createComponent(WorkflowDynamicPopupComponent);
|
|
18
|
-
component = fixture.componentInstance;
|
|
19
|
-
fixture.detectChanges();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should create', () => {
|
|
23
|
-
expect(component).toBeTruthy();
|
|
24
|
-
});
|
|
25
|
-
});
|
package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.ts
DELETED
|
@@ -1,404 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { GlobalService } from '../../core/global.service';
|
|
5
|
-
import { E_DataType, E_FormType } from '../../templates/interface_enum/common-enum';
|
|
6
|
-
import { IColumnDef, ISearchCriteria, ISortingField } from '../../templates/interface_enum/common-Interface';
|
|
7
|
-
import Swal from 'sweetalert2';
|
|
8
|
-
import { WorkflowStageCompletePopup } from '../interface/entityTypeInterface';
|
|
9
|
-
import { PageForm } from '../page-form-instance';
|
|
10
|
-
import { EntityTypeSetupService } from '../service/entity-type-setup.service';
|
|
11
|
-
import { TranslatePipe } from '../../Pipe/translate.pipe';
|
|
12
|
-
declare var $: any;
|
|
13
|
-
|
|
14
|
-
@Component({
|
|
15
|
-
selector: 'app-workflow-dynamic-popup',
|
|
16
|
-
templateUrl: './workflow-dynamic-popup.component.html',
|
|
17
|
-
styleUrls: ['./workflow-dynamic-popup.component.scss'],
|
|
18
|
-
})
|
|
19
|
-
export class WorkflowDynamicPopupComponent implements OnInit {
|
|
20
|
-
@Input() currentStage: any;
|
|
21
|
-
@Input() ProcessId: any;
|
|
22
|
-
@Input() showWorkflowPopups: boolean = false;
|
|
23
|
-
@Input() isUpdateFields: boolean = false;
|
|
24
|
-
@Input() pageForm: PageForm;
|
|
25
|
-
@Input() columnDefs: IColumnDef[];
|
|
26
|
-
@Input() caller: WorkflowStageCompletePopup = null;
|
|
27
|
-
|
|
28
|
-
Type:any ="Workflow";
|
|
29
|
-
@Input() EntityFormId: any = null;
|
|
30
|
-
@Input() EntityTypeId: any = null;
|
|
31
|
-
@Input() PageGroupValues:any =null;
|
|
32
|
-
|
|
33
|
-
@Output() getWorkflowActionComments = new EventEmitter<{
|
|
34
|
-
comments: any;
|
|
35
|
-
updateFileds?: any;
|
|
36
|
-
updateFieldsObject?: any;
|
|
37
|
-
}>();
|
|
38
|
-
|
|
39
|
-
// displayActionFormPopUp:boolean = false;
|
|
40
|
-
|
|
41
|
-
updateFileds: any = {};
|
|
42
|
-
submitted: boolean;
|
|
43
|
-
dynamicFormGroup: FormGroup;
|
|
44
|
-
|
|
45
|
-
constructor(
|
|
46
|
-
private fb: FormBuilder,
|
|
47
|
-
public entityTypeService: EntityTypeSetupService,
|
|
48
|
-
public globalService: GlobalService,
|
|
49
|
-
) {}
|
|
50
|
-
|
|
51
|
-
fieldConfig = [];
|
|
52
|
-
ActionCondition: any = null;
|
|
53
|
-
|
|
54
|
-
isFileAttach: boolean = false;
|
|
55
|
-
MenuRecId: number = 0;
|
|
56
|
-
GridRecId: number = 0;
|
|
57
|
-
pageAttachList: any[] = [];
|
|
58
|
-
SelectedFiles: File = null;
|
|
59
|
-
DocumentItem: any = null;
|
|
60
|
-
isFileUpload: boolean = false;
|
|
61
|
-
|
|
62
|
-
workflowComments: any;
|
|
63
|
-
|
|
64
|
-
ngOnInit(): void {
|
|
65
|
-
this.entityTypeService.onshowWorkflowPopup.subscribe((resData) => {
|
|
66
|
-
try {
|
|
67
|
-
// alert("ss")
|
|
68
|
-
|
|
69
|
-
this.isFileAttach = false;
|
|
70
|
-
this.MenuRecId = 0;
|
|
71
|
-
this.GridRecId = 0;
|
|
72
|
-
this.workflowFormData ={};
|
|
73
|
-
this.pageAttachList = [];
|
|
74
|
-
this.SelectedFiles = null;
|
|
75
|
-
this.DocumentItem = null;
|
|
76
|
-
this.isFileUpload = false;
|
|
77
|
-
if (resData) {
|
|
78
|
-
if (resData.fieldConfig && resData.fieldConfig.length !== 0) {
|
|
79
|
-
this.fieldConfig = resData.fieldConfig;
|
|
80
|
-
}
|
|
81
|
-
this.dynamicFormGroup = this.getFieldFormGroup();
|
|
82
|
-
this.submitted = false;
|
|
83
|
-
this.showWorkflowPopups = resData.showWorkflowPopup;
|
|
84
|
-
this.workflowComments = null;
|
|
85
|
-
}
|
|
86
|
-
} catch (error) {
|
|
87
|
-
console.error(error);
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
getFieldFormGroup(): FormGroup {
|
|
93
|
-
this.generateDropDownFields();
|
|
94
|
-
if (this.fieldConfig.length == 0) return this.fb.group({});
|
|
95
|
-
const dynamicFormGroup = this.fb.group({});
|
|
96
|
-
for (const iterator of this.fieldConfig) {
|
|
97
|
-
if (iterator.IsMandatory && iterator.Datatype != E_DataType.file)
|
|
98
|
-
dynamicFormGroup.addControl(
|
|
99
|
-
iterator.FieldName,
|
|
100
|
-
this.fb.control('', Validators.required)
|
|
101
|
-
);
|
|
102
|
-
else dynamicFormGroup.addControl(iterator.FieldName, this.fb.control(''));
|
|
103
|
-
}
|
|
104
|
-
return dynamicFormGroup;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
onSubmit() {
|
|
109
|
-
// let isFileMandatory: boolean = false;
|
|
110
|
-
// this.submitted = true;
|
|
111
|
-
// let updateFiled = '';
|
|
112
|
-
// if (this.fieldConfig.length !== 0) {
|
|
113
|
-
// this.fieldConfig.map(function (x) {
|
|
114
|
-
// if (x.Datatype == 11 && x.IsMandatory) isFileMandatory = true;
|
|
115
|
-
// });
|
|
116
|
-
// updateFiled = JSON.stringify(this.dynamicFormGroup.value);
|
|
117
|
-
// }
|
|
118
|
-
// if (isFileMandatory && !this.isFileUpload) {
|
|
119
|
-
// Swal.fire('Mandatory file must be upload before submitting ', 'warning');
|
|
120
|
-
// return;
|
|
121
|
-
// }
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (this.EntityFormId) {
|
|
127
|
-
|
|
128
|
-
if (!this.workflowpageForm.valid) {
|
|
129
|
-
Swal.fire(this.translatePipe.transform('Fill all mandatory fields'), '', 'warning');
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
if (!this.EntityFormId || this.workflowpageForm.valid)
|
|
136
|
-
this.getWorkflowActionComments.emit({
|
|
137
|
-
comments: this.workflowComments,
|
|
138
|
-
updateFileds: this.workflowFormData ? JSON.stringify(this.workflowFormData) : null,
|
|
139
|
-
updateFieldsObject: this.workflowFormData,
|
|
140
|
-
});
|
|
141
|
-
else return;
|
|
142
|
-
|
|
143
|
-
this.closePopup();
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
closePopup() {
|
|
147
|
-
this.showWorkflowPopups = false;
|
|
148
|
-
this.entityTypeService.onshowWorkflowPopup.next(
|
|
149
|
-
{
|
|
150
|
-
showWorkflowPopup:false,
|
|
151
|
-
fieldConfig:[]
|
|
152
|
-
}
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
getType(_dataType: E_DataType | number) {
|
|
157
|
-
switch (_dataType) {
|
|
158
|
-
case E_DataType.int:
|
|
159
|
-
case E_DataType.decimal:
|
|
160
|
-
return 'number';
|
|
161
|
-
case E_DataType.date:
|
|
162
|
-
return 'date';
|
|
163
|
-
case E_DataType.dateTime:
|
|
164
|
-
return 'datetime-local';
|
|
165
|
-
case E_DataType.timespan:
|
|
166
|
-
return 'time';
|
|
167
|
-
case E_DataType.bool:
|
|
168
|
-
return 'checkbox';
|
|
169
|
-
case E_DataType.string:
|
|
170
|
-
return 'text';
|
|
171
|
-
case E_DataType.image:
|
|
172
|
-
return 'file';
|
|
173
|
-
|
|
174
|
-
default:
|
|
175
|
-
return 'text';
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
dropDown$ = Object.assign({});
|
|
180
|
-
|
|
181
|
-
generateDropDownFields() {
|
|
182
|
-
for (const iterator of this.fieldConfig) {
|
|
183
|
-
if (iterator.Datatype == E_DataType.dropdown) {
|
|
184
|
-
this.dropDown$[iterator.FieldName] = new Observable((obx) => {
|
|
185
|
-
if (iterator.FieldOptions) {
|
|
186
|
-
var jsonItem = JSON.parse(iterator.FieldOptions);
|
|
187
|
-
if (jsonItem.isDynamic && jsonItem.api && jsonItem.api.url) {
|
|
188
|
-
const url = this.entityTypeService.serverURL + jsonItem.api.url;
|
|
189
|
-
this.entityTypeService.getMethod(url).subscribe((res) => {
|
|
190
|
-
if (res && Array.isArray(res) && res.length > 0) {
|
|
191
|
-
obx.next(
|
|
192
|
-
res.map((x) =>
|
|
193
|
-
Object.assign({
|
|
194
|
-
Id: x[jsonItem.api.valueField],
|
|
195
|
-
Description: x[jsonItem.api.textField],
|
|
196
|
-
})
|
|
197
|
-
)
|
|
198
|
-
);
|
|
199
|
-
} else if (
|
|
200
|
-
Object.keys(res).length > 0 &&
|
|
201
|
-
Object.keys(res).includes('List')
|
|
202
|
-
) {
|
|
203
|
-
obx.next(
|
|
204
|
-
res['List'].map((x) =>
|
|
205
|
-
Object.assign({
|
|
206
|
-
Id: x[jsonItem.api.valueField],
|
|
207
|
-
Description: x[jsonItem.api.textField],
|
|
208
|
-
})
|
|
209
|
-
)
|
|
210
|
-
);
|
|
211
|
-
} else obx.next([]);
|
|
212
|
-
});
|
|
213
|
-
} else {
|
|
214
|
-
if (
|
|
215
|
-
jsonItem.options &&
|
|
216
|
-
Array.isArray(jsonItem.options) &&
|
|
217
|
-
jsonItem.options.length > 0
|
|
218
|
-
) {
|
|
219
|
-
|
|
220
|
-
if (this.ActionCondition == 'hidecustomer') {
|
|
221
|
-
jsonItem.options = jsonItem.options.filter((x) => {
|
|
222
|
-
if (x.value != '1') return x;
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
obx.next(
|
|
227
|
-
jsonItem.options.map((x) =>
|
|
228
|
-
Object.assign({
|
|
229
|
-
Id: x.value,
|
|
230
|
-
Description: x.text,
|
|
231
|
-
})
|
|
232
|
-
)
|
|
233
|
-
);
|
|
234
|
-
} else obx.next([]);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
uploadFile(event) {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
if (event.target && event.target.files && event.target.files.length > 0) {
|
|
246
|
-
const file: IUploadFile = event.target.files[0];
|
|
247
|
-
try {
|
|
248
|
-
this.entityTypeService
|
|
249
|
-
.uploadFiles(file, {
|
|
250
|
-
docName: file.name,
|
|
251
|
-
docType: file.type,
|
|
252
|
-
recId: 0,
|
|
253
|
-
})
|
|
254
|
-
.subscribe(
|
|
255
|
-
(res) => {},
|
|
256
|
-
(err) => console.log(err)
|
|
257
|
-
);
|
|
258
|
-
} catch (error) {
|
|
259
|
-
console.log(error);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
changeFile(files: FileList, item) {
|
|
265
|
-
|
|
266
|
-
this.DocumentItem = item;
|
|
267
|
-
this.SelectedFiles = files.item(0);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
activeInputId: any;
|
|
271
|
-
|
|
272
|
-
typeInTextarea(el, newText) {
|
|
273
|
-
var start = el.prop('selectionStart');
|
|
274
|
-
var end = el.prop('selectionEnd');
|
|
275
|
-
var text = el.val();
|
|
276
|
-
var before = text.substring(0, start);
|
|
277
|
-
var after = text.substring(end, text.length);
|
|
278
|
-
el.val(before + newText + after);
|
|
279
|
-
el[0].selectionStart = el[0].selectionEnd = start + newText.length;
|
|
280
|
-
el.focus();
|
|
281
|
-
|
|
282
|
-
this.workflowComments = el.val();
|
|
283
|
-
|
|
284
|
-
return false;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
showshortcode: boolean = false;
|
|
288
|
-
shortcode: any[] = [];
|
|
289
|
-
shortcutkey: any = [];
|
|
290
|
-
getShortCodeCannedResponse(event?) {
|
|
291
|
-
|
|
292
|
-
// columns.push(...short);
|
|
293
|
-
event = '';
|
|
294
|
-
if (this.showshortcode && (!this.shortcode || this.shortcode.length < 1)) {
|
|
295
|
-
this.entityTypeService
|
|
296
|
-
.getShortKeyCannedResponse(event)
|
|
297
|
-
.subscribe((res: any) => {
|
|
298
|
-
|
|
299
|
-
this.shortcode = res;
|
|
300
|
-
this.shortcutkey = res;
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
closeShortCanned: boolean = false;
|
|
306
|
-
closeShortKey() {
|
|
307
|
-
this.closeShortCanned = false;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
shortkey: any;
|
|
311
|
-
selectShortKey(item) {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
if (this.activeInputId)
|
|
315
|
-
this.typeInTextarea($('#' + this.activeInputId), item.Message);
|
|
316
|
-
return false;
|
|
317
|
-
|
|
318
|
-
this.closeShortKey();
|
|
319
|
-
// this.changeFiledValue('', field, row);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
showShortKey(item) {
|
|
323
|
-
this.shortkey.map((x) => {
|
|
324
|
-
if (x.Message != item.Message) x.showshort = false;
|
|
325
|
-
});
|
|
326
|
-
|
|
327
|
-
item.showshort = !item.showshort;
|
|
328
|
-
this.getShortCodeCannedResponse(item);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
ParameterData = {
|
|
333
|
-
Channel: 1,
|
|
334
|
-
ChannelEn: "Phone",
|
|
335
|
-
Source:"ERP",
|
|
336
|
-
CreatedByUserType:null,
|
|
337
|
-
UserType:"ERP",
|
|
338
|
-
CustomerId:null
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
getActiveEntityForm() {
|
|
342
|
-
|
|
343
|
-
if(this.EntityTypeId) {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
let SortingField: ISortingField = { field: null, direction: null } as any;
|
|
347
|
-
let Searchcriteria: ISearchCriteria = {
|
|
348
|
-
Pagging: {
|
|
349
|
-
PageNo: 1,
|
|
350
|
-
PageSize: 100,
|
|
351
|
-
},
|
|
352
|
-
Where: [],
|
|
353
|
-
SortOrder: SortingField,
|
|
354
|
-
};
|
|
355
|
-
let filteredObj = {
|
|
356
|
-
Field: 'FormType',
|
|
357
|
-
Operator: '',
|
|
358
|
-
TableAlias: '',
|
|
359
|
-
Value: E_FormType.Workflow,
|
|
360
|
-
};
|
|
361
|
-
Searchcriteria.Where.push(filteredObj);
|
|
362
|
-
|
|
363
|
-
this.entityTypeService.getAllEntityTypeForm(Searchcriteria,this.EntityTypeId).subscribe(
|
|
364
|
-
(res: any) => {
|
|
365
|
-
|
|
366
|
-
this.EntityFormId = res.RecId;
|
|
367
|
-
},
|
|
368
|
-
(error) => {
|
|
369
|
-
|
|
370
|
-
console.log(error);
|
|
371
|
-
}
|
|
372
|
-
);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
workflowFormAllFieldData = null;
|
|
377
|
-
workflowFormData = {};
|
|
378
|
-
workflowpageForm:any = {};
|
|
379
|
-
|
|
380
|
-
emitSubmitForm(CreateData, pageForm, forms?,CurrentFormPageGroupObjects?) {
|
|
381
|
-
|
|
382
|
-
this.workflowFormAllFieldData = CreateData;
|
|
383
|
-
this.workflowpageForm = pageForm;
|
|
384
|
-
|
|
385
|
-
Object.keys(CurrentFormPageGroupObjects).forEach(key => {
|
|
386
|
-
CurrentFormPageGroupObjects[key] = CreateData[key];
|
|
387
|
-
});
|
|
388
|
-
|
|
389
|
-
this.workflowFormData = CurrentFormPageGroupObjects;
|
|
390
|
-
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
translatePipe = new TranslatePipe(this.globalService);
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
export interface IUploadFile {
|
|
398
|
-
lastModified: number;
|
|
399
|
-
lastModifiedDate: Date;
|
|
400
|
-
name: string;
|
|
401
|
-
size: number;
|
|
402
|
-
type: string;
|
|
403
|
-
webkitRelativePath: any;
|
|
404
|
-
}
|