{ "version": 3, "sources": ["src/autogen/ez.email/contracts/action-types/email-template-action-types.ts", "src/app/shared/state/email-templates-state/email-template-state.actions.ts", "src/app/shared/state/email-templates-state/email-template-state.reducer.ts", "src/app/shared/state/email-templates-state/email-template-state.selectors.ts", "src/app/shared/state/email-templates-state/email-template-state.facade.ts", "src/app/shared/state/email-templates-state/email-template-state.effects.ts", "src/app/shared/state/email-templates-state/email-template-state.module.ts"], "sourcesContent": ["/**\r\n * This is a TypeGen auto-generated file.\r\n * Any changes made to this file can be lost when this file is regenerated.\r\n */\r\n\r\nimport { BaseActionTypes } from '../../../ez.core/messages/action-types/base-action-types';\r\n\r\nexport class EmailTemplateActionTypes extends BaseActionTypes {\r\n public static readonly preamble: string = '[Email]-';\r\n public static readonly GetEmailTemplateCategoriesOnLoad: string = EmailTemplateActionTypes.preamble + 'Get email template categories on load.';\r\n public static readonly GetEmailTemplateCategoriesOnLoadSuccess: string = EmailTemplateActionTypes.GetEmailTemplateCategoriesOnLoad + EmailTemplateActionTypes.success;\r\n public static readonly GetEmailTemplateCategoriesOnLoadFail: string = EmailTemplateActionTypes.GetEmailTemplateCategoriesOnLoad + EmailTemplateActionTypes.failure;\r\n public static readonly GetEmailTemplateSubCategories: string = EmailTemplateActionTypes.preamble + 'Get email template sub categories.';\r\n public static readonly GetEmailTemplateSubCategoriesSuccess: string = EmailTemplateActionTypes.GetEmailTemplateSubCategories + EmailTemplateActionTypes.success;\r\n public static readonly GetEmailTemplateSubCategoriesFail: string = EmailTemplateActionTypes.GetEmailTemplateSubCategories + EmailTemplateActionTypes.failure;\r\n public static readonly GetEmailTemplateSubCategoryTemplates: string = EmailTemplateActionTypes.preamble + 'Get email template sub-category templates.';\r\n public static readonly GetEmailTemplateSubCategoryTemplatesSuccess: string = EmailTemplateActionTypes.GetEmailTemplateSubCategoryTemplates + EmailTemplateActionTypes.success;\r\n public static readonly GetEmailTemplateSubCategoryTemplatesFail: string = EmailTemplateActionTypes.GetEmailTemplateSubCategoryTemplates + EmailTemplateActionTypes.failure;\r\n public static readonly GetLocationEmailTemplates: string = EmailTemplateActionTypes.preamble + 'Get location email templates.';\r\n public static readonly GetLocationEmailTemplatesSuccess: string = EmailTemplateActionTypes.GetLocationEmailTemplates + EmailTemplateActionTypes.success;\r\n public static readonly GetLocationEmailTemplatesFail: string = EmailTemplateActionTypes.GetLocationEmailTemplates + EmailTemplateActionTypes.failure;\r\n public static readonly GetLocationEmailTemplate: string = EmailTemplateActionTypes.preamble + 'Get location email template.';\r\n public static readonly GetLocationEmailTemplateSuccess: string = EmailTemplateActionTypes.GetLocationEmailTemplate + EmailTemplateActionTypes.success;\r\n public static readonly GetLocationEmailTemplateFail: string = EmailTemplateActionTypes.GetLocationEmailTemplate + EmailTemplateActionTypes.failure;\r\n public static readonly GetEmailTemplateHtmlSource: string = EmailTemplateActionTypes.preamble + 'Get email template HTML source.';\r\n public static readonly GetEmailTemplateHtmlSourceSuccess: string = EmailTemplateActionTypes.GetEmailTemplateHtmlSource + EmailTemplateActionTypes.success;\r\n public static readonly GetEmailTemplateHtmlSourceFail: string = EmailTemplateActionTypes.GetEmailTemplateHtmlSource + EmailTemplateActionTypes.failure;\r\n public static readonly SendFeedbackEmail: string = EmailTemplateActionTypes.preamble + 'Send Feedback Email.';\r\n public static readonly SendFeedbackEmailSuccess: string = EmailTemplateActionTypes.SendFeedbackEmail + EmailTemplateActionTypes.success;\r\n public static readonly SendFeedbackEmailFail: string = EmailTemplateActionTypes.SendFeedbackEmail + EmailTemplateActionTypes.failure;\r\n public static readonly DeleteLocationEmailTemplate: string = '[Email]-Delete location email template.';\r\n public static readonly DeleteLocationEmailTemplateSuccess: string = '[Email]-Delete location email template.-SUCCESS';\r\n public static readonly DeleteLocationEmailTemplateFail: string = '[Email]-Delete location email template.-FAIL';\r\n public static readonly AddLocationEmailTemplate: string = '[Email]-Add location email template.';\r\n public static readonly AddLocationEmailTemplateSuccess: string = '[Email]-Add location email template.-SUCCESS';\r\n public static readonly AddLocationEmailTemplateFail: string = '[Email]-Add location email template.-FAIL';\r\n public static readonly UpdateLocationEmailTemplate: string = '[Email]-Update location email template.';\r\n public static readonly UpdateLocationEmailTemplateSuccess: string = '[Email]-Update location email template.-SUCCESS';\r\n public static readonly UpdateLocationEmailTemplateFail: string = '[Email]-Update location email template.-FAIL';\r\n}\r\n", "import { createActionHelper } from '@ezuiaws/ez.ui.packages/ez-store';\n\nimport { LabelValueViewModel } from '@app-autogen/ez.common/contracts/response/label-value-view-model';\nimport { EmailTemplateActionTypes } from '@app-autogen/ez.email/contracts/action-types/email-template-action-types';\nimport { GetEmailTemplateHtmlSourceRequest } from '@app-autogen/ez.email/contracts/request/get-email-template-html-source-request';\nimport { GetEmailTemplateSubCategoriesRequest } from '@app-autogen/ez.email/contracts/request/get-email-template-sub-categories-request';\nimport { GetEmailTemplateSubCategoryTemplatesRequest } from '@app-autogen/ez.email/contracts/request/get-email-template-sub-category-templates-request';\nimport { GetLocationEmailTemplateRequest } from '@app-autogen/ez.email/contracts/request/get-location-email-template-request';\nimport { SendFeedbackEmailRequest } from '@app-autogen/ez.email/contracts/request/send-feedback-email-request';\nimport { CreateLocationEmailTemplateRequest } from \"@app-autogen/ez.email/contracts/request/create-location-email-template-request\";\nimport { CreateLocationEmailTemplateResponse } from \"@app-autogen/ez.email/contracts/response/create-location-email-template-response\";\nimport { DeleteLocationEmailTemplateRequest } from \"@app-autogen/ez.email/contracts/request/delete-location-email-template-request\";\nimport { GetLocationEmailTemplatesRequest } from \"@app-autogen/ez.email/contracts/request/get-location-email-templates-request\";\nimport { GetLocationEmailTemplateResponse } from \"@app-autogen/ez.email/contracts/response/get-location-email-template-response\";\nimport { GetLocationEmailTemplatesResponse } from \"@app-autogen/ez.email/contracts/response/get-location-email-templates-response\";\nimport { UpdateLocationEmailTemplateRequest } from '@app-autogen/ez.email/contracts/request/update-location-email-template-request';\n\n// ----------------------------------------------------------- //\n// Emails Actions\nexport const getEmailTemplateCategoriesOnLoad = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateCategoriesOnLoad);\nexport const getEmailTemplateCategoriesOnLoadSuccess = createActionHelper<[]>(EmailTemplateActionTypes.GetEmailTemplateCategoriesOnLoadSuccess);\nexport const getEmailTemplateCategoriesOnLoadFail = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateCategoriesOnLoadFail);\n\nexport const getEmailTemplateSubCategories = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateSubCategories);\nexport const getEmailTemplateSubCategoriesSuccess = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateSubCategoriesSuccess);\nexport const getEmailTemplateSubCategoriesFail = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateSubCategoriesFail);\n\nexport const getEmailTemplateSubCategoryTemplates = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateSubCategoryTemplates);\nexport const getEmailTemplateSubCategoryTemplatesSuccess = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateSubCategoryTemplatesSuccess);\nexport const getEmailTemplateSubCategoryTemplatesFail = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateSubCategoryTemplatesFail);\n\nexport const getLocationEmailTemplates = createActionHelper(EmailTemplateActionTypes.GetLocationEmailTemplates);\nexport const getLocationEmailTemplatesSuccess = createActionHelper(EmailTemplateActionTypes.GetLocationEmailTemplatesSuccess);\nexport const getLocationEmailTemplatesFail = createActionHelper(EmailTemplateActionTypes.GetLocationEmailTemplatesFail);\n\nexport const getLocationEmailTemplate = createActionHelper(EmailTemplateActionTypes.GetLocationEmailTemplate);\nexport const getLocationEmailTemplateSuccess = createActionHelper(EmailTemplateActionTypes.GetLocationEmailTemplateSuccess);\nexport const getLocationEmailTemplateFail = createActionHelper(EmailTemplateActionTypes.GetLocationEmailTemplateFail);\n\nexport const getEmailTemplateHtmlSource = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateHtmlSource);\nexport const getEmailTemplateHtmlSourceSuccess = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateHtmlSourceSuccess);\nexport const getEmailTemplateHtmlSourceFail = createActionHelper(EmailTemplateActionTypes.GetEmailTemplateHtmlSourceFail);\n\nexport const sendFeedbackEmail = createActionHelper(EmailTemplateActionTypes.SendFeedbackEmail);\nexport const sendFeedbackEmailSuccess = createActionHelper(EmailTemplateActionTypes.SendFeedbackEmailSuccess);\nexport const sendFeedbackEmailFail = createActionHelper(EmailTemplateActionTypes.SendFeedbackEmailFail);\n\nexport const addLocationEmailTemplate = createActionHelper(EmailTemplateActionTypes.AddLocationEmailTemplate);\nexport const addLocationEmailTemplateSuccess = createActionHelper(EmailTemplateActionTypes.AddLocationEmailTemplateSuccess);\nexport const addLocationEmailTemplateFail = createActionHelper(EmailTemplateActionTypes.AddLocationEmailTemplateFail);\n\nexport const updateLocationEmailTemplate = createActionHelper(EmailTemplateActionTypes.UpdateLocationEmailTemplate);\nexport const updateLocationEmailTemplateSuccess = createActionHelper(EmailTemplateActionTypes.UpdateLocationEmailTemplateSuccess);\nexport const updateLocationEmailTemplateFail = createActionHelper(EmailTemplateActionTypes.UpdateLocationEmailTemplateFail);\n\nexport const deleteLocationEmailTemplate = createActionHelper(EmailTemplateActionTypes.DeleteLocationEmailTemplate);\nexport const deleteLocationEmailTemplateSuccess = createActionHelper(EmailTemplateActionTypes.DeleteLocationEmailTemplateSuccess);\nexport const deleteLocationEmailTemplateFail = createActionHelper(EmailTemplateActionTypes.DeleteLocationEmailTemplateFail);\n\nexport const clearState = createActionHelper('[Email]- Clear State.');\nexport const clearCreatedEmailTemplateId = createActionHelper('[Email]- Clear Created Email Template Id.');\n\nexport const toggleEmailTemplateNameInput = createActionHelper('[Email]- Show Hide Email TemplateName Input.');\n\n", "import { createReducer, on } from '@ngrx/store';\nimport { LabelValueViewModel } from \"@app-autogen/ez.common/contracts/response/label-value-view-model\";\nimport { LocationEmailTemplate } from \"@app-autogen/ez.email/contracts/response/location-email-template\";\n\nimport * as EmailTemplateActions from './email-template-state.actions';\n\nexport const EMAIL_TEMPLATES_FEATURE_KEY = 'email-templates';\n\nexport interface State {\n emailTemplateCategories: LabelValueViewModel[];\n emailTemplateSubCategories: LabelValueViewModel[];\n emailTemplateSubCategoryTemplates: LabelValueViewModel[];\n templates: LocationEmailTemplate[];\n locationEmailTemplate: LocationEmailTemplate;\n emailTemplateHtmlSource: string;\n createdEmailTemplateId: number;\n isEmailTemplateNameInputVisible: boolean;\n}\n\nexport interface EmailTemplateState {\n readonly [EMAIL_TEMPLATES_FEATURE_KEY]: State;\n}\n\nconst initialState: State = {\n emailTemplateCategories: [],\n emailTemplateSubCategories: [],\n emailTemplateSubCategoryTemplates: [],\n templates: [],\n locationEmailTemplate: null,\n emailTemplateHtmlSource: null,\n createdEmailTemplateId: null,\n isEmailTemplateNameInputVisible: true\n};\n\nexport const emailTemplateReducer = createReducer(\n initialState,\n on(EmailTemplateActions.getEmailTemplateCategoriesOnLoadSuccess, (state: State, { payload }) => {\n return {\n ...state,\n emailTemplateCategories: payload\n };\n }),\n on(EmailTemplateActions.getEmailTemplateCategoriesOnLoadFail, (state: State) => {\n return {\n ...state,\n emailTemplateCategories: []\n };\n }),\n on(EmailTemplateActions.getEmailTemplateSubCategoriesSuccess, (state: State, { payload }) => {\n return {\n ...state,\n emailTemplateSubCategories: payload\n };\n }),\n on(EmailTemplateActions.getEmailTemplateSubCategoriesFail, (state: State) => {\n return {\n ...state,\n emailTemplateSubCategories: []\n };\n }),\n on(EmailTemplateActions.getEmailTemplateSubCategoryTemplatesSuccess, (state: State, { payload }) => {\n return {\n ...state,\n emailTemplateSubCategoryTemplates: payload\n };\n }),\n on(EmailTemplateActions.getEmailTemplateSubCategoryTemplatesFail, (state: State) => {\n return {\n ...state,\n emailTemplateSubCategoryTemplates: []\n };\n }),\n on(EmailTemplateActions.getLocationEmailTemplatesSuccess, (state: State, { payload }) => {\n return {\n ...state,\n templates: payload.locationEmailTemplates\n };\n }),\n on(EmailTemplateActions.getLocationEmailTemplatesFail, (state: State) => {\n return {\n ...state,\n templates: []\n };\n }),\n on(EmailTemplateActions.getLocationEmailTemplateSuccess, (state: State, { payload }) => {\n return {\n ...state,\n locationEmailTemplate: payload.locationEmailTemplate\n };\n }),\n on(EmailTemplateActions.getLocationEmailTemplateFail, (state: State) => {\n return {\n ...state,\n emailTemplateHtmlSource: ''\n };\n }),\n on(EmailTemplateActions.getEmailTemplateHtmlSourceSuccess, (state: State, { payload }) => {\n return {\n ...state,\n emailTemplateHtmlSource: payload\n };\n }),\n on(EmailTemplateActions.getEmailTemplateHtmlSourceFail, (state: State) => {\n return {\n ...state,\n emailTemplateHtmlSource: ''\n };\n }),\n on(EmailTemplateActions.addLocationEmailTemplateSuccess, (state: State, { payload }) => {\n return {\n ...state,\n createdEmailTemplateId: payload.emailTemplateId\n };\n }),\n on(EmailTemplateActions.clearState, (state: State) => {\n return initialState;\n }),\n on(EmailTemplateActions.clearCreatedEmailTemplateId, (state: State) => {\n return {\n ...state,\n createdEmailTemplateId: null\n };\n }),\n on(EmailTemplateActions.toggleEmailTemplateNameInput, (state: State, { payload }) => {\n return {\n ...state,\n isEmailTemplateNameInputVisible: payload\n };\n })\n);\n", "import { createFeatureSelector, createSelector } from '@ngrx/store';\nimport { State, EMAIL_TEMPLATES_FEATURE_KEY } from './email-template-state.reducer';\n\n// Selector functions\nconst getState = createFeatureSelector(EMAIL_TEMPLATES_FEATURE_KEY);\n\nexport const getEmailTemplateCategories = createSelector(\n getState,\n state => state.emailTemplateCategories\n);\n\nexport const getEmailTemplateSubCategories = createSelector(\n getState,\n state => state.emailTemplateSubCategories\n);\n\nexport const getEmailTemplateSubCategoryTemplates = createSelector(\n getState,\n state => state.emailTemplateSubCategoryTemplates\n);\n\nexport const getLocationEmailTemplates = createSelector(\n getState,\n state => state.templates\n);\n\nexport const getLocationEmailTemplateData = createSelector(\n getState,\n state => state.locationEmailTemplate\n);\n\nexport const getEmailTemplateHtmlSource = createSelector(\n getState,\n state => state.emailTemplateHtmlSource\n);\n\nexport const createdEmailTemplateId = createSelector(\n getState,\n state => state.createdEmailTemplateId\n);\n\nexport const isEmailTemplateNameInputVisible = createSelector(\n getState,\n state => state.isEmailTemplateNameInputVisible\n);\n", "import { Injectable } from '@angular/core';\n\nimport * as EmailTemplateReducer from './email-template-state.reducer';\nimport * as EmailTemplateSelectors from './email-template-state.selectors';\nimport * as EmailTemplateActions from './email-template-state.actions';\n\nimport { Observable } from 'rxjs';\n\nimport { EzStoreService } from '@ezuiaws/ez.ui.packages/ez-store';\nimport {\n GetEmailTemplateSubCategoriesRequest\n} from \"@app-autogen/ez.email/contracts/request/get-email-template-sub-categories-request\";\nimport { LabelValueViewModel } from \"@app-autogen/ez.common/contracts/response/label-value-view-model\";\nimport {\n GetEmailTemplateSubCategoryTemplatesRequest\n} from \"@app-autogen/ez.email/contracts/request/get-email-template-sub-category-templates-request\";\nimport {\n GetLocationEmailTemplateRequest\n} from \"@app-autogen/ez.email/contracts/request/get-location-email-template-request\";\nimport {\n GetEmailTemplateHtmlSourceRequest\n} from \"@app-autogen/ez.email/contracts/request/get-email-template-html-source-request\";\nimport { LocationEmailTemplate } from \"@app-autogen/ez.email/contracts/response/location-email-template\";\nimport {\n CreateLocationEmailTemplateRequest\n} from \"@app-autogen/ez.email/contracts/request/create-location-email-template-request\";\nimport {\n DeleteLocationEmailTemplateRequest\n} from \"@app-autogen/ez.email/contracts/request/delete-location-email-template-request\";\nimport { SendFeedbackEmailRequest } from \"@app-autogen/ez.email/contracts/request/send-feedback-email-request\";\nimport {\n GetLocationEmailTemplatesRequest\n} from \"@app-autogen/ez.email/contracts/request/get-location-email-templates-request\";\nimport { UpdateLocationEmailTemplateRequest } from '@app-autogen/ez.email/contracts/request/update-location-email-template-request';\n\n@Injectable()\nexport class EmailTemplateStateFacade {\n\n templateCategories$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.getEmailTemplateCategories);\n templateSubCategories$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.getEmailTemplateSubCategories);\n templateSubCategoryTemplates$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.getEmailTemplateSubCategoryTemplates);\n locationEmailTemplates$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.getLocationEmailTemplates);\n locationEmailTemplateData$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.getLocationEmailTemplateData);\n emailTemplateHtmlSource$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.getEmailTemplateHtmlSource);\n createdEmailTemplateId$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.createdEmailTemplateId);\n isEmailTemplateNameInputVisible$: Observable = this.storeHelper.stateStreamSelector(EmailTemplateSelectors.isEmailTemplateNameInputVisible);\n\n constructor(\n private storeHelper: EzStoreService\n ) {\n }\n\n getEmailTemplateCategoriesOnLoad() {\n this.storeHelper.dispatchAction(EmailTemplateActions.getEmailTemplateCategoriesOnLoad());\n }\n\n getEmailTemplateSubCategories(selectedTemplateCategory: string) {\n const request: GetEmailTemplateSubCategoriesRequest = {\n emailTemplateCategoryDirectory: selectedTemplateCategory\n };\n this.storeHelper.dispatchAction(EmailTemplateActions.getEmailTemplateSubCategories(request));\n }\n\n getEmailTemplateSubCategoryTemplates(selectedTemplateSubCategory: string) {\n const request: GetEmailTemplateSubCategoryTemplatesRequest = {\n emailTemplateSubCategoryDirectory: selectedTemplateSubCategory\n };\n this.storeHelper.dispatchAction(EmailTemplateActions.getEmailTemplateSubCategoryTemplates(request));\n }\n\n getLocationEmailTemplate(templateId: number) {\n const request: GetLocationEmailTemplateRequest = {\n emailTemplateID: templateId\n };\n this.storeHelper.dispatchAction(EmailTemplateActions.getLocationEmailTemplate(request));\n }\n\n getEmailTemplateHtmlSource(fileName: string) {\n const request: GetEmailTemplateHtmlSourceRequest = {\n fileName: fileName\n };\n this.storeHelper.dispatchAction(EmailTemplateActions.getEmailTemplateHtmlSource(request));\n }\n\n getLocationEmailTemplates(getHTMLBody: boolean) {\n const request: GetLocationEmailTemplatesRequest = {\n getHTMLBody: getHTMLBody\n };\n this.storeHelper.dispatchAction(EmailTemplateActions.getLocationEmailTemplates(request));\n }\n\n addLocationEmailTemplate(request: CreateLocationEmailTemplateRequest) {\n this.storeHelper.dispatchAction(EmailTemplateActions.addLocationEmailTemplate(request));\n }\n\n updateLocationEmailTemplate(request: UpdateLocationEmailTemplateRequest) {\n this.storeHelper.dispatchAction(EmailTemplateActions.updateLocationEmailTemplate(request));\n }\n\n clearCreatedEmailTemplateId() {\n this.storeHelper.dispatchAction(EmailTemplateActions.clearCreatedEmailTemplateId());\n }\n\n deleteLocationEmailTemplate(templateId: number) {\n const request: DeleteLocationEmailTemplateRequest = {\n emailTemplateID: templateId\n };\n this.storeHelper.dispatchAction(EmailTemplateActions.deleteLocationEmailTemplate(request));\n }\n\n clearState() {\n this.storeHelper.dispatchAction(EmailTemplateActions.clearState());\n }\n\n sendFeedbackEmail(request: SendFeedbackEmailRequest) {\n this.storeHelper.dispatchAction(EmailTemplateActions.sendFeedbackEmail(request));\n }\n\n showEmailTemplateNameInput() {\n this.storeHelper.dispatchAction(EmailTemplateActions.toggleEmailTemplateNameInput(true));\n }\n\n hideEmailTemplateNameInput() {\n this.storeHelper.dispatchAction(EmailTemplateActions.toggleEmailTemplateNameInput(false));\n }\n}\n", "import { Injectable } from '@angular/core';\nimport { tap } from 'rxjs/operators';\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\nimport { EzNotificationService } from '@ezuiaws/ez.ui.packages/ez-notification';\nimport { NotificationType } from '@app-autogen/ez.common/enums/notification-type';\nimport { LocalizationService } from '@app-core/localization/localization.service';\nimport { EmailTemplateStateFacade } from \"@app-shared/state/email-templates-state/email-template-state.facade\";\n\nimport * as EmailTemplateActions from './email-template-state.actions';\n\n@Injectable()\nexport class EmailTemplateStateEffects {\n\n constructor(\n private actions$: Actions,\n private notificationService: EzNotificationService,\n private emailTemplateStateFacade: EmailTemplateStateFacade,\n ) {\n }\n\n addLocationEmailTemplateSuccess = createEffect(() =>\n this.actions$.pipe(\n ofType(EmailTemplateActions.addLocationEmailTemplateSuccess),\n tap(() => {\n this.emailTemplateStateFacade.hideEmailTemplateNameInput();\n this.emailTemplateStateFacade.getLocationEmailTemplates(false);\n }),\n ), { dispatch: false }\n );\n\n updateLocationEmailTemplateSuccess = createEffect(() =>\n this.actions$.pipe(\n ofType(EmailTemplateActions.updateLocationEmailTemplateSuccess),\n tap(() => {\n this.emailTemplateStateFacade.hideEmailTemplateNameInput();\n this.emailTemplateStateFacade.getLocationEmailTemplates(false);\n }),\n ), { dispatch: false }\n );\n\n updateLocationEmailTemplateFail = createEffect(() =>\n this.actions$.pipe(\n ofType(EmailTemplateActions.updateLocationEmailTemplateFail),\n tap(() => {\n this.notificationService.sendFailNotification({\n type: NotificationType.error,\n title: LocalizationService.rks.Failed,\n message: LocalizationService.rks.Failed\n });\n }),\n ), { dispatch: false }\n );\n\n deleteLocationEmailTemplateSuccess = createEffect(() =>\n this.actions$.pipe(\n ofType(EmailTemplateActions.deleteLocationEmailTemplateSuccess),\n tap(() => {\n this.notificationService.sendSuccessNotification({\n type: NotificationType.success,\n title: LocalizationService.rks.Success,\n message: LocalizationService.rks.TemplateDeleted\n });\n this.emailTemplateStateFacade.getLocationEmailTemplates(false);\n }),\n ), { dispatch: false }\n );\n}\n", "import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\nimport { EffectsModule } from \"@ngrx/effects\";\nimport { emailTemplateReducer, EMAIL_TEMPLATES_FEATURE_KEY } from './email-template-state.reducer';\nimport { EmailTemplateStateFacade } from \"@app-shared/state/email-templates-state/email-template-state.facade\";\nimport { EmailTemplateStateEffects } from \"@app-shared/state/email-templates-state/email-template-state.effects\";\n\n@NgModule({\n declarations: [],\n imports: [\n StoreModule.forFeature(EMAIL_TEMPLATES_FEATURE_KEY, emailTemplateReducer),\n EffectsModule.forFeature([EmailTemplateStateEffects])\n ],\n providers: [EmailTemplateStateFacade]\n})\nexport class EmailTemplateStateModule { }\n"], "mappings": "iVAOM,IAAOA,EAAP,MAAOA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preamble", "GetEmailTemplateCategoriesOnLoad", "GetEmailTemplateCategoriesOnLoadSuccess", "success", "GetEmailTemplateCategoriesOnLoadFail", "failure", "GetEmailTemplateSubCategories", "GetEmailTemplateSubCategoriesSuccess", "GetEmailTemplateSubCategoriesFail", "GetEmailTemplateSubCategoryTemplates", "GetEmailTemplateSubCategoryTemplatesSuccess", "GetEmailTemplateSubCategoryTemplatesFail", "GetLocationEmailTemplates", "GetLocationEmailTemplatesSuccess", "GetLocationEmailTemplatesFail", "GetLocationEmailTemplate", "GetLocationEmailTemplateSuccess", "GetLocationEmailTemplateFail", "GetEmailTemplateHtmlSource", "GetEmailTemplateHtmlSourceSuccess", "GetEmailTemplateHtmlSourceFail", "SendFeedbackEmail", "SendFeedbackEmailSuccess", "SendFeedbackEmailFail", "DeleteLocationEmailTemplate", "DeleteLocationEmailTemplateSuccess", "DeleteLocationEmailTemplateFail", "AddLocationEmailTemplate", "AddLocationEmailTemplateSuccess", "AddLocationEmailTemplateFail", "UpdateLocationEmailTemplate", "UpdateLocationEmailTemplateSuccess", "UpdateLocationEmailTemplateFail", "getEmailTemplateCategoriesOnLoad", "createActionHelper", "EmailTemplateActionTypes", "GetEmailTemplateCategoriesOnLoad", "getEmailTemplateCategoriesOnLoadSuccess", "GetEmailTemplateCategoriesOnLoadSuccess", "getEmailTemplateCategoriesOnLoadFail", "GetEmailTemplateCategoriesOnLoadFail", "getEmailTemplateSubCategories", "GetEmailTemplateSubCategories", "getEmailTemplateSubCategoriesSuccess", "GetEmailTemplateSubCategoriesSuccess", "getEmailTemplateSubCategoriesFail", "GetEmailTemplateSubCategoriesFail", "getEmailTemplateSubCategoryTemplates", "GetEmailTemplateSubCategoryTemplates", "getEmailTemplateSubCategoryTemplatesSuccess", "GetEmailTemplateSubCategoryTemplatesSuccess", "getEmailTemplateSubCategoryTemplatesFail", "GetEmailTemplateSubCategoryTemplatesFail", "getLocationEmailTemplates", "GetLocationEmailTemplates", "getLocationEmailTemplatesSuccess", "GetLocationEmailTemplatesSuccess", "getLocationEmailTemplatesFail", "GetLocationEmailTemplatesFail", "getLocationEmailTemplate", "GetLocationEmailTemplate", "getLocationEmailTemplateSuccess", "GetLocationEmailTemplateSuccess", "getLocationEmailTemplateFail", "GetLocationEmailTemplateFail", "getEmailTemplateHtmlSource", "GetEmailTemplateHtmlSource", "getEmailTemplateHtmlSourceSuccess", "GetEmailTemplateHtmlSourceSuccess", "getEmailTemplateHtmlSourceFail", "GetEmailTemplateHtmlSourceFail", "sendFeedbackEmail", "SendFeedbackEmail", "sendFeedbackEmailSuccess", "SendFeedbackEmailSuccess", "sendFeedbackEmailFail", "SendFeedbackEmailFail", "addLocationEmailTemplate", "AddLocationEmailTemplate", "addLocationEmailTemplateSuccess", "AddLocationEmailTemplateSuccess", "addLocationEmailTemplateFail", "AddLocationEmailTemplateFail", "updateLocationEmailTemplate", "UpdateLocationEmailTemplate", "updateLocationEmailTemplateSuccess", "UpdateLocationEmailTemplateSuccess", "updateLocationEmailTemplateFail", "UpdateLocationEmailTemplateFail", "deleteLocationEmailTemplate", "DeleteLocationEmailTemplate", "deleteLocationEmailTemplateSuccess", "DeleteLocationEmailTemplateSuccess", "deleteLocationEmailTemplateFail", "DeleteLocationEmailTemplateFail", "clearState", "clearCreatedEmailTemplateId", "toggleEmailTemplateNameInput", "EMAIL_TEMPLATES_FEATURE_KEY", "initialState", "emailTemplateCategories", "emailTemplateSubCategories", "emailTemplateSubCategoryTemplates", "templates", "locationEmailTemplate", "emailTemplateHtmlSource", "createdEmailTemplateId", "isEmailTemplateNameInputVisible", "emailTemplateReducer", "createReducer", "on", "getEmailTemplateCategoriesOnLoadSuccess", "state", "payload", "__spreadProps", "__spreadValues", "getEmailTemplateCategoriesOnLoadFail", "getEmailTemplateSubCategoriesSuccess", "getEmailTemplateSubCategoriesFail", "getEmailTemplateSubCategoryTemplatesSuccess", "getEmailTemplateSubCategoryTemplatesFail", "getLocationEmailTemplatesSuccess", "locationEmailTemplates", "getLocationEmailTemplatesFail", "getLocationEmailTemplateSuccess", "getLocationEmailTemplateFail", "getEmailTemplateHtmlSourceSuccess", "getEmailTemplateHtmlSourceFail", "addLocationEmailTemplateSuccess", "emailTemplateId", "clearState", "clearCreatedEmailTemplateId", "toggleEmailTemplateNameInput", "getState", "createFeatureSelector", "EMAIL_TEMPLATES_FEATURE_KEY", "getEmailTemplateCategories", "createSelector", "state", "emailTemplateCategories", "getEmailTemplateSubCategories", "emailTemplateSubCategories", "getEmailTemplateSubCategoryTemplates", "emailTemplateSubCategoryTemplates", "getLocationEmailTemplates", "templates", "getLocationEmailTemplateData", "locationEmailTemplate", "getEmailTemplateHtmlSource", "emailTemplateHtmlSource", "createdEmailTemplateId", "isEmailTemplateNameInputVisible", "EmailTemplateStateFacade", "constructor", "storeHelper", "templateCategories$", "stateStreamSelector", "getEmailTemplateCategories", "templateSubCategories$", "getEmailTemplateSubCategories", "templateSubCategoryTemplates$", "getEmailTemplateSubCategoryTemplates", "locationEmailTemplates$", "getLocationEmailTemplates", "locationEmailTemplateData$", "getLocationEmailTemplateData", "emailTemplateHtmlSource$", "getEmailTemplateHtmlSource", "createdEmailTemplateId$", "createdEmailTemplateId", "isEmailTemplateNameInputVisible$", "isEmailTemplateNameInputVisible", "getEmailTemplateCategoriesOnLoad", "dispatchAction", "selectedTemplateCategory", "request", "emailTemplateCategoryDirectory", "selectedTemplateSubCategory", "emailTemplateSubCategoryDirectory", "getLocationEmailTemplate", "templateId", "emailTemplateID", "fileName", "getHTMLBody", "addLocationEmailTemplate", "updateLocationEmailTemplate", "clearCreatedEmailTemplateId", "deleteLocationEmailTemplate", "clearState", "sendFeedbackEmail", "showEmailTemplateNameInput", "toggleEmailTemplateNameInput", "hideEmailTemplateNameInput", "\u0275\u0275inject", "EzStoreService", "factory", "\u0275fac", "_EmailTemplateStateFacade", "EmailTemplateStateEffects", "constructor", "actions$", "notificationService", "emailTemplateStateFacade", "addLocationEmailTemplateSuccess", "createEffect", "pipe", "ofType", "tap", "hideEmailTemplateNameInput", "getLocationEmailTemplates", "dispatch", "updateLocationEmailTemplateSuccess", "updateLocationEmailTemplateFail", "sendFailNotification", "type", "NotificationType", "error", "title", "LocalizationService", "rks", "Failed", "message", "deleteLocationEmailTemplateSuccess", "sendSuccessNotification", "success", "Success", "TemplateDeleted", "\u0275\u0275inject", "Actions", "EzNotificationService", "EmailTemplateStateFacade", "factory", "\u0275fac", "_EmailTemplateStateEffects", "EmailTemplateStateModule", "EmailTemplateStateFacade", "imports", "StoreModule", "forFeature", "EMAIL_TEMPLATES_FEATURE_KEY", "emailTemplateReducer", "EffectsModule", "EmailTemplateStateEffects", "_EmailTemplateStateModule"] }