@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
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<div class="flex-box pagination">
|
|
2
|
-
<div class="page-indexes-box">
|
|
3
|
-
<mat-paginator
|
|
4
|
-
[id]="'commonPagination'"
|
|
5
|
-
[hidePageSize]="true"
|
|
6
|
-
[length]="pagination.total"
|
|
7
|
-
[pageIndex]="pagination.pageIndex"
|
|
8
|
-
[pageSize]="pagination.pageSize"
|
|
9
|
-
[pageSizeOptions]="pagination.pageSizeOptions || [5, 10, 25, 100]"
|
|
10
|
-
(page)="pageEvent($event)">
|
|
11
|
-
</mat-paginator>
|
|
12
|
-
<mat-spinner class="length-spinner" [diameter]="20" mode="indeterminate" *ngIf="lengthPending">
|
|
13
|
-
</mat-spinner>
|
|
14
|
-
</div>
|
|
15
|
-
|
|
16
|
-
<div class="flex-box per-page-block" *ngIf="showPageSizeOptions">
|
|
17
|
-
<div class="item_per_page">Items per page:</div>
|
|
18
|
-
<div class="select-box select-page-size">
|
|
19
|
-
<mat-select [(ngModel)]="pagination.pageSize" (selectionChange)="changePerPageNumber($event)" #page
|
|
20
|
-
[id]="'commonPaginationSelect'">
|
|
21
|
-
<mat-option *ngFor="let option of pageSizeOptions; let i = index;" [id]="'paginationSelectOpt_' + i" [value]="option">{{option}}</mat-option>
|
|
22
|
-
</mat-select>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
.search-header-refresh-icon {
|
|
2
|
-
align-items: center;
|
|
3
|
-
line-height: 54px;
|
|
4
|
-
margin-left: 10px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
button[mat-icon-button] {
|
|
8
|
-
i {
|
|
9
|
-
font-size: 18px;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
mat-spinner.length-spinner {
|
|
14
|
-
position: absolute;
|
|
15
|
-
right: 120px;
|
|
16
|
-
}
|
|
17
|
-
h3, .search-header-refresh-icon {
|
|
18
|
-
float: left;
|
|
19
|
-
}
|
|
20
|
-
.page-options, .mat-paginator {
|
|
21
|
-
float: right;
|
|
22
|
-
}
|
|
23
|
-
.per-page-block mat-form-field {
|
|
24
|
-
width: 70px !important;
|
|
25
|
-
}
|
|
26
|
-
.per-page-block span {
|
|
27
|
-
margin-right: 20px;
|
|
28
|
-
}
|
|
29
|
-
.pagination {
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: flex-end;
|
|
32
|
-
}
|
|
33
|
-
.select-page-size {
|
|
34
|
-
width: 60px;
|
|
35
|
-
margin: 0 0 0 15px;
|
|
36
|
-
padding: 0 10px;
|
|
37
|
-
}
|
|
38
|
-
.item_per_page {
|
|
39
|
-
line-height: 35px;
|
|
40
|
-
}
|
|
41
|
-
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { PaginationDataDto } from '../../classes/pagination';
|
|
3
|
-
import { PAGINATION_SIZE_OPTIONS } from '../../app.constants';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'app-pagination',
|
|
8
|
-
templateUrl: './pagination.component.html',
|
|
9
|
-
styleUrls: ['./pagination.component.scss'],
|
|
10
|
-
})
|
|
11
|
-
export class PaginationComponent implements OnInit{
|
|
12
|
-
@Input()
|
|
13
|
-
public pagination!: PaginationDataDto;
|
|
14
|
-
@Input()
|
|
15
|
-
public showPageSizeOptions!: boolean;
|
|
16
|
-
@Input()
|
|
17
|
-
public showRefreshButton!: boolean;
|
|
18
|
-
@Input()
|
|
19
|
-
public lengthPending!: boolean;
|
|
20
|
-
@Output()
|
|
21
|
-
public pageEmitter = new EventEmitter();
|
|
22
|
-
@Output()
|
|
23
|
-
public pageNumberChangeEmitter = new EventEmitter<any>();
|
|
24
|
-
public pageSizeOptions: number[] = PAGINATION_SIZE_OPTIONS;
|
|
25
|
-
|
|
26
|
-
constructor(
|
|
27
|
-
) {
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
ngOnInit(): void {
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
public pageEvent(event: any) {
|
|
34
|
-
this.pageEmitter.emit(event);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
public changePerPageNumber(event: any) {
|
|
38
|
-
this.pageNumberChangeEmitter.emit(event.value);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Injectable()
|
|
4
|
-
export class UtilsService {
|
|
5
|
-
|
|
6
|
-
static sortSortArrayByProperty(array: [], sortBy: string) {
|
|
7
|
-
if (!array) {
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
return array.sort((a, b) => {
|
|
11
|
-
if (!a[sortBy] && !b[sortBy]) {
|
|
12
|
-
return 0;
|
|
13
|
-
}
|
|
14
|
-
if (a[sortBy] && !b[sortBy]) {
|
|
15
|
-
return 1;
|
|
16
|
-
}
|
|
17
|
-
if (!a[sortBy] && b[sortBy]) {
|
|
18
|
-
return -1;
|
|
19
|
-
}
|
|
20
|
-
const positionA = a[sortBy];
|
|
21
|
-
const positionB = b[sortBy];
|
|
22
|
-
return (positionA < positionB) ? -1 : (positionA > positionB) ? 1 : 0;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
static diff(origObject: any, updatedObj: any, path: string, keysToIgnore?: string[]) {
|
|
27
|
-
let result: any = [];
|
|
28
|
-
if (Object.is(origObject, updatedObj)) {
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
|
-
if (!updatedObj || typeof updatedObj !== 'object') {
|
|
32
|
-
return updatedObj;
|
|
33
|
-
}
|
|
34
|
-
const concat = Array.from(new Set([...Object.keys(origObject || {}), ...Object.keys(updatedObj || {})]));
|
|
35
|
-
const filter = keysToIgnore ? concat.filter(key => !keysToIgnore.includes(key)) : concat;
|
|
36
|
-
filter
|
|
37
|
-
.forEach(key => {
|
|
38
|
-
if (typeof updatedObj[key] === 'object' && typeof origObject[key] === 'object') {
|
|
39
|
-
if (UtilsService.differs(updatedObj[key], origObject[key])) {
|
|
40
|
-
const newPath = `${path}${path ? '.' : ''}${key}`;
|
|
41
|
-
const values = UtilsService.diff(origObject[key], updatedObj[key], newPath, keysToIgnore);
|
|
42
|
-
if (values !== undefined) {
|
|
43
|
-
result = [...result, ...values];
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
} else if (updatedObj && !origObject || updatedObj[key] !== origObject[key] && !Object.is(origObject[key], updatedObj[key])) {
|
|
47
|
-
const value = updatedObj ? UtilsService.formatIfEmpty(updatedObj[key]) : null;
|
|
48
|
-
result.push(`${path}${path ? '.' : ''}${key}=${value}`);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
return result;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
static formatIfEmpty(value: any) {
|
|
55
|
-
if (value) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
switch (typeof value) {
|
|
59
|
-
case 'boolean':
|
|
60
|
-
return value;
|
|
61
|
-
case 'string':
|
|
62
|
-
return '';
|
|
63
|
-
default:
|
|
64
|
-
return null;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
static differs(obj1: any, obj2: any): boolean {
|
|
69
|
-
return JSON.stringify(obj1) !== JSON.stringify(obj2);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
<div class="wrapper">
|
|
2
|
-
<div class="sidebach"></div>
|
|
3
|
-
|
|
4
|
-
<div
|
|
5
|
-
class="content"
|
|
6
|
-
style="display: flex; gap: 1rem; flex-direction: column; padding: 1rem"
|
|
7
|
-
role="main"
|
|
8
|
-
>
|
|
9
|
-
<div style="display: flex; flex-direction: column; gap: 1rem">
|
|
10
|
-
<!-- <app-users-list
|
|
11
|
-
(switchToWizard)="(null)"
|
|
12
|
-
[customerId]="1477"
|
|
13
|
-
[siteId]="7095"
|
|
14
|
-
[token]="token"
|
|
15
|
-
(openUser)="(null)"
|
|
16
|
-
[host]="'https://dev.tuki.io'">
|
|
17
|
-
</app-users-list>
|
|
18
|
-
|
|
19
|
-
<app-user-manage-widget
|
|
20
|
-
#usermanage
|
|
21
|
-
(onSave)="(null)"
|
|
22
|
-
(onChange)="(null)"
|
|
23
|
-
(goBack)="(null)"
|
|
24
|
-
[siteId]="7095"
|
|
25
|
-
[userId]="'170720250055'"
|
|
26
|
-
[isLdap]="true"
|
|
27
|
-
[token]="token"
|
|
28
|
-
(selectDevice)="(null)"
|
|
29
|
-
[host]="'https://dev.tuki.io'">
|
|
30
|
-
</app-user-manage-widget> -->
|
|
31
|
-
|
|
32
|
-
<app-device-manage-widget
|
|
33
|
-
#devicemanage
|
|
34
|
-
(onSave)="(null)"
|
|
35
|
-
(onChange)="(null)"
|
|
36
|
-
(discardChanges)="(null)"
|
|
37
|
-
(goBack)="(null)"
|
|
38
|
-
[siteId]="7095"
|
|
39
|
-
[userId]="'170720250055'"
|
|
40
|
-
[isLdap]="true"
|
|
41
|
-
[token]="token"
|
|
42
|
-
[deviceName]="'SEP654345633333'"
|
|
43
|
-
[host]="'https://dev.tuki.io'">
|
|
44
|
-
</app-device-manage-widget>
|
|
45
|
-
</div>
|
|
46
|
-
|
|
47
|
-
<!-- <br />
|
|
48
|
-
|
|
49
|
-
<tk-ready-to-upgrade-users-card
|
|
50
|
-
[token]="token"
|
|
51
|
-
[customerId]="'1477'"
|
|
52
|
-
></tk-ready-to-upgrade-users-card>
|
|
53
|
-
<tk-ready-to-upgrade-sites-card
|
|
54
|
-
[token]="token"
|
|
55
|
-
[customerId]="'1477'"
|
|
56
|
-
></tk-ready-to-upgrade-sites-card>
|
|
57
|
-
<tk-already-upgraded-users-card
|
|
58
|
-
[token]="token"
|
|
59
|
-
[customerId]="'1477'"
|
|
60
|
-
></tk-already-upgraded-users-card>
|
|
61
|
-
<tk-already-upgraded-sites-card
|
|
62
|
-
[token]="token"
|
|
63
|
-
[customerId]="'1477'"
|
|
64
|
-
></tk-already-upgraded-sites-card>
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
<div style="display: flex; gap: 1rem">
|
|
68
|
-
<tk-preconditions-status-list-card
|
|
69
|
-
[token]="token"
|
|
70
|
-
[customerId]="'1477'"
|
|
71
|
-
></tk-preconditions-status-list-card>
|
|
72
|
-
<tk-site-infrastructure-status-list-card
|
|
73
|
-
[token]="token"
|
|
74
|
-
[customerId]="'1477'"
|
|
75
|
-
></tk-site-infrastructure-status-list-card>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<div style="display: flex; gap: 1rem">
|
|
79
|
-
<tk-upgrade-state-comparison-chart-card
|
|
80
|
-
[token]="token"
|
|
81
|
-
[type]="'Users'"
|
|
82
|
-
[customerId]="'1477'"
|
|
83
|
-
></tk-upgrade-state-comparison-chart-card>
|
|
84
|
-
<tk-upgrade-state-comparison-chart-card
|
|
85
|
-
[token]="token"
|
|
86
|
-
[type]="'Sites'"
|
|
87
|
-
[customerId]="'1477'"
|
|
88
|
-
></tk-upgrade-state-comparison-chart-card>
|
|
89
|
-
</div>
|
|
90
|
-
|
|
91
|
-
<tk-user-upgrade-data-table
|
|
92
|
-
[token]="token"
|
|
93
|
-
[customerId]="'1477'"
|
|
94
|
-
></tk-user-upgrade-data-table>
|
|
95
|
-
|
|
96
|
-
<tk-site-upgrade-data-table
|
|
97
|
-
[token]="token"
|
|
98
|
-
[customerId]="'1477'"
|
|
99
|
-
></tk-site-upgrade-data-table> -->
|
|
100
|
-
<!-- </div> -->
|
|
101
|
-
</div>
|
|
102
|
-
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
|
|
103
|
-
<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->
|
|
104
|
-
<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->
|
|
105
|
-
<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->
|
|
106
|
-
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
|
|
107
|
-
<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->
|
|
108
|
-
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
|
|
109
|
-
</div>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
body, html {
|
|
2
|
-
padding: 1rem;
|
|
3
|
-
/* Remove height: 1000vh; */
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.wrapper {
|
|
7
|
-
display: flex;
|
|
8
|
-
// min-height: 100vh; /* At least viewport height, grows with content */
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.sidebach {
|
|
12
|
-
width: 350px;
|
|
13
|
-
background-color: rgb(217, 217, 217);
|
|
14
|
-
/* height: 100%; Remove this, let .wrapper control height */
|
|
15
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { TestBed } from '@angular/core/testing';
|
|
2
|
-
import { AppComponent } from './app.component';
|
|
3
|
-
|
|
4
|
-
describe('AppComponent', () => {
|
|
5
|
-
beforeEach(async () => {
|
|
6
|
-
await TestBed.configureTestingModule({
|
|
7
|
-
declarations: [
|
|
8
|
-
AppComponent
|
|
9
|
-
],
|
|
10
|
-
}).compileComponents();
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
it('should create the app', () => {
|
|
14
|
-
const fixture = TestBed.createComponent(AppComponent);
|
|
15
|
-
const app = fixture.componentInstance;
|
|
16
|
-
expect(app).toBeTruthy();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
it(`should have as title 'widgets-playground'`, () => {
|
|
20
|
-
const fixture = TestBed.createComponent(AppComponent);
|
|
21
|
-
const app = fixture.componentInstance;
|
|
22
|
-
expect(app.title).toEqual('widgets-playground');
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it('should render title', () => {
|
|
26
|
-
const fixture = TestBed.createComponent(AppComponent);
|
|
27
|
-
fixture.detectChanges();
|
|
28
|
-
const compiled = fixture.nativeElement as HTMLElement;
|
|
29
|
-
expect(compiled.querySelector('.content span')?.textContent).toContain('widgets-playground app is running!');
|
|
30
|
-
});
|
|
31
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { catchError, Observable, of, pipe, throwError } from 'rxjs';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'app-root',
|
|
6
|
-
templateUrl: './app.component.html',
|
|
7
|
-
styleUrls: ['./app.component.scss']
|
|
8
|
-
})
|
|
9
|
-
export class AppComponent {
|
|
10
|
-
title = 'widgets-playground';
|
|
11
|
-
|
|
12
|
-
token: string = 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbkBjb3JyZW5ldC5jb20iLCJyb2xlcyI6IlNVUEVSX1VTRVIiLCJpYXQiOjE3NTczMTg5MDYsImV4cCI6MTc1NzMzNjkwNn0.qprvJ5DftZDZRLQlBSPQM-K19v8liikt70IX9z6wM0w';
|
|
13
|
-
// constructor() {
|
|
14
|
-
|
|
15
|
-
// const o1 = new Observable(observer => {
|
|
16
|
-
// observer.next(100);
|
|
17
|
-
// observer.error(200);
|
|
18
|
-
// observer.complete();
|
|
19
|
-
// });
|
|
20
|
-
// const o2 = new Observable(observer => {
|
|
21
|
-
// observer.error('Hola Error');
|
|
22
|
-
// });
|
|
23
|
-
|
|
24
|
-
// o1.subscribe(o => {
|
|
25
|
-
// console.log('---> ', o);
|
|
26
|
-
// o2.subscribe(_o => {
|
|
27
|
-
// console.log('__>>', _o);
|
|
28
|
-
// });
|
|
29
|
-
// });
|
|
30
|
-
// }
|
|
31
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
3
|
-
|
|
4
|
-
import { AppComponent } from './app.component';
|
|
5
|
-
import { SharedModule } from '../../../tuki/widgets/di2mt/shared/shared.module';
|
|
6
|
-
import { UpgradeOverviewModule } from 'projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.module';
|
|
7
|
-
import { UserUpgradeModule } from 'projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.module';
|
|
8
|
-
import { SiteUpgradeModule } from 'projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module';
|
|
9
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
10
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
12
|
-
import { MatInputModule } from '@angular/material/input';
|
|
13
|
-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
14
|
-
import { CommonModule } from '@angular/common';
|
|
15
|
-
import { UsersListModule } from 'projects/tuki/widgets/users-list/public-api';
|
|
16
|
-
import { UserManageModule } from 'projects/tuki/widgets/user-manage/public-api';
|
|
17
|
-
import { UserDeviceManageModule } from 'projects/tuki/widgets/user-device-manage/public-api';
|
|
18
|
-
|
|
19
|
-
@NgModule({
|
|
20
|
-
declarations: [
|
|
21
|
-
AppComponent
|
|
22
|
-
],
|
|
23
|
-
imports: [
|
|
24
|
-
BrowserModule,
|
|
25
|
-
CommonModule,
|
|
26
|
-
BrowserAnimationsModule,
|
|
27
|
-
SharedModule,
|
|
28
|
-
UpgradeOverviewModule,
|
|
29
|
-
UserUpgradeModule,
|
|
30
|
-
SiteUpgradeModule,
|
|
31
|
-
MatCheckboxModule,
|
|
32
|
-
UsersListModule,
|
|
33
|
-
UserManageModule,
|
|
34
|
-
UserDeviceManageModule,
|
|
35
|
-
FormsModule,
|
|
36
|
-
ReactiveFormsModule,
|
|
37
|
-
MatFormFieldModule,
|
|
38
|
-
MatInputModule
|
|
39
|
-
],
|
|
40
|
-
providers: [],
|
|
41
|
-
bootstrap: [AppComponent]
|
|
42
|
-
})
|
|
43
|
-
export class AppModule { }
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<title>WidgetsPlayground</title>
|
|
6
|
-
<base href="/">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
-
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<app-root></app-root>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/* You can add global styles to this file, and also import other style files */
|
|
2
|
-
|
|
3
|
-
// Import Angular Material prebuilt theme
|
|
4
|
-
@import '~@angular/material/prebuilt-themes/indigo-pink.css';
|
|
5
|
-
|
|
6
|
-
// Import Material Icons font
|
|
7
|
-
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
|
|
8
|
-
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
|
|
9
|
-
|
|
10
|
-
// Reset and basic styling
|
|
11
|
-
* {
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
html, body {
|
|
16
|
-
height: 100%;
|
|
17
|
-
margin: 0;
|
|
18
|
-
padding: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
body {
|
|
22
|
-
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
23
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/app",
|
|
6
|
-
"types": []
|
|
7
|
-
},
|
|
8
|
-
"files": [
|
|
9
|
-
"src/main.ts"
|
|
10
|
-
],
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*.d.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/spec",
|
|
6
|
-
"types": [
|
|
7
|
-
"jasmine"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"src/**/*.spec.ts",
|
|
12
|
-
"src/**/*.d.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|
package/proxy.conf.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
module.exports = [
|
|
2
|
-
{
|
|
3
|
-
context: [
|
|
4
|
-
"/api",
|
|
5
|
-
"/restorepassword",
|
|
6
|
-
"/logout",
|
|
7
|
-
"/registration",
|
|
8
|
-
"/docs",
|
|
9
|
-
"/swagger-ui",
|
|
10
|
-
"/v3/api-docs"
|
|
11
|
-
],
|
|
12
|
-
// target: "http://192.168.0.103:8080",
|
|
13
|
-
// target: "http:// 192.168.0.191:8080",
|
|
14
|
-
// target: "http://localhost:3000",
|
|
15
|
-
// target: "http://localhost:8088",
|
|
16
|
-
// target: "https://dev.tuki.io/webex",
|
|
17
|
-
target: "https://dev.tuki.io/webex",
|
|
18
|
-
// target: "http://192.168.10.56:8080",
|
|
19
|
-
secure: false
|
|
20
|
-
}
|
|
21
|
-
];
|
|
22
|
-
|
|
23
|
-
|
package/tsconfig.json
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"compileOnSave": false,
|
|
4
|
-
"build": {
|
|
5
|
-
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
6
|
-
"options": {
|
|
7
|
-
"preserveSymlinks": true,
|
|
8
|
-
"tsConfig": "projects/button/tsconfig.lib.json",
|
|
9
|
-
"project": "projects/button/ng-package.json"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"compilerOptions": {
|
|
13
|
-
"preserveSymlinks": true,
|
|
14
|
-
"paths": {
|
|
15
|
-
"@tuki/widgets": [
|
|
16
|
-
"dist/tuki/widgets"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"baseUrl": "./",
|
|
20
|
-
"outDir": "./dist/out-tsc",
|
|
21
|
-
"forceConsistentCasingInFileNames": true,
|
|
22
|
-
"strict": true,
|
|
23
|
-
"noImplicitOverride": true,
|
|
24
|
-
"noPropertyAccessFromIndexSignature": true,
|
|
25
|
-
"noImplicitReturns": true,
|
|
26
|
-
"noFallthroughCasesInSwitch": true,
|
|
27
|
-
"sourceMap": true,
|
|
28
|
-
"declaration": false,
|
|
29
|
-
"downlevelIteration": true,
|
|
30
|
-
"experimentalDecorators": true,
|
|
31
|
-
"moduleResolution": "node",
|
|
32
|
-
"importHelpers": true,
|
|
33
|
-
"target": "es2020",
|
|
34
|
-
"module": "es2020",
|
|
35
|
-
"lib": [
|
|
36
|
-
"es2020",
|
|
37
|
-
"dom"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"angularCompilerOptions": {
|
|
41
|
-
"enableI18nLegacyMessageIdFormat": false,
|
|
42
|
-
"strictInjectionParameters": true,
|
|
43
|
-
"strictInputAccessModifiers": true,
|
|
44
|
-
"strictTemplates": true
|
|
45
|
-
}
|
|
46
|
-
}
|
|
File without changes
|