@thetradeengineorg1/snova-shell-module 0.0.7 → 1.0.0
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/bundles/thetradeengineorg1-snova-shell-module.umd.js +1112 -2185
- package/bundles/thetradeengineorg1-snova-shell-module.umd.js.map +1 -1
- package/esm2015/lib/globaldependencies/helpers/dom.helper.js +2 -1
- package/esm2015/lib/shell-components/components/Payments/document.component.js +1 -1
- package/esm2015/lib/shell-components/components/admin-layout/admin-layout.component.js +39 -81
- package/esm2015/lib/shell-components/components/feed-time/feed-time.component.js +1 -1
- package/esm2015/lib/shell-components/components/header-side/header-side.component.js +312 -344
- package/esm2015/lib/shell-components/components/header-top/header-top.component.js +82 -357
- package/esm2015/lib/shell-components/components/menu/menu.component.js +136 -724
- package/esm2015/lib/shell-components/components/sidenav/side-bar.component.js +105 -99
- package/esm2015/lib/shell-components/components/sidenav/sidenav.component.js +1 -1
- package/esm2015/lib/shell-components/components/submit-feedback/submit-feedback.component.js +1 -1
- package/esm2015/lib/shell-components/shell.module.js +9 -11
- package/esm2015/public-api.js +1 -1
- package/fesm2015/thetradeengineorg1-snova-shell-module.js +1085 -2011
- package/fesm2015/thetradeengineorg1-snova-shell-module.js.map +1 -1
- package/lib/globaldependencies/components/componentbase.d.ts +0 -1
- package/lib/globaldependencies/constants/feature-ids.d.ts +0 -1
- package/lib/globaldependencies/constants/localstorage-properties.d.ts +0 -1
- package/lib/globaldependencies/helpers/dom.helper.d.ts +0 -1
- package/lib/globaldependencies/helpers/fontawesome-icons.d.ts +0 -1
- package/lib/globaldependencies/helpers/moment-utc-date-adapter.d.ts +0 -1
- package/lib/globaldependencies/helpers/window.helper.d.ts +0 -1
- package/lib/globaldependencies/intercepter/jwt.interceptor.d.ts +0 -1
- package/lib/globaldependencies/pipes/fetchSizedAndCachedImage.pipe.d.ts +0 -1
- package/lib/globaldependencies/pipes/highLightText.pipe.d.ts +0 -1
- package/lib/globaldependencies/pipes/orderby-pipe.d.ts +0 -1
- package/lib/globaldependencies/pipes/removeSpecialCharacters.pipe.d.ts +0 -1
- package/lib/globaldependencies/pipes/sanitize.pipe.d.ts +0 -1
- package/lib/globaldependencies/pipes/softlabels.pipes.d.ts +0 -1
- package/lib/globaldependencies/pipes/utctolocaltime.pipe.d.ts +0 -1
- package/lib/globaldependencies/pipes/utctolocaltimewithdate.pipe.d.ts +0 -1
- package/lib/globaldependencies/pipes/workflowstatus.pipes.d.ts +0 -1
- package/lib/shell-components/components/Payments/account.component.d.ts +0 -1
- package/lib/shell-components/components/Payments/company-information.d.ts +0 -1
- package/lib/shell-components/components/Payments/company-plans.component.d.ts +0 -1
- package/lib/shell-components/components/Payments/document.component.d.ts +1 -2
- package/lib/shell-components/components/Payments/payment-method.component.d.ts +0 -1
- package/lib/shell-components/components/Payments/product-service.component.d.ts +0 -1
- package/lib/shell-components/components/Payments/purchase-more-licenses.d.ts +0 -1
- package/lib/shell-components/components/Payments/transactions.component.d.ts +0 -1
- package/lib/shell-components/components/admin-layout/admin-layout.component.d.ts +0 -1
- package/lib/shell-components/components/all-work-items-dialog/all-work-items-dialog.component.d.ts +0 -1
- package/lib/shell-components/components/confirmation-dialog/confirmation-dialog.component.d.ts +0 -1
- package/lib/shell-components/components/export-import-configuration/export-configuration.component.d.ts +0 -1
- package/lib/shell-components/components/feed-time/feed-time-dialog.component.d.ts +0 -1
- package/lib/shell-components/components/feed-time/feed-time.component.d.ts +0 -1
- package/lib/shell-components/components/header-side/header-side.component.d.ts +1 -2
- package/lib/shell-components/components/header-top/header-top.component.d.ts +0 -1
- package/lib/shell-components/components/lives/lives-welcome-page.d.ts +0 -1
- package/lib/shell-components/components/menu/menu.component.d.ts +0 -1
- package/lib/shell-components/components/menu/searchTask.enum.d.ts +0 -1
- package/lib/shell-components/components/notifications/announcement-dialog.component.d.ts +0 -1
- package/lib/shell-components/components/notifications/notifications.component.d.ts +0 -1
- package/lib/shell-components/components/sidebar-top/sidebar-top.component.d.ts +0 -1
- package/lib/shell-components/components/sidenav/side-bar.component.d.ts +26 -16
- package/lib/shell-components/components/sidenav/sidenav.component.d.ts +0 -1
- package/lib/shell-components/components/submit-feedback/submit-feedback.component.d.ts +0 -1
- package/lib/shell-components/constants/api-urls.d.ts +0 -1
- package/lib/shell-components/constants/available-languages.d.ts +0 -1
- package/lib/shell-components/constants/channel-names.d.ts +0 -1
- package/lib/shell-components/constants/menu-categories.d.ts +0 -1
- package/lib/shell-components/constants/notification-routes.d.ts +0 -1
- package/lib/shell-components/constants/notification-type-ids.d.ts +0 -1
- package/lib/shell-components/enum/recentSearchType.enum.d.ts +0 -1
- package/lib/shell-components/models/AppMenuItemModel.d.ts +0 -1
- package/lib/shell-components/models/AppNotification.d.ts +0 -1
- package/lib/shell-components/models/AssetAssignedNotificationModel.d.ts +0 -1
- package/lib/shell-components/models/ChannelUpdateModel.d.ts +0 -1
- package/lib/shell-components/models/EmployeeStatusModel.d.ts +0 -1
- package/lib/shell-components/models/IAdjust-screen-options.d.ts +0 -1
- package/lib/shell-components/models/IBadge.d.ts +0 -1
- package/lib/shell-components/models/IChildItem.d.ts +0 -1
- package/lib/shell-components/models/ILayout-change-options.d.ts +0 -1
- package/lib/shell-components/models/IMenuItem.d.ts +0 -1
- package/lib/shell-components/models/IlayoutConf.d.ts +0 -1
- package/lib/shell-components/models/IntroModel.d.ts +0 -1
- package/lib/shell-components/models/MessageDetails.d.ts +0 -1
- package/lib/shell-components/models/MessageTypingDetails.d.ts +0 -1
- package/lib/shell-components/models/NewProjectCreatedNotificationModel.d.ts +0 -1
- package/lib/shell-components/models/NewProjectFeatureNotificationModel.d.ts +0 -1
- package/lib/shell-components/models/NotificationsOutPutModel.d.ts +0 -1
- package/lib/shell-components/models/ProjectSearchCriteriaInputModel.d.ts +0 -1
- package/lib/shell-components/models/RecentSearchModel.d.ts +0 -1
- package/lib/shell-components/models/ReportConfigAssignedNotification.d.ts +0 -1
- package/lib/shell-components/models/ReportSubmittedNotification.d.ts +0 -1
- package/lib/shell-components/models/RoleUpdatedNotification.d.ts +0 -1
- package/lib/shell-components/models/UserStoryAssignedNotification.d.ts +0 -1
- package/lib/shell-components/models/archiveUserStoryModel.d.ts +0 -1
- package/lib/shell-components/models/companieslist.model.d.ts +0 -1
- package/lib/shell-components/models/company-model.d.ts +0 -1
- package/lib/shell-components/models/company-payment-model.d.ts +0 -1
- package/lib/shell-components/models/dragedWidget.d.ts +0 -1
- package/lib/shell-components/models/employee-List.d.ts +0 -1
- package/lib/shell-components/models/employee.d.ts +0 -1
- package/lib/shell-components/models/entityRoleFeature.d.ts +0 -1
- package/lib/shell-components/models/export-configuration-model.d.ts +0 -1
- package/lib/shell-components/models/export-data.module.d.ts +0 -1
- package/lib/shell-components/models/goalApprovedNotificationModel.d.ts +0 -1
- package/lib/shell-components/models/import-configuration-model.d.ts +0 -1
- package/lib/shell-components/models/initialStatusofUsers.d.ts +0 -1
- package/lib/shell-components/models/invoiceOutput-model.d.ts +0 -1
- package/lib/shell-components/models/leaveApplicationNotifiction.d.ts +0 -1
- package/lib/shell-components/models/multiChartsScheduling.d.ts +0 -1
- package/lib/shell-components/models/parkUserStoryInputModel.d.ts +0 -1
- package/lib/shell-components/models/project.d.ts +0 -1
- package/lib/shell-components/models/recentSearchApiModel.d.ts +0 -1
- package/lib/shell-components/models/searchCriteriaInputModelBase.d.ts +0 -1
- package/lib/shell-components/models/shellModulesInfo.d.ts +0 -1
- package/lib/shell-components/models/softlabels-model.d.ts +0 -1
- package/lib/shell-components/models/sprintReplanRequestedModel.d.ts +0 -1
- package/lib/shell-components/models/sprintStartedNotificationModel.d.ts +0 -1
- package/lib/shell-components/models/store-model.d.ts +0 -1
- package/lib/shell-components/models/store-search-model.d.ts +0 -1
- package/lib/shell-components/models/themes.model.d.ts +0 -1
- package/lib/shell-components/models/timesheetenabledisable.d.ts +0 -1
- package/lib/shell-components/models/user.d.ts +0 -1
- package/lib/shell-components/models/userStory.d.ts +0 -1
- package/lib/shell-components/models/userStoryCommentNotificationModel.d.ts +0 -1
- package/lib/shell-components/models/userStoryUpdateNotificationModel.d.ts +0 -1
- package/lib/shell-components/models/userstory-custom-fields.model.d.ts +0 -1
- package/lib/shell-components/models/validation.model.d.ts +0 -1
- package/lib/shell-components/models/widgetlist.d.ts +0 -1
- package/lib/shell-components/models/workspaceList.d.ts +0 -1
- package/lib/shell-components/services/authentication.service.d.ts +0 -1
- package/lib/shell-components/services/chat.service.d.ts +0 -1
- package/lib/shell-components/services/common-used.service.d.ts +0 -1
- package/lib/shell-components/services/feature.service.d.ts +0 -1
- package/lib/shell-components/services/google-analytics.service.d.ts +0 -1
- package/lib/shell-components/services/layout.service.d.ts +0 -1
- package/lib/shell-components/services/payment.service.d.ts +0 -1
- package/lib/shell-components/services/recentSearch.service.d.ts +0 -1
- package/lib/shell-components/services/shell.modules.service.d.ts +0 -1
- package/lib/shell-components/services/signalr.service.d.ts +0 -1
- package/lib/shell-components/services/theme.service.d.ts +0 -1
- package/lib/shell-components/shell.module.d.ts +1 -2
- package/lib/shell-components/shell.routing.d.ts +0 -1
- package/lib/shell-components/store/actions/authentication.actions.d.ts +0 -1
- package/lib/shell-components/store/actions/chat.actions.d.ts +0 -1
- package/lib/shell-components/store/actions/menuitems.actions.d.ts +0 -1
- package/lib/shell-components/store/actions/notification-validator.action.d.ts +0 -1
- package/lib/shell-components/store/actions/notifications.actions.d.ts +0 -1
- package/lib/shell-components/store/effects/authentication.effects.d.ts +0 -1
- package/lib/shell-components/store/effects/chat.effects.d.ts +0 -1
- package/lib/shell-components/store/effects/index.d.ts +0 -1
- package/lib/shell-components/store/effects/menuitems.effects.d.ts +0 -1
- package/lib/shell-components/store/effects/notification-validator.effects.d.ts +0 -1
- package/lib/shell-components/store/effects/notifications.effects.d.ts +0 -1
- package/lib/shell-components/store/reducers/authentication.reducers.d.ts +0 -1
- package/lib/shell-components/store/reducers/chat.reducers.d.ts +0 -1
- package/lib/shell-components/store/reducers/index.d.ts +0 -1
- package/lib/shell-components/store/reducers/menuitems.reducers.d.ts +0 -1
- package/lib/shell-components/store/reducers/notification-validator.reducers.d.ts +0 -1
- package/lib/shell-components/store/reducers/notifications.reducers.d.ts +0 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/store/reducers/index.d.ts +0 -1
- package/thetradeengineorg1-snova-shell-module.d.ts +0 -1
- package/lib/globaldependencies/components/componentbase.d.ts.map +0 -1
- package/lib/globaldependencies/constants/feature-ids.d.ts.map +0 -1
- package/lib/globaldependencies/constants/localstorage-properties.d.ts.map +0 -1
- package/lib/globaldependencies/helpers/dom.helper.d.ts.map +0 -1
- package/lib/globaldependencies/helpers/fontawesome-icons.d.ts.map +0 -1
- package/lib/globaldependencies/helpers/moment-utc-date-adapter.d.ts.map +0 -1
- package/lib/globaldependencies/helpers/window.helper.d.ts.map +0 -1
- package/lib/globaldependencies/intercepter/jwt.interceptor.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/fetchSizedAndCachedImage.pipe.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/highLightText.pipe.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/orderby-pipe.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/removeSpecialCharacters.pipe.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/sanitize.pipe.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/softlabels.pipes.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/utctolocaltime.pipe.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/utctolocaltimewithdate.pipe.d.ts.map +0 -1
- package/lib/globaldependencies/pipes/workflowstatus.pipes.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/account.component.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/company-information.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/company-plans.component.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/document.component.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/payment-method.component.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/product-service.component.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/purchase-more-licenses.d.ts.map +0 -1
- package/lib/shell-components/components/Payments/transactions.component.d.ts.map +0 -1
- package/lib/shell-components/components/admin-layout/admin-layout.component.d.ts.map +0 -1
- package/lib/shell-components/components/all-work-items-dialog/all-work-items-dialog.component.d.ts.map +0 -1
- package/lib/shell-components/components/confirmation-dialog/confirmation-dialog.component.d.ts.map +0 -1
- package/lib/shell-components/components/export-import-configuration/export-configuration.component.d.ts.map +0 -1
- package/lib/shell-components/components/feed-time/feed-time-dialog.component.d.ts.map +0 -1
- package/lib/shell-components/components/feed-time/feed-time.component.d.ts.map +0 -1
- package/lib/shell-components/components/header-side/header-side.component.d.ts.map +0 -1
- package/lib/shell-components/components/header-top/header-top.component.d.ts.map +0 -1
- package/lib/shell-components/components/lives/lives-welcome-page.d.ts.map +0 -1
- package/lib/shell-components/components/menu/menu.component.d.ts.map +0 -1
- package/lib/shell-components/components/menu/searchTask.enum.d.ts.map +0 -1
- package/lib/shell-components/components/notifications/announcement-dialog.component.d.ts.map +0 -1
- package/lib/shell-components/components/notifications/notifications.component.d.ts.map +0 -1
- package/lib/shell-components/components/sidebar-top/sidebar-top.component.d.ts.map +0 -1
- package/lib/shell-components/components/sidenav/side-bar.component.d.ts.map +0 -1
- package/lib/shell-components/components/sidenav/sidenav.component.d.ts.map +0 -1
- package/lib/shell-components/components/submit-feedback/submit-feedback.component.d.ts.map +0 -1
- package/lib/shell-components/constants/api-urls.d.ts.map +0 -1
- package/lib/shell-components/constants/available-languages.d.ts.map +0 -1
- package/lib/shell-components/constants/channel-names.d.ts.map +0 -1
- package/lib/shell-components/constants/menu-categories.d.ts.map +0 -1
- package/lib/shell-components/constants/notification-routes.d.ts.map +0 -1
- package/lib/shell-components/constants/notification-type-ids.d.ts.map +0 -1
- package/lib/shell-components/enum/recentSearchType.enum.d.ts.map +0 -1
- package/lib/shell-components/models/AppMenuItemModel.d.ts.map +0 -1
- package/lib/shell-components/models/AppNotification.d.ts.map +0 -1
- package/lib/shell-components/models/AssetAssignedNotificationModel.d.ts.map +0 -1
- package/lib/shell-components/models/ChannelUpdateModel.d.ts.map +0 -1
- package/lib/shell-components/models/EmployeeStatusModel.d.ts.map +0 -1
- package/lib/shell-components/models/IAdjust-screen-options.d.ts.map +0 -1
- package/lib/shell-components/models/IBadge.d.ts.map +0 -1
- package/lib/shell-components/models/IChildItem.d.ts.map +0 -1
- package/lib/shell-components/models/ILayout-change-options.d.ts.map +0 -1
- package/lib/shell-components/models/IMenuItem.d.ts.map +0 -1
- package/lib/shell-components/models/IlayoutConf.d.ts.map +0 -1
- package/lib/shell-components/models/IntroModel.d.ts.map +0 -1
- package/lib/shell-components/models/MessageDetails.d.ts.map +0 -1
- package/lib/shell-components/models/MessageTypingDetails.d.ts.map +0 -1
- package/lib/shell-components/models/NewProjectCreatedNotificationModel.d.ts.map +0 -1
- package/lib/shell-components/models/NewProjectFeatureNotificationModel.d.ts.map +0 -1
- package/lib/shell-components/models/NotificationsOutPutModel.d.ts.map +0 -1
- package/lib/shell-components/models/ProjectSearchCriteriaInputModel.d.ts.map +0 -1
- package/lib/shell-components/models/RecentSearchModel.d.ts.map +0 -1
- package/lib/shell-components/models/ReportConfigAssignedNotification.d.ts.map +0 -1
- package/lib/shell-components/models/ReportSubmittedNotification.d.ts.map +0 -1
- package/lib/shell-components/models/RoleUpdatedNotification.d.ts.map +0 -1
- package/lib/shell-components/models/UserStoryAssignedNotification.d.ts.map +0 -1
- package/lib/shell-components/models/archiveUserStoryModel.d.ts.map +0 -1
- package/lib/shell-components/models/companieslist.model.d.ts.map +0 -1
- package/lib/shell-components/models/company-model.d.ts.map +0 -1
- package/lib/shell-components/models/company-payment-model.d.ts.map +0 -1
- package/lib/shell-components/models/dragedWidget.d.ts.map +0 -1
- package/lib/shell-components/models/employee-List.d.ts.map +0 -1
- package/lib/shell-components/models/employee.d.ts.map +0 -1
- package/lib/shell-components/models/entityRoleFeature.d.ts.map +0 -1
- package/lib/shell-components/models/export-configuration-model.d.ts.map +0 -1
- package/lib/shell-components/models/export-data.module.d.ts.map +0 -1
- package/lib/shell-components/models/goalApprovedNotificationModel.d.ts.map +0 -1
- package/lib/shell-components/models/import-configuration-model.d.ts.map +0 -1
- package/lib/shell-components/models/initialStatusofUsers.d.ts.map +0 -1
- package/lib/shell-components/models/invoiceOutput-model.d.ts.map +0 -1
- package/lib/shell-components/models/leaveApplicationNotifiction.d.ts.map +0 -1
- package/lib/shell-components/models/multiChartsScheduling.d.ts.map +0 -1
- package/lib/shell-components/models/parkUserStoryInputModel.d.ts.map +0 -1
- package/lib/shell-components/models/project.d.ts.map +0 -1
- package/lib/shell-components/models/recentSearchApiModel.d.ts.map +0 -1
- package/lib/shell-components/models/searchCriteriaInputModelBase.d.ts.map +0 -1
- package/lib/shell-components/models/shellModulesInfo.d.ts.map +0 -1
- package/lib/shell-components/models/softlabels-model.d.ts.map +0 -1
- package/lib/shell-components/models/sprintReplanRequestedModel.d.ts.map +0 -1
- package/lib/shell-components/models/sprintStartedNotificationModel.d.ts.map +0 -1
- package/lib/shell-components/models/store-model.d.ts.map +0 -1
- package/lib/shell-components/models/store-search-model.d.ts.map +0 -1
- package/lib/shell-components/models/themes.model.d.ts.map +0 -1
- package/lib/shell-components/models/timesheetenabledisable.d.ts.map +0 -1
- package/lib/shell-components/models/user.d.ts.map +0 -1
- package/lib/shell-components/models/userStory.d.ts.map +0 -1
- package/lib/shell-components/models/userStoryCommentNotificationModel.d.ts.map +0 -1
- package/lib/shell-components/models/userStoryUpdateNotificationModel.d.ts.map +0 -1
- package/lib/shell-components/models/userstory-custom-fields.model.d.ts.map +0 -1
- package/lib/shell-components/models/validation.model.d.ts.map +0 -1
- package/lib/shell-components/models/widgetlist.d.ts.map +0 -1
- package/lib/shell-components/models/workspaceList.d.ts.map +0 -1
- package/lib/shell-components/services/authentication.service.d.ts.map +0 -1
- package/lib/shell-components/services/chat.service.d.ts.map +0 -1
- package/lib/shell-components/services/common-used.service.d.ts.map +0 -1
- package/lib/shell-components/services/feature.service.d.ts.map +0 -1
- package/lib/shell-components/services/google-analytics.service.d.ts.map +0 -1
- package/lib/shell-components/services/layout.service.d.ts.map +0 -1
- package/lib/shell-components/services/payment.service.d.ts.map +0 -1
- package/lib/shell-components/services/recentSearch.service.d.ts.map +0 -1
- package/lib/shell-components/services/shell.modules.service.d.ts.map +0 -1
- package/lib/shell-components/services/signalr.service.d.ts.map +0 -1
- package/lib/shell-components/services/theme.service.d.ts.map +0 -1
- package/lib/shell-components/shell.module.d.ts.map +0 -1
- package/lib/shell-components/shell.routing.d.ts.map +0 -1
- package/lib/shell-components/store/actions/authentication.actions.d.ts.map +0 -1
- package/lib/shell-components/store/actions/chat.actions.d.ts.map +0 -1
- package/lib/shell-components/store/actions/menuitems.actions.d.ts.map +0 -1
- package/lib/shell-components/store/actions/notification-validator.action.d.ts.map +0 -1
- package/lib/shell-components/store/actions/notifications.actions.d.ts.map +0 -1
- package/lib/shell-components/store/effects/authentication.effects.d.ts.map +0 -1
- package/lib/shell-components/store/effects/chat.effects.d.ts.map +0 -1
- package/lib/shell-components/store/effects/index.d.ts.map +0 -1
- package/lib/shell-components/store/effects/menuitems.effects.d.ts.map +0 -1
- package/lib/shell-components/store/effects/notification-validator.effects.d.ts.map +0 -1
- package/lib/shell-components/store/effects/notifications.effects.d.ts.map +0 -1
- package/lib/shell-components/store/reducers/authentication.reducers.d.ts.map +0 -1
- package/lib/shell-components/store/reducers/chat.reducers.d.ts.map +0 -1
- package/lib/shell-components/store/reducers/index.d.ts.map +0 -1
- package/lib/shell-components/store/reducers/menuitems.reducers.d.ts.map +0 -1
- package/lib/shell-components/store/reducers/notification-validator.reducers.d.ts.map +0 -1
- package/lib/shell-components/store/reducers/notifications.reducers.d.ts.map +0 -1
- package/public-api.d.ts.map +0 -1
- package/store/reducers/index.d.ts.map +0 -1
- package/thetradeengineorg1-snova-shell-module.d.ts.map +0 -1
|
@@ -6,14 +6,14 @@ import * as i8 from '@angular/material/button';
|
|
|
6
6
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
7
|
import * as i7 from '@angular/material/card';
|
|
8
8
|
import { MatCardModule } from '@angular/material/card';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i27 from '@angular/material/progress-bar';
|
|
10
10
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
11
11
|
import * as i7$1 from '@angular/material/tooltip';
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
13
|
import * as i17 from '@angular/material/icon';
|
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
15
|
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i22 from '@angular/material/input';
|
|
17
17
|
import { MatInputModule } from '@angular/material/input';
|
|
18
18
|
import * as i14 from '@angular/material/core';
|
|
19
19
|
import { MAT_DATE_LOCALE, MAT_DATE_FORMATS, DateAdapter } from '@angular/material/core';
|
|
@@ -21,15 +21,12 @@ import * as i1$3 from '@angular/material/dialog';
|
|
|
21
21
|
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogModule } from '@angular/material/dialog';
|
|
22
22
|
import * as i16 from '@angular/material/menu';
|
|
23
23
|
import { MatMenuModule } from '@angular/material/menu';
|
|
24
|
-
import * as i13 from '@angular/material/sidenav';
|
|
25
24
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
26
25
|
import * as i12 from '@angular/material/list';
|
|
27
26
|
import { MatListModule } from '@angular/material/list';
|
|
28
|
-
import * as i19 from '@angular/material/toolbar';
|
|
29
27
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
30
|
-
import * as i12$1 from '@angular/material/grid-list';
|
|
31
28
|
import { MatGridListModule } from '@angular/material/grid-list';
|
|
32
|
-
import * as
|
|
29
|
+
import * as i33 from '@angular/material/select';
|
|
33
30
|
import { MatSelectModule } from '@angular/material/select';
|
|
34
31
|
import { MatTableModule } from '@angular/material/table';
|
|
35
32
|
import * as i2$4 from '@angular/material/tabs';
|
|
@@ -45,13 +42,13 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
45
42
|
import { MomentDateAdapter, MAT_MOMENT_DATE_FORMATS } from '@angular/material-moment-adapter';
|
|
46
43
|
import * as i2 from '@angular/router';
|
|
47
44
|
import { NavigationEnd, NavigationError, NavigationCancel, NavigationStart, RouteConfigLoadStart, ResolveStart, RouteConfigLoadEnd, ResolveEnd, RouterModule } from '@angular/router';
|
|
48
|
-
import * as
|
|
45
|
+
import * as i6$1 from '@thetradeengineorg1/snova-avatar';
|
|
49
46
|
import { SnovasysAvatarModule } from '@thetradeengineorg1/snova-avatar';
|
|
50
47
|
import * as i2$1 from '@thetradeengineorg1/snova-ndc-dynamic';
|
|
51
48
|
import { DynamicModule } from '@thetradeengineorg1/snova-ndc-dynamic';
|
|
52
49
|
import * as i5$1 from '@ngx-translate/core';
|
|
53
50
|
import { TranslateService, TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
54
|
-
import * as
|
|
51
|
+
import * as i23 from '@ncstate/sat-popover';
|
|
55
52
|
import { SatPopoverModule } from '@ncstate/sat-popover';
|
|
56
53
|
import * as i4 from '@fortawesome/angular-fontawesome';
|
|
57
54
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
@@ -67,7 +64,7 @@ import * as i1$2 from '@ngrx/effects';
|
|
|
67
64
|
import { ofType, Effect, EffectsModule } from '@ngrx/effects';
|
|
68
65
|
import * as i2$3 from 'ngx-perfect-scrollbar';
|
|
69
66
|
import { PERFECT_SCROLLBAR_CONFIG, PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
|
|
70
|
-
import * as
|
|
67
|
+
import * as i16$1 from 'ngx-timeago';
|
|
71
68
|
import { TimeagoModule } from 'ngx-timeago';
|
|
72
69
|
import { Guid } from 'guid-typescript';
|
|
73
70
|
import * as _ from 'underscore';
|
|
@@ -83,23 +80,23 @@ import { faBox, faMapMarker, faKey, faGraduationCap, faBriefcase, faLanguage, fa
|
|
|
83
80
|
import * as i3$1 from 'ngx-ui-loader';
|
|
84
81
|
import { SPINNER, NgxUiLoaderModule } from 'ngx-ui-loader';
|
|
85
82
|
import * as signalR from '@microsoft/signalr';
|
|
86
|
-
import * as
|
|
87
|
-
import * as i22$1 from '@angular/flex-layout/extended';
|
|
83
|
+
import * as i12$1 from '@angular/cdk/bidi';
|
|
88
84
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
89
|
-
import * as
|
|
90
|
-
import * as
|
|
91
|
-
import * as i15 from '@thetradeengineorg1/snova-document-management';
|
|
85
|
+
import * as i30 from '@angular/flex-layout/flex';
|
|
86
|
+
import * as i21 from '@angular/material/form-field';
|
|
87
|
+
import * as i15$1 from '@thetradeengineorg1/snova-document-management';
|
|
92
88
|
import { FileResultModel, DocumentManagementModule } from '@thetradeengineorg1/snova-document-management';
|
|
93
89
|
import Resumable from 'resumablejs';
|
|
94
90
|
import * as i1$4 from 'ng-push-ivy';
|
|
95
91
|
import { PushNotificationsModule } from 'ng-push-ivy';
|
|
96
|
-
import * as
|
|
97
|
-
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
92
|
+
import * as i15 from '@angular/flex-layout/extended';
|
|
98
93
|
import * as i7$2 from '@angular/material/divider';
|
|
99
|
-
import * as
|
|
94
|
+
import * as i32 from 'ngx-dropzone';
|
|
100
95
|
import { NgxDropzoneModule } from 'ngx-dropzone';
|
|
96
|
+
import * as bootstrap from 'bootstrap';
|
|
101
97
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
102
98
|
import { OWL_DATE_TIME_LOCALE, OwlDateTimeModule, OwlNativeDateTimeModule } from 'ng-pick-datetime';
|
|
99
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
103
100
|
import { DropZoneModule } from '@thetradeengineorg1/snova-file-uploader';
|
|
104
101
|
import * as i8$1 from '@swimlane/ngx-datatable';
|
|
105
102
|
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
|
|
@@ -1761,6 +1758,7 @@ function removeClass(el, className) {
|
|
|
1761
1758
|
}
|
|
1762
1759
|
function addClass(el, className) {
|
|
1763
1760
|
const themeBaseColor = localStorage.getItem('themeColor');
|
|
1761
|
+
// const themeBaseColor = '#2C3E50';
|
|
1764
1762
|
if (themeBaseColor) {
|
|
1765
1763
|
document.documentElement.style.setProperty('--primary-theme-color', themeBaseColor);
|
|
1766
1764
|
}
|
|
@@ -6055,8 +6053,8 @@ class UserStoryParkNotificationModel extends NotificationOutputModel {
|
|
|
6055
6053
|
class ExportConfigurationModel {
|
|
6056
6054
|
}
|
|
6057
6055
|
|
|
6058
|
-
const _c0$
|
|
6059
|
-
const _c1$
|
|
6056
|
+
const _c0$a = ["allModuleSelected"];
|
|
6057
|
+
const _c1$3 = ["allDataSelected"];
|
|
6060
6058
|
function ExportConfigurationDialogComponent_mat_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
6061
6059
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
6062
6060
|
i0.ɵɵelementStart(0, "mat-option", 9, 10);
|
|
@@ -6397,8 +6395,8 @@ class ExportConfigurationDialogComponent {
|
|
|
6397
6395
|
}
|
|
6398
6396
|
ExportConfigurationDialogComponent.ɵfac = function ExportConfigurationDialogComponent_Factory(t) { return new (t || ExportConfigurationDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(i2.ActivatedRoute), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(i6.ToastrService), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
6399
6397
|
ExportConfigurationDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExportConfigurationDialogComponent, selectors: [["export-configuration-dialog"]], viewQuery: function ExportConfigurationDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6400
|
-
i0.ɵɵviewQuery(_c0$
|
|
6401
|
-
i0.ɵɵviewQuery(_c1$
|
|
6398
|
+
i0.ɵɵviewQuery(_c0$a, 5);
|
|
6399
|
+
i0.ɵɵviewQuery(_c1$3, 5);
|
|
6402
6400
|
} if (rf & 2) {
|
|
6403
6401
|
let _t;
|
|
6404
6402
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.allModuleSelected = _t.first);
|
|
@@ -6512,7 +6510,7 @@ ExportConfigurationDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent(
|
|
|
6512
6510
|
i0.ɵɵproperty("ngIf", ctx.exportDataLoading);
|
|
6513
6511
|
i0.ɵɵadvance(3);
|
|
6514
6512
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(44, 37, "ASSETS.CANCEL"), " ");
|
|
6515
|
-
} }, directives: [i7.MatCardContent, i9.ɵNgNoValidate, i9.NgControlStatusGroup,
|
|
6513
|
+
} }, directives: [i7.MatCardContent, i9.ɵNgNoValidate, i9.NgControlStatusGroup, i30.DefaultLayoutDirective, i9.FormGroupDirective, i30.DefaultFlexDirective, i11.MatCheckbox, i9.NgControlStatus, i9.FormControlName, i21.MatFormField, i33.MatSelect, i14.MatOption, i10.NgForOf, i8.MatButton, i4.FaIconComponent, i10.NgIf], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
6516
6514
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExportConfigurationDialogComponent, [{
|
|
6517
6515
|
type: Component,
|
|
6518
6516
|
args: [{
|
|
@@ -6751,43 +6749,21 @@ RecentSearchService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Rece
|
|
|
6751
6749
|
}]
|
|
6752
6750
|
}], function () { return [{ type: i1$1.HttpClient }]; }, null); })();
|
|
6753
6751
|
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
}
|
|
6759
|
-
const regex = new RegExp(searchText, 'gi');
|
|
6760
|
-
return value.replace(regex, (match) => `<strong>${match.replace(/\*/g, '')}</strong>`);
|
|
6761
|
-
}
|
|
6762
|
-
}
|
|
6763
|
-
HighLightTextPipe.ɵfac = function HighLightTextPipe_Factory(t) { return new (t || HighLightTextPipe)(); };
|
|
6764
|
-
HighLightTextPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "highLightText", type: HighLightTextPipe, pure: true });
|
|
6765
|
-
HighLightTextPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HighLightTextPipe, factory: HighLightTextPipe.ɵfac, providedIn: 'root' });
|
|
6766
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HighLightTextPipe, [{
|
|
6767
|
-
type: Pipe,
|
|
6768
|
-
args: [{
|
|
6769
|
-
name: 'highLightText'
|
|
6770
|
-
}]
|
|
6771
|
-
}, {
|
|
6772
|
-
type: Injectable,
|
|
6773
|
-
args: [{ providedIn: 'root' }]
|
|
6774
|
-
}], null, null); })();
|
|
6775
|
-
|
|
6776
|
-
const _c0$a = ["menuTrigger"];
|
|
6777
|
-
const _c1$4 = ["element"];
|
|
6778
|
-
const _c2$3 = ["workspaceElement"];
|
|
6779
|
-
const _c3$2 = ["menuElement"];
|
|
6752
|
+
const _c0$9 = ["menuTrigger"];
|
|
6753
|
+
const _c1$2 = ["element"];
|
|
6754
|
+
const _c2$1 = ["workspaceElement"];
|
|
6755
|
+
const _c3$1 = ["menuElement"];
|
|
6780
6756
|
const _c4$1 = ["addWorkspace"];
|
|
6781
6757
|
const _c5$1 = ["allSelected"];
|
|
6782
6758
|
const _c6$1 = ["allEditSelected"];
|
|
6783
6759
|
const _c7$1 = ["allDeleteSelected"];
|
|
6784
6760
|
const _c8$1 = ["infoPopOver"];
|
|
6785
6761
|
const _c9$1 = ["openMenuPopUp"];
|
|
6786
|
-
function
|
|
6787
|
-
const
|
|
6762
|
+
function MenuComponent_div_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6763
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
6788
6764
|
i0.ɵɵelementStart(0, "div");
|
|
6789
|
-
i0.ɵɵelementStart(1, "button",
|
|
6790
|
-
i0.ɵɵlistener("click", function
|
|
6765
|
+
i0.ɵɵelementStart(1, "button", 31);
|
|
6766
|
+
i0.ɵɵlistener("click", function MenuComponent_div_5_div_1_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r19); const item_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.selectMenu(item_r15, $event); });
|
|
6791
6767
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
6792
6768
|
i0.ɵɵtext(3);
|
|
6793
6769
|
i0.ɵɵelementEnd();
|
|
@@ -6796,29 +6772,29 @@ function MenuComponent_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
6796
6772
|
i0.ɵɵelementEnd();
|
|
6797
6773
|
i0.ɵɵelementEnd();
|
|
6798
6774
|
} if (rf & 2) {
|
|
6799
|
-
const
|
|
6800
|
-
const
|
|
6775
|
+
const item_r15 = i0.ɵɵnextContext().$implicit;
|
|
6776
|
+
const ctx_r16 = i0.ɵɵnextContext();
|
|
6801
6777
|
i0.ɵɵadvance(1);
|
|
6802
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "/",
|
|
6778
|
+
i0.ɵɵpropertyInterpolate1("routerLink", "/", item_r15.state, "");
|
|
6803
6779
|
i0.ɵɵadvance(2);
|
|
6804
|
-
i0.ɵɵtextInterpolate(
|
|
6780
|
+
i0.ɵɵtextInterpolate(item_r15.icon);
|
|
6805
6781
|
i0.ɵɵadvance(1);
|
|
6806
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(5, 3,
|
|
6782
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(5, 3, item_r15.menu, ctx_r16.softLabels), " ");
|
|
6807
6783
|
} }
|
|
6808
|
-
function
|
|
6784
|
+
function MenuComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
6809
6785
|
i0.ɵɵelementStart(0, "div");
|
|
6810
|
-
i0.ɵɵtemplate(1,
|
|
6786
|
+
i0.ɵɵtemplate(1, MenuComponent_div_5_div_1_Template, 6, 6, "div", 15);
|
|
6811
6787
|
i0.ɵɵelementEnd();
|
|
6812
6788
|
} if (rf & 2) {
|
|
6813
|
-
const
|
|
6789
|
+
const item_r15 = ctx.$implicit;
|
|
6814
6790
|
i0.ɵɵadvance(1);
|
|
6815
|
-
i0.ɵɵproperty("ngIf",
|
|
6791
|
+
i0.ɵɵproperty("ngIf", item_r15.type == "link" || item_r15.type == "applicationlink");
|
|
6816
6792
|
} }
|
|
6817
|
-
function
|
|
6818
|
-
const
|
|
6819
|
-
i0.ɵɵelementStart(0, "div",
|
|
6820
|
-
i0.ɵɵelementStart(1, "fa-icon",
|
|
6821
|
-
i0.ɵɵlistener("click", function
|
|
6793
|
+
function MenuComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
6794
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
6795
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
6796
|
+
i0.ɵɵelementStart(1, "fa-icon", 33);
|
|
6797
|
+
i0.ɵɵlistener("click", function MenuComponent_div_6_Template_fa_icon_click_1_listener() { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(); return ctx_r21.openApps(); });
|
|
6822
6798
|
i0.ɵɵpipe(2, "translate");
|
|
6823
6799
|
i0.ɵɵelementEnd();
|
|
6824
6800
|
i0.ɵɵelementEnd();
|
|
@@ -6828,434 +6804,7 @@ function MenuComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
6828
6804
|
i0.ɵɵadvance(1);
|
|
6829
6805
|
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 2, "APP.APPSTORE"));
|
|
6830
6806
|
} }
|
|
6831
|
-
function
|
|
6832
|
-
i0.ɵɵelementStart(0, "span", 58);
|
|
6833
|
-
i0.ɵɵtext(1, "@ \u00A0");
|
|
6834
|
-
i0.ɵɵelementEnd();
|
|
6835
|
-
} }
|
|
6836
|
-
function MenuComponent_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
6837
|
-
i0.ɵɵelementStart(0, "span", 58);
|
|
6838
|
-
i0.ɵɵtext(1, "# \u00A0");
|
|
6839
|
-
i0.ɵɵelementEnd();
|
|
6840
|
-
} }
|
|
6841
|
-
function MenuComponent_span_19_Template(rf, ctx) { if (rf & 1) {
|
|
6842
|
-
i0.ɵɵelement(0, "span");
|
|
6843
|
-
} }
|
|
6844
|
-
function MenuComponent_mat_icon_20_Template(rf, ctx) { if (rf & 1) {
|
|
6845
|
-
const _r41 = i0.ɵɵgetCurrentView();
|
|
6846
|
-
i0.ɵɵelementStart(0, "mat-icon", 59);
|
|
6847
|
-
i0.ɵɵlistener("click", function MenuComponent_mat_icon_20_Template_mat_icon_click_0_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r40 = i0.ɵɵnextContext(); return ctx_r40.closeSearch($event); });
|
|
6848
|
-
i0.ɵɵtext(1, " close");
|
|
6849
|
-
i0.ɵɵelementEnd();
|
|
6850
|
-
} }
|
|
6851
|
-
function MenuComponent_mat_progress_bar_27_Template(rf, ctx) { if (rf & 1) {
|
|
6852
|
-
i0.ɵɵelement(0, "mat-progress-bar", 60);
|
|
6853
|
-
} }
|
|
6854
|
-
const _c10$1 = function () { return { exact: true }; };
|
|
6855
|
-
function MenuComponent_div_29_ng_container_5_div_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6856
|
-
const _r49 = i0.ɵɵgetCurrentView();
|
|
6857
|
-
i0.ɵɵelementStart(0, "div");
|
|
6858
|
-
i0.ɵɵelementStart(1, "button", 65);
|
|
6859
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_29_ng_container_5_div_1_div_1_Template_button_mousedown_1_listener($event) { i0.ɵɵrestoreView(_r49); const item_r44 = i0.ɵɵnextContext().$implicit; const ctx_r47 = i0.ɵɵnextContext(3); return ctx_r47.selectAdimnTool(item_r44.state, $event, item_r44); });
|
|
6860
|
-
i0.ɵɵpipe(2, "softLabelsPipe");
|
|
6861
|
-
i0.ɵɵelementStart(3, "mat-icon", 66);
|
|
6862
|
-
i0.ɵɵtext(4);
|
|
6863
|
-
i0.ɵɵelementEnd();
|
|
6864
|
-
i0.ɵɵelement(5, "span", 67);
|
|
6865
|
-
i0.ɵɵpipe(6, "highLightText");
|
|
6866
|
-
i0.ɵɵpipe(7, "softLabelsPipe");
|
|
6867
|
-
i0.ɵɵelementEnd();
|
|
6868
|
-
i0.ɵɵelementEnd();
|
|
6869
|
-
} if (rf & 2) {
|
|
6870
|
-
const ctx_r50 = i0.ɵɵnextContext();
|
|
6871
|
-
const item_r44 = ctx_r50.$implicit;
|
|
6872
|
-
const i_r45 = ctx_r50.index;
|
|
6873
|
-
const ctx_r46 = i0.ɵɵnextContext(3);
|
|
6874
|
-
i0.ɵɵadvance(1);
|
|
6875
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "/", item_r44.state, "");
|
|
6876
|
-
i0.ɵɵpropertyInterpolate("matTooltip", ctx_r46.translateapplicationname(i0.ɵɵpipeBind2(2, 7, item_r44.menu, ctx_r46.softLabels)));
|
|
6877
|
-
i0.ɵɵproperty("ngClass", ctx_r46.selectedRowIndex == i_r45 ? "color-text" : "color-text1")("routerLinkActiveOptions", i0.ɵɵpureFunction0(16, _c10$1));
|
|
6878
|
-
i0.ɵɵadvance(2);
|
|
6879
|
-
i0.ɵɵproperty("ngClass", ctx_r46.selectedRowIndex == i_r45 ? "color-text" : "color-text1");
|
|
6880
|
-
i0.ɵɵadvance(1);
|
|
6881
|
-
i0.ɵɵtextInterpolate1(" ", item_r44.icon, "");
|
|
6882
|
-
i0.ɵɵadvance(1);
|
|
6883
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(6, 10, i0.ɵɵpipeBind2(7, 13, ctx_r46.translateapplicationname(item_r44.menu), ctx_r46.softLabels), ctx_r46.searchText), i0.ɵɵsanitizeHtml);
|
|
6884
|
-
} }
|
|
6885
|
-
function MenuComponent_div_29_ng_container_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6886
|
-
i0.ɵɵelementStart(0, "div");
|
|
6887
|
-
i0.ɵɵtemplate(1, MenuComponent_div_29_ng_container_5_div_1_div_1_Template, 8, 17, "div", 16);
|
|
6888
|
-
i0.ɵɵelementEnd();
|
|
6889
|
-
} if (rf & 2) {
|
|
6890
|
-
const item_r44 = ctx.$implicit;
|
|
6891
|
-
const i_r45 = ctx.index;
|
|
6892
|
-
const ctx_r43 = i0.ɵɵnextContext(3);
|
|
6893
|
-
i0.ɵɵstyleProp("background-color", ctx_r43.selectedRowIndex == i_r45 ? ctx_r43.themeBaseColor : "white");
|
|
6894
|
-
i0.ɵɵadvance(1);
|
|
6895
|
-
i0.ɵɵproperty("ngIf", item_r44.type == "link" || item_r44.type == "applicationlink");
|
|
6896
|
-
} }
|
|
6897
|
-
function MenuComponent_div_29_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
6898
|
-
i0.ɵɵelementContainerStart(0);
|
|
6899
|
-
i0.ɵɵtemplate(1, MenuComponent_div_29_ng_container_5_div_1_Template, 2, 3, "div", 64);
|
|
6900
|
-
i0.ɵɵelementContainerEnd();
|
|
6901
|
-
} if (rf & 2) {
|
|
6902
|
-
const ctx_r42 = i0.ɵɵnextContext(2);
|
|
6903
|
-
i0.ɵɵadvance(1);
|
|
6904
|
-
i0.ɵɵproperty("ngForOf", ctx_r42.items);
|
|
6905
|
-
} }
|
|
6906
|
-
function MenuComponent_div_29_Template(rf, ctx) { if (rf & 1) {
|
|
6907
|
-
i0.ɵɵelementStart(0, "div", 61);
|
|
6908
|
-
i0.ɵɵelementStart(1, "div", 62);
|
|
6909
|
-
i0.ɵɵtext(2);
|
|
6910
|
-
i0.ɵɵpipe(3, "translate");
|
|
6911
|
-
i0.ɵɵelementEnd();
|
|
6912
|
-
i0.ɵɵelementStart(4, "div", 63);
|
|
6913
|
-
i0.ɵɵtemplate(5, MenuComponent_div_29_ng_container_5_Template, 2, 1, "ng-container", 16);
|
|
6914
|
-
i0.ɵɵelementEnd();
|
|
6915
|
-
i0.ɵɵelementEnd();
|
|
6916
|
-
} if (rf & 2) {
|
|
6917
|
-
const ctx_r10 = i0.ɵɵnextContext();
|
|
6918
|
-
i0.ɵɵadvance(2);
|
|
6919
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "SHELL.APPLICATIONS"));
|
|
6920
|
-
i0.ɵɵadvance(3);
|
|
6921
|
-
i0.ɵɵproperty("ngIf", ctx_r10.items && ctx_r10.items.length > 0);
|
|
6922
|
-
} }
|
|
6923
|
-
function MenuComponent_div_30_div_1_fa_icon_4_Template(rf, ctx) { if (rf & 1) {
|
|
6924
|
-
const _r55 = i0.ɵɵgetCurrentView();
|
|
6925
|
-
i0.ɵɵelementStart(0, "fa-icon", 72);
|
|
6926
|
-
i0.ɵɵlistener("click", function MenuComponent_div_30_div_1_fa_icon_4_Template_fa_icon_click_0_listener() { i0.ɵɵrestoreView(_r55); const ctx_r54 = i0.ɵɵnextContext(3); ctx_r54.initializeWorkspaceForm(); return ctx_r54.openWorkspaceForm(); });
|
|
6927
|
-
i0.ɵɵpipe(1, "translate");
|
|
6928
|
-
i0.ɵɵelementEnd();
|
|
6929
|
-
} if (rf & 2) {
|
|
6930
|
-
i0.ɵɵnextContext(3);
|
|
6931
|
-
const _r18 = i0.ɵɵreference(38);
|
|
6932
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(1, 2, "APP.ADDDASHBOARD"));
|
|
6933
|
-
i0.ɵɵproperty("satPopoverAnchorFor", _r18);
|
|
6934
|
-
} }
|
|
6935
|
-
function MenuComponent_div_30_div_1_ng_container_6_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6936
|
-
const _r61 = i0.ɵɵgetCurrentView();
|
|
6937
|
-
i0.ɵɵelementStart(0, "div", 74, 75);
|
|
6938
|
-
i0.ɵɵelementStart(2, "button", 76);
|
|
6939
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_30_div_1_ng_container_6_div_1_Template_button_mousedown_2_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r61); const wc_r57 = restoredCtx.$implicit; const ctx_r60 = i0.ɵɵnextContext(4); return ctx_r60.selectMenu(wc_r57, $event); })("click", function MenuComponent_div_30_div_1_ng_container_6_div_1_Template_button_click_2_listener() { const restoredCtx = i0.ɵɵrestoreView(_r61); const wc_r57 = restoredCtx.$implicit; const ctx_r62 = i0.ɵɵnextContext(4); return ctx_r62.navigateToUrl(wc_r57.workspaceId); });
|
|
6940
|
-
i0.ɵɵelement(3, "span", 67);
|
|
6941
|
-
i0.ɵɵpipe(4, "highLightText");
|
|
6942
|
-
i0.ɵɵelementEnd();
|
|
6943
|
-
i0.ɵɵelementEnd();
|
|
6944
|
-
} if (rf & 2) {
|
|
6945
|
-
const wc_r57 = ctx.$implicit;
|
|
6946
|
-
const i_r58 = ctx.index;
|
|
6947
|
-
const ctx_r56 = i0.ɵɵnextContext(4);
|
|
6948
|
-
i0.ɵɵstyleProp("background-color", ctx_r56.ws == i_r58 ? ctx_r56.themeBaseColor : "white");
|
|
6949
|
-
i0.ɵɵadvance(2);
|
|
6950
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "/dashboard-management/dashboard/", wc_r57.workspaceId, "");
|
|
6951
|
-
i0.ɵɵpropertyInterpolate("matTooltip", wc_r57.workspaceName);
|
|
6952
|
-
i0.ɵɵproperty("ngClass", ctx_r56.ws == i_r58 ? "color-text" : "color-text1");
|
|
6953
|
-
i0.ɵɵadvance(1);
|
|
6954
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(4, 6, wc_r57.workspaceName, ctx_r56.searchText), i0.ɵɵsanitizeHtml);
|
|
6955
|
-
} }
|
|
6956
|
-
function MenuComponent_div_30_div_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
6957
|
-
i0.ɵɵelementContainerStart(0);
|
|
6958
|
-
i0.ɵɵtemplate(1, MenuComponent_div_30_div_1_ng_container_6_div_1_Template, 5, 9, "div", 73);
|
|
6959
|
-
i0.ɵɵelementContainerEnd();
|
|
6960
|
-
} if (rf & 2) {
|
|
6961
|
-
const ctx_r53 = i0.ɵɵnextContext(3);
|
|
6962
|
-
i0.ɵɵadvance(1);
|
|
6963
|
-
i0.ɵɵproperty("ngForOf", ctx_r53.workspaces);
|
|
6964
|
-
} }
|
|
6965
|
-
function MenuComponent_div_30_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6966
|
-
i0.ɵɵelementStart(0, "div", 69);
|
|
6967
|
-
i0.ɵɵelementStart(1, "div", 62);
|
|
6968
|
-
i0.ɵɵtext(2);
|
|
6969
|
-
i0.ɵɵpipe(3, "translate");
|
|
6970
|
-
i0.ɵɵtemplate(4, MenuComponent_div_30_div_1_fa_icon_4_Template, 2, 4, "fa-icon", 70);
|
|
6971
|
-
i0.ɵɵelementEnd();
|
|
6972
|
-
i0.ɵɵelementStart(5, "div", 71);
|
|
6973
|
-
i0.ɵɵtemplate(6, MenuComponent_div_30_div_1_ng_container_6_Template, 2, 1, "ng-container", 16);
|
|
6974
|
-
i0.ɵɵelementEnd();
|
|
6975
|
-
i0.ɵɵelementEnd();
|
|
6976
|
-
} if (rf & 2) {
|
|
6977
|
-
const ctx_r51 = i0.ɵɵnextContext(2);
|
|
6978
|
-
i0.ɵɵadvance(2);
|
|
6979
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 3, "SHELL.DASHBOARDS"), " ");
|
|
6980
|
-
i0.ɵɵadvance(2);
|
|
6981
|
-
i0.ɵɵproperty("ngIf", ctx_r51.canAccess_feature_AddDashboard);
|
|
6982
|
-
i0.ɵɵadvance(2);
|
|
6983
|
-
i0.ɵɵproperty("ngIf", ctx_r51.workspaces && ctx_r51.workspaces.length > 0);
|
|
6984
|
-
} }
|
|
6985
|
-
function MenuComponent_div_30_Template(rf, ctx) { if (rf & 1) {
|
|
6986
|
-
i0.ɵɵelementStart(0, "div", 68);
|
|
6987
|
-
i0.ɵɵtemplate(1, MenuComponent_div_30_div_1_Template, 7, 5, "div", 27);
|
|
6988
|
-
i0.ɵɵelementEnd();
|
|
6989
|
-
} if (rf & 2) {
|
|
6990
|
-
const ctx_r11 = i0.ɵɵnextContext();
|
|
6991
|
-
i0.ɵɵadvance(1);
|
|
6992
|
-
i0.ɵɵproperty("ngIf", ctx_r11.workspaces && ctx_r11.workspaces.length > 0);
|
|
6993
|
-
} }
|
|
6994
|
-
function MenuComponent_div_31_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
6995
|
-
const _r67 = i0.ɵɵgetCurrentView();
|
|
6996
|
-
i0.ɵɵelementStart(0, "div");
|
|
6997
|
-
i0.ɵɵelementStart(1, "button", 79);
|
|
6998
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_31_div_5_Template_button_mousedown_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r67); const widget_r64 = restoredCtx.$implicit; const ctx_r66 = i0.ɵɵnextContext(2); return ctx_r66.OnSelect(widget_r64, $event); });
|
|
6999
|
-
i0.ɵɵpipe(2, "softLabelsPipe");
|
|
7000
|
-
i0.ɵɵelement(3, "span", 67);
|
|
7001
|
-
i0.ɵɵpipe(4, "highLightText");
|
|
7002
|
-
i0.ɵɵpipe(5, "softLabelsPipe");
|
|
7003
|
-
i0.ɵɵelementEnd();
|
|
7004
|
-
i0.ɵɵelementEnd();
|
|
7005
|
-
} if (rf & 2) {
|
|
7006
|
-
const widget_r64 = ctx.$implicit;
|
|
7007
|
-
const i_r65 = ctx.index;
|
|
7008
|
-
const ctx_r63 = i0.ɵɵnextContext(2);
|
|
7009
|
-
i0.ɵɵstyleProp("background-color", ctx_r63.wd == i_r65 ? ctx_r63.themeBaseColor : "white");
|
|
7010
|
-
i0.ɵɵadvance(1);
|
|
7011
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "/dashboard-management/widgets/", widget_r64.widgetId, "");
|
|
7012
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind2(2, 7, widget_r64.widgetName, ctx_r63.softLabels));
|
|
7013
|
-
i0.ɵɵproperty("routerLinkActiveOptions", i0.ɵɵpureFunction0(16, _c10$1))("ngClass", ctx_r63.wd == i_r65 ? "color-text" : "color-text1");
|
|
7014
|
-
i0.ɵɵadvance(2);
|
|
7015
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(4, 10, i0.ɵɵpipeBind2(5, 13, widget_r64.widgetName, ctx_r63.softLabels), ctx_r63.searchText), i0.ɵɵsanitizeHtml);
|
|
7016
|
-
} }
|
|
7017
|
-
function MenuComponent_div_31_Template(rf, ctx) { if (rf & 1) {
|
|
7018
|
-
i0.ɵɵelementStart(0, "div", 77);
|
|
7019
|
-
i0.ɵɵelementStart(1, "div", 62);
|
|
7020
|
-
i0.ɵɵtext(2);
|
|
7021
|
-
i0.ɵɵpipe(3, "translate");
|
|
7022
|
-
i0.ɵɵelementEnd();
|
|
7023
|
-
i0.ɵɵelementStart(4, "div", 78);
|
|
7024
|
-
i0.ɵɵtemplate(5, MenuComponent_div_31_div_5_Template, 6, 17, "div", 64);
|
|
7025
|
-
i0.ɵɵelementEnd();
|
|
7026
|
-
i0.ɵɵelementEnd();
|
|
7027
|
-
} if (rf & 2) {
|
|
7028
|
-
const ctx_r12 = i0.ɵɵnextContext();
|
|
7029
|
-
i0.ɵɵadvance(2);
|
|
7030
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "SHELL.FAVOURITEAPPS"));
|
|
7031
|
-
i0.ɵɵadvance(3);
|
|
7032
|
-
i0.ɵɵproperty("ngForOf", ctx_r12.widgets);
|
|
7033
|
-
} }
|
|
7034
|
-
function MenuComponent_div_32_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
7035
|
-
const _r72 = i0.ɵɵgetCurrentView();
|
|
7036
|
-
i0.ɵɵelementStart(0, "div");
|
|
7037
|
-
i0.ɵɵelementStart(1, "button", 81);
|
|
7038
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_32_div_4_Template_button_mousedown_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r72); const project_r69 = restoredCtx.$implicit; const ctx_r71 = i0.ɵɵnextContext(2); return ctx_r71.onProjectSelect(project_r69, $event); });
|
|
7039
|
-
i0.ɵɵpipe(2, "softLabelsPipe");
|
|
7040
|
-
i0.ɵɵelement(3, "span", 67);
|
|
7041
|
-
i0.ɵɵpipe(4, "highLightText");
|
|
7042
|
-
i0.ɵɵpipe(5, "softLabelsPipe");
|
|
7043
|
-
i0.ɵɵelementEnd();
|
|
7044
|
-
i0.ɵɵelementEnd();
|
|
7045
|
-
} if (rf & 2) {
|
|
7046
|
-
const project_r69 = ctx.$implicit;
|
|
7047
|
-
const i_r70 = ctx.index;
|
|
7048
|
-
const ctx_r68 = i0.ɵɵnextContext(2);
|
|
7049
|
-
i0.ɵɵstyleProp("background-color", ctx_r68.projectIndex == i_r70 ? ctx_r68.themeBaseColor : "white");
|
|
7050
|
-
i0.ɵɵadvance(1);
|
|
7051
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind2(2, 6, project_r69.itemName, ctx_r68.softLabels));
|
|
7052
|
-
i0.ɵɵproperty("routerLinkActiveOptions", i0.ɵɵpureFunction0(15, _c10$1))("ngClass", ctx_r68.projectIndex == i_r70 ? "color-text" : "color-text1");
|
|
7053
|
-
i0.ɵɵadvance(2);
|
|
7054
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(4, 9, i0.ɵɵpipeBind2(5, 12, project_r69.itemName, ctx_r68.softLabels), ctx_r68.searchText), i0.ɵɵsanitizeHtml);
|
|
7055
|
-
} }
|
|
7056
|
-
function MenuComponent_div_32_Template(rf, ctx) { if (rf & 1) {
|
|
7057
|
-
i0.ɵɵelementStart(0, "div", 69);
|
|
7058
|
-
i0.ɵɵelementStart(1, "div", 62);
|
|
7059
|
-
i0.ɵɵtext(2, "Projects");
|
|
7060
|
-
i0.ɵɵelementEnd();
|
|
7061
|
-
i0.ɵɵelementStart(3, "div", 80);
|
|
7062
|
-
i0.ɵɵtemplate(4, MenuComponent_div_32_div_4_Template, 6, 16, "div", 64);
|
|
7063
|
-
i0.ɵɵelementEnd();
|
|
7064
|
-
i0.ɵɵelementEnd();
|
|
7065
|
-
} if (rf & 2) {
|
|
7066
|
-
const ctx_r13 = i0.ɵɵnextContext();
|
|
7067
|
-
i0.ɵɵadvance(4);
|
|
7068
|
-
i0.ɵɵproperty("ngForOf", ctx_r13.projectList);
|
|
7069
|
-
} }
|
|
7070
|
-
function MenuComponent_div_33_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
7071
|
-
i0.ɵɵelementStart(0, "div", 62);
|
|
7072
|
-
i0.ɵɵtext(1);
|
|
7073
|
-
i0.ɵɵpipe(2, "translate");
|
|
7074
|
-
i0.ɵɵelementEnd();
|
|
7075
|
-
} if (rf & 2) {
|
|
7076
|
-
i0.ɵɵadvance(1);
|
|
7077
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "SHELL.WIBUG"));
|
|
7078
|
-
} }
|
|
7079
|
-
function MenuComponent_div_33_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
7080
|
-
i0.ɵɵelementStart(0, "div", 62);
|
|
7081
|
-
i0.ɵɵtext(1);
|
|
7082
|
-
i0.ɵɵpipe(2, "translate");
|
|
7083
|
-
i0.ɵɵelementEnd();
|
|
7084
|
-
} if (rf & 2) {
|
|
7085
|
-
i0.ɵɵadvance(1);
|
|
7086
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "SHELL.WI"));
|
|
7087
|
-
} }
|
|
7088
|
-
function MenuComponent_div_33_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
7089
|
-
const _r79 = i0.ɵɵgetCurrentView();
|
|
7090
|
-
i0.ɵɵelementStart(0, "div");
|
|
7091
|
-
i0.ɵɵelementStart(1, "button", 81);
|
|
7092
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_33_div_4_Template_button_mousedown_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r79); const userStory_r76 = restoredCtx.$implicit; const ctx_r78 = i0.ɵɵnextContext(2); return ctx_r78.OnUserStorySelect(userStory_r76, $event); });
|
|
7093
|
-
i0.ɵɵpipe(2, "softLabelsPipe");
|
|
7094
|
-
i0.ɵɵelement(3, "span", 67);
|
|
7095
|
-
i0.ɵɵpipe(4, "highLightText");
|
|
7096
|
-
i0.ɵɵpipe(5, "softLabelsPipe");
|
|
7097
|
-
i0.ɵɵelementEnd();
|
|
7098
|
-
i0.ɵɵelementEnd();
|
|
7099
|
-
} if (rf & 2) {
|
|
7100
|
-
const userStory_r76 = ctx.$implicit;
|
|
7101
|
-
const i_r77 = ctx.index;
|
|
7102
|
-
const ctx_r75 = i0.ɵɵnextContext(2);
|
|
7103
|
-
i0.ɵɵstyleProp("background-color", ctx_r75.users == i_r77 ? ctx_r75.themeBaseColor : "white");
|
|
7104
|
-
i0.ɵɵadvance(1);
|
|
7105
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind2(2, 6, userStory_r76.itemName, ctx_r75.softLabels));
|
|
7106
|
-
i0.ɵɵproperty("routerLinkActiveOptions", i0.ɵɵpureFunction0(15, _c10$1))("ngClass", ctx_r75.users == i_r77 ? "color-text" : "color-text1");
|
|
7107
|
-
i0.ɵɵadvance(2);
|
|
7108
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(4, 9, i0.ɵɵpipeBind2(5, 12, userStory_r76.itemName, ctx_r75.softLabels), ctx_r75.searchText), i0.ɵɵsanitizeHtml);
|
|
7109
|
-
} }
|
|
7110
|
-
function MenuComponent_div_33_Template(rf, ctx) { if (rf & 1) {
|
|
7111
|
-
i0.ɵɵelementStart(0, "div", 69);
|
|
7112
|
-
i0.ɵɵtemplate(1, MenuComponent_div_33_div_1_Template, 3, 3, "div", 82);
|
|
7113
|
-
i0.ɵɵtemplate(2, MenuComponent_div_33_div_2_Template, 3, 3, "div", 82);
|
|
7114
|
-
i0.ɵɵelementStart(3, "div", 83);
|
|
7115
|
-
i0.ɵɵtemplate(4, MenuComponent_div_33_div_4_Template, 6, 16, "div", 64);
|
|
7116
|
-
i0.ɵɵelementEnd();
|
|
7117
|
-
i0.ɵɵelementEnd();
|
|
7118
|
-
} if (rf & 2) {
|
|
7119
|
-
const ctx_r14 = i0.ɵɵnextContext();
|
|
7120
|
-
i0.ɵɵadvance(1);
|
|
7121
|
-
i0.ɵɵproperty("ngIf", ctx_r14.isEnableBugBoard);
|
|
7122
|
-
i0.ɵɵadvance(1);
|
|
7123
|
-
i0.ɵɵproperty("ngIf", !ctx_r14.isEnableBugBoard);
|
|
7124
|
-
i0.ɵɵadvance(2);
|
|
7125
|
-
i0.ɵɵproperty("ngForOf", ctx_r14.userStorySearchList);
|
|
7126
|
-
} }
|
|
7127
|
-
function MenuComponent_div_34_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
7128
|
-
const _r84 = i0.ɵɵgetCurrentView();
|
|
7129
|
-
i0.ɵɵelementStart(0, "div");
|
|
7130
|
-
i0.ɵɵelementStart(1, "button", 81);
|
|
7131
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_34_div_5_Template_button_mousedown_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r84); const goal_r81 = restoredCtx.$implicit; const ctx_r83 = i0.ɵɵnextContext(2); return ctx_r83.OnGoalSelect(goal_r81, $event); });
|
|
7132
|
-
i0.ɵɵpipe(2, "softLabelsPipe");
|
|
7133
|
-
i0.ɵɵelement(3, "span", 67);
|
|
7134
|
-
i0.ɵɵpipe(4, "highLightText");
|
|
7135
|
-
i0.ɵɵpipe(5, "softLabelsPipe");
|
|
7136
|
-
i0.ɵɵelementEnd();
|
|
7137
|
-
i0.ɵɵelementEnd();
|
|
7138
|
-
} if (rf & 2) {
|
|
7139
|
-
const goal_r81 = ctx.$implicit;
|
|
7140
|
-
const i_r82 = ctx.index;
|
|
7141
|
-
const ctx_r80 = i0.ɵɵnextContext(2);
|
|
7142
|
-
i0.ɵɵstyleProp("background-color", ctx_r80.goalIndex == i_r82 ? ctx_r80.themeBaseColor : "white");
|
|
7143
|
-
i0.ɵɵadvance(1);
|
|
7144
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind2(2, 6, goal_r81.itemName, ctx_r80.softLabels));
|
|
7145
|
-
i0.ɵɵproperty("routerLinkActiveOptions", i0.ɵɵpureFunction0(15, _c10$1))("ngClass", ctx_r80.goalIndex == i_r82 ? "color-text" : "color-text1");
|
|
7146
|
-
i0.ɵɵadvance(2);
|
|
7147
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(4, 9, i0.ɵɵpipeBind2(5, 12, goal_r81.itemName, ctx_r80.softLabels), ctx_r80.searchText), i0.ɵɵsanitizeHtml);
|
|
7148
|
-
} }
|
|
7149
|
-
function MenuComponent_div_34_Template(rf, ctx) { if (rf & 1) {
|
|
7150
|
-
i0.ɵɵelementStart(0, "div", 69);
|
|
7151
|
-
i0.ɵɵelementStart(1, "div", 62);
|
|
7152
|
-
i0.ɵɵtext(2);
|
|
7153
|
-
i0.ɵɵpipe(3, "translate");
|
|
7154
|
-
i0.ɵɵelementEnd();
|
|
7155
|
-
i0.ɵɵelementStart(4, "div", 84);
|
|
7156
|
-
i0.ɵɵtemplate(5, MenuComponent_div_34_div_5_Template, 6, 16, "div", 64);
|
|
7157
|
-
i0.ɵɵelementEnd();
|
|
7158
|
-
i0.ɵɵelementEnd();
|
|
7159
|
-
} if (rf & 2) {
|
|
7160
|
-
const ctx_r15 = i0.ɵɵnextContext();
|
|
7161
|
-
i0.ɵɵadvance(2);
|
|
7162
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "SHELL.GOALSPRINT"));
|
|
7163
|
-
i0.ɵɵadvance(3);
|
|
7164
|
-
i0.ɵɵproperty("ngForOf", ctx_r15.goalSearchList);
|
|
7165
|
-
} }
|
|
7166
|
-
function MenuComponent_div_35_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
7167
|
-
const _r90 = i0.ɵɵgetCurrentView();
|
|
7168
|
-
i0.ɵɵelementStart(0, "div", 87, 75);
|
|
7169
|
-
i0.ɵɵelementStart(2, "button", 88);
|
|
7170
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_35_div_4_Template_button_mousedown_2_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r90); const employee_r86 = restoredCtx.$implicit; const ctx_r89 = i0.ɵɵnextContext(2); return ctx_r89.selectEmployee(employee_r86, $event); });
|
|
7171
|
-
i0.ɵɵelementStart(3, "div", 89);
|
|
7172
|
-
i0.ɵɵelementStart(4, "app-avatar", 90);
|
|
7173
|
-
i0.ɵɵlistener("click", function MenuComponent_div_35_div_4_Template_app_avatar_click_4_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r90); const employee_r86 = restoredCtx.$implicit; const ctx_r91 = i0.ɵɵnextContext(2); ctx_r91.profilePage(employee_r86.userId); return $event.stopPropagation(); });
|
|
7174
|
-
i0.ɵɵpipe(5, "removeSpecialCharacters");
|
|
7175
|
-
i0.ɵɵpipe(6, "fetchSizedAndCachedImage");
|
|
7176
|
-
i0.ɵɵelementEnd();
|
|
7177
|
-
i0.ɵɵelementStart(7, "div", 91);
|
|
7178
|
-
i0.ɵɵelement(8, "span", 67);
|
|
7179
|
-
i0.ɵɵpipe(9, "highLightText");
|
|
7180
|
-
i0.ɵɵelementEnd();
|
|
7181
|
-
i0.ɵɵelementEnd();
|
|
7182
|
-
i0.ɵɵelementEnd();
|
|
7183
|
-
i0.ɵɵelementEnd();
|
|
7184
|
-
} if (rf & 2) {
|
|
7185
|
-
const employee_r86 = ctx.$implicit;
|
|
7186
|
-
const i_r87 = ctx.index;
|
|
7187
|
-
const ctx_r85 = i0.ɵɵnextContext(2);
|
|
7188
|
-
i0.ɵɵstyleProp("background-color", ctx_r85.selectedEmployeeIndex == i_r87 ? ctx_r85.themeBaseColor : "white");
|
|
7189
|
-
i0.ɵɵadvance(2);
|
|
7190
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "/dashboard/profile/", employee_r86.itemId, "/overview");
|
|
7191
|
-
i0.ɵɵpropertyInterpolate("matTooltip", employee_r86.itemName);
|
|
7192
|
-
i0.ɵɵproperty("ngClass", ctx_r85.selectedEmployeeIndex == i_r87 ? "color-text" : "color-text1");
|
|
7193
|
-
i0.ɵɵadvance(2);
|
|
7194
|
-
i0.ɵɵpropertyInterpolate("matTooltip", employee_r86.itemName);
|
|
7195
|
-
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(5, 10, employee_r86.itemName))("src", i0.ɵɵpipeBind3(6, 12, employee_r86.profileImage, "20", ""))("isRound", true);
|
|
7196
|
-
i0.ɵɵadvance(4);
|
|
7197
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(9, 16, employee_r86.itemName, ctx_r85.searchText), i0.ɵɵsanitizeHtml);
|
|
7198
|
-
} }
|
|
7199
|
-
function MenuComponent_div_35_Template(rf, ctx) { if (rf & 1) {
|
|
7200
|
-
i0.ɵɵelementStart(0, "div", 77);
|
|
7201
|
-
i0.ɵɵelementStart(1, "div", 62);
|
|
7202
|
-
i0.ɵɵtext(2, "Employees");
|
|
7203
|
-
i0.ɵɵelementEnd();
|
|
7204
|
-
i0.ɵɵelementStart(3, "div", 85);
|
|
7205
|
-
i0.ɵɵtemplate(4, MenuComponent_div_35_div_4_Template, 10, 19, "div", 86);
|
|
7206
|
-
i0.ɵɵelementEnd();
|
|
7207
|
-
i0.ɵɵelementEnd();
|
|
7208
|
-
} if (rf & 2) {
|
|
7209
|
-
const ctx_r16 = i0.ɵɵnextContext();
|
|
7210
|
-
i0.ɵɵadvance(4);
|
|
7211
|
-
i0.ɵɵproperty("ngForOf", ctx_r16.employeeList);
|
|
7212
|
-
} }
|
|
7213
|
-
function MenuComponent_div_36_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
7214
|
-
const _r96 = i0.ɵɵgetCurrentView();
|
|
7215
|
-
i0.ɵɵelementStart(0, "div");
|
|
7216
|
-
i0.ɵɵelementStart(1, "button", 93);
|
|
7217
|
-
i0.ɵɵlistener("mousedown", function MenuComponent_div_36_div_5_Template_button_mousedown_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r96); const search_r93 = restoredCtx.$implicit; const ctx_r95 = i0.ɵɵnextContext(2); ctx_r95.searchText = search_r93.recentSearch; return ctx_r95.SearchRecentItem(search_r93, $event); });
|
|
7218
|
-
i0.ɵɵpipe(2, "softLabelsPipe");
|
|
7219
|
-
i0.ɵɵpipe(3, "timeago");
|
|
7220
|
-
i0.ɵɵelement(4, "span", 67);
|
|
7221
|
-
i0.ɵɵpipe(5, "highLightText");
|
|
7222
|
-
i0.ɵɵpipe(6, "softLabelsPipe");
|
|
7223
|
-
i0.ɵɵtext(7);
|
|
7224
|
-
i0.ɵɵpipe(8, "timeago");
|
|
7225
|
-
i0.ɵɵelementEnd();
|
|
7226
|
-
i0.ɵɵelementEnd();
|
|
7227
|
-
} if (rf & 2) {
|
|
7228
|
-
const search_r93 = ctx.$implicit;
|
|
7229
|
-
const i_r94 = ctx.index;
|
|
7230
|
-
const ctx_r92 = i0.ɵɵnextContext(2);
|
|
7231
|
-
i0.ɵɵstyleProp("background-color", ctx_r92.rs == i_r94 ? ctx_r92.themeBaseColor : "white");
|
|
7232
|
-
i0.ɵɵadvance(1);
|
|
7233
|
-
i0.ɵɵpropertyInterpolate2("matTooltip", "", i0.ɵɵpipeBind2(2, 7, search_r93.recentSearch, ctx_r92.softLabels), " \n (", i0.ɵɵpipeBind1(3, 10, ctx_r92.convertToLocalTime(search_r93.createdDateTime)), ")");
|
|
7234
|
-
i0.ɵɵproperty("ngClass", ctx_r92.rs == i_r94 ? "color-text" : "color-text1");
|
|
7235
|
-
i0.ɵɵadvance(3);
|
|
7236
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(5, 12, i0.ɵɵpipeBind2(6, 15, search_r93.recentSearch, ctx_r92.softLabels), ctx_r92.searchText), i0.ɵɵsanitizeHtml);
|
|
7237
|
-
i0.ɵɵadvance(3);
|
|
7238
|
-
i0.ɵɵtextInterpolate1(" (", i0.ɵɵpipeBind1(8, 18, ctx_r92.convertToLocalTime(search_r93.createdDateTime)), ") ");
|
|
7239
|
-
} }
|
|
7240
|
-
function MenuComponent_div_36_Template(rf, ctx) { if (rf & 1) {
|
|
7241
|
-
i0.ɵɵelementStart(0, "div", 77);
|
|
7242
|
-
i0.ɵɵelementStart(1, "div", 62);
|
|
7243
|
-
i0.ɵɵtext(2);
|
|
7244
|
-
i0.ɵɵpipe(3, "translate");
|
|
7245
|
-
i0.ɵɵelementEnd();
|
|
7246
|
-
i0.ɵɵelementStart(4, "div", 92);
|
|
7247
|
-
i0.ɵɵtemplate(5, MenuComponent_div_36_div_5_Template, 9, 20, "div", 64);
|
|
7248
|
-
i0.ɵɵpipe(6, "slice");
|
|
7249
|
-
i0.ɵɵelementEnd();
|
|
7250
|
-
i0.ɵɵelementEnd();
|
|
7251
|
-
} if (rf & 2) {
|
|
7252
|
-
const ctx_r17 = i0.ɵɵnextContext();
|
|
7253
|
-
i0.ɵɵadvance(2);
|
|
7254
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "SHELL.RECENTSEARCHS"));
|
|
7255
|
-
i0.ɵɵadvance(3);
|
|
7256
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind3(6, 4, ctx_r17.recentSearches, 0, 9));
|
|
7257
|
-
} }
|
|
7258
|
-
function MenuComponent_mat_error_50_Template(rf, ctx) { if (rf & 1) {
|
|
6807
|
+
function MenuComponent_mat_error_20_Template(rf, ctx) { if (rf & 1) {
|
|
7259
6808
|
i0.ɵɵelementStart(0, "mat-error");
|
|
7260
6809
|
i0.ɵɵtext(1);
|
|
7261
6810
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -7264,7 +6813,7 @@ function MenuComponent_mat_error_50_Template(rf, ctx) { if (rf & 1) {
|
|
|
7264
6813
|
i0.ɵɵadvance(1);
|
|
7265
6814
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.DASHBOARDNAMEREQUIRED"), " ");
|
|
7266
6815
|
} }
|
|
7267
|
-
function
|
|
6816
|
+
function MenuComponent_mat_error_21_Template(rf, ctx) { if (rf & 1) {
|
|
7268
6817
|
i0.ɵɵelementStart(0, "mat-error");
|
|
7269
6818
|
i0.ɵɵtext(1);
|
|
7270
6819
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -7273,7 +6822,7 @@ function MenuComponent_mat_error_51_Template(rf, ctx) { if (rf & 1) {
|
|
|
7273
6822
|
i0.ɵɵadvance(1);
|
|
7274
6823
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.DASHBOARDNAMELENGTHEXCEED"), " ");
|
|
7275
6824
|
} }
|
|
7276
|
-
function
|
|
6825
|
+
function MenuComponent_mat_error_25_Template(rf, ctx) { if (rf & 1) {
|
|
7277
6826
|
i0.ɵɵelementStart(0, "mat-error");
|
|
7278
6827
|
i0.ɵɵtext(1);
|
|
7279
6828
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -7282,19 +6831,19 @@ function MenuComponent_mat_error_55_Template(rf, ctx) { if (rf & 1) {
|
|
|
7282
6831
|
i0.ɵɵadvance(1);
|
|
7283
6832
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.CUSTOMAPPDESCRIPTIONMAXLENGTHERROR"), " ");
|
|
7284
6833
|
} }
|
|
7285
|
-
function
|
|
7286
|
-
const
|
|
7287
|
-
i0.ɵɵelementStart(0, "mat-option",
|
|
7288
|
-
i0.ɵɵlistener("click", function
|
|
6834
|
+
function MenuComponent_mat_option_33_Template(rf, ctx) { if (rf & 1) {
|
|
6835
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
6836
|
+
i0.ɵɵelementStart(0, "mat-option", 19, 20);
|
|
6837
|
+
i0.ɵɵlistener("click", function MenuComponent_mat_option_33_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r26); const _r24 = i0.ɵɵreference(1); const ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.toggleRolesPerOne(_r24.value); });
|
|
7289
6838
|
i0.ɵɵtext(2);
|
|
7290
6839
|
i0.ɵɵelementEnd();
|
|
7291
6840
|
} if (rf & 2) {
|
|
7292
|
-
const
|
|
7293
|
-
i0.ɵɵproperty("value",
|
|
6841
|
+
const roles_r23 = ctx.$implicit;
|
|
6842
|
+
i0.ɵɵproperty("value", roles_r23.roleId);
|
|
7294
6843
|
i0.ɵɵadvance(2);
|
|
7295
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
6844
|
+
i0.ɵɵtextInterpolate1(" ", roles_r23.roleName, " ");
|
|
7296
6845
|
} }
|
|
7297
|
-
function
|
|
6846
|
+
function MenuComponent_mat_error_34_Template(rf, ctx) { if (rf & 1) {
|
|
7298
6847
|
i0.ɵɵelementStart(0, "mat-error");
|
|
7299
6848
|
i0.ɵɵtext(1);
|
|
7300
6849
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -7303,39 +6852,33 @@ function MenuComponent_mat_error_64_Template(rf, ctx) { if (rf & 1) {
|
|
|
7303
6852
|
i0.ɵɵadvance(1);
|
|
7304
6853
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.SELECTANYROLE"), " ");
|
|
7305
6854
|
} }
|
|
7306
|
-
function
|
|
7307
|
-
const
|
|
7308
|
-
i0.ɵɵelementStart(0, "mat-option",
|
|
7309
|
-
i0.ɵɵlistener("click", function
|
|
6855
|
+
function MenuComponent_mat_option_42_Template(rf, ctx) { if (rf & 1) {
|
|
6856
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
6857
|
+
i0.ɵɵelementStart(0, "mat-option", 19, 23);
|
|
6858
|
+
i0.ɵɵlistener("click", function MenuComponent_mat_option_42_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r30); const ctx_r29 = i0.ɵɵnextContext(); return ctx_r29.toggleEditRolesPerOne(); });
|
|
7310
6859
|
i0.ɵɵtext(2);
|
|
7311
6860
|
i0.ɵɵelementEnd();
|
|
7312
6861
|
} if (rf & 2) {
|
|
7313
|
-
const
|
|
7314
|
-
i0.ɵɵproperty("value",
|
|
6862
|
+
const role_r27 = ctx.$implicit;
|
|
6863
|
+
i0.ɵɵproperty("value", role_r27.roleId);
|
|
7315
6864
|
i0.ɵɵadvance(2);
|
|
7316
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
6865
|
+
i0.ɵɵtextInterpolate1(" ", role_r27.roleName, " ");
|
|
7317
6866
|
} }
|
|
7318
|
-
function
|
|
7319
|
-
const
|
|
7320
|
-
i0.ɵɵelementStart(0, "mat-option",
|
|
7321
|
-
i0.ɵɵlistener("click", function
|
|
6867
|
+
function MenuComponent_mat_option_50_Template(rf, ctx) { if (rf & 1) {
|
|
6868
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
6869
|
+
i0.ɵɵelementStart(0, "mat-option", 19, 25);
|
|
6870
|
+
i0.ɵɵlistener("click", function MenuComponent_mat_option_50_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(); return ctx_r33.toggleDeleteRolesPerOne(); });
|
|
7322
6871
|
i0.ɵɵtext(2);
|
|
7323
6872
|
i0.ɵɵelementEnd();
|
|
7324
6873
|
} if (rf & 2) {
|
|
7325
|
-
const
|
|
7326
|
-
i0.ɵɵproperty("value",
|
|
6874
|
+
const role_r31 = ctx.$implicit;
|
|
6875
|
+
i0.ɵɵproperty("value", role_r31.roleId);
|
|
7327
6876
|
i0.ɵɵadvance(2);
|
|
7328
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
7329
|
-
} }
|
|
7330
|
-
function MenuComponent_mat_progress_bar_83_Template(rf, ctx) { if (rf & 1) {
|
|
7331
|
-
i0.ɵɵelement(0, "mat-progress-bar", 60);
|
|
6877
|
+
i0.ɵɵtextInterpolate1(" ", role_r31.roleName, " ");
|
|
7332
6878
|
} }
|
|
7333
|
-
function
|
|
7334
|
-
i0.ɵɵelement(0, "mat-
|
|
7335
|
-
} if (rf & 2) {
|
|
7336
|
-
i0.ɵɵproperty("diameter", 100);
|
|
6879
|
+
function MenuComponent_mat_progress_bar_53_Template(rf, ctx) { if (rf & 1) {
|
|
6880
|
+
i0.ɵɵelement(0, "mat-progress-bar", 34);
|
|
7337
6881
|
} }
|
|
7338
|
-
const _c11 = function (a0, a1) { return { "d-block": a0, "d-none": a1 }; };
|
|
7339
6882
|
/** @dynamic */
|
|
7340
6883
|
class MenuComponent extends CustomAppBaseComponent {
|
|
7341
6884
|
constructor(store, cookieService, routes, toastr, translateService, authenticationService, route, dialog, rss, location, themeService, actionUpdates$, cdRef, window, googleAnalyticsService, commonService) {
|
|
@@ -7413,7 +6956,10 @@ class MenuComponent extends CustomAppBaseComponent {
|
|
|
7413
6956
|
var companySettingsModel = JSON.parse(localStorage.getItem(LocalStorageProperties.CompanySettings));
|
|
7414
6957
|
this.companyMainLogo = companySettingsModel.find(x => x.key.toLowerCase() == "mainlogo") != null ? companySettingsModel.find(x => x.key.toLowerCase() == "mainlogo").value : this.companyMainLogo;
|
|
7415
6958
|
this.companyMiniLogo = companySettingsModel.find(x => x.key.toLowerCase() == "minilogo") != null ? companySettingsModel.find(x => x.key.toLowerCase() == "minilogo").value : this.companyMiniLogo;
|
|
7416
|
-
document.getElementById("shortcut-fav-icon")
|
|
6959
|
+
const favicon = document.getElementById("shortcut-fav-icon");
|
|
6960
|
+
if (favicon) {
|
|
6961
|
+
favicon.setAttribute("href", this.themeModel.companyMiniLogo);
|
|
6962
|
+
}
|
|
7417
6963
|
this.themeBaseColor = localStorage.getItem('themeColor');
|
|
7418
6964
|
// // this.themeModel = this.cookieService.check('CompanyTheme') ? JSON.parse(this.cookieService.get("CompanyTheme")) : null;
|
|
7419
6965
|
// // if (this.themeModel && this.themeModel.companyThemeId !== "00000000-0000-0000-0000-000000000000") {
|
|
@@ -9695,10 +9241,10 @@ class MenuComponent extends CustomAppBaseComponent {
|
|
|
9695
9241
|
}
|
|
9696
9242
|
MenuComponent.ɵfac = function MenuComponent_Factory(t) { return new (t || MenuComponent)(i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i6.ToastrService), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(AuthenticationService), i0.ɵɵdirectiveInject(i2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(RecentSearchService), i0.ɵɵdirectiveInject(i10.Location), i0.ɵɵdirectiveInject(ThemeService), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(WINDOW), i0.ɵɵdirectiveInject(GoogleAnalyticsService), i0.ɵɵdirectiveInject(CommonService)); };
|
|
9697
9243
|
MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent, selectors: [["app-menu"]], viewQuery: function MenuComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9698
|
-
i0.ɵɵviewQuery(_c0$
|
|
9699
|
-
i0.ɵɵviewQuery(_c1$
|
|
9700
|
-
i0.ɵɵviewQuery(_c2$
|
|
9701
|
-
i0.ɵɵviewQuery(_c3$
|
|
9244
|
+
i0.ɵɵviewQuery(_c0$9, 5);
|
|
9245
|
+
i0.ɵɵviewQuery(_c1$2, 5);
|
|
9246
|
+
i0.ɵɵviewQuery(_c2$1, 5);
|
|
9247
|
+
i0.ɵɵviewQuery(_c3$1, 5);
|
|
9702
9248
|
i0.ɵɵviewQuery(_c4$1, 5);
|
|
9703
9249
|
i0.ɵɵviewQuery(_c5$1, 5);
|
|
9704
9250
|
i0.ɵɵviewQuery(_c6$1, 5);
|
|
@@ -9719,284 +9265,145 @@ MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent
|
|
|
9719
9265
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.openMenuPopOver = _t);
|
|
9720
9266
|
} }, hostBindings: function MenuComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
9721
9267
|
i0.ɵɵlistener("keydown.control.q", function MenuComponent_keydown_control_q_HostBindingHandler() { return ctx.keyOpenEvent(); }, false, i0.ɵɵresolveDocument)("keydown.control.m", function MenuComponent_keydown_control_m_HostBindingHandler() { return ctx.keyCloseEvent(); }, false, i0.ɵɵresolveDocument)("keydown.control.b", function MenuComponent_keydown_control_b_HostBindingHandler() { return ctx.remoteSearchByText(); }, false, i0.ɵɵresolveDocument)("keydown.control.y", function MenuComponent_keydown_control_y_HostBindingHandler() { return ctx.remoteSearchById(); }, false, i0.ɵɵresolveDocument);
|
|
9722
|
-
} }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
9723
|
-
const _r109 = i0.ɵɵgetCurrentView();
|
|
9268
|
+
} }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 61, vars: 53, consts: [["type", "submit", "mat-icon-button", "", "fxHide.gt-xs", "", "fxShow", "", 1, "visibles", 3, "matMenuTriggerFor"], [1, "newMenu"], ["yPosition", "below", 1, "filter-panel", 2, "height", "auto", 3, "click"], ["menus", "matMenu"], [4, "ngFor", "ngForOf"], ["style", "position: relative; left: 100%", "class", "store-icom mat-icon-button", 3, "ngClass", 4, "ngIf"], ["backdropClass", "backdrop-color", "hasBackdrop", "", "verticalAlign", "below", "horizontalAlign", "end", 3, "interactiveClose"], ["addWorkspace", ""], [1, "filter-data", "p-0"], [1, "text-center"], [1, "card-title-text", "mat-bg-primary", "p-05", "mb-1"], ["novalidate", "", 3, "formGroup", "submit"], [1, "card-content"], [1, "full-width"], ["matInput", "", "formControlName", "workspaceName", 3, "placeholder"], [4, "ngIf"], ["matInput", "", "formControlName", "description", "rows", "2", 3, "placeholder"], [1, "full-width", 3, "click"], ["formControlName", "selectedRoles", "multiple", "", "required", "", 3, "compareWith", "placeholder"], [3, "value", "click"], ["allSelected", ""], [3, "value", "click", 4, "ngFor", "ngForOf"], ["formControlName", "editRoleIds", "multiple", "", 3, "compareWith", "placeholder"], ["allEditSelected", ""], ["formControlName", "deleteRoleIds", "multiple", "", 3, "compareWith", "placeholder"], ["allDeleteSelected", ""], ["mat-button", "", "mat-raised-button", "", "color", "primary", "type", "button", 1, "mr-1", 3, "disabled", "click"], ["color", "primary", "mode", "indeterminate", 4, "ngIf"], ["icon", "plus", 1, "mr-05"], ["mat-button", "", "mat-raised-button", "", "type", "button", 3, "click"], ["icon", "times", 1, "mr-05"], ["mat-menu-item", "", "routerLinkActive", "item-active", 3, "routerLink", "click"], [1, "store-icom", "mat-icon-button", 2, "position", "relative", "left", "100%", 3, "ngClass"], ["icon", "store", "matTooltipClass", "tooltipClass-mat", 1, "mat-color-accent", "cursor-pointer", "theme-navbar-icon-color", 2, "color", "#09555c", "font-size", "20px !important", 3, "matTooltip", "click"], ["color", "primary", "mode", "indeterminate"]], template: function MenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9724
9269
|
i0.ɵɵelementStart(0, "button", 0);
|
|
9725
9270
|
i0.ɵɵelementStart(1, "mat-icon", 1);
|
|
9726
9271
|
i0.ɵɵtext(2, "menu");
|
|
9727
9272
|
i0.ɵɵelementEnd();
|
|
9728
9273
|
i0.ɵɵelementEnd();
|
|
9729
|
-
i0.ɵɵelementStart(3, "
|
|
9730
|
-
i0.ɵɵ
|
|
9731
|
-
i0.ɵɵ
|
|
9732
|
-
i0.ɵɵelementEnd();
|
|
9733
|
-
i0.ɵɵelementEnd();
|
|
9734
|
-
i0.ɵɵelementStart(5, "div", 4);
|
|
9735
|
-
i0.ɵɵelementStart(6, "img", 5);
|
|
9736
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_img_click_6_listener() { return ctx.getAllMenuItems(); });
|
|
9737
|
-
i0.ɵɵelementEnd();
|
|
9274
|
+
i0.ɵɵelementStart(3, "mat-menu", 2, 3);
|
|
9275
|
+
i0.ɵɵlistener("click", function MenuComponent_Template_mat_menu_click_3_listener($event) { return $event.stopPropagation(); });
|
|
9276
|
+
i0.ɵɵtemplate(5, MenuComponent_div_5_Template, 2, 1, "div", 4);
|
|
9738
9277
|
i0.ɵɵelementEnd();
|
|
9739
|
-
i0.ɵɵ
|
|
9740
|
-
i0.ɵɵ
|
|
9741
|
-
i0.ɵɵ
|
|
9742
|
-
i0.ɵɵ
|
|
9743
|
-
i0.ɵɵtemplate(10, MenuComponent_div_10_Template, 3, 4, "div", 9);
|
|
9278
|
+
i0.ɵɵtemplate(6, MenuComponent_div_6_Template, 3, 4, "div", 5);
|
|
9279
|
+
i0.ɵɵelementStart(7, "sat-popover", 6, 7);
|
|
9280
|
+
i0.ɵɵelementStart(9, "mat-card", 8);
|
|
9281
|
+
i0.ɵɵelementStart(10, "mat-card-title", 9);
|
|
9744
9282
|
i0.ɵɵelementStart(11, "div", 10);
|
|
9745
|
-
i0.ɵɵ
|
|
9746
|
-
i0.ɵɵ
|
|
9747
|
-
i0.ɵɵ
|
|
9748
|
-
i0.ɵɵ
|
|
9749
|
-
i0.ɵɵ
|
|
9750
|
-
i0.ɵɵ
|
|
9751
|
-
i0.ɵɵ
|
|
9752
|
-
i0.ɵɵelementStart(
|
|
9753
|
-
i0.ɵɵ
|
|
9754
|
-
i0.ɵɵ
|
|
9755
|
-
i0.ɵɵ
|
|
9756
|
-
i0.ɵɵ
|
|
9757
|
-
i0.ɵɵ
|
|
9758
|
-
i0.ɵɵ
|
|
9759
|
-
i0.ɵɵ
|
|
9760
|
-
i0.ɵɵ
|
|
9761
|
-
i0.ɵɵ
|
|
9762
|
-
i0.ɵɵ
|
|
9763
|
-
i0.ɵɵelementEnd();
|
|
9764
|
-
i0.ɵɵelementStart(26, "
|
|
9765
|
-
i0.ɵɵ
|
|
9766
|
-
i0.ɵɵelementStart(
|
|
9767
|
-
i0.ɵɵ
|
|
9768
|
-
i0.ɵɵ
|
|
9769
|
-
i0.ɵɵ
|
|
9770
|
-
i0.ɵɵ
|
|
9771
|
-
i0.ɵɵ
|
|
9772
|
-
i0.ɵɵ
|
|
9773
|
-
i0.ɵɵtemplate(
|
|
9774
|
-
i0.ɵɵ
|
|
9775
|
-
i0.ɵɵ
|
|
9776
|
-
i0.ɵɵ
|
|
9777
|
-
i0.ɵɵelementStart(
|
|
9778
|
-
i0.ɵɵelementStart(
|
|
9779
|
-
i0.ɵɵ
|
|
9780
|
-
i0.ɵɵ
|
|
9781
|
-
i0.ɵɵ
|
|
9782
|
-
i0.ɵɵ
|
|
9783
|
-
i0.ɵɵ
|
|
9784
|
-
i0.ɵɵ
|
|
9785
|
-
i0.ɵɵ
|
|
9786
|
-
i0.ɵɵ
|
|
9787
|
-
i0.ɵɵ
|
|
9788
|
-
i0.ɵɵelementStart(
|
|
9789
|
-
i0.ɵɵ
|
|
9283
|
+
i0.ɵɵtext(12);
|
|
9284
|
+
i0.ɵɵpipe(13, "translate");
|
|
9285
|
+
i0.ɵɵelementEnd();
|
|
9286
|
+
i0.ɵɵelementEnd();
|
|
9287
|
+
i0.ɵɵelementStart(14, "mat-card-content");
|
|
9288
|
+
i0.ɵɵelementStart(15, "form", 11);
|
|
9289
|
+
i0.ɵɵlistener("submit", function MenuComponent_Template_form_submit_15_listener() { return ctx.workspaceForm.valid && ctx.upsertWorkspace(); });
|
|
9290
|
+
i0.ɵɵelementStart(16, "div", 12);
|
|
9291
|
+
i0.ɵɵelementStart(17, "mat-form-field", 13);
|
|
9292
|
+
i0.ɵɵelement(18, "input", 14);
|
|
9293
|
+
i0.ɵɵpipe(19, "translate");
|
|
9294
|
+
i0.ɵɵtemplate(20, MenuComponent_mat_error_20_Template, 3, 3, "mat-error", 15);
|
|
9295
|
+
i0.ɵɵtemplate(21, MenuComponent_mat_error_21_Template, 3, 3, "mat-error", 15);
|
|
9296
|
+
i0.ɵɵelementEnd();
|
|
9297
|
+
i0.ɵɵelementStart(22, "mat-form-field", 13);
|
|
9298
|
+
i0.ɵɵelement(23, "textarea", 16);
|
|
9299
|
+
i0.ɵɵpipe(24, "translate");
|
|
9300
|
+
i0.ɵɵtemplate(25, MenuComponent_mat_error_25_Template, 3, 3, "mat-error", 15);
|
|
9301
|
+
i0.ɵɵelementEnd();
|
|
9302
|
+
i0.ɵɵelementStart(26, "mat-form-field", 17);
|
|
9303
|
+
i0.ɵɵlistener("click", function MenuComponent_Template_mat_form_field_click_26_listener($event) { return $event.stopPropagation(); });
|
|
9304
|
+
i0.ɵɵelementStart(27, "mat-select", 18);
|
|
9305
|
+
i0.ɵɵpipe(28, "translate");
|
|
9306
|
+
i0.ɵɵelementStart(29, "mat-option", 19, 20);
|
|
9307
|
+
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_29_listener() { return ctx.toggleAllRolesSelected(); });
|
|
9308
|
+
i0.ɵɵtext(31);
|
|
9309
|
+
i0.ɵɵpipe(32, "translate");
|
|
9310
|
+
i0.ɵɵelementEnd();
|
|
9311
|
+
i0.ɵɵtemplate(33, MenuComponent_mat_option_33_Template, 3, 2, "mat-option", 21);
|
|
9312
|
+
i0.ɵɵelementEnd();
|
|
9313
|
+
i0.ɵɵtemplate(34, MenuComponent_mat_error_34_Template, 3, 3, "mat-error", 15);
|
|
9314
|
+
i0.ɵɵelementEnd();
|
|
9315
|
+
i0.ɵɵelementStart(35, "mat-form-field", 13);
|
|
9316
|
+
i0.ɵɵelementStart(36, "mat-select", 22);
|
|
9317
|
+
i0.ɵɵpipe(37, "translate");
|
|
9318
|
+
i0.ɵɵelementStart(38, "mat-option", 19, 23);
|
|
9319
|
+
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_38_listener() { return ctx.toggleEditAllRolesSelected(); });
|
|
9320
|
+
i0.ɵɵtext(40);
|
|
9321
|
+
i0.ɵɵpipe(41, "translate");
|
|
9322
|
+
i0.ɵɵelementEnd();
|
|
9323
|
+
i0.ɵɵtemplate(42, MenuComponent_mat_option_42_Template, 3, 2, "mat-option", 21);
|
|
9324
|
+
i0.ɵɵelementEnd();
|
|
9325
|
+
i0.ɵɵelementEnd();
|
|
9326
|
+
i0.ɵɵelementStart(43, "mat-form-field", 13);
|
|
9327
|
+
i0.ɵɵelementStart(44, "mat-select", 24);
|
|
9328
|
+
i0.ɵɵpipe(45, "translate");
|
|
9329
|
+
i0.ɵɵelementStart(46, "mat-option", 19, 25);
|
|
9330
|
+
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_46_listener() { return ctx.toggleDeleteAllRolesSelected(); });
|
|
9331
|
+
i0.ɵɵtext(48);
|
|
9790
9332
|
i0.ɵɵpipe(49, "translate");
|
|
9791
|
-
i0.ɵɵtemplate(50, MenuComponent_mat_error_50_Template, 3, 3, "mat-error", 16);
|
|
9792
|
-
i0.ɵɵtemplate(51, MenuComponent_mat_error_51_Template, 3, 3, "mat-error", 16);
|
|
9793
|
-
i0.ɵɵelementEnd();
|
|
9794
|
-
i0.ɵɵelementStart(52, "mat-form-field", 35);
|
|
9795
|
-
i0.ɵɵelement(53, "textarea", 37);
|
|
9796
|
-
i0.ɵɵpipe(54, "translate");
|
|
9797
|
-
i0.ɵɵtemplate(55, MenuComponent_mat_error_55_Template, 3, 3, "mat-error", 16);
|
|
9798
|
-
i0.ɵɵelementEnd();
|
|
9799
|
-
i0.ɵɵelementStart(56, "mat-form-field", 38);
|
|
9800
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_mat_form_field_click_56_listener($event) { return $event.stopPropagation(); });
|
|
9801
|
-
i0.ɵɵelementStart(57, "mat-select", 39);
|
|
9802
|
-
i0.ɵɵpipe(58, "translate");
|
|
9803
|
-
i0.ɵɵelementStart(59, "mat-option", 40, 41);
|
|
9804
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_59_listener() { return ctx.toggleAllRolesSelected(); });
|
|
9805
|
-
i0.ɵɵtext(61);
|
|
9806
|
-
i0.ɵɵpipe(62, "translate");
|
|
9807
|
-
i0.ɵɵelementEnd();
|
|
9808
|
-
i0.ɵɵtemplate(63, MenuComponent_mat_option_63_Template, 3, 2, "mat-option", 42);
|
|
9809
9333
|
i0.ɵɵelementEnd();
|
|
9810
|
-
i0.ɵɵtemplate(
|
|
9334
|
+
i0.ɵɵtemplate(50, MenuComponent_mat_option_50_Template, 3, 2, "mat-option", 21);
|
|
9811
9335
|
i0.ɵɵelementEnd();
|
|
9812
|
-
i0.ɵɵelementStart(65, "mat-form-field", 35);
|
|
9813
|
-
i0.ɵɵelementStart(66, "mat-select", 43);
|
|
9814
|
-
i0.ɵɵpipe(67, "translate");
|
|
9815
|
-
i0.ɵɵelementStart(68, "mat-option", 40, 44);
|
|
9816
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_68_listener() { return ctx.toggleEditAllRolesSelected(); });
|
|
9817
|
-
i0.ɵɵtext(70);
|
|
9818
|
-
i0.ɵɵpipe(71, "translate");
|
|
9819
9336
|
i0.ɵɵelementEnd();
|
|
9820
|
-
i0.ɵɵtemplate(72, MenuComponent_mat_option_72_Template, 3, 2, "mat-option", 42);
|
|
9821
9337
|
i0.ɵɵelementEnd();
|
|
9338
|
+
i0.ɵɵelementStart(51, "div", 9);
|
|
9339
|
+
i0.ɵɵelementStart(52, "button", 26);
|
|
9340
|
+
i0.ɵɵlistener("click", function MenuComponent_Template_button_click_52_listener() { return ctx.upsertWorkspace(); });
|
|
9341
|
+
i0.ɵɵtemplate(53, MenuComponent_mat_progress_bar_53_Template, 1, 0, "mat-progress-bar", 27);
|
|
9342
|
+
i0.ɵɵelement(54, "fa-icon", 28);
|
|
9343
|
+
i0.ɵɵtext(55);
|
|
9344
|
+
i0.ɵɵpipe(56, "translate");
|
|
9822
9345
|
i0.ɵɵelementEnd();
|
|
9823
|
-
i0.ɵɵelementStart(
|
|
9824
|
-
i0.ɵɵ
|
|
9825
|
-
i0.ɵɵ
|
|
9826
|
-
i0.ɵɵ
|
|
9827
|
-
i0.ɵɵ
|
|
9828
|
-
i0.ɵɵtext(78);
|
|
9829
|
-
i0.ɵɵpipe(79, "translate");
|
|
9346
|
+
i0.ɵɵelementStart(57, "button", 29);
|
|
9347
|
+
i0.ɵɵlistener("click", function MenuComponent_Template_button_click_57_listener() { return ctx.closeAddWorkspaceDialog(); });
|
|
9348
|
+
i0.ɵɵelement(58, "fa-icon", 30);
|
|
9349
|
+
i0.ɵɵtext(59);
|
|
9350
|
+
i0.ɵɵpipe(60, "translate");
|
|
9830
9351
|
i0.ɵɵelementEnd();
|
|
9831
|
-
i0.ɵɵtemplate(80, MenuComponent_mat_option_80_Template, 3, 2, "mat-option", 42);
|
|
9832
9352
|
i0.ɵɵelementEnd();
|
|
9833
9353
|
i0.ɵɵelementEnd();
|
|
9834
9354
|
i0.ɵɵelementEnd();
|
|
9835
|
-
i0.ɵɵelementStart(81, "div", 31);
|
|
9836
|
-
i0.ɵɵelementStart(82, "button", 47);
|
|
9837
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_button_click_82_listener() { return ctx.upsertWorkspace(); });
|
|
9838
|
-
i0.ɵɵtemplate(83, MenuComponent_mat_progress_bar_83_Template, 1, 0, "mat-progress-bar", 22);
|
|
9839
|
-
i0.ɵɵelement(84, "fa-icon", 48);
|
|
9840
|
-
i0.ɵɵtext(85);
|
|
9841
|
-
i0.ɵɵpipe(86, "translate");
|
|
9842
|
-
i0.ɵɵelementEnd();
|
|
9843
|
-
i0.ɵɵelementStart(87, "button", 49);
|
|
9844
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_button_click_87_listener() { return ctx.closeAddWorkspaceDialog(); });
|
|
9845
|
-
i0.ɵɵelement(88, "fa-icon", 50);
|
|
9846
|
-
i0.ɵɵtext(89);
|
|
9847
|
-
i0.ɵɵpipe(90, "translate");
|
|
9848
|
-
i0.ɵɵelementEnd();
|
|
9849
|
-
i0.ɵɵelementEnd();
|
|
9850
|
-
i0.ɵɵelementEnd();
|
|
9851
|
-
i0.ɵɵelementEnd();
|
|
9852
|
-
i0.ɵɵelementEnd();
|
|
9853
|
-
i0.ɵɵelementEnd();
|
|
9854
|
-
i0.ɵɵelementStart(91, "sat-popover", 51, 52);
|
|
9855
|
-
i0.ɵɵelementStart(93, "div", 53);
|
|
9856
|
-
i0.ɵɵelementStart(94, "table");
|
|
9857
|
-
i0.ɵɵelementStart(95, "tr");
|
|
9858
|
-
i0.ɵɵelementStart(96, "td");
|
|
9859
|
-
i0.ɵɵtext(97, "Ctrl + Q: ");
|
|
9860
|
-
i0.ɵɵelementEnd();
|
|
9861
|
-
i0.ɵɵelementStart(98, "td");
|
|
9862
|
-
i0.ɵɵtext(99, "\u00A0");
|
|
9863
|
-
i0.ɵɵelementEnd();
|
|
9864
|
-
i0.ɵɵelementStart(100, "td");
|
|
9865
|
-
i0.ɵɵtext(101);
|
|
9866
|
-
i0.ɵɵpipe(102, "translate");
|
|
9867
|
-
i0.ɵɵelementEnd();
|
|
9868
|
-
i0.ɵɵelementEnd();
|
|
9869
|
-
i0.ɵɵelementStart(103, "tr");
|
|
9870
|
-
i0.ɵɵelementStart(104, "td");
|
|
9871
|
-
i0.ɵɵtext(105, "Ctrl + B: ");
|
|
9872
|
-
i0.ɵɵelementEnd();
|
|
9873
|
-
i0.ɵɵelementStart(106, "td");
|
|
9874
|
-
i0.ɵɵtext(107, "\u00A0");
|
|
9875
|
-
i0.ɵɵelementEnd();
|
|
9876
|
-
i0.ɵɵelementStart(108, "td");
|
|
9877
|
-
i0.ɵɵtext(109);
|
|
9878
|
-
i0.ɵɵpipe(110, "translate");
|
|
9879
|
-
i0.ɵɵelementEnd();
|
|
9880
|
-
i0.ɵɵelementEnd();
|
|
9881
|
-
i0.ɵɵelementStart(111, "tr");
|
|
9882
|
-
i0.ɵɵelementStart(112, "td");
|
|
9883
|
-
i0.ɵɵtext(113, "Ctrl + Y: ");
|
|
9884
|
-
i0.ɵɵelementEnd();
|
|
9885
|
-
i0.ɵɵelementStart(114, "td");
|
|
9886
|
-
i0.ɵɵtext(115, "\u00A0");
|
|
9887
|
-
i0.ɵɵelementEnd();
|
|
9888
|
-
i0.ɵɵelementStart(116, "td");
|
|
9889
|
-
i0.ɵɵtext(117);
|
|
9890
|
-
i0.ɵɵpipe(118, "translate");
|
|
9891
|
-
i0.ɵɵelementEnd();
|
|
9892
|
-
i0.ɵɵelementEnd();
|
|
9893
|
-
i0.ɵɵelementStart(119, "tr");
|
|
9894
|
-
i0.ɵɵelementStart(120, "td");
|
|
9895
|
-
i0.ɵɵtext(121, "Ctrl + M: ");
|
|
9896
|
-
i0.ɵɵelementEnd();
|
|
9897
|
-
i0.ɵɵelementStart(122, "td");
|
|
9898
|
-
i0.ɵɵtext(123, "\u00A0");
|
|
9899
|
-
i0.ɵɵelementEnd();
|
|
9900
|
-
i0.ɵɵelementStart(124, "td");
|
|
9901
|
-
i0.ɵɵtext(125);
|
|
9902
|
-
i0.ɵɵpipe(126, "translate");
|
|
9903
|
-
i0.ɵɵelementEnd();
|
|
9904
|
-
i0.ɵɵelementEnd();
|
|
9905
|
-
i0.ɵɵelementEnd();
|
|
9906
|
-
i0.ɵɵelementEnd();
|
|
9907
|
-
i0.ɵɵelementEnd();
|
|
9908
|
-
i0.ɵɵtemplate(127, MenuComponent_mat_spinner_127_Template, 1, 1, "mat-spinner", 54);
|
|
9909
9355
|
i0.ɵɵelementEnd();
|
|
9910
9356
|
i0.ɵɵelementEnd();
|
|
9911
9357
|
} if (rf & 2) {
|
|
9912
|
-
const _r0 = i0.ɵɵreference(
|
|
9913
|
-
const _r30 = i0.ɵɵreference(92);
|
|
9358
|
+
const _r0 = i0.ɵɵreference(4);
|
|
9914
9359
|
i0.ɵɵproperty("matMenuTriggerFor", _r0);
|
|
9915
|
-
i0.ɵɵadvance(
|
|
9916
|
-
i0.ɵɵpropertyInterpolate("src", ctx.companyMiniLogo, i0.ɵɵsanitizeUrl);
|
|
9917
|
-
i0.ɵɵadvance(2);
|
|
9918
|
-
i0.ɵɵpropertyInterpolate("src", ctx.companyMainLogo, i0.ɵɵsanitizeUrl);
|
|
9919
|
-
i0.ɵɵadvance(3);
|
|
9360
|
+
i0.ɵɵadvance(5);
|
|
9920
9361
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
9921
9362
|
i0.ɵɵadvance(1);
|
|
9922
9363
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_DragApps);
|
|
9923
|
-
i0.ɵɵadvance(2);
|
|
9924
|
-
i0.ɵɵproperty("ngIf", ctx.searchByText);
|
|
9925
|
-
i0.ɵɵadvance(1);
|
|
9926
|
-
i0.ɵɵproperty("ngIf", ctx.searchById);
|
|
9927
|
-
i0.ɵɵadvance(1);
|
|
9928
|
-
i0.ɵɵclassProp("hide-placeholder", ctx.searchByText || ctx.searchById);
|
|
9929
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(16, 58, "APP.STARTHEREORCLICKCONTROL+Q"));
|
|
9930
|
-
i0.ɵɵproperty("ngModel", ctx.searchText);
|
|
9931
|
-
i0.ɵɵadvance(5);
|
|
9932
|
-
i0.ɵɵproperty("ngIf", !ctx.searchText);
|
|
9933
|
-
i0.ɵɵadvance(1);
|
|
9934
|
-
i0.ɵɵproperty("ngIf", ctx.searchText);
|
|
9935
|
-
i0.ɵɵadvance(1);
|
|
9936
|
-
i0.ɵɵproperty("satPopoverAnchorFor", _r30);
|
|
9937
|
-
i0.ɵɵadvance(5);
|
|
9938
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(90, _c11, ctx.display, !ctx.display));
|
|
9939
|
-
i0.ɵɵadvance(1);
|
|
9940
|
-
i0.ɵɵproperty("ngIf", ctx.loadingSearchMenuData || ctx.recentSearchesfetchInProgress || ctx.widgetsfetchInProgress);
|
|
9941
|
-
i0.ɵɵadvance(2);
|
|
9942
|
-
i0.ɵɵproperty("ngIf", ctx.items && ctx.items.length > 0 && !(ctx.searchById || ctx.searchByText));
|
|
9943
|
-
i0.ɵɵadvance(1);
|
|
9944
|
-
i0.ɵɵproperty("ngIf", !(ctx.searchById || ctx.searchByText));
|
|
9945
|
-
i0.ɵɵadvance(1);
|
|
9946
|
-
i0.ɵɵproperty("ngIf", ctx.widgets && ctx.widgets.length > 0 && !(ctx.searchById || ctx.searchByText));
|
|
9947
|
-
i0.ɵɵadvance(1);
|
|
9948
|
-
i0.ɵɵproperty("ngIf", ctx.projectList && ctx.projectList.length > 0 && ctx.searchText && ctx.searchByText);
|
|
9949
|
-
i0.ɵɵadvance(1);
|
|
9950
|
-
i0.ɵɵproperty("ngIf", ctx.userStorySearchList && ctx.userStorySearchList.length > 0 && ctx.searchText && ctx.searchByText);
|
|
9951
|
-
i0.ɵɵadvance(1);
|
|
9952
|
-
i0.ɵɵproperty("ngIf", ctx.goalSearchList && ctx.goalSearchList.length > 0 && ctx.searchText && ctx.searchByText);
|
|
9953
|
-
i0.ɵɵadvance(1);
|
|
9954
|
-
i0.ɵɵproperty("ngIf", ctx.employeeList && ctx.employeeList.length > 0 && ctx.searchText && ctx.searchByText);
|
|
9955
|
-
i0.ɵɵadvance(1);
|
|
9956
|
-
i0.ɵɵproperty("ngIf", ctx.recentSearches && ctx.recentSearches.length > 0 && !(ctx.searchById || ctx.searchByText));
|
|
9957
9364
|
i0.ɵɵadvance(1);
|
|
9958
9365
|
i0.ɵɵproperty("interactiveClose", false);
|
|
9959
9366
|
i0.ɵɵadvance(5);
|
|
9960
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
9367
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 31, "APP.ADDDASHBOARDTITLE"), " ");
|
|
9961
9368
|
i0.ɵɵadvance(3);
|
|
9962
9369
|
i0.ɵɵproperty("formGroup", ctx.workspaceForm);
|
|
9963
9370
|
i0.ɵɵadvance(3);
|
|
9964
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(
|
|
9371
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(19, 33, "HRMANAGAMENT.NAME"), "*");
|
|
9965
9372
|
i0.ɵɵadvance(2);
|
|
9966
9373
|
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("workspaceName").hasError("required") && ctx.workspaceForm.get("workspaceName").touched);
|
|
9967
9374
|
i0.ɵɵadvance(1);
|
|
9968
9375
|
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("workspaceName").hasError("maxlength"));
|
|
9969
9376
|
i0.ɵɵadvance(2);
|
|
9970
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(
|
|
9377
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(24, 35, "COMPANYSETTINGS.DESCRIPTION"));
|
|
9971
9378
|
i0.ɵɵadvance(2);
|
|
9972
9379
|
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("description").hasError("maxlength") && ctx.workspaceForm.get("description").touched);
|
|
9973
9380
|
i0.ɵɵadvance(2);
|
|
9974
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(
|
|
9381
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(28, 37, "WIDGETS.VIEWROLES"));
|
|
9975
9382
|
i0.ɵɵproperty("compareWith", ctx.compareSelectedRolesFn);
|
|
9976
9383
|
i0.ɵɵadvance(2);
|
|
9977
9384
|
i0.ɵɵproperty("value", 0);
|
|
9978
9385
|
i0.ɵɵadvance(2);
|
|
9979
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
9386
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 39, "PERMISSIONMANAGEMENT.SELECTALL"), "");
|
|
9980
9387
|
i0.ɵɵadvance(2);
|
|
9981
9388
|
i0.ɵɵproperty("ngForOf", ctx.rolesDropDown);
|
|
9982
9389
|
i0.ɵɵadvance(1);
|
|
9983
9390
|
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("selectedRoles").hasError("required") && ctx.workspaceForm.get("selectedRoles").touched);
|
|
9984
9391
|
i0.ɵɵadvance(2);
|
|
9985
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(
|
|
9392
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(37, 41, "WIDGETS.EDITROLES"));
|
|
9986
9393
|
i0.ɵɵproperty("compareWith", ctx.compareEditSelectedRolesFn);
|
|
9987
9394
|
i0.ɵɵadvance(2);
|
|
9988
9395
|
i0.ɵɵproperty("value", 0);
|
|
9989
9396
|
i0.ɵɵadvance(2);
|
|
9990
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
9397
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 43, "PERMISSIONMANAGEMENT.SELECTALL"), "");
|
|
9991
9398
|
i0.ɵɵadvance(2);
|
|
9992
9399
|
i0.ɵɵproperty("ngForOf", ctx.rolesDropDown);
|
|
9993
9400
|
i0.ɵɵadvance(2);
|
|
9994
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(
|
|
9401
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(45, 45, "WIDGETS.DELETEROLES"));
|
|
9995
9402
|
i0.ɵɵproperty("compareWith", ctx.compareDeleteSelectedRolesFn);
|
|
9996
9403
|
i0.ɵɵadvance(2);
|
|
9997
9404
|
i0.ɵɵproperty("value", 0);
|
|
9998
9405
|
i0.ɵɵadvance(2);
|
|
9999
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
9406
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 47, "PERMISSIONMANAGEMENT.SELECTALL"), "");
|
|
10000
9407
|
i0.ɵɵadvance(2);
|
|
10001
9408
|
i0.ɵɵproperty("ngForOf", ctx.rolesDropDown);
|
|
10002
9409
|
i0.ɵɵadvance(2);
|
|
@@ -10004,22 +9411,10 @@ MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent
|
|
|
10004
9411
|
i0.ɵɵadvance(1);
|
|
10005
9412
|
i0.ɵɵproperty("ngIf", ctx.dashboardUpdateInProgress);
|
|
10006
9413
|
i0.ɵɵadvance(2);
|
|
10007
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
9414
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(56, 49, "SAVE"), " ");
|
|
10008
9415
|
i0.ɵɵadvance(4);
|
|
10009
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
10010
|
-
|
|
10011
|
-
i0.ɵɵproperty("interactiveClose", true);
|
|
10012
|
-
i0.ɵɵadvance(10);
|
|
10013
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(102, 82, "SHELL.TOOPENSEARCHMENU"), "");
|
|
10014
|
-
i0.ɵɵadvance(8);
|
|
10015
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(110, 84, "SHELL.TOOPENGOALSANDUSERS"), "");
|
|
10016
|
-
i0.ɵɵadvance(8);
|
|
10017
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(118, 86, "SHELL.TOSEARCHBYID"), "");
|
|
10018
|
-
i0.ɵɵadvance(8);
|
|
10019
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(126, 88, "SHELL.TOCLOSEMENU"), "");
|
|
10020
|
-
i0.ɵɵadvance(2);
|
|
10021
|
-
i0.ɵɵproperty("ngIf", ctx.searchByTextLoading && ctx.display);
|
|
10022
|
-
} }, directives: [i8.MatButton, i22$1.DefaultShowHideDirective, i16.MatMenuTrigger, i17.MatIcon, i20.DefaultFlexDirective, i16.MatMenu, i10.NgForOf, i10.NgIf, i9.DefaultValueAccessor, i9.NgControlStatus, i9.NgModel, i20$1.SatPopoverAnchor, i10.NgClass, i22$1.DefaultClassDirective, i20$1.SatPopover, i7.MatCard, i7.MatCardTitle, i7.MatCardContent, i9.ɵNgNoValidate, i9.NgControlStatusGroup, i9.FormGroupDirective, i22.MatFormField, i23.MatInput, i9.FormControlName, i34.MatSelect, i9.RequiredValidator, i14.MatOption, i4.FaIconComponent, i16.MatMenuItem, i2.RouterLinkActive, i2.RouterLink, i7$1.MatTooltip, i28.MatProgressBar, i20.DefaultLayoutDirective, i29.SnovasysAvatarComponent, i20.DefaultLayoutAlignDirective, i22.MatError, i30.MatSpinner], pipes: [i5$1.TranslatePipe, SoftLabelPipe, HighLightTextPipe, RemoveSpecialCharactersPipe, FetchSizedAndCachedImagePipe, i10.SlicePipe, i35.TimeagoPipe], encapsulation: 2 });
|
|
9416
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(60, 51, "CANCEL"), " ");
|
|
9417
|
+
} }, directives: [i8.MatButton, i15.DefaultShowHideDirective, i16.MatMenuTrigger, i17.MatIcon, i16.MatMenu, i10.NgForOf, i10.NgIf, i23.SatPopover, i7.MatCard, i7.MatCardTitle, i7.MatCardContent, i9.ɵNgNoValidate, i9.NgControlStatusGroup, i9.FormGroupDirective, i21.MatFormField, i22.MatInput, i9.DefaultValueAccessor, i9.NgControlStatus, i9.FormControlName, i33.MatSelect, i9.RequiredValidator, i14.MatOption, i4.FaIconComponent, i16.MatMenuItem, i2.RouterLinkActive, i2.RouterLink, i10.NgClass, i15.DefaultClassDirective, i7$1.MatTooltip, i21.MatError, i27.MatProgressBar], pipes: [i5$1.TranslatePipe, SoftLabelPipe], encapsulation: 2 });
|
|
10023
9418
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuComponent, [{
|
|
10024
9419
|
type: Component,
|
|
10025
9420
|
args: [{
|
|
@@ -10080,7 +9475,7 @@ MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent
|
|
|
10080
9475
|
args: ['document:keydown.control.y', []]
|
|
10081
9476
|
}] }); })();
|
|
10082
9477
|
|
|
10083
|
-
const _c0$
|
|
9478
|
+
const _c0$8 = function (a0, a1) { return { "notificataion-unread": a0, "notificataion-read": a1 }; };
|
|
10084
9479
|
function NotificationsComponent_div_4_mat_nav_list_1_Template(rf, ctx) { if (rf & 1) {
|
|
10085
9480
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
10086
9481
|
i0.ɵɵelementStart(0, "mat-nav-list", 7);
|
|
@@ -10105,7 +9500,7 @@ function NotificationsComponent_div_4_mat_nav_list_1_Template(rf, ctx) { if (rf
|
|
|
10105
9500
|
const notification_r4 = ctx.$implicit;
|
|
10106
9501
|
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
10107
9502
|
i0.ɵɵadvance(1);
|
|
10108
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(9, _c0$
|
|
9503
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(9, _c0$8, !ctx_r3.notificationColor, ctx_r3.notificationColor));
|
|
10109
9504
|
i0.ɵɵadvance(4);
|
|
10110
9505
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(6, 3, notification_r4.summary), i0.ɵɵsanitizeHtml);
|
|
10111
9506
|
i0.ɵɵadvance(3);
|
|
@@ -10571,7 +9966,7 @@ NotificationsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Noti
|
|
|
10571
9966
|
i0.ɵɵproperty("ngIf", ctx.newNotifications.length == 0);
|
|
10572
9967
|
i0.ɵɵadvance(2);
|
|
10573
9968
|
i0.ɵɵproperty("ngIf", ctx.newNotifications.length);
|
|
10574
|
-
} }, directives: [i10.NgIf, i7$2.MatDivider, i10.NgForOf, i12.MatNavList, i12.MatListItem, i2.RouterLinkActive, i10.NgClass,
|
|
9969
|
+
} }, directives: [i10.NgIf, i7$2.MatDivider, i10.NgForOf, i12.MatNavList, i12.MatListItem, i2.RouterLinkActive, i10.NgClass, i15.DefaultClassDirective], pipes: [i5$1.TranslatePipe, OrderByPipe, SanitizeHtmlPipe, i16$1.TimeagoPipe, UtcToLocalTimePipe], encapsulation: 2 });
|
|
10575
9970
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationsComponent, [{
|
|
10576
9971
|
type: Component,
|
|
10577
9972
|
args: [{
|
|
@@ -10582,85 +9977,6 @@ NotificationsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Noti
|
|
|
10582
9977
|
type: Input
|
|
10583
9978
|
}] }); })();
|
|
10584
9979
|
|
|
10585
|
-
class FeedTimeComponent extends CustomAppBaseComponent {
|
|
10586
|
-
constructor(projectModulesService, compiler, vcr) {
|
|
10587
|
-
super();
|
|
10588
|
-
this.projectModulesService = projectModulesService;
|
|
10589
|
-
this.compiler = compiler;
|
|
10590
|
-
this.vcr = vcr;
|
|
10591
|
-
this.componentInputs = {
|
|
10592
|
-
isFeedTimeSheet: false
|
|
10593
|
-
};
|
|
10594
|
-
this.outputs = {
|
|
10595
|
-
closeFeedTimeSheetPopup: () => this.closeFeedTimeSheet()
|
|
10596
|
-
};
|
|
10597
|
-
this.closeFeedTimeSheetPopup = new EventEmitter();
|
|
10598
|
-
}
|
|
10599
|
-
set _isFeedTimeSheet(data) {
|
|
10600
|
-
if (data != undefined && data != null) {
|
|
10601
|
-
this.componentInputs = {
|
|
10602
|
-
isFeedTimeSheet: data
|
|
10603
|
-
};
|
|
10604
|
-
this.loadComponent();
|
|
10605
|
-
}
|
|
10606
|
-
}
|
|
10607
|
-
ngOnInit() {
|
|
10608
|
-
this.injector = this.vcr.injector;
|
|
10609
|
-
super.ngOnInit();
|
|
10610
|
-
}
|
|
10611
|
-
closeFeedTimeSheet() {
|
|
10612
|
-
this.closeFeedTimeSheetPopup.emit();
|
|
10613
|
-
}
|
|
10614
|
-
loadComponent() {
|
|
10615
|
-
// var modules = this.shellModulesService["modules"];
|
|
10616
|
-
var loader = this.projectModulesService["modules"];
|
|
10617
|
-
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
10618
|
-
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
10619
|
-
var path = loader[module.modulePackageName];
|
|
10620
|
-
path()
|
|
10621
|
-
.then(elementModuleOrFactory => {
|
|
10622
|
-
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
10623
|
-
// if ViewEngine
|
|
10624
|
-
return elementModuleOrFactory;
|
|
10625
|
-
}
|
|
10626
|
-
else {
|
|
10627
|
-
try {
|
|
10628
|
-
// if Ivy
|
|
10629
|
-
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
10630
|
-
}
|
|
10631
|
-
catch (err) {
|
|
10632
|
-
throw err;
|
|
10633
|
-
}
|
|
10634
|
-
}
|
|
10635
|
-
}).then((moduleFactory) => {
|
|
10636
|
-
const componentService = moduleFactory.moduleType.componentService;
|
|
10637
|
-
var allComponentsInModule = componentService.components;
|
|
10638
|
-
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
10639
|
-
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
10640
|
-
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
10641
|
-
});
|
|
10642
|
-
}
|
|
10643
|
-
}
|
|
10644
|
-
FeedTimeComponent.ɵfac = function FeedTimeComponent_Factory(t) { return new (t || FeedTimeComponent)(i0.ɵɵdirectiveInject(ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
10645
|
-
FeedTimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeComponent, selectors: [["app-feed-time"]], inputs: { _isFeedTimeSheet: ["isFeedTimeSheet", "_isFeedTimeSheet"] }, outputs: { closeFeedTimeSheetPopup: "closeFeedTimeSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10646
|
-
i0.ɵɵelement(0, "ndc-dynamic", 0);
|
|
10647
|
-
} if (rf & 2) {
|
|
10648
|
-
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
10649
|
-
} }, directives: [i2$1.DynamicComponent, i2$1.DynamicDirective], encapsulation: 2 });
|
|
10650
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeComponent, [{
|
|
10651
|
-
type: Component,
|
|
10652
|
-
args: [{
|
|
10653
|
-
selector: 'app-feed-time',
|
|
10654
|
-
templateUrl: 'feed-time.component.html',
|
|
10655
|
-
encapsulation: ViewEncapsulation.None,
|
|
10656
|
-
}]
|
|
10657
|
-
}], function () { return [{ type: ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }]; }, { _isFeedTimeSheet: [{
|
|
10658
|
-
type: Input,
|
|
10659
|
-
args: ["isFeedTimeSheet"]
|
|
10660
|
-
}], closeFeedTimeSheetPopup: [{
|
|
10661
|
-
type: Output
|
|
10662
|
-
}] }); })();
|
|
10663
|
-
|
|
10664
9980
|
class FeedBackSubmissionComponent extends CustomAppBaseComponent {
|
|
10665
9981
|
constructor(shellModulesService, vcr, projectModulesService, compiler) {
|
|
10666
9982
|
super();
|
|
@@ -10804,7 +10120,7 @@ AnnoucementDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
10804
10120
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(13, 12, ctx.announcement), i0.ɵɵsanitizeHtml);
|
|
10805
10121
|
i0.ɵɵadvance(3);
|
|
10806
10122
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(16, 14, i0.ɵɵpipeBind1(17, 17, ctx.announcedOn), "dd/MM/yyyy HH:mm"), " ");
|
|
10807
|
-
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCard,
|
|
10123
|
+
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCard, i30.DefaultLayoutDirective, i30.DefaultFlexDirective, i30.DefaultLayoutAlignDirective, i6$1.SnovasysAvatarComponent, i7$1.MatTooltip], pipes: [RemoveSpecialCharactersPipe, FetchSizedAndCachedImagePipe, SanitizeHtmlPipe, i10.DatePipe, UtcToLocalTimePipe], encapsulation: 2 });
|
|
10808
10124
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnnoucementDialogComponent, [{
|
|
10809
10125
|
type: Component,
|
|
10810
10126
|
args: [{
|
|
@@ -10821,90 +10137,90 @@ AnnoucementDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
10821
10137
|
args: ["data"]
|
|
10822
10138
|
}] }); })();
|
|
10823
10139
|
|
|
10824
|
-
const _c0$
|
|
10825
|
-
const _c1$
|
|
10826
|
-
const _c2
|
|
10827
|
-
const _c3
|
|
10140
|
+
const _c0$7 = ["feedTimeSheet"];
|
|
10141
|
+
const _c1$1 = ["feedBackPopover"];
|
|
10142
|
+
const _c2 = ["documentPopover"];
|
|
10143
|
+
const _c3 = ["openAnnoucementDialogComponent"];
|
|
10828
10144
|
const _c4 = ["fileUploadDropzonePopup"];
|
|
10829
10145
|
const _c5 = function (a0) { return { "margin-bottom": a0 }; };
|
|
10830
|
-
function
|
|
10831
|
-
i0.ɵɵelementStart(0, "div",
|
|
10832
|
-
i0.ɵɵelementStart(1, "div",
|
|
10833
|
-
i0.ɵɵelement(2, "app-avatar",
|
|
10146
|
+
function HeaderSideComponent_div_5_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
10147
|
+
i0.ɵɵelementStart(0, "div", 58);
|
|
10148
|
+
i0.ɵɵelementStart(1, "div", 59);
|
|
10149
|
+
i0.ɵɵelement(2, "app-avatar", 60);
|
|
10834
10150
|
i0.ɵɵpipe(3, "removeSpecialCharacters");
|
|
10835
10151
|
i0.ɵɵpipe(4, "fetchSizedAndCachedImage");
|
|
10836
10152
|
i0.ɵɵelementEnd();
|
|
10837
|
-
i0.ɵɵelementStart(5, "span",
|
|
10153
|
+
i0.ɵɵelementStart(5, "span", 61);
|
|
10838
10154
|
i0.ɵɵtext(6);
|
|
10839
10155
|
i0.ɵɵelementEnd();
|
|
10840
10156
|
i0.ɵɵelementEnd();
|
|
10841
10157
|
} if (rf & 2) {
|
|
10842
|
-
const
|
|
10158
|
+
const ctx_r32 = i0.ɵɵnextContext(2);
|
|
10843
10159
|
i0.ɵɵadvance(1);
|
|
10844
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(13, _c5,
|
|
10160
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(13, _c5, ctx_r32.selectedCompany.companyMiniLogo ? "10px" : "0px"));
|
|
10845
10161
|
i0.ɵɵadvance(1);
|
|
10846
|
-
i0.ɵɵpropertyInterpolate("matTooltip",
|
|
10847
|
-
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(3, 7,
|
|
10162
|
+
i0.ɵɵpropertyInterpolate("matTooltip", ctx_r32.selectedCompany.companyName);
|
|
10163
|
+
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(3, 7, ctx_r32.selectedCompany.companyName))("src", i0.ɵɵpipeBind3(4, 9, ctx_r32.selectedCompany.companyMiniLogo, "20", ""))("isRound", true);
|
|
10848
10164
|
i0.ɵɵadvance(3);
|
|
10849
|
-
i0.ɵɵpropertyInterpolate("matTooltip",
|
|
10165
|
+
i0.ɵɵpropertyInterpolate("matTooltip", ctx_r32.selectedCompany.companyName);
|
|
10850
10166
|
i0.ɵɵadvance(1);
|
|
10851
|
-
i0.ɵɵ
|
|
10167
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r32.selectedCompanyName, " ");
|
|
10852
10168
|
} }
|
|
10853
|
-
function
|
|
10169
|
+
function HeaderSideComponent_div_5_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
10854
10170
|
i0.ɵɵelement(0, "span");
|
|
10855
10171
|
} }
|
|
10856
|
-
function
|
|
10857
|
-
const
|
|
10858
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
10859
|
-
i0.ɵɵlistener("click", function
|
|
10860
|
-
i0.ɵɵtext(1, " close");
|
|
10172
|
+
function HeaderSideComponent_div_5_mat_icon_11_Template(rf, ctx) { if (rf & 1) {
|
|
10173
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
10174
|
+
i0.ɵɵelementStart(0, "mat-icon", 62);
|
|
10175
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_5_mat_icon_11_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(2); return ctx_r36.closeSearch(); });
|
|
10176
|
+
i0.ɵɵtext(1, " close ");
|
|
10861
10177
|
i0.ɵɵelementEnd();
|
|
10862
10178
|
} }
|
|
10863
|
-
function
|
|
10864
|
-
i0.ɵɵelementStart(0, "mat-option",
|
|
10865
|
-
i0.ɵɵelementStart(1, "div",
|
|
10866
|
-
i0.ɵɵelement(2, "app-avatar",
|
|
10179
|
+
function HeaderSideComponent_div_5_mat_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
10180
|
+
i0.ɵɵelementStart(0, "mat-option", 63);
|
|
10181
|
+
i0.ɵɵelementStart(1, "div", 64);
|
|
10182
|
+
i0.ɵɵelement(2, "app-avatar", 65);
|
|
10867
10183
|
i0.ɵɵpipe(3, "removeSpecialCharacters");
|
|
10868
10184
|
i0.ɵɵpipe(4, "fetchSizedAndCachedImage");
|
|
10869
|
-
i0.ɵɵelementStart(5, "div",
|
|
10185
|
+
i0.ɵɵelementStart(5, "div", 66);
|
|
10870
10186
|
i0.ɵɵtext(6);
|
|
10871
10187
|
i0.ɵɵelementEnd();
|
|
10872
10188
|
i0.ɵɵelementEnd();
|
|
10873
10189
|
i0.ɵɵelementEnd();
|
|
10874
10190
|
} if (rf & 2) {
|
|
10875
|
-
const
|
|
10876
|
-
i0.ɵɵpropertyInterpolate("matTooltip",
|
|
10877
|
-
i0.ɵɵproperty("value",
|
|
10191
|
+
const companyList_r38 = ctx.$implicit;
|
|
10192
|
+
i0.ɵɵpropertyInterpolate("matTooltip", companyList_r38.companyName);
|
|
10193
|
+
i0.ɵɵproperty("value", companyList_r38);
|
|
10878
10194
|
i0.ɵɵadvance(2);
|
|
10879
|
-
i0.ɵɵpropertyInterpolate("matTooltip",
|
|
10880
|
-
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(3, 8,
|
|
10195
|
+
i0.ɵɵpropertyInterpolate("matTooltip", companyList_r38.companyName);
|
|
10196
|
+
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(3, 8, companyList_r38.companyName))("ngStyle", i0.ɵɵpureFunction1(14, _c5, companyList_r38.companyMiniLogo ? "10px" : "0px"))("src", i0.ɵɵpipeBind3(4, 10, companyList_r38.companyMiniLogo, "20", ""))("isRound", true);
|
|
10881
10197
|
i0.ɵɵadvance(4);
|
|
10882
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
10198
|
+
i0.ɵɵtextInterpolate1(" ", companyList_r38.companyName, " ");
|
|
10883
10199
|
} }
|
|
10884
|
-
function
|
|
10885
|
-
const
|
|
10886
|
-
i0.ɵɵelementStart(0, "div",
|
|
10887
|
-
i0.ɵɵlistener("click", function
|
|
10888
|
-
i0.ɵɵelementStart(1, "mat-select",
|
|
10889
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
10200
|
+
function HeaderSideComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
10201
|
+
const _r41 = i0.ɵɵgetCurrentView();
|
|
10202
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
10203
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_5_Template_div_click_0_listener($event) { return $event.stopPropagation(); });
|
|
10204
|
+
i0.ɵɵelementStart(1, "mat-select", 49);
|
|
10205
|
+
i0.ɵɵlistener("ngModelChange", function HeaderSideComponent_div_5_Template_mat_select_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r40 = i0.ɵɵnextContext(); return ctx_r40.selectedCompany = $event; })("selectionChange", function HeaderSideComponent_div_5_Template_mat_select_selectionChange_1_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r42 = i0.ɵɵnextContext(); return ctx_r42.selectCompany($event.value); });
|
|
10890
10206
|
i0.ɵɵelementStart(2, "mat-select-trigger");
|
|
10891
|
-
i0.ɵɵtemplate(3,
|
|
10207
|
+
i0.ɵɵtemplate(3, HeaderSideComponent_div_5_div_3_Template, 7, 15, "div", 50);
|
|
10892
10208
|
i0.ɵɵelementEnd();
|
|
10893
|
-
i0.ɵɵelementStart(4, "div",
|
|
10894
|
-
i0.ɵɵelementStart(5, "div",
|
|
10895
|
-
i0.ɵɵelementStart(6, "mat-form-field",
|
|
10896
|
-
i0.ɵɵelementStart(7, "input",
|
|
10897
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
10209
|
+
i0.ɵɵelementStart(4, "div", 51);
|
|
10210
|
+
i0.ɵɵelementStart(5, "div", 52);
|
|
10211
|
+
i0.ɵɵelementStart(6, "mat-form-field", 53);
|
|
10212
|
+
i0.ɵɵelementStart(7, "input", 54);
|
|
10213
|
+
i0.ɵɵlistener("ngModelChange", function HeaderSideComponent_div_5_Template_input_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r43 = i0.ɵɵnextContext(); return ctx_r43.searchText = $event; });
|
|
10898
10214
|
i0.ɵɵpipe(8, "translate");
|
|
10899
10215
|
i0.ɵɵelementEnd();
|
|
10900
10216
|
i0.ɵɵelementEnd();
|
|
10901
10217
|
i0.ɵɵelementEnd();
|
|
10902
|
-
i0.ɵɵelementStart(9, "span",
|
|
10903
|
-
i0.ɵɵtemplate(10,
|
|
10904
|
-
i0.ɵɵtemplate(11,
|
|
10218
|
+
i0.ɵɵelementStart(9, "span", 55);
|
|
10219
|
+
i0.ɵɵtemplate(10, HeaderSideComponent_div_5_span_10_Template, 1, 0, "span", 6);
|
|
10220
|
+
i0.ɵɵtemplate(11, HeaderSideComponent_div_5_mat_icon_11_Template, 2, 0, "mat-icon", 56);
|
|
10905
10221
|
i0.ɵɵelementEnd();
|
|
10906
10222
|
i0.ɵɵelementEnd();
|
|
10907
|
-
i0.ɵɵtemplate(12,
|
|
10223
|
+
i0.ɵɵtemplate(12, HeaderSideComponent_div_5_mat_option_12_Template, 7, 16, "mat-option", 57);
|
|
10908
10224
|
i0.ɵɵelementEnd();
|
|
10909
10225
|
i0.ɵɵelementEnd();
|
|
10910
10226
|
} if (rf & 2) {
|
|
@@ -10923,13 +10239,13 @@ function HeaderSideComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
10923
10239
|
i0.ɵɵadvance(1);
|
|
10924
10240
|
i0.ɵɵproperty("ngForOf", ctx_r0.searchCompanies(ctx_r0.companiesList, ctx_r0.searchText));
|
|
10925
10241
|
} }
|
|
10926
|
-
function
|
|
10927
|
-
const
|
|
10242
|
+
function HeaderSideComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
10243
|
+
const _r45 = i0.ɵɵgetCurrentView();
|
|
10928
10244
|
i0.ɵɵelementStart(0, "div");
|
|
10929
|
-
i0.ɵɵelementStart(1, "button",
|
|
10930
|
-
i0.ɵɵlistener("click", function
|
|
10245
|
+
i0.ɵɵelementStart(1, "button", 67);
|
|
10246
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_6_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r45); const ctx_r44 = i0.ɵɵnextContext(); return ctx_r44.navigateToSettings(); });
|
|
10931
10247
|
i0.ɵɵpipe(2, "translate");
|
|
10932
|
-
i0.ɵɵelementStart(3, "mat-icon");
|
|
10248
|
+
i0.ɵɵelementStart(3, "mat-icon", 9);
|
|
10933
10249
|
i0.ɵɵtext(4, "settings");
|
|
10934
10250
|
i0.ɵɵelementEnd();
|
|
10935
10251
|
i0.ɵɵelementEnd();
|
|
@@ -10940,13 +10256,13 @@ function HeaderSideComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
10940
10256
|
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 2, "SHELL.SETTINGS"));
|
|
10941
10257
|
i0.ɵɵproperty("ngClass", ctx_r1.router.url.includes("/settings") ? "icon_active_class" : "");
|
|
10942
10258
|
} }
|
|
10943
|
-
function
|
|
10944
|
-
const
|
|
10259
|
+
function HeaderSideComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
10260
|
+
const _r47 = i0.ɵɵgetCurrentView();
|
|
10945
10261
|
i0.ɵɵelementStart(0, "div");
|
|
10946
|
-
i0.ɵɵelementStart(1, "button",
|
|
10947
|
-
i0.ɵɵlistener("click", function
|
|
10262
|
+
i0.ɵɵelementStart(1, "button", 68);
|
|
10263
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r47); const ctx_r46 = i0.ɵɵnextContext(); return ctx_r46.navigateToStatusReport(); });
|
|
10948
10264
|
i0.ɵɵpipe(2, "translate");
|
|
10949
|
-
i0.ɵɵelementStart(3, "mat-icon");
|
|
10265
|
+
i0.ɵɵelementStart(3, "mat-icon", 9);
|
|
10950
10266
|
i0.ɵɵtext(4, "assignment");
|
|
10951
10267
|
i0.ɵɵelementEnd();
|
|
10952
10268
|
i0.ɵɵelementEnd();
|
|
@@ -10955,93 +10271,54 @@ function HeaderSideComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
10955
10271
|
i0.ɵɵadvance(1);
|
|
10956
10272
|
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 1, "SHELL.MYWORK"));
|
|
10957
10273
|
} }
|
|
10958
|
-
function
|
|
10959
|
-
|
|
10960
|
-
i0.ɵɵelementStart(0, "div");
|
|
10961
|
-
i0.ɵɵelementStart(1, "button", 67);
|
|
10962
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_div_10_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r50); const ctx_r49 = i0.ɵɵnextContext(); return ctx_r49.openTimeSheet(); });
|
|
10963
|
-
i0.ɵɵpipe(2, "translate");
|
|
10964
|
-
i0.ɵɵelementStart(3, "mat-icon");
|
|
10965
|
-
i0.ɵɵtext(4, "access_time");
|
|
10966
|
-
i0.ɵɵelementEnd();
|
|
10967
|
-
i0.ɵɵelementEnd();
|
|
10968
|
-
i0.ɵɵelementEnd();
|
|
10969
|
-
} if (rf & 2) {
|
|
10970
|
-
i0.ɵɵnextContext();
|
|
10971
|
-
const _r7 = i0.ɵɵreference(17);
|
|
10972
|
-
i0.ɵɵadvance(1);
|
|
10973
|
-
i0.ɵɵstyleProp("overflow", "visible");
|
|
10974
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 4, "SHELL.LOGTIME"));
|
|
10975
|
-
i0.ɵɵproperty("satPopoverAnchorFor", _r7);
|
|
10976
|
-
} }
|
|
10977
|
-
function HeaderSideComponent_button_11_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
10978
|
-
i0.ɵɵelementStart(0, "span", 70);
|
|
10274
|
+
function HeaderSideComponent_button_13_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
10275
|
+
i0.ɵɵelementStart(0, "span", 71);
|
|
10979
10276
|
i0.ɵɵtext(1);
|
|
10980
10277
|
i0.ɵɵelementEnd();
|
|
10981
10278
|
} if (rf & 2) {
|
|
10982
|
-
const
|
|
10279
|
+
const ctx_r48 = i0.ɵɵnextContext(2);
|
|
10983
10280
|
i0.ɵɵadvance(1);
|
|
10984
|
-
i0.ɵɵ
|
|
10281
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r48.newNotificationsCount, " ");
|
|
10985
10282
|
} }
|
|
10986
|
-
function
|
|
10987
|
-
const
|
|
10988
|
-
i0.ɵɵelementStart(0, "button",
|
|
10989
|
-
i0.ɵɵlistener("click", function
|
|
10283
|
+
function HeaderSideComponent_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
10284
|
+
const _r50 = i0.ɵɵgetCurrentView();
|
|
10285
|
+
i0.ɵɵelementStart(0, "button", 69);
|
|
10286
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r50); const ctx_r49 = i0.ɵɵnextContext(); return ctx_r49.toggleNotific(); });
|
|
10990
10287
|
i0.ɵɵpipe(1, "translate");
|
|
10991
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
10288
|
+
i0.ɵɵelementStart(2, "mat-icon", 9);
|
|
10992
10289
|
i0.ɵɵtext(3, "notifications");
|
|
10993
10290
|
i0.ɵɵelementEnd();
|
|
10994
|
-
i0.ɵɵtemplate(4,
|
|
10291
|
+
i0.ɵɵtemplate(4, HeaderSideComponent_button_13_span_4_Template, 2, 1, "span", 70);
|
|
10995
10292
|
i0.ɵɵelementEnd();
|
|
10996
10293
|
} if (rf & 2) {
|
|
10997
10294
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
10998
|
-
const _r5 = i0.ɵɵreference(
|
|
10295
|
+
const _r5 = i0.ɵɵreference(15);
|
|
10999
10296
|
i0.ɵɵstyleProp("overflow", "visible");
|
|
11000
10297
|
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(1, 5, "SHELL.NOTIFICATIONS"));
|
|
11001
10298
|
i0.ɵɵproperty("matMenuTriggerFor", _r5);
|
|
11002
10299
|
i0.ɵɵadvance(4);
|
|
11003
10300
|
i0.ɵɵproperty("ngIf", ctx_r4.newNotificationsCount != 0);
|
|
11004
10301
|
} }
|
|
11005
|
-
function
|
|
11006
|
-
i0.ɵɵ
|
|
11007
|
-
i0.ɵɵ
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
i0.ɵɵ
|
|
11011
|
-
} }
|
|
11012
|
-
function HeaderSideComponent_button_15_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
11013
|
-
i0.ɵɵelementStart(0, "div", 75);
|
|
11014
|
-
i0.ɵɵelement(1, "app-avatar", 76);
|
|
11015
|
-
i0.ɵɵpipe(2, "removeSpecialCharacters");
|
|
10302
|
+
function HeaderSideComponent_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
10303
|
+
const _r52 = i0.ɵɵgetCurrentView();
|
|
10304
|
+
i0.ɵɵelementStart(0, "button", 72);
|
|
10305
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_17_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r52); const ctx_r51 = i0.ɵɵnextContext(); return ctx_r51.toggleRecording(); });
|
|
10306
|
+
i0.ɵɵelementStart(1, "mat-icon", 73);
|
|
10307
|
+
i0.ɵɵtext(2, "person");
|
|
11016
10308
|
i0.ɵɵelementEnd();
|
|
11017
|
-
} if (rf & 2) {
|
|
11018
|
-
const ctx_r55 = i0.ɵɵnextContext(2);
|
|
11019
|
-
i0.ɵɵadvance(1);
|
|
11020
|
-
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(2, 2, ctx_r55.authenticatedUserRecord.fullName))("isRound", true);
|
|
11021
|
-
} }
|
|
11022
|
-
function HeaderSideComponent_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
11023
|
-
const _r57 = i0.ɵɵgetCurrentView();
|
|
11024
|
-
i0.ɵɵelementStart(0, "button", 71);
|
|
11025
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r57); const ctx_r56 = i0.ɵɵnextContext(); return ctx_r56.toggleRecording(); });
|
|
11026
|
-
i0.ɵɵtemplate(1, HeaderSideComponent_button_15_img_1_Template, 2, 5, "img", 72);
|
|
11027
|
-
i0.ɵɵtemplate(2, HeaderSideComponent_button_15_div_2_Template, 3, 4, "div", 73);
|
|
11028
10309
|
i0.ɵɵelementEnd();
|
|
11029
10310
|
} if (rf & 2) {
|
|
11030
10311
|
const ctx_r6 = i0.ɵɵnextContext();
|
|
11031
|
-
const
|
|
11032
|
-
i0.ɵɵproperty("matMenuTriggerFor",
|
|
11033
|
-
i0.ɵɵadvance(1);
|
|
11034
|
-
i0.ɵɵproperty("ngIf", ctx_r6.authenticatedUserRecord.profileImage);
|
|
11035
|
-
i0.ɵɵadvance(1);
|
|
11036
|
-
i0.ɵɵproperty("ngIf", !ctx_r6.authenticatedUserRecord.profileImage);
|
|
10312
|
+
const _r7 = i0.ɵɵreference(19);
|
|
10313
|
+
i0.ɵɵproperty("matMenuTriggerFor", _r7)("ngClass", ctx_r6.router.url.includes("/dashboard/profile/") ? "icon_active_class" : "");
|
|
11037
10314
|
} }
|
|
11038
|
-
function
|
|
11039
|
-
i0.ɵɵelement(0, "mat-icon",
|
|
10315
|
+
function HeaderSideComponent_mat_icon_26_Template(rf, ctx) { if (rf & 1) {
|
|
10316
|
+
i0.ɵɵelement(0, "mat-icon", 74);
|
|
11040
10317
|
} }
|
|
11041
|
-
function
|
|
11042
|
-
const
|
|
11043
|
-
i0.ɵɵelementStart(0, "button",
|
|
11044
|
-
i0.ɵɵlistener("click", function
|
|
10318
|
+
function HeaderSideComponent_button_27_Template(rf, ctx) { if (rf & 1) {
|
|
10319
|
+
const _r54 = i0.ɵɵgetCurrentView();
|
|
10320
|
+
i0.ɵɵelementStart(0, "button", 75);
|
|
10321
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_27_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r54); const ctx_r53 = i0.ɵɵnextContext(); return ctx_r53.clearDemoData(); });
|
|
11045
10322
|
i0.ɵɵpipe(1, "translate");
|
|
11046
10323
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
11047
10324
|
i0.ɵɵtext(3, "delete");
|
|
@@ -11057,10 +10334,10 @@ function HeaderSideComponent_button_28_Template(rf, ctx) { if (rf & 1) {
|
|
|
11057
10334
|
i0.ɵɵadvance(5);
|
|
11058
10335
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6, "SHELL.CLEARDEMODATA"));
|
|
11059
10336
|
} }
|
|
11060
|
-
function
|
|
11061
|
-
const
|
|
11062
|
-
i0.ɵɵelementStart(0, "button",
|
|
11063
|
-
i0.ɵɵlistener("click", function
|
|
10337
|
+
function HeaderSideComponent_button_28_Template(rf, ctx) { if (rf & 1) {
|
|
10338
|
+
const _r56 = i0.ɵɵgetCurrentView();
|
|
10339
|
+
i0.ɵɵelementStart(0, "button", 75);
|
|
10340
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_28_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r56); const ctx_r55 = i0.ɵɵnextContext(); return ctx_r55.exportConfigurationDialogData(); });
|
|
11064
10341
|
i0.ɵɵpipe(1, "translate");
|
|
11065
10342
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
11066
10343
|
i0.ɵɵtext(3, "get_app");
|
|
@@ -11076,10 +10353,10 @@ function HeaderSideComponent_button_29_Template(rf, ctx) { if (rf & 1) {
|
|
|
11076
10353
|
i0.ɵɵadvance(5);
|
|
11077
10354
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6, "SHELL.EXPORTCONFIGURATION"));
|
|
11078
10355
|
} }
|
|
11079
|
-
function
|
|
11080
|
-
const
|
|
11081
|
-
i0.ɵɵelementStart(0, "button",
|
|
11082
|
-
i0.ɵɵlistener("click", function
|
|
10356
|
+
function HeaderSideComponent_button_29_Template(rf, ctx) { if (rf & 1) {
|
|
10357
|
+
const _r59 = i0.ɵɵgetCurrentView();
|
|
10358
|
+
i0.ɵɵelementStart(0, "button", 76, 77);
|
|
10359
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_29_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r59); const _r57 = i0.ɵɵreference(1); const ctx_r58 = i0.ɵɵnextContext(); return ctx_r58.addUploadFilePopupOpen(_r57); });
|
|
11083
10360
|
i0.ɵɵpipe(2, "translate");
|
|
11084
10361
|
i0.ɵɵelementStart(3, "mat-icon");
|
|
11085
10362
|
i0.ɵɵtext(4, "publish");
|
|
@@ -11091,16 +10368,16 @@ function HeaderSideComponent_button_30_Template(rf, ctx) { if (rf & 1) {
|
|
|
11091
10368
|
i0.ɵɵelementEnd();
|
|
11092
10369
|
} if (rf & 2) {
|
|
11093
10370
|
i0.ɵɵnextContext();
|
|
11094
|
-
const
|
|
10371
|
+
const _r24 = i0.ɵɵreference(59);
|
|
11095
10372
|
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 3, "SHELL.IMPORTCONFIGURATION"));
|
|
11096
|
-
i0.ɵɵproperty("satPopoverAnchorFor",
|
|
10373
|
+
i0.ɵɵproperty("satPopoverAnchorFor", _r24);
|
|
11097
10374
|
i0.ɵɵadvance(6);
|
|
11098
10375
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 5, "SHELL.IMPORTCONFIGURATION"));
|
|
11099
10376
|
} }
|
|
11100
|
-
function
|
|
11101
|
-
const
|
|
10377
|
+
function HeaderSideComponent_button_30_Template(rf, ctx) { if (rf & 1) {
|
|
10378
|
+
const _r61 = i0.ɵɵgetCurrentView();
|
|
11102
10379
|
i0.ɵɵelementStart(0, "button", 14);
|
|
11103
|
-
i0.ɵɵlistener("click", function
|
|
10380
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_30_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r61); const ctx_r60 = i0.ɵɵnextContext(); return ctx_r60.onNavigateToBillingScreen(); });
|
|
11104
10381
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
11105
10382
|
i0.ɵɵtext(2, "account_balance");
|
|
11106
10383
|
i0.ɵɵelementEnd();
|
|
@@ -11109,10 +10386,10 @@ function HeaderSideComponent_button_31_Template(rf, ctx) { if (rf & 1) {
|
|
|
11109
10386
|
i0.ɵɵelementEnd();
|
|
11110
10387
|
i0.ɵɵelementEnd();
|
|
11111
10388
|
} }
|
|
11112
|
-
function
|
|
11113
|
-
const
|
|
10389
|
+
function HeaderSideComponent_button_31_Template(rf, ctx) { if (rf & 1) {
|
|
10390
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
11114
10391
|
i0.ɵɵelementStart(0, "button", 14);
|
|
11115
|
-
i0.ɵɵlistener("click", function
|
|
10392
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_31_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r63); const ctx_r62 = i0.ɵɵnextContext(); return ctx_r62.onNavigateToPricingScreen(); });
|
|
11116
10393
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
11117
10394
|
i0.ɵɵtext(2, "account_balance_wallet");
|
|
11118
10395
|
i0.ɵɵelementEnd();
|
|
@@ -11121,10 +10398,10 @@ function HeaderSideComponent_button_32_Template(rf, ctx) { if (rf & 1) {
|
|
|
11121
10398
|
i0.ɵɵelementEnd();
|
|
11122
10399
|
i0.ɵɵelementEnd();
|
|
11123
10400
|
} }
|
|
11124
|
-
function
|
|
11125
|
-
const
|
|
11126
|
-
i0.ɵɵelementStart(0, "button",
|
|
11127
|
-
i0.ɵɵlistener("click", function
|
|
10401
|
+
function HeaderSideComponent_button_32_Template(rf, ctx) { if (rf & 1) {
|
|
10402
|
+
const _r65 = i0.ɵɵgetCurrentView();
|
|
10403
|
+
i0.ɵɵelementStart(0, "button", 75);
|
|
10404
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_32_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r65); const ctx_r64 = i0.ɵɵnextContext(); return ctx_r64.alternateSignIn(); });
|
|
11128
10405
|
i0.ɵɵpipe(1, "translate");
|
|
11129
10406
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
11130
10407
|
i0.ɵɵtext(3, "how_to_reg");
|
|
@@ -11140,19 +10417,19 @@ function HeaderSideComponent_button_33_Template(rf, ctx) { if (rf & 1) {
|
|
|
11140
10417
|
i0.ɵɵadvance(5);
|
|
11141
10418
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6, "SHELL.SIGNINAS"));
|
|
11142
10419
|
} }
|
|
11143
|
-
function
|
|
11144
|
-
i0.ɵɵelement(0, "div",
|
|
10420
|
+
function HeaderSideComponent_div_45_Template(rf, ctx) { if (rf & 1) {
|
|
10421
|
+
i0.ɵɵelement(0, "div", 78);
|
|
11145
10422
|
} }
|
|
11146
|
-
function
|
|
11147
|
-
const
|
|
11148
|
-
i0.ɵɵelementStart(0, "app-submit-feedback",
|
|
11149
|
-
i0.ɵɵlistener("closeDialog", function
|
|
10423
|
+
function HeaderSideComponent_app_submit_feedback_48_Template(rf, ctx) { if (rf & 1) {
|
|
10424
|
+
const _r67 = i0.ɵɵgetCurrentView();
|
|
10425
|
+
i0.ɵɵelementStart(0, "app-submit-feedback", 79);
|
|
10426
|
+
i0.ɵɵlistener("closeDialog", function HeaderSideComponent_app_submit_feedback_48_Template_app_submit_feedback_closeDialog_0_listener() { i0.ɵɵrestoreView(_r67); const ctx_r66 = i0.ɵɵnextContext(); return ctx_r66.closeFeedBacklogDialog(); });
|
|
11150
10427
|
i0.ɵɵelementEnd();
|
|
11151
10428
|
} }
|
|
11152
10429
|
const _c6 = function () { return ["/applications/view-forms"]; };
|
|
11153
|
-
function
|
|
11154
|
-
i0.ɵɵelementStart(0, "mat-card",
|
|
11155
|
-
i0.ɵɵelementStart(1, "span",
|
|
10430
|
+
function HeaderSideComponent_mat_card_53_Template(rf, ctx) { if (rf & 1) {
|
|
10431
|
+
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10432
|
+
i0.ɵɵelementStart(1, "span", 81);
|
|
11156
10433
|
i0.ɵɵtext(2, "Forms");
|
|
11157
10434
|
i0.ɵɵelementEnd();
|
|
11158
10435
|
i0.ɵɵelementEnd();
|
|
@@ -11160,9 +10437,9 @@ function HeaderSideComponent_mat_card_54_Template(rf, ctx) { if (rf & 1) {
|
|
|
11160
10437
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(1, _c6));
|
|
11161
10438
|
} }
|
|
11162
10439
|
const _c7 = function () { return ["/applications/custom-applications"]; };
|
|
11163
|
-
function
|
|
11164
|
-
i0.ɵɵelementStart(0, "mat-card",
|
|
11165
|
-
i0.ɵɵelementStart(1, "span",
|
|
10440
|
+
function HeaderSideComponent_mat_card_54_Template(rf, ctx) { if (rf & 1) {
|
|
10441
|
+
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10442
|
+
i0.ɵɵelementStart(1, "span", 81);
|
|
11166
10443
|
i0.ɵɵtext(2, "Custom applications");
|
|
11167
10444
|
i0.ɵɵelementEnd();
|
|
11168
10445
|
i0.ɵɵelementEnd();
|
|
@@ -11170,9 +10447,9 @@ function HeaderSideComponent_mat_card_55_Template(rf, ctx) { if (rf & 1) {
|
|
|
11170
10447
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(1, _c7));
|
|
11171
10448
|
} }
|
|
11172
10449
|
const _c8 = function () { return ["/rolemanagement/rolemanagement"]; };
|
|
11173
|
-
function
|
|
11174
|
-
i0.ɵɵelementStart(0, "mat-card",
|
|
11175
|
-
i0.ɵɵelementStart(1, "span",
|
|
10450
|
+
function HeaderSideComponent_mat_card_55_Template(rf, ctx) { if (rf & 1) {
|
|
10451
|
+
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10452
|
+
i0.ɵɵelementStart(1, "span", 81);
|
|
11176
10453
|
i0.ɵɵtext(2, "Role configuration");
|
|
11177
10454
|
i0.ɵɵelementEnd();
|
|
11178
10455
|
i0.ɵɵelementEnd();
|
|
@@ -11180,88 +10457,88 @@ function HeaderSideComponent_mat_card_56_Template(rf, ctx) { if (rf & 1) {
|
|
|
11180
10457
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(1, _c8));
|
|
11181
10458
|
} }
|
|
11182
10459
|
const _c9 = function () { return ["/rolemanagement/entityrolemanagement"]; };
|
|
11183
|
-
function
|
|
11184
|
-
i0.ɵɵelementStart(0, "mat-card",
|
|
11185
|
-
i0.ɵɵelementStart(1, "span",
|
|
10460
|
+
function HeaderSideComponent_mat_card_56_Template(rf, ctx) { if (rf & 1) {
|
|
10461
|
+
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10462
|
+
i0.ɵɵelementStart(1, "span", 81);
|
|
11186
10463
|
i0.ɵɵtext(2);
|
|
11187
10464
|
i0.ɵɵpipe(3, "softLabelsPipe");
|
|
11188
10465
|
i0.ɵɵelementEnd();
|
|
11189
10466
|
i0.ɵɵelementEnd();
|
|
11190
10467
|
} if (rf & 2) {
|
|
11191
|
-
const
|
|
10468
|
+
const ctx_r22 = i0.ɵɵnextContext();
|
|
11192
10469
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(5, _c9));
|
|
11193
10470
|
i0.ɵɵadvance(2);
|
|
11194
|
-
i0.ɵɵ
|
|
10471
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 2, ctx_r22.projectRoleText, ctx_r22.softLabels), " ");
|
|
11195
10472
|
} }
|
|
11196
|
-
function
|
|
10473
|
+
function HeaderSideComponent_div_57_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
11197
10474
|
i0.ɵɵelementStart(0, "span");
|
|
11198
10475
|
i0.ɵɵtext(1, "Welcome \u00A0 ");
|
|
11199
10476
|
i0.ɵɵelementEnd();
|
|
11200
10477
|
} }
|
|
11201
|
-
function
|
|
10478
|
+
function HeaderSideComponent_div_57_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
11202
10479
|
i0.ɵɵtext(0, " Welcome back \u00A0");
|
|
11203
10480
|
} }
|
|
11204
|
-
function
|
|
11205
|
-
i0.ɵɵelementStart(0, "div",
|
|
11206
|
-
i0.ɵɵtemplate(1,
|
|
10481
|
+
function HeaderSideComponent_div_57_Template(rf, ctx) { if (rf & 1) {
|
|
10482
|
+
i0.ɵɵelementStart(0, "div", 82);
|
|
10483
|
+
i0.ɵɵtemplate(1, HeaderSideComponent_div_57_span_1_Template, 2, 0, "span", 83);
|
|
11207
10484
|
i0.ɵɵelementStart(2, "span");
|
|
11208
10485
|
i0.ɵɵtext(3);
|
|
11209
10486
|
i0.ɵɵelementEnd();
|
|
11210
|
-
i0.ɵɵtemplate(4,
|
|
10487
|
+
i0.ɵɵtemplate(4, HeaderSideComponent_div_57_ng_template_4_Template, 1, 0, "ng-template", null, 84, i0.ɵɵtemplateRefExtractor);
|
|
11211
10488
|
i0.ɵɵelementEnd();
|
|
11212
10489
|
} if (rf & 2) {
|
|
11213
|
-
const
|
|
11214
|
-
const
|
|
10490
|
+
const _r69 = i0.ɵɵreference(5);
|
|
10491
|
+
const ctx_r23 = i0.ɵɵnextContext();
|
|
11215
10492
|
i0.ɵɵproperty("@fade", undefined);
|
|
11216
10493
|
i0.ɵɵadvance(1);
|
|
11217
|
-
i0.ɵɵproperty("ngIf",
|
|
10494
|
+
i0.ɵɵproperty("ngIf", ctx_r23.loggedInCount == 1)("ngIfElse", _r69);
|
|
11218
10495
|
i0.ɵɵadvance(2);
|
|
11219
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
10496
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r23.userFullName, " ");
|
|
11220
10497
|
} }
|
|
11221
|
-
function
|
|
11222
|
-
const
|
|
11223
|
-
i0.ɵɵelementStart(0, "ngx-dropzone-preview",
|
|
11224
|
-
i0.ɵɵlistener("removed", function
|
|
11225
|
-
i0.ɵɵelementStart(1, "ngx-dropzone-label",
|
|
10498
|
+
function HeaderSideComponent_ngx_dropzone_preview_75_Template(rf, ctx) { if (rf & 1) {
|
|
10499
|
+
const _r73 = i0.ɵɵgetCurrentView();
|
|
10500
|
+
i0.ɵɵelementStart(0, "ngx-dropzone-preview", 85);
|
|
10501
|
+
i0.ɵɵlistener("removed", function HeaderSideComponent_ngx_dropzone_preview_75_Template_ngx_dropzone_preview_removed_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r73); const f_r71 = restoredCtx.$implicit; const ctx_r72 = i0.ɵɵnextContext(); return ctx_r72.onRemove(f_r71); });
|
|
10502
|
+
i0.ɵɵelementStart(1, "ngx-dropzone-label", 86);
|
|
11226
10503
|
i0.ɵɵtext(2);
|
|
11227
10504
|
i0.ɵɵelementEnd();
|
|
11228
10505
|
i0.ɵɵelementEnd();
|
|
11229
10506
|
} if (rf & 2) {
|
|
11230
|
-
const
|
|
11231
|
-
const
|
|
10507
|
+
const f_r71 = ctx.$implicit;
|
|
10508
|
+
const ctx_r25 = i0.ɵɵnextContext();
|
|
11232
10509
|
i0.ɵɵproperty("removable", true);
|
|
11233
10510
|
i0.ɵɵadvance(1);
|
|
11234
|
-
i0.ɵɵattribute("data-tip",
|
|
10511
|
+
i0.ɵɵattribute("data-tip", f_r71.name);
|
|
11235
10512
|
i0.ɵɵadvance(1);
|
|
11236
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
10513
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r25.setLabelNameForDropzone(f_r71.name), " ");
|
|
11237
10514
|
} }
|
|
11238
|
-
function
|
|
11239
|
-
i0.ɵɵelement(0, "mat-progress-bar",
|
|
10515
|
+
function HeaderSideComponent_mat_progress_bar_79_Template(rf, ctx) { if (rf & 1) {
|
|
10516
|
+
i0.ɵɵelement(0, "mat-progress-bar", 87);
|
|
11240
10517
|
} if (rf & 2) {
|
|
11241
|
-
const
|
|
11242
|
-
i0.ɵɵproperty("value",
|
|
10518
|
+
const ctx_r26 = i0.ɵɵnextContext();
|
|
10519
|
+
i0.ɵɵproperty("value", ctx_r26.progressValue);
|
|
11243
10520
|
} }
|
|
11244
|
-
function
|
|
11245
|
-
i0.ɵɵelementStart(0, "div");
|
|
10521
|
+
function HeaderSideComponent_div_80_Template(rf, ctx) { if (rf & 1) {
|
|
10522
|
+
i0.ɵɵelementStart(0, "div", 88);
|
|
11246
10523
|
i0.ɵɵtext(1);
|
|
11247
10524
|
i0.ɵɵelementEnd();
|
|
11248
10525
|
} if (rf & 2) {
|
|
11249
|
-
const
|
|
10526
|
+
const ctx_r27 = i0.ɵɵnextContext();
|
|
11250
10527
|
i0.ɵɵadvance(1);
|
|
11251
|
-
i0.ɵɵtextInterpolate3(" ",
|
|
10528
|
+
i0.ɵɵtextInterpolate3(" ", ctx_r27.progressValue, "% completed (Uploading ", ctx_r27.fileCounter, " of ", ctx_r27.files.length, " files) ");
|
|
11252
10529
|
} }
|
|
11253
|
-
function
|
|
11254
|
-
const
|
|
11255
|
-
i0.ɵɵelementStart(0, "div",
|
|
11256
|
-
i0.ɵɵelementStart(1, "button",
|
|
11257
|
-
i0.ɵɵlistener("click", function
|
|
11258
|
-
i0.ɵɵelement(2, "fa-icon",
|
|
10530
|
+
function HeaderSideComponent_div_81_Template(rf, ctx) { if (rf & 1) {
|
|
10531
|
+
const _r75 = i0.ɵɵgetCurrentView();
|
|
10532
|
+
i0.ɵɵelementStart(0, "div", 89);
|
|
10533
|
+
i0.ɵɵelementStart(1, "button", 90);
|
|
10534
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_81_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r75); const ctx_r74 = i0.ɵɵnextContext(); return ctx_r74.saveFiles(); });
|
|
10535
|
+
i0.ɵɵelement(2, "fa-icon", 91);
|
|
11259
10536
|
i0.ɵɵtext(3);
|
|
11260
10537
|
i0.ɵɵpipe(4, "translate");
|
|
11261
10538
|
i0.ɵɵelementEnd();
|
|
11262
|
-
i0.ɵɵelementStart(5, "button",
|
|
11263
|
-
i0.ɵɵlistener("click", function
|
|
11264
|
-
i0.ɵɵelement(6, "fa-icon",
|
|
10539
|
+
i0.ɵɵelementStart(5, "button", 92);
|
|
10540
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_81_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r75); const ctx_r76 = i0.ɵɵnextContext(); return ctx_r76.removeAllFiles(); });
|
|
10541
|
+
i0.ɵɵelement(6, "fa-icon", 93);
|
|
11265
10542
|
i0.ɵɵtext(7);
|
|
11266
10543
|
i0.ɵɵpipe(8, "translate");
|
|
11267
10544
|
i0.ɵɵelementEnd();
|
|
@@ -11272,33 +10549,33 @@ function HeaderSideComponent_div_82_Template(rf, ctx) { if (rf & 1) {
|
|
|
11272
10549
|
i0.ɵɵadvance(4);
|
|
11273
10550
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(8, 4, "DOCUMENTMANAGEMENT.CLEARFILES"), " ");
|
|
11274
10551
|
} }
|
|
11275
|
-
function
|
|
11276
|
-
i0.ɵɵelement(0, "i",
|
|
10552
|
+
function HeaderSideComponent_div_82_i_5_Template(rf, ctx) { if (rf & 1) {
|
|
10553
|
+
i0.ɵɵelement(0, "i", 98);
|
|
11277
10554
|
} }
|
|
11278
|
-
function
|
|
11279
|
-
i0.ɵɵelementStart(0, "div",
|
|
11280
|
-
i0.ɵɵelementStart(1, "button",
|
|
11281
|
-
i0.ɵɵelement(2, "fa-icon",
|
|
10555
|
+
function HeaderSideComponent_div_82_Template(rf, ctx) { if (rf & 1) {
|
|
10556
|
+
i0.ɵɵelementStart(0, "div", 94);
|
|
10557
|
+
i0.ɵɵelementStart(1, "button", 95);
|
|
10558
|
+
i0.ɵɵelement(2, "fa-icon", 96);
|
|
11282
10559
|
i0.ɵɵtext(3);
|
|
11283
10560
|
i0.ɵɵpipe(4, "translate");
|
|
11284
|
-
i0.ɵɵtemplate(5,
|
|
10561
|
+
i0.ɵɵtemplate(5, HeaderSideComponent_div_82_i_5_Template, 1, 0, "i", 97);
|
|
11285
10562
|
i0.ɵɵelementEnd();
|
|
11286
10563
|
i0.ɵɵelementEnd();
|
|
11287
10564
|
} if (rf & 2) {
|
|
11288
|
-
const
|
|
10565
|
+
const ctx_r29 = i0.ɵɵnextContext();
|
|
11289
10566
|
i0.ɵɵadvance(1);
|
|
11290
10567
|
i0.ɵɵproperty("disabled", true);
|
|
11291
10568
|
i0.ɵɵadvance(2);
|
|
11292
10569
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 3, "SHELL.IMPORTINGTEXT"), " ");
|
|
11293
10570
|
i0.ɵɵadvance(2);
|
|
11294
|
-
i0.ɵɵproperty("ngIf",
|
|
10571
|
+
i0.ɵɵproperty("ngIf", ctx_r29.importingInProgress);
|
|
11295
10572
|
} }
|
|
11296
10573
|
const _c10 = function (a0) { return [a0]; };
|
|
11297
|
-
function
|
|
11298
|
-
i0.ɵɵelement(0, "announcement-dialog",
|
|
10574
|
+
function HeaderSideComponent_ng_template_83_Template(rf, ctx) { if (rf & 1) {
|
|
10575
|
+
i0.ɵɵelement(0, "announcement-dialog", 99);
|
|
11299
10576
|
} if (rf & 2) {
|
|
11300
|
-
const
|
|
11301
|
-
i0.ɵɵproperty("data", i0.ɵɵpureFunction1(1, _c10,
|
|
10577
|
+
const data_r78 = ctx.$implicit;
|
|
10578
|
+
i0.ɵɵproperty("data", i0.ɵɵpureFunction1(1, _c10, data_r78));
|
|
11302
10579
|
} }
|
|
11303
10580
|
/** @dynamic */
|
|
11304
10581
|
class HeaderSideComponent extends CustomAppBaseComponent {
|
|
@@ -11379,9 +10656,6 @@ class HeaderSideComponent extends CustomAppBaseComponent {
|
|
|
11379
10656
|
// this.getActTrackerRecorder();
|
|
11380
10657
|
if ((localStorage.getItem(LocalStorageProperties.UserModel) != null && localStorage.getItem(LocalStorageProperties.UserModel) != undefined)) {
|
|
11381
10658
|
this.loadNotifications();
|
|
11382
|
-
var user = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
|
|
11383
|
-
console.log("user", user);
|
|
11384
|
-
this.monitorCompanyrelatedDetails(user);
|
|
11385
10659
|
}
|
|
11386
10660
|
let currentCulture = this.cookieService.get(LocalStorageProperties.CurrentCulture);
|
|
11387
10661
|
const companylan = JSON.parse(this.cookieService.get(LocalStorageProperties.CompanyDetails));
|
|
@@ -11400,6 +10674,20 @@ class HeaderSideComponent extends CustomAppBaseComponent {
|
|
|
11400
10674
|
this.actionUpdates$
|
|
11401
10675
|
.pipe(takeUntil(this.ngDestroyed$), ofType(AuthenticationActionTypes.UserDetailsFetchedAfterCompanyLogin), tap(() => {
|
|
11402
10676
|
this.reload = true;
|
|
10677
|
+
// this.chatService.getRecentChannelMessages().subscribe((recentChannelMessages: any) => {
|
|
10678
|
+
// recentChannelMessages.data.forEach(element => {
|
|
10679
|
+
// this.messagesUnreadCount += element.unreadMessageCount;
|
|
10680
|
+
// });
|
|
10681
|
+
// });
|
|
10682
|
+
// this.chatService.getRecentIndividualMessages().subscribe((recentColleagueMessages: any) => {
|
|
10683
|
+
// var uniq = {};
|
|
10684
|
+
// recentColleagueMessages.data = recentColleagueMessages.data.filter(obj => !uniq[obj.id] && (uniq[obj.id] = true));
|
|
10685
|
+
// recentColleagueMessages.data.forEach(element => {
|
|
10686
|
+
// if(element.id != this.loggedInUserId){
|
|
10687
|
+
// this.messagesUnreadCount += element.unreadMessageCount;
|
|
10688
|
+
// }
|
|
10689
|
+
// });
|
|
10690
|
+
// });
|
|
11403
10691
|
this.getIntroDetails();
|
|
11404
10692
|
this.ngOnInit();
|
|
11405
10693
|
this.getNotifications();
|
|
@@ -12172,6 +11460,10 @@ class HeaderSideComponent extends CustomAppBaseComponent {
|
|
|
12172
11460
|
this.layoutConf = this.layout.layoutConf;
|
|
12173
11461
|
// this.themeModel$ = this.store.pipe(select(sharedModuleReducers.getThemeModel));
|
|
12174
11462
|
//this.store.dispatch(new InitializeAfterLoginData());
|
|
11463
|
+
var user = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
|
|
11464
|
+
if (user != null) {
|
|
11465
|
+
this.monitorCompanyrelatedDetails(user);
|
|
11466
|
+
}
|
|
12175
11467
|
this.loggedInUserId = this.cookieService.get(LocalStorageProperties.CurrentUserId);
|
|
12176
11468
|
this.getEmployeeIdByUserId();
|
|
12177
11469
|
let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
@@ -12192,9 +11484,6 @@ class HeaderSideComponent extends CustomAppBaseComponent {
|
|
|
12192
11484
|
this.companiesList = user.companiesList;
|
|
12193
11485
|
this.getCompanyDetails(user.companyId);
|
|
12194
11486
|
var company = this.companiesList.filter(x => x.companyId.toLowerCase() == this.cookieService.get(LocalStorageProperties.CompanyId).toLowerCase());
|
|
12195
|
-
console.log("company", company, this.companiesList);
|
|
12196
|
-
console.log("companyId", this.cookieService.get(LocalStorageProperties.CompanyId));
|
|
12197
|
-
console.log("user", user);
|
|
12198
11487
|
this.selectedCompany = company ? company[0] : null;
|
|
12199
11488
|
this.selectedCompanyName = company ? company[0] ? company[0].companyName : null : null;
|
|
12200
11489
|
}
|
|
@@ -12783,12 +12072,12 @@ class HeaderSideComponent extends CustomAppBaseComponent {
|
|
|
12783
12072
|
});
|
|
12784
12073
|
}
|
|
12785
12074
|
}
|
|
12786
|
-
HeaderSideComponent.ɵfac = function HeaderSideComponent_Factory(t) { return new (t || HeaderSideComponent)(i0.ɵɵdirectiveInject(i1$4.PushNotificationsService), i0.ɵɵdirectiveInject(ThemeService), i0.ɵɵdirectiveInject(i3$1.NgxUiLoaderService), i0.ɵɵdirectiveInject(LayoutService), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i2$2.PubNubAngular), i0.ɵɵdirectiveInject(AuthenticationService), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i6.ToastrService), i0.ɵɵdirectiveInject(i15.StoreManagementService), i0.ɵɵdirectiveInject(ShellModulesService), i0.ɵɵdirectiveInject(ChatService), i0.ɵɵdirectiveInject(SignalrService), i0.ɵɵdirectiveInject(WINDOW)); };
|
|
12075
|
+
HeaderSideComponent.ɵfac = function HeaderSideComponent_Factory(t) { return new (t || HeaderSideComponent)(i0.ɵɵdirectiveInject(i1$4.PushNotificationsService), i0.ɵɵdirectiveInject(ThemeService), i0.ɵɵdirectiveInject(i3$1.NgxUiLoaderService), i0.ɵɵdirectiveInject(LayoutService), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i2$2.PubNubAngular), i0.ɵɵdirectiveInject(AuthenticationService), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i6.ToastrService), i0.ɵɵdirectiveInject(i15$1.StoreManagementService), i0.ɵɵdirectiveInject(ShellModulesService), i0.ɵɵdirectiveInject(ChatService), i0.ɵɵdirectiveInject(SignalrService), i0.ɵɵdirectiveInject(WINDOW)); };
|
|
12787
12076
|
HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderSideComponent, selectors: [["app-header-side"]], viewQuery: function HeaderSideComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12788
|
-
i0.ɵɵviewQuery(_c0$
|
|
12789
|
-
i0.ɵɵviewQuery(_c1$
|
|
12790
|
-
i0.ɵɵviewQuery(_c2
|
|
12791
|
-
i0.ɵɵviewQuery(_c3
|
|
12077
|
+
i0.ɵɵviewQuery(_c0$7, 5);
|
|
12078
|
+
i0.ɵɵviewQuery(_c1$1, 5);
|
|
12079
|
+
i0.ɵɵviewQuery(_c2, 5);
|
|
12080
|
+
i0.ɵɵviewQuery(_c3, 5);
|
|
12792
12081
|
i0.ɵɵviewQuery(_c4, 5);
|
|
12793
12082
|
} if (rf & 2) {
|
|
12794
12083
|
let _t;
|
|
@@ -12797,153 +12086,150 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
12797
12086
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.documentPopover = _t.first);
|
|
12798
12087
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.openAnnoucementDialogComponent = _t.first);
|
|
12799
12088
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileUploadDropzonePopup = _t);
|
|
12800
|
-
} }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
12801
|
-
const
|
|
12802
|
-
i0.ɵɵelementStart(0, "
|
|
12089
|
+
} }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 85, vars: 47, consts: [[1, "navbar", "navbar-expand-lg", "shadow-sm", 2, "padding", "0 20px", "height", "65px", "position", "relative", "z-index", "1200", "/* keep in front */\n background", "#ffffff", "border-bottom", "3px solid rgba(255,255,255,0.1)", "backdrop-filter", "blur(10px)"], [1, "container-fluid", 2, "display", "flex", "align-items", "center", "justify-content", "space-between", "padding", "0"], [2, "flex", "0 0 auto"], [3, "reload", "isOpened", "openNewDashboard"], [2, "display", "flex", "align-items", "center", "gap", "10px", "margin-left", "auto"], ["class", "filter-data custom-box language-section", "style", "width:180px; position:relative;", 3, "click", 4, "ngIf"], [4, "ngIf"], ["mat-icon-button", "", "id", "feedTimeSheetComponent", "matTooltipClass", "tooltipClass-mat", 1, "topbar-button-right", "theme-navbar-icon-color", 2, "background", "rgba(255,255,255,0.12)", "border-radius", "10px", 3, "matTooltip", "satPopoverAnchorFor", "click"], ["feedTimeSheet", ""], [2, "color", "#09555c"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", "class", "topbar-button-right theme-navbar-icon-color", "style", "position:relative; background:rgba(255,255,255,0.12); border-radius:10px;", 3, "matTooltip", "overflow", "matMenuTriggerFor", "click", 4, "ngIf"], ["notification", "matMenu"], ["mat-icon-button", "", "class", "topbar-button-right img-button", "style", "width:24px; height:24px; background:rgba(255,255,255,0.12); border-radius:50%; border:1px solid #09555c; display:flex; align-items:center; justify-content:center; padding:0;", 3, "matMenuTriggerFor", "ngClass", "click", 4, "ngIf"], ["accountMenu", "matMenu"], ["mat-menu-item", "", 3, "click"], ["class", "activity-recorder recording-style", 4, "ngIf"], ["mat-menu-item", "", "matTooltipClass", "tooltipClass-mat", 3, "matTooltip", "overflow", "click", 4, "ngIf"], ["mat-menu-item", "", "matTooltipClass", "tooltipClass-mat", 3, "matTooltip", "satPopoverAnchorFor", "click", 4, "ngIf"], ["mat-menu-item", "", 3, "click", 4, "ngIf"], ["mat-menu-item", "", "matTooltipClass", "tooltipClass-mat", 3, "overflow", "matTooltip", "click", 4, "ngIf"], [1, "feedback-icon", 3, "satPopoverAnchorFor"], ["class", "k-i-loading", "style", "position:fixed; z-index:1300; top:0; left:0; right:0;", 4, "ngIf"], ["verticalAlign", "below", "hasBackdrop", "", "backdropClass", "backdrop-color", "horizontalAlign", "end", 3, "interactiveClose"], ["feedBackPopover", ""], [3, "closeDialog", 4, "ngIf"], [1, "dialog_window", 3, "click"], ["menu2", "matMenu"], ["id", "style-1", 1, "p-0", "m-0", "listof_assets", "store-list-dropdown"], [1, "compact-list"], ["class", "p-0 asset-card", 3, "routerLink", 4, "ngIf"], ["class", "welcome-note", "style", "z-index: 1250; position: fixed; top: 72px; right: 16px;", 4, "ngIf"], ["hasBackdrop", "", "backdropClass", "testrun-popover", "scrollStrategy", "reposition", 3, "interactiveClose"], ["fileUploadDropzonePopover", ""], [1, "p-0", "mr-0", "custom-hrm-dropzone", 2, "max-width", "520px"], ["fxLayout", "row", 1, "card-title-text", "mat-bg-primary", "p-05", 2, "display", "flex", "align-items", "center"], ["fxFlex", "", 1, "text-center", 2, "flex", "1", "text-align", "center"], ["fxFlex", "20px", "fxLayoutAlign", "end center", 2, "width", "20px", "display", "flex", "justify-content", "flex-end"], [1, "inline_edit_close_btn", "btn", 3, "click"], ["icon", "times"], [1, "m-1", 2, "padding", "8px"], ["ngx-dropzone", "", "accept", ".json", 1, "custom-dropzone", "dropzone-height", 3, "change"], ["class", "custom-dropzone-preview", 3, "removable", "removed", 4, "ngFor", "ngForOf"], [1, "m-05", "text-muted", 2, "text-align", "center", "margin-top", "6px"], ["color", "primary", "mode", "determinate", 3, "value", 4, "ngIf"], ["style", "margin-top:6px;", 4, "ngIf"], ["class", "mt-05", "fxLayoutAlign", "center end", "style", "margin-top:10px; display:flex; justify-content:center; gap:8px;", 4, "ngIf"], ["class", "mt-05", "fxLayoutAlign", "center end", "style", "margin-top:10px; display:flex; justify-content:center;", 4, "ngIf"], ["openAnnoucementDialogComponent", ""], [1, "filter-data", "custom-box", "language-section", 2, "width", "180px", "position", "relative", 3, "click"], ["placeholder", "", "name", "selectedCompany", "panelClass", "company-select-panel", 3, "ngModel", "ngModelChange", "selectionChange"], ["fxLayout", "row", "fxLayoutGap", "10px", "style", "display:flex; align-items:center; gap:10px;", 4, "ngIf"], ["fxFlex", "", "fxLayoutAlign", "start center", 1, "search_goalinput", "ml-1", 2, "position", "sticky", "top", "0", "z-index", "1", "background-color", "rgb(0, 0, 0)", "padding", "6px 8px", "display", "flex", "align-items", "center"], ["fxLayoutAlign", "start center", 2, "flex", "1"], [1, "full-width", 2, "width", "100%", "margin", "0"], ["matInput", "", "autocomplete", "off", 1, "search_goal", 3, "placeholder", "ngModel", "ngModelChange"], ["fxLayoutAlign", "end center", 1, "close_icon", "masterdata-search-close", 2, "margin-left", "6px"], ["class", "icon-button mr-05 mt-05", "aria-hidden", "false", "style", "cursor:pointer", 3, "click", 4, "ngIf"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip", 4, "ngFor", "ngForOf"], ["fxLayout", "row", "fxLayoutGap", "10px", 2, "display", "flex", "align-items", "center", "gap", "10px"], [3, "ngStyle"], ["fxLayoutAlign", "start center", "matTooltipClass", "tooltipClass-mat", "size", "20", 3, "name", "matTooltip", "src", "isRound"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 1, "language-display", 2, "color", "#09555c", "font-weight", "600", "overflow", "hidden", "text-overflow", "ellipsis", "white-space", "nowrap", 3, "matTooltip"], ["aria-hidden", "false", 1, "icon-button", "mr-05", "mt-05", 2, "cursor", "pointer", 3, "click"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip"], ["fxLayout", "row", 1, "cursor-pointer", 2, "display", "flex", "align-items", "center"], ["fxLayoutAlign", "start center", "matTooltipClass", "tooltipClass-mat", "size", "20", 3, "name", "ngStyle", "matTooltip", "src", "isRound"], [1, "ml-05", 2, "margin-left", "8px"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "topbar-button-right", "theme-navbar-icon-color", 2, "background", "rgba(255,255,255,0.12)", "border-radius", "10px", 3, "matTooltip", "ngClass", "click"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "topbar-button-right", "theme-navbar-icon-color", 2, "background", "rgba(255,255,255,0.12)", "border-radius", "10px", 3, "matTooltip", "click"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "topbar-button-right", "theme-navbar-icon-color", 2, "position", "relative", "background", "rgba(255,255,255,0.12)", "border-radius", "10px", 3, "matTooltip", "matMenuTriggerFor", "click"], ["class", "notification-number mat-bg-warn", "style", "position:absolute; top:-2px; right:-2px;", 4, "ngIf"], [1, "notification-number", "mat-bg-warn", 2, "position", "absolute", "top", "-2px", "right", "-2px"], ["mat-icon-button", "", 1, "topbar-button-right", "img-button", 2, "width", "24px", "height", "24px", "background", "rgba(255,255,255,0.12)", "border-radius", "50%", "border", "1px solid #09555c", "display", "flex", "align-items", "center", "justify-content", "center", "padding", "0", 3, "matMenuTriggerFor", "ngClass", "click"], [2, "font-size", "24px", "color", "#09555c"], [1, "activity-recorder", "recording-style"], ["mat-menu-item", "", "matTooltipClass", "tooltipClass-mat", 3, "matTooltip", "click"], ["mat-menu-item", "", "matTooltipClass", "tooltipClass-mat", 3, "matTooltip", "satPopoverAnchorFor", "click"], ["fileUploadDropzonePopup", "satPopoverAnchor"], [1, "k-i-loading", 2, "position", "fixed", "z-index", "1300", "top", "0", "left", "0", "right", "0"], [3, "closeDialog"], [1, "p-0", "asset-card", 3, "routerLink"], [1, "hide-content-overflow", "userStory-name-control", "store-dropdown-padding"], [1, "welcome-note", 2, "z-index", "1250", "position", "fixed", "top", "72px", "right", "16px"], [4, "ngIf", "ngIfElse"], ["elseSpan", ""], [1, "custom-dropzone-preview", 3, "removable", "removed"], [1, "custom-dropzone-label"], ["color", "primary", "mode", "determinate", 3, "value"], [2, "margin-top", "6px"], ["fxLayoutAlign", "center end", 1, "mt-05", 2, "margin-top", "10px", "display", "flex", "justify-content", "center", "gap", "8px"], ["mat-button", "", "mat-raised-button", "", "color", "primary", 3, "click"], ["icon", "save", 1, "mr-05"], ["mat-button", "", "mat-raised-button", "", 1, "ml-1", 3, "click"], ["icon", "times", 1, "mr-05"], ["fxLayoutAlign", "center end", 1, "mt-05", 2, "margin-top", "10px", "display", "flex", "justify-content", "center"], ["mat-button", "", "mat-raised-button", "", 1, "ml-1", 3, "disabled"], ["icon", "upload", 1, "mr-05"], ["class", "fa fa-spin fa-spinner", 4, "ngIf"], [1, "fa", "fa-spin", "fa-spinner"], [3, "data"]], template: function HeaderSideComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12090
|
+
const _r79 = i0.ɵɵgetCurrentView();
|
|
12091
|
+
i0.ɵɵelementStart(0, "nav", 0);
|
|
12803
12092
|
i0.ɵɵelementStart(1, "div", 1);
|
|
12804
|
-
i0.ɵɵelementStart(2, "
|
|
12805
|
-
i0.ɵɵ
|
|
12806
|
-
i0.ɵɵ
|
|
12093
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
12094
|
+
i0.ɵɵelementStart(3, "app-menu", 3);
|
|
12095
|
+
i0.ɵɵlistener("isOpened", function HeaderSideComponent_Template_app_menu_isOpened_3_listener($event) { return ctx.isOpened($event); })("openNewDashboard", function HeaderSideComponent_Template_app_menu_openNewDashboard_3_listener($event) { return ctx.navigateToUrl($event); });
|
|
12807
12096
|
i0.ɵɵelementEnd();
|
|
12808
|
-
i0.ɵɵelement(3, "div", 3);
|
|
12809
|
-
i0.ɵɵtext(4);
|
|
12810
|
-
i0.ɵɵpipe(5, "json");
|
|
12811
|
-
i0.ɵɵelementStart(6, "div", 4);
|
|
12812
|
-
i0.ɵɵtemplate(7, HeaderSideComponent_div_7_Template, 13, 9, "div", 5);
|
|
12813
|
-
i0.ɵɵtemplate(8, HeaderSideComponent_div_8_Template, 5, 4, "div", 6);
|
|
12814
|
-
i0.ɵɵtemplate(9, HeaderSideComponent_div_9_Template, 5, 3, "div", 6);
|
|
12815
12097
|
i0.ɵɵelementEnd();
|
|
12816
|
-
i0.ɵɵ
|
|
12817
|
-
i0.ɵɵtemplate(
|
|
12818
|
-
i0.ɵɵ
|
|
12819
|
-
i0.ɵɵ
|
|
12098
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
12099
|
+
i0.ɵɵtemplate(5, HeaderSideComponent_div_5_Template, 13, 9, "div", 5);
|
|
12100
|
+
i0.ɵɵtemplate(6, HeaderSideComponent_div_6_Template, 5, 4, "div", 6);
|
|
12101
|
+
i0.ɵɵtemplate(7, HeaderSideComponent_div_7_Template, 5, 3, "div", 6);
|
|
12102
|
+
i0.ɵɵelementStart(8, "button", 7, 8);
|
|
12103
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_8_listener() { return ctx.openTimeSheet(); });
|
|
12104
|
+
i0.ɵɵpipe(10, "translate");
|
|
12105
|
+
i0.ɵɵelementStart(11, "mat-icon", 9);
|
|
12106
|
+
i0.ɵɵtext(12, "access_time");
|
|
12820
12107
|
i0.ɵɵelementEnd();
|
|
12821
|
-
i0.ɵɵtemplate(15, HeaderSideComponent_button_15_Template, 3, 4, "button", 9);
|
|
12822
|
-
i0.ɵɵelementStart(16, "sat-popover", 10, 11);
|
|
12823
|
-
i0.ɵɵelementStart(18, "app-feed-time", 12);
|
|
12824
|
-
i0.ɵɵlistener("closeFeedTimeSheetPopup", function HeaderSideComponent_Template_app_feed_time_closeFeedTimeSheetPopup_18_listener() { return ctx.closeFeedTimeSheet(); });
|
|
12825
12108
|
i0.ɵɵelementEnd();
|
|
12109
|
+
i0.ɵɵtemplate(13, HeaderSideComponent_button_13_Template, 5, 7, "button", 10);
|
|
12110
|
+
i0.ɵɵelementStart(14, "mat-menu", null, 11);
|
|
12111
|
+
i0.ɵɵelement(16, "app-notifications");
|
|
12826
12112
|
i0.ɵɵelementEnd();
|
|
12827
|
-
i0.ɵɵ
|
|
12828
|
-
i0.ɵɵelementStart(
|
|
12829
|
-
i0.ɵɵ
|
|
12830
|
-
i0.ɵɵ
|
|
12831
|
-
i0.ɵɵ
|
|
12113
|
+
i0.ɵɵtemplate(17, HeaderSideComponent_button_17_Template, 3, 2, "button", 12);
|
|
12114
|
+
i0.ɵɵelementStart(18, "mat-menu", null, 13);
|
|
12115
|
+
i0.ɵɵelementStart(20, "button", 14);
|
|
12116
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_20_listener() { return ctx.navigateToProfile(); });
|
|
12117
|
+
i0.ɵɵelementStart(21, "mat-icon");
|
|
12118
|
+
i0.ɵɵtext(22, "account_box");
|
|
12832
12119
|
i0.ɵɵelementEnd();
|
|
12833
|
-
i0.ɵɵelementStart(
|
|
12834
|
-
i0.ɵɵtext(
|
|
12835
|
-
i0.ɵɵpipe(
|
|
12120
|
+
i0.ɵɵelementStart(23, "span");
|
|
12121
|
+
i0.ɵɵtext(24);
|
|
12122
|
+
i0.ɵɵpipe(25, "translate");
|
|
12836
12123
|
i0.ɵɵelementEnd();
|
|
12837
|
-
i0.ɵɵtemplate(
|
|
12124
|
+
i0.ɵɵtemplate(26, HeaderSideComponent_mat_icon_26_Template, 1, 0, "mat-icon", 15);
|
|
12838
12125
|
i0.ɵɵelementEnd();
|
|
12126
|
+
i0.ɵɵtemplate(27, HeaderSideComponent_button_27_Template, 7, 8, "button", 16);
|
|
12839
12127
|
i0.ɵɵtemplate(28, HeaderSideComponent_button_28_Template, 7, 8, "button", 16);
|
|
12840
|
-
i0.ɵɵtemplate(29, HeaderSideComponent_button_29_Template,
|
|
12841
|
-
i0.ɵɵtemplate(30, HeaderSideComponent_button_30_Template,
|
|
12128
|
+
i0.ɵɵtemplate(29, HeaderSideComponent_button_29_Template, 8, 7, "button", 17);
|
|
12129
|
+
i0.ɵɵtemplate(30, HeaderSideComponent_button_30_Template, 5, 0, "button", 18);
|
|
12842
12130
|
i0.ɵɵtemplate(31, HeaderSideComponent_button_31_Template, 5, 0, "button", 18);
|
|
12843
|
-
i0.ɵɵtemplate(32, HeaderSideComponent_button_32_Template,
|
|
12844
|
-
i0.ɵɵ
|
|
12845
|
-
i0.ɵɵ
|
|
12846
|
-
i0.ɵɵ
|
|
12847
|
-
i0.ɵɵ
|
|
12848
|
-
i0.ɵɵtext(36, "exit_to_app");
|
|
12131
|
+
i0.ɵɵtemplate(32, HeaderSideComponent_button_32_Template, 7, 8, "button", 19);
|
|
12132
|
+
i0.ɵɵelementStart(33, "button", 14);
|
|
12133
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_33_listener() { return ctx.onSignout(); });
|
|
12134
|
+
i0.ɵɵelementStart(34, "mat-icon");
|
|
12135
|
+
i0.ɵɵtext(35, "exit_to_app");
|
|
12849
12136
|
i0.ɵɵelementEnd();
|
|
12850
|
-
i0.ɵɵelementStart(
|
|
12851
|
-
i0.ɵɵtext(
|
|
12852
|
-
i0.ɵɵpipe(
|
|
12137
|
+
i0.ɵɵelementStart(36, "span");
|
|
12138
|
+
i0.ɵɵtext(37);
|
|
12139
|
+
i0.ɵɵpipe(38, "translate");
|
|
12140
|
+
i0.ɵɵelementEnd();
|
|
12141
|
+
i0.ɵɵelementEnd();
|
|
12142
|
+
i0.ɵɵelement(39, "mat-divider");
|
|
12143
|
+
i0.ɵɵelementStart(40, "button", 14);
|
|
12144
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_40_listener() { i0.ɵɵrestoreView(_r79); const _r16 = i0.ɵɵreference(47); _r16.toggle(); return ctx.openFeedBackDialog(); });
|
|
12145
|
+
i0.ɵɵelementStart(41, "mat-icon", 20);
|
|
12146
|
+
i0.ɵɵtext(42, " sentiment_satisfied_alt ");
|
|
12853
12147
|
i0.ɵɵelementEnd();
|
|
12148
|
+
i0.ɵɵelementStart(43, "span");
|
|
12149
|
+
i0.ɵɵtext(44);
|
|
12854
12150
|
i0.ɵɵelementEnd();
|
|
12855
|
-
i0.ɵɵelement(40, "mat-divider");
|
|
12856
|
-
i0.ɵɵelementStart(41, "button", 14);
|
|
12857
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_41_listener() { i0.ɵɵrestoreView(_r84); const _r17 = i0.ɵɵreference(48); _r17.toggle(); return ctx.openFeedBackDialog(); });
|
|
12858
|
-
i0.ɵɵelementStart(42, "mat-icon", 20);
|
|
12859
|
-
i0.ɵɵtext(43, " sentiment_satisfied_alt ");
|
|
12860
12151
|
i0.ɵɵelementEnd();
|
|
12861
|
-
i0.ɵɵelementStart(44, "span");
|
|
12862
|
-
i0.ɵɵtext(45);
|
|
12863
12152
|
i0.ɵɵelementEnd();
|
|
12864
12153
|
i0.ɵɵelementEnd();
|
|
12865
12154
|
i0.ɵɵelementEnd();
|
|
12866
12155
|
i0.ɵɵelementEnd();
|
|
12867
|
-
i0.ɵɵtemplate(
|
|
12868
|
-
i0.ɵɵelementStart(
|
|
12869
|
-
i0.ɵɵtemplate(
|
|
12156
|
+
i0.ɵɵtemplate(45, HeaderSideComponent_div_45_Template, 1, 0, "div", 21);
|
|
12157
|
+
i0.ɵɵelementStart(46, "sat-popover", 22, 23);
|
|
12158
|
+
i0.ɵɵtemplate(48, HeaderSideComponent_app_submit_feedback_48_Template, 1, 0, "app-submit-feedback", 24);
|
|
12870
12159
|
i0.ɵɵelementEnd();
|
|
12871
|
-
i0.ɵɵelementStart(
|
|
12872
|
-
i0.ɵɵlistener("click", function
|
|
12873
|
-
i0.ɵɵelementStart(
|
|
12874
|
-
i0.ɵɵelementStart(
|
|
12160
|
+
i0.ɵɵelementStart(49, "mat-menu", 25, 26);
|
|
12161
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_mat_menu_click_49_listener($event) { return $event.stopPropagation(); });
|
|
12162
|
+
i0.ɵɵelementStart(51, "mat-card-content", 27);
|
|
12163
|
+
i0.ɵɵelementStart(52, "mat-list", 28);
|
|
12164
|
+
i0.ɵɵtemplate(53, HeaderSideComponent_mat_card_53_Template, 3, 2, "mat-card", 29);
|
|
12875
12165
|
i0.ɵɵtemplate(54, HeaderSideComponent_mat_card_54_Template, 3, 2, "mat-card", 29);
|
|
12876
12166
|
i0.ɵɵtemplate(55, HeaderSideComponent_mat_card_55_Template, 3, 2, "mat-card", 29);
|
|
12877
|
-
i0.ɵɵtemplate(56, HeaderSideComponent_mat_card_56_Template,
|
|
12878
|
-
i0.ɵɵtemplate(57, HeaderSideComponent_mat_card_57_Template, 4, 6, "mat-card", 29);
|
|
12167
|
+
i0.ɵɵtemplate(56, HeaderSideComponent_mat_card_56_Template, 4, 6, "mat-card", 29);
|
|
12879
12168
|
i0.ɵɵelementEnd();
|
|
12880
12169
|
i0.ɵɵelementEnd();
|
|
12881
12170
|
i0.ɵɵelementEnd();
|
|
12882
|
-
i0.ɵɵtemplate(
|
|
12883
|
-
i0.ɵɵelementStart(
|
|
12884
|
-
i0.ɵɵelementStart(
|
|
12885
|
-
i0.ɵɵelementStart(
|
|
12886
|
-
i0.ɵɵelementStart(
|
|
12887
|
-
i0.ɵɵelementStart(
|
|
12888
|
-
i0.ɵɵtext(
|
|
12889
|
-
i0.ɵɵpipe(
|
|
12171
|
+
i0.ɵɵtemplate(57, HeaderSideComponent_div_57_Template, 6, 4, "div", 30);
|
|
12172
|
+
i0.ɵɵelementStart(58, "sat-popover", 31, 32);
|
|
12173
|
+
i0.ɵɵelementStart(60, "mat-card", 33);
|
|
12174
|
+
i0.ɵɵelementStart(61, "mat-card-title");
|
|
12175
|
+
i0.ɵɵelementStart(62, "div", 34);
|
|
12176
|
+
i0.ɵɵelementStart(63, "div", 35);
|
|
12177
|
+
i0.ɵɵtext(64);
|
|
12178
|
+
i0.ɵɵpipe(65, "translate");
|
|
12890
12179
|
i0.ɵɵelementEnd();
|
|
12891
|
-
i0.ɵɵelementStart(
|
|
12892
|
-
i0.ɵɵelementStart(
|
|
12893
|
-
i0.ɵɵlistener("click", function
|
|
12894
|
-
i0.ɵɵelement(
|
|
12180
|
+
i0.ɵɵelementStart(66, "div", 36);
|
|
12181
|
+
i0.ɵɵelementStart(67, "button", 37);
|
|
12182
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_67_listener() { return ctx.closeUploadFilePopup(); });
|
|
12183
|
+
i0.ɵɵelement(68, "fa-icon", 38);
|
|
12895
12184
|
i0.ɵɵelementEnd();
|
|
12896
12185
|
i0.ɵɵelementEnd();
|
|
12897
12186
|
i0.ɵɵelementEnd();
|
|
12898
12187
|
i0.ɵɵelementEnd();
|
|
12899
|
-
i0.ɵɵelementStart(
|
|
12900
|
-
i0.ɵɵelementStart(
|
|
12901
|
-
i0.ɵɵlistener("change", function
|
|
12902
|
-
i0.ɵɵelementStart(
|
|
12903
|
-
i0.ɵɵelementStart(
|
|
12904
|
-
i0.ɵɵtext(
|
|
12905
|
-
i0.ɵɵpipe(
|
|
12188
|
+
i0.ɵɵelementStart(69, "div", 39);
|
|
12189
|
+
i0.ɵɵelementStart(70, "div", 40);
|
|
12190
|
+
i0.ɵɵlistener("change", function HeaderSideComponent_Template_div_change_70_listener($event) { return ctx.filesSelected($event); });
|
|
12191
|
+
i0.ɵɵelementStart(71, "ngx-dropzone-label");
|
|
12192
|
+
i0.ɵɵelementStart(72, "span");
|
|
12193
|
+
i0.ɵɵtext(73);
|
|
12194
|
+
i0.ɵɵpipe(74, "translate");
|
|
12906
12195
|
i0.ɵɵelementEnd();
|
|
12907
12196
|
i0.ɵɵelementEnd();
|
|
12908
|
-
i0.ɵɵtemplate(
|
|
12197
|
+
i0.ɵɵtemplate(75, HeaderSideComponent_ngx_dropzone_preview_75_Template, 3, 3, "ngx-dropzone-preview", 41);
|
|
12909
12198
|
i0.ɵɵelementEnd();
|
|
12910
|
-
i0.ɵɵelementStart(
|
|
12911
|
-
i0.ɵɵelementStart(
|
|
12912
|
-
i0.ɵɵtext(
|
|
12199
|
+
i0.ɵɵelementStart(76, "div", 42);
|
|
12200
|
+
i0.ɵɵelementStart(77, "span");
|
|
12201
|
+
i0.ɵɵtext(78, "allowed file extensions : .json");
|
|
12913
12202
|
i0.ɵɵelementEnd();
|
|
12914
12203
|
i0.ɵɵelementEnd();
|
|
12915
|
-
i0.ɵɵtemplate(
|
|
12916
|
-
i0.ɵɵtemplate(
|
|
12917
|
-
i0.ɵɵtemplate(
|
|
12918
|
-
i0.ɵɵtemplate(
|
|
12204
|
+
i0.ɵɵtemplate(79, HeaderSideComponent_mat_progress_bar_79_Template, 1, 1, "mat-progress-bar", 43);
|
|
12205
|
+
i0.ɵɵtemplate(80, HeaderSideComponent_div_80_Template, 2, 3, "div", 44);
|
|
12206
|
+
i0.ɵɵtemplate(81, HeaderSideComponent_div_81_Template, 9, 6, "div", 45);
|
|
12207
|
+
i0.ɵɵtemplate(82, HeaderSideComponent_div_82_Template, 6, 5, "div", 46);
|
|
12919
12208
|
i0.ɵɵelementEnd();
|
|
12920
12209
|
i0.ɵɵelementEnd();
|
|
12921
12210
|
i0.ɵɵelementEnd();
|
|
12922
|
-
i0.ɵɵtemplate(
|
|
12211
|
+
i0.ɵɵtemplate(83, HeaderSideComponent_ng_template_83_Template, 1, 3, "ng-template", null, 47, i0.ɵɵtemplateRefExtractor);
|
|
12923
12212
|
} if (rf & 2) {
|
|
12924
|
-
const
|
|
12925
|
-
i0.ɵɵ
|
|
12213
|
+
const _r3 = i0.ɵɵreference(9);
|
|
12214
|
+
const _r16 = i0.ɵɵreference(47);
|
|
12215
|
+
i0.ɵɵadvance(3);
|
|
12926
12216
|
i0.ɵɵproperty("reload", ctx.reload);
|
|
12927
12217
|
i0.ɵɵadvance(2);
|
|
12928
|
-
i0.ɵɵtextInterpolate1(" selectedCompany ", i0.ɵɵpipeBind1(5, 39, ctx.selectedCompany), " ");
|
|
12929
|
-
i0.ɵɵadvance(3);
|
|
12930
12218
|
i0.ɵɵproperty("ngIf", ctx.companiesList != null && ctx.companiesList.length > 1);
|
|
12931
12219
|
i0.ɵɵadvance(1);
|
|
12932
12220
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_Settings || ctx.canAccess_feature_ViewRoles);
|
|
12933
12221
|
i0.ɵɵadvance(1);
|
|
12934
12222
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_MyProjectWork);
|
|
12935
12223
|
i0.ɵɵadvance(1);
|
|
12936
|
-
i0.ɵɵ
|
|
12937
|
-
i0.ɵɵ
|
|
12224
|
+
i0.ɵɵstyleProp("overflow", "visible");
|
|
12225
|
+
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(10, 37, "SHELL.LOGTIME"));
|
|
12226
|
+
i0.ɵɵproperty("satPopoverAnchorFor", _r3);
|
|
12227
|
+
i0.ɵɵadvance(5);
|
|
12938
12228
|
i0.ɵɵproperty("ngIf", ctx.newNotificationsCount != 0);
|
|
12939
12229
|
i0.ɵɵadvance(4);
|
|
12940
12230
|
i0.ɵɵproperty("ngIf", ctx.authenticatedUserRecord);
|
|
12941
|
-
i0.ɵɵadvance(1);
|
|
12942
|
-
i0.ɵɵproperty("autoFocus", false)("restoreFocus", false)("interactiveClose", true);
|
|
12943
|
-
i0.ɵɵadvance(2);
|
|
12944
|
-
i0.ɵɵproperty("isFeedTimeSheet", ctx.isFeedTimeSheet);
|
|
12945
12231
|
i0.ɵɵadvance(7);
|
|
12946
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
12232
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(25, 39, "SHELL.PROFILE"));
|
|
12947
12233
|
i0.ɵɵadvance(2);
|
|
12948
12234
|
i0.ɵɵproperty("ngIf", ctx.isRecording);
|
|
12949
12235
|
i0.ɵɵadvance(1);
|
|
@@ -12959,9 +12245,9 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
12959
12245
|
i0.ɵɵadvance(1);
|
|
12960
12246
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_AlternateSignIn);
|
|
12961
12247
|
i0.ɵɵadvance(5);
|
|
12962
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
12248
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(38, 41, "SHELL.SIGNOUT"));
|
|
12963
12249
|
i0.ɵɵadvance(4);
|
|
12964
|
-
i0.ɵɵproperty("satPopoverAnchorFor",
|
|
12250
|
+
i0.ɵɵproperty("satPopoverAnchorFor", _r16);
|
|
12965
12251
|
i0.ɵɵadvance(3);
|
|
12966
12252
|
i0.ɵɵtextInterpolate1("v-", ctx.applicationVersion, "");
|
|
12967
12253
|
i0.ɵɵadvance(1);
|
|
@@ -12983,9 +12269,9 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
12983
12269
|
i0.ɵɵadvance(1);
|
|
12984
12270
|
i0.ɵɵproperty("interactiveClose", false);
|
|
12985
12271
|
i0.ɵɵadvance(6);
|
|
12986
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
12272
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(65, 43, "TESTMANAGEMENT.UPLOADFILES"), " ");
|
|
12987
12273
|
i0.ɵɵadvance(9);
|
|
12988
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
12274
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(74, 45, "DOCUMENTMANAGEMENT.DRAGANDDROPFILESHERE"));
|
|
12989
12275
|
i0.ɵɵadvance(2);
|
|
12990
12276
|
i0.ɵɵproperty("ngForOf", ctx.files);
|
|
12991
12277
|
i0.ɵɵadvance(4);
|
|
@@ -12996,7 +12282,7 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
12996
12282
|
i0.ɵɵproperty("ngIf", ctx.filesPresent);
|
|
12997
12283
|
i0.ɵɵadvance(1);
|
|
12998
12284
|
i0.ɵɵproperty("ngIf", ctx.importingInProgress);
|
|
12999
|
-
} }, directives: [
|
|
12285
|
+
} }, directives: [MenuComponent, i10.NgIf, i8.MatButton, i7$1.MatTooltip, i23.SatPopoverAnchor, i17.MatIcon, i16.MatMenu, NotificationsComponent, i16.MatMenuItem, i7$2.MatDivider, i23.SatPopover, i7.MatCardContent, i12.MatList, i7.MatCard, i7.MatCardTitle, i30.DefaultLayoutDirective, i30.DefaultFlexDirective, i30.DefaultLayoutAlignDirective, i4.FaIconComponent, i32.NgxDropzoneComponent, i32.ɵb, i10.NgForOf, i33.MatSelect, i9.NgControlStatus, i9.NgModel, i33.MatSelectTrigger, i21.MatFormField, i22.MatInput, i9.DefaultValueAccessor, i30.DefaultLayoutGapDirective, i10.NgStyle, i15.DefaultStyleDirective, i6$1.SnovasysAvatarComponent, i14.MatOption, i10.NgClass, i15.DefaultClassDirective, i16.MatMenuTrigger, FeedBackSubmissionComponent, i2.RouterLink, i32.NgxDropzonePreviewComponent, i27.MatProgressBar, AnnoucementDialogComponent], pipes: [i5$1.TranslatePipe, RemoveSpecialCharactersPipe, FetchSizedAndCachedImagePipe, SoftLabelPipe], styles: [".file-or-folder-icon[_ngcontent-%COMP%] {\n width: 50px;\n height: 50px;\n font-size: 50px;\n }\n\n .file-or-folder-name-align[_ngcontent-%COMP%] {\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n text-align: center;\n word-break: break-word;\n }\n\n .dropzone-height[_ngcontent-%COMP%] {\n height: 130px;\n }\n\n .custom-dropzone-preview[_ngcontent-%COMP%] {\n height: 100px !important;\n min-height: 100px !important;\n padding: 0px !important;\n }\n\n \n .cdk-overlay-container[_ngcontent-%COMP%], .cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%] {\n z-index: 1300 !important;\n }\n\n \n .company-select-panel[_ngcontent-%COMP%] .mat-mdc-option[_ngcontent-%COMP%] {\n line-height: 36px;\n }"], data: { animation: [
|
|
13000
12286
|
trigger('fade', [
|
|
13001
12287
|
transition('void => *', [
|
|
13002
12288
|
style({ opacity: 0 }),
|
|
@@ -13020,7 +12306,7 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
13020
12306
|
])
|
|
13021
12307
|
]
|
|
13022
12308
|
}]
|
|
13023
|
-
}], function () { return [{ type: i1$4.PushNotificationsService }, { type: ThemeService }, { type: i3$1.NgxUiLoaderService }, { type: LayoutService }, { type: i5$1.TranslateService }, { type: i2.Router }, { type: i5.CookieService }, { type: i1$3.MatDialog }, { type: CommonService }, { type: i3.Store }, { type: i2$2.PubNubAngular }, { type: AuthenticationService }, { type: i1$2.Actions }, { type: i0.ChangeDetectorRef }, { type: i6.ToastrService }, { type: i15.StoreManagementService }, { type: ShellModulesService }, { type: ChatService }, { type: SignalrService }, { type: Window, decorators: [{
|
|
12309
|
+
}], function () { return [{ type: i1$4.PushNotificationsService }, { type: ThemeService }, { type: i3$1.NgxUiLoaderService }, { type: LayoutService }, { type: i5$1.TranslateService }, { type: i2.Router }, { type: i5.CookieService }, { type: i1$3.MatDialog }, { type: CommonService }, { type: i3.Store }, { type: i2$2.PubNubAngular }, { type: AuthenticationService }, { type: i1$2.Actions }, { type: i0.ChangeDetectorRef }, { type: i6.ToastrService }, { type: i15$1.StoreManagementService }, { type: ShellModulesService }, { type: ChatService }, { type: SignalrService }, { type: Window, decorators: [{
|
|
13024
12310
|
type: Inject,
|
|
13025
12311
|
args: [WINDOW]
|
|
13026
12312
|
}] }]; }, { feedTimeSheetPopover: [{
|
|
@@ -13044,422 +12330,468 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
13044
12330
|
args: ["openAnnoucementDialogComponent"]
|
|
13045
12331
|
}] }); })();
|
|
13046
12332
|
|
|
13047
|
-
function
|
|
13048
|
-
|
|
13049
|
-
i0.ɵɵ
|
|
13050
|
-
i0.ɵɵ
|
|
13051
|
-
i0.ɵɵ
|
|
13052
|
-
i0.ɵɵ
|
|
12333
|
+
const _c0$6 = function (a0, a1, a2) { return { "background-color": a0, "border": a1, "box-shadow": a2, "border-radius": "12px", "transition": "all 0.3s ease" }; };
|
|
12334
|
+
function SideBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
12335
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
12336
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
12337
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
12338
|
+
i0.ɵɵlistener("mouseenter", function SideBarComponent_div_9_Template_div_mouseenter_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const i_r2 = restoredCtx.index; const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.enter(i_r2); })("mouseleave", function SideBarComponent_div_9_Template_div_mouseleave_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const i_r2 = restoredCtx.index; const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.leave(i_r2); })("click", function SideBarComponent_div_9_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const i_r2 = restoredCtx.index; const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.selectMenu(i_r2); });
|
|
12339
|
+
i0.ɵɵelementStart(2, "div", 4);
|
|
12340
|
+
i0.ɵɵelementStart(3, "mat-icon", 5);
|
|
13053
12341
|
i0.ɵɵtext(4);
|
|
13054
|
-
i0.ɵɵ
|
|
12342
|
+
i0.ɵɵelementEnd();
|
|
12343
|
+
i0.ɵɵelementStart(5, "h6", 6);
|
|
12344
|
+
i0.ɵɵtext(6);
|
|
13055
12345
|
i0.ɵɵelementEnd();
|
|
13056
12346
|
i0.ɵɵelementEnd();
|
|
13057
|
-
} if (rf & 2) {
|
|
13058
|
-
const item_r1 = i0.ɵɵnextContext(2).$implicit;
|
|
13059
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
|
13060
|
-
i0.ɵɵadvance(2);
|
|
13061
|
-
i0.ɵɵtextInterpolate1(" ", item_r1.icon, "");
|
|
13062
|
-
i0.ɵɵadvance(2);
|
|
13063
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(5, 2, item_r1.menu, ctx_r4.softLabels), "");
|
|
13064
|
-
} }
|
|
13065
|
-
function SideBarComponent_li_8_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
13066
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
13067
|
-
i0.ɵɵelementStart(0, "div", 9);
|
|
13068
|
-
i0.ɵɵlistener("mouseenter", function SideBarComponent_li_8_div_1_Template_div_mouseenter_0_listener() { i0.ɵɵrestoreView(_r8); const i_r2 = i0.ɵɵnextContext().index; const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.enter(i_r2); })("mouseleave", function SideBarComponent_li_8_div_1_Template_div_mouseleave_0_listener() { i0.ɵɵrestoreView(_r8); const i_r2 = i0.ɵɵnextContext().index; const ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.leave(i_r2); })("click", function SideBarComponent_li_8_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r8); const item_r1 = i0.ɵɵnextContext().$implicit; const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.openMenu(item_r1.state); });
|
|
13069
|
-
i0.ɵɵtemplate(1, SideBarComponent_li_8_div_1_a_1_Template, 6, 5, "a", 10);
|
|
13070
12347
|
i0.ɵɵelementEnd();
|
|
13071
|
-
} if (rf & 2) {
|
|
13072
|
-
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
13073
|
-
i0.ɵɵproperty("routerLink", item_r1.state);
|
|
13074
|
-
i0.ɵɵadvance(1);
|
|
13075
|
-
i0.ɵɵproperty("ngIf", item_r1.type === "link");
|
|
13076
|
-
} }
|
|
13077
|
-
const _c0$7 = function () { return { exact: true }; };
|
|
13078
|
-
function SideBarComponent_li_8_Template(rf, ctx) { if (rf & 1) {
|
|
13079
|
-
i0.ɵɵelementStart(0, "li", 7);
|
|
13080
|
-
i0.ɵɵtemplate(1, SideBarComponent_li_8_div_1_Template, 2, 2, "div", 8);
|
|
13081
12348
|
i0.ɵɵelementEnd();
|
|
13082
12349
|
} if (rf & 2) {
|
|
13083
12350
|
const item_r1 = ctx.$implicit;
|
|
13084
12351
|
const i_r2 = ctx.index;
|
|
13085
12352
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
13086
|
-
i0.ɵɵstyleProp("background-color", ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2 ? "#70C8C1" : "");
|
|
13087
|
-
i0.ɵɵproperty("routerLinkActiveOptions", i0.ɵɵpureFunction0(5, _c0$7))("ngClass", ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2 ? "menu-highlight" : "");
|
|
13088
12353
|
i0.ɵɵadvance(1);
|
|
13089
|
-
i0.ɵɵproperty("
|
|
12354
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(4, _c0$6, ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2 ? "#DBEAFE" : "#FFFFFF", ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2 ? "2px solid #09555c" : "1px solid #E5E7EB", ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2 ? "0 4px 15px rgba(0,0,0,0.15)" : "0 2px 6px rgba(0,0,0,0.08)"))("routerLink", item_r1.state);
|
|
12355
|
+
i0.ɵɵadvance(3);
|
|
12356
|
+
i0.ɵɵtextInterpolate(item_r1.icon);
|
|
12357
|
+
i0.ɵɵadvance(2);
|
|
12358
|
+
i0.ɵɵtextInterpolate(item_r1.menu);
|
|
13090
12359
|
} }
|
|
13091
12360
|
class SideBarComponent {
|
|
13092
|
-
constructor(
|
|
13093
|
-
this.
|
|
12361
|
+
constructor(store, router, recentSearchService) {
|
|
12362
|
+
this.store = store;
|
|
13094
12363
|
this.router = router;
|
|
13095
|
-
this.
|
|
12364
|
+
this.recentSearchService = recentSearchService;
|
|
12365
|
+
this.hasIconMenu = false;
|
|
12366
|
+
this.iconMenuTitle = 'Menu';
|
|
12367
|
+
this.menuItems = [];
|
|
13096
12368
|
this.items = [];
|
|
12369
|
+
this.selectedRowIndex = null;
|
|
12370
|
+
this.showBackGroundColor = null;
|
|
13097
12371
|
}
|
|
13098
12372
|
ngOnInit() {
|
|
13099
|
-
this.
|
|
13100
|
-
|
|
12373
|
+
this.loadSoftLabels();
|
|
12374
|
+
this.loadMenuItems();
|
|
12375
|
+
// Listen to route changes to update active menu
|
|
12376
|
+
this.router.events.subscribe(event => {
|
|
13101
12377
|
if (event instanceof NavigationEnd) {
|
|
13102
|
-
this.
|
|
12378
|
+
this.updateActiveRow();
|
|
13103
12379
|
}
|
|
13104
12380
|
});
|
|
13105
|
-
this.getSoftLabelConfigurations();
|
|
13106
|
-
this.getMenuItems();
|
|
13107
12381
|
}
|
|
13108
|
-
|
|
13109
|
-
|
|
12382
|
+
ngAfterViewInit() {
|
|
12383
|
+
const tooltipTriggerList = Array.from(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
|
12384
|
+
tooltipTriggerList.forEach(el => new bootstrap.Tooltip(el));
|
|
13110
12385
|
}
|
|
13111
|
-
|
|
13112
|
-
|
|
13113
|
-
|
|
13114
|
-
|
|
13115
|
-
|
|
13116
|
-
|
|
13117
|
-
|
|
13118
|
-
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
}
|
|
13126
|
-
});
|
|
12386
|
+
loadSoftLabels() {
|
|
12387
|
+
const stored = localStorage.getItem('SoftLabels');
|
|
12388
|
+
if (stored)
|
|
12389
|
+
this.softLabels = JSON.parse(stored);
|
|
12390
|
+
}
|
|
12391
|
+
loadMenuItems() {
|
|
12392
|
+
// Try NgRx store first
|
|
12393
|
+
this.menuItems$ = this.store.pipe(select(getCurrentActiveMenuCategoryMenuItems), tap(menuList => console.log('NgRx menu:', menuList)));
|
|
12394
|
+
this.store.dispatch(new GetAllMenuItemsTriggered(MenuCategories.Main));
|
|
12395
|
+
// Fallback: load from localStorage / service
|
|
12396
|
+
const storedItems = JSON.parse(localStorage.getItem(LocalStorageProperties.SideBarMenuItems));
|
|
12397
|
+
if (storedItems && storedItems.length) {
|
|
12398
|
+
this.menuItems = storedItems;
|
|
12399
|
+
this.items = this.menuItems.filter(i => i.type !== 'dropDown');
|
|
13127
12400
|
}
|
|
13128
12401
|
else {
|
|
13129
|
-
this.
|
|
13130
|
-
|
|
12402
|
+
this.recentSearchService.searchMenuData(false).subscribe((res) => {
|
|
12403
|
+
var _a;
|
|
12404
|
+
if (res.success && ((_a = res.data) === null || _a === void 0 ? void 0 : _a.menuItems)) {
|
|
12405
|
+
this.menuItems = res.data.menuItems;
|
|
12406
|
+
localStorage.setItem(LocalStorageProperties.SideBarMenuItems, JSON.stringify(this.menuItems));
|
|
12407
|
+
this.items = this.menuItems.filter(i => i.type !== 'dropDown');
|
|
12408
|
+
}
|
|
12409
|
+
});
|
|
13131
12410
|
}
|
|
13132
12411
|
}
|
|
13133
|
-
|
|
13134
|
-
if (this.items && this.items.length
|
|
13135
|
-
|
|
13136
|
-
this.selectedRowIndex = index;
|
|
13137
|
-
if (this.router.url.includes('/dashboard-management'))
|
|
12412
|
+
updateActiveRow() {
|
|
12413
|
+
if (this.items && this.items.length) {
|
|
12414
|
+
const index = this.items.findIndex(i => this.router.url === '/' + i.state);
|
|
12415
|
+
this.selectedRowIndex = index >= 0 ? index : null;
|
|
12416
|
+
if (this.router.url.includes('/dashboard-management'))
|
|
13138
12417
|
this.selectedRowIndex = 99;
|
|
13139
|
-
}
|
|
13140
12418
|
}
|
|
13141
12419
|
}
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
}
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
12420
|
+
// Hover events
|
|
12421
|
+
enter(i) { this.showBackGroundColor = i; }
|
|
12422
|
+
leave(i) { this.showBackGroundColor = null; }
|
|
12423
|
+
// Click event to set active menu
|
|
12424
|
+
selectMenu(i) { this.selectedRowIndex = i; }
|
|
12425
|
+
// Navigate and keep active
|
|
13148
12426
|
openMenu(link) {
|
|
13149
12427
|
this.router.navigate([link]);
|
|
12428
|
+
const index = this.items.findIndex(item => item.state === link);
|
|
12429
|
+
if (index >= 0)
|
|
12430
|
+
this.selectMenu(index);
|
|
13150
12431
|
}
|
|
13151
12432
|
}
|
|
13152
|
-
SideBarComponent.ɵfac = function SideBarComponent_Factory(t) { return new (t || SideBarComponent)(i0.ɵɵdirectiveInject(
|
|
13153
|
-
SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideBarComponent, selectors: [["app-sidebar"]],
|
|
13154
|
-
i0.ɵɵelementStart(0, "
|
|
13155
|
-
i0.ɵɵelementStart(1, "
|
|
13156
|
-
i0.ɵɵlistener("mouseenter", function SideBarComponent_Template_li_mouseenter_1_listener() { return ctx.enter(99); })("mouseleave", function SideBarComponent_Template_li_mouseleave_1_listener() { return ctx.leave(99); });
|
|
12433
|
+
SideBarComponent.ɵfac = function SideBarComponent_Factory(t) { return new (t || SideBarComponent)(i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(RecentSearchService)); };
|
|
12434
|
+
SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideBarComponent, selectors: [["app-sidebar"]], inputs: { hasIconMenu: "hasIconMenu", iconMenuTitle: "iconMenuTitle" }, decls: 10, vars: 6, consts: [[1, "d-flex", "flex-column", "justify-content-center", "align-items-center", 2, "width", "100vw", "height", "calc(100vh - 60px)", "background-color", "#F9FAFB", "padding", "30px", "overflow", "auto"], [1, "row", "justify-content-center", "align-items-center", 2, "height", "auto"], [1, "col-6", "col-md-3", "mb-4"], ["routerLink", "/dashboard-management", 1, "card", "h-100", "cursor-pointer", 3, "ngStyle", "mouseenter", "mouseleave", "click"], [1, "card-body", "d-flex", "flex-column", "align-items-center", "justify-content-center"], [2, "font-size", "40px", "color", "#09555c", "margin-bottom", "10px"], [2, "font-size", "14px", "margin", "0", "color", "#111827"], ["class", "col-6 col-md-3 mb-4", 4, "ngFor", "ngForOf"], [1, "card", "h-100", "cursor-pointer", 3, "ngStyle", "routerLink", "mouseenter", "mouseleave", "click"]], template: function SideBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12435
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
12436
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
13157
12437
|
i0.ɵɵelementStart(2, "div", 2);
|
|
13158
|
-
i0.ɵɵelementStart(3, "
|
|
13159
|
-
i0.ɵɵ
|
|
13160
|
-
i0.ɵɵ
|
|
12438
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
12439
|
+
i0.ɵɵlistener("mouseenter", function SideBarComponent_Template_div_mouseenter_3_listener() { return ctx.enter(99); })("mouseleave", function SideBarComponent_Template_div_mouseleave_3_listener() { return ctx.leave(99); })("click", function SideBarComponent_Template_div_click_3_listener() { return ctx.selectMenu(99); });
|
|
12440
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
12441
|
+
i0.ɵɵelementStart(5, "mat-icon", 5);
|
|
12442
|
+
i0.ɵɵtext(6, "home");
|
|
12443
|
+
i0.ɵɵelementEnd();
|
|
12444
|
+
i0.ɵɵelementStart(7, "h6", 6);
|
|
12445
|
+
i0.ɵɵtext(8, "Home");
|
|
13161
12446
|
i0.ɵɵelementEnd();
|
|
13162
|
-
i0.ɵɵelementStart(6, "div", 5);
|
|
13163
|
-
i0.ɵɵtext(7, "Home");
|
|
13164
12447
|
i0.ɵɵelementEnd();
|
|
13165
12448
|
i0.ɵɵelementEnd();
|
|
13166
12449
|
i0.ɵɵelementEnd();
|
|
12450
|
+
i0.ɵɵtemplate(9, SideBarComponent_div_9_Template, 7, 8, "div", 7);
|
|
13167
12451
|
i0.ɵɵelementEnd();
|
|
13168
|
-
i0.ɵɵtemplate(8, SideBarComponent_li_8_Template, 2, 6, "li", 6);
|
|
13169
12452
|
i0.ɵɵelementEnd();
|
|
13170
12453
|
} if (rf & 2) {
|
|
13171
|
-
i0.ɵɵadvance(
|
|
13172
|
-
i0.ɵɵ
|
|
13173
|
-
i0.ɵɵ
|
|
13174
|
-
i0.ɵɵadvance(7);
|
|
12454
|
+
i0.ɵɵadvance(3);
|
|
12455
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(2, _c0$6, ctx.selectedRowIndex == 99 || ctx.showBackGroundColor == 99 ? "#DBEAFE" : "#FFFFFF", ctx.selectedRowIndex == 99 || ctx.showBackGroundColor == 99 ? "2px solid #09555c" : "1px solid #E5E7EB", ctx.selectedRowIndex == 99 || ctx.showBackGroundColor == 99 ? "0 4px 15px rgba(0,0,0,0.15)" : "0 2px 6px rgba(0,0,0,0.08)"));
|
|
12456
|
+
i0.ɵɵadvance(6);
|
|
13175
12457
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
13176
|
-
} }, directives: [i2.
|
|
12458
|
+
} }, directives: [i2.RouterLink, i10.NgStyle, i15.DefaultStyleDirective, i17.MatIcon, i10.NgForOf], encapsulation: 2 });
|
|
13177
12459
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SideBarComponent, [{
|
|
13178
12460
|
type: Component,
|
|
13179
12461
|
args: [{
|
|
13180
|
-
selector:
|
|
13181
|
-
templateUrl:
|
|
12462
|
+
selector: 'app-sidebar',
|
|
12463
|
+
templateUrl: './side-bar.component.html'
|
|
13182
12464
|
}]
|
|
13183
|
-
}], function () { return [{ type:
|
|
12465
|
+
}], function () { return [{ type: i3.Store }, { type: i2.Router }, { type: RecentSearchService }]; }, { hasIconMenu: [{
|
|
12466
|
+
type: Input
|
|
12467
|
+
}], iconMenuTitle: [{
|
|
12468
|
+
type: Input
|
|
12469
|
+
}] }); })();
|
|
13184
12470
|
|
|
13185
|
-
function
|
|
13186
|
-
i0.ɵɵelementStart(0, "
|
|
13187
|
-
i0.ɵɵelementStart(1, "
|
|
13188
|
-
i0.ɵɵ
|
|
12471
|
+
function AdminLayoutComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
12472
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
12473
|
+
i0.ɵɵelementStart(1, "div", 10);
|
|
12474
|
+
i0.ɵɵelement(2, "div", 11);
|
|
12475
|
+
i0.ɵɵelement(3, "div", 12);
|
|
13189
12476
|
i0.ɵɵelementEnd();
|
|
13190
|
-
i0.ɵɵtext(3);
|
|
13191
|
-
i0.ɵɵpipe(4, "translate");
|
|
13192
12477
|
i0.ɵɵelementEnd();
|
|
13193
|
-
} if (rf & 2) {
|
|
13194
|
-
const item_r10 = i0.ɵɵnextContext(2).$implicit;
|
|
13195
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "/", item_r10.state, "");
|
|
13196
|
-
i0.ɵɵadvance(2);
|
|
13197
|
-
i0.ɵɵtextInterpolate(item_r10.icon);
|
|
13198
|
-
i0.ɵɵadvance(1);
|
|
13199
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, item_r10.name), " ");
|
|
13200
12478
|
} }
|
|
13201
|
-
function
|
|
13202
|
-
i0.ɵɵ
|
|
13203
|
-
i0.ɵɵelementStart(1, "span", 36);
|
|
13204
|
-
i0.ɵɵtext(2);
|
|
13205
|
-
i0.ɵɵpipe(3, "translate");
|
|
13206
|
-
i0.ɵɵelementEnd();
|
|
13207
|
-
i0.ɵɵelement(4, "span", 6);
|
|
13208
|
-
i0.ɵɵelementEnd();
|
|
13209
|
-
} if (rf & 2) {
|
|
13210
|
-
const itemLvL2_r17 = i0.ɵɵnextContext().$implicit;
|
|
13211
|
-
i0.ɵɵpropertyInterpolate("routerLink", itemLvL2_r17.state ? "/" + itemLvL2_r17.state : "");
|
|
13212
|
-
i0.ɵɵadvance(2);
|
|
13213
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, itemLvL2_r17.name), " ");
|
|
12479
|
+
function AdminLayoutComponent_div_11_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
12480
|
+
i0.ɵɵelement(0, "div", 16);
|
|
13214
12481
|
} }
|
|
13215
|
-
function
|
|
13216
|
-
i0.ɵɵelementStart(0, "
|
|
13217
|
-
i0.ɵɵ
|
|
13218
|
-
i0.ɵɵelementEnd();
|
|
13219
|
-
} if (rf & 2) {
|
|
13220
|
-
const itemLvL2_r17 = i0.ɵɵnextContext(2).$implicit;
|
|
13221
|
-
i0.ɵɵadvance(1);
|
|
13222
|
-
i0.ɵɵtextInterpolate(itemLvL2_r17.icon);
|
|
13223
|
-
} }
|
|
13224
|
-
function HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
13225
|
-
i0.ɵɵelementStart(0, "a", 29);
|
|
13226
|
-
i0.ɵɵtemplate(1, HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_a_2_mat_icon_1_Template, 2, 1, "mat-icon", 28);
|
|
12482
|
+
function AdminLayoutComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
12483
|
+
i0.ɵɵelementStart(0, "div", 13);
|
|
12484
|
+
i0.ɵɵelementStart(1, "span", 14);
|
|
13227
12485
|
i0.ɵɵtext(2);
|
|
13228
12486
|
i0.ɵɵpipe(3, "translate");
|
|
13229
|
-
i0.ɵɵelementEnd();
|
|
13230
|
-
} if (rf & 2) {
|
|
13231
|
-
const itemLvL2_r17 = i0.ɵɵnextContext().$implicit;
|
|
13232
|
-
const item_r10 = i0.ɵɵnextContext(3).$implicit;
|
|
13233
|
-
i0.ɵɵpropertyInterpolate2("routerLink", "", item_r10.state ? "/" + item_r10.state : "", "/", itemLvL2_r17.state, "");
|
|
13234
|
-
i0.ɵɵadvance(1);
|
|
13235
|
-
i0.ɵɵproperty("ngIf", itemLvL2_r17.icon);
|
|
13236
|
-
i0.ɵɵadvance(1);
|
|
13237
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, itemLvL2_r17.name), " ");
|
|
13238
|
-
} }
|
|
13239
|
-
function HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_div_3_mat_icon_5_Template(rf, ctx) { if (rf & 1) {
|
|
13240
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
13241
|
-
i0.ɵɵtext(1);
|
|
13242
|
-
i0.ɵɵelementEnd();
|
|
13243
|
-
} if (rf & 2) {
|
|
13244
|
-
const itemLvL2_r17 = i0.ɵɵnextContext(2).$implicit;
|
|
13245
|
-
i0.ɵɵadvance(1);
|
|
13246
|
-
i0.ɵɵtextInterpolate(itemLvL2_r17.icon);
|
|
13247
|
-
} }
|
|
13248
|
-
function HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_div_3_li_10_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
13249
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
13250
|
-
i0.ɵɵtext(1);
|
|
13251
|
-
i0.ɵɵelementEnd();
|
|
13252
|
-
} if (rf & 2) {
|
|
13253
|
-
const itemLvL3_r30 = i0.ɵɵnextContext().$implicit;
|
|
13254
|
-
i0.ɵɵadvance(1);
|
|
13255
|
-
i0.ɵɵtextInterpolate(itemLvL3_r30.icon);
|
|
13256
|
-
} }
|
|
13257
|
-
function HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_div_3_li_10_Template(rf, ctx) { if (rf & 1) {
|
|
13258
|
-
i0.ɵɵelementStart(0, "li", 26);
|
|
13259
|
-
i0.ɵɵelementStart(1, "a", 29);
|
|
13260
|
-
i0.ɵɵtemplate(2, HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_div_3_li_10_mat_icon_2_Template, 2, 1, "mat-icon", 28);
|
|
13261
|
-
i0.ɵɵtext(3);
|
|
13262
12487
|
i0.ɵɵpipe(4, "translate");
|
|
13263
12488
|
i0.ɵɵelementEnd();
|
|
12489
|
+
i0.ɵɵtemplate(5, AdminLayoutComponent_div_11_div_5_Template, 1, 0, "div", 15);
|
|
13264
12490
|
i0.ɵɵelementEnd();
|
|
13265
12491
|
} if (rf & 2) {
|
|
13266
|
-
const
|
|
13267
|
-
const itemLvL2_r17 = i0.ɵɵnextContext(2).$implicit;
|
|
13268
|
-
const item_r10 = i0.ɵɵnextContext(3).$implicit;
|
|
13269
|
-
i0.ɵɵadvance(1);
|
|
13270
|
-
i0.ɵɵpropertyInterpolate3("routerLink", "", item_r10.state ? "/" + item_r10.state : "", "", itemLvL2_r17.state ? "/" + itemLvL2_r17.state : "", "/", itemLvL3_r30.state, "");
|
|
13271
|
-
i0.ɵɵadvance(1);
|
|
13272
|
-
i0.ɵɵproperty("ngIf", itemLvL3_r30.icon);
|
|
13273
|
-
i0.ɵɵadvance(1);
|
|
13274
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, itemLvL3_r30.name), " ");
|
|
13275
|
-
} }
|
|
13276
|
-
function HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
13277
|
-
i0.ɵɵelementStart(0, "div");
|
|
13278
|
-
i0.ɵɵelementStart(1, "label", 30);
|
|
13279
|
-
i0.ɵɵtext(2);
|
|
13280
|
-
i0.ɵɵpipe(3, "translate");
|
|
13281
|
-
i0.ɵɵelementEnd();
|
|
13282
|
-
i0.ɵɵelementStart(4, "a", 31);
|
|
13283
|
-
i0.ɵɵtemplate(5, HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_div_3_mat_icon_5_Template, 2, 1, "mat-icon", 28);
|
|
13284
|
-
i0.ɵɵtext(6);
|
|
13285
|
-
i0.ɵɵpipe(7, "translate");
|
|
13286
|
-
i0.ɵɵelementEnd();
|
|
13287
|
-
i0.ɵɵelement(8, "input", 32);
|
|
13288
|
-
i0.ɵɵelementStart(9, "ul");
|
|
13289
|
-
i0.ɵɵtemplate(10, HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_div_3_li_10_Template, 5, 7, "li", 33);
|
|
13290
|
-
i0.ɵɵelementEnd();
|
|
13291
|
-
i0.ɵɵelementEnd();
|
|
13292
|
-
} if (rf & 2) {
|
|
13293
|
-
const ctx_r36 = i0.ɵɵnextContext();
|
|
13294
|
-
const j_r18 = ctx_r36.index;
|
|
13295
|
-
const itemLvL2_r17 = ctx_r36.$implicit;
|
|
13296
|
-
const i_r11 = i0.ɵɵnextContext(3).index;
|
|
13297
|
-
i0.ɵɵadvance(1);
|
|
13298
|
-
i0.ɵɵpropertyInterpolate2("for", "drop-", i_r11, "", j_r18, "");
|
|
13299
|
-
i0.ɵɵadvance(1);
|
|
13300
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, itemLvL2_r17.name));
|
|
13301
|
-
i0.ɵɵadvance(3);
|
|
13302
|
-
i0.ɵɵproperty("ngIf", itemLvL2_r17.icon);
|
|
13303
|
-
i0.ɵɵadvance(1);
|
|
13304
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 10, itemLvL2_r17.name), " ");
|
|
13305
|
-
i0.ɵɵadvance(2);
|
|
13306
|
-
i0.ɵɵpropertyInterpolate2("id", "drop-", i_r11, "", j_r18, "");
|
|
12492
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
13307
12493
|
i0.ɵɵadvance(2);
|
|
13308
|
-
i0.ɵɵ
|
|
12494
|
+
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(3, 4, "LOADINGPLEASEWAIT"), " (", ctx_r1.totalLoadingTime, " ", i0.ɵɵpipeBind1(4, 6, "SECONDS"), ") ");
|
|
12495
|
+
i0.ɵɵadvance(3);
|
|
12496
|
+
i0.ɵɵproperty("ngIf", ctx_r1.loading);
|
|
13309
12497
|
} }
|
|
13310
|
-
function
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
12498
|
+
const _c0$5 = function (a0, a1) { return { "blur-on-opened": a0, "show-in-dashboard": a1 }; };
|
|
12499
|
+
class AdminLayoutComponent {
|
|
12500
|
+
constructor(router, translate, layout, store, cookieService, actionUpdates$, location, commonService, pubnub, signalr) {
|
|
12501
|
+
this.router = router;
|
|
12502
|
+
this.translate = translate;
|
|
12503
|
+
this.layout = layout;
|
|
12504
|
+
this.store = store;
|
|
12505
|
+
this.cookieService = cookieService;
|
|
12506
|
+
this.actionUpdates$ = actionUpdates$;
|
|
12507
|
+
this.location = location;
|
|
12508
|
+
this.commonService = commonService;
|
|
12509
|
+
this.pubnub = pubnub;
|
|
12510
|
+
this.signalr = signalr;
|
|
12511
|
+
this.isModuleLoading = false;
|
|
12512
|
+
// private sidebarPS: PerfectScrollbar;
|
|
12513
|
+
// private bodyPS: PerfectScrollbar;
|
|
12514
|
+
// private headerFixedBodyPS: PerfectScrollbar;
|
|
12515
|
+
this.scrollConfig = {};
|
|
12516
|
+
this.layoutConf = {};
|
|
12517
|
+
this.ngDestroyed$ = new Subject();
|
|
12518
|
+
this.userstory = 'userstory';
|
|
12519
|
+
this.loading = false;
|
|
12520
|
+
this.totalLoadingTime = 0;
|
|
12521
|
+
this.spinnerType = SPINNER.circle;
|
|
12522
|
+
// let conId = sessionStorage.getItem('conectionId');
|
|
12523
|
+
// if(!conId) {
|
|
12524
|
+
this.signalr.initializeSignalRConnection();
|
|
12525
|
+
// }
|
|
12526
|
+
let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
12527
|
+
let companySettings = localStorage.getItem(LocalStorageProperties.CompanySettings);
|
|
12528
|
+
if (!companySettings || companySettings == 'null' || companySettings == "undefined") {
|
|
12529
|
+
pubnub.init({
|
|
12530
|
+
publishKey: environment.publishKey,
|
|
12531
|
+
subscribeKey: environment.subscribeKey
|
|
12532
|
+
});
|
|
12533
|
+
}
|
|
12534
|
+
else {
|
|
12535
|
+
const comSet = JSON.parse(localStorage.getItem(LocalStorageProperties.CompanySettings));
|
|
12536
|
+
var publishKey = comSet.find(i => i.key == "PubnubPublishKey");
|
|
12537
|
+
var subscribeKey = comSet.find(i => i.key == "PubnubSubscribeKey");
|
|
12538
|
+
if ((publishKey && publishKey.value) && (subscribeKey && subscribeKey.value)) {
|
|
12539
|
+
pubnub.init({
|
|
12540
|
+
publishKey: publishKey.value,
|
|
12541
|
+
subscribeKey: subscribeKey.value
|
|
12542
|
+
});
|
|
12543
|
+
}
|
|
12544
|
+
else {
|
|
12545
|
+
pubnub.init({
|
|
12546
|
+
publishKey: environment.publishKey,
|
|
12547
|
+
subscribeKey: environment.subscribeKey
|
|
12548
|
+
});
|
|
12549
|
+
}
|
|
12550
|
+
}
|
|
12551
|
+
// Close sidenav after route change in mobile
|
|
12552
|
+
this.routerEventSub = router.events
|
|
12553
|
+
.pipe(filter(event => event instanceof NavigationEnd))
|
|
12554
|
+
.subscribe((routeChange) => {
|
|
12555
|
+
this.layout.adjustLayout({ route: routeChange.url });
|
|
12556
|
+
});
|
|
12557
|
+
// Translator init
|
|
12558
|
+
let currentCulture = this.cookieService.get(LocalStorageProperties.CurrentCulture);
|
|
12559
|
+
if (currentCulture === 'null' || currentCulture === 'undefined') {
|
|
12560
|
+
currentCulture = 'en';
|
|
12561
|
+
}
|
|
12562
|
+
translate.use(currentCulture);
|
|
12563
|
+
this.router.events.subscribe((event) => {
|
|
12564
|
+
switch (true) {
|
|
12565
|
+
case event instanceof NavigationStart: {
|
|
12566
|
+
this.loading = true;
|
|
12567
|
+
this.totalLoadingTime = 0;
|
|
12568
|
+
this.startTimer();
|
|
12569
|
+
break;
|
|
12570
|
+
}
|
|
12571
|
+
case event instanceof NavigationEnd: {
|
|
12572
|
+
this.loading = false;
|
|
12573
|
+
clearInterval(this.interval);
|
|
12574
|
+
break;
|
|
12575
|
+
}
|
|
12576
|
+
case event instanceof NavigationCancel:
|
|
12577
|
+
case event instanceof NavigationError: {
|
|
12578
|
+
this.loading = false;
|
|
12579
|
+
break;
|
|
12580
|
+
}
|
|
12581
|
+
default: {
|
|
12582
|
+
break;
|
|
12583
|
+
}
|
|
12584
|
+
}
|
|
12585
|
+
});
|
|
12586
|
+
router.events.subscribe(val => {
|
|
12587
|
+
if (location.path() != "") {
|
|
12588
|
+
if (location.path().includes('/dashboard-management/dashboard/')) {
|
|
12589
|
+
this.dashboardPage = true;
|
|
12590
|
+
this.bgcolor = 'none';
|
|
12591
|
+
}
|
|
12592
|
+
else {
|
|
12593
|
+
this.dashboardPage = false;
|
|
12594
|
+
this.bgcolor = 'beige';
|
|
12595
|
+
}
|
|
12596
|
+
}
|
|
12597
|
+
});
|
|
12598
|
+
// if (this.cookieService.check(LocalStorageProperties.UserModel)) {
|
|
12599
|
+
// let data = JSON.parse(this.cookieService.get(LocalStorageProperties.UserModel));
|
|
12600
|
+
// if (data && data != 'null' && data != 'undefined')
|
|
12601
|
+
// this.store.dispatch(new UserDetailsFetchedAfterLogin(data));
|
|
12602
|
+
// }
|
|
12603
|
+
if ((localStorage.getItem(LocalStorageProperties.UserModel) != null && localStorage.getItem(LocalStorageProperties.UserModel) != undefined)
|
|
12604
|
+
&& !localStorage.hasOwnProperty(LocalStorageProperties.UserRoleFeatures)) {
|
|
12605
|
+
let data = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
|
|
12606
|
+
this.store.dispatch(new UserDetailsFetchedAfterLogin(data));
|
|
12607
|
+
}
|
|
12608
|
+
this.actionUpdates$
|
|
12609
|
+
.pipe(takeUntil(this.ngDestroyed$), ofType(AuthenticationActionTypes.ClearDemoDataCompleted), tap((result) => {
|
|
12610
|
+
if (result && result.companyId) {
|
|
12611
|
+
this.getSoftLabels();
|
|
12612
|
+
}
|
|
12613
|
+
})).subscribe();
|
|
12614
|
+
}
|
|
12615
|
+
ngOnInit() {
|
|
12616
|
+
this.getSoftLabelConfigurations();
|
|
12617
|
+
this.layoutConf = this.layout.layoutConf;
|
|
12618
|
+
// this.layout.adjustLayout();
|
|
12619
|
+
// FOR MODULE LOADER FLAG
|
|
12620
|
+
this.moduleLoaderSub = this.router.events.subscribe(event => {
|
|
12621
|
+
if (event instanceof RouteConfigLoadStart ||
|
|
12622
|
+
event instanceof ResolveStart) {
|
|
12623
|
+
this.isModuleLoading = false;
|
|
12624
|
+
}
|
|
12625
|
+
if (event instanceof RouteConfigLoadEnd || event instanceof ResolveEnd) {
|
|
12626
|
+
this.isModuleLoading = false;
|
|
12627
|
+
}
|
|
12628
|
+
});
|
|
12629
|
+
}
|
|
12630
|
+
onResize(event) {
|
|
12631
|
+
this.layout.adjustLayout(event);
|
|
12632
|
+
}
|
|
12633
|
+
Opened(event) {
|
|
12634
|
+
this.display = event;
|
|
12635
|
+
}
|
|
12636
|
+
getSoftLabelConfigurations() {
|
|
12637
|
+
this.softLabels = JSON.parse(localStorage.getItem('SoftLabels'));
|
|
12638
|
+
}
|
|
12639
|
+
getSoftLabels() {
|
|
12640
|
+
let model = new SoftLabelConfigurationModel();
|
|
12641
|
+
model.searchText = null;
|
|
12642
|
+
this.commonService.getSoftLabels(model).subscribe((response) => {
|
|
12643
|
+
if (response.success) {
|
|
12644
|
+
let data = response.data;
|
|
12645
|
+
if (data) {
|
|
12646
|
+
localStorage.setItem('SoftLabels', JSON.stringify(data));
|
|
12647
|
+
}
|
|
12648
|
+
}
|
|
12649
|
+
});
|
|
12650
|
+
}
|
|
12651
|
+
ngAfterViewInit() {
|
|
12652
|
+
// this.layoutConfSub = this.layout.layoutConf$.subscribe(change => {
|
|
12653
|
+
// // this.initBodyPS(change)
|
|
12654
|
+
// })
|
|
12655
|
+
}
|
|
12656
|
+
// initBodyPS(layoutConf:any = {}) {
|
|
12657
|
+
// if(layoutConf.navigationPos === 'side' && layoutConf.topbarFixed) {
|
|
12658
|
+
// if (this.bodyPS) this.bodyPS.destroy();
|
|
12659
|
+
// if (this.headerFixedBodyPS) this.headerFixedBodyPS.destroy();
|
|
12660
|
+
// this.headerFixedBodyPS = new PerfectScrollbar('.rightside-content-hold', {
|
|
12661
|
+
// suppressScrollX: true
|
|
12662
|
+
// });
|
|
12663
|
+
// this.scrollToTop('.rightside-content-hold');
|
|
12664
|
+
// } else {
|
|
12665
|
+
// if (this.bodyPS) this.bodyPS.destroy();
|
|
12666
|
+
// if (this.headerFixedBodyPS) this.headerFixedBodyPS.destroy();
|
|
12667
|
+
// this.bodyPS = new PerfectScrollbar('.main-content-wrap', {
|
|
12668
|
+
// suppressScrollX: true
|
|
12669
|
+
// });
|
|
12670
|
+
// this.scrollToTop('.main-content-wrap');
|
|
12671
|
+
// }
|
|
12672
|
+
// }
|
|
12673
|
+
scrollToTop(selector) {
|
|
12674
|
+
if (document) {
|
|
12675
|
+
let element = document.querySelector(selector);
|
|
12676
|
+
element.scrollTop = 0;
|
|
12677
|
+
}
|
|
12678
|
+
}
|
|
12679
|
+
ngOnDestroy() {
|
|
12680
|
+
if (this.moduleLoaderSub) {
|
|
12681
|
+
this.moduleLoaderSub.unsubscribe();
|
|
12682
|
+
}
|
|
12683
|
+
if (this.layoutConfSub) {
|
|
12684
|
+
this.layoutConfSub.unsubscribe();
|
|
12685
|
+
}
|
|
12686
|
+
if (this.routerEventSub) {
|
|
12687
|
+
this.routerEventSub.unsubscribe();
|
|
12688
|
+
}
|
|
12689
|
+
if (this.sub) {
|
|
12690
|
+
this.sub.unsubscribe();
|
|
12691
|
+
}
|
|
12692
|
+
}
|
|
12693
|
+
closeSidebar() {
|
|
12694
|
+
this.layout.publishLayoutChange({
|
|
12695
|
+
sidebarStyle: "closed"
|
|
12696
|
+
});
|
|
12697
|
+
}
|
|
12698
|
+
startTimer() {
|
|
12699
|
+
this.interval = setInterval(() => {
|
|
12700
|
+
this.totalLoadingTime++;
|
|
12701
|
+
}, 1000);
|
|
12702
|
+
}
|
|
12703
|
+
}
|
|
12704
|
+
AdminLayoutComponent.ɵfac = function AdminLayoutComponent_Factory(t) { return new (t || AdminLayoutComponent)(i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(LayoutService), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i10.Location), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(i2$2.PubNubAngular), i0.ɵɵdirectiveInject(SignalrService)); };
|
|
12705
|
+
AdminLayoutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdminLayoutComponent, selectors: [["app-admin-layout"]], hostBindings: function AdminLayoutComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
12706
|
+
i0.ɵɵlistener("resize", function AdminLayoutComponent_resize_HostBindingHandler($event) { return ctx.onResize($event); }, false, i0.ɵɵresolveWindow);
|
|
12707
|
+
} }, decls: 12, vars: 8, consts: [["fgsSize", "180", "color", "primary", 3, "fgsType"], [1, "container-fluid", "p-0", 2, "min-height", "100vh", "width", "100%", "display", "flex", "flex-direction", "column", 3, "dir"], [2, "z-index", "1200", "position", "relative"], [3, "opened"], [1, "flex-grow-1", "d-flex", 2, "position", "relative", "overflow", "hidden"], [1, "d-flex", 2, "overflow-y", "auto", "position", "relative", "background-color", "#f5f5f5", 3, "ngClass"], [1, "flex-grow-1"], ["class", "d-flex justify-content-center align-items-center", "style", "position: absolute; top: 0; left:0; right:0; bottom:0; z-index: 1100; background: rgba(255,255,255,0.6);", 4, "ngIf"], ["id", "btrak-preloader", "class", "text-center", 4, "ngIf"], [1, "d-flex", "justify-content-center", "align-items-center", 2, "position", "absolute", "top", "0", "left", "0", "right", "0", "bottom", "0", "z-index", "1100", "background", "rgba(255,255,255,0.6)"], [1, "spinner"], [1, "double-bounce1", "mat-bg-accent"], [1, "double-bounce2", "mat-bg-primary"], ["id", "btrak-preloader", 1, "text-center"], [1, "preloading-text"], ["id", "btrak-loader", 4, "ngIf"], ["id", "btrak-loader"]], template: function AdminLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12708
|
+
i0.ɵɵelement(0, "ngx-ui-loader", 0);
|
|
12709
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
12710
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
12711
|
+
i0.ɵɵelementStart(3, "app-header-side", 3);
|
|
12712
|
+
i0.ɵɵlistener("opened", function AdminLayoutComponent_Template_app_header_side_opened_3_listener($event) { return ctx.Opened($event); });
|
|
12713
|
+
i0.ɵɵelementEnd();
|
|
12714
|
+
i0.ɵɵelementEnd();
|
|
12715
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
12716
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
12717
|
+
i0.ɵɵelementStart(6, "div");
|
|
12718
|
+
i0.ɵɵelement(7, "app-sidebar");
|
|
12719
|
+
i0.ɵɵelementEnd();
|
|
12720
|
+
i0.ɵɵelementStart(8, "div", 6);
|
|
12721
|
+
i0.ɵɵelement(9, "router-outlet");
|
|
12722
|
+
i0.ɵɵelementEnd();
|
|
12723
|
+
i0.ɵɵtemplate(10, AdminLayoutComponent_div_10_Template, 4, 0, "div", 7);
|
|
12724
|
+
i0.ɵɵtemplate(11, AdminLayoutComponent_div_11_Template, 6, 8, "div", 8);
|
|
12725
|
+
i0.ɵɵelementEnd();
|
|
12726
|
+
i0.ɵɵelementEnd();
|
|
12727
|
+
i0.ɵɵelementEnd();
|
|
12728
|
+
} if (rf & 2) {
|
|
12729
|
+
i0.ɵɵproperty("fgsType", ctx.spinnerType);
|
|
12730
|
+
i0.ɵɵadvance(1);
|
|
12731
|
+
i0.ɵɵproperty("dir", ctx.layoutConf.dir);
|
|
12732
|
+
i0.ɵɵadvance(4);
|
|
12733
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c0$5, ctx.display, ctx.dashboardPage));
|
|
12734
|
+
i0.ɵɵadvance(5);
|
|
12735
|
+
i0.ɵɵproperty("ngIf", ctx.isModuleLoading);
|
|
12736
|
+
i0.ɵɵadvance(1);
|
|
12737
|
+
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
12738
|
+
} }, directives: [i3$1.ɵb, i12$1.Dir, HeaderSideComponent, i10.NgClass, i15.DefaultClassDirective, SideBarComponent, i2.RouterOutlet, i10.NgIf], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
12739
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdminLayoutComponent, [{
|
|
12740
|
+
type: Component,
|
|
12741
|
+
args: [{
|
|
12742
|
+
selector: "app-admin-layout",
|
|
12743
|
+
templateUrl: "./admin-layout.template.html"
|
|
12744
|
+
}]
|
|
12745
|
+
}], function () { return [{ type: i2.Router }, { type: i5$1.TranslateService }, { type: LayoutService }, { type: i3.Store }, { type: i5.CookieService }, { type: i1$2.Actions }, { type: i10.Location }, { type: CommonService }, { type: i2$2.PubNubAngular }, { type: SignalrService }]; }, { onResize: [{
|
|
12746
|
+
type: HostListener,
|
|
12747
|
+
args: ["window:resize", ['$event']]
|
|
12748
|
+
}] }); })();
|
|
12749
|
+
|
|
12750
|
+
function HeaderTopComponent_li_7_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
12751
|
+
i0.ɵɵelementStart(0, "a", 22);
|
|
12752
|
+
i0.ɵɵelementStart(1, "mat-icon", 23);
|
|
12753
|
+
i0.ɵɵtext(2);
|
|
13315
12754
|
i0.ɵɵelementEnd();
|
|
13316
|
-
} if (rf & 2) {
|
|
13317
|
-
const itemLvL2_r17 = ctx.$implicit;
|
|
13318
|
-
i0.ɵɵadvance(1);
|
|
13319
|
-
i0.ɵɵproperty("ngIf", itemLvL2_r17.type === "applicationlink");
|
|
13320
|
-
i0.ɵɵadvance(1);
|
|
13321
|
-
i0.ɵɵproperty("ngIf", itemLvL2_r17.type !== "dropDown" && itemLvL2_r17.type !== "applicationlink");
|
|
13322
|
-
i0.ɵɵadvance(1);
|
|
13323
|
-
i0.ɵɵproperty("ngIf", itemLvL2_r17.type === "dropDown");
|
|
13324
|
-
} }
|
|
13325
|
-
function HeaderTopComponent_ul_5_li_1_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
13326
|
-
i0.ɵɵelementStart(0, "div");
|
|
13327
|
-
i0.ɵɵelementStart(1, "label", 30);
|
|
13328
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
13329
12755
|
i0.ɵɵtext(3);
|
|
13330
|
-
i0.ɵɵ
|
|
13331
|
-
i0.ɵɵtext(4);
|
|
13332
|
-
i0.ɵɵpipe(5, "translate");
|
|
13333
|
-
i0.ɵɵelementEnd();
|
|
13334
|
-
i0.ɵɵelementStart(6, "a", 31);
|
|
13335
|
-
i0.ɵɵelementStart(7, "mat-icon");
|
|
13336
|
-
i0.ɵɵtext(8);
|
|
13337
|
-
i0.ɵɵelementEnd();
|
|
13338
|
-
i0.ɵɵtext(9);
|
|
13339
|
-
i0.ɵɵpipe(10, "translate");
|
|
13340
|
-
i0.ɵɵelementEnd();
|
|
13341
|
-
i0.ɵɵelement(11, "input", 32);
|
|
13342
|
-
i0.ɵɵelementStart(12, "ul");
|
|
13343
|
-
i0.ɵɵtemplate(13, HeaderTopComponent_ul_5_li_1_div_1_div_2_li_13_Template, 4, 3, "li", 33);
|
|
13344
|
-
i0.ɵɵelementEnd();
|
|
12756
|
+
i0.ɵɵpipe(4, "translate");
|
|
13345
12757
|
i0.ɵɵelementEnd();
|
|
13346
12758
|
} if (rf & 2) {
|
|
13347
|
-
const
|
|
13348
|
-
|
|
13349
|
-
const item_r10 = ctx_r37.$implicit;
|
|
13350
|
-
i0.ɵɵadvance(1);
|
|
13351
|
-
i0.ɵɵpropertyInterpolate1("for", "drop-", i_r11, "");
|
|
12759
|
+
const item_r5 = i0.ɵɵnextContext().$implicit;
|
|
12760
|
+
i0.ɵɵpropertyInterpolate1("routerLink", "/", item_r5.state, "");
|
|
13352
12761
|
i0.ɵɵadvance(2);
|
|
13353
|
-
i0.ɵɵtextInterpolate(
|
|
13354
|
-
i0.ɵɵadvance(1);
|
|
13355
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 7, item_r10.name), " ");
|
|
13356
|
-
i0.ɵɵadvance(4);
|
|
13357
|
-
i0.ɵɵtextInterpolate(item_r10.icon);
|
|
13358
|
-
i0.ɵɵadvance(1);
|
|
13359
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 9, item_r10.name), " ");
|
|
13360
|
-
i0.ɵɵadvance(2);
|
|
13361
|
-
i0.ɵɵpropertyInterpolate1("id", "drop-", i_r11, "");
|
|
13362
|
-
i0.ɵɵadvance(2);
|
|
13363
|
-
i0.ɵɵproperty("ngForOf", item_r10.sub);
|
|
13364
|
-
} }
|
|
13365
|
-
function HeaderTopComponent_ul_5_li_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
13366
|
-
i0.ɵɵelementStart(0, "div", 26);
|
|
13367
|
-
i0.ɵɵtemplate(1, HeaderTopComponent_ul_5_li_1_div_1_a_1_Template, 5, 5, "a", 27);
|
|
13368
|
-
i0.ɵɵtemplate(2, HeaderTopComponent_ul_5_li_1_div_1_div_2_Template, 14, 11, "div", 28);
|
|
13369
|
-
i0.ɵɵelementEnd();
|
|
13370
|
-
} if (rf & 2) {
|
|
13371
|
-
const item_r10 = i0.ɵɵnextContext().$implicit;
|
|
13372
|
-
i0.ɵɵadvance(1);
|
|
13373
|
-
i0.ɵɵproperty("ngIf", item_r10.type === "link");
|
|
13374
|
-
i0.ɵɵadvance(1);
|
|
13375
|
-
i0.ɵɵproperty("ngIf", item_r10.type === "dropDown");
|
|
13376
|
-
} }
|
|
13377
|
-
function HeaderTopComponent_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
13378
|
-
i0.ɵɵelementStart(0, "li");
|
|
13379
|
-
i0.ɵɵtemplate(1, HeaderTopComponent_ul_5_li_1_div_1_Template, 3, 2, "div", 25);
|
|
13380
|
-
i0.ɵɵelementEnd();
|
|
13381
|
-
} if (rf & 2) {
|
|
13382
|
-
const item_r10 = ctx.$implicit;
|
|
12762
|
+
i0.ɵɵtextInterpolate(item_r5.icon);
|
|
13383
12763
|
i0.ɵɵadvance(1);
|
|
13384
|
-
i0.ɵɵ
|
|
12764
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, item_r5.name), " ");
|
|
13385
12765
|
} }
|
|
13386
|
-
function
|
|
13387
|
-
i0.ɵɵelementStart(0, "
|
|
13388
|
-
i0.ɵɵtemplate(1,
|
|
12766
|
+
function HeaderTopComponent_li_7_Template(rf, ctx) { if (rf & 1) {
|
|
12767
|
+
i0.ɵɵelementStart(0, "li", 20);
|
|
12768
|
+
i0.ɵɵtemplate(1, HeaderTopComponent_li_7_a_1_Template, 5, 5, "a", 21);
|
|
13389
12769
|
i0.ɵɵelementEnd();
|
|
13390
12770
|
} if (rf & 2) {
|
|
13391
|
-
const
|
|
12771
|
+
const item_r5 = ctx.$implicit;
|
|
13392
12772
|
i0.ɵɵadvance(1);
|
|
13393
|
-
i0.ɵɵproperty("
|
|
12773
|
+
i0.ɵɵproperty("ngIf", item_r5.type === "link");
|
|
13394
12774
|
} }
|
|
13395
|
-
function
|
|
13396
|
-
i0.ɵɵelementStart(0, "mat-option",
|
|
12775
|
+
function HeaderTopComponent_mat_option_10_Template(rf, ctx) { if (rf & 1) {
|
|
12776
|
+
i0.ɵɵelementStart(0, "mat-option", 24);
|
|
13397
12777
|
i0.ɵɵtext(1);
|
|
13398
12778
|
i0.ɵɵelementEnd();
|
|
13399
12779
|
} if (rf & 2) {
|
|
13400
|
-
const
|
|
13401
|
-
i0.ɵɵproperty("value",
|
|
13402
|
-
i0.ɵɵadvance(1);
|
|
13403
|
-
i0.ɵɵtextInterpolate1("", lang_r40.name, " ");
|
|
13404
|
-
} }
|
|
13405
|
-
function HeaderTopComponent_mat_select_9_Template(rf, ctx) { if (rf & 1) {
|
|
13406
|
-
const _r42 = i0.ɵɵgetCurrentView();
|
|
13407
|
-
i0.ɵɵelementStart(0, "mat-select", 37);
|
|
13408
|
-
i0.ɵɵlistener("ngModelChange", function HeaderTopComponent_mat_select_9_Template_mat_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r42); const ctx_r41 = i0.ɵɵnextContext(); return ctx_r41.currentLang = $event; })("selectionChange", function HeaderTopComponent_mat_select_9_Template_mat_select_selectionChange_0_listener() { i0.ɵɵrestoreView(_r42); const ctx_r43 = i0.ɵɵnextContext(); return ctx_r43.setLang(); });
|
|
13409
|
-
i0.ɵɵtemplate(1, HeaderTopComponent_mat_select_9_mat_option_1_Template, 2, 2, "mat-option", 38);
|
|
13410
|
-
i0.ɵɵelementEnd();
|
|
13411
|
-
} if (rf & 2) {
|
|
13412
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
13413
|
-
i0.ɵɵstyleProp("width", "auto");
|
|
13414
|
-
i0.ɵɵproperty("ngModel", ctx_r2.currentLang);
|
|
12780
|
+
const lang_r9 = ctx.$implicit;
|
|
12781
|
+
i0.ɵɵproperty("value", lang_r9.code);
|
|
13415
12782
|
i0.ɵɵadvance(1);
|
|
13416
|
-
i0.ɵɵ
|
|
12783
|
+
i0.ɵɵtextInterpolate1(" ", lang_r9.name, " ");
|
|
13417
12784
|
} }
|
|
13418
|
-
function
|
|
13419
|
-
i0.ɵɵ
|
|
13420
|
-
i0.ɵɵtext(1, "check");
|
|
13421
|
-
i0.ɵɵelementEnd();
|
|
13422
|
-
} }
|
|
13423
|
-
function HeaderTopComponent_mat_grid_tile_16_Template(rf, ctx) { if (rf & 1) {
|
|
13424
|
-
const _r47 = i0.ɵɵgetCurrentView();
|
|
13425
|
-
i0.ɵɵelementStart(0, "mat-grid-tile", 40);
|
|
13426
|
-
i0.ɵɵlistener("click", function HeaderTopComponent_mat_grid_tile_16_Template_mat_grid_tile_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r47); const theme_r44 = restoredCtx.$implicit; const ctx_r46 = i0.ɵɵnextContext(); return ctx_r46.changeTheme(theme_r44); });
|
|
13427
|
-
i0.ɵɵelementStart(1, "div", 41);
|
|
13428
|
-
i0.ɵɵelement(2, "div", 42);
|
|
13429
|
-
i0.ɵɵtemplate(3, HeaderTopComponent_mat_grid_tile_16_mat_icon_3_Template, 2, 0, "mat-icon", 43);
|
|
13430
|
-
i0.ɵɵelementEnd();
|
|
13431
|
-
i0.ɵɵelementEnd();
|
|
13432
|
-
} if (rf & 2) {
|
|
13433
|
-
const theme_r44 = ctx.$implicit;
|
|
13434
|
-
i0.ɵɵadvance(1);
|
|
13435
|
-
i0.ɵɵproperty("title", theme_r44.name);
|
|
13436
|
-
i0.ɵɵadvance(1);
|
|
13437
|
-
i0.ɵɵstyleProp("background", theme_r44.baseColor);
|
|
13438
|
-
i0.ɵɵadvance(1);
|
|
13439
|
-
i0.ɵɵproperty("ngIf", theme_r44.isActive);
|
|
13440
|
-
} }
|
|
13441
|
-
function HeaderTopComponent_img_24_Template(rf, ctx) { if (rf & 1) {
|
|
13442
|
-
i0.ɵɵelement(0, "img", 45);
|
|
12785
|
+
function HeaderTopComponent_img_20_Template(rf, ctx) { if (rf & 1) {
|
|
12786
|
+
i0.ɵɵelement(0, "img", 25);
|
|
13443
12787
|
i0.ɵɵpipe(1, "async");
|
|
13444
12788
|
} if (rf & 2) {
|
|
13445
|
-
const
|
|
13446
|
-
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 1,
|
|
13447
|
-
} }
|
|
13448
|
-
function HeaderTopComponent_img_27_Template(rf, ctx) { if (rf & 1) {
|
|
13449
|
-
i0.ɵɵelement(0, "img", 46);
|
|
12789
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
12790
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 1, ctx_r2.authenticatedUserRecord$).profileImage, i0.ɵɵsanitizeUrl);
|
|
13450
12791
|
} }
|
|
13451
|
-
function
|
|
13452
|
-
|
|
13453
|
-
i0.ɵɵelementStart(0, "button", 47);
|
|
13454
|
-
i0.ɵɵlistener("click", function HeaderTopComponent_button_57_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r49); const ctx_r48 = i0.ɵɵnextContext(); return ctx_r48.toggleSidenav(); });
|
|
13455
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
13456
|
-
i0.ɵɵtext(2, "menu");
|
|
13457
|
-
i0.ɵɵelementEnd();
|
|
13458
|
-
i0.ɵɵelementEnd();
|
|
12792
|
+
function HeaderTopComponent_img_22_Template(rf, ctx) { if (rf & 1) {
|
|
12793
|
+
i0.ɵɵelement(0, "img", 26);
|
|
13459
12794
|
} }
|
|
13460
|
-
const _c0$6 = function () { return ["/profile/overview"]; };
|
|
13461
|
-
const _c1$2 = function () { return ["/profile/settings"]; };
|
|
13462
|
-
const _c2$1 = function () { return ["/sessions/signin"]; };
|
|
13463
12795
|
class HeaderTopComponent {
|
|
13464
12796
|
constructor(layout, themeService, translate, renderer, store, cookieService) {
|
|
13465
12797
|
this.layout = layout;
|
|
@@ -13520,125 +12852,85 @@ class HeaderTopComponent {
|
|
|
13520
12852
|
}
|
|
13521
12853
|
}
|
|
13522
12854
|
HeaderTopComponent.ɵfac = function HeaderTopComponent_Factory(t) { return new (t || HeaderTopComponent)(i0.ɵɵdirectiveInject(LayoutService), i0.ɵɵdirectiveInject(ThemeService), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i5.CookieService)); };
|
|
13523
|
-
HeaderTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderTopComponent, selectors: [["app-header-top"]], inputs: { notificPanel: "notificPanel" }, decls:
|
|
13524
|
-
i0.ɵɵelementStart(0, "
|
|
12855
|
+
HeaderTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderTopComponent, selectors: [["app-header-top"]], inputs: { notificPanel: "notificPanel" }, decls: 38, vars: 13, consts: [[1, "navbar", "navbar-expand-lg", "navbar-dark", 2, "background-color", "#2c3e50", "padding", "0 20px", "height", "60px"], [1, "container-fluid", "d-flex", "align-items-center"], ["href", "#", 1, "navbar-brand", "d-flex", "align-items-center"], ["alt", "Logo", 2, "height", "40px", 3, "src"], [1, "collapse", "navbar-collapse", "justify-content-center"], [1, "navbar-nav", "mb-0"], ["class", "nav-item", 4, "ngFor", "ngForOf"], [1, "d-flex", "align-items-center"], [2, "color", "white", "background", "transparent", "border", "none", "margin-right", "15px", "min-width", "100px", 3, "ngModel", "ngModelChange", "selectionChange"], [3, "value", 4, "ngFor", "ngForOf"], ["mat-icon-button", "", "matTooltip", "Themes", 2, "color", "white", "margin-right", "15px"], ["mat-icon-button", "", 2, "color", "white", "margin-right", "15px", "position", "relative", 3, "click"], [1, "badge", "bg-danger", 2, "position", "absolute", "top", "5px", "right", "5px", "font-size", "10px"], ["mat-icon-button", "", 2, "margin-left", "10px", 3, "matMenuTriggerFor"], ["style", "height:35px; width:35px; border-radius:50%;", 3, "src", 4, "ngIf"], ["src", "../../../../assets/images/faces/18.png", "style", "height:35px; width:35px; border-radius:50%;", 4, "ngIf"], ["accountMenu", "matMenu"], ["mat-menu-item", "", "routerLink", "/profile/overview"], ["mat-menu-item", "", "routerLink", "/profile/settings"], ["mat-menu-item", "", "routerLink", "/sessions/signin"], [1, "nav-item"], ["class", "nav-link d-flex align-items-center", 3, "routerLink", 4, "ngIf"], [1, "nav-link", "d-flex", "align-items-center", 3, "routerLink"], [2, "font-size", "20px", "color", "#FAF9F6", "margin-right", "6px"], [3, "value"], [2, "height", "35px", "width", "35px", "border-radius", "50%", 3, "src"], ["src", "../../../../assets/images/faces/18.png", 2, "height", "35px", "width", "35px", "border-radius", "50%"]], template: function HeaderTopComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12856
|
+
i0.ɵɵelementStart(0, "nav", 0);
|
|
13525
12857
|
i0.ɵɵelementStart(1, "div", 1);
|
|
13526
|
-
i0.ɵɵelementStart(2, "
|
|
13527
|
-
i0.ɵɵ
|
|
13528
|
-
i0.ɵɵ
|
|
13529
|
-
i0.ɵɵelementEnd();
|
|
13530
|
-
i0.ɵɵtemplate(5, HeaderTopComponent_ul_5_Template, 2, 1, "ul", 5);
|
|
13531
|
-
i0.ɵɵelement(6, "span", 6);
|
|
13532
|
-
i0.ɵɵelementStart(7, "mat-menu", null, 7);
|
|
13533
|
-
i0.ɵɵtemplate(9, HeaderTopComponent_mat_select_9_Template, 2, 4, "mat-select", 8);
|
|
13534
|
-
i0.ɵɵelementEnd();
|
|
13535
|
-
i0.ɵɵelementStart(10, "button", 9);
|
|
13536
|
-
i0.ɵɵelementStart(11, "mat-icon");
|
|
13537
|
-
i0.ɵɵtext(12, "format_color_fill");
|
|
13538
|
-
i0.ɵɵelementEnd();
|
|
13539
|
-
i0.ɵɵelementEnd();
|
|
13540
|
-
i0.ɵɵelementStart(13, "mat-menu", null, 10);
|
|
13541
|
-
i0.ɵɵelementStart(15, "mat-grid-list", 11);
|
|
13542
|
-
i0.ɵɵtemplate(16, HeaderTopComponent_mat_grid_tile_16_Template, 4, 4, "mat-grid-tile", 12);
|
|
13543
|
-
i0.ɵɵelementEnd();
|
|
13544
|
-
i0.ɵɵelementEnd();
|
|
13545
|
-
i0.ɵɵelementStart(17, "button", 13);
|
|
13546
|
-
i0.ɵɵlistener("click", function HeaderTopComponent_Template_button_click_17_listener() { return ctx.toggleNotific(); });
|
|
13547
|
-
i0.ɵɵpipe(18, "translate");
|
|
13548
|
-
i0.ɵɵelementStart(19, "mat-icon");
|
|
13549
|
-
i0.ɵɵtext(20, "notifications");
|
|
13550
|
-
i0.ɵɵelementEnd();
|
|
13551
|
-
i0.ɵɵelementStart(21, "span", 14);
|
|
13552
|
-
i0.ɵɵtext(22, "3");
|
|
13553
|
-
i0.ɵɵelementEnd();
|
|
13554
|
-
i0.ɵɵelementEnd();
|
|
13555
|
-
i0.ɵɵelementStart(23, "button", 15);
|
|
13556
|
-
i0.ɵɵtemplate(24, HeaderTopComponent_img_24_Template, 2, 3, "img", 16);
|
|
13557
|
-
i0.ɵɵpipe(25, "async");
|
|
13558
|
-
i0.ɵɵpipe(26, "async");
|
|
13559
|
-
i0.ɵɵtemplate(27, HeaderTopComponent_img_27_Template, 1, 0, "img", 17);
|
|
13560
|
-
i0.ɵɵpipe(28, "async");
|
|
13561
|
-
i0.ɵɵpipe(29, "async");
|
|
12858
|
+
i0.ɵɵelementStart(2, "a", 2);
|
|
12859
|
+
i0.ɵɵelement(3, "img", 3);
|
|
12860
|
+
i0.ɵɵpipe(4, "async");
|
|
13562
12861
|
i0.ɵɵelementEnd();
|
|
13563
|
-
i0.ɵɵelementStart(
|
|
13564
|
-
i0.ɵɵelementStart(
|
|
13565
|
-
i0.ɵɵ
|
|
13566
|
-
i0.ɵɵtext(34, "account_box");
|
|
12862
|
+
i0.ɵɵelementStart(5, "div", 4);
|
|
12863
|
+
i0.ɵɵelementStart(6, "ul", 5);
|
|
12864
|
+
i0.ɵɵtemplate(7, HeaderTopComponent_li_7_Template, 2, 1, "li", 6);
|
|
13567
12865
|
i0.ɵɵelementEnd();
|
|
13568
|
-
i0.ɵɵelementStart(35, "span");
|
|
13569
|
-
i0.ɵɵtext(36, "Profile");
|
|
13570
12866
|
i0.ɵɵelementEnd();
|
|
12867
|
+
i0.ɵɵelementStart(8, "div", 7);
|
|
12868
|
+
i0.ɵɵelementStart(9, "mat-select", 8);
|
|
12869
|
+
i0.ɵɵlistener("ngModelChange", function HeaderTopComponent_Template_mat_select_ngModelChange_9_listener($event) { return ctx.currentLang = $event; })("selectionChange", function HeaderTopComponent_Template_mat_select_selectionChange_9_listener() { return ctx.setLang(); });
|
|
12870
|
+
i0.ɵɵtemplate(10, HeaderTopComponent_mat_option_10_Template, 2, 2, "mat-option", 9);
|
|
13571
12871
|
i0.ɵɵelementEnd();
|
|
13572
|
-
i0.ɵɵelementStart(
|
|
13573
|
-
i0.ɵɵelementStart(
|
|
13574
|
-
i0.ɵɵtext(
|
|
12872
|
+
i0.ɵɵelementStart(11, "button", 10);
|
|
12873
|
+
i0.ɵɵelementStart(12, "mat-icon");
|
|
12874
|
+
i0.ɵɵtext(13, "format_color_fill");
|
|
13575
12875
|
i0.ɵɵelementEnd();
|
|
13576
|
-
i0.ɵɵelementStart(40, "span");
|
|
13577
|
-
i0.ɵɵtext(41, "Language");
|
|
13578
12876
|
i0.ɵɵelementEnd();
|
|
12877
|
+
i0.ɵɵelementStart(14, "button", 11);
|
|
12878
|
+
i0.ɵɵlistener("click", function HeaderTopComponent_Template_button_click_14_listener() { return ctx.toggleNotific(); });
|
|
12879
|
+
i0.ɵɵelementStart(15, "mat-icon");
|
|
12880
|
+
i0.ɵɵtext(16, "notifications");
|
|
13579
12881
|
i0.ɵɵelementEnd();
|
|
13580
|
-
i0.ɵɵelementStart(
|
|
13581
|
-
i0.ɵɵ
|
|
13582
|
-
i0.ɵɵtext(44, "settings");
|
|
12882
|
+
i0.ɵɵelementStart(17, "span", 12);
|
|
12883
|
+
i0.ɵɵtext(18, "3");
|
|
13583
12884
|
i0.ɵɵelementEnd();
|
|
13584
|
-
i0.ɵɵelementStart(45, "span");
|
|
13585
|
-
i0.ɵɵtext(46, "Account Settings");
|
|
13586
12885
|
i0.ɵɵelementEnd();
|
|
12886
|
+
i0.ɵɵelementStart(19, "button", 13);
|
|
12887
|
+
i0.ɵɵtemplate(20, HeaderTopComponent_img_20_Template, 2, 3, "img", 14);
|
|
12888
|
+
i0.ɵɵpipe(21, "async");
|
|
12889
|
+
i0.ɵɵtemplate(22, HeaderTopComponent_img_22_Template, 1, 0, "img", 15);
|
|
12890
|
+
i0.ɵɵpipe(23, "async");
|
|
13587
12891
|
i0.ɵɵelementEnd();
|
|
13588
|
-
i0.ɵɵelementStart(47, "button", 21);
|
|
13589
|
-
i0.ɵɵelementStart(48, "mat-icon");
|
|
13590
|
-
i0.ɵɵtext(49, "notifications_off");
|
|
13591
12892
|
i0.ɵɵelementEnd();
|
|
13592
|
-
i0.ɵɵelementStart(50, "span");
|
|
13593
|
-
i0.ɵɵtext(51, "Disable alerts");
|
|
13594
12893
|
i0.ɵɵelementEnd();
|
|
13595
12894
|
i0.ɵɵelementEnd();
|
|
13596
|
-
i0.ɵɵelementStart(
|
|
13597
|
-
i0.ɵɵelementStart(
|
|
13598
|
-
i0.ɵɵ
|
|
12895
|
+
i0.ɵɵelementStart(24, "mat-menu", null, 16);
|
|
12896
|
+
i0.ɵɵelementStart(26, "button", 17);
|
|
12897
|
+
i0.ɵɵelementStart(27, "mat-icon");
|
|
12898
|
+
i0.ɵɵtext(28, "account_box");
|
|
13599
12899
|
i0.ɵɵelementEnd();
|
|
13600
|
-
i0.ɵɵ
|
|
13601
|
-
i0.ɵɵtext(56, "Sign out");
|
|
12900
|
+
i0.ɵɵtext(29, " Profile ");
|
|
13602
12901
|
i0.ɵɵelementEnd();
|
|
12902
|
+
i0.ɵɵelementStart(30, "button", 18);
|
|
12903
|
+
i0.ɵɵelementStart(31, "mat-icon");
|
|
12904
|
+
i0.ɵɵtext(32, "settings");
|
|
13603
12905
|
i0.ɵɵelementEnd();
|
|
12906
|
+
i0.ɵɵtext(33, " Settings ");
|
|
13604
12907
|
i0.ɵɵelementEnd();
|
|
13605
|
-
i0.ɵɵ
|
|
12908
|
+
i0.ɵɵelementStart(34, "button", 19);
|
|
12909
|
+
i0.ɵɵelementStart(35, "mat-icon");
|
|
12910
|
+
i0.ɵɵtext(36, "exit_to_app");
|
|
13606
12911
|
i0.ɵɵelementEnd();
|
|
12912
|
+
i0.ɵɵtext(37, " Sign Out ");
|
|
13607
12913
|
i0.ɵɵelementEnd();
|
|
13608
12914
|
i0.ɵɵelementEnd();
|
|
13609
12915
|
} if (rf & 2) {
|
|
13610
|
-
const
|
|
13611
|
-
|
|
13612
|
-
|
|
13613
|
-
i0.ɵɵadvance(
|
|
13614
|
-
i0.ɵɵ
|
|
12916
|
+
const _r4 = i0.ɵɵreference(25);
|
|
12917
|
+
let tmp_5_0;
|
|
12918
|
+
let tmp_6_0;
|
|
12919
|
+
i0.ɵɵadvance(3);
|
|
12920
|
+
i0.ɵɵpropertyInterpolate("src", i0.ɵɵpipeBind1(4, 7, ctx.themeModel$).companyMiniLogo, i0.ɵɵsanitizeUrl);
|
|
13615
12921
|
i0.ɵɵadvance(4);
|
|
13616
|
-
i0.ɵɵproperty("
|
|
13617
|
-
i0.ɵɵadvance(
|
|
13618
|
-
i0.ɵɵ
|
|
13619
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r3);
|
|
13620
|
-
i0.ɵɵadvance(6);
|
|
13621
|
-
i0.ɵɵproperty("ngForOf", ctx.egretThemes);
|
|
12922
|
+
i0.ɵɵproperty("ngForOf", ctx.menuItems);
|
|
12923
|
+
i0.ɵɵadvance(2);
|
|
12924
|
+
i0.ɵɵproperty("ngModel", ctx.currentLang);
|
|
13622
12925
|
i0.ɵɵadvance(1);
|
|
13623
|
-
i0.ɵɵ
|
|
13624
|
-
i0.ɵɵ
|
|
13625
|
-
i0.ɵɵ
|
|
13626
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r7);
|
|
12926
|
+
i0.ɵɵproperty("ngForOf", ctx.availableLangs);
|
|
12927
|
+
i0.ɵɵadvance(9);
|
|
12928
|
+
i0.ɵɵproperty("matMenuTriggerFor", _r4);
|
|
13627
12929
|
i0.ɵɵadvance(1);
|
|
13628
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
13629
|
-
i0.ɵɵadvance(
|
|
13630
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
13631
|
-
|
|
13632
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(27, _c0$6));
|
|
13633
|
-
i0.ɵɵadvance(5);
|
|
13634
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r1);
|
|
13635
|
-
i0.ɵɵadvance(5);
|
|
13636
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(28, _c1$2));
|
|
13637
|
-
i0.ɵɵadvance(10);
|
|
13638
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(29, _c2$1));
|
|
13639
|
-
i0.ɵɵadvance(5);
|
|
13640
|
-
i0.ɵɵproperty("ngIf", ctx.layoutConf.isMobile);
|
|
13641
|
-
} }, directives: [i10.NgIf, i20.DefaultFlexDirective, i16.MatMenu, i8.MatButton, i7$1.MatTooltip, i16.MatMenuTrigger, i17.MatIcon, i12$1.MatGridList, i10.NgForOf, i16.MatMenuItem, i2.RouterLink, i2.RouterLinkActive, i2.RouterLinkWithHref, i34.MatSelect, i9.NgControlStatus, i9.NgModel, i14.MatOption, i9.DefaultValueAccessor, i12$1.MatGridTile], pipes: [i5$1.TranslatePipe, i10.AsyncPipe], encapsulation: 2 });
|
|
12930
|
+
i0.ɵɵproperty("ngIf", (tmp_5_0 = i0.ɵɵpipeBind1(21, 9, ctx.authenticatedUserRecord$)) == null ? null : tmp_5_0.profileImage);
|
|
12931
|
+
i0.ɵɵadvance(2);
|
|
12932
|
+
i0.ɵɵproperty("ngIf", !((tmp_6_0 = i0.ɵɵpipeBind1(23, 11, ctx.authenticatedUserRecord$)) == null ? null : tmp_6_0.profileImage));
|
|
12933
|
+
} }, directives: [i10.NgForOf, i33.MatSelect, i9.NgControlStatus, i9.NgModel, i8.MatButton, i7$1.MatTooltip, i17.MatIcon, i16.MatMenuTrigger, i10.NgIf, i16.MatMenu, i16.MatMenuItem, i2.RouterLink, i2.RouterLinkWithHref, i14.MatOption], pipes: [i10.AsyncPipe, i5$1.TranslatePipe], encapsulation: 2 });
|
|
13642
12934
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderTopComponent, [{
|
|
13643
12935
|
type: Component,
|
|
13644
12936
|
args: [{
|
|
@@ -13671,7 +12963,7 @@ function SidenavComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
13671
12963
|
i0.ɵɵadvance(1);
|
|
13672
12964
|
i0.ɵɵproperty("ngIf", !item_r3.disabled && item_r3.type === "icon");
|
|
13673
12965
|
} }
|
|
13674
|
-
const _c0$
|
|
12966
|
+
const _c0$4 = function () { return { margin: "0 -24px" }; };
|
|
13675
12967
|
function SidenavComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
13676
12968
|
i0.ɵɵelementStart(0, "div", 4);
|
|
13677
12969
|
i0.ɵɵelementStart(1, "div", 5);
|
|
@@ -13686,7 +12978,7 @@ function SidenavComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
13686
12978
|
} if (rf & 2) {
|
|
13687
12979
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
13688
12980
|
i0.ɵɵadvance(2);
|
|
13689
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(5, _c0$
|
|
12981
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(5, _c0$4));
|
|
13690
12982
|
i0.ɵɵadvance(2);
|
|
13691
12983
|
i0.ɵɵtextInterpolate(ctx_r0.iconTypeMenuTitle);
|
|
13692
12984
|
i0.ɵɵadvance(1);
|
|
@@ -13708,7 +13000,7 @@ function SidenavComponent_li_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
13708
13000
|
i0.ɵɵadvance(2);
|
|
13709
13001
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, item_r6.name));
|
|
13710
13002
|
} }
|
|
13711
|
-
const _c1
|
|
13003
|
+
const _c1 = function (a0) { return { background: a0 }; };
|
|
13712
13004
|
function SidenavComponent_li_3_div_2_a_1_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
13713
13005
|
i0.ɵɵelementStart(0, "span", 6);
|
|
13714
13006
|
i0.ɵɵtext(1);
|
|
@@ -13716,7 +13008,7 @@ function SidenavComponent_li_3_div_2_a_1_span_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13716
13008
|
} if (rf & 2) {
|
|
13717
13009
|
const badge_r17 = ctx.$implicit;
|
|
13718
13010
|
i0.ɵɵclassMapInterpolate1("menuitem-badge mat-bg-", badge_r17.color, "");
|
|
13719
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1
|
|
13011
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1, badge_r17.color));
|
|
13720
13012
|
i0.ɵɵadvance(1);
|
|
13721
13013
|
i0.ɵɵtextInterpolate(badge_r17.value);
|
|
13722
13014
|
} }
|
|
@@ -13752,7 +13044,7 @@ function SidenavComponent_li_3_div_2_a_2_span_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13752
13044
|
} if (rf & 2) {
|
|
13753
13045
|
const badge_r20 = ctx.$implicit;
|
|
13754
13046
|
i0.ɵɵclassMapInterpolate1("menuitem-badge mat-bg-", badge_r20.color, "");
|
|
13755
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1
|
|
13047
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1, badge_r20.color));
|
|
13756
13048
|
i0.ɵɵadvance(1);
|
|
13757
13049
|
i0.ɵɵtextInterpolate(badge_r20.value);
|
|
13758
13050
|
} }
|
|
@@ -13788,7 +13080,7 @@ function SidenavComponent_li_3_div_2_a_3_span_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13788
13080
|
} if (rf & 2) {
|
|
13789
13081
|
const badge_r23 = ctx.$implicit;
|
|
13790
13082
|
i0.ɵɵclassMapInterpolate1("menuitem-badge mat-bg-", badge_r23.color, "");
|
|
13791
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1
|
|
13083
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1, badge_r23.color));
|
|
13792
13084
|
i0.ɵɵadvance(1);
|
|
13793
13085
|
i0.ɵɵtextInterpolate(badge_r23.value);
|
|
13794
13086
|
} }
|
|
@@ -13824,7 +13116,7 @@ function SidenavComponent_li_3_div_2_a_4_span_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13824
13116
|
} if (rf & 2) {
|
|
13825
13117
|
const badge_r26 = ctx.$implicit;
|
|
13826
13118
|
i0.ɵɵclassMapInterpolate1("menuitem-badge mat-bg-", badge_r26.color, "");
|
|
13827
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1
|
|
13119
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1, badge_r26.color));
|
|
13828
13120
|
i0.ɵɵadvance(1);
|
|
13829
13121
|
i0.ɵɵtextInterpolate(badge_r26.value);
|
|
13830
13122
|
} }
|
|
@@ -13860,7 +13152,7 @@ function SidenavComponent_li_3_div_2_a_5_span_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13860
13152
|
} if (rf & 2) {
|
|
13861
13153
|
const badge_r29 = ctx.$implicit;
|
|
13862
13154
|
i0.ɵɵclassMapInterpolate1("menuitem-badge mat-bg-", badge_r29.color, "");
|
|
13863
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1
|
|
13155
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c1, badge_r29.color));
|
|
13864
13156
|
i0.ɵɵadvance(1);
|
|
13865
13157
|
i0.ɵɵtextInterpolate(badge_r29.value);
|
|
13866
13158
|
} }
|
|
@@ -14022,405 +13314,189 @@ function SidenavComponent_li_3_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
14022
13314
|
} }
|
|
14023
13315
|
function SidenavComponent_li_3_Template(rf, ctx) { if (rf & 1) {
|
|
14024
13316
|
i0.ɵɵelementStart(0, "li", 12);
|
|
14025
|
-
i0.ɵɵtemplate(1, SidenavComponent_li_3_div_1_Template, 6, 6, "div", 13);
|
|
14026
|
-
i0.ɵɵtemplate(2, SidenavComponent_li_3_div_2_Template, 7, 6, "div", 14);
|
|
14027
|
-
i0.ɵɵelementEnd();
|
|
14028
|
-
} if (rf & 2) {
|
|
14029
|
-
const item_r6 = ctx.$implicit;
|
|
14030
|
-
i0.ɵɵadvance(1);
|
|
14031
|
-
i0.ɵɵproperty("ngIf", item_r6.type === "separator");
|
|
14032
|
-
i0.ɵɵadvance(1);
|
|
14033
|
-
i0.ɵɵproperty("ngIf", !item_r6.disabled && item_r6.type !== "separator" && item_r6.type !== "icon");
|
|
14034
|
-
} }
|
|
14035
|
-
class SidenavComponent {
|
|
14036
|
-
constructor(store) {
|
|
14037
|
-
this.store = store;
|
|
14038
|
-
}
|
|
14039
|
-
ngOnInit() {
|
|
14040
|
-
this.menuItems$ = this.store.pipe(select(getCurrentActiveMenuCategoryMenuItems), tap(menuList => console.log(menuList)));
|
|
14041
|
-
this.store.dispatch(new GetAllMenuItemsTriggered(MenuCategories.Main));
|
|
14042
|
-
}
|
|
14043
|
-
}
|
|
14044
|
-
SidenavComponent.ɵfac = function SidenavComponent_Factory(t) { return new (t || SidenavComponent)(i0.ɵɵdirectiveInject(i3.Store)); };
|
|
14045
|
-
SidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavComponent, selectors: [["app-sidenav"]], inputs: { hasIconTypeMenuItem: ["hasIconMenu", "hasIconTypeMenuItem"], iconTypeMenuTitle: ["iconMenuTitle", "iconTypeMenuTitle"] }, decls: 5, vars: 4, consts: [[1, "sidenav-hold"], ["class", "icon-menu", 4, "ngIf"], ["appDropdown", "", 1, "sidenav"], ["appDropdownLink", "", "routerLinkActive", "open", 4, "ngFor", "ngForOf"], [1, "icon-menu"], [1, "mt-1", "mb-1", "nav-item-sep"], [3, "ngStyle"], [1, "text-muted", "icon-menu-title"], ["class", "icon-menu-item", 4, "ngFor", "ngForOf"], [1, "icon-menu-item"], ["mat-raised-button", "", "matTooltipClass", "tooltipClass-mat", "routerLinkActive", "mat-bg-primary", 3, "matTooltip", "routerLink", 4, "ngIf"], ["mat-raised-button", "", "matTooltipClass", "tooltipClass-mat", "routerLinkActive", "mat-bg-primary", 3, "matTooltip", "routerLink"], ["appDropdownLink", "", "routerLinkActive", "open"], ["class", "nav-item-sep", 4, "ngIf"], ["class", "lvl1", 4, "ngIf"], [1, "nav-item-sep"], ["matTooltipClass", "tooltipClass-mat", 1, "text-muted", 3, "matTooltip"], [1, "lvl1"], ["appDropdownToggle", "", "matRipple", "", 3, "routerLink", 4, "ngIf"], ["appDropdownToggle", "", "matRipple", "", "target", "_blank", 3, "href", 4, "ngIf"], ["appDropdownToggle", "", "matRipple", "", 4, "ngIf"], ["class", "submenu lvl2", "appDropdown", "", 4, "ngIf"], ["appDropdownToggle", "", "matRipple", "", 3, "routerLink"], ["matTooltipClass", "tooltipClass-mat", 1, "item-name", "lvl1", 3, "matTooltip"], ["fxFlex", ""], [3, "class", "ngStyle", 4, "ngFor", "ngForOf"], ["appDropdownToggle", "", "matRipple", "", "target", "_blank", 3, "href"], ["appDropdownToggle", "", "matRipple", ""], [1, "menu-caret"], ["appDropdown", "", 1, "submenu", "lvl2"], ["class", "submenu lvl3", "appDropdown", "", 4, "ngIf"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "300", 1, "item-name", "lvl2", "hide-content-overflow", 3, "matTooltip"], [1, "item-name", "lvl2"], ["appDropdown", "", 1, "submenu", "lvl3"], [1, "item-name", "lvl3"]], template: function SidenavComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14046
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
14047
|
-
i0.ɵɵtemplate(1, SidenavComponent_div_1_Template, 7, 6, "div", 1);
|
|
14048
|
-
i0.ɵɵelementStart(2, "ul", 2);
|
|
14049
|
-
i0.ɵɵtemplate(3, SidenavComponent_li_3_Template, 3, 2, "li", 3);
|
|
14050
|
-
i0.ɵɵpipe(4, "async");
|
|
14051
|
-
i0.ɵɵelementEnd();
|
|
14052
|
-
i0.ɵɵelementEnd();
|
|
14053
|
-
} if (rf & 2) {
|
|
14054
|
-
i0.ɵɵadvance(1);
|
|
14055
|
-
i0.ɵɵproperty("ngIf", ctx.hasIconTypeMenuItem);
|
|
14056
|
-
i0.ɵɵadvance(2);
|
|
14057
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 2, ctx.menuItems$));
|
|
14058
|
-
} }, directives: [i10.NgIf, i10.NgForOf, i7$2.MatDivider, i10.NgStyle, i22$1.DefaultStyleDirective, i8.MatButton, i2.RouterLinkActive, i7$1.MatTooltip, i2.RouterLink, i17.MatIcon, i2.RouterLinkWithHref, i20.DefaultFlexDirective], pipes: [i10.AsyncPipe, i5$1.TranslatePipe], encapsulation: 2 });
|
|
14059
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
|
|
14060
|
-
type: Component,
|
|
14061
|
-
args: [{
|
|
14062
|
-
selector: "app-sidenav",
|
|
14063
|
-
templateUrl: "./sidenav.template.html"
|
|
14064
|
-
}]
|
|
14065
|
-
}], function () { return [{ type: i3.Store }]; }, { hasIconTypeMenuItem: [{
|
|
14066
|
-
type: Input,
|
|
14067
|
-
args: ["hasIconMenu"]
|
|
14068
|
-
}], iconTypeMenuTitle: [{
|
|
14069
|
-
type: Input,
|
|
14070
|
-
args: ["iconMenuTitle"]
|
|
14071
|
-
}] }); })();
|
|
14072
|
-
|
|
14073
|
-
// import PerfectScrollbar from 'perfect-scrollbar';
|
|
14074
|
-
class SidebarTopComponent {
|
|
14075
|
-
// private sidebarPS: PerfectScrollbar;
|
|
14076
|
-
constructor() { }
|
|
14077
|
-
ngOnInit() { }
|
|
14078
|
-
ngAfterViewInit() {
|
|
14079
|
-
// setTimeout(() => {
|
|
14080
|
-
// this.sidebarPS = new PerfectScrollbar('#sidebar-top-scroll-area', {
|
|
14081
|
-
// suppressScrollX: true
|
|
14082
|
-
// })
|
|
14083
|
-
// })
|
|
14084
|
-
}
|
|
14085
|
-
ngOnDestroy() {
|
|
14086
|
-
// if(this.sidebarPS) {
|
|
14087
|
-
// this.sidebarPS.destroy();
|
|
14088
|
-
// }
|
|
14089
|
-
}
|
|
14090
|
-
}
|
|
14091
|
-
SidebarTopComponent.ɵfac = function SidebarTopComponent_Factory(t) { return new (t || SidebarTopComponent)(); };
|
|
14092
|
-
SidebarTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidebarTopComponent, selectors: [["app-sidebar-top"]], decls: 3, vars: 0, consts: [[1, "sidebar-panel"], ["id", "sidebar-top-scroll-area", "fxLayout", "column", 1, "navigation-hold", 3, "perfectScrollbar"]], template: function SidebarTopComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14093
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
14094
|
-
i0.ɵɵelementStart(1, "div", 1);
|
|
14095
|
-
i0.ɵɵelement(2, "app-sidenav");
|
|
14096
|
-
i0.ɵɵelementEnd();
|
|
14097
|
-
i0.ɵɵelementEnd();
|
|
14098
|
-
} }, directives: [i20.DefaultLayoutDirective, i2$3.PerfectScrollbarDirective, SidenavComponent], encapsulation: 2 });
|
|
14099
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidebarTopComponent, [{
|
|
14100
|
-
type: Component,
|
|
14101
|
-
args: [{
|
|
14102
|
-
selector: "app-sidebar-top",
|
|
14103
|
-
templateUrl: "./sidebar-top.component.html"
|
|
14104
|
-
}]
|
|
14105
|
-
}], function () { return []; }, null); })();
|
|
14106
|
-
|
|
14107
|
-
function AdminLayoutComponent_app_header_top_1_Template(rf, ctx) { if (rf & 1) {
|
|
14108
|
-
i0.ɵɵelement(0, "app-header-top", 13);
|
|
14109
|
-
} if (rf & 2) {
|
|
14110
|
-
i0.ɵɵnextContext();
|
|
14111
|
-
const _r5 = i0.ɵɵreference(13);
|
|
14112
|
-
i0.ɵɵproperty("notificPanel", _r5);
|
|
14113
|
-
} }
|
|
14114
|
-
function AdminLayoutComponent_app_sidebar_top_4_Template(rf, ctx) { if (rf & 1) {
|
|
14115
|
-
i0.ɵɵelement(0, "app-sidebar-top");
|
|
14116
|
-
} }
|
|
14117
|
-
function AdminLayoutComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
14118
|
-
i0.ɵɵelementStart(0, "div", 14);
|
|
14119
|
-
i0.ɵɵelementStart(1, "div", 15);
|
|
14120
|
-
i0.ɵɵelement(2, "div", 16);
|
|
14121
|
-
i0.ɵɵelement(3, "div", 17);
|
|
14122
|
-
i0.ɵɵelementEnd();
|
|
14123
|
-
i0.ɵɵelementEnd();
|
|
14124
|
-
} }
|
|
14125
|
-
function AdminLayoutComponent_div_9_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
14126
|
-
i0.ɵɵelement(0, "div", 21);
|
|
14127
|
-
} }
|
|
14128
|
-
function AdminLayoutComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
14129
|
-
i0.ɵɵelementStart(0, "div", 18);
|
|
14130
|
-
i0.ɵɵelementStart(1, "span", 19);
|
|
14131
|
-
i0.ɵɵtext(2);
|
|
14132
|
-
i0.ɵɵpipe(3, "translate");
|
|
14133
|
-
i0.ɵɵpipe(4, "translate");
|
|
14134
|
-
i0.ɵɵelementEnd();
|
|
14135
|
-
i0.ɵɵtemplate(5, AdminLayoutComponent_div_9_div_5_Template, 1, 0, "div", 20);
|
|
14136
|
-
i0.ɵɵelementEnd();
|
|
14137
|
-
} if (rf & 2) {
|
|
14138
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
14139
|
-
i0.ɵɵadvance(2);
|
|
14140
|
-
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(3, 4, "LOADINGPLEASEWAIT"), " (", ctx_r3.totalLoadingTime, " ", i0.ɵɵpipeBind1(4, 6, "SECONDS"), ") ");
|
|
14141
|
-
i0.ɵɵadvance(3);
|
|
14142
|
-
i0.ɵɵproperty("ngIf", ctx_r3.loading);
|
|
14143
|
-
} }
|
|
14144
|
-
function AdminLayoutComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
14145
|
-
i0.ɵɵelementStart(0, "div");
|
|
14146
|
-
i0.ɵɵelement(1, "router-outlet");
|
|
14147
|
-
i0.ɵɵelementEnd();
|
|
14148
|
-
} }
|
|
14149
|
-
const _c0$4 = function (a0, a1, a2, a3, a4, a5, a6, a7) { return { "navigation-top": a0, "sidebar-full": a1, "sidebar-compact": a2, "sidebar-compact-big": a3, "layout-intransition": a4, "sidebar-opened": a5, "sidebar-closed": a6, "fixed-topbar": a7 }; };
|
|
14150
|
-
const _c1 = function (a0) { return { "blur-on-opened": a0 }; };
|
|
14151
|
-
const _c2 = function (a0) { return { "show-in-dashboard": a0 }; };
|
|
14152
|
-
const _c3 = function (a0) { return { "visible": a0 }; };
|
|
14153
|
-
class AdminLayoutComponent {
|
|
14154
|
-
constructor(router, translate, layout, store, cookieService, actionUpdates$, location, commonService, pubnub, signalr) {
|
|
14155
|
-
this.router = router;
|
|
14156
|
-
this.translate = translate;
|
|
14157
|
-
this.layout = layout;
|
|
14158
|
-
this.store = store;
|
|
14159
|
-
this.cookieService = cookieService;
|
|
14160
|
-
this.actionUpdates$ = actionUpdates$;
|
|
14161
|
-
this.location = location;
|
|
14162
|
-
this.commonService = commonService;
|
|
14163
|
-
this.pubnub = pubnub;
|
|
14164
|
-
this.signalr = signalr;
|
|
14165
|
-
this.isModuleLoading = false;
|
|
14166
|
-
// private sidebarPS: PerfectScrollbar;
|
|
14167
|
-
// private bodyPS: PerfectScrollbar;
|
|
14168
|
-
// private headerFixedBodyPS: PerfectScrollbar;
|
|
14169
|
-
this.scrollConfig = {};
|
|
14170
|
-
this.layoutConf = {};
|
|
14171
|
-
this.ngDestroyed$ = new Subject();
|
|
14172
|
-
this.userstory = 'userstory';
|
|
14173
|
-
this.loading = false;
|
|
14174
|
-
this.totalLoadingTime = 0;
|
|
14175
|
-
this.spinnerType = SPINNER.circle;
|
|
14176
|
-
// let conId = sessionStorage.getItem('conectionId');
|
|
14177
|
-
// if(!conId) {
|
|
14178
|
-
this.signalr.initializeSignalRConnection();
|
|
14179
|
-
// }
|
|
14180
|
-
let environment = JSON.parse(localStorage.getItem(LocalStorageProperties.Environment));
|
|
14181
|
-
let companySettings = localStorage.getItem(LocalStorageProperties.CompanySettings);
|
|
14182
|
-
if (!companySettings || companySettings == 'null' || companySettings == "undefined") {
|
|
14183
|
-
pubnub.init({
|
|
14184
|
-
publishKey: environment.publishKey,
|
|
14185
|
-
subscribeKey: environment.subscribeKey
|
|
14186
|
-
});
|
|
14187
|
-
}
|
|
14188
|
-
else {
|
|
14189
|
-
const comSet = JSON.parse(localStorage.getItem(LocalStorageProperties.CompanySettings));
|
|
14190
|
-
var publishKey = comSet.find(i => i.key == "PubnubPublishKey");
|
|
14191
|
-
var subscribeKey = comSet.find(i => i.key == "PubnubSubscribeKey");
|
|
14192
|
-
if ((publishKey && publishKey.value) && (subscribeKey && subscribeKey.value)) {
|
|
14193
|
-
pubnub.init({
|
|
14194
|
-
publishKey: publishKey.value,
|
|
14195
|
-
subscribeKey: subscribeKey.value
|
|
14196
|
-
});
|
|
14197
|
-
}
|
|
14198
|
-
else {
|
|
14199
|
-
pubnub.init({
|
|
14200
|
-
publishKey: environment.publishKey,
|
|
14201
|
-
subscribeKey: environment.subscribeKey
|
|
14202
|
-
});
|
|
14203
|
-
}
|
|
14204
|
-
}
|
|
14205
|
-
// Close sidenav after route change in mobile
|
|
14206
|
-
this.routerEventSub = router.events
|
|
14207
|
-
.pipe(filter(event => event instanceof NavigationEnd))
|
|
14208
|
-
.subscribe((routeChange) => {
|
|
14209
|
-
this.layout.adjustLayout({ route: routeChange.url });
|
|
14210
|
-
});
|
|
14211
|
-
// Translator init
|
|
14212
|
-
let currentCulture = this.cookieService.get(LocalStorageProperties.CurrentCulture);
|
|
14213
|
-
if (currentCulture === 'null' || currentCulture === 'undefined') {
|
|
14214
|
-
currentCulture = 'en';
|
|
14215
|
-
}
|
|
14216
|
-
translate.use(currentCulture);
|
|
14217
|
-
this.router.events.subscribe((event) => {
|
|
14218
|
-
switch (true) {
|
|
14219
|
-
case event instanceof NavigationStart: {
|
|
14220
|
-
this.loading = true;
|
|
14221
|
-
this.totalLoadingTime = 0;
|
|
14222
|
-
this.startTimer();
|
|
14223
|
-
break;
|
|
14224
|
-
}
|
|
14225
|
-
case event instanceof NavigationEnd: {
|
|
14226
|
-
this.loading = false;
|
|
14227
|
-
clearInterval(this.interval);
|
|
14228
|
-
break;
|
|
14229
|
-
}
|
|
14230
|
-
case event instanceof NavigationCancel:
|
|
14231
|
-
case event instanceof NavigationError: {
|
|
14232
|
-
this.loading = false;
|
|
14233
|
-
break;
|
|
14234
|
-
}
|
|
14235
|
-
default: {
|
|
14236
|
-
break;
|
|
14237
|
-
}
|
|
14238
|
-
}
|
|
14239
|
-
});
|
|
14240
|
-
router.events.subscribe(val => {
|
|
14241
|
-
if (location.path() != "") {
|
|
14242
|
-
if (location.path().includes('/dashboard-management/dashboard/')) {
|
|
14243
|
-
this.dashboardPage = true;
|
|
14244
|
-
this.bgcolor = 'none';
|
|
14245
|
-
}
|
|
14246
|
-
else {
|
|
14247
|
-
this.dashboardPage = false;
|
|
14248
|
-
this.bgcolor = 'beige';
|
|
14249
|
-
}
|
|
14250
|
-
}
|
|
14251
|
-
});
|
|
14252
|
-
// if (this.cookieService.check(LocalStorageProperties.UserModel)) {
|
|
14253
|
-
// let data = JSON.parse(this.cookieService.get(LocalStorageProperties.UserModel));
|
|
14254
|
-
// if (data && data != 'null' && data != 'undefined')
|
|
14255
|
-
// this.store.dispatch(new UserDetailsFetchedAfterLogin(data));
|
|
14256
|
-
// }
|
|
14257
|
-
if ((localStorage.getItem(LocalStorageProperties.UserModel) != null && localStorage.getItem(LocalStorageProperties.UserModel) != undefined)
|
|
14258
|
-
&& !localStorage.hasOwnProperty(LocalStorageProperties.UserRoleFeatures)) {
|
|
14259
|
-
let data = JSON.parse(localStorage.getItem(LocalStorageProperties.UserModel));
|
|
14260
|
-
this.store.dispatch(new UserDetailsFetchedAfterLogin(data));
|
|
14261
|
-
}
|
|
14262
|
-
this.actionUpdates$
|
|
14263
|
-
.pipe(takeUntil(this.ngDestroyed$), ofType(AuthenticationActionTypes.ClearDemoDataCompleted), tap((result) => {
|
|
14264
|
-
if (result && result.companyId) {
|
|
14265
|
-
this.getSoftLabels();
|
|
14266
|
-
}
|
|
14267
|
-
})).subscribe();
|
|
14268
|
-
}
|
|
14269
|
-
ngOnInit() {
|
|
14270
|
-
this.getSoftLabelConfigurations();
|
|
14271
|
-
this.layoutConf = this.layout.layoutConf;
|
|
14272
|
-
// this.layout.adjustLayout();
|
|
14273
|
-
// FOR MODULE LOADER FLAG
|
|
14274
|
-
this.moduleLoaderSub = this.router.events.subscribe(event => {
|
|
14275
|
-
if (event instanceof RouteConfigLoadStart ||
|
|
14276
|
-
event instanceof ResolveStart) {
|
|
14277
|
-
this.isModuleLoading = false;
|
|
14278
|
-
}
|
|
14279
|
-
if (event instanceof RouteConfigLoadEnd || event instanceof ResolveEnd) {
|
|
14280
|
-
this.isModuleLoading = false;
|
|
14281
|
-
}
|
|
14282
|
-
});
|
|
14283
|
-
}
|
|
14284
|
-
onResize(event) {
|
|
14285
|
-
this.layout.adjustLayout(event);
|
|
14286
|
-
}
|
|
14287
|
-
Opened(event) {
|
|
14288
|
-
this.display = event;
|
|
14289
|
-
}
|
|
14290
|
-
getSoftLabelConfigurations() {
|
|
14291
|
-
this.softLabels = JSON.parse(localStorage.getItem('SoftLabels'));
|
|
13317
|
+
i0.ɵɵtemplate(1, SidenavComponent_li_3_div_1_Template, 6, 6, "div", 13);
|
|
13318
|
+
i0.ɵɵtemplate(2, SidenavComponent_li_3_div_2_Template, 7, 6, "div", 14);
|
|
13319
|
+
i0.ɵɵelementEnd();
|
|
13320
|
+
} if (rf & 2) {
|
|
13321
|
+
const item_r6 = ctx.$implicit;
|
|
13322
|
+
i0.ɵɵadvance(1);
|
|
13323
|
+
i0.ɵɵproperty("ngIf", item_r6.type === "separator");
|
|
13324
|
+
i0.ɵɵadvance(1);
|
|
13325
|
+
i0.ɵɵproperty("ngIf", !item_r6.disabled && item_r6.type !== "separator" && item_r6.type !== "icon");
|
|
13326
|
+
} }
|
|
13327
|
+
class SidenavComponent {
|
|
13328
|
+
constructor(store) {
|
|
13329
|
+
this.store = store;
|
|
14292
13330
|
}
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
this.commonService.getSoftLabels(model).subscribe((response) => {
|
|
14297
|
-
if (response.success) {
|
|
14298
|
-
let data = response.data;
|
|
14299
|
-
if (data) {
|
|
14300
|
-
localStorage.setItem('SoftLabels', JSON.stringify(data));
|
|
14301
|
-
}
|
|
14302
|
-
}
|
|
14303
|
-
});
|
|
13331
|
+
ngOnInit() {
|
|
13332
|
+
this.menuItems$ = this.store.pipe(select(getCurrentActiveMenuCategoryMenuItems), tap(menuList => console.log(menuList)));
|
|
13333
|
+
this.store.dispatch(new GetAllMenuItemsTriggered(MenuCategories.Main));
|
|
14304
13334
|
}
|
|
13335
|
+
}
|
|
13336
|
+
SidenavComponent.ɵfac = function SidenavComponent_Factory(t) { return new (t || SidenavComponent)(i0.ɵɵdirectiveInject(i3.Store)); };
|
|
13337
|
+
SidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavComponent, selectors: [["app-sidenav"]], inputs: { hasIconTypeMenuItem: ["hasIconMenu", "hasIconTypeMenuItem"], iconTypeMenuTitle: ["iconMenuTitle", "iconTypeMenuTitle"] }, decls: 5, vars: 4, consts: [[1, "sidenav-hold"], ["class", "icon-menu", 4, "ngIf"], ["appDropdown", "", 1, "sidenav"], ["appDropdownLink", "", "routerLinkActive", "open", 4, "ngFor", "ngForOf"], [1, "icon-menu"], [1, "mt-1", "mb-1", "nav-item-sep"], [3, "ngStyle"], [1, "text-muted", "icon-menu-title"], ["class", "icon-menu-item", 4, "ngFor", "ngForOf"], [1, "icon-menu-item"], ["mat-raised-button", "", "matTooltipClass", "tooltipClass-mat", "routerLinkActive", "mat-bg-primary", 3, "matTooltip", "routerLink", 4, "ngIf"], ["mat-raised-button", "", "matTooltipClass", "tooltipClass-mat", "routerLinkActive", "mat-bg-primary", 3, "matTooltip", "routerLink"], ["appDropdownLink", "", "routerLinkActive", "open"], ["class", "nav-item-sep", 4, "ngIf"], ["class", "lvl1", 4, "ngIf"], [1, "nav-item-sep"], ["matTooltipClass", "tooltipClass-mat", 1, "text-muted", 3, "matTooltip"], [1, "lvl1"], ["appDropdownToggle", "", "matRipple", "", 3, "routerLink", 4, "ngIf"], ["appDropdownToggle", "", "matRipple", "", "target", "_blank", 3, "href", 4, "ngIf"], ["appDropdownToggle", "", "matRipple", "", 4, "ngIf"], ["class", "submenu lvl2", "appDropdown", "", 4, "ngIf"], ["appDropdownToggle", "", "matRipple", "", 3, "routerLink"], ["matTooltipClass", "tooltipClass-mat", 1, "item-name", "lvl1", 3, "matTooltip"], ["fxFlex", ""], [3, "class", "ngStyle", 4, "ngFor", "ngForOf"], ["appDropdownToggle", "", "matRipple", "", "target", "_blank", 3, "href"], ["appDropdownToggle", "", "matRipple", ""], [1, "menu-caret"], ["appDropdown", "", 1, "submenu", "lvl2"], ["class", "submenu lvl3", "appDropdown", "", 4, "ngIf"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "300", 1, "item-name", "lvl2", "hide-content-overflow", 3, "matTooltip"], [1, "item-name", "lvl2"], ["appDropdown", "", 1, "submenu", "lvl3"], [1, "item-name", "lvl3"]], template: function SidenavComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13338
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
13339
|
+
i0.ɵɵtemplate(1, SidenavComponent_div_1_Template, 7, 6, "div", 1);
|
|
13340
|
+
i0.ɵɵelementStart(2, "ul", 2);
|
|
13341
|
+
i0.ɵɵtemplate(3, SidenavComponent_li_3_Template, 3, 2, "li", 3);
|
|
13342
|
+
i0.ɵɵpipe(4, "async");
|
|
13343
|
+
i0.ɵɵelementEnd();
|
|
13344
|
+
i0.ɵɵelementEnd();
|
|
13345
|
+
} if (rf & 2) {
|
|
13346
|
+
i0.ɵɵadvance(1);
|
|
13347
|
+
i0.ɵɵproperty("ngIf", ctx.hasIconTypeMenuItem);
|
|
13348
|
+
i0.ɵɵadvance(2);
|
|
13349
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 2, ctx.menuItems$));
|
|
13350
|
+
} }, directives: [i10.NgIf, i10.NgForOf, i7$2.MatDivider, i10.NgStyle, i15.DefaultStyleDirective, i8.MatButton, i2.RouterLinkActive, i7$1.MatTooltip, i2.RouterLink, i17.MatIcon, i2.RouterLinkWithHref, i30.DefaultFlexDirective], pipes: [i10.AsyncPipe, i5$1.TranslatePipe], encapsulation: 2 });
|
|
13351
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
|
|
13352
|
+
type: Component,
|
|
13353
|
+
args: [{
|
|
13354
|
+
selector: "app-sidenav",
|
|
13355
|
+
templateUrl: "./sidenav.template.html"
|
|
13356
|
+
}]
|
|
13357
|
+
}], function () { return [{ type: i3.Store }]; }, { hasIconTypeMenuItem: [{
|
|
13358
|
+
type: Input,
|
|
13359
|
+
args: ["hasIconMenu"]
|
|
13360
|
+
}], iconTypeMenuTitle: [{
|
|
13361
|
+
type: Input,
|
|
13362
|
+
args: ["iconMenuTitle"]
|
|
13363
|
+
}] }); })();
|
|
13364
|
+
|
|
13365
|
+
// import PerfectScrollbar from 'perfect-scrollbar';
|
|
13366
|
+
class SidebarTopComponent {
|
|
13367
|
+
// private sidebarPS: PerfectScrollbar;
|
|
13368
|
+
constructor() { }
|
|
13369
|
+
ngOnInit() { }
|
|
14305
13370
|
ngAfterViewInit() {
|
|
14306
|
-
//
|
|
14307
|
-
//
|
|
13371
|
+
// setTimeout(() => {
|
|
13372
|
+
// this.sidebarPS = new PerfectScrollbar('#sidebar-top-scroll-area', {
|
|
13373
|
+
// suppressScrollX: true
|
|
13374
|
+
// })
|
|
14308
13375
|
// })
|
|
14309
13376
|
}
|
|
14310
|
-
// initBodyPS(layoutConf:any = {}) {
|
|
14311
|
-
// if(layoutConf.navigationPos === 'side' && layoutConf.topbarFixed) {
|
|
14312
|
-
// if (this.bodyPS) this.bodyPS.destroy();
|
|
14313
|
-
// if (this.headerFixedBodyPS) this.headerFixedBodyPS.destroy();
|
|
14314
|
-
// this.headerFixedBodyPS = new PerfectScrollbar('.rightside-content-hold', {
|
|
14315
|
-
// suppressScrollX: true
|
|
14316
|
-
// });
|
|
14317
|
-
// this.scrollToTop('.rightside-content-hold');
|
|
14318
|
-
// } else {
|
|
14319
|
-
// if (this.bodyPS) this.bodyPS.destroy();
|
|
14320
|
-
// if (this.headerFixedBodyPS) this.headerFixedBodyPS.destroy();
|
|
14321
|
-
// this.bodyPS = new PerfectScrollbar('.main-content-wrap', {
|
|
14322
|
-
// suppressScrollX: true
|
|
14323
|
-
// });
|
|
14324
|
-
// this.scrollToTop('.main-content-wrap');
|
|
14325
|
-
// }
|
|
14326
|
-
// }
|
|
14327
|
-
scrollToTop(selector) {
|
|
14328
|
-
if (document) {
|
|
14329
|
-
let element = document.querySelector(selector);
|
|
14330
|
-
element.scrollTop = 0;
|
|
14331
|
-
}
|
|
14332
|
-
}
|
|
14333
13377
|
ngOnDestroy() {
|
|
14334
|
-
if
|
|
14335
|
-
|
|
14336
|
-
}
|
|
14337
|
-
if (this.layoutConfSub) {
|
|
14338
|
-
this.layoutConfSub.unsubscribe();
|
|
14339
|
-
}
|
|
14340
|
-
if (this.routerEventSub) {
|
|
14341
|
-
this.routerEventSub.unsubscribe();
|
|
14342
|
-
}
|
|
14343
|
-
if (this.sub) {
|
|
14344
|
-
this.sub.unsubscribe();
|
|
14345
|
-
}
|
|
14346
|
-
}
|
|
14347
|
-
closeSidebar() {
|
|
14348
|
-
this.layout.publishLayoutChange({
|
|
14349
|
-
sidebarStyle: "closed"
|
|
14350
|
-
});
|
|
14351
|
-
}
|
|
14352
|
-
startTimer() {
|
|
14353
|
-
this.interval = setInterval(() => {
|
|
14354
|
-
this.totalLoadingTime++;
|
|
14355
|
-
}, 1000);
|
|
13378
|
+
// if(this.sidebarPS) {
|
|
13379
|
+
// this.sidebarPS.destroy();
|
|
13380
|
+
// }
|
|
14356
13381
|
}
|
|
14357
13382
|
}
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
i0.ɵɵlistener("resize", function AdminLayoutComponent_resize_HostBindingHandler($event) { return ctx.onResize($event); }, false, i0.ɵɵresolveWindow);
|
|
14361
|
-
} }, decls: 15, vars: 35, consts: [[1, "app-admin-wrap", 3, "dir"], [3, "notificPanel", 4, "ngIf"], ["fgsSize", "180", "color", "primary", 3, "fgsType"], [1, "app-admin-container", "app-side-nav-container", "mat-drawer-transition", 3, "dir", "ngClass"], [4, "ngIf"], [1, "main-content-wrap", 3, "perfectScrollbar", "disabled"], [3, "notificPanel", "opened"], [1, "rightside-content-hold", 3, "perfectScrollbar", "disabled", "ngClass"], ["class", "view-loader", 4, "ngIf"], ["id", "btrak-preloader", 4, "ngIf"], [1, "sidebar-backdrop", 3, "ngClass", "click"], ["mode", "side", "opened", "", "id", "style-1", 1, "side-nav-color", 3, "fixedInViewport", "fixedTopGap", "fixedBottomGap"], ["sidenav", ""], [3, "notificPanel"], [1, "view-loader"], [1, "spinner"], [1, "double-bounce1", "mat-bg-accent"], [1, "double-bounce2", "mat-bg-primary"], ["id", "btrak-preloader"], [1, "preloading-text"], ["id", "btrak-loader", 4, "ngIf"], ["id", "btrak-loader"]], template: function AdminLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13383
|
+
SidebarTopComponent.ɵfac = function SidebarTopComponent_Factory(t) { return new (t || SidebarTopComponent)(); };
|
|
13384
|
+
SidebarTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidebarTopComponent, selectors: [["app-sidebar-top"]], decls: 3, vars: 0, consts: [[1, "sidebar-panel"], ["id", "sidebar-top-scroll-area", "fxLayout", "column", 1, "navigation-hold", 3, "perfectScrollbar"]], template: function SidebarTopComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14362
13385
|
i0.ɵɵelementStart(0, "div", 0);
|
|
14363
|
-
i0.ɵɵ
|
|
14364
|
-
i0.ɵɵelement(2, "
|
|
14365
|
-
i0.ɵɵelementStart(3, "mat-sidenav-container", 3);
|
|
14366
|
-
i0.ɵɵtemplate(4, AdminLayoutComponent_app_sidebar_top_4_Template, 1, 0, "app-sidebar-top", 4);
|
|
14367
|
-
i0.ɵɵelementStart(5, "div", 5);
|
|
14368
|
-
i0.ɵɵelementStart(6, "app-header-side", 6);
|
|
14369
|
-
i0.ɵɵlistener("opened", function AdminLayoutComponent_Template_app_header_side_opened_6_listener($event) { return ctx.Opened($event); });
|
|
14370
|
-
i0.ɵɵelementEnd();
|
|
14371
|
-
i0.ɵɵelementStart(7, "div", 7);
|
|
14372
|
-
i0.ɵɵtemplate(8, AdminLayoutComponent_div_8_Template, 4, 0, "div", 8);
|
|
14373
|
-
i0.ɵɵtemplate(9, AdminLayoutComponent_div_9_Template, 6, 8, "div", 9);
|
|
14374
|
-
i0.ɵɵtemplate(10, AdminLayoutComponent_div_10_Template, 2, 0, "div", 4);
|
|
14375
|
-
i0.ɵɵelementEnd();
|
|
14376
|
-
i0.ɵɵelementEnd();
|
|
14377
|
-
i0.ɵɵelementStart(11, "div", 10);
|
|
14378
|
-
i0.ɵɵlistener("click", function AdminLayoutComponent_Template_div_click_11_listener() { return ctx.closeSidebar(); });
|
|
14379
|
-
i0.ɵɵelementEnd();
|
|
14380
|
-
i0.ɵɵelementStart(12, "mat-sidenav", 11, 12);
|
|
14381
|
-
i0.ɵɵelement(14, "app-sidebar");
|
|
14382
|
-
i0.ɵɵelementEnd();
|
|
13386
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
13387
|
+
i0.ɵɵelement(2, "app-sidenav");
|
|
14383
13388
|
i0.ɵɵelementEnd();
|
|
14384
13389
|
i0.ɵɵelementEnd();
|
|
13390
|
+
} }, directives: [i30.DefaultLayoutDirective, i2$3.PerfectScrollbarDirective, SidenavComponent], encapsulation: 2 });
|
|
13391
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidebarTopComponent, [{
|
|
13392
|
+
type: Component,
|
|
13393
|
+
args: [{
|
|
13394
|
+
selector: "app-sidebar-top",
|
|
13395
|
+
templateUrl: "./sidebar-top.component.html"
|
|
13396
|
+
}]
|
|
13397
|
+
}], function () { return []; }, null); })();
|
|
13398
|
+
|
|
13399
|
+
class FeedTimeComponent extends CustomAppBaseComponent {
|
|
13400
|
+
constructor(projectModulesService, compiler, vcr) {
|
|
13401
|
+
super();
|
|
13402
|
+
this.projectModulesService = projectModulesService;
|
|
13403
|
+
this.compiler = compiler;
|
|
13404
|
+
this.vcr = vcr;
|
|
13405
|
+
this.componentInputs = {
|
|
13406
|
+
isFeedTimeSheet: false
|
|
13407
|
+
};
|
|
13408
|
+
this.outputs = {
|
|
13409
|
+
closeFeedTimeSheetPopup: () => this.closeFeedTimeSheet()
|
|
13410
|
+
};
|
|
13411
|
+
this.closeFeedTimeSheetPopup = new EventEmitter();
|
|
13412
|
+
}
|
|
13413
|
+
set _isFeedTimeSheet(data) {
|
|
13414
|
+
if (data != undefined && data != null) {
|
|
13415
|
+
this.componentInputs = {
|
|
13416
|
+
isFeedTimeSheet: data
|
|
13417
|
+
};
|
|
13418
|
+
this.loadComponent();
|
|
13419
|
+
}
|
|
13420
|
+
}
|
|
13421
|
+
ngOnInit() {
|
|
13422
|
+
this.injector = this.vcr.injector;
|
|
13423
|
+
super.ngOnInit();
|
|
13424
|
+
}
|
|
13425
|
+
closeFeedTimeSheet() {
|
|
13426
|
+
this.closeFeedTimeSheetPopup.emit();
|
|
13427
|
+
}
|
|
13428
|
+
loadComponent() {
|
|
13429
|
+
// var modules = this.shellModulesService["modules"];
|
|
13430
|
+
var loader = this.projectModulesService["modules"];
|
|
13431
|
+
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
13432
|
+
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
13433
|
+
var path = loader[module.modulePackageName];
|
|
13434
|
+
path()
|
|
13435
|
+
.then(elementModuleOrFactory => {
|
|
13436
|
+
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
13437
|
+
// if ViewEngine
|
|
13438
|
+
return elementModuleOrFactory;
|
|
13439
|
+
}
|
|
13440
|
+
else {
|
|
13441
|
+
try {
|
|
13442
|
+
// if Ivy
|
|
13443
|
+
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
13444
|
+
}
|
|
13445
|
+
catch (err) {
|
|
13446
|
+
throw err;
|
|
13447
|
+
}
|
|
13448
|
+
}
|
|
13449
|
+
}).then((moduleFactory) => {
|
|
13450
|
+
const componentService = moduleFactory.moduleType.componentService;
|
|
13451
|
+
var allComponentsInModule = componentService.components;
|
|
13452
|
+
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
13453
|
+
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
13454
|
+
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
13455
|
+
});
|
|
13456
|
+
}
|
|
13457
|
+
}
|
|
13458
|
+
FeedTimeComponent.ɵfac = function FeedTimeComponent_Factory(t) { return new (t || FeedTimeComponent)(i0.ɵɵdirectiveInject(ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
13459
|
+
FeedTimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeComponent, selectors: [["app-feed-time"]], inputs: { _isFeedTimeSheet: ["isFeedTimeSheet", "_isFeedTimeSheet"] }, outputs: { closeFeedTimeSheetPopup: "closeFeedTimeSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13460
|
+
i0.ɵɵelement(0, "ndc-dynamic", 0);
|
|
14385
13461
|
} if (rf & 2) {
|
|
14386
|
-
|
|
14387
|
-
|
|
14388
|
-
|
|
14389
|
-
i0.ɵɵproperty("ngIf", ctx.layoutConf.navigationPos === "top");
|
|
14390
|
-
i0.ɵɵadvance(1);
|
|
14391
|
-
i0.ɵɵproperty("fgsType", ctx.spinnerType);
|
|
14392
|
-
i0.ɵɵadvance(1);
|
|
14393
|
-
i0.ɵɵproperty("dir", ctx.layoutConf.dir)("ngClass", i0.ɵɵpureFunction8(20, _c0$4, ctx.layoutConf.navigationPos === "top", ctx.layoutConf.sidebarStyle === "full", ctx.layoutConf.sidebarStyle === "compact" && ctx.layoutConf.navigationPos === "side", ctx.layoutConf.sidebarStyle === "compact-big" && ctx.layoutConf.navigationPos === "side", ctx.layoutConf.layoutInTransition, ctx.layoutConf.sidebarStyle !== "closed" && ctx.layoutConf.navigationPos === "side", ctx.layoutConf.sidebarStyle === "closed", ctx.layoutConf.topbarFixed && ctx.layoutConf.navigationPos === "side"));
|
|
14394
|
-
i0.ɵɵadvance(1);
|
|
14395
|
-
i0.ɵɵproperty("ngIf", ctx.layoutConf.navigationPos === "top" && ctx.layoutConf.isMobile);
|
|
14396
|
-
i0.ɵɵadvance(1);
|
|
14397
|
-
i0.ɵɵproperty("perfectScrollbar", ctx.scrollConfig)("disabled", ctx.layoutConf.topbarFixed);
|
|
14398
|
-
i0.ɵɵadvance(1);
|
|
14399
|
-
i0.ɵɵproperty("notificPanel", _r5);
|
|
14400
|
-
i0.ɵɵadvance(1);
|
|
14401
|
-
i0.ɵɵproperty("perfectScrollbar", ctx.scrollConfig)("disabled", !ctx.layoutConf.topbarFixed)("ngClass", i0.ɵɵpureFunction1(29, _c1, ctx.display))("ngClass", i0.ɵɵpureFunction1(31, _c2, ctx.dashboardPage));
|
|
14402
|
-
i0.ɵɵadvance(1);
|
|
14403
|
-
i0.ɵɵproperty("ngIf", ctx.isModuleLoading);
|
|
14404
|
-
i0.ɵɵadvance(1);
|
|
14405
|
-
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
14406
|
-
i0.ɵɵadvance(1);
|
|
14407
|
-
i0.ɵɵproperty("ngIf", !ctx.loading);
|
|
14408
|
-
i0.ɵɵadvance(1);
|
|
14409
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(33, _c3, ctx.layoutConf.sidebarStyle !== "closed" && ctx.layoutConf.isMobile));
|
|
14410
|
-
i0.ɵɵadvance(1);
|
|
14411
|
-
i0.ɵɵproperty("fixedInViewport", true)("fixedTopGap", 45)("fixedBottomGap", 0);
|
|
14412
|
-
} }, directives: [i11$1.Dir, i10.NgIf, i3$1.ɵb, i13.MatSidenavContainer, i10.NgClass, i22$1.DefaultClassDirective, i2$3.PerfectScrollbarDirective, HeaderSideComponent, i13.MatSidenav, SideBarComponent, HeaderTopComponent, SidebarTopComponent, i2.RouterOutlet], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
14413
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdminLayoutComponent, [{
|
|
13462
|
+
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
13463
|
+
} }, directives: [i2$1.DynamicComponent, i2$1.DynamicDirective], encapsulation: 2 });
|
|
13464
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeComponent, [{
|
|
14414
13465
|
type: Component,
|
|
14415
13466
|
args: [{
|
|
14416
|
-
selector:
|
|
14417
|
-
templateUrl:
|
|
13467
|
+
selector: 'app-feed-time',
|
|
13468
|
+
templateUrl: 'feed-time.component.html',
|
|
13469
|
+
encapsulation: ViewEncapsulation.None,
|
|
14418
13470
|
}]
|
|
14419
|
-
}], function () { return [{ type:
|
|
14420
|
-
type:
|
|
14421
|
-
args: ["
|
|
13471
|
+
}], function () { return [{ type: ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }]; }, { _isFeedTimeSheet: [{
|
|
13472
|
+
type: Input,
|
|
13473
|
+
args: ["isFeedTimeSheet"]
|
|
13474
|
+
}], closeFeedTimeSheetPopup: [{
|
|
13475
|
+
type: Output
|
|
14422
13476
|
}] }); })();
|
|
14423
13477
|
|
|
13478
|
+
class HighLightTextPipe {
|
|
13479
|
+
transform(value, searchText) {
|
|
13480
|
+
if (searchText == null || searchText == "") {
|
|
13481
|
+
return value;
|
|
13482
|
+
}
|
|
13483
|
+
const regex = new RegExp(searchText, 'gi');
|
|
13484
|
+
return value.replace(regex, (match) => `<strong>${match.replace(/\*/g, '')}</strong>`);
|
|
13485
|
+
}
|
|
13486
|
+
}
|
|
13487
|
+
HighLightTextPipe.ɵfac = function HighLightTextPipe_Factory(t) { return new (t || HighLightTextPipe)(); };
|
|
13488
|
+
HighLightTextPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "highLightText", type: HighLightTextPipe, pure: true });
|
|
13489
|
+
HighLightTextPipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HighLightTextPipe, factory: HighLightTextPipe.ɵfac, providedIn: 'root' });
|
|
13490
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HighLightTextPipe, [{
|
|
13491
|
+
type: Pipe,
|
|
13492
|
+
args: [{
|
|
13493
|
+
name: 'highLightText'
|
|
13494
|
+
}]
|
|
13495
|
+
}, {
|
|
13496
|
+
type: Injectable,
|
|
13497
|
+
args: [{ providedIn: 'root' }]
|
|
13498
|
+
}], null, null); })();
|
|
13499
|
+
|
|
14424
13500
|
class CompanyPaymentUpsertModel {
|
|
14425
13501
|
}
|
|
14426
13502
|
|
|
@@ -14734,7 +13810,7 @@ PurchaseMoreLicensesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
14734
13810
|
i0.ɵɵtextInterpolate1(" Pay $", ctx.totalAmount, " ");
|
|
14735
13811
|
i0.ɵɵadvance(1);
|
|
14736
13812
|
i0.ɵɵproperty("ngIf", ctx.isSucessPay);
|
|
14737
|
-
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCardTitle,
|
|
13813
|
+
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCardTitle, i30.DefaultLayoutDirective, i30.DefaultFlexDirective, i30.DefaultLayoutGapDirective, i21.MatFormField, i22.MatInput, i9.DefaultValueAccessor, i9.RequiredValidator, i9.NgControlStatus, i9.NgModel, i10.NgIf, i8.MatButton, i33.MatSelect, i14.MatOption], encapsulation: 2 });
|
|
14738
13814
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PurchaseMoreLicensesComponent, [{
|
|
14739
13815
|
type: Component,
|
|
14740
13816
|
args: [{
|
|
@@ -15152,7 +14228,7 @@ ProductAndServicesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
15152
14228
|
i0.ɵɵproperty("ngIf", !ctx.isLoading);
|
|
15153
14229
|
i0.ɵɵadvance(1);
|
|
15154
14230
|
i0.ɵɵproperty("autoFocus", false)("restoreFocus", false)("interactiveClose", false);
|
|
15155
|
-
} }, directives: [
|
|
14231
|
+
} }, directives: [i30.DefaultFlexDirective, i7.MatCard, i30.DefaultLayoutDirective, i8.MatButton, i23.SatPopoverAnchor, i10.NgIf, i23.SatPopover, i1$3.MatDialogClose, i4.FaIconComponent, i7.MatCardTitle, i7.MatCardContent, i10.NgForOf], pipes: [i10.DatePipe], encapsulation: 2 });
|
|
15156
14232
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProductAndServicesComponent, [{
|
|
15157
14233
|
type: Component,
|
|
15158
14234
|
args: [{
|
|
@@ -15691,7 +14767,7 @@ CompanyInformationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
15691
14767
|
i0.ɵɵproperty("ngIf", ctx.isCompanyVatEdit);
|
|
15692
14768
|
i0.ɵɵadvance(1);
|
|
15693
14769
|
i0.ɵɵproperty("ngIf", ctx.isCompanyVatEdit);
|
|
15694
|
-
} }, directives: [
|
|
14770
|
+
} }, directives: [i30.DefaultFlexDirective, i7.MatCard, i30.DefaultLayoutDirective, i10.NgIf, i7$2.MatDivider, i22.MatInput, i9.DefaultValueAccessor, i9.RequiredValidator, i9.NgControlStatus, i9.NgModel, i21.MatFormField, i21.MatError, i8.MatButton, i17.MatIcon, i4.FaIconComponent], encapsulation: 2 });
|
|
15695
14771
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyInformationComponent, [{
|
|
15696
14772
|
type: Component,
|
|
15697
14773
|
args: [{
|
|
@@ -15852,7 +14928,7 @@ TransactionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Trans
|
|
|
15852
14928
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
15853
14929
|
i0.ɵɵadvance(2);
|
|
15854
14930
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
15855
|
-
} }, directives: [
|
|
14931
|
+
} }, directives: [i30.DefaultLayoutDirective, i30.DefaultFlexDirective, i7.MatCard, i12.MatNavList, i12.MatListItem, i2.RouterLinkActive, i7$2.MatDivider, i8$1.DatatableComponent, i8$1.DataTableColumnDirective, i8$1.DataTableColumnCellDirective, i8.MatAnchor], pipes: [i10.DatePipe], encapsulation: 2 });
|
|
15856
14932
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TransactionsComponent, [{
|
|
15857
14933
|
type: Component,
|
|
15858
14934
|
args: [{
|
|
@@ -15930,7 +15006,7 @@ class DocumentComponent {
|
|
|
15930
15006
|
});
|
|
15931
15007
|
}
|
|
15932
15008
|
}
|
|
15933
|
-
DocumentComponent.ɵfac = function DocumentComponent_Factory(t) { return new (t || DocumentComponent)(i0.ɵɵdirectiveInject(i15.StoreManagementService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
15009
|
+
DocumentComponent.ɵfac = function DocumentComponent_Factory(t) { return new (t || DocumentComponent)(i0.ɵɵdirectiveInject(i15$1.StoreManagementService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
15934
15010
|
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) {
|
|
15935
15011
|
i0.ɵɵelementStart(0, "div", 0);
|
|
15936
15012
|
i0.ɵɵelementStart(1, "h4", 1);
|
|
@@ -15970,14 +15046,14 @@ DocumentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentC
|
|
|
15970
15046
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
15971
15047
|
i0.ɵɵadvance(2);
|
|
15972
15048
|
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
15973
|
-
} }, directives: [
|
|
15049
|
+
} }, directives: [i30.DefaultFlexDirective, i10.NgIf, i8$1.DatatableComponent, i10.NgClass, i15.DefaultClassDirective, i8$1.DataTableColumnDirective, i8$1.DataTableColumnCellDirective, i27.MatProgressBar], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
15974
15050
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentComponent, [{
|
|
15975
15051
|
type: Component,
|
|
15976
15052
|
args: [{
|
|
15977
15053
|
selector: "app-document-component",
|
|
15978
15054
|
templateUrl: "./document.component.html"
|
|
15979
15055
|
}]
|
|
15980
|
-
}], function () { return [{ type: i15.StoreManagementService }, { type: undefined, decorators: [{
|
|
15056
|
+
}], function () { return [{ type: i15$1.StoreManagementService }, { type: undefined, decorators: [{
|
|
15981
15057
|
type: Inject,
|
|
15982
15058
|
args: [MAT_DIALOG_DATA]
|
|
15983
15059
|
}] }]; }, null); })();
|
|
@@ -16080,7 +15156,7 @@ AccountAndBillingComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
16080
15156
|
i0.ɵɵproperty("ngIf", ctx.selectedTab == "Transactions");
|
|
16081
15157
|
i0.ɵɵadvance(1);
|
|
16082
15158
|
i0.ɵɵproperty("ngIf", ctx.selectedTab == "Documents");
|
|
16083
|
-
} }, directives: [
|
|
15159
|
+
} }, directives: [i30.DefaultLayoutDirective, i30.DefaultFlexDirective, i2$4.MatTabGroup, i2$4.MatTab, i2$4.MatTabLabel, i10.NgIf, ProductAndServicesComponent, CompanyInformationComponent, TransactionsComponent, DocumentComponent], encapsulation: 2 });
|
|
16084
15160
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccountAndBillingComponent, [{
|
|
16085
15161
|
type: Component,
|
|
16086
15162
|
args: [{
|
|
@@ -16160,7 +15236,7 @@ PaymentMethodComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Paym
|
|
|
16160
15236
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
16161
15237
|
i0.ɵɵadvance(2);
|
|
16162
15238
|
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
16163
|
-
} }, directives: [
|
|
15239
|
+
} }, directives: [i30.DefaultFlexDirective, i8$1.DatatableComponent, i10.NgClass, i15.DefaultClassDirective, i8$1.DataTableColumnDirective, i8$1.DataTableColumnCellDirective, i8.MatButton], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
16164
15240
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentMethodComponent, [{
|
|
16165
15241
|
type: Component,
|
|
16166
15242
|
args: [{
|
|
@@ -16891,12 +15967,12 @@ const COMPONENTS = [
|
|
|
16891
15967
|
PaymentMethodComponent,
|
|
16892
15968
|
PurchaseMoreLicensesComponent,
|
|
16893
15969
|
CompanyPlansComponent,
|
|
16894
|
-
LiveWelcomePageComponent
|
|
16895
|
-
CompanyInformationComponent,
|
|
15970
|
+
LiveWelcomePageComponent
|
|
16896
15971
|
];
|
|
16897
15972
|
class ShellModule {
|
|
16898
15973
|
constructor() {
|
|
16899
15974
|
const themeBaseColor = localStorage.getItem('themeColor');
|
|
15975
|
+
// const themeBaseColor = '#2C3E50';
|
|
16900
15976
|
document.documentElement.style.setProperty('--primary-theme-color', themeBaseColor);
|
|
16901
15977
|
}
|
|
16902
15978
|
static forChild(config) {
|
|
@@ -17115,8 +16191,7 @@ ShellModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
17115
16191
|
PaymentMethodComponent,
|
|
17116
16192
|
PurchaseMoreLicensesComponent,
|
|
17117
16193
|
CompanyPlansComponent,
|
|
17118
|
-
LiveWelcomePageComponent,
|
|
17119
|
-
CompanyInformationComponent], imports: [RouterModule,
|
|
16194
|
+
LiveWelcomePageComponent], imports: [RouterModule,
|
|
17120
16195
|
//RouterModule.forChild(PaymentRoutes),
|
|
17121
16196
|
CommonModule,
|
|
17122
16197
|
FlexLayoutModule,
|
|
@@ -17143,7 +16218,7 @@ ShellModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
17143
16218
|
MatTableModule,
|
|
17144
16219
|
NgxDropzoneModule,
|
|
17145
16220
|
NgxDatatableModule,
|
|
17146
|
-
OwlNativeDateTimeModule,
|
|
16221
|
+
OwlNativeDateTimeModule, i16$1.TimeagoModule, SnovasysAvatarModule, i6.ToastrModule, i3.StoreFeatureModule, i1$2.ɵngrx_modules_effects_effects_c, PerfectScrollbarModule,
|
|
17147
16222
|
MatCheckboxModule,
|
|
17148
16223
|
NgxDropzoneModule,
|
|
17149
16224
|
MatBadgeModule,
|
|
@@ -17183,8 +16258,7 @@ ShellModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
17183
16258
|
PaymentMethodComponent,
|
|
17184
16259
|
PurchaseMoreLicensesComponent,
|
|
17185
16260
|
CompanyPlansComponent,
|
|
17186
|
-
LiveWelcomePageComponent
|
|
17187
|
-
CompanyInformationComponent] }); })();
|
|
16261
|
+
LiveWelcomePageComponent] }); })();
|
|
17188
16262
|
|
|
17189
16263
|
const ShellRouts = [
|
|
17190
16264
|
{
|