@tuki-io/tuki-widgets 0.0.28 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -25
- package/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 +95 -0
- package/esm2020/user-device-manage/src/classes/device.mjs +85 -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-list/device-list.component.mjs +24 -0
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +335 -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/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 +243 -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/user-device-manage.module.mjs +107 -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 +50 -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 +27 -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 +24 -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 +74 -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 +207 -0
- package/esm2020/user-manage/src/services/users-search.service.mjs +49 -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 +78 -0
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +20 -0
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +208 -0
- package/esm2020/user-manage/src/user-manage.module.mjs +99 -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 +50 -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/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 +13 -0
- package/esm2020/users-list/src/material.module.mjs +209 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +95 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +35 -0
- package/esm2020/users-list/src/services/api-webex.service.mjs +17 -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/notification.service.mjs +62 -0
- package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/users-list/src/services/user.service.mjs +150 -0
- package/esm2020/users-list/src/services/users-search.service.mjs +120 -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 +259 -0
- package/esm2020/users-list/src/users-list.module.mjs +80 -0
- package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/users-list/src/utils/common-functions.mjs +19 -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-user-device-manage.mjs +3402 -0
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +2123 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +1523 -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-user-device-manage.mjs +3364 -0
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +2106 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +1512 -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 +51 -40
- package/{projects/tuki/widgets/src/public-api.ts → public-api.d.ts} +3 -7
- package/user-device-manage/index.d.ts +5 -0
- package/{projects/tuki/widgets/user-device-manage/public-api.ts → user-device-manage/public-api.d.ts} +8 -8
- package/user-device-manage/src/app.constants.d.ts +74 -0
- package/user-device-manage/src/classes/device.d.ts +233 -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-list/device-list.component.d.ts +11 -0
- package/user-device-manage/src/device-manage-widget.component.d.ts +71 -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/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 +51 -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/user-device-manage.module.d.ts +22 -0
- package/user-device-manage/src/utils/app-loader/app-loader.d.ts +6 -0
- package/user-manage/index.d.ts +5 -0
- package/{projects/tuki/widgets/user-manage/public-api.ts → user-manage/public-api.d.ts} +6 -6
- package/user-manage/src/app.constants.d.ts +29 -0
- package/user-manage/src/classes/device.d.ts +203 -0
- package/user-manage/src/classes/line-association-interface.d.ts +40 -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 +16 -0
- package/user-manage/src/classes/line.d.ts +140 -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/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 +35 -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 +43 -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 +9 -0
- package/user-manage/src/user-manage-widget.component.d.ts +45 -0
- package/user-manage/src/user-manage.module.d.ts +21 -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/{projects/tuki/widgets/users-list/public-api.ts → users-list/public-api.d.ts} +8 -8
- package/users-list/src/app.constants.d.ts +32 -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/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/material.module.d.ts +31 -0
- package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +25 -0
- package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +16 -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/notification.service.d.ts +18 -0
- package/users-list/src/services/removeKynFromIBM.service.d.ts +8 -0
- package/users-list/src/services/user.service.d.ts +34 -0
- package/users-list/src/services/users-search.service.d.ts +34 -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 +59 -0
- package/users-list/src/users-list.module.d.ts +16 -0
- package/users-list/src/utils/app-loader/app-loader.d.ts +6 -0
- package/users-list/src/utils/common-functions.d.ts +1 -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/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -41
- package/projects/tuki/widgets/README.md +0 -24
- package/projects/tuki/widgets/karma.conf.js +0 -44
- package/projects/tuki/widgets/ng-package.json +0 -7
- package/projects/tuki/widgets/package.json +0 -13
- package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +0 -23
- package/projects/tuki/widgets/src/lib/widgets.component.ts +0 -20
- package/projects/tuki/widgets/src/lib/widgets.module.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.ts +0 -9
- package/projects/tuki/widgets/src/test.ts +0 -27
- package/projects/tuki/widgets/tsconfig.lib.json +0 -36
- package/projects/tuki/widgets/tsconfig.lib.prod.json +0 -10
- package/projects/tuki/widgets/tsconfig.spec.json +0 -17
- package/projects/tuki/widgets/user-device-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +0 -96
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +0 -292
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +0 -177
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +0 -41
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +0 -40
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +0 -169
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +0 -167
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +0 -19
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +0 -14
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +0 -79
- 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.css +0 -97
- 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.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.css +0 -20
- 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.ts +0 -13
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +0 -4
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +0 -241
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +0 -500
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +0 -194
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +0 -27
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +0 -131
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +0 -209
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +0 -502
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +0 -354
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
- package/projects/tuki/widgets/user-device-manage/src/material.module.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +0 -17
- package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +0 -95
- package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +0 -111
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +0 -89
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +0 -82
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +0 -283
- package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +0 -829
- package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +0 -231
- package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +0 -32
- package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +0 -110
- package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +0 -73
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +0 -50
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +0 -232
- package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +0 -43
- package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +0 -161
- package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-manage/src/classes/notification.ts +0 -39
- package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +0 -165
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +0 -49
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +0 -27
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +0 -131
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
- package/projects/tuki/widgets/user-manage/src/material.module.ts +0 -85
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +0 -116
- package/projects/tuki/widgets/user-manage/src/services/line.service.ts +0 -31
- package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-manage/src/services/user.service.ts +0 -242
- package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +0 -58
- package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +0 -71
- package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/user-manage/src/styles/form.scss +0 -231
- package/projects/tuki/widgets/user-manage/src/styles/icons.scss +0 -32
- package/projects/tuki/widgets/user-manage/src/styles/styles.scss +0 -110
- package/projects/tuki/widgets/user-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +0 -10
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +0 -429
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +0 -32
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +0 -444
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +0 -89
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +0 -29
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +0 -64
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +0 -19
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +0 -292
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +0 -463
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +0 -212
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +0 -63
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/ng-package.json +0 -6
- package/projects/tuki/widgets/users-list/src/app.constants.ts +0 -50
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +0 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/users-list/src/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/notification.ts +0 -38
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +0 -74
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +0 -47
- package/projects/tuki/widgets/users-list/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/users-list/src/material.module.ts +0 -94
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.css +0 -183
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +0 -93
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +0 -95
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.css +0 -38
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +0 -11
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +0 -34
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +0 -13
- 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/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/user.service.ts +0 -168
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +0 -135
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +0 -14
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +0 -79
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +0 -35
- package/projects/tuki/widgets/users-list/src/users-list.component.css +0 -4
- package/projects/tuki/widgets/users-list/src/users-list.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/users-list.component.html +0 -86
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +0 -572
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +0 -283
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +0 -51
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css +0 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +0 -16
- 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/tsconfig.json +0 -46
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
.line-item{
|
|
2
|
-
position: relative;
|
|
3
|
-
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
|
|
8
|
-
background-color: white;
|
|
9
|
-
|
|
10
|
-
border-radius: 0.5rem;
|
|
11
|
-
border: 1px solid #cfcfcf;
|
|
12
|
-
|
|
13
|
-
padding: 1rem;
|
|
14
|
-
margin: 1rem 0 0 0;
|
|
15
|
-
|
|
16
|
-
z-index: 10;
|
|
17
|
-
}
|
|
18
|
-
.line-informations, .line-actions {
|
|
19
|
-
display: inherit;
|
|
20
|
-
align-items: inherit;
|
|
21
|
-
|
|
22
|
-
gap: 0.5rem;
|
|
23
|
-
padding: 0 0.5rem;
|
|
24
|
-
}
|
|
25
|
-
.line-actions {
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
}
|
|
28
|
-
.line-drag, .line-toggle-details, .line-delete {
|
|
29
|
-
display: inherit;
|
|
30
|
-
align-items: inherit;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
|
|
33
|
-
font-size: 1rem;
|
|
34
|
-
|
|
35
|
-
color: rgb(150, 150, 150);
|
|
36
|
-
|
|
37
|
-
width: 36px;
|
|
38
|
-
height: 36px;
|
|
39
|
-
|
|
40
|
-
border-radius: 50%;
|
|
41
|
-
|
|
42
|
-
transition: all 0.25s ease-out;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
.line-delete :hover {
|
|
46
|
-
|
|
47
|
-
color: red !important;
|
|
48
|
-
}
|
|
49
|
-
.line-drag {
|
|
50
|
-
cursor: grab
|
|
51
|
-
}
|
|
52
|
-
.line-label {
|
|
53
|
-
margin-right: 2.5rem;
|
|
54
|
-
}
|
|
55
|
-
.flex-box {
|
|
56
|
-
display: flex;
|
|
57
|
-
justify-content: flex-start;
|
|
58
|
-
}
|
|
59
|
-
.app-icon {
|
|
60
|
-
height: 20px;
|
|
61
|
-
width: 20px;
|
|
62
|
-
display: inline-block;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
background-repeat: no-repeat;
|
|
65
|
-
background-position: center;
|
|
66
|
-
}
|
|
67
|
-
.app-icon {
|
|
68
|
-
transition: all 0.15s ease-out
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.toggled {
|
|
72
|
-
transform: rotate(-90deg);
|
|
73
|
-
}
|
|
74
|
-
.line-dn-box {
|
|
75
|
-
line-height: 20px;
|
|
76
|
-
}
|
|
77
|
-
.icon-dragger-vertical {
|
|
78
|
-
background-image: url('../../assets/icons/dragger-vertical-icon.svg');
|
|
79
|
-
idth: 1px;
|
|
80
|
-
margin: 0 10px 0 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.icon-delete {
|
|
84
|
-
background-image: url('../../assets/icons/delete_icon.svg');
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.icon-arrow-right {
|
|
88
|
-
background-image: url('../../assets/icons/arrow-right.svg');
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.icon-vertical-divider {
|
|
92
|
-
background-image: url('../../assets/icons/vartical_divider_icon.svg');
|
|
93
|
-
height: 20px;
|
|
94
|
-
}
|
|
95
|
-
.line-item:hover {
|
|
96
|
-
background-color: rgba(214, 214, 214, 0.5);
|
|
97
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<div class="line-item">
|
|
2
|
-
<div class="line-informations">
|
|
3
|
-
<div class="line-drag">
|
|
4
|
-
<i class="app-icon icon-dragger-vertical"></i>
|
|
5
|
-
</div>
|
|
6
|
-
<div class="line-label">Button Position {{ line.position }}</div>
|
|
7
|
-
<div class="line-sep flex-box">
|
|
8
|
-
<div class="app-icon icon-vertical-divider"></div>
|
|
9
|
-
<div class="line-dn-box">Line {{line?.directoryNumber?.directoryNumber}}</div>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="line-name">{{ line.displayLabel }}</div>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="line-actions">
|
|
14
|
-
<div class="line-delete">
|
|
15
|
-
<i class="app-icon icon-delete" (click)="onLineRemove()"></i>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="line-toggle-details" (click)="onToggleDetails()">
|
|
18
|
-
<i class="app-icon icon-arrow-right"></i>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from "@angular/core";
|
|
2
|
-
import { LineAssociation } from '../../classes/line-association';
|
|
3
|
-
import { LineAssociationInterface } from '../../classes/line-association-interface';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: "app-associated-line-row",
|
|
7
|
-
templateUrl: "./associated-line-row.component.html",
|
|
8
|
-
styleUrls: ["./associated-line-row.component.css"]
|
|
9
|
-
})
|
|
10
|
-
export class AssociatedLineRowComponent {
|
|
11
|
-
@Input() line!: LineAssociation | LineAssociationInterface;
|
|
12
|
-
@Input() toggled: boolean = false;
|
|
13
|
-
|
|
14
|
-
@Output() toggleAssociatedLine = new EventEmitter<string>();
|
|
15
|
-
@Output() removeAssociatedLine = new EventEmitter();
|
|
16
|
-
|
|
17
|
-
constructor() {
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
onToggleDetails(): void {
|
|
21
|
-
this.toggled = !this.toggled;
|
|
22
|
-
this.toggleAssociatedLine.emit(this.toggled ? this.line.displayLabel : '')
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
onLineRemove(): void {
|
|
26
|
-
this.removeAssociatedLine.emit();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.line-details-block {
|
|
2
|
-
display: flex;
|
|
3
|
-
|
|
4
|
-
padding: 1rem 1.5rem;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.line-details-block__title {
|
|
8
|
-
width: 150px;
|
|
9
|
-
max-width: 150px;
|
|
10
|
-
font-weight: 500;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.line-details-block__content {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
|
|
17
|
-
width: 100%;
|
|
18
|
-
|
|
19
|
-
margin-left: 2.5rem;
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from "@angular/core";
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "app-line-details-block",
|
|
5
|
-
templateUrl: "./device-associated-line-details-box.component.html",
|
|
6
|
-
styleUrls: ["./device-associated-line-details-box.component.css"]
|
|
7
|
-
})
|
|
8
|
-
export class DeviceAssociatedLineDetailsBoxComponent {
|
|
9
|
-
|
|
10
|
-
@Input() title: string = '';
|
|
11
|
-
|
|
12
|
-
constructor() {}
|
|
13
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<div *ngIf="this.availableNumbers?.length" class="user-calling-extension">
|
|
2
|
-
<mat-select [formControl]="formControl" (selectionChange)="this.onChangeField($event)" #page>
|
|
3
|
-
<mat-option *ngFor="let option of this.availableNumbers; let i = index;"[value]="option">{{option}}</mat-option>
|
|
4
|
-
</mat-select>
|
|
5
|
-
<mat-spinner *ngIf="this.dataPending" [diameter]="50"></mat-spinner>
|
|
6
|
-
</div>
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { SimplifiedUser } from '../../classes/simplified-user';
|
|
4
|
-
import { UserService } from '../../services/user.service';
|
|
5
|
-
import { DnsService } from '../../services/dns.service';
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: 'app-device-associated-line-extension',
|
|
9
|
-
templateUrl: './device-associated-line-extension.component.html',
|
|
10
|
-
styleUrls: ['./device-associated-line-extension.component.scss'],
|
|
11
|
-
})
|
|
12
|
-
export class DeviceAssociatedLineExtensionComponent implements OnInit {
|
|
13
|
-
@Input() formControl!: FormControl;
|
|
14
|
-
@Input() routePartition!: string;
|
|
15
|
-
@Input() directoryNumber!: string;
|
|
16
|
-
@Input() siteId!: number;
|
|
17
|
-
@Output() onChange = new EventEmitter<string>();
|
|
18
|
-
public dataPending!: boolean;
|
|
19
|
-
|
|
20
|
-
get user(): SimplifiedUser {
|
|
21
|
-
return this.userService.user;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
get availableNumbers(): any {
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
return this.routePartition && this.dnsService.availableNumbers ? this.dnsService.availableNumbers[this.routePartition] : null;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
constructor(
|
|
31
|
-
public userService: UserService,
|
|
32
|
-
private dnsService: DnsService
|
|
33
|
-
) {
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
ngOnInit(): void {
|
|
37
|
-
this.getData();
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
public onChangeField(event: any): void {
|
|
41
|
-
// if (!token) {
|
|
42
|
-
// return;
|
|
43
|
-
// }
|
|
44
|
-
// (this.userService.user as any)[token] = this.form?.get(token)?.value;
|
|
45
|
-
this.onChange.emit(event?.value);
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
private getData() {
|
|
50
|
-
if (!this.siteId || !this.routePartition) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
this.dataPending = true;
|
|
54
|
-
this.dnsService.getNumberRange(String(this.siteId), this.routePartition)
|
|
55
|
-
.subscribe(() => {
|
|
56
|
-
if (this.availableNumbers) {
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
this.dnsService.availableNumbers[this.routePartition].push(this.directoryNumber);
|
|
59
|
-
}
|
|
60
|
-
this.dataPending = false;
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
<div id="device-associated-line" *ngIf="lineAssociation && form" [formGroup]="form">
|
|
2
|
-
<ng-container class="line-details__container">
|
|
3
|
-
<app-line-details-block [title]="'Line setting on the device'">
|
|
4
|
-
<div class="form-group">
|
|
5
|
-
<label>Display Caller ID</label>
|
|
6
|
-
<mat-form-field appearance="outline">
|
|
7
|
-
<input matInput type="text" name="displayLabel" formControlName="displayLabel"
|
|
8
|
-
(input)="onChangeField('displayLabel')">
|
|
9
|
-
<mat-error *ngIf="form.get('displayLabel')?.hasError('maxlength')">
|
|
10
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
11
|
-
This field can’t have more than 30 characters
|
|
12
|
-
</mat-error>
|
|
13
|
-
<mat-error *ngIf="form.get('displayLabel')?.hasError('pattern')">
|
|
14
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
15
|
-
Invalid symbols are used
|
|
16
|
-
</mat-error>
|
|
17
|
-
</mat-form-field>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="form-group__separator"></div>
|
|
20
|
-
<div class="form-group">
|
|
21
|
-
<label>Text Label</label>
|
|
22
|
-
<mat-form-field appearance="outline">
|
|
23
|
-
<input formControlName="textLabel" name="textLabel"
|
|
24
|
-
matInput (input)="onChangeField('textLabel')">
|
|
25
|
-
<mat-error *ngIf="form.get('textLabel')?.hasError('maxlength')">
|
|
26
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
27
|
-
This field can’t have more than 30 characters
|
|
28
|
-
</mat-error>
|
|
29
|
-
<mat-error *ngIf="form.get('textLabel')?.hasError('pattern')">
|
|
30
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
31
|
-
Invalid symbols are used
|
|
32
|
-
</mat-error>
|
|
33
|
-
</mat-form-field>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="form-group__separator"></div>
|
|
36
|
-
<div class="form-group">
|
|
37
|
-
<label>External Phone Number Mask</label>
|
|
38
|
-
<mat-form-field appearance="outline">
|
|
39
|
-
<input matInput type="text" name="e164Mask" formControlName="e164Mask"
|
|
40
|
-
(input)="onChangeField('e164Mask')">
|
|
41
|
-
<mat-error *ngIf="form.get('e164Mask')?.hasError('e164MaskRule')">
|
|
42
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
43
|
-
e164Mask does not match the rule {{getRule()}}
|
|
44
|
-
</mat-error>
|
|
45
|
-
</mat-form-field>
|
|
46
|
-
</div>
|
|
47
|
-
</app-line-details-block>
|
|
48
|
-
<div class="form-group__separator_2px"></div>
|
|
49
|
-
<app-line-details-block [title]="'Multiple Call/Call Waiting Settings'">
|
|
50
|
-
<div class="form-group">
|
|
51
|
-
<label>Max Calls</label>
|
|
52
|
-
<mat-form-field appearance="outline">
|
|
53
|
-
<input matInput type="number" name="maxNumberOfCalls" formControlName="maxNumberOfCalls"
|
|
54
|
-
(input)="onChangeField('maxNumberOfCalls')">
|
|
55
|
-
<mat-error *ngIf="form.get('maxNumberOfCalls')?.hasError('max')">
|
|
56
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
57
|
-
Value is too big
|
|
58
|
-
</mat-error>
|
|
59
|
-
</mat-form-field>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="form-group__separator"></div>
|
|
62
|
-
<div class="form-group">
|
|
63
|
-
<label>Busy Trigger</label>
|
|
64
|
-
<mat-form-field appearance="outline">
|
|
65
|
-
<input matInput type="number" name="busyTrigger" formControlName="busyTrigger"
|
|
66
|
-
(input)="onChangeField('busyTrigger')">
|
|
67
|
-
<mat-error *ngIf="form.get('busyTrigger')?.hasError('max')">
|
|
68
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
69
|
-
Value can't be bigger than Max Calls
|
|
70
|
-
</mat-error>
|
|
71
|
-
</mat-form-field>
|
|
72
|
-
</div>
|
|
73
|
-
</app-line-details-block>
|
|
74
|
-
<div class="form-group__separator_2px"></div>
|
|
75
|
-
<app-line-details-block [title]="'Call Recording'">
|
|
76
|
-
<div class="form-group">
|
|
77
|
-
<label>Recording Option</label>
|
|
78
|
-
<mat-form-field appearance="outline">
|
|
79
|
-
<mat-select
|
|
80
|
-
(selectionChange)="recordingOptionChanged('recordingOption')"
|
|
81
|
-
formControlName="recordingOption"
|
|
82
|
-
[id]="'associatedLineRecordingOptionField'">
|
|
83
|
-
<mat-option [value]=recordingOptions.disabled>Call Recording Disabled</mat-option>
|
|
84
|
-
<mat-option [value]=recordingOptions.auto_enabled>Automatic Call Recording Enabled</mat-option>
|
|
85
|
-
<mat-option [value]=recordingOptions.selective_enabled>Selective Call Recording Enabled</mat-option>
|
|
86
|
-
</mat-select>
|
|
87
|
-
</mat-form-field>
|
|
88
|
-
</div>
|
|
89
|
-
<div class="form-group__separator"></div>
|
|
90
|
-
<div class="form-group">
|
|
91
|
-
<label>Recording Media Source</label>
|
|
92
|
-
<mat-form-field appearance="outline">
|
|
93
|
-
<mat-select
|
|
94
|
-
(selectionChange)="onChangeField('recordingMediaSource')" formControlName="recordingMediaSource"
|
|
95
|
-
[id]="'associatedLineRecordingMediaSourceField'">
|
|
96
|
-
<mat-option *ngFor="let source of recordingMediaSources" [value]="source">{{source}}</mat-option>
|
|
97
|
-
</mat-select>
|
|
98
|
-
</mat-form-field>
|
|
99
|
-
</div>
|
|
100
|
-
<div class="form-group__separator"></div>
|
|
101
|
-
<div class="form-group">
|
|
102
|
-
<label>Recording Profile</label>
|
|
103
|
-
<app-lazy-loading-select
|
|
104
|
-
[siteId]="siteId"
|
|
105
|
-
[controlName]="'recordingProfile'"
|
|
106
|
-
[form]="form"
|
|
107
|
-
(changeField)="onChangeField('recordingProfile')"
|
|
108
|
-
[optionsToken]="'recordingProfile'"></app-lazy-loading-select>
|
|
109
|
-
</div>
|
|
110
|
-
</app-line-details-block>
|
|
111
|
-
<div class="form-group__separator_2px"></div>
|
|
112
|
-
<app-line-details-block [title]="'Additional line settings on the device'">
|
|
113
|
-
<div class="form-group">
|
|
114
|
-
<label>Visual Message Waiting Indicator Policy</label>
|
|
115
|
-
<mat-form-field appearance="outline">
|
|
116
|
-
<mat-select
|
|
117
|
-
formControlName="visualMWI"
|
|
118
|
-
(selectionChange)="onChangeField('visualMWI')">
|
|
119
|
-
<mat-option
|
|
120
|
-
*ngFor="let option of staticOptions.VISUAL_MWI" [value]="option">
|
|
121
|
-
{{option}}
|
|
122
|
-
</mat-option>
|
|
123
|
-
</mat-select>
|
|
124
|
-
</mat-form-field>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="form-group__separator"></div>
|
|
127
|
-
<div class="form-group">
|
|
128
|
-
<label>Ring Setting (Phone Idle)</label>
|
|
129
|
-
<mat-form-field appearance="outline">
|
|
130
|
-
<mat-select
|
|
131
|
-
formControlName="ringSetting_idle"
|
|
132
|
-
(selectionChange)="onChangeField('ringSetting_idle')">
|
|
133
|
-
<mat-option *ngFor="let option of staticOptions.RING_SETTING_IDLE" [value]="option">
|
|
134
|
-
{{option}}
|
|
135
|
-
</mat-option>
|
|
136
|
-
</mat-select>
|
|
137
|
-
</mat-form-field>
|
|
138
|
-
</div>
|
|
139
|
-
<div class="form-group__separator"></div>
|
|
140
|
-
<div class="form-group">
|
|
141
|
-
<label>Call Pickup Audio Alert Setting (Phone Idle)</label>
|
|
142
|
-
<mat-form-field appearance="outline">
|
|
143
|
-
<mat-select name="pickupAAS_idle"
|
|
144
|
-
formControlName="pickupAAS_idle"
|
|
145
|
-
(selectionChange)="onChangeField('pickupAAS_idle')">
|
|
146
|
-
<mat-option *ngFor="let option of staticOptions.CALL_PICKUP_GROUP_AUDIO_SETTING_PHONE_IDLE" [value]="option">
|
|
147
|
-
{{option}}
|
|
148
|
-
</mat-option>
|
|
149
|
-
</mat-select>
|
|
150
|
-
</mat-form-field>
|
|
151
|
-
</div>
|
|
152
|
-
<div class="form-group__separator"></div>
|
|
153
|
-
<div class="form-group">
|
|
154
|
-
<label>Monitoring Calling Search Space</label>
|
|
155
|
-
<mat-form-field appearance="outline">
|
|
156
|
-
<input
|
|
157
|
-
[matAutocomplete]="auto"
|
|
158
|
-
matInput
|
|
159
|
-
(input)="onAutocomplete('monitorCSS')"
|
|
160
|
-
formControlName="monitorCSS">
|
|
161
|
-
<mat-autocomplete
|
|
162
|
-
#auto="matAutocomplete"
|
|
163
|
-
(optionSelected)="onChangeField('monitorCSS')">
|
|
164
|
-
<mat-option *ngFor="let option of filteredMonitorCssList" [value]="option" >
|
|
165
|
-
{{option}}
|
|
166
|
-
</mat-option>
|
|
167
|
-
</mat-autocomplete>
|
|
168
|
-
</mat-form-field>
|
|
169
|
-
</div>
|
|
170
|
-
<div class="form-group__separator"></div>
|
|
171
|
-
<div class="form-group">
|
|
172
|
-
<label>Audible Message Waiting Indicator Policy</label>
|
|
173
|
-
<mat-form-field appearance="outline">
|
|
174
|
-
<mat-select
|
|
175
|
-
formControlName="audibleMWI"
|
|
176
|
-
(selectionChange)="onChangeField('audibleMWI')">
|
|
177
|
-
<mat-option *ngFor="let option of staticOptions.DEFAULT_ON_OFF" [value]="option">
|
|
178
|
-
{{option}}
|
|
179
|
-
</mat-option>
|
|
180
|
-
</mat-select>
|
|
181
|
-
</mat-form-field>
|
|
182
|
-
</div>
|
|
183
|
-
<div class="form-group__separator"></div>
|
|
184
|
-
<div class="form-group">
|
|
185
|
-
<label>Ring Setting (Phone Active)</label>
|
|
186
|
-
<mat-form-field appearance="outline">
|
|
187
|
-
<mat-select
|
|
188
|
-
formControlName="ringSetting_active"
|
|
189
|
-
(selectionChange)="onChangeField('ringSetting_active')">
|
|
190
|
-
<mat-option *ngFor="let option of staticOptions.RING_SETTING_ACTIVE" [value]="option">
|
|
191
|
-
{{option}}
|
|
192
|
-
</mat-option>
|
|
193
|
-
</mat-select>
|
|
194
|
-
</mat-form-field>
|
|
195
|
-
</div>
|
|
196
|
-
<div class="form-group__separator"></div>
|
|
197
|
-
<div class="form-group">
|
|
198
|
-
<label>Call Pickup Audio Alert Setting (Phone Active)</label>
|
|
199
|
-
<mat-form-field appearance="outline">
|
|
200
|
-
<mat-select
|
|
201
|
-
formControlName="pickupAAS_active"
|
|
202
|
-
(selectionChange)="onChangeField('pickupAAS_active')">
|
|
203
|
-
<mat-option
|
|
204
|
-
*ngFor="let option of staticOptions.CALL_PICKUP_GROUP_AUDIO_SETTING_PHONE_ACTIVE"
|
|
205
|
-
[value]="option">
|
|
206
|
-
{{option}}
|
|
207
|
-
</mat-option>
|
|
208
|
-
</mat-select>
|
|
209
|
-
</mat-form-field>
|
|
210
|
-
</div>
|
|
211
|
-
<div class="form-group__separator"></div>
|
|
212
|
-
<div class="form-group">
|
|
213
|
-
<label>Log Missed Calls</label>
|
|
214
|
-
<mat-slide-toggle name="logMissedCalls" formControlName="logMissedCall"></mat-slide-toggle>
|
|
215
|
-
</div>
|
|
216
|
-
</app-line-details-block>
|
|
217
|
-
<div class="form-group__separator_2px"></div>
|
|
218
|
-
<app-line-details-block [title]="'Forwardred call information display'">
|
|
219
|
-
<div class="form-group">
|
|
220
|
-
<label>Caller Name</label>
|
|
221
|
-
<mat-slide-toggle name="callerName" formControlName="callerName" (change)="onChangeField('callerName')"></mat-slide-toggle>
|
|
222
|
-
</div>
|
|
223
|
-
<div class="form-group__separator"></div>
|
|
224
|
-
<div class="form-group">
|
|
225
|
-
<label>Redirected Number</label>
|
|
226
|
-
<mat-slide-toggle name="redirectedNumber" formControlName="redirectedNumber" (change)="onChangeField('redirectedNumber')"></mat-slide-toggle>
|
|
227
|
-
</div>
|
|
228
|
-
<div class="form-group__separator"></div>
|
|
229
|
-
<div class="form-group">
|
|
230
|
-
<label>Caller Number</label>
|
|
231
|
-
<mat-slide-toggle name="callerNumber" formControlName="callerNumber" (change)="onChangeField('callerNumber')"></mat-slide-toggle>
|
|
232
|
-
</div>
|
|
233
|
-
<div class="form-group__separator"></div>
|
|
234
|
-
<div class="form-group">
|
|
235
|
-
<label>Dialed Number</label>
|
|
236
|
-
<mat-slide-toggle name="dialedNumber" formControlName="dialedNumber" (change)="onChangeField('dialedNumber')"></mat-slide-toggle>
|
|
237
|
-
</div>
|
|
238
|
-
</app-line-details-block>
|
|
239
|
-
</ng-container>
|
|
240
|
-
|
|
241
|
-
</div>
|