@tuki-io/tuki-widgets 0.0.65 → 0.0.67
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/.editorconfig +16 -16
- package/.vscode/extensions.json +4 -4
- package/.vscode/launch.json +20 -20
- package/.vscode/tasks.json +42 -42
- package/README.md +25 -25
- package/package.json +1 -1
- package/projects/tuki/widgets/README.md +24 -24
- package/projects/tuki/widgets/di2mt/public-api.ts +3 -3
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +1 -1
- package/projects/tuki/widgets/karma.conf.js +44 -44
- package/projects/tuki/widgets/ng-package.json +10 -7
- package/projects/tuki/widgets/package.json +1 -1
- package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +23 -23
- package/projects/tuki/widgets/src/lib/widgets.component.ts +20 -20
- package/projects/tuki/widgets/src/lib/widgets.module.ts +16 -16
- package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +16 -16
- package/projects/tuki/widgets/src/lib/widgets.service.ts +9 -9
- package/projects/tuki/widgets/src/public-api.ts +7 -7
- package/projects/tuki/widgets/src/test.ts +27 -27
- package/projects/tuki/widgets/styles.scss +572 -572
- package/projects/tuki/widgets/tsconfig.lib.json +36 -36
- package/projects/tuki/widgets/tsconfig.lib.prod.json +10 -10
- package/projects/tuki/widgets/tsconfig.spec.json +17 -17
- package/projects/tuki/widgets/user-device-manage/ng-package.json +7 -7
- package/projects/tuki/widgets/user-device-manage/public-api.ts +8 -8
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +96 -96
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +5 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +5 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +3 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +5 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +3 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +3 -3
- package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +292 -292
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +50 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +177 -177
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +21 -21
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +41 -41
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +144 -144
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +40 -40
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +6 -6
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +169 -169
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +167 -167
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +50 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +19 -19
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +225 -225
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +8 -8
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +16 -16
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +14 -14
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +80 -80
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +35 -35
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +21 -21
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +97 -97
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +28 -28
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +5 -5
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +19 -19
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +13 -13
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +6 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +4 -4
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +63 -63
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +241 -241
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +500 -500
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +194 -194
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +27 -27
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +131 -131
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +25 -25
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +209 -209
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +502 -502
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +354 -354
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +9 -9
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +10 -10
- package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +35 -35
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +50 -50
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +8 -8
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +81 -81
- package/projects/tuki/widgets/user-device-manage/src/material.module.ts +87 -87
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +33 -33
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +84 -84
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +46 -46
- package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +87 -87
- package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +17 -17
- package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +95 -95
- package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +111 -111
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +89 -89
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +68 -68
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +82 -82
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +203 -203
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +283 -283
- package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +87 -87
- package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +829 -829
- package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +90 -90
- package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +231 -231
- package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +32 -32
- package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +110 -110
- package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +30 -30
- package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +73 -73
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +6 -6
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +11 -11
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +13 -13
- package/projects/tuki/widgets/user-manage/ng-package.json +7 -7
- package/projects/tuki/widgets/user-manage/public-api.ts +6 -6
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +50 -50
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +5 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +5 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +5 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +3 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +3 -3
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +232 -232
- package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +43 -43
- package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +161 -161
- package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +21 -21
- package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +42 -42
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +144 -144
- package/projects/tuki/widgets/user-manage/src/classes/notification.ts +39 -39
- package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +18 -18
- package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +6 -6
- package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +165 -165
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +6 -6
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +49 -49
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +225 -225
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +42 -42
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +8 -8
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +16 -16
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +27 -27
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +131 -131
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +25 -25
- package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +9 -9
- package/projects/tuki/widgets/user-manage/src/environments/environment.ts +10 -10
- package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +35 -35
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +50 -50
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +8 -8
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +81 -81
- package/projects/tuki/widgets/user-manage/src/material.module.ts +85 -85
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +33 -33
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +84 -84
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +46 -46
- package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-manage/src/services/api.service.ts +90 -90
- package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +116 -116
- package/projects/tuki/widgets/user-manage/src/services/line.service.ts +31 -31
- package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +68 -68
- package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +35 -35
- package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +203 -203
- package/projects/tuki/widgets/user-manage/src/services/user.service.ts +242 -242
- package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +59 -59
- package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +71 -71
- package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +90 -90
- package/projects/tuki/widgets/user-manage/src/styles/form.scss +231 -231
- package/projects/tuki/widgets/user-manage/src/styles/icons.scss +32 -32
- package/projects/tuki/widgets/user-manage/src/styles/styles.scss +110 -110
- package/projects/tuki/widgets/user-manage/src/styles/tables.scss +30 -30
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +10 -10
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +429 -429
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +63 -63
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +32 -32
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +444 -444
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +89 -89
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +68 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +29 -29
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +64 -64
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +19 -19
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +290 -290
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +463 -463
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +212 -212
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +63 -63
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +6 -6
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +11 -11
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +13 -13
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +26 -26
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +41 -41
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +41 -41
- package/projects/tuki/widgets/users-list/ng-package.json +6 -6
- package/projects/tuki/widgets/users-list/public-api.ts +8 -8
- package/projects/tuki/widgets/users-list/src/app.constants.ts +54 -54
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +3 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +14 -14
- package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +3 -3
- package/projects/tuki/widgets/users-list/src/classes/app-location.ts +36 -36
- package/projects/tuki/widgets/users-list/src/classes/device.ts +225 -225
- package/projects/tuki/widgets/users-list/src/classes/line.ts +144 -144
- package/projects/tuki/widgets/users-list/src/classes/move-user.ts +225 -225
- package/projects/tuki/widgets/users-list/src/classes/notification.ts +38 -38
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +18 -18
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +74 -74
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +6 -6
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +225 -225
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +47 -47
- package/projects/tuki/widgets/users-list/src/classes/user.ts +8 -8
- package/projects/tuki/widgets/users-list/src/material.module.ts +94 -94
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +37 -37
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +129 -129
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +46 -46
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +31 -31
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +20 -20
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +26 -26
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +222 -222
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +239 -239
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +206 -206
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +12 -12
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +41 -41
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +36 -36
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +14 -14
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +90 -90
- package/projects/tuki/widgets/users-list/src/services/dns.service.ts +128 -128
- package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +11 -11
- package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +59 -59
- package/projects/tuki/widgets/users-list/src/services/notification.service.ts +68 -68
- package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +26 -26
- package/projects/tuki/widgets/users-list/src/services/user.service.ts +159 -159
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +137 -137
- package/projects/tuki/widgets/users-list/src/styles/styles.scss +572 -572
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +15 -15
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +103 -103
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +35 -35
- package/projects/tuki/widgets/users-list/src/users-list.component.html +86 -86
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +572 -572
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +312 -312
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +63 -63
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +6 -6
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +11 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +13 -13
- package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +32 -32
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +33 -33
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +84 -84
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +46 -46
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +26 -26
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +41 -41
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +41 -41
- package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +71 -71
- package/tsconfig.json +46 -46
package/.editorconfig
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Editor configuration, see https://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 2
|
|
8
|
-
insert_final_newline = true
|
|
9
|
-
trim_trailing_whitespace = true
|
|
10
|
-
|
|
11
|
-
[*.ts]
|
|
12
|
-
quote_type = single
|
|
13
|
-
|
|
14
|
-
[*.md]
|
|
15
|
-
max_line_length = off
|
|
16
|
-
trim_trailing_whitespace = false
|
|
1
|
+
# Editor configuration, see https://editorconfig.org
|
|
2
|
+
root = true
|
|
3
|
+
|
|
4
|
+
[*]
|
|
5
|
+
charset = utf-8
|
|
6
|
+
indent_style = space
|
|
7
|
+
indent_size = 2
|
|
8
|
+
insert_final_newline = true
|
|
9
|
+
trim_trailing_whitespace = true
|
|
10
|
+
|
|
11
|
+
[*.ts]
|
|
12
|
+
quote_type = single
|
|
13
|
+
|
|
14
|
+
[*.md]
|
|
15
|
+
max_line_length = off
|
|
16
|
+
trim_trailing_whitespace = false
|
package/.vscode/extensions.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
|
|
3
|
-
"recommendations": ["angular.ng-template"]
|
|
4
|
-
}
|
|
1
|
+
{
|
|
2
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
|
|
3
|
+
"recommendations": ["angular.ng-template"]
|
|
4
|
+
}
|
package/.vscode/launch.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
3
|
-
"version": "0.2.0",
|
|
4
|
-
"configurations": [
|
|
5
|
-
{
|
|
6
|
-
"name": "ng serve",
|
|
7
|
-
"type": "pwa-chrome",
|
|
8
|
-
"request": "launch",
|
|
9
|
-
"preLaunchTask": "npm: start",
|
|
10
|
-
"url": "http://localhost:4200/"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "ng test",
|
|
14
|
-
"type": "chrome",
|
|
15
|
-
"request": "launch",
|
|
16
|
-
"preLaunchTask": "npm: test",
|
|
17
|
-
"url": "http://localhost:9876/debug.html"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|
|
1
|
+
{
|
|
2
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"configurations": [
|
|
5
|
+
{
|
|
6
|
+
"name": "ng serve",
|
|
7
|
+
"type": "pwa-chrome",
|
|
8
|
+
"request": "launch",
|
|
9
|
+
"preLaunchTask": "npm: start",
|
|
10
|
+
"url": "http://localhost:4200/"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "ng test",
|
|
14
|
+
"type": "chrome",
|
|
15
|
+
"request": "launch",
|
|
16
|
+
"preLaunchTask": "npm: test",
|
|
17
|
+
"url": "http://localhost:9876/debug.html"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
package/.vscode/tasks.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"tasks": [
|
|
5
|
-
{
|
|
6
|
-
"type": "npm",
|
|
7
|
-
"script": "start",
|
|
8
|
-
"isBackground": true,
|
|
9
|
-
"problemMatcher": {
|
|
10
|
-
"owner": "typescript",
|
|
11
|
-
"pattern": "$tsc",
|
|
12
|
-
"background": {
|
|
13
|
-
"activeOnStart": true,
|
|
14
|
-
"beginsPattern": {
|
|
15
|
-
"regexp": "(.*?)"
|
|
16
|
-
},
|
|
17
|
-
"endsPattern": {
|
|
18
|
-
"regexp": "bundle generation complete"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "npm",
|
|
25
|
-
"script": "test",
|
|
26
|
-
"isBackground": true,
|
|
27
|
-
"problemMatcher": {
|
|
28
|
-
"owner": "typescript",
|
|
29
|
-
"pattern": "$tsc",
|
|
30
|
-
"background": {
|
|
31
|
-
"activeOnStart": true,
|
|
32
|
-
"beginsPattern": {
|
|
33
|
-
"regexp": "(.*?)"
|
|
34
|
-
},
|
|
35
|
-
"endsPattern": {
|
|
36
|
-
"regexp": "bundle generation complete"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"tasks": [
|
|
5
|
+
{
|
|
6
|
+
"type": "npm",
|
|
7
|
+
"script": "start",
|
|
8
|
+
"isBackground": true,
|
|
9
|
+
"problemMatcher": {
|
|
10
|
+
"owner": "typescript",
|
|
11
|
+
"pattern": "$tsc",
|
|
12
|
+
"background": {
|
|
13
|
+
"activeOnStart": true,
|
|
14
|
+
"beginsPattern": {
|
|
15
|
+
"regexp": "(.*?)"
|
|
16
|
+
},
|
|
17
|
+
"endsPattern": {
|
|
18
|
+
"regexp": "bundle generation complete"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "npm",
|
|
25
|
+
"script": "test",
|
|
26
|
+
"isBackground": true,
|
|
27
|
+
"problemMatcher": {
|
|
28
|
+
"owner": "typescript",
|
|
29
|
+
"pattern": "$tsc",
|
|
30
|
+
"background": {
|
|
31
|
+
"activeOnStart": true,
|
|
32
|
+
"beginsPattern": {
|
|
33
|
+
"regexp": "(.*?)"
|
|
34
|
+
},
|
|
35
|
+
"endsPattern": {
|
|
36
|
+
"regexp": "bundle generation complete"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
package/README.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.13.
|
|
2
|
-
|
|
3
|
-
## Development server
|
|
4
|
-
|
|
5
|
-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
|
|
6
|
-
|
|
7
|
-
## Code scaffolding
|
|
8
|
-
|
|
9
|
-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
|
10
|
-
|
|
11
|
-
## Build
|
|
12
|
-
|
|
13
|
-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
14
|
-
|
|
15
|
-
## Running unit tests
|
|
16
|
-
|
|
17
|
-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
18
|
-
|
|
19
|
-
## Running end-to-end tests
|
|
20
|
-
|
|
21
|
-
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
|
|
22
|
-
|
|
23
|
-
## Further help
|
|
24
|
-
|
|
25
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.13.
|
|
2
|
+
|
|
3
|
+
## Development server
|
|
4
|
+
|
|
5
|
+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
|
|
6
|
+
|
|
7
|
+
## Code scaffolding
|
|
8
|
+
|
|
9
|
+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
|
10
|
+
|
|
11
|
+
## Build
|
|
12
|
+
|
|
13
|
+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
14
|
+
|
|
15
|
+
## Running unit tests
|
|
16
|
+
|
|
17
|
+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
18
|
+
|
|
19
|
+
## Running end-to-end tests
|
|
20
|
+
|
|
21
|
+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
|
|
22
|
+
|
|
23
|
+
## Further help
|
|
24
|
+
|
|
25
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# Widgets
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project widgets` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project widgets`.
|
|
8
|
-
> Note: Don't forget to add `--project widgets` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build widgets` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build widgets`, go to the dist folder `cd dist/widgets` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test widgets` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# Widgets
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project widgets` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project widgets`.
|
|
8
|
+
> Note: Don't forget to add `--project widgets` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build widgets` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build widgets`, go to the dist folder `cd dist/widgets` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test widgets` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
// Shared Components
|
|
6
|
-
export * from './shared/shared.module';
|
|
6
|
+
// export * from './shared/shared.module';
|
|
7
7
|
|
|
8
8
|
// Widget Modules
|
|
9
9
|
export * from './widgets/user-upgrade/user-upgrade.module';
|
|
@@ -11,7 +11,7 @@ export * from './widgets/site-upgrade/site-upgrade.module';
|
|
|
11
11
|
export * from './widgets/upgrade-overview/upgrade-overview.module';
|
|
12
12
|
|
|
13
13
|
// Components
|
|
14
|
-
export * from './shared/components/index';
|
|
14
|
+
// export * from './shared/components/index';
|
|
15
15
|
export * from './widgets/user-upgrade/user-upgrade-data-table/user-upgrade-data-table.component';
|
|
16
16
|
export * from './widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component';
|
|
17
17
|
export * from './widgets/upgrade-overview/cards/already-upgraded-sites/already-upgraded-sites-card.component';
|
|
@@ -23,4 +23,4 @@ export * from './widgets/upgrade-overview/cards/site-infrastructure-status-list/
|
|
|
23
23
|
export * from './widgets/upgrade-overview/cards/upgrade-state-comparison-chart/upgrade-state-comparison-chart-card.component';
|
|
24
24
|
|
|
25
25
|
// Types
|
|
26
|
-
export * from './shared/types/data-table';
|
|
26
|
+
// export * from './shared/types/data-table';
|
|
@@ -4,7 +4,7 @@ import { CommonModule } from "@angular/common";
|
|
|
4
4
|
import { MatTableModule } from "@angular/material/table";
|
|
5
5
|
import { MatIconModule } from "@angular/material/icon";
|
|
6
6
|
import { MatButtonModule } from "@angular/material/button";
|
|
7
|
-
import { SharedModule } from "../../
|
|
7
|
+
import { SharedModule } from "../../shared/shared.module";
|
|
8
8
|
|
|
9
9
|
@NgModule({
|
|
10
10
|
declarations: [
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
jasmine: {
|
|
17
|
-
// you can add configuration options for Jasmine here
|
|
18
|
-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
-
// for example, you can disable the random execution with `random: false`
|
|
20
|
-
// or set a specific seed with `seed: 4321`
|
|
21
|
-
},
|
|
22
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
-
},
|
|
24
|
-
jasmineHtmlReporter: {
|
|
25
|
-
suppressAll: true // removes the duplicated traces
|
|
26
|
-
},
|
|
27
|
-
coverageReporter: {
|
|
28
|
-
dir: require('path').join(__dirname, '../../../coverage/tuki/widgets'),
|
|
29
|
-
subdir: '.',
|
|
30
|
-
reporters: [
|
|
31
|
-
{ type: 'html' },
|
|
32
|
-
{ type: 'text-summary' }
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
reporters: ['progress', 'kjhtml'],
|
|
36
|
-
port: 9876,
|
|
37
|
-
colors: true,
|
|
38
|
-
logLevel: config.LOG_INFO,
|
|
39
|
-
autoWatch: true,
|
|
40
|
-
browsers: ['Chrome'],
|
|
41
|
-
singleRun: false,
|
|
42
|
-
restartOnFileChange: true
|
|
43
|
-
});
|
|
44
|
-
};
|
|
1
|
+
// Karma configuration file, see link for more information
|
|
2
|
+
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
+
|
|
4
|
+
module.exports = function (config) {
|
|
5
|
+
config.set({
|
|
6
|
+
basePath: '',
|
|
7
|
+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
+
plugins: [
|
|
9
|
+
require('karma-jasmine'),
|
|
10
|
+
require('karma-chrome-launcher'),
|
|
11
|
+
require('karma-jasmine-html-reporter'),
|
|
12
|
+
require('karma-coverage'),
|
|
13
|
+
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
+
],
|
|
15
|
+
client: {
|
|
16
|
+
jasmine: {
|
|
17
|
+
// you can add configuration options for Jasmine here
|
|
18
|
+
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
+
// for example, you can disable the random execution with `random: false`
|
|
20
|
+
// or set a specific seed with `seed: 4321`
|
|
21
|
+
},
|
|
22
|
+
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
+
},
|
|
24
|
+
jasmineHtmlReporter: {
|
|
25
|
+
suppressAll: true // removes the duplicated traces
|
|
26
|
+
},
|
|
27
|
+
coverageReporter: {
|
|
28
|
+
dir: require('path').join(__dirname, '../../../coverage/tuki/widgets'),
|
|
29
|
+
subdir: '.',
|
|
30
|
+
reporters: [
|
|
31
|
+
{ type: 'html' },
|
|
32
|
+
{ type: 'text-summary' }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
reporters: ['progress', 'kjhtml'],
|
|
36
|
+
port: 9876,
|
|
37
|
+
colors: true,
|
|
38
|
+
logLevel: config.LOG_INFO,
|
|
39
|
+
autoWatch: true,
|
|
40
|
+
browsers: ['Chrome'],
|
|
41
|
+
singleRun: false,
|
|
42
|
+
restartOnFileChange: true
|
|
43
|
+
});
|
|
44
|
+
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
-
"dest": "../../../dist/tuki/widgets",
|
|
4
|
-
"lib": {
|
|
5
|
-
"entryFile": "src/public-api.ts"
|
|
6
|
-
}
|
|
7
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
+
"dest": "../../../dist/tuki/widgets",
|
|
4
|
+
"lib": {
|
|
5
|
+
"entryFile": "src/public-api.ts"
|
|
6
|
+
},
|
|
7
|
+
"assets": [
|
|
8
|
+
"src/assets"
|
|
9
|
+
]
|
|
10
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { WidgetsComponent } from './widgets.component';
|
|
4
|
-
|
|
5
|
-
describe('WidgetsComponent', () => {
|
|
6
|
-
let component: WidgetsComponent;
|
|
7
|
-
let fixture: ComponentFixture<WidgetsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ WidgetsComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(WidgetsComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { WidgetsComponent } from './widgets.component';
|
|
4
|
+
|
|
5
|
+
describe('WidgetsComponent', () => {
|
|
6
|
+
let component: WidgetsComponent;
|
|
7
|
+
let fixture: ComponentFixture<WidgetsComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ WidgetsComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(WidgetsComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Component, OnInit } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'lib-widgets',
|
|
5
|
-
template: `
|
|
6
|
-
<p>
|
|
7
|
-
widgets works!
|
|
8
|
-
</p>
|
|
9
|
-
`,
|
|
10
|
-
styles: [
|
|
11
|
-
]
|
|
12
|
-
})
|
|
13
|
-
export class WidgetsComponent implements OnInit {
|
|
14
|
-
|
|
15
|
-
constructor() { }
|
|
16
|
-
|
|
17
|
-
ngOnInit(): void {
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
}
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'lib-widgets',
|
|
5
|
+
template: `
|
|
6
|
+
<p>
|
|
7
|
+
widgets works!
|
|
8
|
+
</p>
|
|
9
|
+
`,
|
|
10
|
+
styles: [
|
|
11
|
+
]
|
|
12
|
+
})
|
|
13
|
+
export class WidgetsComponent implements OnInit {
|
|
14
|
+
|
|
15
|
+
constructor() { }
|
|
16
|
+
|
|
17
|
+
ngOnInit(): void {
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { WidgetsComponent } from './widgets.component';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@NgModule({
|
|
7
|
-
declarations: [
|
|
8
|
-
WidgetsComponent
|
|
9
|
-
],
|
|
10
|
-
imports: [
|
|
11
|
-
],
|
|
12
|
-
exports: [
|
|
13
|
-
WidgetsComponent
|
|
14
|
-
]
|
|
15
|
-
})
|
|
16
|
-
export class WidgetsModule { }
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { WidgetsComponent } from './widgets.component';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@NgModule({
|
|
7
|
+
declarations: [
|
|
8
|
+
WidgetsComponent
|
|
9
|
+
],
|
|
10
|
+
imports: [
|
|
11
|
+
],
|
|
12
|
+
exports: [
|
|
13
|
+
WidgetsComponent
|
|
14
|
+
]
|
|
15
|
+
})
|
|
16
|
+
export class WidgetsModule { }
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { WidgetsService } from './widgets.service';
|
|
4
|
-
|
|
5
|
-
describe('WidgetsService', () => {
|
|
6
|
-
let service: WidgetsService;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
TestBed.configureTestingModule({});
|
|
10
|
-
service = TestBed.inject(WidgetsService);
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
it('should be created', () => {
|
|
14
|
-
expect(service).toBeTruthy();
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { WidgetsService } from './widgets.service';
|
|
4
|
+
|
|
5
|
+
describe('WidgetsService', () => {
|
|
6
|
+
let service: WidgetsService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(WidgetsService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Injectable({
|
|
4
|
-
providedIn: 'root'
|
|
5
|
-
})
|
|
6
|
-
export class WidgetsService {
|
|
7
|
-
|
|
8
|
-
constructor() { }
|
|
9
|
-
}
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Injectable({
|
|
4
|
+
providedIn: 'root'
|
|
5
|
+
})
|
|
6
|
+
export class WidgetsService {
|
|
7
|
+
|
|
8
|
+
constructor() { }
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of widgets
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export * from './lib/widgets.service';
|
|
6
|
-
export * from './lib/widgets.component';
|
|
7
|
-
export * from './lib/widgets.module';
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of widgets
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from './lib/widgets.service';
|
|
6
|
+
export * from './lib/widgets.component';
|
|
7
|
+
export * from './lib/widgets.module';
|