@tuki-io/tuki-widgets 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/esm2020/lib/widgets.component.mjs +22 -22
- package/esm2020/lib/widgets.module.mjs +21 -21
- package/esm2020/lib/widgets.service.mjs +14 -14
- package/esm2020/public-api.mjs +7 -7
- package/esm2020/tuki-io-tuki-widgets.mjs +4 -4
- package/esm2020/user-device-manage/public-api.mjs +9 -9
- package/esm2020/user-device-manage/src/app.constants.mjs +95 -95
- package/esm2020/user-device-manage/src/classes/device.mjs +85 -85
- package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +2 -2
- package/esm2020/user-device-manage/src/classes/line-association.mjs +121 -121
- package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +10 -10
- package/esm2020/user-device-manage/src/classes/line-directory.mjs +27 -27
- package/esm2020/user-device-manage/src/classes/line.mjs +18 -18
- package/esm2020/user-device-manage/src/classes/notification.mjs +32 -32
- package/esm2020/user-device-manage/src/classes/recording-options.mjs +7 -7
- package/esm2020/user-device-manage/src/classes/simplified-user.mjs +111 -111
- package/esm2020/user-device-manage/src/classes/site-defaults.mjs +21 -21
- package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +32 -32
- package/esm2020/user-device-manage/src/classes/types.mjs +24 -24
- package/esm2020/user-device-manage/src/common-functions.mjs +19 -19
- package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +34 -34
- package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +31 -31
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +16 -16
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +64 -64
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +179 -179
- package/esm2020/user-device-manage/src/device-list/device-list.component.mjs +24 -24
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +335 -335
- package/esm2020/user-device-manage/src/environments/environment.mjs +11 -11
- package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +36 -36
- package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +74 -74
- package/esm2020/user-device-manage/src/material.module.mjs +192 -192
- package/esm2020/user-device-manage/src/notifications/notification.component.mjs +35 -35
- package/esm2020/user-device-manage/src/services/api.service.mjs +79 -79
- package/esm2020/user-device-manage/src/services/device.service.mjs +83 -83
- package/esm2020/user-device-manage/src/services/dns.service.mjs +104 -104
- package/esm2020/user-device-manage/src/services/line.service.mjs +76 -76
- package/esm2020/user-device-manage/src/services/notification.service.mjs +62 -62
- package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +25 -25
- package/esm2020/user-device-manage/src/services/site-settings.service.mjs +70 -70
- package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +197 -197
- package/esm2020/user-device-manage/src/services/user.service.mjs +243 -243
- package/esm2020/user-device-manage/src/services/utils.service.mjs +87 -87
- package/esm2020/user-device-manage/src/services/validation.service.mjs +760 -760
- package/esm2020/user-device-manage/src/user-device-manage.module.mjs +107 -107
- package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +14 -14
- package/esm2020/user-device-manage/tuki-io-tuki-widgets-user-device-manage.mjs +4 -4
- package/esm2020/user-manage/public-api.mjs +7 -7
- package/esm2020/user-manage/src/app.constants.mjs +50 -50
- package/esm2020/user-manage/src/classes/device.mjs +37 -37
- package/esm2020/user-manage/src/classes/line-association-interface.mjs +2 -2
- package/esm2020/user-manage/src/classes/line-association.mjs +110 -110
- package/esm2020/user-manage/src/classes/line-call-info-display.mjs +10 -10
- package/esm2020/user-manage/src/classes/line-directory.mjs +27 -27
- package/esm2020/user-manage/src/classes/line.mjs +18 -18
- package/esm2020/user-manage/src/classes/notification.mjs +32 -32
- package/esm2020/user-manage/src/classes/pagination.mjs +8 -8
- package/esm2020/user-manage/src/classes/recording-options.mjs +7 -7
- package/esm2020/user-manage/src/classes/simplified-user.mjs +109 -109
- package/esm2020/user-manage/src/classes/table-data.mjs +2 -2
- package/esm2020/user-manage/src/classes/translation-pattern.mjs +32 -32
- package/esm2020/user-manage/src/classes/user-list.mjs +10 -10
- package/esm2020/user-manage/src/common-functions.mjs +19 -19
- package/esm2020/user-manage/src/device-list/device-list.component.mjs +24 -24
- package/esm2020/user-manage/src/environments/environment.mjs +11 -11
- package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +36 -36
- package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +74 -74
- package/esm2020/user-manage/src/material.module.mjs +188 -188
- package/esm2020/user-manage/src/notifications/notification.component.mjs +35 -35
- package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +25 -25
- package/esm2020/user-manage/src/services/api.service.mjs +79 -79
- package/esm2020/user-manage/src/services/dns.service.mjs +110 -110
- package/esm2020/user-manage/src/services/line.service.mjs +34 -34
- package/esm2020/user-manage/src/services/notification.service.mjs +62 -62
- package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +25 -25
- package/esm2020/user-manage/src/services/site-settings.service.mjs +36 -36
- package/esm2020/user-manage/src/services/sorting-utils.service.mjs +197 -197
- package/esm2020/user-manage/src/services/user.service.mjs +207 -207
- package/esm2020/user-manage/src/services/users-search.service.mjs +49 -49
- package/esm2020/user-manage/src/services/utils.service.mjs +73 -73
- package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +65 -65
- package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +78 -78
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +20 -20
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +208 -208
- package/esm2020/user-manage/src/user-manage.module.mjs +99 -99
- package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +14 -14
- package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +43 -43
- package/esm2020/user-manage/tuki-io-tuki-widgets-user-manage.mjs +4 -4
- package/esm2020/users-list/public-api.mjs +9 -9
- package/esm2020/users-list/src/app.constants.mjs +50 -50
- package/esm2020/users-list/src/classes/device.mjs +7 -7
- package/esm2020/users-list/src/classes/line.mjs +18 -18
- package/esm2020/users-list/src/classes/notification.mjs +31 -31
- package/esm2020/users-list/src/classes/pagination.mjs +8 -8
- package/esm2020/users-list/src/classes/simlified-user.mjs +50 -50
- package/esm2020/users-list/src/classes/table-data.mjs +2 -2
- package/esm2020/users-list/src/classes/user-list.mjs +13 -13
- package/esm2020/users-list/src/material.module.mjs +209 -209
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +95 -95
- package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +35 -35
- package/esm2020/users-list/src/services/api-webex.service.mjs +17 -17
- package/esm2020/users-list/src/services/api.service.mjs +78 -78
- package/esm2020/users-list/src/services/dns.service.mjs +120 -120
- package/esm2020/users-list/src/services/events-communication.service.mjs +14 -14
- package/esm2020/users-list/src/services/notification.service.mjs +62 -62
- package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +25 -25
- package/esm2020/users-list/src/services/user.service.mjs +150 -150
- package/esm2020/users-list/src/services/users-search.service.mjs +120 -120
- package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +34 -34
- package/esm2020/users-list/src/users-list.component.mjs +259 -259
- package/esm2020/users-list/src/users-list.module.mjs +80 -80
- package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +14 -14
- package/esm2020/users-list/src/utils/common-functions.mjs +19 -19
- package/esm2020/users-list/src/utils/pagination/pagination.component.mjs +43 -43
- package/esm2020/users-list/src/utils/utils.service.mjs +73 -73
- package/esm2020/users-list/tuki-io-tuki-widgets-users-list.mjs +4 -4
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +3277 -3277
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +2004 -2004
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +1424 -1424
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets.mjs +48 -48
- package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +3239 -3239
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +1987 -1987
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +1413 -1413
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets.mjs +48 -48
- package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/widgets.component.d.ts +8 -8
- package/lib/widgets.module.d.ts +7 -7
- package/lib/widgets.service.d.ts +6 -6
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/user-device-manage/index.d.ts +5 -5
- package/user-device-manage/public-api.d.ts +8 -8
- package/user-device-manage/src/app.constants.d.ts +74 -74
- package/user-device-manage/src/classes/device.d.ts +233 -233
- package/user-device-manage/src/classes/line-association-interface.d.ts +45 -45
- package/user-device-manage/src/classes/line-association.d.ts +62 -62
- package/user-device-manage/src/classes/line-call-info-display.d.ts +11 -11
- package/user-device-manage/src/classes/line-directory.d.ts +15 -15
- package/user-device-manage/src/classes/line.d.ts +140 -140
- package/user-device-manage/src/classes/notification.d.ts +18 -18
- package/user-device-manage/src/classes/recording-options.d.ts +5 -5
- package/user-device-manage/src/classes/simplified-user.d.ts +52 -52
- package/user-device-manage/src/classes/site-defaults.d.ts +146 -146
- package/user-device-manage/src/classes/translation-pattern.d.ts +19 -19
- package/user-device-manage/src/classes/types.d.ts +19 -19
- package/user-device-manage/src/common-functions.d.ts +1 -1
- package/user-device-manage/src/confirm-dialog/info-dialog.component.d.ts +20 -20
- package/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.d.ts +15 -15
- package/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.d.ts +7 -7
- package/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.d.ts +24 -24
- package/user-device-manage/src/device-associated-line/device-associated-line.component.d.ts +89 -89
- package/user-device-manage/src/device-list/device-list.component.d.ts +11 -11
- package/user-device-manage/src/device-manage-widget.component.d.ts +71 -71
- package/user-device-manage/src/environments/environment.d.ts +9 -9
- package/user-device-manage/src/interseptors/auth.interceptor.d.ts +9 -9
- package/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +35 -35
- package/user-device-manage/src/material.module.d.ts +29 -29
- package/user-device-manage/src/notifications/notification.component.d.ts +19 -19
- package/user-device-manage/src/services/api.service.d.ts +20 -20
- package/user-device-manage/src/services/device.service.d.ts +21 -21
- package/user-device-manage/src/services/dns.service.d.ts +14 -14
- package/user-device-manage/src/services/line.service.d.ts +33 -33
- package/user-device-manage/src/services/notification.service.d.ts +18 -18
- package/user-device-manage/src/services/removeKynFromIBM.service.d.ts +8 -8
- package/user-device-manage/src/services/site-settings.service.d.ts +25 -25
- package/user-device-manage/src/services/sorting-utils.service.d.ts +26 -26
- package/user-device-manage/src/services/user.service.d.ts +51 -51
- package/user-device-manage/src/services/utils.service.d.ts +10 -10
- package/user-device-manage/src/services/validation.service.d.ts +165 -165
- package/user-device-manage/src/user-device-manage.module.d.ts +22 -22
- package/user-device-manage/src/utils/app-loader/app-loader.d.ts +6 -6
- package/user-manage/index.d.ts +5 -5
- package/user-manage/public-api.d.ts +6 -6
- package/user-manage/src/app.constants.d.ts +29 -29
- package/user-manage/src/classes/device.d.ts +203 -203
- package/user-manage/src/classes/line-association-interface.d.ts +40 -40
- package/user-manage/src/classes/line-association.d.ts +55 -55
- package/user-manage/src/classes/line-call-info-display.d.ts +11 -11
- package/user-manage/src/classes/line-directory.d.ts +16 -16
- package/user-manage/src/classes/line.d.ts +140 -140
- package/user-manage/src/classes/notification.d.ts +18 -18
- package/user-manage/src/classes/pagination.d.ts +13 -13
- package/user-manage/src/classes/recording-options.d.ts +5 -5
- package/user-manage/src/classes/simplified-user.d.ts +50 -50
- package/user-manage/src/classes/table-data.d.ts +5 -5
- package/user-manage/src/classes/translation-pattern.d.ts +18 -18
- package/user-manage/src/classes/user-list.d.ts +34 -34
- package/user-manage/src/common-functions.d.ts +1 -1
- package/user-manage/src/device-list/device-list.component.d.ts +11 -11
- package/user-manage/src/environments/environment.d.ts +9 -9
- package/user-manage/src/interseptors/auth.interceptor.d.ts +9 -9
- package/user-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +35 -35
- package/user-manage/src/material.module.d.ts +28 -28
- package/user-manage/src/notifications/notification.component.d.ts +19 -19
- package/user-manage/src/removeKynFromIBM.service.d.ts +8 -8
- package/user-manage/src/services/api.service.d.ts +21 -21
- package/user-manage/src/services/dns.service.d.ts +14 -14
- package/user-manage/src/services/line.service.d.ts +17 -17
- package/user-manage/src/services/notification.service.d.ts +18 -18
- package/user-manage/src/services/removeKynFromIBM.service.d.ts +8 -8
- package/user-manage/src/services/site-settings.service.d.ts +9 -9
- package/user-manage/src/services/sorting-utils.service.d.ts +26 -26
- package/user-manage/src/services/user.service.d.ts +43 -43
- package/user-manage/src/services/users-search.service.d.ts +25 -25
- package/user-manage/src/services/utils.service.d.ts +9 -9
- package/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.d.ts +24 -24
- package/user-manage/src/user-calling/user-calling.component.d.ts +30 -30
- package/user-manage/src/user-info/user-info.component.d.ts +9 -9
- package/user-manage/src/user-manage-widget.component.d.ts +45 -45
- package/user-manage/src/user-manage.module.d.ts +21 -21
- package/user-manage/src/utils/app-loader/app-loader.d.ts +6 -6
- package/user-manage/src/utils/pagination/pagination.component.d.ts +18 -18
- package/users-list/index.d.ts +5 -5
- package/users-list/public-api.d.ts +8 -8
- package/users-list/src/app.constants.d.ts +32 -32
- package/users-list/src/classes/device.d.ts +224 -224
- package/users-list/src/classes/line.d.ts +140 -140
- package/users-list/src/classes/notification.d.ts +18 -18
- package/users-list/src/classes/pagination.d.ts +13 -13
- package/users-list/src/classes/simlified-user.d.ts +25 -25
- package/users-list/src/classes/table-data.d.ts +5 -5
- package/users-list/src/classes/user-list.d.ts +36 -36
- package/users-list/src/material.module.d.ts +31 -31
- package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +25 -25
- package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +16 -16
- package/users-list/src/services/api-webex.service.d.ts +8 -8
- package/users-list/src/services/api.service.d.ts +21 -21
- package/users-list/src/services/dns.service.d.ts +18 -18
- package/users-list/src/services/events-communication.service.d.ts +8 -8
- package/users-list/src/services/notification.service.d.ts +18 -18
- package/users-list/src/services/removeKynFromIBM.service.d.ts +8 -8
- package/users-list/src/services/user.service.d.ts +34 -34
- package/users-list/src/services/users-search.service.d.ts +34 -34
- package/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.d.ts +20 -20
- package/users-list/src/users-list.component.d.ts +59 -59
- package/users-list/src/users-list.module.d.ts +16 -16
- package/users-list/src/utils/app-loader/app-loader.d.ts +6 -6
- package/users-list/src/utils/common-functions.d.ts +1 -1
- package/users-list/src/utils/pagination/pagination.component.d.ts +18 -18
- package/users-list/src/utils/utils.service.d.ts +9 -9
|
@@ -1,165 +1,165 @@
|
|
|
1
|
-
import { SiteSettingsService } from './site-settings.service';
|
|
2
|
-
import { Device } from './../classes/device';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ValidationService {
|
|
5
|
-
private siteSettingsService;
|
|
6
|
-
constructor(siteSettingsService: SiteSettingsService);
|
|
7
|
-
e164MaskLabel(control: any): {
|
|
8
|
-
e164MaskRule: {
|
|
9
|
-
rule: string;
|
|
10
|
-
};
|
|
11
|
-
} | null;
|
|
12
|
-
index(control: any): {
|
|
13
|
-
indexRule: boolean;
|
|
14
|
-
} | null;
|
|
15
|
-
displayLabel(control: any): {
|
|
16
|
-
labelRule: {
|
|
17
|
-
rule: string;
|
|
18
|
-
count: number;
|
|
19
|
-
};
|
|
20
|
-
} | null;
|
|
21
|
-
displayLabelAscii(control: any): {
|
|
22
|
-
labelRule: {
|
|
23
|
-
rule: string;
|
|
24
|
-
count: number;
|
|
25
|
-
};
|
|
26
|
-
} | null;
|
|
27
|
-
requiredForSpeedDialPosition(type: string): (control: any) => {
|
|
28
|
-
required: boolean;
|
|
29
|
-
} | null;
|
|
30
|
-
speedDialDestination(): (control: any) => {
|
|
31
|
-
pattern: boolean;
|
|
32
|
-
} | null;
|
|
33
|
-
requiredForSpeedDialDestination(type: string): (control: any) => null;
|
|
34
|
-
labelPatternDependingOnType(control: any): {
|
|
35
|
-
labelRule: {
|
|
36
|
-
wrong: string;
|
|
37
|
-
};
|
|
38
|
-
} | null;
|
|
39
|
-
labelPatternBLF(control: any): {
|
|
40
|
-
labelRule: {
|
|
41
|
-
wrong: string;
|
|
42
|
-
};
|
|
43
|
-
} | null;
|
|
44
|
-
labelPatternSpeedDial(control: any): {
|
|
45
|
-
labelRule: {
|
|
46
|
-
wrong: string;
|
|
47
|
-
};
|
|
48
|
-
} | null;
|
|
49
|
-
matchControl: (fieldName: string) => (control: any) => {
|
|
50
|
-
matchControl: boolean;
|
|
51
|
-
} | null;
|
|
52
|
-
matchLength: (fieldName: string) => (control: any) => {
|
|
53
|
-
matchLength: boolean;
|
|
54
|
-
} | null;
|
|
55
|
-
dynamicMaxLength: (length1: number, length2: number) => (control: any) => {
|
|
56
|
-
maxLength: boolean;
|
|
57
|
-
} | null;
|
|
58
|
-
biggerThan: (fieldName: string) => (control: any) => {
|
|
59
|
-
biggerThan: boolean;
|
|
60
|
-
} | null;
|
|
61
|
-
requiredByType: (fieldName: string, type: string) => (control: any) => {
|
|
62
|
-
required: boolean;
|
|
63
|
-
} | null;
|
|
64
|
-
smallerThanQuota: (fieldName: string, quotaType: string, secondQuotaType: string) => (control: any) => {
|
|
65
|
-
smallerThan: boolean;
|
|
66
|
-
} | null;
|
|
67
|
-
biggerThanQuota: (fieldName: string, quotaType: string) => (control: any) => {
|
|
68
|
-
biggerThan: boolean;
|
|
69
|
-
} | null;
|
|
70
|
-
rangeLimit: (fieldName: string) => (control: any) => {
|
|
71
|
-
rangeLimit: boolean;
|
|
72
|
-
} | null;
|
|
73
|
-
comparepatternParts: (fieldName: string) => (control: any) => {
|
|
74
|
-
comparepatternParts: boolean;
|
|
75
|
-
} | null;
|
|
76
|
-
matchPrefix: (fieldName: string) => (control: any) => {
|
|
77
|
-
matchPrefix: boolean;
|
|
78
|
-
} | null;
|
|
79
|
-
deviceNameValidator: (device: Device) => (control: any) => {
|
|
80
|
-
nameRule: string;
|
|
81
|
-
} | {
|
|
82
|
-
nameRule: {
|
|
83
|
-
caption: any;
|
|
84
|
-
};
|
|
85
|
-
} | null | undefined;
|
|
86
|
-
deviceNameValueValidator: (device: Device, deviceName: string) => (control: any) => {
|
|
87
|
-
nameRule: string;
|
|
88
|
-
} | {
|
|
89
|
-
nameRule: {
|
|
90
|
-
caption: any;
|
|
91
|
-
};
|
|
92
|
-
} | null | undefined;
|
|
93
|
-
deviceDuplicatingNameValidator: (user: any, pkid?: string, prefix?: string) => (control: any) => {
|
|
94
|
-
duplicateNameRule: boolean;
|
|
95
|
-
} | null | undefined;
|
|
96
|
-
conditionalRequired: (fieldName: string, requiredConditionValues: any[]) => (control: any) => {
|
|
97
|
-
required: boolean;
|
|
98
|
-
} | null | undefined;
|
|
99
|
-
conditionalRequiredForGroupAdmin: (fieldName: string, requiredConditionValues: any[]) => (control: any) => {
|
|
100
|
-
required: boolean;
|
|
101
|
-
} | null | undefined;
|
|
102
|
-
conditionalSiteGroupCheckForGroupAdmin: (fieldName: string, requiredConditionValues: any[]) => (control: any) => {
|
|
103
|
-
hasSiteGroupError: boolean;
|
|
104
|
-
} | null | undefined;
|
|
105
|
-
requiredIfFieldIsEmptyForBLF: (fieldName: any) => (control: any) => {
|
|
106
|
-
requiredEither: boolean;
|
|
107
|
-
requiredBLFDN: boolean;
|
|
108
|
-
} | null;
|
|
109
|
-
validDate: (fieldName: string) => (control: any) => {
|
|
110
|
-
pattern: boolean;
|
|
111
|
-
} | null;
|
|
112
|
-
matchOption: (optionType: string, list?: any, isFullList?: boolean) => (control: any) => {
|
|
113
|
-
matchOptions: boolean;
|
|
114
|
-
} | null;
|
|
115
|
-
confidentialAccessLevel: (confidentialAccessMode: string) => (control: any) => {
|
|
116
|
-
required: boolean;
|
|
117
|
-
} | null;
|
|
118
|
-
noResultDN: (optionType: string, list?: any) => (control: any) => {
|
|
119
|
-
noResultDNs: boolean;
|
|
120
|
-
} | null;
|
|
121
|
-
matchExtensionOption: (optionType: string, optionList?: any) => (control: any) => any;
|
|
122
|
-
getMatchExistingVmLineValue(dnWithType: string): string;
|
|
123
|
-
requiredEitherForVmExtension: (fieldName1: string, fieldName2: string) => (control: any) => {
|
|
124
|
-
requiredEitherForVmExtension: boolean;
|
|
125
|
-
} | null;
|
|
126
|
-
requiredEitherOne: (fieldName1: string, fieldName2: string) => (control: any) => {
|
|
127
|
-
requiredEitherOne: boolean;
|
|
128
|
-
} | null;
|
|
129
|
-
requiredByValue: (fieldName: string, requestedFieldVal: any) => (control: any) => {
|
|
130
|
-
required: boolean;
|
|
131
|
-
} | null;
|
|
132
|
-
OneExtensionEmpty: (fieldName1: string, fieldName2: string) => (control: any) => {
|
|
133
|
-
OneExtensionIsEmpty: boolean;
|
|
134
|
-
} | null;
|
|
135
|
-
requiredByCondition: (requiredBy: string, fieldName: any) => (control: any) => {
|
|
136
|
-
required: boolean;
|
|
137
|
-
} | null;
|
|
138
|
-
private getOptionsList;
|
|
139
|
-
autocompleteType(control: any): {
|
|
140
|
-
stringEntered: boolean;
|
|
141
|
-
} | null;
|
|
142
|
-
password(control: any): {
|
|
143
|
-
weakPassword: boolean;
|
|
144
|
-
} | null;
|
|
145
|
-
verifyAutoAnswer(control: any): null;
|
|
146
|
-
verifyBeginEndTime(control: any): {
|
|
147
|
-
fromGreaterThanTo: boolean;
|
|
148
|
-
} | null;
|
|
149
|
-
time(control: any): {
|
|
150
|
-
timeFormat: boolean;
|
|
151
|
-
} | null;
|
|
152
|
-
pinMultiCharacterCheck: (fieldName: string) => (control: any) => {
|
|
153
|
-
multiCharacter: boolean;
|
|
154
|
-
} | null | undefined;
|
|
155
|
-
pinConsecutiveNumberCheck: (fieldName: string) => (control: any) => {
|
|
156
|
-
consecutiveNumbers: boolean;
|
|
157
|
-
} | null | undefined;
|
|
158
|
-
pinOrderCheck(str: string): any;
|
|
159
|
-
pinMailboxExtensionCheck: (fieldName: string, extension: string) => (control: any) => {
|
|
160
|
-
mailboxExtension: boolean;
|
|
161
|
-
} | null;
|
|
162
|
-
isItemAlreadyInList(item: any, list: any): boolean;
|
|
163
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationService, never>;
|
|
164
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ValidationService>;
|
|
165
|
-
}
|
|
1
|
+
import { SiteSettingsService } from './site-settings.service';
|
|
2
|
+
import { Device } from './../classes/device';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ValidationService {
|
|
5
|
+
private siteSettingsService;
|
|
6
|
+
constructor(siteSettingsService: SiteSettingsService);
|
|
7
|
+
e164MaskLabel(control: any): {
|
|
8
|
+
e164MaskRule: {
|
|
9
|
+
rule: string;
|
|
10
|
+
};
|
|
11
|
+
} | null;
|
|
12
|
+
index(control: any): {
|
|
13
|
+
indexRule: boolean;
|
|
14
|
+
} | null;
|
|
15
|
+
displayLabel(control: any): {
|
|
16
|
+
labelRule: {
|
|
17
|
+
rule: string;
|
|
18
|
+
count: number;
|
|
19
|
+
};
|
|
20
|
+
} | null;
|
|
21
|
+
displayLabelAscii(control: any): {
|
|
22
|
+
labelRule: {
|
|
23
|
+
rule: string;
|
|
24
|
+
count: number;
|
|
25
|
+
};
|
|
26
|
+
} | null;
|
|
27
|
+
requiredForSpeedDialPosition(type: string): (control: any) => {
|
|
28
|
+
required: boolean;
|
|
29
|
+
} | null;
|
|
30
|
+
speedDialDestination(): (control: any) => {
|
|
31
|
+
pattern: boolean;
|
|
32
|
+
} | null;
|
|
33
|
+
requiredForSpeedDialDestination(type: string): (control: any) => null;
|
|
34
|
+
labelPatternDependingOnType(control: any): {
|
|
35
|
+
labelRule: {
|
|
36
|
+
wrong: string;
|
|
37
|
+
};
|
|
38
|
+
} | null;
|
|
39
|
+
labelPatternBLF(control: any): {
|
|
40
|
+
labelRule: {
|
|
41
|
+
wrong: string;
|
|
42
|
+
};
|
|
43
|
+
} | null;
|
|
44
|
+
labelPatternSpeedDial(control: any): {
|
|
45
|
+
labelRule: {
|
|
46
|
+
wrong: string;
|
|
47
|
+
};
|
|
48
|
+
} | null;
|
|
49
|
+
matchControl: (fieldName: string) => (control: any) => {
|
|
50
|
+
matchControl: boolean;
|
|
51
|
+
} | null;
|
|
52
|
+
matchLength: (fieldName: string) => (control: any) => {
|
|
53
|
+
matchLength: boolean;
|
|
54
|
+
} | null;
|
|
55
|
+
dynamicMaxLength: (length1: number, length2: number) => (control: any) => {
|
|
56
|
+
maxLength: boolean;
|
|
57
|
+
} | null;
|
|
58
|
+
biggerThan: (fieldName: string) => (control: any) => {
|
|
59
|
+
biggerThan: boolean;
|
|
60
|
+
} | null;
|
|
61
|
+
requiredByType: (fieldName: string, type: string) => (control: any) => {
|
|
62
|
+
required: boolean;
|
|
63
|
+
} | null;
|
|
64
|
+
smallerThanQuota: (fieldName: string, quotaType: string, secondQuotaType: string) => (control: any) => {
|
|
65
|
+
smallerThan: boolean;
|
|
66
|
+
} | null;
|
|
67
|
+
biggerThanQuota: (fieldName: string, quotaType: string) => (control: any) => {
|
|
68
|
+
biggerThan: boolean;
|
|
69
|
+
} | null;
|
|
70
|
+
rangeLimit: (fieldName: string) => (control: any) => {
|
|
71
|
+
rangeLimit: boolean;
|
|
72
|
+
} | null;
|
|
73
|
+
comparepatternParts: (fieldName: string) => (control: any) => {
|
|
74
|
+
comparepatternParts: boolean;
|
|
75
|
+
} | null;
|
|
76
|
+
matchPrefix: (fieldName: string) => (control: any) => {
|
|
77
|
+
matchPrefix: boolean;
|
|
78
|
+
} | null;
|
|
79
|
+
deviceNameValidator: (device: Device) => (control: any) => {
|
|
80
|
+
nameRule: string;
|
|
81
|
+
} | {
|
|
82
|
+
nameRule: {
|
|
83
|
+
caption: any;
|
|
84
|
+
};
|
|
85
|
+
} | null | undefined;
|
|
86
|
+
deviceNameValueValidator: (device: Device, deviceName: string) => (control: any) => {
|
|
87
|
+
nameRule: string;
|
|
88
|
+
} | {
|
|
89
|
+
nameRule: {
|
|
90
|
+
caption: any;
|
|
91
|
+
};
|
|
92
|
+
} | null | undefined;
|
|
93
|
+
deviceDuplicatingNameValidator: (user: any, pkid?: string, prefix?: string) => (control: any) => {
|
|
94
|
+
duplicateNameRule: boolean;
|
|
95
|
+
} | null | undefined;
|
|
96
|
+
conditionalRequired: (fieldName: string, requiredConditionValues: any[]) => (control: any) => {
|
|
97
|
+
required: boolean;
|
|
98
|
+
} | null | undefined;
|
|
99
|
+
conditionalRequiredForGroupAdmin: (fieldName: string, requiredConditionValues: any[]) => (control: any) => {
|
|
100
|
+
required: boolean;
|
|
101
|
+
} | null | undefined;
|
|
102
|
+
conditionalSiteGroupCheckForGroupAdmin: (fieldName: string, requiredConditionValues: any[]) => (control: any) => {
|
|
103
|
+
hasSiteGroupError: boolean;
|
|
104
|
+
} | null | undefined;
|
|
105
|
+
requiredIfFieldIsEmptyForBLF: (fieldName: any) => (control: any) => {
|
|
106
|
+
requiredEither: boolean;
|
|
107
|
+
requiredBLFDN: boolean;
|
|
108
|
+
} | null;
|
|
109
|
+
validDate: (fieldName: string) => (control: any) => {
|
|
110
|
+
pattern: boolean;
|
|
111
|
+
} | null;
|
|
112
|
+
matchOption: (optionType: string, list?: any, isFullList?: boolean) => (control: any) => {
|
|
113
|
+
matchOptions: boolean;
|
|
114
|
+
} | null;
|
|
115
|
+
confidentialAccessLevel: (confidentialAccessMode: string) => (control: any) => {
|
|
116
|
+
required: boolean;
|
|
117
|
+
} | null;
|
|
118
|
+
noResultDN: (optionType: string, list?: any) => (control: any) => {
|
|
119
|
+
noResultDNs: boolean;
|
|
120
|
+
} | null;
|
|
121
|
+
matchExtensionOption: (optionType: string, optionList?: any) => (control: any) => any;
|
|
122
|
+
getMatchExistingVmLineValue(dnWithType: string): string;
|
|
123
|
+
requiredEitherForVmExtension: (fieldName1: string, fieldName2: string) => (control: any) => {
|
|
124
|
+
requiredEitherForVmExtension: boolean;
|
|
125
|
+
} | null;
|
|
126
|
+
requiredEitherOne: (fieldName1: string, fieldName2: string) => (control: any) => {
|
|
127
|
+
requiredEitherOne: boolean;
|
|
128
|
+
} | null;
|
|
129
|
+
requiredByValue: (fieldName: string, requestedFieldVal: any) => (control: any) => {
|
|
130
|
+
required: boolean;
|
|
131
|
+
} | null;
|
|
132
|
+
OneExtensionEmpty: (fieldName1: string, fieldName2: string) => (control: any) => {
|
|
133
|
+
OneExtensionIsEmpty: boolean;
|
|
134
|
+
} | null;
|
|
135
|
+
requiredByCondition: (requiredBy: string, fieldName: any) => (control: any) => {
|
|
136
|
+
required: boolean;
|
|
137
|
+
} | null;
|
|
138
|
+
private getOptionsList;
|
|
139
|
+
autocompleteType(control: any): {
|
|
140
|
+
stringEntered: boolean;
|
|
141
|
+
} | null;
|
|
142
|
+
password(control: any): {
|
|
143
|
+
weakPassword: boolean;
|
|
144
|
+
} | null;
|
|
145
|
+
verifyAutoAnswer(control: any): null;
|
|
146
|
+
verifyBeginEndTime(control: any): {
|
|
147
|
+
fromGreaterThanTo: boolean;
|
|
148
|
+
} | null;
|
|
149
|
+
time(control: any): {
|
|
150
|
+
timeFormat: boolean;
|
|
151
|
+
} | null;
|
|
152
|
+
pinMultiCharacterCheck: (fieldName: string) => (control: any) => {
|
|
153
|
+
multiCharacter: boolean;
|
|
154
|
+
} | null | undefined;
|
|
155
|
+
pinConsecutiveNumberCheck: (fieldName: string) => (control: any) => {
|
|
156
|
+
consecutiveNumbers: boolean;
|
|
157
|
+
} | null | undefined;
|
|
158
|
+
pinOrderCheck(str: string): any;
|
|
159
|
+
pinMailboxExtensionCheck: (fieldName: string, extension: string) => (control: any) => {
|
|
160
|
+
mailboxExtension: boolean;
|
|
161
|
+
} | null;
|
|
162
|
+
isItemAlreadyInList(item: any, list: any): boolean;
|
|
163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationService, never>;
|
|
164
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ValidationService>;
|
|
165
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./utils/app-loader/app-loader";
|
|
3
|
-
import * as i2 from "./notifications/notification.component";
|
|
4
|
-
import * as i3 from "./lazy-loading-select/lazy-loading-select.component";
|
|
5
|
-
import * as i4 from "./device-list/device-list.component";
|
|
6
|
-
import * as i5 from "./device-manage-widget.component";
|
|
7
|
-
import * as i6 from "./device-associated-line/device-associated-line.component";
|
|
8
|
-
import * as i7 from "./device-associated-line/device-associated-line-extension/device-associated-line-extension.component";
|
|
9
|
-
import * as i8 from "./device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component";
|
|
10
|
-
import * as i9 from "./device-associated-line/associated-line-row/associated-line-row.component";
|
|
11
|
-
import * as i10 from "./confirm-dialog/info-dialog.component";
|
|
12
|
-
import * as i11 from "@angular/common";
|
|
13
|
-
import * as i12 from "@angular/platform-browser";
|
|
14
|
-
import * as i13 from "@angular/platform-browser/animations";
|
|
15
|
-
import * as i14 from "@angular/forms";
|
|
16
|
-
import * as i15 from "@angular/common/http";
|
|
17
|
-
import * as i16 from "./material.module";
|
|
18
|
-
export declare class UserDeviceManageModule {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserDeviceManageModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserDeviceManageModule, [typeof i1.AppLoaderComponent, typeof i2.NotificationsComponent, typeof i3.LazyLoadingSelectComponent, typeof i4.DeviceListComponent, typeof i5.DeviceManageWidgetComponent, typeof i6.DeviceAssociatedLineComponent, typeof i7.DeviceAssociatedLineExtensionComponent, typeof i8.DeviceAssociatedLineDetailsBoxComponent, typeof i9.AssociatedLineRowComponent, typeof i10.InfoDialogComponent], [typeof i11.CommonModule, typeof i12.BrowserModule, typeof i13.BrowserAnimationsModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.HttpClientModule, typeof i16.MaterialModule], [typeof i5.DeviceManageWidgetComponent]>;
|
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<UserDeviceManageModule>;
|
|
22
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./utils/app-loader/app-loader";
|
|
3
|
+
import * as i2 from "./notifications/notification.component";
|
|
4
|
+
import * as i3 from "./lazy-loading-select/lazy-loading-select.component";
|
|
5
|
+
import * as i4 from "./device-list/device-list.component";
|
|
6
|
+
import * as i5 from "./device-manage-widget.component";
|
|
7
|
+
import * as i6 from "./device-associated-line/device-associated-line.component";
|
|
8
|
+
import * as i7 from "./device-associated-line/device-associated-line-extension/device-associated-line-extension.component";
|
|
9
|
+
import * as i8 from "./device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component";
|
|
10
|
+
import * as i9 from "./device-associated-line/associated-line-row/associated-line-row.component";
|
|
11
|
+
import * as i10 from "./confirm-dialog/info-dialog.component";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "@angular/platform-browser";
|
|
14
|
+
import * as i13 from "@angular/platform-browser/animations";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "@angular/common/http";
|
|
17
|
+
import * as i16 from "./material.module";
|
|
18
|
+
export declare class UserDeviceManageModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserDeviceManageModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserDeviceManageModule, [typeof i1.AppLoaderComponent, typeof i2.NotificationsComponent, typeof i3.LazyLoadingSelectComponent, typeof i4.DeviceListComponent, typeof i5.DeviceManageWidgetComponent, typeof i6.DeviceAssociatedLineComponent, typeof i7.DeviceAssociatedLineExtensionComponent, typeof i8.DeviceAssociatedLineDetailsBoxComponent, typeof i9.AssociatedLineRowComponent, typeof i10.InfoDialogComponent], [typeof i11.CommonModule, typeof i12.BrowserModule, typeof i13.BrowserAnimationsModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.HttpClientModule, typeof i16.MaterialModule], [typeof i5.DeviceManageWidgetComponent]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UserDeviceManageModule>;
|
|
22
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AppLoaderComponent {
|
|
3
|
-
constructor();
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppLoaderComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppLoaderComponent, "app-loader", never, {}, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AppLoaderComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppLoaderComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppLoaderComponent, "app-loader", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
package/user-manage/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@tuki-io/tuki-widgets/user-manage" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@tuki-io/tuki-widgets/user-manage" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./src/services/api.service";
|
|
2
|
-
export * from "./src/services/site-settings.service";
|
|
3
|
-
export * from "./src/services/user.service";
|
|
4
|
-
export * from "./src/services/utils.service";
|
|
5
|
-
export * from "./src/user-manage.module";
|
|
6
|
-
export * from "./src/user-manage-widget.component";
|
|
1
|
+
export * from "./src/services/api.service";
|
|
2
|
+
export * from "./src/services/site-settings.service";
|
|
3
|
+
export * from "./src/services/user.service";
|
|
4
|
+
export * from "./src/services/utils.service";
|
|
5
|
+
export * from "./src/user-manage.module";
|
|
6
|
+
export * from "./src/user-manage-widget.component";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export declare const API: {
|
|
2
|
-
USER_TOKEN: string;
|
|
3
|
-
UPDATE_USER_FIELDS: string;
|
|
4
|
-
PERSIST_USER_CACHE: string;
|
|
5
|
-
USER_BY_ID: string;
|
|
6
|
-
QUICK_USERS_SEARCH: string;
|
|
7
|
-
LOCATION: string;
|
|
8
|
-
USER_LOCALES: string;
|
|
9
|
-
USER_PROFILES: string;
|
|
10
|
-
AVAILABLE_DN_IN_RANGES: string;
|
|
11
|
-
DELETE_LINE: string;
|
|
12
|
-
DISASSOCIATE_LINE: string;
|
|
13
|
-
CHECK_DELETE_LINE: string;
|
|
14
|
-
ASSOCIATE_LINE: string;
|
|
15
|
-
CHECK_DESTINATION_NUMBER: string;
|
|
16
|
-
UPDATE_LINE_FIELDS: string;
|
|
17
|
-
UPDATE_DEVICE_FIELDS: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const REGEX_PATTERN: {
|
|
20
|
-
EMAIL: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const PAGINATION_DEFAULTS: {
|
|
23
|
-
SIZE: number;
|
|
24
|
-
INDEX: number;
|
|
25
|
-
};
|
|
26
|
-
export declare const PAGINATION_SIZE_OPTIONS: number[];
|
|
27
|
-
export declare const CUCS_TO_IGNORE: number[];
|
|
28
|
-
export declare const CUCMS_TO_IGNORE: number[];
|
|
29
|
-
export declare const RECORDING_MEDIA_SOURCE: string[];
|
|
1
|
+
export declare const API: {
|
|
2
|
+
USER_TOKEN: string;
|
|
3
|
+
UPDATE_USER_FIELDS: string;
|
|
4
|
+
PERSIST_USER_CACHE: string;
|
|
5
|
+
USER_BY_ID: string;
|
|
6
|
+
QUICK_USERS_SEARCH: string;
|
|
7
|
+
LOCATION: string;
|
|
8
|
+
USER_LOCALES: string;
|
|
9
|
+
USER_PROFILES: string;
|
|
10
|
+
AVAILABLE_DN_IN_RANGES: string;
|
|
11
|
+
DELETE_LINE: string;
|
|
12
|
+
DISASSOCIATE_LINE: string;
|
|
13
|
+
CHECK_DELETE_LINE: string;
|
|
14
|
+
ASSOCIATE_LINE: string;
|
|
15
|
+
CHECK_DESTINATION_NUMBER: string;
|
|
16
|
+
UPDATE_LINE_FIELDS: string;
|
|
17
|
+
UPDATE_DEVICE_FIELDS: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const REGEX_PATTERN: {
|
|
20
|
+
EMAIL: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const PAGINATION_DEFAULTS: {
|
|
23
|
+
SIZE: number;
|
|
24
|
+
INDEX: number;
|
|
25
|
+
};
|
|
26
|
+
export declare const PAGINATION_SIZE_OPTIONS: number[];
|
|
27
|
+
export declare const CUCS_TO_IGNORE: number[];
|
|
28
|
+
export declare const CUCMS_TO_IGNORE: number[];
|
|
29
|
+
export declare const RECORDING_MEDIA_SOURCE: string[];
|