@tuki-io/tuki-widgets 0.0.133 → 0.0.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +16 -0
- package/.hintrc +14 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +10 -9
- package/angular.json +141 -0
- package/package.json +49 -73
- package/projects/tuki/widgets/README.md +24 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/cc-readiness.module.ts +44 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/cc-readiness.service.spec.ts +16 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/cc-readiness.service.ts +33 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/components/card/card.component.html +11 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/components/card/card.component.scss +48 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/components/card/card.component.ts +10 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/types/cc-readiness.ts +34 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.html +74 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.scss +177 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.spec.ts +35 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.ts +237 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.html +19 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.scss +38 -0
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.ts +57 -0
- package/projects/tuki/widgets/contact-center/ng-package.json +7 -0
- package/projects/tuki/widgets/contact-center/public-api.ts +6 -0
- package/projects/tuki/widgets/contact-center/shared/api.endpoints.ts +6 -0
- package/projects/tuki/widgets/contact-center/shared/api.service.ts +91 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/applications.svg +6 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/audioPrompts.svg +4 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/contactServiceQueues.svg +3 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/phonebooks.svg +6 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/resourceGroups.svg +6 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/resources.svg +3 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/scripts.svg +12 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/skills.svg +3 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/teams.svg +3 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/triggers.svg +4 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/wrapUpCodes.svg +3 -0
- package/projects/tuki/widgets/contact-center/shared/assets/icons/xml.svg +6 -0
- package/projects/tuki/widgets/contact-center/shared/material.module.ts +36 -0
- package/projects/tuki/widgets/contact-center/shared/shared.module.ts +20 -0
- package/projects/tuki/widgets/contact-center/shared/styles/tuki-widgets-theme.scss +13 -0
- package/projects/tuki/widgets/contact-center/shared/styles/variables.scss +94 -0
- package/projects/tuki/widgets/di2mt/api/api.endpoints.ts +31 -0
- 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 +3 -0
- package/projects/tuki/widgets/di2mt/assets/icons/expand_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/icon_play.svg +3 -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 +7 -0
- package/projects/tuki/widgets/di2mt/public-api.ts +27 -0
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.html +11 -0
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.scss +48 -0
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.ts +10 -0
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.html +15 -0
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.scss +38 -0
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.ts +76 -0
- package/projects/tuki/widgets/di2mt/shared/components/index.ts +6 -0
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.html +43 -0
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.scss +74 -0
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.ts +44 -0
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.html +57 -0
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.scss +187 -0
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.ts +41 -0
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.html +12 -0
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.scss +78 -0
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.ts +27 -0
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.html +28 -0
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.scss +245 -0
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.ts +28 -0
- package/projects/tuki/widgets/di2mt/shared/constants/app.constants.ts +96 -0
- package/projects/tuki/widgets/di2mt/shared/material.module.ts +36 -0
- package/projects/tuki/widgets/di2mt/shared/services/api.service.ts +91 -0
- package/projects/tuki/widgets/di2mt/shared/shared.module.ts +39 -0
- package/projects/tuki/widgets/di2mt/shared/types/constants.ts +22 -0
- package/projects/tuki/widgets/di2mt/shared/types/data-table.ts +5 -0
- package/projects/tuki/widgets/di2mt/shared/types/table/filter.ts +14 -0
- package/projects/tuki/widgets/di2mt/styles/tuki-widgets-theme.scss +13 -0
- package/projects/tuki/widgets/di2mt/styles/variables.scss +94 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.html +6 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.scss +45 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.ts +27 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.html +160 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.scss +460 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +506 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +33 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.service.ts +172 -0
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/types/user-upgrade.ts +27 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.ts +52 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.ts +53 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.ts +82 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.html +7 -0
- 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 +45 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.html +7 -0
- 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 +45 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.ts +81 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.ts +70 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/types/upgrade-overview.ts +58 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.module.ts +42 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.service.ts +95 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/types/user-upgrade.ts +35 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.html +204 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.scss +462 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +438 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.module.ts +34 -0
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.service.ts +137 -0
- package/projects/tuki/widgets/karma.conf.js +44 -0
- package/projects/tuki/widgets/ng-package.json +10 -0
- package/projects/tuki/widgets/package.json +13 -0
- package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +23 -0
- package/projects/tuki/widgets/src/lib/widgets.component.ts +20 -0
- package/projects/tuki/widgets/src/lib/widgets.module.ts +16 -0
- package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +16 -0
- package/projects/tuki/widgets/src/lib/widgets.service.ts +9 -0
- package/projects/tuki/widgets/src/public-api.ts +7 -0
- package/projects/tuki/widgets/src/test.ts +27 -0
- package/projects/tuki/widgets/styles.scss +558 -0
- package/projects/tuki/widgets/tsconfig.lib.json +37 -0
- package/projects/tuki/widgets/tsconfig.lib.prod.json +10 -0
- package/projects/tuki/widgets/tsconfig.spec.json +17 -0
- package/projects/tuki/widgets/user-device-manage/ng-package.json +7 -0
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +98 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-down-bold.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +5 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +5 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cancel-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/check-circle-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cisco.svg +8 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cisco_7841.png +0 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cisco_8841.png +0 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cisco_8851.png +0 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cisco_9861.png +0 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +3 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +5 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +3 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/icon_user.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/info-circle-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/people-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/plus-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/settings-light.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/settings-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +3 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/warning-regular.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/assets/info-circle-bold.svg +1 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +292 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/deviceProfile.ts +60 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +50 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +177 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +21 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +41 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +144 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +40 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +6 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +169 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +167 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +50 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +19 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +225 -0
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +8 -0
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +16 -0
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +14 -0
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +80 -0
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +35 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +21 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +97 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +28 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +6 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +20 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +13 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +6 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +4 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +63 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +241 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +500 -0
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +194 -0
- package/projects/tuki/widgets/user-device-manage/src/device-info/device-info.component.html +52 -0
- package/projects/tuki/widgets/user-device-manage/src/device-info/device-info.component.scss +219 -0
- package/projects/tuki/widgets/user-device-manage/src/device-info/device-info.component.ts +38 -0
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +27 -0
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +131 -0
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +25 -0
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +281 -0
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +766 -0
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +142 -0
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +9 -0
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +10 -0
- package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +35 -0
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +67 -0
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +98 -0
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +81 -0
- package/projects/tuki/widgets/user-device-manage/src/material.module.ts +87 -0
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +33 -0
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +84 -0
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +46 -0
- package/projects/tuki/widgets/user-device-manage/src/pipes/mac-address.pipe.ts +24 -0
- package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +25 -0
- package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +87 -0
- package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +17 -0
- package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +95 -0
- package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +111 -0
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +89 -0
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +68 -0
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +25 -0
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +82 -0
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +203 -0
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +360 -0
- package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +87 -0
- package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +829 -0
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.html +13 -0
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.scss +48 -0
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.spec.ts +23 -0
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.ts +10 -0
- package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +90 -0
- package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +284 -0
- package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +33 -0
- package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +127 -0
- package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +30 -0
- package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +79 -0
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +7 -0
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +11 -0
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +13 -0
- package/projects/tuki/widgets/user-manage/ng-package.json +7 -0
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +54 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-down-bold.svg +1 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +5 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right-bold.svg +1 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +5 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/cisco_7841.png +0 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/cisco_8841.png +0 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/cisco_8851.png +0 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/cisco_9861.png +0 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +5 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +3 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/icon_user.svg +1 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/info-circle-bold.svg +1 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/people-regular.svg +1 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/settings-light.svg +1 -0
- package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +3 -0
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +232 -0
- package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +44 -0
- package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +161 -0
- package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +21 -0
- package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +44 -0
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +145 -0
- package/projects/tuki/widgets/user-manage/src/classes/notification.ts +39 -0
- package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +18 -0
- package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +6 -0
- package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +165 -0
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +6 -0
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +49 -0
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +225 -0
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +42 -0
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +8 -0
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +16 -0
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +32 -0
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +305 -0
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +26 -0
- package/projects/tuki/widgets/user-manage/src/device-list/device-row/device-row.component.html +13 -0
- package/projects/tuki/widgets/user-manage/src/device-list/device-row/device-row.component.scss +154 -0
- package/projects/tuki/widgets/user-manage/src/device-list/device-row/device-row.component.ts +34 -0
- package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +9 -0
- package/projects/tuki/widgets/user-manage/src/environments/environment.ts +10 -0
- package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +35 -0
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +68 -0
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +125 -0
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +93 -0
- package/projects/tuki/widgets/user-manage/src/material.module.ts +85 -0
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +33 -0
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +84 -0
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +46 -0
- package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +25 -0
- package/projects/tuki/widgets/user-manage/src/services/api.service.ts +90 -0
- package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +116 -0
- package/projects/tuki/widgets/user-manage/src/services/line.service.ts +31 -0
- package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +68 -0
- package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +25 -0
- package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +35 -0
- package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +203 -0
- package/projects/tuki/widgets/user-manage/src/services/user.service.ts +288 -0
- package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +59 -0
- package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +71 -0
- package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +93 -0
- package/projects/tuki/widgets/user-manage/src/styles/form.scss +231 -0
- package/projects/tuki/widgets/user-manage/src/styles/icons.scss +41 -0
- package/projects/tuki/widgets/user-manage/src/styles/styles.scss +128 -0
- package/projects/tuki/widgets/user-manage/src/styles/tables.scss +30 -0
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +10 -0
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +444 -0
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +63 -0
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +97 -0
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +444 -0
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +89 -0
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +68 -0
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +37 -0
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +121 -0
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +19 -0
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +313 -0
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +638 -0
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +222 -0
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +65 -0
- package/projects/tuki/widgets/user-manage/src/user-summary/user-summary.component.html +64 -0
- package/projects/tuki/widgets/user-manage/src/user-summary/user-summary.component.scss +17 -0
- package/projects/tuki/widgets/user-manage/src/user-summary/user-summary.component.ts +8 -0
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +7 -0
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +11 -0
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +13 -0
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +26 -0
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +41 -0
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +41 -0
- package/projects/tuki/widgets/users-list/ng-package.json +7 -0
- package/projects/tuki/widgets/users-list/src/app.constants.ts +54 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +3 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/cogs.svg +8 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/copy-regular.svg +1 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/icon_user.svg +1 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/info-circle-regular.svg +1 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/info.svg +5 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +14 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/mt.svg +3 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/settings-regular.svg +1 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/webex.svg +7 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/webex_logo_icon.svg +305 -0
- package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +3 -0
- package/projects/tuki/widgets/users-list/src/classes/app-location.ts +36 -0
- package/projects/tuki/widgets/users-list/src/classes/device.ts +225 -0
- package/projects/tuki/widgets/users-list/src/classes/line.ts +144 -0
- package/projects/tuki/widgets/users-list/src/classes/move-user.ts +225 -0
- package/projects/tuki/widgets/users-list/src/classes/notification.ts +38 -0
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +18 -0
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +74 -0
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +6 -0
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +225 -0
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +47 -0
- package/projects/tuki/widgets/users-list/src/classes/user.ts +8 -0
- package/projects/tuki/widgets/users-list/src/components/table-toolbar/table-toolbar.component.html +39 -0
- package/projects/tuki/widgets/users-list/src/components/table-toolbar/table-toolbar.component.scss +41 -0
- package/projects/tuki/widgets/users-list/src/components/table-toolbar/table-toolbar.component.ts +21 -0
- package/projects/tuki/widgets/users-list/src/material.module.ts +97 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +37 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +129 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +46 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +31 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +20 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +26 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +222 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +249 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +206 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +12 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +41 -0
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +36 -0
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +14 -0
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +90 -0
- package/projects/tuki/widgets/users-list/src/services/dns.service.ts +128 -0
- package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +11 -0
- package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +59 -0
- package/projects/tuki/widgets/users-list/src/services/notification.service.ts +68 -0
- package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +25 -0
- package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +26 -0
- package/projects/tuki/widgets/users-list/src/services/user.service.ts +159 -0
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +160 -0
- package/projects/tuki/widgets/users-list/src/styles/styles.scss +639 -0
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +15 -0
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +103 -0
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +35 -0
- package/projects/tuki/widgets/users-list/src/users-list.component.css +4 -0
- package/projects/tuki/widgets/users-list/src/users-list.component.css.map +1 -0
- package/projects/tuki/widgets/users-list/src/users-list.component.html +261 -0
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +629 -0
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +410 -0
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +65 -0
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css +11 -0
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css.map +1 -0
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +7 -0
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +17 -0
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +13 -0
- package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +32 -0
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +33 -0
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +84 -0
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +46 -0
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css +45 -0
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css.map +1 -0
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +26 -0
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +41 -0
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +41 -0
- package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +71 -0
- package/projects/widgets-playground/src/app/app.component.html +130 -0
- package/projects/widgets-playground/src/app/app.component.scss +16 -0
- package/projects/widgets-playground/src/app/app.component.spec.ts +31 -0
- package/projects/widgets-playground/src/app/app.component.ts +31 -0
- package/projects/widgets-playground/src/app/app.module.ts +45 -0
- package/projects/widgets-playground/src/assets/.gitkeep +0 -0
- package/projects/widgets-playground/src/assets/icons/already_upgraded.png +0 -0
- package/projects/widgets-playground/src/assets/icons/applications copy.svg +6 -0
- package/projects/widgets-playground/src/assets/icons/applications.svg +6 -0
- package/projects/widgets-playground/src/assets/icons/arrow-down-bold.svg +1 -0
- package/projects/widgets-playground/src/assets/icons/audio-prompts.svg +4 -0
- package/projects/widgets-playground/src/assets/icons/audioPrompts.svg +4 -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/contactServiceQueues.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/copy-regular.svg +1 -0
- package/projects/widgets-playground/src/assets/icons/csqs.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/expand_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/info-circle-regular.svg +1 -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/mt.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/phone-books.svg +6 -0
- package/projects/widgets-playground/src/assets/icons/phonebooks.svg +6 -0
- package/projects/widgets-playground/src/assets/icons/ready_to_upgrade.png +0 -0
- package/projects/widgets-playground/src/assets/icons/resource-group.svg +6 -0
- package/projects/widgets-playground/src/assets/icons/resource.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/resourceGroups.svg +6 -0
- package/projects/widgets-playground/src/assets/icons/resources.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/scripts copy.svg +12 -0
- package/projects/widgets-playground/src/assets/icons/scripts.svg +12 -0
- package/projects/widgets-playground/src/assets/icons/search_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/settings-regular.svg +1 -0
- package/projects/widgets-playground/src/assets/icons/site.png +0 -0
- package/projects/widgets-playground/src/assets/icons/skills copy.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/skills.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/teams copy.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/teams.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/triggers copy.svg +4 -0
- package/projects/widgets-playground/src/assets/icons/triggers.svg +4 -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/assets/icons/webex.svg +7 -0
- package/projects/widgets-playground/src/assets/icons/webex_logo_icon.svg +305 -0
- package/projects/widgets-playground/src/assets/icons/wrapUpCodes.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/wrapup-codes.svg +3 -0
- package/projects/widgets-playground/src/assets/icons/xml copy.svg +6 -0
- package/projects/widgets-playground/src/assets/icons/xml.svg +6 -0
- package/projects/widgets-playground/src/favicon.ico +0 -0
- package/projects/widgets-playground/src/index.html +13 -0
- package/projects/widgets-playground/src/main.ts +7 -0
- package/projects/widgets-playground/src/styles.scss +24 -0
- package/projects/widgets-playground/tsconfig.app.json +14 -0
- package/projects/widgets-playground/tsconfig.spec.json +14 -0
- package/proxy.conf.js +23 -0
- package/tsconfig.json +46 -0
- package/contact-center/cc-readiness/cc-readiness.module.d.ts +0 -19
- package/contact-center/cc-readiness/cc-readiness.service.d.ts +0 -12
- package/contact-center/cc-readiness/components/card/card.component.d.ts +0 -6
- package/contact-center/cc-readiness/types/cc-readiness.d.ts +0 -20
- package/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.d.ts +0 -52
- package/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.d.ts +0 -26
- package/contact-center/index.d.ts +0 -5
- package/contact-center/public-api.d.ts +0 -3
- package/contact-center/shared/api.endpoints.d.ts +0 -6
- package/contact-center/shared/api.service.d.ts +0 -20
- package/contact-center/shared/material.module.d.ts +0 -15
- package/contact-center/shared/shared.module.d.ts +0 -10
- package/di2mt/api/api.endpoints.d.ts +0 -31
- package/di2mt/index.d.ts +0 -5
- package/di2mt/public-api.d.ts +0 -13
- package/di2mt/shared/components/card/card.component.d.ts +0 -6
- package/di2mt/shared/components/chart-card/chart-card.component.d.ts +0 -23
- package/di2mt/shared/components/stat-card/stat-card.component.d.ts +0 -14
- package/di2mt/shared/components/status-list-card/status-list-card.component.d.ts +0 -15
- package/di2mt/shared/components/summary-card/summary-card.component.d.ts +0 -9
- package/di2mt/shared/components/table-filters/table-filters.component.d.ts +0 -14
- package/di2mt/shared/constants/app.constants.d.ts +0 -74
- package/di2mt/shared/material.module.d.ts +0 -15
- package/di2mt/shared/services/api.service.d.ts +0 -20
- package/di2mt/shared/shared.module.d.ts +0 -16
- package/di2mt/shared/types/constants.d.ts +0 -15
- package/di2mt/shared/types/data-table.d.ts +0 -5
- package/di2mt/shared/types/table/filter.d.ts +0 -16
- package/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.d.ts +0 -11
- package/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.d.ts +0 -69
- package/di2mt/widgets/site-upgrade/site-upgrade.module.d.ts +0 -15
- package/di2mt/widgets/site-upgrade/site-upgrade.service.d.ts +0 -84
- package/di2mt/widgets/site-upgrade/types/user-upgrade.d.ts +0 -26
- package/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.d.ts +0 -19
- package/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.d.ts +0 -19
- package/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.d.ts +0 -18
- package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.d.ts +0 -19
- package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.d.ts +0 -19
- package/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.d.ts +0 -15
- package/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.d.ts +0 -18
- package/di2mt/widgets/upgrade-overview/types/upgrade-overview.d.ts +0 -56
- package/di2mt/widgets/upgrade-overview/upgrade-overview.module.d.ts +0 -15
- package/di2mt/widgets/upgrade-overview/upgrade-overview.service.d.ts +0 -17
- package/di2mt/widgets/user-upgrade/types/user-upgrade.d.ts +0 -32
- package/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.d.ts +0 -79
- package/di2mt/widgets/user-upgrade/user-upgrade.module.d.ts +0 -16
- package/di2mt/widgets/user-upgrade/user-upgrade.service.d.ts +0 -41
- package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +0 -71
- package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +0 -35
- package/esm2020/contact-center/cc-readiness/components/card/card.component.mjs +0 -13
- package/esm2020/contact-center/cc-readiness/types/cc-readiness.mjs +0 -5
- package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +0 -187
- package/esm2020/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.mjs +0 -47
- package/esm2020/contact-center/public-api.mjs +0 -4
- package/esm2020/contact-center/shared/api.endpoints.mjs +0 -7
- package/esm2020/contact-center/shared/api.service.mjs +0 -86
- package/esm2020/contact-center/shared/material.module.mjs +0 -76
- package/esm2020/contact-center/shared/shared.module.mjs +0 -33
- package/esm2020/contact-center/tuki-io-tuki-widgets-contact-center.mjs +0 -5
- package/esm2020/di2mt/api/api.endpoints.mjs +0 -32
- package/esm2020/di2mt/public-api.mjs +0 -24
- package/esm2020/di2mt/shared/components/card/card.component.mjs +0 -13
- package/esm2020/di2mt/shared/components/chart-card/chart-card.component.mjs +0 -66
- package/esm2020/di2mt/shared/components/stat-card/stat-card.component.mjs +0 -47
- package/esm2020/di2mt/shared/components/status-list-card/status-list-card.component.mjs +0 -43
- package/esm2020/di2mt/shared/components/summary-card/summary-card.component.mjs +0 -36
- package/esm2020/di2mt/shared/components/table-filters/table-filters.component.mjs +0 -37
- package/esm2020/di2mt/shared/constants/app.constants.mjs +0 -95
- package/esm2020/di2mt/shared/material.module.mjs +0 -76
- package/esm2020/di2mt/shared/services/api.service.mjs +0 -86
- package/esm2020/di2mt/shared/shared.module.mjs +0 -63
- package/esm2020/di2mt/shared/types/constants.mjs +0 -20
- package/esm2020/di2mt/shared/types/data-table.mjs +0 -2
- package/esm2020/di2mt/shared/types/table/filter.mjs +0 -2
- package/esm2020/di2mt/tuki-io-tuki-widgets-di2mt.mjs +0 -5
- package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +0 -38
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +0 -433
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.module.mjs +0 -53
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.service.mjs +0 -92
- package/esm2020/di2mt/widgets/site-upgrade/types/user-upgrade.mjs +0 -3
- package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.mjs +0 -64
- package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.mjs +0 -64
- package/esm2020/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.mjs +0 -83
- package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.mjs +0 -45
- package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.mjs +0 -45
- package/esm2020/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.mjs +0 -86
- package/esm2020/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.mjs +0 -74
- package/esm2020/di2mt/widgets/upgrade-overview/types/upgrade-overview.mjs +0 -2
- package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.module.mjs +0 -59
- package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.service.mjs +0 -82
- package/esm2020/di2mt/widgets/user-upgrade/types/user-upgrade.mjs +0 -3
- package/esm2020/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.mjs +0 -376
- package/esm2020/di2mt/widgets/user-upgrade/user-upgrade.module.mjs +0 -59
- package/esm2020/di2mt/widgets/user-upgrade/user-upgrade.service.mjs +0 -80
- package/esm2020/lib/widgets.component.mjs +0 -22
- package/esm2020/lib/widgets.module.mjs +0 -21
- package/esm2020/lib/widgets.service.mjs +0 -14
- package/esm2020/public-api.mjs +0 -7
- package/esm2020/tuki-io-tuki-widgets.mjs +0 -5
- package/esm2020/user-device-manage/public-api.mjs +0 -9
- package/esm2020/user-device-manage/src/app.constants.mjs +0 -97
- package/esm2020/user-device-manage/src/classes/device.mjs +0 -85
- package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +0 -34
- package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +0 -2
- package/esm2020/user-device-manage/src/classes/line-association.mjs +0 -121
- package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +0 -10
- package/esm2020/user-device-manage/src/classes/line-directory.mjs +0 -27
- package/esm2020/user-device-manage/src/classes/line.mjs +0 -18
- package/esm2020/user-device-manage/src/classes/notification.mjs +0 -32
- package/esm2020/user-device-manage/src/classes/recording-options.mjs +0 -7
- package/esm2020/user-device-manage/src/classes/simplified-user.mjs +0 -111
- package/esm2020/user-device-manage/src/classes/site-defaults.mjs +0 -21
- package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +0 -32
- package/esm2020/user-device-manage/src/classes/types.mjs +0 -24
- package/esm2020/user-device-manage/src/common-functions.mjs +0 -19
- package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +0 -34
- package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +0 -31
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +0 -16
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +0 -64
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +0 -179
- package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +0 -43
- package/esm2020/user-device-manage/src/device-list/device-list.component.mjs +0 -24
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +0 -141
- package/esm2020/user-device-manage/src/environments/environment.mjs +0 -11
- package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +0 -36
- package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +0 -74
- package/esm2020/user-device-manage/src/material.module.mjs +0 -192
- package/esm2020/user-device-manage/src/notifications/notification.component.mjs +0 -35
- package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +0 -26
- package/esm2020/user-device-manage/src/services/api.service.mjs +0 -79
- package/esm2020/user-device-manage/src/services/device.service.mjs +0 -83
- package/esm2020/user-device-manage/src/services/dns.service.mjs +0 -104
- package/esm2020/user-device-manage/src/services/line.service.mjs +0 -76
- package/esm2020/user-device-manage/src/services/notification.service.mjs +0 -62
- package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +0 -25
- package/esm2020/user-device-manage/src/services/site-settings.service.mjs +0 -70
- package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +0 -197
- package/esm2020/user-device-manage/src/services/user.service.mjs +0 -311
- package/esm2020/user-device-manage/src/services/utils.service.mjs +0 -87
- package/esm2020/user-device-manage/src/services/validation.service.mjs +0 -760
- package/esm2020/user-device-manage/src/shared/tk-page-section/page-section.component.mjs +0 -13
- package/esm2020/user-device-manage/src/user-device-manage.module.mjs +0 -116
- package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +0 -14
- package/esm2020/user-device-manage/tuki-io-tuki-widgets-user-device-manage.mjs +0 -5
- package/esm2020/user-manage/public-api.mjs +0 -7
- package/esm2020/user-manage/src/app.constants.mjs +0 -54
- package/esm2020/user-manage/src/classes/device.mjs +0 -37
- package/esm2020/user-manage/src/classes/line-association-interface.mjs +0 -2
- package/esm2020/user-manage/src/classes/line-association.mjs +0 -110
- package/esm2020/user-manage/src/classes/line-call-info-display.mjs +0 -10
- package/esm2020/user-manage/src/classes/line-directory.mjs +0 -28
- package/esm2020/user-manage/src/classes/line.mjs +0 -18
- package/esm2020/user-manage/src/classes/notification.mjs +0 -32
- package/esm2020/user-manage/src/classes/pagination.mjs +0 -8
- package/esm2020/user-manage/src/classes/recording-options.mjs +0 -7
- package/esm2020/user-manage/src/classes/simplified-user.mjs +0 -109
- package/esm2020/user-manage/src/classes/table-data.mjs +0 -2
- package/esm2020/user-manage/src/classes/translation-pattern.mjs +0 -32
- package/esm2020/user-manage/src/classes/user-list.mjs +0 -10
- package/esm2020/user-manage/src/common-functions.mjs +0 -19
- package/esm2020/user-manage/src/device-list/device-list.component.mjs +0 -26
- package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +0 -33
- package/esm2020/user-manage/src/environments/environment.mjs +0 -11
- package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +0 -36
- package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +0 -81
- package/esm2020/user-manage/src/material.module.mjs +0 -188
- package/esm2020/user-manage/src/notifications/notification.component.mjs +0 -35
- package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +0 -25
- package/esm2020/user-manage/src/services/api.service.mjs +0 -79
- package/esm2020/user-manage/src/services/dns.service.mjs +0 -110
- package/esm2020/user-manage/src/services/line.service.mjs +0 -34
- package/esm2020/user-manage/src/services/notification.service.mjs +0 -62
- package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +0 -25
- package/esm2020/user-manage/src/services/site-settings.service.mjs +0 -36
- package/esm2020/user-manage/src/services/sorting-utils.service.mjs +0 -197
- package/esm2020/user-manage/src/services/user.service.mjs +0 -249
- package/esm2020/user-manage/src/services/users-search.service.mjs +0 -50
- package/esm2020/user-manage/src/services/utils.service.mjs +0 -73
- package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +0 -65
- package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +0 -75
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +0 -20
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +0 -219
- package/esm2020/user-manage/src/user-manage.module.mjs +0 -102
- package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +0 -14
- package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +0 -43
- package/esm2020/user-manage/tuki-io-tuki-widgets-user-manage.mjs +0 -5
- package/esm2020/users-list/public-api.mjs +0 -9
- package/esm2020/users-list/src/app.constants.mjs +0 -54
- package/esm2020/users-list/src/classes/app-location.mjs +0 -32
- package/esm2020/users-list/src/classes/device.mjs +0 -7
- package/esm2020/users-list/src/classes/line.mjs +0 -18
- package/esm2020/users-list/src/classes/move-user.mjs +0 -178
- package/esm2020/users-list/src/classes/notification.mjs +0 -31
- package/esm2020/users-list/src/classes/pagination.mjs +0 -8
- package/esm2020/users-list/src/classes/simlified-user.mjs +0 -50
- package/esm2020/users-list/src/classes/table-data.mjs +0 -2
- package/esm2020/users-list/src/classes/user-list.mjs +0 -14
- package/esm2020/users-list/src/components/table-toolbar/table-toolbar.component.mjs +0 -25
- package/esm2020/users-list/src/material.module.mjs +0 -216
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +0 -38
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +0 -23
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +0 -189
- package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +0 -38
- package/esm2020/users-list/src/services/api-webex.service.mjs +0 -18
- package/esm2020/users-list/src/services/api.service.mjs +0 -78
- package/esm2020/users-list/src/services/dns.service.mjs +0 -120
- package/esm2020/users-list/src/services/events-communication.service.mjs +0 -14
- package/esm2020/users-list/src/services/move-user.service.mjs +0 -53
- package/esm2020/users-list/src/services/notification.service.mjs +0 -62
- package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +0 -25
- package/esm2020/users-list/src/services/site-settings.service.mjs +0 -27
- package/esm2020/users-list/src/services/user.service.mjs +0 -142
- package/esm2020/users-list/src/services/users-search.service.mjs +0 -141
- package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +0 -34
- package/esm2020/users-list/src/users-list.component.mjs +0 -339
- package/esm2020/users-list/src/users-list.module.mjs +0 -95
- package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +0 -14
- package/esm2020/users-list/src/utils/common-functions.mjs +0 -32
- package/esm2020/users-list/src/utils/pagination/pagination.component.mjs +0 -43
- package/esm2020/users-list/src/utils/utils.service.mjs +0 -73
- package/esm2020/users-list/tuki-io-tuki-widgets-users-list.mjs +0 -5
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +0 -433
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +0 -1
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +0 -2220
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +0 -1
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +0 -3378
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +0 -1
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +0 -2219
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +0 -1
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +0 -2098
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +0 -1
- package/fesm2015/tuki-io-tuki-widgets.mjs +0 -63
- package/fesm2015/tuki-io-tuki-widgets.mjs.map +0 -1
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +0 -430
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +0 -1
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +0 -2204
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +0 -1
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +0 -3357
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +0 -1
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +0 -2205
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +0 -1
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +0 -2074
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +0 -1
- package/fesm2020/tuki-io-tuki-widgets.mjs +0 -63
- package/fesm2020/tuki-io-tuki-widgets.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/widgets.component.d.ts +0 -8
- package/lib/widgets.module.d.ts +0 -7
- package/lib/widgets.service.d.ts +0 -6
- package/public-api.d.ts +0 -3
- package/user-device-manage/index.d.ts +0 -5
- package/user-device-manage/src/app.constants.d.ts +0 -76
- package/user-device-manage/src/classes/device.d.ts +0 -233
- package/user-device-manage/src/classes/deviceProfile.d.ts +0 -24
- package/user-device-manage/src/classes/line-association-interface.d.ts +0 -45
- package/user-device-manage/src/classes/line-association.d.ts +0 -62
- package/user-device-manage/src/classes/line-call-info-display.d.ts +0 -11
- package/user-device-manage/src/classes/line-directory.d.ts +0 -15
- package/user-device-manage/src/classes/line.d.ts +0 -140
- package/user-device-manage/src/classes/notification.d.ts +0 -18
- package/user-device-manage/src/classes/recording-options.d.ts +0 -5
- package/user-device-manage/src/classes/simplified-user.d.ts +0 -52
- package/user-device-manage/src/classes/site-defaults.d.ts +0 -146
- package/user-device-manage/src/classes/translation-pattern.d.ts +0 -19
- package/user-device-manage/src/classes/types.d.ts +0 -19
- package/user-device-manage/src/common-functions.d.ts +0 -1
- package/user-device-manage/src/confirm-dialog/info-dialog.component.d.ts +0 -20
- package/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.d.ts +0 -15
- package/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.d.ts +0 -7
- package/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.d.ts +0 -24
- package/user-device-manage/src/device-associated-line/device-associated-line.component.d.ts +0 -89
- package/user-device-manage/src/device-info/device-info.component.d.ts +0 -15
- package/user-device-manage/src/device-list/device-list.component.d.ts +0 -11
- package/user-device-manage/src/device-manage-widget.component.d.ts +0 -54
- package/user-device-manage/src/environments/environment.d.ts +0 -9
- package/user-device-manage/src/interseptors/auth.interceptor.d.ts +0 -9
- package/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +0 -35
- package/user-device-manage/src/material.module.d.ts +0 -29
- package/user-device-manage/src/notifications/notification.component.d.ts +0 -19
- package/user-device-manage/src/pipes/mac-address.pipe.d.ts +0 -7
- package/user-device-manage/src/services/api.service.d.ts +0 -20
- package/user-device-manage/src/services/device.service.d.ts +0 -21
- package/user-device-manage/src/services/dns.service.d.ts +0 -14
- package/user-device-manage/src/services/line.service.d.ts +0 -33
- package/user-device-manage/src/services/notification.service.d.ts +0 -18
- package/user-device-manage/src/services/removeKynFromIBM.service.d.ts +0 -8
- package/user-device-manage/src/services/site-settings.service.d.ts +0 -25
- package/user-device-manage/src/services/sorting-utils.service.d.ts +0 -26
- package/user-device-manage/src/services/user.service.d.ts +0 -61
- package/user-device-manage/src/services/utils.service.d.ts +0 -10
- package/user-device-manage/src/services/validation.service.d.ts +0 -165
- package/user-device-manage/src/shared/tk-page-section/page-section.component.d.ts +0 -6
- package/user-device-manage/src/user-device-manage.module.d.ts +0 -25
- package/user-device-manage/src/utils/app-loader/app-loader.d.ts +0 -6
- package/user-manage/index.d.ts +0 -5
- package/user-manage/src/app.constants.d.ts +0 -33
- package/user-manage/src/classes/device.d.ts +0 -203
- package/user-manage/src/classes/line-association-interface.d.ts +0 -41
- package/user-manage/src/classes/line-association.d.ts +0 -55
- package/user-manage/src/classes/line-call-info-display.d.ts +0 -11
- package/user-manage/src/classes/line-directory.d.ts +0 -17
- package/user-manage/src/classes/line.d.ts +0 -141
- package/user-manage/src/classes/notification.d.ts +0 -18
- package/user-manage/src/classes/pagination.d.ts +0 -13
- package/user-manage/src/classes/recording-options.d.ts +0 -5
- package/user-manage/src/classes/simplified-user.d.ts +0 -50
- package/user-manage/src/classes/table-data.d.ts +0 -5
- package/user-manage/src/classes/translation-pattern.d.ts +0 -18
- package/user-manage/src/classes/user-list.d.ts +0 -34
- package/user-manage/src/common-functions.d.ts +0 -1
- package/user-manage/src/device-list/device-list.component.d.ts +0 -11
- package/user-manage/src/device-list/device-row/device-row.component.d.ts +0 -12
- package/user-manage/src/environments/environment.d.ts +0 -9
- package/user-manage/src/interseptors/auth.interceptor.d.ts +0 -9
- package/user-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +0 -37
- package/user-manage/src/material.module.d.ts +0 -28
- package/user-manage/src/notifications/notification.component.d.ts +0 -19
- package/user-manage/src/removeKynFromIBM.service.d.ts +0 -8
- package/user-manage/src/services/api.service.d.ts +0 -21
- package/user-manage/src/services/dns.service.d.ts +0 -14
- package/user-manage/src/services/line.service.d.ts +0 -17
- package/user-manage/src/services/notification.service.d.ts +0 -18
- package/user-manage/src/services/removeKynFromIBM.service.d.ts +0 -8
- package/user-manage/src/services/site-settings.service.d.ts +0 -9
- package/user-manage/src/services/sorting-utils.service.d.ts +0 -26
- package/user-manage/src/services/user.service.d.ts +0 -45
- package/user-manage/src/services/users-search.service.d.ts +0 -25
- package/user-manage/src/services/utils.service.d.ts +0 -9
- package/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.d.ts +0 -24
- package/user-manage/src/user-calling/user-calling.component.d.ts +0 -30
- package/user-manage/src/user-info/user-info.component.d.ts +0 -9
- package/user-manage/src/user-manage-widget.component.d.ts +0 -45
- package/user-manage/src/user-manage.module.d.ts +0 -22
- package/user-manage/src/utils/app-loader/app-loader.d.ts +0 -6
- package/user-manage/src/utils/pagination/pagination.component.d.ts +0 -18
- package/users-list/index.d.ts +0 -5
- package/users-list/src/app.constants.d.ts +0 -36
- package/users-list/src/classes/app-location.d.ts +0 -17
- package/users-list/src/classes/device.d.ts +0 -224
- package/users-list/src/classes/line.d.ts +0 -140
- package/users-list/src/classes/move-user.d.ts +0 -85
- package/users-list/src/classes/notification.d.ts +0 -18
- package/users-list/src/classes/pagination.d.ts +0 -13
- package/users-list/src/classes/simlified-user.d.ts +0 -25
- package/users-list/src/classes/table-data.d.ts +0 -5
- package/users-list/src/classes/user-list.d.ts +0 -36
- package/users-list/src/components/table-toolbar/table-toolbar.component.d.ts +0 -10
- package/users-list/src/material.module.d.ts +0 -32
- package/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.d.ts +0 -21
- package/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.d.ts +0 -12
- package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +0 -55
- package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +0 -17
- package/users-list/src/services/api-webex.service.d.ts +0 -8
- package/users-list/src/services/api.service.d.ts +0 -21
- package/users-list/src/services/dns.service.d.ts +0 -18
- package/users-list/src/services/events-communication.service.d.ts +0 -8
- package/users-list/src/services/move-user.service.d.ts +0 -17
- package/users-list/src/services/notification.service.d.ts +0 -18
- package/users-list/src/services/removeKynFromIBM.service.d.ts +0 -8
- package/users-list/src/services/site-settings.service.d.ts +0 -11
- package/users-list/src/services/user.service.d.ts +0 -35
- package/users-list/src/services/users-search.service.d.ts +0 -37
- package/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.d.ts +0 -20
- package/users-list/src/users-list.component.d.ts +0 -62
- package/users-list/src/users-list.module.d.ts +0 -19
- package/users-list/src/utils/app-loader/app-loader.d.ts +0 -6
- package/users-list/src/utils/common-functions.d.ts +0 -2
- package/users-list/src/utils/pagination/pagination.component.d.ts +0 -18
- package/users-list/src/utils/utils.service.d.ts +0 -9
- /package/{di2mt → projects/tuki/widgets/di2mt}/README.md +0 -0
- /package/{user-device-manage/public-api.d.ts → projects/tuki/widgets/user-device-manage/public-api.ts} +0 -0
- /package/{user-manage/public-api.d.ts → projects/tuki/widgets/user-manage/public-api.ts} +0 -0
- /package/{users-list/public-api.d.ts → projects/tuki/widgets/users-list/public-api.ts} +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { AfterViewInit, Component, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { FormControl, FormControlName, FormGroup, Validators } from '@angular/forms';
|
|
3
|
+
import { SimplifiedUser } from './classes/simplified-user';
|
|
4
|
+
import { LineAssociation } from './classes/line-association';
|
|
5
|
+
import { LineAssociationInterface } from './classes/line-association-interface';
|
|
6
|
+
import { Device, DeviceViewType } from './classes/device';
|
|
7
|
+
import { finalize, forkJoin, Subject, takeUntil } from 'rxjs';
|
|
8
|
+
import { MatTabGroup } from '@angular/material/tabs';
|
|
9
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
10
|
+
import { InfoDialogComponent } from './confirm-dialog/info-dialog.component';
|
|
11
|
+
import { UserService } from './services/user.service';
|
|
12
|
+
import { DeviceService } from './services/device.service';
|
|
13
|
+
import { APIService } from './services/api.service';
|
|
14
|
+
import { LineService } from './services/line.service';
|
|
15
|
+
import { SiteSettingsService } from './services/site-settings.service';
|
|
16
|
+
import { ValidationService } from './services/validation.service';
|
|
17
|
+
import { TOGGLE_TYPES } from './app.constants';
|
|
18
|
+
|
|
19
|
+
@Component({
|
|
20
|
+
selector: 'app-device-manage-widget',
|
|
21
|
+
templateUrl: './device-manage-widget.component.html',
|
|
22
|
+
styleUrls: ['./device-manage-widget.component.scss'],
|
|
23
|
+
})
|
|
24
|
+
export class DeviceManageWidgetComponent implements OnDestroy {
|
|
25
|
+
@Output() onSave = new EventEmitter<string>();
|
|
26
|
+
@Output() onChange = new EventEmitter<string>();
|
|
27
|
+
@Output() discardChanges = new EventEmitter();
|
|
28
|
+
@Output() goBack = new EventEmitter();
|
|
29
|
+
@Input() token!: string;
|
|
30
|
+
@Input() host!: string;
|
|
31
|
+
@Input() siteId!: number;
|
|
32
|
+
@Input() userId!: string;
|
|
33
|
+
@Input() isLdap!: boolean;
|
|
34
|
+
@Input() deviceName!: string;
|
|
35
|
+
|
|
36
|
+
@ViewChild('tagInput') tagInput!: ElementRef<HTMLInputElement>;
|
|
37
|
+
|
|
38
|
+
dataPending!: boolean;
|
|
39
|
+
private readonly destroy$ = new Subject<void>();
|
|
40
|
+
public device: any = null;
|
|
41
|
+
public tokenObj: any = null;
|
|
42
|
+
|
|
43
|
+
public readonly HOTELING_TIME_HOURS = Array.from({ length: 120 }, (_, index) => index);
|
|
44
|
+
|
|
45
|
+
// public readonly hotelingLimitTime = new FormControl(24);
|
|
46
|
+
public logMissedCall = new FormControl(true);
|
|
47
|
+
|
|
48
|
+
tags: string[] = [];
|
|
49
|
+
isAdding = false;
|
|
50
|
+
newTag = '';
|
|
51
|
+
|
|
52
|
+
get firstName(): string {
|
|
53
|
+
return this.userService.userName;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
get lastName(): string {
|
|
57
|
+
return this.userService.userLastName;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
get form(): FormGroup | undefined {
|
|
61
|
+
return this.userService.userDevice?.form;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
constructor(
|
|
65
|
+
public userService: UserService,
|
|
66
|
+
public deviceService: DeviceService,
|
|
67
|
+
private apiService: APIService,
|
|
68
|
+
public lineService: LineService,
|
|
69
|
+
public siteSettingsService: SiteSettingsService,
|
|
70
|
+
private validationService: ValidationService,
|
|
71
|
+
private dialog: MatDialog
|
|
72
|
+
) {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
ngOnInit(): void {
|
|
76
|
+
this.apiService.token = this.token;
|
|
77
|
+
this.apiService.apiUrl = this.host;
|
|
78
|
+
console.log('this.apiService.apiUrl = ', this.apiService.apiUrl);
|
|
79
|
+
this.getData();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
showInput() {
|
|
83
|
+
this.isAdding = true;
|
|
84
|
+
|
|
85
|
+
// wait until input appears in DOM
|
|
86
|
+
setTimeout(() => {
|
|
87
|
+
this.tagInput?.nativeElement.focus();
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
onBlur() {
|
|
92
|
+
const value = this.newTag.trim();
|
|
93
|
+
|
|
94
|
+
if (value) {
|
|
95
|
+
this.tags.push(value);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
this.newTag = '';
|
|
99
|
+
this.isAdding = false;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
removeTag(index: number) {
|
|
103
|
+
this.tags.splice(index, 1);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
get hotelingEnabled(): FormControl {
|
|
107
|
+
return this.form?.get('hoteling')?.get('enabled') as FormControl;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
get guestHoursLimit(): FormControl {
|
|
111
|
+
return this.form?.get('hoteling')?.get('guestHoursLimit') as FormControl;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
private getData() {
|
|
115
|
+
this.dataPending = true;
|
|
116
|
+
let request;
|
|
117
|
+
const deviceType = localStorage.getItem('deviceType');
|
|
118
|
+
if(localStorage.getItem('isWebex') === 'true') {
|
|
119
|
+
// request
|
|
120
|
+
const customerId = localStorage.getItem('customerId');
|
|
121
|
+
const webexId = localStorage.getItem('webexUUID');
|
|
122
|
+
request = this.userService.fetchWebexUserDevice(customerId!, webexId!, deviceType!);
|
|
123
|
+
} else {
|
|
124
|
+
request = this.userService.fetchMTUserDevice(this.siteId, this.userId, deviceType!);
|
|
125
|
+
}
|
|
126
|
+
request
|
|
127
|
+
.pipe(takeUntil(this.destroy$))
|
|
128
|
+
.pipe(finalize(() => this.dataPending = false))
|
|
129
|
+
.subscribe((data: any) => {
|
|
130
|
+
this.device = data;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
ngOnDestroy() {
|
|
135
|
+
this.destroy$.next();
|
|
136
|
+
this.destroy$.complete();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
onGoBack(): void {
|
|
140
|
+
this.goBack.emit();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: false,
|
|
3
|
+
// apiUrl: 'http://localhost:4200',
|
|
4
|
+
apiUrl: 'http://192.168.0.191:8080',
|
|
5
|
+
notificationsLifetime: 30000,
|
|
6
|
+
longNotificationsLifetime: 45000,
|
|
7
|
+
cashCleanTimer: 900000,
|
|
8
|
+
cashArrayLength: 10000,
|
|
9
|
+
matomoUrl: 'http://192.168.0.136/matomo/',
|
|
10
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import {HttpEvent, HttpRequest, HttpInterceptor, HttpHandler, HttpErrorResponse} from '@angular/common/http';
|
|
3
|
+
import { Observable, throwError } from 'rxjs';
|
|
4
|
+
import {catchError } from 'rxjs/operators';
|
|
5
|
+
|
|
6
|
+
@Injectable()
|
|
7
|
+
export class AuthInterceptor implements HttpInterceptor {
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
intercept(
|
|
12
|
+
request: HttpRequest<any>,
|
|
13
|
+
next: HttpHandler
|
|
14
|
+
): Observable<HttpEvent<any>> {
|
|
15
|
+
request = request.clone({
|
|
16
|
+
setHeaders: {
|
|
17
|
+
// Authorization: basicAuthHeaderString
|
|
18
|
+
}
|
|
19
|
+
, withCredentials: true
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
return next.handle(request).pipe(catchError(err => {
|
|
23
|
+
if (err instanceof HttpErrorResponse) {
|
|
24
|
+
if (err.status === 401) {
|
|
25
|
+
if (window.history.length < 3) {
|
|
26
|
+
err.error.message = '';
|
|
27
|
+
} else {
|
|
28
|
+
err.error.message = 'SESSION_INACTIVE';
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return throwError(err);
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<ng-container *ngIf="standalone">
|
|
2
|
+
<mat-form-field appearance="outline">
|
|
3
|
+
<mat-select [formControl]="formControl"
|
|
4
|
+
(openedChange)="getOptions()"
|
|
5
|
+
[placeholder]="placeholder"
|
|
6
|
+
(selectionChange)="onFieldChange(controlName)"
|
|
7
|
+
[id]="id">
|
|
8
|
+
<mat-option>
|
|
9
|
+
<div class="select-search-wrapper">
|
|
10
|
+
<input
|
|
11
|
+
type="text"
|
|
12
|
+
placeholder="Search"
|
|
13
|
+
class="select-search-input"
|
|
14
|
+
(click)="$event.stopPropagation()"
|
|
15
|
+
(keydown)="$event.stopPropagation()"
|
|
16
|
+
>
|
|
17
|
+
<span class="search-icon-inside">
|
|
18
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 32 32">
|
|
19
|
+
<path d="M13 2.25C7.063 2.25 2.25 7.063 2.25 13S7.063 23.75 13 23.75c2.699 0 5.165-.994 7.053-2.637l8.417 8.417a.75.75 0 1 0 1.06-1.06l-8.417-8.417A10.7 10.7 0 0 0 23.75 13c0-5.937-4.813-10.75-10.75-10.75M3.75 13a9.25 9.25 0 1 1 18.5 0 9.25 9.25 0 0 1-18.5 0" fill="#000"/>
|
|
20
|
+
</svg>
|
|
21
|
+
</span>
|
|
22
|
+
</div>
|
|
23
|
+
</mat-option>
|
|
24
|
+
<mat-option *ngIf="default" [disabled]="default.disabled" [value]="default.key">{{default.value}}</mat-option>
|
|
25
|
+
<mat-option *ngFor="let type of options" [value]="type">
|
|
26
|
+
{{type}}
|
|
27
|
+
</mat-option>
|
|
28
|
+
<mat-progress-spinner class="field-spinner"
|
|
29
|
+
[diameter]="70"
|
|
30
|
+
strokeWidth="3"
|
|
31
|
+
mode="indeterminate"
|
|
32
|
+
*ngIf="optionsPending"></mat-progress-spinner>
|
|
33
|
+
</mat-select>
|
|
34
|
+
<mat-error *ngIf="form.get(controlName)?.hasError(errorCode)">
|
|
35
|
+
<i class="fa fa-exclamation-triangle"></i>
|
|
36
|
+
{{errorText}}
|
|
37
|
+
</mat-error>
|
|
38
|
+
</mat-form-field>
|
|
39
|
+
</ng-container>
|
|
40
|
+
|
|
41
|
+
<!--
|
|
42
|
+
This duplication is caused by the following bug: https://github.com/angular/components/issues/9411
|
|
43
|
+
Which doesn't allow projection in mat-form-field
|
|
44
|
+
-->
|
|
45
|
+
|
|
46
|
+
<ng-container *ngIf="!standalone">
|
|
47
|
+
<mat-select *ngIf="form.get(controlName)"
|
|
48
|
+
[formControl]="formControl"
|
|
49
|
+
(openedChange)="getOptions()"
|
|
50
|
+
[placeholder]="placeholder"
|
|
51
|
+
(selectionChange)="onFieldChange(controlName)"
|
|
52
|
+
[id]="id"
|
|
53
|
+
>
|
|
54
|
+
<mat-option *ngIf="default" [disabled]="default.disabled" [value]="default.key">{{default.value}}</mat-option>
|
|
55
|
+
<mat-option *ngFor="let type of options" [value]="type">
|
|
56
|
+
{{type}}
|
|
57
|
+
</mat-option>
|
|
58
|
+
<mat-progress-spinner class="field-spinner"
|
|
59
|
+
[diameter]="20"
|
|
60
|
+
mode="indeterminate"
|
|
61
|
+
*ngIf="optionsPending"></mat-progress-spinner>
|
|
62
|
+
</mat-select>
|
|
63
|
+
<mat-error *ngIf="form.get(controlName)?.hasError(errorCode)">
|
|
64
|
+
<i class="fa fa-exclamation-triangle"></i>
|
|
65
|
+
{{errorText}}
|
|
66
|
+
</mat-error>
|
|
67
|
+
</ng-container>
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.field-spinner {
|
|
2
|
+
margin-top: -30px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
mat-form-field {
|
|
6
|
+
width: 300px;
|
|
7
|
+
max-width: 300px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
::ng-deep {
|
|
11
|
+
.mat-option {
|
|
12
|
+
white-space: nowrap !important;
|
|
13
|
+
overflow: hidden !important;
|
|
14
|
+
text-overflow: ellipsis !important;
|
|
15
|
+
display: block !important;
|
|
16
|
+
line-height: 48px !important;
|
|
17
|
+
height: 48px !important;
|
|
18
|
+
padding: 0 10px !important;
|
|
19
|
+
text-align: left !important;
|
|
20
|
+
text-decoration: none !important;
|
|
21
|
+
max-width: 100% !important;
|
|
22
|
+
position: relative !important;
|
|
23
|
+
cursor: pointer !important;
|
|
24
|
+
outline: none !important;
|
|
25
|
+
display: flex !important;
|
|
26
|
+
flex-direction: row !important;
|
|
27
|
+
max-width: 100% !important;
|
|
28
|
+
box-sizing: border-box !important;
|
|
29
|
+
align-items: center !important;
|
|
30
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.select-search-wrapper {
|
|
35
|
+
position: relative;
|
|
36
|
+
width: 100%;
|
|
37
|
+
}
|
|
38
|
+
.search-icon-inside {
|
|
39
|
+
position: absolute;
|
|
40
|
+
left: 12px;
|
|
41
|
+
top: 50%;
|
|
42
|
+
transform: translateY(-50%);
|
|
43
|
+
pointer-events: none;
|
|
44
|
+
z-index: 2;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
:host {
|
|
49
|
+
height: 35px;
|
|
50
|
+
width: 93% !important;
|
|
51
|
+
max-width: 93% !important;
|
|
52
|
+
min-width: 0 !important;
|
|
53
|
+
height: auto !important;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
::ng-deep mat-form-field {
|
|
56
|
+
width: 100%;
|
|
57
|
+
max-width: 100%;
|
|
58
|
+
height: 35px;
|
|
59
|
+
|
|
60
|
+
.mat-form-field-flex {
|
|
61
|
+
.mat-form-field-outline {
|
|
62
|
+
.mat-form-field-outline-start {
|
|
63
|
+
border: none !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.select-search-input {
|
|
71
|
+
width: 100%;
|
|
72
|
+
box-sizing: border-box;
|
|
73
|
+
padding: 7px 14px 7px 38px;
|
|
74
|
+
margin: 10px 0;
|
|
75
|
+
border: 3px solid #ccc;
|
|
76
|
+
border-radius: 0.5rem;
|
|
77
|
+
outline: none;
|
|
78
|
+
font-size: 14px;
|
|
79
|
+
transition: border-color 0.2s;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.select-search-input:focus {
|
|
83
|
+
border-color: #1170cf;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.field-spinner {
|
|
87
|
+
margin-top: -30px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
::ng-deep .mat-select-arrow {
|
|
91
|
+
display: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
::ng-deep .mat-select-trigger {
|
|
95
|
+
background: url("../assets/icons/arrow-down-bold.svg") no-repeat right 12px center;
|
|
96
|
+
background-size: 16px;
|
|
97
|
+
padding-right: 32px;
|
|
98
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { AfterContentInit, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { NotificationService } from '../services/notification.service';
|
|
4
|
+
import { SiteSettingsService } from '../services/site-settings.service';
|
|
5
|
+
|
|
6
|
+
export interface OptionValue {
|
|
7
|
+
key: string;
|
|
8
|
+
value: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@Component({
|
|
13
|
+
selector: 'app-lazy-loading-select',
|
|
14
|
+
templateUrl: './lazy-loading-select.component.html',
|
|
15
|
+
styleUrls: ['./lazy-loading-select.component.scss']
|
|
16
|
+
})
|
|
17
|
+
export class LazyLoadingSelectComponent implements AfterContentInit {
|
|
18
|
+
optionsPending!: boolean;
|
|
19
|
+
options!: any;
|
|
20
|
+
|
|
21
|
+
@Input()
|
|
22
|
+
public siteId!: number
|
|
23
|
+
@Input()
|
|
24
|
+
public form!: FormGroup;
|
|
25
|
+
@Input()
|
|
26
|
+
public standalone = true;
|
|
27
|
+
@Input()
|
|
28
|
+
public placeholder!: string;
|
|
29
|
+
@Input()
|
|
30
|
+
public controlName!: string;
|
|
31
|
+
@Input()
|
|
32
|
+
public optionsToken!: string;
|
|
33
|
+
@Input()
|
|
34
|
+
public appearance = 'standard';
|
|
35
|
+
@Input()
|
|
36
|
+
public errorCode!: string;
|
|
37
|
+
@Input()
|
|
38
|
+
public errorText!: string;
|
|
39
|
+
@Input()
|
|
40
|
+
public default!: OptionValue;
|
|
41
|
+
@Input()
|
|
42
|
+
public id!: string;
|
|
43
|
+
@Output()
|
|
44
|
+
public changeField = new EventEmitter<string>();
|
|
45
|
+
|
|
46
|
+
get formControl(): FormControl {
|
|
47
|
+
return this.form?.get(this.controlName) as FormControl;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
constructor(
|
|
52
|
+
private notificationService: NotificationService,
|
|
53
|
+
private siteSettingsService: SiteSettingsService,
|
|
54
|
+
) {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
ngAfterContentInit() {
|
|
58
|
+
this.options = [this.form?.get(this.controlName)?.value];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
getOptions() {
|
|
62
|
+
if (!this.siteId && this.options.length > 1) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
this.optionsPending = true;
|
|
66
|
+
this.siteSettingsService.getSelectionOptions(this.siteId, this.optionsToken)
|
|
67
|
+
.subscribe(() => {
|
|
68
|
+
this.optionsPending = false;
|
|
69
|
+
// @ts-ignore
|
|
70
|
+
this.options = this.siteSettingsService[this.optionsToken];
|
|
71
|
+
}, () => {
|
|
72
|
+
this.optionsPending = false;
|
|
73
|
+
// this.notificationService.error(this.translate.instant('COMMON.LOAD_SELECT_OPTIONS_FAILED'));
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
public onFieldChange(token: string) {
|
|
78
|
+
this.changeField.emit(token);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
import { MatExpansionModule } from '@angular/material/expansion';
|
|
4
|
+
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
5
|
+
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
6
|
+
import { MatChipsModule } from '@angular/material/chips';
|
|
7
|
+
import { MatListModule } from '@angular/material/list';
|
|
8
|
+
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
9
|
+
import { MatTreeModule } from '@angular/material/tree';
|
|
10
|
+
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
11
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
12
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
13
|
+
import { MatInputModule } from '@angular/material/input';
|
|
14
|
+
import { MatNativeDateModule } from '@angular/material/core';
|
|
15
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
16
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
17
|
+
import { MatStepperModule } from '@angular/material/stepper';
|
|
18
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
|
19
|
+
import { MatCardModule } from '@angular/material/card';
|
|
20
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
21
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
22
|
+
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
23
|
+
import { MatTableModule } from '@angular/material/table';
|
|
24
|
+
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
25
|
+
import { MatDialogModule } from '@angular/material/dialog';
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@NgModule({
|
|
29
|
+
imports: [
|
|
30
|
+
DragDropModule,
|
|
31
|
+
MatButtonModule,
|
|
32
|
+
MatListModule,
|
|
33
|
+
MatProgressSpinnerModule,
|
|
34
|
+
MatExpansionModule,
|
|
35
|
+
MatInputModule,
|
|
36
|
+
MatInputModule,
|
|
37
|
+
MatListModule,
|
|
38
|
+
MatTreeModule,
|
|
39
|
+
MatTreeModule,
|
|
40
|
+
MatNativeDateModule,
|
|
41
|
+
MatDatepickerModule,
|
|
42
|
+
MatTooltipModule,
|
|
43
|
+
MatAutocompleteModule,
|
|
44
|
+
MatChipsModule,
|
|
45
|
+
MatSidenavModule,
|
|
46
|
+
MatFormFieldModule,
|
|
47
|
+
MatStepperModule,
|
|
48
|
+
MatTabsModule,
|
|
49
|
+
MatCardModule,
|
|
50
|
+
MatSelectModule,
|
|
51
|
+
MatCheckboxModule,
|
|
52
|
+
MatSlideToggleModule,
|
|
53
|
+
MatTableModule,
|
|
54
|
+
MatPaginatorModule,
|
|
55
|
+
MatDialogModule
|
|
56
|
+
],
|
|
57
|
+
exports: [
|
|
58
|
+
DragDropModule,
|
|
59
|
+
MatButtonModule,
|
|
60
|
+
MatListModule,
|
|
61
|
+
MatProgressSpinnerModule,
|
|
62
|
+
MatExpansionModule,
|
|
63
|
+
MatInputModule,
|
|
64
|
+
MatInputModule,
|
|
65
|
+
MatListModule,
|
|
66
|
+
MatTreeModule,
|
|
67
|
+
MatTreeModule,
|
|
68
|
+
MatNativeDateModule,
|
|
69
|
+
MatDatepickerModule,
|
|
70
|
+
MatTooltipModule,
|
|
71
|
+
MatAutocompleteModule,
|
|
72
|
+
MatChipsModule,
|
|
73
|
+
MatSidenavModule,
|
|
74
|
+
MatFormFieldModule,
|
|
75
|
+
MatStepperModule,
|
|
76
|
+
MatTabsModule,
|
|
77
|
+
MatCardModule,
|
|
78
|
+
MatCheckboxModule,
|
|
79
|
+
MatSelectModule,
|
|
80
|
+
MatSlideToggleModule,
|
|
81
|
+
MatProgressSpinnerModule,
|
|
82
|
+
MatTableModule,
|
|
83
|
+
MatPaginatorModule
|
|
84
|
+
],
|
|
85
|
+
})
|
|
86
|
+
export class MaterialModule {
|
|
87
|
+
}
|
package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
|
|
3
|
+
<div class="notification-block" role="alert" aria-live="assertive">
|
|
4
|
+
<div class="notification"
|
|
5
|
+
*ngFor="let notification of list"
|
|
6
|
+
[ngClass]="{'error': notification.isError(), 'success': notification.isSuccess()}">
|
|
7
|
+
|
|
8
|
+
<div class="flex-box">
|
|
9
|
+
<div class="notification-icons-block">
|
|
10
|
+
<i *ngIf="notification.isError()" class="fa fa-exclamation-triangle"></i>
|
|
11
|
+
<i *ngIf="notification.isWarning()" class="fa fa-hand-paper-o"></i>
|
|
12
|
+
<i *ngIf="notification.isSuccess()" class="fa fa-check"></i>
|
|
13
|
+
<i *ngIf="notification.isInfo()" class="fa fa-info-circle"></i>
|
|
14
|
+
</div>
|
|
15
|
+
<div *ngIf="!isReadMore" class="message-block">
|
|
16
|
+
{{notification.message | truncate:[93]}}
|
|
17
|
+
</div>
|
|
18
|
+
<div *ngIf="isReadMore" class="message-block">
|
|
19
|
+
{{notification.message}}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="read-more-error link clickable" *ngIf="notification.message && notification.message.length > 93"
|
|
23
|
+
(click)="readMore()">{{(isReadMore ? 'BUTTON.COLLAPSE' : 'BUTTON.READ_MORE') | translate}}</div>
|
|
24
|
+
<button
|
|
25
|
+
class="close"
|
|
26
|
+
mat-icon-button
|
|
27
|
+
matTooltip="{{'BUTTON.CLOSE' | translate}} {{'NOTIFICATION_MSG.' + notification.type | translate}} {{'NOTIFICATION_MSG.NOTI' | translate}}"
|
|
28
|
+
(click)="removeNotification(notification)">
|
|
29
|
+
<img class="notification-icon-close" src="assets/icons/close_icon_modal.svg" alt="">
|
|
30
|
+
</button>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
-->
|
package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@import '../styles/variables';
|
|
2
|
+
|
|
3
|
+
.notification-block {
|
|
4
|
+
right: 0;
|
|
5
|
+
top: 110px;
|
|
6
|
+
position: absolute;
|
|
7
|
+
width: 20%;
|
|
8
|
+
z-index: 100;
|
|
9
|
+
|
|
10
|
+
.read-more-error {
|
|
11
|
+
margin: 10px 13px 3px 0;
|
|
12
|
+
text-align: right;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.notification {
|
|
16
|
+
padding: 15px 0 10px 0;
|
|
17
|
+
margin-bottom: 18px;
|
|
18
|
+
color: $main-txt-color;
|
|
19
|
+
position: relative;
|
|
20
|
+
border-radius: 3px;
|
|
21
|
+
border-top: 1.5px solid $warning-border-color;
|
|
22
|
+
background: $warning-bg-color;
|
|
23
|
+
box-shadow: 0px 8px 12px 0px rgba(9, 30, 66, 0.15), 0px 0px 1px 0px rgba(9, 30, 66, 0.31);
|
|
24
|
+
width: 368px;
|
|
25
|
+
position: relative;
|
|
26
|
+
|
|
27
|
+
.notification-icons-block {
|
|
28
|
+
text-align: center;
|
|
29
|
+
width: 56px;
|
|
30
|
+
}
|
|
31
|
+
.message-block {
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
font-family: $poppins-font !important;
|
|
34
|
+
word-break: break-word;
|
|
35
|
+
width: 270px;
|
|
36
|
+
}
|
|
37
|
+
.notification-icon-close {
|
|
38
|
+
height: 24px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.error {
|
|
42
|
+
background: #FFE9E9;
|
|
43
|
+
border-top: 1.5px solid #E16D6D;
|
|
44
|
+
}
|
|
45
|
+
&.success {
|
|
46
|
+
background: $success-bg-color;
|
|
47
|
+
border-top: 1.5px solid $success-border-color;
|
|
48
|
+
}
|
|
49
|
+
.fa-exclamation-triangle {
|
|
50
|
+
color: #E16D6D !important;
|
|
51
|
+
}
|
|
52
|
+
.fa-check {
|
|
53
|
+
color: #a0c37f !important;
|
|
54
|
+
}
|
|
55
|
+
.fa-info-circle, .fa-hand-paper-o {
|
|
56
|
+
color: #bdb89e !important;
|
|
57
|
+
}
|
|
58
|
+
.fa {
|
|
59
|
+
font-size: 20px;
|
|
60
|
+
}
|
|
61
|
+
.close {
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 2px;
|
|
64
|
+
right: -5px;
|
|
65
|
+
.fa {
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.fa {
|
|
70
|
+
margin: 0;
|
|
71
|
+
color: inherit;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media screen and (max-width: 600px) {
|
|
77
|
+
.notification-block {
|
|
78
|
+
width: 50%;
|
|
79
|
+
min-width: 150px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { NotificationService } from '../services/notification.service';
|
|
4
|
+
import { Notification } from '../classes/notification';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'app-notification',
|
|
8
|
+
templateUrl: './notification.component.html',
|
|
9
|
+
styleUrls: ['./notification.component.scss'],
|
|
10
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
11
|
+
})
|
|
12
|
+
export class NotificationsComponent implements OnInit, OnDestroy {
|
|
13
|
+
public list!: Notification[];
|
|
14
|
+
public isReadMore!: boolean;
|
|
15
|
+
private listSubscription!: Subscription;
|
|
16
|
+
|
|
17
|
+
constructor(
|
|
18
|
+
public notificationService: NotificationService,
|
|
19
|
+
private ref: ChangeDetectorRef
|
|
20
|
+
) {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this.listChangeSubscribe();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ngOnDestroy() {
|
|
28
|
+
this.listSubscription.unsubscribe();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public readMore(): void {
|
|
32
|
+
this.isReadMore = !this.isReadMore;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public removeNotification(notification: Notification): void {
|
|
36
|
+
this.notificationService.remove(notification);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
private listChangeSubscribe(): void {
|
|
40
|
+
this.listSubscription = this.notificationService.listChange
|
|
41
|
+
.subscribe((list: any) => {
|
|
42
|
+
this.list = list;
|
|
43
|
+
this.ref.detectChanges();
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|