@tuki-io/tuki-widgets 0.0.32 → 0.0.35
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 +260 -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 +1429 -1428
- 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 +1418 -1417
- 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,11 +1,11 @@
|
|
|
1
|
-
export const environment = {
|
|
2
|
-
production: false,
|
|
3
|
-
// apiUrl: 'http://localhost:4200',
|
|
4
|
-
apiUrl: 'http://192.168.0.191:8080',
|
|
5
|
-
notificationsLifetime: 30000,
|
|
6
|
-
longNotificationsLifetime: 45000,
|
|
7
|
-
cashCleanTimer: 900000,
|
|
8
|
-
cashArrayLength: 10000,
|
|
9
|
-
matomoUrl: 'http://192.168.0.136/matomo/',
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: false,
|
|
3
|
+
// apiUrl: 'http://localhost:4200',
|
|
4
|
+
apiUrl: 'http://192.168.0.191:8080',
|
|
5
|
+
notificationsLifetime: 30000,
|
|
6
|
+
longNotificationsLifetime: 45000,
|
|
7
|
+
cashCleanTimer: 900000,
|
|
8
|
+
cashArrayLength: 10000,
|
|
9
|
+
matomoUrl: 'http://192.168.0.136/matomo/',
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dWtpL3dpZGdldHMvdXNlci1kZXZpY2UtbWFuYWdlL3NyYy9lbnZpcm9ubWVudHMvZW52aXJvbm1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sV0FBVyxHQUFHO0lBQ3pCLFVBQVUsRUFBRSxLQUFLO0lBQ2pCLG1DQUFtQztJQUNuQyxNQUFNLEVBQUUsMkJBQTJCO0lBQ25DLHFCQUFxQixFQUFFLEtBQUs7SUFDNUIseUJBQXlCLEVBQUUsS0FBSztJQUNoQyxjQUFjLEVBQUUsTUFBTTtJQUN0QixlQUFlLEVBQUUsS0FBSztJQUN0QixTQUFTLEVBQUUsOEJBQThCO0NBQzFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgZW52aXJvbm1lbnQgPSB7XHJcbiAgcHJvZHVjdGlvbjogZmFsc2UsXHJcbiAgLy8gYXBpVXJsOiAnaHR0cDovL2xvY2FsaG9zdDo0MjAwJyxcclxuICBhcGlVcmw6ICdodHRwOi8vMTkyLjE2OC4wLjE5MTo4MDgwJyxcclxuICBub3RpZmljYXRpb25zTGlmZXRpbWU6IDMwMDAwLFxyXG4gIGxvbmdOb3RpZmljYXRpb25zTGlmZXRpbWU6IDQ1MDAwLFxyXG4gIGNhc2hDbGVhblRpbWVyOiA5MDAwMDAsXHJcbiAgY2FzaEFycmF5TGVuZ3RoOiAxMDAwMCxcclxuICBtYXRvbW9Vcmw6ICdodHRwOi8vMTkyLjE2OC4wLjEzNi9tYXRvbW8vJyxcclxufTtcclxuIl19
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
-
import { throwError } from 'rxjs';
|
|
4
|
-
import { catchError } from 'rxjs/operators';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class AuthInterceptor {
|
|
7
|
-
constructor() {
|
|
8
|
-
}
|
|
9
|
-
intercept(request, next) {
|
|
10
|
-
request = request.clone({
|
|
11
|
-
setHeaders: {
|
|
12
|
-
// Authorization: basicAuthHeaderString
|
|
13
|
-
},
|
|
14
|
-
withCredentials: true
|
|
15
|
-
});
|
|
16
|
-
return next.handle(request).pipe(catchError(err => {
|
|
17
|
-
if (err instanceof HttpErrorResponse) {
|
|
18
|
-
if (err.status === 401) {
|
|
19
|
-
if (window.history.length < 3) {
|
|
20
|
-
err.error.message = '';
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
err.error.message = 'SESSION_INACTIVE';
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return throwError(err);
|
|
28
|
-
}));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
AuthInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
-
AuthInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AuthInterceptor });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AuthInterceptor, decorators: [{
|
|
34
|
-
type: Injectable
|
|
35
|
-
}], ctorParameters: function () { return []; } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
+
import { throwError } from 'rxjs';
|
|
4
|
+
import { catchError } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class AuthInterceptor {
|
|
7
|
+
constructor() {
|
|
8
|
+
}
|
|
9
|
+
intercept(request, next) {
|
|
10
|
+
request = request.clone({
|
|
11
|
+
setHeaders: {
|
|
12
|
+
// Authorization: basicAuthHeaderString
|
|
13
|
+
},
|
|
14
|
+
withCredentials: true
|
|
15
|
+
});
|
|
16
|
+
return next.handle(request).pipe(catchError(err => {
|
|
17
|
+
if (err instanceof HttpErrorResponse) {
|
|
18
|
+
if (err.status === 401) {
|
|
19
|
+
if (window.history.length < 3) {
|
|
20
|
+
err.error.message = '';
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
err.error.message = 'SESSION_INACTIVE';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return throwError(err);
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
AuthInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
+
AuthInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AuthInterceptor });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AuthInterceptor, decorators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bG9uZSh7XHJcbiAgICAgIHNldEhlYWRlcnM6IHtcclxuICAgICAgICAvLyBBdXRob3JpemF0aW9uOiBiYXNpY0F1dGhIZWFkZXJTdHJpbmdcclxuICAgICAgfVxyXG4gICAgICAsIHdpdGhDcmVkZW50aWFsczogdHJ1ZVxyXG4gICAgfSlcclxuXHJcbiAgICByZXR1cm4gbmV4dC5oYW5kbGUocmVxdWVzdCkucGlwZShjYXRjaEVycm9yKGVyciA9PiB7XHJcbiAgICAgIGlmIChlcnIgaW5zdGFuY2VvZiBIdHRwRXJyb3JSZXNwb25zZSkge1xyXG4gICAgICAgIGlmIChlcnIuc3RhdHVzID09PSA0MDEpIHtcclxuICAgICAgICAgIGlmICh3aW5kb3cuaGlzdG9yeS5sZW5ndGggPCAzKSB7XHJcbiAgICAgICAgICAgIGVyci5lcnJvci5tZXNzYWdlID0gJyc7XHJcbiAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICBlcnIuZXJyb3IubWVzc2FnZSA9ICdTRVNTSU9OX0lOQUNUSVZFJztcclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgICAgcmV0dXJuIHRocm93RXJyb3IoZXJyKTtcclxuICAgIH0pKTtcclxuICB9XHJcbn1cclxuIl19
|
package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../services/notification.service";
|
|
4
|
-
import * as i2 from "../services/site-settings.service";
|
|
5
|
-
import * as i3 from "@angular/common";
|
|
6
|
-
import * as i4 from "@angular/forms";
|
|
7
|
-
import * as i5 from "@angular/material/progress-spinner";
|
|
8
|
-
import * as i6 from "@angular/material/form-field";
|
|
9
|
-
import * as i7 from "@angular/material/core";
|
|
10
|
-
import * as i8 from "@angular/material/select";
|
|
11
|
-
export class LazyLoadingSelectComponent {
|
|
12
|
-
get formControl() {
|
|
13
|
-
return this.form?.get(this.controlName);
|
|
14
|
-
}
|
|
15
|
-
constructor(notificationService, siteSettingsService) {
|
|
16
|
-
this.notificationService = notificationService;
|
|
17
|
-
this.siteSettingsService = siteSettingsService;
|
|
18
|
-
this.standalone = true;
|
|
19
|
-
this.appearance = 'standard';
|
|
20
|
-
this.changeField = new EventEmitter();
|
|
21
|
-
}
|
|
22
|
-
ngAfterContentInit() {
|
|
23
|
-
this.options = [this.form?.get(this.controlName)?.value];
|
|
24
|
-
}
|
|
25
|
-
getOptions() {
|
|
26
|
-
if (!this.siteId && this.options.length > 1) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
this.optionsPending = true;
|
|
30
|
-
this.siteSettingsService.getSelectionOptions(this.siteId, this.optionsToken)
|
|
31
|
-
.subscribe(() => {
|
|
32
|
-
this.optionsPending = false;
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
this.options = this.siteSettingsService[this.optionsToken];
|
|
35
|
-
}, () => {
|
|
36
|
-
this.optionsPending = false;
|
|
37
|
-
// this.notificationService.error(this.translate.instant('COMMON.LOAD_SELECT_OPTIONS_FAILED'));
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
onFieldChange(token) {
|
|
41
|
-
this.changeField.emit(token);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
LazyLoadingSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LazyLoadingSelectComponent, deps: [{ token: i1.NotificationService }, { token: i2.SiteSettingsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
-
LazyLoadingSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LazyLoadingSelectComponent, selector: "app-lazy-loading-select", inputs: { siteId: "siteId", form: "form", standalone: "standalone", placeholder: "placeholder", controlName: "controlName", optionsToken: "optionsToken", appearance: "appearance", errorCode: "errorCode", errorText: "errorText", default: "default", id: "id" }, outputs: { changeField: "changeField" }, ngImport: i0, template: "<ng-container *ngIf=\"standalone\">\n <mat-form-field appearance=\"outline\">\n <mat-select [formControl]=\"formControl\"\n (openedChange)=\"getOptions()\"\n [placeholder]=\"placeholder\"\n (selectionChange)=\"onFieldChange(controlName)\"\n [id]=\"id\">\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\n {{type}}\n </mat-option>\n <mat-progress-spinner class=\"field-spinner\"\n [diameter]=\"20\"\n mode=\"indeterminate\"\n *ngIf=\"optionsPending\"></mat-progress-spinner>\n </mat-select>\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\n <i class=\"fa fa-exclamation-triangle\"></i>\n {{errorText}}\n </mat-error>\n </mat-form-field>\n</ng-container>\n\n<!--\nThis duplication is caused by the following bug: https://github.com/angular/components/issues/9411\nWhich doesn't allow projection in mat-form-field\n-->\n\n<ng-container *ngIf=\"!standalone\">\n <mat-select *ngIf=\"form.get(controlName)\"\n [formControl]=\"formControl\"\n (openedChange)=\"getOptions()\"\n [placeholder]=\"placeholder\"\n (selectionChange)=\"onFieldChange(controlName)\"\n [id]=\"id\"\n >\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\n {{type}}\n </mat-option>\n <mat-progress-spinner class=\"field-spinner\"\n [diameter]=\"20\"\n mode=\"indeterminate\"\n *ngIf=\"optionsPending\"></mat-progress-spinner>\n </mat-select>\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\n <i class=\"fa fa-exclamation-triangle\"></i>\n {{errorText}}\n </mat-error>\n</ng-container>\n", styles: [".field-spinner{margin-top:-30px}mat-form-field{width:300px;max-width:300px}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i6.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i7.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }] });
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LazyLoadingSelectComponent, decorators: [{
|
|
47
|
-
type: Component,
|
|
48
|
-
args: [{ selector: 'app-lazy-loading-select', template: "<ng-container *ngIf=\"standalone\">\n <mat-form-field appearance=\"outline\">\n <mat-select [formControl]=\"formControl\"\n (openedChange)=\"getOptions()\"\n [placeholder]=\"placeholder\"\n (selectionChange)=\"onFieldChange(controlName)\"\n [id]=\"id\">\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\n {{type}}\n </mat-option>\n <mat-progress-spinner class=\"field-spinner\"\n [diameter]=\"20\"\n mode=\"indeterminate\"\n *ngIf=\"optionsPending\"></mat-progress-spinner>\n </mat-select>\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\n <i class=\"fa fa-exclamation-triangle\"></i>\n {{errorText}}\n </mat-error>\n </mat-form-field>\n</ng-container>\n\n<!--\nThis duplication is caused by the following bug: https://github.com/angular/components/issues/9411\nWhich doesn't allow projection in mat-form-field\n-->\n\n<ng-container *ngIf=\"!standalone\">\n <mat-select *ngIf=\"form.get(controlName)\"\n [formControl]=\"formControl\"\n (openedChange)=\"getOptions()\"\n [placeholder]=\"placeholder\"\n (selectionChange)=\"onFieldChange(controlName)\"\n [id]=\"id\"\n >\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\n {{type}}\n </mat-option>\n <mat-progress-spinner class=\"field-spinner\"\n [diameter]=\"20\"\n mode=\"indeterminate\"\n *ngIf=\"optionsPending\"></mat-progress-spinner>\n </mat-select>\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\n <i class=\"fa fa-exclamation-triangle\"></i>\n {{errorText}}\n </mat-error>\n</ng-container>\n", styles: [".field-spinner{margin-top:-30px}mat-form-field{width:300px;max-width:300px}\n"] }]
|
|
49
|
-
}], ctorParameters: function () { return [{ type: i1.NotificationService }, { type: i2.SiteSettingsService }]; }, propDecorators: { siteId: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], form: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], standalone: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], placeholder: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], controlName: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], optionsToken: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], appearance: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], errorCode: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], errorText: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], default: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], id: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], changeField: [{
|
|
72
|
-
type: Output
|
|
73
|
-
}] } });
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../services/notification.service";
|
|
4
|
+
import * as i2 from "../services/site-settings.service";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@angular/forms";
|
|
7
|
+
import * as i5 from "@angular/material/progress-spinner";
|
|
8
|
+
import * as i6 from "@angular/material/form-field";
|
|
9
|
+
import * as i7 from "@angular/material/core";
|
|
10
|
+
import * as i8 from "@angular/material/select";
|
|
11
|
+
export class LazyLoadingSelectComponent {
|
|
12
|
+
get formControl() {
|
|
13
|
+
return this.form?.get(this.controlName);
|
|
14
|
+
}
|
|
15
|
+
constructor(notificationService, siteSettingsService) {
|
|
16
|
+
this.notificationService = notificationService;
|
|
17
|
+
this.siteSettingsService = siteSettingsService;
|
|
18
|
+
this.standalone = true;
|
|
19
|
+
this.appearance = 'standard';
|
|
20
|
+
this.changeField = new EventEmitter();
|
|
21
|
+
}
|
|
22
|
+
ngAfterContentInit() {
|
|
23
|
+
this.options = [this.form?.get(this.controlName)?.value];
|
|
24
|
+
}
|
|
25
|
+
getOptions() {
|
|
26
|
+
if (!this.siteId && this.options.length > 1) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
this.optionsPending = true;
|
|
30
|
+
this.siteSettingsService.getSelectionOptions(this.siteId, this.optionsToken)
|
|
31
|
+
.subscribe(() => {
|
|
32
|
+
this.optionsPending = false;
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
this.options = this.siteSettingsService[this.optionsToken];
|
|
35
|
+
}, () => {
|
|
36
|
+
this.optionsPending = false;
|
|
37
|
+
// this.notificationService.error(this.translate.instant('COMMON.LOAD_SELECT_OPTIONS_FAILED'));
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
onFieldChange(token) {
|
|
41
|
+
this.changeField.emit(token);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
LazyLoadingSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LazyLoadingSelectComponent, deps: [{ token: i1.NotificationService }, { token: i2.SiteSettingsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
LazyLoadingSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LazyLoadingSelectComponent, selector: "app-lazy-loading-select", inputs: { siteId: "siteId", form: "form", standalone: "standalone", placeholder: "placeholder", controlName: "controlName", optionsToken: "optionsToken", appearance: "appearance", errorCode: "errorCode", errorText: "errorText", default: "default", id: "id" }, outputs: { changeField: "changeField" }, ngImport: i0, template: "<ng-container *ngIf=\"standalone\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-select [formControl]=\"formControl\"\r\n (openedChange)=\"getOptions()\"\r\n [placeholder]=\"placeholder\"\r\n (selectionChange)=\"onFieldChange(controlName)\"\r\n [id]=\"id\">\r\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\r\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\r\n {{type}}\r\n </mat-option>\r\n <mat-progress-spinner class=\"field-spinner\"\r\n [diameter]=\"20\"\r\n mode=\"indeterminate\"\r\n *ngIf=\"optionsPending\"></mat-progress-spinner>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\r\n <i class=\"fa fa-exclamation-triangle\"></i>\r\n {{errorText}}\r\n </mat-error>\r\n </mat-form-field>\r\n</ng-container>\r\n\r\n<!--\r\nThis duplication is caused by the following bug: https://github.com/angular/components/issues/9411\r\nWhich doesn't allow projection in mat-form-field\r\n-->\r\n\r\n<ng-container *ngIf=\"!standalone\">\r\n <mat-select *ngIf=\"form.get(controlName)\"\r\n [formControl]=\"formControl\"\r\n (openedChange)=\"getOptions()\"\r\n [placeholder]=\"placeholder\"\r\n (selectionChange)=\"onFieldChange(controlName)\"\r\n [id]=\"id\"\r\n >\r\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\r\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\r\n {{type}}\r\n </mat-option>\r\n <mat-progress-spinner class=\"field-spinner\"\r\n [diameter]=\"20\"\r\n mode=\"indeterminate\"\r\n *ngIf=\"optionsPending\"></mat-progress-spinner>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\r\n <i class=\"fa fa-exclamation-triangle\"></i>\r\n {{errorText}}\r\n </mat-error>\r\n</ng-container>\r\n", styles: [".field-spinner{margin-top:-30px}mat-form-field{width:300px;max-width:300px}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i6.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i7.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }] });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LazyLoadingSelectComponent, decorators: [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{ selector: 'app-lazy-loading-select', template: "<ng-container *ngIf=\"standalone\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-select [formControl]=\"formControl\"\r\n (openedChange)=\"getOptions()\"\r\n [placeholder]=\"placeholder\"\r\n (selectionChange)=\"onFieldChange(controlName)\"\r\n [id]=\"id\">\r\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\r\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\r\n {{type}}\r\n </mat-option>\r\n <mat-progress-spinner class=\"field-spinner\"\r\n [diameter]=\"20\"\r\n mode=\"indeterminate\"\r\n *ngIf=\"optionsPending\"></mat-progress-spinner>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\r\n <i class=\"fa fa-exclamation-triangle\"></i>\r\n {{errorText}}\r\n </mat-error>\r\n </mat-form-field>\r\n</ng-container>\r\n\r\n<!--\r\nThis duplication is caused by the following bug: https://github.com/angular/components/issues/9411\r\nWhich doesn't allow projection in mat-form-field\r\n-->\r\n\r\n<ng-container *ngIf=\"!standalone\">\r\n <mat-select *ngIf=\"form.get(controlName)\"\r\n [formControl]=\"formControl\"\r\n (openedChange)=\"getOptions()\"\r\n [placeholder]=\"placeholder\"\r\n (selectionChange)=\"onFieldChange(controlName)\"\r\n [id]=\"id\"\r\n >\r\n <mat-option *ngIf=\"default\" [disabled]=\"default.disabled\" [value]=\"default.key\">{{default.value}}</mat-option>\r\n <mat-option *ngFor=\"let type of options\" [value]=\"type\">\r\n {{type}}\r\n </mat-option>\r\n <mat-progress-spinner class=\"field-spinner\"\r\n [diameter]=\"20\"\r\n mode=\"indeterminate\"\r\n *ngIf=\"optionsPending\"></mat-progress-spinner>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.get(controlName)?.hasError(errorCode)\">\r\n <i class=\"fa fa-exclamation-triangle\"></i>\r\n {{errorText}}\r\n </mat-error>\r\n</ng-container>\r\n", styles: [".field-spinner{margin-top:-30px}mat-form-field{width:300px;max-width:300px}\n"] }]
|
|
49
|
+
}], ctorParameters: function () { return [{ type: i1.NotificationService }, { type: i2.SiteSettingsService }]; }, propDecorators: { siteId: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], form: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], standalone: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], placeholder: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], controlName: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], optionsToken: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], appearance: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], errorCode: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], errorText: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], default: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], id: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], changeField: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}] } });
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF6eS1sb2FkaW5nLXNlbGVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dWtpL3dpZGdldHMvdXNlci1kZXZpY2UtbWFuYWdlL3NyYy9sYXp5LWxvYWRpbmctc2VsZWN0L2xhenktbG9hZGluZy1zZWxlY3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHVraS93aWRnZXRzL3VzZXItZGV2aWNlLW1hbmFnZS9zcmMvbGF6eS1sb2FkaW5nLXNlbG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