@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,129 +1,129 @@
|
|
|
1
|
-
import { Component, Inject } from "@angular/core";
|
|
2
|
-
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
|
3
|
-
import '../../../globaldependencies/helpers/fontawesome-icons';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@thetradeengineorg1/snova-document-management";
|
|
6
|
-
import * as i2 from "@angular/flex-layout/flex";
|
|
7
|
-
import * as i3 from "@angular/common";
|
|
8
|
-
import * as i4 from "@swimlane/ngx-datatable";
|
|
9
|
-
import * as i5 from "@angular/flex-layout/extended";
|
|
10
|
-
import * as i6 from "@angular/material/progress-bar";
|
|
11
|
-
import * as i7 from "@ngx-translate/core";
|
|
12
|
-
function DocumentComponent_mat_progress_bar_5_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵelement(0, "mat-progress-bar", 10);
|
|
14
|
-
} }
|
|
15
|
-
function DocumentComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
|
17
|
-
i0.ɵɵelementStart(0, "a", 11);
|
|
18
|
-
i0.ɵɵlistener("click", function DocumentComponent_ng_template_10_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.downloadFile(); });
|
|
19
|
-
i0.ɵɵtext(1);
|
|
20
|
-
i0.ɵɵelementEnd();
|
|
21
|
-
} if (rf & 2) {
|
|
22
|
-
const row_r5 = ctx.row;
|
|
23
|
-
i0.ɵɵadvance(1);
|
|
24
|
-
i0.ɵɵtextInterpolate(row_r5 == null ? null : row_r5.documentName);
|
|
25
|
-
} }
|
|
26
|
-
function DocumentComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵtext(0);
|
|
28
|
-
} if (rf & 2) {
|
|
29
|
-
const row_r8 = ctx.row;
|
|
30
|
-
i0.ɵɵtextInterpolate1(" ", row_r8 == null ? null : row_r8.updatedAt, " ");
|
|
31
|
-
} }
|
|
32
|
-
function DocumentComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
-
i0.ɵɵtext(0);
|
|
34
|
-
} if (rf & 2) {
|
|
35
|
-
const row_r9 = ctx.row;
|
|
36
|
-
i0.ɵɵtextInterpolate1(" ", row_r9 == null ? null : row_r9.type, " ");
|
|
37
|
-
} }
|
|
38
|
-
function DocumentComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
i0.ɵɵtext(0);
|
|
40
|
-
} if (rf & 2) {
|
|
41
|
-
const row_r10 = ctx.row;
|
|
42
|
-
i0.ɵɵtextInterpolate1(" ", row_r10 == null ? null : row_r10.status, " ");
|
|
43
|
-
} }
|
|
44
|
-
const _c0 = function (a0, a1) { return { emptyMessage: a0, totalMessage: a1 }; };
|
|
45
|
-
export class DocumentComponent {
|
|
46
|
-
constructor(storeManagementService, data) {
|
|
47
|
-
this.storeManagementService = storeManagementService;
|
|
48
|
-
this.data = data;
|
|
49
|
-
this.isAnyOperationIsInprogress = false;
|
|
50
|
-
this.isFromRoute = false;
|
|
51
|
-
}
|
|
52
|
-
ngOnInit() {
|
|
53
|
-
this.paymentDetails = [
|
|
54
|
-
{ documentName: 'Terms of Services', status: 'Uploaded', type: 'Pdf', updatedAt: '10-Dec-2020' },
|
|
55
|
-
];
|
|
56
|
-
}
|
|
57
|
-
downloadFile() {
|
|
58
|
-
this.dashboardUpdateInProgress = true;
|
|
59
|
-
let file = "https://bviewstorage.blob.core.windows.net/f94916c1-6742-49bd-90de-344662b42704/projects/0a41f08e-f35e-4b41-a9e4-a4c43839abef/SnovasysTerms-5a7e4877-a7bb-47e3-b464-4704b547c937.pdf";
|
|
60
|
-
let obj = file;
|
|
61
|
-
const parts = obj.split("/");
|
|
62
|
-
const loc = parts.pop();
|
|
63
|
-
this.downloadPdf(obj);
|
|
64
|
-
}
|
|
65
|
-
downloadPdf(pdf) {
|
|
66
|
-
const parts = pdf.split("/");
|
|
67
|
-
const loc = parts.pop();
|
|
68
|
-
this.storeManagementService.downloadFile(pdf).subscribe((responseData) => {
|
|
69
|
-
const linkSource = 'data:application/pdf;base64,' + responseData;
|
|
70
|
-
const downloadLink = document.createElement("a");
|
|
71
|
-
downloadLink.href = linkSource;
|
|
72
|
-
downloadLink.download = loc.split(".")[0] + '-' + '-File.pdf';
|
|
73
|
-
this.dashboardUpdateInProgress = false;
|
|
74
|
-
downloadLink.click();
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
DocumentComponent.ɵfac = function DocumentComponent_Factory(t) { return new (t || DocumentComponent)(i0.ɵɵdirectiveInject(i1.StoreManagementService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
79
|
-
DocumentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentComponent, selectors: [["app-document-component"]], decls: 17, vars: 27, consts: [["fxFlex", "", "fxFlex", "100"], [1, "ml-1", "mt-05"], [1, "activity-data", "no-drag", "accessible-ip-height"], ["color", "primary", "mode", "indeterminate", 4, "ngIf"], [1, "btrak", 3, "ngClass", "columnMode", "headerHeight", "footerHeight", "rowHeight", "limit", "rows", "loadingIndicator", "scrollbarH", "virtualization", "messages"], ["minWidth", "150", "name", "NAME", "prop", "documentName", 3, "flexGrow", "sortable"], ["ngx-datatable-cell-template", ""], ["minWidth", "150", "name", "UPDATED AT", "prop", "updatedAt", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "TYPE", "prop", "type", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "STATUS", "prop", "status", 3, "flexGrow", "sortable"], ["color", "primary", "mode", "indeterminate"], [1, "aclass", "pl-0", 2, "text-decoration", "underline !important", "color", "#2a84c0 !important", 3, "click"]], template: function DocumentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
81
|
-
i0.ɵɵelementStart(1, "h4", 1);
|
|
82
|
-
i0.ɵɵtext(2, "Documents");
|
|
83
|
-
i0.ɵɵelementEnd();
|
|
84
|
-
i0.ɵɵelement(3, "hr");
|
|
85
|
-
i0.ɵɵelementEnd();
|
|
86
|
-
i0.ɵɵelementStart(4, "div", 2);
|
|
87
|
-
i0.ɵɵtemplate(5, DocumentComponent_mat_progress_bar_5_Template, 1, 0, "mat-progress-bar", 3);
|
|
88
|
-
i0.ɵɵelementStart(6, "ngx-datatable", 4);
|
|
89
|
-
i0.ɵɵpipe(7, "translate");
|
|
90
|
-
i0.ɵɵpipe(8, "translate");
|
|
91
|
-
i0.ɵɵelementStart(9, "ngx-datatable-column", 5);
|
|
92
|
-
i0.ɵɵtemplate(10, DocumentComponent_ng_template_10_Template, 2, 1, "ng-template", 6);
|
|
93
|
-
i0.ɵɵelementEnd();
|
|
94
|
-
i0.ɵɵelementStart(11, "ngx-datatable-column", 7);
|
|
95
|
-
i0.ɵɵtemplate(12, DocumentComponent_ng_template_12_Template, 1, 1, "ng-template", 6);
|
|
96
|
-
i0.ɵɵelementEnd();
|
|
97
|
-
i0.ɵɵelementStart(13, "ngx-datatable-column", 8);
|
|
98
|
-
i0.ɵɵtemplate(14, DocumentComponent_ng_template_14_Template, 1, 1, "ng-template", 6);
|
|
99
|
-
i0.ɵɵelementEnd();
|
|
100
|
-
i0.ɵɵelementStart(15, "ngx-datatable-column", 9);
|
|
101
|
-
i0.ɵɵtemplate(16, DocumentComponent_ng_template_16_Template, 1, 1, "ng-template", 6);
|
|
102
|
-
i0.ɵɵelementEnd();
|
|
103
|
-
i0.ɵɵelementEnd();
|
|
104
|
-
i0.ɵɵelementEnd();
|
|
105
|
-
} if (rf & 2) {
|
|
106
|
-
i0.ɵɵadvance(5);
|
|
107
|
-
i0.ɵɵproperty("ngIf", ctx.dashboardUpdateInProgress);
|
|
108
|
-
i0.ɵɵadvance(1);
|
|
109
|
-
i0.ɵɵproperty("ngClass", ctx.isFromRoute ? "full-height" : "")("columnMode", "flex")("headerHeight", 35)("footerHeight", 50)("rowHeight", 50)("limit", 10)("rows", ctx.paymentDetails)("loadingIndicator", ctx.isAnyOperationIsInprogress)("scrollbarH", true)("virtualization", false)("messages", i0.ɵɵpureFunction2(24, _c0, i0.ɵɵpipeBind1(7, 20, "NODATATODISPLAY"), i0.ɵɵpipeBind1(8, 22, "TOTAL")));
|
|
110
|
-
i0.ɵɵadvance(3);
|
|
111
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
112
|
-
i0.ɵɵadvance(2);
|
|
113
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
114
|
-
i0.ɵɵadvance(2);
|
|
115
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
116
|
-
i0.ɵɵadvance(2);
|
|
117
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
118
|
-
} }, directives: [i2.DefaultFlexDirective, i3.NgIf, i4.DatatableComponent, i3.NgClass, i5.DefaultClassDirective, i4.DataTableColumnDirective, i4.DataTableColumnCellDirective, i6.MatProgressBar], pipes: [i7.TranslatePipe], encapsulation: 2 });
|
|
119
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentComponent, [{
|
|
120
|
-
type: Component,
|
|
121
|
-
args: [{
|
|
122
|
-
selector: "app-document-component",
|
|
123
|
-
templateUrl: "./document.component.html"
|
|
124
|
-
}]
|
|
125
|
-
}], function () { return [{ type: i1.StoreManagementService }, { type: undefined, decorators: [{
|
|
126
|
-
type: Inject,
|
|
127
|
-
args: [MAT_DIALOG_DATA]
|
|
128
|
-
}] }]; }, null); })();
|
|
129
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Inject } from "@angular/core";
|
|
2
|
+
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
|
3
|
+
import '../../../globaldependencies/helpers/fontawesome-icons';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@thetradeengineorg1/snova-document-management";
|
|
6
|
+
import * as i2 from "@angular/flex-layout/flex";
|
|
7
|
+
import * as i3 from "@angular/common";
|
|
8
|
+
import * as i4 from "@swimlane/ngx-datatable";
|
|
9
|
+
import * as i5 from "@angular/flex-layout/extended";
|
|
10
|
+
import * as i6 from "@angular/material/progress-bar";
|
|
11
|
+
import * as i7 from "@ngx-translate/core";
|
|
12
|
+
function DocumentComponent_mat_progress_bar_5_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelement(0, "mat-progress-bar", 10);
|
|
14
|
+
} }
|
|
15
|
+
function DocumentComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelementStart(0, "a", 11);
|
|
18
|
+
i0.ɵɵlistener("click", function DocumentComponent_ng_template_10_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.downloadFile(); });
|
|
19
|
+
i0.ɵɵtext(1);
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const row_r5 = ctx.row;
|
|
23
|
+
i0.ɵɵadvance(1);
|
|
24
|
+
i0.ɵɵtextInterpolate(row_r5 == null ? null : row_r5.documentName);
|
|
25
|
+
} }
|
|
26
|
+
function DocumentComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtext(0);
|
|
28
|
+
} if (rf & 2) {
|
|
29
|
+
const row_r8 = ctx.row;
|
|
30
|
+
i0.ɵɵtextInterpolate1(" ", row_r8 == null ? null : row_r8.updatedAt, " ");
|
|
31
|
+
} }
|
|
32
|
+
function DocumentComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
i0.ɵɵtext(0);
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
const row_r9 = ctx.row;
|
|
36
|
+
i0.ɵɵtextInterpolate1(" ", row_r9 == null ? null : row_r9.type, " ");
|
|
37
|
+
} }
|
|
38
|
+
function DocumentComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵtext(0);
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
const row_r10 = ctx.row;
|
|
42
|
+
i0.ɵɵtextInterpolate1(" ", row_r10 == null ? null : row_r10.status, " ");
|
|
43
|
+
} }
|
|
44
|
+
const _c0 = function (a0, a1) { return { emptyMessage: a0, totalMessage: a1 }; };
|
|
45
|
+
export class DocumentComponent {
|
|
46
|
+
constructor(storeManagementService, data) {
|
|
47
|
+
this.storeManagementService = storeManagementService;
|
|
48
|
+
this.data = data;
|
|
49
|
+
this.isAnyOperationIsInprogress = false;
|
|
50
|
+
this.isFromRoute = false;
|
|
51
|
+
}
|
|
52
|
+
ngOnInit() {
|
|
53
|
+
this.paymentDetails = [
|
|
54
|
+
{ documentName: 'Terms of Services', status: 'Uploaded', type: 'Pdf', updatedAt: '10-Dec-2020' },
|
|
55
|
+
];
|
|
56
|
+
}
|
|
57
|
+
downloadFile() {
|
|
58
|
+
this.dashboardUpdateInProgress = true;
|
|
59
|
+
let file = "https://bviewstorage.blob.core.windows.net/f94916c1-6742-49bd-90de-344662b42704/projects/0a41f08e-f35e-4b41-a9e4-a4c43839abef/SnovasysTerms-5a7e4877-a7bb-47e3-b464-4704b547c937.pdf";
|
|
60
|
+
let obj = file;
|
|
61
|
+
const parts = obj.split("/");
|
|
62
|
+
const loc = parts.pop();
|
|
63
|
+
this.downloadPdf(obj);
|
|
64
|
+
}
|
|
65
|
+
downloadPdf(pdf) {
|
|
66
|
+
const parts = pdf.split("/");
|
|
67
|
+
const loc = parts.pop();
|
|
68
|
+
this.storeManagementService.downloadFile(pdf).subscribe((responseData) => {
|
|
69
|
+
const linkSource = 'data:application/pdf;base64,' + responseData;
|
|
70
|
+
const downloadLink = document.createElement("a");
|
|
71
|
+
downloadLink.href = linkSource;
|
|
72
|
+
downloadLink.download = loc.split(".")[0] + '-' + '-File.pdf';
|
|
73
|
+
this.dashboardUpdateInProgress = false;
|
|
74
|
+
downloadLink.click();
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
DocumentComponent.ɵfac = function DocumentComponent_Factory(t) { return new (t || DocumentComponent)(i0.ɵɵdirectiveInject(i1.StoreManagementService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
79
|
+
DocumentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentComponent, selectors: [["app-document-component"]], decls: 17, vars: 27, consts: [["fxFlex", "", "fxFlex", "100"], [1, "ml-1", "mt-05"], [1, "activity-data", "no-drag", "accessible-ip-height"], ["color", "primary", "mode", "indeterminate", 4, "ngIf"], [1, "btrak", 3, "ngClass", "columnMode", "headerHeight", "footerHeight", "rowHeight", "limit", "rows", "loadingIndicator", "scrollbarH", "virtualization", "messages"], ["minWidth", "150", "name", "NAME", "prop", "documentName", 3, "flexGrow", "sortable"], ["ngx-datatable-cell-template", ""], ["minWidth", "150", "name", "UPDATED AT", "prop", "updatedAt", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "TYPE", "prop", "type", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "STATUS", "prop", "status", 3, "flexGrow", "sortable"], ["color", "primary", "mode", "indeterminate"], [1, "aclass", "pl-0", 2, "text-decoration", "underline !important", "color", "#2a84c0 !important", 3, "click"]], template: function DocumentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
81
|
+
i0.ɵɵelementStart(1, "h4", 1);
|
|
82
|
+
i0.ɵɵtext(2, "Documents");
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelement(3, "hr");
|
|
85
|
+
i0.ɵɵelementEnd();
|
|
86
|
+
i0.ɵɵelementStart(4, "div", 2);
|
|
87
|
+
i0.ɵɵtemplate(5, DocumentComponent_mat_progress_bar_5_Template, 1, 0, "mat-progress-bar", 3);
|
|
88
|
+
i0.ɵɵelementStart(6, "ngx-datatable", 4);
|
|
89
|
+
i0.ɵɵpipe(7, "translate");
|
|
90
|
+
i0.ɵɵpipe(8, "translate");
|
|
91
|
+
i0.ɵɵelementStart(9, "ngx-datatable-column", 5);
|
|
92
|
+
i0.ɵɵtemplate(10, DocumentComponent_ng_template_10_Template, 2, 1, "ng-template", 6);
|
|
93
|
+
i0.ɵɵelementEnd();
|
|
94
|
+
i0.ɵɵelementStart(11, "ngx-datatable-column", 7);
|
|
95
|
+
i0.ɵɵtemplate(12, DocumentComponent_ng_template_12_Template, 1, 1, "ng-template", 6);
|
|
96
|
+
i0.ɵɵelementEnd();
|
|
97
|
+
i0.ɵɵelementStart(13, "ngx-datatable-column", 8);
|
|
98
|
+
i0.ɵɵtemplate(14, DocumentComponent_ng_template_14_Template, 1, 1, "ng-template", 6);
|
|
99
|
+
i0.ɵɵelementEnd();
|
|
100
|
+
i0.ɵɵelementStart(15, "ngx-datatable-column", 9);
|
|
101
|
+
i0.ɵɵtemplate(16, DocumentComponent_ng_template_16_Template, 1, 1, "ng-template", 6);
|
|
102
|
+
i0.ɵɵelementEnd();
|
|
103
|
+
i0.ɵɵelementEnd();
|
|
104
|
+
i0.ɵɵelementEnd();
|
|
105
|
+
} if (rf & 2) {
|
|
106
|
+
i0.ɵɵadvance(5);
|
|
107
|
+
i0.ɵɵproperty("ngIf", ctx.dashboardUpdateInProgress);
|
|
108
|
+
i0.ɵɵadvance(1);
|
|
109
|
+
i0.ɵɵproperty("ngClass", ctx.isFromRoute ? "full-height" : "")("columnMode", "flex")("headerHeight", 35)("footerHeight", 50)("rowHeight", 50)("limit", 10)("rows", ctx.paymentDetails)("loadingIndicator", ctx.isAnyOperationIsInprogress)("scrollbarH", true)("virtualization", false)("messages", i0.ɵɵpureFunction2(24, _c0, i0.ɵɵpipeBind1(7, 20, "NODATATODISPLAY"), i0.ɵɵpipeBind1(8, 22, "TOTAL")));
|
|
110
|
+
i0.ɵɵadvance(3);
|
|
111
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
112
|
+
i0.ɵɵadvance(2);
|
|
113
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
114
|
+
i0.ɵɵadvance(2);
|
|
115
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
116
|
+
i0.ɵɵadvance(2);
|
|
117
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
118
|
+
} }, directives: [i2.DefaultFlexDirective, i3.NgIf, i4.DatatableComponent, i3.NgClass, i5.DefaultClassDirective, i4.DataTableColumnDirective, i4.DataTableColumnCellDirective, i6.MatProgressBar], pipes: [i7.TranslatePipe], encapsulation: 2 });
|
|
119
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentComponent, [{
|
|
120
|
+
type: Component,
|
|
121
|
+
args: [{
|
|
122
|
+
selector: "app-document-component",
|
|
123
|
+
templateUrl: "./document.component.html"
|
|
124
|
+
}]
|
|
125
|
+
}], function () { return [{ type: i1.StoreManagementService }, { type: undefined, decorators: [{
|
|
126
|
+
type: Inject,
|
|
127
|
+
args: [MAT_DIALOG_DATA]
|
|
128
|
+
}] }]; }, null); })();
|
|
129
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc2hlbGwtbW9kdWxlLWNvbXBvbmVudHMvc2hlbGwtY29tcG9uZW50cy9zcmMvbGliL3NoZWxsLWNvbXBvbmVudHMvY29tcG9uZW50cy9QYXltZW50cy9kb2N1bWVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zaGVsbC1tb2R1bGUtY29tcG9uZW50cy9zaGVsbC1jb21wb25lbnRzL3NyYy9saWIvc2hlbGwtY29tcG9uZW50cy9jb21wb25lbnRzL1BheW1lbnRzL2RvY3VtZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxFQUFhLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUUzRCxPQUFPLHVEQUF1RCxDQUFDOzs7Ozs7Ozs7O0lDRTNELHVDQUNtQjs7OztJQU9QLDZCQUM2QjtJQUF6QiwyTEFBd0I7SU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W3NvcnRhYmxlXT1cImZhbHNlXCIgcHJvcD1cInN0YXR1c1wiPlxuICAgICAgICAgICAgPG5nLXRlbXBsYXRlIGxldC1yb3c9XCJyb3dcIiBuZ3gtZGF0YXRhYmxlLWNlbGwtdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAge3sgcm93Py5zdGF0dXMgfX1cbiAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgIDwvbmd4LWRhdGF0YWJsZS1jb2x1bW4+XG4gICAgPC9uZ3gtZGF0YXRhYmxlPlxuPC9kaXY+Il19
|
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
import { Component, Inject } from "@angular/core";
|
|
2
|
-
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
|
3
|
-
import '../../../globaldependencies/helpers/fontawesome-icons';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/flex-layout/flex";
|
|
6
|
-
import * as i2 from "@swimlane/ngx-datatable";
|
|
7
|
-
import * as i3 from "@angular/common";
|
|
8
|
-
import * as i4 from "@angular/flex-layout/extended";
|
|
9
|
-
import * as i5 from "@angular/material/button";
|
|
10
|
-
import * as i6 from "@ngx-translate/core";
|
|
11
|
-
function PaymentMethodComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
-
i0.ɵɵtext(0);
|
|
13
|
-
} if (rf & 2) {
|
|
14
|
-
const row_r4 = ctx.row;
|
|
15
|
-
i0.ɵɵtextInterpolate1(" ", row_r4 == null ? null : row_r4.documentName, " ");
|
|
16
|
-
} }
|
|
17
|
-
function PaymentMethodComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
i0.ɵɵtext(0);
|
|
19
|
-
} if (rf & 2) {
|
|
20
|
-
const row_r5 = ctx.row;
|
|
21
|
-
i0.ɵɵtextInterpolate1(" ", row_r5 == null ? null : row_r5.updatedAt, " ");
|
|
22
|
-
} }
|
|
23
|
-
function PaymentMethodComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
-
i0.ɵɵtext(0);
|
|
25
|
-
} if (rf & 2) {
|
|
26
|
-
const row_r6 = ctx.row;
|
|
27
|
-
i0.ɵɵtextInterpolate1(" ", row_r6 == null ? null : row_r6.type, " ");
|
|
28
|
-
} }
|
|
29
|
-
function PaymentMethodComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵelement(0, "button", 9);
|
|
31
|
-
} }
|
|
32
|
-
const _c0 = function (a0, a1) { return { emptyMessage: a0, totalMessage: a1 }; };
|
|
33
|
-
export class PaymentMethodComponent {
|
|
34
|
-
constructor(data) {
|
|
35
|
-
this.data = data;
|
|
36
|
-
this.isAnyOperationIsInprogress = false;
|
|
37
|
-
this.isFromRoute = false;
|
|
38
|
-
}
|
|
39
|
-
ngOnInit() {
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
PaymentMethodComponent.ɵfac = function PaymentMethodComponent_Factory(t) { return new (t || PaymentMethodComponent)(i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
43
|
-
PaymentMethodComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaymentMethodComponent, selectors: [["app-payment-method-component"]], decls: 16, vars: 26, consts: [["fxFlex", "", "fxFlex", "100"], [1, "ml-1", "mt-05"], [1, "activity-data", "no-drag", "accessible-ip-height"], [1, "btrak", 3, "ngClass", "columnMode", "headerHeight", "footerHeight", "rowHeight", "limit", "rows", "loadingIndicator", "scrollbarH", "virtualization", "messages"], ["minWidth", "150", "name", "NAME", "prop", "documentName", 3, "flexGrow", "sortable"], ["ngx-datatable-cell-template", ""], ["minWidth", "150", "name", "UPDATED AT", "prop", "updatedAt", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "TYPE", "prop", "type", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "STATUS", 3, "flexGrow", "sortable"], ["title", "Processed", "mat-icon-button", "", 1, "text-center"]], template: function PaymentMethodComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
45
|
-
i0.ɵɵelementStart(1, "h4", 1);
|
|
46
|
-
i0.ɵɵtext(2, "Payment method");
|
|
47
|
-
i0.ɵɵelementEnd();
|
|
48
|
-
i0.ɵɵelement(3, "hr");
|
|
49
|
-
i0.ɵɵelementEnd();
|
|
50
|
-
i0.ɵɵelementStart(4, "div", 2);
|
|
51
|
-
i0.ɵɵelementStart(5, "ngx-datatable", 3);
|
|
52
|
-
i0.ɵɵpipe(6, "translate");
|
|
53
|
-
i0.ɵɵpipe(7, "translate");
|
|
54
|
-
i0.ɵɵelementStart(8, "ngx-datatable-column", 4);
|
|
55
|
-
i0.ɵɵtemplate(9, PaymentMethodComponent_ng_template_9_Template, 1, 1, "ng-template", 5);
|
|
56
|
-
i0.ɵɵelementEnd();
|
|
57
|
-
i0.ɵɵelementStart(10, "ngx-datatable-column", 6);
|
|
58
|
-
i0.ɵɵtemplate(11, PaymentMethodComponent_ng_template_11_Template, 1, 1, "ng-template", 5);
|
|
59
|
-
i0.ɵɵelementEnd();
|
|
60
|
-
i0.ɵɵelementStart(12, "ngx-datatable-column", 7);
|
|
61
|
-
i0.ɵɵtemplate(13, PaymentMethodComponent_ng_template_13_Template, 1, 1, "ng-template", 5);
|
|
62
|
-
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(14, "ngx-datatable-column", 8);
|
|
64
|
-
i0.ɵɵtemplate(15, PaymentMethodComponent_ng_template_15_Template, 1, 0, "ng-template", 5);
|
|
65
|
-
i0.ɵɵelementEnd();
|
|
66
|
-
i0.ɵɵelementEnd();
|
|
67
|
-
i0.ɵɵelementEnd();
|
|
68
|
-
} if (rf & 2) {
|
|
69
|
-
i0.ɵɵadvance(5);
|
|
70
|
-
i0.ɵɵproperty("ngClass", ctx.isFromRoute ? "full-height" : "")("columnMode", "flex")("headerHeight", 35)("footerHeight", 50)("rowHeight", 50)("limit", 10)("rows", ctx.paymentDetails)("loadingIndicator", ctx.isAnyOperationIsInprogress)("scrollbarH", true)("virtualization", false)("messages", i0.ɵɵpureFunction2(23, _c0, i0.ɵɵpipeBind1(6, 19, "NODATATODISPLAY"), i0.ɵɵpipeBind1(7, 21, "TOTAL")));
|
|
71
|
-
i0.ɵɵadvance(3);
|
|
72
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
73
|
-
i0.ɵɵadvance(2);
|
|
74
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
75
|
-
i0.ɵɵadvance(2);
|
|
76
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
77
|
-
i0.ɵɵadvance(2);
|
|
78
|
-
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
79
|
-
} }, directives: [i1.DefaultFlexDirective, i2.DatatableComponent, i3.NgClass, i4.DefaultClassDirective, i2.DataTableColumnDirective, i2.DataTableColumnCellDirective, i5.MatButton], pipes: [i6.TranslatePipe], encapsulation: 2 });
|
|
80
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentMethodComponent, [{
|
|
81
|
-
type: Component,
|
|
82
|
-
args: [{
|
|
83
|
-
selector: "app-payment-method-component",
|
|
84
|
-
templateUrl: "./payment-method.component.html"
|
|
85
|
-
}]
|
|
86
|
-
}], function () { return [{ type: undefined, decorators: [{
|
|
87
|
-
type: Inject,
|
|
88
|
-
args: [MAT_DIALOG_DATA]
|
|
89
|
-
}] }]; }, null); })();
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Inject } from "@angular/core";
|
|
2
|
+
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
|
3
|
+
import '../../../globaldependencies/helpers/fontawesome-icons';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/flex-layout/flex";
|
|
6
|
+
import * as i2 from "@swimlane/ngx-datatable";
|
|
7
|
+
import * as i3 from "@angular/common";
|
|
8
|
+
import * as i4 from "@angular/flex-layout/extended";
|
|
9
|
+
import * as i5 from "@angular/material/button";
|
|
10
|
+
import * as i6 from "@ngx-translate/core";
|
|
11
|
+
function PaymentMethodComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵtext(0);
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
const row_r4 = ctx.row;
|
|
15
|
+
i0.ɵɵtextInterpolate1(" ", row_r4 == null ? null : row_r4.documentName, " ");
|
|
16
|
+
} }
|
|
17
|
+
function PaymentMethodComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0);
|
|
19
|
+
} if (rf & 2) {
|
|
20
|
+
const row_r5 = ctx.row;
|
|
21
|
+
i0.ɵɵtextInterpolate1(" ", row_r5 == null ? null : row_r5.updatedAt, " ");
|
|
22
|
+
} }
|
|
23
|
+
function PaymentMethodComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵtext(0);
|
|
25
|
+
} if (rf & 2) {
|
|
26
|
+
const row_r6 = ctx.row;
|
|
27
|
+
i0.ɵɵtextInterpolate1(" ", row_r6 == null ? null : row_r6.type, " ");
|
|
28
|
+
} }
|
|
29
|
+
function PaymentMethodComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelement(0, "button", 9);
|
|
31
|
+
} }
|
|
32
|
+
const _c0 = function (a0, a1) { return { emptyMessage: a0, totalMessage: a1 }; };
|
|
33
|
+
export class PaymentMethodComponent {
|
|
34
|
+
constructor(data) {
|
|
35
|
+
this.data = data;
|
|
36
|
+
this.isAnyOperationIsInprogress = false;
|
|
37
|
+
this.isFromRoute = false;
|
|
38
|
+
}
|
|
39
|
+
ngOnInit() {
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
PaymentMethodComponent.ɵfac = function PaymentMethodComponent_Factory(t) { return new (t || PaymentMethodComponent)(i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
43
|
+
PaymentMethodComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaymentMethodComponent, selectors: [["app-payment-method-component"]], decls: 16, vars: 26, consts: [["fxFlex", "", "fxFlex", "100"], [1, "ml-1", "mt-05"], [1, "activity-data", "no-drag", "accessible-ip-height"], [1, "btrak", 3, "ngClass", "columnMode", "headerHeight", "footerHeight", "rowHeight", "limit", "rows", "loadingIndicator", "scrollbarH", "virtualization", "messages"], ["minWidth", "150", "name", "NAME", "prop", "documentName", 3, "flexGrow", "sortable"], ["ngx-datatable-cell-template", ""], ["minWidth", "150", "name", "UPDATED AT", "prop", "updatedAt", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "TYPE", "prop", "type", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "STATUS", 3, "flexGrow", "sortable"], ["title", "Processed", "mat-icon-button", "", 1, "text-center"]], template: function PaymentMethodComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
45
|
+
i0.ɵɵelementStart(1, "h4", 1);
|
|
46
|
+
i0.ɵɵtext(2, "Payment method");
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
i0.ɵɵelement(3, "hr");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementStart(4, "div", 2);
|
|
51
|
+
i0.ɵɵelementStart(5, "ngx-datatable", 3);
|
|
52
|
+
i0.ɵɵpipe(6, "translate");
|
|
53
|
+
i0.ɵɵpipe(7, "translate");
|
|
54
|
+
i0.ɵɵelementStart(8, "ngx-datatable-column", 4);
|
|
55
|
+
i0.ɵɵtemplate(9, PaymentMethodComponent_ng_template_9_Template, 1, 1, "ng-template", 5);
|
|
56
|
+
i0.ɵɵelementEnd();
|
|
57
|
+
i0.ɵɵelementStart(10, "ngx-datatable-column", 6);
|
|
58
|
+
i0.ɵɵtemplate(11, PaymentMethodComponent_ng_template_11_Template, 1, 1, "ng-template", 5);
|
|
59
|
+
i0.ɵɵelementEnd();
|
|
60
|
+
i0.ɵɵelementStart(12, "ngx-datatable-column", 7);
|
|
61
|
+
i0.ɵɵtemplate(13, PaymentMethodComponent_ng_template_13_Template, 1, 1, "ng-template", 5);
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵelementStart(14, "ngx-datatable-column", 8);
|
|
64
|
+
i0.ɵɵtemplate(15, PaymentMethodComponent_ng_template_15_Template, 1, 0, "ng-template", 5);
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
i0.ɵɵelementEnd();
|
|
68
|
+
} if (rf & 2) {
|
|
69
|
+
i0.ɵɵadvance(5);
|
|
70
|
+
i0.ɵɵproperty("ngClass", ctx.isFromRoute ? "full-height" : "")("columnMode", "flex")("headerHeight", 35)("footerHeight", 50)("rowHeight", 50)("limit", 10)("rows", ctx.paymentDetails)("loadingIndicator", ctx.isAnyOperationIsInprogress)("scrollbarH", true)("virtualization", false)("messages", i0.ɵɵpureFunction2(23, _c0, i0.ɵɵpipeBind1(6, 19, "NODATATODISPLAY"), i0.ɵɵpipeBind1(7, 21, "TOTAL")));
|
|
71
|
+
i0.ɵɵadvance(3);
|
|
72
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
73
|
+
i0.ɵɵadvance(2);
|
|
74
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
75
|
+
i0.ɵɵadvance(2);
|
|
76
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
77
|
+
i0.ɵɵadvance(2);
|
|
78
|
+
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
79
|
+
} }, directives: [i1.DefaultFlexDirective, i2.DatatableComponent, i3.NgClass, i4.DefaultClassDirective, i2.DataTableColumnDirective, i2.DataTableColumnCellDirective, i5.MatButton], pipes: [i6.TranslatePipe], encapsulation: 2 });
|
|
80
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentMethodComponent, [{
|
|
81
|
+
type: Component,
|
|
82
|
+
args: [{
|
|
83
|
+
selector: "app-payment-method-component",
|
|
84
|
+
templateUrl: "./payment-method.component.html"
|
|
85
|
+
}]
|
|
86
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
87
|
+
type: Inject,
|
|
88
|
+
args: [MAT_DIALOG_DATA]
|
|
89
|
+
}] }]; }, null); })();
|
|
90
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc2hlbGwtbW9kdWxlLWNvbXBvbmVudHMvc2hlbGwtY29tcG9uZW50cy9zcmMvbGliL3NoZWxsLWNvbXBvbmVudHMvY29tcG9uZW50cy9QYXltZW50cy9wYXltZW50LW1ldGhvZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zaGVsbC1tb2R1bGUtY29tcG9uZW50cy9zaGVsbC1jb21wb25lbnRzL3NyYy9saWIvc2hlbGwtY29tcG9uZW50cy9jb21wb25lbnRzL1BheW1lbnRzL3BheW1lbnQtbWV0aG9kLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxFQUFhLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBMkIsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFHcEYsT0FBTyx1REFBdUQsQ0FBQzs7Ozs7Ozs7O0lDUS9DLFlBQ0o7OztJQURJLDRFQUNKOzs7SUFLSSxZQUNKOzs7SUFESSx5RUFDSjs7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