@tuki-io/tuki-widgets 0.0.219-dev.0 → 0.0.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -25
- package/contact-center/cc-readiness/cc-readiness.module.d.ts +19 -0
- package/contact-center/cc-readiness/cc-readiness.service.d.ts +13 -0
- package/contact-center/cc-readiness/components/card/card.component.d.ts +6 -0
- package/contact-center/cc-readiness/types/cc-readiness.d.ts +16 -0
- package/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.d.ts +54 -0
- package/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.d.ts +27 -0
- package/contact-center/cc-script-editor/cc-script-editor.component.d.ts +53 -0
- package/contact-center/cc-script-editor/cc-script-editor.module.d.ts +20 -0
- package/contact-center/cc-script-editor/components/dialogs/add-node-dialog/add-node-dialog.component.d.ts +35 -0
- package/contact-center/cc-script-editor/components/dialogs/link-node-dialog/link-node-dialog.component.d.ts +38 -0
- package/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.component.d.ts +34 -0
- package/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.module.d.ts +9 -0
- package/contact-center/cc-script-editor/components/node-action-toolbar/node-action-toolbar.component.d.ts +27 -0
- package/contact-center/cc-script-editor/components/node-details-sidebar/node-details-sidebar.component.d.ts +27 -0
- package/contact-center/cc-script-editor/components/node-search-panel/node-search-panel.component.d.ts +14 -0
- package/contact-center/cc-script-editor/components/wxcc-actions-bar/wxcc-actions-bar.component.d.ts +11 -0
- package/contact-center/cc-script-editor/components/wxcc-file-selection-bar/wxcc-file-selection-bar.component.d.ts +24 -0
- package/contact-center/cc-script-editor/components/wxcc-flowchart/wxcc-flowchart.component.d.ts +68 -0
- package/contact-center/cc-script-editor/constants/cytoscape.config.d.ts +2 -0
- package/contact-center/cc-script-editor/constants/wxcc-api.constants.d.ts +15 -0
- package/contact-center/cc-script-editor/services/cystoscape-viewport.service.d.ts +21 -0
- package/contact-center/cc-script-editor/services/wxcc-activity-creation.service.d.ts +21 -0
- package/contact-center/cc-script-editor/services/wxcc-activity-manage.service.d.ts +8 -0
- package/contact-center/cc-script-editor/services/wxcc-flow-api.service.d.ts +43 -0
- package/contact-center/cc-script-editor/services/wxcc2graph.service.d.ts +42 -0
- package/contact-center/cc-script-editor/types/extended-activity.d.ts +47 -0
- package/contact-center/cc-script-editor/types/wxcc-activity.d.ts +96 -0
- package/contact-center/cc-script-editor/types/wxcc.d.ts +161 -0
- package/contact-center/cc-script-editor/utils/node-html-template.d.ts +3 -0
- package/contact-center/cc-script-editor/utils/node-mappings.d.ts +54 -0
- package/contact-center/index.d.ts +5 -0
- package/contact-center/public-api.d.ts +5 -0
- package/contact-center/shared/api.endpoints.d.ts +6 -0
- package/contact-center/shared/api.service.d.ts +20 -0
- package/contact-center/shared/material.module.d.ts +16 -0
- package/contact-center/shared/shared.module.d.ts +10 -0
- package/di2mt/api/api.endpoints.d.ts +32 -0
- package/di2mt/index.d.ts +5 -0
- package/di2mt/public-api.d.ts +14 -0
- package/di2mt/shared/components/card/card.component.d.ts +6 -0
- package/di2mt/shared/components/chart-card/chart-card.component.d.ts +23 -0
- package/di2mt/shared/components/stat-card/stat-card.component.d.ts +15 -0
- package/di2mt/shared/components/status-list-card/status-list-card.component.d.ts +15 -0
- package/di2mt/shared/components/summary-card/summary-card.component.d.ts +9 -0
- package/di2mt/shared/components/table-filters/table-filters.component.d.ts +14 -0
- package/di2mt/shared/constants/app.constants.d.ts +74 -0
- package/di2mt/shared/material.module.d.ts +15 -0
- package/di2mt/shared/services/api.service.d.ts +20 -0
- package/di2mt/shared/shared.module.d.ts +16 -0
- package/di2mt/shared/types/constants.d.ts +15 -0
- package/di2mt/shared/types/data-table.d.ts +5 -0
- package/di2mt/shared/types/table/filter.d.ts +16 -0
- package/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.d.ts +11 -0
- package/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.d.ts +70 -0
- package/di2mt/widgets/site-upgrade/site-upgrade.module.d.ts +15 -0
- package/di2mt/widgets/site-upgrade/site-upgrade.service.d.ts +84 -0
- package/di2mt/widgets/site-upgrade/types/user-upgrade.d.ts +26 -0
- package/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.d.ts +20 -0
- package/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.d.ts +20 -0
- package/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.d.ts +20 -0
- package/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.d.ts +19 -0
- package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.d.ts +20 -0
- package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.d.ts +20 -0
- package/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.d.ts +16 -0
- package/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.d.ts +19 -0
- package/di2mt/widgets/upgrade-overview/types/upgrade-overview.d.ts +57 -0
- package/di2mt/widgets/upgrade-overview/upgrade-overview.module.d.ts +16 -0
- package/di2mt/widgets/upgrade-overview/upgrade-overview.service.d.ts +18 -0
- package/di2mt/widgets/user-upgrade/types/user-upgrade.d.ts +32 -0
- package/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.d.ts +80 -0
- package/di2mt/widgets/user-upgrade/user-upgrade.module.d.ts +16 -0
- package/di2mt/widgets/user-upgrade/user-upgrade.service.d.ts +41 -0
- package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +71 -0
- package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +38 -0
- package/esm2020/contact-center/cc-readiness/components/card/card.component.mjs +13 -0
- package/esm2020/contact-center/cc-readiness/types/cc-readiness.mjs +3 -0
- package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +194 -0
- package/esm2020/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.mjs +50 -0
- package/esm2020/contact-center/cc-script-editor/cc-script-editor.component.mjs +193 -0
- package/esm2020/contact-center/cc-script-editor/cc-script-editor.module.mjs +83 -0
- package/esm2020/contact-center/cc-script-editor/components/dialogs/add-node-dialog/add-node-dialog.component.mjs +60 -0
- package/esm2020/contact-center/cc-script-editor/components/dialogs/link-node-dialog/link-node-dialog.component.mjs +83 -0
- package/esm2020/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.component.mjs +104 -0
- package/esm2020/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.module.mjs +28 -0
- package/esm2020/contact-center/cc-script-editor/components/node-action-toolbar/node-action-toolbar.component.mjs +65 -0
- package/esm2020/contact-center/cc-script-editor/components/node-details-sidebar/node-details-sidebar.component.mjs +97 -0
- package/esm2020/contact-center/cc-script-editor/components/node-search-panel/node-search-panel.component.mjs +43 -0
- package/esm2020/contact-center/cc-script-editor/components/wxcc-actions-bar/wxcc-actions-bar.component.mjs +27 -0
- package/esm2020/contact-center/cc-script-editor/components/wxcc-file-selection-bar/wxcc-file-selection-bar.component.mjs +61 -0
- package/esm2020/contact-center/cc-script-editor/components/wxcc-flowchart/wxcc-flowchart.component.mjs +434 -0
- package/esm2020/contact-center/cc-script-editor/constants/cytoscape.config.mjs +72 -0
- package/esm2020/contact-center/cc-script-editor/constants/wxcc-api.constants.mjs +14 -0
- package/esm2020/contact-center/cc-script-editor/services/cystoscape-viewport.service.mjs +65 -0
- package/esm2020/contact-center/cc-script-editor/services/wxcc-activity-creation.service.mjs +82 -0
- package/esm2020/contact-center/cc-script-editor/services/wxcc-activity-manage.service.mjs +162 -0
- package/esm2020/contact-center/cc-script-editor/services/wxcc-flow-api.service.mjs +79 -0
- package/esm2020/contact-center/cc-script-editor/services/wxcc2graph.service.mjs +144 -0
- package/esm2020/contact-center/cc-script-editor/types/extended-activity.mjs +4 -0
- package/esm2020/contact-center/cc-script-editor/types/wxcc-activity.mjs +2 -0
- package/esm2020/contact-center/cc-script-editor/types/wxcc.mjs +6 -0
- package/esm2020/contact-center/cc-script-editor/utils/node-html-template.mjs +76 -0
- package/esm2020/contact-center/cc-script-editor/utils/node-mappings.mjs +109 -0
- package/esm2020/contact-center/public-api.mjs +6 -0
- package/esm2020/contact-center/shared/api.endpoints.mjs +7 -0
- package/esm2020/contact-center/shared/api.service.mjs +81 -0
- package/esm2020/contact-center/shared/material.module.mjs +80 -0
- package/esm2020/contact-center/shared/shared.module.mjs +33 -0
- package/esm2020/contact-center/tuki-io-tuki-widgets-contact-center.mjs +5 -0
- package/esm2020/di2mt/api/api.endpoints.mjs +33 -0
- package/esm2020/di2mt/public-api.mjs +25 -0
- package/esm2020/di2mt/shared/components/card/card.component.mjs +13 -0
- package/esm2020/di2mt/shared/components/chart-card/chart-card.component.mjs +66 -0
- package/esm2020/di2mt/shared/components/stat-card/stat-card.component.mjs +65 -0
- package/esm2020/di2mt/shared/components/status-list-card/status-list-card.component.mjs +43 -0
- package/esm2020/di2mt/shared/components/summary-card/summary-card.component.mjs +36 -0
- package/esm2020/di2mt/shared/components/table-filters/table-filters.component.mjs +37 -0
- package/esm2020/di2mt/shared/constants/app.constants.mjs +95 -0
- package/esm2020/di2mt/shared/material.module.mjs +76 -0
- package/esm2020/di2mt/shared/services/api.service.mjs +81 -0
- package/esm2020/di2mt/shared/shared.module.mjs +63 -0
- package/esm2020/di2mt/shared/types/constants.mjs +20 -0
- package/esm2020/di2mt/shared/types/data-table.mjs +2 -0
- package/esm2020/di2mt/shared/types/table/filter.mjs +2 -0
- package/esm2020/di2mt/tuki-io-tuki-widgets-di2mt.mjs +5 -0
- package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +38 -0
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +438 -0
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.module.mjs +53 -0
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.service.mjs +93 -0
- package/esm2020/di2mt/widgets/site-upgrade/types/user-upgrade.mjs +3 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.mjs +67 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.mjs +71 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +83 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.mjs +86 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.mjs +48 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.mjs +48 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.mjs +89 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.mjs +77 -0
- package/esm2020/di2mt/widgets/upgrade-overview/types/upgrade-overview.mjs +2 -0
- package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.module.mjs +64 -0
- package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.service.mjs +93 -0
- package/esm2020/di2mt/widgets/user-upgrade/types/user-upgrade.mjs +3 -0
- package/esm2020/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.mjs +379 -0
- package/esm2020/di2mt/widgets/user-upgrade/user-upgrade.module.mjs +59 -0
- package/esm2020/di2mt/widgets/user-upgrade/user-upgrade.service.mjs +80 -0
- package/esm2020/lib/widgets.component.mjs +22 -0
- package/esm2020/lib/widgets.module.mjs +21 -0
- package/esm2020/lib/widgets.service.mjs +14 -0
- package/esm2020/public-api.mjs +7 -0
- package/esm2020/tuki-io-tuki-widgets.mjs +5 -0
- package/esm2020/user-creation/public-api.mjs +13 -0
- package/esm2020/user-creation/src/app.constants.mjs +30 -0
- package/esm2020/user-creation/src/classes/notification.mjs +32 -0
- package/esm2020/user-creation/src/classes/site.mjs +53 -0
- package/esm2020/user-creation/src/environments/environment.mjs +11 -0
- package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +199 -0
- package/esm2020/user-creation/src/shared/api/api.service.mjs +81 -0
- package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +38 -0
- package/esm2020/user-creation/src/shared/material.module.mjs +104 -0
- package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +30 -0
- package/esm2020/user-creation/src/shared/services/notification.service.mjs +62 -0
- package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +116 -0
- package/esm2020/user-creation/src/shared/services/utils.mjs +19 -0
- package/esm2020/user-creation/src/shared/shared.module.mjs +56 -0
- package/esm2020/user-creation/src/user-creation.module.mjs +102 -0
- package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +147 -0
- package/esm2020/user-creation/src/utils/device-default-prefix.mjs +13 -0
- package/esm2020/user-creation/src/utils/device-name-validation.mjs +23 -0
- package/esm2020/user-creation/src/utils/model.mjs +19 -0
- package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +26 -0
- package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.mjs +521 -0
- package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-overview-step/user-overview-step.component.mjs +19 -0
- package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.mjs +176 -0
- package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +127 -0
- package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.mjs +796 -0
- package/esm2020/user-creation/tuki-io-tuki-widgets-user-creation.mjs +5 -0
- package/esm2020/user-device-manage/public-api.mjs +9 -0
- package/esm2020/user-device-manage/src/app.constants.mjs +98 -0
- package/esm2020/user-device-manage/src/classes/device.mjs +85 -0
- package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +40 -0
- package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +2 -0
- package/esm2020/user-device-manage/src/classes/line-association.mjs +121 -0
- package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +10 -0
- package/esm2020/user-device-manage/src/classes/line-directory.mjs +27 -0
- package/esm2020/user-device-manage/src/classes/line.mjs +18 -0
- package/esm2020/user-device-manage/src/classes/notification.mjs +32 -0
- package/esm2020/user-device-manage/src/classes/recording-options.mjs +7 -0
- package/esm2020/user-device-manage/src/classes/simplified-user.mjs +111 -0
- package/esm2020/user-device-manage/src/classes/site-defaults.mjs +21 -0
- package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +32 -0
- package/esm2020/user-device-manage/src/classes/types.mjs +24 -0
- package/esm2020/user-device-manage/src/common-functions.mjs +19 -0
- package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +34 -0
- package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +31 -0
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +16 -0
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +74 -0
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +179 -0
- package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +43 -0
- package/esm2020/user-device-manage/src/device-list/device-list.component.mjs +24 -0
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +178 -0
- package/esm2020/user-device-manage/src/environments/environment.mjs +11 -0
- package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +36 -0
- package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +74 -0
- package/esm2020/user-device-manage/src/material.module.mjs +192 -0
- package/esm2020/user-device-manage/src/notifications/notification.component.mjs +35 -0
- package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +26 -0
- package/esm2020/user-device-manage/src/services/api.service.mjs +79 -0
- package/esm2020/user-device-manage/src/services/device.service.mjs +83 -0
- package/esm2020/user-device-manage/src/services/dns.service.mjs +136 -0
- package/esm2020/user-device-manage/src/services/line.service.mjs +76 -0
- package/esm2020/user-device-manage/src/services/notification.service.mjs +62 -0
- package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/user-device-manage/src/services/site-settings.service.mjs +70 -0
- package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +197 -0
- package/esm2020/user-device-manage/src/services/user.service.mjs +366 -0
- package/esm2020/user-device-manage/src/services/utils.service.mjs +87 -0
- package/esm2020/user-device-manage/src/services/validation.service.mjs +760 -0
- package/esm2020/user-device-manage/src/shared/tk-page-section/page-section.component.mjs +13 -0
- package/esm2020/user-device-manage/src/user-device-manage.module.mjs +116 -0
- package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/user-device-manage/tuki-io-tuki-widgets-user-device-manage.mjs +5 -0
- package/esm2020/user-manage/public-api.mjs +7 -0
- package/esm2020/user-manage/src/app.constants.mjs +55 -0
- package/esm2020/user-manage/src/classes/device.mjs +38 -0
- package/esm2020/user-manage/src/classes/line-association-interface.mjs +2 -0
- package/esm2020/user-manage/src/classes/line-association.mjs +110 -0
- package/esm2020/user-manage/src/classes/line-call-info-display.mjs +10 -0
- package/esm2020/user-manage/src/classes/line-directory.mjs +28 -0
- package/esm2020/user-manage/src/classes/line.mjs +18 -0
- package/esm2020/user-manage/src/classes/notification.mjs +32 -0
- package/esm2020/user-manage/src/classes/pagination.mjs +8 -0
- package/esm2020/user-manage/src/classes/recording-options.mjs +7 -0
- package/esm2020/user-manage/src/classes/simplified-user.mjs +115 -0
- package/esm2020/user-manage/src/classes/table-data.mjs +2 -0
- package/esm2020/user-manage/src/classes/translation-pattern.mjs +32 -0
- package/esm2020/user-manage/src/classes/user-list.mjs +10 -0
- package/esm2020/user-manage/src/common-functions.mjs +19 -0
- package/esm2020/user-manage/src/device-list/device-list.component.mjs +26 -0
- package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +33 -0
- package/esm2020/user-manage/src/environments/environment.mjs +11 -0
- package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +36 -0
- package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +81 -0
- package/esm2020/user-manage/src/material.module.mjs +188 -0
- package/esm2020/user-manage/src/notifications/notification.component.mjs +35 -0
- package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/user-manage/src/services/api.service.mjs +79 -0
- package/esm2020/user-manage/src/services/dns.service.mjs +110 -0
- package/esm2020/user-manage/src/services/line.service.mjs +34 -0
- package/esm2020/user-manage/src/services/notification.service.mjs +62 -0
- package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/user-manage/src/services/site-settings.service.mjs +36 -0
- package/esm2020/user-manage/src/services/sorting-utils.service.mjs +197 -0
- package/esm2020/user-manage/src/services/user.service.mjs +257 -0
- package/esm2020/user-manage/src/services/users-search.service.mjs +50 -0
- package/esm2020/user-manage/src/services/utils.service.mjs +73 -0
- package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +65 -0
- package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +87 -0
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +32 -0
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +226 -0
- package/esm2020/user-manage/src/user-manage.module.mjs +102 -0
- package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +43 -0
- package/esm2020/user-manage/tuki-io-tuki-widgets-user-manage.mjs +5 -0
- package/esm2020/users-list/public-api.mjs +9 -0
- package/esm2020/users-list/src/app.constants.mjs +84 -0
- package/esm2020/users-list/src/classes/app-location.mjs +32 -0
- package/esm2020/users-list/src/classes/device.mjs +7 -0
- package/esm2020/users-list/src/classes/line.mjs +18 -0
- package/esm2020/users-list/src/classes/move-user.mjs +182 -0
- package/esm2020/users-list/src/classes/notification.mjs +31 -0
- package/esm2020/users-list/src/classes/pagination.mjs +8 -0
- package/esm2020/users-list/src/classes/simlified-user.mjs +50 -0
- package/esm2020/users-list/src/classes/table-data.mjs +2 -0
- package/esm2020/users-list/src/classes/user-list.mjs +15 -0
- package/esm2020/users-list/src/components/table-toolbar/table-toolbar.component.mjs +44 -0
- package/esm2020/users-list/src/material.module.mjs +216 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +38 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +23 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +192 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +38 -0
- package/esm2020/users-list/src/services/api-webex.service.mjs +18 -0
- package/esm2020/users-list/src/services/api.service.mjs +78 -0
- package/esm2020/users-list/src/services/dns.service.mjs +120 -0
- package/esm2020/users-list/src/services/events-communication.service.mjs +14 -0
- package/esm2020/users-list/src/services/move-user.service.mjs +53 -0
- package/esm2020/users-list/src/services/notification.service.mjs +62 -0
- package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/users-list/src/services/site-settings.service.mjs +27 -0
- package/esm2020/users-list/src/services/user.service.mjs +174 -0
- package/esm2020/users-list/src/services/users-search.service.mjs +168 -0
- package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +34 -0
- package/esm2020/users-list/src/users-list.component.mjs +817 -0
- package/esm2020/users-list/src/users-list.module.mjs +98 -0
- package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/users-list/src/utils/common-functions.mjs +32 -0
- package/esm2020/users-list/src/utils/notifications/notification.component.mjs +38 -0
- package/esm2020/users-list/src/utils/pagination/pagination.component.mjs +43 -0
- package/esm2020/users-list/src/utils/utils.service.mjs +73 -0
- package/esm2020/users-list/tuki-io-tuki-widgets-users-list.mjs +5 -0
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +3452 -0
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +2353 -0
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +2774 -0
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +3515 -0
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +2268 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +2726 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets.mjs +63 -0
- package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +3471 -0
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +2342 -0
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +2733 -0
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +3493 -0
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +2252 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +2699 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets.mjs +63 -0
- package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/widgets.component.d.ts +8 -0
- package/lib/widgets.module.d.ts +7 -0
- package/lib/widgets.service.d.ts +6 -0
- package/package.json +81 -59
- package/public-api.d.ts +3 -0
- package/user-creation/index.d.ts +5 -0
- package/user-creation/public-api.d.ts +2 -0
- package/user-creation/src/app.constants.d.ts +25 -0
- package/user-creation/src/classes/notification.d.ts +18 -0
- package/user-creation/src/classes/site.d.ts +203 -0
- package/user-creation/src/environments/environment.d.ts +9 -0
- package/user-creation/src/interfaces/user-creation-wizard.interfaces.d.ts +554 -0
- package/user-creation/src/shared/api/api.service.d.ts +20 -0
- package/user-creation/src/shared/components/notification/notification.component.d.ts +19 -0
- package/user-creation/src/shared/material.module.d.ts +19 -0
- package/user-creation/src/shared/pipes/truncate.pipe.d.ts +7 -0
- package/user-creation/src/shared/services/notification.service.d.ts +18 -0
- package/user-creation/src/shared/services/user-creation-api.service.d.ts +30 -0
- package/user-creation/src/shared/services/utils.d.ts +1 -0
- package/user-creation/src/shared/shared.module.d.ts +12 -0
- package/user-creation/src/user-creation.module.d.ts +24 -0
- package/user-creation/src/utils/app-loader/app-loader.d.ts +6 -0
- package/user-creation/src/utils/build-savable-end-user.d.ts +23 -0
- package/user-creation/src/utils/device-default-prefix.d.ts +5 -0
- package/user-creation/src/utils/device-name-validation.d.ts +6 -0
- package/user-creation/src/utils/model.d.ts +1 -0
- package/user-creation/src/utils/parse-device-name-rule.d.ts +8 -0
- package/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.d.ts +86 -0
- package/user-creation/src/widgets/user-creation-wizard/components/user-overview-step/user-overview-step.component.d.ts +11 -0
- package/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.d.ts +47 -0
- package/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.d.ts +37 -0
- package/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.d.ts +106 -0
- package/user-device-manage/index.d.ts +5 -0
- package/user-device-manage/public-api.d.ts +8 -0
- package/user-device-manage/src/app.constants.d.ts +77 -0
- package/user-device-manage/src/classes/device.d.ts +233 -0
- package/user-device-manage/src/classes/deviceProfile.d.ts +37 -0
- package/user-device-manage/src/classes/line-association-interface.d.ts +45 -0
- package/user-device-manage/src/classes/line-association.d.ts +62 -0
- package/user-device-manage/src/classes/line-call-info-display.d.ts +11 -0
- package/user-device-manage/src/classes/line-directory.d.ts +15 -0
- package/user-device-manage/src/classes/line.d.ts +140 -0
- package/user-device-manage/src/classes/notification.d.ts +18 -0
- package/user-device-manage/src/classes/recording-options.d.ts +5 -0
- package/user-device-manage/src/classes/simplified-user.d.ts +52 -0
- package/user-device-manage/src/classes/site-defaults.d.ts +146 -0
- package/user-device-manage/src/classes/translation-pattern.d.ts +19 -0
- package/user-device-manage/src/classes/types.d.ts +19 -0
- package/user-device-manage/src/common-functions.d.ts +1 -0
- package/user-device-manage/src/confirm-dialog/info-dialog.component.d.ts +20 -0
- package/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.d.ts +15 -0
- package/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.d.ts +7 -0
- package/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.d.ts +28 -0
- package/user-device-manage/src/device-associated-line/device-associated-line.component.d.ts +89 -0
- package/user-device-manage/src/device-info/device-info.component.d.ts +15 -0
- package/user-device-manage/src/device-list/device-list.component.d.ts +11 -0
- package/user-device-manage/src/device-manage-widget.component.d.ts +62 -0
- package/user-device-manage/src/environments/environment.d.ts +9 -0
- package/user-device-manage/src/interseptors/auth.interceptor.d.ts +9 -0
- package/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +35 -0
- package/user-device-manage/src/material.module.d.ts +29 -0
- package/user-device-manage/src/notifications/notification.component.d.ts +19 -0
- package/user-device-manage/src/pipes/mac-address.pipe.d.ts +7 -0
- package/user-device-manage/src/services/api.service.d.ts +20 -0
- package/user-device-manage/src/services/device.service.d.ts +21 -0
- package/user-device-manage/src/services/dns.service.d.ts +18 -0
- package/user-device-manage/src/services/line.service.d.ts +33 -0
- package/user-device-manage/src/services/notification.service.d.ts +18 -0
- package/user-device-manage/src/services/removeKynFromIBM.service.d.ts +8 -0
- package/user-device-manage/src/services/site-settings.service.d.ts +25 -0
- package/user-device-manage/src/services/sorting-utils.service.d.ts +26 -0
- package/user-device-manage/src/services/user.service.d.ts +69 -0
- package/user-device-manage/src/services/utils.service.d.ts +10 -0
- package/user-device-manage/src/services/validation.service.d.ts +165 -0
- package/user-device-manage/src/shared/tk-page-section/page-section.component.d.ts +6 -0
- package/user-device-manage/src/user-device-manage.module.d.ts +25 -0
- package/user-device-manage/src/utils/app-loader/app-loader.d.ts +6 -0
- package/user-manage/index.d.ts +5 -0
- package/user-manage/public-api.d.ts +6 -0
- package/user-manage/src/app.constants.d.ts +34 -0
- package/user-manage/src/classes/device.d.ts +204 -0
- package/user-manage/src/classes/line-association-interface.d.ts +41 -0
- package/user-manage/src/classes/line-association.d.ts +55 -0
- package/user-manage/src/classes/line-call-info-display.d.ts +11 -0
- package/user-manage/src/classes/line-directory.d.ts +17 -0
- package/user-manage/src/classes/line.d.ts +141 -0
- package/user-manage/src/classes/notification.d.ts +18 -0
- package/user-manage/src/classes/pagination.d.ts +13 -0
- package/user-manage/src/classes/recording-options.d.ts +5 -0
- package/user-manage/src/classes/simplified-user.d.ts +53 -0
- package/user-manage/src/classes/table-data.d.ts +5 -0
- package/user-manage/src/classes/translation-pattern.d.ts +18 -0
- package/user-manage/src/classes/user-list.d.ts +34 -0
- package/user-manage/src/common-functions.d.ts +1 -0
- package/user-manage/src/device-list/device-list.component.d.ts +11 -0
- package/user-manage/src/device-list/device-row/device-row.component.d.ts +12 -0
- package/user-manage/src/environments/environment.d.ts +9 -0
- package/user-manage/src/interseptors/auth.interceptor.d.ts +9 -0
- package/user-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +37 -0
- package/user-manage/src/material.module.d.ts +28 -0
- package/user-manage/src/notifications/notification.component.d.ts +19 -0
- package/user-manage/src/removeKynFromIBM.service.d.ts +8 -0
- package/user-manage/src/services/api.service.d.ts +21 -0
- package/user-manage/src/services/dns.service.d.ts +14 -0
- package/user-manage/src/services/line.service.d.ts +17 -0
- package/user-manage/src/services/notification.service.d.ts +18 -0
- package/user-manage/src/services/removeKynFromIBM.service.d.ts +8 -0
- package/user-manage/src/services/site-settings.service.d.ts +9 -0
- package/user-manage/src/services/sorting-utils.service.d.ts +26 -0
- package/user-manage/src/services/user.service.d.ts +46 -0
- package/user-manage/src/services/users-search.service.d.ts +25 -0
- package/user-manage/src/services/utils.service.d.ts +9 -0
- package/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.d.ts +24 -0
- package/user-manage/src/user-calling/user-calling.component.d.ts +33 -0
- package/user-manage/src/user-info/user-info.component.d.ts +12 -0
- package/user-manage/src/user-manage-widget.component.d.ts +45 -0
- package/user-manage/src/user-manage.module.d.ts +22 -0
- package/user-manage/src/utils/app-loader/app-loader.d.ts +6 -0
- package/user-manage/src/utils/pagination/pagination.component.d.ts +18 -0
- package/users-list/index.d.ts +5 -0
- package/users-list/public-api.d.ts +8 -0
- package/users-list/src/app.constants.d.ts +67 -0
- package/users-list/src/classes/app-location.d.ts +17 -0
- package/users-list/src/classes/device.d.ts +224 -0
- package/users-list/src/classes/line.d.ts +140 -0
- package/users-list/src/classes/move-user.d.ts +85 -0
- package/users-list/src/classes/notification.d.ts +18 -0
- package/users-list/src/classes/pagination.d.ts +13 -0
- package/users-list/src/classes/simlified-user.d.ts +25 -0
- package/users-list/src/classes/table-data.d.ts +5 -0
- package/users-list/src/classes/user-list.d.ts +37 -0
- package/users-list/src/components/table-toolbar/table-toolbar.component.d.ts +17 -0
- package/users-list/src/material.module.d.ts +32 -0
- package/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.d.ts +21 -0
- package/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.d.ts +12 -0
- package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +55 -0
- package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +17 -0
- package/users-list/src/services/api-webex.service.d.ts +8 -0
- package/users-list/src/services/api.service.d.ts +21 -0
- package/users-list/src/services/dns.service.d.ts +18 -0
- package/users-list/src/services/events-communication.service.d.ts +8 -0
- package/users-list/src/services/move-user.service.d.ts +17 -0
- package/users-list/src/services/notification.service.d.ts +18 -0
- package/users-list/src/services/removeKynFromIBM.service.d.ts +8 -0
- package/users-list/src/services/site-settings.service.d.ts +11 -0
- package/users-list/src/services/user.service.d.ts +42 -0
- package/users-list/src/services/users-search.service.d.ts +41 -0
- package/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.d.ts +20 -0
- package/users-list/src/users-list.component.d.ts +97 -0
- package/users-list/src/users-list.module.d.ts +20 -0
- package/users-list/src/utils/app-loader/app-loader.d.ts +6 -0
- package/users-list/src/utils/common-functions.d.ts +2 -0
- package/users-list/src/utils/notifications/notification.component.d.ts +19 -0
- package/users-list/src/utils/pagination/pagination.component.d.ts +18 -0
- package/users-list/src/utils/utils.service.d.ts +9 -0
- package/.editorconfig +0 -16
- package/.hintrc +0 -14
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -141
- package/projects/tuki/widgets/README.md +0 -24
- package/projects/tuki/widgets/contact-center/cc-readiness/cc-readiness.module.ts +0 -44
- package/projects/tuki/widgets/contact-center/cc-readiness/cc-readiness.service.spec.ts +0 -16
- package/projects/tuki/widgets/contact-center/cc-readiness/cc-readiness.service.ts +0 -37
- package/projects/tuki/widgets/contact-center/cc-readiness/components/card/card.component.html +0 -11
- package/projects/tuki/widgets/contact-center/cc-readiness/components/card/card.component.scss +0 -48
- package/projects/tuki/widgets/contact-center/cc-readiness/components/card/card.component.ts +0 -10
- package/projects/tuki/widgets/contact-center/cc-readiness/types/cc-readiness.ts +0 -30
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.html +0 -75
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.scss +0 -177
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.spec.ts +0 -35
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.ts +0 -243
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.html +0 -19
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.scss +0 -38
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.ts +0 -59
- package/projects/tuki/widgets/contact-center/cc-script-editor/cc-script-editor.component.html +0 -36
- package/projects/tuki/widgets/contact-center/cc-script-editor/cc-script-editor.component.scss +0 -28
- package/projects/tuki/widgets/contact-center/cc-script-editor/cc-script-editor.component.ts +0 -263
- package/projects/tuki/widgets/contact-center/cc-script-editor/cc-script-editor.module.ts +0 -54
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/dialogs/add-node-dialog/add-node-dialog.component.html +0 -0
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/dialogs/add-node-dialog/add-node-dialog.component.scss +0 -111
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/dialogs/add-node-dialog/add-node-dialog.component.ts +0 -78
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/dialogs/link-node-dialog/link-node-dialog.component.html +0 -0
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/dialogs/link-node-dialog/link-node-dialog.component.scss +0 -155
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/dialogs/link-node-dialog/link-node-dialog.component.ts +0 -105
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.component.html +0 -13
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.component.scss +0 -36
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.component.ts +0 -118
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/floating-toolbar/floating-toolbar.module.ts +0 -18
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-action-toolbar/node-action-toolbar.component.html +0 -18
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-action-toolbar/node-action-toolbar.component.scss +0 -62
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-action-toolbar/node-action-toolbar.component.ts +0 -72
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-details-sidebar/node-details-sidebar.component.html +0 -130
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-details-sidebar/node-details-sidebar.component.scss +0 -298
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-details-sidebar/node-details-sidebar.component.ts +0 -113
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-search-panel/node-search-panel.component.html +0 -13
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-search-panel/node-search-panel.component.scss +0 -57
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/node-search-panel/node-search-panel.component.ts +0 -46
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-actions-bar/wxcc-actions-bar.component.html +0 -30
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-actions-bar/wxcc-actions-bar.component.scss +0 -9
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-actions-bar/wxcc-actions-bar.component.ts +0 -16
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-file-selection-bar/wxcc-file-selection-bar.component.html +0 -29
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-file-selection-bar/wxcc-file-selection-bar.component.scss +0 -21
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-file-selection-bar/wxcc-file-selection-bar.component.ts +0 -58
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-flowchart/wxcc-flowchart.component.html +0 -83
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-flowchart/wxcc-flowchart.component.scss +0 -339
- package/projects/tuki/widgets/contact-center/cc-script-editor/components/wxcc-flowchart/wxcc-flowchart.component.ts +0 -551
- package/projects/tuki/widgets/contact-center/cc-script-editor/constants/cytoscape.config.ts +0 -73
- package/projects/tuki/widgets/contact-center/cc-script-editor/constants/wxcc-activity-templates.constants.ts +0 -1
- package/projects/tuki/widgets/contact-center/cc-script-editor/constants/wxcc-api.constants.ts +0 -52
- package/projects/tuki/widgets/contact-center/cc-script-editor/mock/data/QWC_wxcc.json +0 -912
- package/projects/tuki/widgets/contact-center/cc-script-editor/mock/mock-data.service.ts +0 -0
- package/projects/tuki/widgets/contact-center/cc-script-editor/services/cystoscape-viewport.service.ts +0 -77
- package/projects/tuki/widgets/contact-center/cc-script-editor/services/wxcc-activity-creation.service.ts +0 -100
- package/projects/tuki/widgets/contact-center/cc-script-editor/services/wxcc-activity-manage.service.ts +0 -159
- package/projects/tuki/widgets/contact-center/cc-script-editor/services/wxcc-flow-api.service.ts +0 -81
- package/projects/tuki/widgets/contact-center/cc-script-editor/services/wxcc2graph.service.ts +0 -172
- package/projects/tuki/widgets/contact-center/cc-script-editor/types/cytoscape-node-html-label.d.ts +0 -24
- package/projects/tuki/widgets/contact-center/cc-script-editor/types/extended-activity.ts +0 -62
- package/projects/tuki/widgets/contact-center/cc-script-editor/types/wxcc-activity.ts +0 -135
- package/projects/tuki/widgets/contact-center/cc-script-editor/types/wxcc.ts +0 -220
- package/projects/tuki/widgets/contact-center/cc-script-editor/utils/node-html-template.ts +0 -90
- package/projects/tuki/widgets/contact-center/cc-script-editor/utils/node-mappings.ts +0 -153
- package/projects/tuki/widgets/contact-center/ng-package.json +0 -12
- package/projects/tuki/widgets/contact-center/public-api.ts +0 -8
- package/projects/tuki/widgets/contact-center/shared/api.endpoints.ts +0 -6
- package/projects/tuki/widgets/contact-center/shared/api.service.ts +0 -87
- package/projects/tuki/widgets/contact-center/shared/assets/icons/applications.svg +0 -6
- package/projects/tuki/widgets/contact-center/shared/assets/icons/audioPrompts.svg +0 -4
- package/projects/tuki/widgets/contact-center/shared/assets/icons/contactServiceQueues.svg +0 -3
- package/projects/tuki/widgets/contact-center/shared/assets/icons/phonebooks.svg +0 -6
- package/projects/tuki/widgets/contact-center/shared/assets/icons/resourceGroups.svg +0 -6
- package/projects/tuki/widgets/contact-center/shared/assets/icons/resources.svg +0 -3
- package/projects/tuki/widgets/contact-center/shared/assets/icons/scripts.svg +0 -12
- package/projects/tuki/widgets/contact-center/shared/assets/icons/skills.svg +0 -3
- package/projects/tuki/widgets/contact-center/shared/assets/icons/teams.svg +0 -3
- package/projects/tuki/widgets/contact-center/shared/assets/icons/triggers.svg +0 -4
- package/projects/tuki/widgets/contact-center/shared/assets/icons/wrapUpCodes.svg +0 -3
- package/projects/tuki/widgets/contact-center/shared/assets/icons/xml.svg +0 -6
- package/projects/tuki/widgets/contact-center/shared/material.module.ts +0 -38
- package/projects/tuki/widgets/contact-center/shared/shared.module.ts +0 -20
- package/projects/tuki/widgets/contact-center/shared/styles/tuki-widgets-theme.scss +0 -13
- package/projects/tuki/widgets/contact-center/shared/styles/variables.scss +0 -96
- package/projects/tuki/widgets/di2mt/api/api.endpoints.ts +0 -32
- package/projects/tuki/widgets/di2mt/assets/icons/already_upgraded.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/check2_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/check_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/details_d_icon.svg +0 -3
- package/projects/tuki/widgets/di2mt/assets/icons/expand_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/icon_play.svg +0 -3
- package/projects/tuki/widgets/di2mt/assets/icons/issue_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/menu_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/ready_to_upgrade.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/search_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/site.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/user.png +0 -0
- package/projects/tuki/widgets/di2mt/assets/icons/warning_icon.png +0 -0
- package/projects/tuki/widgets/di2mt/ng-package.json +0 -7
- package/projects/tuki/widgets/di2mt/public-api.ts +0 -28
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.html +0 -11
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.scss +0 -48
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.ts +0 -10
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.html +0 -15
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.scss +0 -38
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.ts +0 -76
- package/projects/tuki/widgets/di2mt/shared/components/index.ts +0 -6
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.html +0 -68
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.scss +0 -78
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.ts +0 -59
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.html +0 -57
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.scss +0 -187
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.ts +0 -41
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.html +0 -12
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.scss +0 -78
- package/projects/tuki/widgets/di2mt/shared/components/summary-card/summary-card.component.ts +0 -27
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.html +0 -28
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.scss +0 -245
- package/projects/tuki/widgets/di2mt/shared/components/table-filters/table-filters.component.ts +0 -28
- package/projects/tuki/widgets/di2mt/shared/constants/app.constants.ts +0 -96
- package/projects/tuki/widgets/di2mt/shared/material.module.ts +0 -36
- package/projects/tuki/widgets/di2mt/shared/services/api.service.ts +0 -87
- package/projects/tuki/widgets/di2mt/shared/shared.module.ts +0 -39
- package/projects/tuki/widgets/di2mt/shared/types/constants.ts +0 -22
- package/projects/tuki/widgets/di2mt/shared/types/data-table.ts +0 -5
- package/projects/tuki/widgets/di2mt/shared/types/table/filter.ts +0 -14
- package/projects/tuki/widgets/di2mt/styles/tuki-widgets-theme.scss +0 -13
- package/projects/tuki/widgets/di2mt/styles/variables.scss +0 -94
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.html +0 -6
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.scss +0 -45
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.ts +0 -27
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.html +0 -160
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.scss +0 -469
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +0 -511
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +0 -33
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.service.ts +0 -173
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/types/user-upgrade.ts +0 -27
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component.ts +0 -55
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.ts +0 -60
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.ts +0 -72
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.ts +0 -85
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.html +0 -7
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.scss +0 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.ts +0 -47
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.html +0 -7
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.scss +0 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.ts +0 -48
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.ts +0 -84
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.ts +0 -73
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/types/upgrade-overview.ts +0 -59
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.module.ts +0 -45
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.service.ts +0 -109
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/types/user-upgrade.ts +0 -35
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.html +0 -204
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.scss +0 -466
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +0 -441
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.module.ts +0 -34
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade.service.ts +0 -137
- package/projects/tuki/widgets/karma.conf.js +0 -44
- package/projects/tuki/widgets/ng-package.json +0 -10
- package/projects/tuki/widgets/package.json +0 -13
- package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +0 -23
- package/projects/tuki/widgets/src/lib/widgets.component.ts +0 -20
- package/projects/tuki/widgets/src/lib/widgets.module.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.ts +0 -9
- package/projects/tuki/widgets/src/public-api.ts +0 -7
- package/projects/tuki/widgets/src/test.ts +0 -27
- package/projects/tuki/widgets/styles.scss +0 -558
- package/projects/tuki/widgets/tsconfig.lib.json +0 -52
- package/projects/tuki/widgets/tsconfig.lib.prod.json +0 -10
- package/projects/tuki/widgets/tsconfig.spec.json +0 -17
- package/projects/tuki/widgets/user-creation/assets/icons/close_icon_modal.svg +0 -3
- package/projects/tuki/widgets/user-creation/assets/icons/user-creation-close-icon.svg +0 -3
- package/projects/tuki/widgets/user-creation/ng-package.json +0 -7
- package/projects/tuki/widgets/user-creation/public-api.ts +0 -16
- package/projects/tuki/widgets/user-creation/src/app.constants.ts +0 -33
- package/projects/tuki/widgets/user-creation/src/classes/notification.ts +0 -40
- package/projects/tuki/widgets/user-creation/src/classes/site.ts +0 -260
- package/projects/tuki/widgets/user-creation/src/classes/user.ts +0 -177
- package/projects/tuki/widgets/user-creation/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-creation/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-creation/src/interfaces/user-creation-wizard.interfaces.ts +0 -788
- package/projects/tuki/widgets/user-creation/src/shared/api/api.service.ts +0 -87
- package/projects/tuki/widgets/user-creation/src/shared/classes/user-template.ts +0 -77
- package/projects/tuki/widgets/user-creation/src/shared/components/notification/notification.component.html +0 -32
- package/projects/tuki/widgets/user-creation/src/shared/components/notification/notification.component.scss +0 -80
- package/projects/tuki/widgets/user-creation/src/shared/components/notification/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-creation/src/shared/material.module.ts +0 -48
- package/projects/tuki/widgets/user-creation/src/shared/pipes/truncate.pipe.ts +0 -26
- package/projects/tuki/widgets/user-creation/src/shared/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-creation/src/shared/services/user-creation-api.service.ts +0 -136
- package/projects/tuki/widgets/user-creation/src/shared/services/utils.ts +0 -16
- package/projects/tuki/widgets/user-creation/src/shared/shared.module.ts +0 -28
- package/projects/tuki/widgets/user-creation/src/shared/styles/styles.scss +0 -96
- package/projects/tuki/widgets/user-creation/src/user-creation.module.ts +0 -63
- package/projects/tuki/widgets/user-creation/src/utils/app-loader/app-loader.component.html +0 -7
- package/projects/tuki/widgets/user-creation/src/utils/app-loader/app-loader.component.scss +0 -14
- package/projects/tuki/widgets/user-creation/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-creation/src/utils/build-savable-end-user.ts +0 -238
- package/projects/tuki/widgets/user-creation/src/utils/device-default-prefix.ts +0 -17
- package/projects/tuki/widgets/user-creation/src/utils/device-name-validation.ts +0 -30
- package/projects/tuki/widgets/user-creation/src/utils/model.ts +0 -16
- package/projects/tuki/widgets/user-creation/src/utils/models.ts +0 -46
- package/projects/tuki/widgets/user-creation/src/utils/parse-device-name-rule.ts +0 -29
- package/projects/tuki/widgets/user-creation/src/utils/validation.ts +0 -16
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.html +0 -376
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.scss +0 -476
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.ts +0 -657
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-overview-step/user-overview-step.component.html +0 -107
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-overview-step/user-overview-step.component.scss +0 -75
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-overview-step/user-overview-step.component.ts +0 -17
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.html +0 -73
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.scss +0 -127
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.ts +0 -211
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.html +0 -113
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.scss +0 -227
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.spec.ts +0 -41
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.ts +0 -123
- package/projects/tuki/widgets/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.ts +0 -947
- package/projects/tuki/widgets/user-device-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-device-manage/public-api.ts +0 -8
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +0 -99
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-down-bold.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cancel-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/check-circle-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/cisco.svg +0 -8
- 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 +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/info-circle-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/people-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/plus-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/settings-light.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/settings-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/warning-regular.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/info-circle-bold.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +0 -292
- package/projects/tuki/widgets/user-device-manage/src/classes/deviceProfile.ts +0 -79
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +0 -177
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +0 -41
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +0 -40
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +0 -169
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +0 -167
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +0 -19
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +0 -14
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +0 -80
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +0 -21
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +0 -97
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +0 -28
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +0 -20
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +0 -13
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +0 -24
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +0 -11
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +0 -74
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +0 -241
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +0 -500
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +0 -194
- package/projects/tuki/widgets/user-device-manage/src/device-info/device-info.component.html +0 -52
- package/projects/tuki/widgets/user-device-manage/src/device-info/device-info.component.scss +0 -219
- package/projects/tuki/widgets/user-device-manage/src/device-info/device-info.component.ts +0 -38
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +0 -27
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +0 -131
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +0 -301
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +0 -766
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +0 -190
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -67
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -98
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
- package/projects/tuki/widgets/user-device-manage/src/material.module.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-device-manage/src/pipes/mac-address.pipe.ts +0 -24
- package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +0 -17
- package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +0 -95
- package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +0 -146
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +0 -89
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +0 -82
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +0 -432
- package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +0 -829
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.html +0 -13
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.scss +0 -48
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.spec.ts +0 -23
- package/projects/tuki/widgets/user-device-manage/src/shared/tk-page-section/page-section.component.ts +0 -10
- package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +0 -284
- package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +0 -33
- package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +0 -131
- package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +0 -79
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +0 -7
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-manage/public-api.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +0 -55
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-down-bold.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right-bold.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +0 -5
- 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 +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/info-circle-bold.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/mt.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/people-regular.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/settings-light.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/webex.svg +0 -7
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +0 -234
- package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +0 -44
- package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +0 -161
- package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +0 -44
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +0 -145
- package/projects/tuki/widgets/user-manage/src/classes/notification.ts +0 -39
- package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +0 -174
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +0 -49
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +0 -32
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +0 -305
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +0 -26
- package/projects/tuki/widgets/user-manage/src/device-list/device-row/device-row.component.html +0 -14
- package/projects/tuki/widgets/user-manage/src/device-list/device-row/device-row.component.scss +0 -154
- package/projects/tuki/widgets/user-manage/src/device-list/device-row/device-row.component.ts +0 -34
- package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -68
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -125
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -93
- package/projects/tuki/widgets/user-manage/src/material.module.ts +0 -85
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +0 -116
- package/projects/tuki/widgets/user-manage/src/services/line.service.ts +0 -31
- package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-manage/src/services/user.service.ts +0 -304
- package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +0 -59
- package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +0 -71
- package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +0 -93
- package/projects/tuki/widgets/user-manage/src/styles/form.scss +0 -231
- package/projects/tuki/widgets/user-manage/src/styles/icons.scss +0 -41
- package/projects/tuki/widgets/user-manage/src/styles/styles.scss +0 -128
- package/projects/tuki/widgets/user-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +0 -10
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +0 -444
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +0 -128
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +0 -469
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +0 -105
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +0 -110
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +0 -121
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +0 -28
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +0 -313
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +0 -638
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +0 -235
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +0 -65
- package/projects/tuki/widgets/user-manage/src/user-summary/user-summary.component.html +0 -64
- package/projects/tuki/widgets/user-manage/src/user-summary/user-summary.component.scss +0 -17
- package/projects/tuki/widgets/user-manage/src/user-summary/user-summary.component.ts +0 -8
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +0 -7
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/ng-package.json +0 -7
- package/projects/tuki/widgets/users-list/public-api.ts +0 -8
- package/projects/tuki/widgets/users-list/src/app.constants.ts +0 -91
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +0 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/cogs.svg +0 -8
- package/projects/tuki/widgets/users-list/src/assets/icons/copy-regular.svg +0 -1
- package/projects/tuki/widgets/users-list/src/assets/icons/di.svg +0 -15
- package/projects/tuki/widgets/users-list/src/assets/icons/di_cloud_24.svg +0 -16
- package/projects/tuki/widgets/users-list/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/users-list/src/assets/icons/info-circle-regular.svg +0 -1
- package/projects/tuki/widgets/users-list/src/assets/icons/info.svg +0 -5
- package/projects/tuki/widgets/users-list/src/assets/icons/local_24.svg +0 -18
- package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +0 -14
- package/projects/tuki/widgets/users-list/src/assets/icons/mt_old.svg +0 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/onprem_ucm.svg +0 -17
- package/projects/tuki/widgets/users-list/src/assets/icons/settings-regular.svg +0 -1
- package/projects/tuki/widgets/users-list/src/assets/icons/webex.svg +0 -7
- package/projects/tuki/widgets/users-list/src/assets/icons/webex_logo_icon.svg +0 -305
- package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +0 -3
- package/projects/tuki/widgets/users-list/src/classes/app-location.ts +0 -36
- package/projects/tuki/widgets/users-list/src/classes/device.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/users-list/src/classes/move-user.ts +0 -229
- package/projects/tuki/widgets/users-list/src/classes/notification.ts +0 -38
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +0 -74
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +0 -48
- package/projects/tuki/widgets/users-list/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/users-list/src/components/table-toolbar/table-toolbar.component.html +0 -167
- package/projects/tuki/widgets/users-list/src/components/table-toolbar/table-toolbar.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/components/table-toolbar/table-toolbar.component.ts +0 -37
- package/projects/tuki/widgets/users-list/src/material.module.ts +0 -97
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +0 -37
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +0 -131
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +0 -46
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +0 -31
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +0 -20
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +0 -26
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +0 -222
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +0 -249
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +0 -207
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +0 -12
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +0 -36
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +0 -14
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/users-list/src/services/dns.service.ts +0 -128
- package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +0 -11
- package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +0 -59
- package/projects/tuki/widgets/users-list/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +0 -26
- package/projects/tuki/widgets/users-list/src/services/user.service.ts +0 -207
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +0 -192
- package/projects/tuki/widgets/users-list/src/styles/styles.scss +0 -639
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +0 -15
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +0 -103
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +0 -35
- package/projects/tuki/widgets/users-list/src/users-list.component.css +0 -4
- package/projects/tuki/widgets/users-list/src/users-list.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/users-list.component.html +0 -306
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +0 -751
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +0 -1023
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +0 -67
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css +0 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +0 -7
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +0 -17
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +0 -32
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +0 -47
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +0 -94
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css +0 -45
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +0 -71
- package/projects/widgets-playground/src/app/app.component.html +0 -44
- package/projects/widgets-playground/src/app/app.component.scss +0 -26
- package/projects/widgets-playground/src/app/app.component.spec.ts +0 -31
- package/projects/widgets-playground/src/app/app.component.ts +0 -36
- package/projects/widgets-playground/src/app/app.module.ts +0 -49
- 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 +0 -6
- package/projects/widgets-playground/src/assets/icons/applications.svg +0 -6
- package/projects/widgets-playground/src/assets/icons/arrow-down-bold.svg +0 -1
- package/projects/widgets-playground/src/assets/icons/audio-prompts.svg +0 -4
- package/projects/widgets-playground/src/assets/icons/audioPrompts.svg +0 -4
- 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 +0 -3
- package/projects/widgets-playground/src/assets/icons/copy-regular.svg +0 -1
- package/projects/widgets-playground/src/assets/icons/csqs.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/di.svg +0 -15
- package/projects/widgets-playground/src/assets/icons/di_cloud_24.svg +0 -16
- package/projects/widgets-playground/src/assets/icons/expand_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/info-circle-regular.svg +0 -1
- package/projects/widgets-playground/src/assets/icons/issue_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/local_24.svg +0 -18
- package/projects/widgets-playground/src/assets/icons/menu_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/mt_old.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/onprem_ucm.svg +0 -17
- package/projects/widgets-playground/src/assets/icons/phone-books.svg +0 -6
- package/projects/widgets-playground/src/assets/icons/phonebooks.svg +0 -6
- package/projects/widgets-playground/src/assets/icons/ready_to_upgrade.png +0 -0
- package/projects/widgets-playground/src/assets/icons/resource-group.svg +0 -6
- package/projects/widgets-playground/src/assets/icons/resource.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/resourceGroups.svg +0 -6
- package/projects/widgets-playground/src/assets/icons/resources.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/scripts copy.svg +0 -12
- package/projects/widgets-playground/src/assets/icons/scripts.svg +0 -12
- package/projects/widgets-playground/src/assets/icons/search_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/settings-regular.svg +0 -1
- package/projects/widgets-playground/src/assets/icons/site.png +0 -0
- package/projects/widgets-playground/src/assets/icons/skills copy.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/skills.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/teams copy.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/teams.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/triggers copy.svg +0 -4
- package/projects/widgets-playground/src/assets/icons/triggers.svg +0 -4
- 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 +0 -7
- package/projects/widgets-playground/src/assets/icons/webex_logo_icon.svg +0 -305
- package/projects/widgets-playground/src/assets/icons/wrapUpCodes.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/wrapup-codes.svg +0 -3
- package/projects/widgets-playground/src/assets/icons/xml copy.svg +0 -6
- package/projects/widgets-playground/src/assets/icons/xml.svg +0 -6
- package/projects/widgets-playground/src/assets/wxcc/action-menu.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/c1.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/c2.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/close1.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/delay.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/if.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/m1.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/m2.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/m3.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/p1.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/route.svg +0 -5
- package/projects/widgets-playground/src/assets/wxcc/s1.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/search.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/terminate.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/terminate2.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/unmapped.svg +0 -3
- package/projects/widgets-playground/src/assets/wxcc/variable.svg +0 -3
- package/projects/widgets-playground/src/environments/environment.ts +0 -5
- package/projects/widgets-playground/src/favicon.ico +0 -0
- package/projects/widgets-playground/src/index.html +0 -13
- package/projects/widgets-playground/src/main.ts +0 -7
- package/projects/widgets-playground/src/styles.scss +0 -33
- package/projects/widgets-playground/tsconfig.app.json +0 -14
- package/projects/widgets-playground/tsconfig.spec.json +0 -14
- package/proxy.conf.js +0 -23
- package/tsconfig.json +0 -52
- /package/{projects/tuki/widgets/di2mt → di2mt}/README.md +0 -0
- /package/{projects/tuki/widgets → esm2020}/contact-center/cc-script-editor/mock/data/QWC_ir.json +0 -0
|
@@ -1,1023 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
EventEmitter,
|
|
4
|
-
Input,
|
|
5
|
-
OnDestroy,
|
|
6
|
-
OnInit,
|
|
7
|
-
Output,
|
|
8
|
-
} from '@angular/core';
|
|
9
|
-
import { FormGroup } from '@angular/forms';
|
|
10
|
-
import { UserService } from './services/user.service';
|
|
11
|
-
import { APIService } from './services/api.service';
|
|
12
|
-
import { NotificationService } from './services/notification.service';
|
|
13
|
-
import { debounceTime, EMPTY, map, Observable, Subject, Subscription, switchMap, takeUntil, takeWhile, timer } from 'rxjs';
|
|
14
|
-
import { UsersSearchService } from './services/users-search.service';
|
|
15
|
-
import { ListUser } from './classes/user-list';
|
|
16
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
17
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
18
|
-
import { ApiWebexService } from './services/api-webex.service';
|
|
19
|
-
import { API, CUSTOMER_DESTINATION, MAX_INTEGER, ON_PREM_ID, USER_TYPES_MAP, USER_TYPES_TYPE } from './app.constants';
|
|
20
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
21
|
-
import { UserListConfirmDialogComponent } from './user-list-confirm-dialog/user-list-confirm-dialog.component';
|
|
22
|
-
|
|
23
|
-
const DISPLAYED_COLS = [
|
|
24
|
-
'name',
|
|
25
|
-
'email',
|
|
26
|
-
'status',
|
|
27
|
-
'last-active-time',
|
|
28
|
-
'role',
|
|
29
|
-
'source',
|
|
30
|
-
'actions',
|
|
31
|
-
];
|
|
32
|
-
const LOCAL_STORAGE = {
|
|
33
|
-
USER_IN_MIGRATION: 'userIdInMigration',
|
|
34
|
-
MIGRATION_FORM_ID: 'migrationFormId',
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
type FirmwareDeviceMap = Record<number, Record<string, string[]>>;
|
|
38
|
-
|
|
39
|
-
interface MigratedEntityLike {
|
|
40
|
-
id?: number | string | null;
|
|
41
|
-
cucmId?: number | string | null;
|
|
42
|
-
devices?: unknown[];
|
|
43
|
-
sourceSite?: {
|
|
44
|
-
id?: number | string | null;
|
|
45
|
-
name?: string | null;
|
|
46
|
-
} | null;
|
|
47
|
-
webexMigrationDevices?: unknown[];
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
interface MigratedDeviceLike {
|
|
51
|
-
device?: MigratedDeviceLike;
|
|
52
|
-
id?: number | string | null;
|
|
53
|
-
name?: string | null;
|
|
54
|
-
mac?: string | null;
|
|
55
|
-
deviceId?: string | null;
|
|
56
|
-
cisUuid?: string | null;
|
|
57
|
-
cucmId?: number | string | null;
|
|
58
|
-
isRegistered?: boolean | null;
|
|
59
|
-
deviceToUpgrade?: boolean | null;
|
|
60
|
-
isEligible?: boolean | null;
|
|
61
|
-
lineAssociations?: Array<{
|
|
62
|
-
directoryNumber?: {
|
|
63
|
-
directoryNumber?: string | null;
|
|
64
|
-
templateDirectoryNumber?: string | null;
|
|
65
|
-
} | null;
|
|
66
|
-
e164Mask?: string | null;
|
|
67
|
-
}>;
|
|
68
|
-
lines?: Array<{
|
|
69
|
-
directoryNumber?: {
|
|
70
|
-
directoryNumber?: string | null;
|
|
71
|
-
templateDirectoryNumber?: string | null;
|
|
72
|
-
} | null;
|
|
73
|
-
}>;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@Component({
|
|
77
|
-
selector: 'app-users-list',
|
|
78
|
-
templateUrl: './users-list.component.html',
|
|
79
|
-
styleUrls: ['./users-list.component.scss'],
|
|
80
|
-
})
|
|
81
|
-
export class UsersListComponent implements OnInit, OnDestroy {
|
|
82
|
-
@Input() token!: string;
|
|
83
|
-
@Input() customerId!: number;
|
|
84
|
-
@Input() siteId!: number;
|
|
85
|
-
|
|
86
|
-
@Output() openUser = new EventEmitter();
|
|
87
|
-
@Output() userMoved = new EventEmitter();
|
|
88
|
-
@Output() switchToWizard = new EventEmitter();
|
|
89
|
-
@Output() createUserRequested = new EventEmitter<void>();
|
|
90
|
-
|
|
91
|
-
@Input() host!: string;
|
|
92
|
-
|
|
93
|
-
dataPending!: boolean;
|
|
94
|
-
moveInProgressUserId!: string;
|
|
95
|
-
users!: ListUser[];
|
|
96
|
-
private baseUsers: ListUser[] = [];
|
|
97
|
-
dataSource!: MatTableDataSource<ListUser>;
|
|
98
|
-
displayedColumns = DISPLAYED_COLS;
|
|
99
|
-
moveUser: any;
|
|
100
|
-
moveUserIndex: any;
|
|
101
|
-
showMoveUserWizard = false;
|
|
102
|
-
moveUserPending = false;
|
|
103
|
-
private subscriptions: Subscription[] = [];
|
|
104
|
-
|
|
105
|
-
activeSearchToken = '';
|
|
106
|
-
activeUserType: USER_TYPES_TYPE = null;
|
|
107
|
-
|
|
108
|
-
public readonly ON_PREM_ID = ON_PREM_ID;
|
|
109
|
-
|
|
110
|
-
totalUsersCount: number = 0;
|
|
111
|
-
private readonly destroy$ = new Subject<void>();
|
|
112
|
-
|
|
113
|
-
getTodayShortDate(): string {
|
|
114
|
-
const now = new Date();
|
|
115
|
-
const month = now.getMonth() + 1;
|
|
116
|
-
const day = now.getDate();
|
|
117
|
-
const year = now.getFullYear() % 100;
|
|
118
|
-
return `${month}/${day}/${year.toString().padStart(2, '0')}`;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
private isMigrationStatusCompleted(status: string | null | undefined): boolean {
|
|
122
|
-
const normalized = (status || '').toUpperCase();
|
|
123
|
-
return normalized === 'COMPLETED';
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
private isMigrationStatusCompletedWithErrors(status: string | null | undefined): boolean {
|
|
127
|
-
const normalized = (status || '').toUpperCase();
|
|
128
|
-
return normalized === 'COMPLETED_WITH_ERRORS';
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
private refreshUsersAfterOperation(delayMs: number = 0): void {
|
|
132
|
-
if (delayMs > 0) {
|
|
133
|
-
window.setTimeout(() => this.getMigratedUsers(), delayMs);
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
this.getMigratedUsers();
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
private handleCompletedWithErrorsByUserId(userId: string): void {
|
|
140
|
-
const index = this.getUserIndexById(userId);
|
|
141
|
-
this.removeUserInMigrationProgress();
|
|
142
|
-
if (index > -1) {
|
|
143
|
-
this.setStatusToUser(index, 'Completed with errors');
|
|
144
|
-
window.setTimeout(() => this.setStatusToUser(index, 'Inactive'), 5000);
|
|
145
|
-
this.refreshUsersAfterOperation(5000);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
private isMigrationStatusFailed(status: string | null | undefined): boolean {
|
|
150
|
-
const normalized = (status || '').toUpperCase();
|
|
151
|
-
return normalized === 'FAILED' || normalized === 'ERROR';
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
get form(): FormGroup {
|
|
155
|
-
return this.userService?.user?.form;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
constructor(
|
|
159
|
-
public userService: UserService,
|
|
160
|
-
private apiService: APIService,
|
|
161
|
-
private apiWebexService: ApiWebexService,
|
|
162
|
-
private notifications: NotificationService,
|
|
163
|
-
public usersSearchService: UsersSearchService,
|
|
164
|
-
private dialog: MatDialog,
|
|
165
|
-
) { }
|
|
166
|
-
|
|
167
|
-
ngOnInit(): void {
|
|
168
|
-
this.usersSearchService.setDefaultValues();
|
|
169
|
-
this.usersSearchService.customerId = this.customerId;
|
|
170
|
-
this.usersSearchService.siteId = this.siteId;
|
|
171
|
-
this.apiService.token = this.token;
|
|
172
|
-
this.apiWebexService.token = this.token;
|
|
173
|
-
this.apiService.apiUrl = this.host + '/dcp';
|
|
174
|
-
this.apiWebexService.apiUrl = this.host + '/webex';
|
|
175
|
-
|
|
176
|
-
/*this.usersSearchService.getUsersUpgradeStatus(this.usersSearchService.customerId)
|
|
177
|
-
.pipe(takeUntil(this.destroy$))
|
|
178
|
-
.subscribe();*/
|
|
179
|
-
|
|
180
|
-
this.getMigratedUsers();
|
|
181
|
-
const subscription = this.usersSearchService.foundUsers$
|
|
182
|
-
.pipe(takeUntil(this.destroy$))
|
|
183
|
-
.subscribe(
|
|
184
|
-
(users: ListUser[]) => {
|
|
185
|
-
if (this.usersSearchService.usersUpgradeStatus?.length) {
|
|
186
|
-
this.initializeDataSource(users);
|
|
187
|
-
} else {
|
|
188
|
-
this.subscribeToUpgradeUsersStatus(users);
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
);
|
|
192
|
-
this.subscriptions.push(subscription);
|
|
193
|
-
|
|
194
|
-
console.log('users list paris 7773');
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
ngOnDestroy() {
|
|
198
|
-
this.usersSearchService.usersUpgradeStatus = null;
|
|
199
|
-
if (this.subscriptions?.length) {
|
|
200
|
-
this.subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
201
|
-
}
|
|
202
|
-
this.destroy$.next();
|
|
203
|
-
this.destroy$.complete();
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
pageNumberChangeEvent(perPageNumber: number): void {
|
|
207
|
-
this.usersSearchService.pageSize = perPageNumber;
|
|
208
|
-
this.usersSearchService.pageIndex = 0;
|
|
209
|
-
this.runSearch();
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
closeMoveUserWizard(afterUserMove?: boolean): void {
|
|
213
|
-
this.moveUser = null;
|
|
214
|
-
this.moveUserIndex = null;
|
|
215
|
-
localStorage.removeItem(LOCAL_STORAGE.USER_IN_MIGRATION);
|
|
216
|
-
localStorage.removeItem(LOCAL_STORAGE.MIGRATION_FORM_ID);
|
|
217
|
-
this.showMoveUserWizard = false;
|
|
218
|
-
this.switchToWizard.emit(false);
|
|
219
|
-
if (afterUserMove) {
|
|
220
|
-
this.getMigratedUsers();
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
pageEvent(event: PageEvent): void {
|
|
225
|
-
this.usersSearchService.pageSize = event.pageSize;
|
|
226
|
-
this.usersSearchService.pageIndex = event.pageIndex;
|
|
227
|
-
this.runSearch();
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
onUserClick(user: ListUser): void {
|
|
231
|
-
localStorage.setItem('isWebex', String(!!user.webexUUID));
|
|
232
|
-
localStorage.setItem('webexUUID', 'null');
|
|
233
|
-
if (user.webexUUID) {
|
|
234
|
-
localStorage.setItem('webexUUID', String(user.webexUUID));
|
|
235
|
-
}
|
|
236
|
-
this.openUser.emit(user);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
moveUserToMT(user: ListUser): void {
|
|
240
|
-
if (user && user.siteId && user.userid) {
|
|
241
|
-
this.moveUserPending = true;
|
|
242
|
-
this.moveInProgressUserId = user.userid;
|
|
243
|
-
const currentIndex = this.getUserIndexById(user.userid);
|
|
244
|
-
if (currentIndex > -1) {
|
|
245
|
-
this.setStatusToUser(currentIndex, 'In Progress');
|
|
246
|
-
}
|
|
247
|
-
localStorage.setItem(LOCAL_STORAGE.USER_IN_MIGRATION, user.userid);
|
|
248
|
-
|
|
249
|
-
const subscription = this.userService
|
|
250
|
-
.moveUserToMT(this.customerId, user)
|
|
251
|
-
.subscribe(
|
|
252
|
-
(formId: number) => {
|
|
253
|
-
this.moveUser = null;
|
|
254
|
-
this.moveUserIndex = null;
|
|
255
|
-
if (formId) {
|
|
256
|
-
localStorage.setItem(LOCAL_STORAGE.MIGRATION_FORM_ID, String(formId));
|
|
257
|
-
this.pollMigrationFormStatusByUserId(formId, user.userid, () => {
|
|
258
|
-
this.notifications.success(`${user.userid} successfully upgraded`);
|
|
259
|
-
this.getMigratedUsers();
|
|
260
|
-
});
|
|
261
|
-
} else {
|
|
262
|
-
this.notifications.success(`${user.userid} successfully upgraded`);
|
|
263
|
-
this.getMigratedUsers();
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
() => {
|
|
267
|
-
this.removeUserInMigrationProgress();
|
|
268
|
-
this.setStatusToUser(this.getUserIndexById(user.userid), 'Migration Error');
|
|
269
|
-
this.refreshUsersAfterOperation();
|
|
270
|
-
},
|
|
271
|
-
);
|
|
272
|
-
this.subscriptions.push(subscription);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
moveUserToDI(user: ListUser, index: number): void {
|
|
277
|
-
if (user && user.siteId && user.webexUUID) {
|
|
278
|
-
this.moveUserPending = true;
|
|
279
|
-
this.moveInProgressUserId = user.userid;
|
|
280
|
-
this.users[index].status = 'In Progress';
|
|
281
|
-
localStorage.setItem(LOCAL_STORAGE.USER_IN_MIGRATION, user.userid);
|
|
282
|
-
|
|
283
|
-
const subscription = this.userService
|
|
284
|
-
.moveUserToDI(this.customerId, user)
|
|
285
|
-
.subscribe(
|
|
286
|
-
() => {
|
|
287
|
-
this.removeUserInMigrationProgress();
|
|
288
|
-
this.setStatusToUser(index, 'Active');
|
|
289
|
-
this.users[index].webexUUID = '';
|
|
290
|
-
if (
|
|
291
|
-
this.usersSearchService.migratedUsers &&
|
|
292
|
-
this.usersSearchService.migratedUsers.length
|
|
293
|
-
) {
|
|
294
|
-
this.usersSearchService.migratedUsers =
|
|
295
|
-
this.usersSearchService.migratedUsers.filter(
|
|
296
|
-
(migratedUser: any) => migratedUser.userid !== user.email,
|
|
297
|
-
);
|
|
298
|
-
}
|
|
299
|
-
this.getMigratedUsers();
|
|
300
|
-
},
|
|
301
|
-
() => {
|
|
302
|
-
this.removeUserInMigrationProgress();
|
|
303
|
-
this.setStatusToUser(index, 'Migration Error');
|
|
304
|
-
this.refreshUsersAfterOperation();
|
|
305
|
-
},
|
|
306
|
-
);
|
|
307
|
-
|
|
308
|
-
this.subscriptions.push(subscription);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
private removeUserInMigrationProgress(): void {
|
|
313
|
-
localStorage.removeItem(LOCAL_STORAGE.USER_IN_MIGRATION);
|
|
314
|
-
localStorage.removeItem(LOCAL_STORAGE.MIGRATION_FORM_ID);
|
|
315
|
-
this.moveInProgressUserId = '';
|
|
316
|
-
this.moveUserPending = false;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
private setStatusToUser(index: number, status: string): void {
|
|
320
|
-
if (this.users && this.users[index]) {
|
|
321
|
-
this.users[index].status = status;
|
|
322
|
-
// if (status === 'Migrated') {
|
|
323
|
-
// this.users[index].roleName = '';
|
|
324
|
-
// this.users[index].isMigrated = true;
|
|
325
|
-
// this.users[index].status = status;
|
|
326
|
-
// } else {
|
|
327
|
-
// this.users[index].roleName = 'Dedicated Instance Calling user';
|
|
328
|
-
// this.users[index].isMigrated = false;
|
|
329
|
-
// this.users[index].status = status;
|
|
330
|
-
// }
|
|
331
|
-
}
|
|
332
|
-
this.dataSource = new MatTableDataSource(this.users);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
private initializeDataSource(users: ListUser[]): void {
|
|
336
|
-
const safeUsers = Array.isArray(users) ? users : [];
|
|
337
|
-
// this.setRandomUserRole(users);
|
|
338
|
-
this.baseUsers = safeUsers;
|
|
339
|
-
this.users = safeUsers;
|
|
340
|
-
// set total rows count for toolbar/pagination from server-side pagination when available
|
|
341
|
-
this.totalUsersCount = this.usersSearchService?.total || safeUsers.length;
|
|
342
|
-
this.setUserMigrationProgress();
|
|
343
|
-
this.usersSearchService.setMigratedPropToUsers(this.users);
|
|
344
|
-
// this.usersSearchService.setUpgradeStatusToUsers(this.users, this.usersSearchService.usersUpgradeStatus);
|
|
345
|
-
this.dataSource = new MatTableDataSource(this.users);
|
|
346
|
-
this.applyActiveFilter();
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
private setUserRole(): void {
|
|
350
|
-
if (this.users?.length) {
|
|
351
|
-
this.users.forEach((user) => {
|
|
352
|
-
if (!user.isMigrated) {
|
|
353
|
-
user.roleName = 'Dedicated Instance Calling user';
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
private setRandomUserRole(users: ListUser[]): void {
|
|
360
|
-
const max = Math.round(
|
|
361
|
-
this.usersSearchService.pageSize - this.usersSearchService.pageSize / 4,
|
|
362
|
-
);
|
|
363
|
-
const min = Math.round(this.usersSearchService.pageSize / 2);
|
|
364
|
-
const randomAmount = Math.round(Math.random() * (max - min) + min);
|
|
365
|
-
const indexes = this.getArrayOfRandomUserIndexes(randomAmount);
|
|
366
|
-
indexes.forEach((index) => {
|
|
367
|
-
if (users[index]) {
|
|
368
|
-
users[index].roleName = 'Dedicated Instance Calling user';
|
|
369
|
-
}
|
|
370
|
-
});
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
private getArrayOfRandomUserIndexes(randomAmount: number): number[] {
|
|
374
|
-
const indexes = [];
|
|
375
|
-
while (randomAmount > 0) {
|
|
376
|
-
const index = Math.round(
|
|
377
|
-
Math.random() * (this.usersSearchService.pageSize - 1),
|
|
378
|
-
);
|
|
379
|
-
indexes.push(index);
|
|
380
|
-
randomAmount--;
|
|
381
|
-
}
|
|
382
|
-
return indexes;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
private runSearch(): void {
|
|
386
|
-
this.dataPending = true;
|
|
387
|
-
this.usersSearchService.quickRegularUsersSearch().subscribe(
|
|
388
|
-
() => {
|
|
389
|
-
this.dataPending = false;
|
|
390
|
-
},
|
|
391
|
-
() => {
|
|
392
|
-
this.dataPending = false;
|
|
393
|
-
this.notifications.error('The data can not be received');
|
|
394
|
-
},
|
|
395
|
-
);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
private setUserMigrationProgress(): void {
|
|
399
|
-
const userIdInMigration = localStorage.getItem(
|
|
400
|
-
LOCAL_STORAGE.USER_IN_MIGRATION,
|
|
401
|
-
);
|
|
402
|
-
const migrationFormId = localStorage.getItem(
|
|
403
|
-
LOCAL_STORAGE.MIGRATION_FORM_ID,
|
|
404
|
-
);
|
|
405
|
-
if (userIdInMigration) {
|
|
406
|
-
const index = this.users.findIndex(
|
|
407
|
-
(user) => user.userid === userIdInMigration,
|
|
408
|
-
);
|
|
409
|
-
this.moveInProgressUserId = index > -1 ? this.users[index].userid : '';
|
|
410
|
-
this.moveUserPending = index > -1;
|
|
411
|
-
if (index > -1) {
|
|
412
|
-
this.setStatusToUser(index, 'In Progress');
|
|
413
|
-
}
|
|
414
|
-
if (migrationFormId) {
|
|
415
|
-
this.pollMigrationFormStatus(Number(migrationFormId), index, () => this.getMigratedUsers());
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
private getMigratedUsers(): void {
|
|
421
|
-
this.dataPending = true;
|
|
422
|
-
const searchParams = {
|
|
423
|
-
customerid: this.customerId,
|
|
424
|
-
siteid: this.siteId,
|
|
425
|
-
'cloud-only': 'true',
|
|
426
|
-
};
|
|
427
|
-
// this.usersSearchService.quickWebexUsersSearch(searchParams, true, MAX_INTEGER)
|
|
428
|
-
this.usersSearchService
|
|
429
|
-
.getMigratedUsers(this.customerId)
|
|
430
|
-
// this.usersSearchService.getMigratedWebexUsers(this.customerId)
|
|
431
|
-
.subscribe(
|
|
432
|
-
() => {
|
|
433
|
-
const userIdInMigration = localStorage.getItem(
|
|
434
|
-
LOCAL_STORAGE.USER_IN_MIGRATION,
|
|
435
|
-
);
|
|
436
|
-
if (
|
|
437
|
-
userIdInMigration &&
|
|
438
|
-
this.usersSearchService.migratedUsers.filter(
|
|
439
|
-
(migratedUser: any) => migratedUser.userid === userIdInMigration,
|
|
440
|
-
)
|
|
441
|
-
) {
|
|
442
|
-
localStorage.removeItem(LOCAL_STORAGE.USER_IN_MIGRATION);
|
|
443
|
-
localStorage.removeItem(LOCAL_STORAGE.MIGRATION_FORM_ID);
|
|
444
|
-
}
|
|
445
|
-
this.runSearch();
|
|
446
|
-
},
|
|
447
|
-
() => {
|
|
448
|
-
this.dataPending = false;
|
|
449
|
-
this.notifications.error('The data can not be received');
|
|
450
|
-
},
|
|
451
|
-
);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
onMoveUser(user: ListUser, index: number, type: string, title: string): void {
|
|
455
|
-
const dialogRef = this.dialog.open(UserListConfirmDialogComponent, {
|
|
456
|
-
data: {
|
|
457
|
-
title: `Upgrade user ${user.userid} to Multi Tenant?`,
|
|
458
|
-
message: `<p>Upgrading this user will prepare the account for migration to Multi Tenant.</p>
|
|
459
|
-
<p>During this process, the user configuration will be copied to the Multi Tenant environment.
|
|
460
|
-
The user will remain active on the current system until the Activate step is completed.</p>
|
|
461
|
-
<p>Do you want to continue?</p>`,
|
|
462
|
-
confirmButtonText: 'Yes, upgrade',
|
|
463
|
-
},
|
|
464
|
-
});
|
|
465
|
-
dialogRef.beforeClosed().subscribe((result: any) => {
|
|
466
|
-
if (result) {
|
|
467
|
-
switch (type) {
|
|
468
|
-
case 'QuickMove':
|
|
469
|
-
this.moveUserToMT(user);
|
|
470
|
-
break;
|
|
471
|
-
case 'MT':
|
|
472
|
-
this.moveUser = user;
|
|
473
|
-
this.moveUserIndex = index;
|
|
474
|
-
this.showMoveUserWizard = true;
|
|
475
|
-
this.switchToWizard.emit(true);
|
|
476
|
-
break;
|
|
477
|
-
case 'DI':
|
|
478
|
-
this.moveUserToDI(user, index);
|
|
479
|
-
break;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
runMoveUserToMT(): void {
|
|
486
|
-
if (this.moveUser && this.moveUser.siteId && this.moveUser.userid) {
|
|
487
|
-
this.userService.moveUserPending = true;
|
|
488
|
-
this.moveInProgressUserId = this.moveUser.userid;
|
|
489
|
-
this.setStatusToUser(this.moveUserIndex, 'In Progress');
|
|
490
|
-
localStorage.setItem(
|
|
491
|
-
LOCAL_STORAGE.USER_IN_MIGRATION,
|
|
492
|
-
this.moveUser.userid,
|
|
493
|
-
);
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
const subscription = this.userService
|
|
497
|
-
.moveUserToMT(this.customerId, this.moveUser)
|
|
498
|
-
.subscribe(
|
|
499
|
-
(formId: number) => {
|
|
500
|
-
if (formId) {
|
|
501
|
-
localStorage.setItem(LOCAL_STORAGE.MIGRATION_FORM_ID, String(formId));
|
|
502
|
-
this.pollMigrationFormStatus(formId, this.moveUserIndex, () => {
|
|
503
|
-
this.userService.userMoved$.next(true);
|
|
504
|
-
});
|
|
505
|
-
} else {
|
|
506
|
-
this.userService.userMoved$.next(true);
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
() => {
|
|
510
|
-
this.removeUserInMigrationProgress();
|
|
511
|
-
this.setStatusToUser(this.moveUserIndex, 'Migration Error');
|
|
512
|
-
this.refreshUsersAfterOperation();
|
|
513
|
-
},
|
|
514
|
-
);
|
|
515
|
-
|
|
516
|
-
this.subscriptions.push(subscription);
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
searchUsers(token: string, type?: USER_TYPES_TYPE): void {
|
|
520
|
-
const normalizedToken = (token || '').trim();
|
|
521
|
-
const normalizedType = type || null;
|
|
522
|
-
|
|
523
|
-
// if token is empty — restore current page datasource
|
|
524
|
-
if (!normalizedToken && !normalizedType) {
|
|
525
|
-
this.activeSearchToken = '';
|
|
526
|
-
this.activeUserType = null;
|
|
527
|
-
this.users = this.baseUsers;
|
|
528
|
-
this.dataSource = new MatTableDataSource(this.users);
|
|
529
|
-
this.totalUsersCount = this.usersSearchService?.total || this.users.length;
|
|
530
|
-
return;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
if (normalizedType) {
|
|
534
|
-
this.activeUserType = normalizedType;
|
|
535
|
-
this.activeSearchToken = '';
|
|
536
|
-
} else {
|
|
537
|
-
this.activeSearchToken = normalizedToken;
|
|
538
|
-
this.activeUserType = null;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
// fetch all users (server-side) and filter locally across the whole dataset
|
|
542
|
-
this.dataPending = true;
|
|
543
|
-
const subscription = this.usersSearchService.getAllRegularUsers()
|
|
544
|
-
.subscribe(
|
|
545
|
-
(allUsers: ListUser[]) => {
|
|
546
|
-
let filtered: ListUser[];
|
|
547
|
-
if (normalizedType === null) {
|
|
548
|
-
filtered = this.filterByToken(allUsers, normalizedToken);
|
|
549
|
-
} else {
|
|
550
|
-
filtered = this.filterByType(allUsers, normalizedType);
|
|
551
|
-
}
|
|
552
|
-
this.users = filtered;
|
|
553
|
-
this.dataSource = new MatTableDataSource(this.users);
|
|
554
|
-
this.totalUsersCount = filtered.length;
|
|
555
|
-
this.dataPending = false;
|
|
556
|
-
},
|
|
557
|
-
() => {
|
|
558
|
-
this.dataPending = false;
|
|
559
|
-
this.notifications.error('The data can not be received');
|
|
560
|
-
},
|
|
561
|
-
);
|
|
562
|
-
this.subscriptions.push(subscription);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
searchByType(userType: USER_TYPES_TYPE) {
|
|
566
|
-
const normalizedType = userType || null;
|
|
567
|
-
if (!normalizedType) {
|
|
568
|
-
this.searchUsers('');
|
|
569
|
-
return;
|
|
570
|
-
}
|
|
571
|
-
this.searchUsers('', normalizedType);
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
private applyActiveFilter(): void {
|
|
575
|
-
if (this.activeSearchToken) {
|
|
576
|
-
this.searchUsers(this.activeSearchToken);
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
if (this.activeUserType) {
|
|
580
|
-
this.searchUsers('', this.activeUserType);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
onCreateUserRequested(): void {
|
|
585
|
-
this.createUserRequested.emit();
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
private filterByToken(users: ListUser[], token: string): ListUser[] {
|
|
589
|
-
const tok = (token || '').toLowerCase();
|
|
590
|
-
const filtered = (users || []).filter((user: ListUser) => {
|
|
591
|
-
const firstName = (user?.firstName || '').toLowerCase();
|
|
592
|
-
const lastName = (user?.lastName || '').toLowerCase();
|
|
593
|
-
const fullName = `${firstName} ${lastName}`.trim();
|
|
594
|
-
const email = (user?.email || '').toLowerCase();
|
|
595
|
-
return (
|
|
596
|
-
firstName.includes(tok) ||
|
|
597
|
-
lastName.includes(tok) ||
|
|
598
|
-
fullName.includes(tok) ||
|
|
599
|
-
email.includes(tok)
|
|
600
|
-
);
|
|
601
|
-
});
|
|
602
|
-
|
|
603
|
-
return filtered;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
private filterByType(users: ListUser[], userType: USER_TYPES_TYPE): ListUser[] {
|
|
607
|
-
let filteredUsers: ListUser[];
|
|
608
|
-
if (userType === USER_TYPES_MAP.CUCM) {
|
|
609
|
-
filteredUsers = users.filter((user) => !user.webexUUID && user.cucmId != ON_PREM_ID);
|
|
610
|
-
} else if (userType === USER_TYPES_MAP.WEBEX) {
|
|
611
|
-
filteredUsers = users.filter((user) => user.webexUUID !== null && user.webexUUID !== undefined);
|
|
612
|
-
} else if (userType === USER_TYPES_MAP.ONPREM) {
|
|
613
|
-
filteredUsers = users.filter((user) => !user.webexUUID && user.cucmId == ON_PREM_ID);
|
|
614
|
-
} else {
|
|
615
|
-
filteredUsers = [];
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
return filteredUsers;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
public isValidWebexUuid(user: ListUser): boolean {
|
|
622
|
-
const value = user?.webexUUID;
|
|
623
|
-
return value !== null && value !== undefined && String(value).trim().length > 0;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
private buildFirmwareDeviceMap(
|
|
627
|
-
entity: MigratedEntityLike | null,
|
|
628
|
-
user: ListUser,
|
|
629
|
-
cucmIdBySiteId: Map<number, number>
|
|
630
|
-
): FirmwareDeviceMap {
|
|
631
|
-
const deviceMap: FirmwareDeviceMap = {};
|
|
632
|
-
const mappedDevices = this.getActivationDevices(entity, user);
|
|
633
|
-
|
|
634
|
-
console.log(mappedDevices)
|
|
635
|
-
|
|
636
|
-
const devices: any = [];
|
|
637
|
-
|
|
638
|
-
const siteId = Number(entity?.sourceSite?.id ?? user?.siteId ?? 0);
|
|
639
|
-
const cucmId = cucmIdBySiteId.get(siteId) || 0;
|
|
640
|
-
|
|
641
|
-
mappedDevices.forEach((rawDevice: any) => {
|
|
642
|
-
const device = rawDevice;
|
|
643
|
-
// @ts-ignore
|
|
644
|
-
const isEligible = device.isRegistered || device.deviceToUpgrade || device.isEligible;
|
|
645
|
-
|
|
646
|
-
devices.push({
|
|
647
|
-
userId: user.userid,
|
|
648
|
-
deviceName: device.name.includes('SEP') ? device.name : 'SEP' + device.name || '',
|
|
649
|
-
deviceType: device.product || device.model || '',
|
|
650
|
-
status: isEligible ? 'ELIGIBLE_TO_UPGRADE' : 'UNREGISTERED',
|
|
651
|
-
errorDescription: '',
|
|
652
|
-
cucmId,
|
|
653
|
-
feature: 'PERSON',
|
|
654
|
-
selectable: true,
|
|
655
|
-
disabledReason: false ? 'FIRMWARE_UPGRADE.DEVICE_NOT_MIGRATED' : '',
|
|
656
|
-
});
|
|
657
|
-
});
|
|
658
|
-
|
|
659
|
-
if (!Object.keys(deviceMap).length) {
|
|
660
|
-
console.debug('Firmware activation: no usable devices found to build deviceMap.');
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
devices.forEach((device: any) => {
|
|
665
|
-
if (!deviceMap[device.cucmId]) {
|
|
666
|
-
deviceMap[device.cucmId] = {};
|
|
667
|
-
}
|
|
668
|
-
if (!deviceMap[device.cucmId][device.feature]) {
|
|
669
|
-
deviceMap[device.cucmId][device.feature] = [];
|
|
670
|
-
}
|
|
671
|
-
deviceMap[device.cucmId][device.feature].push(device.deviceName)
|
|
672
|
-
});
|
|
673
|
-
|
|
674
|
-
console.log("dev map ==> ", deviceMap);
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
return deviceMap;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
private fetchCucmIdBySiteId(): Observable<Map<number, number>> {
|
|
681
|
-
const sitesUrl = API.SITES.replace(':customerId', String(this.customerId));
|
|
682
|
-
return this.apiService.fetchPagination(sitesUrl, 10000, 0, {}, false).pipe(
|
|
683
|
-
map((sitesRes: any) => {
|
|
684
|
-
const sites = sitesRes?.pageData || [];
|
|
685
|
-
const cucmIdBySiteId = new Map<number, number>();
|
|
686
|
-
sites.forEach((site: any) => {
|
|
687
|
-
const siteId = Number(site?.id);
|
|
688
|
-
const cucmId = Number(site?.cucm?.id);
|
|
689
|
-
if (Number.isFinite(siteId) && Number.isFinite(cucmId)) {
|
|
690
|
-
cucmIdBySiteId.set(siteId, cucmId);
|
|
691
|
-
}
|
|
692
|
-
});
|
|
693
|
-
return cucmIdBySiteId;
|
|
694
|
-
})
|
|
695
|
-
);
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
private getActivationDevices(entity: MigratedEntityLike | null, user: ListUser): unknown[] {
|
|
699
|
-
const migratedEntityDevices: unknown[] = Array.isArray(entity?.devices)
|
|
700
|
-
? (entity?.devices ?? [])
|
|
701
|
-
: [];
|
|
702
|
-
|
|
703
|
-
const entityDevices: unknown[] = Array.isArray(entity?.webexMigrationDevices)
|
|
704
|
-
? (entity?.webexMigrationDevices ?? [])
|
|
705
|
-
: [];
|
|
706
|
-
|
|
707
|
-
const allEntityDevices = [...migratedEntityDevices, ...entityDevices];
|
|
708
|
-
if (allEntityDevices.length) {
|
|
709
|
-
return allEntityDevices;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
// Fallback for partial responses where only list-user devices are available.
|
|
713
|
-
return [
|
|
714
|
-
...(Array.isArray(user?.devices) ? user.devices : []),
|
|
715
|
-
...(Array.isArray(user?.deviceProfiles) ? user.deviceProfiles : []),
|
|
716
|
-
];
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
private unwrapMigratedDevice(rawDevice: unknown): MigratedDeviceLike {
|
|
720
|
-
const candidate = rawDevice as MigratedDeviceLike;
|
|
721
|
-
if (candidate?.device) {
|
|
722
|
-
return {
|
|
723
|
-
...candidate.device,
|
|
724
|
-
...candidate,
|
|
725
|
-
};
|
|
726
|
-
}
|
|
727
|
-
return candidate || {};
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
private isMigratedDeviceEligible(device: MigratedDeviceLike): boolean {
|
|
731
|
-
const hasEligibilitySignal = device?.isRegistered !== undefined
|
|
732
|
-
|| device?.deviceToUpgrade !== undefined
|
|
733
|
-
|| device?.isEligible !== undefined;
|
|
734
|
-
|
|
735
|
-
if (!hasEligibilitySignal) {
|
|
736
|
-
return true;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
return !!(device?.isRegistered || device?.deviceToUpgrade || device?.isEligible);
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
private extractCucmId(
|
|
743
|
-
entity: MigratedEntityLike | null,
|
|
744
|
-
device: MigratedDeviceLike,
|
|
745
|
-
user: ListUser
|
|
746
|
-
): number | null {
|
|
747
|
-
const deviceCucmId = Number(device?.cucmId);
|
|
748
|
-
if (Number.isFinite(deviceCucmId) && deviceCucmId > 0) {
|
|
749
|
-
return deviceCucmId;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
const userCucmId = Number(user?.cucmId);
|
|
753
|
-
if (Number.isFinite(userCucmId)) {
|
|
754
|
-
return userCucmId;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
const entityCucmId = Number(entity?.cucmId);
|
|
758
|
-
if (Number.isFinite(entityCucmId)) {
|
|
759
|
-
return entityCucmId;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
return null;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
private resolveMigratedDeviceKey(device: MigratedDeviceLike): string {
|
|
766
|
-
return String(
|
|
767
|
-
device?.name ||
|
|
768
|
-
device?.mac ||
|
|
769
|
-
device?.deviceId ||
|
|
770
|
-
device?.cisUuid ||
|
|
771
|
-
device?.id ||
|
|
772
|
-
''
|
|
773
|
-
).trim();
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
private extractMigratedDeviceLines(device: MigratedDeviceLike): string[] {
|
|
777
|
-
const values = new Set<string>();
|
|
778
|
-
|
|
779
|
-
const lineAssociations = Array.isArray(device?.lineAssociations) ? device.lineAssociations : [];
|
|
780
|
-
lineAssociations.forEach((lineAssociation) => {
|
|
781
|
-
const directoryNumber = lineAssociation?.directoryNumber?.directoryNumber;
|
|
782
|
-
const templateDirectoryNumber = lineAssociation?.directoryNumber?.templateDirectoryNumber;
|
|
783
|
-
const e164Mask = lineAssociation?.e164Mask;
|
|
784
|
-
|
|
785
|
-
[directoryNumber, templateDirectoryNumber, e164Mask].forEach((value) => {
|
|
786
|
-
const normalized = String(value || '').trim();
|
|
787
|
-
if (normalized) {
|
|
788
|
-
values.add(normalized);
|
|
789
|
-
}
|
|
790
|
-
});
|
|
791
|
-
});
|
|
792
|
-
|
|
793
|
-
const lines = Array.isArray(device?.lines) ? device.lines : [];
|
|
794
|
-
lines.forEach((line) => {
|
|
795
|
-
const directoryNumber = line?.directoryNumber?.directoryNumber;
|
|
796
|
-
const templateDirectoryNumber = line?.directoryNumber?.templateDirectoryNumber;
|
|
797
|
-
[directoryNumber, templateDirectoryNumber].forEach((value) => {
|
|
798
|
-
const normalized = String(value || '').trim();
|
|
799
|
-
if (normalized) {
|
|
800
|
-
values.add(normalized);
|
|
801
|
-
}
|
|
802
|
-
});
|
|
803
|
-
});
|
|
804
|
-
|
|
805
|
-
return Array.from(values);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
onFirmwareUpgradeClicked(user: ListUser) {
|
|
809
|
-
if (!this.isValidWebexUuid(user) || user.status !== 'Inactive') {
|
|
810
|
-
return;
|
|
811
|
-
}
|
|
812
|
-
const dialogRef = this.dialog.open(UserListConfirmDialogComponent, {
|
|
813
|
-
data: {
|
|
814
|
-
title: `Activate user ${user.userid} on Multi Tenant?`,
|
|
815
|
-
message: `<p>Activating this user will perform the cutover to Multi Tenant and complete the migration process.</p>
|
|
816
|
-
<p>After activation, the user will become active on Multi Tenant and the original user will become inactive.</p>
|
|
817
|
-
<p>Do you want to continue?</p>`,
|
|
818
|
-
confirmButtonText: 'Activate',
|
|
819
|
-
},
|
|
820
|
-
});
|
|
821
|
-
|
|
822
|
-
dialogRef.beforeClosed().subscribe((result: any) => {
|
|
823
|
-
if (result) {
|
|
824
|
-
this.setUserPendingStatus(user, 'Pending Activation');
|
|
825
|
-
this.userService
|
|
826
|
-
.getMigratedMigrationFormEntities(this.customerId, user.webexUUID || '', 'PERSON')
|
|
827
|
-
.pipe(
|
|
828
|
-
takeUntil(this.destroy$),
|
|
829
|
-
map((entities: any[]) => {
|
|
830
|
-
return Array.isArray(entities) ? entities[0] : entities || null;
|
|
831
|
-
}),
|
|
832
|
-
switchMap((entity: any) => {
|
|
833
|
-
const formId = entity?.migrationFormId ?? entity?.id ?? null;
|
|
834
|
-
if (!formId) {
|
|
835
|
-
this.setUserPendingStatus(user, 'Inactive');
|
|
836
|
-
this.notifications.error('Activation failed. Migration form not found.');
|
|
837
|
-
return EMPTY;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
return this.fetchCucmIdBySiteId().pipe(
|
|
841
|
-
map((cucmIdBySiteId) => ({
|
|
842
|
-
formId,
|
|
843
|
-
deviceMap: this.buildFirmwareDeviceMap(
|
|
844
|
-
entity as MigratedEntityLike,
|
|
845
|
-
user,
|
|
846
|
-
cucmIdBySiteId
|
|
847
|
-
)
|
|
848
|
-
}))
|
|
849
|
-
);
|
|
850
|
-
}),
|
|
851
|
-
switchMap(({ formId, deviceMap }) => {
|
|
852
|
-
console.log('device map ==> ', deviceMap);
|
|
853
|
-
return this.userService
|
|
854
|
-
.triggerFirmwareUpgrade(this.customerId, Number(formId), deviceMap)
|
|
855
|
-
.pipe(map(() => formId));
|
|
856
|
-
})
|
|
857
|
-
)
|
|
858
|
-
.subscribe({
|
|
859
|
-
next: (formId: number) => {
|
|
860
|
-
this.pollMigrationFormStatusByUserId(formId, user.userid, () => {
|
|
861
|
-
this.setUserPendingStatus(user, 'Active');
|
|
862
|
-
this.setOriginalUserStatus(user.email, 'Inactive');
|
|
863
|
-
// this.notifications.success(`${user.userid} successfully activated`);
|
|
864
|
-
this.refreshUsersAfterOperation();
|
|
865
|
-
});
|
|
866
|
-
},
|
|
867
|
-
error: () => {
|
|
868
|
-
this.setUserPendingStatus(user, 'Inactive');
|
|
869
|
-
this.notifications.error('Activation failed. Please try again.');
|
|
870
|
-
this.refreshUsersAfterOperation();
|
|
871
|
-
}
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
});
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
onRevertClicked(user: ListUser) {
|
|
878
|
-
if (user?.webexUUID) {
|
|
879
|
-
this.setUserPendingStatus(user, 'Pending Deactivation');
|
|
880
|
-
this.userService.revertMigration(this.customerId, user.webexUUID)
|
|
881
|
-
.pipe(
|
|
882
|
-
takeUntil(this.destroy$),
|
|
883
|
-
switchMap(() => timer(2000))
|
|
884
|
-
)
|
|
885
|
-
.subscribe({
|
|
886
|
-
next: () => {
|
|
887
|
-
this.setUserPendingStatus(user, 'Inactive');
|
|
888
|
-
this.setOriginalUserStatus(user.email, 'Active');
|
|
889
|
-
// this.notifications.success(`${user.userid} successfully deactivated`);
|
|
890
|
-
this.refreshUsersAfterOperation();
|
|
891
|
-
},
|
|
892
|
-
error: () => {
|
|
893
|
-
this.setUserPendingStatus(user, 'Active');
|
|
894
|
-
this.refreshUsersAfterOperation();
|
|
895
|
-
}
|
|
896
|
-
});
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
private setUserPendingStatus(user: ListUser, status: string) {
|
|
901
|
-
user.status = status;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
private pollMigrationFormStatus(
|
|
905
|
-
formId: number,
|
|
906
|
-
index: number,
|
|
907
|
-
onCompleted: () => void,
|
|
908
|
-
): void {
|
|
909
|
-
const subscription = timer(0, 5000)
|
|
910
|
-
.pipe(
|
|
911
|
-
switchMap(() => this.userService.getMigrationFormStatus(this.customerId, formId)),
|
|
912
|
-
takeUntil(this.destroy$),
|
|
913
|
-
takeWhile((response: any) => {
|
|
914
|
-
const status = response?.status;
|
|
915
|
-
return !this.isMigrationStatusCompleted(status)
|
|
916
|
-
&& !this.isMigrationStatusFailed(status)
|
|
917
|
-
&& !this.isMigrationStatusCompletedWithErrors(status);
|
|
918
|
-
}, true),
|
|
919
|
-
)
|
|
920
|
-
.subscribe({
|
|
921
|
-
next: (response: any) => {
|
|
922
|
-
const status = response?.status;
|
|
923
|
-
const userId = this.users?.[index]?.userid || '';
|
|
924
|
-
if (this.isMigrationStatusCompletedWithErrors(status) && userId) {
|
|
925
|
-
this.handleCompletedWithErrorsByUserId(userId);
|
|
926
|
-
return;
|
|
927
|
-
}
|
|
928
|
-
if (this.isMigrationStatusFailed(status)) {
|
|
929
|
-
this.removeUserInMigrationProgress();
|
|
930
|
-
this.setStatusToUser(index, 'Migration Error');
|
|
931
|
-
this.refreshUsersAfterOperation();
|
|
932
|
-
return;
|
|
933
|
-
}
|
|
934
|
-
if (this.isMigrationStatusCompleted(status)) {
|
|
935
|
-
this.removeUserInMigrationProgress();
|
|
936
|
-
this.setStatusToUser(index, 'Active');
|
|
937
|
-
this.refreshUsersAfterOperation();
|
|
938
|
-
onCompleted();
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
error: () => {
|
|
942
|
-
this.removeUserInMigrationProgress();
|
|
943
|
-
this.setStatusToUser(index, 'Migration Error');
|
|
944
|
-
this.refreshUsersAfterOperation();
|
|
945
|
-
},
|
|
946
|
-
});
|
|
947
|
-
|
|
948
|
-
this.subscriptions.push(subscription);
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
private pollMigrationFormStatusByUserId(
|
|
952
|
-
formId: number,
|
|
953
|
-
userId: string,
|
|
954
|
-
onCompleted: () => void,
|
|
955
|
-
): void {
|
|
956
|
-
const subscription = timer(0, 5000)
|
|
957
|
-
.pipe(
|
|
958
|
-
switchMap(() => this.userService.getMigrationFormStatus(this.customerId, formId)),
|
|
959
|
-
takeUntil(this.destroy$),
|
|
960
|
-
takeWhile((response: any) => {
|
|
961
|
-
const status = response?.status;
|
|
962
|
-
return !this.isMigrationStatusCompleted(status)
|
|
963
|
-
&& !this.isMigrationStatusFailed(status)
|
|
964
|
-
&& !this.isMigrationStatusCompletedWithErrors(status);
|
|
965
|
-
}, true),
|
|
966
|
-
)
|
|
967
|
-
.subscribe({
|
|
968
|
-
next: (response: any) => {
|
|
969
|
-
const status = response?.status;
|
|
970
|
-
const index = this.getUserIndexById(userId);
|
|
971
|
-
if (this.isMigrationStatusCompletedWithErrors(status)) {
|
|
972
|
-
this.handleCompletedWithErrorsByUserId(userId);
|
|
973
|
-
return;
|
|
974
|
-
}
|
|
975
|
-
if (this.isMigrationStatusFailed(status)) {
|
|
976
|
-
this.removeUserInMigrationProgress();
|
|
977
|
-
if (index > -1) {
|
|
978
|
-
this.setStatusToUser(index, 'Migration Error');
|
|
979
|
-
}
|
|
980
|
-
this.refreshUsersAfterOperation();
|
|
981
|
-
return;
|
|
982
|
-
}
|
|
983
|
-
if (this.isMigrationStatusCompleted(status)) {
|
|
984
|
-
this.removeUserInMigrationProgress();
|
|
985
|
-
if (index > -1) {
|
|
986
|
-
this.setStatusToUser(index, 'Active');
|
|
987
|
-
}
|
|
988
|
-
this.refreshUsersAfterOperation();
|
|
989
|
-
onCompleted();
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
error: () => {
|
|
993
|
-
const index = this.getUserIndexById(userId);
|
|
994
|
-
this.removeUserInMigrationProgress();
|
|
995
|
-
if (index > -1) {
|
|
996
|
-
this.setStatusToUser(index, 'Migration Error');
|
|
997
|
-
}
|
|
998
|
-
this.refreshUsersAfterOperation();
|
|
999
|
-
},
|
|
1000
|
-
});
|
|
1001
|
-
|
|
1002
|
-
this.subscriptions.push(subscription);
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
private getUserIndexById(userId: string): number {
|
|
1006
|
-
return this.users?.findIndex((user) => user.userid === userId) ?? -1;
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
private setOriginalUserStatus(email = '', status: string) {
|
|
1010
|
-
const originalUser = this.users.find((user) => user.email === email && !user.webexUUID);
|
|
1011
|
-
if (originalUser) {
|
|
1012
|
-
originalUser.status = status;
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
private subscribeToUpgradeUsersStatus(users: ListUser[]): void {
|
|
1017
|
-
this.usersSearchService.quickUpgradeStatusUsers$
|
|
1018
|
-
.pipe(takeUntil(this.destroy$))
|
|
1019
|
-
.subscribe(() => {
|
|
1020
|
-
this.initializeDataSource(users)
|
|
1021
|
-
});
|
|
1022
|
-
}
|
|
1023
|
-
}
|