@tuki-io/tuki-widgets 0.0.76 → 0.0.78
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/README.md +9 -10
- package/esm2020/lib/widgets.component.mjs +22 -0
- package/esm2020/lib/widgets.module.mjs +21 -0
- package/esm2020/lib/widgets.service.mjs +14 -0
- package/esm2020/public-api.mjs +7 -0
- package/esm2020/tuki-io-tuki-widgets.mjs +5 -0
- package/fesm2015/tuki-io-tuki-widgets.mjs +63 -0
- package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets.mjs +63 -0
- package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/widgets.component.d.ts +8 -0
- package/lib/widgets.module.d.ts +7 -0
- package/lib/widgets.service.d.ts +6 -0
- package/package.json +65 -48
- package/{projects/tuki/widgets/src/public-api.ts → public-api.d.ts} +0 -4
- package/.editorconfig +0 -16
- package/.hintrc +0 -14
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -141
- package/projects/tuki/widgets/README.md +0 -24
- package/projects/tuki/widgets/di2mt/api/api.endpoints.ts +0 -26
- package/projects/tuki/widgets/di2mt/assets/icons/already_upgraded.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/check2_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/check_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/details_d_icon.svg +0 -3
- package/projects/tuki/widgets/di2mt/assets/icons/expand_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/issue_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/menu_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/ready_to_upgrade.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/search_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/site.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/user.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/warning_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/ng-package.json +0 -7
- package/projects/tuki/widgets/di2mt/public-api.ts +0 -27
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.html +0 -11
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.scss +0 -48
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.ts +0 -10
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.html +0 -15
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.scss +0 -38
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.ts +0 -71
- package/projects/tuki/widgets/di2mt/shared/components/index.ts +0 -6
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.html +0 -57
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.scss +0 -74
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.ts +0 -44
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.html +0 -28
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.scss +0 -55
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.ts +0 -11
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.html +0 -12
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.scss +0 -79
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.ts +0 -27
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.html +0 -28
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.scss +0 -244
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.ts +0 -28
- package/projects/tuki/widgets/di2mt/shared/constants/app.constants.ts +0 -96
- package/projects/tuki/widgets/di2mt/shared/material.module.ts +0 -36
- package/projects/tuki/widgets/di2mt/shared/services/api.service.ts +0 -92
- package/projects/tuki/widgets/di2mt/shared/shared.module.ts +0 -38
- package/projects/tuki/widgets/di2mt/shared/types/constants.ts +0 -15
- package/projects/tuki/widgets/di2mt/shared/types/data-table.ts +0 -5
- package/projects/tuki/widgets/di2mt/shared/types/table/filter.ts +0 -14
- package/projects/tuki/widgets/di2mt/styles/tuki-widgets-theme.scss +0 -13
- package/projects/tuki/widgets/di2mt/styles/variables.scss +0 -92
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.html +0 -3
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.scss +0 -37
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.ts +0 -40
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.html +0 -158
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.scss +0 -430
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +0 -362
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +0 -33
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.service.ts +0 -102
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/types/user-upgrade.ts +0 -22
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.ts +0 -52
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.ts +0 -53
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.ts +0 -67
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.html +0 -7
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.scss +0 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.ts +0 -45
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.html +0 -7
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.scss +0 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.ts +0 -45
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.ts +0 -59
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.ts +0 -70
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/types/upgrade-overview.ts +0 -58
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.module.ts +0 -42
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.service.ts +0 -95
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/types/user-upgrade.ts +0 -19
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.html +0 -186
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.scss +0 -345
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +0 -313
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.module.ts +0 -34
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.service.ts +0 -79
- package/projects/tuki/widgets/karma.conf.js +0 -44
- package/projects/tuki/widgets/ng-package.json +0 -10
- package/projects/tuki/widgets/package.json +0 -13
- package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +0 -23
- package/projects/tuki/widgets/src/lib/widgets.component.ts +0 -20
- package/projects/tuki/widgets/src/lib/widgets.module.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.ts +0 -9
- package/projects/tuki/widgets/src/test.ts +0 -27
- package/projects/tuki/widgets/styles.scss +0 -572
- package/projects/tuki/widgets/tsconfig.lib.json +0 -36
- package/projects/tuki/widgets/tsconfig.lib.prod.json +0 -10
- package/projects/tuki/widgets/tsconfig.spec.json +0 -17
- package/projects/tuki/widgets/user-device-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-device-manage/public-api.ts +0 -8
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +0 -96
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +0 -292
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +0 -177
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +0 -41
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +0 -40
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +0 -169
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +0 -167
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +0 -19
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +0 -14
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +0 -80
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +0 -21
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +0 -97
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +0 -28
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +0 -20
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +0 -13
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +0 -4
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +0 -241
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +0 -500
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +0 -194
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +0 -27
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +0 -131
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +0 -209
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +0 -502
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +0 -354
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
- package/projects/tuki/widgets/user-device-manage/src/material.module.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +0 -17
- package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +0 -95
- package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +0 -111
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +0 -89
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +0 -82
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +0 -283
- package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +0 -829
- package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +0 -231
- package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +0 -32
- package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +0 -110
- package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +0 -73
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-manage/public-api.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +0 -50
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +0 -232
- package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +0 -43
- package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +0 -161
- package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-manage/src/classes/notification.ts +0 -39
- package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +0 -165
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +0 -49
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +0 -27
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +0 -131
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
- package/projects/tuki/widgets/user-manage/src/material.module.ts +0 -85
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +0 -116
- package/projects/tuki/widgets/user-manage/src/services/line.service.ts +0 -31
- package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-manage/src/services/user.service.ts +0 -242
- package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +0 -59
- package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +0 -71
- package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/user-manage/src/styles/form.scss +0 -231
- package/projects/tuki/widgets/user-manage/src/styles/icons.scss +0 -32
- package/projects/tuki/widgets/user-manage/src/styles/styles.scss +0 -110
- package/projects/tuki/widgets/user-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +0 -10
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +0 -429
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +0 -32
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +0 -444
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +0 -89
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +0 -29
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +0 -64
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +0 -19
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +0 -290
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +0 -463
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +0 -212
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +0 -63
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/ng-package.json +0 -7
- package/projects/tuki/widgets/users-list/public-api.ts +0 -8
- package/projects/tuki/widgets/users-list/src/app.constants.ts +0 -54
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +0 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +0 -14
- package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +0 -3
- package/projects/tuki/widgets/users-list/src/classes/app-location.ts +0 -36
- package/projects/tuki/widgets/users-list/src/classes/device.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/users-list/src/classes/move-user.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/notification.ts +0 -38
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +0 -74
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +0 -47
- package/projects/tuki/widgets/users-list/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/users-list/src/material.module.ts +0 -94
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +0 -37
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +0 -129
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +0 -46
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +0 -31
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +0 -20
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +0 -26
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +0 -222
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +0 -239
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +0 -206
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +0 -12
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +0 -36
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +0 -14
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/users-list/src/services/dns.service.ts +0 -128
- package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +0 -11
- package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +0 -59
- package/projects/tuki/widgets/users-list/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +0 -26
- package/projects/tuki/widgets/users-list/src/services/user.service.ts +0 -159
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +0 -139
- package/projects/tuki/widgets/users-list/src/styles/styles.scss +0 -572
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +0 -15
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +0 -103
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +0 -35
- package/projects/tuki/widgets/users-list/src/users-list.component.css +0 -4
- package/projects/tuki/widgets/users-list/src/users-list.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/users-list.component.html +0 -86
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +0 -572
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +0 -312
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +0 -63
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css +0 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +0 -32
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css +0 -45
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +0 -71
- package/projects/widgets-playground/src/app/app.component.html +0 -109
- package/projects/widgets-playground/src/app/app.component.scss +0 -15
- package/projects/widgets-playground/src/app/app.component.spec.ts +0 -31
- package/projects/widgets-playground/src/app/app.component.ts +0 -31
- package/projects/widgets-playground/src/app/app.module.ts +0 -43
- 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 +0 -13
- package/projects/widgets-playground/src/main.ts +0 -7
- package/projects/widgets-playground/src/styles.scss +0 -23
- package/projects/widgets-playground/tsconfig.app.json +0 -14
- package/projects/widgets-playground/tsconfig.spec.json +0 -14
- package/proxy.conf.js +0 -23
- package/tsconfig.json +0 -46
- /package/{projects/tuki/widgets/di2mt → di2mt}/README.md +0 -0
package/angular.json
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"newProjectRoot": "projects",
|
|
5
|
-
"projects": {
|
|
6
|
-
"@tuki-io/tuki-widgets": {
|
|
7
|
-
"projectType": "library",
|
|
8
|
-
"root": "projects/tuki/widgets",
|
|
9
|
-
"sourceRoot": "projects/tuki/widgets/src",
|
|
10
|
-
"prefix": "lib",
|
|
11
|
-
"architect": {
|
|
12
|
-
"build": {
|
|
13
|
-
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
14
|
-
"options": {
|
|
15
|
-
"project": "projects/tuki/widgets/ng-package.json"
|
|
16
|
-
},
|
|
17
|
-
"configurations": {
|
|
18
|
-
"production": {
|
|
19
|
-
"tsConfig": "projects/tuki/widgets/tsconfig.lib.prod.json"
|
|
20
|
-
},
|
|
21
|
-
"development": {
|
|
22
|
-
"tsConfig": "projects/tuki/widgets/tsconfig.lib.json"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"defaultConfiguration": "production"
|
|
26
|
-
},
|
|
27
|
-
"test": {
|
|
28
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
29
|
-
"options": {
|
|
30
|
-
"main": "projects/tuki/widgets/src/test.ts",
|
|
31
|
-
"tsConfig": "projects/tuki/widgets/tsconfig.spec.json",
|
|
32
|
-
"karmaConfig": "projects/tuki/widgets/karma.conf.js",
|
|
33
|
-
"assets": [
|
|
34
|
-
"projects/tuki/widgets/di2mt/assets"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"widgets-playground": {
|
|
41
|
-
"projectType": "application",
|
|
42
|
-
"schematics": {
|
|
43
|
-
"@schematics/angular:component": {
|
|
44
|
-
"style": "scss"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"root": "projects/widgets-playground",
|
|
48
|
-
"sourceRoot": "projects/widgets-playground/src",
|
|
49
|
-
"prefix": "app",
|
|
50
|
-
"architect": {
|
|
51
|
-
"build": {
|
|
52
|
-
"builder": "@angular-devkit/build-angular:browser",
|
|
53
|
-
"options": {
|
|
54
|
-
"outputPath": "dist/widgets-playground",
|
|
55
|
-
"index": "projects/widgets-playground/src/index.html",
|
|
56
|
-
"main": "projects/widgets-playground/src/main.ts",
|
|
57
|
-
"polyfills": [
|
|
58
|
-
"zone.js"
|
|
59
|
-
],
|
|
60
|
-
"tsConfig": "projects/widgets-playground/tsconfig.app.json",
|
|
61
|
-
"inlineStyleLanguage": "scss",
|
|
62
|
-
"assets": [
|
|
63
|
-
"projects/widgets-playground/src/favicon.ico",
|
|
64
|
-
"projects/widgets-playground/src/assets"
|
|
65
|
-
],
|
|
66
|
-
"styles": [
|
|
67
|
-
"projects/widgets-playground/src/styles.scss",
|
|
68
|
-
"node_modules/font-awesome/css/font-awesome.min.css"
|
|
69
|
-
],
|
|
70
|
-
"scripts": []
|
|
71
|
-
},
|
|
72
|
-
"configurations": {
|
|
73
|
-
"production": {
|
|
74
|
-
"budgets": [
|
|
75
|
-
{
|
|
76
|
-
"type": "initial",
|
|
77
|
-
"maximumWarning": "500kb",
|
|
78
|
-
"maximumError": "1mb"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"type": "anyComponentStyle",
|
|
82
|
-
"maximumWarning": "2kb",
|
|
83
|
-
"maximumError": "4kb"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"outputHashing": "all"
|
|
87
|
-
},
|
|
88
|
-
"development": {
|
|
89
|
-
"buildOptimizer": false,
|
|
90
|
-
"optimization": false,
|
|
91
|
-
"vendorChunk": true,
|
|
92
|
-
"extractLicenses": false,
|
|
93
|
-
"sourceMap": true,
|
|
94
|
-
"namedChunks": true
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"defaultConfiguration": "production"
|
|
98
|
-
},
|
|
99
|
-
"serve": {
|
|
100
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
101
|
-
"configurations": {
|
|
102
|
-
"production": {
|
|
103
|
-
"browserTarget": "widgets-playground:build:production"
|
|
104
|
-
},
|
|
105
|
-
"development": {
|
|
106
|
-
"browserTarget": "widgets-playground:build:development"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"defaultConfiguration": "development"
|
|
110
|
-
},
|
|
111
|
-
"extract-i18n": {
|
|
112
|
-
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
113
|
-
"options": {
|
|
114
|
-
"browserTarget": "widgets-playground:build"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"test": {
|
|
118
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
119
|
-
"options": {
|
|
120
|
-
"polyfills": [
|
|
121
|
-
"zone.js",
|
|
122
|
-
"zone.js/testing"
|
|
123
|
-
],
|
|
124
|
-
"tsConfig": "projects/widgets-playground/tsconfig.spec.json",
|
|
125
|
-
"inlineStyleLanguage": "scss",
|
|
126
|
-
"assets": [
|
|
127
|
-
"projects/widgets-playground/src/favicon.ico"
|
|
128
|
-
],
|
|
129
|
-
"styles": [
|
|
130
|
-
"projects/widgets-playground/src/styles.scss"
|
|
131
|
-
],
|
|
132
|
-
"scripts": []
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"cli": {
|
|
139
|
-
"analytics": false
|
|
140
|
-
}
|
|
141
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Widgets
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project widgets` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project widgets`.
|
|
8
|
-
> Note: Don't forget to add `--project widgets` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build widgets` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build widgets`, go to the dist folder `cd dist/widgets` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test widgets` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export const API = {
|
|
2
|
-
OVERVIEW: {
|
|
3
|
-
GET_UPGRADE_PRECONDITIONS: '/api/webex-upgrade/customers/:customerId/preconditions/fetch',
|
|
4
|
-
GET_SITE_INFRASTRUCTURE: '/api/webex-upgrade/customers/:customerId/infra/fetch',
|
|
5
|
-
GET_USERS_UPGRADE_SUMMARY: '/api/webex-upgrade/customers/:customerId/users/upgrade/fetch',
|
|
6
|
-
GET_SITES_UPGRADE_SUMMARY: '/api/webex-upgrade/customers/:customerId/sites/upgrade/fetch',
|
|
7
|
-
GET_USERS_UPGRADE_READINESS: '/api/webex-upgrade/customers/:customerId/users/readiness/fetch',
|
|
8
|
-
GET_SITES_UPGRADE_READINESS: '/api/webex-upgrade/customers/:customerId/sites/readiness/fetch'
|
|
9
|
-
},
|
|
10
|
-
USER_UPGRADE: {
|
|
11
|
-
GET_USERS_UPGRADE_DATA: '/api/webex-upgrade/customers/:customerId/user-upgrade',
|
|
12
|
-
GET_USERS_UPGRADE_STATUS_COUNTS: '/api/webex-upgrade/customers/:customerId/user-upgrades/status-counts',
|
|
13
|
-
UPGRADE_USER: '/api/migration/webex/sites/:siteId/users/:userId',
|
|
14
|
-
SINGLE_COLLECT: '/api/migration/webex/singlecollect/features/:featureName',
|
|
15
|
-
SINGLE_MIGRATION: '/api/migration/webex/singlemigration/features/:featureName'
|
|
16
|
-
},
|
|
17
|
-
SITE_UPGRADE: {
|
|
18
|
-
GET_SITES_UPGRADE_DATA: '/api/webex-upgrade/customers/:customerId/site-upgrades',
|
|
19
|
-
GET_SITES_UPGRADE_STATUS_COUNTS: '/api/webex-upgrade/customers/:customerId/site-upgrades/status-counts',
|
|
20
|
-
WEBEX_CACHE_COLLECTION: '/api/migration/:migrationType/sites/:siteId/collectbuildwebexcache',
|
|
21
|
-
UPGRADE_SITE: '/api/migration/webex/sites/:siteId',
|
|
22
|
-
WEBEX_BATCH_STATUS: "/api/migration/webex/customer/:customerId/batchesstatus",
|
|
23
|
-
MIGRATE_SITE: "/api/migration/webex/sites/:siteId/migrate",
|
|
24
|
-
BATCH_STATUS: "/api/e2emigration/batches-status/:customerId"
|
|
25
|
-
}
|
|
26
|
-
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M16.2115 19.5H17.0961V16H16.2115V19.5ZM16.6538 15.0865C16.7743 15.0929 16.8782 15.0509 16.9653 14.9606C17.0525 14.8702 17.0961 14.7647 17.0961 14.6442C17.0961 14.5237 17.0509 14.4199 16.9605 14.3327C16.8701 14.2455 16.7679 14.2019 16.6538 14.2019C16.5333 14.2019 16.4294 14.2455 16.3422 14.3327C16.2551 14.4199 16.2115 14.5237 16.2115 14.6442C16.2115 14.7583 16.2551 14.8606 16.3422 14.951C16.4294 15.0413 16.5333 15.0865 16.6538 15.0865ZM4.99997 3.99998V10.1827V10.1538V20V3.99998ZM7.25 13.75H10.7231C10.8679 13.4692 11.0307 13.2038 11.2115 12.9538C11.3923 12.7038 11.591 12.4692 11.8077 12.25H7.25V13.75ZM7.25 17.75H10.0173C9.98009 17.5 9.9615 17.2516 9.9615 17.0048C9.9615 16.758 9.97688 16.5064 10.0076 16.25H7.25V17.75ZM5.3077 21.5C4.80257 21.5 4.375 21.325 4.025 20.975C3.675 20.625 3.5 20.1974 3.5 19.6923V4.3077C3.5 3.80257 3.675 3.375 4.025 3.025C4.375 2.675 4.80257 2.5 5.3077 2.5H13.25L18.5 7.74995V10.425C18.2538 10.3506 18.0073 10.2933 17.7605 10.2529C17.5137 10.2125 17.2602 10.1891 17 10.1827V8.49995H12.5V3.99998H5.3077C5.23077 3.99998 5.16024 4.03203 5.09612 4.09613C5.03202 4.16024 4.99997 4.23077 4.99997 4.3077V19.6923C4.99997 19.7692 5.03202 19.8397 5.09612 19.9038C5.16024 19.9679 5.23077 20 5.3077 20H10.7615C10.9064 20.2871 11.0692 20.5557 11.25 20.8057C11.4307 21.0557 11.6327 21.2871 11.8557 21.5H5.3077ZM16.6538 12.3462C17.9025 12.3462 18.9647 12.784 19.8403 13.6596C20.7159 14.5352 21.1538 15.5974 21.1538 16.8461C21.1538 18.0948 20.7159 19.157 19.8403 20.0326C18.9647 20.9083 17.9025 21.3461 16.6538 21.3461C15.4051 21.3461 14.3429 20.9083 13.4673 20.0326C12.5916 19.157 12.1538 18.0948 12.1538 16.8461C12.1538 15.5974 12.5916 14.5352 13.4673 13.6596C14.3429 12.784 15.4051 12.3462 16.6538 12.3462Z" fill="#2C355D"/>
|
|
3
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of @tuki-io/tuki-widgets
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Shared Components
|
|
6
|
-
// export * from './shared/shared.module';
|
|
7
|
-
|
|
8
|
-
// Widget Modules
|
|
9
|
-
export * from './widgets/user-upgrade/user-upgrade.module';
|
|
10
|
-
export * from './widgets/site-upgrade/site-upgrade.module';
|
|
11
|
-
export * from './widgets/upgrade-overview/upgrade-overview.module';
|
|
12
|
-
|
|
13
|
-
// Components
|
|
14
|
-
// export * from './shared/components/index';
|
|
15
|
-
export * from './widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component';
|
|
16
|
-
export * from './widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component';
|
|
17
|
-
export * from './widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component';
|
|
18
|
-
export * from './widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component';
|
|
19
|
-
export * from './widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component';
|
|
20
|
-
export * from './widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component';
|
|
21
|
-
export * from './widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component';
|
|
22
|
-
export * from './widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component';
|
|
23
|
-
export * from './widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component';
|
|
24
|
-
export * from './widgets/site-upgrade/progress-bar/progress-bar.component';
|
|
25
|
-
|
|
26
|
-
// Types
|
|
27
|
-
// export * from './shared/types/data-table';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<article class="card">
|
|
2
|
-
<header class="card__header">
|
|
3
|
-
<h2>{{ title }}</h2>
|
|
4
|
-
<div class="card__menu-button">
|
|
5
|
-
<img width="18" src="assets/icons/menu_icon.png" alt="Menu Icon">
|
|
6
|
-
</div>
|
|
7
|
-
</header>
|
|
8
|
-
<div class="card__content">
|
|
9
|
-
<ng-content select="card-content"></ng-content>
|
|
10
|
-
</div>
|
|
11
|
-
</article>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import "../../../styles/variables.scss";
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
height: 100%;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.card {
|
|
10
|
-
font-family: $main-font;
|
|
11
|
-
background-color: white;
|
|
12
|
-
border-radius: 1rem;
|
|
13
|
-
padding: 2rem;
|
|
14
|
-
border: 1px solid hsl(0, 0%, 50%);
|
|
15
|
-
min-width: 300px;
|
|
16
|
-
// width: fit-content;
|
|
17
|
-
max-width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
gap: 2.5rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.card__header {
|
|
26
|
-
position: relative;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: space-between;
|
|
30
|
-
|
|
31
|
-
h2 {
|
|
32
|
-
font-size: 16px;
|
|
33
|
-
margin: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.card__menu-button {
|
|
37
|
-
position: relative;
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.card__content {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
gap: 2.5rem;
|
|
47
|
-
flex-grow: 1;
|
|
48
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<tk-card [title]="title">
|
|
2
|
-
<ng-container ngProjectAs="card-content">
|
|
3
|
-
<div class="chart-container">
|
|
4
|
-
<apx-chart
|
|
5
|
-
[series]="chartOptions.series"
|
|
6
|
-
[chart]="chartOptions.chart"
|
|
7
|
-
[labels]="chartOptions.labels"
|
|
8
|
-
[colors]="chartOptions.colors"
|
|
9
|
-
[legend]="chartOptions.legend"
|
|
10
|
-
[plotOptions]="chartOptions.plotOptions"
|
|
11
|
-
[dataLabels]="chartOptions.dataLabels">
|
|
12
|
-
</apx-chart>
|
|
13
|
-
</div>
|
|
14
|
-
</ng-container>
|
|
15
|
-
</tk-card>
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
width: 100%;
|
|
3
|
-
display: block;
|
|
4
|
-
height: 100%;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.chart-container {
|
|
9
|
-
width: 100%;
|
|
10
|
-
// height: 100%;
|
|
11
|
-
height: 220px;
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: flex-start;
|
|
14
|
-
align-items: center;
|
|
15
|
-
padding: 0;
|
|
16
|
-
|
|
17
|
-
apx-chart {
|
|
18
|
-
width: 100%;
|
|
19
|
-
max-width: 400px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Override ApexCharts legend styles to match the design
|
|
24
|
-
:host ::ng-deep .apexcharts-legend {
|
|
25
|
-
display: flex !important;
|
|
26
|
-
flex-direction: column !important;
|
|
27
|
-
justify-content: center !important;
|
|
28
|
-
// height: 100% !important;
|
|
29
|
-
|
|
30
|
-
.apexcharts-legend-marker {
|
|
31
|
-
border-radius: 2px !important;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.apexcharts-legend-text {
|
|
35
|
-
font-weight: 500 !important;
|
|
36
|
-
color: #333 !important;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Component, Input, OnInit } from "@angular/core";
|
|
2
|
-
import { ApexChart, ApexPlotOptions, ApexLegend, ApexDataLabels, ApexNonAxisChartSeries } from "ng-apexcharts";
|
|
3
|
-
|
|
4
|
-
export type ChartOptions = {
|
|
5
|
-
series: ApexNonAxisChartSeries;
|
|
6
|
-
chart: ApexChart;
|
|
7
|
-
labels: string[];
|
|
8
|
-
colors: string[];
|
|
9
|
-
legend: ApexLegend;
|
|
10
|
-
plotOptions: ApexPlotOptions;
|
|
11
|
-
dataLabels: ApexDataLabels;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
@Component({
|
|
15
|
-
selector: 'tk-chart-card',
|
|
16
|
-
templateUrl: './chart-card.component.html',
|
|
17
|
-
styleUrls: ['./chart-card.component.scss']
|
|
18
|
-
})
|
|
19
|
-
export class ChartCardComponent implements OnInit {
|
|
20
|
-
@Input() title!: string;
|
|
21
|
-
@Input() totalUpgraded!: number;
|
|
22
|
-
@Input() totalNotUpgraded!: number;
|
|
23
|
-
|
|
24
|
-
public chartOptions!: ChartOptions;
|
|
25
|
-
|
|
26
|
-
ngOnInit() {
|
|
27
|
-
this.initChartOptions();
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
private initChartOptions(): void {
|
|
31
|
-
if (this.totalUpgraded === 0)
|
|
32
|
-
this.totalNotUpgraded = 100;
|
|
33
|
-
|
|
34
|
-
this.chartOptions = {
|
|
35
|
-
series: [this.totalUpgraded, this.totalNotUpgraded],
|
|
36
|
-
chart: {
|
|
37
|
-
type: "donut",
|
|
38
|
-
height: 250
|
|
39
|
-
},
|
|
40
|
-
labels: ["MT", "DI"],
|
|
41
|
-
colors: ["#808080", "#2E8B57"],
|
|
42
|
-
legend: {
|
|
43
|
-
position: "right",
|
|
44
|
-
offsetY: 0,
|
|
45
|
-
fontSize: "14px",
|
|
46
|
-
markers: {
|
|
47
|
-
width: 16,
|
|
48
|
-
height: 16,
|
|
49
|
-
radius: 2
|
|
50
|
-
},
|
|
51
|
-
itemMargin: {
|
|
52
|
-
horizontal: 20,
|
|
53
|
-
vertical: 2
|
|
54
|
-
},
|
|
55
|
-
formatter: function (seriesName, opts) {
|
|
56
|
-
return seriesName + " " + ((opts.w.globals.series[opts.seriesIndex] / (opts.w.globals.series[0] + opts.w.globals.series[1]) * 100) >> 0) + "%";
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
plotOptions: {
|
|
60
|
-
pie: {
|
|
61
|
-
donut: {
|
|
62
|
-
size: "75%"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
dataLabels: {
|
|
67
|
-
enabled: false
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './card/card.component';
|
|
2
|
-
export * from './chart-card/chart-card.component';
|
|
3
|
-
export * from './stat-card/stat-card.component';
|
|
4
|
-
export * from './status-list-card/status-list-card.component';
|
|
5
|
-
export * from './summary-card/summary-card.component';
|
|
6
|
-
export * from './table-filters/table-filters.component';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<tk-card [title]="title">
|
|
2
|
-
<ng-container ngProjectAs="card-content">
|
|
3
|
-
<div class="card__content-info">
|
|
4
|
-
<div class="card__content-wrapper">
|
|
5
|
-
<img width="42" [src]="'assets/icons/' + type + '.png'" alt="" />
|
|
6
|
-
<div class="card__content-text">
|
|
7
|
-
<div class="card__content-label">
|
|
8
|
-
{{ upgradeStatus === 'ready' ? stats?.totalReady : stats?.totalUpgraded }}
|
|
9
|
-
{{ type === 'user' ? 'Users' : 'Sites' }}</div>
|
|
10
|
-
<div class="card__content-description">{{ upgradeStatus === 'ready' ? 'Ready to Upgrade' : 'Already Upgraded' }}</div>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="card__content-wrapper">
|
|
14
|
-
<img
|
|
15
|
-
*ngIf="upgradeStatus === 'ready'"
|
|
16
|
-
height="48"
|
|
17
|
-
src="assets/icons/ready_to_upgrade.png"
|
|
18
|
-
alt=""
|
|
19
|
-
/>
|
|
20
|
-
<img
|
|
21
|
-
*ngIf="upgradeStatus === 'already'"
|
|
22
|
-
height="48"
|
|
23
|
-
src="assets/icons/already_upgraded.png"
|
|
24
|
-
alt=""
|
|
25
|
-
/>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="card__content-progress-wrapper">
|
|
29
|
-
<div class="card__content-progress">
|
|
30
|
-
<div class="card__content-progress-label">
|
|
31
|
-
<span>{{ readyPercentage }}%</span>
|
|
32
|
-
<span>From all {{ stats?.total }} {{ type === 'user' ? 'users' : 'sites' }}</span>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="card__content-progress-bar">
|
|
35
|
-
<div
|
|
36
|
-
class="card__content-progress-bar-fill ready"
|
|
37
|
-
[class.already]="upgradeStatus === 'already'"
|
|
38
|
-
[style.width.%]="readyPercentage"
|
|
39
|
-
></div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div *ngIf="upgradeStatus === 'already'" class="card__content-progress">
|
|
43
|
-
<div class="card__content-progress-label">
|
|
44
|
-
<span>{{ upgradedPercentage }}%</span>
|
|
45
|
-
<span>From all {{ stats?.totalReady }} ready {{ type === 'user' ? 'users' : 'sites' }}</span>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="card__content-progress-bar">
|
|
48
|
-
<div
|
|
49
|
-
class="card__content-progress-bar-fill ready"
|
|
50
|
-
[class.already]="upgradeStatus === 'already'"
|
|
51
|
-
[style.width.%]="upgradedPercentage"
|
|
52
|
-
></div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</ng-container>
|
|
57
|
-
</tk-card>
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
height: 100%;
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.card__content-info {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.card__content-text {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
gap: 0.25rem;
|
|
17
|
-
|
|
18
|
-
.card__content-label {
|
|
19
|
-
font-size: 20px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.card__content-description {
|
|
23
|
-
font-size: 12px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.card__content-wrapper {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
gap: 1rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.card__content-wrapper:first-child {
|
|
35
|
-
display: flex;
|
|
36
|
-
gap: 0.5rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.card__content-progress-wrapper {
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: column;
|
|
42
|
-
gap: 1rem;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.card__content-progress {
|
|
46
|
-
display: flex;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
gap: 0.25rem;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
|
|
51
|
-
.card__content-progress-label {
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: space-between;
|
|
55
|
-
padding: 0.05rem;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.card__content-progress-bar {
|
|
59
|
-
background-color: #ededed;
|
|
60
|
-
border-radius: 10rem;
|
|
61
|
-
.card__content-progress-bar-fill {
|
|
62
|
-
height: 10px;
|
|
63
|
-
border-radius: inherit;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.ready {
|
|
69
|
-
background-color: #1170cf;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.already {
|
|
73
|
-
background-color: #1d805f;
|
|
74
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Component, Input, OnInit } from "@angular/core";
|
|
2
|
-
import { SitesUpgradeReadiness, SitesUpgradeSummary, UsersUpgradeReadiness, UsersUpgradeSummary } from "../../../widgets/upgrade-overview/types/upgrade-overview";
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'tk-stat-card',
|
|
6
|
-
templateUrl: './stat-card.component.html',
|
|
7
|
-
styleUrls: ['./stat-card.component.scss']
|
|
8
|
-
})
|
|
9
|
-
export class StatCardComponent implements OnInit {
|
|
10
|
-
@Input() title!: string;
|
|
11
|
-
@Input() type!: 'site' | 'user';
|
|
12
|
-
@Input() readinessStats: any;
|
|
13
|
-
@Input() upgradeStatus!: 'ready' | 'already';
|
|
14
|
-
|
|
15
|
-
stats: any;
|
|
16
|
-
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
if (this.type === 'user') {
|
|
19
|
-
this.stats = {
|
|
20
|
-
id: this.readinessStats?.id,
|
|
21
|
-
customerId: this.readinessStats?.customerId,
|
|
22
|
-
total: this.readinessStats?.['totalUsers'],
|
|
23
|
-
totalReady: this.readinessStats?.['totalReadyUsers'],
|
|
24
|
-
totalUpgraded: this.readinessStats?.['totalUpgradedUsers'],
|
|
25
|
-
}
|
|
26
|
-
} else {
|
|
27
|
-
this.stats = {
|
|
28
|
-
id: this.readinessStats?.id,
|
|
29
|
-
customerId: this.readinessStats?.customerId,
|
|
30
|
-
total: this.readinessStats?.['totalSites'],
|
|
31
|
-
totalReady: this.readinessStats?.['totalReadySites'],
|
|
32
|
-
totalUpgraded: this.readinessStats?.['totalUpgradedSites'],
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
get readyPercentage() {
|
|
38
|
-
return (this.stats?.totalReady / this.stats?.total * 100) >> 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
get upgradedPercentage() {
|
|
42
|
-
return (this.stats?.totalUpgraded / this.stats?.total * 100) >> 0;
|
|
43
|
-
}
|
|
44
|
-
}
|