@tuki-io/tuki-widgets 0.0.72 → 0.0.74
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/.editorconfig +16 -0
- package/.hintrc +14 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +25 -24
- package/angular.json +141 -0
- package/package.json +42 -7
- package/projects/tuki/widgets/README.md +24 -0
- package/projects/tuki/widgets/di2mt/api/api.endpoints.ts +26 -0
- package/projects/tuki/widgets/di2mt/assets/icons/details_d_icon.svg +3 -0
- package/{di2mt → projects/tuki/widgets/di2mt}/public-api.ts +1 -0
- package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/summary-card/summary-card.component.html +2 -2
- package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/summary-card/summary-card.component.scss +4 -1
- package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/table-filters/table-filters.component.html +3 -3
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.scss +244 -0
- package/{user-device-manage/src → projects/tuki/widgets/di2mt/shared/constants}/app.constants.ts +96 -96
- package/{di2mt → projects/tuki/widgets/di2mt}/shared/types/constants.ts +2 -1
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.html +3 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.scss +37 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.ts +40 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.html +158 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.scss +430 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +362 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +33 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.service.ts +102 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/types/user-upgrade.ts +22 -0
- package/{di2mt → projects/tuki/widgets/di2mt}/widgets/user-upgrade/types/user-upgrade.ts +2 -1
- package/{di2mt → projects/tuki/widgets/di2mt}/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.html +68 -13
- package/{di2mt → projects/tuki/widgets/di2mt}/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.scss +73 -3
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +313 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.module.ts +34 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.service.ts +79 -0
- package/{karma.conf.js → projects/tuki/widgets/karma.conf.js} +44 -44
- package/projects/tuki/widgets/package.json +13 -0
- package/{src → projects/tuki/widgets/src}/lib/widgets.component.spec.ts +23 -23
- package/{src → projects/tuki/widgets/src}/lib/widgets.component.ts +20 -20
- package/{src → projects/tuki/widgets/src}/lib/widgets.module.ts +16 -16
- package/{src → projects/tuki/widgets/src}/lib/widgets.service.spec.ts +16 -16
- package/{src → projects/tuki/widgets/src}/lib/widgets.service.ts +9 -9
- package/{src → projects/tuki/widgets/src}/public-api.ts +7 -7
- package/{src → projects/tuki/widgets/src}/test.ts +27 -27
- package/{users-list/src/styles → projects/tuki/widgets}/styles.scss +572 -572
- package/{tsconfig.lib.json → projects/tuki/widgets/tsconfig.lib.json} +36 -36
- package/{tsconfig.lib.prod.json → projects/tuki/widgets/tsconfig.lib.prod.json} +10 -10
- package/{tsconfig.spec.json → projects/tuki/widgets/tsconfig.spec.json} +17 -17
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/public-api.ts +8 -8
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +96 -0
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/assets/icons/arrow-left.svg +5 -5
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/assets/icons/arrow-right.svg +5 -5
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/assets/icons/close_icon_x.svg +3 -3
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/assets/icons/delete_icon.svg +5 -5
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/assets/icons/dragger-vertical-icon.svg +3 -3
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/assets/icons/vartical_divider_icon.svg +3 -3
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/device.ts +292 -292
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/line-association-interface.ts +50 -50
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/line-association.ts +177 -177
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/classes/line-call-info-display.ts +21 -21
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/line-directory.ts +41 -41
- package/{users-list → projects/tuki/widgets/user-device-manage}/src/classes/line.ts +144 -144
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/classes/notification.ts +40 -39
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/recording-options.ts +6 -6
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/simplified-user.ts +169 -169
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/site-defaults.ts +167 -167
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/translation-pattern.ts +50 -50
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/classes/types.ts +19 -19
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/classes/user-interface.ts +225 -225
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/classes/user.ts +8 -8
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/common-functions.ts +16 -16
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/confirm-dialog/info-dialog.component.html +14 -14
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/confirm-dialog/info-dialog.component.scss +80 -80
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/confirm-dialog/info-dialog.component.ts +35 -35
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/associated-line-row/associated-line-row.component.html +21 -21
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/associated-line-row/associated-line-row.component.scss +97 -97
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/associated-line-row/associated-line-row.component.ts +28 -28
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +5 -5
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +19 -19
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +13 -13
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +6 -6
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +4 -4
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +63 -63
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line.component.html +241 -241
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line.component.scss +500 -500
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-associated-line/device-associated-line.component.ts +194 -194
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/device-list/device-list.component.html +27 -27
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-list/device-list.component.scss +131 -131
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-list/device-list.component.ts +25 -25
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-manage-widget.component.html +209 -209
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-manage-widget.component.scss +502 -502
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/device-manage-widget.component.ts +354 -354
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/environments/environment.prod.ts +9 -9
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/environments/environment.ts +10 -10
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/interseptors/auth.interceptor.ts +35 -35
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/lazy-loading-select/lazy-loading-select.component.html +50 -50
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/lazy-loading-select/lazy-loading-select.component.scss +8 -8
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/lazy-loading-select/lazy-loading-select.component.ts +81 -81
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/material.module.ts +87 -87
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/notifications/notification.component.html +33 -33
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/notifications/notification.component.scss +84 -84
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/notifications/notification.component.ts +46 -46
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/removeKynFromIBM.service.ts +25 -25
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/api.service.ts +87 -87
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/common-functions.ts +17 -17
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/device.service.ts +95 -95
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/dns.service.ts +111 -111
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/line.service.ts +89 -89
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/notification.service.ts +68 -68
- package/{users-list → projects/tuki/widgets/user-device-manage}/src/services/removeKynFromIBM.service.ts +25 -25
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/site-settings.service.ts +82 -82
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/sorting-utils.service.ts +203 -203
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/user.service.ts +283 -283
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/utils.service.ts +87 -87
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/services/validation.service.ts +829 -829
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/styles/_variables.scss +90 -90
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/styles/form.scss +231 -231
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/styles/icons.scss +32 -32
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/styles/styles.scss +110 -110
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/styles/tables.scss +30 -30
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/user-device-manage.module.ts +73 -73
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/utils/app-loader/app-loader.component.html +6 -6
- package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/utils/app-loader/app-loader.component.scss +11 -11
- package/{user-manage → projects/tuki/widgets/user-device-manage}/src/utils/app-loader/app-loader.ts +13 -13
- package/{user-manage → projects/tuki/widgets/user-manage}/public-api.ts +6 -6
- package/{user-manage → projects/tuki/widgets/user-manage}/src/app.constants.ts +50 -50
- package/{user-manage → projects/tuki/widgets/user-manage}/src/assets/icons/arrow-left.svg +5 -5
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/assets/icons/arrow-right.svg +5 -5
- package/{user-manage → projects/tuki/widgets/user-manage}/src/assets/icons/delete_icon.svg +5 -5
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/assets/icons/dragger-vertical-icon.svg +3 -3
- package/{user-manage → projects/tuki/widgets/user-manage}/src/assets/icons/vartical_divider_icon.svg +3 -3
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/device.ts +232 -232
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/line-association-interface.ts +43 -43
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/line-association.ts +161 -161
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/classes/line-call-info-display.ts +21 -21
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/line-directory.ts +42 -42
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/line.ts +144 -144
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/classes/notification.ts +39 -40
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/pagination.ts +1 -1
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/recording-options.ts +6 -6
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/simplified-user.ts +165 -165
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/table-data.ts +6 -6
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/translation-pattern.ts +49 -49
- package/{users-list → projects/tuki/widgets/user-manage}/src/classes/user-interface.ts +225 -225
- package/{user-manage → projects/tuki/widgets/user-manage}/src/classes/user-list.ts +42 -42
- package/{users-list → projects/tuki/widgets/user-manage}/src/classes/user.ts +8 -8
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/common-functions.ts +16 -16
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/device-list/device-list.component.html +27 -27
- package/{user-manage → projects/tuki/widgets/user-manage}/src/device-list/device-list.component.scss +131 -131
- package/{user-manage → projects/tuki/widgets/user-manage}/src/device-list/device-list.component.ts +25 -25
- package/{user-manage → projects/tuki/widgets/user-manage}/src/environments/environment.prod.ts +9 -9
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/environments/environment.ts +10 -10
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/interseptors/auth.interceptor.ts +35 -35
- package/{user-manage → projects/tuki/widgets/user-manage}/src/lazy-loading-select/lazy-loading-select.component.html +50 -50
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/lazy-loading-select/lazy-loading-select.component.scss +8 -8
- package/{user-manage → projects/tuki/widgets/user-manage}/src/lazy-loading-select/lazy-loading-select.component.ts +81 -81
- package/{user-manage → projects/tuki/widgets/user-manage}/src/material.module.ts +85 -85
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/notifications/notification.component.html +33 -33
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/notifications/notification.component.scss +84 -84
- package/{user-manage → projects/tuki/widgets/user-manage}/src/notifications/notification.component.ts +46 -46
- package/{user-manage → projects/tuki/widgets/user-manage}/src/removeKynFromIBM.service.ts +25 -25
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/api.service.ts +90 -90
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/dns.service.ts +116 -116
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/line.service.ts +31 -31
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/notification.service.ts +68 -68
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/services/removeKynFromIBM.service.ts +25 -25
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/site-settings.service.ts +35 -35
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/sorting-utils.service.ts +203 -203
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/user.service.ts +242 -242
- package/{user-manage → projects/tuki/widgets/user-manage}/src/services/users-search.service.ts +59 -59
- package/{users-list/src/utils → projects/tuki/widgets/user-manage/src/services}/utils.service.ts +71 -71
- package/{user-manage → projects/tuki/widgets/user-manage}/src/styles/_variables.scss +90 -90
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/styles/form.scss +231 -231
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/styles/icons.scss +32 -32
- package/{user-manage → projects/tuki/widgets/user-manage}/src/styles/styles.scss +110 -110
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/styles/tables.scss +30 -30
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-calling/user-calling-extension/user-calling-extension.component.html +10 -10
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-calling/user-calling-extension/user-calling-extension.component.scss +429 -429
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-calling/user-calling-extension/user-calling-extension.component.ts +63 -63
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-calling/user-calling.component.html +32 -32
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-calling/user-calling.component.scss +444 -444
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-calling/user-calling.component.ts +89 -89
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-details/notification.service.ts +68 -68
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-info/user-info.component.html +29 -29
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-info/user-info.component.scss +64 -64
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-info/user-info.component.ts +19 -19
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-manage-widget.component.html +290 -290
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-manage-widget.component.scss +463 -463
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-manage-widget.component.ts +212 -212
- package/{user-manage → projects/tuki/widgets/user-manage}/src/user-manage.module.ts +63 -63
- package/{user-manage → projects/tuki/widgets/user-manage}/src/utils/app-loader/app-loader.component.html +6 -6
- package/{user-manage → projects/tuki/widgets/user-manage}/src/utils/app-loader/app-loader.component.scss +11 -11
- package/{user-device-manage → projects/tuki/widgets/user-manage}/src/utils/app-loader/app-loader.ts +13 -13
- package/{users-list → projects/tuki/widgets/user-manage}/src/utils/pagination/pagination.component.html +26 -26
- package/{user-manage → projects/tuki/widgets/user-manage}/src/utils/pagination/pagination.component.scss +41 -41
- package/{user-manage → projects/tuki/widgets/user-manage}/src/utils/pagination/pagination.component.ts +41 -41
- package/{users-list → projects/tuki/widgets/users-list}/public-api.ts +8 -8
- package/{users-list → projects/tuki/widgets/users-list}/src/app.constants.ts +54 -54
- package/{users-list → projects/tuki/widgets/users-list}/src/assets/icons/close_icon_modal.svg +3 -3
- package/{users-list → projects/tuki/widgets/users-list}/src/assets/icons/move_user_to_another_location.svg +14 -14
- package/{users-list → projects/tuki/widgets/users-list}/src/assets/icons/white-close-icon.svg +3 -3
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/app-location.ts +36 -36
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/device.ts +225 -225
- package/{user-device-manage → projects/tuki/widgets/users-list}/src/classes/line.ts +144 -144
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/move-user.ts +225 -225
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/notification.ts +38 -38
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/pagination.ts +18 -18
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/simlified-user.ts +74 -74
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/table-data.ts +6 -6
- package/{user-device-manage → projects/tuki/widgets/users-list}/src/classes/user-interface.ts +225 -225
- package/{users-list → projects/tuki/widgets/users-list}/src/classes/user-list.ts +47 -47
- package/{user-device-manage → projects/tuki/widgets/users-list}/src/classes/user.ts +8 -8
- package/{users-list → projects/tuki/widgets/users-list}/src/material.module.ts +94 -94
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +37 -37
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +129 -129
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +46 -46
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +31 -31
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +20 -20
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +26 -26
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +222 -222
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +239 -239
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +206 -206
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-wizard.component.html +12 -12
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-wizard.component.scss +41 -41
- package/{users-list → projects/tuki/widgets/users-list}/src/move-user-wizard/move-user-wizard.component.ts +36 -36
- package/{users-list → projects/tuki/widgets/users-list}/src/services/api-webex.service.ts +14 -14
- package/{users-list → projects/tuki/widgets/users-list}/src/services/api.service.ts +90 -90
- package/{users-list → projects/tuki/widgets/users-list}/src/services/dns.service.ts +128 -128
- package/{users-list → projects/tuki/widgets/users-list}/src/services/events-communication.service.ts +11 -11
- package/{users-list → projects/tuki/widgets/users-list}/src/services/move-user.service.ts +59 -59
- package/{users-list → projects/tuki/widgets/users-list}/src/services/notification.service.ts +68 -68
- package/{user-manage → projects/tuki/widgets/users-list}/src/services/removeKynFromIBM.service.ts +25 -25
- package/{users-list → projects/tuki/widgets/users-list}/src/services/site-settings.service.ts +26 -26
- package/{users-list → projects/tuki/widgets/users-list}/src/services/user.service.ts +159 -159
- package/{users-list → projects/tuki/widgets/users-list}/src/services/users-search.service.ts +139 -137
- package/{styles.scss → projects/tuki/widgets/users-list/src/styles/styles.scss} +572 -572
- package/{users-list → projects/tuki/widgets/users-list}/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +15 -15
- package/{users-list → projects/tuki/widgets/users-list}/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +103 -103
- package/{users-list → projects/tuki/widgets/users-list}/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +35 -35
- package/{users-list → projects/tuki/widgets/users-list}/src/users-list.component.html +86 -86
- package/{users-list → projects/tuki/widgets/users-list}/src/users-list.component.scss +572 -572
- package/{users-list → projects/tuki/widgets/users-list}/src/users-list.component.ts +312 -312
- package/{users-list → projects/tuki/widgets/users-list}/src/users-list.module.ts +63 -63
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/app-loader/app-loader.component.html +6 -6
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/app-loader/app-loader.component.scss +11 -11
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/app-loader/app-loader.ts +13 -13
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/common-functions.ts +32 -32
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/notifications/notification.component.html +33 -33
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/notifications/notification.component.scss +84 -84
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/notifications/notification.component.ts +46 -46
- package/{user-manage → projects/tuki/widgets/users-list}/src/utils/pagination/pagination.component.html +26 -26
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/pagination/pagination.component.scss +41 -41
- package/{users-list → projects/tuki/widgets/users-list}/src/utils/pagination/pagination.component.ts +41 -41
- package/{user-manage/src/services → projects/tuki/widgets/users-list/src/utils}/utils.service.ts +71 -71
- package/projects/widgets-playground/src/app/app.component.html +109 -0
- package/projects/widgets-playground/src/app/app.component.scss +15 -0
- package/projects/widgets-playground/src/app/app.component.spec.ts +31 -0
- package/projects/widgets-playground/src/app/app.component.ts +31 -0
- package/projects/widgets-playground/src/app/app.module.ts +43 -0
- package/projects/widgets-playground/src/assets/.gitkeep +0 -0
- package/projects/widgets-playground/src/assets/icons/already_upgraded.png +0 -0
- package/projects/widgets-playground/src/assets/icons/check2_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/check_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/expand_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/issue_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/menu_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/ready_to_upgrade.png +0 -0
- package/projects/widgets-playground/src/assets/icons/search_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/site.png +0 -0
- package/projects/widgets-playground/src/assets/icons/user.png +0 -0
- package/projects/widgets-playground/src/assets/icons/warning_icon.png +0 -0
- package/projects/widgets-playground/src/favicon.ico +0 -0
- package/projects/widgets-playground/src/index.html +13 -0
- package/projects/widgets-playground/src/main.ts +7 -0
- package/projects/widgets-playground/src/styles.scss +23 -0
- package/projects/widgets-playground/tsconfig.app.json +14 -0
- package/projects/widgets-playground/tsconfig.spec.json +14 -0
- package/proxy.conf.js +23 -0
- package/tsconfig.json +46 -0
- package/di2mt/api/api.endpoints.ts +0 -20
- package/di2mt/shared/components/table-filters/table-filters.component.scss +0 -52
- package/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.html +0 -92
- package/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.scss +0 -187
- package/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +0 -205
- package/di2mt/widgets/site-upgrade/site-upgrade.module.ts +0 -24
- package/di2mt/widgets/site-upgrade/site-upgrade.service.ts +0 -45
- package/di2mt/widgets/site-upgrade/types/user-upgrade.ts +0 -15
- package/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +0 -218
- package/di2mt/widgets/user-upgrade/user-upgrade.module.ts +0 -24
- package/di2mt/widgets/user-upgrade/user-upgrade.service.ts +0 -73
- /package/{di2mt → projects/tuki/widgets/di2mt}/README.md +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/already_upgraded.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/check2_icon.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/check_icon.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/expand_icon.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/issue_icon.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/menu_icon.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/ready_to_upgrade.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/search_icon.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/site.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/user.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/assets/icons/warning_icon.png +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/ng-package.json +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/card/card.component.html +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/card/card.component.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/card/card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/chart-card/chart-card.component.html +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/chart-card/chart-card.component.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/chart-card/chart-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/index.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/stat-card/stat-card.component.html +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/stat-card/stat-card.component.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/stat-card/stat-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/status-list-card/status-list-card.component.html +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/status-list-card/status-list-card.component.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/status-list-card/status-list-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/summary-card/summary-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/components/table-filters/table-filters.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/material.module.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/services/api.service.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/shared.module.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/types/data-table.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/shared/types/table/filter.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/styles/tuki-widgets-theme.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/styles/variables.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.html +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.html +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.scss +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/types/upgrade-overview.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/upgrade-overview.module.ts +0 -0
- /package/{di2mt → projects/tuki/widgets/di2mt}/widgets/upgrade-overview/upgrade-overview.service.ts +0 -0
- /package/{ng-package.json → projects/tuki/widgets/ng-package.json} +0 -0
- /package/{user-device-manage → projects/tuki/widgets/user-device-manage}/ng-package.json +0 -0
- /package/{user-device-manage → projects/tuki/widgets/user-device-manage}/src/assets/icons/icon_user.svg +0 -0
- /package/{user-manage → projects/tuki/widgets/user-manage}/ng-package.json +0 -0
- /package/{user-manage → projects/tuki/widgets/user-manage}/src/assets/icons/icon_user.svg +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/ng-package.json +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/src/assets/icons/icon_user.svg +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/src/users-list.component.css +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/src/users-list.component.css.map +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/src/utils/app-loader/app-loader.component.css +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/src/utils/app-loader/app-loader.component.css.map +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/src/utils/pagination/pagination.component.css +0 -0
- /package/{users-list → projects/tuki/widgets/users-list}/src/utils/pagination/pagination.component.css.map +0 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
<div *ngIf="dataPending" class="overlay">
|
|
2
|
+
<mat-progress-spinner
|
|
3
|
+
class="page-spinner"
|
|
4
|
+
mode="indeterminate"
|
|
5
|
+
[diameter]="120"></mat-progress-spinner>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div id="siteUpgradeTable" class="wrapper">
|
|
9
|
+
<div class="site-upgrade-status-wrapper">
|
|
10
|
+
<tk-summary-card [description]="'Sites are ready to upgrade'" [value]="statusCounts['Ready']"></tk-summary-card>
|
|
11
|
+
<tk-summary-card [description]="'Sites are not ready'" [value]="statusCounts['Not Ready']"
|
|
12
|
+
[status]="'Not Ready'"></tk-summary-card>
|
|
13
|
+
<tk-summary-card [description]="'Sites failed to upgrade'" [value]="statusCounts['Failed']"
|
|
14
|
+
[status]="'Failed'"></tk-summary-card>
|
|
15
|
+
<tk-summary-card [description]="'Successfully upgraded'" [value]="statusCounts['Completed']"
|
|
16
|
+
[status]="'Completed'"></tk-summary-card>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="table-action-panel">
|
|
19
|
+
<tk-table-filters *ngIf="filters.length > 0" [filters]="filters" (filter)="onFilter($event)"></tk-table-filters>
|
|
20
|
+
<div class="action-wrapper">
|
|
21
|
+
<span>{{ filteredDataCount }} Sites</span>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<table mat-table [dataSource]="data" class="site-upgrade-table">
|
|
25
|
+
|
|
26
|
+
<!-- Site Column -->
|
|
27
|
+
<ng-container matColumnDef="site">
|
|
28
|
+
<th mat-header-cell *matHeaderCellDef>Site</th>
|
|
29
|
+
<td mat-cell *matCellDef="let element">
|
|
30
|
+
<div class="site-info">
|
|
31
|
+
{{ element.siteName }}
|
|
32
|
+
</div>
|
|
33
|
+
</td>
|
|
34
|
+
</ng-container>
|
|
35
|
+
|
|
36
|
+
<!-- Ready Users Column -->
|
|
37
|
+
<ng-container matColumnDef="ready users">
|
|
38
|
+
<th mat-header-cell *matHeaderCellDef>Ready Users</th>
|
|
39
|
+
<td mat-cell *matCellDef="let element">
|
|
40
|
+
<div class="user-count-info">
|
|
41
|
+
<div class="user-count">{{ element.totalReadyUsers }}/{{ element.totalUsers }}</div>
|
|
42
|
+
<div class="user-label">Ready/Total</div>
|
|
43
|
+
</div>
|
|
44
|
+
</td>
|
|
45
|
+
</ng-container>
|
|
46
|
+
|
|
47
|
+
<!-- Upgraded Users Column -->
|
|
48
|
+
<ng-container matColumnDef="upgraded users">
|
|
49
|
+
<th mat-header-cell *matHeaderCellDef>Upgraded Users</th>
|
|
50
|
+
<td mat-cell *matCellDef="let element">
|
|
51
|
+
<div class="user-count-info">
|
|
52
|
+
<div class="user-count">{{ element.totalUpgradedUsers }}/{{ element.totalUsers }}</div>
|
|
53
|
+
<div class="user-label">Upgraded/Total</div>
|
|
54
|
+
</div>
|
|
55
|
+
</td>
|
|
56
|
+
</ng-container>
|
|
57
|
+
|
|
58
|
+
<!-- Location Mapping Column -->
|
|
59
|
+
<ng-container matColumnDef="location mapping">
|
|
60
|
+
<th mat-header-cell *matHeaderCellDef>Location Mapping</th>
|
|
61
|
+
<td mat-cell *matCellDef="let element">
|
|
62
|
+
<div class="status-icon-cell">
|
|
63
|
+
<img *ngIf="element.locationMapping" src="assets/icons/check2_icon.png" alt="Location Mapping Enabled"/>
|
|
64
|
+
<img *ngIf="!element.locationMapping" src="assets/icons/issue_icon.png" alt="Location Mapping Disabled"/>
|
|
65
|
+
</div>
|
|
66
|
+
</td>
|
|
67
|
+
</ng-container>
|
|
68
|
+
|
|
69
|
+
<!-- PSTN Trunk Column -->
|
|
70
|
+
<ng-container matColumnDef="pstn trunk">
|
|
71
|
+
<th mat-header-cell *matHeaderCellDef>PSTN Trunk</th>
|
|
72
|
+
<td mat-cell *matCellDef="let element">
|
|
73
|
+
<div class="status-icon-cell">
|
|
74
|
+
<img *ngIf="element.PSTNTrunk" src="assets/icons/check2_icon.png" alt="PSTN Trunk Enabled"/>
|
|
75
|
+
<img *ngIf="!element.PSTNTrunk" src="assets/icons/issue_icon.png" alt="PSTN Trunk Disabled"/>
|
|
76
|
+
</div>
|
|
77
|
+
</td>
|
|
78
|
+
</ng-container>
|
|
79
|
+
|
|
80
|
+
<!-- Site Upgrade Status Column -->
|
|
81
|
+
<ng-container matColumnDef="site upgrade status">
|
|
82
|
+
<th mat-header-cell *matHeaderCellDef>Site Upgrade Status</th>
|
|
83
|
+
<td mat-cell *matCellDef="let element">
|
|
84
|
+
<div class="upgrade-status-cell">
|
|
85
|
+
<ng-container *ngIf="element.upgradeStatus === 'READY'; else statusBlock">
|
|
86
|
+
<button mat-button color="primary" class="upgrade-button" (click)="upgradeSite(element)">Upgrade</button>
|
|
87
|
+
</ng-container>
|
|
88
|
+
<ng-template #statusBlock>
|
|
89
|
+
<div class="status-info">
|
|
90
|
+
<span class="status-indicator" [ngClass]="getSiteUpgradeStatusClass(element.upgradeStatus)"></span>
|
|
91
|
+
<span [ngClass]="{'status-ready': element.upgradeStatus === 'READY'}">{{ STATUS_ENTRIES[element.upgradeStatus] }}</span>
|
|
92
|
+
</div>
|
|
93
|
+
</ng-template>
|
|
94
|
+
</div>
|
|
95
|
+
</td>
|
|
96
|
+
</ng-container>
|
|
97
|
+
|
|
98
|
+
<ng-container matColumnDef="progressBar">
|
|
99
|
+
<th class="header" mat-header-cell *matHeaderCellDef></th>
|
|
100
|
+
<td mat-cell *matCellDef="let element">
|
|
101
|
+
<div class="app-progress-bar-container">
|
|
102
|
+
<app-progress-bar
|
|
103
|
+
[isAvailable]="element.isProgressBarAvailable"
|
|
104
|
+
[progress]="element.progress"
|
|
105
|
+
#progressBars>
|
|
106
|
+
</app-progress-bar>
|
|
107
|
+
</div>
|
|
108
|
+
<span *ngIf="element.isProgressBarAvailable" class="progress-percents">
|
|
109
|
+
{{ element.progress }} %
|
|
110
|
+
</span>
|
|
111
|
+
</td>
|
|
112
|
+
</ng-container>
|
|
113
|
+
|
|
114
|
+
<!-- Action Column -->
|
|
115
|
+
<ng-container matColumnDef="actions">
|
|
116
|
+
<th mat-header-cell *matHeaderCellDef>Actions</th>
|
|
117
|
+
<td mat-cell *matCellDef="let element" class="progress-spinner-td">
|
|
118
|
+
<button mat-button color="primary" class="upgrade-button" (click)="onSiteMigration(element)">Upgrade</button>
|
|
119
|
+
<!-- <div class="pay-button-icon"></div>-->
|
|
120
|
+
<button mat-icon-button [matMenuTriggerFor]="defaultBatchMenu">
|
|
121
|
+
<span style="font-size: 17px;">⋮</span>
|
|
122
|
+
</button>
|
|
123
|
+
<mat-menu
|
|
124
|
+
#defaultBatchMenu="matMenu"
|
|
125
|
+
xPosition="after"
|
|
126
|
+
class="webex-action-menu">
|
|
127
|
+
|
|
128
|
+
<div class="webex-action-menu-row"
|
|
129
|
+
[ngClass]="{ 'webex-action-menu-row-disabled': element.pending }"
|
|
130
|
+
(click)="element.pending ? $event.stopPropagation() : onCollect(element)">
|
|
131
|
+
<span
|
|
132
|
+
class="webex-details-icon webex-icon"
|
|
133
|
+
[ngClass]="{ 'migration-action-disabled': element.pending || STATUS_ENTRIES[element.upgradeStatus] !== 'Ready'}">
|
|
134
|
+
</span>
|
|
135
|
+
<span class="webex-action-menu-title">Collect</span>
|
|
136
|
+
</div>
|
|
137
|
+
</mat-menu>
|
|
138
|
+
|
|
139
|
+
</td>
|
|
140
|
+
</ng-container>
|
|
141
|
+
|
|
142
|
+
<ng-container matColumnDef="userUpgradeLoader">
|
|
143
|
+
<th mat-header-cell *matHeaderCellDef></th>
|
|
144
|
+
<td class="mat-progress-spinner-td" mat-cell *matCellDef="let element">
|
|
145
|
+
|
|
146
|
+
<mat-progress-spinner
|
|
147
|
+
*ngIf="element.pending"
|
|
148
|
+
class="field-spinner"
|
|
149
|
+
[diameter]="20"
|
|
150
|
+
mode="indeterminate">
|
|
151
|
+
</mat-progress-spinner>
|
|
152
|
+
</td>
|
|
153
|
+
</ng-container>
|
|
154
|
+
|
|
155
|
+
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
|
156
|
+
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
|
157
|
+
</table>
|
|
158
|
+
</div>
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css?family=Poppins:400,100,200,300,500,600,800,700,900');
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
3
|
+
|
|
4
|
+
.webex-action-menu {
|
|
5
|
+
box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.1) !important;
|
|
6
|
+
border-radius: 0px !important;
|
|
7
|
+
width: 258px;
|
|
8
|
+
box-sizing: content-box;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
.webex-action-menu-row-disabled {
|
|
12
|
+
cursor: default !important;
|
|
13
|
+
opacity: 0.4;
|
|
14
|
+
|
|
15
|
+
.webex-action-menu-title {
|
|
16
|
+
color: #bababa !important;
|
|
17
|
+
line-height: 23px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.webex-action-menu-row:hover {
|
|
21
|
+
background: #f5f5f5;
|
|
22
|
+
}
|
|
23
|
+
.webex-icon {
|
|
24
|
+
display: inline-block;
|
|
25
|
+
height: 25px;
|
|
26
|
+
width: 25px;
|
|
27
|
+
margin: 0 7px 0 0;
|
|
28
|
+
}
|
|
29
|
+
.webex-details-icon {
|
|
30
|
+
background-image: url('../../../assets/icons/details_d_icon.svg');
|
|
31
|
+
}
|
|
32
|
+
.webex-action-menu-row {
|
|
33
|
+
padding: 5px 15px;
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: flex-start;
|
|
36
|
+
|
|
37
|
+
.webex-action-menu-title {
|
|
38
|
+
line-height: 23px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.mat-menu-content:not(:empty) {
|
|
42
|
+
padding-top: 0 !important;
|
|
43
|
+
}
|
|
44
|
+
.mat-menu-panel {
|
|
45
|
+
min-height: auto !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#siteUpgradeTable {
|
|
49
|
+
font-family: "Inter", sans-serif !important;
|
|
50
|
+
}
|
|
51
|
+
.wrapper {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
gap: 1rem;
|
|
55
|
+
}
|
|
56
|
+
.overlay {
|
|
57
|
+
position: fixed;
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
top: 0;
|
|
61
|
+
left: 0;
|
|
62
|
+
right: 0;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
background-color: rgba(255, 255, 255, 0.4);
|
|
65
|
+
z-index: 200;
|
|
66
|
+
}
|
|
67
|
+
.mat-progress-spinner {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 50%;
|
|
70
|
+
left: 50%;
|
|
71
|
+
margin-top: -20px;
|
|
72
|
+
margin-left: -25px;
|
|
73
|
+
width: 50px;
|
|
74
|
+
height: 40px;
|
|
75
|
+
text-align: center;
|
|
76
|
+
font-size: 10px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
::ng-deep {
|
|
80
|
+
|
|
81
|
+
.mat-progress-spinner-td {
|
|
82
|
+
position: relative;
|
|
83
|
+
}
|
|
84
|
+
#siteUpgradeTable .mat-progress-spinner-td {
|
|
85
|
+
|
|
86
|
+
.mat-progress-spinner {
|
|
87
|
+
top: 28%;
|
|
88
|
+
left: 0;
|
|
89
|
+
margin: 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
.site-upgrade-status-wrapper {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 1rem;
|
|
100
|
+
flex-wrap: wrap;
|
|
101
|
+
margin-bottom: 1rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.site-upgrade-table {
|
|
105
|
+
width: 100%;
|
|
106
|
+
background: white;
|
|
107
|
+
border-radius: 8px;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
font-size: 14px;
|
|
110
|
+
|
|
111
|
+
.mat-header-row {
|
|
112
|
+
// background-color: #ededed;
|
|
113
|
+
font-size: 12px;
|
|
114
|
+
height: 35px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.mat-cell {
|
|
118
|
+
border-bottom: 1px solid #d6d6d6;
|
|
119
|
+
font-family: "Inter", sans-serif !important;
|
|
120
|
+
}
|
|
121
|
+
.mat-header-cell {
|
|
122
|
+
border-bottom: 1px solid #afafaf;
|
|
123
|
+
font-family: "Inter", sans-serif !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Site info styling
|
|
127
|
+
.site-info {
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
gap: 8px;
|
|
131
|
+
|
|
132
|
+
.site-indicator {
|
|
133
|
+
width: 8px;
|
|
134
|
+
height: 8px;
|
|
135
|
+
border-radius: 50%;
|
|
136
|
+
background-color: #1170cf;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
.status-ready {
|
|
140
|
+
color: #1170CF;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Device info styling
|
|
144
|
+
.device-info {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
gap: 12px;
|
|
148
|
+
|
|
149
|
+
.device-name-wrapper {
|
|
150
|
+
display: flex;
|
|
151
|
+
align-items: center;
|
|
152
|
+
gap: 4px;
|
|
153
|
+
// margin-bottom: 2px;
|
|
154
|
+
|
|
155
|
+
.device-name {
|
|
156
|
+
font-weight: 500;
|
|
157
|
+
color: #212121;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.device-indicator {
|
|
161
|
+
width: 8px;
|
|
162
|
+
height: 8px;
|
|
163
|
+
border-radius: 50%;
|
|
164
|
+
background-color: #f8cd00;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.device-model {
|
|
169
|
+
font-size: 12px;
|
|
170
|
+
color: #757575;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// Status indicators
|
|
175
|
+
.status-info {
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: 8px;
|
|
179
|
+
|
|
180
|
+
.status-indicator {
|
|
181
|
+
width: 8px;
|
|
182
|
+
height: 8px;
|
|
183
|
+
border-radius: 50%;
|
|
184
|
+
|
|
185
|
+
&.ready {
|
|
186
|
+
background-color: #1d805f;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&.partial-ready {
|
|
190
|
+
background-color: #f8cd00;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&.not-ready {
|
|
194
|
+
background-color: #9e9e9e;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.completed {
|
|
198
|
+
background-color: #1d805f;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&.failed {
|
|
202
|
+
background-color: #f23933;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// Dependencies styling
|
|
208
|
+
.dependencies-text {
|
|
209
|
+
font-size: 12px;
|
|
210
|
+
background-color: #ffe9e9;
|
|
211
|
+
padding: 0.25rem 0.5rem;
|
|
212
|
+
border-radius: 3px;
|
|
213
|
+
color: #000;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Upgrade status cell
|
|
217
|
+
.upgrade-status-cell {
|
|
218
|
+
display: flex;
|
|
219
|
+
align-items: center;
|
|
220
|
+
justify-content: flex-start;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// Upgrade button styling
|
|
224
|
+
.upgrade-button {
|
|
225
|
+
border: 1px solid #08599c;
|
|
226
|
+
color: #08599c;
|
|
227
|
+
background: white;
|
|
228
|
+
// padding: 6px 16px;
|
|
229
|
+
border-radius: 20px;
|
|
230
|
+
font-size: 14px;
|
|
231
|
+
font-style: normal;
|
|
232
|
+
font-weight: 500;
|
|
233
|
+
height: 32px;
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
justify-content: center;
|
|
237
|
+
|
|
238
|
+
&:hover {
|
|
239
|
+
background-color: #e3f2fd;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// User count info styling
|
|
244
|
+
.user-count-info {
|
|
245
|
+
.user-count {
|
|
246
|
+
font-weight: 500;
|
|
247
|
+
color: #212121;
|
|
248
|
+
// margin-bottom: 2px;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.user-label {
|
|
252
|
+
font-size: 12px;
|
|
253
|
+
color: #757575;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// Status icon cell styling
|
|
258
|
+
.status-icon-cell {
|
|
259
|
+
display: flex;
|
|
260
|
+
align-items: center;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
::ng-deep .action-wrapper {
|
|
265
|
+
display: flex;
|
|
266
|
+
align-items: center;
|
|
267
|
+
flex: 1;
|
|
268
|
+
justify-content: space-between;
|
|
269
|
+
gap: 1rem;
|
|
270
|
+
color: #555555;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.table-action-panel {
|
|
274
|
+
width: 100%;
|
|
275
|
+
display: flex;
|
|
276
|
+
justify-content: flex-start;
|
|
277
|
+
align-items: center;
|
|
278
|
+
gap: 1rem;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/// Play button
|
|
282
|
+
// Pay Button Icon - Circle with right arrow triangle
|
|
283
|
+
.pay-button-icon {
|
|
284
|
+
display: inline-flex;
|
|
285
|
+
align-items: center;
|
|
286
|
+
justify-content: center;
|
|
287
|
+
width: 22px;
|
|
288
|
+
height: 22px;
|
|
289
|
+
border-radius: 50%;
|
|
290
|
+
border: 1px solid #2c355d; // Light grey border
|
|
291
|
+
background-color: #ffffff;
|
|
292
|
+
cursor: pointer;
|
|
293
|
+
transition: all 0.3s ease;
|
|
294
|
+
position: relative;
|
|
295
|
+
|
|
296
|
+
// Blue right arrow triangle
|
|
297
|
+
&::after {
|
|
298
|
+
content: '';
|
|
299
|
+
width: 0;
|
|
300
|
+
height: 0;
|
|
301
|
+
border-left: 6px solid #2c355d; // Blue color
|
|
302
|
+
border-top: 4px solid transparent;
|
|
303
|
+
border-bottom: 4px solid transparent;
|
|
304
|
+
margin-left: 2px; // Slight offset to center visually
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// Hover effects
|
|
308
|
+
&:hover {
|
|
309
|
+
border-color: #2c355d;
|
|
310
|
+
background-color: #f8fafc;
|
|
311
|
+
transform: scale(1.05);
|
|
312
|
+
|
|
313
|
+
&::after {
|
|
314
|
+
border-left-color: #2c355d; // Darker blue on hover
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// Active/pressed state
|
|
319
|
+
&:active {
|
|
320
|
+
transform: scale(0.95);
|
|
321
|
+
background-color: #e2e8f0;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// Disabled state
|
|
325
|
+
&:disabled,
|
|
326
|
+
&.disabled {
|
|
327
|
+
opacity: 0.5;
|
|
328
|
+
cursor: not-allowed;
|
|
329
|
+
|
|
330
|
+
&:hover {
|
|
331
|
+
transform: none;
|
|
332
|
+
border-color: #d1d5db;
|
|
333
|
+
background-color: #ffffff;
|
|
334
|
+
|
|
335
|
+
&::after {
|
|
336
|
+
border-left-color: #2c355d;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// Size variations
|
|
343
|
+
.pay-button-icon {
|
|
344
|
+
// Small size
|
|
345
|
+
&.small {
|
|
346
|
+
width: 32px;
|
|
347
|
+
height: 32px;
|
|
348
|
+
border-width: 1.5px;
|
|
349
|
+
|
|
350
|
+
&::after {
|
|
351
|
+
border-left-width: 6px;
|
|
352
|
+
border-top-width: 5px;
|
|
353
|
+
border-bottom-width: 5px;
|
|
354
|
+
margin-left: 1px;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// Large size
|
|
359
|
+
&.large {
|
|
360
|
+
width: 48px;
|
|
361
|
+
height: 48px;
|
|
362
|
+
border-width: 2.5px;
|
|
363
|
+
|
|
364
|
+
&::after {
|
|
365
|
+
border-left-width: 10px;
|
|
366
|
+
border-top-width: 7px;
|
|
367
|
+
border-bottom-width: 7px;
|
|
368
|
+
margin-left: 3px;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Extra large size
|
|
373
|
+
&.xl {
|
|
374
|
+
width: 56px;
|
|
375
|
+
height: 56px;
|
|
376
|
+
border-width: 3px;
|
|
377
|
+
|
|
378
|
+
&::after {
|
|
379
|
+
border-left-width: 12px;
|
|
380
|
+
border-top-width: 8px;
|
|
381
|
+
border-bottom-width: 8px;
|
|
382
|
+
margin-left: 3px;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
// Animation for loading state
|
|
389
|
+
.pay-button-icon {
|
|
390
|
+
&.loading {
|
|
391
|
+
&::after {
|
|
392
|
+
display: none;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
&::before {
|
|
396
|
+
content: '';
|
|
397
|
+
width: 16px;
|
|
398
|
+
height: 16px;
|
|
399
|
+
border: 2px solid #2c355d;
|
|
400
|
+
//border-top-color: #2563eb;
|
|
401
|
+
border-radius: 50%;
|
|
402
|
+
animation: spin 1s linear infinite;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
@keyframes spin {
|
|
408
|
+
to {
|
|
409
|
+
transform: rotate(360deg);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// Usage with button text
|
|
414
|
+
.pay-button {
|
|
415
|
+
display: inline-flex;
|
|
416
|
+
align-items: center;
|
|
417
|
+
gap: 8px;
|
|
418
|
+
padding: 8px 16px;
|
|
419
|
+
background: none;
|
|
420
|
+
border: none;
|
|
421
|
+
cursor: pointer;
|
|
422
|
+
font-size: 14px;
|
|
423
|
+
font-weight: 500;
|
|
424
|
+
color: #2c355d;
|
|
425
|
+
transition: color 0.3s ease;
|
|
426
|
+
|
|
427
|
+
.pay-button-icon {
|
|
428
|
+
margin: 0;
|
|
429
|
+
}
|
|
430
|
+
}
|