@tuki-io/tuki-widgets 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -10
- package/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-manage/public-api.mjs +7 -0
- package/esm2020/user-manage/src/app.constants.mjs +38 -0
- package/esm2020/user-manage/src/classes/device.mjs +7 -0
- package/esm2020/user-manage/src/classes/line.mjs +9 -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/simplified-user.mjs +82 -0
- package/esm2020/user-manage/src/classes/table-data.mjs +2 -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/environments/environment.mjs +11 -0
- package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +37 -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/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/user.service.mjs +108 -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-info/user-info.component.mjs +20 -0
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +159 -0
- package/esm2020/user-manage/src/user-manage.module.mjs +84 -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 +35 -0
- package/esm2020/users-list/src/classes/device.mjs +7 -0
- package/esm2020/users-list/src/classes/line.mjs +9 -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 +10 -0
- package/esm2020/users-list/src/material.module.mjs +188 -0
- package/esm2020/users-list/src/services/api.service.mjs +78 -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 +105 -0
- package/esm2020/users-list/src/services/users-search.service.mjs +49 -0
- package/esm2020/users-list/src/users-list.component.mjs +75 -0
- package/esm2020/users-list/src/users-list.module.mjs +58 -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-manage.mjs +1232 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +869 -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-manage.mjs +1219 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +866 -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 +44 -36
- package/{projects/tuki/widgets/src/public-api.ts → public-api.d.ts} +0 -4
- package/user-manage/index.d.ts +5 -0
- package/user-manage/src/app.constants.d.ts +20 -0
- package/user-manage/src/classes/device.d.ts +224 -0
- package/user-manage/src/classes/line.d.ts +116 -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/simplified-user.d.ts +41 -0
- package/user-manage/src/classes/table-data.d.ts +5 -0
- package/user-manage/src/classes/user-list.d.ts +32 -0
- package/user-manage/src/common-functions.d.ts +1 -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 +20 -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/user.service.d.ts +26 -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-info/user-info.component.d.ts +9 -0
- package/user-manage/src/user-manage-widget.component.d.ts +31 -0
- package/user-manage/src/user-manage.module.d.ts +18 -0
- package/user-manage/src/utils/app-loader/app-loader.d.ts +6 -0
- package/user-manage/src/utils/pagination/pagination.component.d.ts +18 -0
- package/users-list/index.d.ts +5 -0
- package/users-list/src/app.constants.d.ts +17 -0
- package/users-list/src/classes/device.d.ts +224 -0
- package/users-list/src/classes/line.d.ts +116 -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 +32 -0
- package/users-list/src/material.module.d.ts +28 -0
- package/users-list/src/services/api.service.d.ts +20 -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 +26 -0
- package/users-list/src/services/users-search.service.d.ts +25 -0
- package/users-list/src/users-list.component.d.ts +34 -0
- package/users-list/src/users-list.module.d.ts +12 -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/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/styles/form.scss +0 -231
- package/projects/tuki/widgets/styles/icons.scss +0 -32
- package/projects/tuki/widgets/styles/styles.scss +0 -110
- package/projects/tuki/widgets/styles/tables.scss +0 -30
- 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-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +0 -38
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +0 -225
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +0 -117
- 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/simplified-user.ts +0 -128
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +0 -6
- 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 -40
- 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/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 -36
- 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 -3
- 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 -89
- 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/user.service.ts +0 -120
- 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-details/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +0 -32
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +0 -53
- 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 -291
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +0 -461
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +0 -163
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +0 -53
- 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 -35
- package/projects/tuki/widgets/users-list/src/classes/device.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/line.ts +0 -117
- 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 -40
- package/projects/tuki/widgets/users-list/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/users-list/src/material.module.ts +0 -84
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +0 -87
- 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 -117
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +0 -58
- 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 -39
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +0 -9
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +0 -85
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +0 -36
- 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
- /package/{projects/tuki/widgets/user-manage/public-api.ts → user-manage/public-api.d.ts} +0 -0
- /package/{projects/tuki/widgets/users-list/public-api.ts → users-list/public-api.d.ts} +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
.info-holder {
|
|
2
|
-
display: flex;
|
|
3
|
-
gap: 16px;
|
|
4
|
-
align-items: center;
|
|
5
|
-
font-family: "Inter", sans-serif;
|
|
6
|
-
height: 102px;
|
|
7
|
-
width: 100%;
|
|
8
|
-
background: white;
|
|
9
|
-
margin: 0 0 30px 0;
|
|
10
|
-
|
|
11
|
-
&__user-image {
|
|
12
|
-
img {
|
|
13
|
-
width: 40px;
|
|
14
|
-
border-radius: 120px;
|
|
15
|
-
margin: 20px 0 0 0;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__user-information {
|
|
20
|
-
padding: 10px;
|
|
21
|
-
margin: 10px;
|
|
22
|
-
gap: 10px;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&__user-name {
|
|
28
|
-
font-size: 20px;
|
|
29
|
-
font-weight: 500;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__user-breadcrumbs {
|
|
33
|
-
display: flex;
|
|
34
|
-
gap: 8px;
|
|
35
|
-
font-weight: 400;
|
|
36
|
-
font-size: 14px;
|
|
37
|
-
color: rgba(0, 0, 0, 0.7);
|
|
38
|
-
align-items: center;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.icon-separator {
|
|
42
|
-
height: 5px;
|
|
43
|
-
width: 5px;
|
|
44
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
45
|
-
border-radius: 50%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.is-active {
|
|
49
|
-
display: flex;
|
|
50
|
-
gap: 8px;
|
|
51
|
-
align-items: center;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'app-user-info',
|
|
5
|
-
templateUrl: './user-info.component.html',
|
|
6
|
-
styleUrls: ['./user-info.component.scss']
|
|
7
|
-
})
|
|
8
|
-
export class UserInfoComponent {
|
|
9
|
-
@Input()
|
|
10
|
-
name!: string;
|
|
11
|
-
@Input()
|
|
12
|
-
active!: boolean;
|
|
13
|
-
@Input()
|
|
14
|
-
email!: string;
|
|
15
|
-
@Input()
|
|
16
|
-
position!: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
<div class="header-box">
|
|
2
|
-
<div class="content-box">
|
|
3
|
-
<div class="header-back-block">
|
|
4
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
-
<path d="M5.70746 7.99987L11.3539 2.35352C11.4453 2.25928 11.496 2.13287 11.495 2.00159C11.494 1.8703 11.4414 1.74467 11.3486 1.65183C11.2558 1.55899 11.1301 1.50639 10.9988 1.50539C10.8676 1.50438 10.7411 1.55506 10.6469 1.64647L4.64691 7.64647C4.55316 7.74023 4.50049 7.8674 4.50049 7.99999C4.50049 8.13259 4.55316 8.25975 4.64691 8.35352L10.6469 14.3535C10.6931 14.4011 10.7482 14.439 10.8092 14.4651C10.8702 14.4912 10.9357 14.5049 11.002 14.5054C11.0683 14.5059 11.134 14.4932 11.1954 14.468C11.2567 14.4429 11.3125 14.4058 11.3593 14.3589C11.4062 14.312 11.4433 14.2563 11.4685 14.1949C11.4936 14.1336 11.5063 14.0679 11.5058 14.0016C11.5053 13.9353 11.4916 13.8697 11.4655 13.8088C11.4394 13.7478 11.4015 13.6926 11.3539 13.6465L5.70746 7.99987Z" fill="black" fill-opacity="0.95"/>
|
|
6
|
-
</svg>
|
|
7
|
-
Users
|
|
8
|
-
</div>
|
|
9
|
-
<div class="header-button-block">
|
|
10
|
-
<button mat-raised-button
|
|
11
|
-
[disabled]="!userService.hasUnsavedChanges()"
|
|
12
|
-
(click)="saveChanges()">Save</button>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
<app-user-info *ngIf="user" [name]="userName" [email]="user.email" [active]="false" [position]="'Sales Senior VP'"></app-user-info>
|
|
17
|
-
|
|
18
|
-
<mat-tab-group disableRipple class="content-box">
|
|
19
|
-
<mat-tab label="Profile">
|
|
20
|
-
<ng-container *ngTemplateOutlet="userProfile">
|
|
21
|
-
</ng-container>
|
|
22
|
-
</mat-tab>
|
|
23
|
-
<mat-tab ></mat-tab>
|
|
24
|
-
<mat-tab ></mat-tab>
|
|
25
|
-
<mat-tab ></mat-tab>
|
|
26
|
-
</mat-tab-group>
|
|
27
|
-
|
|
28
|
-
<ng-template #userProfile>
|
|
29
|
-
<form *ngIf="user && form" [formGroup]="form">
|
|
30
|
-
<div class="info-boxes-container">
|
|
31
|
-
<div *ngIf="dataPending == true" class="data-loader">
|
|
32
|
-
<mat-spinner [diameter]="50"></mat-spinner>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<!-- USER INFO BOX-->
|
|
36
|
-
<div class="user-info-box user-details-box">
|
|
37
|
-
<h3 class="user-box-title">User General Info</h3>
|
|
38
|
-
<div class="form-holder__inputs">
|
|
39
|
-
<div class="input-holder">
|
|
40
|
-
<div class="input-holder__name">User Id</div>
|
|
41
|
-
<div class="input-holder__input">
|
|
42
|
-
<mat-form-field appearance="outline">
|
|
43
|
-
<input formControlName="userid"
|
|
44
|
-
matInput (input)="onChangeField('userid')">
|
|
45
|
-
<mat-error
|
|
46
|
-
*ngIf="form.get('userid').hasError('required')">
|
|
47
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
48
|
-
This field is required
|
|
49
|
-
</mat-error>
|
|
50
|
-
<mat-error *ngIf="form.get('userid').hasError('exist')">
|
|
51
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
52
|
-
User ID already exists
|
|
53
|
-
</mat-error>
|
|
54
|
-
</mat-form-field>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
<mat-divider></mat-divider>
|
|
58
|
-
<div class="input-holder">
|
|
59
|
-
<div class="input-holder__name">Email</div>
|
|
60
|
-
<div class="input-holder__input">
|
|
61
|
-
<mat-form-field appearance="outline">
|
|
62
|
-
<input formControlName="email"
|
|
63
|
-
matInput (input)="onChangeField('email')">
|
|
64
|
-
<mat-error
|
|
65
|
-
*ngIf="form.get('email').touched && form.get('email').hasError('required')">
|
|
66
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
67
|
-
This field is required
|
|
68
|
-
</mat-error>
|
|
69
|
-
<mat-error *ngIf="form.get('email').touched && form.get('email').hasError('pattern')">
|
|
70
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
71
|
-
Please enter valid email
|
|
72
|
-
</mat-error>
|
|
73
|
-
</mat-form-field>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
<mat-divider></mat-divider>
|
|
77
|
-
<div class="input-holder">
|
|
78
|
-
<div class="input-holder__name">Fisrt Name</div>
|
|
79
|
-
<div class="input-holder__input">
|
|
80
|
-
<mat-form-field appearance="outline">
|
|
81
|
-
<input formControlName="firstName"
|
|
82
|
-
matInput (input)="onChangeField('firstName')">
|
|
83
|
-
</mat-form-field>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
<mat-divider></mat-divider>
|
|
87
|
-
<div class="input-holder">
|
|
88
|
-
<div class="input-holder__name">Last Name</div>
|
|
89
|
-
<div class="input-holder__input">
|
|
90
|
-
<mat-form-field appearance="outline">
|
|
91
|
-
<input formControlName="lastName"
|
|
92
|
-
matInput (input)="onChangeField('lastName')">
|
|
93
|
-
<mat-error
|
|
94
|
-
*ngIf="form.get('lastName').touched && form.get('lastName').hasError('required')">
|
|
95
|
-
<i class="fa fa-exclamation-triangle"></i>
|
|
96
|
-
This field is required
|
|
97
|
-
</mat-error>
|
|
98
|
-
</mat-form-field>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
<mat-divider></mat-divider>
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
</div>
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<!-- USER INFO BOX-->
|
|
108
|
-
<div class="user-info-box user-details-box">
|
|
109
|
-
<h3 class="user-box-title">User General Info</h3>
|
|
110
|
-
<div class="form-holder__inputs">
|
|
111
|
-
<div class="input-holder">
|
|
112
|
-
<div class="input-holder__name">Department</div>
|
|
113
|
-
<div class="input-holder__input">
|
|
114
|
-
<mat-form-field appearance="outline">
|
|
115
|
-
<input formControlName="department" matInput type="text" (input)="onChangeField('department')">
|
|
116
|
-
</mat-form-field>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
<mat-divider></mat-divider>
|
|
120
|
-
<div class="input-holder">
|
|
121
|
-
<div class="input-holder__name">Manager user ID</div>
|
|
122
|
-
<div class="input-holder__input">
|
|
123
|
-
<mat-form-field appearance="outline">
|
|
124
|
-
<input formControlName="manager" matInput type="text" (input)="onChangeField('manager')">
|
|
125
|
-
</mat-form-field>
|
|
126
|
-
</div>
|
|
127
|
-
</div>
|
|
128
|
-
<mat-divider></mat-divider>
|
|
129
|
-
<div class="input-holder">
|
|
130
|
-
<div class="input-holder__name">Associated PC</div>
|
|
131
|
-
<div class="input-holder__input">
|
|
132
|
-
<mat-form-field appearance="outline">
|
|
133
|
-
<input formControlName="associatedPc" matInput type="text" (input)="onChangeField('associatedPc')">
|
|
134
|
-
</mat-form-field>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
<mat-divider></mat-divider>
|
|
138
|
-
<div class="input-holder">
|
|
139
|
-
<div class="input-holder__name">Digest credentials</div>
|
|
140
|
-
<div class="input-holder__input">
|
|
141
|
-
<mat-form-field appearance="outline">
|
|
142
|
-
<input formControlName="digestCredentials" matInput type="text" (input)="onChangeField('digestCredentials')">
|
|
143
|
-
</mat-form-field>
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
<mat-divider></mat-divider>
|
|
147
|
-
<div class="input-holder">
|
|
148
|
-
<div class="input-holder__name">User profile</div>
|
|
149
|
-
<div class="input-holder__input">
|
|
150
|
-
<app-lazy-loading-select
|
|
151
|
-
[siteId]="siteId"
|
|
152
|
-
[controlName]="'userProfile'"
|
|
153
|
-
[form]="user.form"
|
|
154
|
-
(changeField)="changeField('userProfile')"
|
|
155
|
-
[optionsToken]="'userProfiles'"
|
|
156
|
-
></app-lazy-loading-select>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
<mat-divider></mat-divider>
|
|
160
|
-
<div class="input-holder">
|
|
161
|
-
<div class="input-holder__name">Mobile voice access</div>
|
|
162
|
-
<div class="input-holder__input">
|
|
163
|
-
<mat-slide-toggle
|
|
164
|
-
formControlName="enableMobileVoiceAccess"
|
|
165
|
-
(change)="onChangeField('enableMobileVoiceAccess')"
|
|
166
|
-
[checked]="user.enableMobileVoiceAccess">
|
|
167
|
-
</mat-slide-toggle>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
<mat-divider></mat-divider>
|
|
171
|
-
<div class="input-holder">
|
|
172
|
-
<div class="input-holder__name">Userlocale</div>
|
|
173
|
-
<div class="input-holder__input">
|
|
174
|
-
<app-lazy-loading-select
|
|
175
|
-
[siteId]="siteId"
|
|
176
|
-
[controlName]="'userLocale'"
|
|
177
|
-
[form]="user.form"
|
|
178
|
-
(changeField)="changeField($event)"
|
|
179
|
-
[optionsToken]="'userLocales'"
|
|
180
|
-
[default]="{key: '', value: 'None', disabled: false}">
|
|
181
|
-
</app-lazy-loading-select>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
<mat-divider></mat-divider>
|
|
185
|
-
<div class="input-holder">
|
|
186
|
-
<div class="input-holder__name">Confirm digest credentials</div>
|
|
187
|
-
<div class="input-holder__input">
|
|
188
|
-
<mat-form-field appearance="outline">
|
|
189
|
-
<input formControlName="confirmDigestCredentials" matInput type="text" (input)="onChangeField('confirmDigestCredentials')">
|
|
190
|
-
</mat-form-field>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
194
|
-
</div>
|
|
195
|
-
|
|
196
|
-
<!-- USER INFO BOX-->
|
|
197
|
-
<div class="user-info-box user-details-box">
|
|
198
|
-
<h3 class="user-box-title">Contact Information</h3>
|
|
199
|
-
<div class="form-holder__inputs">
|
|
200
|
-
<div class="input-holder">
|
|
201
|
-
<div class="input-holder__name">Middle Name</div>
|
|
202
|
-
<div class="input-holder__input">
|
|
203
|
-
<mat-form-field appearance="outline">
|
|
204
|
-
<input matInput type="text" formControlName="middleName" (input)="onChangeField('middleName')">
|
|
205
|
-
</mat-form-field>
|
|
206
|
-
</div>
|
|
207
|
-
</div>
|
|
208
|
-
<mat-divider></mat-divider>
|
|
209
|
-
<div class="input-holder">
|
|
210
|
-
<div class="input-holder__name">Telephone Number</div>
|
|
211
|
-
<div class="input-holder__input">
|
|
212
|
-
<mat-form-field appearance="outline">
|
|
213
|
-
<input matInput type="number" formControlName="telephoneNumber" (input)="onChangeField('telephoneNumber')">
|
|
214
|
-
</mat-form-field>
|
|
215
|
-
</div>
|
|
216
|
-
</div>
|
|
217
|
-
<mat-divider></mat-divider>
|
|
218
|
-
<div class="input-holder">
|
|
219
|
-
<div class="input-holder__name">Mobile Number</div>
|
|
220
|
-
<div class="input-holder__input">
|
|
221
|
-
<mat-form-field appearance="outline">
|
|
222
|
-
<input matInput type="number" formControlName="mobileNumber" (input)="onChangeField('mobileNumber')">
|
|
223
|
-
</mat-form-field>
|
|
224
|
-
</div>
|
|
225
|
-
</div>
|
|
226
|
-
<mat-divider></mat-divider>
|
|
227
|
-
<div class="input-holder">
|
|
228
|
-
<div class="input-holder__name">Digest credentials</div>
|
|
229
|
-
<div class="input-holder__input">
|
|
230
|
-
<mat-form-field appearance="outline">
|
|
231
|
-
<input matInput type="text" formControlName="digestCredentials" (input)="onChangeField('digestCredentials')">
|
|
232
|
-
</mat-form-field>
|
|
233
|
-
</div>
|
|
234
|
-
</div>
|
|
235
|
-
<mat-divider></mat-divider>
|
|
236
|
-
<div class="input-holder">
|
|
237
|
-
<div class="input-holder__name">Diractory URI</div>
|
|
238
|
-
<div class="input-holder__input">
|
|
239
|
-
<mat-form-field appearance="outline">
|
|
240
|
-
<input matInput type="text" formControlName="directoryUri" (input)="onChangeField('directoryUri')">
|
|
241
|
-
</mat-form-field>
|
|
242
|
-
</div>
|
|
243
|
-
</div>
|
|
244
|
-
<mat-divider></mat-divider>
|
|
245
|
-
<div class="input-holder">
|
|
246
|
-
<div class="input-holder__name">Title</div>
|
|
247
|
-
<div class="input-holder__input">
|
|
248
|
-
<mat-form-field appearance="outline">
|
|
249
|
-
<input matInput type="text" formControlName="title" (input)="onChangeField('title')">
|
|
250
|
-
</mat-form-field>
|
|
251
|
-
</div>
|
|
252
|
-
</div>
|
|
253
|
-
<mat-divider></mat-divider>
|
|
254
|
-
<div class="input-holder">
|
|
255
|
-
<div class="input-holder__name">Home Number</div>
|
|
256
|
-
<div class="input-holder__input">
|
|
257
|
-
<mat-form-field appearance="outline">
|
|
258
|
-
<input matInput type="number" formControlName="homeNumber" (input)="onChangeField('homeNumber')">
|
|
259
|
-
</mat-form-field>
|
|
260
|
-
</div>
|
|
261
|
-
</div>
|
|
262
|
-
<mat-divider></mat-divider>
|
|
263
|
-
<div class="input-holder">
|
|
264
|
-
<div class="input-holder__name">Pager Number</div>
|
|
265
|
-
<div class="input-holder__input">
|
|
266
|
-
<mat-form-field appearance="outline">
|
|
267
|
-
<input matInput type="number" formControlName="pagerNumber" (input)="onChangeField('pagerNumber')">
|
|
268
|
-
</mat-form-field>
|
|
269
|
-
</div>
|
|
270
|
-
</div>
|
|
271
|
-
<mat-divider></mat-divider>
|
|
272
|
-
<div class="input-holder">
|
|
273
|
-
<div class="input-holder__name">Display Name</div>
|
|
274
|
-
<div class="input-holder__input">
|
|
275
|
-
<mat-form-field appearance="outline">
|
|
276
|
-
<input matInput type="text" formControlName="displayName" (input)="onChangeField('displayName')">
|
|
277
|
-
</mat-form-field>
|
|
278
|
-
</div>
|
|
279
|
-
</div>
|
|
280
|
-
</div>
|
|
281
|
-
</div>
|
|
282
|
-
|
|
283
|
-
</div>
|
|
284
|
-
|
|
285
|
-
</form>
|
|
286
|
-
</ng-template>
|
|
287
|
-
|
|
288
|
-
<mat-progress-spinner *ngIf="dataPending"
|
|
289
|
-
class="page-spinner"
|
|
290
|
-
mode="indeterminate"
|
|
291
|
-
[diameter]="120"></mat-progress-spinner>
|