@thetradeengineorg1/snova-shell-module 0.0.260 → 0.0.261
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/bundles/thetradeengineorg1-snova-shell-module.umd.js +18874 -18874
- package/bundles/thetradeengineorg1-snova-shell-module.umd.js.map +1 -1
- package/esm2015/lib/globaldependencies/components/avatar.component.js +33 -33
- package/esm2015/lib/globaldependencies/components/componentbase.js +538 -538
- package/esm2015/lib/globaldependencies/constants/feature-ids.js +449 -449
- package/esm2015/lib/globaldependencies/constants/localstorage-properties.js +38 -38
- package/esm2015/lib/globaldependencies/helpers/dom.helper.js +70 -70
- package/esm2015/lib/globaldependencies/helpers/fontawesome-icons.js +144 -144
- package/esm2015/lib/globaldependencies/helpers/moment-utc-date-adapter.js +37 -37
- package/esm2015/lib/globaldependencies/helpers/window.helper.js +32 -32
- package/esm2015/lib/globaldependencies/intercepter/jwt.interceptor.js +40 -40
- package/esm2015/lib/globaldependencies/pipes/fetchSizedAndCachedImage.pipe.js +36 -36
- package/esm2015/lib/globaldependencies/pipes/highLightText.pipe.js +24 -24
- package/esm2015/lib/globaldependencies/pipes/orderby-pipe.js +24 -24
- package/esm2015/lib/globaldependencies/pipes/removeSpecialCharacters.pipe.js +22 -22
- package/esm2015/lib/globaldependencies/pipes/sanitize.pipe.js +24 -24
- package/esm2015/lib/globaldependencies/pipes/softlabels.pipes.js +346 -346
- package/esm2015/lib/globaldependencies/pipes/utctolocaltime.pipe.js +23 -23
- package/esm2015/lib/globaldependencies/pipes/utctolocaltimewithdate.pipe.js +25 -25
- package/esm2015/lib/globaldependencies/pipes/workflowstatus.pipes.js +27 -27
- package/esm2015/lib/shell-components/components/Payments/account.component.js +121 -121
- package/esm2015/lib/shell-components/components/Payments/company-information.js +558 -558
- package/esm2015/lib/shell-components/components/Payments/company-plans.component.js +636 -636
- package/esm2015/lib/shell-components/components/Payments/document.component.js +129 -129
- package/esm2015/lib/shell-components/components/Payments/payment-method.component.js +90 -90
- package/esm2015/lib/shell-components/components/Payments/product-service.component.js +438 -438
- package/esm2015/lib/shell-components/components/Payments/purchase-more-licenses.js +249 -249
- package/esm2015/lib/shell-components/components/Payments/transactions.component.js +172 -172
- package/esm2015/lib/shell-components/components/admin-layout/admin-layout.component.js +350 -350
- package/esm2015/lib/shell-components/components/all-work-items-dialog/all-work-items-dialog.component.js +102 -102
- package/esm2015/lib/shell-components/components/confirmation-dialog/confirmation-dialog.component.js +126 -126
- package/esm2015/lib/shell-components/components/export-import-configuration/export-configuration.component.js +502 -502
- package/esm2015/lib/shell-components/components/feed-time/feed-time-dialog.component.js +98 -98
- package/esm2015/lib/shell-components/components/feed-time/feed-time.component.js +87 -87
- package/esm2015/lib/shell-components/components/header-side/header-side.component.js +2342 -2342
- package/esm2015/lib/shell-components/components/header-top/header-top.component.js +489 -489
- package/esm2015/lib/shell-components/components/lives/lives-welcome-page.js +55 -55
- package/esm2015/lib/shell-components/components/menu/menu.component.js +3413 -3413
- package/esm2015/lib/shell-components/components/menu/searchTask.enum.js +10 -10
- package/esm2015/lib/shell-components/components/notifications/announcement-dialog.component.js +110 -110
- package/esm2015/lib/shell-components/components/notifications/notifications.component.js +534 -534
- package/esm2015/lib/shell-components/components/sidebar-top/sidebar-top.component.js +39 -39
- package/esm2015/lib/shell-components/components/sidenav/side-bar.component.js +148 -148
- package/esm2015/lib/shell-components/components/sidenav/sidenav.component.js +439 -439
- package/esm2015/lib/shell-components/components/submit-feedback/submit-feedback.component.js +75 -75
- package/esm2015/lib/shell-components/constants/api-urls.js +1052 -1052
- package/esm2015/lib/shell-components/constants/available-languages.js +25 -25
- package/esm2015/lib/shell-components/constants/channel-names.js +38 -38
- package/esm2015/lib/shell-components/constants/menu-categories.js +6 -6
- package/esm2015/lib/shell-components/constants/notification-routes.js +6 -6
- package/esm2015/lib/shell-components/constants/notification-type-ids.js +42 -42
- package/esm2015/lib/shell-components/enum/recentSearchType.enum.js +13 -13
- package/esm2015/lib/shell-components/models/AppMenuItemModel.js +3 -3
- package/esm2015/lib/shell-components/models/AppNotification.js +17 -17
- package/esm2015/lib/shell-components/models/AssetAssignedNotificationModel.js +12 -12
- package/esm2015/lib/shell-components/models/ChannelUpdateModel.js +3 -3
- package/esm2015/lib/shell-components/models/EmployeeStatusModel.js +3 -3
- package/esm2015/lib/shell-components/models/IAdjust-screen-options.js +2 -2
- package/esm2015/lib/shell-components/models/IBadge.js +2 -2
- package/esm2015/lib/shell-components/models/IChildItem.js +2 -2
- package/esm2015/lib/shell-components/models/ILayout-change-options.js +2 -2
- package/esm2015/lib/shell-components/models/IMenuItem.js +2 -2
- package/esm2015/lib/shell-components/models/IlayoutConf.js +2 -2
- package/esm2015/lib/shell-components/models/IntroModel.js +3 -3
- package/esm2015/lib/shell-components/models/MessageDetails.js +3 -3
- package/esm2015/lib/shell-components/models/MessageTypingDetails.js +3 -3
- package/esm2015/lib/shell-components/models/NewProjectCreatedNotificationModel.js +10 -10
- package/esm2015/lib/shell-components/models/NewProjectFeatureNotificationModel.js +10 -10
- package/esm2015/lib/shell-components/models/NotificationsOutPutModel.js +22 -22
- package/esm2015/lib/shell-components/models/ProjectSearchCriteriaInputModel.js +3 -3
- package/esm2015/lib/shell-components/models/RecentSearchModel.js +5 -5
- package/esm2015/lib/shell-components/models/ReportConfigAssignedNotification.js +11 -11
- package/esm2015/lib/shell-components/models/ReportSubmittedNotification.js +12 -12
- package/esm2015/lib/shell-components/models/RoleUpdatedNotification.js +9 -9
- package/esm2015/lib/shell-components/models/UserStoryAssignedNotification.js +13 -13
- package/esm2015/lib/shell-components/models/archiveUserStoryModel.js +10 -10
- package/esm2015/lib/shell-components/models/companieslist.model.js +3 -3
- package/esm2015/lib/shell-components/models/company-model.js +7 -7
- package/esm2015/lib/shell-components/models/company-payment-model.js +3 -3
- package/esm2015/lib/shell-components/models/dragedWidget.js +3 -3
- package/esm2015/lib/shell-components/models/employee-List.js +3 -3
- package/esm2015/lib/shell-components/models/employee.js +4 -4
- package/esm2015/lib/shell-components/models/entityRoleFeature.js +3 -3
- package/esm2015/lib/shell-components/models/export-configuration-model.js +3 -3
- package/esm2015/lib/shell-components/models/export-data.module.js +8 -8
- package/esm2015/lib/shell-components/models/goalApprovedNotificationModel.js +9 -9
- package/esm2015/lib/shell-components/models/import-configuration-model.js +3 -3
- package/esm2015/lib/shell-components/models/initialStatusofUsers.js +3 -3
- package/esm2015/lib/shell-components/models/invoiceOutput-model.js +3 -3
- package/esm2015/lib/shell-components/models/leaveApplicationNotifiction.js +9 -9
- package/esm2015/lib/shell-components/models/multiChartsScheduling.js +11 -11
- package/esm2015/lib/shell-components/models/parkUserStoryInputModel.js +10 -10
- package/esm2015/lib/shell-components/models/project.js +3 -3
- package/esm2015/lib/shell-components/models/recentSearchApiModel.js +3 -3
- package/esm2015/lib/shell-components/models/searchCriteriaInputModelBase.js +3 -3
- package/esm2015/lib/shell-components/models/shellModulesInfo.js +7 -7
- package/esm2015/lib/shell-components/models/softlabels-model.js +7 -7
- package/esm2015/lib/shell-components/models/sprintReplanRequestedModel.js +9 -9
- package/esm2015/lib/shell-components/models/sprintStartedNotificationModel.js +9 -9
- package/esm2015/lib/shell-components/models/store-model.js +3 -3
- package/esm2015/lib/shell-components/models/store-search-model.js +4 -4
- package/esm2015/lib/shell-components/models/themes.model.js +3 -3
- package/esm2015/lib/shell-components/models/timesheetenabledisable.js +4 -4
- package/esm2015/lib/shell-components/models/user.js +8 -8
- package/esm2015/lib/shell-components/models/userStory.js +3 -3
- package/esm2015/lib/shell-components/models/userStoryCommentNotificationModel.js +9 -9
- package/esm2015/lib/shell-components/models/userStoryUpdateNotificationModel.js +9 -9
- package/esm2015/lib/shell-components/models/userstory-custom-fields.model.js +3 -3
- package/esm2015/lib/shell-components/models/validation.model.js +2 -2
- package/esm2015/lib/shell-components/models/widgetlist.js +6 -6
- package/esm2015/lib/shell-components/models/workspaceList.js +3 -3
- package/esm2015/lib/shell-components/services/authentication.service.js +96 -96
- package/esm2015/lib/shell-components/services/chat.service.js +67 -67
- package/esm2015/lib/shell-components/services/common-used.service.js +263 -263
- package/esm2015/lib/shell-components/services/feature.service.js +101 -101
- package/esm2015/lib/shell-components/services/google-analytics.service.js +24 -24
- package/esm2015/lib/shell-components/services/layout.service.js +68 -68
- package/esm2015/lib/shell-components/services/payment.service.js +103 -103
- package/esm2015/lib/shell-components/services/recentSearch.service.js +90 -90
- package/esm2015/lib/shell-components/services/shell.modules.service.js +24 -24
- package/esm2015/lib/shell-components/services/signalr.service.js +113 -113
- package/esm2015/lib/shell-components/services/theme.service.js +161 -161
- package/esm2015/lib/shell-components/shell.module.js +450 -450
- package/esm2015/lib/shell-components/shell.routing.js +16 -16
- package/esm2015/lib/shell-components/store/actions/authentication.actions.js +260 -260
- package/esm2015/lib/shell-components/store/actions/chat.actions.js +248 -248
- package/esm2015/lib/shell-components/store/actions/menuitems.actions.js +39 -39
- package/esm2015/lib/shell-components/store/actions/notification-validator.action.js +19 -19
- package/esm2015/lib/shell-components/store/actions/notifications.actions.js +74 -74
- package/esm2015/lib/shell-components/store/effects/authentication.effects.js +503 -503
- package/esm2015/lib/shell-components/store/effects/chat.effects.js +139 -139
- package/esm2015/lib/shell-components/store/effects/index.js +13 -13
- package/esm2015/lib/shell-components/store/effects/menuitems.effects.js +53 -53
- package/esm2015/lib/shell-components/store/effects/notification-validator.effects.js +56 -56
- package/esm2015/lib/shell-components/store/effects/notifications.effects.js +116 -116
- package/esm2015/lib/shell-components/store/reducers/authentication.reducers.js +86 -86
- package/esm2015/lib/shell-components/store/reducers/chat.reducers.js +68 -68
- package/esm2015/lib/shell-components/store/reducers/index.js +80 -80
- package/esm2015/lib/shell-components/store/reducers/menuitems.reducers.js +56 -56
- package/esm2015/lib/shell-components/store/reducers/notification-validator.reducers.js +13 -13
- package/esm2015/lib/shell-components/store/reducers/notifications.reducers.js +38 -38
- package/esm2015/public-api.js +92 -92
- package/esm2015/store/reducers/index.js +47 -47
- package/esm2015/thetradeengineorg1-snova-shell-module.js +4 -4
- package/fesm2015/thetradeengineorg1-snova-shell-module.js +16979 -16979
- package/fesm2015/thetradeengineorg1-snova-shell-module.js.map +1 -1
- package/lib/globaldependencies/components/avatar.component.d.ts +10 -10
- package/lib/globaldependencies/components/componentbase.d.ts +455 -455
- package/lib/globaldependencies/constants/feature-ids.d.ts +448 -448
- package/lib/globaldependencies/constants/localstorage-properties.d.ts +37 -37
- package/lib/globaldependencies/helpers/dom.helper.d.ts +7 -7
- package/lib/globaldependencies/helpers/fontawesome-icons.d.ts +1 -1
- package/lib/globaldependencies/helpers/moment-utc-date-adapter.d.ts +9 -9
- package/lib/globaldependencies/helpers/window.helper.d.ts +12 -12
- package/lib/globaldependencies/intercepter/jwt.interceptor.d.ts +11 -11
- package/lib/globaldependencies/pipes/fetchSizedAndCachedImage.pipe.d.ts +8 -8
- package/lib/globaldependencies/pipes/highLightText.pipe.d.ts +8 -8
- package/lib/globaldependencies/pipes/orderby-pipe.d.ts +9 -9
- package/lib/globaldependencies/pipes/removeSpecialCharacters.pipe.d.ts +8 -8
- package/lib/globaldependencies/pipes/sanitize.pipe.d.ts +11 -11
- package/lib/globaldependencies/pipes/softlabels.pipes.d.ts +8 -8
- package/lib/globaldependencies/pipes/utctolocaltime.pipe.d.ts +8 -8
- package/lib/globaldependencies/pipes/utctolocaltimewithdate.pipe.d.ts +8 -8
- package/lib/globaldependencies/pipes/workflowstatus.pipes.d.ts +8 -8
- package/lib/shell-components/components/Payments/account.component.d.ts +14 -14
- package/lib/shell-components/components/Payments/company-information.d.ts +62 -62
- package/lib/shell-components/components/Payments/company-plans.component.d.ts +47 -47
- package/lib/shell-components/components/Payments/document.component.d.ts +20 -20
- package/lib/shell-components/components/Payments/payment-method.component.d.ts +15 -15
- package/lib/shell-components/components/Payments/product-service.component.d.ts +48 -48
- package/lib/shell-components/components/Payments/purchase-more-licenses.d.ts +37 -37
- package/lib/shell-components/components/Payments/transactions.component.d.ts +28 -28
- package/lib/shell-components/components/admin-layout/admin-layout.component.d.ts +67 -67
- package/lib/shell-components/components/all-work-items-dialog/all-work-items-dialog.component.d.ts +32 -32
- package/lib/shell-components/components/confirmation-dialog/confirmation-dialog.component.d.ts +32 -32
- package/lib/shell-components/components/export-import-configuration/export-configuration.component.d.ts +60 -60
- package/lib/shell-components/components/feed-time/feed-time-dialog.component.d.ts +33 -33
- package/lib/shell-components/components/feed-time/feed-time.component.d.ts +27 -27
- package/lib/shell-components/components/header-side/header-side.component.d.ts +220 -220
- package/lib/shell-components/components/header-top/header-top.component.d.ts +40 -40
- package/lib/shell-components/components/lives/lives-welcome-page.d.ts +14 -14
- package/lib/shell-components/components/menu/menu.component.d.ts +220 -220
- package/lib/shell-components/components/menu/searchTask.enum.d.ts +8 -8
- package/lib/shell-components/components/notifications/announcement-dialog.component.d.ts +27 -27
- package/lib/shell-components/components/notifications/notifications.component.d.ts +53 -53
- package/lib/shell-components/components/sidebar-top/sidebar-top.component.d.ts +10 -10
- package/lib/shell-components/components/sidenav/side-bar.component.d.ts +23 -23
- package/lib/shell-components/components/sidenav/sidenav.component.d.ts +17 -17
- package/lib/shell-components/components/submit-feedback/submit-feedback.component.d.ts +25 -25
- package/lib/shell-components/constants/api-urls.d.ts +1051 -1051
- package/lib/shell-components/constants/available-languages.d.ts +7 -7
- package/lib/shell-components/constants/channel-names.d.ts +37 -37
- package/lib/shell-components/constants/menu-categories.d.ts +5 -5
- package/lib/shell-components/constants/notification-routes.d.ts +5 -5
- package/lib/shell-components/constants/notification-type-ids.d.ts +41 -41
- package/lib/shell-components/enum/recentSearchType.enum.d.ts +11 -11
- package/lib/shell-components/models/AppMenuItemModel.d.ts +12 -12
- package/lib/shell-components/models/AppNotification.d.ts +12 -12
- package/lib/shell-components/models/AssetAssignedNotificationModel.d.ts +10 -10
- package/lib/shell-components/models/ChannelUpdateModel.d.ts +47 -47
- package/lib/shell-components/models/EmployeeStatusModel.d.ts +11 -11
- package/lib/shell-components/models/IAdjust-screen-options.d.ts +4 -4
- package/lib/shell-components/models/IBadge.d.ts +4 -4
- package/lib/shell-components/models/IChildItem.d.ts +7 -7
- package/lib/shell-components/models/ILayout-change-options.d.ts +4 -4
- package/lib/shell-components/models/IMenuItem.d.ts +14 -14
- package/lib/shell-components/models/IlayoutConf.d.ts +10 -10
- package/lib/shell-components/models/IntroModel.d.ts +3 -3
- package/lib/shell-components/models/MessageDetails.d.ts +55 -55
- package/lib/shell-components/models/MessageTypingDetails.d.ts +9 -9
- package/lib/shell-components/models/NewProjectCreatedNotificationModel.d.ts +8 -8
- package/lib/shell-components/models/NewProjectFeatureNotificationModel.d.ts +8 -8
- package/lib/shell-components/models/NotificationsOutPutModel.d.ts +41 -41
- package/lib/shell-components/models/ProjectSearchCriteriaInputModel.d.ts +10 -10
- package/lib/shell-components/models/RecentSearchModel.d.ts +14 -14
- package/lib/shell-components/models/ReportConfigAssignedNotification.d.ts +9 -9
- package/lib/shell-components/models/ReportSubmittedNotification.d.ts +10 -10
- package/lib/shell-components/models/RoleUpdatedNotification.d.ts +7 -7
- package/lib/shell-components/models/UserStoryAssignedNotification.d.ts +8 -8
- package/lib/shell-components/models/archiveUserStoryModel.d.ts +7 -7
- package/lib/shell-components/models/companieslist.model.d.ts +8 -8
- package/lib/shell-components/models/company-model.d.ts +31 -31
- package/lib/shell-components/models/company-payment-model.d.ts +18 -18
- package/lib/shell-components/models/dragedWidget.d.ts +16 -16
- package/lib/shell-components/models/employee-List.d.ts +8 -8
- package/lib/shell-components/models/employee.d.ts +60 -60
- package/lib/shell-components/models/entityRoleFeature.d.ts +9 -9
- package/lib/shell-components/models/export-configuration-model.d.ts +8 -8
- package/lib/shell-components/models/export-data.module.d.ts +6 -6
- package/lib/shell-components/models/goalApprovedNotificationModel.d.ts +8 -8
- package/lib/shell-components/models/import-configuration-model.d.ts +3 -3
- package/lib/shell-components/models/initialStatusofUsers.d.ts +5 -5
- package/lib/shell-components/models/invoiceOutput-model.d.ts +9 -9
- package/lib/shell-components/models/leaveApplicationNotifiction.d.ts +7 -7
- package/lib/shell-components/models/multiChartsScheduling.d.ts +9 -9
- package/lib/shell-components/models/parkUserStoryInputModel.d.ts +7 -7
- package/lib/shell-components/models/project.d.ts +28 -28
- package/lib/shell-components/models/recentSearchApiModel.d.ts +6 -6
- package/lib/shell-components/models/searchCriteriaInputModelBase.d.ts +10 -10
- package/lib/shell-components/models/shellModulesInfo.d.ts +16 -16
- package/lib/shell-components/models/softlabels-model.d.ts +66 -66
- package/lib/shell-components/models/sprintReplanRequestedModel.d.ts +7 -7
- package/lib/shell-components/models/sprintStartedNotificationModel.d.ts +7 -7
- package/lib/shell-components/models/store-model.d.ts +13 -13
- package/lib/shell-components/models/store-search-model.d.ts +7 -7
- package/lib/shell-components/models/themes.model.d.ts +9 -9
- package/lib/shell-components/models/timesheetenabledisable.d.ts +16 -16
- package/lib/shell-components/models/user.d.ts +40 -40
- package/lib/shell-components/models/userStory.d.ts +188 -188
- package/lib/shell-components/models/userStoryCommentNotificationModel.d.ts +6 -6
- package/lib/shell-components/models/userStoryUpdateNotificationModel.d.ts +6 -6
- package/lib/shell-components/models/userstory-custom-fields.model.d.ts +6 -6
- package/lib/shell-components/models/validation.model.d.ts +5 -5
- package/lib/shell-components/models/widgetlist.d.ts +28 -28
- package/lib/shell-components/models/workspaceList.d.ts +19 -19
- package/lib/shell-components/services/authentication.service.d.ts +18 -18
- package/lib/shell-components/services/chat.service.d.ts +16 -16
- package/lib/shell-components/services/common-used.service.d.ts +45 -45
- package/lib/shell-components/services/feature.service.d.ts +19 -19
- package/lib/shell-components/services/google-analytics.service.d.ts +9 -9
- package/lib/shell-components/services/layout.service.d.ts +23 -23
- package/lib/shell-components/services/payment.service.d.ts +19 -19
- package/lib/shell-components/services/recentSearch.service.d.ts +16 -16
- package/lib/shell-components/services/shell.modules.service.d.ts +9 -9
- package/lib/shell-components/services/signalr.service.d.ts +25 -25
- package/lib/shell-components/services/theme.service.d.ts +14 -14
- package/lib/shell-components/shell.module.d.ts +119 -119
- package/lib/shell-components/shell.routing.d.ts +2 -2
- package/lib/shell-components/store/actions/authentication.actions.d.ts +327 -327
- package/lib/shell-components/store/actions/chat.actions.d.ts +399 -399
- package/lib/shell-components/store/actions/menuitems.actions.d.ts +51 -51
- package/lib/shell-components/store/actions/notification-validator.action.d.ts +25 -25
- package/lib/shell-components/store/actions/notifications.actions.d.ts +116 -116
- package/lib/shell-components/store/effects/authentication.effects.d.ts +54 -54
- package/lib/shell-components/store/effects/chat.effects.d.ts +30 -30
- package/lib/shell-components/store/effects/index.d.ts +1 -1
- package/lib/shell-components/store/effects/menuitems.effects.d.ts +17 -17
- package/lib/shell-components/store/effects/notification-validator.effects.d.ts +21 -21
- package/lib/shell-components/store/effects/notifications.effects.d.ts +23 -23
- package/lib/shell-components/store/reducers/authentication.reducers.d.ts +30 -30
- package/lib/shell-components/store/reducers/chat.reducers.d.ts +17 -17
- package/lib/shell-components/store/reducers/index.d.ts +59 -59
- package/lib/shell-components/store/reducers/menuitems.reducers.d.ts +11 -11
- package/lib/shell-components/store/reducers/notification-validator.reducers.d.ts +5 -5
- package/lib/shell-components/store/reducers/notifications.reducers.d.ts +10 -10
- package/package.json +1 -1
- package/public-api.d.ts +82 -82
- package/store/reducers/index.d.ts +24 -24
- package/thetradeengineorg1-snova-shell-module.d.ts +5 -5
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import { Component, EventEmitter, Inject, Output, ViewEncapsulation, NgModuleFactory } from "@angular/core";
|
|
2
|
-
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
|
3
|
-
import { CustomAppBaseComponent } from '../../../globaldependencies/components/componentbase';
|
|
4
|
-
import * as _ from "underscore";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../services/shell.modules.service";
|
|
7
|
-
import * as i2 from "@angular/material/dialog";
|
|
8
|
-
import * as i3 from "@angular/router";
|
|
9
|
-
import * as i4 from "@fortawesome/angular-fontawesome";
|
|
10
|
-
import * as i5 from "@thetradeengineorg1/snova-ndc-dynamic";
|
|
11
|
-
export class FeedTimeDialogComponent extends CustomAppBaseComponent {
|
|
12
|
-
constructor(projectModulesService, compiler, vcr, reportsDialog, data, route) {
|
|
13
|
-
super();
|
|
14
|
-
this.projectModulesService = projectModulesService;
|
|
15
|
-
this.compiler = compiler;
|
|
16
|
-
this.vcr = vcr;
|
|
17
|
-
this.reportsDialog = reportsDialog;
|
|
18
|
-
this.data = data;
|
|
19
|
-
this.route = route;
|
|
20
|
-
this.closeReportsSheetPopup = new EventEmitter();
|
|
21
|
-
this.outputs = {
|
|
22
|
-
closeFeedTimeSheetPopup: () => this.onNoClick()
|
|
23
|
-
};
|
|
24
|
-
this.componentInputs = {
|
|
25
|
-
isFeedTimeSheet: false
|
|
26
|
-
};
|
|
27
|
-
this.componentInputs = {
|
|
28
|
-
isFeedTimeSheet: data
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
onNoClick() {
|
|
32
|
-
this.reportsDialog.close();
|
|
33
|
-
this.closeReportsSheetPopup.emit(true);
|
|
34
|
-
}
|
|
35
|
-
ngOnInit() {
|
|
36
|
-
this.injector = this.vcr.injector;
|
|
37
|
-
super.ngOnInit();
|
|
38
|
-
this.loadComponent();
|
|
39
|
-
}
|
|
40
|
-
loadComponent() {
|
|
41
|
-
// var modules = this.shellModulesService["modules"];
|
|
42
|
-
var loader = this.projectModulesService["modules"];
|
|
43
|
-
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
44
|
-
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
45
|
-
var path = loader[module.modulePackageName];
|
|
46
|
-
path()
|
|
47
|
-
.then(elementModuleOrFactory => {
|
|
48
|
-
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
49
|
-
// if ViewEngine
|
|
50
|
-
return elementModuleOrFactory;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
try {
|
|
54
|
-
// if Ivy
|
|
55
|
-
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
56
|
-
}
|
|
57
|
-
catch (err) {
|
|
58
|
-
throw err;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}).then((moduleFactory) => {
|
|
62
|
-
const componentService = moduleFactory.moduleType.componentService;
|
|
63
|
-
var allComponentsInModule = componentService.components;
|
|
64
|
-
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
65
|
-
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
66
|
-
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
FeedTimeDialogComponent.ɵfac = function FeedTimeDialogComponent_Factory(t) { return new (t || FeedTimeDialogComponent)(i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i2.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA), i0.ɵɵdirectiveInject(i3.ActivatedRoute)); };
|
|
71
|
-
FeedTimeDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeDialogComponent, selectors: [["feed-time-dailogue"]], outputs: { closeReportsSheetPopup: "closeReportsSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 5, consts: [[1, "custom-dialog"], ["mat-dialog-close", "", 1, "custom-close", 3, "click"], ["icon", "times", 1, "project-dialog"], ["id", "style-1", "mat-dialog-content", "", 1, "user-dailog"], [3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
73
|
-
i0.ɵɵelementStart(1, "div", 1);
|
|
74
|
-
i0.ɵɵlistener("click", function FeedTimeDialogComponent_Template_div_click_1_listener() { return ctx.onNoClick(); });
|
|
75
|
-
i0.ɵɵelement(2, "fa-icon", 2);
|
|
76
|
-
i0.ɵɵelementEnd();
|
|
77
|
-
i0.ɵɵelementEnd();
|
|
78
|
-
i0.ɵɵelementStart(3, "div", 3);
|
|
79
|
-
i0.ɵɵelement(4, "ndc-dynamic", 4);
|
|
80
|
-
i0.ɵɵelementEnd();
|
|
81
|
-
} if (rf & 2) {
|
|
82
|
-
i0.ɵɵadvance(4);
|
|
83
|
-
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
84
|
-
} }, directives: [i2.MatDialogClose, i4.FaIconComponent, i2.MatDialogContent, i5.DynamicComponent, i5.DynamicDirective], encapsulation: 2 });
|
|
85
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeDialogComponent, [{
|
|
86
|
-
type: Component,
|
|
87
|
-
args: [{
|
|
88
|
-
selector: "feed-time-dailogue",
|
|
89
|
-
templateUrl: "feed-time-dialog.component.html",
|
|
90
|
-
encapsulation: ViewEncapsulation.None,
|
|
91
|
-
}]
|
|
92
|
-
}], function () { return [{ type: i1.ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }, { type: i2.MatDialogRef }, { type: undefined, decorators: [{
|
|
93
|
-
type: Inject,
|
|
94
|
-
args: [MAT_DIALOG_DATA]
|
|
95
|
-
}] }, { type: i3.ActivatedRoute }]; }, { closeReportsSheetPopup: [{
|
|
96
|
-
type: Output
|
|
97
|
-
}] }); })();
|
|
98
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Inject, Output, ViewEncapsulation, NgModuleFactory } from "@angular/core";
|
|
2
|
+
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
|
3
|
+
import { CustomAppBaseComponent } from '../../../globaldependencies/components/componentbase';
|
|
4
|
+
import * as _ from "underscore";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../services/shell.modules.service";
|
|
7
|
+
import * as i2 from "@angular/material/dialog";
|
|
8
|
+
import * as i3 from "@angular/router";
|
|
9
|
+
import * as i4 from "@fortawesome/angular-fontawesome";
|
|
10
|
+
import * as i5 from "@thetradeengineorg1/snova-ndc-dynamic";
|
|
11
|
+
export class FeedTimeDialogComponent extends CustomAppBaseComponent {
|
|
12
|
+
constructor(projectModulesService, compiler, vcr, reportsDialog, data, route) {
|
|
13
|
+
super();
|
|
14
|
+
this.projectModulesService = projectModulesService;
|
|
15
|
+
this.compiler = compiler;
|
|
16
|
+
this.vcr = vcr;
|
|
17
|
+
this.reportsDialog = reportsDialog;
|
|
18
|
+
this.data = data;
|
|
19
|
+
this.route = route;
|
|
20
|
+
this.closeReportsSheetPopup = new EventEmitter();
|
|
21
|
+
this.outputs = {
|
|
22
|
+
closeFeedTimeSheetPopup: () => this.onNoClick()
|
|
23
|
+
};
|
|
24
|
+
this.componentInputs = {
|
|
25
|
+
isFeedTimeSheet: false
|
|
26
|
+
};
|
|
27
|
+
this.componentInputs = {
|
|
28
|
+
isFeedTimeSheet: data
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
onNoClick() {
|
|
32
|
+
this.reportsDialog.close();
|
|
33
|
+
this.closeReportsSheetPopup.emit(true);
|
|
34
|
+
}
|
|
35
|
+
ngOnInit() {
|
|
36
|
+
this.injector = this.vcr.injector;
|
|
37
|
+
super.ngOnInit();
|
|
38
|
+
this.loadComponent();
|
|
39
|
+
}
|
|
40
|
+
loadComponent() {
|
|
41
|
+
// var modules = this.shellModulesService["modules"];
|
|
42
|
+
var loader = this.projectModulesService["modules"];
|
|
43
|
+
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
44
|
+
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
45
|
+
var path = loader[module.modulePackageName];
|
|
46
|
+
path()
|
|
47
|
+
.then(elementModuleOrFactory => {
|
|
48
|
+
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
49
|
+
// if ViewEngine
|
|
50
|
+
return elementModuleOrFactory;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
try {
|
|
54
|
+
// if Ivy
|
|
55
|
+
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
56
|
+
}
|
|
57
|
+
catch (err) {
|
|
58
|
+
throw err;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}).then((moduleFactory) => {
|
|
62
|
+
const componentService = moduleFactory.moduleType.componentService;
|
|
63
|
+
var allComponentsInModule = componentService.components;
|
|
64
|
+
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
65
|
+
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
66
|
+
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
FeedTimeDialogComponent.ɵfac = function FeedTimeDialogComponent_Factory(t) { return new (t || FeedTimeDialogComponent)(i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i2.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA), i0.ɵɵdirectiveInject(i3.ActivatedRoute)); };
|
|
71
|
+
FeedTimeDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeDialogComponent, selectors: [["feed-time-dailogue"]], outputs: { closeReportsSheetPopup: "closeReportsSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 5, consts: [[1, "custom-dialog"], ["mat-dialog-close", "", 1, "custom-close", 3, "click"], ["icon", "times", 1, "project-dialog"], ["id", "style-1", "mat-dialog-content", "", 1, "user-dailog"], [3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
73
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
74
|
+
i0.ɵɵlistener("click", function FeedTimeDialogComponent_Template_div_click_1_listener() { return ctx.onNoClick(); });
|
|
75
|
+
i0.ɵɵelement(2, "fa-icon", 2);
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
79
|
+
i0.ɵɵelement(4, "ndc-dynamic", 4);
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
} if (rf & 2) {
|
|
82
|
+
i0.ɵɵadvance(4);
|
|
83
|
+
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
84
|
+
} }, directives: [i2.MatDialogClose, i4.FaIconComponent, i2.MatDialogContent, i5.DynamicComponent, i5.DynamicDirective], encapsulation: 2 });
|
|
85
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeDialogComponent, [{
|
|
86
|
+
type: Component,
|
|
87
|
+
args: [{
|
|
88
|
+
selector: "feed-time-dailogue",
|
|
89
|
+
templateUrl: "feed-time-dialog.component.html",
|
|
90
|
+
encapsulation: ViewEncapsulation.None,
|
|
91
|
+
}]
|
|
92
|
+
}], function () { return [{ type: i1.ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }, { type: i2.MatDialogRef }, { type: undefined, decorators: [{
|
|
93
|
+
type: Inject,
|
|
94
|
+
args: [MAT_DIALOG_DATA]
|
|
95
|
+
}] }, { type: i3.ActivatedRoute }]; }, { closeReportsSheetPopup: [{
|
|
96
|
+
type: Output
|
|
97
|
+
}] }); })();
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZC10aW1lLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zaGVsbC1tb2R1bGUtY29tcG9uZW50cy9zaGVsbC1jb21wb25lbnRzL3NyYy9saWIvc2hlbGwtY29tcG9uZW50cy9jb21wb25lbnRzL2ZlZWQtdGltZS9mZWVkLXRpbWUtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NoZWxsLW1vZHVsZS1jb21wb25lbnRzL3NoZWxsLWNvbXBvbmVudHMvc3JjL2xpYi9zaGVsbC1jb21wb25lbnRzL2NvbXBvbmVudHMvZmVlZC10aW1lL2ZlZWQtdGltZS1kaWFsb2cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFVLE1BQU0sRUFBUSxpQkFBaUIsRUFBd0QsZUFBZSxFQUFzQyxNQUFNLGVBQWUsQ0FBQztBQUNwTixPQUFPLEVBQUUsZUFBZSxFQUFnQixNQUFNLDBCQUEwQixDQUFDO0FBRXpFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBRTlGLE9BQU8sS0FBSyxDQUFDLE1BQU0sWUFBWSxDQUFDOzs7Ozs7O0FBVWhDLE1BQU0sT0FBTyx1QkFBd0IsU0FBUSxzQkFBc0I7SUFnQi9ELFlBQ1kscUJBQTBDLEVBQVUsUUFBa0IsRU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ICAgICAgICAgICAgICAgICAgIC8vIGlmIFZpZXdFbmdpbmVcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGVsZW1lbnRNb2R1bGVPckZhY3Rvcnk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGlmIEl2eVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuY29tcGlsZXIuY29tcGlsZU1vZHVsZUFzeW5jKGVsZW1lbnRNb2R1bGVPckZhY3RvcnkpO1xuICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRocm93IGVycjtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pLnRoZW4oKG1vZHVsZUZhY3Rvcnk6IE5nTW9kdWxlRmFjdG9yeTxhbnk+KSA9PiB7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBjb21wb25lbnRTZXJ2aWNlID0gKG1vZHVsZUZhY3RvcnkubW9kdWxlVHlwZSBhcyBNb2R1bGVXaXRoQ29tcG9uZW50U2VydmljZSkuY29tcG9uZW50U2VydmljZTtcblxuICAgICAgICAgICAgICAgIHZhciBhbGxDb21wb25lbnRzSW5Nb2R1bGUgPSAoPGFueT5jb21wb25lbnRTZXJ2aWNlKS5jb21wb25lbnRzO1xuXG4gICAgICAgICAgICAgICAgdGhpcy5uZ01vZHVsZVJlZiA9IG1vZHVsZUZhY3RvcnkuY3JlYXRlKHRoaXMuaW5qZWN0b3IpO1xuXG4gICAgICAgICAgICAgICAgdmFyIGNvbXBvbmVudERldGFpbHMgPSBhbGxDb21wb25lbnRzSW5Nb2R1bGUuZmluZChlbGVtZW50SW5BcnJheSA9PlxuICAgICAgICAgICAgICAgICAgICBlbGVtZW50SW5BcnJheS5uYW1lID09PSBcIlRpbWUgcHVuY2ggY2FyZFwiXG4gICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgIHRoaXMuZmVlZFRpbWVDb21wb25lbnQgPSB0aGlzLm5nTW9kdWxlUmVmLmNvbXBvbmVudEZhY3RvcnlSZXNvbHZlci5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeShjb21wb25lbnREZXRhaWxzLmNvbXBvbmVudFR5cGVPYmplY3QpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG5cbn1cbiIsIjxkaXYgY2xhc3M9XCJjdXN0b20tZGlhbG9nXCI+XG4gICAgPGRpdiBjbGFzcz1cImN1c3RvbS1jbG9zZVwiIG1hdC1kaWFsb2ctY2xvc2UgKGNsaWNrKT1cIm9uTm9DbGljaygpXCI+XG4gICAgICAgIDxmYS1pY29uIGljb249XCJ0aW1lc1wiIGNsYXNzPVwicHJvamVjdC1kaWFsb2dcIj48L2ZhLWljb24+XG4gICAgPC9kaXY+XG48L2Rpdj5cbjxkaXYgaWQ9XCJzdHlsZS0xXCIgY2xhc3M9XCJ1c2VyLWRhaWxvZ1wiIG1hdC1kaWFsb2ctY29udGVudD5cbiAgICA8bmRjLWR5bmFtaWMgW25kY0R5bmFtaWNGYWN0b3J5XT1cImZlZWRUaW1lQ29tcG9uZW50XCJcbiAgICBbbmRjRHluYW1pY0NvbXBvbmVudF09XCJmZWVkVGltZUNvbXBvbmVudFwiIFtuZGNEeW5hbWljSW5qZWN0b3JdPVwiaW5qZWN0b3JcIlxuICAgIFtuZGNEeW5hbWljSW5wdXRzXT1cImNvbXBvbmVudElucHV0c1wiIFtuZGNEeW5hbWljT3V0cHV0c109XCJvdXRwdXRzXCI+XG48L25kYy1keW5hbWljPlxuPC9kaXY+Il19
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
import { CustomAppBaseComponent } from '../../../globaldependencies/components/componentbase';
|
|
3
|
-
import '../../../globaldependencies/helpers/fontawesome-icons';
|
|
4
|
-
import { NgModuleFactory } from '@angular/core';
|
|
5
|
-
import * as _ from "underscore";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../services/shell.modules.service";
|
|
8
|
-
import * as i2 from "@thetradeengineorg1/snova-ndc-dynamic";
|
|
9
|
-
export class FeedTimeComponent extends CustomAppBaseComponent {
|
|
10
|
-
constructor(projectModulesService, compiler, vcr) {
|
|
11
|
-
super();
|
|
12
|
-
this.projectModulesService = projectModulesService;
|
|
13
|
-
this.compiler = compiler;
|
|
14
|
-
this.vcr = vcr;
|
|
15
|
-
this.componentInputs = {
|
|
16
|
-
isFeedTimeSheet: false
|
|
17
|
-
};
|
|
18
|
-
this.outputs = {
|
|
19
|
-
closeFeedTimeSheetPopup: () => this.closeFeedTimeSheet()
|
|
20
|
-
};
|
|
21
|
-
this.closeFeedTimeSheetPopup = new EventEmitter();
|
|
22
|
-
}
|
|
23
|
-
set _isFeedTimeSheet(data) {
|
|
24
|
-
if (data != undefined && data != null) {
|
|
25
|
-
this.componentInputs = {
|
|
26
|
-
isFeedTimeSheet: data
|
|
27
|
-
};
|
|
28
|
-
this.loadComponent();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
ngOnInit() {
|
|
32
|
-
this.injector = this.vcr.injector;
|
|
33
|
-
super.ngOnInit();
|
|
34
|
-
}
|
|
35
|
-
closeFeedTimeSheet() {
|
|
36
|
-
this.closeFeedTimeSheetPopup.emit();
|
|
37
|
-
}
|
|
38
|
-
loadComponent() {
|
|
39
|
-
// var modules = this.shellModulesService["modules"];
|
|
40
|
-
var loader = this.projectModulesService["modules"];
|
|
41
|
-
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
42
|
-
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
43
|
-
var path = loader[module.modulePackageName];
|
|
44
|
-
path()
|
|
45
|
-
.then(elementModuleOrFactory => {
|
|
46
|
-
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
47
|
-
// if ViewEngine
|
|
48
|
-
return elementModuleOrFactory;
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
try {
|
|
52
|
-
// if Ivy
|
|
53
|
-
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
54
|
-
}
|
|
55
|
-
catch (err) {
|
|
56
|
-
throw err;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}).then((moduleFactory) => {
|
|
60
|
-
const componentService = moduleFactory.moduleType.componentService;
|
|
61
|
-
var allComponentsInModule = componentService.components;
|
|
62
|
-
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
63
|
-
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
64
|
-
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
FeedTimeComponent.ɵfac = function FeedTimeComponent_Factory(t) { return new (t || FeedTimeComponent)(i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
69
|
-
FeedTimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeComponent, selectors: [["app-feed-time"]], inputs: { _isFeedTimeSheet: ["isFeedTimeSheet", "_isFeedTimeSheet"] }, outputs: { closeFeedTimeSheetPopup: "closeFeedTimeSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
-
i0.ɵɵelement(0, "ndc-dynamic", 0);
|
|
71
|
-
} if (rf & 2) {
|
|
72
|
-
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
73
|
-
} }, directives: [i2.DynamicComponent, i2.DynamicDirective], encapsulation: 2 });
|
|
74
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeComponent, [{
|
|
75
|
-
type: Component,
|
|
76
|
-
args: [{
|
|
77
|
-
selector: 'app-feed-time',
|
|
78
|
-
templateUrl: 'feed-time.component.html',
|
|
79
|
-
encapsulation: ViewEncapsulation.None,
|
|
80
|
-
}]
|
|
81
|
-
}], function () { return [{ type: i1.ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }]; }, { _isFeedTimeSheet: [{
|
|
82
|
-
type: Input,
|
|
83
|
-
args: ["isFeedTimeSheet"]
|
|
84
|
-
}], closeFeedTimeSheetPopup: [{
|
|
85
|
-
type: Output
|
|
86
|
-
}] }); })();
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, ViewEncapsulation, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import { CustomAppBaseComponent } from '../../../globaldependencies/components/componentbase';
|
|
3
|
+
import '../../../globaldependencies/helpers/fontawesome-icons';
|
|
4
|
+
import { NgModuleFactory } from '@angular/core';
|
|
5
|
+
import * as _ from "underscore";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../services/shell.modules.service";
|
|
8
|
+
import * as i2 from "@thetradeengineorg1/snova-ndc-dynamic";
|
|
9
|
+
export class FeedTimeComponent extends CustomAppBaseComponent {
|
|
10
|
+
constructor(projectModulesService, compiler, vcr) {
|
|
11
|
+
super();
|
|
12
|
+
this.projectModulesService = projectModulesService;
|
|
13
|
+
this.compiler = compiler;
|
|
14
|
+
this.vcr = vcr;
|
|
15
|
+
this.componentInputs = {
|
|
16
|
+
isFeedTimeSheet: false
|
|
17
|
+
};
|
|
18
|
+
this.outputs = {
|
|
19
|
+
closeFeedTimeSheetPopup: () => this.closeFeedTimeSheet()
|
|
20
|
+
};
|
|
21
|
+
this.closeFeedTimeSheetPopup = new EventEmitter();
|
|
22
|
+
}
|
|
23
|
+
set _isFeedTimeSheet(data) {
|
|
24
|
+
if (data != undefined && data != null) {
|
|
25
|
+
this.componentInputs = {
|
|
26
|
+
isFeedTimeSheet: data
|
|
27
|
+
};
|
|
28
|
+
this.loadComponent();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
ngOnInit() {
|
|
32
|
+
this.injector = this.vcr.injector;
|
|
33
|
+
super.ngOnInit();
|
|
34
|
+
}
|
|
35
|
+
closeFeedTimeSheet() {
|
|
36
|
+
this.closeFeedTimeSheetPopup.emit();
|
|
37
|
+
}
|
|
38
|
+
loadComponent() {
|
|
39
|
+
// var modules = this.shellModulesService["modules"];
|
|
40
|
+
var loader = this.projectModulesService["modules"];
|
|
41
|
+
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
42
|
+
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
43
|
+
var path = loader[module.modulePackageName];
|
|
44
|
+
path()
|
|
45
|
+
.then(elementModuleOrFactory => {
|
|
46
|
+
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
47
|
+
// if ViewEngine
|
|
48
|
+
return elementModuleOrFactory;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
try {
|
|
52
|
+
// if Ivy
|
|
53
|
+
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
54
|
+
}
|
|
55
|
+
catch (err) {
|
|
56
|
+
throw err;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}).then((moduleFactory) => {
|
|
60
|
+
const componentService = moduleFactory.moduleType.componentService;
|
|
61
|
+
var allComponentsInModule = componentService.components;
|
|
62
|
+
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
63
|
+
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
64
|
+
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
FeedTimeComponent.ɵfac = function FeedTimeComponent_Factory(t) { return new (t || FeedTimeComponent)(i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
69
|
+
FeedTimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeComponent, selectors: [["app-feed-time"]], inputs: { _isFeedTimeSheet: ["isFeedTimeSheet", "_isFeedTimeSheet"] }, outputs: { closeFeedTimeSheetPopup: "closeFeedTimeSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelement(0, "ndc-dynamic", 0);
|
|
71
|
+
} if (rf & 2) {
|
|
72
|
+
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
73
|
+
} }, directives: [i2.DynamicComponent, i2.DynamicDirective], encapsulation: 2 });
|
|
74
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeComponent, [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{
|
|
77
|
+
selector: 'app-feed-time',
|
|
78
|
+
templateUrl: 'feed-time.component.html',
|
|
79
|
+
encapsulation: ViewEncapsulation.None,
|
|
80
|
+
}]
|
|
81
|
+
}], function () { return [{ type: i1.ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }]; }, { _isFeedTimeSheet: [{
|
|
82
|
+
type: Input,
|
|
83
|
+
args: ["isFeedTimeSheet"]
|
|
84
|
+
}], closeFeedTimeSheetPopup: [{
|
|
85
|
+
type: Output
|
|
86
|
+
}] }); })();
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZC10aW1lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NoZWxsLW1vZHVsZS1jb21wb25lbnRzL3NoZWxsLWNvbXBvbmVudHMvc3JjL2xpYi9zaGVsbC1jb21wb25lbnRzL2NvbXBvbmVudHMvZmVlZC10aW1lL2ZlZWQtdGltZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zaGVsbC1tb2R1bGUtY29tcG9uZW50cy9zaGVsbC1jb21wb25lbnRzL3NyYy9saWIvc2hlbGwtY29tcG9uZW50cy9jb21wb25lbnRzL2ZlZWQtdGltZS9mZWVkLXRpbWUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxpQkFBaUIsRUFBZ0UsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQXNDLE1BQU0sZUFBZSxDQUFDO0FBQ3BNLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBQzlGLE9BQU8sdURBQXVELENBQUM7QUFDL0QsT0FBTyxFQUFFLGVBQWUsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUV0RCxPQUFPLEtBQUssQ0FBQyxNQUFNLFlBQVksQ0FBQzs7OztBQVNoQyxNQUFNLE9BQU8saUJBQWtCLFNBQVEsc0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B7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBjb21wb25lbnRTZXJ2aWNlID0gKG1vZHVsZUZhY3RvcnkubW9kdWxlVHlwZSBhcyBNb2R1bGVXaXRoQ29tcG9uZW50U2VydmljZSkuY29tcG9uZW50U2VydmljZTtcblxuICAgICAgICAgICAgICAgIHZhciBhbGxDb21wb25lbnRzSW5Nb2R1bGUgPSAoPGFueT5jb21wb25lbnRTZXJ2aWNlKS5jb21wb25lbnRzO1xuXG4gICAgICAgICAgICAgICAgdGhpcy5uZ01vZHVsZVJlZiA9IG1vZHVsZUZhY3RvcnkuY3JlYXRlKHRoaXMuaW5qZWN0b3IpO1xuXG4gICAgICAgICAgICAgICAgdmFyIGNvbXBvbmVudERldGFpbHMgPSBhbGxDb21wb25lbnRzSW5Nb2R1bGUuZmluZChlbGVtZW50SW5BcnJheSA9PlxuICAgICAgICAgICAgICAgICAgICBlbGVtZW50SW5BcnJheS5uYW1lID09PSBcIlRpbWUgcHVuY2ggY2FyZFwiXG4gICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgIHRoaXMuZmVlZFRpbWVDb21wb25lbnQgPSB0aGlzLm5nTW9kdWxlUmVmLmNvbXBvbmVudEZhY3RvcnlSZXNvbHZlci5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeShjb21wb25lbnREZXRhaWxzLmNvbXBvbmVudFR5cGVPYmplY3QpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG59XG5cbiIsIjxuZGMtZHluYW1pYyBbbmRjRHluYW1pY0ZhY3RvcnldPVwiZmVlZFRpbWVDb21wb25lbnRcIlxuICAgIFtuZGNEeW5hbWljQ29tcG9uZW50XT1cImZlZWRUaW1lQ29tcG9uZW50XCIgW25kY0R5bmFtaWNJbmplY3Rvcl09XCJpbmplY3RvclwiXG4gICAgW25kY0R5bmFtaWNJbnB1dHNdPVwiY29tcG9uZW50SW5wdXRzXCIgW25kY0R5bmFtaWNPdXRwdXRzXT1cIm91dHB1dH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