@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,40 +1,40 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { LocalStorageProperties } from '../constants/localstorage-properties';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "ngx-cookie-service";
|
|
5
|
-
export class JwtInterceptor {
|
|
6
|
-
constructor(cookieService) {
|
|
7
|
-
this.cookieService = cookieService;
|
|
8
|
-
}
|
|
9
|
-
intercept(request, next) {
|
|
10
|
-
let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
11
|
-
let currentUser = this.cookieService.get(LocalStorageProperties.CurrentUser);
|
|
12
|
-
let currentCulture = this.cookieService.get(LocalStorageProperties.CurrentCulture);
|
|
13
|
-
if (currentCulture === 'null' || currentCulture === 'undefined') {
|
|
14
|
-
currentCulture = 'en';
|
|
15
|
-
}
|
|
16
|
-
if (currentUser) {
|
|
17
|
-
request = request.clone({
|
|
18
|
-
setHeaders: {
|
|
19
|
-
Authorization: `Bearer ${currentUser}`,
|
|
20
|
-
CurrentCulture: currentCulture != null && currentCulture != "" ? currentCulture : 'en'
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
if (!environment.production && environment.useTestAuthenticator) {
|
|
25
|
-
request = request.clone({
|
|
26
|
-
setHeaders: {
|
|
27
|
-
Authorization: `Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1laWQiOiIxMjcxMzNmMS00NDI3LTQxNDktOWRkNi1iMDJlMGUwMzY5NzEiLCJDb21wYW55IjoiNGFmZWI0NDQtZTgyNi00Zjk1LWFjNDEtMjE3NWUzNmEwYzE2IiwiaXNzIjoiaHR0cDovL215LnRva2VuaXNzdWVyLmNvbSIsImF1ZCI6Imh0dHA6Ly9teS53ZWJzaXRlLmNvbSIsImV4cCI6MTk4MjA4MTI0NywibmJmIjoxNTUwMDg0ODQ3fQ.yUHRfy1aCW9F_CvbBZmuK-mOWf5YrftathYJ0HYjd6Q`
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
var updatedHandler = next.handle(request);
|
|
32
|
-
return updatedHandler;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
JwtInterceptor.ɵfac = function JwtInterceptor_Factory(t) { return new (t || JwtInterceptor)(i0.ɵɵinject(i1.CookieService)); };
|
|
36
|
-
JwtInterceptor.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: JwtInterceptor, factory: JwtInterceptor.ɵfac });
|
|
37
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JwtInterceptor, [{
|
|
38
|
-
type: Injectable
|
|
39
|
-
}], function () { return [{ type: i1.CookieService }]; }, null); })();
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { LocalStorageProperties } from '../constants/localstorage-properties';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "ngx-cookie-service";
|
|
5
|
+
export class JwtInterceptor {
|
|
6
|
+
constructor(cookieService) {
|
|
7
|
+
this.cookieService = cookieService;
|
|
8
|
+
}
|
|
9
|
+
intercept(request, next) {
|
|
10
|
+
let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
11
|
+
let currentUser = this.cookieService.get(LocalStorageProperties.CurrentUser);
|
|
12
|
+
let currentCulture = this.cookieService.get(LocalStorageProperties.CurrentCulture);
|
|
13
|
+
if (currentCulture === 'null' || currentCulture === 'undefined') {
|
|
14
|
+
currentCulture = 'en';
|
|
15
|
+
}
|
|
16
|
+
if (currentUser) {
|
|
17
|
+
request = request.clone({
|
|
18
|
+
setHeaders: {
|
|
19
|
+
Authorization: `Bearer ${currentUser}`,
|
|
20
|
+
CurrentCulture: currentCulture != null && currentCulture != "" ? currentCulture : 'en'
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
if (!environment.production && environment.useTestAuthenticator) {
|
|
25
|
+
request = request.clone({
|
|
26
|
+
setHeaders: {
|
|
27
|
+
Authorization: `Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1laWQiOiIxMjcxMzNmMS00NDI3LTQxNDktOWRkNi1iMDJlMGUwMzY5NzEiLCJDb21wYW55IjoiNGFmZWI0NDQtZTgyNi00Zjk1LWFjNDEtMjE3NWUzNmEwYzE2IiwiaXNzIjoiaHR0cDovL215LnRva2VuaXNzdWVyLmNvbSIsImF1ZCI6Imh0dHA6Ly9teS53ZWJzaXRlLmNvbSIsImV4cCI6MTk4MjA4MTI0NywibmJmIjoxNTUwMDg0ODQ3fQ.yUHRfy1aCW9F_CvbBZmuK-mOWf5YrftathYJ0HYjd6Q`
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
var updatedHandler = next.handle(request);
|
|
32
|
+
return updatedHandler;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
JwtInterceptor.ɵfac = function JwtInterceptor_Factory(t) { return new (t || JwtInterceptor)(i0.ɵɵinject(i1.CookieService)); };
|
|
36
|
+
JwtInterceptor.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: JwtInterceptor, factory: JwtInterceptor.ɵfac });
|
|
37
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JwtInterceptor, [{
|
|
38
|
+
type: Injectable
|
|
39
|
+
}], function () { return [{ type: i1.CookieService }]; }, null); })();
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiand0LmludGVyY2VwdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc2hlbGwtbW9kdWxlLWNvbXBvbmVudHMvc2hlbGwtY29tcG9uZW50cy9zcmMvbGliL2dsb2JhbGRlcGVuZGVuY2llcy9pbnRlcmNlcHRlci9qd3QuaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUszQyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQzs7O0FBSTlFLE1BQU0sT0FBTyxjQUFjO0lBQ3ZCLFlBQW9CLGFBQTRCO1FBQTVCLGtCQUFhLEdBQWIsYUFBYSxDQUFlO0lBQUksQ0FBQztJQUVyRCxTQUFTLENBQUMsT0FBeUIsRUFBRSxJQUFpQjtRQUNsRCxJQUFJLFdBQVcs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cGVydGllcy5DdXJyZW50VXNlcik7XG4gICAgICAgIGxldCBjdXJyZW50Q3VsdHVyZSA9IHRoaXMuY29va2llU2VydmljZS5nZXQoTG9jYWxTdG9yYWdlUHJvcGVydGllcy5DdXJyZW50Q3VsdHVyZSk7XG5cbiAgICAgICAgaWYgKGN1cnJlbnRDdWx0dXJlID09PSAnbnVsbCcgfHwgY3VycmVudEN1bHR1cmUgPT09ICd1bmRlZmluZWQnKSB7XG4gICAgICAgICAgICBjdXJyZW50Q3VsdHVyZSA9ICdlbic7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGN1cnJlbnRVc2VyKSB7XG4gICAgICAgICAgICByZXF1ZXN0ID0gcmVxdWVzdC5jbG9uZSh7XG4gICAgICAgICAgICAgICAgc2V0SGVhZGVyczoge1xuICAgICAgICAgICAgICAgICAgICBBdXRob3JpemF0aW9uOiBgQmVhcmVyICR7Y3VycmVudFVzZXJ9YCxcbiAgICAgICAgICAgICAgICAgICAgQ3VycmVudEN1bHR1cmU6IGN1cnJlbnRDdWx0dXJlICE9IG51bGwgJiYgY3VycmVudEN1bHR1cmUgIT0gXCJcIiA/IGN1cnJlbnRDdWx0dXJlIDogJ2VuJ1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICAgIGlmICghZW52aXJvbm1lbnQucHJvZHVjdGlvbiAmJiBlbnZpcm9ubWVudC51c2VUZXN0QXV0aGVudGljYXRvcikge1xuICAgICAgICAgICAgcmVxdWVzdCA9IHJlcXVlc3QuY2xvbmUoe1xuICAgICAgICAgICAgICAgIHNldEhlYWRlcnM6IHtcbiAgICAgICAgICAgICAgICAgICAgQXV0aG9yaXphdGlvbjogYEJlYXJlciBleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdVlXMWxhV1FpT2lJeE1qY3hNek5tTVMwME5ESTNMVFF4TkRrdE9XUmtOaTFpTURKbE1HVXdNelk1TnpFaUxDSkRiMjF3WVc1NUlqb2lOR0ZtWldJME5EUXRaVGd5TmkwMFpqazFMV0ZqTkRFdE1qRTNOV1V6Tm1Fd1l6RTJJaXdpYVhOeklqb2lhSFIwY0RvdkwyMTVMblJ2YTJWdWFYTnpkV1Z5TG1OdmJTSXNJbUYxWkNJNkltaDBkSEE2THk5dGVTNTNaV0p6YVhSbExtTnZiU0lzSW1WNGNDSTZNVGs0TWpBNE1USTBOeXdpYm1KbUlqb3hOVFV3TURnME9EUTNmUS55VUhSZnkxYUNXOUZfQ3ZiQlptdUstbU9XZjVZcmZ0YXRoWUowSFlqZDZRYFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICAgIFxuICAgICAgICB2YXIgdXBkYXRlZEhhbmRsZXIgPSBuZXh0LmhhbmRsZShyZXF1ZXN0KTtcbiAgICAgICAgcmV0dXJuIHVwZGF0ZWRIYW5kbGVyO1xuICAgIH1cbn0iXX0=
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { Pipe, Injectable } from "@angular/core";
|
|
2
|
-
import { LocalStorageProperties } from '../../globaldependencies/constants/localstorage-properties';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class FetchSizedAndCachedImagePipe {
|
|
5
|
-
transform(imageFullPath, width, height) {
|
|
6
|
-
if (!imageFullPath) {
|
|
7
|
-
return null;
|
|
8
|
-
}
|
|
9
|
-
var queryString = imageFullPath;
|
|
10
|
-
var widthString = width == "" ? "" : "width=" + width;
|
|
11
|
-
var heightString = height == "" ? "" : "height=" + height;
|
|
12
|
-
if (widthString !== "" && heightString !== "") {
|
|
13
|
-
queryString += "?" + widthString + "&" + heightString;
|
|
14
|
-
}
|
|
15
|
-
else if (widthString !== "") {
|
|
16
|
-
queryString += "?" + widthString;
|
|
17
|
-
}
|
|
18
|
-
else if (heightString !== "") {
|
|
19
|
-
queryString += "?" + heightString;
|
|
20
|
-
}
|
|
21
|
-
let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
22
|
-
var returnedImage = environment.apiURL + "remote.axd?" + queryString;
|
|
23
|
-
return returnedImage;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
FetchSizedAndCachedImagePipe.ɵfac = function FetchSizedAndCachedImagePipe_Factory(t) { return new (t || FetchSizedAndCachedImagePipe)(); };
|
|
27
|
-
FetchSizedAndCachedImagePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fetchSizedAndCachedImage", type: FetchSizedAndCachedImagePipe, pure: true });
|
|
28
|
-
FetchSizedAndCachedImagePipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FetchSizedAndCachedImagePipe, factory: FetchSizedAndCachedImagePipe.ɵfac, providedIn: 'root' });
|
|
29
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FetchSizedAndCachedImagePipe, [{
|
|
30
|
-
type: Pipe,
|
|
31
|
-
args: [{ name: "fetchSizedAndCachedImage", pure: true }]
|
|
32
|
-
}, {
|
|
33
|
-
type: Injectable,
|
|
34
|
-
args: [{ providedIn: 'root' }]
|
|
35
|
-
}], null, null); })();
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe, Injectable } from "@angular/core";
|
|
2
|
+
import { LocalStorageProperties } from '../../globaldependencies/constants/localstorage-properties';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class FetchSizedAndCachedImagePipe {
|
|
5
|
+
transform(imageFullPath, width, height) {
|
|
6
|
+
if (!imageFullPath) {
|
|
7
|
+
return null;
|
|
8
|
+
}
|
|
9
|
+
var queryString = imageFullPath;
|
|
10
|
+
var widthString = width == "" ? "" : "width=" + width;
|
|
11
|
+
var heightString = height == "" ? "" : "height=" + height;
|
|
12
|
+
if (widthString !== "" && heightString !== "") {
|
|
13
|
+
queryString += "?" + widthString + "&" + heightString;
|
|
14
|
+
}
|
|
15
|
+
else if (widthString !== "") {
|
|
16
|
+
queryString += "?" + widthString;
|
|
17
|
+
}
|
|
18
|
+
else if (heightString !== "") {
|
|
19
|
+
queryString += "?" + heightString;
|
|
20
|
+
}
|
|
21
|
+
let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
22
|
+
var returnedImage = environment.apiURL + "remote.axd?" + queryString;
|
|
23
|
+
return returnedImage;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
FetchSizedAndCachedImagePipe.ɵfac = function FetchSizedAndCachedImagePipe_Factory(t) { return new (t || FetchSizedAndCachedImagePipe)(); };
|
|
27
|
+
FetchSizedAndCachedImagePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fetchSizedAndCachedImage", type: FetchSizedAndCachedImagePipe, pure: true });
|
|
28
|
+
FetchSizedAndCachedImagePipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FetchSizedAndCachedImagePipe, factory: FetchSizedAndCachedImagePipe.ɵfac, providedIn: 'root' });
|
|
29
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FetchSizedAndCachedImagePipe, [{
|
|
30
|
+
type: Pipe,
|
|
31
|
+
args: [{ name: "fetchSizedAndCachedImage", pure: true }]
|
|
32
|
+
}, {
|
|
33
|
+
type: Injectable,
|
|
34
|
+
args: [{ providedIn: 'root' }]
|
|
35
|
+
}], null, null); })();
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmV0Y2hTaXplZEFuZENhY2hlZEltYWdlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zaGVsbC1tb2R1bGUtY29tcG9uZW50cy9zaGVsbC1jb21wb25lbnRzL3NyYy9saWIvZ2xvYmFsZGVwZW5kZW5jaWVzL3BpcGVzL2ZldGNoU2l6ZWRBbmRDYWNoZWRJbWFn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AgIHJldHVybiBudWxsO1xuICAgIH1cblxuICAgIHZhciBxdWVyeVN0cmluZyA9IGltYWdlRnVsbFBhdGg7XG5cbiAgICB2YXIgd2lkdGhTdHJpbmcgPSB3aWR0aCA9PSBcIlwiID8gXCJcIiA6IFwid2lkdGg9XCIgKyB3aWR0aDtcbiAgICB2YXIgaGVpZ2h0U3RyaW5nID0gaGVpZ2h0ID09IFwiXCIgPyBcIlwiIDogXCJoZWlnaHQ9XCIgKyBoZWlnaHQ7XG5cbiAgICBpZiAod2lkdGhTdHJpbmcgIT09IFwiXCIgJiYgaGVpZ2h0U3RyaW5nICE9PSBcIlwiKSB7XG4gICAgICBxdWVyeVN0cmluZyArPSBcIj9cIiArIHdpZHRoU3RyaW5nICsgXCImXCIgKyBoZWlnaHRTdHJpbmc7XG4gICAgfSBlbHNlIGlmICh3aWR0aFN0cmluZyAhPT0gXCJcIikge1xuICAgICAgcXVlcnlTdHJpbmcgKz0gXCI/XCIgKyB3aWR0aFN0cmluZztcbiAgICB9IGVsc2UgaWYgKGhlaWdodFN0cmluZyAhPT0gXCJcIikge1xuICAgICAgcXVlcnlTdHJpbmcgKz0gXCI/XCIgKyBoZWlnaHRTdHJpbmc7XG4gICAgfVxuXG4gICAgbGV0IGVudmlyb25tZW50ID0gSlNPTi5wYXJzZShsb2NhbFN0b3JhZ2UuZ2V0SXRlbShMb2NhbFN0b3JhZ2VQcm9wZXJ0aWVzLkVudmlyb25tZW50KSk7XG4gICAgdmFyIHJldHVybmVkSW1hZ2UgPSBlbnZpcm9ubWVudC5hcGlVUkwgKyBcInJlbW90ZS5heGQ/XCIgKyBxdWVyeVN0cmluZztcblxuICAgIHJldHVybiByZXR1cm5lZEltYWdlO1xuICB9XG59XG4iXX0=
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Pipe, Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class HighLightTextPipe {
|
|
4
|
-
transform(value, searchText) {
|
|
5
|
-
if (searchText == null || searchText == "") {
|
|
6
|
-
return value;
|
|
7
|
-
}
|
|
8
|
-
const regex = new RegExp(searchText, 'gi');
|
|
9
|
-
return value.replace(regex, (match) => `<strong>${match.replace(/\*/g, '')}</strong>`);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
HighLightTextPipe.ɵfac = function HighLightTextPipe_Factory(t) { return new (t || HighLightTextPipe)(); };
|
|
13
|
-
HighLightTextPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "highLightText", type: HighLightTextPipe, pure: true });
|
|
14
|
-
HighLightTextPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HighLightTextPipe, factory: HighLightTextPipe.ɵfac, providedIn: 'root' });
|
|
15
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HighLightTextPipe, [{
|
|
16
|
-
type: Pipe,
|
|
17
|
-
args: [{
|
|
18
|
-
name: 'highLightText'
|
|
19
|
-
}]
|
|
20
|
-
}, {
|
|
21
|
-
type: Injectable,
|
|
22
|
-
args: [{ providedIn: 'root' }]
|
|
23
|
-
}], null, null); })();
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe, Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class HighLightTextPipe {
|
|
4
|
+
transform(value, searchText) {
|
|
5
|
+
if (searchText == null || searchText == "") {
|
|
6
|
+
return value;
|
|
7
|
+
}
|
|
8
|
+
const regex = new RegExp(searchText, 'gi');
|
|
9
|
+
return value.replace(regex, (match) => `<strong>${match.replace(/\*/g, '')}</strong>`);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
HighLightTextPipe.ɵfac = function HighLightTextPipe_Factory(t) { return new (t || HighLightTextPipe)(); };
|
|
13
|
+
HighLightTextPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "highLightText", type: HighLightTextPipe, pure: true });
|
|
14
|
+
HighLightTextPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HighLightTextPipe, factory: HighLightTextPipe.ɵfac, providedIn: 'root' });
|
|
15
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HighLightTextPipe, [{
|
|
16
|
+
type: Pipe,
|
|
17
|
+
args: [{
|
|
18
|
+
name: 'highLightText'
|
|
19
|
+
}]
|
|
20
|
+
}, {
|
|
21
|
+
type: Injectable,
|
|
22
|
+
args: [{ providedIn: 'root' }]
|
|
23
|
+
}], null, null); })();
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaExpZ2h0VGV4dC5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc2hlbGwtbW9kdWxlLWNvbXBvbmVudHMvc2hlbGwtY29tcG9uZW50cy9zcmMvbGliL2dsb2JhbGRlcGVuZGVuY2llcy9waXBlcy9oaWdoTGlnaHRUZXh0LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFoRSxNQUFNLE9BQU8saUJBQWlCO0lBQzVCLFNBQVMsQ0FBQyxLQUFhLEVBQUUsVUFBa0I7UUFDekMsSUFBSyxVQUFVLElBQUksSUFBSSxJQUFJLFVBQVUsSUFBSSxFQUFFLEVBQzNDO1lBQ0UsT0FBTyxLQUFLLENBQUM7U0FDZDtRQUNELE1BQU0sS0FBSyxHQUFHLElBQUksTUFBTSxDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUMzQyxPQUFPLEtBQUssQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxXQUFXLEtB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|
-
import * as moment from "moment";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class OrderByPipe {
|
|
5
|
-
transform(notifications) {
|
|
6
|
-
if (notifications && notifications.length > 0) {
|
|
7
|
-
notifications = notifications.sort((notificationSortAscModel, notificationSortDescModel) => {
|
|
8
|
-
return moment.utc(notificationSortDescModel.createdDateTime).diff(moment.utc(notificationSortAscModel.createdDateTime));
|
|
9
|
-
});
|
|
10
|
-
return notifications;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
OrderByPipe.ɵfac = function OrderByPipe_Factory(t) { return new (t || OrderByPipe)(); };
|
|
15
|
-
OrderByPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "orderBy", type: OrderByPipe, pure: true });
|
|
16
|
-
OrderByPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OrderByPipe, factory: OrderByPipe.ɵfac, providedIn: 'root' });
|
|
17
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderByPipe, [{
|
|
18
|
-
type: Pipe,
|
|
19
|
-
args: [{ name: 'orderBy' }]
|
|
20
|
-
}, {
|
|
21
|
-
type: Injectable,
|
|
22
|
-
args: [{ providedIn: 'root' }]
|
|
23
|
-
}], null, null); })();
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe, Injectable } from '@angular/core';
|
|
2
|
+
import * as moment from "moment";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class OrderByPipe {
|
|
5
|
+
transform(notifications) {
|
|
6
|
+
if (notifications && notifications.length > 0) {
|
|
7
|
+
notifications = notifications.sort((notificationSortAscModel, notificationSortDescModel) => {
|
|
8
|
+
return moment.utc(notificationSortDescModel.createdDateTime).diff(moment.utc(notificationSortAscModel.createdDateTime));
|
|
9
|
+
});
|
|
10
|
+
return notifications;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
OrderByPipe.ɵfac = function OrderByPipe_Factory(t) { return new (t || OrderByPipe)(); };
|
|
15
|
+
OrderByPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "orderBy", type: OrderByPipe, pure: true });
|
|
16
|
+
OrderByPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OrderByPipe, factory: OrderByPipe.ɵfac, providedIn: 'root' });
|
|
17
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderByPipe, [{
|
|
18
|
+
type: Pipe,
|
|
19
|
+
args: [{ name: 'orderBy' }]
|
|
20
|
+
}, {
|
|
21
|
+
type: Injectable,
|
|
22
|
+
args: [{ providedIn: 'root' }]
|
|
23
|
+
}], null, null); })();
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXJieS1waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc2hlbGwtbW9kdWxlLWNvbXBvbmVudHMvc2hlbGwtY29tcG9uZW50cy9zcmMvbGliL2dsb2JhbGRlcGVuZGVuY2llcy9waXBlcy9vcmRlcmJ5LXBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hFLE9BQU8sS0FBSyxNQUFNLE1BQU0sUUFBUSxDQUFDOztBQU9qQyxNQUFNLE9BQU8sV0FBVztJQUVwQixTQUFTLENBQUMsYUFBa0M7UUFDeEMsSUFBSSxhQUFhLElBQUksYUFBYSxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUU7WUFDM0MsYUFBYSxHQUFHLGFBQWEsQ0FBQyxJQUFJLENBQUMsQ0FBQyx3QkFBd0IsRUFBRSx5QkFBeUIsRUFBRSxF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ICAgICAgICAgbm90aWZpY2F0aW9ucyA9IG5vdGlmaWNhdGlvbnMuc29ydCgobm90aWZpY2F0aW9uU29ydEFzY01vZGVsLCBub3RpZmljYXRpb25Tb3J0RGVzY01vZGVsKSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1vbWVudC51dGMobm90aWZpY2F0aW9uU29ydERlc2NNb2RlbC5jcmVhdGVkRGF0ZVRpbWUpLmRpZmYobW9tZW50LnV0Yyhub3RpZmljYXRpb25Tb3J0QXNjTW9kZWwuY3JlYXRlZERhdGVUaW1lKSk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIHJldHVybiBub3RpZmljYXRpb25zO1xuXG4gICAgICAgIH1cbiAgICB9XG59Il19
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Pipe, Injectable } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class RemoveSpecialCharactersPipe {
|
|
4
|
-
transform(sourceText) {
|
|
5
|
-
if (!sourceText) {
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
var sourceText = sourceText.replace(/-/g, "");
|
|
9
|
-
return sourceText.replace(/[^a-zA-Z0-9\s]/g, '');
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
RemoveSpecialCharactersPipe.ɵfac = function RemoveSpecialCharactersPipe_Factory(t) { return new (t || RemoveSpecialCharactersPipe)(); };
|
|
13
|
-
RemoveSpecialCharactersPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "removeSpecialCharacters", type: RemoveSpecialCharactersPipe, pure: true });
|
|
14
|
-
RemoveSpecialCharactersPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: RemoveSpecialCharactersPipe, factory: RemoveSpecialCharactersPipe.ɵfac, providedIn: 'root' });
|
|
15
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RemoveSpecialCharactersPipe, [{
|
|
16
|
-
type: Pipe,
|
|
17
|
-
args: [{ name: "removeSpecialCharacters", pure: true }]
|
|
18
|
-
}, {
|
|
19
|
-
type: Injectable,
|
|
20
|
-
args: [{ providedIn: 'root' }]
|
|
21
|
-
}], null, null); })();
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe, Injectable } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class RemoveSpecialCharactersPipe {
|
|
4
|
+
transform(sourceText) {
|
|
5
|
+
if (!sourceText) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
var sourceText = sourceText.replace(/-/g, "");
|
|
9
|
+
return sourceText.replace(/[^a-zA-Z0-9\s]/g, '');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
RemoveSpecialCharactersPipe.ɵfac = function RemoveSpecialCharactersPipe_Factory(t) { return new (t || RemoveSpecialCharactersPipe)(); };
|
|
13
|
+
RemoveSpecialCharactersPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "removeSpecialCharacters", type: RemoveSpecialCharactersPipe, pure: true });
|
|
14
|
+
RemoveSpecialCharactersPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: RemoveSpecialCharactersPipe, factory: RemoveSpecialCharactersPipe.ɵfac, providedIn: 'root' });
|
|
15
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RemoveSpecialCharactersPipe, [{
|
|
16
|
+
type: Pipe,
|
|
17
|
+
args: [{ name: "removeSpecialCharacters", pure: true }]
|
|
18
|
+
}, {
|
|
19
|
+
type: Injectable,
|
|
20
|
+
args: [{ providedIn: 'root' }]
|
|
21
|
+
}], null, null); })();
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlU3BlY2lhbENoYXJhY3RlcnMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiL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WJsZSh7IHByb3ZpZGVkSW46ICdyb290JyB9KVxuXG5leHBvcnQgY2xhc3MgUmVtb3ZlU3BlY2lhbENoYXJhY3RlcnNQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybShzb3VyY2VUZXh0OiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIGlmICghc291cmNlVGV4dCkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIHZhciBzb3VyY2VUZXh0ID0gc291cmNlVGV4dC5yZXBsYWNlKC8tL2csIFwiXCIpO1xuICAgIHJldHVybiBzb3VyY2VUZXh0LnJlcGxhY2UoL1teYS16QS1aMC05XFxzXS9nLCAnJyk7XG4gIH1cbn0iXX0=
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Pipe, Injectable } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/platform-browser";
|
|
4
|
-
export class SanitizeHtmlPipe {
|
|
5
|
-
constructor(_sanitizer) {
|
|
6
|
-
this._sanitizer = _sanitizer;
|
|
7
|
-
}
|
|
8
|
-
transform(v) {
|
|
9
|
-
return this._sanitizer.bypassSecurityTrustHtml(v);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
SanitizeHtmlPipe.ɵfac = function SanitizeHtmlPipe_Factory(t) { return new (t || SanitizeHtmlPipe)(i0.ɵɵdirectiveInject(i1.DomSanitizer, 16)); };
|
|
13
|
-
SanitizeHtmlPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sanitizeHtml", type: SanitizeHtmlPipe, pure: true });
|
|
14
|
-
SanitizeHtmlPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SanitizeHtmlPipe, factory: SanitizeHtmlPipe.ɵfac, providedIn: 'root' });
|
|
15
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SanitizeHtmlPipe, [{
|
|
16
|
-
type: Pipe,
|
|
17
|
-
args: [{
|
|
18
|
-
name: 'sanitizeHtml'
|
|
19
|
-
}]
|
|
20
|
-
}, {
|
|
21
|
-
type: Injectable,
|
|
22
|
-
args: [{ providedIn: 'root' }]
|
|
23
|
-
}], function () { return [{ type: i1.DomSanitizer }]; }, null); })();
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe, Injectable } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/platform-browser";
|
|
4
|
+
export class SanitizeHtmlPipe {
|
|
5
|
+
constructor(_sanitizer) {
|
|
6
|
+
this._sanitizer = _sanitizer;
|
|
7
|
+
}
|
|
8
|
+
transform(v) {
|
|
9
|
+
return this._sanitizer.bypassSecurityTrustHtml(v);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
SanitizeHtmlPipe.ɵfac = function SanitizeHtmlPipe_Factory(t) { return new (t || SanitizeHtmlPipe)(i0.ɵɵdirectiveInject(i1.DomSanitizer, 16)); };
|
|
13
|
+
SanitizeHtmlPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sanitizeHtml", type: SanitizeHtmlPipe, pure: true });
|
|
14
|
+
SanitizeHtmlPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SanitizeHtmlPipe, factory: SanitizeHtmlPipe.ɵfac, providedIn: 'root' });
|
|
15
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SanitizeHtmlPipe, [{
|
|
16
|
+
type: Pipe,
|
|
17
|
+
args: [{
|
|
18
|
+
name: 'sanitizeHtml'
|
|
19
|
+
}]
|
|
20
|
+
}, {
|
|
21
|
+
type: Injectable,
|
|
22
|
+
args: [{ providedIn: 'root' }]
|
|
23
|
+
}], function () { return [{ type: i1.DomSanitizer }]; }, null); })();
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,ey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