cat-qw-lib 1.0.0 → 1.0.2
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/fesm2022/cat-qw-lib.mjs +6152 -0
- package/fesm2022/cat-qw-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/admin/action-admin/action-admin.module.d.ts +15 -0
- package/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.d.ts +31 -0
- package/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.d.ts +18 -0
- package/lib/admin/action-admin/models/admin-action.model.d.ts +12 -0
- package/lib/admin/action-admin/state/admin-action.service.d.ts +16 -0
- package/lib/admin/action-admin/state/admin-action.store.d.ts +8 -0
- package/lib/admin/api-admin/api-admin.module.d.ts +18 -0
- package/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.d.ts +36 -0
- package/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.d.ts +18 -0
- package/lib/admin/api-admin/models/api-config.model.d.ts +13 -0
- package/lib/admin/api-admin/state/api-admin.service.d.ts +19 -0
- package/lib/admin/api-admin/state/api-admin.store.d.ts +8 -0
- package/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.d.ts +40 -0
- package/lib/admin/dd-admin/components/dd-admin-item-form/dd-admin-item-form.component.d.ts +35 -0
- package/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.d.ts +16 -0
- package/lib/admin/dd-admin/dd-admin.module.d.ts +20 -0
- package/lib/admin/dd-admin/models/api-property.model.d.ts +6 -0
- package/lib/admin/dd-admin/models/dd-attribute-sidebar-view.model.d.ts +4 -0
- package/lib/admin/dd-admin/models/dictionary.model.d.ts +14 -0
- package/lib/admin/dd-admin/state/dictionary.query.d.ts +20 -0
- package/lib/admin/dd-admin/state/dictionary.service.d.ts +17 -0
- package/lib/admin/dd-admin/state/dictionary.store.d.ts +14 -0
- package/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.d.ts +42 -0
- package/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.d.ts +18 -0
- package/lib/admin/queue-admin/components/queue-application-list/queue-application-list.component.d.ts +28 -0
- package/lib/admin/queue-admin/models/queue.model.d.ts +14 -0
- package/lib/admin/queue-admin/queue-admin-routing.module.d.ts +7 -0
- package/lib/admin/queue-admin/queue-admin.module.d.ts +16 -0
- package/lib/admin/queue-admin/state/queue.query.d.ts +10 -0
- package/lib/admin/queue-admin/state/queue.service.d.ts +16 -0
- package/{src/lib/admin/queue-admin/state/queue.state.ts → lib/admin/queue-admin/state/queue.state.d.ts} +6 -14
- package/lib/admin/queue-admin/state/queue.store.d.ts +8 -0
- package/lib/admin/template-admin/components/template-admin-form/template-admin-form.component.d.ts +34 -0
- package/lib/admin/template-admin/components/template-admin-list/template-admin-list.component.d.ts +18 -0
- package/lib/admin/template-admin/models/template.model.d.ts +11 -0
- package/lib/admin/template-admin/state/template-admin.query.d.ts +13 -0
- package/lib/admin/template-admin/state/template-admin.service.d.ts +17 -0
- package/lib/admin/template-admin/state/template-admin.store.d.ts +11 -0
- package/lib/admin/template-admin/template-admin.module.d.ts +17 -0
- package/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.d.ts +43 -0
- package/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.d.ts +17 -0
- package/lib/admin/widget-admin/models/widget.model.d.ts +31 -0
- package/lib/admin/widget-admin/state/widget-admin.query.d.ts +13 -0
- package/lib/admin/widget-admin/state/widget-admin.service.d.ts +23 -0
- package/lib/admin/widget-admin/state/widget-admin.store.d.ts +11 -0
- package/lib/admin/widget-admin/widget-admin.module.d.ts +20 -0
- package/lib/queue/components/queue-container/queue-container.component.d.ts +97 -0
- package/lib/queue/components/queue-item/queue-item.component.d.ts +25 -0
- package/lib/queue/components/queue-list/queue-list.component.d.ts +9 -0
- package/lib/queue/components/queue-record-table/queue-record-table.component.d.ts +80 -0
- package/lib/queue/components/queue-search/queue-search.component.d.ts +40 -0
- package/lib/queue/models/queue.model.d.ts +10 -0
- package/lib/queue/queue-routing.module.d.ts +7 -0
- package/lib/queue/queue.module.d.ts +23 -0
- package/lib/queue/services/application-assignment.service.d.ts +18 -0
- package/lib/queue/services/queue-record-table-builder.service.d.ts +10 -0
- package/lib/queue/state/queue.service.d.ts +45 -0
- package/lib/queue/state/queue.state.d.ts +4 -0
- package/lib/queue/state/queue.store.d.ts +8 -0
- package/lib/shared/_base/base-container/base-container.component.d.ts +10 -0
- package/lib/shared/_base/base-control/base-control.component.d.ts +34 -0
- package/lib/shared/_base/base-form/base-form.component.d.ts +48 -0
- package/lib/shared/_base/base-list/base-list.component.d.ts +26 -0
- package/lib/shared/components/form-container/form-container.component.d.ts +28 -0
- package/lib/shared/components/list/block-list.component.d.ts +16 -0
- package/lib/shared/components/queue-search-customer/queue-search-customer.component.d.ts +10 -0
- package/lib/shared/components/sidebar/sidebar.component.d.ts +13 -0
- package/lib/shared/constant/CSS.d.ts +11 -0
- package/lib/shared/constant/DATASOURCES.d.ts +18 -0
- package/lib/shared/constant/ERROR.d.ts +17 -0
- package/lib/shared/constant/HEADERS.d.ts +4 -0
- package/lib/shared/constant/LIST-CONFIG.d.ts +7 -0
- package/lib/shared/constant/LOOKUPS.d.ts +3 -0
- package/lib/shared/constant/MESSAGES.d.ts +7 -0
- package/lib/shared/constant/PERMISSION.d.ts +16 -0
- package/lib/shared/constant/ROUTES.d.ts +16 -0
- package/lib/shared/constant/SHARED.d.ts +261 -0
- package/lib/shared/constant/URLS.d.ts +6 -0
- package/lib/shared/controls/button/button.component.d.ts +6 -0
- package/lib/shared/controls/check-box/check-box.component.d.ts +9 -0
- package/lib/shared/controls/date/date.component.d.ts +14 -0
- package/lib/shared/controls/dropdown/dropdown.component.d.ts +24 -0
- package/lib/shared/controls/file-upload/file-upload.component.d.ts +7 -0
- package/lib/shared/controls/password/password.component.d.ts +11 -0
- package/lib/shared/controls/text-area/text-area.component.d.ts +8 -0
- package/lib/shared/controls/text-box/text-box.component.d.ts +7 -0
- package/lib/shared/controls/username/username.component.d.ts +6 -0
- package/lib/shared/directives/permission.directive.d.ts +14 -0
- package/{src/lib/shared/index.ts → lib/shared/index.d.ts} +34 -39
- package/lib/shared/models/attribute.model.d.ts +43 -0
- package/lib/shared/models/base.model.d.ts +4 -0
- package/{src/lib/shared/models/custom-widget.model.ts → lib/shared/models/custom-widget.model.d.ts} +13 -14
- package/lib/shared/models/list.model.d.ts +11 -0
- package/lib/shared/models/meta-data.model.d.ts +6 -0
- package/lib/shared/pipe/capitalize-words.pipe.d.ts +7 -0
- package/lib/shared/services/app-config.service.d.ts +19 -0
- package/lib/shared/services/auth/auth.guard.d.ts +12 -0
- package/lib/shared/services/custom-widget.service.d.ts +10 -0
- package/lib/shared/services/data-transformer.service.d.ts +8 -0
- package/lib/shared/services/date-parser.service.d.ts +7 -0
- package/lib/shared/services/form-state.service.d.ts +17 -0
- package/lib/shared/services/list.service.d.ts +13 -0
- package/lib/shared/services/session.service.d.ts +14 -0
- package/lib/shared/services/style-builder.service.d.ts +14 -0
- package/lib/shared/services/table.builder.d.ts +14 -0
- package/lib/shared/services/validator.service.d.ts +7 -0
- package/lib/shared/shared.module.d.ts +36 -0
- package/lib/shared/state/base.query.d.ts +29 -0
- package/lib/shared/state/base.service.d.ts +29 -0
- package/{src/lib/shared/state/base.state.ts → lib/shared/state/base.state.d.ts} +10 -10
- package/lib/shared/state/base.store.d.ts +36 -0
- package/lib/shared/table-primary/components/table-primary.component.d.ts +60 -0
- package/lib/shared/table-primary/models/table-primary-header.model.d.ts +6 -0
- package/lib/shared/table-primary/models/table-primary.model.d.ts +10 -0
- package/lib/shared/table-secondary/components/table-secondary.component.d.ts +132 -0
- package/lib/shared/table-secondary/models/table-secondary-header.model.d.ts +6 -0
- package/lib/shared/table-secondary/models/table-secondary.model.d.ts +17 -0
- package/lib/widget/components/custom-widget/custom-widget.component.d.ts +13 -0
- package/lib/widget/components/widget-body/widget-body.component.d.ts +17 -0
- package/lib/widget/components/widget-container/widget-container.component.d.ts +26 -0
- package/lib/widget/components/widget-footer/widget-footer.component.d.ts +16 -0
- package/lib/widget/components/widget-header/widget-header.component.d.ts +22 -0
- package/lib/widget/components/widget-item/widget-item.component.d.ts +56 -0
- package/lib/widget/components/widget-main/widget-main.component.d.ts +22 -0
- package/lib/widget/components/widget-menu/widget-menu.component.d.ts +36 -0
- package/lib/widget/components/widget-menu-body/widget-menu-body.component.d.ts +7 -0
- package/lib/widget/components/widget-menu-container/widget-menu-container.component.d.ts +48 -0
- package/lib/widget/components/widget-menu-header/widget-menu-header.component.d.ts +9 -0
- package/lib/widget/components/widget-menu-item/widget-menu-item.component.d.ts +23 -0
- package/lib/widget/components/widget-row-tile/widget-row-tile.component.d.ts +24 -0
- package/{src/lib/widget/models/custom-widget.model.ts → lib/widget/models/custom-widget.model.d.ts} +13 -14
- package/lib/widget/models/progress-chart.model.d.ts +9 -0
- package/lib/widget/models/widget.model.d.ts +47 -0
- package/lib/widget/state/widget.query.d.ts +22 -0
- package/lib/widget/state/widget.service.d.ts +20 -0
- package/lib/widget/state/widget.store.d.ts +25 -0
- package/lib/widget/widget.module.d.ts +27 -0
- package/package.json +25 -16
- package/{src/public-api.ts → public-api.d.ts} +26 -36
- package/ng-package.json +0 -10
- package/src/lib/admin/action-admin/action-admin.module.ts +0 -25
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.html +0 -113
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.scss +0 -4
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.spec.ts +0 -119
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.ts +0 -79
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.html +0 -5
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.scss +0 -0
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.spec.ts +0 -36
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.ts +0 -33
- package/src/lib/admin/action-admin/models/admin-action.model.ts +0 -14
- package/src/lib/admin/action-admin/state/admin-action.query.ts +0 -11
- package/src/lib/admin/action-admin/state/admin-action.service.spec.ts +0 -66
- package/src/lib/admin/action-admin/state/admin-action.service.ts +0 -29
- package/src/lib/admin/action-admin/state/admin-action.state.ts +0 -14
- package/src/lib/admin/action-admin/state/admin-action.store.ts +0 -14
- package/src/lib/admin/admin.module.ts +0 -22
- package/src/lib/admin/api-admin/api-admin.module.ts +0 -37
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.html +0 -157
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.scss +0 -12
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.spec.ts +0 -134
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.ts +0 -110
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.html +0 -5
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.scss +0 -0
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.spec.ts +0 -38
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.ts +0 -28
- package/src/lib/admin/api-admin/models/api-config.model.ts +0 -14
- package/src/lib/admin/api-admin/state/api-admin.query.ts +0 -16
- package/src/lib/admin/api-admin/state/api-admin.service.ts +0 -34
- package/src/lib/admin/api-admin/state/api-admin.state.ts +0 -14
- package/src/lib/admin/api-admin/state/api-admin.store.ts +0 -13
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.html +0 -115
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.scss +0 -4
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.spec.ts +0 -100
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.ts +0 -105
- package/src/lib/admin/dd-admin/components/dd-admin-item-form/dd-admin-item-form.component.html +0 -64
- package/src/lib/admin/dd-admin/components/dd-admin-item-form/dd-admin-item-form.component.scss +0 -0
- package/src/lib/admin/dd-admin/components/dd-admin-item-form/dd-admin-item-form.component.spec.ts +0 -108
- package/src/lib/admin/dd-admin/components/dd-admin-item-form/dd-admin-item-form.component.ts +0 -96
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.html +0 -5
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.scss +0 -0
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.spec.ts +0 -34
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.ts +0 -27
- package/src/lib/admin/dd-admin/dd-admin.module.ts +0 -34
- package/src/lib/admin/dd-admin/models/api-property.model.ts +0 -7
- package/src/lib/admin/dd-admin/models/dd-attribute-sidebar-view.model.ts +0 -6
- package/src/lib/admin/dd-admin/models/dictionary.model.ts +0 -16
- package/src/lib/admin/dd-admin/state/dictionary.query.ts +0 -30
- package/src/lib/admin/dd-admin/state/dictionary.service.ts +0 -37
- package/src/lib/admin/dd-admin/state/dictionary.state.ts +0 -30
- package/src/lib/admin/dd-admin/state/dictionary.store.ts +0 -22
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.html +0 -115
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.scss +0 -71
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.spec.ts +0 -22
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.ts +0 -185
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.html +0 -24
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.scss +0 -33
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.spec.ts +0 -23
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.ts +0 -46
- package/src/lib/admin/queue-admin/components/queue-application-list/queue-application-list.component.html +0 -69
- package/src/lib/admin/queue-admin/components/queue-application-list/queue-application-list.component.scss +0 -84
- package/src/lib/admin/queue-admin/components/queue-application-list/queue-application-list.component.spec.ts +0 -21
- package/src/lib/admin/queue-admin/components/queue-application-list/queue-application-list.component.ts +0 -93
- package/src/lib/admin/queue-admin/models/queue.model.ts +0 -15
- package/src/lib/admin/queue-admin/queue-admin-routing.module.ts +0 -17
- package/src/lib/admin/queue-admin/queue-admin.module.ts +0 -26
- package/src/lib/admin/queue-admin/state/queue.query.ts +0 -11
- package/src/lib/admin/queue-admin/state/queue.service.ts +0 -34
- package/src/lib/admin/queue-admin/state/queue.store.ts +0 -13
- package/src/lib/admin/template-admin/components/template-admin-form/template-admin-form.component.html +0 -99
- package/src/lib/admin/template-admin/components/template-admin-form/template-admin-form.component.scss +0 -3
- package/src/lib/admin/template-admin/components/template-admin-form/template-admin-form.component.spec.ts +0 -23
- package/src/lib/admin/template-admin/components/template-admin-form/template-admin-form.component.ts +0 -82
- package/src/lib/admin/template-admin/components/template-admin-list/template-admin-list.component.html +0 -41
- package/src/lib/admin/template-admin/components/template-admin-list/template-admin-list.component.scss +0 -30
- package/src/lib/admin/template-admin/components/template-admin-list/template-admin-list.component.spec.ts +0 -23
- package/src/lib/admin/template-admin/components/template-admin-list/template-admin-list.component.ts +0 -34
- package/src/lib/admin/template-admin/models/template.model.ts +0 -12
- package/src/lib/admin/template-admin/state/template-admin.query.ts +0 -17
- package/src/lib/admin/template-admin/state/template-admin.service.ts +0 -45
- package/src/lib/admin/template-admin/state/template-admin.state.ts +0 -14
- package/src/lib/admin/template-admin/state/template-admin.store.ts +0 -15
- package/src/lib/admin/template-admin/template-admin.module.ts +0 -40
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.html +0 -170
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.scss +0 -4
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.spec.ts +0 -23
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.ts +0 -139
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.html +0 -5
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.scss +0 -0
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.spec.ts +0 -23
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.ts +0 -28
- package/src/lib/admin/widget-admin/models/widget.model.ts +0 -35
- package/src/lib/admin/widget-admin/state/widget-admin.query.ts +0 -17
- package/src/lib/admin/widget-admin/state/widget-admin.service.ts +0 -72
- package/src/lib/admin/widget-admin/state/widget-admin.state.ts +0 -14
- package/src/lib/admin/widget-admin/state/widget-admin.store.ts +0 -15
- package/src/lib/admin/widget-admin/widget-admin.module.ts +0 -30
- package/src/lib/queue/ASSIGNMENT_FUNCTIONALITY.md +0 -114
- package/src/lib/queue/CHECKBOX_SELECTION_EXAMPLE.md +0 -240
- package/src/lib/queue/CONTENT_PROJECTION_GUIDE.md +0 -163
- package/src/lib/queue/components/queue-container/queue-container.component.html +0 -37
- package/src/lib/queue/components/queue-container/queue-container.component.scss +0 -7
- package/src/lib/queue/components/queue-container/queue-container.component.ts +0 -155
- package/src/lib/queue/components/queue-item/queue-item.component.html +0 -37
- package/src/lib/queue/components/queue-item/queue-item.component.scss +0 -105
- package/src/lib/queue/components/queue-item/queue-item.component.spec.ts +0 -104
- package/src/lib/queue/components/queue-item/queue-item.component.ts +0 -67
- package/src/lib/queue/components/queue-list/queue-list.component.html +0 -4
- package/src/lib/queue/components/queue-list/queue-list.component.scss +0 -0
- package/src/lib/queue/components/queue-list/queue-list.component.spec.ts +0 -46
- package/src/lib/queue/components/queue-list/queue-list.component.ts +0 -18
- package/src/lib/queue/components/queue-record-table/queue-record-table.component.html +0 -14
- package/src/lib/queue/components/queue-record-table/queue-record-table.component.scss +0 -1
- package/src/lib/queue/components/queue-record-table/queue-record-table.component.ts +0 -241
- package/src/lib/queue/components/queue-search/queue-search.component.html +0 -11
- package/src/lib/queue/components/queue-search/queue-search.component.scss +0 -36
- package/src/lib/queue/components/queue-search/queue-search.component.spec.ts +0 -121
- package/src/lib/queue/components/queue-search/queue-search.component.ts +0 -77
- package/src/lib/queue/models/queue.model.ts +0 -11
- package/src/lib/queue/queue-routing.module.ts +0 -21
- package/src/lib/queue/queue.module.ts +0 -48
- package/src/lib/queue/services/application-assignment.service.ts +0 -27
- package/src/lib/queue/services/queue-record-table-builder.service.ts +0 -66
- package/src/lib/queue/state/queue.service.ts +0 -85
- package/src/lib/queue/state/queue.state.ts +0 -13
- package/src/lib/queue/state/queue.store.ts +0 -14
- package/src/lib/shared/_base/base-container/base-container.component.html +0 -1
- package/src/lib/shared/_base/base-container/base-container.component.scss +0 -0
- package/src/lib/shared/_base/base-container/base-container.component.spec.ts +0 -21
- package/src/lib/shared/_base/base-container/base-container.component.ts +0 -19
- package/src/lib/shared/_base/base-control/base-control.component.html +0 -1
- package/src/lib/shared/_base/base-control/base-control.component.scss +0 -0
- package/src/lib/shared/_base/base-control/base-control.component.spec.ts +0 -21
- package/src/lib/shared/_base/base-control/base-control.component.ts +0 -91
- package/src/lib/shared/_base/base-form/base-form.component.html +0 -1
- package/src/lib/shared/_base/base-form/base-form.component.scss +0 -0
- package/src/lib/shared/_base/base-form/base-form.component.spec.ts +0 -133
- package/src/lib/shared/_base/base-form/base-form.component.ts +0 -203
- package/src/lib/shared/_base/base-list/base-list.component.html +0 -1
- package/src/lib/shared/_base/base-list/base-list.component.scss +0 -0
- package/src/lib/shared/_base/base-list/base-list.component.spec.ts +0 -21
- package/src/lib/shared/_base/base-list/base-list.component.ts +0 -47
- package/src/lib/shared/components/form-container/form-container.component.html +0 -54
- package/src/lib/shared/components/form-container/form-container.component.scss +0 -94
- package/src/lib/shared/components/form-container/form-container.component.spec.ts +0 -21
- package/src/lib/shared/components/form-container/form-container.component.ts +0 -75
- package/src/lib/shared/components/list/block-list.component.html +0 -44
- package/src/lib/shared/components/list/block-list.component.scss +0 -46
- package/src/lib/shared/components/list/block-list.component.spec.ts +0 -21
- package/src/lib/shared/components/list/block-list.component.ts +0 -57
- package/src/lib/shared/components/queue-search-customer/queue-search-customer.component.html +0 -24
- package/src/lib/shared/components/queue-search-customer/queue-search-customer.component.scss +0 -36
- package/src/lib/shared/components/queue-search-customer/queue-search-customer.component.spec.ts +0 -21
- package/src/lib/shared/components/queue-search-customer/queue-search-customer.component.ts +0 -25
- package/src/lib/shared/components/sidebar/sidebar.component.html +0 -13
- package/src/lib/shared/components/sidebar/sidebar.component.scss +0 -42
- package/src/lib/shared/components/sidebar/sidebar.component.spec.ts +0 -24
- package/src/lib/shared/components/sidebar/sidebar.component.ts +0 -26
- package/src/lib/shared/constant/CSS.ts +0 -9
- package/src/lib/shared/constant/DATASOURCES.ts +0 -19
- package/src/lib/shared/constant/ERROR.ts +0 -17
- package/src/lib/shared/constant/HEADERS.ts +0 -4
- package/src/lib/shared/constant/LIST-CONFIG.ts +0 -28
- package/src/lib/shared/constant/LOOKUPS.ts +0 -3
- package/src/lib/shared/constant/MESSAGES.ts +0 -7
- package/src/lib/shared/constant/PERMISSION.ts +0 -16
- package/src/lib/shared/constant/ROUTES.ts +0 -16
- package/src/lib/shared/constant/SHARED.ts +0 -420
- package/src/lib/shared/constant/URLS.ts +0 -7
- package/src/lib/shared/controls/button/button.component.html +0 -25
- package/src/lib/shared/controls/button/button.component.scss +0 -0
- package/src/lib/shared/controls/button/button.component.spec.ts +0 -21
- package/src/lib/shared/controls/button/button.component.ts +0 -15
- package/src/lib/shared/controls/check-box/check-box.component.html +0 -22
- package/src/lib/shared/controls/check-box/check-box.component.scss +0 -32
- package/src/lib/shared/controls/check-box/check-box.component.spec.ts +0 -26
- package/src/lib/shared/controls/check-box/check-box.component.ts +0 -19
- package/src/lib/shared/controls/date/date.component.html +0 -43
- package/src/lib/shared/controls/date/date.component.scss +0 -0
- package/src/lib/shared/controls/date/date.component.spec.ts +0 -21
- package/src/lib/shared/controls/date/date.component.ts +0 -44
- package/src/lib/shared/controls/dropdown/dropdown.component.html +0 -32
- package/src/lib/shared/controls/dropdown/dropdown.component.scss +0 -12
- package/src/lib/shared/controls/dropdown/dropdown.component.ts +0 -79
- package/src/lib/shared/controls/file-upload/file-upload.component.html +0 -18
- package/src/lib/shared/controls/file-upload/file-upload.component.scss +0 -0
- package/src/lib/shared/controls/file-upload/file-upload.component.spec.ts +0 -21
- package/src/lib/shared/controls/file-upload/file-upload.component.ts +0 -19
- package/src/lib/shared/controls/number-feild/number-feild.component.html +0 -39
- package/src/lib/shared/controls/number-feild/number-feild.component.scss +0 -13
- package/src/lib/shared/controls/number-feild/number-feild.component.spec.ts +0 -21
- package/src/lib/shared/controls/number-feild/number-feild.component.ts +0 -35
- package/src/lib/shared/controls/password/password.component.html +0 -25
- package/src/lib/shared/controls/password/password.component.scss +0 -0
- package/src/lib/shared/controls/password/password.component.spec.ts +0 -28
- package/src/lib/shared/controls/password/password.component.ts +0 -26
- package/src/lib/shared/controls/text-area/text-area.component.html +0 -38
- package/src/lib/shared/controls/text-area/text-area.component.scss +0 -22
- package/src/lib/shared/controls/text-area/text-area.component.spec.ts +0 -23
- package/src/lib/shared/controls/text-area/text-area.component.ts +0 -25
- package/src/lib/shared/controls/text-box/text-box.component.html +0 -39
- package/src/lib/shared/controls/text-box/text-box.component.scss +0 -25
- package/src/lib/shared/controls/text-box/text-box.component.spec.ts +0 -30
- package/src/lib/shared/controls/text-box/text-box.component.ts +0 -26
- package/src/lib/shared/controls/username/username.component.html +0 -20
- package/src/lib/shared/controls/username/username.component.scss +0 -0
- package/src/lib/shared/controls/username/username.component.spec.ts +0 -29
- package/src/lib/shared/controls/username/username.component.ts +0 -17
- package/src/lib/shared/directives/permission.directive.spec.ts +0 -60
- package/src/lib/shared/directives/permission.directive.ts +0 -39
- package/src/lib/shared/models/attribute.model.ts +0 -44
- package/src/lib/shared/models/base.model.ts +0 -4
- package/src/lib/shared/models/list.model.ts +0 -27
- package/src/lib/shared/models/message.model.ts +0 -4
- package/src/lib/shared/models/meta-data.model.ts +0 -6
- package/src/lib/shared/pipe/capitalize-words.pipe.spec.ts +0 -8
- package/src/lib/shared/pipe/capitalize-words.pipe.ts +0 -17
- package/src/lib/shared/services/app-config.service.spec.ts +0 -16
- package/src/lib/shared/services/app-config.service.ts +0 -56
- package/src/lib/shared/services/auth/auth.guard.spec.ts +0 -47
- package/src/lib/shared/services/auth/auth.guard.ts +0 -25
- package/src/lib/shared/services/custom-widget.service.ts +0 -29
- package/src/lib/shared/services/data-transformer.service.spec.ts +0 -16
- package/src/lib/shared/services/data-transformer.service.ts +0 -41
- package/src/lib/shared/services/date-parser.service.spec.ts +0 -16
- package/src/lib/shared/services/date-parser.service.ts +0 -54
- package/src/lib/shared/services/form-state.service.spec.ts +0 -16
- package/src/lib/shared/services/form-state.service.ts +0 -50
- package/src/lib/shared/services/list.service.spec.ts +0 -16
- package/src/lib/shared/services/list.service.ts +0 -54
- package/src/lib/shared/services/session.service.spec.ts +0 -16
- package/src/lib/shared/services/session.service.ts +0 -44
- package/src/lib/shared/services/style-builder.service.spec.ts +0 -16
- package/src/lib/shared/services/style-builder.service.ts +0 -61
- package/src/lib/shared/services/table.builder.ts +0 -43
- package/src/lib/shared/services/validator.service.spec.ts +0 -16
- package/src/lib/shared/services/validator.service.ts +0 -13
- package/src/lib/shared/shared.module.ts +0 -68
- package/src/lib/shared/state/base.query.ts +0 -73
- package/src/lib/shared/state/base.service.ts +0 -104
- package/src/lib/shared/state/base.store.ts +0 -89
- package/src/lib/shared/table-primary/components/table-primary.component.html +0 -99
- package/src/lib/shared/table-primary/components/table-primary.component.scss +0 -226
- package/src/lib/shared/table-primary/components/table-primary.component.spec.ts +0 -21
- package/src/lib/shared/table-primary/components/table-primary.component.ts +0 -191
- package/src/lib/shared/table-primary/models/table-primary-header.model.ts +0 -7
- package/src/lib/shared/table-primary/models/table-primary.model.ts +0 -13
- package/src/lib/shared/table-secondary/components/table-secondary.component.html +0 -162
- package/src/lib/shared/table-secondary/components/table-secondary.component.scss +0 -406
- package/src/lib/shared/table-secondary/components/table-secondary.component.spec.ts +0 -95
- package/src/lib/shared/table-secondary/components/table-secondary.component.ts +0 -235
- package/src/lib/shared/table-secondary/index.ts +0 -3
- package/src/lib/shared/table-secondary/models/table-secondary-form.model.ts +0 -12
- package/src/lib/shared/table-secondary/models/table-secondary-header.model.ts +0 -7
- package/src/lib/shared/table-secondary/models/table-secondary.model.ts +0 -20
- package/src/lib/widget/components/custom-widget/custom-widget.component.html +0 -71
- package/src/lib/widget/components/custom-widget/custom-widget.component.scss +0 -43
- package/src/lib/widget/components/custom-widget/custom-widget.component.spec.ts +0 -23
- package/src/lib/widget/components/custom-widget/custom-widget.component.ts +0 -27
- package/src/lib/widget/components/widget-body/widget-body.component.html +0 -14
- package/src/lib/widget/components/widget-body/widget-body.component.scss +0 -16
- package/src/lib/widget/components/widget-body/widget-body.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-body/widget-body.component.ts +0 -39
- package/src/lib/widget/components/widget-container/widget-container.component.html +0 -21
- package/src/lib/widget/components/widget-container/widget-container.component.scss +0 -86
- package/src/lib/widget/components/widget-container/widget-container.component.spec.ts +0 -56
- package/src/lib/widget/components/widget-container/widget-container.component.ts +0 -47
- package/src/lib/widget/components/widget-footer/widget-footer.component.html +0 -10
- package/src/lib/widget/components/widget-footer/widget-footer.component.scss +0 -0
- package/src/lib/widget/components/widget-footer/widget-footer.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-footer/widget-footer.component.ts +0 -25
- package/src/lib/widget/components/widget-header/widget-header.component.html +0 -13
- package/src/lib/widget/components/widget-header/widget-header.component.scss +0 -25
- package/src/lib/widget/components/widget-header/widget-header.component.spec.ts +0 -108
- package/src/lib/widget/components/widget-header/widget-header.component.ts +0 -31
- package/src/lib/widget/components/widget-item/widget-item.component.html +0 -60
- package/src/lib/widget/components/widget-item/widget-item.component.scss +0 -83
- package/src/lib/widget/components/widget-item/widget-item.component.spec.ts +0 -159
- package/src/lib/widget/components/widget-item/widget-item.component.ts +0 -119
- package/src/lib/widget/components/widget-main/widget-main.component.html +0 -9
- package/src/lib/widget/components/widget-main/widget-main.component.scss +0 -0
- package/src/lib/widget/components/widget-main/widget-main.component.spec.ts +0 -60
- package/src/lib/widget/components/widget-main/widget-main.component.ts +0 -30
- package/src/lib/widget/components/widget-menu/widget-menu.component.html +0 -28
- package/src/lib/widget/components/widget-menu/widget-menu.component.scss +0 -0
- package/src/lib/widget/components/widget-menu/widget-menu.component.spec.ts +0 -251
- package/src/lib/widget/components/widget-menu/widget-menu.component.ts +0 -139
- package/src/lib/widget/components/widget-menu-body/widget-menu-body.component.html +0 -15
- package/src/lib/widget/components/widget-menu-body/widget-menu-body.component.scss +0 -11
- package/src/lib/widget/components/widget-menu-body/widget-menu-body.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-menu-body/widget-menu-body.component.ts +0 -12
- package/src/lib/widget/components/widget-menu-container/widget-menu-container.component.html +0 -28
- package/src/lib/widget/components/widget-menu-container/widget-menu-container.component.scss +0 -66
- package/src/lib/widget/components/widget-menu-container/widget-menu-container.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-menu-container/widget-menu-container.component.ts +0 -172
- package/src/lib/widget/components/widget-menu-header/widget-menu-header.component.html +0 -24
- package/src/lib/widget/components/widget-menu-header/widget-menu-header.component.scss +0 -19
- package/src/lib/widget/components/widget-menu-header/widget-menu-header.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-menu-header/widget-menu-header.component.ts +0 -14
- package/src/lib/widget/components/widget-menu-item/widget-menu-item.component.html +0 -30
- package/src/lib/widget/components/widget-menu-item/widget-menu-item.component.scss +0 -32
- package/src/lib/widget/components/widget-menu-item/widget-menu-item.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-menu-item/widget-menu-item.component.ts +0 -69
- package/src/lib/widget/components/widget-row-tile/widget-row-tile.component.html +0 -22
- package/src/lib/widget/components/widget-row-tile/widget-row-tile.component.scss +0 -0
- package/src/lib/widget/components/widget-row-tile/widget-row-tile.component.spec.ts +0 -69
- package/src/lib/widget/components/widget-row-tile/widget-row-tile.component.ts +0 -54
- package/src/lib/widget/models/progress-chart.model.ts +0 -11
- package/src/lib/widget/models/widget.model.ts +0 -51
- package/src/lib/widget/state/widget.query.ts +0 -45
- package/src/lib/widget/state/widget.service.ts +0 -46
- package/src/lib/widget/state/widget.state.ts +0 -18
- package/src/lib/widget/state/widget.store.ts +0 -59
- package/src/lib/widget/widget.module.ts +0 -39
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { QueueModel } from "../models/queue.model";
|
|
2
|
+
import { BaseStore } from "../../../shared";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QueueStore extends BaseStore<QueueModel> {
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueStore, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueueStore>;
|
|
8
|
+
}
|
package/lib/admin/template-admin/components/template-admin-form/template-admin-form.component.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { TemplateModel } from '../../models/template.model';
|
|
3
|
+
import { TemplateAdminService } from '../../state/template-admin.service';
|
|
4
|
+
import { ValidatorService } from '../../../../shared/services/validator.service';
|
|
5
|
+
import { BaseFormComponent, BaseQuery, BaseStore } from '../../../../shared';
|
|
6
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
|
+
import { TemplateAdminStore } from '../../state/template-admin.store';
|
|
8
|
+
import { SelectItem } from 'primeng/api';
|
|
9
|
+
import { TemplateAdminQuery } from '../../state/template-admin.query';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class TemplateAdminFormComponent extends BaseFormComponent<TemplateModel> implements OnInit, OnDestroy {
|
|
12
|
+
service: TemplateAdminService;
|
|
13
|
+
validatorService: ValidatorService;
|
|
14
|
+
router: Router;
|
|
15
|
+
activatedRoute: ActivatedRoute;
|
|
16
|
+
private query;
|
|
17
|
+
templateStore: TemplateAdminStore;
|
|
18
|
+
baseStore: BaseStore<TemplateModel>;
|
|
19
|
+
baseQuery: BaseQuery<TemplateModel>;
|
|
20
|
+
templateTypeList: SelectItem<any>[];
|
|
21
|
+
dictionaries: any[];
|
|
22
|
+
dictionaryItems: any[];
|
|
23
|
+
messageContent: string;
|
|
24
|
+
isFormSubmitted: boolean;
|
|
25
|
+
constructor(service: TemplateAdminService, validatorService: ValidatorService, router: Router, activatedRoute: ActivatedRoute, query: TemplateAdminQuery, templateStore: TemplateAdminStore, baseStore: BaseStore<TemplateModel>, baseQuery: BaseQuery<TemplateModel>);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
handleQueueChange(event: any): void;
|
|
28
|
+
handleDictionarySelect(dictionaryId: string): void;
|
|
29
|
+
decodeHtml(html: string): string;
|
|
30
|
+
handleSubmit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateAdminFormComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateAdminFormComponent, "lib-template-admin-form", never, {}, {}, never, never, false, never>;
|
|
34
|
+
}
|
package/lib/admin/template-admin/components/template-admin-list/template-admin-list.component.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TemplateModel } from '../../models/template.model';
|
|
2
|
+
import { BaseListComponent, BaseStore, TableBuilder } from '../../../../shared';
|
|
3
|
+
import { TemplateAdminService } from '../../state/template-admin.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TemplateAdminListComponent extends BaseListComponent<TemplateModel> {
|
|
6
|
+
private tableBuilder;
|
|
7
|
+
private baseStore;
|
|
8
|
+
pathName: string;
|
|
9
|
+
activeTabIndex: number;
|
|
10
|
+
selectedType: string;
|
|
11
|
+
editPermission: string;
|
|
12
|
+
deletePermission: string;
|
|
13
|
+
constructor(templateAdminService: TemplateAdminService, tableBuilder: TableBuilder, baseStore: BaseStore<TemplateModel>);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
onTabChange(event: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateAdminListComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateAdminListComponent, "lib-template-admin-list", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseModel } from "../../../shared";
|
|
2
|
+
export declare class TemplateModel extends BaseModel {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
queueId: string;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
subject?: string;
|
|
8
|
+
body: string;
|
|
9
|
+
dictionaryID?: string;
|
|
10
|
+
dictionaryItemID?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseQuery } from '../../../shared';
|
|
2
|
+
import { TemplateModel } from '../models/template.model';
|
|
3
|
+
import { TemplateAdminStore } from './template-admin.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Template Admin Query
|
|
7
|
+
*/
|
|
8
|
+
export declare class TemplateAdminQuery extends BaseQuery<TemplateModel> {
|
|
9
|
+
protected store: TemplateAdminStore;
|
|
10
|
+
constructor(store: TemplateAdminStore);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateAdminQuery, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TemplateAdminQuery>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AppConfigService, BaseService } from '../../../shared';
|
|
3
|
+
import { ListService } from '../../../shared/services/list.service';
|
|
4
|
+
import { TemplateModel } from '../models/template.model';
|
|
5
|
+
import { TemplateAdminStore } from './template-admin.store';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Service for managing template configurations.
|
|
9
|
+
*/
|
|
10
|
+
export declare class TemplateAdminService extends BaseService<TemplateModel> {
|
|
11
|
+
protected templateAdminStore: TemplateAdminStore;
|
|
12
|
+
private configService;
|
|
13
|
+
constructor(http: HttpClient, templateAdminStore: TemplateAdminStore, configService: AppConfigService, listService: ListService);
|
|
14
|
+
protected list: any;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateAdminService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TemplateAdminService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseStore } from '../../../shared';
|
|
2
|
+
import { TemplateModel } from '../models/template.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Template Admin Store
|
|
6
|
+
*/
|
|
7
|
+
export declare class TemplateAdminStore extends BaseStore<TemplateModel> {
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateAdminStore, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TemplateAdminStore>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/template-admin-form/template-admin-form.component";
|
|
3
|
+
import * as i2 from "./components/template-admin-list/template-admin-list.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../shared/table-primary/components/table-primary.component";
|
|
6
|
+
import * as i5 from "../../shared/controls/text-box/text-box.component";
|
|
7
|
+
import * as i6 from "../../shared/controls/dropdown/dropdown.component";
|
|
8
|
+
import * as i7 from "../../shared/shared.module";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "primeng/tabview";
|
|
11
|
+
import * as i10 from "../../shared/controls/check-box/check-box.component";
|
|
12
|
+
import * as i11 from "ngx-quill";
|
|
13
|
+
export declare class TemplateAdminModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateAdminModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TemplateAdminModule, [typeof i1.TemplateAdminFormComponent, typeof i2.TemplateAdminListComponent], [typeof i3.CommonModule, typeof i4.TablePrimaryComponent, typeof i5.TextBoxComponent, typeof i6.DropdownComponent, typeof i7.SharedModule, typeof i8.FormsModule, typeof i9.TabViewModule, typeof i10.CheckBoxComponent, typeof i11.QuillModule, typeof i11.QuillConfigModule], [typeof i1.TemplateAdminFormComponent, typeof i2.TemplateAdminListComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TemplateAdminModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { WidgetItemModel, WidgetLayoutTypeModel, WidgetModel } from '../../models/widget.model';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { BaseFormComponent, BaseQuery, BaseStore } from '../../../../shared';
|
|
5
|
+
import { WidgetAdminService } from '../../state/widget-admin.service';
|
|
6
|
+
import { WidgetAdminQuery } from '../../state/widget-admin.query';
|
|
7
|
+
import { WidgetAdminStore } from '../../state/widget-admin.store';
|
|
8
|
+
import { ValidatorService } from '../../../../shared/services/validator.service';
|
|
9
|
+
import { SelectItem } from 'primeng/api';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* WidgetAdminFormComponent
|
|
13
|
+
*/
|
|
14
|
+
export declare class WidgetAdminFormComponent extends BaseFormComponent<WidgetModel> implements OnInit, OnDestroy {
|
|
15
|
+
service: WidgetAdminService;
|
|
16
|
+
validatorService: ValidatorService;
|
|
17
|
+
widgetStore: WidgetAdminStore;
|
|
18
|
+
private query;
|
|
19
|
+
router: Router;
|
|
20
|
+
activatedRoute: ActivatedRoute;
|
|
21
|
+
baseStore: BaseStore<WidgetModel>;
|
|
22
|
+
baseQuery: BaseQuery<WidgetModel>;
|
|
23
|
+
widgetItem: WidgetItemModel;
|
|
24
|
+
widgetItems: WidgetItemModel[];
|
|
25
|
+
dictionaries: any[];
|
|
26
|
+
headerDictionaryItems: any[];
|
|
27
|
+
subHeaderDictionaryItems: any[];
|
|
28
|
+
dictionaryItemArray: any[][];
|
|
29
|
+
widgetOptionsArray: SelectItem[];
|
|
30
|
+
widgetLayoutTypeList: WidgetLayoutTypeModel[];
|
|
31
|
+
constructor(service: WidgetAdminService, validatorService: ValidatorService, widgetStore: WidgetAdminStore, query: WidgetAdminQuery, router: Router, activatedRoute: ActivatedRoute, baseStore: BaseStore<WidgetModel>, baseQuery: BaseQuery<WidgetModel>);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
handleWidgetItemAddBtnClick(): void;
|
|
34
|
+
handleAPIChange(event: any): void;
|
|
35
|
+
handleHeaderDictionarySelect(dictionaryId: string): void;
|
|
36
|
+
handleSubHeaderDictionarySelect(dictionaryId: any): void;
|
|
37
|
+
handleWidgetItemDictionarySelect(dictionaryId: any, index: number): void;
|
|
38
|
+
handleDeleteRecord(index: number): void;
|
|
39
|
+
handleSubmit(): void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminFormComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetAdminFormComponent, "lib-widget-admin-form", never, {}, {}, never, never, false, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseListComponent, TableBuilder } from '../../../../shared';
|
|
2
|
+
import { WidgetModel } from '../../models/widget.model';
|
|
3
|
+
import { WidgetAdminService } from '../../state/widget-admin.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Widget Admin List Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class WidgetAdminListComponent extends BaseListComponent<WidgetModel> {
|
|
9
|
+
private tableBuilder;
|
|
10
|
+
pathName: string;
|
|
11
|
+
editPermission: string;
|
|
12
|
+
deletePermission: string;
|
|
13
|
+
constructor(widgetAdminService: WidgetAdminService, tableBuilder: TableBuilder);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminListComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetAdminListComponent, "lib-widget-admin-list", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BaseModel } from "../../../shared";
|
|
2
|
+
/**
|
|
3
|
+
* WidgetModel class represents the model of a widget.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WidgetModel extends BaseModel {
|
|
6
|
+
name: string;
|
|
7
|
+
apiConfigId: string;
|
|
8
|
+
dataItems: WidgetItemModel[];
|
|
9
|
+
order?: number;
|
|
10
|
+
headerDictionaryID: string;
|
|
11
|
+
subHeaderDictionaryID: string;
|
|
12
|
+
headerDictionaryItemID: string;
|
|
13
|
+
subHeaderDictionaryItemID: string;
|
|
14
|
+
style?: any;
|
|
15
|
+
layoutType?: string;
|
|
16
|
+
isActive: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* WidgetItemModel class represents the model of a widget item.
|
|
20
|
+
*/
|
|
21
|
+
export declare class WidgetItemModel extends BaseModel {
|
|
22
|
+
name: string;
|
|
23
|
+
dictionaryItemID: string;
|
|
24
|
+
dictionaryID: string;
|
|
25
|
+
style?: any;
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface WidgetLayoutTypeModel {
|
|
29
|
+
name: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseQuery } from '../../../shared';
|
|
2
|
+
import { WidgetModel } from '../models/widget.model';
|
|
3
|
+
import { WidgetAdminStore } from './widget-admin.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Widget Admin Query
|
|
7
|
+
*/
|
|
8
|
+
export declare class WidgetAdminQuery extends BaseQuery<WidgetModel> {
|
|
9
|
+
protected store: WidgetAdminStore;
|
|
10
|
+
constructor(store: WidgetAdminStore);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminQuery, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetAdminQuery>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AppConfigService, BaseService } from '../../../shared';
|
|
3
|
+
import { ListService } from '../../../shared/services/list.service';
|
|
4
|
+
import { WidgetAdminStore } from './widget-admin.store';
|
|
5
|
+
import { WidgetModel } from '../models/widget.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Service for managing widget configurations.
|
|
9
|
+
*/
|
|
10
|
+
export declare class WidgetAdminService extends BaseService<WidgetModel> {
|
|
11
|
+
protected apiManagementStore: WidgetAdminStore;
|
|
12
|
+
private configService;
|
|
13
|
+
constructor(http: HttpClient, apiManagementStore: WidgetAdminStore, configService: AppConfigService, listService: ListService);
|
|
14
|
+
protected list: any;
|
|
15
|
+
/**
|
|
16
|
+
* Cleans and parses a malformed style JSON string
|
|
17
|
+
* @param {string} rawStyleStr - The raw style string from API or DB
|
|
18
|
+
* @returns {Record<string, any> | null} - Parsed style object or null if parsing fails
|
|
19
|
+
*/
|
|
20
|
+
sanitizeStyleString(rawStyleStr: string): Record<string, any> | null;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetAdminService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseStore } from '../../../shared';
|
|
2
|
+
import { WidgetModel } from '../models/widget.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Widget Admin Store
|
|
6
|
+
*/
|
|
7
|
+
export declare class WidgetAdminStore extends BaseStore<WidgetModel> {
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminStore, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetAdminStore>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/widget-admin-list/widget-admin-list.component";
|
|
3
|
+
import * as i2 from "./components/widget-admin-form/widget-admin-form.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../../shared/shared.module";
|
|
7
|
+
import * as i6 from "../../shared/table-primary/components/table-primary.component";
|
|
8
|
+
import * as i7 from "../../shared/controls/dropdown/dropdown.component";
|
|
9
|
+
import * as i8 from "../../shared/controls/check-box/check-box.component";
|
|
10
|
+
import * as i9 from "../../shared/controls/button/button.component";
|
|
11
|
+
import * as i10 from "primeng/button";
|
|
12
|
+
import * as i11 from "../../shared/controls/text-box/text-box.component";
|
|
13
|
+
/**
|
|
14
|
+
* Module for managing widgets.
|
|
15
|
+
*/
|
|
16
|
+
export declare class QWWidgetAdminModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QWWidgetAdminModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QWWidgetAdminModule, [typeof i1.WidgetAdminListComponent, typeof i2.WidgetAdminFormComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.SharedModule, typeof i6.TablePrimaryComponent, typeof i7.DropdownComponent, typeof i8.CheckBoxComponent, typeof i9.ButtonComponent, typeof i10.ButtonModule, typeof i11.TextBoxComponent], [typeof i1.WidgetAdminListComponent, typeof i2.WidgetAdminFormComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QWWidgetAdminModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { QueueModel } from '../../models/queue.model';
|
|
3
|
+
import { QueueService } from '../../state/queue.service';
|
|
4
|
+
import { QueueStore } from '../../state/queue.store';
|
|
5
|
+
import { BaseContainerComponent } from '../../../shared/_base/base-container/base-container.component';
|
|
6
|
+
import { BaseStore } from '../../../shared/state/base.store';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Container component for managing queue-related data and interactions.
|
|
10
|
+
* Extends the BaseContainerComponent with a generic type of QueueModel.
|
|
11
|
+
*/
|
|
12
|
+
export declare class QueueContainerComponent extends BaseContainerComponent<QueueModel> {
|
|
13
|
+
queueStore: QueueStore;
|
|
14
|
+
private queueService;
|
|
15
|
+
private baseStore;
|
|
16
|
+
constructor(queueStore: QueueStore, queueService: QueueService, baseStore: BaseStore<QueueModel>);
|
|
17
|
+
queueList: QueueModel[];
|
|
18
|
+
selectedQueue: any;
|
|
19
|
+
filteredResult: [any[], string];
|
|
20
|
+
selectedRows: any[];
|
|
21
|
+
set selectedRowsInput(rows: any[]);
|
|
22
|
+
get selectedRowsInput(): any[];
|
|
23
|
+
assignmentComplete: EventEmitter<{
|
|
24
|
+
success: boolean;
|
|
25
|
+
message: string;
|
|
26
|
+
}>;
|
|
27
|
+
userAssigned: EventEmitter<{
|
|
28
|
+
user: any;
|
|
29
|
+
selectedRows: any[];
|
|
30
|
+
}>;
|
|
31
|
+
rowSelected: EventEmitter<{
|
|
32
|
+
row: any;
|
|
33
|
+
isSelected: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
selectedRowsData: EventEmitter<any[]>;
|
|
36
|
+
assignmentDataReady: EventEmitter<{
|
|
37
|
+
selectedRows: any[];
|
|
38
|
+
queueData: QueueModel;
|
|
39
|
+
}>;
|
|
40
|
+
rowClick: EventEmitter<any>;
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
getAllQueueList(): void;
|
|
43
|
+
handleQueueId(event: any): void;
|
|
44
|
+
onQueueFiltered(data: [any[], string]): void;
|
|
45
|
+
/**
|
|
46
|
+
* Handles selection changes from the queue record table
|
|
47
|
+
* @param {any[]} selection - Array of selected rows
|
|
48
|
+
*/
|
|
49
|
+
onSelectionChange(selection: any[]): void;
|
|
50
|
+
/**
|
|
51
|
+
* Clears the current selection
|
|
52
|
+
*/
|
|
53
|
+
clearSelection(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Handles the assignment complete event from the projected user-dropdown component
|
|
56
|
+
*/
|
|
57
|
+
onAssignmentComplete(event: {
|
|
58
|
+
success: boolean;
|
|
59
|
+
message: string;
|
|
60
|
+
}): void;
|
|
61
|
+
/**
|
|
62
|
+
* Handles user assignment events from the projected user-dropdown component
|
|
63
|
+
*/
|
|
64
|
+
onUserAssigned(event: {
|
|
65
|
+
user: any;
|
|
66
|
+
selectedRows: any[];
|
|
67
|
+
}): void;
|
|
68
|
+
/**
|
|
69
|
+
* Handles individual row selection events from the queue record table
|
|
70
|
+
* @param {any} event - Object containing row data and selection state
|
|
71
|
+
*/
|
|
72
|
+
onRowSelected(event: {
|
|
73
|
+
row: any;
|
|
74
|
+
isSelected: boolean;
|
|
75
|
+
}): void;
|
|
76
|
+
/**
|
|
77
|
+
* Handles selected rows data events from the queue record table
|
|
78
|
+
* @param {any[]} selectedRows - Array of selected row data
|
|
79
|
+
*/
|
|
80
|
+
onSelectedRowsData(selectedRows: any[]): void;
|
|
81
|
+
/**
|
|
82
|
+
* Handles assignment data ready events from the queue record table
|
|
83
|
+
* @param {any} event - Object containing selected rows and queue data
|
|
84
|
+
*/
|
|
85
|
+
onAssignmentDataReady(event: {
|
|
86
|
+
selectedRows: any[];
|
|
87
|
+
queueData: QueueModel;
|
|
88
|
+
}): void;
|
|
89
|
+
/**
|
|
90
|
+
* Handles row click events from the queue record table
|
|
91
|
+
* @param {any} record - The record data that was clicked
|
|
92
|
+
*/
|
|
93
|
+
onRowClick(record: any): void;
|
|
94
|
+
isAssignButtonEnabled(): boolean;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueContainerComponent, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueContainerComponent, "lib-queue-container", never, { "selectedRowsInput": { "alias": "selectedRowsInput"; "required": false; }; }, { "assignmentComplete": "assignmentComplete"; "userAssigned": "userAssigned"; "rowSelected": "rowSelected"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; }, never, ["[user-dropdown]"], false, never>;
|
|
97
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { SessionService } from '../../../shared/services/session.service';
|
|
4
|
+
import { PERMISSION } from '../../../shared/constant/PERMISSION';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class QueueItemComponent {
|
|
7
|
+
router: Router;
|
|
8
|
+
sessionService: SessionService;
|
|
9
|
+
queueData: any[];
|
|
10
|
+
showQueueDataForm: boolean;
|
|
11
|
+
queueDataById: EventEmitter<any>;
|
|
12
|
+
userRole: any;
|
|
13
|
+
selectedQueueId: any;
|
|
14
|
+
filteredQueueData: any[];
|
|
15
|
+
selectedStatus: string;
|
|
16
|
+
PERMISSION: typeof PERMISSION;
|
|
17
|
+
constructor(router: Router, sessionService: SessionService);
|
|
18
|
+
ngOnChanges(): void;
|
|
19
|
+
insertQueue(): void;
|
|
20
|
+
handleQueueClick(queueId: any, showQueueDataForm: any): void;
|
|
21
|
+
onStatusChange(event: any): void;
|
|
22
|
+
filterQueues(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueItemComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueItemComponent, "app-queue-item", never, { "queueData": { "alias": "queueData"; "required": false; }; "showQueueDataForm": { "alias": "showQueueDataForm"; "required": false; }; }, { "queueDataById": "queueDataById"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class QueueListComponent {
|
|
4
|
+
queueData: any[];
|
|
5
|
+
queueDataById: EventEmitter<any>;
|
|
6
|
+
handleQueueId(event: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueListComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueListComponent, "app-queue-list", never, { "queueData": { "alias": "queueData"; "required": false; }; }, { "queueDataById": "queueDataById"; }, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { QueueModel } from '../../models/queue.model';
|
|
3
|
+
import { QueueService } from '../../state/queue.service';
|
|
4
|
+
import { QueueRecordTableBuilderService } from '../../services/queue-record-table-builder.service';
|
|
5
|
+
import { MetaDataModel } from '../../../shared/models/meta-data.model';
|
|
6
|
+
import { Paginator } from 'primeng/paginator';
|
|
7
|
+
import { TableSecondaryModel } from '../../../shared/table-secondary/models/table-secondary.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class QueueRecordTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
10
|
+
builder: QueueRecordTableBuilderService;
|
|
11
|
+
private queueService;
|
|
12
|
+
private cd;
|
|
13
|
+
queueData: QueueModel;
|
|
14
|
+
filteredSearchResult: any;
|
|
15
|
+
selectionChange: EventEmitter<any[]>;
|
|
16
|
+
rowSelected: EventEmitter<{
|
|
17
|
+
row: any;
|
|
18
|
+
isSelected: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
selectedRowsData: EventEmitter<any[]>;
|
|
21
|
+
assignmentDataReady: EventEmitter<{
|
|
22
|
+
selectedRows: any[];
|
|
23
|
+
queueData: QueueModel;
|
|
24
|
+
}>;
|
|
25
|
+
rowClick: EventEmitter<any>;
|
|
26
|
+
paginator: Paginator;
|
|
27
|
+
table: TableSecondaryModel;
|
|
28
|
+
metaData: MetaDataModel;
|
|
29
|
+
private apiData;
|
|
30
|
+
private destroy$;
|
|
31
|
+
private filterSubject;
|
|
32
|
+
currentPage: number;
|
|
33
|
+
itemsPerPage: number;
|
|
34
|
+
selectedRows: any[];
|
|
35
|
+
protected Math: Math;
|
|
36
|
+
constructor(builder: QueueRecordTableBuilderService, queueService: QueueService, cd: ChangeDetectorRef);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
private setupFilterDebounce;
|
|
40
|
+
/**
|
|
41
|
+
* Resets pagination to first page and default items per page
|
|
42
|
+
*/
|
|
43
|
+
private resetPagination;
|
|
44
|
+
loadAssociatedList(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Fetches queue records data based on current search and filter parameters.
|
|
47
|
+
* @param {string} [search] - Optional search term
|
|
48
|
+
* @param {any} [query] - Optional query string for filtering
|
|
49
|
+
*/
|
|
50
|
+
getQueueRecordsData(search?: string, query?: any): void;
|
|
51
|
+
/**
|
|
52
|
+
* Applies filters to the queue records and triggers data refresh.
|
|
53
|
+
* @param {any} record - The filter model containing search and query parameters
|
|
54
|
+
*/
|
|
55
|
+
getFilteredQueueRecords(record: any): void;
|
|
56
|
+
/**
|
|
57
|
+
* Handles page change events from the paginator
|
|
58
|
+
* @param {any} event - The PrimeNG paginator event
|
|
59
|
+
*/
|
|
60
|
+
onPageChange(event: any): void;
|
|
61
|
+
handleRowClick(record: any): void;
|
|
62
|
+
/**
|
|
63
|
+
* Handles selection changes from the table
|
|
64
|
+
* @param {any[]} selection - Array of selected rows
|
|
65
|
+
*/
|
|
66
|
+
onSelectionChange(selection: any[]): void;
|
|
67
|
+
/**
|
|
68
|
+
* Handles individual row selection events
|
|
69
|
+
* @param {any} rowData - The row data that was selected/deselected
|
|
70
|
+
* @param {boolean} isSelected - Whether the row is selected or deselected
|
|
71
|
+
*/
|
|
72
|
+
onRowSelectionChange(rowData: any, isSelected: boolean): void;
|
|
73
|
+
/**
|
|
74
|
+
* Clears the current selection
|
|
75
|
+
*/
|
|
76
|
+
clearSelection(): void;
|
|
77
|
+
ngOnDestroy(): void;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueRecordTableComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueRecordTableComponent, "app-queue-record-table", never, { "queueData": { "alias": "queueData"; "required": false; }; "filteredSearchResult": { "alias": "filteredSearchResult"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowSelected": "rowSelected"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; }, never, never, false, never>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { QueueService } from '../../state/queue.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* `QueueSearchComponent` is responsible for displaying a search input and interacting with
|
|
6
|
+
* queue-related data. It emits filtered results when a search is performed.
|
|
7
|
+
* Selector: `queue-search`
|
|
8
|
+
* Template: `./queue-search.component.html`
|
|
9
|
+
* Styles: `./queue-search.component.scss`
|
|
10
|
+
*/
|
|
11
|
+
export declare class QueueSearchComponent implements OnInit, OnDestroy {
|
|
12
|
+
private QueueService;
|
|
13
|
+
searchText: string;
|
|
14
|
+
queueFilteredData: EventEmitter<[any[], string]>;
|
|
15
|
+
private destroy$;
|
|
16
|
+
/**
|
|
17
|
+
* Constructs the QueueSearchComponent with required services.
|
|
18
|
+
* @param {QueueService} QueueService - Service to perform queue data search.
|
|
19
|
+
*/
|
|
20
|
+
constructor(QueueService: QueueService);
|
|
21
|
+
/**
|
|
22
|
+
* Lifecycle hook called on component initialization.
|
|
23
|
+
* @returns {void}
|
|
24
|
+
*/
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Handles the search functionality and emits filtered results.
|
|
28
|
+
* If the search text is empty, it emits an empty array and empty string.
|
|
29
|
+
* @returns {void}
|
|
30
|
+
*/
|
|
31
|
+
onSearch(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Lifecycle hook called when the component is destroyed.
|
|
34
|
+
* It completes all subscriptions to avoid memory leaks.
|
|
35
|
+
* @returns {void}
|
|
36
|
+
*/
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueSearchComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueSearchComponent, "queue-search", never, {}, { "queueFilteredData": "queueFilteredData"; }, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class QueueRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QueueRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QueueRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/queue-container/queue-container.component";
|
|
3
|
+
import * as i2 from "./components/queue-search/queue-search.component";
|
|
4
|
+
import * as i3 from "./components/queue-item/queue-item.component";
|
|
5
|
+
import * as i4 from "./components/queue-list/queue-list.component";
|
|
6
|
+
import * as i5 from "./components/queue-record-table/queue-record-table.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "./queue-routing.module";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "primeng/dropdown";
|
|
11
|
+
import * as i10 from "primeng/ripple";
|
|
12
|
+
import * as i11 from "primeng/button";
|
|
13
|
+
import * as i12 from "@angular/router";
|
|
14
|
+
import * as i13 from "primeng/badge";
|
|
15
|
+
import * as i14 from "primeng/paginator";
|
|
16
|
+
import * as i15 from "../shared/shared.module";
|
|
17
|
+
import * as i16 from "primeng/tag";
|
|
18
|
+
import * as i17 from "../shared/table-secondary/components/table-secondary.component";
|
|
19
|
+
export declare class QueueModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QueueModule, [typeof i1.QueueContainerComponent, typeof i2.QueueSearchComponent, typeof i3.QueueItemComponent, typeof i4.QueueListComponent, typeof i5.QueueRecordTableComponent], [typeof i6.CommonModule, typeof i7.QueueRoutingModule, typeof i8.FormsModule, typeof i9.DropdownModule, typeof i10.RippleModule, typeof i11.ButtonModule, typeof i12.RouterModule, typeof i13.BadgeModule, typeof i14.PaginatorModule, typeof i15.SharedModule, typeof i16.TagModule, typeof i17.TableSecondaryComponent], [typeof i1.QueueContainerComponent]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QueueModule>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AppConfigService } from '../../shared/services/app-config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ApplicationAssignmentService {
|
|
6
|
+
private http;
|
|
7
|
+
private appConfigService;
|
|
8
|
+
constructor(http: HttpClient, appConfigService: AppConfigService);
|
|
9
|
+
/**
|
|
10
|
+
* Assign an application to a user
|
|
11
|
+
* @param applicationId - The ID of the application to assign
|
|
12
|
+
* @param underWriterId - The ID of the user to assign the application to
|
|
13
|
+
* @returns Observable of the assignment response
|
|
14
|
+
*/
|
|
15
|
+
assignApplication(applicationId: string, underWriterId: string): Observable<any>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationAssignmentService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationAssignmentService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TableBuilder } from '../../shared/services/table.builder';
|
|
2
|
+
import { TableSecondaryModel } from '../../shared/table-secondary/models/table-secondary.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QueueRecordTableBuilderService extends TableBuilder {
|
|
5
|
+
buildSecondaryTable(records: any[], headerWidths?: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
}, editPermission?: string, deletePermission?: string): TableSecondaryModel;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueRecordTableBuilderService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueueRecordTableBuilderService>;
|
|
10
|
+
}
|