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
|
@@ -1,406 +0,0 @@
|
|
|
1
|
-
.table-header-container {
|
|
2
|
-
padding: 20px 20px 20px 8px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.table-header-title {
|
|
6
|
-
font-size: 12px;
|
|
7
|
-
font-weight: 600;
|
|
8
|
-
color: var(--text-color-tertiary) !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.table-header-wrapper {
|
|
12
|
-
padding: 12px 14px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.table-body-wrapper {
|
|
16
|
-
padding: 14px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.table-text-wrapper {
|
|
20
|
-
display: -webkit-box;
|
|
21
|
-
-webkit-line-clamp: 2;
|
|
22
|
-
-webkit-box-orient: vertical;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
text-overflow: ellipsis;
|
|
25
|
-
white-space: normal;
|
|
26
|
-
max-width: 400%;
|
|
27
|
-
padding: 0.5rem;
|
|
28
|
-
box-sizing: border-box;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.record_username {
|
|
32
|
-
color: #0f8bfd;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.table-title-wrapper {
|
|
36
|
-
font-size: 20px;
|
|
37
|
-
font-weight: 700;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.table-action-title,
|
|
41
|
-
.header-text-wrapper {
|
|
42
|
-
// border-radius: 0 10px 0 0;
|
|
43
|
-
border-right: 1px solid rgba(68, 72, 109, 0.1) !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.action-data-wrapper {
|
|
47
|
-
border-right: 1px solid rgba(68, 72, 109, 0.1) !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.enable-badge-wrapper {
|
|
51
|
-
border-radius: 4px;
|
|
52
|
-
background: var(--green-500);
|
|
53
|
-
color: var(--surface-0);
|
|
54
|
-
text-align: center;
|
|
55
|
-
padding: 5px !important;
|
|
56
|
-
}
|
|
57
|
-
.verified-status {
|
|
58
|
-
background-color: var(--green-500);
|
|
59
|
-
}
|
|
60
|
-
.disable-badge-wrapper {
|
|
61
|
-
border-radius: 4px;
|
|
62
|
-
background: #44486d;
|
|
63
|
-
color: var(--surface-0);
|
|
64
|
-
text-align: center;
|
|
65
|
-
padding: 5px !important;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.search-input-wrapper {
|
|
69
|
-
height: 50px;
|
|
70
|
-
border-radius: 10px;
|
|
71
|
-
border: 1px solid rgba(76, 98, 146, 0.1);
|
|
72
|
-
background: rgba(76, 98, 146, 0.04);
|
|
73
|
-
}
|
|
74
|
-
.Verified {
|
|
75
|
-
background-color: var(--green-400);
|
|
76
|
-
padding: 0.3rem !important;
|
|
77
|
-
border-radius: 5px;
|
|
78
|
-
color: white;
|
|
79
|
-
}
|
|
80
|
-
.DirectDebitDetails {
|
|
81
|
-
background-color: #b2eaf2;
|
|
82
|
-
padding: 0.3rem !important;
|
|
83
|
-
border-radius: 5px;
|
|
84
|
-
color: #00bcd4;
|
|
85
|
-
}
|
|
86
|
-
.Application {
|
|
87
|
-
background-color: rgba(76, 175, 80, 0.1);
|
|
88
|
-
padding: 0.3rem !important;
|
|
89
|
-
border-radius: 5px;
|
|
90
|
-
color: #4caf50;
|
|
91
|
-
}
|
|
92
|
-
.Property {
|
|
93
|
-
background-color: #d8dcf0;
|
|
94
|
-
padding: 0.3rem !important;
|
|
95
|
-
border-radius: 5px;
|
|
96
|
-
color: #3f51b5;
|
|
97
|
-
}
|
|
98
|
-
.Applicant {
|
|
99
|
-
background-color: #f6a5c0;
|
|
100
|
-
padding: 0.3rem !important;
|
|
101
|
-
border-radius: 5px;
|
|
102
|
-
color: #e91e63;
|
|
103
|
-
}
|
|
104
|
-
.ApplicationNote {
|
|
105
|
-
background-color: #f6a5c0;
|
|
106
|
-
padding: 0.3rem !important;
|
|
107
|
-
border-radius: 5px;
|
|
108
|
-
color: #e91e63;
|
|
109
|
-
}
|
|
110
|
-
.OnBoarding {
|
|
111
|
-
background-color: #d8dcf0;
|
|
112
|
-
padding: 0.3rem !important;
|
|
113
|
-
border-radius: 5px;
|
|
114
|
-
color: #3f51b5;
|
|
115
|
-
}
|
|
116
|
-
.PropertyDetails {
|
|
117
|
-
background-color: #d8dcf0;
|
|
118
|
-
padding: 0.3rem !important;
|
|
119
|
-
border-radius: 5px;
|
|
120
|
-
color: #3f51b5;
|
|
121
|
-
}
|
|
122
|
-
.Alert {
|
|
123
|
-
background-color: var(--red-500);
|
|
124
|
-
padding: 0.3rem !important;
|
|
125
|
-
border-radius: 5px;
|
|
126
|
-
color: white;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.Pending {
|
|
130
|
-
background-color: var(--orange-300);
|
|
131
|
-
padding: 0.3rem !important;
|
|
132
|
-
border-radius: 5px;
|
|
133
|
-
color: white;
|
|
134
|
-
}
|
|
135
|
-
.table-row-wrapper {
|
|
136
|
-
position: relative;
|
|
137
|
-
transition: all 0.3s ease-in-out;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.icon-position-wrapper {
|
|
141
|
-
position: absolute;
|
|
142
|
-
top: 50%;
|
|
143
|
-
left: 16%;
|
|
144
|
-
transform: translate(-50%, -50%);
|
|
145
|
-
opacity: 0;
|
|
146
|
-
visibility: hidden;
|
|
147
|
-
transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.table-row-wrapper:hover .icon-position-wrapper {
|
|
151
|
-
opacity: 1;
|
|
152
|
-
visibility: visible;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.table-group-wrapper:hover .icon-position-wrapper {
|
|
156
|
-
visibility: visible;
|
|
157
|
-
opacity: 1;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.table-pagination-wrapper {
|
|
161
|
-
border-radius: 0px 0px 10px 10px;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
::ng-deep {
|
|
165
|
-
.edit-icon-wrapper {
|
|
166
|
-
.p-button {
|
|
167
|
-
border-radius: 10px;
|
|
168
|
-
border: 1px solid rgba(76, 98, 146, 0.1);
|
|
169
|
-
background: #eef0f5;
|
|
170
|
-
padding: 12px 20px;
|
|
171
|
-
|
|
172
|
-
.pi-pencil {
|
|
173
|
-
color: var(--primary-color);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.delete-icon-wrapper {
|
|
179
|
-
.p-button {
|
|
180
|
-
border-radius: 10px;
|
|
181
|
-
border: 1px solid rgba(76, 98, 146, 0.1);
|
|
182
|
-
background: #eef0f5;
|
|
183
|
-
padding: 12px 20px;
|
|
184
|
-
|
|
185
|
-
.pi-trash {
|
|
186
|
-
color: var(--red-500);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.record_username {
|
|
192
|
-
color: var(--primary-color);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.table-title-wrapper {
|
|
196
|
-
font-size: 20px;
|
|
197
|
-
font-weight: 700;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.table-action-title,
|
|
201
|
-
.header-text-wrapper {
|
|
202
|
-
border-right: 1px solid var(--primary-border-color) !important;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.table-action-title {
|
|
206
|
-
border-radius: 0 10px 0 0;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.action-data-wrapper {
|
|
210
|
-
border-right: 1px solid var(--primary-border-color) !important;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.enable-badge-wrapper {
|
|
214
|
-
border-radius: 4px;
|
|
215
|
-
background: var(--green-500);
|
|
216
|
-
color: var(--surface-0);
|
|
217
|
-
text-align: center;
|
|
218
|
-
padding: 5px !important;
|
|
219
|
-
}
|
|
220
|
-
.verified-status {
|
|
221
|
-
background-color: var(--green-500);
|
|
222
|
-
}
|
|
223
|
-
.disable-badge-wrapper {
|
|
224
|
-
border-radius: 4px;
|
|
225
|
-
background: #44486d;
|
|
226
|
-
color: var(--surface-0);
|
|
227
|
-
text-align: center;
|
|
228
|
-
padding: 5px !important;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.search-input-wrapper {
|
|
232
|
-
height: 50px;
|
|
233
|
-
border-radius: 10px;
|
|
234
|
-
border: 1px solid rgba(76, 98, 146, 0.1);
|
|
235
|
-
background: rgba(76, 98, 146, 0.04);
|
|
236
|
-
}
|
|
237
|
-
.Verified {
|
|
238
|
-
background-color: var(--green-400);
|
|
239
|
-
padding: 0.3rem !important;
|
|
240
|
-
border-radius: 5px;
|
|
241
|
-
color: white;
|
|
242
|
-
}
|
|
243
|
-
.DirectDebitDetails {
|
|
244
|
-
background-color: #b2eaf2;
|
|
245
|
-
padding: 0.3rem !important;
|
|
246
|
-
border-radius: 5px;
|
|
247
|
-
color: #00bcd4;
|
|
248
|
-
}
|
|
249
|
-
.Application {
|
|
250
|
-
background-color: rgba(76, 175, 80, 0.1);
|
|
251
|
-
padding: 0.3rem !important;
|
|
252
|
-
border-radius: 5px;
|
|
253
|
-
color: #4caf50;
|
|
254
|
-
}
|
|
255
|
-
.Property {
|
|
256
|
-
background-color: #d8dcf0;
|
|
257
|
-
padding: 0.3rem !important;
|
|
258
|
-
border-radius: 5px;
|
|
259
|
-
color: #3f51b5;
|
|
260
|
-
}
|
|
261
|
-
.Applicant {
|
|
262
|
-
background-color: #f6a5c0;
|
|
263
|
-
padding: 0.3rem !important;
|
|
264
|
-
border-radius: 5px;
|
|
265
|
-
color: #e91e63;
|
|
266
|
-
}
|
|
267
|
-
.ApplicationNote {
|
|
268
|
-
background-color: #f6a5c0;
|
|
269
|
-
padding: 0.3rem !important;
|
|
270
|
-
border-radius: 5px;
|
|
271
|
-
color: #e91e63;
|
|
272
|
-
}
|
|
273
|
-
.OnBoarding {
|
|
274
|
-
background-color: #d8dcf0;
|
|
275
|
-
padding: 0.3rem !important;
|
|
276
|
-
border-radius: 5px;
|
|
277
|
-
color: #3f51b5;
|
|
278
|
-
}
|
|
279
|
-
.PropertyDetails {
|
|
280
|
-
background-color: #d8dcf0;
|
|
281
|
-
padding: 0.3rem !important;
|
|
282
|
-
border-radius: 5px;
|
|
283
|
-
color: #3f51b5;
|
|
284
|
-
}
|
|
285
|
-
.Alert {
|
|
286
|
-
background-color: var(--red-500);
|
|
287
|
-
padding: 0.3rem !important;
|
|
288
|
-
border-radius: 5px;
|
|
289
|
-
color: white;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.setting-icon-wrapper {
|
|
293
|
-
.p-button {
|
|
294
|
-
border-radius: 10px;
|
|
295
|
-
border: 1px solid rgba(76, 98, 146, 0.1);
|
|
296
|
-
background: #eef0f5;
|
|
297
|
-
padding: 24px;
|
|
298
|
-
height: 50px;
|
|
299
|
-
|
|
300
|
-
.pi-cog {
|
|
301
|
-
color: var(--primary-color);
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.view-icon-wrapper {
|
|
307
|
-
.p-button {
|
|
308
|
-
border-radius: 10px;
|
|
309
|
-
border: 1px solid rgba(76, 98, 146, 0.3);
|
|
310
|
-
background: var(--surface-0);
|
|
311
|
-
padding: 20px;
|
|
312
|
-
height: 40px;
|
|
313
|
-
box-shadow: none;
|
|
314
|
-
|
|
315
|
-
.pi-eye {
|
|
316
|
-
color: #44486d;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.table-secondary-container {
|
|
322
|
-
.p-datatable-table {
|
|
323
|
-
padding: 20px 8px 12px 8px;
|
|
324
|
-
background-color: #fff;
|
|
325
|
-
table-layout: fixed;
|
|
326
|
-
.p-datatable-thead {
|
|
327
|
-
background-color: var(--color-surface);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.p-datatable-header {
|
|
332
|
-
padding: 20px 20px 0;
|
|
333
|
-
border-radius: 10px 10px 0 0 !important;
|
|
334
|
-
border: none !important;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.p-datatable-thead {
|
|
338
|
-
th {
|
|
339
|
-
border: 1px solid rgba(68, 72, 109, 0.1);
|
|
340
|
-
border-left: none;
|
|
341
|
-
border-right: none;
|
|
342
|
-
background: #f9f9fa;
|
|
343
|
-
|
|
344
|
-
&:first-child {
|
|
345
|
-
border-radius: 10px 0 0 0;
|
|
346
|
-
border-left: 1px solid rgba(68, 72, 109, 0.1);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
tr {
|
|
352
|
-
td {
|
|
353
|
-
border-bottom: 1px solid rgba(68, 72, 109, 0.1);
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
td:first-child {
|
|
357
|
-
border-left: 1px solid rgba(68, 72, 109, 0.1);
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
tr:last-child {
|
|
362
|
-
td:first-child {
|
|
363
|
-
border-radius: 0 0 0 10px;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
td:last-child {
|
|
367
|
-
border-radius: 0 0 10px 0;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
:host ::ng-deep .p-checkbox-box.p-highlight {
|
|
374
|
-
background-color: var(--color-green-500) !important;
|
|
375
|
-
border-color: var(--color-green-500) !important;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.green-highlight {
|
|
379
|
-
background-color: var(
|
|
380
|
-
--color-green-10
|
|
381
|
-
) !important; /* Light green background */
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
:host ::ng-deep .p-checkbox-box.p-highlight .p-checkbox-icon {
|
|
385
|
-
color: var(--color-surface-light);
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
:host ::ng-deep .p-checkbox-box:hover {
|
|
389
|
-
background-color: var(--color-surface-light) !important;
|
|
390
|
-
border: 1px solid var(--text-black) !important;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
:host ::ng-deep .p-checkbox-box.p-highlight:hover {
|
|
394
|
-
background-color: var(--color-green-500) !important;
|
|
395
|
-
border-color: var(--color-green-500) !important;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
@media screen and (min-width: 1200px) and (max-width: 1500px) {
|
|
399
|
-
.table-header-wrapper {
|
|
400
|
-
padding: 12px 8px;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.table-body-wrapper {
|
|
404
|
-
padding: 8px;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
import { TableSecondaryComponent } from './table-secondary.component';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import { ActivatedRoute } from '@angular/router';
|
|
5
|
-
import { BaseService } from '../../state/base.service';
|
|
6
|
-
import { BaseQuery } from '../../state/base.query';
|
|
7
|
-
import { of } from 'rxjs';
|
|
8
|
-
import { SHARED } from '../../constants/SHARED';
|
|
9
|
-
|
|
10
|
-
describe('TableSecondaryComponent', () => {
|
|
11
|
-
let component: TableSecondaryComponent;
|
|
12
|
-
let fixture: ComponentFixture<TableSecondaryComponent>;
|
|
13
|
-
let mockRouter = {
|
|
14
|
-
url: '/app/test',
|
|
15
|
-
navigate: jasmine.createSpy('navigate')
|
|
16
|
-
};
|
|
17
|
-
let mockService = {
|
|
18
|
-
getPaginatedList: jasmine.createSpy('getPaginatedList').and.returnValue(of({
|
|
19
|
-
data: [],
|
|
20
|
-
metadata: { currentPage: 1, itemsPerPage: 10, totalItems: 0 }
|
|
21
|
-
}))
|
|
22
|
-
};
|
|
23
|
-
let mockBaseQuery = {
|
|
24
|
-
selectPage: () => of({})
|
|
25
|
-
};
|
|
26
|
-
let mockActivatedRoute = {};
|
|
27
|
-
|
|
28
|
-
beforeEach(async () => {
|
|
29
|
-
await TestBed.configureTestingModule({
|
|
30
|
-
imports: [TableSecondaryComponent],
|
|
31
|
-
providers: [
|
|
32
|
-
{ provide: Router, useValue: mockRouter },
|
|
33
|
-
{ provide: BaseService, useValue: mockService },
|
|
34
|
-
{ provide: ActivatedRoute, useValue: mockActivatedRoute },
|
|
35
|
-
{ provide: BaseQuery, useValue: mockBaseQuery },
|
|
36
|
-
]
|
|
37
|
-
}).compileComponents();
|
|
38
|
-
|
|
39
|
-
fixture = TestBed.createComponent(TableSecondaryComponent);
|
|
40
|
-
component = fixture.componentInstance;
|
|
41
|
-
component.table = { headers: [], dataKey: 'id' } as any;
|
|
42
|
-
component.metaData = { currentPage: 1, itemsPerPage: 10, totalItems: 50 } as any;
|
|
43
|
-
fixture.detectChanges();
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
it('should create', () => {
|
|
47
|
-
expect(component).toBeTruthy();
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
it('should initialize recordNumber correctly in ngOnInit', () => {
|
|
51
|
-
component.table.headers = [{}];
|
|
52
|
-
component.ngOnInit();
|
|
53
|
-
expect(component.recordNumber).toBe(10);
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
it('should clear global filter and call clear on table', () => {
|
|
57
|
-
const mockTable = { clear: jasmine.createSpy('clear') };
|
|
58
|
-
component.clearSearch(mockTable);
|
|
59
|
-
expect(component.globalFilter).toBe(SHARED.EMPTY);
|
|
60
|
-
expect(mockTable.clear).toHaveBeenCalled();
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
it('should navigate on handleCreate', () => {
|
|
64
|
-
component.handleCreate();
|
|
65
|
-
expect(mockRouter.navigate).toHaveBeenCalledWith(['/app/test/0']);
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it('should navigate on handleEditClick', () => {
|
|
69
|
-
component.handleEditClick(123);
|
|
70
|
-
expect(mockRouter.navigate).toHaveBeenCalledWith(['/app/test/123']);
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
it('should return valid data key', () => {
|
|
74
|
-
expect(component.validDataKey).toBe('id');
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it('should return row class if defined', () => {
|
|
78
|
-
const col = { name: 'status' };
|
|
79
|
-
const rowData = { status: { class: 'highlight' } };
|
|
80
|
-
const result = component.getRowClass(col, rowData);
|
|
81
|
-
expect(result).toBe('highlight');
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
it('should call service and update table on handleLoadRecords', () => {
|
|
85
|
-
component.pathName = 'sample';
|
|
86
|
-
component.table.headers = [{}];
|
|
87
|
-
component.builder = {
|
|
88
|
-
buildTable: jasmine.createSpy('buildTable').and.returnValue({ headers: [] })
|
|
89
|
-
};
|
|
90
|
-
const event = { first: 0, rows: 10 };
|
|
91
|
-
component.handleLoadRecords(event);
|
|
92
|
-
expect(mockService.getPaginatedList).toHaveBeenCalled();
|
|
93
|
-
expect(component.recordNumber).toBe(0);
|
|
94
|
-
});
|
|
95
|
-
});
|