@tuki-io/tuki-widgets 0.0.6 → 0.0.8
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 +162 -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 +78 -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 +1235 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +872 -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 +1222 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +869 -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 +21 -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 +32 -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 +21 -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 +35 -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,110 +0,0 @@
|
|
|
1
|
-
@import '../../node_modules/font-awesome/scss/font-awesome';
|
|
2
|
-
@import 'variables';
|
|
3
|
-
@import 'icons';
|
|
4
|
-
@import 'form';
|
|
5
|
-
@import "tables";
|
|
6
|
-
|
|
7
|
-
*{
|
|
8
|
-
margin: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
body {
|
|
12
|
-
background: $webex-body-bg;
|
|
13
|
-
}
|
|
14
|
-
body, th, td {
|
|
15
|
-
font-family: $main-font;
|
|
16
|
-
font-size: 14px;
|
|
17
|
-
}
|
|
18
|
-
th {
|
|
19
|
-
color: rgba(0,0,0,.54);
|
|
20
|
-
text-align: left;
|
|
21
|
-
}
|
|
22
|
-
td {
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
padding: 10px 5px 10px 0;
|
|
25
|
-
}
|
|
26
|
-
.content-box {
|
|
27
|
-
margin: auto;
|
|
28
|
-
position: relative;
|
|
29
|
-
width: 70%;
|
|
30
|
-
|
|
31
|
-
table {
|
|
32
|
-
width: 100%
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.edit-icon-td {
|
|
36
|
-
width: 50px;
|
|
37
|
-
position: relative;
|
|
38
|
-
|
|
39
|
-
button {
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: 4px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.mat-progress-spinner circle, .mat-spinner circle {
|
|
45
|
-
stroke: #009fdb!important;
|
|
46
|
-
}
|
|
47
|
-
.data-loader {
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: calc(50% - 25px);
|
|
50
|
-
left: calc(50% - 25px);
|
|
51
|
-
}
|
|
52
|
-
.flex-box {
|
|
53
|
-
display: flex;
|
|
54
|
-
justify-content: flex-start;
|
|
55
|
-
}
|
|
56
|
-
.mat-paginator {
|
|
57
|
-
background: transparent !important;
|
|
58
|
-
}
|
|
59
|
-
.mat-paginator-container {
|
|
60
|
-
min-height: 30px !important;
|
|
61
|
-
}
|
|
62
|
-
.mat-paginator-range-label {
|
|
63
|
-
margin: 0 10px 0 24px !important;
|
|
64
|
-
font-size: 15px !important;
|
|
65
|
-
}
|
|
66
|
-
.user-info-box {
|
|
67
|
-
background: white;
|
|
68
|
-
display: grid;
|
|
69
|
-
grid-template-columns: 30% 70%;
|
|
70
|
-
border-radius: 8px;
|
|
71
|
-
border: rgba(0, 0, 0, 0.2) 1px solid;
|
|
72
|
-
padding: 24px;
|
|
73
|
-
font-weight: 400;
|
|
74
|
-
font-size: 14px;
|
|
75
|
-
|
|
76
|
-
h3 {
|
|
77
|
-
display: block;
|
|
78
|
-
font-weight: 500;
|
|
79
|
-
font-size: 16px;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
.mat-divider{
|
|
83
|
-
margin: 12px 0 !important;
|
|
84
|
-
}
|
|
85
|
-
.info-boxes-container {
|
|
86
|
-
padding: 24px 0;
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-direction: column;
|
|
89
|
-
gap: 24px;
|
|
90
|
-
}
|
|
91
|
-
.header-box {
|
|
92
|
-
height: 60px;
|
|
93
|
-
width: 100%;
|
|
94
|
-
line-height: 60px;
|
|
95
|
-
background: white;
|
|
96
|
-
border-bottom: 1px solid #dedddd;
|
|
97
|
-
|
|
98
|
-
.header-back-block {
|
|
99
|
-
float: left;
|
|
100
|
-
}
|
|
101
|
-
.header-button-block {
|
|
102
|
-
float: right;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
@media screen and (max-width: 1600px) {
|
|
106
|
-
.content-box {
|
|
107
|
-
width: 95%;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@import 'variables';
|
|
2
|
-
|
|
3
|
-
.webex-table {
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin: auto;
|
|
6
|
-
|
|
7
|
-
tr {
|
|
8
|
-
border-bottom: 1px solid $webex-tr-border;
|
|
9
|
-
}
|
|
10
|
-
th {
|
|
11
|
-
background: $webex-table-th-bg;
|
|
12
|
-
color: $webex-table-th-txt;
|
|
13
|
-
font-size: $webex-table-th-size;
|
|
14
|
-
}
|
|
15
|
-
td {
|
|
16
|
-
background: $webex-table-td-bg;
|
|
17
|
-
color: $webex-table-td-txt;
|
|
18
|
-
font-size: $webex-table-td-size;
|
|
19
|
-
}
|
|
20
|
-
tr:hover td {
|
|
21
|
-
background: $webex-tr-hover-bg;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
25
|
-
border-bottom: 1px solid $webex-tr-border;
|
|
26
|
-
}
|
|
27
|
-
tr.mat-header-row {
|
|
28
|
-
height: 37px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"compileOnSave": false,
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"typeRoots": ["node_modules/@types"],
|
|
6
|
-
|
|
7
|
-
"baseUrl": "./",
|
|
8
|
-
"outDir": "./dist/out-tsc",
|
|
9
|
-
"forceConsistentCasingInFileNames": true,
|
|
10
|
-
"strict": true,
|
|
11
|
-
"noImplicitOverride": true,
|
|
12
|
-
"noPropertyAccessFromIndexSignature": true,
|
|
13
|
-
"noImplicitReturns": true,
|
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
|
15
|
-
"sourceMap": true,
|
|
16
|
-
"declaration": false,
|
|
17
|
-
"downlevelIteration": true,
|
|
18
|
-
"experimentalDecorators": true,
|
|
19
|
-
"moduleResolution": "node",
|
|
20
|
-
"importHelpers": true,
|
|
21
|
-
"target": "es2015",
|
|
22
|
-
"module": "es2015",
|
|
23
|
-
"lib": [
|
|
24
|
-
"es2017",
|
|
25
|
-
"es2016",
|
|
26
|
-
"dom"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
"angularCompilerOptions": {
|
|
30
|
-
"enableI18nLegacyMessageIdFormat": true,
|
|
31
|
-
"strictInjectionParameters": false,
|
|
32
|
-
"strictInputAccessModifiers": false,
|
|
33
|
-
"strictTemplates": false,
|
|
34
|
-
"strictPropertyInitialization": false
|
|
35
|
-
},
|
|
36
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../../out-tsc/spec",
|
|
6
|
-
"types": [
|
|
7
|
-
"jasmine"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"src/test.ts"
|
|
12
|
-
],
|
|
13
|
-
"include": [
|
|
14
|
-
"**/*.spec.ts",
|
|
15
|
-
"**/*.d.ts"
|
|
16
|
-
]
|
|
17
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export const API = {
|
|
2
|
-
USER_TOKEN: '/api/provision/:siteId/users/:userId/token',
|
|
3
|
-
UPDATE_USER_FIELDS: '/api/provision/:siteId/userFields/:token',
|
|
4
|
-
PERSIST_USER_CACHE: '/api/provision/:siteId/saveUser/:token',
|
|
5
|
-
USER_BY_ID: '/api/provision/:siteId/users/:userId',
|
|
6
|
-
QUICK_USERS_SEARCH: "/api/search/quickusers",
|
|
7
|
-
LOCATION: "/api/provision/options/:siteId/locations",
|
|
8
|
-
USER_LOCALES: "/api/provision/options/:siteId/userlocales",
|
|
9
|
-
USER_PROFILES: "/api/provision/options/:siteId/userprofiles"
|
|
10
|
-
};
|
|
11
|
-
export const REGEX_PATTERN = {
|
|
12
|
-
EMAIL: '^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))' +
|
|
13
|
-
'@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])' +
|
|
14
|
-
'?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])?)*$'
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export const PAGINATION_DEFAULTS = {
|
|
18
|
-
SIZE: 10,
|
|
19
|
-
INDEX: 0
|
|
20
|
-
}
|
|
21
|
-
export const PAGINATION_SIZE_OPTIONS = [
|
|
22
|
-
10,
|
|
23
|
-
50,
|
|
24
|
-
100,
|
|
25
|
-
500
|
|
26
|
-
];
|
|
27
|
-
export const CUCS_TO_IGNORE = [
|
|
28
|
-
189,
|
|
29
|
-
194,
|
|
30
|
-
191,
|
|
31
|
-
190
|
|
32
|
-
];
|
|
33
|
-
export const CUCMS_TO_IGNORE = [
|
|
34
|
-
249,
|
|
35
|
-
255,
|
|
36
|
-
251,
|
|
37
|
-
250
|
|
38
|
-
];
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import { EntityChangeType } from './line';
|
|
2
|
-
|
|
3
|
-
export interface DeviceInterface {
|
|
4
|
-
name: string;
|
|
5
|
-
newName: string;
|
|
6
|
-
pkid: string;
|
|
7
|
-
entityChangeType: EntityChangeType;
|
|
8
|
-
deviceType: string;
|
|
9
|
-
protocol: string;
|
|
10
|
-
description: string;
|
|
11
|
-
buttonTemplate: string;
|
|
12
|
-
softkeyTemplate: string;
|
|
13
|
-
devicePoolName: string;
|
|
14
|
-
location: string;
|
|
15
|
-
userLocale: string;
|
|
16
|
-
enabledExtensionMobility: boolean;
|
|
17
|
-
callingSearchSpaceName: string;
|
|
18
|
-
services: string[];
|
|
19
|
-
networkLocale: string;
|
|
20
|
-
securityProfile: string;
|
|
21
|
-
lineAssociations: LineAssociationInterface[];
|
|
22
|
-
speedDials: SpeedDialInterface[];
|
|
23
|
-
sipProfile: string;
|
|
24
|
-
subscribeCallingSearchSpaceName: string;
|
|
25
|
-
commonPhoneConfigName: string;
|
|
26
|
-
ctiRemoteDevice: boolean;
|
|
27
|
-
firstExpansionModule: string;
|
|
28
|
-
secondExpansionModule: string;
|
|
29
|
-
thirdExpansionModule: string;
|
|
30
|
-
builtInBridge: string;
|
|
31
|
-
extraOptions?: DeviceExtraOptionsInterface;
|
|
32
|
-
formDisabledControls?: string[];
|
|
33
|
-
sharedUsers: string[];
|
|
34
|
-
busyLampFields: BusyLampFieldsInterface[];
|
|
35
|
-
meetMeEnabled: boolean;
|
|
36
|
-
deviceKind?: any;
|
|
37
|
-
isCtiRoutePoint?: boolean;
|
|
38
|
-
cucmId: string;
|
|
39
|
-
plarDevice?: boolean;
|
|
40
|
-
firmwareVersion?: any;
|
|
41
|
-
certificateOperation: string;
|
|
42
|
-
authenticationMode: string;
|
|
43
|
-
authenticationString?: string;
|
|
44
|
-
rsaKeySize?: string;
|
|
45
|
-
operationCompletesBy: string;
|
|
46
|
-
certificateStatus: string;
|
|
47
|
-
day?: string;
|
|
48
|
-
month?: string;
|
|
49
|
-
year?: string;
|
|
50
|
-
hour?: string;
|
|
51
|
-
securityProfileUuid?: string;
|
|
52
|
-
excludeDeviceExtraOptions?: boolean;
|
|
53
|
-
webexUUID?: string;
|
|
54
|
-
}
|
|
55
|
-
export interface LineAssociationInterface {
|
|
56
|
-
index: number;
|
|
57
|
-
position?: number;
|
|
58
|
-
e164Mask: string;
|
|
59
|
-
textLabel: string;
|
|
60
|
-
displayLabel: string;
|
|
61
|
-
displayLabelAscii: string;
|
|
62
|
-
directoryNumber: LineDirectoryInterface;
|
|
63
|
-
didPattern: TranslationPatternInterface;
|
|
64
|
-
mappedDids: Array<string>;
|
|
65
|
-
linePkid: string;
|
|
66
|
-
maxNumberOfCalls: number;
|
|
67
|
-
busyTrigger: number;
|
|
68
|
-
recordingOption: RecordingOptions;
|
|
69
|
-
recordingProfile: string;
|
|
70
|
-
recordingMediaSource: string;
|
|
71
|
-
visualMWI: string;
|
|
72
|
-
audibleMWI: string;
|
|
73
|
-
ringSetting_idle: string;
|
|
74
|
-
ringSetting_active: string;
|
|
75
|
-
pickupAAS_idle: string;
|
|
76
|
-
pickupAAS_active: string;
|
|
77
|
-
monitorCSS: string;
|
|
78
|
-
logMissedCall: string;
|
|
79
|
-
callInfoDisplay: LineCallInfoDisplayInterface;
|
|
80
|
-
lineLocalId: string;
|
|
81
|
-
sharedUsers: string[];
|
|
82
|
-
sharedDevices: string[];
|
|
83
|
-
ownerUserId: Array<string>;
|
|
84
|
-
associated: boolean;
|
|
85
|
-
populateWithDid: boolean;
|
|
86
|
-
}
|
|
87
|
-
export interface SpeedDialInterface {
|
|
88
|
-
index: number;
|
|
89
|
-
position: number;
|
|
90
|
-
destination: string;
|
|
91
|
-
label: string;
|
|
92
|
-
editMode?: boolean;
|
|
93
|
-
}
|
|
94
|
-
export interface LineDirectoryInterface {
|
|
95
|
-
directoryNumber: string;
|
|
96
|
-
routePartitionName: string;
|
|
97
|
-
pkid: string;
|
|
98
|
-
dnType: string;
|
|
99
|
-
subType?: string;
|
|
100
|
-
templateDirectoryNumber?: string;
|
|
101
|
-
}
|
|
102
|
-
export interface TranslationPatternInterface {
|
|
103
|
-
pattern: string;
|
|
104
|
-
calledPartyTransformationMask: string;
|
|
105
|
-
description?: string;
|
|
106
|
-
site?: SiteShortDataInterface;
|
|
107
|
-
hasMultipleSites?: boolean;
|
|
108
|
-
multipleSitesId?: string;
|
|
109
|
-
}
|
|
110
|
-
export enum RecordingOptions {
|
|
111
|
-
disabled = 'Call Recording Disabled',
|
|
112
|
-
auto_enabled = 'Automatic Call Recording Enabled',
|
|
113
|
-
selective_enabled = 'Selective Call Recording Enabled'
|
|
114
|
-
}
|
|
115
|
-
export interface LineCallInfoDisplayInterface {
|
|
116
|
-
callerName: string;
|
|
117
|
-
callerNumber: string;
|
|
118
|
-
redirectedNumber: string;
|
|
119
|
-
dialedNumber: string;
|
|
120
|
-
}
|
|
121
|
-
export interface SiteShortDataInterface {
|
|
122
|
-
id: number;
|
|
123
|
-
name: string;
|
|
124
|
-
}
|
|
125
|
-
export interface DeviceExtraOptionsInterface {
|
|
126
|
-
mediaResourceGroupList: string;
|
|
127
|
-
userHoldMOHAudioSourceId: number;
|
|
128
|
-
userHoldMOHAudioSourceName: string;
|
|
129
|
-
networkMOHAudioSourceId: number;
|
|
130
|
-
networkMOHAudioSourceName: string;
|
|
131
|
-
aarCss: string;
|
|
132
|
-
aarGroup: string;
|
|
133
|
-
privacy: string;
|
|
134
|
-
deviceMobilityMode: string;
|
|
135
|
-
mobilityUserId: string;
|
|
136
|
-
phonePersonalization: string;
|
|
137
|
-
servicesProvisioning: string;
|
|
138
|
-
phoneLoadName: string;
|
|
139
|
-
phoneIdleBLFAlertSetting: string;
|
|
140
|
-
phoneBusyBLFAlertSetting: string;
|
|
141
|
-
useTrustedRelayPoint: string;
|
|
142
|
-
alwaysUsePrimeLine: string;
|
|
143
|
-
alwaysUsePrimeLineForVoiceMessage: string;
|
|
144
|
-
geolocation: string;
|
|
145
|
-
emergencyLocation: string;
|
|
146
|
-
ignorePresentationIndicators: boolean;
|
|
147
|
-
loggedIntoHuntGroup: boolean;
|
|
148
|
-
enabledExtensionMobility: boolean;
|
|
149
|
-
remoteDevice: boolean;
|
|
150
|
-
protectedDevice: boolean;
|
|
151
|
-
hotlineDevice: boolean;
|
|
152
|
-
useDevicePoolCgpnIngressDN: boolean;
|
|
153
|
-
cgpnIngressDN: string;
|
|
154
|
-
useDevicePoolCgpnTransformCss: boolean;
|
|
155
|
-
cgpnTransformationCss: string;
|
|
156
|
-
packetCaptureMode: string;
|
|
157
|
-
packetCaptureDuration: number;
|
|
158
|
-
blfPresenceGroup: string;
|
|
159
|
-
sipDialRules: string;
|
|
160
|
-
mtpPreferredOriginatingCodec: string;
|
|
161
|
-
rerouteCss: string;
|
|
162
|
-
subscribeCss: string;
|
|
163
|
-
mtpRequired: boolean;
|
|
164
|
-
unattendedPort: boolean;
|
|
165
|
-
requireDtmfReception: boolean;
|
|
166
|
-
informationUrl: string;
|
|
167
|
-
directoryUrl: string;
|
|
168
|
-
messagesUrl: string;
|
|
169
|
-
servicesUrl: string;
|
|
170
|
-
authenticationUrl: string;
|
|
171
|
-
proxyServerUrl: string;
|
|
172
|
-
idleUrl: string;
|
|
173
|
-
idleTimeout: string;
|
|
174
|
-
secureAuthenticationUrl: string;
|
|
175
|
-
secureDirectoryUrl: string;
|
|
176
|
-
secureIdleUrl: string;
|
|
177
|
-
secureInformationUrl: string;
|
|
178
|
-
secureMessageUrl: string;
|
|
179
|
-
secureServicesUrl: string;
|
|
180
|
-
mlppDomain: string;
|
|
181
|
-
mlppIndication: string;
|
|
182
|
-
mlppPreemption: string;
|
|
183
|
-
confidentialAccessMode: string;
|
|
184
|
-
confidentialAccessLevel: string;
|
|
185
|
-
confidentialAccessLevelName: string;
|
|
186
|
-
doNotDisturb: boolean;
|
|
187
|
-
dndOption: string;
|
|
188
|
-
dndIncomingCallAlert: string;
|
|
189
|
-
disableSpeakerphone: boolean;
|
|
190
|
-
disableSpeakerphoneAndHeadset: boolean;
|
|
191
|
-
forwardingDelay: boolean;
|
|
192
|
-
pcPort: boolean;
|
|
193
|
-
settingsAccess: string;
|
|
194
|
-
gratuitousARP: boolean;
|
|
195
|
-
pcVoiceVlanAccess: boolean;
|
|
196
|
-
videoCapabilities: boolean;
|
|
197
|
-
webAccess: boolean;
|
|
198
|
-
daysDisplayNotActive: string[];
|
|
199
|
-
displayOnTime: string;
|
|
200
|
-
displayOnDuration: string;
|
|
201
|
-
displayIdleTimeout: string;
|
|
202
|
-
wirelessHeadsetHookswitchControl: boolean;
|
|
203
|
-
minRingVolume: string;
|
|
204
|
-
showAllCallsOnPL: boolean;
|
|
205
|
-
lineMode: string;
|
|
206
|
-
latentCapabilityRegistration: string;
|
|
207
|
-
analogGatewayPortInformation: AnalogGatewayPortInformationInterFace;
|
|
208
|
-
}
|
|
209
|
-
export interface AnalogGatewayPortInformationInterFace {
|
|
210
|
-
portDirection: string;
|
|
211
|
-
prefixDn: string;
|
|
212
|
-
numDigits: number;
|
|
213
|
-
expectedDigits: number;
|
|
214
|
-
smdiPortNumber: number;
|
|
215
|
-
trunk: string;
|
|
216
|
-
unattendedPort: string;
|
|
217
|
-
}
|
|
218
|
-
export interface BusyLampFieldsInterface {
|
|
219
|
-
index: number;
|
|
220
|
-
position: number;
|
|
221
|
-
destination: string;
|
|
222
|
-
dnWithRoutePartition: string;
|
|
223
|
-
label: string;
|
|
224
|
-
callPickup: boolean;
|
|
225
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
export interface LineInterface {
|
|
2
|
-
description: string;
|
|
3
|
-
pkid: string;
|
|
4
|
-
entityChangeType: EntityChangeType;
|
|
5
|
-
alertingName: string;
|
|
6
|
-
asciiAlertingName: string;
|
|
7
|
-
callingSearchSpace: string;
|
|
8
|
-
voiceMailProfile: string;
|
|
9
|
-
noAnswerRingDuration: number;
|
|
10
|
-
autoAnswer: string;
|
|
11
|
-
directoryNumber: LineDirectoryInterface;
|
|
12
|
-
didPatterns: Array<TranslationPatternInterface>;
|
|
13
|
-
mappedDids: Array<string>;
|
|
14
|
-
aarSettings: LineAarInterface;
|
|
15
|
-
callForwardAll: CallInterface;
|
|
16
|
-
callForwardAllSecondaryCSS: CallInterface;
|
|
17
|
-
callForwardBusyInternal: CallInterface;
|
|
18
|
-
callForwardBusyExternal: CallInterface;
|
|
19
|
-
callForwardNoAnswerInternal: CallInterface;
|
|
20
|
-
callForwardNoAnswerExternal: CallInterface;
|
|
21
|
-
callForwardNoCoverageInternal: CallInterface;
|
|
22
|
-
callForwardNoCoverageExternal: CallInterface;
|
|
23
|
-
callForwardOnCTIFailure: CallInterface;
|
|
24
|
-
callForwardUnregisteredInternal: CallInterface;
|
|
25
|
-
callForwardUnregisteredExternal: CallInterface;
|
|
26
|
-
parkMonitoringExternal: LineParkMonitoringInterface;
|
|
27
|
-
parkMonitoringInternal: LineParkMonitoringInterface;
|
|
28
|
-
callPickupGroup: string;
|
|
29
|
-
localId: string;
|
|
30
|
-
urgentPriority: boolean;
|
|
31
|
-
blfPresenceGroup: string;
|
|
32
|
-
userHoldMOHAudioSourceId: string;
|
|
33
|
-
userHoldMOHAudioSourceName: string;
|
|
34
|
-
networkMOHAudioSourceId: string;
|
|
35
|
-
networkMOHAudioSourceName: string;
|
|
36
|
-
rejectAnonymousCall: boolean;
|
|
37
|
-
enterpriseAltNum: AlternateNumberInterface;
|
|
38
|
-
e164AltNum: AlternateNumberInterface;
|
|
39
|
-
directoryUris: Array<DirectoryUriInterface>;
|
|
40
|
-
callForwardAlternateParty: ParkMonitoringInterface;
|
|
41
|
-
mlppNoAnswerRingDuration: number;
|
|
42
|
-
confidentialAccessMode: string;
|
|
43
|
-
confidentialAccessLevel: string;
|
|
44
|
-
confidentialAccessLevelName: string;
|
|
45
|
-
callControlAgentProfile: string;
|
|
46
|
-
holdReversionRingDuration: number;
|
|
47
|
-
holdReversionNotificationInterval: number;
|
|
48
|
-
partyEntranceTone: string;
|
|
49
|
-
pstnFailover: string;
|
|
50
|
-
isExistingLine?: boolean;
|
|
51
|
-
plarDestinationNumber: string;
|
|
52
|
-
prefixDigits: string;
|
|
53
|
-
plarDescription: string;
|
|
54
|
-
plarEnabled: boolean;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export enum EntityChangeType {
|
|
58
|
-
added = 'added',
|
|
59
|
-
updated = 'updated',
|
|
60
|
-
existing = 'existing',
|
|
61
|
-
removed = 'removed',
|
|
62
|
-
unassociated = 'unassociated'
|
|
63
|
-
}
|
|
64
|
-
export interface LineDirectoryInterface {
|
|
65
|
-
directoryNumber: string;
|
|
66
|
-
routePartitionName: string;
|
|
67
|
-
pkid: string;
|
|
68
|
-
dnType: string;
|
|
69
|
-
subType?: string;
|
|
70
|
-
templateDirectoryNumber?: string;
|
|
71
|
-
}
|
|
72
|
-
export interface TranslationPatternInterface {
|
|
73
|
-
pattern: string;
|
|
74
|
-
calledPartyTransformationMask: string;
|
|
75
|
-
description?: string;
|
|
76
|
-
site?: SiteShortDataInterface;
|
|
77
|
-
hasMultipleSites?: boolean;
|
|
78
|
-
multipleSitesId?: string;
|
|
79
|
-
}
|
|
80
|
-
export interface SiteShortDataInterface {
|
|
81
|
-
id: number;
|
|
82
|
-
name: string;
|
|
83
|
-
}
|
|
84
|
-
export interface LineAarInterface {
|
|
85
|
-
aarDestinationMask: string;
|
|
86
|
-
aarGroup: string;
|
|
87
|
-
aarVoiceMailEnabled: boolean;
|
|
88
|
-
aarKeepCallHistory: boolean;
|
|
89
|
-
}
|
|
90
|
-
export interface CallInterface {
|
|
91
|
-
forwardToVoiceMail: boolean;
|
|
92
|
-
destination: string;
|
|
93
|
-
callingSearchSpace: string;
|
|
94
|
-
}
|
|
95
|
-
export interface LineParkMonitoringInterface {
|
|
96
|
-
voiceMail: boolean;
|
|
97
|
-
destination: string;
|
|
98
|
-
callingSearchSpace: string;
|
|
99
|
-
}
|
|
100
|
-
export interface AlternateNumberInterface {
|
|
101
|
-
numberMask: string;
|
|
102
|
-
addLocalRoutePartition: boolean;
|
|
103
|
-
routePartition: string;
|
|
104
|
-
isUrgent: boolean;
|
|
105
|
-
advertiseGloballyIls: boolean;
|
|
106
|
-
}
|
|
107
|
-
export interface DirectoryUriInterface {
|
|
108
|
-
primary: boolean;
|
|
109
|
-
uri: string;
|
|
110
|
-
routePartition: string;
|
|
111
|
-
advertiseGloballyIls: boolean;
|
|
112
|
-
}
|
|
113
|
-
export interface ParkMonitoringInterface {
|
|
114
|
-
destination: string;
|
|
115
|
-
callingSearchSpace: string;
|
|
116
|
-
voiceMail: boolean;
|
|
117
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { environment } from '../environments/environment';
|
|
2
|
-
const TTL_DEFAULT = environment.notificationsLifetime;
|
|
3
|
-
const TTL_LONG_DEFAULT = environment.longNotificationsLifetime;
|
|
4
|
-
|
|
5
|
-
export enum NotificationType {
|
|
6
|
-
info = 'info',
|
|
7
|
-
error = 'error',
|
|
8
|
-
success = 'success',
|
|
9
|
-
warning = 'warning'
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export class Notification {
|
|
13
|
-
id?: number;
|
|
14
|
-
type?: NotificationType;
|
|
15
|
-
message?: string;
|
|
16
|
-
ttl: number = TTL_DEFAULT;
|
|
17
|
-
timerId?: any;
|
|
18
|
-
|
|
19
|
-
constructor(data: any) {
|
|
20
|
-
Object.assign(this, data || {});
|
|
21
|
-
|
|
22
|
-
if(this.ttl === undefined) {
|
|
23
|
-
this.ttl = this.message && this.message.length && this.message.length < 80 ? TTL_DEFAULT : TTL_LONG_DEFAULT;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
isInfo(): boolean {
|
|
28
|
-
return this.type === NotificationType.info;
|
|
29
|
-
}
|
|
30
|
-
isError(): boolean {
|
|
31
|
-
return this.type === NotificationType.error;
|
|
32
|
-
}
|
|
33
|
-
isSuccess(): boolean {
|
|
34
|
-
return this.type === NotificationType.success;
|
|
35
|
-
}
|
|
36
|
-
isWarning(): boolean {
|
|
37
|
-
return this.type === NotificationType.warning;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface PaginationDataDtoInterface {
|
|
2
|
-
total: number;
|
|
3
|
-
pageSizeOptions?: number[];
|
|
4
|
-
pageSize: number;
|
|
5
|
-
pageIndex: number;
|
|
6
|
-
}
|
|
7
|
-
export class PaginationDataDto {
|
|
8
|
-
total?: number;
|
|
9
|
-
pageSizeOptions?: number[];
|
|
10
|
-
pageSize?: number;
|
|
11
|
-
pageIndex?: number;
|
|
12
|
-
|
|
13
|
-
constructor(pagination: PaginationDataDtoInterface) {
|
|
14
|
-
if (pagination) {
|
|
15
|
-
Object.assign(this, pagination);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|