{"version":3,"sources":["webpack:///./src/services/dependencies.js","webpack:///./src/modules/auth/actions/session.actions.js","webpack:///./src/modules/app/actions/app.actions.js","webpack:///./src/modules/app/actions/dirty-forms.actions.js","webpack:///./src/modules/app/app-helpers.js","webpack:///./src/modules/dashboard/components/dashboard-widget/dashboard-widget-controller.js","webpack:///./src/modules/utils/grid/grid.js","webpack:///./src/modules/app/actions/dictionaries/dictionaries.action-types.js","webpack:///./src/selectors/index.js","webpack:///./src/modules/manage-inventory/actions/action-types.js","webpack:///./src/modules/utils/reducers/loading-status/loading-status.js","webpack:///./src/modules/utils/notifications/default-dialog-controller.js","webpack:///./src/modules/app/validators/roles.js","webpack:///./src/modules/app/actions/action-types.js","webpack:///./src/modules/message/actions/action-types.js","webpack:///./src/modules/app/resources/dictionaries.api.js","webpack:///./src/modules/utils/lsp-utils-service.js","webpack:///./src/modules/utils/actions/action-types.js","webpack:///./src/modules/utils/actions/active-tab/active-tab.actions.js","webpack:///./src/modules/manage-inventory/resources/manage-inventory.api.js","webpack:///./src/modules/app/actions/game-images.actions.js","webpack:///./src/modules/user/resources/user.api.js","webpack:///./src/modules/message/resources/message.api.js","webpack:///./src/modules/manage-inventory/actions/download-report-by-tab.actions.js","webpack:///./src/modules/privilege-templates/actions/action-types.js","webpack:///./src/modules/dashboard/actions/announcements/action-types.js","webpack:///./src/modules/dashboard/reducers/announcements/utils.js","webpack:///./src/modules/dashboard/actions/net-sales/action-types.js","webpack:///./src/modules/app/actions/dictionaries.actions.js","webpack:///./src/modules/privilege-templates/resources/privilege-templates.api.js","webpack:///./src/modules/registration/resources/registration.api.js","webpack:///./src/modules/manage-inventory/actions/manage-inventory.actions.js","webpack:///./src/modules/registration/actions/action-types.js","webpack:///./src/modules/dashboard/actions/eft-history/action-types.js","webpack:///./src/modules/contact/actions/contact.actions.js","webpack:///./src/modules/app/actions/theme.actions.js","webpack:///./src/modules/dashboard/actions/announcements/announcement-types.js","webpack:///./src/modules/utils/actions/selected-language/selected-language.actions.js","webpack:///./src/modules/documents/actions/action-types.js","webpack:///./src/modules/report-subscriptions/actions/action-types.js","webpack:///./src/modules/dashboard/actions/bond-renewal/action-types.js","webpack:///./src/modules/dashboard/actions/site-operational-status/action-types.js","webpack:///./src/modules/utils/rw-subordinates/actions/action-types.js","webpack:///./src/modules/utils/rw-terms-of-use/components/actions/terms-of-use.action-types.js","webpack:///./src/modules/retailer-dashboards/actions/retailer-dashboards.actions.js","webpack:///./src/modules/app/actions/manage-icons.actions.js","webpack:///./src/modules/message/actions/unread-count.actions.js","webpack:///./src/modules/app/actions/dictionaries/privilege-display-types-dictionary.actions.js","webpack:///./src/modules/utils/rw-subordinates/actions/subordinate-list.actions.js","webpack:///./src/modules/dashboard/actions/announcements/announcements.actions.js","webpack:///./src/modules/utils/lsp-grid/grid.js","webpack:///./src/modules/app/rest.conf.json","webpack:///./src/modules/contact/actions/action-types.js","webpack:///./src/modules/report-subscriptions/actions/report-subscriptions-page.actions.js","webpack:///./src/modules/retailer-reports/actions/action-types.js","webpack:///./src/modules/admin-reports/actions/action-types.js","webpack:///./src/modules/dashboard/actions/big-winners/action-types.js","webpack:///./src/modules/dashboard/actions/cumulative-winners/action-types.js","webpack:///./src/modules/user/actions/linked-retailers.action-types.js","webpack:///./src/modules/utils/rw-privacy-policy/components/actions/privacy-policy.action-types.js","webpack:///./src/modules/app/actions/manage-configurable-link.actions.js","webpack:///./src/modules/documents/resources/documents.api.js","webpack:///./src/modules/app/resources/login-popup.api.js","webpack:///./src/modules/message/actions/inbox.actions.js","webpack:///./src/modules/message/actions/selected-messages.actions.js","webpack:///./src/modules/message/actions/message-details.actions.js","webpack:///./src/modules/message/components/messages-tab/tabs.js","webpack:///./src/modules/privilege-templates/logic/helpers.js","webpack:///./src/modules/registration/actions/validate-owner-data.actions.js","webpack:///./src/modules/security/security-module.js","webpack:///./src/modules/dashboard/resources/earnings.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/tabs.js","webpack:///./src/modules/app/config/gametype.js","webpack:///./src/modules/dashboard/dashboard-helpers.js","webpack:///./src/modules/dashboard/resources/announcements.api.js","webpack:///./src/modules/dashboard/actions/dashboard.actions.js","webpack:///./src/modules/auth/logic/session.js","webpack:///./src/modules/utils/multilanguage/helpers/multilanguage-helpers.js","webpack:///./src/modules/utils/lsp-filters/strip-html-filter.js","webpack:///./src/modules/utils/actions/utils.actions.js","webpack:///./src/modules/privilege-templates/logic/privilege-templates.js","webpack:///./src/modules/app/actions/widgets.actions.js","webpack:///./src/modules/app/resources/widgets.api.js","webpack:///./src/modules/app/app-component.js","webpack:///./src/modules/lsp-config/lsp-config.js","webpack:///./src/modules/documents/actions/documents.actions.js","webpack:///./src/modules/dashboard/actions/action-types.js","webpack:///./src/modules/dashboard/actions/earnings-history/action-types.js","webpack:///./src/modules/dashboard/actions/license-renewal/action-types.js","webpack:///./src/modules/dashboard/actions/lvm-sales-history/action-types.js","webpack:///./src/modules/dashboard/actions/site-financial-status/action-types.js","webpack:///./src/modules/user/actions/trusted-devices.action-types.js","webpack:///./src/modules/user/actions/users.action-types.js","webpack:///./src/modules/utils/rw-app-version/actions/app-version.action-types.js","webpack:///./src/modules/utils/reducers/pagination/pagination.js","webpack:///./src/modules/terms-preview/actions/terms-preview.actions.js","webpack:///./src/modules/download-report-page/actions/action-types.js","webpack:///./src/modules/auth/validators/action-validators.js","webpack:///./src/modules/contact/validators/action-validators.js","webpack:///./src/modules/email-notification-templates/validators/action-validators.js","webpack:///./src/modules/faq/validators/action-validators.js","webpack:///./src/modules/privilege-templates/validators/action-validators.js","webpack:///./src/modules/registration/validators/action-validators.js","webpack:///./src/modules/security/validators/action-validators.js","webpack:///./src/modules/manage-inventory/validators/action-validators.js","webpack:///./src/modules/dashboard/validators/action-validators.js","webpack:///./src/modules/user/validators/action-validators.js","webpack:///./src/modules/app/resources/manage-icons.api.js","webpack:///./src/modules/app/actions/media-templates.actions.js","webpack:///./src/modules/auth/auth-module.js","webpack:///./src/modules/auth/resources/forgot-password.api.js","webpack:///./src/modules/auth/resources/two-factor.api.js","webpack:///./src/modules/auth/views/alert-modal.html","webpack:///./src/modules/documents/actions/fetch-new-label-status.actions.js","webpack:///./src/modules/contact/helpers/contact-helpers.js","webpack:///./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog-controller.js","webpack:///./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog.html","webpack:///./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog-controller.js","webpack:///./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog.html","webpack:///./src/modules/contact/resources/contact.api.js","webpack:///./src/modules/contact/components/contact-us/tabs.js","webpack:///./src/modules/email-notification-templates/components/update/email-notification-template-update-component.js","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content-component.js","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header-component.js","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/component.js","webpack:///./src/modules/faq/components/faq-category-dialog/faq-category-dialog-template.html","webpack:///./src/modules/faq/components/faq-category-dialog/faq-category-dialog-controller.js","webpack:///./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-template.html","webpack:///./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-controller.js","webpack:///./src/modules/message/message-helpers.js","webpack:///./src/modules/message/components/create-message/create-message-component.js","webpack:///./src/modules/message/actions/sent.actions.js","webpack:///./src/modules/privilege-templates/actions/fetch-privilege-templates.actions.js","webpack:///./src/modules/registration/actions/fetch-retailer-details.actions.js","webpack:///./src/modules/registration/actions/fetch-owner-validation.actions.js","webpack:///./src/modules/security/resources/security.api.js","webpack:///./src/modules/report-subscriptions/actions/sftp.actions.js","webpack:///./src/modules/report-subscriptions/resources/sftp.api.js","webpack:///./src/modules/app/actions/dictionaries/sftp-authentication-types.actions.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-module.js","webpack:///./src/modules/app/actions/dictionaries/user-class-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/order-statuses-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/pack-statuses-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/price-points-dictionary.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-instant-games-transitions-history.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-order-history-list.actions.js","webpack:///./src/modules/dashboard/actions/site-financial-status/site-financial-status.actions.js","webpack:///./src/modules/utils/rw-subordinates/resources/subordinate-list.api.js","webpack:///./src/modules/app/actions/dictionaries/invoice-dates-dictionary.actions.js","webpack:///./src/modules/dashboard/resources/eft-amount.api.js","webpack:///./src/modules/dashboard/actions/net-sales/net-sales-summary.actions.js","webpack:///./src/modules/dashboard/resources/net-sales.api.js","webpack:///./src/modules/dashboard/resources/big-winners.api.js","webpack:///./src/modules/dashboard/resources/cumulative-winners.api.js","webpack:///./src/modules/dashboard/resources/license-renewal.api.js","webpack:///./src/modules/dashboard/actions/lvm-sales-history/lvm-sales-history.actions.js","webpack:///./src/modules/dashboard/resources/alerts.api.js","webpack:///./src/modules/utils/rw-editor/rw-editor-module.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships-module.js","webpack:///./src/modules/user/resources/users.api.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-module.js","webpack:///./src/modules/user/actions/linked-retailers.actions.js","webpack:///./src/modules/user/resources/linked-retailers.api.js","webpack:///./src/modules/utils/grid/table-component.js","webpack:///./src/modules/utils/actions/table-sorting/table-sorting.actions.js","webpack:///./src/modules/utils/dirty-form/views/confirm-dialog.html","webpack:///./src/modules/utils/dirty-form/views/unsaved-changes-cancel-dialog.html","webpack:///./src/modules/utils/rw-card/rw-card-module.js","webpack:///./src/modules/utils/resources/utils.api.js","webpack:///./src/modules/auth/logic/auth.js","webpack:///./src/modules/user/logic/user.js","webpack:///./src/modules/app/actions/banners.actions.js","webpack:///./src/modules/app/resources/banners.api.js","webpack:///./src/modules/app/resources/terms-management.api.js","webpack:///./src/modules/app/actions/terms-management.actions.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management-component.js","webpack:///./src/modules/app/app.conf.json","webpack:///external \"d3\"","webpack:///./src/modules/reducers.js","webpack:///./src/modules/auth/reducers/auth.reducer.js","webpack:///./src/modules/auth/reducers/session.reducer.js","webpack:///./src/modules/auth/helpers/menu.js","webpack:///./src/modules/app/config/sidemenu.js","webpack:///./src/modules/contact/reducers/contact.reducer.js","webpack:///./src/modules/contact/reducers/lottery.js","webpack:///./src/modules/contact/reducers/inquiry.js","webpack:///./src/modules/documents/reducers/documents.reducer.js","webpack:///./src/modules/email-notification-templates/reducers/email-notification-templates.reducer.js","webpack:///./src/modules/faq/reducers/faq.reducer.js","webpack:///./src/modules/message/reducers/messages.reducer.js","webpack:///./src/modules/message/reducers/selected-messages.js","webpack:///./src/modules/message/reducers/sent.js","webpack:///./src/modules/message/reducers/inbox.js","webpack:///./src/modules/message/reducers/unread-count.js","webpack:///./src/modules/message/reducers/message-details.js","webpack:///./src/modules/message/reducers/recipients.js","webpack:///./src/modules/privilege-templates/reducers/privilege-templates.reducer.js","webpack:///./src/modules/registration/reducers/registration.reducer.js","webpack:///./src/modules/report-subscriptions/reducers/report-subscriptions-page.reducer.js","webpack:///./src/modules/report-subscriptions/resources/report-subscriptions-api.js","webpack:///./src/modules/report-subscriptions/reducers/sftp.reducer.js","webpack:///./src/modules/report-subscriptions/reducers/sftp/sftp-list.js","webpack:///./src/modules/report-subscriptions/reducers/sftp/selected-sftp-entry.js","webpack:///./src/modules/retailer-reports/reducers/retailer-reports.reducer.js","webpack:///./src/modules/retailer-reports/reducers/items.js","webpack:///./src/modules/admin-reports/reducers/admin-reports.reducer.js","webpack:///./src/modules/admin-reports/reducers/items.js","webpack:///./src/modules/security/reducers/security.reducer.js","webpack:///./src/modules/manage-inventory/reducers/manage-inventory.reducer.js","webpack:///./src/modules/manage-inventory/reducers/games.js","webpack:///./src/modules/manage-inventory/reducers/packs.js","webpack:///./src/modules/manage-inventory/reducers/user-selection.js","webpack:///./src/modules/manage-inventory/reducers/pack-details.js","webpack:///./src/modules/manage-inventory/reducers/order-details.js","webpack:///./src/modules/manage-inventory/reducers/liabilities.js","webpack:///./src/modules/manage-inventory/reducers/packs-gross-value.js","webpack:///./src/modules/manage-inventory/reducers/order-history.js","webpack:///./src/modules/manage-inventory/reducers/instant-games-transitions-history.js","webpack:///./src/modules/dashboard/reducers/announcements.reducer.js","webpack:///./src/modules/dashboard/reducers/announcements/items.js","webpack:///./src/modules/dashboard/reducers/announcements/active.js","webpack:///./src/modules/dashboard/reducers/announcements/archived.js","webpack:///./src/modules/dashboard/reducers/announcements/scheduled.js","webpack:///./src/modules/dashboard/reducers/announcements/draft.js","webpack:///./src/modules/dashboard/reducers/big-winners.reducer.js","webpack:///./src/modules/dashboard/reducers/big-winners/items.js","webpack:///./src/modules/dashboard/reducers/bond-renewal.reducer.js","webpack:///./src/modules/dashboard/reducers/bond-renewal/stores.js","webpack:///./src/modules/dashboard/reducers/bond-renewal/stores-count.js","webpack:///./src/modules/dashboard/reducers/bond-renewal/loading-status.js","webpack:///./src/modules/dashboard/reducers/cumulative-winners.reducer.js","webpack:///./src/modules/dashboard/reducers/cumulative-winners/items.js","webpack:///./src/modules/dashboard/reducers/dashboard.reducer.js","webpack:///./src/modules/dashboard/reducers/earnings-history.reducer.js","webpack:///./src/modules/dashboard/reducers/earnings-history/earnings-history.js","webpack:///./src/modules/dashboard/reducers/eft-history.reducer.js","webpack:///./src/modules/dashboard/reducers/eft-history/extensions.js","webpack:///./src/modules/dashboard/reducers/eft-history/date.js","webpack:///./src/modules/dashboard/reducers/eft-history/items.js","webpack:///./src/modules/dashboard/reducers/license-renewal.reducer.js","webpack:///./src/modules/dashboard/reducers/license-renewal/retailers.js","webpack:///./src/modules/dashboard/reducers/lvm-sales-history.reducer.js","webpack:///./src/modules/dashboard/reducers/net-sales.reducer.js","webpack:///./src/modules/dashboard/reducers/net-sales/net-sales-summary.js","webpack:///./src/modules/dashboard/reducers/net-sales/loading-status.js","webpack:///./src/modules/dashboard/reducers/net-sales/instant-games.js","webpack:///./src/modules/dashboard/reducers/net-sales/draw-games.js","webpack:///./src/modules/dashboard/reducers/site-financial-status.reducer.js","webpack:///./src/modules/dashboard/reducers/site-financial-status/site-financial-status.js","webpack:///./src/modules/dashboard/reducers/site-operational-status.reducer.js","webpack:///./src/modules/dashboard/reducers/site-operational-status/retailers.js","webpack:///./src/modules/dashboard/reducers/site-operational-status/isSiteOperationalStatusEmpty.js","webpack:///./src/modules/user/reducers/linked-retailers.reducer.js","webpack:///./src/modules/user/reducers/linked-retailers/list.js","webpack:///./src/modules/user/reducers/trusted-devices.reducer.js","webpack:///./src/modules/user/reducers/user.reducer.js","webpack:///./src/modules/user/reducers/users.reducer.js","webpack:///./src/modules/utils/reducers/backend-version.reducer.js","webpack:///./src/modules/utils/rw-app-version/reducers/backend-app-version.js","webpack:///./src/modules/utils/reducers/poster.reducer.js","webpack:///./src/modules/utils/reducers/poster/poster-url.js","webpack:///./src/modules/utils/reducers/privacy-policy.reducer.js","webpack:///./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy.js","webpack:///./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-content.js","webpack:///./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-error.js","webpack:///./src/modules/utils/reducers/retailer-details.reducer.js","webpack:///./src/modules/utils/reducers/subordinate-list.reducer.js","webpack:///./src/modules/utils/rw-subordinates/reducers/subordinate-list-combine.js","webpack:///./src/modules/utils/rw-subordinates/reducers/subordinate-list.js","webpack:///./src/modules/utils/rw-subordinates/reducers/selected-retailer.js","webpack:///./src/modules/utils/reducers/terms-of-use.reducer.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-content.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-error.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-attachments.js","webpack:///./src/modules/utils/reducers/ui.reducer.js","webpack:///./src/modules/utils/reducers/active-tab/active-tab.js","webpack:///./src/modules/utils/reducers/selected-language/selected-language.js","webpack:///./src/modules/app/resources/game-images.api.js","webpack:///./src/modules/utils/reducers/pagination/sosPagination.js","webpack:///./src/modules/utils/reducers/sorting-function/sorting-function.js","webpack:///./src/modules/utils/reducers/error/error.js","webpack:///./src/modules/utils/reducers/createNamedReducer.js","webpack:///./src/modules/terms-preview/reducers/terms-preview.reducer.js","webpack:///./src/modules/retailer-dashboards/reducers/retailer-dashboards.reducer.js","webpack:///./src/modules/download-report-page/reducers/download-report-page.reducer.js","webpack:///./src/modules/app/reducers/app.reducer.js","webpack:///./src/modules/documents/validators/action-validators.js","webpack:///./src/modules/report-subscriptions/validators/action-validators.js","webpack:///./src/modules/store-profiles/validators/action-validators.js","webpack:///./src/modules/app/reducers/banners.reducer.js","webpack:///./src/modules/app/reducers/config.reducer.js","webpack:///./src/modules/app/reducers/dictionaries.reducer.js","webpack:///./src/modules/app/reducers/dictionary.reducer.js","webpack:///./src/modules/app/reducers/dictionaries/price-point-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/pack-statuses-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/order-statuses-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/user-class-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/report-categories-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/tiers-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/lottery-terms-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/privilege-display-types-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/inquiry-reasons-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/invoice-dates-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/user-templates-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/outlet-types-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/sftp-authentication-types.js","webpack:///./src/modules/app/reducers/dictionaries/activity-events-dictionary.js","webpack:///./src/modules/app/reducers/dirty-forms.reducer.js","webpack:///./src/modules/app/reducers/game-images.reducer.js","webpack:///./src/modules/app/reducers/home.reducer.js","webpack:///./src/modules/app/reducers/login-popup.reducer.js","webpack:///./src/modules/app/reducers/manage-configurable-link.reducer.js","webpack:///./src/modules/app/resources/manage-configurable-link.api.js","webpack:///./src/modules/app/reducers/manage-icons.reducer.js","webpack:///./src/modules/app/reducers/media-templates.reducer.js","webpack:///./src/modules/app/resources/media-templates.api.js","webpack:///./src/modules/app/reducers/terms-management.reducer.js","webpack:///./src/modules/app/reducers/theme.reducer.js","webpack:///./src/modules/app/reducers/theme/colors.js","webpack:///./src/modules/app/reducers/theme/error.js","webpack:///./src/modules/app/reducers/widgets.reducer.js","webpack:///./src/modules/app/reducers/widgets/items.js","webpack:///./src/modules/app/reducers/widgets/copy-items.js","webpack:///./src/modules/app/reducers/widgets/draft.js","webpack:///./src/modules/app/reducers/widgets/is-maintenance.js","webpack:///./src/modules/auth/auth-routing-module.js","webpack:///./src/modules/auth/components/reset-account-password/reset-account-password-module.js","webpack:///./src/modules/auth/components/reset-account-password/reset-account-password-routing-module.js","webpack:///./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password-component.js","webpack:///./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password.html","webpack:///./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button-component.js","webpack:///./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button.html","webpack:///./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-confirm-dialog.html","webpack:///./src/modules/auth/components/forgot-password/forgot-password-module.js","webpack:///./src/modules/auth/components/forgot-password/forgot-password-component.js","webpack:///./src/modules/auth/components/forgot-password/views/success-confirm-modal.html","webpack:///./src/modules/auth/components/forgot-password/forgot-password.html","webpack:///./src/modules/auth/components/two-factor/two-factor-module.js","webpack:///./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog-component.js","webpack:///./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog.html","webpack:///./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog-component.js","webpack:///./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog.html","webpack:///./src/modules/auth/config/errorcodes.conf.js","webpack:///./src/modules/auth/components/login-form/views/account-blocked-modal.html","webpack:///./src/modules/auth/components/login-form/account-blocked-modal.js","webpack:///./src/modules/auth/components/forgot-username/forgot-username-component.js","webpack:///./src/modules/auth/components/forgot-username/forgot-username.html","webpack:///./src/modules/auth/components/forgot-username/views/forgot-username-modal.html","webpack:///./src/modules/auth/components/change-password/change-password-component.js","webpack:///./src/modules/auth/components/change-password/change-password.html","webpack:///./src/modules/auth/components/login-form/login-form-component.js","webpack:///./src/modules/auth/helpers/login.js","webpack:///./src/modules/auth/components/login-form/views/login-form.html","webpack:///./src/modules/auth/components/login-form/views/login-form-mobile.html","webpack:///./src/modules/auth/components/login-form/views/login-terms-of-use.html","webpack:///./src/modules/contact/contact-module.js","webpack:///./src/modules/contact/contact-routing-module.js","webpack:///./src/modules/contact/components/contact-list/contact-list-module.js","webpack:///./src/modules/contact/components/contact-list/contact-list-component.js","webpack:///./src/modules/contact/components/contact-list/contact-list.html","webpack:///./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-module.js","webpack:///./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-component.js","webpack:///./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list.html","webpack:///./src/modules/contact/components/contact-us/contact-us-module.js","webpack:///./src/modules/contact/components/contact-us/contact-us-component.js","webpack:///./src/modules/app/actions/dictionaries/inquiry-reasons-dictionary.actions.js","webpack:///./src/modules/contact/components/contact-us/contact-us.html","webpack:///./src/modules/contact/components/manage-contact/manage-contact-module.js","webpack:///./src/modules/contact/components/manage-contact/manage-contact-component.js","webpack:///./src/modules/contact/components/manage-contact/manage-contact.html","webpack:///./src/modules/documents/documents-component.js","webpack:///./src/modules/documents/config/errorcodes.conf.js","webpack:///./src/modules/documents/actions/set-new-label-status.actions.js","webpack:///./src/modules/documents/actions/prefetch-document.actions.js","webpack:///./src/modules/documents/components/documents-filter/documents-filter-component.js","webpack:///./src/modules/documents/components/documents-filter/documents-filter.html","webpack:///./src/modules/documents/components/documents-filter/views/category-delete-confirm.html","webpack:///./src/modules/documents/views/document-delete-confirm.html","webpack:///./src/modules/documents/views/edit-document-modal.html","webpack:///./src/modules/documents/views/preview-document-dialog.html","webpack:///./src/modules/documents/components/documents-management/category-dialog/category-dialog.html","webpack:///./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal.html","webpack:///./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal-controller.js","webpack:///./src/modules/documents/components/documents-management/category-dialog/category-dialog-controller.js","webpack:///./src/modules/documents/documents.html","webpack:///./src/modules/email-notification-templates/email-notification-templates-component.js","webpack:///./src/modules/email-notification-templates/config/errorcodes.conf.js","webpack:///./src/modules/email-notification-templates/email-notification-templates.html","webpack:///./src/modules/email-notification-templates/components/update/email-notification-template-update.html","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/email-notification-tab-component.js","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content.html","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header.html","webpack:///./src/modules/sms/sms-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/sms-notification-templates-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/sms-notification-tab-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content.html","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header.html","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit.html","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-dialog.html","webpack:///./src/modules/sms/components/manage-login-sms-notification/manage-login-sms-notification-component.js","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/template.html","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/component.js","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/template.html","webpack:///./src/modules/sms/components/manage-sms-notification/manage-sms-notification-component.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view-component.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view.html","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit-component.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit.html","webpack:///./src/modules/faq/faq-component.js","webpack:///./src/modules/faq/faq.html","webpack:///./src/modules/faq/components/faq-management/faq-management-component.js","webpack:///./src/modules/faq/components/faq-management/faq-management.html","webpack:///./src/modules/faq/components/faq-category/faq-category-component.js","webpack:///./src/modules/faq/components/faq-category/faq-category.html","webpack:///./src/modules/faq/components/faq-search/faq-search-component.js","webpack:///./src/modules/faq/components/faq-search/faq-search.html","webpack:///./src/modules/faq/config/errorcodes.conf.js","webpack:///./src/modules/message/message-component.js","webpack:///./src/modules/message/config/errorcodes.conf.js","webpack:///./src/modules/message/message-routing-module.js","webpack:///./src/modules/message/components/messages-list/messages-list-module.js","webpack:///./src/modules/message/components/messages-list/messages-list-component.js","webpack:///./src/modules/message/components/create-message/create-message.html","webpack:///./src/modules/message/components/messages-list/messages-list.html","webpack:///./src/modules/message/components/sent-messages-list/sent-messages-list-module.js","webpack:///./src/modules/message/components/sent-messages-list/sent-messages-list-component.js","webpack:///./src/modules/message/components/sent-messages-list/sent-messages-list.html","webpack:///./src/modules/message/components/sent-message-details/sent-message-details-module.js","webpack:///./src/modules/message/components/sent-message-details/sent-message-details-component.js","webpack:///./src/modules/message/components/sent-message-details/sent-message-details.html","webpack:///./src/modules/message/components/message-details/message-details-module.js","webpack:///./src/modules/message/components/message-details/message-details-component.js","webpack:///./src/modules/message/components/message-details/message-details.html","webpack:///./src/modules/message/components/create-message/create-message-module.js","webpack:///./src/modules/message/components/messages-tab/messages-tab-module.js","webpack:///./src/modules/message/components/messages-tab/messages-tab-component.js","webpack:///./src/modules/message/components/messages-tab/messages-tab.html","webpack:///./src/modules/message/components/recipients-list/recipients-list-module.js","webpack:///./src/modules/message/components/recipients-list/recipients-list-component.js","webpack:///./src/modules/message/actions/recipients.actions.js","webpack:///./src/modules/message/components/recipients-list/recipients-list.html","webpack:///./src/modules/message/components/reply-message-dialog/reply-message-dialog-module.js","webpack:///./src/modules/message/components/reply-message-dialog/reply-message-dialog-component.js","webpack:///./src/modules/message/actions/reply-message.actions.js","webpack:///./src/modules/message/components/reply-message-dialog/reply-message-dialog.html","webpack:///./src/modules/message/message-definition-service.js","webpack:///./src/modules/privilege-templates/privilege-templates-component.js","webpack:///./src/modules/privilege-templates/config/errorcodes.conf.js","webpack:///./src/modules/privilege-templates/actions/delete-privilege-templates.actions.js","webpack:///./src/modules/privilege-templates/actions/create-privilege-templates.actions.js","webpack:///./src/modules/privilege-templates/actions/update-privilege-template.actions.js","webpack:///./src/modules/privilege-templates/actions/privilege-templates.actions.js","webpack:///./src/modules/privilege-templates/privilege-templates-routing-module.js","webpack:///./src/modules/privilege-templates/components/privilege-list/privilege-list-module.js","webpack:///./src/modules/privilege-templates/components/privilege-list/privilege-list-component.js","webpack:///./src/modules/privilege-templates/components/privilege-list/privilege-list.html","webpack:///./src/modules/privilege-templates/components/privilege-item/privilege-item-module.js","webpack:///./src/modules/privilege-templates/components/privilege-item/privilege-item-component.js","webpack:///./src/modules/privilege-templates/components/privilege-item/privilege-item.html","webpack:///./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-module.js","webpack:///./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-component.js","webpack:///./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form.html","webpack:///./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-module.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-component.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list.html","webpack:///./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-module.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-component.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker.html","webpack:///./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-module.js","webpack:///./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-component.js","webpack:///./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog.html","webpack:///./src/modules/privilege-templates/privilege-templates.html","webpack:///./src/modules/registration/registration-module.js","webpack:///./src/modules/registration/config/errorcodes.conf.js","webpack:///./src/modules/registration/components/self-registration/self-registration-module.js","webpack:///./src/modules/registration/components/self-registration/self-registration/self-registration-component.js","webpack:///./src/modules/registration/actions/create-account.actions.js","webpack:///./src/modules/registration/components/self-registration/self-registration/review-dialog.html","webpack:///./src/modules/registration/components/self-registration/self-registration/self-registration.html","webpack:///./src/modules/registration/components/self-registration/retailer/retailer-component.js","webpack:///./src/modules/registration/components/self-registration/retailer/retailer.html","webpack:///./src/modules/registration/components/self-registration/independent/independent-component.js","webpack:///./src/modules/registration/components/self-registration/independent/independent.html","webpack:///./src/modules/registration/components/self-registration/chain-head/chain-head-component.js","webpack:///./src/modules/registration/components/self-registration/chain-head/chain-head.html","webpack:///./src/modules/registration/components/self-registration/chain-subordinate/chain-subordinate-component.js","webpack:///./src/modules/registration/components/self-registration/chain-subordinate/chain-subordinate.html","webpack:///./src/modules/registration/components/self-registration/confirm-registration/confirm-registration-component.js","webpack:///./src/modules/registration/components/self-registration/confirm-registration/confirm-registration.html","webpack:///./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration-component.js","webpack:///./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration.html","webpack:///./src/modules/registration/components/self-registration/registration-disabled/registration-disabled-component.js","webpack:///./src/modules/registration/components/self-registration/registration-disabled/registration-disabled.html","webpack:///./src/modules/registration/components/complete-registration/complete-registration-module.js","webpack:///./src/modules/registration/components/complete-registration/complete-registration-component.js","webpack:///./src/modules/registration/components/complete-registration/complete-registration.html","webpack:///./src/modules/registration/registration-routing-module.js","webpack:///./src/modules/security/components/security/security-component.js","webpack:///./src/modules/security/components/security/security.html","webpack:///./src/modules/security/components/security-questions/security-questions-component.js","webpack:///./src/modules/security/components/security-questions/security-questions.html","webpack:///./src/modules/report-subscriptions/report-subscriptions-module.js","webpack:///./src/modules/report-subscriptions/config/errorcodes.conf.js","webpack:///./src/modules/report-subscriptions/report-subscriptions-routing-module.js","webpack:///./src/modules/report-subscriptions/containers/page/report-subscriptions-page-module.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-module.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-controller.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-component.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients.html","webpack:///./src/modules/report-subscriptions/containers/page/report-subscriptions-page-component.js","webpack:///./src/modules/report-subscriptions/containers/page/report-subscriptions.html","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list.html","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create.html","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit.html","webpack:///./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe-component.js","webpack:///./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe.html","webpack:///./src/modules/retailer-reports/retailer-reports-module.js","webpack:///./src/modules/retailer-reports/retailer-reports-routing-module.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-component.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page.html","webpack:///./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-module.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-component.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter.html","webpack:///./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-module.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-component.js","webpack:///./src/modules/retailer-reports/actions/retailer-reports.actions.js","webpack:///./src/modules/retailer-reports/resources/retailer-reports.api.js","webpack:///./src/modules/app/actions/dictionaries/report-categories-dictionary.actions.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content.html","webpack:///./src/modules/admin-reports/admin-reports-module.js","webpack:///./src/modules/admin-reports/admin-reports-routing-module.js","webpack:///./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-module.js","webpack:///./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-component.js","webpack:///./src/modules/admin-reports/components/admin-reports-page/admin-reports-page.html","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-module.js","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-component.js","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports.html","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-event-details-dialog.html","webpack:///./src/modules/admin-reports/actions/admin-reports.actions.js","webpack:///./src/modules/admin-reports/resources/admin-reports.api.js","webpack:///./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-module.js","webpack:///./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-component.js","webpack:///./src/modules/app/actions/dictionaries/activity-events-dictionary.actions.js","webpack:///./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter.html","webpack:///./src/modules/store-profiles/store-profiles-component.js","webpack:///./src/modules/store-profiles/store-profiles.html","webpack:///./src/modules/manage-inventory/manage-inventory-component.js","webpack:///./src/modules/manage-inventory/config/errorcodes.conf.js","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.module.js","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.component.js","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.html","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.controller.js","webpack:///./src/modules/manage-inventory/components/order-details/order-details.module.js","webpack:///./src/modules/manage-inventory/components/order-details/order-details.component.js","webpack:///./src/modules/manage-inventory/components/order-details/order-details.html","webpack:///./src/modules/manage-inventory/components/order-details/order-details.controller.js","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.module.js","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.component.js","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.html","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.controller.js","webpack:///./src/modules/manage-inventory/actions/download-detailed-report-by-tab.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-order-details.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-pack-details.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-header/inventory-header-module.js","webpack:///./src/modules/manage-inventory/components/inventory-header/inventory-header-component.js","webpack:///./src/modules/manage-inventory/components/inventory-header/inventory-header.html","webpack:///./src/modules/manage-inventory/components/order-month-selector/order-month-selector-module.js","webpack:///./src/modules/manage-inventory/components/order-month-selector/order-month-selector-component.js","webpack:///./src/modules/manage-inventory/components/order-month-selector/order-month-selector.html","webpack:///./src/modules/manage-inventory/components/order-status-selector/order-status-selector-module.js","webpack:///./src/modules/manage-inventory/components/order-status-selector/order-status-selector-component.js","webpack:///./src/modules/manage-inventory/components/order-status-selector/order-status-selector.html","webpack:///./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-module.js","webpack:///./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-component.js","webpack:///./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs.html","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.module.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.component.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.module.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.component.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-component.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-component.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-component.js","webpack:///./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab.html","webpack:///./src/modules/manage-inventory/actions/fetch-games-list.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-component.js","webpack:///./src/modules/manage-inventory/actions/fetch-packs-list.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-pack-list-gross-value.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-component.js","webpack:///./src/modules/dashboard/resources/current-liability.api.ts","webpack:///./src/modules/manage-inventory/actions/fetch-liabilities.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab.html","webpack:///./src/modules/manage-inventory/manage-inventory-table-service.js","webpack:///./src/modules/dashboard/dashboard-module.js","webpack:///./src/modules/dashboard/config/errorcode.conf.js","webpack:///./src/modules/dashboard/rw-dashboard-routing-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/dashboard-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-component.js","webpack:///./src/modules/dashboard/resources/top-vlt-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-component.js","webpack:///./src/modules/dashboard/resources/site-financial-status.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content.html","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-component.js","webpack:///./src/modules/dashboard/actions/site-operational-status/site-operational-status.actions.js","webpack:///./src/modules/dashboard/resources/site-operational-status.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-component.js","webpack:///./src/modules/dashboard/resources/tickets.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history-component.js","webpack:///./src/modules/dashboard/actions/earnings-history/earnings-history.actions.js","webpack:///./src/modules/dashboard/resources/earnings-history.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history-component.js","webpack:///./src/modules/dashboard/actions/eft-history/eft-history.actions.js","webpack:///./src/modules/dashboard/resources/eft-history.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-component.js","webpack:///./src/modules/dashboard/resources/jackpots-next-draws.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-routing-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page.html","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-controller.js","webpack:///./src/modules/dashboard/actions/net-sales/net-sales-details.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history-component.js","webpack:///./src/modules/dashboard/actions/big-winners/big-winners.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history-component.js","webpack:///./src/modules/dashboard/actions/cumulative-winners/cumulative-winners.actions.js","webpack:///./src/modules/app/actions/dictionaries/tiers-dictionary.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-component.js","webpack:///./src/modules/dashboard/resources/current-instant-game-liability.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-component.js","webpack:///./src/modules/dashboard/resources/actual-and-projected-settlements.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-component.js","webpack:///./src/modules/dashboard/resources/new-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-component.js","webpack:///./src/modules/dashboard/resources/my-slow-moving-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-component.js","webpack:///./src/modules/app/resources/theme.api.js","webpack:///./src/modules/dashboard/resources/my-price-point-mix.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-chart.conf.json","webpack:///./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-module.ts","webpack:///./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-component.ts","webpack:///./src/modules/dashboard/resources/my-net-sales-performance.api.ts","webpack:///./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-component.js","webpack:///./src/modules/dashboard/resources/top-selling-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/messages/messages-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-component.js","webpack:///./src/modules/dashboard/resources/lottery-representatives.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-component.js","webpack:///./src/modules/dashboard/resources/self-service-out-of-stock.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-chart-config.json","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-service.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-component.js","webpack:///./src/modules/dashboard/actions/license-renewal/license-renewal.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form.html","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form-controller.js","webpack:///./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-component.js","webpack:///./src/modules/dashboard/actions/bond-renewal/bond-renewal.actions.js","webpack:///./src/modules/dashboard/resources/bond-renewal.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-component.js","webpack:///./src/modules/dashboard/resources/selling-terminals.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-component.js","webpack:///./src/modules/dashboard/resources/chain-sales-rank.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-component.js","webpack:///./src/modules/dashboard/resources/store-sales-rank.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/lvm-sales-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget-component.js","webpack:///./src/modules/dashboard/resources/lvm-sales-history.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/tabs.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert.html","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-modal.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-content-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-content.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-module.js","webpack:///./src/modules/utils/rw-editor/rw-editor-component.js","webpack:///./src/modules/utils/rw-editor/rw-editor.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management.html","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card.html","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-component.js","webpack:///./src/modules/dashboard/resources/games-ending.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-chart.conf.json","webpack:///./src/modules/dashboard/resources/my-instant-ticket-sales.api.js","webpack:///./src/modules/dashboard/components/common/common-widget/common-widget-component.js","webpack:///./src/modules/dashboard/components/common/common-widget/common-widget.html","webpack:///./src/modules/dashboard/components/retailer-filter/retailer-filter-module.js","webpack:///./src/modules/dashboard/components/retailer-filter/retailer-filter-directive.js","webpack:///./src/modules/dashboard/components/retailer-filter/retailer-filter.html","webpack:///./src/modules/dashboard/components/rw-dashboards-component.js","webpack:///./src/modules/dashboard/components/rw-dashboards.html","webpack:///./src/modules/dashboard/components/rw-add-widget/rw-add-widget.html","webpack:///./src/modules/dashboard/components/rw-add-widget/rw-add-widget-controller.js","webpack:///./src/modules/dashboard/resources/dashboard.api.js","webpack:///./src/modules/dashboard/config/dashboards.conf.json","webpack:///./src/modules/dashboard/components/rw-dashboard/rw-dashboard-component.js","webpack:///./src/modules/dashboard/components/rw-dashboard/rw-dashboard.html","webpack:///./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets-component.js","webpack:///./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets.html","webpack:///./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget-component.js","webpack:///./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget.html","webpack:///./src/modules/dashboard/components/rw-move-widget/rw-move-widget-component.js","webpack:///./src/modules/dashboard/components/rw-move-widget/rw-move-widget.html","webpack:///./src/modules/dashboard/components/rw-render-widget/rw-render-widget-directive.js","webpack:///./src/modules/user/user-module.js","webpack:///./src/modules/user/user-routing-module.js","webpack:///./src/modules/user/config/errorcodes.conf.js","webpack:///./src/modules/user/components/my-account/my-account-module.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships-controller.js","webpack:///./src/modules/retailer-groups/resources/retailer-groups-api.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships-component.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships.html","webpack:///./src/modules/user/components/my-account/my-account-component.js","webpack:///./src/modules/user/actions/trusted-devices.actions.js","webpack:///./src/modules/user/components/my-account/my-account.html","webpack:///./src/modules/user/components/my-account/views/email-change-confirm-modal.html","webpack:///./src/modules/user/components/my-account/components/form/my-account-form-component.js","webpack:///./src/modules/user/components/my-account/components/form/my-account-form.html","webpack:///./src/modules/user/components/manage-users/manage-users-component.js","webpack:///./src/modules/user/actions/users.actions.js","webpack:///./src/modules/app/actions/dictionaries/user-templates-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/outlet-types-dictionary.actions.js","webpack:///./src/modules/user/components/manage-users/manage-users.html","webpack:///./src/modules/user/components/edit-account/edit-account-component.js","webpack:///./src/modules/user/components/edit-account/edit-account.html","webpack:///./src/modules/user/components/edit-account/components/account-details/account-details-module.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-controller.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog.html","webpack:///./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog-controller.js","webpack:///./src/modules/user/user-service.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-component.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.html","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.scss?6aac","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.scss","webpack:///./src/modules/user/components/edit-account/components/account-details/account-details-component.js","webpack:///./src/modules/user/components/edit-account/components/account-details/view-lsp-as-this-user-confirm-modal.html","webpack:///./src/modules/user/components/edit-account/components/account-details/authenticate-user-confirm-modal.html","webpack:///./src/modules/user/components/edit-account/components/account-details/account-details.html","webpack:///./src/modules/user/components/edit-account/components/account-details/delete-user-confirm-modal.html","webpack:///./src/modules/user/components/edit-account/components/account-status/account-status-module.js","webpack:///./src/modules/user/components/edit-account/components/account-status/account-status-component.js","webpack:///./src/modules/user/components/edit-account/components/account-status/account-status.html","webpack:///./src/modules/user/components/edit-account/components/account-retailers/account-retailers-module.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/components/linked-retailers-table/linked-retailers-table-module.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/components/linked-retailers-table/linked-retailers-table-component.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/components/linked-retailers-table/linked-retailers-table.html","webpack:///./src/modules/user/components/edit-account/components/account-retailers/account-retailers-component.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/account-retailers.html","webpack:///./src/modules/user/components/create-account-steps/create-account-steps-component.js","webpack:///./src/modules/user/components/create-account-steps/create-account-steps.html","webpack:///./src/modules/user/components/create-account-steps/dialog/create-account-submit-dialog.html","webpack:///./src/modules/user/components/change-primary-user/change-primary-user-component.js","webpack:///./src/modules/user/components/change-primary-user/change-primary-user.html","webpack:///./src/modules/user/components/retailer-settings/retailer-settings-module.js","webpack:///./src/modules/user/components/retailer-settings/retailer-settings-component.js","webpack:///./src/modules/user/components/retailer-settings/retailer-settings.html","webpack:///./src/modules/utils/utils-component.js","webpack:///./src/modules/utils/lsp-page-sub-header/lsp-page-sub-header-component.js","webpack:///./src/modules/utils/lsp-page-sub-header/lsp-page-sub-header.html","webpack:///./src/modules/utils/search/search-component.js","webpack:///./src/modules/utils/search/search.html","webpack:///./src/modules/utils/dropdown/dropdown-component.js","webpack:///./src/modules/utils/dropdown/dropdown.html","webpack:///./src/modules/utils/collapse/collapse-component.js","webpack:///./src/modules/utils/collapse/collapse.html","webpack:///./src/modules/utils/progress-chart/progress-chart-component.js","webpack:///./src/modules/utils/progress-chart/progress-chart.html","webpack:///./src/modules/utils/rw-captcha/rw-captcha-module.js","webpack:///./src/modules/utils/rw-captcha/rw-captcha-directive.js","webpack:///./src/modules/utils/rw-captcha/resources/rw-captcha.api.js","webpack:///./src/modules/utils/rw-captcha/template.html","webpack:///./src/modules/utils/lsp-keyboard/lsp-keyboard-module.js","webpack:///./src/modules/utils/lsp-keyboard/components/on-enter/on-enter-controller.js","webpack:///./src/modules/utils/lsp-keyboard/components/on-enter/on-enter-directive.js","webpack:///./src/modules/utils/rest/rest-module.js","webpack:///./src/modules/utils/rest/error/error-module.js","webpack:///./src/modules/utils/rest/error/error-service.js","webpack:///./src/modules/utils/rest/error/error-notification-service.js","webpack:///./src/modules/utils/rest/error/alert-modal-tpl.html","webpack:///./src/modules/utils/rest/rest-wrapper-service.js","webpack:///./src/modules/utils/rest/http-service.js","webpack:///./src/modules/utils/download-element/download-element-module.js","webpack:///./src/modules/utils/download-element/download-element-component.js","webpack:///./src/modules/utils/download-element/button/button.html","webpack:///./src/modules/utils/download-element/link/link.html","webpack:///./src/modules/utils/download-element/label/label.html","webpack:///./src/modules/utils/download-element/components/async-download/async-download-component.js","webpack:///./src/modules/utils/download-element/components/async-download/async-download-template.html","webpack:///./src/modules/utils/lsp-grid/lsp-grid-module.js","webpack:///./src/modules/utils/lsp-grid/lsp-grid-component.js","webpack:///./src/modules/utils/lsp-grid/lsp-grid.html","webpack:///./src/modules/utils/lsp-grid/components/lsp-table/lsp-table.html","webpack:///./src/modules/utils/lsp-grid/components/lsp-mobile-sort/lsp-mobile-sort.html","webpack:///./src/modules/utils/grid/grid-module.js","webpack:///./src/modules/utils/grid/grid-component.js","webpack:///./src/modules/utils/grid/grid.html","webpack:///./src/modules/utils/grid/pagination-component.js","webpack:///./src/modules/utils/grid/pagination.html","webpack:///./src/modules/utils/grid/table.html","webpack:///./src/modules/utils/grid/mobile-sort-component.js","webpack:///./src/modules/utils/grid/mobile-sort.html","webpack:///./src/modules/utils/grid/table-service.js","webpack:///./src/modules/utils/grid/table-column-component.js","webpack:///./src/modules/utils/grid/table-column.html","webpack:///./src/modules/utils/grid/table-column-controller.js","webpack:///./src/modules/utils/grid/table-cell-component.js","webpack:///./src/modules/utils/grid/table-cell.html","webpack:///./src/modules/utils/lsp-image/lsp-image-module.js","webpack:///./src/modules/utils/lsp-image/lsp-image-component.js","webpack:///./src/modules/utils/lsp-image/lsp-image.html","webpack:///./src/modules/utils/lsp-bullet-placeholder/lsp-bullet-placeholder-module.js","webpack:///./src/modules/utils/lsp-bullet-placeholder/lsp-bullet-placeholder-directive.js","webpack:///./src/modules/utils/footer-bar/footer-bar-module.js","webpack:///./src/modules/utils/footer-bar/footer-bar-component.js","webpack:///./src/modules/utils/footer-bar/footer-bar.html","webpack:///./src/modules/utils/analytics/rw-analytics.module.js","webpack:///./src/modules/utils/analytics/rw-analytics-service.js","webpack:///./src/modules/utils/analytics/rw-gtm-component.js","webpack:///./src/modules/utils/carousel/carousel-module.ts","webpack:///./src/modules/utils/carousel/carousel-component.ts","webpack:///./src/modules/utils/carousel/carousel.html","webpack:///./src/modules/utils/rw-tooltip/rw-tooltip-module.js","webpack:///./src/modules/utils/rw-tooltip/rw-tooltip-component.js","webpack:///./src/modules/utils/rw-tooltip/rw-tooltip.html","webpack:///./src/modules/utils/multilanguage/multilanguage-module.js","webpack:///./src/modules/utils/multilanguage/components/multi-lang-same-value-directive.js","webpack:///./src/modules/utils/multilanguage/components/rw-language-picker/rw-language-picker-component.js","webpack:///./src/modules/utils/multilanguage/components/rw-language-picker/rw-language-picker.html","webpack:///./src/modules/utils/multilanguage/components/rw-language-select/rw-language-select-component.js","webpack:///./src/modules/utils/multilanguage/components/rw-language-select/rw-language-select.html","webpack:///./src/modules/utils/multilanguage/components/rw-multilanguage-page/rw-multilanguage-page-component.js","webpack:///./src/modules/utils/multilanguage/components/rw-multilanguage-page/rw-multilanguage-page.html","webpack:///./src/modules/utils/file-upload/file-upload-module.js","webpack:///./src/modules/utils/file-upload/components/file-upload-change-directive.js","webpack:///./src/modules/utils/file-upload/components/file-upload-input/file-upload-input-component.js","webpack:///./src/modules/utils/file-upload/components/file-upload-input/file-upload-input.html","webpack:///./src/modules/utils/file-preview/file-preview-module.js","webpack:///./src/modules/utils/file-preview/components/file-preview/file-preview-component.js","webpack:///./src/modules/utils/file-preview/components/file-preview/file-preview.html","webpack:///./src/modules/utils/file-preview/components/file-preview-image/file-preview-image-component.js","webpack:///./src/modules/utils/file-preview/components/file-preview-image/file-preview-image.html","webpack:///./src/modules/utils/file-preview/components/file-preview-pdf/file-preview-pdf-component.js","webpack:///./src/modules/utils/file-preview/components/file-preview-pdf/file-preview-pdf.html","webpack:///./src/modules/utils/dirty-form/dirty-form-directive.js","webpack:///./src/modules/utils/dirty-form/cancel-button-component.js","webpack:///./src/modules/utils/rw-clear-field/rw-clear-field-module.js","webpack:///./src/modules/utils/rw-clear-field/rw-clear-field-directive.js","webpack:///./src/modules/utils/rw-clear-field/rw-clear-field.html","webpack:///./src/modules/utils/rw-required-one-of/rw-required-one-of-module.js","webpack:///./src/modules/utils/rw-required-one-of/rw-required-one-of-directive.js","webpack:///./src/modules/utils/file-card/file-card-module.js","webpack:///./src/modules/utils/file-card/file-card-component.js","webpack:///./src/modules/utils/file-card/file-card.html","webpack:///./src/modules/utils/rw-card/rw-card-component.js","webpack:///./src/modules/utils/rw-card/rw-card.html","webpack:///./src/modules/utils/rw-game-poster/rw-game-poster-module.js","webpack:///./src/modules/utils/rw-game-poster/rw-game-poster-component.js","webpack:///./src/modules/utils/rw-game-poster/rw-game-poster.html","webpack:///./src/modules/utils/rw-date/rw-date-module.js","webpack:///./src/modules/utils/rw-date/rw-date-component.js","webpack:///./src/modules/utils/rw-date/rw-date.html","webpack:///./src/modules/utils/rw-currency/rw-currency-module.js","webpack:///./src/modules/utils/rw-currency/rw-currency-component.js","webpack:///./src/modules/utils/rw-currency/rw-currency.html","webpack:///./src/modules/utils/rw-currency/rw-currency-controller.js","webpack:///./src/modules/utils/rw-retailer-id/rw-retailer-id-module.js","webpack:///./src/modules/utils/rw-retailer-id/rw-retailer-id-component.js","webpack:///./src/modules/utils/rw-retailer-id/rw-retailer-id.html","webpack:///./src/modules/utils/rw-phone/rw-phone-module.js","webpack:///./src/modules/utils/rw-phone/rw-phone-component.js","webpack:///./src/modules/utils/rw-phone/rw-phone.html","webpack:///./src/modules/utils/rw-phone/rw-phone-controller.js","webpack:///./src/modules/utils/rw-user-class/rw-user-class-module.js","webpack:///./src/modules/utils/rw-user-class/rw-user-class-component.js","webpack:///./src/modules/utils/rw-user-class/rw-user-class.html","webpack:///./src/modules/utils/rw-user-class/rw-user-class-controller.js","webpack:///./src/modules/utils/rw-copyright/rw-copyright-module.js","webpack:///./src/modules/utils/rw-copyright/rw-copyright-component.js","webpack:///./src/modules/utils/rw-copyright/rw-copyright.html","webpack:///./src/modules/utils/rw-copyright/rw-copyright-controller.js","webpack:///./src/modules/utils/rw-app-version/rw-app-version-module.js","webpack:///./src/modules/utils/rw-app-version/rw-app-version-component.js","webpack:///./src/modules/utils/rw-app-version/rw-app-version.html","webpack:///./src/modules/utils/rw-app-version/rw-app-version-controller.js","webpack:///./src/modules/utils/rw-app-version/actions/app-version.actions.js","webpack:///./src/modules/utils/rw-app-version/resources/app-version.api.js","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy-module.js","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy-component.js","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy.html","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy-controller.js","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog-module.js","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog-component.js","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog.html","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog-controller.js","webpack:///./src/modules/utils/rw-privacy-policy/components/actions/privacy-policy.actions.js","webpack:///./src/modules/utils/rw-privacy-policy/components/resources/privacy-policy.api.js","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use-module.js","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use-component.js","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use.html","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use-controller.js","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog-module.js","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog-component.js","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog.html","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog-controller.js","webpack:///./src/modules/utils/rw-terms-of-use/components/actions/terms-of-use.actions.js","webpack:///./src/modules/utils/rw-terms-of-use/components/resources/terms-of-use.api.js","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links-module.js","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links-component.js","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links.html","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links-controller.js","webpack:///./src/modules/utils/rw-button/rw-button-module.js","webpack:///./src/modules/utils/rw-button/rw-button-component.js","webpack:///./src/modules/utils/rw-button/rw-button.html","webpack:///./src/modules/utils/rw-icon/rw-icon-module.js","webpack:///./src/modules/utils/rw-icon/rw-icon-component.js","webpack:///./src/modules/utils/rw-icon/rw-icon.html","webpack:///./src/modules/utils/rw-actions-dropdown/rw-actions-dropdown-module.js","webpack:///./src/modules/utils/rw-actions-dropdown/rw-actions-dropdown-component.js","webpack:///./src/modules/utils/rw-actions-dropdown/rw-actions-dropdown.html","webpack:///./src/modules/utils/rw-social-media/rw-social-media-module.js","webpack:///./src/modules/utils/rw-social-media/rw-social-media-component.js","webpack:///./src/modules/utils/actions/rw-social-media/rw-social-media.actions.js","webpack:///./src/modules/utils/resources/rw-social-media.api.js","webpack:///./src/modules/utils/rw-social-media/rw-social-media.html","webpack:///./src/modules/utils/rw-multistore-selector/rw-multistore-selector-module.js","webpack:///./src/modules/utils/rw-multistore-selector/components/rw-multistore-selector-dialog/rw-multistore-selector-dialog-module.js","webpack:///./src/modules/utils/rw-multistore-selector/components/rw-multistore-selector-dialog/rw-multistore-selector-dialog-component.js","webpack:///./src/modules/utils/rw-multistore-selector/components/rw-multistore-selector-dialog/rw-multistore-selector-dialog.html","webpack:///./src/modules/utils/rw-multistore-selector/rw-multistore-selector-component.js","webpack:///./src/modules/utils/rw-multistore-selector/rw-multistore-selector.html","webpack:///./src/modules/utils/rw-retailer-info/rw-retailer-info-module.js","webpack:///./src/modules/utils/rw-retailer-info/rw-retailer-info-component.js","webpack:///./src/modules/utils/rw-retailer-info/rw-retailer-info.html","webpack:///./src/modules/utils/rw-subordinates/rw-subordinates-module.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-table/rw-subordinates-table-module.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-table/rw-subordinates-table-component.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-table/rw-subordinates-table.html","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-dropdown/rw-subordinates-dropdown-module.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-dropdown/rw-subordinates-dropdown-component.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-dropdown/rw-subordinates-dropdown.html","webpack:///./src/modules/utils/rw-list/rw-list-module.js","webpack:///./src/modules/utils/rw-list/components/rw-list-item-module.js","webpack:///./src/modules/utils/rw-list/components/rw-list-item-component.js","webpack:///./src/modules/utils/rw-list/components/rw-list-item.html","webpack:///./src/modules/utils/rw-list/rw-list-component.js","webpack:///./src/modules/utils/rw-list/rw-list.html","webpack:///./src/modules/utils/rw-datepicker/rw-datepicker-module.js","webpack:///./src/modules/utils/rw-datepicker/templates/datepicker.html","webpack:///./src/modules/utils/rw-datepicker/templates/day.html","webpack:///./src/modules/utils/rw-datepicker/templates/month.html","webpack:///./src/modules/utils/rw-datepicker/templates/year.html","webpack:///./src/modules/utils/rw-datepicker/templates/popup.html","webpack:///./src/modules/utils/rw-datepicker/rw-datepicker-component.js","webpack:///./src/modules/utils/rw-datepicker/rw-datepicker.html","webpack:///./src/modules/utils/rw-timepicker/rw-timepicker-module.js","webpack:///./src/modules/utils/rw-timepicker/rw-timepicker-component.js","webpack:///./src/modules/utils/rw-timepicker/rw-timepicker.html","webpack:///./src/modules/utils/rw-location-selector/rw-location-selector-module.js","webpack:///./src/modules/utils/rw-location-selector/components/rw-location-selector-dialog/rw-location-selector-dialog-module.js","webpack:///./src/modules/utils/rw-location-selector/components/rw-location-selector-dialog/rw-location-selector-dialog-component.js","webpack:///./src/modules/utils/rw-location-selector/components/rw-location-selector-dialog/rw-location-selector-dialog.html","webpack:///./src/modules/utils/rw-location-selector/rw-location-selector-component.js","webpack:///./src/modules/utils/rw-location-selector/rw-location-selector.html","webpack:///./src/modules/utils/rw-box/rw-box-module.js","webpack:///./src/modules/utils/rw-box/rw-box-component.js","webpack:///./src/modules/utils/rw-box/rw-box.html","webpack:///./src/modules/utils/lsp-filters/lsp-filters-module.js","webpack:///./src/modules/utils/lsp-filters/retailerId-format-filter.js","webpack:///./src/modules/utils/lsp-filters/lsp-percent-filter.js","webpack:///./src/modules/utils/lsp-filters/number-postfix-filter.js","webpack:///./src/modules/utils/lsp-filters/mask-filter.js","webpack:///./src/modules/utils/lsp-validators/lsp-validators-module.js","webpack:///./src/modules/utils/lsp-validators/lsp-email-validator/lsp-email-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-emails-validator/lsp-emails-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-field-matching-validator/lsp-field-matching-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-phone-length-validator/lsp-phone-length-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-name-validator/lsp-name-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-password-validator/lsp-password-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-form-field-validator/lsp-form-field-service.js","webpack:///./src/modules/utils/lsp-validators/lsp-form-field-validator/lsp-form-field-directive.js","webpack:///./src/modules/utils/lsp-validators/retailer-number-pattern/retailer-number-pattern-directive.js","webpack:///./src/modules/utils/lsp-validators/space-leading-pattern/space-leading-pattern-directive.js","webpack:///./src/modules/utils/lsp-validators/google-maps-coords-validator/google-maps-coords-directive.js","webpack:///./src/modules/utils/lsp-validators/stripped-max-length.js","webpack:///./src/modules/utils/lsp-alerts/lsp-alert-service.js","webpack:///./src/modules/utils/responsive/responsive-service.js","webpack:///./src/scss/variables.json","webpack:///./src/modules/utils/dirty-form/cancel-service.js","webpack:///./src/modules/utils/widget/widget-service.js","webpack:///./src/modules/utils/editor/email-variables-ckeditor-plugin.js","webpack:///./src/modules/utils/tab/tab-component.js","webpack:///./src/modules/utils/tab/components/tab-header/tab-header-component.js","webpack:///./src/modules/utils/tab/components/tab-header/tab-header.html","webpack:///./src/modules/utils/notifications/notifications.js","webpack:///./src/modules/utils/notifications/views/default-dialog-template.html","webpack:///./src/modules/utils/save-as-polyfill.js","webpack:///./src/modules/terms-preview/terms-preview-module.js","webpack:///./src/modules/terms-preview/components/terms-page/terms-page-module.js","webpack:///./src/modules/terms-preview/components/terms-page/terms-page-component.js","webpack:///./src/modules/terms-preview/components/terms-page/terms-page.html","webpack:///./src/modules/terms-preview/components/terms-page/terms-page-controller.js","webpack:///./src/modules/terms-preview/components/terms-list/terms-list-module.js","webpack:///./src/modules/terms-preview/components/terms-list/terms-list-component.js","webpack:///./src/modules/terms-preview/components/terms-list/terms-list.html","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog-module.js","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog-component.js","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog-controller.js","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog.html","webpack:///./src/modules/retailer-dashboards/retailer-dashboards-module.js","webpack:///./src/modules/retailer-dashboards/config/errorcodes.conf.js","webpack:///./src/modules/retailer-dashboards/retailer-dashboards-routing-module.js","webpack:///./src/modules/retailer-dashboards/containers/search-page/retailer-dashboards-search-page-module.js","webpack:///./src/modules/retailer-dashboards/containers/search-page/retailer-dashboards-search-page-component.js","webpack:///./src/modules/retailer-dashboards/resources/retailer-dashboards-api.js","webpack:///./src/modules/retailer-dashboards/containers/search-page/retailer-dashboards-search-page.html","webpack:///./src/modules/retailer-dashboards/containers/dashboard-page/retailer-dashboard-page-module.js","webpack:///./src/modules/retailer-dashboards/containers/dashboard-page/retailer-dashboard-page-component.js","webpack:///./src/modules/retailer-dashboards/containers/dashboard-page/retailer-dashboard-page.html","webpack:///./src/modules/download-report-page/download-report-page-module.js","webpack:///./src/modules/download-report-page/config/errorcodes.conf.js","webpack:///./src/modules/download-report-page/components/download-page/download-page-module.js","webpack:///./src/modules/download-report-page/components/download-page/download-page-component.js","webpack:///./src/modules/download-report-page/components/download-page/download-page.html","webpack:///./src/modules/download-report-page/components/download-page/download-page-controller.js","webpack:///./src/modules/download-report-page/actions/download-report-page.acions.js","webpack:///./src/modules/download-report-page/download-report-page.api.js","webpack:///./src/modules/app/config/errorcodes.conf.js","webpack:///./src/modules/app/logic/app.js","webpack:///./src/modules/email-notification-templates/logic/email-notification-templates.js","webpack:///./src/modules/sms/logic/sms.js","webpack:///./src/modules/sms/helpers/sms-helpers.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-dialog/manage-sms-notification-dialog-logic.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-dialog/manage-sms-notification-dialog.html","webpack:///./src/modules/faq/logic/faq.js","webpack:///./src/modules/registration/logic/registration.js","webpack:///./src/modules/security/logic/security.js","webpack:///./src/modules/manage-inventory/logic/manage-inventory.js","webpack:///./src/modules/app/components/forbidden/forbidden-component.js","webpack:///./src/modules/app/components/forbidden/forbidden.html","webpack:///./src/modules/rw-redux/action-dispatcher.js","webpack:///./src/modules/app/validators/action-validators.js","webpack:///./src/modules/app/app.html","webpack:///./src/modules/app/views/system-unavailable.html","webpack:///./src/modules/app/components/impersonating-bar/impersonating-bar-component.js","webpack:///./src/modules/app/components/impersonating-bar/impersonating-bar.html","webpack:///./src/modules/app/components/side-menu/side-menu-component.js","webpack:///./src/modules/app/components/side-menu/side-menu-anonymous.html","webpack:///./src/modules/app/components/side-menu/side-menu-loggedin.html","webpack:///./src/modules/app/components/side-menu/components/menu-items/menu-items.js","webpack:///./src/modules/app/components/side-menu/components/menu-items/menu-items.html","webpack:///./src/modules/app/components/side-menu/components/side-menu-header/side-menu-header-module.js","webpack:///./src/modules/app/components/side-menu/components/side-menu-header/side-menu-header-component.js","webpack:///./src/modules/app/components/side-menu/components/side-menu-header/side-menu-header.html","webpack:///./src/modules/app/components/home/home-component.js","webpack:///./src/modules/app/components/home/management/cms-management-component.js","webpack:///./src/modules/app/components/home/management/components/terms/terms-management-module.js","webpack:///./src/modules/app/components/home/management/components/terms/terms-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-tab/terms-tab-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-preview-dialog/terms-preview-dialog-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-preview-dialog/terms-preview-dialog-component.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-preview-dialog/terms-preview-dialog.html","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-confirm-dialog/terms-confirm-dialog-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-confirm-dialog/terms-confirm-dialog-component.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-confirm-dialog/terms-confirm-dialog.html","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-tab/terms-tab-component.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-tab/terms-tab.html","webpack:///./src/modules/app/components/home/management/components/terms/terms-management-component.js","webpack:///./src/modules/app/components/home/management/components/terms/terms-management.html","webpack:///./src/modules/app/components/home/management/components/manage-configurable-link/manage-configurable-link-component.js","webpack:///./src/modules/app/components/home/management/components/manage-configurable-link/manage-configurable-link.html","webpack:///./src/modules/app/components/home/management/components/theme/theme-component.js","webpack:///./src/modules/app/components/home/management/components/theme/theme.html","webpack:///./src/modules/app/components/home/management/components/theme/theme-notification.html","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons-module.js","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons-component.js","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons.html","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons-controller.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management-module.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management-component.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management.html","webpack:///./src/modules/app/components/home/management/components/banners/components/preview-banner-dialog/preview-banner-dialog.html","webpack:///./src/modules/app/components/home/management/components/banners/components/upload-banner-dialog/upload-banner-dialog.html","webpack:///./src/modules/app/components/home/management/components/banners/components/upload-banner-dialog/upload-banner-dialog-controller.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images-module.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images-routing-module.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images-component.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images.html","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-tab/games-tab-component.js","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-tab/games-tab.html","webpack:///./src/modules/app/components/home/management/components/game-images/components/game-card/game-card-component.js","webpack:///./src/modules/utils/file-upload/file-helpers.js","webpack:///./src/modules/app/components/home/management/components/game-images/components/game-card/game-card.html","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-selector/games-selector-component.js","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-selector/games-selector.html","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates-module.js","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates-routing-module.js","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates-component.js","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates.html","webpack:///./src/modules/app/components/home/management/components/media-templates/components/template-tab/template-tab-component.js","webpack:///./src/modules/app/components/home/management/components/media-templates/components/template-tab/template-tab.html","webpack:///./src/modules/app/components/home/management/components/media-templates/components/confirmation-dialog/confirmation-dialog.html","webpack:///./src/modules/app/components/home/management/components/media-templates/components/poster-preview-form/poster-preview-form-dialog-component.js","webpack:///./src/modules/app/components/home/management/components/media-templates/components/poster-preview-form/poster-preview-form-dialog.html","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management-module.js","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management-component.js","webpack:///./src/modules/app/actions/login-popup.actions.js","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management.html","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management-module.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management.html","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-edit-component.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-edit.html","webpack:///./src/modules/app/components/home/home.html","webpack:///./src/modules/utils/datepicker/angular-datepicker.js","webpack:///./src/modules/app/components/navbar/navbar-module.js","webpack:///./src/modules/app/components/navbar/navbar-component.js","webpack:///./src/modules/app/components/navbar/navbar.html","webpack:///./src/modules/app/components/top-menu/top-menu-module.js","webpack:///./src/modules/app/components/top-menu/top-menu-component.js","webpack:///./src/modules/app/components/top-menu/top-menu.html","webpack:///./src/modules/app/actions/dictionaries/lottery-terms-dictionary.actions.js"],"names":["__webpack_require__","Dependencies","_classCallCheck","this","restSrv","rest","depsArr","_this","Object","keys","forEach","key","_get__","session","cloneDeep","_roles","namespace","SET_PAGE_TITLE","SET_LOCALE","INIT_SESSION","UPDATE_SESSION","SET_SIDE_MENU","SET_TOP_MENU","SET_TOKENS","SET_ACTIVE_ITEM","SET_ACTIVE_SUBITEM","SET_USER_PRIVILEGES","SET_LEARNING_LINK","SET_ATTEMPTED_ROUTE","SET_RETAILER_GROUPS","SET_OWNER_RETAILER_GROUPS","TOGGLE_SUBMENU","CLOSE_ALL_SIDEMENU_ITEMS","saveSession","dispatch","getState","$sessionStorage","userSession","Promise","resolve","initializeSession","type","payload","applyTopMenu","applySessionData","topMenuItems","subLevelItems","items","id","filter","x","indexOf","hasAtLeastOneSubItemVisible","item","subItems","length","subItem","plainLink","hasAccess","applySideMenu","sideMenuItems","mainItems","updateAuthHeaders","applyMenu","newModel","arguments","undefined","_getState2","_getState2$session","role","_getState2$session$re","retailer","retailerType","isSuperChain","roleConfig","config","roles","roleKey","CHAIN_HEAD","SUPER_CHAIN","sidemenu","generateMenu","get","training","href","lotteryLearningLink","branding","brandingUrl","label","brandingLabel","topmenu","generateTopMenu","toggleSubmenu","_ref","closeAllSideMenuItems","find","opened","setCurrentState","toState","fromState","reducedItems","reduce","reduced","reducedItem","active","startsWith","sref","push","changePageTitle","pageTitle","changeLocale","locale","gettextCatalog","setCurrentLanguage","loadRemote","setRetailerDashboardType","retailerDashboardType","sessionId","isChainHead","isIndependent","INDEPENDENT","isChainSubordinate","CHAIN_SUBORDINATE","retailerDashboard","cleartRetailerDashboardType","resetSession","_extends","anonymousPrivileges","code","tokens","jwt","HttpService","defaults","headers","common","Authorization","timezoneDiffToSeconds","applyTokens","reject","currentTimeStamp","Date","now","jwtTokenExpiration","refreshTokenExpiration","jwtCode","token","refreshCode","sessionTokens","expiringTimestamp","passwordExpired","tokenParams","refresh","setUserPrivileges","privileges","setGtmsTime","gtmsTimeUnix","newSession","gtmsTime","timezoneDiff","calculateLotteryTime","serverTime","serverTimezoneDiff","lotteryTimezoneDiff","setServerTime","salesPeriodTime","serverTimestamp","utc","unix","salesPeriodTimestamp","lotteryTime","setSuperChainRetailer","newRetailer","newRetailerObj","retailerId","isChain","setStoreProfileRetailer","isStoreProfile","setRetailerGroups","retailerGroups","setOwnerRetailerGroups","setLearningLink","link","setAttemptedRoute","route","checkAccess","CHECK_ACCESS","permission","_getState","validators","app","newActionKey","replace","privilege","checkValidators","model","actionKey","every","fn","call","checkValidatorsLazy","check","checkAccessLazy","fetchConfigRequest","FETCH_CONFIG_REQUEST","fetchConfigSuccess","FETCH_CONFIG_SUCCESS","fetchConfigFailure","FETCH_CONFIG_FAILURE","SET_DIRTY_FORM","CLEAR_DIRTY_FORM","setDirtyForm","form","value","clearDirtyForm","checkDirtyForm","dirtyForms","isAnyDirtyForm","entries","entry","validateField","field","$validate","$submitted","$viewValue","shouldShowValidation","$$parentForm","$pristine","$touched","compare","fieldName","a","b","b64toBlob","b64Data","contentType","sliceSize","byteCharacters","atob","byteArrays","offset","slice","byteNumbers","Array","i","charCodeAt","byteArray","Uint8Array","Blob","downloadFile","context","deps","url","attachment","fileParams","fileSource","split","blob","fileType","window","saveAs","name","downloadBlob","jurisdictionId","contentId","promise","then","result","data","printElement","elementId","printable","documentTitle","ignoreElements","redirectToFirstPageFromMenu","stateParams","options","firstAllowedPageFromMenu","JSON","parse","sessionStorage","menuElement","$state","go","redirectToPasswordReset","title","getString","content","skipDirtyForms","Notifications","showAlert","redirectToHome","redirectAfterLogin","attemptedRoute","$ngRedux","_session$loggedIn","loggedIn","getLocales","locales","getFieldsFromEntry","fields","findIndex","fieldObj","setFieldsToEntry","map","concat","dragMove","eventObj","scrollMargin","document","getElementById","offsetHeight","below","clientY","innerHeight","above","scrollTop","generateUUID","c","crypto","msCrypto","getRandomValues","toString","extractDictionaryItem","dictionaryArray","availableStatuses","statusObj","typeCodeTexts","path","last","typeCode","toUpperCase","displayText","extractDictionaryRoot","splittedLength","trimHtml","trim","div","createElement","innerHTML","innerText","setHeader","extension","Accept","calculateDaysLeftToPercentages","daysLeft","threshold","isBondRenewalExceeded","percent","Math","round","DashboardWidgetController","$scope","isLoading","isMaintenance","loadDataFunction","transformDataFunction","isEmptyPath","$applyAsync","isEmpty","dataToCheck","checkIfEmpty","catch","error","console","finally","initGrid","fetchFunction","params","gridModel","fetchDataFunc","bind","gotoPageFunc","gridProto","fetchData","applyFilters","sortByColumn","changePageSize","gotoPage","nextPage","prevPage","assign","sortItems","column","direction","isString","toLowerCase","orderBy","unset","filterItems","filters","customHandlers","filterKeys","evalMeta","count","totalElements","pagesCount","totalPages","page","number","displayedPage","pageSize","size","hasPreviousPage","hasPrevious","hasNextPage","hasNext","ASC_DESC_MAPPING","true","false","defaultFilterHandler","filterValue","itemValue","initialGridModel","_pagingModel","loaded","pagingModel","pageNoKey","defaultPageNo","_defineProperty","pageSizeKey","defaultPageSize","sortColumnKey","defaultSortColumnKey","directionKey","defaultSortDirection","filtersKey","Number","isNaN","pageNo","setFilters","DepsService","set","removeEmptyFilters","newFilters","FETCH_PRICE_POINTS_DICTIONARY_REQUEST","FETCH_PRICE_POINTS_DICTIONARY_SUCCESS","FETCH_PRICE_POINTS_DICTIONARY_FAILURE","FETCH_PACK_STATUSES_DICTIONARY_REQUEST","FETCH_PACK_STATUSES_DICTIONARY_SUCCESS","FETCH_PACK_STATUSES_DICTIONARY_FAILURE","FETCH_ORDER_STATUSES_DICTIONARY_REQUEST","FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS","FETCH_ORDER_STATUSES_DICTIONARY_FAILURE","FETCH_USER_CLASS_DICTIONARY_REQUEST","FETCH_USER_CLASS_DICTIONARY_SUCCESS","FETCH_USER_CLASS_DICTIONARY_FAILURE","FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST","FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS","FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE","FETCH_TIERS_DICTIONARY_REQUEST","FETCH_TIERS_DICTIONARY_SUCCESS","FETCH_TIERS_DICTIONARY_FAILURE","FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST","FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS","FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE","FETCH_INVOICE_DATES_DICTIONARY_REQUEST","FETCH_INVOICE_DATES_DICTIONARY_SUCCESS","FETCH_INVOICE_DATES_DICTIONARY_FAILURE","FETCH_USER_TEMPLATES_DICTIONARY_REQUEST","FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS","FETCH_USER_TEMPLATES_DICTIONARY_FAILURE","FETCH_OUTLET_TYPES_DICTIONARY_REQUEST","FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS","FETCH_OUTLET_TYPES_DICTIONARY_FAILURE","FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST","FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS","FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE","FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST","FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS","FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE","FETCH_LOTTERY_TERMS_DICTIONARY_REQUEST","FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS","FETCH_LOTTERY_TERMS_DICTIONARY_FAILURE","FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST","FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS","FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE","_reselect","getApplicationName","state","applicationName","getOAuthClientId","oAuthClientId","getRetailerId","_ref2","getLicenseId","_ref3","relicensing","isSuperChainSelector","_ref4","isChainHeadSelector","_ref5","isChainSubordinateSelector","_ref6","isIndependentSelector","_ref7","isStoreProfileSelector","_ref8","isRetailerDashboardSelector","_ref9","retailerDashboards","inboxMessagesSelector","messages","inbox","selectedMessagesListSelector","selectedMessages","selectedMessagesList","activeAnnouncementsSelector","selectedMessageDetailsSelector","selectedId","_slicedToArray","msg","userMessageId","announcements","firstNameSelector","isEmptyActiveAnnouncementsSelector","firstName","lastNameSelector","lastName","MAX_WELCOME_LENGTH","getDisplayUserNameSelector","charAt","DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST","DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS","DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE","DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST","DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS","DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE","FETCH_GAMES_LIST_REQUEST","FETCH_GAMES_LIST_SUCCESS","FETCH_GAMES_LIST_FAILURE","FETCH_PACKS_LIST_REQUEST","FETCH_PACKS_LIST_SUCCESS","FETCH_PACKS_LIST_FAILURE","FETCH_PACKS_GROSS_VALUE_LIST_REQUEST","FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS","FETCH_PACKS_GROSS_VALUE_LIST_FAILURE","FETCH_PACK_DETAILS_REQUEST","FETCH_PACK_DETAILS_SUCCESS","FETCH_PACK_DETAILS_FAILURE","FETCH_ORDER_DETAILS_REQUEST","FETCH_ORDER_DETAILS_SUCCESS","FETCH_ORDER_DETAILS_FAILURE","FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST","FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS","FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE","FETCH_LIABILITIES_REQUEST","FETCH_LIABILITIES_SUCCESS","FETCH_LIABILITIES_FAILURE","FETCH_ORDER_HISTORY_REQUEST","FETCH_ORDER_HISTORY_SUCCESS","FETCH_ORDER_HISTORY_FAILURE","ON_ITEM_LIST_SELECTION","RESET_DETAILS_DIALOG_DATA","loadingStatusAccordingToReducer","loadingStatusName","action","pop","DefaultDialogController","$dismiss","$close","EMPTY_ROLES","RETAILER_PRIMARY_ROLE","PRIMARY_USER_ROLES","SECONDARY_USER_ROLES","PROSPECT_ROLES","ADMIN_ROLES","ADMIN_TEMPORARY_ROLES","RETAILER_GROUP_ROLES","RETAILER_GROUP_TEMPORARY_ROLES","USER_ROLES","TEMPORARY_ROLES","LOGGED_USER_ROLES","ANONYOUS_ROLE","ALL_ROLES","ADMIN_WITH_PRIMARY_ROLES","CHAIN_SUFFIX","RETAILER_TYPE","SAVE_THEME_REQUEST","SAVE_THEME_SUCCESS","SAVE_THEME_FAILURE","SET_CURRENT_THEME_SUCCESS","UPDATE_THEME_COLOR_SUCCESS","FETCH_BANNERS_REQUEST","FETCH_BANNERS_SUCCESS","FETCH_BANNERS_FAILURE","FETCH_LOGIN_POPUP_REQUEST","FETCH_LOGIN_POPUP_SUCCESS","FETCH_LOGIN_POPUP_FAILURE","FETCH_CMS_TERMS_OF_USE_REQUEST","FETCH_CMS_TERMS_OF_USE_FAILURE","FETCH_CMS_TERMS_OF_USE_SUCCESS","FETCH_CMS_PRIVACY_POLICY_REQUEST","FETCH_CMS_PRIVACY_POLICY_FAILURE","FETCH_CMS_PRIVACY_POLICY_SUCCESS","CLEAR_CMS_TERMS","FETCH_WIDGETS_REQUEST","FETCH_WIDGETS_SUCCESS","FETCH_WIDGETS_FAILURE","CANCEL_WIDGETS_CHANGES","DELETE_WIDGET","UPDATE_WIDGET","ADD_WIDGET","FETCH_MESSAGES_LIST_REQUEST","FETCH_MESSAGES_LIST_FAILURE","FETCH_MESSAGES_LIST_SUCCESS","FETCH_MESSAGE_REQUEST","FETCH_MESSAGE_FAILURE","FETCH_MESSAGE_SUCCESS","FETCH_UNREAD_MESSAGES_COUNT_REQUEST","FETCH_UNREAD_MESSAGES_COUNT_FAILURE","FETCH_UNREAD_MESSAGES_COUNT_SUCCESS","DELETE_MESSAGES_REQUEST","DELETE_MESSAGES_FAILURE","DELETE_MESSAGES_SUCCESS","DELETE_MESSAGE_REQUEST","DELETE_MESSAGE_FAILURE","DELETE_MESSAGE_SUCCESS","DELETE_SENT_MESSAGES_REQUEST","DELETE_SENT_MESSAGES_FAILURE","DELETE_SENT_MESSAGES_SUCCESS","DELETE_SENT_MESSAGE_REQUEST","DELETE_SENT_MESSAGE_FAILURE","DELETE_SENT_MESSAGE_SUCCESS","MARK_MESSAGE_AS_UNREAD_REQUEST","MARK_MESSAGE_AS_UNREAD_FAILURE","MARK_MESSAGE_AS_UNREAD_SUCCESS","MARK_MESSAGE_AS_READ_REQUEST","MARK_MESSAGE_AS_READ_FAILURE","MARK_MESSAGE_AS_READ_SUCCESS","FETCH_SENT_MESSAGES_LIST_REQUEST","FETCH_SENT_MESSAGES_LIST_FAILURE","FETCH_SENT_MESSAGES_LIST_SUCCESS","FETCH_RECIPIENTS_REQUEST","FETCH_RECIPIENTS_FAILURE","FETCH_RECIPIENTS_SUCCESS","REPLY_MESSAGE_REQUEST","REPLY_MESSAGE_FAILURE","REPLY_MESSAGE_SUCCESS","ADD_MESSAGE_TO_SELECTED","DELETE_MESSAGE_FROM_SELECTED","TOGGLE_SELECT_ALL_MESSAGES_POINTER","SET_SELECT_ALL_MESSAGES_POINTER","CLEAR_SELECTED_MESSAGES_LIST","CLEAR_SELECTED_MESSAGE","RESET_INBOX","CONTEXT","INVOICE_DATE_FORMAT","lowerCase","string","transformTemplatesDTO","templates","dictionaryDTO","template","translations","transformDictionaryDTO","stage","calculateRange","date","$filter","periodStartDate","periodEndDate","calculateInvoicesDatesRange","dates","format","transformOutletTypesDTO","transformInvoiceDates","transformedDates","fromDate","subtract","toDate","displayName","transformActivityEvents","events","groupBy","transformLotteryTermsDTO","term","_objectWithoutProperties","pluralLowerCase","plural","singularLowerCase","singular","fetchPricePointsDictionary","_asyncToGenerator","regeneratorRuntime","mark","_callee","urlParams","queryParams","response","wrap","_context","prev","next","dictionary","pricePoints","sent","abrupt","stop","_x","apply","fetchPackStatusesDictionary","_callee2","_context2","packStatuses","_x2","fetchOrderStatusesDictionary","_callee3","_context3","orderStatuses","_x3","fetchUserClassDictionary","_callee4","_context4","names","values","_x4","fetchReportCategoriesDictionary","_ref11","_callee5","_ref10","_context5","_x5","fetchTiersDictionary","_ref12","_callee6","_context6","dashboard","cumulative","tierTypes","_x6","fetchInquiryReasonsDictionary","_ref13","_callee7","_context7","contact","inquiryReasons","list","_x7","fetchInvoiceDatesDictionary","_ref14","_callee8","_context8","invoiceDates","_x8","fetchActivityEventsDictionary","_ref15","_callee9","_context9","_x9","fetchUserTemplatesDictionary","_ref16","_callee10","viewType","_context10","t0","account","ADMIN","RETAILER_PRIMARY","RETAILER_SECONDARY","_x10","fetchOutletTypesDictionary","_ref17","_callee11","outletTypes","_context11","_x11","fetchSftpAuthenticationTypesDictionary","_ref18","_callee12","_context12","listCached","fetchLotteryTermsDictionary","_ref19","_callee13","terms","_context13","lotteryTerms","fetchPrivilegeDisplayTypesDictionary","_ref20","_callee14","_context14","displayTypes","_x12","_jsSha","createNgFactory","FactoryClass","$inject","_len","args","_key","Function","prototype","pageHeader","menu","obj","jsonObjectParameter","filterName","decode","val","encode","stringify","equals","is","isObject","randomString","len","charSet","randomPoz","floor","random","substring","getHashes","salts","codeBytes","salt","bytes","parseInt","substr","hex","SET_ACTIVE_TAB","SET_SORTING_FUNCTION","SET_SELECTED_LANGUAGE","DOWNLOAD_POSTER_REQUEST","DOWNLOAD_POSTER_SUCCESS","DOWNLOAD_POSTER_FAILURE","FETCH_POSTER_URL_REQUEST","FETCH_POSTER_URL_SUCCESS","FETCH_POSTER_URL_FAILURE","FETCH_RETAILER_DETAILS_REQUEST","FETCH_RETAILER_DETAILS_SUCCESS","FETCH_RETAILER_DETAILS_FAILURE","setActiveTab","tab","setUrl","tabId","inventory","packs","games","history","ordersHistory","liability","inventoryHistory","details","orderHistory","getOrderDetailsFromPack","pack","orderNumber","prefixedTrackingNumber","orderIssuedDate","orderType","orderConfirmedDate","grossValue","manifestNumber","orderId","fetchOrderDetails","orderDetails","startDate","endDate","api","INSTANT_GAME_TYPE","DRAW_GAME_TYPE","VLT_GAME_TYPE","FETCH_GAME_IMAGES_REQUEST","FETCH_GAME_IMAGES_SUCCESS","FETCH_GAME_IMAGES_FAILURE","CLEAR_GAME_IMAGES","UPDATE_GAME_IMAGES","UPDATE_GAME_IMAGES_REQUEST","UPDATE_GAME_IMAGES_SUCCESS","UPDATE_GAME_IMAGES_FAILURE","fetchGameImagesRequest","fetchGameImagesSuccess","pagination","fetchGameImagesFailure","fetchGameImages","updateGameImage","gameImage","clearGameImages","updateGameImagesRequest","isSaving","updateGameImagesSuccess","game","updateGameImagesFailure","updateGameImages","gameType","gameId","image","downloadUsersWithGroups","user","users","groupMember","page-number","pageNumber","page-size","sortProperty","ascending","USER_CONTEXT","USER_APP_CONTEXT","getUsers","parameters","mobilePhone","userId","availableMembers","getAvailableAdminMembers","loadUserByParams","loadUserById","loadUserByLogin","userLogin","entryByLogin","login","self","saveUserData","update","saveUserLocale","email","emailAddress","contactPhone","securityQuestions","ownerUserId","getPasswordResetQuestions","username","forceResetAccountPassword","forcePasswordReset","create","resetAccountPassword","questionsAndAnswers","passwordReset","questions","answers","challenges","questionId","answer","fetchSelfRegistrationSettings","retailerSettings","validate","fetchTrustedDevices","auth","twoFactor","trustedDevicesList","deleteTrustedDevice","uuid","deleteDevice","remove","saveSelfRegistrationSettings","selfRegistrationEnabled","saveSubordinateData","fetchUserSecurityQuestions","createUser","retailerDisplayNumber","userClass","primaryRetailer","fetchRetailerDetails","selfRegistration","fetchRetailerDetailsForSecondary","isSecondary","secondaryValidation","fetchUsersReportingTo","reportTo","_createMessageComponent","fetchRecipients","fetchMessagesList","message","fetchUserSentMessagesList","fetchMessage","fetchUnreadMessagesCount","deleteReceivedMessages","delete","received","deleteSentMessages","markMessageAsUnread","markAsUnread","markMessageAsRead","markAsRead","fetchSentMessagesList","admin","fetchSentMessage","fetchAdministratorsSentMessagesList","sentByAll","sentMessageId","requestFilters","recipients","createMessageLimitToRetailers","createLimitToRetailers","createMessage","_x13","replyMessage","_callee15","_context15","reply","recipientCategoryCode","_x14","downloadManageInventoryReportByTabRequest","downloadManageInventoryReportByTabSuccess","downloadManageInventoryReportByTabFailure","downloadManageInventoryReportByTab","requestParams","FETCH_PRIVILEGE_TEMPLATES_REQUEST","FETCH_PRIVILEGE_TEMPLATES_SUCCESS","FETCH_PRIVILEGE_TEMPLATES_FAILURE","CREATE_PRIVILEGE_TEMPLATE_REQUEST","CREATE_PRIVILEGE_TEMPLATE_SUCCESS","CREATE_PRIVILEGE_TEMPLATE_FAILURE","UPDATE_PRIVILEGE_TEMPLATE_REQUEST","UPDATE_PRIVILEGE_TEMPLATE_SUCCESS","UPDATE_PRIVILEGE_TEMPLATE_FAILURE","DELETE_PRIVILEGE_TEMPLATE_REQUEST","DELETE_PRIVILEGE_TEMPLATE_SUCCESS","DELETE_PRIVILEGE_TEMPLATE_FAILURE","SELECT_PRIVILEGE_TEMPLATE","FETCH_ANNOUNCEMENTS_REQUEST","FETCH_ANNOUNCEMENTS_SUCCESS","FETCH_ANNOUNCEMENTS_FAILURE","TOGGLE_PIN_ANNOUNCEMENTS","DELETE_ACTIVE_ANNOUNCEMENT","DELETE_ARCHIVED_ANNOUNCEMENT","DELETE_SCHEDULED_ANNOUNCEMENT","ADD_ACTIVE_ANNOUNCEMENT","ADD_ARCHIVED_ANNOUNCEMENT","ADD_SCHEDULED_ANNOUNCEMENT","UPDATE_ANNOUNCEMENTS_REQUEST","UPDATE_ANNOUNCEMENTS_SUCCESS","UPDATE_ANNOUNCEMENTS_FAILURE","DATE_FORMAT","getFormattedLotteryDate","getTimestampDate","formattedDate","getFormattedDate","timestampInMilliseconds","isActiveAnnouncement","announcement","publishFrom","publishTo","isBetween","isArchivedAnnouncement","isAfter","isScheduledAnnouncement","isBefore","orderAnnouncements","togglePinValue","getActiveAnnouncements","activeAnnouncement","getArchivedAnnouncements","archivedAnnouncement","getScheduledAnnouncements","scheduledAnnouncement","index","pinned","togglePinAnnouncement","localeItem","deleteAnnouncement","splice","addAnnouncement","newAnnouncements","_toConsumableArray","FETCH_NET_SALES_SUMMARY_REQUEST","FETCH_NET_SALES_SUMMARY_SUCCESS","FETCH_NET_SALES_SUMMARY_FAILURE","FETCH_NET_SALES_DETAILS_REQUEST","FETCH_NET_SALES_DETAILS_SUCCESS","FETCH_NET_SALES_DETAILS_FAILURE","DOWNLOAD_NET_SALES_REPORT_REQUEST","DOWNLOAD_NET_SALES_REPORT_SUCCESS","DOWNLOAD_NET_SALES_REPORT_FAILURE","SET_DICT_BY_NAME","DICT_REPORT_CATEGORY_KEY","PACK_STATUS","getUserTemplates","capitalize","getUserClasses","userClasses","dictionaries","current","getRetailerGroupUserClasses","retailerGroupUserClasses","getJobSchedulingStatuses","loadReportNames","category","_getState4$session","reports","results","categoryList","fileTypeTranslationsDto","loadReportCategories","loadReportExtensions","loadTransformationTypes","report","transformation","types","loadIpsStatus","typeCategory","typeDesc","loadRetailerGroupsCreateChannels","navigator","typecodes","loadRetailerGroupTypes","loadRetailerGroupSubTypes","loadRetailerGroupStatuses","fetchPrivileges","dynamic","fetchPrivilegeTemplates","createPrivilegeTemplate","getTime","creationDatetime","modificationDatetime","deletePrivilegeTemplate","updatePrivilegeTemplate","transformUserData","fetchOwnerValidationMethod","ownerValidationMethod","validateOwnerData","validation","captchaToken","createAccount","primaryEntries","password","businessPhone","questionA","answerA","questionB","answerB","confirmRegistration","userData","activateAccount","activation","onItemListSelection","gameNumber","packNo","portionNumber","_ref$orderId","_ref$retailerId","_ref$retailerNumber","retailerNumber","selection","resetDetailsDialogData","FETCH_OWNER_VALIDATION_METHOD_REQUEST","FETCH_OWNER_VALIDATION_METHOD_SUCCESS","FETCH_OWNER_VALIDATION_METHOD_FAILURE","VALIDATE_OWNER_DATA_REQUEST","VALIDATE_OWNER_DATA_SUCCESS","VALIDATE_OWNER_DATA_FAILURE","CLEAR_RETAILER_DETAILS","CREATE_ACCOUNT_REQUEST","CREATE_ACCOUNT_SUCCESS","CREATE_ACCOUNT_FAILURE","FETCH_EFT_HISTORY_REQUEST","FETCH_EFT_HISTORY_SUCCESS","FETCH_EFT_HISTORY_FAILURE","FETCH_EFT_EXTENSIONS_REQUEST","FETCH_EFT_EXTENSIONS_SUCCESS","FETCH_EFT_EXTENSIONS_FAILURE","FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST","FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS","FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE","DOWNLOAD_EFT_INVOICE_REQUEST","DOWNLOAD_EFT_INVOICE_SUCCESS","DOWNLOAD_EFT_INVOICE_FAILURE","fetchLotteryContactsRequest","FETCH_LOTTERY_CONTACTS_REQUEST","fetchLotteryContactsFailure","FETCH_LOTTERY_CONTACTS_FAILURE","fetchLotteryContactsSuccess","FETCH_LOTTERY_CONTACTS_SUCCESS","discardLotteryContactsChangesRequest","fetchLotteryContacts","home","secondHandApproval","DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST","discardLotteryContactsChangesFailure","DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE","discardLotteryContactsChangesSuccess","DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS","publishLotteryContactsChangesRequest","discardLotteryContactsChanges","PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST","publishLotteryContactsChangesFailure","PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE","publishLotteryContactsChangesSuccess","PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS","fetchInquiryContactsRequest","publishLotteryContactsChanges","_getState3","contactList","lottery","FETCH_INQUIRY_CONTACTS_REQUEST","fetchInquiryContactsFailure","FETCH_INQUIRY_CONTACTS_FAILURE","fetchInquiryContactsSuccess","FETCH_INQUIRY_CONTACTS_SUCCESS","fetchInquiryContacts","updateInquiryContact","_getState4","_contact$inquiry","inquiry","itemsCopy","requests","inquiryContact","contactEmail","availableForUser","availableForAnonymous","all","categories","productTheme","categoryId","complementaryColors","setColor","getChartColors","theme","colorsArr","color","includes","root","documentElement","toHsl","hue","h","saturation","s","lightness","l","style","setProperty","setCurrentThemeSuccess","updateThemeColorSuccess","saveThemeRequest","setTheme","lotteryTheme","colors","currentTheme","restoreTheme","updateThemeColor","saveThemeSuccess","saveThemeFailure","saveTheme","ACTIVE","ARCHIVED","SCHEDULED","setSelectedLanguage","selectedLanguage","FETCH_NEW_LABEL_STATUS_REQUEST","FETCH_NEW_LABEL_STATUS_SUCCESS","FETCH_NEW_LABEL_STATUS_FAILURE","SET_NEW_LABEL_STATUS_REQUEST","SET_NEW_LABEL_STATUS_SUCCESS","SET_NEW_LABEL_STATUS_FAILURE","PREFETCH_DOCUMENT_REQUEST","PREFETCH_DOCUMENT_SUCCESS","FETCH_SFTP_LIST_REQUEST","FETCH_SFTP_LIST_SUCCESS","FETCH_SFTP_LIST_FAILURE","DELETE_SFTP_BY_ID_REQUEST","DELETE_SFTP_BY_ID_SUCCESS","DELETE_SFTP_BY_ID_FAILURE","FETCH_SFTP_BY_ID_REQUEST","FETCH_SFTP_BY_ID_SUCCESS","FETCH_SFTP_BY_ID_FAILURE","UPDATE_SFTP_BY_ID_REQUEST","UPDATE_SFTP_BY_ID_SUCCESS","UPDATE_SFTP_BY_ID_FAILURE","CREATE_SFTP_REQUEST","CREATE_SFTP_SUCCESS","CREATE_SFTP_FAILURE","FETCH_BOND_RENEWAL_REQUEST","FETCH_BOND_RENEWAL_SUCCESS","FETCH_BOND_RENEWAL_FAILURE","DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST","DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS","DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE","FETCH_SITE_OPERATIONAL_STATUS_REQUEST","FETCH_SITE_OPERATIONAL_STATUS_SUCCESS","FETCH_SITE_OPERATIONAL_STATUS_FAILURE","FETCH_SUBORDINATE_LIST_REQUEST","FETCH_SUBORDINATE_LIST_SUCCESS","FETCH_SUBORDINATE_LIST_FAILURE","SELECT_RETAILER","FETCH_TERMS_OF_USE_REQUEST","FETCH_TERMS_OF_USE_SUCCESS","FETCH_TERMS_OF_USE_FAILURE","DOWNLOAD_TERMS_OF_USE_REQUEST","DOWNLOAD_TERMS_OF_USE_SUCCESS","DOWNLOAD_TERMS_OF_USE_FAILURE","SET_TYPE","SET_SUBTYPE","CLEAR_RETAILER_DASHBOARDS","setSubType","setType","subtype","setDashboardSubtype","clearRetailerDashboards","FETCH_ICONS_REQUEST","FETCH_ICONS_SUCCESS","FETCH_ICONS_FAILURE","fetchIconsRequest","fetchIconsSuccess","versionType","fetchIconsFailure","fetchIcons","approved","jurisdiction","_state$manageIcons","manageIcons","notification","UPLOAD_ICON_REQUEST","UPLOAD_ICON_SUCCESS","UPLOAD_ICON_FAILURE","uploadIconRequest","isFileUploading","uploadIconSuccess","iconsApprovalStatus","uploadIconSuccessAsnc","uploadIconFailure","SELECT_ICON_REQUEST","uploadIcon","_state$session","canApprove","cms","widgetsManagement","approve","codes","ICON_PUBLISH_SUCCESS","ICON_UPDATE_SUCCESS","SELECT_ICON_SUCCESS","SELECT_ICON_FAILURE","selectIconRequest","startFileSelection","selectIconSuccess","icon","ICON_UPLOAD_SUCCESS","selectIconFailure","DISCARD_CHANGES_REQUEST","selectIcon","file","base64Format","source","created","en_US","thumbnail","attachments","mimeType","errors","er","DISCARD_CHANGES_SUCCESS","DISCARD_CHANGES_FAILURE","discardIconsRequest","discardIconsSuccess","ICON_DISCARD_SUCCESS","discardIconsFailure","DELETE_ICON","discardIcons","deleteIconsSuccess","ICON_DELETE_SUCCESS","deleteIconAsnc","CANCEL_CHANGES","deleteIcon","cancelIconsChanges","CLEAR_NOTIFICATIONS","clearNotifications","fileReader","FileReader","onerror","abort","FILE_ERROR","onload","resolveObj","ext","FILE_SIZE_EXCEEDED","isArray","accept","FILE_EXTENSION_ERROR","readAsDataURL","validateImageRatio","img","Image","src","height","width","FILE_RATIO_ERROR","fetchUnreadMessagesCountRequest","fetchUnreadMessagesCountFailure","fetchUnreadMessagesCountSuccess","fetchPrivilegeDisplayTypesDictionaryRequest","fetchPrivilegeDisplayTypesDictionarySuccess","fetchPrivilegeDisplayTypesDictionaryFailure","localeToUse","fetchSubordinateListRequest","fetchSubordinateListSuccess","fetchSubordinateListFailure","fetchSubordinateList","selectRetailer","_utils","fetchAnnouncementsRequest","fetchAnnouncementsSuccess","draft","fetchAnnouncementsFailure","deleteActiveAnnouncement","fetchAnnouncements","showOnlyPublishedWidgets","togglePinAnnouncements","deleteArchivedAnnouncement","deleteScheduledAnnouncement","addActiveAnnouncement","addArchivedAnnouncement","addScheduledAnnouncement","updateAnnouncementsRequest","updateAnnouncementsSuccess","updateAnnouncementsFailure","getModifiedAnnouncements","announcementsToUpdate","deletedAnnoucments","announcementToUpdate","updatedAnnouncements","updateAnnouncements","scheduled","archived","modified","applyGrid","gridId","flow","merge","meta","newGridModel","module","exports","sms-policy","first","second","privacy-policy","widgets","discard","download","carousel","login-popup","contacts","view","currentVersion","versionDetails","allVersions","termsOfUse","privacyPolicy","smsPolicy","icons","put","configurableLink","gameImages","mediaTemplate","preview","fonts","smsTypes","mobilePhoneCarrier","configuration","internal","version","security","passwordPolicy","site","pi","frontend","oauth","loginAs","loginBack","logout","remindUsername","resetPassword","changePassword","setup","confirm","linkedRetailers","altUrls","done","prospectRegistration","subscriptions","sftp","promote","entryById","activate","suspend","completeRegistration","resendActivationEmail","loadData","change","server","time","send","sendAnonymous","inquiryContacts","documents","tag","prefetch","tagsList","newLabel","emailNotifications","userCSV","userPDF","activity","activityCSV","activityPDF","securityCSV","securityPDF","unsubscribe","smsNotifications","smsNotification","faq","categoryOrdinal","entryOrdinal","visibility","weekday","jobs","multiStore","shortRetailerInfo","add","select","calculate","RETAILER_GROUP","retailerValidation","storeProfiles","retailerGroup","search","validateRetailers","availableRetailers","forIndependent","forChainHead","byUser","group","trigger","formats","reportType","restore","eft","downloadRetailerInvoice","extensions","terminal","zip","userListDownload","xls","sendMail","searchByPack","statusChange","subordinates","detailsDownload","retailers","este","status","save","layouts","gamesEnding","topVltGames","siteFinancialStatus","siteOperationalStatus","tickets","chainRanks","earnings","netEarnings","earningsHistory","bigWinnersHistory","netSalesDetails","eftHistory","netSales","cummulativeWinners","cumulativeHistory","alerts","hide","jackpotsAndDraws","instant","instantTicketSales","actualAndProjectedSettlements","mySlowMovingGames","myCurrentLiability","gamesComing","gamesLaunched","myNetSalesPerformance","salesCategories","myNetSalesTranslations","retailerDistanceCount","lastYearSales","thisYearSales","myPricePointMix","top10","topSellersByPrice","settlements","downloadReport","lvm","terminals","licenseRenewal","licenseRenewalForm","lotteryRepresentatives","bigWinners","bigWinnersScratch","bigWinnersOnline","bondRenewal","lvmSales","lvmSalesHistory","gameLogo","accounts","lotteryRep","passwordResetQuestions","elearningLink","subordinateData","captcha","siteKey","poster","chat","appVersion","backend","anonymous","_grid","_reportSubscriptionsApi","SET_REPORTS","SET_EMAILS","SET_RECIPIENTS_EMAIL","SET_SFTP","SET_SUBSCRIPTIONS_REPORTS","SET_SUBSCRIPTIONS_EMAIL","SET_SUBSCRIPTIONS_SFTP","SET_IS_LOADING_REPORTS","SET_IS_LOADING_EMAIL","SET_IS_LOADING_SFTP","REPORT_SUBSCRIPTIONS_CONTEXT","createObjectByFileTypeId","SUBSCRIPTION_TYPE_RETAILER","SUBSCRIPTION_TYPE_GROUP","array","transformations","newTransformations","transform","transformType","fileTypeId","applySubscriptionData","gridData","externalEmails","loadReportList","retailerIdParam","retailerTypeParam","_getState$session$ret","retailerIdSession","retailerTypeSession","newData","loadEmailList","loadSftpList","_getState3$session$re","saveReportList","subscriptionsReports","reportSubscriptionsPage","saveEmailList","_getState5","_getState5$reportSubs","subscriptionsEmail","saveSftpList","_getState6","subscriptionsSftp","applyRecipient","recipient","uniq","removeRecipient","oldRecipient","unsubscribeUser","FETCH_RETAILER_REPORTS_REQUEST","FETCH_RETAILER_REPORTS_SUCCESS","FETCH_RETAILER_REPORTS_FAILURE","CLEAR_RETAILER_REPORTS","DOWNLOAD_RETAILER_REPORT_REQUEST","DOWNLOAD_RETAILER_REPORT_SUCCESS","DOWNLOAD_RETAILER_REPORT_FAILURE","FETCH_USER_ACTIVITY_REPORTS_REQUEST","FETCH_USER_ACTIVITY_REPORTS_SUCCESS","FETCH_USER_ACTIVITY_REPORTS_FAILURE","DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST","DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS","DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE","FETCH_BIG_WINNERS_HISTORY_REQUEST","FETCH_BIG_WINNERS_HISTORY_SUCCESS","FETCH_BIG_WINNERS_HISTORY_FAILURE","DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST","DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS","DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE","FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST","FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS","FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE","DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST","DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS","DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE","FETCH_LINKED_RETAILERS_REQUEST","FETCH_LINKED_RETAILERS_SUCCESS","FETCH_LINKED_RETAILERS_FAILURE","UPDATE_LINKED_RETAILERS_REQUEST","UPDATE_LINKED_RETAILERS_SUCCESS","UPDATE_LINKED_RETAILERS_FAILURE","DELETE_LINKED_RETAILERS_REQUEST","DELETE_LINKED_RETAILERS_SUCCESS","DELETE_LINKED_RETAILERS_FAILURE","FETCH_PRIVACY_POLICY_REQUEST","FETCH_PRIVACY_POLICY_SUCCESS","FETCH_PRIVACY_POLICY_FAILURE","FETCH_CONFIGURABLE_LINK_REQUEST","FETCH_CONFIGURABLE_LINK_SUCCESS","FETCH_CONFIGURABLE_LINK_FAILURE","UPDATE_CONFIGURABLE_LINK_REQUEST","UPDATE_CONFIGURABLE_LINK_SUCCESS","UPDATE_CONFIGURABLE_LINK_FAILURE","fetchConfigurableLinkRequest","fetchConfigurableLinkSuccess","fetchConfigurableLinkFailure","updateConfigurableLinkRequest","fetchConfigurableLink","updateConfigurableLinkSuccess","updateConfigurableLinkFailure","updateConfigurableLink","fetchNewLabelStatus","setNewLabelStatus","prefetchDocument","getUrl","fetchPopup","getDateTime","hour","minute","fetchPopupOnLogin","properties","_entries","popup","popupFields","dateFrom","dateTo","createdBy","timeFrom","timeTo","publishPopup","discardPopup","_selectedMessages","fetchMessagesListRequest","fetchMessagesListFailure","fetchMessagesListSuccess","getShortenMessage","_ref$setPagination","setPagination","getStore","store","hasAllMessagesSelected","deleteMessagesRequest","deleteMessagesFailure","deleteMessagesSuccess","deleteMessageRequest","deleteMessages","_getStore","deleteMessageFailure","deleteMessageSuccess","markMessageAsUnreadRequest","deleteMessage","markMessageAsUnreadFailure","markMessageAsUnreadSuccess","markMessageAsReadRequest","_getStore2","reguests","markMessageAsReadFailure","markMessageAsReadSuccess","_getStore3","resetInbox","clearSelectedMessagesList","setSelectAllPointerStatus","addSelectedMessage","removeSelectedMessage","onMessageSelection","isAlreadySelected","toggleSelectAllMessagesPointer","messagesList","fetchMessageRequest","fetchMessageFailure","fetchMessageSuccess","fetchSentMessageDetails","clearSelectedMessage","INBOX","SENT","transformPrivileges","createTree","node","paths","pathsString","join","tempPathsArray","foundPrivilege","tempPathsString","description","displayPath","checked","validateOwnerDataRequest","validateOwnerDataSuccess","ownerData","validateOwnerDataFailure","registration","_registration$retaile","passcode","_form$tellerId","tellerId","_form$emailAddress","hashedPins","component","fetchEarnings","fetchNetEarnings","WTD","MTD","QTD","YTD","PRICES_PAID_WTD_ID","PRICES_PAID_MTD_ID","PRICES_PAID_YTD_ID","BIG_WINNERS_ONLINE_ID","BIG_WINNERS_SCRATCH_ID","BIG_WINNERS_ID","JACKPOT_ID","downloadHistoryReport","getAlertDetails","totalCount","_get__$$ngRedux$getSt","phoneNumber","defaultContactPhone","issued","ISSUED","confirmed","CONFIRMED","lowerCaseConfirmed","PACK","lowerCasePack","lowerCasePacks","alertsCollection","ArwNewGameNotActivatedAlert","subtitle","DEFAULT","modalTitle","modalSubtitle","ArwNewGameNotOnDisplayAlert","ArwNewGameNeedToBeReorderedAlert","ArwUnconfirmedOrdersAlert","ArwExpiringGamesAlert","ArwLVMBinNotSellingAlert","ArwKeyGamesNeedToBeReorderedAlert","ArwKeyGamesOnDisplaySellingOutOrSoldOutAlert","ArwMandatoryReturnAlert","ArwLicenseRenewalAlert","ArwBondRenewalAlert","ArwAutoActivatedConfirmedAlert","STORE_PROFILE","numberOfDays","emptyAlert","gridHeadersData","text","classes","alertDetails","gridHeaders","DRAFT","widgetsFields2Object","getAnnouncementsUrl","transformAnnouncements","discardChanges","downloadAttachment","fetchDashboardRequest","FETCH_DASHBOARD_REQUEST","fetchDashboardSuccess","toSave","FETCH_DASHBOARD_SUCCESS","fetchDashboardFailure","FETCH_DASHBOARD_FAILURE","setDashboardLayouts","SET_DASHBOARD_LAYOUTS","setDashboardEditMode","fetchDashboard","dashboardSubtype","dashboardData","subtypes","layoutsConfig","restoreDefaults","fetchDefaultDashboard","isEditMode","SET_DASHBOARD_EDIT_MODE","setDashboardCopy","copy","SET_DASHBOARD_COPY","setDashboardCurrent","SET_DASHBOARD_CURRENT","saveDashboardRequest","setEditMode","isSave","_getState3$dashboard","SAVE_DASHBOARD_REQUEST","saveDashboardSuccess","SAVE_DASHBOARD_SUCCESS","saveDashboardFailure","SAVE_DASHBOARD_FAILURE","saveDashboard","dashboardToSave","foundSubtypeIndex","updateDashboard","getVisibleWidgets","visibleWidgets","rows","row","columns","widget","getAvailableWidgets","availableWidgets","getAuthorizedWidgets","setDashboardWidgetsList","SET_DASHBOARD_WIDGETS_LIST","getWidgetsList","currentDashboard","newDashboard","addWidget","unshift","isEditable","isRemovable","newWidgets","widgetItem","deleteWidget","_session","TEMPORARY_SUFFIX","STATUS_CREATED","nonLoggedRole","devMode","mock","_deps$config","baseUrl","siteId","defaultLocale","defaultSession","updateSession","_params$user","_params$config","impersonatingDisplayName","lotteryRepId","_user$forcePasswordCh","forcePasswordChange","_user$locale","independentOwnerId","head","temporaryUser","ownerRetailerGroups","isAdmin","isRetailerGroup","multistore","retailersIds","r","setRetailer","checkFormValidation","$setSubmitted","$valid","StripHtml","input","normalizedText","fetchRetailerDetailsRequest","fetchRetailerDetailsSuccess","fetchRetailerDetailsFailure","PRIVILGES_CONTEXT","initializeModel","privilegesArray","hiddenPrivileges","hiddenPrivilegesArray","privilegeTemplates","lotteryView","presets","currentPreset","currentPresetOriginalPrivileges","isCurrentPresetDirty","languageValidation","retailerView","selectedRole","currentRole","PrivilegeTemplatesList","isCurrentRoleDirty","rolesDialog","retailerViewDialog","lotteryViewDialog","loadPrivileges","loadUserSessionPrivileges","privs","defaultLoggedInPrivileges","loadPreset","presetId","templateId","resetCurrentPreset","editAccount","currentUserPreset","updateWidget","cancelWidgetsChanges","copyItems","fetchWidgetsRequest","fetchWidgetsSuccess","fetchWidgetsFailure","fetchWidgets","entriesTransformation","getWidgetsUrl","publishWidgets","discardWidgetsChanges","_index","_actionDispatcher","_session3","_contact3","_fetchNewLabelStatus","_unreadCount","_lotteryTermsDictionary","_theme","_retailerDashboards","_utils3","AppController","addEventListener","unhandledRejection","rejectionHandler","removeEventListener","e","preventDefault","AppFactory","$timeout","RestWrapperService","ErrorService","ErrorNotificationService","AlertService","tmhDynamicLocale","restApi","init","initNgServices","checkAndSetMaintenance","uiHelpers","showDialog","showSimpleDialog","showComplexDialog","initialize","resetReauthQueue","actions","bindActions","moduleName","functionName","moduleLogic","_this2","run","_this3","loadFeConfig","newConfig","statusChangeReasons","ssnLength","ssnRegex","match","initModel","busy","initActions","setDeps","loadLotteryLearningLink","initData","err","Error","AppComponent","controller","controllerAs","bindings","PASSWORD_RESET_STATE","factory","$rootScope","RwAnalyticsService","uiMaskConfig","$uibModalStack","$location","$on","event","toParams","fromParams","redirectTo","withoutPerms","redirect","element","removeClass","modal","getTop","dismiss","sendPageview","previous","$$search","clearOnBlur","missing","debug","$mdAriaProvider","$compileProvider","$urlRouterProvider","$locationProvider","$stateProvider","uiMaskConfigProvider","$httpProvider","$ngReduxProvider","$ariaProvider","tmhDynamicLocaleProvider","disableWarnings","debugInfoEnabled","location","hostname","aHrefSanitizationWhitelist","otherwise","html5Mode","hashPrefix","allowInvalidValue","ariaInvalid","localeLocationPattern","middleware","enhancers","__REDUX_DEVTOOLS_EXTENSION__","createStoreWith","abstract","appApi","appFactory","isStoreProfileSaved","retailerIdFromSession","isRetailerDashboards","retailerNoFromParams","retailerNo","retailerNoToParams","impersonatingBar","sideMenu","loginForm","parent","hideMenu","ready","bootstrap","strictDi","appConfig","DOCUMENTS_CONTEXT","docDateFormat","SET_CATEGORIES","SET_FILES","SET_TAGS","SET_IS_LOADING","DEFAULT_MIME_TYPE","prepareDocumentsForUI","getDocuments","documentList","documentTypeId","publishingStartDate","documentNameSplitted","gridDownloadData","fileName","guiName","customFileName","mapFileTypeToFileExtension","tags","dateTimestamp","creationDate","dateCreated","publishingEndDate","publishingIsActive","transformDocumentForUpdate","saveDocument","thumbnailSource","thumbnailToSend","thumbnailData","transformDocumentForCreation","uploadDocument","documentToTransform","formData","fileData","checkPublishingIsActive","getCategories","removeDocument","downloadDocument","createCategory","updateCategory","removeCategory","getTags","FETCH_EARNINGS_HISTORY_REQUEST","FETCH_EARNINGS_HISTORY_SUCCESS","FETCH_EARNINGS_HISTORY_FAILURE","DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST","DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS","DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE","FETCH_LICENSE_RENEWAL_REQUEST","FETCH_LICENSE_RENEWAL_SUCCESS","FETCH_LICENSE_RENEWAL_FAILURE","FETCH_LVM_SALES_REQUEST","FETCH_LVM_SALES_SUCCESS","FETCH_LVM_SALES_FAILURE","FETCH_LVM_SALES_HISTORY_REQUEST","FETCH_LVM_SALES_HISTORY_SUCCESS","FETCH_LVM_SALES_HISTORY_FAILURE","DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST","DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS","DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE","FETCH_SITE_FINANCIAL_STATUS_REQUEST","FETCH_SITE_FINANCIAL_STATUS_SUCCESS","FETCH_SITE_FINANCIAL_STATUS_FAILURE","FETCH_TRUSTED_DEVICES_REQUEST","FETCH_TRUSTED_DEVICES_SUCCESS","FETCH_TRUSTED_DEVICES_FAILURE","DELETE_TRUSTED_DEVICE_REQUEST","DELETE_TRUSTED_DEVICE_SUCCESS","DELETE_TRUSTED_DEVICE_FAILURE","FETCH_USERS_REQUEST","FETCH_USERS_SUCCESS","FETCH_USERS_FAILURE","DOWNLOAD_USERS_REPORT_REQUEST","DOWNLOAD_USERS_REPORT_SUCCESS","DOWNLOAD_USERS_REPORT_FAILURE","FETCH_BE_APP_VERSION_REQUEST","FETCH_BE_APP_VERSION_SUCCESS","FETCH_BE_APP_VERSION_FAILURE","createPaginationObject","calculatePageNumber","NAMESPACE","RECEIVE_TERMS","RECEIVE_TERM_BY_ID","REQUEST_TERM_BY_ID","REQUEST_TERMS_HISTORY","requestTerms","requestTermById","receiveTerms","receiveTermById","selectedTerm","fetchTerms","getAllTermsURL","fetchTermByID","getTermByIdURL","DOWNLOAD_REPORTS_PACK_REQUEST","DOWNLOAD_REPORTS_PACK_SUCCESS","DOWNLOAD_REPORTS_PACK_FAILURE","canLoginAs","isAccountActive","auth.loginAs","CREATED_STATUS","ACTIVE_STATUS","STATUS_SUSPENDED_REASONS","checkIfNotSuspended","statusReason","canUpdateUserStatus","shouldProvideRetailerId","isModelUserPrimary","checkIfSelfRegistered","selfRegistered","checkIfNotActive","checkIfActive","checkIfCreated","checkIfStatus","canShowRetailerFields","canUpdatePrivileges","user.shouldProvideRetailerId","user.canResendActivationEmail","user.canCompleteRegistration","user.canChangePrimaryUser","user.authenticateUser","user.canShowRetailerFields","user.accountInactive","user.isUserNotSuspended","user.canUpdateUserStatus","user.canUpdatePrivileges","notifications","PERCENT_MULTIPLIER","FETCH_MEDIA_TEMPLATE_REQUEST","FETCH_MEDIA_TEMPLATE_SUCCESS","FETCH_MEDIA_TEMPLATE_FAILURE","FETCH_FONTS_REQUEST","FETCH_FONTS_SUCCESS","FETCH_FONTS_FAILURE","UPDATE_MEDIA_TEMPLATE_REQUEST","UPDATE_MEDIA_TEMPLATE_SUCCESS","UPDATE_MEDIA_TEMPLATE_FAILURE","PREVIEW_MEDIA_TEMPLATE_REQUEST","PREVIEW_MEDIA_TEMPLATE_SUCCESS","PREVIEW_MEDIA_TEMPLATE_FAILURE","fetchMediaTemplateRequest","fetchMediaTemplateSuccess","fetchMediaTemplateFailure","fetchFontsRequest","fetchMediaTemplate","posterName","fetchFontsSuccess","fetchFontsFailure","transformEntriesForUI","fetchFonts","transformEntryForUI","scale","updateMediaTemplateRequest","updateMediaTemplateSuccess","updateMediaTemplateFailure","previewMediaTemplateRequest","updateMediaTemplate","isPreviewing","previewMediaTemplateSuccess","previewMediaTemplateFailure","transformEntriesForSave","previewMediaTemplate","posterConfig","posterParams","previewData","transformEntryForSave","imageFile","imageUrl","fetchSecurityQuestionsByUserName","newPassword","refreshToken","requestBody","fetchTwoFactorSetup","confirmTwoFactorCode","fetchNewLabelStatusRequest","fetchNewLabelStatusSuccess","fetchNewLabelStatusFailure","saveContact","groups","newContact","exists","categoryChanged","removeContact","removedContact","removedIndex","removedCategory","saveCategory","newCategory","oldCategoryName","editable","mapStateToThis","ui","EditCategoryController","_possibleConstructorReturn","__proto__","getPrototypeOf","connect","language","verifyOtherLanguages","alertWarning","otherLanguageError","phoneExtRegex","phoneMask","phoneLength","EditContactController","oldCategory","setDefaultTemporaryPhone","setDefaultTemporaryEmail","temporaryPhone","phone","temporaryPhoneAddClicked","temporaryEmail","temporaryEmailAddClicked","temporaryPhoneForm","$error","_this4","temporaryEmailForm","_this5","cleanContactAndEmail","_this6","_this7","LOTTERY_CONTACT_CONTEXT","INQUIRY_CONTACT_CONTEXT","DEFAULT_CONTACT","contactFields2Object","contactFields2Array","extractDefaultContactPhone","formatter","phoneMaskExt","getLotteryContactsUrl","sendContact","contactUsModel","isLoggedIn","_url","_queryParams","LOTTERY_CONTACT_INFO","CONTACT_THE_LOTTERY","UNLIMITED","EmailNotificationsTemplateUpdateController","formModel","templatesKey","onLanguageSelect","validationRules","emailNotificationTemplate","templateName","fetchTemplate","clone","notificationTemplates","initializeForm","validateForm","updateTemplate","alertSuccess","activeTabId","ckeditor","extraPlugins","emailVariables","wordcount","showParagraphs","showWordCount","showCharCount","countSpacesAsChars","countHTML","maxWordCount","maxCharCount","body","EmailNotificationsTemplateUpdateComponent","appCtrl","TabContentController","TabContentComponent","TabHeaderComponent","isActive","onSelect","EditController","smsTemplate","multilangLocale","smsType","smsTypeId","onUpdate","smsEnabled","EditComponent","availableLanguages","FaqCategoryController","FaqEntryController","saveEntry","messageMaxPreviewTextLength","messageText","_dirtyForms","_app","_contact","DIRTY_FORM","SELECTED_RETAILERS","UNTRACKED","SELECTED_USERS","recipientCategories","ckeditorConfig","recipientCategory","categoryCode","mapDispatchToThis","CreateMessageController","messageDefinitionService","canCreateMessage","canCreateMessageLimitToRetailers","newMessageModel","replyEmailAddress","retailerIds","allowReply","fetchContacts","setReplyEmailList","contactsEmailList","getEmailListFromContacts","replyEmailList","from","Set","checkDuplicateRetailerId","$invalid","$setPristine","$setUntouched","isDuplicate","$setValidity","showEmailValidationErrors","checkDuplicateEmail","info","_message","subject","sendMessagePromise","isContentEmpty","showEmptyRecipientsInfo","recipientLogins","recipientIds","CreateMessageComponent","fetchSentMessagesListRequest","fetchSentMessagesListFailure","fetchSentMessagesListSuccess","deleteSentMessagesRequest","deleteSentMessagesFailure","deleteSentMessagesSuccess","deleteSentMessageRequest","deleteSentMessageFailure","deleteSentMessageSuccess","deleteSentMessage","fetchPrivilegeTemplatesRequest","fetchPrivilegeTemplatesSuccess","fetchPrivilegeTemplatesFailure","INDEPENDENT_TYPE","CHAIN_HEAD_TYPE","CHAIN_SUBORDINATE_TYPE","SUPER_CHAIN_TYPE","canSelfRegister","checkPrimaryUser","toLocaleLowerCase","hasPrimaryUser","canSelfRegisterIndependent","canSelfRegisterSuperChain","canSelfRegisterChainHead","canSelfRegisterChainSubordinate","clearRetailerDetails","fetchOwnerValidationMethodRequest","fetchOwnerValidationMethodSuccess","fetchOwnerValidationMethodFailure","fetchSecurityQuestions","fetchSftpListRequest","fetchSftpListSuccess","sftpList","fetchSftpListFailure","fetchSftpList","deleteSftpByIdRequest","deleteSftpByIdSuccess","deleteSftpByIdFailure","fetchSftpByIdRequest","deleteSftpById","fetchSftpByIdSuccess","fetchSftpByIdFailure","updateSftpByIdRequest","fetchSftpById","updateSftpByIdSuccess","updateSftpByIdFailure","createSftpRequest","updateSftpById","createSftpSuccess","createSftpFailure","createSftp","requestPayload","configId","fetchSftpAuthenticationTypesDictionaryRequest","fetchSftpAuthenticationTypesDictionarySuccess","fetchSftpAuthenticationTypesDictionaryFailure","fetchUserClassDictionaryRequest","fetchUserClassDictionarySuccess","fetchUserClassDictionaryFailure","fetchOrderStatusesDictionaryRequest","fetchOrderStatusesDictionarySuccess","fetchOrderStatusesDictionaryFailure","fetchPackStatusesDictionaryRequest","fetchPackStatusesDictionarySuccess","fetchPackStatusesDictionaryFailure","fetchPricePointsDictionaryRequest","fetchPricePointsDictionarySuccess","fetchPricePointsDictionaryFailure","fetchInstantGamesTransitionsHistoryRequest","fetchInstantGamesTransitionsHistorySuccess","fetchInstantGamesTransitionsHistoryFailure","fetchInstantGamesTransitionsHistory","fetchOrderHistoryListRequest","fetchOrderHistoryListSuccess","fetchOrderHistoryListFailure","fetchOrderHistoryList","fetchSiteFinancialStatusRequest","fetchSiteFinancialStatusSuccess","fetchSiteFinancialStatusFailure","fetchSiteFinancialStatus","transformData","displayNumber","businessName","storeNumber","street1","city","zipCode","corporateAccountRegionCode","fetchInvoiceDatesDictionaryRequest","fetchInvoiceDatesDictionarySuccess","fetchInvoiceDatesDictionaryFailure","fetchEftAmount","fetchNetSalesSummaryRequest","fetchNetSalesSummarySuccess","netSalesSummary","fetchNetSalesSummaryFailure","fetchNetSalesSummary","netSalesSummaryDataTransformation","fetchNetSalesDetails","downloadNetSalesHistoryReport","periodType","netSalesDetailsDataTransformation","instantGames","drawGames","productType","isInstantGame","gameName","isDrawGame","instantGamesArr","drawGamesArr","getSummaryDataDescription","_gametype","getBigWinnersUrl","fetchBigWinners","fetchBigWinnersHistory","downloadBigWinnersHistoryReport","fetchCumulativeWinners","fetchCumulativeWinnersHistory","downloadCumulativeWinnersHistoryReport","fetchLicenseRenewal","recalculated","percentExpirationDays","expirationDays","fetchLicenseRenewalFormLink","fetchLvmSalesHistoryRequest","fetchLvmSalesHistorySuccess","fetchLvmSalesHistoryFailure","groupByGames","getGameItem","totalPropertyName","netSalesDelta","displayOrder","pushGame","currentTerminal","lastTerminal","terminalKey","isTheSameTerminal","isExpanded","fetchLvmSalesRequest","fetchLvmSalesHistory","groupedData","fetchLvmSalesSuccess","total","fetchLvmSalesFailure","downloadLvmSalesHistoryReportRequest","fetchLvmSales","downloadLvmSalesHistoryReportSuccess","downloadLvmSalesHistoryReportFailure","downloadLvmSalesHistoryReport","fetchAlerts","fetchAlertDetails","alertId","setRead","dismissAlert","downloadAlertReport","_userGroupMembershipsController","fetchUsersRelatedToRetailer","currentRetailer","fetchAllUsers","bulkUpdate","_retailerGroupsExistingUserFieldController","fetchLinkedRetailersRequest","fetchLinkedRetailersSuccess","fetchLinkedRetailersFailure","fetchLinkedRetailers","updateLinkedRetailersRequest","updateLinkedRetailersSuccess","updateLinkedRetailersFailure","deleteLinkedRetailersRequest","updateLinkedRetailers","deleteLinkedRetailersSuccess","deleteLinkedRetailersFailure","deleteLinkedRetailers","_tableSorting","SORT_DIRECTION","asc","desc","sortingFunction","setSortingFunction","TableController","defaultSortColumn","TableComponent","hasData","noDataText","transclude","changeLocation","_args","credentials","restUrl","acceptTerms","_args$","registrationForm","_args$2","_tokens2","jwtToken","resourceOwnerCredentials","clientId","FORGOT_PASSOWRD_CONTEXT","FORGOT_USERNAME_CONTEXT","forgotPassword","getServerTime","_len2","_key2","_args$3","_len3","_key3","removeTokens","registrationConfirm","clear","reload","answerObj","loginByRest","userModel","newUserModel","userClassLabel","userAccessLabel","usrAccStatusesDisplay","availableStatus","hasMultipleStores","primaryRetailerId","createdLabel","adminCreated","_dictionaries","_privilegeDisplayTypesDictionary","DEFAULT_SORT_COLUMN","NA_VALUE","STATUS_ACTIVE","STATUS_INACTIVE","RETAILER_ROLES","APP_CONTEXT","_get__$applyGrid","grid","myAccount","editAccountCopy","changePrimaryUser","registerRestSrvContext","loadDictionaries","userStatuses","usrAccStatuses","retailerStatuses","usrRetailerStatuses","generic_bool","models","userList","newResult","urlParameters","foundedTemplate","employeeTemplate","loadRoles","loadTemplates","loadRetailerStatuses","retailerLocationStatuses","owner","promoteToPrimary","promotedId","downgradedId","loadUser","loadAssignedUser","assignedUser","decorateUserPrivileges","userPresetPrivileges","userPrivilege","priv","p","loadUserRetailer","statusCode","statusLabel","loadUserPresetName","loadActivateReasons","activateReasons","loadSuspendReasons","suspendReasons","extractPersonalDataFromUser","roleId","updatePersonalData","updateSubordinateUser","extractSuspendDataFromUser","reasonKey","otherReasonText","updateUserPrivileges","privilegeIds","privilegeName","doAlertSuccess","canResendActivationEmail","deleteUser","authenticateUser","getRetailerDetails","getRetailerDetailsForSecondary","loadUserReportTo","fetchBannersRequest","fetchBannersSuccess","fetchBannersFailure","fetchBanners","banners","reqData","banner","discardBanners","publishBanners","interval","getTermsOfUseUrl","getPrivacyPolicyeUrl","transformAttachments","fetchTermsOfUse","fetchPrivacyPolicy","savePrivacyPolicy","saveTermsOfUse","saveTerms","termsType","downloadTerms","fetchTermsOfUseRequest","fetchTermsOfUseFailure","fetchTermsOfUseSuccess","fetchPrivacyPolicyRequest","fetchPrivacyPolicyFailure","fetchPrivacyPolicySuccess","clearCmsTerms","_manageIcons","apiWidgets","_widgets2","SECOND_HAND_PERMISSION","ICONS_MANAGEMENT_PERMISSION","urlPattern","urlPatternError","maxWidgetsNumber","dirtyForm","WidgetsManagementController","$sce","DirtyForm","activeTabIdx","secondHandApprovalActive","iconsManagement","asSortableOptions","orderChanged","skipReloadData","initWidgets","setWidgetEntries","localeKey","dirty","getSuccessText","WidgetsManagementComponent","1","es_US","cs_CZ","2","iconClass","e2eId","4","5","6","7","8","9","3","RETAILER_PRIMARY_CHAIN_HEAD","10","11","12","13","RETAILER_PRIMARY_INDEPENDENT","RETAILER_PRIMARY_CHAIN_SUBORDINATE","RETAILER_SECONDARY_INDEPENDENT","RETAILER_SECONDARY_CHAIN_SUBORDINATE","RETAILER_SECONDARY_CHAIN_HEAD","RETAILER_PRIMARY_SUPER_CHAIN","RETAILER_SECONDARY_SUPER_CHAIN","RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN","RETAILER_SECONDARY_CHAIN_HEAD_SUPER_CHAIN","PROSPECT","RETAILER_PRIMARYTemporary","RETAILER_SECONDARYTemporary","RETAILER_GROUPTemporary","access","userRole4SmsReport","employeeRole","CLERK","MANAGER","LOTTERY_STAFF","userStatusReasons","user_status_reasons_active","user_status_reasons_suspended","default","target","cms-bannersManagement","cms-widgetsManagement","cms-termsOfUseManagement","cms-loginPopupManagement","cms-manageConfigurableLink","igtLogoPrefix","fileSizeLimit","analytics","containers","main","trackers","trackExceptions","partnerId","defaultDashboard","refreshMenuStates","dateFormatShort","dateFormat","dateFormatFull","dateFormatWithTime","userType","activityType","securityType","jobSchedulingType","jobHistoryType","accountsAdminType","accountsSimpleType","copyrightYear","carriers","lowCost","standard","naValue","postLoginDictionaries","previewTermsOfUse","getContent","maxBannersNumber","widgetTitleMaxLength","widgetSubtitleMaxLength","homepageComplaint","filePath","homepageLogos","imagePath","redirectUrl","enabled","maxFirstNameLength","maxLastNameLength","maxEmailLength","googleMapsUrl","keywordMaxLength","toolbarGroups","privilegesCustomization","tableConfig","subordinatesList","inventoryHistoryChain","inventoryHistoryIndependent","orderHistoryChain","orderHistoryIndependent","summary","invoiceDays","widgetConfig","widgetsDataJackpotsAndDraws","colorScale","6-6","4-8","4-4-4","12/4-4-4","4-4-4/12/4-8","12/6-6","12/6-6/12","8-4/4-4-4","jackpotsAndDrawsEstimatedCashValueLabel","jackpotsAndDrawsEstimatedCashValueVisible","validatedPackPercent","instantWidgetsValidationThreshold","instantWidgetsStaleGames","instantWidgets","daysToLaunch","specifiedDate","daysAfterLaunch","newGameDays","retailersInZipCodeThreshold","titleMaxLength","shareTemplates","CUMMULATIVE_WINNERS","BIG_WINNERS","draw","JACKPOTS","bigWinnersOnlinePosterDateText","bigWinnersInstantPosterDateText","allowedContent","entities","uiColor","autoGrow_minHeight","autoGrow_maxHeight","autoGrow_onStartup","autoGrow_bottomSpace","removeButtons","image_previewText","passwordErrorText","d3","_redux","emailNotificationTemplates","retailerReports","adminReports","manageInventory","cumulativeWinners","trustedDevices","backendVersion","retailerDetails","subordinateList","utils","termsPreview","downloadReportPage","loginPopup","manageConfigurableLink","mediaTemplates","termsManagement","initialState","menuData","gameImagesEditable","sort","LABELS","MANAGE_USERS","SITE_ACTIVITY_LOG","REPORTS","RETAILER_DASHBOARDS","MANAGE_CONTENT","MANAGE_ROLES","HOME_PAGE_BANNERS","HOME_PAGE_WIDGETS","LEGAL_POLICIES","LOGIN_NOTIFICATION","LOTTERY_CONTACTS","INQUIRY_CONTACTS","DOCUMENTS_LIBRARY","NOTIFICATION_TEMPLATES","MANAGE_FAQ","MANAGE_CONFIGURABLE_LINK","RETAILER_ROLES_SECONDARY","RETAILER_ROLES_PRIMARY","SFTP_CONFIGURATION","REPORT_FORMATS","LOTTERY_ANNOUNCEMENTS","SUMMARY_DASHBOARD","INSTANTS_DASHBOARD","INSTANT","STORE_PROFILES","TRAINING","BRAND_GUIDE","COLOR_PALETTE","GAME_IMAGES","MEDIA_TEMPLATES","0","4.0","4.1","4.2","4.3","4.4","4.5","4.6","4.7","4.8","4.9","4.10","4.11","4.12","4.13","4.14","5.0","5.1","5.2","_loadingStatus","lotteryLoadingStatus","inquiryLoadingStatus","_documents","files","unreadCount","inboxLoadingStatus","sentLoadingStatus","recipientsLoadingStatus","messageDetailsLoadingStatus","selectedMessage","changeMessageReadStatus","isRead","unreadMessageCount","isReadStatus","ids","isPrivilegeTemplatesListLoading","entitiesAfterCreate","entitiesAfterDelete","_reportSubscriptionsPage","itemsReports","isLoadingReports","metaReports","itemsEmail","isLoadingEmail","metaEmail","itemsSftp","isLoadingSftp","metaSftp","newState","createArrayFromSubscriptions","subscription","getEmailListForRetailer","getReportListForRetailer","saveReportListForRetailer","saveEmailListForRetailer","getSftpListForRetailer","getSftpListForGroup","groupId","saveSftpListForRetailer","saveSftpListForGroup","selectedEntry","instantGamesTransitionsHistory","userSelection","packDetails","liabilities","packGrossValue","packDetailsLoadingStatus","orderDetailsLoadingStatus","orderHistoryLoadingStatus","packsGrossValue","stores","storesCount","storeCount","devices","device","hasError","selectedRetailer","_createNamedReducer","activeTab","detailsDialogActiveTab","endingGamesActiveTab","sosPagination","_gameImages","getGameType","_pagination","createNamedReducer","reducerFunction","reducerName","isInitializationCall","_termsPreview","reverse","canEditDocuments","userRole","canShowHeader","permissions","documents.editDocuments","documents.showHeader","bannerArr","userTemplates","reportName","reportNames","reportCategories","transformationTypes","reportExtensions","tiers","sftpAuthenticationTypes","activityEvents","privilegeDisplayTypes","newImages","newImage","imageURL","popups","popupArr","newEntry","entriesDeleted","responseType","toastr","_user","ResetAccountPasswordController","cancelForm","evalResetData","ResetAccountPasswordComponent","ResetPasswordButtonController","canUseResetForm","onShowResetPasswordConfirm","forceSubmitForm","ResetPasswordButtonComponent","ForgotPasswdController","securityAnswers","passwordResetForm","securityAnswer","attemptsLeft","securityQuestion","ATTEMPTS_LEFT","ForgotPasswordComponent","_selectors","SetupTwoFactorDialogController","secret","toDataURL","generateURI","imageQR","encodeURIComponent","issuer","remember","close","$value","showErrorCode","SetupTwoFactorDialogComponent","ConfirmTwoFactorDialogController","errorCode","ConfirmTwoFactorDialogComponent","errorCodes","-1","PASSWORD_ALREADY_USED","ACCOUNT_NOT_FOUND","INVALID_USER_STATUS","USER_NOT_FOUND","BAD_CREDENTIALS","USER_ALREADY_ACTIVATED","2FA_NO_DEVICES","backdrop","2FA_NO_TRUSTED","ACCOUNT_SUSPENDED_MAX_LOGIN_FAILED","ACCOUNT_SUSPENDED","ACCOUNT_LOCKED","USER_NOT_REGISTERED","MAX_CHALLENGE_ANSWER_EXCEEDED","WRONG_CHALLENGE_ANSWER","NON_UNIQUE_USER_FOUND","BAD_CREDENTIALS_LAST_TRY","USER_ACCESS_NOT_ALLOWED","NOT_ASSIGNED_LOTTERY_REPRESENTATIVE","USER_DID_NOT_ACCEPT_TERMS_OF_USE","RETAILER_ACCESS_NOT_ALLOWED","ACCOUNT_NOT_ACTIVE","CAPTCHA_NOT_FOUND","forgotUsername","2FA_CODE_BLOCKED","AccountBlockedDialogController","ForgotUsernameController","initializeConfiguration","ForgotUsernameComponent","ChangePasswordController","newPasswd","ChangePasswordComponent","LoginFormController","$localStorage","signUp","sendLoginEvent","handleDefault","isPasswordExpired","showPopupInfo","showNewLabel","hashMessage","hashCode","LoginFormComponent","LoginFormMobileComponent","angular","handleUSER_DID_NOT_ACCEPT_TERMS_OF_USE","loginHandler","handle2FA_NO_DEVICES","handle2FA_NO_TRUSTED","ContactListController","contactDndTree","sourceNodeScope","destNodesScope","mapCoordinates","bindToController","updatePhone","addressLine1","addressLine2","addressLine3","address","coords","ContactListComponent","canEdit","InquiryContactsListController","getHeaders","defaultParams","_defaultParams","setEntries","ensureAvailabilityIsSameForAllLanguages","inquiryContactData","applyAvailabilityToOtherLanguages","itemsForLanguage","keyVal","InquiryContactsListComponent","_activeTab","_inquiryReasonsDictionary","MAX_MESSAGE_LENGTH","MAX_INQUIRY_REASON_LENGTH","SEND_CONTACT_PERMISSION","mapStateToThisContactUsBase","retailerName","_session$firstName","_session$lastName","_session$role","_session$contactPhone","_session$emailAddress","_get__2","ContactUsController","$stateParams","contactTheLotteryTabActive","maxMessageLength","maxInquiryReason","initInquiryReasonsList","initActiveTab","initContactUsModel","inquiryReasonsList","outletType","roleType","inquiryReasonKey","inquiryReason","pendingRequest","contactUsForm","chosenReasonId","custom","ContactUsComponent","fetchInquiryReasonsDictionaryRequest","fetchInquiryReasonsDictionarySuccess","fetchInquiryReasonsDictionaryFailure","_contact2","mapStateToThisContactManagement","ContactManagementController","Responsive","modelValue","itemScope","ManageContactComponent","_setNewLabelStatus","_prefetchDocument","_documents3","tableView","gridView","fileFormats","DocumentEditController","editForm","keywords","documentTmp","tagName","defaultSort","DocumentsController","canUploadDocument","dropdownType","currentView","isMobile","views","getViews","gridHeader","uploadFormHeader","getColumnHeaders","sortByOptions","getSortByOptions","sortBy","setDefaultPreview","defaultFilters","changes","isDesktop","admin_false","sortable","admin_true","previewMode","allowPreview","previewType","documentUpdated","validateDates","dateError","deletedTag","checkIfTagDeleted","documentTags","documentUpdatedTags","intersection","alertError","sendDownloadDocumentEvent","doc","_this8","sortCategories","onSaveDocument","getPreviewType","getDocumentPreviewDetails","openPreviewIMAGE","openPreviewPDF","_this9","_this10","onUploadDocument","_this11","categoryDialogApi","_this12","edit","DocumentsComponent","getConsts",".csv",".xls",".xlsx",".rar",".zip",".pdf",".txt",".doc",".docx",".jpg",".jpeg",".gif",".png",".bmp",".tiff",".aac",".ogg",".wma",".flac",".mp3",".mp4",".mpg",".mpeg",".avi",".ppt",".pptx","getDocumentsStateObject","setLanguageValidation","DOCUMENT_CATEGORY_IS_IN_USE","DOCUMENT_ALREADY_EXISTS","CANNOT_BE_EMPTY","CATEGORY_EXIST","DOCUMENT_TYPE_NOT_ALLOWED","INVALID_SIZE","INVALID_DOCUMENT_NAME_SIZE","INVALID_THUMBNAIL_FORMAT","INVALID_THUMBNAIL_SIZE","INVALID_THUMBNAIL","INVALID_THUMBNAIL_DIMENSIONS","INVALID_FILE_SIZE","TAG_NOT_FOUND","TAG_NOT_UNIQUE","DOCUMENT_NOT_FOUND","CATEGORY_NOT_FOUND","INVALID_CONTENT_SIZE","setNewLabelStatusRequest","setNewLabelStatusSuccess","setNewLabelStatusFailure","prefetchDocumentRequest","prefetchDocumentSuccess","DocumentsFilterController","$mdSelect","folders","$event","stopPropagation","openEditCategoryDialog","onRemoveCategory","clearFiltersAndReload","DocumentsFilterComponent","defaultDocument","pageType","UploadFormModalController","initializeDocument","documentType","uploadForm","dateError1","today","dateError2","handleCategory","fileErrors","removeCategoryFromList","omit","_lodash","MAX_NAME_LENGTH","CategoryController","maxNameLength","hasEmptyTranslation","some","DEFAULT_TAB_ID","EmailNotificationTemplatesController","onTabSelect","EmailNotificationTemplatesComponent","sms","emailNotificationsTemplates","SmsTabContentComponent","SmsTabHeaderComponent","_emailNotificationTemplateUpdateComponent","SMS_TEMPLATE_KEY","SmsNotificationEditController","_get","smsTemplateBodyTxt","dialogTemplate","removePlugins","toolbar","SmsNotificationEditComponent","ViewComponent","ManageSmsNotificationViewController","currentValue","ManageSmsNotificationViewComponent","showSubscriptionDialog","isShown","disabled","onShowSmsPolicy","applyChanges","showSmsPolicy","FaqViewController","editMode","FaqViewComponent","restKey","dropped","deleteCategory","deleteEntry","faqDialogApi","hideSidebar","FaqManagementController","FaqManagementComponent","faqDndTree","hasEntries","trustAsHtml","FaqCategoryComponent","FaqSearchController","searchPhrase","phrase","onChangeHandler","FaqSearchComponent","14","15","16","17","FAQ_CATEGORY_ALREADY_EXIST","FAQ_ENTRY_ALREADY_EXIST","service","31","52","_inbox","defaultPageSizes","MessagesListController","textAlignment","MessagesListComponent","_sent","SentMessagesListController","canSeeSelfSentItems","canSeeAllSentItems","canSeeSendersFilter","sentBy","senders","getSenders","initGridModel","canBeSelected","authorName","messageId","SentMessagesListComponent","_messageDetails","SentMessageDetailsController","canDelete","goToSentMessages","SentMessageDetailsComponent","MessageDetailsController","goToInboxMessages","MessageDetailsComponent","MessagesTabController","MessagesTabComponent","_recipients","RecipientsListController","RecipientsListComponent","fetchRecipientsRequest","fetchRecipientsFailure","fetchRecipientsSuccess","_replyMessage","ReplyMessageDialogController","replyMessageId","ReplyMessageDialogComponent","replyMessageRequest","replyMessageFailure","replyMessageSuccess","MessageDefinitionService","definitions","SELF","ALL","SUBJECT_AND_PREVIEW","AUTHOR","RECIPIENT","FROM","DATE","USERNAME","READ_DATE","READ_STATUS","REPLIED_DATE","REPLIED_STATUS","NO_RECIPIENTS","NO_RETAILER","MSG_SENT","MSG_DELETE","MSGS_DELETE","property","log","_fetchPrivilegeTemplates","_deletePrivilegeTemplates","_createPrivilegeTemplates","_updatePrivilegeTemplate","_privilegeTemplates3","preset","isDirty","selectRole","PrivilegeTemplatesController","arePrivilegesLoading","privilegesTree","copyPreset","presetCopy","cancel","PrivilegeTemplatesComponent","ACCOUNT_WITH_ROLE_EXISTS","ACCOUNT_HAS_TEMPLATE","ROLE_HAS_TEMPLATE","ROLE_IS_DEFAULT","TEMPLATE_NAME_NOT_UNIQUE","roleTemplates","ROLE_NAME_NOT_UNIQUE","ROLE_ALREADY_EXISTS","deletePrivilegeTemplateRequest","deletePrivilegeTemplateSuccess","deletePrivilegeTemplateFailure","createPrivilegeTemplateRequest","createPrivilegeTemplateSuccess","createPrivilegeTemplateFailure","updatePrivilegeTemplateRequest","updatePrivilegeTemplateSuccess","updatePrivilegeTemplateFailure","updatedTemplate","PrivilegeListComponent","privilegeKey","parents","toggleAction","PrivilegeItemController","PrivilegeItemComponent","onToggle","PrivilegeTemplateFormController","PrivilegeTemplateFormComponent","PrivilegeTemplatesListController","PrivilegeTemplatesListComponent","selectPrivilegeTemplate","PrivilegeTemplatesPermissionPickerController","clearTree","setChecksRecursive","findObjectByPathAndSetChecks","privilegeId","currentPrivilegeSet","filterDynamicPrivileges","parentsPrivilegePaths","privilegePath","flattenDeep","markChecks","_privilege","subPrivilegeName","editPresetPrivileges","getPrivilegesArrayRecursive","checkedPrivilegesArray","getCheckedPrivileges","_checkedPrivilegesArray","PrivilegeTemplatesPermissionPickerComponent","PrivilegeTemplateConfirmationDialogComponent","PRIMARY_ALREADY_REGISTERED","PASSWORD_REQUIRMENTS_NOT_MET","USER_ALREADY_EXISTS_EXCEPTION","MULTIPLE_PRIMARY_USER_WITH_SAME_OWNER_EXCEPTION","RETAILER_NOT_FOUND","USER_ALREADY_ACTIVE_EXCEPTION","IDENTIFICATION_NOT_VALID","NOT_AUTHORIZED","USER_WITH_GIVEN_PHONE_ALREADY_EXISTS","1001","1002","1003","_fetchRetailerDetails","_createAccount","SelfRegistrationController","clearRegistrationFormRef","clearRegistrationForm","clearRegistrationFormWithRetailerRef","clearRegistrationFormWithRetailer","registrationFormModel","validationDTO","$formCtrl","evalRegistrationForm","$setTouched","userPasswordConfirm","confirmEmail","showReviewDialog","addAccount","SelfRegistrationComponent","mapSecurityQuestionsToArray","createUserDTO","_retailer$retailerId","requestData","userValidation","createAccountRequest","createAccountSuccess","createAccountFailure","SelfRegistrationRetailerController","showSubmitButton","showCaptcha","checkRetailerDetails","chainRegistrationDisabled","errorAccountIsNotActive","errorPrimaryUserIsAlreadyRegistered","SelfRegistrationRetailerComponent","_validateOwnerData","_fetchOwnerValidation","getOwnerValidationMethod","validationMethod","SelfRegistrationRetailerIndependentController","blocked","validPin","isPinUsed","SelfRegistrationRetailerIndependentComponent","SelfRegistrationRetailerChainHeadController","SelfRegistrationRetailerChainHeadComponent","tellerIDMaxLength","SelfRegistrationRetailerChainSubordinateController","validTeller","SelfRegistrationRetailerChainSubordinateComponent","SelfRegistrationConfirmController","activated","String","SelfRegistrationConfirmComponent","SelfRegistrationConfirmationComponent","SelfRegistrationDisabledComponent","CompleteRegistrationController","verifyAndLoadUser","evalForm","sendUserRegistrationEvent","CompleteRegistrationComponent","SecurityController","userPassword","required","SecurityComponent","captchaVisible","SecurityQuestionsController","questionsWrapper","modelQuestion","modelAnswer","clearCheckQuestions","arr","each","questionItem","SecurityQuestionsComponent","securityQuestionsSize","reportSubscriptions","29","SFTP_CONFIGURATION_ALREADY_EXISTS","_additionalRecipientsController","ReportSubscriptionsAdditionalRecipientController","newRecipient","usesOptInReports","ReportSubscriptionsPageController","dialogTitle","saveSuccess","validateTitle","validateError","tabs","load","canShowReports","canShowReportSubscriptions","canShowEmailSubscriptions","canShowSftpSubscriptions","subscribedNumber","subscribed","_sftp","SftpListController","listHeaders","SftpListComponent","_sftpAuthenticationTypes","authenticationTypes","SftpCreateController","savingInProgress","enabledSelectOptions","authenticationType","submitConfirm","SftpCreateComponent","SftpEditController","passwordSet","SftpEditComponent","UnsubscribeConfirmationController","UnsubscribeConfirmation","$urlMatcherFactory","RetailerReportsPageController","RetailerReportsPageComponent","RetailerReportsFilterController","filterReportNames","reportCategory","fileCategoryCd","RetailerReportsFilterComponent","idPrefix","_retailerReports","_reportCategoriesDictionary","fetchRetailerReports","downloadRetailerReport","clearFilters","RetailerReportsTabContentController","showSubordinates","showSubscriptionButton","RetailerReportsTabContentComponent","createCustomFileName","transformedFileName","transformFileName","dateString","generateDateString","fetchRetailerReportsRequest","fetchRetailerReportsFailure","fetchRetailerReportsSuccess","_session$retailer","availableTransitions","transition","fileDisplayNm","downloadData","downloadRetailerReportRequest","downloadRetailerReportSuccess","downloadRetailerReportFailure","formatDate","dateToFormat","creationDateFrom","creationDateTo","transformation-type","fetchReportCategoriesDictionaryRequest","fetchReportCategoriesDictionarySuccess","fetchReportCategoriesDictionaryFailure","AdminReportsPageController","AdminReportsPageComponent","_adminReports","RETAILER_NUMBER_REGEXP","fetchUserActivityReports","downloadActivityReports","UserActivityReportsController","reportStatuses","getReportStatuses","clearFilter","exportData","startOf","valueOf","endOf","initializeFilters","test","reportData","SUCCESS","FAILURE","UserActivityReportsComponent","fetchUserActivityReportsRequest","fetchUserActivityReportsFailure","fetchUserActivityReportsSuccess","fetchActivityReport","downloadUserActivityReportsRequest","downloadUserActivityReportsSuccess","downloadUserActivityReportsFailure","_userClassDictionary","_activityEventsDictionary","TODAY","CURRENT_WEEK","LAST_WEEK","CURRENT_MONTH","LAST_MONTH","CUSTOM","FORMAT","AdminReportsFilterController","timePeriods","getTimePeriods","timePeriod","showDateInputs","fetchDictionaries","utcOffset","handleTimePeriodChange","validateDate","isValidDate","isValid","displayError","AdminReportsFilterComponent","eventTypes","fetchActivityEventsDictionaryRequest","fetchActivityEventsDictionarySuccess","fetchActivityEventsDictionaryFailure","StoreProfilesController","StoreProfilesComponent","_orderStatusesDictionary","_packStatusesDictionary","_pricePointsDictionary","reloadOnSearch","PATTERN_DOES_NOT_MATCH","ENTITY_NOT_FOUND","manageInventoryResultCodes","18","20","32","35","40","44","45","trackingUrl","PackDetailsController","showManifestNumber","OrderDetailsController","_detailsDialog3","_downloadDetailedReportByTab","_manageInventory","_fetchOrderDetails","_fetchPackDetails","dateFormatPrintables","downloadManageInventoryDetailedReportByTab","fetchPackDetails","DetailsDialogController","setTextForTabs","initializeTab","function","onReportDownload","getReportDetails","print","hidePackDetails","order","shouldDisplayTabs","setActions","displayTabs","hideOrderDetails","generateCustomFileName","_userSelection","downloadManageInventoryDetailedReportByTabRequest","downloadManageInventoryDetailedReportByTabSuccess","downloadManageInventoryDetailedReportByTabFailure","fetchOrderDetailsRequest","fetchOrderDetailsSuccess","fetchOrderDetailsFailure","fetchPackDetailsRequest","fetchPackDetailsSuccess","fetchPackDetailsFailure","InventoryHeaderController","InventoryHeaderComponent","OrderMonthSelectorController","months","getMonthList","monthNumber","month","monthName","year","OrderMonthSelectorComponent","OrderStatusSelectorController","OrderStatusSelectorComponent","orderStatus","isRetailerDashboard","isChainHeadOrSuperChain","InventoryTabsController","$sanitize","canViewLiabilityTab","initTab","getInitTab","InventoryTabsComponent","_fetchInstantGamesTransitionsHistory","_downloadReportByTab","InventoryTransitionsHistoryChainTabController","tableService","initConfig","configName","getActions","minDatePicker","preserveFilters","gamesFilters","subordinateId","preservedFilters","onDownloadReport","handlePrint","issuedMethod","ISSUED_METHOD","ACTIVATED","settled","SETTLED","InventoryTransitionsHistoryChainTabComponent","InventoryTransitionsHistoryIndependentTabController","InventoryTransitionsHistoryIndependentTabComponent","_fetchOrderHistoryList","InventoryOrderHistoryIndependentTabController","manageInventoryTableService","selectedRetailerId","InventoryOrderHistoryIndependentTabComponent","InventoryOrderHistoryChainTabController","InventoryOrderHistoryChainTabComponent","_fetchGamesList","fetchGamesList","InventoryGamesTabController","InventoryGamesTabComponent","fetchGamesListRequest","fetchGamesListSuccess","fetchGamesListFailure","_fetchPacksList","_fetchPackListGrossValue","fetchPacksList","fetchPacksGrossValue","InventoryPacksTabController","packFilters","packId","pieces","InventoryPacksTabComponent","fetchPacksListRequest","fetchPacksListSuccess","fetchPacksListFailure","fetchPacksGrossValueListRequest","fetchPacksGrossValueListSuccess","fetchPacksGrossValueListFailure","_fetchLiabilities","fetchLiabilities","InventoryLiabilityTabController","fetchCurrentLiability","outstandingAmount","liabilityFilters","InventoryLiabilityTabComponent","loadCurrentLiability","dependencies_js_1","fetchLiabilitiesRequest","fetchLiabilitiesSuccess","fetchLiabilitiesFailure","ManageInventoryTableService","ORDER_NO","ORDER_STATUS","ORDER_ISSUED_DATE","ORDER_CONFIRMED_DATE","ORDER_TYPE","ORDER_GROSS_VALUE","TRACKING_NO","STORE_NO","RETAILER_NO","_definitions","directive","REPORT_NOT_FOUND","REPORT_GENERATION_FAILED","REPORT_NOT_AVAILABLE","TopVltGamesWidgetController","loadDataAsync","fetchTopVltGames","TopVltGamesWidgetComponent","removeWidget","_siteFinancialStatus","FinancialStatusWidgetContentController","FinancialStatusWidgetContentComponent","_subordinateList","FinancialStatusWidgetController","FinancialStatusWidgetComponent","_siteOperationalStatus","fetchSiteOperationalStatus","SiteOperationalStatusWidgetController","showRetailerList","initTable","SiteOperationalStatusWidgetComponent","fetchSiteOperationalStatusRequest","fetchSiteOperationalStatusSuccess","fetchSiteOperationalStatusFailure","SiteOperationalStatusRetailersTableController","SiteOperationalStatusRetailerListComponent","onRetailerClick","SiteOperationalStatusIndicatorComponent","SiteOperationalStatusDeviceListController","selectedItem","SiteOperationalStatusDeviceListComponent","TicketsWidgetController","fetchTicketsData","TicketsWidgetComponent","_manageConfigurableLink","visibleOnSummary","visibleOnInstants","ConfigurableLinkWidgetController","ConfigurableLinkWidgetComponent","EARNINGS_HISTORY_PERMISSION","EarningsWidgetController","isHistoryLinkVisible","findDataItem","dataItems","generateTab","dataItem","tabTitle","earningsTotal","delta","earningsDelta","deltaAsPerc","EarningsWidgetComponent","NetEarningsWidgetController","NetEarningsWidgetComponent","_earningsHistory","_invoiceDatesDictionary","showCompensationCategoryDetails","downloadEarningsHistoryReport","fetchEarningsHistory","EarningsHistoryController","invoiceEndDate","setInvoiceDateRange","maintenance","DRAW","analyticsParams","sendDownloadDashboardReportEvent","earningsInvoiceDate","invoiceDate","invoiceDateRange","EarningsHistoryComponent","fetchEarningsHistoryRequest","fetchEarningsHistorySuccess","fetchEarningsHistoryFailure","downloadEarningsHistoryReportRequest","downloadEarningsHistoryReportSuccess","downloadEarningsHistoryReportFailure","usesMultipleSweepDates","EftAmountWidgetController","EftAmountWidgetComponent","_eftHistory","fetchEftHistory","fetchEftExtensions","downloadEftInvoice","fetchRetailerEFTDetailDate","EftHistoryController","minDate","toDateString","invoice","invoiceWeekEndDate","EftHistoryComponent","fetchEftHistoryRequest","fetchEftHistorySuccess","fetchEftHistoryFailure","fetchEftExtensionsRequest","fetchEftExtensionsSuccess","fetchEftExtensionsFailure","fetchRetailerEFTDetailRequest","fetchRetailerEFTDetailSuccess","fetchRetailerEFTDetailFailure","downloadEftInvoiceRequest","downloadEftInvoiceSuccess","downloadEftInvoiceFailure","reportDate","JackpotsNextDrawsWidgetController","fetchJackpotsAndDraws","JackpotsNextDrawsWidgetComponent","isDisabledShare","extractJackpotsData","draws","amount","drawDate","drawTime","cashAmount","flattenJackpotData","game-names","_netSalesSummary","NetSalesWidgetController","NetSalesWidgetComponent","_netSalesHistoryPageController","_netSalesDetails","activeSummaryPeriod","activeInstantGamesPeriod","activeDrawGamesPeriod","NetSalesHistoryPageController","drawGamesHeader","instantGamesHeader","gaConfig","fetchNetSalesDetailsRequest","fetchNetSalesDetailsSuccess","fetchNetSalesDetailsFailure","downloadNetSalesReportRequest","downloadNetSalesReportSuccess","downloadNetSalesReportFailure","_ref2$id","header","netSalesTotal","BIG_WINNERS_HISTORY","bigWinnersSellPeriodDays","BigWinnersController","BigWinnersComponent","_bigWinners","NUMBER_OF_MONTHS","BigWinnersHistoryController","gameTypes","generateGameTypes","periods","generatePeriods","monthEndDate","itextAlignment","chainHeadHeaders","BigWinnersHistoryComponent","fetchBigWinnersHistoryRequest","fetchBigWinnersHistorySuccess","fetchBigWinnersHistoryFailure","downloadBigWinnersHistoryReportRequest","downloadBigWinnersHistoryReportSuccess","downloadBigWinnersHistoryReportFailure","CUMMULATIVE_HISTORY_PERMISSION","CumulativeWinnersWidgetController","getTabInfo","validationAmount","wonDate","validationDate","CumulativeWinnersWidgetComponent","_cumulativeWinners","_tiersDictionary","CumulativeHistoryController","CumulativeWinnersHistoryComponent","fetchCumulativeWinnersHistoryRequest","fetchCumulativeWinnersHistorySuccess","fetchCumulativeWinnersHistoryFailure","downloadCumulativeWinnersHistoryReportRequest","downloadCumulativeWinnersHistoryReportSuccess","downloadCumulativeWinnersHistoryReportFailure","fetchTiersDictionaryRequest","fetchTiersDictionarySuccess","fetchTiersDictionaryFailure","CurrentInstantGameLiabilityWidgetController","showDetails","fetchMyCurrentLiability","CurrentInstantGameLiabilityWidgetComponent","usesProjectedSettlements","ActualAndProjectedSettlementsWidgetController","projectedSettlements","actualSettlements","widgetTitle","fetchActualAndProjectedSettlements","downloadActualSettlementsReport","ActualAndProjectedSettlementsWidgetComponent","NewGamesWidgetController","isEmptyGamesComing","isEmptyGamesLaunched","getGamesComingData","getGamesLaunchedData","getGamesComing","getGamesLaunched","launchDate","fetchGamesComing","comingGamesLabel","getComingGamesLabelWithSpecifiedDate","getComingGamesLabelWithoutSpecifiedDate","fetchGamesLaunched","NewGamesWidgetComponent","MySlowMovingGamesWidgetController","fetchMySlowMovingGames","MySlowMovingGamesWidgetComponent","pricePointMixWeeks","MyPricePointMixWidgetController","chartConfig","extendChartConfig","donut","totalAmt","fetchMyPricePointMix","checkIfAllEmptyData","formattedData","pricePoint","y","salesAmt","setColors","setPricePoints","chartApi","updateWithData","missingPricePoints","chartConf","chart","d","tooltip","valueFormatter","tickVal","renderEnd","centerText","insert","attr","isEmptyData","MyPricePointWidgetComponent","showLabels","donutRatio","showLegend","growOnHover","noData","xAxis","showMaxMin","my_net_sales_performance_widget_component_1","theme_actions_js_1","my_net_sales_performance_api_1","CATEGORY_ALL","THIS_YEAR","MyNetSalesPerformanceWidgetController","[object Object]","dataTypes","setDataTypes","setChartOptions","setChartData","findTranslationValue","dataTypeId","fetchMyNetSalesTranslations","fetchAllCategories","fetchNetSalesData","translation","allCategories","fetchSalesCategories","setCategories","allCategory","categoryType","fetchMyNetSalesPerformanceData","color1","color2","chartData","dataItemThisYear","dataItemComparison","getLineChartData","netSalesForComparison","weeklySales","weeklySalesComparison","weeklySales2","weekNumber","sales","weekEndDate","comparison","weeklySales1","compareWeeklySales","chartOptions","clipEdge","margin","left","tooltips","axisLabel","yAxis","tickFormat","contentGenerator","point","toFixed","salesCategoryId","numberOfWeeks","ViewFullGameInventoryWidgetController","ViewFullGameInventoryWidgetComponent","TopSellingGamesWidgetController","rankings","ranking","getTop10","getTopSellersByPrice","isEmptyTopRankings","isEmptyTopSellers","fetchTop10","topAll","sortTop10","stateSalesComparator","storeSalesComparator","stateSalesRank","customComparator","storeSalesRank","fetchTopSellersByPrice","curr","added","salesRank","gameName1","TopSellingGamesWidgetComponent","MESSAGE_COUNT","MessagesWidgetController","MessagesWidgetComponent","LotteryRepresentativesWidgetController","fetchLotteryRepresentatives","representatives","rep","initials","LotteryRepresentativesWidgetComponent","_selfServiceOutOfStockWidgetService","SelfServiceOutOfStockWidgetController","lost","factor","timeToDisplay","fetchSelfServiceOutOfStock","transformedData","week1","week2","isSame","chartModel","estLostSales","timeNotSelling","oosFactor","downloadLvmReport","SelfServiceOutOfStockWidgetComponent","showValues","showControls","rotateYLabel","gettext","valueFormat","barColor","yAxisValue","parseTimeToHoursAndMinutes","timeInMs","duration","asHours","m","minutes","_licenseRenewal","licenseRenewalContactUrl","licenseRenewalEnabled","isPreviewingRetailerDashboards","LicenceRenewalWidgetController","LicenceRenewalWidgetComponent","fetchLicenseRenewalRequest","fetchLicenseRenewalSuccess","fetchLicenseRenewalFailure","licenseRenewalMaxDaysNo","_linkToLicenseRenewalFormController","LinkToLicenseRenewalFormController","$window","open","_bondRenewal","bondRenewalMaxDaysNo","bondRenewalLimitDays","bondRenewalInquiryReasonId","downloadBondRenewalReport","fetchBondRenewal","BondRenewalWidgetController","widgetService","BondRenewalWidgetComponent","downloadBondRenewalReportRequest","downloadBondRenewalReportSuccess","downloadBondRenewalReportFailure","fetchBondRenewalRequest","fetchBondRenewalSuccess","fetchBondRenewalFailure","storeTransformation","days","aggregated","bondRenewalDaysLeft","TERMINAL_STATUS_ACTIVE_CODE","SellingTerminalsWidgetController","fetchTerminalsDetails","fetchTerminalsTemplates","terminalType","terminalTemplates","ind","terminalTemplate","terminalName","imageName","getImageName","SellingTerminalsWidgetComponent","userLocale","ChainSalesRankWidgetController","fetchChainSalesRank","ChainSalesRankWidgetComponent","StoreSalesRankWidgetController","StoreSalesRankWidgetComponent","endOfGameUrl","EndOfGameWidgetController","EndOfGameWidgetComponent","_lvmSalesHistory","LvmSalesWidgetController","checkIfEmptyData","createTabs","salesTotal","LvmSalesWidgetComponent","LvmSalesGameList","LvmSalesHistoryController","instantGamesText","drawGamesText","currentTotalTab","expandContainerClass","expandContainer","getElementsByClassName","setTimeout","innerContainerClass","clientHeight","LvmSalesHistoryComponent","ipsStatuses","AlertsWidgetController","showChainBtn","refreshData","alertsNumber","AlertsWidgetComponent","mapStateToThisModal","mapDispatchToThisModal","AlertModalController","isFirstAlert","isNewAlertRetailer","isNewAlert","isNewAlertDifferent","gridContent","previousValue","currentAlert","gamePacksValue","AlertController","$element","widgetClass","mapPriority","priority","addClass","currentDate","groupByPacks","read","fillAlertContent","showGameInventoryButtons","onDownloadAlertReport","onDismissAlert","triggerDownload","lastElement","gameNo","AlertComponent","returnGames","_announcements","AnnouncementsWidgetController","AnnouncementsWidgetComponent","AnnouncementsWidgetContentController","activeIndex","selectedAnnouncement","AnnouncementsWidgetContentComponent","AnnouncementListController","AnnouncementListComponent","AnnouncementItemController","announcementTypes","AnnouncementItemComponent","pin","_selectedLanguage","ActiveAnnouncementsController","ActiveAnnouncementsComponent","ArchivedAnnouncementsController","ArchivedAnnouncementsComponent","ScheduledAnnouncementsController","ScheduledAnnouncementsComponent","AnnouncementPreviewController","AnnouncementPreviewComponent","RwEditorController","RwEditorComponent","isRequired","DIRTY_ANNOUNCEMENTS_FORM","announcementsTitleMaxLength","AnnouncementFormController","announcementModel","getAnnouncementDetails","_type$index","dateFutureError","verifyDateFuture","AnnouncementFormComponent","AnnouncementsManagementController","initAnnouncements","AnnouncementsManagementComponent","GamesEndingCardComponent","endReturnsUsed","endSalesUsed","endValidationsUsed","endSales","endValidations","endReturns","GamesEndingWidgetController","fetchGamesEnding","setTab","GamesEndingWidgetComponent","MyInstantTicketSalesWidgetController","currentYear","getFullYear","dataType","getRetailerType","line","loadChartData","thisYearSalesData","prevYearSalesData","zipData","businessData","getData","postalCountThreshold","goePostalCountThreshold","getSTORE_PROFILEData","years","prevValue","weekInYear","comparision","retValAmt","calculateDifference","setChartType","opt","getLastYearSales","getSalesByZipLabel","getAvgSalesByZip","getAvgSalesByState","getAvgSalesByChain","shift","series","endOfWeekDate","sortedData","yearNumber","getYearSalesSeries","redrawChart","getAvgSalesByType","getOtherSalesSeries","chartRefreshTimeout","clearTimeout","MyInstantTicketSalesWidgetComponent","widgetsApi","dashboardApi","setWidgetLoading","ticks","enable","fetchInstatTicketSales","CommonWidgetComponent","empty","cssClass","hideHeader","showEmpty","RetailerFilterDirective","restrict","RwDashboardsController","canCustomizeDashboard","dashboardsConfig","RwDashboardsComponent","isDefault","_dashboard","widgetsList","RwAddWidgetController","widgetData","dashboardId","RwDashboardController","setPageTitle","isAlertsWidgetAvailable","checkIsAlertsWidgetAvailable","disableEditMode","onOpenSettings","onAddWidget","leaveEditMode","RwDashboardComponent","require","rwDashboardsCtrl","widgetsConfig","RwRenderWidgetsController","additionalPlaceholderClass","itemMoved","RwRenderWidgetsComponent","rowId","RwRemoveWidgetComponent","RwMoveWidgetComponent","RwRenderWidgetController","cachedImages","conf","URL","revokeObjectURL","RwRenderWidgetDirective","$compile","scope","widgetPosition","onRemoveWidget","attrs","$ctrl","widgetScope","$new","revokeUrls","widgetComponent","ctrl","getWidgetConfig","getComponent","html","contents","canEditAccountDetails","canCompleteRegistration","accountInactive","canAuthenticateUser","isUserNotSuspended","canChangePrimaryUser","canUpdateAccountPrivileges","filterUsers","sortUsers","exportReport","exportUserReport","RETAILER_NOT_IN_SCOPE","NOT_FOUND","INVALID_EMAIL","PRIMARY_USER_PRIVILEGE_UPDATE","MULTIPLE_PRIMARY_USER_EXCEPTION","USER_ALREADY_EXIST","USER_NOT_ALLOWED_EMAIL_RESEND","USER_NOT_SUSPENDED","inactive","INACTIVE","USER_STATUS_CHANGE_NOT_ALLOWED","USER_NOT_ACTIVE","PROMOTION_DENIED_MULTISTORE","AUTHORIZATION_DATA_NOT_VALID","AUTHORIZATION_CHAIN_DATA_NOT_VALID","USER_CANNOT_DELETE_ITSELF","LOTTERY_REP_ID_NOT_PROVIDED","dsr","DSR","BAD_PARAMETER","PRIMARY_USER_NOT_EXISTS","changeprimaryuser","24","suspendactivateusers","23","25","UserGroupMembershipsController","getRetailerGroups","queryParameters","getOwnerRetailerGroups","_get__$$ngRedux$getSt2","getRetailerGroup","getRetailerGroupMembers","members","getOwnerRetailerGroupIds","ownerId","forOwner","getRetailerGroupsSpecified","createRetailerGroup","updateRetailerGroup","reportingGroupOid","deleteRetailerGroup","getRetailersValidated","groupType","getSearchUrl","getByUserUrl","maxPageSize","groupIds","_trustedDevices","uses2FA","MyAccountController","question1","question2","checkIfEmailChanged","confirmPassword","applyUserSession","showSuccessNotification","MyAccountComponent","fetchTrustedDevicesRequest","fetchTrustedDevicesSuccess","fetchTrustedDevicesFailure","deleteTrustedDeviceRequest","deleteTrustedDeviceSuccess","deleteTrustedDeviceFailure","MODE_EDIT","MODE_CONFIRM","passwordRequirementText","MyAccountFormController","securityAnswerPlaceholder","mode","setConfirmMode","resetForm","MyAccountFormComponent","_users","_users2","_userTemplatesDictionary","_outletTypesDictionary","DOWNLOAD_OPTIONS","fetchUsers","downloadUsersReport","ManageUsersController","canBulkUpdateRole","downloadOptions","canSeeRetailerNo","initSelectionParameters","selected","excluded","selectedAll","selectedTemplate","selectedUsersCount","selectedUserClass","isUserClassFilterSelected","indeterminateChecbox","preservedPagingModel","calculateSelectedUsersCount","setIndeterminateChecboxStatus","hasPagination","calculateExcludedUserIds","selectedIds","setUserClassAccordingToSelectedUserEntity","isAlreadyExcluded","excludedId","excludedIds","isPrimaryUserType","hasDifferentUserClassTheSelected","searchParams","selectedUsers","excludedUsers","updatedCount","isExcludedUserSelected","isSomeoneSelected","isSelectedLessThanMaxUserCount","goToCreateAccount","isAvailable","canCreateUser","goToCreateSecondaryUserAccount","canCreateSecondary","ManageUsersComponent","searchUser","fetchUsersRequest","fetchUsersFailure","fetchUsersSuccess","downloadUsersReportRequest","downloadUsersReportFailure","downloadUsersReportSuccess","fetchUserTemplatesDictionaryRequest","fetchUserTemplatesDictionarySuccess","fetchUserTemplatesDictionaryFailure","allTemplates","promises","v","fetchOutletTypesDictionaryRequest","fetchOutletTypesDictionarySuccess","fetchOutletTypesDictionaryFailure","displayUserName","EditAccountMainController","checkUserEditHimself","sessionUserId","handler","onDeselect","onActivate","userName","reloadView","viewAsThisUser","authenticateText","goToManageUsers","EditAccountMainComponent","RetailerGroupsExistingUserFieldController","selectedUser","_userService","CreateAccountUserSearchDialogController","selectedUserId","initializeGrid","isAlignedLeft","allParameters","_","hmr","locals","lowCostCarriers","AccountDetailsController","canDeleteUser","disabledInfo","canResetPassword","canUpdateData","isAdminUser","AccountDetailsComponent","canShowResendActivationEmail","canShowAuthenticateUser","canShowChangePrimaryUserBtn","canShowLoginAsThisUser","canChangeUserStatus","OTHER_STATUS_KEY","AccountStatusController","canUpdateRole","otherReason","accountStatus","setOnDeselect","privilegesChanged","currentUserPresentId","privilegesCustomized","isPrimary","saveUserPrivileges","setStatusChangeCallback","saveCallback","templateChange","updateForm","onCancelHandler","activateCallback","suspendCallback","AccountStatusComponent","_linkedRetailers","LinkedRetailersTableController","initDefaultSortColumn","setInitialFilters","directAssignment","selectedRetailers","isSelected","onRetailerSelect","LinkedRetailersTableComponent","multiselect","AccountRetailersController","selectedRetailersCount","valid","userEmail","retailerIdsToUpdate","getRetailerIdsToUpdate","retailerIdsToDelete","getRetailerIdsToDelete","AccountRetailersComponent","MODE_STANDARD","MODE_SECONDARY","RETAILER_TYPES","CreateAccountStepsController","superChain","getSuperChain","reportToTpl","filteredUserClasses","initializeUserClasses","stepsTitles","step","numberOfSteps","tmp","showReportTo","incorrectRetailerNo","validateRetailerError","primaryUserId","loadPrimaryUser","filteredRetailerTypes","userClassesGroupedById","getUserClassesGroupedById","setUserClass","parseReportTo","validateRetailerNo","isUserPrimary","isUserChainSubordinate","isUserIndependentRetailer","isUserRetailer","isUserChainHead","subLabel","$setDirty","isUserAdmin","isLimitedToRetailers","presetName","filterPrivileges","endsWith","isUserSecondary","$apply","CreateAccountStepsComponent","ChangePrimaryUserController","initlizeConfiguration","onCancel","ChangePrimaryUserComponent","RetailerSettingsController","canChangeSelfRegistrationEnabled","canSaveRetailerSettings","primaryUserRole","enableDisable","subordinateSelfRegistrationEnabled","subordinatesCanSelfRegister","saveConfiguration","RetailerSettingsComponent","lsUtilsRun","LspPageSubHeaderController","translatedText","LspPageSubHeaderComponent","class","SearchComponentController","$transclude","showFilter","isAdditionalContent","isSlotFilled","isInnerAdditionalContent","noFloat","searchButtonLabel","searchFilters","SearchComponent","actionButtons","additionalContent","innerAdditionalContent","hideSearchButton","hideResetButton","showHeader","DropdownController","isOpen","position","DropdownComponent","buttonLabel","dropdownToggle","dropdownMenuClasses","appendToBody","CollapseController","isCollapsed","showButton","CollapseComponent","ProgressChartComponent","rwCaptcha","ngModel","elm","setCaptcha","callback","grecaptcha","render","sitekey","KEYCODE_ENTER","OnEnterController","keyCode","onEnter","onEnterDirective","useApplyAsync","content-type","overwrite","handleHttpError","errorObj","globalErrors","fieldErrors","ENTITY_DOES_NOT_EXIST","errorStatusOther","notifyUnknownServerError","getErrorCode","setErrorCode","notifyServerError","notifyStatus409","errCode","errSkipRedirect","dialogOpened","showMessage","unexpectedServerError","UNEXPECTED_SERVER_ERROR","defaultErrorCode","contextError","gotoHome","_ref2$controller","_ref2$template","_ref2$backdrop","_ref2$size","_ref2$component","dontShow","DEFAULT_CONTEXT","$q","cache","post","urlParamsToOmit","handleErrorFn","resourceName","resourceParams","resourceUrlParams","evalResourceUrlParams","joinSeparator","paramsToTrasform","_typeof","parameter","evalResourceUrlParam","isEmptyValue","filtersObj","flattenFilters","parseParams","flattenedParams","rawName","rawValue","encodeArray","evalResourceUrlParamName","evalResourceUrlParamValue","encoded","chain","itemKey","entity","applyParameters","resourceUrl","evalResourceUrl","extend","force","deferred","defer","cached","method","getFile","ignoreLoadingBar","buffer","SKIPED_ERROR_CODES","SYSTEM_UNAVAILABLE","LOGOUT_CODE","INVALID_TOKENS","$http","requestCanceler","pendingRequests","requestsQueue","errorFn","rejectPromise","reauthQueue","reauthOngoing","canceller","propertyKey","forceLogoutFn","reauthFn","currentTimestamp","refreshTokenExpired","requestTokens","noRefreshToken","refreshTokenUrl","refreshTokenCode","putReauth","refreshTokenFailed","logoutUrl","logoutQueue","req","notifyForcedLogout","dismissAll","authorizationHeader","handleRefreshTokenFailed","validateTokens","resp","handleRefreshTokenExpired","res","requestFn","timeout","pendingRequestId","addPendingRequest","removePendingRequestById","handleError","reason","handle401Error","handleErrorObject","handleCriticalError","typeofReturnDataString","typeofReturnData","handleReauth","_this13","FileReaderDeffered","reader","getCodeFromArrayBuffer","readAsArrayBuffer","runReauth","arrBufResult","fromCharCode","criticalError","handle_default","_this14","_downloadElementComponent","DownloadElementController","showProgress","downloadResult","downloadFunction","callbackFunction","DownloadElementButtonComponent","DownloadElementLinkComponent","additionalClasses","DownloadElementLabelComponent","progressTitle","AsyncDownloadController","isButtonDetails","parsedType","filename","generateFilename","customFilename","AsyncDownloadComponent","buttonDetails","labelDetails","_lspGridComponent","sorting","LspGridController","isHeader","LspTableController","loadingText","headerGroups","kebabCase","oldSorting","activeSort","onSortHandler","LspMobileSortController","fiteredHeaders","LspGridComponent","table","footer","LspTableComponent","disableViewChange","header1","LspMobileSortComponent","_tableColumnController","GridController","GridComponent","PaginationController","newPage","oldPage","isNumber","gridMeta","onGotoPage","onNextPage","onPrevPage","PaginationComponent","defaultFirstPage","pageSizeValues","onPageSizeChange","_tableComponent","MobileSortController","MobileSortComponent","TableService","isAvailableField","TableColumnController","setSortDirection","CACHE_CONTROL_HEADER","PRAGMA_HEADER","LspImageController","getCachedImage","children","cachedValue","lspImg","lspImgCache","loadImage","lspImgData","createObjectURL","imageData","Cache-Control","Pragma","LspImageComponent","altImg","BULLET_PLACEHOLDER","LspBulletPlaceholderDirective","repeat","FooterBarComponent","$injector","exception","sendEvent","errorMessage","gaEventObject","evt","getDataLayer","getDefaultPageviewEvent","dataLayer","userEmailAddress","createdUserUuid","uuidv4","contentDisplayName","channel","socialNetwork","socialAction","fileDisplayDesc","fileCategoryLabel","documentFileName","documentCategory","categoryName","RwGtmController","GTM_TRACK_ID","analyticsMainContainer","container","w","gtm.start","f","getElementsByTagName","j","async","parentNode","insertBefore","RwGtmComponent","carousel_component_1","FIRST_SLIDE_INDEX","INTERVAL_TIME","CarouselController","$interval","pause","slideNo","intervalTime","startInterval","stopInterval","nextSlide","goToSlide","newSlideNo","RwTooltipController","side","isSmart","RwTooltipComponent","rwTooltipText","rwTooltipContent","DEFAULT_EVENT_TYPE","MultiLangSameValueDirective","fieldPath","fieldModel","eventType","ngModelCtrl","off","$viewChangeListeners","setFieldValue","on","$watch","$modelValue","RwLanguagePickerController","formIsValid","languageIndex","getLanguageIndex","RwLanguagePickerComponent","RwLanguageSelectController","lastSelectedLanguage","RwLanguageSelectComponent","RwMultiLanguagePageController","RwMultiLanguagePageComponent","isLanguageSelectAvailable","hideFooter","pageClasses","headerClasses","FileUploadChangeDirective","fileUploadChange","FILE_SIZE_LIMIT","FileUploadController","acceptFile","uploadEnabled","inputFileSizeLimit","parseFloat","pow","fileSizeExceeded","onloadend","fileReaderOnLoadEnd","$evalAsync","onFileChanged","gatherErrors","fileModel","onFileChangeCb","validateMaxFileSize","acceptFileCheckValidation","fileFormatError","validateFileType","validateDimensionsForEntity","validateDimensions","inputFileId","validateBanner","validateThumbnail","validatePoster","FileUploadComponent","fileRequired","fileExtensionError","deleteEnabled","FilePreviewPdfComponent","hidePreview","backingScale","canvas","ctx","getContext","devicePixelRatio","webkitBackingStorePixelRatio","mozBackingStorePixelRatio","msBackingStorePixelRatio","oBackingStorePixelRatio","backingStorePixelRatio","setCanvasDimensions","ratio","display","setTransform","FilePreviewPdfController","renderTask","pdfLoaderTask","pdfUrl","pdfDoc","pageToDisplay","isFinite","pageFit","$document","scroll","append","PDFJS","disableWorker","windowEl","scrollY","pageNum","renderPage","destroy","renderPdf","disableZoomInBrowser","enableZoomInBrowser","ctrlKey","which","zoomIn","zoomOut","originalEvent","deltaY","unbind","_internalRenderTask","getPage","renderContext","viewport","pageWidthScale","getViewport","getBoundingClientRect","canvasContext","numPages","clearRect","clearCanvas","withCredentials","httpHeaders","Access-Control-Allow-Headers","Access-Control-Expose-Headers","getDocument","_pdfDoc","pageCount","elem","$eval","dirtyFormOpts","_options$name","contextClickHandler","browserClickHandler","applyHandlers","ngClick","newValue","removeHandlers","hasNgClick","stateOff","stateChangeStartHandler","blockButton","callbackName","CancelController","formName","onClickHandler","CancelButtonComponent","rwClearFieldDirective","noop","onClear","button","after","rwRequiredOneOfDirective","defaultErrorKey","ngForm","rwRequiredOneOf","rwRequiredOneOfErrorKey","deleteAction","downloadAction","RwDateComponent","fraction","RwCurrencyController","defaultFraction","_rwPhoneController","RwPhoneController","_rwUserClassController","RwUserClassController","_rwCopyrightController","RwCopyrightController","_rwAppVersionController","_appVersion","fetchBeAppVersion","RwAppVersionController","frontendVersion","FE_VERSION","fetchBeAppVersionRequest","fetchBeAppVersionSuccess","fetchBeAppVersionFailure","_rwPrivacyPolicyController","RwPrivacyPolicyController","_rwPrivacyPolicyDialogController","_privacyPolicy","RwPrivacyPolicyDialogController","_rwTermsOfUseController","RwTermsOfUseController","_rwTermsOfUseDialogController","_termsOfUse","downloadTermsOfUse","RwTermsOfUseDialogController","downloadTermsOfUseRequest","downloadTermsOfUseSuccess","downloadTermsOfUseFailure","_rwHomepageLinksController","homePageLink","RwHomepageLinksController","RwButtonComponent","variant","ariaLabel","tabindex","RwIconController","iconSize","iconEffect","effect","iconType","RwIconComponent","iconStart","iconEnd","RwActionsDropdownController","RwActionsDropdownComponent","_rwSocialMedia","downloadPoster","fetchPosterUrl","RwSocialMediaController","isSharingEnable","customNotification","timeOut","serviceType","showNotification","posterUrl","sendSocialShareEvent","sendPrintEvent","RwSocialMediaComponent","isDisabled","downloadPosterRequest","downloadPosterSuccess","downloadPosterFailure","fetchPosterUrlRequest","printables","fetchPosterUrlSuccess","fetchPosterUrlFailure","_dashboardHelpers","CUMULATIVE_WINNERS","JACKPOT_AND_DRAWS","setDateFormatAccordingToLocale","queryAccordingToPosterTemplate","wonAmount","getCumulativeTemplateAccordingToPeriodType","getPosterTemplate","RwMultistoreSelectorDialogController","RwMultistoreSelectorDialogComponent","RwMultistoreSelectorController","locations","RwMultistoreSelectorComponent","RwRatailerInfoComponent","shortInfo","showDistrictColumn","RwSubordinatesTableController","filterSubordinates","subordinate","headerText","getFirstFieldName","RwSubordinatesTableComponent","RwSubordinatesDropdownController","RwSubordinatesDropdownComponent","RwListItemComponent","noHover","noPadding","RwListComponent","$templateCache","RwTimepickerController","$locale","DATETIME_FORMATS","mediumDate","RwDatepickerComponent","onChange","showMeridian","shortTime","RwTimepickerComponent","RwLocationSelectorDialogController","RwLocationSelectorDialogComponent","RwLocationSelectorController","appendToElement","querySelectorAll","fetchLocations","showDropdown","onLocationChange","findSelectedRetailer","RwLocationSelectorComponent","RetailerIdFormat","retailerIdPattern","pattern","LspPercentFilter","POSTFIXES_ENG","NumberPostfix","no","getEnglish","getSpanish","Mask","maskDefinitions","A","*","mask","maskDef","processRawMask","alphanumericValue","maskValue","characterCount","maskCaretMap","maskPatterns","maskPlaceholder","isOptional","numberOfOptionalCharacters","chr","getPlaceholderChar","minRequiredLength","unmaskedValue","valueMasked","maskCaretMapCopy","lspEmail","EMAIL_REGEXP","$validators","$isEmpty","lspEmails","splitEmails","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","return","lspMatch","lspMatchCaseInsensitive","newVal","oldVal","LspPhoneLengthDirective","lspPhoneLength","lspName","NAME_REGEXP","lspPassword","PASSWORD_REGEXP","RegExp","passwordRequirementPattern","LspFormFieldService","LspFormFieldDirective","modelCtrl","stopImmediatePropagation","$digest","showValidation","RetailerNumberPatternDirective","retailerNumberPattern","viewValue","SPACE_LEADING_REGEXP","SpaceLeadingPatternDirective","spaceLeadingPattern","COORDS_REGEXP","googleMapsCoords","striptHtml","strippedMaxLength","strippedForm","maxlength","smsNotificationPopupMaxCharCountDisabled","DURATION","LspAlertService","closeButton","tapToDismiss","success","ResponsiveService","variables","mapValues","currentDeviceFlags","deviceChangeSubscribers","checkDevice","newDeviceFlags","isPhone","isTablet","isExtraLarge","innerWidth","isEqual","notifyDeviceChanged","pull","screen-xs-min","screen-xs-max","screen-sm-min","screen-sm-max","screen-md-min","screen-md-max","screen-lg-min","screen-lg-max","screen-gt-lg","DirtyFormService","WidgetService","CKEDITOR","plugins","editor","addRichCombo","panel","css","skin","getPath","multiSelect","el","commit","onClick","setText","insertElement","EMPTY_FN","DIALOG_PARENT","DEFAULT_TOAST_CONFIG","positionClass","DEFAULT_DIALOG_CONFIG","animation","appendTo","windowClass","backdropClass","NOTIFICATION_TYPES","dialog","toast","warning","NotificationService","$uibModal","_termsPageController","_ref$termsPreview","TermsPageController","buttonAction","_termsDialogController","TermsDialogController","RetailerDashboardsSearchPageController","fetchRetailerId","checkAccessToRetailer","representative","RetailerDashboardsSearchPageComponent","RETAILER_DASHBOARD_CONTEXT","RetailerDashboardPageController","hasAccessToSummaryDashboard","hasAccessToInstantDashboard","summaryDashboardLabel","instantsDashboardLabel","showDashboard","RetailerDashboardPageComponent","downloadReportsPack","INVALID_TOKEN","paras","_downloadPageController","_downloadReportPage","DownloadPageController","errorMsg","downloadReportsPackRequest","downloadReportsPackSuccess","downloadReportsPackFailure","USER_ALREADY_EXISTS","INTERNAL_SERVER_ERROR","MULTIPLE_PRIMARY_USERS","PRIMARY_USER_ALREADY_EXISTS","SER_SUSPENDED_OTHER_REASON","22","33","34","36","37","38","39","41","42","43","NOT_A_SECONDARY_USER","RETAILER_DOES_NOT_EXIST_OR_NOT_ACTIVE","48","50","51","53","55","LOCALE_NOT_SUPPORTED","RETAILER_BLOCKED","62","USER_ACTIVATION_ERROR","1000","1004","1005","1006","ICON_IS_IN_USE","MAINTENANCE_CODE","loadWeekdays","loadJurisdictionData","toggleEditMode","pathToEditMode","toggleLanguageSelect","createForm","getInvalidForms","checkValidation","invalidForms","invalid","retValue","DEFAULT_SORT_DIRECTION","NOTIFICATION_CONTEXT","listMultilang","emailList","emailGrid","emailTemplatesList","templateData","rawSmsTypes","userSmsCategories","loginNotificationPopup","smsGrid","smsTemplates","smsList","loadSmsTypes","subscriptions2Object","smsTemplatesList","templateEditable","langKey","smsLoginNotificationTypes","smsGroup","langArray","smsTemplateId","smsTypeTxt","transformSmsTemplate4Multilang","transformMultilangTemplate4Save","updateSmsData4LoginPopup","langObj","stripHtmlFilter","smsCategoryTxt","smsCategoryId","sendSms","subscriptions2Array","innerReduced","subscriptionId","smsTypeCategory","smsTemplateTranslations","smsTemplateDisplayName","smsTypeName","smsTemplateName","multilangTemplate","truncate","smsNotificationPopupMaxCharCount","omission","ManageSmsDialogController","visibleCategories","applyCategories","manageSmsNotificationDialog","FAQ_CONTEXT","defaultPaging","visibilities","faqCategory","faqEntry","loadVisibilityOptionNames","handleRestResponse","fullList","cachedList","loadSortedCategories","resource","loadEntries","getOnlyPopulatedCategories","_list","getCombinedEntriesWithCategories","_categories","combineEntriesWithCategories","catId","getEntriesGroupedById","filterList","phraseLowerCase","categoryNameContainsPhrase","faqCategoryTranslationsDto","faqEntryTranslationsDto","transformedEntry","ordinalNo","modifyDate","getProperOrdinalNo","categoryEntries","getCategoryEntries","filteredCategory","transformedCategory","transformCategoryForCreate","lastIndex","lastCategory","nextOrdinalNo","transformCategoryForUpdate","sourceHasCategory","destNodeModelValue","nodeScope","dest","nodesScope","isCategory","restPromise","destCategories","sourceCategoryId","destCategoryId","$parent","destEntry","destEntries","reorderEntries","reorderCategories","updateAfterOrderChange","catIndex","transformEntriesForOrdinal","entryId","transformCategoriesForOrdinal","transformEntryForOrderialUpdate","decodedLogin","decodedPassword","loadSecurityQuestions","filterPacks","gameNumbers","ForbiddenComponent","retriveAction","appContext","ImpersonatingBarController","doLoginBack","ImpersonatingBarComponent","versionInfo","_config$homePageLogos","homePageLogos","SideMenuController","logos","logo","downloadWidgetAttachment","SideMenuLoggedinComponent","SideMenuAnonymousComponent","menuItems","SideMenuItemsController","querySelector","hasMiniBar","hasClass","SideMenuItemsComponent","SideMenuHeaderController","SideMenuHeaderComponent","_banners","_widgets","_state$config$homePag","_state$widgets","widgetMaintenance","_state$banners","HomeController","HomeComponent","_manageConfigurableLinkComponent","_themeComponent","TermsPreviewDialogController","TermsPreviewDialogComponent","TermsConfirmDialogController","TermsConfirmDialogComponent","_termsManagement3","TermsTabController","termsModuleName","findLocaleKey","fieldsKey","copyFields","attachmentsKey","copyAttachments","chekIfAttachmentEmpty","showConfirmationDilog","onSave","TermsTabComponent","_termsManagement","TermsManagementController","TermsManagementComponent","_manageConfigurableLink3","CmsManageConfigurableLinkController","initForm","textMaxLength","CmsManageConfigurableLinkComponent","CmsThemeController","$dirty","CmsThemeComponent","_manageIconsController","_manageIcons2","ManageIconsController","givenErrorCode","givenNotificationCode","notificationMsg","BannersManagementController","allowDuplicates","initBanners","intervalCopy","publishBannerData","saveButtonText","editedBanner","uploadedBanner","BannersManagementComponent","URL_DEFAULT_VALUE","UploadBannerController","uploadBannerUrl","isNew","VLT_GAMES_PERMISSION","CmsGameImagesController","vltGamesPermission","acceptFileFormat","initAcceptFileFormat","acceptFileDimensions","initAcceptFileDimensions","CmsGameImagesComponent","numberOfGameImagesToSave","GamesTabController","_defaultParams2","showInfo","missingImageFilter","getMissingImageOptions","filtersForm","showSuccessCancelNotification","showStartSavingNotification","showSuccessSavingNotification","showErrorSavingNotification","GamesTabComponent","_fileHelpers","GameCardController","click","showFileReadError","fileResult","validateFile","isValidFileDimensions","widthFirst","heightFirst","widthSecond","heightSecond","GameCardComponent","dimensions","isValidDimensions","dimension","validateFileFormat","GameSelectorController","GameSelectorComponent","CmsMediaTemplatesController","hasDashboardSharePrivilege","hasJackpotsNextDrawsPrivilege","hasBigWinnersPrivilege","hasCumulativeWinnersPrivilege","hasAccessToMediaTemplatesPage","CmsMediaTemplatesComponent","_mediaTemplates","TemplateTabController","textAlignmentOptions","getTextAlignmentOptions","cloneEntries","editableEntries","showStartPreviewNotification","hideNotification","showErrorPreviewNotification","TemplateTabComponent","PosterPreviewFormDialogController","isGameNoAvailable","isPosterElementAvailable","isAmountAvailable","isDateAvailable","isRetailerNoAvailable","elementType","posterConfigElements","posterConfigElement","PosterPreviewFormDialogComponent","_loginPopup","CmsLoginPopupManagementController","initPopup","dateRangeError","currentCopy","propertiesCopy","setDate","setTime","timeFromError","timeToError","entriesToSave","propertiesToSave","dateTimeFrom","dateTimeTo","isSecondHandApproval","CmsLoginPopupManagementComponent","fetchLoginPopupRequest","fetchLoginPopupSuccess","fetchLoginPopupFailure","_widgetsManagementComponent","WidgetsEditController","DIRTY_FORM_MANAGEMENT","moreButtonOptions","getMoreLabels","initIcons","initWidget","generateIcons","fetchOnlyApprovedIcons","showAlertSuccess","EditWidgetComponent","$interpolate","dateSet","dateMinLimit","dateMaxLimit","dateMonthTitle","dateYearTitle","buttonNextTitle","buttonPrevTitle","dateDisabledDates","dateSetHidden","dateTyper","dateWeekStartDay","datepickerAppendTo","datepickerToggle","datepickerClass","datepickerShow","theCalendar","pageDatepickers","n","selector","thisInput","prevButton","buttonPrev","nextButton","buttonNext","isMouseOn","isMouseOnInput","datetime","htmlTemplate","toReturn","dateHeader","monthAndYearHeader","generateMonthAndYearHeader","yearsPaginationHeader","generateYearsPaginationHeader","daysColumns","aRow","generateHtmlTemplate","onClickOnWindow","hideCalendar","setDaysInMonth","dateWeekEndDay","limitDate","getDate","firstDayMonthNumber","getDay","lastDayMonthNumber","prevMonthDays","nextMonthDays","howManyNextDays","howManyPreviousDays","monthAlias","validateWeekDay","resetToMinDate","day","resetToMaxDate","setInputValue","isSelectableMinDate","isSelectableMaxDate","modelDate","triggerHandler","classHelper","ele","klass","className","stopBodyScrolling","bool","freezeVp","classList","showCalendar","selectedMonthString","selectedMonth","selectedDay","selectedYear","getMonth","unregisterDataSetWatcher","unregisterDateMinLimitWatcher","unregisterDateMaxLimitWatcher","unregisterDateFormatWatcher","nextMonth","willPrevMonthBeSelectable","prevDay","willNextMonthBeSelectable","prevMonth","selectedMonthHandle","selectedMonthNumber","setNewYear","isSelectableMaxYear","isSelectableMinYear","paginateYears","showYearsPagination","selectToday","setDatepickerDay","isSelectableDate","hasOwnProperty","focus","startingYear","theNewYears","paginationYears","rawDate","dateFormatDefinition","dateSplit","longName","shortName","MONTH","SHORTMONTH","localDateTimestamp","paginationYearsNextDisabled","paginationYearsPrevDisabled","aDate","weekDay","validWeekDay","calendarClicked","startSymbol","endSymbol","daysInString","Uint32Array","mathRand","datepickerID","placeholder","checkVisibility","$formatters","$parsers","NavbarController","unsubscribeStore","readyState","checkWidthAndSetMiniNavBar","unsubscribeDeviceChange","subscribeDeviceChange","addMiniNavbar","removeMiniNavbar","NavbarComponent","TopMenuController","setDynamicLocale","isLocaleChanged","formattedLocale","TopMenuComponent","fetchLotteryTermsDictionaryRequest","fetchLotteryTermsDictionarySuccess","fetchLotteryTermsDictionaryFailure"],"mappings":"gqBAAAA,EAAA,QACAA,EAAA,6DAEMC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AA8D,YAAA","file":"app.js?v=APP_VERSION","sourcesContent":["import _ from 'lodash';\r\nimport restApi from '../modules/app/rest.conf.json';\r\n\r\nclass Dependencies {\r\n constructor() {\r\n this.restSrv = null;\r\n this.rest = null;\r\n }\r\n\r\n setDeps(depsArr) {\r\n Object.keys(depsArr).forEach((key) => {\r\n this[key] = depsArr[key];\r\n });\r\n this.rest = restApi;\r\n }\r\n\r\n updateSession(session) {\r\n this.session = _.cloneDeep(session);\r\n }\r\n}\r\n\r\nexport default new Dependencies();\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/dependencies.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport helpers from 'auth/helpers/menu';\r\nimport { RETAILER_TYPE, CHAIN_SUFFIX } from 'app/validators/roles';\r\n\r\nimport menu from 'app/config/sidemenu';\r\n\r\nconst namespace = 'session';\r\nexport const SET_PAGE_TITLE = `${namespace}_SET_PAGE_TITLE`;\r\nexport const SET_LOCALE = `${namespace}_SET_LOCALE`;\r\nexport const INIT_SESSION = `${namespace}_INIT_SESSION`;\r\nexport const UPDATE_SESSION = `${namespace}_UPDATE_SESSION`;\r\nexport const SET_SIDE_MENU = `${namespace}_SET_SIDE_MENU`;\r\nexport const SET_TOP_MENU = `${namespace}_SET_TOP_MENU`;\r\nexport const SET_ACTIVE_ITEM = `${namespace}_SET_ACTIVE_ITEM`;\r\nexport const SET_ACTIVE_SUBITEM = `${namespace}_SET_ACTIVE_SUBITEM`;\r\nexport const SET_TOKENS = `${namespace}_SET_TOKENS`;\r\nexport const SET_USER_PRIVILEGES = `${namespace}_SET_USER_PRIVILEGES`;\r\nexport const SET_LEARNING_LINK = `${namespace}_SET_LEARNING_LINK`;\r\nexport const SET_ATTEMPTED_ROUTE = `${namespace}_SET_ATTEMPTED_ROUTE`;\r\nexport const SET_RETAILER_GROUPS = `${namespace}_SET_RETAILER_GROUPS`;\r\nexport const SET_OWNER_RETAILER_GROUPS = `${namespace}_SET_OWNER_RETAILER_GROUPS`;\r\nexport const TOGGLE_SUBMENU = 'TOGGLE_SUBMENU';\r\nexport const CLOSE_ALL_SIDEMENU_ITEMS = 'CLOSE_ALL_SIDEMENU_ITEMS';\r\n\r\nexport const saveSession = () => (dispatch, getState) => {\r\n const { session } = getState();\r\n DepsService.$sessionStorage.userSession = _.cloneDeep(session);\r\n return Promise.resolve();\r\n};\r\n\r\nexport const initializeSession = (session) => (dispatch) => {\r\n dispatch({\r\n type: INIT_SESSION,\r\n payload: session,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const applySessionData = (session) => (dispatch) => {\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: session,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const applyTopMenu = (topMenuItems) => (dispatch) => {\r\n dispatch({\r\n type: SET_TOP_MENU,\r\n payload: topMenuItems,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nconst subLevelItems = (items, id) => items.filter((x) => x.id && x.id.indexOf(`${id}.`) !== -1);\r\n\r\nconst hasAtLeastOneSubItemVisible = (items, item) => {\r\n const subItems = subLevelItems(items, item.id);\r\n return subItems.length > 0 && subItems.filter((subItem) => (!subItem.plainLink && subItem.hasAccess) || subItem.plainLink).length > 0;\r\n};\r\n\r\nexport const applySideMenu = (sideMenuItems) => (dispatch) => {\r\n const mainItems = sideMenuItems ? sideMenuItems.filter((x) => !x.id || x.id.indexOf('.') === -1) : [];\r\n\r\n mainItems.forEach((item) => {\r\n item.subItems = subLevelItems(sideMenuItems, item.id);\r\n item.subItems = item.subItems.filter((x) => x.plainLink || x.hasAccess || hasAtLeastOneSubItemVisible(sideMenuItems, x));\r\n });\r\n\r\n dispatch({\r\n type: SET_SIDE_MENU,\r\n payload: mainItems,\r\n });\r\n\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const applyMenu =\r\n (newModel = {}) =>\r\n (dispatch, getState) => {\r\n const {\r\n session,\r\n session: {\r\n role,\r\n retailer: { retailerType, isSuperChain },\r\n },\r\n } = getState();\r\n const roleConfig = DepsService.config.roles[role] || {};\r\n let roleKey;\r\n\r\n if (retailerType === RETAILER_TYPE.CHAIN_HEAD && isSuperChain) {\r\n roleKey = `${role}_${RETAILER_TYPE.CHAIN_HEAD}_${RETAILER_TYPE.SUPER_CHAIN}`;\r\n } else {\r\n roleKey = retailerType ? `${role}_${retailerType}` : role;\r\n }\r\n\r\n const sidemenu = helpers.generateMenu(_.get(menu, `roles[${roleKey}].sidemenu`) || roleConfig.sidemenu, {\r\n training: {\r\n href: session.lotteryLearningLink,\r\n },\r\n branding: {\r\n href: DepsService.config.brandingUrl,\r\n label: DepsService.config.brandingLabel,\r\n },\r\n });\r\n\r\n const topmenu = helpers.generateTopMenu(_.get(DepsService.config, `roles[${roleKey}].topmenu`) || roleConfig.topmenu);\r\n\r\n dispatch(applyTopMenu(topmenu));\r\n dispatch(applySideMenu(sidemenu));\r\n\r\n return newModel;\r\n };\r\n\r\nexport const toggleSubmenu = ({ id }) => ({\r\n type: TOGGLE_SUBMENU,\r\n id,\r\n});\r\n\r\nexport const closeAllSideMenuItems = () => (dispatch, getState) => {\r\n const { session } = getState();\r\n const { sidemenu } = session;\r\n\r\n const opened = sidemenu.find((item) => item.opened === true);\r\n\r\n if (opened) return dispatch({ type: CLOSE_ALL_SIDEMENU_ITEMS });\r\n};\r\n\r\nexport const setCurrentState = (toState, fromState) => (dispatch, getState) => {\r\n const {\r\n session: { sidemenu },\r\n } = getState();\r\n\r\n const reducedItems = sidemenu.reduce((reduced, reducedItem) => {\r\n reducedItem.active = false;\r\n\r\n if (toState.startsWith(reducedItem.sref)) {\r\n reducedItem.active = true;\r\n reducedItem.opened = fromState ? reducedItem.opened : !reducedItem.opened;\r\n } else {\r\n reducedItem.opened = fromState ? reducedItem.opened : false;\r\n }\r\n\r\n if (reducedItem.subItems) {\r\n reducedItem.subItems.forEach((subItem) => {\r\n subItem.active = false;\r\n if (toState.startsWith(subItem.sref)) {\r\n reducedItem.active = true;\r\n reducedItem.opened = fromState ? reducedItem.opened : true;\r\n subItem.active = true;\r\n }\r\n });\r\n }\r\n\r\n reduced.push(reducedItem);\r\n return reduced;\r\n }, []);\r\n\r\n dispatch({\r\n type: SET_SIDE_MENU,\r\n payload: reducedItems,\r\n });\r\n};\r\n\r\nexport const changePageTitle = (pageTitle) => (dispatch) => {\r\n dispatch({\r\n type: SET_PAGE_TITLE,\r\n payload: { pageTitle },\r\n });\r\n};\r\n\r\nexport const changeLocale = (locale) => (dispatch) => {\r\n moment.locale(locale);\r\n DepsService.gettextCatalog.setCurrentLanguage(locale);\r\n DepsService.gettextCatalog.loadRemote(`./languages/${locale}.json`);\r\n\r\n dispatch({\r\n type: SET_LOCALE,\r\n payload: { locale },\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setRetailerDashboardType = (retailerDashboardType, sessionId) => (dispatch) => {\r\n const isChainHead = retailerDashboardType === RETAILER_TYPE.CHAIN_HEAD;\r\n const isSuperChain = retailerDashboardType === RETAILER_TYPE.SUPER_CHAIN;\r\n const isIndependent = retailerDashboardType === RETAILER_TYPE.INDEPENDENT;\r\n const isChainSubordinate = retailerDashboardType === RETAILER_TYPE.CHAIN_SUBORDINATE;\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: {\r\n retailerDashboard: {\r\n isChainHead,\r\n isSuperChain,\r\n isIndependent,\r\n isChainSubordinate,\r\n sessionId,\r\n },\r\n },\r\n });\r\n return dispatch(saveSession());\r\n};\r\n\r\nexport const cleartRetailerDashboardType = () => (dispatch) => {\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: {\r\n retailerDashboard: {\r\n isChainHead: false,\r\n isSuperChain: false,\r\n isIndependent: false,\r\n isChainSubordinate: false,\r\n },\r\n },\r\n });\r\n return dispatch(saveSession());\r\n};\r\n\r\nexport const resetSession = () => () => {\r\n initializeSession({ ...DepsService.anonymousPrivileges });\r\n};\r\n\r\nexport const updateAuthHeaders = () => (dispatch, getState) => {\r\n const {\r\n session: {\r\n tokens: {\r\n jwt: { code },\r\n },\r\n },\r\n } = getState();\r\n DepsService.restSrv.HttpService.defaults.headers.common.Authorization = code ? `Bearer ${code}` : null;\r\n};\r\n\r\nexport const applyTokens = (tokens) => (dispatch) => {\r\n if (!tokens) {\r\n return Promise.reject();\r\n }\r\n\r\n const currentTimeStamp = Date.now();\r\n const jwtTokenExpiration = currentTimeStamp + (_.get(tokens, '0.tokenParams.expiresIn') || 0) * 1000;\r\n const refreshTokenExpiration = currentTimeStamp + (_.get(tokens, '1.tokenParams.expiresIn') || 0) * 1000;\r\n const jwtCode = tokens[0].token;\r\n const refreshCode = tokens[1].token;\r\n\r\n const sessionTokens = {\r\n jwt: {\r\n code: jwtCode,\r\n expiringTimestamp: jwtTokenExpiration,\r\n passwordExpired: tokens[0].tokenParams.passwordExpired,\r\n },\r\n refresh: {\r\n code: refreshCode,\r\n expiringTimestamp: refreshTokenExpiration,\r\n },\r\n };\r\n\r\n dispatch({\r\n type: SET_TOKENS,\r\n payload: sessionTokens,\r\n });\r\n\r\n dispatch(updateAuthHeaders());\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setUserPrivileges = (privileges) => (dispatch) => {\r\n dispatch({\r\n type: SET_USER_PRIVILEGES,\r\n payload: privileges,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setGtmsTime = (gtmsTimeUnix) => (dispatch, getState) => {\r\n const { session } = getState();\r\n const newSession = { ...session, gtmsTime: gtmsTimeUnix };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nconst timezoneDiffToSeconds = (timezoneDiff) => ((timezoneDiff * 1) / 100) * 3600;\r\n\r\nconst calculateLotteryTime = (serverTime, serverTimezoneDiff, lotteryTimezoneDiff) => {\r\n const serverTimezoneDiffSeconds = timezoneDiffToSeconds(serverTimezoneDiff);\r\n const lotteryTimezoneDiffSeconds = timezoneDiffToSeconds(lotteryTimezoneDiff);\r\n const serverTimeInUTC = serverTime - serverTimezoneDiffSeconds;\r\n const lotteryTimeWithTimezone = serverTimeInUTC + lotteryTimezoneDiffSeconds;\r\n return lotteryTimeWithTimezone;\r\n};\r\n\r\nexport const setServerTime = (serverTime, serverTimezoneDiff, lotteryTimezoneDiff, salesPeriodTime) => (dispatch, getState) => {\r\n const { session } = getState();\r\n const serverTimestamp = moment.utc(serverTime).unix();\r\n const salesPeriodTimestamp = moment.utc(salesPeriodTime).unix();\r\n\r\n const newSession = {\r\n ...session,\r\n serverTime: serverTimestamp,\r\n serverTimezoneDiff,\r\n salesPeriodTimestamp,\r\n lotteryTime: calculateLotteryTime(serverTimestamp, serverTimezoneDiff, lotteryTimezoneDiff),\r\n lotteryTimezoneDiff,\r\n };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setSuperChainRetailer = (newRetailer) => (dispatch, getState) => {\r\n const {\r\n session: { retailer },\r\n } = getState();\r\n\r\n const newRetailerObj = {\r\n ...retailer,\r\n retailerId: newRetailer.retailerId,\r\n retailerType: newRetailer.retailerType,\r\n isChain: newRetailer.retailerType ? newRetailer.retailerType.indexOf(CHAIN_SUFFIX) !== -1 : false,\r\n isChainHead: newRetailer.retailerType ? newRetailer.retailerType === RETAILER_TYPE.CHAIN_HEAD : false,\r\n isChainSubordinate: newRetailer.retailerType ? newRetailer.retailerType === RETAILER_TYPE.CHAIN_SUBORDINATE : false,\r\n };\r\n\r\n const newSession = {\r\n retailer: newRetailerObj,\r\n };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setStoreProfileRetailer = (isStoreProfile) => (dispatch, getState) => {\r\n const {\r\n session: { retailer },\r\n } = getState();\r\n\r\n const newSession = {\r\n retailer: { ...retailer, isStoreProfile },\r\n };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setRetailerGroups = (retailerGroups) => (dispatch) => {\r\n dispatch({\r\n type: SET_RETAILER_GROUPS,\r\n payload: retailerGroups,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setOwnerRetailerGroups = (retailerGroups) => (dispatch) => {\r\n dispatch({\r\n type: SET_OWNER_RETAILER_GROUPS,\r\n payload: retailerGroups,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setLearningLink = (link) => ({\r\n type: SET_LEARNING_LINK,\r\n payload: link,\r\n});\r\n\r\nexport const setAttemptedRoute = (route) => ({\r\n type: SET_ATTEMPTED_ROUTE,\r\n payload: route,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/actions/session.actions.js","import _ from 'lodash';\r\nimport actionTypes from './action-types';\r\n\r\nconst namespace = 'app';\r\n\r\nexport const CHECK_ACCESS = `${namespace}_CHECK_ACCESS`;\r\n\r\nexport const checkAccess = (permission = '', hasAccess) => (dispatch, getState) => {\r\n const {\r\n app: { validators },\r\n session: { privileges },\r\n } = getState();\r\n if (hasAccess) {\r\n return hasAccess;\r\n }\r\n\r\n const newActionKey = permission.replace(/(-)/g, '.');\r\n const privilege = _.get(privileges, newActionKey);\r\n return !!privilege && (privilege === newActionKey || privilege.id === newActionKey) && dispatch(checkValidators(validators, newActionKey));\r\n};\r\n\r\nexport const checkValidators = (validators, model, actionKey) => (dispatch, getState) => (_.get(validators, actionKey) || []).every((fn) => fn.call(null));\r\n\r\nexport const checkValidatorsLazy = (actionKey) => (dispatch, getState) => {\r\n const {\r\n app: { validators },\r\n } = getState();\r\n return {\r\n check: (model) => checkValidators(validators, model, actionKey),\r\n };\r\n};\r\n\r\nexport const checkAccessLazy = (actionKey) => (dispatch, getState) => {\r\n const {\r\n app: { validators },\r\n } = getState();\r\n return {\r\n check: (model, hasAccess = false) => checkAccess(actionKey, hasAccess),\r\n };\r\n};\r\n\r\nexport const fetchConfigRequest = () => ({\r\n type: actionTypes.FETCH_CONFIG_REQUEST,\r\n});\r\n\r\nexport const fetchConfigSuccess = (config) => ({\r\n type: actionTypes.FETCH_CONFIG_SUCCESS,\r\n config,\r\n});\r\n\r\nexport const fetchConfigFailure = () => ({\r\n type: actionTypes.FETCH_CONFIG_FAILURE,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/app.actions.js","const namespace = 'dirtyForms';\r\n\r\nexport const SET_DIRTY_FORM = `${namespace}_SET_DIRTY_FORM`;\r\nexport const CLEAR_DIRTY_FORM = `${namespace}_CLEAR_DIRTY_FORM`;\r\n\r\nexport const setDirtyForm = (form, value = true) => (dispatch) => {\r\n dispatch({\r\n type: SET_DIRTY_FORM,\r\n payload: {\r\n form,\r\n value,\r\n },\r\n });\r\n};\r\n\r\nexport const clearDirtyForm = () => (dispatch) => {\r\n dispatch({\r\n type: CLEAR_DIRTY_FORM\r\n });\r\n};\r\n\r\nexport const checkDirtyForm = (form) => (dispatch, getState) => {\r\n const { dirtyForms } = getState();\r\n return dirtyForms[form];\r\n};\r\n\r\nexport const isAnyDirtyForm = () => (dispatch, getState) => {\r\n const { dirtyForms } = getState();\r\n return !!Object.entries(dirtyForms).find(entry => entry[1]);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dirty-forms.actions.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport print from 'print-js';\r\n\r\nconst USER_STATUS_CREATED = 'CREATED';\r\n\r\n// ui helpers\r\nfunction validateField(form, field) {\r\n form[field].$validate();\r\n form[field].$submitted = true;\r\n if (!form[field].$viewValue) {\r\n form[field].$submitted = false;\r\n }\r\n}\r\n\r\nfunction shouldShowValidation(field) {\r\n return ((field.$$parentForm.$submitted || field.$submitted) && field.$pristine) || field.$touched;\r\n}\r\n\r\nfunction compare(fieldName, a, b) {\r\n if (a[fieldName] < b[fieldName]) {\r\n return -1;\r\n }\r\n\r\n if (a[fieldName] > b[fieldName]) {\r\n return 1;\r\n }\r\n\r\n return 0;\r\n}\r\n\r\nfunction b64toBlob(b64Data, contentType = '', sliceSize = 512) {\r\n const byteCharacters = atob(b64Data);\r\n const byteArrays = [];\r\n\r\n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\r\n const slice = byteCharacters.slice(offset, offset + sliceSize);\r\n\r\n const byteNumbers = new Array(slice.length);\r\n for (let i = 0; i < slice.length; i++) {\r\n byteNumbers[i] = slice.charCodeAt(i);\r\n }\r\n\r\n const byteArray = new Uint8Array(byteNumbers);\r\n\r\n byteArrays.push(byteArray);\r\n }\r\n\r\n const blob = new Blob(byteArrays, { type: contentType });\r\n return blob;\r\n}\r\n\r\nfunction downloadFile(context, deps, url, attachment, fileParams = {}) {\r\n if (attachment.fileSource) {\r\n const b64Data = attachment.fileSource.split(',');\r\n const blob = b64toBlob(b64Data[1], attachment.fileType);\r\n return window.saveAs(blob, attachment.name);\r\n }\r\n return deps.restSrv\r\n .downloadBlob(context, url, null, {\r\n jurisdictionId: deps.config.jurisdictionId,\r\n contentId: attachment.id,\r\n })\r\n .promise.then((result) => {\r\n const blob = new Blob([result.data], fileParams);\r\n window.saveAs(blob, attachment.name);\r\n });\r\n}\r\n\r\nfunction printElement(elementId) {\r\n print({\r\n printable: elementId,\r\n type: 'html',\r\n documentTitle: '',\r\n ignoreElements: ['action-column'],\r\n });\r\n}\r\n\r\nfunction redirectToFirstPageFromMenu(deps, stateParams = {}, options = {}) {\r\n const session = JSON.parse(sessionStorage['ngStorage-userSession']);\r\n const { sidemenu } = session;\r\n\r\n const firstAllowedPageFromMenu = sidemenu.find((menuElement) => menuElement.hasAccess === true);\r\n\r\n deps.$state.go(firstAllowedPageFromMenu.sref, stateParams, options);\r\n}\r\n\r\nfunction redirectToPasswordReset(deps, stateParams = {}, options = {}) {\r\n const title = deps.gettextCatalog.getString('Password reset required!');\r\n const content = deps.gettextCatalog.getString(\r\n 'Your password must be reset, click OK button to be redirected to Create New Password screen.'\r\n );\r\n\r\n stateParams.skipDirtyForms = true;\r\n\r\n return deps.Notifications.showAlert(title, content).result.then(() => deps.$state.go('auth-changePassword', stateParams, options));\r\n}\r\n\r\nfunction redirectToHome(deps, stateParams = {}, options = {}) {\r\n deps.$state.go('home-view', stateParams, options);\r\n}\r\n\r\nfunction redirectAfterLogin(deps, model, attemptedRoute, stateParams = { skipDirtyForms: true }, options = {}) {\r\n const { session } = deps.$ngRedux.getState();\r\n const { loggedIn = false, privileges } = session;\r\n\r\n if (loggedIn && attemptedRoute) {\r\n const redirect = _.get(privileges, attemptedRoute.replace(/(-)/g, '.'));\r\n if (redirect) return deps.$state.go(attemptedRoute, stateParams, options);\r\n }\r\n if (loggedIn) {\r\n return redirectToFirstPageFromMenu(deps, stateParams, options);\r\n }\r\n if (attemptedRoute) {\r\n return deps.$state.go(attemptedRoute, stateParams, options);\r\n }\r\n return redirectToHome(deps, stateParams, options);\r\n}\r\n\r\nfunction getLocales() {\r\n const { config } = DepsService.$ngRedux.getState();\r\n const { locales } = config;\r\n return locales;\r\n}\r\n\r\n/*\r\n * CMS helpers\r\n */\r\nfunction getFieldsFromEntry(entry) {\r\n const locales = getLocales();\r\n const fields = {};\r\n\r\n Object.keys(entry.fields || {}).forEach((key) => {\r\n if (locales.findIndex((locale) => locale.code === key) > -1) {\r\n fields[key] = entry.fields[key].reduce((fieldObj, field) => {\r\n fieldObj[field.id] = field.value;\r\n return fieldObj;\r\n }, {});\r\n }\r\n });\r\n\r\n return fields;\r\n}\r\n\r\nfunction setFieldsToEntry(entry) {\r\n const locales = getLocales();\r\n const fields = {};\r\n\r\n locales.map((locale) => {\r\n if (entry[locale.code]) {\r\n fields[locale.code] = Object.keys(entry[locale.code]).reduce(\r\n (fields, key) =>\r\n fields.concat([\r\n {\r\n id: key,\r\n value: entry[locale.code][key],\r\n },\r\n ]),\r\n [],\r\n entry[locale.code]\r\n );\r\n }\r\n });\r\n return fields;\r\n}\r\n\r\n/*\r\n * END CMS helpers\r\n */\r\n\r\nfunction dragMove(eventObj) {\r\n const scrollMargin = document.getElementById('navbar').offsetHeight;\r\n const below = eventObj.clientY > window.innerHeight - scrollMargin;\r\n const above = eventObj.clientY < scrollMargin;\r\n if (below || above) {\r\n document.getElementById('body').scrollTop += below ? scrollMargin : -scrollMargin;\r\n }\r\n}\r\n\r\nfunction generateUUID() {\r\n const uuid = ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>\r\n (c ^ ((window.crypto || window.msCrypto).getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))).toString(16)\r\n );\r\n return uuid;\r\n}\r\n\r\n// get last children\r\nfunction extractDictionaryItem(dictionaryArray, availableStatuses = []) {\r\n return dictionaryArray.reduce((reduced, item) => {\r\n const statusObj = item.typeCodeTexts[0];\r\n const path = _.last(item.path.split('.'));\r\n if (availableStatuses.length === 0 || availableStatuses.indexOf(path) > -1) {\r\n reduced[item.typeCode] = {\r\n path: path.toUpperCase(),\r\n displayText: _.get(statusObj, 'displayText') || '',\r\n };\r\n }\r\n return reduced;\r\n }, {});\r\n}\r\n\r\n// get exact childs from the given dictionary path\r\nfunction extractDictionaryRoot(dictionaryArray, path) {\r\n return dictionaryArray.reduce((reduced, item) => {\r\n const statusObj = item.typeCodeTexts[0];\r\n const splittedLength = item.path.split('.').length;\r\n const pathSplitLength = path.split('.').length + 1;\r\n\r\n if (pathSplitLength === splittedLength) {\r\n reduced[item.typeCode] = {\r\n path: path.toUpperCase(),\r\n displayText: _.get(statusObj, 'displayText') || '',\r\n };\r\n }\r\n return reduced;\r\n }, {});\r\n}\r\n\r\nfunction trimHtml(content, trim = true) {\r\n const div = document.createElement('div');\r\n div.innerHTML = content;\r\n return trim ? div.innerText.trim() : div.innerText;\r\n}\r\n\r\nfunction setHeader(extension) {\r\n switch (extension) {\r\n case 'csv': {\r\n return { Accept: 'text/csv' };\r\n }\r\n case 'xlsx': {\r\n return { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n }\r\n default:\r\n return {};\r\n }\r\n}\r\n\r\nfunction calculateDaysLeftToPercentages(daysLeft, threshold) {\r\n const shouldCalculatePercentages = threshold >= daysLeft && daysLeft >= 0;\r\n const isBondRenewalExceeded = daysLeft <= 0;\r\n\r\n if (shouldCalculatePercentages) {\r\n const percent = ((threshold - daysLeft) / threshold) * 100;\r\n return Math.round(percent);\r\n }\r\n\r\n if (isBondRenewalExceeded) return 100;\r\n\r\n return 0;\r\n}\r\n\r\nexport default {\r\n extractDictionaryItem,\r\n extractDictionaryRoot,\r\n validateField,\r\n shouldShowValidation,\r\n compare,\r\n b64toBlob,\r\n printElement,\r\n redirectAfterLogin,\r\n redirectToPasswordReset,\r\n redirectToHome,\r\n redirectToFirstPageFromMenu,\r\n getFieldsFromEntry,\r\n setFieldsToEntry,\r\n dragMove,\r\n downloadFile,\r\n generateUUID,\r\n trimHtml,\r\n setHeader,\r\n calculateDaysLeftToPercentages,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/app-helpers.js","import isObject from 'lodash/isObject';\r\nimport get from 'lodash/get';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope')\r\nclass DashboardWidgetController {\r\n constructor() {\r\n this.isLoading = true;\r\n this.isMaintenance = false;\r\n }\r\n\r\n loadDataAsync(loadDataFunction, transformDataFunction, isEmptyPath) {\r\n this.isLoading = true;\r\n this.$scope.$applyAsync(\r\n loadDataFunction()\r\n .then((data) => {\r\n const checkIfEmpty = (dataToCheck) => {\r\n if (isObject(dataToCheck)) {\r\n if (isEmptyPath) return isEmpty(get(dataToCheck, isEmptyPath));\r\n return isEmpty(dataToCheck);\r\n }\r\n return !dataToCheck;\r\n };\r\n this.isEmpty = checkIfEmpty(data);\r\n this.data = !this.isEmpty && transformDataFunction ? transformDataFunction(data) : data;\r\n })\r\n .catch((error) => {\r\n console.error('WIDGET_LOAD_DATA', error);\r\n this.isMaintenance = true;\r\n })\r\n .finally(() => {\r\n this.isLoading = false;\r\n })\r\n );\r\n }\r\n}\r\n\r\nexport default DashboardWidgetController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/dashboard-widget-controller.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\n\r\nexport const ASC_DESC_MAPPING = {\r\n true: 'asc', // eslint-disable-line quote-props\r\n false: 'desc', // eslint-disable-line quote-props\r\n};\r\n\r\nexport const defaultFilterHandler = (item, filters, key) => {\r\n const filterValue = _.toString(_.get(filters, key)).toLowerCase();\r\n const itemValue = _.toString(_.get(item, key)).toLowerCase();\r\n return !filterValue || itemValue.indexOf(filterValue) > -1;\r\n};\r\n\r\nexport function initGrid(fetchFunction, params = {}) {\r\n const gridModel = initialGridModel(params);\r\n const fetchDataFunc = fetchData.bind(null, fetchFunction, gridModel);\r\n const gotoPageFunc = gotoPage.bind(null, gridModel, fetchDataFunc);\r\n\r\n const gridProto = {\r\n fetchData: fetchDataFunc,\r\n applyFilters: applyFilters.bind(null, gridModel, fetchDataFunc),\r\n sortByColumn: sortByColumn.bind(null, gridModel, fetchDataFunc),\r\n changePageSize: changePageSize.bind(null, gridModel, fetchDataFunc),\r\n gotoPage: gotoPageFunc,\r\n nextPage: nextPage.bind(null, gridModel, gotoPageFunc),\r\n prevPage: prevPage.bind(null, gridModel, gotoPageFunc),\r\n };\r\n\r\n return Object.assign({}, gridProto, gridModel);\r\n}\r\n\r\nfunction initialGridModel(params) {\r\n return {\r\n loaded: false,\r\n pagingModel: {\r\n [DepsService.config.pageNoKey]: params[DepsService.config.pageNoKey] || DepsService.config.defaultPageNo,\r\n [DepsService.config.pageSizeKey]: params[DepsService.config.pageSizeKey] || DepsService.config.defaultPageSize[0],\r\n [DepsService.config.sortColumnKey]: params[DepsService.config.sortColumnKey] || DepsService.config.defaultSortColumnKey,\r\n [DepsService.config.directionKey]: params[DepsService.config.directionKey] === undefined ? DepsService.config.defaultSortDirection : params[DepsService.config.directionKey],\r\n [DepsService.config.filtersKey]: {},\r\n retailerId: params['retailerId'] || void 0,\r\n },\r\n };\r\n}\r\n\r\nfunction fetchData(fetchFunction, gridModel) {\r\n return fetchFunction(gridModel.pagingModel);\r\n}\r\n\r\nfunction gotoPage(gridModel, fetchFunction, page) {\r\n gridModel.pagingModel[DepsService.config.pageNoKey] = Number.isNaN(page) ? 0 : page;\r\n return fetchFunction();\r\n}\r\n\r\nfunction nextPage(gridModel, gotoPageFunc) {\r\n let pageNo = gridModel.pagingModel[DepsService.config.pageNoKey];\r\n return gotoPageFunc(++pageNo);\r\n}\r\n\r\nfunction prevPage(gridModel, gotoPageFunc) {\r\n let pageNo = gridModel.pagingModel[DepsService.config.pageNoKey];\r\n return gotoPageFunc(--pageNo);\r\n}\r\n\r\nfunction setFilters(DepsService, gridModel, model, filters) {\r\n return _.set(model, `${gridModel}.${DepsService.config.filtersKey}`, filters);\r\n}\r\n\r\nfunction removeEmptyFilters(filters = []) {\r\n return Object.keys(filters).reduce((newFilters, key) => {\r\n const value = filters[key];\r\n if (value !== undefined && value !== null && value !== '') {\r\n newFilters[key] = value;\r\n }\r\n return newFilters;\r\n }, {});\r\n}\r\n\r\nfunction applyFilters(gridModel, fetchDataFunc, filters) {\r\n gridModel.pagingModel[DepsService.config.filtersKey] = filters || gridModel.pagingModel[DepsService.config.filtersKey];\r\n gridModel.pagingModel[DepsService.config.filtersKey] = removeEmptyFilters(gridModel.pagingModel[DepsService.config.filtersKey]);\r\n gridModel.pagingModel[DepsService.config.pageNoKey] = 0;\r\n return fetchDataFunc(gridModel);\r\n}\r\n\r\nfunction sortByColumn(gridModel, fetchData, column, direction) {\r\n gridModel.pagingModel[DepsService.config.sortColumnKey] = column;\r\n gridModel.pagingModel[DepsService.config.directionKey] = direction.toString();\r\n return fetchData(gridModel);\r\n}\r\n\r\nfunction changePageSize(gridModel, fetchData, pageSize) {\r\n gridModel.pagingModel[DepsService.config.pageSizeKey] = pageSize;\r\n return fetchData(gridModel);\r\n}\r\n\r\nexport function sortItems(items, column, direction) {\r\n items = items.map((item) => {\r\n item[column + 'toLowerCase'] = _.isString(item[column]) ? item[column].toLowerCase() : item[column];\r\n return item;\r\n });\r\n items = _.orderBy(items, [column + 'toLowerCase'], [direction]);\r\n items = items.map((item) => {\r\n _.unset(item, [column + 'toLowerCase']);\r\n return item;\r\n });\r\n return items;\r\n}\r\n\r\nexport function filterItems(items, filters = {}, customHandlers = {}) {\r\n const filterKeys = Object.keys(filters).filter((item) => filters[item] !== undefined && filters[item] !== null);\r\n return _.cloneDeep(items).filter((item) => filterKeys.every((key) => (customHandlers[key] || defaultFilterHandler)(item, filters, key)));\r\n}\r\n\r\nexport function evalMeta(result) {\r\n return {\r\n count: result.totalElements,\r\n pagesCount: result.totalPages,\r\n page: result.number,\r\n displayedPage: ++result.number,\r\n pageSize: result.size,\r\n hasPreviousPage: result.hasPrevious,\r\n hasNextPage: result.hasNext,\r\n };\r\n}\r\n\r\nexport default {\r\n setFilters,\r\n defaultFilterHandler,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/grid/grid.js","export default {\r\n FETCH_PRICE_POINTS_DICTIONARY_REQUEST: 'FETCH_PRICE_POINTS_DICTIONARY_REQUEST',\r\n FETCH_PRICE_POINTS_DICTIONARY_SUCCESS: 'FETCH_PRICE_POINTS_DICTIONARY_SUCCESS',\r\n FETCH_PRICE_POINTS_DICTIONARY_FAILURE: 'FETCH_PRICE_POINTS_DICTIONARY_FAILURE',\r\n\r\n FETCH_PACK_STATUSES_DICTIONARY_REQUEST: 'FETCH_PACK_STATUSES_DICTIONARY_REQUEST',\r\n FETCH_PACK_STATUSES_DICTIONARY_SUCCESS: 'FETCH_PACK_STATUSES_DICTIONARY_SUCCESS',\r\n FETCH_PACK_STATUSES_DICTIONARY_FAILURE: 'FETCH_PACK_STATUSES_DICTIONARY_FAILURE',\r\n\r\n FETCH_ORDER_STATUSES_DICTIONARY_REQUEST: 'FETCH_ORDER_STATUSES_DICTIONARY_REQUEST',\r\n FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS: 'FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS',\r\n FETCH_ORDER_STATUSES_DICTIONARY_FAILURE: 'FETCH_ORDER_STATUSES_DICTIONARY_FAILURE',\r\n\r\n FETCH_USER_CLASS_DICTIONARY_REQUEST: 'FETCH_USER_CLASS_DICTIONARY_REQUEST',\r\n FETCH_USER_CLASS_DICTIONARY_SUCCESS: 'FETCH_USER_CLASS_DICTIONARY_SUCCESS',\r\n FETCH_USER_CLASS_DICTIONARY_FAILURE: 'FETCH_USER_CLASS_DICTIONARY_FAILURE',\r\n\r\n FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST: 'FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST',\r\n FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS: 'FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS',\r\n FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE: 'FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE',\r\n\r\n FETCH_TIERS_DICTIONARY_REQUEST: 'FETCH_TIERS_DICTIONARY_REQUEST',\r\n FETCH_TIERS_DICTIONARY_SUCCESS: 'FETCH_TIERS_DICTIONARY_SUCCESS',\r\n FETCH_TIERS_DICTIONARY_FAILURE: 'FETCH_TIERS_DICTIONARY_FAILURE',\r\n\r\n FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST: 'FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST',\r\n FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS: 'FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS',\r\n FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE: 'FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE',\r\n\r\n FETCH_INVOICE_DATES_DICTIONARY_REQUEST: 'FETCH_INVOICE_DATES_DICTIONARY_REQUEST',\r\n FETCH_INVOICE_DATES_DICTIONARY_SUCCESS: 'FETCH_INVOICE_DATES_DICTIONARY_SUCCESS',\r\n FETCH_INVOICE_DATES_DICTIONARY_FAILURE: 'FETCH_INVOICE_DATES_DICTIONARY_FAILURE',\r\n\r\n FETCH_USER_TEMPLATES_DICTIONARY_REQUEST: 'FETCH_USER_TEMPLATES_DICTIONARY_REQUEST',\r\n FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS: 'FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS',\r\n FETCH_USER_TEMPLATES_DICTIONARY_FAILURE: 'FETCH_USER_TEMPLATES_DICTIONARY_FAILURE',\r\n\r\n FETCH_OUTLET_TYPES_DICTIONARY_REQUEST: 'FETCH_OUTLET_TYPES_DICTIONARY_REQUEST',\r\n FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS: 'FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS',\r\n FETCH_OUTLET_TYPES_DICTIONARY_FAILURE: 'FETCH_OUTLET_TYPES_DICTIONARY_FAILURE',\r\n\r\n FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST: 'FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST',\r\n FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS: 'FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS',\r\n FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE: 'FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE',\r\n\r\n FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST: 'FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST',\r\n FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS: 'FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS',\r\n FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE: 'FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE',\r\n\r\n FETCH_LOTTERY_TERMS_DICTIONARY_REQUEST: 'FETCH_LOTTERY_TERMS_DICTIONARY_REQUEST',\r\n FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS: 'FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS',\r\n FETCH_LOTTERY_TERMS_DICTIONARY_FAILURE: 'FETCH_LOTTERY_TERMS_DICTIONARY_FAILURE',\r\n\r\n FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST: 'FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST',\r\n FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS: 'FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS',\r\n FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE: 'FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/dictionaries.action-types.js","import { createSelector } from 'reselect';\r\nimport get from 'lodash/get';\r\n\r\nexport const getApplicationName = createSelector(\r\n [(state) => state.session.locale, (state) => state.config.applicationName],\r\n (locale, applicationName) => applicationName[locale]\r\n);\r\n\r\nexport const getOAuthClientId = ({ session }) => session.oAuthClientId;\r\n\r\nexport const getRetailerId = ({ session }) => get(session, 'retailer.retailerId');\r\n\r\nexport const getLicenseId = ({ relicensing }) => get(relicensing, 'licenseForm.arwTermsVersion');\r\n\r\nexport const isSuperChainSelector = ({ session }) =>\r\n get(session, 'retailer.isSuperChain', false) || get(session, 'retailerDashboard.isSuperChain', false);\r\n\r\nexport const isChainHeadSelector = ({ session }) =>\r\n get(session, 'retailer.isChainHead', false) || get(session, 'retailerDashboard.isChainHead', false);\r\n\r\nexport const isChainSubordinateSelector = ({ session }) =>\r\n get(session, 'retailer.isChainSubordinate', false) || get(session, 'retailerDashboard.isChainSubordinate', false);\r\n\r\nexport const isIndependentSelector = ({ session }) =>\r\n get(session, 'retailer.isIndependent', false) || get(session, 'retailerDashboard.isIndependent', false);\r\n\r\nexport const isStoreProfileSelector = ({ session }) => get(session, 'retailer.isStoreProfile', false);\r\n\r\nexport const isRetailerDashboardSelector = ({ retailerDashboards }) => !!retailerDashboards.type;\r\n\r\nconst inboxMessagesSelector = (state) => state.messages.inbox;\r\nconst selectedMessagesListSelector = (state) => state.messages.selectedMessages.selectedMessagesList;\r\n\r\nexport const selectedMessageDetailsSelector = createSelector(\r\n [inboxMessagesSelector, selectedMessagesListSelector],\r\n (inbox, selectedMessagesList) => {\r\n if (selectedMessagesList.length === 0) return null;\r\n const [selectedId] = selectedMessagesList;\r\n\r\n return inbox.find((msg) => msg.userMessageId === selectedId);\r\n }\r\n);\r\n\r\nconst activeAnnouncementsSelector = (state) => state.announcements.active;\r\n\r\nexport const isEmptyActiveAnnouncementsSelector = createSelector(\r\n [activeAnnouncementsSelector],\r\n (announcements) => announcements.length === 0\r\n);\r\n\r\nconst firstNameSelector = (state) => state.session.firstName;\r\nconst lastNameSelector = (state) => state.session.lastName;\r\nconst MAX_WELCOME_LENGTH = 20;\r\n\r\nexport const getDisplayUserNameSelector = createSelector([firstNameSelector, lastNameSelector], (firstName, lastName) => {\r\n // Check if first name and last name exist\r\n if (!firstName || !lastName) {\r\n return null;\r\n }\r\n // For those users whose first and last names together exceed limit of 20 characters, the system shall...\r\n if (firstName.length + lastName.length > MAX_WELCOME_LENGTH) {\r\n // If both first name and last name exceeds our maximum length of 20, names shall be eliminated altogether\r\n if (firstName.length > MAX_WELCOME_LENGTH && lastName.length > MAX_WELCOME_LENGTH) {\r\n return '';\r\n }\r\n // If the last name is the same length as the first name\r\n if (firstName.length === lastName.length) {\r\n return firstName;\r\n }\r\n // If the last name is 1-2 characters shorter than the first name\r\n if (firstName.length - lastName.length >= 1 && firstName.length - lastName.length < 3) {\r\n return firstName;\r\n }\r\n // Where the first name is 3+ characters longer than the last name\r\n if (firstName.length - lastName.length >= 3) {\r\n return `${firstName.charAt(0)}. ${lastName}`;\r\n }\r\n // If the last name is longer than the first name\r\n if (lastName.length > firstName.length) {\r\n return firstName;\r\n }\r\n }\r\n return `${firstName} ${lastName}`;\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/selectors/index.js","export default {\r\n DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST: 'DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST',\r\n DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS: 'DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS',\r\n DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE: 'DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE',\r\n\r\n DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST: 'DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST',\r\n DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS: 'DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS',\r\n DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE: 'DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE',\r\n\r\n FETCH_GAMES_LIST_REQUEST: 'FETCH_GAMES_LIST_REQUEST',\r\n FETCH_GAMES_LIST_SUCCESS: 'FETCH_GAMES_LIST_SUCCESS',\r\n FETCH_GAMES_LIST_FAILURE: 'FETCH_GAMES_LIST_FAILURE',\r\n\r\n FETCH_PACKS_LIST_REQUEST: 'FETCH_PACKS_LIST_REQUEST',\r\n FETCH_PACKS_LIST_SUCCESS: 'FETCH_PACKS_LIST_SUCCESS',\r\n FETCH_PACKS_LIST_FAILURE: 'FETCH_PACKS_LIST_FAILURE',\r\n\r\n FETCH_PACKS_GROSS_VALUE_LIST_REQUEST: 'FETCH_PACKS_GROSS_VALUE_LIST_REQUEST',\r\n FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS: 'FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS',\r\n FETCH_PACKS_GROSS_VALUE_LIST_FAILURE: 'FETCH_PACKS_GROSS_VALUE_LIST_FAILURE',\r\n\r\n FETCH_PACK_DETAILS_REQUEST: 'FETCH_PACK_DETAILS_REQUEST',\r\n FETCH_PACK_DETAILS_SUCCESS: 'FETCH_PACK_DETAILS_SUCCESS',\r\n FETCH_PACK_DETAILS_FAILURE: 'FETCH_PACK_DETAILS_FAILURE',\r\n\r\n FETCH_ORDER_DETAILS_REQUEST: 'FETCH_ORDER_DETAILS_REQUEST',\r\n FETCH_ORDER_DETAILS_SUCCESS: 'FETCH_ORDER_DETAILS_SUCCESS',\r\n FETCH_ORDER_DETAILS_FAILURE: 'FETCH_ORDER_DETAILS_FAILURE',\r\n\r\n FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST: 'FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST',\r\n FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS: 'FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS',\r\n FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE: 'FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE',\r\n\r\n FETCH_LIABILITIES_REQUEST: 'FETCH_LIABILITIES_REQUEST',\r\n FETCH_LIABILITIES_SUCCESS: 'FETCH_LIABILITIES_SUCCESS',\r\n FETCH_LIABILITIES_FAILURE: 'FETCH_LIABILITIES_FAILURE',\r\n\r\n FETCH_ORDER_HISTORY_REQUEST: 'FETCH_ORDER_HISTORY_REQUEST',\r\n FETCH_ORDER_HISTORY_SUCCESS: 'FETCH_ORDER_HISTORY_SUCCESS',\r\n FETCH_ORDER_HISTORY_FAILURE: 'FETCH_ORDER_HISTORY_FAILURE',\r\n\r\n ON_ITEM_LIST_SELECTION: 'ON_ITEM_LIST_SELECTION',\r\n RESET_DETAILS_DIALOG_DATA: 'RESET_DETAILS_DIALOG_DATA',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/action-types.js","export const loadingStatusAccordingToReducer = (loadingStatusName = '') => (state = false, action) => {\r\n const { name } = action;\r\n if (name !== loadingStatusName) return state;\r\n\r\n const suffix = action.type.split('_').pop();\r\n\r\n switch (suffix) {\r\n case 'SUCCESS':\r\n case 'FAILURE':\r\n return false;\r\n case 'REQUEST':\r\n return true;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/loading-status/loading-status.js","import get from 'lodash/get';\r\n\r\nclass DefaultDialogController {\r\n constructor() {\r\n const resolve = get(this, '$resolve') || {};\r\n Object.keys(resolve).forEach((key) => {\r\n this[key] = resolve[key];\r\n });\r\n }\r\n\r\n close() {\r\n return this.$dismiss();\r\n }\r\n\r\n confirm(result) {\r\n return this.$close(result);\r\n }\r\n}\r\n\r\nexport default DefaultDialogController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/notifications/default-dialog-controller.js","const EMPTY_ROLES = [];\r\nconst RETAILER_PRIMARY_ROLE = 'RETAILER_PRIMARY';\r\nconst PRIMARY_USER_ROLES = [RETAILER_PRIMARY_ROLE];\r\nconst SECONDARY_USER_ROLES = ['RETAILER_SECONDARY'];\r\nconst PROSPECT_ROLES = ['PROSPECT'];\r\nconst ADMIN_ROLES = ['ADMIN'];\r\nconst ADMIN_TEMPORARY_ROLES = ['ADMINTemporary'];\r\nconst RETAILER_GROUP_ROLES = ['RETAILER_GROUP'];\r\nconst RETAILER_GROUP_TEMPORARY_ROLES = ['RETAILER_GROUPTemporary'];\r\nconst USER_ROLES = PRIMARY_USER_ROLES.concat(SECONDARY_USER_ROLES, PROSPECT_ROLES, RETAILER_GROUP_ROLES);\r\nconst TEMPORARY_ROLES = ['RETAILER_PRIMARYTemporary', 'RETAILER_GROUPTemporary', 'RETAILER_SECONDARYTemporary', 'ADMINTemporary'];\r\nconst LOGGED_USER_ROLES = ADMIN_ROLES.concat(USER_ROLES);\r\nconst ANONYOUS_ROLE = TEMPORARY_ROLES.concat(['anonymous', 'mock']);\r\nconst ALL_ROLES = ANONYOUS_ROLE.concat(LOGGED_USER_ROLES);\r\nconst ADMIN_WITH_PRIMARY_ROLES = ADMIN_ROLES.concat(PRIMARY_USER_ROLES);\r\nexport const CHAIN_SUFFIX = 'CHAIN_';\r\nexport const RETAILER_TYPE = {\r\n CHAIN_HEAD: 'CHAIN_HEAD',\r\n CHAIN_SUBORDINATE: 'CHAIN_SUBORDINATE',\r\n SUPER_CHAIN: 'SUPER_CHAIN',\r\n INDEPENDENT: 'INDEPENDENT',\r\n};\r\n\r\nexport default {\r\n RETAILER_PRIMARY_ROLE,\r\n EMPTY_ROLES,\r\n PRIMARY_USER_ROLES,\r\n SECONDARY_USER_ROLES,\r\n PROSPECT_ROLES,\r\n ADMIN_ROLES,\r\n ADMIN_TEMPORARY_ROLES,\r\n USER_ROLES,\r\n TEMPORARY_ROLES,\r\n LOGGED_USER_ROLES,\r\n ANONYOUS_ROLE,\r\n ALL_ROLES,\r\n ADMIN_WITH_PRIMARY_ROLES,\r\n RETAILER_GROUP_ROLES,\r\n RETAILER_GROUP_TEMPORARY_ROLES,\r\n RETAILER_TYPE,\r\n CHAIN_SUFFIX,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/validators/roles.js","export default {\r\n FETCH_CONFIG_REQUEST: 'FETCH_CONFIG_REQUEST',\r\n FETCH_CONFIG_SUCCESS: 'FETCH_CONFIG_SUCCESS',\r\n FETCH_CONFIG_FAILURE: 'FETCH_CONFIG_FAILURE',\r\n\r\n SAVE_THEME_REQUEST: 'SAVE_THEME_REQUEST',\r\n SAVE_THEME_SUCCESS: 'SAVE_THEME_SUCCESS',\r\n SAVE_THEME_FAILURE: 'SAVE_THEME_FAILURE',\r\n\r\n SET_CURRENT_THEME_SUCCESS: 'SET_CURRENT_THEME_SUCCESS',\r\n UPDATE_THEME_COLOR_SUCCESS: 'UPDATE_THEME_COLOR_SUCCESS',\r\n\r\n FETCH_BANNERS_REQUEST: 'FETCH_BANNERS_REQUEST',\r\n FETCH_BANNERS_SUCCESS: 'FETCH_BANNERS_SUCCESS',\r\n FETCH_BANNERS_FAILURE: 'FETCH_BANNERS_FAILURE',\r\n\r\n FETCH_LOGIN_POPUP_REQUEST: 'FETCH_LOGIN_POPUP_REQUEST',\r\n FETCH_LOGIN_POPUP_SUCCESS: 'FETCH_LOGIN_POPUP_SUCCESS',\r\n FETCH_LOGIN_POPUP_FAILURE: 'FETCH_LOGIN_POPUP_FAILURE',\r\n\r\n FETCH_CMS_TERMS_OF_USE_REQUEST: 'FETCH_CMS_TERMS_OF_USE_REQUEST',\r\n FETCH_CMS_TERMS_OF_USE_FAILURE: 'FETCH_CMS_TERMS_OF_USE_FAILURE',\r\n FETCH_CMS_TERMS_OF_USE_SUCCESS: 'FETCH_CMS_TERMS_OF_USE_SUCCESS',\r\n\r\n FETCH_CMS_PRIVACY_POLICY_REQUEST: 'FETCH_CMS_PRIVACY_POLICY_REQUEST',\r\n FETCH_CMS_PRIVACY_POLICY_FAILURE: 'FETCH_CMS_PRIVACY_POLICY_FAILURE',\r\n FETCH_CMS_PRIVACY_POLICY_SUCCESS: 'FETCH_CMS_PRIVACY_POLICY_SUCCESS',\r\n\r\n CLEAR_CMS_TERMS: 'CLEAR_CMS_TERMS',\r\n\r\n FETCH_WIDGETS_REQUEST: 'FETCH_WIDGETS_REQUEST',\r\n FETCH_WIDGETS_SUCCESS: 'FETCH_WIDGETS_SUCCESS',\r\n FETCH_WIDGETS_FAILURE: 'FETCH_WIDGETS_FAILURE',\r\n CANCEL_WIDGETS_CHANGES: 'CANCEL_WIDGETS_CHANGES',\r\n DELETE_WIDGET: 'DELETE_WIDGET',\r\n UPDATE_WIDGET: 'UPDATE_WIDGET',\r\n ADD_WIDGET: 'ADD_WIDGET',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/action-types.js","const FETCH_MESSAGES_LIST_REQUEST = 'FETCH_MESSAGES_LIST_REQUEST';\r\nconst FETCH_MESSAGES_LIST_FAILURE = 'FETCH_MESSAGES_LIST_FAILURE';\r\nconst FETCH_MESSAGES_LIST_SUCCESS = 'FETCH_MESSAGES_LIST_SUCCESS';\r\n\r\nconst FETCH_MESSAGE_REQUEST = 'FETCH_MESSAGE_REQUEST';\r\nconst FETCH_MESSAGE_FAILURE = 'FETCH_MESSAGE_FAILURE';\r\nconst FETCH_MESSAGE_SUCCESS = 'FETCH_MESSAGE_SUCCESS';\r\n\r\nconst FETCH_UNREAD_MESSAGES_COUNT_REQUEST = 'FETCH_UNREAD_MESSAGES_COUNT_REQUEST';\r\nconst FETCH_UNREAD_MESSAGES_COUNT_FAILURE = 'FETCH_UNREAD_MESSAGES_COUNT_FAILURE';\r\nconst FETCH_UNREAD_MESSAGES_COUNT_SUCCESS = 'FETCH_UNREAD_MESSAGES_COUNT_SUCCESS';\r\n\r\nconst DELETE_MESSAGES_REQUEST = 'DELETE_MESSAGES_REQUEST';\r\nconst DELETE_MESSAGES_FAILURE = 'DELETE_MESSAGES_FAILURE';\r\nconst DELETE_MESSAGES_SUCCESS = 'DELETE_MESSAGES_SUCCESS';\r\n\r\nconst DELETE_MESSAGE_REQUEST = 'DELETE_MESSAGE_REQUEST';\r\nconst DELETE_MESSAGE_FAILURE = 'DELETE_MESSAGE_FAILURE';\r\nconst DELETE_MESSAGE_SUCCESS = 'DELETE_MESSAGE_SUCCESS';\r\n\r\nconst DELETE_SENT_MESSAGES_REQUEST = 'DELETE_SENT_MESSAGES_REQUEST';\r\nconst DELETE_SENT_MESSAGES_FAILURE = 'DELETE_SENT_MESSAGES_FAILURE';\r\nconst DELETE_SENT_MESSAGES_SUCCESS = 'DELETE_SENT_MESSAGES_SUCCESS';\r\n\r\nconst DELETE_SENT_MESSAGE_REQUEST = 'DELETE_SENT_MESSAGE_REQUEST';\r\nconst DELETE_SENT_MESSAGE_FAILURE = 'DELETE_SENT_MESSAGE_FAILURE';\r\nconst DELETE_SENT_MESSAGE_SUCCESS = 'DELETE_SENT_MESSAGE_SUCCESS';\r\n\r\nconst MARK_MESSAGE_AS_UNREAD_REQUEST = 'MARK_MESSAGE_AS_UNREAD_REQUEST';\r\nconst MARK_MESSAGE_AS_UNREAD_FAILURE = 'MARK_MESSAGE_AS_UNREAD_FAILURE';\r\nconst MARK_MESSAGE_AS_UNREAD_SUCCESS = 'MARK_MESSAGE_AS_UNREAD_SUCCESS';\r\n\r\nconst MARK_MESSAGE_AS_READ_REQUEST = 'MARK_MESSAGE_AS_READ_REQUEST';\r\nconst MARK_MESSAGE_AS_READ_FAILURE = 'MARK_MESSAGE_AS_READ_FAILURE';\r\nconst MARK_MESSAGE_AS_READ_SUCCESS = 'MARK_MESSAGE_AS_READ_SUCCESS';\r\n\r\nconst FETCH_SENT_MESSAGES_LIST_REQUEST = 'FETCH_SENT_MESSAGES_LIST_REQUEST';\r\nconst FETCH_SENT_MESSAGES_LIST_FAILURE = 'FETCH_SENT_MESSAGES_LIST_FAILURE';\r\nconst FETCH_SENT_MESSAGES_LIST_SUCCESS = 'FETCH_SENT_MESSAGES_LIST_SUCCESS';\r\n\r\nconst FETCH_RECIPIENTS_REQUEST = 'FETCH_RECIPIENTS_REQUEST';\r\nconst FETCH_RECIPIENTS_FAILURE = 'FETCH_RECIPIENTS_FAILURE';\r\nconst FETCH_RECIPIENTS_SUCCESS = 'FETCH_RECIPIENTS_SUCCESS';\r\n\r\nconst REPLY_MESSAGE_REQUEST = 'REPLY_MESSAGE_REQUEST';\r\nconst REPLY_MESSAGE_FAILURE = 'REPLY_MESSAGE_FAILURE';\r\nconst REPLY_MESSAGE_SUCCESS = 'REPLY_MESSAGE_SUCCESS';\r\n\r\nconst ADD_MESSAGE_TO_SELECTED = 'ADD_MESSAGE_TO_SELECTED';\r\nconst DELETE_MESSAGE_FROM_SELECTED = 'DELETE_MESSAGE_FROM_SELECTED';\r\nconst TOGGLE_SELECT_ALL_MESSAGES_POINTER = 'TOGGLE_SELECT_ALL_MESSAGES_POINTER';\r\nconst SET_SELECT_ALL_MESSAGES_POINTER = 'SET_SELECT_ALL_MESSAGES_POINTER';\r\nconst CLEAR_SELECTED_MESSAGES_LIST = 'CLEAR_SELECTED_MESSAGES_LIST';\r\nconst CLEAR_SELECTED_MESSAGE = 'CLEAR_SELECTED_MESSAGE';\r\nconst RESET_INBOX = 'RESET_INBOX';\r\n\r\nexport default {\r\n FETCH_MESSAGES_LIST_REQUEST,\r\n FETCH_MESSAGES_LIST_SUCCESS,\r\n FETCH_MESSAGES_LIST_FAILURE,\r\n FETCH_MESSAGE_REQUEST,\r\n FETCH_MESSAGE_SUCCESS,\r\n FETCH_MESSAGE_FAILURE,\r\n FETCH_UNREAD_MESSAGES_COUNT_REQUEST,\r\n FETCH_UNREAD_MESSAGES_COUNT_SUCCESS,\r\n FETCH_UNREAD_MESSAGES_COUNT_FAILURE,\r\n DELETE_MESSAGES_REQUEST,\r\n DELETE_MESSAGES_SUCCESS,\r\n DELETE_MESSAGES_FAILURE,\r\n DELETE_MESSAGE_REQUEST,\r\n DELETE_MESSAGE_SUCCESS,\r\n DELETE_MESSAGE_FAILURE,\r\n DELETE_SENT_MESSAGES_REQUEST,\r\n DELETE_SENT_MESSAGES_SUCCESS,\r\n DELETE_SENT_MESSAGES_FAILURE,\r\n DELETE_SENT_MESSAGE_REQUEST,\r\n DELETE_SENT_MESSAGE_SUCCESS,\r\n DELETE_SENT_MESSAGE_FAILURE,\r\n MARK_MESSAGE_AS_UNREAD_REQUEST,\r\n MARK_MESSAGE_AS_UNREAD_FAILURE,\r\n MARK_MESSAGE_AS_UNREAD_SUCCESS,\r\n MARK_MESSAGE_AS_READ_REQUEST,\r\n MARK_MESSAGE_AS_READ_FAILURE,\r\n MARK_MESSAGE_AS_READ_SUCCESS,\r\n FETCH_SENT_MESSAGES_LIST_REQUEST,\r\n FETCH_SENT_MESSAGES_LIST_SUCCESS,\r\n FETCH_SENT_MESSAGES_LIST_FAILURE,\r\n FETCH_RECIPIENTS_REQUEST,\r\n FETCH_RECIPIENTS_SUCCESS,\r\n FETCH_RECIPIENTS_FAILURE,\r\n REPLY_MESSAGE_REQUEST,\r\n REPLY_MESSAGE_FAILURE,\r\n REPLY_MESSAGE_SUCCESS,\r\n ADD_MESSAGE_TO_SELECTED,\r\n DELETE_MESSAGE_FROM_SELECTED,\r\n TOGGLE_SELECT_ALL_MESSAGES_POINTER,\r\n SET_SELECT_ALL_MESSAGES_POINTER,\r\n CLEAR_SELECTED_MESSAGES_LIST,\r\n CLEAR_SELECTED_MESSAGE,\r\n RESET_INBOX,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/action-types.js","import moment from 'moment';\r\n\r\nimport DepsService from 'services/dependencies';\r\nimport _ from 'lodash';\r\n\r\nconst CONTEXT = 'dictionaries';\r\nconst INVOICE_DATE_FORMAT = 'YYYY-MM-DD';\r\n\r\n// Helpers\r\nexport const lowerCase = (string) => {\r\n if (!string) return null;\r\n\r\n return _.lowerCase(string);\r\n};\r\n\r\nexport const transformTemplatesDTO = (templates) => {\r\n let dictionaryDTO = {};\r\n\r\n templates.forEach((template) => {\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [template.id]: {\r\n ...template.translations,\r\n },\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const transformDictionaryDTO = (data) => {\r\n let dictionaryDTO = {};\r\n\r\n data.forEach((item) => {\r\n const key = item.stage || item.typeCode || item.key;\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [key]: {\r\n ...item,\r\n },\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const calculateRange = (date) => {\r\n const startDate = DepsService.$filter('date')(date.periodStartDate, 'shortDate');\r\n const endDate = DepsService.$filter('date')(date.periodEndDate, 'shortDate');\r\n\r\n return `${startDate} - ${endDate}`;\r\n};\r\n\r\nexport const calculateInvoicesDatesRange = (dates) =>\r\n dates.map((date) => ({\r\n id: moment(date.periodEndDate).format(INVOICE_DATE_FORMAT),\r\n value: calculateRange(date),\r\n }));\r\n\r\nexport const transformInvoiceDates = (dates) => {\r\n const DATE_FORMAT = 'YYYY-MM-DD';\r\n let transformedDates = {};\r\n\r\n dates.forEach((date) => {\r\n const fromDate = moment(date).subtract(6, 'd').format(DATE_FORMAT);\r\n const toDate = moment(date).format(DATE_FORMAT);\r\n\r\n transformedDates = {\r\n ...transformedDates,\r\n [toDate]: `${fromDate} - ${toDate}`,\r\n };\r\n });\r\n\r\n return transformedDates;\r\n};\r\n\r\nexport const transformOutletTypesDTO = (data) => {\r\n let dictionaryDTO = {};\r\n\r\n data.forEach((item) => {\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [item.code]: item.displayName,\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const transformActivityEvents = (events) => _.groupBy(events, 'category');\r\n\r\nexport const transformLotteryTermsDTO = (data) => {\r\n let dictionaryDTO = {};\r\n\r\n data.forEach(({ locale, key, ...term }) => {\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [locale]: {\r\n ...dictionaryDTO[locale],\r\n [key]: {\r\n ...term,\r\n pluralLowerCase: lowerCase(term.plural),\r\n singularLowerCase: lowerCase(term.singular),\r\n },\r\n },\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const fetchPricePointsDictionary = async ({ locale }) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.pricePoints;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\r\nexport const fetchPackStatusesDictionary = async ({ locale }) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.packStatuses;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\r\nexport const fetchOrderStatusesDictionary = async ({ locale }) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.orderStatuses;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\r\nexport const fetchUserClassDictionary = async ({ locale }) => {\r\n const urlParams = { name: 'user-class' };\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const result = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return result.values;\r\n};\r\n\r\nexport const fetchReportCategoriesDictionary = async ({ locale }) => {\r\n const urlParams = { name: 'report-category' };\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const result = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return result.values;\r\n};\r\n\r\nexport const fetchTiersDictionary = async (locale) => {\r\n const { url } = DepsService.rest.dashboard.cumulative.tierTypes;\r\n const queryParams = { locale };\r\n const urlParams = {};\r\n\r\n return await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchInquiryReasonsDictionary = async (locale) => {\r\n const { url } = DepsService.rest.contact.inquiryReasons;\r\n const queryParams = { locale };\r\n const urlParams = {};\r\n const path = 'contact.inquiryReasons';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchInvoiceDatesDictionary = async (retailerId) => {\r\n const { url } = DepsService.rest.dashboard.cumulative.invoiceDates;\r\n const queryParams = { retailerId };\r\n const urlParams = {};\r\n\r\n const dates = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return calculateInvoicesDatesRange(dates);\r\n};\r\n\r\nexport const fetchActivityEventsDictionary = async (locale) => {\r\n const urlParams = { name: 'activity-report-type' };\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const events = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformActivityEvents(events);\r\n};\r\n\r\nexport const fetchUserTemplatesDictionary = async (viewType) => {\r\n let url;\r\n switch (viewType) {\r\n case 'all':\r\n url = DepsService.rest.account.templates.url;\r\n break;\r\n case 'lotteryView':\r\n url = DepsService.rest.privileges.ADMIN.templates.url;\r\n break;\r\n case 'RETAILER_PRIMARY':\r\n url = DepsService.rest.privileges.RETAILER_PRIMARY.templates.url;\r\n break;\r\n case 'RETAILER_SECONDARY':\r\n default:\r\n url = DepsService.rest.privileges.RETAILER_SECONDARY.templates.url;\r\n break;\r\n }\r\n\r\n const urlParams = {};\r\n const queryParams = {};\r\n\r\n const templates = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformTemplatesDTO(templates);\r\n};\r\n\r\nexport const fetchOutletTypesDictionary = async (locale) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.outletTypes;\r\n\r\n const outletTypes = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformOutletTypesDTO(outletTypes);\r\n};\r\n\r\nexport const fetchSftpAuthenticationTypesDictionary = async () => {\r\n const urlParams = { name: 'authentication-types' };\r\n const queryParams = {};\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const result = await DepsService.restSrv.listCached(CONTEXT, url, queryParams, urlParams);\r\n\r\n return result.values;\r\n};\r\n\r\nexport const fetchLotteryTermsDictionary = async () => {\r\n const { url } = DepsService.rest.dictionary.lotteryTerms;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n const terms = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformLotteryTermsDTO(terms);\r\n};\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionary = async (locale) => {\r\n const urlParams = { locale };\r\n const queryParams = {};\r\n\r\n const { url } = DepsService.rest.privileges.displayTypes;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/dictionaries.api.js","import _ from 'lodash';\r\nimport angular from 'angular';\r\nimport { sha256 } from 'js-sha256';\r\n\r\nfunction createNgFactory(FactoryClass) {\r\n return (FactoryClass.$inject || []).concat((...args) => new FactoryClass(...args));\r\n}\r\n\r\nfunction pageHeader(menu, key, value) {\r\n const obj = _.find(menu, [key, value]);\r\n return obj ? obj.title || obj.label : '';\r\n}\r\n\r\nfunction jsonObjectParameter(filterName) {\r\n return {\r\n name: filterName,\r\n decode(val) {\r\n return val ? JSON.parse(val) : {};\r\n },\r\n encode(val) {\r\n return JSON.stringify(val);\r\n },\r\n equals(a, b) {\r\n return this.is(a) && this.is(b) && a.fileType === b.fileType;\r\n },\r\n is(val) {\r\n return angular.isObject(val);\r\n },\r\n };\r\n}\r\n\r\nfunction randomString(len, charSet) {\r\n charSet = charSet || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\r\n let randomString = '';\r\n for (let i = 0; i < len; i++) {\r\n const randomPoz = Math.floor(Math.random() * charSet.length);\r\n randomString += charSet.substring(randomPoz, randomPoz + 1);\r\n }\r\n return randomString;\r\n}\r\n\r\nfunction getHashes(code, salts) {\r\n if (!code || !salts) return;\r\n let codeBytes = [];\r\n for (let i = 0; i < code.length; i++) {\r\n codeBytes.push(code.charCodeAt(i));\r\n }\r\n\r\n return salts.map((salt) => {\r\n let bytes = [];\r\n for (let c = 0; c < salt.length; c += 2) {\r\n bytes.push(parseInt(salt.substr(c, 2), 16));\r\n }\r\n return sha256.hex(codeBytes.concat(bytes));\r\n });\r\n}\r\n\r\nexport default {\r\n createNgFactory,\r\n pageHeader,\r\n jsonObjectParameter,\r\n randomString,\r\n getHashes,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/lsp-utils-service.js","export default {\r\n SET_ACTIVE_TAB: 'SET_ACTIVE_TAB',\r\n SET_SORTING_FUNCTION: 'SET_SORTING_FUNCTION',\r\n SET_SELECTED_LANGUAGE: 'SET_SELECTED_LANGUAGE',\r\n\r\n DOWNLOAD_POSTER_REQUEST: 'DOWNLOAD_POSTER_REQUEST',\r\n DOWNLOAD_POSTER_SUCCESS: 'DOWNLOAD_POSTER_SUCCESS',\r\n DOWNLOAD_POSTER_FAILURE: 'DOWNLOAD_POSTER_FAILURE',\r\n\r\n FETCH_POSTER_URL_REQUEST: 'FETCH_POSTER_URL_REQUEST',\r\n FETCH_POSTER_URL_SUCCESS: 'FETCH_POSTER_URL_SUCCESS',\r\n FETCH_POSTER_URL_FAILURE: 'FETCH_POSTER_URL_FAILURE',\r\n\r\n FETCH_RETAILER_DETAILS_REQUEST: 'FETCH_RETAILER_DETAILS_REQUEST',\r\n FETCH_RETAILER_DETAILS_SUCCESS: 'FETCH_RETAILER_DETAILS_SUCCESS',\r\n FETCH_RETAILER_DETAILS_FAILURE: 'FETCH_RETAILER_DETAILS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/action-types.js","import actionTypes from '../action-types';\r\n\r\nexport const setActiveTab = (tab = '', name) => ({\r\n type: actionTypes.SET_ACTIVE_TAB,\r\n tab,\r\n name,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/active-tab/active-tab.actions.js","import moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'manage-inventory';\r\n\r\n// Helpers\r\n\r\nconst setUrl = (tabId) => {\r\n switch (tabId) {\r\n case 'packs': {\r\n return DepsService.rest.inventory.packs.list.url;\r\n }\r\n case 'games': {\r\n return DepsService.rest.inventory.games.list.url;\r\n }\r\n case 'inventoryHistory': {\r\n return DepsService.rest.inventory.history.list.url;\r\n }\r\n case 'orderHistory': {\r\n return DepsService.rest.inventory.ordersHistory.list.url;\r\n }\r\n case 'liability': {\r\n return DepsService.rest.inventory.liability.list.url;\r\n }\r\n case 'pack': {\r\n return DepsService.rest.history.inventoryHistory.details.url;\r\n }\r\n case 'order': {\r\n return DepsService.rest.inventory.orderHistory.details.url;\r\n }\r\n default:\r\n return '';\r\n }\r\n};\r\n\r\nexport const getOrderDetailsFromPack = (pack) => {\r\n const { orderNumber, prefixedTrackingNumber, orderIssuedDate, orderType, orderConfirmedDate, grossValue, manifestNumber } = pack;\r\n return {\r\n orderNumber,\r\n prefixedTrackingNumber,\r\n orderIssuedDate,\r\n orderType,\r\n orderConfirmedDate,\r\n grossValue,\r\n manifestNumber,\r\n };\r\n};\r\n\r\nexport const downloadManageInventoryReportByTab = (config) => {\r\n const { retailerId, filters, tabId, ...params } = config;\r\n\r\n const url = setUrl(tabId);\r\n const queryParams = {\r\n ...filters,\r\n ...params,\r\n };\r\n const urlParams = { retailerId };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n if (url) return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n\r\n // eslint-disable-next-line no-console\r\n console.error(`MANAGE_INVENTORY_EXPORTS - cannot find URL: ${url} for given tab: ${tabId}`);\r\n};\r\n\r\nexport const downloadManageInventoryDetailedReportByTab = (config) => {\r\n const { tabId, orderId, ...params } = config;\r\n\r\n const url = setUrl(tabId);\r\n const queryParams = {\r\n ...params,\r\n };\r\n const urlParams = { orderId };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n if (url) return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n\r\n // eslint-disable-next-line no-console\r\n console.error(`MANAGE_INVENTORY_EXPORTS - cannot find URL: ${url} for given tab: ${tabId}`);\r\n};\r\n\r\nexport const fetchGamesList = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.inventory.games.list;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchPacksGrossValue = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.inventory.packs.grossValue;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchPacksList = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.inventory.packs.list;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchPackDetails = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.history.inventoryHistory.details;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchOrderDetails = async ({ orderId, ...config }) => {\r\n const { url } = DepsService.rest.inventory.orderHistory.details;\r\n const queryParams = { ...config };\r\n const urlParams = { orderId };\r\n\r\n const packs = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n const orderDetails = getOrderDetailsFromPack(packs[0]);\r\n\r\n return {\r\n ...orderDetails,\r\n packs,\r\n };\r\n};\r\n\r\nexport const fetchInstantGamesTransitionsHistory = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const startDate = params.filters.startDate ? moment(params.filters.startDate).format('YYYY-MM-DD') : null;\r\n const endDate = params.filters.endDate ? moment(params.filters.endDate).format('YYYY-MM-DD') : null;\r\n\r\n const { url } = DepsService.rest.inventory.history.list;\r\n const queryParams = {\r\n ...params,\r\n filters: {\r\n ...params.filters,\r\n startDate,\r\n endDate,\r\n },\r\n };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchLiabilities = ({ retailerId, ...queryParams }) => {\r\n const { url } = DepsService.rest.inventory.liability.list;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchOrderHistoryList = ({ retailerId, ...queryParams }) => {\r\n const { url } = DepsService.rest.inventory.ordersHistory.list;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/resources/manage-inventory.api.js","import * as api from 'app/resources/game-images.api';\r\n\r\nexport const INSTANT_GAME_TYPE = 'scratch';\r\nexport const DRAW_GAME_TYPE = 'online';\r\nexport const VLT_GAME_TYPE = 'vlt-games';\r\n\r\nconst FETCH_GAME_IMAGES_REQUEST = 'FETCH_GAME_IMAGES_REQUEST';\r\nconst FETCH_GAME_IMAGES_SUCCESS = 'FETCH_GAME_IMAGES_SUCCESS';\r\nconst FETCH_GAME_IMAGES_FAILURE = 'FETCH_GAME_IMAGES_FAILURE';\r\nconst CLEAR_GAME_IMAGES = 'CLEAR_GAME_IMAGES';\r\nconst UPDATE_GAME_IMAGES = 'UPDATE_GAME_IMAGES';\r\nconst UPDATE_GAME_IMAGES_REQUEST = 'UPDATE_GAME_IMAGES_REQUEST';\r\nconst UPDATE_GAME_IMAGES_SUCCESS = 'UPDATE_GAME_IMAGES_SUCCESS';\r\nconst UPDATE_GAME_IMAGES_FAILURE = 'UPDATE_GAME_IMAGES_FAILURE';\r\n\r\nexport const fetchGameImagesRequest = () => ({\r\n type: FETCH_GAME_IMAGES_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchGameImagesSuccess = (games, pagination) => ({\r\n type: FETCH_GAME_IMAGES_SUCCESS,\r\n isLoading: false,\r\n games,\r\n pagination,\r\n});\r\n\r\nexport const fetchGameImagesFailure = () => ({\r\n type: FETCH_GAME_IMAGES_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchGameImages = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchGameImagesRequest());\r\n const { filters: { type } } = params;\r\n const { content, ...pagination } = await api.fetchGameImages(type, params);\r\n dispatch(fetchGameImagesSuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_GAME_IMAGES', error);\r\n dispatch(fetchGameImagesFailure());\r\n }\r\n};\r\nexport const updateGameImage = (gameImage) => ({\r\n type: UPDATE_GAME_IMAGES,\r\n gameImage,\r\n});\r\n\r\nexport const clearGameImages = () => ({\r\n type: CLEAR_GAME_IMAGES,\r\n});\r\n\r\nexport const updateGameImagesRequest = () => ({\r\n type: UPDATE_GAME_IMAGES_REQUEST,\r\n isSaving: true,\r\n});\r\n\r\nexport const updateGameImagesSuccess = (game) => ({\r\n type: UPDATE_GAME_IMAGES_SUCCESS,\r\n isSaving: false,\r\n game,\r\n});\r\n\r\nexport const updateGameImagesFailure = () => ({\r\n type: UPDATE_GAME_IMAGES_FAILURE,\r\n isSaving: false,\r\n});\r\n\r\nexport const updateGameImages = (gameType, gameImage) => async (dispatch) => {\r\n try {\r\n dispatch(updateGameImagesRequest());\r\n const { result } = await api.updateGameImages(gameType, gameImage.gameId, gameImage.image);\r\n dispatch(updateGameImagesSuccess(result));\r\n } catch (error) {\r\n console.error('UPDATE_GAME_IMAGES', error);\r\n dispatch(updateGameImagesFailure());\r\n }\r\n};\r\n\r\nexport default {\r\n FETCH_GAME_IMAGES_REQUEST,\r\n FETCH_GAME_IMAGES_SUCCESS,\r\n FETCH_GAME_IMAGES_FAILURE,\r\n UPDATE_GAME_IMAGES,\r\n CLEAR_GAME_IMAGES,\r\n UPDATE_GAME_IMAGES_REQUEST,\r\n UPDATE_GAME_IMAGES_SUCCESS,\r\n UPDATE_GAME_IMAGES_FAILURE,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/game-images.actions.js","import DepsService from 'services/dependencies';\r\nimport utils from 'utils/lsp-utils-service';\r\nimport _ from 'lodash';\r\n\r\nconst USER_CONTEXT = 'user';\r\nconst USER_APP_CONTEXT = 'app';\r\n\r\nexport const getUsers = (parameters) => {\r\n const { url } = DepsService.rest.user.users;\r\n const queryParams = { ...parameters };\r\n if (_.get(parameters, 'filters.mobilePhone')) {\r\n queryParams.filters.mobilePhone = parameters.filters.mobilePhone.replace(/[^\\d]/g, ''); // todo is this necessary?\r\n }\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => {\r\n (result.content || []).forEach((user) => {\r\n user.name = `${user.contact.lastName} ${user.contact.firstName}`;\r\n });\r\n return result;\r\n });\r\n};\r\n\r\nexport function downloadUsersWithGroups(fileType, pagingModel) {\r\n const { url } = DepsService.rest.user.users[fileType];\r\n const queryParams = {\r\n groupMember: true,\r\n 'page-number': pagingModel.pageNumber,\r\n 'page-size': pagingModel.pageSize,\r\n sortProperty: pagingModel.sortProperty,\r\n ascending: pagingModel.ascending,\r\n ...pagingModel.filters,\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.downloadBlob(USER_CONTEXT, url, queryParams, urlParams);\r\n}\r\n\r\nexport const getAvailableMembers = ({ userId, ...params }) => {\r\n const { url } = DepsService.rest.user.users.availableMembers;\r\n const queryParams = params;\r\n const urlParams = {\r\n userId,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => result);\r\n};\r\n\r\nexport const getAvailableAdminMembers = (parameters) => {\r\n const { url } = DepsService.rest.user.users;\r\n const queryParams = parameters;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => result);\r\n};\r\n\r\nconst loadUserByParams = (url, urlParams) => {\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => result);\r\n};\r\n\r\nexport const loadUserByLogin = (userLogin) => {\r\n const { url } = DepsService.rest.account.entryByLogin;\r\n const queryParams = { login: userLogin };\r\n\r\n return loadUserByParams(url, queryParams);\r\n};\r\n\r\nexport const loadUserById = (id) => {\r\n const { url } = DepsService.rest.account.self.data;\r\n const queryParams = { id };\r\n\r\n return loadUserByParams(url, queryParams);\r\n};\r\n\r\nexport const saveUserData = (data) => {\r\n const { url } = DepsService.rest.account.self.update;\r\n\r\n return DepsService.restSrv.update(USER_CONTEXT, url, data);\r\n};\r\n\r\nexport const saveUserLocale = (id, locale) =>\r\n loadUserById(id).then((result) => {\r\n saveUserData({\r\n locale,\r\n firstName: result.contact.firstName,\r\n lastName: result.contact.lastName,\r\n email: result.contact.emailAddress,\r\n mobilePhone: result.contact.mobilePhone,\r\n contactPhone: result.contact.contactPhone,\r\n securityQuestions: result.securityQuestions,\r\n ownerUserId: result.ownerUserId,\r\n });\r\n });\r\n\r\nexport const getPasswordResetQuestions = (username) => {\r\n const { url } = DepsService.rest.user.securityQuestions;\r\n const queryParams = { username };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams).then((result) => result);\r\n};\r\n\r\nexport const forceResetAccountPassword = (username) => {\r\n const { url } = DepsService.rest.forcePasswordReset;\r\n const queryParams = { username };\r\n\r\n return DepsService.restSrv.create(USER_CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const resetAccountPassword = (username, questionsAndAnswers) => {\r\n const { url } = DepsService.rest.passwordReset;\r\n const { questions, answers } = questionsAndAnswers;\r\n const challenges = answers.reduce((reduced, item, key) => {\r\n reduced.push({\r\n questionId: questions[key].code,\r\n answer: answers[key],\r\n });\r\n return reduced;\r\n }, []);\r\n const queryParams = {\r\n username,\r\n challenges,\r\n };\r\n\r\n return DepsService.restSrv.create(USER_CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchSelfRegistrationSettings = (retailerId) => {\r\n const { url } = DepsService.rest.user.retailerSettings.validate;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchTrustedDevices = () => {\r\n const { url } = DepsService.rest.auth.twoFactor.trustedDevicesList;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const deleteTrustedDevice = (uuid) => {\r\n const { url } = DepsService.rest.auth.twoFactor.deleteDevice;\r\n const queryParams = { uuid };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.remove(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const saveSelfRegistrationSettings = (selfRegistrationEnabled, retailerId) => {\r\n const { url } = DepsService.rest.retailer.saveSubordinateData;\r\n const queryParams = { selfRegistrationEnabled };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.update(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchUserSecurityQuestions = (userId) => {\r\n const { url } = DepsService.rest.challenges;\r\n const queryParams = {};\r\n const urlParams = { userId };\r\n\r\n return DepsService.restSrv.list(USER_APP_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const createUser = (user, locale, retailerDisplayNumber) => {\r\n const { url } = DepsService.rest.account.create;\r\n\r\n const queryParams = {\r\n ...user,\r\n username: user.contact.emailAddress,\r\n userClass: user.userClass.id,\r\n };\r\n\r\n if (!user.primaryRetailer && user.userClass.type === 'INDEPENDENT') {\r\n queryParams.primaryRetailer = { retailerDisplayNumber };\r\n }\r\n const urlParams = { locale };\r\n\r\n return DepsService.restSrv.create(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerDetails = (retailerId) => {\r\n const { url } = DepsService.rest.user.retailerSettings.selfRegistration;\r\n const queryParams = {};\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerDetailsForSecondary = (retailerId, isSecondary) => {\r\n const { url } = DepsService.rest.user.retailerSettings.secondaryValidation;\r\n const queryParams = {};\r\n const urlParams = {\r\n retailerId,\r\n isSecondary,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchUsersReportingTo = (userId) => {\r\n const { url } = DepsService.rest.user.reportTo;\r\n const queryParams = {};\r\n const urlParams = {\r\n userId,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/resources/user.api.js","import DepsService from 'services/dependencies';\r\nimport { SELECTED_USERS } from 'message/components/create-message/create-message-component';\r\n\r\nconst CONTEXT = 'message';\r\n\r\nexport const fetchMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.user.inbox;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchUserSentMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.user.sent;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchMessage = async (id) => {\r\n const { url } = DepsService.rest.message.user.content;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchUnreadMessagesCount = async () => {\r\n const { url } = DepsService.rest.message.user.count;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url);\r\n};\r\n\r\nexport const deleteReceivedMessages = async (data) => {\r\n const { url } = DepsService.rest.message.delete.received;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, urlParams, { data });\r\n};\r\n\r\nexport const deleteSentMessages = async (data) => {\r\n const { url } = DepsService.rest.message.delete.sent;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, urlParams, { data });\r\n};\r\n\r\nexport const markMessageAsUnread = async (id) => {\r\n const { url } = DepsService.rest.message.user.markAsUnread;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const markMessageAsRead = async (id) => {\r\n const { url } = DepsService.rest.message.user.markAsRead;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchSentMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.admin.sent;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchSentMessage = async (id) => {\r\n const { url } = DepsService.rest.message.admin.content;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchAdministratorsSentMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.admin.sentByAll;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchRecipients = async ({ filters, ...params }) => {\r\n const { url } = DepsService.rest.message.admin.recipients;\r\n const { sentMessageId, ...requestFilters } = filters;\r\n const queryParams = { ...params, ...requestFilters };\r\n const urlParams = { id: sentMessageId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const createMessageLimitToRetailers = async (message) => {\r\n const { url } = DepsService.rest.message.admin.createLimitToRetailers;\r\n return DepsService.restSrv.create(CONTEXT, url, message);\r\n};\r\n\r\nexport const createMessage = async (message) => {\r\n const { url } = DepsService.rest.message.admin.create;\r\n return DepsService.restSrv.create(CONTEXT, url, message);\r\n};\r\n\r\nexport const replyMessage = async (message) => {\r\n const { url } = DepsService.rest.message.reply;\r\n\r\n const payload = {\r\n recipientCategoryCode: SELECTED_USERS,\r\n ...message,\r\n };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, payload);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/resources/message.api.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const downloadManageInventoryReportByTabRequest = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryReportByTabSuccess = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryReportByTabFailure = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryReportByTab = (config) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerIdFromStore = config.filters ? config.filters.retailerId : null;\r\n const retailerId = retailerIdFromStore || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(downloadManageInventoryReportByTabRequest(config.tabId));\r\n\r\n dispatch(downloadManageInventoryReportByTabSuccess(config.tabId));\r\n return api.downloadManageInventoryReportByTab(requestParams);\r\n } catch (error) {\r\n console.error('DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE', error);\r\n dispatch(downloadManageInventoryReportByTabFailure(config.tabId));\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/download-report-by-tab.actions.js","export default {\r\n FETCH_PRIVILEGE_TEMPLATES_REQUEST: 'FETCH_PRIVILEGE_TEMPLATES_REQUEST',\r\n FETCH_PRIVILEGE_TEMPLATES_SUCCESS: 'FETCH_PRIVILEGE_TEMPLATES_SUCCESS',\r\n FETCH_PRIVILEGE_TEMPLATES_FAILURE: 'FETCH_PRIVILEGE_TEMPLATES_FAILURE',\r\n\r\n CREATE_PRIVILEGE_TEMPLATE_REQUEST: 'CREATE_PRIVILEGE_TEMPLATE_REQUEST',\r\n CREATE_PRIVILEGE_TEMPLATE_SUCCESS: 'CREATE_PRIVILEGE_TEMPLATE_SUCCESS',\r\n CREATE_PRIVILEGE_TEMPLATE_FAILURE: 'CREATE_PRIVILEGE_TEMPLATE_FAILURE',\r\n\r\n UPDATE_PRIVILEGE_TEMPLATE_REQUEST: 'UPDATE_PRIVILEGE_TEMPLATE_REQUEST',\r\n UPDATE_PRIVILEGE_TEMPLATE_SUCCESS: 'UPDATE_PRIVILEGE_TEMPLATE_SUCCESS',\r\n UPDATE_PRIVILEGE_TEMPLATE_FAILURE: 'UPDATE_PRIVILEGE_TEMPLATE_FAILURE',\r\n\r\n DELETE_PRIVILEGE_TEMPLATE_REQUEST: 'DELETE_PRIVILEGE_TEMPLATE_REQUEST',\r\n DELETE_PRIVILEGE_TEMPLATE_SUCCESS: 'DELETE_PRIVILEGE_TEMPLATE_SUCCESS',\r\n DELETE_PRIVILEGE_TEMPLATE_FAILURE: 'DELETE_PRIVILEGE_TEMPLATE_FAILURE',\r\n\r\n SELECT_PRIVILEGE_TEMPLATE: 'SELECT_PRIVILEGE_TEMPLATE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/action-types.js","export default {\r\n FETCH_ANNOUNCEMENTS_REQUEST: 'FETCH_ANNOUNCEMENTS_REQUEST',\r\n FETCH_ANNOUNCEMENTS_SUCCESS: 'FETCH_ANNOUNCEMENTS_SUCCESS',\r\n FETCH_ANNOUNCEMENTS_FAILURE: 'FETCH_ANNOUNCEMENTS_FAILURE',\r\n\r\n TOGGLE_PIN_ANNOUNCEMENTS: 'TOGGLE_PIN_ANNOUNCEMENTS',\r\n\r\n DELETE_ACTIVE_ANNOUNCEMENT: 'DELETE_ACTIVE_ANNOUNCEMENT',\r\n DELETE_ARCHIVED_ANNOUNCEMENT: 'DELETE_ARCHIVED_ANNOUNCEMENT',\r\n DELETE_SCHEDULED_ANNOUNCEMENT: 'DELETE_SCHEDULED_ANNOUNCEMENT',\r\n\r\n ADD_ACTIVE_ANNOUNCEMENT: 'ADD_ACTIVE_ANNOUNCEMENT',\r\n ADD_ARCHIVED_ANNOUNCEMENT: 'ADD_ARCHIVED_ANNOUNCEMENT',\r\n ADD_SCHEDULED_ANNOUNCEMENT: 'ADD_SCHEDULED_ANNOUNCEMENT',\r\n\r\n UPDATE_ANNOUNCEMENTS_REQUEST: 'UPDATE_ANNOUNCEMENTS_REQUEST',\r\n UPDATE_ANNOUNCEMENTS_SUCCESS: 'UPDATE_ANNOUNCEMENTS_SUCCESS',\r\n UPDATE_ANNOUNCEMENTS_FAILURE: 'UPDATE_ANNOUNCEMENTS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/announcements/action-types.js","import moment from 'moment';\r\nimport orderBy from 'lodash/orderBy';\r\nimport get from 'lodash/get';\r\n\r\nconst DATE_FORMAT = 'MM/DD/YYYY';\r\n\r\nconst getFormattedLotteryDate = (lotteryTime) => moment.unix(lotteryTime).utc().format(DATE_FORMAT);\r\n\r\nexport const getTimestampDate = (formattedDate) => (formattedDate ? moment.utc(formattedDate).format('x') : undefined);\r\n\r\nexport const getFormattedDate = (timestampInMilliseconds) =>\r\n timestampInMilliseconds ? moment.utc(timestampInMilliseconds).format(DATE_FORMAT) : undefined;\r\n\r\nexport const isActiveAnnouncement = (announcement, lotteryTime) => {\r\n const date = getFormattedLotteryDate(lotteryTime);\r\n const publishFrom = getFormattedDate(announcement.publishFrom);\r\n const publishTo = getFormattedDate(announcement.publishTo);\r\n return moment(date).isBetween(publishFrom, publishTo, 'day', '[]');\r\n};\r\n\r\nexport const isArchivedAnnouncement = (announcement, lotteryTime) => {\r\n const date = getFormattedLotteryDate(lotteryTime);\r\n const publishTo = getFormattedDate(announcement.publishTo);\r\n return moment(date).isAfter(publishTo, 'day');\r\n};\r\n\r\nexport const isScheduledAnnouncement = (announcement, lotteryTime) => {\r\n const date = getFormattedLotteryDate(lotteryTime);\r\n const publishFrom = getFormattedDate(announcement.publishFrom);\r\n return moment(date).isBefore(publishFrom, 'day');\r\n};\r\n\r\nconst orderAnnouncements = (announcements, locale) =>\r\n orderBy(announcements, [(item) => (get(item, `fields.${locale}.pinned`) ? 0 : 1), 'publishFrom', 'id'], ['asc', 'desc', 'desc']);\r\n\r\nexport const getActiveAnnouncements = (announcements, lotteryTime, locale) => {\r\n const activeAnnouncement = announcements.filter((item) => isActiveAnnouncement(item, lotteryTime));\r\n return orderAnnouncements(activeAnnouncement, locale);\r\n};\r\n\r\nexport const getArchivedAnnouncements = (announcements, lotteryTime, locale) => {\r\n const archivedAnnouncement = announcements.filter((item) => isArchivedAnnouncement(item, lotteryTime));\r\n return orderAnnouncements(archivedAnnouncement, locale);\r\n};\r\n\r\nexport const getScheduledAnnouncements = (announcements, lotteryTime, locale) => {\r\n const scheduledAnnouncement = announcements.filter((item) => isScheduledAnnouncement(item, lotteryTime));\r\n return orderAnnouncements(scheduledAnnouncement, locale);\r\n};\r\n\r\nconst togglePinValue = (items, index, locale) => {\r\n items[index].fields[locale.code].pinned = !items[index].fields[locale.code].pinned;\r\n};\r\n\r\nexport const togglePinAnnouncement = (announcements, index, locale, locales) => {\r\n locales.forEach((localeItem) => togglePinValue(announcements, index, localeItem));\r\n return orderAnnouncements(announcements, locale);\r\n};\r\n\r\nexport const deleteAnnouncement = (announcements, index) => {\r\n announcements.splice(index, 1);\r\n return announcements;\r\n};\r\n\r\nexport const addAnnouncement = (announcements, announcement, locale) => {\r\n announcement = {\r\n ...announcement,\r\n publishFrom: parseInt(getTimestampDate(announcement.publishFrom), 10),\r\n publishTo: parseInt(getTimestampDate(announcement.publishTo), 10),\r\n };\r\n const newAnnouncements = [announcement, ...announcements];\r\n return orderAnnouncements(newAnnouncements, locale);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/utils.js","export default {\r\n FETCH_NET_SALES_SUMMARY_REQUEST: 'FETCH_NET_SALES_SUMMARY_REQUEST',\r\n FETCH_NET_SALES_SUMMARY_SUCCESS: 'FETCH_NET_SALES_SUMMARY_SUCCESS',\r\n FETCH_NET_SALES_SUMMARY_FAILURE: 'FETCH_NET_SALES_SUMMARY_FAILURE',\r\n\r\n FETCH_NET_SALES_DETAILS_REQUEST: 'FETCH_NET_SALES_DETAILS_REQUEST',\r\n FETCH_NET_SALES_DETAILS_SUCCESS: 'FETCH_NET_SALES_DETAILS_SUCCESS',\r\n FETCH_NET_SALES_DETAILS_FAILURE: 'FETCH_NET_SALES_DETAILS_FAILURE',\r\n\r\n DOWNLOAD_NET_SALES_REPORT_REQUEST: 'DOWNLOAD_NET_SALES_REPORT_REQUEST',\r\n DOWNLOAD_NET_SALES_REPORT_SUCCESS: 'DOWNLOAD_NET_SALES_REPORT_SUCCESS',\r\n DOWNLOAD_NET_SALES_REPORT_FAILURE: 'DOWNLOAD_NET_SALES_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/net-sales/action-types.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst namespace = 'dictionaries';\r\n\r\nexport const SET_DICT_BY_NAME = `${namespace}_SET_DICT_BY_NAME`;\r\nconst DICT_REPORT_CATEGORY_KEY = 'report-category';\r\nconst CONTEXT = 'privilegeTemplates';\r\n\r\nconst PACK_STATUS = 'PACK_STATUS';\r\n\r\nexport const getUserTemplates = (userClass) => (dispatch, getState) => {\r\n const { session: { locale } } = getState();\r\n let url;\r\n switch (userClass) {\r\n case 'RETAILER_PRIMARY':\r\n url = DepsService.rest.privileges.RETAILER_PRIMARY.templates.url;\r\n break;\r\n case 'ADMIN':\r\n url = DepsService.rest.privileges.ADMIN.templates.url;\r\n break;\r\n default:\r\n url = DepsService.rest.privileges.RETAILER_SECONDARY.templates.url;\r\n break;\r\n }\r\n\r\n return DepsService.restSrv.list(CONTEXT, url).then((result) => {\r\n const items = result.map((item) => {\r\n item.displayName = _.capitalize(_.get(item, `translations[${locale}].name`));\r\n item.name = _.get(item, `translations[${locale}].name`);\r\n return item;\r\n });\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'userTemplates',\r\n items,\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const getUserClasses = () => (dispatch, getState) => {\r\n const {\r\n dictionaries: { userClasses },\r\n } = getState();\r\n\r\n if (Object.keys(userClasses || {}).length) {\r\n return Promise.resolve(userClasses);\r\n }\r\n\r\n return DepsService.restSrv.list(undefined, DepsService.rest.dictionary.names.url, null, { name: 'user-class' }).then((result) => {\r\n const keys = Object.keys(result.values || {});\r\n const items = keys.reduce((prev, current) => {\r\n prev[current] = {\r\n id: current,\r\n label: result.values[current],\r\n };\r\n\r\n return prev;\r\n }, {});\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'userClasses',\r\n items,\r\n },\r\n });\r\n return items;\r\n });\r\n};\r\n\r\nexport const getRetailerGroupUserClasses = () => (dispatch, getState) => {\r\n const {\r\n dictionaries: { retailerGroupUserClasses },\r\n } = getState();\r\n\r\n if (Object.keys(retailerGroupUserClasses || {}).length) {\r\n return Promise.resolve(retailerGroupUserClasses);\r\n }\r\n\r\n return DepsService.restSrv.list(undefined, DepsService.rest.dictionary.names.url, null, { name: 'user-class' }).then((result) => {\r\n const keys = Object.keys(result.values || {}).filter((key) => key !== 'ADMIN');\r\n const items = keys.reduce((prev, current) => {\r\n prev[current] = {\r\n id: current,\r\n label: result.values[current],\r\n };\r\n\r\n return prev;\r\n }, {});\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupUserClasses',\r\n items,\r\n },\r\n });\r\n return items;\r\n });\r\n};\r\n\r\nexport const getJobSchedulingStatuses = () => (dispatch) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.dictionary.names.url, null, { name: 'batch-statuses' }).then((result) => {\r\n const keys = Object.keys(result.values || {});\r\n const items = keys.map((key) => ({\r\n id: key,\r\n label: result.values[key],\r\n }));\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'jobSchedulingStatuses',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadReportNames = (category) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n locale,\r\n retailer: { retailerType },\r\n },\r\n } = getState();\r\n\r\n return DepsService.restSrv\r\n .list(undefined, DepsService.rest.reports.names.url, {\r\n locale: '*',\r\n retailerType,\r\n category,\r\n })\r\n .then((results) => {\r\n results.categoryList.map((category) => {\r\n category.fileTypeTranslationsDto = category.fileTypeTranslationsDto.reduce((reduced, current) => {\r\n reduced[current.locale] = current;\r\n return reduced;\r\n }, {});\r\n });\r\n\r\n results.categoryList = _.orderBy(results.categoryList, [`.fileTypeTranslationsDto[${locale}].fileDisplayNm`], ['asc']);\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'reportNames',\r\n items: results.categoryList,\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadReportCategories = () => (dispatch) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.dictionary.names.url, { locale: '*' }, { name: DICT_REPORT_CATEGORY_KEY }).then((results) => {\r\n const items = Object.keys(results.values).map((key) => ({\r\n name: results.values[key],\r\n id: key,\r\n }));\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'reportCategories',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadReportExtensions = () => (dispatch) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.reports.extension.url).then((items) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'reportExtensions',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadTransformationTypes = () => (dispatch) =>\r\n DepsService.restSrv.list(null, DepsService.rest.account.report.transformation.types.url).then((items) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'transformationTypes',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadIpsStatus = () => (dispatch, getState) => {\r\n const {\r\n session: { locale },\r\n } = getState();\r\n return DepsService.restSrv\r\n .listCached(null, DepsService.session.rest.inventory.dictionaries.url, {\r\n locale: locale || '*',\r\n typeCategory: PACK_STATUS,\r\n })\r\n .then((data) => {\r\n const items = data.reduce((prev, current) => {\r\n prev[current.typeCode] = {\r\n displayText: current.typeDesc,\r\n };\r\n return prev;\r\n }, {});\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'ipsStatuses',\r\n items,\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupsCreateChannels = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.create-channel' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupsCreateChannels',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupTypes = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.group-type' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupTypes',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupSubTypes = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.group-sub-type' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupSubTypes',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupStatuses = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.status' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupStatuses',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'privilegeTemplates';\r\n\r\nconst fetchPrivileges = (userClass, retailerType) => {\r\n const urlParams = { userClass };\r\n const queryParams = retailerType ? { retailerType } : null;\r\n\r\n const { url } = DepsService.rest.privileges.dynamic;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchPrivilegeTemplates = (userClass, retailerType) => {\r\n const urlParams = { userClass };\r\n const queryParams = retailerType ? { retailerType } : null;\r\n\r\n const { url } = DepsService.rest.privileges.roles.list;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst createPrivilegeTemplate = ({ userClass, translations, privileges }) => {\r\n const urlParams = { userClass };\r\n const date = new Date().getTime();\r\n const payload = {\r\n privileges,\r\n translations,\r\n creationDatetime: date,\r\n modificationDatetime: date,\r\n };\r\n\r\n const { url } = DepsService.rest.privileges.roles.create;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\nconst deletePrivilegeTemplate = (id) => {\r\n const urlParams = { id };\r\n\r\n const { url } = DepsService.rest.privileges.roles.delete;\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, urlParams);\r\n};\r\n\r\nconst updatePrivilegeTemplate = ({ id, ...data }) => {\r\n const urlParams = { id };\r\n const payload = { ...data };\r\n\r\n const { url } = DepsService.rest.privileges.roles.update;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchPrivilegeTemplates,\r\n createPrivilegeTemplate,\r\n deletePrivilegeTemplate,\r\n updatePrivilegeTemplate,\r\n fetchPrivileges,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/resources/privilege-templates.api.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'selfRegistration';\r\n\r\nexport const fetchOwnerValidationMethod = (locale = '*') => {\r\n const { url } = DepsService.rest.dictionary.ownerValidationMethod;\r\n const queryParams = {};\r\n const urlParams = { locale };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const validateOwnerData = (params) => {\r\n const { url } = DepsService.rest.selfRegistration.validation;\r\n const queryParams = { ...params };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerDetails = (retailerId, captchaToken) => {\r\n const { url } = DepsService.rest.user.retailerSettings.selfRegistration;\r\n const queryParams = { captchaToken };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const createAccount = (queryParams, urlParams) => {\r\n const { url } = DepsService.rest.account.primaryEntries;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst transformUserData = ({\r\n firstName,\r\n lastName,\r\n contactPhone,\r\n mobilePhone,\r\n emailAddress,\r\n password,\r\n businessPhone,\r\n questionA,\r\n answerA,\r\n questionB,\r\n answerB,\r\n}) => ({\r\n firstName,\r\n lastName,\r\n contactPhone,\r\n mobilePhone,\r\n emailAddress,\r\n password,\r\n businessPhone,\r\n challenges: [\r\n {\r\n questionId: questionA,\r\n answer: answerA,\r\n },\r\n {\r\n questionId: questionB,\r\n answer: answerB,\r\n },\r\n ],\r\n});\r\n\r\nexport const confirmRegistration = async (userData) => {\r\n const { url } = DepsService.rest.account.confirmRegistration;\r\n const data = transformUserData(userData);\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, data);\r\n};\r\n\r\nexport const activateAccount = async (username, token) => {\r\n const { url } = DepsService.rest.selfRegistration.activation;\r\n const queryParams = {\r\n username,\r\n token,\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/resources/registration.api.js","import actionTypes from './action-types';\r\n\r\nexport const onItemListSelection = ({\r\n gameNumber,\r\n packNo,\r\n portionNumber,\r\n orderId = undefined,\r\n retailerId = undefined,\r\n retailerNumber = undefined,\r\n}) => {\r\n return {\r\n type: actionTypes.ON_ITEM_LIST_SELECTION,\r\n selection: {\r\n gameNumber,\r\n packNo: packNo ? packNo.split(' ')[0] : undefined,\r\n portionNumber,\r\n orderId,\r\n retailerId,\r\n retailerNumber,\r\n },\r\n };\r\n};\r\n\r\nexport const resetDetailsDialogData = () => {\r\n return {\r\n type: actionTypes.RESET_DETAILS_DIALOG_DATA,\r\n };\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/manage-inventory.actions.js","export default {\r\n FETCH_OWNER_VALIDATION_METHOD_REQUEST: 'FETCH_OWNER_VALIDATION_METHOD_REQUEST',\r\n FETCH_OWNER_VALIDATION_METHOD_SUCCESS: 'FETCH_OWNER_VALIDATION_METHOD_SUCCESS',\r\n FETCH_OWNER_VALIDATION_METHOD_FAILURE: 'FETCH_OWNER_VALIDATION_METHOD_FAILURE',\r\n\r\n VALIDATE_OWNER_DATA_REQUEST: 'VALIDATE_OWNER_DATA_REQUEST',\r\n VALIDATE_OWNER_DATA_SUCCESS: 'VALIDATE_OWNER_DATA_SUCCESS',\r\n VALIDATE_OWNER_DATA_FAILURE: 'VALIDATE_OWNER_DATA_FAILURE',\r\n\r\n FETCH_RETAILER_DETAILS_REQUEST: 'FETCH_RETAILER_DETAILS_REQUEST',\r\n FETCH_RETAILER_DETAILS_SUCCESS: 'FETCH_RETAILER_DETAILS_SUCCESS',\r\n FETCH_RETAILER_DETAILS_FAILURE: 'FETCH_RETAILER_DETAILS_FAILURE',\r\n\r\n CLEAR_RETAILER_DETAILS: 'CLEAR_RETAILER_DETAILS',\r\n\r\n CREATE_ACCOUNT_REQUEST: 'CREATE_ACCOUNT_REQUEST',\r\n CREATE_ACCOUNT_SUCCESS: 'CREATE_ACCOUNT_SUCCESS',\r\n CREATE_ACCOUNT_FAILURE: 'CREATE_ACCOUNT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/action-types.js","export default {\r\n FETCH_EFT_HISTORY_REQUEST: 'FETCH_EFT_HISTORY_REQUEST',\r\n FETCH_EFT_HISTORY_SUCCESS: 'FETCH_EFT_HISTORY_SUCCESS',\r\n FETCH_EFT_HISTORY_FAILURE: 'FETCH_EFT_HISTORY_FAILURE',\r\n\r\n FETCH_EFT_EXTENSIONS_REQUEST: 'FETCH_EFT_EXTENSIONS_REQUEST',\r\n FETCH_EFT_EXTENSIONS_SUCCESS: 'FETCH_EFT_EXTENSIONS_SUCCESS',\r\n FETCH_EFT_EXTENSIONS_FAILURE: 'FETCH_EFT_EXTENSIONS_FAILURE',\r\n\r\n FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST: 'FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST',\r\n FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS: 'FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS',\r\n FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE: 'FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE',\r\n\r\n DOWNLOAD_EFT_INVOICE_REQUEST: 'DOWNLOAD_EFT_INVOICE_REQUEST',\r\n DOWNLOAD_EFT_INVOICE_SUCCESS: 'DOWNLOAD_EFT_INVOICE_SUCCESS',\r\n DOWNLOAD_EFT_INVOICE_FAILURE: 'DOWNLOAD_EFT_INVOICE_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/eft-history/action-types.js","import groupBy from 'lodash/groupBy';\r\nimport isEqual from 'lodash/isEqual';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/contact.api';\r\n\r\nexport const fetchLotteryContactsRequest = () => ({\r\n type: actionTypes.FETCH_LOTTERY_CONTACTS_REQUEST,\r\n name: 'lotteryLoadingStatus',\r\n});\r\n\r\nexport const fetchLotteryContactsFailure = () => ({\r\n type: actionTypes.FETCH_LOTTERY_CONTACTS_FAILURE,\r\n name: 'lotteryLoadingStatus',\r\n});\r\n\r\nexport const fetchLotteryContactsSuccess = (contact) => ({\r\n type: actionTypes.FETCH_LOTTERY_CONTACTS_SUCCESS,\r\n contact,\r\n name: 'lotteryLoadingStatus',\r\n});\r\n\r\nexport const fetchLotteryContacts =\r\n (home = false) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n const params = {\r\n home,\r\n jurisdictionId,\r\n secondHandApproval,\r\n };\r\n\r\n dispatch(fetchLotteryContactsRequest());\r\n const contact = await api.fetchLotteryContacts(params);\r\n dispatch(fetchLotteryContactsSuccess(contact));\r\n } catch (error) {\r\n dispatch(fetchLotteryContactsFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_LOTTERY_CONTACTS', error);\r\n }\r\n };\r\n\r\nexport const discardLotteryContactsChangesRequest = () => ({\r\n type: actionTypes.DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST,\r\n});\r\n\r\nexport const discardLotteryContactsChangesFailure = () => ({\r\n type: actionTypes.DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE,\r\n});\r\n\r\nexport const discardLotteryContactsChangesSuccess = () => ({\r\n type: actionTypes.DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS,\r\n});\r\n\r\nexport const discardLotteryContactsChanges = () => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId } = config;\r\n\r\n dispatch(discardLotteryContactsChangesRequest());\r\n await api.discardLotteryContactsChanges(jurisdictionId);\r\n dispatch(discardLotteryContactsChangesSuccess());\r\n } catch (error) {\r\n dispatch(discardLotteryContactsChangesFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('DISCARD_LOTTERY_CONTACTS_CHANGES', error);\r\n }\r\n};\r\n\r\nexport const publishLotteryContactsChangesRequest = () => ({\r\n type: actionTypes.PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST,\r\n});\r\n\r\nexport const publishLotteryContactsChangesFailure = () => ({\r\n type: actionTypes.PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE,\r\n});\r\n\r\nexport const publishLotteryContactsChangesSuccess = () => ({\r\n type: actionTypes.PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS,\r\n});\r\n\r\nexport const publishLotteryContactsChanges = () => async (dispatch, getState) => {\r\n try {\r\n const { config, contact } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n const {\r\n lottery: { contactList },\r\n } = contact;\r\n\r\n const params = {\r\n jurisdictionId,\r\n secondHandApproval,\r\n contactList,\r\n };\r\n\r\n dispatch(publishLotteryContactsChangesRequest());\r\n await api.publishLotteryContactsChanges(params);\r\n dispatch(publishLotteryContactsChangesSuccess());\r\n } catch (error) {\r\n dispatch(publishLotteryContactsChangesFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('PUBLISH_LOTTERY_CONTACTS_CHANGES', error);\r\n }\r\n};\r\n\r\nexport const fetchInquiryContactsRequest = () => ({\r\n type: actionTypes.FETCH_INQUIRY_CONTACTS_REQUEST,\r\n name: 'inquiryLoadingStatus',\r\n});\r\n\r\nexport const fetchInquiryContactsFailure = () => ({\r\n type: actionTypes.FETCH_INQUIRY_CONTACTS_FAILURE,\r\n name: 'inquiryLoadingStatus',\r\n});\r\n\r\nexport const fetchInquiryContactsSuccess = (items) => ({\r\n type: actionTypes.FETCH_INQUIRY_CONTACTS_SUCCESS,\r\n items,\r\n name: 'inquiryLoadingStatus',\r\n});\r\n\r\nexport const fetchInquiryContacts = (parameters) => async (dispatch) => {\r\n try {\r\n dispatch(fetchInquiryContactsRequest());\r\n const queryParams = {\r\n ...parameters,\r\n pageNumber: 0,\r\n pageSize: 0,\r\n };\r\n const response = await api.fetchInquiryContacts(queryParams);\r\n const items = groupBy(response, 'locale');\r\n dispatch(fetchInquiryContactsSuccess(items));\r\n } catch (error) {\r\n dispatch(fetchInquiryContactsFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_LOTTERY_CONTACTS', error);\r\n }\r\n};\r\n\r\nexport const updateInquiryContact = () => (dispatch, getState) => {\r\n const { contact, config } = getState();\r\n const { locales } = config;\r\n const {\r\n inquiry: { items, itemsCopy },\r\n } = contact;\r\n const requests = [];\r\n\r\n locales.forEach((locale) => {\r\n // eslint-disable-next-line array-callback-return\r\n items[locale.code].map((inquiryContact, index) => {\r\n if (!isEqual(inquiryContact, itemsCopy[locale.code][index])) {\r\n const params = {};\r\n const { contactEmail, availableForUser, availableForAnonymous } = inquiryContact;\r\n params[locale.code] = { contactEmail, availableForUser, availableForAnonymous };\r\n requests.push(api.updateInquiryContact(params, inquiryContact));\r\n }\r\n });\r\n });\r\n\r\n return Promise.all(requests);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/actions/contact.actions.js","import tinycolor from 'tinycolor2';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nimport DepsService from 'services/dependencies';\r\nimport * as api from 'app/resources/theme.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const categories = [\r\n {\r\n id: 1,\r\n name: () => DepsService.gettextCatalog.getString('Colors'),\r\n },\r\n {\r\n id: 2,\r\n name: () => DepsService.gettextCatalog.getString('Background'),\r\n },\r\n {\r\n id: 3,\r\n name: () => DepsService.gettextCatalog.getString('Typography'),\r\n },\r\n {\r\n id: 4,\r\n name: () => DepsService.gettextCatalog.getString('Actions'),\r\n },\r\n {\r\n id: 5,\r\n name: () => DepsService.gettextCatalog.getString('Charts'),\r\n },\r\n {\r\n id: 6,\r\n name: () => DepsService.gettextCatalog.getString('Divider'),\r\n },\r\n];\r\n\r\nexport const productTheme = [\r\n {\r\n id: '--primary-color',\r\n categoryId: 1,\r\n value: '#1971b6',\r\n name: 'primary',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--secondary-color',\r\n categoryId: 1,\r\n value: '#14599a',\r\n name: 'secondary',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--error-color',\r\n categoryId: 1,\r\n value: '#e02010',\r\n name: 'error',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--warning-color',\r\n categoryId: 1,\r\n value: '#f39f2b',\r\n name: 'warning',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--info-color',\r\n categoryId: 1,\r\n value: '#2fa2ff',\r\n name: 'info',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--success-color',\r\n categoryId: 1,\r\n value: '#0b8043',\r\n name: 'success',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--background-color',\r\n categoryId: 2,\r\n value: '#f0f5f8',\r\n name: 'background',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--background-paper-color',\r\n categoryId: 2,\r\n value: '#ffffff',\r\n name: 'background paper',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--primary-text-color',\r\n categoryId: 3,\r\n value: '#4d4d4d',\r\n name: 'primary text',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--action-disabled-color',\r\n categoryId: 4,\r\n value: '#5b616b',\r\n name: 'disabled',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--action-disabled-background-color',\r\n categoryId: 4,\r\n value: '#f1f1f1',\r\n name: 'disabled background',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-1',\r\n categoryId: 5,\r\n value: '#673ab7',\r\n name: 'color 1',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-2',\r\n categoryId: 5,\r\n value: '#e91e63',\r\n name: 'color 2',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-3',\r\n categoryId: 5,\r\n value: '#9c27b0',\r\n name: 'color 3',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-4',\r\n categoryId: 5,\r\n value: '#f44336',\r\n name: 'color 4',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-5',\r\n categoryId: 5,\r\n value: '#2196f3',\r\n name: 'color 5',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-6',\r\n categoryId: 5,\r\n value: '#00bcd4',\r\n name: 'color 6',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-7',\r\n categoryId: 5,\r\n value: '#2f9687',\r\n name: 'color 7',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-8',\r\n categoryId: 5,\r\n value: '#4caf50',\r\n name: 'color 8',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-9',\r\n categoryId: 5,\r\n value: '#cddc39',\r\n name: 'color 9',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-10',\r\n categoryId: 5,\r\n value: '#ffc107',\r\n name: 'color 10',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-11',\r\n categoryId: 5,\r\n value: '#ffe722',\r\n name: 'color 11',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-12',\r\n categoryId: 5,\r\n value: '#795548',\r\n name: 'color 12',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--divider-color',\r\n categoryId: 6,\r\n value: '#cccccc',\r\n name: 'divider',\r\n complementaryColors: false,\r\n },\r\n];\r\n\r\nexport const getChartColors = (theme) => theme.reduce((colorsArr, color) => {\r\n if (color.id.includes('--chart-color')) {\r\n return [...colorsArr, color.value];\r\n }\r\n\r\n return colorsArr;\r\n}, []);\r\n\r\nconst setColor = ({ id, value, complementaryColors }) => {\r\n const root = window.document.documentElement;\r\n const color = new tinycolor(value).toHsl();\r\n if (complementaryColors) {\r\n const hue = Math.round(color.h);\r\n const saturation = Math.round(color.s * 100);\r\n const lightness = Math.round(color.l * 100);\r\n\r\n root.style.setProperty(`${id}-h`, hue);\r\n root.style.setProperty(`${id}-s`, saturation);\r\n root.style.setProperty(`${id}-l`, lightness);\r\n\r\n root.style.setProperty(`${id}-lighter`, `hsl(${hue}, ${saturation}%, ${lightness + 15}%)`);\r\n root.style.setProperty(`${id}-darker`, `hsl(${hue}, ${saturation}%, ${lightness - 10}%)`);\r\n }\r\n root.style.setProperty(id, value);\r\n};\r\n\r\nexport const setCurrentThemeSuccess = (theme) => ({\r\n type: actionTypes.SET_CURRENT_THEME_SUCCESS,\r\n theme,\r\n});\r\n\r\nexport const updateThemeColorSuccess = (color) => ({\r\n type: actionTypes.UPDATE_THEME_COLOR_SUCCESS,\r\n color,\r\n});\r\n\r\nexport const setTheme = () => (dispatch, getState) => {\r\n const { config } = getState();\r\n const { colors: lotteryTheme } = config;\r\n const currentTheme = (!isEmpty(lotteryTheme) && JSON.parse(lotteryTheme)) || productTheme;\r\n\r\n currentTheme.forEach((color) => setColor(color));\r\n\r\n dispatch(setCurrentThemeSuccess(cloneDeep(currentTheme)));\r\n};\r\n\r\nexport const restoreTheme = () => (dispatch) => {\r\n dispatch(setCurrentThemeSuccess(cloneDeep(productTheme)));\r\n\r\n productTheme.forEach((color) => setColor(color));\r\n};\r\n\r\nexport const updateThemeColor = (color) => (dispatch) => {\r\n setColor(color);\r\n dispatch(updateThemeColorSuccess(color));\r\n};\r\n\r\nexport const saveThemeRequest = () => ({\r\n type: actionTypes.SAVE_THEME_REQUEST,\r\n error: false,\r\n});\r\n\r\nexport const saveThemeSuccess = () => ({\r\n type: actionTypes.SAVE_THEME_SUCCESS,\r\n});\r\n\r\nexport const saveThemeFailure = () => ({\r\n type: actionTypes.SAVE_THEME_FAILURE,\r\n error: true,\r\n});\r\n\r\nexport const saveTheme = () => async (dispatch, getState) => {\r\n try {\r\n const { theme } = getState();\r\n dispatch(saveThemeRequest());\r\n await api.saveTheme(theme.colors);\r\n\r\n dispatch(saveThemeSuccess());\r\n } catch (error) {\r\n dispatch(saveThemeFailure());\r\n console.error('SAVE_THEME', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/theme.actions.js","export default {\r\n ACTIVE: 'active',\r\n ARCHIVED: 'archived',\r\n SCHEDULED: 'scheduled',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/announcements/announcement-types.js","import actionTypes from '../action-types';\r\n\r\nexport const setSelectedLanguage = (selectedLanguage = '') => ({\r\n type: actionTypes.SET_SELECTED_LANGUAGE,\r\n selectedLanguage,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/selected-language/selected-language.actions.js","export default {\r\n FETCH_NEW_LABEL_STATUS_REQUEST: 'FETCH_NEW_LABEL_STATUS_REQUEST',\r\n FETCH_NEW_LABEL_STATUS_SUCCESS: 'FETCH_NEW_LABEL_STATUS_SUCCESS',\r\n FETCH_NEW_LABEL_STATUS_FAILURE: 'FETCH_NEW_LABEL_STATUS_FAILURE',\r\n\r\n SET_NEW_LABEL_STATUS_REQUEST: 'SET_NEW_LABEL_STATUS_REQUEST',\r\n SET_NEW_LABEL_STATUS_SUCCESS: 'SET_NEW_LABEL_STATUS_SUCCESS',\r\n SET_NEW_LABEL_STATUS_FAILURE: 'SET_NEW_LABEL_STATUS_FAILURE',\r\n\r\n PREFETCH_DOCUMENT_REQUEST: 'PREFETCH_DOCUMENT_REQUEST',\r\n PREFETCH_DOCUMENT_SUCCESS: 'PREFETCH_DOCUMENT_SUCCESS',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/action-types.js","export default {\r\n FETCH_SFTP_LIST_REQUEST: 'FETCH_SFTP_LIST_REQUEST',\r\n FETCH_SFTP_LIST_SUCCESS: 'FETCH_SFTP_LIST_SUCCESS',\r\n FETCH_SFTP_LIST_FAILURE: 'FETCH_SFTP_LIST_FAILURE',\r\n\r\n DELETE_SFTP_BY_ID_REQUEST: 'DELETE_SFTP_BY_ID_REQUEST',\r\n DELETE_SFTP_BY_ID_SUCCESS: 'DELETE_SFTP_BY_ID_SUCCESS',\r\n DELETE_SFTP_BY_ID_FAILURE: 'DELETE_SFTP_BY_ID_FAILURE',\r\n\r\n FETCH_SFTP_BY_ID_REQUEST: 'FETCH_SFTP_BY_ID_REQUEST',\r\n FETCH_SFTP_BY_ID_SUCCESS: 'FETCH_SFTP_BY_ID_SUCCESS',\r\n FETCH_SFTP_BY_ID_FAILURE: 'FETCH_SFTP_BY_ID_FAILURE',\r\n\r\n UPDATE_SFTP_BY_ID_REQUEST: 'UPDATE_SFTP_BY_ID_REQUEST',\r\n UPDATE_SFTP_BY_ID_SUCCESS: 'UPDATE_SFTP_BY_ID_SUCCESS',\r\n UPDATE_SFTP_BY_ID_FAILURE: 'UPDATE_SFTP_BY_ID_FAILURE',\r\n\r\n CREATE_SFTP_REQUEST: 'CREATE_SFTP_REQUEST',\r\n CREATE_SFTP_SUCCESS: 'CREATE_SFTP_SUCCESS',\r\n CREATE_SFTP_FAILURE: 'CREATE_SFTP_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/actions/action-types.js","export default {\r\n FETCH_BOND_RENEWAL_REQUEST: 'FETCH_BOND_RENEWAL_REQUEST',\r\n FETCH_BOND_RENEWAL_SUCCESS: 'FETCH_BOND_RENEWAL_SUCCESS',\r\n FETCH_BOND_RENEWAL_FAILURE: 'FETCH_BOND_RENEWAL_FAILURE',\r\n\r\n DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST: 'DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST',\r\n DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS: 'DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS',\r\n DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE: 'DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/bond-renewal/action-types.js","export default {\r\n FETCH_SITE_OPERATIONAL_STATUS_REQUEST: 'FETCH_SITE_OPERATIONAL_STATUS_REQUEST',\r\n FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: 'FETCH_SITE_OPERATIONAL_STATUS_SUCCESS',\r\n FETCH_SITE_OPERATIONAL_STATUS_FAILURE: 'FETCH_SITE_OPERATIONAL_STATUS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-operational-status/action-types.js","export default {\r\n FETCH_SUBORDINATE_LIST_REQUEST: 'FETCH_SUBORDINATE_LIST_REQUEST',\r\n FETCH_SUBORDINATE_LIST_SUCCESS: 'FETCH_SUBORDINATE_LIST_SUCCESS',\r\n FETCH_SUBORDINATE_LIST_FAILURE: 'FETCH_SUBORDINATE_LIST_FAILURE',\r\n\r\n SELECT_RETAILER: 'SELECT_RETAILER',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/actions/action-types.js","export default {\r\n FETCH_TERMS_OF_USE_REQUEST: 'FETCH_TERMS_OF_USE_REQUEST',\r\n FETCH_TERMS_OF_USE_SUCCESS: 'FETCH_TERMS_OF_USE_SUCCESS',\r\n FETCH_TERMS_OF_USE_FAILURE: 'FETCH_TERMS_OF_USE_FAILURE',\r\n\r\n DOWNLOAD_TERMS_OF_USE_REQUEST: 'DOWNLOAD_TERMS_OF_USE_REQUEST',\r\n DOWNLOAD_TERMS_OF_USE_SUCCESS: 'DOWNLOAD_TERMS_OF_USE_SUCCESS',\r\n DOWNLOAD_TERMS_OF_USE_FAILURE: 'DOWNLOAD_TERMS_OF_USE_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/actions/terms-of-use.action-types.js","const namespace = 'retailer_dashboards';\r\nexport const SET_TYPE = `${namespace}_SET_TYPE`;\r\nexport const SET_SUBTYPE = `${namespace}_SET_SUBTYPE`;\r\nexport const CLEAR_RETAILER_DASHBOARDS = `${namespace}_CLEAR_RETAILER_DASHBOARDS`;\r\n\r\nexport const setType = (type) => ({\r\n type: SET_TYPE,\r\n payload: type,\r\n});\r\n\r\nexport const setSubType = (subtype) => ({\r\n type: SET_SUBTYPE,\r\n payload: subtype,\r\n});\r\n\r\nexport const setDashboardSubtype = (subtype) => (dispatch) => {\r\n dispatch(setSubType(subtype));\r\n};\r\n\r\nexport const clearRetailerDashboards = () => ({\r\n type: CLEAR_RETAILER_DASHBOARDS,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-dashboards/actions/retailer-dashboards.actions.js","import _ from 'lodash';\r\n\r\nimport * as api from '../resources/manage-icons.api';\r\n\r\nconst FETCH_ICONS_REQUEST = 'FETCH_ICONS_REQUEST';\r\nconst FETCH_ICONS_SUCCESS = 'FETCH_ICONS_SUCCESS';\r\nconst FETCH_ICONS_FAILURE = 'FETCH_ICONS_FAILURE';\r\n\r\nexport const fetchIconsRequest = () => ({\r\n type: FETCH_ICONS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchIconsSuccess = ({ entries, versionType }) => ({\r\n type: FETCH_ICONS_SUCCESS,\r\n isLoading: false,\r\n entries,\r\n versionType,\r\n});\r\n\r\nexport const fetchIconsFailure = () => ({\r\n type: FETCH_ICONS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchIcons = (approved = false) => (dispatch, getState) => {\r\n const state = getState();\r\n const { jurisdiction } = state.session;\r\n const { notification, error } = state.manageIcons;\r\n\r\n const config = {\r\n jurisdiction,\r\n approved,\r\n };\r\n\r\n dispatch(fetchIconsRequest());\r\n\r\n if (notification !== '' && error !== '') dispatch(clearNotifications());\r\n\r\n return api\r\n .fetchIcons(config)\r\n .then(({ entries, versionType }) => dispatch(fetchIconsSuccess({ entries, versionType })))\r\n .catch(() => dispatch(fetchIconsFailure()));\r\n};\r\n\r\nconst UPLOAD_ICON_REQUEST = 'UPLOAD_ICON_REQUEST';\r\nconst UPLOAD_ICON_SUCCESS = 'UPLOAD_ICON_SUCCESS';\r\nconst UPLOAD_ICON_FAILURE = 'UPLOAD_ICON_FAILURE';\r\n\r\nexport const uploadIconRequest = () => ({\r\n type: UPLOAD_ICON_REQUEST,\r\n isFileUploading: true,\r\n});\r\n\r\nexport const uploadIconSuccess = (notification, iconsApprovalStatus) => ({\r\n type: UPLOAD_ICON_SUCCESS,\r\n isFileUploading: false,\r\n notification,\r\n iconsApprovalStatus,\r\n});\r\n\r\nconst uploadIconSuccessAsnc = (notification, iconsApprovalStatus) => (dispatch) => new Promise((resolve) => {\r\n resolve(dispatch(uploadIconSuccess(notification, iconsApprovalStatus)));\r\n});\r\n\r\nexport const uploadIconFailure = () => ({\r\n type: UPLOAD_ICON_FAILURE,\r\n isFileUploading: false,\r\n});\r\n\r\nexport const uploadIcon = () => (dispatch, getState) => {\r\n const state = getState();\r\n const { jurisdiction, privileges } = state.session;\r\n const { secondHandApproval } = state.config;\r\n const { entries } = state.manageIcons;\r\n const { approve } = privileges.cms.widgetsManagement;\r\n const canApprove = approve || !secondHandApproval;\r\n\r\n const config = {\r\n jurisdiction,\r\n entries,\r\n };\r\n\r\n dispatch(uploadIconRequest());\r\n\r\n return api\r\n .uploadIcon(config)\r\n .then(() => {\r\n const notification = canApprove ? api.codes.ICON_PUBLISH_SUCCESS : api.codes.ICON_UPDATE_SUCCESS;\r\n const iconsApprovalStatus = canApprove ? 'APPROVED' : 'DRAFT';\r\n\r\n return dispatch(uploadIconSuccessAsnc(notification, iconsApprovalStatus)).then(() => dispatch(clearNotifications()));\r\n })\r\n .catch(() => {\r\n dispatch(uploadIconFailure());\r\n dispatch(cancelIconsChanges());\r\n });\r\n};\r\n\r\nconst SELECT_ICON_REQUEST = 'SELECT_ICON_REQUEST';\r\nconst SELECT_ICON_SUCCESS = 'SELECT_ICON_SUCCESS';\r\nconst SELECT_ICON_FAILURE = 'SELECT_ICON_FAILURE';\r\n\r\nexport const selectIconRequest = () => ({\r\n type: SELECT_ICON_REQUEST,\r\n startFileSelection: true,\r\n});\r\n\r\nexport const selectIconSuccess = (icon) => ({\r\n type: SELECT_ICON_SUCCESS,\r\n startFileSelection: false,\r\n notification: api.codes.ICON_UPLOAD_SUCCESS,\r\n icon,\r\n});\r\n\r\nexport const selectIconFailure = (error) => ({\r\n type: SELECT_ICON_FAILURE,\r\n startFileSelection: false,\r\n error,\r\n});\r\n\r\nexport const selectIcon = (file, options = {}) => (dispatch) => {\r\n dispatch(selectIconRequest());\r\n dispatch(clearNotifications());\r\n\r\n return fileReader(file, options)\r\n .then((icon) => validateImageRatio(icon))\r\n .then((icon) => {\r\n // The file's result results in a string that cannot be directly decoded as Base64\r\n // https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL\r\n const base64Format = icon.source.replace(`data:${icon.type};base64,`, '');\r\n\r\n return {\r\n title: icon.name,\r\n created: Date.now(),\r\n fields: {\r\n en_US: {\r\n thumbnail: icon.source,\r\n },\r\n },\r\n attachments: {\r\n en_US: [\r\n {\r\n name: icon.name,\r\n mimeType: icon.type,\r\n content: base64Format,\r\n },\r\n ],\r\n },\r\n };\r\n })\r\n .then((icon) => dispatch(selectIconSuccess(icon)))\r\n .catch((error) => {\r\n const isSupportedError = api.errors.find((er) => er.code === error);\r\n if (isSupportedError) {\r\n dispatch(selectIconFailure(error));\r\n }\r\n });\r\n};\r\n\r\nconst DISCARD_CHANGES_REQUEST = 'DISCARD_CHANGES_REQUEST';\r\nconst DISCARD_CHANGES_SUCCESS = 'DISCARD_CHANGES_SUCCESS';\r\nconst DISCARD_CHANGES_FAILURE = 'DISCARD_CHANGES_FAILURE';\r\n\r\nexport const discardIconsRequest = () => ({\r\n type: DISCARD_CHANGES_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const discardIconsSuccess = () => ({\r\n type: DISCARD_CHANGES_SUCCESS,\r\n isLoading: false,\r\n notification: api.codes.ICON_DISCARD_SUCCESS,\r\n});\r\n\r\nexport const discardIconsFailure = () => ({\r\n type: DISCARD_CHANGES_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const discardIcons = () => (dispatch, getState) => {\r\n const state = getState();\r\n const { jurisdiction } = state.session;\r\n\r\n const config = {\r\n jurisdiction,\r\n };\r\n\r\n dispatch(discardIconsRequest());\r\n\r\n return api\r\n .discardIcons(config)\r\n .then(() => {\r\n dispatch(fetchIcons());\r\n return dispatch(discardIconsSuccess());\r\n })\r\n .catch(() => dispatch(discardIconsFailure()));\r\n};\r\n\r\nconst DELETE_ICON = 'DELETE_ICON';\r\n\r\nexport const deleteIconsSuccess = (icon) => ({\r\n type: DELETE_ICON,\r\n notification: api.codes.ICON_DELETE_SUCCESS,\r\n icon,\r\n});\r\n\r\nconst deleteIconAsnc = (icon) => (dispatch) => new Promise((resolve) => {\r\n resolve(dispatch(deleteIconsSuccess(icon)));\r\n});\r\n\r\nexport const deleteIcon = (icon) => (dispatch) => {\r\n dispatch(deleteIconAsnc(icon)).then(() => dispatch(clearNotifications()));\r\n};\r\n\r\nconst CANCEL_CHANGES = 'CANCEL_CHANGES';\r\n\r\nexport const cancelIconsChanges = () => ({\r\n type: CANCEL_CHANGES,\r\n});\r\n\r\nconst CLEAR_NOTIFICATIONS = 'CLEAR_NOTIFICATIONS';\r\n\r\nexport const clearNotifications = () => ({\r\n type: CLEAR_NOTIFICATIONS,\r\n notification: '',\r\n error: '',\r\n});\r\n\r\nexport default {\r\n FETCH_ICONS_REQUEST,\r\n FETCH_ICONS_SUCCESS,\r\n FETCH_ICONS_FAILURE,\r\n UPLOAD_ICON_REQUEST,\r\n UPLOAD_ICON_FAILURE,\r\n UPLOAD_ICON_SUCCESS,\r\n SELECT_ICON_REQUEST,\r\n SELECT_ICON_FAILURE,\r\n SELECT_ICON_SUCCESS,\r\n DISCARD_CHANGES_REQUEST,\r\n DISCARD_CHANGES_SUCCESS,\r\n DISCARD_CHANGES_FAILURE,\r\n DELETE_ICON,\r\n CANCEL_CHANGES,\r\n CLEAR_NOTIFICATIONS,\r\n};\r\n\r\nconst fileReader = (file, options = {}) => {\r\n const fileReader = new FileReader();\r\n\r\n return new Promise((resolve, reject) => {\r\n fileReader.onerror = () => {\r\n fileReader.abort();\r\n reject(api.codes.FILE_ERROR);\r\n };\r\n\r\n fileReader.onload = () => {\r\n const MAX_FILE_SIZE = 300; // KB\r\n const size = Math.round(file.size / 1024);\r\n const resolveObj = {\r\n name: file.name,\r\n type: file.type,\r\n source: fileReader.result,\r\n };\r\n const ext = (`.${_.last(file.name.split('.'))}`).toLowerCase();\r\n\r\n if (size > MAX_FILE_SIZE) reject(api.codes.FILE_SIZE_EXCEEDED);\r\n\r\n if (_.isArray(options.accept) && !options.accept.includes(ext)) reject(api.codes.FILE_EXTENSION_ERROR);\r\n\r\n resolve(resolveObj);\r\n };\r\n\r\n fileReader.readAsDataURL(file);\r\n });\r\n};\r\n\r\nconst validateImageRatio = (file) => {\r\n const img = new Image();\r\n\r\n return new Promise((resolve, reject) => {\r\n img.src = file.source;\r\n\r\n img.onload = () => {\r\n if (img.height > img.width) reject(api.codes.FILE_RATIO_ERROR);\r\n\r\n resolve(file);\r\n };\r\n\r\n img.onerror = () => {\r\n reject(api.codes.FILE_ERROR);\r\n };\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/manage-icons.actions.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchUnreadMessagesCountRequest = () => ({\r\n type: actionTypes.FETCH_UNREAD_MESSAGES_COUNT_REQUEST,\r\n});\r\n\r\nexport const fetchUnreadMessagesCountFailure = () => ({\r\n type: actionTypes.FETCH_UNREAD_MESSAGES_COUNT_FAILURE,\r\n});\r\n\r\nexport const fetchUnreadMessagesCountSuccess = (count) => ({\r\n type: actionTypes.FETCH_UNREAD_MESSAGES_COUNT_SUCCESS,\r\n count,\r\n});\r\n\r\nexport const fetchUnreadMessagesCount = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchUnreadMessagesCountRequest());\r\n const count = await api.fetchUnreadMessagesCount();\r\n\r\n dispatch(fetchUnreadMessagesCountSuccess(count));\r\n } catch (error) {\r\n dispatch(fetchUnreadMessagesCountFailure(error));\r\n console.error('FETCH_UNREAD_MESSAGES', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/unread-count.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionarySuccess = (displayTypes) => ({\r\n type: actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS,\r\n displayTypes,\r\n});\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionary = (locale) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const localeToUse = locale || session.locale;\r\n dispatch(fetchPrivilegeDisplayTypesDictionaryRequest());\r\n const displayTypes = await api.fetchPrivilegeDisplayTypesDictionary(localeToUse);\r\n dispatch(fetchPrivilegeDisplayTypesDictionarySuccess(displayTypes));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_PRIVILEGE_DISPLAY_TYPES', error);\r\n dispatch(fetchPrivilegeDisplayTypesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/privilege-display-types-dictionary.actions.js","import api from '../resources/subordinate-list.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSubordinateListRequest = () => ({\r\n type: actionTypes.FETCH_SUBORDINATE_LIST_REQUEST,\r\n name: 'subordinateListLoadingStatus',\r\n});\r\n\r\nexport const fetchSubordinateListSuccess = (list, pagination) => ({\r\n type: actionTypes.FETCH_SUBORDINATE_LIST_SUCCESS,\r\n list,\r\n pagination,\r\n name: 'subordinateListLoadingStatus',\r\n});\r\n\r\nexport const fetchSubordinateListFailure = () => ({\r\n type: actionTypes.FETCH_SUBORDINATE_LIST_FAILURE,\r\n name: 'subordinateListLoadingStatus',\r\n});\r\n\r\nexport const fetchSubordinateList = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = params.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...params,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchSubordinateListRequest());\r\n\r\n const { content: list, ...pagination } = await api.fetchSubordinateList(requestParams);\r\n dispatch(fetchSubordinateListSuccess(list, pagination));\r\n } catch (error) {\r\n console.error('FETCH_SUBORDINATE_LIST', error);\r\n dispatch(fetchSubordinateListFailure());\r\n }\r\n};\r\n\r\nexport const selectRetailer = (retailer) => ({\r\n type: actionTypes.SELECT_RETAILER,\r\n retailer,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/actions/subordinate-list.actions.js","import * as api from 'dashboard/resources/announcements.api';\r\nimport { isActiveAnnouncement, isArchivedAnnouncement, isScheduledAnnouncement } from 'dashboard/reducers/announcements/utils';\r\nimport isEqual from 'lodash/isEqual';\r\n\r\nimport announcementTypes from './announcement-types';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchAnnouncementsRequest = () => ({\r\n type: actionTypes.FETCH_ANNOUNCEMENTS_REQUEST,\r\n name: 'announcementsStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchAnnouncementsSuccess = ({ draft, items }, locale, lotteryTime) => ({\r\n type: actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS,\r\n name: 'announcementsStatusLoadingStatus',\r\n draft,\r\n items,\r\n locale,\r\n lotteryTime,\r\n});\r\n\r\nexport const fetchAnnouncementsFailure = () => ({\r\n type: actionTypes.FETCH_ANNOUNCEMENTS_FAILURE,\r\n name: 'announcementsStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchAnnouncements =\r\n (dashboard = false) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { config, session } = getState();\r\n const { locale, lotteryTime } = session;\r\n const { secondHandApproval, jurisdictionId } = config;\r\n const showOnlyPublishedWidgets = dashboard || !secondHandApproval;\r\n\r\n dispatch(fetchAnnouncementsRequest());\r\n const result = await api.fetchAnnouncements(showOnlyPublishedWidgets, jurisdictionId);\r\n dispatch(fetchAnnouncementsSuccess(result, locale, lotteryTime));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_ANNOUNCEMENTS', error);\r\n dispatch(fetchAnnouncementsFailure());\r\n }\r\n };\r\n\r\nexport const togglePinAnnouncements = (index) => (dispatch, getState) => {\r\n const { session, config } = getState();\r\n const { locale } = session;\r\n const { locales } = config;\r\n\r\n dispatch({\r\n type: actionTypes.TOGGLE_PIN_ANNOUNCEMENTS,\r\n index,\r\n locale,\r\n locales,\r\n });\r\n};\r\n\r\nexport const deleteActiveAnnouncement = (index) => ({\r\n type: actionTypes.DELETE_ACTIVE_ANNOUNCEMENT,\r\n index,\r\n});\r\n\r\nexport const deleteArchivedAnnouncement = (index) => ({\r\n type: actionTypes.DELETE_ARCHIVED_ANNOUNCEMENT,\r\n index,\r\n});\r\n\r\nexport const deleteScheduledAnnouncement = (index) => ({\r\n type: actionTypes.DELETE_SCHEDULED_ANNOUNCEMENT,\r\n index,\r\n});\r\n\r\nexport const deleteAnnouncement = (index, type) => (dispatch) => {\r\n switch (type) {\r\n case announcementTypes.ACTIVE:\r\n dispatch(deleteActiveAnnouncement(index));\r\n break;\r\n case announcementTypes.ARCHIVED:\r\n dispatch(deleteArchivedAnnouncement(index));\r\n break;\r\n case announcementTypes.SCHEDULED:\r\n dispatch(deleteScheduledAnnouncement(index));\r\n break;\r\n default:\r\n // eslint-disable-next-line no-console\r\n console.error('UNKNOWN ANNOUNCEMENT TYPE');\r\n }\r\n};\r\n\r\nexport const addActiveAnnouncement = (announcement, locale) => ({\r\n type: actionTypes.ADD_ACTIVE_ANNOUNCEMENT,\r\n announcement,\r\n locale,\r\n});\r\n\r\nexport const addArchivedAnnouncement = (announcement, locale) => ({\r\n type: actionTypes.ADD_ARCHIVED_ANNOUNCEMENT,\r\n announcement,\r\n locale,\r\n});\r\n\r\nexport const addScheduledAnnouncement = (announcement, locale) => ({\r\n type: actionTypes.ADD_SCHEDULED_ANNOUNCEMENT,\r\n announcement,\r\n locale,\r\n});\r\n\r\nexport const addAnnouncement = (announcement) => (dispatch, getState) => {\r\n const { session } = getState();\r\n const { lotteryTime, locale } = session;\r\n\r\n if (isActiveAnnouncement(announcement, lotteryTime)) {\r\n dispatch(addActiveAnnouncement(announcement, locale));\r\n } else if (isArchivedAnnouncement(announcement, lotteryTime)) {\r\n dispatch(addArchivedAnnouncement(announcement, locale));\r\n } else if (isScheduledAnnouncement(announcement, lotteryTime)) {\r\n dispatch(addScheduledAnnouncement(announcement, locale));\r\n }\r\n};\r\n\r\nexport const updateAnnouncementsRequest = () => ({\r\n type: actionTypes.UPDATE_ANNOUNCEMENTS_REQUEST,\r\n});\r\n\r\nexport const updateAnnouncementsSuccess = () => ({\r\n type: actionTypes.UPDATE_ANNOUNCEMENTS_SUCCESS,\r\n});\r\n\r\nexport const updateAnnouncementsFailure = () => ({\r\n type: actionTypes.UPDATE_ANNOUNCEMENTS_FAILURE,\r\n});\r\n\r\nconst getModifiedAnnouncements = (announcements, announcementsToUpdate, locale) => {\r\n // Find deleted announcements\r\n const deletedAnnoucments = announcements.filter(\r\n (announcement) => !announcementsToUpdate.find((announcementToUpdate) => announcementToUpdate.id === announcement.id)\r\n );\r\n\r\n // Find new aannouncements\r\n const newAnnouncements = announcementsToUpdate.filter((announcementToUpdate) => !announcementToUpdate.id);\r\n\r\n // Find updated announcements\r\n const updatedAnnouncements = announcementsToUpdate.filter((announcementToUpdate) =>\r\n announcements.find((announcement) => announcement.id === announcementToUpdate.id && !isEqual(announcementToUpdate, announcement))\r\n );\r\n\r\n return [...updatedAnnouncements, ...deletedAnnoucments, ...newAnnouncements].map((announcement) => announcement.fields[locale].title);\r\n};\r\n\r\nexport const updateAnnouncements = () => async (dispatch, getState) => {\r\n try {\r\n const { session, config, announcements } = getState();\r\n const { locale } = session;\r\n const { locales, secondHandApproval, jurisdictionId } = config;\r\n const { active, scheduled, archived } = announcements;\r\n const announcementsToUpdate = [...active, ...scheduled, ...archived];\r\n const modified = getModifiedAnnouncements(announcements.items, announcementsToUpdate, locale);\r\n\r\n dispatch(updateAnnouncementsRequest());\r\n await api.updateAnnouncements(announcementsToUpdate, modified, locales, secondHandApproval, jurisdictionId);\r\n dispatch(updateAnnouncementsSuccess());\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('UPDATE_ANNOUNCEMENTS', error);\r\n dispatch(updateAnnouncementsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/announcements/announcements.actions.js","import _ from 'lodash';\r\n\r\nconst ASC_DESC_MAPPING = {\r\n true: 'asc', // eslint-disable-line quote-props\r\n false: 'desc', // eslint-disable-line quote-props\r\n};\r\n\r\nconst defaultFilterHandler = (item, filters, key) => {\r\n const filterValue = _.toString(_.get(filters, key)).toLowerCase();\r\n const itemValue = _.toString(_.get(item, key)).toLowerCase();\r\n return !filterValue || itemValue.indexOf(filterValue) > -1;\r\n};\r\n\r\nfunction applyGrid(deps, fetchFunction, gridId, params = {}) {\r\n return _.flow([\r\n obj => _.set(obj, 'fetchData', fetchData.bind(null, fetchFunction, gridId)),\r\n obj => _.set(obj, 'applyFilters', applyFilters.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'sortByColumn', sortByColumn.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'changePageSize', changePageSize.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'gotoPage', gotoPage.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'nextPage', nextPage.bind(null, obj.gotoPage, deps, gridId)),\r\n obj => _.set(obj, 'prevPage', prevPage.bind(null, obj.gotoPage, deps, gridId)),\r\n obj => _.merge(obj, initialGridModel(deps, params))\r\n ])({});\r\n}\r\n\r\nfunction initialGridModel(deps, params) {\r\n return {\r\n loaded: false,\r\n data: [],\r\n meta: {},\r\n pagingModel: {\r\n [deps.config.pageNoKey]: params[deps.config.pageNoKey] || deps.config.defaultPageNo,\r\n [deps.config.pageSizeKey]: params[deps.config.pageSizeKey] || deps.config.defaultPageSize[0],\r\n [deps.config.sortColumnKey]: params[deps.config.sortColumnKey] || deps.config.defaultSortColumnKey,\r\n [deps.config.directionKey]: params[deps.config.directionKey] === undefined ? deps.config.defaultSortDirection : params[deps.config.directionKey],\r\n [deps.config.filtersKey]: {},\r\n },\r\n };\r\n}\r\n\r\nfunction fetchData(fetchFunction, gridId, model) {\r\n const gridModel = _.get(model, gridId);\r\n return fetchFunction(model, gridModel.pagingModel).then((result) => {\r\n const newGridModel = _.merge(gridModel, {\r\n meta: evalMeta(result),\r\n loaded: true,\r\n });\r\n newGridModel.data = result.content || result;\r\n return _.set(model, gridId, newGridModel);\r\n });\r\n}\r\n\r\nfunction gotoPage(deps, gridId, model, page) {\r\n return _.get(model, gridId).fetchData(\r\n _.set(\r\n model,\r\n `${gridId}.pagingModel.${deps.config.pageNoKey}`,\r\n Number.isNaN(page) ? 0 : page\r\n )\r\n );\r\n}\r\n\r\nfunction nextPage(gotoPageFunc, deps, gridId, model) {\r\n let pageNo = _.get(model, `${gridId}.pagingModel.${deps.config.pageNoKey}`);\r\n return gotoPageFunc(model, ++pageNo);\r\n}\r\n\r\nfunction prevPage(gotoPageFunc, deps, gridId, model) {\r\n let pageNo = _.get(model, `${gridId}.pagingModel.${deps.config.pageNoKey}`);\r\n return gotoPageFunc(model, --pageNo);\r\n}\r\n\r\nfunction setFilters(deps, gridId, model, filters) {\r\n return _.set(model, `${gridId}.pagingModel.${deps.config.filtersKey}`, filters);\r\n}\r\n\r\nfunction applyFilters(deps, gridId, model, filters) {\r\n return _.get(model, gridId).fetchData(\r\n _.set(\r\n _.set(model, `${gridId}.pagingModel.${deps.config.pageNoKey}`, 0),\r\n `${gridId}.pagingModel.${deps.config.filtersKey}`,\r\n removeEmptyFilters(filters)\r\n )\r\n );\r\n}\r\n\r\nfunction removeEmptyFilters(filters = []) {\r\n return Object.keys(filters).reduce((newFilters, key) => {\r\n const value = filters[key];\r\n if (value) {\r\n newFilters[key] = value;\r\n }\r\n return newFilters;\r\n }, {});\r\n}\r\n\r\nfunction sortByColumn(deps, gridId, model, column, direction) {\r\n return _.get(model, gridId).fetchData(\r\n _.flow([\r\n obj => _.set(obj, `${gridId}.pagingModel.${deps.config.sortColumnKey}`, column),\r\n obj => _.set(obj, `${gridId}.pagingModel.${deps.config.directionKey}`, direction.toString())\r\n ])(model)\r\n );\r\n}\r\n\r\nfunction changePageSize(deps, gridId, model, pageSize) {\r\n return _.get(model, gridId).fetchData(_.set(model, `${gridId}.pagingModel.${deps.config.pageSizeKey}`, pageSize));\r\n}\r\n\r\nfunction sortItems(items, column, direction) {\r\n return _.orderBy(items, [column], [direction]);\r\n}\r\n\r\nfunction filterItems(items, filters = {}, customHandlers = {}) {\r\n const filterKeys = Object.keys(filters).filter((item) => filters[item] !== undefined && filters[item] !== null);\r\n return _.cloneDeep(items).filter((item) => filterKeys.every((key) => (customHandlers[key] || defaultFilterHandler)(item, filters, key)));\r\n}\r\n\r\nfunction evalMeta(result) {\r\n return {\r\n count: result.totalElements,\r\n pagesCount: result.totalPages,\r\n page: result.number,\r\n displayedPage: ++result.number,\r\n pageSize: result.size,\r\n hasPreviousPage: result.hasPrevious,\r\n hasNextPage: result.hasNext,\r\n };\r\n}\r\n\r\nexport default {\r\n applyGrid,\r\n sortItems,\r\n filterItems,\r\n setFilters,\r\n defaultFilterHandler,\r\n ASC_DESC_MAPPING,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/lsp-grid/grid.js","module.exports = {\"jurisdiction\":{\"details\":{\"url\":\"api/configuration/jurisdiction\"},\"get\":{\"url\":\"api/rest/user/self/jurisdiction/{id}\"}},\"navigator\":{\"typecodes\":{\"url\":\"api/system/typecodes\"}},\"theme\":{\"url\":\"api/theme\"},\"cms\":{\"sms-policy\":{\"first\":{\"url\":\"api/configuration/sms-policy\"},\"second\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/sms-policy\"}},\"privacy-policy\":{\"first\":{\"url\":\"api/configuration/privacy-policy\"},\"second\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/privacy-policy\"}},\"widgets\":{\"first\":{\"url\":\"api/configuration/widgets\"},\"second\":{\"url\":\"api/configuration/widgets\"},\"discard\":{\"url\":\"api/configuration/widgets/discard\"},\"download\":{\"url\":\"api/content/widget/{contentId}\"}},\"carousel\":{\"first\":{\"url\":\"api/configuration/carousel\"},\"second\":{\"url\":\"api/configuration/carousel\"},\"discard\":{\"url\":\"api/configuration/carousel/discard\"}},\"login-popup\":{\"first\":{\"url\":\"api/system/login-popup\"},\"second\":{\"url\":\"api/system/login-popup\"},\"discard\":{\"url\":\"api/system/login-popup/discard\"}},\"contacts\":{\"first\":{\"url\":\"api/contact/contacts\"},\"second\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/contacts\"}},\"announcements\":{\"first\":{\"url\":\"api/system/announcements\"},\"second\":{\"url\":\"api/system/announcements/{jurisdictionId}\"},\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/announcements/snapshots/discard\"}},\"terms\":{\"view\":{\"first\":{\"url\":\"api/configuration/terms-of-use\"},\"second\":{\"url\":\"api/configuration/terms-of-use\"}},\"update\":{\"first\":{\"url\":\"api/configuration/terms-of-use\"},\"second\":{\"url\":\"api/configuration/terms-of-use\"}},\"currentVersion\":{\"url\":\"api/configuration/terms-of-use/current-version\"},\"versionDetails\":{\"url\":\"api/configuration/terms-of-use/version/{version}\"},\"allVersions\":{\"url\":\"api/configuration/terms-of-use/version\"},\"download\":{\"url\":\"api/content/widget/{contentId}\"}},\"termsOfUse\":{\"discard\":{\"url\":\"api/configuration/terms-of-use/snapshots/discard\"}},\"privacyPolicy\":{\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/privacy-policy/snapshots/discard\"}},\"smsPolicy\":{\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/sms-policy/snapshots/discard\"}},\"content\":{\"update\":{\"url\":\"api/jurisdiction/{jurisdictionId}/content/{contentId}\"},\"view\":{\"url\":\"api/jurisdiction/{jurisdictionId}/content/{contentId}\"}},\"icons\":{\"get\":{\"first\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"},\"second\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"}},\"put\":{\"first\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"},\"second\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"}},\"discard\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons/snapshots/discard\"}},\"configurableLink\":{\"url\":\"api/admin/configurable-link/update\"},\"gameImages\":{\"get\":{\"url\":\"api/game/{type}\"},\"update\":{\"url\":\"api/game/{gameType}/image/{gameId}\"}},\"mediaTemplate\":{\"get\":{\"url\":\"api/poster/{posterName}\"},\"update\":{\"url\":\"api/poster/update\"},\"preview\":{\"url\":\"api/poster/preview\"},\"fonts\":{\"url\":\"api/poster/fonts\"}}},\"dictionary\":{\"names\":{\"url\":\"api/user/dictionary/name/{name}\"},\"smsTypes\":{\"url\":\"api/user/sms/sms-types/{locale}\"},\"mobilePhoneCarrier\":{\"url\":\"api/SelfRegistration/carriers\"},\"ownerValidationMethod\":{\"url\":\"api/SelfRegistration/owner-validation-methods\"},\"pricePoints\":{\"url\":\"api/game/price-points\"},\"packStatuses\":{\"url\":\"api/game/pack/statuses\"},\"orderStatuses\":{\"url\":\"api/game/order/statuses\"},\"outletTypes\":{\"url\":\"api/system/outlet-types\"},\"lotteryTerms\":{\"url\":\"api/configuration/terms\"}},\"configuration\":{\"internal\":{\"version\":{\"url\":\"api/rest/internal/configuration/version\"},\"locale\":{\"url\":\"api/rest/internal/configuration/locale\"},\"jurisdiction\":{\"url\":\"api/rest/internal/configuration/jurisdiction\"}},\"version\":{\"url\":\"api/configuration/version\"},\"security\":{\"questions\":{\"url\":\"api/SelfRegistration/questions\"}},\"passwordPolicy\":{\"url\":\"api/configuration/password-policy\"},\"site\":{\"url\":\"api/configuration/site\"},\"pi\":{\"version\":{\"url\":\"api/pi/configuration/version\"}},\"frontend\":{\"url\":\"api/configuration\"}},\"oauth\":{\"login\":{\"url\":\"api/authorization/login?accept-terms-and-conditions={acceptTerms}®istration-form={registrationForm}\"},\"loginAs\":{\"url\":\"api/authorization/login-as\"},\"loginBack\":{\"url\":\"api/authorization/login-back-to-impersonating-user\"},\"logout\":{\"url\":\"api/authorization/refresh/access\"},\"tokens\":{\"url\":\"api/authorization/refresh\"}},\"auth\":{\"remindUsername\":{\"url\":\"api/user/forgotten-username\"},\"resetPassword\":{\"url\":\"api/Authorization/password/reset\"},\"changePassword\":{\"url\":\"api/user/update-password\"},\"securityQuestions\":{\"url\":\"api/challenges/questions\"},\"twoFactor\":{\"setup\":{\"url\":\"api/two-factor/setup\"},\"confirm\":{\"url\":\"api/two-factor/confirm\"},\"trustedDevicesList\":{\"url\":\"api/two-factor/devices-list\"},\"deleteDevice\":{\"url\":\"api/two-factor/device-delete\"}}},\"account\":{\"linkedRetailers\":{\"get\":{\"url\":\"api/user/retailers\"},\"update\":{\"url\":\"api/admin/secondary-user/retailers\"}},\"passwordReset\":{\"url\":\"api/Authorization/password/reset\"},\"data\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]},\"confirmRegistration\":{\"url\":\"api/user/data/complete\"},\"primaryEntries\":{\"url\":\"api/SelfRegistration/register\"},\"prospectRegistration\":{\"url\":\"api/rest/user/self/register/prospect\"},\"report\":{\"report\":{\"subscriptions\":{\"url\":\"api/reports/subscription/report\"}},\"email\":{\"subscriptions\":{\"url\":\"api/reports/subscription/email\"}},\"sftp\":{\"subscriptions\":{\"url\":\"api/reports/subscription/sftp\"}},\"transformation\":{\"types\":{\"url\":\"api/reports/transformation-types\",\"altUrls\":[{\"value\":\"api/reports/transformation-types\",\"done\":false},{\"value\":\"api/rest/user/self/report/transformation-types\",\"done\":false}]}}},\"securityQuestions\":{\"url\":\"api/challenges/questions\"},\"entries\":{\"url\":\"api/user/multistore\",\"altUrls\":[{\"value\":\"api/user/multistore\",\"done\":false},{\"value\":\"api/users/{userId}/subordinates\",\"done\":false}]},\"roles\":{\"url\":\"api/System/roles\"},\"templates\":{\"url\":\"api/role\"},\"create\":{\"url\":\"api/admin/user\",\"altUrls\":[{\"value\":\"api/admin/user\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]},\"promote\":{\"url\":\"api/admin/user/{promotedId}/promotion/{downgradedId}\"},\"update\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]},\"entryById\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}/data\",\"done\":false}]},\"self\":{\"data\":{\"url\":\"api/user/details/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}/data\",\"done\":false}]},\"update\":{\"url\":\"api/user/data\",\"altUrls\":[{\"value\":\"api/user/data\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]}},\"delete\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}\",\"done\":false}]},\"activate\":{\"url\":\"api/admin/user/{id}/activation\"},\"suspend\":{\"url\":\"api/admin/user/{id}/state/suspension\"},\"completeRegistration\":{\"url\":\"api/admin/user/{id}/state/activation\"},\"resendActivationEmail\":{\"url\":\"api/admin/user/{id}/activation/resend\",\"altUrls\":[{\"value\":\"api/admin/user/{id}/activation/resend\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}/notification/email/activation/resend\",\"done\":false}]},\"entryByLogin\":{\"url\":\"api/user/details\"},\"privileges\":{\"url\":\"api/user/privileges/{userId}\"}},\"login\":{\"loadData\":{\"url\":\"api/rest/login/news\"}},\"locale\":{\"change\":{\"url\":\"api/users/{userId}/locale\"}},\"server\":{\"time\":{\"url\":\"api/system/primary\"}},\"contact\":{\"inquiryReasons\":{\"url\":\"api/contact/inquiry-reason\"},\"send\":{\"url\":\"api/user/contact/send\"},\"sendAnonymous\":{\"url\":\"api/user/contact/send/anonymous\"},\"inquiryContacts\":{\"url\":\"api/admin/inquiry\"},\"inquiryContact\":{\"email\":{\"url\":\"api/admin/inquiry/{id}/email\"}},\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/contacts/snapshots/discard\"}},\"documents\":{\"types\":{\"url\":\"api/document/types\"},\"create\":{\"url\":\"api/document/documents\"},\"list\":{\"url\":\"api/document/documents\",\"altUrls\":[{\"value\":\"api/document/documents\",\"done\":false},{\"value\":\"api/document/documents\",\"done\":false}]},\"update\":{\"url\":\"api/document/documents/{id}\"},\"remove\":{\"url\":\"api/document/documents/{id}\"},\"category\":{\"create\":{\"url\":\"api/document/category\"},\"remove\":{\"url\":\"api/document/category/{id}\"},\"update\":{\"url\":\"api/document/category/{id}\"}},\"tag\":{\"remove\":{\"url\":\"api/document/documents/tags/{tag}\"}},\"download\":{\"url\":\"api/document/documents/content\",\"altUrls\":[{\"value\":\"api/document/documents/content\",\"done\":false},{\"value\":\"api/document/documents/content\",\"done\":false}]},\"prefetch\":{\"url\":\"api/document/documents/content/{id}\"},\"categories\":{\"url\":\"api/document/categories\"},\"tagsList\":{\"url\":\"api/document/tags\"},\"newLabel\":{\"url\":\"api/user/documents/new-label\"}},\"emailNotifications\":{\"templates\":{\"url\":\"api/admin/notification-template\"},\"template\":{\"update\":{\"url\":\"api/admin/notification-template/{id}\"},\"get\":{\"url\":\"api/admin/notification-template/{id}\"}}},\"report\":{\"user\":{\"url\":\"api/rest/admin/report/user/list\"},\"userCSV\":{\"url\":\"api/rest/admin/report/user/list/csv\"},\"userPDF\":{\"url\":\"api/rest/admin/report/user/list/pdf\"},\"activity\":{\"url\":\"api/admin/report/user/activity\"},\"activityCSV\":{\"url\":\"api/rest/admin/report/user/activity/csv\"},\"activityPDF\":{\"url\":\"api/rest/admin/report/user/activity/pdf\"},\"security\":{\"url\":\"api/rest/admin/report/user/security\"},\"securityCSV\":{\"url\":\"api/rest/admin/report/user/security/csv\"},\"securityPDF\":{\"url\":\"api/rest/admin/report/user/security/pdf\"},\"unsubscribe\":{\"url\":\"api/reports/unsubscribe\"}},\"smsNotifications\":{\"templates\":{\"url\":\"api/admin/sms-types\"},\"template\":{\"update\":{\"url\":\"api/admin/sms-template/{templateId}\"},\"get\":{\"url\":\"api/admin/sms-template/{templateId}\"}}},\"smsNotification\":{\"types\":{\"url\":\"api/admin/sms-types\"}},\"faq\":{\"admin\":{\"categories\":{\"url\":\"api/faq/category\"},\"entries\":{\"url\":\"api/faq/entries\"}},\"category\":{\"url\":\"api/faq/category/{id}\"},\"entry\":{\"url\":\"api/faq/entry/{id}\"},\"categoryOrdinal\":{\"url\":\"api/faq/category/order\"},\"entryOrdinal\":{\"url\":\"api/faq/entry/order\"},\"user\":{\"categories\":{\"url\":\"api/faq/category\"},\"entries\":{\"url\":\"api/faq/entries\",\"altUrls\":[{\"value\":\"api/faq/entries\",\"done\":false},{\"value\":\"api/faq/entries/anonymous\",\"done\":false}]}},\"dictionary\":{\"visibility\":{\"url\":\"api/faq/faq-visibility\"},\"role\":{\"url\":\"api/rest/user/self/dictionary/role\"},\"weekday\":{\"url\":\"api/rest/user/self/dictionary/weekday\"}}},\"jobs\":{\"update\":{\"url\":\"api/rest/admin/batch/trigger/{id}\"},\"entries\":{\"url\":\"api/rest/admin/batch/trigger\"},\"history\":{\"url\":\"api/rest/admin/batch/status\"}},\"message\":{\"reply\":{\"url\":\"api/user/message/reply-to\"},\"admin\":{\"sent\":{\"url\":\"api/admin/user/messages/sent-items\"},\"sentByAll\":{\"url\":\"api/admin/user/messages/administrators-sent-items\"},\"recipients\":{\"url\":\"api/admin/user/message/{id}\"},\"create\":{\"url\":\"api/admin/user/message/send-out\"},\"createLimitToRetailers\":{\"url\":\"api/admin/user/message/send-out-limited-scope\"},\"content\":{\"url\":\"api/admin/user/message/{id}/content\"}},\"user\":{\"inbox\":{\"url\":\"api/user/message\"},\"sent\":{\"url\":\"api/user/message/sent-items\"},\"count\":{\"url\":\"api/user/message/count\"},\"markAsRead\":{\"url\":\"api/user/message/{id}/state/read\"},\"markAsUnread\":{\"url\":\"api/user/message/{id}/state/unread\"},\"content\":{\"url\":\"api/user/message/{id}/content\"}},\"delete\":{\"received\":{\"url\":\"api/user/received/messages\"},\"sent\":{\"url\":\"api/user/sent/messages\"}}},\"multiStore\":{\"shortRetailerInfo\":{\"url\":\"api/retailer/{retailerId}\"},\"add\":{\"url\":\"api/rest/user/multi-store/claim-new-store\"},\"select\":{\"url\":\"api/user/retailer/primary\"},\"list\":{\"url\":\"api/rest/user/multi-store/stores-list\"}},\"privileges\":{\"dynamic\":{\"url\":\"api/role/privileges/{userClass}\"},\"session\":{\"user\":{\"calculate\":{\"url\":\"api/user/session-privileges\"}}},\"RETAILER_SECONDARY\":{\"templates\":{\"url\":\"api/role/all/retailer_secondary\"},\"template\":{\"create\":{\"url\":\"api/role/retailer_secondary\"},\"update\":{\"url\":\"api/role/{templateId}\"},\"remove\":{\"url\":\"api/role/{templateId}\"},\"get\":{\"url\":\"api/role/{templateId}\"}}},\"RETAILER_PRIMARY\":{\"templates\":{\"url\":\"api/role/all/retailer_primary\"},\"template\":{\"create\":{\"url\":\"api/role\"},\"update\":{\"url\":\"api/role/{templateId}\"},\"remove\":{\"url\":\"api/role/{templateId}\"},\"get\":{\"url\":\"api/role/{templateId}\"}}},\"ADMIN\":{\"templates\":{\"url\":\"api/role/all/admin\"},\"template\":{\"create\":{\"url\":\"api/role/admin\"},\"get\":{\"url\":\"api/role/{templateId}\"},\"update\":{\"url\":\"api/role/{templateId}\"},\"remove\":{\"url\":\"api/role/{templateId}\"}}},\"RETAILER_GROUP\":{\"template\":{\"get\":{\"url\":\"api/templates/{templateId}\"}}},\"displayTypes\":{\"url\":\"api/Dictionaries/display-types/{locale}\"},\"roles\":{\"get\":{\"url\":\"api/System/roles\"},\"list\":{\"url\":\"api/role/all/{userClass}\"},\"create\":{\"url\":\"api/role/{userClass}\"},\"update\":{\"url\":\"api/role/{id}\"},\"delete\":{\"url\":\"api/role/{id}\"}}},\"selfRegistration\":{\"retailerValidation\":{\"url\":\"api/retailers/by-retailer-id/{retailerId}\"},\"security\":{\"url\":\"api/rest/user/self/security-questions/{id}\"},\"validation\":{\"url\":\"api/SelfRegistration/validate\"},\"activation\":{\"url\":\"api/rest/user/self/activate\"}},\"storeProfiles\":{\"retailer\":{\"url\":\"api/retailers/by-retailer-id/{retailerId}\"},\"list\":{\"url\":\"api/retailers\"}},\"sftp\":{\"admin\":{\"configuration\":{\"url\":\"api/reports/retailer/sftp\"},\"retailer\":{\"configuration\":{\"url\":\"api/reports/retailer/{configId}/sftp\"}}}},\"retailerGroup\":{\"url\":\"api/rest/retailer-reporting-group\",\"search\":{\"url\":\"api/reporting-groups/arw-view\"},\"validateRetailers\":{\"url\":\"api/reporting-groups/validate-retailers\"},\"availableRetailers\":{\"forIndependent\":{\"url\":\"api/owners/arw/{ownerId}/retailers\"},\"forChainHead\":{\"url\":\"api/retailers/arw/{ownerId}/subordinates\"}},\"byUser\":{\"url\":\"api/retailer-groups/by-user/{id}/ids\"}},\"reports\":{\"download\":{\"url\":\"api/reports/{id}/download\"},\"group\":{\"trigger\":{\"url\":\"api/rest/admin/retailer-group/report/{id}?transformation-type={transformationType}\"},\"download\":{\"url\":\"api/rest/admin/retailer-group/report/{id}/download?transformation-type={transformationType}\"}},\"formats\":{\"url\":\"api/reports/manage/transformations\"},\"details\":{\"reportType\":{\"url\":\"api/rest/admin/report/manage/report/{fileTypeId}\"},\"restore\":{\"url\":\"api/rest/admin/report/manage/report/{fileTypeId}/default\"}},\"names\":{\"url\":\"api/reports/report-name\"},\"entries\":{\"url\":\"api/reports/retailer\",\"altUrls\":[{\"value\":\"api/reports/retailer/{retailerId}/report\",\"done\":false},{\"value\":\"api/rest/user/self/report\",\"done\":false}]},\"extension\":{\"url\":\"api/reports/transformation-types\"},\"eft\":{\"downloadRetailerInvoice\":{\"url\":\"api/reports/WEEKLY_RETAILER_INVOICE/download\"},\"extensions\":{\"url\":\"api/reports/file-type/WEEKLY_RETAILER_INVOICE\"},\"date\":{\"url\":\"api/dashboard/eft-detail-date/{retailerId}\"}},\"terminal\":{\"url\":\"api/este/reports/retailer/{retailerId}/report/sales\"},\"zip\":{\"subscriptions\":{\"url\":\"api/reports/subscription/{token}\"}}},\"user\":{\"securityQuestions\":{\"url\":\"api/challenges/questions\"},\"retailerSettings\":{\"validate\":{\"url\":\"api/SelfRegistration/validate/id/{retailerId}\"},\"selfRegistration\":{\"url\":\"api/SelfRegistration/validate/{retailerId}\"},\"secondaryValidation\":{\"url\":\"api/admin/validate/{retailerId}/{isSecondary}\"},\"get\":{\"url\":\"api/retailer/{retailerId}\"},\"update\":{\"url\":\"api/retailer/{retailerId}\"}},\"userListDownload\":{\"url\":\"api/rest/user/multi-store/stores-list/{type}\"},\"users\":{\"url\":\"api/user/multistore\"},\"reportTo\":{\"url\":\"api/user/{userId}/retailers/report-to\"}},\"security\":{\"questions\":{\"url\":\"api/SelfRegistration/questions?locale={locale}\"}},\"inventory\":{\"download\":{\"xls\":{\"url\":\"api/rest/user/self/dashboard/widget/{reportId}/xls\"}},\"sendMail\":{\"xls\":{\"url\":\"api/rest/user/self/dashboard/widget/{reportId}/xls/mail\"}},\"details\":{\"url\":\"api/instants/inventory/history/{unit-oid}\"},\"history\":{\"list\":{\"url\":\"api/game/pack/history/{retailerId}\"}},\"searchByPack\":{\"url\":\"api/instants/inventory-units/retailer/{retailerId}?pack-oid={unit-oid}\"},\"packs\":{\"list\":{\"url\":\"api/dashboard/manage-inventory/packs/{retailerId}\"},\"grossValue\":{\"url\":\"api/dashboard/manage-inventory/packs/gross-value/{retailerId}\"},\"statusChange\":{\"url\":\"api/instants/inventory-units/retailer/{retailerId}/batch-status-change\"},\"update\":{\"url\":\"api/rest/user/inventory/packs-update\"}},\"games\":{\"list\":{\"url\":\"api/dashboard/manage-inventory/games/{retailerId}\"}},\"liability\":{\"list\":{\"url\":\"api/dashboard/manage-inventory/liability/{retailerId}\"}},\"subordinates\":{\"list\":{\"url\":\"api/dashboard/retailer/{retailerId}/subordinates\"}},\"ordersHistory\":{\"list\":{\"url\":\"api/game/orders/{retailerId}\"}},\"orderHistory\":{\"detailsDownload\":{\"url\":\"api/game/order/report\"},\"details\":{\"url\":\"api/game/order/{orderId}/packs\"},\"packs\":{\"url\":\"api/dashboard/manage-inventory/orders/retailer/{retailerId}/packs\"}},\"retailers\":{\"data\":{\"url\":\"api/retailers/arw\"}},\"dictionaries\":{\"url\":\"api/dashboard/type-code\"},\"este\":{\"status\":{\"url\":\"api/system/primary\"}}},\"history\":{\"inventoryHistory\":{\"details\":{\"url\":\"api/game/pack\"}}},\"dashboard\":{\"data\":{\"url\":\"api/dashboard/users/{userId}\"},\"save\":{\"url\":\"api/dashboard/dashboard-save/{dashboardId}\"},\"layouts\":{\"url\":\"api/rest/user/dashboard/layouts\"},\"defaults\":{\"url\":\"api/dashboard/dashboard-template-configuration/{type}\"},\"cumulative\":{\"tierTypes\":{\"url\":\"api/dashboard/mid-tier-validations/tier-number\"},\"invoiceDates\":{\"url\":\"api/dashboard/invoice-dates\"}}},\"widgets\":{\"gamesEnding\":{\"url\":\"api/dashboard/games-ending/{retailerId}\"},\"topVltGames\":{\"url\":\"api/dashboard/top-vlt-games/{retailerId}\"},\"siteFinancialStatus\":{\"url\":\"api/dashboard/site-financial-status/{retailerId}\"},\"siteOperationalStatus\":{\"url\":\"api/dashboard/site-operation-status/{retailerId}\"},\"tickets\":{\"url\":\"api/dashboard/tickets/{retailerId}\"},\"configurableLink\":{\"url\":\"api/dashboard/configurable-link\"},\"common\":{\"url\":\"api/rest/user/self/dashboard/widget/{type}\"},\"chainRanks\":{\"url\":\"api/dashboard/chain-ranks/{retailerId}\"},\"earnings\":{\"url\":\"api/dashboard/earnings-summary/{retailerId}\"},\"netEarnings\":{\"url\":\"api/dashboard/net-earnings/{retailerId}\"},\"earningsHistory\":{\"url\":\"api/dashboard/earnings-history\"},\"bigWinnersHistory\":{\"url\":\"api/dashboard/winner-history/retailer/{retailerId}\"},\"netSalesDetails\":{\"url\":\"api/dashboard/net-sales-details/{retailerId}\"},\"eft\":{\"url\":\"api/dashboard/eft-summary/{retailerId}\"},\"eftHistory\":{\"url\":\"api/dashboard/eft-detail/{retailerId}\"},\"netSales\":{\"url\":\"api/dashboard/net-sales-summary/{retailerId}\"},\"cummulativeWinners\":{\"url\":\"api/dashboard/cumulative-winners/{retailerId}\"},\"cumulativeHistory\":{\"url\":\"api/dashboard/mid-tier-validations/retailer/{retailerId}\"},\"alerts\":{\"list\":{\"url\":\"api/alert/dashboard-alerts/{retailerId}?locale={locale}\"},\"details\":{\"url\":\"api/alert/alert-detail/{retailerId}\"},\"hide\":{\"url\":\"api/alert/alert-dismiss/{retailerId}\"}},\"jackpotsAndDraws\":{\"url\":\"api/game/draws\"},\"instant\":{\"instantTicketSales\":{\"url\":\"api/dashboard/instant-ticket-sales/retailer/{retailerId}\"},\"actualAndProjectedSettlements\":{\"url\":\"api/dashboard/actual-projected-settlement/retailer/{retailerId}\"},\"mySlowMovingGames\":{\"url\":\"api/dashboard/games/slow-moving/retailer/{retailerId}\"},\"myCurrentLiability\":{\"url\":\"api/dashboard/my-current-liability/retailer/{retailerId}\"},\"gamesComing\":{\"url\":\"api/dashboard/games/coming\"},\"gamesLaunched\":{\"url\":\"api/dashboard/games/launched\"},\"myNetSalesPerformance\":{\"url\":\"api/dashboard/my-net-sales-performance/retailer/{retailerId}\"},\"salesCategories\":{\"url\":\"api/system/sales-categories\"},\"myNetSalesTranslations\":{\"url\":\"api/configuration/my-net-sales-translations\"},\"retailerDistanceCount\":{\"url\":\"api/dashboard/retailer-distance-count/retailer/{retailerId}\"},\"lastYearSales\":{\"url\":\"api/dashboard/instant-ticket-sales-last-year/retailer/{retailerId}\"},\"thisYearSales\":{\"url\":\"api/dashboard/instant-ticket-sales-this-year-avg/retailer/{retailerId}\"},\"myPricePointMix\":{\"url\":\"api/dashboard/price-point-mix/retailer/{retailerId}\"},\"top10\":{\"url\":\"api/dashboard/top-10-rankings/retailer/{retailerId}\"},\"topSellersByPrice\":{\"url\":\"api/dashboard/top-selling-by-price/retailer/{retailerId}\"},\"settlements\":{\"report\":{\"url\":\"api/instants/weekly-history/{retailerId}/last-week-liability\"},\"downloadReport\":{\"url\":\"api/dashboard/actual-projected-settlement-details/retailer/{retailerId}\"}},\"lvm\":{\"downloadReport\":{\"url\":\"api/rest/user/self/dashboard/widget/lvm13Weeks/xls\"}}},\"terminals\":{\"details\":{\"url\":\"api/terminals?retailer-id={retailerId}\"},\"templates\":{\"url\":\"api/templates/terminal\"}},\"licenseRenewal\":{\"url\":\"api/retailer/{retailerId}/renewals\"},\"licenseRenewalForm\":{\"url\":\"api/system/renewal-form-link/{retailerId}\"},\"lotteryRepresentatives\":{\"url\":\"api/retailer/{retailerId}\"},\"bigWinners\":{\"url\":\"api/dashboard/big-winners/{retailerId}\"},\"bigWinnersScratch\":{\"url\":\"api/dashboard/big-winners-scratch/{retailerId}\"},\"bigWinnersOnline\":{\"url\":\"api/dashboard/big-winners-online/{retailerId}\"},\"bondRenewal\":{\"url\":\"api/retailer/{retailerId}/bond-dates\"},\"lvmSales\":{\"url\":\"api/dashboard/lvm-trend-summary/{retailerId}\"},\"lvmSalesHistory\":{\"url\":\"api/dashboard/lvm-trend-history/{retailerId}\"}},\"gameImage\":{\"gameLogo\":{\"url\":\"/gameImage.gameLogo\"}},\"accounts\":{\"lotteryRep\":{\"entries\":{\"url\":\"api/user/multistore\"},\"downloadReport\":{\"url\":\"api/rest/admin/user/multistore/{type}\"}},\"downloadReport\":{\"url\":\"api/user/multistore-export\"}},\"passwordResetQuestions\":{\"url\":\"api/rest/admin/user/{email}/security-question\"},\"passwordReset\":{\"url\":\"api/admin/password/reset/qa\",\"altUrls\":[{\"value\":\"api/admin/password/reset/qa\",\"done\":false},{\"value\":\"api/rest/user/password/reset/qa\",\"done\":false}]},\"forcePasswordReset\":{\"url\":\"api/admin/password/manual\",\"altUrls\":[{\"value\":\"api/admin/password/manual\",\"done\":false},{\"value\":\"api/rest/user/force-password-reset\",\"done\":false}]},\"elearningLink\":{\"get\":{\"url\":\"api/user/elearning/link\"}},\"challenges\":{\"url\":\"api/challenges/{userId}\"},\"retailer\":{\"subordinateData\":{\"url\":\"api/retailer/{retailerId}\"},\"saveSubordinateData\":{\"url\":\"api/retailer/settings/{retailerId}\"}},\"captcha\":{\"siteKey\":{\"url\":\"api/system/captcha/sitekey\"}},\"poster\":{\"download\":{\"url\":\"api/poster/print/{templateId}\"},\"get\":{\"url\":\"api/poster/social/{templateId}\"}},\"chat\":{\"token\":{\"url\":\"api/rest/user/self/chat-token\"}},\"retailerDashboard\":{\"retailerId\":{\"url\":\"api/retailer/number/{retailerDisplayNumber}\"}},\"config\":{\"frontend\":{\"url\":\"api/configuration\"}},\"appVersion\":{\"frontend\":{\"url\":\"version.json\"},\"backend\":{\"url\":\"api/system/assembly-version\"}},\"anonymous\":{\"privileges\":{\"url\":\"api/configuration/templates/anonymous\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/app/rest.conf.json\n// module id = 215\n// module chunks = 0","export default {\r\n FETCH_LOTTERY_CONTACTS_REQUEST: 'FETCH_LOTTERY_CONTACTS_REQUEST',\r\n FETCH_LOTTERY_CONTACTS_SUCCESS: 'FETCH_LOTTERY_CONTACTS_SUCCESS',\r\n FETCH_LOTTERY_CONTACTS_FAILURE: 'FETCH_LOTTERY_CONTACTS_FAILURE',\r\n\r\n DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST: 'DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST',\r\n DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS: 'DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS',\r\n DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE: 'DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE',\r\n\r\n PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST: 'PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST',\r\n PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS: 'PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS',\r\n PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE: 'PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE',\r\n\r\n FETCH_INQUIRY_CONTACTS_REQUEST: 'FETCH_INQUIRY_CONTACTS_REQUEST',\r\n FETCH_INQUIRY_CONTACTS_SUCCESS: 'FETCH_INQUIRY_CONTACTS_SUCCESS',\r\n FETCH_INQUIRY_CONTACTS_FAILURE: 'FETCH_INQUIRY_CONTACTS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/actions/action-types.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport { evalMeta } from 'utils/grid/grid';\r\nimport {\r\n getEmailListForRetailer,\r\n getReportListForRetailer,\r\n getSftpListForRetailer,\r\n saveEmailListForRetailer,\r\n saveReportListForRetailer,\r\n saveSftpListForRetailer,\r\n} from 'report-subscriptions/resources/report-subscriptions-api';\r\n\r\n/* Redux */\r\nconst namespace = 'reportSubscriptionsPage';\r\nexport const SET_REPORTS = `${namespace}_SET_REPORTS`;\r\nexport const SET_EMAILS = `${namespace}_SET_EMAILS`;\r\nexport const SET_RECIPIENTS_EMAIL = `${namespace}_SET_RECIPIENTS_EMAIL`;\r\nexport const SET_SFTP = `${namespace}_SET_SFTP`;\r\nexport const SET_SUBSCRIPTIONS_REPORTS = `${namespace}_SET_SUBSCRIPTIONS_REPORTS`;\r\nexport const SET_SUBSCRIPTIONS_EMAIL = `${namespace}_SET_SUBSCRIPTIONS_EMAIL`;\r\nexport const SET_SUBSCRIPTIONS_SFTP = `${namespace}_SET_SUBSCRIPTIONS_SFTP`;\r\nexport const SET_IS_LOADING_REPORTS = `${namespace}_SET_IS_LOADING_REPORTS`;\r\nexport const SET_IS_LOADING_EMAIL = `${namespace}_SET_IS_LOADING_EMAIL`;\r\nexport const SET_IS_LOADING_SFTP = `${namespace}_SET_IS_LOADING_SFTP`;\r\n\r\n/* consts */\r\nconst REPORT_SUBSCRIPTIONS_CONTEXT = 'sftp';\r\nexport const SUBSCRIPTION_TYPE_RETAILER = 'RETAILER';\r\nexport const SUBSCRIPTION_TYPE_GROUP = 'GROUP';\r\n\r\nconst createObjectByFileTypeId = (array) =>\r\n array.reduce((reduced, item) => {\r\n // eslint-disable-next-line no-param-reassign\r\n item.transformations = item.transformations.reduce((newTransformations, transform) => {\r\n // eslint-disable-next-line no-param-reassign\r\n newTransformations[transform.transformType] = transform;\r\n return newTransformations;\r\n }, {});\r\n // eslint-disable-next-line no-param-reassign\r\n reduced[item.fileTypeId] = item;\r\n return reduced;\r\n }, {});\r\n\r\nconst applySubscriptionData = (data) => ({\r\n gridData: _.cloneDeep(data.subscriptions || data),\r\n subscriptions: createObjectByFileTypeId(data.subscriptions || data),\r\n recipients: data.externalEmails || [],\r\n});\r\n\r\nexport const loadReportList = (retailerIdParam, retailerTypeParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession, retailerType: retailerTypeSession },\r\n },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n const retailerType = retailerTypeParam || retailerTypeSession;\r\n const promise = getReportListForRetailer(retailerId, retailerType);\r\n\r\n dispatch({\r\n type: SET_IS_LOADING_REPORTS,\r\n });\r\n\r\n return promise.then((result) => {\r\n const newData = applySubscriptionData(result);\r\n dispatch({\r\n type: SET_REPORTS,\r\n payload: {\r\n items: newData.gridData,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n\r\n dispatch({\r\n type: SET_SUBSCRIPTIONS_REPORTS,\r\n payload: newData.subscriptions,\r\n });\r\n });\r\n};\r\n\r\nexport const loadEmailList = (retailerIdParam, retailerTypeParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession, retailerType: retailerTypeSession },\r\n },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n const retailerType = retailerTypeParam || retailerTypeSession;\r\n const promise = getEmailListForRetailer(retailerId, retailerType);\r\n\r\n dispatch({\r\n type: SET_IS_LOADING_EMAIL,\r\n });\r\n\r\n return promise.then((result) => {\r\n const newData = applySubscriptionData(result);\r\n dispatch({\r\n type: SET_EMAILS,\r\n payload: {\r\n items: newData.gridData,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n\r\n dispatch({\r\n type: SET_SUBSCRIPTIONS_EMAIL,\r\n payload: newData.subscriptions,\r\n });\r\n\r\n dispatch({\r\n type: SET_RECIPIENTS_EMAIL,\r\n payload: newData.recipients,\r\n });\r\n });\r\n};\r\n\r\nexport const loadSftpList = (retailerIdParam, retailerTypeParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession, retailerType: retailerTypeSession },\r\n },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n const retailerType = retailerTypeParam || retailerTypeSession;\r\n const promise = getSftpListForRetailer(retailerId, retailerType);\r\n\r\n dispatch({\r\n type: SET_IS_LOADING_SFTP,\r\n });\r\n\r\n return promise.then((result) => {\r\n const newData = applySubscriptionData(result);\r\n\r\n dispatch({\r\n type: SET_SFTP,\r\n payload: {\r\n items: newData.gridData,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n\r\n dispatch({\r\n type: SET_SUBSCRIPTIONS_SFTP,\r\n payload: newData.subscriptions,\r\n });\r\n });\r\n};\r\n\r\nexport const saveReportList = (retailerIdParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession },\r\n },\r\n reportSubscriptionsPage: { subscriptionsReports },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n return saveReportListForRetailer(retailerId, subscriptionsReports);\r\n};\r\n\r\nexport const saveEmailList = (retailerIdParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession },\r\n },\r\n reportSubscriptionsPage: { subscriptionsEmail, recipients },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n return saveEmailListForRetailer(retailerId, subscriptionsEmail, recipients);\r\n};\r\n\r\nexport const saveSftpList = (retailerIdParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession },\r\n },\r\n reportSubscriptionsPage: { subscriptionsSftp },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n return saveSftpListForRetailer(retailerId, subscriptionsSftp);\r\n};\r\n\r\nexport const applyRecipient = (recipient) => (dispatch, getState) => {\r\n const {\r\n reportSubscriptionsPage: { recipients },\r\n } = getState();\r\n\r\n dispatch({\r\n type: SET_RECIPIENTS_EMAIL,\r\n payload: _.uniq(recipients.concat(recipient)),\r\n });\r\n};\r\n\r\nexport const removeRecipient = (recipient) => (dispatch, getState) => {\r\n const {\r\n reportSubscriptionsPage: { recipients },\r\n } = getState();\r\n\r\n dispatch({\r\n type: SET_RECIPIENTS_EMAIL,\r\n payload: recipients.filter((oldRecipient) => oldRecipient !== recipient),\r\n });\r\n};\r\n\r\nexport const unsubscribeUser = (token) => () =>\r\n DepsService.restSrv.create(REPORT_SUBSCRIPTIONS_CONTEXT, DepsService.rest.report.unsubscribe.url, {\r\n token,\r\n });\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/actions/report-subscriptions-page.actions.js","export default {\r\n FETCH_RETAILER_REPORTS_REQUEST: 'FETCH_RETAILER_REPORTS_REQUEST',\r\n FETCH_RETAILER_REPORTS_SUCCESS: 'FETCH_RETAILER_REPORTS_SUCCESS',\r\n FETCH_RETAILER_REPORTS_FAILURE: 'FETCH_RETAILER_REPORTS_FAILURE',\r\n\r\n CLEAR_RETAILER_REPORTS: 'CLEAR_RETAILER_REPORTS',\r\n\r\n DOWNLOAD_RETAILER_REPORT_REQUEST: 'DOWNLOAD_RETAILER_REPORT_REQUEST',\r\n DOWNLOAD_RETAILER_REPORT_SUCCESS: 'DOWNLOAD_RETAILER_REPORT_SUCCESS',\r\n DOWNLOAD_RETAILER_REPORT_FAILURE: 'DOWNLOAD_RETAILER_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/actions/action-types.js","export default {\r\n FETCH_USER_ACTIVITY_REPORTS_REQUEST: 'FETCH_USER_ACTIVITY_REPORTS_REQUEST',\r\n FETCH_USER_ACTIVITY_REPORTS_SUCCESS: 'FETCH_USER_ACTIVITY_REPORTS_SUCCESS',\r\n FETCH_USER_ACTIVITY_REPORTS_FAILURE: 'FETCH_USER_ACTIVITY_REPORTS_FAILURE',\r\n\r\n DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST: 'DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST',\r\n DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS: 'DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS',\r\n DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE: 'DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/actions/action-types.js","export default {\r\n FETCH_BIG_WINNERS_HISTORY_REQUEST: 'FETCH_BIG_WINNERS_HISTORY_REQUEST',\r\n FETCH_BIG_WINNERS_HISTORY_SUCCESS: 'FETCH_BIG_WINNERS_HISTORY_SUCCESS',\r\n FETCH_BIG_WINNERS_HISTORY_FAILURE: 'FETCH_BIG_WINNERS_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST: 'DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE: 'DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/big-winners/action-types.js","export default {\r\n FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST: 'FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST',\r\n FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS: 'FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS',\r\n FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE: 'FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST: 'DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE: 'DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/cumulative-winners/action-types.js","export default {\r\n FETCH_LINKED_RETAILERS_REQUEST: 'FETCH_LINKED_RETAILERS_REQUEST',\r\n FETCH_LINKED_RETAILERS_SUCCESS: 'FETCH_LINKED_RETAILERS_SUCCESS',\r\n FETCH_LINKED_RETAILERS_FAILURE: 'FETCH_LINKED_RETAILERS_FAILURE',\r\n\r\n UPDATE_LINKED_RETAILERS_REQUEST: 'UPDATE_LINKED_RETAILERS_REQUEST',\r\n UPDATE_LINKED_RETAILERS_SUCCESS: 'UPDATE_LINKED_RETAILERS_SUCCESS',\r\n UPDATE_LINKED_RETAILERS_FAILURE: 'UPDATE_LINKED_RETAILERS_FAILURE',\r\n\r\n DELETE_LINKED_RETAILERS_REQUEST: 'DELETE_LINKED_RETAILERS_REQUEST',\r\n DELETE_LINKED_RETAILERS_SUCCESS: 'DELETE_LINKED_RETAILERS_SUCCESS',\r\n DELETE_LINKED_RETAILERS_FAILURE: 'DELETE_LINKED_RETAILERS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/linked-retailers.action-types.js","export default {\r\n FETCH_PRIVACY_POLICY_REQUEST: 'FETCH_PRIVACY_POLICY_REQUEST',\r\n FETCH_PRIVACY_POLICY_SUCCESS: 'FETCH_PRIVACY_POLICY_SUCCESS',\r\n FETCH_PRIVACY_POLICY_FAILURE: 'FETCH_PRIVACY_POLICY_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/actions/privacy-policy.action-types.js","import * as api from '../resources/manage-configurable-link.api';\r\n\r\nconst FETCH_CONFIGURABLE_LINK_REQUEST = 'FETCH_CONFIGURABLE_LINK_REQUEST';\r\nconst FETCH_CONFIGURABLE_LINK_SUCCESS = 'FETCH_CONFIGURABLE_LINK_SUCCESS';\r\nconst FETCH_CONFIGURABLE_LINK_FAILURE = 'FETCH_CONFIGURABLE_LINK_FAILURE';\r\nconst UPDATE_CONFIGURABLE_LINK_REQUEST = 'UPDATE_CONFIGURABLE_LINK_REQUEST';\r\nconst UPDATE_CONFIGURABLE_LINK_SUCCESS = 'UPDATE_CONFIGURABLE_LINK_SUCCESS';\r\nconst UPDATE_CONFIGURABLE_LINK_FAILURE = 'UPDATE_CONFIGURABLE_LINK_FAILURE';\r\n\r\nexport const fetchConfigurableLinkRequest = () => ({\r\n type: FETCH_CONFIGURABLE_LINK_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchConfigurableLinkSuccess = (entries) => ({\r\n type: FETCH_CONFIGURABLE_LINK_SUCCESS,\r\n isLoading: false,\r\n entries,\r\n});\r\n\r\nexport const fetchConfigurableLinkFailure = () => ({\r\n type: FETCH_CONFIGURABLE_LINK_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchConfigurableLink = (locale) => async (dispatch) => {\r\n try {\r\n dispatch(fetchConfigurableLinkRequest());\r\n const entries = await api.fetchConfigurableLink(locale);\r\n dispatch(fetchConfigurableLinkSuccess(entries));\r\n } catch (error) {\r\n console.error('FETCH_CONFIGURABLE_LINK', error);\r\n dispatch(fetchConfigurableLinkFailure());\r\n }\r\n};\r\n\r\nexport const updateConfigurableLinkRequest = () => ({\r\n type: UPDATE_CONFIGURABLE_LINK_REQUEST,\r\n});\r\n\r\nexport const updateConfigurableLinkSuccess = () => ({\r\n type: UPDATE_CONFIGURABLE_LINK_SUCCESS,\r\n});\r\n\r\nexport const updateConfigurableLinkFailure = () => ({\r\n type: UPDATE_CONFIGURABLE_LINK_FAILURE,\r\n});\r\n\r\nexport const updateConfigurableLink = (entries) => async (dispatch) => {\r\n try {\r\n dispatch(updateConfigurableLinkRequest());\r\n await api.updateConfigurableLink(entries);\r\n dispatch(updateConfigurableLinkSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_CONFIGURABLE_LINK', error);\r\n dispatch(updateConfigurableLinkFailure());\r\n }\r\n};\r\n\r\nexport default {\r\n FETCH_CONFIGURABLE_LINK_REQUEST,\r\n FETCH_CONFIGURABLE_LINK_SUCCESS,\r\n FETCH_CONFIGURABLE_LINK_FAILURE,\r\n UPDATE_CONFIGURABLE_LINK_REQUEST,\r\n UPDATE_CONFIGURABLE_LINK_SUCCESS,\r\n UPDATE_CONFIGURABLE_LINK_FAILURE,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/manage-configurable-link.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'documents';\r\n\r\nexport const fetchNewLabelStatus = () => {\r\n const url = DepsService.rest.documents.newLabel.url;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const setNewLabelStatus = () => {\r\n const url = DepsService.rest.documents.newLabel.url;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const prefetchDocument = (id) => {\r\n const url = DepsService.rest.documents.prefetch.url;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/resources/documents.api.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport moment from 'moment';\r\n\r\nconst CONTEXT = 'cms';\r\n\r\nconst getUrl = (secondHandApproval) => {\r\n if (secondHandApproval) return DepsService.rest.cms['login-popup'].second.url;\r\n return DepsService.rest.cms['login-popup'].first.url;\r\n};\r\n\r\nexport const fetchPopup = async (secondHandApproval, jurisdictionId) => {\r\n const url = getUrl(secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst getDateTime = (date, time) =>\r\n moment(date * 1)\r\n .utc()\r\n .hour(moment(time, 'HH:mm').get('hour'))\r\n .minute(moment(time, 'HH:mm').get('minute'));\r\n\r\nexport const fetchPopupOnLogin = async (jurisdictionId, session) => {\r\n const { entries, properties } = await fetchPopup(false, jurisdictionId);\r\n const [popup] = entries;\r\n\r\n const popupFields = appHelpers.getFieldsFromEntry(popup);\r\n\r\n if (popup.createdBy === session.emailAddress) {\r\n return '';\r\n }\r\n if (popupFields && properties && properties.type === 'enabled') {\r\n return popupFields[session.locale].content;\r\n }\r\n if (popupFields && properties && properties.type === 'range') {\r\n const now = moment.unix(session.lotteryTime).utc();\r\n const dateFrom = getDateTime(properties.dateFrom, properties.timeFrom);\r\n const dateTo = getDateTime(properties.dateTo, properties.timeTo);\r\n\r\n if (now.isBetween(dateFrom, dateTo, 'minute', '[]')) {\r\n return popupFields[session.locale].content;\r\n }\r\n }\r\n return '';\r\n};\r\n\r\nexport const publishPopup = async (secondHandApproval, jurisdictionId, entries, properties) => {\r\n const url = getUrl(secondHandApproval);\r\n const queryParams = { entries, properties };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const discardPopup = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms['login-popup'].discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/login-popup.api.js","import { clearSelectedMessagesList } from 'message/actions/selected-messages.actions';\r\nimport messageHelpers from '../message-helpers';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchMessagesListRequest = () => ({\r\n type: actionTypes.FETCH_MESSAGES_LIST_REQUEST,\r\n name: 'inboxLoadingStatus',\r\n});\r\n\r\nexport const fetchMessagesListFailure = () => ({\r\n type: actionTypes.FETCH_MESSAGES_LIST_FAILURE,\r\n name: 'inboxLoadingStatus',\r\n});\r\n\r\nexport const fetchMessagesListSuccess = (messages, pagination = {}) => ({\r\n type: actionTypes.FETCH_MESSAGES_LIST_SUCCESS,\r\n messages: messages.map((message) => {\r\n const content = messageHelpers.getShortenMessage(message.content);\r\n\r\n return {\r\n ...message,\r\n content,\r\n };\r\n }),\r\n pagination,\r\n name: 'inboxLoadingStatus',\r\n});\r\n\r\nexport const fetchMessagesList =\r\n ({ setPagination = true, ...params }) =>\r\n async (dispatch, getStore) => {\r\n try {\r\n const store = getStore();\r\n const { messages } = store;\r\n const { hasAllMessagesSelected } = messages.selectedMessages;\r\n\r\n if (hasAllMessagesSelected) dispatch(clearSelectedMessagesList());\r\n\r\n dispatch(fetchMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchMessagesList(params);\r\n\r\n if (setPagination) {\r\n dispatch(fetchMessagesListSuccess(content, pagination));\r\n } else {\r\n dispatch(fetchMessagesListSuccess(content));\r\n }\r\n } catch (error) {\r\n dispatch(fetchMessagesListFailure(error));\r\n console.error('FETCH_MESSAGES_LIST', error);\r\n }\r\n };\r\n\r\nexport const deleteMessagesRequest = () => ({\r\n type: actionTypes.DELETE_MESSAGES_REQUEST,\r\n});\r\n\r\nexport const deleteMessagesFailure = () => ({\r\n type: actionTypes.DELETE_MESSAGES_FAILURE,\r\n});\r\n\r\nexport const deleteMessagesSuccess = (selectedMessagesList, messages) => ({\r\n type: actionTypes.DELETE_MESSAGES_SUCCESS,\r\n selectedMessagesList,\r\n messages,\r\n});\r\n\r\nexport const deleteMessages = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { inbox: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n dispatch(deleteMessagesRequest());\r\n await api.deleteReceivedMessages(selectedMessagesList);\r\n dispatch(deleteMessagesSuccess(selectedMessagesList, entries));\r\n dispatch(clearSelectedMessagesList());\r\n } catch (error) {\r\n dispatch(deleteMessagesFailure(error));\r\n console.error('DELETE_MESSAGES', error);\r\n }\r\n};\r\n\r\nexport const deleteMessageRequest = () => ({\r\n type: actionTypes.DELETE_MESSAGE_REQUEST,\r\n});\r\n\r\nexport const deleteMessageFailure = () => ({\r\n type: actionTypes.DELETE_MESSAGE_FAILURE,\r\n});\r\n\r\nexport const deleteMessageSuccess = () => ({\r\n type: actionTypes.DELETE_MESSAGE_SUCCESS,\r\n});\r\n\r\nexport const deleteMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deleteMessageRequest());\r\n await api.deleteReceivedMessages([id]);\r\n dispatch(deleteMessageSuccess());\r\n } catch (error) {\r\n dispatch(deleteMessageFailure(error));\r\n console.error('DELETE_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const markMessageAsUnreadRequest = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_UNREAD_REQUEST,\r\n});\r\n\r\nexport const markMessageAsUnreadFailure = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_UNREAD_FAILURE,\r\n});\r\n\r\nexport const markMessageAsUnreadSuccess = (selectedMessagesList, messages) => ({\r\n type: actionTypes.MARK_MESSAGE_AS_UNREAD_SUCCESS,\r\n selectedMessagesList,\r\n messages,\r\n});\r\n\r\nexport const markMessageAsUnread = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { inbox: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n const requests = selectedMessagesList.reduce((reguests, id) => [...reguests, ...[api.markMessageAsUnread(id)]], []);\r\n dispatch(markMessageAsUnreadRequest());\r\n await Promise.all(requests);\r\n dispatch(markMessageAsUnreadSuccess(selectedMessagesList, entries));\r\n } catch (error) {\r\n dispatch(markMessageAsUnreadFailure(error));\r\n console.error('MARK_MESSAGE_AS_UNREAD', error);\r\n }\r\n};\r\n\r\nexport const markMessageAsReadRequest = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_READ_REQUEST,\r\n});\r\n\r\nexport const markMessageAsReadFailure = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_READ_FAILURE,\r\n});\r\n\r\nexport const markMessageAsReadSuccess = (selectedMessagesList, messages) => ({\r\n type: actionTypes.MARK_MESSAGE_AS_READ_SUCCESS,\r\n selectedMessagesList,\r\n messages,\r\n});\r\n\r\nexport const markMessageAsRead = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { inbox: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n const requests = selectedMessagesList.reduce((reguests, id) => [...reguests, ...[api.markMessageAsRead(id)]], []);\r\n dispatch(markMessageAsReadRequest());\r\n await Promise.all(requests);\r\n dispatch(markMessageAsReadSuccess(selectedMessagesList, entries));\r\n } catch (error) {\r\n dispatch(markMessageAsReadFailure(error));\r\n console.error('MARK_MESSAGE_AS_READ', error);\r\n }\r\n};\r\n\r\nexport const resetInbox = () => ({\r\n type: actionTypes.RESET_INBOX,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/inbox.actions.js","import actionTypes from 'message/actions/action-types';\r\n\r\nexport const clearSelectedMessagesList = () => ({\r\n type: actionTypes.CLEAR_SELECTED_MESSAGES_LIST,\r\n});\r\n\r\nexport const setSelectAllPointerStatus = (hasAllMessagesSelected) => ({\r\n type: actionTypes.SET_SELECT_ALL_MESSAGES_POINTER,\r\n hasAllMessagesSelected,\r\n});\r\n\r\nexport const addSelectedMessage = (selectedId) => ({\r\n type: actionTypes.ADD_MESSAGE_TO_SELECTED,\r\n selectedId,\r\n});\r\n\r\nexport const removeSelectedMessage = (selectedId) => ({\r\n type: actionTypes.DELETE_MESSAGE_FROM_SELECTED,\r\n selectedId,\r\n});\r\n\r\nexport const onMessageSelection = (selectedId) => (dispatch, getStore) => {\r\n const { messages } = getStore();\r\n const { selectedMessagesList } = messages.selectedMessages;\r\n\r\n const isAlreadySelected = selectedMessagesList.includes(selectedId);\r\n\r\n if (!isAlreadySelected) {\r\n dispatch(addSelectedMessage(selectedId));\r\n }\r\n\r\n if (isAlreadySelected) {\r\n dispatch(removeSelectedMessage(selectedId));\r\n }\r\n};\r\n\r\nexport const toggleSelectAllMessagesPointer = (messagesList) => ({\r\n type: actionTypes.TOGGLE_SELECT_ALL_MESSAGES_POINTER,\r\n messagesList,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/selected-messages.actions.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchMessageRequest = () => ({\r\n type: actionTypes.FETCH_MESSAGE_REQUEST,\r\n name: 'messageDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchMessageFailure = () => ({\r\n type: actionTypes.FETCH_MESSAGE_FAILURE,\r\n name: 'messageDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchMessageSuccess = (message) => ({\r\n type: actionTypes.FETCH_MESSAGE_SUCCESS,\r\n name: 'messageDetailsLoadingStatus',\r\n message,\r\n});\r\n\r\nexport const fetchMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMessageRequest());\r\n const message = await api.fetchMessage(id);\r\n\r\n dispatch(fetchMessageSuccess(message));\r\n } catch (error) {\r\n dispatch(fetchMessageFailure(error));\r\n console.error('FETCH_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const fetchSentMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMessageRequest());\r\n const message = await api.fetchSentMessage(id);\r\n dispatch(fetchMessageSuccess(message));\r\n } catch (error) {\r\n dispatch(fetchMessageFailure(error));\r\n console.error('FETCH_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const fetchSentMessageDetails = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMessageRequest());\r\n const message = await api.fetchSentMessageDetails(id);\r\n\r\n dispatch(fetchMessageSuccess(message));\r\n } catch (error) {\r\n dispatch(fetchMessageFailure(error));\r\n console.error('FETCH_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const clearSelectedMessage = () => ({\r\n type: actionTypes.CLEAR_SELECTED_MESSAGE,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/message-details.actions.js","export default {\r\n INBOX: 'INBOX',\r\n SENT: 'SENT',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-tab/tabs.js","import _ from 'lodash';\r\n\r\nfunction transformPrivileges(privileges, field = 'id') {\r\n return _.orderBy(privileges, ['id'], ['asc']).reduce((reduced, privilege) => _.set(reduced, privilege[field], privilege), {});\r\n}\r\n\r\nfunction createTree(privileges, field = 'displayPath') {\r\n const pathsArray = _.orderBy(privileges, ['displayPath'], ['asc']).map((privilege) => privilege[field].split('.'));\r\n const root = {};\r\n let node;\r\n let next;\r\n\r\n pathsArray.map((paths) => {\r\n const pathsString = paths.join('.');\r\n let tempPathsArray = [];\r\n const foundPrivilege = privileges.find((privilege) => privilege[field] === pathsString);\r\n\r\n node = root;\r\n\r\n paths.map((path) => {\r\n tempPathsArray = tempPathsArray.concat(path);\r\n\r\n if (!node.privileges) {\r\n node.privileges = {};\r\n }\r\n\r\n next = node.privileges[path];\r\n\r\n if (!next) {\r\n const tempPathsString = tempPathsArray.join('.');\r\n\r\n next =\r\n tempPathsString === pathsString\r\n ? (node.privileges[path] = {\r\n name: foundPrivilege.name,\r\n id: foundPrivilege.id,\r\n description: foundPrivilege.description,\r\n path: tempPathsString,\r\n displayPath: foundPrivilege.displayPath,\r\n checked: false,\r\n })\r\n : (node.privileges[path] = {\r\n name: path,\r\n path: tempPathsString,\r\n checked: false,\r\n });\r\n }\r\n node = next;\r\n return path;\r\n });\r\n return paths;\r\n });\r\n\r\n return root;\r\n}\r\n\r\nexport default {\r\n transformPrivileges,\r\n createTree,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/logic/helpers.js","import actionTypes from 'registration/actions/action-types';\r\nimport utils from 'utils/lsp-utils-service';\r\nimport * as api from 'registration/resources/registration.api';\r\n\r\nexport const validateOwnerDataRequest = () => ({\r\n type: actionTypes.VALIDATE_OWNER_DATA_REQUEST,\r\n});\r\n\r\nexport const validateOwnerDataSuccess = (ownerData) => ({\r\n type: actionTypes.VALIDATE_OWNER_DATA_SUCCESS,\r\n ownerData,\r\n});\r\n\r\nexport const validateOwnerDataFailure = () => ({\r\n type: actionTypes.VALIDATE_OWNER_DATA_FAILURE,\r\n});\r\n\r\nexport const validateOwnerData = (form) => async (dispatch, getState) => {\r\n try {\r\n const { registration } = getState();\r\n const { retailerId, salts } = registration.retailer;\r\n const { passcode, tellerId = null, emailAddress = null, firstName, lastName } = form;\r\n\r\n dispatch(validateOwnerDataRequest());\r\n\r\n const params = {\r\n retailerId,\r\n tellerId,\r\n firstName,\r\n lastName,\r\n email: emailAddress,\r\n hashedPins: passcode ? utils.getHashes(passcode, salts) : null,\r\n };\r\n\r\n const ownerData = await api.validateOwnerData(params);\r\n\r\n dispatch(validateOwnerDataSuccess(ownerData));\r\n } catch (error) {\r\n console.error('VALIDATE_OWNER_DATA_FAILURE', error);\r\n dispatch(validateOwnerDataFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/validate-owner-data.actions.js","import angular from 'angular';\r\nimport SecurityComponent from 'security/components/security/security-component';\r\nimport SecurityQuestionsComponent from 'security/components/security-questions/security-questions-component';\r\n\r\nexport default angular\r\n .module('security', ['rw-captcha'])\r\n .component('security', new SecurityComponent())\r\n .component('securityQuestions', new SecurityQuestionsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/security-module.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'earnings';\r\n\r\nexport const fetchEarnings = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.earnings;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.earnings';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchNetEarnings = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.netEarnings;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.earnings';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/earnings.api.js","export default {\r\n WTD: 'WTD',\r\n MTD: 'MTD',\r\n QTD: 'QTD',\r\n YTD: 'YTD',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/tabs.js","export const INSTANT_GAME_TYPE = 'S';\r\nexport const DRAW_GAME_TYPE = 'O';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/config/gametype.js","import get from 'lodash/get';\r\nimport DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nexport const PRICES_PAID_WTD_ID = 'cumulativeWinnersAwarenessWeek';\r\nexport const PRICES_PAID_MTD_ID = 'cumulativeWinnersAwarenessMonth';\r\nexport const PRICES_PAID_YTD_ID = 'cumulativeWinnersAwarenessYear';\r\nexport const BIG_WINNERS_ONLINE_ID = 'bigWinnerAwareness_Online';\r\nexport const BIG_WINNERS_SCRATCH_ID = 'bigWinnerAwareness_Scratch';\r\nexport const BIG_WINNERS_ID = 'bigWinnerAwareness';\r\nexport const JACKPOT_ID = 'jackpotAwareness';\r\n\r\nfunction downloadHistoryReport(restSrv, model, source, format, filters, retailerNumber = null) {\r\n let gridModel = {};\r\n if (source === 'cumulative') {\r\n gridModel = get(model, 'cumulativeHistory.grid') || {};\r\n } else if (source === 'netSales') {\r\n gridModel = get(model, 'netSalesHistory.grid') || {};\r\n }\r\n const retailerId = retailerNumber || get(model, 'session.retailer.retailerId', '');\r\n const locale = get(model, 'session.locale') || '';\r\n const url = get(model, 'session.rest.widgets.cumulativeHistory.url') || '';\r\n\r\n const queryParams = {\r\n ...gridModel.pagingModel,\r\n ...filters.filters,\r\n ...{ locale },\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n const headers = appHelpers.setHeader(format);\r\n\r\n return restSrv.downloadBlob(undefined, url, queryParams, urlParams, headers);\r\n}\r\n\r\nfunction getAlertDetails(config, gettextCatalog, type, totalCount, retailerId = null) {\r\n const { dictionary, contact, session } = DepsService.$ngRedux.getState();\r\n const { defaultContactPhone: phoneNumber } = contact.lottery;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n const issued = terms.ACTIVE.ISSUED;\r\n const active = terms.ACTIVE.singular;\r\n const confirmed = terms.CONFIRMED.singular;\r\n const lowerCaseConfirmed = terms.CONFIRMED.singularLowerCase;\r\n const pack = terms.PACK.singular;\r\n const packs = terms.PACK.plural;\r\n const lowerCasePack = terms.PACK.singularLowerCase;\r\n const lowerCasePacks = terms.PACK.pluralLowerCase;\r\n\r\n const alertsCollection = {\r\n ArwNewGameNotActivatedAlert: {\r\n /// {{ status }} is a definition describing particular pack status.\r\n title: gettextCatalog.getString('New Game(s) Not {{ status }}', {\r\n status: active,\r\n }),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('You have not yet displayed one or more new games.'),\r\n /// {{ status }} is a definition describing particular pack status.\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores in your chain have not yet {{ status }} and displayed new games.', {\r\n totalCount,\r\n status: active,\r\n }),\r\n },\r\n /// {{ status }} is a definition describing particular pack status.\r\n modalTitle: gettextCatalog.getString('New Game(s) Not {{ status }}', {\r\n status: active,\r\n }),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString('Please put the following games out for sale:'),\r\n /// {{ status }} is a definition describing particular pack status.\r\n CHAIN_HEAD: gettextCatalog.getString('The following stores have not yet {{ status }} the recently launched games listed below.', {\r\n status: active,\r\n }),\r\n },\r\n },\r\n ArwNewGameNotOnDisplayAlert: {\r\n title: gettextCatalog.getString('New Game(s) Selling Out'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you are selling out or have sold out of new game(s) on display.'),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Based on cashing activity, {{ totalCount }} stores appear to have sold out of new games on display.',\r\n { totalCount }\r\n ),\r\n },\r\n modalTitle: gettextCatalog.getString('New Game(s) Selling Out'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of our newest game(s). Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following stores appear to have sold out of our newest games. Please notify them to check their inventory. Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwNewGameNeedToBeReorderedAlert: {\r\n title: gettextCatalog.getString('New Game(s) Need to Be Reordered'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you appear to be out of stock on one or more new games.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Based on cashing activity, {{ totalCount }} stores appear to be out of stock of new games.', {\r\n totalCount,\r\n }),\r\n },\r\n modalTitle: gettextCatalog.getString('New Game(s) Need to Be Reordered '),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of one or more of our newest game(s). Please call {{ phoneNumber }} to replenish your stock.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Some of your stores appear to have sold out of our newest games. Please notify them to check their inventory and call {{ phoneNumber }} to replenish their stock of these new games.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwUnconfirmedOrdersAlert: {\r\n /// {{ status }} is a definition describing particular order status.\r\n title: gettextCatalog.getString('Not {{ status }} Order(s)', {\r\n status: confirmed,\r\n }),\r\n subtitle: {\r\n /// {{ status }} is a definition describing particular order status.\r\n DEFAULT: gettextCatalog.getString('Not {{ status }} orders have been identified for your location.', {\r\n status: confirmed,\r\n }),\r\n /// {{ status }} is a definition describing particular order status.\r\n CHAIN_HEAD: gettextCatalog.getString('Not {{ status }} orders have been identified for {{ totalCount }} stores in your chain.', {\r\n totalCount,\r\n status: confirmed,\r\n }),\r\n },\r\n /// {{ status }} is a definition describing particular order status.\r\n modalTitle: gettextCatalog.getString('Not {{ status }} Order(s)', {\r\n status: confirmed,\r\n }),\r\n modalSubtitle: {\r\n /// {{ status }} is a definition describing particular order status.\r\n DEFAULT: gettextCatalog.getString(\r\n 'Not {{ status }} orders have been identified for your location. ' +\r\n 'Please confirm the order if you have received it. ' +\r\n 'If you do not receive this order or the contents do not match this list, please call {{ phoneNumber }}.',\r\n {\r\n phoneNumber,\r\n status: confirmed,\r\n }\r\n ),\r\n /// {{ status }} is a definition describing particular order status.\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following locations have orders that have not been {{ status }} <3 or more> days after they shipped. ' +\r\n 'Please notify these locations either to confirm receipt of their orders or, ' +\r\n 'if the order was not received or the contents do not match this list, to call {{ phoneNumber }}.',\r\n {\r\n phoneNumber,\r\n status: lowerCaseConfirmed,\r\n }\r\n ),\r\n },\r\n },\r\n ArwExpiringGamesAlert: {\r\n title: gettextCatalog.getString('Game End'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('You have stock of games that are due to expire in less than <30> days.'),\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores have stock of games that are due to expire in less than <30> days.', {\r\n totalCount,\r\n }),\r\n },\r\n modalTitle: gettextCatalog.getString('Game End'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'The following games are ending soon. Please prepare to end sales and return any inventory of the games below to the Lottery.'\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following games are ending soon. Please notify your stores to prepare to end sales and return any inventory of the games below to the Lottery.'\r\n ),\r\n },\r\n },\r\n ArwLVMBinNotSellingAlert: {\r\n title: gettextCatalog.getString('LVM Bin Not Selling'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('One or more bins in your LVM is either sold out or experiencing an error.'),\r\n },\r\n modalTitle: gettextCatalog.getString('LVM Bin Not Selling'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'One of the bins in your vending machine is not dispensing tickets. Please restock or reload the tickets for this bin as soon as possible to avoid lost sales.'\r\n ),\r\n },\r\n },\r\n ArwKeyGamesNeedToBeReorderedAlert: {\r\n title: gettextCatalog.getString('Key Game(s) Need to Be Reordered'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you appear to be out of stock on one or more key games.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Based on cashing activity, {{ totalCount }} stores appear to be out of stock of key games.', {\r\n totalCount,\r\n }),\r\n },\r\n modalTitle: gettextCatalog.getString('Key Game(s) Need to Be Reordered'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of one or more key Lottery game(s). Please call {{ phoneNumber }} to replenish your stock.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Some of your stores appear to have sold out of key Lottery games. Please notify them to check their inventory and call {{ phoneNumber }} to replenish their stock of these key games.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwKeyGamesOnDisplaySellingOutOrSoldOutAlert: {\r\n title: gettextCatalog.getString('Key Game(s) Selling Out'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you are selling out or have sold out of key game(s) on display.'),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Based on cashing activity, {{ totalCount }} stores appear to have sold out of key games on display.',\r\n { totalCount }\r\n ),\r\n },\r\n modalTitle: gettextCatalog.getString('Key Game(s) Selling Out'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of some key Lottery game(s). Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following stores appear to have sold out of key Lottery games. Please notify them to check their inventory. Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwMandatoryReturnAlert: {\r\n title: gettextCatalog.getString('Mandatory Return'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('You have stock of games that must be returned immediately.'),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n '{{ totalCount }} stores have stock of games that must be removed from display and returned.',\r\n { totalCount }\r\n ),\r\n },\r\n modalTitle: gettextCatalog.getString('Mandatory Return'),\r\n modalSubtitle: {\r\n /// {{ pack }} and {{ lowerCasePacks }} are Lottery terms using to determine Packs.\r\n DEFAULT: gettextCatalog.getString(\r\n 'The following game(s) may no longer be sold and must be returned to the Lottery. Please remove from display immediately. When all {{ lowerCasePacks }} of game(s) listed are removed from display, select “{{ pack }} Removed” button to hide this Alert.',\r\n { pack: packs, lowerCasePacks }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following game(s) may no longer be sold and must be returned to the Lottery. Please notify your stores to remove from display immediately.'\r\n ),\r\n },\r\n },\r\n ArwLicenseRenewalAlert: {\r\n title: gettextCatalog.getString('Your license will expire soon'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Your license will expire soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores have license expiring soon.', { totalCount }),\r\n },\r\n modalTitle: gettextCatalog.getString('Your license will expire soon'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString('The following stores appear to have License expiring soon'),\r\n },\r\n },\r\n ArwBondRenewalAlert: {\r\n title: gettextCatalog.getString('Your bond(s) will expire soon'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Your bond(s) will expire soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores bond(s) expiring soon.', { totalCount }),\r\n },\r\n modalTitle: gettextCatalog.getString('Your bond(s) will expire soon'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString('The following stores appear to have Bond(s) expiring soon'),\r\n },\r\n },\r\n ArwAutoActivatedConfirmedAlert: {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n title: gettextCatalog.getString('Your {{ pack }}(s) was auto-activated', { pack: lowerCasePack }),\r\n subtitle: {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n DEFAULT: gettextCatalog.getString('Your {{ pack }}(s) was auto-activated', { pack: lowerCasePack }),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores have {{ pack }}(s) auto-activated.', {\r\n totalCount,\r\n pack: lowerCasePack,\r\n }),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n STORE_PROFILE: gettextCatalog.getString('{{ totalCount }} stores have {{ pack }}(s) auto-activated.', {\r\n totalCount,\r\n pack: lowerCasePack,\r\n }),\r\n },\r\n /// {{ packs }} is Lottery term using to determine Pack.\r\n modalTitle: gettextCatalog.getString('{{ packs }} Auto-Activated', { packs }),\r\n modalSubtitle: {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n DEFAULT: gettextCatalog.getString(\r\n 'The following {{ pack }} were auto-activated {{ numberOfDays }} days after they were confirmed.',\r\n { numberOfDays: DepsService.config.ArwAutoActivatedConfirmedAlert.numberOfDays, pack: lowerCasePacks }\r\n ),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following stores have {{ pack }} that have been auto-activated {{ numberOfDays }} days after they were confirmed.',\r\n { numberOfDays: DepsService.config.ArwAutoActivatedConfirmedAlert.numberOfDays, pack: lowerCasePack }\r\n ),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n STORE_PROFILE: gettextCatalog.getString(\r\n 'The following {{ pack }} have been auto-activated due to them being in confirmed status for {{ numberOfDays }} days.',\r\n { numberOfDays: DepsService.config.ArwAutoActivatedConfirmedAlert.numberOfDays, pack: lowerCasePack }\r\n ),\r\n },\r\n },\r\n };\r\n\r\n const emptyAlert = {\r\n title: gettextCatalog.getString('Will be implemented soon.'),\r\n subtitle: {\r\n INDEPENDENT: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_SUBORDINATE: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Will be implemented soon.'),\r\n STORE_PROFILE: gettextCatalog.getString('Will be implemented soon.'),\r\n },\r\n modalTitle: gettextCatalog.getString('Will be implemented soon.'),\r\n modalSubtitle: {\r\n INDEPENDENT: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_SUBORDINATE: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Will be implemented soon.'),\r\n STORE_PROFILE: gettextCatalog.getString('Will be implemented soon.'),\r\n },\r\n };\r\n\r\n const gridHeadersData = {\r\n ArwNewGameNotActivatedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Launch'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwNewGameNotOnDisplayAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Launch'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwNewGameNeedToBeReorderedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Launch'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwUnconfirmedOrdersAlert: [\r\n {\r\n text: gettextCatalog.getString('Order Contents'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack, {{ status }} is a definition describing particular pack status.\r\n text: gettextCatalog.getString('{{ pack }} {{ status }}', { pack: packs, status: issued }),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwExpiringGamesAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('% Validated'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game End Date'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwLVMBinNotSellingAlert: [\r\n {\r\n text: gettextCatalog.getString('LVM ID'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Bin Number'),\r\n },\r\n ],\r\n ArwKeyGamesNeedToBeReorderedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwKeyGamesOnDisplaySellingOutOrSoldOutAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwMandatoryReturnAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwLicenseRenewalAlert: [\r\n {\r\n text: gettextCatalog.getString('License renewal date'),\r\n },\r\n {\r\n text: gettextCatalog.getString('License renewal days left'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwBondRenewalAlert: [\r\n {\r\n text: gettextCatalog.getString('Bond(s) Expiring date'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Bond(s) Expiring days left'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwAutoActivatedConfirmedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ status }} is a definition describing particular pack status.\r\n text: gettextCatalog.getString('{{ status }}', { status: confirmed }),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ status }} is a definition describing particular pack status.\r\n text: gettextCatalog.getString('{{ status }}', { status: active }),\r\n classes: 'text-right',\r\n },\r\n ],\r\n };\r\n\r\n let retailerType = '';\r\n if (get(session, 'retailer.isIndependent') || get(session, 'retailerDashboard.isIndependent')) {\r\n retailerType = 'INDEPENDENT';\r\n } else if (get(session, 'retailer.isChainSubordinate') || get(session, 'retailerDashboard.isChainSubordinate')) {\r\n retailerType = 'CHAIN_SUBORDINATE';\r\n } else if (get(session, 'retailer.isChainHead') || get(session, 'retailerDashboard.isChainHead')) {\r\n retailerType = 'CHAIN_HEAD';\r\n } else if (retailerId !== get(session, 'retailer.retailerId')) {\r\n retailerType = 'STORE_PROFILE';\r\n }\r\n\r\n const alertDetails = get(alertsCollection, type) || emptyAlert;\r\n\r\n Object.assign(alertDetails || {}, {\r\n subtitle: get(alertDetails, `subtitle.${retailerType}`, alertDetails.subtitle.DEFAULT),\r\n modalSubtitle: get(alertDetails, `modalSubtitle.${retailerType}`, alertDetails.modalSubtitle.DEFAULT),\r\n });\r\n\r\n return {\r\n gridHeaders: gridHeadersData[type],\r\n details: alertDetails,\r\n };\r\n}\r\n\r\nexport default {\r\n downloadHistoryReport,\r\n getAlertDetails,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/dashboard-helpers.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport get from 'lodash/get';\r\nimport { getTimestampDate } from 'dashboard/reducers/announcements/utils';\r\n\r\nconst DRAFT = 'DRAFT';\r\nconst CONTEXT = 'cms';\r\n\r\nconst widgetsFields2Object = (response) =>\r\n response.entries.map((entry) => {\r\n const fields = appHelpers.getFieldsFromEntry(entry);\r\n return {\r\n ...entry,\r\n fields,\r\n };\r\n });\r\n\r\nconst getAnnouncementsUrl = (showOnlyPublishedWidgets) => {\r\n if (showOnlyPublishedWidgets) return DepsService.rest.cms.announcements.first.url;\r\n return DepsService.rest.cms.announcements.second.url;\r\n};\r\n\r\nexport const fetchAnnouncements = async (showOnlyPublishedWidgets, jurisdictionId) => {\r\n const url = getAnnouncementsUrl(showOnlyPublishedWidgets);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n const result = {\r\n draft: response.versionType === DRAFT,\r\n items: widgetsFields2Object(response),\r\n };\r\n return result;\r\n};\r\n\r\nexport const discardChanges = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms.announcements.discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadAttachment = async (jurisdictionId, attachment) => {\r\n const { url } = DepsService.rest.cms.widgets.download;\r\n const queryParams = {};\r\n const urlParams = {\r\n jurisdictionId,\r\n contentId: attachment.id,\r\n };\r\n\r\n if (attachment.fileSource) {\r\n const b64Data = attachment.fileSource.split(',');\r\n const blob = appHelpers.b64toBlob(b64Data[1], attachment.fileType);\r\n return window.saveAs(blob, attachment.name);\r\n }\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams).promise.then((result) => {\r\n const blob = new Blob([result.data], {});\r\n window.saveAs(blob, attachment.name);\r\n });\r\n};\r\n\r\nconst transformAnnouncements = (newAnnouncements, locales) =>\r\n newAnnouncements.reduce((announcements, announcement) => {\r\n const data = {\r\n fields: appHelpers.setFieldsToEntry(announcement.fields),\r\n title: 'announcements',\r\n };\r\n if (announcement.publishFrom) {\r\n data.publishFrom = getTimestampDate(announcement.publishFrom);\r\n }\r\n if (announcement.publishTo) {\r\n data.publishTo = getTimestampDate(announcement.publishTo);\r\n }\r\n if (announcement.attachments) {\r\n data.attachments = announcement.attachments;\r\n locales.map((locale) => {\r\n const attachment = get(announcement.attachments, `${locale.code}[0]`);\r\n if (attachment && !attachment.id) {\r\n data.attachments[locale.code] = [\r\n {\r\n name: attachment.name,\r\n content: attachment.fileSource.split(',')[1],\r\n },\r\n ];\r\n }\r\n if (!attachment) {\r\n data.attachments[locale.code] = undefined;\r\n }\r\n });\r\n }\r\n return announcements.concat(data);\r\n }, []);\r\n\r\nexport const updateAnnouncements = async (newAnnouncements, modified, locales, secondHandApproval, jurisdictionId) => {\r\n const url = getAnnouncementsUrl(!secondHandApproval);\r\n const entries = transformAnnouncements(newAnnouncements, locales);\r\n const queryParams = { entries, modified };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/announcements.api.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport find from 'lodash/find';\r\nimport DepsService from 'services/dependencies';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/dashboard.api';\r\n\r\nexport const fetchDashboardRequest = () => ({\r\n type: actionTypes.FETCH_DASHBOARD_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchDashboardSuccess = (current, toSave) => ({\r\n type: actionTypes.FETCH_DASHBOARD_SUCCESS,\r\n isLoading: false,\r\n toSave,\r\n current,\r\n});\r\n\r\nexport const fetchDashboardFailure = () => ({\r\n type: actionTypes.FETCH_DASHBOARD_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const setDashboardLayouts = (layouts) => ({\r\n type: actionTypes.SET_DASHBOARD_LAYOUTS,\r\n layouts,\r\n});\r\n\r\nexport const fetchDashboard = (retailerType, dashboardSubtype) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const userId = session.id;\r\n\r\n dispatch(fetchDashboardRequest());\r\n\r\n const dashboardData = await api.fetchDashboard(userId);\r\n const dashboard = cloneDeep(find(dashboardData, { type: retailerType }));\r\n const current = find(dashboard.subtypes, { name: dashboardSubtype });\r\n\r\n dispatch(fetchDashboardSuccess(current, dashboard));\r\n const layouts = DepsService.config.layoutsConfig;\r\n dispatch(setDashboardLayouts(layouts));\r\n } catch (error) {\r\n console.error('FETCH_DASHBOARD', error);\r\n dispatch(fetchDashboardFailure());\r\n }\r\n};\r\n\r\nexport const restoreDefaults = (retailerType, dashboardSubtype) => async (dispatch, getState) => {\r\n try {\r\n const { dashboard: { toSave } } = getState();\r\n dispatch(fetchDashboardRequest());\r\n\r\n const dashboard = await api.fetchDefaultDashboard(retailerType);\r\n const current = find(dashboard.subtypes, { name: dashboardSubtype });\r\n dashboard.id = toSave.id;\r\n dashboard.userId = toSave.userId;\r\n dashboard.retailerId = toSave.retailerId;\r\n\r\n dispatch(fetchDashboardSuccess(current, dashboard));\r\n } catch (error) {\r\n console.error('FETCH_DEFAULT_DASHBOARD', error);\r\n dispatch(fetchDashboardFailure());\r\n }\r\n};\r\n\r\nexport const setDashboardEditMode = (isEditMode) => ({\r\n type: actionTypes.SET_DASHBOARD_EDIT_MODE,\r\n isEditMode,\r\n});\r\n\r\nexport const setDashboardCopy = (copy) => ({\r\n type: actionTypes.SET_DASHBOARD_COPY,\r\n copy,\r\n});\r\n\r\nexport const setDashboardCurrent = (current) => ({\r\n type: actionTypes.SET_DASHBOARD_CURRENT,\r\n isLoading: false,\r\n current,\r\n});\r\n\r\nexport const setEditMode = (isEditMode, isSave) => (dispatch, getState) => {\r\n const { dashboard: { current, copy } } = getState();\r\n dispatch(setDashboardEditMode(isEditMode));\r\n\r\n if (isEditMode) {\r\n dispatch(setDashboardCopy(cloneDeep(current)));\r\n } else if (isSave) {\r\n dispatch(setDashboardCurrent(cloneDeep(current)));\r\n } else {\r\n dispatch(setDashboardCurrent(cloneDeep(copy)));\r\n }\r\n};\r\n\r\nexport const saveDashboardRequest = () => ({\r\n type: actionTypes.SAVE_DASHBOARD_REQUEST,\r\n});\r\n\r\nexport const saveDashboardSuccess = () => ({\r\n type: actionTypes.SAVE_DASHBOARD_SUCCESS,\r\n});\r\n\r\nexport const saveDashboardFailure = () => ({\r\n type: actionTypes.SAVE_DASHBOARD_FAILURE,\r\n});\r\n\r\nexport const saveDashboard = (dashboardData) => async (dispatch, getState) => {\r\n try {\r\n if (!dashboardData) {\r\n return;\r\n }\r\n const { dashboard } = getState();\r\n const dashboardToSave = cloneDeep(dashboard.toSave);\r\n const foundSubtypeIndex = dashboardToSave.subtypes.findIndex((subtype) => subtype.name === dashboardData.name);\r\n dashboardToSave.subtypes[foundSubtypeIndex] = dashboardData;\r\n\r\n dispatch(saveDashboardRequest());\r\n await api.updateDashboard(dashboardToSave);\r\n dispatch(saveDashboardSuccess());\r\n } catch (error) {\r\n console.error('SAVE_DASHBOARD', error);\r\n dispatch(saveDashboardFailure());\r\n }\r\n};\r\n\r\nfunction getVisibleWidgets(dashboard) {\r\n const visibleWidgets = [];\r\n dashboard.rows.forEach((row) => {\r\n row.columns.forEach((column) => {\r\n column.widgets.forEach((widget) => {\r\n if (!find(() => widget.type, visibleWidgets)) {\r\n visibleWidgets.push(widget.type);\r\n }\r\n });\r\n });\r\n });\r\n return visibleWidgets;\r\n}\r\n\r\nfunction getAvailableWidgets(retailer, dashboard, visibleWidgets) {\r\n const availableWidgets = DepsService.config.availableWidgets[retailer][dashboard.name];\r\n return availableWidgets.filter((widget) => !visibleWidgets.find((item) => item === widget.type));\r\n}\r\n\r\nfunction getAuthorizedWidgets(availableWidgets, session) {\r\n return availableWidgets.filter(\r\n (widget) => DepsService.config.widgets.find(\r\n (item) => DepsService.checkAccess({ session }, item.permission) && widget.type === item.type,\r\n ),\r\n );\r\n}\r\n\r\nexport const setDashboardWidgetsList = (widgets) => ({\r\n type: actionTypes.SET_DASHBOARD_WIDGETS_LIST,\r\n widgets,\r\n});\r\n\r\nexport const getWidgetsList = (retailerType) => (dispatch, getState) => {\r\n const { session, dashboard } = getState();\r\n const currentDashboard = dashboard.current;\r\n const newDashboard = cloneDeep(currentDashboard);\r\n const retailer = retailerType.toUpperCase() || session.retailer.retailerType.toUpperCase();\r\n\r\n const visibleWidgets = getVisibleWidgets(newDashboard);\r\n const availableWidgets = getAvailableWidgets(retailer, newDashboard, visibleWidgets);\r\n const widgets = getAuthorizedWidgets(availableWidgets, session);\r\n\r\n dispatch(setDashboardWidgetsList(widgets));\r\n};\r\n\r\nexport const addWidget = ({ type }) => (dispatch, getState) => {\r\n const { dashboard } = getState();\r\n const currentDashboard = dashboard.current;\r\n const newDashboard = cloneDeep(currentDashboard);\r\n const { widgets } = dashboard;\r\n\r\n newDashboard.rows[0].columns[0].widgets.unshift({\r\n name: type,\r\n type,\r\n isEditable: true,\r\n isRemovable: true,\r\n });\r\n const newWidgets = widgets.filter((widgetItem) => widgetItem.type !== type);\r\n dispatch(setDashboardCurrent(newDashboard));\r\n dispatch(setDashboardWidgetsList(newWidgets));\r\n};\r\n\r\nexport const deleteWidget = ({ type }) => (dispatch, getState) => {\r\n const { dashboard } = getState();\r\n const currentDashboard = dashboard.current;\r\n const newDashboard = cloneDeep(currentDashboard);\r\n\r\n newDashboard.rows = newDashboard.rows.reduce((reduced, row) => {\r\n row.columns.forEach((column) => {\r\n column.widgets = column.widgets.filter((widget) => widget.type !== type);\r\n });\r\n reduced.push(row);\r\n return reduced;\r\n }, []);\r\n\r\n dispatch(setDashboardCurrent(newDashboard));\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/dashboard.actions.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport restApi from 'app/rest.conf.json';\r\nimport {\r\n applySessionData as applySessionDataRedux,\r\n changeLocale as changeLocaleRedux,\r\n initializeSession as initializeSessionRedux,\r\n resetSession as resetSessionRedux,\r\n setAttemptedRoute,\r\n updateAuthHeaders,\r\n} from 'auth/actions/session.actions';\r\n\r\nconst TEMPORARY_SUFFIX = 'Temporary';\r\nconst STATUS_CREATED = 'CREATED';\r\nconst CHAIN_SUFFIX = 'CHAIN_';\r\nconst CHAIN_HEAD = 'CHAIN_HEAD';\r\nconst CHAIN_SUBORDINATE = 'CHAIN_SUBORDINATE';\r\nconst SUPER_CHAIN = 'SUPER_CHAIN';\r\nconst INDEPENDENT = 'INDEPENDENT';\r\n\r\nfunction initializeSession(deps, model, session = {}, privileges = {}) {\r\n const nonLoggedRole = window.devMode ? deps.config.mock : deps.config.anonymous;\r\n const { baseUrl, oAuthClientId, siteId, jurisdictionId, defaultLocale } = deps.config;\r\n\r\n const defaultSession = {\r\n baseUrl,\r\n oAuthClientId,\r\n siteId,\r\n privileges,\r\n rest: restApi,\r\n role: nonLoggedRole,\r\n locale: defaultLocale,\r\n jurisdiction: jurisdictionId,\r\n loggedIn: false,\r\n passwordReset: false,\r\n tokens: {},\r\n retailer: {},\r\n firstName: '',\r\n lastName: '',\r\n contactPhone: '',\r\n emailAddress: '',\r\n };\r\n\r\n const newSession = Object.keys(session).length > 0 ? Object.assign(session, { baseUrl }) : defaultSession;\r\n delete newSession.sidemenu;\r\n delete newSession.topmenu;\r\n delete newSession.pageTitle;\r\n model.session = newSession;\r\n\r\n DepsService.$ngRedux.dispatch(initializeSessionRedux(newSession));\r\n\r\n if (Object.keys(newSession.tokens).length > 0) {\r\n DepsService.$ngRedux.dispatch(updateAuthHeaders(newSession.tokens));\r\n }\r\n\r\n DepsService.updateSession(newSession);\r\n // TODO be remove\r\n return model;\r\n}\r\n\r\nfunction applySessionData(params) {\r\n const {\r\n model,\r\n user,\r\n user: { status, contact, userClass: role, retailerGroups },\r\n config: { defaultLocale, roles, anonymous },\r\n loginAs,\r\n impersonatingDisplayName,\r\n } = params;\r\n const roleConfig = roles[role] || {};\r\n\r\n const {\r\n id,\r\n lotteryRepId,\r\n siteId,\r\n forcePasswordChange = false,\r\n locale = defaultLocale,\r\n retailers,\r\n primaryRetailer,\r\n independentOwnerId,\r\n lotteryRepresentatives,\r\n } = user;\r\n\r\n const retailer = primaryRetailer ? _.find(retailers, { retailerId: primaryRetailer.retailerId }) || _.head(retailers) || {} : {};\r\n\r\n const { firstName, lastName, contactPhone, mobilePhone, emailAddress } = contact;\r\n\r\n const session = {\r\n firstName,\r\n lastName,\r\n contactPhone,\r\n mobilePhone,\r\n emailAddress,\r\n role,\r\n id,\r\n lotteryRepId,\r\n independentOwnerId,\r\n jurisdiction: siteId,\r\n passwordReset: forcePasswordChange,\r\n temporaryUser: status.status === STATUS_CREATED,\r\n status,\r\n rest: restApi, // roleConfig.rest,\r\n locale,\r\n retailer: Object.assign(retailer, {\r\n isChain: retailer.retailerType ? retailer.retailerType.indexOf(CHAIN_SUFFIX) !== -1 : false,\r\n isChainHead: retailer.retailerType ? retailer.retailerType === CHAIN_HEAD : false,\r\n isChainSubordinate: retailer.retailerType ? retailer.retailerType === CHAIN_SUBORDINATE : false,\r\n isSuperChain: retailer.retailerType ? retailer.retailerType === SUPER_CHAIN : false,\r\n isIndependent: retailer.retailerType ? retailer.retailerType === INDEPENDENT : false,\r\n }),\r\n retailerGroups,\r\n ownerRetailerGroups: undefined,\r\n isAdmin: role.indexOf('ADMIN') > -1,\r\n isRetailerGroup: role.indexOf('RETAILER_GROUP') > -1,\r\n retailers,\r\n lotteryRepresentatives,\r\n loginAs,\r\n impersonatingDisplayName,\r\n loggedIn: loginAs ? true : role !== anonymous && !forcePasswordChange,\r\n multistore: retailers.length > 1 && retailer.retailerType !== SUPER_CHAIN,\r\n retailerDashboard: void 0,\r\n };\r\n\r\n if (!loginAs && (status.status === STATUS_CREATED || forcePasswordChange)) {\r\n session.role += TEMPORARY_SUFFIX;\r\n }\r\n\r\n session.retailersIds =\r\n session.retailer.isChainHead || session.retailer.isSuperChain ? retailers.map((r) => r.retailerId).join(',') : retailer.retailerId;\r\n\r\n Object.assign(model, { session: Object.assign(model.session, session) });\r\n\r\n DepsService.$ngRedux.dispatch(applySessionDataRedux(session));\r\n // update rest in deps service\r\n DepsService.updateSession(session);\r\n\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction changeLocale(deps, model, locale) {\r\n DepsService.$ngRedux.dispatch(changeLocaleRedux(locale));\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction saveSession(sessionStorage, model) {\r\n DepsService.$ngRedux.dispatch(applySessionDataRedux(model.session));\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction resetSession(deps, model) {\r\n DepsService.$ngRedux.dispatch(setAttemptedRoute(''));\r\n DepsService.$ngRedux.dispatch(resetSessionRedux());\r\n model = initializeSession(deps, model, {}, deps.anonymousPrivileges);\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction setRetailer(retailer) {\r\n DepsService.model.session.retailer = retailer;\r\n DepsService.model.session.retailersIds = DepsService.session.retailer.isChainHead\r\n ? DepsService.model.session.retailers.map((r) => r.retailerId).join(',')\r\n : retailer.retailerId;\r\n DepsService.$ngRedux.dispatch(\r\n applySessionDataRedux({\r\n retailer,\r\n retailersIds: DepsService.model.session.retailersIds,\r\n })\r\n );\r\n return Promise.resolve();\r\n}\r\n\r\nfunction updateSession(deps, model, newSession) {\r\n model.session = Object.assign(model.session, newSession);\r\n DepsService.$ngRedux.dispatch(applySessionDataRedux(newSession));\r\n}\r\n\r\nexport default {\r\n applySessionData,\r\n saveSession,\r\n updateSession,\r\n resetSession,\r\n initializeSession,\r\n setRetailer,\r\n changeLocale,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/logic/session.js","function checkFormValidation(form) {\r\n form.$setSubmitted();\r\n return form.$valid;\r\n}\r\n\r\nexport default {\r\n checkFormValidation,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/multilanguage/helpers/multilanguage-helpers.js","import appHelpers from 'app/app-helpers';\r\n\r\nclass StripHtml {\r\n constructor() {\r\n return (input) => {\r\n if (typeof input !== 'string') {\r\n return '';\r\n }\r\n const normalizedText = input.replace(/(\\r\\n|\\n|\\r)/gm, '').replace(/ /gi, ' ');\r\n return appHelpers.trimHtml(normalizedText, false).replace(/^([\\t\\r\\n]*)$/, '');\r\n };\r\n }\r\n}\r\n\r\nexport default StripHtml;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/lsp-filters/strip-html-filter.js","import api from 'utils/resources/utils.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchRetailerDetailsRequest = () => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_REQUEST,\r\n});\r\n\r\nexport const fetchRetailerDetailsSuccess = (details) => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_SUCCESS,\r\n details,\r\n});\r\n\r\nexport const fetchRetailerDetailsFailure = () => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_FAILURE,\r\n});\r\n\r\nexport const fetchRetailerDetails =\r\n (retailerId = null) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const id = retailerId || session.retailer.retailerId;\r\n\r\n dispatch(fetchRetailerDetailsRequest());\r\n\r\n const details = await api.fetchRetailerDetails(id);\r\n\r\n dispatch(fetchRetailerDetailsSuccess(details));\r\n } catch (error) {\r\n console.error('FETCH_RETAILER_DETAILS', error);\r\n dispatch(fetchRetailerDetailsFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/utils.actions.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\n\r\nimport { setUserPrivileges } from 'auth/actions/session.actions';\r\nimport helpers from './helpers';\r\n\r\nconst PRIVILGES_CONTEXT = 'privilegeTemplates';\r\n\r\nfunction initializeModel(deps, model) {\r\n return _.merge(model, {\r\n privileges: {},\r\n privilegesArray: [],\r\n hiddenPrivileges: {},\r\n hiddenPrivilegesArray: [],\r\n privilegeTemplates: {\r\n lotteryView: {\r\n presets: [],\r\n currentPreset: null,\r\n currentPresetOriginalPrivileges: null,\r\n isCurrentPresetDirty: false,\r\n displayTypes: [],\r\n languageValidation: {},\r\n },\r\n retailerView: {\r\n presets: [],\r\n currentPreset: null,\r\n currentPresetOriginalPrivileges: null,\r\n isCurrentPresetDirty: false,\r\n displayTypes: [],\r\n languageValidation: {},\r\n },\r\n roles: {\r\n selectedRole: {},\r\n currentRole: {},\r\n PrivilegeTemplatesList: [],\r\n isCurrentRoleDirty: false,\r\n },\r\n rolesDialog: {\r\n languageValidation: {},\r\n },\r\n retailerViewDialog: {\r\n languageValidation: {},\r\n },\r\n lotteryViewDialog: {\r\n languageValidation: {},\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction loadPrivileges(deps, model, userClass, retailerType) {\r\n const queryParams = retailerType ? { retailerType } : null;\r\n return deps.restSrv\r\n .list(PRIVILGES_CONTEXT, model.session.rest.privileges.dynamic.url, queryParams, { userClass })\r\n .then((privileges) =>\r\n _.flow([\r\n (obj) => _.set(obj, 'privilegesArray', privileges),\r\n (obj) => _.set(obj, 'privileges', helpers.createTree(privileges, 'displayPath')),\r\n ])(model)\r\n );\r\n}\r\n\r\nfunction loadUserSessionPrivileges(deps, model) {\r\n return deps.restSrv.list(PRIVILGES_CONTEXT, model.session.rest.privileges.session.user.calculate.url, null, null).then((privileges) => {\r\n const privs = _.merge(helpers.transformPrivileges(privileges), deps.config.defaultLoggedInPrivileges);\r\n DepsService.$ngRedux.dispatch(setUserPrivileges(privs));\r\n return _.set(model, 'session.privileges', privs);\r\n });\r\n}\r\n\r\nfunction loadPreset(deps, model, presetId, role) {\r\n return deps.restSrv.list(PRIVILGES_CONTEXT, model.session.rest.privileges[role].template.get.url, null, {\r\n templateId: presetId,\r\n });\r\n}\r\n\r\n// Edit Account functions\r\nfunction resetCurrentPreset(deps, model, role) {\r\n const templateId = model.user.editAccount.currentUserPreset.id;\r\n return deps.restSrv\r\n .list(PRIVILGES_CONTEXT, model.session.rest.privileges[role].template.get.url, null, {\r\n templateId,\r\n })\r\n .then((response) => {\r\n model.user.editAccount.currentUserPreset = { ...model.user.editAccount.currentUserPreset, privileges: response.privileges };\r\n return model;\r\n });\r\n}\r\n\r\nexport default {\r\n initializeModel,\r\n loadPrivileges,\r\n loadUserSessionPrivileges,\r\n resetCurrentPreset,\r\n loadPreset,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/logic/privilege-templates.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport * as api from '../resources/widgets.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const addWidget = (widget) => ({\r\n type: actionTypes.ADD_WIDGET,\r\n widget,\r\n});\r\n\r\nexport const updateWidget = (index, widget) => ({\r\n type: actionTypes.UPDATE_WIDGET,\r\n index,\r\n widget,\r\n});\r\n\r\nexport const deleteWidget = (index) => ({\r\n type: actionTypes.DELETE_WIDGET,\r\n index,\r\n});\r\n\r\nexport const cancelWidgetsChanges = () => async (dispatch, getState) => {\r\n const { widgets } = getState();\r\n const { items } = widgets;\r\n const copyItems = cloneDeep(items);\r\n dispatch({\r\n type: actionTypes.CANCEL_WIDGETS_CHANGES,\r\n copyItems,\r\n });\r\n};\r\n\r\nexport const fetchWidgetsRequest = () => ({\r\n type: actionTypes.FETCH_WIDGETS_REQUEST,\r\n name: 'widgetsLoadingStatus',\r\n});\r\n\r\nexport const fetchWidgetsSuccess = (home, { draft, items }) => ({\r\n type: actionTypes.FETCH_WIDGETS_SUCCESS,\r\n home,\r\n draft,\r\n items,\r\n name: 'widgetsLoadingStatus',\r\n});\r\n\r\nexport const fetchWidgetsFailure = () => ({\r\n type: actionTypes.FETCH_WIDGETS_FAILURE,\r\n name: 'widgetsLoadingStatus',\r\n});\r\n\r\nexport const fetchWidgets =\r\n (home = false) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n const showOnlyPublishedWidgets = home || !secondHandApproval;\r\n const params = {\r\n showOnlyPublishedWidgets,\r\n jurisdictionId,\r\n };\r\n\r\n dispatch(fetchWidgetsRequest());\r\n const result = await api.fetchWidgets(params);\r\n dispatch(fetchWidgetsSuccess(home, result));\r\n } catch (error) {\r\n dispatch(fetchWidgetsFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_WIDGETS', error);\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/widgets.actions.js","import appHelpers from 'app/app-helpers';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst DRAFT = 'DRAFT';\r\nconst CONTEXT = 'cms';\r\n\r\nconst widgetsFields2Object = (response) =>\r\n response.entries.map((entry) => {\r\n const fields = appHelpers.getFieldsFromEntry(entry);\r\n return {\r\n ...entry,\r\n fields,\r\n };\r\n });\r\n\r\nconst entriesTransformation = (locales, widgets) =>\r\n widgets.reduce((entries, widget) => {\r\n const data = {\r\n fields: appHelpers.setFieldsToEntry(widget.fields),\r\n id: widget.id,\r\n title: 'widget',\r\n };\r\n if (widget.attachments) {\r\n data.attachments = widget.attachments;\r\n // eslint-disable-next-line array-callback-return\r\n locales.map((locale) => {\r\n if (widget.attachments[locale.code] && !widget.attachments[locale.code][0].id) {\r\n data.attachments[locale.code] = [\r\n {\r\n name: widget.attachments[locale.code][0].name,\r\n content: widget.attachments[locale.code][0].fileSource.split(',')[1],\r\n },\r\n ];\r\n }\r\n });\r\n }\r\n return entries.concat(data);\r\n }, []);\r\n\r\nconst getWidgetsUrl = (showOnlyPublishedWidgets) => {\r\n if (showOnlyPublishedWidgets) return DepsService.rest.cms.widgets.first.url;\r\n return DepsService.rest.cms.widgets.second.url;\r\n};\r\n\r\nexport const fetchWidgets = async ({ showOnlyPublishedWidgets, jurisdictionId }) => {\r\n const url = getWidgetsUrl(showOnlyPublishedWidgets);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n const result = {\r\n draft: response.versionType === DRAFT,\r\n items: widgetsFields2Object(response),\r\n };\r\n return result;\r\n};\r\n\r\nexport const downloadAttachment = (attachment) => {\r\n const { url } = DepsService.rest.cms.widgets.download;\r\n\r\n return appHelpers.downloadFile(CONTEXT, DepsService, url, attachment);\r\n};\r\n\r\nexport const publishWidgets = async (secondHandApproval, jurisdictionId, locales, widgets) => {\r\n const url = getWidgetsUrl(false, secondHandApproval);\r\n const entries = entriesTransformation(locales, widgets);\r\n const queryParams = {\r\n entries,\r\n };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const discardWidgetsChanges = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms.widgets.discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/widgets.api.js","window.devMode = false\nimport angular from 'angular';\nimport _ from 'lodash/fp';\nimport config from 'lspConfig';\nimport restApi from 'app/rest.conf.json';\nimport 'ngStorage';\nimport 'angular-aria';\nimport 'angular-messages';\nimport 'angular-animate';\nimport 'angular-gettext';\nimport 'angular-ui-router';\nimport 'angular-sanitize';\nimport 'angular-ckeditor-legacy';\nimport 'angular-ui-mask';\nimport 'angular-toastr';\nimport 'angular-material';\nimport 'angular-dynamic-locale';\nimport 'loading-bar';\nimport 'ui-select';\nimport 'angular-nvd3';\nimport moment from 'moment';\nimport dropdown from 'angular-ui-bootstrap/src/dropdown';\nimport dialog from 'angular-ui-bootstrap/src/modal';\nimport ngRedux from 'ng-redux';\nimport thunk from 'redux-thunk';\nimport 'api-check';\nimport { getRetailerId, isStoreProfileSelector, isRetailerDashboardSelector } from 'selectors/index';\n\n// reducers\nimport reducers from '../reducers.js';\n\n// dependencies\nimport dependenciesService from 'services/dependencies';\n\nimport 'auth/auth-module';\nimport 'contact/contact-module';\nimport 'documents/documents-component';\nimport 'email-notification-templates/email-notification-templates-component';\nimport 'sms/sms-component';\nimport 'faq/faq-component';\nimport 'message/message-component';\nimport 'privilege-templates/privilege-templates-component';\nimport 'registration/registration-module';\nimport 'report-subscriptions/report-subscriptions-module';\nimport 'retailer-reports/retailer-reports-module';\nimport 'admin-reports/admin-reports-module';\nimport 'security/security-module';\nimport 'store-profiles/store-profiles-component';\nimport 'manage-inventory/manage-inventory-component';\nimport 'dashboard/dashboard-module';\nimport 'user/user-module';\nimport 'utils/utils-component';\nimport 'terms-preview/terms-preview-module';\nimport 'retailer-dashboards/retailer-dashboards-module';\nimport 'download-report-page/download-report-page-module';\nimport 'app/app-component';\n\nimport './config/errorcodes.conf';\nimport appLogic from './logic/app';\nimport sessionLogic from 'auth/logic/session';\nimport auth from 'auth/logic/auth';\nimport contact from 'contact/logic/contact';\n\nimport emailNotificationTemplates from 'email-notification-templates/logic/email-notification-templates';\nimport sms from 'sms/logic/sms';\nimport faq from 'faq/logic/faq';\n\nimport privilegeTemplates from 'privilege-templates/logic/privilege-templates';\nimport registration from 'registration/logic/registration';\n\nimport retailerReports from 'retailer-reports/logic/retailer-reports';\nimport adminReports from 'admin-reports/logic/admin-reports';\nimport security from 'security/logic/security';\n\nimport manageInventory from 'manage-inventory/logic/manage-inventory';\nimport dashboard from 'dashboard/logic/dashboard';\nimport user from 'user/logic/user';\nimport utils from 'utils/logic/utils';\n\n\n\n\n\nimport authValidators from 'auth/validators/action-validators'\nimport contactValidators from 'contact/validators/action-validators'\n\nimport emailNotificationTemplatesValidators from 'email-notification-templates/validators/action-validators'\nimport smsValidators from 'sms/validators/action-validators'\nimport faqValidators from 'faq/validators/action-validators'\n\nimport privilegeTemplatesValidators from 'privilege-templates/validators/action-validators'\nimport registrationValidators from 'registration/validators/action-validators'\n\nimport retailerReportsValidators from 'retailer-reports/validators/action-validators'\nimport adminReportsValidators from 'admin-reports/validators/action-validators'\nimport securityValidators from 'security/validators/action-validators'\n\nimport manageInventoryValidators from 'manage-inventory/validators/action-validators'\nimport dashboardValidators from 'dashboard/validators/action-validators'\nimport userValidators from 'user/validators/action-validators'\nimport utilsValidators from 'utils/validators/action-validators'\n\n\n\n\n\nimport ForbiddenComponent from './components/forbidden/forbidden-component';\nimport { dispatch, checkAccess, checkAccessLazy, checkValidators, checkValidatorsLazy } from 'rw-redux/action-dispatcher';\nimport validators from './validators/action-validators';\nimport appHelpers from './app-helpers';\nimport template from './app.html';\nimport systemUnavailableTemplate from './views/system-unavailable.html';\n\nimport './components/impersonating-bar/impersonating-bar-component';\nimport './components/side-menu/side-menu-component';\nimport './components/home/home-component';\nimport 'utils/datepicker/angular-datepicker';\n\nimport NavbarModule from './components/navbar/navbar-module';\nimport TopMenuModule from './components/top-menu/top-menu-module';\n\nimport { applyMenu } from 'auth/actions/session.actions';\nimport { fetchLotteryContacts } from 'contact/actions/contact.actions';\nimport { fetchNewLabelStatus } from 'documents/actions/fetch-new-label-status.actions';\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\nimport { fetchLotteryTermsDictionary } from 'app/actions/dictionaries/lottery-terms-dictionary.actions';\nimport { setTheme, restoreTheme } from 'app/actions/theme.actions';\nimport { clearRetailerDashboards } from 'retailer-dashboards/actions/retailer-dashboards.actions';\n\n@Inject('appFactory', '$state', 'Responsive')\nclass AppController {\n $onInit() {\n window.addEventListener('unhandledrejection', this.unhandledRejection);\n window.addEventListener('rejectionhandled', this.rejectionHandler);\n }\n\n $onDestroy() {\n window.removeEventListener('unhandledrejection', this.unhandledRejection);\n window.removeEventListener('rejectionhandled', this.rejectionHandler);\n }\n\n unhandledRejection(e) {\n e.preventDefault();\n }\n\n rejectionHandler(e) {\n e.preventDefault();\n }\n}\n\n@Inject(\n '$timeout',\n '$sessionStorage',\n '$state',\n 'RestWrapperService',\n 'gettextCatalog',\n 'ErrorService',\n 'ErrorNotificationService',\n 'AlertService',\n 'Notifications',\n '$filter',\n '$ngRedux',\n 'tmhDynamicLocale',\n)\nclass AppFactory {\n constructor() {\n Object.assign(this, {\n deps: {\n $timeout: this.$timeout,\n $sessionStorage: this.$sessionStorage,\n $state: this.$state,\n $filter: this.$filter,\n restSrv: this.RestWrapperService,\n gettextCatalog: this.gettextCatalog,\n ErrorService: this.ErrorService,\n ErrorNotificationService: this.ErrorNotificationService,\n AlertService: this.AlertService,\n Notifications: this.Notifications,\n config,\n\t\trestApi,\n init: this.init.bind(this),\n initNgServices: this.initNgServices.bind(this),\n checkAndSetMaintenance: appLogic.checkAndSetMaintenance,\n $ngRedux: this.$ngRedux,\n },\n validators,\n uiHelpers: {\n showDialog: this.Notifications.showSimpleDialog.bind(Notifications),\n showComplexDialog: this.Notifications.showComplexDialog.bind(Notifications),\n showAlert: this.Notifications.showAlert.bind(Notifications),\n validateField: appHelpers.validateField.bind(null),\n shouldShowValidation: appHelpers.shouldShowValidation.bind(null),\n printElement: appHelpers.printElement.bind(null),\n saveSession: sessionLogic.saveSession.bind(null, $sessionStorage),\n redirectAfterLogin: appHelpers.redirectAfterLogin.bind(null),\n },\n });\n\n this.validators = _.merge(this.validators, authValidators);\n\t\tthis.validators = _.merge(this.validators, contactValidators);\n\t\t\nthis.validators = _.merge(this.validators, emailNotificationTemplatesValidators);\n\t\tthis.validators = _.merge(this.validators, smsValidators);\n\t\tthis.validators = _.merge(this.validators, faqValidators);\n\t\t\nthis.validators = _.merge(this.validators, privilegeTemplatesValidators);\n\t\tthis.validators = _.merge(this.validators, registrationValidators);\n\t\t\nthis.validators = _.merge(this.validators, retailerReportsValidators);\n\t\tthis.validators = _.merge(this.validators, adminReportsValidators);\n\t\tthis.validators = _.merge(this.validators, securityValidators);\n\t\t\nthis.validators = _.merge(this.validators, manageInventoryValidators);\n\t\tthis.validators = _.merge(this.validators, dashboardValidators);\n\t\tthis.validators = _.merge(this.validators, userValidators);\n\t\tthis.validators = _.merge(this.validators, utilsValidators);\n\t\t\n\n\n\n }\n\n initNgServices() {\n this.deps.ErrorService.initialize(this.deps.config);\n this.deps.ErrorNotificationService.initialize(this.deps.config);\n this.deps.restSrv.HttpService.resetReauthQueue();\n }\n\n initActions() {\n this.actions = {\n app: this.bindActions(appLogic, 'app'),\n };\n\n this.actions['auth'] = this.bindActions(auth, 'auth');\n\t\tthis.actions['contact'] = this.bindActions(contact, 'contact');\n\t\t\nthis.actions['emailNotificationTemplates'] = this.bindActions(emailNotificationTemplates, 'emailNotificationTemplates');\n\t\tthis.actions['sms'] = this.bindActions(sms, 'sms');\n\t\tthis.actions['faq'] = this.bindActions(faq, 'faq');\n\t\t\nthis.actions['privilegeTemplates'] = this.bindActions(privilegeTemplates, 'privilegeTemplates');\n\t\tthis.actions['registration'] = this.bindActions(registration, 'registration');\n\t\t\nthis.actions['retailerReports'] = this.bindActions(retailerReports, 'retailerReports');\n\t\tthis.actions['adminReports'] = this.bindActions(adminReports, 'adminReports');\n\t\tthis.actions['security'] = this.bindActions(security, 'security');\n\t\t\nthis.actions['manageInventory'] = this.bindActions(manageInventory, 'manageInventory');\n\t\tthis.actions['dashboard'] = this.bindActions(dashboard, 'dashboard');\n\t\tthis.actions['user'] = this.bindActions(user, 'user');\n\t\tthis.actions['utils'] = this.bindActions(utils, 'utils');\n\t\t\n\n\n\n }\n\n bindActions(module, moduleName) {\n return Object.keys(module).reduce((reduced, functionName) => {\n if (typeof module[functionName] === 'function') {\n reduced[functionName] = module[functionName].bind(null, this.deps);\n }\n return reduced;\n }, {});\n }\n\n initModel(moduleLogic) {\n return (moduleLogic.initializeModel || (() => this.model))(this.deps, this.model);\n }\n\n initData() {\n return this.dispatch('app.loadDictionaries', true).run();\n }\n\n init() {\n return appLogic\n .loadFeConfig(this.deps)\n .then((newConfig) => {\n this.deps.$ngRedux.dispatch(setTheme());\n this.model = {\n dictionary: {\n statusChangeReasons: {},\n },\n session: {},\n };\n\n this.deps.config = _.merge(this.deps.config, newConfig);\n this.deps.config.ssnLength = _.get('[0]', this.deps.config.ssnRegex.match(/\\d+/));\n\n this.model = this.initModel(auth);\n\t\tthis.model = this.initModel(contact);\n\t\t\nthis.model = this.initModel(emailNotificationTemplates);\n\t\tthis.model = this.initModel(sms);\n\t\tthis.model = this.initModel(faq);\n\t\t\nthis.model = this.initModel(privilegeTemplates);\n\t\tthis.model = this.initModel(registration);\n\t\t\nthis.model = this.initModel(retailerReports);\n\t\tthis.model = this.initModel(adminReports);\n\t\tthis.model = this.initModel(security);\n\t\t\nthis.model = this.initModel(manageInventory);\n\t\tthis.model = this.initModel(dashboard);\n\t\tthis.model = this.initModel(user);\n\t\tthis.model = this.initModel(utils);\n\t\t\n\n\n\n\n this.model = this.initModel(appLogic);\n this.deps.checkAccess = checkAccess.bind(this, this.validators);\n this.deps.checkAccessLazy = checkAccessLazy.bind(this, this.validators);\n this.deps.checkValidatorsLazy = checkValidatorsLazy.bind(this, this.validators);\n\n // cg busy promise\n\n this.busy = Promise.resolve(this.model);\n this.checkValidators = checkValidators.bind(this, this.validators);\n this.checkAccess = checkAccess.bind(this, this.validators);\n this.checkAccessLazy = checkAccessLazy.bind(this, this.validators);\n this.checkValidatorsLazy = checkValidatorsLazy.bind(this, this.validators);\n this.dispatch = dispatch.bind(this, this.deps.$timeout, this.validators);\n this.initNgServices();\n this.initActions();\n\n this.deps.model = this.model;\n dependenciesService.setDeps(this.deps);\n\n // TODO - change second auth.initializeSession method to something more intuitive\n return this.dispatch('auth.initializeSession', true)\n .run(this.deps.$sessionStorage.userSession, {})\n .then(() => this.deps.restSrv.list(undefined, restApi.anonymous.privileges.url, null, null, 'anonymous.privileges'))\n .then((template) => template.privileges.reduce((reduced, privilege) => _.set(privilege, privilege, reduced), {}))\n .then((anonymousPrivileges) => {\n this.anonymousPrivileges = this.deps.anonymousPrivileges = anonymousPrivileges;\n return this.dispatch('auth.updateSession', !this.model.session.loggedIn).run({ privileges: this.anonymousPrivileges });\n })\n .then(() => {\n this.$ngRedux.dispatch(changeLocale(this.model.session.locale));\n if (this.model.session.loggedIn) {\n return Promise.all([\n this.$ngRedux.dispatch(fetchNewLabelStatus()),\n this.$ngRedux.dispatch(fetchUnreadMessagesCount()),\n user.loadLotteryLearningLink(this.deps.restSrv, { model: this.model })\n ]);\n }\n return Promise.resolve();\n })\n .then(() => this.$ngRedux.dispatch(fetchLotteryTermsDictionary()))\n .then(() => this.$ngRedux.dispatch(applyMenu()))\n .then(() => this.$ngRedux.dispatch(fetchLotteryContacts(true)))\n .then(() => this.dispatch('app.loadJurisdictionData', true).run())\n .then(() => this.dispatch('contact.loadDefaultContact', true).run())\n .then(() => this.dispatch('auth.getServerTime', true).run())\n .then(() => this.initData())\n .catch((err) => console.error(err));\n })\n .catch((err) => {\n console.error(err);\n throw new Error(err);\n });\n }\n}\n\nclass AppComponent {\n constructor() {\n this.controller = AppController;\n this.controllerAs = 'appCtrl';\n this.template = template;\n this.bindings = {\n api: '<',\n };\n return this;\n }\n}\n\nconst PASSWORD_RESET_STATE = 'changePasswd';\n\nimport { setCurrentState, setAttemptedRoute, setStoreProfileRetailer, cleartRetailerDashboardType, changeLocale } from 'auth/actions/session.actions';\nimport { fetchRetailerDetails } from 'utils/actions/utils.actions';\n\n\nexport default angular\n .module('app', [\n // vendor modules\n 'ngMessages',\n 'ngMaterial',\n 'ngAria',\n 'ngStorage',\n 'gettext',\n 'ui.router',\n 'ngSanitize',\n 'ngMessages',\n 'ngAnimate',\n 'toastr',\n 'ckeditor',\n 'impersonating-bar',\n 'side-menu',\n NavbarModule.name,\n TopMenuModule.name,\n 'home',\n 'app-errorcodes',\n 'ui.mask',\n '720kb.datepicker',\n 'angular-loading-bar',\n dropdown,\n dialog,\n 'ui.select',\n 'ngRedux',\n 'nvd3',\n 'tmh.dynamicLocale',\n 'auth',\n\t'contact',\n\t'documents',\n\t'email-notification-templates',\n\t'sms',\n\t'faq',\n\t'message',\n\t'privilege-templates',\n\t'registration',\n\t'report-subscriptions',\n\t'retailer-reports',\n\t'admin-reports',\n\t'security',\n\t'store-profiles',\n\t'manage-inventory',\n\t'dashboard',\n\t'user',\n\t'utils',\n\t'terms-preview',\n\t'retailer-dashboards',\n\t'download-report-page',\n\t'app',\n\t\n ])\n .component('app', new AppComponent())\n .component('forbidden', new ForbiddenComponent())\n .factory('appFactory', (AppFactory.$inject || []).concat((...args) => new AppFactory(...args)))\n .run([\n '$rootScope',\n '$sessionStorage',\n '$state',\n 'RwAnalyticsService',\n 'uiMaskConfig',\n '$timeout',\n '$ngRedux',\n '$uibModalStack',\n 'gettextCatalog',\n '$location',\n 'tmhDynamicLocale',\n function($rootScope, $sessionStorage, $state, RwAnalyticsService, uiMaskConfig, $timeout, $ngRedux, $uibModalStack, gettextCatalog, $location, tmhDynamicLocale) {\n $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams, options) {\n const privileges = _.get('privileges', $sessionStorage.userSession);\n const passwordExpired = $sessionStorage.userSession ? _.get('passwordExpired', $sessionStorage.userSession.tokens.jwt) : false;\n const redirectTo = _.get('redirectTo', toState);\n const withoutPerms = _.get('withoutPerms', toState);\n let redirect = !_.get(_.get('name', toState).replace(/(-)/g, '.'), privileges) || redirectTo === PASSWORD_RESET_STATE;\n\n // hide menu\n angular\n .element(document)\n .find('body')\n .removeClass('is-sidenav-hidden');\n\n // hide modal\n let modal = $uibModalStack.getTop();\n if (modal) {\n event.preventDefault();\n modal.key.dismiss();\n redirect = false;\n }\n\n if (passwordExpired !== 'true' && toState.name === 'auth-changePassword') {\n event.preventDefault();\n $state.go('home-view');\n }\n\n if (redirect && !withoutPerms) {\n const notAttemptedRoutes = [\n 'user-logout',\n 'system-unavailable',\n 'permissions-denied',\n 'registration-complete',\n 'registration-secondaryUser',\n 'registration-primary',\n 'registration-chainRegistrationDisabled',\n 'registration-confirmation',\n 'registration-primaryConfirm'\n ];\n if (!notAttemptedRoutes.includes(toState.name)) {\n $ngRedux.dispatch(setAttemptedRoute(toState.name));\n }\n return redirectTo ? $state.go(redirectTo, $state.get(redirectTo).params) && event.preventDefault() : false;\n }\n });\n\n $rootScope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams, options) {\n RwAnalyticsService.sendPageview();\n $ngRedux.dispatch(setCurrentState(toState.name, fromState.name));\n $state.previous = fromState;\n const state = $ngRedux.getState();\n const { session: { locale, pageTitle } } = state;\n const { config: { applicationName } } = state;\n $rootScope.title = pageTitle ? `${applicationName[locale]} - ${pageTitle}` : applicationName[locale];\n\n if ($location.$$search.productTheme) $ngRedux.dispatch(restoreTheme());\n\n });\n\n uiMaskConfig.clearOnBlur = false;\n\n if($location.$$search.missing) gettextCatalog.debug = true;\n },\n ])\n .config([\n '$mdAriaProvider',\n '$compileProvider',\n '$urlRouterProvider',\n '$locationProvider',\n '$stateProvider',\n 'uiMask.ConfigProvider',\n '$httpProvider',\n '$ngReduxProvider',\n '$ariaProvider',\n 'tmhDynamicLocaleProvider',\n function configure($mdAriaProvider, $compileProvider, $urlRouterProvider, $locationProvider, $stateProvider, uiMaskConfigProvider, $httpProvider, $ngReduxProvider, $ariaProvider, tmhDynamicLocaleProvider) {\n $mdAriaProvider.disableWarnings();\n $compileProvider.debugInfoEnabled(location.hostname === 'localhost');\n $compileProvider.aHrefSanitizationWhitelist(/^\\s*(https?|local|data|http|mailto|tel):/);\n $urlRouterProvider.otherwise('/home');\n $locationProvider.html5Mode(false);\n $locationProvider.hashPrefix('');\n uiMaskConfigProvider.allowInvalidValue(true);\n\n $ariaProvider.config({\n ariaInvalid: false\n });\n\n tmhDynamicLocaleProvider.localeLocationPattern('external/angular-i18n/angular-locale_{{locale}}.js');\n\n const middleware = [thunk];\n\n const enhancers = [];\n if (window.__REDUX_DEVTOOLS_EXTENSION__) {\n enhancers.push(window.__REDUX_DEVTOOLS_EXTENSION__());\n }\n\n $ngReduxProvider.createStoreWith(reducers, middleware, enhancers);\n\n $stateProvider\n .state('arw', {\n template: '',\n abstract: true,\n resolve: {\n appApi: [\n 'appFactory',\n '$rootScope',\n '$ngRedux',\n (appFactory, $rootScope, $ngRedux) =>\n appFactory\n .init()\n .then(() => {\n $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams, options) {\n const state = $ngRedux.getState();\n const isStoreProfileSaved = isStoreProfileSelector(state);\n const retailerIdFromSession = getRetailerId(state);\n const isRetailerDashboards = isRetailerDashboardSelector(state);\n const retailerNoFromParams = fromParams.retailerNo;\n const retailerNoToParams = toParams.retailerNo;\n const isRetailerFromStateDifferentThatRetailerFromSession = (retailerNoToParams * 1) !== retailerIdFromSession;\n const isStoreProfile = retailerNoToParams && retailerIdFromSession && isRetailerFromStateDifferentThatRetailerFromSession;\n\n if (isRetailerDashboards && retailerNoFromParams && !retailerNoToParams) {\n $ngRedux.dispatch(clearRetailerDashboards());\n $ngRedux.dispatch(cleartRetailerDashboardType());\n } else if (isStoreProfile) {\n $ngRedux.dispatch(fetchRetailerDetails(retailerNoToParams * 1));\n $ngRedux.dispatch(setStoreProfileRetailer(true));\n } else if (isStoreProfileSaved && retailerNoFromParams) {\n $ngRedux.dispatch(fetchRetailerDetails());\n $ngRedux.dispatch(setStoreProfileRetailer(false));\n }\n });\n\n return {\n impersonatingBar : {\n loginBack: appFactory.dispatch('auth.loginBack', true),\n redirectAfterLogin: appFactory.uiHelpers.redirectAfterLogin.bind(null, appFactory.deps)\n },\n sideMenu: {\n config: appFactory.deps.config,\n loginForm: {\n config: appFactory.deps.config,\n login: appFactory.dispatch('auth.login', true),\n },\n },\n };\n })\n .catch((err) => console.error(err)),\n ],\n },\n })\n .state('permissions-denied', {\n parent: 'arw',\n url: '/forbidden',\n template: '',\n })\n .state('system-unavailable', {\n params: {\n hideMenu: true,\n },\n url: '/system-unavailable',\n template: systemUnavailableTemplate,\n });\n },\n ]);\n\nangular.element(document).ready(() => {\n angular.bootstrap(document.documentElement, ['app'], {\n strictDi: true\n });\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/app-component.js","import appConfig from 'app/app.conf.json';\r\n\r\nexport default appConfig;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lsp-config/lsp-config.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport { evalMeta } from 'utils/grid/grid';\r\n\r\nconst namespace = 'documents';\r\nconst DOCUMENTS_CONTEXT = 'documents';\r\nconst docDateFormat = 'M/D/YYYY';\r\n\r\nexport const SET_CATEGORIES = `${namespace}_SET_CATEGORIES`;\r\nexport const SET_FILES = `${namespace}_SET_FILES`;\r\nexport const SET_TAGS = `${namespace}_SET_TAGS`;\r\nexport const SET_IS_LOADING = `${namespace}_SET_IS_LOADING`;\r\n\r\nconst DEFAULT_MIME_TYPE = 'text/plain';\r\n\r\n/* files */\r\nexport const getDocuments = (parameters) => (dispatch) => {\r\n dispatch({\r\n type: SET_IS_LOADING,\r\n payload: true,\r\n });\r\n\r\n return DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.list.url, parameters).then((result) => {\r\n const documents = dispatch(prepareDocumentsForUI(result.content || []));\r\n\r\n dispatch({\r\n type: SET_FILES,\r\n payload: {\r\n documents,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n });\r\n};\r\n\r\nconst prepareDocumentsForUI = (documentList) => (dispatch, getState) => {\r\n const {\r\n session: { isAdmin },\r\n documents: { categories },\r\n } = getState();\r\n\r\n const mapFileTypeToFileExtension = (fileType) => {\r\n switch (fileType) {\r\n case 'vnd.openxmlformats-officedocument.spreadsheetml.sheet':\r\n return 'xlsx';\r\n case 'vnd.openxmlformats-officedocument.wordprocessingml.document':\r\n return 'doc';\r\n case 'plain':\r\n return 'txt';\r\n default:\r\n return fileType;\r\n }\r\n };\r\n\r\n return documentList.map((document) => {\r\n const category = _.find(categories, { documentTypeId: document.type.documentTypeId });\r\n const mimeType = document.mimeType;\r\n const publishingStartDate = moment\r\n .unix(document.publishingStartDate / 1000)\r\n .utc()\r\n .format(docDateFormat);\r\n const documentNameSplitted = document.name.split('.');\r\n const fileType = mimeType ? mimeType.split('/')[1] : DEFAULT_MIME_TYPE;\r\n const type = `.${documentNameSplitted[documentNameSplitted.length - 1].toLowerCase()}`;\r\n const gridDownloadData = {\r\n id: document.id,\r\n fileName: document.guiName,\r\n title: document.guiName,\r\n customFileName: _.get(document.name.split('.'), '[0]'),\r\n extension: mapFileTypeToFileExtension(fileType),\r\n };\r\n\r\n return {\r\n id: document.id,\r\n title: document.guiName,\r\n categoryId: document.type.documentTypeId,\r\n thumbnail: document.thumbnail,\r\n tags: document.tags ? document.tags : [],\r\n dateTimestamp: document.creationDate,\r\n dateCreated: publishingStartDate || '',\r\n fileName: document.guiName,\r\n name: document.name,\r\n type,\r\n fileType,\r\n category,\r\n locale: document.locale,\r\n publishingStartDate,\r\n publishingEndDate: document.publishingEndDate\r\n ? moment\r\n .unix(document.publishingEndDate / 1000)\r\n .utc()\r\n .format(docDateFormat)\r\n : '',\r\n publishingIsActive: isAdmin ? checkPublishingIsActive(document.publishingStartDate, document.publishingEndDate) : undefined,\r\n gridDownloadData,\r\n };\r\n });\r\n};\r\n\r\nexport const saveDocument = (document) => () => DepsService.restSrv.update(DOCUMENTS_CONTEXT, DepsService.rest.documents.update.url, transformDocumentForUpdate(document), { id: document.id });\r\n\r\nconst transformDocumentForUpdate = (document) => {\r\n const thumbnailSource = _.get(document, 'thumbnailData[0].fileSource');\r\n let thumbnailToSend = thumbnailSource ? thumbnailSource.split(',')[1] : undefined;\r\n if (document.thumbnailData === null) {\r\n thumbnailToSend = '';\r\n }\r\n\r\n return {\r\n id: document.id,\r\n name: document.fileName,\r\n guiName: document.title,\r\n mimeType: document.fileType,\r\n tags: document.tags,\r\n type: {\r\n documentTypeId: document.categoryId,\r\n },\r\n locale: document.locale,\r\n thumbnail: thumbnailToSend,\r\n publishingStartDate: moment.utc(document.publishingStartDate).format('x'),\r\n publishingEndDate: document.publishingEndDate ? moment.utc(document.publishingEndDate).format('x') : undefined,\r\n };\r\n};\r\n\r\nexport const uploadDocument = (document) => () => DepsService.restSrv.create(DOCUMENTS_CONTEXT, DepsService.rest.documents.create.url, transformDocumentForCreation(document));\r\n\r\nconst transformDocumentForCreation = (documentToTransform) => {\r\n const document = Object.assign({}, documentToTransform.formData);\r\n const thumbnailSource = _.get(documentToTransform, 'thumbnailData[0].fileSource');\r\n const fileData = _.get(documentToTransform, 'fileData[0]');\r\n\r\n return {\r\n name: fileData.name || '',\r\n guiName: document.name,\r\n source: fileData.fileSource ? fileData.fileSource.split(',')[1] : '',\r\n tags: document.tags ? document.tags : [],\r\n mimeType: fileData.fileType || DEFAULT_MIME_TYPE,\r\n thumbnail: thumbnailSource ? thumbnailSource.split(',')[1] : '',\r\n type: {\r\n documentTypeId: document.categoryId,\r\n },\r\n locale: document.locale,\r\n publishingStartDate: document.publishingStartDate,\r\n publishingEndDate: document.publishingEndDate ? document.publishingEndDate : undefined,\r\n };\r\n};\r\n\r\nconst checkPublishingIsActive = (publishingStartDate, publishingEndDate) => {\r\n if (!publishingStartDate) return false;\r\n\r\n const startDate = moment.unix(publishingStartDate / 1000);\r\n if (!publishingEndDate) return moment.unix(DepsService.config.serverTime).isAfter(startDate);\r\n\r\n const endDate = moment.unix(publishingEndDate / 1000);\r\n return moment.unix(DepsService.config.serverTime).isBetween(startDate, endDate, 'days', '[]');\r\n};\r\n\r\nexport const removeDocument = (document) => () => DepsService.restSrv.remove(DOCUMENTS_CONTEXT, DepsService.rest.documents.remove.url, { id: document.id }, { data: { name: document.title } });\r\n\r\nexport const downloadDocument = (document) => () => DepsService.restSrv.downloadBlob(DOCUMENTS_CONTEXT, `${DepsService.rest.documents.download.url}/${document.id}`);\r\n\r\n/* categories */\r\nexport const getCategories = () => (dispatch) =>\r\n DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.categories.url, { locale: '*' }).then((categories) => {\r\n dispatch({\r\n type: SET_CATEGORIES,\r\n payload: categories,\r\n });\r\n });\r\n\r\nexport const createCategory = (category) => (dispatch) => DepsService.restSrv.create(DOCUMENTS_CONTEXT, DepsService.rest.documents.category.create.url, category).then(() => dispatch(getCategories()));\r\n\r\nexport const updateCategory = (category) => (dispatch) =>\r\n DepsService.restSrv\r\n .update(DOCUMENTS_CONTEXT, DepsService.rest.documents.category.update.url, category, {\r\n id: category.documentTypeId,\r\n })\r\n .then(() => dispatch(getCategories()));\r\n\r\nexport const removeCategory = (category) => (dispatch) => DepsService.restSrv.remove(DOCUMENTS_CONTEXT, DepsService.rest.documents.category.remove.url, { id: category.documentTypeId }).then(() => dispatch(getCategories()));\r\n\r\n/* tags */\r\nexport const getTags = () => (dispatch) =>\r\n DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.tagsList.url).then((tags) => {\r\n dispatch({\r\n type: SET_TAGS,\r\n payload: tags.tags,\r\n });\r\n });\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/documents.actions.js","export default {\r\n FETCH_DASHBOARD_REQUEST: 'FETCH_DASHBOARD_REQUEST',\r\n FETCH_DASHBOARD_SUCCESS: 'FETCH_DASHBOARD_SUCCESS',\r\n FETCH_DASHBOARD_FAILURE: 'FETCH_DASHBOARD_FAILURE',\r\n\r\n SET_DASHBOARD_LAYOUTS: 'SET_DASHBOARD_LAYOUTS',\r\n SET_DASHBOARD_EDIT_MODE: 'SET_DASHBOARD_EDIT_MODE',\r\n SET_DASHBOARD_COPY: 'SET_DASHBOARD_COPY',\r\n SET_DASHBOARD_CURRENT: 'SET_DASHBOARD_CURRENT',\r\n SET_DASHBOARD_WIDGETS_LIST: 'SET_DASHBOARD_WIDGETS_LIST',\r\n\r\n SAVE_DASHBOARD_REQUEST: 'SAVE_DASHBOARD_REQUEST',\r\n SAVE_DASHBOARD_SUCCESS: 'SAVE_DASHBOARD_SUCCESS',\r\n SAVE_DASHBOARD_FAILURE: 'SAVE_DASHBOARD_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/action-types.js","export default {\r\n FETCH_EARNINGS_HISTORY_REQUEST: 'FETCH_EARNINGS_HISTORY_REQUEST',\r\n FETCH_EARNINGS_HISTORY_SUCCESS: 'FETCH_EARNINGS_HISTORY_SUCCESS',\r\n FETCH_EARNINGS_HISTORY_FAILURE: 'FETCH_EARNINGS_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST: 'DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE: 'DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/earnings-history/action-types.js","export default {\r\n FETCH_LICENSE_RENEWAL_REQUEST: 'FETCH_LICENSE_RENEWAL_REQUEST',\r\n FETCH_LICENSE_RENEWAL_SUCCESS: 'FETCH_LICENSE_RENEWAL_SUCCESS',\r\n FETCH_LICENSE_RENEWAL_FAILURE: 'FETCH_LICENSE_RENEWAL_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/license-renewal/action-types.js","export default {\r\n FETCH_LVM_SALES_REQUEST: 'FETCH_LVM_SALES_REQUEST',\r\n FETCH_LVM_SALES_SUCCESS: 'FETCH_LVM_SALES_SUCCESS',\r\n FETCH_LVM_SALES_FAILURE: 'FETCH_LVM_SALES_FAILURE',\r\n\r\n FETCH_LVM_SALES_HISTORY_REQUEST: 'FETCH_LVM_SALES_HISTORY_REQUEST',\r\n FETCH_LVM_SALES_HISTORY_SUCCESS: 'FETCH_LVM_SALES_HISTORY_SUCCESS',\r\n FETCH_LVM_SALES_HISTORY_FAILURE: 'FETCH_LVM_SALES_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST: 'DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE: 'DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/lvm-sales-history/action-types.js","export default {\r\n FETCH_SITE_FINANCIAL_STATUS_REQUEST: 'FETCH_SITE_FINANCIAL_STATUS_REQUEST',\r\n FETCH_SITE_FINANCIAL_STATUS_SUCCESS: 'FETCH_SITE_FINANCIAL_STATUS_SUCCESS',\r\n FETCH_SITE_FINANCIAL_STATUS_FAILURE: 'FETCH_SITE_FINANCIAL_STATUS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-financial-status/action-types.js","export default {\r\n FETCH_TRUSTED_DEVICES_REQUEST: 'FETCH_TRUSTED_DEVICES_REQUEST',\r\n FETCH_TRUSTED_DEVICES_SUCCESS: 'FETCH_TRUSTED_DEVICES_SUCCESS',\r\n FETCH_TRUSTED_DEVICES_FAILURE: 'FETCH_TRUSTED_DEVICES_FAILURE',\r\n\r\n DELETE_TRUSTED_DEVICE_REQUEST: 'DELETE_TRUSTED_DEVICE_REQUEST',\r\n DELETE_TRUSTED_DEVICE_SUCCESS: 'DELETE_TRUSTED_DEVICE_SUCCESS',\r\n DELETE_TRUSTED_DEVICE_FAILURE: 'DELETE_TRUSTED_DEVICE_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/trusted-devices.action-types.js","const FETCH_USERS_REQUEST = 'FETCH_USERS_REQUEST';\r\nconst FETCH_USERS_SUCCESS = 'FETCH_USERS_SUCCESS';\r\nconst FETCH_USERS_FAILURE = 'FETCH_USERS_FAILURE';\r\n\r\nconst DOWNLOAD_USERS_REPORT_REQUEST = 'DOWNLOAD_USERS_REPORT_REQUEST';\r\nconst DOWNLOAD_USERS_REPORT_SUCCESS = 'DOWNLOAD_USERS_REPORT_SUCCESS';\r\nconst DOWNLOAD_USERS_REPORT_FAILURE = 'DOWNLOAD_USERS_REPORT_FAILURE';\r\n\r\nexport default {\r\n FETCH_USERS_REQUEST,\r\n FETCH_USERS_FAILURE,\r\n FETCH_USERS_SUCCESS,\r\n DOWNLOAD_USERS_REPORT_REQUEST,\r\n DOWNLOAD_USERS_REPORT_FAILURE,\r\n DOWNLOAD_USERS_REPORT_SUCCESS,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/users.action-types.js","export default {\r\n FETCH_BE_APP_VERSION_REQUEST: 'FETCH_BE_APP_VERSION_REQUEST',\r\n FETCH_BE_APP_VERSION_SUCCESS: 'FETCH_BE_APP_VERSION_SUCCESS',\r\n FETCH_BE_APP_VERSION_FAILURE: 'FETCH_BE_APP_VERSION_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-app-version/actions/app-version.action-types.js","import manageInventoryActions from 'manage-inventory/actions/action-types';\r\nimport subordinateListActions from 'utils/rw-subordinates/actions/action-types';\r\nimport messagesActions from 'message/actions/action-types';\r\nimport sftpActions from 'report-subscriptions/actions/action-types';\r\nimport gameImagesActions from 'app/actions/game-images.actions';\r\nimport bigWinnersActions from 'dashboard/actions/big-winners/action-types';\r\nimport cumulativeWinnersActions from 'dashboard/actions/cumulative-winners/action-types';\r\nimport eftHistoryActions from 'dashboard/actions/eft-history/action-types';\r\nimport linkedRetailersActions from 'user/actions/linked-retailers.action-types';\r\nimport retailerReportsActions from 'retailer-reports/actions/action-types';\r\nimport adminReportsActions from 'admin-reports/actions/action-types';\r\n\r\nexport const createPaginationObject = (pagination) => {\r\n if (!pagination) return {};\r\n\r\n const { totalElements, totalPages, number, size, hasPrevious, hasNext } = pagination;\r\n const calculatePageNumber = (pageNumber) => pageNumber + 1;\r\n\r\n return {\r\n count: totalElements,\r\n pagesCount: totalPages,\r\n page: number,\r\n displayedPage: calculatePageNumber(number),\r\n pageSize: size,\r\n hasPreviousPage: hasPrevious,\r\n hasNextPage: hasNext,\r\n };\r\n};\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case manageInventoryActions.FETCH_GAMES_LIST_SUCCESS:\r\n case manageInventoryActions.FETCH_PACKS_LIST_SUCCESS:\r\n case manageInventoryActions.FETCH_LIABILITIES_SUCCESS:\r\n case manageInventoryActions.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS:\r\n case manageInventoryActions.FETCH_ORDER_HISTORY_SUCCESS:\r\n case subordinateListActions.FETCH_SUBORDINATE_LIST_SUCCESS:\r\n case messagesActions.FETCH_MESSAGES_LIST_SUCCESS:\r\n case messagesActions.FETCH_SENT_MESSAGES_LIST_SUCCESS:\r\n case messagesActions.FETCH_RECIPIENTS_SUCCESS:\r\n case sftpActions.FETCH_SFTP_LIST_SUCCESS:\r\n case gameImagesActions.FETCH_GAME_IMAGES_SUCCESS:\r\n case bigWinnersActions.FETCH_BIG_WINNERS_HISTORY_SUCCESS:\r\n case cumulativeWinnersActions.FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS:\r\n case eftHistoryActions.FETCH_EFT_HISTORY_SUCCESS:\r\n case linkedRetailersActions.FETCH_LINKED_RETAILERS_SUCCESS:\r\n case retailerReportsActions.FETCH_RETAILER_REPORTS_SUCCESS:\r\n case adminReportsActions.FETCH_USER_ACTIVITY_REPORTS_SUCCESS: {\r\n return createPaginationObject(action.pagination);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/pagination/pagination.js","import DepsService from 'services/dependencies';\r\n\r\nconst NAMESPACE = 'terms-page_';\r\nexport const RECEIVE_TERMS = `${NAMESPACE}RECEIVE_TERMS`;\r\nexport const RECEIVE_TERM_BY_ID = `${NAMESPACE}RECEIVE_TERM_BY_ID`;\r\nexport const REQUEST_TERM_BY_ID = `${NAMESPACE}REQUEST_TERM_BY_ID`;\r\nexport const REQUEST_TERMS_HISTORY = `${NAMESPACE}REQUEST_TERMS_HISTORY`;\r\n\r\nconst requestTerms = () => {\r\n return {\r\n type: REQUEST_TERMS_HISTORY,\r\n };\r\n};\r\n\r\nconst requestTermById = () => {\r\n return {\r\n type: REQUEST_TERM_BY_ID,\r\n };\r\n};\r\n\r\nexport const receiveTerms = (payload) => {\r\n return {\r\n type: RECEIVE_TERMS,\r\n list: payload,\r\n };\r\n};\r\n\r\nexport const receiveTermById = (payload) => {\r\n return {\r\n type: RECEIVE_TERM_BY_ID,\r\n selectedTerm: payload,\r\n };\r\n};\r\n\r\nexport const fetchTerms = () => {\r\n return (dispatch) => {\r\n const getAllTermsURL = DepsService.rest.cms.terms.allVersions.url;\r\n const jurisdictionId = DepsService.model.session.jurisdiction;\r\n\r\n dispatch(requestTerms());\r\n return DepsService.restSrv\r\n .get('app', getAllTermsURL, null, { jurisdictionId })\r\n .then((response) => dispatch(receiveTerms(response)));\r\n };\r\n};\r\n\r\nexport const fetchTermByID = (version) => {\r\n return (dispatch) => {\r\n const getTermByIdURL = DepsService.rest.cms.terms.versionDetails.url;\r\n const jurisdictionId = DepsService.model.session.jurisdiction;\r\n\r\n dispatch(requestTermById());\r\n return DepsService.restSrv\r\n .get('app', getTermByIdURL, null, { jurisdictionId, version })\r\n .then((response) => dispatch(receiveTermById(response)));\r\n };\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/terms-preview/actions/terms-preview.actions.js","export default {\r\n DOWNLOAD_REPORTS_PACK_REQUEST: 'DOWNLOAD_REPORTS_PACK_REQUEST',\r\n DOWNLOAD_REPORTS_PACK_SUCCESS: 'DOWNLOAD_REPORTS_PACK_SUCCESS',\r\n DOWNLOAD_REPORTS_PACK_FAILURE: 'DOWNLOAD_REPORTS_PACK_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/download-report-page/actions/action-types.js","import _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\n\r\nfunction canLoginAs(model) {\r\n const role = _.get(model, 'session.role');\r\n return model.user.editAccount.isAccountActive && roles.ADMIN_ROLES.indexOf(role) >= 0;\r\n}\r\n\r\nconst validators = {\r\n 'auth.loginAs': [canLoginAs],\r\n};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/validators/action-validators.js","import _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\n\r\nconst CREATED_STATUS = 'CREATED';\r\nconst ACTIVE_STATUS = 'ACTIVE';\r\n\r\nconst STATUS_SUSPENDED_REASONS = ['SUSPENDED_PASSWORD_EXPIRED', 'SUSPENDED_EXCEEDED_MAX_LOGIN_ATTEMPTS', 'SUSPENDED_EXCEEDED_MAX_ANSWERS_ATTEMPTS', 'RESTRICTED_USER'];\r\n\r\nfunction checkIfNotSuspended(model) {\r\n const statusReason = _.get(model.user.editAccount, 'status.statusReason');\r\n return STATUS_SUSPENDED_REASONS.indexOf(statusReason) === -1;\r\n}\r\n\r\nfunction canUpdateUserStatus(model) {\r\n return !checkIfCreated(model);\r\n}\r\n\r\nfunction shouldProvideRetailerId(model) {\r\n const role = _.get(model, 'session.role');\r\n return role && roles.ADMIN_ROLES.indexOf(role) !== -1;\r\n}\r\n\r\nfunction isModelUserPrimary(model) {\r\n const role = _.get(model.user, 'editAccount.userClass');\r\n return role && roles.PRIMARY_USER_ROLES.indexOf(role) !== -1;\r\n}\r\n\r\nfunction checkIfSelfRegistered(model) {\r\n const { selfRegistered } = model.user.editAccount;\r\n return selfRegistered === true;\r\n}\r\n\r\nfunction checkIfNotActive(model) {\r\n return !checkIfActive(model);\r\n}\r\n\r\nfunction checkIfActive(model) {\r\n return checkIfStatus(model, ACTIVE_STATUS);\r\n}\r\n\r\nfunction checkIfCreated(model) {\r\n return checkIfStatus(model, CREATED_STATUS);\r\n}\r\n\r\nfunction checkIfStatus(model, status) {\r\n return _.get(model.user.editAccount, 'status.status') === status;\r\n}\r\n\r\nfunction canShowRetailerFields(model) {\r\n return !!model.user.editAccount.retailerId;\r\n}\r\n\r\nfunction canUpdatePrivileges(model) {\r\n const role = _.get(model.user, 'editAccount.userClass');\r\n const userId = _.get(model.user, 'editAccount.id');\r\n return (roles.ADMIN_ROLES.indexOf(role) !== -1 || roles.SECONDARY_USER_ROLES.indexOf(role) !== -1) && userId !== model.session.id;\r\n}\r\n\r\nconst validators = {\r\n 'user.shouldProvideRetailerId': [shouldProvideRetailerId],\r\n 'user.canResendActivationEmail': [checkIfCreated],\r\n 'user.canCompleteRegistration': [isModelUserPrimary, checkIfNotActive],\r\n 'user.canChangePrimaryUser': [isModelUserPrimary],\r\n 'user.authenticateUser': [isModelUserPrimary, checkIfCreated, checkIfSelfRegistered],\r\n 'user.canShowRetailerFields': [canShowRetailerFields],\r\n 'user.accountInactive': [checkIfNotActive],\r\n 'user.isUserNotSuspended': [checkIfNotSuspended],\r\n 'user.canUpdateUserStatus': [canUpdateUserStatus],\r\n 'user.canUpdatePrivileges': [canUpdatePrivileges],\r\n};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/validators/action-validators.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'app';\r\nconst FILE_ERROR = 'FILE_ERROR';\r\nconst FILE_RATIO_ERROR = 'FILE_RATIO_ERROR';\r\nconst FILE_EXTENSION_ERROR = 'FILE_EXTENSION_ERROR';\r\nconst FILE_SIZE_EXCEEDED = 'FILE_SIZE_EXCEEDED';\r\nconst ICON_UPDATE_SUCCESS = 'ICON_UPDATE_SUCCESS';\r\nconst ICON_PUBLISH_SUCCESS = 'ICON_PUBLISH_SUCCESS';\r\nconst ICON_DISCARD_SUCCESS = 'ICON_DISCARD_SUCCESS';\r\nconst ICON_UPLOAD_SUCCESS = 'ICON_UPLOAD_SUCCESS';\r\nconst ICON_DELETE_SUCCESS = 'ICON_DELETE_SUCCESS';\r\n\r\nexport const fetchIcons = (config) => {\r\n const { jurisdiction: jurisdictionId, approved } = config;\r\n\r\n const requestParams = approved ? { versionType: 'APPROVED' } : {};\r\n\r\n const url = DepsService.config.secondHandApproval\r\n ? DepsService.rest.cms.icons.get.second.url\r\n : DepsService.rest.cms.icons.get.first.url;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, requestParams, { jurisdictionId });\r\n};\r\n\r\nexport const uploadIcon = (config) => {\r\n const { jurisdiction: jurisdictionId, entries } = config;\r\n\r\n const url = DepsService.config.secondHandApproval\r\n ? DepsService.rest.cms.icons.put.second.url\r\n : DepsService.rest.cms.icons.put.first.url;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, { entries }, { jurisdictionId });\r\n};\r\n\r\nexport const discardIcons = (config) => {\r\n const { jurisdiction: jurisdictionId } = config;\r\n\r\n const { url } = DepsService.rest.cms.icons.discard;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, null, { jurisdictionId });\r\n};\r\n\r\nexport const errors = [\r\n { code: FILE_ERROR, text: () => DepsService.gettextCatalog.getString('Something went wrong during file processing. Please try again or change the file.') },\r\n { code: FILE_SIZE_EXCEEDED, text: () => DepsService.gettextCatalog.getString('File size exceeded. Max size 300 KB') },\r\n { code: FILE_EXTENSION_ERROR, text: () => DepsService.gettextCatalog.getString('File extension is invalid') },\r\n { code: FILE_RATIO_ERROR, text: () => DepsService.gettextCatalog.getString('Image width must be larger than its height') },\r\n];\r\n\r\nexport const notifications = [\r\n { code: ICON_UPDATE_SUCCESS, text: () => DepsService.gettextCatalog.getString('Changes have been submitted for approval') },\r\n { code: ICON_PUBLISH_SUCCESS, text: () => DepsService.gettextCatalog.getString('Changes have been published') },\r\n { code: ICON_DISCARD_SUCCESS, text: () => DepsService.gettextCatalog.getString('Changes have been discarded') },\r\n { code: ICON_UPLOAD_SUCCESS, text: () => DepsService.gettextCatalog.getString('Icon has been uploaded') },\r\n { code: ICON_DELETE_SUCCESS, text: () => DepsService.gettextCatalog.getString('Icon has been deleted') },\r\n];\r\n\r\nexport const codes = {\r\n FILE_ERROR,\r\n FILE_SIZE_EXCEEDED,\r\n FILE_EXTENSION_ERROR,\r\n FILE_RATIO_ERROR,\r\n ICON_UPDATE_SUCCESS,\r\n ICON_PUBLISH_SUCCESS,\r\n ICON_DISCARD_SUCCESS,\r\n ICON_UPLOAD_SUCCESS,\r\n ICON_DELETE_SUCCESS,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/manage-icons.api.js","import * as api from '../resources/media-templates.api';\r\n\r\nconst PERCENT_MULTIPLIER = 100;\r\n\r\nconst FETCH_MEDIA_TEMPLATE_REQUEST = 'FETCH_MEDIA_TEMPLATE_REQUEST';\r\nconst FETCH_MEDIA_TEMPLATE_SUCCESS = 'FETCH_MEDIA_TEMPLATE_SUCCESS';\r\nconst FETCH_MEDIA_TEMPLATE_FAILURE = 'FETCH_MEDIA_TEMPLATE_FAILURE';\r\nconst FETCH_FONTS_REQUEST = 'FETCH_FONTS_REQUEST';\r\nconst FETCH_FONTS_SUCCESS = 'FETCH_FONTS_SUCCESS';\r\nconst FETCH_FONTS_FAILURE = 'FETCH_FONTS_FAILURE';\r\nconst UPDATE_MEDIA_TEMPLATE_REQUEST = 'UPDATE_MEDIA_TEMPLATE_REQUEST';\r\nconst UPDATE_MEDIA_TEMPLATE_SUCCESS = 'UPDATE_MEDIA_TEMPLATE_SUCCESS';\r\nconst UPDATE_MEDIA_TEMPLATE_FAILURE = 'UPDATE_MEDIA_TEMPLATE_FAILURE';\r\nconst PREVIEW_MEDIA_TEMPLATE_REQUEST = 'PREVIEW_MEDIA_TEMPLATE_REQUEST';\r\nconst PREVIEW_MEDIA_TEMPLATE_SUCCESS = 'PREVIEW_MEDIA_TEMPLATE_SUCCESS';\r\nconst PREVIEW_MEDIA_TEMPLATE_FAILURE = 'PREVIEW_MEDIA_TEMPLATE_FAILURE';\r\n\r\nexport const fetchMediaTemplateRequest = () => ({\r\n type: FETCH_MEDIA_TEMPLATE_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchMediaTemplateSuccess = (entries) => ({\r\n type: FETCH_MEDIA_TEMPLATE_SUCCESS,\r\n isLoading: false,\r\n entries,\r\n});\r\n\r\nexport const fetchMediaTemplateFailure = () => ({\r\n type: FETCH_MEDIA_TEMPLATE_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchMediaTemplate = (posterName) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMediaTemplateRequest());\r\n const entries = await api.fetchMediaTemplate(posterName);\r\n transformEntriesForUI(entries);\r\n dispatch(fetchMediaTemplateSuccess(entries));\r\n } catch (error) {\r\n console.error('FETCH_MEDIA_TEMPLATE', error);\r\n dispatch(fetchMediaTemplateFailure());\r\n }\r\n};\r\n\r\nexport const fetchFontsRequest = () => ({\r\n type: FETCH_FONTS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchFontsSuccess = (fonts) => ({\r\n type: FETCH_FONTS_SUCCESS,\r\n isLoading: false,\r\n fonts,\r\n});\r\n\r\nexport const fetchFontsFailure = () => ({\r\n type: FETCH_FONTS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchFonts = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchFontsRequest());\r\n const fonts = await api.fetchFonts();\r\n dispatch(fetchFontsSuccess(fonts));\r\n } catch (error) {\r\n console.error('FETCH_FONTS', error);\r\n dispatch(fetchFontsFailure());\r\n }\r\n};\r\n\r\nexport const transformEntriesForUI = (entries) => entries.map((entry) => transformEntryForUI(entry));\r\n\r\nconst transformEntryForUI = (entry) => {\r\n entry.scale *= PERCENT_MULTIPLIER;\r\n return entry;\r\n};\r\n\r\nexport const updateMediaTemplateRequest = () => ({\r\n type: UPDATE_MEDIA_TEMPLATE_REQUEST,\r\n isSaving: true,\r\n});\r\n\r\nexport const updateMediaTemplateSuccess = () => ({\r\n type: UPDATE_MEDIA_TEMPLATE_SUCCESS,\r\n isSaving: false,\r\n error: false,\r\n});\r\n\r\nexport const updateMediaTemplateFailure = () => ({\r\n type: UPDATE_MEDIA_TEMPLATE_FAILURE,\r\n isSaving: false,\r\n error: true,\r\n});\r\n\r\nexport const updateMediaTemplate = (entries) => async (dispatch) => {\r\n try {\r\n dispatch(updateMediaTemplateRequest());\r\n transformEntriesForSave(entries);\r\n await api.updateMediaTemplate(entries);\r\n dispatch(updateMediaTemplateSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_MEDIA_TEMPLATE', error);\r\n dispatch(updateMediaTemplateFailure());\r\n }\r\n};\r\n\r\nexport const previewMediaTemplateRequest = () => ({\r\n type: PREVIEW_MEDIA_TEMPLATE_REQUEST,\r\n isPreviewing: true,\r\n});\r\n\r\nexport const previewMediaTemplateSuccess = () => ({\r\n type: PREVIEW_MEDIA_TEMPLATE_SUCCESS,\r\n isPreviewing: false,\r\n error: false,\r\n});\r\n\r\nexport const previewMediaTemplateFailure = () => ({\r\n type: PREVIEW_MEDIA_TEMPLATE_FAILURE,\r\n isPreviewing: false,\r\n error: true,\r\n});\r\n\r\nexport const previewMediaTemplate = (posterConfig, posterParams) => async (dispatch) => {\r\n try {\r\n dispatch(previewMediaTemplateRequest());\r\n transformEntryForSave(posterConfig);\r\n const previewData = {\r\n posterConfig,\r\n posterParams,\r\n };\r\n const data = await api.previewMediaTemplate(previewData);\r\n\r\n const file = new Blob([data], { type: 'application/pdf' });\r\n window.saveAs(file, 'preview.pdf');\r\n\r\n dispatch(previewMediaTemplateSuccess());\r\n } catch (error) {\r\n console.error('PREVIEW_MEDIA_TEMPLATE', error);\r\n dispatch(previewMediaTemplateFailure());\r\n }\r\n};\r\n\r\nexport const transformEntriesForSave = (entries) => entries.map((entry) => transformEntryForSave(entry));\r\n\r\nconst transformEntryForSave = (entry) => {\r\n entry.scale /= PERCENT_MULTIPLIER;\r\n if (entry.image && entry.image.length > 0) {\r\n const image = entry.image.pop();\r\n if (image.fileSource) {\r\n entry.imageFile = image.fileSource;\r\n entry.imageUrl = null;\r\n }\r\n } else {\r\n entry.imageFile = null;\r\n entry.imageUrl = null;\r\n }\r\n delete entry.image;\r\n return entry;\r\n};\r\n\r\nexport default {\r\n FETCH_MEDIA_TEMPLATE_REQUEST,\r\n FETCH_MEDIA_TEMPLATE_SUCCESS,\r\n FETCH_MEDIA_TEMPLATE_FAILURE,\r\n FETCH_FONTS_REQUEST,\r\n FETCH_FONTS_SUCCESS,\r\n FETCH_FONTS_FAILURE,\r\n UPDATE_MEDIA_TEMPLATE_REQUEST,\r\n UPDATE_MEDIA_TEMPLATE_SUCCESS,\r\n UPDATE_MEDIA_TEMPLATE_FAILURE,\r\n PREVIEW_MEDIA_TEMPLATE_REQUEST,\r\n PREVIEW_MEDIA_TEMPLATE_SUCCESS,\r\n PREVIEW_MEDIA_TEMPLATE_FAILURE,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/media-templates.actions.js","import angular from 'angular';\r\nimport AuthRoutingModule from './auth-routing-module';\r\nimport ResetAccountPasswordModule from './components/reset-account-password/reset-account-password-module';\r\nimport ForgotPasswordModule from './components/forgot-password/forgot-password-module';\r\nimport TwoFactorModule from './components/two-factor/two-factor-module';\r\nimport './config/errorcodes.conf';\r\nimport './components/forgot-username/forgot-username-component';\r\nimport './components/change-password/change-password-component';\r\nimport './components/login-form/login-form-component';\r\n\r\nexport default angular.module('auth', [\r\n AuthRoutingModule.name,\r\n ResetAccountPasswordModule.name,\r\n ForgotPasswordModule.name,\r\n TwoFactorModule.name,\r\n 'auth-errorcodes',\r\n 'forgot-password',\r\n 'forgot-username',\r\n 'security',\r\n 'change-password',\r\n 'user',\r\n 'login-form',\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/auth-module.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'forgotPassword';\r\n\r\nconst fetchSecurityQuestionsByUserName = async (username, captchaToken) => {\r\n const { url } = DepsService.rest.auth.securityQuestions;\r\n const queryParams = { username, captchaToken };\r\n const urlParams = {};\r\n\r\n const { questions } = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n\r\n return questions;\r\n};\r\n\r\nconst resetPassword = async (data) => {\r\n const { url } = DepsService.rest.auth.resetPassword;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, data);\r\n};\r\n\r\nfunction changePassword(newPassword, refreshToken) {\r\n const { url } = DepsService.rest.auth.changePassword;\r\n const requestBody = {\r\n newPassword,\r\n refreshToken,\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, requestBody, urlParams);\r\n}\r\n\r\nexport default {\r\n resetPassword,\r\n fetchSecurityQuestionsByUserName,\r\n changePassword,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/resources/forgot-password.api.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'twoFactor';\r\n\r\nexport const fetchTwoFactorSetup = () => {\r\n const { url } = DepsService.rest.auth.twoFactor.setup;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url);\r\n};\r\n\r\nexport const confirmTwoFactorCode = (queryParams) => {\r\n const { url } = DepsService.rest.auth.twoFactor.confirm;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/resources/two-factor.api.js","module.exports = \"
\\r\\n

{{$ctrl.title}}

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/views/alert-modal.html\n// module id = 540\n// module chunks = 0","import * as api from '../resources/documents.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchNewLabelStatusRequest = () => ({\r\n type: actionTypes.FETCH_NEW_LABEL_STATUS_REQUEST,\r\n});\r\n\r\nexport const fetchNewLabelStatusSuccess = (status) => ({\r\n type: actionTypes.FETCH_NEW_LABEL_STATUS_SUCCESS,\r\n status,\r\n});\r\n\r\nexport const fetchNewLabelStatusFailure = () => ({\r\n type: actionTypes.FETCH_NEW_LABEL_STATUS_FAILURE,\r\n});\r\n\r\nexport const fetchNewLabelStatus = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchNewLabelStatusRequest());\r\n\r\n const status = await api.fetchNewLabelStatus();\r\n dispatch(fetchNewLabelStatusSuccess(status));\r\n } catch (error) {\r\n console.error('FETCH_NEW_LABEL_STATUS', error);\r\n dispatch(fetchNewLabelStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/fetch-new-label-status.actions.js","import uniqBy from 'lodash/uniqBy';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\n\r\nfunction saveContact(groups, newContact, exists = true, categoryChanged = false) {\r\n if (categoryChanged) {\r\n exists = false;\r\n }\r\n const newGroups = groups.map((category) => {\r\n category.entries = (\r\n categoryChanged\r\n ? category.entries.filter((contact) => !!newContact.id && contact.id !== newContact.id)\r\n : category.entries.map((contact) => (!!newContact.id && contact.id === newContact.id ? newContact : contact))\r\n ).concat(!exists && category.name === newContact.fields[Object.keys(newContact.fields)[0]].category ? [newContact] : []);\r\n return category;\r\n });\r\n return newGroups;\r\n}\r\n\r\nfunction removeContact(groups, removedContact, removedIndex) {\r\n return groups.map((category) => {\r\n category.entries = category.entries.filter(\r\n (contact, index) => (!!removedContact.id && contact.id !== removedContact.id) || removedIndex !== index\r\n );\r\n return category;\r\n });\r\n}\r\n\r\nfunction removeCategory(groups, removedCategory) {\r\n return groups.filter((category) => category.name !== removedCategory.name);\r\n}\r\n\r\nfunction saveCategory(groups, newCategory, oldCategoryName) {\r\n return uniqBy(\r\n groups\r\n .map((category) => {\r\n if (oldCategoryName === category.name) {\r\n category = newCategory;\r\n category.entries = category.entries.map((entry) => {\r\n entry.fields.category = category.name;\r\n return entry;\r\n });\r\n }\r\n return category;\r\n })\r\n .concat(\r\n !oldCategoryName\r\n ? [\r\n {\r\n name: Math.floor(Date.now() / 1000).toString(),\r\n fields: cloneDeep(newCategory.fields),\r\n entries: [],\r\n properties: {\r\n editable: true,\r\n },\r\n },\r\n ]\r\n : []\r\n ),\r\n 'name'\r\n );\r\n}\r\n\r\nexport default {\r\n saveContact,\r\n saveCategory,\r\n removeCategory,\r\n removeContact,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/helpers/contact-helpers.js","import _ from 'lodash';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'appFactory', '$timeout', 'Notifications', 'gettextCatalog')\r\nclass EditCategoryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.language = this.language || this.selectedLanguage || this.locale;\r\n if (_.get(this, 'category.name')) {\r\n this.oldCategoryName = this.category.name;\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n if (this.verifyOtherLanguages()) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n return;\r\n }\r\n this.confirm({ category: this.category, oldCategoryName: this.oldCategoryName });\r\n }\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.language = locale;\r\n }\r\n\r\n verifyOtherLanguages() {\r\n let otherLanguageError = false;\r\n this.locales.forEach((locale) => {\r\n if (!_.get(this, `category.fields[${locale.code}].description`)) {\r\n otherLanguageError = true;\r\n }\r\n });\r\n return otherLanguageError;\r\n }\r\n}\r\n\r\nexport default EditCategoryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog-controller.js","module.exports = \"
\\r\\n

\\r\\n {{ $ctrl.title }}\\r\\n 1\\\" />\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category name required\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog.html\n// module id = 547\n// module chunks = 0","import _ from 'lodash';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nfunction remove(array, index) {\r\n array.splice(index, 1);\r\n return array;\r\n}\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { phoneExtRegex, phoneMask, phoneLength, locales } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n phoneExtRegex,\r\n phoneMask,\r\n phoneLength,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'appFactory', '$timeout', 'Notifications', 'gettextCatalog')\r\nclass EditContactController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.language = this.language || this.selectedLanguage || this.locale;\r\n this.categoryChanged = false;\r\n this.oldCategory = this.contact.fields[this.language].category;\r\n this.setDefaultTemporaryPhone();\r\n this.setDefaultTemporaryEmail();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n setDefaultTemporaryPhone() {\r\n this.temporaryPhone = {\r\n phone: '',\r\n ext: '',\r\n };\r\n this.temporaryPhoneAddClicked = false;\r\n }\r\n\r\n setDefaultTemporaryEmail() {\r\n this.temporaryEmail = {\r\n email: '',\r\n };\r\n this.temporaryEmailAddClicked = false;\r\n }\r\n\r\n onCategoryChange(newCategory) {\r\n this.categoryChanged = this.oldCategory !== newCategory;\r\n }\r\n\r\n addPhone() {\r\n if (this.temporaryPhone.phone === '') {\r\n return;\r\n }\r\n if (!_.isEmpty(this.temporaryPhoneForm.$error)) {\r\n this.temporaryPhoneAddClicked = true;\r\n return;\r\n }\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].phone = this.contact.fields[locale.code].phone.concat(this.temporaryPhone);\r\n });\r\n this.setDefaultTemporaryPhone();\r\n }\r\n\r\n removePhone(index) {\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].phone = remove(this.contact.fields[locale.code].phone, index);\r\n });\r\n }\r\n\r\n addEmail() {\r\n if (this.temporaryEmail.email === '') {\r\n return;\r\n }\r\n if (!_.isEmpty(this.temporaryEmailForm.$error)) {\r\n this.temporaryEmailAddClicked = true;\r\n return;\r\n }\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].email = this.contact.fields[locale.code].email.concat(this.temporaryEmail);\r\n });\r\n this.setDefaultTemporaryEmail();\r\n }\r\n\r\n removeEmail(index) {\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].email = remove(this.contact.fields[locale.code].email, index);\r\n });\r\n }\r\n\r\n submit() {\r\n this.temporaryPhoneAddClicked = true;\r\n this.temporaryEmailAddClicked = true;\r\n\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n if (this.verifyOtherLanguages()) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n return;\r\n }\r\n this.cleanContactAndEmail();\r\n this.confirm({ contact: this.contact, categoryChanged: this.categoryChanged });\r\n }\r\n }\r\n\r\n cleanContactAndEmail() {\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].phone = this.contact.fields[locale.code].phone.filter(\r\n (phone) => phone.phone !== '' || phone.ext !== ''\r\n );\r\n\r\n this.contact.fields[locale.code].email = this.contact.fields[locale.code].email.filter((email) => email.email !== '');\r\n });\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.language = locale;\r\n }\r\n\r\n verifyOtherLanguages() {\r\n let otherLanguageError = false;\r\n this.locales.forEach((locale) => {\r\n if (!_.get(this, `contact.fields[${locale.code}].category`) || !_.get(this, `contact.fields[${locale.code}].name`)) {\r\n otherLanguageError = true;\r\n }\r\n });\r\n return otherLanguageError;\r\n }\r\n}\r\n\r\nexport default EditContactController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog-controller.js","module.exports = \"
\\r\\n

\\r\\n {{ $ctrl.title }}\\r\\n 1\\\" />\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Category\\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{ category.fields[$ctrl.language].description }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select category.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter name/title.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide {{ $ctrl.phoneLength }}-digit phone number.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide correct phone extension.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide {{ $ctrl.phoneLength }}-digit phone number.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide correct phone extension.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter the email address.\\r\\n
\\r\\n
Email format is incorrect.\\r\\n
\\r\\n
Email address is too long.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter the email address.\\r\\n
\\r\\n
Email format is incorrect.\\r\\n
\\r\\n
Email address is too long.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter valid google maps coordinates\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog.html\n// module id = 549\n// module chunks = 0","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport StringMask from 'string-mask';\r\nimport get from 'lodash/get';\r\nimport set from 'lodash/set';\r\n\r\nconst LOTTERY_CONTACT_CONTEXT = 'contact';\r\nconst INQUIRY_CONTACT_CONTEXT = 'inquiryContacts';\r\n\r\nconst DRAFT = 'DRAFT';\r\nconst DEFAULT_CONTACT = {\r\n phone: '',\r\n ext: '',\r\n};\r\n\r\nconst contactFields2Object = (contactList) => {\r\n // eslint-disable-next-line no-param-reassign\r\n contactList.groups = contactList.groups.map((group) => {\r\n // eslint-disable-next-line no-param-reassign\r\n group.entries = group.entries.map((entry) => set(entry, 'fields', appHelpers.getFieldsFromEntry(entry)));\r\n return group;\r\n });\r\n return contactList;\r\n};\r\n\r\nconst contactFields2Array = (contactList) => {\r\n // eslint-disable-next-line no-param-reassign\r\n contactList.groups = contactList.groups.map((group) => {\r\n // eslint-disable-next-line no-param-reassign\r\n group.entries = group.entries.map((entry) => set(entry, 'fields', appHelpers.setFieldsToEntry(entry.fields)));\r\n return group;\r\n });\r\n return contactList;\r\n};\r\n\r\nconst extractDefaultContactPhone = (contactList) => {\r\n const formatter = new StringMask(DepsService.config.phoneMaskExt);\r\n const phone = get(contactList, 'properties.phone', DEFAULT_CONTACT.phone);\r\n const ext = get(contactList, 'properties.ext', DEFAULT_CONTACT.ext);\r\n return ext ? `${formatter.apply(phone)} (${ext})` : formatter.apply(phone);\r\n};\r\n\r\nconst getLotteryContactsUrl = (home, secondHandApproval) => {\r\n if (!home && secondHandApproval) return DepsService.rest.cms.contacts.second.url;\r\n return DepsService.rest.cms.contacts.first.url;\r\n};\r\n\r\nexport const fetchLotteryContacts = async ({ home, secondHandApproval, jurisdictionId }) => {\r\n const url = getLotteryContactsUrl(home, secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n const path = 'cms.contacts';\r\n\r\n const response = await DepsService.restSrv.list(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams, path);\r\n const contact = {\r\n draft: response.versionType === DRAFT,\r\n contactList: contactFields2Object(response),\r\n defaultContactPhone: extractDefaultContactPhone(response),\r\n };\r\n return contact;\r\n};\r\n\r\nexport const discardLotteryContactsChanges = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.contact.discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.update(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n return response;\r\n};\r\n\r\nexport const publishLotteryContactsChanges = async ({ secondHandApproval, jurisdictionId, contactList }) => {\r\n const url = getLotteryContactsUrl(false, secondHandApproval);\r\n const queryParams = contactFields2Array(contactList);\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.update(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n return response;\r\n};\r\n\r\nexport const fetchInquiryContacts = async (queryParams) => {\r\n const { url } = DepsService.rest.contact.inquiryContacts;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(INQUIRY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateInquiryContact = async (queryParams, urlParams) => {\r\n const { url } = DepsService.rest.contact.inquiryContact.email;\r\n\r\n return DepsService.restSrv.update(INQUIRY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const sendContact = async (contactUsModel, isLoggedIn) => {\r\n if (isLoggedIn) {\r\n const { url } = DepsService.rest.contact.send;\r\n const { ...queryParams } = contactUsModel;\r\n\r\n return DepsService.restSrv.create(LOTTERY_CONTACT_CONTEXT, url, queryParams);\r\n }\r\n else { \r\n const { url } = DepsService.rest.contact.sendAnonymous;\r\n const { captchaToken, ...queryParams } = contactUsModel;\r\n const urlParams = captchaToken ? { captchaToken } : {};\r\n\r\n return DepsService.restSrv.create(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/resources/contact.api.js","export default {\r\n LOTTERY_CONTACT_INFO: 'LOTTERY_CONTACT_INFO',\r\n CONTACT_THE_LOTTERY: 'CONTACT_THE_LOTTERY',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-us/tabs.js","import _ from 'lodash';\r\nimport template from './email-notification-template-update.html';\r\n\r\nconst UNLIMITED = -1;\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass EmailNotificationsTemplateUpdateController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.formModel = null;\r\n this.loaded = false;\r\n }\r\n\r\n $onInit(templatesKey = 'template') {\r\n this.onLanguageSelect(this.locale);\r\n this.validationRules = this.api.config.validationRules.emailNotificationTemplate;\r\n this.templateId = parseInt(this.$state.params.templateId, 10);\r\n this.templateName = this.$state.params.templateName;\r\n if (this.templateId) {\r\n this.api.fetchTemplate.run(this.templateId).then((model) => {\r\n this.formModel = _.clone(model.notificationTemplates[templatesKey][this.templateId] || null);\r\n this.loaded = true;\r\n });\r\n }\r\n }\r\n\r\n $postLink() {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form);\r\n }\r\n\r\n submitForm() {\r\n this.api.validateForm.run(this.namespace, this.moduleName).then(() => {\r\n this.api.updateTemplate\r\n .run(this.templateId, this.formModel)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Template saved successfully')))\r\n .then(() =>\r\n this.$state.go('emailNotificationsTemplates-view', {\r\n tabId: this.activeTabId,\r\n skipDirtyForms: true,\r\n })\r\n );\r\n });\r\n }\r\n\r\n prepareOptions() {\r\n return {\r\n ...this.api.config.ckeditor,\r\n extraPlugins: 'autogrow,emailVariables,wordcount,notification',\r\n emailVariables: this.formModel.params,\r\n wordcount: {\r\n showParagraphs: false,\r\n showWordCount: false,\r\n showCharCount: true,\r\n countSpacesAsChars: true,\r\n countHTML: true,\r\n maxWordCount: UNLIMITED,\r\n maxCharCount: this.api.config.validationRules.emailNotificationTemplate.body.length,\r\n },\r\n };\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport { EmailNotificationsTemplateUpdateController };\r\n\r\nexport default class EmailNotificationsTemplateUpdateComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EmailNotificationsTemplateUpdateController;\r\n this.bindings = {\r\n appCtrl: '<',\r\n model: '<',\r\n namespace: '@',\r\n moduleName: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/update/email-notification-template-update-component.js","import template from './tab-content.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass TabContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n // TODO: fix language select\r\n }\r\n}\r\n\r\nexport default class TabContentComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = TabContentController;\r\n this.bindings = {\r\n templates: '<',\r\n loaded: '<',\r\n model: '<',\r\n api: '<',\r\n namespace: '<',\r\n moduleName: '@',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content-component.js","import template from './tab-header.html';\r\n\r\nexport default class TabHeaderComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = () => {};\r\n this.bindings = {\r\n isActive: '<',\r\n onSelect: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header-component.js","import _ from 'lodash';\r\nimport template from './template.html';\r\n\r\nclass EditController {\r\n onChange() {\r\n this.smsTemplate = this.smsTypes[this.multilangLocale].filter((type) => this.smsType === type.smsTypeId);\r\n\r\n this.onUpdate({\r\n smsEnabled: this.smsEnabled,\r\n smsType: this.smsType,\r\n smsTemplate: _.get(this.smsTemplate, '[0].smsTemplateId'),\r\n });\r\n }\r\n\r\n isChecked(smsType, index) {\r\n return smsType === this.smsType ? true : index === 0;\r\n }\r\n}\r\n\r\nexport default class EditComponent {\r\n constructor() {\r\n this.controller = EditController;\r\n this.template = template;\r\n this.bindings = {\r\n multilangLocale: '<',\r\n smsTypes: '<',\r\n smsEnabled: '<',\r\n smsType: '<',\r\n model: '<',\r\n availableLanguages: '<',\r\n onUpdate: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/component.js","module.exports = \"
\\r\\n

\\r\\n {{$ctrl.title}}\\r\\n 1\\\" />\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category name required\\r\\n
\\r\\n
\\r\\n Category name could not exceed 255 characters\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-category-dialog/faq-category-dialog-template.html\n// module id = 561\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { locales } = config;\r\n\r\n return {\r\n locales,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'appFactory', '$timeout')\r\nclass FaqCategoryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.language);\r\n this.$timeout(() => {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form, !(this.category && this.category.id));\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n this.confirm(this.category);\r\n }\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.appFactory.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport default FaqCategoryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-category-dialog/faq-category-dialog-controller.js","module.exports = \"
\\r\\n

\\r\\n {{$ctrl.title}}\\r\\n 1\\\">\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Question as you want it to appear in the FAQ.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Category*\\r\\n \\r\\n \\r\\n {{option.faqCategoryTranslationsDto[$ctrl.appFactory.model.faq.faqEntry.language].name}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select Category.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Visibility*\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select Visibility.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n Please enter an Answer.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-template.html\n// module id = 563\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { locales } = config;\r\n\r\n return {\r\n locales,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'appFactory', '$timeout')\r\nclass FaqEntryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.language);\r\n this.$timeout(() => {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form, !(this.entry && this.entry.id));\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n prepareOptions() {\r\n return { ...this.api.config.ckeditor, ...this.api.config.faq.ckeditor };\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n this.saveEntry.run(this.entry).then(() => this.confirm());\r\n }\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.appFactory.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport default FaqEntryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-controller.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nfunction getShortenMessage(message) {\r\n const { config } = DepsService.$ngRedux.getState();\r\n const { messageMaxPreviewTextLength } = config;\r\n const messageText = appHelpers.trimHtml(message);\r\n\r\n if (messageText.length > messageMaxPreviewTextLength) {\r\n return `${messageText.substr(0, messageMaxPreviewTextLength)}...`;\r\n }\r\n return messageText;\r\n}\r\n\r\nexport default {\r\n getShortenMessage,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-helpers.js","import isEmpty from 'lodash/isEmpty';\r\nimport get from 'lodash/get';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchLotteryContacts, fetchInquiryContacts } from 'contact/actions/contact.actions';\r\nimport template from './create-message.html';\r\nimport * as api from '../../resources/message.api';\r\n\r\nconst DIRTY_FORM = 'createMessage';\r\nconst SELECTED_RETAILERS = 'SelectedRetailers';\r\nconst UNTRACKED = 'Untracked';\r\nexport const SELECTED_USERS = 'SelectedUsers';\r\n\r\nconst mapStateToThis = ({ session, config, contact }) => {\r\n const { locale, emailAddress } = session;\r\n const { recipientCategories, ckeditor } = config;\r\n const ckeditorCreateMessage = {\r\n extraPlugins: 'wordcount',\r\n wordcount: {\r\n showParagraphs: false,\r\n showWordCount: false,\r\n showCharCount: true,\r\n countSpacesAsChars: true,\r\n countHTML: true,\r\n maxCharCount: 1024,\r\n },\r\n };\r\n const ckeditorConfig = { ...ckeditor, ...ckeditorCreateMessage };\r\n\r\n return {\r\n locale,\r\n emailAddress,\r\n recipientCategories: recipientCategories.filter((recipientCategory) => recipientCategory.categoryCode !== UNTRACKED),\r\n ckeditorConfig,\r\n contact,\r\n };\r\n};\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n checkAccess,\r\n fetchLotteryContacts,\r\n fetchInquiryContacts,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications', 'messageDefinitionService')\r\nclass CreateMessageController {\r\n constructor() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.canCreateMessage = this.checkAccess('message.create');\r\n this.canCreateMessageLimitToRetailers = this.checkAccess('message.create.limitToRetailers');\r\n this.newMessageModel = {\r\n replyEmailAddress: this.emailAddress,\r\n recipients: [],\r\n retailerIds: [],\r\n allowReply: false,\r\n };\r\n await this.fetchContacts();\r\n this.setReplyEmailList();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async fetchContacts() {\r\n await Promise.all([this.fetchLotteryContacts(), this.fetchInquiryContacts()]);\r\n }\r\n\r\n setReplyEmailList() {\r\n const contactsEmailList = this.getEmailListFromContacts();\r\n contactsEmailList.add(this.emailAddress);\r\n this.replyEmailList = Array.from(contactsEmailList);\r\n }\r\n\r\n getEmailListFromContacts() {\r\n const replyEmailList = new Set();\r\n get(this.contact, `inquiry.items[${this.locale}]`, []).forEach(({ contactEmail }) => {\r\n if (contactEmail) replyEmailList.add(contactEmail);\r\n });\r\n get(this.contact, 'lottery.contactList.groups', []).forEach((group) => {\r\n get(group, 'entries', []).forEach((entry) => {\r\n get(entry, `fields[${this.locale}].email`, []).forEach(({ email }) => {\r\n if (email) replyEmailList.add(email);\r\n });\r\n });\r\n });\r\n\r\n return replyEmailList;\r\n }\r\n\r\n onChangeRecipientCategory() {\r\n this.newMessageModel.recipients = [];\r\n this.newMessageModel.retailerIds = [];\r\n }\r\n\r\n onChangeAllowReply() {\r\n this.newMessageModel.replyEmailAddress = this.newMessageModel.allowReply ? this.newMessageModel.replyEmailAddress : this.emailAddress;\r\n }\r\n\r\n isEmailRequired() {\r\n return this.newMessageModel.recipients.length === 0;\r\n }\r\n\r\n isRecipientTypeByRetailer() {\r\n return this.newMessageModel.recipientCategoryCode === SELECTED_RETAILERS;\r\n }\r\n\r\n isRecipientTypeManual() {\r\n return this.newMessageModel.recipientCategoryCode === SELECTED_USERS;\r\n }\r\n\r\n addRetailerId() {\r\n this.checkDuplicateRetailerId();\r\n if (!this.newMessageModel.retailer || this.form.retailer.$invalid) {\r\n return;\r\n }\r\n this.newMessageModel.retailerIds = this.newMessageModel.retailerIds.concat(this.newMessageModel.retailer);\r\n this.newMessageModel.retailer = '';\r\n this.form.retailer.$setPristine();\r\n this.form.retailer.$setUntouched();\r\n }\r\n\r\n checkDuplicateRetailerId() {\r\n const isDuplicate = this.newMessageModel.retailerIds.indexOf(this.newMessageModel.retailer) >= 0;\r\n this.form.retailer.$setValidity('duplicate', !isDuplicate);\r\n }\r\n\r\n removeRetailerId(index) {\r\n this.newMessageModel.retailerIds.splice(index, 1);\r\n }\r\n\r\n addRecipient() {\r\n this.showEmailValidationErrors = true;\r\n this.checkDuplicateEmail();\r\n if (!this.newMessageModel.email || this.form.email.$invalid) {\r\n return;\r\n }\r\n this.newMessageModel.recipients = this.newMessageModel.recipients.concat(this.newMessageModel.email);\r\n this.newMessageModel.email = '';\r\n this.showEmailValidationErrors = false;\r\n }\r\n\r\n checkDuplicateEmail() {\r\n const isDuplicate = this.newMessageModel.recipients.indexOf(this.newMessageModel.email) >= 0;\r\n this.form.email.$setValidity('duplicate', !isDuplicate);\r\n }\r\n\r\n removeRecipient(index) {\r\n this.newMessageModel.recipients.splice(index, 1);\r\n }\r\n\r\n showEmptyRecipientsInfo(info) {\r\n this.Notifications.alertWarning(info);\r\n }\r\n\r\n submitForm(form) {\r\n let message = {\r\n replyEmailAddress: this.newMessageModel.replyEmailAddress,\r\n [this.newMessageModel.recipientCategoryCode]: 1,\r\n recipientCategoryCode: this.newMessageModel.recipientCategoryCode,\r\n subject: this.newMessageModel.subject,\r\n content: this.newMessageModel.content,\r\n allowReply: this.newMessageModel.allowReply,\r\n };\r\n let sendMessagePromise;\r\n\r\n form.$setSubmitted();\r\n if (form.$invalid || this.isContentEmpty()) {\r\n return;\r\n }\r\n\r\n // eslint-disable-next-line default-case\r\n switch (this.newMessageModel.recipientCategoryCode) {\r\n case SELECTED_USERS:\r\n if (isEmpty(this.newMessageModel.recipients)) {\r\n this.showEmptyRecipientsInfo(this.messageDefinitionService.get('NO_RECIPIENTS', 'desc'));\r\n return;\r\n }\r\n message = {\r\n ...message,\r\n recipientLogins: this.newMessageModel.recipients,\r\n };\r\n break;\r\n case SELECTED_RETAILERS:\r\n if (isEmpty(this.newMessageModel.retailerIds)) {\r\n this.showEmptyRecipientsInfo(this.messageDefinitionService.get('NO_RETAILER', 'desc'));\r\n return;\r\n }\r\n message = {\r\n ...message,\r\n recipientIds: this.newMessageModel.retailerIds,\r\n };\r\n break;\r\n }\r\n\r\n if (this.canCreateMessageLimitToRetailers) {\r\n sendMessagePromise = api.createMessageLimitToRetailers(message);\r\n } else if (this.canCreateMessage) {\r\n sendMessagePromise = api.createMessage(message);\r\n }\r\n\r\n sendMessagePromise\r\n .then(() => {\r\n this.setDirtyForm(DIRTY_FORM, false);\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSG_SENT', 'desc'));\r\n })\r\n .then(() => {\r\n this.$state.go('message.list', { skipDirtyForms: true });\r\n });\r\n }\r\n\r\n isContentEmpty() {\r\n return this.newMessageModel.content === '';\r\n }\r\n\r\n cancelForm() {\r\n this.$state.go('message.list');\r\n }\r\n}\r\n\r\nexport default class CreateMessageComponent {\r\n constructor() {\r\n this.controller = CreateMessageController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/create-message/create-message-component.js","import messageHelpers from '../message-helpers';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchSentMessagesListRequest = () => ({\r\n type: actionTypes.FETCH_SENT_MESSAGES_LIST_REQUEST,\r\n name: 'sentLoadingStatus',\r\n});\r\n\r\nexport const fetchSentMessagesListFailure = () => ({\r\n type: actionTypes.FETCH_SENT_MESSAGES_LIST_FAILURE,\r\n name: 'sentLoadingStatus',\r\n});\r\n\r\nexport const fetchSentMessagesListSuccess = (messages, pagination) => ({\r\n type: actionTypes.FETCH_SENT_MESSAGES_LIST_SUCCESS,\r\n messages: messages.map((message) => {\r\n const content = messageHelpers.getShortenMessage(message.content);\r\n\r\n return {\r\n ...message,\r\n content,\r\n };\r\n }),\r\n pagination,\r\n name: 'sentLoadingStatus',\r\n});\r\n\r\nexport const fetchSentMessagesList = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSentMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchSentMessagesList(params);\r\n dispatch(fetchSentMessagesListSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchSentMessagesListFailure(error));\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_SENT_MESSAGES_LIST', error);\r\n }\r\n};\r\n\r\nexport const fetchAdministratorsSentMessagesList = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSentMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchAdministratorsSentMessagesList(params);\r\n dispatch(fetchSentMessagesListSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchSentMessagesListFailure(error));\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_SENT_MESSAGES_LIST', error);\r\n }\r\n};\r\n\r\nexport const fetchUserSentMessagesList = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSentMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchUserSentMessagesList(params);\r\n dispatch(fetchSentMessagesListSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchSentMessagesListFailure(error));\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_SENT_MESSAGES_LIST', error);\r\n }\r\n};\r\n\r\nexport const deleteSentMessagesRequest = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGES_REQUEST,\r\n});\r\n\r\nexport const deleteSentMessagesFailure = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGES_FAILURE,\r\n});\r\n\r\nexport const deleteSentMessagesSuccess = (messages) => ({\r\n type: actionTypes.DELETE_SENT_MESSAGES_SUCCESS,\r\n messages,\r\n});\r\n\r\nexport const deleteSentMessages = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { sent: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n dispatch(deleteSentMessagesRequest());\r\n await api.deleteSentMessages(selectedMessagesList);\r\n dispatch(deleteSentMessagesSuccess(entries));\r\n } catch (error) {\r\n dispatch(deleteSentMessagesFailure(error));\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_SENT_MESSAGES', error);\r\n }\r\n};\r\n\r\nexport const deleteSentMessageRequest = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGE_REQUEST,\r\n});\r\n\r\nexport const deleteSentMessageFailure = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGE_FAILURE,\r\n});\r\n\r\nexport const deleteSentMessageSuccess = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGE_SUCCESS,\r\n});\r\n\r\nexport const deleteSentMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deleteSentMessageRequest());\r\n await api.deleteSentMessages([id]);\r\n dispatch(deleteSentMessageSuccess());\r\n } catch (error) {\r\n dispatch(deleteSentMessageFailure(error));\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_SENT_MESSAGE', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/sent.actions.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPrivilegeTemplatesRequest = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_TEMPLATES_REQUEST,\r\n});\r\n\r\nexport const fetchPrivilegeTemplatesSuccess = (list) => ({\r\n type: actionTypes.FETCH_PRIVILEGE_TEMPLATES_SUCCESS,\r\n list,\r\n});\r\n\r\nexport const fetchPrivilegeTemplatesFailure = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_TEMPLATES_FAILURE,\r\n});\r\n\r\nexport const fetchPrivilegeTemplates = (userClass, retailerType) => async (dispatch) => {\r\n try {\r\n dispatch(fetchPrivilegeTemplatesRequest());\r\n\r\n const list = await api.fetchPrivilegeTemplates(userClass, retailerType);\r\n dispatch(fetchPrivilegeTemplatesSuccess(list));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_PRIVILEGE_TEMPLATES', error);\r\n dispatch(fetchPrivilegeTemplatesFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/fetch-privilege-templates.actions.js","import actionTypes from 'registration/actions/action-types';\r\nimport * as api from 'registration/resources/registration.api';\r\n\r\nexport const INDEPENDENT_TYPE = 'independent';\r\nexport const CHAIN_HEAD_TYPE = 'chain_head';\r\nexport const CHAIN_SUBORDINATE_TYPE = 'chain_subordinate';\r\nexport const SUPER_CHAIN_TYPE = 'super_chain';\r\n\r\nconst canSelfRegister = (retailer, retailerType, checkPrimaryUser = false) => {\r\n const canSelfRegister = retailer && retailer.active && retailer.retailerType.toLocaleLowerCase() === retailerType;\r\n if (checkPrimaryUser) {\r\n return canSelfRegister && !retailer.hasPrimaryUser;\r\n }\r\n return canSelfRegister;\r\n};\r\n\r\nexport const fetchRetailerDetailsRequest = () => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_REQUEST,\r\n error: false,\r\n});\r\n\r\nexport const fetchRetailerDetailsSuccess = (retailer) => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_SUCCESS,\r\n retailer,\r\n});\r\n\r\nexport const fetchRetailerDetailsFailure = () => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_FAILURE,\r\n error: true,\r\n});\r\n\r\nexport const fetchRetailerDetails = ({ retailerId, captchaToken }) => async (dispatch) => {\r\n try {\r\n dispatch(fetchRetailerDetailsRequest());\r\n const retailer = await api.fetchRetailerDetails(retailerId, captchaToken);\r\n retailer.retailerId = retailerId;\r\n retailer.canSelfRegisterIndependent = canSelfRegister(retailer, INDEPENDENT_TYPE);\r\n retailer.canSelfRegisterSuperChain = canSelfRegister(retailer, SUPER_CHAIN_TYPE);\r\n retailer.canSelfRegisterChainHead = canSelfRegister(retailer, CHAIN_HEAD_TYPE, true);\r\n retailer.canSelfRegisterChainSubordinate = canSelfRegister(retailer, CHAIN_SUBORDINATE_TYPE, true);\r\n dispatch(fetchRetailerDetailsSuccess(retailer));\r\n } catch (error) {\r\n console.error('FETCH_RETAILER_DETAILS_FAILURE', error);\r\n dispatch(fetchRetailerDetailsFailure());\r\n }\r\n};\r\n\r\nexport const clearRetailerDetails = () => (dispatch) => {\r\n dispatch({\r\n type: actionTypes.CLEAR_RETAILER_DETAILS,\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/fetch-retailer-details.actions.js","import * as api from 'registration/resources/registration.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchOwnerValidationMethodRequest = () => ({\r\n type: actionTypes.FETCH_OWNER_VALIDATION_METHOD_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchOwnerValidationMethodSuccess = (ownerValidationMethod) => ({\r\n type: actionTypes.FETCH_OWNER_VALIDATION_METHOD_SUCCESS,\r\n isLoading: false,\r\n ownerValidationMethod,\r\n});\r\n\r\nexport const fetchOwnerValidationMethodFailure = () => ({\r\n type: actionTypes.FETCH_OWNER_VALIDATION_METHOD_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchOwnerValidationMethod =\r\n (locale = '*') =>\r\n async (dispatch) => {\r\n try {\r\n dispatch(fetchOwnerValidationMethodRequest());\r\n const { values } = await api.fetchOwnerValidationMethod(locale);\r\n dispatch(fetchOwnerValidationMethodSuccess(values));\r\n } catch (error) {\r\n console.error('FETCH_OWNER_VALIDATION_METHOD', error);\r\n dispatch(fetchOwnerValidationMethodFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/fetch-owner-validation.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'forgotPassword';\r\n\r\nexport const fetchSecurityQuestions = async () => {\r\n const { url } = DepsService.rest.security.questions;\r\n const queryParams = { };\r\n const urlParams = { locale: '*' };\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams );\r\n};\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/resources/security.api.js","import * as api from '../resources/sftp.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSftpListRequest = () => ({\r\n type: actionTypes.FETCH_SFTP_LIST_REQUEST,\r\n name: 'sftpListLoadingStatus',\r\n});\r\n\r\nexport const fetchSftpListSuccess = (sftpList, pagination) => ({\r\n type: actionTypes.FETCH_SFTP_LIST_SUCCESS,\r\n name: 'sftpListLoadingStatus',\r\n sftpList,\r\n pagination,\r\n});\r\n\r\nexport const fetchSftpListFailure = () => ({\r\n type: actionTypes.FETCH_SFTP_LIST_FAILURE,\r\n name: 'sftpListLoadingStatus',\r\n});\r\n\r\nexport const fetchSftpList = (requestParams) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSftpListRequest());\r\n\r\n const { content, ...pagination } = await api.fetchSftpList(requestParams);\r\n dispatch(fetchSftpListSuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_SFTP_LIST', error);\r\n dispatch(fetchSftpListFailure());\r\n }\r\n};\r\n\r\nexport const deleteSftpByIdRequest = () => ({\r\n type: actionTypes.DELETE_SFTP_BY_ID_REQUEST,\r\n});\r\n\r\nexport const deleteSftpByIdSuccess = () => ({\r\n type: actionTypes.DELETE_SFTP_BY_ID_SUCCESS,\r\n});\r\n\r\nexport const deleteSftpByIdFailure = () => ({\r\n type: actionTypes.DELETE_SFTP_BY_ID_FAILURE,\r\n});\r\n\r\nexport const deleteSftpById = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deleteSftpByIdRequest());\r\n\r\n await api.deleteSftpById(id);\r\n\r\n dispatch(deleteSftpByIdSuccess());\r\n } catch (error) {\r\n console.error('DELETE_SFTP_BY_ID', error);\r\n dispatch(deleteSftpByIdFailure());\r\n }\r\n};\r\n\r\nexport const fetchSftpByIdRequest = () => ({\r\n type: actionTypes.FETCH_SFTP_BY_ID_REQUEST,\r\n});\r\n\r\nexport const fetchSftpByIdSuccess = (sftp) => ({\r\n type: actionTypes.FETCH_SFTP_BY_ID_SUCCESS,\r\n sftp,\r\n});\r\n\r\nexport const fetchSftpByIdFailure = () => ({\r\n type: actionTypes.FETCH_SFTP_BY_ID_FAILURE,\r\n});\r\n\r\nexport const fetchSftpById = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSftpByIdRequest());\r\n\r\n const sftp = await api.fetchSftpById(id);\r\n\r\n dispatch(fetchSftpByIdSuccess(sftp));\r\n } catch (error) {\r\n console.error('FETCH_SFTP_BY_ID', error);\r\n dispatch(fetchSftpByIdFailure());\r\n }\r\n};\r\n\r\nexport const updateSftpByIdRequest = () => ({\r\n type: actionTypes.UPDATE_SFTP_BY_ID_REQUEST,\r\n});\r\n\r\nexport const updateSftpByIdSuccess = () => ({\r\n type: actionTypes.UPDATE_SFTP_BY_ID_SUCCESS,\r\n});\r\n\r\nexport const updateSftpByIdFailure = () => ({\r\n type: actionTypes.UPDATE_SFTP_BY_ID_FAILURE,\r\n});\r\n\r\nexport const updateSftpById = (configuration) => async (dispatch) => {\r\n try {\r\n dispatch(updateSftpByIdRequest());\r\n\r\n await api.updateSftpById(configuration);\r\n\r\n dispatch(updateSftpByIdSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_SFTP_BY_ID', error);\r\n dispatch(updateSftpByIdFailure());\r\n }\r\n};\r\n\r\nexport const createSftpRequest = () => ({\r\n type: actionTypes.CREATE_SFTP_REQUEST,\r\n});\r\n\r\nexport const createSftpSuccess = () => ({\r\n type: actionTypes.CREATE_SFTP_SUCCESS,\r\n});\r\n\r\nexport const createSftpFailure = () => ({\r\n type: actionTypes.CREATE_SFTP_FAILURE,\r\n});\r\n\r\nexport const createSftp = (configuration) => async (dispatch) => {\r\n try {\r\n dispatch(createSftpRequest());\r\n\r\n await api.createSftp(configuration);\r\n\r\n dispatch(createSftpSuccess());\r\n } catch (error) {\r\n console.error('CREATE_SFTP', error);\r\n dispatch(createSftpFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/actions/sftp.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'sftp';\r\n\r\nexport const fetchSftpList = async (params) => {\r\n const url = DepsService.rest.sftp.admin.configuration.url;\r\n const queryParams = { ...params };\r\n const urlParams = {};\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return response;\r\n};\r\n\r\nexport const deleteSftpById = async (id) => {\r\n const url = DepsService.rest.sftp.admin.retailer.configuration.url;\r\n const requestPayload = { configId: id };\r\n\r\n return await DepsService.restSrv.remove(CONTEXT, url, requestPayload);\r\n};\r\n\r\nexport const fetchSftpById = async (id) => {\r\n const url = DepsService.rest.sftp.admin.retailer.configuration.url;\r\n const queryParams = {};\r\n const urlParams = { configId: id };\r\n\r\n const sftp = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n\r\n return sftp;\r\n};\r\n\r\nexport const updateSftpById = async ({ id, ...sftp }) => {\r\n const url = DepsService.rest.sftp.admin.retailer.configuration.url;\r\n const urlParams = { configId: id };\r\n const requestPayload = { id, ...sftp };\r\n\r\n return await DepsService.restSrv.update(CONTEXT, url, requestPayload, urlParams);\r\n};\r\n\r\nexport const createSftp = async (sftp) => {\r\n const url = DepsService.rest.sftp.admin.configuration.url;\r\n const requestPayload = { ...sftp.configuration };\r\n\r\n return await DepsService.restSrv.create(CONTEXT, url, requestPayload);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/resources/sftp.api.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchSftpAuthenticationTypesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchSftpAuthenticationTypesDictionarySuccess = (types) => ({\r\n type: actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS,\r\n types,\r\n});\r\n\r\nexport const fetchSftpAuthenticationTypesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchSftpAuthenticationTypesDictionary = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchSftpAuthenticationTypesDictionaryRequest());\r\n const types = await api.fetchSftpAuthenticationTypesDictionary();\r\n dispatch(fetchSftpAuthenticationTypesDictionarySuccess(types));\r\n } catch (error) {\r\n console.error('FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY', error);\r\n dispatch(fetchSftpAuthenticationTypesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/sftp-authentication-types.actions.js","import angular from 'angular';\r\nimport RetailerReportsPageComponent from './retailer-reports-page-component';\r\n\r\nexport default angular.module('retailer-reports-page', []).component('retailerReportsPage', new RetailerReportsPageComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-module.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchUserClassDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_USER_CLASS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchUserClassDictionarySuccess = (userClass) => ({\r\n type: actionTypes.FETCH_USER_CLASS_DICTIONARY_SUCCESS,\r\n userClass,\r\n});\r\n\r\nexport const fetchUserClassDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_USER_CLASS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchUserClassDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchUserClassDictionaryRequest());\r\n\r\n const result = await api.fetchUserClassDictionary({ locale });\r\n dispatch(fetchUserClassDictionarySuccess(result));\r\n } catch (error) {\r\n console.error('USER_CLASS_DICTIONARY', error);\r\n dispatch(fetchUserClassDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/user-class-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchOrderStatusesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchOrderStatusesDictionarySuccess = (orderStatuses) => ({\r\n type: actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS,\r\n orderStatuses,\r\n});\r\n\r\nexport const fetchOrderStatusesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchOrderStatusesDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchOrderStatusesDictionaryRequest());\r\n\r\n const orderStatuses = await api.fetchOrderStatusesDictionary({ locale });\r\n dispatch(fetchOrderStatusesDictionarySuccess(orderStatuses));\r\n } catch (error) {\r\n console.error('ORDER_STATUSES_DICTIONARY', error);\r\n dispatch(fetchOrderStatusesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/order-statuses-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchPackStatusesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_PACK_STATUSES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchPackStatusesDictionarySuccess = (packStatuses) => ({\r\n type: actionTypes.FETCH_PACK_STATUSES_DICTIONARY_SUCCESS,\r\n packStatuses,\r\n});\r\n\r\nexport const fetchPackStatusesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_PACK_STATUSES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchPackStatusesDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchPackStatusesDictionaryRequest());\r\n\r\n const packStatuses = await api.fetchPackStatusesDictionary({ locale });\r\n dispatch(fetchPackStatusesDictionarySuccess(packStatuses));\r\n } catch (error) {\r\n console.error('PACKS_STATUSES_DICTIONARY', error);\r\n dispatch(fetchPackStatusesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/pack-statuses-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchPricePointsDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_PRICE_POINTS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchPricePointsDictionarySuccess = (pricePoints) => ({\r\n type: actionTypes.FETCH_PRICE_POINTS_DICTIONARY_SUCCESS,\r\n pricePoints,\r\n});\r\n\r\nexport const fetchPricePointsDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_PRICE_POINTS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchPricePointsDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchPricePointsDictionaryRequest());\r\n\r\n const pricePoints = await api.fetchPricePointsDictionary({ locale });\r\n dispatch(fetchPricePointsDictionarySuccess(pricePoints));\r\n } catch (error) {\r\n console.error('PRICE_POINTS_DICTIONARY', error);\r\n dispatch(fetchPricePointsDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/price-points-dictionary.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchInstantGamesTransitionsHistoryRequest = () => ({\r\n type: actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchInstantGamesTransitionsHistorySuccess = (history, pagination) => ({\r\n type: actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n history,\r\n pagination,\r\n});\r\n\r\nexport const fetchInstantGamesTransitionsHistoryFailure = () => ({\r\n type: actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchInstantGamesTransitionsHistory = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchInstantGamesTransitionsHistoryRequest());\r\n\r\n const { content, ...pagination } = await api.fetchInstantGamesTransitionsHistory(requestParams);\r\n dispatch(fetchInstantGamesTransitionsHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY', error);\r\n dispatch(fetchInstantGamesTransitionsHistoryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-instant-games-transitions-history.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchOrderHistoryListRequest = () => ({\r\n type: actionTypes.FETCH_ORDER_HISTORY_REQUEST,\r\n name: 'orderHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderHistoryListSuccess = (orderHistory, pagination) => ({\r\n type: actionTypes.FETCH_ORDER_HISTORY_SUCCESS,\r\n name: 'orderHistoryLoadingStatus',\r\n orderHistory,\r\n pagination,\r\n});\r\n\r\nexport const fetchOrderHistoryListFailure = () => ({\r\n type: actionTypes.FETCH_ORDER_HISTORY_FAILURE,\r\n name: 'orderHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderHistoryList =\r\n (requestPayload = {}) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = requestPayload.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...requestPayload,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchOrderHistoryListRequest());\r\n\r\n const { content, ...pagination } = await api.fetchOrderHistoryList(requestParams);\r\n dispatch(fetchOrderHistoryListSuccess(content, pagination));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_ORDER_HISTORY', error);\r\n dispatch(fetchOrderHistoryListFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-order-history-list.actions.js","import api from 'dashboard/resources/site-financial-status.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSiteFinancialStatusRequest = () => ({\r\n type: actionTypes.FETCH_SITE_FINANCIAL_STATUS_REQUEST,\r\n name: 'siteFinancialStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteFinancialStatusSuccess = (data) => ({\r\n type: actionTypes.FETCH_SITE_FINANCIAL_STATUS_SUCCESS,\r\n name: 'siteFinancialStatusLoadingStatus',\r\n data,\r\n});\r\n\r\nexport const fetchSiteFinancialStatusFailure = () => ({\r\n type: actionTypes.FETCH_SITE_FINANCIAL_STATUS_FAILURE,\r\n name: 'siteFinancialStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteFinancialStatus = (retailerId) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSiteFinancialStatusRequest());\r\n const data = await api.fetchSiteFinancialStatus(retailerId);\r\n dispatch(fetchSiteFinancialStatusSuccess(data));\r\n } catch (error) {\r\n console.error('FETCH_SITE_FINANCIAL_STATUS', error);\r\n dispatch(fetchSiteFinancialStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-financial-status/site-financial-status.actions.js","import capitalize from 'lodash/capitalize';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'subordinateList';\r\n\r\nexport const transformData = (content) =>\r\n content.map((retailer) => {\r\n const { displayNumber, businessName, storeNumber, street1, city, state, retailerType, zipCode, id, corporateAccountRegionCode } =\r\n retailer;\r\n\r\n return {\r\n displayNumber,\r\n storeNumber,\r\n state,\r\n retailerType,\r\n zipCode,\r\n id,\r\n corporateAccountRegionCode,\r\n city: city.replace(/\\w+/g, capitalize),\r\n businessName: businessName.replace(/\\w+/g, capitalize),\r\n street1: street1.replace(/\\w+/g, capitalize),\r\n };\r\n });\r\n\r\nconst fetchSubordinateList = async ({ retailerId, ...queryParams }) => {\r\n const { url } = DepsService.rest.inventory.subordinates.list;\r\n const urlParams = { retailerId };\r\n\r\n const { content, ...pagination } = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return {\r\n content: transformData(content),\r\n ...pagination,\r\n };\r\n};\r\n\r\nexport default {\r\n fetchSubordinateList,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/resources/subordinate-list.api.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchInvoiceDatesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_INVOICE_DATES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchInvoiceDatesDictionarySuccess = (dates) => ({\r\n type: actionTypes.FETCH_INVOICE_DATES_DICTIONARY_SUCCESS,\r\n dates,\r\n});\r\n\r\nexport const fetchInvoiceDatesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_INVOICE_DATES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchInvoiceDatesDictionary = (retailerId) => async (dispatch) => {\r\n try {\r\n dispatch(fetchInvoiceDatesDictionaryRequest());\r\n const dates = await api.fetchInvoiceDatesDictionary(retailerId);\r\n dispatch(fetchInvoiceDatesDictionarySuccess(dates));\r\n } catch (error) {\r\n console.error('FETCH_INVOICE_DATES_DICTIONARY', error);\r\n dispatch(fetchInvoiceDatesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/invoice-dates-dictionary.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchEftAmount = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.eft;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.eft';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/eft-amount.api.js","import * as api from 'dashboard/resources/net-sales.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchNetSalesSummaryRequest = () => ({\r\n type: actionTypes.FETCH_NET_SALES_SUMMARY_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchNetSalesSummarySuccess = (netSalesSummary) => ({\r\n type: actionTypes.FETCH_NET_SALES_SUMMARY_SUCCESS,\r\n netSalesSummary,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesSummaryFailure = () => ({\r\n type: actionTypes.FETCH_NET_SALES_SUMMARY_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesSummary = (retailerNo) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = retailerNo || session.retailer.retailerId;\r\n\r\n dispatch(fetchNetSalesSummaryRequest());\r\n\r\n const netSalesSummary = await api.fetchNetSalesSummary({ retailerId });\r\n dispatch(fetchNetSalesSummarySuccess(netSalesSummary));\r\n } catch (error) {\r\n console.error('NET_SALES_SUMMARY', error);\r\n dispatch(fetchNetSalesSummaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/net-sales/net-sales-summary.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport tabs from 'dashboard/components/dashboard-widget/net-sales/tabs';\r\n\r\nconst CONTEXT = 'net-sales';\r\nconst { WTD, MTD, QTD, YTD } = tabs;\r\n\r\nexport const fetchNetSalesSummary = async (config) => {\r\n const { retailerId } = config;\r\n\r\n const url = DepsService.rest.widgets.netSales.url;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return netSalesSummaryDataTransformation(response);\r\n};\r\n\r\nexport const fetchNetSalesDetails = async (config) => {\r\n const { retailerId } = config;\r\n\r\n const url = DepsService.rest.widgets.netSalesDetails.url;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return netSalesDetailsDataTransformation(response);\r\n};\r\n\r\nexport const downloadNetSalesHistoryReport = (config) => {\r\n const { periodType, retailerId, extension } = config;\r\n\r\n const url = DepsService.rest.widgets.netSalesDetails.url;\r\n const queryParams = { periodType };\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\r\nexport const netSalesSummaryDataTransformation = (data) => {\r\n let netSalesSummary = {};\r\n\r\n data.forEach((item) => {\r\n netSalesSummary = {\r\n ...netSalesSummary,\r\n [item.periodType]: {\r\n title: getSummaryDataDescription(item.periodType),\r\n ...item,\r\n },\r\n };\r\n });\r\n\r\n return netSalesSummary;\r\n};\r\n\r\nexport const netSalesDetailsDataTransformation = (data) => {\r\n const drawProductType = 1;\r\n const instantProductType = 2;\r\n let instantGames = {};\r\n let drawGames = {};\r\n\r\n data.forEach(({ periodType, productType, ...game }) => {\r\n const isInstantGame = productType === instantProductType || game.gameName === 'eInstant';\r\n const isDrawGame = productType === drawProductType && game.gameName !== 'eInstant';\r\n\r\n if (isInstantGame) {\r\n const instantGamesArr = instantGames[periodType] || [];\r\n instantGames = {\r\n ...instantGames,\r\n [periodType]: [...instantGamesArr, ...[game]],\r\n };\r\n }\r\n\r\n if (isDrawGame) {\r\n const drawGamesArr = drawGames[periodType] || [];\r\n drawGames = {\r\n ...drawGames,\r\n [periodType]: [...drawGamesArr, ...[game]],\r\n };\r\n }\r\n });\r\n\r\n return {\r\n instantGames,\r\n drawGames,\r\n };\r\n};\r\n\r\nconst getSummaryDataDescription = (periodType) => {\r\n switch (periodType) {\r\n case WTD:\r\n return DepsService.gettextCatalog.getString('Week to Date Net Sales');\r\n case MTD:\r\n return DepsService.gettextCatalog.getString('Month to Date Net Sales');\r\n case QTD:\r\n return DepsService.gettextCatalog.getString('Quarter to Date Net Sales');\r\n case YTD:\r\n return DepsService.gettextCatalog.getString('Year to Date Net Sales');\r\n default:\r\n return '';\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/net-sales.api.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport { INSTANT_GAME_TYPE, DRAW_GAME_TYPE } from 'app/config/gametype';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst getBigWinnersUrl = (gameType) => {\r\n switch (gameType) {\r\n case INSTANT_GAME_TYPE: {\r\n return DepsService.rest.widgets.bigWinnersScratch.url;\r\n }\r\n case DRAW_GAME_TYPE: {\r\n return DepsService.rest.widgets.bigWinnersOnline.url;\r\n }\r\n default:\r\n return DepsService.rest.widgets.bigWinners.url;\r\n }\r\n};\r\n\r\nexport const fetchBigWinners = (retailerId, gameType) => {\r\n const url = getBigWinnersUrl(gameType);\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.bigWinners';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchBigWinnersHistory = (queryParams, retailerId) => {\r\n const { url } = DepsService.rest.widgets.bigWinnersHistory;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadBigWinnersHistoryReport = (queryParams, retailerId, extension) => {\r\n const { url } = DepsService.rest.widgets.bigWinnersHistory;\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/big-winners.api.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchCumulativeWinners = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.cummulativeWinners;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.cummulativeWinners';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchCumulativeWinnersHistory = (queryParams, retailerId) => {\r\n const { url } = DepsService.rest.widgets.cumulativeHistory;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadCumulativeWinnersHistoryReport = (queryParams, retailerId, extension) => {\r\n const { url } = DepsService.rest.widgets.cumulativeHistory;\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/cumulative-winners.api.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport sortBy from 'lodash/sortBy';\r\n\r\nconst CONTEXT = 'licenseRenewal';\r\n\r\nexport const fetchLicenseRenewal = async (retailerId, threshold) => {\r\n const { url } = DepsService.rest.widgets.licenseRenewal;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n const retailers = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n const recalculated = retailers.map((retailer) => ({\r\n ...retailer,\r\n percentExpirationDays: appHelpers.calculateDaysLeftToPercentages(retailer.expirationDays, threshold),\r\n }));\r\n\r\n return sortBy(recalculated, ['expirationDays', 'retailerNumber']);\r\n};\r\n\r\nexport const fetchLicenseRenewalFormLink = async (retailerId) => {\r\n const { url } = DepsService.rest.widgets.licenseRenewalForm;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/license-renewal.api.js","import * as api from 'dashboard/resources/lvm-sales-history.api';\r\nimport sortBy from 'lodash/sortBy';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchLvmSalesHistoryRequest = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_HISTORY_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchLvmSalesHistorySuccess = (data) => ({\r\n type: actionTypes.FETCH_LVM_SALES_HISTORY_SUCCESS,\r\n isLoading: false,\r\n data,\r\n});\r\n\r\nexport const fetchLvmSalesHistoryFailure = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_HISTORY_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const groupByGames = (data) => {\r\n const drawProductType = 1;\r\n const instantProductType = 2;\r\n const getGameItem = (item, totalPropertyName) => ({\r\n gameName: item.gameName,\r\n netSalesDelta: item.netSalesDelta,\r\n netSales: item.netSales,\r\n displayOrder: item.displayOrder,\r\n [totalPropertyName]: item[totalPropertyName],\r\n });\r\n const pushGame = (game, terminal) => {\r\n if (game.productType === drawProductType) {\r\n terminal.drawGames.push(getGameItem(game, 'drawTotal'));\r\n } else if (game.productType === instantProductType) {\r\n terminal.instantGames.push(getGameItem(game, 'instantTotal'));\r\n }\r\n };\r\n const isTheSameTerminal = (last, current) => last\r\n && last.periodType === current.periodType\r\n && last.terminalKey === current.terminalKey;\r\n\r\n data = sortBy(data, ['periodType', 'terminalKey', 'productType', 'gameName']).reduce((terminals, currentTerminal) => {\r\n const lastTerminal = terminals[terminals.length - 1];\r\n if (isTheSameTerminal(lastTerminal, currentTerminal)) {\r\n const game = currentTerminal;\r\n pushGame(game, lastTerminal);\r\n } else {\r\n const game = currentTerminal;\r\n game.isExpanded = false;\r\n game.drawGames = [];\r\n game.instantGames = [];\r\n pushGame(game, currentTerminal);\r\n terminals.push(currentTerminal);\r\n }\r\n return terminals;\r\n }, []);\r\n return data;\r\n};\r\n\r\nexport const fetchLvmSalesHistory = (periodType, id = null) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchLvmSalesHistoryRequest());\r\n const data = await api.fetchLvmSalesHistory(periodType, retailerId);\r\n const groupedData = groupByGames(data);\r\n dispatch(fetchLvmSalesHistorySuccess(groupedData));\r\n } catch (error) {\r\n console.error('LVM_SALES_HISTORY', error);\r\n dispatch(fetchLvmSalesHistoryFailure());\r\n }\r\n};\r\n\r\nexport const fetchLvmSalesRequest = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchLvmSalesSuccess = (total) => ({\r\n type: actionTypes.FETCH_LVM_SALES_SUCCESS,\r\n isLoading: false,\r\n total,\r\n});\r\n\r\nexport const fetchLvmSalesFailure = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchLvmSales = (id = null) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchLvmSalesRequest());\r\n const total = await api.fetchLvmSales(retailerId);\r\n dispatch(fetchLvmSalesSuccess(total));\r\n } catch (error) {\r\n console.error('LVM_SALES', error);\r\n dispatch(fetchLvmSalesFailure());\r\n }\r\n};\r\n\r\nexport const downloadLvmSalesHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadLvmSalesHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadLvmSalesHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadLvmSalesHistoryReport = (extension, periodType, id = null) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(downloadLvmSalesHistoryReportRequest());\r\n dispatch(downloadLvmSalesHistoryReportSuccess());\r\n return api.downloadLvmSalesHistoryReport(extension, periodType, retailerId);\r\n } catch (error) {\r\n console.error('DOWNLOAD_LVM_SALES_HISTORY_REPORT', error);\r\n dispatch(downloadLvmSalesHistoryReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/lvm-sales-history/lvm-sales-history.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchAlerts = (retailerId, locale) => {\r\n const { url } = DepsService.rest.widgets.alerts.list;\r\n const queryParams = {};\r\n const urlParams = { retailerId, locale };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchAlertDetails = (retailerId, alertId, locale, setRead) => {\r\n const { url } = DepsService.rest.widgets.alerts.details;\r\n const queryParams = {\r\n setRead,\r\n locale,\r\n alertId,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const dismissAlert = (retailerId, alertId) => {\r\n const { url } = DepsService.rest.widgets.alerts.hide;\r\n const queryParams = {\r\n alertId,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadAlertReport = (retailerId, alertId) => {\r\n const { url } = DepsService.rest.widgets.alerts.details;\r\n const queryParams = {\r\n alertId,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/alerts.api.js","import angular from 'angular';\r\n\r\nimport RwEditorComponent from './rw-editor-component';\r\n\r\nexport default angular\r\n .module('rw-editor', [])\r\n .component('rwEditor', new RwEditorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-editor/rw-editor-module.js","import angular from 'angular';\r\nimport { UserGroupMembershipsController } from './user-group-memberships-controller';\r\nimport userGroupMembershipsComponent from './user-group-memberships-component';\r\n\r\nexport default angular\r\n .module('userGroupMemberships', [])\r\n .controller('UserGroupMembershipsController', UserGroupMembershipsController)\r\n .component('userGroupMemberships', userGroupMembershipsComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/group-memberships/user-group-memberships-module.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'user';\r\n\r\nconst fetchUsersRelatedToRetailer = ({ userId, currentRetailer, ...params }) => {\r\n const { url } = DepsService.rest.account.entries;\r\n const queryParams = { ...params, currentRetailer };\r\n const urlParams = { userId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchAllUsers = (requestParams) => {\r\n const { url } = DepsService.rest.accounts.lotteryRep.entries;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, requestParams);\r\n};\r\n\r\nexport const fetchUsers = ({ userId, currentRetailer, ...params }) => {\r\n if (userId) {\r\n return fetchUsersRelatedToRetailer({ userId, currentRetailer, ...params });\r\n }\r\n return fetchAllUsers({ ...params });\r\n};\r\n\r\nexport const bulkUpdate = async (params) => {\r\n const { url } = DepsService.rest.users.bulkUpdate;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, params);\r\n};\r\n\r\nexport const createUser = (user) => {\r\n const { url } = DepsService.rest.account.create;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, user);\r\n};\r\n\r\nexport const downloadUsersReport = ({ lotteryRepId, extension, ...queryParams }) => {\r\n const { url } = DepsService.rest.accounts.downloadReport;\r\n const urlParams = { };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/resources/users.api.js","import angular from 'angular';\r\nimport { RetailerGroupsExistingUserFieldController } from './retailer-groups-existing-user-field-controller';\r\nimport retailerGroupsExistingUserFieldComponent from './retailer-groups-existing-user-field-component';\r\nimport './retailer-groups-existing-user-field.scss';\r\n\r\nexport default angular.module('retailerGroupUserField', [])\r\n .controller('RetailerGroupsExistingUserField', RetailerGroupsExistingUserFieldController)\r\n .component('retailerGroupsExistingUserField', retailerGroupsExistingUserFieldComponent)\r\n;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-module.js","import * as api from '../resources/linked-retailers.api';\r\nimport actionTypes from './linked-retailers.action-types';\r\n\r\nexport const fetchLinkedRetailersRequest = () => ({\r\n type: actionTypes.FETCH_LINKED_RETAILERS_REQUEST,\r\n name: 'linkedRetailersLoadingStatus',\r\n});\r\n\r\nexport const fetchLinkedRetailersSuccess = (list, pagination) => ({\r\n type: actionTypes.FETCH_LINKED_RETAILERS_SUCCESS,\r\n list,\r\n pagination,\r\n name: 'linkedRetailersLoadingStatus',\r\n});\r\n\r\nexport const fetchLinkedRetailersFailure = () => ({\r\n type: actionTypes.FETCH_LINKED_RETAILERS_FAILURE,\r\n name: 'linkedRetailersLoadingStatus',\r\n});\r\n\r\nexport const fetchLinkedRetailers = (requestParams) => async (dispatch) => {\r\n try {\r\n dispatch(fetchLinkedRetailersRequest());\r\n const { content: list, ...pagination } = await api.fetchLinkedRetailers(requestParams);\r\n dispatch(fetchLinkedRetailersSuccess(list, pagination));\r\n } catch (error) {\r\n console.error('FETCH_LINKED_RETAILERS', error);\r\n dispatch(fetchLinkedRetailersFailure());\r\n }\r\n};\r\n\r\nexport const updateLinkedRetailersRequest = () => ({\r\n type: actionTypes.UPDATE_LINKED_RETAILERS_REQUEST,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const updateLinkedRetailersSuccess = () => ({\r\n type: actionTypes.UPDATE_LINKED_RETAILERS_SUCCESS,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const updateLinkedRetailersFailure = () => ({\r\n type: actionTypes.UPDATE_LINKED_RETAILERS_FAILURE,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const updateLinkedRetailers = (data) => async (dispatch) => {\r\n try {\r\n dispatch(updateLinkedRetailersRequest());\r\n await api.updateLinkedRetailers(data);\r\n dispatch(updateLinkedRetailersSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_LINKED_RETAILERS', error);\r\n dispatch(updateLinkedRetailersFailure());\r\n }\r\n};\r\n\r\nexport const deleteLinkedRetailersRequest = () => ({\r\n type: actionTypes.DELETE_LINKED_RETAILERS_REQUEST,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const deleteLinkedRetailersSuccess = () => ({\r\n type: actionTypes.DELETE_LINKED_RETAILERS_SUCCESS,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const deleteLinkedRetailersFailure = () => ({\r\n type: actionTypes.DELETE_LINKED_RETAILERS_FAILURE,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const deleteLinkedRetailers = (data) => async (dispatch) => {\r\n try {\r\n dispatch(deleteLinkedRetailersRequest());\r\n await api.deleteLinkedRetailers(data);\r\n dispatch(deleteLinkedRetailersSuccess());\r\n } catch (error) {\r\n console.error('DELETE_LINKED_RETAILERS', error);\r\n dispatch(deleteLinkedRetailersFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/linked-retailers.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'user';\r\n\r\nexport const fetchLinkedRetailers = async (queryParams) => {\r\n const { url } = DepsService.rest.account.linkedRetailers.get;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const updateLinkedRetailers = (data) => {\r\n const { url } = DepsService.rest.account.linkedRetailers.update;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, data);\r\n};\r\n\r\nexport const deleteLinkedRetailers = (data) => {\r\n const { url } = DepsService.rest.account.linkedRetailers.update;\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, null, { data });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/resources/linked-retailers.api.js","import tableTemplate from './table.html';\r\nimport { setSortingFunction } from 'utils/actions/table-sorting/table-sorting.actions';\r\n\r\nconst SORT_DIRECTION = {\r\n asc: 'true',\r\n desc: 'false',\r\n};\r\n\r\nconst mapStateToThis = ({ ui }) => {\r\n const { sortingFunction } = ui;\r\n return {\r\n sortingFunction,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setSortingFunction,\r\n};\r\n\r\n@Inject('gettextCatalog', '$ngRedux')\r\nexport class TableController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit(){\r\n if (this.defaultSortColumn) {\r\n this.setSortingFunction({\r\n [this.defaultSortColumn]: this.defaultSortDirection || SORT_DIRECTION.asc,\r\n });\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class TableComponent {\r\n constructor() {\r\n this.bindings = {\r\n defaultSortDirection: '@',\r\n defaultSortColumn: '@?',\r\n hasData: '=',\r\n noDataText: '=?',\r\n loaded: '<',\r\n };\r\n this.transclude = true;\r\n this.template = tableTemplate;\r\n this.controller = TableController;\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/grid/table-component.js","import actionTypes from '../action-types';\r\n\r\nexport const setSortingFunction = (sortingFunction) => ({\r\n type: actionTypes.SET_SORTING_FUNCTION,\r\n sortingFunction,\r\n});\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/table-sorting/table-sorting.actions.js","module.exports = \"
\\r\\n

\\r\\n \\r\\n You have unsaved changes\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n Are you sure you want to navigate away from this page?\\r\\n \\r\\n

\\r\\n

\\r\\n \\r\\n Unsaved changes will be lost.\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Leave this Page\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Stay on this Page\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/utils/dirty-form/views/confirm-dialog.html\n// module id = 607\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n \\r\\n You have unsaved changes\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n Are you sure you want to cancel changes?\\r\\n \\r\\n

\\r\\n

\\r\\n \\r\\n Unsaved changes will be lost.\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/utils/dirty-form/views/unsaved-changes-cancel-dialog.html\n// module id = 608\n// module chunks = 0","import angular from 'angular';\r\nimport RwCardComponent from './rw-card-component';\r\n\r\nexport default angular\r\n .module('rw-card', [])\r\n .component('rwCard', RwCardComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-card/rw-card-module.js","import capitalize from 'lodash/capitalize';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'multistore';\r\n\r\nexport const fetchRetailerDetails = async (retailerId) => {\r\n const { url } = DepsService.rest.multiStore.shortRetailerInfo;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n const { retailer } = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n\r\n const { retailerType, displayNumber, storeNumber, zipCode, phone, state, city, businessName, street1 } = retailer;\r\n\r\n return {\r\n retailerType,\r\n displayNumber,\r\n storeNumber,\r\n zipCode,\r\n phone,\r\n state,\r\n city: city.replace(/\\w+/g, capitalize),\r\n businessName: businessName.replace(/\\w+/g, capitalize),\r\n street1: street1.replace(/\\w+/g, capitalize),\r\n };\r\n};\r\n\r\nconst changeLocation = (retailerId, userId) => {\r\n const { url } = DepsService.rest.multiStore.select;\r\n const queryParams = { userId };\r\n const payload = { retailerId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, queryParams);\r\n};\r\n\r\nexport default {\r\n fetchRetailerDetails,\r\n changeLocation,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/resources/utils.api.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport user from 'user/logic/user';\r\nimport privileges from 'privilege-templates/logic/privilege-templates';\r\n\r\nimport { applyMenu, applyTokens, setGtmsTime } from 'auth/actions/session.actions';\r\nimport sessionModule from './session';\r\n\r\nconst LOGOUT_CODE = 'USER_LOGOUT';\r\n\r\nconst CONTEXT = 'auth';\r\nconst FORGOT_PASSOWRD_CONTEXT = 'forgotPassword';\r\nconst FORGOT_USERNAME_CONTEXT = 'forgotUsername';\r\n\r\nfunction initializeModel(deps, model) {\r\n return _.merge(model, {\r\n credentials: {},\r\n forgotPassword: {},\r\n });\r\n}\r\n\r\nfunction getServerTime(deps, model) {\r\n if (!_.get(model, 'session.loggedIn')) {\r\n return Promise.resolve(model);\r\n }\r\n return deps.restSrv\r\n .list(CONTEXT, model.session.rest.server.time.url, null, null, 'server.time')\r\n .then((result) => {\r\n const gtmsTime = _.get(result, 'gtmsTime');\r\n const gtmsTimeUnix = moment.utc(gtmsTime).unix();\r\n deps.config.serverTime = gtmsTimeUnix;\r\n deps.$ngRedux.dispatch(setGtmsTime(gtmsTimeUnix));\r\n return Promise.resolve(model);\r\n })\r\n .catch(() => {\r\n deps.config.serverTime = moment().unix();\r\n return Promise.resolve(model);\r\n });\r\n}\r\n\r\nasync function loginByRest(...args) {\r\n let [deps, model, credentials, restUrl, acceptTerms, registrationForm = false, loginAs = false, tokens, impersonatingDisplayName] = args;\r\n const state = deps.$ngRedux.getState();\r\n const { session } = state;\r\n const { restSrv } = deps;\r\n if (!tokens) {\r\n let queryParams;\r\n let urlParams;\r\n if (loginAs) {\r\n queryParams = {\r\n userId: credentials.userId,\r\n token: session.tokens.refresh.code,\r\n };\r\n } else {\r\n queryParams = {\r\n resourceOwnerCredentials: {\r\n username: credentials.email,\r\n password: credentials.password,\r\n },\r\n clientId: session.oAuthClientId,\r\n siteId: session.siteId,\r\n };\r\n urlParams = {\r\n acceptTerms,\r\n registrationForm,\r\n };\r\n }\r\n tokens = await restSrv.create(CONTEXT, restUrl, queryParams, urlParams);\r\n }\r\n\r\n const [jwtToken] = tokens;\r\n deps.$ngRedux.dispatch(applyTokens(tokens));\r\n if (_.get(jwtToken, 'tokenParams.passwordExpired') === 'true') return Promise.resolve(model);\r\n\r\n return user\r\n .loadUserByLogin(restSrv, credentials.email, model)\r\n .then(user.loadLotteryLearningLink.bind(null, restSrv))\r\n .then((params) => sessionModule.applySessionData(_.merge(params, { config: deps.config, loginAs, impersonatingDisplayName })))\r\n .then(privileges.loadUserSessionPrivileges.bind(null, deps))\r\n .then((newModel) => deps.$ngRedux.dispatch(applyMenu(newModel)))\r\n .then((newModel) => {\r\n if (session.locale !== newModel.session.locale) sessionModule.changeLocale(deps, newModel, newModel.session.locale);\r\n return newModel;\r\n })\r\n .then((newModel) => {\r\n newModel.credentials = {};\r\n return newModel;\r\n })\r\n .then((newModel) => {\r\n deps.initNgServices(newModel);\r\n return newModel;\r\n })\r\n .then((newModel) => getServerTime(deps, newModel));\r\n}\r\n\r\nfunction login(...args) {\r\n const [deps, model, credentials, acceptTerms, registrationForm = false, tokens] = args;\r\n const restUrl = model.session.rest.oauth.login.url;\r\n const loginAs = false;\r\n return loginByRest(deps, model, credentials, restUrl, acceptTerms, registrationForm, loginAs, tokens);\r\n}\r\n\r\nfunction loginBack(...args) {\r\n const [deps, model] = args;\r\n const restUrl = model.session.rest.oauth.loginBack.url;\r\n const acceptTerms = true;\r\n const registrationForm = false;\r\n const loginAs = true;\r\n return loginByRest(deps, model, {}, restUrl, acceptTerms, registrationForm, loginAs);\r\n}\r\n\r\nfunction removeTokens(deps, model) {\r\n if (\r\n deps.$sessionStorage &&\r\n deps.$sessionStorage.userSession &&\r\n deps.$sessionStorage.userSession.tokens &&\r\n !_.isEmpty(deps.$sessionStorage.userSession.tokens)\r\n ) {\r\n deps.restSrv.remove(CONTEXT, model.session.rest.oauth.logout.url).catch(() => {});\r\n }\r\n return Promise.resolve();\r\n}\r\n\r\nfunction logout(deps, model, registrationConfirm) {\r\n return removeTokens(deps, model)\r\n .then(() => sessionModule.resetSession(deps, model))\r\n .then(() => deps.init())\r\n .then((newModel) => {\r\n sessionStorage.clear();\r\n deps.$state.go('home-view', {\r\n reload: true,\r\n registrationConfirm,\r\n });\r\n return newModel;\r\n });\r\n}\r\n\r\nfunction resetPassword(deps, model, answerObj) {\r\n return deps.restSrv.create(FORGOT_PASSOWRD_CONTEXT, model.session.rest.auth.resetPassword.url, answerObj);\r\n}\r\n\r\nfunction remindUsername(deps, model, formModel) {\r\n const { url } = model.session.rest.auth.remindUsername;\r\n const { captchaToken, phone } = formModel;\r\n const queryParams = { phoneNumber: phone };\r\n const urlParams = { captchaToken };\r\n\r\n return deps.restSrv.create(FORGOT_USERNAME_CONTEXT, url, queryParams, urlParams).catch((e) => {\r\n throw e;\r\n });\r\n}\r\n\r\nexport default {\r\n initializeModel,\r\n login,\r\n loginByRest,\r\n loginBack,\r\n logout,\r\n resetPassword,\r\n remindUsername,\r\n changeLocale: sessionModule.changeLocale,\r\n resetSession: sessionModule.resetSession,\r\n initializeSession: sessionModule.initializeSession,\r\n updateSession: sessionModule.updateSession,\r\n // applyMenu: sessionModule.applyMenu,\r\n getServerTime,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/logic/auth.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport grid from 'utils/lsp-grid/grid';\r\nimport utils from 'utils/lsp-utils-service';\r\nimport privileges from 'privilege-templates/logic/privilege-templates';\r\nimport { getUserClasses } from 'app/actions/dictionaries.actions';\r\nimport { setLearningLink } from 'auth/actions/session.actions';\r\nimport { fetchPrivilegeDisplayTypesDictionary } from 'app/actions/dictionaries/privilege-display-types-dictionary.actions';\r\n\r\nconst DEFAULT_SORT_COLUMN = 'id';\r\nconst NA_VALUE = 'n/a';\r\nconst STATUS_ACTIVE = 'ACTIVE';\r\nconst STATUS_INACTIVE = 'INACTIVE';\r\n\r\nconst ACTIVE = 'ACTIVE';\r\nconst RETAILER_ROLES = ['RETAILER_PRIMARY', 'RETAILER_SECONDARY'];\r\n\r\nconst APP_CONTEXT = 'app';\r\nconst USER_CONTEXT = 'user';\r\n\r\n// model initialization\r\nfunction initializeModel(deps, model) {\r\n return _.merge(model, {\r\n user: {\r\n grid: grid.applyGrid(deps, userList.bind(null, deps), 'user.grid', {\r\n [deps.config.sortColumnKey]: DEFAULT_SORT_COLUMN,\r\n [deps.config.pageSizeKey]: deps.config.defaultPageSize[2],\r\n }),\r\n myAccount: {},\r\n editAccount: {},\r\n editAccountCopy: {},\r\n changePrimaryUser: grid.applyGrid(deps, getUsers.bind(null, deps), 'user.changePrimaryUser', {\r\n [deps.config.pageSizeKey]: deps.config.defaultPageSize[2],\r\n }),\r\n retailerSettings: {},\r\n },\r\n });\r\n}\r\n\r\nfunction registerRestSrvContext(deps) {\r\n deps.restSrv = deps.restSrv.factory('user', deps);\r\n return deps;\r\n}\r\n\r\n// dictionaries initialization\r\nfunction loadDictionaries(deps, model) {\r\n model.dictionary.userStatuses = deps.config.dictionaries.usrAccStatuses;\r\n model.dictionary.retailerStatuses = deps.config.dictionaries.usrRetailerStatuses;\r\n model.dictionary.generic_bool = deps.config.dictionaries.generic_bool;\r\n\r\n return Promise.all([\r\n loadTemplates(deps, model),\r\n loadActivateReasons(deps, model),\r\n loadSuspendReasons(deps, model),\r\n loadRetailerStatuses(deps, model),\r\n DepsService.$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary()),\r\n ]).then((models) => models.reduce((reduced, newModel) => _.merge(reduced, newModel), model));\r\n}\r\n\r\n// actions\r\nfunction userList(deps, model, parameters) {\r\n let newResult = {};\r\n const urlParameters = {\r\n userId: RETAILER_ROLES.indexOf(model.session.role) !== -1 ? model.session.id : null,\r\n };\r\n const url = model.session.lotteryRepId ? model.session.rest.accounts.lotteryRep.entries.url : model.session.rest.account.entries.url;\r\n\r\n return deps.restSrv.list(USER_CONTEXT, url, parameters, urlParameters).then((result) => {\r\n newResult = _.cloneDeep(result);\r\n newResult.content = result.content.map((user) => {\r\n const retailerId = _.get(user, 'primaryRetailer.retailerId');\r\n return _.flow([\r\n (user) => {\r\n const foundedTemplate = model.dictionary.templates.find((item) => item.id === user.templateId);\r\n user.employeeTemplate = foundedTemplate ? foundedTemplate.translations[model.session.locale].name : NA_VALUE;\r\n return user;\r\n },\r\n (user) => _.set(user, 'repeatId', `${retailerId}${user.id}`),\r\n (user) => _.set(user, 'name', `${user.contact.firstName} ${user.contact.lastName}`),\r\n (user) => _.set(user, 'primaryRetailerId', retailerId || NA_VALUE),\r\n (user) => _.set(user, 'isActive', user.status && user.status.status === ACTIVE),\r\n ])(user);\r\n });\r\n return newResult;\r\n });\r\n}\r\n\r\nfunction loadRoles(deps, model) {\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.roles.url).then((result) => {\r\n model.dictionary.roles = result.map((item) =>\r\n _.flow(\r\n _.set('displayName', _.capitalize(_.get(item, 'translations[${model.session.locale}].name'))),\r\n _.set('name', _.get(item, 'translations[${model.session.locale}].name'))\r\n )(item)\r\n );\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadTemplates(deps, model) {\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.templates.url).then((result) => {\r\n model.dictionary.templates = result.map((item) =>\r\n _.flow([\r\n (item) => _.set(item, 'displayName', _.capitalize(_.get(item, 'translations[${model.session.locale}].name'))),\r\n (item) => _.set(item, 'name', _.get(item, 'translations[${model.session.locale}].name')),\r\n ])(item)\r\n );\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadUserByParams(restSrv, url, params, model) {\r\n return restSrv.list(USER_CONTEXT, url, null, params).then((user) =>\r\n Promise.resolve({\r\n model,\r\n user,\r\n })\r\n );\r\n}\r\n\r\nfunction loadRetailerStatuses(deps, model) {\r\n return deps.restSrv\r\n .listCached(USER_CONTEXT, model.session.rest.navigator.typecodes.url, {\r\n category: 'rs.retailer.status',\r\n })\r\n .then((result) => {\r\n model.dictionary.retailerLocationStatuses = result;\r\n return model;\r\n });\r\n}\r\n\r\nfunction createUser(deps, model, user) {\r\n const {\r\n session: { locale },\r\n } = deps.$ngRedux.getState();\r\n const userClass = _.cloneDeep(user.userClass);\r\n const primaryRetailer = _.cloneDeep(user.primaryRetailer);\r\n user.username = user.contact.emailAddress;\r\n user.userClass = user.userClass.id;\r\n\r\n if (!user.primaryRetailer && userClass.type === 'INDEPENDENT') {\r\n user.primaryRetailer = { retailerDisplayNumber: model.session.retailer.retailerDisplayNumber };\r\n }\r\n\r\n if (user.primaryRetailer && user.primaryRetailer.owner) {\r\n const salts = model.user.editAccount.retailer ? model.user.editAccount.retailer.salts : null;\r\n user.primaryRetailer.hashedPins = utils.getHashes(user.primaryRetailer.owner, salts);\r\n\r\n delete user.primaryRetailer.owner;\r\n }\r\n const queryParams = { locale };\r\n\r\n return deps.restSrv\r\n .create(USER_CONTEXT, model.session.rest.account.create.url, user, queryParams)\r\n .then(() => model)\r\n .catch((err) => {\r\n user.userClass = userClass;\r\n user.primaryRetailer = primaryRetailer;\r\n throw err;\r\n });\r\n}\r\n\r\nfunction loadUserByLogin(restSrv, userLogin, model) {\r\n return loadUserByParams(restSrv, model.session.rest.account.entryByLogin.url, { login: userLogin }, model);\r\n}\r\n\r\nfunction loadUserById(deps, model, id) {\r\n return loadUserByParams(deps.restSrv, model.session.rest.account.self.data.url, { id }, model);\r\n}\r\n\r\n// change primary user\r\nfunction getUsers(deps, model, parameters) {\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.entries.url, parameters);\r\n}\r\n\r\nfunction promoteToPrimary(deps, model, promotedId, downgradedId) {\r\n return deps.restSrv.update(USER_CONTEXT, model.session.rest.account.promote.url, null, {\r\n promotedId,\r\n downgradedId,\r\n });\r\n}\r\n\r\n// edit account\r\nfunction loadUser(deps, model, id, retailerId) {\r\n return deps.restSrv\r\n .list(USER_CONTEXT, model.session.rest.account.entryById.url, null, { id })\r\n .then((response) => decorateUserModel(deps, response, model))\r\n .then((newModel) => loadAssignedUser(deps, newModel, newModel.user.editAccount.ownerUserId))\r\n .then((newModel) => privileges.loadPrivileges(deps, newModel, newModel.user.editAccount.userClass))\r\n .then((newModel) => loadUserRetailer(deps, newModel, retailerId))\r\n .then((newModel) => decorateUserPrivileges(newModel))\r\n .then((newModel) => loadUserPresetName(deps, newModel))\r\n .then((newModel) => {\r\n newModel.user.editAccountCopy = _.cloneDeep(newModel.user.editAccount);\r\n return newModel;\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n });\r\n}\r\n\r\nfunction loadAssignedUser(deps, model, id) {\r\n if (!id || id === NA_VALUE) {\r\n return model;\r\n }\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.entryById.url, null, { id }).then((response) => {\r\n model.user.editAccount.assignedUser = {\r\n name: `${response.contact.lastName} ${response.contact.firstName}`,\r\n };\r\n return model;\r\n });\r\n}\r\n\r\nasync function decorateUserModel(deps, userModel, model) {\r\n const newUserModel = _.cloneDeep(userModel);\r\n\r\n const { status } = newUserModel.status;\r\n const availableStatuses = deps.config.dictionaries.usrAccStatusesDisplay;\r\n const userClasses = await deps.$ngRedux.dispatch(getUserClasses());\r\n\r\n const userClassLabel = _.find(\r\n userClasses,\r\n (userClass) => userClass.id === newUserModel.userClass || userClass.label === newUserModel.userClass\r\n );\r\n const userAccessLabel = _.find(availableStatuses, (availableStatus) => availableStatus.id === status || availableStatus.label === status);\r\n newUserModel.userClassLabel = userClassLabel ? userClassLabel.label : NA_VALUE;\r\n newUserModel.userAccessLabel = userAccessLabel ? userAccessLabel.label : NA_VALUE;\r\n newUserModel.hasMultipleStores = newUserModel.retailers.length > 1;\r\n newUserModel.retailerId = _.get(newUserModel, 'retailers[0].retailerId');\r\n newUserModel.primaryRetailerId = _.get(newUserModel, 'primaryRetailer.retailerId');\r\n newUserModel.createdLabel = newUserModel.adminCreated\r\n ? deps.gettextCatalog.getString('Administrator')\r\n : deps.gettextCatalog.getString('User');\r\n\r\n model.user.editAccount = newUserModel;\r\n return model;\r\n}\r\n\r\nfunction decorateUserPrivileges(model) {\r\n const userPresetPrivileges = model.user.editAccount.privileges\r\n .filter((userPrivilege) => model.privilegesArray.find((priv) => priv.id === userPrivilege.id))\r\n .map((p) => p.id);\r\n const { templateId } = model.user.editAccount;\r\n model.user.editAccount.currentUserPreset = {\r\n id: templateId,\r\n privileges: userPresetPrivileges,\r\n };\r\n return model;\r\n}\r\n\r\nfunction loadUserRetailer(deps, model, retailerId) {\r\n if (!retailerId) {\r\n retailerId = _.get(model.user.editAccount, 'primaryRetailer.retailerId');\r\n }\r\n if (!retailerId || retailerId === NA_VALUE) {\r\n return model;\r\n }\r\n\r\n const url = _.get(model, 'session.rest.retailer.subordinateData.url');\r\n return deps.restSrv.list(USER_CONTEXT, url, null, { retailerId }).then((retailer) => {\r\n const status = _.find(model.dictionary.retailerStatuses, { id: retailer.statusCode }) || '';\r\n retailer.statusLabel = status.label || '';\r\n model.user.editAccount.retailer = retailer;\r\n model.user.editAccount.retailerId = retailer.retailerId;\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadUserPresetName(deps, model) {\r\n const templateId = _.get(model.user.editAccount, 'templateId');\r\n if (!templateId) {\r\n return model;\r\n }\r\n\r\n return privileges.loadPreset(deps, model, templateId, model.user.editAccount.userClass).then((p) => {\r\n model.user.editAccount.currentUserPreset.name = p.translations;\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadActivateReasons(deps, model) {\r\n return deps.restSrv\r\n .listCached(USER_CONTEXT, model.session.rest.dictionary.names.url, null, {\r\n name: 'activate-reasons',\r\n })\r\n .then((activateReasons) => {\r\n model.dictionary.statusChangeReasons[STATUS_ACTIVE] = Object.keys(activateReasons.values).map((key) => ({\r\n id: key,\r\n label: activateReasons.values[key],\r\n }));\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadSuspendReasons(deps, model) {\r\n return deps.restSrv\r\n .listCached(USER_CONTEXT, model.session.rest.dictionary.names.url, null, {\r\n name: 'suspend-reasons',\r\n })\r\n .then((suspendReasons) => {\r\n model.dictionary.statusChangeReasons[STATUS_INACTIVE] = Object.keys(suspendReasons.values).map((key) => ({\r\n id: key,\r\n label: suspendReasons.values[key],\r\n }));\r\n return model;\r\n });\r\n}\r\n\r\nfunction extractPersonalDataFromUser(user) {\r\n return {\r\n firstName: user.contact.firstName,\r\n lastName: user.contact.lastName,\r\n contactPhone: user.contact.contactPhone,\r\n mobilePhone: user.contact.mobilePhone,\r\n email: user.username,\r\n roleId: user.role ? user.role.id : user.roleId,\r\n lotteryRepId: user.lotteryRepId,\r\n securityQuestions: [],\r\n };\r\n}\r\n\r\nfunction updatePersonalData(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.update.url, extractPersonalDataFromUser(user), {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction updateSubordinateUser(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.entryById.url, extractPersonalDataFromUser(user), {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id, user.retailerId));\r\n}\r\n\r\nfunction extractSuspendDataFromUser(user) {\r\n return {\r\n emailAddress: user.emailAddress,\r\n reasonKey: user.reasonKey || 'NOT_APPLICABLE',\r\n otherReasonText: user.otherReasonText,\r\n };\r\n}\r\n\r\nfunction activate(deps, model, user) {\r\n const data = extractSuspendDataFromUser(user);\r\n return deps.restSrv\r\n .create(USER_CONTEXT, model.session.rest.account.activate.url, data, {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction suspend(deps, model, user) {\r\n const data = extractSuspendDataFromUser(user);\r\n return deps.restSrv\r\n .create(USER_CONTEXT, model.session.rest.account.suspend.url, data, {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction updateUserPrivileges(deps, model, user) {\r\n const templateId = _.get(user, 'currentUserPreset.id');\r\n const privileges = user.privilegeIds.filter((privilegeName) => model.privilegesArray.find((priv) => priv.id === privilegeName));\r\n\r\n return deps.restSrv\r\n .update(\r\n USER_CONTEXT,\r\n model.session.rest.account.privileges.url,\r\n { templateId, privileges },\r\n {\r\n userId: user.id,\r\n }\r\n )\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction completeRegistration(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.completeRegistration.url, user, {\r\n id: user.id,\r\n })\r\n .then(() => {\r\n deps.AlertService.doAlertSuccess(deps.gettextCatalog.getString('Account registration completed successfully'));\r\n return loadUser(deps, model, user.id);\r\n });\r\n}\r\n\r\nfunction canResendActivationEmail(deps, model, user) {\r\n return deps.restSrv.create(USER_CONTEXT, model.session.rest.account.resendActivationEmail.url, null, {\r\n id: user.id,\r\n });\r\n}\r\n\r\nfunction deleteUser(deps, model) {\r\n return deps.restSrv\r\n .remove(USER_CONTEXT, model.session.rest.account.delete.url, { id: model.user.editAccount.id }, null)\r\n .then(() => model);\r\n}\r\n\r\nfunction authenticateUser(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.completeRegistration.url, null, {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction loadLotteryLearningLink(restSrv, params) {\r\n return restSrv.list(APP_CONTEXT, params.model.session.rest.elearningLink.get.url).then((result) => {\r\n const link = _.get(result, 'link');\r\n if (_.get(params, 'user') && link) {\r\n params.user.lotteryLearningLink = link;\r\n }\r\n if (_.get(params, 'model.session') && link) {\r\n params.model.session.lotteryLearningLink = link;\r\n }\r\n if (link) {\r\n DepsService.$ngRedux.dispatch(setLearningLink(link));\r\n }\r\n return params;\r\n });\r\n}\r\n\r\nfunction getRetailerDetails(deps, model, retailerId) {\r\n return deps.restSrv\r\n .list(USER_CONTEXT, model.session.rest.user.retailerSettings.selfRegistration.url, null, {\r\n retailerId,\r\n })\r\n .then((retailer) => {\r\n model.user.editAccount.retailer = retailer;\r\n return model;\r\n });\r\n}\r\n\r\nfunction getRetailerDetailsForSecondary(deps, model, retailerId, isSecondary) {\r\n return deps.restSrv\r\n .list(USER_CONTEXT, model.session.rest.user.retailerSettings.secondaryValidation.url, null, {\r\n retailerId,\r\n isSecondary,\r\n })\r\n .then((retailer) => {\r\n model.user.editAccount.retailer = retailer;\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadUserReportTo(deps, model) {\r\n const userId = model.session.id;\r\n\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.user.reportTo.url, null, {\r\n userId,\r\n });\r\n}\r\n\r\nexport default {\r\n initializeModel,\r\n loadDictionaries,\r\n userList,\r\n loadUserByLogin,\r\n loadUserById,\r\n createUser,\r\n getUsers,\r\n promoteToPrimary,\r\n loadUser,\r\n loadAssignedUser,\r\n authenticateUser,\r\n deleteUser,\r\n updatePersonalData,\r\n updateSubordinateUser,\r\n updateUserPrivileges,\r\n activate,\r\n suspend,\r\n completeRegistration,\r\n canResendActivationEmail,\r\n loadLotteryLearningLink,\r\n registerRestSrvContext,\r\n getRetailerDetails,\r\n getRetailerDetailsForSecondary,\r\n loadRoles,\r\n loadUserReportTo,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/logic/user.js","import * as api from '../resources/banners.api';\r\nimport actionTypes from './action-types';\r\n\r\n\r\nexport const fetchBannersRequest = () => ({\r\n type: actionTypes.FETCH_BANNERS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchBannersSuccess = (result, locales) => ({\r\n type: actionTypes.FETCH_BANNERS_SUCCESS,\r\n result,\r\n locales,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBannersFailure = () => ({\r\n type: actionTypes.FETCH_BANNERS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBanners = (home = false) => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { locales, secondHandApproval, jurisdictionId } = config;\r\n\r\n dispatch(fetchBannersRequest());\r\n const result = await api.fetchBanners(secondHandApproval, jurisdictionId, home);\r\n dispatch(fetchBannersSuccess(result, locales));\r\n } catch (error) {\r\n console.error('FETCH_BANNERS', error);\r\n dispatch(fetchBannersFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/banners.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'cms';\r\n\r\nexport const entriesTransformation = (banners) => {\r\n let entries = [];\r\n Object.keys(banners).forEach((locale) => {\r\n entries = entries.concat(\r\n banners[locale].reduce(\r\n (reqData, banner) => reqData.concat({\r\n fields: appHelpers.setFieldsToEntry({\r\n [locale]: banner,\r\n }),\r\n title: 'banner',\r\n locale,\r\n id: banner.id,\r\n }),\r\n [],\r\n ),\r\n );\r\n });\r\n\r\n return entries;\r\n};\r\n\r\nexport const fetchBanners = async (secondHandApproval, jurisdictionId, home = false) => {\r\n const url = secondHandApproval && !home\r\n ? DepsService.rest.cms.carousel.second.url\r\n : DepsService.rest.cms.carousel.first.url;\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const discardBanners = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms.carousel.discard;\r\n const queryParams = { };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const publishBanners = async (secondHandApproval, jurisdictionId, banners, interval) => {\r\n const url = secondHandApproval\r\n ? DepsService.rest.cms.carousel.second.url\r\n : DepsService.rest.cms.carousel.first.url;\r\n const entries = entriesTransformation(banners);\r\n const queryParams = {\r\n entries,\r\n properties: {\r\n interval,\r\n },\r\n };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/banners.api.js","\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'cms';\r\n\r\nconst getTermsOfUseUrl = (secondHandApproval) => {\r\n if (secondHandApproval) return DepsService.rest.cms.terms.view.second.url;\r\n return DepsService.rest.cms.terms.view.first.url;\r\n};\r\n\r\nconst getPrivacyPolicyeUrl = (secondHandApproval) => {\r\n if (secondHandApproval) return DepsService.rest.cms['privacy-policy'].second.url;\r\n return DepsService.rest.cms['privacy-policy'].first.url;\r\n};\r\n\r\nconst transformAttachments = (attachments) => {\r\n const localeKey = Object.keys(attachments);\r\n const payload = {};\r\n\r\n localeKey.forEach((locale) => {\r\n if (attachments[locale]) {\r\n payload[locale] = [{\r\n name: attachments[locale][0].name,\r\n id: attachments[locale][0].id,\r\n content: attachments[locale][0].fileSource,\r\n }];\r\n }\r\n });\r\n\r\n return payload;\r\n};\r\n\r\nconst fetchTermsOfUse = ({ secondHandApproval, jurisdictionId }) => {\r\n const url = getTermsOfUseUrl(secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchPrivacyPolicy = ({ secondHandApproval, jurisdictionId }) => {\r\n const url = getPrivacyPolicyeUrl(secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst savePrivacyPolicy = ({ fields, attachments, jurisdictionId }) => {\r\n const { url } = DepsService.rest.cms['privacy-policy'].first;\r\n const payload = {\r\n jurisdictionId,\r\n entries: [\r\n {\r\n fields,\r\n attachments,\r\n },\r\n ],\r\n };\r\n\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\nconst saveTermsOfUse = ({ fields, attachments, title }) => {\r\n const { url } = DepsService.rest.cms.terms.update.first;\r\n const payload = {\r\n title,\r\n fields,\r\n attachments: transformAttachments(attachments),\r\n };\r\n\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\n// eslint-disable-next-line consistent-return\r\nconst saveTerms = ({ termsType, ...payload }) => {\r\n switch (termsType) {\r\n case 'privacyPolicy':\r\n return savePrivacyPolicy(payload);\r\n case 'termsOfUse':\r\n return saveTermsOfUse(payload);\r\n default:\r\n // eslint-disable-next-line no-console\r\n console.error('CMS_TERMS_MANAGMENT', `Cannot match terms type to: ${termsType}`);\r\n }\r\n};\r\n\r\nconst downloadTerms = async (contentId, name) => {\r\n const { url } = DepsService.rest.cms.terms.download;\r\n const queryParams = {};\r\n const urlParams = { contentId };\r\n\r\n const reports = await DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n\r\n const result = await reports.promise;\r\n\r\n window.saveAs(result.data, name);\r\n};\r\n\r\nexport default {\r\n fetchTermsOfUse,\r\n fetchPrivacyPolicy,\r\n saveTerms,\r\n downloadTerms,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/terms-management.api.js","import actionTypes from 'app/actions/action-types';\r\nimport api from 'app/resources/terms-management.api';\r\n\r\nexport const fetchTermsOfUseRequest = () => ({\r\n type: actionTypes.FETCH_CMS_TERMS_OF_USE_REQUEST,\r\n});\r\n\r\nexport const fetchTermsOfUseFailure = () => ({\r\n type: actionTypes.FETCH_CMS_TERMS_OF_USE_FAILURE,\r\n});\r\n\r\nexport const fetchTermsOfUseSuccess = (response) => ({\r\n type: actionTypes.FETCH_CMS_TERMS_OF_USE_SUCCESS,\r\n response,\r\n});\r\n\r\nexport const fetchTermsOfUse = () => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n\r\n const params = {\r\n jurisdictionId,\r\n secondHandApproval,\r\n };\r\n\r\n dispatch(fetchTermsOfUseRequest());\r\n const response = await api.fetchTermsOfUse(params);\r\n dispatch(fetchTermsOfUseSuccess(response));\r\n } catch (error) {\r\n dispatch(fetchTermsOfUseFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_CMS_TERMS_OF_USE', error);\r\n }\r\n};\r\n\r\nexport const fetchPrivacyPolicyRequest = () => ({\r\n type: actionTypes.FETCH_CMS_PRIVACY_POLICY_REQUEST,\r\n});\r\n\r\nexport const fetchPrivacyPolicyFailure = () => ({\r\n type: actionTypes.FETCH_CMS_PRIVACY_POLICY_FAILURE,\r\n});\r\n\r\nexport const fetchPrivacyPolicySuccess = (response) => ({\r\n type: actionTypes.FETCH_CMS_PRIVACY_POLICY_SUCCESS,\r\n response,\r\n});\r\n\r\nexport const fetchPrivacyPolicy = () => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n\r\n const params = {\r\n jurisdictionId,\r\n secondHandApproval,\r\n };\r\n\r\n dispatch(fetchPrivacyPolicyRequest());\r\n const { entries } = await api.fetchPrivacyPolicy(params);\r\n dispatch(fetchPrivacyPolicySuccess(entries[0]));\r\n } catch (error) {\r\n dispatch(fetchPrivacyPolicyFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_CMS_PRIVACY_POLICY', error);\r\n }\r\n};\r\n\r\nexport const clearCmsTerms = () => ({\r\n type: actionTypes.CLEAR_CMS_TERMS,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/terms-management.actions.js","import isEmpty from 'lodash/isEmpty';\r\nimport appHelpers from 'app/app-helpers';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { cancelIconsChanges, discardIcons, fetchIcons, uploadIcon } from 'app/actions/manage-icons.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from 'app/components/home/management/components/widgets/widgets-management.html';\r\nimport * as apiWidgets from 'app/resources/widgets.api';\r\nimport { cancelWidgetsChanges, deleteWidget, fetchWidgets } from 'app/actions/widgets.actions';\r\n\r\nconst SECOND_HAND_PERMISSION = 'cms.widgetsManagement.approve';\r\nconst ICONS_MANAGEMENT_PERMISSION = 'cms.iconsManagement';\r\nexport const DIRTY_FORM = 'widgetsManagement';\r\n\r\nconst mapStateToThis = ({ session, config, ui, manageIcons, widgets, dirtyForms }) => {\r\n const { locale } = session;\r\n const { locales, urlPattern, urlPatternError, maxWidgetsNumber, secondHandApproval, jurisdictionId } = config;\r\n const { selectedLanguage } = ui;\r\n const { iconsApprovalStatus, entries, error, notification, isFileUploading } = manageIcons;\r\n const { copyItems, draft, isLoading } = widgets;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n iconsApprovalStatus,\r\n entries,\r\n error,\r\n notification,\r\n isFileUploading,\r\n dirtyForm: dirtyForms[DIRTY_FORM],\r\n urlPattern,\r\n urlPatternError,\r\n maxWidgetsNumber,\r\n secondHandApproval,\r\n jurisdictionId,\r\n copyItems,\r\n draft,\r\n isLoading,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n uploadIcon,\r\n fetchIcons,\r\n cancelIconsChanges,\r\n discardIcons,\r\n fetchWidgets,\r\n cancelWidgetsChanges,\r\n deleteWidget,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', '$sce', 'gettextCatalog', 'DirtyForm', 'Notifications')\r\nclass WidgetsManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.activeTabIdx = 'widgets';\r\n this.secondHandApprovalActive = this.checkAccess(SECOND_HAND_PERMISSION);\r\n this.iconsManagement = this.checkAccess(ICONS_MANAGEMENT_PERMISSION);\r\n this.asSortableOptions = {\r\n dragMove: appHelpers.dragMove,\r\n orderChanged: () => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n },\r\n };\r\n if (!this.$state.params.skipReloadData || isEmpty(this.copyItems)) {\r\n await this.initWidgets();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initWidgets() {\r\n await this.fetchWidgets();\r\n this.setWidgetEntries(this.locale);\r\n }\r\n\r\n setWidgetEntries(locale) {\r\n const key = Object.keys(this.copyItems).find((localeKey) => localeKey === locale);\r\n if (!key) {\r\n this.copyItems[locale] = {};\r\n }\r\n }\r\n\r\n onTabSelect(tabId) {\r\n this.DirtyForm.check(this.DIRTY_FORM, (dirty) => {\r\n if (dirty) {\r\n if (tabId === 'widgets') {\r\n this.cancelIconsChanges();\r\n } else if (tabId === 'icons') {\r\n this.cancelWidgetsChanges();\r\n }\r\n }\r\n this.activeTabIdx = tabId;\r\n });\r\n }\r\n\r\n discardWidgetsChanges() {\r\n return apiWidgets\r\n .discardWidgetsChanges(this.jurisdictionId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been discarded')))\r\n .then(() => this.initWidgets())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n onCancelWidgetsChanges() {\r\n this.cancelWidgetsChanges();\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n }\r\n\r\n discardIconsChanges() {\r\n return this.discardIcons().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n onDeleteWidget(index) {\r\n this.deleteWidget(index);\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n publishWidgetsChanges() {\r\n return apiWidgets\r\n .publishWidgets(this.secondHandApproval, this.jurisdictionId, this.locales, this.copyItems)\r\n .then(() => this.Notifications.alertSuccess(this.getSuccessText()))\r\n .then(() => this.initWidgets())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n publishIconsChanges() {\r\n return this.uploadIcon().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n getSuccessText() {\r\n return this.secondHandApprovalActive || !this.secondHandApproval\r\n ? this.gettextCatalog.getString('Changes have been published')\r\n : this.gettextCatalog.getString('Changes have been submitted for approval');\r\n }\r\n\r\n // eslint-disable-next-line class-methods-use-this\r\n onDownloadWidgetAttachment(widget) {\r\n return apiWidgets.downloadAttachment(widget);\r\n }\r\n\r\n isSubmitForApprovalAvailable() {\r\n return this.dirtyForm && this.secondHandApproval && !this.secondHandApprovalActive;\r\n }\r\n\r\n isDiscardWidgetsChangesAvailable() {\r\n return this.secondHandApproval && this.secondHandApprovalActive && this.draft;\r\n }\r\n\r\n isPublishWidgetsAvailable() {\r\n return (\r\n (!this.secondHandApproval && this.dirtyForm) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.draft) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.dirtyForm)\r\n );\r\n }\r\n\r\n isDiscardIconsChangesAvailable() {\r\n return this.secondHandApproval && this.secondHandApprovalActive && this.iconsApprovalStatus === 'DRAFT';\r\n }\r\n\r\n isPublishIconsAvailable() {\r\n return (\r\n (!this.secondHandApproval && this.dirtyForm) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.iconsApprovalStatus === 'DRAFT') ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.dirtyForm)\r\n );\r\n }\r\n}\r\n\r\nexport default class WidgetsManagementComponent {\r\n constructor() {\r\n this.controller = WidgetsManagementController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/components/home/management/components/widgets/widgets-management-component.js","module.exports = {\"roles\":{\"ADMIN\":{\"retailerType\":\"ADMIN\",\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"4\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"6\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"7\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"8\":{\"id\":\"messages\",\"label\":{\"en_US\":\"Messages\",\"es_US\":\"Mensajes\",\"cs_CZ\":\"Zprávy\"},\"iconClass\":\"fa-envelope\",\"sref\":\"message.list\",\"e2eId\":\"message.list\"},\"9\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"anonymous\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"3\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"4\":{\"id\":\"login\",\"label\":{\"en_US\":\"Login\",\"es_US\":\"Login\",\"cs_CZ\":\"Přihlášení\"},\"iconClass\":\"fa-sign-in\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_PRIMARY_CHAIN_HEAD\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"10\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"11\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"12\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"13\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_PRIMARY_INDEPENDENT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"12\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY_INDEPENDENT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY_CHAIN_HEAD\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_PRIMARY_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_CHAIN_HEAD_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"3\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_GROUP\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"PROSPECT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"mock\":{\"topmenu\":{\"9\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"10\":{\"id\":\"login\",\"label\":{\"en_US\":\"Login\",\"es_US\":\"Login\",\"cs_CZ\":\"Přihlášení\"},\"iconClass\":\"fa-sign-in\"}}},\"RETAILER_PRIMARYTemporary\":{\"topmenu\":{\"1\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_SECONDARYTemporary\":{\"topmenu\":{\"1\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_GROUPTemporary\":{\"topmenu\":{\"1\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_PRIMARY\":{\"topmenu\":{\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY\":{\"topmenu\":{\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}}},\"dictionaries\":{\"access\":{\"true\":{\"label\":\"Active\"},\"false\":{\"label\":\"Inactive\"}},\"userRole4SmsReport\":{\"RETAILER_PRIMARY\":{\"id\":\"RETAILER_PRIMARY\",\"label\":\"Retailer Primary\"},\"RETAILER_SECONDARY\":{\"id\":\"RETAILER_SECONDARY\",\"label\":\"Retailer Secondary\"}},\"employeeRole\":{\"CLERK\":{\"id\":\"CLERK\",\"label\":\"Clerk\"},\"MANAGER\":{\"id\":\"MANAGER\",\"label\":\"Manager\"}},\"usrRetailerStatuses\":[{\"id\":1,\"label\":\"Inactive\"},{\"id\":2,\"label\":\"Active\"},{\"id\":3,\"label\":\"Terminated\"},{\"id\":4,\"label\":\"Deleted\"},{\"id\":5,\"label\":\"Pending\"},{\"id\":6,\"label\":\"Approved\"},{\"id\":7,\"label\":\"Cancelled\"}],\"usrAccStatusesDisplay\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"},{\"id\":\"REGISTRATION_IN_PROGRESS\",\"label\":\"Registration in progress\"},{\"id\":\"REGISTERED\",\"label\":\"Registered, not authenticated\"},{\"id\":\"REGISTRATION_COMPLETED\",\"label\":\"Registration completed, not authenticated\"},{\"id\":\"SUSPENDED\",\"label\":\"Suspended\"},{\"id\":\"CREATED\",\"label\":\"Created\"}],\"usrAccStatuses\":{\"ADMIN\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"}],\"RETAILER_PRIMARY\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"}],\"LOTTERY_STAFF\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"},{\"id\":\"REGISTRATION_IN_PROGRESS\",\"label\":\"Registration in progress\"},{\"id\":\"REGISTERED\",\"label\":\"Registered, not authenticated\"},{\"id\":\"REGISTRATION_COMPLETED\",\"label\":\"Registration completed, not authenticated\"}],\"RETAILER_SECONDARY\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"},{\"id\":\"REGISTRATION_IN_PROGRESS\",\"label\":\"Registration in progress\"},{\"id\":\"REGISTERED\",\"label\":\"Registered, not authenticated\"},{\"id\":\"REGISTRATION_COMPLETED\",\"label\":\"Registration completed, not authenticated\"}]},\"userStatusReasons\":[{\"id\":-1,\"label\":\"Not applicable\"},{\"id\":0,\"label\":\"Suspended service\"},{\"id\":1,\"label\":\"Suspended security violation\"},{\"id\":2,\"label\":\"Suspended financial\"},{\"id\":3,\"label\":\"Suspended exceeded max login attempts\"},{\"id\":4,\"label\":\"Suspended locked\"},{\"id\":5,\"label\":\"Suspended password expired\"},{\"id\":6,\"label\":\"Suspended other\"},{\"id\":7,\"label\":\"Suspended exceeded max answers attempts\"},{\"id\":10,\"label\":\"Inactive removal by death\"},{\"id\":11,\"label\":\"Inactive voluntary withdrawal\"},{\"id\":12,\"label\":\"Inactive no longer associated with retailer\"},{\"id\":13,\"label\":\"Inactive security violation\"},{\"id\":14,\"label\":\"Inactive other\"},{\"id\":15,\"label\":\"Parent account terminated\"},{\"id\":16,\"label\":\"Parent account activated\"},{\"id\":18,\"label\":\"Activate suspended service\"},{\"id\":20,\"label\":\"Primary suspended service\"},{\"id\":22,\"label\":\"Restricted system user\"},{\"id\":24,\"label\":\"Lottery requested suspension\"},{\"id\":26,\"label\":\"User no longer restricted\"},{\"id\":28,\"label\":\"Lottery requested reinstatement\"},{\"id\":30,\"label\":\"Activated other\"},{\"id\":31,\"label\":\"Fraudulent activity\"},{\"id\":32,\"label\":\"Change ownership\"},{\"id\":33,\"label\":\"Change employment position\"},{\"id\":34,\"label\":\"Inactivated in error\"},{\"id\":35,\"label\":\"Investigation successfully\"},{\"id\":36,\"label\":\"Other\"}],\"user_status_reasons_active\":[{\"id\":26,\"label\":\"User no longer restricted\"},{\"id\":28,\"label\":\"Lottery requested reinstatement\"},{\"id\":30,\"label\":\"Other\"}],\"user_status_reasons_suspended\":[{\"id\":22,\"label\":\"Restricted system user\"},{\"id\":24,\"label\":\"Lottery requested suspension\"},{\"id\":30,\"label\":\"Other\"}],\"generic_bool\":[{\"id\":true,\"label\":\"YES\"},{\"id\":false,\"label\":\"NO\"}]},\"training\":{\"index\":{\"default\":13,\"RETAILER_PRIMARY_CHAIN_HEAD\":7,\"RETAILER_SECONDARY_CHAIN_HEAD\":6,\"RETAILER_PRIMARY_INDEPENDENT\":6,\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\":6,\"RETAILER_SECONDARY_INDEPENDENT\":5,\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\":5,\"RETAILER_GROUP\":5,\"RETAILER_PRIMARY_SUPER_CHAIN\":6,\"RETAILER_SECONDARY_SUPER_CHAIN\":6,\"RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN\":6},\"config\":{\"id\":\"training\",\"label\":{\"en_US\":\"Training\",\"es_US\":\"Entrenamiento\",\"cs_CZ\":\"Školení\"},\"iconClass\":\"fa-graduation-cap\",\"e2eId\":\"training\",\"plainLink\":true,\"target\":\"_blank\"},\"roles\":[\"RETAILER_PRIMARY_INDEPENDENT\",\"RETAILER_PRIMARY_CHAIN_HEAD\",\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\",\"RETAILER_SECONDARY_INDEPENDENT\",\"RETAILER_SECONDARY_CHAIN_HEAD\",\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\",\"RETAILER_GROUP\",\"RETAILER_PRIMARY_SUPER_CHAIN\",\"RETAILER_SECONDARY_SUPER_CHAIN\",\"RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN\"]},\"branding\":{\"index\":{\"default\":14,\"RETAILER_PRIMARY_CHAIN_HEAD\":8,\"RETAILER_SECONDARY_CHAIN_HEAD\":7,\"RETAILER_PRIMARY_INDEPENDENT\":7,\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\":7,\"RETAILER_SECONDARY_INDEPENDENT\":6,\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\":6},\"config\":{\"id\":\"branding\",\"label\":{\"en_US\":\"Brand Guide\",\"es_US\":\"Brand Guide\",\"cs_CZ\":\"Průvodce značkou\"},\"iconClass\":\"fa-bullseye\",\"e2eId\":\"branding\",\"plainLink\":true,\"target\":\"_blank\"},\"roles\":[\"RETAILER_PRIMARY_INDEPENDENT\",\"RETAILER_PRIMARY_CHAIN_HEAD\",\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\",\"RETAILER_SECONDARY_INDEPENDENT\",\"RETAILER_SECONDARY_CHAIN_HEAD\",\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\"]},\"cms\":{\"index\":{\"default\":4},\"config\":{\"id\":\"cms\",\"label\":{\"en_US\":\"Manage Content\",\"es_US\":\"Administrar contenido\",\"cs_CZ\":\"Správa obsahu\"},\"e2eId\":\"manage-content\",\"iconClass\":\"fa-folder-open\"},\"roles\":[\"ADMIN\"]},\"cms-bannersManagement\":{\"index\":{\"default\":\"4.0\"},\"config\":{\"id\":\"cms.bannersManagement\",\"label\":{\"en_US\":\"Home Page Banners\",\"es_US\":\"Banner página principal\",\"cs_CZ\":\"Bannery na domovské stránce\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-bannersManagement\",\"e2eId\":\"cms-bannersManagement\"},\"roles\":[\"ADMIN\"]},\"cms-widgetsManagement\":{\"index\":{\"default\":\"4.1\"},\"config\":{\"id\":\"cms.widgetsManagement\",\"label\":{\"en_US\":\"Home Page Widgets\",\"es_US\":\"Widgets página principal\",\"cs_CZ\":\"Widgety na domovské stránce\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-widgetsManagement\",\"e2eId\":\"cms-widgetsManagement\"},\"roles\":[\"ADMIN\"]},\"cms-termsOfUseManagement\":{\"index\":{\"default\":\"4.2\"},\"config\":{\"id\":\"cms.termsOfUseManagement\",\"label\":{\"en_US\":\"Legal Policies\",\"es_US\":\"Politicas Legales\",\"cs_CZ\":\"Právní zásady\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-termsOfUseManagement\",\"e2eId\":\"cms-termsOfUseManagement\"},\"roles\":[\"ADMIN\"]},\"cms-loginPopupManagement\":{\"index\":{\"default\":\"4.3\"},\"config\":{\"id\":\"cms.loginPopupManagement\",\"label\":{\"en_US\":\"Login Notification\",\"es_US\":\"Notificación de inicio de sesión\",\"cs_CZ\":\"Oznámení o přihlášení\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-loginPopupManagement\",\"e2eId\":\"cms-loginPopupManagement\"},\"roles\":[\"ADMIN\"]},\"cms-manageConfigurableLink\":{\"index\":{\"default\":\"4.4\"},\"config\":{\"id\":\"cms.manageConfigurableLink\",\"label\":{\"en_US\":\"Manage Configurable Link\",\"es_US\":\"Gestión de enlaces configurables\",\"cs_CZ\":\"Správa konfigurovatelného odkazu\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-manageConfigurableLink\",\"e2eId\":\"cms-manageConfigurableLink\"},\"roles\":[\"ADMIN\"]},\"igtLogoPrefix\":\"${env.arw.igtLogoPrefix}\",\"fileSizeLimit\":50000000,\"baseUrl\":\"${env.arw.baseUrl}\",\"restApi\":\"${env.arw.restApi}\",\"oAuthClientId\":\"${env.arw.oAuthClientId}\",\"analytics\":{\"containers\":{\"main\":\"${env.arw.analyticsContainers}\"},\"trackers\":{\"trackExceptions\":true}},\"partnerId\":1,\"defaultDashboard\":\"summary\",\"refreshMenuStates\":[\"login.email\",\"home\"],\"defaultPageSize\":[10,25,50,100],\"defaultPageNo\":0,\"defaultSortDirection\":true,\"dateFormatShort\":\"l\",\"dateFormat\":\"ll\",\"dateFormatFull\":\"lll\",\"dateFormatWithTime\":\"l HH:mm\",\"pageNoKey\":\"pageNumber\",\"pageSizeKey\":\"pageSize\",\"sortColumnKey\":\"sortProperty\",\"directionKey\":\"ascending\",\"filtersKey\":\"filters\",\"userType\":\"user\",\"activityType\":\"activity\",\"securityType\":\"security\",\"jobSchedulingType\":\"jobScheduling\",\"jobHistoryType\":\"jobHistory\",\"accountsAdminType\":\"accountsAdmin\",\"accountsSimpleType\":\"accountsSimple\",\"anonymous\":\"anonymous\",\"mock\":\"mock\",\"copyrightYear\":\"2017\",\"carriers\":{\"lowCost\":false,\"standard\":true},\"naValue\":\"n/a\",\"defaultLoggedInPrivileges\":{\"app\":{\"postLoginDictionaries\":{},\"previewTermsOfUse\":{},\"getContent\":{}},\"auth\":{\"resetSession\":{}}},\"phoneMask\":\"999-999-9999\",\"phoneMaskExt\":\"000-000-0000 000\",\"phoneExtRegex\":\"\\\\d{1,3}\",\"maxWidgetsNumber\":12,\"maxBannersNumber\":10,\"widgetTitleMaxLength\":200,\"widgetSubtitleMaxLength\":400,\"homepageComplaint\":{\"filePath\":\"./images/playresponsibly_logo.jpg\"},\"homepageLogos\":[{\"imagePath\":\"./images/playresponsibly_logo.jpg\",\"redirectUrl\":\"http://www.google.pl\",\"enabled\":true,\"loggedIn\":false},{\"imagePath\":\"./images/playresponsibly_logo.jpg\",\"redirectUrl\":\"http://www.google.pl\",\"enabled\":true,\"loggedIn\":false},{\"imagePath\":\"./images/wla_logo.png\",\"redirectUrl\":\"http://www.onet.pl\",\"enabled\":true,\"loggedIn\":false},{\"imagePath\":\"./images/playresponsibly_logo.jpg\",\"redirectUrl\":\"http://www.google.pl\",\"enabled\":true,\"loggedIn\":true},{\"imagePath\":\"./images/wla_logo.png\",\"redirectUrl\":\"http://www.onet.pl\",\"enabled\":true,\"loggedIn\":true}],\"urlPattern\":\"(http|https)://[\\\\w-]+(\\\\.[\\\\w-]+)+([\\\\w.,@?^=%&:/~+#-]*[\\\\w@?^=%&/~+#-])\",\"urlPatternError\":{\"en_US\":\"Link Button to a URL must start with 'http://' or 'https://' prefix. Must contain at least one '.' (dot) character, apart from the ':' and '/' characters, can contain only alphabetic characters and digits. Other special characters and whitespaces are not allowed.\",\"es_US\":\"Link Button to a URL must start with 'http://' or 'https://' prefix. Must contain at least one '.' (dot) character, apart from the ':' and '/' characters, can contain only alphabetic characters and digits. Other special characters and whitespaces are not allowed.\"},\"ssnRegex\":\"^(\\\\d{4})$\",\"brandingUrl\":\"\",\"brandingLabel\":{\"en_US\":\"Brand Guide\",\"es_US\":\"Brand Guide\"},\"maxFirstNameLength\":60,\"maxLastNameLength\":60,\"maxEmailLength\":120,\"googleMapsUrl\":\"https://www.google.com/maps/\",\"documents\":{\"keywordMaxLength\":25},\"validationRules\":{\"emailNotificationTemplate\":{\"subject\":{\"length\":128},\"body\":{\"length\":512}}},\"faq\":{\"ckeditor\":{\"toolbarGroups\":[{\"name\":\"tools\",\"groups\":[\"tools\"]},{\"name\":\"clipboard\",\"groups\":[\"clipboard\",\"undo\"]},{\"name\":\"editing\",\"groups\":[\"find\",\"selection\",\"spellchecker\",\"editing\"]},{\"name\":\"links\",\"groups\":[\"links\"]},{\"name\":\"forms\",\"groups\":[\"forms\",\"document\",\"doctools\"]},{\"name\":\"document\",\"groups\":[\"mode\",\"document\",\"doctools\"]},\"/\",{\"name\":\"basicstyles\",\"groups\":[\"basicstyles\",\"cleanup\"]},{\"name\":\"paragraph\",\"groups\":[\"list\",\"indent\",\"blocks\",\"align\",\"bidi\",\"paragraph\"]},{\"name\":\"styles\",\"groups\":[\"styles\"]},{\"name\":\"colors\",\"groups\":[\"colors\"]},{\"name\":\"others\",\"groups\":[\"others\"]}]}},\"privilegesCustomization\":true,\"tableConfig\":{\"storeProfiles\":\"storeNumber,displayNumber,businessName,street1,zipCode,corporateAccountRegionCode\",\"subordinatesList\":\"storeNumber,displayNumber,corporateAccountRegionCode,businessName,street1,zipCode\",\"inventoryHistoryChain\":\"storeNum,retailerId,gameName,gameNumber,packNo,packGrossValue,status,orderType\",\"inventoryHistoryIndependent\":\"gameName,gameNumber,packNo,pieceValue,packGrossValue,status,issuedDate,orderType,confirmedDate,activatedDate,settledDate\",\"orderHistoryChain\":\"storeNum,retailerId,orderNumber,statusDesc,orderIssuedDate,orderConfirmedDate,orderType,prefixedTrackingNumber,detailGrossValue\",\"orderHistoryIndependent\":\"orderNumber,statusDesc,orderIssuedDate,orderConfirmedDate,orderType,prefixedTrackingNumber,detailGrossValue\",\"cumulativeHistory\":\"gameName,type,winningAmount,validationDate,ticketNumber\",\"earningsHistory\":\"source,instantGames,drawGames,total\",\"bigWinnersHistory\":\"gameName,wonAmount,drawDate,storeNum,retailerId,retailerName\",\"lvmSalesHistory\":\"terminalKey,oosfactor,estLostSales,drawTotal,instantTotal,total\"},\"availableWidgets\":{\"SUPER_CHAIN\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"PROSPECT\":{\"summary\":[{\"name\":\"Messages\",\"type\":\"messages\"}]},\"STORE_PROFILE\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"Actual and Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Store Sales Rank\",\"type\":\"store-sales-rank\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"},{\"name\":\"Bond Renewal\",\"type\":\"bond-renewal\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"INDEPENDENT\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"Bond Renewal\",\"type\":\"bond-renewal\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Your Lottery Representatives\",\"type\":\"lottery-representatives\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"CHAIN_HEAD\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Bond Renewal\",\"type\":\"bond-renewal\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Chain Sales Rank - Last 13 Weeks\",\"type\":\"chain-sales-rank\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"CHAIN_SUBORDINATE\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Your Lottery Representatives\",\"type\":\"lottery-representatives\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Store Sales Rank\",\"type\":\"store-sales-rank\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]}},\"invoiceDays\":52,\"widgetConfig\":{\"bondRenewal\":\"retailerId,storeId\"},\"widgetsDataJackpotsAndDraws\":\"Lotto,Numbers,Take Five,All or Nothing,Powerball,Win 4,Mega Millions,Quick Draw,G1X2,Raffle,Pick 10,Addon,pwrb,Keno\",\"colorScale\":{\"CHAIN_HEAD\":\"#03A9F4\",\"CHAIN_SUBORDINATE\":\"#03A9F4\",\"INDEPENDENT\":\"#F7971D\"},\"layoutsConfig\":{\"6-6\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"}]}]},\"4-8\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"}]}]},\"4-4-4\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]}]},\"12/4-4-4\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]}]},\"4-4-4/12/4-8\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"}]}]},\"12/6-6\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"}]}]},\"12/6-6/12\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]}]},\"8-4/4-4-4\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]}]}},\"jackpotsAndDrawsEstimatedCashValueLabel\":\"Cash Value\",\"jackpotsAndDrawsEstimatedCashValueVisible\":true,\"validatedPackPercent\":75,\"instantWidgetsValidationThreshold\":50,\"instantWidgetsStaleGames\":30,\"instantWidgets\":{\"daysToLaunch\":14,\"specifiedDate\":true,\"daysAfterLaunch\":14,\"newGameDays\":30,\"retailersInZipCodeThreshold\":5},\"ArwAutoActivatedConfirmedAlert\":{\"numberOfDays\":120},\"announcements\":{\"titleMaxLength\":150},\"shareTemplates\":{\"CUMMULATIVE_WINNERS\":{\"INDEPENDENT\":{\"en_US\":\"We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! @LOCATION_NAME, LOCATION_CITY. We’re a #LuckyLotteryLocation. Come Play!\",\"es_US\":\"ES We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! @LOCATION_NAME, LOCATION_CITY. We’re a #LuckyLotteryLocation. Come Play!\"},\"CHAIN_HEAD\":{\"en_US\":\"We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! We’re a #LuckyLotteryLocation. Come Play!\",\"es_US\":\"ES We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! We’re a #LuckyLotteryLocation. Come Play!\"}},\"BIG_WINNERS\":{\"INDEPENDENT\":{\"instant\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nClaimed on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nClaimed on: DRAWN_DATE\\nCome Play!\"},\"draw\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nDrawn on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nDrawn on: DRAWN_DATE\\nCome Play!\"}},\"CHAIN_HEAD\":{\"instant\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nClaimed on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nClaimed on: DRAWN_DATE\\nCome Play!\"},\"draw\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nDrawn on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nDrawn on: DRAWN_DATE\\nCome Play!\"}}},\"JACKPOTS\":{\"INDEPENDENT\":{\"en_US\":\"Big jackpot coming up! Don’t miss out – get your tickets soon. #HASHTAG_NAME\\nGAME_NAME JACKPOT\\nGAME_AMOUNT\",\"es_US\":\"ES Big jackpot coming up! Don’t miss out – get your tickets soon. #HASHTAG_NAME\\nGAME_NAME JACKPOT\\nGAME_AMOUNT\"}}},\"bigWinnersOnlinePosterDateText\":{\"en_US\":\"WINNING DATE\",\"es_US\":\"WINNING DATE\"},\"bigWinnersInstantPosterDateText\":{\"en_US\":\"SOLD ON\",\"es_US\":\"SOLD ON\"},\"widgets\":[{\"type\":\"games-ending\",\"permission\":\"dashboard.widget.gamesEnding\",\"component\":\"\"},{\"type\":\"top-vlt-games\",\"permission\":\"dashboard.widget.topVltGames\",\"component\":\"\"},{\"type\":\"site-financial-status\",\"permission\":\"dashboard.widget.siteFinancialStatus\",\"component\":\"\"},{\"type\":\"site-operational-status\",\"permission\":\"dashboard.widget.siteOperationalStatus\",\"component\":\"\"},{\"type\":\"tickets\",\"permission\":\"dashboard.widget.tickets\",\"component\":\"\"},{\"type\":\"configurable-link-summary\",\"permission\":\"dashboard.widget.configurableLink.summary\",\"component\":\"\"},{\"type\":\"configurable-link-instant\",\"permission\":\"dashboard.widget.configurableLink.instant\",\"component\":\"\"},{\"type\":\"earnings\",\"permission\":\"dashboard.widget.earnings\",\"component\":\"\"},{\"type\":\"net-earnings\",\"permission\":\"dashboard.widget.netEarnings\",\"component\":\"\"},{\"type\":\"eft-amount\",\"permission\":\"dashboard.widget.eftAmount\",\"component\":\"\"},{\"type\":\"jackpots-next-draws\",\"permission\":\"dashboard.widget.jackpotsNextDraws\",\"component\":\"\"},{\"type\":\"net-sales\",\"permission\":\"dashboard.widget.netSales\",\"component\":\"\"},{\"type\":\"big-winners\",\"permission\":\"dashboard.widget.bigWinners\",\"component\":\"\"},{\"type\":\"big-winners-instant\",\"permission\":\"dashboard.widget.bigWinnersInstant\",\"component\":\"\"},{\"type\":\"big-winners-draw\",\"permission\":\"dashboard.widget.bigWinnersDraw\",\"component\":\"\"},{\"type\":\"cumulative-winners\",\"permission\":\"dashboard.widget.cumulativeWinners\",\"component\":\"\"},{\"type\":\"current-instant-game-liability\",\"permission\":\"dashboard.widget.currentInstantGameLiability\",\"component\":\"\"},{\"type\":\"actual-and-projected-settlements\",\"permission\":\"dashboard.widget.actualAndProjectedSettlements\",\"component\":\"\"},{\"type\":\"new-games\",\"permission\":\"dashboard.widget.newGames\",\"component\":\"\"},{\"type\":\"my-slow-moving-games\",\"permission\":\"dashboard.widget.mySlowMovingGames\",\"component\":\"\"},{\"type\":\"my-price-point-mix\",\"permission\":\"dashboard.widget.myPricePointMix\",\"component\":\"\"},{\"type\":\"my-net-sales-performance\",\"permission\":\"dashboard.widget.myNetSalesPerformance\",\"component\":\"\"},{\"type\":\"view-full-game-inventory\",\"permission\":\"dashboard.widget.gameInventory\",\"component\":\"\"},{\"type\":\"top-selling-games\",\"permission\":\"dashboard.widget.topSellingGames\",\"component\":\"\"},{\"type\":\"messages\",\"permission\":\"dashboard.widget.messages\",\"component\":\"\"},{\"type\":\"lottery-representatives\",\"permission\":\"dashboard.widget.lotteryRepresentatives\",\"component\":\"\"},{\"type\":\"self-service-out-of-stock\",\"permission\":\"dashboard.widget.selfServiceOutOfStock\",\"component\":\"\"},{\"type\":\"license-renewal\",\"permission\":\"dashboard.widget.licenseRenewal\",\"component\":\"\"},{\"type\":\"bond-renewal\",\"permission\":\"dashboard.widget.bondRenewal\",\"component\":\"\"},{\"type\":\"selling-terminals\",\"permission\":\"dashboard.widget.sellingTerminals\",\"component\":\"\"},{\"type\":\"chain-sales-rank\",\"permission\":\"dashboard.widget.chainSalesRank\",\"component\":\"\"},{\"type\":\"store-sales-rank\",\"permission\":\"dashboard.widget.storeSalesRank\",\"component\":\"\"},{\"type\":\"end-of-game\",\"permission\":\"dashboard.widget.endOfGame\",\"component\":\"\"},{\"type\":\"lvm-sales\",\"permission\":\"dashboard.widget.lvmSales\",\"component\":\"\"},{\"type\":\"my-instant-ticket-sales\",\"permission\":\"dashboard.widget.myInstantTicketSales\",\"component\":\"\"}],\"ckeditor\":{\"language\":\"en\",\"allowedContent\":true,\"entities\":false,\"uiColor\":\"#FAFAFA\",\"extraPlugins\":\"autogrow,colorbutton,panelbutton\",\"autoGrow_minHeight\":250,\"autoGrow_maxHeight\":1250,\"autoGrow_onStartup\":true,\"autoGrow_bottomSpace\":25,\"toolbarGroups\":[{\"name\":\"tools\",\"groups\":[\"tools\"]},{\"name\":\"clipboard\",\"groups\":[\"clipboard\",\"undo\"]},{\"name\":\"editing\",\"groups\":[\"find\",\"selection\",\"spellchecker\",\"editing\"]},{\"name\":\"links\",\"groups\":[\"links\"]},{\"name\":\"insert\",\"groups\":[\"insert\"]},{\"name\":\"forms\",\"groups\":[\"forms\"]},{\"name\":\"document\",\"groups\":[\"mode\",\"document\",\"doctools\"]},{\"name\":\"basicstyles\",\"groups\":[\"basicstyles\",\"cleanup\"]},{\"name\":\"paragraph\",\"groups\":[\"list\",\"indent\",\"blocks\",\"align\",\"bidi\",\"paragraph\"]},{\"name\":\"styles\",\"groups\":[\"styles\"]},{\"name\":\"colors\",\"groups\":[\"colors\"]},{\"name\":\"others\",\"groups\":[\"others\"]}],\"removeButtons\":\"Subscript,Superscript,Cut,PasteText,Unlink,Anchor,SpecialChar,Maximize,Strike,Indent,Outdent,Blockquote,BGColor,Styles\",\"image_previewText\":\" \"},\"passwordErrorText\":{\"en_US\":\"Password must be more than 6 and less than 32 characters and include at least one number, at least one uppercase letter, at least one lowercase letter and at least one special character.\",\"es_US\":\"La contraseña debe ser mayor que 6 y menor que 32 caracteres e incluir al menos un número, al menos una letra en mayúsculas, al menos una letra en minúsculas y al menos un carácter especial.\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/app/app.conf.json\n// module id = 826\n// module chunks = 0","module.exports = d3;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"d3\"\n// module id = 852\n// module chunks = 0","import { combineReducers } from 'redux';\nimport auth from 'auth/reducers/auth.reducer';\nimport session from 'auth/reducers/session.reducer';\nimport contact from 'contact/reducers/contact.reducer';\nimport documents from 'documents/reducers/documents.reducer';\nimport emailNotificationTemplates from 'email-notification-templates/reducers/email-notification-templates.reducer';\nimport faq from 'faq/reducers/faq.reducer';\nimport messages from 'message/reducers/messages.reducer';\nimport privilegeTemplates from 'privilege-templates/reducers/privilege-templates.reducer';\nimport registration from 'registration/reducers/registration.reducer';\nimport reportSubscriptionsPage from 'report-subscriptions/reducers/report-subscriptions-page.reducer';\nimport sftp from 'report-subscriptions/reducers/sftp.reducer';\nimport retailerReports from 'retailer-reports/reducers/retailer-reports.reducer';\nimport adminReports from 'admin-reports/reducers/admin-reports.reducer';\nimport security from 'security/reducers/security.reducer';\nimport manageInventory from 'manage-inventory/reducers/manage-inventory.reducer';\nimport announcements from 'dashboard/reducers/announcements.reducer';\nimport bigWinners from 'dashboard/reducers/big-winners.reducer';\nimport bondRenewal from 'dashboard/reducers/bond-renewal.reducer';\nimport cumulativeWinners from 'dashboard/reducers/cumulative-winners.reducer';\nimport dashboard from 'dashboard/reducers/dashboard.reducer';\nimport earningsHistory from 'dashboard/reducers/earnings-history.reducer';\nimport eftHistory from 'dashboard/reducers/eft-history.reducer';\nimport licenseRenewal from 'dashboard/reducers/license-renewal.reducer';\nimport lvmSalesHistory from 'dashboard/reducers/lvm-sales-history.reducer';\nimport netSales from 'dashboard/reducers/net-sales.reducer';\nimport siteFinancialStatus from 'dashboard/reducers/site-financial-status.reducer';\nimport siteOperationalStatus from 'dashboard/reducers/site-operational-status.reducer';\nimport linkedRetailers from 'user/reducers/linked-retailers.reducer';\nimport trustedDevices from 'user/reducers/trusted-devices.reducer';\nimport user from 'user/reducers/user.reducer';\nimport users from 'user/reducers/users.reducer';\nimport backendVersion from 'utils/reducers/backend-version.reducer';\nimport poster from 'utils/reducers/poster.reducer';\nimport privacyPolicy from 'utils/reducers/privacy-policy.reducer';\nimport retailerDetails from 'utils/reducers/retailer-details.reducer';\nimport subordinateList from 'utils/reducers/subordinate-list.reducer';\nimport termsOfUse from 'utils/reducers/terms-of-use.reducer';\nimport ui from 'utils/reducers/ui.reducer';\nimport utils from 'utils/reducers/utils.reducer';\nimport termsPreview from 'terms-preview/reducers/terms-preview.reducer';\nimport retailerDashboards from 'retailer-dashboards/reducers/retailer-dashboards.reducer';\nimport downloadReportPage from 'download-report-page/reducers/download-report-page.reducer';\nimport app from 'app/reducers/app.reducer';\nimport banners from 'app/reducers/banners.reducer';\nimport config from 'app/reducers/config.reducer';\nimport dictionaries from 'app/reducers/dictionaries.reducer';\nimport dictionary from 'app/reducers/dictionary.reducer';\nimport dirtyForms from 'app/reducers/dirty-forms.reducer';\nimport gameImages from 'app/reducers/game-images.reducer';\nimport home from 'app/reducers/home.reducer';\nimport loginPopup from 'app/reducers/login-popup.reducer';\nimport manageConfigurableLink from 'app/reducers/manage-configurable-link.reducer';\nimport manageIcons from 'app/reducers/manage-icons.reducer';\nimport mediaTemplates from 'app/reducers/media-templates.reducer';\nimport termsManagement from 'app/reducers/terms-management.reducer';\nimport theme from 'app/reducers/theme.reducer';\nimport widgets from 'app/reducers/widgets.reducer';\n\n\nexport default combineReducers({\n auth,\n\tsession,\n\tcontact,\n\tdocuments,\n\temailNotificationTemplates,\n\tfaq,\n\tmessages,\n\tprivilegeTemplates,\n\tregistration,\n\treportSubscriptionsPage,\n\tsftp,\n\tretailerReports,\n\tadminReports,\n\tsecurity,\n\tmanageInventory,\n\tannouncements,\n\tbigWinners,\n\tbondRenewal,\n\tcumulativeWinners,\n\tdashboard,\n\tearningsHistory,\n\teftHistory,\n\tlicenseRenewal,\n\tlvmSalesHistory,\n\tnetSales,\n\tsiteFinancialStatus,\n\tsiteOperationalStatus,\n\tlinkedRetailers,\n\ttrustedDevices,\n\tuser,\n\tusers,\n\tbackendVersion,\n\tposter,\n\tprivacyPolicy,\n\tretailerDetails,\n\tsubordinateList,\n\ttermsOfUse,\n\tui,\n\tutils,\n\ttermsPreview,\n\tretailerDashboards,\n\tdownloadReportPage,\n\tapp,\n\tbanners,\n\tconfig,\n\tdictionaries,\n\tdictionary,\n\tdirtyForms,\n\tgameImages,\n\thome,\n\tloginPopup,\n\tmanageConfigurableLink,\n\tmanageIcons,\n\tmediaTemplates,\n\ttermsManagement,\n\ttheme,\n\twidgets,\n\t\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reducers.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/reducers/auth.reducer.js","import {\r\n INIT_SESSION,\r\n SET_ATTEMPTED_ROUTE,\r\n SET_LEARNING_LINK,\r\n SET_LOCALE,\r\n SET_OWNER_RETAILER_GROUPS,\r\n SET_RETAILER_GROUPS,\r\n SET_SIDE_MENU,\r\n SET_TOKENS,\r\n SET_TOP_MENU,\r\n SET_USER_PRIVILEGES,\r\n UPDATE_SESSION,\r\n TOGGLE_SUBMENU,\r\n CLOSE_ALL_SIDEMENU_ITEMS,\r\n SET_PAGE_TITLE,\r\n} from '../actions/session.actions';\r\n\r\nexport const initialState = {\r\n tokens: {},\r\n rest: [],\r\n role: null,\r\n oAuthClientId: null,\r\n siteId: null,\r\n loggedIn: false,\r\n retailer: {},\r\n passwordReset: false,\r\n jurisdiction: null,\r\n privileges: [],\r\n locale: 'en_US',\r\n sidemenu: [],\r\n topmenu: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_PAGE_TITLE:\r\n return { ...state, pageTitle: action.payload.pageTitle };\r\n case SET_LOCALE:\r\n return { ...state, locale: action.payload.locale };\r\n case INIT_SESSION:\r\n return { ...state, ...action.payload };\r\n case UPDATE_SESSION:\r\n return { ...state, ...action.payload };\r\n case SET_SIDE_MENU:\r\n return { ...state, sidemenu: action.payload };\r\n case SET_TOP_MENU:\r\n return { ...state, topmenu: action.payload };\r\n case SET_TOKENS:\r\n return { ...state, tokens: action.payload };\r\n case SET_USER_PRIVILEGES:\r\n return { ...state, privileges: action.payload };\r\n case SET_LEARNING_LINK:\r\n return { ...state, lotteryLearningLink: action.payload };\r\n case SET_ATTEMPTED_ROUTE:\r\n return { ...state, attemptedRoute: action.payload };\r\n case SET_RETAILER_GROUPS:\r\n return { ...state, retailerGroups: action.payload };\r\n case SET_OWNER_RETAILER_GROUPS:\r\n return { ...state, ownerRetailerGroups: action.payload };\r\n case CLOSE_ALL_SIDEMENU_ITEMS:\r\n return {\r\n ...state,\r\n sidemenu: state.sidemenu.map((item) => {\r\n if (item.opened) {\r\n return {\r\n ...item,\r\n opened: false,\r\n };\r\n }\r\n\r\n return item;\r\n }),\r\n };\r\n case TOGGLE_SUBMENU:\r\n return {\r\n ...state,\r\n sidemenu: state.sidemenu.map((item) => {\r\n if (item.id === action.id) {\r\n return {\r\n ...item,\r\n opened: !item.opened,\r\n };\r\n }\r\n\r\n return {\r\n ...item,\r\n opened: false,\r\n };\r\n }),\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/reducers/session.reducer.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\n\r\nfunction generateMenu(menuData = {}, parameters = {}) {\r\n const { config } = DepsService.$ngRedux.getState();\r\n const { gameImagesEditable } = config;\r\n const numericAscendingCompareFn = (a, b) => a - b;\r\n return Object.keys(menuData)\r\n .sort(numericAscendingCompareFn)\r\n .map((key) => {\r\n let item = _.cloneDeep(menuData[key]);\r\n const label = _.get(item, `label`) || DepsService.gettextCatalog.getString('MISSING_MENU_ITEM_TRANSLATION');\r\n item = _.flow([\r\n (item) => _.set(item, 'label', label),\r\n (item) => {\r\n if (item.sref === 'cms-gameImages' && !gameImagesEditable) {\r\n return _.set(item, 'hasAccess', false);\r\n }\r\n\r\n return _.set(item, 'hasAccess', DepsService.$ngRedux.dispatch(checkAccess(item.sref)));\r\n },\r\n ])(item);\r\n return _.merge(\r\n {\r\n index: key,\r\n },\r\n _.merge(item, parameters[item.id], {})\r\n );\r\n });\r\n}\r\n\r\nfunction generateTopMenu(menuData = {}) {\r\n return Object.keys(menuData).reduce((reduced, index) => {\r\n const item = _.cloneDeep(menuData[index]);\r\n item.label = item.label || '';\r\n item.title = item.title ? item.title : undefined;\r\n item.hasAccess = DepsService.$ngRedux.dispatch(checkAccess(item.sref));\r\n reduced[item.id] = item;\r\n return reduced;\r\n }, {});\r\n}\r\n\r\nexport default {\r\n generateMenu,\r\n generateTopMenu,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/helpers/menu.js","import DepsService from 'services/dependencies';\r\n\r\nconst LABELS = {\r\n MANAGE_USERS: () => DepsService.gettextCatalog.getString('Manage Users'),\r\n SITE_ACTIVITY_LOG: () => DepsService.gettextCatalog.getString('Site Activity Log'),\r\n REPORTS: () => DepsService.gettextCatalog.getString('Reports'),\r\n RETAILER_DASHBOARDS: () => DepsService.gettextCatalog.getString('Retailer Dashboards'),\r\n MANAGE_CONTENT: () => DepsService.gettextCatalog.getString('Manage Content'),\r\n MANAGE_ROLES: () => DepsService.gettextCatalog.getString('Manage Roles'),\r\n HOME_PAGE_BANNERS: () => DepsService.gettextCatalog.getString('Home Page Banners'),\r\n HOME_PAGE_WIDGETS: () => DepsService.gettextCatalog.getString('Home Page Widgets'),\r\n LEGAL_POLICIES: () => DepsService.gettextCatalog.getString('Legal Policies'),\r\n LOGIN_NOTIFICATION: () => DepsService.gettextCatalog.getString('Login Notification'),\r\n LOTTERY_CONTACTS: () => DepsService.gettextCatalog.getString('Lottery Contacts'),\r\n INQUIRY_CONTACTS: () => DepsService.gettextCatalog.getString('Inquiry Contacts'),\r\n DOCUMENTS_LIBRARY: () => DepsService.gettextCatalog.getString('Documents Library'),\r\n NOTIFICATION_TEMPLATES: () => DepsService.gettextCatalog.getString('Notification Templates'),\r\n MANAGE_FAQ: () => DepsService.gettextCatalog.getString('Manage FAQs'),\r\n MANAGE_CONFIGURABLE_LINK: () => DepsService.gettextCatalog.getString('Manage Configurable Link'),\r\n RETAILER_ROLES_SECONDARY: () => DepsService.gettextCatalog.getString('Secondary Retailer Roles'),\r\n RETAILER_ROLES_PRIMARY: () => DepsService.gettextCatalog.getString('Primary Retailer Roles'),\r\n ADMIN_ROLES: () => DepsService.gettextCatalog.getString('Admin Roles'),\r\n SFTP_CONFIGURATION: () => DepsService.gettextCatalog.getString('SFTP Configuration'),\r\n REPORT_FORMATS: () => DepsService.gettextCatalog.getString('Report Formats'),\r\n LOTTERY_ANNOUNCEMENTS: () => DepsService.gettextCatalog.getString('Lottery Announcements'),\r\n SUMMARY_DASHBOARD: () => DepsService.gettextCatalog.getString('Summary Dashboard'),\r\n INSTANTS_DASHBOARD: () => {\r\n const { dictionary, session } = DepsService.$ngRedux.getState();\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n return DepsService.gettextCatalog.getString('{{ instant }} Dashboard', { instant: terms.INSTANT.plural });\r\n },\r\n STORE_PROFILES: () => DepsService.gettextCatalog.getString('Store Profiles'),\r\n TRAINING: () => DepsService.gettextCatalog.getString('Training'),\r\n BRAND_GUIDE: () => DepsService.gettextCatalog.getString('Brand Guide'),\r\n COLOR_PALETTE: () => DepsService.gettextCatalog.getString('Color Palette'),\r\n GAME_IMAGES: () => DepsService.gettextCatalog.getString('Game Images'),\r\n MEDIA_TEMPLATES: () => DepsService.gettextCatalog.getString('Media Templates'),\r\n};\r\n\r\nexport default {\r\n roles: {\r\n ADMIN: {\r\n retailerType: 'ADMIN',\r\n sidemenu: {\r\n 0: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 1: {\r\n label: LABELS.SITE_ACTIVITY_LOG,\r\n icon: 'fa-book',\r\n sref: 'retailerReports-admin',\r\n },\r\n 2: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 3: {\r\n label: LABELS.RETAILER_DASHBOARDS,\r\n icon: 'fa-tachometer',\r\n sref: 'retailerWidgets-view',\r\n },\r\n 4: {\r\n id: 'cms',\r\n label: LABELS.MANAGE_CONTENT,\r\n icon: 'fa-folder-open',\r\n },\r\n '4.0': {\r\n id: 'cms.bannersManagement',\r\n label: LABELS.HOME_PAGE_BANNERS,\r\n icon: 'fa-folder',\r\n sref: 'cms-bannersManagement',\r\n },\r\n 4.1: {\r\n id: 'cms.widgetsManagement',\r\n label: LABELS.HOME_PAGE_WIDGETS,\r\n icon: 'fa-folder',\r\n sref: 'cms-widgetsManagement',\r\n },\r\n 4.2: {\r\n id: 'cms.termsOfUseManagement',\r\n label: LABELS.LEGAL_POLICIES,\r\n icon: 'fa-folder',\r\n sref: 'cms-termsOfUseManagement',\r\n },\r\n 4.3: {\r\n id: 'cms.loginPopupManagement',\r\n label: LABELS.LOGIN_NOTIFICATION,\r\n icon: 'fa-folder',\r\n sref: 'cms-loginPopupManagement',\r\n },\r\n 4.4: {\r\n id: 'cms.reportFormatsManagement',\r\n label: LABELS.REPORT_FORMATS,\r\n icon: 'fa-folder',\r\n sref: 'retailerReports-manageFormats',\r\n },\r\n 4.5: {\r\n id: 'cms.contactManagement',\r\n label: LABELS.LOTTERY_CONTACTS,\r\n icon: 'fa-folder',\r\n sref: 'contact-manage',\r\n },\r\n 4.6: {\r\n id: 'cms.inquiryReasonManagement',\r\n label: LABELS.INQUIRY_CONTACTS,\r\n icon: 'fa-folder',\r\n sref: 'cms-inquiryReasonManagement',\r\n },\r\n 4.7: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n id: 'cms.documents',\r\n },\r\n 4.8: {\r\n label: LABELS.NOTIFICATION_TEMPLATES,\r\n icon: 'fa-bell',\r\n sref: 'emailNotificationsTemplates-view',\r\n id: 'cms.emailNotificationsTemplates',\r\n },\r\n 4.9: {\r\n label: LABELS.MANAGE_FAQ,\r\n icon: 'fa-folder-open',\r\n sref: 'faq-admin',\r\n id: 'cms.faq',\r\n },\r\n '4.10': {\r\n id: 'cms.announcementsManagement',\r\n label: LABELS.LOTTERY_ANNOUNCEMENTS,\r\n icon: 'fa-folder',\r\n sref: 'cms-newsManagement',\r\n },\r\n 4.11: {\r\n id: 'cms.manageConfigurableLink',\r\n label: LABELS.MANAGE_CONFIGURABLE_LINK,\r\n icon: 'fa-folder',\r\n sref: 'cms-manageConfigurableLink',\r\n },\r\n 4.12: {\r\n id: 'cms.manageTheme',\r\n label: LABELS.COLOR_PALETTE,\r\n icon: 'fa-folder',\r\n sref: 'cms-manageTheme',\r\n },\r\n 4.13: {\r\n id: 'cms.gameImages',\r\n label: LABELS.GAME_IMAGES,\r\n icon: 'fa-folder',\r\n sref: 'cms-gameImages',\r\n },\r\n 4.14: {\r\n id: 'cms.mediaTemplates',\r\n label: LABELS.MEDIA_TEMPLATES,\r\n sref: 'cms-mediaTemplates',\r\n },\r\n 5: {\r\n id: 'privileges',\r\n label: LABELS.MANAGE_ROLES,\r\n icon: 'fa-key',\r\n },\r\n '5.0': {\r\n id: 'privileges.retailerPrimary',\r\n label: LABELS.RETAILER_ROLES_PRIMARY,\r\n sref: 'privilegeTemplates-retailerViewPrimary',\r\n },\r\n 5.1: {\r\n id: 'privileges.retailerSecondary',\r\n label: LABELS.RETAILER_ROLES_SECONDARY,\r\n sref: 'privilegeTemplates-retailerViewSecondary',\r\n },\r\n 5.2: {\r\n id: 'privileges.lottery',\r\n label: LABELS.ADMIN_ROLES,\r\n sref: 'privilegeTemplates-lotteryView',\r\n },\r\n 6: {\r\n label: LABELS.SFTP_CONFIGURATION,\r\n icon: 'fa-hdd-o',\r\n sref: 'sftp-view',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_INDEPENDENT: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_CHAIN_HEAD: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n 4: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 5: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 6: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 7: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 8: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_CHAIN_SUBORDINATE: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_INDEPENDENT: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 6: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_CHAIN_HEAD: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n 4: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 5: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 8: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_CHAIN_SUBORDINATE: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 6: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n },\r\n },\r\n RETAILER_GROUP: {\r\n sidemenu: {\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n 8: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_CHAIN_HEAD_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n },\r\n },\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/config/sidemenu.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport lottery from './lottery';\r\nimport inquiry from './inquiry';\r\n\r\nconst contact = combineReducers({\r\n lottery,\r\n inquiry,\r\n lotteryLoadingStatus: loadingStatusAccordingToReducer('lotteryLoadingStatus'),\r\n inquiryLoadingStatus: loadingStatusAccordingToReducer('inquiryLoadingStatus'),\r\n});\r\n\r\nexport default contact;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/reducers/contact.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n draft: false,\r\n defaultContactPhone: '',\r\n contactList: {},\r\n isMaintenance: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LOTTERY_CONTACTS_SUCCESS:\r\n return { ...state, ...action.contact };\r\n case actionTypes.FETCH_LOTTERY_CONTACTS_FAILURE:\r\n return { ...state, isMaintenance: true };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/reducers/lottery.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n items: [],\r\n itemsCopy: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INQUIRY_CONTACTS_SUCCESS: {\r\n return {\r\n ...state,\r\n items: cloneDeep(action.items || []),\r\n itemsCopy: cloneDeep(action.items || []),\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/reducers/inquiry.js","import actionTypes from '../actions/action-types';\r\nimport { SET_CATEGORIES, SET_FILES, SET_IS_LOADING, SET_TAGS } from '../actions/documents.actions';\r\n\r\nconst initialState = {\r\n newLabel: false,\r\n categories: [],\r\n files: [],\r\n tags: [],\r\n isLoading: false,\r\n meta: {},\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_CATEGORIES:\r\n return Object.assign({}, state, {\r\n categories: action.payload,\r\n });\r\n case actionTypes.FETCH_NEW_LABEL_STATUS_SUCCESS:\r\n case actionTypes.SET_NEW_LABEL_STATUS_SUCCESS:\r\n return {\r\n ...state,\r\n newLabel: action.status,\r\n };\r\n case SET_TAGS:\r\n return Object.assign({}, state, {\r\n tags: action.payload,\r\n });\r\n case SET_FILES: {\r\n return Object.assign({}, state, {\r\n files: action.payload.documents || [],\r\n meta: action.payload.meta || {},\r\n isLoading: false,\r\n });\r\n }\r\n case SET_IS_LOADING:\r\n return Object.assign({}, state, {\r\n isLoading: action.payload,\r\n });\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/reducers/documents.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/reducers/email-notification-templates.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/reducers/faq.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport selectedMessages from './selected-messages';\r\nimport sent from './sent';\r\nimport inbox from './inbox';\r\nimport unreadCount from './unread-count';\r\nimport messageDetails from './message-details';\r\nimport recipients from './recipients';\r\n\r\nconst messages = combineReducers({\r\n selectedMessages,\r\n inbox,\r\n sent,\r\n unreadCount,\r\n recipients,\r\n inboxLoadingStatus: loadingStatusAccordingToReducer('inboxLoadingStatus'),\r\n sentLoadingStatus: loadingStatusAccordingToReducer('sentLoadingStatus'),\r\n recipientsLoadingStatus: loadingStatusAccordingToReducer('recipientsLoadingStatus'),\r\n messageDetailsLoadingStatus: loadingStatusAccordingToReducer('messageDetailsLoadingStatus'),\r\n selectedMessage: messageDetails,\r\n});\r\n\r\nexport default messages;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/messages.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n selectedMessagesList: [],\r\n hasAllMessagesSelected: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.ADD_MESSAGE_TO_SELECTED: {\r\n return {\r\n ...state,\r\n selectedMessagesList: [...state.selectedMessagesList, ...[action.selectedId]],\r\n };\r\n }\r\n case actionTypes.DELETE_MESSAGE_FROM_SELECTED: {\r\n return {\r\n ...state,\r\n selectedMessagesList: state.selectedMessagesList.filter((id) => id !== action.selectedId),\r\n hasAllMessagesSelected: false,\r\n };\r\n }\r\n case actionTypes.TOGGLE_SELECT_ALL_MESSAGES_POINTER: {\r\n let selectedMessagesList = [];\r\n if (!state.hasAllMessagesSelected) {\r\n selectedMessagesList = [...action.messagesList];\r\n }\r\n\r\n return {\r\n ...state,\r\n selectedMessagesList,\r\n hasAllMessagesSelected: !state.hasAllMessagesSelected,\r\n };\r\n }\r\n case actionTypes.SET_SELECT_ALL_MESSAGES_POINTER: {\r\n return {\r\n ...state,\r\n hasAllMessagesSelected: action.hasAllMessagesSelected,\r\n };\r\n }\r\n case actionTypes.CLEAR_SELECTED_MESSAGES_LIST:\r\n case actionTypes.RESET_INBOX: {\r\n return {\r\n ...state,\r\n selectedMessagesList: [],\r\n hasAllMessagesSelected: false,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/selected-messages.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SENT_MESSAGES_LIST_SUCCESS: {\r\n return [...action.messages];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/sent.js","import actionTypes from '../actions/action-types';\r\n\r\nconst changeMessageReadStatus = (action, status) =>\r\n action.messages.map((message) => {\r\n const isSelected = action.selectedMessagesList.includes(message.userMessageId);\r\n if (isSelected) return { ...message, isRead: status };\r\n return { ...message };\r\n });\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_MESSAGES_LIST_SUCCESS: {\r\n return [...action.messages];\r\n }\r\n case actionTypes.DELETE_MESSAGES_SUCCESS: {\r\n return action.messages.filter(({ userMessageId }) => {\r\n const isSelected = action.selectedMessagesList.includes(userMessageId);\r\n\r\n return !isSelected;\r\n });\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_UNREAD_SUCCESS: {\r\n return changeMessageReadStatus(action, false);\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_READ_SUCCESS: {\r\n return changeMessageReadStatus(action, true);\r\n }\r\n case actionTypes.RESET_INBOX: {\r\n return [];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/inbox.js","import actionTypes from '../actions/action-types';\r\n\r\nconst unreadMessageCount = ({ messages, selectedMessagesList }, isReadStatus) => {\r\n return messages.filter((message) => {\r\n const isIncluded = selectedMessagesList.includes(message.userMessageId);\r\n\r\n return isIncluded && message.isRead === isReadStatus;\r\n }).length;\r\n};\r\n\r\nexport default (state = 0, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_UNREAD_MESSAGES_COUNT_SUCCESS: {\r\n return action.count;\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_READ_SUCCESS:\r\n case actionTypes.DELETE_MESSAGES_SUCCESS: {\r\n return state - unreadMessageCount(action, false);\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_UNREAD_SUCCESS: {\r\n return state + unreadMessageCount(action, true);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/unread-count.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_MESSAGE_SUCCESS: {\r\n return { ...action.message };\r\n }\r\n case actionTypes.CLEAR_SELECTED_MESSAGE: {\r\n return {};\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/message-details.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RECIPIENTS_SUCCESS: {\r\n return [...action.recipients];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/recipients.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n entities: {},\r\n ids: [],\r\n selectedId: null,\r\n isPrivilegeTemplatesListLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVILEGE_TEMPLATES_REQUEST:\r\n return {\r\n ...state,\r\n isPrivilegeTemplatesListLoading: true,\r\n };\r\n\r\n case actionTypes.FETCH_PRIVILEGE_TEMPLATES_FAILURE:\r\n return {\r\n ...state,\r\n isPrivilegeTemplatesListLoading: false,\r\n };\r\n\r\n case actionTypes.FETCH_PRIVILEGE_TEMPLATES_SUCCESS:\r\n // eslint-disable-next-line no-case-declarations\r\n const entities = {};\r\n\r\n action.list.forEach((template) => {\r\n entities[template.id] = template;\r\n });\r\n\r\n return {\r\n entities,\r\n ids: Object.keys(entities),\r\n selectedId: Object.keys(entities)[0],\r\n isPrivilegeTemplatesListLoading: false,\r\n };\r\n\r\n case actionTypes.CREATE_PRIVILEGE_TEMPLATE_SUCCESS:\r\n // eslint-disable-next-line no-case-declarations\r\n const entitiesAfterCreate = {\r\n [action.template.id]: { ...action.template },\r\n ...state.entities,\r\n };\r\n\r\n return {\r\n ...state,\r\n entities: entitiesAfterCreate,\r\n ids: Object.keys(entitiesAfterCreate),\r\n };\r\n\r\n case actionTypes.UPDATE_PRIVILEGE_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n entities: {\r\n ...state.entities,\r\n [action.template.id]: { ...action.template },\r\n },\r\n };\r\n\r\n case actionTypes.SELECT_PRIVILEGE_TEMPLATE:\r\n return {\r\n ...state,\r\n selectedId: action.id,\r\n };\r\n\r\n case actionTypes.DELETE_PRIVILEGE_TEMPLATE_SUCCESS:\r\n // eslint-disable-next-line no-case-declarations\r\n const entitiesAfterDelete = { ...state.entities };\r\n\r\n Object.keys(entitiesAfterDelete).forEach((id) => {\r\n if (id === action.id) {\r\n delete entitiesAfterDelete[action.id];\r\n }\r\n });\r\n\r\n return {\r\n entities: entitiesAfterDelete,\r\n ids: state.ids.filter((id) => id !== action.id),\r\n selectedId: Object.keys(entitiesAfterDelete)[0],\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/reducers/privilege-templates.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n isLoading: false,\r\n ownerValidationMethod: {},\r\n ownerData: {},\r\n retailer: {},\r\n created: false,\r\n error: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_OWNER_VALIDATION_METHOD_REQUEST:\r\n case actionTypes.FETCH_OWNER_VALIDATION_METHOD_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_OWNER_VALIDATION_METHOD_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n ownerValidationMethod: action.ownerValidationMethod,\r\n };\r\n case actionTypes.VALIDATE_OWNER_DATA_SUCCESS:\r\n return {\r\n ...state,\r\n ownerData: { ...action.ownerData },\r\n };\r\n case actionTypes.FETCH_RETAILER_DETAILS_SUCCESS:\r\n return {\r\n ...state,\r\n retailer: action.retailer,\r\n };\r\n case actionTypes.FETCH_RETAILER_DETAILS_FAILURE:\r\n case actionTypes.FETCH_RETAILER_DETAILS_REQUEST:\r\n return {\r\n ...state,\r\n error: action.error,\r\n };\r\n case actionTypes.CLEAR_RETAILER_DETAILS:\r\n return {\r\n ...state,\r\n retailer: {},\r\n ownerData: {},\r\n };\r\n case actionTypes.CREATE_ACCOUNT_REQUEST:\r\n case actionTypes.CREATE_ACCOUNT_FAILURE:\r\n return {\r\n ...state,\r\n created: false,\r\n };\r\n case actionTypes.CREATE_ACCOUNT_SUCCESS:\r\n return {\r\n ...state,\r\n created: true,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/reducers/registration.reducer.js","import {\r\n SET_EMAILS,\r\n SET_IS_LOADING_EMAIL,\r\n SET_IS_LOADING_REPORTS,\r\n SET_IS_LOADING_SFTP,\r\n SET_RECIPIENTS_EMAIL,\r\n SET_REPORTS,\r\n SET_SFTP,\r\n SET_SUBSCRIPTIONS_EMAIL,\r\n SET_SUBSCRIPTIONS_REPORTS,\r\n SET_SUBSCRIPTIONS_SFTP,\r\n} from '../actions/report-subscriptions-page.actions';\r\n\r\nconst initialState = {\r\n itemsReports: [],\r\n isLoadingReports: false,\r\n metaReports: {},\r\n\r\n itemsEmail: [],\r\n isLoadingEmail: false,\r\n metaEmail: {},\r\n\r\n itemsSftp: [],\r\n isLoadingSftp: false,\r\n metaSftp: {},\r\n\r\n recipients: [],\r\n subscriptionsSftp: [],\r\n subscriptionsReports: [],\r\n subscriptionsEmail: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n const update = (newState) => ({ ...state, ...newState });\r\n\r\n switch (action.type) {\r\n case SET_REPORTS: {\r\n return update({\r\n itemsReports: action.payload.items || [],\r\n metaReports: action.payload.meta || {},\r\n isLoadingReports: false,\r\n });\r\n }\r\n case SET_EMAILS: {\r\n return update({\r\n itemsEmail: action.payload.items || [],\r\n metaEmail: action.payload.meta || {},\r\n isLoadingEmail: false,\r\n });\r\n }\r\n case SET_SFTP: {\r\n return update({\r\n itemsSftp: action.payload.items || [],\r\n metaSftp: action.payload.meta || {},\r\n isLoadingSftp: false,\r\n });\r\n }\r\n case SET_SUBSCRIPTIONS_REPORTS: {\r\n return update({\r\n subscriptionsReports: action.payload,\r\n });\r\n }\r\n case SET_SUBSCRIPTIONS_EMAIL: {\r\n return update({\r\n subscriptionsEmail: action.payload,\r\n });\r\n }\r\n case SET_SUBSCRIPTIONS_SFTP: {\r\n return update({\r\n subscriptionsSftp: action.payload,\r\n });\r\n }\r\n case SET_RECIPIENTS_EMAIL: {\r\n return update({\r\n recipients: action.payload,\r\n });\r\n }\r\n case SET_IS_LOADING_REPORTS: {\r\n return update({\r\n isLoadingReports: true,\r\n });\r\n }\r\n case SET_IS_LOADING_EMAIL: {\r\n return update({\r\n isLoadingEmail: true,\r\n });\r\n }\r\n case SET_IS_LOADING_SFTP: {\r\n return update({\r\n isLoadingSftp: true,\r\n });\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/report-subscriptions-page.reducer.js","import map from 'lodash/map';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst createArrayFromSubscriptions = (subscriptions) =>\r\n map(subscriptions, (subscription) => {\r\n subscription.transformations = Object.keys(subscription.transformations).reduce((newTransformations, key) => {\r\n newTransformations = newTransformations.concat([subscription.transformations[key]]);\r\n return newTransformations;\r\n }, []);\r\n return subscription;\r\n });\r\n\r\nexport const getEmailListForRetailer = (retailerId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.email.subscriptions.url, {\r\n retailerId,\r\n retailerType,\r\n });\r\n\r\nexport const getReportListForRetailer = (retailerId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.report.subscriptions.url, {\r\n retailerId,\r\n retailerType,\r\n });\r\n\r\nexport const saveReportListForRetailer = (retailerId, subscriptionsReports) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.report.subscriptions.url, {\r\n retailerId,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsReports)),\r\n });\r\n\r\nexport const saveEmailListForRetailer = (retailerId, subscriptionsEmail, externalEmails) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.email.subscriptions.url, {\r\n retailerId,\r\n externalEmails,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsEmail)),\r\n });\r\n\r\nexport const getSftpListForRetailer = (retailerId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n retailerId,\r\n retailerType,\r\n });\r\n\r\nexport const getSftpListForGroup = (groupId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n groupId,\r\n retailerType,\r\n });\r\n\r\nexport const saveSftpListForRetailer = (retailerId, subscriptionsSftp) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n retailerId,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsSftp)),\r\n });\r\n\r\nexport const saveSftpListForGroup = (groupId, subscriptionsSftp) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n groupId,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsSftp)),\r\n });\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/resources/report-subscriptions-api.js","import { combineReducers } from 'redux';\r\n\r\nimport list from './sftp/sftp-list';\r\nimport selectedEntry from './sftp/selected-sftp-entry';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\nconst sftp = combineReducers({\r\n list,\r\n selectedEntry,\r\n isLoading: loadingStatusAccordingToReducer('sftpListLoadingStatus'),\r\n});\r\n\r\nexport default sftp;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/sftp.reducer.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SFTP_LIST_SUCCESS:\r\n return [...action.sftpList]\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/sftp/sftp-list.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SFTP_BY_ID_SUCCESS:\r\n return { ...action.sftp };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/sftp/selected-sftp-entry.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './items';\r\n\r\nconst retailerReports = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('retailerReportsLoadingStatus'),\r\n});\r\n\r\nexport default retailerReports;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/reducers/retailer-reports.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RETAILER_REPORTS_SUCCESS:\r\n return [...action.items];\r\n case actionTypes.CLEAR_RETAILER_REPORTS:\r\n return [];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/reducers/items.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './items';\r\n\r\nconst adminReports = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('userActivityReportsLoadingStatus'),\r\n});\r\n\r\nexport default adminReports;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/reducers/admin-reports.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USER_ACTIVITY_REPORTS_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/reducers/items.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/reducers/security.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport games from './games';\r\nimport packs from './packs';\r\nimport userSelection from './user-selection';\r\nimport packDetails from './pack-details';\r\nimport orderDetails from './order-details';\r\nimport liabilities from './liabilities';\r\nimport packGrossValue from './packs-gross-value';\r\nimport orderHistory from './order-history';\r\n\r\nimport instantGamesTransitionsHistory from './instant-games-transitions-history';\r\n\r\nconst manageInventory = combineReducers({\r\n games,\r\n packs,\r\n instantGamesTransitionsHistory,\r\n userSelection,\r\n packDetails,\r\n orderDetails,\r\n liabilities,\r\n packGrossValue,\r\n orderHistory,\r\n isLoading: loadingStatusAccordingToReducer('manageInventoryLoadingStatus'),\r\n packDetailsLoadingStatus: loadingStatusAccordingToReducer('packDetailsLoadingStatus'),\r\n orderDetailsLoadingStatus: loadingStatusAccordingToReducer('orderDetailsLoadingStatus'),\r\n orderHistoryLoadingStatus: loadingStatusAccordingToReducer('orderHistoryLoadingStatus'),\r\n});\r\n\r\nexport default manageInventory;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/manage-inventory.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_GAMES_LIST_SUCCESS:\r\n return [...action.games];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/games.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACKS_LIST_SUCCESS:\r\n return [...action.packs];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/packs.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.ON_ITEM_LIST_SELECTION:\r\n return { ...action.selection };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/user-selection.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACK_DETAILS_SUCCESS:\r\n return { ...action.packDetails };\r\n case actionTypes.RESET_DETAILS_DIALOG_DATA:\r\n return {};\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/pack-details.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ORDER_DETAILS_SUCCESS:\r\n return { ...action.orderDetails };\r\n\r\n case actionTypes.RESET_DETAILS_DIALOG_DATA:\r\n return {};\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/order-details.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LIABILITIES_SUCCESS:\r\n return [...action.liabilities];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/liabilities.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = 0, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS:\r\n return action.packsGrossValue;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/packs-gross-value.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ORDER_HISTORY_SUCCESS:\r\n return [...action.orderHistory];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/order-history.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS:\r\n return [...action.history];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/instant-games-transitions-history.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './announcements/items';\r\nimport active from './announcements/active';\r\nimport archived from './announcements/archived';\r\nimport scheduled from './announcements/scheduled';\r\nimport draft from './announcements/draft';\r\n\r\nconst announcements = combineReducers({\r\n items,\r\n active,\r\n archived,\r\n scheduled,\r\n draft,\r\n isLoading: loadingStatusAccordingToReducer('announcementsStatusLoadingStatus'),\r\n});\r\n\r\nexport default announcements;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements.reducer.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/items.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\nimport { addAnnouncement, deleteAnnouncement, getActiveAnnouncements, togglePinAnnouncement } from 'dashboard/reducers/announcements/utils';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return getActiveAnnouncements([...action.items], action.lotteryTime, action.locale);\r\n case actionTypes.TOGGLE_PIN_ANNOUNCEMENTS:\r\n return togglePinAnnouncement([...state], action.index, action.locale, action.locales);\r\n case actionTypes.DELETE_ACTIVE_ANNOUNCEMENT:\r\n return deleteAnnouncement([...state], action.index);\r\n case actionTypes.ADD_ACTIVE_ANNOUNCEMENT:\r\n return addAnnouncement([...state], action.announcement, action.locale);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/active.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\nimport { addAnnouncement, deleteAnnouncement, getArchivedAnnouncements } from 'dashboard/reducers/announcements/utils';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return getArchivedAnnouncements([...action.items], action.lotteryTime, action.locale);\r\n case actionTypes.DELETE_ARCHIVED_ANNOUNCEMENT:\r\n return deleteAnnouncement([...state], action.index);\r\n case actionTypes.ADD_ARCHIVED_ANNOUNCEMENT:\r\n return addAnnouncement([...state], action.announcement, action.locale);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/archived.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\nimport { addAnnouncement, deleteAnnouncement, getScheduledAnnouncements } from 'dashboard/reducers/announcements/utils';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return getScheduledAnnouncements([...action.items], action.lotteryTime, action.locale);\r\n case actionTypes.DELETE_SCHEDULED_ANNOUNCEMENT:\r\n return deleteAnnouncement([...state], action.index);\r\n case actionTypes.ADD_SCHEDULED_ANNOUNCEMENT:\r\n return addAnnouncement([...state], action.announcement, action.locale);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/scheduled.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return action.draft;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/draft.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './big-winners/items';\r\n\r\nconst bigWinners = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('bigWinnersStatusLoadingStatus'),\r\n});\r\n\r\nexport default bigWinners;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/big-winners.reducer.js","import actionTypes from 'dashboard/actions/big-winners/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BIG_WINNERS_HISTORY_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/big-winners/items.js","import { combineReducers } from 'redux';\r\nimport stores from './bond-renewal/stores';\r\nimport storesCount from './bond-renewal/stores-count';\r\nimport isLoading from './bond-renewal/loading-status';\r\n\r\nconst bondRenewal = combineReducers({\r\n stores,\r\n storesCount,\r\n isLoading,\r\n});\r\n\r\nexport default bondRenewal;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal.reducer.js","import actionTypes from 'dashboard/actions/bond-renewal/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BOND_RENEWAL_SUCCESS:\r\n return { ...action.stores };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal/stores.js","import actionTypes from 'dashboard/actions/bond-renewal/action-types';\r\n\r\nexport default (state = 0, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BOND_RENEWAL_SUCCESS: {\r\n return action.storeCount;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal/stores-count.js","import actionTypes from 'dashboard/actions/bond-renewal/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BOND_RENEWAL_REQUEST:\r\n case actionTypes.FETCH_BOND_RENEWAL_FAILURE:\r\n case actionTypes.FETCH_BOND_RENEWAL_SUCCESS: {\r\n return action.isLoading;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal/loading-status.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './cumulative-winners/items';\r\n\r\nconst cumulativeWinners = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('cumulativeWinnersStatusLoadingStatus'),\r\n});\r\n\r\nexport default cumulativeWinners;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/cumulative-winners.reducer.js","import actionTypes from 'dashboard/actions/cumulative-winners/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/cumulative-winners/items.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n current: {},\r\n toSave: {},\r\n copy: {},\r\n layouts: [],\r\n isEditMode: false,\r\n widgets: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_DASHBOARD_REQUEST:\r\n case actionTypes.FETCH_DASHBOARD_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_DASHBOARD_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: action.current || {},\r\n toSave: action.toSave || {},\r\n };\r\n case actionTypes.SET_DASHBOARD_CURRENT:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: action.current || {},\r\n };\r\n case actionTypes.SET_DASHBOARD_LAYOUTS:\r\n return {\r\n ...state,\r\n layouts: action.layouts || [],\r\n };\r\n case actionTypes.SET_DASHBOARD_EDIT_MODE:\r\n return {\r\n ...state,\r\n isEditMode: action.isEditMode || false,\r\n };\r\n case actionTypes.SET_DASHBOARD_COPY:\r\n return {\r\n ...state,\r\n copy: action.copy || {},\r\n };\r\n case actionTypes.SET_DASHBOARD_WIDGETS_LIST:\r\n return {\r\n ...state,\r\n widgets: action.widgets || [],\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/dashboard.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport data from './earnings-history/earnings-history';\r\n\r\nconst earningsHistory = combineReducers({\r\n data,\r\n isLoading: loadingStatusAccordingToReducer('earningsHistoryLoadingStatus'),\r\n});\r\n\r\nexport default earningsHistory;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/earnings-history.reducer.js","import actionTypes from 'dashboard/actions/earnings-history/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_EARNINGS_HISTORY_SUCCESS:\r\n return [...action.data];\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/earnings-history/earnings-history.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport extensions from './eft-history/extensions';\r\nimport date from './eft-history/date';\r\nimport items from './eft-history/items';\r\n\r\nconst eftHistory = combineReducers({\r\n extensions,\r\n date,\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('eftHistoryStatusLoadingStatus'),\r\n});\r\n\r\nexport default eftHistory;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history.reducer.js","import actionTypes from 'dashboard/actions/eft-history/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_EFT_EXTENSIONS_SUCCESS:\r\n return [...action.extensions];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history/extensions.js","import actionTypes from 'dashboard/actions/eft-history/action-types';\r\n\r\nexport default (state = null, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS:\r\n return action.date;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history/date.js","import actionTypes from 'dashboard/actions/eft-history/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_EFT_HISTORY_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history/items.js","import { combineReducers } from 'redux';\r\nimport retailers from './license-renewal/retailers';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\n\r\nconst licenseRenewal = combineReducers({\r\n retailers,\r\n isLoading: loadingStatusAccordingToReducer('licenseRenewalLoadingStatus'),\r\n});\r\n\r\nexport default licenseRenewal;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/license-renewal.reducer.js","import actionTypes from 'dashboard/actions/license-renewal/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LICENSE_RENEWAL_SUCCESS: {\r\n return [...action.data];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/license-renewal/retailers.js","import actionTypes from '../actions/lvm-sales-history/action-types';\r\n\r\nconst initialState = {\r\n data: [],\r\n isLoading: false,\r\n total: [],\r\n};\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LVM_SALES_HISTORY_REQUEST:\r\n case actionTypes.FETCH_LVM_SALES_HISTORY_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_LVM_SALES_HISTORY_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n data: action.data,\r\n };\r\n case actionTypes.FETCH_LVM_SALES_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n total: action.total,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/lvm-sales-history.reducer.js","import { combineReducers } from 'redux';\r\nimport netSalesSummary from './net-sales/net-sales-summary';\r\nimport isLoading from './net-sales/loading-status';\r\nimport instantGames from './net-sales/instant-games';\r\nimport drawGames from './net-sales/draw-games';\r\n\r\nconst netSales = combineReducers({\r\n netSalesSummary,\r\n isLoading,\r\n instantGames,\r\n drawGames,\r\n});\r\n\r\nexport default netSales;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales.reducer.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_SUCCESS:\r\n return { ...action.netSalesSummary };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/net-sales-summary.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_REQUEST:\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_FAILURE:\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_SUCCESS:\r\n case actionTypes.FETCH_NET_SALES_DETAILS_REQUEST:\r\n case actionTypes.FETCH_NET_SALES_DETAILS_FAILURE:\r\n case actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS: {\r\n return action.isLoading;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/loading-status.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS:\r\n return { ...action.netSalesDetails.instantGames };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/instant-games.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS:\r\n return { ...action.netSalesDetails.drawGames };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/draw-games.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport data from './site-financial-status/site-financial-status';\r\n\r\nconst siteFinancialStatus = combineReducers({\r\n data,\r\n isLoading: loadingStatusAccordingToReducer('siteFinancialStatusLoadingStatus'),\r\n\r\n});\r\n\r\nexport default siteFinancialStatus;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-financial-status.reducer.js","import actionTypes from 'dashboard/actions/site-financial-status/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SITE_FINANCIAL_STATUS_SUCCESS:\r\n return { ...action.data };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-financial-status/site-financial-status.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport retailers from './site-operational-status/retailers';\r\nimport isEmpty from './site-operational-status/isSiteOperationalStatusEmpty';\r\n\r\n\r\nconst siteOperationalStatus = combineReducers({\r\n retailers,\r\n isEmpty,\r\n isLoading: loadingStatusAccordingToReducer('siteOperationalStatusLoadingStatus'),\r\n\r\n});\r\n\r\nexport default siteOperationalStatus;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-operational-status.reducer.js","import actionTypes from 'dashboard/actions/site-operational-status/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: {\r\n return [...action.retailers];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-operational-status/retailers.js","import isEmpty from 'lodash/isEmpty';\r\nimport actionTypes from 'dashboard/actions/site-operational-status/action-types';\r\n\r\nexport default (state = true, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: {\r\n return isEmpty(action.retailers);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-operational-status/isSiteOperationalStatusEmpty.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport list from './linked-retailers/list';\r\n\r\nconst linkedRetailers = combineReducers({\r\n list,\r\n isSaving: loadingStatusAccordingToReducer('linkedRetailersSavingStatus'),\r\n isLoading: loadingStatusAccordingToReducer('linkedRetailersLoadingStatus'),\r\n});\r\n\r\nexport default linkedRetailers;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/linked-retailers.reducer.js","import actionTypes from 'user/actions/linked-retailers.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LINKED_RETAILERS_SUCCESS:\r\n return [...action.list];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/linked-retailers/list.js","import actionTypes from 'user/actions/trusted-devices.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TRUSTED_DEVICES_SUCCESS:\r\n return [...action.devices];\r\n case actionTypes.DELETE_TRUSTED_DEVICE_SUCCESS:\r\n return state.filter((device) => device.uuid !== action.uuid);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/trusted-devices.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/user.reducer.js","import actionTypes from '../actions/users.action-types';\r\n\r\nexport const initialState = {\r\n items: [],\r\n isLoading: false,\r\n pagination: {},\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USERS_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n pagination: { ...action.pagination },\r\n items: [...action.content],\r\n };\r\n case actionTypes.FETCH_USERS_REQUEST:\r\n case actionTypes.FETCH_USERS_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/users.reducer.js","import backendVersion from '../rw-app-version/reducers/backend-app-version';\r\n\r\nexport default backendVersion;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/backend-version.reducer.js","import actionTypes from '../actions/app-version.action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BE_APP_VERSION_SUCCESS:\r\n return action.version;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-app-version/reducers/backend-app-version.js","import { combineReducers } from 'redux';\r\nimport url from './poster/poster-url';\r\n\r\nconst poster = combineReducers({\r\n url,\r\n});\r\n\r\nexport default poster;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/poster.reducer.js","import actionTypes from 'utils/actions/action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_POSTER_URL_SUCCESS: {\r\n return action.url;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/poster/poster-url.js","import privacyPolicy from '../rw-privacy-policy/components/reducers/privacy-policy';\r\n\r\nexport default privacyPolicy;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/privacy-policy.reducer.js","import { combineReducers } from 'redux';\r\nimport content from './privacy-policy-content';\r\nimport hasError from './privacy-policy-error';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\nconst privacyPolicy = combineReducers({\r\n content,\r\n hasError,\r\n isLoading: loadingStatusAccordingToReducer('privacyPolicyLoadingStatus'),\r\n});\r\n\r\nexport default privacyPolicy;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy.js","import actionTypes from '../actions/privacy-policy.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVACY_POLICY_SUCCESS:\r\n return [...action.content];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-content.js","import actionTypes from '../actions/privacy-policy.action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVACY_POLICY_REQUEST:\r\n case actionTypes.FETCH_PRIVACY_POLICY_SUCCESS:\r\n case actionTypes.FETCH_PRIVACY_POLICY_FAILURE:\r\n return action.hasError;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-error.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RETAILER_DETAILS_SUCCESS:\r\n return { ...action.details };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/retailer-details.reducer.js","import subordinateList from '../rw-subordinates/reducers/subordinate-list-combine';\r\n\r\nexport default subordinateList;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/subordinate-list.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport list from './subordinate-list';\r\nimport selectedRetailer from './selected-retailer';\r\n\r\n\r\nconst subordinateList = combineReducers({\r\n list,\r\n selectedRetailer,\r\n isLoading: loadingStatusAccordingToReducer('subordinateListLoadingStatus'),\r\n});\r\n\r\nexport default subordinateList;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/reducers/subordinate-list-combine.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SUBORDINATE_LIST_SUCCESS:\r\n return [...action.list];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/reducers/subordinate-list.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.SELECT_RETAILER:\r\n return { ...action.retailer };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/reducers/selected-retailer.js","import termsOfUse from '../rw-terms-of-use/components/reducers/terms-of-use';\r\n\r\nexport default termsOfUse;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/terms-of-use.reducer.js","import { combineReducers } from 'redux';\r\nimport content from './terms-of-use-content';\r\nimport hasError from './terms-of-use-error';\r\nimport attachments from './terms-of-use-attachments';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\nconst termsOfUse = combineReducers({\r\n content,\r\n hasError,\r\n attachments,\r\n isLoading: loadingStatusAccordingToReducer('termsOfUseLoadingStatus'),\r\n});\r\n\r\nexport default termsOfUse;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use.js","import actionTypes from '../actions/terms-of-use.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TERMS_OF_USE_SUCCESS:\r\n return { ...action.content.fields };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-content.js","import actionTypes from '../actions/terms-of-use.action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TERMS_OF_USE_REQUEST:\r\n case actionTypes.FETCH_TERMS_OF_USE_SUCCESS:\r\n case actionTypes.FETCH_TERMS_OF_USE_FAILURE:\r\n return action.hasError;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-error.js","import actionTypes from '../actions/terms-of-use.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TERMS_OF_USE_SUCCESS:\r\n return { ...action.content.attachments };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-attachments.js","import { combineReducers } from 'redux';\r\nimport activeTab from './active-tab/active-tab';\r\nimport selectedLanguage from './selected-language/selected-language';\r\nimport pagination from './pagination/pagination';\r\nimport sosPagination from './pagination/sosPagination';\r\nimport sortingFunction from './sorting-function/sorting-function';\r\nimport error from './error/error';\r\nimport { createNamedReducer } from './createNamedReducer';\r\n\r\nconst ui = combineReducers({\r\n activeTab: createNamedReducer(activeTab, 'activeTab'),\r\n detailsDialogActiveTab: createNamedReducer(activeTab, 'detailsDialogActiveTab'),\r\n endingGamesActiveTab: createNamedReducer(activeTab, 'endingGamesActiveTab'),\r\n selectedLanguage,\r\n pagination,\r\n sosPagination,\r\n sortingFunction,\r\n error,\r\n});\r\n\r\nexport default ui;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/ui.reducer.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_ACTIVE_TAB: {\r\n return action.tab;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/active-tab/active-tab.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_SELECTED_LANGUAGE: {\r\n return action.selectedLanguage;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/selected-language/selected-language.js","import DepsService from 'services/dependencies';\r\nimport {\r\n INSTANT_GAME_TYPE,\r\n DRAW_GAME_TYPE,\r\n VLT_GAME_TYPE,\r\n} from '../actions/game-images.actions';\r\n\r\nconst CONTEXT = 'game-images';\r\n\r\nexport const getGameType = (type) => {\r\n switch (type) {\r\n case INSTANT_GAME_TYPE:\r\n return 'S';\r\n case DRAW_GAME_TYPE:\r\n return 'O';\r\n case VLT_GAME_TYPE:\r\n return 'V';\r\n default:\r\n return 'V';\r\n }\r\n};\r\n\r\nexport const fetchGameImages = async (type, params) => {\r\n const { url } = DepsService.rest.cms.gameImages.get;\r\n const queryParams = { ...params };\r\n const urlParams = { type };\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateGameImages = async (type, gameId, image) => {\r\n const { url } = DepsService.rest.cms.gameImages.update;\r\n const queryParams = { image };\r\n const gameType = getGameType(type);\r\n const urlParams = { gameType, gameId };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/game-images.api.js","import siteOperationalStatusActions from 'dashboard/actions/site-operational-status/action-types';\r\nimport { createPaginationObject } from 'utils/reducers/pagination/pagination';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case siteOperationalStatusActions.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: {\r\n return createPaginationObject(action.pagination);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/pagination/sosPagination.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_SORTING_FUNCTION:\r\n return action.sortingFunction;\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/sorting-function/sorting-function.js","import utilsActions from 'utils/actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case utilsActions.DOWNLOAD_POSTER_REQUEST:\r\n case utilsActions.FETCH_POSTER_URL_REQUEST:\r\n case utilsActions.DOWNLOAD_POSTER_FAILURE:\r\n case utilsActions.FETCH_POSTER_URL_FAILURE: {\r\n return {\r\n ...state,\r\n ...action.error,\r\n };\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/error/error.js","export function createNamedReducer(reducerFunction, reducerName) {\r\n return (state, action) => {\r\n const { name } = action;\r\n const isInitializationCall = state === undefined;\r\n if (name !== reducerName && !isInitializationCall) return state;\r\n\r\n return reducerFunction(state, action);\r\n };\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/createNamedReducer.js","import { RECEIVE_TERM_BY_ID, RECEIVE_TERMS } from '../actions/terms-preview.actions';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case RECEIVE_TERM_BY_ID:\r\n return {\r\n ...state,\r\n selectedTerm: { ...action.selectedTerm },\r\n };\r\n case RECEIVE_TERMS:\r\n return {\r\n list: [...action.list.reverse()],\r\n ...state,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/terms-preview/reducers/terms-preview.reducer.js","import { SET_SUBTYPE, SET_TYPE, CLEAR_RETAILER_DASHBOARDS } from '../actions/retailer-dashboards.actions';\r\n\r\nconst initialState = {\r\n type: '',\r\n subtype: 'summary',\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_TYPE: {\r\n return { ...state, type: action.payload, subtype: 'summary' };\r\n }\r\n case SET_SUBTYPE: {\r\n return { ...state, subtype: action.payload };\r\n }\r\n case CLEAR_RETAILER_DASHBOARDS: {\r\n return initialState;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-dashboards/reducers/retailer-dashboards.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport const initialState = {\r\n isLoading: false,\r\n error: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.DOWNLOAD_REPORTS_PACK_REQUEST:\r\n case actionTypes.DOWNLOAD_REPORTS_PACK_SUCCESS:\r\n case actionTypes.DOWNLOAD_REPORTS_PACK_FAILURE:\r\n return {\r\n isLoading: action.isLoading,\r\n error: action.error,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/download-report-page/reducers/download-report-page.reducer.js","import _ from 'lodash';\r\n\r\nimport authValidators from 'auth/validators/action-validators';\r\nimport contactValidators from 'contact/validators/action-validators';\r\nimport documentsValidators from 'documents/validators/action-validators';\r\nimport emailNotificationTemplatesValidators from 'email-notification-templates/validators/action-validators';\r\nimport smsValidators from 'sms/validators/action-validators';\r\nimport faqValidators from 'faq/validators/action-validators';\r\nimport privilegeTemplatesValidators from 'privilege-templates/validators/action-validators';\r\nimport registrationValidators from 'registration/validators/action-validators';\r\nimport reportSubscriptionsValidators from 'report-subscriptions/validators/action-validators';\r\nimport retailerReportsValidators from 'retailer-reports/validators/action-validators';\r\nimport securityValidators from 'security/validators/action-validators';\r\nimport storeProfilesValidators from 'store-profiles/validators/action-validators';\r\nimport manageInventoryValidators from 'manage-inventory/validators/action-validators';\r\nimport dashboardValidators from 'dashboard/validators/action-validators';\r\nimport userValidators from 'user/validators/action-validators';\r\n\r\nconst initialState = {\r\n validators: _.merge(\r\n authValidators,\r\n contactValidators,\r\n documentsValidators,\r\n emailNotificationTemplatesValidators,\r\n smsValidators,\r\n faqValidators,\r\n privilegeTemplatesValidators,\r\n registrationValidators,\r\n reportSubscriptionsValidators,\r\n retailerReportsValidators,\r\n securityValidators,\r\n storeProfilesValidators,\r\n manageInventoryValidators,\r\n dashboardValidators,\r\n userValidators,\r\n userValidators,\r\n ),\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/app.reducer.js","import _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\n\r\nfunction canEditDocuments(model) {\r\n const userRole = _.get(model, 'session.role');\r\n return roles.ADMIN_ROLES.indexOf(userRole) >= 0;\r\n}\r\n\r\nfunction canShowHeader(model) {\r\n const userRole = _.get(model, 'session.role');\r\n return roles.ADMIN_ROLES.indexOf(userRole) >= 0;\r\n}\r\n\r\nconst permissions = {\r\n 'documents.editDocuments': [canEditDocuments],\r\n 'documents.showHeader': [canShowHeader],\r\n};\r\n\r\nexport default permissions;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/store-profiles/validators/action-validators.js","import _ from 'lodash';\r\nimport appHelpers from 'app/app-helpers';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n items: {},\r\n interval: 3000,\r\n draft: false,\r\n isLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BANNERS_REQUEST:\r\n case actionTypes.FETCH_BANNERS_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n items: {},\r\n };\r\n case actionTypes.FETCH_BANNERS_SUCCESS: {\r\n const items = _.groupBy(action.result.entries, 'locale');\r\n action.locales.forEach((locale) => {\r\n items[locale.code] = items[locale.code]\r\n ? items[locale.code].reduce((bannerArr, entry) => {\r\n const fields = appHelpers.getFieldsFromEntry(entry)[entry.locale];\r\n return bannerArr.concat({ ...fields, id: entry.id });\r\n }, [])\r\n : [];\r\n });\r\n const { interval } = action.result.properties;\r\n const draft = action.result.versionType === 'DRAFT';\r\n\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n items: { ...items },\r\n interval,\r\n draft,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/banners.reducer.js","import _ from 'lodash';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CONFIG_SUCCESS: {\r\n return _.cloneDeep(action.config);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/config.reducer.js","import { SET_DICT_BY_NAME } from '../actions/dictionaries.actions';\r\n\r\nconst initialState = {\r\n userTemplates: [],\r\n userClasses: {},\r\n reportName: [],\r\n reportNames: [],\r\n reportCategories: [],\r\n transformationTypes: [],\r\n reportExtensions: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_DICT_BY_NAME: {\r\n return { ...state, [action.payload.name]: action.payload.items };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries.reducer.js","import { combineReducers } from 'redux';\r\nimport pricePoints from './dictionaries/price-point-dictionary';\r\nimport packStatuses from './dictionaries/pack-statuses-dictionary';\r\nimport orderStatuses from './dictionaries/order-statuses-dictionary';\r\nimport userClass from './dictionaries/user-class-dictionary';\r\nimport reportCategories from './dictionaries/report-categories-dictionary';\r\nimport tiers from './dictionaries/tiers-dictionary';\r\nimport terms from './dictionaries/lottery-terms-dictionary';\r\nimport privilegeDisplayTypes from './dictionaries/privilege-display-types-dictionary';\r\nimport inquiryReasons from './dictionaries/inquiry-reasons-dictionary';\r\n\r\nimport invoiceDates from './dictionaries/invoice-dates-dictionary';\r\nimport userTemplates from './dictionaries/user-templates-dictionary';\r\nimport outletTypes from './dictionaries/outlet-types-dictionary';\r\nimport sftpAuthenticationTypes from './dictionaries/sftp-authentication-types';\r\nimport activityEvents from './dictionaries/activity-events-dictionary';\r\n\r\nconst dictionary = combineReducers({\r\n pricePoints,\r\n packStatuses,\r\n orderStatuses,\r\n userClass,\r\n reportCategories,\r\n tiers,\r\n invoiceDates,\r\n userTemplates,\r\n outletTypes,\r\n sftpAuthenticationTypes,\r\n activityEvents,\r\n terms,\r\n privilegeDisplayTypes,\r\n inquiryReasons,\r\n});\r\n\r\nexport default dictionary;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionary.reducer.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRICE_POINTS_DICTIONARY_SUCCESS:\r\n return { ...action.pricePoints };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/price-point-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACK_STATUSES_DICTIONARY_SUCCESS:\r\n return { ...action.packStatuses };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/pack-statuses-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS:\r\n return { ...action.orderStatuses };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/order-statuses-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USER_CLASS_DICTIONARY_SUCCESS:\r\n return { ...action.userClass };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/user-class-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS:\r\n return { ...action.categories };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/report-categories-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TIERS_DICTIONARY_SUCCESS: {\r\n return { ...action.dictionary };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/tiers-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS:\r\n return { ...action.terms };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/lottery-terms-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS: {\r\n return { ...action.displayTypes };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/privilege-display-types-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS: {\r\n return [...action.dictionary];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/inquiry-reasons-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INVOICE_DATES_DICTIONARY_SUCCESS: {\r\n return [ ...action.dates ];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/invoice-dates-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS:\r\n return { ...action.templates };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/user-templates-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS:\r\n return { ...action.outletTypes };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/outlet-types-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS: {\r\n return { ...action.types };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/sftp-authentication-types.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS:\r\n return { ...action.activityEvents };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/activity-events-dictionary.js","import { CLEAR_DIRTY_FORM, SET_DIRTY_FORM } from '../actions/dirty-forms.actions';\r\n\r\nconst initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case CLEAR_DIRTY_FORM:\r\n return { ...initialState };\r\n case SET_DIRTY_FORM: {\r\n return { ...state, [action.payload.form]: action.payload.value };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dirty-forms.reducer.js","import actionTypes from '../actions/game-images.actions';\r\n\r\nconst initialState = {\r\n games: [],\r\n newImages: [],\r\n isLoading: false,\r\n isSaving: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_GAME_IMAGES_REQUEST:\r\n case actionTypes.FETCH_GAME_IMAGES_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n games: [],\r\n };\r\n case actionTypes.FETCH_GAME_IMAGES_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n games: [...action.games],\r\n };\r\n case actionTypes.UPDATE_GAME_IMAGES:\r\n const image = state.newImages.find((game) => game.gameId === action.gameImage.gameId);\r\n\r\n if (image) {\r\n const newImages = state.newImages.map((image) => {\r\n if (image.gameId === action.gameImage.gameId) {\r\n return { ...action.gameImage };\r\n }\r\n return image;\r\n });\r\n\r\n return {\r\n ...state,\r\n newImages,\r\n };\r\n }\r\n return {\r\n ...state,\r\n newImages: [...state.newImages, action.gameImage],\r\n };\r\n case actionTypes.CLEAR_GAME_IMAGES:\r\n return {\r\n ...state,\r\n newImages: [],\r\n };\r\n case actionTypes.UPDATE_GAME_IMAGES_REQUEST:\r\n case actionTypes.UPDATE_GAME_IMAGES_FAILURE:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n };\r\n case actionTypes.UPDATE_GAME_IMAGES_SUCCESS:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n newImages: state.newImages.filter((newImage) => newImage.gameId !== action.game.id),\r\n games: state.games.map((game) => {\r\n if (game.id !== action.game.id) {\r\n return game;\r\n }\r\n return {\r\n ...game,\r\n imageURL: action.game.imageURL,\r\n };\r\n }),\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/game-images.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/home.reducer.js","import _ from 'lodash';\r\nimport appHelpers from 'app/app-helpers';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n current: {},\r\n draft: false,\r\n properties: {},\r\n isLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LOGIN_POPUP_REQUEST:\r\n case actionTypes.FETCH_LOGIN_POPUP_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: {},\r\n };\r\n case actionTypes.FETCH_LOGIN_POPUP_SUCCESS: {\r\n const popups = action.result.entries.reduce((popupArr, entry) => {\r\n const newEntry = _.cloneDeep(entry);\r\n newEntry.fields = appHelpers.getFieldsFromEntry(entry);\r\n return popupArr.concat(newEntry);\r\n }, []);\r\n const draft = action.result.versionType === 'DRAFT';\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: popups[0] || {},\r\n draft,\r\n properties: { ...action.result.properties },\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/login-popup.reducer.js","import actionTypes from '../actions/manage-configurable-link.actions';\r\n\r\nconst initialState = {\r\n entries: [],\r\n isLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CONFIGURABLE_LINK_REQUEST:\r\n case actionTypes.FETCH_CONFIGURABLE_LINK_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_CONFIGURABLE_LINK_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n entries: [...action.entries],\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/manage-configurable-link.reducer.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'manage-configurable-link';\r\n\r\nexport const fetchConfigurableLink = async (locale) => {\r\n const url = DepsService.rest.widgets.configurableLink.url;\r\n const urlParams = { };\r\n const queryParams = { locale };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateConfigurableLink = async (entries) => {\r\n const url = DepsService.rest.cms.configurableLink.url;\r\n const data = { entries };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, data);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/manage-configurable-link.api.js","import actionTypes from '../actions/manage-icons.actions';\r\n\r\nconst initialState = {\r\n entries: [],\r\n entriesDeleted: [],\r\n isLoading: false,\r\n iconsApprovalStatus: null,\r\n error: '',\r\n notification: '',\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ICONS_REQUEST:\r\n case actionTypes.FETCH_ICONS_FAILURE:\r\n case actionTypes.DISCARD_CHANGES_FAILURE:\r\n case actionTypes.DISCARD_CHANGES_REQUEST:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.DISCARD_CHANGES_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n notification: action.notification,\r\n };\r\n case actionTypes.FETCH_ICONS_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n entries: [...action.entries],\r\n iconsApprovalStatus: action.versionType,\r\n };\r\n case actionTypes.UPLOAD_ICON_REQUEST:\r\n case actionTypes.UPLOAD_ICON_FAILURE:\r\n return {\r\n ...state,\r\n isFileUploading: action.isFileUploading,\r\n };\r\n case actionTypes.UPLOAD_ICON_SUCCESS:\r\n return {\r\n ...state,\r\n isFileUploading: action.isFileUploading,\r\n notification: action.notification,\r\n iconsApprovalStatus: action.iconsApprovalStatus,\r\n };\r\n case actionTypes.SELECT_ICON_REQUEST: {\r\n return {\r\n ...state,\r\n startFileSelection: action.startFileSelection,\r\n };\r\n }\r\n case actionTypes.SELECT_ICON_FAILURE:\r\n return {\r\n ...state,\r\n startFileSelection: action.startFileSelection,\r\n error: action.error,\r\n };\r\n case actionTypes.SELECT_ICON_SUCCESS:\r\n return {\r\n ...state,\r\n startFileSelection: action.startFileSelection,\r\n notification: action.notification,\r\n entries: [...[action.icon], ...state.entries],\r\n };\r\n\r\n case actionTypes.DELETE_ICON:\r\n return {\r\n ...state,\r\n notification: action.notification,\r\n entries: state.entries.filter((icon) => icon !== action.icon),\r\n entriesDeleted: [...[action.icon], ...state.entriesDeleted],\r\n };\r\n case actionTypes.CANCEL_CHANGES:\r\n return {\r\n ...state,\r\n entries: [\r\n ...state.entries.filter((icon) => icon.id !== undefined),\r\n ...state.entriesDeleted,\r\n ],\r\n entriesDeleted: initialState.entriesDeleted,\r\n };\r\n case actionTypes.CLEAR_NOTIFICATIONS:\r\n return {\r\n ...state,\r\n error: action.error,\r\n notification: action.notification,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/manage-icons.reducer.js","import actionTypes from '../actions/media-templates.actions';\r\n\r\nconst initialState = {\r\n entries: [],\r\n fonts: [],\r\n isLoading: false,\r\n isSaving: false,\r\n error: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_MEDIA_TEMPLATE_REQUEST:\r\n case actionTypes.FETCH_MEDIA_TEMPLATE_FAILURE:\r\n case actionTypes.FETCH_FONTS_REQUEST:\r\n case actionTypes.FETCH_FONTS_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_MEDIA_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n entries: [...action.entries],\r\n };\r\n case actionTypes.FETCH_FONTS_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n fonts: [...action.fonts],\r\n };\r\n case actionTypes.UPDATE_MEDIA_TEMPLATE_REQUEST:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n };\r\n case actionTypes.UPDATE_MEDIA_TEMPLATE_FAILURE:\r\n case actionTypes.UPDATE_MEDIA_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n error: action.error,\r\n };\r\n case actionTypes.PREVIEW_MEDIA_TEMPLATE_REQUEST:\r\n return {\r\n ...state,\r\n isPreviewing: action.isPreviewing,\r\n };\r\n case actionTypes.PREVIEW_MEDIA_TEMPLATE_FAILURE:\r\n case actionTypes.PREVIEW_MEDIA_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n isPreviewing: action.isPreviewing,\r\n error: action.error,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/media-templates.reducer.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'media-templates';\r\n\r\nexport const fetchMediaTemplate = async (posterName) => {\r\n const url = DepsService.rest.cms.mediaTemplate.get.url;\r\n const urlParams = { posterName };\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateMediaTemplate = async (data) => {\r\n const url = DepsService.rest.cms.mediaTemplate.update.url;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, data);\r\n};\r\n\r\nexport const previewMediaTemplate = async (previewData) => {\r\n const url = DepsService.rest.cms.mediaTemplate.preview.url;\r\n const urlParams = {};\r\n const headers = {\r\n responseType: 'arraybuffer',\r\n };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, previewData, urlParams, headers);\r\n};\r\n\r\nexport const fetchFonts= async () => {\r\n const url = DepsService.rest.cms.mediaTemplate.fonts.url;\r\n const urlParams = {};\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/media-templates.api.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n fields: {},\r\n attachments: {},\r\n title: '',\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CMS_TERMS_OF_USE_SUCCESS:\r\n case actionTypes.FETCH_CMS_PRIVACY_POLICY_SUCCESS: {\r\n return {\r\n fields: cloneDeep(action.response.fields),\r\n attachments: cloneDeep(action.response.attachments),\r\n title: action.response.title,\r\n };\r\n }\r\n case actionTypes.CLEAR_CMS_TERMS: {\r\n return initialState;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/terms-management.reducer.js","import { combineReducers } from 'redux';\r\n\r\nimport colors from './theme/colors';\r\nimport error from './theme/error';\r\n\r\nconst theme = combineReducers({\r\n colors,\r\n error,\r\n});\r\n\r\nexport default theme;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/theme.reducer.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_CURRENT_THEME_SUCCESS: {\r\n return [...action.theme];\r\n }\r\n case actionTypes.UPDATE_THEME_COLOR_SUCCESS: {\r\n return state.map((color) => {\r\n if (color.id === action.color.id) {\r\n return {\r\n ...action.color,\r\n };\r\n }\r\n\r\n return color;\r\n });\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/theme/colors.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.SAVE_THEME_FAILURE:\r\n case actionTypes.SAVE_THEME_REQUEST: {\r\n return action.error;\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/theme/error.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './widgets/items';\r\nimport copyItems from './widgets/copy-items';\r\nimport draft from './widgets/draft';\r\nimport isMaintenance from './widgets/is-maintenance';\r\n\r\nconst widgets = combineReducers({\r\n items,\r\n copyItems,\r\n draft,\r\n isMaintenance,\r\n isLoading: loadingStatusAccordingToReducer('widgetsLoadingStatus'),\r\n});\r\n\r\nexport default widgets;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets.reducer.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/items.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return action.home ? [] : cloneDeep(action.items);\r\n case actionTypes.CANCEL_WIDGETS_CHANGES:\r\n return [...action.copyItems];\r\n case actionTypes.ADD_WIDGET:\r\n return [...state, action.widget];\r\n case actionTypes.UPDATE_WIDGET:\r\n return state.map((item, index) => (index === action.index ? { ...item, ...action.widget } : item));\r\n case actionTypes.DELETE_WIDGET:\r\n return [...state.slice(0, action.index), ...state.slice(action.index + 1)];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/copy-items.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return action.draft;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/draft.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return false;\r\n case actionTypes.FETCH_WIDGETS_FAILURE:\r\n return true;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/is-maintenance.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('auth-routing', []).config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider\r\n .state('auth-changePassword', {\r\n parent: 'arw',\r\n url: '/change-password',\r\n template: ``,\r\n params: {\r\n skipDirtyForms: false,\r\n email: null,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Change Password')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n resetSession: appFactory.dispatch('auth.resetSession', true),\r\n validateField: appFactory.uiHelpers.validateField,\r\n }),\r\n ],\r\n },\r\n })\r\n .state('auth-resetPassword', {\r\n parent: 'arw',\r\n url: '/forgot-passwd',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n hideMenu: true,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Forgot Password')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('auth-forgotUsername', {\r\n parent: 'arw',\r\n url: '/forgot-username',\r\n template: `\r\n `,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n hideMenu: true,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Forgot Email')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n remindUsername: appFactory.dispatch('auth.remindUsername', true),\r\n }),\r\n ],\r\n },\r\n })\r\n .state('user-logout', {\r\n parent: 'arw',\r\n url: '/logout',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n ($ngRedux) => {\r\n $ngRedux.dispatch(changePageTitle(null));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n logout: [\r\n 'appFactory',\r\n '$state',\r\n 'toastr',\r\n (appFactory, $state, toastr) => {\r\n toastr.clear();\r\n const registrationConfirm = $state.current.name === 'registration-complete';\r\n return appFactory.dispatch('auth.logout', true).run(registrationConfirm);\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/auth-routing-module.js","import angular from 'angular';\r\nimport resetAccountPasswordRouting from './reset-account-password-routing-module';\r\nimport ResetAccountPasswordComponent from './components/reset-account-password/reset-account-password-component';\r\nimport ResetPasswordButtonComponent from './components/reset-password-button/reset-password-button-component';\r\n\r\nexport default angular\r\n .module('reset-account-password', [resetAccountPasswordRouting.name])\r\n .component('resetAccountPassword', new ResetAccountPasswordComponent())\r\n .component('resetPasswordButton', new ResetPasswordButtonComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/reset-account-password-module.js","import angular from 'angular';\r\n\r\nexport default angular.module('reset-account-password-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('user-resetAccountPassword', {\r\n parent: 'arw',\r\n url: '/reset-account-password/{userId:[0-9]*}',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/reset-account-password-routing-module.js","import _ from 'lodash';\r\nimport {\r\n loadUserById,\r\n getPasswordResetQuestions,\r\n resetAccountPassword,\r\n forceResetAccountPassword,\r\n} from 'user/resources/user.api';\r\nimport resetAccountPasswordTemplate from './reset-account-password.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', 'gettextCatalog', 'Notifications')\r\nclass ResetAccountPasswordController {\r\n constructor() {\r\n this.userId = this.$state.params.userId;\r\n }\r\n\r\n $onInit() {\r\n if (this.userId) {\r\n loadUserById(this.userId)\r\n .then((user) => {\r\n this.username = user.username;\r\n return getPasswordResetQuestions(this.username)\r\n .then((result) => {\r\n this.passwordResetQuestions = result.questions;\r\n this.questionsAndAnswers = {\r\n questions: _.clone(result.questions),\r\n answers: _.map(result.questions, () => ''),\r\n };\r\n });\r\n });\r\n } else {\r\n this.$state.go('user-manageUsers', { skipDirtyForms: true });\r\n }\r\n }\r\n\r\n forceSubmitForm() {\r\n forceResetAccountPassword(this.username)\r\n .then(() => this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Force Password Reset Success!'),\r\n ).result)\r\n .then(() => this.cancelForm());\r\n }\r\n\r\n submitForm(form) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n const questionsAndAnswers = this.evalResetData();\r\n\r\n resetAccountPassword(this.username, questionsAndAnswers)\r\n .then(() => this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Password Reset Success!'),\r\n ).result)\r\n .then(() => {\r\n form.$setPristine();\r\n return this.cancelForm();\r\n });\r\n }\r\n\r\n evalResetData() {\r\n const questionsAndAnswers = {\r\n questions: [],\r\n answers: [],\r\n };\r\n\r\n if (this.questionsAndAnswers.answers[0]) {\r\n questionsAndAnswers.questions.push(this.questionsAndAnswers.questions[0]);\r\n questionsAndAnswers.answers.push(this.questionsAndAnswers.answers[0]);\r\n }\r\n if (this.questionsAndAnswers.answers[1]) {\r\n questionsAndAnswers.questions.push(this.questionsAndAnswers.questions[1]);\r\n questionsAndAnswers.answers.push(this.questionsAndAnswers.answers[1]);\r\n }\r\n return questionsAndAnswers;\r\n }\r\n\r\n cancelForm() {\r\n this.$state.go('user-viewAccountDetails', { id: this.userId });\r\n }\r\n}\r\n\r\nexport default class ResetAccountPasswordComponent {\r\n constructor() {\r\n this.template = resetAccountPasswordTemplate;\r\n this.controller = ResetAccountPasswordController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password-component.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n You should only reset a user’s password if they have explicitly requested it, and only if they are able to answer one of the following security questions. If a user is unable to answer a security question, you have the option to force reset their password. Only do this if you are sure that the person requesting the reset is the registered user. Upon successful password reset, the system shall email the user a temporary password.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Security answer.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Security answer\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Force Password Reset\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password.html\n// module id = 1173\n// module chunks = 0","import { forceResetAccountPassword } from 'user/resources/user.api';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport resetPasswordButtonTemplate from './reset-password-button.html';\r\nimport resetPasswordDialogTemplate from './reset-password-confirm-dialog.html';\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass ResetPasswordButtonController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(null, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.canUseResetForm = this.checkAccess('user.canUseResetForm');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n resetPassword() {\r\n return this.canUseResetForm ? this.onShowResetPasswordConfirm() : this.forceSubmitForm();\r\n }\r\n\r\n forceSubmitForm() {\r\n forceResetAccountPassword(this.username)\r\n .then(() => this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Force Password Reset Success!'),\r\n ).result)\r\n .then(() => this.cancelForm());\r\n }\r\n\r\n onShowResetPasswordConfirm() {\r\n return this.Notifications.showComplexDialog({\r\n template: resetPasswordDialogTemplate,\r\n resolve: {\r\n username: () => this.username,\r\n },\r\n }).result.then(() => {\r\n this.$state.go('user-resetAccountPassword', {\r\n userId: this.userId,\r\n skipDirtyForms: true,\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport default class ResetPasswordButtonComponent {\r\n constructor() {\r\n this.template = resetPasswordButtonTemplate;\r\n this.controller = ResetPasswordButtonController;\r\n this.bindings = {\r\n username: '<',\r\n userId: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button-component.js","module.exports = \"\\r\\n \\r\\n Reset password\\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button.html\n// module id = 1175\n// module chunks = 0","module.exports = \"
\\r\\n

Reset password

\\r\\n
\\r\\n
\\r\\n

\\r\\n Are you sure you want to reset {{ $ctrl.username }}’s password?\\r\\n

\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-confirm-dialog.html\n// module id = 1176\n// module chunks = 0","import angular from 'angular';\r\nimport ForgotPasswordComponent from './forgot-password-component';\r\n\r\nexport default angular\r\n .module('forgot-password', [])\r\n .component('forgotPassword', new ForgotPasswordComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/forgot-password/forgot-password-module.js","import isEmpty from 'lodash/isEmpty';\r\n\r\nimport api from 'auth/resources/forgot-password.api';\r\n\r\nimport successModalTpl from './views/success-confirm-modal.html';\r\nimport forgotPassTpl from './forgot-password.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', 'gettextCatalog', 'Notifications')\r\nclass ForgotPasswdController {\r\n $onInit() {\r\n this.securityQuestions = null;\r\n this.securityAnswers = null;\r\n }\r\n\r\n redirect() {\r\n this.$state.go('home-view');\r\n }\r\n\r\n async applyEmail(passwordResetForm) {\r\n passwordResetForm.$setSubmitted();\r\n\r\n if (passwordResetForm.$invalid) return;\r\n\r\n const securityQuestions = await api.fetchSecurityQuestionsByUserName(this.email, this.captchaToken);\r\n\r\n if (isEmpty(securityQuestions)) {\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Unable to Reset Password'),\r\n this.gettextCatalog.getString('Sorry, you cannot reset your password because your registration has not been completed. Please follow instructions sent in authentication email to finish registration.'),\r\n ).result;\r\n\r\n this.redirect();\r\n } else {\r\n this.securityQuestions = securityQuestions;\r\n }\r\n }\r\n\r\n cancelResetPasswd() {\r\n this.redirect();\r\n }\r\n\r\n onQuestionChange(form) {\r\n form.$setPristine();\r\n form.$setUntouched();\r\n this.securityAnswer = '';\r\n this.attemptsLeft = null;\r\n }\r\n\r\n\r\n async forgotPassword(passwordResetForm) {\r\n try {\r\n this.attemptsLeft = null;\r\n const data = {\r\n username: this.email,\r\n challenges: [\r\n {\r\n questionId: this.securityQuestion,\r\n answer: this.securityAnswer,\r\n },\r\n ],\r\n };\r\n\r\n\r\n passwordResetForm.$setSubmitted();\r\n\r\n if (passwordResetForm.$invalid) return;\r\n\r\n await api.resetPassword(data);\r\n\r\n await this.Notifications.showComplexDialog({\r\n template: successModalTpl,\r\n }).result;\r\n\r\n this.redirect();\r\n } catch ({ data = {} }) {\r\n const { errors } = data;\r\n const [error] = errors;\r\n\r\n this.attemptsLeft = error.params.ATTEMPTS_LEFT;\r\n }\r\n }\r\n}\r\n\r\nexport default class ForgotPasswordComponent {\r\n constructor() {\r\n this.template = forgotPassTpl;\r\n this.controller = ForgotPasswdController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/forgot-password/forgot-password-component.js","module.exports = \"
\\r\\n

Success!

\\r\\n
\\r\\n
\\r\\n
\\r\\n We have emailed you a temporary password. You will be prompted to change it the next time you log in.\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-password/views/success-confirm-modal.html\n// module id = 1179\n// module chunks = 0","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Forgot Password\\r\\n \\r\\n
\\r\\n

\\r\\n \\r\\n Enter the email address associated with your account.\\r\\n \\r\\n

\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Please enter the email address you used to sign up.\\r\\n \\r\\n\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Captcha is required.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Forgot Password\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select Security Question\\r\\n \\r\\n \\r\\n \\r\\n {{ question.question }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Please select Security Question.\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Field is required.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Your answer does not match the answer you provided previously Please try again or select a different question ({{ $ctrl.attemptsLeft }} attempts remaining).\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-password/forgot-password.html\n// module id = 1180\n// module chunks = 0","import angular from 'angular';\r\nimport SetupTwoFactorDialogComponent from './components/setup-two-factor-dialog/setup-two-factor-dialog-component';\r\nimport ConfirmTwoFactorDialogComponent from './components/confirm-two-factor-dialog/confirm-two-factor-dialog-component';\r\n\r\nexport default angular\r\n .module('two-factor', [])\r\n .component('setupTwoFactorDialog', new SetupTwoFactorDialogComponent())\r\n .component('confirmTwoFactorDialog', new ConfirmTwoFactorDialogComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/two-factor/two-factor-module.js","import QRCode from 'qrcode';\r\nimport * as api from 'auth/resources/two-factor.api';\r\nimport { getApplicationName } from 'selectors';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { confirmTwoFactorCode } from 'auth/resources/two-factor.api';\r\nimport template from './setup-two-factor-dialog.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const applicationName = getApplicationName(state);\r\n\r\n return {\r\n applicationName,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SetupTwoFactorDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n async $onInit() {\r\n const response = await api.fetchTwoFactorSetup();\r\n this.secret = response.secret;\r\n this.imageQR = await QRCode.toDataURL(this.generateURI());\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n generateURI() {\r\n const username = encodeURIComponent(this.resolve.credentials.username);\r\n const issuer = encodeURIComponent(this.applicationName);\r\n return `otpauth://totp/${issuer}:${username}?secret=${this.secret}&issuer=${issuer}`;\r\n }\r\n\r\n async confirm() {\r\n try {\r\n const params = {\r\n resourceOwnerCredentials: this.resolve.credentials,\r\n secret: this.secret,\r\n code: this.code,\r\n remember: true,\r\n };\r\n const tokens = await api.confirmTwoFactorCode(params);\r\n this.close({ $value: tokens });\r\n } catch (error) {\r\n console.error(error);\r\n this.showErrorCode = true;\r\n }\r\n }\r\n}\r\nexport default class SetupTwoFactorDialogComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SetupTwoFactorDialogController;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog-component.js","module.exports = \"
\\r\\n

\\r\\n \\r\\n Set up Authenticator App\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n \\r\\n Step 1\\r\\n \\r\\n \\r\\n \\r\\n Visit the App Store to get an authenticator app like Google Authenticator or Microsoft Authenticator,\\r\\n then follow the app`s instructions to set up an account with them.\\r\\n \\r\\n

\\r\\n

\\r\\n \\r\\n \\r\\n Step 2\\r\\n \\r\\n \\r\\n \\r\\n Use your authenticator app to scan the barcode below or enter manually secret code.\\r\\n \\r\\n

\\r\\n
\\r\\n \\\"{{\\r\\n
\\r\\n
\\r\\n
Secret Code: {{ ::$ctrl.secret }}
\\r\\n
\\r\\n\\r\\n

\\r\\n \\r\\n \\r\\n Step 3\\r\\n \\r\\n \\r\\n \\r\\n Enter 6-digit code to confirm setup\\r\\n \\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n The code is invalid\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog.html\n// module id = 1205\n// module chunks = 0","import get from 'lodash/get';\r\nimport * as api from 'auth/resources/two-factor.api';\r\nimport template from './confirm-two-factor-dialog.html';\r\n\r\nclass ConfirmTwoFactorDialogController {\r\n async confirm() {\r\n try {\r\n const params = {\r\n resourceOwnerCredentials: this.resolve.credentials,\r\n code: this.code,\r\n remember: this.remember || false,\r\n };\r\n const tokens = await api.confirmTwoFactorCode(params);\r\n this.close({ $value: tokens });\r\n } catch (error) {\r\n console.error(error);\r\n this.showErrorCode = true;\r\n const errorCode = get(error, 'data.errors[0].code');\r\n if (['ACCOUNT_LOCKED', '2FA_CODE_BLOCKED'].includes(errorCode)) {\r\n this.close({ $value: error });\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport default class ConfirmTwoFactorDialogComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ConfirmTwoFactorDialogController;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog-component.js","module.exports = \"
\\r\\n

\\r\\n \\r\\n Two-factor authentication\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n Please enter the code generated by your mobile Authenticator app\\r\\n \\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n The code is invalid\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog.html\n// module id = 1207\n// module chunks = 0","import angular from 'angular';\r\nimport get from 'lodash/get';\r\nimport merge from 'lodash/merge';\r\nimport accountBlockedTpl from 'auth/components/login-form/views/account-blocked-modal.html';\r\nimport accountBlockedCtrl from 'auth/components/login-form/account-blocked-modal';\r\nimport alertModalTpl from '../views/alert-modal.html';\r\n\r\nexport default angular.module('auth-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = merge(appFactory.deps.config.errorCodes, {\r\n auth: {\r\n '-1': (params) => ({\r\n body: gettextCatalog.getString('Unexpected server error. Please try again later or call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n PASSWORD_ALREADY_USED: () => ({\r\n title: gettextCatalog.getString('Cannot reuse password'),\r\n body: gettextCatalog.getString(\"Cannot reuse old password. Last 3 passwords mustn't repeat.\"),\r\n template: alertModalTpl,\r\n }),\r\n ACCOUNT_NOT_FOUND: () => ({ title: gettextCatalog.getString('Account not found. Please contact the Lottery.') }),\r\n INVALID_USER_STATUS: () => ({ title: gettextCatalog.getString('Incorrect operation. Please contact the Lottery.') }),\r\n USER_NOT_FOUND: () => ({ title: gettextCatalog.getString('User not found.') }),\r\n BAD_CREDENTIALS: () => ({ title: gettextCatalog.getString('Incorrect credentials. Please try again.') }),\r\n USER_ALREADY_ACTIVATED: () => ({\r\n title: gettextCatalog.getString('User Account is already activated. Please login with your credentials.'),\r\n }),\r\n '2FA_NO_DEVICES': (params) => ({\r\n component: 'setupTwoFactorDialog',\r\n backdrop: 'static',\r\n size: 'lg',\r\n resolve: {\r\n credentials: () => get(params, 'payload.resourceOwnerCredentials', { username: '' }),\r\n },\r\n }),\r\n '2FA_NO_TRUSTED': (params) => ({\r\n component: 'confirmTwoFactorDialog',\r\n backdrop: 'static',\r\n resolve: {\r\n credentials: () => get(params, 'payload.resourceOwnerCredentials', { username: '' }),\r\n },\r\n }),\r\n ACCOUNT_SUSPENDED_MAX_LOGIN_FAILED: (params) => ({\r\n title: gettextCatalog.getString('Account suspended!'),\r\n body: gettextCatalog.getString(\r\n 'Account has been suspended due to exceeded number of failed login attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n template: alertModalTpl,\r\n }),\r\n ACCOUNT_SUSPENDED: (params) => ({\r\n title: gettextCatalog.getString('Account has been suspended. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n ACCOUNT_LOCKED: (params) => ({\r\n template: accountBlockedTpl,\r\n controller: accountBlockedCtrl,\r\n resolve: {\r\n model: () => appFactory.model,\r\n },\r\n }),\r\n USER_NOT_REGISTERED: () => ({\r\n title: gettextCatalog.getString(\r\n 'You have not completed registration. Please use link sent in the e-mail while registering to complete the process.'\r\n ),\r\n }),\r\n MAX_CHALLENGE_ANSWER_EXCEEDED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Sorry, you have exceeded the maximum number of Forgot Password attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n WRONG_CHALLENGE_ANSWER: () => ({\r\n title: gettextCatalog.getString(\r\n 'Your answer does not match the answer you provided previously Please try again or select a different question.'\r\n ),\r\n }),\r\n NON_UNIQUE_USER_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Phone number was provided by more than one user. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n BAD_CREDENTIALS_LAST_TRY: () => ({ title: gettextCatalog.getString('Incorrect credentials. Last attempt left.') }),\r\n USER_ACCESS_NOT_ALLOWED: () => ({ title: gettextCatalog.getString('User is not allowed to access this application.') }),\r\n NOT_ASSIGNED_LOTTERY_REPRESENTATIVE: () => ({\r\n title: gettextCatalog.getString(\r\n 'You are not allowed to perform this action as this user does not belong to one of your Retailers.'\r\n ),\r\n }),\r\n USER_DID_NOT_ACCEPT_TERMS_OF_USE: () => ({\r\n component: 'rwTermsOfUseDialog',\r\n }),\r\n RETAILER_ACCESS_NOT_ALLOWED: (params) => ({\r\n title: gettextCatalog.getString('Retailer access not allowed. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n ACCOUNT_NOT_ACTIVE: (params) => ({\r\n title: gettextCatalog.getString('Account is not {{ active }}. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n active: params.terms.ACTIVE.singular,\r\n }),\r\n }),\r\n CAPTCHA_NOT_FOUND: () => ({ title: gettextCatalog.getString('Captcha not found. Please reload captcha.') }),\r\n },\r\n forgotPassword: {\r\n PASSWORD_ALREADY_USED: () => ({\r\n title: gettextCatalog.getString('Cannot reuse password'),\r\n body: gettextCatalog.getString(\"Cannot reuse old password. Last 3 passwords mustn't repeat.\"),\r\n template: alertModalTpl,\r\n }),\r\n USER_NOT_FOUND: () => ({\r\n title: gettextCatalog.getString(\r\n 'Email not recognized. Please make sure you entered it correctly or Sign Up if you have not registered.'\r\n ),\r\n }),\r\n ACCOUNT_LOCKED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Sorry, you cannot reset your password because your account is suspended. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n MAX_CHALLENGE_ANSWER_EXCEEDED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'You have exceeded the maximum number of forgot password attempts. Please wait 30 minutes and try again. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n WRONG_CHALLENGE_ANSWER: () => ({\r\n title: gettextCatalog.getString(\r\n 'Your answer does not match the answer you provided previously Please try again or select a different question.'\r\n ),\r\n }),\r\n USER_NOT_REGISTERED: () => ({\r\n title: gettextCatalog.getString(\r\n 'You have not completed registration. Please use link sent in the e-mail while registering to complete the process.'\r\n ),\r\n }),\r\n },\r\n forgotUsername: {\r\n USER_NOT_FOUND: () => ({\r\n title: gettextCatalog.getString(\r\n 'Phone number was not found. Please enter mobile phone number that you provided upon registration or in Retailer Wizard’s account settings.'\r\n ),\r\n }),\r\n NON_UNIQUE_USER_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Phone number was provided by more than one user. Please call {{ contactPhone }} for assistance',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n },\r\n twoFactor: {\r\n '2FA_CODE_BLOCKED': (params) => ({\r\n title: gettextCatalog.getString('Account suspended!'),\r\n body: gettextCatalog.getString(\r\n 'Account has been suspended due to exceeded number of failed login attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n template: alertModalTpl,\r\n }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/config/errorcodes.conf.js","module.exports = \"
\\r\\n

\\r\\n Account Locked\\r\\n

\\r\\n
\\r\\n
\\r\\n You have exceeded the maximum number of login attempts.
Please wait 30 minutes for your account to unlock.
Alternatively, you may contact us to have your password reset.\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/account-blocked-modal.html\n// module id = 1219\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\n@Inject('$state', '$timeout')\r\nclass AccountBlockedDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n }\r\n\r\n onContactUsHandle() {\r\n this.close();\r\n this.$timeout(() => {\r\n this.$state.go('contact-view');\r\n }, 100);\r\n }\r\n}\r\n\r\nexport default AccountBlockedDialogController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/login-form/account-blocked-modal.js","import angular from 'angular';\r\nimport forgotUsernameTpl from './forgot-username.html';\r\nimport forgotUsernameModalTpl from './views/forgot-username-modal.html';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { phoneMask, phoneLength } = config;\r\n\r\n return {\r\n phoneMask,\r\n phoneLength,\r\n };\r\n};\r\n\r\n@Inject('$ngRedux', 'Notifications', '$state')\r\nclass ForgotUsernameController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.initializeConfiguration();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n initializeConfiguration() {\r\n this.formModel = {};\r\n }\r\n\r\n forgotUsernameHandler(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) return;\r\n\r\n this.api.remindUsername\r\n .run(this.formModel)\r\n .then(() => this.Notifications.showComplexDialog({\r\n template: forgotUsernameModalTpl,\r\n }).result.then(() => {\r\n this.$state.go('home-view');\r\n }))\r\n .catch(() => {\r\n this.formModel = {};\r\n this.$state.reload();\r\n });\r\n }\r\n}\r\n\r\nclass ForgotUsernameComponent {\r\n constructor() {\r\n this.template = forgotUsernameTpl;\r\n this.controller = ForgotUsernameController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular.module('forgot-username', []).component('forgotUsername', new ForgotUsernameComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/forgot-username/forgot-username-component.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
Forgot Email
\\r\\n

\\r\\n Enter the mobile number associated with your account. We will send your credentials via SMS.\\r\\n

\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Please provide mobile phone number.\\r\\n \\r\\n \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Captcha is required.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-username/forgot-username.html\n// module id = 1222\n// module chunks = 0","module.exports = \"
\\r\\n

Success!

\\r\\n
\\r\\n
\\r\\n

\\r\\n Your Username was sent to your mobile phone via SMS\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-username/views/forgot-username-modal.html\n// module id = 1223\n// module chunks = 0","import angular from 'angular';\r\nimport api from 'auth/resources/forgot-password.api';\r\nimport changePasswordTpl from './change-password.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale, tokens } = session;\r\n\r\n return {\r\n locale,\r\n tokens,\r\n };\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications')\r\nclass ChangePasswordController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.formModel = {};\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async changePassword(form) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n await api.changePassword(this.formModel.newPasswd, this.tokens.refresh.code);\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Password was reset successfully.')\r\n ).result;\r\n await this.api.resetSession.run();\r\n this.$state.go('home-view', null, { reload: true });\r\n }\r\n}\r\n\r\nclass ChangePasswordComponent {\r\n constructor() {\r\n this.template = changePasswordTpl;\r\n this.controller = ChangePasswordController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular.module('change-password', []).component('changePassword', new ChangePasswordComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/change-password/change-password-component.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n

Create New Password

\\r\\n

{{$ctrl.api.config.passwordErrorText[$ctrl.locale]}}

\\r\\n
\\r\\n
\\r\\n \\r\\n {{$ctrl.changePasswordForm}}\\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your new password.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please see password requirements above.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please reenter password here.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/change-password/change-password.html\n// module id = 1225\n// module chunks = 0","import _ from 'lodash';\r\nimport appHelpers from 'app/app-helpers';\r\nimport loginHelpers from 'auth/helpers/login';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchNewLabelStatus } from 'documents/actions/fetch-new-label-status.actions';\r\nimport * as api from 'app/resources/login-popup.api';\r\nimport formTemplate from './views/login-form.html';\r\nimport formMobileTemplate from './views/login-form-mobile.html';\r\nimport termsOfUseTpl from './views/login-terms-of-use.html';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { jurisdictionId } = config;\r\n\r\n return {\r\n jurisdictionId,\r\n session,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n fetchNewLabelStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications', '$sce', '$localStorage', 'RwAnalyticsService')\r\nclass LoginFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.signUp = this.checkAccess('auth.signUp');\r\n this.forgotUsername = this.checkAccess('auth.forgotUsername');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async loginHandler(form, acceptTerms = false, tokens) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n\r\n try {\r\n const registrationForm = false;\r\n await this.api.login.run(this.model.credentials, acceptTerms, registrationForm, tokens);\r\n this.RwAnalyticsService.sendLoginEvent(this.session);\r\n } catch (error) {\r\n const errorCode = _.get(error, 'data.errors[0].code') || '';\r\n (_.get(loginHelpers, `handle${errorCode}`) || loginHelpers.handleDefault)(this, form, error);\r\n return;\r\n }\r\n\r\n if (this.isPasswordExpired()) {\r\n this.redirectToPasswordReset();\r\n return;\r\n }\r\n await this.showPopupInfo();\r\n await this.showNewLabel();\r\n this.redirectAfterLogin();\r\n }\r\n\r\n isPasswordExpired() {\r\n const { tokens } = this.session;\r\n return tokens.jwt.passwordExpired === 'true';\r\n }\r\n\r\n redirectToPasswordReset() {\r\n return appHelpers.redirectToPasswordReset({\r\n $state: this.$state,\r\n Notifications: this.Notifications,\r\n gettextCatalog: this.gettextCatalog,\r\n });\r\n }\r\n\r\n redirectAfterLogin() {\r\n return appHelpers.redirectAfterLogin(\r\n {\r\n $state: this.$state,\r\n Notifications: this.Notifications,\r\n gettextCatalog: this.gettextCatalog,\r\n config: this.api.config,\r\n $ngRedux: this.$ngRedux,\r\n },\r\n this.model,\r\n this.session.attemptedRoute\r\n );\r\n }\r\n\r\n async showNewLabel() {\r\n const hasAccessToDocumentsView = this.checkAccess('documents.view');\r\n if (hasAccessToDocumentsView) await this.fetchNewLabelStatus();\r\n }\r\n\r\n async showPopupInfo() {\r\n const message = await api.fetchPopupOnLogin(this.jurisdictionId, this.session);\r\n const ommitPopupInfo = this.session.passwordReset || this.session.temporaryUser || this.session.isAdmin;\r\n if (!ommitPopupInfo && message) {\r\n const hashMessage = `${this.session.id}-${this.hashCode(message)}`;\r\n if (!this.$localStorage[hashMessage]) {\r\n this.$localStorage[hashMessage] = true;\r\n return this.Notifications.showAlert('', message, { backdrop: 'static' }).result;\r\n }\r\n }\r\n return Promise.resolve();\r\n }\r\n\r\n hashCode(s) {\r\n return s.split('').reduce((a, b) => {\r\n a = (a << 5) - a + b.charCodeAt(0);\r\n return a & a;\r\n }, 0);\r\n }\r\n\r\n showTermsOfUse() {\r\n this.Notifications.showComplexDialog({\r\n template: termsOfUseTpl,\r\n resolve: {\r\n config: () => this.config,\r\n $sce: () => this.$sce,\r\n model: () => this.model,\r\n api: () => this.api,\r\n },\r\n });\r\n }\r\n}\r\n\r\nclass LoginFormComponent {\r\n constructor() {\r\n this.controller = LoginFormController;\r\n this.template = formTemplate;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n forgotUsername: '<',\r\n config: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nclass LoginFormMobileComponent {\r\n constructor() {\r\n this.controller = LoginFormController;\r\n this.template = formMobileTemplate;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n forgotUsername: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nangular\r\n .module('login-form', [])\r\n .component('loginForm', new LoginFormComponent())\r\n .component('loginFormMobile', new LoginFormMobileComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/login-form/login-form-component.js","function handleUSER_DID_NOT_ACCEPT_TERMS_OF_USE(context, form) {\r\n // eslint-disable-line camelcase\r\n context.loginHandler(form, true);\r\n}\r\n\r\nfunction handle2FA_NO_DEVICES(context, form, error) {\r\n const { response: tokens } = error;\r\n if (tokens) context.loginHandler(form, true, tokens);\r\n}\r\n\r\nfunction handle2FA_NO_TRUSTED(context, form, error) {\r\n const { response: tokens } = error;\r\n if (tokens) context.loginHandler(form, true, tokens);\r\n}\r\n\r\nfunction handleDefault(context, form) {\r\n form.$setPristine();\r\n return context.$state.go('home-view');\r\n}\r\n\r\nexport default {\r\n handleUSER_DID_NOT_ACCEPT_TERMS_OF_USE,\r\n handle2FA_NO_DEVICES,\r\n handle2FA_NO_TRUSTED,\r\n handleDefault,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/helpers/login.js","module.exports = \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter the email address you used to sign up.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your password.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Log In\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Sign Up\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/login-form.html\n// module id = 1228\n// module chunks = 0","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\r\\n Forgot?\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter the email address you used to sign up.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Forgot?\\r\\n \\r\\n
\\r\\n
\\r\\n Please enter your password.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Sign Up\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Log In\\r\\n \\r\\n \\r\\n
\\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/login-form-mobile.html\n// module id = 1229\n// module chunks = 0","module.exports = \"
\\r\\n

{{$ctrl.config.applicationName}}\\r\\n Terms of Use\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Terms of Use temporarily unavailable due to maintenance. Please check back soon.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download attachment\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/login-terms-of-use.html\n// module id = 1230\n// module chunks = 0","import angular from 'angular';\r\nimport contactRoutingModule from './contact-routing-module';\r\nimport contactListModule from './components/contact-list/contact-list-module';\r\nimport inquiryContactListModule from './components/inquiry-contacts-list/inquiry-contacts-list-module';\r\nimport contactUsModule from './components/contact-us/contact-us-module';\r\nimport manageContactModule from './components/manage-contact/manage-contact-module';\r\n\r\nexport default angular.module('contact', [\r\n contactRoutingModule.name,\r\n contactListModule.name,\r\n inquiryContactListModule.name,\r\n contactUsModule.name,\r\n manageContactModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/contact-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('contact-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('contact-view', {\r\n parent: 'arw',\r\n url: '/contact-us?tabId&inquiryReason',\r\n template: ``,\r\n redirectTo: 'contact',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Contact Us')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('contact-manage', {\r\n parent: 'arw',\r\n url: '/manage-contact',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Lottery Contacts')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('cms-inquiryReasonManagement', {\r\n parent: 'arw',\r\n url: '/inquiry-reason-management',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Inquiry Contacts')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/contact-routing-module.js","import angular from 'angular';\r\nimport ContactListComponent from './contact-list-component';\r\n\r\nexport default angular.module('contact-list', ['ui.tree']).component('contactList', new ContactListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-list/contact-list-module.js","import _ from 'lodash';\r\nimport appHelpers from 'app/app-helpers';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport helpers from '../../helpers/contact-helpers';\r\nimport contactListTemplate from './contact-list.html';\r\nimport EditCategoryDialogController from '../manage-contact/edit-category-dialog/edit-category-dialog-controller';\r\nimport editCategoryDialogTemplate from '../manage-contact/edit-category-dialog/edit-category-dialog.html';\r\nimport EditContactDialogController from '../manage-contact/edit-contact-dialog/edit-contact-dialog-controller';\r\nimport editContactDialogTemplate from '../manage-contact/edit-contact-dialog/edit-contact-dialog.html';\r\n\r\nconst DIRTY_FORM = 'contactManagement';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { locale } = session;\r\n const { locales, googleMapsUrl } = config;\r\n\r\n return {\r\n locale,\r\n locales,\r\n googleMapsUrl,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'gettextCatalog')\r\nclass ContactListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onInit() {\r\n this.language = this.language || this.locale;\r\n this.contactDndTree = {\r\n accept: (sourceNodeScope, destNodesScope) => this.accept({ sourceNodeScope, destNodesScope }),\r\n dragMove: appHelpers.dragMove,\r\n orderChanged: () => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n },\r\n };\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n editContact(contact, exists = true) {\r\n this.locales.map((locale) => {\r\n if (!contact.fields[locale.code]) {\r\n contact.fields[locale.code] = {\r\n phone: [],\r\n email: [],\r\n mapCoordinates: '',\r\n };\r\n }\r\n });\r\n\r\n this.Notifications.showComplexDialog({\r\n template: editContactDialogTemplate,\r\n bindToController: true,\r\n controller: EditContactDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Edit Contact'),\r\n language: () => this.language,\r\n contact: () => _.cloneDeep(contact),\r\n categories: () => this.contactList.groups,\r\n exists: () => exists,\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.saveContact(this.contactList.groups, result.contact, exists, result.categoryChanged);\r\n if (result.contact.id === _.get(this, 'contactList.properties.default')) {\r\n this.updatePhone(result.contact.fields[this.language].phone[0]);\r\n }\r\n });\r\n }\r\n\r\n editCategory(category) {\r\n this.Notifications.showComplexDialog({\r\n template: editCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: EditCategoryDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Edit Category'),\r\n category: () => _.cloneDeep(category),\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.saveCategory(this.contactList.groups, result.category, result.oldCategoryName);\r\n this.categories = this.contactList.groups;\r\n });\r\n }\r\n\r\n parseGoogleMapsUrl(contact) {\r\n if (!contact.fields[this.language]) {\r\n return '';\r\n }\r\n const addressLine1 = _.get(contact.fields, `[${this.language}].addressLine1`) || '';\r\n const addressLine2 = _.get(contact.fields, `[${this.language}].addressLine2`) || '';\r\n const addressLine3 = _.get(contact.fields, `[${this.language}].addressLine3`) || '';\r\n const address = `${addressLine1}${addressLine2 ? `+${addressLine2}` : ''}${addressLine3 ? `+${addressLine3}` : ''}`;\r\n const coords = _.get(contact.fields, `[${this.language}].mapCoordinates`) || '';\r\n\r\n return coords ? `${this.googleMapsUrl}place/${coords}` : `${this.googleMapsUrl}search/${address}`;\r\n }\r\n\r\n removeCategory(category) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.removeCategory(this.contactList.groups, category);\r\n this.categories = this.contactList.groups;\r\n }\r\n\r\n removeContact(contact, index) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.removeContact(this.contactList.groups, contact, index);\r\n }\r\n\r\n showMarker(contact) {\r\n const address = _.get(contact.fields, `[${this.language}].addressLine1`) || '';\r\n const coords = _.get(contact.fields, `[${this.language}].mapCoordinates`) || '';\r\n return address.length > 1 || coords.length > 1;\r\n }\r\n\r\n updatePhone(phone = {}) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.properties.phone = phone.phone;\r\n this.contactList.properties.ext = phone.ext;\r\n }\r\n}\r\n\r\nexport default class ContactListComponent {\r\n constructor() {\r\n this.template = contactListTemplate;\r\n this.controller = ContactListController;\r\n this.bindings = {\r\n language: '<',\r\n canEdit: '<',\r\n contactList: '<',\r\n accept: '&',\r\n onLanguageSelect: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-list/contact-list-component.js","module.exports = \"
\\r\\n
    \\r\\n\\r\\n
  • \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n {{ group.fields[$ctrl.language].description }}\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
      \\r\\n
    • \\r\\n
      \\r\\n
      \\r\\n \\r\\n\\r\\n \\r\\n
      \\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
      \\r\\n
      \\r\\n
      \\r\\n
      Default contact must have phone number defined
      \\r\\n
      \\r\\n
      \\r\\n {{ contact.fields[$ctrl.language].name}}\\r\\n \\r\\n (default)\\r\\n \\r\\n
      \\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n {{ contact.fields[$ctrl.language].addressLine1 }}\\r\\n
      \\r\\n
      \\r\\n {{ contact.fields[$ctrl.language].addressLine2 }}\\r\\n
      \\r\\n
      \\r\\n {{ contact.fields[$ctrl.language].addressLine3 }}\\r\\n
      \\r\\n
      \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ({{ phone.ext }})\\r\\n \\r\\n
      \\r\\n \\r\\n
    • \\r\\n
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/contact-list/contact-list.html\n// module id = 1242\n// module chunks = 0","import angular from 'angular';\r\nimport InquiryContactsListComponent from './inquiry-contacts-list-component';\r\n\r\nexport default angular.module('inquiry-contacts-list', []).component('inquiryContactsList', new InquiryContactsListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-module.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport forEach from 'lodash/forEach';\r\nimport DepsService from 'services/dependencies';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchInquiryContacts, updateInquiryContact } from 'contact/actions/contact.actions';\r\nimport inquiryContactsListTemplate from './inquiry-contacts-list.html';\r\n\r\nconst DIRTY_FORM = 'inquiryContacts';\r\n\r\nconst mapStateToThis = ({ session, contact }) => {\r\n const { locale } = session;\r\n const { inquiry, inquiryLoadingStatus: isLoading } = contact;\r\n const { items } = inquiry;\r\n\r\n return {\r\n locale,\r\n items,\r\n isLoading,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchInquiryContacts,\r\n updateInquiryContact,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications')\r\nclass InquiryContactsListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n async $onInit() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [DepsService.config.sortColumnKey]: 'id',\r\n [DepsService.config.directionKey]: 'asc',\r\n };\r\n this.gridModel = initGrid(this.fetchInquiryContacts, this.defaultParams);\r\n await this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async search() {\r\n await this.gridModel.applyFilters();\r\n this.copyItems();\r\n this.setEntries(this.locale);\r\n }\r\n\r\n copyItems() {\r\n this.itemsCopy = cloneDeep(this.items);\r\n }\r\n\r\n setEntries(locale) {\r\n this.language = locale;\r\n const key = Object.keys(this.items).find((localeKey) => localeKey === locale);\r\n if (!key) {\r\n this.items[locale] = {};\r\n }\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Inquiry Reason'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Inquiry Contact'),\r\n },\r\n ];\r\n }\r\n\r\n onSubmitInquiryContacts() {\r\n if (this.form.$invalid) return;\r\n\r\n this.ensureAvailabilityIsSameForAllLanguages();\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.form.$setPristine();\r\n\r\n this.updateInquiryContact()\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been saved')))\r\n .then(() => this.search());\r\n }\r\n\r\n onCancel() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.items = cloneDeep(this.itemsCopy);\r\n }\r\n\r\n onAvailabilityChange(inquiryContactData) {\r\n this.applyAvailabilityToOtherLanguages(inquiryContactData);\r\n }\r\n\r\n applyAvailabilityToOtherLanguages(inquiryContactData) {\r\n forEach(this.items, (itemsForLanguage, language) => {\r\n if (language === this.language) return;\r\n const item = itemsForLanguage.find((item) => item.keyVal === inquiryContactData.keyVal);\r\n item.availableForAnonymous = inquiryContactData.availableForAnonymous;\r\n item.availableForUser = inquiryContactData.availableForUser;\r\n });\r\n }\r\n\r\n ensureAvailabilityIsSameForAllLanguages() {\r\n this.items[this.language].forEach((item) => this.applyAvailabilityToOtherLanguages(item));\r\n }\r\n}\r\n\r\nexport default class InquiryContactsListComponent {\r\n constructor() {\r\n this.template = inquiryContactsListTemplate;\r\n this.controller = InquiryContactsListController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-component.js","module.exports = \"\\r\\n
\\r\\n
Inquiry Contacts
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ inquiryContactData.inquiryTypeReason }}
\\r\\n
\\r\\n Inquiry Contact\\r\\n *\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter contact email.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n At least one option must be checked.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Publish\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list.html\n// module id = 1252\n// module chunks = 0","import angular from 'angular';\r\nimport ContactUsComponent from './contact-us-component';\r\n\r\nexport default angular.module('contact-us', []).component('contactUs', new ContactUsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-us/contact-us-module.js","import find from 'lodash/find';\r\nimport helpers from 'app/app-helpers';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { fetchLotteryContacts } from 'contact/actions/contact.actions';\r\nimport { fetchInquiryReasonsDictionary } from 'app/actions/dictionaries/inquiry-reasons-dictionary.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport * as api from '../../resources/contact.api';\r\nimport contactUsTemplate from './contact-us.html';\r\nimport tabs from './tabs';\r\n\r\nconst MAX_MESSAGE_LENGTH = 512;\r\nconst MAX_INQUIRY_REASON_LENGTH = 255;\r\nconst SEND_CONTACT_PERMISSION = 'contact.sendContact';\r\n\r\nconst mapStateToThisContactUsBase = ({ session, config, retailerDetails, dictionary, contact, ui }) => {\r\n const retailerName = retailerDetails.businessName;\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength } = config;\r\n const { loggedIn, locale, retailer, firstName = '', lastName = '', role = '', contactPhone = '', emailAddress = '' } = session;\r\n const { retailerDisplayNumber, retailerType } = retailer;\r\n const { inquiryReasons } = dictionary;\r\n const { lottery, inquiry } = contact;\r\n const { activeTab } = ui;\r\n const { CONTACT_THE_LOTTERY, LOTTERY_CONTACT_INFO } = tabs;\r\n\r\n return {\r\n loggedIn,\r\n locale,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n retailerDisplayNumber,\r\n retailerType,\r\n firstName,\r\n lastName,\r\n role,\r\n contactPhone,\r\n emailAddress,\r\n retailerName,\r\n inquiryReasons,\r\n lottery,\r\n inquiry,\r\n activeTab,\r\n CONTACT_THE_LOTTERY,\r\n LOTTERY_CONTACT_INFO,\r\n };\r\n};\r\nconst mapDispatchToThis = {\r\n fetchLotteryContacts,\r\n fetchInquiryReasonsDictionary,\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', '$stateParams', 'Notifications')\r\nclass ContactUsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisContactUsBase, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.contactTheLotteryTabActive = this.checkAccess(SEND_CONTACT_PERMISSION);\r\n await Promise.all([this.fetchLotteryContacts(), this.fetchInquiryReasonsDictionary()]);\r\n this.maxMessageLength = MAX_MESSAGE_LENGTH;\r\n this.maxInquiryReason = MAX_INQUIRY_REASON_LENGTH;\r\n this.initInquiryReasonsList();\r\n this.initActiveTab();\r\n this.initContactUsModel();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n initInquiryReasonsList() {\r\n this.inquiryReasonsList = this.loggedIn\r\n ? this.inquiryReasons.filter(({ availableForUser }) => availableForUser)\r\n : this.inquiryReasons.filter(({ availableForAnonymous }) => availableForAnonymous);\r\n }\r\n\r\n initActiveTab() {\r\n if (this.$stateParams.tabId) {\r\n this.setActiveTab(this.$stateParams.tabId, 'activeTab');\r\n } else {\r\n this.setActiveTab(this.LOTTERY_CONTACT_INFO, 'activeTab');\r\n }\r\n }\r\n\r\n initContactUsModel() {\r\n this.contactUsModel = {\r\n firstName: this.firstName,\r\n lastName: this.lastName,\r\n retailerNumber: this.retailerDisplayNumber,\r\n retailerName: this.retailerName,\r\n outletType: this.retailerType,\r\n roleType: this.role,\r\n email: this.emailAddress,\r\n phone: this.contactPhone,\r\n inquiryReasonKey: this.$stateParams.inquiryReason || '',\r\n };\r\n }\r\n\r\n submit() {\r\n if (this.pendingRequest) {\r\n return;\r\n }\r\n\r\n this.contactUsForm.$setSubmitted();\r\n if (this.contactUsForm.$invalid) {\r\n return;\r\n }\r\n\r\n this.pendingRequest = true;\r\n this.contactUsModel.locale = this.locale;\r\n\r\n api\r\n .sendContact(this.contactUsModel, this.loggedIn)\r\n .then(\r\n () =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString(\r\n 'Thank you for contacting us. We will direct your inquiry to the right person on your Lottery team, who will respond to you as soon as possible.'\r\n )\r\n ).result\r\n )\r\n .then(() => {\r\n this.pendingRequest = false;\r\n if (this.loggedIn) {\r\n helpers.redirectToFirstPageFromMenu({ $state: this.$state });\r\n } else {\r\n helpers.redirectToHome({ $state: this.$state });\r\n }\r\n });\r\n }\r\n\r\n customReasonChosen() {\r\n if (!this.contactUsModel) {\r\n return false;\r\n }\r\n const chosenReasonId = this.contactUsModel.inquiryReasonKey;\r\n if (chosenReasonId) {\r\n const item = find(this.inquiryReasons, ['reasonKey', chosenReasonId]);\r\n return item && item.custom;\r\n }\r\n return false;\r\n }\r\n}\r\n\r\nexport default class ContactUsComponent {\r\n constructor() {\r\n this.template = contactUsTemplate;\r\n this.controller = ContactUsController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-us/contact-us-component.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchInquiryReasonsDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchInquiryReasonsDictionarySuccess = (dictionary) => ({\r\n type: actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS,\r\n dictionary,\r\n});\r\n\r\nexport const fetchInquiryReasonsDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchInquiryReasonsDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchInquiryReasonsDictionaryRequest());\r\n const dictionary = await api.fetchInquiryReasonsDictionary(locale);\r\n dispatch(fetchInquiryReasonsDictionarySuccess(dictionary));\r\n } catch (error) {\r\n console.error('FETCH_INQUIRY_REASONS_DICTIONARY', error);\r\n dispatch(fetchInquiryReasonsDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/inquiry-reasons-dictionary.actions.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Contact info temporarily unavailable due to maintenance. Please check back soon.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n Please fill out this form to drop us a line. The more details you provide, the better we will be able to direct your inquiry.\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n First name shouldn’t be longer than {{ maxFirstNameLength }} characters.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your First Name.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Last name shouldn’t be longer than {{ maxLastNameLength }} characters.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your Last Name.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email shouldn’t be longer than {{ maxEmailLength }} characters.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your Email.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please provide {{ phoneLength }}-digit phone number.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n The captcha you entered is incorrect.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Inquiry Reason\\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{ inquiryReason.label }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please select Inquiry Reason.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter Inquiry Reason.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Inquiry Reason should be maximum {{ maxInquiryReason }} chars long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your Message.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/contact-us/contact-us.html\n// module id = 1261\n// module chunks = 0","import angular from 'angular';\r\nimport ManageContactComponent from './manage-contact-component';\r\n\r\nexport default angular.module('manage-contact', []).component('manageContact', new ManageContactComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/manage-contact-module.js","import _ from 'lodash';\r\nimport find from 'lodash/find';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport contactHelpers from 'contact/helpers/contact-helpers';\r\nimport helpers from 'app/app-helpers';\r\nimport { discardLotteryContactsChanges, fetchLotteryContacts, publishLotteryContactsChanges } from 'contact/actions/contact.actions';\r\nimport EditCategoryDialogController from './edit-category-dialog/edit-category-dialog-controller';\r\nimport editContactDialogTemplate from './edit-contact-dialog/edit-contact-dialog.html';\r\nimport EditContactDialogController from './edit-contact-dialog/edit-contact-dialog-controller';\r\nimport editCategoryDialogTemplate from './edit-category-dialog/edit-category-dialog.html';\r\nimport manageContactTemplate from './manage-contact.html';\r\n\r\nconst mapStateToThisContactManagement = ({ session, config, contact }) => {\r\n const { locale } = session;\r\n const { locales, secondHandApproval } = config;\r\n const {\r\n lottery: { contactList },\r\n } = contact;\r\n\r\n return {\r\n locale,\r\n session,\r\n locales,\r\n secondHandApproval,\r\n contactList,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n checkAccess,\r\n fetchLotteryContacts,\r\n discardLotteryContactsChanges,\r\n publishLotteryContactsChanges,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications', 'Responsive')\r\nclass ContactManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisContactManagement, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n this.DIRTY_FORM = 'contactManagement';\r\n this.secondHandApprovalActive = this.checkAccess('contact.manage.approve');\r\n await this.fetchLotteryContacts();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n cancel() {\r\n return this.fetchLotteryContacts();\r\n }\r\n\r\n discardChanges() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n return this.discardLotteryContactsChanges()\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been discarded')))\r\n .then(() => this.fetchLotteryContacts());\r\n }\r\n\r\n addCategory() {\r\n this.Notifications.showComplexDialog({\r\n template: editCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: EditCategoryDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('New Category'),\r\n category: () => ({\r\n fields: {},\r\n }),\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = contactHelpers.saveCategory(this.contactList.groups, result.category, false);\r\n });\r\n }\r\n\r\n addContact() {\r\n const exists = false;\r\n const contact = {\r\n id: helpers.generateUUID(),\r\n fields: {},\r\n };\r\n\r\n this.locales.map((locale) => {\r\n contact.fields[locale.code] = {\r\n phone: [],\r\n email: [],\r\n mapCoordinates: '',\r\n };\r\n });\r\n\r\n this.Notifications.showComplexDialog({\r\n template: editContactDialogTemplate,\r\n bindToController: true,\r\n controller: EditContactDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('New Contact'),\r\n contact: () => contact,\r\n categories: () => this.contactList.groups,\r\n exists: () => exists,\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = contactHelpers.saveContact(this.contactList.groups, result.contact, exists, result.categoryChanged);\r\n });\r\n }\r\n\r\n publish() {\r\n if (!_.get(this, 'contactList.properties.phone')) {\r\n this.Notifications.alertWarning(\r\n this.gettextCatalog.getString('Default contact with valid phone number must be selected before publishing.')\r\n );\r\n return;\r\n }\r\n this.publishLotteryContactsChanges()\r\n .then(() => this.Notifications.alertSuccess(this.getSuccessText()))\r\n .then(() => this.fetchLotteryContacts())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n getSuccessText() {\r\n return this.secondHandApprovalActive || !this.secondHandApproval\r\n ? this.gettextCatalog.getString('Changes have been published')\r\n : this.gettextCatalog.getString('Changes have been submitted for approval');\r\n }\r\n\r\n // eslint-disable-next-line class-methods-use-this\r\n onAccept(sourceNodeScope, destNodesScope) {\r\n return !!find(destNodesScope.modelValue, ['name', sourceNodeScope.itemScope.modelValue.name]);\r\n }\r\n\r\n onDropped() {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.language = locale;\r\n }\r\n}\r\n\r\nexport default class ManageContactComponent {\r\n constructor() {\r\n this.controller = ContactManagementController;\r\n this.template = manageContactTemplate;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/manage-contact-component.js","module.exports = \"\\r\\n
\\r\\n
\\r\\n \\r\\n New Category\\r\\n \\r\\n \\r\\n New Contact\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n Changes have been made that require secondary approval. These changes will not take effect until approved by an administrator.\\r\\n \\r\\n \\r\\n There are changes pending approval in this section. It is advised that you review all content before publishing.\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Discard Changes\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n Publish\\r\\n \\r\\n\\r\\n \\r\\n Submit for Approval\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/manage-contact/manage-contact.html\n// module id = 1264\n// module chunks = 0","import angular from 'angular';\r\nimport moment from 'moment';\r\nimport _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\n\r\nimport './config/errorcodes.conf';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { setNewLabelStatus } from 'documents/actions/set-new-label-status.actions';\r\nimport { prefetchDocument } from 'documents/actions/prefetch-document.actions';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport DocumentsFilterComponent from './components/documents-filter/documents-filter-component';\r\nimport removeDocumentConfirmTemplate from './views/document-delete-confirm.html';\r\nimport editDocumentModalTemplate from './views/edit-document-modal.html';\r\nimport previewDocumentDialogTemplate from './views/preview-document-dialog.html';\r\nimport categoryDialogTemplate from './components/documents-management/category-dialog/category-dialog.html';\r\nimport uploadFormModalTemplate from './components/documents-management/upload-form-modal/upload-form-modal.html';\r\nimport UploadFormModalController from './components/documents-management/upload-form-modal/upload-form-modal-controller';\r\nimport CategoryDialogController from './components/documents-management/category-dialog/category-dialog-controller';\r\n\r\nimport documentsTemplate from './documents.html';\r\n\r\nimport {\r\n createCategory,\r\n downloadDocument,\r\n getCategories,\r\n getDocuments,\r\n getTags,\r\n removeCategory,\r\n removeDocument,\r\n saveDocument,\r\n updateCategory,\r\n uploadDocument,\r\n} from './actions/documents.actions';\r\n\r\nconst { tableView, gridView, fileFormats } = getConsts();\r\n\r\nclass DocumentEditController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n }\r\n\r\n addTag(tag) {\r\n if (!tag) {\r\n return;\r\n }\r\n\r\n if (!tag || tag.length > this.keywordMaxLength) {\r\n return this.editForm.keywords.$setValidity('keyword-max-length', false);\r\n }\r\n\r\n this.documentTmp.tags = this.documentTmp.tags.concat(tag);\r\n this.tagName = null;\r\n }\r\n\r\n removeTag(index) {\r\n this.documentTmp.tags.splice(index, 1);\r\n }\r\n}\r\n\r\nconst defaultSort = 'Publish Date (descending)';\r\n\r\nconst mapStateToThis = ({ session, config, documents }) => {\r\n const { locale, isAdmin } = session;\r\n const { locales } = config;\r\n const { newLabel, categories, files, isLoading, meta } = documents;\r\n\r\n return {\r\n session,\r\n locale,\r\n locales,\r\n newLabel,\r\n categories,\r\n isLoading,\r\n meta,\r\n isAdmin,\r\n documents: files,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setNewLabelStatus,\r\n getDocuments,\r\n getTags,\r\n removeDocument,\r\n downloadDocument,\r\n getCategories,\r\n createCategory,\r\n updateCategory,\r\n removeCategory,\r\n checkAccess,\r\n saveDocument,\r\n uploadDocument,\r\n prefetchDocument,\r\n};\r\n\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications', 'Responsive', 'RwAnalyticsService')\r\nclass DocumentsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n // check access permissions\r\n this.canEditDocuments = this.checkAccess('documents.editDocuments');\r\n this.canUploadDocument = this.checkAccess('documents.uploadDocument');\r\n\r\n this.dropdownType = 'label';\r\n this.currentView = this.Responsive.isMobile ? tableView : gridView;\r\n this.views = this.getViews();\r\n this.pageHeader = this.gettextCatalog.getString('Documents');\r\n this.gridHeader = this.gettextCatalog.getString('Documents');\r\n this.uploadFormHeader = this.gettextCatalog.getString('Upload Document');\r\n this.headers = this.getColumnHeaders()[`admin_${this.canEditDocuments}`];\r\n this.sortByOptions = this.getSortByOptions();\r\n this.sortBy = defaultSort;\r\n this.setDefaultPreview();\r\n\r\n this.defaultParams = {\r\n [DepsService.config.sortColumnKey]: 'publishingStartDate',\r\n [DepsService.config.directionKey]: 'desc',\r\n [DepsService.config.pageSizeKey]: DepsService.config.defaultPageSize[2],\r\n };\r\n\r\n this.defaultFilters = {\r\n tag: [],\r\n locale: [this.locale],\r\n };\r\n\r\n this.gridModel = initGrid(this.getDocuments, this.defaultParams);\r\n this.gridModel.pagingModel.filters = _.cloneDeep(this.defaultFilters);\r\n\r\n Promise.all([this.getCategories(), this.getTags()]).then(() => {\r\n this.search();\r\n });\r\n\r\n if (this.newLabel) {\r\n this.setNewLabelStatus();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n $onChanges(changes) {\r\n if (!this.Responsive.isDesktop) {\r\n this.currentView = tableView;\r\n }\r\n }\r\n\r\n clearFilters() {\r\n this.gridModel = initGrid(this.getDocuments, this.defaultParams);\r\n this.gridModel.pagingModel.filters = _.cloneDeep(this.defaultFilters);\r\n this.search();\r\n }\r\n\r\n getColumnHeaders() {\r\n return {\r\n admin_false: [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'guiName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Category'),\r\n field: 'documentCategory.translations.name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Published'),\r\n field: 'publishingStartDate',\r\n sortable: true,\r\n },\r\n null,\r\n {\r\n text: this.gettextCatalog.getString('File'),\r\n field: 'name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Type'),\r\n field: 'extension',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Actions'),\r\n },\r\n ],\r\n admin_true: [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'guiName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Category'),\r\n field: 'documentCategory.translations.name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Published'),\r\n field: 'publishingStartDate',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Expires'),\r\n field: 'publishingEndDate',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('File'),\r\n field: 'name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Type'),\r\n field: 'extension',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Actions'),\r\n },\r\n ],\r\n };\r\n }\r\n\r\n getSortByOptions() {\r\n return [\r\n {\r\n label: this.gettextCatalog.getString('Name (A-Z)'),\r\n column: 'guiName',\r\n ascending: 'true',\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Name (Z-A)'),\r\n column: 'guiName',\r\n ascending: 'false',\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Publish Date (ascending)'),\r\n column: 'publishingStartDate',\r\n ascending: 'true',\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Publish Date (descending)'),\r\n column: 'publishingStartDate',\r\n ascending: 'false',\r\n },\r\n ];\r\n }\r\n\r\n setDefaultPreview() {\r\n this.preview = {\r\n previewMode: false,\r\n previewData: {},\r\n };\r\n }\r\n\r\n getViews() {\r\n return [\r\n {\r\n name: this.gettextCatalog.getString('Grid'),\r\n id: 'grid',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('List'),\r\n id: 'table',\r\n },\r\n ];\r\n }\r\n\r\n setViewActive(view) {\r\n this.currentView = view === gridView ? gridView : tableView;\r\n }\r\n\r\n isViewActive(view) {\r\n return this.currentView === view;\r\n }\r\n\r\n isGridViewActive() {\r\n return this.currentView === gridView;\r\n }\r\n\r\n isTableViewActive() {\r\n return this.currentView === tableView;\r\n }\r\n\r\n getGridIconClass(document) {\r\n return fileFormats[document.type] ? fileFormats[document.type].icon : 'fa-file';\r\n }\r\n\r\n checkIfAllowPreview(document) {\r\n return fileFormats[document.type] ? fileFormats[document.type].allowPreview : false;\r\n }\r\n\r\n getPreviewType(document) {\r\n return fileFormats[document.type].previewType;\r\n }\r\n\r\n sortCategories() {\r\n return (category) => _.get(category, `translations[${this.locale}].name`);\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n onSaveDocument(document, documentUpdated, form) {\r\n form.$setSubmitted();\r\n this.validateDates(documentUpdated);\r\n\r\n if (form.$valid && !this.dateError) {\r\n form.$setPristine();\r\n form.$setUntouched();\r\n\r\n const data = { ...document, ...documentUpdated };\r\n\r\n // check if tag was deleted\r\n const deletedTag = this.checkIfTagDeleted(document, documentUpdated);\r\n\r\n this.saveDocument(data)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Document saved successfully.')))\r\n .then(() => this.confirm())\r\n .then(() => (deletedTag ? (this.filters.tag = []) : null));\r\n }\r\n }\r\n\r\n checkIfTagDeleted(document, documentUpdated) {\r\n const documentTags = document.tags;\r\n const documentUpdatedTags = documentUpdated.tags;\r\n\r\n const intersection = _.intersection(documentTags, documentUpdatedTags);\r\n return intersection.length !== documentTags.length;\r\n }\r\n\r\n onRemoveDocument(document) {\r\n this.Notifications.showComplexDialog({\r\n template: removeDocumentConfirmTemplate,\r\n }).result.then((result) => {\r\n if (result) {\r\n this.removeDocument(document)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Document removed successfully.')))\r\n .then(() => this.search());\r\n }\r\n });\r\n }\r\n\r\n onUploadDocument(document) {\r\n return this.uploadDocument(document)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Document uploaded successfully')))\r\n .catch(() => this.Notifications.alertError(this.gettextCatalog.getString('Error while uploading document')));\r\n }\r\n\r\n onDownloadDocument(document) {\r\n this.RwAnalyticsService.sendDownloadDocumentEvent(document);\r\n return this.downloadDocument(document);\r\n }\r\n\r\n onRemoveCategory(category) {\r\n return this.removeCategory(category).then(() =>\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Category removed successfully'))\r\n );\r\n }\r\n\r\n openEditDocumentDialog(doc, categories) {\r\n const documentTmp = {\r\n title: doc.title,\r\n categoryId: doc.categoryId ? doc.categoryId.toString() : null,\r\n tags: _.cloneDeep(doc.tags),\r\n locale: doc.locale,\r\n publishingStartDate: doc.publishingStartDate,\r\n publishingEndDate: doc.publishingEndDate ? doc.publishingEndDate : undefined,\r\n thumbnailData: doc.thumbnail ? [{ name: 'thumbnail' }] : undefined,\r\n };\r\n\r\n const { getTags } = this;\r\n const { search } = this;\r\n\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n template: editDocumentModalTemplate,\r\n controller: DocumentEditController,\r\n resolve: {\r\n doc: () => doc,\r\n config: () => this.api.config,\r\n serverTime: () => this.api.config.serverTime,\r\n documentTmp: () => documentTmp,\r\n categories: () => this.categories,\r\n locales: () => this.locales,\r\n locale: () => this.locale,\r\n keywordMaxLength: () => this.api.config.documents.keywordMaxLength,\r\n sortCategories: () => this.sortCategories(),\r\n onSaveDocument: () => this.onSaveDocument,\r\n validateDates: () => this.validateDates,\r\n saveDocument: () => this.saveDocument,\r\n filters: () => this.gridModel.pagingModel.filters,\r\n checkIfTagDeleted: () => this.checkIfTagDeleted,\r\n filter: () => this.search,\r\n Notifications: () => this.Notifications,\r\n gettextCatalog: () => this.gettextCatalog,\r\n },\r\n }).result.then(() => {\r\n this.getTags();\r\n this.getDocuments(this.gridModel.pagingModel);\r\n });\r\n }\r\n\r\n validateDates(document) {\r\n if (!document.publishingEndDate) {\r\n this.dateError = false;\r\n return;\r\n }\r\n\r\n const dateFrom = moment(document.publishingStartDate);\r\n const dateTo = moment(document.publishingEndDate);\r\n\r\n if (dateFrom.isAfter(dateTo, 'day')) {\r\n this.dateError = true;\r\n } else {\r\n this.dateError = false;\r\n }\r\n }\r\n\r\n async showDocumentPreview(file) {\r\n try {\r\n const previewType = this.getPreviewType(file);\r\n const previewData = this.getDocumentPreviewDetails(file);\r\n\r\n await this.prefetchDocument(file.id);\r\n\r\n if (previewType === 'image') return this.openPreviewIMAGE(previewData);\r\n\r\n return this.openPreviewPDF(previewData);\r\n } catch (error) {\r\n this.preview.previewMode = false;\r\n console.error('DOCUMENTS_COMPONENT', error);\r\n }\r\n }\r\n\r\n getDocumentPreviewDetails(file) {\r\n return {\r\n credentials: () => _.get(this.session, 'tokens.jwt.code'),\r\n filePath: () => `${_.get(this, 'session.rest.documents.download.url')}/${file.id}`,\r\n previewType: () => this.getPreviewType(file),\r\n fileName: () => file.title + file.type,\r\n };\r\n }\r\n\r\n openPreviewPDF(previewData) {\r\n this.preview.previewMode = true;\r\n this.preview.previewData = previewData;\r\n }\r\n\r\n openPreviewIMAGE(previewData) {\r\n this.Notifications.showComplexDialog({\r\n template: previewDocumentDialogTemplate,\r\n resolve: previewData,\r\n });\r\n }\r\n\r\n openUploadFilesDialog() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n template: uploadFormModalTemplate,\r\n bindToController: true,\r\n controller: UploadFormModalController,\r\n resolve: {\r\n serverTime: () => this.api.config.serverTime,\r\n keywordMaxLength: () => this.api.config.documents.keywordMaxLength,\r\n locales: () => this.locales,\r\n locale: () => this.locale,\r\n categories: () => this.categories,\r\n jurisdictionId: () => this.jurisdictionId,\r\n sortCategories: () => this.sortCategories(),\r\n },\r\n }).result.then((document) => {\r\n this.onUploadDocument(document.document).then(() => {\r\n this.getTags();\r\n this.getDocuments(this.gridModel.pagingModel);\r\n });\r\n });\r\n }\r\n\r\n openCreateCategoryDialog() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n size: null,\r\n template: categoryDialogTemplate,\r\n bindToController: true,\r\n controller: CategoryDialogController,\r\n resolve: {\r\n moduleName: () => 'categoryManagement',\r\n namespace: () => 'documents',\r\n api: () => this.api.categoryDialogApi,\r\n category: () => ({\r\n translations: {},\r\n jurisdictionId: this.jurisdictionId,\r\n }),\r\n },\r\n }).result.then((category) => {\r\n this.createCategory(category);\r\n });\r\n }\r\n\r\n openEditCategoryDialog(category) {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n size: null,\r\n template: categoryDialogTemplate,\r\n bindToController: true,\r\n controller: CategoryDialogController,\r\n resolve: {\r\n moduleName: () => 'categoryManagement',\r\n namespace: () => 'documents',\r\n edit: () => true,\r\n api: () => this.api.categoryDialogApi,\r\n category: () => ({\r\n documentTypeId: category.documentTypeId,\r\n translations: category.translations,\r\n jurisdictionId: this.jurisdictionId,\r\n }),\r\n },\r\n }).result.then((category) => {\r\n this.updateCategory(category);\r\n });\r\n }\r\n}\r\n\r\nclass DocumentsComponent {\r\n constructor() {\r\n this.template = documentsTemplate;\r\n this.controller = DocumentsController;\r\n this.bindings = {\r\n appCtrl: '<',\r\n model: '<',\r\n namespace: '@',\r\n moduleName: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nfunction getConsts() {\r\n const gridView = 'grid';\r\n const tableView = 'table';\r\n const fileFormats = {\r\n '.csv': {\r\n icon: 'fa-file-excel-o',\r\n allowPreview: false,\r\n },\r\n '.xls': {\r\n icon: 'fa-file-excel-o',\r\n allowPreview: false,\r\n },\r\n '.xlsx': {\r\n icon: 'fa-file-excel-o',\r\n allowPreview: false,\r\n },\r\n '.rar': {\r\n icon: 'fa-file-archive-o',\r\n allowPreview: false,\r\n },\r\n '.zip': {\r\n icon: 'fa-file-archive-o',\r\n allowPreview: false,\r\n },\r\n '.pdf': {\r\n icon: 'fa-file-pdf-o',\r\n allowPreview: true,\r\n previewType: 'pdf',\r\n },\r\n '.txt': {\r\n icon: 'fa-file-text-o',\r\n allowPreview: false,\r\n },\r\n '.doc': {\r\n icon: 'fa-file-word-o',\r\n allowPreview: false,\r\n },\r\n '.docx': {\r\n icon: 'fa-file-word-o',\r\n allowPreview: false,\r\n },\r\n '.jpg': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.jpeg': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.gif': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.png': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.bmp': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.tiff': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.aac': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.ogg': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.wma': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.flac': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.mp3': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.mp4': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.mpg': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.mpeg': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.avi': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.ppt': {\r\n icon: 'fa-file-powerpoint-o',\r\n allowPreview: false,\r\n },\r\n '.pptx': {\r\n icon: 'fa-file-powerpoint-o',\r\n allowPreview: false,\r\n },\r\n };\r\n return { tableView, gridView, fileFormats };\r\n}\r\n\r\nfunction getDocumentsStateObject() {\r\n return {\r\n parent: 'arw',\r\n url: '/documents',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Documents Library')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('documents.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n categoryDialogApi: {\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n setLanguageValidation: appFactory.actions.app.setLanguageValidation,\r\n },\r\n })),\r\n ],\r\n },\r\n };\r\n}\r\n\r\nexport default angular\r\n .module('documents', ['documents-errorcodes'])\r\n .component('documents', new DocumentsComponent())\r\n .component('documentsFilter', new DocumentsFilterComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('documents-view', getDocumentsStateObject());\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/documents-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('documents-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n documents: {\r\n DOCUMENT_CATEGORY_IS_IN_USE: () => ({ title: gettextCatalog.getString('Category has documents. You cannot delete a category that has documents.') }),\r\n DOCUMENT_ALREADY_EXISTS: () => ({ title: gettextCatalog.getString('Document already exists.') }),\r\n CANNOT_BE_EMPTY: () => ({ title: gettextCatalog.getString('Document cannot be empty.') }),\r\n CATEGORY_EXIST: () => ({ title: gettextCatalog.getString('Category with this name already exists.') }),\r\n DOCUMENT_TYPE_NOT_ALLOWED: () => ({ title: gettextCatalog.getString('Not allowed document type.') }),\r\n INVALID_SIZE: () => ({ title: gettextCatalog.getString('Size must be between 0 and 255 characters.') }),\r\n INVALID_DOCUMENT_NAME_SIZE: () => ({ title: gettextCatalog.getString('Document name must be between 0 and 255 characters.') }),\r\n INVALID_THUMBNAIL_FORMAT: () => ({ title: gettextCatalog.getString('File must be an image in JPEG / JPG or PNG format.') }),\r\n INVALID_THUMBNAIL_SIZE: () => ({ title: gettextCatalog.getString('Maximum thumbnail size is 256KB.') }),\r\n INVALID_THUMBNAIL: () => ({ title: gettextCatalog.getString('Maximum thumbnail size is 256KB.') }),\r\n INVALID_THUMBNAIL_DIMENSIONS: () => ({ title: gettextCatalog.getString('Thumbnail image must be between 300x300px and 500x500px.') }),\r\n INVALID_FILE_SIZE: () => ({ title: gettextCatalog.getString('File size must be below 50 MB\".') }),\r\n TAG_NOT_FOUND: () => ({ title: gettextCatalog.getString('Tag not found.') }),\r\n TAG_NOT_UNIQUE: () => ({ title: gettextCatalog.getString('Tags must be unique.') }),\r\n DOCUMENT_NOT_FOUND: () => ({ title: gettextCatalog.getString('Document not found.') }),\r\n CATEGORY_NOT_FOUND: () => ({ title: gettextCatalog.getString('Category not found.') }),\r\n INVALID_CONTENT_SIZE: () => ({ title: gettextCatalog.getString('The maximum file size must be up to 50 MB.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/config/errorcodes.conf.js","import * as api from '../resources/documents.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const setNewLabelStatusRequest = () => ({\r\n type: actionTypes.SET_NEW_LABEL_STATUS_REQUEST,\r\n});\r\n\r\nexport const setNewLabelStatusSuccess = (status) => ({\r\n type: actionTypes.SET_NEW_LABEL_STATUS_SUCCESS,\r\n status,\r\n});\r\n\r\nexport const setNewLabelStatusFailure = () => ({\r\n type: actionTypes.SET_NEW_LABEL_STATUS_FAILURE,\r\n});\r\n\r\nexport const setNewLabelStatus = () => async (dispatch) => {\r\n try {\r\n dispatch(setNewLabelStatusRequest());\r\n\r\n await api.setNewLabelStatus();\r\n dispatch(setNewLabelStatusSuccess(false));\r\n } catch (error) {\r\n console.error('SET_NEW_LABEL_STATUS', error);\r\n dispatch(setNewLabelStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/set-new-label-status.actions.js","import * as api from '../resources/documents.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const prefetchDocumentRequest = () => ({\r\n type: actionTypes.PREFETCH_DOCUMENT_REQUEST,\r\n});\r\n\r\nexport const prefetchDocumentSuccess = () => ({\r\n type: actionTypes.PREFETCH_DOCUMENT_SUCCESS,\r\n});\r\n\r\nexport const prefetchDocument = (id) => async (dispatch) => {\r\n dispatch(prefetchDocumentRequest());\r\n\r\n dispatch(prefetchDocumentSuccess());\r\n return await api.prefetchDocument(id);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/prefetch-document.actions.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport template from './documents-filter.html';\r\nimport removeCategoryConfirmTemplate from './views/category-delete-confirm.html';\r\n\r\nconst DOCUMENTS_CONTEXT = 'documents';\r\n\r\nconst mapStateToThis = ({ session, config, documents }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n const { categories, tags } = documents;\r\n\r\n return {\r\n locale,\r\n locales,\r\n categories,\r\n tags,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', 'Notifications', 'Responsive', '$mdSelect')\r\nclass DocumentsFilterController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.jurisdictionId = this.config.jurisdictionId;\r\n // this.folders = this.getFolders();\r\n\r\n DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.types.url, { locale: this.locale }).then((result) => {\r\n this.folders = result;\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getFolders() {\r\n return [\r\n {\r\n name: this.gettextCatalog.getString('Document'),\r\n fileType: 'document',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('Audio'),\r\n fileType: 'audio',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('Image'),\r\n fileType: 'image',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('Video'),\r\n fileType: 'video',\r\n },\r\n ];\r\n }\r\n\r\n onOpenCategoryDialog(category, $event) {\r\n $event.stopPropagation();\r\n\r\n // TODO bad fix for material\r\n this.$mdSelect.hide();\r\n\r\n return this.openEditCategoryDialog({ category });\r\n }\r\n\r\n removeCategory(category, $event) {\r\n $event.stopPropagation();\r\n\r\n // TODO bad fix for material\r\n this.$mdSelect.hide();\r\n\r\n this.Notifications.showComplexDialog({\r\n template: removeCategoryConfirmTemplate,\r\n }).result.then((result) => {\r\n if (result) {\r\n this.onRemoveCategory({ category }).then(() => {\r\n this.clearFiltersAndReload();\r\n });\r\n }\r\n });\r\n }\r\n\r\n sortCategories() {\r\n return (category) => _.get(category, `translations[${this.locale}].name`);\r\n }\r\n}\r\n\r\nexport default class DocumentsFilterComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = DocumentsFilterController;\r\n this.bindings = {\r\n filters: '<',\r\n config: '\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n File Type\\r\\n \\r\\n \\r\\n {{folder.name}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category\\r\\n \\r\\n \\r\\n
\\r\\n {{category.translations[$ctrl.locale].name}}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n File Language\\r\\n \\r\\n \\r\\n {{locale.label}}\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n Tags\\r\\n \\r\\n \\r\\n {{tag}}\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-filter/documents-filter.html\n// module id = 1270\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n \\r\\n Are you sure you want to delete this category?\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-filter/views/category-delete-confirm.html\n// module id = 1271\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n \\r\\n Are you sure you want to delete this file?\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n This action cannot be undone.\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/views/document-delete-confirm.html\n// module id = 1272\n// module chunks = 0","module.exports = \"
\\r\\n

Edit File

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n File Language*\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{locale.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
Please select language(s).
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter file name.
\\r\\n
\\r\\n
\\r\\n
\\r\\n Category*\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{category.translations[$ctrl.locale].name}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
Please select Category.
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n Maximum allowed keyword length is {{$ctrl.keywordMaxLength}} characters\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ tag }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Publication Date.\\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n Available Until Date cannot be before Publication Date\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/views/edit-document-modal.html\n// module id = 1273\n// module chunks = 0","module.exports = \"
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Close\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/views/preview-document-dialog.html\n// module id = 1274\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n New Category\\r\\n Edit Category\\r\\n

\\r\\n 1\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category name required\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-management/category-dialog/category-dialog.html\n// module id = 1275\n// module chunks = 0","module.exports = \"
\\r\\n

Upload File

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter file name.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Category*\\r\\n \\r\\n \\r\\n {{category.translations[$ctrl.locale].name}}\\r\\n \\r\\n \\r\\n
\\r\\n
Please select Category.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n File Language*\\r\\n \\r\\n \\r\\n {{locale.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
Please select language(s).\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n Maximum allowed keyword length is {{$ctrl.keywordMaxLength}} characters\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ tag }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select Publish On.\\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Until date cannot be before Publish On\\r\\n \\r\\n \\r\\n Dates must be greater than current date\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal.html\n// module id = 1276\n// module chunks = 0","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\n\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst defaultDocument = {\r\n formData: {\r\n pageType: null,\r\n jurisdictionId: null,\r\n tags: [],\r\n },\r\n};\r\n\r\n@Inject('$mdSelect', 'Responsive')\r\nclass UploadFormModalController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.document = this.initializeDocument(_.cloneDeep(defaultDocument));\r\n }\r\n\r\n sortCategories() {\r\n return (category) => _.get(category, `translations[${this.locale}].name`);\r\n }\r\n\r\n initializeDocument(document) {\r\n document.formData.pageType = this.documentType;\r\n document.formData.jurisdictionId = this.jurisdictionId;\r\n document.formData.publishingStartDate = moment.unix(this.serverTime);\r\n return document;\r\n }\r\n\r\n addTag(tag) {\r\n if (!tag) {\r\n return;\r\n }\r\n\r\n if (!tag || tag.length > this.keywordMaxLength) {\r\n return this.uploadForm.keywords.$setValidity('keyword-max-length', false);\r\n }\r\n\r\n this.document.formData.tags = this.document.formData.tags.concat(tag);\r\n this.tagName = null;\r\n }\r\n\r\n removeTag(index) {\r\n this.document.formData.tags.splice(index, 1);\r\n }\r\n\r\n validateDates(document) {\r\n this.dateError1 = false;\r\n const dateFrom = moment(document.formData.publishingStartDate);\r\n const dateTo = moment(document.formData.publishingEndDate);\r\n const today = moment.unix(DepsService.config.serverTime);\r\n if (document.formData.publishingEndDate) {\r\n this.dateError1 = !dateFrom.isBefore(dateTo, 'day');\r\n }\r\n this.dateError2 = dateFrom.isBefore(today, 'day');\r\n }\r\n\r\n upload(uploadForm) {\r\n this.document = this.handleCategory(_.cloneDeep(this.document.formData));\r\n uploadForm.$setSubmitted();\r\n this.validateDates(this.document);\r\n\r\n const document = _.cloneDeep(this.document);\r\n document.formData.publishingStartDate = moment(document.formData.publishingStartDate).format('YYYY-MM-DD');\r\n document.formData.publishingEndDate = document.formData.publishingEndDate ? moment(document.formData.publishingEndDate).format('YYYY-MM-DD') : null;\r\n\r\n if (uploadForm.$valid && !this.dateError1 && !this.dateError2 && !this.fileErrors) {\r\n this.confirm({\r\n document: _.cloneDeep(document),\r\n });\r\n uploadForm.$setPristine();\r\n uploadForm.$setUntouched();\r\n }\r\n }\r\n\r\n handleCategory(formData) {\r\n if (_.findIndex(this.categories, { documentTypeId: formData.categoryId * 1 }) === -1) {\r\n this.document.formData = this.removeCategoryFromList(formData, formData.categoryId);\r\n }\r\n return this.document;\r\n }\r\n\r\n removeCategoryFromList(formData, categoryId) {\r\n return _.omit(formData, (value) => value === categoryId);\r\n }\r\n}\r\n\r\nexport default UploadFormModalController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal-controller.js","import { isEmpty, get } from 'lodash';\r\n\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst MAX_NAME_LENGTH = 255;\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'appFactory', '$timeout', 'Notifications')\r\nclass CategoryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.$timeout(() => {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form, get(this, 'category.documentTypeId'));\r\n });\r\n this.maxNameLength = MAX_NAME_LENGTH;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n const hasEmptyTranslation = this.locales.some(\r\n (locale) => isEmpty(this.category.translations[locale.code]) || isEmpty(this.category.translations[locale.code].name)\r\n );\r\n\r\n if (hasEmptyTranslation && this.locales.length > 1) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n } else if (!hasEmptyTranslation) {\r\n this.confirm(this.category);\r\n }\r\n }\r\n}\r\n\r\nexport default CategoryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/components/documents-management/category-dialog/category-dialog-controller.js","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Sort\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n New Category\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Upload File\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n View\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n Sorry, no results were found.\\r\\n
\\r\\n\\r\\n
\\r\\n Loading...\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n Preview\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ document.title }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n {{ document.type }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ document.dateCreated }}\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.title }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Preview\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Edit\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Delete\\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ ::document.category.translations[$ctrl.locale].name }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{::document.publishingStartDate }}\\r\\n \\r\\n\\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{::document.publishingEndDate }}\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.name }}\\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.type }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.title }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Preview\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Edit\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Delete\\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::document.dateCreated}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ ::document.category.translations[$ctrl.locale].name }}\\r\\n \\r\\n\\r\\n \\r\\n {{ ::document.type }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{::document.publishingStartDate }}\\r\\n \\r\\n\\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/documents.html\n// module id = 1279\n// module chunks = 0","import angular from 'angular';\r\nimport './config/errorcodes.conf';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport template from './email-notification-templates.html';\r\nimport EmailNotificationTemplatesUpdateComponent from './components/update/email-notification-template-update-component';\r\nimport EmailNotificationTabComponent from './components/email-notification-tab/email-notification-tab-component';\r\n\r\nconst DEFAULT_TAB_ID = 'email';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog', '$stateParams')\r\nclass EmailNotificationTemplatesController {\r\n $onInit() {\r\n this.activeTabId = this.$stateParams.tabId || DEFAULT_TAB_ID;\r\n this.onTabSelect(this.activeTabId);\r\n }\r\n\r\n onTabSelect(tabId) {\r\n this.activeTabId = tabId;\r\n this.api[tabId].filter.run();\r\n }\r\n}\r\n\r\nclass EmailNotificationTemplatesComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EmailNotificationTemplatesController;\r\n this.bindings = {\r\n model: '<',\r\n multilangLocale: '<',\r\n namespace: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('email-notification-templates', ['email-notifications-templates-errorcodes', EmailNotificationTabComponent.name])\r\n .component('emailNotificationTemplateUpdate', new EmailNotificationTemplatesUpdateComponent())\r\n .component('emailNotificationTemplates', new EmailNotificationTemplatesComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('emailNotificationsTemplates-view', {\r\n parent: 'arw',\r\n url: '/email-notifications/templates?tabId',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Notification Templates')));\r\n },\r\n ],\r\n },\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n email: {\r\n filter: appFactory.dispatch('notificationTemplates.emailGrid.applyFilters', true),\r\n },\r\n sms: {\r\n filter: appFactory.dispatch('notificationTemplates.smsGrid.applyFilters', true),\r\n },\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n setLanguageValidation: appFactory.actions.app.setLanguageValidation,\r\n }),\r\n ],\r\n },\r\n })\r\n .state('emailNotificationsTemplates-update', {\r\n parent: 'arw',\r\n url: '/email-notifications/templates/:templateId/update/:templateName',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Edit Notification Template')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n fetchTemplate: appFactory.dispatch('emailNotificationTemplates.fetchTemplate', true),\r\n updateTemplate: appFactory.dispatch('emailNotificationTemplates.updateTemplate', true),\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n }),\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/email-notification-templates-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('email-notifications-templates-errorcodes', []).run([\r\n 'appFactory',\r\n function errorCodes(appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n emailNotificationsTemplates: {},\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/config/errorcodes.conf.js","module.exports = \"\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/email-notification-templates.html\n// module id = 1282\n// module chunks = 0","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.templateName }} -\\r\\n Email\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Subject is required.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter Message.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n No template data.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/components/update/email-notification-template-update.html\n// module id = 1283\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport TabContentComponent from './components/tab-content/tab-content-component';\r\nimport TabHeaderComponent from './components/tab-header/tab-header-component';\r\n\r\nexport default angular\r\n .module('email-notifications-tab', [])\r\n .component('emailNotificationsTabHeader', new TabHeaderComponent())\r\n .component('emailNotificationsTabContent', new TabContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/email-notification-tab/email-notification-tab-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content.html\n// module id = 1285\n// module chunks = 0","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header.html\n// module id = 1286\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport SmsNotificationTemplatesComponent from './components/sms-notification-templates/sms-notification-templates-component';\r\nimport ManageLoginSmsNotificationComponent from './components/manage-login-sms-notification/manage-login-sms-notification-component';\r\nimport ManageSmsNotificationComponent from './components/manage-sms-notification/manage-sms-notification-component';\r\n\r\nexport default angular\r\n .module('sms', [\r\n 'utils',\r\n SmsNotificationTemplatesComponent.name,\r\n ManageLoginSmsNotificationComponent.name,\r\n ManageSmsNotificationComponent.name,\r\n ])\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('sms-update', {\r\n parent: 'arw',\r\n url: '/sms-notifications/templates/:templateId/update/:templateName',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('SMS Notification Templates')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('sms.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n fetchTemplate: appFactory.dispatch('sms.fetchTemplate', true),\r\n updateTemplate: appFactory.dispatch('sms.updateTemplate', true),\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/sms-component.js","import angular from 'angular';\r\nimport SmsNotificationTabComponent from './components/sms-notification-tab/sms-notification-tab-component';\r\nimport SmsNotificationEditComponent from './components/sms-notification-edit/sms-notification-edit-component';\r\n\r\nexport default angular.module('sms-notification-templates', ['email-notification-templates', SmsNotificationTabComponent.name, SmsNotificationEditComponent.name]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/sms-notification-templates-component.js","import angular from 'angular';\r\n\r\nimport TabContentComponent from './components/tab-content/tab-content-component';\r\nimport TabHeaderComponent from './components/tab-header/tab-header-component';\r\n\r\nexport default angular\r\n .module('sms-notifications-tab', ['email-notifications-tab'])\r\n .component('smsNotificationsTabHeader', new TabHeaderComponent())\r\n .component('smsNotificationsTabContent', new TabContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/sms-notification-tab-component.js","import EmailTabContentComponent from 'email-notification-templates/components/email-notification-tab/components/tab-content/tab-content-component';\r\nimport template from './tab-content.html';\r\n\r\nexport default class SmsTabContentComponent extends EmailTabContentComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content.html\n// module id = 1291\n// module chunks = 0","import EmailTabHeaderComponent\r\n from 'email-notification-templates/components/email-notification-tab/components/tab-header/tab-header-component';\r\nimport template from './tab-header.html';\r\n\r\nexport default class SmsTabHeaderComponent extends EmailTabHeaderComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header-component.js","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header.html\n// module id = 1293\n// module chunks = 0","import angular from 'angular';\r\nimport EmailNotificationsTemplateUpdateComponent, {\r\n EmailNotificationsTemplateUpdateController,\r\n} from 'email-notification-templates/components/update/email-notification-template-update-component';\r\nimport template from './sms-notification-edit.html';\r\nimport dialogTemplate from './sms-dialog.html';\r\n\r\nconst UNLIMITED = -1;\r\nconst SMS_TEMPLATE_KEY = 'smsTemplate';\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$rootScope', '$state', 'gettextCatalog', 'Notifications')\r\nclass SmsNotificationEditController extends EmailNotificationsTemplateUpdateController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.activeTabId = 'sms';\r\n }\r\n\r\n $onInit() {\r\n super.$onInit(SMS_TEMPLATE_KEY);\r\n this.onLanguageSelect(this.locale);\r\n }\r\n\r\n submitForm() {\r\n this.api.validateForm.run(this.namespace, this.moduleName).then((model) => {\r\n if (!this.formModel[this.model.notificationTemplates.smsTemplate.language].smsTemplateBodyTxt) {\r\n this.Notifications.showComplexDialog({\r\n dialogTemplate,\r\n }).then(() =>\r\n this.api.updateTemplate\r\n .run(this.templateId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Template saved successfully')).result)\r\n .then(() =>\r\n this.$state.go('emailNotificationsTemplates-view', {\r\n tabId: this.activeTabId,\r\n skipDirtyForms: true,\r\n })\r\n )\r\n );\r\n } else {\r\n this.api.updateTemplate\r\n .run(this.templateId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Template saved successfully')).result)\r\n .then(() =>\r\n this.$state.go('emailNotificationsTemplates-view', {\r\n tabId: this.activeTabId,\r\n skipDirtyForms: true,\r\n })\r\n );\r\n }\r\n });\r\n }\r\n\r\n prepareOptions() {\r\n return {\r\n ...this.api.config.ckeditor,\r\n extraPlugins: 'autogrow,emailVariables,wordcount',\r\n removePlugins: 'elementspath,save,font',\r\n emailVariables: this.model.notificationTemplates.smsTemplate.params,\r\n toolbar: [{ name: 'insert', items: ['emailVariables'] }],\r\n wordcount: {\r\n showParagraphs: false,\r\n showWordCount: false,\r\n showCharCount: true,\r\n countSpacesAsChars: true,\r\n countHTML: true,\r\n maxWordCount: UNLIMITED,\r\n maxCharCount: UNLIMITED,\r\n },\r\n };\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nclass SmsNotificationEditComponent extends EmailNotificationsTemplateUpdateComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n this.controller = SmsNotificationEditController;\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular.module('sms-notifications-edit', []).component('smsNotificationEdit', new SmsNotificationEditComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.templateName }} -\\r\\n SMS\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter Message.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n No template data.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit.html\n// module id = 1295\n// module chunks = 0","module.exports = \"
    \\r\\n

    Empty message

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n Are you sure you want to save these changes without entering a message?\\r\\n

    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-dialog.html\n// module id = 1296\n// module chunks = 0","import angular from 'angular';\r\nimport EditComponent from './components/manage-login-sms-notification-edit/component';\r\nimport ViewComponent from './components/manage-login-sms-notification-view/component';\r\n\r\nexport default angular\r\n .module('manage-login-sms-notifications', [])\r\n .component('manageLoginSmsNotificationEdit', new EditComponent())\r\n .component('manageLoginSmsNotificationView', new ViewComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-login-sms-notification/manage-login-sms-notification-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    Send notification to SMS users\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    SMS Message Type*
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    *Only first 160 characters defined in window will be sent using SMS message.\\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/template.html\n// module id = 1298\n// module chunks = 0","import EditComponent from '../manage-login-sms-notification-edit/component';\r\nimport template from './template.html';\r\n\r\nexport default class ViewComponent extends EditComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n Send notification to SMS users\\r\\n
    \\r\\n Yes\\r\\n No\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Notification Type\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ type.smsTypeTxt }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/template.html\n// module id = 1300\n// module chunks = 0","import angular from 'angular';\r\nimport ManageSmsNotificationViewComponent\r\n from './components/manage-sms-notification-view/manage-sms-notification-view-component';\r\nimport ManageSmsNotificationEditComponent\r\n from './components/manage-sms-notification-edit/manage-sms-notification-edit-component';\r\n\r\nexport default angular\r\n .module('manage-sms-notifications', [])\r\n .component('manageSmsNotificationEdit', new ManageSmsNotificationEditComponent())\r\n .component('manageSmsNotificationView', new ManageSmsNotificationViewComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-sms-notification/manage-sms-notification-component.js","import template from './manage-sms-notification-view.html';\r\n\r\n@Inject('gettextCatalog', 'appFactory')\r\nclass ManageSmsNotificationViewController {\r\n $onChanges(changes) {\r\n this.smsEnabled = !!changes.smsEnabled.currentValue;\r\n }\r\n}\r\n\r\nexport default class ManageSmsNotificationViewComponent {\r\n constructor() {\r\n this.controller = ManageSmsNotificationViewController;\r\n this.template = template;\r\n this.bindings = {\r\n smsEnabled: '<',\r\n showSubscriptionDialog: '&',\r\n isShown: '<',\r\n disabled: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view-component.js","module.exports = \"
    \\r\\n SMS Subscription\\r\\n
    \\r\\n
    \\r\\n  \\r\\n On\\r\\n
    \\r\\n
    \\r\\n  \\r\\n Off\\r\\n
    \\r\\n
    \\r\\n \\r\\n (\\r\\n Show Selected)\\r\\n \\r\\n

    \\r\\n {{ $ctrl.appFactory.deps.config.smsInformation }}\\r\\n

    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view.html\n// module id = 1303\n// module chunks = 0","import template from './manage-sms-notification-edit.html';\r\n\r\n@Inject('Notifications', 'appFactory')\r\nclass ManageSmsNotificationViewController {\r\n $onChanges(changes) {\r\n if (changes.smsEnabled) {\r\n this.smsEnabled = !!this.smsEnabled;\r\n }\r\n }\r\n\r\n applySmsNotifications(data) {\r\n if (data.smsEnabled) {\r\n this.onShowSmsPolicy();\r\n }\r\n this.applyChanges(data);\r\n }\r\n\r\n onShowSubscriptionDialog() {\r\n if (!this.disabled) {\r\n return this.showSubscriptionDialog();\r\n }\r\n }\r\n\r\n onShowSmsPolicy() {\r\n this.showSmsPolicy.run();\r\n }\r\n}\r\n\r\nexport default class ManageSmsNotificationViewComponent {\r\n constructor() {\r\n this.controller = ManageSmsNotificationViewController;\r\n this.template = template;\r\n this.bindings = {\r\n smsEnabled: '<',\r\n disabled: '<',\r\n smsPolicy: '<',\r\n applyChanges: '&',\r\n showSubscriptionDialog: '&',\r\n showSmsPolicy: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit-component.js","module.exports = \"
    \\r\\n \\r\\n Notification Preferences\\r\\n \\r\\n
    \\r\\n SMS Notifications \\r\\n \\r\\n (Customize)\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n  \\r\\n On\\r\\n
    \\r\\n
    \\r\\n  \\r\\n Off\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n SMS Notification Policy\\r\\n \\r\\n

    \\r\\n {{ $ctrl.appFactory.deps.config.smsInformation }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit.html\n// module id = 1305\n// module chunks = 0","import angular from 'angular';\r\nimport 'angular-ui-tree';\r\nimport faqViewTemplate from './faq.html';\r\nimport FaqManagementComponent from './components/faq-management/faq-management-component';\r\nimport FaqCategoryComponent from './components/faq-category/faq-category-component';\r\nimport FaqSearchComponent from './components/faq-search/faq-search-component';\r\nimport './config/errorcodes.conf';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Responsive')\r\nclass FaqViewController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n this.api.loadData.run(this.editMode);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n acceptDndTree(sourceNodeScope, destNodesScope) {\r\n return this.api.accept(sourceNodeScope, destNodesScope);\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nclass FaqViewComponent {\r\n constructor() {\r\n this.template = faqViewTemplate;\r\n this.controller = FaqViewController;\r\n this.bindings = {\r\n appCtrl: '<',\r\n model: '<',\r\n editMode: '<',\r\n moduleName: '@',\r\n namespace: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('faq', ['ui.router', 'ui.tree', 'faq-errorcodes'])\r\n .component('faq', new FaqViewComponent())\r\n .component('faqSearch', new FaqSearchComponent())\r\n .component('faqManagement', new FaqManagementComponent())\r\n .component('faqCategory', new FaqCategoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('faq-view', {\r\n parent: 'arw',\r\n url: '/faq',\r\n restKey: 'user',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Frequently Asked Questions')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('faq.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n search: appFactory.dispatch('faq.search', true),\r\n loadData: appFactory.dispatch('faq.loadData', true),\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('faq-admin', {\r\n parent: 'arw',\r\n url: '/faq-admin',\r\n restKey: 'admin',\r\n template: ` `,\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Frequently Asked Questions')));\r\n },\r\n ],\r\n },\r\n redirectTo: 'permissions-denied',\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('faq.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n accept: appFactory.actions.faq.accept,\r\n dropped: appFactory.dispatch('faq.dropped', true),\r\n loadData: appFactory.dispatch('faq.loadData', true),\r\n saveCategory: appFactory.dispatch('faq.saveCategory', true),\r\n updateCategory: appFactory.dispatch('faq.updateCategory', true),\r\n deleteCategory: appFactory.dispatch('faq.deleteCategory', true),\r\n deleteEntry: appFactory.dispatch('faq.deleteEntry', true),\r\n saveEntry: appFactory.dispatch('faq.saveEntry', true),\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n faqDialogApi: {\r\n config: appFactory.deps.config,\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n setLanguageValidation: appFactory.actions.app.setLanguageValidation,\r\n },\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n hideSidebar: false,\r\n })\r\n .state('faq-user', {\r\n parent: 'arw',\r\n url: '/faq-user',\r\n restKey: 'user',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Frequently Asked Questions')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('faq.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n search: appFactory.dispatch('faq.search', true),\r\n loadData: appFactory.dispatch('faq.loadData', true),\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n hideSidebar: false,\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/faq-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Here you can create a new FAQ entry or edit or delete existing entries. In order to delete a category, you must first delete or move all of the entries in that category.
    Click and hold on the four-arrows icon to “drag and drop” a category or entry to a new location.\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Can't find the information you're looking for?\\r\\n \\r\\n \\r\\n \\r\\n Contact Us\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n FAQ temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/faq.html\n// module id = 1309\n// module chunks = 0","import faqManagementTemplate from './faq-management.html';\r\nimport faqCategoryDialogTemplate from '../faq-category-dialog/faq-category-dialog-template.html';\r\nimport FaqCategoryDialogController from '../faq-category-dialog/faq-category-dialog-controller';\r\nimport faqEntryDialogTemplate from '../faq-entry-dialog/faq-entry-dialog-template.html';\r\nimport FaqEntryDialogController from '../faq-entry-dialog/faq-entry-dialog-controller';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'gettextCatalog')\r\nclass FaqManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n openCategoryDialog() {\r\n this.Notifications.showComplexDialog({\r\n template: faqCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqCategoryDialogController,\r\n size: 'md',\r\n resolve: {\r\n moduleName: () => 'faqCategory',\r\n namespace: () => 'faq',\r\n category: () => {},\r\n title: () => this.gettextCatalog.getString('Add Category'),\r\n api: () => this.api.faqDialogApi,\r\n },\r\n }).result.then((category) => {\r\n this.saveCategory.run(category);\r\n });\r\n }\r\n\r\n openEntryDialog() {\r\n this.Notifications.showComplexDialog({\r\n template: faqEntryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqEntryDialogController,\r\n resolve: {\r\n moduleName: () => 'faqEntry',\r\n namespace: () => 'faq',\r\n entry: () => {},\r\n title: () => this.gettextCatalog.getString('Create Question'),\r\n api: () => this.api.faqDialogApi,\r\n saveEntry: () => this.saveEntry,\r\n },\r\n });\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport default class FaqManagementComponent {\r\n constructor() {\r\n this.template = faqManagementTemplate;\r\n this.controller = FaqManagementController;\r\n this.bindings = {\r\n saveCategory: '<',\r\n saveEntry: '<',\r\n appCtrl: '<',\r\n model: '<',\r\n api: '<',\r\n namespace: '<',\r\n moduleName: '<',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-management/faq-management-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n New FAQ Entry\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n New Category\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-management/faq-management.html\n// module id = 1311\n// module chunks = 0","import _ from 'lodash';\r\nimport faqCategoryTemplate from './faq-category.html';\r\n\r\nimport faqCategoryDialogTemplate from '../faq-category-dialog/faq-category-dialog-template.html';\r\nimport FaqCategoryDialogController from '../faq-category-dialog/faq-category-dialog-controller';\r\n\r\nimport faqEntryDialogTemplate from '../faq-entry-dialog/faq-entry-dialog-template.html';\r\nimport FaqEntryDialogController from '../faq-entry-dialog/faq-entry-dialog-controller';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$sce', 'Notifications', 'gettextCatalog')\r\nclass FaqCategoryController {\r\n constructor() {\r\n this.faqDndTree = {\r\n accept: (sourceNodeScope, destNodesScope) => this.api.accept(sourceNodeScope, destNodesScope),\r\n dropped: (event) => this.api.dropped.run(event),\r\n };\r\n }\r\n\r\n openCategoryDialog(category) {\r\n this.Notifications.showComplexDialog({\r\n template: faqCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqCategoryDialogController,\r\n resolve: {\r\n moduleName: () => 'faqCategory',\r\n namespace: () => 'faq',\r\n category: () => category,\r\n title: () => this.gettextCatalog.getString('Edit Category'),\r\n language: () => this.model.faq.faq.language || this.model.session.locale,\r\n api: () => this.api.faqDialogApi,\r\n },\r\n }).result.then((category) => {\r\n this.api.updateCategory.run(category);\r\n });\r\n }\r\n\r\n openEntryDialog(entry) {\r\n this.Notifications.showComplexDialog({\r\n template: faqEntryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqEntryDialogController,\r\n resolve: {\r\n moduleName: () => 'faqEntry',\r\n namespace: () => 'faq',\r\n entry: () => _.cloneDeep(entry),\r\n title: () => this.gettextCatalog.getString('Edit Question'),\r\n language: () => this.model.faq.faq.language || this.model.session.locale,\r\n api: () => this.api.faqDialogApi,\r\n saveEntry: () => this.api.saveEntry,\r\n },\r\n });\r\n }\r\n\r\n deleteCategoryHandler(category) {\r\n if (!this.hasEntries(category)) {\r\n this.api.deleteCategory\r\n .run(category)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Category has been removed')));\r\n } else {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Category has entries'));\r\n }\r\n }\r\n\r\n hasEntries(category) {\r\n return category.entries.length > 0;\r\n }\r\n\r\n deleteEntryHandler($event, entry) {\r\n this.api.deleteEntry.run(entry).then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Entry has been removed')));\r\n }\r\n\r\n trustAsHtml(string) {\r\n return this.$sce.trustAsHtml(string);\r\n }\r\n}\r\n\r\nexport default class FaqCategoryComponent {\r\n constructor() {\r\n this.template = faqCategoryTemplate;\r\n this.controller = FaqCategoryController;\r\n this.bindings = {\r\n model: '<',\r\n editMode: '<',\r\n api: '<',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-category/faq-category-component.js","module.exports = \"
    \\r\\n
      \\r\\n
    • \\r\\n
      \\r\\n
      \\r\\n {{ category.faqCategoryTranslationsDto[$ctrl.model.faq.faq.language || $ctrl.model.session.locale].name }}\\r\\n
      \\r\\n
      \\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
      \\r\\n
      \\r\\n
      \\r\\n
      \\r\\n
        \\r\\n
      • \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
        \\r\\n
        \\r\\n {{ entry.faqEntryTranslationsDto[$ctrl.model.faq.faq.language || $ctrl.model.session.locale].name }}\\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
        \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
      • \\r\\n
      \\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n Sorry, no results were found.\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-category/faq-category.html\n// module id = 1313\n// module chunks = 0","import faqSearchTemplate from './faq-search.html';\r\n\r\n@Inject('Responsive')\r\nclass FaqSearchController {\r\n constructor() {\r\n this.searchPhrase = '';\r\n }\r\n\r\n onChangeHandler() {\r\n this.search({\r\n phrase: this.searchPhrase.toLowerCase(),\r\n });\r\n }\r\n\r\n resetSearch() {\r\n this.searchPhrase = '';\r\n this.onChangeHandler();\r\n }\r\n}\r\n\r\nexport default class FaqSearchComponent {\r\n constructor() {\r\n this.template = faqSearchTemplate;\r\n this.controller = FaqSearchController;\r\n this.bindings = {\r\n search: '&',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-search/faq-search-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n Search\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Reset\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-search/faq-search.html\n// module id = 1315\n// module chunks = 0","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('faq-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n faq: {\r\n 13: () => ({ title: gettextCatalog.getString('Please select Category.') }),\r\n 14: () => ({ title: gettextCatalog.getString('Category with specified name or ordinal number already exists. Please enter other name.') }),\r\n 15: () => ({ title: gettextCatalog.getString('FAQ entry with specified name or ordinal number already exists. Please enter other name.') }),\r\n 16: () => ({ title: gettextCatalog.getString('Specified FAQ category does not exist.') }),\r\n 17: () => ({ title: gettextCatalog.getString('Specified FAQ category is not empty. You cannot delete FAQ category which contains questions.') }),\r\n FAQ_CATEGORY_ALREADY_EXIST: () => ({ title: gettextCatalog.getString('Category with specified name or ordinal number already exists. Please enter other name.') }),\r\n FAQ_ENTRY_ALREADY_EXIST: () => ({ title: gettextCatalog.getString('FAQ entry with this name or ordinal number already exists.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/config/errorcodes.conf.js","import angular from 'angular';\r\n\r\nimport errorCodes from './config/errorcodes.conf';\r\n\r\nimport messageRouting from './message-routing-module';\r\nimport messagesList from './components/messages-list/messages-list-module';\r\nimport sentMessagesList from './components/sent-messages-list/sent-messages-list-module';\r\nimport sentMessageDetails from './components/sent-message-details/sent-message-details-module';\r\nimport messageDetails from './components/message-details/message-details-module';\r\nimport createMessage from './components/create-message/create-message-module';\r\nimport messagesTab from './components/messages-tab/messages-tab-module';\r\nimport recipientsList from './components/recipients-list/recipients-list-module';\r\nimport replyMessageDialogModule from './components/reply-message-dialog/reply-message-dialog-module';\r\n\r\nimport messageDefinitionService from './message-definition-service';\r\n\r\nexport default angular\r\n .module('message', [\r\n errorCodes.name,\r\n replyMessageDialogModule.name,\r\n messageRouting.name,\r\n messagesList.name,\r\n sentMessagesList.name,\r\n sentMessageDetails.name,\r\n messageDetails.name,\r\n createMessage.name,\r\n messagesTab.name,\r\n recipientsList.name,\r\n ])\r\n .service('messageDefinitionService', messageDefinitionService);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('message-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n message: {\r\n 31: () => ({ title: gettextCatalog.getString('Please select Recipients.') }),\r\n 52: () => ({ title: gettextCatalog.getString('Message content is too long.') }),\r\n CANNOT_BE_EMPTY: () => ({ body: gettextCatalog.getString('Message may not be empty') }),\r\n INVALID_SIZE: () => ({ body: gettextCatalog.getString('Message content is too long. Maximum character count is 1024') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/config/errorcodes.conf.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('message-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('message', {\r\n parent: 'arw',\r\n abstract: true,\r\n url: '/messages',\r\n template: '
    ',\r\n })\r\n .state('message.list', {\r\n url: '',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('All Messages')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('message.sent', {\r\n url: '/sent/details/:id',\r\n template: '',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Sent - Message details')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n id: ['$stateParams', ($stateParams) => $stateParams.id],\r\n },\r\n })\r\n .state('message.view', {\r\n url: '/details/:id',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Inbox - Message details')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n id: ['$stateParams', ($stateParams) => $stateParams.id],\r\n },\r\n })\r\n .state('message.create', {\r\n url: '/message-create',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Inbox - Create Message')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-routing-module.js","import angular from 'angular';\r\nimport MessagesListComponent from './messages-list-component';\r\n\r\nexport default angular.module('messages-list', []).component('messagesList', new MessagesListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-list/messages-list-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nimport { fetchMessagesList, markMessageAsUnread, markMessageAsRead, resetInbox, deleteMessages } from 'message/actions/inbox.actions';\r\nimport {\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n} from 'message/actions/selected-messages.actions';\r\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\n\r\nimport { selectedMessageDetailsSelector } from 'selectors/index';\r\n\r\nimport template from './messages-list.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, messages, ui, config } = state;\r\n const { locale } = session;\r\n const { inbox, inboxLoadingStatus: isLoading, selectedMessages } = messages;\r\n const { pagination } = ui;\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey } = config;\r\n const { selectedMessagesList, hasAllMessagesSelected } = selectedMessages;\r\n\r\n return {\r\n locale,\r\n messages: inbox,\r\n isLoading,\r\n pagination,\r\n selectedMessagesList,\r\n hasAllMessagesSelected,\r\n pageSizeKey,\r\n sortColumnKey,\r\n directionKey,\r\n defaultPageSize: defaultPageSizes[2],\r\n selectedMessage: selectedMessageDetailsSelector(state),\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchMessagesList,\r\n deleteMessages,\r\n markMessageAsUnread,\r\n markMessageAsRead,\r\n fetchUnreadMessagesCount,\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n resetInbox,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', '$ngRedux', 'Notifications', 'messageDefinitionService')\r\nclass MessagesListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.canCreateMessage = this.checkAccess('message.create');\r\n\r\n this.fetchUnreadMessagesCount();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'inAppMessage.sendDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSize,\r\n };\r\n this.gridModel = initGrid(this.fetchMessagesList, this.defaultParams);\r\n\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessagesList();\r\n this.resetInbox();\r\n this.unsubscribe();\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteMessages();\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSGS_DELETE', 'desc'));\r\n\r\n this.search();\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.messageDefinitionService.get('FROM', 'desc'),\r\n field: 'inAppMessage.authorName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('SUBJECT_AND_PREVIEW', 'desc'),\r\n field: 'inAppMessage.subject',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('DATE', 'desc'),\r\n field: 'inAppMessage.sendDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n canReply() {\r\n if (isEmpty(this.selectedMessage) || this.selectedMessagesList.length !== 1) return false;\r\n\r\n return this.selectedMessage.allowReply;\r\n }\r\n\r\n replyMessage() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n component: 'replyMessageDialog',\r\n });\r\n }\r\n\r\n viewMessage(id) {\r\n this.$state.go('message.view', { id });\r\n }\r\n\r\n toggleSelectAllMessages() {\r\n const messagesList = this.messages.map(({ userMessageId }) => userMessageId);\r\n this.toggleSelectAllMessagesPointer(messagesList);\r\n }\r\n\r\n selectMessage(id) {\r\n this.onMessageSelection(id);\r\n const hasAllMessagesSelected = this.messages.length === this.selectedMessagesList.length;\r\n this.setSelectAllPointerStatus(hasAllMessagesSelected);\r\n }\r\n\r\n isSelected(id) {\r\n return this.selectedMessagesList.includes(id);\r\n }\r\n}\r\n\r\nexport default class MessagesListComponent {\r\n constructor() {\r\n this.controller = MessagesListController;\r\n this.template = template;\r\n this.transclude = true;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-list/messages-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ email }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n To\\r\\n *\\r\\n \\r\\n \\r\\n Message will be sent only to retailers you have access to.\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ recipientCategory.translations[$ctrl.locale] }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Recipients.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Please enter Retailer No.\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer No. format is incorrect.\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer No. has already been added.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Add to Retailers\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    0\\\"\\r\\n class=\\\"col-12\\\">\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer }}\\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Email.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect.\\r\\n
    \\r\\n
    \\r\\n This email has already been added.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Add to Recipients\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    0\\\"\\r\\n class=\\\"col-12\\\">\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ recipient }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Subject.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter Message.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Send\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/create-message/create-message.html\n// module id = 1322\n// module chunks = 0","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Reply to a Message\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Mark As Unread\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Mark As Read\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Create Message\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Actions\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n Reply to a Message\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • 0\\\"\\r\\n role=\\\"menuitem\\\">\\r\\n \\r\\n \\r\\n Mark As Unread\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • 0\\\"\\r\\n role=\\\"menuitem\\\">\\r\\n \\r\\n \\r\\n Mark As Read\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • 0\\\"\\r\\n role=\\\"menuitem\\\">\\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n Create Message\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ message.authorName }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Subject:\\r\\n \\r\\n \\r\\n {{ message.subject | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ message.content | stripHtml }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ message.authorName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n Subject:\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ message.content | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/messages-list/messages-list.html\n// module id = 1323\n// module chunks = 0","import angular from 'angular';\r\nimport SentMessagesListComponent from './sent-messages-list-component';\r\n\r\nexport default angular.module('sent-messages-list', []).component('sentMessagesList', new SentMessagesListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-messages-list/sent-messages-list-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport {\r\n fetchSentMessagesList,\r\n fetchAdministratorsSentMessagesList,\r\n fetchUserSentMessagesList,\r\n deleteSentMessages,\r\n} from 'message/actions/sent.actions';\r\nimport {\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n} from 'message/actions/selected-messages.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from './sent-messages-list.html';\r\n\r\nconst mapStateToThis = ({ session, messages, ui, config }) => {\r\n const { locale, isAdmin, emailAddress } = session;\r\n const { sent, sentLoadingStatus: isLoading, selectedMessages } = messages;\r\n const { pagination } = ui;\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey } = config;\r\n const { selectedMessagesList, hasAllMessagesSelected } = selectedMessages;\r\n\r\n return {\r\n locale,\r\n emailAddress,\r\n isLoading,\r\n pagination,\r\n selectedMessagesList,\r\n hasAllMessagesSelected,\r\n pageSizeKey,\r\n sortColumnKey,\r\n directionKey,\r\n isAdmin,\r\n messages: sent,\r\n defaultPageSize: defaultPageSizes[2],\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSentMessagesList,\r\n fetchAdministratorsSentMessagesList,\r\n fetchUserSentMessagesList,\r\n checkAccess,\r\n deleteSentMessages,\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', '$ngRedux', 'messageDefinitionService', 'Notifications')\r\nclass SentMessagesListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.canSeeSelfSentItems = this.checkAccess('message.create');\r\n this.canSeeAllSentItems = this.checkAccess('message.sent.viewOtherSentItems');\r\n this.canSeeSendersFilter = this.canSeeSelfSentItems && this.canSeeAllSentItems;\r\n if (this.canSeeSendersFilter) {\r\n this.sentBy = this.messageDefinitionService.get('ALL', 'id');\r\n }\r\n this.headers = this.getHeaders();\r\n this.senders = this.getSenders();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessagesList();\r\n this.unsubscribe();\r\n }\r\n\r\n initGridModel() {\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'inAppMessage.sendDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSize,\r\n };\r\n\r\n switch (true) {\r\n case this.isAdmin === false:\r\n this.gridModel = initGrid(this.fetchUserSentMessagesList, this.defaultParams);\r\n break;\r\n case this.sentBy === this.messageDefinitionService.get('SELF', 'id'):\r\n this.gridModel = initGrid(this.fetchSentMessagesList, this.defaultParams);\r\n break;\r\n case this.sentBy === this.messageDefinitionService.get('ALL', 'id'):\r\n case this.canSeeAllSentItems:\r\n this.gridModel = initGrid(this.fetchAdministratorsSentMessagesList, this.defaultParams);\r\n break;\r\n default:\r\n this.gridModel = initGrid(this.fetchSentMessagesList, this.defaultParams);\r\n }\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteSentMessages();\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSGS_DELETE', 'desc'));\r\n this.search();\r\n }\r\n\r\n search() {\r\n this.initGridModel();\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n this.isAdmin\r\n ? {\r\n text: this.messageDefinitionService.get('AUTHOR', 'desc'),\r\n field: 'inAppMessage.authorName',\r\n sortable: true,\r\n }\r\n : {\r\n text: this.messageDefinitionService.get('RECIPIENT', 'desc'),\r\n field: 'inAppMessage.recipientName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('SUBJECT_AND_PREVIEW', 'desc'),\r\n field: 'inAppMessage.subject',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('SENT', 'desc'),\r\n field: 'inAppMessage.sendDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n getSenders() {\r\n return [this.messageDefinitionService.get('SELF'), this.messageDefinitionService.get('ALL')];\r\n }\r\n\r\n viewMessage(id) {\r\n this.$state.go('message.sent', { id });\r\n }\r\n\r\n toggleSelectAllMessages() {\r\n const messagesList = this.messages.filter((message) => this.canBeSelected(message.authorName)).map(({ messageId }) => messageId);\r\n this.toggleSelectAllMessagesPointer(messagesList);\r\n }\r\n\r\n selectMessage({ authorName, messageId }) {\r\n if (!this.canBeSelected(authorName)) return;\r\n\r\n this.onMessageSelection(messageId);\r\n const hasAllMessagesSelected =\r\n this.messages.filter((msg) => this.canBeSelected(msg.authorName)).length === this.selectedMessagesList.length;\r\n this.setSelectAllPointerStatus(hasAllMessagesSelected);\r\n }\r\n\r\n isSelected(id) {\r\n return this.selectedMessagesList.includes(id);\r\n }\r\n\r\n canBeSelected(authorName) {\r\n return authorName === this.emailAddress;\r\n }\r\n}\r\n\r\nexport default class SentMessagesListComponent {\r\n constructor() {\r\n this.controller = SentMessagesListController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-messages-list/sent-messages-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ sender.desc }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.isAdmin ? message.authorName : message.recipientName }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Subject:\\r\\n \\r\\n \\r\\n {{ message.subject | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ message.content | stripHtml }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.headers[0].text }}:\\r\\n \\r\\n \\r\\n {{ $ctrl.isAdmin ? message.authorName : message.recipientName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ message.subject | stripHtml }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ message.content | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/sent-messages-list/sent-messages-list.html\n// module id = 1326\n// module chunks = 0","import angular from 'angular';\r\nimport SentMessageDetailsComponent from './sent-message-details-component';\r\n\r\nexport default angular.module('sent-message-details', []).component('sentMessageDetails', new SentMessageDetailsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-message-details/sent-message-details-module.js","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { fetchSentMessage, clearSelectedMessage } from 'message/actions/message-details.actions';\r\nimport { deleteSentMessage } from 'message/actions/sent.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport tabs from '../messages-tab/tabs';\r\nimport template from './sent-message-details.html';\r\n\r\nconst mapStateToThis = ({ messages, session, config }) => {\r\n const { locale, emailAddress } = session;\r\n const { SENT } = tabs;\r\n const { selectedMessage } = messages;\r\n const { recipientCategoryCode } = selectedMessage;\r\n const { recipientCategories } = config;\r\n let recipientCategory = recipientCategories.find((category) => category.categoryCode === recipientCategoryCode);\r\n recipientCategory = recipientCategory ? recipientCategory.translations[locale] : '';\r\n\r\n return {\r\n emailAddress,\r\n SENT,\r\n selectedMessage,\r\n recipientCategory,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSentMessage,\r\n clearSelectedMessage,\r\n deleteSentMessage,\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$sce', '$state', '$ngRedux', 'Notifications', 'messageDefinitionService')\r\nclass SentMessageDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchSentMessage(this.sentMessageId);\r\n this.canDelete = this.selectedMessage.authorName === this.emailAddress;\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessage();\r\n this.unsubscribe();\r\n }\r\n\r\n showRecipientsList() {\r\n this.Notifications.showComplexDialog({\r\n component: 'recipientsList',\r\n resolve: {\r\n sentMessageId: () => this.sentMessageId,\r\n allowReply: () => this.selectedMessage.allowReply,\r\n },\r\n });\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteSentMessage(this.sentMessageId);\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSG_DELETE', 'desc'));\r\n this.goToSentMessages();\r\n }\r\n\r\n goToSentMessages() {\r\n this.setActiveTab(this.SENT, 'activeTab');\r\n this.$state.go('message.list');\r\n }\r\n}\r\n\r\nexport default class SentMessageDetailsComponent {\r\n constructor() {\r\n this.controller = SentMessageDetailsController;\r\n this.template = template;\r\n this.bindings = {\r\n sentMessageId: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-message-details/sent-message-details-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.selectedMessage.subject }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Return to Sent Messages\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ ::$ctrl.selectedMessage.authorName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Recipients:\\r\\n \\r\\n \\r\\n {{ $ctrl.recipientCategory }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Sent:\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/sent-message-details/sent-message-details.html\n// module id = 1329\n// module chunks = 0","import angular from 'angular';\r\nimport MessageDetailsComponent from './message-details-component';\r\n\r\nexport default angular.module('message-details', []).component('messageDetails', new MessageDetailsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/message-details/message-details-module.js","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { fetchMessage, clearSelectedMessage } from 'message/actions/message-details.actions';\r\nimport { deleteMessage } from 'message/actions/inbox.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport tabs from '../messages-tab/tabs';\r\nimport template from './message-details.html';\r\n\r\nconst mapStateToThis = ({ messages }) => {\r\n const { INBOX } = tabs;\r\n const { selectedMessage } = messages;\r\n\r\n return {\r\n INBOX,\r\n selectedMessage,\r\n };\r\n};\r\nconst mapDispatchToThis = {\r\n fetchMessage,\r\n clearSelectedMessage,\r\n deleteMessage,\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$sce', '$state', '$ngRedux', 'Notifications', 'messageDefinitionService')\r\nclass MessageDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.fetchMessage(this.userMessageId);\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessage();\r\n this.unsubscribe();\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteMessage(this.userMessageId);\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSG_DELETE', 'desc'));\r\n this.goToInboxMessages();\r\n }\r\n\r\n goToInboxMessages() {\r\n this.setActiveTab(this.INBOX, 'activeTab');\r\n this.$state.go('message.list');\r\n }\r\n\r\n canReply() {\r\n return this.selectedMessage && this.selectedMessage.allowReply;\r\n }\r\n\r\n replyMessage() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n component: 'replyMessageDialog',\r\n });\r\n }\r\n}\r\n\r\nexport default class MessageDetailsComponent {\r\n constructor() {\r\n this.controller = MessageDetailsController;\r\n this.template = template;\r\n this.bindings = {\r\n userMessageId: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/message-details/message-details-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n {{ ::$ctrl.selectedMessage.subject }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Return to Inbox\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Reply to a Message\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ ::$ctrl.selectedMessage.authorName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Sent:\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/message-details/message-details.html\n// module id = 1332\n// module chunks = 0","import angular from 'angular';\r\nimport CreateMessageComponent from './create-message-component';\r\n\r\nexport default angular.module('create-message', []).component('createMessage', new CreateMessageComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/create-message/create-message-module.js","import angular from 'angular';\r\nimport MessagesTabComponent from './messages-tab-component';\r\n\r\nexport default angular.module('messages-tab', []).component('messagesTab', new MessagesTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-tab/messages-tab-module.js","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from './messages-tab.html';\r\nimport tabs from './tabs';\r\n\r\nconst mapStateToThis = ({ session, ui }) => {\r\n const { isAdmin } = session;\r\n const { activeTab } = ui;\r\n const { INBOX, SENT } = tabs;\r\n\r\n return {\r\n activeTab,\r\n isAdmin,\r\n INBOX,\r\n SENT,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass MessagesTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.initActiveTab();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n initActiveTab() {\r\n if (![this.INBOX, this.SENT].includes(this.activeTab)) {\r\n this.setActiveTab(this.INBOX, 'activeTab');\r\n }\r\n }\r\n}\r\n\r\nexport default class MessagesTabComponent {\r\n constructor() {\r\n this.controller = MessagesTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-tab/messages-tab-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/messages-tab/messages-tab.html\n// module id = 1336\n// module chunks = 0","import angular from 'angular';\r\nimport RecipientsListComponent from './recipients-list-component';\r\n\r\nexport default angular.module('recipients-list', []).component('recipientsList', new RecipientsListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/recipients-list/recipients-list-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport { fetchRecipients } from 'message/actions/recipients.actions';\r\nimport template from './recipients-list.html';\r\n\r\nconst mapStateToThis = ({\r\n session, messages, ui, config,\r\n}) => {\r\n const { locale, isAdmin } = session;\r\n const { recipients, recipientsLoadingStatus: isLoading } = messages;\r\n const { pagination } = ui;\r\n const {\r\n defaultPageSizes, sortColumnKey, pageSizeKey, directionKey,\r\n } = config;\r\n\r\n return {\r\n recipients,\r\n locale,\r\n isLoading,\r\n pagination,\r\n pageSizeKey,\r\n sortColumnKey,\r\n directionKey,\r\n isAdmin,\r\n defaultPageSize: defaultPageSizes[2],\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchRecipients,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('messageDefinitionService', '$ngRedux')\r\nclass RecipientsListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'userName',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSize,\r\n };\r\n this.gridModel = initGrid(this.fetchRecipients, this.defaultParams);\r\n\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n sentMessageId: this.resolve.sentMessageId,\r\n };\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n getHeaders() {\r\n let headers = [\r\n {\r\n text: this.messageDefinitionService.get('USERNAME', 'desc'),\r\n field: 'userName',\r\n sortable: false,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('READ_STATUS', 'desc'),\r\n field: 'isRead',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.messageDefinitionService.get('READ_DATE', 'desc'),\r\n field: 'readDate',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n if (this.isAdmin) {\r\n headers = [\r\n ...headers,\r\n {\r\n text: this.messageDefinitionService.get('REPLIED_STATUS', 'desc'),\r\n field: 'isReplied',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.messageDefinitionService.get('REPLIED_DATE', 'desc'),\r\n field: 'repliedDate',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n return headers;\r\n }\r\n\r\n isChecked(id) {\r\n return this.selectedMessagesList.includes(id);\r\n }\r\n}\r\n\r\nexport default class RecipientsListComponent {\r\n constructor() {\r\n this.controller = RecipientsListController;\r\n this.template = template;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/recipients-list/recipients-list-component.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchRecipientsRequest = () => ({\r\n type: actionTypes.FETCH_RECIPIENTS_REQUEST,\r\n name: 'recipientsLoadingStatus',\r\n});\r\n\r\nexport const fetchRecipientsFailure = () => ({\r\n type: actionTypes.FETCH_RECIPIENTS_FAILURE,\r\n name: 'recipientsLoadingStatus',\r\n});\r\n\r\nexport const fetchRecipientsSuccess = (recipients, pagination) => ({\r\n type: actionTypes.FETCH_RECIPIENTS_SUCCESS,\r\n recipients,\r\n pagination,\r\n name: 'recipientsLoadingStatus',\r\n});\r\n\r\nexport const fetchRecipients = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchRecipientsRequest());\r\n const { content, ...pagination } = await api.fetchRecipients(params);\r\n\r\n dispatch(fetchRecipientsSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchRecipientsFailure(error));\r\n console.error('FETCH_RECIPIENTS', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/recipients.actions.js","module.exports = \"
    \\r\\n

    \\r\\n Message Recipients\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ recipient.userName }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n Read\\r\\n
    \\r\\n
    \\r\\n Unread\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n Replied\\r\\n
    \\r\\n
    \\r\\n Unreplied\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ recipient.userName }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Read\\r\\n
    \\r\\n
    \\r\\n Unread\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Replied\\r\\n
    \\r\\n
    \\r\\n Unreplied\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/recipients-list/recipients-list.html\n// module id = 1340\n// module chunks = 0","import angular from 'angular';\r\nimport ReplyMessageDialogComponent from './reply-message-dialog-component';\r\n\r\nexport default angular.module('reply-message-dialog', []).component('replyMessageDialog', new ReplyMessageDialogComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/reply-message-dialog/reply-message-dialog-module.js","import { fetchMessage, clearSelectedMessage } from 'message/actions/message-details.actions';\r\nimport { replyMessage } from 'message/actions/reply-message.actions';\r\n\r\nimport template from './reply-message-dialog.html';\r\n\r\nconst mapStateToThis = ({ messages, retailerDetails, session }) => {\r\n const { selectedMessage, selectedMessages, messageDetailsLoadingStatus } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n const { emailAddress } = session;\r\n\r\n return {\r\n selectedMessagesList,\r\n emailAddress,\r\n isLoading: messageDetailsLoadingStatus,\r\n message: selectedMessage,\r\n retailer: retailerDetails,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchMessage,\r\n clearSelectedMessage,\r\n replyMessage,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$sce')\r\nclass ReplyMessageDialogController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = 'replyToMessage';\r\n }\r\n\r\n $onInit() {\r\n if (!this.message.userMessageId) {\r\n const [userMessageId] = this.selectedMessagesList;\r\n this.fetchMessage(userMessageId);\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n const [userMessageId] = this.selectedMessagesList;\r\n if (userMessageId) {\r\n this.clearSelectedMessage();\r\n }\r\n this.unsubscribe();\r\n }\r\n\r\n async reply() {\r\n const message = {\r\n content: this.content,\r\n replyMessageId: this.message.messageId,\r\n };\r\n\r\n await this.replyMessage(message);\r\n\r\n this.close();\r\n }\r\n}\r\n\r\nexport default class ReplyMessageDialogComponent {\r\n constructor() {\r\n this.controller = ReplyMessageDialogController;\r\n this.template = template;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/reply-message-dialog/reply-message-dialog-component.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const replyMessageRequest = () => ({\r\n type: actionTypes.REPLY_MESSAGE_REQUEST,\r\n});\r\n\r\nexport const replyMessageFailure = () => ({\r\n type: actionTypes.REPLY_MESSAGE_FAILURE,\r\n});\r\n\r\nexport const replyMessageSuccess = () => ({\r\n type: actionTypes.REPLY_MESSAGE_SUCCESS,\r\n});\r\n\r\nexport const replyMessage = (message) => async (dispatch) => {\r\n try {\r\n dispatch(replyMessageRequest());\r\n await api.replyMessage(message);\r\n\r\n dispatch(replyMessageSuccess());\r\n } catch (error) {\r\n dispatch(replyMessageFailure(error));\r\n throw new Error(`REPLY_MESSAGE: ${error}`);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/reply-message.actions.js","module.exports = \"
    \\r\\n

    \\r\\n \\r\\n Re: {{ $ctrl.message.subject | stripHtml }}\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n Subject:\\r\\n {{ $ctrl.message.subject | stripHtml }}\\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n From:\\r\\n {{ $ctrl.message.authorName }}\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Reply\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/reply-message-dialog/reply-message-dialog.html\n// module id = 1344\n// module chunks = 0","// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog')\r\nclass MessageDefinitionService {\r\n constructor() {\r\n this.definitions = {\r\n SELF: {\r\n id: 'SELF',\r\n desc: this.gettextCatalog.getString('Self'),\r\n },\r\n ALL: {\r\n id: 'ALL',\r\n desc: this.gettextCatalog.getString('All'),\r\n },\r\n SENT: {\r\n id: 'SENT',\r\n desc: this.gettextCatalog.getString('Sent'),\r\n },\r\n SUBJECT_AND_PREVIEW: {\r\n id: 'SUBJECT_AND_PREVIEW',\r\n desc: this.gettextCatalog.getString('Subject & Preview'),\r\n },\r\n AUTHOR: {\r\n id: 'AUTHOR',\r\n desc: this.gettextCatalog.getString('Author'),\r\n },\r\n RECIPIENT: {\r\n id: 'RECIPIENT',\r\n desc: this.gettextCatalog.getString('Recipient'),\r\n },\r\n FROM: {\r\n id: 'FROM',\r\n desc: this.gettextCatalog.getString('From'),\r\n },\r\n DATE: {\r\n id: 'DATE',\r\n desc: this.gettextCatalog.getString('Date'),\r\n },\r\n USERNAME: {\r\n desc: this.gettextCatalog.getString('Username'),\r\n },\r\n READ_DATE: {\r\n desc: this.gettextCatalog.getString('Read date'),\r\n },\r\n READ_STATUS: {\r\n desc: this.gettextCatalog.getString('Read status'),\r\n },\r\n REPLIED_DATE: {\r\n desc: this.gettextCatalog.getString('Replied date'),\r\n },\r\n REPLIED_STATUS: {\r\n desc: this.gettextCatalog.getString('Replied status'),\r\n },\r\n NO_RECIPIENTS: {\r\n desc: this.gettextCatalog.getString('You must add at least one recipient'),\r\n },\r\n NO_RETAILER: {\r\n desc: this.gettextCatalog.getString('You must add at least one retailer number'),\r\n },\r\n MSG_SENT: {\r\n desc: this.gettextCatalog.getString('The message has been sent successfully.'),\r\n },\r\n MSG_DELETE: {\r\n desc: this.gettextCatalog.getString('The message has been successfully deleted.'),\r\n },\r\n MSGS_DELETE: {\r\n desc: this.gettextCatalog.getString('The selected messages have been successfully deleted.'),\r\n },\r\n };\r\n }\r\n\r\n get(key, property = null) {\r\n try {\r\n if (property) return this.definitions[key][property];\r\n\r\n return this.definitions[key];\r\n } catch (error) {\r\n console.log('CAN NOT FIND MESSAGE DEFINITION');\r\n }\r\n }\r\n}\r\n\r\nexport default MessageDefinitionService;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-definition-service.js","import angular from 'angular';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\n\r\nimport './config/errorcodes.conf';\r\n\r\nimport api from 'privilege-templates/resources/privilege-templates.api';\r\n\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchPrivilegeDisplayTypesDictionary } from 'app/actions/dictionaries/privilege-display-types-dictionary.actions';\r\nimport { fetchPrivilegeTemplates } from './actions/fetch-privilege-templates.actions';\r\nimport { deletePrivilegeTemplate } from './actions/delete-privilege-templates.actions';\r\nimport { createPrivilegeTemplate } from './actions/create-privilege-templates.actions';\r\nimport { updatePrivilegeTemplate } from './actions/update-privilege-template.actions';\r\nimport { selectRole } from './actions/privilege-templates.actions';\r\n\r\nimport helpers from './logic/helpers';\r\n\r\nimport privilegeTemplatesRoutingModule from './privilege-templates-routing-module';\r\nimport privilegeListModule from './components/privilege-list/privilege-list-module';\r\nimport privilegeItemModule from './components/privilege-item/privilege-item-module';\r\nimport PrivilegeTemplateFormModule from './components/privilege-template-form/privilege-template-form-module';\r\nimport privilegeTemplatesListModule from './components/privilege-templates-list/privilege-templates-list-module';\r\nimport privilegeTemplatesPermissionPickerModule from './components/privilege-templates-permission-picker/privilege-templates-permission-picker-module';\r\nimport PrivilegeTemplateConfirmationDialogModule from './components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-module';\r\n\r\nimport template from './privilege-templates.html';\r\n\r\nconst DIRTY_FORM = 'privilegeTemplates';\r\n\r\nconst mapStateToThis = ({ session, privilegeTemplates, ui, dirtyForms }) => {\r\n const { ids, entities, selectedId } = privilegeTemplates;\r\n const { locale } = session;\r\n const { selectedLanguage } = ui;\r\n\r\n const preset = entities[selectedId];\r\n const isDirty = dirtyForms[DIRTY_FORM];\r\n\r\n return {\r\n ids,\r\n locale,\r\n preset,\r\n entities,\r\n selectedId,\r\n selectedLanguage,\r\n isDirty,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n selectRole,\r\n setDirtyForm,\r\n fetchPrivilegeTemplates,\r\n deletePrivilegeTemplate,\r\n createPrivilegeTemplate,\r\n updatePrivilegeTemplate,\r\n fetchPrivilegeDisplayTypesDictionary,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications', 'gettextCatalog')\r\nclass PrivilegeTemplatesController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchPrivilegeTemplates(this.userClass);\r\n\r\n this.arePrivilegesLoading = true;\r\n this.privileges = await api.fetchPrivileges(this.userClass);\r\n this.privilegesTree = helpers.createTree(this.privileges, 'displayPath');\r\n this.arePrivilegesLoading = false;\r\n\r\n this.copyPreset();\r\n }\r\n\r\n $onDestroy() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.unsubscribe();\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.fetchPrivilegeDisplayTypesDictionary(locale);\r\n }\r\n\r\n cancel() {\r\n this.form.$setPristine();\r\n\r\n this.privilegesTree = helpers.createTree(this.privileges, 'displayPath');\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n }\r\n\r\n async save() {\r\n this.form.$setPristine();\r\n\r\n await this.updatePrivilegeTemplate(this.presetCopy);\r\n\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Role saved successfully'));\r\n }\r\n\r\n async handleCreatePrivilegeTemplate() {\r\n const result = await this.Notifications.showComplexDialog({\r\n component: 'privilegeTemplateForm',\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Create Role'),\r\n },\r\n }).result;\r\n\r\n if (result) {\r\n const payload = {\r\n translations: result,\r\n userClass: this.userClass,\r\n privileges: [],\r\n };\r\n\r\n this.createPrivilegeTemplate(payload);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Role created successfully'));\r\n }\r\n }\r\n\r\n async handleDuplicatePrivilegeTemplate() {\r\n const result = await this.Notifications.showComplexDialog({\r\n component: 'privilegeTemplateForm',\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Duplicate {{ name }}', { name: this.preset.translations[this.selectedLanguage].name }),\r\n },\r\n }).result;\r\n\r\n if (result) {\r\n const payload = {\r\n translations: result,\r\n userClass: this.userClass,\r\n privileges: [...this.preset.privileges],\r\n };\r\n\r\n this.createPrivilegeTemplate(payload);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Role created successfully'));\r\n }\r\n }\r\n\r\n async handleDeletePrivilegeTemplate() {\r\n const result = await this.Notifications.showComplexDialog({\r\n component: 'privilegeTemplateConfirmationDialog',\r\n }).result;\r\n\r\n if (result) this.deletePrivilegeTemplate(this.selectedId);\r\n }\r\n\r\n onPrivilegeTemplateChange(id) {\r\n this.selectRole(id);\r\n this.cancel();\r\n this.copyPreset();\r\n }\r\n\r\n handleEditPrivilegeTemplate(privileges) {\r\n this.presetCopy = {\r\n ...this.presetCopy,\r\n privileges,\r\n };\r\n }\r\n\r\n copyPreset() {\r\n this.presetCopy = cloneDeep(this.preset);\r\n }\r\n}\r\n\r\nclass PrivilegeTemplatesComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = PrivilegeTemplatesController;\r\n this.bindings = {\r\n userClass: '@',\r\n };\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('privilege-templates', [\r\n 'privilege-templates-errorcodes',\r\n privilegeListModule.name,\r\n privilegeItemModule.name,\r\n PrivilegeTemplateFormModule.name,\r\n privilegeTemplatesListModule.name,\r\n privilegeTemplatesRoutingModule.name,\r\n privilegeTemplatesPermissionPickerModule.name,\r\n PrivilegeTemplateConfirmationDialogModule.name,\r\n ])\r\n .component('privilegeTemplates', new PrivilegeTemplatesComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/privilege-templates-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('privilege-templates-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n privilegeTemplates: {\r\n ACCOUNT_WITH_ROLE_EXISTS: () => ({\r\n title: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.'),\r\n }),\r\n ACCOUNT_HAS_TEMPLATE: () => ({ body: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.') }),\r\n ROLE_HAS_TEMPLATE: () => ({ body: gettextCatalog.getString('Cannot delete role.') }),\r\n ROLE_IS_DEFAULT: () => ({ body: gettextCatalog.getString('Cannot delete default role.') }),\r\n TEMPLATE_NAME_NOT_UNIQUE: () => ({ body: gettextCatalog.getString('Role Name must be unique.') }),\r\n },\r\n roleTemplates: {\r\n ACCOUNT_WITH_ROLE_EXISTS: () => ({\r\n title: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.'),\r\n }),\r\n ACCOUNT_HAS_TEMPLATE: () => ({ body: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.') }),\r\n ROLE_NAME_NOT_UNIQUE: () => ({ body: gettextCatalog.getString('Role Names must be unique.') }),\r\n ROLE_ALREADY_EXISTS: () => ({ body: gettextCatalog.getString('Role Name must be unique.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/config/errorcodes.conf.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const deletePrivilegeTemplateRequest = () => ({\r\n type: actionTypes.DELETE_PRIVILEGE_TEMPLATE_REQUEST,\r\n});\r\n\r\nexport const deletePrivilegeTemplateSuccess = (id) => ({\r\n type: actionTypes.DELETE_PRIVILEGE_TEMPLATE_SUCCESS,\r\n id,\r\n});\r\n\r\nexport const deletePrivilegeTemplateFailure = () => ({\r\n type: actionTypes.DELETE_PRIVILEGE_TEMPLATE_FAILURE,\r\n});\r\n\r\nexport const deletePrivilegeTemplate = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deletePrivilegeTemplateRequest());\r\n\r\n await api.deletePrivilegeTemplate(id);\r\n dispatch(deletePrivilegeTemplateSuccess(id));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_PRIVILEGE_TEMPLATE', error);\r\n dispatch(deletePrivilegeTemplateFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/delete-privilege-templates.actions.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const createPrivilegeTemplateRequest = () => ({\r\n type: actionTypes.CREATE_PRIVILEGE_TEMPLATE_REQUEST,\r\n});\r\n\r\nexport const createPrivilegeTemplateSuccess = (template) => ({\r\n type: actionTypes.CREATE_PRIVILEGE_TEMPLATE_SUCCESS,\r\n template,\r\n});\r\n\r\nexport const createPrivilegeTemplateFailure = () => ({\r\n type: actionTypes.CREATE_PRIVILEGE_TEMPLATE_FAILURE,\r\n});\r\n\r\nexport const createPrivilegeTemplate = (payload) => async (dispatch) => {\r\n try {\r\n dispatch(createPrivilegeTemplateRequest());\r\n\r\n const template = await api.createPrivilegeTemplate(payload);\r\n dispatch(createPrivilegeTemplateSuccess(template));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('CREATE_PRIVILEGE_TEMPLATE', error);\r\n dispatch(createPrivilegeTemplateFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/create-privilege-templates.actions.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const updatePrivilegeTemplateRequest = () => ({\r\n type: actionTypes.UPDATE_PRIVILEGE_TEMPLATE_REQUEST,\r\n});\r\n\r\nexport const updatePrivilegeTemplateSuccess = (template) => ({\r\n type: actionTypes.UPDATE_PRIVILEGE_TEMPLATE_SUCCESS,\r\n template,\r\n});\r\n\r\nexport const updatePrivilegeTemplateFailure = () => ({\r\n type: actionTypes.UPDATE_PRIVILEGE_TEMPLATE_FAILURE,\r\n});\r\n\r\nexport const updatePrivilegeTemplate = (template) => async (dispatch) => {\r\n try {\r\n dispatch(updatePrivilegeTemplateRequest());\r\n\r\n const updatedTemplate = await api.updatePrivilegeTemplate(template);\r\n dispatch(updatePrivilegeTemplateSuccess(updatedTemplate));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('UPDATE_PRIVILEGE_TEMPLATE', error);\r\n dispatch(updatePrivilegeTemplateFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/update-privilege-template.actions.js","import actionTypes from './action-types';\r\n\r\n// eslint-disable-next-line import/prefer-default-export\r\nexport const selectRole = (id) => ({\r\n type: actionTypes.SELECT_PRIVILEGE_TEMPLATE,\r\n id,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/privilege-templates.actions.js","import angular from 'angular';\r\n\r\nimport { fetchPrivilegeDisplayTypesDictionary } from 'app/actions/dictionaries/privilege-display-types-dictionary.actions';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('privilege-templates-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('privilegeTemplates-lotteryView', {\r\n parent: 'arw',\r\n url: '/privilege-templates-lottery',\r\n restKey: 'privileges',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Admin Roles')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary())])\r\n .then(() => ({}))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('privilegeTemplates-retailerViewSecondary', {\r\n parent: 'arw',\r\n url: '/privilege-templates-retailer-secondary',\r\n restKey: 'privileges',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Secondary Retailer Roles')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary())])\r\n .then(() => ({}))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('privilegeTemplates-retailerViewPrimary', {\r\n parent: 'arw',\r\n url: '/privilege-templates-retailer-primary',\r\n restKey: 'privileges',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Primary Retailer Roles')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary())])\r\n .then(() => ({}))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/privilege-templates-routing-module.js","import angular from 'angular';\r\n\r\nimport PrivilegeListComponent from './privilege-list-component';\r\n\r\nexport default angular.module('privilege-list', []).component('privilegeList', new PrivilegeListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-list/privilege-list-module.js","import template from './privilege-list.html';\r\n\r\nexport default class PrivilegeListComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n privilege: '<',\r\n privilegeKey: '<',\r\n parents: '<',\r\n root: '<',\r\n toggleAction: '&',\r\n isEditable: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-list/privilege-list-component.js","module.exports = \"\\r\\n
      \\r\\n
    • \\r\\n \\r\\n \\r\\n
    • \\r\\n
    • \\r\\n \\r\\n \\r\\n
    • \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-list/privilege-list.html\n// module id = 1355\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeItemComponent from './privilege-item-component';\r\n\r\nexport default angular.module('privilege-item', []).component('privilegeItem', new PrivilegeItemComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-item/privilege-item-module.js","import template from './privilege-item.html';\r\n\r\nconst mapStateToThis = ({ dictionary }) => {\r\n const { privilegeDisplayTypes } = dictionary;\r\n\r\n return {\r\n privilegeDisplayTypes,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass PrivilegeItemController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getName() {\r\n return this.privilegeDisplayTypes[this.privilegeKey] ? this.privilegeDisplayTypes[this.privilegeKey].value : this.privilegeKey;\r\n }\r\n}\r\n\r\nexport default class PrivilegeItemComponent {\r\n constructor() {\r\n this.controller = PrivilegeItemController;\r\n this.template = template;\r\n this.bindings = {\r\n privilege: '<',\r\n privilegeKey: '<',\r\n parents: '<',\r\n root: '<',\r\n onToggle: '&',\r\n isEditable: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-item/privilege-item-component.js","module.exports = \"
    \\r\\n \\r\\n {{ $ctrl.getName() }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-item/privilege-item.html\n// module id = 1358\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplateFormComponent from './privilege-template-form-component';\r\n\r\nexport default angular.module('privilege-template-form', []).component('privilegeTemplateForm', new PrivilegeTemplateFormComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-module.js","import template from './privilege-template-form.html';\r\n\r\nconst mapStateToThis = ({ config, ui }) => {\r\n const { selectedLanguage } = ui;\r\n const { locales } = config;\r\n\r\n return {\r\n locales,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass PrivilegeTemplateFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n\r\n if (this.form.$valid) {\r\n this.close({ $value: this.translations });\r\n }\r\n }\r\n}\r\n\r\nexport default class PrivilegeTemplateFormComponent {\r\n constructor() {\r\n this.controller = PrivilegeTemplateFormController;\r\n this.template = template;\r\n this.bindings = {\r\n close: '&',\r\n resolve: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-component.js","module.exports = \"
    \\r\\n

    \\r\\n {{ $ctrl.resolve.title }}\\r\\n

    \\r\\n 1\\\">\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Please type role name.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form.html\n// module id = 1361\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplatesListComponent from './privilege-templates-list-component';\r\n\r\nexport default angular.module('privilege-templates-list', []).component('privilegeTemplatesList', new PrivilegeTemplatesListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-module.js","import template from './privilege-templates-list.html';\r\n\r\nconst mapStateToThis = ({ privilegeTemplates, ui }) => {\r\n const { ids, entities, selectedId, isPrivilegeTemplatesListLoading } = privilegeTemplates;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n ids,\r\n entities,\r\n selectedId,\r\n selectedLanguage,\r\n isPrivilegeTemplatesListLoading,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass PrivilegeTemplatesListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class PrivilegeTemplatesListComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = PrivilegeTemplatesListController;\r\n this.bindings = {\r\n selectPrivilegeTemplate: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.entities[id].translations[$ctrl.selectedLanguage].name }}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list.html\n// module id = 1364\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplatesPermissionPickerComponent from './privilege-templates-permission-picker-component';\r\n\r\nexport default angular\r\n .module('privilege-templates-permission-picker', [])\r\n .component('privilegeTemplatesPermissionPicker', new PrivilegeTemplatesPermissionPickerComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-module.js","import _ from 'lodash';\r\nimport template from './privilege-templates-permission-picker.html';\r\n\r\nclass PrivilegeTemplatesPermissionPickerController {\r\n $onChanges(changes) {\r\n if (changes.privileges && changes.privileges.currentValue) {\r\n this.permissions = changes.privileges.currentValue;\r\n }\r\n if (this.permissions && Object.keys(this.permissions).length && _.get(this, 'currentPreset.privileges')) {\r\n this.clearTree(this.permissions.privileges);\r\n this.setChecksRecursive();\r\n }\r\n }\r\n\r\n clearTree(privilege) {\r\n Object.keys(privilege).map((item) => {\r\n if (Object.prototype.toString.call(privilege[item]) === '[object Object]') {\r\n return this.clearTree(privilege[item]);\r\n }\r\n if (_.get(privilege, 'checked')) {\r\n privilege.checked = false;\r\n }\r\n return null;\r\n });\r\n }\r\n\r\n findObjectByPathAndSetChecks(privilege, path, check) {\r\n Object.keys(privilege).map((item) => {\r\n if (Object.prototype.toString.call(privilege[item]) === '[object Object]') {\r\n return this.findObjectByPathAndSetChecks(privilege[item], path, check);\r\n }\r\n if (privilege.id === path || privilege.path === path) {\r\n privilege.checked = check;\r\n }\r\n return null;\r\n });\r\n }\r\n\r\n filterDynamicPrivileges() {\r\n return this.model.filter(\r\n (privilege) => this.currentPreset.privileges.find((privilegeId) => privilegeId === privilege.id) !== undefined\r\n );\r\n }\r\n\r\n setChecksRecursive() {\r\n const currentPrivilegeSet = this.filterDynamicPrivileges();\r\n const { privileges } = this.permissions;\r\n currentPrivilegeSet.map((privilege) => {\r\n this.findObjectByPathAndSetChecks(privileges, privilege.id, true);\r\n let parentsPrivilegePaths = [];\r\n const privilegePathArray = privilege.displayPath.split('.');\r\n return privilegePathArray.map((privilegePath) => {\r\n if (privilegePath) {\r\n parentsPrivilegePaths = parentsPrivilegePaths.concat(privilegePath);\r\n this.findObjectByPathAndSetChecks(privileges, parentsPrivilegePaths.join('.'), true);\r\n }\r\n return privilegePath;\r\n });\r\n });\r\n }\r\n\r\n togglePrivilege(privilege, parents) {\r\n if (parents.length !== 0 && privilege.checked) {\r\n _.flattenDeep(parents).forEach((parent) => {\r\n parent.checked = privilege.checked;\r\n return parent;\r\n });\r\n }\r\n\r\n function markChecks(_privilege, checked) {\r\n _privilege.checked = checked;\r\n if (_privilege.privileges) {\r\n Object.keys(_privilege.privileges).map((subPrivilegeName) => {\r\n const subPrivilege = _privilege.privileges[subPrivilegeName];\r\n return markChecks(subPrivilege, checked);\r\n });\r\n }\r\n }\r\n\r\n markChecks(privilege, privilege.checked);\r\n\r\n this.editPresetPrivileges({ privileges: this.getPrivilegesArrayRecursive() });\r\n }\r\n\r\n getPrivilegesArrayRecursive() {\r\n const { privileges } = this.permissions;\r\n const checkedPrivilegesArray = [];\r\n\r\n function getCheckedPrivileges(_privilege, _checkedPrivilegesArray) {\r\n Object.keys(_privilege).map((item) => {\r\n if (_privilege.id && _privilege.checked && _checkedPrivilegesArray.indexOf(_privilege.id) === -1) {\r\n _checkedPrivilegesArray.push(_privilege.id);\r\n }\r\n if (Object.prototype.toString.call(_privilege[item]) === '[object Object]') {\r\n getCheckedPrivileges(_privilege[item], _checkedPrivilegesArray);\r\n }\r\n return item;\r\n });\r\n }\r\n\r\n getCheckedPrivileges(privileges, checkedPrivilegesArray);\r\n\r\n return checkedPrivilegesArray;\r\n }\r\n}\r\n\r\nexport default class PrivilegeTemplatesPermissionPickerComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = PrivilegeTemplatesPermissionPickerController;\r\n this.bindings = {\r\n model: '<',\r\n privileges: '<',\r\n isEditable: '<',\r\n currentPreset: '<',\r\n editPresetPrivileges: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker.html\n// module id = 1367\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplateConfirmationDialog from './privilege-template-confirmation-dialog-component';\r\n\r\nexport default angular\r\n .module('privilege-template-confirmation-dialog', [])\r\n .component('privilegeTemplateConfirmationDialog', new PrivilegeTemplateConfirmationDialog());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-module.js","import template from './privilege-template-confirmation-dialog.html';\r\n\r\nexport default class PrivilegeTemplateConfirmationDialogComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-component.js","module.exports = \"
    \\r\\n

    \\r\\n \\r\\n Are you sure you want to delete this role?\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n This action cannot be undone.\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog.html\n// module id = 1370\n// module chunks = 0","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n New Role\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Role\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Duplicate\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Roles\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Enable / Disable Permissions\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/privilege-templates.html\n// module id = 1371\n// module chunks = 0","import angular from 'angular';\r\nimport registrationErrorCodesModule from 'registration/config/errorcodes.conf';\r\nimport registrationSelfModule from 'registration/components/self-registration/self-registration-module';\r\nimport registrationCompleteModule from 'registration/components/complete-registration/complete-registration-module';\r\nimport registrationRoutingModule from 'registration/registration-routing-module';\r\nimport securityModule from 'security/security-module';\r\n\r\nexport default angular.module('registration', [\r\n securityModule.name,\r\n registrationErrorCodesModule.name,\r\n registrationSelfModule.name,\r\n registrationCompleteModule.name,\r\n registrationRoutingModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/registration-module.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('registration-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n selfRegistration: {\r\n PRIMARY_ALREADY_REGISTERED: () => ({ title: gettextCatalog.getString('Primary User for this Retailer is already registered.') }),\r\n PASSWORD_REQUIRMENTS_NOT_MET: () => ({ title: gettextCatalog.getString('Password requirements not met.') }),\r\n USER_ALREADY_EXISTS_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User with this e-mail address is already registered. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n MULTIPLE_PRIMARY_USER_WITH_SAME_OWNER_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User for that Owner already exists, please use another ({{ ownerValidationMethod }}) sequence.',\r\n { ownerValidationMethod: params.ownerValidationMethod }\r\n ),\r\n }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n RETAILER_NOT_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Retailer is not {{ active }} or does not exist in Retail Management. Please contact Administrator.',\r\n { active: params.terms.ACTIVE.singular }\r\n ),\r\n }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n USER_ALREADY_ACTIVE_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString('User is already {{ active }}.', { active: params.terms.ACTIVE.singular }),\r\n }),\r\n IDENTIFICATION_NOT_VALID: () => ({ title: gettextCatalog.getString('Unable to register subordinate user for this chain head.') }),\r\n CAPTCHA_NOT_FOUND: () => ({ title: gettextCatalog.getString('Captcha not found. Please reload captcha.') }),\r\n NOT_AUTHORIZED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User access not allowed due to retailer status. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n USER_WITH_GIVEN_PHONE_ALREADY_EXISTS: () => ({\r\n title: gettextCatalog.getString(\r\n \"The mobile number you provided is connected to another user's account. Please enter a different mobile number.\"\r\n ),\r\n }),\r\n },\r\n completeRegistration: {\r\n 1001: () => ({\r\n title: gettextCatalog.getString(\r\n 'User already registered. Do not use confirmation link again - it will block Your account otherwise.'\r\n ),\r\n }),\r\n 1002: () => ({\r\n title: gettextCatalog.getString(\r\n 'User already registered. Do not use confirmation link again - it will block Your account otherwise.'\r\n ),\r\n }),\r\n 1003: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Account has been suspended due to exceeded number of failed login attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n RETAILER_ACCESS_NOT_ALLOWED: (params) => ({\r\n title: gettextCatalog.getString('Retailer access not allowed. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/config/errorcodes.conf.js","import angular from 'angular';\r\nimport SelfRegistrationComponent from './self-registration/self-registration-component';\r\nimport SelfRegistrationRetailerComponent from './retailer/retailer-component';\r\nimport SelfRegistrationRetailerIndependentComponent from './independent/independent-component';\r\nimport SelfRegistrationRetailerChainHeadComponent from './chain-head/chain-head-component';\r\nimport SelfRegistrationRetailerChainSubordinateComponent from './chain-subordinate/chain-subordinate-component';\r\nimport SelfRegistrationConfirmComponent from './confirm-registration/confirm-registration-component';\r\nimport SelfRegistrationConfirmationComponent from './confirmation-registration/confirmation-registration-component';\r\nimport SelfRegistrationDisabledComponent from './registration-disabled/registration-disabled-component';\r\n\r\nexport default angular\r\n .module('self-registration', [])\r\n .component('selfRegistration', new SelfRegistrationComponent())\r\n .component('selfRegistrationRetailer', new SelfRegistrationRetailerComponent())\r\n .component('selfRegistrationRetailerIndependent', new SelfRegistrationRetailerIndependentComponent())\r\n .component('selfRegistrationRetailerChainHead', new SelfRegistrationRetailerChainHeadComponent())\r\n .component('selfRegistrationRetailerChainSubordinate', new SelfRegistrationRetailerChainSubordinateComponent())\r\n .component('selfRegistrationConfirm', new SelfRegistrationConfirmComponent())\r\n .component('selfRegistrationConfirmation', new SelfRegistrationConfirmationComponent())\r\n .component('selfRegistrationDisabled', new SelfRegistrationDisabledComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/self-registration-module.js","import _ from 'lodash';\r\nimport { clearRetailerDetails } from 'registration/actions/fetch-retailer-details.actions';\r\nimport { createAccount } from 'registration/actions/create-account.actions';\r\nimport reviewTemplate from './review-dialog.html';\r\nimport template from './self-registration.html';\r\nimport { checkAccess } from \"app/actions/app.actions\";\r\n\r\nconst mapStateToThis = ({ session, registration }) => {\r\n const { ownerValidationMethod, retailer, created } = registration;\r\n\r\n return {\r\n session,\r\n ownerValidationMethod,\r\n retailer,\r\n created,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n clearRetailerDetails,\r\n createAccount,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications')\r\nclass SelfRegistrationController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n if (!this.checkAccess('registration.primary')) {\r\n this.$state.go('home-view');\r\n }\r\n this.clearRegistrationFormRef = this.clearRegistrationForm.bind(this);\r\n this.clearRegistrationFormWithRetailerRef = this.clearRegistrationFormWithRetailer.bind(this);\r\n this.registrationFormModel = {\r\n validationDTO: {},\r\n };\r\n this.clearRegistrationFormWithRetailer();\r\n }\r\n\r\n $onDestroy() {\r\n this.clearRegistrationFormWithRetailer();\r\n this.unsubscribe();\r\n }\r\n\r\n clearRegistrationForm() {\r\n this.registrationFormModel = {\r\n validationDTO: {},\r\n };\r\n }\r\n\r\n clearRegistrationFormWithRetailer() {\r\n this.clearRegistrationForm();\r\n this.clearRetailerDetails();\r\n }\r\n\r\n onSubmitRegistrationForm($event, $formCtrl) {\r\n $event.stopPropagation();\r\n $event.preventDefault();\r\n\r\n const resp = this.evalRegistrationForm($formCtrl);\r\n return resp;\r\n }\r\n\r\n evalRegistrationForm($formCtrl) {\r\n $formCtrl.$setSubmitted();\r\n $formCtrl.phone.$setTouched();\r\n $formCtrl.userPasswordConfirm.$validate();\r\n $formCtrl.confirmEmail.$validate();\r\n\r\n if ($formCtrl.$invalid) {\r\n return;\r\n }\r\n\r\n this.showReviewDialog().then(() => this.addAccount());\r\n }\r\n\r\n async addAccount() {\r\n await this.createAccount(this.registrationFormModel);\r\n if (this.created) {\r\n this.$state.go('registration-confirmation');\r\n }\r\n }\r\n\r\n showReviewDialog() {\r\n const data = _.cloneDeep(this.registrationFormModel);\r\n\r\n return this.Notifications.showComplexDialog({\r\n template: reviewTemplate,\r\n bindToController: true,\r\n resolve: {\r\n retailer: () => this.retailer,\r\n data: () => data,\r\n },\r\n }).result;\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/self-registration/self-registration-component.js","import utils from 'utils/lsp-utils-service';\r\nimport * as api from 'registration/resources/registration.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const mapSecurityQuestionsToArray = (questionA, questionB, answerA, answerB) => [\r\n {\r\n questionId: questionA,\r\n answer: answerA,\r\n },\r\n {\r\n questionId: questionB,\r\n answer: answerB,\r\n },\r\n];\r\n\r\nexport const createUserDTO = (retailer, form, locale) => {\r\n const {\r\n retailerId = null,\r\n canSelfRegisterIndependent,\r\n canSelfRegisterChainHead,\r\n canSelfRegisterSuperChain,\r\n canSelfRegisterChainSubordinate,\r\n salts,\r\n } = retailer;\r\n const { passcode, emailAddress = null, tellerId = null, questionA, questionB, answerA, answerB, ...requestData } = form;\r\n const challenges = mapSecurityQuestionsToArray(questionA, questionB, answerA, answerB);\r\n const userValidation = { retailerId };\r\n\r\n if (canSelfRegisterIndependent) {\r\n userValidation.hashedPins = utils.getHashes(passcode, salts);\r\n }\r\n\r\n if (canSelfRegisterChainHead || canSelfRegisterSuperChain) {\r\n userValidation.email = emailAddress;\r\n }\r\n\r\n if (canSelfRegisterChainSubordinate) {\r\n userValidation.tellerId = tellerId;\r\n userValidation.hashedPins = utils.getHashes(passcode, salts);\r\n }\r\n\r\n return {\r\n userValidation,\r\n emailAddress,\r\n challenges,\r\n locale,\r\n ...requestData,\r\n };\r\n};\r\n\r\nexport const createAccountRequest = () => ({\r\n type: actionTypes.CREATE_ACCOUNT_REQUEST,\r\n});\r\n\r\nexport const createAccountSuccess = () => ({\r\n type: actionTypes.CREATE_ACCOUNT_SUCCESS,\r\n});\r\n\r\nexport const createAccountFailure = () => ({\r\n type: actionTypes.CREATE_ACCOUNT_FAILURE,\r\n});\r\n\r\nexport const createAccount = (form) => async (dispatch, getState) => {\r\n try {\r\n const { registration, session } = getState();\r\n const { locale } = session;\r\n const { token } = form;\r\n const { retailer } = registration;\r\n const urlParams = { token };\r\n const user = createUserDTO(retailer, form, locale);\r\n dispatch(createAccountRequest());\r\n await api.createAccount(user, urlParams);\r\n dispatch(createAccountSuccess());\r\n } catch (error) {\r\n console.error('CREATE_ACCOUNT_FAILURE', error);\r\n dispatch(createAccountFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/create-account.actions.js","module.exports = \"
    \\r\\n

    \\r\\n Review Your Information\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Name\\r\\n \\r\\n

    {{ $ctrl.data.firstName }} {{ $ctrl.data.lastName }}

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer Number\\r\\n \\r\\n

    \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.data.ownerValidationMethod.label }}\\r\\n

    {{ $ctrl.data.validationDTO.owner }}

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Email Address\\r\\n \\r\\n

    {{ $ctrl.data.emailAddress }}

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Mobile Phone\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Business Phone\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Role\\r\\n \\r\\n

    {{ $ctrl.data.role }}

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Back\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/self-registration/review-dialog.html\n// module id = 1377\n// module chunks = 0","module.exports = \"
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/self-registration/self-registration.html\n// module id = 1378\n// module chunks = 0","import {\r\n INDEPENDENT_TYPE,\r\n CHAIN_SUBORDINATE_TYPE,\r\n fetchRetailerDetails,\r\n clearRetailerDetails,\r\n} from 'registration/actions/fetch-retailer-details.actions';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport template from './retailer.html';\r\n\r\nconst mapStateToThis = ({ registration, contact }) => {\r\n const { retailer, error } = registration;\r\n const { defaultContactPhone } = contact.lottery;\r\n\r\n return {\r\n retailer,\r\n defaultContactPhone,\r\n error,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchRetailerDetails,\r\n clearRetailerDetails,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass SelfRegistrationRetailerController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.showSubmitButton = true;\r\n this.showCaptcha = true;\r\n }\r\n\r\n $onDestroy() {\r\n this.clearRetailerDetails();\r\n this.unsubscribe();\r\n }\r\n\r\n async submit(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) return;\r\n\r\n this.showSubmitButton = false;\r\n await this.fetchRetailerDetails(this.formModel);\r\n this.showSubmitButton = true;\r\n\r\n if (this.error) {\r\n this.showSubmitButton = false;\r\n this.$state.reload();\r\n }\r\n this.checkRetailerDetails();\r\n }\r\n\r\n checkRetailerDetails() {\r\n if (!isEmpty(this.retailer)) {\r\n const retailerType = this.retailer.retailerType.toLowerCase();\r\n const canSelfRegister = !!this.retailer.canSelfRegister;\r\n const { active } = this.retailer;\r\n const { hasPrimaryUser } = this.retailer;\r\n\r\n if (canSelfRegister === false && retailerType === CHAIN_SUBORDINATE_TYPE) {\r\n this.chainRegistrationDisabled();\r\n } else if (active === false) {\r\n this.errorAccountIsNotActive();\r\n } else if (hasPrimaryUser === true && retailerType !== INDEPENDENT_TYPE) {\r\n this.errorPrimaryUserIsAlreadyRegistered();\r\n }\r\n }\r\n }\r\n\r\n chainRegistrationDisabled() {\r\n this.clearRetailerDetails();\r\n this.$state.go('registration-chainRegistrationDisabled');\r\n }\r\n\r\n async errorAccountIsNotActive() {\r\n this.clearRetailerDetails();\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Retailer account is not active.'),\r\n this.gettextCatalog.getString('Retailer account is not active. Please contact the Lottery at {{ contactPhone }}.', {\r\n contactPhone: this.defaultContactPhone,\r\n })\r\n ).result;\r\n this.showSubmitButton = false;\r\n this.$state.reload();\r\n }\r\n\r\n async errorPrimaryUserIsAlreadyRegistered() {\r\n this.clearRetailerDetails();\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Primary user is already registered'),\r\n this.gettextCatalog.getString('Primary User for this Retailer is already registered.')\r\n ).result;\r\n this.showSubmitButton = false;\r\n this.$state.reload();\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationRetailerComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationRetailerController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/retailer/retailer-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n To sign up, you will first need to enter your Retailer Number, which can be found on any terminal report, or your Chain ID. If you have any questions,\\r\\n please contact us.\\r\\n \\r\\n *\\r\\n \\r\\n Indicates a required field\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer Location\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please enter Retailer Number or Lottery Chain ID.\\r\\n \\r\\n \\r\\n Retailer No invalid format.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Captcha is required.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/retailer/retailer.html\n// module id = 1380\n// module chunks = 0","import { validateOwnerData } from 'registration/actions/validate-owner-data.actions';\r\nimport { fetchOwnerValidationMethod } from 'registration/actions/fetch-owner-validation.actions';\r\nimport template from './independent.html';\r\n\r\nconst getOwnerValidationMethod = (validationMethod, locale) => {\r\n if (validationMethod[locale]) return validationMethod[locale][0];\r\n\r\n return validationMethod;\r\n};\r\n\r\nconst mapStateToThis = ({ session, registration, config }) => {\r\n const { locale } = session;\r\n const { ownerData, ownerValidationMethod } = registration;\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength } = config;\r\n\r\n return {\r\n ownerValidationMethod: getOwnerValidationMethod(ownerValidationMethod, locale),\r\n ownerData,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchOwnerValidationMethod,\r\n validateOwnerData,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Responsive')\r\nclass SelfRegistrationRetailerIndependentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchOwnerValidationMethod();\r\n this.clearRegistrationForm();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async checkOwner(form) {\r\n const { passcode } = form;\r\n\r\n if (passcode.$pristine) return;\r\n\r\n this.isLoading = true;\r\n await this.validateOwnerData(this.formModel);\r\n this.isLoading = false;\r\n\r\n passcode.$setValidity('blocked', !this.ownerData.blocked);\r\n passcode.$setValidity('passcode', this.ownerData.validPin);\r\n passcode.$setValidity('isPinUsed', !this.ownerData.isPinUsed);\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationRetailerIndependentComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationRetailerIndependentController;\r\n this.bindings = {\r\n form: '=',\r\n formModel: '=',\r\n clearRegistrationForm: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/independent/independent-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n Personal Information\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Checking...\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter {{ $ctrl.ownerValidationMethod.label }}.\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.ownerValidationMethod.error }}\\r\\n
    \\r\\n
    \\r\\n User for the owner is already registered. Please log in.\\r\\n
    \\r\\n
    \\r\\n Sorry, {{ $ctrl.ownerValidationMethod.label }} does not match Retailer Number. Check both numbers and try again. Attempts left:\\r\\n {{ $ctrl.ownerData.leftAttempts }}\\r\\n
    \\r\\n
    \\r\\n Sorry, registration has been locked for security reasons. Please wait 30 minutes and try again.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n First name shouldn’t be longer than {{$ctrl.maxFirstNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your First Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your Last Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your email address.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please reenter your email address.\\r\\n
    \\r\\n
    \\r\\n Your email addresses do not match.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide mobile phone number.\\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/independent/independent.html\n// module id = 1382\n// module chunks = 0","import { validateOwnerData } from 'registration/actions/validate-owner-data.actions';\r\nimport template from './chain-head.html';\r\n\r\nconst mapStateToThis = ({ registration, config }) => {\r\n const { ownerData } = registration;\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength } = config;\r\n\r\n return {\r\n ownerData,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n validateOwnerData,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Responsive')\r\nclass SelfRegistrationRetailerChainHeadController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.clearRegistrationForm();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async checkEmail(form) {\r\n const { email } = form;\r\n\r\n if (email.$pristine) return;\r\n\r\n this.isLoading = true;\r\n await this.validateOwnerData(this.formModel);\r\n this.isLoading = false;\r\n\r\n email.$setValidity('blocked-email', !this.ownerData.blocked);\r\n email.$setValidity('email-invalid', this.ownerData.validPin);\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationRetailerChainHeadComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationRetailerChainHeadController;\r\n this.bindings = {\r\n form: '=',\r\n formModel: '=',\r\n clearRegistrationForm: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/chain-head/chain-head-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n Personal Information\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n First name shouldn’t be longer than {{$ctrl.maxFirstNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your First Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your Last Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Checking...\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your email address.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n
    \\r\\n
    \\r\\n Sorry, registration has been locked for security reasons. Please wait 30 minutes and try again.\\r\\n
    \\r\\n
    \\r\\n \\r\\n Sorry, Email address does not match Retailer Number. Account will be locked after {{leftAttempts}} more attempt(s).\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please reenter your email address.\\r\\n
    \\r\\n
    \\r\\n Your email addresses do not match.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide mobile phone number.\\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/chain-head/chain-head.html\n// module id = 1384\n// module chunks = 0","import { validateOwnerData } from 'registration/actions/validate-owner-data.actions';\r\nimport template from './chain-subordinate.html';\r\n\r\nconst mapStateToThis = ({ registration, config, dictionary, session }) => {\r\n const { ownerData } = registration;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength, tellerIDMaxLength } = config;\r\n\r\n return {\r\n ownerData,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n tellerIDMaxLength,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n validateOwnerData,\r\n};\r\n\r\n@Inject('$ngRedux', 'Responsive')\r\nclass SelfRegistrationRetailerChainSubordinateController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.clearRegistrationForm();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async checkTeller(form) {\r\n const { tellerId, passcode } = form;\r\n\r\n if (tellerId.$pristine || passcode.$pristine) return;\r\n\r\n this.isLoading = true;\r\n await this.validateOwnerData(this.formModel);\r\n this.isLoading = false;\r\n\r\n tellerId.$setValidity('teller', this.ownerData.validTeller);\r\n tellerId.$setValidity('blocked', !this.ownerData.blocked);\r\n passcode.$setValidity('passcode', this.ownerData.validPin);\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationRetailerChainSubordinateComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationRetailerChainSubordinateController;\r\n this.bindings = {\r\n form: '=',\r\n formModel: '=',\r\n clearRegistrationForm: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/chain-subordinate/chain-subordinate-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n Personal Information\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n First name shouldn’t be longer than {{$ctrl.maxFirstNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your First Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your Last Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your email address.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please reenter your email address.\\r\\n
    \\r\\n
    \\r\\n Your email addresses do not match.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Checking...\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Please enter your {{ tellerId }}.\\r\\n \\r\\n
    \\r\\n
    \\r\\n Maximum allowed keyword length is {{ $ctrl.tellerIDMaxLength }} characters\\r\\n
    \\r\\n
    \\r\\n Sorry, registration has been locked for security reasons. Please wait 30 minutes and try again.\\r\\n
    \\r\\n
    \\r\\n \\r\\n Sorry, {{ tellerId }} does not match Retailer Number. Attempts left:\\r\\n \\r\\n {{$ctrl.ownerData.leftAttempts}}\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Checking...\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter your Clerk Passcode.\\r\\n
    \\r\\n
    \\r\\n User for the Owner already registered. Please log in.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide mobile phone number.\\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/chain-subordinate/chain-subordinate.html\n// module id = 1386\n// module chunks = 0","import * as api from 'registration/resources/registration.api';\r\nimport template from './confirm-registration.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$stateParams')\r\nclass SelfRegistrationConfirmController {\r\n async $onInit() {\r\n this.loaded = false;\r\n const response = await api.activateAccount(this.$stateParams.userId, this.$stateParams.token);\r\n this.loaded = true;\r\n this.activated = String(response).toLocaleLowerCase() === 'true';\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationConfirmComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationConfirmController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/confirm-registration/confirm-registration-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Success!\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n You have successfully activated your account. Please log in to your customized homepage.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Activation failed\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Link is corrupted.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/confirm-registration/confirm-registration.html\n// module id = 1388\n// module chunks = 0","import template from './confirmation-registration.html';\r\n\r\nexport default class SelfRegistrationConfirmationComponent {\r\n constructor() {\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Registration Successful!\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n We have sent a confirmation to the email address you provided. Please follow the link to verify your account and log in to your customized homepage.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration.html\n// module id = 1390\n// module chunks = 0","import template from './registration-disabled.html';\r\n\r\nexport default class SelfRegistrationDisabledComponent {\r\n constructor() {\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/registration-disabled/registration-disabled-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Self Registration is Disabled\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Your chain's administrator has disabled registration. Please contact them to have an account set up for you.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/registration-disabled/registration-disabled.html\n// module id = 1392\n// module chunks = 0","import angular from 'angular';\r\nimport CompleteRegistrationComponent from './complete-registration-component';\r\n\r\nexport default angular\r\n .module('complete-registration', ['rw-captcha'])\r\n .component('completeRegistration', new CompleteRegistrationComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/complete-registration/complete-registration-module.js","import * as api from 'registration/resources/registration.api';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from './complete-registration.html';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength } = config;\r\n\r\n return {\r\n session,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('appFactory', '$ngRedux', '$stateParams', 'Notifications', '$state', 'RwAnalyticsService', 'gettextCatalog')\r\nclass CompleteRegistrationController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.verifyAndLoadUser = this.appFactory.dispatch('registration.verifyAndLoadUser', true);\r\n }\r\n\r\n $onInit() {\r\n if (!this.checkAccess('registration.complete')) {\r\n this.$state.go('home-view');\r\n }\r\n this.formModel = {};\r\n this.verifyAndLoadUser\r\n .run(this.$stateParams.login, this.$stateParams.password, true)\r\n .then(() => {\r\n const { firstName, lastName, emailAddress, mobilePhone, contactPhone } = this.session;\r\n this.formModel = {\r\n firstName,\r\n lastName,\r\n emailAddress,\r\n mobilePhone,\r\n contactPhone,\r\n };\r\n })\r\n .catch(() => {\r\n this.$state.go('home-view');\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onSubmit($event, $formCtrl) {\r\n $event.stopPropagation();\r\n $event.preventDefault();\r\n\r\n return this.evalForm($formCtrl);\r\n }\r\n\r\n async evalForm($formCtrl) {\r\n $formCtrl.$setSubmitted();\r\n\r\n if ($formCtrl.$invalid) {\r\n return;\r\n }\r\n\r\n await api.confirmRegistration(this.formModel);\r\n const { retailerId, retailerType } = this.session.retailer;\r\n this.RwAnalyticsService.sendUserRegistrationEvent(retailerId, retailerType);\r\n\r\n await this.$state.go('user-logout');\r\n }\r\n}\r\n\r\nexport default class CompleteRegistrationComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = CompleteRegistrationController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/complete-registration/complete-registration-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n Authenticate and Complete Registration\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n * Indicates a required field\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Personal Information\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n First name shouldn’t be longer than {{$ctrl.maxFirstNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your First Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your Last Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your email address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide mobile phone number.\\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/complete-registration/complete-registration.html\n// module id = 1395\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('registrationRouting', []).config([\r\n '$stateProvider',\r\n ($stateProvider) => {\r\n $stateProvider\r\n .state('registration-complete', {\r\n parent: 'arw',\r\n url: '/retailer-complete-registration/:login/:password',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n })\r\n .state('registration-secondaryUser', {\r\n parent: 'arw',\r\n url: '/retailer-register-secondary-user',\r\n template: '
    ',\r\n redirectTo: 'home-view',\r\n })\r\n .state('registration-primary', {\r\n parent: 'arw',\r\n url: '/retailer-primary-registration',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Sign Up')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('registration-chainRegistrationDisabled', {\r\n parent: 'arw',\r\n url: '/chain-disabled',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n })\r\n .state('registration-confirmation', {\r\n parent: 'arw',\r\n url: '/retailer-primary-registration-confirmation',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n })\r\n .state('registration-primaryConfirm', {\r\n parent: 'arw',\r\n url: '/retailer-primary-registration-confirm/:userId/:token',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/registration-routing-module.js","import template from './security.html';\r\nimport * as api from '../../resources/security.api';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { locale } = session;\r\n const passwordErrorText = config.passwordErrorText[locale];\r\n\r\n return {\r\n locale,\r\n passwordErrorText,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SecurityController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.securityQuestions = await api.fetchSecurityQuestions();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n shouldShowValidation(field) {\r\n return ((field.$$parentForm.$submitted || field.$submitted) && field.$pristine) || field.$touched;\r\n }\r\n\r\n showPasswordConfirmRequired($formCtrl) {\r\n return this.shouldShowValidation($formCtrl.userPasswordConfirm) && $formCtrl.userPassword.$valid && $formCtrl.userPassword.$touched;\r\n }\r\n\r\n // show password match validation only if no other validators are present\r\n showPasswordsMatchError($formCtrl) {\r\n return (\r\n this.shouldShowValidation($formCtrl.userPasswordConfirm) &&\r\n !$formCtrl.userPasswordConfirm.$error.required &&\r\n $formCtrl.userPassword.$valid &&\r\n $formCtrl.userPassword.$touched\r\n );\r\n }\r\n}\r\n\r\nexport default class SecurityComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SecurityController;\r\n this.bindings = {\r\n form: '<',\r\n formModel: '=',\r\n captchaVisible: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/components/security/security-component.js","module.exports = \"
    \\r\\n
    \\r\\n Security Information\\r\\n
    \\r\\n\\r\\n

    {{ $ctrl.passwordErrorText }}

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter your password.\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.passwordErrorText }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Please reenter your password here.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n The captcha you entered is incorrect.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please accept the Terms of Use to continue.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/security/components/security/security.html\n// module id = 1398\n// module chunks = 0","import _ from 'lodash';\r\nimport template from './security-questions.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('Responsive')\r\nclass SecurityQuestionsController {\r\n constructor() {\r\n this.questionsWrapper = [\r\n {\r\n modelQuestion: 'questionA',\r\n modelAnswer: 'answerA',\r\n questions: [],\r\n },\r\n {\r\n modelQuestion: 'questionB',\r\n modelAnswer: 'answerB',\r\n questions: [],\r\n },\r\n ];\r\n }\r\n\r\n $onChanges() {\r\n this.questionsWrapper.forEach((value, index) => {\r\n this.questionsWrapper[index].questions = _.cloneDeep(this.securityQuestions || []);\r\n });\r\n }\r\n\r\n checkQuestions() {\r\n this.clearCheckQuestions();\r\n\r\n const arr = [];\r\n _.each(this.questionsWrapper, (questionItem) => {\r\n arr.push(this.formModel[questionItem.modelQuestion]);\r\n });\r\n\r\n if (_.uniq(arr).length === 1) {\r\n _.each(this.questionsWrapper, (questionItem) => {\r\n this.form[`securityQuestion-${questionItem.modelQuestion}`].$submitted = true;\r\n this.form[`securityQuestion-${questionItem.modelQuestion}`].$setValidity('same-question', false);\r\n });\r\n }\r\n }\r\n\r\n clearCheckQuestions() {\r\n _.each(this.questionsWrapper, (questionItem) => {\r\n this.form[`securityQuestion-${questionItem.modelQuestion}`].$setValidity('same-question', true);\r\n });\r\n }\r\n\r\n canShowOption(index, securityQuestion) {\r\n return this.formModel[this.questionsWrapper[(index + 1) % 2].modelQuestion] !== securityQuestion.code;\r\n }\r\n}\r\n\r\nexport default class SecurityQuestionsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SecurityQuestionsController;\r\n this.bindings = {\r\n form: '<',\r\n formModel: '=',\r\n securityQuestions: '<',\r\n securityQuestionsSize: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/components/security-questions/security-questions-component.js","module.exports = \"
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{securityQuestion.question}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Security Question {{$index + 1}}.\\r\\n
    \\r\\n
    \\r\\n Selected questions must be different!\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please answer Security Question {{$index + 1}}.\\r\\n
    \\r\\n
    \\r\\n Answer to Security Question {{$index + 1}} cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/security/components/security-questions/security-questions.html\n// module id = 1400\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport errors from './config/errorcodes.conf';\r\nimport routing from './report-subscriptions-routing-module';\r\nimport page from './containers/page/report-subscriptions-page-module';\r\nimport './components/management/sftp/sftp-component';\r\nimport './components/unsubscribe-confirmation/unsubscribe-component';\r\n\r\nexport default angular.module('report-subscriptions', [errors.name, routing.name, page.name, 'sftp-management', 'unsubscribe-confirmation']);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/report-subscriptions-module.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('reportSubscriptionsErrorCodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n reportSubscriptions: {\r\n 29: () => ({ title: gettextCatalog.getString('Subscription already exists.') }),\r\n },\r\n sftp: {\r\n RETAILER_NOT_FOUND: () => ({ title: gettextCatalog.getString('Retailer not found.') }),\r\n SFTP_CONFIGURATION_ALREADY_EXISTS: () => ({ title: gettextCatalog.getString('SFTP Configuration for selected Retailer already exists.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/config/errorcodes.conf.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('reportSubscriptionsRouting', []).config([\r\n '$stateProvider',\r\n ($stateProvider) => {\r\n $stateProvider.state('reportSubscriptions-view', {\r\n parent: 'arw',\r\n url: '/report-subscriptions',\r\n template: ``,\r\n params: {\r\n retailerId: null,\r\n retailerNumber: null,\r\n retailerType: null,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Subscriptions')));\r\n },\r\n ],\r\n },\r\n redirectTo: 'permissions-denied',\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/report-subscriptions-routing-module.js","import angular from 'angular';\r\nimport additionalRecipients from 'report-subscriptions/components/additional-recipients/additional-recipients-module';\r\nimport reportSubscriptionsPageComponent from './report-subscriptions-page-component';\r\n\r\nexport default angular\r\n .module('reportSubscriptions', [additionalRecipients.name])\r\n .component('reportSubscriptionsPage', reportSubscriptionsPageComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/containers/page/report-subscriptions-page-module.js","import angular from 'angular';\r\nimport { ReportSubscriptionsAdditionalRecipientController } from './additional-recipients-controller';\r\nimport reportSubscriptionsAdditionalRecipients from './additional-recipients-component';\r\n\r\nexport default angular\r\n .module('reportSubscriptionsAdditionalRecipients', [])\r\n .controller('ReportSubscriptionsAdditionalRecipientsController', ReportSubscriptionsAdditionalRecipientController)\r\n .component('reportSubscriptionsAdditionalRecipients', reportSubscriptionsAdditionalRecipients);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-module.js","export class ReportSubscriptionsAdditionalRecipientController {\r\n onAddRecipient(recipient, form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid || recipient === '') {\r\n return;\r\n }\r\n\r\n this.newRecipient = '';\r\n form.$setPristine();\r\n form.$setUntouched();\r\n this.applyRecipient({ recipient });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-controller.js","import template from './additional-recipients.html';\r\n\r\nexport default {\r\n template: template,\r\n controller: 'ReportSubscriptionsAdditionalRecipientsController',\r\n bindings: {\r\n recipients: '<',\r\n applyRecipient: '&',\r\n removeRecipient: '&',\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email is required.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Add\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ recipient }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients.html\n// module id = 1408\n// module chunks = 0","import { loadTransformationTypes } from 'app/actions/dictionaries.actions';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport {\r\n applyRecipient,\r\n loadEmailList,\r\n loadReportList,\r\n loadSftpList,\r\n removeRecipient,\r\n saveEmailList,\r\n saveReportList,\r\n saveSftpList,\r\n} from 'report-subscriptions/actions/report-subscriptions-page.actions';\r\nimport template from './report-subscriptions.html';\r\n\r\nconst DIRTY_FORM = 'reportSubscription';\r\n\r\nconst mapStateToThis = (state) => ({\r\n defaultContactPhone: state.contact.lottery.defaultContactPhone,\r\n isLoadingReports: state.reportSubscriptionsPage.isLoadingReports,\r\n isLoadingEmail: state.reportSubscriptionsPage.isLoadingEmail,\r\n itemsReports: state.reportSubscriptionsPage.itemsReports,\r\n itemsEmail: state.reportSubscriptionsPage.itemsEmail,\r\n subscriptionsReports: state.reportSubscriptionsPage.subscriptionsReports,\r\n subscriptionsEmail: state.reportSubscriptionsPage.subscriptionsEmail,\r\n metaEmail: state.reportSubscriptionsPage.metaEmail,\r\n itemsSftp: state.reportSubscriptionsPage.itemsSftp,\r\n subscriptionsSftp: state.reportSubscriptionsPage.subscriptionsSftp,\r\n metaSftp: state.reportSubscriptionsPage.metaSftp,\r\n isLoadingSftp: state.reportSubscriptionsPage.isLoadingSftp,\r\n recipients: state.reportSubscriptionsPage.recipients,\r\n transformationTypes: state.dictionaries.transformationTypes,\r\n session: state.session,\r\n applicationName: state.config.applicationName[state.session.locale],\r\n usesOptInReports: state.config.usesOptInReports,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n loadTransformationTypes,\r\n loadReportList,\r\n loadEmailList,\r\n loadSftpList,\r\n checkAccess,\r\n saveEmailList,\r\n saveReportList,\r\n saveSftpList,\r\n applyRecipient,\r\n removeRecipient,\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass ReportSubscriptionsPageController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = this.$state.params.retailerId;\r\n this.retailerNumber = this.$state.params.retailerNumber;\r\n this.retailerType = this.$state.params.retailerType;\r\n\r\n this.text = {\r\n report: {\r\n dialogTitle: this.gettextCatalog.getString('Success!'),\r\n saveSuccess: this.gettextCatalog.getString(`You have successfully updated your report subscriptions.`),\r\n validateTitle: this.gettextCatalog.getString('Error!'),\r\n validateError: this.gettextCatalog.getString('You can select up to two file types in one report'),\r\n },\r\n email: {\r\n dialogTitle: this.gettextCatalog.getString('Success!'),\r\n saveSuccess: this.gettextCatalog.getString(`You have successfully updated your email subscriptions.`),\r\n },\r\n sftp: {\r\n dialogTitle: this.gettextCatalog.getString('Success!'),\r\n saveSuccess: this.gettextCatalog.getString(\r\n `

    You have successfully updated your report subscriptions.

    Email was sent to administrator with inquiry to configure SFTP.

    SFTP transfer will not work until SFTP credentials are provided.

    `\r\n ),\r\n },\r\n };\r\n\r\n this.tabs = {\r\n report: {\r\n load: () => this.loadReportList(this.retailerId, this.retailerType),\r\n save: () => this.saveReportList(this.retailerId),\r\n },\r\n email: {\r\n load: () => this.loadEmailList(this.retailerId, this.retailerType),\r\n save: () => this.saveEmailList(this.retailerId),\r\n },\r\n sftp: {\r\n load: () => this.loadSftpList(this.retailerId, this.retailerType),\r\n save: () => this.saveSftpList(this.retailerId),\r\n },\r\n };\r\n\r\n Promise.all([this.loadTransformationTypes()]).then(() => {\r\n this.headers = [\r\n {\r\n text: this.gettextCatalog.getString('Report Name'),\r\n field: 'reportName',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Reporting Period'),\r\n field: 'reportPeriod',\r\n sortable: false,\r\n },\r\n {\r\n text: '',\r\n sortable: false,\r\n },\r\n ];\r\n\r\n this.canShowReports = this.session.retailer.retailerType;\r\n this.canShowReportSubscriptions = this.usesOptInReports && this.checkAccess('reportSubscriptions.view') && this.canShowReports;\r\n this.canShowEmailSubscriptions = this.checkAccess('reportSubscriptions.view.email') && this.canShowReports;\r\n this.canShowSftpSubscriptions = this.checkAccess('reportSubscriptions.view.sftp') && this.canShowReports;\r\n\r\n if (this.canShowReportSubscriptions) {\r\n this.onTabSelect('report');\r\n this.gridModel = initGrid(this.loadEmailList, this.defaultParams);\r\n } else if (this.canShowEmailSubscriptions) {\r\n this.onTabSelect('email');\r\n this.gridModel = initGrid(this.loadEmailList, this.defaultParams);\r\n } else if (this.canShowSftpSubscriptions) {\r\n this.onTabSelect('sftp');\r\n this.gridModel = initGrid(this.loadSftpList, this.defaultParams);\r\n }\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit(tabId) {\r\n const text = this.text[tabId];\r\n this.tabs[tabId].save().then(() => {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.form.$setPristine();\r\n return this.Notifications.showAlert(text.dialogTitle, text.saveSuccess);\r\n });\r\n }\r\n\r\n onTabSelect(tabId, form) {\r\n if (form) {\r\n form.$setPristine();\r\n }\r\n this.activeTabId = tabId;\r\n this.tabs[tabId].load().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n change() {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n changeReport(fileTypeId, format) {\r\n // validate selection\r\n let subscribedNumber = 0;\r\n Object.keys(this.subscriptionsReports[fileTypeId].transformations).forEach((key) => {\r\n if (this.subscriptionsReports[fileTypeId].transformations[key].subscribed) {\r\n subscribedNumber += 1;\r\n }\r\n });\r\n\r\n if (subscribedNumber > 2) {\r\n this.Notifications.showAlert(this.text.report.validateTitle, this.text.report.validateError);\r\n this.subscriptionsReports[fileTypeId].transformations[format].subscribed =\r\n !this.subscriptionsReports[fileTypeId].transformations[format].subscribed;\r\n }\r\n\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n cancel() {\r\n this.onTabSelect(this.activeTabId);\r\n }\r\n\r\n onGroupChange() {\r\n this.tabs[this.activeTabId].load().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n}\r\n\r\nexport default {\r\n template,\r\n controller: ReportSubscriptionsPageController,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/containers/page/report-subscriptions-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Any changes to subscriptions will take effect on the next scheduled report date for each report.\\r\\n Reports to which you have subscribed will appear in the Reports page of {{$ctrl.applicationName}}.\\r\\n If you wish to receive a report via email, please visit Email Subscriptions tab.\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ type.fileNotificationType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n
    \\r\\n {{ type.fileNotificationType }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ type.fileNotificationType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n
    \\r\\n {{ type.fileNotificationType }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Select group\\r\\n \\r\\n \\r\\n {{ group.name }}\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n Your Lottery Retailer Wizard Administrator will connect your account with your SFTP server. Please call {{ $ctrl.defaultContactPhone }}.\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ type.fileNotificationType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n
    \\r\\n {{ type.fileNotificationType }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/containers/page/report-subscriptions.html\n// module id = 1410\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport SftpListComponent from './sftp-list/sftp-list-component';\r\nimport SftpCreateComponent from './sftp-create/sftp-create-component';\r\nimport SftpEditComponent from './sftp-edit/sftp-edit-component';\r\n\r\nexport default angular\r\n .module('sftp-management', [])\r\n .component('sftpListView', new SftpListComponent())\r\n .component('sftpCreateView', new SftpCreateComponent())\r\n .component('sftpEditView', new SftpEditComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('sftp-view', {\r\n parent: 'arw',\r\n url: '/sftp',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('SFTP Server Configuration')));\r\n },\r\n ],\r\n },\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n })\r\n .state('sftp-create', {\r\n parent: 'arw',\r\n url: '/sftp-create',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Create SFTP Server Configuration')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('sftp-edit', {\r\n parent: 'arw',\r\n url: '/sftp/:configId',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Edit SFTP Server Configuration')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-component.js","import template from './sftp-list.html';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { fetchSftpList, deleteSftpById } from 'report-subscriptions/actions/sftp.actions';\r\n\r\nconst mapStateToThis = ({ sftp, config, ui }) => {\r\n const { list, isLoading } = sftp;\r\n const { sortColumnKey } = config;\r\n const { pagination } = ui;\r\n\r\n return {\r\n list,\r\n isLoading,\r\n sortColumnKey,\r\n pagination,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSftpList,\r\n deleteSftpById,\r\n};\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications')\r\nclass SftpListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.headers = this.listHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'retailerId',\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchSftpList, this.defaultParams);\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n async onSftpConfigurationRemove(id) {\r\n await this.deleteSftpById(id);\r\n\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Configuration has been removed'));\r\n this.search();\r\n }\r\n\r\n listHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Retailer ID'),\r\n field: 'retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer Name'),\r\n field: 'retailerName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Host Address'),\r\n field: 'ftpHost',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Use SFTP Public Key'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Enabled'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Delete Configuration'),\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n}\r\n\r\nexport default class SftpListComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SftpListController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Select a Retailer ID to edit their SFTP server configuration.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n New SFTP Configuration\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.retailerName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ item.ftpHost }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.retailerName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ item.ftpHost }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list.html\n// module id = 1413\n// module chunks = 0","/* REDUX */\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchSftpAuthenticationTypesDictionary } from 'app/actions/dictionaries/sftp-authentication-types.actions';\r\nimport * as api from 'report-subscriptions/resources/sftp.api';\r\nimport sftpCreateTemplate from './sftp-create.html';\r\n\r\nconst DIRTY_FORM = 'sftpCreate';\r\n\r\nconst mapStateToThis = ({ dictionary }) => {\r\n const { sftpAuthenticationTypes } = dictionary;\r\n return {\r\n authenticationTypes: sftpAuthenticationTypes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchSftpAuthenticationTypesDictionary,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Responsive', 'Notifications')\r\nclass SftpCreateController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.fileErrors = {};\r\n this.savingInProgress = false;\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.enabledSelectOptions = [\r\n {\r\n label: this.gettextCatalog.getString('No'),\r\n value: false,\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Yes'),\r\n value: true,\r\n },\r\n ];\r\n this.sftp = {\r\n configuration: {\r\n authenticationType: 'PASSWORD',\r\n },\r\n };\r\n await this.fetchSftpAuthenticationTypesDictionary();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submitForm(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) {\r\n return;\r\n }\r\n\r\n this.submitConfirm();\r\n }\r\n\r\n async submitConfirm() {\r\n try {\r\n this.savingInProgress = true;\r\n await api.createSftp(this.sftp);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Configuration has been created'));\r\n this.setDirtyForm(DIRTY_FORM, false);\r\n this.$state.go('sftp-view', { skipDirtyForms: true });\r\n } catch (error) {\r\n console.error('CREATE_SFTP', error);\r\n } finally {\r\n this.savingInProgress = false;\r\n }\r\n }\r\n}\r\n\r\nexport default class SftpCreateComponent {\r\n constructor() {\r\n this.template = sftpCreateTemplate;\r\n this.controller = SftpCreateController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Retailer Number.\\r\\n
    \\r\\n
    \\r\\n Retailer No invalid format.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Host Address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Port.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Username.\\r\\n
    \\r\\n
    \\r\\n Username cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Password.\\r\\n
    \\r\\n
    \\r\\n Password cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Authentication Type*\\r\\n \\r\\n \\r\\n {{ value }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Authentication Type.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Enabled\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Authentication Key.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create.html\n// module id = 1415\n// module chunks = 0","import sftpEditTemplate from './sftp-edit.html';\r\n/* REDUX */\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { updateSftpById, fetchSftpById } from 'report-subscriptions/actions/sftp.actions';\r\nimport { fetchSftpAuthenticationTypesDictionary } from 'app/actions/dictionaries/sftp-authentication-types.actions';\r\n\r\nconst DIRTY_FORM = 'sftpEdit';\r\n\r\nconst mapStateToThis = ({ dictionary, sftp }) => {\r\n const { sftpAuthenticationTypes } = dictionary;\r\n const { selectedEntry } = sftp;\r\n\r\n return {\r\n selectedEntry,\r\n authenticationTypes: sftpAuthenticationTypes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n updateSftpById,\r\n fetchSftpById,\r\n fetchSftpAuthenticationTypesDictionary,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications', '$stateParams')\r\nclass SftpEditController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.fileErrors = {};\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.enabledSelectOptions = [\r\n {\r\n label: this.gettextCatalog.getString('No'),\r\n value: false,\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Yes'),\r\n value: true,\r\n },\r\n ];\r\n\r\n await Promise.all[\r\n this.fetchSftpAuthenticationTypesDictionary(), \r\n this.fetchSftpById(this.$stateParams.configId)\r\n ];\r\n\r\n this.enabled = this.selectedEntry.enabled;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async submitForm(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) return;\r\n\r\n const { passwordSet, ...configuration } = this.selectedEntry;\r\n\r\n await this.updateSftpById(configuration);\r\n\r\n this.setDirtyForm(DIRTY_FORM, false);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Configuration has been edited'));\r\n this.$state.go('sftp-view', { skipDirtyForms: true });\r\n }\r\n}\r\n\r\nexport default class SftpEditComponent {\r\n constructor() {\r\n this.template = sftpEditTemplate;\r\n this.controller = SftpEditController;\r\n this.bindings = {\r\n model: '<',\r\n retailerId: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n Please enter Retailer Number.\\r\\n
    \\r\\n\\r\\n
    \\r\\n Retailer No. invalid format.\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Host Address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Port.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n Please enter Username.\\r\\n
    \\r\\n\\r\\n
    \\r\\n Username cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Password cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n Please enter Password.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Authentication Type\\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{ value }}\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n Please select Authentication Type.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Enabled\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Authentication Key.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit.html\n// module id = 1417\n// module chunks = 0","import angular from 'angular';\r\nimport unsubscribeConfirmationTemplate from './unsubscribe.html';\r\n\r\nimport { unsubscribeUser } from 'report-subscriptions/actions/report-subscriptions-page.actions';\r\n\r\nconst mapStateToThis = (state) => ({});\r\n\r\nconst mapDispatchToThis = {\r\n unsubscribeUser,\r\n};\r\n\r\n@Inject('$ngRedux', '$stateParams', '$state', 'Notifications', 'gettextCatalog')\r\nclass UnsubscribeConfirmationController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n if (!this.$stateParams.token) {\r\n return this.$state.go('home-view');\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onUnsubscribeUser() {\r\n this.unsubscribeUser(this.$stateParams.token).then(() => {\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Changed successfuly.'));\r\n return this.$state.go('home-view');\r\n });\r\n }\r\n}\r\n\r\nclass UnsubscribeConfirmation {\r\n constructor() {\r\n this.controller = UnsubscribeConfirmationController;\r\n this.template = unsubscribeConfirmationTemplate;\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('unsubscribe-confirmation', [])\r\n .component('emailUnsubscribe', new UnsubscribeConfirmation())\r\n .config(['$urlMatcherFactoryProvider',\r\n function($urlMatcherFactory) {\r\n $urlMatcherFactory.type('token', {\r\n decode: function(val) { return val != null ? val.toString() : val; },\r\n encode: function(val) { return val != null ? val.toString() : val; },\r\n })\r\n }])\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('unsubscribe-confirmation', {\r\n parent: 'arw',\r\n url: '/unsubscribe/{token:token}',\r\n template: ``,\r\n params: {\r\n hideMenu: true,\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    Confirm

    \\r\\n
    \\r\\n
    \\r\\n

    Are you sure you want to unsubscribe from email report subscriptions?

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe.html\n// module id = 1419\n// module chunks = 0","import angular from 'angular';\r\nimport retailerReportsRoutingModule from './retailer-reports-routing-module';\r\nimport retailerReportsPageModule from './components/retailer-reports-page/retailer-reports-page-module';\r\nimport retailerReportsFilterModule from './components/retailer-reports-filter/retailer-reports-filter-module';\r\nimport retailerReportsTabContentModule from './components/retailer-reports-tab-content/retailer-reports-tab-content-module';\r\n\r\nexport default angular.module('retailer-reports', [\r\n retailerReportsRoutingModule.name,\r\n retailerReportsPageModule.name,\r\n retailerReportsFilterModule.name,\r\n retailerReportsTabContentModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/retailer-reports-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport retailerReportsPageModule from './components/retailer-reports-page/retailer-reports-page-module';\r\n\r\nexport default angular.module('retailer-reports-routing', [retailerReportsPageModule.name]).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('retailerReports-view', {\r\n parent: 'arw',\r\n url: '/reports',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Reports')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/retailer-reports-routing-module.js","import template from './retailer-reports-page.html';\r\n\r\nclass RetailerReportsPageController {}\r\n\r\nexport default class RetailerReportsPageComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = RetailerReportsPageController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page.html\n// module id = 1423\n// module chunks = 0","import angular from 'angular';\r\nimport RetailerReportsFilterComponent from './retailer-reports-filter-component';\r\n\r\nexport default angular.module('retailer-reports-filter', []).component('retailerReportsFilter', new RetailerReportsFilterComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-module.js","import template from './retailer-reports-filter.html';\r\n\r\nconst mapStateToThis = ({ session, dictionaries, dictionary }) => {\r\n const { locale, isAdmin } = session;\r\n const { reportCategories } = dictionary;\r\n const { reportNames } = dictionaries;\r\n\r\n return {\r\n locale,\r\n isAdmin,\r\n reportCategories,\r\n reportNames,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RetailerReportsFilterController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.filterReportNames = (reportCategory, locale) => (item) =>\r\n reportCategory ? item.fileTypeTranslationsDto[locale].fileCategoryCd === reportCategory : true;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onCategoryChange() {\r\n this.filters.reportName = undefined;\r\n }\r\n\r\n onInputChange() {\r\n this.errors = this.form.$error;\r\n }\r\n}\r\n\r\nexport default class RetailerReportsFilterComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = RetailerReportsFilterController;\r\n this.bindings = {\r\n idPrefix: '@',\r\n filters: '<',\r\n errors: '=',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Retailer Number.\\r\\n
    \\r\\n
    \\r\\n Retailer No invalid format.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Report Name\\r\\n \\r\\n \\r\\n {{reportNameData.fileTypeTranslationsDto[$ctrl.locale].fileDisplayNm}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Category\\r\\n \\r\\n \\r\\n {{ categoryDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter.html\n// module id = 1426\n// module chunks = 0","import angular from 'angular';\r\nimport RetailerReportsTabContentComponent from './retailer-reports-tab-content-component';\r\n\r\nexport default angular\r\n .module('retailer-reports-tab-component', [])\r\n .component('retailerReportsTabContent', new RetailerReportsTabContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-module.js","import { isChainHeadSelector } from 'selectors';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { clearFilters, fetchRetailerReports, downloadRetailerReport } from 'retailer-reports/actions/retailer-reports.actions';\r\nimport { loadReportExtensions, loadReportNames } from 'app/actions/dictionaries.actions';\r\nimport { fetchReportCategoriesDictionary } from 'app/actions/dictionaries/report-categories-dictionary.actions';\r\nimport template from './retailer-reports-tab-content.html';\r\n\r\nconst mapStateToThis = ({ ui, session, retailerReports, dictionaries, dictionary, config }) => {\r\n const { pagination } = ui;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { sortColumnKey, directionKey } = config;\r\n const { locale, isAdmin } = session;\r\n const { reportCategories } = dictionary;\r\n const { items, isLoading } = retailerReports;\r\n const { reportNames, reportExtensions } = dictionaries;\r\n\r\n return {\r\n pagination,\r\n items,\r\n isLoading,\r\n reportNames,\r\n reportCategories,\r\n reportExtensions,\r\n isChainHead,\r\n locale,\r\n isAdmin,\r\n sortColumnKey,\r\n directionKey,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchRetailerReports,\r\n loadReportNames,\r\n fetchReportCategoriesDictionary,\r\n loadReportExtensions,\r\n downloadRetailerReport,\r\n checkAccess,\r\n clearFilters,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass RetailerReportsTabContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.showSubordinates = this.isChainHead;\r\n this.showSubscriptionButton = this.checkAccess('reportSubscriptions.view');\r\n this.headers = this.getHeaders();\r\n this.errors = {};\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'created',\r\n [this.directionKey]: false,\r\n };\r\n this.gridModel = initGrid(this.fetchRetailerReports, this.defaultParams);\r\n await Promise.all([this.loadReportNames(), this.fetchReportCategoriesDictionary(), this.loadReportExtensions()]);\r\n if (!this.isAdmin && !this.showSubordinates) {\r\n this.search();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.clearFilters();\r\n this.unsubscribe();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Report Name'),\r\n field: 'fileType.fileTypeTranslations.fileDisplayNm',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Date'),\r\n field: 'created',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Category'),\r\n field: 'fileType.fileTypeTranslations.fileCategoryCd',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Description'),\r\n sortable: false,\r\n textAlignment: 'text-left',\r\n },\r\n ];\r\n }\r\n\r\n async search() {\r\n if (this.isAdmin && !this.gridModel.pagingModel.filters.retailerNumber) {\r\n this.Notifications.alertError(this.gettextCatalog.getString('Please provide Retailer No.'));\r\n return;\r\n }\r\n if (this.errors.date) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Invalid date'));\r\n return;\r\n }\r\n await this.gridModel.applyFilters();\r\n }\r\n\r\n clearFilter() {\r\n this.errors = {};\r\n this.gridModel = initGrid(this.fetchRetailerReports, this.defaultParams);\r\n this.clearFilters();\r\n if (!this.isAdmin) {\r\n this.search();\r\n }\r\n }\r\n\r\n downloadReport(file) {\r\n return this.downloadRetailerReport({\r\n ...file,\r\n filters: this.gridModel.pagingModel.filters,\r\n });\r\n }\r\n\r\n onRetailerClick({ id, displayNumber, retailerType }) {\r\n this.showSubordinates = false;\r\n this.gridModel.pagingModel.filters.retailerId = id;\r\n this.gridModel.pagingModel.filters.retailerNumber = displayNumber;\r\n this.retailerType = retailerType;\r\n return this.search();\r\n }\r\n\r\n backToSubordinatesList() {\r\n this.showSubordinates = true;\r\n this.gridModel.pagingModel.filters.retailerId = null;\r\n this.gridModel.pagingModel.filters.retailerNumber = null;\r\n }\r\n\r\n openMySubscriptions() {\r\n this.$state.go('reportSubscriptions-view', {\r\n retailerId: this.gridModel.pagingModel.filters.retailerId,\r\n retailerNumber: this.gridModel.pagingModel.filters.retailerNumber,\r\n retailerType: this.retailerType,\r\n });\r\n }\r\n}\r\n\r\nexport default class RetailerReportsTabContentComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = RetailerReportsTabContentController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-component.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport { getUsers } from 'user/resources/user.api';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/retailer-reports.api';\r\n\r\nconst createCustomFileName = (fileName, date, retailerId, dateFormatShort) => {\r\n const generateDateString = (date) => moment(date).format(dateFormatShort).replace(/\\//g, '-').replace(/\\:/g, '');\r\n const transformFileName = (fileName) => fileName.replace(/\\s/g, '_');\r\n const transformedFileName = transformFileName(fileName);\r\n const dateString = generateDateString(date);\r\n\r\n if (retailerId) return `${retailerId}_${transformedFileName}_${dateString}`;\r\n\r\n return `${transformedFileName}_${dateString}`;\r\n};\r\n\r\nexport const fetchRetailerReportsRequest = () => ({\r\n type: actionTypes.FETCH_RETAILER_REPORTS_REQUEST,\r\n name: 'retailerReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchRetailerReportsFailure = () => ({\r\n type: actionTypes.FETCH_RETAILER_REPORTS_FAILURE,\r\n name: 'retailerReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchRetailerReportsSuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_RETAILER_REPORTS_SUCCESS,\r\n items,\r\n pagination,\r\n name: 'retailerReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchRetailerReports = (parameters) => async (dispatch, getState) => {\r\n try {\r\n const { session, config } = getState();\r\n const { dateFormatShort } = config;\r\n const { locale, retailer = {} } = session;\r\n const { retailerId, retailerDisplayNumber } = retailer;\r\n const params = {\r\n ...parameters,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchRetailerReportsRequest());\r\n\r\n const { content, ...pagination } = await api.fetchRetailerReports(params);\r\n const items = content.map((report) => {\r\n const { contentId, created, retailerId, fileType } = report;\r\n const { fileTypeTranslationsDto, transformations } = fileType;\r\n const availableTransitions = transformations ? transformations.filter((transition) => transition.enabled) : [];\r\n const fileName = fileTypeTranslationsDto ? fileTypeTranslationsDto[locale].fileDisplayNm : '';\r\n const customFileName = createCustomFileName(fileName, created, retailerDisplayNumber, dateFormatShort);\r\n const downloadData = availableTransitions.map((transition) => ({\r\n extension: transition.transformType,\r\n customFileName,\r\n fileName,\r\n contentId,\r\n retailerId,\r\n }));\r\n\r\n return {\r\n contentId,\r\n created,\r\n retailerId,\r\n fileTypeTranslationsDto,\r\n downloadData,\r\n };\r\n });\r\n dispatch(fetchRetailerReportsSuccess(items, pagination));\r\n } catch (error) {\r\n dispatch(fetchRetailerReportsFailure());\r\n console.error('FETCH_RETAILER_REPORTS_FAILURE', error);\r\n }\r\n};\r\n\r\nexport const clearFilters = () => (dispatch) => {\r\n dispatch({\r\n type: actionTypes.CLEAR_RETAILER_REPORTS,\r\n });\r\n};\r\n\r\nexport const downloadRetailerReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_RETAILER_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadRetailerReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_RETAILER_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadRetailerReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_RETAILER_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadRetailerReport =\r\n ({ filters, extension, contentId }) =>\r\n (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = filters.retailerId || session.retailer.retailerId;\r\n const requestParams = {\r\n id: contentId,\r\n ...filters,\r\n retailerId,\r\n extension,\r\n };\r\n\r\n dispatch(downloadRetailerReportRequest());\r\n dispatch(downloadRetailerReportSuccess());\r\n return api.downloadRetailerReport(requestParams);\r\n } catch (error) {\r\n console.error('DOWNLOAD_RETAILER_REPORT', error);\r\n dispatch(downloadRetailerReportFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/actions/retailer-reports.actions.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport moment from 'moment/moment';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'retailerReports';\r\n\r\nfunction formatDate(dateToFormat) {\r\n if (dateToFormat) {\r\n return moment(dateToFormat).format('YYYY-MM-DD');\r\n }\r\n return undefined;\r\n}\r\n\r\nexport const fetchRetailerReports = async (params) => {\r\n const { url } = DepsService.rest.reports.entries;\r\n const queryParams = cloneDeep(params);\r\n queryParams.filters.creationDateFrom = formatDate(queryParams.filters.creationDateFrom);\r\n queryParams.filters.creationDateTo = formatDate(queryParams.filters.creationDateTo);\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadRetailerReport = ({ id, extension, ...parameters }) => {\r\n const { url } = DepsService.rest.reports.download;\r\n const queryParams = {\r\n 'transformation-type': extension,\r\n ...parameters,\r\n };\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/resources/retailer-reports.api.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchReportCategoriesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchReportCategoriesDictionarySuccess = (categories) => ({\r\n type: actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS,\r\n categories,\r\n});\r\n\r\nexport const fetchReportCategoriesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchReportCategoriesDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchReportCategoriesDictionaryRequest());\r\n\r\n const categories = await api.fetchReportCategoriesDictionary({ locale });\r\n dispatch(fetchReportCategoriesDictionarySuccess(categories));\r\n } catch (error) {\r\n console.error('REPORT_CATEGORIES_DICTIONARY', error);\r\n dispatch(fetchReportCategoriesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/report-categories-dictionary.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Viewing history for\\r\\n \\r\\n \\r\\n \\r\\n Retailer No\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Return to retailer list\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n My Subscriptions\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n 0\\\"\\r\\n type=\\\"'label'\\\"\\r\\n position=\\\"left\\\">\\r\\n \\r\\n \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileDisplayNm }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ reportDTO.extension }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.reportCategories[report.fileTypeTranslationsDto[$ctrl.locale].fileCategoryCd] }}\\r\\n \\r\\n \\r\\n \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileDisplayDesc }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileDisplayNm }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ reportDTO.extension }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n {{ $ctrl.reportCategories[report.fileTypeTranslationsDto[$ctrl.locale].fileCategoryCd] }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content.html\n// module id = 1432\n// module chunks = 0","import angular from 'angular';\r\nimport adminReportsRoutingModule from './admin-reports-routing-module';\r\nimport adminReportsPageModule from './components/admin-reports-page/admin-reports-page-module';\r\nimport userActivityReportsModule from './components/user-activity-reports/user-activity-reports-module';\r\nimport adminReportsFilterModule from './components/admin-reports-filter/admin-reports-filter-module';\r\n\r\nexport default angular.module('admin-reports', [\r\n adminReportsRoutingModule.name,\r\n adminReportsPageModule.name,\r\n userActivityReportsModule.name,\r\n adminReportsFilterModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/admin-reports-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('admin-reports-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('retailerReports-admin', {\r\n parent: 'arw',\r\n url: '/admin-reports',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Site Activity Log')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/admin-reports-routing-module.js","import angular from 'angular';\r\nimport AdminReportsPageComponent from './admin-reports-page-component';\r\n\r\nexport default angular.module('admin-reports-page', []).component('adminReportsPage', new AdminReportsPageComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-module.js","import utils from 'utils/lsp-utils-service';\r\nimport template from 'admin-reports/components/admin-reports-page/admin-reports-page.html';\r\n\r\nconst mapStateToThis = ({ session: { sidemenu } }) => ({\r\n sidemenu,\r\n});\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass AdminReportsPageController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.pageHeader = utils.pageHeader(this.sidemenu, 'sref', 'retailerReports-admin');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class AdminReportsPageComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AdminReportsPageController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/admin-reports-page/admin-reports-page.html\n// module id = 1437\n// module chunks = 0","import angular from 'angular';\r\nimport UserActivityReportsComponent from './user-activity-reports-component';\r\n\r\nexport default angular.module('user-activity-reports', []).component('userActivityReports', new UserActivityReportsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-module.js","import moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport template from './user-activity-reports.html';\r\nimport eventDetailsDialog from './user-activity-reports-event-details-dialog.html';\r\nimport { fetchUserActivityReports, downloadActivityReports } from '../../actions/admin-reports.actions';\r\n\r\nconst RETAILER_NUMBER_REGEXP = /^[0-9]{1,9}$/;\r\n\r\nconst mapStateToThis = ({ ui, session, adminReports, config}) => {\r\n const { pagination } = ui;\r\n const { serverTime, locale } = session;\r\n const { items, isLoading } = adminReports;\r\n const { directionKey, sortColumnKey } = config;\r\n\r\n return {\r\n pagination,\r\n items,\r\n isLoading,\r\n serverTime,\r\n locale,\r\n directionKey,\r\n sortColumnKey\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchUserActivityReports,\r\n downloadActivityReports,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'Notifications')\r\nclass UserActivityReportsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.initializeConfiguration();\r\n this.reportStatuses = this.getReportStatuses();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'eventDate',\r\n [this.directionKey]: false,\r\n };\r\n this.gridModel = initGrid(this.fetchUserActivityReports, this.defaultParams);\r\n this.clearFilter();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n initializeConfiguration() {\r\n this.exportData = [\r\n {\r\n label: 'CSV',\r\n extension: 'csv',\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'userFullName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Email'),\r\n field: 'userName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('User Class'),\r\n field: 'userRole',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Event Type'),\r\n field: 'eventType',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('IP Address'),\r\n field: 'networkIp',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Event Result'),\r\n field: 'eventResult',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Date/Time'),\r\n field: 'eventDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n initializeFilters() {\r\n this.error = false;\r\n this.gridModel.pagingModel.filters = {\r\n fromDate: moment.unix(this.serverTime).startOf('week').valueOf(),\r\n toDate: moment.unix(this.serverTime).endOf('week').valueOf(),\r\n };\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n downloadReport(extension) {\r\n return this.downloadActivityReports(\r\n extension,\r\n {\r\n ...this.gridModel.pagingModel,\r\n pageSize: 0,\r\n } // Forces BE to export the entire data set\r\n );\r\n }\r\n\r\n async search() {\r\n if (this.gridModel.pagingModel.filters.retailerId && !RETAILER_NUMBER_REGEXP.test(this.gridModel.pagingModel.filters.retailerId)) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Retailer No. invalid format'));\r\n return;\r\n }\r\n if (!this.error) {\r\n await this.gridModel.applyFilters();\r\n }\r\n }\r\n\r\n showEventDetails(reportData) {\r\n return this.Notifications.showComplexDialog({\r\n template: eventDetailsDialog,\r\n resolve: {\r\n reportData: () => reportData,\r\n locale: () => this.locale,\r\n },\r\n });\r\n }\r\n\r\n getReportStatuses() {\r\n return {\r\n SUCCESS: this.gettextCatalog.getString('Success'),\r\n FAILURE: this.gettextCatalog.getString('Failed'),\r\n };\r\n }\r\n}\r\n\r\nexport default class UserActivityReportsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = UserActivityReportsController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n +--\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Export\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n {{ report.userFullName }}\\r\\n
    \\r\\n
    \\r\\n {{ report.impersonatingUserFullName }}
    \\r\\n as\\r\\n ({{ report.userFullName }})\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ report.userName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n\\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ report.ip }}\\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.reportStatuses[report.eventResult] }}\\r\\n \\r\\n \\r\\n \\r\\n {{ report.eventDateFormatted }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ report.eventDateFormatted }}\\r\\n
    \\r\\n
    \\r\\n {{ report.userName}}\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.reportStatuses[report.eventResult] }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ report.userName }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ report.ip }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports.html\n// module id = 1440\n// module chunks = 0","module.exports = \"
    \\r\\n

    \\r\\n Event Details\\r\\n - {{ $ctrl.reportData.eventType }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    Details\\r\\n Changes\\r\\n
    \\r\\n
    \\r\\n Actor\\r\\n
    {{ $ctrl.reportData.userFullName }}
    \\r\\n
    \\r\\n {{ $ctrl.reportData.impersonatingUserFullName }}
    \\r\\n as\\r\\n ({{ $ctrl.reportData.userFullName }})\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Date/Time\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n IP Address\\r\\n
    {{ $ctrl.reportData.ip }}
    \\r\\n
    \\r\\n
    \\r\\n Result\\r\\n
    {{ $ctrl.reportData.eventResult }}
    \\r\\n
    \\r\\n
    {{ $ctrl.reportData.eventDescription }}
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-event-details-dialog.html\n// module id = 1441\n// module chunks = 0","import * as api from '../resources/admin-reports.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchUserActivityReportsRequest = () => ({\r\n type: actionTypes.FETCH_USER_ACTIVITY_REPORTS_REQUEST,\r\n name: 'userActivityReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchUserActivityReportsFailure = () => ({\r\n type: actionTypes.FETCH_USER_ACTIVITY_REPORTS_FAILURE,\r\n name: 'userActivityReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchUserActivityReportsSuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_USER_ACTIVITY_REPORTS_SUCCESS,\r\n items,\r\n pagination,\r\n name: 'userActivityReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchUserActivityReports = (parameters) => async (dispatch) => {\r\n try {\r\n dispatch(fetchUserActivityReportsRequest());\r\n const { content, ...pagination } = await api.fetchActivityReport(parameters);\r\n dispatch(fetchUserActivityReportsSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchUserActivityReportsFailure());\r\n console.error('FETCH_USER_ACTIVITY_REPORTS_FAILURE', error);\r\n }\r\n};\r\n\r\nexport const downloadUserActivityReportsRequest = () => ({\r\n type: actionTypes.DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST,\r\n});\r\n\r\nexport const downloadUserActivityReportsSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS,\r\n});\r\n\r\nexport const downloadUserActivityReportsFailure = () => ({\r\n type: actionTypes.DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE,\r\n});\r\n\r\nexport const downloadActivityReports = (extension, params) => (dispatch) => {\r\n try {\r\n const config = {\r\n extension,\r\n ...params,\r\n };\r\n dispatch(downloadUserActivityReportsRequest());\r\n dispatch(downloadUserActivityReportsSuccess());\r\n return api.downloadActivityReports(config);\r\n } catch (error) {\r\n console.error('DOWNLOAD_ACTIVITY_REPORT', error);\r\n dispatch(downloadUserActivityReportsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/actions/admin-reports.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'admin-reports';\r\n\r\nexport const downloadActivityReports = ({ extension, ...params }) => {\r\n const { url } = DepsService.rest.report.activity;\r\n const urlParams = {};\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, params, urlParams, headers);\r\n};\r\n\r\nexport const fetchActivityReport = async (queryParams) => {\r\n const { url } = DepsService.rest.report.activity;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/resources/admin-reports.api.js","import angular from 'angular';\r\nimport AdminReportsFilterComponent from './admin-reports-filter-component';\r\n\r\nexport default angular.module('admin-reports-filter', []).component('adminReportsFilter', new AdminReportsFilterComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-module.js","import isEmpty from 'lodash/isEmpty';\r\nimport get from 'lodash/get';\r\nimport moment from 'moment';\r\nimport { fetchUserClassDictionary } from 'app/actions/dictionaries/user-class-dictionary.actions';\r\nimport { fetchActivityEventsDictionary } from 'app/actions/dictionaries/activity-events-dictionary.actions';\r\nimport template from './admin-reports-filter.html';\r\n\r\nconst TODAY = 'today';\r\nconst CURRENT_WEEK = 'currentWeek';\r\nconst LAST_WEEK = 'lastWeek';\r\nconst CURRENT_MONTH = 'currentMonth';\r\nconst LAST_MONTH = 'lastMonth';\r\nconst CUSTOM = 'custom';\r\nconst FORMAT = 'M/D/YYYY';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { serverTime, lotteryTimezoneDiff } = session;\r\n const { userClass, activityEvents } = dictionary;\r\n\r\n return {\r\n serverTime,\r\n lotteryTimezoneDiff,\r\n userClass,\r\n activityEvents,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchUserClassDictionary,\r\n fetchActivityEventsDictionary,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'Notifications')\r\nclass AdminReportsFilterController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.timePeriods = this.getTimePeriods();\r\n this.timePeriod = this.timePeriods[1].id;\r\n this.errors = {};\r\n this.showDateInputs = false;\r\n await this.fetchDictionaries();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async fetchDictionaries() {\r\n return Promise.all([this.fetchUserClassDictionary(), this.fetchActivityEventsDictionary()]);\r\n }\r\n\r\n getTimePeriods() {\r\n return [\r\n {\r\n id: TODAY,\r\n label: this.gettextCatalog.getString('Today'),\r\n },\r\n {\r\n id: CURRENT_WEEK,\r\n label: this.gettextCatalog.getString('This week'),\r\n },\r\n {\r\n id: LAST_WEEK,\r\n label: this.gettextCatalog.getString('Last week'),\r\n },\r\n {\r\n id: CURRENT_MONTH,\r\n label: this.gettextCatalog.getString('This month'),\r\n },\r\n {\r\n id: LAST_MONTH,\r\n label: this.gettextCatalog.getString('Last month'),\r\n },\r\n {\r\n id: CUSTOM,\r\n label: this.gettextCatalog.getString('Select dates'),\r\n },\r\n ];\r\n }\r\n\r\n handleTimePeriodChange() {\r\n this.showDateInputs = false;\r\n const lotteryTime = moment.unix(this.serverTime).utcOffset(this.lotteryTimezoneDiff);\r\n switch (this.timePeriod) {\r\n case TODAY:\r\n this.filters.fromDate = lotteryTime.clone().startOf('day').valueOf();\r\n this.filters.toDate = lotteryTime.clone().endOf('day').valueOf();\r\n break;\r\n case LAST_WEEK:\r\n this.filters.fromDate = lotteryTime.clone().subtract(7, 'd').startOf('week').valueOf();\r\n this.filters.toDate = lotteryTime.clone().subtract(7, 'd').endOf('week').valueOf();\r\n break;\r\n case CURRENT_MONTH:\r\n this.filters.fromDate = lotteryTime.clone().startOf('month').valueOf();\r\n this.filters.toDate = lotteryTime.clone().endOf('month').valueOf();\r\n break;\r\n case LAST_MONTH:\r\n this.filters.fromDate = lotteryTime.clone().subtract(1, 'M').startOf('month').valueOf();\r\n this.filters.toDate = lotteryTime.clone().subtract(1, 'M').endOf('month').valueOf();\r\n break;\r\n case CUSTOM:\r\n this.filters.fromDate = null;\r\n this.filters.toDate = null;\r\n this.showDateInputs = true;\r\n break;\r\n case CURRENT_WEEK:\r\n default:\r\n this.filters.fromDate = lotteryTime.clone().startOf('week').valueOf();\r\n this.filters.toDate = lotteryTime.clone().endOf('week').valueOf();\r\n break;\r\n }\r\n }\r\n\r\n $onChanges(changes) {\r\n if (changes.filters) {\r\n if (isEmpty(changes.filters.currentValue)) {\r\n this.timePeriod = null;\r\n this.fromDate = null;\r\n this.toDate = null;\r\n this.handleTimePeriodChange();\r\n } else if (\r\n get(changes, 'filters.previousValue.constructor.name') &&\r\n get(changes, 'filters.previousValue.constructor.name') !== 'UNINITIALIZED_VALUE'\r\n ) {\r\n this.timePeriod = this.timePeriods[1].id;\r\n this.fromDate = null;\r\n this.toDate = null;\r\n this.showDateInputs = false;\r\n }\r\n }\r\n }\r\n\r\n onFromDateChange(date) {\r\n this.validateDate(date, 'fromDate');\r\n this.filters.fromDate = moment.utc(date, FORMAT).startOf('day').valueOf();\r\n }\r\n\r\n onToDateChange(date) {\r\n this.validateDate(date, 'toDate');\r\n this.filters.toDate = moment.utc(date, FORMAT).endOf('day').valueOf();\r\n }\r\n\r\n validateDate(date, name) {\r\n const isValidDate = moment(date, FORMAT, true).isValid();\r\n if (isEmpty(date)) {\r\n this.errors[name] = false;\r\n return;\r\n }\r\n this.errors[name] = !isValidDate;\r\n this.displayError();\r\n }\r\n\r\n displayError() {\r\n if (this.errors.toDate) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Date to field - invalid date'));\r\n }\r\n if (this.errors.fromDate) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Date from field - invalid date'));\r\n }\r\n }\r\n}\r\n\r\nexport default class AdminReportsFilterComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AdminReportsFilterController;\r\n this.bindings = {\r\n filters: '<',\r\n eventTypes: '<',\r\n idPrefix: '@',\r\n reportStatuses: '<',\r\n error: '=',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-component.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchActivityEventsDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchActivityEventsDictionarySuccess = (activityEvents) => ({\r\n type: actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS,\r\n activityEvents,\r\n});\r\n\r\nexport const fetchActivityEventsDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchActivityEventsDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchActivityEventsDictionaryRequest());\r\n const activityEvents = await api.fetchActivityEventsDictionary(locale);\r\n dispatch(fetchActivityEventsDictionarySuccess(activityEvents));\r\n } catch (error) {\r\n console.error('ACTIVITY_EVENTS_DICTIONARY', error);\r\n dispatch(fetchActivityEventsDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/activity-events-dictionary.actions.js","module.exports = \"
    \\r\\n Time Period\\r\\n \\r\\n \\r\\n {{ timePeriod.label }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n User Class\\r\\n \\r\\n \\r\\n {{ class }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Event Type\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ event.label }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Event Result\\r\\n \\r\\n \\r\\n {{ status }}\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter.html\n// module id = 1447\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport template from './store-profiles.html';\r\n\r\n@Inject('$ngRedux', '$state')\r\nclass StoreProfilesController {\r\n onRetailerClick({ id }) {\r\n this.$state.go('dashboard-view-storeprofiles-summary', { retailerNo: id });\r\n }\r\n}\r\n\r\nclass StoreProfilesComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = StoreProfilesController;\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('store-profiles', ['dashboard'])\r\n .component('storeProfiles', new StoreProfilesComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('storeProfiles-view', {\r\n parent: 'arw',\r\n url: '/store-profiles',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Store Profiles')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/store-profiles/store-profiles-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/store-profiles/store-profiles.html\n// module id = 1449\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport { fetchOrderStatusesDictionary } from 'app/actions/dictionaries/order-statuses-dictionary.actions';\r\nimport { fetchPackStatusesDictionary } from 'app/actions/dictionaries/pack-statuses-dictionary.actions';\r\nimport { fetchPricePointsDictionary } from 'app/actions/dictionaries/price-points-dictionary.actions';\r\n\r\nimport './config/errorcodes.conf';\r\n\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport packDetailsModule from './components/pack-details/pack-details.module';\r\nimport orderDetailsModule from './components/order-details/order-details.module';\r\nimport detailsDialogModule from './components/details-dialog/details-dialog.module';\r\nimport inventoryHeaderModule from './components/inventory-header/inventory-header-module';\r\nimport orderMonthSelectorModule from './components/order-month-selector/order-month-selector-module';\r\nimport orderStatusSelectorModule from './components/order-status-selector/order-status-selector-module';\r\n\r\nimport inventoryTabsModule from './components/inventory-tabs/inventory-tabs-module';\r\nimport inventoryTransitionsHistoryChainTabModule from './components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.module';\r\nimport inventoryTransitionsHistoryIndependentTabModule from './components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.module';\r\nimport inventoryOrderHistoryIndependentTabModule from './components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-module';\r\nimport inventoryOrderHistoryChainTabModule from './components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-module';\r\nimport inventoryGamesTabModule from './components/inventory-games-tab/inventory-games-tab-module';\r\nimport inventoryPacksTabModule from './components/inventory-packs-tab/inventory-packs-tab-module';\r\nimport inventoryLiabilityTabModule from './components/inventory-liability-tab/inventory-liability-tab-module';\r\n\r\nimport ManageInventoryTableService from './manage-inventory-table-service';\r\n\r\nexport default angular\r\n .module('manage-inventory', [\r\n 'manage-inventory-errorcodes',\r\n packDetailsModule.name,\r\n orderDetailsModule.name,\r\n detailsDialogModule.name,\r\n inventoryTabsModule.name,\r\n inventoryHeaderModule.name,\r\n inventoryPacksTabModule.name,\r\n inventoryGamesTabModule.name,\r\n orderMonthSelectorModule.name,\r\n orderStatusSelectorModule.name,\r\n inventoryLiabilityTabModule.name,\r\n inventoryOrderHistoryChainTabModule.name,\r\n inventoryOrderHistoryIndependentTabModule.name,\r\n inventoryTransitionsHistoryChainTabModule.name,\r\n inventoryTransitionsHistoryIndependentTabModule.name,\r\n ])\r\n .service('manageInventoryTableService', ManageInventoryTableService)\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('manageInventory-listByType', {\r\n parent: 'arw',\r\n url: '/manage-inventory-list-by-type?tabId&retailerNo',\r\n reloadOnSearch: false,\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('View Inventory')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([\r\n $ngRedux.dispatch(fetchOrderStatusesDictionary()),\r\n $ngRedux.dispatch(fetchPackStatusesDictionary()),\r\n $ngRedux.dispatch(fetchPricePointsDictionary()),\r\n ]),\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/manage-inventory-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('manage-inventory-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n manageInventory: {\r\n PATTERN_DOES_NOT_MATCH: () => ({ title: gettextCatalog.getString('Number must match __ pattern') }),\r\n ENTITY_NOT_FOUND: () => ({ title: gettextCatalog.getString('Entity or Sub-Entity not found.') }),\r\n },\r\n manageInventoryResultCodes: {\r\n 1: gettextCatalog.getString('Transaction is not available for this product. Please check game number.'),\r\n 5: gettextCatalog.getString('Sorry, transaction failed. Please try again later.'),\r\n 6: gettextCatalog.getString('Sorry, transaction failed. Please try again later.'),\r\n 16: (params) => gettextCatalog.getString('According to our records, this is not a {{ pack }} in your inventory. Please check {{ pack }} number and try again.', { pack: params.terms.PACK.singularLowerCase }),\r\n 18: gettextCatalog.getString('Sorry, transition requires more inventory than is currently at this location.'),\r\n 20: gettextCatalog.getString('According to our records, this retailer location is not active. Please contact the Lottery.'),\r\n 32: gettextCatalog.getString('The number entered does not match our records. Please try again.'),\r\n 35: gettextCatalog.getString('There is no game in your inventory with that game number. Please check the number and try again.'),\r\n 40: gettextCatalog.getString('This game is currently not available for sale. Please contact the Lottery or your sales representative for more information.'),\r\n 44: gettextCatalog.getString('Transaction failed. Validations have been made to tickets in the range to be returned.'),\r\n 45: gettextCatalog.getString('Transaction failed. Validations have been made to tickets in the range to be returned.'),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/config/errorcodes.conf.js","import angular from 'angular';\r\n\r\nimport PackDetailsComponent from './pack-details.component';\r\nimport PackDetailsController from './pack-details.controller';\r\n\r\n\r\nexport default angular\r\n .module('pack-details', [])\r\n .controller('PackDetailsController', PackDetailsController)\r\n .component('packDetails', PackDetailsComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/pack-details/pack-details.module.js","import template from './pack-details.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'PackDetailsController',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/pack-details/pack-details.component.js","module.exports = \"
    \\r\\n Loading...\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n

    \\r\\n {{ pack }} No. {{ packNo }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Game Name\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.gameName }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Game No.\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.gameNumber }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Current Status\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.statusDesc }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Order No.\\r\\n
    \\r\\n \\r\\n {{ $ctrl.packDetails.orderNumber }}\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n {{ pack }} Value\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ issued }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.issuedUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ confirmed }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.confirmedUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ activated }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.activatedUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ settled }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.settledUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Ticket Range\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.beginTicket }} - {{ $ctrl.packDetails.endTicket }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/pack-details/pack-details.html\n// module id = 1454\n// module chunks = 0","const mapStateToThis = ({ manageInventory, dictionary, session, config }) => {\r\n const { userSelection, packDetails, packDetailsLoadingStatus: isLoading } = manageInventory;\r\n const { locale } = session;\r\n const { trackingUrl } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n userSelection,\r\n packDetails,\r\n isLoading,\r\n terms,\r\n trackingUrl,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state')\r\nclass PackDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default PackDetailsController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/pack-details/pack-details.controller.js","import angular from 'angular';\r\n\r\nimport OrderDetailsComponent from './order-details.component';\r\nimport OrderDetailsController from './order-details.controller';\r\n\r\nexport default angular\r\n .module('order-details', [])\r\n .controller('OrderDetailsController', OrderDetailsController)\r\n .component('orderDetails', OrderDetailsComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-details/order-details.module.js","import template from './order-details.html';\r\n\r\nexport default {\r\n controller: 'OrderDetailsController',\r\n template,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-details/order-details.component.js","module.exports = \"
    \\r\\n Loading...\\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n

    \\r\\n Order No. {{ $ctrl.orderDetails.orderNumber }}\\r\\n

    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n Order Contents\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Order No.\\r\\n
    {{ $ctrl.orderDetails.orderNumber}}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Tracking No.\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n {{ $ctrl.orderDetails.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n {{ $ctrl.orderDetails.prefixedTrackingNumber }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Manifest No.\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.manifestNumber }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ issued }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Order {{ issuedMethod }}\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.orderType }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ confirmed }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Total {{ pack }} Value\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ item.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.packNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Order Details\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Order No.\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.orderNumber}}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Tracking No.\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ issued }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Order {{ issuedMethod }}\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.orderType }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ confirmed }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Total {{ pack }} Value\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Order Contents\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    {{ $ctrl.headers[0].text }}
    \\r\\n
    {{ item.gameName }}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[1].text }}
    \\r\\n
    {{ item.gameNumber }}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[2].text }}
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[3].text }}
    \\r\\n
    {{ item.packNumber }}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[4].text }}
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/order-details/order-details.html\n// module id = 1458\n// module chunks = 0","const mapStateToThis = ({ manageInventory, session, config, dictionary }) => {\r\n const { locale } = session;\r\n const { trackingUrl, showManifestNumber } = config;\r\n const { userSelection, orderDetails, orderDetailsLoadingStatus: isLoading } = manageInventory;\r\n const { orderStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n userSelection,\r\n orderDetails,\r\n isLoading,\r\n trackingUrl,\r\n showManifestNumber,\r\n terms,\r\n orderStatuses,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog', '$ngRedux', '$state')\r\nclass OrderDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.getHeaders();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getHeaders() {\r\n this.headers = [\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n },\r\n ];\r\n }\r\n}\r\n\r\nexport default OrderDetailsController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-details/order-details.controller.js","import angular from 'angular';\r\n\r\nimport DetailsDialogComponent from './details-dialog.component';\r\nimport { DetailsDialogController } from './details-dialog.controller';\r\n\r\nexport default angular\r\n .module('details-dialog', [])\r\n .controller('DetailsDialogController', DetailsDialogController)\r\n .component('detailsDialog', DetailsDialogComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.module.js","import template from './details-dialog.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'DetailsDialogController',\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.html\n// module id = 1462\n// module chunks = 0","import print from 'print-js';\r\nimport moment from 'moment';\r\n\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { downloadManageInventoryDetailedReportByTab } from '../../actions/download-detailed-report-by-tab.actions';\r\nimport { resetDetailsDialogData } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchOrderDetails } from 'manage-inventory/actions/fetch-order-details.actions';\r\nimport { fetchPackDetails } from 'manage-inventory/actions/fetch-pack-details.actions';\r\n\r\nconst mapStateToThis = ({ ui, manageInventory, session, config, retailerDetails, dictionary }) => {\r\n const { detailsDialogActiveTab: activeTab } = ui;\r\n const { userSelection, orderDetails } = manageInventory;\r\n const { retailer, locale } = session;\r\n const { dateFormatPrintables } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n activeTab,\r\n userSelection,\r\n orderDetails,\r\n retailer,\r\n dateFormatPrintables,\r\n retailerDetails,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n downloadManageInventoryDetailedReportByTab,\r\n resetDetailsDialogData,\r\n fetchOrderDetails,\r\n fetchPackDetails,\r\n};\r\n\r\n@Inject('$ngRedux', '$state', 'gettextCatalog')\r\nexport class DetailsDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.setTextForTabs();\r\n this.initializeTab();\r\n await this.fetchData();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'detailsDialogActiveTab');\r\n this.resetDetailsDialogData();\r\n this.unsubscribe();\r\n }\r\n\r\n setActions() {\r\n this.actions = [\r\n {\r\n type: 'download',\r\n function: this.onReportDownload.bind(this),\r\n extension: 'xlsx',\r\n data: this.getReportDetails(),\r\n },\r\n {\r\n type: 'print',\r\n function: this.print.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n initializeTab() {\r\n if (this.resolve.hidePackDetails) return this.setActiveTab(this.tabs.order.id, 'detailsDialogActiveTab');\r\n this.setActiveTab(this.tabs.pack.id, 'detailsDialogActiveTab');\r\n this.shouldDisplayTabs();\r\n }\r\n\r\n async onTabChange(tabId) {\r\n this.setActiveTab(tabId, 'detailsDialogActiveTab');\r\n await this.fetchData();\r\n }\r\n\r\n async fetchData() {\r\n const params = {\r\n retailerId: this.$state.params.retailerNo,\r\n };\r\n if (this.activeTab === this.tabs.order.id) {\r\n await this.fetchOrderDetails(params);\r\n } else if (this.activeTab === this.tabs.pack.id) {\r\n await this.fetchPackDetails(params);\r\n }\r\n this.setActions();\r\n }\r\n\r\n shouldDisplayTabs() {\r\n this.displayTabs = !this.resolve.hidePackDetails && !this.resolve.hideOrderDetails;\r\n }\r\n\r\n onReportDownload() {\r\n const config = {\r\n ...this.userSelection,\r\n tabId: this.activeTab,\r\n };\r\n\r\n return this.downloadManageInventoryDetailedReportByTab(config);\r\n }\r\n\r\n getReportDetails() {\r\n const customFileName = this.generateCustomFileName();\r\n\r\n return {\r\n customFileName,\r\n extension: 'xlsx',\r\n };\r\n }\r\n\r\n generateCustomFileName() {\r\n const retailerNumber = this.userSelection.retailerNumber || this.retailer.retailerDisplayNumber || this.retailerDetails.displayNumber;\r\n let reportName = '';\r\n const { gameNumber, packNo } = this.userSelection;\r\n const { orderNumber } = this.orderDetails;\r\n const date = moment().format(this.dateFormatPrintables || 'YYYY_MM_DD');\r\n\r\n switch (this.activeTab) {\r\n case 'pack':\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n reportName = this.gettextCatalog.getString('{{ pack }}_Details', { pack: this.terms.PACK.singular });\r\n return `${retailerNumber}_${reportName}_${gameNumber}-${packNo}_${date}`;\r\n\r\n case 'order':\r\n reportName = 'Order_Details';\r\n return `${retailerNumber}_${reportName}_${orderNumber}_${date}`;\r\n\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n print() {\r\n print({\r\n printable: this.activeTab,\r\n type: 'html',\r\n });\r\n }\r\n\r\n setTextForTabs() {\r\n this.tabs = {\r\n order: {\r\n id: 'order',\r\n label: this.gettextCatalog.getString('Order'),\r\n },\r\n pack: {\r\n id: 'pack',\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n label: this.gettextCatalog.getString('{{ pack }}', { pack: this.terms.PACK.singular }),\r\n },\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.controller.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const downloadManageInventoryDetailedReportByTabRequest = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryDetailedReportByTabSuccess = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryDetailedReportByTabFailure = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryDetailedReportByTab = (config) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerIdFromStore = config.filters ? config.filters.retailerId : null;\r\n const retailerId = retailerIdFromStore || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(downloadManageInventoryDetailedReportByTabRequest(config.tabId));\r\n\r\n dispatch(downloadManageInventoryDetailedReportByTabSuccess(config.tabId));\r\n return api.downloadManageInventoryDetailedReportByTab(requestParams);\r\n } catch (error) {\r\n console.error('DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE', error);\r\n dispatch(downloadManageInventoryDetailedReportByTabFailure(config.tabId));\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/download-detailed-report-by-tab.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchOrderDetailsRequest = () => ({\r\n type: actionTypes.FETCH_ORDER_DETAILS_REQUEST,\r\n name: 'orderDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderDetailsSuccess = (orderDetails) => ({\r\n type: actionTypes.FETCH_ORDER_DETAILS_SUCCESS,\r\n orderDetails,\r\n name: 'orderDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderDetailsFailure = () => ({\r\n type: actionTypes.FETCH_ORDER_DETAILS_FAILURE,\r\n name: 'orderDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderDetails = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session, manageInventory } = getState();\r\n const { locale } = session;\r\n const { userSelection } = manageInventory;\r\n\r\n const retailerId = userSelection.retailerId || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n ...userSelection,\r\n retailerId,\r\n locale,\r\n };\r\n\r\n dispatch(fetchOrderDetailsRequest());\r\n\r\n const orderDetails = await api.fetchOrderDetails(requestParams);\r\n dispatch(fetchOrderDetailsSuccess(orderDetails));\r\n } catch (error) {\r\n console.error('FETCH_ORDER_DETAILS', error);\r\n dispatch(fetchOrderDetailsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-order-details.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPackDetailsRequest = () => ({\r\n type: actionTypes.FETCH_PACK_DETAILS_REQUEST,\r\n name: 'packDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchPackDetailsSuccess = (packDetails) => ({\r\n type: actionTypes.FETCH_PACK_DETAILS_SUCCESS,\r\n packDetails,\r\n name: 'packDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchPackDetailsFailure = () => ({\r\n type: actionTypes.FETCH_PACK_DETAILS_FAILURE,\r\n name: 'packDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchPackDetails = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session, manageInventory } = getState();\r\n const { locale } = session;\r\n const { userSelection } = manageInventory;\r\n\r\n const retailerId = userSelection.retailerId || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n ...userSelection,\r\n retailerId,\r\n locale,\r\n };\r\n\r\n dispatch(fetchPackDetailsRequest());\r\n\r\n const packDetails = await api.fetchPackDetails(requestParams);\r\n dispatch(fetchPackDetailsSuccess(packDetails[0]));\r\n } catch (error) {\r\n console.error('FETCH_PACK_DETAILS', error);\r\n dispatch(fetchPackDetailsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-pack-details.actions.js","import angular from 'angular';\r\n\r\nimport InventoryHeaderComponent from './inventory-header-component';\r\n\r\nexport default angular.module('inventory-header', []).component('inventoryHeader', new InventoryHeaderComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-header/inventory-header-module.js","import template from './inventory-header.html';\r\n\r\nclass InventoryHeaderController {\r\n backToSubordinatesList() {\r\n this.showSubordinates = !this.showSubordinates;\r\n this.retailer = {};\r\n }\r\n}\r\n\r\nexport default class InventoryHeaderComponent {\r\n constructor() {\r\n this.controller = InventoryHeaderController;\r\n this.template = template;\r\n this.bindings = {\r\n showSubordinates: '=',\r\n retailer: '=',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-header/inventory-header-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Back to retailer list\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Viewing data for \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-header/inventory-header.html\n// module id = 1469\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport OrderMonthSelectorComponent from './order-month-selector-component';\r\n\r\nexport default angular.module('order-month-selector', []).component('orderMonthSelector', new OrderMonthSelectorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-month-selector/order-month-selector-module.js","import moment from 'moment';\r\n\r\nimport template from './order-month-selector.html';\r\n\r\nconst mapStateToThis = ({ dictionary, session }) => {\r\n const { salesPeriodTimestamp } = session;\r\n const { orderStatuses } = dictionary;\r\n\r\n return {\r\n orderStatuses,\r\n salesPeriodTimestamp,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass OrderMonthSelectorController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.months = this.getMonthList();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getMonthList() {\r\n const months = [];\r\n const startDate = moment.unix(this.salesPeriodTimestamp);\r\n const endDate = startDate.clone().subtract(11, 'M');\r\n const current = endDate.clone();\r\n while (current.format('X') <= startDate.format('X')) {\r\n months.push({\r\n monthNumber: current.month() + 1,\r\n monthName: current.format('MMMM'),\r\n year: current.year(),\r\n });\r\n current.add(1, 'M');\r\n }\r\n\r\n return months;\r\n }\r\n}\r\n\r\nexport default class OrderMonthSelectorComponent {\r\n constructor() {\r\n this.controller = OrderMonthSelectorController;\r\n this.template = template;\r\n this.bindings = {\r\n month: '=',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-month-selector/order-month-selector-component.js","module.exports = \"
    \\r\\n \\r\\n Month\\r\\n \\r\\n \\r\\n \\r\\n {{ month.monthName }} {{ month.year }}\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/order-month-selector/order-month-selector.html\n// module id = 1472\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport OrderStatusSelectorComponent from './order-status-selector-component';\r\n\r\nexport default angular.module('order-status-selector', []).component('orderStatusSelector', new OrderStatusSelectorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-status-selector/order-status-selector-module.js","import template from './order-status-selector.html';\r\n\r\nconst mapStateToThis = ({ dictionary }) => {\r\n const { orderStatuses } = dictionary;\r\n\r\n return {\r\n orderStatuses,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass OrderStatusSelectorController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class OrderStatusSelectorComponent {\r\n constructor() {\r\n this.controller = OrderStatusSelectorController;\r\n this.template = template;\r\n this.bindings = {\r\n orderStatus: '=',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-status-selector/order-status-selector-component.js","module.exports = \"
    \\r\\n \\r\\n Order Status\\r\\n \\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/order-status-selector/order-status-selector.html\n// module id = 1475\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryTabsComponent from './inventory-tabs-component';\r\n\r\nexport default angular.module('inventory-tabs', []).component('inventoryTabs', new InventoryTabsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-module.js","import { getRetailerId, isChainHeadSelector, isRetailerDashboardSelector, isStoreProfileSelector, isSuperChainSelector } from 'selectors';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\n\r\nimport { fetchPricePointsDictionary } from 'app/actions/dictionaries/price-points-dictionary.actions';\r\nimport template from './inventory-tabs.html';\r\n\r\nconst tabs = {\r\n games: 'games',\r\n packs: 'packs',\r\n liability: 'liability',\r\n orderHistory: 'orderHistory',\r\n inventoryHistory: 'inventoryHistory',\r\n};\r\n\r\nconst mapStateToThis = ({ session, ui, retailerDashboards, dictionary }) => {\r\n const { activeTab } = ui;\r\n const { locale, retailer } = session;\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const retailerIdFromSession = getRetailerId({ session });\r\n const isRetailerDashboard = isRetailerDashboardSelector({ retailerDashboards });\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isChainHeadOrSuperChain = isChainHead || isSuperChain;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n retailerIdFromSession,\r\n isStoreProfile,\r\n isRetailerDashboard,\r\n isChainHeadOrSuperChain,\r\n tabs,\r\n activeTab,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n checkAccess,\r\n fetchPricePointsDictionary,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject(\r\n '$ngRedux',\r\n '$rootScope',\r\n '$state',\r\n '$stateParams',\r\n '$location',\r\n '$sanitize',\r\n 'Notifications',\r\n 'AlertService',\r\n 'gettextCatalog',\r\n '$sce'\r\n)\r\nclass InventoryTabsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = parseInt(this.$state.params.retailerNo, 10) || this.retailerIdFromSession;\r\n this.canViewLiabilityTab = this.checkAccess('dashboard.widget.currentInstantGameLiability');\r\n\r\n this.initTab = this.getInitTab();\r\n\r\n this.onTabSelect(this.initTab);\r\n\r\n await this.fetchPricePointsDictionary();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n getInitTab() {\r\n if (this.$stateParams.tabId) return this.$stateParams.tabId;\r\n\r\n if (this.isChainHeadOrSuperChain) return this.tabs.orderHistory;\r\n\r\n return this.tabs.games;\r\n }\r\n\r\n onTabSelect(tabId) {\r\n this.setActiveTab(tabId, 'activeTab');\r\n\r\n // eslint-disable-next-line default-case\r\n switch (tabId) {\r\n case 'games':\r\n this.$rootScope.title = this.gettextCatalog.getString('Games');\r\n break;\r\n case 'packs':\r\n this.$rootScope.title = this.gettextCatalog.getString('{{ pack }}', { pack: this.terms.PACK.plural });\r\n break;\r\n case 'liability':\r\n this.$rootScope.title = this.gettextCatalog.getString('Liability');\r\n break;\r\n case 'orderHistory':\r\n this.$rootScope.title = this.gettextCatalog.getString('Orders');\r\n break;\r\n case 'inventoryHistory':\r\n this.$rootScope.title = this.gettextCatalog.getString('History');\r\n break;\r\n }\r\n }\r\n}\r\n\r\nexport default class InventoryTabsComponent {\r\n constructor() {\r\n this.controller = InventoryTabsController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs.html\n// module id = 1478\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryTransitionsHistoryChainTab from './inventory-transitions-history-chain-tab.component';\r\n\r\nexport default angular\r\n .module('inventory-transitions-history-chain-tab', [])\r\n .component('inventoryTransitionsHistoryChainTab', new InventoryTransitionsHistoryChainTab());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.module.js","import print from 'print-js';\r\nimport moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchInstantGamesTransitionsHistory } from 'manage-inventory/actions/fetch-instant-games-transitions-history.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\n\r\nimport template from './inventory-transitions-history-chain-tab.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary, manageInventory, ui, config }) => {\r\n const { serverTime, locale } = session;\r\n const { instantGamesTransitionsHistory, isLoading } = manageInventory;\r\n const { pagination, activeTab } = ui;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes, dateFormatPrintables, directionKey } = config;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n serverTime,\r\n locale,\r\n packStatuses,\r\n isLoading,\r\n instantGamesTransitionsHistory,\r\n pagination,\r\n pageSizeKey,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n dateFormatPrintables,\r\n directionKey,\r\n activeTab,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchInstantGamesTransitionsHistory,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog', 'tableService', 'Notifications')\r\nclass InventoryTransitionsHistoryChainTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.showSubordinates = true;\r\n this.tableConfig = this.tableService.initConfig({ configName: 'inventoryHistoryChain' });\r\n this.actions = this.getActions();\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.minDatePicker = moment.unix(this.serverTime).subtract(2, 'years').startOf('year').format(this.dateFormatPrintables);\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'status',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchInstantGamesTransitionsHistory, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.gamesFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { subordinateId: this.selectedRetailer.id };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n onPackSelection(pack) {\r\n const { retailerId } = this.gridModel.pagingModel.filters;\r\n const retailerNumber = this.selectedRetailer.displayNumber;\r\n this.onItemListSelection({ ...pack, retailerId, retailerNumber });\r\n const hideOrderDetails = pack.orderId === null;\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hideOrderDetails,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-transitions-history-chain-tab',\r\n type: 'html',\r\n });\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packGrossValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Current Status'),\r\n field: 'status',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ issued }}', { issued: this.terms.ISSUED.singular }),\r\n field: 'issuedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('{{ issuedMethod }}', { issuedMethod: this.terms.ISSUED_METHOD.singular }),\r\n field: 'orderType',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ confirmed }}', { confirmed: this.terms.CONFIRMED.singular }),\r\n field: 'confirmedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ activated }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ activated }}', { activated: this.terms.ACTIVATED.singular }),\r\n field: 'activatedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ settled }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ settled }}', { settled: this.terms.SETTLED.singular }),\r\n field: 'settledDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onRetailerClick(retailer) {\r\n this.selectedRetailer = retailer;\r\n this.showSubordinates = false;\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n subordinateId: retailer.id,\r\n };\r\n\r\n this.search();\r\n }\r\n}\r\n\r\nexport default class InventoryTransitionsHistoryChainTabComponent {\r\n constructor() {\r\n this.controller = InventoryTransitionsHistoryChainTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ $ctrl.tableService.getHeaderTextForField($ctrl.headers, 'status') }}\\r\\n \\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n Viewing history for\\r\\n \\r\\n Retailer No\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Return to retailer list\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ order.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.status }}\\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.html\n// module id = 1481\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryTransitionsHistoryIndependentTabComponent from './inventory-transitions-history-independent-tab.component';\r\n\r\nexport default angular\r\n .module('inventory-transitions-history-independent-tab', [])\r\n .component('inventoryTransitionsHistoryIndependentTab', new InventoryTransitionsHistoryIndependentTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.module.js","import print from 'print-js';\r\nimport moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchInstantGamesTransitionsHistory } from 'manage-inventory/actions/fetch-instant-games-transitions-history.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\n\r\nimport template from './inventory-transitions-history-independent-tab.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary, manageInventory, ui, config }) => {\r\n const { serverTime, locale } = session;\r\n const { instantGamesTransitionsHistory, isLoading } = manageInventory;\r\n const { pagination, activeTab } = ui;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes, dateFormatPrintables, directionKey } = config;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n serverTime,\r\n locale,\r\n packStatuses,\r\n isLoading,\r\n instantGamesTransitionsHistory,\r\n pagination,\r\n pageSizeKey,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n dateFormatPrintables,\r\n directionKey,\r\n activeTab,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchInstantGamesTransitionsHistory,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog', 'tableService', 'Notifications')\r\nclass InventoryTransitionsHistoryIndependentTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.tableConfig = this.tableService.initConfig({ configName: 'inventoryHistoryIndependent' });\r\n this.actions = this.getActions();\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.minDatePicker = moment.unix(this.serverTime).subtract(2, 'years').startOf('year').format(this.dateFormatPrintables);\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'status',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchInstantGamesTransitionsHistory, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.gamesFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n onPackSelection(pack) {\r\n this.onItemListSelection(pack);\r\n const hideOrderDetails = pack.orderId === null;\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hideOrderDetails,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-transitions-history-independent-tab',\r\n type: 'html',\r\n });\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packGrossValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Current Status'),\r\n field: 'status',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ issued }}', { issued: this.terms.ISSUED.singular }),\r\n field: 'issuedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('{{ issuedMethod }}', { issuedMethod: this.terms.ISSUED_METHOD.singular }),\r\n field: 'orderType',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ confirmed }}', { confirmed: this.terms.CONFIRMED.singular }),\r\n field: 'confirmedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ activated }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ activated }}', { activated: this.terms.ACTIVATED.singular }),\r\n field: 'activatedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ settled }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ settled }}', { settled: this.terms.SETTLED.singular }),\r\n field: 'settledDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n}\r\n\r\nexport default class InventoryTransitionsHistoryIndependentTabComponent {\r\n constructor() {\r\n this.controller = InventoryTransitionsHistoryIndependentTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n Invalid characters, only numbers are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Invalid date.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Invalid date.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ item.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.status }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.orderType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ item.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n {{ item.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ item.packNo }}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ item.status }}\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ item.orderType }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.html\n// module id = 1484\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryOrderHistoryIndependentTabComponent from './inventory-order-history-independet-tab-component';\r\n\r\nexport default angular\r\n .module('inventory-order-history-independent-tab', [])\r\n .component('inventoryOrderHistoryIndependentTab', new InventoryOrderHistoryIndependentTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-module.js","import print from 'print-js';\r\nimport moment from 'moment';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport { fetchOrderHistoryList } from 'manage-inventory/actions/fetch-order-history-list.actions';\r\n\r\nimport template from './inventory-order-history-independet-tab.html';\r\n\r\nconst mapStateToThis = ({ dictionary, session, ui, config, manageInventory }) => {\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey, defaultPageNo, trackingUrl } = config;\r\n const { orderHistoryLoadingStatus, orderHistory } = manageInventory;\r\n const { locale, salesPeriodTimestamp } = session;\r\n const { activeTab, pagination } = ui;\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n locale,\r\n activeTab,\r\n pagination,\r\n pageSizeKey,\r\n trackingUrl,\r\n orderHistory,\r\n directionKey,\r\n defaultPageNo,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n salesPeriodTimestamp,\r\n orderHistoryLoadingStatus,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchOrderHistoryList,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'tableService', 'manageInventoryTableService', '$stateParams')\r\nclass InventoryOrderHistoryIndependentTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.monthNumber = moment.unix(this.salesPeriodTimestamp).month() + 1;\r\n\r\n this.tableConfig = this.tableService.initConfig({ configName: 'orderHistoryIndependent' });\r\n this.headers = this.tableConfig.getHeaders(this.manageInventoryTableService.getHeaders());\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'orderIssuedDate',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchOrderHistoryList, this.defaultParams);\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n refresh: true,\r\n monthNumber: this.monthNumber,\r\n locale: this.locale,\r\n };\r\n\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { monthNumber: this.monthNumber };\r\n this.search();\r\n }\r\n\r\n orderDetails(order) {\r\n const { retailerId } = this.gridModel.pagingModel.filters;\r\n const retailerNumber = this.selectedRetailerId;\r\n this.onItemListSelection({ ...order, retailerId, retailerNumber });\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hidePackDetails: true,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n tabId: this.activeTab,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(params);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-order-history-independet-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryOrderHistoryIndependentTabComponent {\r\n constructor() {\r\n this.controller = InventoryOrderHistoryIndependentTabController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n\\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab.html\n// module id = 1487\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryOrderHistoryChainTabComponent from './inventory-order-history-chain-tab-component';\r\n\r\nexport default angular\r\n .module('inventory-order-history-chain-tab', [])\r\n .component('inventoryOrderHistoryChainTab', new InventoryOrderHistoryChainTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-module.js","import moment from 'moment';\r\nimport print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport { fetchOrderHistoryList } from 'manage-inventory/actions/fetch-order-history-list.actions';\r\n\r\nimport template from './inventory-order-history-chain-tab.html';\r\n\r\nconst mapStateToThis = ({ dictionary, session, ui, config, manageInventory }) => {\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey, defaultPageNo, trackingUrl } = config;\r\n const { orderHistoryLoadingStatus, orderHistory } = manageInventory;\r\n const { salesPeriodTimestamp, locale } = session;\r\n const { activeTab, pagination } = ui;\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n locale,\r\n activeTab,\r\n pagination,\r\n pageSizeKey,\r\n trackingUrl,\r\n orderHistory,\r\n directionKey,\r\n defaultPageNo,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n salesPeriodTimestamp,\r\n orderHistoryLoadingStatus,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchOrderHistoryList,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'tableService', 'manageInventoryTableService', '$stateParams')\r\nclass InventoryOrderHistoryChainTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.showSubordinates = true;\r\n this.monthNumber = moment.unix(this.salesPeriodTimestamp).month() + 1;\r\n\r\n this.actions = this.getActions();\r\n\r\n this.tableConfig = this.tableService.initConfig({ configName: 'orderHistoryChain' });\r\n this.headers = this.tableConfig.getHeaders(this.manageInventoryTableService.getHeaders());\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'orderIssuedDate',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchOrderHistoryList, this.defaultParams);\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n refresh: true,\r\n monthNumber: this.monthNumber,\r\n locale: this.locale,\r\n };\r\n\r\n this.preserveFilters();\r\n\r\n if (!this.showSubordinates) {\r\n this.search();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { monthNumber: this.monthNumber, subordinateId: this.selectedRetailer.id };\r\n this.search();\r\n }\r\n\r\n orderDetails(order) {\r\n const { retailerId } = this.gridModel.pagingModel.filters;\r\n const retailerNumber = this.selectedRetailer.displayNumber;\r\n this.onItemListSelection({ ...order, retailerId, retailerNumber });\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hidePackDetails: true,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n tabId: this.activeTab,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(params);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-order-history-chain-tab',\r\n type: 'html',\r\n });\r\n }\r\n\r\n onRetailerClick(retailer) {\r\n this.selectedRetailer = retailer;\r\n this.showSubordinates = false;\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n subordinateId: retailer.id,\r\n };\r\n\r\n this.search();\r\n }\r\n}\r\n\r\nexport default class InventoryOrderHistoryChainTabComponent {\r\n constructor() {\r\n this.controller = InventoryOrderHistoryChainTabController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Viewing orders for\\r\\n \\r\\n Retailer No\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Return to retailer list\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.storeNum }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ order.storeNum }}\\r\\n \\r\\n\\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n\\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab.html\n// module id = 1490\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryGamesTabComponent from './inventory-games-tab-component';\r\n\r\nexport default angular.module('inventory-games-tab', []).component('inventoryGamesTab', new InventoryGamesTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-module.js","import print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport template from './inventory-games-tab.html';\r\n\r\nimport { fetchGamesList } from '../../actions/fetch-games-list.actions';\r\n\r\nconst mapStateToThis = ({ manageInventory, config, ui, dictionary, session }) => {\r\n const { games, isLoading } = manageInventory;\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey } = config;\r\n const { pagination, activeTab } = ui;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n games,\r\n terms,\r\n isLoading,\r\n activeTab,\r\n pagination,\r\n pageSizeKey,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchGamesList,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog')\r\nclass InventoryGamesTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'gameName',\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n this.gridModel = initGrid(this.fetchGamesList, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.gamesFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack, {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ pack }} {{ issued }}', {\r\n pack: this.terms.PACK.singular,\r\n issued: this.terms.ISSUED.singular,\r\n }),\r\n field: 'issuedCnt',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack, {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ pack }} {{ confirmed }}', {\r\n pack: this.terms.PACK.singular,\r\n confirmed: this.terms.CONFIRMED.singular,\r\n }),\r\n field: 'confirmedCnt',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} on Display', { pack: this.terms.PACK.singular }),\r\n field: 'onDisplayCnt',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-games-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryGamesTabComponent {\r\n constructor() {\r\n this.controller = InventoryGamesTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ game.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ game.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ game.issuedCnt }}\\r\\n \\r\\n \\r\\n \\r\\n {{ game.confirmedCnt }}\\r\\n \\r\\n \\r\\n \\r\\n {{ game.onDisplayCnt }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n {{ game.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n {{ game.issuedCnt }}\\r\\n \\r\\n\\r\\n \\r\\n {{ game.confirmedCnt }}\\r\\n \\r\\n\\r\\n \\r\\n {{ game.onDisplayCnt }}\\r\\n \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab.html\n// module id = 1493\n// module chunks = 0","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchGamesListRequest = () => ({\r\n type: actionTypes.FETCH_GAMES_LIST_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchGamesListSuccess = (games, pagination) => ({\r\n type: actionTypes.FETCH_GAMES_LIST_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n games,\r\n pagination,\r\n});\r\n\r\nexport const fetchGamesListFailure = () => ({\r\n type: actionTypes.FETCH_GAMES_LIST_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchGamesList = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchGamesListRequest());\r\n\r\n const { content, ...pagination } = await api.fetchGamesList(requestParams);\r\n dispatch(fetchGamesListSuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_GAMES_LIST', error);\r\n dispatch(fetchGamesListFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-games-list.actions.js","import angular from 'angular';\r\n\r\nimport InventoryPacksTabComponent from './inventory-packs-tab-component';\r\n\r\nexport default angular.module('inventory-packs-tab', []).component('inventoryPacksTab', new InventoryPacksTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-module.js","import print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchPacksList } from '../../actions/fetch-packs-list.actions';\r\nimport { fetchPacksGrossValue } from '../../actions/fetch-pack-list-gross-value.actions';\r\n\r\nimport template from './inventory-packs-tab.html';\r\n\r\nconst mapStateToThis = ({ dictionary, manageInventory, ui, config, session }) => {\r\n const { pricePoints, packStatuses } = dictionary;\r\n const { packs, isLoading, packGrossValue } = manageInventory;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes } = config;\r\n const { pagination, activeTab } = ui;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n packs,\r\n terms,\r\n isLoading,\r\n activeTab,\r\n pagination,\r\n pricePoints,\r\n pageSizeKey,\r\n packStatuses,\r\n sortColumnKey,\r\n packGrossValue,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchPacksList,\r\n fetchPacksGrossValue,\r\n onItemListSelection,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog', 'Notifications')\r\nclass InventoryPacksTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.headers = this.getHeaders();\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n this.noDataText = this.gettextCatalog.getString('{{ pack }} not found.', { pack: this.terms.PACK.singular });\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'gameName',\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n this.gridModel = initGrid(this.fetchPacksList, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Est. % Sold'),\r\n field: 'soldOutPercent',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Status'),\r\n field: 'status',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Days in Status'),\r\n field: 'daysInStatus',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('Order {{ issuedMethod }}', { issuedMethod: this.terms.ISSUED_METHOD.singular }),\r\n field: 'displayIssuedMethod',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.packFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n this.fetchPacksGrossValue(this.preservedFilters);\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters, retailerId: this.$stateParams.retailerNo };\r\n }\r\n\r\n searchByPack(packId) {\r\n const pieces = packId.split('_');\r\n const pack = {\r\n gameNumber: pieces[0],\r\n packNo: pieces[1],\r\n portionNumber: pieces[2] || 1,\r\n };\r\n this.packDetails(pack);\r\n }\r\n\r\n packDetails(pack) {\r\n this.onItemListSelection(pack);\r\n const hideOrderDetails = pack.orderId === null;\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hideOrderDetails,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-packs-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryPacksTabComponent {\r\n constructor() {\r\n this.controller = InventoryPacksTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-component.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPacksListRequest = () => ({\r\n type: actionTypes.FETCH_PACKS_LIST_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksListSuccess = (packs, pagination) => ({\r\n type: actionTypes.FETCH_PACKS_LIST_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n packs,\r\n pagination,\r\n});\r\n\r\nexport const fetchPacksListFailure = () => ({\r\n type: actionTypes.FETCH_PACKS_LIST_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksList = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchPacksListRequest());\r\n\r\n const { content: packs, ...pagination } = await api.fetchPacksList(requestParams);\r\n dispatch(fetchPacksListSuccess(packs, pagination));\r\n } catch (error) {\r\n console.error('FETCH_PACKS_LIST', error);\r\n dispatch(fetchPacksListFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-packs-list.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPacksGrossValueListRequest = () => ({\r\n type: actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksGrossValueListSuccess = (packsGrossValue) => ({\r\n type: actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n packsGrossValue\r\n});\r\n\r\nexport const fetchPacksGrossValueListFailure = () => ({\r\n type: actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksGrossValue = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchPacksGrossValueListRequest());\r\n\r\n const grossValue = await api.fetchPacksGrossValue(requestParams);\r\n\r\n dispatch(fetchPacksGrossValueListSuccess(grossValue));\r\n } catch (error) {\r\n console.error('FETCH_PACKS_GROSS_VALUE_LIST', error);\r\n dispatch(fetchPacksGrossValueListFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-pack-list-gross-value.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Pack Value\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n --\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Price Point\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ pack }} Status\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Pack Value\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.status | translate}}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.daysInStatus }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.gamePackOrderType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ pack.gameName }}\\r\\n
    \\r\\n\\r\\n
    \\r\\n {{ $ctrl.headers[2].text }}\\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n {{ pack.status }} - {{ pack.daysInStatus }}\\r\\n {{pack.daysInStatus > 1 ? 'days ago' : 'day ago'}}\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n\\r\\n \\r\\n {{ pack.gamePackOrderType }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab.html\n// module id = 1499\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryLiabilityTabComponent from './inventory-liability-tab-component';\r\n\r\nexport default angular.module('inventory-liability-tab', []).component('inventoryLiabilityTab', new InventoryLiabilityTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-module.js","import print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport api from 'dashboard/resources/current-liability.api.ts';\r\n\r\nimport { fetchLiabilities } from 'manage-inventory/actions/fetch-liabilities.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\n\r\nimport template from './inventory-liability-tab.html';\r\n\r\nconst mapStateToThis = ({ manageInventory, ui, config, dictionary, session }) => {\r\n const { pagination, activeTab } = ui;\r\n const { isLoading, liabilities } = manageInventory;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes } = config;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n activeTab,\r\n isLoading,\r\n pagination,\r\n pageSizeKey,\r\n liabilities,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchLiabilities,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog')\r\nclass InventoryLiabilityTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'gameName',\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n this.gridModel = initGrid(this.fetchLiabilities, this.defaultParams);\r\n this.search();\r\n\r\n api.fetchCurrentLiability(this.$stateParams.retailerNo).then((value) => {\r\n this.outstandingAmount = value;\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n clearFilters() {\r\n this.filters = {};\r\n this.applyFilters();\r\n }\r\n\r\n search() {\r\n if (this.liabilityFilters && this.liabilityFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Current Status'),\r\n field: 'currentStatus',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Est. % Sold'),\r\n field: 'soldOutPercent',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Days in Status'),\r\n field: 'daysInStatus',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-liability-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryLiabilityTabComponent {\r\n constructor() {\r\n this.controller = InventoryLiabilityTabController;\r\n this.template = template;\r\n this.bindings = {\r\n // TO-DO: Load current liability\r\n loadCurrentLiability: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-component.js","import DepsService from 'services/dependencies.js';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchCurrentLiability = (retailerId: number): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.myCurrentLiability;\r\n const urlParams = { retailerId };\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchCurrentLiability,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/current-liability.api.ts","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchLiabilitiesRequest = () => ({\r\n type: actionTypes.FETCH_LIABILITIES_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchLiabilitiesSuccess = (liabilities, pagination) => ({\r\n type: actionTypes.FETCH_LIABILITIES_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n pagination,\r\n liabilities,\r\n});\r\n\r\nexport const fetchLiabilitiesFailure = () => ({\r\n type: actionTypes.FETCH_LIABILITIES_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchLiabilities = (config = {}) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n locale,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchLiabilitiesRequest());\r\n\r\n const { content: liabilities, ...pagination } = await api.fetchLiabilities(requestParams);\r\n dispatch(fetchLiabilitiesSuccess(liabilities, pagination));\r\n } catch (error) {\r\n console.error('FETCH_LIABILITIES', error);\r\n dispatch(fetchLiabilitiesFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-liabilities.actions.js","module.exports = \"\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n {{ instant }} Game Liability\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n The outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ instant }} Game Liability\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n The outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.currentStatus }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.daysInStatus }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ pack.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ pack.currentStatus }}\\r\\n \\r\\n\\r\\n \\r\\n {{ pack.daysInStatus }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab.html\n// module id = 1504\n// module chunks = 0","import { isChainHeadSelector, isChainSubordinateSelector, isIndependentSelector } from 'selectors';\r\nimport _ from 'lodash';\r\n\r\nconst mapStateToThis = ({ dictionary, session }) => {\r\n const { locale } = session;\r\n const isIndependent = isIndependentSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isChainSubordinate = isChainSubordinateSelector({ session });\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n isIndependent,\r\n isChainHead,\r\n isChainSubordinate,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog', '$ngRedux')\r\nclass ManageInventoryTableService {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.definitions = {\r\n ORDER_NO: {\r\n text: this.gettextCatalog.getString('Order No.'),\r\n field: 'orderNumber',\r\n sortable: true,\r\n },\r\n ORDER_STATUS: {\r\n text: this.gettextCatalog.getString('Order Status'),\r\n field: 'statusDesc',\r\n sortable: true,\r\n },\r\n ORDER_ISSUED_DATE: {\r\n /// {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ issued }}', { issued: this.terms.ISSUED.singular }),\r\n field: 'orderIssuedDate',\r\n sortable: true,\r\n },\r\n ORDER_CONFIRMED_DATE: {\r\n /// {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ confirmed }}', { confirmed: this.terms.CONFIRMED.singular }),\r\n field: 'orderConfirmedDate',\r\n sortable: true,\r\n },\r\n ORDER_TYPE: {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('{{ issuedMethod }}', { issuedMethod: _.get(this.terms, ['ISSUED_METHOD', 'singular']) }),\r\n field: 'orderType',\r\n sortable: true,\r\n },\r\n ORDER_GROSS_VALUE: {\r\n text: this.gettextCatalog.getString('Total Packs Value'),\r\n field: 'detailGrossValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n TRACKING_NO: {\r\n text: this.gettextCatalog.getString('Tracking No.'),\r\n field: 'prefixedTrackingNumber',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n STORE_NO: {\r\n text: this.gettextCatalog.getString('Store No.'),\r\n field: 'storeNum',\r\n sortable: false,\r\n },\r\n RETAILER_NO: {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerId',\r\n sortable: false,\r\n },\r\n };\r\n }\r\n\r\n getHeaders() {\r\n const {\r\n ORDER_NO,\r\n ORDER_STATUS,\r\n ORDER_ISSUED_DATE,\r\n ORDER_CONFIRMED_DATE,\r\n ORDER_TYPE,\r\n ORDER_GROSS_VALUE,\r\n TRACKING_NO,\r\n STORE_NO,\r\n RETAILER_NO,\r\n } = this.definitions;\r\n\r\n if (this.isIndependent || this.isChainSubordinate) {\r\n return [ORDER_NO, ORDER_STATUS, ORDER_ISSUED_DATE, ORDER_CONFIRMED_DATE, ORDER_TYPE, TRACKING_NO, ORDER_GROSS_VALUE];\r\n }\r\n\r\n if (this.isChainHead) {\r\n return [\r\n STORE_NO,\r\n RETAILER_NO,\r\n ORDER_NO,\r\n ORDER_STATUS,\r\n ORDER_ISSUED_DATE,\r\n ORDER_CONFIRMED_DATE,\r\n ORDER_TYPE,\r\n TRACKING_NO,\r\n ORDER_GROSS_VALUE,\r\n ];\r\n }\r\n\r\n console.error(`MANAGE INVENTORY TABLE SERVICE: table definition does not exist for given retailer type`);\r\n return [];\r\n }\r\n}\r\n\r\nexport default ManageInventoryTableService;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/manage-inventory-table-service.js","import 'ng-sortable';\r\nimport 'tooltips';\r\nimport angular from 'angular';\r\nimport rwDashboardErrorCodeModule from './config/errorcode.conf';\r\nimport rwDashboardRoutingModule from './rw-dashboard-routing-module';\r\nimport rwDashboardWidgetModule from './components/dashboard-widget/dashboard-widget-module';\r\nimport retailerFilterModule from './components/retailer-filter/retailer-filter-module';\r\nimport RwDashboardsComponent from './components/rw-dashboards-component';\r\nimport RwDashboardComponent from './components/rw-dashboard/rw-dashboard-component';\r\nimport RwRenderWidgetsComponent from './components/rw-render-widgets/rw-render-widgets-component';\r\nimport RwRemoveWidgetComponent from './components/rw-remove-widget/rw-remove-widget-component';\r\nimport RwMoveWidgetComponent from './components/rw-move-widget/rw-move-widget-component';\r\nimport RwRenderWidgetDirective from './components/rw-render-widget/rw-render-widget-directive';\r\n\r\nexport default angular\r\n .module('dashboard', [\r\n rwDashboardErrorCodeModule.name,\r\n rwDashboardRoutingModule.name,\r\n rwDashboardWidgetModule.name,\r\n retailerFilterModule.name,\r\n 'as.sortable',\r\n '720kb.tooltips',\r\n ])\r\n .component('rwDashboards', new RwDashboardsComponent())\r\n .component('rwDashboard', new RwDashboardComponent())\r\n .component('rwRenderWidgets', new RwRenderWidgetsComponent())\r\n .component('rwRemoveWidget', new RwRemoveWidgetComponent())\r\n .component('rwMoveWidget', new RwMoveWidgetComponent())\r\n .directive('rwRenderWidget', RwRenderWidgetDirective);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/dashboard-module.js","import angular from 'angular';\r\nimport merge from 'lodash/merge';\r\n\r\nexport default angular.module('dashboard-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = merge(appFactory.deps.config.errorCodes, {\r\n dashboard: {\r\n REPORT_NOT_FOUND: () => ({ title: gettextCatalog.getString('Report not found.') }),\r\n REPORT_GENERATION_FAILED: () => ({ title: gettextCatalog.getString('Report generation failed.') }),\r\n REPORT_NOT_AVAILABLE: () => ({ title: gettextCatalog.getString('Report not yet available.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/config/errorcode.conf.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('rw-dashboard-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('dashboard-summary', {\r\n parent: 'arw',\r\n url: '/dashboard-summary/:retailerNo',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Summary Dashboard')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('dashboard-instant', {\r\n parent: 'arw',\r\n url: '/dashboard-instant/:retailerNo',\r\n template: '',\r\n redirectTo: 'dashboard-summary',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Instants Dashboard')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('dashboard-view-storeprofiles-summary', {\r\n parent: 'arw',\r\n url: '/dashboard-store-profile/:retailerNo',\r\n template: '',\r\n redirectTo: 'dashboard-instant',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Store Profile')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/rw-dashboard-routing-module.js","import angular from 'angular';\r\nimport topVltGamesWidgetModule from './top-vlt-games/top-vlt-games-widget-module';\r\nimport financialStatusWidgetModule from './financial-status/financial-status-widget-module';\r\nimport siteOperationalStatusWidgetModule from './site-operational-status/site-operational-status-widget-module';\r\nimport ticketsWidgetModule from './tickets/tickets-widget-module';\r\nimport configurableLinkWidgetModule from './configurable-link/configurable-link-widget-module';\r\nimport earningsWidgetModule from './earnings/earnings-widget-module';\r\nimport eftAmountWidgetModule from './eft-amount/eft-amount-widget-module';\r\nimport jackpotsNextDrawsWidgetModule from './jackpots-next-draws/jackpots-next-draws-widget-module';\r\nimport netSalesWidgetModule from './net-sales/net-sales-widget-module';\r\nimport bigWinnersWidgetModule from './big-winners/big-winners-widget-module';\r\nimport cumulativeWinnersWidgetModule from './cumulative-winners/cumulative-winners-widget-module';\r\nimport currentInstantGameLiabilityWidgetModule from './current-instant-game-liability/current-instant-game-liability-widget-module';\r\nimport actualAndProjectedSettlementsWidgetModule from './actual-and-projected-settlements/actual-and-projected-settlements-widget-module';\r\nimport newGamesWidgetModule from './new-games/new-games-widget-module';\r\nimport mySlowMovingGamesWidgetModule from './my-slow-moving-games/my-slow-moving-games-widget-module';\r\nimport myPricePointMixWidgetModule from './my-price-point-mix/my-price-point-mix-widget-module';\r\nimport myNetSalesPerformanceWidgetModule from './my-net-sales-performance/my-net-sales-performance-widget-module.ts';\r\nimport viewFullGameInventoryWidgetModule from './view-full-game-inventory/view-full-game-inventory-widget-module';\r\nimport topSellingGamesWidgetModule from './top-selling-games/top-selling-games-widget-module';\r\nimport messagesWidgetModule from './messages/messages-widget-module';\r\nimport lotteryRepresentativesWidgetModule from './lottery-representatives/lottery-representatives-widget-module';\r\nimport selfServiceOutOfStockWidgetModule from './self-service-out-of-stock/self-service-out-of-stock-widget-module';\r\nimport licenseRenewalWidgetModule from './license-renewal/license-renewal-widget-module';\r\nimport bondRenewalWidgetModule from './bond-renewal/bond-renewal-widget-module';\r\nimport sellingTerminalsModule from './selling-terminals/selling-terminals-widget-module';\r\nimport chainSalesRankWidgetModule from './chain-sales-rank/chain-sales-rank-widget-module';\r\nimport storeSalesRankWidgetModule from './store-sales-rank/store-sales-rank-widget-module';\r\nimport endOfGameWidgetModule from './end-of-game/end-of-game-widget-module';\r\nimport lvmSalesWidgetModule from './lvm-sales/lvm-sales-module';\r\nimport alertsWidgetModule from './alerts/alerts-widget-module';\r\nimport announcementsWidgetModule from './announcements/announcements-module';\r\nimport gamesEndingWidgetModule from './games-ending/games-ending-widget-module';\r\nimport myInstantTicketSalesWidgetModule from './my-instant-ticket-sales/my-instant-ticket-sales-widget-module';\r\nimport CommonWidgetComponent from '../common/common-widget/common-widget-component';\r\n\r\nexport default angular\r\n .module('dashboard-widget', [\r\n topVltGamesWidgetModule.name,\r\n financialStatusWidgetModule.name,\r\n siteOperationalStatusWidgetModule.name,\r\n ticketsWidgetModule.name,\r\n configurableLinkWidgetModule.name,\r\n earningsWidgetModule.name,\r\n eftAmountWidgetModule.name,\r\n jackpotsNextDrawsWidgetModule.name,\r\n netSalesWidgetModule.name,\r\n bigWinnersWidgetModule.name,\r\n cumulativeWinnersWidgetModule.name,\r\n currentInstantGameLiabilityWidgetModule.name,\r\n actualAndProjectedSettlementsWidgetModule.name,\r\n newGamesWidgetModule.name,\r\n mySlowMovingGamesWidgetModule.name,\r\n myPricePointMixWidgetModule.name,\r\n myNetSalesPerformanceWidgetModule.name,\r\n viewFullGameInventoryWidgetModule.name,\r\n topSellingGamesWidgetModule.name,\r\n messagesWidgetModule.name,\r\n lotteryRepresentativesWidgetModule.name,\r\n selfServiceOutOfStockWidgetModule.name,\r\n licenseRenewalWidgetModule.name,\r\n bondRenewalWidgetModule.name,\r\n sellingTerminalsModule.name,\r\n chainSalesRankWidgetModule.name,\r\n storeSalesRankWidgetModule.name,\r\n endOfGameWidgetModule.name,\r\n lvmSalesWidgetModule.name,\r\n alertsWidgetModule.name,\r\n announcementsWidgetModule.name,\r\n gamesEndingWidgetModule.name,\r\n myInstantTicketSalesWidgetModule.name,\r\n ])\r\n .component('commonWidget', new CommonWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/dashboard-widget-module.js","import angular from 'angular';\r\nimport TopVltGamesWidgetComponent from './top-vlt-games-widget-component';\r\n\r\nexport default angular.module('top-vlt-games-widget', []).component('topVltGames', new TopVltGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport api from 'dashboard/resources/top-vlt-games.api';\r\nimport { isChainHeadSelector } from 'selectors';\r\n\r\nimport template from './top-vlt-games-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n isChainHead,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass TopVltGamesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchTopVltGames(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class TopVltGamesWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.template = template;\r\n this.controller = TopVltGamesWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchTopVltGames = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.topVltGames;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchTopVltGames,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/top-vlt-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Top VLT Games\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Based on validations for the past week. \\\"X\\\" indicates no validations for this game in the past week.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Ranking in\\r\\n \\r\\n
    \\r\\n \\r\\n state\\r\\n \\r\\n \\r\\n chain\\r\\n \\r\\n \\r\\n store\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ game.gameName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ game.stateSalesRank }}\\r\\n \\r\\n \\r\\n {{ game.storeSalesRank }}\\r\\n \\r\\n \\r\\n X\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget.html\n// module id = 1517\n// module chunks = 0","import angular from 'angular';\r\nimport financialStatusWidgetContentModule from './components/financial-status-widget-content-module';\r\nimport FinancialStatusWidgetComponent from './financial-status-widget-component';\r\n\r\nexport default angular\r\n .module('financial-status-widget', [financialStatusWidgetContentModule.name, 'rw-retailer-info', 'rw-multistore-selector'])\r\n .component('financialStatusWidget', new FinancialStatusWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-module.js","import angular from 'angular';\r\n\r\nimport FinancialStatusWidgetContentComponent from './financial-status-widget-content-component';\r\n\r\nexport default angular\r\n .module('financial-status-widget-content', [])\r\n .component('financialStatusWidgetContent', new FinancialStatusWidgetContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-module.js","\r\nimport { fetchSiteFinancialStatus } from 'dashboard/actions/site-financial-status/site-financial-status.actions';\r\n\r\nimport template from './financial-status-widget-content.html';\r\n\r\nconst mapStateToThis = ({ siteFinancialStatus }) => {\r\n const { data, isLoading } = siteFinancialStatus;\r\n\r\n return {\r\n data,\r\n isLoading,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSiteFinancialStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass FinancialStatusWidgetContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onChanges({ retailerId }) {\r\n if (retailerId.currentValue) this.fetchSiteFinancialStatus(retailerId.currentValue);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class FinancialStatusWidgetContentComponent {\r\n constructor() {\r\n this.bindings = {\r\n retailerId: '<',\r\n };\r\n this.template = template;\r\n this.controller = FinancialStatusWidgetContentController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchSiteFinancialStatus = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.siteFinancialStatus;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchSiteFinancialStatus,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/site-financial-status.api.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n Cash In Total\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Cash Out Total\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content.html\n// module id = 1522\n// module chunks = 0","import isEmpty from 'lodash/isEmpty';\r\nimport { fetchSiteFinancialStatus } from 'dashboard/actions/site-financial-status/site-financial-status.actions';\r\nimport { isChainHeadSelector, isStoreProfileSelector } from 'selectors';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { selectRetailer } from 'utils/rw-subordinates/actions/subordinate-list.actions';\r\nimport template from './financial-status-widget.html';\r\n\r\nconst mapStateToThis = ({ session, subordinateList, siteFinancialStatus, retailerDetails }) => {\r\n const { retailer } = session;\r\n const { data } = siteFinancialStatus;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const { selectedRetailer } = subordinateList;\r\n\r\n return {\r\n retailerDetails,\r\n isChainHead,\r\n isStoreProfile,\r\n selectedRetailer: isEmpty(selectedRetailer) ? retailerDetails : selectedRetailer,\r\n retailer,\r\n data,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSiteFinancialStatus,\r\n selectRetailer,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass FinancialStatusWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n if (retailerId) {\r\n await this.fetchSiteFinancialStatus(retailerId);\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.selectRetailer({});\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class FinancialStatusWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = FinancialStatusWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Site Financial Status\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n End of day cash flow details\\r\\n \\r\\n \\r\\n End of day cash flow details for each subordinate gaming site.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget.html\n// module id = 1530\n// module chunks = 0","import angular from 'angular';\r\nimport SiteOperationalStatusWidgetComponent from './site-operational-status-widget-component';\r\nimport SiteOperationalStatusRetailerListModule from './components/site-operational-status-retailer-list/site-operational-status-retailer-list-module';\r\nimport SiteOperationalStatusIndicatorModule from './components/site-operational-status-indicator/site-operational-status-indicator-module';\r\nimport SiteOperationalStatusDeviceListModule from './components/site-operational-status-device-list/site-operational-status-device-list-module';\r\n\r\nexport default angular\r\n .module('site-operational-status-widget', [\r\n SiteOperationalStatusRetailerListModule.name,\r\n SiteOperationalStatusIndicatorModule.name,\r\n SiteOperationalStatusDeviceListModule.name,\r\n ])\r\n .component('siteOperationalStatusWidget', new SiteOperationalStatusWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { isChainHeadSelector, isStoreProfileSelector } from 'selectors';\r\nimport { fetchSiteOperationalStatus } from 'dashboard/actions/site-operational-status/site-operational-status.actions';\r\n\r\nimport template from './site-operational-status-widget.html';\r\n\r\nconst mapStateToThis = ({ session, siteOperationalStatus, config }) => {\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const { isEmpty, isLoading } = siteOperationalStatus;\r\n const { retailer } = session;\r\n const { sortColumnKey, directionKey, pageSizeKey, defaultPageSizes } = config;\r\n\r\n return {\r\n isChainHead,\r\n isStoreProfile,\r\n isEmpty,\r\n isLoading,\r\n retailer,\r\n sortColumnKey,\r\n directionKey,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSiteOperationalStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass SiteOperationalStatusWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = parseInt(this.$state.params.retailerNo, 10) || this.retailer.retailerId;\r\n this.showRetailerList = this.isChainHead && !this.isStoreProfile;\r\n if (!this.isChainHead || this.isStoreProfile) {\r\n this.selectedRetailerId = this.retailerId;\r\n }\r\n this.$scope.$applyAsync(this.initTable());\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initTable() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'status',\r\n [this.directionKey]: true,\r\n [this.pageSizeKey]: this.defaultPageSizes[1],\r\n };\r\n this.gridModel = await initGrid(this.fetchSiteOperationalStatus, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Status'),\r\n field: 'activeDeviceInPrc',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Total'),\r\n field: 'totalVlt',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Inactive'),\r\n field: 'inactiveVlt',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'retailerName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Address'),\r\n field: 'retailerAddress',\r\n sortable: true,\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n onRetailerClick({ retailerId }) {\r\n this.selectedRetailerId = retailerId;\r\n this.showRetailerList = false;\r\n }\r\n}\r\n\r\nexport default class SiteOperationalStatusWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.controller = SiteOperationalStatusWidgetController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-component.js","import api from 'dashboard/resources/site-operational-status.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSiteOperationalStatusRequest = () => ({\r\n type: actionTypes.FETCH_SITE_OPERATIONAL_STATUS_REQUEST,\r\n name: 'siteOperationalStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteOperationalStatusSuccess = (retailers, pagination) => ({\r\n type: actionTypes.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS,\r\n name: 'siteOperationalStatusLoadingStatus',\r\n retailers,\r\n pagination,\r\n});\r\n\r\nexport const fetchSiteOperationalStatusFailure = () => ({\r\n type: actionTypes.FETCH_SITE_OPERATIONAL_STATUS_FAILURE,\r\n name: 'siteOperationalStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteOperationalStatus = (requestParams) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSiteOperationalStatusRequest());\r\n const {\r\n content: retailers,\r\n ...pagination\r\n } = await api.fetchSiteOperationalStatus(requestParams);\r\n\r\n dispatch(fetchSiteOperationalStatusSuccess(retailers, pagination));\r\n } catch (error) {\r\n console.error('FETCH_SITE_OPERATIONAL_STATUS', error);\r\n dispatch(fetchSiteOperationalStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-operational-status/site-operational-status.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchSiteOperationalStatus = ({ filters, ...params }) => {\r\n const { url } = DepsService.rest.widgets.siteOperationalStatus;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId: filters.retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchSiteOperationalStatus,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/site-operational-status.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Site Operational Status\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Shows an overview of the operating status of all currently active retailer locations including the number of in and out of service devices, Retailer number, Name and\\r\\n Location.\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Back to Retailer List\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget.html\n// module id = 1535\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport SiteOperationalStatusRetailerListComponent from './site-operational-status-retailer-list-component';\r\n\r\nexport default angular\r\n .module('site-operational-status-retailer-list', [])\r\n .component('siteOperationalStatusRetailerList', new SiteOperationalStatusRetailerListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-module.js","import template from './site-operational-status-retailer-list.html';\r\n\r\nconst mapStateToThis = ({ siteOperationalStatus, config, ui }) => {\r\n const { retailers, isLoading } = siteOperationalStatus;\r\n const { defaultPageNo } = config;\r\n const { sosPagination } = ui;\r\n\r\n return {\r\n retailers,\r\n isLoading,\r\n defaultPageNo,\r\n pagination: sosPagination,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SiteOperationalStatusRetailersTableController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class SiteOperationalStatusRetailerListComponent {\r\n constructor() {\r\n this.controller = SiteOperationalStatusRetailersTableController;\r\n this.template = template;\r\n this.bindings = {\r\n onRetailerClick: '&',\r\n gridModel: '<',\r\n headers: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.totalVlt }}\\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.inactiveVlt }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.retailerName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.retailerAddress }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.totalVlt }}\\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.inactiveVlt }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.retailerName }}\\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.retailerAddress }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list.html\n// module id = 1538\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport SiteOperationalStatusIndicatorComponent from './site-operational-status-indicator-component';\r\n\r\nexport default angular\r\n .module('site-operational-status-indicator', [])\r\n .component('siteOperationalStatusIndicator', new SiteOperationalStatusIndicatorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-module.js","\r\nimport template from './site-operational-status-indicator.html';\r\n\r\n\r\nexport default class SiteOperationalStatusIndicatorComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n status: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n All devices at this location are working.\\r\\n \\r\\n \\r\\n {{$ctrl.status}}% of devices at this location are working.\\r\\n \\r\\n \\r\\n \\r\\n
    50,\\r\\n 'status-indicator--danger': $ctrl.status <= 50\\r\\n }\\\">\\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator.html\n// module id = 1541\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport SiteOperationalStatusDeviceListComponent from './site-operational-status-device-list-component';\r\n\r\nexport default angular\r\n .module('site-operational-status-device-list', [])\r\n .component('siteOperationalStatusDeviceList', new SiteOperationalStatusDeviceListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-module.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport template from './site-operational-status-device-list.html';\r\n\r\nconst mapStateToThis = ({ siteOperationalStatus }) => {\r\n const { retailers } = siteOperationalStatus;\r\n\r\n return {\r\n retailers,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SiteOperationalStatusDeviceListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.items = [];\r\n const selectedRetailer = this.retailers\r\n .find((retailer) => retailer.retailerId === this.retailerId);\r\n\r\n if (selectedRetailer) {\r\n const { details } = selectedRetailer;\r\n if (!isEmpty(details)) {\r\n this.items = cloneDeep(details);\r\n this.items[0].active = true;\r\n }\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n showDevice(selectedItem) {\r\n this.items.map((item) => {\r\n item.active = false;\r\n return item;\r\n });\r\n\r\n selectedItem.active = true;\r\n }\r\n}\r\n\r\nexport default class SiteOperationalStatusDeviceListComponent {\r\n constructor() {\r\n this.controller = SiteOperationalStatusDeviceListController;\r\n this.template = template;\r\n this.bindings = {\r\n retailerId: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n VLT Number {{ $index + 1 }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
      \\r\\n
    • \\r\\n VLT GTK Id:\\r\\n {{ item.vltGtkId }}\\r\\n
    • \\r\\n
    • \\r\\n VLT serial number:\\r\\n {{ item.vltSerialNumber }}\\r\\n
    • \\r\\n
    • \\r\\n Status:\\r\\n {{ item.status }}\\r\\n
    • \\r\\n
    • \\r\\n Reason:\\r\\n {{ item.reason }}\\r\\n
    • \\r\\n
    • \\r\\n VLT State Time:\\r\\n \\r\\n \\r\\n
    • \\r\\n
    • \\r\\n VLT State:\\r\\n {{ item.vltState }}\\r\\n
    • \\r\\n
    • \\r\\n Model:\\r\\n {{ item.model }}\\r\\n
    • \\r\\n
    • \\r\\n VLT Description:\\r\\n {{ item.vltDescription }}\\r\\n
    • \\r\\n
    • \\r\\n IP address:\\r\\n {{ item.ipAddress }}\\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list.html\n// module id = 1544\n// module chunks = 0","import angular from 'angular';\r\nimport TicketsWidgetComponent from './tickets-widget-component';\r\n\r\nexport default angular.module('tickets-widget', []).component('ticketsWidget', new TicketsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-module.js","import * as api from 'dashboard/resources/tickets.api';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport template from './tickets-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass TicketsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchTicketsData(retailerId));\r\n }\r\n}\r\n\r\nexport default class TicketsWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.controller = TicketsWidgetController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchTicketsData = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.tickets;\r\n const queryParams = {};\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/tickets.api.js","module.exports = \"\\r\\n \\r\\n
    \\r\\n

    \\r\\n \\r\\n Tickets\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Tickets widget presents information about validated and non-validated tickets in given period.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Validated\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.data.validated.quantity }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Non-validated\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.data.nonValidated.quantity }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget.html\n// module id = 1548\n// module chunks = 0","import angular from 'angular';\r\nimport ConfigurableLinkWidgetComponent from './configurable-link-widget-component';\r\n\r\nexport default angular.module('configurable-link-widget', []).component('configurableLinkWidget', new ConfigurableLinkWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchConfigurableLink } from 'app/actions/manage-configurable-link.actions';\r\nimport template from './configurable-link-widget.html';\r\n\r\nconst mapStateToThis = ({ manageConfigurableLink, session, dashboard }) => {\r\n const { isLoading, entries } = manageConfigurableLink;\r\n const { locale } = session;\r\n let isEmpty = true;\r\n let entry = {};\r\n if (entries.length > 0) {\r\n [entry] = entries;\r\n if (\r\n (entry.visibleOnSummary && dashboard.current.name === 'summary') ||\r\n (entry.visibleOnInstants && dashboard.current.name === 'instant')\r\n ) {\r\n isEmpty = false;\r\n }\r\n }\r\n\r\n return {\r\n locale,\r\n isLoading,\r\n isEmpty,\r\n entry,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchConfigurableLink,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass ConfigurableLinkWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.$scope.$applyAsync(this.fetchConfigurableLink(this.locale));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ConfigurableLinkWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ConfigurableLinkWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n {{ $ctrl.entry.text }}\\r\\n \\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget.html\n// module id = 1551\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport EarningsWidgetComponent from './earnings-widget-component';\r\nimport NetEarningsWidgetComponent from './net-earnings-widget-component';\r\nimport EarningsHistoryComponent from './components/earnings-history-component';\r\n\r\nexport default angular\r\n .module('earnings-widget', [])\r\n .component('earningsWidget', new EarningsWidgetComponent())\r\n .component('netEarningsWidget', new NetEarningsWidgetComponent())\r\n .component('earningsHistory', new EarningsHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider\r\n .state('earnings-history', {\r\n parent: 'arw',\r\n url: '/earnings/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Earnings History')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('netearnings-history', {\r\n parent: 'arw',\r\n url: '/earnings/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Earnings History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-module.js","import { checkAccess } from 'app/actions/app.actions';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { isChainHeadSelector, isSuperChainSelector } from 'selectors';\r\nimport * as api from 'dashboard/resources/earnings.api';\r\nimport template from './earnings-widget.html';\r\n\r\nconst EARNINGS_HISTORY_PERMISSION = 'earnings.history';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n isSuperChain,\r\n isChainHead,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$state')\r\nclass EarningsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.activeTabIdx = 0;\r\n this.isHistoryLinkVisible = (!this.isSuperChain || this.isChainHead) && this.checkAccess(EARNINGS_HISTORY_PERMISSION);\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchEarnings(retailerId), this.transformData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n const findDataItem = (dataItems, periodType) => dataItems.find((item) => item.periodType === periodType);\r\n const generateTab = (dataItem, periodType, title) => ({\r\n title,\r\n tabTitle: periodType,\r\n total: dataItem ? dataItem.earningsTotal : 0,\r\n delta: dataItem ? dataItem.earningsDelta : 0,\r\n deltaAsPerc: dataItem ? dataItem.deltaAsPerc : false,\r\n });\r\n\r\n return [\r\n generateTab(findDataItem(data, 'WTD'), 'WTD', this.gettextCatalog.getString('Week to Date Total Earnings')),\r\n generateTab(findDataItem(data, 'MTD'), 'MTD', this.gettextCatalog.getString('Month to Date Total Earnings')),\r\n generateTab(findDataItem(data, 'QTD'), 'QTD', this.gettextCatalog.getString('Quarter to Date Total Earnings')),\r\n generateTab(findDataItem(data, 'YTD'), 'YTD', this.gettextCatalog.getString('Year to Date Total Earnings')),\r\n ];\r\n }\r\n}\r\n\r\nexport default class EarningsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EarningsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Earnings\\r\\n \\r\\n \\r\\n Earnings History\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n Approximate earnings based on net sales for {{ draw }} games and net settlements for {{ instant }} games. Incentive earnings, credits, and adjustments are included in the\\r\\n period in which they are paid, not necessarily the period over which they are earned.\\r\\n

    \\r\\n

    \\r\\n \\r\\n To view your chain’s earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n \\r\\n To view your earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n 0, 'delta-percentage-negative': tab.delta < 0}\\\">\\r\\n {{ tab.delta | number:2 }}%\\r\\n \\r\\n 0, 'delta-percentage-negative': tab.delta < 0}\\\"\\r\\n class=\\\"delta\\\"\\r\\n value=\\\"tab.delta\\\">\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ tab.title }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget.html\n// module id = 1554\n// module chunks = 0","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isChainHeadSelector, isSuperChainSelector } from 'selectors';\r\n\r\nimport * as api from 'dashboard/resources/earnings.api';\r\n\r\nimport template from './net-earnings-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n\r\n return {\r\n retailer,\r\n isSuperChain,\r\n isChainHead,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$state')\r\nclass NetEarningsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isHistoryLinkVisible = (!this.isSuperChain || this.isChainHead) && this.checkAccess('netearnings.history');\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n\r\n this.loadDataAsync(() => api.fetchNetEarnings(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class NetEarningsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = NetEarningsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Net Earnings\\r\\n \\r\\n \\r\\n \\r\\n Earnings History\\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n Earnings for the most recent complete invoice period based on net sales for {{ draw }} games and net settlements for {{ instant }} games. Incentive earnings, credits, and adjustments are included in the\\r\\n period in which they are paid, not necessarily the period over which they are earned.\\r\\n

    \\r\\n\\r\\n

    \\r\\n \\r\\n To view your chain’s earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n \\r\\n To view your earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Period ended:\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget.html\n// module id = 1556\n// module chunks = 0","import moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { downloadEarningsHistoryReport, fetchEarningsHistory } from 'dashboard/actions/earnings-history/earnings-history.actions';\r\nimport { fetchInvoiceDatesDictionary } from 'app/actions/dictionaries/invoice-dates-dictionary.actions';\r\nimport * as api from 'dashboard/resources/earnings.api';\r\nimport template from './earnings-history.html';\r\n\r\nconst mapStateToThis = ({ session, config, earningsHistory, dictionary }) => {\r\n const { serverTime, retailer, locale } = session;\r\n const { pageSizeKey, defaultPageSizes, sortColumnKey, showCompensationCategoryDetails } = config;\r\n const { data, isLoading } = earningsHistory;\r\n const { invoiceDates } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n serverTime,\r\n retailer,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n showCompensationCategoryDetails,\r\n invoiceDates,\r\n data,\r\n isLoading,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchInvoiceDatesDictionary,\r\n downloadEarningsHistoryReport,\r\n fetchEarningsHistory,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService', 'tableService')\r\nclass EarningsHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n await this.fetchInvoiceDatesDictionary(this.retailerId);\r\n this.tableConfig = this.tableService.initConfig({ configName: 'earningsHistory' });\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchEarningsHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n invoiceEndDate: this.invoiceDates[0].id,\r\n retailerId: this.retailerId,\r\n };\r\n\r\n this.setInvoiceDateRange();\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('EARNINGS_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Source'),\r\n field: 'source',\r\n },\r\n this.showCompensationCategoryDetails\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular }),\r\n field: 'instantGames',\r\n }\r\n : null,\r\n this.showCompensationCategoryDetails\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('e{{ instant }}', { instant: this.terms.INSTANT.plural }),\r\n field: 'eInstants',\r\n }\r\n : null,\r\n this.showCompensationCategoryDetails\r\n ? {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular }),\r\n field: 'drawGames',\r\n }\r\n : null,\r\n {\r\n text: this.gettextCatalog.getString('Total'),\r\n field: 'total',\r\n },\r\n ];\r\n }\r\n\r\n downloadReport(format) {\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n extension: format,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Earnings History'),\r\n type: this.preservedFilters.invoiceEndDate,\r\n format,\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n return this.downloadEarningsHistoryReport(params);\r\n }\r\n\r\n setInvoiceDateRange() {\r\n const earningsInvoiceDate = this.invoiceDates.find(\r\n (invoiceDate) => invoiceDate.id === this.gridModel.pagingModel.filters.invoiceEndDate\r\n );\r\n this.invoiceDateRange = earningsInvoiceDate ? earningsInvoiceDate.value : '-';\r\n }\r\n}\r\n\r\nexport default class EarningsHistoryComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EarningsHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history-component.js","import * as api from 'dashboard/resources/earnings-history.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchEarningsHistoryRequest = () => ({\r\n type: actionTypes.FETCH_EARNINGS_HISTORY_REQUEST,\r\n name: 'earningsHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchEarningsHistorySuccess = (data) => ({\r\n type: actionTypes.FETCH_EARNINGS_HISTORY_SUCCESS,\r\n name: 'earningsHistoryLoadingStatus',\r\n data,\r\n});\r\n\r\nexport const fetchEarningsHistoryFailure = () => ({\r\n type: actionTypes.FETCH_EARNINGS_HISTORY_FAILURE,\r\n name: 'earningsHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchEarningsHistory =\r\n ({ filters }) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = filters.retailerId || session.retailer.retailerId;\r\n\r\n const params = {\r\n ...filters,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchEarningsHistoryRequest());\r\n const data = await api.fetchEarningsHistory(params);\r\n dispatch(fetchEarningsHistorySuccess(data));\r\n } catch (error) {\r\n console.error('FETCH_EARNINGS_HISTORY', error);\r\n dispatch(fetchEarningsHistoryFailure());\r\n }\r\n };\r\n\r\nexport const downloadEarningsHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadEarningsHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadEarningsHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadEarningsHistoryReport =\r\n ({ extension, ...filters }) =>\r\n (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = filters.retailerId || session.retailer.retailerId;\r\n\r\n const params = {\r\n ...filters,\r\n retailerId,\r\n extension,\r\n };\r\n\r\n dispatch(downloadEarningsHistoryReportRequest());\r\n dispatch(downloadEarningsHistoryReportSuccess());\r\n return api.downloadEarningsHistoryReport(params);\r\n } catch (error) {\r\n console.error('DOWNLOAD_EARNINGS_HISTORY_REPORT', error);\r\n dispatch(downloadEarningsHistoryReportFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/earnings-history/earnings-history.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'earningsHistory';\r\n\r\nexport const fetchEarningsHistory = (filters) => {\r\n const { url } = DepsService.rest.widgets.earningsHistory;\r\n const queryParams = { ...filters };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadEarningsHistoryReport = ({ extension, ...filters }) => {\r\n const { url } = DepsService.rest.widgets.earningsHistory;\r\n const queryParams = { ...filters, locale: '*' };\r\n const urlParams = {};\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/earnings-history.api.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n {{ $ctrl.invoiceDateRange }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Invoice Period\\r\\n \\r\\n \\r\\n \\r\\n {{ item.value }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ data.source }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ data.source }}\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history.html\n// module id = 1560\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport EftAmountWidget from './eft-amount-widget-component';\r\nimport EftHistoryComponent from './components/eft-history-component';\r\n\r\nexport default angular\r\n .module('eft-amount-widget', [])\r\n .component('eftAmountWidget', new EftAmountWidget())\r\n .component('eftHistory', new EftHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('eft-sales-history', {\r\n parent: 'arw',\r\n url: '/eft/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Invoice History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport * as api from 'dashboard/resources/eft-amount.api';\r\nimport template from './eft-amount-widget.html';\r\n\r\nconst mapStateToThis = ({ config, dictionary, session }) => {\r\n const { locale, retailer } = session;\r\n const { usesMultipleSweepDates } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n usesMultipleSweepDates,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass EftAmountWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isHistoryLinkVisible = this.checkAccess('eft.sales.history');\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchEftAmount(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class EftAmountWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = EftAmountWidgetController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n EFT Amount\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Invoice Details\\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Total EFT due by\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ instant }} Game Invoice due\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ draw }} Game Invoice due\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget.html\n// module id = 1563\n// module chunks = 0","import moment from 'moment';\r\nimport {\r\n fetchEftHistory,\r\n fetchEftExtensions,\r\n downloadEftInvoice,\r\n fetchRetailerEFTDetailDate,\r\n} from 'dashboard/actions/eft-history/eft-history.actions';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport template from './eft-history.html';\r\n\r\nconst mapStateToThis = ({ eftHistory, session, config, dictionary }) => {\r\n const { serverTime, retailer, locale } = session;\r\n const { defaultPageNo, pageSizeKey, defaultPageSizes, sortColumnKey, directionKey, usesMultipleSweepDates } = config;\r\n const terms = dictionary.terms[locale];\r\n const { items, isLoading, extensions, date } = eftHistory;\r\n\r\n return {\r\n serverTime,\r\n retailer,\r\n defaultPageNo,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n directionKey,\r\n items,\r\n isLoading,\r\n extensions,\r\n usesMultipleSweepDates,\r\n terms,\r\n date,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchEftHistory,\r\n fetchEftExtensions,\r\n downloadEftInvoice,\r\n fetchRetailerEFTDetailDate,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'RwAnalyticsService', '$state')\r\nclass EftHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n await Promise.all([this.fetchEftExtensions(), this.fetchRetailerEFTDetailDate(this.retailerId)]);\r\n this.headers = this.getHeaders();\r\n this.minDate = moment(this.date).subtract(24, 'months').toDate().toDateString();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'date',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchEftHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n startDate: moment(this.date).subtract(12, 'weeks').toDate(),\r\n endDate: moment(this.date).toDate(),\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('EFT_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n return this.search();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Date'),\r\n field: 'date',\r\n sortable: true,\r\n },\r\n this.usesMultipleSweepDates\r\n ? {\r\n text: this.gettextCatalog.getString('Total Amount'),\r\n field: 'eftTotalAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n !this.usesMultipleSweepDates\r\n ? {\r\n text: this.gettextCatalog.getString('EFT Amount'),\r\n field: 'eftAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n !this.usesMultipleSweepDates\r\n ? {\r\n text: this.gettextCatalog.getString('EFT Due Date'),\r\n field: 'eftSweepDate',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} EFT Amount', { instant: this.terms.INSTANT.plural }),\r\n field: 'eftInstantAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} EFT Due Date', { instant: this.terms.INSTANT.plural }),\r\n field: 'eftInstantSweepDate',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} EFT Amount', { draw: this.terms.DRAW.plural }),\r\n field: 'eftDrawAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} EFT Due Date', { draw: this.terms.DRAW.plural }),\r\n field: 'eftDrawSweepDate',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n {\r\n text: this.gettextCatalog.getString('Download'),\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onDownloadReport(invoice, extension) {\r\n const { invoiceWeekEndDate, date } = invoice;\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Weekly Retailer Invoice'),\r\n format: extension,\r\n type: moment.utc(date).format('MM.DD.YYYY'),\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n\r\n return this.downloadEftInvoice(this.retailerId, invoiceWeekEndDate, extension);\r\n }\r\n}\r\n\r\nexport default class EftHistoryComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EftHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history-component.js","import * as api from 'dashboard/resources/eft-history.api';\r\nimport moment from 'moment';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchEftHistoryRequest = () => ({\r\n type: actionTypes.FETCH_EFT_HISTORY_REQUEST,\r\n name: 'eftHistoryStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchEftHistorySuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_EFT_HISTORY_SUCCESS,\r\n name: 'eftHistoryStatusLoadingStatus',\r\n items,\r\n pagination,\r\n});\r\n\r\nexport const fetchEftHistoryFailure = () => ({\r\n type: actionTypes.FETCH_EFT_HISTORY_FAILURE,\r\n name: 'eftHistoryStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchEftHistory = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.filters.retailerId || session.retailer.retailerId;\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n filters: {\r\n startDate: moment(params.filters.startDate).format('YYYY-MM-DD'),\r\n endDate: moment(params.filters.endDate).format('YYYY-MM-DD'),\r\n },\r\n };\r\n\r\n dispatch(fetchEftHistoryRequest());\r\n const { content, ...pagination } = await api.fetchEftHistory(queryParams, retailerId);\r\n dispatch(fetchEftHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_EFT_HISTORY', error);\r\n dispatch(fetchEftHistoryFailure());\r\n }\r\n};\r\n\r\nexport const fetchEftExtensionsRequest = () => ({\r\n type: actionTypes.FETCH_EFT_EXTENSIONS_REQUEST,\r\n});\r\n\r\nexport const fetchEftExtensionsSuccess = (extensions) => ({\r\n type: actionTypes.FETCH_EFT_EXTENSIONS_SUCCESS,\r\n extensions,\r\n});\r\n\r\nexport const fetchEftExtensionsFailure = () => ({\r\n type: actionTypes.FETCH_EFT_EXTENSIONS_FAILURE,\r\n});\r\n\r\nexport const fetchEftExtensions = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchEftExtensionsRequest());\r\n const extensions = await api.fetchEftExtensions();\r\n dispatch(fetchEftExtensionsSuccess(extensions));\r\n } catch (error) {\r\n console.error('FETCH_EFT_EXTENSIONS', error);\r\n dispatch(fetchEftExtensionsFailure());\r\n }\r\n};\r\n\r\nexport const fetchRetailerEFTDetailRequest = () => ({\r\n type: actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST,\r\n});\r\n\r\nexport const fetchRetailerEFTDetailSuccess = (date) => ({\r\n type: actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS,\r\n date,\r\n});\r\n\r\nexport const fetchRetailerEFTDetailFailure = () => ({\r\n type: actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE,\r\n});\r\n\r\nexport const fetchRetailerEFTDetailDate = (id) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchRetailerEFTDetailRequest());\r\n const date = await api.fetchRetailerEFTDetailDate(retailerId);\r\n dispatch(fetchRetailerEFTDetailSuccess(date));\r\n } catch (error) {\r\n console.error('FETCH_RETAILER_EFT_DETAIL_DATE', error);\r\n dispatch(fetchRetailerEFTDetailFailure());\r\n }\r\n};\r\n\r\nexport const downloadEftInvoiceRequest = () => ({\r\n type: actionTypes.DOWNLOAD_EFT_INVOICE_REQUEST,\r\n});\r\n\r\nexport const downloadEftInvoiceSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_EFT_INVOICE_SUCCESS,\r\n});\r\n\r\nexport const downloadEftInvoiceFailure = () => ({\r\n type: actionTypes.DOWNLOAD_EFT_INVOICE_FAILURE,\r\n});\r\n\r\nexport const downloadEftInvoice =\r\n (id = null, invoiceWeekEndDate, extension) =>\r\n (dispatch, getState) => {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n try {\r\n dispatch(downloadEftInvoiceRequest());\r\n dispatch(downloadEftInvoiceSuccess());\r\n\r\n return api.downloadEftInvoice({ retailerId, invoiceWeekEndDate, extension });\r\n } catch (error) {\r\n console.error('DOWNLOAD_EFT_INVOICE', error);\r\n dispatch(downloadEftInvoiceFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/eft-history/eft-history.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchEftHistory = (queryParams, retailerId) => {\r\n const { url } = DepsService.rest.widgets.eftHistory;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchEftExtensions = () => {\r\n const { url } = DepsService.rest.reports.eft.extensions;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerEFTDetailDate = (retailerId) => {\r\n const { url } = DepsService.rest.reports.eft.date;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadEftInvoice = ({ extension, retailerId, invoiceWeekEndDate }) => {\r\n const { url } = DepsService.rest.reports.eft.downloadRetailerInvoice;\r\n const queryParams = {\r\n retailerId,\r\n reportDate: invoiceWeekEndDate,\r\n 'transformation-type': extension,\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/eft-history.api.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ extension }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ type }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history.html\n// module id = 1567\n// module chunks = 0","import angular from 'angular';\r\nimport JackpotsNextDrawsWidgetComponent from './jackpots-next-draws-widget-component';\r\n\r\nexport default angular\r\n .module('jackpots-next-draws-widget', [])\r\n .component('jackpotsNextDrawsWidget', new JackpotsNextDrawsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/jackpots-next-draws.api';\r\nimport template from './jackpots-next-draws-widget.html';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { widgetsDataJackpotsAndDraws } = config;\r\n\r\n return {\r\n widgetsDataJackpotsAndDraws,\r\n };\r\n};\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass JackpotsNextDrawsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.loadDataAsync(() => api.fetchJackpotsAndDraws(this.widgetsDataJackpotsAndDraws));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class JackpotsNextDrawsWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = JackpotsNextDrawsWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-component.js","import DepsService from 'services/dependencies';\r\nimport flow from 'lodash/flow';\r\nimport orderBy from 'lodash/orderBy';\r\nimport uniqBy from 'lodash/uniqBy';\r\nimport get from 'lodash/get';\r\nimport filter from 'lodash/filter';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst extractJackpotsData = (draws) => {\r\n const flattenJackpotData = (draw) => ({\r\n gameNumber: get(draw, 'gameRuleSet.gameId') || '',\r\n name: get(draw, 'brandName') || get(draw, 'gameName') || '',\r\n amount: get(draw, 'jackpots[0].amount') || 0,\r\n drawDate: draw.drawTime,\r\n cashAmount: get(draw, 'jackpots[0].cashAmount') || 0,\r\n imageUrl: draw.imageUrl,\r\n });\r\n\r\n return flow([\r\n (items) => orderBy(items, ['drawTime', 'estimatedJackpot'], ['asc', 'desc']),\r\n (items) => items.map((item) => flattenJackpotData(item)),\r\n (items) => uniqBy(items, 'name'),\r\n (items) => filter(items, (item) => item.amount > 0),\r\n ])(draws);\r\n};\r\n\r\nexport const fetchJackpotsAndDraws = async (widgetsDataJackpotsAndDraws) => {\r\n const { url } = DepsService.rest.widgets.jackpotsAndDraws;\r\n const queryParams = {\r\n status: 'OPEN',\r\n 'game-names': widgetsDataJackpotsAndDraws,\r\n };\r\n const urlParams = {};\r\n\r\n const response = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n return extractJackpotsData(get(response, 'draws'));\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/jackpots-next-draws.api.js","module.exports = \"\\r\\n \\r\\n

    Jackpots & Next Draws

    \\r\\n
    \\r\\n \\r\\n
      \\r\\n
    • \\r\\n
      \\r\\n \\\"{{\\r\\n
      \\r\\n
      \\r\\n

      \\r\\n \\r\\n \\r\\n \\r\\n

      \\r\\n

      0\\\">\\r\\n {{ $ctrl.config.jackpotsAndDrawsEstimatedCashValueLabel }}\\r\\n \\r\\n

      \\r\\n

      \\r\\n \\r\\n

      \\r\\n
      \\r\\n \\r\\n \\r\\n
      \\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget.html\n// module id = 1582\n// module chunks = 0","import angular from 'angular';\r\nimport NetSalesWidgetComponent from './net-sales-widget-component';\r\nimport NetSalesRoutingModule from './net-sales-widget-routing-module';\r\nimport NetSalesHistoryPageModule from './components/net-sales-history-page/net-sales-history-page-module';\r\nimport NetSalesGameListModule from './components/net-sales-game-list/net-sales-game-list-module';\r\n\r\nexport default angular\r\n .module('net-sales-widget', [NetSalesHistoryPageModule.name, NetSalesRoutingModule.name, NetSalesGameListModule.name])\r\n .component('netSalesWidget', new NetSalesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-module.js","import { isSuperChainSelector } from 'selectors';\r\n\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchNetSalesSummary } from 'dashboard/actions/net-sales/net-sales-summary.actions';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport template from './net-sales-widget.html';\r\nimport tabs from './tabs';\r\n\r\nconst mapStateToThis = ({ session, netSales, ui, dictionary }) => {\r\n const { isLoading, netSalesSummary } = netSales;\r\n const { WTD, MTD, QTD, YTD } = tabs;\r\n const { activeTab } = ui;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n const { retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n\r\n return {\r\n retailer,\r\n session,\r\n netSalesSummary,\r\n isLoading,\r\n activeTab,\r\n isSuperChain,\r\n isEmpty: netSalesSummary.length === 0,\r\n WTD,\r\n MTD,\r\n QTD,\r\n YTD,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n fetchNetSalesSummary,\r\n setActiveTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass NetSalesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.isHistoryLinkVisible = this.checkAccess('net.sales.history') && !this.isSuperChain;\r\n this.setActiveTab(this.WTD, 'activeTab');\r\n this.$scope.$applyAsync(this.fetchNetSalesSummary(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class NetSalesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = NetSalesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Net Sales\\r\\n Sales History\\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n Based on net sales for {{ draw }} games and net settlements for {{ instant }} games. Returns, credits, and adjustments are included in the period in which they are paid,\\r\\n not necessarily the period in which the event occurred.\\r\\n

    \\r\\n

    \\r\\n \\r\\n To view your chain’s net sales for a specific time period, please click “Sales History” link.\\r\\n \\r\\n \\r\\n To view your net sales for a specific time period, please click “Sales History” link.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    0, 'delta-percentage-negative': tab.netSalesDelta < 0}\\\">\\r\\n \\r\\n {{ tab.netSalesDelta | number:2 }}%\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ tab.title }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget.html\n// module id = 1585\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('net-sales-routing', []).config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('net-sales-history', {\r\n parent: 'arw',\r\n url: '/net-sales/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Sales History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-routing-module.js","import angular from 'angular';\r\n\r\nimport NetSalesHistoryPageComponent from './net-sales-history-page-component';\r\nimport { NetSalesHistoryPageController } from './net-sales-history-page-controller';\r\n\r\nexport default angular\r\n .module('net-sales-history-page', [])\r\n .controller('NetSalesHistoryPageController', NetSalesHistoryPageController)\r\n .component('netSalesHistoryPage', NetSalesHistoryPageComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-module.js","import template from './net-sales-history-page.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'NetSalesHistoryPageController'\r\n};\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Total Net Sales\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
  • \\r\\n\\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n\\r\\n
  • \\r\\n\\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page.html\n// module id = 1589\n// module chunks = 0","import isEmpty from 'lodash/isEmpty';\r\nimport { fetchNetSalesSummary } from 'dashboard/actions/net-sales/net-sales-summary.actions';\r\nimport { downloadNetSalesHistoryReport, fetchNetSalesDetails } from 'dashboard/actions/net-sales/net-sales-details.actions';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport tabs from '../../tabs';\r\n\r\nconst mapStateToThis = ({ session, netSales, ui, dictionary }) => {\r\n const { locale } = session;\r\n const { activeTab } = ui;\r\n const { netSalesSummary, instantGames, drawGames } = netSales;\r\n const { WTD, MTD, QTD, YTD } = tabs;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n activeTab,\r\n drawGames,\r\n instantGames,\r\n netSalesSummary,\r\n activeSummaryPeriod: netSalesSummary[activeTab],\r\n activeInstantGamesPeriod: instantGames[activeTab],\r\n activeDrawGamesPeriod: drawGames[activeTab],\r\n WTD,\r\n MTD,\r\n QTD,\r\n YTD,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchNetSalesSummary,\r\n fetchNetSalesDetails,\r\n setActiveTab,\r\n downloadNetSalesHistoryReport,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService')\r\nexport class NetSalesHistoryPageController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.tabs = tabs;\r\n this.retailerId = this.$state.params.retailerNo;\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n this.drawGamesHeader = this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular });\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n this.instantGamesHeader = this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular });\r\n\r\n }\r\n\r\n async $onInit() {\r\n await Promise.all([\r\n this.fetchNetSalesDetails(this.retailerId),\r\n this.fetchNetSalesSummary()\r\n ]);\r\n this.setActiveTab(this.WTD, 'activeTab');\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n downloadReport(extension) {\r\n const config = {\r\n id: this.retailerId,\r\n periodType: this.activeTab,\r\n extension,\r\n };\r\n\r\n const gaConfig = {\r\n source: this.gettextCatalog.getString('Net Sales History'),\r\n type: this.activeTab,\r\n format: extension,\r\n };\r\n\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(gaConfig);\r\n return this.downloadNetSalesHistoryReport(config);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-controller.js","import * as api from 'dashboard/resources/net-sales.api.js';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchNetSalesDetailsRequest = () => ({\r\n type: actionTypes.FETCH_NET_SALES_DETAILS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchNetSalesDetailsSuccess = (netSalesDetails) => ({\r\n type: actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS,\r\n netSalesDetails,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesDetailsFailure = () => ({\r\n type: actionTypes.FETCH_NET_SALES_DETAILS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesDetails = (id = null) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchNetSalesDetailsRequest());\r\n\r\n const netSalesDetails = await api.fetchNetSalesDetails({ retailerId });\r\n dispatch(fetchNetSalesDetailsSuccess(netSalesDetails));\r\n } catch (error) {\r\n console.error('NET_SALES_DETAILS', error);\r\n dispatch(fetchNetSalesDetailsFailure());\r\n }\r\n};\r\n\r\nexport const downloadNetSalesReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_NET_SALES_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadNetSalesReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_NET_SALES_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadNetSalesReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_NET_SALES_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadNetSalesHistoryReport = ({ id = null, extension, periodType }) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(downloadNetSalesReportRequest());\r\n\r\n dispatch(downloadNetSalesReportSuccess());\r\n return api.downloadNetSalesHistoryReport({ retailerId, extension, periodType });\r\n } catch (error) {\r\n console.error('DOWNLOAD_NET_SALES_REPORT', error);\r\n dispatch(downloadNetSalesReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/net-sales/net-sales-details.actions.js","import angular from 'angular';\r\n\r\nimport NetSalesGameListComponent from './net-sales-game-list-component';\r\n\r\nexport default angular\r\n .module('net-sales-game-list', [])\r\n .component('netSalesGameList', NetSalesGameListComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-module.js","import template from './net-sales-game-list.html';\r\n\r\nexport default {\r\n template,\r\n bindings: {\r\n games: '<',\r\n label: '<',\r\n header: '<',\r\n netSalesTotal: '<',\r\n locale: '<',\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.header }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n The arrows indicate how your sales performance is trending compared to the same period last year.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Net Sales\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n {{game.gameName}}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Net Sales\\r\\n
    \\r\\n
    \\r\\n 0, 'delta-percentage-negative': game.netSalesDelta < 0}\\\">\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n Net Sales\\r\\n
    \\r\\n
    \\r\\n 0, 'delta-percentage-negative': game.netSalesDelta < 0}\\\">\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list.html\n// module id = 1594\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport BigWinnersWidgetComponent from './big-winners-widget-component';\r\nimport BigWinnersHistoryComponent from './components/big-winners-history-component';\r\n\r\nexport default angular\r\n .module('big-winners-widget', [])\r\n .component('bigWinnersWidget', new BigWinnersWidgetComponent())\r\n .component('bigWinnersHistory', new BigWinnersHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('bigWinners-history', {\r\n parent: 'arw',\r\n url: '/big-winners/history/:retailerNo?isDisabledShare',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Historical Winners')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { INSTANT_GAME_TYPE, DRAW_GAME_TYPE } from 'app/config/gametype';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isChainHeadSelector, isSuperChainSelector } from 'selectors/index';\r\nimport * as api from 'dashboard/resources/big-winners.api';\r\nimport template from './big-winners-widget.html';\r\n\r\nconst BIG_WINNERS_HISTORY = 'bigWinners.history';\r\n\r\nconst mapStateToThis = ({ session, config, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { bigWinnersSellPeriodDays } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n isSuperChain,\r\n isChainHead,\r\n bigWinnersSellPeriodDays,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass BigWinnersController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.INSTANT_GAME_TYPE = INSTANT_GAME_TYPE;\r\n this.DRAW_GAME_TYPE = DRAW_GAME_TYPE;\r\n this.isHistoryLinkVisible = (!this.isSuperChain || this.isChainHead) && this.checkAccess(BIG_WINNERS_HISTORY);\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchBigWinners(retailerId, this.gameType));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class BigWinnersComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n gameType: '@',\r\n };\r\n this.template = template;\r\n this.controller = BigWinnersController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n {{ instant }} Games: You Sold Big Winners!\\r\\n \\r\\n \\r\\n {{ draw }} Games: You Sold Big Winners!\\r\\n \\r\\n You Sold Big Winners!\\r\\n\\r\\n \\r\\n Historical Winners\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n 4}\\\"\\r\\n ng-if=\\\"$ctrl.data.length !== 0\\\">\\r\\n \\r\\n
    \\r\\n \\\"\\\"\\r\\n\\r\\n\\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n \\r\\n Drawn on\\r\\n \\r\\n \\r\\n \\r\\n Cashed on\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n \\r\\n Store #{{ storeNo }}\\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n \\r\\n Retailer\\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n No big winners sold in the last {{ daysNumber }} days\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget.html\n// module id = 1597\n// module chunks = 0","import moment from 'moment';\r\nimport { isChainHeadSelector, isStoreProfileSelector } from 'selectors/index';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { fetchBigWinnersHistory, downloadBigWinnersHistoryReport } from 'dashboard/actions/big-winners/big-winners.actions';\r\nimport { DRAW_GAME_TYPE, INSTANT_GAME_TYPE } from 'app/config/gametype';\r\nimport template from './big-winners-history.html';\r\n\r\nconst NUMBER_OF_MONTHS = 13;\r\n\r\nconst mapStateToThis = ({ session, config, bigWinners, ui, dictionary }) => {\r\n const { locale, salesPeriodTimestamp, retailer } = session;\r\n const { defaultPageNo, pageSizeKey, defaultPageSizes, sortColumnKey, directionKey } = config;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const { items, isLoading } = bigWinners;\r\n const { pagination } = ui;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n salesPeriodTimestamp,\r\n retailer,\r\n defaultPageNo,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n directionKey,\r\n isChainHead,\r\n isStoreProfile,\r\n items,\r\n isLoading,\r\n pagination,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchBigWinnersHistory,\r\n downloadBigWinnersHistoryReport,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService', 'tableService')\r\nclass BigWinnersHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.tableConfig = this.tableService.initConfig({ configName: 'bigWinnersHistory' });\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.gameTypes = this.generateGameTypes();\r\n this.periods = this.generatePeriods();\r\n this.isDisabledShare = this.$state.params.isDisabledShare;\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'drawDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchBigWinnersHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n generateGameTypes() {\r\n return [\r\n {\r\n id: undefined,\r\n text: this.gettextCatalog.getString('All'),\r\n },\r\n {\r\n id: INSTANT_GAME_TYPE,\r\n text: this.terms.INSTANT.singular,\r\n },\r\n {\r\n id: DRAW_GAME_TYPE,\r\n text: this.terms.DRAW.singular,\r\n },\r\n ];\r\n }\r\n\r\n generatePeriods() {\r\n const arr = [];\r\n for (let i = 0; i < NUMBER_OF_MONTHS; i++) {\r\n const date = moment.unix(this.salesPeriodTimestamp).subtract(i, 'months').endOf('month');\r\n arr.push({\r\n id: date.format('YYYY-MM-DD'),\r\n text: date.format('MMM YYYY'),\r\n });\r\n }\r\n\r\n return arr;\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n gameType: this.gameTypes[0].id,\r\n monthEndDate: this.periods[0].id,\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('BIG_WINNERS_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n return this.search();\r\n }\r\n\r\n getHeaders() {\r\n let headers = [\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Winning Amount'),\r\n field: 'wonAmount',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Validation Date'),\r\n field: 'drawDate',\r\n sortable: true,\r\n itextAlignment: 'text-center',\r\n },\r\n ];\r\n\r\n if (this.isChainHead && !this.isStoreProfile) {\r\n const chainHeadHeaders = [\r\n {\r\n text: this.gettextCatalog.getString('Store No.'),\r\n field: 'storeNum',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer Name'),\r\n field: 'retailerName',\r\n sortable: true,\r\n },\r\n ];\r\n\r\n headers = headers.concat(chainHeadHeaders);\r\n }\r\n\r\n headers = headers.concat([\r\n {\r\n text: '',\r\n },\r\n ]);\r\n\r\n return headers;\r\n }\r\n\r\n downloadReport(format) {\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Winner History'),\r\n type: this.gridModel.pagingModel.filters.monthEndDate,\r\n format,\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n ...this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n return this.downloadBigWinnersHistoryReport(params, format);\r\n }\r\n}\r\n\r\nexport default class BigWinnersHistoryComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = BigWinnersHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history-component.js","import * as api from 'dashboard/resources/big-winners.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchBigWinnersHistoryRequest = () => ({\r\n type: actionTypes.FETCH_BIG_WINNERS_HISTORY_REQUEST,\r\n name: 'bigWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchBigWinnersHistorySuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_BIG_WINNERS_HISTORY_SUCCESS,\r\n name: 'bigWinnersStatusLoadingStatus',\r\n items,\r\n pagination,\r\n});\r\n\r\nexport const fetchBigWinnersHistoryFailure = () => ({\r\n type: actionTypes.FETCH_BIG_WINNERS_HISTORY_FAILURE,\r\n name: 'bigWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchBigWinnersHistory = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.filters.retailerId || session.retailer.retailerId;\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(fetchBigWinnersHistoryRequest());\r\n const { content, ...pagination } = await api.fetchBigWinnersHistory(queryParams, retailerId);\r\n dispatch(fetchBigWinnersHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_BIG_WINNERS_HISTORY', error);\r\n dispatch(fetchBigWinnersHistoryFailure());\r\n }\r\n};\r\n\r\nexport const downloadBigWinnersHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadBigWinnersHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadBigWinnersHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadBigWinnersHistoryReport = (params, extension) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.retailerId || session.retailer.retailerId;\r\n\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(downloadBigWinnersHistoryReportRequest());\r\n dispatch(downloadBigWinnersHistoryReportSuccess());\r\n return api.downloadBigWinnersHistoryReport(queryParams, retailerId, extension);\r\n } catch (error) {\r\n console.error('DOWNLOAD_EARNINGS_HISTORY_REPORT', error);\r\n dispatch(downloadBigWinnersHistoryReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/big-winners/big-winners.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Game Category\\r\\n \\r\\n \\r\\n \\r\\n {{ item.text }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Month\\r\\n \\r\\n \\r\\n \\r\\n {{ item.text }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ ::item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.storeNum }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.retailerName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::item.gameName }}\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n {{ ::item.storeNum }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ ::item.retailerName }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history.html\n// module id = 1600\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport CumulativeWinnersWidgetComponent from './cumulative-winners-widget-component';\r\nimport CumulativeWinnersHistoryComponent from './components/cumulative-history-component';\r\n\r\nexport default angular\r\n .module('cumulative-winners-widget', [])\r\n .component('cumulativeWinnersWidget', new CumulativeWinnersWidgetComponent())\r\n .component('cumulativeHistory', new CumulativeWinnersHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('cumulativeWinners-history', {\r\n parent: 'arw',\r\n url: '/cumulative-winners/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Cashing History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-module.js","import merge from 'lodash/merge';\r\nimport sortBy from 'lodash/sortBy';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isStoreProfileSelector, isIndependentSelector, isChainSubordinateSelector } from 'selectors';\r\nimport * as api from 'dashboard/resources/cumulative-winners.api';\r\nimport template from './cumulative-winners-widget.html';\r\n\r\nconst CUMMULATIVE_HISTORY_PERMISSION = 'cumulativeWinners.history';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const isIndependent = isIndependentSelector({ session });\r\n const isChainSubordinate = isChainSubordinateSelector({ session });\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n isIndependent,\r\n isChainSubordinate,\r\n isStoreProfile,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$state')\r\nclass CumulativeWinnersWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.activeTabIdx = 0;\r\n this.isHistoryLinkVisible =\r\n (this.isIndependent || this.isChainSubordinate || this.isStoreProfile) && this.checkAccess(CUMMULATIVE_HISTORY_PERMISSION);\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchCumulativeWinners(retailerId), this.transformData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n const getTabInfo = (item) => {\r\n const info = {\r\n WTD: {\r\n title: this.gettextCatalog.getString('Paid to winners this week'),\r\n tabTitle: 'WTD',\r\n order: 1,\r\n periodType: 'WTD',\r\n },\r\n MTD: {\r\n title: this.gettextCatalog.getString('Paid to winners this month'),\r\n tabTitle: 'MTD',\r\n order: 2,\r\n periodType: 'MTD',\r\n },\r\n YTD: {\r\n title: this.gettextCatalog.getString('Paid to winners this year'),\r\n tabTitle: 'YTD',\r\n order: 3,\r\n periodType: 'YTD',\r\n },\r\n };\r\n\r\n return info[item.periodType];\r\n };\r\n\r\n return sortBy(\r\n data.reduce(\r\n (result, item) =>\r\n result.concat([\r\n merge(getTabInfo(item), {\r\n amount: item.validationAmount,\r\n wonDate: item.validationDate,\r\n }),\r\n ]),\r\n []\r\n ),\r\n ['order']\r\n );\r\n }\r\n}\r\n\r\nexport default class CumulativeWinnersWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = CumulativeWinnersWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Prizes Paid\\r\\n Cashing History\\r\\n

    \\r\\n \\r\\n \\r\\n The total ({{ draw }} plus {{ instant }} games) dollar amount of winning tickets cashed in your location during the selected period.\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n {{ tab.title }}\\r\\n

    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget.html\n// module id = 1603\n// module chunks = 0","import {\r\n fetchCumulativeWinnersHistory,\r\n downloadCumulativeWinnersHistoryReport,\r\n} from 'dashboard/actions/cumulative-winners/cumulative-winners.actions';\r\nimport { fetchTiersDictionary } from 'app/actions/dictionaries/tiers-dictionary.actions';\r\nimport { fetchInvoiceDatesDictionary } from 'app/actions/dictionaries/invoice-dates-dictionary.actions';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport CumulativeHistoryTemplate from './cumulative-history.html';\r\n\r\nconst mapStateToThis = ({ session, config, dictionary, cumulativeWinners, ui }) => {\r\n const { serverTime, retailer } = session;\r\n const { defaultPageNo, pageSizeKey, defaultPageSizes, sortColumnKey, directionKey } = config;\r\n const { tiers, invoiceDates } = dictionary;\r\n const { items, isLoading } = cumulativeWinners;\r\n const { pagination } = ui;\r\n\r\n return {\r\n serverTime,\r\n retailer,\r\n defaultPageNo,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n directionKey,\r\n tiers,\r\n invoiceDates,\r\n items,\r\n isLoading,\r\n pagination,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchTiersDictionary,\r\n fetchInvoiceDatesDictionary,\r\n fetchCumulativeWinnersHistory,\r\n downloadCumulativeWinnersHistoryReport,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService', 'tableService')\r\nclass CumulativeHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchDictionaries();\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.tableConfig = this.tableService.initConfig({ configName: 'cumulativeHistory' });\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'validationDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchCumulativeWinnersHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async fetchDictionaries() {\r\n return Promise.all([this.fetchTiersDictionary(), this.fetchInvoiceDatesDictionary()]);\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n invoiceEndDate: this.invoiceDates[0].id,\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('CUMULATIVE_WINNERS_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n return this.search();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Type'),\r\n field: 'type',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Winning Amount'),\r\n field: 'winningAmount',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Validation Date'),\r\n field: 'validationDate',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Ticket Number'),\r\n field: 'ticketNumber',\r\n sortable: true,\r\n },\r\n ];\r\n }\r\n\r\n downloadReport(format) {\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Cashing History'),\r\n type: this.gridModel.pagingModel.filters.invoiceEndDate,\r\n format,\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n ...this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n return this.downloadCumulativeWinnersHistoryReport(params, format);\r\n }\r\n}\r\n\r\nexport default class CumulativeWinnersHistoryComponent {\r\n constructor() {\r\n this.template = CumulativeHistoryTemplate;\r\n this.controller = CumulativeHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history-component.js","import * as api from 'dashboard/resources/cumulative-winners.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchCumulativeWinnersHistoryRequest = () => ({\r\n type: actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST,\r\n name: 'cumulativeWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchCumulativeWinnersHistorySuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS,\r\n name: 'cumulativeWinnersStatusLoadingStatus',\r\n items,\r\n pagination,\r\n});\r\n\r\nexport const fetchCumulativeWinnersHistoryFailure = () => ({\r\n type: actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE,\r\n name: 'cumulativeWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchCumulativeWinnersHistory = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.filters.retailerId || session.retailer.retailerId;\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(fetchCumulativeWinnersHistoryRequest());\r\n const { content, ...pagination } = await api.fetchCumulativeWinnersHistory(queryParams, retailerId);\r\n dispatch(fetchCumulativeWinnersHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_CUMULATIVE_WINNERS_HISTORY', error);\r\n dispatch(fetchCumulativeWinnersHistoryFailure());\r\n }\r\n};\r\n\r\nexport const downloadCumulativeWinnersHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadCumulativeWinnersHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadCumulativeWinnersHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadCumulativeWinnersHistoryReport = (params, extension) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.retailerId || session.retailer.retailerId;\r\n\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(downloadCumulativeWinnersHistoryReportRequest());\r\n dispatch(downloadCumulativeWinnersHistoryReportSuccess());\r\n return api.downloadCumulativeWinnersHistoryReport(queryParams, retailerId, extension);\r\n } catch (error) {\r\n console.error('DOWNLOAD_CUMULATIVE_HISTORY_REPORT', error);\r\n dispatch(downloadCumulativeWinnersHistoryReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/cumulative-winners/cumulative-winners.actions.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchTiersDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_TIERS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchTiersDictionarySuccess = (dictionary) => ({\r\n type: actionTypes.FETCH_TIERS_DICTIONARY_SUCCESS,\r\n dictionary,\r\n});\r\n\r\nexport const fetchTiersDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_TIERS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchTiersDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchTiersDictionaryRequest());\r\n const dictionary = await api.fetchTiersDictionary(locale);\r\n dispatch(fetchTiersDictionarySuccess(dictionary));\r\n } catch (error) {\r\n console.error('FETCH_TIERS_DICTIONARY', error);\r\n dispatch(fetchTiersDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/tiers-dictionary.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Invoice Week\\r\\n \\r\\n \\r\\n \\r\\n {{ item.value }}\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Type\\r\\n \\r\\n \\r\\n \\r\\n All\\r\\n \\r\\n \\r\\n {{ name }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ ::item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.type }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.ticketNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ ::item.gameName }}\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n {{ ::item.type }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ ::item.ticketNumber }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history.html\n// module id = 1607\n// module chunks = 0","import angular from 'angular';\r\nimport CurrentInstantGameLiabilityWidgetComponent from './current-instant-game-liability-widget-component';\r\n\r\nexport default angular\r\n .module('current-instant-game-liability-widget', [])\r\n .component('currentInstantGameLiabilityWidget', new CurrentInstantGameLiabilityWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport * as api from 'dashboard/resources/current-instant-game-liability.api';\r\nimport template from './current-instant-game-liability-widget.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass CurrentInstantGameLiabilityWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.showDetails = this.checkAccess('dashboard.widget.gameInventory');\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchMyCurrentLiability(this.retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class CurrentInstantGameLiabilityWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = CurrentInstantGameLiabilityWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchMyCurrentLiability = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.myCurrentLiability;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/current-instant-game-liability.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Current Liability\\r\\n Liability Details\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n The outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n {{ instant }} Game Liability\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget.html\n// module id = 1611\n// module chunks = 0","import angular from 'angular';\r\nimport ActualAndProjectedSettlementsWidgetComponent from './actual-and-projected-settlements-widget-component';\r\n\r\nexport default angular\r\n .module('actual-and-projected-settlements-widget', [])\r\n .component('actualAndProjectedSettlementsWidget', new ActualAndProjectedSettlementsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/actual-and-projected-settlements.api';\r\nimport template from './actual-and-projected-settlements-widget.html';\r\n\r\nconst mapStateToThis = ({ config, dictionary, session }) => {\r\n const { usesProjectedSettlements } = config;\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n retailer,\r\n usesProjectedSettlements,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog', 'RwAnalyticsService')\r\nclass ActualAndProjectedSettlementsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.projectedSettlements = this.gettextCatalog.getString('Projected Settlements');\r\n this.actualSettlements = this.gettextCatalog.getString('Actual Settlements');\r\n this.widgetTitle = this.usesProjectedSettlements ? this.projectedSettlements : this.actualSettlements;\r\n\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchActualAndProjectedSettlements(this.retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onDownloadReport() {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({\r\n source: this.gettextCatalog.getString('Actual / Projected Settlements'),\r\n type: '',\r\n format: 'xlsx',\r\n });\r\n return api.downloadActualSettlementsReport(this.retailerId, this.locale);\r\n }\r\n}\r\n\r\nexport default class ActualAndProjectedSettlementsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ActualAndProjectedSettlementsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchActualAndProjectedSettlements = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.actualAndProjectedSettlements;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadActualSettlementsReport = (retailerId, locale) => {\r\n const { url } = DepsService.rest.widgets.instant.settlements.downloadReport;\r\n const queryParams = {\r\n locale,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/actual-and-projected-settlements.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n {{ $ctrl.widgetTitle }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Total value of the outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status that are scheduled to settle during the current week and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n Est. Retail Value\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Week ending:\\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Sweep date:\\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget.html\n// module id = 1615\n// module chunks = 0","import angular from 'angular';\r\nimport NewGamesWidgetComponent from './new-games-widget-component';\r\n\r\nexport default angular.module('new-games-widget', []).component('newGamesWidget', new NewGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-module.js","import get from 'lodash/get';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport moment from 'moment';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/new-games.api';\r\nimport template from './new-games-widget.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', 'gettextCatalog')\r\nclass NewGamesWidgetController extends DashboardWidgetController {\r\n $onInit() {\r\n this.activeTabIdx = this.isEmptyGamesComing ? 1 : 0;\r\n this.isEmptyGamesComing = true;\r\n this.isEmptyGamesLaunched = true;\r\n this.gamesComing = [];\r\n this.gamesLaunched = [];\r\n this.loadDataAsync(() => Promise.all([this.getGamesComingData(), this.getGamesLaunchedData()]));\r\n }\r\n\r\n getGamesComingData() {\r\n return this.getGamesComing().then((result) => {\r\n this.isEmptyGamesComing = isEmpty(result);\r\n if (this.isEmptyGamesComing) {\r\n this.activeTabIdx = 1;\r\n }\r\n });\r\n }\r\n\r\n getGamesLaunchedData() {\r\n return this.getGamesLaunched().then((result) => {\r\n this.isEmptyGamesLaunched = isEmpty(result);\r\n if (this.isEmptyGamesLaunched) {\r\n this.activeTabIdx = 0;\r\n }\r\n });\r\n }\r\n\r\n getComingGamesLabelWithSpecifiedDate() {\r\n const launchDate = moment(get(this.gamesComing, '[0].distribution.launchDate')).format('MMM D');\r\n return `${this.gettextCatalog.getString('Coming')} ${launchDate}`;\r\n }\r\n\r\n getComingGamesLabelWithoutSpecifiedDate() {\r\n return `${this.gettextCatalog.getString('Coming Soon')}`;\r\n }\r\n\r\n getGamesComing() {\r\n return api.fetchGamesComing().then((data) => {\r\n this.gamesComing = data;\r\n this.comingGamesLabel = data.specifiedDate\r\n ? `${this.getComingGamesLabelWithSpecifiedDate()}`\r\n : `${this.getComingGamesLabelWithoutSpecifiedDate()}`;\r\n return Promise.resolve(this.gamesComing);\r\n });\r\n }\r\n\r\n getGamesLaunched() {\r\n return api.fetchGamesLaunched().then((data) => {\r\n this.gamesLaunched = data;\r\n return Promise.resolve(this.gamesLaunched);\r\n });\r\n }\r\n}\r\n\r\nexport default class NewGamesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = NewGamesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchGamesComing = () => {\r\n const { url } = DepsService.rest.widgets.instant.gamesComing;\r\n const queryParams = {};\r\n const urlParams = {};\r\n const path = 'widgets.instant.gamesComing';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchGamesLaunched = () => {\r\n const { url } = DepsService.rest.widgets.instant.gamesLaunched;\r\n const queryParams = {};\r\n const urlParams = {};\r\n const path = 'widgets.instant.gamesLaunched';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/new-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n New Games\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Click or hover on ticket image for game details.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget.html\n// module id = 1619\n// module chunks = 0","import angular from 'angular';\r\nimport MySlowMovingGamesWidgetComponent from './my-slow-moving-games-widget-component';\r\n\r\nexport default angular\r\n .module('my-slow-moving-games-widget', [])\r\n .component('mySlowMovingGamesWidget', new MySlowMovingGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/my-slow-moving-games.api';\r\nimport template from './my-slow-moving-games-widget.html';\r\n\r\nconst mapStateToThis = ({ config, dictionary, session }) => {\r\n const { instantWidgetsStaleGames, instantWidgetsValidationThreshold } = config;\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n instantWidgetsStaleGames,\r\n instantWidgetsValidationThreshold,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass MySlowMovingGamesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchMySlowMovingGames(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class MySlowMovingGamesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = MySlowMovingGamesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchMySlowMovingGames = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.mySlowMovingGames;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-slow-moving-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n My Slow-Moving Games\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Games in your inventory that were activated more than {{ ::$ctrl.instantWidgetsStaleGames }} days previously and are less than {{ ::$ctrl.instantWidgetsValidationThreshold }}% validated.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n

    \\r\\n \\r\\n Games in your inventory with {{ pack }} activated more than {{ ::$ctrl.instantWidgetsStaleGames }} days ago.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget.html\n// module id = 1623\n// module chunks = 0","import angular from 'angular';\r\nimport MyPricePointMixWidgetComponent from './my-price-point-mix-widget-component';\r\n\r\nexport default angular.module('my-price-point-mix-widget', []).component('myPricePointMixWidget', new MyPricePointMixWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-module.js","import merge from 'lodash/merge';\r\nimport every from 'lodash/every';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { getChartColors } from 'app/actions/theme.actions';\r\nimport * as api from 'dashboard/resources/my-price-point-mix.api';\r\nimport template from './my-price-point-mix-widget.html';\r\nimport chartConfig from './my-price-point-mix-chart.conf.json';\r\n\r\nconst mapStateToThis = ({ config, session, dictionary, theme }) => {\r\n const { locale, retailer } = session;\r\n const { pricePointMixWeeks } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n terms,\r\n theme,\r\n pricePointMixWeeks,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog', '$filter')\r\nclass MyPricePointMixWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.colors = getChartColors(this.theme.colors);\r\n this.chartConfig = this.extendChartConfig(chartConfig.donut);\r\n this.totalAmt = 0;\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchMyPricePointMix(retailerId), this.transformData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n this.checkIfAllEmptyData(data);\r\n let formattedData = data.map((item) => ({\r\n key: item.pricePoint,\r\n y: item.salesAmt,\r\n }));\r\n formattedData = this.setColors(formattedData);\r\n this.setPricePoints(formattedData);\r\n if (this.chartApi) {\r\n this.chartApi.updateWithData(formattedData);\r\n }\r\n\r\n return formattedData;\r\n }\r\n\r\n setColors(data) {\r\n return data.map((item, index) => ({\r\n ...item,\r\n color: this.colors[index],\r\n }));\r\n }\r\n\r\n setPricePoints(data) {\r\n this.pricePoints = [];\r\n this.missingPricePoints = [];\r\n data.forEach((item) => {\r\n this.totalAmt += item.y;\r\n if (item.y) {\r\n this.pricePoints.push(item.key);\r\n } else {\r\n this.missingPricePoints.push(this.$filter('currency')(item.key, undefined, 0));\r\n }\r\n });\r\n this.missingPricePoints = this.missingPricePoints.join(', ');\r\n }\r\n\r\n extendChartConfig(chartConf) {\r\n return merge(chartConf, {\r\n chart: {\r\n x: (d) => this.$filter('currency')(d.key, undefined, 0),\r\n tooltip: {\r\n valueFormatter: (tickVal) => {\r\n const percent = Math.round((tickVal / this.totalAmt) * 100, 0);\r\n return `${percent}% ${this.gettextCatalog.getString('of sales')},
    ${this.$filter('currency')(\r\n tickVal,\r\n undefined,\r\n 0\r\n )} ${this.gettextCatalog.getString('in sales')}`;\r\n },\r\n },\r\n dispatch: {\r\n renderEnd: () => this.centerText(),\r\n },\r\n },\r\n });\r\n }\r\n\r\n centerText() {\r\n const svg = d3.select('.my-price-point-mix-widget--chart-area svg');\r\n const donut = svg.select('g.nv-pie .nv-pie');\r\n\r\n // Insert first line of text into middle of donut pie chart\r\n donut\r\n .insert('text', 'g')\r\n .text(this.gettextCatalog.getString('Last ') + this.pricePointMixWeeks)\r\n .attr('class', 'middle')\r\n .attr('text-anchor', 'middle')\r\n .attr('dy', '-.55em')\r\n .style('fill', '#606060');\r\n // Insert second line of text into middle of donut pie chart\r\n donut\r\n .insert('text', 'g')\r\n .text(this.gettextCatalog.getString(\"Weeks' Sales\"))\r\n .attr('class', 'middle')\r\n .attr('text-anchor', 'middle')\r\n .attr('dy', '.85em')\r\n .style('fill', '#606060');\r\n }\r\n\r\n checkIfAllEmptyData(data) {\r\n this.isEmptyData = every(data, { salesAmt: 0 });\r\n }\r\n}\r\n\r\nexport default class MyPricePointWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = MyPricePointMixWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'theme';\r\n\r\nexport const saveTheme = async (theme) => {\r\n const url = DepsService.rest.theme.url;\r\n\r\n return await DepsService.restSrv.update(CONTEXT, url, theme);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/theme.api.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchMyPricePointMix = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.myPricePointMix;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.instant.myPricePointMix';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-price-point-mix.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n My Price Point Mix\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Your {{ instant }} ticket sales (estimates based on validations) over the last {{ weeks }} full calendar weeks.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n No {{$ctrl.missingPricePoints}} ticket sales\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget.html\n// module id = 1632\n// module chunks = 0","module.exports = {\"donut\":{\"chart\":{\"type\":\"pieChart\",\"height\":210,\"showLabels\":false,\"donut\":true,\"donutRatio\":1.25,\"showLegend\":false,\"growOnHover\":false,\"tooltip\":{\"enabled\":true,\"classes\":\"my-price-point-mix-tooltip\"}},\"noData\":\"\",\"xAxis\":{\"showMaxMin\":false}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-chart.conf.json\n// module id = 1633\n// module chunks = 0","import * as angular from 'angular';\r\nimport MyNetSalesPerformanceWidgetComponent from './my-net-sales-performance-widget-component';\r\n\r\nexport default angular\r\n .module('my-net-sales-performance-widget', ['nvd3'])\r\n .component('myNetSalesPerformanceWidget', new MyNetSalesPerformanceWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-module.ts","import * as isEmpty from 'lodash/isEmpty.js';\r\nimport { IComponentOptions, IFilterService } from 'angular';\r\nimport { INgRedux } from 'ng-redux';\r\nimport { getChartColors } from 'app/actions/theme.actions.js';\r\nimport api from 'dashboard/resources/my-net-sales-performance.api';\r\nimport { NetSales, NetSalesTranslation, SalesCategory, WeeklySales } from 'dashboard/resources/my-net-sales-performance.types';\r\nimport { IMyNetSalesPerformanceWidgetComponentController, SelectOption } from './my-net-sales-performance-widget.types';\r\nimport * as template from './my-net-sales-performance-widget.html';\r\n\r\nconst CATEGORY_ALL = 'All';\r\nconst THIS_YEAR = 'ThisYear';\r\n\r\nconst mapStateToThis = ({ session, theme, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n theme,\r\n retailer,\r\n terms,\r\n };\r\n};\r\n\r\nclass MyNetSalesPerformanceWidgetController implements IMyNetSalesPerformanceWidgetComponentController {\r\n // prettier-ignore\r\n static $inject = [\r\n '$scope',\r\n '$ngRedux',\r\n '$state',\r\n '$filter',\r\n 'gettextCatalog',\r\n ];\r\n\r\n public isEditMode: boolean;\r\n public isRemovable: boolean;\r\n public removeWidget: any;\r\n\r\n private unsubscribe: any;\r\n private isEmpty: boolean;\r\n private isLoading: boolean;\r\n private isMaintenance: boolean;\r\n private terms: any;\r\n private retailer: any;\r\n private retailerId: number;\r\n private locale: string;\r\n private data: NetSales[];\r\n private translations: NetSalesTranslation[];\r\n private allCategories: SalesCategory[];\r\n private categories: SelectOption[] = [];\r\n private categoryId: number;\r\n private dataTypes: SelectOption[] = [];\r\n private dataTypeId: number;\r\n private theme: any;\r\n private colors: any;\r\n private chartOptions: any;\r\n private chartData: any;\r\n\r\n // prettier-ignore\r\n constructor(\r\n protected $scope: any,\r\n protected $ngRedux: INgRedux,\r\n protected $state: any,\r\n protected $filter: IFilterService,\r\n protected gettextCatalog: any\r\n ) {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = parseInt(this.$state.params.retailerNo, 10) || this.retailer.retailerId;\r\n this.colors = getChartColors(this.theme.colors);\r\n this.$scope.$applyAsync(\r\n this.fetchData().then(() => {\r\n this.setDataTypes();\r\n this.setChartOptions();\r\n this.setChartData();\r\n })\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n setDataTypes() {\r\n this.data.forEach((item: NetSales) => {\r\n if (item.name !== THIS_YEAR) {\r\n this.dataTypes.push({\r\n id: item.displayNumber,\r\n label: this.findTranslationValue(item.name),\r\n });\r\n }\r\n });\r\n this.dataTypeId = this.dataTypes.length > 0 ? this.dataTypes[0].id : null;\r\n }\r\n\r\n async fetchData() {\r\n try {\r\n this.isMaintenance = false;\r\n this.isEmpty = true;\r\n this.isLoading = true;\r\n await Promise.all([this.fetchMyNetSalesTranslations(), this.fetchAllCategories()]);\r\n await this.fetchNetSalesData();\r\n } catch (error) {\r\n this.isMaintenance = true;\r\n console.error('FETCH_DATA_MY_NET_SALES_PERFORMANCE_WIDGET', error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n async fetchMyNetSalesTranslations() {\r\n this.translations = await api.fetchMyNetSalesTranslations(this.locale);\r\n }\r\n\r\n findTranslationValue(name) {\r\n const { value } = this.translations.find((translation: NetSalesTranslation) => translation.name === name) || {};\r\n return value;\r\n }\r\n\r\n async fetchAllCategories() {\r\n this.allCategories = await api.fetchSalesCategories();\r\n this.setCategories();\r\n }\r\n\r\n setCategories() {\r\n const allCategory = this.allCategories.find((category: SalesCategory) => category.categoryType === CATEGORY_ALL);\r\n\r\n this.categories = [\r\n {\r\n id: 0, // allCategory.id,\r\n label: this.gettextCatalog.getString('Total {{ draw }} and {{ instant }} Game Sales', {\r\n instant: this.terms.INSTANT.singular,\r\n draw: this.terms.DRAW.singular,\r\n }),\r\n },\r\n {\r\n id: 1, // instantCategory.id,\r\n label: this.gettextCatalog.getString('{{ instant }} Game Sales', { instant: this.terms.INSTANT.singular }),\r\n },\r\n {\r\n id: 2, // drawCategory.id,\r\n label: this.gettextCatalog.getString('{{ draw }} Game Sales', { draw: this.terms.DRAW.singular }),\r\n },\r\n ];\r\n\r\n this.categoryId = allCategory ? allCategory.id : null;\r\n }\r\n\r\n async fetchNetSalesData() {\r\n this.data = await api.fetchMyNetSalesPerformanceData(this.retailerId, this.categoryId);\r\n this.isEmpty = isEmpty(this.data);\r\n }\r\n\r\n setChartData() {\r\n const [color1, color2] = this.colors;\r\n this.chartData = [];\r\n const dataItemThisYear = this.data.find((item: NetSales) => item.name === THIS_YEAR);\r\n const dataItemComparison = this.data.find((item: NetSales) => item.displayNumber === this.dataTypeId);\r\n\r\n const getLineChartData = (color, netSales: NetSales, netSalesForComparison: NetSales) => {\r\n const compareWeeklySales = (weeklySales1: WeeklySales, weeklySales2: WeeklySales) =>\r\n weeklySales1 && weeklySales2 ? weeklySales1.sales - weeklySales2.sales : 0;\r\n\r\n return {\r\n color,\r\n key: this.findTranslationValue(netSales.name),\r\n values:\r\n netSales.weeklySales.length > 0\r\n ? netSales.weeklySales.map((weeklySales: WeeklySales) => {\r\n const weeklySalesComparison =\r\n netSalesForComparison.weeklySales.length > 0\r\n ? netSalesForComparison.weeklySales.find(\r\n (weeklySales2: WeeklySales) => weeklySales2.weekNumber === weeklySales.weekNumber\r\n )\r\n : null;\r\n\r\n return {\r\n x: weeklySales.weekNumber,\r\n y: weeklySales.sales,\r\n weekEndDate: weeklySales.weekEndDate,\r\n comparison: compareWeeklySales(weeklySales, weeklySalesComparison),\r\n };\r\n })\r\n : [],\r\n };\r\n };\r\n\r\n this.chartData = [\r\n getLineChartData(color1, dataItemThisYear, dataItemComparison),\r\n getLineChartData(color2, dataItemComparison, dataItemThisYear),\r\n ];\r\n }\r\n\r\n setChartOptions() {\r\n const currencySymbol = undefined;\r\n const currencyFractionSize = 0;\r\n\r\n this.chartOptions = {\r\n chart: {\r\n clipEdge: false,\r\n type: 'lineChart',\r\n height: 280,\r\n margin: { left: 90 },\r\n showLabels: false,\r\n showLegend: false,\r\n growOnHover: false,\r\n tooltips: {\r\n enabled: true,\r\n },\r\n xAxis: {\r\n showMaxMin: false,\r\n axisLabel: this.gettextCatalog.getString('Week'),\r\n },\r\n yAxis: {\r\n showMaxMin: false,\r\n tickFormat: (tickVal) => {\r\n return this.$filter('currency')(tickVal, currencySymbol, currencyFractionSize);\r\n },\r\n },\r\n tooltip: {\r\n // eslint-disable-next-line consistent-return\r\n contentGenerator: (e) => {\r\n const { point } = e;\r\n const { color, y: value, weekEndDate, comparison } = point;\r\n return `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ${\r\n comparison\r\n ? `= 0 ? 'success' : 'danger'}\">\r\n \r\n \r\n `\r\n : ''\r\n }\r\n \r\n
    \r\n ${this.gettextCatalog.getString('Week ending')}\r\n \r\n ${this.$filter('date')(weekEndDate, 'shortDate')}\r\n
    \r\n
    \r\n
    \r\n ${this.$filter('currency')(Math.round(value), currencySymbol, currencyFractionSize)}\r\n
    = 0 ? 'fa-level-up' : 'fa-level-down'}\">${comparison.toFixed(2)}%
    `;\r\n },\r\n },\r\n },\r\n };\r\n }\r\n\r\n async onChangeCategory() {\r\n await this.fetchNetSalesData();\r\n this.setChartData();\r\n }\r\n}\r\n\r\nexport default class MyNetSalesPerformanceWidgetComponent implements IComponentOptions {\r\n public bindings: any;\r\n public template: any;\r\n public controller: any;\r\n\r\n constructor() {\r\n this.template = template;\r\n this.controller = MyNetSalesPerformanceWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-component.ts","import DepsService from 'services/dependencies.js';\r\nimport { NetSales, NetSalesTranslation, SalesCategory } from './my-net-sales-performance.types';\r\n\r\nconst CONTEXT = 'dashboard';\r\nconst NUMBER_OF_WEEKS = 52;\r\n\r\nconst fetchMyNetSalesPerformanceData = (\r\n retailerId: number,\r\n salesCategoryId: number,\r\n numberOfWeeks: number = NUMBER_OF_WEEKS\r\n): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.myNetSalesPerformance;\r\n const queryParams = {\r\n salesCategoryId,\r\n numberOfWeeks,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchSalesCategories = (): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.salesCategories;\r\n const queryParams = {};\r\n const urlParams = {};\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchMyNetSalesTranslations = (locale: string): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.myNetSalesTranslations;\r\n const queryParams = { locale };\r\n const urlParams = {};\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchMyNetSalesPerformanceData,\r\n fetchSalesCategories,\r\n fetchMyNetSalesTranslations,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-net-sales-performance.api.ts","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n My Net Sales Performance\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Your net sales by week (based on validations) this calendar year to date, measured against your own sales the previous year; average lottery sales by\\r\\n retailers in your geographical area this year; and average lottery sales in the state by retailers in your same business type this year.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Game Type\\r\\n \\r\\n \\r\\n \\r\\n {{ category.label }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Compare your CY weekly sales with\\r\\n \\r\\n \\r\\n \\r\\n {{ dataType.label }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ item.key }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget.html\n// module id = 1637\n// module chunks = 0","import angular from 'angular';\r\nimport ViewFullGameInventoryWidgetComponent from './view-full-game-inventory-widget-component';\r\n\r\nexport default angular\r\n .module('view-full-game-inventory-widget', [])\r\n .component('viewFullGameInventoryWidget', new ViewFullGameInventoryWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport template from './view-full-game-inventory-widget.html';\r\n\r\n/* Redux */\r\nconst mapStateToThis = ({ session }) => ({\r\n retailer: session.retailer,\r\n});\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass ViewFullGameInventoryWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerNo = this.$state.params.retailerNo || this.retailer.retailerId;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ViewFullGameInventoryWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ViewFullGameInventoryWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n View Inventory\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget.html\n// module id = 1640\n// module chunks = 0","import angular from 'angular';\r\nimport TopSellingGamesWidgetComponent from './top-selling-games-widget-component';\r\n\r\nexport default angular.module('top-selling-games-widget', []).component('topSellingGamesWidget', new TopSellingGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport take from 'lodash/take';\r\nimport * as api from 'dashboard/resources/top-selling-games.api';\r\nimport template from './top-selling-games-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass TopSellingGamesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.rankings = [\r\n { id: 0, title: this.gettextCatalog.getString('In the state') },\r\n { id: 1, title: this.gettextCatalog.getString('In your store') },\r\n ];\r\n this.ranking = 0;\r\n this.activeTabIdx = 0;\r\n this.loadDataAsync(() =>\r\n Promise.all([this.getTop10(), this.getTopSellersByPrice()]).then((results) => {\r\n this.isEmptyTopRankings = isEmpty(results[0]);\r\n this.isEmptyTopSellers = isEmpty(results[1]);\r\n })\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getTop10() {\r\n return api.fetchTop10(this.retailerId).then((data) => {\r\n this.topAll = data;\r\n this.sortTop10();\r\n return Promise.resolve(this.topAll);\r\n });\r\n }\r\n\r\n sortTop10() {\r\n if (this.ranking === 0) {\r\n this.top10 = take(this.topAll.sort(this.stateSalesComparator.bind(this)), 10);\r\n } else {\r\n this.top10 = take(this.topAll.sort(this.storeSalesComparator.bind(this)), 10);\r\n }\r\n }\r\n\r\n stateSalesComparator({ stateSalesRank: a }, { stateSalesRank: b }) {\r\n return this.customComparator(a, b);\r\n }\r\n\r\n storeSalesComparator({ storeSalesRank: a }, { storeSalesRank: b }) {\r\n return this.customComparator(a, b);\r\n }\r\n\r\n customComparator(a, b) {\r\n if (a === b) {\r\n return 0;\r\n }\r\n if (a === 0) {\r\n return 1;\r\n }\r\n if (b === 0) {\r\n return -1;\r\n }\r\n return a < b ? -1 : 1;\r\n }\r\n\r\n getTopSellersByPrice() {\r\n return api.fetchTopSellersByPrice(this.retailerId).then((data) => {\r\n this.topSellersByPrice = data.reduce((prev, curr) => {\r\n let added = prev.find((search) => search.pricePoint === curr.pricePoint);\r\n if (!added) {\r\n added = {\r\n pricePoint: curr.pricePoint,\r\n };\r\n prev = prev.concat(added);\r\n }\r\n\r\n const index = curr.salesRank === 1 || !added.gameName1 ? 1 : 2;\r\n added[`gameName${index}`] = curr.gameName;\r\n added[`gameNumber${index}`] = curr.gameNumber;\r\n added[`salesRank${index}`] = curr.salesRank;\r\n added[`imageURL${index}`] = curr.imageURL;\r\n return prev;\r\n }, []);\r\n return Promise.resolve(this.topSellersByPrice);\r\n });\r\n }\r\n}\r\n\r\nexport default class TopSellingGamesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = TopSellingGamesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchTop10 = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.top10;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.instant.top10';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchTopSellersByPrice = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.topSellersByPrice;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.instant.top10';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/top-selling-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Top-Selling Games\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Based on validations for the past week. “X” indicates that you have had no validations for this game in the past week\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ ranking.title }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n #{{game.stateSalesRank}}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{game.gameName}}\\r\\n

    \\r\\n

    #{{game.storeSalesRank}} {{$ctrl.rankings[1].title | lowercase}}

    \\r\\n

    \\r\\n No validations last week\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n #{{game.storeSalesRank}}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{game.gameName}}\\r\\n

    \\r\\n

    #{{game.stateSalesRank}} {{$ctrl.rankings[0].title | lowercase}}

    \\r\\n

    \\r\\n No validations last week\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n #1\\r\\n
    \\r\\n
    \\r\\n #2\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{game.gameName1}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{game.gameName2}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget.html\n// module id = 1645\n// module chunks = 0","import angular from 'angular';\r\nimport MessagesWidgetComponent from './messages-widget-component';\r\n\r\nexport default angular.module('messages-widget', []).component('messagesWidget', new MessagesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchMessagesList, resetInbox } from 'message/actions/inbox.actions';\r\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\r\nimport { isRetailerDashboardSelector } from 'selectors';\r\nimport MessagesWidgetTemplate from './messages-widget.html';\r\n\r\nconst mapStateToThis = ({ messages, session, config, retailerDashboards }) => {\r\n const { unreadCount, inbox, isLoading } = messages;\r\n const { locale } = session;\r\n const { defaultPageNo } = config;\r\n const isRetailerDashboard = isRetailerDashboardSelector({ retailerDashboards });\r\n\r\n return {\r\n unreadCount,\r\n isLoading,\r\n messages: inbox,\r\n locale,\r\n isRetailerDashboard,\r\n defaultPageNo,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchMessagesList,\r\n fetchUnreadMessagesCount,\r\n resetInbox,\r\n};\r\n\r\nconst MESSAGE_COUNT = 3;\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass MessagesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.loadDataAsync(() =>\r\n this.isRetailerDashboard\r\n ? Promise.resolve()\r\n : Promise.all([\r\n this.fetchMessagesList({\r\n setPagination: false, // param to omit pagination calculation to avoid UI collision in widgets [RWZ-7697]\r\n pageNumber: this.defaultPageNo,\r\n pageSize: MESSAGE_COUNT,\r\n sortProperty: 'creationDate',\r\n ascending: false,\r\n }),\r\n this.fetchUnreadMessagesCount(),\r\n ])\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.resetInbox();\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class MessagesWidgetComponent {\r\n constructor() {\r\n this.template = MessagesWidgetTemplate;\r\n this.controller = MessagesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n Messages\\r\\n \\r\\n \\r\\n ({{$ctrl.unreadCount}})\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n View All\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n Up to three most recent messages are displayed on the dashboard. Click on any message to read the full text. Select “View All” to view and manage your inbox.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n

    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Subject:\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ message.authorName }}\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    You have no messages at this time.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/messages/messages-widget.html\n// module id = 1648\n// module chunks = 0","import angular from 'angular';\r\nimport LicenseRenewalWidgetComponent from './lottery-representatives-widget-component';\r\n\r\nexport default angular\r\n .module('lottery-representatives-widget', [])\r\n .component('lotteryRepresentativesWidget', new LicenseRenewalWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-module.js","import isEmpty from 'lodash/isEmpty';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/lottery-representatives.api';\r\nimport template from './lottery-representatives-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass LotteryRepresentativesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n const transformData = ({ representatives }) =>\r\n representatives.map((rep) => {\r\n const initials = `${rep.firstName.charAt(0)}${rep.lastName.charAt(0)}`;\r\n return {\r\n initials,\r\n ...rep,\r\n };\r\n });\r\n this.loadDataAsync(() => api.fetchLotteryRepresentatives(retailerId), transformData, 'representatives');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class LotteryRepresentativesWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = LotteryRepresentativesWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchLotteryRepresentatives = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.lotteryRepresentatives;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/lottery-representatives.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Your Lottery Representatives\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n View the contact information for your Lottery Representatives. They can be contacted by using the links within the widget.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n {{ representative.initials }}\\r\\n
    \\r\\n\\r\\n \\r\\n ({{ representative.jobTitle }})\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ representative.firstName }} {{ representative.lastName}}\\r\\n\\r\\n \\r\\n ({{ representative.jobTitle }})\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget.html\n// module id = 1652\n// module chunks = 0","import angular from 'angular';\r\nimport SelfServiceOutOfStockWidgetComponent from './self-service-out-of-stock-widget-component';\r\n\r\nexport default angular\r\n .module('self-service-out-of-stock-widget', [])\r\n .component('selfServiceOutOfStockWidget', new SelfServiceOutOfStockWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-module.js","import get from 'lodash/get';\r\nimport moment from 'moment';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/self-service-out-of-stock.api';\r\nimport template from './self-service-out-of-stock-widget.html';\r\nimport chartConfig from './self-service-out-of-stock-chart-config.json';\r\nimport { extendChartConfig, parseTimeToHoursAndMinutes } from './self-service-out-of-stock-widget-service';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { retailer } = session;\r\n const { colorScale } = config;\r\n\r\n return {\r\n retailer,\r\n colorScale,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', 'RwAnalyticsService')\r\nclass SelfServiceOutOfStockWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.lost = 0;\r\n this.time = 0;\r\n this.factor = 0;\r\n this.timeToDisplay = '';\r\n this.downloadData = {\r\n fileName: 'Details',\r\n };\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchSelfServiceOutOfStock(this.retailerId), this.transformData.bind(this), 'content.content');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n let transformedData = get(data, 'content.content') || [];\r\n // sort by date\r\n transformedData = transformedData.sort((week1, week2) => {\r\n if (moment(week1.weekEndDate).isSame(week2.weekEndDate)) {\r\n return 0;\r\n }\r\n if (moment(week1.weekEndDate).isBefore(week2.weekEndDate)) {\r\n return -1;\r\n }\r\n return 1;\r\n });\r\n\r\n this.chartOptions = extendChartConfig(\r\n chartConfig,\r\n this.gettextCatalog,\r\n this.colorScale.find((color) => color.id === 'CHAIN_HEAD').label\r\n );\r\n this.chartModel = [\r\n {\r\n values: transformedData,\r\n },\r\n ];\r\n\r\n transformedData.forEach(({ estLostSales, timeNotSelling, oosFactor }) => {\r\n if (estLostSales || timeNotSelling || oosFactor) {\r\n this.isEmpty = false;\r\n this.lost += estLostSales;\r\n this.time += timeNotSelling;\r\n this.factor += oosFactor;\r\n }\r\n });\r\n\r\n this.timeToDisplay = parseTimeToHoursAndMinutes(this.time);\r\n // calculating average for the 13 weeks period\r\n if (transformedData.length > 0 && this.factor > 0) {\r\n this.factor /= transformedData.length;\r\n }\r\n\r\n return transformedData;\r\n }\r\n\r\n onDownloadReport() {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({\r\n source: this.gettextCatalog.getString('Self-Service Out of Stock'),\r\n type: '',\r\n format: 'xlsx',\r\n });\r\n return api.downloadLvmReport(this.retailerId);\r\n }\r\n}\r\n\r\nexport default class SelfServiceOutOfStockWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.controller = SelfServiceOutOfStockWidgetController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchSelfServiceOutOfStock = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.common;\r\n const queryParams = { retailerId };\r\n const urlParams = {\r\n type: 'lvm13Weeks',\r\n };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadLvmReport = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.lvm.downloadReport;\r\n const queryParams = { retailerId };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/self-service-out-of-stock.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Self-Service Out of Stock\\r\\n \\r\\n \\r\\n Details\\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n Displays the combined out-of-stock time (hours) and estimated lost sales for all bins in all self-service devices in this location; by week for the last 13 weeks.\\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n Est. lost sales\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    {{$ctrl.timeToDisplay}} h

    \\r\\n

    \\r\\n Time OoS\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    {{$ctrl.factor | number:2 | lspPercent}}

    \\r\\n

    \\r\\n OoS Factor\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n OoS 13-Week History\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget.html\n// module id = 1656\n// module chunks = 0","module.exports = {\"chart\":{\"type\":\"multiBarChart\",\"showValues\":false,\"showControls\":false,\"showLegend\":false,\"tooltip\":{\"enabled\":true},\"xAxis\":{\"rotateYLabel\":false,\"showMaxMin\":false},\"yAxis\":{\"showMaxMin\":false},\"height\":200,\"noData\":\"\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-chart-config.json\n// module id = 1657\n// module chunks = 0","import merge from 'lodash/merge';\r\nimport moment from 'moment';\r\n\r\nexport function extendChartConfig(chartConfig, gettext, color) {\r\n return merge(chartConfig, {\r\n chart: {\r\n x: (d) => moment(d.weekEndDate).format('MMM D'),\r\n y: (d) => d.timeNotSelling,\r\n // eslint-disable-next-line\r\n valueFormat: (val) => parseTimeToHoursAndMinutes(val),\r\n barColor: () => color,\r\n yAxis: {\r\n tickFormat(yAxisValue) {\r\n // eslint-disable-next-line\r\n return parseTimeToHoursAndMinutes(yAxisValue);\r\n },\r\n },\r\n },\r\n });\r\n}\r\n\r\nexport function parseTimeToHoursAndMinutes(timeInMs) {\r\n let h = Number.parseInt(moment.duration(timeInMs).asHours());\r\n let m = moment.duration(timeInMs).minutes();\r\n\r\n if (h < 10) h = `0${h}`;\r\n if (m < 10) m = `0${m}`;\r\n\r\n return `${h}:${m}`;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-service.js","import angular from 'angular';\r\nimport LicenseRenewalWidgetComponent from './license-renewal-widget-component';\r\nimport linkToLicenseRenewalFormMmodule from './components/link-to-license-renewal-form/link-to-license-renewal-form-module';\r\n\r\nexport default angular\r\n .module('license-renewal-widget', [linkToLicenseRenewalFormMmodule.name])\r\n .component('licenseRenewalWidget', new LicenseRenewalWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchLicenseRenewal } from 'dashboard/actions/license-renewal/license-renewal.actions';\r\nimport { isRetailerDashboardSelector, isChainHeadSelector } from 'selectors';\r\nimport template from './license-renewal-widget.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, config, licenseRenewal } = state;\r\n const { retailerDashboard, retailer } = session;\r\n const { licenseRenewalContactUrl, licenseRenewalEnabled } = config;\r\n const { retailers, isLoading } = licenseRenewal;\r\n\r\n const isChainHead = isChainHeadSelector(state);\r\n const isPreviewingRetailerDashboards = isRetailerDashboardSelector(state);\r\n\r\n return {\r\n retailer,\r\n retailerDashboard,\r\n licenseRenewalContactUrl,\r\n retailers,\r\n isLoading,\r\n isChainHead,\r\n licenseRenewalEnabled,\r\n isPreviewingRetailerDashboards,\r\n isEmpty: retailers.length === 0,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchLicenseRenewal,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass LicenceRenewalWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n if (this.licenseRenewalEnabled) {\r\n this.$scope.$applyAsync(this.fetchLicenseRenewal(retailerId));\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class LicenceRenewalWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = LicenceRenewalWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-component.js","import * as api from 'dashboard/resources/license-renewal.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchLicenseRenewalRequest = () => ({\r\n type: actionTypes.FETCH_LICENSE_RENEWAL_REQUEST,\r\n name: 'licenseRenewalLoadingStatus',\r\n});\r\n\r\nexport const fetchLicenseRenewalSuccess = (data) => ({\r\n type: actionTypes.FETCH_LICENSE_RENEWAL_SUCCESS,\r\n name: 'licenseRenewalLoadingStatus',\r\n data,\r\n});\r\n\r\nexport const fetchLicenseRenewalFailure = () => ({\r\n type: actionTypes.FETCH_LICENSE_RENEWAL_FAILURE,\r\n name: 'licenseRenewalLoadingStatus',\r\n});\r\n\r\nexport const fetchLicenseRenewal =\r\n (id = null) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session, config } = getState();\r\n const { licenseRenewalMaxDaysNo } = config;\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchLicenseRenewalRequest());\r\n const data = await api.fetchLicenseRenewal(retailerId, licenseRenewalMaxDaysNo);\r\n dispatch(fetchLicenseRenewalSuccess(data));\r\n } catch (error) {\r\n console.error('LICENSE_RENEWAL', error);\r\n dispatch(fetchLicenseRenewalFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/license-renewal/license-renewal.actions.js","module.exports = \"\\r\\n\\r\\n \\r\\n

    \\r\\n \\r\\n License Renewal\\r\\n \\r\\n\\r\\n \\r\\n Contact the Lottery\\r\\n \\r\\n

    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
      \\r\\n
    • \\r\\n\\r\\n
      \\r\\n \\r\\n \\r\\n
      \\r\\n\\r\\n
      \\r\\n
      \\r\\n \\r\\n Retailer No.\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
      \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"retailer.expirationDays\\\"\\r\\n translate-plural=\\\"Exp. in {{$count}} days\\\">\\r\\n {{ $count }} day\\r\\n \\r\\n\\r\\n \\r\\n {{ $count }} day ago\\r\\n \\r\\n
      \\r\\n\\r\\n \\r\\n \\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n\\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n = 0\\\">\\r\\n Your store is up for license renewal in\\r\\n \\r\\n\\r\\n \\r\\n Your license renewal expired\\r\\n \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"retailer.expirationDays\\\"\\r\\n translate-plural=\\\"{{$count}} days\\\">\\r\\n 1 day\\r\\n \\r\\n\\r\\n \\r\\n 1 day ago\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget.html\n// module id = 1662\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport LinkToLicenseRenewalFormComponent from './link-to-license-renewal-form-component';\r\nimport { LinkToLicenseRenewalFormController } from './link-to-license-renewal-form-controller';\r\n\r\nexport default angular\r\n .module('link-to-license-renewal-form', [])\r\n .controller('LinkToLicenseRenewalFormController', LinkToLicenseRenewalFormController)\r\n .component('licenseRenewalLink', LinkToLicenseRenewalFormComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form-module.js","import template from './link-to-license-renewal-form.html';\r\n\r\nexport default {\r\n controller: 'LinkToLicenseRenewalFormController',\r\n template,\r\n bindings: {\r\n retailerId: '<',\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form-component.js","module.exports = \"\\r\\n \\r\\n Renew\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form.html\n// module id = 1665\n// module chunks = 0","import * as api from 'dashboard/resources/license-renewal.api';\r\n\r\n@Inject('$window')\r\nexport class LinkToLicenseRenewalFormController {\r\n async redirectToLicensRenewalForm() {\r\n const url = await api.fetchLicenseRenewalFormLink(this.retailerId);\r\n\r\n this.$window.open(url, '_blank');\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/components/link-to-license-renewal-form/link-to-license-renewal-form-controller.js","import angular from 'angular';\r\nimport BondRenewalWidgetComponent from './bond-renewal-widget-component';\r\n\r\nexport default angular.module('bond-renewal-widget', []).component('bondRenewalWidget', new BondRenewalWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-module.js","import { isChainHeadSelector } from 'selectors/index';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { downloadBondRenewalReport, fetchBondRenewal } from 'dashboard/actions/bond-renewal/bond-renewal.actions';\r\nimport { isRetailerDashboardSelector } from 'selectors';\r\nimport tabs from 'contact/components/contact-us/tabs';\r\nimport template from './bond-renewal-widget.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, config, bondRenewal } = state;\r\n const { retailer } = session;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { bondRenewalMaxDaysNo, bondRenewalLimitDays, bondRenewalInquiryReasonId } = config;\r\n const { isLoading, stores, storesCount } = bondRenewal;\r\n const isEmpty = storesCount === 0;\r\n const { CONTACT_THE_LOTTERY } = tabs;\r\n const isPreviewingRetailerDashboards = isRetailerDashboardSelector(state);\r\n\r\n return {\r\n retailer,\r\n isChainHead,\r\n bondRenewalMaxDaysNo,\r\n bondRenewalLimitDays,\r\n bondRenewalInquiryReasonId,\r\n isLoading,\r\n stores,\r\n storesCount,\r\n isEmpty,\r\n isPreviewingRetailerDashboards,\r\n CONTACT_THE_LOTTERY,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n downloadBondRenewalReport,\r\n fetchBondRenewal,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$state', '$ngRedux', 'widgetService')\r\nclass BondRenewalWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.widgetConfig = this.widgetService.initConfig({ configName: 'bondRenewal' });\r\n this.$scope.$applyAsync(this.fetchBondRenewal(this.retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class BondRenewalWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = BondRenewalWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-component.js","import * as api from 'dashboard/resources/bond-renewal.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const downloadBondRenewalReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadBondRenewalReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadBondRenewalReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadBondRenewalReport =\r\n (extension, id = null) =>\r\n (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(downloadBondRenewalReportRequest());\r\n dispatch(downloadBondRenewalReportSuccess());\r\n return api.downloadBondRenewalReport(extension, retailerId);\r\n } catch (error) {\r\n console.error('DOWNLOAD_BOND_RENEWAL_REPORT', error);\r\n dispatch(downloadBondRenewalReportFailure());\r\n }\r\n };\r\n\r\nexport const fetchBondRenewalRequest = () => ({\r\n type: actionTypes.FETCH_BOND_RENEWAL_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchBondRenewalSuccess = ({ stores, storeCount }) => ({\r\n type: actionTypes.FETCH_BOND_RENEWAL_SUCCESS,\r\n stores,\r\n storeCount,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBondRenewalFailure = () => ({\r\n type: actionTypes.FETCH_BOND_RENEWAL_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBondRenewal =\r\n (id = null) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session, config } = getState();\r\n const { bondRenewalMaxDaysNo } = config;\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchBondRenewalRequest());\r\n const data = await api.fetchBondRenewal({ retailerId, bondRenewalMaxDaysNo });\r\n dispatch(fetchBondRenewalSuccess(data));\r\n } catch (error) {\r\n console.error('BOND_RENEWAL', error);\r\n dispatch(fetchBondRenewalFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/bond-renewal/bond-renewal.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'bondRenewal';\r\n\r\nexport const downloadBondRenewalReport = (extension, retailerId) => {\r\n const url = DepsService.rest.widgets.bondRenewal.url;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\r\nexport const fetchBondRenewal = async ({ retailerId, bondRenewalMaxDaysNo }) => {\r\n const url = DepsService.rest.widgets.bondRenewal.url;\r\n const queryParams = { days: bondRenewalMaxDaysNo };\r\n const urlParams = { retailerId };\r\n\r\n const stores = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return {\r\n stores: storeTransformation(stores, bondRenewalMaxDaysNo),\r\n storeCount: stores.length,\r\n };\r\n};\r\n\r\nexport const storeTransformation = (stores, bondRenewalMaxDaysNo) => {\r\n return stores.reduce((aggregated, store) => {\r\n let arr = aggregated[store.bondRenewalDaysLeft] || [];\r\n\r\n aggregated[store.bondRenewalDaysLeft] = [\r\n ...arr,\r\n ...[\r\n {\r\n ...store,\r\n percentExpirationDays: appHelpers.calculateDaysLeftToPercentages(store.bondRenewalDaysLeft, bondRenewalMaxDaysNo),\r\n },\r\n ],\r\n ];\r\n\r\n return aggregated;\r\n }, {});\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/bond-renewal.api.js","module.exports = \"\\r\\n\\r\\n \\r\\n

    \\r\\n Bond Renewal\\r\\n \\r\\n Contact the Lottery\\r\\n \\r\\n

    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n 1 of your stores is\\r\\n \\r\\n\\r\\n
    \\r\\n up for bond renewal in the next {{ $ctrl.bondRenewalMaxDaysNo }} days.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n
    $ctrl.bondRenewalLimitDays,\\r\\n 'status-urgent': $ctrl.stores[key][0].bondRenewalDaysLeft <= $ctrl.bondRenewalLimitDays}\\\">\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n = 0\\\"\\r\\n translate-n=\\\"stores.length\\\"\\r\\n translate-plural=\\\"{{$count}} of your stores expire in\\\"\\r\\n translate>\\r\\n 1 of your stores expires in\\r\\n \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"stores[0].bondRenewalDaysLeft\\\"\\r\\n translate-plural=\\\"{{$count}} days\\\"\\r\\n translate>\\r\\n 1 day\\r\\n \\r\\n\\r\\n \\r\\n {{count}} of your stores expired\\r\\n \\r\\n\\r\\n \\r\\n 1 day ago\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Retailer No.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    0\\\"\\r\\n class=\\\"pl-2\\\">\\r\\n \\r\\n Store No.\\r\\n \\r\\n \\r\\n {{store.storeId}}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n = 0\\\">\\r\\n Your store is up for bond renewal in\\r\\n \\r\\n\\r\\n \\r\\n Your bond renewal expired\\r\\n \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"store[0].bondRenewalDaysLeft\\\"\\r\\n translate-plural=\\\"{{$count}} days\\\">\\r\\n 1 day\\r\\n \\r\\n\\r\\n \\r\\n 1 day ago\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget.html\n// module id = 1671\n// module chunks = 0","import angular from 'angular';\r\nimport SellingTerminalsWidgetComponent from './selling-terminals-widget-component';\r\n\r\nexport default angular.module('selling-terminals-widget', []).component('sellingTerminals', new SellingTerminalsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-module.js","import get from 'lodash/get';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/selling-terminals.api';\r\nimport sellingTerminalsWidgetTemplate from './selling-terminals-widget.html';\r\n\r\nconst TERMINAL_STATUS_ACTIVE_CODE = 2;\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer, baseUrl } = session;\r\n\r\n return {\r\n retailer,\r\n baseUrl,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope')\r\nclass SellingTerminalsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(\r\n () => Promise.all([api.fetchTerminalsDetails(retailerId), api.fetchTerminalsTemplates()]),\r\n this.transformData.bind(this)\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getImageName(terminalType) {\r\n return `${this.baseUrl}api/game-image/view/terminal-${terminalType}.png`;\r\n }\r\n\r\n transformData(data) {\r\n const terminals = get(data, '[0]') || [];\r\n const terminalTemplates = get(data, '[1]') || [];\r\n\r\n const transformedData = terminals\r\n .filter((terminal) => terminal.statusCode === TERMINAL_STATUS_ACTIVE_CODE)\r\n .reduce((prev, curr, index) => {\r\n const ind = prev.findIndex((item) => item.terminalType === curr.terminalType);\r\n if (ind > -1) {\r\n prev[ind].index += 1;\r\n return prev;\r\n }\r\n\r\n const terminalTemplate = terminalTemplates.find((item) => item.terminalType === curr.terminalType);\r\n if (terminalTemplate) {\r\n curr.index ? (curr.index += 1) : (curr.index = 1);\r\n curr.terminalName = terminalTemplate.name;\r\n curr.imageName = this.getImageName({ terminalType: curr.terminalType });\r\n return prev.concat(curr);\r\n }\r\n return prev;\r\n }, []);\r\n\r\n return transformedData;\r\n }\r\n}\r\n\r\nexport default class SellingTerminalsWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = sellingTerminalsWidgetTemplate;\r\n this.controller = SellingTerminalsWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchTerminalsDetails = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.terminals.details;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchTerminalsTemplates = () => {\r\n const { url } = DepsService.rest.widgets.terminals.templates;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/selling-terminals.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Sales Terminals\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n Displays all lottery terminals and self-service devices in this location. Devices are grouped by type and counted.\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    {{ terminal.terminalName }}

    \\r\\n

    \\r\\n Number Active\\r\\n : {{ terminal.index }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget.html\n// module id = 1675\n// module chunks = 0","import angular from 'angular';\r\nimport ChainSalesRankWidgetComponent from './chain-sales-rank-widget-component';\r\n\r\nexport default angular.module('chain-sales-rank-widget', []).component('chainSalesRankWidget', new ChainSalesRankWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-module.js","import * as api from 'dashboard/resources/chain-sales-rank.api';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport chainSalesRankWidgetTemplate from './chain-sales-rank-widget.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n userLocale: locale,\r\n retailer,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass ChainSalesRankWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchChainSalesRank(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ChainSalesRankWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.controller = ChainSalesRankWidgetController;\r\n this.template = chainSalesRankWidgetTemplate;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchChainSalesRank = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.chainRanks;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/chain-sales-rank.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Chain Sales Rank - Last 13 Weeks\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Compares your chain’s total, {{ draw }}, and {{ instant }} game Lottery sales to that of other chains in the state, based on the last 13 weeks’ average weekly net sales.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.overall }}{{ $ctrl.data.overall | numberPostfix: $ctrl.userLocale }}\\r\\n \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.drawGames }}{{ $ctrl.data.drawGames | numberPostfix: $ctrl.userLocale }}\\r\\n \\r\\n {{ draw }} Games\\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.instantGames }}{{ $ctrl.data.instantGames | numberPostfix: $ctrl.userLocale }}\\r\\n \\r\\n {{ instant }} Games\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget.html\n// module id = 1679\n// module chunks = 0","import angular from 'angular';\r\nimport StoreSalesRankWidgetComponent from './store-sales-rank-widget-component';\r\n\r\nexport default angular.module('store-sales-rank-widget', []).component('storeSalesRankWidget', new StoreSalesRankWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/store-sales-rank.api';\r\nimport storeSalesRankWidgetTemplate from './store-sales-rank-widget.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n userLocale: locale,\r\n terms,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass StoreSalesRankWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchChainSalesRank(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class StoreSalesRankWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.controller = StoreSalesRankWidgetController;\r\n this.template = storeSalesRankWidgetTemplate;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchChainSalesRank = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.chainRanks;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/store-sales-rank.api.js","module.exports = \"\\r\\n \\r\\n

    Store Sales Rank - Last 13 Weeks

    \\r\\n \\r\\n \\r\\n \\r\\n Compares this location’s total, {{ draw }}, and {{ instant }} game Lottery sales to that of other locations in your chain statewide, based on the last 13 weeks’ average weekly net sales.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.overall }}{{ $ctrl.data.overall | numberPostfix : $ctrl.userLocale }}\\r\\n \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.drawGames }}{{ $ctrl.data.drawGames | numberPostfix : $ctrl.userLocale }}\\r\\n \\r\\n \\r\\n {{ draw }} Games\\r\\n \\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.instantGames }}{{ $ctrl.data.instantGames | numberPostfix : $ctrl.userLocale }}\\r\\n \\r\\n \\r\\n {{ instant }} Games\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget.html\n// module id = 1683\n// module chunks = 0","import angular from 'angular';\r\nimport EndOfGameWidgetComponent from './end-of-game-component';\r\n\r\nexport default angular.module('end-of-game-widget', []).component('endOfGameWidget', new EndOfGameWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport template from './end-of-game.html';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { endOfGameUrl } = config;\r\n\r\n return {\r\n endOfGameUrl,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$state', '$stateParams')\r\nclass EndOfGameWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isEmpty = false;\r\n this.isLoading = false;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class EndOfGameWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EndOfGameWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n End Of Game\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game.html\n// module id = 1686\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport LvmSalesWidgetComponent from './components/lvm-sales-widget/lvm-sales-widget-component';\r\nimport LvmSalesGameListComponent from './components/lvm-sales-game-list/lvm-sales-game-list-component';\r\nimport LvmSalesHistoryComponent from './components/lvm-sales-history/lvm-sales-history-component';\r\n\r\nexport default angular\r\n .module('lvm-sales-widget', [])\r\n .component('lvmSalesWidget', new LvmSalesWidgetComponent())\r\n .component('lvmSalesGameList', new LvmSalesGameListComponent())\r\n .component('lvmSalesHistory', new LvmSalesHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('lvmSales-details', {\r\n parent: 'arw',\r\n url: '/lvm-sales/history/:retailerNo?',\r\n template: `\r\n \r\n `,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('LVM Sales History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/lvm-sales-module.js","import isEmpty from 'lodash/isEmpty';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchLvmSales } from 'dashboard/actions/lvm-sales-history/lvm-sales-history.actions';\r\nimport * as api from 'dashboard/resources/eft-amount.api';\r\nimport template from './lvm-sales-widget.html';\r\n\r\nconst mapStateToThis = ({ session, lvmSalesHistory, dictionary }) => {\r\n const { total, isLoading } = lvmSalesHistory;\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n total,\r\n isLoading,\r\n locale,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchLvmSales,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass LvmSalesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.activeTabIdx = 0;\r\n this.tabs = [];\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.$scope.$applyAsync(this.loadData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async loadData() {\r\n await this.fetchLvmSales(this.retailerId);\r\n this.checkIfEmptyData();\r\n this.createTabs();\r\n }\r\n\r\n createTabs() {\r\n this.tabs = [\r\n this.generateTab(this.findDataItem('WTD'), 'WTD', this.gettextCatalog.getString('Week to date LVM sales')),\r\n this.generateTab(this.findDataItem('MTD'), 'MTD', this.gettextCatalog.getString('Month to date LVM sales')),\r\n this.generateTab(this.findDataItem('QTD'), 'QTD', this.gettextCatalog.getString('Quarter to date LVM sales')),\r\n this.generateTab(this.findDataItem('YTD'), 'YTD', this.gettextCatalog.getString('Year to date LVM sales')),\r\n ];\r\n }\r\n\r\n findDataItem(periodType) {\r\n return this.total.find((item) => item.periodType === periodType);\r\n }\r\n\r\n generateTab(dataItem, periodType, title) {\r\n return {\r\n title,\r\n tabTitle: periodType,\r\n total: dataItem ? dataItem.salesTotal : 0,\r\n };\r\n }\r\n\r\n checkIfEmptyData() {\r\n this.isEmpty = isEmpty(this.total);\r\n }\r\n}\r\n\r\nexport default class LvmSalesWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.template = template;\r\n this.controller = LvmSalesWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget-component.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'lvmSalesHistory';\r\n\r\nexport const fetchLvmSalesHistory = (periodType, retailerId) => {\r\n const url = DepsService.rest.widgets.lvmSalesHistory.url;\r\n const queryParams = { periodType };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchLvmSales= (retailerId) => {\r\n const url = DepsService.rest.widgets.lvmSales.url;\r\n const queryParams = { };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadLvmSalesHistoryReport = (extension, periodType, retailerId) => {\r\n const url = DepsService.rest.widgets.lvmSalesHistory.url;\r\n const queryParams = { periodType };\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/lvm-sales-history.api.js","module.exports = \"\\r\\n\\r\\n \\r\\n

    \\r\\n \\r\\n LVM Sales\\r\\n \\r\\n \\r\\n Details\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n View net sales for the lottery vending machines in your store. The detail link will provide information for {{ draw }} and {{ instant }} sales by game.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ tab.title }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget.html\n// module id = 1690\n// module chunks = 0","import template from './lvm-sales-game-list.html';\r\n\r\nexport default class LvmSalesGameList {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n games: '<',\r\n label: '<',\r\n header: '<',\r\n netSalesTotal: '<',\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.header }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Sales\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Sales\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list.html\n// module id = 1692\n// module chunks = 0","import get from 'lodash/get';\r\nimport { fetchLvmSalesHistory, downloadLvmSalesHistoryReport, fetchLvmSales } from 'dashboard/actions/lvm-sales-history/lvm-sales-history.actions';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport LvmSalesHistoryTemplate from './lvm-sales-history.html';\r\nimport tabs from '../../tabs';\r\n\r\nconst mapStateToThis = ({\r\n session, lvmSalesHistory, ui, dictionary,\r\n}) => {\r\n const { data, total, isLoading } = lvmSalesHistory;\r\n const { locale } = session;\r\n const { activeTab } = ui;\r\n const {\r\n WTD, MTD, QTD, YTD,\r\n } = tabs;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n data,\r\n total,\r\n isLoading,\r\n locale,\r\n activeTab,\r\n WTD,\r\n MTD,\r\n QTD,\r\n YTD,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n fetchLvmSales,\r\n fetchLvmSalesHistory,\r\n downloadLvmSalesHistoryReport,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Responsive', '$window', 'tableService', 'RwAnalyticsService')\r\nclass LvmSalesHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.instantGamesText = this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular });\r\n this.drawGamesText = this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular });\r\n this.tableConfig = this.tableService.initConfig({ configName: 'lvmSalesHistory' });\r\n this.retailerId = get(this.$state, 'params.retailerNo');\r\n this.headers = this.getHeaders();\r\n if (this.total.length === 0) {\r\n await this.fetchLvmSales(this.retailerId);\r\n }\r\n await this.onTabSelect();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n field: 'expand',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('LVM No.'),\r\n field: 'terminalKey',\r\n },\r\n {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular }),\r\n field: 'drawTotal',\r\n },\r\n {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular }),\r\n field: 'instantTotal',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Total Sales'),\r\n field: 'total',\r\n },\r\n ];\r\n }\r\n\r\n async onTabSelect(tab = 'WTD') {\r\n this.setActiveTab(tab, 'activeTab');\r\n const { salesTotal } = this.total.find((item) => item.periodType === tab) || {};\r\n this.currentTotalTab = salesTotal;\r\n await this.fetchLvmSalesHistory(this.activeTab, this.retailerId);\r\n }\r\n\r\n toggleExpand(item, index) {\r\n const expandContainerClass = `expand-container-${index}`;\r\n const expandContainer = this.$window.document.getElementsByClassName(expandContainerClass);\r\n\r\n if (!item.isExpanded) {\r\n setTimeout(() => {\r\n const innerContainerClass = `expand-inner-container-${index}`;\r\n\r\n const height = this.$window.document.getElementsByClassName(innerContainerClass)[0].clientHeight;\r\n\r\n expandContainer[0].style.height = `${height}px`;\r\n }, 50);\r\n }\r\n\r\n if (item.isExpanded) {\r\n expandContainer[0].style.height = '0px';\r\n }\r\n\r\n item.isExpanded = !item.isExpanded;\r\n }\r\n\r\n onDownloadReport(format) {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({ source: this.gettextCatalog.getString('LVM Sales History'), type: this.activeTab, format });\r\n return this.downloadLvmSalesHistoryReport(format, this.activeTab, this.retailerId);\r\n }\r\n}\r\n\r\nexport default class LvmSalesHistoryComponent {\r\n constructor() {\r\n this.template = LvmSalesHistoryTemplate;\r\n this.controller = LvmSalesHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Total LVM Sales\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    Loading...
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ header.text }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[1].text }}\\r\\n
    \\r\\n
    \\r\\n {{ item.terminalKey }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[2].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[3].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[4].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n {{ ::$ctrl.headers[1].text }}: {{ item.terminalKey }}\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[2].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[3].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[4].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history.html\n// module id = 1694\n// module chunks = 0","export default {\r\n WTD: 'WTD',\r\n MTD: 'MTD',\r\n QTD: 'QTD',\r\n YTD: 'YTD',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/tabs.js","import angular from 'angular';\r\nimport AlertsWidgetComponent from './alerts-widget-component';\r\nimport AlertComponent from './alert/alert-component';\r\n\r\nexport default angular\r\n .module('alerts-widget', [])\r\n .component('alert', new AlertComponent())\r\n .component('alertsWidget', new AlertsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-module.js","import orderBy from 'lodash/orderBy';\r\nimport { loadIpsStatus } from 'app/actions/dictionaries.actions';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/alerts.api';\r\nimport template from './alerts-widget.html';\r\n\r\n/* Redux */\r\nconst mapStateToThis = ({ session, dictionaries }) => {\r\n const { retailer, locale } = session;\r\n const { ipsStatuses } = dictionaries;\r\n\r\n return {\r\n retailer,\r\n locale,\r\n ipsStatuses,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n loadIpsStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass AlertsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.showChainBtn = this.retailer.isChain;\r\n await this.loadIpsStatus();\r\n this.refreshData();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n refreshData() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n const transformDataFunction = (data) => {\r\n this.alertsNumber = data ? data.length : 0;\r\n return orderBy(data, ['read', 'priority', 'date'], ['asc', 'asc', 'desc']);\r\n };\r\n return this.loadDataAsync(() => api.fetchAlerts(retailerId, this.locale), transformDataFunction.bind(this));\r\n }\r\n}\r\n\r\nexport default class AlertsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AlertsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Alerts\\r\\n ({{$ctrl.alertsNumber}})\\r\\n

    \\r\\n \\r\\n \\r\\n Alerts display to notify you of lost sales opportunities in your location or other important information. Individual alerts remain on display until you take action to correct the issue. Please click the “Details” link for more information and/or to take corrective action.\\r\\n \\r\\n \\r\\n Alerts display to notify you of lost sales opportunities in your location or other important information. Individual alerts remain on display until you take action to correct the issue. Please click the “Details” link for more information and/or to take corrective action.\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n You have no alerts at this time.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget.html\n// module id = 1698\n// module chunks = 0","import moment from 'moment';\r\nimport sortBy from 'lodash/sortBy';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { isStoreProfileSelector, isChainHeadSelector, isRetailerDashboardSelector } from 'selectors';\r\nimport * as api from 'dashboard/resources/alerts.api';\r\nimport alertTemplate from './alert.html';\r\nimport alertModalTemplate from './alert-modal.html';\r\nimport dashboardHelpers from '../../../../dashboard-helpers';\r\n\r\nconst mapStateToThisModal = ({ session, dictionary }) => {\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { locale, retailerDashboard, loginAs } = session;\r\n const terms = dictionary.terms[locale];\r\n const setRead = !retailerDashboard && !loginAs;\r\n\r\n return {\r\n locale,\r\n isChainHead,\r\n terms,\r\n setRead,\r\n };\r\n};\r\n\r\nconst mapDispatchToThisModal = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog')\r\nclass AlertModalController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisModal, mapDispatchToThisModal)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n showRetailerInfo(index) {\r\n if (this.isChainHead) {\r\n return this.isFirstAlert(index) || this.isNewAlertRetailer(index);\r\n }\r\n return false;\r\n }\r\n\r\n isNewAlertRetailer(index) {\r\n return this.isNewAlert(index) && this.isNewAlertDifferent(index, 'retailerId');\r\n }\r\n\r\n isNewAlertType(index) {\r\n return this.isNewAlert(index) && this.isNewAlertDifferent(index, 'type');\r\n }\r\n\r\n isNewAlertOrder(index) {\r\n return this.isNewAlert(index) && this.isNewAlertDifferent(index, 'orderId');\r\n }\r\n\r\n isNewAlert(index) {\r\n return this.content.gridContent[index] && this.content.gridContent[index - 1];\r\n }\r\n\r\n isNewAlertDifferent(index, property) {\r\n return this.content.gridContent[index][property] !== this.content.gridContent[index - 1][property];\r\n }\r\n\r\n isFirstAlert(index) {\r\n return index === 0;\r\n }\r\n\r\n isAlertForRetailer(index, retailerId) {\r\n return this.content.gridContent[index].retailerId === retailerId;\r\n }\r\n\r\n calculateOrderNumber(type, orderId) {\r\n return this.content.gridContent.reduce((previousValue, currentAlert) => {\r\n if (currentAlert.type === type && currentAlert.orderId === orderId) {\r\n return previousValue + 1;\r\n }\r\n return previousValue;\r\n }, 0);\r\n }\r\n\r\n calculateOrderValue(type, orderId) {\r\n return this.content.gridContent.reduce((previousValue, currentAlert) => {\r\n if (currentAlert.type === type && currentAlert.orderId === orderId) {\r\n return previousValue + currentAlert.gamePacksValue;\r\n }\r\n return previousValue;\r\n }, 0);\r\n }\r\n}\r\n\r\nconst mapStateToThis = ({ session, retailerDashboards, config }) => {\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const isRetailerDashboard = isRetailerDashboardSelector({ retailerDashboards });\r\n const { locale, retailer } = session;\r\n\r\n return {\r\n locale,\r\n session,\r\n retailer,\r\n isStoreProfile,\r\n isRetailerDashboard,\r\n config,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', '$element', 'Notifications', 'RwAnalyticsService')\r\nclass AlertController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.widgetClass = `importance-${this.mapPriority(this.data.priority)}`;\r\n this.$element.addClass(this.widgetClass);\r\n this.currentDate = moment.unix(this.config.serverTime).format('M/d');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n mapPriority(priority) {\r\n switch (priority) {\r\n case 1:\r\n return 'urgent';\r\n case 2:\r\n return 'high';\r\n default:\r\n return 'normal';\r\n }\r\n }\r\n\r\n openDialog() {\r\n api.fetchAlertDetails(this.retailerId, this.data.alertId, this.locale, this.setRead).then((results) => {\r\n if (results[0].type !== 'ArwExpiringGamesAlert') {\r\n results = this.groupByPacks(results);\r\n }\r\n\r\n this.data.read = true;\r\n this.data.type = results ? results[0].type : null;\r\n this.fillAlertContent(results);\r\n\r\n this.modal = this.Notifications.showComplexDialog({\r\n controller: AlertModalController,\r\n template: alertModalTemplate,\r\n resolve: {\r\n file: () => this.content.details.file,\r\n content: () => this.content,\r\n trackingUrl: () => this.config.trackingUrl,\r\n isStoreProfile: () => this.isStoreProfile,\r\n showGameInventoryButtons: () => this.showGameInventoryButtons,\r\n downloadFile: () => this.onDownloadAlertReport.bind(this),\r\n dismissAlert: () => this.onDismissAlert.bind(this),\r\n triggerDownload: () => this.triggerDownload.bind(this),\r\n },\r\n });\r\n });\r\n }\r\n\r\n groupByPacks(results) {\r\n return sortBy(results, ['type', 'retailerId', 'orderId', 'gameNo', 'packNo']).reduce((previousValue, currentValue) => {\r\n const lastElement = previousValue[previousValue.length - 1];\r\n\r\n if (\r\n lastElement &&\r\n lastElement.type === currentValue.type &&\r\n lastElement.retailerId === currentValue.retailerId &&\r\n lastElement.orderId === currentValue.orderId &&\r\n lastElement.gameNo === currentValue.gameNo\r\n ) {\r\n lastElement.packs.push(currentValue.packNo);\r\n lastElement.gamePacksValue += currentValue.gamePacksValue;\r\n } else {\r\n currentValue.packs = [currentValue.packNo];\r\n previousValue.push(currentValue);\r\n }\r\n\r\n return previousValue;\r\n }, []);\r\n }\r\n\r\n fillAlertContent(results) {\r\n this.content = {\r\n gridContent: {},\r\n ...dashboardHelpers.getAlertDetails(\r\n this.config,\r\n this.gettextCatalog,\r\n this.data.type,\r\n this.data.totalCount,\r\n this.retailerId,\r\n this.session\r\n ),\r\n type: this.data.type,\r\n };\r\n this.content.gridContent = results;\r\n }\r\n\r\n onDownloadAlertReport() {\r\n return api.downloadAlertReport(this.retailerId, this.data.alertId);\r\n }\r\n\r\n triggerDownload({ data }) {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({\r\n source: this.content.details.title,\r\n type: 'Retailer Report',\r\n format: data.extension,\r\n });\r\n return Promise.resolve();\r\n }\r\n\r\n onDismissAlert() {\r\n api\r\n .dismissAlert(this.retailerId, this.data.alertId)\r\n .then(() => this.modal.close())\r\n .then(() => this.refreshData())\r\n .catch(() => this.refreshData());\r\n }\r\n}\r\n\r\nexport default class AlertComponent {\r\n constructor() {\r\n this.bindings = {\r\n data: '<',\r\n isStoreProfile: '<',\r\n refreshData: '&',\r\n returnGames: '&',\r\n showGameInventoryButtons: '<',\r\n };\r\n this.template = alertTemplate;\r\n this.controller = AlertController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n NEW\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n

    \\r\\n {{ ::$ctrl.data.name}}\\r\\n

    \\r\\n

    \\r\\n {{ ::$ctrl.data.body }} \\r\\n

    \\r\\n
    \\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert.html\n// module id = 1700\n// module chunks = 0","module.exports = \"
    \\r\\n

    {{$ctrl.content.details.modalTitle}}

    \\r\\n
    \\r\\n
    \\r\\n

    {{$ctrl.content.details.modalSubtitle}}

    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Retailer Number:\\r\\n {{ alertItem.displayNumber }}\\r\\n
    \\r\\n Retailer Name:\\r\\n {{ alertItem.retailerName }}\\r\\n
    \\r\\n
    \\r\\n Retailer City:\\r\\n {{ alertItem.retailerCity }}\\r\\n
    \\r\\n
    \\r\\n Retailer Zip Code:\\r\\n {{ alertItem.retailerZip }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n {{header.text}}\\r\\n
    \\r\\n

    \\r\\n Order\\r\\n {{ game.orderNo }}\\r\\n

    \\r\\n

    \\r\\n Filled on\\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n Order Value\\r\\n \\r\\n

    \\r\\n

    \\r\\n Tracking No.\\r\\n {{ game.trackingNo }}\\r\\n

    \\r\\n
    {{ $ctrl.content.gridHeaders[1].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[2].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[3].text }}\\r\\n {{ pack }}\\r\\n {{ $ctrl.content.gridHeaders[4].text }}{{ game.packIssued }}
    {{ $ctrl.content.gridHeaders[0].text }} {{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ bin.terminalId }}{{ $ctrl.content.gridHeaders[1].text }}{{ bin.id }}
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n {{ game.packNo }}\\r\\n {{ $ctrl.content.gridHeaders[4].text }}{{ game.valPct }}{{ $ctrl.content.gridHeaders[5].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n {{ pack }}\\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}\\r\\n \\r\\n \\r\\n {{ $ctrl.content.gridHeaders[1].text }}{{ alert.licenseDaysLeft }}
    {{ $ctrl.content.gridHeaders[0].text }}\\r\\n \\r\\n \\r\\n {{ $ctrl.content.gridHeaders[1].text }}{{ alert.daysLeft }}
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n {{ pack }}\\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[4].text }}\\r\\n \\r\\n \\r\\n {{ $ctrl.content.gridHeaders[5].text }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-modal.html\n// module id = 1701\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport AnnouncementsWidgetComponent from './announcements-widget-component';\r\nimport AnnouncementsWidgetContentComponent from './announcements-widget-content-component';\r\n\r\nimport announcementsManagementModule from './components/announcement-management/announcements-management-module';\r\n\r\nexport default angular\r\n .module('announcements', [announcementsManagementModule.name])\r\n .component('announcementsWidget', new AnnouncementsWidgetComponent())\r\n .component('announcementsWidgetContent', new AnnouncementsWidgetContentComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('cms-newsManagement', {\r\n parent: 'arw',\r\n url: '/cms-announcements-management',\r\n template: '',\r\n params: {\r\n skipReloadData: false,\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Lottery Announcements')));\r\n },\r\n ],\r\n },\r\n redirectTo: 'permissions-denied',\r\n })\r\n .state('cms-editNewsManagement', {\r\n parent: 'arw',\r\n url: '/announcement-edit/{id:[0-9]*}/{type}',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n '$stateParams',\r\n 'gettextCatalog',\r\n ($ngRedux, $stateParams, gettextCatalog) => {\r\n $ngRedux.dispatch(\r\n changePageTitle(\r\n $stateParams.id\r\n ? gettextCatalog.getString('Edit Lottery Announcement')\r\n : gettextCatalog.getString('Create Lottery Announcement')\r\n )\r\n );\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { isEmptyActiveAnnouncementsSelector } from 'selectors/index';\r\nimport { fetchAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\n\r\nimport template from './announcements-widget.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { config, announcements } = state;\r\n const { jurisdictionId } = config;\r\n const { isLoading, active } = announcements;\r\n\r\n return {\r\n jurisdictionId,\r\n isLoading,\r\n active,\r\n isEmpty: isEmptyActiveAnnouncementsSelector(state),\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchAnnouncements,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass AnnouncementsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.$scope.$applyAsync(this.fetchAnnouncements(true));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class AnnouncementsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AnnouncementsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Lottery Announcements\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n You have no announcements at this time.\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget.html\n// module id = 1704\n// module chunks = 0","import isString from 'lodash/isString';\r\n\r\nimport { downloadAttachment } from 'dashboard/resources/announcements.api';\r\n\r\nimport template from './announcements-widget-content.html';\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { locales, jurisdictionId } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n jurisdictionId,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$sce')\r\nclass AnnouncementsWidgetContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.downloadAttachment = downloadAttachment;\r\n }\r\n\r\n $onInit() {\r\n this.language = this.selectedLanguage || this.locale;\r\n this.activeIndex = 0;\r\n this.selectedAnnouncement = this.items[this.activeIndex] || null;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onAnnouncementChange(announcement, index) {\r\n this.activeIndex = index;\r\n this.selectedAnnouncement = announcement;\r\n }\r\n\r\n onDownloadAttachment(attachment) {\r\n return this.downloadAttachment(this.jurisdictionId, attachment);\r\n }\r\n\r\n addTargetBlank(val) {\r\n if (isString(val)) {\r\n return val.replace(/\\r\\n 1\\\">\\r\\n \\r\\n \\r\\n {{ announcement.fields[$ctrl.language].title }}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n

    \\r\\n {{ $ctrl.selectedAnnouncement.fields[$ctrl.language].title }}\\r\\n

    \\r\\n
    \\r\\n \\r\\n \\\"\\\"/\\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.selectedAnnouncement.attachments[$ctrl.language][0].name }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-content.html\n// module id = 1707\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport announcementListModule from '../announcement-list/announcement-list-module';\r\nimport announcementItemModule from '../announcement-item/announcement-item-module';\r\nimport activeAnnouncementsModule from '../active-announcements/active-announcements-module';\r\nimport archiveAnnouncementsModule from '../archived-announcements/archived-announcements-module';\r\nimport scheduledAnnouncementsModule from '../scheduled-announcements/scheduled-announcements-module';\r\nimport announcementPreviewModule from '../announcement-preview/announcement-preview-module';\r\nimport announcementFormModule from '../announcement-form/announcement-form-module';\r\n\r\nimport AnnouncementManegementComponent from './announcements-management-component';\r\n\r\nexport default angular\r\n .module('announcement-management', [\r\n announcementListModule.name,\r\n announcementItemModule.name,\r\n activeAnnouncementsModule.name,\r\n archiveAnnouncementsModule.name,\r\n scheduledAnnouncementsModule.name,\r\n announcementFormModule.name,\r\n announcementPreviewModule.name,\r\n ])\r\n .component('announcementManagement', new AnnouncementManegementComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-module.js","import angular from 'angular';\r\nimport AnnouncementListComponent from './announcement-list-component';\r\n\r\nexport default angular.module('announcement-list', []).component('announcementList', new AnnouncementListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-module.js","import { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { deleteAnnouncement, togglePinAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\n\r\nimport template from './announcement-list.html';\r\n\r\nconst DIRTY_FORM = 'announcementsManagement';\r\n\r\nconst mapStateToThis = ({ dirtyForms, ui }) => {\r\n const dirtyForm = dirtyForms[DIRTY_FORM];\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n dirtyForm,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n deleteAnnouncement,\r\n togglePinAnnouncements,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state')\r\nclass AnnouncementListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onEditAnnouncement(index) {\r\n this.$state.go('cms-editNewsManagement', {\r\n id: index,\r\n type: this.type,\r\n skipDirtyForms: true,\r\n });\r\n }\r\n\r\n onPinAnnouncement(index) {\r\n this.togglePinAnnouncements(index);\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n }\r\n\r\n onDeleteAnnouncement(index) {\r\n this.deleteAnnouncement(index, this.type);\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n }\r\n}\r\n\r\nexport default class AnnouncementListComponent {\r\n constructor() {\r\n this.controller = AnnouncementListController;\r\n this.template = template;\r\n this.bindings = {\r\n announcements: '<',\r\n type: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Announcements list is empty.\\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list.html\n// module id = 1711\n// module chunks = 0","import angular from 'angular';\r\nimport AnnouncementItemComponent from './announcement-item-component';\r\n\r\nexport default angular.module('announcement-item', []).component('announcementItem', new AnnouncementItemComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\n\r\nimport template from './announcement-item.html';\r\n\r\nclass AnnouncementItemController {\r\n constructor() {\r\n this.announcementTypes = announcementTypes;\r\n }\r\n}\r\n\r\nexport default class AnnouncementItemComponent {\r\n constructor() {\r\n this.controller = AnnouncementItemController;\r\n this.template = template;\r\n this.bindings = {\r\n language: '<',\r\n announcement: '<',\r\n index: '<',\r\n type: '<',\r\n pin: '&?',\r\n edit: '&?',\r\n delete: '&?',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\\"\\\"/\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.announcement.fields[$ctrl.language].title }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n Published\\r\\n \\r\\n \\r\\n To be published\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n until\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Expired\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item.html\n// module id = 1714\n// module chunks = 0","import angular from 'angular';\r\nimport ActiveAnnouncementsComponent from './active-announcements-component';\r\n\r\nexport default angular.module('active-announcements', []).component('activeAnnouncements', new ActiveAnnouncementsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\nimport { setSelectedLanguage } from 'utils/actions/selected-language/selected-language.actions';\r\n\r\nimport template from './active-announcements.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { isLoading, active } = announcements;\r\n\r\n return {\r\n isLoading,\r\n active,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setSelectedLanguage,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications')\r\nclass ActiveAnnouncementsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.type = announcementTypes.ACTIVE;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onNewAnnouncement() {\r\n this.$state.go('cms-editNewsManagement', {\r\n skipDirtyForms: true,\r\n });\r\n }\r\n\r\n onPreviewAnnouncements() {\r\n this.Notifications.showComplexDialog({\r\n component: 'announcementPreview',\r\n });\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.setSelectedLanguage(locale);\r\n }\r\n}\r\n\r\nexport default class ActiveAnnouncementsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ActiveAnnouncementsController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-component.js","module.exports = \"
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements.html\n// module id = 1717\n// module chunks = 0","import angular from 'angular';\r\nimport ArchivedAnnouncementsComponent from './archived-announcements-component';\r\n\r\nexport default angular.module('archived-announcements', []).component('archivedAnnouncements', new ArchivedAnnouncementsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\nimport { setSelectedLanguage } from 'utils/actions/selected-language/selected-language.actions';\r\n\r\nimport template from './archived-announcements.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { isLoading, archived } = announcements;\r\n\r\n return {\r\n isLoading,\r\n archived,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setSelectedLanguage,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass ArchivedAnnouncementsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.type = announcementTypes.ARCHIVED;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.setSelectedLanguage(locale);\r\n }\r\n}\r\n\r\nexport default class ArchivedAnnouncementsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ArchivedAnnouncementsController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Archived Announcements\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements.html\n// module id = 1720\n// module chunks = 0","import angular from 'angular';\r\nimport ScheduledAnnouncementsComponent from './scheduled-announcements-component';\r\n\r\nexport default angular.module('scheduled-announcements', []).component('scheduledAnnouncements', new ScheduledAnnouncementsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\nimport template from './scheduled-announcements.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { isLoading, scheduled } = announcements;\r\n\r\n return {\r\n isLoading,\r\n scheduled,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass ScheduledAnnouncementsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.type = announcementTypes.SCHEDULED;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ScheduledAnnouncementsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ScheduledAnnouncementsController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Scheduled Announcements\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements.html\n// module id = 1723\n// module chunks = 0","import angular from 'angular';\r\nimport AnnouncementPreviewComponent from './announcement-preview-component';\r\n\r\nexport default angular.module('announcement-preview', []).component('announcementPreview', new AnnouncementPreviewComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-module.js","import template from './announcement-preview.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { active } = announcements;\r\n\r\n return {\r\n active,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass AnnouncementPreviewController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class AnnouncementPreviewComponent {\r\n constructor() {\r\n this.controller = AnnouncementPreviewController;\r\n this.template = template;\r\n this.bindings = {\r\n close: '&',\r\n resolve: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-component.js","module.exports = \"\\r\\n
    \\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n Lottery Announcements Preview\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview.html\n// module id = 1726\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport rwEditorModule from 'utils/rw-editor/rw-editor-module';\r\nimport AnnouncementFormComponent from './announcement-form-component';\r\n\r\nexport default angular.module('announcement-form', [rwEditorModule.name]).component('announcementForm', new AnnouncementFormComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-module.js","import template from './rw-editor.html';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { ckeditor } = config;\r\n\r\n return {\r\n ckeditor,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RwEditorController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class RwEditorComponent {\r\n constructor() {\r\n this.controller = RwEditorController;\r\n this.template = template;\r\n this.bindings = {\r\n content: '=',\r\n isRequired: '<',\r\n label: '@',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-editor/rw-editor-component.js","module.exports = \"
    \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Field is required.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/utils/rw-editor/rw-editor.html\n// module id = 1729\n// module chunks = 0","import moment from 'moment';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { getFormattedDate } from 'dashboard/reducers/announcements/utils';\r\nimport { addAnnouncement, deleteAnnouncement, fetchAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\nimport editTemplate from './announcement-form.html';\r\n\r\nconst DIRTY_FORM = 'announcementEdit';\r\nconst DIRTY_ANNOUNCEMENTS_FORM = 'announcementsManagement';\r\n\r\nconst mapStateToThis = ({ session, announcements, config, ui }) => {\r\n const { locale, serverTime } = session;\r\n const { active, archived, scheduled } = announcements;\r\n const { locales, announcementsTitleMaxLength } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n serverTime,\r\n active,\r\n archived,\r\n scheduled,\r\n announcementsTitleMaxLength,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchAnnouncements,\r\n addAnnouncement,\r\n deleteAnnouncement,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', 'Notifications', 'gettextCatalog', 'Responsive')\r\nclass AnnouncementFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.index = this.$state.params.id;\r\n this.type = this.$state.params.type;\r\n this.announcementModel = {\r\n fields: {},\r\n attachments: {},\r\n publishFrom: moment.unix(this.serverTime).utc().format('MM/DD/YYYY'),\r\n };\r\n\r\n if (this.index && this.type) {\r\n if (!this[this.type][this.index]) {\r\n await this.fetchAnnouncements(false);\r\n }\r\n this.getAnnouncementDetails();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getAnnouncementDetails() {\r\n const { publishFrom, publishTo, ...details } = this[this.type][this.index];\r\n this.announcementModel = {\r\n ...details,\r\n publishFrom: getFormattedDate(publishFrom),\r\n publishTo: getFormattedDate(publishTo),\r\n };\r\n }\r\n\r\n saveAnnouncement(form) {\r\n form.$setSubmitted();\r\n if (form.$valid) {\r\n if (this.verifyOtherLanguages()) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n return;\r\n }\r\n this.dateFutureError = this.verifyDateFuture();\r\n if (this.fileErrors || this.dateFutureError) {\r\n return;\r\n }\r\n\r\n if (this.index) {\r\n this.deleteAnnouncement(this.index, this.type);\r\n }\r\n this.addAnnouncement(this.announcementModel);\r\n this.setDirtyForm(DIRTY_ANNOUNCEMENTS_FORM, true);\r\n this.$state.go('cms-newsManagement', { skipReloadData: true, skipDirtyForms: true });\r\n }\r\n }\r\n\r\n verifyOtherLanguages() {\r\n let otherLanguageError = false;\r\n this.locales.forEach((locale) => {\r\n if (!this.announcementModel.fields[locale.code]) {\r\n otherLanguageError = true;\r\n }\r\n });\r\n return otherLanguageError;\r\n }\r\n\r\n verifyDateFuture() {\r\n const publishTo = this.announcementModel.publishTo ? moment(this.announcementModel.publishTo).utc().format('x') : undefined;\r\n const serverTime = moment.unix(this.serverTime).utc().startOf('day').format('x');\r\n\r\n return publishTo ? publishTo < serverTime : false;\r\n }\r\n\r\n cancel() {\r\n this.$state.go('cms-newsManagement', { skipReloadData: true });\r\n }\r\n}\r\n\r\nexport default class AnnouncementFormComponent {\r\n constructor() {\r\n this.controller = AnnouncementFormController;\r\n this.template = editTemplate;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-component.js","module.exports = \"\\r\\n
    \\r\\n
    Edit Lottery Announcement
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Title.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Publish On.\\r\\n
    \\r\\n
    \\r\\n Invalid date.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\\"Publish to\\\" date must be in future.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Invalid date.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form.html\n// module id = 1731\n// module chunks = 0","import { checkAccess } from 'app/actions/app.actions';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchAnnouncements, updateAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\nimport * as api from 'dashboard/resources/announcements.api';\r\nimport template from './announcements-management.html';\r\n\r\nconst SECOND_HAND_PERMISSION = 'cms.newsManagement.approve';\r\nconst DIRTY_FORM = 'announcementsManagement';\r\n\r\nconst mapStateToThis = ({ session, dirtyForms, config, announcements }) => {\r\n const { locale } = session;\r\n const dirtyForm = dirtyForms[DIRTY_FORM];\r\n const { secondHandApproval, jurisdictionId } = config;\r\n const { isLoading, draft } = announcements;\r\n\r\n return {\r\n locale,\r\n dirtyForm,\r\n secondHandApproval,\r\n jurisdictionId,\r\n isLoading,\r\n draft,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchAnnouncements,\r\n updateAnnouncements,\r\n setDirtyForm,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', '$state', 'gettextCatalog', 'Responsive')\r\nclass AnnouncementsManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.activeTabIdx = 0;\r\n this.secondHandApprovalActive = this.checkAccess(SECOND_HAND_PERMISSION);\r\n if (!this.$state.params.skipReloadData) this.initAnnouncements();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initAnnouncements() {\r\n await this.fetchAnnouncements(false);\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n }\r\n\r\n cancel() {\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been canceled'));\r\n return this.initAnnouncements();\r\n }\r\n\r\n discardChanges() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n return api\r\n .discardChanges(this.jurisdictionId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been discarded')))\r\n .then(() => this.initAnnouncements());\r\n }\r\n\r\n publish() {\r\n this.updateAnnouncements()\r\n .then(() => this.Notifications.alertSuccess(this.getSuccessText()))\r\n .then(() => this.initAnnouncements())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n getSuccessText() {\r\n return this.secondHandApprovalActive || !this.secondHandApproval\r\n ? this.gettextCatalog.getString('Changes have been published')\r\n : this.gettextCatalog.getString('Changes have been submitted for approval');\r\n }\r\n\r\n isDiscardChangesAvailable() {\r\n return this.secondHandApproval && this.secondHandApprovalActive && this.draft;\r\n }\r\n\r\n isSubmitForApprovalAvailable() {\r\n return this.dirtyForm && this.secondHandApproval && !this.secondHandApprovalActive;\r\n }\r\n\r\n isPublishAvailable() {\r\n return (\r\n (!this.secondHandApproval && this.dirtyForm) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.draft) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.dirtyForm)\r\n );\r\n }\r\n}\r\n\r\nexport default class AnnouncementsManagementComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AnnouncementsManagementController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-component.js","module.exports = \"\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n Changes have been made that require secondary approval. These changes will not take effect until approved by an administrator.\\r\\n \\r\\n \\r\\n There are changes pending approval in this section. It is advised that you review all content before publishing.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Changes have been made that require secondary approval. These changes will not take effect until approved by an administrator.\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n There are changes pending approval in this section. It is advised that you review all content before publishing.\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Discard Changes\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit for Approval\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Publish\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management.html\n// module id = 1733\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport GamesEndingCardComponent from './components/games-ending-card-component';\r\nimport GamesEndingWidgetComponent from './games-ending-component';\r\n\r\nexport default angular\r\n .module('games-ending', [])\r\n .component('gamesEndingCard', new GamesEndingCardComponent())\r\n .component('gamesEnding', new GamesEndingWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-widget-module.js","import template from './games-ending-card.html';\r\n\r\nexport default class GamesEndingCardComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n game: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"\\\"\\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.game.gameName }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n #{{ $ctrl.game.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card.html\n// module id = 1736\n// module chunks = 0","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\n\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport fetchGamesEnding from 'dashboard/resources/games-ending.api';\r\n\r\nimport template from './games-ending.html';\r\n\r\nconst mapStateToThisContactUsBase = ({ ui, session, config, dictionary }) => {\r\n const { retailer, locale } = session;\r\n const { endingGamesActiveTab: activeTab } = ui;\r\n const { endReturnsUsed, endSalesUsed, endValidationsUsed } = config;\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n retailer,\r\n activeTab,\r\n endSalesUsed,\r\n endReturnsUsed,\r\n endValidationsUsed,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n};\r\n\r\nconst tabs = {\r\n endSales: 'endSales',\r\n endValidations: 'endValidations',\r\n endReturns: 'endReturns',\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass GamesEndingWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisContactUsBase, mapDispatchToThis)(this);\r\n\r\n this.tabs = tabs;\r\n this.fetchGamesEnding = fetchGamesEnding;\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.isLoading = true;\r\n\r\n this.fetchGamesEnding(retailerId)\r\n .then((data) => {\r\n this.isLoading = false;\r\n this.data = data;\r\n this.isEmpty = this.data.endSales === null && this.data.endReturns === null && this.data.endValidations === null;\r\n\r\n this.setTab();\r\n })\r\n .catch(() => {\r\n this.isLoading = false;\r\n this.isEmpty = false;\r\n this.isMaintenance = true;\r\n });\r\n }\r\n\r\n setTab() {\r\n switch (true) {\r\n case this.data.endSales !== null && this.endSalesUsed:\r\n this.setActiveTab(this.tabs.endSales, 'endingGamesActiveTab');\r\n break;\r\n case this.data.endValidations !== null && this.endValidationsUsed:\r\n this.setActiveTab(this.tabs.endValidations, 'endingGamesActiveTab');\r\n break;\r\n case this.data.endReturns !== null && this.endReturnsUsed:\r\n this.setActiveTab(this.tabs.endReturns, 'endingGamesActiveTab');\r\n break;\r\n default:\r\n this.setActiveTab('', 'endingGamesActiveTab');\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'endingGamesActiveTab');\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class GamesEndingWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = GamesEndingWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchGamesEnding = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.gamesEnding;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default fetchGamesEnding;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/games-ending.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Games Ending\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    = 6}\\\">\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    = 6}\\\">\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    = 6}\\\">\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending.html\n// module id = 1739\n// module chunks = 0","import angular from 'angular';\r\nimport MyInstantTicketSalesWidgetComponent from './my-instant-ticket-sales-widget-component';\r\n\r\nexport default angular\r\n .module('my-instant-ticket-sales-widget', [])\r\n .component('myInstantTicketSalesWidget', new MyInstantTicketSalesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-module.js","import get from 'lodash/get';\r\nimport find from 'lodash/find';\r\nimport groupBy from 'lodash/groupBy';\r\nimport sortBy from 'lodash/sortBy';\r\nimport merge from 'lodash/merge';\r\nimport moment from 'moment';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport {\r\n isChainHeadSelector,\r\n isSuperChainSelector,\r\n isChainSubordinateSelector,\r\n isIndependentSelector,\r\n isStoreProfileSelector,\r\n} from 'selectors';\r\nimport { getChartColors } from 'app/actions/theme.actions';\r\nimport template from './my-instant-ticket-sales-widget.html';\r\nimport chartConfig from './my-instant-ticket-sales-chart.conf.json';\r\nimport fetchInstatTicketSales from '../../../resources/my-instant-ticket-sales.api';\r\n\r\nconst mapStateToThis = ({ session, dictionary, theme }) => {\r\n const { locale, retailerType, retailer } = session;\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isChainSubordinate = isChainSubordinateSelector({ session });\r\n const isIndependent = isIndependentSelector({ session });\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n terms,\r\n theme,\r\n retailerType,\r\n isStoreProfile,\r\n isSuperChain,\r\n isChainHead,\r\n isChainSubordinate,\r\n isIndependent,\r\n retailer,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$filter', '$state')\r\nclass MyInstantTicketSalesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isEmpty = false;\r\n this.currentYear = new Date().getFullYear();\r\n this.dataType = 1;\r\n this.colors = getChartColors(this.theme.colors);\r\n this.retailerType = this.retailerType || this.getRetailerType();\r\n this.chartConfig = this.extendChartConfig(chartConfig.line);\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadChartData();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getRetailerType() {\r\n if (this.isChainHead) {\r\n return 'CHAIN_HEAD';\r\n }\r\n if (this.isSuperChain) {\r\n return 'SUPER_CHAIN';\r\n }\r\n if (this.isChainSubordinate) {\r\n return 'CHAIN_SUBORDINATE';\r\n }\r\n if (this.isIndependent) {\r\n return 'INDEPENDENT';\r\n }\r\n }\r\n\r\n loadChartData() {\r\n this.thisYearSalesData = [];\r\n this.prevYearSalesData = [];\r\n this.zipData = [];\r\n this.businessData = [];\r\n this.getData();\r\n // this.loadDataAsync('my-instant-ticket-sales', this.getData.bind(this), 'myInstantTicketSales');\r\n }\r\n\r\n calculateDifference(current, last, field) {\r\n if (!last[field] || !current[field]) {\r\n return;\r\n }\r\n return ((current[field] - last[field]) / last[field]) * 100;\r\n }\r\n\r\n getData() {\r\n return fetchInstatTicketSales(this.retailerId)\r\n .then((results = []) => {\r\n const data = results;\r\n\r\n this.checkIfEmptyData(data);\r\n this.postalCountThreshold = find(data, { goePostalCountThreshold: true });\r\n\r\n this.dataTypes = this.isStoreProfile ? this.getSTORE_PROFILEData() : this[`get${this.retailerType}Data`]();\r\n if (!data || !data.length) {\r\n this.isEmpty = true;\r\n } else {\r\n const years = groupBy(sortBy(data, 'yearNumber'), 'yearNumber');\r\n const values = Object.keys(years).map((key) => years[key]);\r\n if (values.length === 1) {\r\n this.thisYearSalesData = values[0];\r\n } else if (values.length > 1) {\r\n this.prevYearSalesData = values[0];\r\n this.thisYearSalesData = values[1];\r\n this.thisYearSalesData.forEach((item) => {\r\n const prevValue = find(this.prevYearSalesData, { weekInYear: item.weekInYear });\r\n if (prevValue) {\r\n item.comparision = {\r\n retValAmt: this.calculateDifference(item, prevValue, 'retValAmt'),\r\n };\r\n }\r\n });\r\n }\r\n this.setChartType();\r\n }\r\n })\r\n .then(() => (this.isLoading = false));\r\n }\r\n\r\n checkIfEmptyData(data) {\r\n this.isEmpty = data.length === 0;\r\n }\r\n\r\n getSalesByZipLabel() {\r\n return this.postalCountThreshold\r\n ? this.gettextCatalog.getString('Avg. sales of retailers in your ZIP code')\r\n : this.gettextCatalog.getString('Avg. sales of retailers in county');\r\n }\r\n\r\n setChartType() {\r\n const option = this.dataTypes.find((opt) => opt.id === this.dataType);\r\n option.getData();\r\n }\r\n\r\n getCHAIN_HEADData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n ];\r\n }\r\n\r\n getSUPER_CHAINData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n ];\r\n }\r\n\r\n getSTORE_PROFILEData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n {\r\n id: 2,\r\n label: this.getSalesByZipLabel(),\r\n getData: () => this.getAvgSalesByZip(),\r\n },\r\n {\r\n id: 3,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers for your business type in state'),\r\n getData: () => this.getAvgSalesByState(),\r\n },\r\n {\r\n id: 4,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers in your chain in state'),\r\n getData: () => this.getAvgSalesByChain(),\r\n },\r\n ];\r\n }\r\n\r\n getCHAIN_SUBORDINATEData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n {\r\n id: 2,\r\n label: this.getSalesByZipLabel(),\r\n getData: () => this.getAvgSalesByZip(),\r\n },\r\n {\r\n id: 3,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers for your business type in state'),\r\n getData: () => this.getAvgSalesByState(),\r\n },\r\n {\r\n id: 4,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers in your chain in state'),\r\n getData: () => this.getAvgSalesByChain(),\r\n },\r\n ];\r\n }\r\n\r\n getINDEPENDENTData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n {\r\n id: 2,\r\n label: this.getSalesByZipLabel(),\r\n getData: () => this.getAvgSalesByZip(),\r\n },\r\n {\r\n id: 3,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers for your business type in state'),\r\n getData: () => this.getAvgSalesByState(),\r\n },\r\n ];\r\n }\r\n\r\n setColors(data) {\r\n const colors = this.colors.slice();\r\n return data.map((item) => {\r\n item.color = colors.shift();\r\n return item;\r\n });\r\n }\r\n\r\n extendChartConfig(chartConf) {\r\n const currencySymbol = undefined;\r\n const currencyFractionSize = 0;\r\n return merge(chartConf, {\r\n chart: {\r\n tooltip: {\r\n contentGenerator: (e) => {\r\n const series = e.series[0];\r\n if (series.value === null) return;\r\n const endOfWeekDate = moment.utc(get(e, 'point.item.date'));\r\n const comparision = get(e, 'point.comparision');\r\n const header = `\r\n \r\n \r\n ${this.gettextCatalog.getString('Week ending')}\r\n ${endOfWeekDate.format('MMM')}. ${endOfWeekDate.format('D')}\r\n \r\n `;\r\n\r\n const row = `\r\n \r\n
    \r\n \r\n \r\n ${this.$filter('currency')(series.value, currencySymbol, currencyFractionSize)}\r\n \r\n \r\n `;\r\n\r\n const secondRow =\r\n comparision !== undefined\r\n ? `\r\n = 0 ? 'success' : 'danger'}\">\r\n = 0 ? 'fa-level-up' : 'fa-level-down'}\">\r\n ${comparision.toFixed(2)}%\r\n `\r\n : '';\r\n\r\n return `\r\n ${header}\r\n \r\n ${row}\r\n ${secondRow}\r\n \r\n
    `;\r\n },\r\n },\r\n yAxis: {\r\n // eslint-disable-next-line\r\n tickFormat: (tickVal) => {\r\n return this.$filter('currency')(tickVal, currencySymbol, currencyFractionSize);\r\n },\r\n },\r\n },\r\n });\r\n }\r\n\r\n getYearSalesSeries(data, field) {\r\n const sortedData = sortBy(data, 'weekInYear');\r\n return {\r\n key: sortedData[0].yearNumber,\r\n values: sortedData.map((item) => {\r\n const value = {\r\n x: item.weekInYear,\r\n y: item[field],\r\n item,\r\n };\r\n if (item.comparision) {\r\n value.comparision = item.comparision[field];\r\n }\r\n return value;\r\n }),\r\n };\r\n }\r\n\r\n getLastYearSales() {\r\n let formattedData = [];\r\n if (this.prevYearSalesData.length) {\r\n formattedData = formattedData.concat(this.getYearSalesSeries(this.prevYearSalesData, 'retValAmt'));\r\n }\r\n\r\n if (this.thisYearSalesData.length) {\r\n formattedData = formattedData.concat(this.getYearSalesSeries(this.thisYearSalesData, 'retValAmt'));\r\n }\r\n this.redrawChart(formattedData);\r\n }\r\n\r\n getOtherSalesSeries(data, field) {\r\n const sortedData = sortBy(data, 'weekInYear');\r\n const title = field === 'retValAmt' ? this.gettextCatalog.getString('Your Sales') : this.gettextCatalog.getString('Avg. Sales');\r\n return {\r\n key: title,\r\n values: sortedData.map((item) => ({\r\n x: item.weekInYear,\r\n y: item[field],\r\n item,\r\n })),\r\n };\r\n }\r\n\r\n getAvgSalesByZip() {\r\n this.getAvgSalesByType('postalWeeklyAvg');\r\n }\r\n\r\n getAvgSalesByState() {\r\n this.getAvgSalesByType('sicWeeklyAvg');\r\n }\r\n\r\n getAvgSalesByChain() {\r\n this.getAvgSalesByType('chainWeeklyAvg');\r\n }\r\n\r\n getAvgSalesByType(type) {\r\n let formattedData = [];\r\n if (this.thisYearSalesData.length) {\r\n formattedData = formattedData.concat(\r\n this.getOtherSalesSeries(this.thisYearSalesData, type),\r\n this.getOtherSalesSeries(this.thisYearSalesData, 'retValAmt')\r\n );\r\n }\r\n\r\n this.redrawChart(formattedData);\r\n }\r\n\r\n redrawChart(data) {\r\n this.chartData = this.setColors(data);\r\n if (this.chartApi) {\r\n this.chartApi.updateWithData(this.chartData);\r\n this.chartRefreshTimeout = setTimeout(() => {\r\n this.chartApi.refresh();\r\n }, 100);\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n if (this.chartRefreshTimeout) {\r\n clearTimeout(this.chartRefreshTimeout);\r\n }\r\n }\r\n}\r\n\r\nexport default class MyInstantTicketSalesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = MyInstantTicketSalesWidgetController;\r\n this.bindings = {\r\n model: '<',\r\n config: '<',\r\n appCtrl: '<',\r\n widgetsApi: '<',\r\n dashboardApi: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n setWidgetLoading: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n My {{ instant }} Ticket Sales\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Your {{ instant }} ticket sales by week (based on validations) this calendar year to date, measured against your own sales the previous year; average lottery sales by retailers in your geographical area this year; and average lottery sales in the state by retailers in your same business type this year.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Compare your CY weekly sales with\\r\\n \\r\\n \\r\\n {{opt.label}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{item.key}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget.html\n// module id = 1742\n// module chunks = 0","module.exports = {\"line\":{\"chart\":{\"clipEdge\":false,\"type\":\"lineChart\",\"height\":280,\"margin\":{\"left\":90},\"showLabels\":false,\"showLegend\":false,\"growOnHover\":false,\"tooltips\":{\"enabled\":true},\"xAxis\":{\"showMaxMin\":false,\"axisLabel\":\"Week\"},\"yAxis\":{\"showMaxMin\":false,\"ticks\":5}},\"title\":{\"enable\":false}},\"months\":[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-chart.conf.json\n// module id = 1743\n// module chunks = 0","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchInstatTicketSales = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.instantTicketSales;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default fetchInstatTicketSales;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-instant-ticket-sales.api.js","import widgetTemplate from './common-widget.html';\r\n\r\nexport default class CommonWidgetComponent {\r\n constructor() {\r\n this.transclude = {\r\n tooltip: '?widgetTooltip',\r\n header: '?widgetHeader',\r\n content: '?widgetContent',\r\n empty: '?widgetEmptyText',\r\n };\r\n\r\n this.bindings = {\r\n cssClass: '@',\r\n isEmpty: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n hideHeader: '<',\r\n showEmpty: '<',\r\n isMaintenance: '<',\r\n isLoading: '\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Data is currently unavailable. This widget will display on your dashboard when data is available.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Loading...\\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/common/common-widget/common-widget.html\n// module id = 1746\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport utils from 'utils/lsp-utils-service';\r\nimport RetailerFilterDirective from './retailer-filter-directive';\r\n\r\nexport default angular.module('retailer-filter', []).directive('retailerFilter', utils.createNgFactory(RetailerFilterDirective));\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/retailer-filter/retailer-filter-module.js","import retailerFilterTemplate from './retailer-filter.html';\r\n\r\nclass RetailerFilterDirective {\r\n constructor() {\r\n this.restrict = 'E';\r\n this.template = retailerFilterTemplate;\r\n this.controller = () => {};\r\n this.controllerAs = 'ctrl';\r\n }\r\n}\r\n\r\nexport default RetailerFilterDirective;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/retailer-filter/retailer-filter-directive.js","module.exports = \"
    \\r\\n

    Filter by Subordinate Retailer:

    \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.name }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/retailer-filter/retailer-filter.html\n// module id = 1749\n// module chunks = 0","import { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchPackStatusesDictionary } from 'app/actions/dictionaries/pack-statuses-dictionary.actions';\r\nimport { fetchOrderStatusesDictionary } from 'app/actions/dictionaries/order-statuses-dictionary.actions';\r\n\r\nimport { RETAILER_TYPE } from 'app/validators/roles';\r\nimport rwDashboardsTemplate from './rw-dashboards.html';\r\nimport rwAddWidgetTemplate from './rw-add-widget/rw-add-widget.html';\r\nimport RwAddWidgetController from './rw-add-widget/rw-add-widget-controller';\r\nimport dashboardsConfig from '../config/dashboards.conf.json';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapStateToThis = ({ session }) => ({\r\n retailer: session.retailer,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n fetchPackStatusesDictionary,\r\n fetchOrderStatusesDictionary,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', 'Notifications', 'gettextCatalog')\r\nclass RwDashboardsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n async $onInit() {\r\n this.canCustomizeDashboard = this.checkAccess('dashboard.customize');\r\n this.retailerType = this.retailerType || this.retailer.retailerType.toUpperCase();\r\n this.isEditMode = false;\r\n this.dashboardsConfig = dashboardsConfig;\r\n await Promise.all([this.fetchPackStatusesDictionary(), this.fetchOrderStatusesDictionary()]);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n addWidget() {\r\n return this.Notifications.showComplexDialog({\r\n template: rwAddWidgetTemplate,\r\n controller: RwAddWidgetController,\r\n resolve: {\r\n retailerType: () => this.retailerType,\r\n },\r\n });\r\n }\r\n}\r\n\r\nclass RwDashboardsComponent {\r\n constructor() {\r\n this.template = rwDashboardsTemplate;\r\n this.controller = RwDashboardsController;\r\n this.bindings = {\r\n cssClass: '@',\r\n retailerType: '@',\r\n subtype: '@',\r\n title: '@',\r\n subtitle: '@',\r\n isDefault: '<',\r\n isDisabledShare: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default RwDashboardsComponent;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-dashboards-component.js","module.exports = \"\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-dashboards.html\n// module id = 1751\n// module chunks = 0","module.exports = \"
    \\r\\n

    \\r\\n Add widget\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{widgetData.name | translate}}\\r\\n \\r\\n \\r\\n \\r\\n Add\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n No widgets available.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-add-widget/rw-add-widget.html\n// module id = 1752\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { addWidget, getWidgetsList } from 'dashboard/actions/dashboard.actions';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapStateToThis = (state) => ({\r\n widgetsList: state.dashboard.widgets,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n getWidgetsList,\r\n addWidget,\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog')\r\nclass RwAddWidgetController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onInit() {\r\n this.headers = [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Actions'),\r\n },\r\n ];\r\n\r\n this.getWidgetsList(this.retailerType);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onAddWidget(widgetData) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.addWidget(widgetData);\r\n this.getWidgetsList(this.retailerType);\r\n }\r\n}\r\n\r\nexport default RwAddWidgetController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-add-widget/rw-add-widget-controller.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchDashboard = (userId) => {\r\n const url = DepsService.rest.dashboard.data.url;\r\n const queryParams = {};\r\n const urlParams = { userId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchDefaultDashboard = (type) => {\r\n const url = DepsService.rest.dashboard.defaults.url;\r\n const queryParams = {};\r\n const urlParams = { type };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateDashboard = (dashboardToSave) => {\r\n const url = DepsService.rest.dashboard.save.url;\r\n const queryParams = dashboardToSave;\r\n const urlParams = {\r\n dashboardId: dashboardToSave.id,\r\n };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/dashboard.api.js","module.exports = {\"widgets\":[{\"type\":\"games-ending\",\"permission\":\"dashboard.widget.gamesEnding\",\"component\":\"\"},{\"type\":\"top-vlt-games\",\"permission\":\"dashboard.widget.topVltGames\",\"component\":\"\"},{\"type\":\"site-financial-status\",\"permission\":\"dashboard.widget.siteFinancialStatus\",\"component\":\"\"},{\"type\":\"site-operational-status\",\"permission\":\"dashboard.widget.siteOperationalStatus\",\"component\":\"\"},{\"type\":\"tickets\",\"permission\":\"dashboard.widget.tickets\",\"component\":\"\"},{\"type\":\"configurable-link-summary\",\"permission\":\"dashboard.widget.configurableLink.summary\",\"component\":\"\"},{\"type\":\"configurable-link-instant\",\"permission\":\"dashboard.widget.configurableLink.instant\",\"component\":\"\"},{\"type\":\"earnings\",\"permission\":\"dashboard.widget.earnings\",\"component\":\"\"},{\"type\":\"net-earnings\",\"permission\":\"dashboard.widget.netEarnings\",\"component\":\"\"},{\"type\":\"eft-amount\",\"permission\":\"dashboard.widget.eftAmount\",\"component\":\"\"},{\"type\":\"jackpots-next-draws\",\"permission\":\"dashboard.widget.jackpotsNextDraws\",\"component\":\"\"},{\"type\":\"net-sales\",\"permission\":\"dashboard.widget.netSales\",\"component\":\"\"},{\"type\":\"big-winners\",\"permission\":\"dashboard.widget.bigWinners\",\"component\":\"\"},{\"type\":\"big-winners-instant\",\"permission\":\"dashboard.widget.bigWinnersInstant\",\"component\":\"\"},{\"type\":\"big-winners-draw\",\"permission\":\"dashboard.widget.bigWinnersDraw\",\"component\":\"\"},{\"type\":\"cumulative-winners\",\"permission\":\"dashboard.widget.cumulativeWinners\",\"component\":\"\"},{\"type\":\"current-instant-game-liability\",\"permission\":\"dashboard.widget.currentInstantGameLiability\",\"component\":\"\"},{\"type\":\"actual-and-projected-settlements\",\"permission\":\"dashboard.widget.actualAndProjectedSettlements\",\"component\":\"\"},{\"type\":\"new-games\",\"permission\":\"dashboard.widget.newGames\",\"component\":\"\"},{\"type\":\"my-slow-moving-games\",\"permission\":\"dashboard.widget.mySlowMovingGames\",\"component\":\"\"},{\"type\":\"my-price-point-mix\",\"permission\":\"dashboard.widget.myPricePointMix\",\"component\":\"\"},{\"type\":\"my-net-sales-performance\",\"permission\":\"dashboard.widget.myNetSalesPerformance\",\"component\":\"\"},{\"type\":\"view-full-game-inventory\",\"permission\":\"dashboard.widget.gameInventory\",\"component\":\"\"},{\"type\":\"top-selling-games\",\"permission\":\"dashboard.widget.topSellingGames\",\"component\":\"\"},{\"type\":\"messages\",\"permission\":\"dashboard.widget.messages\",\"component\":\"\"},{\"type\":\"lottery-representatives\",\"permission\":\"dashboard.widget.lotteryRepresentatives\",\"component\":\"\"},{\"type\":\"self-service-out-of-stock\",\"permission\":\"dashboard.widget.selfServiceOutOfStock\",\"component\":\"\"},{\"type\":\"license-renewal\",\"permission\":\"dashboard.widget.licenseRenewal\",\"component\":\"\"},{\"type\":\"bond-renewal\",\"permission\":\"dashboard.widget.bondRenewal\",\"component\":\"\"},{\"type\":\"selling-terminals\",\"permission\":\"dashboard.widget.sellingTerminals\",\"component\":\"\"},{\"type\":\"chain-sales-rank\",\"permission\":\"dashboard.widget.chainSalesRank\",\"component\":\"\"},{\"type\":\"store-sales-rank\",\"permission\":\"dashboard.widget.storeSalesRank\",\"component\":\"\"},{\"type\":\"end-of-game\",\"permission\":\"dashboard.widget.endOfGame\",\"component\":\"\"},{\"type\":\"lvm-sales\",\"permission\":\"dashboard.widget.lvmSales\",\"component\":\"\"},{\"type\":\"my-instant-ticket-sales\",\"permission\":\"dashboard.widget.myInstantTicketSales\",\"component\":\"\"}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/config/dashboards.conf.json\n// module id = 1755\n// module chunks = 0","import helpers from 'app/app-helpers';\r\nimport { fetchDashboard, restoreDefaults, saveDashboard, setEditMode } from 'dashboard/actions/dashboard.actions';\r\nimport { checkDirtyForm, setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isSuperChainSelector } from 'selectors';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport rwDashboardTemplate from './rw-dashboard.html';\r\n\r\nconst mapStateToThis = ({ dashboard, session, config, dictionary }) => {\r\n const { isEditMode, isLoading, current } = dashboard;\r\n const { locale } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n\r\n const terms = dictionary.terms[locale];\r\n const applicationName = config.applicationName[locale];\r\n\r\n return {\r\n isSuperChain,\r\n isEditMode,\r\n isLoading,\r\n session,\r\n config,\r\n terms,\r\n applicationName,\r\n dashboard: current,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchDashboard,\r\n setEditMode,\r\n restoreDefaults,\r\n saveDashboard,\r\n checkDirtyForm,\r\n setDirtyForm,\r\n checkAccess,\r\n changePageTitle,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', 'gettextCatalog', '$rootScope')\r\nclass RwDashboardController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.setPageTitle();\r\n this.DIRTY_FORM = 'dashboard';\r\n this.isAlertsWidgetAvailable = this.checkIsAlertsWidgetAvailable();\r\n if (!!this.retailerType && !!this.subtype) {\r\n if (this.isDefault) {\r\n this.restoreDefaults(this.retailerType, this.subtype);\r\n } else {\r\n this.fetchDashboard(this.retailerType, this.subtype);\r\n }\r\n } else {\r\n helpers.redirectToFirstPageFromMenu({\r\n $state: this.$state,\r\n });\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.disableEditMode(true);\r\n this.unsubscribe();\r\n }\r\n\r\n openSettings() {\r\n this.onOpenSettings({\r\n dashboard: this.dashboard,\r\n });\r\n }\r\n\r\n addWidget() {\r\n this.onAddWidget();\r\n }\r\n\r\n save(leaveEditMode = true) {\r\n this.saveDashboard(this.dashboard).then(() => {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n if (leaveEditMode) {\r\n this.disableEditMode(true);\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n if (this.checkDirtyForm(this.DIRTY_FORM)) {\r\n this.refreshData();\r\n }\r\n this.disableEditMode();\r\n }\r\n\r\n disableEditMode(save = false) {\r\n this.isEditMode = false;\r\n this.setEditMode(this.isEditMode, save);\r\n }\r\n\r\n enableEditMode() {\r\n this.isEditMode = true;\r\n this.setEditMode(this.isEditMode);\r\n }\r\n\r\n onRestoreDefaults() {\r\n this.restoreDefaults(this.retailerType, this.subtype);\r\n }\r\n\r\n checkIsAlertsWidgetAvailable() {\r\n return !this.isSuperChain && this.checkAccess('dashboard.widget.alerts');\r\n }\r\n\r\n setPageTitle() {\r\n // Require to support lottery term instant\r\n if (this.subtype === 'instant') {\r\n this.changePageTitle(this.gettextCatalog.getString('{{ instant }} Dashboard', { instant: this.terms.INSTANT.plural }));\r\n this.$rootScope.title = this.gettextCatalog.getString('{{ applicationName }} - {{ instant }} Dashboard', {\r\n instant: this.terms.INSTANT.plural,\r\n applicationName: this.applicationName,\r\n });\r\n }\r\n }\r\n}\r\n\r\nclass RwDashboardComponent {\r\n constructor() {\r\n this.require = {\r\n rwDashboardsCtrl: '^rwDashboards',\r\n };\r\n this.template = rwDashboardTemplate;\r\n this.controller = RwDashboardController;\r\n this.bindings = {\r\n subtype: '<',\r\n retailerType: '<',\r\n widgetsConfig: '<',\r\n cssClass: '@',\r\n onAddWidget: '&',\r\n canCustomizeDashboard: '<',\r\n isDefault: '<',\r\n isDisabledShare: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default RwDashboardComponent;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-dashboard/rw-dashboard-component.js","module.exports = \"
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Customize Dashboard\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Restore defaults\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Add widget\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    Widgets are loading...
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-dashboard/rw-dashboard.html\n// module id = 1757\n// module chunks = 0","import appHelpers from 'app/app-helpers';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport rwRenderWidgetsTemplate from './rw-render-widgets.html';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapStateToThis = (state) => ({\r\n isEditMode: state.dashboard.isEditMode,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RwRenderWidgetsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.asSortableOptions = {\r\n additionalPlaceholderClass: 'rw-dashboard-render-widgets-sortable-placeholder',\r\n dragMove: appHelpers.dragMove,\r\n itemMoved: () => {\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n },\r\n orderChanged: () => {\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n },\r\n };\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nclass RwRenderWidgetsComponent {\r\n constructor() {\r\n this.template = rwRenderWidgetsTemplate;\r\n this.controller = RwRenderWidgetsController;\r\n this.bindings = {\r\n widgets: '=',\r\n widgetsConfig: '<',\r\n rowId: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n };\r\n }\r\n}\r\n\r\nexport default RwRenderWidgetsComponent;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets.html\n// module id = 1759\n// module chunks = 0","import template from './rw-remove-widget.html';\r\n\r\nexport default class RwRemoveWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n action: '&',\r\n };\r\n this.template = template;\r\n this.controller = () => {};\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget-component.js","module.exports = \"
    \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget.html\n// module id = 1761\n// module chunks = 0","import template from './rw-move-widget.html';\r\n\r\nexport default class RwMoveWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-move-widget/rw-move-widget-component.js","module.exports = \"
    \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-move-widget/rw-move-widget.html\n// module id = 1763\n// module chunks = 0","/* REDUX */\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { deleteWidget } from 'dashboard/actions/dashboard.actions';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapDispatchToThis = {\r\n deleteWidget,\r\n setDirtyForm,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RwRenderWidgetController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(null, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.cachedImages = {};\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getWidgetConfig() {\r\n return this.widgetsConfig ? this.widgetsConfig.find((conf) => conf.type === this.widget.type) : {};\r\n }\r\n\r\n removeWidget() {\r\n this.deleteWidget(this.widget);\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n }\r\n\r\n revokeUrls() {\r\n Object.keys(this.cachedImages).forEach((url) => {\r\n URL.revokeObjectURL(url);\r\n });\r\n }\r\n}\r\n\r\nfunction RwRenderWidgetDirective($compile) {\r\n function getComponent(ctrl) {\r\n const widgetConfig = ctrl.getWidgetConfig();\r\n return ctrl.checkAccess(widgetConfig.permission) ? widgetConfig.component : '';\r\n }\r\n\r\n function link(scope, element, attrs, $ctrl) {\r\n const widgetScope = scope.$new();\r\n\r\n widgetScope.$on('$destroy', () => $ctrl.revokeUrls());\r\n const widgetComponent = getComponent($ctrl);\r\n element.html(widgetComponent);\r\n $compile(element.contents())(widgetScope);\r\n }\r\n\r\n return {\r\n controller: RwRenderWidgetController,\r\n controllerAs: '$ctrl',\r\n scope: {},\r\n bindToController: {\r\n widget: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n widgetsConfig: '<',\r\n widgetPosition: '<',\r\n onRemoveWidget: '&',\r\n },\r\n link,\r\n };\r\n}\r\n\r\nRwRenderWidgetDirective.$inject = ['$compile'];\r\n\r\nexport default RwRenderWidgetDirective;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-render-widget/rw-render-widget-directive.js","import angular from 'angular';\r\nimport userRoutingModule from 'user/user-routing-module';\r\nimport userErrorCodesModule from 'user/config/errorcodes.conf';\r\nimport myAccountModule from 'user/components/my-account/my-account-module';\r\nimport manageUsersModule from 'user/components/manage-users/manage-users-component';\r\nimport editAccountModule from 'user/components/edit-account/edit-account-component';\r\nimport createAccountStepsModule from 'user/components/create-account-steps/create-account-steps-component';\r\nimport changePrimaryUserModule from 'user/components/change-primary-user/change-primary-user-component';\r\nimport retailerSettingsModule from 'user/components/retailer-settings/retailer-settings-module';\r\nimport securityModule from 'security/security-module';\r\nimport authModule from 'auth/auth-module';\r\n\r\nexport default angular.module('user', [\r\n userRoutingModule.name,\r\n userErrorCodesModule.name,\r\n myAccountModule.name,\r\n manageUsersModule.name,\r\n editAccountModule.name,\r\n createAccountStepsModule.name,\r\n changePrimaryUserModule.name,\r\n retailerSettingsModule.name,\r\n securityModule.name,\r\n authModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/user-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('userRouting', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('user-changePrimary', {\r\n parent: 'arw',\r\n url: '/change-primary-user/:retailerId/:primaryUserId',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Change Primary User')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n config: appFactory.deps.config,\r\n promoteToPrimary: appFactory.dispatch('user.promoteToPrimary', true),\r\n nextPage: appFactory.dispatch('user.changePrimaryUser.nextPage', true),\r\n prevPage: appFactory.dispatch('user.changePrimaryUser.prevPage', true),\r\n gotoPage: appFactory.dispatch('user.changePrimaryUser.gotoPage', true),\r\n applyFilters: appFactory.dispatch('user.changePrimaryUser.applyFilters', true),\r\n }))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('user-createAccount', {\r\n parent: 'arw',\r\n url: '/create-account',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Create New User')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('user-createSecondaryUserAccount', {\r\n parent: 'arw',\r\n url: '/create-secondary-user-account/:primaryUserId',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Create New User')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('user-viewAccountDetails', {\r\n parent: 'arw',\r\n url: '/view-account-details/{id:[0-9]*}?tabId',\r\n template: ``,\r\n params: {\r\n retailerId: null,\r\n skipDirtyForms: false,\r\n },\r\n redirectTo: 'permissions-denied',\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n '$stateParams',\r\n 'appApi',\r\n (appFactory, $stateParams) =>\r\n appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => {\r\n const { id, retailerId } = $stateParams;\r\n return appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => appFactory.dispatch('user.loadUser', true).run(id, retailerId))\r\n .then((model) => ({\r\n config: appFactory.deps.config,\r\n loadUser: appFactory.actions.user.loadUserById,\r\n canEditAccountDetails: appFactory.deps.checkAccess(model, 'user.editAccountDetails'),\r\n canEdit: appFactory.deps.checkAccess(model, 'user.canEdit'),\r\n canCompleteRegistration: appFactory.deps.checkAccess(model, 'user.canCompleteRegistration'),\r\n accountInactive: appFactory.deps.checkAccess(model, 'user.accountInactive'),\r\n canResendActivationEmail: appFactory.deps.checkAccess(model, 'user.canResendActivationEmail'),\r\n canAuthenticateUser: appFactory.deps.checkAccess(model, 'user.authenticateUser'),\r\n isUserNotSuspended: appFactory.deps.checkAccess(model, 'user.isUserNotSuspended'),\r\n canChangePrimaryUser: appFactory.deps.checkAccess(model, 'user.canChangePrimaryUser'),\r\n canShowRetailerFields: appFactory.deps.checkAccess(model, 'user.canShowRetailerFields'),\r\n canUpdateUserStatus: appFactory.checkValidators(model, 'user.canUpdateUserStatus'),\r\n canUpdateAccountPrivileges:\r\n appFactory.checkValidators(model, 'user.canUpdatePrivileges') && appFactory.deps.config.privilegesCustomization,\r\n resendActivationEmail: appFactory.dispatch('user.canResendActivationEmail', true),\r\n authenticateUser: appFactory.dispatch('user.authenticateUser', true),\r\n activate: appFactory.dispatch('user.activate', true),\r\n suspend: appFactory.dispatch('user.suspend', true),\r\n updatePersonalData: appFactory.dispatch('user.updateSubordinateUser', true),\r\n loginByRest: appFactory.dispatch('auth.loginByRest', true),\r\n loadPrivileges: appFactory.dispatch('privilegeTemplates.loadPrivileges', true),\r\n resetCurrentPreset: appFactory.dispatch('privilegeTemplates.resetCurrentPreset', true),\r\n updateUserPrivileges: appFactory.dispatch('user.updateUserPrivileges', true),\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n showComplexDialog: appFactory.uiHelpers.showComplexDialog,\r\n redirectAfterLogin: appFactory.uiHelpers.redirectAfterLogin.bind(null, appFactory.deps),\r\n deleteUser: appFactory.dispatch('user.deleteUser', true),\r\n }));\r\n })\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('user-myAccount', {\r\n parent: 'arw',\r\n url: '/my-account',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('My Account')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('user-manageUsers', {\r\n parent: 'arw',\r\n url: '/manage-users',\r\n template: ``,\r\n redirectTo: 'dashboard-summary',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Users')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n filterUsers: appFactory.dispatch('user.grid.applyFilters', true),\r\n sortUsers: appFactory.dispatch('user.grid.sortByColumn', true),\r\n prevPage: appFactory.dispatch('user.grid.prevPage', true),\r\n nextPage: appFactory.dispatch('user.grid.nextPage', true),\r\n gotoPage: appFactory.dispatch('user.grid.gotoPage', true),\r\n exportReport: appFactory.actions.user.exportUserReport,\r\n }))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('retailer-settings', {\r\n parent: 'arw',\r\n url: '/retailer-settings',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Retailer Settings')));\r\n },\r\n ],\r\n },\r\n withoutPerms: true,\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/user-routing-module.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nimport alertModalTpl from 'auth/views/alert-modal.html';\r\n\r\nexport default angular.module('user-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n user: {\r\n PRIMARY_ALREADY_REGISTERED: () => ({ title: gettextCatalog.getString('Primary User for this Retailer is already registered.') }),\r\n PASSWORD_REQUIRMENTS_NOT_MET: () => ({ title: gettextCatalog.getString('Password requirements not met.') }),\r\n RETAILER_NOT_IN_SCOPE: () => ({ title: gettextCatalog.getString('Access denied to Retailer. Please contact Administrator.') }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n RETAILER_NOT_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Retailer is not {{ active }} or does not exist in Retail Management. Please contact Administrator.',\r\n { active: params.terms.ACTIVE.singular }\r\n ),\r\n }),\r\n NOT_FOUND: () => ({ title: gettextCatalog.getString('Data not found.') }),\r\n USER_NOT_FOUND: () => ({ title: gettextCatalog.getString('User not found.') }),\r\n INVALID_EMAIL: () => ({ title: gettextCatalog.getString('Not a well-formed email address.') }),\r\n WRONG_CHALLENGE_ANSWER: () => ({ title: gettextCatalog.getString('Wrong challenge answer.') }),\r\n PRIMARY_USER_PRIVILEGE_UPDATE: () => ({ title: gettextCatalog.getString('Cannot update privileges for primary user.') }),\r\n MULTIPLE_PRIMARY_USER_EXCEPTION: () => ({\r\n title: gettextCatalog.getString('Primary User for this Retailer is already registered.'),\r\n }),\r\n USER_ALREADY_EXIST: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User with this e-mail address is already registered. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n USER_ALREADY_EXISTS_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User with this e-mail address is already registered. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n USER_NOT_ALLOWED_EMAIL_RESEND: () => ({\r\n title: gettextCatalog.getString('Activation email resent fails (User is not allowed for email resend).'),\r\n }),\r\n USER_NOT_SUSPENDED: (params) => ({\r\n title: gettextCatalog.getString('Unable to Activate User'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot activate this user because the user status is not {{ inactive }}.', {\r\n inactive: params.terms.INACTIVE.singular,\r\n }),\r\n }),\r\n USER_STATUS_CHANGE_NOT_ALLOWED: () => ({\r\n title: gettextCatalog.getString('Unable to Update Account Status'),\r\n body: gettextCatalog.getString('Sorry, you cannot update account status because the account is suspended.'),\r\n }),\r\n USER_NOT_ACTIVE: (params) => ({\r\n title: gettextCatalog.getString('Unable to Inactivate User'),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot inactivate this user because the user status is not {{ active }}.', {\r\n active: params.terms.ACTIVE.singular,\r\n }),\r\n }),\r\n PROMOTION_DENIED_MULTISTORE: () => ({\r\n title: gettextCatalog.getString('Unable to Change Primary User'),\r\n body: gettextCatalog.getString('Sorry, you cannot change multistore primary user.'),\r\n }),\r\n AUTHORIZATION_DATA_NOT_VALID: (params) => ({\r\n title: gettextCatalog.getString('Unable to create User'),\r\n body: gettextCatalog.getString('Sorry, we cannot find owner for provided ({{ ownerValidationMethod }}) number.', {\r\n ownerValidationMethod: params.ownerValidationMethod,\r\n }),\r\n }),\r\n AUTHORIZATION_CHAIN_DATA_NOT_VALID: () => ({\r\n title: gettextCatalog.getString('Unable to create User'),\r\n body: gettextCatalog.getString('Sorry, email address does not match retailer.'),\r\n }),\r\n ACCOUNT_LOCKED: () => ({ title: gettextCatalog.getString('Sorry, you cannot reset password because this account is suspended.') }),\r\n MULTIPLE_PRIMARY_USER_WITH_SAME_OWNER_EXCEPTION: () => ({\r\n title: gettextCatalog.getString(\r\n 'User from that owner already exists, please use another ({{ ownerValidationMethod }}) sequence.',\r\n { ownerValidationMethod: params.ownerValidationMethod }\r\n ),\r\n }),\r\n IDENTIFICATION_NOT_VALID: () => ({ title: gettextCatalog.getString('Selected user class is incorrect for this retailer number.') }),\r\n USER_CANNOT_DELETE_ITSELF: () => ({ title: gettextCatalog.getString('User cannot delete itself.') }),\r\n /// {{ dsr }} is Lottery term using to determine District Sales Representative.\r\n LOTTERY_REP_ID_NOT_PROVIDED: (params) => ({\r\n title: gettextCatalog.getString('Admin user has at least one limit to retailers privilege and not set {{ dsr }} id.', {\r\n dsr: params.terms.DSR.singular,\r\n }),\r\n }),\r\n /// {{ dsr }} is Lottery term using to determine District Sales Representative.\r\n NOT_ASSIGNED_LOTTERY_REPRESENTATIVE: (params) => ({\r\n title: gettextCatalog.getString('You are not assigned as {{ dsr }} for selected Retailer.', { dsr: params.terms.DSR.singular }),\r\n }),\r\n PASSWORD_ALREADY_USED: () => ({\r\n title: gettextCatalog.getString('Cannot reuse password'),\r\n body: gettextCatalog.getString(\"Cannot reuse old password. Last 3 passwords mustn't repeat.\"),\r\n template: alertModalTpl,\r\n }),\r\n MAX_CHALLENGE_ANSWER_EXCEEDED: () => ({ title: gettextCatalog.getString('Sorry, you exceeded maximum number of tries.') }),\r\n BAD_PARAMETER: () => ({ title: gettextCatalog.getString('Sorry, you provided incorrect format in one of search fields.') }),\r\n USER_WITH_GIVEN_PHONE_ALREADY_EXISTS: () => ({\r\n title: gettextCatalog.getString(\r\n \"The mobile number you provided is connected to another user's account. Please enter a different mobile number.\"\r\n ),\r\n }),\r\n PRIMARY_USER_NOT_EXISTS: () => ({\r\n title: gettextCatalog.getString('Unable to create User'),\r\n body: gettextCatalog.getString('There is no active primary user'),\r\n }),\r\n NOT_AUTHORIZED: (params) => ({\r\n title: gettextCatalog.getString('User not authorized. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n },\r\n changeprimaryuser: {\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n 24: (params) => ({\r\n title: gettextCatalog.getString('User Access is already set to {{ inactive }}.', { inactive: params.terms.INACTIVE.singular }),\r\n }),\r\n },\r\n suspendactivateusers: {\r\n 23: () => ({\r\n title: gettextCatalog.getString('Unable to Update Account Status'),\r\n body: gettextCatalog.getString('Sorry, you cannot update account status because the account is suspended.'),\r\n }),\r\n 24: (params) => ({\r\n title: gettextCatalog.getString('Unable to Suspend User'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot suspend this user because user status is {{ inactive }}.', {\r\n inactive: params.terms.INACTIVE.singular,\r\n }),\r\n }),\r\n 25: (params) => ({\r\n title: gettextCatalog.getString('Unable to Activate User'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot activate this user because the user status is not {{ inactive }}.', {\r\n inactive: params.terms.INACTIVE.singular,\r\n }),\r\n }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/config/errorcodes.conf.js","import angular from 'angular';\r\nimport userGroupMemberships from 'user/components/group-memberships/user-group-memberships-module';\r\nimport MyAccountComponent from './my-account-component';\r\nimport MyAccountFormComponent from './components/form/my-account-form-component';\r\n\r\nexport default angular\r\n .module('my-account', [userGroupMemberships.name])\r\n .component('myAccount', new MyAccountComponent())\r\n .component('myAccountForm', new MyAccountFormComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/my-account/my-account-module.js","import { getRetailerGroupsSpecified } from 'retailer-groups/resources/retailer-groups-api';\r\n\r\nexport class UserGroupMembershipsController {\r\n constructor() {\r\n this.retailerGroups = [];\r\n }\r\n\r\n canView() {\r\n return this.user.retailerGroups && this.user.retailerGroups.length > 0;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/group-memberships/user-group-memberships-controller.js","import DepsService from 'services/dependencies';\r\nimport roles from 'app/validators/roles';\r\nimport pick from 'lodash/pick';\r\n\r\nconst getSearchUrl = () => DepsService.rest.retailerGroup.search.url;\r\nconst getByUserUrl = () => DepsService.rest.retailerGroup.byUser.url;\r\nconst maxPageSize = 500;\r\n\r\nexport function getRetailerGroups(queryParameters = {}) {\r\n const { role, id } = DepsService.$ngRedux.getState().session;\r\n const parameters = { ...queryParameters, statusCode: 1 };\r\n return roles.ADMIN_ROLES.includes(role)\r\n ? DepsService.restSrv.list(undefined, getSearchUrl(), parameters)\r\n : DepsService.restSrv.list(undefined, getByUserUrl(), {}, { id }).then(\r\n retailerGroups => getRetailerGroupsSpecified(retailerGroups, parameters)\r\n );\r\n}\r\n\r\nexport function getOwnerRetailerGroups(queryParameters = {}) {\r\n const { role, ownerRetailerGroups } = DepsService.$ngRedux.getState().session;\r\n const parameters = { ...queryParameters, statusCode: 1 };\r\n return roles.ADMIN_ROLES.includes(role)\r\n ? DepsService.restSrv.list(undefined, getSearchUrl(), parameters)\r\n : getRetailerGroupsSpecified(ownerRetailerGroups, parameters);\r\n}\r\n\r\nexport function getRetailerGroup(id) {\r\n return DepsService.restSrv.get(undefined, DepsService.rest.retailerGroup.get.url, undefined, { id });\r\n}\r\n\r\nexport function getRetailerGroupMembers(id, parameters) {\r\n return DepsService.restSrv.get(undefined, DepsService.rest.retailerGroup.members.url, parameters, { id });\r\n}\r\n\r\nexport function getOwnerRetailerGroupIds(ownerId) {\r\n return DepsService.restSrv.get(undefined, DepsService.rest.retailerGroup.ids.forOwner.url, undefined, { ownerId });\r\n}\r\n\r\nexport function getRetailerGroupsSpecified(groupIds = [], queryParameters = {}) {\r\n return DepsService.restSrv.create(undefined, getSearchUrl(), { groupIds }, {\r\n 'page-size': maxPageSize,\r\n ...queryParameters,\r\n });\r\n}\r\n\r\nexport function createRetailerGroup(retailerGroup) {\r\n return DepsService.restSrv.create(undefined, DepsService.rest.retailerGroup.create.url, retailerGroup);\r\n}\r\n\r\nexport function updateRetailerGroup(retailerGroup) {\r\n const data = pick(retailerGroup, [ // todo extract to separate function\r\n 'reportingGroupOid', 'name', 'description',\r\n 'groupType', 'groupSubType', 'ownerId',\r\n 'fiscalWeekStartDay', 'fiscalYearStartMonth',\r\n 'retailerIds', 'userIds'\r\n ]);\r\n return DepsService.restSrv.update(undefined, DepsService.rest.retailerGroup.update.url, data, {\r\n id: retailerGroup.reportingGroupOid\r\n });\r\n}\r\n\r\nexport function deleteRetailerGroup(retailerGroup) {\r\n return DepsService.restSrv.update(undefined, DepsService.rest.retailerGroup.delete.url, retailerGroup, {\r\n id: retailerGroup.reportingGroupOid\r\n });\r\n}\r\n\r\nexport function getRetailersValidated(groupType, ownerId, retailerIds) {\r\n const requestBody = {\r\n groupType,\r\n ownerId,\r\n retailers: retailerIds.map((retailerId) => ({ retailerId }))\r\n };\r\n return DepsService.restSrv.create(undefined, DepsService.rest.retailerGroup.validateRetailers.url, requestBody);\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/resources/retailer-groups-api.js","import template from './user-group-memberships.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'UserGroupMembershipsController',\r\n bindings: {\r\n user: '<',\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/group-memberships/user-group-memberships-component.js","module.exports = \"
    \\r\\n
    \\r\\n Group Memberships\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ retailerGroup.name }}, \\r\\n \\r\\n \\r\\n ---\\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/group-memberships/user-group-memberships.html\n// module id = 1775\n// module chunks = 0","import get from 'lodash/get';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { applySessionData } from 'auth/actions/session.actions';\r\nimport { fetchTrustedDevices, deleteTrustedDevice } from 'user/actions/trusted-devices.actions';\r\nimport { fetchUserSecurityQuestions, saveUserData } from 'user/resources/user.api';\r\nimport myAccountTemplate from './my-account.html';\r\nimport emailChangeModalTpl from './views/email-change-confirm-modal.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, trustedDevices, config } = state;\r\n const { id, loginAs, retailer, lastName, userClass, firstName, mobilePhone, emailAddress, contactPhone, retailerGroups } = session;\r\n const { uses2FA } = config;\r\n\r\n const user = {\r\n id,\r\n lastName,\r\n firstName,\r\n userClass,\r\n mobilePhone,\r\n contactPhone,\r\n retailerGroups,\r\n email: emailAddress,\r\n confirmEmail: emailAddress,\r\n ownerUserId: retailer.ownerId,\r\n };\r\n\r\n return {\r\n user,\r\n uses2FA,\r\n loginAs,\r\n trustedDevices,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchTrustedDevices,\r\n deleteTrustedDevice,\r\n applySessionData,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'Notifications')\r\nclass MyAccountController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.saveUserData = saveUserData;\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = 'myAccount';\r\n\r\n const [question1, question2] = await fetchUserSecurityQuestions(this.user.id);\r\n if (this.uses2FA) await this.fetchTrustedDevices();\r\n\r\n this.userModel = {\r\n ...this.user,\r\n password: null,\r\n securityQuestions: [\r\n {\r\n questionId: question1.questionId,\r\n },\r\n {\r\n questionId: question2.questionId,\r\n },\r\n ],\r\n };\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async submitConfirm() {\r\n try {\r\n await this.checkIfEmailChanged();\r\n await this.saveUserData(this.userModel);\r\n\r\n const { password, confirmPassword, confirmEmail, securityQuestions, ...user } = this.userModel;\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.applyUserSession(user);\r\n\r\n this.showSuccessNotification();\r\n } catch (err) {\r\n const error = get(err, 'data.errors[0]');\r\n // eslint-disable-next-line no-console\r\n console.error('MY_ACCOUNT:', error.code, error);\r\n }\r\n }\r\n\r\n applyUserSession(user) {\r\n const { firstName, lastName, mobilePhone, contactPhone, email: emailAddress } = user;\r\n const userSession = { firstName, lastName, mobilePhone, contactPhone, emailAddress };\r\n this.applySessionData(userSession);\r\n }\r\n\r\n showSuccessNotification() {\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('You have successfully updated your profile.')\r\n );\r\n }\r\n\r\n checkIfEmailChanged() {\r\n return this.user.email !== this.userModel.email\r\n ? this.Notifications.showComplexDialog({\r\n template: emailChangeModalTpl,\r\n }).result\r\n : Promise.resolve(true);\r\n }\r\n}\r\n\r\nexport default class MyAccountComponent {\r\n constructor() {\r\n this.template = myAccountTemplate;\r\n this.controller = MyAccountController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/my-account/my-account-component.js","import * as api from '../resources/user.api';\r\nimport actionTypes from './trusted-devices.action-types';\r\n\r\nexport const fetchTrustedDevicesRequest = () => ({\r\n type: actionTypes.FETCH_TRUSTED_DEVICES_REQUEST,\r\n});\r\n\r\nexport const fetchTrustedDevicesSuccess = (devices) => ({\r\n type: actionTypes.FETCH_TRUSTED_DEVICES_SUCCESS,\r\n devices,\r\n});\r\n\r\nexport const fetchTrustedDevicesFailure = () => ({\r\n type: actionTypes.FETCH_TRUSTED_DEVICES_FAILURE,\r\n});\r\n\r\nexport const fetchTrustedDevices = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchTrustedDevicesRequest());\r\n const devices = await api.fetchTrustedDevices();\r\n dispatch(fetchTrustedDevicesSuccess(devices));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_TRUSTED_DEVICES', error);\r\n dispatch(fetchTrustedDevicesFailure());\r\n }\r\n};\r\n\r\nexport const deleteTrustedDeviceRequest = () => ({\r\n type: actionTypes.DELETE_TRUSTED_DEVICE_REQUEST,\r\n});\r\n\r\nexport const deleteTrustedDeviceSuccess = (uuid) => ({\r\n type: actionTypes.DELETE_TRUSTED_DEVICE_SUCCESS,\r\n uuid,\r\n});\r\n\r\nexport const deleteTrustedDeviceFailure = () => ({\r\n type: actionTypes.DELETE_TRUSTED_DEVICE_FAILURE,\r\n});\r\n\r\nexport const deleteTrustedDevice = (uuid) => async (dispatch) => {\r\n try {\r\n dispatch(deleteTrustedDeviceRequest());\r\n await api.deleteTrustedDevice(uuid);\r\n dispatch(deleteTrustedDeviceSuccess(uuid));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_TRUSTED_DEVICE', error);\r\n dispatch(deleteTrustedDeviceFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/trusted-devices.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Trusted Devices\\r\\n \\r\\n
    \\r\\n
    \\r\\n 0\\\">\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ device.device }}\\r\\n \\r\\n \\r\\n {{ device.browser}}\\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Device id:\\r\\n \\r\\n \\r\\n {{ device.uuid }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Deactivate\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n You did not add any trusted device yet.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/my-account/my-account.html\n// module id = 1778\n// module chunks = 0","module.exports = \"
    \\r\\n

    \\r\\n E-mail address was changed\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Your e-mail address was changed. Are you sure you want to make that change? Your new e-mail address will be from now on your new username.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Ok\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/my-account/views/email-change-confirm-modal.html\n// module id = 1779\n// module chunks = 0","import * as api from 'security/resources/security.api';\r\nimport myAccountConfirmTemplate from './my-account-form.html';\r\n\r\nconst MODE_EDIT = 'edit';\r\nconst MODE_CONFIRM = 'confirm';\r\nconst DIRTY_FORM = 'myAccount';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { isAdmin, locale } = session;\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength, passwordErrorText } = config;\r\n const passwordRequirementText = passwordErrorText ? passwordErrorText[locale] : '';\r\n\r\n return {\r\n locale,\r\n isAdmin,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n passwordRequirementText,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state')\r\nclass MyAccountFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.initializeConfiguration();\r\n this.securityQuestions = await api.fetchSecurityQuestions();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n initializeConfiguration() {\r\n this.securityAnswerPlaceholder = ['••••••••', '••••••••'];\r\n this.mode = MODE_EDIT;\r\n }\r\n\r\n submit(form) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n\r\n this.setConfirmMode();\r\n }\r\n\r\n handleUserConfirmation(form) {\r\n this.submitConfirm().then(() => {\r\n this.setEditMode();\r\n this.resetForm(form);\r\n });\r\n }\r\n\r\n resetForm(form) {\r\n form.$setPristine();\r\n form.$setUntouched();\r\n this.user.password = undefined;\r\n this.user.confirmPassword = undefined;\r\n }\r\n\r\n isEditMode() {\r\n return this.mode === MODE_EDIT;\r\n }\r\n\r\n isConfirmMode() {\r\n return this.mode === MODE_CONFIRM;\r\n }\r\n\r\n setEditMode() {\r\n this.mode = MODE_EDIT;\r\n }\r\n\r\n setConfirmMode() {\r\n this.mode = MODE_CONFIRM;\r\n }\r\n\r\n onPasswordChange() {\r\n this.user.confirmPassword = '';\r\n }\r\n\r\n onSecurityQuestionChange(id) {\r\n this.user.securityQuestions[id].answer = '';\r\n this.securityAnswerPlaceholder[id] = '';\r\n }\r\n\r\n cancel() {\r\n this.$state.go(this.$state.previous);\r\n }\r\n}\r\n\r\nexport default class MyAccountFormComponent {\r\n constructor() {\r\n this.template = myAccountConfirmTemplate;\r\n this.controller = MyAccountFormController;\r\n this.bindings = {\r\n user: '<',\r\n submitConfirm: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/my-account/components/form/my-account-form-component.js","module.exports = \"
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Personal Information\\r\\n \\r\\n

    \\r\\n \\r\\n We ask for your mobile phone number to send log in credentials by SMS if needed.\\r\\n \\r\\n

    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n First name shouldn’t be longer than {{ $ctrl.maxFirstNameLength }} characters.\\r\\n \\r\\n \\r\\n Please enter your first name.\\r\\n \\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n \\r\\n \\r\\n Please enter your last name.\\r\\n \\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n \\r\\n \\r\\n Please enter your email address.\\r\\n \\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n \\r\\n Please enter your email address.\\r\\n \\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n \\r\\n Your email addresses do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Security Information\\r\\n \\r\\n\\r\\n

    {{ $ctrl.passwordRequirementText }}

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    {{$ctrl.passwordRequirementText}}
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n Security Question 1\\r\\n \\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{item.question}}\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please select Security Question 1.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please answer Security Question.\\r\\n
    \\r\\n
    Answer to Security Question cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n Security Question 2\\r\\n \\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{item.question}}\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please answer Security Question 2.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please answer Security Question.\\r\\n
    \\r\\n
    Answer to Security Question cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n Back\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Confirm\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/my-account/components/form/my-account-form.html\n// module id = 1781\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport roles from 'app/validators/roles';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { bulkUpdate } from 'user/resources/users.api';\r\n\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { downloadUsersReport, fetchUsers } from 'user/actions/users.actions';\r\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\r\nimport { fetchUserClassDictionary } from 'app/actions/dictionaries/user-class-dictionary.actions';\r\nimport { fetchUserTemplatesDictionary } from 'app/actions/dictionaries/user-templates-dictionary.actions';\r\nimport { fetchOutletTypesDictionary } from 'app/actions/dictionaries/outlet-types-dictionary.actions';\r\nimport template from './manage-users.html';\r\n\r\nconst DOWNLOAD_OPTIONS = [\r\n {\r\n label: 'CSV',\r\n extension: 'csv',\r\n },\r\n];\r\n\r\nconst mapStateToThis = ({ session, users, config, dictionary }) => {\r\n const { locale, isAdmin, retailer } = session;\r\n const { userClass, userTemplates, outletTypes } = dictionary;\r\n const { items, pagination, isLoading } = users;\r\n const { sortColumnKey, directionKey, pageSizeKey, defaultPageSizes } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n session,\r\n pagination,\r\n isLoading,\r\n isAdmin,\r\n isChainHead: retailer.isChainHead,\r\n isSuperChain: retailer.isSuperChain,\r\n templates: userTemplates,\r\n userClass,\r\n users: items,\r\n sortColumnKey,\r\n directionKey,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n outletTypes,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchUsers,\r\n downloadUsersReport,\r\n checkAccess,\r\n fetchUnreadMessagesCount,\r\n fetchUserClassDictionary,\r\n fetchUserTemplatesDictionary,\r\n fetchOutletTypesDictionary,\r\n};\r\n\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass ManageUsersController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.bulkUpdate = bulkUpdate.bind(this);\r\n this.canBulkUpdateRole = this.checkAccess('user.bulkUpdateRole');\r\n this.downloadOptions = DOWNLOAD_OPTIONS;\r\n this.canSeeRetailerNo = this.isAdmin || this.isSuperChain || this.isChainHead;\r\n\r\n this.actions = this.getActions();\r\n this.initSelectionParameters();\r\n this.initTable();\r\n this.fetchUnreadMessagesCount();\r\n this.fetchOutletTypesDictionary();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initTable() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'contact.lastName',\r\n [this.directionKey]: true,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = initGrid(this.fetchUsers, this.defaultParams);\r\n\r\n const viewType = this.isAdmin ? 'all' : ['RETAILER_SECONDARY', 'RETAILER_PRIMARY'];\r\n Promise.all([this.fetchUserTemplatesDictionary(viewType), this.fetchUserClassDictionary()]).then(() => {\r\n this.search();\r\n });\r\n }\r\n\r\n initSelectionParameters() {\r\n this.selected = [];\r\n this.excluded = [];\r\n this.selectedAll = false;\r\n this.selectedTemplate = false;\r\n this.selectedUsersCount = 0;\r\n this.selectedUserClass = false;\r\n this.isUserClassFilterSelected = false;\r\n this.indeterminateChecbox = false;\r\n this.preservedFilters = {};\r\n }\r\n\r\n clearFilter() {\r\n this.gridModel = initGrid(this.fetchUsers, this.defaultParams);\r\n this.initSelectionParameters();\r\n return this.search();\r\n }\r\n\r\n async search() {\r\n this.initSelectionParameters();\r\n\r\n await this.gridModel.applyFilters();\r\n this.isUserClassFilterSelected = this.gridModel.pagingModel.filters.userClass;\r\n this.selectedUserClass = this.isUserClassFilterSelected;\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n this.preservedPagingModel = { ...this.gridModel.pagingModel, filters: this.preservedFilters };\r\n\r\n if (this.isUserClassFilterSelected && this.selectedAll) {\r\n this.selected = this.users.map((user) => user.id);\r\n }\r\n }\r\n\r\n getHeaders() {\r\n let headers = [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'contact.lastName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailers.retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer Type'),\r\n field: 'outletType',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Email'),\r\n field: 'username',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Mobile Phone'),\r\n field: 'contact.mobilePhone',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('User Class'),\r\n field: 'userClass',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Role'),\r\n field: 'templateId',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('System Access'),\r\n field: 'status.statusCode',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n\r\n if (!this.canSeeRetailerNo) {\r\n headers = headers.filter((header) => header.field !== 'retailers.retailerId');\r\n }\r\n\r\n return headers;\r\n }\r\n\r\n onDownloadReport(extension) {\r\n return this.downloadUsersReport({\r\n extension,\r\n ...this.gridModel.pagingModel,\r\n pageSize: 0, // Forces BE to export the entire data set\r\n });\r\n }\r\n\r\n toggleSelectAll() {\r\n this.selectedAll = !this.selectedAll;\r\n\r\n if (!this.selectedAll) {\r\n this.selected = [];\r\n this.excluded = [];\r\n }\r\n\r\n if (this.selectedAll) {\r\n this.selected = this.users.map((user) => user.id).filter((id) => !this.excluded.includes(id));\r\n }\r\n\r\n this.calculateSelectedUsersCount();\r\n this.setIndeterminateChecboxStatus();\r\n }\r\n\r\n displayNotification() {\r\n this.Notifications.alertError(this.gettextCatalog.getString('To select all first use the User Class filter.'));\r\n }\r\n\r\n deselectAll() {\r\n this.selectedAll = false;\r\n this.selected = [];\r\n this.excluded = [];\r\n this.selectedUserClass = false;\r\n this.selectedTemplate = false;\r\n this.indeterminateChecbox = false;\r\n }\r\n\r\n select(userData) {\r\n const isAlreadySelected = this.selected.find((id) => id === userData.id);\r\n const hasPagination = this.pagination.pagesCount > 1;\r\n\r\n if (!isAlreadySelected) {\r\n this.selected = [...this.selected, ...[userData.id]];\r\n this.calculateExcludedUserIds(userData.id);\r\n }\r\n\r\n if (isAlreadySelected) {\r\n const selectedIds = this.selected.filter((id) => id !== userData.id);\r\n this.selected = [...selectedIds];\r\n this.calculateExcludedUserIds(userData.id);\r\n }\r\n\r\n if (!hasPagination && this.selected.length === this.users.length) {\r\n this.selectedAll = true;\r\n this.excluded = [];\r\n }\r\n\r\n if (!hasPagination && this.selected.length === 0) {\r\n this.selectedAll = false;\r\n this.excluded = [];\r\n }\r\n\r\n this.setUserClassAccordingToSelectedUserEntity(userData.userClass);\r\n this.calculateSelectedUsersCount();\r\n this.setIndeterminateChecboxStatus();\r\n }\r\n\r\n setUserClassAccordingToSelectedUserEntity(userClass) {\r\n if (this.isUserClassFilterSelected) return;\r\n\r\n this.selectedUserClass = this.selected.length ? userClass : false;\r\n }\r\n\r\n calculateExcludedUserIds(id) {\r\n if (!this.selectedAll) {\r\n this.excluded = [];\r\n return;\r\n }\r\n\r\n const isAlreadyExcluded = this.excluded.find((excludedId) => excludedId === id);\r\n\r\n if (!isAlreadyExcluded) {\r\n this.excluded = [...this.excluded, ...[id]];\r\n }\r\n\r\n if (isAlreadyExcluded) {\r\n const excludedIds = this.excluded.filter((excludedId) => excludedId !== id);\r\n this.excluded = [...excludedIds];\r\n }\r\n }\r\n\r\n isDisabled(userClass) {\r\n const isPrimaryUserType = roles.PRIMARY_USER_ROLES.includes(userClass);\r\n const hasDifferentUserClassTheSelected = this.selectedUserClass && this.selectedUserClass !== userClass;\r\n\r\n return isPrimaryUserType || hasDifferentUserClassTheSelected;\r\n }\r\n\r\n isChecked(userData) {\r\n if (this.selectedAll) {\r\n return !this.excluded.includes(userData.id);\r\n }\r\n\r\n return this.selected.find((id) => id === userData.id);\r\n }\r\n\r\n async onChangeRoles() {\r\n const templateId = this.selectedTemplate.id;\r\n const searchParams = this.preservedFilters || {};\r\n const selectedUsers = this.selectedAll ? [] : this.selected;\r\n const excludedUsers = this.selectedAll ? this.excluded : [];\r\n const filters = {\r\n ...this.preservedFilters,\r\n };\r\n\r\n const { updatedCount } = await this.bulkUpdate({\r\n templateId,\r\n searchParams,\r\n selectedUsers,\r\n excludedUsers,\r\n });\r\n\r\n if (updatedCount > 0) {\r\n this.gridModel = initGrid(this.fetchUsers, { ...this.defaultParams, filters });\r\n this.search();\r\n }\r\n }\r\n\r\n isPrimaryUserRole(userClass) {\r\n return roles.PRIMARY_USER_ROLES.includes(userClass);\r\n }\r\n\r\n calculateSelectedUsersCount() {\r\n if (this.selectedAll) {\r\n this.selectedUsersCount = this.pagination.count - this.excluded.length;\r\n return;\r\n }\r\n\r\n this.selectedUsersCount = this.selected.length;\r\n }\r\n\r\n setIndeterminateChecboxStatus() {\r\n const isExcludedUserSelected = !!this.excluded.length;\r\n const isSomeoneSelected = !!this.selected.length;\r\n const isSelectedLessThanMaxUserCount = this.selectedUsersCount < this.pagination.count;\r\n\r\n this.indeterminateChecbox = (isSomeoneSelected && isSelectedLessThanMaxUserCount) || isExcludedUserSelected;\r\n }\r\n\r\n goToCreateAccount() {\r\n this.$state.go('user-createAccount');\r\n }\r\n\r\n goToCreateSecondaryUserAccount() {\r\n this.$state.go('user-createSecondaryUserAccount');\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'link',\r\n function: this.goToCreateAccount.bind(this),\r\n label: this.gettextCatalog.getString('Create User'),\r\n isAvailable: this.canCreateUser,\r\n },\r\n {\r\n type: 'link',\r\n function: this.goToCreateSecondaryUserAccount.bind(this),\r\n label: this.gettextCatalog.getString('Create User'),\r\n isAvailable: this.canCreateSecondary,\r\n },\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'csv',\r\n isAvailable: this.isAdmin,\r\n },\r\n ].filter(({ isAvailable }) => isAvailable === true);\r\n }\r\n}\r\n\r\nclass ManageUsersComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ManageUsersController;\r\n this.bindings = {\r\n model: '<',\r\n searchUser: '<',\r\n canCreateUser: '<',\r\n canCreateSecondary: '<',\r\n api: '<',\r\n };\r\n }\r\n}\r\n\r\nexport default angular.module('manage-users', []).component('manageUsers', new ManageUsersComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/manage-users/manage-users-component.js","import { evalMeta } from 'utils/grid/grid';\r\nimport actionTypes from './users.action-types';\r\nimport * as api from '../resources/users.api';\r\n\r\nexport const fetchUsersRequest = () => ({\r\n type: actionTypes.FETCH_USERS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchUsersFailure = () => ({\r\n type: actionTypes.FETCH_USERS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchUsersSuccess = ({ content, ...pagination }) => ({\r\n type: actionTypes.FETCH_USERS_SUCCESS,\r\n content,\r\n pagination: evalMeta(pagination),\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchUsers = (params) => async (dispatch, getStore) => {\r\n const { session } = getStore();\r\n const {\r\n lotteryRepId,\r\n id,\r\n retailer,\r\n locale,\r\n } = session;\r\n const config = {\r\n ...params,\r\n locale,\r\n userId: lotteryRepId ? null : id,\r\n currentRetailer: retailer.retailerId || null,\r\n };\r\n\r\n dispatch(fetchUsersRequest());\r\n\r\n try {\r\n const result = await api.fetchUsers(config);\r\n dispatch(fetchUsersSuccess(result));\r\n } catch (error) {\r\n dispatch(fetchUsersFailure(error));\r\n console.error('FETCH_USERS', error);\r\n }\r\n};\r\n\r\nexport const downloadUsersReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_USERS_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadUsersReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_USERS_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadUsersReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_USERS_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadUsersReport = ({ extension, ...params }) => (dispatch, getState) => {\r\n const { session } = getState();\r\n const { lotteryRepId } = session;\r\n\r\n const config = {\r\n lotteryRepId,\r\n extension,\r\n ...params,\r\n };\r\n\r\n try {\r\n dispatch(downloadUsersReportRequest());\r\n dispatch(downloadUsersReportSuccess());\r\n return api.downloadUsersReport(config);\r\n } catch (error) {\r\n dispatch(downloadUsersReportFailure());\r\n console.error('DOWNLOAD_USERS_REPORT', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/users.actions.js","import { flatten } from 'lodash';\r\nimport * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchUserTemplatesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchUserTemplatesDictionarySuccess = (templates) => ({\r\n type: actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS,\r\n templates,\r\n});\r\n\r\nexport const fetchUserTemplatesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchUserTemplatesDictionary = (viewType) => async (dispatch) => {\r\n try {\r\n dispatch(fetchUserTemplatesDictionaryRequest());\r\n\r\n let allTemplates;\r\n if (Array.isArray(viewType)) {\r\n const promises = viewType.map(async (v) => api.fetchUserTemplatesDictionary(v));\r\n const templates = await Promise.all(promises);\r\n templates.forEach((item) => {\r\n allTemplates = { ...allTemplates, ...item };\r\n });\r\n } else {\r\n allTemplates = await api.fetchUserTemplatesDictionary(viewType);\r\n }\r\n dispatch(fetchUserTemplatesDictionarySuccess(allTemplates));\r\n } catch (error) {\r\n console.error('USER_TEMPLATES_DICTIONARY', error);\r\n dispatch(fetchUserTemplatesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/user-templates-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchOutletTypesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchOutletTypesDictionarySuccess = (outletTypes) => ({\r\n type: actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS,\r\n outletTypes,\r\n});\r\n\r\nexport const fetchOutletTypesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchOutletTypesDictionary = () => async (dispatch, getState) => {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n try {\r\n dispatch(fetchOutletTypesDictionaryRequest());\r\n\r\n const outletTypes = await api.fetchOutletTypesDictionary(locale);\r\n dispatch(fetchOutletTypesDictionarySuccess(outletTypes));\r\n } catch (error) {\r\n console.error('OUTLET_TYPES_DICTIONARY', error);\r\n dispatch(fetchOutletTypesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/outlet-types-dictionary.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Create User\\r\\n \\r\\n \\r\\n \\r\\n Create User\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n User Class\\r\\n \\r\\n \\r\\n \\r\\n {{ class }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Role\\r\\n \\r\\n \\r\\n \\r\\n {{ template[$ctrl.locale].name }}\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Retailer Type\\r\\n \\r\\n \\r\\n \\r\\n {{ outletType }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ user.contact.lastName }}, {{ user.contact.firstName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.outletTypes[user.primaryRetailer.retailerType] }}\\r\\n \\r\\n \\r\\n \\r\\n {{ user.username }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ $ctrl.templates[user.templateId][$ctrl.locale].name }}\\r\\n \\r\\n\\r\\n \\r\\n n/a\\r\\n \\r\\n\\r\\n \\r\\n (customized)\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ active }}\\r\\n \\r\\n \\r\\n {{ inactive }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    {{ user.username }}
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ $ctrl.templates[user.templateId][$ctrl.locale].name }}\\r\\n \\r\\n\\r\\n \\r\\n n/a\\r\\n \\r\\n\\r\\n \\r\\n (customized)\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n {{ active }}\\r\\n \\r\\n \\r\\n {{ inactive }}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ $ctrl.outletTypes[user.primaryRetailer.retailerType] }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/manage-users/manage-users.html\n// module id = 1786\n// module chunks = 0","import angular from 'angular';\r\nimport _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\nimport { getDisplayUserNameSelector } from 'selectors';\r\nimport editAccountTemplate from './edit-account.html';\r\nimport AccountDetailsModule from './components/account-details/account-details-module';\r\nimport AccountStatusModule from './components/account-status/account-status-module';\r\nimport AccountRetailersModule from './components/account-retailers/account-retailers-module';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, dictionary } = state;\r\n const displayUserName = getDisplayUserNameSelector(state);\r\n const { locale, isAdmin } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n displayUserName,\r\n session,\r\n terms,\r\n isAdmin,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', '$timeout', '$stateParams', 'Notifications', 'Responsive')\r\nclass EditAccountMainController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.activeTabIdx = this.$stateParams.tabId * 1 || 0;\r\n this.retailerId = _.get(this, '$state.params.retailerId');\r\n this.userModel = _.cloneDeep(this.model.user.editAccount);\r\n this.setPageTitle();\r\n this.checkUserEditHimself();\r\n this.isLoading = false;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n setPageTitle() {\r\n this.$state.params.pageTitle = `${this.gettextCatalog.getString('User')} - ${this.userModel.contact.firstName} ${\r\n this.userModel.contact.lastName\r\n }`;\r\n }\r\n\r\n checkUserEditHimself() {\r\n this.userId = _.get(this, '$state.params.id') * 1;\r\n this.sessionUserId = _.get(this, 'session.id') * 1;\r\n if (this.userId === this.sessionUserId) {\r\n this.api.canEditAccountDetails = false;\r\n }\r\n }\r\n\r\n reloadView() {\r\n return this.$state.go('user-viewAccountDetails', { tabId: 0, skipDirtyForms: true }, { reload: true });\r\n }\r\n\r\n goToManageUsers() {\r\n return this.$state.go('user-manageUsers', { skipDirtyForms: true });\r\n }\r\n\r\n setOnDeselect(handler) {\r\n this.onDeselect = handler;\r\n }\r\n\r\n cancelStatus() {\r\n this.model.user.editAccount.status = this.userModel.status;\r\n }\r\n\r\n onActivate() {\r\n return this.api.activate.run(this.model.user.editAccount).then(() =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account activated'),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n this.gettextCatalog.getString('Success! User Access changed to {{ active }}.', { active: this.terms.ACTIVE.singular })\r\n )\r\n );\r\n }\r\n\r\n onSuspend() {\r\n return this.api.suspend.run(this.model.user.editAccount).then(() =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account deactivated'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n this.gettextCatalog.getString('Success! User Access changed to {{ inactive }}.', { inactive: this.terms.INACTIVE.singular })\r\n )\r\n );\r\n }\r\n\r\n onUpdatePersonalData() {\r\n return this.api.updatePersonalData\r\n .run(this.model.user.editAccount)\r\n .then(() => {\r\n this.userModel = _.cloneDeep(this.model.user.editAccount);\r\n this.setPageTitle();\r\n })\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('User account updated successfully')));\r\n }\r\n\r\n onAuthenticateUser(template) {\r\n if (!this.session.isAdmin) {\r\n return this.onActivate(template);\r\n }\r\n this.Notifications.showComplexDialog({\r\n template,\r\n resolve: {\r\n userName: () => this.model.user.editAccount.username,\r\n },\r\n }).result.then(() =>\r\n this.api.authenticateUser\r\n .run(this.model.user.editAccount)\r\n .then(\r\n () =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account authenticated'),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n this.gettextCatalog.getString('Success! User Access changed to {{ active }}.', { active: this.terms.ACTIVE.singular })\r\n ).result\r\n )\r\n .then(() => this.reloadView())\r\n .then(() => Promise.resolve(this.model))\r\n );\r\n }\r\n\r\n viewAsThisUser() {\r\n this.isLoading = true;\r\n const credentials = { userId: this.userModel.id };\r\n const restUrl = this.session.rest.oauth.loginAs.url;\r\n const registrationForm = true;\r\n const loginAs = true;\r\n const acceptTerms = true;\r\n const tokens = undefined;\r\n const impersonatingDisplayName = this.displayUserName;\r\n return this.api.loginByRest\r\n .run(credentials, restUrl, acceptTerms, registrationForm, loginAs, tokens, impersonatingDisplayName)\r\n .then((newModel) => {\r\n this.confirm(newModel);\r\n this.isLoading = false;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n this.close();\r\n this.isLoading = false;\r\n });\r\n }\r\n\r\n onLoginAs(template) {\r\n this.Notifications.showComplexDialog({\r\n template,\r\n resolve: {\r\n api: () => this.api,\r\n model: () => this.model,\r\n session: () => this.session,\r\n userModel: () => this.userModel,\r\n displayUserName: () => this.displayUserName,\r\n viewAsThisUser: () => this.viewAsThisUser,\r\n },\r\n })\r\n .result.then((newModel) => this.api.redirectAfterLogin(newModel))\r\n .then(() => {\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('You have been logged in as user: {{name}}.', { name: this.userModel.contact.emailAddress })\r\n );\r\n });\r\n }\r\n\r\n onResendActivationEmail() {\r\n const authenticateText = this.gettextCatalog.getString(\r\n 'If the user has trouble activating their account, you may do it for them through the ‘More Actions’ button on their page.'\r\n );\r\n this.api.resendActivationEmail.run(this.userModel).then(() =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account activation email has been sent to {{name}}', {\r\n name: this.userModel.contact.emailAddress,\r\n }),\r\n this.api.canAuthenticateUser ? authenticateText : ''\r\n )\r\n );\r\n }\r\n\r\n onUpdateUserPrivileges(user) {\r\n this.api.updateUserPrivileges\r\n .run(user)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('User privileges updated successfully')));\r\n }\r\n\r\n deleteUser() {\r\n this.api.deleteUser\r\n .run(this.model)\r\n .then((newModel) => {\r\n this.confirm(newModel);\r\n })\r\n .catch(() => this.confirm());\r\n }\r\n\r\n onDeleteUser(template) {\r\n this.Notifications.showComplexDialog({\r\n template,\r\n resolve: {\r\n userName: () => this.model.user.editAccount.username,\r\n deleteUser: () => this.deleteUser,\r\n api: () => this.api,\r\n $state: () => this.$state,\r\n goToManageUsers: () => this.goToManageUsers,\r\n },\r\n }).result.then(() => this.goToManageUsers());\r\n }\r\n\r\n isUserSecondary() {\r\n return roles.SECONDARY_USER_ROLES.indexOf(this.model.user.editAccount.userClass) !== -1;\r\n }\r\n}\r\n\r\nclass EditAccountMainComponent {\r\n constructor() {\r\n this.template = editAccountTemplate;\r\n this.controller = EditAccountMainController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('edit-account', [AccountStatusModule.name, AccountDetailsModule.name, AccountRetailersModule.name])\r\n .component('editAccountMain', new EditAccountMainComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/edit-account/edit-account-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/edit-account/edit-account.html\n// module id = 1788\n// module chunks = 0","import angular from 'angular';\r\nimport userGroupMemberships from 'user/components/group-memberships/user-group-memberships-module';\r\nimport retailerGroupsExistingUserField from 'retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-module';\r\nimport AccountDetailsComponent from './account-details-component';\r\n\r\nexport default angular\r\n .module('account-details', [\r\n userGroupMemberships.name,\r\n retailerGroupsExistingUserField.name,\r\n ])\r\n .component('accountDetails', new AccountDetailsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/edit-account/components/account-details/account-details-module.js","import createAccountUserSearchDialogTemplate from './dialog/create-account-user-search-dialog.html';\r\nimport CreateAccountUserSearchDialogController from './dialog/create-account-user-search-dialog-controller';\r\n\r\n@Inject('Notifications')\r\nexport class RetailerGroupsExistingUserFieldController {\r\n constructor() {\r\n if (this.user && this.user.assignedUser) {\r\n this.selectedUser = this.user.assignedUser;\r\n }\r\n }\r\n\r\n showUserSearch() {\r\n this.Notifications.showComplexDialog({\r\n template: createAccountUserSearchDialogTemplate,\r\n controller: CreateAccountUserSearchDialogController,\r\n }).result.then((selectedUser) => {\r\n this.selectedUser = selectedUser;\r\n this.user.ownerUserId = selectedUser.id;\r\n });\r\n }\r\n\r\n clearSelectedUser() {\r\n this.selectedUser = null;\r\n this.user.ownerUserId = null;\r\n this.user.assignedUser = null;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-controller.js","module.exports = \"
    \\r\\n

    \\r\\n Search Users\\r\\n

    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    {{ $ctrl.headers[0].text }}
    \\r\\n
    \\r\\n {{ user.name }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    {{ $ctrl.headers[1].text }}
    \\r\\n
    \\r\\n {{ user.username }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n {{ user.name }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    {{ user.username }}
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog.html\n// module id = 1791\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { getUsers } from 'user/user-service';\r\nimport DepsService from 'services/dependencies';\r\n\r\n@Inject('gettextCatalog')\r\nexport default class CreateAccountUserSearchDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.users = {};\r\n this.isLoading = false;\r\n this.selectedUserId = this.selectedUser ? this.selectedUser.id : null;\r\n this.initializeGrid();\r\n this.search();\r\n }\r\n\r\n initializeGrid() {\r\n this.defaultParams = {\r\n [DepsService.config.sortColumnKey]: 'contact.lastName',\r\n [DepsService.config.pageSizeKey]: 10,\r\n };\r\n this.filters = {};\r\n this.headers = [\r\n {\r\n text: '',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'contact.lastName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Email'),\r\n field: 'username',\r\n sortable: true,\r\n isAlignedLeft: true,\r\n },\r\n ];\r\n this.gridModel = initGrid(this.getUsers.bind(this), this.defaultParams);\r\n }\r\n\r\n clearFilters() {\r\n this.initializeGrid();\r\n }\r\n\r\n getUsers(parameters) {\r\n this.isLoading = true;\r\n return getUsers(parameters).then((response) => {\r\n this.isLoading = false;\r\n this.users = response;\r\n });\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n select(user) {\r\n this.selectedUser = user;\r\n this.selectedUserId = user.id;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog-controller.js","import DepsService from 'services/dependencies';\r\nimport roles from 'app/validators/roles';\r\nimport { evalMeta } from 'utils/grid/grid';\r\n\r\nconst USER_CONTEXT = 'user';\r\nconst NA_VALUE = 'n/a';\r\nconst ACTIVE = 'ACTIVE';\r\n\r\nexport const getUsers = (parameters) => {\r\n const allParameters = {\r\n ...parameters,\r\n statusCode: ACTIVE,\r\n userClass: roles.RETAILER_PRIMARY_ROLE,\r\n };\r\n return DepsService.restSrv.list(USER_CONTEXT, DepsService.rest.user.users.url, allParameters).then((result) => {\r\n const items = (result.content || []).map((user) => {\r\n const retailerId = _.get(user, 'primaryRetailer.retailerId');\r\n _.set(user, 'isActive', user.status && user.status.status === ACTIVE);\r\n _.set(user, 'repeatId', `${retailerId}${user.id}`);\r\n _.set(user, 'name', `${user.contact.lastName} ${user.contact.firstName}`);\r\n _.set(user, 'primaryRetailerId', retailerId || NA_VALUE);\r\n return user;\r\n });\r\n return {\r\n items,\r\n meta: evalMeta(result),\r\n };\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/user-service.js","import template from './retailer-groups-existing-user-field.html';\r\n\r\nexport default {\r\n template,\r\n require: 'ngModel',\r\n controller: 'RetailerGroupsExistingUserField',\r\n bindings: {\r\n form: '=',\r\n user: '='\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Search Users\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.html\n// module id = 1795\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a