@tuki-io/tuki-widgets 0.0.134 → 0.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -10
- package/contact-center/cc-readiness/cc-readiness.module.d.ts +19 -0
- package/contact-center/cc-readiness/cc-readiness.service.d.ts +12 -0
- package/contact-center/cc-readiness/components/card/card.component.d.ts +6 -0
- package/contact-center/cc-readiness/types/cc-readiness.d.ts +20 -0
- package/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.d.ts +52 -0
- package/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.d.ts +26 -0
- package/contact-center/index.d.ts +5 -0
- package/contact-center/public-api.d.ts +3 -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 +15 -0
- package/contact-center/shared/shared.module.d.ts +10 -0
- package/di2mt/api/api.endpoints.d.ts +31 -0
- package/di2mt/index.d.ts +5 -0
- package/di2mt/public-api.d.ts +13 -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 +14 -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 +69 -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 +19 -0
- package/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.d.ts +19 -0
- package/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.d.ts +18 -0
- package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.d.ts +19 -0
- package/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.d.ts +19 -0
- package/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.d.ts +15 -0
- package/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.d.ts +18 -0
- package/di2mt/widgets/upgrade-overview/types/upgrade-overview.d.ts +56 -0
- package/di2mt/widgets/upgrade-overview/upgrade-overview.module.d.ts +15 -0
- package/di2mt/widgets/upgrade-overview/upgrade-overview.service.d.ts +17 -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 +79 -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 +35 -0
- package/esm2020/contact-center/cc-readiness/components/card/card.component.mjs +13 -0
- package/esm2020/contact-center/cc-readiness/types/cc-readiness.mjs +5 -0
- package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +187 -0
- package/esm2020/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.mjs +47 -0
- package/esm2020/contact-center/public-api.mjs +4 -0
- package/esm2020/contact-center/shared/api.endpoints.mjs +7 -0
- package/esm2020/contact-center/shared/api.service.mjs +86 -0
- package/esm2020/contact-center/shared/material.module.mjs +76 -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 +32 -0
- package/esm2020/di2mt/public-api.mjs +24 -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 +47 -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 +86 -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 +433 -0
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.module.mjs +53 -0
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade.service.mjs +92 -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 +64 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.mjs +64 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.mjs +83 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.mjs +45 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.mjs +45 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.mjs +86 -0
- package/esm2020/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.mjs +74 -0
- package/esm2020/di2mt/widgets/upgrade-overview/types/upgrade-overview.mjs +2 -0
- package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.module.mjs +59 -0
- package/esm2020/di2mt/widgets/upgrade-overview/upgrade-overview.service.mjs +82 -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 +376 -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-device-manage/public-api.mjs +9 -0
- package/esm2020/user-device-manage/src/app.constants.mjs +97 -0
- package/esm2020/user-device-manage/src/classes/device.mjs +85 -0
- package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +34 -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 +64 -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 +141 -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 +104 -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 +311 -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 +54 -0
- package/esm2020/user-manage/src/classes/device.mjs +37 -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 +109 -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 +249 -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 +75 -0
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +23 -0
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +219 -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 +54 -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 +178 -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 +14 -0
- package/esm2020/users-list/src/components/table-toolbar/table-toolbar.component.mjs +25 -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 +189 -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 +142 -0
- package/esm2020/users-list/src/services/users-search.service.mjs +141 -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 +339 -0
- package/esm2020/users-list/src/users-list.module.mjs +95 -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/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 +433 -0
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +2220 -0
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +3378 -0
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +2222 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +2098 -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 +430 -0
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +2204 -0
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +3357 -0
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +2208 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +2074 -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 +73 -49
- package/public-api.d.ts +3 -0
- package/user-device-manage/index.d.ts +5 -0
- package/user-device-manage/src/app.constants.d.ts +76 -0
- package/user-device-manage/src/classes/device.d.ts +233 -0
- package/user-device-manage/src/classes/deviceProfile.d.ts +24 -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 +24 -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 +54 -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 +14 -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 +61 -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/src/app.constants.d.ts +33 -0
- package/user-manage/src/classes/device.d.ts +203 -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 +50 -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 +45 -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 +30 -0
- package/user-manage/src/user-info/user-info.component.d.ts +10 -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/src/app.constants.d.ts +36 -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 +36 -0
- package/users-list/src/components/table-toolbar/table-toolbar.component.d.ts +10 -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 +35 -0
- package/users-list/src/services/users-search.service.d.ts +37 -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 +62 -0
- package/users-list/src/users-list.module.d.ts +19 -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/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 -33
- 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 -34
- package/projects/tuki/widgets/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.html +0 -74
- 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 -237
- 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 -57
- package/projects/tuki/widgets/contact-center/ng-package.json +0 -7
- package/projects/tuki/widgets/contact-center/public-api.ts +0 -6
- package/projects/tuki/widgets/contact-center/shared/api.endpoints.ts +0 -6
- package/projects/tuki/widgets/contact-center/shared/api.service.ts +0 -91
- 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 -36
- 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 -94
- package/projects/tuki/widgets/di2mt/api/api.endpoints.ts +0 -31
- 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 -27
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.html +0 -11
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.scss +0 -48
- package/projects/tuki/widgets/di2mt/shared/components/card/card.component.ts +0 -10
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.html +0 -15
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.scss +0 -38
- package/projects/tuki/widgets/di2mt/shared/components/chart-card/chart-card.component.ts +0 -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 -43
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.scss +0 -74
- package/projects/tuki/widgets/di2mt/shared/components/stat-card/stat-card.component.ts +0 -44
- package/projects/tuki/widgets/di2mt/shared/components/status-list-card/status-list-card.component.html +0 -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 -91
- 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 -460
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.ts +0 -506
- 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 -172
- 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 -52
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/already-upgraded-users/already-upgraded-users-card.component.ts +0 -53
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/preconditions-status-list/preconditions-status-list-card.component.ts +0 -82
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.html +0 -7
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.scss +0 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-sites/ready-to-upgrade-sites-card.component.ts +0 -45
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.html +0 -7
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.scss +0 -0
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/ready-to-upgrade-users/ready-to-upgrade-users-card.component.ts +0 -45
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/site-infrastructure-status-list/site-infrastructure-status-list-card.component.ts +0 -81
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component.ts +0 -70
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/types/upgrade-overview.ts +0 -58
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.module.ts +0 -42
- package/projects/tuki/widgets/di2mt/widgets/upgrade-overview/upgrade-overview.service.ts +0 -95
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/types/user-upgrade.ts +0 -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 -462
- package/projects/tuki/widgets/di2mt/widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component.ts +0 -438
- 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 -37
- package/projects/tuki/widgets/tsconfig.lib.prod.json +0 -10
- package/projects/tuki/widgets/tsconfig.spec.json +0 -17
- package/projects/tuki/widgets/user-device-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +0 -98
- 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 -60
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +0 -177
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +0 -41
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +0 -40
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +0 -169
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +0 -167
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +0 -19
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +0 -14
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +0 -80
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +0 -21
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +0 -97
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +0 -28
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +0 -20
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +0 -13
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +0 -4
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +0 -241
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +0 -500
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +0 -194
- package/projects/tuki/widgets/user-device-manage/src/device-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 -281
- 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 -142
- 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 -111
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +0 -89
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +0 -82
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +0 -360
- 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 -127
- 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/src/app.constants.ts +0 -54
- 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/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/classes/device.ts +0 -232
- 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 -165
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +0 -49
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +0 -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 -13
- 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 -288
- 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 -97
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +0 -444
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +0 -89
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +0 -37
- 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 -19
- 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 -222
- 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/src/app.constants.ts +0 -54
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +0 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/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/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/move_user_to_another_location.svg +0 -14
- package/projects/tuki/widgets/users-list/src/assets/icons/mt.svg +0 -3
- 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 -225
- package/projects/tuki/widgets/users-list/src/classes/notification.ts +0 -38
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +0 -74
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +0 -47
- package/projects/tuki/widgets/users-list/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/users-list/src/components/table-toolbar/table-toolbar.component.html +0 -39
- 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 -21
- 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 -129
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +0 -46
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +0 -31
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +0 -20
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +0 -26
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +0 -222
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +0 -249
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +0 -206
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +0 -12
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +0 -36
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +0 -14
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/users-list/src/services/dns.service.ts +0 -128
- package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +0 -11
- package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +0 -59
- package/projects/tuki/widgets/users-list/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +0 -26
- package/projects/tuki/widgets/users-list/src/services/user.service.ts +0 -159
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +0 -160
- 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 -261
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +0 -629
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +0 -410
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +0 -65
- 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 -33
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css +0 -45
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +0 -71
- package/projects/widgets-playground/src/app/app.component.html +0 -130
- package/projects/widgets-playground/src/app/app.component.scss +0 -16
- package/projects/widgets-playground/src/app/app.component.spec.ts +0 -31
- package/projects/widgets-playground/src/app/app.component.ts +0 -31
- package/projects/widgets-playground/src/app/app.module.ts +0 -45
- 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/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/menu_icon.png +0 -0
- package/projects/widgets-playground/src/assets/icons/mt.svg +0 -3
- 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/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 -24
- package/projects/widgets-playground/tsconfig.app.json +0 -14
- package/projects/widgets-playground/tsconfig.spec.json +0 -14
- package/proxy.conf.js +0 -23
- package/tsconfig.json +0 -46
- /package/{projects/tuki/widgets/di2mt → di2mt}/README.md +0 -0
- /package/{projects/tuki/widgets/user-device-manage/public-api.ts → user-device-manage/public-api.d.ts} +0 -0
- /package/{projects/tuki/widgets/user-manage/public-api.ts → user-manage/public-api.d.ts} +0 -0
- /package/{projects/tuki/widgets/users-list/public-api.ts → users-list/public-api.d.ts} +0 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { FormBuilder, Validators } from '@angular/forms';
|
|
2
|
+
import { getSavableData } from '../common-functions';
|
|
3
|
+
import { REGEX_PATTERN } from '../app.constants';
|
|
4
|
+
import { Device } from './device';
|
|
5
|
+
export class SimplifiedUser {
|
|
6
|
+
constructor(user, isLdap) {
|
|
7
|
+
// isLdap TEMP because of token response issue
|
|
8
|
+
if (user) {
|
|
9
|
+
this.userid = user.userid;
|
|
10
|
+
this.email = user.email;
|
|
11
|
+
this.firstName = user.firstName;
|
|
12
|
+
this.lastName = user.lastName;
|
|
13
|
+
this.siteId = user.siteId;
|
|
14
|
+
this.siteName = user.siteName;
|
|
15
|
+
this.token = user.token;
|
|
16
|
+
this.department = user.department;
|
|
17
|
+
this.manager = user.manager;
|
|
18
|
+
this.associatedPc = user.associatedPc;
|
|
19
|
+
this.digestCredentials = user.digestCredentials;
|
|
20
|
+
this.userProfile = user.userProfile;
|
|
21
|
+
this.enableMobileVoiceAccess = user.enableMobileVoiceAccess;
|
|
22
|
+
this.ldapIntegrated = user.ldapIntegrated || isLdap || false;
|
|
23
|
+
this.userLocale = user.userLocale;
|
|
24
|
+
this.confirmDigestCredentials = user.confirmDigestCredentials;
|
|
25
|
+
this.middleName = user.middleName;
|
|
26
|
+
this.telephoneNumber = user.telephoneNumber;
|
|
27
|
+
this.mobileNumber = user.mobileNumber;
|
|
28
|
+
this.directoryUri = user.directoryUri;
|
|
29
|
+
this.title = user.title;
|
|
30
|
+
this.homeNumber = user.homeNumber;
|
|
31
|
+
this.pagerNumber = user.pagerNumber;
|
|
32
|
+
this.displayName = user.displayName;
|
|
33
|
+
if (user.devices && user.devices.length) {
|
|
34
|
+
this.devices = user.devices.map((device) => new Device(device));
|
|
35
|
+
if (user.lines && user.lines.length) {
|
|
36
|
+
this.devices.forEach(device => {
|
|
37
|
+
if (device && device.lineAssociations && device.lineAssociations.length) {
|
|
38
|
+
device.lineAssociations.forEach(lineAssociation => {
|
|
39
|
+
lineAssociation.callingSearchSpace = this.getLineVal(lineAssociation, user.lines, 'callingSearchSpace');
|
|
40
|
+
lineAssociation.textLabel = lineAssociation.textLabel || this.getLineVal(lineAssociation, user.lines, 'textLabel') || '';
|
|
41
|
+
lineAssociation.alertingName = lineAssociation.alertingName || this.getLineVal(lineAssociation, user.lines, 'alertingName') || '';
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
this.initForm();
|
|
49
|
+
}
|
|
50
|
+
getLineVal(lineAssociation, lines, token) {
|
|
51
|
+
const lineForVal = lines.find((line) => line.directoryNumber.directoryNumber === lineAssociation.directoryNumber.directoryNumber);
|
|
52
|
+
return lineForVal && lineForVal[token] || '';
|
|
53
|
+
}
|
|
54
|
+
getUserDetailsSavableData() {
|
|
55
|
+
const excludedFields = ['devices', 'deviceProfiles', 'lines', 'singleNumberReach', 'vmPassword', 'vmUnifiedMessagingAccount', 'alternateExtensions', 'callerInput', 'lineAppearances', 'meetMes', 'webAppPasswordSettings', 'form'];
|
|
56
|
+
return getSavableData(this, excludedFields);
|
|
57
|
+
}
|
|
58
|
+
initForm() {
|
|
59
|
+
const formBuilder = new FormBuilder();
|
|
60
|
+
const formSettings = {
|
|
61
|
+
userid: [{ value: this.userid || '', disabled: this.ldapIntegrated }, [Validators.required, Validators.maxLength(128)]],
|
|
62
|
+
email: [{ value: this.email || '', disabled: this.ldapIntegrated }, [
|
|
63
|
+
Validators.pattern(REGEX_PATTERN.EMAIL),
|
|
64
|
+
Validators.required
|
|
65
|
+
]],
|
|
66
|
+
firstName: [{ value: this.firstName || '', disabled: this.ldapIntegrated }],
|
|
67
|
+
lastName: [{ value: this.lastName || '', disabled: this.ldapIntegrated }, Validators.required],
|
|
68
|
+
department: [{ value: this.department || '', disabled: false }],
|
|
69
|
+
middleName: [{ value: this.middleName || '', disabled: false }],
|
|
70
|
+
title: [{ value: this.title || '', disabled: false }],
|
|
71
|
+
telephoneNumber: [{ value: this.telephoneNumber || '', disabled: false }],
|
|
72
|
+
homeNumber: [{ value: this.homeNumber || '', disabled: false }],
|
|
73
|
+
mobileNumber: [{ value: this.mobileNumber || '', disabled: false }],
|
|
74
|
+
pagerNumber: [{ value: this.pagerNumber || '', disabled: false }],
|
|
75
|
+
displayName: [{ value: this.displayName || '', disabled: false }],
|
|
76
|
+
manager: [{ value: this.manager || '', disabled: false }],
|
|
77
|
+
associatedPc: [this.associatedPc || ''],
|
|
78
|
+
directoryUri: [this.directoryUri || ''],
|
|
79
|
+
userProfile: [this.userProfile],
|
|
80
|
+
enableMobileVoiceAccess: [this.enableMobileVoiceAccess],
|
|
81
|
+
ldapIntegrated: [this.ldapIntegrated],
|
|
82
|
+
userLocale: [this.userLocale || ''],
|
|
83
|
+
digestCredentials: [''],
|
|
84
|
+
confirmDigestCredentials: ['']
|
|
85
|
+
};
|
|
86
|
+
this.form = formBuilder.group(formSettings);
|
|
87
|
+
}
|
|
88
|
+
toggleEditMode() {
|
|
89
|
+
this.editMode = !this.editMode;
|
|
90
|
+
/*['userid', 'email', 'firstName', 'lastName'].forEach(token => {
|
|
91
|
+
if (this.editMode) {
|
|
92
|
+
this.form.get(token)?.enable();
|
|
93
|
+
} else {
|
|
94
|
+
this.form.get(token)?.disable();
|
|
95
|
+
}
|
|
96
|
+
})*/
|
|
97
|
+
}
|
|
98
|
+
getSavableData() {
|
|
99
|
+
const excludedFields = ['form', 'editMode', 'viewMode', 'token', 'hasModifiedCache', 'confirmDigestCredentials'];
|
|
100
|
+
return getSavableData(this, excludedFields);
|
|
101
|
+
}
|
|
102
|
+
equal(userToCompare) {
|
|
103
|
+
if (!userToCompare) {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
return JSON.stringify(this.getSavableData()) === JSON.stringify(userToCompare.getSavableData());
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxpZmllZC11c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHVraS93aWRnZXRzL3VzZXItbWFuYWdlL3NyYy9jbGFzc2VzL3NpbXBsaWZpZWQtdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFhLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUlsQyxNQUFNLE9BQU8sY0FBYztJQXFDekIsWUFBWSxJQUFVLEVBQUUsTUFBZ0I7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ZSkge1xyXG4gICAgICByZXR1cm4gZmFsc2U7XHJcbiAgICB9XHJcbiAgICByZXR1cm4gSlNPTi5zdHJpbmdpZnkodGhpcy5nZXRTYXZhYmxlRGF0YSgpKSA9PT0gSlNPTi5zdHJpbmdpZnkodXNlclRvQ29tcGFyZS5nZXRTYXZhYmxlRGF0YSgpKTtcclxuICB9XHJcblxyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIFNpbXBsaWZpZWRVc2VySW50ZXJmYWNlIHtcclxuICB1c2VyaWQ6IHN0cmluZztcclxuICBlbWFpbDogc3RyaW5nO1xyXG4gIGZpcnN0TmFtZTogc3RyaW5nO1xyXG4gIGxhc3ROYW1lOiBzdHJpbmc7XHJcbiAgZm9ybTogRm9ybUdyb3VwO1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R1a2kvd2lkZ2V0cy91c2VyLW1hbmFnZS9zcmMvY2xhc3Nlcy90YWJsZS1kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJcclxuZXhwb3J0IGludGVyZmFjZSBUYWJsZURhdGFJbnRlcmZhY2Uge1xyXG4gIHRvdGFsOiBudW1iZXI7XHJcbiAgcGFnZURhdGE6IEFycmF5PGFueT47XHJcbiAgc3lzdGVtU2V0dGluZ3M/OiBhbnk7XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FormBuilder } from '@angular/forms';
|
|
2
|
+
import { getSavableData } from '../common-functions';
|
|
3
|
+
export class TranslationPattern {
|
|
4
|
+
constructor(translationPattern) {
|
|
5
|
+
Object.assign(this, translationPattern || {});
|
|
6
|
+
this.initForm();
|
|
7
|
+
}
|
|
8
|
+
getSavableData() {
|
|
9
|
+
return getSavableData(this, ['form', 'isNewForExistingLine']);
|
|
10
|
+
}
|
|
11
|
+
initForm() {
|
|
12
|
+
const formBuilder = new FormBuilder();
|
|
13
|
+
const formSettings = {
|
|
14
|
+
pattern: [{ value: this.pattern || '' }],
|
|
15
|
+
calledPartyTransformationMask: [{ value: this.calledPartyTransformationMask || '' }]
|
|
16
|
+
};
|
|
17
|
+
this.form = formBuilder.group(formSettings);
|
|
18
|
+
}
|
|
19
|
+
getSiteId() {
|
|
20
|
+
if (this.site && this.site.id != null) {
|
|
21
|
+
return this.site.id;
|
|
22
|
+
}
|
|
23
|
+
if (this.hasMultipleSiteIds()) {
|
|
24
|
+
return this.multipleSitesId.split(',')[0];
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
hasMultipleSiteIds() {
|
|
29
|
+
return this.hasMultipleSites && !!this.multipleSitesId && this.multipleSitesId.length > 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb24tcGF0dGVybi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R1a2kvd2lkZ2V0cy91c2VyLW1hbmFnZS9zcmMvY2xhc3Nlcy90cmFuc2xhdGlvbi1wYXR0ZXJuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxXQUFXLEVBQVksTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFFckQsTUFBTSxPQUFPLGtCQUFrQjtJQWE3QixZQUFZLGtCQUFnRDtRQUMxRCxNQUFNLENBQU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sZVNpdGVzSWQubGVuZ3RoID4gMDtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class ListUser {
|
|
2
|
+
constructor(user) {
|
|
3
|
+
this.devices = [];
|
|
4
|
+
this.deviceProfiles = [];
|
|
5
|
+
if (user) {
|
|
6
|
+
Object.assign(this, user);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1saXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHVraS93aWRnZXRzL3VzZXItbWFuYWdlL3NyYy9jbGFzc2VzL3VzZXItbGlzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sUUFBUTtJQWdCbkIsWUFBWSxJQUFlO1FBVDNCLFlBQU8sR0FBc0IsRUFBRSxDQUFDO1FBQ2hDLG1CQUFjLEdBQXNCLEVBQUUsQ0FBQztRQVNyQyxJQUFJLElBQUksRUFBRTtZQUNSLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxDQUFDO1NBQzNCO0lBQ0gsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGV2aWNlSW50ZXJmYWNlIH0gZnJvbSAnLi4vY2xhc3Nlcy9kZXZpY2UnO1xyXG5pbXBvcnQgeyBMaW5lSW50ZXJmYWNlIH0gZnJvbSAnLi4vY2xhc3Nlcy9saW5lJztcclxuXHJcbmV4cG9ydCBjbGFzcyBMaXN0VXNlciB7XHJcbiAgLy8gQHRzLWlnbm9yZVxyXG4gIHVzZXJpZDogc3RyaW5nO1xyXG4gIGZpcnN0TmFtZSE6IHN0cmluZztcclxuICBsYXN0TmFtZSE6IHN0cmluZztcclxu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|
|
|
1
|
+
export const getSavableData = (model, exclude) => {
|
|
2
|
+
let result = Object.keys(model);
|
|
3
|
+
if (exclude && exclude.length) {
|
|
4
|
+
result = result.filter(key => !exclude.some(item => item === key));
|
|
5
|
+
}
|
|
6
|
+
return result.reduce((result, key) => {
|
|
7
|
+
if (model[key] instanceof Array && model[key].length && model[key][0].getSavableData) {
|
|
8
|
+
result[key] = model[key].map((item) => item.getSavableData());
|
|
9
|
+
}
|
|
10
|
+
else if (model[key] instanceof Object && model[key].getSavableData) {
|
|
11
|
+
result[key] = model[key].getSavableData();
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
result[key] = model[key];
|
|
15
|
+
}
|
|
16
|
+
return result;
|
|
17
|
+
}, {});
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLWZ1bmN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R1a2kvd2lkZ2V0cy91c2VyLW1hbmFnZS9zcmMvY29tbW9uLWZ1bmN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUcsQ0FBQyxLQUFVLEVBQUUsT0FBdUIsRUFBRSxFQUFFO0lBQ3BFLElBQUksTUFBTSxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDaEMsSUFBSSxPQUFPLElBQUksT0FBTyxDQUFDLE1BQU0sRUFBRTtRQUM3QixNQUFNLEdBQUcsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLElBQUksS0FBSyxHQUFHLENBQUMsQ0FBQyxDQUFDO0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ICAgIHJlc3VsdCA9IHJlc3VsdC5maWx0ZXIoa2V5ID0+ICFleGNsdWRlLnNvbWUoaXRlbSA9PiBpdGVtID09PSBrZXkpKTtcclxuICB9XHJcbiAgcmV0dXJuIHJlc3VsdC5yZWR1Y2UoKHJlc3VsdCwga2V5KSA9PiB7XHJcbiAgICBpZiAobW9kZWxba2V5XSBpbnN0YW5jZW9mIEFycmF5ICYmIG1vZGVsW2tleV0ubGVuZ3RoICYmIG1vZGVsW2tleV1bMF0uZ2V0U2F2YWJsZURhdGEpIHtcclxuICAgICAgKHJlc3VsdCBhcyBhbnkpW2tleV0gPSBtb2RlbFtrZXldLm1hcCgoaXRlbTogYW55KSA9PiBpdGVtLmdldFNhdmFibGVEYXRhKCkpO1xyXG4gICAgfSBlbHNlIGlmIChtb2RlbFtrZXldIGluc3RhbmNlb2YgT2JqZWN0ICYmIG1vZGVsW2tleV0uZ2V0U2F2YWJsZURhdGEpIHtcclxuICAgICAgKHJlc3VsdCBhcyBhbnkpW2tleV0gPSBtb2RlbFtrZXldLmdldFNhdmFibGVEYXRhKCk7XHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICAocmVzdWx0IGFzIGFueSlba2V5XSA9IG1vZGVsW2tleV07XHJcbiAgICB9XHJcbiAgICByZXR1cm4gcmVzdWx0O1xyXG4gIH0sIHt9KTtcclxufTtcclxuIl19
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/material/divider";
|
|
5
|
+
import * as i3 from "./device-row/device-row.component";
|
|
6
|
+
export class DeviceListComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.onDeviceSelect = new EventEmitter();
|
|
9
|
+
console.log('devices list');
|
|
10
|
+
}
|
|
11
|
+
selectDevice(device) {
|
|
12
|
+
localStorage.setItem('deviceType', device.deviceType);
|
|
13
|
+
this.onDeviceSelect.emit(device);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
DeviceListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DeviceListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
DeviceListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DeviceListComponent, selector: "app-device-list", inputs: { devices: "devices" }, outputs: { onDeviceSelect: "onDeviceSelect" }, ngImport: i0, template: "<div class=\"info-boxes-container\">\n <!-- USER INFO BOX-->\n <div class=\"user-info-box user-details-box\">\n <h3 class=\"user-box-title\">Devices</h3>\n <div class=\"form-holder__inputs\">\n <ng-container *ngFor=\"let device of devices; let isLast = last\">\n <app-device-row [device]=\"device\" (onDeviceSelect)=\"selectDevice($event)\"></app-device-row>\n <mat-divider></mat-divider>\n </ng-container>\n <button class=\"add-btn\">\n Add device\n </button>\n </div>\n </div>\n\n <div class=\"user-info-box user-details-box\">\n <h3 class=\"user-box-title\">Devices settings</h3>\n <div class=\"form-holder__inputs\">\n <div class=\"input-holder\">\n <div class=\"input-holder__name\">\n <span class=\"phone-name\">Software upgrade channel</span>\n </div>\n <div class=\"input-holder__input\">\n <div class=\"info-labels\">\n <span class=\"info-icon\"></span>\n <span class=\"status-label\">Software upgrade channel setting has moved</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: ["@import\"https://fonts.googleapis.com/css?family=Poppins:400,100,200,300,500,600,800,700,900\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap\";.info-holder{display:flex;gap:16px;align-items:center;font-family:Inter,sans-serif;height:102px;width:100%;background:white;margin:0 0 30px}.info-holder__user-image img{width:40px;border-radius:120px;margin:20px 0 0}.info-holder__user-information{padding:10px;margin:10px;gap:10px;display:flex;flex-direction:column}.info-holder__user-name{font-size:20px;font-weight:500}.info-holder__user-breadcrumbs{display:flex;gap:8px;font-weight:400;font-size:14px;color:#000000b3;align-items:center}.info-holder .icon-separator{height:5px;width:5px;background-color:#000000b3;border-radius:50%}.info-holder .is-active{display:flex;gap:8px;align-items:center}.icon-user-status{width:.5rem;height:.5rem;border-radius:50%;background-color:#707070;margin:0 5px 0 0}.icon-user-status.icon-user-status-active{background-color:#1d805f;display:inline-block}.webex-list{padding:2.5rem}.webex-list-header{display:flex;align-items:center;padding:1rem}.webex-list-header__hr{width:100%;font-size:12px}.device-item{position:relative;display:flex;align-items:center;justify-content:space-between;background-color:#fff;border-bottom:1px solid #b0b0b0;padding:.8rem;z-index:10;transition:background-color .3s;cursor:pointer}.device-item__td{width:100%}.device-item__actions-menu{position:absolute;margin:0 1rem;right:0}.device-item__more{display:flex;align-items:center;justify-content:center;cursor:pointer;color:#b0b0b0;border-radius:50%;padding:.5rem;transition:background-color .3s ease-in-out}.info-boxes-container{padding:24px 0;display:flex;flex-direction:column;gap:24px}.info-boxes-container .user-info-box{background:white;display:flex;gap:2rem;border-radius:8px;border:rgba(0,0,0,.2) 1px solid;padding:24px;font-weight:400;font-size:14px}.info-boxes-container .user-info-box .user-box-title{display:flex;font-weight:500;font-size:16px;max-inline-size:11.25rem;flex:1;color:#000000f2;margin-top:3px;font-family:Poppins,Poppins,sans-serif}.info-boxes-container .user-info-box .form-holder__inputs{display:flex;flex-direction:column;flex:1}.info-boxes-container .user-info-box .form-holder__inputs .input-holder{display:flex;gap:1.5rem;padding:.5rem 0;font-size:.75rem;line-height:1.25;align-items:center;overflow:hidden}.info-boxes-container .user-info-box .form-holder__inputs .input-holder:nth-child(1){padding-top:0}.info-boxes-container .user-info-box .form-holder__inputs .input-holder:last-child{padding-bottom:0}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__name{font-weight:500!important;font-size:14px!important;flex-basis:12rem;display:flex;gap:.5rem;align-items:center;flex-basis:15rem!important}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__name .phone-icon{inline-size:2.25rem;block-size:2.25rem;background-repeat:no-repeat;background-position:center;height:40px;width:40px;display:block;background-size:contain}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__name .primary-label{background-color:#08599c;display:inline-flex;gap:.25rem;align-items:center;justify-content:center;padding:.25rem .5rem;border-radius:.25rem;color:#fffffff2;font-size:.75rem;line-height:1;text-align:center}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input{display:flex;flex:1;gap:.75rem;align-items:center}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .status-indicator{height:7px;width:7px;background-color:#707070;border-radius:50px}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .status-label{display:flex;flex-wrap:wrap;gap:1.5rem;overflow:auto;font-size:.9rem;line-height:1.25;color:#000000f2}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .info-labels{display:flex;gap:.25rem;align-items:center;justify-content:center;padding:.25rem .5rem;border:.0625rem solid transparent;border-radius:.25rem;line-height:1;text-overflow:ellipsis;border-color:#d6b220;background-color:#f7f6dc;color:#735107}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .info-labels .info-icon{inline-size:2.25rem;block-size:2.25rem;background-repeat:no-repeat;background-position:center;height:13px;width:13px;display:block;background-size:contain;background-image:url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2232%22 height%3D%2232%22 viewBox%3D%220 0 32 32%22%3E%3Cpath d%3D%22M15.75 10.75a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5M17 14.5a1 1 0 0 0-1-1h-2a1 1 0 1 0 0 2h1V22h-2a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2zM2 16C2 8.268 8.268 2 16 2s14 6.268 14 14-6.268 14-14 14S2 23.732 2 16M16 4C9.373 4 4 9.373 4 16s5.373 12 12 12 12-5.373 12-12S22.627 4 16 4%22%2F%3E%3C%2Fsvg%3E\")}.info-boxes-container .user-info-box .form-holder__inputs .add-btn{position:relative;display:inline-flex;gap:.375rem;align-items:center;justify-content:center;overflow:hidden!important;padding:.75rem;border:.0625rem solid transparent;border-radius:6.25rem;font-weight:500;font-size:.875rem;text-overflow:ellipsis;white-space:nowrap;transition:all .1s cubic-bezier(.25,.1,.25,1);inline-size:min-content;max-inline-size:100%;border-color:#00000080;background-color:#0000;color:#000000f2;margin:1rem 0;block-size:2rem}.info-boxes-container .user-info-box .form-holder__inputs .mat-divider{margin:0!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i3.DeviceRowComponent, selector: "app-device-row", inputs: ["device"], outputs: ["onDeviceSelect"] }] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DeviceListComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'app-device-list', template: "<div class=\"info-boxes-container\">\n <!-- USER INFO BOX-->\n <div class=\"user-info-box user-details-box\">\n <h3 class=\"user-box-title\">Devices</h3>\n <div class=\"form-holder__inputs\">\n <ng-container *ngFor=\"let device of devices; let isLast = last\">\n <app-device-row [device]=\"device\" (onDeviceSelect)=\"selectDevice($event)\"></app-device-row>\n <mat-divider></mat-divider>\n </ng-container>\n <button class=\"add-btn\">\n Add device\n </button>\n </div>\n </div>\n\n <div class=\"user-info-box user-details-box\">\n <h3 class=\"user-box-title\">Devices settings</h3>\n <div class=\"form-holder__inputs\">\n <div class=\"input-holder\">\n <div class=\"input-holder__name\">\n <span class=\"phone-name\">Software upgrade channel</span>\n </div>\n <div class=\"input-holder__input\">\n <div class=\"info-labels\">\n <span class=\"info-icon\"></span>\n <span class=\"status-label\">Software upgrade channel setting has moved</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: ["@import\"https://fonts.googleapis.com/css?family=Poppins:400,100,200,300,500,600,800,700,900\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap\";.info-holder{display:flex;gap:16px;align-items:center;font-family:Inter,sans-serif;height:102px;width:100%;background:white;margin:0 0 30px}.info-holder__user-image img{width:40px;border-radius:120px;margin:20px 0 0}.info-holder__user-information{padding:10px;margin:10px;gap:10px;display:flex;flex-direction:column}.info-holder__user-name{font-size:20px;font-weight:500}.info-holder__user-breadcrumbs{display:flex;gap:8px;font-weight:400;font-size:14px;color:#000000b3;align-items:center}.info-holder .icon-separator{height:5px;width:5px;background-color:#000000b3;border-radius:50%}.info-holder .is-active{display:flex;gap:8px;align-items:center}.icon-user-status{width:.5rem;height:.5rem;border-radius:50%;background-color:#707070;margin:0 5px 0 0}.icon-user-status.icon-user-status-active{background-color:#1d805f;display:inline-block}.webex-list{padding:2.5rem}.webex-list-header{display:flex;align-items:center;padding:1rem}.webex-list-header__hr{width:100%;font-size:12px}.device-item{position:relative;display:flex;align-items:center;justify-content:space-between;background-color:#fff;border-bottom:1px solid #b0b0b0;padding:.8rem;z-index:10;transition:background-color .3s;cursor:pointer}.device-item__td{width:100%}.device-item__actions-menu{position:absolute;margin:0 1rem;right:0}.device-item__more{display:flex;align-items:center;justify-content:center;cursor:pointer;color:#b0b0b0;border-radius:50%;padding:.5rem;transition:background-color .3s ease-in-out}.info-boxes-container{padding:24px 0;display:flex;flex-direction:column;gap:24px}.info-boxes-container .user-info-box{background:white;display:flex;gap:2rem;border-radius:8px;border:rgba(0,0,0,.2) 1px solid;padding:24px;font-weight:400;font-size:14px}.info-boxes-container .user-info-box .user-box-title{display:flex;font-weight:500;font-size:16px;max-inline-size:11.25rem;flex:1;color:#000000f2;margin-top:3px;font-family:Poppins,Poppins,sans-serif}.info-boxes-container .user-info-box .form-holder__inputs{display:flex;flex-direction:column;flex:1}.info-boxes-container .user-info-box .form-holder__inputs .input-holder{display:flex;gap:1.5rem;padding:.5rem 0;font-size:.75rem;line-height:1.25;align-items:center;overflow:hidden}.info-boxes-container .user-info-box .form-holder__inputs .input-holder:nth-child(1){padding-top:0}.info-boxes-container .user-info-box .form-holder__inputs .input-holder:last-child{padding-bottom:0}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__name{font-weight:500!important;font-size:14px!important;flex-basis:12rem;display:flex;gap:.5rem;align-items:center;flex-basis:15rem!important}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__name .phone-icon{inline-size:2.25rem;block-size:2.25rem;background-repeat:no-repeat;background-position:center;height:40px;width:40px;display:block;background-size:contain}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__name .primary-label{background-color:#08599c;display:inline-flex;gap:.25rem;align-items:center;justify-content:center;padding:.25rem .5rem;border-radius:.25rem;color:#fffffff2;font-size:.75rem;line-height:1;text-align:center}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input{display:flex;flex:1;gap:.75rem;align-items:center}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .status-indicator{height:7px;width:7px;background-color:#707070;border-radius:50px}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .status-label{display:flex;flex-wrap:wrap;gap:1.5rem;overflow:auto;font-size:.9rem;line-height:1.25;color:#000000f2}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .info-labels{display:flex;gap:.25rem;align-items:center;justify-content:center;padding:.25rem .5rem;border:.0625rem solid transparent;border-radius:.25rem;line-height:1;text-overflow:ellipsis;border-color:#d6b220;background-color:#f7f6dc;color:#735107}.info-boxes-container .user-info-box .form-holder__inputs .input-holder__input .info-labels .info-icon{inline-size:2.25rem;block-size:2.25rem;background-repeat:no-repeat;background-position:center;height:13px;width:13px;display:block;background-size:contain;background-image:url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2232%22 height%3D%2232%22 viewBox%3D%220 0 32 32%22%3E%3Cpath d%3D%22M15.75 10.75a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5M17 14.5a1 1 0 0 0-1-1h-2a1 1 0 1 0 0 2h1V22h-2a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2zM2 16C2 8.268 8.268 2 16 2s14 6.268 14 14-6.268 14-14 14S2 23.732 2 16M16 4C9.373 4 4 9.373 4 16s5.373 12 12 12 12-5.373 12-12S22.627 4 16 4%22%2F%3E%3C%2Fsvg%3E\")}.info-boxes-container .user-info-box .form-holder__inputs .add-btn{position:relative;display:inline-flex;gap:.375rem;align-items:center;justify-content:center;overflow:hidden!important;padding:.75rem;border:.0625rem solid transparent;border-radius:6.25rem;font-weight:500;font-size:.875rem;text-overflow:ellipsis;white-space:nowrap;transition:all .1s cubic-bezier(.25,.1,.25,1);inline-size:min-content;max-inline-size:100%;border-color:#00000080;background-color:#0000;color:#000000f2;margin:1rem 0;block-size:2rem}.info-boxes-container .user-info-box .form-holder__inputs .mat-divider{margin:0!important}\n"] }]
|
|
21
|
+
}], ctorParameters: function () { return []; }, propDecorators: { devices: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], onDeviceSelect: [{
|
|
24
|
+
type: Output
|
|
25
|
+
}] } });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV2aWNlLWxpc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHVraS93aWRnZXRzL3VzZXItbWFuYWdlL3NyYy9kZXZpY2UtbGlzdC9kZXZpY2UtbGlzdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dWtpL3dpZGdldHMvdXNlci1tYW5hZ2Uvc3JjL2RldmljZS1saXN0L2RldmljZS1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUF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