@tuki-io/tuki-widgets 0.0.219-dev.53 → 0.0.219-dev.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/contact-center/cc-import/cc-import.module.d.ts +13 -0
- package/contact-center/cc-import/cc-import.service.d.ts +85 -0
- package/contact-center/cc-import/components/import-contact-center-panel/import-contact-center-panel.component.d.ts +56 -0
- package/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.component.d.ts +77 -0
- package/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.types.d.ts +3 -0
- package/contact-center/cc-import/constants/cc-import.constants.d.ts +37 -0
- package/contact-center/cc-import/mock/cc-import.mock.d.ts +4 -0
- package/contact-center/cc-import/types/cc-import.d.ts +73 -0
- package/contact-center/cc-import/types/uccx.d.ts +109 -0
- package/contact-center/cc-readiness/cc-readiness.module.d.ts +3 -3
- package/contact-center/public-api.d.ts +8 -0
- package/contact-center/shared/api.endpoints.d.ts +25 -0
- package/contact-center/shared/api.service.d.ts +3 -1
- package/contact-center/shared/components/card/card.component.d.ts +13 -0
- package/contact-center/shared/dcp-api.service.d.ts +15 -0
- package/contact-center/shared/shared.module.d.ts +11 -5
- package/esm2020/contact-center/cc-import/cc-import.module.mjs +45 -0
- package/esm2020/contact-center/cc-import/cc-import.service.mjs +228 -0
- package/esm2020/contact-center/cc-import/components/import-contact-center-panel/import-contact-center-panel.component.mjs +144 -0
- package/esm2020/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.component.mjs +243 -0
- package/esm2020/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.types.mjs +3 -0
- package/esm2020/contact-center/cc-import/constants/cc-import.constants.mjs +62 -0
- package/esm2020/contact-center/cc-import/mock/cc-import.mock.mjs +78 -0
- package/esm2020/contact-center/cc-import/types/cc-import.mjs +2 -0
- package/esm2020/contact-center/cc-import/types/uccx.mjs +24 -0
- package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +7 -6
- package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +1 -1
- package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +7 -7
- package/esm2020/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.mjs +2 -2
- package/esm2020/contact-center/public-api.mjs +9 -1
- package/esm2020/contact-center/shared/api.endpoints.mjs +26 -1
- package/esm2020/contact-center/shared/api.service.mjs +8 -3
- package/esm2020/contact-center/shared/components/card/card.component.mjs +24 -0
- package/esm2020/contact-center/shared/dcp-api.service.mjs +26 -0
- package/esm2020/contact-center/shared/shared.module.mjs +15 -5
- package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +2 -2
- package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +17 -17
- package/esm2020/lib/widgets.component.mjs +9 -9
- package/esm2020/lib/widgets.module.mjs +1 -1
- package/esm2020/lib/widgets.service.mjs +1 -1
- package/esm2020/locations/public-api.mjs +1 -1
- package/esm2020/locations/src/app.constants.mjs +1 -1
- package/esm2020/locations/src/location-confirm-dialog/location-confirm-dialog.component.mjs +3 -3
- package/esm2020/locations/src/locations.component.mjs +47 -15
- package/esm2020/locations/src/locations.module.mjs +1 -1
- package/esm2020/locations/src/material.module.mjs +1 -1
- package/esm2020/locations/src/services/api.service.mjs +1 -1
- package/esm2020/locations/src/services/locations.service.mjs +1 -1
- package/esm2020/locations/src/types/location.mjs +1 -1
- package/esm2020/locations/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/meetings/src/app.constants.mjs +1 -1
- package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +3 -3
- package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +3 -3
- package/esm2020/meetings/src/meetings.component.mjs +3 -3
- package/esm2020/meetings/src/meetings.module.mjs +1 -1
- package/esm2020/meetings/src/services/live-meetings.service.mjs +1 -1
- package/esm2020/meetings/src/services/meeting-spaces.service.mjs +1 -1
- package/esm2020/meetings/src/types/live-meeting.mjs +1 -1
- package/esm2020/meetings/src/types/meeting-space.mjs +1 -1
- package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/public-api.mjs +1 -1
- package/esm2020/user-creation/src/app.constants.mjs +1 -1
- package/esm2020/user-creation/src/classes/notification.mjs +1 -1
- package/esm2020/user-creation/src/classes/site.mjs +1 -1
- package/esm2020/user-creation/src/environments/environment.mjs +1 -1
- package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +1 -1
- package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +3 -3
- package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +1 -1
- package/esm2020/user-creation/src/shared/services/notification.service.mjs +1 -1
- package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +1 -1
- package/esm2020/user-creation/src/shared/services/utils.mjs +1 -1
- package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +1 -1
- package/esm2020/user-creation/src/utils/device-default-prefix.mjs +1 -1
- package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +1 -1
- package/esm2020/user-creation/src/utils/device-name-validation.mjs +1 -1
- package/esm2020/user-creation/src/utils/model.mjs +1 -1
- package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +1 -1
- package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +3 -3
- package/esm2020/user-device-manage/public-api.mjs +4 -1
- package/esm2020/user-device-manage/src/app.constants.mjs +9 -3
- package/esm2020/user-device-manage/src/associate-lines/associate-lines.component.mjs +311 -0
- package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-association.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line-directory.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/line.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/notification.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/recording-options.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/site-defaults.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +1 -1
- package/esm2020/user-device-manage/src/classes/types.mjs +1 -1
- package/esm2020/user-device-manage/src/common-functions.mjs +1 -1
- package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +1 -1
- package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +3 -3
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +34 -17
- package/esm2020/user-device-manage/src/device-settings/device-settings.component.mjs +207 -0
- package/esm2020/user-device-manage/src/environments/environment.mjs +1 -1
- package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +1 -1
- package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
- package/esm2020/user-device-manage/src/line-key-config/line-key-config.component.mjs +401 -0
- package/esm2020/user-device-manage/src/material.module.mjs +1 -1
- package/esm2020/user-device-manage/src/notifications/notification.component.mjs +3 -3
- package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +1 -1
- package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/device.service.mjs +32 -2
- package/esm2020/user-device-manage/src/services/dns.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/line.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/notification.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/site-settings.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/user.service.mjs +34 -6
- package/esm2020/user-device-manage/src/services/utils.service.mjs +1 -1
- package/esm2020/user-device-manage/src/services/validation.service.mjs +1 -1
- package/esm2020/user-device-manage/src/user-device-manage.module.mjs +19 -4
- package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/user-manage/public-api.mjs +1 -1
- package/esm2020/user-manage/src/app.constants.mjs +1 -1
- package/esm2020/user-manage/src/classes/device.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-association-interface.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-association.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-call-info-display.mjs +1 -1
- package/esm2020/user-manage/src/classes/line-directory.mjs +1 -1
- package/esm2020/user-manage/src/classes/line.mjs +1 -1
- package/esm2020/user-manage/src/classes/notification.mjs +1 -1
- package/esm2020/user-manage/src/classes/pagination.mjs +1 -1
- package/esm2020/user-manage/src/classes/recording-options.mjs +1 -1
- package/esm2020/user-manage/src/classes/simplified-user.mjs +1 -1
- package/esm2020/user-manage/src/classes/table-data.mjs +1 -1
- package/esm2020/user-manage/src/classes/translation-pattern.mjs +1 -1
- package/esm2020/user-manage/src/classes/user-list.mjs +1 -1
- package/esm2020/user-manage/src/common-functions.mjs +1 -1
- package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
- package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +3 -3
- package/esm2020/user-manage/src/environments/environment.mjs +1 -1
- package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +1 -1
- package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
- package/esm2020/user-manage/src/material.module.mjs +1 -1
- package/esm2020/user-manage/src/notifications/notification.component.mjs +3 -3
- package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/user-manage/src/services/api.service.mjs +1 -1
- package/esm2020/user-manage/src/services/dcp-api.service.mjs +1 -1
- package/esm2020/user-manage/src/services/dns.service.mjs +1 -1
- package/esm2020/user-manage/src/services/line.service.mjs +1 -1
- package/esm2020/user-manage/src/services/notification.service.mjs +1 -1
- package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/user-manage/src/services/site-settings.service.mjs +1 -1
- package/esm2020/user-manage/src/services/sorting-utils.service.mjs +1 -1
- package/esm2020/user-manage/src/services/user.service.mjs +1 -1
- package/esm2020/user-manage/src/services/utils.service.mjs +1 -1
- package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +3 -3
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +3 -3
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +2 -2
- package/esm2020/user-manage/src/user-manage.module.mjs +1 -1
- package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +3 -3
- package/esm2020/users-list/public-api.mjs +1 -1
- package/esm2020/users-list/src/app.constants.mjs +1 -1
- package/esm2020/users-list/src/classes/app-location.mjs +1 -1
- package/esm2020/users-list/src/classes/device.mjs +1 -1
- package/esm2020/users-list/src/classes/line.mjs +1 -1
- package/esm2020/users-list/src/classes/move-user.mjs +1 -1
- package/esm2020/users-list/src/classes/notification.mjs +1 -1
- package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
- package/esm2020/users-list/src/classes/table-data.mjs +1 -1
- package/esm2020/users-list/src/classes/user-list.mjs +1 -1
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +3 -3
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +3 -3
- package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +3 -3
- package/esm2020/users-list/src/services/api-webex.service.mjs +1 -1
- package/esm2020/users-list/src/services/api.service.mjs +1 -1
- package/esm2020/users-list/src/services/dns.service.mjs +1 -1
- package/esm2020/users-list/src/services/events-communication.service.mjs +1 -1
- package/esm2020/users-list/src/services/notification.service.mjs +1 -1
- package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +1 -1
- package/esm2020/users-list/src/services/site-settings.service.mjs +1 -1
- package/esm2020/users-list/src/services/user.service.mjs +1 -1
- package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +3 -3
- package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/users-list/src/utils/common-functions.mjs +1 -1
- package/esm2020/users-list/src/utils/notifications/notification.component.mjs +3 -3
- package/esm2020/users-list/src/utils/utils.service.mjs +1 -1
- package/esm2020/workspaces/public-api.mjs +1 -1
- package/esm2020/workspaces/src/app.constants.mjs +1 -1
- package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +17 -4
- package/esm2020/workspaces/src/components/workspace-device-detail/workspace-device-detail.component.mjs +66 -0
- package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +3 -3
- package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +6 -3
- package/esm2020/workspaces/src/material.module.mjs +1 -1
- package/esm2020/workspaces/src/services/api.service.mjs +1 -1
- package/esm2020/workspaces/src/services/workspace-detail.service.mjs +43 -1
- package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +1 -1
- package/esm2020/workspaces/src/services/workspaces.service.mjs +2 -1
- package/esm2020/workspaces/src/types/workspace.mjs +1 -1
- package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +3 -3
- package/esm2020/workspaces/src/utils/device-icon.mjs +1 -1
- package/esm2020/workspaces/src/workspaces.component.mjs +8 -8
- package/esm2020/workspaces/src/workspaces.module.mjs +4 -1
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +999 -128
- package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +20 -20
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-locations.mjs +51 -18
- package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +8 -8
- package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +6 -6
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +1029 -51
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +18 -18
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +12 -12
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +151 -25
- package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets.mjs +8 -8
- package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +990 -128
- package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +20 -20
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-locations.mjs +50 -18
- package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +8 -8
- package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +6 -6
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +1012 -50
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +18 -18
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +12 -12
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +142 -25
- package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets.mjs +8 -8
- package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
- package/locations/src/locations.component.d.ts +7 -4
- package/locations/src/services/locations.service.d.ts +1 -0
- package/locations/src/types/location.d.ts +1 -0
- package/package.json +1 -1
- package/user-device-manage/public-api.d.ts +3 -0
- package/user-device-manage/src/app.constants.d.ts +6 -0
- package/user-device-manage/src/associate-lines/associate-lines.component.d.ts +95 -0
- package/user-device-manage/src/classes/device.d.ts +15 -0
- package/user-device-manage/src/classes/deviceProfile.d.ts +5 -0
- package/user-device-manage/src/device-associated-line/device-associated-line.component.d.ts +1 -0
- package/user-device-manage/src/device-manage-widget.component.d.ts +6 -1
- package/user-device-manage/src/device-settings/device-settings.component.d.ts +53 -0
- package/user-device-manage/src/line-key-config/line-key-config.component.d.ts +84 -0
- package/user-device-manage/src/services/device.service.d.ts +6 -1
- package/user-device-manage/src/services/user.service.d.ts +2 -1
- package/user-device-manage/src/user-device-manage.module.d.ts +10 -7
- package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +6 -1
- package/workspaces/src/components/workspace-device-detail/workspace-device-detail.component.d.ts +25 -0
- package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +1 -0
- package/workspaces/src/services/workspace-detail.service.d.ts +2 -0
- package/workspaces/src/types/workspace.d.ts +19 -0
- package/workspaces/src/workspaces.module.d.ts +8 -7
- package/contact-center/cc-readiness/components/card/card.component.d.ts +0 -6
- package/esm2020/contact-center/cc-readiness/components/card/card.component.mjs +0 -13
|
@@ -19,17 +19,17 @@ class WidgetsComponent {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
WidgetsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WidgetsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
WidgetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WidgetsComponent, selector: "lib-widgets", ngImport: i0, template: `
|
|
23
|
-
<p>
|
|
24
|
-
widgets works!
|
|
25
|
-
</p>
|
|
22
|
+
WidgetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WidgetsComponent, selector: "lib-widgets", ngImport: i0, template: `
|
|
23
|
+
<p>
|
|
24
|
+
widgets works!
|
|
25
|
+
</p>
|
|
26
26
|
`, isInline: true });
|
|
27
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WidgetsComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
|
-
args: [{ selector: 'lib-widgets', template: `
|
|
30
|
-
<p>
|
|
31
|
-
widgets works!
|
|
32
|
-
</p>
|
|
29
|
+
args: [{ selector: 'lib-widgets', template: `
|
|
30
|
+
<p>
|
|
31
|
+
widgets works!
|
|
32
|
+
</p>
|
|
33
33
|
` }]
|
|
34
34
|
}], ctorParameters: function () { return []; } });
|
|
35
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuki-io-tuki-widgets.mjs","sources":["../../../../projects/tuki/widgets/src/lib/widgets.service.ts","../../../../projects/tuki/widgets/src/lib/widgets.component.ts","../../../../projects/tuki/widgets/src/lib/widgets.module.ts","../../../../projects/tuki/widgets/src/public-api.ts","../../../../projects/tuki/widgets/src/tuki-io-tuki-widgets.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class WidgetsService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-widgets',\n template: `\n <p>\n widgets works!\n </p>\n `,\n styles: [\n ]\n})\nexport class WidgetsComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { WidgetsComponent } from './widgets.component';\n\n\n\n@NgModule({\n declarations: [\n WidgetsComponent\n ],\n imports: [\n ],\n exports: [\n WidgetsComponent\n ]\n})\nexport class WidgetsModule { }\n","/*\n * Public API Surface of widgets\n */\n\nexport * from './lib/widgets.service';\nexport * from './lib/widgets.component';\nexport * from './lib/widgets.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;;4GAFN,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCQY,gBAAgB,CAAA;AAE3B,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;8GALU,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EARjB,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;4FAIU,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EACb,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,CAAA;;;MCOU,aAAa,CAAA;;2GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4GAAb,aAAa,EAAA,YAAA,EAAA,CARtB,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAKhB,gBAAgB,CAAA,EAAA,CAAA,CAAA;4GAGP,aAAa,EAAA,CAAA,CAAA;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,gBAAgB;AACjB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,gBAAgB;AACjB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"tuki-io-tuki-widgets.mjs","sources":["../../../../projects/tuki/widgets/src/lib/widgets.service.ts","../../../../projects/tuki/widgets/src/lib/widgets.component.ts","../../../../projects/tuki/widgets/src/lib/widgets.module.ts","../../../../projects/tuki/widgets/src/public-api.ts","../../../../projects/tuki/widgets/src/tuki-io-tuki-widgets.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WidgetsService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-widgets',\r\n template: `\r\n <p>\r\n widgets works!\r\n </p>\r\n `,\r\n styles: [\r\n ]\r\n})\r\nexport class WidgetsComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { WidgetsComponent } from './widgets.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n WidgetsComponent\r\n ],\r\n imports: [\r\n ],\r\n exports: [\r\n WidgetsComponent\r\n ]\r\n})\r\nexport class WidgetsModule { }\r\n","/*\r\n * Public API Surface of widgets\r\n */\r\n\r\nexport * from './lib/widgets.service';\r\nexport * from './lib/widgets.component';\r\nexport * from './lib/widgets.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;;4GAFN,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCQY,gBAAgB,CAAA;AAE3B,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;8GALU,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EARjB,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;4FAIU,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EACb,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,CAAA;;;MCOU,aAAa,CAAA;;2GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4GAAb,aAAa,EAAA,YAAA,EAAA,CARtB,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAKhB,gBAAgB,CAAA,EAAA,CAAA,CAAA;4GAGP,aAAa,EAAA,CAAA,CAAA;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,gBAAgB;AACjB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,gBAAgB;AACjB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -5,7 +5,6 @@ import { LocationsService } from './services/locations.service';
|
|
|
5
5
|
import { SiteLocation } from './types/location';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
type LocationsSortDirection = 'asc' | 'desc';
|
|
8
|
-
type MappedFilterValue = '' | 'mapped' | 'unmapped';
|
|
9
8
|
export declare class LocationsComponent implements OnInit, OnDestroy {
|
|
10
9
|
private apiService;
|
|
11
10
|
private locationsService;
|
|
@@ -30,11 +29,11 @@ export declare class LocationsComponent implements OnInit, OnDestroy {
|
|
|
30
29
|
filters: {
|
|
31
30
|
country: string;
|
|
32
31
|
pendingActions: string;
|
|
33
|
-
|
|
32
|
+
status: string;
|
|
34
33
|
};
|
|
35
34
|
private readonly countryDisplayNames;
|
|
36
35
|
private readonly migrationIntervals;
|
|
37
|
-
private
|
|
36
|
+
private batchInfoBySiteId;
|
|
38
37
|
constructor(apiService: APIService, locationsService: LocationsService, dialog: MatDialog);
|
|
39
38
|
ngOnInit(): void;
|
|
40
39
|
ngOnDestroy(): void;
|
|
@@ -44,6 +43,7 @@ export declare class LocationsComponent implements OnInit, OnDestroy {
|
|
|
44
43
|
get pendingLocations(): SiteLocation[];
|
|
45
44
|
get showPendingBanner(): boolean;
|
|
46
45
|
get countries(): string[];
|
|
46
|
+
get statuses(): string[];
|
|
47
47
|
get filteredRows(): SiteLocation[];
|
|
48
48
|
get pagedRows(): SiteLocation[];
|
|
49
49
|
get totalElements(): number;
|
|
@@ -51,7 +51,10 @@ export declare class LocationsComponent implements OnInit, OnDestroy {
|
|
|
51
51
|
get hasPreviousPage(): boolean;
|
|
52
52
|
get hasNextPage(): boolean;
|
|
53
53
|
rowName(row: SiteLocation): string;
|
|
54
|
-
|
|
54
|
+
private batchStatusCategory;
|
|
55
|
+
isSuccessStatus(row: SiteLocation): boolean;
|
|
56
|
+
isInProgressStatus(row: SiteLocation): boolean;
|
|
57
|
+
isFailedStatus(row: SiteLocation): boolean;
|
|
55
58
|
addressLine(row: SiteLocation): string;
|
|
56
59
|
countryLabel(row: SiteLocation): string;
|
|
57
60
|
private readonly provisioningTypeIcons;
|
package/package.json
CHANGED
|
@@ -6,3 +6,6 @@ export * from "./src/services/device.service";
|
|
|
6
6
|
export * from "./src/services/line.service";
|
|
7
7
|
export * from "./src/user-device-manage.module";
|
|
8
8
|
export * from "./src/device-manage-widget.component";
|
|
9
|
+
export * from "./src/device-settings/device-settings.component";
|
|
10
|
+
export * from "./src/line-key-config/line-key-config.component";
|
|
11
|
+
export * from "./src/associate-lines/associate-lines.component";
|
|
@@ -27,6 +27,11 @@ export declare const API: {
|
|
|
27
27
|
WEBEX_USER_TOKEN: string;
|
|
28
28
|
WEBEX_USER_DEVICES: string;
|
|
29
29
|
TRANSLATION_PATTERN_CUCM: string;
|
|
30
|
+
DEVICE_EXTRA_OPTIONS: string;
|
|
31
|
+
DEVICE_DEFAULTS: string;
|
|
32
|
+
ALL_SITE_DIRECTORY_NUMBERS: string;
|
|
33
|
+
UPDATE_DEVICE_SPEED_DIAL_LINES: string;
|
|
34
|
+
UPDATE_DEVICE_BLF_SPEED_DIAL_LINES: string;
|
|
30
35
|
};
|
|
31
36
|
export declare const REGEX_PATTERN: {
|
|
32
37
|
EMAIL: string;
|
|
@@ -59,6 +64,7 @@ export declare const STATIC_OPTIONS: {
|
|
|
59
64
|
SERVICE_PROVISIONING: string[];
|
|
60
65
|
SETTINGS_ACCES: string[];
|
|
61
66
|
VISUAL_MWI: string[];
|
|
67
|
+
AUDIBLE_MWI: string[];
|
|
62
68
|
WEEKDAYS: string[];
|
|
63
69
|
BUILD_BRIDGE: string[];
|
|
64
70
|
TRANSFER_TYPES: string[];
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
4
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
5
|
+
import { UserService } from '../services/user.service';
|
|
6
|
+
import { APIService } from '../services/api.service';
|
|
7
|
+
import { SiteSettingsService } from '../services/site-settings.service';
|
|
8
|
+
import { DeviceService } from '../services/device.service';
|
|
9
|
+
import { LineService } from '../services/line.service';
|
|
10
|
+
import { RecordingOptions } from '../classes/device';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export interface AssociatedLineRow {
|
|
13
|
+
id: number;
|
|
14
|
+
pkid: string;
|
|
15
|
+
extension: string;
|
|
16
|
+
routePartitionName: string;
|
|
17
|
+
order: number;
|
|
18
|
+
lineNumber: string;
|
|
19
|
+
displayCallerId: string;
|
|
20
|
+
textLabel: string;
|
|
21
|
+
e164Mask: string;
|
|
22
|
+
maxNumberOfCalls: number;
|
|
23
|
+
busyTrigger: number;
|
|
24
|
+
recordingOption: RecordingOptions;
|
|
25
|
+
recordingMediaSource: string;
|
|
26
|
+
recordingProfile: string;
|
|
27
|
+
visualMWI: string;
|
|
28
|
+
ringSettingIdle: string;
|
|
29
|
+
pickupAASIdle: string;
|
|
30
|
+
monitorCSS: string;
|
|
31
|
+
audibleMWI: string;
|
|
32
|
+
ringSettingActive: string;
|
|
33
|
+
pickupAASActive: string;
|
|
34
|
+
logMissedCalls: boolean;
|
|
35
|
+
callerName: boolean;
|
|
36
|
+
redirectedNumber: boolean;
|
|
37
|
+
callerNumber: boolean;
|
|
38
|
+
dialedNumber: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare class AssociateLinesComponent implements OnInit, OnDestroy {
|
|
41
|
+
userService: UserService;
|
|
42
|
+
private apiService;
|
|
43
|
+
private readonly siteSettingsService;
|
|
44
|
+
private readonly deviceService;
|
|
45
|
+
private readonly lineService;
|
|
46
|
+
private readonly dialog;
|
|
47
|
+
private readonly router;
|
|
48
|
+
goBack: EventEmitter<any>;
|
|
49
|
+
token: string;
|
|
50
|
+
host: string;
|
|
51
|
+
siteId: string;
|
|
52
|
+
userId: string;
|
|
53
|
+
deviceName: string;
|
|
54
|
+
private readonly destroy$;
|
|
55
|
+
dataPending: boolean;
|
|
56
|
+
device: any;
|
|
57
|
+
hasChanges: boolean;
|
|
58
|
+
expandedOrder: number | null;
|
|
59
|
+
readonly recordingOptions: typeof RecordingOptions;
|
|
60
|
+
readonly recordingMediaSources: string[];
|
|
61
|
+
recordingProfiles: string[];
|
|
62
|
+
readonly visualMwiOptions: string[];
|
|
63
|
+
readonly audibleMwiOptions: string[];
|
|
64
|
+
readonly ringSettingIdleOptions: string[];
|
|
65
|
+
readonly ringSettingActiveOptions: string[];
|
|
66
|
+
readonly pickupAasIdleOptions: string[];
|
|
67
|
+
readonly pickupAasActiveOptions: string[];
|
|
68
|
+
rows: AssociatedLineRow[];
|
|
69
|
+
private originRows;
|
|
70
|
+
private static readonly FIELD_MAP;
|
|
71
|
+
private static readonly BOOLEAN_FIELDS;
|
|
72
|
+
constructor(userService: UserService, apiService: APIService, siteSettingsService: SiteSettingsService, deviceService: DeviceService, lineService: LineService, dialog: MatDialog, router: Router);
|
|
73
|
+
ngOnInit(): void;
|
|
74
|
+
private loadDevice;
|
|
75
|
+
private fetchLineSlots;
|
|
76
|
+
private loadRecordingProfiles;
|
|
77
|
+
private initRows;
|
|
78
|
+
private createRow;
|
|
79
|
+
isRowEditable(row: AssociatedLineRow): boolean;
|
|
80
|
+
toggleExpanded(row: AssociatedLineRow): void;
|
|
81
|
+
isExpanded(row: AssociatedLineRow): boolean;
|
|
82
|
+
onFieldChange(): void;
|
|
83
|
+
recordingOptionChanged(row: AssociatedLineRow): void;
|
|
84
|
+
isRecordingProfileDisabled(row: AssociatedLineRow): boolean;
|
|
85
|
+
drop(event: CdkDragDrop<AssociatedLineRow[]>): void;
|
|
86
|
+
confirmDisassociate(row: AssociatedLineRow): void;
|
|
87
|
+
private disassociateLine;
|
|
88
|
+
onGoBack(): void;
|
|
89
|
+
onCancel(): void;
|
|
90
|
+
onSave(): void;
|
|
91
|
+
private buildUpdateBody;
|
|
92
|
+
ngOnDestroy(): void;
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssociateLinesComponent, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssociateLinesComponent, "app-associate-lines", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; }, { "goBack": "goBack"; }, never, never, false, never>;
|
|
95
|
+
}
|
|
@@ -93,6 +93,21 @@ export interface SpeedDialInterface {
|
|
|
93
93
|
label: string;
|
|
94
94
|
editMode?: boolean;
|
|
95
95
|
}
|
|
96
|
+
export interface SpeedDialLineUpdate {
|
|
97
|
+
index: number;
|
|
98
|
+
position: number;
|
|
99
|
+
label: string;
|
|
100
|
+
destination: string;
|
|
101
|
+
}
|
|
102
|
+
export interface BlfSpeedDialLineUpdate {
|
|
103
|
+
index: number;
|
|
104
|
+
position: number;
|
|
105
|
+
label: string;
|
|
106
|
+
destination: string;
|
|
107
|
+
dnWithRoutePartition: string;
|
|
108
|
+
callPickup: boolean;
|
|
109
|
+
list?: string[];
|
|
110
|
+
}
|
|
96
111
|
export declare enum RecordingOptions {
|
|
97
112
|
disabled = "Call Recording Disabled",
|
|
98
113
|
auto_enabled = "Automatic Call Recording Enabled",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FormGroup } from "@angular/forms";
|
|
2
2
|
import { LineAssociationInterface } from "./line-association-interface";
|
|
3
|
+
import { LineCallInfoDisplayInterface } from "./device";
|
|
3
4
|
export declare class DeviceProfile {
|
|
4
5
|
macAddress?: string;
|
|
5
6
|
hoteling?: {
|
|
@@ -18,8 +19,12 @@ export declare class DeviceProfile {
|
|
|
18
19
|
index?: number;
|
|
19
20
|
position?: number;
|
|
20
21
|
textLabel?: string;
|
|
22
|
+
displayLabel?: string;
|
|
23
|
+
e164Mask?: string;
|
|
21
24
|
alertingName?: string;
|
|
22
25
|
callerNumber?: string;
|
|
26
|
+
logMissedCall?: string;
|
|
27
|
+
callInfoDisplay?: LineCallInfoDisplayInterface;
|
|
23
28
|
}>;
|
|
24
29
|
activationState?: boolean;
|
|
25
30
|
model?: string;
|
|
@@ -50,6 +50,7 @@ export declare class DeviceAssociatedLineComponent implements OnInit, OnDestroy
|
|
|
50
50
|
SERVICE_PROVISIONING: string[];
|
|
51
51
|
SETTINGS_ACCES: string[];
|
|
52
52
|
VISUAL_MWI: string[];
|
|
53
|
+
AUDIBLE_MWI: string[];
|
|
53
54
|
WEEKDAYS: string[];
|
|
54
55
|
BUILD_BRIDGE: string[];
|
|
55
56
|
TRANSFER_TYPES: string[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormArray, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
3
4
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
5
|
import { UserService } from './services/user.service';
|
|
5
6
|
import { DeviceService } from './services/device.service';
|
|
@@ -18,6 +19,7 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
|
|
|
18
19
|
private validationService;
|
|
19
20
|
private dialog;
|
|
20
21
|
private readonly dnsService;
|
|
22
|
+
private readonly router;
|
|
21
23
|
onSave: EventEmitter<string>;
|
|
22
24
|
onChange: EventEmitter<string>;
|
|
23
25
|
discardChanges: EventEmitter<any>;
|
|
@@ -43,7 +45,7 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
|
|
|
43
45
|
get lastName(): string;
|
|
44
46
|
get form(): FormGroup | undefined;
|
|
45
47
|
get isWebex(): boolean | "" | null;
|
|
46
|
-
constructor(userService: UserService, deviceService: DeviceService, apiService: APIService, lineService: LineService, siteSettingsService: SiteSettingsService, validationService: ValidationService, dialog: MatDialog, dnsService: DnsService);
|
|
48
|
+
constructor(userService: UserService, deviceService: DeviceService, apiService: APIService, lineService: LineService, siteSettingsService: SiteSettingsService, validationService: ValidationService, dialog: MatDialog, dnsService: DnsService, router: Router);
|
|
47
49
|
ngOnInit(): void;
|
|
48
50
|
showInput(): void;
|
|
49
51
|
onBlur(): void;
|
|
@@ -57,6 +59,9 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
|
|
|
57
59
|
saveChanges(): void;
|
|
58
60
|
ngOnDestroy(): void;
|
|
59
61
|
onGoBack(): void;
|
|
62
|
+
openDeviceSettings(): void;
|
|
63
|
+
openLineKeyConfig(): void;
|
|
64
|
+
openAssociateLines(): void;
|
|
60
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeviceManageWidgetComponent, never>;
|
|
61
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<DeviceManageWidgetComponent, "app-device-manage-widget", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "isLdap": "isLdap"; "deviceName": "deviceName"; }, { "onSave": "onSave"; "onChange": "onChange"; "discardChanges": "discardChanges"; "goBack": "goBack"; }, never, never, false, never>;
|
|
62
67
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { UserService } from '../services/user.service';
|
|
5
|
+
import { APIService } from '../services/api.service';
|
|
6
|
+
import { DeviceService } from '../services/device.service';
|
|
7
|
+
import { SiteSettingsService } from '../services/site-settings.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class DeviceSettingsComponent implements OnInit, OnDestroy {
|
|
10
|
+
userService: UserService;
|
|
11
|
+
private apiService;
|
|
12
|
+
private deviceService;
|
|
13
|
+
private siteSettingsService;
|
|
14
|
+
private readonly router;
|
|
15
|
+
goBack: EventEmitter<any>;
|
|
16
|
+
token: string;
|
|
17
|
+
host: string;
|
|
18
|
+
siteId: string;
|
|
19
|
+
userId: string;
|
|
20
|
+
deviceName: string;
|
|
21
|
+
private readonly destroy$;
|
|
22
|
+
dataPending: boolean;
|
|
23
|
+
device: any;
|
|
24
|
+
softKeys: string[];
|
|
25
|
+
readonly plarService: FormControl<boolean | null>;
|
|
26
|
+
readonly description: FormControl<string | null>;
|
|
27
|
+
readonly softkeyTemplate: FormControl<string | null>;
|
|
28
|
+
readonly devicePool: FormControl<string | null>;
|
|
29
|
+
readonly deviceCss: FormControl<string | null>;
|
|
30
|
+
readonly enableExtensionMobility: FormControl<boolean | null>;
|
|
31
|
+
readonly loggedIntoHuntGroup: FormControl<boolean | null>;
|
|
32
|
+
readonly remoteDevice: FormControl<boolean | null>;
|
|
33
|
+
readonly ignorePresentationIndicators: FormControl<boolean | null>;
|
|
34
|
+
readonly hotlineDevice: FormControl<boolean | null>;
|
|
35
|
+
readonly callerIdForCallsFromThisPhone: FormControl<boolean | null>;
|
|
36
|
+
readonly remoteNumber: FormControl<boolean | null>;
|
|
37
|
+
private readonly formControls;
|
|
38
|
+
hasChanges: boolean;
|
|
39
|
+
get lines(): string;
|
|
40
|
+
get devicePools(): string[];
|
|
41
|
+
get cssOptions(): string[];
|
|
42
|
+
constructor(userService: UserService, apiService: APIService, deviceService: DeviceService, siteSettingsService: SiteSettingsService, router: Router);
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
private getData;
|
|
45
|
+
private getSiteSettings;
|
|
46
|
+
onGoBack(): void;
|
|
47
|
+
onCancel(): void;
|
|
48
|
+
onSave(): void;
|
|
49
|
+
private getChangedDeviceFields;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeviceSettingsComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeviceSettingsComponent, "app-device-settings", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; }, { "goBack": "goBack"; }, never, never, false, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
5
|
+
import { UserService } from '../services/user.service';
|
|
6
|
+
import { APIService } from '../services/api.service';
|
|
7
|
+
import { DeviceService } from '../services/device.service';
|
|
8
|
+
import { Buttontemplate } from '../classes/device';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export type LineKeyAssignment = 'primary' | 'open' | 'monitored' | 'speedDial';
|
|
11
|
+
export interface LineKeyRow {
|
|
12
|
+
order: number;
|
|
13
|
+
assignment: LineKeyAssignment;
|
|
14
|
+
label: string;
|
|
15
|
+
destination: string;
|
|
16
|
+
locked: boolean;
|
|
17
|
+
index?: number;
|
|
18
|
+
callPickup?: boolean;
|
|
19
|
+
dnWithRoutePartition?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class LineKeyConfigComponent implements OnInit, OnChanges, OnDestroy {
|
|
22
|
+
userService: UserService;
|
|
23
|
+
private apiService;
|
|
24
|
+
private readonly deviceService;
|
|
25
|
+
private readonly router;
|
|
26
|
+
goBack: EventEmitter<any>;
|
|
27
|
+
token: string;
|
|
28
|
+
host: string;
|
|
29
|
+
siteId: string;
|
|
30
|
+
userId: string;
|
|
31
|
+
deviceType: string;
|
|
32
|
+
buttonTemplate: string;
|
|
33
|
+
private readonly destroy$;
|
|
34
|
+
dataPending: boolean;
|
|
35
|
+
device: any;
|
|
36
|
+
hasChanges: boolean;
|
|
37
|
+
lineSlots: Buttontemplate | null;
|
|
38
|
+
readonly LINE_KEY_COUNT = 10;
|
|
39
|
+
readonly HALF: number;
|
|
40
|
+
readonly ASSIGNMENT_OPTIONS: Array<{
|
|
41
|
+
value: LineKeyAssignment;
|
|
42
|
+
label: string;
|
|
43
|
+
}>;
|
|
44
|
+
lineKeyTemplates: [];
|
|
45
|
+
readonly selectedTemplate: FormControl<string | null>;
|
|
46
|
+
readonly previewLayout: FormControl<boolean | null>;
|
|
47
|
+
leftKeys: LineKeyRow[];
|
|
48
|
+
rightKeys: LineKeyRow[];
|
|
49
|
+
private initialButtonTemplate;
|
|
50
|
+
private initialSpeedDialLines;
|
|
51
|
+
private initialBlfLines;
|
|
52
|
+
get deviceModel(): string;
|
|
53
|
+
constructor(userService: UserService, apiService: APIService, deviceService: DeviceService, router: Router);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
56
|
+
private resetForNewButtonTemplate;
|
|
57
|
+
private fetchSiteDirectoryNumbers;
|
|
58
|
+
private loadDevice;
|
|
59
|
+
private fetchButtonTemplateSlots;
|
|
60
|
+
private getRowsByAssignment;
|
|
61
|
+
private getTemplateSlots;
|
|
62
|
+
private computeTypeIndex;
|
|
63
|
+
private captureSpeedDialBaseline;
|
|
64
|
+
private getSpeedDialLinesPayload;
|
|
65
|
+
private captureBlfBaseline;
|
|
66
|
+
private toBlfLine;
|
|
67
|
+
private getBlfLinesPayload;
|
|
68
|
+
private applyButtonTemplateSlots;
|
|
69
|
+
private applyDialAssignments;
|
|
70
|
+
private applyDialItem;
|
|
71
|
+
applyTemplate(): void;
|
|
72
|
+
onFieldChange(): void;
|
|
73
|
+
onAssignmentChange(row: LineKeyRow): void;
|
|
74
|
+
private relocateRowForAssignment;
|
|
75
|
+
private readonly SEGREGATED_ASSIGNMENTS;
|
|
76
|
+
private isConflictingAssignment;
|
|
77
|
+
onDrop(event: CdkDragDrop<LineKeyRow[]>): void;
|
|
78
|
+
onGoBack(): void;
|
|
79
|
+
onCancel(): void;
|
|
80
|
+
onSave(): void;
|
|
81
|
+
ngOnDestroy(): void;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineKeyConfigComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LineKeyConfigComponent, "app-line-key-config", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceType": "deviceType"; "buttonTemplate": "buttonTemplate"; }, { "goBack": "goBack"; }, never, never, false, never>;
|
|
84
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIService } from './api.service';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { Buttontemplate, Device } from '../classes/device';
|
|
3
|
+
import { BlfSpeedDialLineUpdate, Buttontemplate, Device, SpeedDialLineUpdate } from '../classes/device';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DeviceService {
|
|
6
6
|
private apiService;
|
|
@@ -8,13 +8,18 @@ export declare class DeviceService {
|
|
|
8
8
|
lineSlotsList: any;
|
|
9
9
|
availableLineSlotsList: any;
|
|
10
10
|
dataPending: boolean;
|
|
11
|
+
siteDirectoryNumbers: string[];
|
|
11
12
|
constructor(apiService: APIService);
|
|
12
13
|
hasUnsavedChanges(device: Device, originDevice: Device): boolean;
|
|
13
14
|
hasDeviceInfoUnsavedChanges(device: Device, originDevice: Device): boolean;
|
|
14
15
|
getDataToUpdateDevice(device: Device, originalDevice: Device): any;
|
|
15
16
|
fetchLeanUserDevicesConversationById(userId: string, siteId: number): Observable<any>;
|
|
16
17
|
getSlotsByButtonTemplate(siteId: number, buttonTemplateName: string): Observable<Buttontemplate>;
|
|
18
|
+
getDeviceDefaults(siteId: number, deviceType: string): Observable<any>;
|
|
19
|
+
getAllSiteDirectoryNumbers(siteId: number): Observable<any[]>;
|
|
17
20
|
putDeviceFields(siteId: number, deviceName: string, token: string, body: any): any;
|
|
21
|
+
updateSpeedDialLines(siteId: number, deviceName: string, userToken: string, body: SpeedDialLineUpdate[]): any;
|
|
22
|
+
updateBlfSpeedDialLines(siteId: number, deviceName: string, userToken: string, body: BlfSpeedDialLineUpdate[]): any;
|
|
18
23
|
updateAvailableSlots(siteId: number, device: Device): any;
|
|
19
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeviceService, never>;
|
|
20
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<DeviceService>;
|
|
@@ -38,7 +38,8 @@ export declare class UserService implements OnInit {
|
|
|
38
38
|
resetLineAssociation(deviceIndex: number, lineIndex: number, validationService: ValidationService): void;
|
|
39
39
|
resetDevice(currentDevice: Device, validationService: ValidationService): void;
|
|
40
40
|
fetchUserToken(siteId: number, userId: string, validationService: ValidationService, isSetNewTokenOnly?: boolean): any;
|
|
41
|
-
fetchDIUserDevice(siteId: number, userId: string, deviceType: string): import("rxjs").Observable<DeviceProfile | undefined>;
|
|
41
|
+
fetchDIUserDevice(siteId: number, userId: string, deviceType: string, deviceName?: string): import("rxjs").Observable<DeviceProfile | undefined>;
|
|
42
|
+
getDeviceExtraOptions(siteId: number, deviceName: string, commonPhoneConfigName: string): import("rxjs").Observable<any>;
|
|
42
43
|
private getMacAddress;
|
|
43
44
|
fetchWebexUserDevice(customerId: string, userId: string, deviceType: string): import("rxjs").Observable<DeviceProfile | undefined>;
|
|
44
45
|
updateUserFields(body: any): any;
|
|
@@ -11,14 +11,17 @@ import * as i9 from "./device-associated-line/associated-line-row/associated-lin
|
|
|
11
11
|
import * as i10 from "./confirm-dialog/info-dialog.component";
|
|
12
12
|
import * as i11 from "./device-info/device-info.component";
|
|
13
13
|
import * as i12 from "./pipes/mac-address.pipe";
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "@angular/
|
|
18
|
-
import * as i17 from "@angular/
|
|
19
|
-
import * as i18 from "
|
|
14
|
+
import * as i13 from "./device-settings/device-settings.component";
|
|
15
|
+
import * as i14 from "./line-key-config/line-key-config.component";
|
|
16
|
+
import * as i15 from "./associate-lines/associate-lines.component";
|
|
17
|
+
import * as i16 from "@angular/common";
|
|
18
|
+
import * as i17 from "@angular/platform-browser";
|
|
19
|
+
import * as i18 from "@angular/platform-browser/animations";
|
|
20
|
+
import * as i19 from "@angular/forms";
|
|
21
|
+
import * as i20 from "@angular/common/http";
|
|
22
|
+
import * as i21 from "./material.module";
|
|
20
23
|
export declare class UserDeviceManageModule {
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserDeviceManageModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserDeviceManageModule, [typeof i1.AppLoaderComponent, typeof i2.NotificationsComponent, typeof i3.LazyLoadingSelectComponent, typeof i4.DeviceListComponent, typeof i5.DeviceManageWidgetComponent, typeof i6.DeviceAssociatedLineComponent, typeof i7.DeviceAssociatedLineExtensionComponent, typeof i8.DeviceAssociatedLineDetailsBoxComponent, typeof i9.AssociatedLineRowComponent, typeof i10.InfoDialogComponent, typeof i11.DeviceInfoComponent, typeof i12.MacAddressPipe], [typeof
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserDeviceManageModule, [typeof i1.AppLoaderComponent, typeof i2.NotificationsComponent, typeof i3.LazyLoadingSelectComponent, typeof i4.DeviceListComponent, typeof i5.DeviceManageWidgetComponent, typeof i6.DeviceAssociatedLineComponent, typeof i7.DeviceAssociatedLineExtensionComponent, typeof i8.DeviceAssociatedLineDetailsBoxComponent, typeof i9.AssociatedLineRowComponent, typeof i10.InfoDialogComponent, typeof i11.DeviceInfoComponent, typeof i12.MacAddressPipe, typeof i13.DeviceSettingsComponent, typeof i14.LineKeyConfigComponent, typeof i15.AssociateLinesComponent], [typeof i16.CommonModule, typeof i17.BrowserModule, typeof i18.BrowserAnimationsModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.HttpClientModule, typeof i21.MaterialModule], [typeof i5.DeviceManageWidgetComponent, typeof i13.DeviceSettingsComponent, typeof i14.LineKeyConfigComponent, typeof i15.AssociateLinesComponent]>;
|
|
23
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<UserDeviceManageModule>;
|
|
24
27
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { Workspace, WorkspaceConnectionType, WorkspaceDetails } from '../../types/workspace';
|
|
3
|
+
import { Workspace, WorkspaceConnectionType, WorkspaceDetails, WorkspaceDevice } from '../../types/workspace';
|
|
4
4
|
import { WorkspaceDetailService } from '../../services/workspace-detail.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type WorkspaceDetailTab = 'overview' | 'calling';
|
|
7
|
+
export type WorkspaceDetailView = 'overview' | 'device';
|
|
7
8
|
export declare class WorkspaceDetailComponent implements OnInit {
|
|
8
9
|
private workspaceDetailService;
|
|
9
10
|
private location;
|
|
@@ -12,6 +13,8 @@ export declare class WorkspaceDetailComponent implements OnInit {
|
|
|
12
13
|
customerId: string;
|
|
13
14
|
back: EventEmitter<void>;
|
|
14
15
|
activeTab: WorkspaceDetailTab;
|
|
16
|
+
view: WorkspaceDetailView;
|
|
17
|
+
selectedDevice: WorkspaceDevice | null;
|
|
15
18
|
details: WorkspaceDetails | null;
|
|
16
19
|
isLoading: boolean;
|
|
17
20
|
expandedIssueId: string | null;
|
|
@@ -23,6 +26,8 @@ export declare class WorkspaceDetailComponent implements OnInit {
|
|
|
23
26
|
toggleIssue(issueId: string): void;
|
|
24
27
|
selectTab(tab: WorkspaceDetailTab): void;
|
|
25
28
|
onBack(): void;
|
|
29
|
+
onOpenDevice(device: WorkspaceDevice): void;
|
|
30
|
+
onDeviceBack(): void;
|
|
26
31
|
private updateUrl;
|
|
27
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailComponent, never>;
|
|
28
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDetailComponent, "tk-workspace-detail", never, { "workspace": "workspace"; "connectionType": "connectionType"; "customerId": "customerId"; }, { "back": "back"; }, never, never, false, never>;
|
package/workspaces/src/components/workspace-device-detail/workspace-device-detail.component.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Workspace, WorkspaceDevice, WorkspaceDeviceDetails } from '../../types/workspace';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WorkspaceDeviceDetailComponent {
|
|
5
|
+
workspace: Workspace;
|
|
6
|
+
device: WorkspaceDevice | null;
|
|
7
|
+
details: WorkspaceDeviceDetails | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
back: EventEmitter<void>;
|
|
10
|
+
tags: string[];
|
|
11
|
+
isAddingTag: boolean;
|
|
12
|
+
newTag: string;
|
|
13
|
+
hotelingEnabled: boolean;
|
|
14
|
+
guestHoursLimit: number;
|
|
15
|
+
readonly hotelingTimeHours: number[];
|
|
16
|
+
get deviceLabel(): string;
|
|
17
|
+
get deviceIcon(): string;
|
|
18
|
+
get isRegistered(): boolean;
|
|
19
|
+
onBack(): void;
|
|
20
|
+
showTagInput(): void;
|
|
21
|
+
onTagInputBlur(): void;
|
|
22
|
+
removeTag(index: number): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDeviceDetailComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDeviceDetailComponent, "tk-workspace-device-detail", never, { "workspace": "workspace"; "device": "device"; "details": "details"; "isLoading": "isLoading"; }, { "back": "back"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -32,6 +32,7 @@ export declare class WorkspacesTableComponent {
|
|
|
32
32
|
onAddDevice(workspace: Workspace, event: Event): void;
|
|
33
33
|
onPage(event: PageEvent): void;
|
|
34
34
|
getDeviceIcon(model?: string): string;
|
|
35
|
+
onCopyMac(mac: string): void;
|
|
35
36
|
getDisplayName(workspace: Workspace): string;
|
|
36
37
|
isPending(workspaceId: string): boolean;
|
|
37
38
|
isMoveToMTDisabled(workspace: Workspace): boolean;
|
|
@@ -10,8 +10,10 @@ export declare class WorkspaceDetailService {
|
|
|
10
10
|
getByWorkspace(workspace: Workspace, connectionType: WorkspaceConnectionType, customerId: string | number): Observable<WorkspaceDetails>;
|
|
11
11
|
private getWebexDetails;
|
|
12
12
|
private toWebexDetails;
|
|
13
|
+
private buildWebexDeviceDetails;
|
|
13
14
|
private getCucmDetails;
|
|
14
15
|
private toCucmDetails;
|
|
16
|
+
private buildCucmDeviceDetails;
|
|
15
17
|
private buildUrl;
|
|
16
18
|
private buildIssues;
|
|
17
19
|
private formatTimestamp;
|
|
@@ -113,6 +113,7 @@ export interface WorkspaceDevice {
|
|
|
113
113
|
initials?: string;
|
|
114
114
|
color?: string;
|
|
115
115
|
model?: string;
|
|
116
|
+
mac?: string;
|
|
116
117
|
}
|
|
117
118
|
export interface WorkspacesPage {
|
|
118
119
|
workspaces: Workspace[];
|
|
@@ -163,6 +164,23 @@ export interface WorkspaceCallingDetails {
|
|
|
163
164
|
externalCallerIdName?: string;
|
|
164
165
|
externalCallerIdNumber?: string;
|
|
165
166
|
}
|
|
167
|
+
export interface WorkspaceDeviceLine {
|
|
168
|
+
name: string;
|
|
169
|
+
number: string;
|
|
170
|
+
registered: boolean;
|
|
171
|
+
}
|
|
172
|
+
export interface WorkspaceDeviceDetails {
|
|
173
|
+
model: string;
|
|
174
|
+
registrationStatus: string;
|
|
175
|
+
mac: string;
|
|
176
|
+
lineCount: number | null;
|
|
177
|
+
hostIpAddress: string;
|
|
178
|
+
remoteIpAddress: string;
|
|
179
|
+
managedBy: string;
|
|
180
|
+
softwareChannel: string;
|
|
181
|
+
softwareVersion: string;
|
|
182
|
+
lines: WorkspaceDeviceLine[];
|
|
183
|
+
}
|
|
166
184
|
export interface WorkspaceDetails {
|
|
167
185
|
issues: WorkspaceIssue[];
|
|
168
186
|
location: WorkspaceLocationDetails;
|
|
@@ -171,6 +189,7 @@ export interface WorkspaceDetails {
|
|
|
171
189
|
plannedMaintenanceEnabled: boolean;
|
|
172
190
|
notes: string | null;
|
|
173
191
|
capacity?: number | null;
|
|
192
|
+
device?: WorkspaceDeviceDetails;
|
|
174
193
|
}
|
|
175
194
|
export interface WebexWorkspaceDeviceSummary {
|
|
176
195
|
deviceId: string;
|