{"version":3,"sources":["webpack:///./src/services/dependencies.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/actions/action-types.js","webpack:///./src/modules/app/validators/roles.js","webpack:///./src/modules/auth/actions/session.actions.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/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/app/actions/dictionaries/privilege-display-types-dictionary.actions.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/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/documents/actions/set-new-label-status.actions.js","webpack:///./src/modules/documents/actions/prefetch-document.actions.js","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","namespace","checkAccess","CHECK_ACCESS","permission","arguments","length","undefined","hasAccess","dispatch","getState","_getState","validators","app","privileges","newActionKey","replace","privilege","get","id","checkValidators","model","actionKey","every","fn","call","checkValidatorsLazy","check","checkAccessLazy","fetchConfigRequest","type","FETCH_CONFIG_REQUEST","fetchConfigSuccess","config","FETCH_CONFIG_SUCCESS","fetchConfigFailure","FETCH_CONFIG_FAILURE","SET_DIRTY_FORM","CLEAR_DIRTY_FORM","setDirtyForm","form","value","payload","clearDirtyForm","checkDirtyForm","dirtyForms","isAnyDirtyForm","entries","find","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","push","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","sidemenu","menuElement","$state","go","sref","redirectToPasswordReset","title","gettextCatalog","getString","content","skipDirtyForms","Notifications","showAlert","redirectToHome","redirectAfterLogin","attemptedRoute","$ngRedux","_session$loggedIn","loggedIn","getLocales","locales","getFieldsFromEntry","fields","findIndex","locale","code","reduce","fieldObj","setFieldsToEntry","map","concat","dragMove","eventObj","scrollMargin","document","getElementById","offsetHeight","below","clientY","innerHeight","above","scrollTop","generateUUID","c","crypto","msCrypto","getRandomValues","toString","extractDictionaryItem","dictionaryArray","availableStatuses","reduced","item","statusObj","typeCodeTexts","path","last","indexOf","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","items","column","direction","isString","toLowerCase","orderBy","unset","filterItems","filters","customHandlers","filterKeys","filter","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","_ref","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","active","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","resolve","$dismiss","$close","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","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","CHAIN_HEAD","CHAIN_SUBORDINATE","SUPER_CHAIN","INDEPENDENT","_roles","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","$sessionStorage","userSession","Promise","initializeSession","applyTopMenu","applySessionData","topMenuItems","subLevelItems","x","hasAtLeastOneSubItemVisible","subItems","subItem","plainLink","applySideMenu","sideMenuItems","mainItems","updateAuthHeaders","applyMenu","newModel","_getState2","_getState2$session","role","_getState2$session$re","retailer","retailerType","isSuperChain","roleConfig","roles","roleKey","generateMenu","training","href","lotteryLearningLink","branding","brandingUrl","label","brandingLabel","topmenu","generateTopMenu","toggleSubmenu","closeAllSideMenuItems","opened","setCurrentState","toState","fromState","reducedItems","reducedItem","startsWith","changeLocale","setCurrentLanguage","loadRemote","setRetailerDashboardType","retailerDashboardType","sessionId","isChainHead","isIndependent","isChainSubordinate","retailerDashboard","cleartRetailerDashboardType","resetSession","_extends","anonymousPrivileges","tokens","jwt","HttpService","defaults","headers","common","Authorization","timezoneDiffToSeconds","applyTokens","reject","currentTimeStamp","Date","now","jwtTokenExpiration","refreshTokenExpiration","jwtCode","token","refreshCode","sessionTokens","expiringTimestamp","passwordExpired","tokenParams","refresh","setUserPrivileges","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","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","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","fetchPrivilegeDisplayTypesDictionaryRequest","fetchPrivilegeDisplayTypesDictionarySuccess","fetchPrivilegeDisplayTypesDictionaryFailure","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","PACK","lowerCasePack","lowerCasePacks","alertsCollection","ArwNewGameNotActivatedAlert","A","subtitle","DEFAULT","modalTitle","modalSubtitle","ArwNewGameNotOnDisplayAlert","ArwNewGameNeedToBeReorderedAlert","ArwUnconfirmedOrdersAlert","C","ArwExpiringGamesAlert","ArwLVMBinNotSellingAlert","ArwKeyGamesNeedToBeReorderedAlert","ArwKeyGamesOnDisplaySellingOutOrSoldOutAlert","ArwMandatoryReturnAlert","ArwLicenseRenewalAlert","ArwBondRenewalAlert","ArwAutoActivatedConfirmedAlert","STORE_PROFILE","numberOfDays","emptyAlert","gridHeadersData","text","classes","I","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","pageTitle","$$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","EditCategoryController","_possibleConstructorReturn","__proto__","getPrototypeOf","connect","language","phoneExtRegex","phoneMask","phoneLength","EditContactController","oldCategory","setDefaultTemporaryPhone","setDefaultTemporaryEmail","temporaryPhone","phone","temporaryPhoneAddClicked","temporaryEmail","temporaryEmailAddClicked","temporaryPhoneForm","$error","_this4","temporaryEmailForm","_this5","cleanContactAndEmail","_this6","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","alertWarning","_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","ui","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","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","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","mapStateToThisContactUsBase","retailerName","_session$firstName","_session$lastName","_session$role","_session$contactPhone","_session$emailAddress","_get__2","ContactUsController","$stateParams","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","_this7","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","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","setNewLabelStatusRequest","setNewLabelStatusSuccess","setNewLabelStatusFailure","prefetchDocumentRequest","prefetchDocumentSuccess","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","issued","issuedMethod","ISSUED_METHOD","confirmed","settled","S","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","CATEGORY_SCRATCH","CATEGORY_DRAW","THIS_YEAR","MyNetSalesPerformanceWidgetController","[object Object]","dataTypes","setDataTypes","setChartOptions","setChartData","findTranslationValue","dataTypeId","fetchMyNetSalesTranslations","fetchAllCategories","fetchNetSalesData","translation","allCategories","fetchSalesCategories","setCategories","allCategory","categoryType","instantCategory","drawCategory","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","verifyOtherLanguages","dateFutureError","verifyDateFuture","otherLanguageError","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","endOfWeekDayNumber","day","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","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","local","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","shortDate","dateOptions","RwDatepickerComponent","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","*","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","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,aACJ,SAAAA,iGAAcC,CAAAC,KAAAF,GACZE,KAAKC,QAAU,KACfD,KAAKE,KAAO,+CAGNC,GAAS,IAAAC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GAEhBgC,SACE17D,KAAM,kBACN05D,cAAc,GAEhBiC,QACE37D,KAAM,oBACN05D,cAAc,GAEhBkC,QACE57D,KAAM,oBACN05D,cAAc,GAEhBmC,QACE77D,KAAM,gBACN05D,cAAc,EACdC,YAAa,OAEfmC,QACE97D,KAAM,iBACN05D,cAAc,GAEhBqC,QACE/7D,KAAM,iBACN05D,cAAc,GAEhBsC,SACEh8D,KAAM,iBACN05D,cAAc,GAEhBuC,QACEj8D,KAAM,kBACN05D,cAAc,EACdC,YAAa,SAEfuC,SACEl8D,KAAM,kBACN05D,cAAc,EACdC,YAAa,SAEfwC,QACEn8D,KAAM,kBACN05D,cAAc,EACdC,YAAa,SAEfyC,QACEp8D,KAAM,kBACN05D,cAAc,EACdC,YAAa,SAEf0C,QACEr8D,KAAM,kBACN05D,cAAc,EACdC,YAAa,SAEf2C,SACEt8D,KAAM,kBACN05D,cAAc,EACdC,YAAa,SAEf4C,QACEv8D,KAAM,kBACN05D,cAAc,GAEhB8C,QACEx8D,KAAM,kBACN05D,cAAc,GAEhB+C,QACEz8D,KAAM,kBACN05D,cAAc,GAEhBgD,SACE18D,KAAM,kBACN05D,cAAc,GAEhBiD,QACE38D,KAAM,kBACN05D,cAAc,GAEhBkD,QACE58D,KAAM,kBACN05D,cAAc,GAEhBmD,QACE78D,KAAM,kBACN05D,cAAc,GAEhBoD,SACE98D,KAAM,kBACN05D,cAAc,GAEhBqD,QACE/8D,KAAM,kBACN05D,cAAc,GAEhBsD,QACEh9D,KAAM,uBACN05D,cAAc,GAEhBuD,SACEj9D,KAAM,uBACN05D,cAAc,KAMpB,SAASwD,IACP,OACEnsC,OAAQ,MACRx9D,IAAK,aACLwiB,2PAMA43C,WAAY,qBACZvyD,QACEizD,WAAY,iBAAkB,SAAC14D,GAAD,OAAoBA,EAAeC,UAAU,wBAE7E2R,SACEsb,KACE,aACA,SACA,SAACwtC,GAAD,OACEA,EACGxhE,SAAS,8BAA8B,GACvC+8D,MACAv3D,KAAK,kBAC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8E,GACf,IAAM8uL,EAAkB9uL,EAAO2F,cAAcnN,QAAQ,IAAK,KAC1D3B,KAAKk9D,iBAAiBrrD,IAAIomL,wFAITC,EACnB,SAAAA,IAIE,OAJYn4L,EAAAC,KAAAk4L,GACZl4L,KAAKo/D,WAAL3+D,EAAA,qBACAT,KAAKsoB,SAAL7nB,EAAA,mBACAT,KAAK2jF,YAAa,EACX3jF,2GALUk4L,0rECzErBhgJ,EAAAC,QAAA,q6ICAA,IAAY/iB,0JAAZv1B,EAAA,yDACAA,EAAA,KAEO,IAAMs4L,uCAAqC,kBAChD11L,KAAMhC,EAAA,eAAY2T,yCAGPgkL,uCAAqC,SAACpoK,GAAD,OAChDvtB,KAAMhC,EAAA,eAAY4T,uCAClB2b,UAGWqoK,uCAAqC,kBAChD51L,KAAMhC,EAAA,eAAY6T,yCAGPub,8BAA8B,iCAAA9a,2RAAAqV,CAAAC,mBAAAC,KAAM,SAAAC,EAAOnpB,GAAP,IAAA4uB,EAAA,OAAA3F,mBAAAM,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAC,KAAA,EAE7CzpB,EAASX,EAAA,qCAAAA,IAFoCmqB,EAAAE,KAAA,EAIzBrqB,EAAA,OAAIovB,8BAJqB,OAIvCG,EAJuCpF,EAAAK,KAK7C7pB,EAASX,EAAA,qCAAAA,CAAmCuvB,IALCpF,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAAgE,GAAAhE,EAAA,SAO7Crd,QAAQD,MAAM,iCAAdsd,EAAAgE,IACAxtB,EAASX,EAAA,qCAAAA,IARoC,yBAAAmqB,EAAAO,SAAAZ,OAAArpB,IAAA,UAAN,gBAAAkqB,GAAA,OAAArW,EAAAsW,MAAArrB,KAAAgB,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 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('Your password must be reset, click OK button to be redirected to Create New Password screen.');\r\n\r\n stateParams.skipDirtyForms = true;\r\n\r\n return deps.Notifications.showAlert(title, content).result\r\n .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 = {}, 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) => 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) => (c ^ ((window.crypto || window.msCrypto).getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))).toString(16));\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","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 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","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_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 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","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 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/form/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 = 214\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 * 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 = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchPrivilegeDisplayTypesDictionaryRequest());\r\n const displayTypes = await api.fetchPrivilegeDisplayTypesDictionary(locale);\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 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 { packStatuses, orderStatuses } = dictionary;\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: packStatuses.A.typeDesc,\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: packStatuses.A.typeDesc,\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: packStatuses.A.typeDesc,\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: packStatuses.A.typeDesc,\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: orderStatuses.C.typeDesc,\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: orderStatuses.C.typeDesc,\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: orderStatuses.C.typeDesc,\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: orderStatuses.C.typeDesc,\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: orderStatuses.C.typeDesc,\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: orderStatuses.C.typeDesc.toLowerCase(),\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: packStatuses.I.typeDesc }),\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: packStatuses.C.typeDesc }),\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: packStatuses.A.typeDesc }),\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 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 } } = state;\n const { config: { applicationName } } = state;\n $rootScope.title = toParams.pageTitle ? `${applicationName[locale]} - ${toParams.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 }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n\r\n return {\r\n locale,\r\n locales,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'appFactory', '$timeout')\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.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 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\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 }) => {\r\n const { locale } = session;\r\n const { phoneExtRegex, phoneMask, phoneLength, locales } = config;\r\n\r\n return {\r\n locale,\r\n phoneExtRegex,\r\n phoneMask,\r\n phoneLength,\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 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.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 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\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 = ({ session, config }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n\r\n return {\r\n locale,\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.locale);\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 = ({ session, config }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n\r\n return {\r\n locale,\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.locale);\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\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"4\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"6\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"7\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"8\":{\"id\":\"messages\",\"label\":{\"en_US\":\"Messages\",\"es_US\":\"Mensajes\"},\"iconClass\":\"fa-envelope\",\"sref\":\"message.list\",\"e2eId\":\"message.list\"},\"9\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"anonymous\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"3\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"4\":{\"id\":\"login\",\"label\":{\"en_US\":\"Login\",\"es_US\":\"Login\"},\"iconClass\":\"fa-sign-in\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"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\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"10\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"11\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"12\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"13\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_PRIMARY_INDEPENDENT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"12\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY_INDEPENDENT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY_CHAIN_HEAD\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_PRIMARY_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"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\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"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\"}},\"2\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"3\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_GROUP\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"PROSPECT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"mock\":{\"topmenu\":{\"9\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"10\":{\"id\":\"login\",\"label\":{\"en_US\":\"Login\",\"es_US\":\"Login\"},\"iconClass\":\"fa-sign-in\"}}},\"RETAILER_PRIMARYTemporary\":{\"topmenu\":{\"1\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"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\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"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\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\"},\"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\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY\":{\"topmenu\":{\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\"},\"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\"},\"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\"},\"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\"},\"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\"},\"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\"},\"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\"},\"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\"},\"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\"},\"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} 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_LOCALE:\r\n return Object.assign({}, state, {\r\n locale: action.payload.locale,\r\n });\r\n case INIT_SESSION:\r\n return Object.assign({}, state, action.payload);\r\n case UPDATE_SESSION:\r\n return Object.assign({}, state, action.payload);\r\n case SET_SIDE_MENU:\r\n return Object.assign({}, state, {\r\n sidemenu: action.payload,\r\n });\r\n case SET_TOP_MENU:\r\n return Object.assign({}, state, {\r\n topmenu: action.payload,\r\n });\r\n case SET_TOKENS:\r\n return Object.assign({}, state, {\r\n tokens: action.payload,\r\n });\r\n case SET_USER_PRIVILEGES:\r\n return Object.assign({}, state, {\r\n privileges: action.payload,\r\n });\r\n case SET_LEARNING_LINK:\r\n return Object.assign({}, state, {\r\n lotteryLearningLink: action.payload,\r\n });\r\n case SET_ATTEMPTED_ROUTE:\r\n return Object.assign({}, state, {\r\n attemptedRoute: action.payload,\r\n });\r\n case SET_RETAILER_GROUPS:\r\n return Object.assign({}, state, {\r\n retailerGroups: action.payload,\r\n });\r\n case SET_OWNER_RETAILER_GROUPS:\r\n return Object.assign({}, state, {\r\n ownerRetailerGroups: action.payload,\r\n });\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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Change Password')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Forgot Password')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Forgot Email')],\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 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 '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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Contact Us')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Manage Lottery Contacts')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Manage Inquiry Contacts')],\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 * 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\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};\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 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 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 must have phone number defined and must be set as default.')\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 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 DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\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\n\r\nimport { createCategory, downloadDocument, getCategories, getDocuments, getTags, removeCategory, removeDocument, saveDocument, updateCategory, uploadDocument } 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 = Object.assign({}, 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(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Category removed successfully')));\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.getTags;\r\n const search = this.search;\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Documents Library')],\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 _ 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 = 1268\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 = 1269\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 = 1270\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 = 1271\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 = 1272\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 = 1273\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 = 1274\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('Other language form contains errors.'));\r\n }\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 = 1277\n// module chunks = 0","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 angular from 'angular';\r\nimport './config/errorcodes.conf';\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Notification Templates')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Edit Notification Template')],\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 SmsNotificationTemplatesComponent\r\n from './components/sms-notification-templates/sms-notification-templates-component';\r\nimport ManageLoginSmsNotificationComponent\r\n 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.module('sms', ['utils', SmsNotificationTemplatesComponent.name, ManageLoginSmsNotificationComponent.name, ManageSmsNotificationComponent.name]).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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('SMS Notification Templates')],\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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Frequently Asked Questions')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Manage Frequently Asked Questions')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Frequently Asked Questions')],\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 faqCategoryTemplate from './faq-category.html';\r\nimport _ from 'lodash';\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@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 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 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.run(category).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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('All Messages')],\r\n },\r\n })\r\n .state('message.sent', {\r\n url: '/sent/details/:id',\r\n template: '',\r\n params: {\r\n pageTitle: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Sent - Message details')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Inbox - Message details')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Inbox - Create Message')],\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 { 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};\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 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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Admin Roles')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Secondary Retailer Roles')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Primary Retailer Roles')],\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('user-logout');\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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Sign Up')],\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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Manage Subscriptions')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('SFTP Server Configuration')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Create SFTP Server Configuration')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Edit SFTP Server Configuration')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Reports')],\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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Site Activity Log')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Store Profiles')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('View Inventory')],\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 { packStatuses } = dictionary;\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 packStatuses,\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.packStatuses.I.typeDesc }),\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.packStatuses.C.typeDesc }),\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.packStatuses.A.typeDesc }),\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.packStatuses.S.typeDesc }),\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.packStatuses.I.typeDesc }),\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.packStatuses.C.typeDesc }),\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.packStatuses.A.typeDesc }),\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.packStatuses.S.typeDesc }),\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\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 };\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 { packStatuses } = dictionary;\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 packStatuses,\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.packStatuses.I.typeDesc,\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.packStatuses.C.typeDesc,\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 { packStatuses } = dictionary;\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 packStatuses,\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\n\r\nconst mapStateToThis = ({ dictionary, session }) => {\r\n const { locale } = session;\r\n const { orderStatuses } = dictionary;\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 orderStatuses,\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.orderStatuses.I.typeDesc }),\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.orderStatuses.C.typeDesc }),\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: 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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Summary Dashboard')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Instants Dashboard')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Store Profile')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Earnings History')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Earnings History')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Invoice History')],\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\n\r\nexport default angular\r\n .module('net-sales-routing', [])\r\n .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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Sales History')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Historical Winners')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Cashing History')],\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 { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n terms,\r\n packStatuses,\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 { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n retailer,\r\n usesProjectedSettlements,\r\n packStatuses,\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 CATEGORY_SCRATCH = 'Scratch';\r\nconst CATEGORY_DRAW = 'Draw';\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 const instantCategory = this.allCategories.find((category: SalesCategory) => category.categoryType === CATEGORY_SCRATCH);\r\n const drawCategory = this.allCategories.find((category: SalesCategory) => category.categoryType === CATEGORY_DRAW);\r\n\r\n this.categories = [\r\n {\r\n id: 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: instantCategory.id,\r\n label: this.gettextCatalog.getString('{{ instant }} Game Sales', { instant: this.terms.INSTANT.singular }),\r\n },\r\n {\r\n id: 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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('LVM Sales History')],\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 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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Manage Lottery Announcements')],\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 '$stateParams',\r\n 'gettextCatalog',\r\n ($stateParams, gettextCatalog) => {\r\n $stateParams.pageTitle = $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\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('Other language form contains errors.'));\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 \\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 this.prevYearSalesData = values[0];\r\n\r\n this.endOfWeekDayNumber = moment.utc(get(this.prevYearSalesData, '[0].date')).day();\r\n if (values.length > 1) {\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 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 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};\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.$state.params.pageTitle = 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\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Change Primary User')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Create New User')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Create New User')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('My Account')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Manage Users')],\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: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Retailer Settings')],\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