{ "version": 3, "sources": ["projects/insight/src/app/state/actions/user-state.actions.ts", "projects/insight/src/app/state/actions/report.actions.ts", "projects/insight/src/app/portal/page/page-item-filter-bar/sorting-filter/question-sort-order.enum.ts", "projects/insight/src/app/state/reducers/report.reducer.ts"], "sourcesContent": ["import { Action } from '@ngrx/store';\r\nimport { ParameterItem, UserState } from 'app/shared/models';\r\n\r\nexport enum Type {\r\n LOAD_USER_STATE = '[USER_STATE] LOAD_USER_STATE',\r\n LOAD_USER_STATE_SUCCESS = '[USER_STATE] LOAD_USER_STATE_SUCCESS',\r\n UPDATE_USER_STATE_SUCCESS = '[USER_STATE] UPDATE_USER_STATE_SUCCESS',\r\n UPDATE_USER_STATE_ERROR = '[USER_STATE] UPDATE_USER_STATE_ERROR',\r\n UPDATE_PARAMETER = '[USER_STATE] UPDATE_PARAMETER',\r\n UPDATE_PARAMETER_SUCCESS = '[USER_STATE] UPDATE_PARAMETER_SUCCESS',\r\n UPDATE_PARAMETER_ERROR = '[USER_STATE] UPDATE_PARAMETER_ERROR',\r\n UPDATE_MULTIPLE_PARAMETERS = '[USER_STATE] UPDATE_MULTIPLE_PARAMETERS',\r\n}\r\n\r\nexport class LoadUserState implements Action {\r\n readonly type = Type.LOAD_USER_STATE;\r\n constructor() { }\r\n}\r\nexport class LoadUserStateSuccess implements Action {\r\n readonly type = Type.LOAD_USER_STATE_SUCCESS;\r\n constructor(public payload: UserState) { }\r\n}\r\nexport class UpdateUserStateSuccess implements Action {\r\n readonly type = Type.UPDATE_USER_STATE_SUCCESS;\r\n constructor(public payload: UserState) { }\r\n}\r\nexport class UpdateUserStateError implements Action {\r\n readonly type = Type.UPDATE_USER_STATE_ERROR;\r\n constructor(public payload: { error: Error }) { }\r\n}\r\n\r\nexport class UpdateParameter implements Action {\r\n readonly type = Type.UPDATE_PARAMETER;\r\n constructor(public parameter: ParameterItem) { }\r\n}\r\n\r\nexport class UpdateParameterError implements Action {\r\n readonly type = Type.UPDATE_PARAMETER_ERROR;\r\n constructor(public payload: { error: Error }) { }\r\n}\r\nexport class UpdateParameterSuccess implements Action {\r\n readonly type = Type.UPDATE_PARAMETER_SUCCESS;\r\n constructor() { }\r\n}\r\nexport class UpdateMultipleParameters implements Action {\r\n readonly type = Type.UPDATE_MULTIPLE_PARAMETERS;\r\n constructor(public parameters: ParameterItem[]) { }\r\n}\r\n\r\nexport type Actions = LoadUserState |\r\n LoadUserStateSuccess |\r\n UpdateUserStateSuccess |\r\n UpdateUserStateError |\r\n UpdateParameter | UpdateParameterError | UpdateParameterSuccess;\r\n", "import { Action } from '@ngrx/store';\r\nimport { IndexFilter } from 'app/portal/page/page-item-filter-bar/index-filter/index-filter.model';\r\nimport { QuestionSortOrder } from 'app/portal/page/page-item-filter-bar/sorting-filter/question-sort-order.enum';\r\nimport { MenuItem, ProductStatus, ReportGroupModel } from 'app/shared/models';\r\nimport { FilterOption } from '../../portal/page/page-item-filter-bar/settings-filter/settings-filter.model';\r\n\r\nexport enum Type {\r\n INIT_PORTAL = '[REPORT] INIT_PORTAL',\r\n SET_ACTIVE_REPORT = '[REPORT] SET_ACTIVE_REPORT',\r\n SET_ACTIVE_REPORT_SUCCESS = '[REPORT] SET_ACTIVE_REPORT_SUCCESS',\r\n SET_ACTIVE_HIERARCHY = '[REPORT] SET_ACTIVE_HIERARCHY',\r\n GROUP_SELECTOR_CHANGE_GROUP = '[REPORT] GROUP_SELECTOR_CHANGE_GROUP',\r\n GROUP_SELECTOR_CHANGE_GROUP_SUCCESS = '[REPORT] GROUP_SELECTOR_CHANGE_GROUP_SUCCESS',\r\n SET_SETTINGS_FILTER = '[REPORT] SET_SETTINGS_FILTER',\r\n SET_SETTINGS_FILTER_SUCCESS = '[REPORT] SET_SETTINGS_FILTER_SUCCESS',\r\n SET_SORTING_FILTER = '[REPORT] SET_SORTING_FILTER',\r\n SET_SORTING_FILTER_SUCCESS = '[REPORT] SET_SORTING_FILTER_SUCCESS',\r\n SET_QUESTION_FILTER = '[REPORT] SET_QUESTION_FILTER',\r\n SET_QUESTION_FILTER_SUCCESS = '[REPORT] SET_QUESTION_FILTER_SUCCESS',\r\n SET_FREETEXT_QUESTION_FILTER = '[REPORT] SET_FREETEXT_QUESTION_FILTER',\r\n SET_FREETEXT_QUESTION_FILTER_SUCCESS = '[REPORT] SET_FREETEXT_QUESTION_FILTER_SUCCESS',\r\n SET_AREA_FILTER = '[REPORT] SET_AREA_FILTER',\r\n SET_AREA_FILTER_SUCCESS = '[REPORT] SET_AREA_FILTER_SUCCESS',\r\n SET_INDEX_FILTER = '[REPORT] SET_INDEX_FILTER',\r\n SET_INDEX_FILTER_SUCCESS = '[REPORT] SET_INDEX_FILTER_SUCCESS',\r\n SET_STATUS_FILTER = '[REPORT] SET_STATUS_FILTER',\r\n SET_STATUS_FILTER_SUCCESS = '[REPORT] SET_STATUS_FILTER_SUCCESS',\r\n SET_TONALITY_CATEGORY_FILTER = '[REPORT] SET_TONALITY_CATEGORY_FILTER',\r\n SET_TONALITY_CATEGORY_FILTER_SUCCESS = '[REPORT] SET_TONALITY_CATEGORY_FILTER_SUCCESS',\r\n SET_TONALITY_FILTER = '[REPORT] SET_TONALITY_FILTER',\r\n SET_TONALITY_FILTER_SUCCESS = '[REPORT] SET_TONALITY_FILTER_SUCCESS',\r\n INIT_REPORT_STATE = '[REPORT] INIT_REPORT_STATE',\r\n INVALIDATE = '[REPORT] INVALIDATE',\r\n SET_ACTIVE_INDEX = '[REPORT] SET_ACTIVE_INDEX',\r\n}\r\nexport class GroupSelectorChangeGroup implements Action {\r\n readonly type = Type.GROUP_SELECTOR_CHANGE_GROUP;\r\n constructor(public payload: { groupId: number, groupParameter?: { key: string, value: string | number }, hierarchyId?: number, groupCategory?: string }) { }\r\n}\r\nexport class GroupSelectorChangeGroupSuccess implements Action {\r\n readonly type = Type.GROUP_SELECTOR_CHANGE_GROUP_SUCCESS;\r\n constructor(public payload: { groupId: number, hierarchyId?: number, groupCategory?: string }) { }\r\n}\r\nexport class InitPortal implements Action {\r\n readonly type = Type.INIT_PORTAL;\r\n constructor() { }\r\n}\r\nexport class SetActiveReport implements Action {\r\n readonly type = Type.SET_ACTIVE_REPORT;\r\n constructor(public payload: { reportPage: MenuItem }) { }\r\n}\r\n\r\nexport class SetActiveReportSuccess implements Action {\r\n readonly type = Type.SET_ACTIVE_REPORT_SUCCESS;\r\n constructor(public payload: { reportPage: MenuItem }) { }\r\n}\r\n\r\nexport class SetActiveHierarchy implements Action {\r\n readonly type = Type.SET_ACTIVE_HIERARCHY;\r\n constructor(public payload: { hierarchyId: number }) { }\r\n}\r\n\r\nexport class SetSettingsFilter implements Action {\r\n readonly type = Type.SET_SETTINGS_FILTER;\r\n constructor(public payload: { settingsFilter: FilterOption[] }) { }\r\n}\r\n\r\nexport class SetSettingsFilterSuccess implements Action {\r\n readonly type = Type.SET_SETTINGS_FILTER_SUCCESS;\r\n constructor(public payload: { settingsFilter: FilterOption[] }) { }\r\n}\r\n\r\nexport class SetSortingFilter implements Action {\r\n readonly type = Type.SET_SORTING_FILTER;\r\n constructor(public payload: { sortingFilter: QuestionSortOrder }) { }\r\n}\r\n\r\nexport class SetSortingFilterSuccess implements Action {\r\n readonly type = Type.SET_SORTING_FILTER_SUCCESS;\r\n constructor(public payload: { sortingFilter: QuestionSortOrder }) { }\r\n}\r\n\r\nexport class SetQuestionFilter implements Action {\r\n readonly type = Type.SET_QUESTION_FILTER;\r\n constructor(public payload: { questionKeys: string[] }) { }\r\n}\r\n\r\nexport class SetQuestionFilterSuccess implements Action {\r\n readonly type = Type.SET_QUESTION_FILTER_SUCCESS;\r\n constructor(public payload: { questionKeys: string[] }) { }\r\n}\r\n\r\nexport class SetFreetextQuestionFilter implements Action {\r\n readonly type = Type.SET_FREETEXT_QUESTION_FILTER;\r\n constructor(public payload: string) { }\r\n}\r\n\r\nexport class SetFreetextQuestionFilterSuccess implements Action {\r\n readonly type = Type.SET_FREETEXT_QUESTION_FILTER_SUCCESS;\r\n constructor(public payload: string) { }\r\n}\r\n\r\n\r\nexport class SetAreaFilter implements Action {\r\n readonly type = Type.SET_AREA_FILTER;\r\n constructor(public payload: { categories: string[] }) { }\r\n}\r\n\r\nexport class SetAreaFilterSuccess implements Action {\r\n readonly type = Type.SET_AREA_FILTER_SUCCESS;\r\n constructor(public payload: { categories: string[] }) { }\r\n}\r\nexport class SetIndexFilter implements Action {\r\n readonly type = Type.SET_INDEX_FILTER;\r\n constructor(public payload: { indexFilter: IndexFilter }) { }\r\n}\r\n\r\nexport class SetIndexFilterSuccess implements Action {\r\n readonly type = Type.SET_INDEX_FILTER_SUCCESS;\r\n constructor(public payload: { indexFilter: IndexFilter }) { }\r\n}\r\n\r\nexport class InitReportState implements Action {\r\n readonly type = Type.INIT_REPORT_STATE;\r\n constructor(public payload: Partial) { }\r\n}\r\n\r\nexport class SetStatusFilter implements Action {\r\n readonly type = Type.SET_STATUS_FILTER;\r\n constructor(public payload: { status: ProductStatus[] }) { }\r\n}\r\n\r\nexport class SetStatusFilterSuccess implements Action {\r\n readonly type = Type.SET_STATUS_FILTER_SUCCESS;\r\n constructor(public payload: { status: ProductStatus[] }) { }\r\n}\r\n\r\nexport class SetTonalityCategoryFilter implements Action {\r\n readonly type = Type.SET_TONALITY_CATEGORY_FILTER;\r\n constructor(public payload: { ids: number[] }) { }\r\n}\r\n\r\nexport class SetTonalityCategoryFilterSuccess implements Action {\r\n readonly type = Type.SET_TONALITY_CATEGORY_FILTER_SUCCESS;\r\n constructor(public payload: { ids: number[] }) { }\r\n}\r\n\r\nexport class SetTonalityFilter implements Action {\r\n readonly type = Type.SET_TONALITY_FILTER;\r\n constructor(public payload: { ids: string[] }) { }\r\n}\r\n\r\nexport class SetTonalityFilterSuccess implements Action {\r\n readonly type = Type.SET_TONALITY_FILTER_SUCCESS;\r\n constructor(public payload: { ids: string[] }) { }\r\n}\r\n\r\n\r\nexport class Invalidate implements Action {\r\n readonly type = Type.INVALIDATE;\r\n constructor() { }\r\n}\r\n\r\nexport class SetActiveIndex implements Action {\r\n readonly type = Type.SET_ACTIVE_INDEX;\r\n constructor(public payload: string) { }\r\n}\r\n\r\nexport type Actions = InitPortal | SetActiveReport | SetActiveReportSuccess | SetActiveHierarchy\r\n | GroupSelectorChangeGroup | GroupSelectorChangeGroupSuccess | SetSettingsFilter | SetSettingsFilterSuccess\r\n | SetSortingFilter | SetSortingFilterSuccess | SetQuestionFilter | SetQuestionFilterSuccess | SetFreetextQuestionFilter | SetFreetextQuestionFilterSuccess\r\n | SetAreaFilter | SetAreaFilterSuccess | SetIndexFilter | SetIndexFilterSuccess | SetStatusFilterSuccess\r\n | SetTonalityCategoryFilter | SetTonalityCategoryFilterSuccess| SetTonalityFilter | SetTonalityFilterSuccess\r\n | InitReportState | Invalidate | SetActiveIndex;\r\n", "export enum QuestionSortOrder {\r\n Standard = 'standard',\r\n AverageAsc = 'avg asc',\r\n AverageDesc = 'avg desc'\r\n}\r\n", "import { createSelector } from '@ngrx/store';\r\nimport { QuestionSortOrder } from 'app/portal/page/page-item-filter-bar/sorting-filter/question-sort-order.enum';\r\nimport { ProductStatus, ReportState } from 'app/shared/models';\r\nimport { Actions as ReportAction, Type as ReportActionType } from 'app/state/actions/report.actions';\r\nimport { AppState } from '../app.state';\r\n\r\n\r\nexport const initialState: ReportState = {\r\n activeReportPage: {},\r\n activeHierarchyId: null,\r\n activeGroupId: null,\r\n activeGroupCategory: null,\r\n filter: {\r\n settings: [],\r\n sorting: QuestionSortOrder.Standard,\r\n questionKeys: null,\r\n freetextQuestionKey: null,\r\n indexes: {\r\n indexes: []\r\n },\r\n statuses: [ProductStatus.published, ProductStatus.archived],\r\n recommendationCategories: [],\r\n tonalityCategories: [],\r\n tonalities: []\r\n },\r\n invalidated: true,\r\n activeIndex: null\r\n};\r\n\r\nexport const selectReportState = (state: AppState) => state.reportState;\r\n\r\nexport const selectActiveReportGroupIdd = createSelector(\r\n selectReportState,\r\n (state: ReportState) => state.activeGroupId\r\n);\r\n\r\nexport const selectActiveReportPage = createSelector(\r\n selectReportState,\r\n (state: ReportState) => state.activeReportPage\r\n);\r\n\r\nexport const selectActiveReportGroupCategory = createSelector(\r\n selectReportState,\r\n (state: ReportState) => state.activeGroupCategory\r\n);\r\n\r\n\r\n\r\nexport function reducer(state: ReportState = initialState, action: ReportAction): ReportState {\r\n\r\n switch (action.type) {\r\n case ReportActionType.SET_ACTIVE_REPORT_SUCCESS: {\r\n return { ...state, activeReportPage: action.payload?.reportPage };\r\n }\r\n case ReportActionType.SET_ACTIVE_HIERARCHY: {\r\n return { ...state, activeHierarchyId: action.payload.hierarchyId };\r\n }\r\n case ReportActionType.GROUP_SELECTOR_CHANGE_GROUP_SUCCESS: {\r\n return { ...state, ...{ activeGroupId: action.payload.groupId, activeGroupCategory: action.payload.groupCategory, activeHierarchyId: action.payload.hierarchyId } };\r\n }\r\n case ReportActionType.SET_SETTINGS_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, settings: action.payload.settingsFilter } }\r\n }\r\n case ReportActionType.SET_SORTING_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, sorting: action.payload.sortingFilter } }\r\n }\r\n case ReportActionType.SET_QUESTION_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, questionKeys: action.payload.questionKeys } }\r\n }\r\n case ReportActionType.SET_FREETEXT_QUESTION_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, freetextQuestionKey: action.payload } }\r\n }\r\n case ReportActionType.SET_AREA_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, recommendationCategories: action.payload.categories } }\r\n }\r\n case ReportActionType.SET_INDEX_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, indexes: action.payload.indexFilter } }\r\n }\r\n case ReportActionType.SET_STATUS_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, statuses: action.payload.status } }\r\n }\r\n case ReportActionType.SET_TONALITY_CATEGORY_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, tonalityCategories: action.payload.ids } }\r\n }\r\n case ReportActionType.SET_TONALITY_FILTER_SUCCESS: {\r\n return { ...state, filter: { ...state.filter, tonalities: action.payload.ids } }\r\n }\r\n case ReportActionType.INVALIDATE: {\r\n return { ...state, invalidated: true }\r\n }\r\n case ReportActionType.INIT_REPORT_STATE: {\r\n return {\r\n ...state, ...{\r\n activeGroupId: action.payload.id ?? state.activeGroupId,\r\n activeGroupCategory: action.payload.category ?? state.activeGroupCategory,\r\n invalidated: false\r\n }\r\n }\r\n }\r\n case ReportActionType.SET_ACTIVE_INDEX: {\r\n return { ...state, activeIndex: action.payload }\r\n }\r\n default: {\r\n return state;\r\n }\r\n }\r\n\r\n}\r\n"], "mappings": "+DAGA,IAAYA,EAAZ,SAAYA,EAAI,CACdA,OAAAA,EAAA,gBAAA,+BACAA,EAAA,wBAAA,uCACAA,EAAA,0BAAA,yCACAA,EAAA,wBAAA,uCACAA,EAAA,iBAAA,gCACAA,EAAA,yBAAA,wCACAA,EAAA,uBAAA,sCACAA,EAAA,2BAAA,0CARUA,CASZ,EATYA,GAAI,CAAA,CAAA,EAeV,IAAOC,EAAP,KAA2B,CAE/BC,YAAmBC,EAAkB,CAAlB,KAAAA,QAAAA,EADV,KAAAC,KAAOC,EAAKC,uBACoB,GAE9BC,EAAP,KAA6B,CAEjCL,YAAmBC,EAAkB,CAAlB,KAAAA,QAAAA,EADV,KAAAC,KAAOC,EAAKG,yBACoB,GAOrC,IAAOC,EAAP,KAAsB,CAE1BC,YAAmBC,EAAwB,CAAxB,KAAAA,UAAAA,EADV,KAAAC,KAAOC,EAAKC,gBAC0B,GAW3C,IAAOC,EAAP,KAA+B,CAEnCC,YAAmBC,EAA2B,CAA3B,KAAAA,WAAAA,EADV,KAAAC,KAAOC,EAAKC,0BAC6B,GCxCpD,IAAYC,EAAZ,SAAYA,EAAI,CACdA,OAAAA,EAAA,YAAA,uBACAA,EAAA,kBAAA,6BACAA,EAAA,0BAAA,qCACAA,EAAA,qBAAA,gCACAA,EAAA,4BAAA,uCACAA,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ateUserStateSuccess", "UPDATE_USER_STATE_SUCCESS", "UpdateParameter", "constructor", "parameter", "type", "Type", "UPDATE_PARAMETER", "UpdateMultipleParameters", "constructor", "parameters", "type", "Type", "UPDATE_MULTIPLE_PARAMETERS", "Type", "GroupSelectorChangeGroup", "constructor", "payload", "type", "GROUP_SELECTOR_CHANGE_GROUP", "GroupSelectorChangeGroupSuccess", "GROUP_SELECTOR_CHANGE_GROUP_SUCCESS", "InitPortal", "INIT_PORTAL", "SetActiveReport", "SET_ACTIVE_REPORT", "SetActiveReportSuccess", "SET_ACTIVE_REPORT_SUCCESS", "SetSettingsFilter", "constructor", "payload", "type", "Type", "SET_SETTINGS_FILTER", "SetSettingsFilterSuccess", "SET_SETTINGS_FILTER_SUCCESS", "SetSortingFilter", "SET_SORTING_FILTER", "SetSortingFilterSuccess", "SET_SORTING_FILTER_SUCCESS", "SetQuestionFilter", "SET_QUESTION_FILTER", "SetQuestionFilterSuccess", "SET_QUESTION_FILTER_SUCCESS", "SetFreetextQuestionFilter", "SET_FREETEXT_QUESTION_FILTER", "SetFreetextQuestionFilterSuccess", "SET_FREETEXT_QUESTION_FILTER_SUCCESS", "SetAreaFilter", "SET_AREA_FILTER", "SetAreaFilterSuccess", "SET_AREA_FILTER_SUCCESS", "SetIndexFilter", "SET_INDEX_FILTER", "SetIndexFilterSuccess", "SET_INDEX_FILTER_SUCCESS", "InitReportState", "INIT_REPORT_STATE", "SetStatusFilter", "SET_STATUS_FILTER", "SetStatusFilterSuccess", "SET_STATUS_FILTER_SUCCESS", "SetTonalityCategoryFilter", "SET_TONALITY_CATEGORY_FILTER", "SetTonalityCategoryFilterSuccess", "SET_TONALITY_CATEGORY_FILTER_SUCCESS", "SetTonalityFilter", "SET_TONALITY_FILTER", "SetTonalityFilterSuccess", "SET_TONALITY_FILTER_SUCCESS", "Invalidate", "INVALIDATE", "SetActiveIndex", "SET_ACTIVE_INDEX", "QuestionSortOrder", "initialState", "activeReportPage", "activeHierarchyId", "activeGroupId", "activeGroupCategory", "filter", "settings", "sorting", "QuestionSortOrder", "Standard", "questionKeys", "freetextQuestionKey", "indexes", "statuses", "ProductStatus", "published", "archived", "recommendationCategories", "tonalityCategories", "tonalities", "invalidated", "activeIndex", "selectReportState", "state", "reportState", "selectActiveReportGroupIdd", "createSelector", "selectActiveReportPage", "selectActiveReportGroupCategory", "reducer", "action", "type", "ReportActionType", "SET_ACTIVE_REPORT_SUCCESS", "__spreadProps", "__spreadValues", "payload", "reportPage", "SET_ACTIVE_HIERARCHY", "hierarchyId", "GROUP_SELECTOR_CHANGE_GROUP_SUCCESS", "groupId", "groupCategory", "SET_SETTINGS_FILTER_SUCCESS", "settingsFilter", "SET_SORTING_FILTER_SUCCESS", "sortingFilter", "SET_QUESTION_FILTER_SUCCESS", "SET_FREETEXT_QUESTION_FILTER_SUCCESS", "SET_AREA_FILTER_SUCCESS", "categories", "SET_INDEX_FILTER_SUCCESS", "indexFilter", "SET_STATUS_FILTER_SUCCESS", "status", "SET_TONALITY_CATEGORY_FILTER_SUCCESS", "ids", "SET_TONALITY_FILTER_SUCCESS", "INVALIDATE", "INIT_REPORT_STATE", "id", "category", "SET_ACTIVE_INDEX"] }