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EAAK,GAChBi4G,EAAcj4G,EAAK,GACnBk4G,EAAUl4G,EAAK,GAGIqyB,EAAI,EAC3B,GAAG8hF,EAASvzG,MAAK,SAAS7R,GAAM,OAA+B,IAAxB2oH,EAAgB3oH,EAAW,IAAI,CACrE,IAAI+kH,KAAYmE,EACZhpH,EAAoBC,EAAE+oH,EAAanE,KACrC7kH,EAAoBwpF,EAAEq7B,GAAYmE,EAAYnE,IAGhD,GAAGoE,EAAS,IAAI3sG,EAAS2sG,EAAQjpH,EAClC,CAEA,IADG+oH,GAA4BA,EAA2Bh4G,GACrDqyB,EAAI8hF,EAASn+G,OAAQq8B,IACzBwiF,EAAUV,EAAS9hF,GAChBpjC,EAAoBC,EAAEwoH,EAAiB7C,IAAY6C,EAAgB7C,IACrE6C,EAAgB7C,GAAS,KAE1B6C,EAAgB7C,GAAW,EAE5B,OAAO5lH,EAAoBilH,EAAE3oG,EAC9B,EAEI4sG,EAAqBC,KAAK,kCAAoCA,KAAK,mCAAqC,GAC5GD,EAAmBviH,QAAQmiH,EAAqBlhD,KAAK,KAAM,IAC3DshD,EAAmBh/G,KAAO4+G,EAAqBlhD,KAAK,KAAMshD,EAAmBh/G,KAAK09D,KAAKshD,G,ICpFvF,IAAIE,EAAsBppH,EAAoBilH,OAAEnzF,EAAW,CAAC,MAAM,WAAa,OAAO9xB,EAAoB,MAAQ,IAClHopH,EAAsBppH,EAAoBilH,EAAEmE,E","sources":["webpack://medapro-web-client/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://medapro-web-client/./src/Exports/util/exportType.ts","webpack://medapro-web-client/./src/common/composable/toast.ts","webpack://medapro-web-client/./src/common/store/composable/useMetaDataStore.ts","webpack://medapro-web-client/./src/common/store/composable/useRootStore.ts","webpack://medapro-web-client/./src/util/i18n/datetime-formats.ts","webpack://medapro-web-client/./src/util/i18n/number-formats.ts","webpack://medapro-web-client/./src/i18n.ts","webpack://medapro-web-client/./src/plugins/directives/resize.js","webpack://medapro-web-client/./src/plugins/directives/shortcut.js","webpack://medapro-web-client/./src/plugins/notificationHub.ts","webpack://medapro-web-client/./src/App.vue","webpack://medapro-web-client/./src/ContentEditor/components/ErrorHandling/ExceptionDialog.vue","webpack://medapro-web-client/./src/ContentEditor/components/ErrorHandling/ApiExceptionMessage.vue","webpack://medapro-web-client/./src/ContentEditor/components/ErrorHandling/ApiExceptionMessage.vue?cdc1","webpack://medapro-web-client/./src/ContentEditor/components/ErrorHandling/JavascriptException.vue","webpack://medapro-web-client/./src/ContentEditor/components/ErrorHandling/JavascriptException.vue?74af","webpack://medapro-web-client/./src/ContentEditor/components/ErrorHandling/ExceptionDialog.vue?5ed9","webpack://medapro-web-client/./src/App.vue?7ccd","webpack://medapro-web-client/./src/plugins/vue-axios.ts","webpack://medapro-web-client/./src/main.ts","webpack://medapro-web-client/./src/plugins/document-extensions.ts","webpack://medapro-web-client/./src/BasicComponentLibrary/MButton.vue?8ee4","webpack://medapro-web-client/./src/BasicComponentLibrary/MButton.vue","webpack://medapro-web-client/./src/BasicComponentLibrary/MButton.vue?d5fd","webpack://medapro-web-client/./src/BasicComponentLibrary/MSelect.vue?9e69","webpack://medapro-web-client/./src/BasicComponentLibrary/MSelect.vue","webpack://medapro-web-client/./src/BasicComponentLibrary/MSelect.vue?a40b","webpack://medapro-web-client/./src/BasicComponentLibrary/MSelectItem.vue?017b","webpack://medapro-web-client/./src/BasicComponentLibrary/MSelectItem.vue","webpack://medapro-web-client/./src/BasicComponentLibrary/MSelectItem.vue?d45b","webpack://medapro-web-client/./src/AdvancedSearch/components/OpenSearches.vue?482e","webpack://medapro-web-client/./src/AdvancedSearch/components/OpenSearches.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/OpenSearches.vue?6233","webpack://medapro-web-client/./src/AdvancedSearch/views/SearchRenameModal.vue?feed","webpack://medapro-web-client/./src/AdvancedSearch/views/SearchRenameModal.vue","webpack://medapro-web-client/./src/AdvancedSearch/views/SearchRenameModal.vue?1786","webpack://medapro-web-client/./src/services/advancedSearch.ts","webpack://medapro-web-client/./src/AdvancedSearch/Util/opsLookUp.ts","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/MultiLevelNavigationModal.vue?94bd","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/MultiLevelNavigationModal.vue","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/MultiLevelNavigationModal.vue?6556","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/AttributeGroupSelectionModal.vue","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/AttributeGroupSelectionModal.vue?99b6","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/AttributeGroupSelectionModal.vue?c0ff","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/AttributeGroupRule.vue?3c1e","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/AttributeGroupRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/AttributeGroupRule.vue?298a","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/BoolRule.vue?f63f","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/BoolRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/BoolRule.vue?11f3","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/CatalogNodePathSelectionModal.vue?eff0","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/CatalogNodePathSelectionModal.vue","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/CatalogNodePathSelectionModal.vue?cc7f","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/CatalogPathRule.vue?158a","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/CatalogPathRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/CatalogPathRule.vue?2af7","webpack://medapro-web-client/./src/BasicComponentLibrary/MTimePicker.vue?37e2","webpack://medapro-web-client/./src/BasicComponentLibrary/MTimePicker.vue","webpack://medapro-web-client/./src/BasicComponentLibrary/MTimePicker.vue?5645","webpack://medapro-web-client/./src/BasicComponentLibrary/MDateAndTimePicker.vue?fd18","webpack://medapro-web-client/./src/BasicComponentLibrary/MDateAndTimePicker.vue","webpack://medapro-web-client/./src/BasicComponentLibrary/MDateAndTimePicker.vue?e29c","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/DateRule.vue?bbe7","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/DateRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/DateRule.vue?59d9","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/DropDownRule.vue?f3e6","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/DropDownRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/DropDownRule.vue?a2c5","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/NumberRule.vue?e6b1","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/NumberRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/NumberRule.vue?e8a9","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/ERPAttributeSelectionModal.vue","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/ERPAttributeSelectionModal.vue?a11b","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/ERPAttributeSelectionModal.vue?c50a","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/GlobalAttributeSelectionModal.vue","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/GlobalAttributeSelectionModal.vue?8078","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/GlobalAttributeSelectionModal.vue?1610","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/MediaAssetValueSelectionModal.vue?6664","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/MediaAssetValueSelectionModal.vue","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/MediaAssetValueSelectionModal.vue?d4b7","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/TextTableAttributeSelectionModal.vue","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/TextTableAttributeSelectionModal.vue?010f","webpack://medapro-web-client/./src/common/components/MultiLevelNavigation/TextTableAttributeSelectionModal.vue?1ce7","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/StringRule.vue?cc6c","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/StringRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/StringRule.vue?9f60","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/PreselectionRule.vue?5e75","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/PreselectionRule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryRules/PreselectionRule.vue?e5ca","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/Rule.vue?37c1","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/Rule.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/Rule.vue?a377","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/Group.vue?81b0","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/Group.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/Group.vue?c324","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryBuilder.vue?b653","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryBuilder.vue","webpack://medapro-web-client/./src/AdvancedSearch/components/QueryBuilder/QueryBuilder.vue?67cd","webpack://medapro-web-client/./src/AdvancedSearch/views/AdvancedSearch.vue?d86e","webpack://medapro-web-client/./src/AdvancedSearch/views/AdvancedSearch.vue","webpack://medapro-web-client/./src/AdvancedSearch/views/AdvancedSearch.vue?9877","webpack://medapro-web-client/./src/router/routes/advSearchRoutes.ts","webpack://medapro-web-client/./src/router/routes/attribute-manager.ts","webpack://medapro-web-client/./src/router/routes/automation-server.ts","webpack://medapro-web-client/./src/router/routes/channel-creator.ts","webpack://medapro-web-client/./src/router/routes/content-editor.ts","webpack://medapro-web-client/./src/router/routes/dashboard.ts","webpack://medapro-web-client/./src/router/routes/debug-routes.ts","webpack://medapro-web-client/./src/router/routes/export.ts","webpack://medapro-web-client/./src/router/routes/module-routes.ts","webpack://medapro-web-client/./src/router/settings-routes.js","webpack://medapro-web-client/./src/common/views/Client.vue","webpack://medapro-web-client/./src/ContentEditor/components/SimpleSearch.vue","webpack://medapro-web-client/./src/ContentEditor/components/SimpleSearchResults.vue?f1f3","webpack://medapro-web-client/./src/ContentEditor/components/SimpleSearchResults.vue","webpack://medapro-web-client/./src/ContentEditor/components/SimpleSearchResults.vue?5539","webpack://medapro-web-client/./src/AdvancedSearch/views/AdvancedSearchModal.vue?7c60","webpack://medapro-web-client/./src/AdvancedSearch/views/AdvancedSearchModal.vue","webpack://medapro-web-client/./src/AdvancedSearch/views/AdvancedSearchModal.vue?aae6","webpack://medapro-web-client/./src/ContentEditor/components/SimpleSearch.vue?1f7c","webpack://medapro-web-client/./src/common/components/MenuBar/ContextMenuBar.vue","webpack://medapro-web-client/./src/ContentEditor/components/ContextMenuBar.vue","webpack://medapro-web-client/./src/ContentEditor/components/OptionsMenus/ViewOptionsModal.vue","webpack://medapro-web-client/./src/ContentEditor/components/OptionsMenus/ViewOptionsModal.vue?4a30","webpack://medapro-web-client/./src/ContentEditor/components/OptionsMenus/GeneralOptionsModal.vue?10c7","webpack://medapro-web-client/./src/ContentEditor/components/OptionsMenus/GeneralOptionsModal.vue","webpack://medapro-web-client/./src/ContentEditor/components/OptionsMenus/GeneralOptionsModal.vue?b89a","webpack://medapro-web-client/./src/ContentEditor/components/ContextMenuBar.vue?ace5","webpack://medapro-web-client/./src/ChannelCreator/components/ContextMenuBar.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/ViewOptionsModal.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/ViewOptionsModal.vue?e6f5","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/GeneralOptionsModal.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/GeneralOptionsModal.vue?842f","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFileModal.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/Intro.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/Intro.vue?426b","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/ExistingCatalog.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/ExistingCatalog.vue?9b92","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/CatalogOptions.vue","webpack://medapro-web-client/./src/services/articleNumberTypes.js","webpack://medapro-web-client/./src/services/fieldHeadersFromSourceFile.js","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/CatalogOptions.vue?fd27","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/CatalogNaming.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/CatalogNaming.vue?8b69","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/CatalogFinishing.vue","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFile/CatalogFinishing.vue?8b0c","webpack://medapro-web-client/./src/ChannelCreator/components/OptionsMenus/FromTextFileModal.vue?dc1b","webpack://medapro-web-client/./src/ChannelCreator/components/AutoMapping/AutoMapping.vue","webpack://medapro-web-client/./src/ChannelCreator/components/AutoMapping/AutoMapping.vue?b7c3","webpack://medapro-web-client/./src/ChannelCreator/components/ContextMenuBar.vue?7cef","webpack://medapro-web-client/./src/AttributeManager/components/ContextMenuBar.vue","webpack://medapro-web-client/./src/AttributeManager/components/OptionsMenus/ViewOptionsModal.vue","webpack://medapro-web-client/./src/AttributeManager/components/OptionsMenus/ViewOptionsModal.vue?d31a","webpack://medapro-web-client/./src/AttributeManager/components/OptionsMenus/GeneralOptionsModal.vue","webpack://medapro-web-client/./src/AttributeManager/components/OptionsMenus/GeneralOptionsModal.vue?31e3","webpack://medapro-web-client/./src/AttributeManager/components/ContextMenuBar.vue?3d8a","webpack://medapro-web-client/./src/Exports/components/FastPage/TranslationTableDialog.vue?0e21","webpack://medapro-web-client/./src/Exports/components/FastPage/TranslationTableDialog.vue","webpack://medapro-web-client/./src/Exports/components/FastPage/TranslationTableDialog.vue?10d8","webpack://medapro-web-client/./src/Exports/components/ContextMenuBar.vue?9e68","webpack://medapro-web-client/./src/Exports/components/ContextMenuBar.vue","webpack://medapro-web-client/./src/Exports/components/ContextMenuBar.vue?e7e3","webpack://medapro-web-client/./src/common/components/MenuBar/ContextMenuBar.vue?37f3","webpack://medapro-web-client/./src/common/components/ModuleSidebar.vue","webpack://medapro-web-client/./src/common/components/ModuleNavBar/ModuleNavBarCollapse.vue","webpack://medapro-web-client/./src/common/components/ModuleNavBar/ModuleNavBarCollapse.vue?8ab0","webpack://medapro-web-client/./src/common/components/ModuleNavBar/ModuleNavBarEntry.vue","webpack://medapro-web-client/./src/common/components/ModuleNavBar/ModuleNavBarEntry.vue?ee43","webpack://medapro-web-client/./src/services/sidebarModules.ts","webpack://medapro-web-client/./src/common/components/ModuleSidebar.vue?63ce","webpack://medapro-web-client/./src/common/components/OptionsMenus/ApplicationSettings.vue","webpack://medapro-web-client/./src/common/components/LanguageSwitcher.vue","webpack://medapro-web-client/./src/common/components/LanguageSwitcher.vue?0f15","webpack://medapro-web-client/./src/common/components/LocaleSwitcher.vue?5db6","webpack://medapro-web-client/./src/common/components/LocaleSwitcher.vue","webpack://medapro-web-client/./src/common/components/LocaleSwitcher.vue?4bc7","webpack://medapro-web-client/./src/common/components/UserBadge.vue","webpack://medapro-web-client/./src/common/components/UserBadge.vue?7c08","webpack://medapro-web-client/./src/common/components/OptionsMenus/ApplicationSettings.vue?4016","webpack://medapro-web-client/./src/common/views/SignalRNotifier.vue?0b60","webpack://medapro-web-client/./src/common/views/SignalRNotifier.vue","webpack://medapro-web-client/./src/common/views/SignalRNotifier.vue?7742","webpack://medapro-web-client/./src/common/views/Client.vue?b759","webpack://medapro-web-client/./src/common/views/Login.vue","webpack://medapro-web-client/./src/common/views/Login.vue?3c4d","webpack://medapro-web-client/./src/common/views/Logout.vue","webpack://medapro-web-client/./src/common/views/Logout.vue?aedd","webpack://medapro-web-client/./src/common/views/Status.vue","webpack://medapro-web-client/./src/services/status.js","webpack://medapro-web-client/./src/common/components/ApiLogViewer.vue","webpack://medapro-web-client/./src/common/components/ApiLogViewer.vue?1230","webpack://medapro-web-client/./src/common/views/Status.vue?08bb","webpack://medapro-web-client/./src/router/routes.ts","webpack://medapro-web-client/./src/router/index.ts","webpack://medapro-web-client/./src/services/api.ts","webpack://medapro-web-client/./src/services/automationServer.ts","webpack://medapro-web-client/./src/services/endpoints.ts","webpack://medapro-web-client/./src/services/exports.ts","webpack://medapro-web-client/./src/types/Exports/export-enum.ts","webpack://medapro-web-client/./src/types/common/common-enum.ts","webpack://medapro-web-client/./src/util/dateTimeUtils.ts","webpack://medapro-web-client/./src/util/focusManager.ts","webpack://medapro-web-client/./src/util/generateNewName.ts","webpack://medapro-web-client/./src/util/guid.ts","webpack://medapro-web-client/./src/util/i18n/get-browser-locale.ts","webpack://medapro-web-client/./src/config/supported-locales.ts","webpack://medapro-web-client/./src/util/i18n/supported-locales.ts","webpack://medapro-web-client/./src/util/languages.ts","webpack://medapro-web-client/./src/util/randomId.ts","webpack://medapro-web-client/./src/util/typeguards.ts","webpack://medapro-web-client/./src/AttributeManager/validations/ruleEvaluator.js","webpack://medapro-web-client/./src/services/ApiLogger/EventLogger.js","webpack://medapro-web-client/./src/services/activity.js","webpack://medapro-web-client/./src/services/applications.js","webpack://medapro-web-client/./src/services/article.js","webpack://medapro-web-client/./src/services/articleTranslations.js","webpack://medapro-web-client/./src/services/attributeGroups.js","webpack://medapro-web-client/./src/services/attributeTypes.js","webpack://medapro-web-client/./src/services/attributes.js","webpack://medapro-web-client/./src/services/automapping.js","webpack://medapro-web-client/./src/services/catalogAttributes.js","webpack://medapro-web-client/./src/services/catalogGroupAttributes.js","webpack://medapro-web-client/./src/services/catalogGroupTranslations.js","webpack://medapro-web-client/./src/services/catalogMapping.js","webpack://medapro-web-client/./src/services/catalogMappingFields.js","webpack://medapro-web-client/./src/services/catalogNodes.js","webpack://medapro-web-client/./src/services/catalogs.js","webpack://medapro-web-client/./src/services/channelCreator.js","webpack://medapro-web-client/./src/services/common.js","webpack://medapro-web-client/./src/services/erp.js","webpack://medapro-web-client/./src/services/erpAttributes.js","webpack://medapro-web-client/./src/services/erpSections.js","webpack://medapro-web-client/./src/services/globalAttributes.js","webpack://medapro-web-client/./src/services/keywordTypes.js","webpack://medapro-web-client/./src/services/mediaAssetTypes.js","webpack://medapro-web-client/./src/services/mediaAssets.js","webpack://medapro-web-client/./src/services/permissions/languagePermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/MasterdataPermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/ERPPermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/AttributeTypePermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/MediaAssetTypePermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/RootCatalogNodePermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/TreePermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/CatalogNodePermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/CatalogMasterdataPermissionProvider.js","webpack://medapro-web-client/./src/services/permissions/permissionEngine.js","webpack://medapro-web-client/./src/services/referenceAttributes.js","webpack://medapro-web-client/./src/services/referenceTypes.js","webpack://medapro-web-client/./src/services/search.js","webpack://medapro-web-client/./src/services/users.js","webpack://medapro-web-client/./src/services/variationGroups.js","webpack://medapro-web-client/./src/services/attributeData.js","webpack://medapro-web-client/./src/services/attributeDataTypes.js","webpack://medapro-web-client/./src/services/priceAttributes.js","webpack://medapro-web-client/./src/AttributeManager/store/attributeManager.js","webpack://medapro-web-client/./src/AutomationServer/store/automationServer.js","webpack://medapro-web-client/./src/ChannelCreator/store/channelCreator.js","webpack://medapro-web-client/./src/services/alternativeArticleNoTypes.js","webpack://medapro-web-client/./src/ContentEditor/store/article.js","webpack://medapro-web-client/./src/ContentEditor/store/variationGroup.js","webpack://medapro-web-client/./src/ContentEditor/store/catalogNode.js","webpack://medapro-web-client/./src/ContentEditor/store/contentEditor.js","webpack://medapro-web-client/./src/Dashboard/store/dashboard.js","webpack://medapro-web-client/./src/util/enums/enum-util.ts","webpack://medapro-web-client/./src/Exports/store/exports.js","webpack://medapro-web-client/./src/config.ts","webpack://medapro-web-client/./src/plugins/store/configResolver.ts","webpack://medapro-web-client/./src/common/store/metadata.js","webpack://medapro-web-client/./src/services/authentication.ts","webpack://medapro-web-client/./src/services/globalParameters.js","webpack://medapro-web-client/./src/services/userSettings.js","webpack://medapro-web-client/./src/store.js","webpack://medapro-web-client/./src/BasicComponentLibrary/MDatePicker.vue?f6f0","webpack://medapro-web-client/./src/BasicComponentLibrary/MDatePicker.vue","webpack://medapro-web-client/./src/BasicComponentLibrary/MDatePicker.vue?d871","webpack://medapro-web-client/./src/ChannelCreator/components/AutoMapping/AdvancedAutoMappingSettingsDialog.vue","webpack://medapro-web-client/./src/ChannelCreator/components/AutoMapping/AdvancedAutoMappingSettingsDialog.vue?94a8","webpack://medapro-web-client/./src/ChannelCreator/components/AutoMapping/AutoMappingSummary.vue?6f8e","webpack://medapro-web-client/./src/ChannelCreator/components/AutoMapping/AutoMappingSummary.vue","webpack://medapro-web-client/./src/ChannelCreator/components/AutoMapping/AutoMappingSummary.vue?bf9d","webpack://medapro-web-client/./src/ChannelCreator/components/BasemappingTab/MappingProjectCreationDialog.vue","webpack://medapro-web-client/./src/ChannelCreator/components/BasemappingTab/MappingProjectCreationDialog.vue?3721","webpack://medapro-web-client/./src/ChannelCreator/components/BasemappingTab/OpenMappingProjectDialog.vue","webpack://medapro-web-client/./src/ChannelCreator/components/BasemappingTab/OpenMappingProjectDialog.vue?2241","webpack://medapro-web-client/./src/ChannelCreator/components/ManageCatalogs.vue","webpack://medapro-web-client/./src/ChannelCreator/components/VersioningCommentModal.vue","webpack://medapro-web-client/./src/ChannelCreator/components/VersioningCommentModal.vue?7dea","webpack://medapro-web-client/./src/ChannelCreator/components/ManageCatalogs.vue?f8b3","webpack://medapro-web-client/./src/ChannelCreator/components/RenameCatalogDialog.vue","webpack://medapro-web-client/./src/ChannelCreator/components/RenameCatalogDialog.vue?b459","webpack://medapro-web-client/./src/common/components/SpinnerBar.vue?34b5","webpack://medapro-web-client/./src/common/components/SpinnerBar.vue","webpack://medapro-web-client/./src/ContentEditor/components/ExcelEdit/ExportProgressModal.vue?2613","webpack://medapro-web-client/./src/ContentEditor/components/ExcelEdit/ExportProgressModal.vue","webpack://medapro-web-client/./src/ContentEditor/components/ExcelEdit/ExportProgressModal.vue?b09e","webpack://medapro-web-client/./src/services/excelEdit.ts","webpack://medapro-web-client/./src/ContentEditor/components/ExcelEdit/ExcelEditEditor.vue?6cdb","webpack://medapro-web-client/./src/ContentEditor/components/ExcelEdit/ExcelEditEditor.vue","webpack://medapro-web-client/./src/ContentEditor/components/ExcelEdit/ExcelEditEditor.vue?6f1f","webpack://medapro-web-client/./src/ContentEditor/components/SimpleSearchResultRow.vue","webpack://medapro-web-client/./src/ContentEditor/components/SimpleSearchResultRow.vue?0685","webpack://medapro-web-client/./src/ContentEditor/components/SingleValueTextBoxWithFallback.vue","webpack://medapro-web-client/./src/ContentEditor/components/Articles/SuggestValueList.vue","webpack://medapro-web-client/./src/services/suggest.js","webpack://medapro-web-client/./src/ContentEditor/components/Articles/SuggestValueList.vue?7b14","webpack://medapro-web-client/./src/ContentEditor/components/IntervalValueEditor.vue","webpack://medapro-web-client/./src/ContentEditor/components/IntervalValueEditor.vue?356d","webpack://medapro-web-client/./src/ContentEditor/components/DateValueEditor.vue","webpack://medapro-web-client/./src/ContentEditor/components/DateValueEditor.vue?0052","webpack://medapro-web-client/./src/plugins/popper-modifiers.js","webpack://medapro-web-client/./src/util/numberParse.ts","webpack://medapro-web-client/./src/ContentEditor/components/SingleValueTextBoxWithFallback.vue?8b5c","webpack://medapro-web-client/./src/ContentEditor/components/TextBoxWithFallback.vue","webpack://medapro-web-client/./src/ContentEditor/components/MultiValueTextBoxWithFallback.vue","webpack://medapro-web-client/./src/ContentEditor/components/MultiDefaultValueSelectDialog.vue","webpack://medapro-web-client/./src/ContentEditor/components/MultiDefaultValueSelectDialog.vue?b634","webpack://medapro-web-client/./src/ContentEditor/components/MultiValueTextBoxWithFallback.vue?45ab","webpack://medapro-web-client/./src/ContentEditor/components/TextBoxWithFallback.vue?21fc","webpack://medapro-web-client/./src/ContentEditor/components/TextHighlighter.vue","webpack://medapro-web-client/./src/ContentEditor/components/TextHighlighter.vue?92d7","webpack://medapro-web-client/./src/common/components/Alert.vue?28a7","webpack://medapro-web-client/./src/common/components/Alert.vue","webpack://medapro-web-client/./src/common/components/Alert.vue?bb39","webpack://medapro-web-client/./src/common/components/CommonFilter.vue","webpack://medapro-web-client/./src/common/components/CommonFilter.vue?eef7","webpack://medapro-web-client/./src/common/components/Dropdown.vue?f512","webpack://medapro-web-client/./src/common/components/Dropdown.vue","webpack://medapro-web-client/./src/common/components/Dropdown.vue?1153","webpack://medapro-web-client/./src/common/components/Icon.vue?9051","webpack://medapro-web-client/./src/common/components/Icon.vue","webpack://medapro-web-client/./src/common/components/Icon.vue?5c01","webpack://medapro-web-client/./src/common/components/InfoSwitch.vue?3e01","webpack://medapro-web-client/./src/common/components/InfoSwitch.vue","webpack://medapro-web-client/./src/common/components/InfoSwitch.vue?49c6","webpack://medapro-web-client/./src/common/components/MenuBar/MenuBar.vue","webpack://medapro-web-client/./src/common/components/MenuBar/MenuBar.vue?62f7","webpack://medapro-web-client/./src/common/components/Pager.vue","webpack://medapro-web-client/./src/common/components/Pager.vue?e244","webpack://medapro-web-client/./src/common/components/PathPresenter.vue?b72a","webpack://medapro-web-client/./src/common/components/PathPresenter.vue","webpack://medapro-web-client/./src/common/components/PathPresenter.vue?6ea2","webpack://medapro-web-client/./src/common/components/Spinner.vue","webpack://medapro-web-client/./src/common/components/Spinner.vue?3632","webpack://medapro-web-client/./src/common/components/TextWithFallbackDisplay.vue","webpack://medapro-web-client/./src/common/components/TextWithFallbackDisplay.vue?ca60","webpack://medapro-web-client/./src/common/components/Toast.vue?a4d4","webpack://medapro-web-client/./src/common/components/Toast.vue","webpack://medapro-web-client/./src/common/components/Toast.vue?6f91","webpack://medapro-web-client/./src/common/views/Splash.vue","webpack://medapro-web-client/./src/common/views/Splash.vue?e69c","webpack://medapro-web-client/./src/locales|sync|D:/[A-Za-z0-9-_,/s]+/.json$/i","webpack://medapro-web-client/webpack/bootstrap","webpack://medapro-web-client/webpack/runtime/chunk loaded","webpack://medapro-web-client/webpack/runtime/compat get default export","webpack://medapro-web-client/webpack/runtime/define property getters","webpack://medapro-web-client/webpack/runtime/ensure chunk","webpack://medapro-web-client/webpack/runtime/get javascript chunk filename","webpack://medapro-web-client/webpack/runtime/get mini-css chunk filename","webpack://medapro-web-client/webpack/runtime/global","webpack://medapro-web-client/webpack/runtime/hasOwnProperty shorthand","webpack://medapro-web-client/webpack/runtime/load script","webpack://medapro-web-client/webpack/runtime/make namespace object","webpack://medapro-web-client/webpack/runtime/node module decorator","webpack://medapro-web-client/webpack/runtime/publicPath","webpack://medapro-web-client/webpack/runtime/css loading","webpack://medapro-web-client/webpack/runtime/jsonp chunk loading","webpack://medapro-web-client/webpack/startup"],"sourcesContent":["var map = {\n\t\"./af\": 25177,\n\t\"./af.js\": 25177,\n\t\"./ar\": 61509,\n\t\"./ar-dz\": 41488,\n\t\"./ar-dz.js\": 41488,\n\t\"./ar-kw\": 58676,\n\t\"./ar-kw.js\": 58676,\n\t\"./ar-ly\": 42353,\n\t\"./ar-ly.js\": 42353,\n\t\"./ar-ma\": 24496,\n\t\"./ar-ma.js\": 24496,\n\t\"./ar-ps\": 6947,\n\t\"./ar-ps.js\": 6947,\n\t\"./ar-sa\": 82682,\n\t\"./ar-sa.js\": 82682,\n\t\"./ar-tn\": 89756,\n\t\"./ar-tn.js\": 89756,\n\t\"./ar.js\": 61509,\n\t\"./az\": 95533,\n\t\"./az.js\": 95533,\n\t\"./be\": 28959,\n\t\"./be.js\": 28959,\n\t\"./bg\": 47777,\n\t\"./bg.js\": 47777,\n\t\"./bm\": 54903,\n\t\"./bm.js\": 54903,\n\t\"./bn\": 61290,\n\t\"./bn-bd\": 17357,\n\t\"./bn-bd.js\": 17357,\n\t\"./bn.js\": 61290,\n\t\"./bo\": 31545,\n\t\"./bo.js\": 31545,\n\t\"./br\": 11470,\n\t\"./br.js\": 11470,\n\t\"./bs\": 44429,\n\t\"./bs.js\": 44429,\n\t\"./ca\": 7306,\n\t\"./ca.js\": 7306,\n\t\"./cs\": 56464,\n\t\"./cs.js\": 56464,\n\t\"./cv\": 73635,\n\t\"./cv.js\": 73635,\n\t\"./cy\": 64226,\n\t\"./cy.js\": 64226,\n\t\"./da\": 93601,\n\t\"./da.js\": 93601,\n\t\"./de\": 77853,\n\t\"./de-at\": 26111,\n\t\"./de-at.js\": 26111,\n\t\"./de-ch\": 54697,\n\t\"./de-ch.js\": 54697,\n\t\"./de.js\": 77853,\n\t\"./dv\": 60708,\n\t\"./dv.js\": 60708,\n\t\"./el\": 54691,\n\t\"./el.js\": 54691,\n\t\"./en-au\": 53872,\n\t\"./en-au.js\": 53872,\n\t\"./en-ca\": 28298,\n\t\"./en-ca.js\": 28298,\n\t\"./en-gb\": 56195,\n\t\"./en-gb.js\": 56195,\n\t\"./en-ie\": 66584,\n\t\"./en-ie.js\": 66584,\n\t\"./en-il\": 65543,\n\t\"./en-il.js\": 65543,\n\t\"./en-in\": 9033,\n\t\"./en-in.js\": 9033,\n\t\"./en-nz\": 79402,\n\t\"./en-nz.js\": 79402,\n\t\"./en-sg\": 43004,\n\t\"./en-sg.js\": 43004,\n\t\"./eo\": 32934,\n\t\"./eo.js\": 32934,\n\t\"./es\": 97650,\n\t\"./es-do\": 20838,\n\t\"./es-do.js\": 20838,\n\t\"./es-mx\": 17730,\n\t\"./es-mx.js\": 17730,\n\t\"./es-us\": 56575,\n\t\"./es-us.js\": 56575,\n\t\"./es.js\": 97650,\n\t\"./et\": 3035,\n\t\"./et.js\": 3035,\n\t\"./eu\": 3508,\n\t\"./eu.js\": 3508,\n\t\"./fa\": 119,\n\t\"./fa.js\": 119,\n\t\"./fi\": 90527,\n\t\"./fi.js\": 90527,\n\t\"./fil\": 95995,\n\t\"./fil.js\": 95995,\n\t\"./fo\": 52477,\n\t\"./fo.js\": 52477,\n\t\"./fr\": 85498,\n\t\"./fr-ca\": 26435,\n\t\"./fr-ca.js\": 26435,\n\t\"./fr-ch\": 37892,\n\t\"./fr-ch.js\": 37892,\n\t\"./fr.js\": 85498,\n\t\"./fy\": 37071,\n\t\"./fy.js\": 37071,\n\t\"./ga\": 41734,\n\t\"./ga.js\": 41734,\n\t\"./gd\": 70217,\n\t\"./gd.js\": 70217,\n\t\"./gl\": 77329,\n\t\"./gl.js\": 77329,\n\t\"./gom-deva\": 32124,\n\t\"./gom-deva.js\": 32124,\n\t\"./gom-latn\": 93383,\n\t\"./gom-latn.js\": 93383,\n\t\"./gu\": 95050,\n\t\"./gu.js\": 95050,\n\t\"./he\": 11713,\n\t\"./he.js\": 11713,\n\t\"./hi\": 43861,\n\t\"./hi.js\": 43861,\n\t\"./hr\": 26308,\n\t\"./hr.js\": 26308,\n\t\"./hu\": 90609,\n\t\"./hu.js\": 90609,\n\t\"./hy-am\": 17160,\n\t\"./hy-am.js\": 17160,\n\t\"./id\": 74063,\n\t\"./id.js\": 74063,\n\t\"./is\": 89374,\n\t\"./is.js\": 89374,\n\t\"./it\": 88383,\n\t\"./it-ch\": 21827,\n\t\"./it-ch.js\": 21827,\n\t\"./it.js\": 88383,\n\t\"./ja\": 23827,\n\t\"./ja.js\": 23827,\n\t\"./jv\": 89722,\n\t\"./jv.js\": 89722,\n\t\"./ka\": 41794,\n\t\"./ka.js\": 41794,\n\t\"./kk\": 27088,\n\t\"./kk.js\": 27088,\n\t\"./km\": 96870,\n\t\"./km.js\": 96870,\n\t\"./kn\": 84451,\n\t\"./kn.js\": 84451,\n\t\"./ko\": 63164,\n\t\"./ko.js\": 63164,\n\t\"./ku\": 98174,\n\t\"./ku-kmr\": 6181,\n\t\"./ku-kmr.js\": 6181,\n\t\"./ku.js\": 98174,\n\t\"./ky\": 78474,\n\t\"./ky.js\": 78474,\n\t\"./lb\": 79680,\n\t\"./lb.js\": 79680,\n\t\"./lo\": 15867,\n\t\"./lo.js\": 15867,\n\t\"./lt\": 45766,\n\t\"./lt.js\": 45766,\n\t\"./lv\": 69532,\n\t\"./lv.js\": 69532,\n\t\"./me\": 58076,\n\t\"./me.js\": 58076,\n\t\"./mi\": 41848,\n\t\"./mi.js\": 41848,\n\t\"./mk\": 30306,\n\t\"./mk.js\": 30306,\n\t\"./ml\": 73739,\n\t\"./ml.js\": 73739,\n\t\"./mn\": 99053,\n\t\"./mn.js\": 99053,\n\t\"./mr\": 86169,\n\t\"./mr.js\": 86169,\n\t\"./ms\": 73386,\n\t\"./ms-my\": 92297,\n\t\"./ms-my.js\": 92297,\n\t\"./ms.js\": 73386,\n\t\"./mt\": 77075,\n\t\"./mt.js\": 77075,\n\t\"./my\": 72264,\n\t\"./my.js\": 72264,\n\t\"./nb\": 22274,\n\t\"./nb.js\": 22274,\n\t\"./ne\": 8235,\n\t\"./ne.js\": 8235,\n\t\"./nl\": 92572,\n\t\"./nl-be\": 43784,\n\t\"./nl-be.js\": 43784,\n\t\"./nl.js\": 92572,\n\t\"./nn\": 54566,\n\t\"./nn.js\": 54566,\n\t\"./oc-lnc\": 69330,\n\t\"./oc-lnc.js\": 69330,\n\t\"./pa-in\": 29849,\n\t\"./pa-in.js\": 29849,\n\t\"./pl\": 94418,\n\t\"./pl.js\": 94418,\n\t\"./pt\": 79834,\n\t\"./pt-br\": 48303,\n\t\"./pt-br.js\": 48303,\n\t\"./pt.js\": 79834,\n\t\"./ro\": 24457,\n\t\"./ro.js\": 24457,\n\t\"./ru\": 82271,\n\t\"./ru.js\": 82271,\n\t\"./sd\": 1221,\n\t\"./sd.js\": 1221,\n\t\"./se\": 33478,\n\t\"./se.js\": 33478,\n\t\"./si\": 17538,\n\t\"./si.js\": 17538,\n\t\"./sk\": 5784,\n\t\"./sk.js\": 5784,\n\t\"./sl\": 46637,\n\t\"./sl.js\": 46637,\n\t\"./sq\": 86794,\n\t\"./sq.js\": 86794,\n\t\"./sr\": 45719,\n\t\"./sr-cyrl\": 3322,\n\t\"./sr-cyrl.js\": 3322,\n\t\"./sr.js\": 45719,\n\t\"./ss\": 56000,\n\t\"./ss.js\": 56000,\n\t\"./sv\": 41011,\n\t\"./sv.js\": 41011,\n\t\"./sw\": 40748,\n\t\"./sw.js\": 40748,\n\t\"./ta\": 11025,\n\t\"./ta.js\": 11025,\n\t\"./te\": 11885,\n\t\"./te.js\": 11885,\n\t\"./tet\": 28861,\n\t\"./tet.js\": 28861,\n\t\"./tg\": 86571,\n\t\"./tg.js\": 86571,\n\t\"./th\": 55802,\n\t\"./th.js\": 55802,\n\t\"./tk\": 59527,\n\t\"./tk.js\": 59527,\n\t\"./tl-ph\": 29231,\n\t\"./tl-ph.js\": 29231,\n\t\"./tlh\": 31052,\n\t\"./tlh.js\": 31052,\n\t\"./tr\": 85096,\n\t\"./tr.js\": 85096,\n\t\"./tzl\": 79846,\n\t\"./tzl.js\": 79846,\n\t\"./tzm\": 81765,\n\t\"./tzm-latn\": 97711,\n\t\"./tzm-latn.js\": 97711,\n\t\"./tzm.js\": 81765,\n\t\"./ug-cn\": 48414,\n\t\"./ug-cn.js\": 48414,\n\t\"./uk\": 16618,\n\t\"./uk.js\": 16618,\n\t\"./ur\": 57777,\n\t\"./ur.js\": 57777,\n\t\"./uz\": 57609,\n\t\"./uz-latn\": 72475,\n\t\"./uz-latn.js\": 72475,\n\t\"./uz.js\": 57609,\n\t\"./vi\": 21135,\n\t\"./vi.js\": 21135,\n\t\"./x-pseudo\": 64051,\n\t\"./x-pseudo.js\": 64051,\n\t\"./yo\": 82218,\n\t\"./yo.js\": 82218,\n\t\"./zh-cn\": 52648,\n\t\"./zh-cn.js\": 52648,\n\t\"./zh-hk\": 1632,\n\t\"./zh-hk.js\": 1632,\n\t\"./zh-mo\": 31541,\n\t\"./zh-mo.js\": 31541,\n\t\"./zh-tw\": 50304,\n\t\"./zh-tw.js\": 50304\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 35358;","import { ExportType } from \"@medapro-types/Exports/export-enum\";\r\n\r\nconst officeExportTypeOptions: ExportType[] = [ExportType.Excel, ExportType.Text, ExportType.XML, ExportType.JSON];\r\nconst bmeCatExportTypeOptions: ExportType[] = [ExportType.BMEcat, ExportType.BMEcat2005, ExportType.BMEcatETIM2005];\r\nconst tradeProExportTypeOptions: ExportType[] = [ExportType.TradeProNext];\r\nconst fastPageExportTypeOptions: ExportType[] = [ExportType.FastPage];\r\n\r\nexport const isOfficeExportType = (exportType: ExportType) => {\r\n return officeExportTypeOptions.includes(exportType);\r\n};\r\nexport const isBMEcatExportType = (exportType: ExportType) => {\r\n return bmeCatExportTypeOptions.includes(exportType);\r\n};\r\nexport const isTradeProExportType = (exportType: ExportType) => {\r\n return tradeProExportTypeOptions.includes(exportType);\r\n};\r\nexport const isFastPageExportType = (exportType: ExportType) => {\r\n return fastPageExportTypeOptions.includes(exportType);\r\n};\r\n\r\nexport function getTargetSystem(exportType: ExportType): string | null {\r\n switch (true) {\r\n case isOfficeExportType(exportType):\r\n return \"Office\";\r\n case isBMEcatExportType(exportType):\r\n return \"BMEcatG4\";\r\n case isTradeProExportType(exportType):\r\n return \"TradePro\";\r\n case isFastPageExportType(exportType):\r\n return \"FastPage\";\r\n default:\r\n return null;\r\n }\r\n}\r\n","import ToastVue from \"@common/components/Toast.vue\";\r\nimport { SnackOptions, ToastOptions, ToastPositions } from \"@medapro-types/common/components/Toast\";\r\nimport emitter from \"tiny-emitter/instance\";\r\nimport { h, render, nextTick } from \"vue\";\r\n\r\nexport const createContainer = (position: ToastPositions) => {\r\n const existingContainer = document.querySelector(`.toast-container.${position}`);\r\n if (existingContainer) return existingContainer;\r\n const container = document.createElement(\"div\");\r\n container.classList.add(\"toast-container\", position);\r\n document.body.appendChild(container);\r\n\r\n const containerContent = document.createElement(\"div\");\r\n containerContent.classList.add(\"toast-content-container\", position);\r\n container.appendChild(containerContent);\r\n\r\n return container;\r\n};\r\n\r\nexport function useToast() {\r\n const createToast = async (options: ToastOptions) => {\r\n createContainer(options.position ?? \"top-right\");\r\n\r\n const toast = h(ToastVue);\r\n await nextTick(async () => {\r\n const childElem = document.createElement(\"div\");\r\n childElem.classList.add(\"toast-wrapper\");\r\n render(toast, childElem);\r\n\r\n toast.component?.exposed?.show(options);\r\n });\r\n };\r\n\r\n const closeToast = (id: string) => {\r\n emitter.emit(\"close-toast-by-id\", { id });\r\n };\r\n\r\n const createSnackbar = (options: SnackOptions) => {\r\n const snackBarOptions = Object.assign(options, { snackBar: true, position: options.position ?? \"bottom\" });\r\n createToast(snackBarOptions);\r\n };\r\n\r\n return { createToast, closeToast, createSnackbar };\r\n}\r\n","import { MetaDataState } from \"@medapro-types/common/metadata\";\r\nimport { createNamespacedHelpers } from \"vuex-composition-helpers\";\r\n\r\nconst { useState } = createNamespacedHelpers(\"metadata\");\r\n\r\nexport function useContentLanguages() {\r\n const { contentLanguages } = useState([\"contentLanguages\"]);\r\n\r\n const primaryLanguageCode = contentLanguages.value.enabled[0].languageCode;\r\n\r\n return { contentLanguages, primaryLanguageCode };\r\n}\r\n","import { RootState } from \"@medapro-types/common/rootstate\";\r\nimport { useState } from \"vuex-composition-helpers\";\r\n\r\nexport function useUser() {\r\n const { user } = useState([\"user\"]);\r\n return { user };\r\n}\r\n\r\nexport function useUserSettings() {\r\n const { userSettings } = useState([\"userSettings\"]);\r\n const currentLocale = userSettings.value.CurrentLocale;\r\n\r\n return { userSettings, currentLocale };\r\n}\r\n","import { DefineDateTimeFormat } from \"vue-i18n\";\r\n\r\nconst defaultFormats: DefineDateTimeFormat = {\r\n shortDate: {\r\n year: \"numeric\",\r\n month: \"2-digit\",\r\n day: \"2-digit\"\r\n },\r\n longDate: {\r\n year: \"numeric\",\r\n month: \"short\",\r\n day: \"numeric\",\r\n weekday: \"short\"\r\n },\r\n shortDateTime: {\r\n year: \"numeric\",\r\n month: \"2-digit\",\r\n day: \"2-digit\",\r\n hour: \"numeric\",\r\n minute: \"numeric\",\r\n second: \"numeric\"\r\n },\r\n shortDateTimeSecondLess: {\r\n year: \"numeric\",\r\n month: \"2-digit\",\r\n day: \"2-digit\",\r\n hour: \"numeric\",\r\n minute: \"numeric\"\r\n },\r\n longDateTime: {\r\n year: \"numeric\",\r\n month: \"short\",\r\n day: \"numeric\",\r\n weekday: \"short\",\r\n hour: \"numeric\",\r\n minute: \"numeric\"\r\n },\r\n short24HourFormat: {\r\n hour12: false,\r\n hour: \"numeric\",\r\n minute: \"numeric\"\r\n },\r\n shortTime: {\r\n hour: \"numeric\",\r\n minute: \"numeric\"\r\n },\r\n time: {\r\n hour: \"numeric\",\r\n minute: \"numeric\",\r\n second: \"numeric\"\r\n },\r\n longDateWithWeekDay: {\r\n day: \"numeric\",\r\n month: \"long\",\r\n weekday: \"long\",\r\n year: \"numeric\"\r\n }\r\n};\r\n\r\nconst de = {\r\n de: defaultFormats\r\n};\r\n\r\nconst en = {\r\n en: defaultFormats\r\n};\r\n\r\nconst fr = {\r\n fr: defaultFormats\r\n};\r\n\r\nexport default {\r\n ...de,\r\n ...en,\r\n ...fr\r\n};\r\n","import { DefineNumberFormat } from \"vue-i18n\";\r\n\r\nconst defaultFormats: DefineNumberFormat = {\r\n decimal: {\r\n style: \"decimal\",\r\n minimumFractionDigits: 0,\r\n maximumFractionDigits: 2\r\n },\r\n percent: {\r\n style: \"percent\",\r\n useGrouping: false\r\n }\r\n};\r\n\r\nconst de = {\r\n de: defaultFormats\r\n};\r\n\r\nconst en = {\r\n en: defaultFormats\r\n};\r\n\r\nconst fr = {\r\n fr: defaultFormats\r\n};\r\n\r\nexport default {\r\n ...de,\r\n ...en,\r\n ...fr\r\n};\r\n","import { I18nOptions, LocaleMessages, createI18n } from \"vue-i18n\";\r\nimport dateTimeFormats from \"./util/i18n/datetime-formats\";\r\nimport getBrowserLocale from \"./util/i18n/get-browser-locale\";\r\nimport numberFormats from \"./util/i18n/number-formats\";\r\nimport { supportedLocalesInclude } from \"./util/i18n/supported-locales\";\r\n\r\nfunction loadLocaleMessages(): Record> {\r\n const locales = require.context(\"./locales\", true, /[A-Za-z0-9-_,\\s]+\\.json$/i);\r\n const messages: Record> = {};\r\n locales.keys().forEach((key) => {\r\n const matched = key.match(/([A-Za-z0-9-_]+)\\./i);\r\n if (matched && matched.length > 1) {\r\n const locale: string = matched[1];\r\n messages[locale] = locales(key);\r\n }\r\n });\r\n return messages;\r\n}\r\n\r\nfunction getStartingLocale() {\r\n const browserLocale = getBrowserLocale();\r\n if (supportedLocalesInclude(browserLocale ?? \"\")) {\r\n return browserLocale;\r\n } else {\r\n return process.env.VUE_APP_I18N_LOCALE || \"en\";\r\n }\r\n}\r\n\r\nconst options: I18nOptions = {\r\n legacy: false,\r\n globalInjection: true,\r\n locale: getStartingLocale(),\r\n fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || \"en\",\r\n messages: loadLocaleMessages(),\r\n missingWarn: false,\r\n fallbackWarn: false,\r\n warnHtmlMessage: false,\r\n silentTranslationWarn: true,\r\n datetimeFormats: dateTimeFormats,\r\n numberFormats: numberFormats\r\n};\r\n\r\nconst i18n = createI18n(options);\r\n\r\nexport default i18n;\r\n","export default {\r\n mounted: (el, binding) => {\r\n const onResizeCallback = binding.value;\r\n el.resizeObserver = new ResizeObserver((entries) => {\r\n entries.forEach((entry) => {\r\n const cr = entry.contentRect;\r\n onResizeCallback({ width: cr.width, height: cr.height });\r\n });\r\n });\r\n el.resizeObserver.observe(el);\r\n }\r\n};\r\n","import _ from \"lodash\";\r\n\r\nexport default {\r\n mounted(el, binding) {\r\n //this line ist needed for getting focus on the element\r\n el.setAttribute(\"tabindex\", 0);\r\n if (!binding.modifiers.multiple) {\r\n const modifiers = binding.modifiers;\r\n el.handleShortcut = function (event) {\r\n if (!!modifiers.ctrl == event.ctrlKey && !!modifiers.shift == event.shiftKey && !!modifiers.meta == event.metaKey && !!modifiers.alt == event.altKey) {\r\n if (modifiers[_.toLower(event.key)]) {\r\n if (modifiers.prevent) event.preventDefault();\r\n event.target.focus();\r\n binding.value();\r\n }\r\n }\r\n if (!modifiers.ctrl && !event.ctrlKey && !modifiers.shiftK && !event.shiftKey && !modifiers.meta && !event.metaKey && !modifiers.alt && !event.altKey) {\r\n if (modifiers[_.toLower(event.key)]) {\r\n if (modifiers.prevent) event.preventDefault();\r\n event.target.focus();\r\n binding.value();\r\n }\r\n }\r\n };\r\n\r\n el.addEventListener(\"keydown\", el.handleShortcut);\r\n } else {\r\n if (Array.isArray(binding.value)) {\r\n el.handleShortcut = [];\r\n binding.value.forEach((shortcut) => {\r\n const handleshortcut = function (event) {\r\n if (\r\n !!shortcut.ctrlKey == event.ctrlKey &&\r\n !!shortcut.shiftKey == event.shiftKey &&\r\n !!shortcut.metaKey == event.metaKey &&\r\n !!shortcut.altKey == event.altKey\r\n ) {\r\n if (_.toLower(shortcut.key) == _.toLower(event.key)) {\r\n if (binding.modifiers.prevent) event.preventDefault();\r\n event.target.focus();\r\n shortcut.callback();\r\n }\r\n }\r\n };\r\n el.handleShortcut.push(handleshortcut);\r\n el.addEventListener(\"keydown\", handleshortcut);\r\n });\r\n } else {\r\n console.error(\"Please provide an Array for Multiple-Shortcut-Directive!\");\r\n }\r\n }\r\n },\r\n unmounted(el, binding) {\r\n if (binding.modifiers.multiple) {\r\n el.handleShortcut.forEach((x) => {\r\n el.removeEventListener(\"keydown\", x);\r\n });\r\n } else {\r\n el.removeEventListener(\"keydown\", el.handleShortcut);\r\n }\r\n }\r\n};\r\n","import { HubConnection, HubConnectionBuilder, HubConnectionState, LogLevel } from \"@microsoft/signalr\";\r\nimport axios from \"axios\";\r\nimport emitter from \"tiny-emitter/instance\";\r\nimport { App } from \"vue\";\r\nimport { Observable } from \"rxjs\";\r\nimport { share } from \"rxjs/operators\";\r\n\r\nexport default {\r\n install(app: App) {\r\n app.config.globalProperties.$clientHub = emitter;\r\n let connection: HubConnection;\r\n\r\n app.config.globalProperties.$startSignalR = (token: string) => {\r\n connection = new HubConnectionBuilder()\r\n .withUrl(`${axios.defaults.baseURL}/api/webclient/clientcommunicationhub`, { accessTokenFactory: () => token })\r\n .withStatefulReconnect()\r\n .configureLogging(LogLevel.Information)\r\n .build();\r\n\r\n async function start() {\r\n try {\r\n if (connection.state !== HubConnectionState.Connected) {\r\n await connection.start();\r\n }\r\n } catch (err) {\r\n console.error(\"Failed to connect with hub\", err);\r\n setTimeout(start, 15000);\r\n }\r\n }\r\n connection.onclose((error) => {\r\n console.error(`Connection closed due to error \"${error}\". Try refreshing this page to restart the connection.`);\r\n });\r\n app.config.globalProperties.$signalRStartedPromise = start();\r\n };\r\n\r\n app.config.globalProperties.$getConnectionId = () => {\r\n if (connection && connection.state == HubConnectionState.Connected) {\r\n return connection.connectionId;\r\n }\r\n return null;\r\n };\r\n\r\n app.config.globalProperties.$subscribeToServerEvent = (event: string, handler: any) => connection.on(event, handler);\r\n\r\n app.config.globalProperties.$unsubscribeFromServerEvent = (event: string, handler: any) => connection.off(event, handler);\r\n\r\n app.config.globalProperties.$subscribeFromStream = (event: string, args: any[], handler: any, errorHandler: any, completionHandler: any) => {\r\n return fromStream(connection, event, args).subscribe({\r\n next: (value) => {\r\n handler(value);\r\n },\r\n error: (error) => {\r\n errorHandler(error);\r\n },\r\n complete: () => {\r\n completionHandler();\r\n }\r\n });\r\n };\r\n\r\n app.config.globalProperties.$stopSignalR = () => {\r\n if (connection) connection.stop();\r\n };\r\n }\r\n};\r\n\r\nconst fromStream = (connection: HubConnection, streamName: string, args: any[]) => {\r\n return new Observable((observer) => {\r\n const stream = connection.stream(streamName, args);\r\n const subscription = stream.subscribe(observer);\r\n\r\n return () => {\r\n subscription.dispose();\r\n };\r\n }).pipe(share());\r\n};\r\n","\r\n\r\n","\r\n\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./ApiExceptionMessage.vue?vue&type=template&id=40c4790c\"\nimport script from \"./ApiExceptionMessage.vue?vue&type=script&lang=js\"\nexport * from \"./ApiExceptionMessage.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./JavascriptException.vue?vue&type=template&id=239b045c\"\nimport script from \"./JavascriptException.vue?vue&type=script&lang=js\"\nexport * from \"./JavascriptException.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./ExceptionDialog.vue?vue&type=template&id=355e6d3c\"\nimport script from \"./ExceptionDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ExceptionDialog.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=ac986cb6\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { App } from \"vue\";\r\nimport axios from \"axios\";\r\n\r\nexport default {\r\n install(app: App) {\r\n app.config.globalProperties.$http = axios;\r\n }\r\n};\r\n","import resizeDirective from \"@plugins/directives/resize.js\";\r\nimport shortcutDirective from \"@plugins/directives/shortcut.js\";\r\nimport notificationHub from \"@plugins/notificationHub\";\r\nimport { vOnClickOutside } from \"@vueuse/components\";\r\nimport { BootstrapVue } from \"bootstrap-vue\";\r\nimport Vue, { createApp, configureCompat } from \"vue\";\r\nimport App from \"./App.vue\";\r\nimport i18n from \"./i18n\";\r\nimport vue_axios from \"./plugins/vue-axios\";\r\nimport router from \"./router/index\";\r\nimport store from \"./store\";\r\n\r\nconst app = createApp(App);\r\n\r\napp.use(router);\r\napp.use(store);\r\napp.use(i18n);\r\napp.use(vue_axios);\r\napp.use(notificationHub);\r\n\r\napp.directive(\"resize\", resizeDirective);\r\napp.directive(\"shortcut\", shortcutDirective);\r\napp.directive(\"on-click-outside\", vOnClickOutside);\r\n\r\nVue.use(BootstrapVue);\r\n\r\napp.mount(\"#app\");\r\n\r\nconfigureCompat({\r\n ATTR_FALSE_VALUE: \"suppress-warning\",\r\n COMPONENT_FUNCTIONAL: \"suppress-warning\",\r\n COMPONENT_V_MODEL: \"suppress-warning\",\r\n CUSTOM_DIR: \"suppress-warning\",\r\n GLOBAL_EXTEND: \"suppress-warning\",\r\n GLOBAL_MOUNT: \"suppress-warning\",\r\n GLOBAL_PROTOTYPE: \"suppress-warning\",\r\n INSTANCE_ATTRS_CLASS_STYLE: \"suppress-warning\",\r\n INSTANCE_DESTROY: \"suppress-warning\",\r\n INSTANCE_EVENT_EMITTER: \"suppress-warning\",\r\n INSTANCE_LISTENERS: \"suppress-warning\",\r\n INSTANCE_SCOPED_SLOTS: \"suppress-warning\",\r\n OPTIONS_BEFORE_DESTROY: \"suppress-warning\",\r\n OPTIONS_DATA_MERGE: \"suppress-warning\",\r\n OPTIONS_DESTROYED: \"suppress-warning\",\r\n RENDER_FUNCTION: \"suppress-warning\",\r\n WATCH_ARRAY: \"suppress-warning\"\r\n});\r\nexport default app;\r\n","export default {\r\n getBaseUrl() {\r\n return (document.querySelector(\"base\") || {}).href || document.location.host;\r\n }\r\n};\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"disabled\"]\n\nimport { ButtonVariants } from \"@medapro-types/common/common\";\r\nimport { computed } from \"vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MButton',\n props: {\n variant: { default: \"secondary\" },\n designStyle: {},\n withIcon: { type: Boolean, default: false },\n onlyIcon: { type: Boolean, default: false },\n disabled: { type: Boolean }\n },\n emits: [\"click\", \"focus\", \"mouseenter\"],\n setup(__props: any, { emit }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\n\r\nconst classes = computed(() => {\r\n const defaultClasses = [\"btn\"];\r\n const variantClasses = [`btn-${props.variant}`];\r\n const conditionalClasses = { \"btn-with-icon\": props.withIcon, \"btn-icon\": props.onlyIcon, disabled: props.disabled };\r\n\r\n return [...defaultClasses, ...variantClasses, props.designStyle, conditionalClasses];\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass(classes.value),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('click', $event))),\n onFocus: _cache[1] || (_cache[1] = ($event: any) => (emit('focus', $event))),\n disabled: _ctx.disabled\n }, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(\"Button\")\n ])\n ], 42, _hoisted_1))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle } from \"vue\"\n\nconst _hoisted_1 = { class: \"toggle-button-content\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"select-toggle-text\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"select-toggle-placeholder-text\"\n}\nconst _hoisted_4 = { class: \"select-toggle-caret\" }\nconst _hoisted_5 = [\"id\"]\nconst _hoisted_6 = [\"onClick\"]\n\nimport Icon from \"@common/components/Icon.vue\";\r\nimport { Guid } from \"@util/guid\";\r\nimport { useScroll } from \"@vueuse/core\";\r\nimport { Ref, WatchStopHandle, computed, nextTick, reactive, ref, watch } from \"vue\";\r\nimport MButton from \"./MButton.vue\";\r\n\r\n//#region Refs\r\ntype ViewModel = { isOpen: boolean; menuPositionX: number; menuPositionY: number; selectToggleWidth: number };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MSelect',\n props: {\n value: { default: null },\n items: {},\n placeholder: {},\n width: {},\n textField: { default: \"name\" },\n valueField: {},\n translateTextField: { type: Boolean }\n },\n emits: [\"input\", \"selection\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n\nconst props = __props;\n\r\nconst selfRef = ref(null);\r\nconst selectMenu = ref(null);\r\nconst selectToggle = ref(null);\r\nlet scrollParent: Ref | null;\r\n\r\n//#endregion\r\n\r\n//#region General\r\nconst id = Guid.new();\r\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst vm = reactive({ isOpen: false, menuPositionX: 0, menuPositionY: 0, selectToggleWidth: 0 });\r\n//#endregion\r\n\r\n//#region SelectedEntry\r\nconst selectedEntry = computed({\r\n get: () => {\r\n return props.items.find((x) => (props.valueField ? x[props.valueField] == props.value : x == props.value)) ?? null;\r\n },\r\n set: (nv: any) => {\r\n emits(\"input\", props.valueField ? nv[props.valueField] : nv);\r\n }\r\n});\r\n\r\nconst entryClickedHandler = (entry: any) => {\r\n selectedEntry.value = entry;\r\n emits(\"selection\", entry);\r\n hide();\r\n};\r\n//#endregion\r\n\r\n//#region ScrollHandle\r\nlet isScrollingWatcher: WatchStopHandle | null = null;\r\n\r\nconst enableCloseOnScroll = () => {\r\n const foundParent = getScrollParent(selfRef.value);\r\n scrollParent = foundParent ? ref(foundParent) : null;\r\n if (scrollParent?.value) {\r\n const { isScrolling } = useScroll(scrollParent);\r\n isScrollingWatcher = watch(isScrolling, () => {\r\n hide();\r\n });\r\n }\r\n};\r\n\r\nfunction getScrollParent(node: HTMLElement | ParentNode | null) {\r\n if (node == null) return null;\r\n if (node instanceof HTMLElement && node.scrollHeight > node.clientHeight) {\r\n const computedStyle = getComputedStyle(node);\r\n if (\r\n computedStyle.overflow == \"auto\" ||\r\n computedStyle.overflowY == \"auto\" ||\r\n computedStyle.overflowX == \"auto\" ||\r\n computedStyle.overflow == \"scroll\" ||\r\n computedStyle.overflowY == \"scroll\" ||\r\n computedStyle.overflowX == \"scroll\"\r\n )\r\n return node;\r\n else return getScrollParent(node.parentNode);\r\n } else {\r\n return getScrollParent(node.parentNode);\r\n }\r\n}\r\n//#endregion\r\n\r\nconst show = () => {\r\n if (selectMenu.value) {\r\n selectMenu.value.showPopover();\r\n }\r\n};\r\n\r\nconst hide = () => {\r\n if (selectMenu.value) {\r\n selectMenu.value.hidePopover();\r\n }\r\n};\r\nconst toggle = () => {\r\n if (selectMenu.value) {\r\n selectMenu.value.togglePopover(!vm.isOpen);\r\n }\r\n};\r\n\r\nconst setState = () => {\r\n if (selectMenu.value) {\r\n vm.isOpen = selectMenu.value.matches(\":popover-open\");\r\n if (vm.isOpen) {\r\n calculatePositionOfMenu();\r\n enableCloseOnScroll();\r\n } else if (isScrollingWatcher) {\r\n isScrollingWatcher();\r\n isScrollingWatcher = null;\r\n }\r\n }\r\n};\r\n\r\nconst calculatePositionOfMenu = () => {\r\n vm.menuPositionX = 0;\r\n vm.menuPositionY = 0;\r\n vm.selectToggleWidth = selectToggle.value?.$el?.getBoundingClientRect().width ?? 0;\r\n\r\n nextTick(() => {\r\n if (selectMenu.value && selectToggle.value) {\r\n const toggleRect = selectToggle.value.$el.getBoundingClientRect();\r\n const menuRect = selectMenu.value.getBoundingClientRect();\r\n const x = toggleRect.x - menuRect.x;\r\n let y = toggleRect.y - menuRect.y + toggleRect.height;\r\n if (menuRect.bottom + y > window.innerHeight) {\r\n y = toggleRect.y - menuRect.bottom;\r\n }\r\n vm.menuPositionX = x;\r\n vm.menuPositionY = y;\r\n }\r\n });\r\n};\r\n\r\n__expose({ show, hide, toggle });\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"m-select\",\n style: _normalizeStyle({ width: _ctx.width ?? '' }),\n ref_key: \"selfRef\",\n ref: selfRef\n }, [\n _createVNode(MButton, {\n \"design-style\": \"select\",\n class: _normalizeClass([\"m-select-toggle\", { active: vm.isOpen }]),\n ref_key: \"selectToggle\",\n ref: selectToggle,\n popovertarget: `select-${_unref(id)}`\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (selectedEntry.value?.[_ctx.textField])\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"button-content\", {\n selectedItem: selectedEntry.value,\n selectedText: selectedEntry.value?.[_ctx.textField] ? (_ctx.translateTextField ? _ctx.$t(selectedEntry.value[_ctx.textField]) : selectedEntry.value[_ctx.textField]) : ''\n }, () => [\n _createTextVNode(_toDisplayString(_ctx.translateTextField ? _ctx.$t(selectedEntry.value?.[_ctx.textField]) : selectedEntry.value?.[_ctx.textField]), 1)\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(_ctx.placeholder), 1)),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Icon, { icon: \"ChevronBottom\" })\n ])\n ])\n ]),\n _: 3\n }, 8, [\"class\", \"popovertarget\"]),\n _createElementVNode(\"div\", {\n id: `select-${_unref(id)}`,\n class: _normalizeClass([\"m-select-menu\", { 'is-open': vm.isOpen }]),\n popover: \"\",\n ref_key: \"selectMenu\",\n ref: selectMenu,\n onToggle: setState,\n style: _normalizeStyle({\r\n transform: `translate(${vm.menuPositionX}px, ${vm.menuPositionY}px)`,\r\n minWidth: `${vm.selectToggleWidth}px`\r\n })\n }, [\n _renderSlot(_ctx.$slots, \"default\", { items: _ctx.items }, () => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.items, (entry) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: entry[_ctx.valueField] ?? entry[_ctx.textField],\n class: _normalizeClass([\"select-menu-entry\", { active: _ctx.valueField ? entry[_ctx.valueField] == selectedEntry.value?.[_ctx.valueField] : entry == selectedEntry.value }]),\n onClick: ($event: any) => (entryClickedHandler(entry))\n }, [\n _renderSlot(_ctx.$slots, \"item-template\", { entry: entry }, () => [\n _createTextVNode(_toDisplayString(_ctx.translateTextField ? _ctx.$t(entry[_ctx.textField]) : entry[_ctx.textField]), 1)\n ])\n ], 10, _hoisted_6))\n }), 128))\n ])\n ], 46, _hoisted_5)\n ], 4))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MSelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MSelect.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { getCurrentInstance, ref } from \"vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MSelectItem',\n props: {\n active: { type: Boolean }\n },\n emits: [\"click\"],\n setup(__props: any, { emit }) {\n\r\nconst selectMenuEntry = ref(null);\r\n\r\n/* const props = */ \r\n\r\n\r\nconst instance = getCurrentInstance();\r\n\r\nconst onClick = () => {\r\n if (instance && instance.parent && instance.parent.exposed && instance.parent.exposed.hide) instance.parent.exposed.hide();\r\n emit(\"click\");\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n onClick: onClick,\n class: _normalizeClass([\"select-menu-entry\", { active: _ctx.active }]),\n ref_key: \"selectMenuEntry\",\n ref: selectMenuEntry\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MSelectItem.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MSelectItem.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"open-searches-modal-container\" }\nconst _hoisted_2 = { class: \"open-searches-modal-filter-container\" }\nconst _hoisted_3 = { class: \"table\" }\nconst _hoisted_4 = [\"onClick\"]\n\nimport CommonFilter from \"@common/components/CommonFilter.vue\";\r\nimport { AdvancedSearchEntry } from \"@medapro-types/AdvancedSearch/AdvancedSearch\";\r\nimport _ from \"lodash\";\r\nimport { computed, reactive } from \"vue\";\r\n\r\n//#region General\r\ntype ViewModel = { selectedSearch: AdvancedSearchEntry | null; filter: string };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'OpenSearches',\n props: {\n value: { type: Boolean },\n searches: {}\n },\n emits: [\"input\", \"confirm\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Show\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst vm = reactive({ selectedSearch: null, filter: \"\" });\r\n//#endregion\r\n\r\n//#region Select\r\nconst selectSearch = (entry: AdvancedSearchEntry) => {\r\n vm.selectedSearch = entry;\r\n};\r\n//#endregion\r\n\r\n//#region Filter\r\nconst filteredSearches = computed(() => {\r\n let result = props.searches;\r\n\r\n if (vm.filter?.length) result = result.filter((x) => _.includes(x.name.toLowerCase(), vm.filter.toLowerCase()));\r\n\r\n return result;\r\n});\r\n//#endregion\r\n\r\n//#region Life\r\nconst showHandler = () => {\r\n vm.selectedSearch = null;\r\n};\r\n\r\nconst confirmhandler = () => {\r\n localValue.value = false;\r\n emits(\"confirm\", vm.selectedSearch);\r\n};\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n title: _ctx.$t('openSearch'),\n \"body-class\": \"open-searches-modal\",\n size: \"lg\",\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((localValue).value = $event)),\n \"header-close-content\": \"\",\n onShow: showHandler,\n onOk: confirmhandler\n }, {\n \"modal-footer\": _withCtx(({ ok, cancel }) => [\n _createVNode(_component_b_btn, {\n onClick: ok,\n variant: \"primary\",\n disabled: !vm.selectedSearch\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"Open\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\", \"disabled\"]),\n _createVNode(_component_b_btn, { onClick: cancel }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"Cancel\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(CommonFilter, {\n modelValue: vm.filter,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.filter) = $event)),\n placeholder: _ctx.$t('FilterByName'),\n triggerByTime: \"\"\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _createElementVNode(\"table\", _hoisted_3, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"name\")), 1),\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"UpdatedOn\")), 1),\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"UpdatedBy\")), 1),\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"CreatedOn\")), 1),\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"CreatedBy\")), 1)\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(filteredSearches.value, (search) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: search.advancedSearchId,\n onClick: ($event: any) => (selectSearch(search)),\n onDblclick: confirmhandler,\n class: _normalizeClass({ 'table-active': vm.selectedSearch?.advancedSearchId == search.advancedSearchId })\n }, [\n _createElementVNode(\"td\", null, _toDisplayString(search.name), 1),\n _createElementVNode(\"td\", null, _toDisplayString(_ctx.$d(new Date(search.updatedOn ?? \"\"), \"shortDateTime\")), 1),\n _createElementVNode(\"td\", null, _toDisplayString(search.updatedBy?.username), 1),\n _createElementVNode(\"td\", null, _toDisplayString(_ctx.$d(new Date(search.createdOn ?? \"\"), \"shortDateTime\")), 1),\n _createElementVNode(\"td\", null, _toDisplayString(search.createdBy?.username), 1)\n ], 42, _hoisted_4))\n }), 128))\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"modelValue\"]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./OpenSearches.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./OpenSearches.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, withModifiers as _withModifiers, withKeys as _withKeys, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, createVNode as _createVNode, withDirectives as _withDirectives, withCtx as _withCtx, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"simple-rename-modal-container\" }\n\nimport { AdvancedSearchEntry } from \"@medapro-types/AdvancedSearch/AdvancedSearch\";\r\nimport { setElementFocus } from \"@util/focusManager\";\r\nimport { computed, nextTick, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SearchRenameModal',\n props: {\n value: {},\n show: { type: Boolean },\n title: {},\n maxCharactersName: {},\n okButtonText: {},\n savedSearchList: {},\n selectedSearchId: {}\n },\n emits: [\"input\", \"update:show\", \"confirm\", \"cancel\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\nconst internValue = ref(\"\");\r\nconst { t: $t } = useI18n();\r\nconst localShow = computed({\r\n get: () => props.show,\r\n set: (nv) => emits(\"update:show\", nv)\r\n});\r\n\r\nconst renameInput = ref();\r\n\r\nconst confirmHandler = () => {\r\n emits(\"input\", internValue.value);\r\n emits(\"confirm\", internValue.value);\r\n};\r\n\r\nconst cancelRename = () => emits(\"cancel\", true);\r\n\r\nconst hasNameChanged = computed(() => {\r\n return props.savedSearchList.find((x) => x.advancedSearchId == props.selectedSearchId)?.name != internValue.value;\r\n});\r\n\r\nconst validationFeedbacks = computed(() => {\r\n const isNameEmpty = internValue.value == \"\" || internValue.value == null;\r\n const isDuplicateNameExists =\r\n internValue.value &&\r\n props.savedSearchList.filter(\r\n (x) => x.name && x.name != \"\" && x.advancedSearchId != props.selectedSearchId && x.name.toLowerCase() == internValue.value.toLowerCase()\r\n ).length > 0;\r\n const isNameLengthExceeds = internValue.value.length > 128;\r\n\r\n if (isNameEmpty) return $t(\"validation.valueRequired\", { field: $t(\"name\") });\r\n else if (isDuplicateNameExists)\r\n return $t(\"validation.duplicateExists\", {\r\n field: $t(\"name\")\r\n });\r\n else if (isNameLengthExceeds)\r\n return $t(\"validation.lengthExceeds\", {\r\n field: $t(\"name\", 1),\r\n length: 128\r\n });\r\n else return null;\r\n});\r\n\r\nconst showHandler = () => {\r\n internValue.value = props.value;\r\n\r\n //this nextTick and Timeout is necessary because of the modal. If it's not there the focus won't happen.\r\n nextTick(() => {\r\n setTimeout(() => {\r\n const inputHTMLElemnt = renameInput.value?.$el;\r\n if (inputHTMLElemnt) {\r\n setElementFocus(inputHTMLElemnt, true);\r\n }\r\n }, 100);\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_input = _resolveComponent(\"b-input\")!\n const _component_b_form_group = _resolveComponent(\"b-form-group\")!\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n const _directive_b_tooltip = _resolveDirective(\"b-tooltip\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n title: props.title,\n \"body-class\": \"simple-rename-modal-body\",\n \"header-close-content\": \"\",\n modelValue: localShow.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((localShow).value = $event)),\n onOk: confirmHandler,\n onShow: showHandler,\n onCancel: cancelRename\n }, {\n \"modal-footer\": _withCtx(({ ok, cancel }) => [\n _createVNode(_component_b_btn, {\n onClick: ok,\n variant: \"primary\",\n disabled: validationFeedbacks.value || !hasNameChanged.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.okButtonText), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\", \"disabled\"]),\n _createVNode(_component_b_btn, { onClick: cancel }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"Cancel\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_b_form_group, { label: \"Name\" }, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_b_input, {\n max: _ctx.maxCharactersName,\n modelValue: internValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((internValue).value = $event)),\n class: _normalizeClass({ 'border-danger': validationFeedbacks.value }),\n ref_key: \"renameInput\",\n ref: renameInput,\n onKeydown: _cache[1] || (_cache[1] = _withKeys(_withModifiers(\r\n () => {\r\n confirmHandler();\r\n localShow.value = false;\r\n }\r\n , [\"prevent\"]), [\"enter\"]))\n }, null, 8, [\"max\", \"modelValue\", \"class\"]), [\n [\n _directive_b_tooltip,\n validationFeedbacks.value,\n void 0,\n { hover: true }\n ]\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"modelValue\"]))\n}\n}\n\n})","\r\n\r\n","import script from \"./SearchRenameModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SearchRenameModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { AdvancedSearchExecuteData, AdvancedSearchSaveModel, AdvArticleResult } from \"@medapro-types/AdvancedSearch/AdvancedSearch\";\r\nimport api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getSearchTypes: async function (language: string) {\r\n const response = await api.get(endpoints.advancedSearch.getSearchTypes, { params: { language } });\r\n return response.data;\r\n },\r\n getAll: async function () {\r\n const response = await api.get(endpoints.advancedSearch.getAll);\r\n return response.data;\r\n },\r\n get: async function (advancedSearchId: string) {\r\n const response = await api.get(endpoints.advancedSearch.get, { params: { advancedSearchId } });\r\n return response.data;\r\n },\r\n save: async function (advancedSearch: AdvancedSearchSaveModel) {\r\n const postdata = Object.assign({}, advancedSearch);\r\n postdata.searchJson = JSON.stringify(advancedSearch.searchJson);\r\n const response = await api.post(endpoints.advancedSearch.save, postdata);\r\n return response.data;\r\n },\r\n execute: async function (advancedSearchData: AdvancedSearchExecuteData): Promise {\r\n const response = await api.get(endpoints.advancedSearch.execute, { params: advancedSearchData });\r\n return response.data;\r\n },\r\n delete: async function (advancedSearchId: string) {\r\n const response = await api.post(endpoints.advancedSearch.delete, {}, { params: { advancedSearchId } });\r\n return response.data;\r\n },\r\n exportToCsv: async function (advancedSearchId: string, language: string) {\r\n const response = await api.get(endpoints.advancedSearch.exportCsv, { params: { advancedSearchId, language } });\r\n return response.data;\r\n }\r\n};\r\n","import { AllowedOps, DataUITypes, OpsLookUp } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport i18n from \"@/i18n\";\r\n\r\nconst { t } = i18n.global;\r\n\r\nexport function getTranslatedSelectionOpsList(type: DataUITypes) {\r\n return getOpsListForDataType(type).map((x) => {\r\n return { id: x, name: t(`op.${x}`) };\r\n });\r\n}\r\n\r\nexport function getOpsListForDataType(type: DataUITypes): Array {\r\n const result: Array = DATA_VALUE_TYPE_LOOKUP_TABLE[type];\r\n return result;\r\n}\r\n\r\nconst DATA_VALUE_TYPE_LOOKUP_TABLE: OpsLookUp = {\r\n alphanumeric: [\"equals\", \"equalsNot\", \"contains\", \"containsNot\", \"startsWith\", \"startsWithNot\", \"endsWith\", \"endsWithNot\"],\r\n date: [\"equals\", \"equalsNot\"],\r\n numeric: [\"equals\", \"equalsNot\", \"greater\", \"greaterOrEqual\", \"less\", \"lessOrEqual\"],\r\n logical: [\"equals\", \"equalsNot\"],\r\n interval: [\"equals\", \"equalsNot\"],\r\n catalogNode: [\"startsWith\", \"startsWithNot\"],\r\n selectionList: [\"equals\", \"equalsNot\"],\r\n attributeGroup: [\"startsWith\", \"startsWithNot\"],\r\n preselectTree: [],\r\n preselectList: []\r\n};\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"bread-crumbs\"\n}\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"entry-icon\"\n}\nconst _hoisted_4 = { class: \"entry-text\" }\nconst _hoisted_5 = [\"onDblclick\", \"onClick\"]\nconst _hoisted_6 = {\n key: 0,\n class: \"entry-icon\"\n}\nconst _hoisted_7 = { class: \"entry-text\" }\nconst _hoisted_8 = {\n key: 1,\n class: \"entry-action\"\n}\nconst _hoisted_9 = {\n key: 2,\n class: \"divider\"\n}\nconst _hoisted_10 = [\"onClick\"]\nconst _hoisted_11 = {\n key: 0,\n class: \"entry-icon\"\n}\nconst _hoisted_12 = { class: \"entry-text\" }\n\nimport { AttributeDataType } from \"@medapro-types/common/common-enum\";\r\nimport { Branch, Leaf, MultiLevelNavigationConfirmModel, MultiLevelNavigationSelectionModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport { PathPresentedDataModel } from \"@medapro-types/common/components/PathPresenter\";\r\nimport { UseVirtualList } from \"@vueuse/components\";\r\nimport { UseVirtualListReturn } from \"@vueuse/core\";\r\nimport _ from \"lodash\";\r\nimport { computed, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport CommonFilter from \"../CommonFilter.vue\";\r\nimport Icon from \"../Icon.vue\";\r\nimport PathPresenter from \"../PathPresenter.vue\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n filter: string;\r\n selection: MultiLevelNavigationSelectionModel | null;\r\n branches: Branch[];\r\n leaves: Leaf[];\r\n branchPath: Branch[];\r\n currentBranch: Branch | null;\r\n};\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MultiLevelNavigationModal',\n props: {\n value: { type: Boolean },\n modalTitle: {},\n fetchBranches: { type: Function },\n fetchLeaves: { type: Function },\n selectableType: {},\n noBreadCrumbs: { type: Boolean },\n withAll: { type: Boolean },\n selectedEntryId: {},\n selectedPath: {}\n },\n emits: [\"input\", \"confirm\", \"cancel\", \"close\", \"hide\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\nconst { t: $t } = useI18n();\r\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region localValue\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n//#endregion\r\n\r\n//#region Refs\r\nconst listContainer = ref(null);\r\nconst virtualList = ref | null>(null);\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst allEntry: MultiLevelNavigationSelectionModel = {\r\n id: null,\r\n name: `<${$t(\"all\")}>`,\r\n type: \"all\",\r\n dataType: AttributeDataType.AttributeDataTypeAlphanumerical\r\n};\r\nconst defaultSelection = () => (props.withAll ? allEntry : null);\r\n\r\nconst vm = reactive({\r\n filter: \"\",\r\n selection: defaultSelection(),\r\n branches: [],\r\n leaves: [],\r\n branchPath: [],\r\n currentBranch: null\r\n});\r\n//#endregion\r\n\r\n//#region Branches\r\n\r\nconst switchBranchRoot = async () => {\r\n vm.currentBranch = null;\r\n await switchBranch();\r\n vm.branchPath = [];\r\n};\r\n\r\nconst switchBranchUp = async () => {\r\n const lastEntry = _.last(vm.branchPath);\r\n if (lastEntry) {\r\n vm.currentBranch = (vm.branchPath.pop() ?? null);\r\n if (lastEntry.parentId) await switchBranch(lastEntry.parentId);\r\n else await switchBranch(_.last(vm.branchPath)?.id);\r\n }\r\n};\r\n\r\nconst switchBranchDown = async (branchId: string) => {\r\n const _branch = vm.branches.find((x) => x.id == branchId);\r\n if (_branch) {\r\n const doSwitch = await switchBranch(branchId);\r\n if (doSwitch) {\r\n vm.currentBranch = _branch;\r\n vm.branchPath.push(_branch);\r\n }\r\n }\r\n};\r\n\r\nconst switchBranch = async (branchId?: string | null | undefined) => {\r\n const fetchedBranches = await props.fetchBranches(branchId);\r\n const fetchedLeaves = await props.fetchLeaves(branchId);\r\n\r\n const doSwitch = !!fetchedBranches.length || !!fetchedLeaves.length;\r\n if (doSwitch) {\r\n vm.branches = fetchedBranches;\r\n vm.leaves = fetchedLeaves;\r\n vm.selection = defaultSelection();\r\n virtualList.value?.scrollTo(0);\r\n } else {\r\n const foundBranch = vm.branches.find((x) => x.id == branchId);\r\n if (foundBranch) foundBranch.hasNoChildren = true;\r\n }\r\n\r\n return doSwitch;\r\n};\r\n\r\nconst pathPresenterData = computed(() => {\r\n return [{ id: \"\", name: \"\", icon: \"Home\", click: switchBranchRoot }, ...vm.branchPath.map((x) => ({ id: x.id, name: x.name ?? \"\" }))];\r\n});\r\n\r\n//#endregion\r\n\r\n//#region Selection\r\n\r\nconst selectEntry = (data: MultiLevelNavigationSelectionModel) => {\r\n vm.selection = data;\r\n};\r\n\r\nconst restoreSelection = () => {\r\n if (props.selectedEntryId) {\r\n const foundIndex = combinedList.value.findIndex((x) => x.id == props.selectedEntryId);\r\n if (foundIndex != -1) {\r\n vm.selection = combinedList.value[foundIndex];\r\n virtualList.value?.scrollTo(foundIndex);\r\n }\r\n }\r\n};\r\n\r\nconst hideHandler = () => {\r\n resetData();\r\n emits(\"hide\");\r\n};\r\n\r\nconst resetData = () => {\r\n Object.assign(vm, {\r\n filter: \"\",\r\n selection: null,\r\n branches: [],\r\n leaves: [],\r\n branchPath: [],\r\n currentBranch: null\r\n });\r\n};\r\n\r\nconst confirmSelection = () => {\r\n const result: MultiLevelNavigationConfirmModel = { paths: vm.branchPath, selection: vm.selection };\r\n emits(\"confirm\", result);\r\n};\r\n//#endregion\r\n\r\n//#region Filter\r\nconst combinedList = computed(() => {\r\n let result = _.chain([]);\r\n if (props.withAll && _.isEmpty(vm.branchPath)) {\r\n result = result.concat([allEntry, { id: \"-1\", name: \"divider\", type: \"divider\" }]);\r\n }\r\n const _branches: MultiLevelNavigationSelectionModel[] = vm.branches.map((x) => {\r\n return { id: x.id, name: x.name ?? \"\", type: \"branch\", hasNoChildren: x.hasNoChildren, icon: x.icon };\r\n });\r\n\r\n const _leaves: MultiLevelNavigationSelectionModel[] = vm.leaves.map((x) => {\r\n return { id: x.id, name: x.name, type: \"leaf\", dataType: x.dataType, icon: x.icon };\r\n });\r\n\r\n result = result.concat(_branches);\r\n if (_branches.length && _leaves.length) result = result.concat([{ id: \"-1\", name: \"divider\", type: \"divider\" }]);\r\n result = result.concat(_leaves);\r\n\r\n if (vm.filter?.length) result = result.filter((x) => x.name.toLowerCase().includes(vm.filter.toLowerCase()));\r\n\r\n return result.value();\r\n});\r\n\r\n//#endregion\r\n\r\nasync function onShow() {\r\n let id: string | undefined;\r\n if (props.selectedPath && !_.isEmpty(props.selectedPath)) {\r\n const branches = _.cloneDeep(props.selectedPath.filter((x) => x.id !== \"\"));\r\n const foundBranch = _.maxBy(branches, (x) => x.depth);\r\n if (foundBranch) {\r\n vm.branchPath = branches;\r\n id = foundBranch.id;\r\n }\r\n }\r\n await switchBranch(id);\r\n\r\n restoreSelection();\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((localValue).value = $event)),\n title: props.modalTitle,\n id: \"simplified-tree-list-modal\",\n \"body-class\": \"simplified-tree-list-body\",\n \"header-close-content\": \"\",\n onOk: confirmSelection,\n onCancel: _cache[3] || (_cache[3] = ($event: any) => (emits('cancel'))),\n onClose: _cache[4] || (_cache[4] = ($event: any) => (emits('close'))),\n onHide: hideHandler,\n onShow: onShow\n }, {\n \"modal-footer\": _withCtx(({ ok, cancel }) => [\n _createVNode(_component_b_btn, {\n onClick: ok,\n variant: \"primary\",\n disabled: !vm.selection || !_unref(_).includes([...(_ctx.withAll ? ['all'] : []), ...props.selectableType], vm.selection.type)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"select\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\", \"disabled\"]),\n _createVNode(_component_b_btn, { onClick: cancel }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"close\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n (!props.noBreadCrumbs)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(PathPresenter, {\n reducedVisual: \"\",\n modelValue: pathPresenterData.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((pathPresenterData).value = $event)),\n onDotsClicked: switchBranchUp,\n \"dots-link-style\": \"\"\n }, null, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(CommonFilter, {\n \"no-max-width\": \"\",\n \"prepend-icon\": \"Filter\",\n placeholder: _unref($t)('Filter'),\n modelValue: vm.filter,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((vm.filter) = $event)),\n \"trigger-by-time\": \"\"\n }, null, 8, [\"placeholder\", \"modelValue\"]),\n _createElementVNode(\"div\", {\n class: \"list-container\",\n ref_key: \"listContainer\",\n ref: listContainer\n }, [\n _createVNode(_unref(UseVirtualList), {\n ref_key: \"virtualList\",\n ref: virtualList,\n list: combinedList.value,\n height: \"calc(80vh - 150px)\",\n options: { itemHeight: 30 }\n }, {\n default: _withCtx(({ data }) => [\n (data.type == 'all')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"entry\", { active: vm.selection?.id == data.id }]),\n onClick: ($event: any) => (selectEntry(data))\n }, [\n (data.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(Icon, {\n icon: data.icon\n }, null, 8, [\"icon\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"span\", null, _toDisplayString(data.name), 1)\n ])\n ], 10, _hoisted_2))\n : _createCommentVNode(\"\", true),\n (data.type == 'branch')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n onDblclick: ($event: any) => (switchBranchDown(data.id)),\n class: _normalizeClass([\"entry branch\", { active: vm.selection?.id == data.id }]),\n onClick: ($event: any) => (selectEntry(data))\n }, [\n (data.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(Icon, {\n icon: data.icon\n }, null, 8, [\"icon\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"span\", null, _toDisplayString(data.name), 1)\n ]),\n (data.type == 'branch' && !data.hasNoChildren)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: ($event: any) => (switchBranchDown(data.id))\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronRight\" })\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 42, _hoisted_5))\n : _createCommentVNode(\"\", true),\n (data.type == 'divider')\n ? (_openBlock(), _createElementBlock(\"hr\", _hoisted_9))\n : _createCommentVNode(\"\", true),\n (data.type == 'leaf')\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 3,\n class: _normalizeClass([\"entry leaf\", { active: vm.selection?.id == data.id }]),\n onClick: ($event: any) => (selectEntry(data))\n }, [\n (data.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(Icon, {\n icon: data.icon\n }, null, 8, [\"icon\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"span\", null, _toDisplayString(data.name), 1)\n ])\n ], 10, _hoisted_10))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"list\"])\n ], 512)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\"]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MultiLevelNavigationModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MultiLevelNavigationModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { AttributeGroup } from \"@medapro-types/common/common\";\r\nimport { Branch, Leaf, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport articleApi from \"@services/article.js\";\r\nimport { computed } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport MultiLevelNavigationModal from \"./MultiLevelNavigationModal.vue\";\r\n\r\nconst BRANCH_ICON = \"AttributeGroup1\";\r\n\r\n//#region General\r\nconst BASE_ATTRIBUTE_GROUP_ID = \"67f7f916-0654-44b4-9632-d0d895b66630\";\r\n//#endregion\r\n\r\n//#region localValue\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AttributeGroupSelectionModal',\n props: {\n value: { type: Boolean },\n selectedEntryId: {},\n selectedPath: {}\n },\n emits: [\"confirm\", \"cancel\", \"close\", \"input\", \"hide\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\n\r\nconst { t: $t } = useI18n();\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\nconst onConfirm = (event: MultiLevelNavigationConfirmModel) => {\r\n emits(\"confirm\", event);\r\n};\r\n\r\n//#region CONSTANTS\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n\r\n//#endregion\r\n\r\n//#region FetchMethods\r\nconst getAttributeGroups = async (groupId: string | null | undefined): Promise => {\r\n const fetchResult: AttributeGroup[] = await articleApi.getAttributeGroups({\r\n language: primaryLanguageCode.value,\r\n id: groupId ?? BASE_ATTRIBUTE_GROUP_ID\r\n });\r\n return fetchResult.map((x) => ({ id: x.attributeGroupId, depth: x.depth, name: x.name, parentId: x.parentId, icon: BRANCH_ICON }));\r\n};\r\n\r\nconst getAttributes = async (): Promise => {\r\n return [];\r\n};\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MultiLevelNavigationModal, {\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localValue).value = $event)),\n \"modal-title\": _unref($t)('selectAttributeGroup'),\n \"fetch-branches\": getAttributeGroups,\n \"fetch-leaves\": getAttributes,\n \"selectable-type\": ['branch'],\n \"selected-entry-id\": _ctx.selectedEntryId,\n \"selected-path\": _ctx.selectedPath,\n onConfirm: onConfirm,\n onHide: _cache[1] || (_cache[1] = ($event: any) => (emits('hide'))),\n onCancel: _cache[2] || (_cache[2] = ($event: any) => (emits('cancel'))),\n onClose: _cache[3] || (_cache[3] = ($event: any) => (emits('close')))\n }, null, 8, [\"modelValue\", \"modal-title\", \"selected-entry-id\", \"selected-path\"]))\n}\n}\n\n})","import script from \"./AttributeGroupSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AttributeGroupSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"path-presenter-wrapper\" }\n\nimport AttributeGroupSelectionModal from \"@common/components/MultiLevelNavigation/AttributeGroupSelectionModal.vue\";\r\nimport PathPresenter from \"@common/components/PathPresenter.vue\";\r\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { BasicSelectionModel } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport { AttributeGroup } from \"@medapro-types/common/common\";\r\nimport { Branch, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport { PathPresentedDataModel } from \"@medapro-types/common/components/PathPresenter\";\r\nimport attributeGroupsApi from \"@services/attributeGroups.js\";\r\nimport _ from \"lodash\";\r\nimport { Ref, computed, inject, nextTick, onMounted, reactive } from \"vue\";\r\n\r\n//#region General\r\ntype ViewModel = { selectedPath: BasicSelectionModel[] };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AttributeGroupRule',\n props: {\n value: {}\n },\n emits: [\"input\", \"deleteRule\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\n//#region Inject\r\nconst isBusy = inject>(\"advancedSearchIsBusy\");\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst vm = reactive({ selectedPath: [] });\r\n\r\nconst modals = reactive({ open: false });\r\n//#endregion\r\n\r\n//#region Busy\r\nconst setBusyState = (busyValue: boolean) => {\r\n if (isBusy) {\r\n isBusy.value = busyValue;\r\n }\r\n};\r\n//#endregion\r\n\r\nconst localModel = computed({\r\n get() {\r\n return props.value;\r\n },\r\n set(nv) {\r\n emits(\"input\", nv);\r\n }\r\n});\r\n\r\n//#region SelectedPath\r\nconst selectedPath = computed(() =>\r\n vm.selectedPath?.filter((x) => x.id != localModel.value).map((x, index) => ({ id: x.id, depth: index, name: x.name, parentId: null }))\r\n);\r\n//#endregion\r\n\r\n//#region EventHandler\r\nconst onHideHandler = () => {\r\n nextTick(() => {\r\n if (_.isEmpty(localModel.value)) emits(\"deleteRule\");\r\n });\r\n};\r\n\r\nconst onConfirm = async (data: MultiLevelNavigationConfirmModel) => {\r\n if (data.selection && data.selection.id) {\r\n localModel.value = data.selection.id;\r\n await fetchAndSetPath(data.selection.id);\r\n }\r\n};\r\n\r\nconst fetchAndSetPath = async (id: string) => {\r\n setBusyState(true);\r\n const fetchedPath: AttributeGroup[] = await attributeGroupsApi.getPath(primaryLanguageCode.value, id);\r\n const mappedFetchedPath: PathPresentedDataModel[] = fetchedPath.map((x) => ({ id: x.attributeGroupId, name: x.name }));\r\n const root = _.first(mappedFetchedPath);\r\n if (root) root.icon = \"Home\";\r\n vm.selectedPath = mappedFetchedPath;\r\n setBusyState(false);\r\n};\r\n//#endregion\r\n\r\n//#region LifeCycle\r\nonMounted(async () => {\r\n if (!props.value) {\r\n modals.open = true;\r\n } else {\r\n await fetchAndSetPath(props.value);\r\n }\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"attribute-group-rule\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (modals.open = true))\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(PathPresenter, {\n modelValue: vm.selectedPath,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.selectedPath) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(AttributeGroupSelectionModal, {\n modelValue: modals.open,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((modals.open) = $event)),\n onConfirm: onConfirm,\n onHide: onHideHandler,\n \"selected-entry-id\": localModel.value,\n \"selected-path\": selectedPath.value\n }, null, 8, [\"modelValue\", \"selected-entry-id\", \"selected-path\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\nimport { inject, ComputedRef } from \"vue\";\r\n","import script from \"./AttributeGroupRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AttributeGroupRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bool-rule\" }\n\nimport MSelect from \"@/BasicComponentLibrary/MSelect.vue\";\r\nimport { computed, reactive } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\n//#region General\r\ntype ViewModel = { options: Array<{ text: string; value: number }> };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BoolRule',\n props: {\n value: {}\n },\n emits: [\"input\"],\n setup(__props: any, { emit }) {\n\nconst props = __props;\n\r\n\r\n\r\nconst { t: $t } = useI18n();\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({\r\n options: [\r\n { text: `<${$t(\"noValue\")}>`, value: -1 },\r\n { text: $t(\"yes\"), value: 1 },\r\n { text: $t(\"no\"), value: 0 }\r\n ]\r\n});\r\n//#endregion\r\n\r\n//#region LocalModel\r\nconst localModel = computed({\r\n get() {\r\n switch (props.value) {\r\n case \"true\":\r\n return 1;\r\n case \"false\":\r\n return 0;\r\n default:\r\n return -1;\r\n }\r\n },\r\n set(nv) {\r\n switch (nv) {\r\n case 1:\r\n emit(\"input\", \"true\");\r\n break;\r\n case 0:\r\n emit(\"input\", \"false\");\r\n break;\r\n case -1:\r\n emit(\"input\", \"\");\r\n break;\r\n }\r\n }\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(MSelect, {\n modelValue: localModel.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localModel).value = $event)),\n items: vm.options,\n textField: \"text\",\n valueField: \"value\"\n }, null, 8, [\"modelValue\", \"items\"])\n ]))\n}\n}\n\n})","\r\n\r\n","import script from \"./BoolRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BoolRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { BaseCatalog, CatalogNode } from \"@medapro-types/common/common\";\r\nimport { Branch, Leaf, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport catalogsApi from \"@services/catalogs.js\";\r\nimport { computed, reactive } from \"vue\";\r\nimport MultiLevelNavigationModal from \"./MultiLevelNavigationModal.vue\";\r\n\r\n//#region General\r\ntype ViewModel = { baseCatalog: BaseCatalog | null };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CatalogNodePathSelectionModal',\n props: {\n value: { type: Boolean },\n selectedEntryId: {},\n selectedPath: {}\n },\n emits: [\"confirm\", \"input\", \"cancel\", \"close\", \"hide\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst vm = reactive({ baseCatalog: null });\r\n//#endregion\r\n\r\n//#region EventHandler\r\nconst onConfirm = (event: MultiLevelNavigationConfirmModel) => {\r\n emits(\"confirm\", event);\r\n};\r\n//#endregion\r\n\r\n//#region localValue\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n\r\n//#endregion\r\n\r\n//#region FetchMethods\r\n\r\nconst getCatalogNodes = async (id: string | null | undefined): Promise => {\r\n if (!vm.baseCatalog) vm.baseCatalog = await catalogsApi.getBaseCatalog({ language: primaryLanguageCode.value });\r\n let result: Branch[] = [];\r\n let fetched: { catalogNodes: CatalogNode[]; foundCatalogNodeCount: number } = { catalogNodes: [], foundCatalogNodeCount: 0 };\r\n if (vm.baseCatalog) {\r\n if (id) {\r\n fetched = await catalogsApi.getNodes({\r\n catalogId: vm.baseCatalog.catalogId,\r\n language: primaryLanguageCode.value,\r\n catalogNodeId: id\r\n });\r\n } else {\r\n fetched = await catalogsApi.getRootNodes({\r\n catalogId: vm.baseCatalog.catalogId,\r\n language: primaryLanguageCode.value\r\n });\r\n }\r\n result = fetched.catalogNodes.map((x) => ({\r\n id: x.catalogNodeId,\r\n name: x.nodeName,\r\n parentId: x.rootCatalogNode.id,\r\n depth: 0,\r\n hasNoChildren: x.catalogNodeType != \"CatalogGroup\",\r\n icon: x.catalogNodeType == \"CatalogGroup\" ? \"CatalogGroup\" : \"VariantGroups\"\r\n }));\r\n }\r\n return result;\r\n};\r\n\r\nconst noLeaves = async (): Promise => {\r\n return [];\r\n};\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MultiLevelNavigationModal, {\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localValue).value = $event)),\n \"modal-title\": _ctx.$t('selectCatalogNodePath'),\n \"fetch-branches\": getCatalogNodes,\n \"fetch-leaves\": noLeaves,\n \"selectable-type\": ['branch'],\n onConfirm: onConfirm,\n \"selected-entry-id\": _ctx.selectedEntryId,\n \"selected-path\": _ctx.selectedPath,\n onHide: _cache[1] || (_cache[1] = ($event: any) => (emits('hide'))),\n onCancel: _cache[2] || (_cache[2] = ($event: any) => (emits('cancel'))),\n onClose: _cache[3] || (_cache[3] = ($event: any) => (emits('close')))\n }, null, 8, [\"modelValue\", \"modal-title\", \"selected-entry-id\", \"selected-path\"]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./CatalogNodePathSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CatalogNodePathSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport CatalogNodePathSelectionModal from \"@common/components/MultiLevelNavigation/CatalogNodePathSelectionModal.vue\";\r\nimport PathPresenter from \"@common/components/PathPresenter.vue\";\r\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { CatalogNodePath } from \"@medapro-types/ContentEditor/content-editor-store\";\r\nimport { Branch, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport { PathPresentedDataModel } from \"@medapro-types/common/components/PathPresenter\";\r\nimport catalogNodesApi from \"@services/catalogNodes.js\";\r\nimport _ from \"lodash\";\r\nimport { computed, nextTick, onMounted, reactive } from \"vue\";\r\n\r\n//#region General\r\ntype ViewModel = { selectedPath: PathPresentedDataModel[] };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CatalogPathRule',\n props: {\n value: {}\n },\n emits: [\"input\", \"deleteRule\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst vm = reactive({ selectedPath: [] });\r\n\r\nconst modals = reactive({ open: false });\r\n//#endregion\r\n\r\nconst localModel = computed({\r\n get() {\r\n return props.value;\r\n },\r\n set(nv) {\r\n emits(\"input\", nv);\r\n }\r\n});\r\n//#endregion\r\n\r\n//#region SelectedPath\r\nconst selectedPath = computed(() =>\r\n vm.selectedPath?.filter((x) => x.id != localModel.value).map((x, index) => ({ id: x.id, depth: index, name: x.name, parentId: null }))\r\n);\r\n//#endregion\r\n\r\n//#region EventHandler\r\nconst onHideHandler = () => {\r\n nextTick(() => {\r\n if (_.isEmpty(localModel.value)) emits(\"deleteRule\");\r\n });\r\n};\r\n\r\nconst onConfirm = async (data: MultiLevelNavigationConfirmModel) => {\r\n if (data.selection && data.selection.id) {\r\n localModel.value = data.selection.id;\r\n fetchAndSetPath(data.selection.id);\r\n }\r\n};\r\n\r\nconst fetchAndSetPath = async (id: string) => {\r\n const fetchedPath: CatalogNodePath = await catalogNodesApi.getCatalogNodePathInBaseCatalog(id, primaryLanguageCode.value);\r\n const mappedPath: PathPresentedDataModel[] = fetchedPath.map((x) => ({ id: x.nodeId, name: x.name }));\r\n mappedPath.unshift({ id: \"\", name: \"\", icon: \"Home\" });\r\n vm.selectedPath = mappedPath;\r\n};\r\n//#endregion\r\n\r\n//#region LifeCycle\r\nonMounted(() => {\r\n if (!props.value) {\r\n modals.open = true;\r\n } else {\r\n fetchAndSetPath(props.value);\r\n }\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"catalog-path-rule\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (modals.open = true))\n }, [\n (_openBlock(), _createElementBlock(\"div\", {\n class: \"path-presenter-wrapper\",\n key: localModel.value\n }, [\n _createVNode(PathPresenter, {\n modelValue: vm.selectedPath,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.selectedPath) = $event))\n }, null, 8, [\"modelValue\"])\n ])),\n _createVNode(CatalogNodePathSelectionModal, {\n modelValue: modals.open,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((modals.open) = $event)),\n onConfirm: onConfirm,\n onHide: onHideHandler,\n \"selected-entry-id\": localModel.value,\n \"selected-path\": selectedPath.value\n }, null, 8, [\"modelValue\", \"selected-entry-id\", \"selected-path\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./CatalogPathRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CatalogPathRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { vModelText as _vModelText, normalizeClass as _normalizeClass, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle } from \"vue\"\n\nconst _hoisted_1 = { class: \"time-picker\" }\nconst _hoisted_2 = [\"readonly\", \"disabled\", \"placeholder\"]\nconst _hoisted_3 = [\"popovertarget\", \"disabled\"]\nconst _hoisted_4 = [\"id\"]\nconst _hoisted_5 = { class: \"controls hour-controls\" }\nconst _hoisted_6 = { class: \"value-label\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"control-divider\" }, \":\", -1)\nconst _hoisted_8 = { class: \"controls minute-controls\" }\nconst _hoisted_9 = { class: \"value-label\" }\n\nimport Icon from \"@common/components/Icon.vue\";\r\nimport { Guid } from \"@util/guid\";\r\nimport _ from \"lodash\";\r\nimport moment, { Moment, unitOfTime } from \"moment\";\r\nimport { watch } from \"vue\";\r\nimport { computed, nextTick, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\nconst DEFAULT_DATE_V_MODEL_FORMAT = \"YYYY-MM-DD\";\r\nconst DEFAULT_TIME_V_MODEL_FORMAT = \"kk:mm\";\r\n\r\n//#region General\r\ntype ViewModel = { localValue: Moment | null };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MTimePicker',\n props: {\n value: {},\n buttonOnly: { type: Boolean },\n readonly: { type: Boolean },\n disabled: { type: Boolean },\n placeholder: {}\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\nconsole.debug(\"DEFAULT_DATE_V_MODEL_FORMAT: \", DEFAULT_DATE_V_MODEL_FORMAT);\r\nconst { d: $d } = useI18n();\r\n\r\nconst id = Guid.new();\r\nconst timePickerInput = ref(null);\r\nconst timePickerButton = ref(null);\r\nconst timePickerMenu = ref(null);\r\n\r\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst vm = reactive({ localValue: null });\r\n\r\nconst menuPosition = reactive({ x: 0, y: 0 });\r\nconst isOpen = ref(false);\r\n\r\n//#endregion\r\n\r\n//#region VisualContruction\r\n\r\nconst toggleHandler = (event: ToggleEvent) => {\r\n isOpen.value = event.newState == \"open\";\r\n calculatePositionOfMenu();\r\n};\r\n\r\nconst calculatePositionOfMenu = () => {\r\n menuPosition.x = 0;\r\n menuPosition.y = 0;\r\n nextTick(() => {\r\n if (timePickerMenu.value && timePickerButton.value) {\r\n const toggleRect = timePickerButton.value.getBoundingClientRect();\r\n const menuRect = timePickerMenu.value.getBoundingClientRect();\r\n const x = toggleRect.x - menuRect.right + toggleRect.width;\r\n let y = toggleRect.y - menuRect.y + toggleRect.height;\r\n if (menuRect.bottom + y > window.innerHeight) {\r\n y = toggleRect.y - menuRect.bottom;\r\n }\r\n menuPosition.x = x;\r\n menuPosition.y = y;\r\n }\r\n });\r\n};\r\n\r\n//#endregion\r\n\r\n//#region LocalValue\r\n\r\nwatch(\r\n () => props.value,\r\n (nv) => {\r\n if (!_.isEmpty(nv)) vm.localValue = moment(nv, DEFAULT_TIME_V_MODEL_FORMAT);\r\n },\r\n { immediate: true }\r\n);\r\n\r\nwatch(\r\n () => vm.localValue,\r\n (nv) => {\r\n emits(\"input\", nv?.format(DEFAULT_TIME_V_MODEL_FORMAT));\r\n },\r\n { deep: true }\r\n);\r\n\r\nconst changeValue = (unit: unitOfTime.DurationConstructor, value: number) => {\r\n if (!vm.localValue) vm.localValue = moment().startOf(\"minutes\");\r\n vm.localValue = moment(vm.localValue.add(value, unit));\r\n console.debug(vm.localValue?.format(DEFAULT_TIME_V_MODEL_FORMAT));\r\n};\r\n\r\nconst inputValue = computed({\r\n get: () => {\r\n if (vm.localValue && vm.localValue.isValid()) {\r\n return $d(vm.localValue.toDate(), \"shortTime\");\r\n } else return \"\";\r\n },\r\n set: (nv) => {\r\n const parsed = moment(`${nv}`, DEFAULT_TIME_V_MODEL_FORMAT);\r\n if (parsed.isValid()) vm.localValue = parsed;\r\n else {\r\n if (timePickerInput.value) {\r\n timePickerInput.value.value = vm.localValue ? $d(vm.localValue.toDate(), \"shortTime\") : \"\";\r\n }\r\n }\r\n }\r\n});\r\n\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_ctx.buttonOnly)\n ? _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 0,\n ref_key: \"timePickerInput\",\n ref: timePickerInput,\n class: _normalizeClass([\"time-picker-input\", { 'read-only': _ctx.readonly, disabled: _ctx.disabled }]),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event)),\n readonly: _ctx.readonly,\n disabled: _ctx.disabled,\n placeholder: _ctx.placeholder\n }, null, 10, _hoisted_2)), [\n [\n _vModelText,\n inputValue.value,\n void 0,\n { lazy: true }\n ]\n ])\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"time-picker-button\", { disabled: _ctx.disabled }]),\n popovertarget: `time-picker-${_unref(id)}`,\n ref_key: \"timePickerButton\",\n ref: timePickerButton,\n disabled: _ctx.disabled\n }, [\n _createVNode(Icon, { icon: \"Clock\" })\n ], 10, _hoisted_3),\n _createElementVNode(\"div\", {\n id: `time-picker-${_unref(id)}`,\n class: _normalizeClass([\"time-picker-menu\", { 'is-open': isOpen.value }]),\n popover: \"\",\n onToggle: toggleHandler,\n ref_key: \"timePickerMenu\",\n ref: timePickerMenu,\n style: _normalizeStyle({\r\n transform: `translate(${menuPosition.x}px, ${menuPosition.y}px)`\r\n })\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_b_btn, {\n class: \"add-btn btn-icon mono\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (changeValue('hour', 1)))\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronTop\" })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString((vm.localValue ?? _unref(moment)()).format(\"kk\")), 1),\n _createVNode(_component_b_btn, {\n class: \"sub-btn btn-icon mono\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (changeValue('hour', -1)))\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronBottom\" })\n ]),\n _: 1\n })\n ]),\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_b_btn, {\n class: \"add-btn btn-icon mono\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (changeValue('minute', 1)))\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronTop\" })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString((vm.localValue ?? _unref(moment)()).format(\"mm\")), 1),\n _createVNode(_component_b_btn, {\n class: \"sub-btn btn-icon mono\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (changeValue('minute', -1)))\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronBottom\" })\n ]),\n _: 1\n })\n ])\n ], 46, _hoisted_4)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MTimePicker.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MTimePicker.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"m-date-and-time-picker\" }\n\nimport MDatePicker from \"@/BasicComponentLibrary/MDatePicker.vue\";\r\nimport MTimePicker from \"@/BasicComponentLibrary/MTimePicker.vue\";\r\nimport moment from \"moment\";\r\nimport { watch } from \"vue\";\r\nimport { watchEffect } from \"vue\";\r\nimport { reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\n//#region Constants\r\n\r\nconst DEFAULT_DATE_V_MODEL_FORMAT = \"YYYY-MM-DD\";\r\nconst DEFAULT_TIME_V_MODEL_FORMAT = \"kk:mm\";\r\ntype ViewModel = { dateSelection: string | null; timeSelection: string | null };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MDateAndTimePicker',\n props: {\n value: {}\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\nconst TODAY = ref(moment());\r\nconst DEFAULT_DATE_TIME_V_MODEL_FORMAT = `${DEFAULT_DATE_V_MODEL_FORMAT} ${DEFAULT_TIME_V_MODEL_FORMAT}`;\r\n\r\n//#endregion\r\n\r\n//#region General\r\n\r\n\r\nconst { d: $d } = useI18n();\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst vm = reactive({ dateSelection: null, timeSelection: null });\r\n//#endregion\r\n\r\nwatch(\r\n () => props.value,\r\n (nv, ov) => {\r\n if (nv != ov) {\r\n const split = nv.split(\" \");\r\n vm.dateSelection = split[0] ?? null;\r\n vm.timeSelection = split[1] ?? null;\r\n }\r\n },\r\n { immediate: true }\r\n);\r\n\r\nwatchEffect(() => {\r\n let formattedValue = \"\";\r\n\r\n if (vm.dateSelection && vm.timeSelection) {\r\n formattedValue = moment(`${vm.dateSelection} ${vm.timeSelection}`).format(DEFAULT_DATE_TIME_V_MODEL_FORMAT);\r\n } else if (vm.dateSelection && !vm.timeSelection) {\r\n formattedValue = moment(`${vm.dateSelection}`).format(DEFAULT_DATE_V_MODEL_FORMAT);\r\n } else if (!vm.dateSelection && vm.timeSelection) {\r\n vm.dateSelection = TODAY.value.format(DEFAULT_DATE_V_MODEL_FORMAT);\r\n formattedValue = moment(`${vm.dateSelection} ${vm.timeSelection}`).format(DEFAULT_DATE_TIME_V_MODEL_FORMAT);\r\n }\r\n\r\n emits(\"input\", formattedValue);\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(MDatePicker, {\n modelValue: vm.dateSelection,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.dateSelection) = $event)),\n placeholder: _unref($d)(TODAY.value.toDate(), 'shortDate')\n }, null, 8, [\"modelValue\", \"placeholder\"]),\n _createVNode(MTimePicker, {\n modelValue: vm.timeSelection,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((vm.timeSelection) = $event)),\n placeholder: _unref($d)(TODAY.value.toDate(), 'shortTime')\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MDateAndTimePicker.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MDateAndTimePicker.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"date-rule\" }\n\nimport { computed } from \"vue\";\r\nimport MDateTimePicker from \"@/BasicComponentLibrary/MDateAndTimePicker.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'DateRule',\n props: {\n value: {}\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\nconst localModal = computed({\r\n get: () => {\r\n return props.value;\r\n },\r\n set: (nv) => {\r\n emits(\"input\", nv);\r\n }\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(MDateTimePicker, {\n modelValue: localModal.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localModal).value = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./DateRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DateRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"drop-down-rule\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"status-entry\"\n}\nconst _hoisted_3 = { class: \"entry-text\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"status-entry\"\n}\nconst _hoisted_5 = { class: \"entry-text\" }\n\nimport MSelect from \"@/BasicComponentLibrary/MSelect.vue\";\r\nimport { SelectionListModel } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport _ from \"lodash\";\r\nimport { computed } from \"vue\";\r\n\r\n//#region General\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'DropDownRule',\n props: {\n value: {},\n items: { default: () => [] }\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region items\r\nconst currentIdFieldName = computed(() => {\r\n const firstElement = _.first(props.items);\r\n if (firstElement) {\r\n const foundIdName = Object.keys(firstElement).find((x) => x.endsWith(\"Id\"));\r\n if (foundIdName) return foundIdName;\r\n }\r\n return null;\r\n});\r\n//#endregion\r\n\r\n//#region Update localModal\r\nconst localModel = computed({\r\n get() {\r\n return props.value;\r\n },\r\n set(nv) {\r\n emits(\"input\", nv);\r\n }\r\n});\r\n\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (currentIdFieldName.value)\n ? (_openBlock(), _createBlock(MSelect, {\n key: 0,\n modelValue: localModel.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localModel).value = $event)),\n items: _ctx.items,\n \"text-field\": \"name\",\n \"display-field\": \"name\",\n \"value-field\": currentIdFieldName.value\n }, {\n \"button-content\": _withCtx(({ selectedItem }) => [\n (selectedItem && selectedItem.color)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: \"color-block\",\n style: _normalizeStyle({ backgroundColor: `#${selectedItem.color.substring(2, selectedItem.color.length)}` })\n }, null, 4),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(selectedItem?.name), 1)\n ]))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(_toDisplayString(selectedItem?.name), 1)\n ], 64))\n ]),\n \"item-template\": _withCtx(({ entry }) => [\n (Object.hasOwn(entry, 'color'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (entry.color)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"color-block\",\n style: _normalizeStyle({ backgroundColor: `#${(entry).color!.substring(2, (entry).color!.length)}` })\n }, null, 4))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(entry.name), 1)\n ]))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(_toDisplayString(entry.name), 1)\n ], 64))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"items\", \"value-field\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\r\n\r\n","import script from \"./DropDownRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DropDownRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"number-rule\" }\n\nimport { reactive, watch } from \"vue\";\r\n\r\n//#region General\r\ntype ViewModel = { localModel: number | null };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'NumberRule',\n props: {\n value: {}\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst initValueHelper = parseInt(props.value);\r\nconst vm = reactive({ localModel: isNaN(initValueHelper) ? null : initValueHelper });\r\n//#endregion\r\n\r\n//#region Update vModel\r\nwatch(\r\n () => vm.localModel,\r\n (nv) => {\r\n emits(\"input\", `${nv ?? \"\"}`);\r\n },\r\n { immediate: true }\r\n);\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_input = _resolveComponent(\"b-input\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_b_input, {\n type: \"number\",\n modelValue: vm.localModel,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.localModel) = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./NumberRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./NumberRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { ERPSection } from \"@medapro-types/ContentEditor/Components/ExcelEditEditor\";\r\nimport { ErpAttributeModel } from \"@medapro-types/common/common\";\r\nimport { Branch, Leaf, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport erpAttributesApi from \"@services/erpAttributes.js\";\r\nimport erpSectionsApi from \"@services/erpSections.js\";\r\nimport { computed } from \"vue\";\r\nimport MultiLevelNavigationModal from \"./MultiLevelNavigationModal.vue\";\r\n\r\nconst BRANCH_ICON = \"Section\";\r\nconst LEAF_ICON = \"Attribute\";\r\n\r\n//#region General\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ERPAttributeSelectionModal',\n props: {\n value: { type: Boolean },\n selectedEntryId: {},\n selectedPath: {}\n },\n emits: [\"confirm\", \"cancel\", \"close\", \"input\", \"hide\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\nconst onConfirm = (event: MultiLevelNavigationConfirmModel) => {\r\n emits(\"confirm\", event);\r\n};\r\n\r\n//#region localValue\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n\r\n//#endregion\r\n\r\n//#region FetchMethods\r\nconst getERPSection = async (groupId: string | null | undefined): Promise => {\r\n if (groupId || groupId === \"\") return [];\r\n const fetchResult: Record[] = await erpSectionsApi.get([primaryLanguageCode.value]);\r\n\r\n return fetchResult.map((x) => ({\r\n id: x[primaryLanguageCode.value].erpSectionId,\r\n depth: 0,\r\n name: x[primaryLanguageCode.value].name,\r\n parentId: \"\",\r\n icon: BRANCH_ICON\r\n }));\r\n};\r\n\r\nconst getErpAttribute = async (sectionId: string | null | undefined): Promise => {\r\n if (!sectionId) return [];\r\n const fetchResult: Record[] = await erpAttributesApi.get([primaryLanguageCode.value], sectionId);\r\n return fetchResult.map((x) => ({\r\n id: x[primaryLanguageCode.value].erpAttributeId,\r\n name: x[primaryLanguageCode.value].name,\r\n dataType: x[primaryLanguageCode.value].dataType,\r\n icon: LEAF_ICON\r\n }));\r\n};\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MultiLevelNavigationModal, {\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localValue).value = $event)),\n \"modal-title\": _ctx.$t('selectErpAttribute'),\n \"fetch-branches\": getERPSection,\n \"fetch-leaves\": getErpAttribute,\n \"selectable-type\": ['leaf'],\n \"selected-entry-id\": _ctx.selectedEntryId,\n \"selected-path\": _ctx.selectedPath,\n \"with-all\": \"\",\n onConfirm: onConfirm,\n onHide: _cache[1] || (_cache[1] = ($event: any) => (emits('hide'))),\n onCancel: _cache[2] || (_cache[2] = ($event: any) => (emits('cancel'))),\n onClose: _cache[3] || (_cache[3] = ($event: any) => (emits('close')))\n }, null, 8, [\"modelValue\", \"modal-title\", \"selected-entry-id\", \"selected-path\"]))\n}\n}\n\n})","import script from \"./ERPAttributeSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ERPAttributeSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { GlobalAttribute } from \"@medapro-types/common/common\";\r\nimport { Branch, Leaf, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport globalAttributesApi from \"@services/globalAttributes.js\";\r\nimport { computed } from \"vue\";\r\nimport MultiLevelNavigationModal from \"./MultiLevelNavigationModal.vue\";\r\n\r\nconst LEAF_ICON = \"Attribute\";\r\n\r\n//#region General\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GlobalAttributeSelectionModal',\n props: {\n value: { type: Boolean },\n selectedEntryId: {}\n },\n emits: [\"confirm\", \"input\", \"cancel\", \"close\", \"hide\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\nconst onConfirm = (event: MultiLevelNavigationConfirmModel) => {\r\n emits(\"confirm\", event);\r\n};\r\n\r\n//#region localValue\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n\r\n//#endregion\r\n\r\n//#region FetchMethods\r\nconst getNoBranches = async (): Promise => {\r\n return [];\r\n};\r\n\r\nconst getGlobalAttributes = async (): Promise => {\r\n const fetchResult: Record[] = await globalAttributesApi.get([primaryLanguageCode.value]);\r\n\r\n return fetchResult.map((x) => ({\r\n id: x[primaryLanguageCode.value].globalAttributeId,\r\n name: x[primaryLanguageCode.value].name,\r\n dataType: x[primaryLanguageCode.value].dataType,\r\n icon: LEAF_ICON\r\n }));\r\n};\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MultiLevelNavigationModal, {\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localValue).value = $event)),\n \"modal-title\": _ctx.$t('selectGlobalAttribute'),\n \"fetch-branches\": getNoBranches,\n \"fetch-leaves\": getGlobalAttributes,\n \"selected-entry-id\": _ctx.selectedEntryId,\n \"selectable-type\": ['leaf'],\n \"with-all\": \"\",\n onConfirm: onConfirm,\n onHide: _cache[1] || (_cache[1] = ($event: any) => (emits('hide'))),\n onCancel: _cache[2] || (_cache[2] = ($event: any) => (emits('cancel'))),\n onClose: _cache[3] || (_cache[3] = ($event: any) => (emits('close')))\n }, null, 8, [\"modelValue\", \"modal-title\", \"selected-entry-id\"]))\n}\n}\n\n})","import script from \"./GlobalAttributeSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GlobalAttributeSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\n\r\nimport { AttributeDataType } from \"@medapro-types/common/common-enum\";\r\nimport { Branch, Leaf, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport { ArticleMediaAssets } from \"@medapro-types/ContentEditor/content-editor-store\";\r\n\r\nimport mediaAssetsApi from \"@services/mediaAssets.js\";\r\n\r\nimport { computed } from \"vue\";\r\n\r\nimport MultiLevelNavigationModal from \"./MultiLevelNavigationModal.vue\";\r\n\r\n//#region General\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MediaAssetValueSelectionModal',\n props: {\n value: { type: Boolean },\n selectedEntryId: {}\n },\n emits: [\"confirm\", \"cancel\", \"close\", \"input\", \"hide\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\nconst onConfirm = (event: MultiLevelNavigationConfirmModel) => {\r\n emits(\"confirm\", event);\r\n};\r\n\r\n//#region localValue\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n\r\n//#endregion\r\n\r\n//#region FetchMethods\r\nconst getNoBranches = async (): Promise => {\r\n return [];\r\n};\r\n\r\nconst getMediaAssetValues = async (): Promise => {\r\n const fetched: Array> = await mediaAssetsApi.get([primaryLanguageCode.value], \"Article\");\r\n\r\n return fetched.map((x) => ({\r\n id: x[primaryLanguageCode.value].mediaAssetId,\r\n name: x[primaryLanguageCode.value].mediaAssetName,\r\n dataType: AttributeDataType.AttributeDataTypeAlphanumerical,\r\n icon: \"MediaAsset\"\r\n }));\r\n};\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MultiLevelNavigationModal, {\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localValue).value = $event)),\n \"modal-title\": _ctx.$t('selectMediaAssetValue'),\n \"fetch-branches\": getNoBranches,\n \"fetch-leaves\": getMediaAssetValues,\n \"selectable-type\": ['leaf'],\n \"selected-entry-id\": _ctx.selectedEntryId,\n \"with-all\": \"\",\n onConfirm: onConfirm,\n onHide: _cache[1] || (_cache[1] = ($event: any) => (emits('hide'))),\n onCancel: _cache[2] || (_cache[2] = ($event: any) => (emits('cancel'))),\n onClose: _cache[3] || (_cache[3] = ($event: any) => (emits('close')))\n }, null, 8, [\"modelValue\", \"modal-title\", \"selected-entry-id\"]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MediaAssetValueSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MediaAssetValueSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { Attribute, AttributeGroup } from \"@medapro-types/common/common\";\r\nimport { Branch, Leaf, MultiLevelNavigationConfirmModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport articleApi from \"@services/article.js\";\r\nimport attributesApi from \"@services/attributes.js\";\r\nimport { computed } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport MultiLevelNavigationModal from \"./MultiLevelNavigationModal.vue\";\r\n\r\nconst BRANCH_ICON = \"AttributeGroup1\";\r\nconst LEAF_ICON = \"Attribute\";\r\n\r\n//#region General\r\nconst BASE_ATTRIBUTE_GROUP_ID = \"67f7f916-0654-44b4-9632-d0d895b66630\";\r\n//#endregion\r\n\r\n//#region localValue\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TextTableAttributeSelectionModal',\n props: {\n value: { type: Boolean },\n attributeType: {},\n selectedEntryId: {},\n selectedPath: {}\n },\n emits: [\"confirm\", \"cancel\", \"close\", \"input\", \"hide\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\n\r\nconst { t: $t } = useI18n();\r\n\r\nconst modalTitle = computed(() => {\r\n switch (props.attributeType) {\r\n case \"text\":\r\n return $t(\"selectTextAttribute\");\r\n case \"table\":\r\n return $t(\"selectTableAttribute\");\r\n default:\r\n return \"\";\r\n }\r\n});\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\nconst primaryLanguageCode = computed(() => {\r\n return contentLanguages.value.enabled[0].languageCode;\r\n});\r\n//#endregion\r\n\r\nconst onConfirm = (event: MultiLevelNavigationConfirmModel) => {\r\n emits(\"confirm\", event);\r\n};\r\n\r\n//#region CONSTANTS\r\nconst localValue = computed({\r\n get: () => props.value,\r\n set: (nv) => emits(\"input\", nv)\r\n});\r\n\r\n//#endregion\r\n\r\n//#region FetchMethods\r\nconst getAttributeGroups = async (groupId: string | null | undefined): Promise => {\r\n const fetchResult: AttributeGroup[] = await articleApi.getAttributeGroups({\r\n language: primaryLanguageCode.value,\r\n id: groupId ?? BASE_ATTRIBUTE_GROUP_ID\r\n });\r\n return fetchResult.map((x) => ({ id: x.attributeGroupId, depth: x.depth, name: x.name, parentId: x.parentId, icon: BRANCH_ICON }));\r\n};\r\n\r\nconst getAttributes = async (groupId: string | null | undefined): Promise => {\r\n const consideredGroupId = groupId ?? BASE_ATTRIBUTE_GROUP_ID;\r\n const fetchResult: Record[] = await attributesApi.get([primaryLanguageCode.value], consideredGroupId, props.attributeType == \"text\");\r\n\r\n return fetchResult\r\n .filter((x) => x[primaryLanguageCode.value].attributeGroupId == consideredGroupId)\r\n .map((x) => ({\r\n id: x[primaryLanguageCode.value].attributeId,\r\n name: x[primaryLanguageCode.value].name,\r\n dataType: x[primaryLanguageCode.value].dataType,\r\n icon: LEAF_ICON\r\n }));\r\n};\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MultiLevelNavigationModal, {\n modelValue: localValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localValue).value = $event)),\n \"modal-title\": modalTitle.value,\n \"fetch-branches\": getAttributeGroups,\n \"fetch-leaves\": getAttributes,\n \"selectable-type\": ['leaf'],\n \"selected-entry-id\": _ctx.selectedEntryId,\n \"selected-path\": _ctx.selectedPath,\n \"with-all\": \"\",\n onConfirm: onConfirm,\n onHide: _cache[1] || (_cache[1] = ($event: any) => (emits('hide'))),\n onCancel: _cache[2] || (_cache[2] = ($event: any) => (emits('cancel'))),\n onClose: _cache[3] || (_cache[3] = ($event: any) => (emits('close')))\n }, null, 8, [\"modelValue\", \"modal-title\", \"selected-entry-id\", \"selected-path\"]))\n}\n}\n\n})","import script from \"./TextTableAttributeSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TextTableAttributeSelectionModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"string-rule\" }\n\nimport { reactive, watch } from \"vue\";\r\n\r\n//#region General\r\ntype ViewModel = { localModel: string };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StringRule',\n props: {\n value: {}\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({ localModel: props.value });\r\n//#endregion\r\n\r\n//#region Update vModel\r\nwatch(\r\n () => vm.localModel,\r\n (nv) => {\r\n emits(\"input\", nv);\r\n }\r\n);\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_input = _resolveComponent(\"b-input\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_b_input, {\n type: \"text\",\n modelValue: vm.localModel,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.localModel) = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","\r\n\r\n","import script from \"./StringRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StringRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"preselection-rule\" }\nconst _hoisted_2 = { class: \"criteria-name\" }\nconst _hoisted_3 = { class: \"criteria-data\" }\nconst _hoisted_4 = { class: \"preselection-data\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"connection-text\"\n}\nconst _hoisted_6 = {\n key: 1,\n class: \"attribute-group\"\n}\nconst _hoisted_7 = { class: \"criteria-manipulation\" }\nconst _hoisted_8 = { class: \"criteria-operator\" }\nconst _hoisted_9 = { class: \"criteria-value\" }\nconst _hoisted_10 = { class: \"criteria-meta-info\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"query-builder-rule-language-selection\"\n}\nconst _hoisted_12 = { class: \"query-builder-rule-actions\" }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Close\" }, null, -1)\n\nimport MSelect from \"@/BasicComponentLibrary/MSelect.vue\";\r\nimport { getTranslatedSelectionOpsList } from \"@AdvancedSearch/Util/opsLookUp\";\r\nimport ERPAttributeSelectionModal from \"@common/components/MultiLevelNavigation/ERPAttributeSelectionModal.vue\";\r\nimport GlobalAttributeSelectionModal from \"@common/components/MultiLevelNavigation/GlobalAttributeSelectionModal.vue\";\r\nimport MediaAssetValueSelectionModal from \"@common/components/MultiLevelNavigation/MediaAssetValueSelectionModal.vue\";\r\nimport TextTableAttributeSelectionModal from \"@common/components/MultiLevelNavigation/TextTableAttributeSelectionModal.vue\";\r\nimport PathPresenter from \"@common/components/PathPresenter.vue\";\r\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { AllowedOps, DataUITypes, OpsSelectionModel, QueryBuilderRule, SearchTypes } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport { AttributeDataType } from \"@medapro-types/common/common-enum\";\r\nimport { MultiLevelNavigationConfirmModel, MultiLevelNavigationSelectionModel } from \"@medapro-types/common/components/MultiLevelNavigation\";\r\nimport { LanguageModel } from \"@medapro-types/Exports/components/common/DataSelectionCard\";\r\nimport attributesApi from \"@services/attributes.js\";\r\nimport erpAttributesApi from \"@services/erpAttributes.js\";\r\nimport globalAttributesApi from \"@services/globalAttributes.js\";\r\nimport mediaAssets from \"@services/mediaAssets.js\";\r\nimport _ from \"lodash\";\r\nimport { computed, inject, nextTick, onMounted, reactive, Ref, unref, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport BoolRule from \"../QueryRules/BoolRule.vue\";\r\nimport DateRule from \"../QueryRules/DateRule.vue\";\r\nimport NumberRule from \"../QueryRules/NumberRule.vue\";\r\nimport StringRule from \"../QueryRules/StringRule.vue\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n localModel: QueryBuilderRule;\r\n ops: OpsSelectionModel[];\r\n localDataValueType: DataUITypes | null;\r\n preselectionInfo: Record | null | undefined;\r\n};\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PreselectionRule',\n props: {\n value: {},\n languageRequired: { type: [Boolean, null] }\n },\n emits: [\"input\", \"deleteRule\", \"refreshBackground\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\nconst { t: $t } = useI18n();\r\n\r\nconst localizedLanguages = inject>(\"localizedLanguages\");\r\nconst isBusy = inject>(\"advancedSearchIsBusy\");\r\n//#endregion\r\n\r\n//#region Store\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\nconst primaryLanguageCode = computed(() => {\r\n return unref(contentLanguages).enabled[0].languageCode;\r\n});\r\n\r\n//#endregion\r\n\r\n//#region Languages\r\nconst languageSelection = computed(() => {\r\n const result = [\r\n { id: \"\", name: `<${$t(\"all\")}>` },\r\n ...(unref(localizedLanguages)?.map((x) => ({\r\n id: x.languageCode,\r\n name: x.localizedName\r\n })) ?? [])\r\n ];\r\n\r\n return result;\r\n});\r\n\r\n//#endregion\r\n\r\n//#region Busy\r\nconst setBusyState = (busyValue: boolean) => {\r\n if (isBusy) {\r\n isBusy.value = busyValue;\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region Modal\r\nconst getAttributeTypeComponent = () => {\r\n switch (vm.localModel.searchType) {\r\n case \"tableAttribute\":\r\n case \"textAttribute\":\r\n return TextTableAttributeSelectionModal;\r\n case \"globalAttribute\":\r\n return GlobalAttributeSelectionModal;\r\n case \"erpAttribute\":\r\n return ERPAttributeSelectionModal;\r\n case \"mediaAssetValue\":\r\n return MediaAssetValueSelectionModal;\r\n }\r\n};\r\n\r\nconst allEntry: MultiLevelNavigationSelectionModel = {\r\n id: null,\r\n name: `<${$t(\"all\")}>`,\r\n type: \"all\",\r\n dataType: AttributeDataType.AttributeDataTypeAlphanumerical\r\n};\r\n\r\nconst loadPreselectionInfo = async (searchType: SearchTypes) => {\r\n setBusyState(true);\r\n if (vm.localModel.preselection === null) {\r\n vm.preselectionInfo = allEntry;\r\n } else {\r\n if (vm.localModel.preselection && vm.localModel.preselection != \"unselected\" && !vm.preselectionInfo) {\r\n let fetchedList: any[] = [];\r\n let baseNodeIndex: number;\r\n switch (searchType) {\r\n case \"tableAttribute\":\r\n case \"textAttribute\":\r\n fetchedList = await attributesApi.getDetails(primaryLanguageCode.value, [vm.localModel.preselection]);\r\n\r\n vm.preselectionInfo = _.first(fetchedList);\r\n if (vm.preselectionInfo && vm.preselectionInfo.paths) {\r\n baseNodeIndex = _.findIndex(vm.preselectionInfo.paths, (x: any) => x.id == \"67f7f916-0654-44b4-9632-d0d895b66630\");\r\n if (baseNodeIndex != -1) vm.preselectionInfo.paths.splice(baseNodeIndex, 1);\r\n }\r\n break;\r\n case \"erpAttribute\":\r\n fetchedList = await erpAttributesApi.getDetails(primaryLanguageCode.value, [vm.localModel.preselection]);\r\n vm.preselectionInfo = _.first(fetchedList);\r\n break;\r\n case \"globalAttribute\":\r\n fetchedList = await globalAttributesApi.getDetails(primaryLanguageCode.value, [vm.localModel.preselection]);\r\n vm.preselectionInfo = _.first(fetchedList);\r\n break;\r\n case \"mediaAssetValue\":\r\n fetchedList = await mediaAssets.getDetails(primaryLanguageCode.value, [vm.localModel.preselection]);\r\n vm.preselectionInfo = _.first(fetchedList);\r\n if (vm.preselectionInfo) vm.preselectionInfo.dataType = AttributeDataType.AttributeDataTypeAlphanumerical;\r\n break;\r\n }\r\n } else vm.localModel.preselection = \"unselected\";\r\n }\r\n setBusyState(false);\r\n};\r\n\r\nconst onSelection = (event: MultiLevelNavigationConfirmModel) => {\r\n if (event.selection) {\r\n vm.localModel.preselection = event.selection.id;\r\n vm.preselectionInfo = event.selection;\r\n setLocalDataValueType();\r\n }\r\n if (event.paths) {\r\n const paths = _.cloneDeep(event.paths);\r\n paths.forEach((x) => delete x.icon);\r\n paths.unshift({ id: \"\", name: null, fallbackName: null, depth: 0, icon: \"Home\", parentId: null });\r\n if (vm.preselectionInfo) Object.assign(vm.preselectionInfo, { paths });\r\n }\r\n};\r\n\r\nconst onAttributeCancel = () => {\r\n if (vm.localModel.preselection == \"unselected\") emits(\"deleteRule\");\r\n};\r\n\r\nconst getValueSelectionComponentByType = () => {\r\n switch (vm.localDataValueType) {\r\n case \"numeric\":\r\n return NumberRule;\r\n case \"logical\":\r\n return BoolRule;\r\n case \"date\":\r\n return DateRule;\r\n\r\n default:\r\n return StringRule;\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({\r\n localModel: props.value,\r\n ops: [],\r\n localDataValueType: null,\r\n preselectionInfo: null\r\n});\r\n\r\nconst modals = reactive({ isOpen: false });\r\n//#endregion\r\n\r\n//#region Controle\r\nconst showAttributeGroupsPath = computed(() => {\r\n return vm.localModel.searchType != \"globalAttribute\" && vm.localModel.searchType != \"mediaAssetValue\" && vm.localModel.preselection !== null;\r\n});\r\n//#endregion\r\n\r\n//#region LocalDataValueType\r\n\r\nconst setLocalDataValueType = () => {\r\n if (vm.preselectionInfo) {\r\n switch (vm.preselectionInfo.dataType) {\r\n case AttributeDataType.AttributeDataTypeAlphanumerical:\r\n vm.localDataValueType = \"alphanumeric\";\r\n break;\r\n case AttributeDataType.AttributeDataTypeDate:\r\n vm.localDataValueType = \"date\";\r\n break;\r\n case AttributeDataType.AttributeDataTypeInterval:\r\n vm.localDataValueType = \"interval\";\r\n break;\r\n case AttributeDataType.AttributeDataTypeLogical:\r\n vm.localDataValueType = \"logical\";\r\n break;\r\n case AttributeDataType.AttributeDataTypeNumerical:\r\n vm.localDataValueType = \"numeric\";\r\n break;\r\n }\r\n if (vm.localDataValueType && !vm.localModel.operator) {\r\n const firstOperator = _.first(vm.ops);\r\n vm.localModel.operator = firstOperator ? firstOperator.id : null;\r\n }\r\n }\r\n};\r\n\r\nwatch(\r\n () => vm.localDataValueType,\r\n (nv) => {\r\n if (nv) {\r\n vm.ops = getTranslatedSelectionOpsList(nv);\r\n }\r\n },\r\n { immediate: true }\r\n);\r\n//#endregion\r\n\r\n//#region LifeCycle\r\nonMounted(async () => {\r\n await loadPreselectionInfo(vm.localModel.searchType);\r\n setLocalDataValueType();\r\n if (props.languageRequired) {\r\n vm.localModel.dataLanguage = unref(primaryLanguageCode);\r\n }\r\n nextTick(() => {\r\n if (vm.localModel.dataLanguage) {\r\n vm.localModel.dataLanguage = \"\";\r\n }\r\n if (!vm.localModel.operator) {\r\n vm.localModel.operator = (_.first(vm.ops)?.id ?? \"equals\") satisfies AllowedOps;\r\n }\r\n if (vm.localModel.preselection == \"unselected\") {\r\n modals.isOpen = true;\r\n }\r\n });\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_unref($t)(\"AdvancedSearch.SearchType.\" + vm.localModel.searchType)), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_b_btn, {\n variant: \"link\",\n class: \"attribute-value\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (modals.isOpen = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(vm.preselectionInfo ? vm.preselectionInfo?.name : \"\"), 1)\n ]),\n _: 1\n }),\n (showAttributeGroupsPath.value && vm.preselectionInfo?.paths && vm.preselectionInfo.paths.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _toDisplayString(_unref($t)(\"in\")), 1))\n : _createCommentVNode(\"\", true),\n (showAttributeGroupsPath.value && vm.preselectionInfo?.paths)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(PathPresenter, {\n modelValue: vm.preselectionInfo.paths,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((vm.preselectionInfo.paths) = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(MSelect, {\n modelValue: vm.localModel.operator,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((vm.localModel.operator) = $event)),\n items: vm.ops,\n textField: \"name\",\n valueField: \"id\"\n }, null, 8, [\"modelValue\", \"items\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(getValueSelectionComponentByType()), {\n modelValue: vm.localModel.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((vm.localModel.value) = $event))\n }, null, 8, [\"modelValue\"]))\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n (props.languageRequired)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(MSelect, {\n modelValue: vm.localModel.dataLanguage,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((vm.localModel.dataLanguage) = $event)),\n items: languageSelection.value,\n textField: \"name\",\n valueField: \"id\"\n }, null, 8, [\"modelValue\", \"items\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (emits('deleteRule')))\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n })\n ])\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(getAttributeTypeComponent()), {\n modelValue: modals.isOpen,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((modals.isOpen) = $event)),\n \"attribute-type\": vm.localModel.searchType == 'textAttribute' ? 'text' : 'table',\n \"selected-entry-id\": vm.preselectionInfo?.id,\n \"selected-path\": vm.preselectionInfo?.paths,\n onConfirm: onSelection,\n onHide: onAttributeCancel\n }, null, 40, [\"modelValue\", \"attribute-type\", \"selected-entry-id\", \"selected-path\"]))\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./PreselectionRule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PreselectionRule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, Fragment as _Fragment, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = [\"id\"]\nconst _hoisted_2 = { class: \"query-builder-rule-selected-searchType\" }\nconst _hoisted_3 = { class: \"criteria-manipulation\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"preselection-list\"\n}\nconst _hoisted_5 = { class: \"rule-ops-value\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"query-builder-rule-ops-selection\"\n}\nconst _hoisted_7 = { class: \"query-builder-rule-value-selection\" }\nconst _hoisted_8 = { class: \"criteria-meta-info\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"query-builder-rule-language-selection\"\n}\nconst _hoisted_10 = { class: \"query-builder-rule-actions\" }\n\nimport MSelect from \"@/BasicComponentLibrary/MSelect.vue\";\r\nimport { getTranslatedSelectionOpsList } from \"@AdvancedSearch/Util/opsLookUp\";\r\nimport { AllowedOps, FetchableData, QueryBuilderRule } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport { LanguageModel } from \"@medapro-types/Exports/components/common/DataSelectionCard\";\r\nimport { Guid } from \"@util/guid\";\r\nimport _ from \"lodash\";\r\nimport { Ref, computed, inject, nextTick, onMounted, reactive, unref, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport AttributeGroupRule from \"./QueryRules/AttributeGroupRule.vue\";\r\nimport BoolRule from \"./QueryRules/BoolRule.vue\";\r\nimport CatalogPathRule from \"./QueryRules/CatalogPathRule.vue\";\r\nimport DateRule from \"./QueryRules/DateRule.vue\";\r\nimport DropDownRule from \"./QueryRules/DropDownRule.vue\";\r\nimport NumberRule from \"./QueryRules/NumberRule.vue\";\r\nimport PreselectionRule from \"./QueryRules/PreselectionRule.vue\";\r\nimport StringRule from \"./QueryRules/StringRule.vue\";\r\nimport Icon from \"@common/components/Icon.vue\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n id: string;\r\n localModel: QueryBuilderRule;\r\n};\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Rule',\n props: {\n value: {},\n path: {},\n isLanguageDependent: { type: Boolean }\n },\n emits: [\"input\", \"deleteRule\", \"refreshBackground\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\nconst { t: $t } = useI18n();\r\n\r\n\r\n//#endregion\r\n\r\n//#region ViewModel\r\n\r\nconst vm = reactive({\r\n id: props.value.ruleId ?? Guid.new(),\r\n localModel: props.value\r\n});\r\n\r\n//#endregion\r\n\r\n//#region FetchedData\r\nconst fetchedData = inject>(\"fetchedData\");\r\nconst dataConfig = computed(() => unref(fetchedData)?.find((x) => x.searchType === vm.localModel.searchType));\r\n\r\nconst localizedLanguages = inject>(\"localizedLanguages\");\r\n//#endregion\r\n\r\n//#region Update vModel\r\nwatch(\r\n vm.localModel,\r\n (nv) => {\r\n emits(\"input\", nv);\r\n },\r\n { immediate: true, deep: true }\r\n);\r\n//#endregion\r\n\r\n//#region Rule Value Selection\r\nconst isSpecialRule = computed(() => {\r\n return vm.localModel.dataUIType == \"preselectTree\";\r\n});\r\n\r\nconst operators = computed(() => {\r\n if (vm.localModel.dataUIType != \"preselectList\") {\r\n return getTranslatedSelectionOpsList(vm.localModel.dataUIType);\r\n }\r\n const foundEntry = getPreselectionEntry();\r\n return foundEntry === \"Double\" ? getTranslatedSelectionOpsList(\"numeric\") : getTranslatedSelectionOpsList(\"alphanumeric\");\r\n});\r\n\r\nconst getValueSelectionComponentByType = () => {\r\n let foundEntry;\r\n switch (vm.localModel.dataUIType) {\r\n case \"selectionList\":\r\n return DropDownRule;\r\n case \"numeric\":\r\n return NumberRule;\r\n case \"logical\":\r\n return BoolRule;\r\n case \"date\":\r\n return DateRule;\r\n case \"catalogNode\":\r\n return CatalogPathRule;\r\n case \"attributeGroup\":\r\n return AttributeGroupRule;\r\n case \"preselectList\":\r\n foundEntry = getPreselectionEntry();\r\n return foundEntry === \"Double\" ? NumberRule : StringRule;\r\n default:\r\n return StringRule;\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region PreselectionEntry\r\nfunction getPreselectionEntry() {\r\n const foundEntry = dataConfig.value?.selection.find((x) => x[currentIdFieldName.value ?? \"id\"] == vm.localModel.preselection);\r\n return !foundEntry ? null : foundEntry.dataType;\r\n}\r\n//#region Languages\r\nconst languageSelection = computed(() => {\r\n const result = [\r\n { id: \"\", name: `<${$t(\"all\")}>` },\r\n ...(unref(localizedLanguages)?.map((x) => ({\r\n id: x.languageCode,\r\n name: x.localizedName\r\n })) ?? [])\r\n ];\r\n\r\n return result;\r\n});\r\n//#endregion\r\n\r\n//#region PreselectionList\r\n\r\nconst sortedSelectionList = computed(() => {\r\n const allValue: Record = { name: `<${$t(\"all\")}>` };\r\n const idKey = unref(currentIdFieldName);\r\n\r\n if (idKey) allValue[idKey] = null;\r\n\r\n return dataConfig.value ? [allValue, ..._.sortBy(dataConfig.value?.selection, (x) => x.name)] : [];\r\n});\r\n\r\nconst currentIdFieldName = computed(() => {\r\n if (dataConfig.value?.uiType === \"preselectList\") {\r\n const firstElement = _.first(dataConfig.value?.selection);\r\n if (firstElement) {\r\n const foundIdName = Object.keys(firstElement).find((x) => x.endsWith(\"Id\"));\r\n if (foundIdName) return foundIdName;\r\n }\r\n }\r\n return null;\r\n});\r\n\r\n//#endregion\r\n\r\n//#region LanguageSelection\r\nwatch(\r\n () => dataConfig.value?.languageDependent,\r\n (nv) => {\r\n if (nv && !vm.localModel.dataLanguage) {\r\n vm.localModel.dataLanguage = \"\";\r\n }\r\n },\r\n { immediate: true }\r\n);\r\n//#endregion\r\n\r\n//#region LifeCycle\r\n\r\nonMounted(() => {\r\n if (!vm.localModel.ruleId) {\r\n vm.localModel.ruleId = vm.id;\r\n }\r\n\r\n nextTick(() => {\r\n if (!vm.localModel.operator) {\r\n vm.localModel.operator = (_.first(operators.value)?.id ?? \"equals\") satisfies AllowedOps;\r\n }\r\n\r\n if (dataConfig.value?.uiType === \"preselectList\" && !vm.localModel.preselection) {\r\n const firstElement = _.first(sortedSelectionList.value);\r\n if (firstElement) {\r\n const foundIdName = Object.keys(firstElement).find((x) => x.endsWith(\"Id\"));\r\n if (foundIdName) vm.localModel.preselection = firstElement[foundIdName];\r\n }\r\n }\r\n });\r\n});\r\n\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"query-builder-rule\", { 'query-builder-rule-lg': isSpecialRule.value }]),\n id: vm.id\n }, [\n (!isSpecialRule.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_unref($t)(\"AdvancedSearch.SearchType.\" + vm.localModel.searchType)), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n (dataConfig.value?.uiType === 'preselectList')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(MSelect, {\n modelValue: vm.localModel.preselection,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.localModel.preselection) = $event)),\n items: sortedSelectionList.value,\n textField: \"name\",\n \"value-field\": currentIdFieldName.value ?? 'id'\n }, null, 8, [\"modelValue\", \"items\", \"value-field\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n (operators.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(MSelect, {\n class: \"w-100\",\n modelValue: vm.localModel.operator,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((vm.localModel.operator) = $event)),\n items: operators.value,\n \"value-field\": 'id'\n }, null, 8, [\"modelValue\", \"items\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(getValueSelectionComponentByType()), {\n modelValue: vm.localModel.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((vm.localModel.value) = $event)),\n items: dataConfig.value?.selection,\n onDeleteRule: _cache[3] || (_cache[3] = ($event: any) => (emits('deleteRule', { id: vm.id })))\n }, null, 40, [\"modelValue\", \"items\"]))\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.isLanguageDependent && dataConfig.value?.languageDependent)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(MSelect, {\n modelValue: vm.localModel.dataLanguage,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((vm.localModel.dataLanguage) = $event)),\n items: languageSelection.value,\n textField: \"name\",\n valueField: \"id\"\n }, null, 8, [\"modelValue\", \"items\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (emits('deleteRule', { id: vm.id })))\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Close\" })\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n : (_openBlock(), _createBlock(PreselectionRule, {\n key: 1,\n modelValue: vm.localModel,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((vm.localModel) = $event)),\n \"language-required\": _ctx.isLanguageDependent && dataConfig.value?.languageDependent,\n onDeleteRule: _cache[7] || (_cache[7] = ($event: any) => (emits('deleteRule', { id: vm.id })))\n }, null, 8, [\"modelValue\", \"language-required\"]))\n ], 10, _hoisted_1))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./Rule.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Rule.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = [\"id\"]\nconst _hoisted_2 = { class: \"query-builder-group-options-logic\" }\nconst _hoisted_3 = { class: \"query-builder-group-options-actions\" }\nconst _hoisted_4 = { class: \"menu-icon\" }\nconst _hoisted_5 = { class: \"menu-text\" }\nconst _hoisted_6 = { class: \"menu-icon\" }\nconst _hoisted_7 = { class: \"menu-text\" }\nconst _hoisted_8 = { class: \"query-builder-rule-container\" }\nconst _hoisted_9 = [\"id\"]\nconst _hoisted_10 = { class: \"text-black-50 mx-2\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"query-builder-lower-group-container\"\n}\nconst _hoisted_12 = [\"id\"]\n\nimport MSelect from \"@/BasicComponentLibrary/MSelect.vue\";\r\nimport Icon from \"@common/components/Icon.vue\";\r\nimport MenuBar from \"@common/components/MenuBar/MenuBar.vue\";\r\nimport { FetchableData, FetchableDataEntry, QueryBuilderData, QueryBuilderGroup } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport { Guid } from \"@util/guid\";\r\nimport _ from \"lodash\";\r\nimport { Ref, computed, h, inject, nextTick, onMounted, reactive, ref, unref, watch } from \"vue\";\r\nimport Rule from \"./Rule.vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n id: string;\r\n localModel: QueryBuilderGroup;\r\n selectedColumnForRule: FetchableDataEntry | undefined;\r\n showAttributeGroupDialog: boolean;\r\n showAttributeDialog: boolean;\r\n};\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Group',\n props: {\n value: {},\n depth: { default: 0 },\n path: {},\n isLanguageDependent: { type: Boolean }\n },\n emits: [\"input\", \"deleteGroup\", \"refreshBackground\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\nconst { t: $t } = useI18n();\r\n\r\n\r\n\r\n\r\nconst isBusy = inject>(\"advancedSearchIsBusy\");\r\n\r\n//#endregion\r\n\r\n//#region refs\r\nconst selfGroup = ref();\r\nconst queryBuilderGroupOptions = ref();\r\nconst queryBuilderRuleCriteriaControl = ref();\r\nconst groupWrapper = ref([]);\r\nconst ruleWrapper = ref([]);\r\n//#endregion\r\n\r\n//#region Path\r\n\r\nconst getCurrentPath = () => {\r\n return `${props.path}|${vm.id}`;\r\n};\r\n\r\n//#endregion\r\n\r\n//#region Fetched Data\r\nconst fetchedData = inject>(\"fetchedData\");\r\n\r\nconst possibleSelection = computed(() => {\r\n const unrefFetchedData = unref(fetchedData);\r\n if (!unrefFetchedData) return [];\r\n for (const item of unrefFetchedData) {\r\n item[\"localizedKey\"] = $t(\"AdvancedSearch.SearchType.\" + item.searchType);\r\n }\r\n return _.sortBy(unrefFetchedData, (x) => x.localizedKey);\r\n});\r\n//#endregion\r\n\r\n//#region TypeGuard\r\nconst isQueryBuilderGroup = (e: unknown): e is QueryBuilderGroup => {\r\n return !!e && Object.hasOwn(e, \"groupId\") && Object.hasOwn(e, \"logic\") && Object.hasOwn(e, \"rules\") && Object.hasOwn(e, \"groups\");\r\n};\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst idHelper = Guid.new();\r\n\r\nconst vm = reactive({\r\n id: isQueryBuilderGroup(props.value) ? props.value.groupId ?? idHelper : idHelper,\r\n localModel: isQueryBuilderGroup(props.value) ? props.value : { groupId: idHelper, logic: \"AND\", groups: [], rules: [] },\r\n selectedColumnForRule: undefined,\r\n showAttributeGroupDialog: false,\r\n showAttributeDialog: false\r\n});\r\n\r\n//#endregion\r\n\r\n//#region Rules\r\nconst rules = computed(() => {\r\n return vm.localModel.rules;\r\n});\r\n\r\nconst addRule = () => {\r\n if (!vm.selectedColumnForRule) return;\r\n\r\n vm.localModel.rules.push({\r\n ruleId: Guid.new(),\r\n dataUIType: vm.selectedColumnForRule.uiType,\r\n operator: null,\r\n searchType: vm.selectedColumnForRule.searchType,\r\n value: \"\"\r\n });\r\n nextTick(() => {\r\n refreshLineCoordiantes();\r\n });\r\n};\r\n\r\nconst onDeleteRule = (event: { id: string }) => {\r\n const index = vm.localModel.rules.findIndex((x) => x.ruleId == event.id);\r\n vm.localModel.rules.splice(index, 1);\r\n nextTick(() => {\r\n refreshLineCoordiantes();\r\n });\r\n};\r\n//#endregion\r\n\r\n//#region Groups\r\nconst groups = computed(() => {\r\n return vm.localModel.groups;\r\n});\r\n\r\nconst addGroup = () => {\r\n vm.localModel.groups.push(getDefaultGroup());\r\n nextTick(() => {\r\n _.last(unref(groupWrapper))?.scrollIntoView();\r\n refreshLineCoordiantes();\r\n });\r\n};\r\nconst getDefaultGroup = (): QueryBuilderGroup => {\r\n return { groupId: Guid.new(), logic: \"AND\", groups: [], rules: [] };\r\n};\r\n\r\nconst onDeleteGroup = (group: QueryBuilderGroup) => {\r\n const index = vm.localModel.groups.indexOf(group);\r\n vm.localModel.groups.splice(index, 1);\r\n nextTick(() => {\r\n refreshLineCoordiantes();\r\n });\r\n};\r\n//#endregion\r\n\r\n//#region Update vModel\r\n\r\nwatch(\r\n () => props.value,\r\n () => {\r\n vm.localModel = isQueryBuilderGroup(props.value) ? props.value : { groupId: Guid.new(), logic: \"AND\", groups: [], rules: [] };\r\n nextTick(() => {\r\n refreshLineCoordiantes();\r\n });\r\n }\r\n);\r\nwatch(\r\n () => vm.localModel,\r\n (nv) => {\r\n emits(\"input\", nv);\r\n },\r\n { deep: true }\r\n);\r\n//#endregion\r\n\r\n//#region Background\r\n\r\nconst lineCoordinates = ref<{ x0: number; y0: number; x1: number; y1: number }[]>([]);\r\n\r\nconst refreshLineCoordiantes = () => {\r\n lineCoordinates.value = [];\r\n const optionRect = unref(queryBuilderGroupOptions)?.$el.getBoundingClientRect();\r\n\r\n const selfGroupRect = unref(selfGroup)?.getBoundingClientRect();\r\n const queryBuilderRuleCriteriaControlRect = unref(queryBuilderRuleCriteriaControl)?.getBoundingClientRect();\r\n const offsetX = -(selfGroupRect?.x ?? 0),\r\n offsetY = -(selfGroupRect?.y ?? 0);\r\n\r\n const lastGroupRect = _.last(unref(groupWrapper))?.getBoundingClientRect();\r\n const lowestElementPos: number =\r\n _.max([\r\n (lastGroupRect?.y ?? 0) + offsetY + (optionRect?.height ?? 0) / 2,\r\n (queryBuilderRuleCriteriaControlRect?.y ?? 0) + offsetY + (queryBuilderRuleCriteriaControlRect?.height ?? 0) / 2\r\n ]) ?? 0;\r\n\r\n const x0 = (optionRect?.x ?? 0) + offsetX + 10;\r\n const y0 = (optionRect?.y ?? 0) + (optionRect?.height ?? 0) / 2 + offsetY;\r\n const x1 = x0;\r\n const y1 = lowestElementPos;\r\n\r\n lineCoordinates.value.push({ x0, y0, x1, y1 });\r\n const ruleRects = unref(ruleWrapper).map((x) => x.getBoundingClientRect());\r\n if (queryBuilderRuleCriteriaControlRect) ruleRects.push(queryBuilderRuleCriteriaControlRect);\r\n for (const ruleRect of ruleRects) {\r\n lineCoordinates.value.push({\r\n x0: x1,\r\n y0: ruleRect.y + offsetY + ruleRect.height / 2,\r\n x1: ruleRect.x + offsetX + 0,\r\n y1: ruleRect.y + offsetY + ruleRect.height / 2\r\n });\r\n }\r\n\r\n for (const group of unref(groupWrapper)) {\r\n const groupRect = group.getBoundingClientRect();\r\n lineCoordinates.value.push({\r\n x0: x1,\r\n y0: groupRect.y + offsetY + optionRect.height / 2,\r\n x1: groupRect.x + offsetX /* + 20 */,\r\n y1: groupRect.y + offsetY + optionRect.height / 2\r\n });\r\n }\r\n\r\n nextTick(() => {\r\n emits(\"refreshBackground\");\r\n });\r\n};\r\n\r\nconst background = () => {\r\n return h(\"svg\", { class: \"background-lines-svg\", style: `z-index:${-100 + props.depth}` }, [\r\n lineCoordinates.value.map((coort) => {\r\n return h(\"line\", {\r\n class: \"background-lines-svg-line\",\r\n x1: coort.x0,\r\n y1: coort.y0,\r\n x2: coort.x1,\r\n y2: coort.y1\r\n });\r\n })\r\n ]);\r\n};\r\n\r\nwatch(\r\n () => isBusy?.value,\r\n (nv) => {\r\n if (!nv) {\r\n nextTick(() => {\r\n refreshLineCoordiantes();\r\n });\r\n }\r\n }\r\n);\r\n//#endregion\r\n\r\n//#region LifeCycle\r\nonMounted(() => {\r\n if (!vm.localModel.groupId) {\r\n vm.localModel.groupId = vm.id;\r\n }\r\n refreshLineCoordiantes();\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_dropdown_item = _resolveComponent(\"b-dropdown-item\")!\n const _component_b_dropdown = _resolveComponent(\"b-dropdown\")!\n const _component_group = _resolveComponent(\"group\", true)!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"query-builder-group\",\n id: vm.id,\n ref_key: \"selfGroup\",\n ref: selfGroup\n }, [\n _createVNode(MenuBar, {\n class: \"query-builder-group-options\",\n ref_key: \"queryBuilderGroupOptions\",\n ref: queryBuilderGroupOptions,\n \"without-border\": \"\"\n }, {\n leftItems: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: \"query-builder-group-options-logic-selection\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (vm.localModel.logic = vm.localModel.logic == 'AND' ? 'OR' : 'AND'))\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"and-selection\", { active: vm.localModel.logic == 'AND' }])\n }, _toDisplayString(_unref($t)(\"And\")), 3),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"or-selection\", { active: vm.localModel.logic == 'OR' }])\n }, _toDisplayString(_unref($t)(\"Or\")), 3)\n ])\n ])\n ]),\n rightItems: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.depth != 0)\n ? (_openBlock(), _createBlock(_component_b_btn, {\n key: 0,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (emits('deleteGroup'))),\n class: \"btn-icon mono delete\"\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Close\" })\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_b_dropdown, {\n key: 1,\n dropleft: \"\",\n \"toggle-class\": \"btn-icon mono\",\n \"menu-class\": \"popup-menu\",\n \"no-caret\": \"\"\n }, {\n \"button-content\": _withCtx(() => [\n _createVNode(Icon, { icon: \"Options\" })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_b_dropdown_item, {\n \"link-class\": \"menu-option first-option\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (vm.localModel.isLanguageDependent = !vm.localModel.isLanguageDependent))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n (vm.localModel.isLanguageDependent)\n ? (_openBlock(), _createBlock(Icon, {\n key: 0,\n icon: \"Check\",\n variant: \"primary\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_unref($t)(\"languageDependent\")), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_b_dropdown_item, {\n \"link-class\": \"menu-option last-option\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (vm.localModel.isCaseSensitive = !vm.localModel.isCaseSensitive))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n (vm.localModel.isCaseSensitive)\n ? (_openBlock(), _createBlock(Icon, {\n key: 0,\n icon: \"Check\",\n variant: \"primary\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(_unref($t)(\"caseSensitive\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n ])\n ]),\n _: 1\n }, 512),\n _createElementVNode(\"div\", _hoisted_8, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(rules.value, (rule, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: `ruleId-${rule.ruleId}`,\n class: \"rule-wrapper\",\n ref_for: true,\n ref_key: \"ruleWrapper\",\n ref: ruleWrapper,\n id: `rule-${getCurrentPath()}-${_ctx.depth}-${index}`\n }, [\n _createVNode(Rule, {\n modelValue: rules.value[index],\n \"onUpdate:modelValue\": ($event: any) => ((rules.value[index]) = $event),\n onDeleteRule: onDeleteRule,\n path: getCurrentPath(),\n onRefreshBackground: refreshLineCoordiantes,\n isLanguageDependent: !!vm.localModel.isLanguageDependent\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"path\", \"isLanguageDependent\"])\n ], 8, _hoisted_9))\n }), 128)),\n _createElementVNode(\"div\", {\n class: \"query-builder-rule-criteria-control\",\n ref_key: \"queryBuilderRuleCriteriaControl\",\n ref: queryBuilderRuleCriteriaControl\n }, [\n _createVNode(MSelect, {\n class: \"query-builder-rule-criteria-selection\",\n modelValue: vm.selectedColumnForRule,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((vm.selectedColumnForRule) = $event)),\n placeholder: _unref($t)('AddRulePlaceholder'),\n items: possibleSelection.value,\n textField: \"localizedKey\"\n }, null, 8, [\"modelValue\", \"placeholder\", \"items\"]),\n _createVNode(_component_b_btn, {\n class: \"muted\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (addRule())),\n disabled: !vm.selectedColumnForRule\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"addCriteria\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_unref($t)(\"or\")), 1),\n _createVNode(_component_b_btn, {\n class: \"muted\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (addGroup()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"addGroup\")), 1)\n ]),\n _: 1\n })\n ], 512)\n ]),\n (groups.value.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(groups.value, (group, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: `group-${group.groupId}`,\n class: \"group-wrapper\",\n ref_for: true,\n ref_key: \"groupWrapper\",\n ref: groupWrapper,\n id: `group-${getCurrentPath()}-${_ctx.depth}-${index}`\n }, [\n _createVNode(_component_group, {\n modelValue: groups.value[index],\n \"onUpdate:modelValue\": ($event: any) => ((groups.value[index]) = $event),\n depth: _ctx.depth + 1,\n onDeleteGroup: ($event: any) => (onDeleteGroup(group)),\n onRefreshBackground: refreshLineCoordiantes,\n path: getCurrentPath(),\n isLanguageDependent: vm.localModel.isLanguageDependent\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"depth\", \"onDeleteGroup\", \"path\", \"isLanguageDependent\"])\n ], 8, _hoisted_12))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(background)\n ], 8, _hoisted_1))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./Group.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Group.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"query-builder\" }\n\nimport group from \"@AdvancedSearch/components/QueryBuilder/Group.vue\";\r\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { useUserSettings } from \"@common/store/composable/useRootStore\";\r\nimport { FetchableData, QueryBuilderData } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport advancedSearchApi from \"@services/advancedSearch\";\r\nimport commonApi from \"@services/common.js\";\r\nimport emitter from \"tiny-emitter/instance\";\r\nimport { Ref, inject, onMounted, provide, reactive, ref, watch } from \"vue\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n localModel: QueryBuilderData;\r\n};\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'QueryBuilder',\n props: {\n value: {}\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\nconst { userSettings } = useUserSettings();\r\nconst { primaryLanguageCode } = useContentLanguages();\r\n\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({ localModel: props.value });\r\n//#endregion\r\n\r\n//#region Provide\r\nconst fetchedData = ref(null);\r\nconst localizedLanguages = ref(null);\r\n\r\nprovide(\"fetchedData\", fetchedData);\r\nprovide(\"localizedLanguages\", localizedLanguages);\r\n\r\nconst isBusy = inject>(\"advancedSearchIsBusy\");\r\n//#endregion\r\n\r\nconst fetchAndSetData = async () => {\r\n try {\r\n setBusyState(true);\r\n fetchedData.value = await advancedSearchApi.getSearchTypes(primaryLanguageCode);\r\n localizedLanguages.value = await commonApi.getLanguagesWithLocalizedName(userSettings.value.CurrentLocale);\r\n setBusyState(false);\r\n } catch (error) {\r\n emitter.emit(\"global-error\", { type: \"api\", exception: error });\r\n }\r\n};\r\n\r\nwatch(\r\n () => props.value,\r\n (nv) => {\r\n vm.localModel = nv;\r\n }\r\n);\r\n\r\n//#region Busy\r\nconst setBusyState = (busyValue: boolean) => {\r\n if (isBusy) {\r\n isBusy.value = busyValue;\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region Update vModel\r\nwatch(\r\n () => vm.localModel,\r\n (nv) => {\r\n emits(\"input\", nv);\r\n },\r\n { deep: true }\r\n);\r\n//#endregion\r\n\r\nonMounted(async () => {\r\n await fetchAndSetData();\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(group, {\n modelValue: vm.localModel,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.localModel) = $event)),\n class: \"root\",\n path: \"#root#\"\n }, null, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./QueryBuilder.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./QueryBuilder.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, unref as _unref, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, vShow as _vShow } from \"vue\"\n\nconst _hoisted_1 = { class: \"advanced-search\" }\nconst _hoisted_2 = { class: \"advanced-search-project-management\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"divider\" }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"divider\" }, null, -1)\nconst _hoisted_5 = { id: \"runSearchBtnWrapper\" }\nconst _hoisted_6 = { id: \"runCsvExportBtnWrapper\" }\nconst _hoisted_7 = {\n key: 1,\n class: \"error-area\"\n}\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { class: \"tabs-wrapper\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"advanced-search-editor-updated-on\"\n}\nconst _hoisted_11 = { key: 1 }\nconst _hoisted_12 = { class: \"debug-mode-banner\" }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"debug-mode-title\" }, \"DEBUG\", -1)\nconst _hoisted_14 = [\"value\"]\nconst _hoisted_15 = {\n key: 1,\n class: \"advanced-search-results\"\n}\nconst _hoisted_16 = { class: \"advanced-search-results-table\" }\nconst _hoisted_17 = { class: \"advanced-search-results-table-header\" }\nconst _hoisted_18 = { class: \"table-header-cell article-no-cell\" }\nconst _hoisted_19 = { class: \"table-header-cell name-cell\" }\nconst _hoisted_20 = { class: \"table-header-cell status-cell\" }\nconst _hoisted_21 = { class: \"table-header-cell variation-group-cell\" }\nconst _hoisted_22 = [\"onClick\"]\nconst _hoisted_23 = { class: \"results-table-cell article-no-cell\" }\nconst _hoisted_24 = { class: \"entry-with-icon\" }\nconst _hoisted_25 = { class: \"results-table-cell name-cell\" }\nconst _hoisted_26 = { class: \"results-table-cell status-cell\" }\nconst _hoisted_27 = { class: \"entry-with-icon\" }\nconst _hoisted_28 = { class: \"results-table-cell variation-group-cell\" }\nconst _hoisted_29 = {\n key: 2,\n class: \"advanced-search-excel-edit\"\n}\nconst _hoisted_30 = { class: \"spinner-container\" }\n\nimport MSelect from \"@/BasicComponentLibrary/MSelect.vue\";\r\nimport MSelectItem from \"@/BasicComponentLibrary/MSelectItem.vue\";\r\nimport OpenSearches from \"@AdvancedSearch/components/OpenSearches.vue\";\r\nimport SearchRenameModal from \"@AdvancedSearch/views/SearchRenameModal.vue\";\r\nimport excelEditEditor from \"@ContentEditor/components/ExcelEdit/ExcelEditEditor.vue\";\r\nimport Alert from \"@common/components/Alert.vue\";\r\nimport Icon from \"@common/components/Icon.vue\";\r\nimport MenuBar from \"@common/components/MenuBar/MenuBar.vue\";\r\nimport Spinner from \"@common/components/Spinner.vue\";\r\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { useUser } from \"@common/store/composable/useRootStore\";\r\nimport { AdvArticleResult, AdvancedSearchEntry, AdvancedSearchFetchedEntry, NewAdvancedSearchEntry } from \"@medapro-types/AdvancedSearch/AdvancedSearch\";\r\nimport { QueryBuilderData, QueryBuilderGroup, QueryBuilderRule } from \"@medapro-types/AdvancedSearch/components/QueryBuilder\";\r\nimport { MutableRequired } from \"@medapro-types/common/common\";\r\nimport { RootState, User } from \"@medapro-types/common/rootstate\";\r\nimport advancedSearchApi from \"@services/advancedSearch\";\r\nimport endpoints from \"@services/endpoints\";\r\nimport { getDateTimeText } from \"@util/dateTimeUtils\";\r\nimport { generateNewName } from \"@util/generateNewName\";\r\nimport { Guid } from \"@util/guid\";\r\nimport _ from \"lodash\";\r\nimport moment from \"moment\";\r\nimport { sha1 as hash } from \"object-hash\";\r\nimport { computed, h, nextTick, onMounted, provide, reactive, ref, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { useRouter } from \"vue-router\";\r\nimport { useState } from \"vuex-composition-helpers\";\r\nimport QueryBuilder from \"../components//QueryBuilder/QueryBuilder.vue\";\r\nimport { UseVirtualList } from \"@vueuse/components\";\r\n\r\n//#region General\r\n//configureCompat({ COMPONENT_ASYNC: false });\r\ntype ViewModel = {\r\n selectedSearch: AdvancedSearchEntry | NewAdvancedSearchEntry | undefined;\r\n articleSearches: AdvancedSearchEntry[];\r\n resultList: Array;\r\n initialSearchJson: QueryBuilderData | null;\r\n errors: string[];\r\n draftSearch: AdvancedSearchEntry | null;\r\n savedSearches: AdvancedSearchEntry[];\r\n};\r\nenum Tabs {\r\n editor,\r\n results,\r\n excelEdit\r\n}\r\n\r\nenum SearchRenameModalModes {\r\n \"rename\",\r\n \"saveAs\",\r\n \"create\"\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AdvancedSearch',\n emits: [\"hide\"],\n setup(__props, { expose: __expose, emit: emits }) {\n\r\nconst { t: $t } = useI18n();\r\nconst router = useRouter();\r\n\r\n//#endregion\r\n\r\n//#region Store\r\nconst { user } = useUser();\r\nconst { meta, auth } = useState([\"meta\", \"auth\"]);\r\nconst { primaryLanguageCode } = useContentLanguages();\r\n\r\n//#endregion\r\n\r\n//#region Refs\r\nconst advancedSearch = ref(null);\r\nconst querybuilder = ref(null);\r\nconst advancedSearchEditorName = ref(null);\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({\r\n selectedSearch: undefined,\r\n articleSearches: [],\r\n resultList: [],\r\n initialSearchJson: null,\r\n errors: [],\r\n draftSearch: null,\r\n savedSearches: []\r\n});\r\n\r\nconst modals = reactive({\r\n rename: false,\r\n open: false\r\n});\r\n\r\nconst states = reactive({\r\n currentTab: Tabs.editor,\r\n isDirty: false,\r\n isBusy: false,\r\n searchRenameModalMode: SearchRenameModalModes.rename\r\n});\r\n\r\n//#endregion\r\n\r\n//#region Busy\r\n\r\nprovide(\"advancedSearchIsBusy\", states.isBusy);\r\n\r\n//#endregion\r\n\r\n//#region Background\r\n\r\nconst background = () => {\r\n if (querybuilder.value && advancedSearch.value && advancedSearchEditorName.value) {\r\n const querybuilderRect = querybuilder.value.getBoundingClientRect();\r\n const advancedSearchEditorRect = advancedSearch.value.getBoundingClientRect();\r\n const advancedSearchEditorNameRect = advancedSearchEditorName.value.getBoundingClientRect();\r\n\r\n const xOffSet = -10;\r\n const yOffSet = 5;\r\n\r\n const x1 = querybuilderRect.left - advancedSearchEditorRect.left + xOffSet;\r\n const y1 = querybuilderRect.top - advancedSearchEditorRect.top;\r\n const x2 = advancedSearchEditorNameRect.left - advancedSearchEditorRect.left + xOffSet;\r\n const y2 = advancedSearchEditorNameRect.top + yOffSet - advancedSearchEditorRect.top + yOffSet;\r\n\r\n return h(\"div\", { class: \"advanced-search-editor-background\" }, [\r\n h(\"svg\", { height: \"100%\", width: \"100%\" }, [\r\n h(\"line\", { x1, y1, x2, y2, stroke: \"#ccc\" }),\r\n h(\"line\", { x1: x1, y1: y1, x2: x1 + 20, y2: y1, stroke: \"#ccc\" })\r\n ])\r\n ]);\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region Results\r\n\r\nconst saveAndRunSearch = async () => {\r\n vm.resultList = [];\r\n states.currentTab = Tabs.results;\r\n let fetchedData: AdvArticleResult[] = [];\r\n if (states.isDirty) await saveArticleSearch();\r\n if (vm.selectedSearch) {\r\n try {\r\n states.isBusy = true;\r\n fetchedData = await advancedSearchApi.execute({\r\n advancedSearchId: vm.selectedSearch.advancedSearchId,\r\n language: primaryLanguageCode,\r\n returnArticleNo: true,\r\n returnLocalizedNames: true,\r\n returnState: true,\r\n orderDirection: false,\r\n orderByColumn: \"name\"\r\n });\r\n } catch (error: any) {\r\n if (error.response?.data?.message?.error !== \"AdvancedSearchNotExist\" && error.response?.data?.language?.[0] !== \"LanguageNotsupported\")\r\n throw Error(error);\r\n } finally {\r\n states.isBusy = false;\r\n }\r\n }\r\n vm.resultList = fetchedData;\r\n};\r\n\r\nconst navigateToContentEditor = (articleId: string) => {\r\n if (states.isDirty && !confirm($t(\"confirm.hasUnsavedData\"))) return;\r\n states.isBusy = true;\r\n states.isDirty = false;\r\n\r\n nextTick(() => {\r\n router.push({\r\n name: \"article-editor\",\r\n params: {\r\n id: articleId\r\n }\r\n });\r\n states.isBusy = false;\r\n emits(\"hide\");\r\n });\r\n};\r\n\r\n//#endregion\r\n\r\n//#region Exports\r\n\r\nconst runCsvExport = async () => {\r\n if (states.isDirty && !confirm($t(\"unsavedDataCantbeConsidered\"))) return;\r\n states.currentTab = Tabs.results;\r\n if (vm.selectedSearch) {\r\n const url =\r\n meta.value.config.apiUrl +\r\n endpoints.advancedSearch.exportCsv +\r\n `?advancedSearchId=${vm.selectedSearch.advancedSearchId}&language=${primaryLanguageCode}&key=${auth.value.token}`;\r\n window.location.href = url;\r\n }\r\n};\r\n\r\n//#endregion\r\n\r\n//#region TypeGuard\r\nfunction isNewAdvancedSearchEntry(e: AdvancedSearchEntry | NewAdvancedSearchEntry | undefined): e is NewAdvancedSearchEntry {\r\n return !!e && Object.hasOwn(e, \"isNew\");\r\n}\r\nconst isQueryBuilderGroup = (e: unknown): e is QueryBuilderGroup => {\r\n return !!e && Object.hasOwn(e, \"groupId\") && Object.hasOwn(e, \"logic\") && Object.hasOwn(e, \"rules\") && Object.hasOwn(e, \"groups\");\r\n};\r\nconst isQueryBuilderRule = (e: unknown): e is QueryBuilderRule => {\r\n return !!e && Object.hasOwn(e, \"ruleId\") && Object.hasOwn(e, \"searchType\") && Object.hasOwn(e, \"value\");\r\n};\r\n//#endregion\r\n\r\n//#region advSearches CRUD\r\nconst sortedSearches = computed(() => {\r\n return _.sortBy(vm.articleSearches, (x) => x.name);\r\n});\r\n\r\nconst selectSearch = (item: AdvancedSearchFetchedEntry | AdvancedSearchEntry, setDirty = false) => {\r\n if (item.advancedSearchId != vm.selectedSearch?.advancedSearchId) {\r\n if (states.isDirty && !confirm($t(\"confirm.hasUnsavedData\"))) return;\r\n states.isBusy = true;\r\n\r\n if (isNewAdvancedSearchEntry(vm.selectedSearch) && vm.selectedSearch.isNew && states.isDirty) {\r\n vm.articleSearches = _.filter(vm.articleSearches, (x) => !(isNewAdvancedSearchEntry(x) && x.isNew));\r\n }\r\n\r\n if (_.isString(item.searchJson)) {\r\n vm.initialSearchJson = JSON.parse(_.isEmpty(item.searchJson) ? \"{}\" : item.searchJson);\r\n vm.selectedSearch = Object.assign(item, { searchJson: JSON.parse(item.searchJson) });\r\n } else {\r\n vm.initialSearchJson = _.cloneDeep(item.searchJson);\r\n vm.selectedSearch = item;\r\n }\r\n\r\n vm.resultList = [];\r\n nextTick(() => {\r\n states.isDirty = setDirty;\r\n states.isBusy = false;\r\n });\r\n }\r\n};\r\n\r\nconst loadAdvSearches = async () => {\r\n states.isBusy = true;\r\n\r\n try {\r\n vm.articleSearches = await advancedSearchApi.getAll();\r\n vm.savedSearches = _.cloneDeep(vm.articleSearches);\r\n } catch (error) {\r\n console.error(\"Error during fetching of Searches occured: \", error);\r\n } finally {\r\n states.isBusy = false;\r\n }\r\n};\r\n\r\nconst createNewArticleSearch = () => {\r\n const currentUser = user.value;\r\n\r\n const newSearch: NewAdvancedSearchEntry = {\r\n advancedSearchId: Guid.new(),\r\n name: `${generateNewName($t(\"newSearch\"), vm.savedSearches)}`,\r\n searchJson: \"{}\",\r\n createdBy: currentUser.username,\r\n updatedBy: currentUser.username,\r\n createdOn: moment().format(\"YYYY-MM-DD HH:mm:ss\"),\r\n updatedOn: moment().format(\"YYYY-MM-DD HH:mm:ss\"),\r\n isNew: true\r\n };\r\n states.currentTab = Tabs.editor;\r\n vm.draftSearch = newSearch;\r\n nextTick(() => {\r\n states.searchRenameModalMode = SearchRenameModalModes.create;\r\n showRenameModal();\r\n });\r\n};\r\n\r\nconst showRenameModal = () => {\r\n if (!vm.draftSearch) return;\r\n modals.rename = true;\r\n};\r\n\r\nconst updateSearch = async (/* newName: string */) => {\r\n if (states.searchRenameModalMode != SearchRenameModalModes.rename) {\r\n if (!vm.draftSearch) return;\r\n\r\n states.currentTab = Tabs.editor;\r\n vm.articleSearches.push(vm.draftSearch);\r\n vm.selectedSearch = vm.draftSearch;\r\n await saveArticleSearch();\r\n } else {\r\n states.isDirty = true;\r\n }\r\n vm.draftSearch = null;\r\n};\r\n\r\nconst cancelRename = () => {\r\n vm.draftSearch = null;\r\n};\r\n\r\nconst assignNewIdsinSearchJson = (jsonObj: QueryBuilderData | QueryBuilderGroup | QueryBuilderRule) => {\r\n if (isQueryBuilderGroup(jsonObj)) {\r\n for (const group of jsonObj.groups) {\r\n assignNewIdsinSearchJson(group);\r\n }\r\n for (const rule of jsonObj.rules) {\r\n assignNewIdsinSearchJson(rule);\r\n }\r\n }\r\n if (isQueryBuilderGroup(jsonObj)) jsonObj.groupId = Guid.new();\r\n if (isQueryBuilderRule(jsonObj)) jsonObj.ruleId = Guid.new();\r\n};\r\n\r\nconst deleteArticleSearch = async () => {\r\n if (vm.selectedSearch && confirm($t(\"confirm.searchDelete\", { selectedSearch: vm.selectedSearch.name }))) {\r\n try {\r\n if (!isNewAdvancedSearchEntry(vm.selectedSearch)) {\r\n await advancedSearchApi.delete(vm.selectedSearch.advancedSearchId);\r\n }\r\n _.remove(vm.articleSearches, (x) => x == vm.selectedSearch);\r\n vm.savedSearches = _.cloneDeep(vm.articleSearches);\r\n states.isDirty = false;\r\n selectFirstOrCreate();\r\n } catch (error) {\r\n console.error(\"Error deleting search:\", error);\r\n }\r\n }\r\n};\r\n\r\nconst saveArticleSearch = async () => {\r\n if (vm.selectedSearch) {\r\n try {\r\n await advancedSearchApi.save({\r\n advancedSearchId: vm.selectedSearch.advancedSearchId,\r\n name: vm.selectedSearch.name,\r\n searchJson: vm.selectedSearch.searchJson\r\n });\r\n if (isNewAdvancedSearchEntry(vm.selectedSearch)) delete vm.selectedSearch.isNew;\r\n vm.savedSearches = _.cloneDeep(vm.articleSearches);\r\n states.isDirty = false;\r\n vm.selectedSearch.updatedOn = moment().toISOString();\r\n } catch (error: any) {\r\n const errorData = error.response?.data;\r\n if (errorData?.error) {\r\n vm.errors.push(error.response?.data?.error);\r\n }\r\n if (errorData?.Name) {\r\n vm.errors = _.concat(vm.errors, errorData?.Name);\r\n }\r\n }\r\n }\r\n};\r\n\r\nconst renameSearch = () => {\r\n if (vm.selectedSearch) {\r\n vm.draftSearch = vm.selectedSearch;\r\n states.searchRenameModalMode = SearchRenameModalModes.rename;\r\n showRenameModal();\r\n }\r\n};\r\n\r\nconst saveAsSearch = () => {\r\n const currentUser: User = { ...user.value } as MutableRequired;\r\n\r\n const searchJsonCopy = _.cloneDeep(vm.selectedSearch?.searchJson) ?? {};\r\n\r\n assignNewIdsinSearchJson(searchJsonCopy);\r\n\r\n vm.draftSearch = vm.selectedSearch\r\n ? Object.assign(_.cloneDeep(vm.selectedSearch), {\r\n advancedSearchId: Guid.new(),\r\n searchJson: searchJsonCopy,\r\n createdBy: currentUser,\r\n updatedBy: currentUser,\r\n createdOn: moment().format(\"YYYY-MM-DD HH:mm:ss\"),\r\n updatedOn: moment().format(\"YYYY-MM-DD HH:mm:ss\")\r\n })\r\n : null;\r\n\r\n if (states.isDirty) {\r\n if (!confirm($t(\"confirm.hasUnsavedData\"))) {\r\n vm.draftSearch = null;\r\n return;\r\n }\r\n\r\n /* if (isNewAdvancedSearchEntry(vm.selectedSearch)) {\r\n _.remove(vm.articleSearches, (x) => x === vm.selectedSearch);\r\n } else if (vm.tempName != \"\" && vm.selectedSearch) {\r\n vm.selectedSearch.name = vm.tempName;\r\n } */\r\n }\r\n\r\n states.searchRenameModalMode = SearchRenameModalModes.saveAs;\r\n showRenameModal();\r\n};\r\n\r\nconst selectFirstOrCreate = async () => {\r\n if (sortedSearches.value.length) {\r\n const firstElement = _.first(sortedSearches.value);\r\n if (firstElement) selectSearch(firstElement);\r\n } else {\r\n createNewArticleSearch();\r\n }\r\n};\r\n\r\nwatch(\r\n () => vm.selectedSearch,\r\n (nv) => {\r\n if (nv) vm.errors = [];\r\n },\r\n { deep: true }\r\n);\r\n\r\nwatch(\r\n () => vm.selectedSearch?.searchJson,\r\n (nv) => {\r\n if (nv && vm.initialSearchJson && !states.isDirty) {\r\n const newJsonHash = hash(nv);\r\n const oldJsonHash = hash(vm.initialSearchJson);\r\n if (newJsonHash != oldJsonHash) states.isDirty = true;\r\n }\r\n },\r\n { deep: true }\r\n);\r\n//#endregion\r\n\r\n//#region SearchRenameModal\r\nconst searchRenameModalTitle = computed(() => {\r\n switch (states.searchRenameModalMode) {\r\n case SearchRenameModalModes.create:\r\n return $t(\"SearchRenameModal.create\");\r\n\r\n case SearchRenameModalModes.rename:\r\n return $t(\"SearchRenameModal.rename\");\r\n\r\n case SearchRenameModalModes.saveAs:\r\n return $t(\"SearchRenameModal.saveAs\");\r\n }\r\n return \"\";\r\n});\r\nconst searchRenameModalOkButtonText = computed(() => {\r\n switch (states.searchRenameModalMode) {\r\n case SearchRenameModalModes.rename:\r\n return $t(\"Rename\");\r\n case SearchRenameModalModes.saveAs:\r\n return $t(\"Save\");\r\n case SearchRenameModalModes.create:\r\n return $t(\"Add\");\r\n }\r\n\r\n return \"\";\r\n});\r\n//#endregion\r\n\r\n//#region LifeCycle\r\n\r\nonMounted(async () => {\r\n await loadAdvSearches();\r\n selectFirstOrCreate();\r\n});\r\n\r\n//#endregion\r\n\r\n//#region Exposed\r\n\r\n__expose({ states });\r\n\r\n//#endregion\r\n\r\n//#region Debug-Functions\r\nconst debugMode = ref(false);\r\n\r\n/* function randomIntFromInterval(min: number, max: number) {\r\n // min and max included\r\n return Math.floor(Math.random() * (max - min + 1) + min);\r\n} */\r\n\r\nconst canActivateDebug = computed(() => {\r\n return user.value.username == \"support\";\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_dropdown_item = _resolveComponent(\"b-dropdown-item\")!\n const _component_b_dropdown = _resolveComponent(\"b-dropdown\")!\n const _component_b_tooltip = _resolveComponent(\"b-tooltip\")!\n const _component_b_tab = _resolveComponent(\"b-tab\")!\n const _component_b_tabs = _resolveComponent(\"b-tabs\")!\n const _component_b_checkbox = _resolveComponent(\"b-checkbox\")!\n const _directive_b_tooltip = _resolveDirective(\"b-tooltip\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(MenuBar, { \"without-border\": \"\" }, {\n leftItems: _withCtx(() => [\n _createVNode(MSelect, {\n class: \"project-selection-dd\",\n modelValue: vm.selectedSearch,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.selectedSearch) = $event)),\n items: vm.articleSearches\n }, {\n \"button-content\": _withCtx(() => [\n _createTextVNode(_toDisplayString(vm.selectedSearch?.name) + \" \", 1),\n (states.isDirty)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(`(${_unref($t)(\"unsaved\")})`), 1)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(sortedSearches.value, (item) => {\n return (_openBlock(), _createBlock(MSelectItem, {\n key: item.advancedSearchId,\n active: vm.selectedSearch?.advancedSearchId == item.advancedSearchId,\n onClick: ($event: any) => (selectSearch(item))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"active\", \"onClick\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"items\"]),\n _withDirectives((_openBlock(), _createBlock(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: createNewArticleSearch\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Plus\" })\n ]),\n _: 1\n })), [\n [_directive_b_tooltip, _unref($t)('add')]\n ]),\n _withDirectives((_openBlock(), _createBlock(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (modals.open = true))\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Open\" })\n ]),\n _: 1\n })), [\n [_directive_b_tooltip, _unref($t)('Open')]\n ]),\n _withDirectives((_openBlock(), _createBlock(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: renameSearch,\n disabled: !vm.articleSearches\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Rename\" })\n ]),\n _: 1\n }, 8, [\"disabled\"])), [\n [_directive_b_tooltip, _unref($t)('Rename')]\n ]),\n _withDirectives((_openBlock(), _createBlock(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: deleteArticleSearch,\n disabled: vm.articleSearches.length == 1 && vm.savedSearches.length == 0\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Delete\" })\n ]),\n _: 1\n }, 8, [\"disabled\"])), [\n [_directive_b_tooltip, _unref($t)('delete')]\n ]),\n _hoisted_3,\n _withDirectives((_openBlock(), _createBlock(_component_b_btn, {\n class: \"btn-icon mono\",\n onClick: saveArticleSearch,\n disabled: !states.isDirty\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Save\" })\n ]),\n _: 1\n }, 8, [\"disabled\"])), [\n [_directive_b_tooltip, _unref($t)('Save')]\n ]),\n _hoisted_4,\n _createVNode(_component_b_dropdown, {\n \"toggle-class\": \"btn-icon mono\",\n \"no-caret\": \"\"\n }, {\n \"button-content\": _withCtx(() => [\n _createVNode(Icon, { icon: \"Options\" })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_b_dropdown_item, {\n onClick: saveAsSearch,\n disabled: states.isDirty\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(`${_unref($t)(\"saveAs\")}...`), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n })\n ]),\n rightItems: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_b_btn, {\n variant: \"primary\",\n class: \"btn-with-icon\",\n onClick: saveAndRunSearch\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Play\" }),\n _createTextVNode(\" \" + _toDisplayString(_unref($t)(\"saveAndRunSearch\")), 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_b_btn, {\n class: \"btn-with-icon mono\",\n disabled: states.isDirty,\n onClick: runCsvExport\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"Download\" }),\n _createTextVNode(\" \" + _toDisplayString(_unref($t)(\"exportAsCSV\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n (states.isDirty)\n ? (_openBlock(), _createBlock(_component_b_tooltip, {\n key: 0,\n target: \"runSearchBtnWrapper\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"AdvancedSearch.needsSave\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (states.isDirty)\n ? (_openBlock(), _createBlock(_component_b_tooltip, {\n key: 1,\n target: \"runCsvExportBtnWrapper\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"AdvancedSearch.needsSave\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(OpenSearches, {\n modelValue: modals.open,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((modals.open) = $event)),\n searches: vm.articleSearches,\n onConfirm: selectSearch\n }, null, 8, [\"modelValue\", \"searches\"]),\n (vm.draftSearch)\n ? (_openBlock(), _createBlock(SearchRenameModal, {\n key: 0,\n modelValue: vm.draftSearch.name,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((vm.draftSearch.name) = $event)),\n show: modals.rename,\n \"onUpdate:show\": _cache[4] || (_cache[4] = ($event: any) => ((modals.rename) = $event)),\n selectedSearchId: vm.draftSearch.advancedSearchId,\n title: searchRenameModalTitle.value,\n \"ok-button-text\": searchRenameModalOkButtonText.value,\n \"max-characters-name\": 128,\n \"saved-search-list\": vm.savedSearches,\n onConfirm: updateSearch,\n onCancel: cancelRename\n }, null, 8, [\"modelValue\", \"show\", \"selectedSearchId\", \"title\", \"ok-button-text\", \"saved-search-list\"]))\n : _createCommentVNode(\"\", true),\n (vm.errors.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(Alert, {\n class: \"m-0\",\n show: \"\",\n variant: \"danger\"\n }, {\n default: _withCtx(() => [\n (vm.errors.length == 1)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_unref($t)(`api.errors.AdvancedSearch.${vm.errors[0]}`)), 1)\n ], 64))\n : _createCommentVNode(\"\", true),\n (vm.errors.length > 1)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_8, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(vm.errors, (error) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: error }, _toDisplayString(error), 1))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_b_tabs, {\n modelValue: states.currentTab,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((states.currentTab) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_b_tab, {\n title: _unref($t)('editor')\n }, null, 8, [\"title\"]),\n _createVNode(_component_b_tab, {\n title: _unref($t)('results')\n }, null, 8, [\"title\"]),\n _createVNode(_component_b_tab, {\n disabled: states.isDirty,\n title: _unref($t)('catalogNode.excelEdit')\n }, null, 8, [\"disabled\", \"title\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (vm.selectedSearch && vm.selectedSearch.updatedOn)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(Icon, { icon: \"Clock\" }),\n _createTextVNode(\" \" + _toDisplayString(_unref(getDateTimeText)(vm.selectedSearch.updatedOn)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (states.currentTab == Tabs.editor)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"advanced-search-editor\",\n ref_key: \"advancedSearch\",\n ref: advancedSearch\n }, [\n (vm.selectedSearch)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"advanced-search-editor-querybuilder-container\",\n ref_key: \"querybuilder\",\n ref: querybuilder\n }, [\n _createVNode(QueryBuilder, {\n modelValue: vm.selectedSearch.searchJson,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((vm.selectedSearch.searchJson) = $event)),\n isBusy: states.isBusy,\n \"onUpdate:isBusy\": _cache[7] || (_cache[7] = ($event: any) => ((states.isBusy) = $event))\n }, null, 8, [\"modelValue\", \"isBusy\"])\n ], 512))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_11, _toDisplayString(_unref($t)(\"needToSelectAdvSearch\")), 1)),\n _createVNode(background),\n (canActivateDebug.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass([\"debug-mode-wrapper\", { active: debugMode.value }])\n }, [\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createVNode(_component_b_checkbox, {\n class: \"debug-mode-switch\",\n switch: \"\",\n modelValue: debugMode.value,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((debugMode).value = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Show DataModel(DebugMode)\")\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n (debugMode.value)\n ? (_openBlock(), _createElementBlock(\"textarea\", {\n key: 0,\n class: \"debug-mode-textarea\",\n value: JSON.stringify(vm.selectedSearch?.searchJson, null, 4),\n readonly: \"\"\n }, \" \", 8, _hoisted_14))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 512))\n : _createCommentVNode(\"\", true),\n (states.currentTab == Tabs.results)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, _toDisplayString(_unref($t)(\"articleNo\")), 1),\n _createElementVNode(\"div\", _hoisted_19, _toDisplayString(_unref($t)(\"articleName\")), 1),\n _createElementVNode(\"div\", _hoisted_20, _toDisplayString(_unref($t)(\"status\")), 1),\n _createElementVNode(\"div\", _hoisted_21, _toDisplayString(_unref($t)(\"variationGroups\")), 1)\n ]),\n _createVNode(_unref(UseVirtualList), {\n ref: \"virtualList\",\n list: vm.resultList,\n height: \"calc(80vh - 190px)\",\n options: { itemHeight: 30 }\n }, {\n default: _withCtx(({ data: entry }) => [\n _createElementVNode(\"div\", {\n class: \"results-table-row\",\n onClick: ($event: any) => (navigateToContentEditor(entry?.articleId))\n }, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(Icon, { icon: \"Article\" }),\n _createElementVNode(\"span\", null, _toDisplayString(entry?.articleNo), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"span\", {\n class: _normalizeClass({ fallback: entry?.name_IsFallback })\n }, _toDisplayString(entry?.name), 3)\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", {\n class: \"entry-status-color\",\n style: _normalizeStyle({ backgroundColor: `#${entry?.stateColor?.slice(2)}` })\n }, null, 4),\n _createElementVNode(\"span\", null, _toDisplayString(entry?.stateName), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"span\", {\n class: _normalizeClass({ fallback: entry?.variationGroupName_IsFallback })\n }, _toDisplayString(entry?.variationGroupName), 3)\n ])\n ], 8, _hoisted_22)\n ]),\n _: 1\n }, 8, [\"list\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (states.currentTab == Tabs.excelEdit)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n _createVNode(excelEditEditor, {\n ref: \"excel-editor\",\n isAdvancedSearchExcelEdit: true,\n advancedSearchId: vm.selectedSearch?.advancedSearchId,\n advancedSearchName: vm.selectedSearch?.name\n }, null, 8, [\"advancedSearchId\", \"advancedSearchName\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, !states.isBusy]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_30, [\n _createVNode(Spinner)\n ], 512), [\n [_vShow, states.isBusy]\n ])\n ], 64))\n}\n}\n\n})","\r\n\r\n","import script from \"./AdvancedSearch.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AdvancedSearch.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import AdvancedSearch from \"@AdvancedSearch/views/AdvancedSearch.vue\";\r\n\r\nexport default [\r\n {\r\n path: \"/app/advanced-search\",\r\n name: \"advanced-search\",\r\n\r\n component: AdvancedSearch\r\n }\r\n];\r\n","import apps from \"@services/applications.js\";\r\n\r\nexport default [\r\n {\r\n path: \"/app/attribute-manager\",\r\n name: \"attribute-manager\",\r\n meta: {\r\n module: \"attribute-manager\",\r\n application: apps.Modules.AttributeManager.Id,\r\n title: \"Attribute Manager\"\r\n },\r\n component: () => import(\"@AttributeManager/views/AttributeEditor.vue\"),\r\n children: []\r\n }\r\n];\r\n","import apps from \"@services/applications.js\";\r\n\r\nexport default [\r\n {\r\n path: \"/app/automation-server\",\r\n name: \"automation-server\",\r\n meta: {\r\n module: \"automation-server\",\r\n application: apps.Modules.AutomationServer.Id,\r\n title: \"Automation Server\"\r\n },\r\n component: () => import(\"@AutomationServer/views/AutomationServer.vue\")\r\n },\r\n {\r\n path: \"/app/automation/:id\",\r\n name: \"automation-details\",\r\n meta: {\r\n module: \"automation-server\",\r\n application: apps.Modules.AutomationServer.Id,\r\n authenticatedRoute: true\r\n },\r\n component: () => import(\"@AutomationServer/views/Automation.vue\")\r\n }\r\n];\r\n","import apps from \"@services/applications.js\";\r\n\r\nexport default [\r\n {\r\n path: \"/app/channel-creator\",\r\n name: \"channel-creator\",\r\n meta: {\r\n module: \"channel-creator\",\r\n application: apps.Modules.ChannelCreator.Id,\r\n title: \"Channel Creator\"\r\n },\r\n component: () => import(\"@ChannelCreator/views/ChannelCreator.vue\"),\r\n children: [\r\n {\r\n path: \"workspace/target-node-editor\",\r\n name: \"target-node-workspace\",\r\n meta: {\r\n module: \"channel-creator\",\r\n application: apps.Modules.ChannelCreator.Id\r\n },\r\n component: () => import(\"@ChannelCreator/components/Workspaces/TargetCatalogNodeDetails.vue\")\r\n }\r\n ]\r\n }\r\n];\r\n","import apps from \"@services/applications.js\";\r\n\r\nexport default [\r\n {\r\n path: \"/app/editor\",\r\n name: \"content-editor\",\r\n meta: {\r\n module: \"content-editor\",\r\n application: apps.Modules.ContentEditor.Id,\r\n title: \"Content Editor\"\r\n },\r\n component: () => import(\"@ContentEditor/views/ContentEditor.vue\"),\r\n children: [\r\n {\r\n path: \"article/:id\",\r\n name: \"article-editor\",\r\n component: () => import(\"@ContentEditor/views/ArticleEditor.vue\"),\r\n meta: {\r\n application: apps.Modules.ContentEditor.Id,\r\n authenticatedRoute: true\r\n }\r\n },\r\n {\r\n path: \"variationGroup/:id\",\r\n name: \"variationGroup-editor\",\r\n component: () => import(\"@ContentEditor/views/VariationGroupEditor.vue\"),\r\n meta: {\r\n application: apps.Modules.ContentEditor.Id,\r\n authenticatedRoute: true\r\n }\r\n },\r\n {\r\n path: \"catalogNode/:id\",\r\n name: \"catalogNode-editor\",\r\n component: () => import(\"@ContentEditor/views/CatalogNodeEditor.vue\"),\r\n meta: {\r\n application: apps.Modules.ContentEditor.Id,\r\n authenticatedRoute: true\r\n }\r\n },\r\n {\r\n path: \"catalogHome\",\r\n name: \"catalog-home\",\r\n component: () => import(\"@common/views/CatalogHome.vue\")\r\n }\r\n ]\r\n }\r\n];\r\n","import apps from \"@/services/applications.js\";\r\nexport default [\r\n {\r\n path: \"/app/dashboard\",\r\n name: \"dashboard\",\r\n meta: {\r\n module: \"dashboard\",\r\n application: apps.Modules.Cockpit.Id\r\n },\r\n component: () => import(\"@Dashboard/views/Dashboard.vue\")\r\n }\r\n];\r\n","import { RouteRecordRaw } from \"vue-router\";\r\n\r\nconst routes: RouteRecordRaw[] = [];\r\n\r\nif (process.env.NODE_ENV !== \"production\") {\r\n routes.push({\r\n path: \"/app/reference-guide\",\r\n name: \"reference-guide\",\r\n component: () => import(\"@common/views/tools/StyleNIconReferencePage.vue\")\r\n });\r\n}\r\nexport default routes;\r\n","export default [\r\n {\r\n path: \"/app/export\",\r\n name: \"export\",\r\n meta: {\r\n module: \"export\",\r\n title: \"Exports\"\r\n },\r\n component: () => import(\"@Exports/views/GeneralExports.vue\"),\r\n children: [\r\n {\r\n path: \":type/:id?\",\r\n name: \"create-export\",\r\n meta: {\r\n application: \"300\",\r\n authenticatedRoute: true\r\n },\r\n component: () => import(\"@Exports/components/CreateExport.vue\")\r\n },\r\n {\r\n path: \"progress/:type/:id\",\r\n name: \"progress-export\",\r\n meta: {\r\n authenticatedRoute: true\r\n },\r\n component: () => import(\"@Exports/components/ProgressExport.vue\")\r\n },\r\n {\r\n path: \"export-settings/:type/:id\",\r\n name: \"export-settings-viewer\",\r\n meta: {\r\n authenticatedRoute: true\r\n },\r\n component: () => import(\"@Exports/components/ExportSettingsViewer.vue\")\r\n }\r\n ]\r\n },\r\n {\r\n path: \"/app/combit-designer/:id/:layout?\",\r\n name: \"fastpage-designer\",\r\n meta: {\r\n authenticatedRoute: true\r\n },\r\n component: () => import(\"@Exports/components/FastPage/WebReportDesignerView.vue\")\r\n }\r\n];\r\n","export default [\r\n {\r\n path: \"/app/module-restricted\",\r\n name: \"module-restricted\",\r\n component: () => import(\"@common/views/ModuleRestricted.vue\")\r\n }\r\n];\r\n","export default [\r\n {\r\n path: \"/app/user/settings\",\r\n name: \"user-settings\",\r\n component: () => import(\"../common/views/Settings.vue\"),\r\n redirect: () => ({ name: \"account-settings\" }), // TODO: Update this to general settings route name when that is implemented.\r\n children: [\r\n {\r\n path: \"account\",\r\n name: \"account-settings\",\r\n component: () => import(\"../common/components/Settings/Account.vue\")\r\n }\r\n ]\r\n }\r\n];\r\n","\r\n\r\n\r\n","\r\n\r\n\r\n\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = {\n class: \"d-block simple-search-result\",\n id: \"nav-search-results\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"m-3\",\n \"data-cy\": \"article-not-found-warning\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"m-0\" }, null, -1)\nconst _hoisted_4 = {\n key: 1,\n class: \"rightP\"\n}\n\nimport Pager from \"@common/components/Pager.vue\";\r\nimport _ from \"lodash\";\r\nimport { computed, onMounted, ref, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { useRoute } from \"vue-router\";\r\nimport searchRow from \"./SimpleSearchResultRow.vue\";\r\n\r\n//#region General\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SimpleSearchResults',\n props: {\n articleDisplayResults: {},\n selectSearchRow: {},\n searchPhrases: {},\n actPage: {},\n lastPage: { type: Boolean },\n loading: { type: Boolean },\n language: {},\n highlightArticleId: {}\n },\n emits: [\"selected\", \"navigate-next\", \"navigate-previous\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\nconst $route = useRoute();\r\nconst { t: $t } = useI18n();\r\n\r\n\r\n//#endregion\r\n\r\n//#region Ref\r\nconst searchResultsDisplay = ref();\r\n//#endregion\r\n\r\n//#region Methods\r\nconst selected = (args: any) => {\r\n //Event for parent when selection is changed\r\n emits(\"selected\", args);\r\n};\r\n\r\nconst refreshSelectionByUrlId = () => {\r\n const indexOfCurrentArticle = _.findIndex(props.articleDisplayResults, {\r\n articleId: $route?.params?.id\r\n });\r\n searchResultsDisplay.value.clearSelected();\r\n if (indexOfCurrentArticle != -1) {\r\n searchResultsDisplay.value.selectRow(indexOfCurrentArticle);\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region Computed\r\nconst fields = computed(() => {\r\n return [\r\n {\r\n key: \"index\",\r\n label: \"\",\r\n sortable: false,\r\n tdClass: \"d-none \"\r\n },\r\n {\r\n key: \"articleNo\",\r\n label: \"\",\r\n sortable: false,\r\n tdClass: \"d-none\"\r\n },\r\n {\r\n key: \"displaytext\",\r\n label: \"\",\r\n sortable: false,\r\n tdClass: \"p-0 simple-search-result-cell\",\r\n\r\n escape: false\r\n }\r\n ];\r\n});\r\n//#endregion\r\n\r\n//#region Watch\r\nwatch(\r\n () => props.selectSearchRow,\r\n () => {\r\n refreshSelectionByUrlId();\r\n }\r\n);\r\n\r\nwatch(\r\n () => props.articleDisplayResults,\r\n () => {\r\n searchResultsDisplay.value.clearSelected();\r\n searchResultsDisplay.value.refresh();\r\n }\r\n);\r\n\r\n//#endregion\r\n\r\n//#region LifeCycle\r\nonMounted(() => {\r\n refreshSelectionByUrlId();\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_table = _resolveComponent(\"b-table\")!\n const _component_b_card = _resolveComponent(\"b-card\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_b_card, {\n class: \"shadow-none\",\n style: {\"min-width\":\"20rem border-0\"}\n }, {\n default: _withCtx(() => [\n (!_ctx.articleDisplayResults?.length)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, _toDisplayString(_unref($t)(\"noArticleSearchResults\")), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_b_table, {\n borderless: \"\",\n hover: \"\",\n items: _ctx.articleDisplayResults,\n onRowClicked: selected,\n fields: fields.value,\n selectable: \"\",\n \"select-mode\": \"single\",\n \"thead-class\": \"d-none\",\n \"tbody-tr-class\": \"simple-search-result-tr\",\n ref_key: \"searchResultsDisplay\",\n ref: searchResultsDisplay,\n \"data-cy\": \"search-article-result-tbl\"\n }, {\n \"cell(displaytext)\": _withCtx((data) => [\n _createVNode(searchRow, {\n articleId: data.item.articleId,\n articleNo: data.item.articleNo,\n class: _normalizeClass({\r\n 'highlight-row': data.item.articleId == _ctx.highlightArticleId\r\n }),\n Name: data.item.Name,\n Description: data.item.Description,\n searchPhrases: _ctx.searchPhrases,\n language: _ctx.language\n }, null, 8, [\"articleId\", \"articleNo\", \"class\", \"Name\", \"Description\", \"searchPhrases\", \"language\"])\n ]),\n _: 1\n }, 8, [\"items\", \"fields\"]),\n _hoisted_3,\n (_ctx.articleDisplayResults?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(Pager, {\n width: \"130px\",\n onlySingleSteps: \"\",\n isOnFirstPage: _ctx.actPage <= 0,\n currentPage: _ctx.actPage + 1,\n isOnLastPage: _ctx.lastPage,\n isLoading: _ctx.loading,\n onNextPage: _cache[0] || (_cache[0] = ($event: any) => (emits('navigate-next'))),\n onPrevPage: _cache[1] || (_cache[1] = ($event: any) => (emits('navigate-previous'))),\n \"data-cy\": \"article-search-result-pager\"\n }, null, 8, [\"isOnFirstPage\", \"currentPage\", \"isOnLastPage\", \"isLoading\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./SimpleSearchResults.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SimpleSearchResults.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"footer\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"footer-result\" }, null, -1)\nconst _hoisted_3 = { class: \"footer-actions\" }\n\nimport { computed, ref, unref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport AdvancedSearch from \"./AdvancedSearch.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AdvancedSearchModal',\n props: {\n value: { type: Boolean }\n },\n emits: [\"input\"],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props;\n\r\n\r\n\r\n\r\nconst { t: $t } = useI18n();\r\n\r\nconst localModel = computed({\r\n get() {\r\n return props.value;\r\n },\r\n set(nv) {\r\n emits(\"input\", nv);\r\n }\r\n});\r\n\r\nconst advancedSearch = ref | null>(null);\r\n\r\nconst hideModal = () => {\r\n localModel.value = false;\r\n};\r\n\r\nconst hideHandler = (event: any) => {\r\n const advSearchObj = unref(advancedSearch);\r\n if (advSearchObj?.states?.isDirty && !confirm($t(\"confirm.hasUnsavedData\"))) event.preventDefault();\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n title: _unref($t)('advancedSearch'),\n id: \"advanced-search-modal\",\n \"header-close-content\": \"\",\n size: \"xl\",\n \"body-class\": \"advanced-search-modal\",\n modelValue: localModel.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((localModel).value = $event)),\n onHide: hideHandler\n }, {\n \"modal-footer\": _withCtx(({ cancel }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_b_btn, { onClick: cancel }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"Close\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(AdvancedSearch, {\n ref_key: \"advancedSearch\",\n ref: advancedSearch,\n onHide: hideModal\n }, null, 512)\n ]),\n _: 1\n }, 8, [\"title\", \"modelValue\"]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./AdvancedSearchModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AdvancedSearchModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./SimpleSearch.vue?vue&type=template&id=9db7f6ea\"\nimport script from \"./SimpleSearch.vue?vue&type=script&lang=js\"\nexport * from \"./SimpleSearch.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./ViewOptionsModal.vue?vue&type=template&id=a587f8d4\"\nimport script from \"./ViewOptionsModal.vue?vue&type=script&lang=js\"\nexport * from \"./ViewOptionsModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"pt-1 w-50\" }\nconst _hoisted_2 = { class: \"pt-0\" }\nconst _hoisted_3 = { class: \"d-flex align-items-center\" }\nconst _hoisted_4 = { class: \"section-wrapper\" }\nconst _hoisted_5 = { class: \"d-flex align-items-center\" }\nconst _hoisted_6 = { class: \"pl-3\" }\nconst _hoisted_7 = { class: \"d-flex align-items-center\" }\nconst _hoisted_8 = { class: \"d-flex align-items-center\" }\nconst _hoisted_9 = { class: \"d-flex align-items-center\" }\nconst _hoisted_10 = { class: \"d-flex align-items-center\" }\n\nimport InfoSwitch from \"@common/components/InfoSwitch.vue\";\r\nimport { onMounted } from \"vue\";\r\nimport { computed, reactive, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { useActions, useState } from \"vuex-composition-helpers\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n checked: boolean;\r\n intern_suggestionsEnabled: boolean;\r\n settings: {\r\n IsTextAttributeSuggestionsEnabled: boolean;\r\n IsTableAttributeSuggestionsEnabled: boolean;\r\n IsGlobalAttributeSuggestionsEnabled: boolean;\r\n IsERPAttributeSuggestionsEnabled: boolean;\r\n IsShowingTranslationTabEnabled: boolean;\r\n IsLiveEditEnabled: boolean;\r\n IsShowPricesEnabled: boolean;\r\n IsLiveEditPaginationEnabled: boolean;\r\n LiveEditArticlePagesize: number;\r\n ShowConfirmationDialogOnDragAndDrop: boolean;\r\n };\r\n};\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GeneralOptionsModal',\n setup(__props) {\n\r\nconst { t: $t } = useI18n();\r\n//#endregion\r\n\r\n//#region Store\r\nconst { userSettings } = useState([\"userSettings\"]);\r\nconst { saveUserSettings } = useActions([\"saveUserSettings\"]);\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({\r\n checked: true,\r\n intern_suggestionsEnabled: true,\r\n settings: {\r\n IsTextAttributeSuggestionsEnabled: true,\r\n IsTableAttributeSuggestionsEnabled: true,\r\n IsGlobalAttributeSuggestionsEnabled: true,\r\n IsERPAttributeSuggestionsEnabled: true,\r\n IsShowingTranslationTabEnabled: true,\r\n IsLiveEditEnabled: true,\r\n IsShowPricesEnabled: true,\r\n IsLiveEditPaginationEnabled: true,\r\n LiveEditArticlePagesize: 5,\r\n ShowConfirmationDialogOnDragAndDrop: true\r\n }\r\n});\r\n//#endregion\r\n\r\n//#region UserSettings\r\nwatch(\r\n () => vm.settings,\r\n (nv) => {\r\n checkForSuggestionEnabled(vm.settings);\r\n saveUserSettings(nv);\r\n },\r\n { deep: true }\r\n);\r\nwatch(\r\n () => userSettings.value,\r\n (nv) => {\r\n if (!nv) return;\r\n\r\n Object.assign(vm.settings, {\r\n IsTextAttributeSuggestionsEnabled: nv.IsTextAttributeSuggestionsEnabled === true || nv.IsTextAttributeSuggestionsEnabled === \"true\",\r\n IsTableAttributeSuggestionsEnabled: nv.IsTableAttributeSuggestionsEnabled === true || nv.IsTableAttributeSuggestionsEnabled === \"true\",\r\n IsGlobalAttributeSuggestionsEnabled: nv.IsGlobalAttributeSuggestionsEnabled === true || nv.IsGlobalAttributeSuggestionsEnabled === \"true\",\r\n IsERPAttributeSuggestionsEnabled: nv.IsERPAttributeSuggestionsEnabled === true || nv.IsERPAttributeSuggestionsEnabled === \"true\",\r\n IsShowingTranslationTabEnabled: nv.IsShowingTranslationTabEnabled === true || nv.IsShowingTranslationTabEnabled === \"true\",\r\n IsLiveEditEnabled: nv.IsLiveEditEnabled === true || nv.IsLiveEditEnabled === \"true\",\r\n IsShowPricesEnabled: nv.IsShowPricesEnabled === true || nv.IsShowPricesEnabled === \"true\",\r\n IsLiveEditPaginationEnabled: nv.IsLiveEditPaginationEnabled === true || nv.IsLiveEditPaginationEnabled === \"true\",\r\n LiveEditArticlePagesize: nv.LiveEditArticlePagesize,\r\n ShowConfirmationDialogOnDragAndDrop: nv.ShowConfirmationDialogOnDragAndDrop === true || nv.ShowConfirmationDialogOnDragAndDrop === \"true\"\r\n });\r\n },\r\n { deep: true, immediate: true }\r\n);\r\n//#endregion\r\n\r\n//#region Page/Suggestions\r\nconst suggestionsEnabled = computed({\r\n get: () => {\r\n return vm.intern_suggestionsEnabled;\r\n },\r\n set: (newValue) => {\r\n vm.intern_suggestionsEnabled = newValue;\r\n vm.settings.IsTextAttributeSuggestionsEnabled = newValue;\r\n vm.settings.IsTableAttributeSuggestionsEnabled = newValue;\r\n vm.settings.IsGlobalAttributeSuggestionsEnabled = newValue;\r\n vm.settings.IsERPAttributeSuggestionsEnabled = newValue;\r\n }\r\n});\r\n\r\nconst checkForSuggestionEnabled = (settings: ViewModel[\"settings\"]) => {\r\n if (\r\n settings.IsTextAttributeSuggestionsEnabled === false &&\r\n settings.IsTableAttributeSuggestionsEnabled === false &&\r\n settings.IsGlobalAttributeSuggestionsEnabled === false &&\r\n settings.IsERPAttributeSuggestionsEnabled === false\r\n ) {\r\n vm.intern_suggestionsEnabled = false;\r\n }\r\n};\r\n\r\nconst articlePageSizes = computed(() => {\r\n const resultList = [];\r\n for (let i = 1; i <= 5; i++) {\r\n resultList.push({\r\n value: 5 * i,\r\n text: $t(\"articleCount\", { field: 5 * i }).toString()\r\n });\r\n }\r\n return resultList;\r\n});\r\n//#endregion\r\nonMounted(() => {\r\n checkForSuggestionEnabled(userSettings.value);\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_form_checkbox = _resolveComponent(\"b-form-checkbox\")!\n const _component_b_tab = _resolveComponent(\"b-tab\")!\n const _component_b_dropdown_item = _resolveComponent(\"b-dropdown-item\")!\n const _component_b_dropdown = _resolveComponent(\"b-dropdown\")!\n const _component_b_tabs = _resolveComponent(\"b-tabs\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n \"header-close-content\": \"\",\n id: \"general-options-modal\",\n title: _unref($t)('options'),\n \"ok-only\": \"\",\n \"data-cy\": \"editor-general-option-modal\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_b_tabs, null, {\n default: _withCtx(() => [\n _createVNode(_component_b_tab, {\n title: _unref($t)('menubar.general'),\n class: \"p-2\",\n \"data-cy\": \"editor-general-options-tab\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.ShowConfirmationDialogOnDragAndDrop,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vm.settings.ShowConfirmationDialogOnDragAndDrop) = $event)),\n inline: \"\",\n \"data-cy\": \"editor-drag-drop-confirm-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"menubar.options.showConfirmationOnDragDrop\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_b_tab, {\n title: _unref($t)('menubar.liveedit'),\n class: \"p-2\",\n \"data-cy\": \"editor-live-edit-options-tab\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsLiveEditEnabled,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((vm.settings.IsLiveEditEnabled) = $event)),\n inline: \"\",\n \"data-cy\": \"editor-live-edit-enable-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"menubar.options.isLiveEditEnabled\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsShowPricesEnabled,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((vm.settings.IsShowPricesEnabled) = $event)),\n inline: \"\",\n \"data-cy\": \"editor-live-edit-price-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"menubar.options.showPrices\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsLiveEditPaginationEnabled,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((vm.settings.IsLiveEditPaginationEnabled) = $event)),\n inline: \"\",\n \"data-cy\": \"editor-live-edit-paging-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"menubar.options.enabledPagination\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"strong\", _hoisted_2, _toDisplayString(_unref($t)(\"menubar.options.articlePerPage\")), 1),\n _createVNode(_component_b_dropdown, {\n class: \"dropdown-default align-self-center mt-2\",\n disabled: !vm.settings.IsLiveEditPaginationEnabled\n }, {\n \"button-content\": _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"articleCount\", { field: vm.settings.LiveEditArticlePagesize })), 1)\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(articlePageSizes.value, (articlePagesize) => {\n return (_openBlock(), _createBlock(_component_b_dropdown_item, {\n key: articlePagesize.value,\n onClick: ($event: any) => (vm.settings.LiveEditArticlePagesize = articlePagesize.value)\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(articlePagesize.text), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_b_tab, {\n title: _unref($t)('menubar.translation'),\n class: \"p-2\",\n \"data-cy\": \"editor-transltaion-options-tab\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsShowingTranslationTabEnabled,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((vm.settings.IsShowingTranslationTabEnabled) = $event)),\n inline: \"\",\n \"data-cy\": \"editor-translation-enable-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"menubar.options.showTranslation\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_b_tab, {\n title: _unref($t)('menubar.suggestions'),\n class: \"p-2\",\n \"data-cy\": \"editor-suggest-options-tab\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(InfoSwitch, {\n size: \"sm\",\n modelValue: suggestionsEnabled.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((suggestionsEnabled).value = $event)),\n title: _unref($t)('AttributeSuggestions').toString(),\n \"data-cy\": \"editor-suggest-enable-cbx\"\n }, null, 8, [\"modelValue\", \"title\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsTextAttributeSuggestionsEnabled,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((vm.settings.IsTextAttributeSuggestionsEnabled) = $event)),\n disabled: !vm.intern_suggestionsEnabled,\n inline: \"\",\n \"data-cy\": \"editor-suggest-text-enable-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"text.name\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsTableAttributeSuggestionsEnabled,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((vm.settings.IsTableAttributeSuggestionsEnabled) = $event)),\n disabled: !vm.intern_suggestionsEnabled,\n inline: \"\",\n \"data-cy\": \"editor-suggest-table-enable-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"table.name\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsGlobalAttributeSuggestionsEnabled,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((vm.settings.IsGlobalAttributeSuggestionsEnabled) = $event)),\n disabled: !vm.intern_suggestionsEnabled,\n inline: \"\",\n \"data-cy\": \"editor-suggest-global-enable-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"global.name\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: vm.settings.IsERPAttributeSuggestionsEnabled,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((vm.settings.IsERPAttributeSuggestionsEnabled) = $event)),\n disabled: !vm.intern_suggestionsEnabled,\n inline: \"\",\n \"data-cy\": \"editor-suggest-erp-enable-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"erp.name\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"title\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\"]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./GeneralOptionsModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GeneralOptionsModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./ContextMenuBar.vue?vue&type=template&id=0e5c63fd\"\nimport script from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\nexport * from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./ViewOptionsModal.vue?vue&type=template&id=6f9887b7\"\nimport script from \"./ViewOptionsModal.vue?vue&type=script&lang=js\"\nexport * from \"./ViewOptionsModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./GeneralOptionsModal.vue?vue&type=template&id=47a416d8\"\nimport script from \"./GeneralOptionsModal.vue?vue&type=script&lang=js\"\nexport * from \"./GeneralOptionsModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","\r\n","import { render } from \"./Intro.vue?vue&type=template&id=1e2e7aed\"\nconst script = {}\n\nimport exportComponent from \"../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./ExistingCatalog.vue?vue&type=template&id=51968fd6\"\nimport script from \"./ExistingCatalog.vue?vue&type=script&lang=js\"\nexport * from \"./ExistingCatalog.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get: async function () {\r\n const response = await api.get(endpoints.article.articleNumberTypes.get);\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n async post(params) {\r\n const result = await api.post(endpoints.files.fieldHeaders.post, params);\r\n return result.data;\r\n }\r\n};\r\n","import { render } from \"./CatalogOptions.vue?vue&type=template&id=929879d6\"\nimport script from \"./CatalogOptions.vue?vue&type=script&lang=js\"\nexport * from \"./CatalogOptions.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./CatalogNaming.vue?vue&type=template&id=21f4a4af\"\nimport script from \"./CatalogNaming.vue?vue&type=script&lang=js\"\nexport * from \"./CatalogNaming.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./CatalogFinishing.vue?vue&type=template&id=b08e1156\"\nimport script from \"./CatalogFinishing.vue?vue&type=script&lang=js\"\nexport * from \"./CatalogFinishing.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./FromTextFileModal.vue?vue&type=template&id=80bf9852\"\nimport script from \"./FromTextFileModal.vue?vue&type=script&lang=js\"\nexport * from \"./FromTextFileModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./AutoMapping.vue?vue&type=template&id=59ad3b38\"\nimport script from \"./AutoMapping.vue?vue&type=script&lang=js\"\nexport * from \"./AutoMapping.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./ContextMenuBar.vue?vue&type=template&id=2ab2fd6a\"\nimport script from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\nexport * from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./ViewOptionsModal.vue?vue&type=template&id=0957cf3c\"\nimport script from \"./ViewOptionsModal.vue?vue&type=script&lang=js\"\nexport * from \"./ViewOptionsModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./GeneralOptionsModal.vue?vue&type=template&id=74a24df4\"\nimport script from \"./GeneralOptionsModal.vue?vue&type=script&lang=js\"\nexport * from \"./GeneralOptionsModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./ContextMenuBar.vue?vue&type=template&id=008def7d\"\nimport script from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\nexport * from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, vModelText as _vModelText, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"fast-page-translation-wrapper\" }\nconst _hoisted_2 = { class: \"manipulation-area\" }\nconst _hoisted_3 = { class: \"button-area\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Plus mr-1\" }, null, -1)\nconst _hoisted_5 = { class: \"search-area mr-1\" }\nconst _hoisted_6 = { class: \"filter-search input-group\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"input-group-text\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Filter\" })\n], -1)\nconst _hoisted_8 = [\n _hoisted_7\n]\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Close\" }, null, -1)\nconst _hoisted_10 = { class: \"translation-table-wrapper mt-2\" }\nconst _hoisted_11 = { class: \"table translation-table\" }\nconst _hoisted_12 = { class: \"custom-table-tr\" }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"th\", { class: \"width-auto options-column\" }, null, -1)\nconst _hoisted_14 = { class: \"custom-table-header\" }\nconst _hoisted_15 = { class: \"custom-table-header-font my-2\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"language-indication\"\n}\nconst _hoisted_17 = [\"onClick\"]\nconst _hoisted_18 = { class: \"options-column width-auto\" }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Ellipsis\" }, null, -1)\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"menu-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Delete\" })\n], -1)\nconst _hoisted_21 = { class: \"menu-text\" }\nconst _hoisted_22 = [\"onUpdate:modelValue\", \"onInput\"]\n\nimport { ILocalizedRecord } from \"@medapro-types/common/components/localizedDataListEditorTypes\";\r\nimport { ITranslationTableTypeModel } from \"@medapro-types/Exports/components/FastPage/ITranslationTableTypeModel\";\r\nimport { reactive, computed, nextTick, ref, watch } from \"vue\";\r\nimport exportApi from \"@services/exports\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { MetaDataState } from \"@medapro-types/common/metadata\";\r\nimport { createNamespacedHelpers } from \"vuex-composition-helpers\";\r\nimport TextBoxWithFallback from \"@ContentEditor/components/TextBoxWithFallback.vue\";\r\nimport ruleEvaluator from \"@AttributeManager/validations/ruleEvaluator.js\";\r\nimport _ from \"lodash\";\r\n\r\ntype ViewModel = {\r\n translations: ILocalizedRecord[];\r\n selectedRow: number | null;\r\n inputIsFocused: boolean;\r\n searchTerm: string;\r\n loading: boolean;\r\n dirty: boolean;\r\n rowsCount: number;\r\n};\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TranslationTableDialog',\n props: {\n showTranslationTable: { type: Boolean }\n },\n emits: [\"update:showTranslationTable\"],\n setup(__props: any, { emit }) {\n\nconst props = __props;\n\r\n\r\nconst { t: $t } = useI18n();\r\n\r\nconst tableTranslation = ref([]);\r\n\r\n//#region ViewModel\r\nconst vm = reactive({\r\n translations: [] as ILocalizedRecord[],\r\n selectedRow: null,\r\n inputIsFocused: false,\r\n searchTerm: \"\",\r\n loading: false,\r\n dirty: false,\r\n rowsCount: 0\r\n});\r\n\r\nconst _showTranslationTable = computed({\r\n get: () => {\r\n return props.showTranslationTable;\r\n },\r\n set: (nv) => {\r\n emit(\"update:showTranslationTable\", nv);\r\n }\r\n});\r\n\r\nconst closeModal = () => {\r\n emptySearchTerm();\r\n emit(\"update:showTranslationTable\", false);\r\n};\r\n\r\nconst sortedList = computed(() => {\r\n const filter = vm.searchTerm ? vm.searchTerm.toLowerCase() : null;\r\n return !filter ? vm.translations : vm.translations.filter((x) => x[primaryLanguage.value.languageCode].key.toLocaleLowerCase().includes(filter));\r\n});\r\n\r\nconst emptySearchTerm = () => {\r\n vm.searchTerm = \"\";\r\n nextTick(() => {\r\n if (vm.rowsCount > vm.translations.length) {\r\n scrollToLastElement();\r\n }\r\n });\r\n};\r\n\r\nconst selectRow = (index: number) => {\r\n if (vm.selectedRow != index) vm.selectedRow = index;\r\n};\r\n\r\nconst deleteItem = (index: number) => {\r\n vm.translations.splice(index, 1);\r\n};\r\n\r\nconst { useState: useMetaDataState } = createNamespacedHelpers(\"metadata\");\r\nconst { contentLanguages } = useMetaDataState([\"contentLanguages\"]);\r\n\r\n//#region Language\r\nconst languages = computed(() => {\r\n return contentLanguages.value.enabled;\r\n});\r\n\r\nconst primaryLanguage = computed(() => {\r\n return contentLanguages.value.enabled[0];\r\n});\r\n\r\nconst translatedLanguageCodes = computed((): string[] => {\r\n const translatedLangCodes = _.tail(contentLanguages.value.enabled);\r\n return translatedLangCodes.map((x) => x.languageCode);\r\n});\r\n\r\n//#endregion\r\n\r\nasync function loadTranslationTable() {\r\n try {\r\n vm.loading = true;\r\n const enabledLanguageCodes = contentLanguages.value.enabled.map((x) => x.languageCode);\r\n const data = await exportApi.getTranslationTable(enabledLanguageCodes);\r\n vm.translations = data;\r\n vm.rowsCount = vm.translations.length;\r\n } catch (error) {\r\n console.error(\"Error on loading translation table:\", error);\r\n } finally {\r\n vm.loading = false;\r\n }\r\n}\r\n\r\nasync function SaveTranslations() {\r\n try {\r\n const enabledLanguageCodes = contentLanguages.value.enabled.map((x) => x.languageCode);\r\n const strippedModels = vm.translations.map((x) => _.pick(x, enabledLanguageCodes));\r\n await exportApi.updateTranslationTable(strippedModels);\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n}\r\n\r\nfunction addNew() {\r\n const row: ILocalizedRecord = Object.fromEntries(\r\n contentLanguages.value.enabled.map((x) => [\r\n x.languageCode,\r\n {\r\n key: generateNewName($t(\"newValues.TranslationKey\"), vm.translations),\r\n value: \"\",\r\n languageName: x.languageCode\r\n }\r\n ])\r\n );\r\n\r\n vm.translations.push(row);\r\n\r\n if (vm.searchTerm) {\r\n vm.rowsCount = vm.translations.length + 1;\r\n }\r\n nextTick(() => {\r\n scrollToLastElement();\r\n });\r\n}\r\n\r\nasync function scrollToLastElement() {\r\n const index = tableTranslation.value.length - 1;\r\n const tableRow = tableTranslation.value[index];\r\n selectRow(index);\r\n\r\n tableRow?.scrollIntoView({ behavior: \"smooth\" });\r\n const inputs = tableRow?.getElementsByTagName(\"input\");\r\n if (inputs && inputs.length > 0) {\r\n inputs[0].focus();\r\n }\r\n}\r\n\r\nfunction generateNewName(nameTemplate: string, values: ILocalizedRecord[]) {\r\n if (values.every((x) => x[primaryLanguage.value.languageCode].key !== nameTemplate)) {\r\n return nameTemplate;\r\n }\r\n\r\n const pattern = new RegExp(nameTemplate + \" \\\\((?\\\\d+)\\\\)\");\r\n const counters = values\r\n .map((x) => pattern.exec(x[primaryLanguage.value.languageCode].key)?.groups?.counter)\r\n .filter((x) => x)\r\n .map((x) => parseInt(x))\r\n .sort((a, b) => a - b);\r\n const nextCounter = counters.length ? counters[counters.length - 1] + 1 : 1;\r\n return `${nameTemplate} (${nextCounter})`;\r\n}\r\n\r\nfunction syncAcrossLanguages(source: ILocalizedRecord, value: string) {\r\n if (!translatedLanguageCodes.value || translatedLanguageCodes.value.length === 0) return;\r\n nextTick(() => {\r\n translatedLanguageCodes.value.forEach((x) => (source[x].key = value));\r\n });\r\n}\r\n\r\nconst feedbacks: Record = computed(() => {\r\n const rules = {\r\n key: [\r\n {\r\n rule: (entry: ITranslationTableTypeModel) => !entry.key || entry.key.length <= 256, //either empty or less than 256 chars\r\n msg: $t(\"validation.lengthExceeds\", { length: 256, field: $t(\"translation.translationKey\") }),\r\n severity: \"error\"\r\n },\r\n {\r\n rule: (entry: ITranslationTableTypeModel) => entry.key,\r\n msg: $t(\"validation.valueRequired\", { field: $t(\"translation.translationKey\") }),\r\n severity: \"error\"\r\n },\r\n {\r\n rule: (entry: ITranslationTableTypeModel, lang: string) => vm.translations.filter((t) => t[lang]?.key && t[lang]?.key === entry?.key)?.length <= 1, //empty or does not match any other same language entry\r\n msg: $t(\"validation.duplicateExists\", { field: $t(\"translation.translationKey\") }),\r\n severity: \"error\"\r\n }\r\n ],\r\n value: [\r\n {\r\n rule: (entry: ITranslationTableTypeModel) => !entry.value || entry.value.length <= 1024,\r\n msg: $t(\"validation.lengthExceeds\", { length: 1024, field: $t(\"translation.translationKey\") }),\r\n severity: \"error\"\r\n },\r\n {\r\n rule: (entry: ITranslationTableTypeModel, lang: string, row: ILocalizedRecord) =>\r\n languages.value.some((lang) => row[lang.languageCode]?.value !== \"\" && row[lang.languageCode]?.value !== null),\r\n msg: $t(\"validation.requiredOneValue\", { field: $t(\"translation.translationKey\") }),\r\n severity: \"error\"\r\n }\r\n ]\r\n };\r\n\r\n const feedbacks = vm.translations.map((row) => ruleEvaluator(row, rules, languages.value));\r\n return feedbacks;\r\n});\r\n\r\nconst hasValidationErrors = computed(() => {\r\n if (\r\n feedbacks.value\r\n .flatMap((row: ILocalizedRecord) => languages.value.map((lang) => row[lang.languageCode]))\r\n .some((row: Record) => Object.keys(row).some((field: string) => !row[field].isValid && row[field].type == \"error\"))\r\n )\r\n return true;\r\n\r\n return false;\r\n});\r\n\r\nwatch(\r\n () => vm.translations,\r\n (nv, ov) => {\r\n vm.dirty = nv === ov;\r\n },\r\n { deep: true }\r\n);\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_input = _resolveComponent(\"b-input\")!\n const _component_b_button = _resolveComponent(\"b-button\")!\n const _component_b_dropdown_item = _resolveComponent(\"b-dropdown-item\")!\n const _component_b_dropdown = _resolveComponent(\"b-dropdown\")!\n const _component_spinner = _resolveComponent(\"spinner\")!\n const _component_b_overlay = _resolveComponent(\"b-overlay\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n const _directive_b_tooltip = _resolveDirective(\"b-tooltip\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n \"header-close-content\": \"\",\n title: _unref($t)('translation.table'),\n modelValue: _showTranslationTable.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_showTranslationTable).value = $event)),\n onOk: _cache[5] || (_cache[5] = ($event: any) => (SaveTranslations())),\n size: \"xl\",\n onClose: closeModal,\n onCancel: closeModal,\n onShow: loadTranslationTable,\n ref: \"modal\",\n \"no-close-on-backdrop\": \"\",\n \"no-close-on-esc\": \"\"\n }, {\n \"modal-footer\": _withCtx(({ ok, cancel }) => [\n _createVNode(_component_b_btn, {\n onClick: ok,\n variant: \"primary\",\n disabled: hasValidationErrors.value || !vm.dirty\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"OK\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\", \"disabled\"]),\n _createVNode(_component_b_btn, { onClick: cancel }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"Cancel\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_b_btn, {\n class: \"btn-with-icon mono\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (addNew())),\n disabled: hasValidationErrors.value\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _createTextVNode(_toDisplayString(_unref($t)(\"add\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"input-group-prepend\", { isFocused: vm.inputIsFocused }])\n }, _hoisted_8, 2),\n _createVNode(_component_b_input, {\n onFocus: _cache[1] || (_cache[1] = ($event: any) => (vm.inputIsFocused = true)),\n onBlur: _cache[2] || (_cache[2] = ($event: any) => (vm.inputIsFocused = false)),\n placeholder: _unref($t)('Filter'),\n modelValue: vm.searchTerm,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((vm.searchTerm) = $event))\n }, null, 8, [\"placeholder\", \"modelValue\"]),\n (vm.searchTerm)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"input-group-append\", { isFocused: vm.inputIsFocused }])\n }, [\n _createVNode(_component_b_button, { onClick: emptySearchTerm }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n })\n ], 2))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"table\", _hoisted_11, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"th\", _hoisted_14, [\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(_unref($t)(\"translation.translationKey\")), 1)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(languages.value, (lang) => {\n return (_openBlock(), _createElementBlock(\"th\", {\n key: `${lang.languageCode}-value`\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_unref($t)(\"translation.translation\")), 1),\n (languages.value.length > 1)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, \" (\" + _toDisplayString(lang.languageCode) + \")\", 1))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(sortedList.value, (item, index) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n ref_for: true,\n ref_key: \"tableTranslation\",\n ref: tableTranslation,\n key: index,\n class: _normalizeClass({ selected: index === vm.selectedRow }),\n onClick: ($event: any) => (selectRow(index))\n }, [\n _createElementVNode(\"td\", _hoisted_18, [\n _createVNode(_component_b_dropdown, {\n \"no-caret\": \"\",\n variant: \"primary\",\n class: \"table-option\",\n \"toggle-class\": \"popup-menu-button\",\n \"menu-class\": \"popup-menu\",\n onToggle: ($event: any) => (selectRow(index))\n }, {\n \"button-content\": _withCtx(() => [\n _hoisted_19\n ]),\n default: _withCtx(() => [\n _createVNode(_component_b_dropdown_item, {\n onClick: ($event: any) => (deleteItem(index)),\n href: \"#\",\n \"link-class\": \"menu-option first-option\"\n }, {\n default: _withCtx(() => [\n _hoisted_20,\n _createElementVNode(\"span\", _hoisted_21, _toDisplayString(_unref($t)(\"contextMenu.delete\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1032, [\"onToggle\"])\n ]),\n _createElementVNode(\"td\", null, [\n (item[primaryLanguage.value.languageCode])\n ? _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 0,\n type: \"text\",\n class: _normalizeClass([\"form-control\", {\r\n 'border-danger':\r\n feedbacks.value[index][primaryLanguage.value.languageCode].key &&\r\n !feedbacks.value[index][primaryLanguage.value.languageCode].key.isValid &&\r\n feedbacks.value[index][primaryLanguage.value.languageCode].key.type == 'error'\r\n }]),\n \"onUpdate:modelValue\": ($event: any) => ((item[primaryLanguage.value.languageCode].key) = $event),\n onInput: ($event: any) => (syncAcrossLanguages(item, item[primaryLanguage.value.languageCode].key)),\n maxlength: 256\n }, null, 42, _hoisted_22)), [\n [_vModelText, item[primaryLanguage.value.languageCode].key],\n [\n _directive_b_tooltip,\n \r\n feedbacks.value[index][primaryLanguage.value.languageCode].key &&\r\n !feedbacks.value[index][primaryLanguage.value.languageCode].key.isValid &&\r\n feedbacks.value[index][primaryLanguage.value.languageCode].key.feedback\r\n ,\n void 0,\n { hover: true }\n ]\n ])\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(languages.value, (lang) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n key: `${lang.languageCode}-${index}-value`\n }, [\n (item && item[lang.languageCode] != null)\n ? (_openBlock(), _createBlock(TextBoxWithFallback, {\n key: 0,\n maxLength: 1024,\n source: item,\n field: \"value\",\n modelValue: item[lang.languageCode].value,\n \"onUpdate:modelValue\": ($event: any) => ((item[lang.languageCode].value) = $event),\n language: lang,\n \"validation-data\": feedbacks.value[index][lang.languageCode].value\n }, null, 8, [\"source\", \"modelValue\", \"onUpdate:modelValue\", \"language\", \"validation-data\"]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ], 10, _hoisted_17))\n }), 128))\n ])\n ])\n ]),\n _createVNode(_component_b_overlay, {\n \"z-index\": \"20\",\n opacity: \"0.4\",\n \"no-wrap\": \"\",\n show: vm.loading\n }, {\n overlay: _withCtx(() => [\n _createVNode(_component_spinner, { \"data-cy\": \"manage-catalog-modal-spinner\" })\n ]),\n _: 1\n }, 8, [\"show\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"modelValue\"]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./TranslationTableDialog.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TranslationTableDialog.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"context-menu-bar-exports\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Open\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Plus\" }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Delete\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Dictionary\" })\n], -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-ListAndLabel\" })\n], -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Open\" })\n], -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-History\" })\n], -1)\n\nimport { Guid } from \"@/util/guid\";\r\nimport { useToast } from \"@common/composable/toast\";\r\nimport { ExportProjectModel } from \"@medapro-types/Exports/Exports\";\r\nimport { ExportsActions, ExportsGetter, ExportsState } from \"@medapro-types/Exports/store/exports\";\r\nimport exportApi from \"@services/exports\";\r\nimport { AxiosError } from \"axios\";\r\nimport emitter from \"tiny-emitter/instance\";\r\nimport { computed, onMounted, reactive, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { useRoute, useRouter } from \"vue-router\";\r\nimport { createNamespacedHelpers, useState } from \"vuex-composition-helpers\";\r\nimport menubar from \"../../common/components/MenuBar/MenuBar.vue\";\r\nimport { ExportType } from \"@medapro-types/Exports/export-enum\";\r\nimport TranslationTableDialog from \"./FastPage/TranslationTableDialog.vue\";\r\nimport { RootState } from \"@medapro-types/common/rootstate\";\r\nimport endpoints from \"@services/endpoints\";\r\n\r\n//#region General\r\ntype ViewModel = { selectedExportProject: ExportProjectModel | null; hasPreviousExport: boolean; showTranslationDialog: boolean };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContextMenuBar',\n setup(__props) {\n\r\nconst { t: $t, te: $te } = useI18n();\r\nconst route = useRoute();\r\nconst router = useRouter();\r\nconst { createToast } = useToast();\r\n//#endregion\r\n\r\nconst { useState: useExportState, useActions } = createNamespacedHelpers(\"exports\");\r\nconst { exportProjects, name } = useExportState([\"exportProjects\", \"loading\", \"name\"]);\r\nconst { getAllExports, removeExport } = useActions([\"getAllExports\", \"removeExport\"]);\r\nconst { meta, auth } = useState([\"meta\", \"auth\"]);\r\n//#endregion\r\nconst { showManageExport } = useExportState([\"showManageExport\"]);\r\nconst { setShowManageExport } = useActions([\"setShowManageExport\"]);\r\n\r\n//#region ViewModel\r\nconst vm = reactive({ selectedExportProject: null, hasPreviousExport: false, showTranslationDialog: false });\r\n//#endregion\r\n\r\nconst openManageExport = () => {\r\n setShowManageExport(true);\r\n};\r\n\r\nconst refreshSelection = () => {\r\n const project = exportProjects.value?.find((x) => x.exportId === route.params.id);\r\n if (project) handleExportProjectSelection(project);\r\n};\r\n\r\nconst exportType = computed(() => {\r\n return route.params.type as ExportType;\r\n});\r\n\r\nonMounted(async () => {\r\n await getAllExports(exportType);\r\n refreshSelection();\r\n vm.hasPreviousExport = await hasAnyLastExportRun(route.params.id);\r\n});\r\n\r\nwatch(\r\n () => exportProjects,\r\n () => {\r\n refreshSelection();\r\n },\r\n { deep: true }\r\n);\r\n\r\nwatch(\r\n () => route.params.id,\r\n async (nv) => {\r\n if (route.name == \"create-export\") {\r\n refreshSelection();\r\n }\r\n if (nv) {\r\n vm.hasPreviousExport = await hasAnyLastExportRun(nv);\r\n }\r\n }\r\n);\r\n\r\n//#region Handle Export Project Selection\r\nconst handleExportProjectSelection = (exportProject: ExportProjectModel) => {\r\n const options = exportProject?.options;\r\n const optionsObject = JSON.parse(options);\r\n if (exportProject.exportId !== route.params.id) {\r\n router.push({\r\n name: \"create-export\",\r\n params: { type: optionsObject?.ExportSettings?.ExportCriteria?.TargetType ?? route.params.type, id: exportProject.exportId }\r\n });\r\n } else {\r\n vm.selectedExportProject = exportProject;\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region Reset Export Data\r\n\r\nfunction resetData() {\r\n emitter.emit(\"reset-export-data\");\r\n}\r\n\r\n//#endregion\r\nfunction checkIfSavedExport(e: any) {\r\n if (route.params.id == Guid.empty) {\r\n if (confirm($t(\"exports.createExport.fastpage.designerRedirectionConfirmation\"))) {\r\n e.preventDefault();\r\n }\r\n } else {\r\n router.push({ name: \"fastpage-designer\", params: { exportId: route.params.id } });\r\n }\r\n}\r\n\r\nfunction openWindowsDesigner(e: any) {\r\n if (route.params.id == Guid.empty) {\r\n if (confirm($t(\"exports.createExport.fastpage.designerRedirectionConfirmation\"))) {\r\n e.preventDefault();\r\n }\r\n } else {\r\n const url = meta.value.config.apiUrl + endpoints.fastpage.windowsDesigner.start + `?exportId=${route.params.id}&key=${auth.value.token}`;\r\n window.open(url);\r\n }\r\n}\r\n\r\n//#region Delete Export\r\nconst isDeleteDisabled = computed(() => {\r\n return vm.selectedExportProject == null || vm.selectedExportProject.exportId == null || vm.selectedExportProject.exportId == Guid.empty;\r\n});\r\n\r\nasync function deleteExport() {\r\n if (vm.selectedExportProject == null) {\r\n return;\r\n }\r\n if (!confirm($t(\"exports.createExport.deleteExportConfirmation\") as string)) {\r\n return;\r\n }\r\n await removeExport(vm.selectedExportProject?.exportId);\r\n emitter.emit(\"reset-export-after-delete\");\r\n vm.selectedExportProject = null;\r\n}\r\n\r\nasync function hasAnyLastExportRun(id: string) {\r\n return await exportApi.isLastExportEnabled(id);\r\n}\r\n\r\nasync function goToLastExport() {\r\n try {\r\n const exportRunId = await exportApi.getLastExport(vm.selectedExportProject?.exportId);\r\n if (exportRunId !== Guid.empty) router.push({ name: \"progress-export\", params: { type: exportType.value, id: exportRunId } });\r\n else\r\n createToast({\r\n text: $t(\"api.errors.InvalidExportRun\"),\r\n title: $t(\"Error\"),\r\n variant: \"danger\",\r\n titleIcon: \"Export\",\r\n textIllustration: \"History\",\r\n statusTextIcon: \"XCircleSolid\"\r\n });\r\n } catch (error: unknown) {\r\n if (error instanceof AxiosError) {\r\n let errorMessage = \"\";\r\n if (error.response?.status === 409) {\r\n errorMessage = $t(\"api.errors.InvalidExport\");\r\n } else {\r\n errorMessage = $te(`api.errors.${error?.response?.data.error}`) ? $t(`api.errors.${error?.response?.data.error}`) : error?.response?.data.error;\r\n }\r\n createToast({\r\n text: errorMessage,\r\n title: $t(\"Error\"),\r\n variant: \"danger\",\r\n titleIcon: \"Export\",\r\n textIllustration: \"History\",\r\n statusTextIcon: \"XCircleSolid\"\r\n });\r\n }\r\n }\r\n}\r\n\r\nasync function showTranslationModal() {\r\n vm.showTranslationDialog = true;\r\n}\r\n\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_dropdown_item = _resolveComponent(\"b-dropdown-item\")!\n const _component_b_dropdown = _resolveComponent(\"b-dropdown\")!\n const _component_b_button = _resolveComponent(\"b-button\")!\n const _directive_b_tooltip = _resolveDirective(\"b-tooltip\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(menubar, null, {\n leftItems: _withCtx(() => [\n _createVNode(_component_b_dropdown, {\n \"toggle-class\": \"mono\",\n class: \"dropdown-default\",\n \"data-cy\": \"export-open-ddn\"\n }, {\n \"button-content\": _withCtx(() => [\n _createTextVNode(_toDisplayString(vm.selectedExportProject?.name ?? _unref(name)), 1)\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(exportProjects), (exportProject) => {\n return (_openBlock(), _createBlock(_component_b_dropdown_item, {\n active: vm.selectedExportProject?.exportId === exportProject.exportId,\n onClick: ($event: any) => (handleExportProjectSelection(exportProject)),\n key: exportProject.exportId\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(exportProject.name), 1)\n ]),\n _: 2\n }, 1032, [\"active\", \"onClick\"]))\n }), 128))\n ]),\n _: 1\n }),\n _withDirectives((_openBlock(), _createElementBlock(\"span\", null, [\n _createVNode(_component_b_button, {\n class: \"btn-icon mono\",\n onClick: openManageExport,\n disabled: _unref(showManageExport)\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])), [\n [\n _directive_b_tooltip,\n _unref($t)('Open'),\n void 0,\n { hover: true }\n ]\n ]),\n _withDirectives((_openBlock(), _createBlock(_component_b_button, {\n class: \"btn-icon mono\",\n onClick: resetData,\n disabled: _unref(showManageExport),\n \"data-cy\": \"export-add-new-btn\"\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }, 8, [\"disabled\"])), [\n [\n _directive_b_tooltip,\n _unref($t)('new'),\n void 0,\n { hover: true }\n ]\n ]),\n _withDirectives((_openBlock(), _createBlock(_component_b_button, {\n class: \"btn-icon mono\",\n onClick: deleteExport,\n disabled: isDeleteDisabled.value || _unref(showManageExport),\n \"data-cy\": \"export-delete-btn\"\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }, 8, [\"disabled\"])), [\n [\n _directive_b_tooltip,\n _unref($t)('delete'),\n void 0,\n { hover: true }\n ]\n ])\n ]),\n rightItems: _withCtx(() => [\n (exportType.value == 'FastPage')\n ? (_openBlock(), _createBlock(_component_b_button, {\n key: 0,\n class: \"btn-with-icon mono\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (showTranslationModal()))\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _createElementVNode(\"span\", null, _toDisplayString(_unref($t)(\"translation.table\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (exportType.value == 'FastPage')\n ? (_openBlock(), _createBlock(_component_b_button, {\n key: 1,\n class: \"btn-with-icon mono\",\n onClick: checkIfSavedExport\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _createTextVNode(\" \" + _toDisplayString(_unref($t)(\"webDesigner\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (exportType.value == 'FastPage')\n ? (_openBlock(), _createBlock(_component_b_button, {\n key: 2,\n class: \"btn-with-icon mono\",\n onClick: openWindowsDesigner\n }, {\n default: _withCtx(() => [\n _hoisted_7,\n _createTextVNode(\" \" + _toDisplayString(_unref($t)(\"windowsDesigner\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_b_button, {\n class: \"btn-with-icon mono\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (goToLastExport())),\n disabled: _unref(route).params.id === _unref(Guid).empty || !vm.hasPreviousExport\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _createElementVNode(\"span\", null, _toDisplayString(_unref($t)(\"lastExport\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n }),\n _createVNode(TranslationTableDialog, {\n \"show-translation-table\": vm.showTranslationDialog,\n \"onUpdate:showTranslationTable\": _cache[2] || (_cache[2] = ($event: any) => ((vm.showTranslationDialog) = $event))\n }, null, 8, [\"show-translation-table\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./ContextMenuBar.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContextMenuBar.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./ContextMenuBar.vue?vue&type=template&id=212ec6c2\"\nimport script from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\nexport * from \"./ContextMenuBar.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./ModuleNavBarCollapse.vue?vue&type=template&id=55c4db62\"\nimport script from \"./ModuleNavBarCollapse.vue?vue&type=script&lang=js\"\nexport * from \"./ModuleNavBarCollapse.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n","import { render } from \"./ModuleNavBarEntry.vue?vue&type=template&id=395b77cb\"\nimport script from \"./ModuleNavBarEntry.vue?vue&type=script&lang=js\"\nexport * from \"./ModuleNavBarEntry.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export default [\r\n {\r\n text: \"modules\",\r\n type: \"section\",\r\n modules: [\r\n {\r\n to: { name: \"content-editor\" },\r\n\r\n icon: \"mdp-Content-Editor\",\r\n text: \"Content Editor\",\r\n name: \"content-editor\"\r\n },\r\n {\r\n to: { name: \"channel-creator\" },\r\n\r\n icon: \"mdp-Channel-Creator\",\r\n text: \"Channel Creator\",\r\n name: \"channel-creator\"\r\n },\r\n {\r\n to: { name: \"attribute-manager\" },\r\n\r\n icon: \"mdp-Attribute-Manager\",\r\n text: \"Attribute Manager\",\r\n name: \"attribute-manager\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Work-Manager\",\r\n text: \"Work Manager\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Configuration-Manager\",\r\n text: \"Configuration Manager\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Translation-Manager\",\r\n text: \"Translation Manager\"\r\n },\r\n {\r\n to: { name: \"automation-server\" },\r\n child: \"automation-details\",\r\n icon: \"mdp-Automation-Server\",\r\n text: \"Automation Server\",\r\n name: \"automation-server\"\r\n }\r\n ]\r\n },\r\n {\r\n text: \"dataQuality\",\r\n type: \"section\",\r\n modules: [\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Quality-Gates\",\r\n text: \"Quality Gates\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Media-Cleanup\",\r\n text: \"Media Cleanup\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Article-Merge\",\r\n text: \"Article Merge\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Report-Center\",\r\n text: \"Report Center\"\r\n }\r\n ]\r\n },\r\n {\r\n text: \"import\",\r\n type: \"section\",\r\n popupChildrenWhenMinimized: true,\r\n icon: \"mdp-Imports\",\r\n modules: [\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"PRO\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"Access®\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"Excel®\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"text\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"ODBC\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"eDC Connector\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"BMEcat®\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Imports\",\r\n text: \"DATANORM Import\"\r\n }\r\n ]\r\n },\r\n {\r\n text: \"export\",\r\n type: \"section\",\r\n icon: \"mdp-Exports\",\r\n isExport: true,\r\n popupChildrenWhenMinimized: true,\r\n modules: [\r\n {\r\n to: { name: \"create-export\", params: { type: \"Excel\" } },\r\n\r\n icon: \"mdp-Exports\",\r\n text: \"Excel®\",\r\n name: \"Excel-export\"\r\n },\r\n\r\n {\r\n to: { name: \"create-export\", params: { type: \"Text\" } },\r\n\r\n icon: \"mdp-Exports\",\r\n text: \"Text\",\r\n name: \"Text-export\"\r\n },\r\n\r\n {\r\n to: { name: \"create-export\", params: { type: \"XML\" } },\r\n\r\n icon: \"mdp-Exports\",\r\n text: \"XML\",\r\n name: \"XML-export\"\r\n },\r\n\r\n {\r\n to: { name: \"create-export\", params: { type: \"JSON\" } },\r\n\r\n icon: \"mdp-Exports\",\r\n text: \"JSON\",\r\n name: \"JSON-export\"\r\n },\r\n {\r\n to: { name: \"create-export\", params: { type: \"BMEcat\" } },\r\n\r\n icon: \"mdp-Exports\",\r\n text: \"BMEcat®\",\r\n name: \"BMEcat-export\"\r\n },\r\n {\r\n to: { name: \"create-export\", params: { type: \"TradeProNext\" } },\r\n\r\n icon: \"mdp-Exports\",\r\n text: \"TradePro Connector\",\r\n name: \"TradeProNext-export\"\r\n }\r\n ]\r\n },\r\n {\r\n text: \"printCatalogs\",\r\n type: \"section\",\r\n modules: [\r\n {\r\n to: { name: \"create-export\", params: { type: \"FastPage\" } },\r\n\r\n icon: \"mdp-FastPage\",\r\n text: \"FastPage\",\r\n name: \"FastPage-export\",\r\n featureStatusKey: \"fastpageExportEnabled\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Publish\",\r\n text: \"Publish Manager\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Publish-Catalog-Builder\",\r\n text: \"Publish Catalog Builder\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Publish\",\r\n text: \"Publish Catalog Creator\"\r\n },\r\n {\r\n to: null,\r\n\r\n icon: \"mdp-Publish-Direct\",\r\n text: \"Publish Direct\"\r\n }\r\n ]\r\n }\r\n];\r\n","import { render } from \"./ModuleSidebar.vue?vue&type=template&id=634d6aee\"\nimport script from \"./ModuleSidebar.vue?vue&type=script&lang=js\"\nexport * from \"./ModuleSidebar.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./LanguageSwitcher.vue?vue&type=template&id=a2ba8052\"\nimport script from \"./LanguageSwitcher.vue?vue&type=script&lang=js\"\nexport * from \"./LanguageSwitcher.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"button-content\" }\n\nimport { UserSettings } from \"@medapro-types/common/rootstate\";\r\nimport getBrowserLocale from \"@util/i18n/get-browser-locale\";\r\nimport { getSupportedLocales } from \"@util/i18n/supported-locales\";\r\nimport { computed, onMounted, reactive, watch, unref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { useActions, useState } from \"vuex-composition-helpers\";\r\n//#region General\r\ntype ViewModel = { settings: Pick };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LocaleSwitcher',\n setup(__props) {\n\r\nconst { locale } = useI18n({ useScope: \"global\" });\r\n//#endregion\r\n\r\n//#region Store\r\nconst { userSettings } = useState([\"userSettings\"]);\r\nconst { saveUserSettings } = useActions([\"saveUserSettings\"]);\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({ settings: { CurrentLocale: getBrowserLocale() ?? \"en\" } });\r\n//#endregion\r\n\r\nconst handleLocaleSwitch = (localeCode: string) => {\r\n vm.settings.CurrentLocale = localeCode;\r\n locale.value = localeCode;\r\n};\r\n\r\nconst locales = computed(() => {\r\n return getSupportedLocales();\r\n});\r\nconst displayLanguageText = computed(() => {\r\n const displayName = locales.value.find((x) => x.code == locale.value)?.name ?? \"\";\r\n return displayName;\r\n});\r\n\r\nwatch(\r\n () => vm.settings,\r\n (nv) => {\r\n saveUserSettings(nv);\r\n },\r\n { deep: true }\r\n);\r\nwatch(\r\n () => userSettings.value,\r\n (nv) => {\r\n if (!nv) return;\r\n Object.assign(vm.settings, {\r\n CurrentLocale: nv.CurrentLocale\r\n });\r\n },\r\n { immediate: true, deep: true }\r\n);\r\n\r\nonMounted(() => {\r\n locale.value = vm.settings.CurrentLocale;\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_dropdown_item = _resolveComponent(\"b-dropdown-item\")!\n const _component_b_dropdown = _resolveComponent(\"b-dropdown\")!\n\n return (_openBlock(), _createBlock(_component_b_dropdown, {\n class: \"dropdown-language-group\",\n right: \"\",\n size: \"sm\",\n \"toggle-class\": \"mono text-uppercase dropdown-toggle-group\",\n \"data-cy\": \"app-settings-interface-lang-ddn\"\n }, {\n \"button-content\": _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(displayLanguageText.value), 1)\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(locales.value, (localeElem) => {\n return (_openBlock(), _createBlock(_component_b_dropdown_item, {\n active: localeElem.code == unref(_unref(locale)),\n key: localeElem.code,\n onClick: ($event: any) => (handleLocaleSwitch(localeElem.code))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(localeElem.name), 1)\n ]),\n _: 2\n }, 1032, [\"active\", \"onClick\"]))\n }), 128))\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./LocaleSwitcher.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LocaleSwitcher.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./UserBadge.vue?vue&type=template&id=b67b921c\"\nimport script from \"./UserBadge.vue?vue&type=script&lang=js\"\nexport * from \"./UserBadge.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./ApplicationSettings.vue?vue&type=template&id=daf86c22\"\nimport script from \"./ApplicationSettings.vue?vue&type=script&lang=js\"\nexport * from \"./ApplicationSettings.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { ColorVariants, VueR } from \"@medapro-types/common/common\";\r\nimport { ExportProgressEntry } from \"@medapro-types/Exports/components/ProgressExport\";\r\nimport { MappingGenerationResultModel, SignalRResponse } from \"@medapro-types/ChannelCreator/components/AutoMappingTab\";\r\nimport { ExportProgressStatus } from \"@medapro-types/Exports/export-enum\";\r\nimport docExtensions from \"@plugins/document-extensions\";\r\nimport { getCurrentInstance, onMounted, onBeforeUnmount, reactive, ref } from \"vue\";\r\nimport { useToast } from \"@common/composable/toast\";\r\nimport { RootState } from \"@medapro-types/common/rootstate\";\r\nimport autoMappingSummary from \"@ChannelCreator/components/AutoMapping/AutoMappingSummary.vue\";\r\nimport activityApi from \"@services/activity.js\";\r\nimport apps from \"@services/applications.js\";\r\nimport { useState } from \"vuex-composition-helpers\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { TranslationsResponseType } from \"@medapro-types/ContentEditor/Components/Article/TranslationArticleEditor\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n mappingSummary: MappingGenerationResultModel;\r\n};\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SignalRNotifier',\n setup(__props) {\n\r\nconst { t, te } = useI18n();\r\nconst { createToast } = useToast();\r\nconst { globalParameters } = useState([\"globalParameters\"]);\r\nconst autoMappingSummaryModal = ref();\r\nconst $refs = { autoMappingSummaryModal };\r\n\r\nconst vm = reactive({\r\n mappingSummary: {\r\n catalogMappingsCount: 0,\r\n invariantAttributeMappingsCount: 0,\r\n variantAttributeMappingsCount: 0,\r\n globalMappingsCount: 0,\r\n projectName: \"\",\r\n catalogName: \"\",\r\n targetSystem: \"\"\r\n }\r\n});\r\n\r\nfunction setProgressStatus(exportProgress: ExportProgressEntry) {\r\n if (exportProgress.progress.isFinished && exportProgress.progress.percentage == 100) {\r\n let text;\r\n let title;\r\n let toastVariant: ColorVariants;\r\n if (exportProgress.progress.title == ExportProgressStatus.Completed) {\r\n title = t(\"exports.progress.completed\");\r\n text = t(\"exports.exportCompletedText\", { exportName: exportProgress.exportName });\r\n toastVariant = \"success\";\r\n } else if (exportProgress.progress.title == ExportProgressStatus.Faulted) {\r\n title = t(\"exports.progress.faulted\");\r\n text = t(\"exports.exportFailedText\", { exportName: exportProgress.exportName });\r\n toastVariant = \"danger\";\r\n } else if (exportProgress.progress.title == ExportProgressStatus.Cancelled) {\r\n title = t(\"exports.progress.cancelled\");\r\n text = t(\"exports.exportCancelled\", { exportName: exportProgress.exportName });\r\n toastVariant = \"danger\";\r\n } else return;\r\n\r\n createToast({\r\n text: text,\r\n title: title,\r\n variant: toastVariant,\r\n autoClose: true,\r\n primaryActionButton: t(\"exports.progress.openLog\"),\r\n primaryAction: () => {\r\n let baseUrl = docExtensions.getBaseUrl();\r\n if (baseUrl && baseUrl[baseUrl.length - 1] !== \"/\") baseUrl += \"/\";\r\n if (baseUrl && !baseUrl.startsWith(window.location.protocol)) baseUrl = window.location.protocol + \"//\" + baseUrl;\r\n baseUrl += \"app/export/progress/common/\" + exportProgress.exportRunId;\r\n window.open(baseUrl);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction onMediaConversionCompleted(articleNo: string) {\r\n createToast({\r\n text: t(\"mediaConversionMessage\", {\r\n article: articleNo\r\n }),\r\n title: t(\"mediaConversionCompleted\"),\r\n variant: \"success\",\r\n textIllustration: \"MediaAsset\",\r\n statusTextIcon: \"CheckCircleSolid\"\r\n });\r\n}\r\n\r\nfunction onAutoMappingCompleted(response: SignalRResponse) {\r\n if (response.isSuccess) {\r\n createActivity(response);\r\n createToast({\r\n text: [\r\n t(\"Automapping.AutomappingCompletedMessage\", {\r\n mappingprojectname: response?.result?.projectName,\r\n catalogname: response?.result?.catalogName\r\n })\r\n ],\r\n title: t(\"Automapping.AutomappingCompleted\"),\r\n variant: \"info\",\r\n autoClose: true,\r\n primaryActionButton: t(\"summary\"),\r\n primaryAction: () => {\r\n vm.mappingSummary = response.result;\r\n $refs.autoMappingSummaryModal.value?.show();\r\n }\r\n });\r\n } else {\r\n console.error(\r\n `Server notification recieved for the auto mapping failure of mapping project \"${response?.result?.catalogName}\" was carried out on catalogue \"${response?.result?.catalogName}\" with error - \"${response.errorMessage}\" `\r\n );\r\n const errorMessage = te(`api.errors.${response.errorMessage}`) ? t(`api.errors.${response.errorMessage}`) : \"\";\r\n\r\n createToast({\r\n text:\r\n t(\"Automapping.AutomappingFailedWithError\", {\r\n mappingprojectname: response?.result?.catalogName,\r\n catalogname: response?.result?.catalogName\r\n }) +\r\n \" \" +\r\n errorMessage,\r\n title: t(\"Automapping.AutomappingFailed\"),\r\n variant: \"warning\",\r\n autoClose: true\r\n });\r\n }\r\n}\r\n\r\nasync function createActivity(response: SignalRResponse) {\r\n try {\r\n if (globalParameters.value.IsActivityFeedEnabled) {\r\n const criteria = [\r\n {\r\n severity: \"Information\",\r\n process: \"Edit\",\r\n objectType: \"Catalog\",\r\n objectValue: response?.result?.catalogName,\r\n descriptionKey: \"AutoMappingExecuted\",\r\n descriptionValues: [response?.result?.projectName, response?.result?.targetSystem, response?.result?.catalogName],\r\n status: \"Successful\",\r\n action: \"Completed\",\r\n applicationId: apps.Modules.ChannelCreator.Id\r\n }\r\n ];\r\n await activityApi.createActivity(criteria);\r\n }\r\n } catch (error) {\r\n console.error(\"Activity insertion for automapping process failed with error : \", error);\r\n }\r\n}\r\n\r\nfunction onTranslationFromMemoryCompleted(response: TranslationsResponseType) {\r\n createToast({\r\n text: response.isSuccess\r\n ? t(\"translation.translationAllValuesMessage\", { variationGroup: response.variationGroupName })\r\n : t(\"translation.translationAllValuesErrorMessage\", { variationGroup: response.variationGroupName }),\r\n title: response.isSuccess ? t(\"translation.alertTitleSuccess\") : t(\"translation.alertTitleOnError\"),\r\n variant: response.isSuccess ? \"info\" : \"danger\",\r\n titleIcon: \"Content-Editor\",\r\n textIllustration: \"DeepL-black\"\r\n });\r\n}\r\n\r\nfunction onTranslationByDeepLCompleted(response: TranslationsResponseType) {\r\n createToast({\r\n text: response.isSuccess\r\n ? t(\"translation.translationDeepLValuesMessage\", { variationGroup: response.variationGroupName })\r\n : t(\"translation.translationDeepLValuesErrorMessage\", { variationGroup: response.variationGroupName }),\r\n title: response.isSuccess ? t(\"translation.alertTitleSuccess\") : t(\"translation.alertTitleOnError\"),\r\n variant: response.isSuccess ? \"info\" : \"danger\",\r\n titleIcon: \"Content-Editor\",\r\n textIllustration: \"DeepL-black\"\r\n });\r\n}\r\n\r\nasync function startEventSubscription() {\r\n const instance: VueR | undefined = getCurrentInstance()?.proxy as VueR | undefined;\r\n if (instance) {\r\n await instance.$signalRStartedPromise;\r\n if (instance && instance.$subscribeToServerEvent) {\r\n instance.$subscribeToServerEvent(\"ExportProgressStatus\", setProgressStatus);\r\n instance.$subscribeToServerEvent(\"MediaConversionCompleted\", onMediaConversionCompleted);\r\n instance.$subscribeToServerEvent(\"AutoMappingCompleted\", onAutoMappingCompleted);\r\n instance.$subscribeToServerEvent(\"TranslationFromMemoryCompleted\", onTranslationFromMemoryCompleted);\r\n instance.$subscribeToServerEvent(\"TranslationByDeepLCompleted\", onTranslationByDeepLCompleted);\r\n }\r\n }\r\n}\r\n\r\nasync function unSubscribeEvent() {\r\n const instance: VueR | undefined = getCurrentInstance()?.proxy as VueR | undefined;\r\n if (instance) {\r\n if (instance && instance.$unsubscribeFromServerEvent) {\r\n instance.$unsubscribeFromServerEvent(\"ExportProgressStatus\", setProgressStatus);\r\n instance.$unsubscribeFromServerEvent(\"MediaConversionCompleted\", onMediaConversionCompleted);\r\n instance.$unsubscribeFromServerEvent(\"AutoMappingCompleted\", onAutoMappingCompleted);\r\n instance.$unsubscribeFromServerEvent(\"TranslationFromMemoryCompleted\", onTranslationFromMemoryCompleted);\r\n instance.$unsubscribeFromServerEvent(\"TranslationByDeepLCompleted\", onTranslationByDeepLCompleted);\r\n }\r\n }\r\n}\r\n\r\n//#region LifeCycle\r\nonMounted(() => {\r\n startEventSubscription();\r\n});\r\n\r\nonBeforeUnmount(() => {\r\n unSubscribeEvent();\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(autoMappingSummary, {\n ref_key: \"autoMappingSummaryModal\",\n ref: autoMappingSummaryModal,\n summary: vm.mappingSummary\n }, null, 8, [\"summary\"]))\n}\n}\n\n})","\r\n\r\n","import script from \"./SignalRNotifier.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SignalRNotifier.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Client.vue?vue&type=template&id=69957447\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Login.vue?vue&type=template&id=776efbbe\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Logout.vue?vue&type=template&id=5352a3b2\"\nimport script from \"./Logout.vue?vue&type=script&lang=js\"\nexport * from \"./Logout.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getThirdPartyLicence: async function () {\r\n const response = await api.get(endpoints.thirdparty.get, { params: {} });\r\n return response.data;\r\n }\r\n};\r\n","\r\n\r\n\r\n","import { render } from \"./ApiLogViewer.vue?vue&type=template&id=de753aa0\"\nimport script from \"./ApiLogViewer.vue?vue&type=script&lang=js\"\nexport * from \"./ApiLogViewer.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Status.vue?vue&type=template&id=90c4c322\"\nimport script from \"./Status.vue?vue&type=script&lang=js\"\nexport * from \"./Status.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import advSearchRoutes from \"./routes/advSearchRoutes\";\r\nimport attributeManagerRoutes from \"./routes/attribute-manager\";\r\nimport automationServerRoutes from \"./routes/automation-server\";\r\nimport channelCreatorRoutes from \"./routes/channel-creator\";\r\nimport contentEditorRoutes from \"./routes/content-editor\";\r\nimport dashboardRoutes from \"./routes/dashboard\";\r\nimport debugRoutes from \"./routes/debug-routes\";\r\nimport exportRoutes from \"./routes/export\";\r\nimport moduleRoutes from \"./routes/module-routes\";\r\nimport settingsRoutes from \"./settings-routes\";\r\n\r\nimport store from \"@/store\";\r\nimport client from \"@common/views/Client.vue\";\r\nimport login from \"@common/views/Login.vue\";\r\nimport logout from \"@common/views/Logout.vue\";\r\nimport splash from \"@common/views/Splash.vue\";\r\nimport status from \"@common/views/Status.vue\";\r\n\r\nconst routes = [\r\n {\r\n path: \"/\",\r\n name: \"app-base\",\r\n component: () =>\r\n new Promise((resolve) => {\r\n resolve(store.getters.isAuthenticatedSession ? client : splash);\r\n }),\r\n\r\n meta: {\r\n authenticatedRoute: true\r\n },\r\n children: [\r\n ...contentEditorRoutes,\r\n ...advSearchRoutes,\r\n ...channelCreatorRoutes,\r\n ...attributeManagerRoutes,\r\n ...dashboardRoutes,\r\n ...moduleRoutes,\r\n ...automationServerRoutes,\r\n ...exportRoutes,\r\n ...settingsRoutes,\r\n /* add new routes before debug routes */\r\n ...debugRoutes\r\n ]\r\n },\r\n {\r\n path: \"/app/login\",\r\n name: \"login\",\r\n component: login,\r\n meta: {\r\n fullReload: true\r\n },\r\n children: [\r\n {\r\n path: \"oauth/:provider\",\r\n name: \"login-provider\",\r\n component: login\r\n }\r\n ]\r\n },\r\n {\r\n path: \"/app/logout\",\r\n name: \"logout\",\r\n component: logout,\r\n meta: {\r\n fullReload: true\r\n }\r\n },\r\n {\r\n path: \"/app/status\",\r\n name: \"status\",\r\n component: status,\r\n meta: {\r\n authenticatedRoute: true\r\n }\r\n }\r\n];\r\n\r\nexport default routes;\r\n","import { createRouter, createWebHistory } from \"vue-router\";\r\nimport store from \"../store\";\r\nimport routes from \"./routes\";\r\nimport docExtensions from \"../plugins/document-extensions\";\r\nimport eventLogger from \"../services/ApiLogger/EventLogger\";\r\n\r\nconst router = createRouter({\r\n history: createWebHistory(process.env.BASE_URL),\r\n routes\r\n});\r\n\r\nrouter.beforeEach(async (to, from) => {\r\n if (!store.state.meta.sessionRestoreCompleted) {\r\n try {\r\n await store.dispatch(\"tryRestore\");\r\n } catch (error) {\r\n eventLogger.error(\"Medapro restore localstorage\", \"restore failed\", error);\r\n }\r\n }\r\n\r\n if (to.matched.every((x) => !x.path) || to.fullPath === \"/\") {\r\n return { name: \"dashboard\" };\r\n } else if (!store.getters.isAuthenticatedSession && to.matched.some((record) => record.meta.authenticatedRoute)) {\r\n if (to.matched.length > 0) return { name: \"login\", query: { go: to.fullPath } };\r\n else return { name: \"login\" };\r\n } else {\r\n const matched = to.matched.filter((x) => x.meta.fullReload);\r\n // No need to reload if clicked Sign In Again button from Logout page\r\n if (matched.length && from.fullPath != \"/\" && from.name != \"logout\") {\r\n // Replace module-restricted with dashboard (default app on login), if logged out from any restricted module\r\n let baseUrl = docExtensions.getBaseUrl().replace(/\\/+$/, \"\"); // Remove trainiling slash(/) from base url, since to.fullPath has slash in front\r\n if (baseUrl && !baseUrl.startsWith(window.location.protocol)) baseUrl = window.location.protocol + \"//\" + baseUrl;\r\n window.location.href = baseUrl + to.fullPath.replace(new RegExp(\"module-restricted.*\"), \"dashboard\");\r\n return;\r\n }\r\n\r\n if (\r\n store.state.user.licensedApplications &&\r\n to.matched.every((x) => {\r\n const isAllowed = !x.meta.application || store.state.user.licensedApplications[x.meta.application as number];\r\n return isAllowed;\r\n })\r\n ) {\r\n return true;\r\n }\r\n // This else if statement is used for testing purpose as license is not added for module.\r\n // Once license is assigned to the module, remove the immediate else if statement.\r\n else if (to.matched.find((x) => x.meta.application == 170)) {\r\n return true;\r\n } else {\r\n const appPath = to.matched.find((x) => x.meta.application);\r\n if (appPath) return { name: \"module-restricted\", query: { application: appPath.meta.application as number } };\r\n }\r\n }\r\n});\r\n\r\nrouter.afterEach(async () => {\r\n const titleRoute = router?.currentRoute.value?.matched?.find((x) => !!x.meta.title);\r\n if (titleRoute) {\r\n document.title = `${titleRoute.meta.title} - MeDaPro Everywhere`;\r\n } else {\r\n document.title = \"MeDaPro Everywhere\";\r\n }\r\n});\r\nexport default router;\r\n","import axios, { AxiosError } from \"axios\";\r\nimport endpoints from \"./endpoints\";\r\nimport router from \"../router/index\";\r\nimport emitter from \"tiny-emitter/instance\";\r\nimport eventLogger from \"./ApiLogger/EventLogger\";\r\nimport _ from \"lodash\";\r\nimport Qs from \"qs\";\r\n\r\nfunction errorHandler(error: AxiosError) {\r\n if (error && error.response && error.response.status === 401) {\r\n console.error(\"current route\", router.currentRoute);\r\n // Redirect to Logout page on Unauthorised access or Session expire\r\n if (\r\n router.currentRoute.value.name != \"login\" &&\r\n router.currentRoute.value.name != \"logout\" &&\r\n router.currentRoute.value.name != \"login-provider\" &&\r\n !!router.currentRoute.value.name\r\n ) {\r\n router.push({\r\n name: \"logout\",\r\n query: { go: router.currentRoute.value.fullPath }\r\n });\r\n console.info(\"Api returned an authorization error. Redirecting to login page.\", error.message);\r\n } else {\r\n console.info(\"Api returned an authorization error. Already in login page. authorization error ignored.\", error.message);\r\n }\r\n } else {\r\n const isNotifiableStatusCode = (x: number) => x >= 500 || x == 403;\r\n if (error.isAxiosError && error.response && isNotifiableStatusCode(error.response.status)) {\r\n console.warn(\"Api exception received. An error alert has triggered\", error);\r\n emitter.emit(\"global-error\", { type: \"api\", exception: error });\r\n } else if (error.message == \"Network Error\") {\r\n console.warn(\"Network seems to be offline. A warning alert has triggered\", error);\r\n emitter.emit(\"global-error\", { type: \"network\", exception: error });\r\n } else {\r\n console.error(\"Api call failed with error. No error alert produced.\", error);\r\n }\r\n }\r\n}\r\n\r\nexport default {\r\n get: async function (url: string, config?: Record, preventformat?: boolean) {\r\n url = preventformat || !config ? url : endpoints.format(url, config.params || {});\r\n eventLogger.info(\"api-request\", \"Initiating api request\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n config = config || {};\r\n\r\n /*eslint-disable @typescript-eslint/no-explicit-any*/\r\n config.paramsSerializer = function (params: Record) {\r\n return Qs.stringify(params, { arrayFormat: \"repeat\" });\r\n };\r\n\r\n try {\r\n return await axios.get(url, config);\r\n } catch (error) {\r\n errorHandler(error as AxiosError);\r\n throw error;\r\n } finally {\r\n eventLogger.info(\"api-request\", \"api request completed\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n }\r\n },\r\n\r\n post: async function (url: string, data?: unknown, config?: Record, preventformat?: boolean) {\r\n url = preventformat || !data ? url : endpoints.format(url, data || {});\r\n eventLogger.info(\"api-request\", \"Initiating api request\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n\r\n try {\r\n return await axios.post(url, data, config);\r\n } catch (error) {\r\n errorHandler(error as AxiosError);\r\n throw error;\r\n } finally {\r\n eventLogger.info(\"api-request\", \"api request completed\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n }\r\n },\r\n\r\n put: async function (url: string, data?: Record, config?: Record, preventformat?: boolean) {\r\n url = preventformat || !data ? url : endpoints.format(url, data || {});\r\n eventLogger.info(\"api-request\", \"Initiating api request\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n try {\r\n return await axios.put(url, data, config);\r\n } catch (error) {\r\n errorHandler(error as AxiosError);\r\n throw error;\r\n } finally {\r\n eventLogger.info(\"api-request\", \"api request completed\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n }\r\n },\r\n delete: async function (url: string, config?: Record, preventformat?: boolean) {\r\n url = preventformat || !config ? url : endpoints.format(url, config.params || {});\r\n eventLogger.info(\"api-request\", \"Initiating api request\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n try {\r\n return await axios.delete(url, config);\r\n } catch (error) {\r\n errorHandler(error as AxiosError);\r\n throw error;\r\n } finally {\r\n eventLogger.info(\"api-request\", \"api request completed\", {\r\n url,\r\n ..._.cloneDeep(config)\r\n });\r\n }\r\n }\r\n};\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { AutomationServer } from \"@medapro-types/AutomationServer/AutomationServer\";\r\n//import { MeDaProProjectFileType } from \"@medapro-types/AutomationServer/AutomationServer.enums\";\r\nimport api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getAutomation: async function (args: any) {\r\n const response = await api.get(endpoints.automationServer.get, { params: args });\r\n return response.data;\r\n },\r\n getAllAutomations: async function (args: any) {\r\n const response = await api.get(endpoints.automationServer.getAll, { params: args });\r\n return response.data;\r\n },\r\n getAllAutomationTemplates: async function (args: any) {\r\n const response = await api.get(endpoints.automationServer.getAllTemplates, { params: args });\r\n return response.data;\r\n },\r\n createOrUpdateAutomation: async function (args: any) {\r\n const response = await api.post(endpoints.automationServer.update, args);\r\n return response.data;\r\n },\r\n getActionTypes: async function () {\r\n const response = await api.get(endpoints.automationServer.getActionTypes, {});\r\n return response.data;\r\n },\r\n deleteAutomation: async function (args: any) {\r\n const response = await api.post(endpoints.automationServer.delete, args);\r\n return response.data;\r\n },\r\n executeAutomation: async function (automationIds: Array, checkConditions: boolean) {\r\n const response = await api.post(endpoints.automationServer.execute, automationIds, { params: { checkConditions } });\r\n return response.data;\r\n },\r\n activateOrDeactivateAutomation: async function (automationIds: Array, activate: boolean) {\r\n const response = await api.post(endpoints.automationServer.activateOrDeactivate, automationIds, { params: { activate } });\r\n return response.data;\r\n },\r\n getTriggerTypes: async function () {\r\n const response = await api.get(endpoints.automationServer.getTriggerTypes, {});\r\n return response.data;\r\n },\r\n getProjectFiles: async function (projectFileType: AutomationServer.MeDaProProjectFileType | string): Promise> {\r\n const response = await api.get(endpoints.automationServer.getProjectFiles, { params: { projectFileType } });\r\n return response.data;\r\n },\r\n getPowershellFiles: async function (): Promise> {\r\n const response = await api.get(endpoints.automationServer.getPowershellFiles);\r\n return response.data;\r\n },\r\n executeAutomationsIfRequired: async function (triggerTypes: Array) {\r\n const response = await api.post(endpoints.automationServer.executeAutomationsIfRequired, triggerTypes);\r\n return response.data;\r\n },\r\n getAutomationRun: async function (automationRunId: string) {\r\n const response = await api.get(endpoints.automationServer.getAutomationRun, { params: { automationRunId } });\r\n return response.data;\r\n },\r\n getActionsOnAutomation: async function (automationRunId: string) {\r\n const response = await api.get(endpoints.automationServer.getActionsOnAutomation, { params: { automationRunId } });\r\n return response.data;\r\n },\r\n getExports: async function (targetType: string, language: string) {\r\n const response = await api.get(endpoints.exports.getExports, { params: { targetSystem: targetType, language } });\r\n return response.data;\r\n }\r\n};\r\n","export default {\r\n activity: {\r\n activityUserSettings: {\r\n get: \"/api/webclient/Activity/GetActivityUserSettings\",\r\n update: \"/api/webclient/Activity/UpdateActivityUserSettings\"\r\n },\r\n create: \"/api/webclient/Activity/Create\",\r\n delete: \"/api/webclient/Activity/Delete\"\r\n },\r\n alternativeArticleNumberTypes: {\r\n get: \"/api/webclient/AlternativeArticleNoTypes/GetAlternateAricleNoTypes\"\r\n },\r\n article: {\r\n create: \"/api/webclient/Article/Create\",\r\n delete: \"/api/webclient/Articles/Delete\",\r\n rename: \"/api/webclient/Article/Rename\",\r\n paste: \"/api/webclient/Articles/Paste\",\r\n pasteToAnotherCatalog: \"/api/webclient/Articles/PasteToAnotherCatalog\",\r\n inherit: \"/api/webclient/Article/Inherit\",\r\n masterData: {\r\n get: \"/api/webclient/Article/GetMasterData\",\r\n update: \"/api/webclient/Article/UpdateMasterData\"\r\n },\r\n articleNumberTypes: {\r\n get: \"/api/webclient/Article/GetArticleNumberTypes\"\r\n },\r\n globalAttributes: {\r\n get: \"/api/webclient/Article/GetGlobalAttributes\",\r\n update: \"/api/webclient/Article/UpdateGlobalAttributes\"\r\n },\r\n allstates: {\r\n get: \"/api/webclient/commondata/GetAllStatuses\"\r\n },\r\n alternativeArticleNumbers: {\r\n get: \"/api/webclient/Article/GetAlternateArticles\",\r\n update: \"/api/webclient/Article/UpdateAlternativeArticleNos\"\r\n },\r\n articleHierarchy: {\r\n get: \"/api/webclient/Article/GetArticleHierarchy\"\r\n },\r\n attributeGroups: {\r\n get: \"/api/webclient/commondata/GetAttributeGroups\"\r\n },\r\n classifications: {\r\n get: \"/api/webclient/Article/GetClassifications\",\r\n update: \"/api/webclient/Article/UpdateClassifications\"\r\n },\r\n erpSections: {\r\n get: \"/api/webclient/Article/GetErpAttributes\",\r\n update: \"/api/webclient/Article/UpdateErpAttributes\"\r\n },\r\n variantAttributes: {\r\n get: \"/api/webclient/Article/GetVariantAttributes\",\r\n update: \"/api/webclient/Article/UpdateVariantAttributes\"\r\n },\r\n invariantAttributes: {\r\n get: \"/api/webclient/Article/GetInvariantAttributes\",\r\n update: \"/api/webclient/Article/UpdateInvariantAttributes\"\r\n },\r\n keywords: {\r\n get: \"/api/webclient/Article/GetKeywords\",\r\n update: \"/api/webclient/Article/UpdateKeywords\"\r\n },\r\n mediaAssets: {\r\n get: \"/api/webclient/Article/GetMediaAssets\",\r\n update: \"/api/webclient/Article/UpdateMediaAssets\"\r\n },\r\n multiArticleVariantAttributes: {\r\n get: \"/api/webclient/Article/GetVariantAttributesMultiArticle\",\r\n update: \"/api/webclient/Article/UpdateVariantAttributeMultiArticle\"\r\n },\r\n prices: {\r\n get: \"/api/webclient/Article/GetPrices\",\r\n update: \"/api/webclient/Article/UpdatePrices\"\r\n },\r\n priceAttributes: {\r\n get: \"/api/webclient/Article/GetPriceAttributes\",\r\n update: \"/api/webclient/Article/UpdatePriceAttributes\"\r\n },\r\n references: {\r\n create: \"/api/webclient/Article/CreateArticleReference\",\r\n delete: \"/api/webclient/Article/DeleteArticleReferences\",\r\n get: \"/api/webclient/Article/GetReferences\",\r\n update: \"/api/webclient/Article/UpdateReferenceAttributes\"\r\n },\r\n catalogs: {\r\n get: \"/api/webclient/Article/GetArticleCatalogs\"\r\n }\r\n },\r\n catalogs: {\r\n baseCatalog: {\r\n get: \"/api/webclient/CommonData/GetBaseCatalog\",\r\n childCount: \"/api/webclient/CatalogNodes/GetCatalogChildCount\"\r\n },\r\n catalog: {\r\n get: \"/api/webclient/Catalog/GetCatalogs\",\r\n create: \"api/webclient/Catalog/Create\",\r\n delete: \"/api/webclient/Catalog/Delete\",\r\n deleteMultiple: \"/api/webclient/Catalog/DeleteMultiple\",\r\n rename: \"/api/webclient/Catalog/Rename\",\r\n settings: \"/api/webclient/Catalog/GetCatalogSettings\",\r\n updateSettings: \"/api/webclient/Catalog/UpdateCatalogSettings\",\r\n checkLinkedNodesExists: \"/api/webclient/Catalog/IsCatalogLinked\",\r\n copy: \"/api/webclient/Catalog/Copy\",\r\n downloadEcfArticles: \"/api/webclient/Catalog/DownloadNonExistingArticlesFromExternalFile\",\r\n generateFromFile: \"/api/webclient/Catalog/GenerateCatalog\",\r\n downloadNonExistingArticles: \"/api/webclient/Catalog/DownloadNonExistingArticlesInCatalog\"\r\n },\r\n categoris: {\r\n get: \"api/webclient/Catalog/GetCatalogCategories\"\r\n },\r\n catalogAttributes: {\r\n get: \"api/webclient/Catalog/GetCatalogAttributes\",\r\n update: \"api/webclient/Catalog/UpdateCatalogAttributes\"\r\n },\r\n mappingTargets: {\r\n get: \"api/webclient/Catalog/GetCatalogMappingTargets\"\r\n },\r\n mappingProjects: {\r\n get: \"api/webclient/Catalog/GetCatalogMappingProjects\",\r\n create: \"api/webclient/Catalog/CreateCatalogMappingProject\",\r\n rename: \"api/webclient/Catalog/renameMappingProject\",\r\n delete: \"api/webclient/Catalog/DeleteMappingProject\",\r\n copy: \"api/webclient/Catalog/CopyMappingProject\"\r\n },\r\n allMappingProjects: {\r\n get: \"api/webclient/Catalog/GetAllCatalogMappingProjects\"\r\n },\r\n catalogMappingSourceFieldLocalizations: {\r\n get: \"api/webclient/Catalog/getCatalogMappingSourceFieldLocalizations\"\r\n },\r\n targetMappingNodes: {\r\n get: \"api/webclient/Catalog/getMappingTargetNodes\"\r\n },\r\n rootNodes: {\r\n get: \"/api/webclient/CatalogNodes/GetRootCatalogNodes\"\r\n },\r\n nodes: {\r\n get: \"/api/webclient/CatalogNodes/GetCatalogNodes\",\r\n move: \"/api/webclient/CatalogNode/MovePosition\",\r\n create: \"/api/webclient/CatalogNode/Create\",\r\n moveTo: \"/api/webclient/CatalogNode/MoveTo\",\r\n delete: \"/api/webclient/CatalogNode/Delete\",\r\n sort: \"/api/webclient/CatalogNode/Sort\",\r\n rename: \"/api/webclient/CatalogNode/Rename\",\r\n paste: \"/api/webclient/CatalogNode/Paste\",\r\n childCount: \"/api/webclient/CatalogNodes/GetCatalogNodeChildCount\",\r\n pasteToAnothercatalog: \"/api/webclient/CatalogNode/PasteToAnotherCatalog\"\r\n },\r\n articles: {\r\n existInBaseCatalog: \"api/webclient/Catalog/CheckArticleInBaseCatalog\"\r\n },\r\n snapshot: {\r\n get: \"/api/webclient/Catalog/GetCatalogSnapshotHistory\",\r\n multiple: \"/api/webclient/Catalog/GetCatalogSnapshotHistoryMultiple\",\r\n create: \"/api/webclient/Catalog/TakeCatalogSnapshot\",\r\n restore: \"/api/webclient/Catalog/RestoreCatalogSnapshot\",\r\n copy: \"/api/webclient/Catalog/CopyCatalogSnapShot\",\r\n delete: \"/api/webclient/Catalog/DeleteCatalogSnapshot\"\r\n }\r\n },\r\n variationGroups: {\r\n articles: {\r\n get: \"/api/webclient/CatalogNode/GetArticlesUnderVariationGroup\",\r\n move: \"/api/webclient/Articles/MovePosition\",\r\n moveTo: \"/api/webclient/Article/MoveTo\"\r\n },\r\n deleteEmpty: \"/api/webclient/CatalogNodes/DeleteEmptyVariationGroups\",\r\n mediaAssets: {\r\n get: \"/api/webclient/CatalogNode/GetMediaAssetsUnderVariationGroup\",\r\n update: \"/api/webclient/CatalogNode/UpdateMediaAssetsUnderVariationGroup\"\r\n },\r\n prices: {\r\n get: \"/api/webclient/CatalogNode/GetPricesUnderVariationgroup\",\r\n update: \"/api/webclient/CatalogNode/UpdateArticlePricesUnderVariationgroup\"\r\n },\r\n priceAttributes: {\r\n get: \"/api/webclient/CatalogNode/GetPriceAttributesFromArticleUnderVariationGroup\"\r\n },\r\n attributes: {\r\n get: \"/api/webclient/CatalogNode/GetVariantAttributesAndPricesUnderVariationGroup\"\r\n }\r\n },\r\n attributePath: {\r\n get: \"/api/webclient/AttributeGroups/GetPath\"\r\n },\r\n languages: {\r\n get: \"/api/Language/GetLanguages\"\r\n },\r\n languageRegions: {\r\n get: \"api/webclient/commondata/GetLanguageRegions\"\r\n },\r\n localizedLanguages: {\r\n get: \"api/webclient/commondata/GetLanguagesWithLocalizedName\"\r\n },\r\n user: {\r\n settings: {\r\n get: \"api/webclient/UserSettings/GetSettings\",\r\n post: \"api/webclient/UserSettings/UpdateSettings\"\r\n },\r\n profile: {\r\n get: \"/api/webclient/User/GetProfile\",\r\n changePassword: \"/api/webclient/User/ChangePassword\"\r\n },\r\n list: {\r\n get: \"/api/webclient/User/GetAllUsers\"\r\n },\r\n licenses: {\r\n get: \"/api/Account/Licenses\"\r\n }\r\n },\r\n erp: {\r\n profiles: \"api/webclient/commondata/GetErpProfiles\",\r\n parameters: \"api/webclient/commondata/GetErpParameters\"\r\n },\r\n globalParameters: {\r\n get: \"api/webclient/GlobalParameters/GetGlobalParameters\",\r\n update: \"api/webclient/GlobalParameters/UpdateGlobalParameters\"\r\n },\r\n catalogNodes: {\r\n masterData: {\r\n get: \"/api/webclient/CatalogNode/CatalogNodeDetails\",\r\n update: \"/api/webclient/CatalogNode/UpdateMasterData\"\r\n },\r\n path: {\r\n getFromBaseCatalog: \"/api/webclient/CatalogNode/GetCatalogNodePathInBaseCatalog\",\r\n get: \"/api/webclient/CatalogNode/GetCatalogNodePath\"\r\n },\r\n mediaAssets: {\r\n get: \"/api/webclient/CatalogNode/CatalogNodeMediaAssets\",\r\n update: \"/api/webclient/CatalogNode/UpdateMediaAssets\"\r\n },\r\n attributes: {\r\n get: \"/api/webclient/CatalogNode/CatalogNodeAttributes\",\r\n update: \"/api/webclient/CatalogNode/UpdateAttributeData\"\r\n },\r\n status: {\r\n get: \"/api/webclient/CatalogNodes/GetStatusOfCatalogNodes\"\r\n },\r\n deleteEmpty: \"/api/webclient/CatalogNodes/DeleteEmptyCatalogGroups\",\r\n newChildOptions: \"/api/webclient/CatalogNodes/GetNewChildOptions\"\r\n },\r\n excelEdit: {\r\n export: \"/api/webclient/ExcelEdit/ExportToExcel\",\r\n download: \"/api/webclient/ExcelEdit/download\",\r\n import: \"/api/webclient/ExcelEdit/ExcelImport\",\r\n GetExportDataTypes: \"/api/webclient/ExcelEdit/GetExportDataTypes\",\r\n GetMamParameterTypes: \"/api/webclient/ExcelEdit/GetMamParameterTypes\",\r\n GetAttributeGroupsOfCatalogNode: \"/api/webclient/ExcelEdit/GetAttributeGroupsOfCatalogNode\",\r\n exportAdvancedSearch: \"/api/webclient/ExcelEdit/ExportFromAdvancedSearch\"\r\n },\r\n simpleSearch: {\r\n get: \"/api/webclient/EasySearch/SearchArticlePaged\",\r\n catalog: \"/api/webclient/EasySearch/SearchInCatalog\"\r\n },\r\n attributeGroupSearch: {\r\n get: \"/api/webclient/AttributeGroups/Search\"\r\n },\r\n classifications: {\r\n search: {\r\n get: \"/api/webclient/Classifications/Search\"\r\n },\r\n getClassificationPath: {\r\n get: \"/api/webclient/Classifications/GetClassificationPath\"\r\n },\r\n classificationGroups: {\r\n get: \"/api/webclient/Classifications/GetClassificationGroups\"\r\n },\r\n classificationDetails: {\r\n get: \"/api/webclient/Classifications/GetClassificationDetails\"\r\n }\r\n },\r\n referenceTypes: {\r\n get: \"/api/webclient/ReferenceType/GetReferenceTypes\"\r\n },\r\n keywordTypes: {\r\n get: \"/api/webclient/KeywordTypes/Get\",\r\n update: \"/api/webclient/KeywordTypes/Update\",\r\n delete: \"/api/webclient/KeywordTypes/Delete\",\r\n deepL: \"/api/webclient/KeywordTypes/SaveDeepLTranslatedValues\"\r\n },\r\n smartSnippets: {\r\n get: \"/api/webclient/SmartSnippet/GetSmartSnippets\",\r\n resolved: {\r\n get: \"/api/webclient/SmartSnippet/GetResolvedSmartSnippet\"\r\n }\r\n },\r\n suggests: {\r\n globalAttributeValue: {\r\n get: \"/api/webclient/Suggest/GetGlobalAttributeValues\"\r\n },\r\n globalAttributeValueUid: {\r\n get: \"/api/webclient/Suggest/GetGlobalAttributeValueUids\"\r\n },\r\n globalAttributeValueAbbreviation: {\r\n get: \"/api/webclient/Suggest/GetGlobalAttributeValueAbbreviations\"\r\n },\r\n globalAttributeUnit: {\r\n get: \"/api/webclient/Suggest/GetGlobalAttributeUnits\"\r\n },\r\n globalAttributeUnitUid: {\r\n get: \"/api/webclient/Suggest/GetGlobalAttributeUnitUids\"\r\n },\r\n globalAttributeUnitAbbreviation: {\r\n get: \"/api/webclient/Suggest/GetGlobalAttributeUnitAbbreviations\"\r\n },\r\n attributeValue: {\r\n get: \"/api/webclient/Suggest/GetAttributeValues\"\r\n },\r\n attributeValueUid: {\r\n get: \"/api/webclient/Suggest/GetAttributeValueUids\"\r\n },\r\n attributeValueAbbreviation: {\r\n get: \"/api/webclient/Suggest/GetAttributeValueAbbreviations\"\r\n },\r\n attributeUnit: {\r\n get: \"/api/webclient/Suggest/GetAttributeUnits\"\r\n },\r\n attributeUnitUid: {\r\n get: \"/api/webclient/Suggest/GetAttributeUnitUids\"\r\n },\r\n attributeUnitAbbreviation: {\r\n get: \"/api/webclient/Suggest/GetAttributeUnitAbbreviations\"\r\n },\r\n erpAttributeValue: {\r\n get: \"/api/webclient/Suggest/GetErpAttributeValues\"\r\n },\r\n erpAttributeValueUid: {\r\n get: \"/api/webclient/Suggest/GetErpAttributeValueUids\"\r\n },\r\n erpAttributeValueAbbreviation: {\r\n get: \"/api/webclient/Suggest/GetErpAttributeValueAbbreviations\"\r\n },\r\n erpAttributeUnit: {\r\n get: \"/api/webclient/Suggest/GetErpAttributeUnits\"\r\n },\r\n erpAttributeUnitUid: {\r\n get: \"/api/webclient/Suggest/GetErpAttributeUnitUids\"\r\n },\r\n erpAttributeUnitAbbreviation: {\r\n get: \"/api/webclient/Suggest/GetErpAttributeUnitAbbreviations\"\r\n }\r\n },\r\n articleTranslations: {\r\n globalAttributeValues: {\r\n get: \"/api/webclient/TranslationArticles/GetGlobalAttributeValues\",\r\n update: \"/api/webclient/TranslationArticles/UpdateGlobalAttributes\"\r\n },\r\n invariantAttributeValues: {\r\n get: \"/api/webclient/TranslationArticles/GetInvariantAttributeValues\",\r\n update: \"/api/webclient/TranslationArticles/UpdateInvariantAttributes\"\r\n },\r\n keywords: {\r\n get: \"/api/webclient/TranslationArticles/GetKeywords\",\r\n update: \"/api/webclient/TranslationArticles/UpdateKeywords\"\r\n },\r\n masterData: {\r\n get: \"/api/webclient/TranslationArticles/GetMasterData\",\r\n update: \"/api/webclient/TranslationArticles/UpdateMasterdata\"\r\n },\r\n mediaAssets: {\r\n get: \"/api/webclient/TranslationArticles/GetMediaAssetValues\",\r\n update: \"/api/webclient/TranslationArticles/UpdateMediaAssets\"\r\n },\r\n priceAttributeValues: {\r\n get: \"/api/webclient/TranslationArticles/GetPriceAttributeValues\",\r\n update: \"/api/webclient/TranslationArticles/UpdatePriceAttributes\"\r\n },\r\n saveTranslateAllByDeepL: {\r\n update: \"/api/webclient/TranslationArticles/SaveAllDeepLTranslatedArticleData\"\r\n },\r\n saveTranslateAllFromMemory: {\r\n update: \"/api/webclient/TranslationArticles/SaveAllTranslatedArticleDataFromTranslationMemory\"\r\n },\r\n suggestions: {\r\n globalAttributes: {\r\n get: \"/api/webclient/TranslationArticles/GetSuggestionsForGlobalAttributes\"\r\n },\r\n invariantAttributeValues: {\r\n get: \"/api/webclient/TranslationArticles/GetSuggestionsForInvariantAttributes\"\r\n },\r\n keywords: {\r\n get: \"/api/webclient/TranslationArticles/GetSuggestionsForKeywords\"\r\n },\r\n mediaAssets: {\r\n get: \"/api/webclient/TranslationArticles/GetSuggestionsForMediaAssets\"\r\n },\r\n priceAttributeValues: {\r\n get: \"/api/webclient/TranslationArticles/GetSuggestionsForPriceAttributes\"\r\n },\r\n variantAttributeValues: {\r\n get: \"/api/webclient/TranslationArticles/GetSuggestionsForVariantAttributes\"\r\n }\r\n },\r\n translateAllGlobalAttributes: {\r\n get: \"/api/webclient/TranslationArticles/GetAllGlobalAttributeTranslateValues\"\r\n },\r\n translateAllInvariantAttributes: {\r\n get: \"/api/webclient/TranslationArticles/GetAllInvariantAttributeTranslateValues\"\r\n },\r\n translateAllKeywords: {\r\n get: \"/api/webclient/TranslationArticles/GetAllKeywordTranslateValues\"\r\n },\r\n translateAllMediaAssets: {\r\n get: \"/api/webclient/TranslationArticles/GetAllMediaAssetTranslatedValues\"\r\n },\r\n translateAllPriceAttributes: {\r\n get: \"/api/webclient/TranslationArticles/GetAllPriceAttributeTranslateValues\"\r\n },\r\n translateAllVariantAttributes: {\r\n get: \"/api/webclient/TranslationArticles/GetAllVariantAttributeTranslateValues\"\r\n },\r\n variantAttributeValues: {\r\n get: \"/api/webclient/TranslationArticles/GetVariantAttributeValues\",\r\n update: \"/api/webclient/TranslationArticles/UpdateVariantAttributes\"\r\n }\r\n },\r\n attributeManager: {\r\n attributes: {\r\n get: \"/api/webclient/Attributes/GetAttributes\",\r\n update: \"/api/webclient/Attributes/UpdateAttributes\",\r\n delete: \"/api/webclient/Attributes/Delete\",\r\n getDescendantAttributes: \"/api/webclient/Attributes/GetDescendantAttributeGroupsAttributes\",\r\n details: \"/api/webclient/Attributes/GetAttributeDetails\",\r\n values: {\r\n get: \"/api/webclient/Attributes/GetDefaultAttributeValues\",\r\n update: \"/api/webclient/Attributes/UpdateDefaultAttributeValues\",\r\n delete: \"/api/webclient/Attributes/DeleteDefaultAttributeValues\"\r\n },\r\n units: {\r\n get: \"/api/webclient/Attributes/GetDefaultAttributeUnits\",\r\n update: \"/api/webclient/Attributes/UpdateDefaultAttributeUnits\",\r\n delete: \"/api/webclient/Attributes/DeleteDefaultAttributeUnits\"\r\n },\r\n deepL: \"/api/webclient/Attributes/SaveDeepLTranslatedValues\"\r\n },\r\n priceAttributes: {\r\n get: \"/api/webclient/PriceAttribute/Get\",\r\n update: \"/api/webclient/PriceAttribute/Update\"\r\n },\r\n attributeTypes: {\r\n get: \"/api/webclient/AttributeTypes/Get\",\r\n update: \"/api/webclient/AttributeTypes/Update\",\r\n delete: \"/api/webclient/AttributeTypes/Delete\",\r\n deepL: \"/api/webclient/AttributeTypes/SaveDeepLTranslatedValues\"\r\n },\r\n globalAttributes: {\r\n get: \"/api/webclient/GlobalAttributes/Get\",\r\n update: \"/api/webclient/GlobalAttributes/Update\",\r\n delete: \"/api/webclient/GlobalAttributes/Delete\",\r\n values: {\r\n get: \"/api/webclient/GlobalAttributes/GetDefaultAttributeValues\",\r\n update: \"/api/webclient/GlobalAttributes/UpdateDefaultAttributeValues\",\r\n delete: \"/api/webclient/GlobalAttributes/DeleteDefaultAttributeValues\"\r\n },\r\n units: {\r\n get: \"/api/webclient/GlobalAttributes/GetDefaultAttributeUnits\",\r\n update: \"/api/webclient/GlobalAttributes/UpdateDefaultAttributeUnits\",\r\n delete: \"/api/webclient/GlobalAttributes/DeleteDefaultAttributeUnits\"\r\n },\r\n deepL: \"/api/webclient/GlobalAttributes/SaveDeepLTranslatedValues\",\r\n details: \"/api/webclient/GlobalAttributes/GetGlobalAttributeDetails\"\r\n },\r\n mediaAssets: {\r\n get: \"/api/webclient/MediaAssets/Get\",\r\n update: \"/api/webclient/MediaAssets/Update\",\r\n delete: \"/api/webclient/MediaAssets/Delete\",\r\n details: \"/api/webclient/MediaAssets/GetMediaAssetDetails\",\r\n getConversionProfiles: \"/api/webclient/MediaAssets/GetConversionProfiles\",\r\n getMamDetails: \"/api/webclient/MediaAssets/GetMamDetails\",\r\n getPreviewMediaAsset: \"/api/webclient/MediaAssets/GetPreviewMediaAsset\",\r\n setPreviewMediaAsset: \"/api/webclient/MediaAssets/SetPreviewMediaAsset\",\r\n deepL: \"/api/webclient/MediaAssets/SaveDeepLTranslatedValues\"\r\n },\r\n attributeDataTypes: {\r\n get: \"/api/webclient/Attributes/GetAttributeDataTypes\"\r\n },\r\n mediaAssetTypes: {\r\n get: \"/api/webclient/MediaAssetTypes/Get\",\r\n update: \"/api/webclient/MediaAssetTypes/Update\",\r\n delete: \"/api/webclient/MediaAssetTypes/Delete\",\r\n validateInitialRelativePath: \"/api/webclient/MediaAssetTypes/ValidateInitialRelativePath\",\r\n deepL: \"/api/webclient/MediaAssetTypes/SaveDeepLTranslatedValues\"\r\n },\r\n catalogAttributes: {\r\n get: \"/api/webclient/CatalogAttributes/Get\",\r\n update: \"/api/webclient/CatalogAttributes/Update\",\r\n delete: \"/api/webclient/CatalogAttributes/Delete\",\r\n deepL: \"/api/webclient/CatalogAttributes/SaveDeepLTranslatedValues\"\r\n },\r\n catalogGroupAttributes: {\r\n get: \"/api/webclient/CatalogNodeAttributes/Get\",\r\n update: \"/api/webclient/CatalogNodeAttributes/Update\",\r\n delete: \"/api/webclient/CatalogNodeAttributes/Delete\",\r\n deepL: \"/api/webclient/CatalogNodeAttributes/SaveDeepLTranslatedValues\"\r\n },\r\n referenceTypes: {\r\n get: \"/api/webclient/References/GetReferenceTypes\",\r\n update: \"/api/webclient/References/UpdateReferenceTypes\",\r\n delete: \"/api/webclient/References/DeleteReferenceTypes\",\r\n deepL: \"/api/webclient/References/SaveDeepLTranslatedReferenceAttributeTypes\"\r\n },\r\n referenceAttributes: {\r\n get: \"/api/webclient/References/GetReferenceAttributes\",\r\n update: \"/api/webclient/References/UpdateReferenceAttributes\",\r\n delete: \"/api/webclient/References/DeleteReferenceAttributes\",\r\n deepL: \"/api/webclient/References/SaveDeepLTranslatedReferenceAttributes\"\r\n },\r\n erpSections: {\r\n get: \"/api/webclient/ErpSections/Get\",\r\n update: \"/api/webclient/ErpSections/Update\",\r\n delete: \"/api/webclient/ErpSections/Delete\"\r\n },\r\n erpAttributes: {\r\n get: \"/api/webclient/ErpAttributes/Get\",\r\n update: \"/api/webclient/ErpAttributes/Update\",\r\n delete: \"/api/webclient/ErpAttributes/Delete\",\r\n values: {\r\n get: \"/api/webclient/ErpAttributes/GetDefaultErpAttributeValues\",\r\n update: \"/api/webclient/ErpAttributes/UpdateDefaultErpAttributeValues\",\r\n delete: \"/api/webclient/ErpAttributes/DeleteDefaultErpAttributeValues\"\r\n },\r\n units: {\r\n get: \"/api/webclient/ErpAttributes/GetDefaultErpAttributeUnits\",\r\n update: \"/api/webclient/ErpAttributes/UpdateDefaultErpAttributeUnits\",\r\n delete: \"/api/webclient/ErpAttributes/DeleteDefaultErpAttributeUnits\"\r\n },\r\n deepL: \"/api/webclient/ErpAttributes/SaveDeepLTranslatedValues\",\r\n details: \"/api/webclient/ErpAttributes/GetErpAttributeDetails\"\r\n },\r\n localizedBooleanValues: {\r\n get: \"/api/webclient/commondata/GetLocalizedbooleanValues\"\r\n }\r\n },\r\n authentication: {\r\n login: \"/api/Account/Authenticate\",\r\n loginWithCode: \"/api/Account/AuthenticateWithCode\",\r\n logout: \"/api/Account/Logout\"\r\n },\r\n catalogFilter: {\r\n addUserCatalogFilter: \"/api/webclient/CatalogFilter/AddUserCatalogFilter\",\r\n deleteUsercatalogFilter: \"/api/webclient/CatalogFilter/DeleteUsercatalogFilter\",\r\n getAllUserCatalogFilterCategories: \"/api/webclient/CatalogFilter/GetAllUserCatalogFilterCategories\",\r\n getCatalogFilterList: \"/api/webclient/CatalogFilter/GetCatalogFilterList\",\r\n startCatalogFilterExecution: \"/api/webclient/CatalogFilter/StartCatalogFilterExecution\",\r\n getUserCatalogFilters: \"/api/webclient/CatalogFilter/GetUserCatalogFilters\"\r\n },\r\n catalogNodeTranslation: {\r\n attributes: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetAttributeValues\",\r\n update: \"/api/webclient/TranslationCatalogNode/UpdateAttributeData\"\r\n },\r\n masterData: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetMasterData\",\r\n update: \"/api/webclient/TranslationCatalogNode/UpdateMasterData\"\r\n },\r\n mediaAsset: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetMediaAssetValues\",\r\n update: \"/api/webclient/TranslationCatalogNode/UpdateMediaAsset\"\r\n },\r\n suggestions: {\r\n catalogAttributes: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetSuggestionsForCatalogGroupAttributes\"\r\n },\r\n catalogDescription: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetSuggestionsForCatalogGroupDescription\"\r\n },\r\n catalogGroupName: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetSuggestionsForCatalogGroupName\"\r\n },\r\n catalogMediaAssets: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetSuggestionsForCatalogGroupMediaAssets\"\r\n }\r\n },\r\n translateAllAttributes: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetAllAttributeTranslateValues\"\r\n },\r\n translateAllMasterdata: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetAllMasterdataTranslateValues\"\r\n },\r\n translateAllMediaAssets: {\r\n get: \"/api/webclient/TranslationCatalogNode/GetAllTranslatedCatalogMediaAssets\"\r\n }\r\n },\r\n dashboard: {\r\n activities: \"api/webclient/Dashboard/GetActivities\",\r\n articelPerCatalogGroup: \"api/webclient/Dashboard/GetArticlesCountInCatalogGroups\",\r\n articlesCountByCreatedDate: \"/api/webclient/Dashboard/GetArticlesCountByCreatedDate\",\r\n overview: \"/api/webclient/Dashboard/GetOverView\",\r\n recentlyModifiedArticles: \"api/webclient/Dashboard/GetRecentlyModifiedArticles\"\r\n },\r\n deepLTranslation: {\r\n get: \"/api/webclient/DeepLTranslation/TranslationProxy\",\r\n glossary: {\r\n getGlossaries: \"/api/webclient/DeepLTranslation/GetGlossaries\",\r\n getGlossaryEntries: \"/api/webclient/DeepLTranslation/GetGlossaryEntries\",\r\n deleteGlossaries: \"/api/webclient/DeepLTranslation/DeleteGlossaries\",\r\n deleteGlossary: \"/api/webclient/DeepLTranslation/DeleteGlossary\",\r\n updateGlossary: \"/api/webclient/DeepLTranslation/UpdateGlossary\",\r\n getGlossaryLanguagePairs: \"/api/webclient/DeepLTranslation/getGlossaryLanguagePairs\",\r\n exportGlossaryEntriesToFile: \"/api/webclient/DeepLTranslation/ExportGlossaryEntriesToFile\",\r\n importGlossaryEntriesFromFile: \"/api/webclient/DeepLTranslation/ImportGlossaryEntriesFromFile\"\r\n }\r\n },\r\n encodings: {\r\n get: \"/api/webclient/commondata/GetEncodings\"\r\n },\r\n files: {\r\n upload: \"/api/webclient/FileManager/UploadFile\",\r\n fieldHeaders: {\r\n post: \"/api/webclient/FileManager/GetFieldHeadersFromSourceFile\"\r\n }\r\n },\r\n liveEdit: {\r\n multiImageCatalog: {\r\n images: {\r\n get: \"/api/webclient/mediaasset/GetMultiImageLayoutMediaAssetData\"\r\n }\r\n },\r\n paperCatalog: {\r\n images: {\r\n get: \"/api/webclient/mediaasset/GetPaperCatalogImageTypes\"\r\n }\r\n }\r\n },\r\n logging: {\r\n browse: \"/api/Log/Browse\",\r\n event: \"/api/Log/Event\",\r\n events: \"/api/Log/Events\",\r\n export: \"/api/Log/Export\"\r\n },\r\n mapping: {\r\n catalogFields: {\r\n create: \"/api/webclient/CatalogFieldMapping/Create\",\r\n delete: \"/api/webclient/CatalogFieldMapping/Delete\",\r\n deleteAll: \"api/webclient/CatalogFieldMapping/DeleteAll\",\r\n get: \"api/webclient/CatalogFieldMapping/get\",\r\n move: \"/api/webclient/CatalogMapping/MoveTargetNodes\",\r\n rename: \"/api/webclient/CatalogMapping/RenameTargetNodes\",\r\n reset: \"/api/webclient/CatalogMapping/ResetTargetNodeNames\",\r\n update: \"/api/webclient/CatalogFieldMapping/Update\"\r\n },\r\n catalogMappings: {\r\n create: \"api/webclient/CatalogMapping/Create\",\r\n get: \"api/webclient/Catalog/getCatalogMappings\"\r\n },\r\n sourceTree: {\r\n fields: {\r\n get: \"/api/webclient/Catalog/GetCatalogMappingSourceTreeFields\"\r\n }\r\n }\r\n },\r\n mediaAssets: {\r\n copySourceFileIntoTargetPath: \"/api/webclient/MediaAsset/copySourceFileIntoTargetPath\",\r\n downloadMediaAsset: \"/api/webclient/MediaAsset/downloadMediaAsset\",\r\n files: \"/api/webclient/MediaAsset/GetMediaAssetFilesFromFolder\",\r\n preview: \"/api/webclient/MediaAsset/GetThumbnail\",\r\n startMediaConversion: \"/api/webclient/MediaAsset/startMediaConversion\",\r\n startAllMediaConversion: \"/api/webclient/MediaAsset/startAllMediaAssetsConversion\",\r\n subFolders: \"/api/webclient/MediaAsset/GetMediaAssetSubfolders\",\r\n uploadMediaAsset: \"/api/webclient/MediaAsset/uploadMediaAsset\",\r\n validateFilePath: \"/api/webclient/MediaAsset/validateFilePath\",\r\n executeSearch: \"/api/webclient/MediaAsset/ExecuteMediaAssetSearch\",\r\n cancelSearch: \"/api/webclient/MediaAsset/CancelMediaAssetSearch\",\r\n folder: {\r\n create: \"/api/webclient/MediaAssetFolder/CreateFolder\"\r\n },\r\n deleteMediaAsset: \"/api/webclient/MediaAsset/DeleteFile\",\r\n deleteMediaAssetFolder: \"/api/webclient/MediaAssetFolder/DeleteFolder\",\r\n renameMediaAsset: \"/api/webclient/MediaAsset/RenameFile\",\r\n renameMediaAssetFolder: \"/api/webclient/MediaAssetFolder/RenameFolder\"\r\n },\r\n attributeGroups: {\r\n create: \"/api/webclient/AttributeGroups/Create\",\r\n delete: \"/api/webclient/AttributeGroups/Delete\",\r\n getPath: \"/api/webclient/AttributeGroups/GetPath\",\r\n search: \"/api/webclient/AttributeGroups/Search\",\r\n rename: \"/api/webclient/AttributeGroups/Rename\",\r\n getAttributeGroup: \"/api/webclient/AttributeGroups/GetAttributeGroup\",\r\n checkForDuplicates: \"/api/webclient/AttributeGroups/CheckForDuplicates\",\r\n sort: \"/api/webclient/AttributeGroups/Sort\",\r\n move: \"/api/webclient/AttributeGroups/MovePosition\",\r\n translate: \"/api/webclient/AttributeGroups/Translate\"\r\n },\r\n\r\n exports: {\r\n getCatalogs: \"/api/webclient/Export/GetCatalogs\",\r\n getCatalogMappingProjects: \"/api/webclient/Export/GetCatalogMappingProjects\",\r\n getArticleFilters: \"/api/webclient/Export/GetArticleFilters\",\r\n getRuleProfiles: \"/api/webclient/Export/GetRuleProfiles\",\r\n getExcelMacros: \"/api/webclient/Export/GetExcelMacros\",\r\n startExport: \"/api/webclient/Export/Execute\",\r\n getExportSettings: \"\", //TODO: After API Creation\r\n getExportProgress: \"/api/webclient/Export/GetProgress\",\r\n delete: \"/api/webclient/Export/Delete\",\r\n getExports: \"/api/webclient/Export/Get\",\r\n create: \"/api/webclient/Export/Create\",\r\n update: \"/api/webclient/Export/Update\",\r\n cancel: \"/api/webclient/Export/Cancel\",\r\n prepareForDownload: \"/api/webclient/Export/PrepareForDownload\",\r\n download: \"/api/webclient/Export/download\",\r\n getLog: \"/api/webclient/Export/GetLog\",\r\n uploadXsltFile: \"/api/webclient/Export/UploadXsltFile\",\r\n getLastExport: \"/api/webclient/Export/GetLastExport\",\r\n enableLastExport: \"/api/webclient/Export/GetLastExportEnabledStatus\",\r\n tradePro: {\r\n validateUrl: \"/api/webclient/Export/ValidateTradeProShopUrl\",\r\n validateFTP: \"/api/webclient/Export/ValidateFileUploadConnection\"\r\n },\r\n getTranslationTable: \"/api/webclient/Export/GetTranslationTable\",\r\n updateTranslationTable: \"/api/webclient/Export/UpdateTranslationTable\"\r\n },\r\n\r\n fastpage: {\r\n designer: {\r\n getInfo: \"/api/webclient/ListLabelItems/Get\",\r\n getItemsFromFolder: \"/api/webclient/ListLabelItems/GetFromFolder\",\r\n create: \"/api/webclient/ListLabelItems/Create\",\r\n rename: \"/api/webclient/ListLabelItems/Rename\",\r\n paste: \"/api/webclient/ListLabelItems/Copy\"\r\n },\r\n windowsDesigner: {\r\n start: \"/api/webclient/listlabel/ListLabelWebDesigner/Start\"\r\n }\r\n },\r\n\r\n unitSystems: {\r\n get: \"/api/webclient/commondata/GetUnitSystems\"\r\n },\r\n userTasks: {\r\n create: \"/api/webclient/UserTasks/CreateUserTask\",\r\n delete: \"/api/webclient/UserTasks/DeleteUserTask\",\r\n get: \"/api/webclient/UserTasks/GetUserTasksOnCurrentMonth\",\r\n update: \"/api/webclient/UserTasks/UpdateUserTask\"\r\n },\r\n thirdparty: {\r\n get: \"/api/ThirdpartyLicence/Get\"\r\n },\r\n autoMapping: {\r\n getAdvancedSettings: \"/api/webclient/AutoMapping/GetAdvancedAutoMappingSettings\",\r\n saveAdvancedSettings: \"/api/webclient/AutoMapping/SaveAdvancedAutoMappingSettings\",\r\n saveAutoMappingProfile: \"/api/webclient/AutoMapping/SaveAutoMappingProfile\",\r\n deleteProfile: \"/api/webclient/AutoMapping/DeleteProfile\",\r\n getAutoMappingScriptDetails: \"/api/webclient/AutoMapping/GetAutoMappingDetails\",\r\n getAutoMappingProfile: \"/api/webclient/AutoMapping/GetAutoMappingProfile\",\r\n execute: \"/api/webclient/AutoMapping/Execute\",\r\n getMappingScriptNames: \"/api/webclient/AutoMapping/GetMappingScriptNames\",\r\n getMappingExpression: \"/api/webclient/AutoMapping/GetMappingExpression\"\r\n },\r\n automationServer: {\r\n get: \"/api/webclient/Automation/Get\",\r\n getAll: \"/api/webclient/Automation/GetAll\",\r\n getAllTemplates: \"/api/webclient/Automation/GetAllTemplates\",\r\n update: \"/api/webclient/Automation/CreateOrUpdate\",\r\n getActionTypes: \"/api/webclient/Automation/GetActionTypes\",\r\n delete: \"/api/webclient/Automation/DeleteAutomations\",\r\n execute: \"/api/webclient/Automation/ExecuteAutomations\",\r\n activateOrDeactivate: \"/api/webclient/Automation/ActivateDeactivateAutomations\",\r\n getTriggerTypes: \"/api/webclient/Automation/GetTriggerTypes\",\r\n getProjectFiles: \"/api/webclient/Automation/GetProjectFiles\",\r\n getPowershellFiles: \"/api/webclient/Automation/GetPowershellFiles\",\r\n executeAutomationsIfRequired: \"/api/webclient/Automation/ExecuteAutomationsIfRequired\",\r\n getAutomationRun: \"/api/webclient/Automation/GetAutomationRun\",\r\n getActionsOnAutomation: \"/api/webclient/Automation/GetExecutedAutomationActions\"\r\n },\r\n advancedSearch: {\r\n getSearchTypes: \"/api/webclient/AdvancedSearch/GetSearchTypes\",\r\n execute: \"/api/webclient/AdvancedSearch/Execute\",\r\n save: \"/api/webclient/AdvancedSearch/Save\",\r\n delete: \"/api/webclient/AdvancedSearch/Delete\",\r\n getAll: \"/api/webclient/AdvancedSearch/GetAll\",\r\n get: \"/api/webclient/AdvancedSearch/Get\",\r\n exportCsv: \"/api/webclient/AdvancedSearch/ExportAsCsv\"\r\n },\r\n\r\n /*eslint-disable @typescript-eslint/no-explicit-any*/\r\n format(url: string, params: Record, keepUsedKeys = false) {\r\n const getMatch = function (x: string) {\r\n const reg = new RegExp(\"\\\\{(?[^\\\\}]+)\\\\}\", \"ig\");\r\n return reg.exec(x);\r\n };\r\n\r\n let match: RegExpExecArray | null;\r\n while ((match = getMatch(url))) {\r\n if (match && match.groups) {\r\n url = url.replace(match[0], params[match.groups.key] as string);\r\n if (!keepUsedKeys) delete params[match.groups.key];\r\n }\r\n }\r\n\r\n return url;\r\n }\r\n};\r\n","import { getTargetSystem } from \"@Exports/util/exportType\";\r\nimport { ExportProgressState } from \"@medapro-types/Exports/components/ProgressExport\";\r\nimport { ExportType, LayoutCategory, LayoutFileType } from \"@medapro-types/Exports/export-enum\";\r\nimport api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\nimport { List } from \"lodash\";\r\nimport { Guid } from \"@/util/guid\";\r\nimport { ExportLog } from \"@medapro-types/Exports/components/LiveLog\";\r\nimport { TradeProExportUploadOptions } from \"@medapro-types/Exports/components/common/Upload\";\r\nimport { ILocalizedRecord } from \"@medapro-types/common/components/localizedDataListEditorTypes\";\r\nimport { ITranslationTableTypeModel } from \"@medapro-types/Exports/components/FastPage/ITranslationTableTypeModel\";\r\n\r\nexport default {\r\n getCatalogs: async function (language: string, exportType: ExportType) {\r\n const response = await api.get(endpoints.exports.getCatalogs, { params: { language, targetSystem: getTargetSystem(exportType) } });\r\n return response.data;\r\n },\r\n getCatalogMappingProjects: async function (catalogId: string, exportType: ExportType) {\r\n const response = await api.get(endpoints.exports.getCatalogMappingProjects, { params: { catalogId, targetSystem: getTargetSystem(exportType) } });\r\n return response.data;\r\n },\r\n getArticleFilters: async function () {\r\n const response = await api.get(endpoints.exports.getArticleFilters, { params: {} });\r\n return response.data;\r\n },\r\n getExcelMacros: async function () {\r\n const response = await api.get(endpoints.exports.getExcelMacros, { params: {} });\r\n return response.data;\r\n },\r\n getRuleProfiles: async function (mappingId: string) {\r\n const response = await api.get(endpoints.exports.getRuleProfiles, { params: { catalogMappingTargetId: mappingId } });\r\n return response.data;\r\n },\r\n startExport: async function (exportId: string) {\r\n const response = await api.post(endpoints.exports.startExport, {}, { params: { exportId: exportId } });\r\n return response.data;\r\n },\r\n getProgressInfo: async function (language: string, exportRunId: string): Promise {\r\n const response = await api.get(endpoints.exports.getExportProgress, { params: { exportRunId: exportRunId, language: language } });\r\n return response.data;\r\n },\r\n getExportSettings: async function (id: string) {\r\n /* const response = await api.get(endpoints.exports.getExportSettings, { params: { id: id } });\r\n return response.data; */\r\n const data: Record = {};\r\n const keys = Object.keys(exampleSettings[id]);\r\n for (let i = 0; i < 10; i++) {\r\n for (const key of keys) {\r\n data[key + i] = exampleSettings[id][key];\r\n }\r\n }\r\n\r\n return data;\r\n },\r\n validateTradeProUpdateAPI: async function (args: unknown) {\r\n const response = await api.post(endpoints.exports.tradePro.validateUrl, args);\r\n return response.data;\r\n },\r\n delete: async function (exportIds: List) {\r\n const response = await api.post(endpoints.exports.delete, exportIds, {\r\n params: {}\r\n });\r\n return response.data;\r\n },\r\n getExports: async function (exportType: ExportType, language: string) {\r\n const response = await api.get(endpoints.exports.getExports, { params: { targetSystem: getTargetSystem(exportType), language } });\r\n return response.data;\r\n },\r\n createExport: async function (args: unknown) {\r\n const response = await api.post(endpoints.exports.create, args);\r\n return response.data;\r\n },\r\n updateExport: async function (args: unknown) {\r\n const response = await api.post(endpoints.exports.update, args);\r\n return response.data;\r\n },\r\n cancelExport: async function (exportRunId: string) {\r\n const response = await api.post(endpoints.exports.cancel, {}, { params: { exportRunId: exportRunId } });\r\n return response.data;\r\n },\r\n getLog: async function (exportRunId: string): Promise> {\r\n const response = await api.get(endpoints.exports.getLog, { params: { exportRunId } });\r\n return response.data;\r\n },\r\n uploadXsltFile: async function (file: File | null) {\r\n const response = await api.post(\r\n endpoints.exports.uploadXsltFile,\r\n { file },\r\n {\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\"\r\n }\r\n }\r\n );\r\n return response.data;\r\n },\r\n getLastExport: async function (exportId?: string) {\r\n const response = await api.get(endpoints.exports.getLastExport, { params: { exportId } });\r\n return response.data;\r\n },\r\n isLastExportEnabled: async function (exportId?: string) {\r\n if (!exportId) return false;\r\n const response = await api.get(endpoints.exports.enableLastExport, { params: { exportId } });\r\n return response.data;\r\n },\r\n validateFTP: async function (config: TradeProExportUploadOptions) {\r\n const response = await api.post(endpoints.exports.tradePro.validateFTP, config);\r\n return response.data;\r\n },\r\n prepareForDownload: async function (exportRunId: string) {\r\n const response = await api.post(endpoints.exports.prepareForDownload, {}, { params: { exportRunId: exportRunId } });\r\n return response.data;\r\n },\r\n getTranslationTable(languages: string[]) {\r\n return api\r\n .get(endpoints.exports.getTranslationTable, {\r\n params: { languages }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateTranslationTable: async function (model: ILocalizedRecord[]) {\r\n const response = await api.post(endpoints.exports.updateTranslationTable, model).then((x) => Promise.resolve(x.data));\r\n return response.data;\r\n },\r\n createFastPageLayout: async function (uiName: string, description: string, projectType: LayoutFileType | string, category: LayoutCategory | string) {\r\n const response = await api.post(endpoints.fastpage.designer.create, {\r\n uiName,\r\n description,\r\n projectType,\r\n category\r\n });\r\n return response.data;\r\n },\r\n renameFastPageLayout: async function (itemId: string, newName: string, description: string, category: LayoutCategory | string) {\r\n const response = await api.post(endpoints.fastpage.designer.rename, { itemId, newName, description, category });\r\n return response.data;\r\n },\r\n duplicateFastPageLayout: async function (\r\n itemId: string,\r\n newName: string,\r\n description: string,\r\n category: LayoutCategory | string,\r\n basedOnItem: string | null\r\n ) {\r\n const response = await api.post(endpoints.fastpage.designer.paste, { itemId, newName, description, category, basedOnItem });\r\n return response.data;\r\n },\r\n getFastPageLayoutInfo: async function (layoutIds: Array) {\r\n const response = await api.post(endpoints.fastpage.designer.getInfo, layoutIds);\r\n return response.data;\r\n },\r\n getFastPageItemsUnderFolder: async function (folderId: string | null) {\r\n const response = await api.get(endpoints.fastpage.designer.getItemsFromFolder, {\r\n params: { folderId }\r\n });\r\n return response.data;\r\n }\r\n};\r\n\r\nconst exampleSettings: Record> = {\r\n \"65da6eee-5dc7-4d64-825a-e14ed67265f0\": {\r\n id: \"65da6eee-5dc7-4d64-825a-e14ed67265f0\",\r\n catalog: \"Nec Leo Foundation\",\r\n mapping: \"Suspendisse Aliquet Company\",\r\n language: \"Netherlands\",\r\n region: \"Maryland\",\r\n ruleProfile: \"Hyacinth Carney\",\r\n exportFormat: \"Json\",\r\n marcoTemplate: \"Mason Walters\",\r\n addFilter: \"Raya Wynn\"\r\n },\r\n \"7CF89715-BEBB-2D6D-B89B-D958E517E259\": {\r\n id: \"7CF89715-BEBB-2D6D-B89B-D958E517E259\",\r\n catalog: \"Non Luctus Institute\",\r\n mapping: \"In Aliquet Industries\",\r\n language: \"Brazil\",\r\n region: \"Tasmania\",\r\n ruleProfile: \"Macy Yang\",\r\n exportFormat: \"XML\",\r\n marcoTemplate: \"Rinah Hopkins\",\r\n addFilter: \"Lucas Mitchell\"\r\n },\r\n \"355D4553-B595-3425-B493-3B67AC872466\": {\r\n id: \"355D4553-B595-3425-B493-3B67AC872466\",\r\n catalog: \"Pellentesque Eget Dictum Foundation\",\r\n mapping: \"Ipsum Dolor Corp.\",\r\n language: \"Costa Rica\",\r\n region: \"Lombardia\",\r\n ruleProfile: \"Clarke Bender\",\r\n exportFormat: \"Pro\",\r\n marcoTemplate: \"Stuart Byrd\",\r\n addFilter: \"Jesse Ortega\"\r\n }\r\n};\r\n","export enum ExportType {\r\n Excel = \"Excel\",\r\n Text = \"Text\",\r\n XML = \"XML\",\r\n JSON = \"JSON\",\r\n BMEcat = \"BMEcat\",\r\n BMEcat2005 = \"BMEcat2005\",\r\n BMEcatETIM2005 = \"BMEcatETIM2005\",\r\n TradeProNext = \"TradeProNext\",\r\n FastPage = \"FastPage\"\r\n}\r\nexport enum ExportProgressStatus {\r\n Queued = \"Queued\",\r\n Processing = \"Processing\",\r\n Completed = \"Completed\",\r\n Faulted = \"Faulted\",\r\n Cancelled = \"Cancelled\"\r\n}\r\n\r\nexport enum ExportSettingItem {\r\n Catalogue = \"catalogue\",\r\n Supplier = \"supplier\",\r\n Buyer = \"buyer\",\r\n Agreements = \"agreements\",\r\n UdxList = \"udxList\",\r\n Upload = \"upload\",\r\n Update = \"update\",\r\n Placeholders = \"placeholders\",\r\n Layouts = \"layouts\"\r\n}\r\n\r\nexport enum LayoutFileType {\r\n Label = \"ll/project/lbl\",\r\n List = \"ll/project/lst\",\r\n Card = \"ll/project/crd\"\r\n}\r\n\r\nexport enum LayoutFolderType {\r\n Folder = \"repos/folder\"\r\n}\r\n\r\nexport enum LayoutCategory {\r\n FRONTCOVER = \"FrontCovers\",\r\n BACKCOVER = \"BackCovers\",\r\n KEYWORDS = \"Index\",\r\n TABLEOFCONTENT = \"Contents\",\r\n ARTICLEDATA = \"Article\"\r\n}\r\n","// ..\\MeDaProWebServiceG2\\ITB.MeDaPro.WebService\\Models\\AttributeDataType.cs\r\nexport enum AttributeDataType {\r\n AttributeDataTypeAlphanumerical = \"AttributeDataTypeAlphanumerical\",\r\n AttributeDataTypeNumerical = \"AttributeDataTypeNumerical\",\r\n AttributeDataTypeLogical = \"AttributeDataTypeLogical\",\r\n AttributeDataTypeInterval = \"AttributeDataTypeInterval\",\r\n AttributeDataTypeDate = \"AttributeDataTypeDate\"\r\n}\r\n\r\nexport enum ValidationFeedbackType {\r\n success = \"success\",\r\n error = \"error\",\r\n warning = \"warning\"\r\n}\r\n","import moment from \"moment\";\r\nimport i18n from \"@/i18n\";\r\n\r\nconst { t, d } = i18n.global;\r\n\r\nexport function getDuration(startTime: string, endTime: string) {\r\n if (endTime !== \"1900-01-01T00:00:00\" && startTime !== \"1900-01-01T00:00:00\") {\r\n const startMoment = moment(startTime);\r\n const endMoment = moment(endTime);\r\n\r\n const duration = moment.duration(endMoment.diff(startMoment));\r\n\r\n const hours = Math.abs(Math.trunc(duration.asHours()));\r\n const minutes = Math.abs(duration.minutes());\r\n const seconds = Math.abs(duration.seconds());\r\n\r\n let formattedDuration = \"\";\r\n if (hours >= 1) {\r\n formattedDuration += `${hours} ${t(\"DateHours\")} ${minutes} ${t(\"DateMinutes\")} ${seconds} ${t(\"DateSeconds\")}`;\r\n } else {\r\n if (minutes >= 1) {\r\n formattedDuration += `${minutes} ${t(\"DateMinutes\")} ${seconds} ${t(\"DateSeconds\")}`;\r\n } else {\r\n formattedDuration += `${seconds} ${t(\"DateSeconds\")}`;\r\n }\r\n }\r\n return formattedDuration;\r\n } else {\r\n return `N/A`;\r\n }\r\n}\r\n\r\nexport function getDateTimeText(date: Date | string) {\r\n const today = moment();\r\n const relevantDate = moment(date);\r\n\r\n const timeBetweenMillisecondsDuration = moment.duration(today.diff(relevantDate));\r\n const timeBetweenMinutes = Math.floor(timeBetweenMillisecondsDuration.asMinutes());\r\n const timeBetweenHours = Math.floor(timeBetweenMillisecondsDuration.asHours());\r\n\r\n if (3 > timeBetweenMinutes) {\r\n return t(\"JustNow\");\r\n } else if (60 > timeBetweenMinutes) {\r\n return t(\"XMinutesPrior\", { Minutes: timeBetweenMinutes });\r\n } else if (24 > timeBetweenHours) {\r\n return t(\"XHoursPrior\", { Hours: timeBetweenHours });\r\n } else {\r\n return d(relevantDate.toDate(), \"shortDate\") + \" \" + d(relevantDate.toDate(), \"shortTime\");\r\n }\r\n}\r\n","export function setFocus(parent: HTMLElement, selector: string, highlight = true) {\r\n if (!parent) {\r\n console.warn(\"invalid parent element passed to focus manager\", { parent, selector });\r\n return;\r\n }\r\n\r\n const element = parent.querySelector(selector);\r\n if (element && element instanceof HTMLElement) {\r\n element.scrollIntoView();\r\n if (highlight && element instanceof HTMLInputElement) {\r\n element.select();\r\n }\r\n element.focus();\r\n } else {\r\n console.warn(\"selector provided to the focus manager resolved to null or a non focusable element\", { parent, selector, element });\r\n }\r\n}\r\n\r\nexport function setElementFocus(element: HTMLElement, highlight = true) {\r\n if (!element) return;\r\n\r\n element.scrollIntoView();\r\n if (highlight && element instanceof HTMLInputElement) {\r\n element.select();\r\n } else {\r\n console.warn(\"selector provided to the focus manager resolved to null or a non focusable element\", { element });\r\n }\r\n element.focus();\r\n}\r\n","export const generateNewNameMultiLanguage = (nameTemplate: string, values: Array>, defaultLanguage: string, nameField: string = \"name\") => {\r\n if (values.every((x) => x[defaultLanguage][nameField] !== nameTemplate)) {\r\n return nameTemplate;\r\n }\r\n\r\n const pattern = new RegExp(nameTemplate + \" \\\\((?\\\\d+)\\\\)\");\r\n const counters = values\r\n .map((x) => pattern.exec(x[defaultLanguage][nameField])?.groups?.counter)\r\n .filter((x) => x)\r\n .map((x) => parseInt(x ?? \"-1\"))\r\n .sort((a, b) => a - b);\r\n const nextCounter = counters.length ? counters[counters.length - 1] + 1 : 1;\r\n return `${nameTemplate} (${nextCounter})`;\r\n};\r\n\r\nexport const generateNewName = (nameTemplate: string, values: Array>, nameField: string = \"name\") => {\r\n if (values.every((x) => x[nameField] !== nameTemplate)) {\r\n return nameTemplate;\r\n }\r\n\r\n const pattern = new RegExp(nameTemplate + \" \\\\((?\\\\d+)\\\\)\");\r\n const counters = values\r\n .map((x) => pattern.exec(x[nameField])?.groups?.counter)\r\n .filter((x) => x)\r\n .map((x) => parseInt(x ?? \"-1\"))\r\n .sort((a, b) => a - b);\r\n const nextCounter = counters.length ? counters[counters.length - 1] + 1 : 1;\r\n return `${nameTemplate} (${nextCounter})`;\r\n};\r\n","import { v4 as uuidv4 } from \"uuid\";\r\n\r\nexport class Guid {\r\n private _value = \"\";\r\n\r\n static empty = \"00000000-0000-0000-0000-000000000000\";\r\n static isEmpty = (guid?: string | Guid | null) => {\r\n return guid === this.empty;\r\n };\r\n static new() {\r\n return uuidv4();\r\n }\r\n\r\n Guid = (guid: string = Guid.new()) => {\r\n this._value = guid;\r\n };\r\n\r\n get = () => {\r\n return this._value;\r\n };\r\n\r\n set = (nv: Guid | string) => {\r\n this._value = nv.toString();\r\n };\r\n}\r\n","export default function getBrowserLocale(options = {}): string | undefined {\r\n const defaultOptions = { countryCodeOnly: true };\r\n\r\n const opt = { ...defaultOptions, ...options };\r\n\r\n const navigatorLocale = navigator.languages !== undefined ? navigator.languages[0] : navigator.language;\r\n\r\n if (!navigatorLocale) {\r\n return undefined;\r\n }\r\n\r\n const trimmedLocale = opt.countryCodeOnly ? navigatorLocale.trim().split(/-|_/)[0] : navigatorLocale.trim();\r\n\r\n return trimmedLocale;\r\n}\r\n","export default {\r\n en: \"English\",\r\n de: \"Deutsch\",\r\n fr: \"Français\"\r\n} as Record;\r\n","import supportedLocales from \"../../config/supported-locales\";\r\nimport type { AnnotatedLocales } from \"./types/supported-locales\";\r\n\r\nexport function getSupportedLocales(): Array {\r\n const annotatedLocales: Array = [];\r\n\r\n for (const code of Object.keys(supportedLocales)) {\r\n const codeS: keyof typeof supportedLocales = code as keyof typeof supportedLocales;\r\n annotatedLocales.push({\r\n code: codeS,\r\n name: supportedLocales[codeS]\r\n });\r\n }\r\n\r\n return annotatedLocales;\r\n}\r\nexport function supportedLocalesInclude(locale: string) {\r\n return Object.keys(supportedLocales).includes(locale);\r\n}\r\n","import store from \"@/store\";\r\n\r\nexport function getLanguageDisplayName(languageCode: string) {\r\n if (!languageCode) return \"\";\r\n else {\r\n const currentLocale = store.state.userSettings.CurrentLocale;\r\n const displayNames = new Intl.DisplayNames([currentLocale], { type: \"language\" });\r\n return displayNames.of(languageCode);\r\n }\r\n}\r\n","const generateRandomId = (withNumbers?: boolean, length?: number) => {\r\n let characters = \"ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz\";\r\n characters += withNumbers ? \"123456790\" : \"\";\r\n const lenString = length ?? 7;\r\n let randomstring = \"\";\r\n\r\n for (let i = 0; i < lenString; i++) {\r\n const rnum = Math.floor(Math.random() * characters.length);\r\n randomstring += characters.substring(rnum, rnum + 1);\r\n }\r\n return randomstring;\r\n};\r\n\r\nexport default generateRandomId;\r\n","import { ArticleMasterDataModel, ArticleMasterDataResultModel, ArticleStateModel } from \"@/types/ContentEditor/content-editor-articles\";\r\nimport { MTicket, ValidationFeedbackEntry } from \"@/types/common/common\";\r\nimport { CatalogNodeMasterData } from \"@medapro-types/ContentEditor/content-editor-store\";\r\nimport { AxiosError } from \"axios\";\r\n\r\nexport abstract class Typeguards {\r\n public static isRecord(e: unknown): e is Record {\r\n return typeof e === \"object\" && e !== null;\r\n }\r\n public static isAxiosError(e: unknown): e is AxiosError {\r\n return !!e && (Object.hasOwn(e, \"request\") || Object.hasOwn(e, \"response\") || Object.hasOwn(e, \"code\"));\r\n }\r\n public static isMTicket(e: unknown): e is MTicket {\r\n return !!e && Object.hasOwn(e, \"user\") && Object.hasOwn(e, \"token\");\r\n }\r\n public static isSingleValidationFeedbackEntry(e: unknown): e is ValidationFeedbackEntry {\r\n return !!e && !Array.isArray(e) && Object.hasOwn(e, \"feedback\");\r\n }\r\n public static isArrayOfValidationFeedbackEntry(e: unknown): e is Array> {\r\n return !!e && Array.isArray(e);\r\n }\r\n public static isArticleMasterData(e: unknown): e is ArticleMasterDataModel {\r\n return !!e && Object.hasOwn(e, \"articleNo\");\r\n }\r\n public static isArticleMasterDataResultModel(e: unknown): e is ArticleMasterDataResultModel {\r\n return !!e && Object.hasOwn(e, \"articleId\") && Object.hasOwn(e, \"articleStateId\") && Object.hasOwn(e, \"rootCatalogNode\");\r\n }\r\n public static isArticleStateModel(e: unknown): e is ArticleStateModel {\r\n return !!e && Object.hasOwn(e, \"articleStateId\") && Object.hasOwn(e, \"name\") && Object.hasOwn(e, \"description\");\r\n }\r\n public static isCatalogNodeMasterData(e: unknown): e is CatalogNodeMasterData {\r\n return (\r\n !!e && Object.hasOwn(e, \"description\") && Object.hasOwn(e, \"catalogNodeType\") && Object.hasOwn(e, \"catalogNodeId\") && Object.hasOwn(e, \"rootCatalogNode\")\r\n );\r\n }\r\n public static hasShowFunction(e: unknown): e is { show: () => void } {\r\n return !!e && Object.hasOwn(e, \"show\");\r\n }\r\n}\r\n","import _ from \"lodash\";\r\nexport default (row, rules, languages, invert) => {\r\n const result = {};\r\n const validatableFields = Object.keys(rules);\r\n //for each language,\r\n //take each validatable field's rules,\r\n //and find first rule violating the spec\r\n //and set feedback based on that rule\r\n //if no rule is violated, isValid is set to true for that entry\r\n for (let langIndex = 0; langIndex < languages.length; langIndex++) {\r\n const lang = languages[langIndex];\r\n result[lang.languageCode] = Object.fromEntries(validatableFields.map((x) => [x, {}])); //build a default object with all language key\r\n\r\n for (let fieldIndex = 0; fieldIndex < validatableFields.length; fieldIndex++) {\r\n const field = validatableFields[fieldIndex];\r\n const sortedRules = _.sortBy(rules[field], (x) => x.severity);\r\n\r\n if (row[lang.languageCode]) {\r\n // evaluate rules only if data for language is loaded.\r\n for (let ruleIndex = 0; ruleIndex < sortedRules.length; ruleIndex++) {\r\n const spec = sortedRules[ruleIndex];\r\n const context = { language: lang };\r\n let failed;\r\n if (invert) {\r\n failed = spec.rule(row[lang.languageCode], lang.languageCode, row, context);\r\n } else {\r\n failed = !spec.rule(row[lang.languageCode], lang.languageCode, row, context);\r\n }\r\n\r\n if (failed) {\r\n const msg = typeof spec.msg === \"function\" ? spec.msg(row[lang.languageCode], context) : spec.msg;\r\n result[lang.languageCode][field] = {\r\n isValid: false,\r\n feedback: msg,\r\n type: spec.severity\r\n };\r\n break;\r\n }\r\n }\r\n }\r\n if (!result[lang.languageCode][field]) {\r\n result[lang.languageCode][field] = {\r\n isValid: true,\r\n feedback: \"\",\r\n type: \"\"\r\n };\r\n }\r\n }\r\n }\r\n\r\n return result;\r\n};\r\n","import api from \"../api\";\r\nimport endpoints from \"../endpoints\";\r\nimport moment from \"moment\";\r\nimport _ from \"lodash\";\r\n\r\nfunction makeID(length) {\r\n let result = \"\";\r\n const characters = \"c5JRE4o3CnKqX8mBhdzkl7bvSwWVNDyUMT0jeaiHIsPu62QGgLfOrZY1Ap9xtF\";\r\n const charactersLength = characters.length;\r\n for (let i = 0; i < length - 6; i++) {\r\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\r\n }\r\n return result + moment().format(\"YYMMDD\");\r\n}\r\n\r\nclass Logger {\r\n constructor() {\r\n this.logs = [];\r\n this.levels = { info: 0, warn: 1, error: 2 };\r\n const level = window.localStorage ? parseInt(window.localStorage.getItem(\"mcloud-loglevel\")) : null;\r\n if (!isNaN(level) && level >= 0 && level <= 2) {\r\n this.loglevel = level;\r\n } else {\r\n this.loglevel = 2;\r\n }\r\n\r\n this._emptyRunTime = 0;\r\n this._scheduleWrite();\r\n }\r\n\r\n info(name, msg, metadata) {\r\n return this.log(\"info\", name, msg, metadata);\r\n }\r\n\r\n error(name, msg, metadata) {\r\n return this.log(\"error\", name, msg, metadata);\r\n }\r\n\r\n warn(name, msg, metadata) {\r\n return this.log(\"warn\", name, msg, metadata);\r\n }\r\n\r\n log(severity, name, msg, metadata) {\r\n if (this.loglevel <= this.levels[severity]) {\r\n metadata = metadata || {};\r\n Object.keys(metadata).forEach((key) => {\r\n metadata[key] = this.cleanObject(metadata[key]);\r\n });\r\n\r\n const event = {\r\n name: name,\r\n severity: severity,\r\n message: msg,\r\n eventTime: new Date().toISOString(),\r\n correlationId: makeID(25),\r\n metadata: metadata\r\n };\r\n this.logs.push(event);\r\n }\r\n return this.consoleOverride(severity, msg);\r\n }\r\n\r\n changeLevel(level) {\r\n this.loglevel = level;\r\n if (window.localStorage)\r\n try {\r\n window.localStorage.setItem(\"mcloud-loglevel\", this.loglevel);\r\n } catch (error) {\r\n error(\"changeLogLevel\", \"Updating log level to localstorage resulted in error\", { loglevel: this.loglevel, exception: error });\r\n }\r\n }\r\n\r\n logAll(events) {\r\n this.logs.push(...events);\r\n }\r\n\r\n beginContext(name) {\r\n return new ContextLogger(name, makeID(25), this);\r\n }\r\n\r\n async GetLogsFor(date) {\r\n try {\r\n const logs = await api.get(endpoints.logging.browse, {\r\n params: { date: date }\r\n });\r\n return logs.data;\r\n } catch (error) {\r\n console.error(\"logger failed to log to api\", error);\r\n }\r\n }\r\n\r\n cleanObject(error) {\r\n if (error && error.isAxiosError) {\r\n const data = {\r\n info: error.toJSON(),\r\n response: error.response ? error.response.data : null\r\n };\r\n data.info.config = _.pick(data.info.config, [\"baseURL\", \"data\", \"method\", \"url\", \"message\"]);\r\n return JSON.stringify(data);\r\n } else if (error && typeof error !== \"string\" && typeof error !== \"number\") {\r\n if (error.toISOString) return error.toISOString();\r\n else return JSON.stringify(error);\r\n }\r\n return error;\r\n }\r\n\r\n async persist() {\r\n const logs = [...this.logs];\r\n try {\r\n await api.post(endpoints.logging.events, logs);\r\n this.logs = [];\r\n } catch (error) {\r\n console.error(\"logger failed to log to api\", error);\r\n }\r\n }\r\n\r\n async _update() {\r\n if (this.disabled) clearTimeout(this._handle);\r\n else if (this.logs.length > 0) {\r\n console.log(`Syncing ${this.logs.length} event logs...`);\r\n await this.persist();\r\n } else {\r\n if (this._emptyRunTime >= 60) {\r\n console.log(\"No logs to sync in last 1 minute. Current log level:\" + this.loglevel, this.levels);\r\n this._emptyRunTime = 0;\r\n } else {\r\n this._emptyRunTime += 10;\r\n }\r\n }\r\n\r\n this._scheduleWrite();\r\n }\r\n\r\n _scheduleWrite() {\r\n this._handle = setTimeout(() => {\r\n this._update();\r\n }, 10000);\r\n }\r\n\r\n clearLogs() {\r\n this.logs = [];\r\n }\r\n\r\n consoleOverride(method, args) {\r\n return {\r\n alsoToConsole: console[method].bind(console, ...args),\r\n andToConsole: console[method].bind(console)\r\n };\r\n }\r\n}\r\n\r\nclass ContextLogger {\r\n constructor(name, correlationId, logger) {\r\n this.name = name;\r\n this.correlationId = correlationId;\r\n this.logger = logger;\r\n this.logs = [];\r\n console.group(name);\r\n this._runningTime = 0;\r\n this._longRunningAlertHandle = setInterval(() => {\r\n this._runningTime += 12;\r\n console.log(\r\n `A log context (${this.name}) with ${this.logs.length} has been running for more than ${this._runningTime} seconds. Make sure you have called logContext.complete().`\r\n );\r\n }, 12000);\r\n }\r\n\r\n info(msg, metadata) {\r\n return this.log(\"info\", msg, metadata);\r\n }\r\n\r\n error(msg, metadata) {\r\n return this.log(\"error\", msg, metadata);\r\n }\r\n\r\n warn(msg, metadata) {\r\n return this.log(\"warn\", msg, metadata);\r\n }\r\n\r\n log(severity, msg, metadata) {\r\n if (this.logger.loglevel <= this.logger.levels[severity]) {\r\n metadata = metadata || {};\r\n Object.keys(metadata).forEach((key) => {\r\n metadata[key] = this.logger.cleanObject(metadata[key]);\r\n });\r\n\r\n this.logs.push({\r\n name: this.name,\r\n severity: severity,\r\n message: msg,\r\n eventTime: new Date().toISOString(),\r\n correlationId: this.correlationId,\r\n metadata: metadata\r\n });\r\n }\r\n return this.logger.consoleOverride(severity, msg);\r\n }\r\n\r\n complete() {\r\n window.clearInterval(this._longRunningAlertHandle);\r\n this.logger.logAll(this.logs);\r\n this.logs = [];\r\n console.groupEnd();\r\n }\r\n}\r\n\r\nconst logger = new Logger();\r\n\r\nexport default logger;\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getActivityUserSettings: async function () {\r\n const result = await api.get(endpoints.activity.activityUserSettings.get);\r\n return result.data;\r\n },\r\n updateActivityUserSettings: async function (settingsList) {\r\n const result = await api.post(endpoints.activity.activityUserSettings.update, settingsList);\r\n return result.data;\r\n },\r\n createActivity: async function (activityCriterias) {\r\n const result = await api.post(endpoints.activity.create, activityCriterias);\r\n return result.data;\r\n },\r\n deleteOutdatedActivity: async function (effectiveDate) {\r\n const result = await api.post(endpoints.activity.delete, {}, { params: { effectiveDate } });\r\n return result.data;\r\n }\r\n};\r\n","export default {\r\n Modules: {\r\n GroupName: \"Modules\",\r\n GroupId: \"0\",\r\n Cockpit: { Name: \"Cockpit\", Id: \"10\" },\r\n ContentEditor: { Name: \"Content Editor\", Id: \"100\" },\r\n VisualLink: { Name: \"Visual Link\", Id: \"101\" },\r\n ClassificationSelector: { Name: \"Classification Selector\", Id: \"102\" },\r\n ArticleNoGenerator: { Name: \"ArticleNoGenerator\", Id: \"103\" },\r\n ChannelCreator: { Name: \"Channel Creator\", Id: \"110\" },\r\n AttributeManager: { Name: \"Attribute Manager\", Id: \"120\" },\r\n UserManager: { Name: \"User Manager\", Id: \"130\" },\r\n ConfigurationManager: { Name: \"Configuration Manager\", Id: \"140\" },\r\n TranslationManager: { Name: \"Translation Manager\", Id: \"150\" },\r\n WorkManager: { Name: \"Work Manager\", Id: \"160\" },\r\n AutomationServer: { Name: \"Automation Server\", Id: \"170\" },\r\n Unknown: { Name: \"Unknown\", Id: \"1337\" }\r\n },\r\n\r\n Imports: {\r\n GroupName: \"Imports\",\r\n GroupId: \"1\",\r\n ProImport: { Name: \"PRO\", Id: \"200\" },\r\n SQLImport: { Name: \"SQL\", Id: \"205\" },\r\n AccessImport: { Name: \"Access\", Id: \"210\" },\r\n ExcelImport: { Name: \"Excel\", Id: \"220\" },\r\n TextImport: { Name: \"Text\", Id: \"230\" },\r\n ODBCImport: { Name: \"ODBC\", Id: \"240\" },\r\n eDCConnector: { Name: \"eDC Connector\", Id: \"245\" },\r\n BMEcatImport: { Name: \"BMEcat®\", Id: \"250\" },\r\n DatanormConverter: { Name: \"DATANORM Converter\", Id: \"260\" },\r\n DatanormImport: { Name: \"DATANORM Import\", Id: \"261\" }\r\n },\r\n\r\n Exports: {\r\n GroupName: \"Exports\",\r\n GroupId: \"2\",\r\n ProExport: { Name: \"PRO\", Id: \"300\" },\r\n AccessExportDirect: { Name: \"Access® (Beta)\", Id: \"311\" },\r\n ExcelExportDirect: { Name: \"Excel\", Id: \"321\" },\r\n TextExportDirect: { Name: \"Text\", Id: \"331\" },\r\n XmlExportDirect: { Name: \"XML\", Id: \"336\" },\r\n JsonExport: { Name: \"JSON\", Id: \"337\" },\r\n BMEcatExportG3: { Name: \"BMEcat® G3.5\", Id: \"340\" },\r\n BMEcatExportDirect: { Name: \"BMEcat®\", Id: \"342\" },\r\n TradeProExportG35: { Name: \"TradePro G3.5\", Id: \"350\" },\r\n TradeProExport: { Name: \"TradePro Connector\", Id: \"351\" },\r\n TradeProExportDirect: { Name: \"TradePro Connector\", Id: \"352\" },\r\n PDFCatalog: { Name: \"PDF Catalog\", Id: \"360\" },\r\n FlipCatalog: { Name: \"FlipCatalog\", Id: \"370\" },\r\n iPadCatalog: { Name: \"iPadCatalog\", Id: \"380\" },\r\n DatanormExport: { Name: \"DATANORM Export\", Id: \"390\" },\r\n DatanormConverter: { Name: \"DATANORM Converter\", Id: \"391\" }\r\n },\r\n\r\n PrintCatalogs: {\r\n GroupName: \"PrintCatalogs\",\r\n GroupId: \"3\",\r\n FastPage: { Name: \"FastPage\", Id: \"400\" },\r\n PublishManager: { Name: \"Publish Manager\", Id: \"410\" },\r\n PublishCatalogBuilder: { Name: \"Publish Catalog Builder\", Id: \"420\" },\r\n PublishCatalogCreator: { Name: \"Publish Catalog Creator\", Id: \"430\" },\r\n PublishDirect: { Name: \"Publish Direct\", Id: \"440\" },\r\n BmecatPrinter: { Name: \"BMEcat Printer\", Id: \"450\" }\r\n },\r\n\r\n DataQuality: {\r\n GroupName: \"DataQuality\",\r\n GroupId: \"4\",\r\n QualityGates: { Name: \"Quality Gates\", Id: \"540\" },\r\n MediaAssetCleanUp: { Name: \"Media Cleanup\", Id: \"550\" },\r\n ArticleMerge: { Name: \"Article Merge\", Id: \"560\" },\r\n ReportCenter: { Name: \"Report Center\", Id: \"570\" }\r\n },\r\n\r\n OtherModules: {\r\n GroupName: \"OtherModules\",\r\n GroupId: \"5\",\r\n ErpSync: { Name: \"Erp Sync\", Id: \"901\" },\r\n FastPageServer: { Name: \"Fast Page Server\", Id: \"902\" },\r\n MamSync: { Name: \"MAM Sync\", Id: \"903\" },\r\n MediaConverter: { Name: \"Media Converter\", Id: \"904\" },\r\n PriceCalculator: { Name: \"Price Calculcator\", Id: \"905\" },\r\n QualityGatesEvaluator: { Name: \"Quality Gates\", Id: \"906\" },\r\n SmartSnippetReplacer: { Name: \"Smart Snippet Replacer\", Id: \"907\" },\r\n UpdaterDefaultUnits: { Name: \"Default Units Updater\", Id: \"908\" }\r\n },\r\n\r\n Unkonown: {\r\n GroupName: \"Unkonown\",\r\n GroupId: \"\",\r\n Unknown: { Name: \"Unknown\", Id: \"1337\" },\r\n History: { Name: \"History\", Id: \"1338\" },\r\n ErpAttributesAccess: { Name: \"ErpAttributesAccess\", Id: \"1339\" },\r\n MeDaProMdm: { Name: \"MeDaProMdm\", Id: \"1340\" },\r\n PriceCalculation: { Name: \"PriceCalculation\", Id: \"1342\" },\r\n DeepLConnector: { Name: \"DeepLConnector\", Id: \"1343\" },\r\n MeDaProMam: { Name: \"MeDaProMam\", Id: \"1344\" },\r\n WebClient: { Name: \"WebClient\", Id: \"2000\" }\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getMasterData: async function (args) {\r\n const response = await api.get(endpoints.article.masterData.get, { params: args });\r\n return response.data;\r\n },\r\n getAllArticleStates: async function () {\r\n const response = await api.get(endpoints.article.allstates.get);\r\n return response.data;\r\n },\r\n getAlternativeArticleNumbers: async function (args) {\r\n const response = await api.get(endpoints.article.alternativeArticleNumbers.get, { params: args });\r\n return response.data;\r\n },\r\n getAttributeGroups: async function (args) {\r\n const response = await api.get(endpoints.article.attributeGroups.get, { params: args });\r\n return response.data;\r\n },\r\n getGlobalAttributes: async function (args) {\r\n const response = await api.get(endpoints.article.globalAttributes.get, { params: args });\r\n return response.data;\r\n },\r\n getVariantAttributes: async function (args) {\r\n const response = await api.get(endpoints.article.variantAttributes.get, { params: args });\r\n return response.data;\r\n },\r\n getInvariantAttributes: async function (args) {\r\n const response = await api.get(endpoints.article.invariantAttributes.get, { params: args });\r\n return response.data;\r\n },\r\n getMultiArticleVariantAttributes: async function (articleId, language, articlePagesize, articlePageOffset, attributePagesize, attributePageOffset) {\r\n const response = await api.get(endpoints.article.multiArticleVariantAttributes.get, {\r\n params: {\r\n articleId,\r\n language,\r\n articlePagesize,\r\n articlePageOffset,\r\n attributePagesize,\r\n attributePageOffset\r\n }\r\n });\r\n return response.data;\r\n },\r\n getErpSections: async function (args) {\r\n const response = await api.get(endpoints.article.erpSections.get, { params: args });\r\n return response.data;\r\n },\r\n getPrices: async function (args) {\r\n const response = await api.get(endpoints.article.prices.get, { params: args });\r\n return response.data;\r\n },\r\n getPriceAttributes: async function (args) {\r\n const response = await api.get(endpoints.article.priceAttributes.get, { params: args });\r\n return response.data;\r\n },\r\n getMediaAssets: async function (args) {\r\n const response = await api.get(endpoints.article.mediaAssets.get, { params: args });\r\n return response.data;\r\n },\r\n getReferences: async function (args) {\r\n const response = await api.get(endpoints.article.references.get, { params: args });\r\n return response.data;\r\n },\r\n getKeywords: async function (args) {\r\n const response = await api.get(endpoints.article.keywords.get, { params: args });\r\n return response.data;\r\n },\r\n getClassifications: async function (args) {\r\n const response = await api.get(endpoints.article.classifications.get, { params: args });\r\n return response.data;\r\n },\r\n getCatalogs: async function (args) {\r\n const response = await api.get(endpoints.article.catalogs.get, { params: args });\r\n return response.data;\r\n },\r\n updateMasterData: async function (language, id, inheritStatus, model) {\r\n const response = await api.post(endpoints.article.masterData.update, model, {\r\n params: { language, articleid: id, inheritStatus }\r\n });\r\n return response.data;\r\n },\r\n updateAlternateArticleNumbers: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.alternativeArticleNumbers.update, model, {\r\n params: { languageCode: language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updateGlobalAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.globalAttributes.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updateVariantAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.variantAttributes.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updateInvariantAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.invariantAttributes.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updateMultiArticleVariantAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.multiArticleVariantAttributes.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updateClassifications: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.classifications.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updateErpSections: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.erpSections.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updatePriceAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.priceAttributes.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updatePrices: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.prices.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n updateKeywords: async function (languages, id, keywords) {\r\n const response = await api.post(endpoints.article.keywords.update, { languages, keywords }, { params: { articleid: id } });\r\n return response.data;\r\n },\r\n updateMediaAssets: async function (language, id, mediaAssets) {\r\n const response = await api.post(endpoints.article.mediaAssets.update, mediaAssets, {\r\n params: { articleid: id, language }\r\n });\r\n return response.data;\r\n },\r\n updateReferences: async function (language, id, model) {\r\n const response = await api.post(endpoints.article.references.update, model, {\r\n params: { language, articleid: id }\r\n });\r\n return response.data;\r\n },\r\n getHirearchy: async function (articleId, catalogId) {\r\n const response = await api.get(endpoints.article.articleHierarchy.get, {\r\n params: { articleId, catalogId: catalogId || null }\r\n });\r\n return response.data;\r\n },\r\n createReferences: async function (articleId, referenceTargetId, referenceTypeId, resultLanguages, isBackReference) {\r\n const response = await api.post(\r\n endpoints.article.references.create,\r\n {},\r\n {\r\n params: {\r\n articleId,\r\n referenceTargetId,\r\n referenceTypeId,\r\n resultLanguages,\r\n isBackReference\r\n }\r\n }\r\n );\r\n return response.data;\r\n },\r\n deleteReferences: async function (articleId, articleReferenceIds) {\r\n const response = await api.post(endpoints.article.references.delete, articleReferenceIds, {\r\n params: { articleId }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getMasterData: async function (variationGroupId, languageCode, pagesize, pageOffset) {\r\n const response = await api.get(endpoints.articleTranslations.masterData.get, {\r\n params: { variationGroupId, languageCode, pagesize, pageOffset }\r\n });\r\n return response.data;\r\n },\r\n getGlobalAttributes: async function (variationGroupId, languageCode, pagesize, pageOffset) {\r\n const response = await api.get(endpoints.articleTranslations.globalAttributeValues.get, {\r\n params: { variationGroupId, languageCode, pagesize, pageOffset }\r\n });\r\n return response.data;\r\n },\r\n getVariantAttributes: async function (variationGroupId, languageCode, pagesize, pageOffset) {\r\n const response = await api.get(endpoints.articleTranslations.variantAttributeValues.get, {\r\n params: { variationGroupId, languageCode, pagesize, pageOffset }\r\n });\r\n return response.data;\r\n },\r\n getInvariantAttributes: async function (variationGroupId, languageCode, pagesize, pageOffset) {\r\n const response = await api.get(endpoints.articleTranslations.invariantAttributeValues.get, {\r\n params: { variationGroupId, languageCode, pagesize, pageOffset }\r\n });\r\n return response.data;\r\n },\r\n getPriceAttributes: async function (variationGroupId, languageCode, pagesize, pageOffset) {\r\n const response = await api.get(endpoints.articleTranslations.priceAttributeValues.get, {\r\n params: { variationGroupId, languageCode, pagesize, pageOffset }\r\n });\r\n return response.data;\r\n },\r\n getMediaAssets: async function (variationGroupId, languageCode, pagesize, pageOffset) {\r\n const response = await api.get(endpoints.articleTranslations.mediaAssets.get, {\r\n params: { variationGroupId, languageCode, pagesize, pageOffset }\r\n });\r\n return response.data;\r\n },\r\n getKeywords: async function (variationGroupId, languageCode, articleId, pagesize, pageOffset) {\r\n const response = await api.get(endpoints.articleTranslations.keywords.get, {\r\n params: {\r\n variationGroupId,\r\n languageCode,\r\n articleId,\r\n pagesize,\r\n pageOffset\r\n }\r\n });\r\n return response.data;\r\n },\r\n getGlobalAttributeSuggestions: async function (sourceLanguage, targetLanguage, value, unit) {\r\n const response = await api.get(endpoints.articleTranslations.suggestions.globalAttributes.get, { params: { sourceLanguage, targetLanguage, value, unit } });\r\n return response.data;\r\n },\r\n getTextAttributeSuggestions: async function (sourceLanguage, targetLanguage, value, unit) {\r\n const response = await api.get(endpoints.articleTranslations.suggestions.variantAttributeValues.get, {\r\n params: { sourceLanguage, targetLanguage, value, unit }\r\n });\r\n return response.data;\r\n },\r\n getTableAttributeSuggestions: async function (sourceLanguage, targetLanguage, value, unit) {\r\n const response = await api.get(endpoints.articleTranslations.suggestions.invariantAttributeValues.get, {\r\n params: { sourceLanguage, targetLanguage, value, unit }\r\n });\r\n return response.data;\r\n },\r\n getPriceAttributeSuggestions: async function (sourceLanguage, targetLanguage, value) {\r\n const response = await api.get(endpoints.articleTranslations.suggestions.priceAttributeValues.get, { params: { sourceLanguage, targetLanguage, value } });\r\n return response.data;\r\n },\r\n getMediaAssetsSuggestions: async function (sourceLanguage, targetLanguage, value) {\r\n const response = await api.get(endpoints.articleTranslations.suggestions.mediaAssets.get, { params: { sourceLanguage, targetLanguage, value } });\r\n return response.data;\r\n },\r\n getKeywordSuggestions: async function (sourceLanguage, targetLanguage, value) {\r\n const response = await api.get(endpoints.articleTranslations.suggestions.keywords.get, { params: { sourceLanguage, targetLanguage, value } });\r\n return response.data;\r\n },\r\n translateAllGlobalAttributes: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n const response = await api.post(\r\n endpoints.articleTranslations.translateAllGlobalAttributes.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n );\r\n return response.data;\r\n },\r\n translateAllVariantAttributes: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n const response = await api.post(\r\n endpoints.articleTranslations.translateAllVariantAttributes.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n );\r\n return response.data;\r\n },\r\n translateAllInvariantAttributes: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n const response = await api.post(\r\n endpoints.articleTranslations.translateAllInvariantAttributes.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n );\r\n return response.data;\r\n },\r\n translateAllPriceAttributes: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n const response = await api.post(\r\n endpoints.articleTranslations.translateAllPriceAttributes.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n );\r\n return response.data;\r\n },\r\n translateAllMediaAssets: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n const response = await api.post(\r\n endpoints.articleTranslations.translateAllMediaAssets.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n );\r\n return response.data;\r\n },\r\n translateAllKeywords: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n const response = await api.post(\r\n endpoints.articleTranslations.translateAllKeywords.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n );\r\n return response.data;\r\n },\r\n saveAllTranslationsFromMemory: async function (variationGroupId, sourceLanguage, targetLanguages, onlyEmpty, connectionId) {\r\n const response = await api.post(endpoints.articleTranslations.saveTranslateAllFromMemory.update, targetLanguages, {\r\n params: {\r\n variationGroupId,\r\n sourceLanguage,\r\n onlyEmptyValues: onlyEmpty,\r\n connectionId\r\n }\r\n });\r\n return response.data;\r\n },\r\n saveAllTranslationsByDeepL: async function (variationGroupId, sourceLanguage, targetLanguages, onlyEmpty, connectionId) {\r\n const response = await api.post(endpoints.articleTranslations.saveTranslateAllByDeepL.update, targetLanguages, {\r\n params: {\r\n variationGroupId,\r\n sourceLanguage,\r\n onlyEmptyValues: onlyEmpty,\r\n connectionId\r\n }\r\n });\r\n return response.data;\r\n },\r\n updateMasterdata: async function (language, id, model) {\r\n const response = await api.post(endpoints.articleTranslations.masterData.update, model, {\r\n params: { language, variationGroupId: id }\r\n });\r\n return response.data;\r\n },\r\n updateGlobalAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.articleTranslations.globalAttributeValues.update, model, {\r\n params: { language, variationGroupId: id }\r\n });\r\n return response.data;\r\n },\r\n updateVariantAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.articleTranslations.variantAttributeValues.update, model, { params: { language, variationGroupId: id } });\r\n return response.data;\r\n },\r\n updateInvariantAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.articleTranslations.invariantAttributeValues.update, model, { params: { language, variationGroupId: id } });\r\n return response.data;\r\n },\r\n updateKeywords: async function (languages, keywords, id) {\r\n const response = await api.post(endpoints.articleTranslations.keywords.update, { languages, keywords }, { params: { variationGroupId: id } });\r\n return response.data;\r\n },\r\n updateMediaAssets: async function (language, id, model) {\r\n const response = await api.post(endpoints.articleTranslations.mediaAssets.update, model, {\r\n params: { language, variationGroupId: id }\r\n });\r\n return response.data;\r\n },\r\n updatePriceAttributes: async function (language, id, model) {\r\n const response = await api.post(endpoints.articleTranslations.priceAttributeValues.update, model, {\r\n params: { language, variationGroupId: id }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n create: async function (parentId, languageCode, name) {\r\n const response = await api.post(endpoints.attributeGroups.create, {}, { params: { parentId, languageCode, name } });\r\n return response.data;\r\n },\r\n rename: async function (attributeGroupId, languageCode, uID, name) {\r\n const response = await api.post(endpoints.attributeGroups.rename, {}, { params: { attributeGroupId, languageCode, uID, name } });\r\n return response.data;\r\n },\r\n delete: async function (attributeGroupId) {\r\n const response = await api.post(endpoints.attributeGroups.delete, {}, { params: { attributeGroupId } });\r\n return response.data;\r\n },\r\n getPath(language, id) {\r\n return api\r\n .get(endpoints.attributePath.get, {\r\n params: { language, attributeGroupId: id }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n search: async function (searchTerm, language) {\r\n const response = await api.get(endpoints.attributeGroupSearch.get, {\r\n params: { searchTerm, language }\r\n });\r\n return response.data;\r\n },\r\n getAttributeGroup(languages, attributeGroupId) {\r\n return api.get(endpoints.attributeGroups.getAttributeGroup, { params: { languages, attributeGroupId } }).then((x) => Promise.resolve(x.data));\r\n },\r\n checkForDuplicates: async function (attributeGroupId, name, languageCode) {\r\n return await api\r\n .get(endpoints.attributeGroups.checkForDuplicates, { params: { attributeGroupId, name, languageCode } })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n sortAttributeGroups: async function (attributeGroupId, sortDirection, languageCode) {\r\n const response = await api.post(endpoints.attributeGroups.sort, {}, { params: { attributeGroupId, sortDirection, languageCode } });\r\n return response.data;\r\n },\r\n moveAttributeGroups: async function (action, attributeGroupIds) {\r\n const response = await api.post(endpoints.attributeGroups.move, attributeGroupIds, { params: { moveActionType: action } });\r\n return response.data;\r\n },\r\n translate: async function (attributeGroupId, sourceLanguage, targetLanguages, translateOnlyEmptyValues, translateSubGroups) {\r\n const response = await api.post(endpoints.attributeGroups.translate, targetLanguages, {\r\n params: { attributeGroupId, sourceLanguage, translateOnlyEmptyValues, translateSubGroups }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get: async function (languages) {\r\n const response = await api.get(endpoints.attributeManager.attributeTypes.get, {\r\n params: { languages }\r\n });\r\n return response.data;\r\n },\r\n update: async function (model) {\r\n const response = await api.post(endpoints.attributeManager.attributeTypes.update, model);\r\n return response.data;\r\n },\r\n delete: async function (items) {\r\n const response = await api.post(endpoints.attributeManager.attributeTypes.delete, items);\r\n return response.data;\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api\r\n .post(endpoints.attributeManager.attributeTypes.deepL, model, { params: { sourceLanguage: sourceLanguage } })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get: async function (languages, attributeGroupId, valueInherits) {\r\n const response = await api.get(endpoints.attributeManager.attributes.get, {\r\n params: { languages, attributeGroupId, valueInherits }\r\n });\r\n return response.data;\r\n },\r\n update: async function (args) {\r\n const response = await api.post(endpoints.attributeManager.attributes.update, args, { params: {} });\r\n return response.data;\r\n },\r\n delete: async function (args) {\r\n const response = await api.post(endpoints.attributeManager.attributes.delete, args, { params: {} });\r\n return response.data;\r\n },\r\n getDefaultValues: async function (languages, attributeId) {\r\n const response = await api.get(endpoints.attributeManager.attributes.values.get, {\r\n params: { languages, attributeId }\r\n });\r\n return response.data;\r\n },\r\n getDefaultUnits: async function (languages, attributeId) {\r\n const response = await api.get(endpoints.attributeManager.attributes.units.get, {\r\n params: { languages, attributeId }\r\n });\r\n return response.data;\r\n },\r\n updateDefaultValues: async function (args) {\r\n const response = await api.post(endpoints.attributeManager.attributes.values.update, args, {\r\n params: {}\r\n });\r\n return response.data;\r\n },\r\n updateDefaultUnits: async function (args) {\r\n const response = await api.post(endpoints.attributeManager.attributes.units.update, args, {\r\n params: {}\r\n });\r\n return response.data;\r\n },\r\n deleteDefaultValues: async function (ids) {\r\n const response = await api.post(endpoints.attributeManager.attributes.values.delete, ids, {\r\n params: {}\r\n });\r\n return response.data;\r\n },\r\n deleteDefaultUnits: async function (ids) {\r\n const response = await api.post(endpoints.attributeManager.attributes.units.delete, ids, {\r\n params: {}\r\n });\r\n return response.data;\r\n },\r\n getDescendantAttributes: async function (languages, attributeGroupId, valueInherits) {\r\n const response = await api.get(endpoints.attributeManager.attributes.getDescendantAttributes, {\r\n params: { languages, attributeGroupId, valueInherits }\r\n });\r\n return response.data;\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api.post(endpoints.attributeManager.attributes.deepL, model, { params: { sourceLanguage: sourceLanguage } }).then((x) => Promise.resolve(x.data));\r\n },\r\n getDetails: async function (language, attributeIds) {\r\n const response = await api.post(endpoints.attributeManager.attributes.details, attributeIds, {\r\n params: { language }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getAdvancedSettings: async function (catalogMappingTargetId) {\r\n const response = await api.get(endpoints.autoMapping.getAdvancedSettings, {\r\n params: { catalogMappingTargetId: catalogMappingTargetId }\r\n });\r\n return response.data;\r\n },\r\n saveAdvancedSettings: async function (advancedAutoMappingSettings) {\r\n return await api.post(endpoints.autoMapping.saveAdvancedSettings, advancedAutoMappingSettings, {}).then((x) => Promise.resolve(x.data));\r\n },\r\n saveAutoMappingProfile: async function (autoMappingProfile) {\r\n return await api.post(endpoints.autoMapping.saveAutoMappingProfile, autoMappingProfile, {}).then((x) => Promise.resolve(x.data));\r\n },\r\n deleteProfile: async function (profileId) {\r\n const response = await api.post(endpoints.autoMapping.deleteProfile, {}, { params: { profileId } });\r\n return response.data;\r\n },\r\n getAutoMappingScriptDetails: async function (targetSystem) {\r\n const response = await api.get(endpoints.autoMapping.getAutoMappingScriptDetails, { params: { targetSystem: targetSystem } });\r\n return response.data;\r\n },\r\n getAutoMappingProfile: async function (profileId) {\r\n const response = await api.get(endpoints.autoMapping.getAutoMappingProfile, { params: { profileId: profileId } });\r\n return response.data;\r\n },\r\n execute: async function (mappingGeneratorSettings, language, connectionId) {\r\n return await api\r\n .post(endpoints.autoMapping.execute, mappingGeneratorSettings, {\r\n params: { language, connectionId }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getMappingScriptNames: async function () {\r\n const response = await api.get(endpoints.autoMapping.getMappingScriptNames, {\r\n params: {}\r\n });\r\n return response.data;\r\n },\r\n getMappingExpression: async function (sourceFields, mappingScriptName) {\r\n return await api\r\n .post(endpoints.autoMapping.getMappingExpression, sourceFields, {\r\n params: { mappingScriptName }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get(languages, type) {\r\n return api\r\n .get(endpoints.attributeManager.catalogAttributes.get, {\r\n params: { languages, catalogType: type }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n update(model) {\r\n return api.post(endpoints.attributeManager.catalogAttributes.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.catalogAttributes.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api\r\n .post(endpoints.attributeManager.catalogAttributes.deepL, model, { params: { sourceLanguage: sourceLanguage } })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get(languages) {\r\n return api\r\n .get(endpoints.attributeManager.catalogGroupAttributes.get, {\r\n params: { languages }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n update(model) {\r\n return api.post(endpoints.attributeManager.catalogGroupAttributes.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.catalogGroupAttributes.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api\r\n .post(endpoints.attributeManager.catalogGroupAttributes.deepL, model, { params: { sourceLanguage: sourceLanguage } })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getMasterData: async function (nodeId, catalogId, languageCode) {\r\n const response = await api.get(endpoints.catalogNodeTranslation.masterData.get, { params: { nodeId, catalogId, languageCode } });\r\n return response.data;\r\n },\r\n getAttributes: async function (nodeId, catalogId, languageCode) {\r\n const response = await api.get(endpoints.catalogNodeTranslation.attributes.get, { params: { nodeId, catalogId, languageCode } });\r\n return response.data;\r\n },\r\n getMediaAssets: async function (nodeId, catalogId, languageCode) {\r\n const response = await api.get(endpoints.catalogNodeTranslation.mediaAsset.get, { params: { nodeId, catalogId, languageCode } });\r\n return response.data;\r\n },\r\n getNameSuggestions: async function (sourceLanguage, targetLanguage, value) {\r\n const response = await api.get(endpoints.catalogNodeTranslation.suggestions.catalogGroupName.get, { params: { sourceLanguage, targetLanguage, value } });\r\n return response.data;\r\n },\r\n getDescriptionSuggestions: async function (sourceLanguage, targetLanguage, value) {\r\n const response = await api.get(endpoints.catalogNodeTranslation.suggestions.catalogDescription.get, { params: { sourceLanguage, targetLanguage, value } });\r\n return response.data;\r\n },\r\n getAttributeSuggestions: async function (sourceLanguage, targetLanguage, value) {\r\n const response = await api.get(endpoints.catalogNodeTranslation.suggestions.catalogAttributes.get, { params: { sourceLanguage, targetLanguage, value } });\r\n return response.data;\r\n },\r\n getMediAssetSuggestions: async function (sourceLanguage, targetLanguage, value) {\r\n const response = await api.get(endpoints.catalogNodeTranslation.suggestions.catalogMediaAssets.get, { params: { sourceLanguage, targetLanguage, value } });\r\n return response.data;\r\n },\r\n translateAllMasterdata: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n return api\r\n .post(\r\n endpoints.catalogNodeTranslation.translateAllMasterdata.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n )\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n translateAllAttributes: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n return api\r\n .post(\r\n endpoints.catalogNodeTranslation.translateAllAttributes.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n )\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n translateAllMediaAssets: async function (sourceLanguage, targetLanguage, source, target, onlyEmpty) {\r\n return api\r\n .post(\r\n endpoints.catalogNodeTranslation.translateAllMediaAssets.get,\r\n {\r\n source,\r\n target,\r\n sourceLanguage,\r\n targetLanguage\r\n },\r\n { params: { onlyEmptyValues: onlyEmpty } }\r\n )\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateMasterdata: async function (language, model) {\r\n return api\r\n .post(endpoints.catalogNodeTranslation.masterData.update, model, {\r\n params: { language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateAttributeData: async function (language, model) {\r\n return api\r\n .post(endpoints.catalogNodeTranslation.attributes.update, model, {\r\n params: { language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateMediaAssets: async function (language, model) {\r\n return api\r\n .post(endpoints.catalogNodeTranslation.mediaAsset.update, model, {\r\n params: { language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get: async function (catalogId, catalogMappingProjectId, language) {\r\n return api\r\n .get(endpoints.mapping.catalogMappings.get, {\r\n params: { catalogId, catalogMappingProjectId, language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n create: async function (catalogMappingProjectId, attributeGroupId, languageCode, isReferential, isPublish) {\r\n return api\r\n .post(\r\n endpoints.mapping.catalogMappings.create,\r\n {},\r\n {\r\n params: {\r\n catalogMappingProjectId,\r\n attributeGroupId: attributeGroupId || null,\r\n languageCode,\r\n isReferential,\r\n isPublish\r\n }\r\n }\r\n )\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get: async function (catalogMappingProjectId, catalogMappingId, isReferential) {\r\n return api\r\n .get(endpoints.mapping.catalogFields.get, {\r\n params: { catalogMappingProjectId, catalogMappingId, isReferential }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n rename: async function (name, projectId, targetNodeIds) {\r\n const result = await api.post(endpoints.mapping.catalogFields.rename, targetNodeIds, { params: { name, catalogMappingProjectId: projectId } });\r\n return result.data;\r\n },\r\n reset: async function (projectId, targetNodeIds) {\r\n const result = await api.post(endpoints.mapping.catalogFields.reset, targetNodeIds, { params: { catalogMappingProjectId: projectId } });\r\n return result.data;\r\n },\r\n create: async function (catalogMappingProjectId, mappings) {\r\n const formattedMappings = mappings.map((x) => {\r\n return {\r\n catalogMappingId: x.catalogMappingId,\r\n catalogMappingTargetNodeId: x.targetFieldId,\r\n targetNodeName: x.targetNodeName,\r\n sourceExpression: x.sourceExpression\r\n };\r\n });\r\n const result = await api.post(endpoints.mapping.catalogFields.create, formattedMappings, {\r\n params: { catalogMappingProjectId }\r\n });\r\n return result.data;\r\n },\r\n update: async function (mappings) {\r\n const formattedUpdateList = mappings.map((x) => {\r\n return { catalogFieldMappingId: x.catalogFieldMappingId, sourceExpression: x.sourceExpression };\r\n });\r\n const result = await api.post(endpoints.mapping.catalogFields.update, formattedUpdateList);\r\n return result.data;\r\n },\r\n moveUp: async function (projectId, targetSystem, nodeIds) {\r\n const result = await api.post(endpoints.mapping.catalogFields.move, nodeIds, {\r\n params: {\r\n catalogMappingProjectId: projectId,\r\n targetSystem,\r\n isMoveDown: false\r\n }\r\n });\r\n return result.data;\r\n },\r\n moveDown: async function (projectId, targetSystem, nodeIds) {\r\n const result = await api.post(endpoints.mapping.catalogFields.move, nodeIds, {\r\n params: {\r\n catalogMappingProjectId: projectId,\r\n targetSystem,\r\n isMoveDown: true\r\n }\r\n });\r\n return result.data;\r\n },\r\n getSourceTreeFields: async function (catalogId, mode, language, mappingNodeName, attributeGroupId) {\r\n const response = await api.get(endpoints.mapping.sourceTree.fields.get, {\r\n params: { catalogId, mode, language, mappingNodeName, attributeGroupId }\r\n });\r\n return response.data;\r\n },\r\n delete: async function (targetNodeIds) {\r\n const result = await api.post(endpoints.mapping.catalogFields.delete, targetNodeIds);\r\n return result.data;\r\n },\r\n deleteAll: async function (catalogMappingProjectId, attributeGroupId) {\r\n return api\r\n .post(endpoints.mapping.catalogFields.deleteAll, {}, { params: { catalogMappingProjectId, attributeGroupId } })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getMasterData: async function (nodeId, catalogId, languageCode) {\r\n const response = await api.get(endpoints.catalogNodes.masterData.get, {\r\n params: { nodeId, catalogId, languageCode }\r\n });\r\n return response.data;\r\n },\r\n getCatalogNodePathInBaseCatalog: async function (nodeId, languageCode) {\r\n const response = await api.get(endpoints.catalogNodes.path.getFromBaseCatalog, { params: { nodeId, language: languageCode } });\r\n return response.data;\r\n },\r\n getCatalogNodePath: async function (catalogId, nodeId, languageCode) {\r\n const response = await api.get(endpoints.catalogNodes.path.get, {\r\n params: { catalogId, nodeId, language: languageCode }\r\n });\r\n return response.data;\r\n },\r\n getMediaAssets: async function (args) {\r\n const response = await api.get(endpoints.catalogNodes.mediaAssets.get, {\r\n params: args\r\n });\r\n return response.data;\r\n },\r\n getAttributes: async function (nodeId, catalogId, languageCode) {\r\n const response = await api.get(endpoints.catalogNodes.attributes.get, {\r\n params: { nodeId, catalogId, languageCode }\r\n });\r\n return response.data;\r\n },\r\n updateMasterData(language, model) {\r\n return api\r\n .post(endpoints.catalogNodes.masterData.update, model, {\r\n params: { language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateAttributeData(language, model) {\r\n return api\r\n .post(endpoints.catalogNodes.attributes.update, model, {\r\n params: { language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateMediaAssets(id, languageCode, mediaAssets) {\r\n return api\r\n .post(endpoints.catalogNodes.mediaAssets.update, mediaAssets, {\r\n params: { nodeId: id, languageCode }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getStatus: async function (language, nodeIds) {\r\n const response = await api.post(endpoints.catalogNodes.status.get, nodeIds, {\r\n params: { language }\r\n });\r\n return response.data;\r\n },\r\n deleteEmptyCatalogGroups: async function (catalogId) {\r\n const response = await api.post(endpoints.catalogNodes.deleteEmpty, {}, { params: { catalogId } });\r\n return response.data;\r\n },\r\n getChildrenCount: async function (nodeId, type) {\r\n let nodeType;\r\n if (type == \"CatalogGroup\") nodeType = 1;\r\n if (type == \"VariationGroup\") nodeType = 2;\r\n const response = await api.get(endpoints.catalogs.nodes.childCount, {\r\n params: { nodeId, nodeType }\r\n });\r\n const data = response.data;\r\n if (nodeType == 1) return data.catalogNodesCount;\r\n if (nodeType == 2) return data.catalogArticlesCount;\r\n return 0;\r\n },\r\n getNewChildOptions: async function (nodeId) {\r\n const response = await api.get(endpoints.catalogNodes.newChildOptions, {\r\n params: { nodeId }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getBaseCatalog: async function (args) {\r\n const response = await api.get(endpoints.catalogs.baseCatalog.get, {\r\n params: args\r\n });\r\n return response.data;\r\n },\r\n getCatalogs: async function (args) {\r\n const response = await api.get(endpoints.catalogs.catalog.get, {\r\n params: args\r\n });\r\n return response.data;\r\n },\r\n getCatalogSettings: async function (args) {\r\n const response = await api.get(endpoints.catalogs.catalog.settings, {\r\n params: args\r\n });\r\n return response.data;\r\n },\r\n updateCatalogSettings: async function (settings) {\r\n const response = await api.post(endpoints.catalogs.catalog.updateSettings, settings);\r\n return response.data;\r\n },\r\n getRootNodes: async function (args) {\r\n const response = await api.get(endpoints.catalogs.rootNodes.get, {\r\n params: args\r\n });\r\n return response.data;\r\n },\r\n getNodes: async function (args) {\r\n const response = await api.get(endpoints.catalogs.nodes.get, {\r\n params: args\r\n });\r\n return response.data;\r\n },\r\n moveNodes: async function (catalogId, action, nodes) {\r\n const response = await api.post(endpoints.catalogs.nodes.move, nodes, {\r\n params: { catalogId, moveActionType: action }\r\n });\r\n return response.data;\r\n },\r\n createNode: async function (args) {\r\n const response = await api.post(endpoints.catalogs.nodes.create, {}, { params: args });\r\n return response.data;\r\n },\r\n moveNodeToPosition: async function (nodeId, targetNodeId, targetPosition, catalogId, languageCode) {\r\n const response = await api.post(\r\n endpoints.catalogs.nodes.moveTo,\r\n {},\r\n {\r\n params: {\r\n sourceNodeId: nodeId,\r\n targetNodeId: targetNodeId,\r\n targetPosition,\r\n catalogId,\r\n languageCode\r\n }\r\n }\r\n );\r\n return response.data;\r\n },\r\n deleteNodes: async function (catalogId, nodes) {\r\n const response = await api.post(endpoints.catalogs.nodes.delete, nodes, {\r\n params: { catalogId }\r\n });\r\n return response.data;\r\n },\r\n sortNodes: async function (nodeId, nodeType, sortDirection, catalogId, languageCode) {\r\n const response = await api.post(endpoints.catalogs.nodes.sort, {}, { params: { nodeId, nodeType, sortDirection, catalogId, languageCode } });\r\n return response.data;\r\n },\r\n rename: async function (uId, nodeId, nodeType, catalogId, name, languageCode) {\r\n const response = await api.post(endpoints.catalogs.nodes.rename, {}, { params: { uId, nodeId, nodeType, catalogId, name, languageCode } });\r\n return response.data;\r\n },\r\n paste: async function (nodeIds, targetNodeId, isCopy, targetPosition, catalogId, languageCode) {\r\n const response = await api.post(endpoints.catalogs.nodes.paste, nodeIds, {\r\n params: { targetNodeId, isCopy, targetPosition, catalogId, languageCode }\r\n });\r\n return response.data;\r\n },\r\n getChildrenCount: async function (id) {\r\n const response = await api.get(endpoints.catalogs.baseCatalog.childCount, {\r\n params: { catalogId: id }\r\n });\r\n return response.data;\r\n },\r\n deleteCatalog: async function (catalogId) {\r\n const response = await api.post(endpoints.catalogs.catalog.delete, {}, { params: { catalogId } });\r\n return response.data;\r\n },\r\n deleteCatalogs: async function (catalogIds) {\r\n const response = await api.post(endpoints.catalogs.catalog.deleteMultiple, catalogIds, { params: {} });\r\n return response.data;\r\n },\r\n renameCatalog: async function (catalogId, name, language, category) {\r\n const response = await api.post(endpoints.catalogs.catalog.rename, {}, { params: { catalogId, name, languageCode: language, category } });\r\n return response.data;\r\n },\r\n create: async function (name, catalogType, category, isLinkable, languageCode, catalogMappingTargetId, catalogUid) {\r\n const response = await api.post(\r\n endpoints.catalogs.catalog.create,\r\n {},\r\n {\r\n params: {\r\n name,\r\n catalogType,\r\n category,\r\n isLinkable,\r\n languageCode,\r\n catalogMappingTargetId,\r\n catalogUid\r\n }\r\n }\r\n );\r\n return response.data;\r\n },\r\n getCategoris: async function (languageCode) {\r\n return await api.get(endpoints.catalogs.categoris.get, { params: languageCode }).then((x) => Promise.resolve(x.data));\r\n },\r\n getMappingTargets: async function (catalogType) {\r\n const response = await api.get(endpoints.catalogs.mappingTargets.get, {\r\n params: catalogType\r\n });\r\n return response.data;\r\n },\r\n getCatalogMappingProjects: async function (catalogId, language) {\r\n return api\r\n .get(endpoints.catalogs.mappingProjects.get, {\r\n params: { catalogId, language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getAllCatalogMappingProjects: async function (language) {\r\n return api.get(endpoints.catalogs.allMappingProjects.get, { params: { language } }).then((x) => Promise.resolve(x.data));\r\n },\r\n getCatalogMappingSourceFieldLocalizations: async function (catalogId, languageCode) {\r\n const response = await api.get(endpoints.catalogs.catalogMappingSourceFieldLocalizations.get, { params: { catalogId, language: languageCode } });\r\n return response.data;\r\n },\r\n checkArticleInBaseCatalog: async function (articleId) {\r\n const response = await api.get(endpoints.catalogs.articles.existInBaseCatalog, { params: articleId });\r\n return response.data;\r\n },\r\n getCatalogAttributes: async function (catalogId, catalogType, languageCode) {\r\n const response = await api.get(endpoints.catalogs.catalogAttributes.get, {\r\n params: { catalogId, catalogType, languageCode }\r\n });\r\n return response.data;\r\n },\r\n updateCatalogAttributes(id, language, model) {\r\n return api\r\n .post(endpoints.catalogs.catalogAttributes.update, model, {\r\n params: { language, catalogid: id }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n checkLinkedNodesExists: async function (catalogId) {\r\n const response = await api.get(endpoints.catalogs.catalog.checkLinkedNodesExists, { params: { catalogId } });\r\n return response.data;\r\n },\r\n pasteToAnotherCatalog: async function (nodeIds, targetNodeId, sourceCatalogId, targetCatalogId, isPasteAsLink, targetPosition, languageCode) {\r\n const response = await api.post(endpoints.catalogs.nodes.pasteToAnothercatalog, nodeIds, {\r\n params: {\r\n targetNodeId,\r\n sourceCatalogId,\r\n targetCatalogId,\r\n isPasteAsLink,\r\n targetPosition,\r\n languageCode\r\n }\r\n });\r\n return response.data;\r\n },\r\n createCatalogMappingProject: async function (name, catalogId, catalogMappingTargetId) {\r\n const response = await api.post(endpoints.catalogs.mappingProjects.create, {}, { params: { name, catalogId, catalogMappingTargetId } });\r\n return response.data;\r\n },\r\n copyCatalog: async function (catalogId, language, copyAsStandard = false) {\r\n const response = await api.post(endpoints.catalogs.catalog.copy, {}, { params: { catalogId, language, copyAsStandard } });\r\n return response.data;\r\n },\r\n getMappingTargetNodes: async function (catalogMappingTargetId, mappingProjectId) {\r\n const response = await api.get(endpoints.catalogs.targetMappingNodes.get, {\r\n params: { catalogMappingTargetId, mappingProjectId }\r\n });\r\n return response.data;\r\n },\r\n createSnapShot: async function (catalogId, language, remarks) {\r\n const response = await api.post(endpoints.catalogs.snapshot.create, {}, { params: { catalogId, language, remarks } });\r\n return response.data;\r\n },\r\n getSnapshotHistory: async function (catalogId, language) {\r\n const response = await api.get(endpoints.catalogs.snapshot.get, {\r\n params: { catalogId, language }\r\n });\r\n return response.data;\r\n },\r\n getSnapshotHistoryMultiple: async function (catalogIds, language) {\r\n const response = await api.post(endpoints.catalogs.snapshot.multiple, catalogIds, { params: { language } });\r\n return response.data;\r\n },\r\n restoreSnapShot: async function (snapshotCatalogId, language) {\r\n const response = await api.post(endpoints.catalogs.snapshot.restore, {}, { params: { snapshotCatalogId, language } });\r\n return response.data;\r\n },\r\n copySnapShot: async function (snapshotCatalogId, language) {\r\n const response = await api.post(\r\n endpoints.catalogs.snapshot.copy,\r\n {},\r\n {\r\n params: {\r\n catalogSnapshotId: snapshotCatalogId,\r\n languageCode: language\r\n }\r\n }\r\n );\r\n return response.data;\r\n },\r\n deleteSnapShots: async function (listOfSnapshotIds) {\r\n const response = await api.post(endpoints.catalogs.snapshot.delete, listOfSnapshotIds, { params: {} });\r\n return response.data;\r\n },\r\n deleteMappingProject: async function (catalogMappingProjectId) {\r\n const response = await api.post(endpoints.catalogs.mappingProjects.delete, {}, { params: { catalogMappingProjectId } });\r\n return response.data;\r\n },\r\n renameMappingProject: async function (name, catalogId, catalogMappingProjectId) {\r\n const response = await api.post(endpoints.catalogs.mappingProjects.rename, {}, { params: { name, catalogId, catalogMappingProjectId } });\r\n return response.data;\r\n },\r\n copyMappingProject: async function (catalogId, catalogMappingProjectId, languageCode) {\r\n const response = await api.post(endpoints.catalogs.mappingProjects.copy, {}, { params: { catalogId, catalogMappingProjectId, languageCode } });\r\n return response.data;\r\n },\r\n\r\n /**\r\n * @param {object} data\r\n */\r\n async generateCatalogFromFile(language, data) {\r\n const response = await api.post(endpoints.catalogs.catalog.generateFromFile, data, { params: { language } });\r\n return response.data;\r\n },\r\n\r\n /**\r\n * @param {string} catalogName\r\n * @param {object} data\r\n */\r\n async downloadNonExistingArticles(catalogName, data) {\r\n const response = await api.post(endpoints.catalogs.catalog.downloadNonExistingArticles, data, { params: { catalogName } });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n uploadEcfFile(path, overwrite, formdata) {\r\n return api\r\n .post(endpoints.files.upload, formdata, {\r\n params: { path, overwrite },\r\n headers: { \"Content-Type\": \"multipart/form-data\" }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import endpoints from \"./endpoints\";\r\nimport api from \"./api\";\r\n\r\nexport default {\r\n getLanguages() {\r\n return api.get(endpoints.languages.get).then((x) => Promise.resolve(x.data));\r\n },\r\n getAllUsers: async function () {\r\n const result = await api.get(endpoints.user.list.get).then((x) => Promise.resolve(x.data));\r\n return result;\r\n },\r\n getLanguageRegions(language, localeLanguage) {\r\n return api\r\n .get(endpoints.languageRegions.get, {\r\n params: { language, localeLanguage }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getEncodings(useBOMSpecificEncodings) {\r\n return api\r\n .get(endpoints.encodings.get, {\r\n params: { useBOMSpecificEncodings }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getLanguagesWithLocalizedName(languageCode) {\r\n return api.get(endpoints.localizedLanguages.get, { params: { languageCode } }).then((x) => Promise.resolve(x.data));\r\n },\r\n getLocalizedBooleanValues(languages) {\r\n return api.get(endpoints.attributeManager.localizedBooleanValues.get, { params: { languages } }).then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import endpoints from \"./endpoints\";\r\nimport api from \"./api\";\r\n\r\nexport default {\r\n getErpProfiles() {\r\n return api.get(endpoints.erp.profiles).then((x) => Promise.resolve(x.data));\r\n },\r\n getErpParameters() {\r\n return api.get(endpoints.erp.parameters).then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import endpoints from \"./endpoints\";\r\nimport api from \"./api\";\r\n\r\nexport default {\r\n get(languages, erpSectionId) {\r\n return api.get(endpoints.attributeManager.erpAttributes.get, { params: { languages, erpSectionId } }).then((x) => Promise.resolve(x.data));\r\n },\r\n update(model) {\r\n return api.post(endpoints.attributeManager.erpAttributes.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.erpAttributes.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api.post(endpoints.attributeManager.erpAttributes.deepL, model, { params: { sourceLanguage: sourceLanguage } }).then((x) => Promise.resolve(x.data));\r\n },\r\n getDetails: async function (language, attributeIds) {\r\n const response = await api.post(endpoints.attributeManager.erpAttributes.details, attributeIds, {\r\n params: { language }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import endpoints from \"./endpoints\";\r\nimport api from \"./api\";\r\n\r\nexport default {\r\n get(languages) {\r\n return api.get(endpoints.attributeManager.erpSections.get, { params: { languages } }).then((x) => Promise.resolve(x.data));\r\n },\r\n update(model) {\r\n return api.post(endpoints.attributeManager.erpSections.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.erpSections.delete, items).then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get(languages) {\r\n return api\r\n .get(endpoints.attributeManager.globalAttributes.get, {\r\n params: { languages }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n update(model) {\r\n return api.post(endpoints.attributeManager.globalAttributes.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.globalAttributes.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api\r\n .post(endpoints.attributeManager.globalAttributes.deepL, model, { params: { sourceLanguage: sourceLanguage } })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getDetails: async function (language, attributeIds) {\r\n const response = await api.post(endpoints.attributeManager.globalAttributes.details, attributeIds, {\r\n params: { language }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n /**\r\n * @param {Array} languageCodes\r\n */\r\n async get(languageCodes) {\r\n return (\r\n await api.get(endpoints.keywordTypes.get, {\r\n params: { languages: languageCodes }\r\n })\r\n ).data;\r\n },\r\n\r\n /**\r\n * @param {Array} keywordTypes\r\n */\r\n async update(data) {\r\n return (await api.post(endpoints.keywordTypes.update, data)).data;\r\n },\r\n\r\n /**\r\n * @param {Array} keywordTypeIds\r\n */\r\n async delete(data) {\r\n return (await api.post(endpoints.keywordTypes.delete, data)).data;\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api.post(endpoints.keywordTypes.deepL, model, { params: { sourceLanguage: sourceLanguage } }).then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get(languages) {\r\n return api\r\n .get(endpoints.attributeManager.mediaAssetTypes.get, {\r\n params: { languages }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n update(model) {\r\n return api.post(endpoints.attributeManager.mediaAssetTypes.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.mediaAssetTypes.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n validateInitialRelativePath(path, mediaAssetTypeId) {\r\n return api\r\n .get(endpoints.attributeManager.mediaAssetTypes.validateInitialRelativePath, { params: { path, mediaAssetTypeId } })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api\r\n .post(endpoints.attributeManager.mediaAssetTypes.deepL, model, { params: { sourceLanguage: sourceLanguage } })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getMediaAssetSubfolders(path) {\r\n return api.get(endpoints.mediaAssets.subFolders, { params: { path } }).then((x) => Promise.resolve(x.data));\r\n },\r\n getMediaAssetFilesFromFolder(path) {\r\n return api.get(endpoints.mediaAssets.files, { params: { path } }).then((x) => Promise.resolve(x.data));\r\n },\r\n validateFilePath: async function (path) {\r\n const response = await api.get(endpoints.mediaAssets.validateFilePath, {\r\n params: { path }\r\n });\r\n return response.data;\r\n },\r\n executeSearch: async function (searchId, relativePath, searchTerm) {\r\n const response = await api.post(\r\n endpoints.mediaAssets.executeSearch,\r\n {},\r\n {\r\n params: { searchId, relativePath, searchTerm }\r\n }\r\n );\r\n return response.data;\r\n },\r\n cancelSearch: async function (searchId) {\r\n const response = await api.post(\r\n endpoints.mediaAssets.cancelSearch,\r\n {},\r\n {\r\n params: { searchId }\r\n }\r\n );\r\n return response;\r\n },\r\n deleteMediaAsset: async function (formdata) {\r\n return api.post(endpoints.mediaAssets.deleteMediaAsset, formdata, {});\r\n },\r\n deleteMediaAssetFolder: async function (formdata) {\r\n return api.post(endpoints.mediaAssets.deleteMediaAssetFolder, formdata, {});\r\n },\r\n renameMediaAsset: async function (path, name) {\r\n return api.post(endpoints.mediaAssets.renameMediaAsset, {}, { params: { path, name } });\r\n },\r\n renameMediaAssetFolder: async function (path, name) {\r\n return api.post(endpoints.mediaAssets.renameMediaAssetFolder, {}, { params: { path, name } });\r\n },\r\n uploadMediaAsset(path, overwrite, formdata) {\r\n return api\r\n .post(endpoints.mediaAssets.uploadMediaAsset, formdata, {\r\n params: { path, overwrite },\r\n headers: { \"Content-Type\": \"multipart/form-data\" }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n startMediaConversion(articleId, mediaAssetIds, languageCode, connectionId) {\r\n api.post(endpoints.mediaAssets.startMediaConversion, mediaAssetIds, {\r\n params: { articleId, languageCode, connectionId }\r\n });\r\n },\r\n startAllMediaConversion: function (articleId, languageCode, connectionId) {\r\n api.post(\r\n endpoints.mediaAssets.startAllMediaConversion,\r\n {},\r\n {\r\n params: { articleId, languageCode, connectionId }\r\n }\r\n );\r\n },\r\n copySourceFileIntoTargetPath: async function (sourceFilePath, targetPath) {\r\n const response = await api.get(endpoints.mediaAssets.copySourceFileIntoTargetPath, { params: { sourceFilePath, targetPath, overwrite: false } });\r\n return response.data;\r\n },\r\n get(languages, targetType) {\r\n return api\r\n .get(endpoints.attributeManager.mediaAssets.get, {\r\n params: { languages, targetType }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n update(model, targetType) {\r\n return api\r\n .post(endpoints.attributeManager.mediaAssets.update, model, {\r\n params: { targetType }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.mediaAssets.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n getPreviewMediaAsset(targetType) {\r\n return api\r\n .get(endpoints.attributeManager.mediaAssets.getPreviewMediaAsset, {\r\n params: { targetType }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n setPreviewMediaAsset(mediaAssetId, targetType) {\r\n return api\r\n .post(endpoints.attributeManager.mediaAssets.setPreviewMediaAsset, {}, { params: { mediaAssetId, targetType } })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getConversionProfiles() {\r\n return api.get(endpoints.attributeManager.mediaAssets.getConversionProfiles).then((x) => Promise.resolve(x.data));\r\n },\r\n getMamDetails() {\r\n return api.get(endpoints.attributeManager.mediaAssets.getMamDetails).then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api.post(endpoints.attributeManager.mediaAssets.deepL, model, { params: { sourceLanguage: sourceLanguage } }).then((x) => Promise.resolve(x.data));\r\n },\r\n getDetails: async function (language, attributeIds) {\r\n const response = await api.post(endpoints.attributeManager.mediaAssets.details, attributeIds, {\r\n params: { language }\r\n });\r\n return response.data;\r\n },\r\n createMediaAssetFolder: async function (path, name) {\r\n const response = await api.post(\r\n endpoints.mediaAssets.folder.create,\r\n {},\r\n {\r\n params: { path, name }\r\n }\r\n );\r\n return response.data;\r\n }\r\n};\r\n","import store from \"../../store\";\r\n\r\nexport default {\r\n canWrite(context) {\r\n const lcode = context.language;\r\n const language = store.state.metadata.contentLanguages.available.find((x) => x.languageCode == lcode);\r\n if (language && language.accessRights.write) return true;\r\n\r\n return false;\r\n },\r\n canRead(context) {\r\n const lcode = context.language;\r\n const language = store.state.metadata.contentLanguages.available.find((x) => x.languageCode == lcode && x.accessRights.read);\r\n return !!language;\r\n },\r\n canDelete(context) {\r\n const lcode = context.language;\r\n const language = store.state.metadata.contentLanguages.available.find((x) => x.languageCode == lcode);\r\n if (language && language.accessRights.delete) return true;\r\n return false;\r\n }\r\n};\r\n","export default {\r\n canWrite(context) {\r\n const rights = context.accessRights;\r\n const canWrite = rights && context.field && rights[context.field] && rights[context.field].write;\r\n return canWrite;\r\n },\r\n canRead(context) {\r\n const rights = context.accessRights;\r\n const canRead = rights && context.field && rights[context.field] && rights[context.field].read;\r\n return canRead;\r\n },\r\n canDelete(context) {\r\n const rights = context.accessRights;\r\n const canDelete = rights && context.field && rights[context.field].delete;\r\n return canDelete;\r\n }\r\n};\r\n","export default {\r\n canWrite(context) {\r\n const canWrite = context.accessRights && context.accessRights.write;\r\n return canWrite;\r\n },\r\n canRead(context) {\r\n const canRead = context.accessRights && context.accessRights.read;\r\n return canRead;\r\n },\r\n canDelete(context) {\r\n const canRead = context.accessRights && context.accessRights.delete;\r\n return canRead;\r\n }\r\n};\r\n","export default {\r\n canWrite(context) {\r\n const canWrite = context.data && context.data.accessRights && context.data.accessRights.write;\r\n return canWrite;\r\n },\r\n canRead(context) {\r\n const canRead = context.data && context.data.accessRights && context.data.accessRights.read;\r\n return canRead;\r\n }\r\n};\r\n","export default {\r\n canWrite(context) {\r\n const canWrite = context.data && context.data.accessRights && context.data.accessRights.write;\r\n return canWrite;\r\n },\r\n canRead(context) {\r\n const canRead = context.data && context.data.accessRights && context.data.accessRights.read;\r\n return canRead;\r\n }\r\n};\r\n","import store from \"../../store\";\r\n\r\nexport default {\r\n canWrite(context) {\r\n const editor = context.editor;\r\n let root = null;\r\n if (editor == \"Article\") {\r\n root = store.state.contentEditor.article.masterdata[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"CatalogNode\") {\r\n root = store.state.contentEditor.catalogNode.masterData[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"VariationGroup\") {\r\n root = store.state.contentEditor.variationGroup.masterData[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"CatalogTree\") {\r\n root = context;\r\n }\r\n if (!editor) {\r\n console.warn(\"INVALID Editor:\", context.editor, context);\r\n }\r\n\r\n return root && root.accessRights && root.accessRights.write;\r\n },\r\n canRead(context) {\r\n const editor = context.editor;\r\n let root = null;\r\n if (editor == \"Article\") {\r\n root = store.state.contentEditor.article.masterdata[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"CatalogNode\") {\r\n root = store.state.contentEditor.catalogNode.masterData[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"VariationGroup\") {\r\n root = store.state.contentEditor.variationGroup.masterData[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"CatalogTree\") {\r\n root = context;\r\n }\r\n if (!editor) {\r\n console.warn(\"INVALID Editor:\", context.editor, context);\r\n }\r\n if (!root) {\r\n console.warn(\"Root Permission Missing:\", store.state.contentEditor);\r\n }\r\n return root && root.accessRights && root.accessRights.read;\r\n },\r\n canDelete(context) {\r\n const editor = context.editor;\r\n let root = null;\r\n if (editor == \"Article\") {\r\n root = store.state.article.masterdata[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"CatalogNode\") {\r\n root = store.state.catalogNode.masterData[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"VariationGroup\") {\r\n root = store.state.variationGroup.masterData[context.language]?.rootCatalogNode;\r\n }\r\n if (editor == \"CatalogTree\") {\r\n root = context;\r\n }\r\n if (!editor) {\r\n console.warn(\"INVALID Editor:\", context.editor, context);\r\n }\r\n if (!root) {\r\n console.warn(\"Root Permission Missing:\", store.state);\r\n }\r\n return root && root.accessRights && root.accessRights.delete;\r\n }\r\n};\r\n","export default {\r\n canWrite(context) {\r\n const canWrite = context && context.accessRights && context.accessRights.write;\r\n return canWrite;\r\n },\r\n canRead(context) {\r\n const canRead = context && context.accessRights && context.accessRights.read;\r\n return canRead;\r\n },\r\n canDelete(context) {\r\n const canDelete = context && context.accessRights && context.accessRights.delete;\r\n return canDelete;\r\n }\r\n};\r\n","export default {\r\n canWrite(context) {\r\n const canWrite = context.accessRights && context.accessRights.write;\r\n return canWrite;\r\n },\r\n canRead(context) {\r\n const canRead = context.accessRights && context.accessRights.read;\r\n return canRead;\r\n },\r\n canDelete(context) {\r\n const canRead = context.accessRights && context.accessRights.delete;\r\n return canRead;\r\n }\r\n};\r\n","export default {\r\n canWrite(context) {\r\n const field = context.masterDataAccessRights[context.field];\r\n return field && field.write;\r\n },\r\n canRead(context) {\r\n const field = context.masterDataAccessRights[context.field];\r\n return field && field.read;\r\n },\r\n canDelete(context) {\r\n const field = context.masterDataAccessRights[context.field];\r\n return field && field.delete;\r\n }\r\n};\r\n","import languagePermissionProvider from \"./languagePermissionProvider\";\r\nimport MasterdataPermissionProvider from \"./MasterdataPermissionProvider\";\r\nimport ERPPermissionProvider from \"./ERPPermissionProvider\";\r\nimport AttributeTypePermissionProvider from \"./AttributeTypePermissionProvider\";\r\nimport MediaAssetTypePermissionProvider from \"./MediaAssetTypePermissionProvider\";\r\nimport RootCatalogNodePermissionProvider from \"./RootCatalogNodePermissionProvider\";\r\nimport TreePermissionProvider from \"./TreePermissionProvider\";\r\nimport CatalogNodePermissionProvider from \"./CatalogNodePermissionProvider\";\r\nimport CatalogMasterdataPermissionProvider from \"./CatalogMasterdataPermissionProvider\";\r\n\r\nconst providers = {\r\n Language: languagePermissionProvider,\r\n MasterData: MasterdataPermissionProvider,\r\n ErpSection: ERPPermissionProvider,\r\n AttributeType: AttributeTypePermissionProvider,\r\n MediaAssetType: MediaAssetTypePermissionProvider,\r\n RootCatalogNode: RootCatalogNodePermissionProvider,\r\n TreeCatalogNode: TreePermissionProvider,\r\n CatalogNode: CatalogNodePermissionProvider,\r\n CatalogMasterdata: CatalogMasterdataPermissionProvider\r\n};\r\n\r\nexport default {\r\n canRead(context) {\r\n const permits = context.permissions || [\"Language\"];\r\n return permits.every((provider) => providers[provider] && providers[provider].canRead(context));\r\n },\r\n canWrite(context) {\r\n const permits = context.permissions || [\"Language\"];\r\n return permits.every((provider) => providers[provider] && providers[provider].canWrite(context));\r\n },\r\n canDelete(context) {\r\n const permits = context.permissions || [\"Language\"];\r\n return permits.every((provider) => providers[provider] && providers[provider].canDelete(context));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get(languages) {\r\n return api\r\n .get(endpoints.attributeManager.referenceAttributes.get, {\r\n params: { languages }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n update(model) {\r\n return api.post(endpoints.attributeManager.referenceAttributes.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n delete(items) {\r\n return api.post(endpoints.attributeManager.referenceAttributes.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api\r\n .post(endpoints.attributeManager.referenceAttributes.deepL, model, { params: { sourceLanguage: sourceLanguage } })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get(args) {\r\n const response = api.get(endpoints.referenceTypes.get, { params: args }).then((x) => x.data);\r\n return response;\r\n },\r\n getReferenceTypes(languages) {\r\n return api\r\n .get(endpoints.attributeManager.referenceTypes.get, {\r\n params: { languages }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateReferenceTypes(model) {\r\n return api.post(endpoints.attributeManager.referenceTypes.update, model).then((x) => Promise.resolve(x.data));\r\n },\r\n deleteReferenceTypes(items) {\r\n return api.post(endpoints.attributeManager.referenceTypes.delete, items).then((x) => Promise.resolve(x.data));\r\n },\r\n savedeepLTranslated: async function (model, sourceLanguage) {\r\n return api\r\n .post(endpoints.attributeManager.referenceTypes.deepL, model, { params: { sourceLanguage: sourceLanguage } })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n simpleSearch: async function (searchLanguage, resultLanguage, searchTerm, pagesize, page) {\r\n const response = await api.get(endpoints.simpleSearch.get, {\r\n params: { searchLanguage, resultLanguage, searchTerm, pagesize, page }\r\n });\r\n return response.data;\r\n },\r\n searchInCatalog: async function (catalogId, keywords, language) {\r\n const response = await api.get(endpoints.simpleSearch.catalog, {\r\n params: { catalogId, keywords, language }\r\n });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n loadProfile: async function () {\r\n const result = await api.get(endpoints.user.profile.get);\r\n return result.data;\r\n },\r\n changePassword: async function (currentPassword, newPassword) {\r\n const result = await api.post(endpoints.user.profile.changePassword, { currentPassword, newPassword });\r\n return result.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getArticles: async function (args) {\r\n const response = await api.get(endpoints.variationGroups.articles.get, {\r\n params: args\r\n });\r\n return response.data;\r\n },\r\n moveArticleToPosition: async function (articleId, parentId, targetNodeId, targetPosition, catalogId) {\r\n const response = await api.post(\r\n endpoints.variationGroups.articles.moveTo,\r\n {},\r\n {\r\n params: {\r\n articleId,\r\n sourceParentId: parentId,\r\n targetNodeId,\r\n targetPosition,\r\n catalogId\r\n }\r\n }\r\n );\r\n return response.data;\r\n },\r\n deleteEmptyVariationGroups: async function (catalogId) {\r\n const response = await api.post(endpoints.variationGroups.deleteEmpty, {}, { params: { catalogId } });\r\n return response.data;\r\n },\r\n getMediaAssets: async function (variationGroupId, catalogId, languageCode) {\r\n const response = await api.get(endpoints.variationGroups.mediaAssets.get, {\r\n params: { variationGroupId, catalogId, languageCode: languageCode }\r\n });\r\n return response.data;\r\n },\r\n getInvariantAttributes(variationGroupId, language) {\r\n return api\r\n .get(endpoints.article.invariantAttributes.get, {\r\n params: { variationGroupId, language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getMultiArticleVariantAttributes(variationGroupId, language, articlePagesize, articlePageOffset) {\r\n return api\r\n .get(endpoints.variationGroups.attributes.get, {\r\n params: {\r\n variationGroupId,\r\n language,\r\n articlePagesize,\r\n articlePageOffset\r\n }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n getPricesForArticlesUnderVariationGroup(variationGroupId, catalogId) {\r\n return api\r\n .get(endpoints.variationGroups.prices.get, {\r\n params: { variationGroupId, catalogId }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n GetPriceAttributesFromArticleUnderVariationGroup(variationGroupId, catalogId, language) {\r\n return api\r\n .get(endpoints.variationGroups.priceAttributes.get, {\r\n params: { variationGroupId, catalogId, language }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updatePricesForArticlesUnderVariatonGroup(variationGroupId, prices) {\r\n return api\r\n .post(endpoints.variationGroups.prices.update, prices, {\r\n params: { variationGroupId }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n },\r\n updateMediaAssetsUnderVariatonGroup(languageCode, articleMediaAssets) {\r\n return api\r\n .post(endpoints.variationGroups.mediaAssets.update, articleMediaAssets, {\r\n params: { languageCode }\r\n })\r\n .then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import endpoints from \"./endpoints\";\r\nimport api from \"./api\";\r\n\r\nexport default {\r\n getUnits: async function (type, attributeId, languages) {\r\n const response = await api.get(endpoints.attributeManager[type].units.get, {\r\n params: { attributeId, languages }\r\n });\r\n return response.data;\r\n },\r\n getValues: async function (type, attributeId, languages) {\r\n const response = await api.get(endpoints.attributeManager[type].values.get, {\r\n params: { attributeId, languages }\r\n });\r\n return response.data;\r\n },\r\n saveUnits: async function (type, units, defaultUnitOnly, attributeId) {\r\n const response = await api.post(endpoints.attributeManager[type].units.update, {\r\n defaultAttributeUnits: units,\r\n defaultUnitOnly: defaultUnitOnly,\r\n attributeId: attributeId\r\n });\r\n return response.data;\r\n },\r\n saveValues: async function (type, values, defaultValueOnly, isMultiSelect, attributeId) {\r\n const response = await api.post(endpoints.attributeManager[type].values.update, {\r\n defaultAttributeValues: values,\r\n defaultValueOnly: defaultValueOnly,\r\n isMultiSelect: isMultiSelect,\r\n attributeId: attributeId\r\n });\r\n return response.data;\r\n },\r\n deleteValues: async function (type, attributeId, values) {\r\n const response = await api.post(endpoints.attributeManager[type].values.delete, values, { params: { attributeId } });\r\n return response.data;\r\n },\r\n deleteUnits: async function (type, attributeId, units) {\r\n const response = await api.post(endpoints.attributeManager[type].units.delete, units, { params: { attributeId } });\r\n return response.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getAttributeDataTypes: async function () {\r\n const result = await api.get(endpoints.attributeManager.attributeDataTypes.get, {});\r\n return result.data;\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n getPriceAttributes: async function (languageCode) {\r\n const result = await api.get(endpoints.attributeManager.priceAttributes.get, {\r\n params: { languageCode }\r\n });\r\n return result.data;\r\n },\r\n updatePriceAttributes: async function (args) {\r\n const result = await api.post(endpoints.attributeManager.priceAttributes.update, args, { params: {} });\r\n return result.data;\r\n }\r\n};\r\n","import { Guid } from \"@/util/guid\";\r\n\r\nimport attributeDataApi from \"@services/attributeData.js\";\r\nimport attributeDataTypesApi from \"@services/attributeDataTypes.js\";\r\nimport attributeTypesApi from \"@services/attributeTypes.js\";\r\nimport attributesApi from \"@services/attributes.js\";\r\nimport catalogAttributesApi from \"@services/catalogAttributes.js\";\r\nimport catalogGroupAttributesApi from \"@services/catalogGroupAttributes.js\";\r\nimport commonApi from \"@services/common.js\";\r\nimport erpAttributesApi from \"@services/erpAttributes.js\";\r\nimport erpSectionsApi from \"@services/erpSections.js\";\r\nimport globalAttributesApi from \"@services/globalAttributes.js\";\r\nimport keywordTypesApi from \"@services/keywordTypes.js\";\r\nimport mediaAssetTypesApi from \"@services/mediaAssetTypes.js\";\r\nimport mediaAssetsApi from \"@services/mediaAssets.js\";\r\nimport priceAttributesApi from \"@services/priceAttributes.js\";\r\nimport referenceAttributesApi from \"@services/referenceAttributes.js\";\r\nimport referenceTypesApi from \"@services/referenceTypes.js\";\r\n\r\nimport _ from \"lodash\";\r\n\r\nfunction defaultState() {\r\n return {\r\n metadata: {\r\n update: {\r\n jobs: [],\r\n error: \"\",\r\n apiError: false,\r\n success: true,\r\n seen: true\r\n }\r\n },\r\n isSaving: false,\r\n modified: {\r\n attributes: false,\r\n attributeTypes: false,\r\n globalAttributes: false,\r\n mediaTypes: false,\r\n articleMediaAssets: false,\r\n catalogGroupMediaAssets: false,\r\n referenceTypes: false,\r\n referenceAttributes: false,\r\n defaultCatalogAttributes: false,\r\n printCatalogAttributes: false,\r\n catalogGroupAttributes: false,\r\n priceAttributes: false,\r\n erpSections: false,\r\n erpAttributes: false,\r\n keywordTypes: false\r\n },\r\n deleted: {\r\n attributes: [],\r\n priceAttributes: [],\r\n attributeTypes: [],\r\n globalAttributes: [],\r\n mediaTypes: [],\r\n articleMediaAssets: [],\r\n catalogGroupMediaAssets: [],\r\n defaultCatalogAttributes: [],\r\n printCatalogAttributes: [],\r\n catalogGroupAttributes: [],\r\n keywordTypes: [],\r\n referenceTypes: [],\r\n referenceAttributes: [],\r\n erpSections: [],\r\n erpAttributes: []\r\n },\r\n errors: {\r\n attributes: undefined,\r\n attributeTypes: undefined,\r\n globalAttributes: undefined,\r\n mediaTypes: undefined,\r\n articleMediaAssets: undefined,\r\n catalogGroupMediaAssets: undefined,\r\n defaultCatalogAttributes: undefined,\r\n printCatalogAttributes: undefined,\r\n catalogGroupAttributes: undefined,\r\n referenceTypes: false,\r\n referenceAttributes: false,\r\n priceAttributes: undefined,\r\n erpSections: undefined,\r\n erpAttributes: undefined,\r\n keywordTypes: undefined\r\n },\r\n currentlyLoadedAttributeGroups: [],\r\n currentAttributeGroupPath: undefined,\r\n attributes: undefined,\r\n attributeData: {\r\n attributes: {\r\n attributeId: undefined,\r\n values: [],\r\n units: [],\r\n deletedUnits: [],\r\n deletedValues: [],\r\n modified: false,\r\n defaultValueOnly: false,\r\n isMultiSelect: false,\r\n defaultUnitOnly: false,\r\n error: false,\r\n type: \"attributes\"\r\n },\r\n globalAttributes: {\r\n attributeId: undefined,\r\n values: [],\r\n units: [],\r\n deletedUnits: [],\r\n deletedValues: [],\r\n modified: false,\r\n defaultValueOnly: false,\r\n isMultiSelect: false,\r\n defaultUnitOnly: false,\r\n error: false,\r\n type: \"globalAttributes\"\r\n },\r\n erpAttributes: {\r\n attributeId: undefined,\r\n values: [],\r\n units: [],\r\n deletedUnits: [],\r\n deletedValues: [],\r\n modified: false,\r\n defaultValueOnly: false,\r\n isMultiSelect: false,\r\n defaultUnitOnly: false,\r\n error: false,\r\n type: \"erpAttributes\"\r\n }\r\n },\r\n priceAttributes: undefined,\r\n attributeTypes: undefined,\r\n attributeGroups: undefined,\r\n attributeDataTypes: undefined,\r\n globalAttributes: undefined,\r\n mediaTypes: undefined,\r\n keywordTypes: undefined,\r\n conversionProfiles: undefined,\r\n mamDetails: undefined,\r\n articleMediaAssets: undefined,\r\n catalogGroupMediaAssets: undefined,\r\n defaultCatalogAttributes: undefined,\r\n printCatalogAttributes: undefined,\r\n catalogGroupAttributes: undefined,\r\n referenceTypes: undefined,\r\n referenceAttributes: undefined,\r\n erpSections: undefined,\r\n erpAttributes: undefined,\r\n localizedBooleanValues: undefined\r\n };\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state: defaultState(),\r\n getters: {\r\n isSaving(state) {\r\n return state.isSaving;\r\n },\r\n hasUnsavedData(state) {\r\n return (\r\n _.some(state.modified, (x) => x) ||\r\n state.attributeData.attributes.modified ||\r\n state.attributeData.globalAttributes.modified ||\r\n state.attributeData.erpAttributes.modified\r\n );\r\n },\r\n\r\n lastRunSuccess(state) {\r\n return (\r\n state.metadata.update.success &&\r\n !state.metadata.update.apiError &&\r\n !state.attributeData.attributes.error &&\r\n !state.attributeData.globalAttributes.error &&\r\n !state.attributeData.erpAttributes.error\r\n );\r\n },\r\n languagesForEditorServices(state, getters, rootState) {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled;\r\n let languages = enabledLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = Array.from(new Set(languages));\r\n return languages;\r\n },\r\n hasUnSavedDefaultAttributeData(state) {\r\n return state.attributeData.attributes.modified || state.attributeData.globalAttributes.modified || state.attributeData.erpAttributes.modified;\r\n }\r\n },\r\n mutations: {\r\n isSaving(state, savingState) {\r\n state.isSaving = savingState;\r\n },\r\n resetDirtyState(state, sections) {\r\n _.forEach(sections || Object.keys(state.modified), (modState) => {\r\n state.modified[modState] = false;\r\n });\r\n state.modified = { ...state.modified };\r\n },\r\n markModified(state, tabName) {\r\n state.modified[tabName] = true;\r\n },\r\n setNotificationSeen(state, setValue) {\r\n state.metadata.update.seen = setValue;\r\n },\r\n setPriceAttributes(state, args) {\r\n state.priceAttributes = args;\r\n },\r\n setAttributes(state, args) {\r\n state.attributes = args;\r\n },\r\n overwriteAttributes(state, args) {\r\n state.attributes = args;\r\n state.modified.attributes = false;\r\n },\r\n updateAttributeIds(state, { languages, newIds, currentAttributeGroupId }) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.attributes.filter((x) => x[languages[0]].attributeGroupId == currentAttributeGroupId)[index];\r\n if (item) {\r\n languages.forEach((lang) => {\r\n item[lang].attributeId = newIds[index];\r\n });\r\n }\r\n });\r\n },\r\n setAttributeTypes(state, args) {\r\n state.attributeTypes = args;\r\n },\r\n setAttributeGroups(state, args) {\r\n state.attributeGroups = args;\r\n },\r\n setAttributeDataTypes(state, args) {\r\n state.attributeDataTypes = args;\r\n },\r\n setCurrentAttributeGroupPath(state, path) {\r\n state.currentAttributeGroupPath = path;\r\n },\r\n setGlobalAttributes(state, args) {\r\n state.globalAttributes = args;\r\n },\r\n updateGlobalAttributeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.globalAttributes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].globalAttributeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setMediaTypes(state, args) {\r\n state.mediaTypes = args;\r\n },\r\n updateMediaTypeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.mediaTypes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].mediaAssetTypeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setKeywordTypes(state, args) {\r\n state.keywordTypes = args;\r\n },\r\n updateKeywordTypeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.keywordTypes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].keywordTypeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setConversionProfiles(state, args) {\r\n state.conversionProfiles = args;\r\n },\r\n setMamDetails(state, args) {\r\n state.mamDetails = args;\r\n },\r\n setArticleMediaAssets(state, args) {\r\n state.articleMediaAssets = args;\r\n },\r\n updateArticleMediaAssetIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.articleMediaAssets[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].mediaAssetId = newIds[index]));\r\n }\r\n });\r\n },\r\n updateAttributeTypeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.attributeTypes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].attributeTypeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setCatalogGroupMediaAssets(state, args) {\r\n state.catalogGroupMediaAssets = args;\r\n },\r\n updateCatalogGroupMediaAssetIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.catalogGroupMediaAssets[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].mediaAssetId = newIds[index]));\r\n }\r\n });\r\n },\r\n setDefaultCatalogAttributes(state, args) {\r\n state.defaultCatalogAttributes = args;\r\n },\r\n updateDefaultCatalogAttributeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.defaultCatalogAttributes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].catalogAttributeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setPrintCatalogAttributes(state, args) {\r\n state.printCatalogAttributes = args;\r\n },\r\n updatePrintCatalogAttributeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.printCatalogAttributes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].catalogAttributeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setCatalogGroupAttributes(state, args) {\r\n state.catalogGroupAttributes = args;\r\n },\r\n updateCatalogGroupAttributeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.catalogGroupAttributes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].catalogNodeAttributeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setReferenceTypes(state, args) {\r\n state.referenceTypes = args;\r\n },\r\n updateReferenceTypeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.referenceTypes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].id = newIds[index]));\r\n }\r\n });\r\n },\r\n setReferenceAttributes(state, args) {\r\n state.referenceAttributes = args;\r\n },\r\n updateReferenceAttributeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.referenceAttributes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].referenceAttributeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setErpSections(state, args) {\r\n state.erpSections = args;\r\n },\r\n updateErpSectionIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.erpSections[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].erpSectionId = newIds[index]));\r\n }\r\n });\r\n },\r\n setErpAttributes(state, args) {\r\n state.erpAttributes = args;\r\n },\r\n updateErpAttributeIds(state, newIds) {\r\n Object.keys(newIds).forEach((index) => {\r\n const item = state.erpAttributes[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].erpAttributeId = newIds[index]));\r\n }\r\n });\r\n },\r\n setSuccess(state) {\r\n const updateObject = state.metadata.update;\r\n updateObject.error = \"\";\r\n updateObject.apiError = false;\r\n updateObject.success = true;\r\n },\r\n setError(state, errors) {\r\n const updateObject = state.metadata.update;\r\n updateObject.error = errors;\r\n updateObject.apiError = true;\r\n updateObject.success = false;\r\n },\r\n setSectionError(state, args) {\r\n const errors = Object.assign({}, state.errors);\r\n errors[args.section] = args.error;\r\n state.errors = errors;\r\n },\r\n setAttributeDataError: function (state, args) {\r\n state.attributeData[args.type].error = args.hasError;\r\n },\r\n clearDeleteState(state, args) {\r\n const deleteState = Object.assign({}, state.deleted);\r\n deleteState[args.section] = [];\r\n state.deleted = deleteState;\r\n },\r\n resetJobsAndErrors(state) {\r\n state.metadata.update.jobs = [];\r\n _.forEach(Object.keys(state.errors), (modState) => {\r\n state.errors[modState] = undefined;\r\n });\r\n state.metadata.update.success = false;\r\n },\r\n setAttributeData(state, args) {\r\n const data = { ...args, modified: false, error: false };\r\n state.attributeData[args.type] = data;\r\n },\r\n updateAttributeData(state, args) {\r\n state.attributeData[args.type] = args.data;\r\n },\r\n updateAttributeValueIds: function (state, args) {\r\n Object.keys(args.newIds).forEach((index) => {\r\n const item = state.attributeData[args.type].values[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].valueId = args.newIds[index]));\r\n }\r\n });\r\n },\r\n updateAttributeUnitIds: function (state, args) {\r\n Object.keys(args.newIds).forEach((index) => {\r\n const item = state.attributeData[args.type].units[index];\r\n if (item) {\r\n Object.keys(item).forEach((lang) => (item[lang].unitId = args.newIds[index]));\r\n }\r\n });\r\n },\r\n setAttributeDataModified(state, args) {\r\n state.attributeData[args.type].modified = args.modified;\r\n },\r\n resetSections(state) {\r\n Object.assign(state, defaultState());\r\n\r\n state.deleted = Object.fromEntries(Object.keys(state.deleted).map((x) => [x, []])); //reset deleted entries\r\n },\r\n markAsDeleted(state, args) {\r\n if (Array.isArray(args.value)) {\r\n const items = state.deleted[args.section];\r\n items.push(...args.value);\r\n } else {\r\n state.deleted[args.section].push(args.value);\r\n }\r\n },\r\n setCurrentlyLoadedAttributeGroups(state, args) {\r\n state.currentlyLoadedAttributeGroups = args;\r\n },\r\n setLocalizedBooleanValues(state, args) {\r\n state.localizedBooleanValues = args;\r\n }\r\n },\r\n actions: {\r\n resetAll({ commit }) {\r\n commit(\"resetSections\");\r\n commit(\"resetJobsAndErrors\");\r\n commit(\"resetDirtyState\");\r\n commit(\"isSaving\", false);\r\n },\r\n setNotificationSeen({ commit }) {\r\n commit(\"setNotificationSeen\", true);\r\n },\r\n fetchAllData: async function ({ state, commit, dispatch }) {\r\n commit(\"resetJobsAndErrors\");\r\n const jobs = state.metadata.update.jobs;\r\n jobs.push(dispatch(\"fetchPriceAttributes\"));\r\n await Promise.all(jobs);\r\n },\r\n fetchAttributes: async function ({ commit, getters }, { attributeGroupId, valueInherits = true }) {\r\n const languages = getters.languagesForEditorServices;\r\n const attributes = await attributesApi.get(languages, attributeGroupId, valueInherits);\r\n commit(\"overwriteAttributes\", attributes);\r\n },\r\n fetchPriceAttributes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n const priceAttributes = {};\r\n let count;\r\n const tasks = languages.map(async (lang, index) => {\r\n priceAttributes[lang] = await priceAttributesApi.getPriceAttributes(lang);\r\n if (index === 0) {\r\n count = priceAttributes[lang].length;\r\n }\r\n });\r\n await Promise.all(tasks);\r\n\r\n const entries = [];\r\n for (let index = 0; index < count; index++) {\r\n const row = languages.reduce((r, lang) => {\r\n r[lang] = priceAttributes[lang][index];\r\n return r;\r\n }, {});\r\n\r\n entries.push(row);\r\n }\r\n\r\n commit(\"setPriceAttributes\", entries);\r\n },\r\n\r\n fetchAttributeTypes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const attributeTypes = await attributeTypesApi.get(languages);\r\n commit(\"setAttributeTypes\", attributeTypes);\r\n } catch (error) {\r\n commit(\"\");\r\n }\r\n },\r\n fetchAttributeDataTypes: async function ({ commit }) {\r\n const datatypes = await attributeDataTypesApi.getAttributeDataTypes();\r\n commit(\"setAttributeDataTypes\", datatypes);\r\n },\r\n\r\n fetchGlobalAttributes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const globalAttributes = await globalAttributesApi.get(languages);\r\n commit(\"setGlobalAttributes\", globalAttributes);\r\n } catch (error) {\r\n console.error(\"global attributes failed to load\", error);\r\n }\r\n },\r\n fetchMediaTypes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const mediaTypes = await mediaAssetTypesApi.get(languages);\r\n commit(\"setMediaTypes\", mediaTypes);\r\n } catch (error) {\r\n console.error(\"media asset types failed to load\", error);\r\n }\r\n },\r\n fetchKeywordTypes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const keywordTypes = await keywordTypesApi.get(languages);\r\n commit(\"setKeywordTypes\", keywordTypes);\r\n } catch (error) {\r\n console.error(\"keyword types failed to load\", error);\r\n }\r\n },\r\n fetchLocalizedBooleanValues: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n const result = await commonApi.getLocalizedBooleanValues(languages);\r\n commit(\"setLocalizedBooleanValues\", result);\r\n },\r\n async saveKeywordTypes({ state, commit, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.keywordTypes.map((x) => _.pick(x, enabledLanguages)); //pick specified properties and build new object for each item\r\n const result = await keywordTypesApi.update(strippedModels);\r\n\r\n if (result.newItemIds) {\r\n commit(\"updateKeywordTypeIds\", result.newItemIds);\r\n }\r\n\r\n if (state.deleted.keywordTypes.length > 0) {\r\n await keywordTypesApi.delete(state.deleted.keywordTypes);\r\n commit(\"clearDeleteState\", { section: \"keywordTypes\" });\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"keywordTypes\", error: error });\r\n }\r\n },\r\n\r\n fetchConversionProfiles: async function ({ commit }) {\r\n try {\r\n const conversionProfiles = await mediaAssetsApi.getConversionProfiles();\r\n commit(\"setConversionProfiles\", conversionProfiles);\r\n } catch (error) {\r\n console.error(\"media asset types failed to load\", error);\r\n }\r\n },\r\n fetchMamDetails: async function ({ commit }) {\r\n try {\r\n const mamInfo = await mediaAssetsApi.getMamDetails();\r\n commit(\"setMamDetails\", mamInfo);\r\n } catch (error) {\r\n console.error(\"Mam details failed to load\", error);\r\n }\r\n },\r\n fetchArticleMediaAssets: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n const targetType = \"Article\";\r\n\r\n try {\r\n const articleMediaAssets = await mediaAssetsApi.get(languages, targetType);\r\n commit(\"setArticleMediaAssets\", articleMediaAssets);\r\n } catch (error) {\r\n console.error(\"article media assets failed to load\", error);\r\n }\r\n },\r\n\r\n fetchCatalogGroupMediaAssets: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n const targetType = \"CatalogGroup\";\r\n\r\n try {\r\n const catalogGroupMediaAssets = await mediaAssetsApi.get(languages, targetType);\r\n commit(\"setCatalogGroupMediaAssets\", catalogGroupMediaAssets);\r\n } catch (error) {\r\n console.error(\"Catalog group media assets failed to load\", error);\r\n }\r\n },\r\n fetchDefaultCatalogAttributes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const defaultAttributes = await catalogAttributesApi.get(languages, 1);\r\n commit(\"setDefaultCatalogAttributes\", defaultAttributes);\r\n } catch (error) {\r\n console.error(\"default catalog attributes failed to load\", error);\r\n }\r\n },\r\n fetchPrintCatalogAttributes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const printAttributes = await catalogAttributesApi.get(languages, 2);\r\n commit(\"setPrintCatalogAttributes\", printAttributes);\r\n } catch (error) {\r\n console.error(\"print catalog attributes failed to load\", error);\r\n }\r\n },\r\n fetchCatalogGroupAttributes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const attributes = await catalogGroupAttributesApi.get(languages);\r\n commit(\"setCatalogGroupAttributes\", attributes);\r\n } catch (error) {\r\n console.error(\"catalog group attributes failed to load\", error);\r\n }\r\n },\r\n fetchReferenceTypes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const referenceTypes = await referenceTypesApi.getReferenceTypes(languages);\r\n commit(\"setReferenceTypes\", referenceTypes);\r\n } catch (error) {\r\n console.error(\"reference types failed to load\", error);\r\n }\r\n },\r\n fetchReferenceAttributes: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const referenceAttributes = await referenceAttributesApi.get(languages);\r\n commit(\"setReferenceAttributes\", referenceAttributes);\r\n } catch (error) {\r\n console.error(\"reference attributes failed to load\", error);\r\n }\r\n },\r\n fetchErpSections: async function ({ commit, getters }) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const erpSections = await erpSectionsApi.get(languages);\r\n commit(\"setErpSections\", erpSections);\r\n } catch (error) {\r\n console.error(\"erp sections failed to load\", error);\r\n }\r\n },\r\n fetchErpAttributes: async function ({ commit, getters }, erpSectionId) {\r\n const languages = getters.languagesForEditorServices;\r\n\r\n try {\r\n const erpAttributes = await erpAttributesApi.get(languages, erpSectionId);\r\n commit(\"setErpAttributes\", erpAttributes);\r\n } catch (error) {\r\n console.error(\"erp attributes failed to load\", error);\r\n }\r\n },\r\n setPriceAttributes({ commit }, args) {\r\n commit(\"setPriceAttributes\", args);\r\n commit(\"markModified\", \"priceAttributes\");\r\n },\r\n selectAttributeGroupPath: async function ({ commit }, path) {\r\n commit(\"setCurrentAttributeGroupPath\", path);\r\n },\r\n saveAllData: async function ({ commit, dispatch, state, getters }) {\r\n const jobs = state.metadata.update.jobs;\r\n try {\r\n if (getters.hasUnsavedData) {\r\n commit(\"isSaving\", true);\r\n commit(\"setNotificationSeen\", false);\r\n commit(\"resetJobsAndErrors\");\r\n\r\n if (state.modified.attributes) {\r\n jobs.push(dispatch(\"saveAttributes\"));\r\n }\r\n if (state.attributeData.attributes.modified || state.attributeData.erpAttributes.modified || state.attributeData.globalAttributes.modified) {\r\n jobs.push(dispatch(\"saveAttributeData\"));\r\n }\r\n if (state.modified.priceAttributes) {\r\n jobs.push(dispatch(\"savePriceAttributes\"));\r\n }\r\n if (state.modified.globalAttributes) {\r\n jobs.push(dispatch(\"saveGlobalAttributes\"));\r\n }\r\n if (state.modified.keywordTypes) {\r\n jobs.push(dispatch(\"saveKeywordTypes\"));\r\n }\r\n if (state.modified.attributeTypes) {\r\n jobs.push(dispatch(\"saveAttributeTypes\"));\r\n }\r\n if (state.modified.articleMediaAssets) {\r\n jobs.push(dispatch(\"saveArticleMediaAssets\"));\r\n }\r\n if (state.modified.catalogGroupMediaAssets) {\r\n jobs.push(dispatch(\"saveCatalogGroupMediaAssets\"));\r\n }\r\n if (state.modified.mediaTypes) {\r\n jobs.push(dispatch(\"saveMediaTypes\"));\r\n }\r\n if (state.modified.defaultCatalogAttributes) {\r\n jobs.push(dispatch(\"saveDefaultCatalogAttributes\"));\r\n }\r\n if (state.modified.printCatalogAttributes) {\r\n jobs.push(dispatch(\"savePrintCatalogAttributes\"));\r\n }\r\n if (state.modified.catalogGroupAttributes) {\r\n jobs.push(dispatch(\"saveCatalogGroupAttributes\"));\r\n }\r\n if (state.modified.referenceTypes) {\r\n jobs.push(dispatch(\"saveReferenceTypes\"));\r\n }\r\n if (state.modified.referenceAttributes) {\r\n jobs.push(dispatch(\"saveReferenceAttributes\"));\r\n }\r\n if (state.modified.erpSections) {\r\n jobs.push(dispatch(\"saveErpSections\"));\r\n }\r\n if (state.modified.erpAttributes) {\r\n jobs.push(dispatch(\"saveErpAttributes\"));\r\n }\r\n await Promise.all(jobs);\r\n\r\n if (_.some(state.errors, (x) => !!x)) {\r\n const errors = Object.values(state.errors).filter((x) => !!x);\r\n commit(\"setError\", errors);\r\n throw new Error(\"During saving an Error occured\");\r\n }\r\n commit(\"resetDirtyState\");\r\n commit(\"setSuccess\");\r\n }\r\n } catch (error) {\r\n throw new Error(\"During saving an Error occured\");\r\n } finally {\r\n commit(\"isSaving\", false);\r\n }\r\n },\r\n saveAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n if (state.deleted.attributes.length) {\r\n await attributesApi.delete(state.deleted.attributes);\r\n commit(\"clearDeleteState\", { section: \"attributes\" });\r\n }\r\n const languagesToSave = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n let strippedModels = state.attributes.map((x) => _.pick(x, languagesToSave)); //pick specified properties and build new object for each item\r\n strippedModels = _.filter(\r\n strippedModels,\r\n (x) => x[languagesToSave[0]].attributeGroupId === rootState.userSettings.AttributeManagerSelectedAttributeGroupId\r\n );\r\n const result = await attributesApi.update(strippedModels);\r\n\r\n if (result.newItemIds) {\r\n commit(\"updateAttributeIds\", {\r\n languages: languagesToSave,\r\n newIds: result.newItemIds,\r\n currentAttributeGroupId: rootState.userSettings.AttributeManagerSelectedAttributeGroupId\r\n });\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"attributes\", error: error });\r\n }\r\n },\r\n savePriceAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const payload = [];\r\n _.each(enabledLanguages, (lang) => {\r\n payload.push({\r\n language: lang,\r\n priceAttributes: state.priceAttributes.map((x) => x[lang])\r\n });\r\n });\r\n await priceAttributesApi.updatePriceAttributes(payload);\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"priceAttributes\", error: error });\r\n }\r\n },\r\n saveAttributeTypes: async function ({ commit, state, rootState }) {\r\n try {\r\n const languagesToSave = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.attributeTypes.map((x) => _.pick(x, languagesToSave));\r\n const result = await attributeTypesApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateAttributeTypeIds\", result.newItemIds);\r\n }\r\n if (state.deleted.attributeTypes.length) {\r\n await attributeTypesApi.delete(state.deleted.attributeTypes);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"attributeTypes\", error: error });\r\n }\r\n },\r\n saveGlobalAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n const languagesToSave = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.globalAttributes.map((x) => _.pick(x, languagesToSave)); //pick specified properties and build new object for each item\r\n const result = await globalAttributesApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateGlobalAttributeIds\", result.newItemIds);\r\n }\r\n if (state.deleted.globalAttributes.length) {\r\n await globalAttributesApi.delete(state.deleted.globalAttributes);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", {\r\n section: \"globalAttributes\",\r\n error: error\r\n });\r\n }\r\n },\r\n saveMediaTypes: async function ({ commit, state, rootState }) {\r\n try {\r\n const languagesToSave = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.mediaTypes.map((x) => _.pick(x, languagesToSave)); //pick specified properties and build new object for each item\r\n const result = await mediaAssetTypesApi.update(strippedModels);\r\n\r\n if (result.newItemIds) {\r\n commit(\"updateMediaTypeIds\", result.newItemIds);\r\n }\r\n\r\n if (state.deleted.mediaTypes.length) {\r\n await mediaAssetTypesApi.delete(state.deleted.mediaTypes);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"mediaTypes\", error: error });\r\n }\r\n },\r\n saveArticleMediaAssets: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.articleMediaAssets.map((x) => _.pick(x, enabledLanguages)); //pick specified properties and build new object for each item\r\n const targetType = \"Article\";\r\n if (state.deleted.articleMediaAssets.length > 0) {\r\n await mediaAssetsApi.delete(state.deleted.articleMediaAssets);\r\n commit(\"clearDeleteState\", { section: \"articleMediaAssets\" });\r\n }\r\n const result = await mediaAssetsApi.update(strippedModels, targetType);\r\n\r\n if (result.newItemIds) {\r\n commit(\"updateArticleMediaAssetIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", {\r\n section: \"articleMediaAssets\",\r\n error: error\r\n });\r\n }\r\n },\r\n saveCatalogGroupMediaAssets: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.catalogGroupMediaAssets.map((x) => _.pick(x, enabledLanguages)); //pick specified properties and build new object for each item\r\n const targetType = \"CatalogGroup\";\r\n if (state.deleted.catalogGroupMediaAssets.length > 0) {\r\n await mediaAssetsApi.delete(state.deleted.catalogGroupMediaAssets);\r\n commit(\"clearDeleteState\", { section: \"catalogGroupMediaAssets\" });\r\n }\r\n const result = await mediaAssetsApi.update(strippedModels, targetType);\r\n\r\n if (result.newItemIds) {\r\n commit(\"updateCatalogGroupMediaAssetIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", {\r\n section: \"catalogGroupMediaAssets\",\r\n error: error\r\n });\r\n }\r\n },\r\n saveDefaultCatalogAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.defaultCatalogAttributes.map((x) => _.pick(x, enabledLanguages));\r\n\r\n if (state.deleted.defaultCatalogAttributes.length) {\r\n await catalogAttributesApi.delete(state.deleted.defaultCatalogAttributes);\r\n commit(\"clearDeleteState\", { section: \"defaultCatalogAttributes\" });\r\n }\r\n\r\n const result = await catalogAttributesApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateDefaultCatalogAttributeIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", {\r\n section: \"defaultCatalogAttributes\",\r\n error: error\r\n });\r\n }\r\n },\r\n savePrintCatalogAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.printCatalogAttributes.map((x) => _.pick(x, enabledLanguages));\r\n\r\n if (state.deleted.printCatalogAttributes.length) {\r\n await catalogAttributesApi.delete(state.deleted.printCatalogAttributes);\r\n commit(\"clearDeleteState\", { section: \"printCatalogAttributes\" });\r\n }\r\n\r\n const result = await catalogAttributesApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updatePrintCatalogAttributeIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", {\r\n section: \"printCatalogAttributes\",\r\n error: error\r\n });\r\n }\r\n },\r\n saveCatalogGroupAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.catalogGroupAttributes.map((x) => _.pick(x, enabledLanguages));\r\n\r\n if (state.deleted.catalogGroupAttributes.length) {\r\n await catalogGroupAttributesApi.delete(state.deleted.catalogGroupAttributes);\r\n commit(\"clearDeleteState\", { section: \"catalogGroupAttributes\" });\r\n }\r\n\r\n const result = await catalogGroupAttributesApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateCatalogGroupAttributeIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", {\r\n section: \"catalogGroupAttributes\",\r\n error: error\r\n });\r\n }\r\n },\r\n saveReferenceTypes: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.referenceTypes.map((x) => _.pick(x, enabledLanguages));\r\n\r\n if (state.deleted.referenceTypes.length) {\r\n await referenceTypesApi.deleteReferenceTypes(state.deleted.referenceTypes);\r\n commit(\"clearDeleteState\", { section: \"referenceTypes\" });\r\n }\r\n\r\n const result = await referenceTypesApi.updateReferenceTypes(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateReferenceTypeIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"referenceTypes\", error: error });\r\n }\r\n },\r\n saveReferenceAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.referenceAttributes.map((x) => _.pick(x, enabledLanguages));\r\n\r\n if (state.deleted.referenceAttributes.length) {\r\n await referenceAttributesApi.delete(state.deleted.referenceAttributes);\r\n commit(\"clearDeleteState\", { section: \"referenceAttributes\" });\r\n }\r\n\r\n const result = await referenceAttributesApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateReferenceAttributeIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", {\r\n section: \"referenceAttributes\",\r\n error: error\r\n });\r\n }\r\n },\r\n saveErpSections: async function ({ commit, state, rootState }) {\r\n try {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.erpSections.map((x) => _.pick(x, enabledLanguages));\r\n\r\n if (state.deleted.erpSections.length) {\r\n await erpSectionsApi.delete(state.deleted.erpSections);\r\n commit(\"clearDeleteState\", { section: \"erpSections\" });\r\n }\r\n\r\n const result = await erpSectionsApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateErpSectionIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"erpSections\", error: error });\r\n }\r\n },\r\n saveErpAttributes: async function ({ commit, state, rootState }) {\r\n try {\r\n const languagesToSave = rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedModels = state.erpAttributes.map((x) => _.pick(x, languagesToSave)); //pick specified properties and build new object for each item\r\n\r\n if (state.deleted.erpAttributes.length) {\r\n await erpAttributesApi.delete(state.deleted.erpAttributes);\r\n commit(\"clearDeleteState\", { section: \"erpAttributes\" });\r\n }\r\n\r\n const result = await erpAttributesApi.update(strippedModels);\r\n if (result.newItemIds) {\r\n commit(\"updateErpAttributeIds\", result.newItemIds);\r\n }\r\n } catch (error) {\r\n commit(\"setSectionError\", { section: \"erpAttributes\", error: error });\r\n }\r\n },\r\n fetchAttributeData: async function ({ getters, commit }, args) {\r\n const languages = getters.languagesForEditorServices;\r\n if (args.attributeId && !Guid.isEmpty(args.attributeId)) {\r\n const attributeValuesModel = await attributeDataApi.getValues(args.type, args.attributeId, languages);\r\n const attributeUnitsModel = await attributeDataApi.getUnits(args.type, args.attributeId, languages);\r\n commit(\"setAttributeData\", {\r\n attributeId: args.attributeId,\r\n type: args.type,\r\n units: attributeUnitsModel.defaultAttributeUnits,\r\n values: attributeValuesModel.defaultAttributeValues,\r\n defaultValueOnly: attributeValuesModel.defaultValueOnly,\r\n isMultiSelect: attributeValuesModel.isMultiSelect,\r\n defaultUnitOnly: attributeUnitsModel.defaultUnitOnly\r\n });\r\n } else {\r\n const data = {\r\n attributeId: \"\",\r\n values: [],\r\n units: [],\r\n defaultValueOnly: false,\r\n isMultiSelect: false,\r\n defaultUnitOnly: false,\r\n modified: false,\r\n deletedUnits: [],\r\n deletedValues: [],\r\n type: args.type\r\n };\r\n commit(\"setAttributeData\", data);\r\n }\r\n },\r\n saveAttributeData: async function (context) {\r\n const types = Object.keys(context.state.attributeData);\r\n for (const type of types) {\r\n const args = context.state.attributeData[type];\r\n if (args.modified) {\r\n try {\r\n const result = { values: [], units: [] };\r\n const languagesToSave = context.rootState.metadata.contentLanguages.enabled.map((x) => x.languageCode);\r\n const strippedValues = args.values.map((x) => _.pick(x, languagesToSave)); //pick specified properties and build new object for each item\r\n const strippedUnits = args.units.map((x) => _.pick(x, languagesToSave));\r\n\r\n result.values = await attributeDataApi.saveValues(args.type, strippedValues, args.defaultValueOnly, args.isMultiSelect, args.attributeId);\r\n result.units = await attributeDataApi.saveUnits(args.type, strippedUnits, args.defaultUnitOnly, args.attributeId);\r\n context.commit(\"setAttributeDataError\", { hasError: false, type: type });\r\n\r\n if (args.deletedValues?.length) {\r\n await attributeDataApi.deleteValues(args.type, args.attributeId, args.deletedValues);\r\n }\r\n\r\n if (args.deletedUnits?.length) {\r\n await attributeDataApi.deleteUnits(args.type, args.attributeId, args.deletedUnits);\r\n }\r\n\r\n if (result.values?.newItemIds) {\r\n context.commit(\"updateAttributeValueIds\", { newIds: result.values.newItemIds, type: type });\r\n }\r\n if (result.units?.newItemIds) {\r\n context.commit(\"updateAttributeUnitIds\", { newIds: result.units.newItemIds, type: type });\r\n }\r\n context.commit(\"setAttributeDataModified\", { modified: false, type: type });\r\n } catch (error) {\r\n context.commit(\"setAttributeDataError\", { hasError: true, type: type });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\n","import { Guid } from \"@/util/guid\";\r\nimport _ from \"lodash\";\r\nimport eventLogger from \"@services/ApiLogger/EventLogger.js\";\r\nimport automationApi from \"@services/automationServer\";\r\nimport { generateNewNameMultiLanguage as generateNewName } from \"@util/generateNewName\";\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n automations: [],\r\n automationTemplates: [],\r\n actionTypes: [],\r\n triggerTypes: [],\r\n selectedAutomation: {},\r\n metadata: {\r\n loading: false,\r\n isSaving: false,\r\n hasUnsavedData: false,\r\n lastRunSuccess: true,\r\n updateSeen: true,\r\n preventSaving: false\r\n }\r\n },\r\n getters: {\r\n hasUnsavedData(state) {\r\n return state.metadata.hasUnsavedData;\r\n }\r\n },\r\n mutations: {\r\n setCurrentAutomation(state, arg) {\r\n state.selectedAutomation = arg;\r\n },\r\n setAllAutomations(state, arg) {\r\n state.automations = arg;\r\n },\r\n setAutomationTemplates(state, arg) {\r\n state.automationTemplates = arg;\r\n },\r\n addToAutomations(state, arg) {\r\n let existingAutomation = state.automations.find((x) => x.automationId == arg?.automationId);\r\n if (existingAutomation) {\r\n existingAutomation = arg;\r\n } else {\r\n state.automations.push(arg);\r\n }\r\n },\r\n updateStatus(state, args) {\r\n state.automations.find((x) => x.automationId == args.automationId).isActive = args.isActive;\r\n },\r\n deleteAutomations(state, automationIds) {\r\n automationIds.forEach((x) => {\r\n const index = state.automations.findIndex((item) => item.automationId == x);\r\n state.automations.splice(index, 1);\r\n });\r\n },\r\n setActionTypes(state, args) {\r\n state.actionTypes = args;\r\n },\r\n setTriggerTypes(state, args) {\r\n state.triggerTypes = args;\r\n },\r\n setNotificationSeen(state, value) {\r\n state.metadata.updateSeen = value;\r\n },\r\n setIsSaving(state, savingState) {\r\n state.metadata.isSaving = savingState;\r\n },\r\n setHasUnsavedData(state, setValue) {\r\n state.metadata.hasUnsavedData = setValue;\r\n },\r\n setPreventSaving(state, setValue) {\r\n state.metadata.preventSaving = setValue;\r\n },\r\n setLastRunSuccess(state, setValue) {\r\n state.metadata.lastRunSuccess = setValue;\r\n }\r\n },\r\n actions: {\r\n createNewAutomation: async function (context, args) {\r\n if (!context.state.automations || context.state.automations.length == 0) {\r\n await context.dispatch(\"getAllAutomations\");\r\n }\r\n const newName = generateNewName(\r\n args.name,\r\n context.state.automations.map((x) => {\r\n return { de: x };\r\n }),\r\n \"de\"\r\n );\r\n context.commit(\"setHasUnsavedData\", true);\r\n const newAutomation = {\r\n automationId: Guid.empty,\r\n name: newName,\r\n isActive: false,\r\n isTemplate: false,\r\n templateId: null,\r\n automationRuns: [],\r\n automationActions: [],\r\n automationTriggers: [\r\n {\r\n automationTriggerId: Guid.empty,\r\n automationId: Guid.empty,\r\n triggerType: \"Scheduled\",\r\n triggerParameters: \"\",\r\n triggerCounters: \"\"\r\n }\r\n ]\r\n };\r\n context.commit(\"setCurrentAutomation\", newAutomation);\r\n },\r\n createNewAutomationTemplate: async function (context, args) {\r\n const templateObject = context.state.automationTemplates.find((x) => x.automationId == args);\r\n if (templateObject) {\r\n const newObject = _.cloneDeep(templateObject);\r\n const newName = generateNewName(\r\n templateObject.name + \" - copy\",\r\n context.state.automations.map((x) => {\r\n return { de: x };\r\n }),\r\n \"de\"\r\n );\r\n newObject.name = newName;\r\n newObject.automationId = Guid.empty;\r\n newObject.templateId = templateObject.automationId;\r\n newObject.isTemplate = false;\r\n newObject.automationRuns = [];\r\n newObject.automationTriggers.map((x) => {\r\n x.automationId = Guid.empty;\r\n x.automationTriggerId = Guid.empty;\r\n });\r\n newObject.automationActions.map((x) => {\r\n x.automationId = Guid.empty;\r\n x.automationActionId = Guid.empty;\r\n });\r\n context.commit(\"setCurrentAutomation\", newObject);\r\n }\r\n context.commit(\"setHasUnsavedData\", true);\r\n },\r\n saveAutomation: async function (context, args) {\r\n context.commit(\"setIsSaving\", true);\r\n context.commit(\"setNotificationSeen\", false);\r\n const newAutomation = _.cloneDeep(args);\r\n\r\n for (let i = 0; i < newAutomation.automationActions.length; i++) {\r\n newAutomation.automationActions[i].actionParameters = JSON.stringify(args.automationActions[i].actionParameters);\r\n }\r\n\r\n const logContext = eventLogger.beginContext(\"saveAutomation\");\r\n logContext.info(\"Initiating automation save\", { ...newAutomation }).alsoToConsole();\r\n try {\r\n const result = await automationApi.createOrUpdateAutomation(newAutomation);\r\n\r\n context.commit(\"setCurrentAutomation\", result.value);\r\n context.commit(\"addToAutomations\", result.value);\r\n logContext.info(\"Save completed successfully\", { ...args }).alsoToConsole();\r\n context.commit(\"setHasUnsavedData\", false);\r\n context.commit(\"setLastRunSuccess\", true);\r\n } catch (error) {\r\n context.commit(\"setHasUnsavedData\", true);\r\n context.commit(\"setLastRunSuccess\", false);\r\n logContext.error(\"Automation save completed with errors\", { ...args, exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n\r\n context.commit(\"setIsSaving\", false);\r\n },\r\n getAutomation: async function (context, args) {\r\n const logContext = eventLogger.beginContext(\"loadAutomation\");\r\n logContext.info(\"Initiating automation load\", { ...args }).alsoToConsole();\r\n try {\r\n await context.dispatch(\"getAllAutomations\");\r\n const automation = context.state.automations.find((x) => x.automationId.toLowerCase() == args.toLowerCase()); //await automationApi.getAutomation(args);\r\n if (automation) {\r\n logContext.info(\"Automation loading completed successfully\", { ...args }).alsoToConsole();\r\n context.commit(\"setCurrentAutomation\", automation);\r\n }\r\n } catch (error) {\r\n logContext.error(\"Automation loading completed with errors\", { ...args, exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n },\r\n getAllAutomations: async function (context) {\r\n const logContext = eventLogger.beginContext(\"loadAllAutomations\");\r\n logContext.info(\"Initiating automation load\").alsoToConsole();\r\n try {\r\n const values = await automationApi.getAllAutomations();\r\n logContext.info(\"Automation loading completed successfully\").alsoToConsole();\r\n context.commit(\"setAllAutomations\", values);\r\n } catch (error) {\r\n logContext.error(\"AllAutomations loading completed with errors\", { exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n },\r\n getAllAutomationTemplates: async function (context) {\r\n const logContext = eventLogger.beginContext(\"loadAutomationTemplates\");\r\n logContext.info(\"Initiating automation templates load\").alsoToConsole();\r\n try {\r\n const values = await automationApi.getAllAutomationTemplates();\r\n logContext.info(\"Automation templates loading completed successfully\").alsoToConsole();\r\n context.commit(\"setAutomationTemplates\", values);\r\n } catch (error) {\r\n logContext.error(\"Automations templates loading completed with errors\", { exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n },\r\n deleteAutomations: async function (context, args) {\r\n const logContext = eventLogger.beginContext(\"deleteAutomations\");\r\n logContext.info(\"Initiating automation delete\").alsoToConsole();\r\n try {\r\n await automationApi.deleteAutomation(args);\r\n logContext.info(\"Automation deleted successfully\").alsoToConsole();\r\n context.commit(\"deleteAutomations\", args);\r\n } catch (error) {\r\n logContext.error(\"Automation deletion completed with errors\", { exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n },\r\n activateOrDeactivateAutomation: async function (context, args) {\r\n const logContext = eventLogger.beginContext(\"activateDeactivateAutomation\");\r\n logContext.info(\"Initiating Automation status change\").alsoToConsole();\r\n try {\r\n const response = await automationApi.activateOrDeactivateAutomation([args.automationId], args.isActive);\r\n if (response && response.expiredAutomationIds && response.expiredAutomationIds.includes(args.automationId)) {\r\n logContext.info(\"Automation is expired and cannot be activated or deactivated.\").alsoToConsole();\r\n } else {\r\n context.commit(\"updateStatus\", args);\r\n logContext.info(\"Automation status updated successfully\").alsoToConsole();\r\n }\r\n } catch (error) {\r\n console.error(\"error on status update\", error);\r\n } finally {\r\n logContext.complete();\r\n }\r\n },\r\n getActionTypes: async function (context) {\r\n const logContext = eventLogger.beginContext(\"loadAllActionTypes\");\r\n logContext.info(\"Initiating action types load\").alsoToConsole();\r\n try {\r\n const actionTypes = await automationApi.getActionTypes();\r\n logContext.info(\"Action types loading completed successfully\").alsoToConsole();\r\n context.commit(\"setActionTypes\", actionTypes);\r\n } catch (error) {\r\n logContext.error(\"Action types loading completed with errors\", { exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n },\r\n getTriggerTypes: async function (context) {\r\n const logContext = eventLogger.beginContext(\"loadAllTriggerTypes\");\r\n logContext.info(\"Initiating trigger types load\").alsoToConsole();\r\n try {\r\n const triggerTypes = await automationApi.getTriggerTypes();\r\n logContext.info(\"Trigger types loading completed successfully\").alsoToConsole();\r\n context.commit(\"setTriggerTypes\", triggerTypes);\r\n } catch (error) {\r\n logContext.error(\"await types loading completed with errors\", { exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n }\r\n }\r\n};\r\n","import catalogApi from \"../../services/catalogs\";\r\nimport searchApi from \"../../services/search\";\r\n\r\nimport _ from \"lodash\";\r\nimport catalogMappingFieldsApi from \"../../services/catalogMappingFields\";\r\nimport catalogMappingApi from \"../../services/catalogMapping\";\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n mappingTargets: [],\r\n catalogs: [],\r\n\r\n modified: {\r\n catalogDetails: false,\r\n catalogMappings: false,\r\n baseMapping: false\r\n },\r\n updateTasks: {\r\n catalogDetails: [],\r\n catalogMappings: [],\r\n baseMapping: []\r\n },\r\n updateErrors: {\r\n catalogDetails: [],\r\n catalogMappings: [],\r\n baseMapping: []\r\n },\r\n metadata: {\r\n loading: false,\r\n update: {\r\n seen: true\r\n }\r\n },\r\n selectedTargetCatalogId: null,\r\n targetMappingNodes: [],\r\n fieldMappings: new Map(),\r\n toBeDeletedFieldMappingMap: new Map(),\r\n sourceCatalogSearch: {\r\n keyword: \"\",\r\n results: []\r\n },\r\n targetCatalogSearch: {\r\n keyword: \"\",\r\n results: []\r\n },\r\n attributGroups: [],\r\n mappingProjects: [],\r\n selectedAttributeGroup: undefined,\r\n selectedMappingProjectId: \"\",\r\n targetCatalogTreeSelectionStats: {\r\n total: 0,\r\n children: {\r\n count: 0,\r\n type: \"node\",\r\n catalogStats: {},\r\n disabled: true\r\n },\r\n loading: false\r\n },\r\n shouldReloadSourceFieldLocalizations: false\r\n },\r\n getters: {\r\n isSaving(state) {\r\n return Object.keys(state.updateTasks).some((x) => !!state.updateTasks[x].length);\r\n },\r\n hasUnsavedData(state) {\r\n const sections = Object.keys(state.modified);\r\n return sections.some((x) => state.modified[x]);\r\n },\r\n lastRunSuccess(state) {\r\n return Object.keys(state.updateErrors).every((x) => !state.updateErrors[x].length);\r\n },\r\n selectedTargetCatalog(state, getters, rootState) {\r\n const lang = rootState.metadata.contentLanguages.enabled[0]?.languageCode;\r\n if (lang) {\r\n return state.catalogs.find((c) => c[lang]?.catalogId == state.selectedTargetCatalogId);\r\n } else {\r\n return null;\r\n }\r\n },\r\n selectedMappingProject(state) {\r\n return state.mappingProjects.find((m) => m.catalogMappingProjectId == state.selectedMappingProjectId);\r\n }\r\n },\r\n mutations: {\r\n setMappingTargets(state, mappingTargets) {\r\n state.mappingTargets = mappingTargets;\r\n },\r\n setCatalogs(state, catalogs) {\r\n state.catalogs = catalogs;\r\n },\r\n addCatalog(state, catalog) {\r\n state.catalogs.push(catalog);\r\n },\r\n renameCatalog(state, args) {\r\n const statecatalogs = state.catalogs;\r\n const languages = Object.keys(args.catalog);\r\n if (languages.length) {\r\n const catalogId = args.catalog[languages[0]].catalogId;\r\n const index = state.catalogs.findIndex((x) => x[languages[0]].catalogId == catalogId);\r\n if (index >= 0) {\r\n statecatalogs.splice(index, 1, args.catalog);\r\n }\r\n\r\n const basicCatalog = statecatalogs.filter((x) => x[args.primarylanguage.languageCode].catalogType == 0);\r\n let catalogList = statecatalogs.filter((x) => x[args.primarylanguage.languageCode].catalogType != 0);\r\n\r\n const sortKeyFinder = (x) =>\r\n x[args.primarylanguage.languageCode]?.name?.toUpperCase() || x[args.primarylanguage.fallbackLanguageCode]?.name?.toUpperCase();\r\n catalogList = _.sortBy(catalogList, sortKeyFinder);\r\n if (basicCatalog && basicCatalog.length > 0) {\r\n catalogList.splice(0, 0, basicCatalog[0]);\r\n }\r\n\r\n state.catalogs = catalogList;\r\n }\r\n },\r\n deleteCatalog(state, catalog) {\r\n const languages = Object.keys(catalog);\r\n if (languages.length) {\r\n const catalogId = catalog[languages[0]].catalogId;\r\n const index = state.catalogs.findIndex((x) => x[languages[0]].catalogId == catalogId);\r\n if (index >= 0) {\r\n state.catalogs.splice(index, 1);\r\n }\r\n }\r\n },\r\n updateTargetCatalog(state, args) {\r\n state.selectedTargetCatalogId = args.catalogId;\r\n },\r\n markDirty(state, args) {\r\n state.modified[args.section] = args.dirty;\r\n },\r\n clearDirtyStatus(state) {\r\n state.modified = {\r\n catalogDetails: false,\r\n catalogMappings: false,\r\n baseMapping: false\r\n };\r\n },\r\n updateSaveStatus(state, arg) {\r\n const section = state.updateTasks[arg.section];\r\n if (arg.running && section.indexOf(arg.lang) < 0) section.push(arg.lang);\r\n if (!arg.running) {\r\n const x = section.indexOf(arg.lang);\r\n section.splice(x, 1);\r\n }\r\n state.metadata.update.seen = arg.seen == undefined ? false : arg.seen;\r\n\r\n if (arg.error) {\r\n state.updateErrors[arg.section].push(arg.error);\r\n }\r\n },\r\n resetUpdateStatus(state) {\r\n state.updateTasks = {\r\n catalogDetails: [],\r\n catalogMappings: [],\r\n baseMapping: []\r\n };\r\n state.updateErrors = {\r\n catalogDetails: [],\r\n catalogMappings: [],\r\n baseMapping: []\r\n };\r\n },\r\n setNotificationSeen(state) {\r\n state.metadata.update.seen = true;\r\n },\r\n sourceCatalogSearchResults(state, args) {\r\n state.sourceCatalogSearch = { ...args, current: 0 };\r\n },\r\n targetCatalogSearchResults(state, args) {\r\n state.targetCatalogSearch = { ...args, current: 0 };\r\n },\r\n changeCurrentSourceCatalogSearchResult(state, position) {\r\n state.sourceCatalogSearch.current = position;\r\n },\r\n changeCurrentTargetCatalogSearchResult(state, position) {\r\n state.targetCatalogSearch.current = position;\r\n },\r\n clearAllSearch(state) {\r\n state.sourceCatalogSearch = {\r\n keyword: \"\",\r\n results: [],\r\n current: 0\r\n };\r\n state.targetCatalogSearch = {\r\n keyword: \"\",\r\n results: [],\r\n current: 0\r\n };\r\n },\r\n updateTargetFieldMappings(state, args) {\r\n state.targetMappingNodes = args;\r\n },\r\n updateFieldMappings(state, mappings) {\r\n state.fieldMappings = mappings;\r\n },\r\n deleteCurrentMapping(state, catalogMappingTargetNodeIds) {\r\n catalogMappingTargetNodeIds.forEach((catalogMappingTargetNodeId) => {\r\n const fieldmapping = state.fieldMappings.get(catalogMappingTargetNodeId);\r\n if (!fieldmapping.isNew) {\r\n state.toBeDeletedFieldMappingMap.set(catalogMappingTargetNodeId, fieldmapping);\r\n }\r\n state.fieldMappings.delete(catalogMappingTargetNodeId);\r\n });\r\n },\r\n \"reset-ToBeDeletedFieldMappingMap\"(state) {\r\n state.toBeDeletedFieldMappingMap = new Map();\r\n },\r\n addCurrentFieldMapping(state, mappingInfo) {\r\n const mapping = state.toBeDeletedFieldMappingMap.get(mappingInfo.catalogMappingTargetNodeId);\r\n if (mapping) {\r\n mapping.isNew = false;\r\n mapping.isUpdated = true;\r\n mappingInfo.fieldMapping.catalogFieldMappingId = mapping.currentMapping.catalogFieldMappingId;\r\n mapping.currentMapping = mappingInfo.fieldMapping;\r\n state.fieldMappings.set(mappingInfo.catalogMappingTargetNodeId, mapping);\r\n state.toBeDeletedFieldMappingMap.delete(mappingInfo.catalogMappingTargetNodeId);\r\n } else {\r\n state.fieldMappings.set(mappingInfo.catalogMappingTargetNodeId, {\r\n isNew: true,\r\n globalMapping: null,\r\n currentMapping: mappingInfo.fieldMapping\r\n });\r\n }\r\n },\r\n updateFieldMappingExpression(state, mappingExpressionInfo) {\r\n const fieldMapping = state.fieldMappings.get(mappingExpressionInfo.catalogMappingTargetNodeId);\r\n const currentMapping = fieldMapping?.currentMapping;\r\n if (currentMapping && (currentMapping.sourceExpression != undefined || currentMapping.sourceExpression != null)) {\r\n fieldMapping.isUpdated = true;\r\n currentMapping.sourceExpression = mappingExpressionInfo.sourceExpression;\r\n }\r\n },\r\n loadAttributeGroups(state, attributeGroups) {\r\n state.attributGroups = attributeGroups;\r\n },\r\n loadMappingProjects(state, mappingProjects) {\r\n state.mappingProjects = mappingProjects;\r\n },\r\n addMappingProject(state, mappingProject) {\r\n let mappingProjectList = state.mappingProjects;\r\n mappingProjectList.push(mappingProject);\r\n const sortKeyFinder = (x) => x?.name?.toUpperCase();\r\n mappingProjectList = _.sortBy(mappingProjectList, sortKeyFinder);\r\n state.mappingProjects = mappingProjectList;\r\n },\r\n updateSelectedMappingProjectId(state, mappingProjectId) {\r\n state.selectedMappingProjectId = mappingProjectId;\r\n },\r\n updateSelectedAttributeGroup(state, attributeGroup) {\r\n state.selectedAttributeGroup = attributeGroup;\r\n },\r\n deleteMappingProject(state, mappingProjectId) {\r\n const index = state.mappingProjects.findIndex((x) => x.catalogMappingProjectId == mappingProjectId);\r\n if (index >= 0) {\r\n state.mappingProjects.splice(index, 1);\r\n }\r\n },\r\n updateMappingProjectName(state, mappingProject) {\r\n let mappingProjectList = state.mappingProjects;\r\n const index = mappingProjectList.findIndex((x) => x.catalogMappingProjectId == mappingProject.catalogMappingProjectId);\r\n if (index >= 0) {\r\n mappingProjectList.splice(index, 1, mappingProject);\r\n }\r\n const sortKeyFinder = (x) => x?.name?.toUpperCase();\r\n mappingProjectList = _.sortBy(mappingProjectList, sortKeyFinder);\r\n state.mappingProjects = mappingProjectList;\r\n },\r\n setTargetCatalogTreeSelectionStats(state, selection) {\r\n state.targetCatalogTreeSelectionStats = selection;\r\n },\r\n setTargetCatalogTreeSelectionStatsLoading(state, isLoading) {\r\n state.targetCatalogTreeSelectionStats.loading = isLoading;\r\n },\r\n setShouldReloadSourceFieldLocalizations(state, shouldReloadSourceFieldLocalizations) {\r\n state.shouldReloadSourceFieldLocalizations = shouldReloadSourceFieldLocalizations;\r\n }\r\n },\r\n actions: {\r\n loadMappingTargets: async function (context) {\r\n const mappingTargets = await catalogApi.getMappingTargets({\r\n catalogType: 1\r\n });\r\n context.commit(\"setMappingTargets\", mappingTargets);\r\n },\r\n loadCatalogs: async function ({ commit, rootState }, args) {\r\n commit(\"resetUpdateStatus\");\r\n args = args || {};\r\n const requestedLanguages = args.languages || rootState.metadata.contentLanguages.enabled;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = Array.from(new Set(languages));\r\n\r\n const catalogs = {};\r\n const baseCatalogModel = {};\r\n for (let index = 0; index < languages.length; index++) {\r\n const lang = languages[index];\r\n const basicCatalogList = await catalogApi.getCatalogs({\r\n language: lang,\r\n catalogType: 0\r\n });\r\n\r\n if (basicCatalogList.length > 0) {\r\n baseCatalogModel[lang] = basicCatalogList[0];\r\n }\r\n\r\n const otherCatalogs = await catalogApi.getCatalogs({\r\n language: lang,\r\n catalogType: 1\r\n });\r\n\r\n otherCatalogs.forEach((item) => {\r\n const cmodel = catalogs[item.catalogId] || {};\r\n cmodel[lang] = item;\r\n catalogs[item.catalogId] = cmodel;\r\n });\r\n }\r\n\r\n const primaryLanguage = rootState.metadata.contentLanguages.enabled[0];\r\n let catalogList = Object.values(catalogs);\r\n const sortKeyFinder = (x) => x[primaryLanguage.languageCode]?.name?.toUpperCase() || x[primaryLanguage.fallbackLanguageCode]?.name?.toUpperCase();\r\n catalogList = _.sortBy(catalogList, sortKeyFinder);\r\n if (baseCatalogModel && Object.keys(baseCatalogModel).length > 0) {\r\n catalogList.splice(0, 0, baseCatalogModel);\r\n }\r\n\r\n commit(\"setCatalogs\", catalogList);\r\n },\r\n addCatalog: async function (context, catalog) {\r\n const primarylanguage = context.rootState.metadata.contentLanguages.enabled[0];\r\n const model = catalog[primarylanguage.languageCode];\r\n const newcatalog = await catalogApi.create(\r\n model.name,\r\n model.catalogType,\r\n model.category,\r\n model.isLinkable,\r\n primarylanguage.languageCode,\r\n model.catalogMappingTargetId,\r\n model.catalogUid || null\r\n );\r\n\r\n const languages = context.rootState.metadata.contentLanguages.enabled;\r\n languages.forEach((lang) => {\r\n catalog[lang.languageCode].catalogId = newcatalog.catalogId;\r\n catalog[lang.languageCode].createdOn = newcatalog.createdOn;\r\n catalog[lang.languageCode].createdBy = newcatalog.createdBy;\r\n catalog[lang.languageCode].updatedOn = newcatalog.updatedOn;\r\n catalog[lang.languageCode].updatedBy = newcatalog.updatedBy;\r\n catalog[lang.languageCode].accessRights = newcatalog.accessRights ?? {\r\n ...lang.accessRights\r\n };\r\n });\r\n\r\n const basicCatalog = context.state.catalogs.filter((x) => x[primarylanguage.languageCode].catalogType == 0);\r\n let catalogList = context.state.catalogs.filter((x) => x[primarylanguage.languageCode].catalogType != 0);\r\n catalogList.push(catalog);\r\n const sortKeyFinder = (x) => x[primarylanguage.languageCode]?.name?.toUpperCase() || x[primarylanguage.fallbackLanguageCode]?.name?.toUpperCase();\r\n catalogList = _.sortBy(catalogList, sortKeyFinder);\r\n if (basicCatalog && basicCatalog.length > 0) {\r\n catalogList.splice(0, 0, basicCatalog[0]);\r\n }\r\n\r\n context.commit(\"setCatalogs\", catalogList);\r\n return newcatalog.catalogId;\r\n },\r\n renameCatalog: async function ({ commit, rootState }, catalog) {\r\n const primarylanguage = rootState.metadata.contentLanguages.enabled[0];\r\n const tasks = Object.keys(catalog).map((lang) =>\r\n catalogApi.renameCatalog(catalog[lang].catalogId, catalog[lang].name || \"\", lang, catalog[lang].category || \"\")\r\n );\r\n await Promise.all(tasks);\r\n\r\n commit(\"renameCatalog\", { catalog, primarylanguage });\r\n },\r\n removeCatalog: async function ({ commit, rootState }, catalog) {\r\n const primarylanguage = rootState.metadata.contentLanguages.enabled[0];\r\n const model = catalog[primarylanguage.languageCode];\r\n await catalogApi.deleteCatalog(model.catalogId);\r\n\r\n commit(\"deleteCatalog\", catalog);\r\n },\r\n updateTargetCatalog({ commit, rootState }, newTargetCatalogId) {\r\n const primarylanguage = rootState.metadata.contentLanguages.enabled[0].languageCode;\r\n commit(\"updateTargetCatalog\", {\r\n catalogId: newTargetCatalogId,\r\n language: primarylanguage\r\n });\r\n },\r\n\r\n saveCatalogDetails: async function (context, args) {\r\n const languages = context.rootState.metadata.contentLanguages.enabled;\r\n context.commit(\"updateSaveStatus\", {\r\n section: \"catalogDetails\",\r\n lang: languages[0].languageCode,\r\n running: true\r\n });\r\n try {\r\n await catalogApi.updateCatalogSettings(args.catalogDetails);\r\n for (let index = 0; index < languages.length; index++) {\r\n const language = languages[index];\r\n await catalogApi.updateCatalogAttributes(args.catalogDetails.catalogId, language.languageCode, args.catalogAttributes[language.languageCode]);\r\n }\r\n context.commit(\"updateSaveStatus\", {\r\n section: \"catalogDetails\",\r\n lang: languages[0].languageCode,\r\n running: false\r\n });\r\n } catch (error) {\r\n context.commit(\"updateSaveStatus\", {\r\n section: \"catalogDetails\",\r\n lang: languages[0].languageCode,\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n },\r\n searchSourceCatalog: async function (context, args) {\r\n try {\r\n if (args.keyword == context.state.sourceCatalogSearch.keyword && !args.force) {\r\n if (context.state.sourceCatalogSearch.results.length > context.state.sourceCatalogSearch.current + 1) {\r\n context.commit(\"changeCurrentSourceCatalogSearchResult\", context.state.sourceCatalogSearch.current + 1);\r\n }\r\n return;\r\n }\r\n const results = await searchApi.searchInCatalog(args.catalogId, args.keyword, args.language);\r\n context.commit(\"sourceCatalogSearchResults\", {\r\n keyword: args.keyword,\r\n results\r\n });\r\n } catch (error) {\r\n console.error(\"failed searching source catalog\", error);\r\n }\r\n },\r\n searchTargetCatalog: async function (context, args) {\r\n try {\r\n if (args.keyword == context.state.targetCatalogSearch.keyword && !args.force) {\r\n if (context.state.targetCatalogSearch.results.length > context.state.targetCatalogSearch.current + 1) {\r\n context.commit(\"changeCurrentTargetCatalogSearchResult\", context.state.targetCatalogSearch.current + 1);\r\n }\r\n return;\r\n }\r\n const results = await searchApi.searchInCatalog(args.catalogId, args.keyword, args.language);\r\n context.commit(\"targetCatalogSearchResults\", {\r\n keyword: args.keyword,\r\n results\r\n });\r\n } catch (error) {\r\n console.error(\"failed searching source catalog\", error);\r\n }\r\n },\r\n loadTargetFieldMappings: async function (context, args) {\r\n const targetMappingNodes = await catalogApi.getMappingTargetNodes(args.mappingTargetId, args.mappingProjectId);\r\n context.commit(\"updateTargetFieldMappings\", targetMappingNodes);\r\n /*\r\n let extractChildren=x=>x.childMappingTargetNodes.concat(x.childMappingTargetNodes.map(extractChildren));\r\n let allNodes = new Map(targetMappingNodes.concat(targetMappingNodes.map(extractChildren)).map(x=>[x.catalogMappingTargetNodeId,x]));\r\n\r\n */\r\n },\r\n\r\n loadFieldMappings: async function (context, args) {\r\n try {\r\n if (!args.catalogMappingProjectId || !args.catalogMappingId) {\r\n context.commit(\"updateFieldMappings\", new Map());\r\n } else {\r\n const mappings = await catalogMappingFieldsApi.get(args.catalogMappingProjectId, args.catalogMappingId, args.isReferential);\r\n\r\n const fieldMappingMap = mappings.reduce((fieldMappingMap, item) => {\r\n const group = fieldMappingMap.get(item.targetFieldId) || {\r\n globalMapping: null,\r\n currentMapping: null\r\n };\r\n if (item.isInherited === true) {\r\n group.globalMapping = item;\r\n } else {\r\n group.currentMapping = item;\r\n }\r\n fieldMappingMap.set(item.targetFieldId, group);\r\n return fieldMappingMap;\r\n }, new Map());\r\n\r\n context.commit(\"updateFieldMappings\", fieldMappingMap);\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n },\r\n createFieldMapping({ commit }, args) {\r\n try {\r\n commit(\"markDirty\", { section: \"baseMapping\", dirty: true });\r\n let targetNodeName = replaceInvalidChars(args.targetNodeName);\r\n\r\n const existingTargetNodeNames = args.existingTargetNodeNames ?? [];\r\n if (_.includes(existingTargetNodeNames, targetNodeName)) {\r\n targetNodeName = GetSequentialName(existingTargetNodeNames, targetNodeName);\r\n }\r\n const fieldMapping = {\r\n catalogFieldMappingId: generateRandomId(),\r\n catalogMappingId: args.catalogMappingId,\r\n targetFieldId: args.catalogMappingTargetNodeId,\r\n sourceExpression: args.sourceExpression,\r\n targetNodeName: targetNodeName\r\n };\r\n commit(\"addCurrentFieldMapping\", {\r\n catalogMappingTargetNodeId: args.catalogMappingTargetNodeId,\r\n fieldMapping: fieldMapping\r\n });\r\n return targetNodeName;\r\n } catch (error) {\r\n console.error(`Error on creating mapping for target field \"${args.targetNodeName}\"`);\r\n }\r\n },\r\n\r\n updateFieldMapping(context, args) {\r\n try {\r\n context.commit(\"updateFieldMappingExpression\", {\r\n catalogMappingTargetNodeId: args.catalogMappingTargetNodeId,\r\n sourceExpression: args.sourceExpression\r\n });\r\n\r\n context.commit(\"markDirty\", { section: \"baseMapping\", dirty: true });\r\n } catch (error) {\r\n console.error(\"Error on updating mapping for target field \" + args.catalogFieldMappingId);\r\n }\r\n },\r\n deleteFieldMappings(context, args) {\r\n try {\r\n context.commit(\"deleteCurrentMapping\", args.catalogMappingTargetNodeIds);\r\n context.commit(\"markDirty\", { section: \"baseMapping\", dirty: true });\r\n } catch (error) {\r\n console.error(\"Error on deleting selected catalog field mappings.\");\r\n }\r\n },\r\n deleteAllFieldMappings: async function (context, args) {\r\n try {\r\n await catalogMappingFieldsApi.deleteAll(args.catalogMappingProjectId, args.attributeGroupId);\r\n context.commit(\"deleteCurrentMapping\", args.catalogMappingTargetNodeIds);\r\n context.commit(\"markDirty\", { section: \"baseMapping\", dirty: true });\r\n } catch (error) {\r\n console.error(\"Error on deleting field mappings of the selected attribute group.\");\r\n }\r\n },\r\n saveFieldMapping: async function ({ state, commit, rootState }) {\r\n const languages = rootState.metadata.contentLanguages.enabled;\r\n try {\r\n commit(\"updateSaveStatus\", {\r\n section: \"baseMapping\",\r\n lang: languages[0].languageCode,\r\n running: true\r\n });\r\n const fieldMappingValues = state.fieldMappings.values();\r\n const toBeAddedList = [];\r\n const toBeUpdatedList = [];\r\n for (const mapping of fieldMappingValues) {\r\n if (mapping.isNew) {\r\n mapping.currentMapping.catalogFieldMappingId = null;\r\n toBeAddedList.push(mapping.currentMapping);\r\n }\r\n if (mapping.isUpdated) toBeUpdatedList.push(mapping.currentMapping);\r\n }\r\n\r\n if (toBeAddedList.length) {\r\n const createdMappings = await catalogMappingFieldsApi.create(state.selectedMappingProjectId, toBeAddedList);\r\n for (const mapping of createdMappings) {\r\n const fieldMapping = state.fieldMappings.get(mapping.catalogMappingTargetNodeId);\r\n fieldMapping.isNew = false;\r\n fieldMapping.currentMapping.catalogFieldMappingId = mapping.catalogFieldMappingId;\r\n }\r\n }\r\n\r\n if (toBeUpdatedList.length) {\r\n await catalogMappingFieldsApi.update(toBeUpdatedList);\r\n for (const entry of toBeUpdatedList) {\r\n entry.isUpdated = false;\r\n }\r\n }\r\n\r\n if (state.toBeDeletedFieldMappingMap.size) {\r\n const array = Array.from(state.toBeDeletedFieldMappingMap.values());\r\n const list = array.map((x) => x.currentMapping.catalogFieldMappingId);\r\n await catalogMappingFieldsApi.delete(list);\r\n commit(\"reset-ToBeDeletedFieldMappingMap\");\r\n }\r\n\r\n commit(\"updateSaveStatus\", {\r\n section: \"baseMapping\",\r\n lang: languages[0].languageCode,\r\n running: false\r\n });\r\n } catch (error) {\r\n commit(\"updateSaveStatus\", {\r\n section: \"baseMapping\",\r\n lang: languages[0].languageCode,\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n },\r\n loadAttributeGroupsOfCatalog: async function (context, args) {\r\n if (!args.catalogId || !args.catalogMappingProjectId) {\r\n context.commit(\"loadAttributeGroups\", []);\r\n } else {\r\n try {\r\n const mappingAttributeGroups = await catalogMappingApi.get(args.catalogId, args.catalogMappingProjectId, args.languageCode);\r\n const attributGroupList = mappingAttributeGroups.map((x) => ({\r\n id: x.attributeGroupId,\r\n catalogMappingId: x.catalogMappingId,\r\n path: x.attributeGroupNamePath,\r\n sequence: x.attributeGroupOrder,\r\n isReferential: x.isReferential,\r\n isMapped: x.isMapped\r\n }));\r\n context.commit(\"loadAttributeGroups\", attributGroupList);\r\n } catch (error) {\r\n console.error(\"Loading of attribute groups failed.\");\r\n }\r\n }\r\n },\r\n loadMappingProjectsOfCatalog: async function (context, args) {\r\n if (!args.catalogId) {\r\n context.commit(\"loadMappingProjects\", []);\r\n } else {\r\n try {\r\n const targetMappingProjects = await catalogApi.getCatalogMappingProjects(args.catalogId, args.languageCode);\r\n let mappingProjectList = targetMappingProjects\r\n .map((x) =>\r\n x.mappingProjects.map((y) => ({\r\n catalogMappingProjectId: y.catalogMappingProjectId,\r\n catalogMappingTargetId: x.catalogMappingTargetId,\r\n name: y.name + \" (\" + x.targetSystemName + \")\",\r\n targetSystemName: x.targetSystemName,\r\n targetSystem: x.targetSystem\r\n }))\r\n )\r\n .flat(1);\r\n const sortKeyFinder = (x) => x?.name?.toUpperCase();\r\n mappingProjectList = _.sortBy(mappingProjectList, sortKeyFinder);\r\n context.commit(\"loadMappingProjects\", mappingProjectList);\r\n } catch (error) {\r\n console.error(\"Loading of catalog mapping projects failed.\");\r\n }\r\n }\r\n },\r\n updateSelectedMappingProjectId(context, mappingProjectId) {\r\n context.commit(\"updateSelectedMappingProjectId\", mappingProjectId);\r\n },\r\n updateSelectedAttributeGroup(context, attributeGroup) {\r\n context.commit(\"updateSelectedAttributeGroup\", attributeGroup);\r\n },\r\n addMappingProject: async function (context, args) {\r\n try {\r\n const newCatalogMappingProject = await catalogApi.createCatalogMappingProject(\r\n args.catalogMappingProjectName,\r\n args.catalogId,\r\n args.catalogMappingTargetId\r\n );\r\n const newMappingProject = {\r\n catalogMappingProjectId: newCatalogMappingProject.catalogMappingProjectId,\r\n catalogMappingTargetId: newCatalogMappingProject.catalogMappingTargetId,\r\n name: newCatalogMappingProject.name + \" (\" + args.catalogMappingTargetName + \")\",\r\n targetSystemName: args.catalogMappingTargetName,\r\n targetSystem: newCatalogMappingProject.targetSystem\r\n };\r\n\r\n context.commit(\"addMappingProject\", newMappingProject);\r\n\r\n return newCatalogMappingProject.catalogMappingProjectId;\r\n } catch (error) {\r\n console.error(\"Creation of catalog mapping project with name \" + args.catalogMappingProjectName + \" failed.\");\r\n }\r\n },\r\n copyMappingProject: async function (context, args) {\r\n try {\r\n const newCatalogMappingProject = await catalogApi.copyMappingProject(args.catalogId, args.catalogMappingProjectId, args.languageCode);\r\n const newMappingProject = {\r\n catalogMappingProjectId: newCatalogMappingProject.catalogMappingProjectId,\r\n catalogMappingTargetId: args.catalogMappingTargetId,\r\n name: newCatalogMappingProject.name + \" (\" + args.targetSystemName + \")\",\r\n targetSystemName: args.targetSystemName,\r\n targetSystem: args.targetSystem\r\n };\r\n\r\n context.commit(\"addMappingProject\", newMappingProject);\r\n\r\n return newCatalogMappingProject.catalogMappingProjectId;\r\n } catch (error) {\r\n console.error(\"Copying of catalog mapping project \" + args.catalogMappingProjectId + \" failed.\");\r\n }\r\n },\r\n deleteMappingProject: async function (context, catalogMappingProjectId) {\r\n try {\r\n await catalogApi.deleteMappingProject(catalogMappingProjectId);\r\n context.commit(\"deleteMappingProject\", catalogMappingProjectId);\r\n } catch (error) {\r\n console.error(\"Deletion of catalog mapping project \" + catalogMappingProjectId + \" failed.\");\r\n }\r\n },\r\n updateMappingProjectName: async function (context, args) {\r\n try {\r\n await catalogApi.renameMappingProject(args.mappingProject.name, args.catalogId, args.mappingProject.catalogMappingProjectId);\r\n args.mappingProject.name = args.mappingProject.name + \" (\" + args.mappingProject.targetSystemName + \")\";\r\n\r\n context.commit(\"updateMappingProjectName\", args.mappingProject);\r\n return true;\r\n } catch (error) {\r\n console.error(\"Rename of catalog mapping project with name \" + args.mappingProject.name + \" failed.\");\r\n if (error.isAxiosError) {\r\n return error.response.data?.error;\r\n }\r\n }\r\n }\r\n }\r\n};\r\n//#region Utility\r\nconst replaceInvalidChars = (text) => {\r\n if (!text) return text;\r\n\r\n const invalidChars = [\".\", \"!\", \"`\", \"[\", \"]\"];\r\n\r\n for (let i = 0; i < 31; i++) invalidChars.push(String.fromCharCode(i));\r\n for (const char of invalidChars) {\r\n text = text.replaceAll(char, \"\");\r\n }\r\n return text;\r\n};\r\n\r\nconst GetSequentialName = (nodeNames, name) => {\r\n const possibleNumbers = _.map(nodeNames, (node) => parseInt(ExtractNumber(node, name)));\r\n const useNodeIndex = _.max([1, _.max(possibleNumbers) + 1]);\r\n\r\n return `${name} (${useNodeIndex})`;\r\n};\r\n\r\nconst ExtractNumber = (input, name) => {\r\n const escapedName = _.escapeRegExp(name);\r\n const regex = new RegExp(`(${escapedName} [(])(\\\\d+)([)])$`, \"g\");\r\n const matchGroups = [...input.matchAll(regex)];\r\n if (!matchGroups.length) return -1;\r\n return matchGroups[0].length == 4 ? matchGroups[0][2] : -1;\r\n};\r\n\r\nconst generateRandomId = function () {\r\n const characters = \"ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz\";\r\n const lenString = 7;\r\n let randomstring = \"\";\r\n\r\n for (let i = 0; i < lenString; i++) {\r\n const rnum = Math.floor(Math.random() * characters.length);\r\n randomstring += characters.substring(rnum, rnum + 1);\r\n }\r\n\r\n return randomstring;\r\n};\r\n//#endregion\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get() {\r\n const response = api.get(endpoints.alternativeArticleNumberTypes.get).then((x) => x.data);\r\n return response;\r\n }\r\n};\r\n","import articleApi from \"../../services/article\";\r\nimport commonApi from \"../../services/common\";\r\nimport alternativeArticleNoTypesApi from \"../../services/alternativeArticleNoTypes\";\r\nimport referenceTypeApi from \"../../services/referenceTypes\";\r\nimport keywordTypeApi from \"../../services/keywordTypes\";\r\nimport translationsApi from \"../../services/articleTranslations\";\r\nimport eventLogger from \"../../services/ApiLogger/EventLogger\";\r\n\r\nfunction defaultState() {\r\n return {\r\n masterdata: {},\r\n alternativeArticleNumbers: {},\r\n globalAttributes: {},\r\n variantAttributes: {},\r\n invariantAttributes: {},\r\n multiArticlevariantAttributes: {},\r\n erpSections: {},\r\n mediaAssets: {},\r\n prices: {},\r\n priceAttributes: {},\r\n keywords: {},\r\n classifications: {},\r\n references: {},\r\n referenceTypes: {},\r\n keywordTypes: {},\r\n catalogs: {},\r\n translatedMasterdata: {},\r\n translatedGlobalAttributes: {},\r\n translatedVariantAttributes: {},\r\n translatedInvariantAttributes: {},\r\n translatedPriceAttributes: {},\r\n translatedMediaAssets: {},\r\n translatedKeywords: {},\r\n translatedGlobalAttributeSuggestions: {},\r\n translatedVariantAttributeSuggestions: {},\r\n translatedinVariantAttributeSuggestions: {},\r\n translatedPriceAttributeSuggestions: {},\r\n translatedMediaAssetsSuggestions: {},\r\n translatedKeywordSuggestions: {},\r\n common: {\r\n articlestates: [],\r\n alternativeArticleNoTypes: [],\r\n users: [],\r\n loaded: false\r\n },\r\n metadata: {\r\n articleId: \"\",\r\n error: \"\",\r\n loaded: false,\r\n loading: false,\r\n variantAttributesLoading: false,\r\n update: {\r\n jobs: [],\r\n error: \"\",\r\n apiError: false,\r\n success: true,\r\n seen: true\r\n }\r\n },\r\n modified: {\r\n masterdata: false,\r\n attributeGroupPaths: false,\r\n alternativeArticleNumbers: false,\r\n globalAttributes: false,\r\n variantAttributes: false,\r\n invariantAttributes: false,\r\n multiArticlevariantAttributes: false,\r\n erpSections: false,\r\n mediaAssets: false,\r\n prices: false,\r\n priceAttributes: false,\r\n keywords: false,\r\n classifications: false,\r\n references: false,\r\n referenceTypes: false,\r\n keywordTypes: false,\r\n translatedMasterdata: false,\r\n translatedGlobalAttributes: false,\r\n translatedVariantAttributes: false,\r\n translatedInvariantAttributes: false,\r\n translatedPriceAttributes: false,\r\n translatedMediaAssets: false,\r\n translatedKeywords: false\r\n },\r\n updateTasks: {\r\n masterdata: false,\r\n attributeGroupPaths: false,\r\n alternativeArticleNumbers: false,\r\n globalAttributes: false,\r\n variantAttributes: false,\r\n invariantAttributes: false,\r\n multiArticlevariantAttributes: false,\r\n erpSections: false,\r\n mediaAssets: false,\r\n prices: false,\r\n priceAttributes: false,\r\n keywords: false,\r\n classifications: false,\r\n references: false,\r\n referenceTypes: false,\r\n keywordTypes: false,\r\n translatedMasterdata: false,\r\n translatedGlobalAttributes: false,\r\n translatedVariantAttributes: false,\r\n translatedInvariantAttributes: false,\r\n translatedPriceAttributes: false,\r\n translatedMediaAssets: false,\r\n translatedKeywords: false\r\n },\r\n updateErrors: {\r\n masterdata: undefined,\r\n attributeGroupPaths: undefined,\r\n alternativeArticleNumbers: undefined,\r\n globalAttributes: undefined,\r\n variantAttributes: undefined,\r\n invariantAttributes: undefined,\r\n multiArticlevariantAttributes: undefined,\r\n erpSections: undefined,\r\n mediaAssets: undefined,\r\n prices: undefined,\r\n priceAttributes: undefined,\r\n keywords: undefined,\r\n classifications: undefined,\r\n references: undefined,\r\n referenceTypes: undefined,\r\n keywordTypes: undefined,\r\n translatedMasterdata: undefined,\r\n translatedGlobalAttributes: undefined,\r\n translatedVariantAttributes: undefined,\r\n translatedInvariantAttributes: undefined,\r\n translatedPriceAttributes: undefined,\r\n translatedMediaAssets: undefined,\r\n translatedKeywords: undefined\r\n }\r\n };\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n ...defaultState()\r\n },\r\n getters: {\r\n isSaving(state) {\r\n return Object.keys(state.updateTasks).some((x) => state.updateTasks[x]);\r\n },\r\n hasUnsavedData(state) {\r\n const sections = Object.keys(state.modified);\r\n return sections.some((x) => state.modified[x]);\r\n },\r\n lastRunSuccess(state) {\r\n return Object.keys(state.updateErrors).every((x) => !state.updateErrors[x]);\r\n },\r\n languagesForEditorServices(state, getters, rootState) {\r\n const enabledLanguages = rootState.metadata.contentLanguages.enabled;\r\n let languages = enabledLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = Array.from(new Set(languages));\r\n return languages;\r\n }\r\n },\r\n mutations: {\r\n \"refresh-article-masterdata\"(state, arg) {\r\n const data = Object.assign({}, state.masterdata);\r\n data[arg.language] = arg.data;\r\n state.masterdata = data;\r\n },\r\n \"refresh-article-alternative-articlenumbers\"(state, payload) {\r\n state.alternativeArticleNumbers = payload.data;\r\n },\r\n \"common-data-update-articlestate\"(state, payload) {\r\n state.common.articlestates = payload;\r\n },\r\n \"refresh-alternative-article-no-types\"(state, args) {\r\n state.common.alternativeArticleNoTypes = args;\r\n },\r\n \"refresh-reference-types\"(state, args) {\r\n const data = Object.assign({}, state.referenceTypes);\r\n data[args.language] = args.data;\r\n state.referenceTypes = data;\r\n },\r\n \"refresh-keyword-types\"(state, args) {\r\n state.keywordTypes = args;\r\n },\r\n \"refresh-article-catalogs\"(state, args) {\r\n let data = Object.assign({}, state.catalogs);\r\n data = args.data;\r\n state.catalogs = data;\r\n },\r\n \"common-data-loaded\"(state, payload) {\r\n state.common.loaded = payload;\r\n },\r\n \"article-error\"(state, payload) {\r\n state.metadata.error = payload;\r\n },\r\n \"article-loaded\"(state, payload) {\r\n state.metadata.loaded = payload;\r\n },\r\n \"change-article\"(state, payload) {\r\n state.metadata.articleId = payload;\r\n },\r\n \"article-loading-state-update\"(state, loading) {\r\n state.metadata.loading = loading;\r\n },\r\n \"variant-attributes-loading-state-update\"(state, loading) {\r\n state.metadata.variantAttributesLoading = loading;\r\n },\r\n \"refresh-article-global-attributes\"(state, args) {\r\n const data = Object.assign({}, state.globalAttributes);\r\n data[args.language] = args.data;\r\n state.globalAttributes = data;\r\n },\r\n \"refresh-article-variant-attributes\"(state, args) {\r\n const data = Object.assign({}, state.variantAttributes);\r\n data[args.language] = args.data;\r\n state.variantAttributes = data;\r\n },\r\n \"refresh-article-invariant-attributes\"(state, args) {\r\n const data = Object.assign({}, state.invariantAttributes);\r\n data[args.language] = args.data;\r\n state.invariantAttributes = data;\r\n },\r\n \"refresh-multi-article-variant-attributes\"(state, arg) {\r\n state.multiArticlevariantAttributes = arg.data;\r\n },\r\n \"refresh-article-erp-sections\"(state, arg) {\r\n const data = Object.assign({}, state.erpSections);\r\n data[arg.language] = arg.data;\r\n state.erpSections = data;\r\n },\r\n \"refresh-article-prices\"(state, arg) {\r\n state.prices = arg.data;\r\n },\r\n \"refresh-article-price-attributes\"(state, arg) {\r\n const data = Object.assign({}, state.priceAttributes);\r\n data[arg.language] = arg.data;\r\n state.priceAttributes = data;\r\n },\r\n \"refresh-article-references\"(state, arg) {\r\n const data = Object.assign({}, state.references);\r\n data[arg.language] = arg.data;\r\n state.references = data;\r\n },\r\n \"refresh-article-keywords\"(state, arg) {\r\n const data = Object.assign({}, state.keywords);\r\n data[arg.language] = arg.data;\r\n state.keywords = data;\r\n },\r\n \"refresh-article-classifications\"(state, arg) {\r\n const data = Object.assign({}, state.classifications);\r\n data[arg.language] = arg.data;\r\n state.classifications = data;\r\n },\r\n \"refresh-article-media-assets\"(state, arg) {\r\n const data = Object.assign({}, state.mediaAssets);\r\n data[arg.language] = arg.data;\r\n state.mediaAssets = data;\r\n },\r\n \"translation-article-master-data\"(state, arg) {\r\n state.translatedMasterdata = arg.data;\r\n },\r\n \"translation-article-global-attributes\"(state, arg) {\r\n state.translatedGlobalAttributes = arg.data;\r\n },\r\n \"translation-article-variant-attributes\"(state, arg) {\r\n state.translatedVariantAttributes = arg.data;\r\n },\r\n \"translation-article-invariant-attributes\"(state, arg) {\r\n state.translatedInvariantAttributes = arg.data;\r\n },\r\n \"translation-article-price-attributes\"(state, arg) {\r\n state.translatedPriceAttributes = arg.data;\r\n },\r\n \"translation-article-media-assets\"(state, arg) {\r\n state.translatedMediaAssets = arg.data;\r\n },\r\n \"translation-article-keywords\"(state, arg) {\r\n state.translatedKeywords = arg.data;\r\n },\r\n \"update-save-status\"(state, arg) {\r\n const sectionState = Object.assign({}, state.updateTasks);\r\n sectionState[arg.section] = arg.running;\r\n state.updateTasks = sectionState;\r\n state.metadata.update.seen = arg.seen == undefined ? false : arg.seen;\r\n if (arg.error) {\r\n state.updateErrors[arg.section] = arg.apiError ? { apiError: true, response: arg.error.response } : { apiError: false, exception: arg.error };\r\n state.metadata.update.apiError = arg.apiError;\r\n }\r\n if (arg.success != undefined) state.metadata.update.success = arg.success;\r\n },\r\n \"reset-update-status\"(state) {\r\n state.updateTasks = {\r\n masterdata: false,\r\n attributeGroupPaths: false,\r\n alternativeArticleNumbers: false,\r\n globalAttributes: false,\r\n variantAttributes: false,\r\n invariantAttributes: false,\r\n multiArticlevariantAttributes: false,\r\n erpSections: false,\r\n mediaAssets: false,\r\n prices: false,\r\n priceAttributes: false,\r\n keywords: false,\r\n classifications: false,\r\n references: false,\r\n referenceTypes: false,\r\n keywordTypes: false,\r\n translatedMasterdata: false,\r\n translatedGlobalAttributes: false,\r\n translatedVariantAttributes: false,\r\n translatedInvariantAttributes: false,\r\n translatedPriceAttributes: false,\r\n translatedMediaAssets: false,\r\n translatedKeywords: false\r\n };\r\n state.updateErrors = {\r\n masterdata: undefined,\r\n attributeGroupPaths: undefined,\r\n alternativeArticleNumbers: undefined,\r\n globalAttributes: undefined,\r\n variantAttributes: undefined,\r\n invariantAttributes: undefined,\r\n multiArticlevariantAttributes: undefined,\r\n erpSections: undefined,\r\n mediaAssets: undefined,\r\n prices: undefined,\r\n priceAttributes: undefined,\r\n keywords: undefined,\r\n classifications: undefined,\r\n references: undefined,\r\n referenceTypes: undefined,\r\n keywordTypes: undefined,\r\n translatedMasterdata: undefined,\r\n translatedGlobalAttributes: undefined,\r\n translatedVariantAttributes: undefined,\r\n translatedInvariantAttributes: undefined,\r\n translatedPriceAttributes: undefined,\r\n translatedMediaAssets: undefined,\r\n translatedKeywords: undefined\r\n };\r\n },\r\n \"notification-seen\"(state) {\r\n state.metadata.update.seen = true;\r\n },\r\n \"mark-dirty-status\"(state, args) {\r\n state.modified[args.section] = args.dirty;\r\n },\r\n \"clear-dirty-status\"(state) {\r\n state.modified = {\r\n masterdata: false,\r\n attributeGroupPaths: false,\r\n alternativeArticleNumbers: false,\r\n globalAttributes: false,\r\n variantAttributes: false,\r\n invariantAttributes: false,\r\n multiArticlevariantAttributes: false,\r\n erpSections: false,\r\n mediaAssets: false,\r\n prices: false,\r\n priceAttributes: false,\r\n keywords: false,\r\n classifications: false,\r\n references: false,\r\n referenceTypes: false,\r\n keywordTypes: false,\r\n translatedMasterdata: false,\r\n translatedGlobalAttributes: false,\r\n translatedVariantAttributes: false,\r\n translatedInvariantAttributes: false,\r\n translatedPriceAttributes: false,\r\n translatedMediaAssets: false,\r\n translatedKeywords: false\r\n };\r\n },\r\n \"refresh-user-list\"(state, payload) {\r\n state.common.users = payload;\r\n },\r\n reset(state, args) {\r\n const newState = defaultState();\r\n if (args && args.loading) {\r\n state.metadata.loading = newState.metadata.loading = true;\r\n }\r\n Object.assign(state, newState);\r\n }\r\n },\r\n actions: {\r\n loadMasterData: async function (context, args) {\r\n const data = await articleApi.getMasterData(args);\r\n\r\n context.commit(\"refresh-article-masterdata\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadAlternativeArticleNumbers: async function (context, args) {\r\n const data = await articleApi.getAlternativeArticleNumbers(args);\r\n context.commit(\"refresh-article-alternative-articlenumbers\", {\r\n data: data\r\n });\r\n },\r\n loadGlobalAttributes: async function (context, args) {\r\n const data = await articleApi.getGlobalAttributes(args);\r\n context.commit(\"refresh-article-global-attributes\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadVariantAttributes: async function (context, args) {\r\n const data = await articleApi.getVariantAttributes(args);\r\n context.commit(\"refresh-article-variant-attributes\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadVariantAttributesWithlocalizations: async function (context, args) {\r\n context.commit(\"variant-attributes-loading-state-update\", true);\r\n let languages = args.languages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = new Set(languages);\r\n languages = Array.from(languages);\r\n const tasks = [];\r\n\r\n languages.forEach((lang) => {\r\n tasks.push(context.dispatch(\"loadVariantAttributes\", { articleId: args.articleId, language: lang }));\r\n });\r\n try {\r\n await Promise.all(tasks);\r\n } finally {\r\n context.commit(\"variant-attributes-loading-state-update\", true);\r\n }\r\n },\r\n loadInvariantAttributes: async function (context, args) {\r\n const data = await articleApi.getInvariantAttributes(args);\r\n context.commit(\"refresh-article-invariant-attributes\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadMultiArticleVariantAttributes: async function (context, args) {\r\n const requestedLanguages = context.rootState.metadata.contentLanguages.enabled;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = new Set(languages);\r\n languages = Array.from(languages);\r\n const attributes = {};\r\n\r\n const tasks = languages.map(async (lang) => {\r\n const data = await articleApi.getMultiArticleVariantAttributes(\r\n args.articleId || context.state.metadata.articleId,\r\n lang,\r\n args.articlePagesize,\r\n args.articlePageOffset,\r\n args.attributePagesize,\r\n args.attributePageOffset\r\n );\r\n attributes[lang] = data;\r\n });\r\n\r\n await Promise.all(tasks);\r\n context.commit(\"refresh-multi-article-variant-attributes\", {\r\n data: attributes\r\n });\r\n },\r\n loadErpAttributes: async function (context, args) {\r\n const data = await articleApi.getErpSections(args);\r\n context.commit(\"refresh-article-erp-sections\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadPrices: async function (context, args) {\r\n const data = await articleApi.getPrices(args);\r\n context.commit(\"refresh-article-prices\", {\r\n data: data\r\n });\r\n },\r\n loadPriceAttributes: async function (context, args) {\r\n const data = await articleApi.getPriceAttributes(args);\r\n context.commit(\"refresh-article-price-attributes\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadKeywords: async function (context, args) {\r\n const data = await articleApi.getKeywords(args);\r\n context.commit(\"refresh-article-keywords\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadClassifications: async function (context, args) {\r\n const data = await articleApi.getClassifications(args);\r\n context.commit(\"refresh-article-classifications\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadReferences: async function (context, args) {\r\n const data = await articleApi.getReferences(args);\r\n context.commit(\"refresh-article-references\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadMediaAssets: async function (context, args) {\r\n const data = await articleApi.getMediaAssets(args);\r\n context.commit(\"refresh-article-media-assets\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadCatalogs: async function (context, args) {\r\n const data = await articleApi.getCatalogs(args);\r\n context.commit(\"refresh-article-catalogs\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadReferenceTypes: async function (context, args) {\r\n try {\r\n const referenceTypes = await referenceTypeApi.get(args);\r\n context.commit(\"refresh-reference-types\", {\r\n language: args.languageCode,\r\n data: referenceTypes\r\n });\r\n } catch (error) {\r\n console.error(\"error on loading referencetypes\", error);\r\n }\r\n },\r\n loadKeywordTypes: async function ({ commit, getters }) {\r\n try {\r\n const languages = getters.languagesForEditorServices;\r\n const keywordTypes = await keywordTypeApi.get(languages);\r\n commit(\"refresh-keyword-types\", keywordTypes);\r\n } catch (error) {\r\n console.error(\"error on loading keywordTypes\", error);\r\n }\r\n },\r\n loadAllStates: async function ({ commit }) {\r\n try {\r\n const states = await articleApi.getAllArticleStates();\r\n commit(\"common-data-update-articlestate\", states);\r\n } catch (error) {\r\n commit(\"common-data-loaded\", false);\r\n console.error(\"List of article states failed loading\", error);\r\n }\r\n },\r\n loadAllUsers: async function ({ commit }) {\r\n try {\r\n const users = await commonApi.getAllUsers();\r\n commit(\"refresh-user-list\", users);\r\n } catch (error) {\r\n console.error(\"List of users failed loading\", error);\r\n }\r\n },\r\n loadAllCommonData: async function ({ state, commit, dispatch }, args) {\r\n if (state.common.loaded && !args.force) return Promise.resolve();\r\n\r\n commit(\"common-data-loaded\", false);\r\n const states = dispatch(\"loadAllStates\");\r\n const users = dispatch(\"loadAllUsers\");\r\n const numberTypes = dispatch(\"loadAlternativeArticleNoTypes\");\r\n const referenceTypes = dispatch(\"loadReferenceTypes\", { languageCode: args.language });\r\n const keywordTypes = dispatch(\"loadKeywordTypes\");\r\n\r\n try {\r\n await Promise.all([states, users, numberTypes, referenceTypes, keywordTypes]);\r\n commit(\"common-data-loaded\", true);\r\n } catch (error) {\r\n console.error(\"loadAllCommonData failed\", error);\r\n }\r\n },\r\n loadAlternativeArticleNoTypes: async function ({ commit }) {\r\n try {\r\n const alternativeArticleNoTypes = await alternativeArticleNoTypesApi.get();\r\n commit(\"refresh-alternative-article-no-types\", alternativeArticleNoTypes);\r\n } catch (error) {\r\n console.error(\"error on loading AlternativeArticleNoTypes\", error);\r\n }\r\n },\r\n loadArticleWithLocalizations: async function ({ dispatch, commit, rootState }, args) {\r\n const logContext = eventLogger.beginContext(\"loadArticleWithLocalizations\");\r\n logContext.info(\"Initiating article load\", { ...args }).alsoToConsole();\r\n try {\r\n const requestedLanguages = args.languages || rootState.metadata.contentLanguages.enabled;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = Array.from(new Set(languages));\r\n const tasks = [];\r\n\r\n commit(\"article-loading-state-update\", true);\r\n commit(\"reset\", { loading: true });\r\n commit(\"change-article\", args.articleId);\r\n commit(\"article-loaded\", false);\r\n tasks.push(dispatch(\"loadAllCommonData\", { language: languages[0] }));\r\n tasks.push(dispatch(\"loadCatalogs\", { articleId: args.articleId, language: languages[0] }));\r\n languages.forEach((lang) => {\r\n tasks.push(dispatch(\"loadMasterData\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadAlternativeArticleNumbers\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadGlobalAttributes\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadVariantAttributes\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadInvariantAttributes\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadErpAttributes\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadPrices\", { articleId: args.articleId }));\r\n tasks.push(dispatch(\"loadPriceAttributes\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadReferences\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadMediaAssets\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadKeywords\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadClassifications\", { articleId: args.articleId, language: lang }));\r\n });\r\n // Since lang iteration is already present inside the method loadMultiArticleVariantAttributes,\r\n // So we can add this outside of the above lang iteration.\r\n tasks.push(dispatch(\"loadMultiArticleVariantAttributes\", { articleId: args.articleId }));\r\n await Promise.all(tasks);\r\n logContext.info(\"Article loading completed successfully\", { ...args }).alsoToConsole();\r\n } catch (error) {\r\n logContext.error(\"Article loading completed with errors\", { ...args, exception: error }).alsoToConsole();\r\n console.error(\"loading completed with errors for article\", args, error);\r\n commit(\"article-loaded\", false);\r\n } finally {\r\n logContext.complete();\r\n commit(\"article-loading-state-update\", false);\r\n commit(\"article-loaded\", true);\r\n }\r\n },\r\n loadArticleAttributesWithLocalizations: async function ({ dispatch, commit }, args) {\r\n const requestedLanguages = args.languages;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = new Set(languages);\r\n const tasks = [];\r\n\r\n commit(\"article-loading-state-update\", true);\r\n languages.forEach((lang) => {\r\n tasks.push(dispatch(\"loadVariantAttributes\", { articleId: args.articleId, language: lang }));\r\n tasks.push(dispatch(\"loadInvariantAttributes\", { articleId: args.articleId, language: lang }));\r\n });\r\n try {\r\n await Promise.all(tasks);\r\n const masterdataTasks = [];\r\n requestedLanguages.forEach((lang) => {\r\n masterdataTasks.push(dispatch(\"loadMasterData\", { articleId: args.articleId, language: lang.languageCode }));\r\n });\r\n await Promise.all(masterdataTasks);\r\n } catch (error) {\r\n console.error(\"loading-complete with errors for article attributes\", args, error);\r\n }\r\n\r\n commit(\"article-loading-state-update\", false);\r\n },\r\n loadTranslatedArticlesWithLocalization: async function ({ dispatch }, args) {\r\n const logContext = eventLogger.beginContext(\"loadTranslatedArticlesWithLocalization\");\r\n const { languages: requestedLanguages, ...rest } = args;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = Array.from(new Set(languages));\r\n const tasks = [];\r\n\r\n logContext.info(\"Loading translation tab for article editor\", rest);\r\n\r\n tasks.push(\r\n dispatch(\"loadTranslatedArticleMasterdata\", {\r\n variationGroupId: args.variationGroupId,\r\n languages,\r\n pagesize: args.pagesize,\r\n pageOffset: args.pageOffset,\r\n logContext\r\n })\r\n );\r\n tasks.push(\r\n dispatch(\"loadTranslatedArticleGlobalAttribute\", {\r\n variationGroupId: args.variationGroupId,\r\n languages,\r\n pagesize: args.pagesize,\r\n pageOffset: args.pageOffset,\r\n logContext\r\n })\r\n );\r\n tasks.push(\r\n dispatch(\"loadTranslatedArticleVariantAttribute\", {\r\n variationGroupId: args.variationGroupId,\r\n languages,\r\n pagesize: args.pagesize,\r\n pageOffset: args.pageOffset,\r\n logContext\r\n })\r\n );\r\n tasks.push(\r\n dispatch(\"loadTranslatedArticleInvariantAttribute\", {\r\n variationGroupId: args.variationGroupId,\r\n languages,\r\n pagesize: args.pagesize,\r\n pageOffset: args.pageOffset,\r\n logContext\r\n })\r\n );\r\n tasks.push(\r\n dispatch(\"loadTranslatedArticlePriceAttribute\", {\r\n variationGroupId: args.variationGroupId,\r\n languages,\r\n pagesize: args.pagesize,\r\n pageOffset: args.pageOffset,\r\n logContext\r\n })\r\n );\r\n tasks.push(\r\n dispatch(\"loadTranslatedArticleMediaAsset\", {\r\n variationGroupId: args.variationGroupId,\r\n languages,\r\n pagesize: args.pagesize,\r\n pageOffset: args.pageOffset,\r\n logContext\r\n })\r\n );\r\n tasks.push(\r\n dispatch(\"loadTranslatedArticleKeywords\", {\r\n variationGroupId: args.variationGroupId,\r\n languages,\r\n pagesize: args.pagesize,\r\n pageOffset: args.pageOffset,\r\n logContext\r\n })\r\n );\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation tab for article editor completed successfully\", rest);\r\n } catch (error) {\r\n console.error(\"loading-complete with errors for article translation\", args, error);\r\n logContext.info(\"Loading translation tab for article editor completed with errors\", { ...rest, exception: error });\r\n }\r\n logContext.complete();\r\n },\r\n loadTranslatedArticleMasterdata: async function (context, args) {\r\n const model = {};\r\n const { logContext, languages, ...rest } = args;\r\n logContext.info(\"Loading translation masterdata for article editor translation tab\", rest);\r\n const tasks = languages.map(async (languageCode) => {\r\n const data = await translationsApi.getMasterData(args.variationGroupId, languageCode, args.pagesize, args.pageOffset);\r\n model[languageCode] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation masterdata for article editor translation tab completed\", rest);\r\n context.commit(\"translation-article-master-data\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n logContext.error(\"Loading translation masterdata\", { ...rest, exception: error });\r\n console.error(\"load translated article master data failed with error\", error);\r\n }\r\n },\r\n loadTranslatedArticleGlobalAttribute: async function (context, args) {\r\n const model = {};\r\n const { logContext, languages, ...rest } = args;\r\n logContext.info(\"Loading translation global attributes for article editor translation tab\", rest);\r\n const tasks = languages.map(async (lang) => {\r\n const data = await translationsApi.getGlobalAttributes(args.variationGroupId, lang, args.pagesize, args.pageOffset);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation global attributes for article editor translation tab completed\", rest);\r\n context.commit(\"translation-article-global-attributes\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n logContext.error(\"Loading translation global attributes failed\", { ...rest, exception: error });\r\n console.error(\"load translated article global attributes failed with error\", error);\r\n }\r\n },\r\n loadTranslatedArticleVariantAttribute: async function (context, args) {\r\n const model = {};\r\n const { logContext, languages, ...rest } = args;\r\n logContext.info(\"Loading translation variant attributes for article editor translation tab\", rest);\r\n const tasks = languages.map(async (lang) => {\r\n const data = await translationsApi.getVariantAttributes(args.variationGroupId, lang, args.pagesize, args.pageOffset);\r\n model[lang] = data;\r\n });\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation variant attributes for article editor translation tab completed\", rest);\r\n context.commit(\"translation-article-variant-attributes\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n logContext.error(\"Loading translation variant attributes failed\", { ...rest, exception: error });\r\n console.error(\"load translated article variant attributes failed with error\", error);\r\n }\r\n },\r\n loadTranslatedArticleInvariantAttribute: async function (context, args) {\r\n const model = {};\r\n const { logContext, languages, ...rest } = args;\r\n logContext.info(\"Loading translation invariant attributes for article editor translation tab\", rest);\r\n const tasks = languages.map(async (lang) => {\r\n const data = await translationsApi.getInvariantAttributes(args.variationGroupId, lang, args.pagesize, args.pageOffset);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation invariant attributes for article editor translation tab completed\", rest);\r\n context.commit(\"translation-article-invariant-attributes\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n logContext.error(\"Loading translation global attributes failed\", { ...rest, exception: error });\r\n console.error(\"load translated article invariant attributes failed with error\", error);\r\n }\r\n },\r\n loadTranslatedArticlePriceAttribute: async function (context, args) {\r\n const model = {};\r\n const { logContext, languages, ...rest } = args;\r\n logContext.info(\"Loading translation price attributes for article editor translation tab\", rest);\r\n const tasks = languages.map(async (lang) => {\r\n const data = await translationsApi.getPriceAttributes(args.variationGroupId, lang, args.pagesize, args.pageOffset);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation price attributes for article editor translation tab completed\", rest);\r\n context.commit(\"translation-article-price-attributes\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n logContext.error(\"Loading translation price attributes failed\", { ...rest, exception: error });\r\n console.error(\"load translated article price attributes failed with error\", error);\r\n }\r\n },\r\n loadTranslatedArticleMediaAsset: async function (context, args) {\r\n const model = {};\r\n const { logContext, languages, ...rest } = args;\r\n logContext.info(\"Loading translation media assets for article editor translation tab\", rest);\r\n const tasks = languages.map(async (lang) => {\r\n const data = await translationsApi.getMediaAssets(args.variationGroupId, lang, args.pagesize, args.pageOffset);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation media assets for article editor translation tab completed\", rest);\r\n context.commit(\"translation-article-media-assets\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n logContext.error(\"Loading translation media assets failed\", { ...rest, exception: error });\r\n console.error(\"load translated article media assets failed with error\", error);\r\n }\r\n },\r\n loadTranslatedArticleKeywords: async function (context, args) {\r\n const model = {};\r\n const { logContext, languages, ...rest } = args;\r\n logContext.info(\"Loading translation keywords for article editor translation tab\", rest);\r\n const tasks = languages.map(async (lang) => {\r\n const data = await translationsApi.getKeywords(args.variationGroupId, lang, context.state.metadata.articleId, args.pagesize, args.pageOffset);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Loading translation keywords for article editor translation tab completed\", rest);\r\n context.commit(\"translation-article-keywords\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n logContext.error(\"Loading translation article keywords failed\", { ...rest, exception: error });\r\n console.error(\"load translated article keywords failed with error\", error);\r\n }\r\n },\r\n saveMasterData: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveMasterData\");\r\n context.commit(\"refresh-article-masterdata\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"masterdata\", running: true });\r\n logger.info(\"Saving article master data\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n\r\n let success;\r\n try {\r\n await articleApi.updateMasterData(args.language, context.state.metadata.articleId, args.inheritStatus, args.model);\r\n logger.info(\"Saving article master data successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n context.commit(\"update-save-status\", { section: \"masterdata\", running: false });\r\n success = true;\r\n } catch (error) {\r\n logger\r\n .error(\"Saving article master data failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n context.commit(\"update-save-status\", { section: \"masterdata\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n success = false;\r\n }\r\n logger.complete();\r\n return success;\r\n },\r\n saveGlobalAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveGlobalAttributes\");\r\n context.commit(\"refresh-article-global-attributes\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n logger.info(\"Saving global attributes\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n context.commit(\"update-save-status\", { section: \"globalAttributes\", running: true });\r\n try {\r\n await articleApi.updateGlobalAttributes(args.language, context.state.metadata.articleId, args.model);\r\n logger.info(\"Saving global attributes successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n logger\r\n .error(\"Saving global attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n context.commit(\"update-save-status\", { section: \"globalAttributes\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n }\r\n logger.complete();\r\n context.commit(\"update-save-status\", { section: \"globalAttributes\", running: false });\r\n },\r\n saveVariantAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveVariantAttributes\");\r\n context.commit(\"refresh-article-variant-attributes\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n logger.info(\"Saving variant attributes\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n context.commit(\"update-save-status\", { section: \"variantAttributes\", running: true });\r\n try {\r\n await articleApi.updateVariantAttributes(args.language, context.state.metadata.articleId, args.model);\r\n logger.info(\"Saving variant attributes successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"variantAttributes\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving variant attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n logger.complete();\r\n context.commit(\"update-save-status\", { section: \"variantAttributes\", running: false });\r\n },\r\n saveInvariantAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveInvariantAttributes\");\r\n context.commit(\"refresh-article-invariant-attributes\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"invariantAttributes\", running: true });\r\n logger.info(\"Saving invariant attributes\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n try {\r\n await articleApi.updateInvariantAttributes(args.language, context.state.metadata.articleId, args.model);\r\n logger.info(\"Saving invariant attributes successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"invariantAttributes\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving invariant attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n logger.complete();\r\n context.commit(\"update-save-status\", { section: \"invariantAttributes\", running: false });\r\n },\r\n saveMultiArticleVariantAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveMultiArticleVariantAttributes\");\r\n context.commit(\"refresh-multi-article-variant-attributes\", {\r\n data: args.data\r\n });\r\n logger.info(\"Saving multi article variant attributes\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n context.commit(\"update-save-status\", { section: \"variantAttributes\", running: true });\r\n try {\r\n const tasks = args.languages.map((x) => articleApi.updateMultiArticleVariantAttributes(x, context.state.metadata.articleId, args.data[x].attributes));\r\n await Promise.all(tasks);\r\n logger\r\n .info(\"Saving multi article variant attributes successful\", { language: args.language, articleId: context.state.metadata.articleId })\r\n .alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"variantAttributes\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving multi article variant attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"variantAttributes\", running: false });\r\n },\r\n saveClassifications: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveClassifications\");\r\n context.commit(\"refresh-article-classifications\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"classifications\", running: true });\r\n logger.info(\"Saving classifications\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n try {\r\n await articleApi.updateClassifications(args.language, context.state.metadata.articleId, args.model);\r\n logger.info(\"Saving classifications successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"classifications\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving classifications failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"classifications\", running: false });\r\n },\r\n saveAlternateArticleNumbers: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveAlternateArticleNumbers\");\r\n context.commit(\"refresh-article-alternative-articlenumbers\", {\r\n data: args\r\n });\r\n context.commit(\"update-save-status\", { section: \"alternativeArticleNumbers\", running: true });\r\n logger.info(\"Saving alternate article numbers\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n try {\r\n await articleApi.updateAlternateArticleNumbers(\r\n context.rootState.metadata.contentLanguages.enabled[0].languageCode,\r\n context.state.metadata.articleId,\r\n args\r\n );\r\n logger.info(\"Saving alternate article numbers successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"alternativeArticleNumbers\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n logger\r\n .error(\"Saving alternate article numbers failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"alternativeArticleNumbers\", running: false });\r\n },\r\n saveErpSections: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveErpSections\");\r\n context.commit(\"refresh-article-erp-sections\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"erpSections\", running: true });\r\n logger.info(\"Saving erp sections\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n try {\r\n await articleApi.updateErpSections(args.language, context.state.metadata.articleId, args.model);\r\n logger.info(\"Saving erp sections successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"erpSections\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger.error(\"Saving erp sections failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error }).alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"erpSections\", running: false });\r\n },\r\n savePriceAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"savePriceAttributes\");\r\n context.commit(\"refresh-article-price-attributes\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"priceAttributes\", running: true });\r\n logger.info(\"Saving price attributes\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n try {\r\n await articleApi.updatePriceAttributes(args.language, context.state.metadata.articleId, args.model);\r\n logger.info(\"Saving price attributes successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"priceAttributes\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving price attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"priceAttributes\", running: false });\r\n },\r\n savePrices: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"savePrices\");\r\n context.commit(\"refresh-article-prices\", {\r\n data: args\r\n });\r\n context.commit(\"update-save-status\", { section: \"prices\", running: true });\r\n logger.info(\"Saving prices\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n try {\r\n await articleApi.updatePrices(context.rootState.metadata.contentLanguages.enabled[0].languageCode, context.state.metadata.articleId, args);\r\n await context.dispatch(\"loadPrices\", { articleId: context.state.metadata.articleId });\r\n\r\n logger.info(\"Saving prices successful\", { language: args.language, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"prices\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger.error(\"Saving prices failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error }).alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"prices\", running: false });\r\n },\r\n saveKeywords: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveKeywords\");\r\n const languages = Object.keys(args.model);\r\n\r\n logger.info(\"Saving keywords\", { languages: args.languages, articleId: context.state.metadata.articleId }).alsoToConsole();\r\n context.commit(\"update-save-status\", { section: \"keywords\", running: true });\r\n try {\r\n await articleApi.updateKeywords(args.languages, context.state.metadata.articleId, args.keywords);\r\n const tasks = [];\r\n languages.forEach((lang) => {\r\n tasks.push(context.dispatch(\"loadKeywords\", { articleId: context.state.metadata.articleId, language: lang }));\r\n });\r\n await Promise.all(tasks);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"keywords\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger.error(\"Saving keywords failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error }).alsoToConsole();\r\n }\r\n logger.complete();\r\n context.commit(\"update-save-status\", { section: \"keywords\", running: false });\r\n },\r\n saveMediaAssets: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveMediaAssets\");\r\n context.commit(\"refresh-article-media-assets\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n let changedMediaAssetids = [];\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: true });\r\n try {\r\n changedMediaAssetids = await articleApi.updateMediaAssets(args.language, context.state.metadata.articleId, args.model);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger.error(\"Saving media assets failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error }).alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: false });\r\n return changedMediaAssetids;\r\n },\r\n saveReferences: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveReferences\");\r\n context.commit(\"refresh-article-references\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"references\", running: true });\r\n try {\r\n await articleApi.updateReferences(args.language, context.state.metadata.articleId, args.model);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"references\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger.error(\"Saving references failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error }).alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"references\", running: false });\r\n },\r\n saveTraslatedMasterdata: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveTraslatedMasterdata\");\r\n context.commit(\"update-save-status\", { section: \"translatedMasterdata\", running: true });\r\n try {\r\n const languages = Object.keys(args.data);\r\n const tasks = languages.map((lang) => translationsApi.updateMasterdata(lang, args.variationGroupId, args.data[lang]));\r\n await Promise.all(tasks);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"translatedMasterdata\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving translation tab masterdata failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedMasterdata\", running: false });\r\n },\r\n saveTraslatedGlobalAttribute: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveTraslatedGlobalAttribute\");\r\n context.commit(\"update-save-status\", { section: \"translatedGlobalAttributes\", running: true });\r\n try {\r\n const languages = Object.keys(args.data);\r\n const tasks = languages.map((lang) => translationsApi.updateGlobalAttributes(lang, args.variationGroupId, args.data[lang]));\r\n await Promise.all(tasks);\r\n context.commit(\"translation-article-global-attributes\", {\r\n data: args.data\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"translatedGlobalAttributes\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n logger\r\n .error(\"Saving translation tab global attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedGlobalAttributes\", running: false });\r\n },\r\n saveTraslatedVariantAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveTraslatedVariantAttributes\");\r\n context.commit(\"update-save-status\", { section: \"translatedVariantAttributes\", running: true });\r\n try {\r\n const languages = Object.keys(args.data);\r\n const tasks = languages.map((lang) => translationsApi.updateVariantAttributes(lang, args.variationGroupId, args.data[lang]));\r\n await Promise.all(tasks);\r\n context.commit(\"translation-article-variant-attributes\", {\r\n data: args.data\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"translatedVariantAttributes\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n logger\r\n .error(\"Saving translation tab variant attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedVariantAttributes\", running: false });\r\n },\r\n saveTraslatedInvariantAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveTraslatedInvariantAttributes\");\r\n context.commit(\"update-save-status\", { section: \"translatedInvariantAttributes\", running: true });\r\n try {\r\n const languages = Object.keys(args.data);\r\n const tasks = languages.map((lang) => translationsApi.updateInvariantAttributes(lang, args.variationGroupId, args.data[lang]));\r\n await Promise.all(tasks);\r\n context.commit(\"translation-article-invariant-attributes\", {\r\n data: args.data\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"translatedInvariantAttributes\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n logger\r\n .error(\"Saving translation tab invariant attributes failed\", {\r\n language: args.language,\r\n articleId: context.state.metadata.articleId,\r\n exception: error\r\n })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedInvariantAttributes\", running: false });\r\n },\r\n saveTraslatedPriceAttributes: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveTraslatedPriceAttributes\");\r\n context.commit(\"update-save-status\", { section: \"translatedPriceAttributes\", running: true });\r\n try {\r\n const languages = Object.keys(args.data);\r\n const tasks = languages.map((lang) => translationsApi.updatePriceAttributes(lang, args.variationGroupId, args.data[lang]));\r\n await Promise.all(tasks);\r\n context.commit(\"translation-article-price-attributes\", {\r\n data: args.data\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"translatedPriceAttributes\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n logger\r\n .error(\"Saving translation tab price attributes failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedPriceAttributes\", running: false });\r\n },\r\n saveTranslatedMediaAssets: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveTranslatedMediaAssets\");\r\n context.commit(\"update-save-status\", { section: \"translatedMediaAssets\", running: true });\r\n try {\r\n const languages = Object.keys(args.data);\r\n const tasks = languages.map((lang) => translationsApi.updateMediaAssets(lang, args.variationGroupId, args.data[lang]));\r\n await Promise.all(tasks);\r\n context.commit(\"translation-article-media-assets\", {\r\n data: args.data\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"translatedMediaAssets\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving translation tab media assets failed\", { language: args.language, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedMediaAssets\", running: false });\r\n },\r\n saveTraslatedKeywords: async function (context, args) {\r\n const logger = eventLogger.beginContext(\"saveTraslatedKeywords\");\r\n context.commit(\"update-save-status\", { section: \"translatedKeywords\", running: true });\r\n try {\r\n await translationsApi.updateKeywords(args.languages, args.data, args.variationGroupId);\r\n\r\n const source = args.data;\r\n const translationkeywords = {};\r\n args.languages.forEach((lang, langIndex) => {\r\n translationkeywords[lang] = source.map((x, rowIndex) => {\r\n return args.data[rowIndex][langIndex];\r\n });\r\n });\r\n\r\n context.commit(\"translation-article-keywords\", {\r\n data: translationkeywords\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"translatedKeywords\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n logger\r\n .error(\"Saving translation tab keywords failed\", { languages: args.languages, articleId: context.state.metadata.articleId, exception: error })\r\n .alsoToConsole();\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedKeywords\", running: false });\r\n }\r\n }\r\n};\r\n","import catalogNodeApi from \"../../services/catalogNodes\";\r\nimport variationGroupAPi from \"../../services/variationGroups\";\r\nimport articleApi from \"../../services/article\";\r\n\r\nfunction defaultState() {\r\n return {\r\n masterData: {},\r\n invariantAttributes: {},\r\n multiArticleVariantAttributes: {},\r\n mediaAssets: {},\r\n articlePrices: {},\r\n priceSettings: {},\r\n paging: {\r\n articles: {\r\n pagesize: 5,\r\n pageNumber: 0\r\n }\r\n },\r\n metadata: {\r\n loading: true,\r\n update: {\r\n seen: true\r\n },\r\n node: {\r\n nodeId: \"\",\r\n catalogId: \"\"\r\n }\r\n },\r\n modified: {\r\n masterData: false,\r\n invariantAttributes: false,\r\n multiArticleVariantAttributes: false,\r\n mediaAssets: false,\r\n articlePrices: false,\r\n priceAttributes: false\r\n },\r\n updateTasks: {\r\n masterData: [],\r\n invariantAttributes: [],\r\n multiArticleVariantAttributes: [],\r\n mediaAssets: [],\r\n articlePrices: [],\r\n priceAttributes: []\r\n },\r\n updateErrors: {\r\n masterData: [],\r\n invariantAttributes: [],\r\n multiArticleVariantAttributes: [],\r\n mediaAssets: [],\r\n articlePrices: [],\r\n priceAttributes: []\r\n }\r\n };\r\n}\r\nexport default {\r\n namespaced: true,\r\n state: defaultState(),\r\n getters: {\r\n isSaving(state) {\r\n return Object.keys(state.updateTasks).some((x) => !!state.updateTasks[x].length);\r\n },\r\n hasUnsavedData(state) {\r\n const sections = Object.keys(state.modified);\r\n return sections.some((x) => state.modified[x]);\r\n },\r\n lastRunSuccess(state) {\r\n return Object.keys(state.updateErrors).every((x) => !state.updateErrors[x].length);\r\n },\r\n priceQuantityAttribute(state, getters, rootState) {\r\n if (!state.priceSettings.quantityAttributeId) return null;\r\n if (!Object.keys(state.priceAttributes).length) return null;\r\n\r\n const language = rootState.metadata.contentLanguages.enabled[0];\r\n if (!language) return null;\r\n\r\n const item = state.priceAttributes[language.languageCode]?.[state.priceSettings?.quantityAttributeId];\r\n if (!item) return null;\r\n\r\n const fallback = language.fallbackLanguageCode ? state.priceAttributes[language.fallbackLanguageCode]?.[state.priceSettings.quantityAttributeId] : null;\r\n const data = {};\r\n data[language.languageCode] = item;\r\n\r\n if (fallback) data[language.fallbackLanguageCode] = fallback;\r\n\r\n return data;\r\n },\r\n unitQuantityAttribute(state, getters, rootState) {\r\n if (!state.priceSettings.unitAttributeId) return null;\r\n if (!Object.keys(state.priceAttributes).length) return null;\r\n\r\n const language = rootState.metadata.contentLanguages.enabled[0];\r\n if (!language) return null;\r\n\r\n const item = state.priceAttributes[language.languageCode]?.[state.priceSettings.unitAttributeId];\r\n if (!item) return null;\r\n\r\n const fallback = language.fallbackLanguageCode ? state.priceAttributes[language.fallbackLanguageCode]?.[state.priceSettings.unitAttributeId] : null;\r\n const data = {};\r\n data[language.languageCode] = item;\r\n\r\n if (fallback) data[language.fallbackLanguageCode] = fallback;\r\n\r\n return data;\r\n }\r\n },\r\n mutations: {\r\n \"refresh-masterdata\"(state, arg) {\r\n const data = Object.assign({}, state.masterData);\r\n data[arg.language] = arg.data;\r\n state.masterData = data;\r\n },\r\n \"refresh-article-media-assets\"(state, arg) {\r\n state.mediaAssets = arg;\r\n },\r\n \"change-node\"(state, args) {\r\n state.metadata.node = args;\r\n },\r\n \"refresh-article-invariant-attributes\"(state, arg) {\r\n state.invariantAttributes = arg;\r\n },\r\n \"refresh-multi-article-variant-attributes\"(state, arg) {\r\n state.multiArticleVariantAttributes = arg;\r\n },\r\n \"refresh-article-prices\"(state, prices) {\r\n state.articlePrices = prices;\r\n },\r\n \"refresh-price-settings\"(state, priceinfo) {\r\n state.priceSettings = { unitAttributeId: priceinfo.orderUnitId, quantityAttributeId: priceinfo.priceQuantityId };\r\n },\r\n \"refresh-article-price-attributes\"(state, args) {\r\n state.priceAttributes = args;\r\n },\r\n \"update-loading-state\"(state, isLoading) {\r\n state.metadata.loading = isLoading;\r\n },\r\n \"update-save-status\"(state, arg) {\r\n const section = state.updateTasks[arg.section];\r\n if (arg.running && section.indexOf(arg.lang) < 0) section.push(arg.lang);\r\n if (!arg.running) {\r\n const x = section.indexOf(arg.lang);\r\n section.splice(x, 1);\r\n }\r\n state.metadata.update.seen = arg.seen == undefined ? false : arg.seen;\r\n if (arg.error) {\r\n state.updateErrors[arg.section].push(arg.error);\r\n state.metadata.update.apiError = arg.apiError;\r\n }\r\n if (arg.success != undefined) state.metadata.update.success = arg.success;\r\n },\r\n \"notification-seen\"(state) {\r\n state.metadata.update.seen = true;\r\n },\r\n \"mark-dirty-status\"(state, args) {\r\n const data = { ...state.modified };\r\n data[args.section] = args.dirty;\r\n state.modified = data;\r\n },\r\n \"clear-dirty-status\"(state) {\r\n const defaultTemplate = defaultState();\r\n state.modified = defaultTemplate.modified;\r\n },\r\n \"reset-state\"(state) {\r\n Object.assign(state, defaultState());\r\n },\r\n \"reset-update-status\"(state) {\r\n const defaultTemplate = defaultState();\r\n state.updateTasks = defaultTemplate.updateTasks;\r\n state.updateErrors = defaultTemplate.updateErrors;\r\n },\r\n \"update-article-paging\"(state, args) {\r\n state.paging.articles.pagesize = args.pageSize;\r\n state.paging.articles.pageNumber = args.pageNumber;\r\n }\r\n },\r\n actions: {\r\n loadMasterData: async function (context, args) {\r\n const data = await catalogNodeApi.getMasterData(args.nodeId, args.catalogId, args.language);\r\n\r\n context.commit(\"refresh-masterdata\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadVariationGroupWithLocalizations: async function ({ dispatch, rootState, commit }, args) {\r\n try {\r\n commit(\"update-loading-state\", true);\r\n commit(\"reset-state\");\r\n commit(\"change-node\", { nodeId: args.nodeId, catalogId: args.catalogId });\r\n\r\n const requestedLanguages = args.languages || rootState.metadata.contentLanguages.enabled;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = Array.from(new Set(languages));\r\n const tasks = [];\r\n languages.forEach((lang) => {\r\n tasks.push(dispatch(\"loadMasterData\", { nodeId: args.nodeId, catalogId: args.catalogId, language: lang }));\r\n });\r\n\r\n tasks.push(dispatch(\"loadArticlePriceAttributes\", { variationGroupId: args.nodeId, catalogId: args.catalogId, languages: languages }));\r\n tasks.push(\r\n dispatch(\"loadArticleVariantAttributes\", {\r\n variationGroupId: args.nodeId,\r\n catalogId: args.catalogId,\r\n languages: languages,\r\n articlePagesize: 5,\r\n articlePageNumber: 1,\r\n articlePageOffset: 0\r\n })\r\n );\r\n tasks.push(dispatch(\"loadArticleInvariantAttributes\", { variationGroupId: args.nodeId, catalogId: args.catalogId, languages: languages }));\r\n tasks.push(dispatch(\"loadArticleMediaAssets\", { variationGroupId: args.nodeId, catalogId: args.catalogId, languages: languages }));\r\n\r\n await Promise.all(tasks);\r\n } catch (error) {\r\n console.error(\"loadVariationGroupWithLocalizations failed:\", error);\r\n }\r\n commit(\"update-loading-state\", false);\r\n },\r\n loadCatalogGroupWithLocalizations: async function ({ dispatch, rootState, commit }, args) {\r\n try {\r\n commit(\"reset-state\");\r\n commit(\"update-loading-state\", true);\r\n commit(\"change-node\", { nodeId: args.nodeId, catalogId: args.catalogId });\r\n\r\n const requestedLanguages = args.languages || rootState.metadata.contentLanguages.enabled;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = new Set(languages);\r\n const tasks = [];\r\n languages.forEach((lang) => {\r\n tasks.push(dispatch(\"loadMasterData\", { nodeId: args.nodeId, catalogId: args.catalogId, language: lang }));\r\n });\r\n\r\n await Promise.all(tasks);\r\n } catch (error) {\r\n console.error(\"loadCatalogNodeGroupWithLocalizations failed:\", error);\r\n }\r\n commit(\"update-loading-state\", false);\r\n },\r\n loadArticleVariantAttributes: async function (context, args) {\r\n const attributes = {};\r\n const tasks = args.languages.map(async (lang) => {\r\n attributes[lang] = await variationGroupAPi.getMultiArticleVariantAttributes(args.variationGroupId, lang, args.articlePagesize, args.articlePageOffset);\r\n });\r\n\r\n await Promise.all(tasks);\r\n context.commit(\"update-article-paging\", { pageSize: args.articlePagesize, pageNumber: args.articlePageNumber });\r\n context.commit(\"refresh-multi-article-variant-attributes\", attributes);\r\n context.commit(\"refresh-article-prices\", attributes[args.languages[0]].articlePrices.prices);\r\n context.commit(\"refresh-price-settings\", attributes[args.languages[0]].articlePrices);\r\n },\r\n loadArticleInvariantAttributes: async function (context, args) {\r\n const attributes = {};\r\n const tasks = args.languages.map(async (lang) => {\r\n attributes[lang] = await variationGroupAPi.getInvariantAttributes(args.variationGroupId, lang);\r\n });\r\n\r\n await Promise.all(tasks);\r\n context.commit(\"refresh-article-invariant-attributes\", attributes);\r\n },\r\n loadArticlePriceAttributes: async function (context, args) {\r\n const attributes = {};\r\n const tasks = args.languages.map(async (lang) => {\r\n attributes[lang] = await variationGroupAPi.GetPriceAttributesFromArticleUnderVariationGroup(args.variationGroupId, args.catalogId, lang);\r\n });\r\n await Promise.all(tasks);\r\n context.commit(\"refresh-article-price-attributes\", attributes);\r\n },\r\n loadArticleMediaAssets: async function (context, args) {\r\n const mediaAssets = {};\r\n const tasks = args.languages.map(async (lang) => {\r\n mediaAssets[lang] = await variationGroupAPi.getMediaAssets(args.variationGroupId, args.catalogId, lang);\r\n });\r\n\r\n await Promise.all(tasks);\r\n context.commit(\"refresh-article-media-assets\", mediaAssets);\r\n },\r\n saveMasterData: async function (context, args) {\r\n context.commit(\"refresh-masterdata\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"masterData\", lang: args.language, running: true });\r\n try {\r\n await catalogNodeApi.updateMasterData(args.language, args.model);\r\n context.commit(\"update-save-status\", { section: \"masterData\", lang: args.language, running: false });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"masterData\",\r\n lang: args.language,\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n },\r\n saveInvariantAttributes: async function (context, args) {\r\n context.commit(\"refresh-article-invariant-attributes\", args.model);\r\n context.commit(\"update-save-status\", { section: \"invariantAttributes\", running: true });\r\n try {\r\n const languages = Object.keys(args.model);\r\n const tasks = languages.map((lang) => articleApi.updateInvariantAttributes(lang, args.articleId, args.model[lang]));\r\n await Promise.all(tasks);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"invariantAttributes\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n }\r\n context.commit(\"update-save-status\", { section: \"invariantAttributes\", running: false });\r\n },\r\n saveMultiArticleVariantAttributes: async function (context, args) {\r\n context.commit(\"refresh-multi-article-variant-attributes\", args.model);\r\n context.commit(\"update-save-status\", { section: \"multiArticleVariantAttributes\", running: true });\r\n\r\n try {\r\n const languages = Object.keys(args.model);\r\n const tasks = languages.map((lang) => articleApi.updateMultiArticleVariantAttributes(lang, args.articleId, args.model[lang].attributes));\r\n await Promise.all(tasks);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"multiArticleVariantAttributes\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n context.commit(\"update-save-status\", { section: \"multiArticleVariantAttributes\", running: false });\r\n },\r\n saveMediaAssets: async function (context, args) {\r\n context.commit(\"refresh-article-media-assets\", args.model);\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: true });\r\n try {\r\n await variationGroupAPi.updateMediaAssetsUnderVariatonGroup(args.language, args.model[args.language]);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n console.error(\"Save article media assets failed with error\", error);\r\n }\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: false });\r\n },\r\n saveArticlePrices: async function (context, args) {\r\n context.commit(\"refresh-article-prices\", args);\r\n context.commit(\"update-save-status\", { section: \"articlePrices\", running: true });\r\n try {\r\n await variationGroupAPi.updatePricesForArticlesUnderVariatonGroup(context.state.metadata.node.nodeId, args);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"articlePrices\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n console.error(\"error\", error);\r\n }\r\n context.commit(\"update-save-status\", { section: \"articlePrices\", running: false });\r\n }\r\n }\r\n};\r\n","import catalogNodeApi from \"../../services/catalogNodes\";\r\nimport catalogTranslationApi from \"../../services/catalogGroupTranslations\";\r\nimport eventLogger from \"../../services/ApiLogger/EventLogger\";\r\n\r\nfunction defaultState() {\r\n return {\r\n masterData: {},\r\n path: [],\r\n attributes: {},\r\n mediaAssets: {},\r\n metadata: {\r\n loading: false,\r\n update: {\r\n seen: true\r\n },\r\n node: {\r\n id: \"\",\r\n catalogId: \"\"\r\n }\r\n },\r\n translatedMasterdata: {},\r\n translatedAttributes: {},\r\n translatedMediaAssets: {},\r\n modified: {\r\n masterData: false,\r\n attributes: false,\r\n mediaAssets: false,\r\n translatedMasterdata: false,\r\n translatedAttributes: false,\r\n translatedMediaAssets: false\r\n },\r\n updateTasks: {\r\n masterData: [],\r\n attributes: [],\r\n mediaAssets: [],\r\n translatedMasterdata: [],\r\n translatedAttributes: [],\r\n translatedMediaAssets: []\r\n },\r\n updateErrors: {\r\n masterData: [],\r\n attributes: [],\r\n mediaAssets: [],\r\n translatedMasterdata: [],\r\n translatedAttributes: [],\r\n translatedMediaAssets: []\r\n }\r\n };\r\n}\r\nexport default {\r\n namespaced: true,\r\n state: defaultState(),\r\n getters: {\r\n isSaving(state) {\r\n return Object.keys(state.updateTasks).some((x) => !!state.updateTasks[x].length);\r\n },\r\n hasUnsavedData(state) {\r\n const sections = Object.keys(state.modified);\r\n return sections.some((x) => state.modified[x]);\r\n },\r\n lastRunSuccess(state) {\r\n return Object.keys(state.updateErrors).every((x) => !state.updateErrors[x].length);\r\n }\r\n },\r\n mutations: {\r\n \"refresh-masterdata\"(state, arg) {\r\n const data = { ...state.masterData };\r\n data[arg.language] = arg.data;\r\n state.masterData = data;\r\n },\r\n setCatalogNodePath(state, arg) {\r\n state.path = arg;\r\n },\r\n \"refresh-attributedata\"(state, arg) {\r\n state.attributes[arg.language] = arg.data;\r\n },\r\n \"refresh-catalog-node-media-assets\"(state, arg) {\r\n state.mediaAssets[arg.language] = arg.data;\r\n },\r\n \"change-node\"(state, args) {\r\n state.metadata.node = args;\r\n },\r\n \"update-loading-state\"(state, isLoading) {\r\n state.metadata.loading = isLoading;\r\n },\r\n \"update-save-status\"(state, arg) {\r\n const section = state.updateTasks[arg.section];\r\n if (arg.running && section.indexOf(arg.lang) < 0) section.push(arg.lang);\r\n if (!arg.running) {\r\n const x = section.indexOf(arg.lang);\r\n section.splice(x, 1);\r\n }\r\n state.metadata.update.seen = arg.seen == undefined ? false : arg.seen;\r\n if (arg.error) {\r\n state.updateErrors[arg.section].push(arg.error);\r\n state.metadata.update.apiError = arg.apiError;\r\n }\r\n if (arg.success != undefined) state.metadata.update.success = arg.success;\r\n },\r\n \"notification-seen\"(state) {\r\n state.metadata.update.seen = true;\r\n },\r\n \"mark-dirty-status\"(state, args) {\r\n state.modified[args.section] = args.dirty;\r\n },\r\n \"clear-dirty-status\"(state) {\r\n state.modified = {\r\n masterData: false,\r\n attributes: false,\r\n mediaAssets: false,\r\n translatedMasterdata: false,\r\n translatedAttributes: false,\r\n translatedMediaAssets: false\r\n };\r\n },\r\n \"reset-state\"(state) {\r\n Object.assign(state, defaultState());\r\n },\r\n \"reset-update-status\"(state) {\r\n state.updateTasks = {\r\n masterData: [],\r\n attributes: [],\r\n mediaAssets: [],\r\n translatedMasterdata: [],\r\n translatedAttributes: [],\r\n translatedMediaAssets: []\r\n };\r\n state.updateErrors = {\r\n masterData: [],\r\n attributes: [],\r\n mediaAssets: [],\r\n translatedMasterdata: [],\r\n translatedAttributes: [],\r\n translatedMediaAssets: []\r\n };\r\n },\r\n \"load-translation-masterdata\"(state, arg) {\r\n state.translatedMasterdata = arg.data;\r\n },\r\n \"load-translation-attributes\"(state, arg) {\r\n state.translatedAttributes = arg.data;\r\n },\r\n \"load-translation-mediaAssets\"(state, arg) {\r\n state.translatedMediaAssets = arg.data;\r\n }\r\n },\r\n actions: {\r\n loadMasterData: async function (context, args) {\r\n const { logContext, ...rest } = args;\r\n logContext.info(\"loading catalog master data\", rest);\r\n const data = await catalogNodeApi.getMasterData(args.nodeId, args.catalogId, args.language);\r\n logContext.info(\"loading catalog master data successful\", rest);\r\n\r\n context.commit(\"refresh-masterdata\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadAttributeData: async function (context, args) {\r\n const { logContext, ...rest } = args;\r\n logContext.info(\"loading catalog attribute path\", rest);\r\n const data = await catalogNodeApi.getAttributes(args.nodeId, args.catalogId, args.language);\r\n logContext.info(\"loading catalog attribute path successful\", rest);\r\n\r\n context.commit(\"refresh-attributedata\", {\r\n language: args.language,\r\n data: data\r\n });\r\n },\r\n loadMediaAssets: async function (context, args) {\r\n const { logContext, ...rest } = args;\r\n logContext.info(\"loading catalog media assets\", rest);\r\n const data = await catalogNodeApi.getMediaAssets(rest);\r\n logContext.info(\"loading catalog media assets successful\");\r\n context.commit(\"refresh-catalog-node-media-assets\", {\r\n language: args.languageCode,\r\n data: data\r\n });\r\n },\r\n loadCatalogGroupWithLocalizations: async function ({ dispatch, rootState, commit, state }, args) {\r\n const logContext = eventLogger.beginContext(\"loadCatalogGroupWithLocalizations\");\r\n const requestedLanguages = args.languages || rootState.metadata.contentLanguages.enabled;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n try {\r\n const path = state.path;\r\n commit(\"reset-state\");\r\n //'path' property of store will get updated when we select a node in the tree.\r\n //reset-state will reset the value of 'path' property to default value and the value of 'path' will be missed.\r\n //So the value of 'path' will be stored in a local variable and reassigned the value after reset-state.\r\n commit(\"setCatalogNodePath\", path);\r\n commit(\"update-loading-state\", true);\r\n commit(\"change-node\", { nodeId: args.nodeId, catalogId: args.catalogId });\r\n\r\n languages = new Set(languages);\r\n logContext.info(\"Started catalog node loading\", { languages, nodeId: args.nodeId });\r\n const tasks = [];\r\n languages.forEach((lang) => {\r\n tasks.push(dispatch(\"loadMasterData\", { nodeId: args.nodeId, catalogId: args.catalogId, language: lang, logContext }));\r\n tasks.push(dispatch(\"loadAttributeData\", { nodeId: args.nodeId, catalogId: args.catalogId, language: lang, logContext }));\r\n tasks.push(dispatch(\"loadMediaAssets\", { nodeId: args.nodeId, catalogId: args.catalogId, languageCode: lang, logContext }));\r\n });\r\n tasks.push(dispatch(\"loadTranslatedCatalogGroupLocalization\", { nodeId: args.nodeId, catalogId: args.catalogId, logContext }));\r\n\r\n await Promise.all(tasks);\r\n logContext.info(\"Completed catalog node loading successfully\", { languages, nodeId: args.nodeId });\r\n } catch (error) {\r\n logContext.info(\"Catalog node loading failed\", { languages, exception: error, nodeId: args.nodeId }).alsoToConsole();\r\n }\r\n logContext.complete();\r\n commit(\"update-loading-state\", false);\r\n },\r\n loadTranslatedCatalogGroupLocalization: async function ({ dispatch, rootState }, args) {\r\n const requestedLanguages = args.languages || rootState.metadata.contentLanguages.enabled;\r\n let languages = requestedLanguages\r\n .map((x) => [x.languageCode, x.fallbackLanguageCode])\r\n .flat()\r\n .filter((x) => !!x);\r\n languages = Array.from(new Set(languages));\r\n const tasks = [];\r\n const { logContext } = args;\r\n logContext.info(\"Starting loading translation sections for catalog node\");\r\n tasks.push(dispatch(\"loadTranslatedMasterData\", { nodeId: args.nodeId, catalogId: args.catalogId, languages: languages, logContext }));\r\n tasks.push(dispatch(\"loadTranslatedAttributes\", { nodeId: args.nodeId, catalogId: args.catalogId, languages: languages, logContext }));\r\n tasks.push(dispatch(\"loadTranslatedMediaAssets\", { nodeId: args.nodeId, catalogId: args.catalogId, languages: languages, logContext }));\r\n\r\n try {\r\n await Promise.all(tasks);\r\n logContext.info(\"Completed loading translation sections for catalog node\", { languages, nodeId: args.nodeId });\r\n } catch (error) {\r\n console.error(\"loading-complete with errors for catalog group translation\", args, error);\r\n }\r\n },\r\n loadTranslatedMasterData: async function (context, args) {\r\n const model = {};\r\n const languages = args.languages;\r\n const tasks = languages.map(async (lang) => {\r\n const data = await catalogTranslationApi.getMasterData(args.nodeId, args.catalogId, lang);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n context.commit(\"load-translation-masterdata\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n },\r\n loadTranslatedAttributes: async function (context, args) {\r\n const model = {};\r\n const languages = args.languages;\r\n const tasks = languages.map(async (lang) => {\r\n const data = await catalogTranslationApi.getAttributes(args.nodeId, args.catalogId, lang);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n context.commit(\"load-translation-attributes\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n },\r\n loadTranslatedMediaAssets: async function (context, args) {\r\n const model = {};\r\n const languages = args.languages;\r\n const tasks = languages.map(async (lang) => {\r\n const data = await catalogTranslationApi.getMediaAssets(args.nodeId, args.catalogId, lang);\r\n model[lang] = data;\r\n });\r\n\r\n try {\r\n await Promise.all(tasks);\r\n context.commit(\"load-translation-mediaAssets\", {\r\n data: model\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n },\r\n saveMasterData: async function (context, args) {\r\n context.commit(\"refresh-masterdata\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"masterData\", lang: args.language, running: true });\r\n try {\r\n await catalogNodeApi.updateMasterData(args.language, args.model);\r\n context.commit(\"update-save-status\", { section: \"masterData\", lang: args.language, running: false });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"masterData\",\r\n lang: args.language,\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n },\r\n saveCatalogNodeAttributes: async function (context, args) {\r\n context.commit(\"refresh-attributedata\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"attributes\", lang: args.language, running: true });\r\n try {\r\n await catalogNodeApi.updateAttributeData(args.language, args.model);\r\n context.commit(\"update-save-status\", { section: \"attributes\", lang: args.language, running: false });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"attributes\",\r\n lang: args.language,\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n },\r\n saveMediaAssets: async function (context, args) {\r\n context.commit(\"refresh-catalog-node-media-assets\", {\r\n language: args.language,\r\n data: args.model\r\n });\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: true });\r\n try {\r\n await catalogNodeApi.updateMediaAssets(args.nodeId, args.language, args.model);\r\n } catch (error) {\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: false, error: error, apiError: error.isAxiosError, success: false });\r\n }\r\n context.commit(\"update-save-status\", { section: \"mediaAssets\", running: false });\r\n },\r\n SaveTranslatedMasterdata: async function (context, args) {\r\n context.commit(\"update-save-status\", { section: \"translatedMasterdata\", running: true });\r\n try {\r\n const languages = Object.keys(args.model);\r\n const tasks = languages.map((lang) => catalogTranslationApi.updateMasterdata(lang, args.model[lang]));\r\n await Promise.all(tasks);\r\n context.commit(\"load-translation-masterdata\", {\r\n data: args.model\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"translatedMasterdata\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedMasterdata\", running: false });\r\n },\r\n SaveTranslatedAttributes: async function (context, args) {\r\n context.commit(\"update-save-status\", { section: \"translatedAttributes\", lang: args.languageCode, running: true });\r\n try {\r\n const languages = Object.keys(args.model);\r\n const tasks = languages.map((lang) => catalogTranslationApi.updateAttributeData(lang, args.model[lang]));\r\n await Promise.all(tasks);\r\n\r\n context.commit(\"load-translation-attributes\", {\r\n data: args.model\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"translatedAttributes\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedAttributes\", running: false });\r\n },\r\n SaveTranslatedMediaAssets: async function (context, args) {\r\n context.commit(\"update-save-status\", { section: \"translatedMediaAssets\", lang: args.languageCode, running: true });\r\n try {\r\n const languages = Object.keys(args.model);\r\n const tasks = languages.map((lang) => catalogTranslationApi.updateMediaAssets(lang, args.model[lang]));\r\n await Promise.all(tasks);\r\n\r\n context.commit(\"load-translation-mediaAssets\", {\r\n data: args.model\r\n });\r\n } catch (error) {\r\n context.commit(\"update-save-status\", {\r\n section: \"translatedMediaAssets\",\r\n running: false,\r\n error: error,\r\n apiError: error.isAxiosError,\r\n success: false\r\n });\r\n }\r\n context.commit(\"update-save-status\", { section: \"translatedMediaAssets\", running: false });\r\n }\r\n }\r\n};\r\n","import article from \"./article\";\r\nimport variationGroup from \"./variationGroup\";\r\nimport catalogNode from \"./catalogNode\";\r\n\r\nfunction defaultState() {\r\n return {};\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n ...defaultState()\r\n },\r\n modules: {\r\n article,\r\n variationGroup,\r\n catalogNode\r\n }\r\n};\r\n","function defaultState() {\r\n return {\r\n activeContextMenu: \"\"\r\n };\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n ...defaultState()\r\n },\r\n mutations: {\r\n \"set-active-contextmenu\": function (state, args) {\r\n state.activeContextMenu = args;\r\n },\r\n \"clear-active-contextMenu\": function (state) {\r\n state.activeContextMenu = \"\";\r\n }\r\n },\r\n actions: {\r\n openContextMenu: async function ({ commit }, args) {\r\n commit(\"set-active-contextmenu\", args);\r\n },\r\n closeContextMenu: async function ({ commit }) {\r\n commit(\"clear-active-contextMenu\");\r\n }\r\n },\r\n getters: {\r\n isActiveContextMenu: (state) => (widgetId) => {\r\n return state.activeContextMenu === widgetId;\r\n }\r\n },\r\n modules: {}\r\n};\r\n","export function enumToArray(enumObj: any): Array<{ key: string; value: string }> {\r\n return Object.keys(enumObj)\r\n .filter((key) => isNaN(Number(key))) // Filter out numeric keys\r\n .map((key) => ({ key, value: enumObj[key] }));\r\n}\r\n","import exportApi from \"@services/exports\";\r\nimport commonApi from \"@services/common.js\";\r\nimport eventLogger from \"@services/ApiLogger/EventLogger.js\";\r\nimport { generateNewNameMultiLanguage as generateNewName } from \"@util/generateNewName\";\r\nimport { Guid } from \"@/util/guid\";\r\nimport erpApi from \"@services/erp.js\";\r\nimport catalogApi from \"@services/catalogs.js\";\r\nimport i18n from \"@/i18n\";\r\nimport { ExportType, LayoutCategory, LayoutFileType } from \"@medapro-types/Exports/export-enum\";\r\nimport { enumToArray } from \"@util/enums/enum-util\";\r\n\r\nconst { t } = i18n.global;\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n loading: false,\r\n showManageExport: false,\r\n isSaving: false,\r\n updateSeen: true,\r\n lastRunSuccess: true,\r\n name: \"\",\r\n catalogs: [],\r\n mappings: [],\r\n ruleProfiles: [],\r\n languages: [],\r\n regions: [],\r\n additionalFilters: [],\r\n macroTemplates: [],\r\n encodings: [],\r\n fastPageFormats: [\r\n {\r\n id: \"83ee4af7-8f75-4ee2-abd7-f23ca81ef949\",\r\n name: \"docx\"\r\n },\r\n {\r\n id: \"7e94c8ba-2f16-401c-ad92-cfe2fb5ec412\",\r\n name: \"xlsx\"\r\n },\r\n {\r\n id: \"ce6a98ad-08c8-4baa-8833-b454edfb192c\",\r\n name: \"pptx\"\r\n },\r\n {\r\n id: \"aee5ec6f-23ad-4366-a30b-2be586a467ab\",\r\n name: \"pdf\"\r\n },\r\n {\r\n id: \"d5467d59-ada7-4ced-a479-ac76e33ae353\",\r\n name: \"png\"\r\n },\r\n {\r\n id: \"cd747823-38d9-4236-aecd-f0042026f584\",\r\n name: \"jpeg\"\r\n },\r\n {\r\n id: \"1cc4370e-a624-4aff-9615-ebccdc5024a3\",\r\n name: \"xml\"\r\n },\r\n {\r\n id: \"e3cbea2d-36c3-427f-bd9f-ae2a79649569\",\r\n name: \"xps\"\r\n },\r\n {\r\n id: \"cfc67b2a-6d7e-4729-8283-3e48ca3d4f6b\",\r\n name: \"rtf\"\r\n },\r\n {\r\n id: \"7c01185e-d86f-48d7-b8fa-86e93aaef251\",\r\n name: \"html\"\r\n }\r\n ],\r\n fastPageOutputOptions: [\r\n {\r\n id: \"931c9703-9640-4116-9618-69ae58e05f85\",\r\n name: \"singleFile\"\r\n },\r\n {\r\n id: \"38362e22-d525-415d-9930-3a7430e0ed9b\",\r\n name: \"singleFilePerLayout\"\r\n },\r\n {\r\n id: \"52672e6a-219f-463b-89a3-17afb43457b0\",\r\n name: \"singleVariationGroupPerFile\"\r\n },\r\n {\r\n id: \"b3d8a264-41f3-41bf-8e35-d69761cb1442\",\r\n name: \"singleArticlePerFile\"\r\n }\r\n ],\r\n fieldSeparators: [],\r\n fieldLimiters: [],\r\n erpProfiles: [],\r\n selectedProgressInfo: {},\r\n territories: [],\r\n currencies: [],\r\n priceFlags: [],\r\n catalogVersion: \"\",\r\n exportProjects: [],\r\n bmeCatSupplierIdTypes: [],\r\n bmeCatBuyerIdTypes: [],\r\n enableUpload: false,\r\n mappingTargets: [],\r\n layoutCategories: [],\r\n layoutTypes: []\r\n },\r\n getters: {},\r\n mutations: {\r\n \"set-store-loading\": function (state, args) {\r\n state.loading = args;\r\n },\r\n \"set-show-manage-export\": function (state, args) {\r\n state.showManageExport = args;\r\n },\r\n \"set-update-seen\": function (state, args) {\r\n state.updateSeen = args;\r\n },\r\n \"set-last-run-success\": function (state, args) {\r\n state.lastRunSuccess = args;\r\n },\r\n \"set-is-saving\": function (state, args) {\r\n state.isSaving = args;\r\n },\r\n \"set-export-project-name\": function (state, args) {\r\n state.name = args;\r\n },\r\n \"set-progress-info\": function (state, args) {\r\n state.selectedProgressInfo = args;\r\n },\r\n \"set-enable-upload\": function (state, args) {\r\n state.enableUpload = args;\r\n },\r\n \"update-catalogs\": function (state, args) {\r\n state.catalogs = args;\r\n },\r\n \"update-mappings\": function (state, args) {\r\n state.mappings = args;\r\n },\r\n \"update-rule-profiles\": function (state, args) {\r\n state.ruleProfiles = args;\r\n },\r\n \"update-languages\": function (state, args) {\r\n state.languages = args;\r\n },\r\n \"update-regions\": function (state, args) {\r\n state.regions = args;\r\n },\r\n \"update-additional-filters\": function (state, args) {\r\n state.additionalFilters = args;\r\n },\r\n \"update-macro-templates\": function (state, args) {\r\n state.macroTemplates = args;\r\n },\r\n \"update-erp-profiles\": function (state, args) {\r\n state.erpProfiles = args;\r\n },\r\n \"update-encodings\": function (state, args) {\r\n state.encodings = args;\r\n },\r\n \"update-field-separators\": function (state, args) {\r\n state.fieldSeparators = args;\r\n },\r\n \"update-field-limiters\": function (state, args) {\r\n state.fieldLimiters = args;\r\n },\r\n \"update-territories\": function (state, args) {\r\n state.territories = args;\r\n },\r\n \"update-currencies\": function (state, args) {\r\n state.currencies = args;\r\n },\r\n \"update-priceFlags\": function (state, args) {\r\n state.priceFlags = args;\r\n },\r\n \"update-catalogVersion\": function (state, args) {\r\n state.catalogVersion = args;\r\n },\r\n \"update-export-projects\": function (state, args) {\r\n state.exportProjects = args;\r\n },\r\n \"update-bme-cat-supplier-id-types\": function (state, args) {\r\n state.bmeCatSupplierIdTypes = args;\r\n },\r\n \"update-bme-cat-buyer-id-types\": function (state, args) {\r\n state.bmeCatBuyerIdTypes = args;\r\n },\r\n \"update-mapping-targets\": function (state, args) {\r\n state.mappingTargets = args;\r\n },\r\n \"delete-export\": function (state, args) {\r\n state.exportProjects = state.exportProjects.filter((x) => !args.includes(x.exportId));\r\n },\r\n \"add-or-update-export-project\": function (state, args) {\r\n const index = state.exportProjects.findIndex((item) => item.exportId === args.exportId);\r\n\r\n if (index !== -1) {\r\n // Update existing export\r\n state.exportProjects.splice(index, 1, args);\r\n } else {\r\n // Add new export\r\n state.exportProjects.push(args);\r\n }\r\n },\r\n \"update-fastpage-layout-categories\": function (state, args) {\r\n state.layoutCategories = args;\r\n },\r\n \"update-fastpage-layout-types\": function (state, args) {\r\n state.layoutTypes = args;\r\n }\r\n },\r\n actions: {\r\n saveExport: async function (context, args) {\r\n const logContext = eventLogger.beginContext(\"saveExport\");\r\n context.dispatch(\"setIsSaving\", true);\r\n context.dispatch(\"setNotificationSeen\", false);\r\n let exportId = args.dataForExport.exportId ?? Guid.empty;\r\n try {\r\n if (exportId === Guid.empty) {\r\n exportId = await exportApi.createExport(args.dataForExport);\r\n context.dispatch(\"setNotificationSeen\", false);\r\n context.dispatch(\"setLastRunSuccess\", true);\r\n } else await exportApi.updateExport(args.dataForExport);\r\n } catch (error) {\r\n context.dispatch(\"setIsSaving\", false);\r\n context.dispatch(\"setLastRunSuccess\", false);\r\n logContext.error(\"Export save completed with errors\", { ...args, exception: error }).alsoToConsole();\r\n } finally {\r\n logContext.complete();\r\n }\r\n args.dataForExport.exportId = exportId;\r\n await context.dispatch(\"addOrUpdateExportProject\", args.dataForExport);\r\n context.dispatch(\"setLastRunSuccess\", true);\r\n context.dispatch(\"setIsSaving\", false);\r\n return exportId;\r\n },\r\n getAllExports: async function ({ commit, rootState }, args) {\r\n const primaryLanguage = rootState.metadata.contentLanguages.enabled[0].languageCode;\r\n const exports = await exportApi.getExports(args.value, primaryLanguage);\r\n commit(\"update-export-projects\", exports);\r\n },\r\n addOrUpdateExportProject: async function ({ commit }, args) {\r\n commit(\"add-or-update-export-project\", args);\r\n },\r\n\r\n setProgressInfo: function ({ commit }, args) {\r\n commit(\"set-progress-info\", args);\r\n },\r\n setStoreLoading: function ({ commit }, args) {\r\n commit(\"set-store-loading\", args);\r\n },\r\n setShowManageExport: function ({ commit }, args) {\r\n commit(\"set-show-manage-export\", args);\r\n },\r\n setNotificationSeen: function ({ commit }, args) {\r\n commit(\"set-update-seen\", args);\r\n },\r\n setIsSaving: function ({ commit }, args) {\r\n commit(\"set-is-saving\", args);\r\n },\r\n setLastRunSuccess: function ({ commit }, args) {\r\n commit(\"set-last-run-success\", args);\r\n },\r\n setEnableUpload: function ({ commit }, args) {\r\n commit(\"set-enable-upload\", args);\r\n },\r\n generateExportNameByType: async function ({ commit, state, dispatch }, args) {\r\n await dispatch(\"getAllExports\", args.exportType);\r\n const newName = generateNewName(\r\n args.name != null ? args.name : \"New Catalogue Project\",\r\n state.exportProjects.map((x) => {\r\n return { de: x };\r\n }),\r\n \"de\"\r\n );\r\n commit(\"set-export-project-name\", newName);\r\n },\r\n loadCatalogs: async function ({ commit }, args) {\r\n const catalogs = await exportApi.getCatalogs(args.language, args.exportType);\r\n commit(\"update-catalogs\", catalogs);\r\n },\r\n loadMappings: async function ({ commit }, args) {\r\n let mappings = await exportApi.getCatalogMappingProjects(args.catalogId, args.exportType);\r\n if (mappings.length == 0) {\r\n mappings = [{ name: `<${t(\"none\")}>`, catalogMappingProjectId: null }, ...mappings];\r\n }\r\n const modifiedMappings = mappings.map((mapping) => ({\r\n ...mapping,\r\n mappingNameWithPrefix:\r\n mapping.autoMappingProfileId && !Guid.isEmpty(mapping.autoMappingProfileId)\r\n ? `${t(\"exports.automapping\")} ${mapping.autoMappingProfileName} ${!Guid.isEmpty(mapping.catalogMappingProjectId) ? `(${t(\"exports.mappingProject\")} ${mapping.name} - ${mapping.targetSystemName})` : `(${mapping.targetSystemName})`}`\r\n : `${t(\"exports.mappingProject\")} ${mapping.name} (${mapping.targetSystemName})`\r\n }));\r\n\r\n commit(\"update-mappings\", modifiedMappings);\r\n },\r\n loadRuleProfiles: async function ({ commit }, args) {\r\n const ruleProfiles = [\r\n { name: `<${t(\"none\")}>`, ruleProfileId: null },\r\n ...(args.catalogMappingTargetId ? await exportApi.getRuleProfiles(args.catalogMappingTargetId) : [])\r\n ];\r\n commit(\"update-rule-profiles\", ruleProfiles);\r\n },\r\n loadLanguages: async function ({ commit }, args) {\r\n const languages = await commonApi.getLanguagesWithLocalizedName(args.currentLocale);\r\n commit(\"update-languages\", languages);\r\n },\r\n loadRegions: async function ({ commit }, args) {\r\n const regions = await commonApi.getLanguageRegions(args.language, args.currentLocale);\r\n let mappedRegions = Object.entries(regions).map((x) => ({\r\n text: x[0],\r\n value: x[1]\r\n }));\r\n mappedRegions = [{ text: null, value: `<${t(\"none\")}>` }, ...mappedRegions];\r\n commit(\"update-regions\", mappedRegions);\r\n },\r\n loadAdditionalFilters: async function ({ commit }) {\r\n let filters = await exportApi.getArticleFilters();\r\n filters = [{ name: `<${t(\"none\")}>`, catalogFilterId: null }, ...filters];\r\n commit(\"update-additional-filters\", filters);\r\n },\r\n loadMacroTemplates: async function ({ commit }) {\r\n let macroTemplates = await exportApi.getExcelMacros();\r\n macroTemplates = [null, ...macroTemplates];\r\n commit(\"update-macro-templates\", macroTemplates);\r\n },\r\n loadErpProfiles: async function ({ commit }) {\r\n const profiles = await erpApi.getErpProfiles();\r\n commit(\"update-erp-profiles\", profiles);\r\n },\r\n loadEncodings: async function ({ commit }) {\r\n const useBOMSpecificEncodings = true;\r\n const encodings = await commonApi.getEncodings(useBOMSpecificEncodings);\r\n commit(\"update-encodings\", encodings);\r\n },\r\n loadFieldSeparators: async function ({ commit }) {\r\n const separators = [\r\n {\r\n id: \";\",\r\n name: \"semicolon\"\r\n },\r\n {\r\n id: \",\",\r\n name: \"comma\"\r\n },\r\n {\r\n id: \"|\",\r\n name: \"pipe\"\r\n },\r\n {\r\n id: \"\\t\",\r\n name: \"tab\"\r\n }\r\n ];\r\n commit(\"update-field-separators\", separators);\r\n },\r\n loadFieldLimiters: async function ({ commit }) {\r\n const limiters = [\r\n {\r\n id: \"\\0\",\r\n name: \"none\"\r\n },\r\n {\r\n id: '\"',\r\n name: \"quote\"\r\n },\r\n {\r\n id: \"'\",\r\n name: \"apostrophe\"\r\n }\r\n ];\r\n commit(\"update-field-limiters\", limiters);\r\n },\r\n loadTerritories: async function ({ commit }) {\r\n const territories = require(\"./territories.json\");\r\n commit(\"update-territories\", territories);\r\n },\r\n loadCurrencies: async function ({ commit }) {\r\n const currencies = [\r\n {\r\n id: \"67E95655-B4A6-4BF3-9B77-13656671C212\",\r\n name: null\r\n },\r\n {\r\n id: \"9AAF1DC3-07B8-4FBF-AE21-79547BED7CE6\",\r\n name: \"EUR\"\r\n },\r\n {\r\n id: \"16A543CB-DB50-42C1-BB26-FF8376945F78\",\r\n name: \"USD\"\r\n },\r\n {\r\n id: \"D3D69F3D-B6B0-43DB-A1AC-8EE355A05053\",\r\n name: \"GBP\"\r\n }\r\n ];\r\n commit(\"update-currencies\", currencies);\r\n },\r\n loadPriceFlags: async function ({ commit }) {\r\n const priceFlags = [\r\n {\r\n id: \"9AAF1DC3-07B8-4FBF-AE21-79547BED7CE6\",\r\n isChecked: false,\r\n name: \"Incl.freight charges\"\r\n },\r\n {\r\n id: \"16A543CB-DB50-42C1-BB26-FF8376945F78\",\r\n isChecked: false,\r\n name: \"Incl.Packing costs\"\r\n },\r\n {\r\n id: \"D3D69F3D-B6B0-43DB-A1AC-8EE355A05053\",\r\n isChecked: false,\r\n name: \"Incl.insurence costs\"\r\n },\r\n {\r\n id: \"372331E5-E5EC-40AB-BE72-82478EB84A79\",\r\n isChecked: false,\r\n name: \"Incl.payment of duty\"\r\n }\r\n ];\r\n\r\n commit(\"update-priceFlags\", priceFlags);\r\n },\r\n loadCatalogVersion: async function ({ commit }) {\r\n commit(\"update-catalogVersion\", \"1.0\");\r\n },\r\n loadBmeCatSupplierData: async function ({ commit }) {\r\n const bmeCatSupplierIdTypes = [\r\n {\r\n id: \"F2FF4B42-20D8-44CD-9BCA-3BAB8371A246\",\r\n name: \"buyer_specific\"\r\n },\r\n {\r\n id: \"FFE2ACE9-C65F-464C-A4A2-A19325C7C4BC\",\r\n name: \"customer_specific\"\r\n },\r\n {\r\n id: \"64DD1BFA-302B-4379-8725-E513BF66F39D\",\r\n name: \"duns\"\r\n },\r\n {\r\n id: \"6716E6FC-D172-47E1-9E7D-62F2EF483B95\",\r\n name: \"iln\"\r\n },\r\n {\r\n id: \"BB585783-819B-427F-A0F6-327C02F8BB53\",\r\n name: \"gln\"\r\n },\r\n {\r\n id: \"BB585783-869B-427F-A0F6-327C02F8BB53\",\r\n name: \"party_specific\"\r\n },\r\n {\r\n id: \"BB585783-869B-427F-A0F6-327C02F83B53\",\r\n name: \"supplier_specific\"\r\n }\r\n ]; //api call to get supplier data\r\n\r\n //api Simulieren\r\n return await new Promise((res) => {\r\n setTimeout(\r\n () => {\r\n res(commit(\"update-bme-cat-supplier-id-types\", bmeCatSupplierIdTypes));\r\n },\r\n randomIntFromInterval(500, 1500)\r\n );\r\n });\r\n },\r\n loadBmeCatBuyerData: async function ({ commit }) {\r\n const bmeCatBuyerIdTypes = [\r\n {\r\n id: \"F2FF4B42-20D8-44CD-9BCA-3BAB8371A246\",\r\n name: \"buyer_specific\"\r\n },\r\n {\r\n id: \"64DD1BFA-302B-4379-8725-E513BF66F39D\",\r\n name: \"duns\"\r\n },\r\n {\r\n id: \"6716E6FC-D172-47E1-9E7D-62F2EF483B95\",\r\n name: \"iln\"\r\n },\r\n {\r\n id: \"BB585783-869B-427F-A0F6-327C02F83B53\",\r\n name: \"supplier_specific\"\r\n }\r\n ]; //api call to get supplier data\r\n\r\n //api Simulieren\r\n return await new Promise((res) => {\r\n setTimeout(\r\n () => {\r\n res(commit(\"update-bme-cat-buyer-id-types\", bmeCatBuyerIdTypes));\r\n },\r\n randomIntFromInterval(500, 1500)\r\n );\r\n });\r\n },\r\n loadMappingTargets: async function ({ commit }) {\r\n const mappingTargets = await catalogApi.getMappingTargets({\r\n catalogType: 1\r\n });\r\n commit(\"update-mapping-targets\", mappingTargets);\r\n },\r\n //use during mount and extend if needed\r\n loadDataForCardIfNeeded: async function ({ dispatch }, args) {\r\n dispatch(\"setStoreLoading\", true);\r\n switch (args.identifier) {\r\n case \"dataSelection\":\r\n await dispatch(\"loadDataForDataSelection\", args);\r\n break;\r\n case \"catalogue\":\r\n await dispatch(\"loadDataForCatalogue\");\r\n break;\r\n case \"supplier\":\r\n await dispatch(\"loadDataForSupplier\");\r\n break;\r\n case \"buyer\":\r\n await dispatch(\"loadDataForBuyer\");\r\n break;\r\n case \"layouts\":\r\n await dispatch(\"loadDataForLayouts\");\r\n break;\r\n default:\r\n break;\r\n }\r\n dispatch(\"setStoreLoading\", false);\r\n },\r\n loadDataForDataSelection: async function ({ state, dispatch }, args) {\r\n await dispatch(\"loadCatalogs\", args);\r\n if (!state.languages || !state.languages.length) await dispatch(\"loadLanguages\", args);\r\n if (!state.additionalFilters || !state.additionalFilters.length) await dispatch(\"loadAdditionalFilters\");\r\n if (!state.macroTemplates || !state.macroTemplates.length) await dispatch(\"loadMacroTemplates\");\r\n if (!state.encodings || !state.encodings.length || args.exportType == ExportType.Text || args.exportType == ExportType.BMEcat)\r\n await dispatch(\"loadEncodings\", args);\r\n if (!state.fieldSeparators || !state.fieldSeparators.length) await dispatch(\"loadFieldSeparators\");\r\n if (!state.fieldLimiters || !state.fieldLimiters.length) await dispatch(\"loadFieldLimiters\");\r\n if (!state.erpProfiles || !state.erpProfiles.length) await dispatch(\"loadErpProfiles\", args);\r\n if (!state.mappingTargets || !state.mappingTargets.length) await dispatch(\"loadMappingTargets\", args);\r\n },\r\n loadDataForSupplier: async function ({ state, dispatch }) {\r\n const promises = [];\r\n if (!state.bmeCatSupplierIdTypes || !state.bmeCatSupplierIdTypes.length) promises.push(dispatch(\"loadBmeCatSupplierData\"));\r\n\r\n return promises;\r\n },\r\n loadDataForBuyer: async function ({ state, dispatch }) {\r\n const promises = [];\r\n if (!state.bmeCatBuyerIdType || !state.bmeCatBuyerIdType.length) promises.push(dispatch(\"loadBmeCatBuyerData\"));\r\n\r\n return promises;\r\n },\r\n loadDataForCatalogue: async function ({ state, dispatch }) {\r\n if (!state.territories || !state.territories.length) await dispatch(\"loadTerritories\");\r\n if (!state.currencies || !state.currencies.length) await dispatch(\"loadCurrencies\");\r\n if (!state.priceFlags || !state.priceFlags.length) await dispatch(\"loadPriceFlags\");\r\n if (!state.catalogVersion) await dispatch(\"loadCatalogVersion\");\r\n },\r\n\r\n removeExport: async function ({ commit }, exportId) {\r\n const formatedExportId = Array.isArray(exportId) ? exportId : [exportId];\r\n try {\r\n await exportApi.delete(formatedExportId);\r\n commit(\"delete-export\", exportId);\r\n } catch (error) {\r\n console.error(\"failed to delete export\", error);\r\n }\r\n },\r\n loadDataForLayouts: async function ({ state, dispatch }) {\r\n const promises = [];\r\n if (!state.layoutCategories || !state.layoutCategories.length) promises.push(dispatch(\"loadLayoutCategories\"));\r\n if (!state.layoutTypes || !state.layoutTypes.length) promises.push(dispatch(\"loadLayoutTypes\"));\r\n return promises;\r\n },\r\n loadLayoutCategories: async function ({ commit }) {\r\n const layoutCategories = enumToArray(LayoutCategory);\r\n\r\n commit(\"update-fastpage-layout-categories\", layoutCategories);\r\n },\r\n loadLayoutTypes: async function ({ commit }) {\r\n const layoutTypes = enumToArray(LayoutFileType);\r\n\r\n commit(\"update-fastpage-layout-types\", layoutTypes);\r\n }\r\n }\r\n};\r\n\r\n//#region Utility\r\nfunction randomIntFromInterval(min, max) {\r\n // min and max included\r\n return Math.floor(Math.random() * (max - min + 1) + min);\r\n}\r\n//#endregion\r\n","// Config is used for local development and not part of release\r\nexport default {\r\n apiUrl: \"http://localhost:54567\",\r\n treePageSize: 100,\r\n oAuthProviders: [\r\n {\r\n name: \"Google\", // Name of the identity provider. This should be unique in the oAuthProviders array.\r\n icon: \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOSAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdvb2dsZSIgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzNfMTU1NCkiPgo8cGF0aCBpZD0iU2hhcGUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTguNjQgOS4yMDQ2OEMxOC42NCA4LjU2NjUgMTguNTgyNyA3Ljk1Mjg2IDE4LjQ3NjQgNy4zNjM3N0gxMFYxMC44NDUxSDE0Ljg0MzZDMTQuNjM1IDExLjk3MDEgMTQuMDAwOSAxMi45MjMzIDEzLjA0NzcgMTMuNTYxNVYxNS44MTk3SDE1Ljk1NjRDMTcuNjU4MiAxNC4yNTI5IDE4LjY0IDExLjk0NTYgMTguNjQgOS4yMDQ2OFoiIGZpbGw9IiM0Mjg1RjQiLz4KPHBhdGggaWQ9IlNoYXBlXzIiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTAgMThDMTIuNDMgMTggMTQuNDY3M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Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfM18xNTU0Ij4KPHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC41KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=\",\r\n config: {\r\n // This corresponds to the oAuth confguration required to communicate with external identity provider.\r\n client_id: \"23290896510-sd7tiljl4bc88sqm05dc63fmsucdh3v7.apps.googleusercontent.com\", // This corresponds to the client_id available when the WebClient application is registered in Google.\r\n authority: \"https://accounts.google.com\", // This corresponds to the URL of the identity provider. This will remain same for Google provider.\r\n response_type: \"code\", // Response type for authentication. Keep this value as \"code\".\r\n redirect_uri: \"http://localhost:8080/app/login/oauth/Google\", // The redirect URI of your client application to receive a response from the identity provider. For Google, it should be like https:///app/login/oauth/Google . The same value should be provided while registering the application in Google.\r\n scope: \"https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email openid\", // Scope being requested from the identity provider. Keep these values for Google.\r\n response_mode: \"query\", // Response mode for the identity provider. Keep this value as \"query\".\r\n disablePKCE: true // Keep this value as \"true\".\r\n }\r\n },\r\n {\r\n // Single/Multi-tenant application and personal Microsoft account login.\r\n name: \"Microsoft\", // Name of the identity provider. This should be unique in the oAuthProviders array.\r\n icon: \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ik1pY3Jvc29mdCIgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzI4XzU4NSkiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNOC41MjYzMiAwSDBWOC41MjYzMkg4LjUyNjMyVjBaIiBmaWxsPSIjRjI1MDIyIi8+CjxwYXRoIGlkPSJWZWN0b3JfMiIgZD0iTTguNTI2MzIgOS40NzM2M0gwVjE3Ljk5OTlIOC41MjYzMlY5LjQ3MzYzWiIgZmlsbD0iIzAwQTRFRiIvPgo8cGF0aCBpZD0iVmVjdG9yXzMiIGQ9Ik0xNy45OTk5IDBIOS40NzM2M1Y4LjUyNjMySDE3Ljk5OTlWMFoiIGZpbGw9IiM3RkJBMDAiLz4KPHBhdGggaWQ9IlZlY3Rvcl80IiBkPSJNMTcuOTk5OSA5LjQ3MzYzSDkuNDczNjNWMTcuOTk5OUgxNy45OTk5VjkuNDczNjNaIiBmaWxsPSIjRkZCOTAwIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjhfNTg1Ij4KPHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=\",\r\n config: {\r\n client_id: \"1237374d-751d-4a0a-9a3d-13c552cb7e9b\", // This corresponds to the client_id available when the WebClient application is registered in Azure AD.\r\n authority: \"https://login.microsoftonline.com/common\", // This corresponds to the URL of the identity provider. Keep the provided value while configuring for Single/Multi-tenant application and personal Microsoft account login.\r\n response_type: \"code\", // Response type for authentication. Keep this value as \"code\".\r\n redirect_uri: \"http://localhost:8080/app/login/oauth/microsoft\", // The redirect URI of your client application to receive a response from the identity provider. For Google, it should be like https:///app/login/oauth/microsoft. The same value should be provided while registering the application in Azure AD.\r\n scope: \"openid email\", // Scope being requested from the identity provider. Keep these values for Microsoft.\r\n response_mode: \"query\", // Response mode for the identity provider. Keep this value as \"query\".\r\n disablePKCE: true, // Keep this value as \"true\".\r\n metadata: {\r\n authorization_endpoint: \"https://login.microsoftonline.com/common/oauth2/v2.0/authorize\" // Authorization endpoint of the identity provider.\r\n }\r\n }\r\n },\r\n // { // Single tenant application.\r\n // name: \"Microsoft\", // Name of the identity provider. This should be unique in the oAuthProviders array.\r\n // icon: \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ik1pY3Jvc29mdCIgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzI4XzU4NSkiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNOC41MjYzMiAwSDBWOC41MjYzMkg4LjUyNjMyVjBaIiBmaWxsPSIjRjI1MDIyIi8+CjxwYXRoIGlkPSJWZWN0b3JfMiIgZD0iTTguNTI2MzIgOS40NzM2M0gwVjE3Ljk5OTlIOC41MjYzMlY5LjQ3MzYzWiIgZmlsbD0iIzAwQTRFRiIvPgo8cGF0aCBpZD0iVmVjdG9yXzMiIGQ9Ik0xNy45OTk5IDBIOS40NzM2M1Y4LjUyNjMySDE3Ljk5OTlWMFoiIGZpbGw9IiM3RkJBMDAiLz4KPHBhdGggaWQ9IlZlY3Rvcl80IiBkPSJNMTcuOTk5OSA5LjQ3MzYzSDkuNDczNjNWMTcuOTk5OUgxNy45OTk5VjkuNDczNjNaIiBmaWxsPSIjRkZCOTAwIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjhfNTg1Ij4KPHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=\",\r\n // config: {\r\n // client_id: \"187524c0-fdaf-41e3-99c9-5e80666a426b\", // This corresponds to the client_id available when the WebClient application is registered in Azure AD.\r\n // authority: \"https://login.microsoftonline.com/115df82c-23d9-44a3-a761-208d8d9413e3\", // This corresponds to the URL of the identity provider for the selected tenant. The GUID in the URL should be replaced with the tenant id for which the authorization is configured in Azure AD.\r\n // response_type: \"code\", // Response type for authentication. Keep this value as \"code\".\r\n // redirect_uri: \"http://localhost:8080/app/login/oauth/microsoft\", // The redirect URI of your client application to receive a response from the identity provider. For Google, it should be like https:///app/login/oauth/microsoft. The same value should be provided while registering the application in Azure AD.\r\n // scope: \"openid email\", // Scope being requested from the identity provider. Keep these values for Microsoft.\r\n // response_mode: \"query\", // Response mode for the identity provider. Keep this value as \"query\".\r\n // disablePKCE: true, // Keep this value as \"true\".\r\n // metadata: {\r\n // authorization_endpoint: \"https://login.microsoftonline.com/115df82c-23d9-44a3-a761-208d8d9413e3/oauth2/authorize\", // Authorization endpoint of the identity provider for the selected tenant. The GUID in the URL should be replaced with the tenant id for which the authorization is configured in Azure AD.\r\n // }\r\n // }\r\n // },\r\n {\r\n name: \"Apple\", // Name of the identity provider. This should be unique in the oAuthProviders array.\r\n icon: \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkFwcGxlIiBjbGlwLXBhdGg9InVybCgjY2xpcDBfMjhfNTkyKSI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik01LjMwODc2IDE3LjY2MzFDNC45NTQzOCAxNy40MjU4IDQuNjM3NyAxNy4xMzU1IDQuMzc3MjYgMTYuNzk5MUM0LjA4NzAxIDE2LjQ1MzIgMy44MjM3NiAxNi4wODcgMy41NzczOCAxNS43MDlDMy4wMDMwNyAxNC44NjgxIDIuNTU0NzYgMTMuOTUxMiAyLjI0MTQ1IDEyLjk4MTRDMS44NjYyNiAxMS44NTY0IDEuNjg0NTcgMTAuNzc4MSAxLjY4NDU3IDkuNzIzNDVDMS42ODQ1NyA4LjU0NTU3IDEuOTM5MzggNy41MTczMiAyLjQzNzc2IDYuNjUzMzJDMi44MDM5NSA1Ljk3OTQ1IDMuMzUxODIgNS40MTQxNCA0LjA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4IDQuMDcyMDEgOS40NTM4MiA0LjE4MDU3IDguOTcwNjMgNC4xNDUxNEM4Ljg5NDcgMy42NTg1NyA4Ljk3MDYzIDMuMTYwNzYgOS4xNzI1NyAyLjYxNTdDOS4zNTE0NCAyLjE0OTk1IDkuNTkxNjMgMS43MzA4OSA5LjkyMjM4IDEuMzU1N0MxMC4yNjQ5IDAuOTY1ODg3IDEwLjY3ODQgMC42NDM1NzQgMTEuMTQ0MSAwLjQxMjM4N0MxMS42MzkxIDAuMTU3NTc0IDEyLjExMTEgMC4wMTk3NjE3IDEyLjU2MjIgLTAuMDAwNDg4MjgxQzEyLjYyMDcgMC41MDkxMzcgMTIuNTYyMiAxLjAxMDMyIDEyLjM3NDkgMS41NTIwMUMxMi4yMDIyIDIuMDMyMzkgMTEuOTQ3NCAyLjQ3NTA3IDExLjYyNTEgMi44NzA1MUMxMS4yOTcxIDMuMjYwMzIgMTAuODkyNyAzLjU4MjY0IDEwLjQzNTQgMy44MTY2NEwxMC40NSAzLjgxNzJaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzI4XzU5MiI+CjxyZWN0IHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K\",\r\n config: {\r\n client_id: \"com.itb-web.webclient\", // This corresponds to the client_id available when the WebClient application is registered in Apple provider.\r\n authority: \"https://appleid.apple.com\", // This corresponds to the URL of the identity provider. This will remain same for Apple provider.\r\n response_type: \"code\", // Response type for authentication. Keep this value as \"code\".\r\n redirect_uri: \"https://s039.beo.in/WebClient/app/login/oauth/Apple\", // The redirect URI of your client application to receive a response from the identity provider. For Apple, it should be like https:///app/login/oauth/Apple . The same value should be provided while registering the application in Apple.\r\n response_mode: \"query\", // Response mode for the identity provider. Keep this value as \"query\".\r\n disablePKCE: true // Keep this value as \"true\".\r\n }\r\n }\r\n ],\r\n feature: {\r\n advancedSearchEnabled: true,\r\n fastpageExportEnabled: true\r\n }\r\n};\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport defaultConfig from \"../../config\";\r\nimport axios from \"axios\";\r\n\r\nlet config: any;\r\nif (process.env.NODE_ENV != \"development\" && (window as any).getClientConfiguration!) {\r\n const clientConfig = (window as any).getClientConfiguration();\r\n if (clientConfig && !clientConfig.missing) {\r\n config = clientConfig;\r\n config.isClientConfig = true;\r\n } else console.error(\"client side configuration hook returned invalid object.\", clientConfig);\r\n} else console.error(\"client side configuration hook not found.\");\r\nif (!config) {\r\n config = defaultConfig;\r\n}\r\n\r\nlet uri = config.apiUrl;\r\nif (uri && uri[uri.length - 1] == \"/\") uri = uri.substring(0, uri.length - 1);\r\naxios.defaults.baseURL = config.apiUrl = uri;\r\n\r\nexport default config;\r\n","import commonApi from \"../../services/common\";\r\nimport config from \"../../plugins/store/configResolver\";\r\nimport _ from \"lodash\";\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n contentLanguages: {\r\n available: [],\r\n enabled: []\r\n },\r\n config,\r\n version: process.env.VUE_APP_VERSION,\r\n sessionRestoreCompleted: false\r\n },\r\n getters: {\r\n availableLanguageMap(state) {\r\n return Object.fromEntries(state.contentLanguages.available.map((x) => [x.languageCode, x]));\r\n },\r\n hasAnyUnsavedData(state, getters, rootState, rootGetters) {\r\n let result = false;\r\n const dirtyKeys = Object.keys(rootGetters).filter((x) => x.includes(\"hasUnsavedData\"));\r\n\r\n dirtyKeys.forEach((x) => {\r\n result ||= rootGetters[x];\r\n });\r\n\r\n return result;\r\n }\r\n },\r\n mutations: {\r\n \"update-available-content-languages\"(state, args) {\r\n state.contentLanguages.available = args;\r\n state.contentLanguages.enabled = [args[0]];\r\n },\r\n \"update-enabled-content-languages\"(state, args) {\r\n state.contentLanguages.enabled = args;\r\n }\r\n },\r\n actions: {\r\n loadLanguages: async function (context) {\r\n const languages = await commonApi.getLanguages();\r\n const languageMap = _.keyBy(languages, \"languageId\");\r\n languages.forEach((lang) => {\r\n const fallback = languageMap[lang.fallbackId];\r\n lang.fallbackLanguageCode = fallback ? fallback.languageCode : \"\";\r\n });\r\n context.commit(\"update-available-content-languages\", languages);\r\n const selectedLanguages = (context.rootState.userSettings.WebClientDataLanguages || \"\").split(\",\");\r\n let selected = languages.filter((x) => selectedLanguages.some((y) => y == x.languageCode));\r\n selected = _.sortBy(selected, (x) => selectedLanguages.indexOf(x.languageCode));\r\n if (selected.length) context.commit(\"update-enabled-content-languages\", selected);\r\n },\r\n changeContentLanguages: async function (context, lang) {\r\n const languages = _.clone(context.state.contentLanguages.enabled);\r\n\r\n if (lang.index < 0 || (lang.index >= languages.length && !lang.value)) return;\r\n\r\n if (!lang.value) languages.splice(lang.index, 1);\r\n else if (lang.index < languages.length) languages.splice(lang.index, 1, lang.value);\r\n else if (lang.index >= languages.length) languages.push(lang.value);\r\n\r\n //await context.dispatch(\"loadArticleWithLocalizations\", { articleId: context.state.metadata.articleId, languages: languages });\r\n context.commit(\"update-enabled-content-languages\", languages);\r\n context.dispatch(\"saveUserSettings\", { WebClientDataLanguages: languages.map((x) => x.languageCode).join(\",\") }, { root: true });\r\n }\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n login: async function (username: string, password: string) {\r\n try {\r\n const token = await api.post(\r\n endpoints.authentication.login,\r\n {\r\n username,\r\n password\r\n },\r\n { withCredentials: true }\r\n );\r\n\r\n const user = await api.get(endpoints.user.profile.get, {\r\n headers: { Authorization: \"Bearer \" + token.data }\r\n });\r\n\r\n if (!user.data.isWebClientLicensed) throw { licenseError: true, data: {} };\r\n\r\n const settings = await api.get(endpoints.user.settings.get, {\r\n headers: { Authorization: \"Bearer \" + token.data }\r\n });\r\n\r\n const tokenData = token.data;\r\n const userData = user.data;\r\n const settingsData = settings.data;\r\n return { token: tokenData, user: userData, settings: settingsData };\r\n } catch (error) {\r\n console.error(error);\r\n throw error;\r\n }\r\n },\r\n loginWithToken: async function (token: string) {\r\n const user = await api.get(endpoints.user.profile.get, {\r\n headers: { Authorization: \"Bearer \" + token }\r\n });\r\n\r\n if (!user.data.isWebClientLicensed) throw { licenseError: true, data: {} };\r\n\r\n const settings = await api.get(endpoints.user.settings.get, {\r\n headers: { Authorization: \"Bearer \" + token }\r\n });\r\n\r\n const userData = user.data;\r\n const settingsData = settings.data;\r\n return { token, user: userData, settings: settingsData };\r\n },\r\n loginWithCode: async function (provider: string, code: string) {\r\n try {\r\n let token = await api.post(endpoints.authentication.loginWithCode, { provider, code }, { withCredentials: true });\r\n let user = await api.get(endpoints.user.profile.get, { headers: { Authorization: \"Bearer \" + token.data } });\r\n\r\n if (!user.data.isWebClientLicensed) throw { licenseError: true, data: {} };\r\n\r\n let settings = await api.get(endpoints.user.settings.get, { headers: { Authorization: \"Bearer \" + token.data } });\r\n\r\n token = token.data;\r\n user = user.data;\r\n settings = settings.data;\r\n return { token, user, settings };\r\n } catch (error) {\r\n console.error(error);\r\n throw error;\r\n }\r\n },\r\n logout: async function () {\r\n return await api.post(endpoints.authentication.logout, {});\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n get(args) {\r\n return api.post(endpoints.globalParameters.get, args).then((x) => Promise.resolve(x.data));\r\n },\r\n save(args) {\r\n return api.post(endpoints.globalParameters.update, args).then((x) => Promise.resolve(x.data));\r\n }\r\n};\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n load() {\r\n return api.get(endpoints.user.settings.get).then((x) => Promise.resolve(x.data));\r\n },\r\n save(args) {\r\n return api.post(endpoints.user.settings.post, args);\r\n }\r\n};\r\n","import axios from \"axios\";\r\nimport { createStore } from \"vuex\";\r\n\r\nimport attributeManager from \"./AttributeManager/store/attributeManager\";\r\nimport automationServer from \"./AutomationServer/store/automationServer\";\r\nimport channelCreator from \"./ChannelCreator/store/channelCreator\";\r\nimport contentEditor from \"./ContentEditor/store/contentEditor\";\r\nimport dashboard from \"./Dashboard/store/dashboard\";\r\nimport exports from \"./Exports/store/exports\";\r\nimport metadata from \"./common/store/metadata\";\r\nimport config from \"./plugins/store/configResolver\";\r\n\r\nimport authenticationApi from \"./services/authentication\";\r\nimport globalParametersApi from \"./services/globalParameters\";\r\nimport usersettingsapi from \"./services/userSettings\";\r\nimport usersApi from \"./services/users\";\r\n\r\nimport { Guid } from \"./util/guid\";\r\nimport getBrowserLocale from \"./util/i18n/get-browser-locale\";\r\nimport { getSupportedLocales } from \"./util/i18n/supported-locales\";\r\nimport eventLogger from \"./services/ApiLogger/EventLogger\";\r\n\r\nconst store = createStore({\r\n state: {\r\n user: {\r\n firstName: \"\",\r\n lastName: \"\",\r\n username: \"\",\r\n image: \"\",\r\n email: null,\r\n lastLogin: null,\r\n department: \"\",\r\n isAuthenticated: false,\r\n roles: [],\r\n isDeeplAuthorized: false,\r\n licensedApplications: []\r\n },\r\n globalParameters: {\r\n IsErpActivated: null,\r\n PriceCurrency: null,\r\n IntervalSeparator: null,\r\n MultiAttributeValueSeparator: null,\r\n ExecuteMediaConversionAfterUpdateInContentEditor: null,\r\n ArticleDescriptionIsHTML: null,\r\n IsActivityFeedEnabled: null,\r\n IsTradeProNextEnabled: null\r\n },\r\n auth: {\r\n token: \"\"\r\n },\r\n meta: {\r\n loading: false,\r\n version: process.env.VUE_APP_VERSION,\r\n lastUpdated: \"\",\r\n config: config,\r\n sessionRestoreCompleted: false\r\n },\r\n\r\n userSettings: {\r\n AlternativeArticleNosFilterText: \"\",\r\n ArticleEditorActiveTab: null,\r\n AttributeManagerActiveTab: null,\r\n AttributeManagerSelectedAttributeGroupId: null,\r\n CatalogFieldMappingSeparator: \"|\",\r\n ChannelCreatorSourceCatalogId: null,\r\n ChannelCreatorTargetCatalogId: null,\r\n ContentEditorSplitViewWidth: \"\",\r\n CurrentLocale: checkSupportedLocale(getBrowserLocale()),\r\n DeepLLegalInformationAccepted: \"0\",\r\n DefaultLiveEditLayout: \"paperCatalog\",\r\n EnableMediaAssetGalleryMode: \"false\",\r\n ErpAttributesFilterText: \"\",\r\n HideEmptyArticleMediaAssets: \"false\",\r\n HideConvertedMediaAssets: \"false\",\r\n GlobalAttributesFilterText: \"\",\r\n HideEmptyAttributesCatalogNode: false,\r\n HideEmptyAttributesGlobalAttributes: false,\r\n HideEmptyAttributesInvariantAttributes: false,\r\n HideEmptyAttributesVariantAttributes: false,\r\n HideEmptyAttributesMultiVariantAttributes: false,\r\n HideEmptyAttributesERP: false,\r\n HideEmptyCatalogMediaAssets: false,\r\n IsAbbreviationVisible: false,\r\n IsAlternativeNameVisible: \"false\",\r\n IsAttributegroupsDrawerCollapsedAttributeManager: false,\r\n IsSingleArticleMode: \"true\",\r\n IsCatalogNodeStatusVisible: \"false\",\r\n IsERPAttributeSuggestionsEnabled: \"true\",\r\n IsExpandAllNodesEnabled: \"false\",\r\n IsGlobalAttributeSuggestionsEnabled: \"true\",\r\n IsLiveEditEnabled: \"true\",\r\n IsLiveEditPaginationEnabled: \"true\",\r\n IsShowPricesEnabled: \"true\",\r\n IsShowingTranslationTabEnabled: \"true\",\r\n IsSidebarOpen: \"false\",\r\n IsTextAttributeSuggestionsEnabled: \"true\",\r\n IsTableAttributeSuggestionsEnabled: \"true\",\r\n IsUidVisible: \"false\",\r\n LastOpenedCatalogId: Guid.empty,\r\n LiveEditArticlePagesize: 5,\r\n SelectedAttributeTypeInAM: \"TextAttribute\",\r\n ShowCatalogGroupArea: \"false\",\r\n ShowLiveEditHints: \"true\",\r\n ShowConfirmationDialogOnDragAndDrop: \"true\",\r\n ShowSourceCatalogTreeSearch: \"false\",\r\n ShowTargetCatalogTreeSearch: \"false\",\r\n TreeState: \"\",\r\n UsePredefinedNodeNames: \"false\",\r\n VariationGroupEditorActiveTab: null,\r\n IsInheritanceIndicatorVisible: false\r\n }\r\n },\r\n getters: {\r\n isAuthenticatedSession(state) {\r\n return !!(state.auth.token && state.user.username);\r\n }\r\n },\r\n mutations: {\r\n Login(state, args) {\r\n Object.assign(state.user, args.user);\r\n Object.assign(state.userSettings, args.settings);\r\n\r\n state.auth.token = args.token;\r\n axios.defaults.headers[\"Authorization\"] = \"Bearer \" + args.token;\r\n state.user.isAuthenticated = true;\r\n\r\n if (window.localStorage) {\r\n window.localStorage.setItem(\"mticket\", JSON.stringify({ user: args.user, token: args.token }));\r\n }\r\n },\r\n Logout(state) {\r\n Object.assign(state.user, {\r\n firstName: \"\",\r\n lastName: \"\",\r\n username: \"\",\r\n isAuthenticated: false,\r\n roles: [],\r\n licensedApplications: {}\r\n });\r\n state.userSettings = {};\r\n state.auth.token = \"\";\r\n delete axios.defaults.headers[\"Authorization\"];\r\n },\r\n UpdateIdentity(state, args) {\r\n Object.assign(state.user, args);\r\n },\r\n CHANGE_INTERFACE_LANGUAGE(state, lang) {\r\n state.meta.language.interface = lang;\r\n },\r\n SessionRestored(state) {\r\n state.meta.sessionRestoreCompleted = true;\r\n },\r\n \"load-user-settings\"(state, args) {\r\n const settings = Object.assign({}, state.userSettings);\r\n\r\n //validating Settings\r\n args.CurrentLocale = checkSupportedLocale(args.CurrentLocale ? args.CurrentLocale : state.userSettings.CurrentLocale);\r\n\r\n state.userSettings = Object.assign(settings, args);\r\n },\r\n \"save-user-settings\"(state, args) {\r\n state.userSettings = args;\r\n },\r\n \"load-global-parameters\"(state, args) {\r\n if (args) {\r\n state.globalParameters.IsErpActivated = args.IsErpActivated?.toLowerCase() == \"true\";\r\n state.globalParameters.PriceCurrency = args.PriceCurrency;\r\n state.globalParameters.IntervalSeparator = args.IntervalSeparator;\r\n state.globalParameters.MultiAttributeValueSeparator = args.MultiAttributeValueSeparator;\r\n state.globalParameters.ExecuteMediaConversionAfterUpdateInContentEditor =\r\n args.ExecuteMediaConversionAfterUpdateInContentEditor?.toLowerCase() == \"true\";\r\n state.globalParameters.ArticleDescriptionIsHTML = args.ArticleDescriptionIsHTML?.toLowerCase() == \"true\";\r\n state.globalParameters.IsActivityFeedEnabled = args.IsActivityFeedEnabled?.toLowerCase() == \"true\";\r\n state.globalParameters.IsTradeProNextEnabled = args.IsTradeProNextEnabled?.toLowerCase() == \"true\";\r\n }\r\n },\r\n \"save-global-parameters\"(state, args) {\r\n state.globalParameters = args;\r\n }\r\n },\r\n actions: {\r\n login: async function (context, args) {\r\n const details = await authenticationApi.login(args.username, args.password);\r\n return await context.dispatch(\"handleLogin\", { details });\r\n },\r\n loginWithCode: async function (context, args) {\r\n const details = await authenticationApi.loginWithCode(args.provider, args.code);\r\n return await context.dispatch(\"handleLogin\", { details });\r\n },\r\n handleLogin: async function (context, args) {\r\n if (!args.details.user.isWebClientLicensed) {\r\n throw { licenseError: true, data: args.details };\r\n }\r\n\r\n const defaultSettingsNames = Object.keys(context.state.userSettings);\r\n const SettingsNamesFromDb = Object.keys(args.details.settings);\r\n\r\n defaultSettingsNames.forEach((name) => {\r\n const oldName = SettingsNamesFromDb.find((x) => x.toLowerCase() == name.toLowerCase() && x !== name);\r\n if (oldName) {\r\n args.details.settings[name] = args.details.settings[oldName];\r\n delete args.details.settings[oldName];\r\n }\r\n });\r\n\r\n context.commit(\"load-user-settings\", args.details.settings);\r\n context.commit(\"Login\", args.details);\r\n await context.dispatch(\"metadata/loadLanguages\");\r\n //Load global parameters\r\n await context.dispatch(\"loadGlobalParameters\", [\r\n \"IsErpActivated\",\r\n \"PriceCurrency\",\r\n \"IntervalSeparator\",\r\n \"MultiAttributeValueSeparator\",\r\n \"ExecuteMediaConversionAfterUpdateInContentEditor\",\r\n \"ArticleDescriptionIsHTML\",\r\n \"IsActivityFeedEnabled\",\r\n \"IsTradeProNextEnabled\"\r\n ]);\r\n\r\n return args.details.user;\r\n },\r\n logout: async function (context) {\r\n try {\r\n await authenticationApi.logout();\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n window.localStorage.removeItem(\"mticket\");\r\n context.commit(\"Logout\");\r\n context.commit(\"contentEditor/article/reset\");\r\n context.commit(\"contentEditor/variationGroup/reset\");\r\n },\r\n tryRestore: async function (context) {\r\n if (window.localStorage) {\r\n try {\r\n const user = window.localStorage.getItem(\"mticket\");\r\n const record = tryParse(user);\r\n if (record) {\r\n context.commit(\"UpdateIdentity\", record.user);\r\n const details = await authenticationApi.loginWithToken(record.token);\r\n\r\n if (!details.user.isWebClientLicensed) {\r\n throw { licenseError: true, data: details };\r\n }\r\n\r\n const defaultSettingsNames = Object.keys(context.state.userSettings);\r\n const SettingsNamesFromDb = Object.keys(details.settings);\r\n\r\n defaultSettingsNames.forEach((name) => {\r\n const oldName = SettingsNamesFromDb.find((x) => x.toLowerCase() == name.toLowerCase() && x !== name);\r\n if (oldName) {\r\n details.settings[name] = details.settings[oldName];\r\n delete details.settings[oldName];\r\n }\r\n });\r\n\r\n context.commit(\"load-user-settings\", details.settings);\r\n context.commit(\"Login\", details);\r\n await context.dispatch(\"metadata/loadLanguages\");\r\n await context.dispatch(\"loadGlobalParameters\", [\r\n \"IsErpActivated\",\r\n \"PriceCurrency\",\r\n \"IntervalSeparator\",\r\n \"MultiAttributeValueSeparator\",\r\n \"ExecuteMediaConversionAfterUpdateInContentEditor\",\r\n \"ArticleDescriptionIsHTML\",\r\n \"IsActivityFeedEnabled\",\r\n \"IsTradeProNextEnabled\"\r\n ]);\r\n context.commit(\"SessionRestored\");\r\n return details.user;\r\n } else {\r\n eventLogger.info(\"Medapro user from local storage\", \"Invalid user.\");\r\n }\r\n } catch (error) {\r\n if (error && error.isAxiosError && error.response.status && error.response.status === 401) {\r\n console.error(\"session expired. Removing existing session information\");\r\n window.localStorage.removeItem(\"mticket\");\r\n } else {\r\n eventLogger.error(\"Medapro restore localstorage\", \"Restore failed.\", error);\r\n }\r\n }\r\n } else {\r\n console.error(\"localstorage not available\");\r\n }\r\n context.commit(\"SessionRestored\");\r\n throw { success: false, feedback: \"Restore data unavailable\" };\r\n },\r\n getLicenses() {\r\n return axios.get(\"/api/Account/Licenses\").then(function (resp) {\r\n return resp.data;\r\n });\r\n },\r\n getUserLicenses() {\r\n return axios.get(\"/api/Account/UserLicenses\").then(function (resp) {\r\n return resp.data;\r\n });\r\n },\r\n saveUserSettings: async function ({ commit, state }, args) {\r\n try {\r\n const defaultSettingsNames = Object.keys(state.userSettings);\r\n const newSettings = Object.keys(args);\r\n const settings = Object.assign({}, state.userSettings);\r\n\r\n defaultSettingsNames.forEach((name) => {\r\n const newName = newSettings.find((x) => x.toLowerCase() == name.toLowerCase() && x !== name);\r\n if (newName) {\r\n settings[newName] = settings[name];\r\n delete settings[name];\r\n }\r\n });\r\n\r\n Object.assign(settings, args);\r\n commit(\"save-user-settings\", settings);\r\n await usersettingsapi.save(settings);\r\n } catch (error) {\r\n if (!error || !error.handled) console.error(\"error on saving settings\", error);\r\n }\r\n },\r\n loadUserProfile: async function ({ commit }, updateState) {\r\n const profile = await usersApi.loadProfile();\r\n if (updateState) commit(\"UpdateIdentity\", profile);\r\n\r\n return profile;\r\n },\r\n loadGlobalParameters: async function ({ commit }, args) {\r\n try {\r\n const globalParameters = await globalParametersApi.get(args);\r\n commit(\"load-global-parameters\", globalParameters?.globalParameters);\r\n } catch (error) {\r\n console.error(\"error on loading global parameters\", error);\r\n }\r\n },\r\n saveGlobalParameters: async function ({ commit, state }, args) {\r\n try {\r\n const storeParameterNames = Object.keys(state.globalParameters);\r\n const updatedParameterNames = Object.keys(args);\r\n const globalParameters = Object.assign({}, state.globalParameters);\r\n\r\n storeParameterNames.forEach((name) => {\r\n const hasNewValue = updatedParameterNames.find((x) => x.toLowerCase() == name.toLowerCase());\r\n if (hasNewValue) {\r\n globalParameters[name] = args[name];\r\n }\r\n });\r\n\r\n commit(\"save-global-parameters\", globalParameters);\r\n await globalParametersApi.save(args);\r\n } catch (error) {\r\n if (!error || !error.handled) console.error(\"error on saving global parameters\", error);\r\n }\r\n }\r\n },\r\n modules: {\r\n metadata,\r\n dashboard,\r\n contentEditor,\r\n channelCreator,\r\n attributeManager,\r\n exports,\r\n automationServer\r\n }\r\n});\r\n\r\nfunction tryParse(value) {\r\n try {\r\n return JSON.parse(value);\r\n } catch {\r\n return null;\r\n }\r\n}\r\n\r\nfunction checkSupportedLocale(locale) {\r\n let result = locale;\r\n //checking if Language is supported\r\n const supportedLocales = getSupportedLocales().map((x) => x.code);\r\n const isSupportedLanguage = supportedLocales.includes(locale);\r\n if (!isSupportedLanguage) {\r\n result = supportedLocales[0] ?? \"en\";\r\n }\r\n return result;\r\n}\r\n\r\nexport default store;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { vModelText as _vModelText, normalizeClass as _normalizeClass, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, resolveComponent as _resolveComponent, withCtx as _withCtx, normalizeStyle as _normalizeStyle } from \"vue\"\n\nconst _hoisted_1 = [\"readonly\", \"disabled\", \"placeholder\"]\nconst _hoisted_2 = [\"popovertarget\", \"disabled\"]\nconst _hoisted_3 = [\"id\"]\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"divider\" }, null, -1)\nconst _hoisted_5 = { class: \"current-month-year\" }\nconst _hoisted_6 = { class: \"month\" }\nconst _hoisted_7 = { class: \"year\" }\nconst _hoisted_8 = { class: \"calendar\" }\nconst _hoisted_9 = { class: \"weekdays\" }\nconst _hoisted_10 = { class: \"weekday-text\" }\nconst _hoisted_11 = { class: \"weekday-text\" }\nconst _hoisted_12 = { class: \"weekday-text\" }\nconst _hoisted_13 = { class: \"weekday-text\" }\nconst _hoisted_14 = { class: \"weekday-text\" }\nconst _hoisted_15 = { class: \"weekday-text\" }\nconst _hoisted_16 = { class: \"weekday-text\" }\nconst _hoisted_17 = { class: \"calendar-grid\" }\nconst _hoisted_18 = [\"data-date\", \"aria-selected\", \"onClick\"]\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"divider\" }, null, -1)\nconst _hoisted_20 = { class: \"calendar-navigation\" }\n\nimport Icon from \"@common/components/Icon.vue\";\r\nimport { useContentLanguages } from \"@common/store/composable/useMetaDataStore\";\r\nimport { useUserSettings } from \"@common/store/composable/useRootStore\";\r\nimport { Guid } from \"@util/guid\";\r\nimport _ from \"lodash\";\r\nimport moment, { Moment, unitOfTime } from \"moment\";\r\nimport { computed, nextTick, reactive, ref, watch } from \"vue\";\r\n\r\n//#region Store\r\n\r\nconst DEFAULT_DATE_V_MODEL_FORMAT = \"YYYY-MM-DD\";\r\n\r\n//#endregion\r\n\r\n//#region General\r\ntype CalendarGridModel = { day: number; isInCurrentMonth: boolean; dateString: string };\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MDatePicker',\n props: {\n value: {},\n buttonOnly: { type: Boolean },\n readonly: { type: Boolean },\n disabled: { type: Boolean },\n placeholder: {},\n isInvalid: { type: Boolean }\n },\n emits: [\"input\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n\nconst props = __props;\n\r\nconst { userSettings } = useUserSettings();\r\nconst { contentLanguages } = useContentLanguages();\r\n\r\n//#endregion\r\n\r\n//#region Constants\r\nconst id = Guid.new();\r\nconst datePickerButton = ref(null);\r\nconst datePickerMenu = ref(null);\r\nconst datePickerInput = ref(null);\r\n\r\n\r\n\r\n\r\nconst localeDateFormat = computed(() =>\r\n contentLanguages.value.available.find((x) => x.languageCode == userSettings.value.CurrentLocale)?.shortDateFormat.toUpperCase()\r\n);\r\n\r\n//#endregion\r\n\r\n//#region Viewmodel\r\nconst localValue = ref(null);\r\nconst lastValidValue = ref(null);\r\n\r\nconst menuPosition = reactive({ x: 0, y: 0 });\r\nconst isOpen = ref(false);\r\n\r\nconst navigationDate = ref(moment());\r\nconst today = moment();\r\n//#endregion\r\n\r\n//#region LocalValue\r\n\r\nconst inputValue = computed({\r\n get: () => {\r\n return localValue.value?.format(localeDateFormat.value);\r\n },\r\n set: (nv) => {\r\n if (nv === \"\" || !nv) {\r\n localValue.value = null;\r\n } else {\r\n const date = moment(nv, localeDateFormat.value);\r\n\r\n if (date.isValid()) {\r\n navigationDate.value = date;\r\n localValue.value = date;\r\n lastValidValue.value = date;\r\n } else {\r\n localValue.value = _.cloneDeep(lastValidValue.value);\r\n if (datePickerInput.value && !lastValidValue.value) datePickerInput.value.value = \"\";\r\n }\r\n }\r\n }\r\n});\r\n\r\nwatch(\r\n () => props.value,\r\n (nv) => {\r\n if (nv === \"\" || !nv) {\r\n localValue.value = null;\r\n } else {\r\n const date = moment(nv);\r\n\r\n if (date.isValid()) {\r\n navigationDate.value = date;\r\n localValue.value = date;\r\n lastValidValue.value = date;\r\n } else {\r\n localValue.value = _.cloneDeep(lastValidValue.value);\r\n if (datePickerInput.value && !lastValidValue.value) datePickerInput.value.value = \"\";\r\n }\r\n }\r\n },\r\n { immediate: true }\r\n);\r\nwatch(\r\n localValue,\r\n (nv) => {\r\n emits(\"input\", nv?.format(DEFAULT_DATE_V_MODEL_FORMAT));\r\n },\r\n { deep: true }\r\n);\r\n//#endregion\r\n\r\n//#region VisualContruction\r\n\r\nconst toggleHandler = (event: ToggleEvent) => {\r\n isOpen.value = event.newState == \"open\";\r\n calculatePositionOfMenu();\r\n};\r\n\r\nconst calculatePositionOfMenu = () => {\r\n menuPosition.x = 0;\r\n menuPosition.y = 0;\r\n nextTick(() => {\r\n if (datePickerMenu.value && datePickerButton.value) {\r\n const toggleRect = datePickerButton.value.getBoundingClientRect();\r\n const menuRect = datePickerMenu.value.getBoundingClientRect();\r\n const x = toggleRect.x - menuRect.right + toggleRect.width;\r\n let y = toggleRect.y - menuRect.y + toggleRect.height;\r\n if (menuRect.bottom + y > window.innerHeight) {\r\n y = toggleRect.y - menuRect.bottom;\r\n }\r\n menuPosition.x = x;\r\n menuPosition.y = y;\r\n }\r\n });\r\n};\r\n\r\nconst calculatedGridArray = computed(() => {\r\n const result: Array = [];\r\n const manipulationDate = moment(navigationDate.value);\r\n manipulationDate.locale(\"de\");\r\n\r\n const endOfMonth = moment(manipulationDate.endOf(\"month\"));\r\n const startOfMonth = moment(manipulationDate.startOf(\"month\"));\r\n\r\n for (let i = 0; i <= 5; i++) {\r\n const week: CalendarGridModel[] = [];\r\n for (let i = 0; i <= 6; i++) {\r\n const entryDate = manipulationDate.weekday(i);\r\n entryDate.add(1, \"second\");\r\n const entry: CalendarGridModel = {\r\n day: parseInt(entryDate.format(\"DD\")),\r\n isInCurrentMonth: entryDate.isBetween(startOfMonth, endOfMonth),\r\n dateString: entryDate.format(DEFAULT_DATE_V_MODEL_FORMAT)\r\n };\r\n week.push(entry);\r\n }\r\n result.push(week);\r\n manipulationDate.add(1, \"week\");\r\n }\r\n return result;\r\n});\r\n//#endregion\r\n\r\n//#region Interaction\r\n\r\nconst toggle = () => {\r\n datePickerMenu.value?.togglePopover(!isOpen.value);\r\n};\r\nconst show = () => {\r\n datePickerMenu.value?.showPopover();\r\n};\r\nconst hide = () => {\r\n datePickerMenu.value?.hidePopover();\r\n};\r\n\r\nconst selectEntry = (entry: CalendarGridModel) => {\r\n if (entry.isInCurrentMonth) {\r\n localValue.value = moment(entry.dateString);\r\n hide();\r\n }\r\n};\r\n\r\nconst switchDate = (amount: number, unitOfTime: unitOfTime.Base) => {\r\n navigationDate.value = moment(navigationDate.value.add(amount, unitOfTime));\r\n};\r\n\r\nconst jumptoToday = () => {\r\n navigationDate.value = moment();\r\n};\r\n\r\n//#endregion\r\n\r\n//#region Expose\r\n__expose({\r\n toggle,\r\n hide,\r\n show\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"date-picker\", { 'read-only': _ctx.readonly, disabled: _ctx.disabled, danger: _ctx.isInvalid, 'is-invalid': _ctx.isInvalid }])\n }, [\n (!_ctx.buttonOnly)\n ? _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 0,\n class: _normalizeClass([\"date-picker-input\", { 'read-only': _ctx.readonly, disabled: _ctx.disabled }]),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event)),\n ref_key: \"datePickerInput\",\n ref: datePickerInput,\n readonly: _ctx.readonly,\n disabled: _ctx.disabled,\n placeholder: _ctx.placeholder\n }, null, 10, _hoisted_1)), [\n [\n _vModelText,\n inputValue.value,\n void 0,\n { lazy: true }\n ]\n ])\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"date-picker-button\", { disabled: _ctx.disabled }]),\n popovertarget: `date-picker-${_unref(id)}`,\n ref_key: \"datePickerButton\",\n ref: datePickerButton,\n disabled: _ctx.disabled\n }, [\n _createVNode(Icon, { icon: \"Calendar\" })\n ], 10, _hoisted_2),\n _createElementVNode(\"div\", {\n id: `date-picker-${_unref(id)}`,\n class: _normalizeClass([\"date-picker-menu\", { 'is-open': isOpen.value }]),\n popover: \"\",\n onToggle: toggleHandler,\n ref_key: \"datePickerMenu\",\n ref: datePickerMenu,\n style: _normalizeStyle({\r\n transform: `translate(${menuPosition.x}px, ${menuPosition.y}px)`\r\n })\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"current-selection\", { 'has-value': localValue.value }])\n }, _toDisplayString(localValue.value ? _ctx.$d(localValue.value.toDate(), \"longDateWithWeekDay\") : _ctx.$t(\"noDateSelected\")), 3),\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.$t(`${navigationDate.value.format(\"MMMM\").toLowerCase()}`)), 1),\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(navigationDate.value.format(\"YYYY\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, _toDisplayString(_ctx.$t(\"weekday.mon\")), 1),\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString(_ctx.$t(\"weekday.tue\")), 1),\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString(_ctx.$t(\"weekday.wed\")), 1),\n _createElementVNode(\"div\", _hoisted_13, _toDisplayString(_ctx.$t(\"weekday.thu\")), 1),\n _createElementVNode(\"div\", _hoisted_14, _toDisplayString(_ctx.$t(\"weekday.fri\")), 1),\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString(_ctx.$t(\"weekday.sat\")), 1),\n _createElementVNode(\"div\", _hoisted_16, _toDisplayString(_ctx.$t(\"weekday.sun\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(calculatedGridArray.value, (row, rowIndex) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"calendar-grid-row\",\n key: `row-${rowIndex}`\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(row, (entry, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n \"data-date\": entry.dateString,\n \"aria-selected\": entry.dateString == localValue.value?.format(DEFAULT_DATE_V_MODEL_FORMAT),\n class: _normalizeClass([\"calendar-grid-entry\", {\r\n 'current-month': entry.isInCurrentMonth,\r\n today: _unref(today).format(DEFAULT_DATE_V_MODEL_FORMAT) == entry.dateString,\r\n selected: entry.dateString == localValue.value?.format(DEFAULT_DATE_V_MODEL_FORMAT)\r\n }]),\n key: `entry-${rowIndex}-${index}`,\n onClick: ($event: any) => (selectEntry(entry))\n }, _toDisplayString(entry.day), 11, _hoisted_18))\n }), 128))\n ]))\n }), 128))\n ])\n ]),\n _hoisted_19,\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono pre-year\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (switchDate(-1, 'year'))),\n title: _ctx.$t('datepicker.lastYear')\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronDoubleLeft\" })\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono pre-month\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (switchDate(-1, 'month'))),\n title: _ctx.$t('datepicker.lastMonth')\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronLeft\" })\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono to-today\",\n onClick: jumptoToday,\n title: _ctx.$t('datepicker.currentMonth')\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"CurrentMonthSheet\" })\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono post-year\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (switchDate(1, 'month'))),\n title: _ctx.$t('datepicker.nextMonth')\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronRight\" })\n ]),\n _: 1\n }, 8, [\"title\"]),\n _createVNode(_component_b_btn, {\n class: \"btn-icon mono post-month\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (switchDate(1, 'year'))),\n title: _ctx.$t('datepicker.nextYear')\n }, {\n default: _withCtx(() => [\n _createVNode(Icon, { icon: \"ChevronDoubleRight\" })\n ]),\n _: 1\n }, 8, [\"title\"])\n ])\n ], 46, _hoisted_3)\n ], 2))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./MDatePicker.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MDatePicker.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./AdvancedAutoMappingSettingsDialog.vue?vue&type=template&id=698625c2\"\nimport script from \"./AdvancedAutoMappingSettingsDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AdvancedAutoMappingSettingsDialog.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { reactive } from \"vue\";\r\nimport { MappingGenerationResultModel } from \"@medapro-types/ChannelCreator/components/AutoMappingTab\";\r\n\r\n//#region General\r\ntype ViewModel = { showModal: boolean };\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AutoMappingSummary',\n props: {\n summary: {}\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\r\n\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst viewModel = reactive({ showModal: false });\r\n//#endregion\r\n\r\n//#region Methods\r\nconst show = () => {\r\n viewModel.showModal = true;\r\n};\r\n__expose({\r\n show: show\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_col = _resolveComponent(\"b-col\")!\n const _component_b_row = _resolveComponent(\"b-row\")!\n const _component_b_container = _resolveComponent(\"b-container\")!\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n \"header-close-content\": \"\",\n ref: \"summary\",\n title: _ctx.$t('Automapping.AutomappingShowStatisticsTitle'),\n modelValue: viewModel.showModal,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((viewModel.showModal) = $event)),\n \"data-cy\": \"channel-creator-automapping-summary-modal\"\n }, {\n \"modal-footer\": _withCtx(({ ok }) => [\n _createVNode(_component_b_btn, {\n onClick: ok,\n \"data-cy\": \"channel-creator-automapping-summary-close-btn\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"Close\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_b_container, { fluid: \"\" }, {\n default: _withCtx(() => [\n _createVNode(_component_b_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_b_col, { cols: \"12\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"h6\", null, _toDisplayString(_ctx.$t(\"AutoMapping.Summary.Subtitle\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_b_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_b_col, { cols: \"6\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AutoMapping.Summary.catalogMappingsCount\")) + \" :\", 1)\n ]),\n _: 1\n }),\n _createVNode(_component_b_col, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.summary.catalogMappingsCount ?? 0), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_b_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_b_col, { cols: \"6\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AutoMapping.Summary.globalMappingsCount\")) + \" :\", 1)\n ]),\n _: 1\n }),\n _createVNode(_component_b_col, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.summary.globalMappingsCount ?? 0), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_b_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_b_col, { cols: \"6\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AutoMapping.Summary.invariantAttributeMappingsCount\")) + \" :\", 1)\n ]),\n _: 1\n }),\n _createVNode(_component_b_col, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.summary.invariantAttributeMappingsCount ?? 0), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_b_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_b_col, { cols: \"6\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AutoMapping.Summary.variantAttributeMappingsCount\")) + \" :\", 1)\n ]),\n _: 1\n }),\n _createVNode(_component_b_col, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.summary.variantAttributeMappingsCount ?? 0), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"modelValue\"]))\n}\n}\n\n})","\r\n\r\n","import script from \"./AutoMappingSummary.vue?vue&type=script&setup=true&context=true&lang=ts\"\nexport * from \"./AutoMappingSummary.vue?vue&type=script&setup=true&context=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./MappingProjectCreationDialog.vue?vue&type=template&id=73ceabda\"\nimport script from \"./MappingProjectCreationDialog.vue?vue&type=script&lang=js\"\nexport * from \"./MappingProjectCreationDialog.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./OpenMappingProjectDialog.vue?vue&type=template&id=1a018355\"\nimport script from \"./OpenMappingProjectDialog.vue?vue&type=script&lang=js\"\nexport * from \"./OpenMappingProjectDialog.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./VersioningCommentModal.vue?vue&type=template&id=4154cf7e\"\nimport script from \"./VersioningCommentModal.vue?vue&type=script&lang=js\"\nexport * from \"./VersioningCommentModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./ManageCatalogs.vue?vue&type=template&id=27618e2a\"\nimport script from \"./ManageCatalogs.vue?vue&type=script&lang=js\"\nexport * from \"./ManageCatalogs.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./RenameCatalogDialog.vue?vue&type=template&id=7abd8626\"\nimport script from \"./RenameCatalogDialog.vue?vue&type=script&lang=js\"\nexport * from \"./RenameCatalogDialog.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"spinner-bar\" }\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SpinnerBar',\n props: {\n animationOn: { type: Boolean }\n },\n setup(__props: any) {\n\nconst props = __props;\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"runner\", { 'animation-stopped': !props.animationOn }])\n }, null, 2)\n ]))\n}\n}\n\n})","import script from \"./SpinnerBar.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SpinnerBar.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock, resolveComponent as _resolveComponent } from \"vue\"\n\nconst _hoisted_1 = { class: \"export-progress-modal-content\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = [\"innerHTML\"]\n\nimport Alert from \"@common/components/Alert.vue\";\r\nimport SpinnerBar from \"@common/components/SpinnerBar.vue\";\r\nimport { ref, watch } from \"vue\";\r\n\r\n//#region General\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ExportProgressModal',\n props: {\n isExport: { type: Boolean },\n modalShow: { type: Boolean },\n errors: {}\n },\n emits: [\"cancelExport\", \"update:modalShow\"],\n setup(__props: any, { emit: $emit }) {\n\nconst props = __props;\n\r\nconst intern_modalShow = ref(false);\r\n\r\n\r\n//#endregion\r\n\r\n//#region Show Control\r\nwatch(\r\n () => props.modalShow,\r\n (nv) => {\r\n intern_modalShow.value = nv;\r\n }\r\n);\r\nwatch(intern_modalShow, (nv) => {\r\n $emit(\"update:modalShow\", nv);\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n\n return (_openBlock(), _createBlock(_component_b_modal, {\n \"header-close-content\": \"\",\n ref: \"modal\",\n id: \"export-progress-modal\",\n class: \"export-progress-modal\",\n \"body-class\": \"overflow-auto\",\n title: _ctx.$t('ExcelEdit'),\n centered: \"\",\n \"no-close-on-backdrop\": \"\",\n \"no-close-on-esc\": \"\",\n \"ok-only\": \"\",\n \"ok-title\": !props.errors ? _ctx.$t('cancel') : _ctx.$t('Close'),\n \"hide-footer\": !props.isExport && !props.errors,\n modelValue: intern_modalShow.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((intern_modalShow).value = $event)),\n onOk: _cache[1] || (_cache[1] = ($event: any) => ($emit('cancelExport'))),\n \"data-cy\": \"excel-edit-progress-mdl\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", null, [\n (!props.errors)\n ? (_openBlock(), _createElementBlock(\"strong\", _hoisted_2, _toDisplayString(props.isExport ? _ctx.$t(\"creatingExcelEditFile\") : _ctx.$t(\"importingExcelEditFile\")), 1))\n : _createCommentVNode(\"\", true),\n (props.errors)\n ? (_openBlock(), _createElementBlock(\"strong\", _hoisted_3, _toDisplayString(props.isExport ? _ctx.$t(\"cantCreateExcelEditFile\") : _ctx.$t(\"cantImportingExcelEditFile\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(SpinnerBar, {\n \"animation-on\": !props.errors,\n class: \"mb-3\"\n }, null, 8, [\"animation-on\"]),\n (!props.errors)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"time-hint\",\n innerHTML: _ctx.$t('excelEdit.timeHint')\n }, null, 8, _hoisted_4))\n : _createCommentVNode(\"\", true),\n (props.errors)\n ? (_openBlock(), _createBlock(Alert, {\n key: 1,\n show: \"\",\n variant: \"danger\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(props.errors), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"ok-title\", \"hide-footer\", \"modelValue\"]))\n}\n}\n\n})","\r\n\r\n","import script from \"./ExportProgressModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ExportProgressModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ExcelExportArgs } from \"@medapro-types/services/excelEdit\";\r\nimport api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n exportExcelEdit: async function (args: ExcelExportArgs) {\r\n const response = await api.post(endpoints.excelEdit.export, args);\r\n return response.data;\r\n },\r\n excelImport: async function name(file: File) {\r\n const response = await api.post(\r\n endpoints.excelEdit.import,\r\n { file },\r\n {\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\"\r\n }\r\n }\r\n );\r\n return response.data;\r\n },\r\n getExportDataTypes: async function () {\r\n const response = await api.get(endpoints.excelEdit.GetExportDataTypes);\r\n return response.data;\r\n },\r\n getMamParameterTypes: async function () {\r\n const response = await api.get(endpoints.excelEdit.GetMamParameterTypes);\r\n return response.data;\r\n },\r\n getAttributeGroupsOfCatalogNode: async function (catalogId: string, nodeId: string, languageCode: string) {\r\n const response = await api.get(endpoints.excelEdit.GetAttributeGroupsOfCatalogNode, { params: { catalogId, nodeId, language: languageCode } });\r\n return response.data;\r\n },\r\n exportAdvancedSearchExcelEdit: async function (advancedSearchId: string, args: ExcelExportArgs) {\r\n const response = await api.post(endpoints.excelEdit.exportAdvancedSearch, args, { params: { advancedSearchId } });\r\n return response.data;\r\n }\r\n};\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, withDirectives as _withDirectives, normalizeClass as _normalizeClass, vShow as _vShow, withModifiers as _withModifiers } from \"vue\"\n\nconst _hoisted_1 = { class: \"excel-edit-editor\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"warnings-section\"\n}\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { class: \"warning-type mb-2\" }\nconst _hoisted_5 = { class: \"warning-entry-container\" }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { class: \"d-flex align-items-center\" }\nconst _hoisted_8 = { class: \"warning-type mb-2\" }\nconst _hoisted_9 = { class: \"warning-entry-container\" }\nconst _hoisted_10 = { class: \"info-language-section\" }\nconst _hoisted_11 = { class: \"language-selection\" }\nconst _hoisted_12 = { key: 0 }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"info-area\" }, null, -1)\nconst _hoisted_14 = {\n key: 1,\n class: \"attribute-group-section\"\n}\nconst _hoisted_15 = { class: \"attribute-group\" }\nconst _hoisted_16 = { class: \"hint\" }\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"icon\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"mdp-Info\" })\n], -1)\nconst _hoisted_18 = { class: \"text\" }\nconst _hoisted_19 = { class: \"export-selection-section\" }\nconst _hoisted_20 = { class: \"mb-1\" }\nconst _hoisted_21 = { class: \"export-selection-section-content\" }\nconst _hoisted_22 = { class: \"selection-area\" }\nconst _hoisted_23 = { class: \"general\" }\nconst _hoisted_24 = { class: \"attributes\" }\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-filler\" }, null, -1)\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"filler-area\" }, null, -1)\nconst _hoisted_27 = {\n key: 2,\n class: \"mam-section-selection\"\n}\nconst _hoisted_28 = { class: \"mam-section-selection-content\" }\nconst _hoisted_29 = {\n key: 3,\n class: \"erp-section-selection\"\n}\nconst _hoisted_30 = { class: \"erp-section-selection-content\" }\nconst _hoisted_31 = { class: \"action-section\" }\nconst _hoisted_32 = { class: \"upload-section\" }\nconst _hoisted_33 = [\"onDrop\"]\nconst _hoisted_34 = { class: \"is-dropping-content\" }\nconst _hoisted_35 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"cil-cloud-upload\" })\n], -1)\nconst _hoisted_36 = { class: \"text\" }\nconst _hoisted_37 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"cil-cloud-upload\" })\n], -1)\nconst _hoisted_38 = { class: \"text\" }\nconst _hoisted_39 = [\"accept\"]\nconst _hoisted_40 = {\n key: 1,\n class: \"uploaded-content\"\n}\nconst _hoisted_41 = { class: \"icon\" }\nconst _hoisted_42 = {\n key: 0,\n class: \"mdp-FileExcel\"\n}\nconst _hoisted_43 = {\n key: 1,\n class: \"cil-report\"\n}\nconst _hoisted_44 = { class: \"name\" }\nconst _hoisted_45 = { class: \"action-area mt-2\" }\nconst _hoisted_46 = {\n key: 0,\n class: \"error-area\"\n}\n\nimport { Typeguards } from \"@/util/typeguards\";\r\n\r\nimport Alert from \"@common/components/Alert.vue\";\r\nimport Dropdown from \"@common/components/Dropdown.vue\";\r\nimport ExportProgressModal from \"./ExportProgressModal.vue\";\r\n\r\nimport { ERPSection, ExportSelection, ExportWarnings, Selectable } from \"@medapro-types/ContentEditor/Components/ExcelEditEditor\";\r\nimport { CatalogNodeState } from \"@medapro-types/ContentEditor/content-editor-store\";\r\nimport type { LocalizedLanguage, MAMDetails } from \"@medapro-types/common/common\";\r\nimport { MetaDataState } from \"@medapro-types/common/metadata\";\r\nimport { RootState } from \"@medapro-types/common/rootstate\";\r\nimport { ActivityCriteria, ExcelEditAttributeGroups, ExcelExportArgs } from \"@medapro-types/services/excelEdit\";\r\n\r\nimport activityApi from \"@services/activity.js\";\r\nimport apps from \"@services/applications.js\";\r\nimport automationServerApi from \"@services/automationServer\";\r\nimport commonApi from \"@services/common.js\";\r\nimport endpoints from \"@services/endpoints\";\r\nimport erpSectionsApi from \"@services/erpSections.js\";\r\nimport excelEditApi from \"@services/excelEdit\";\r\nimport mediaAssetsApi from \"@services/mediaAssets.js\";\r\n\r\nimport _ from \"lodash\";\r\nimport moment from \"moment\";\r\nimport { Ref, computed, onMounted, reactive, ref, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { createNamespacedHelpers, useState } from \"vuex-composition-helpers\";\r\n//@ts-ignore\r\nimport { Guid } from \"@util/guid\";\r\nimport emitter from \"tiny-emitter/instance\";\r\n\r\n//#region General\r\ntype ViewModel = {\r\n selectedLanguage: string;\r\n attributeGroups: Array;\r\n selectedAttributeGroup?: string | null;\r\n exportSelection: Record;\r\n includeUnits: boolean;\r\n MAMDetails: MAMDetails | undefined;\r\n uploadedFile: File | null;\r\n isDroping: boolean;\r\n isExportProgress: boolean;\r\n modalShow: boolean;\r\n warnings: ExportWarnings;\r\n errors?: string;\r\n showExportSuccessAlert: boolean;\r\n showImportSuccessAlert: boolean;\r\n languages: Array;\r\n exportIsCanceled: boolean;\r\n};\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ExcelEditEditor',\n props: {\n isAdvancedSearchExcelEdit: { type: Boolean },\n advancedSearchId: {},\n advancedSearchName: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\r\nconst { t: $t } = useI18n();\r\n\r\n//#endregion\r\n\r\n//#region Store\r\n\r\n///contentEditor/catalogNode\r\nconst { userSettings, meta, auth, globalParameters } = useState([\"userSettings\", \"meta\", \"auth\", \"globalParameters\"]);\r\n\r\nconst { useState: useCatalogNodeState } = createNamespacedHelpers(\"contentEditor/catalogNode\");\r\nconst { path } = useCatalogNodeState([\"path\"]);\r\n\r\n///Metadata\r\nconst { useState: useMetaDataState } = createNamespacedHelpers(\"metadata\");\r\nconst { contentLanguages } = useMetaDataState([\"contentLanguages\"]);\r\n//#endregion\r\n\r\n//#region Computed Store Value\r\nconst primaryLanguageCode = computed(() => contentLanguages.value.enabled[0].languageCode);\r\n\r\nconst catalogId = computed(() => {\r\n return path.value[0].nodeId;\r\n});\r\n\r\nconst currentNodeId = computed(() => {\r\n return _.last(path.value).nodeId;\r\n});\r\nconst currentNodeName = computed(() => {\r\n return _.last(path.value).name;\r\n});\r\n//#endregion\r\n\r\n//#region ViewModel\r\nconst vm = reactive({\r\n selectedLanguage: primaryLanguageCode.value,\r\n attributeGroups: [],\r\n selectedAttributeGroup: null,\r\n exportSelection: {\r\n masterData: { name: \"MasterData\", selected: true },\r\n alternativeArticleNo: { name: \"AlternativeArticleNos\", selected: true },\r\n mediaAssets: { name: \"MediaAssets\", selected: true },\r\n keywords: { name: \"Keywords\", selected: true },\r\n classification: { name: \"Classifications\", selected: true },\r\n references: { name: \"References\", selected: true },\r\n prices: { name: \"Prices\", selected: true },\r\n globalAttributes: { name: \"GlobalAttributes\", selected: true },\r\n erpAttributes: { name: \"ErpSections\", selected: true },\r\n textAttributes: { name: \"InvariantAttributes\", selected: true },\r\n tableAttributes: { name: \"VariantAttributes\", selected: true }\r\n },\r\n includeUnits: true,\r\n MAMDetails: undefined,\r\n isDroping: false,\r\n uploadedFile: null,\r\n isExportProgress: true,\r\n modalShow: false,\r\n warnings: {},\r\n errors: undefined,\r\n showExportSuccessAlert: false,\r\n showImportSuccessAlert: false,\r\n languages: [],\r\n exportIsCanceled: false\r\n});\r\n//#endregion\r\n\r\n//#region Language Selection\r\n\r\nconst languageList = computed(() => {\r\n return vm.languages.map((x) => {\r\n return { key: x.languageCode, name: x.localizedName };\r\n });\r\n});\r\n//#endregion\r\n\r\n\r\n//#region Attribute Group Selection\r\n\r\nconst hasMultipleAttributeGroups = computed(() => {\r\n return _.filter(vm.attributeGroups, (x) => !!x.attributeGroupId)?.length > 1;\r\n});\r\n\r\nwatch(\r\n () => hasMultipleAttributeGroups,\r\n (nv) => {\r\n if (nv && !vm.selectedAttributeGroup) {\r\n vm.exportSelection.textAttributes.selected = false;\r\n vm.exportSelection.tableAttributes.selected = false;\r\n }\r\n },\r\n { immediate: true }\r\n);\r\n\r\n//#endregion\r\n\r\n//#region MAM-Section-Selection\r\nconst allMAMSectionsSelected = computed(() => {\r\n return !_.some(mamSectionSelectionList.value, { selection: false });\r\n});\r\nconst noneMAMSectionsSelected = computed(() => {\r\n return !_.some(mamSectionSelectionList.value, { selection: true });\r\n});\r\nconst selectedMAMSectionString = computed(() => {\r\n if (noneMAMSectionsSelected.value) {\r\n return `<${$t(\"none\")}>`;\r\n }\r\n if (allMAMSectionsSelected.value) {\r\n return `${$t(\"all\")}`;\r\n }\r\n return mamSectionSelectionList.value\r\n .filter((x) => x.selection)\r\n .map((x) => $t(`mamSection.${x.name}`))\r\n .toString();\r\n});\r\n\r\nconst mamSectionsList = ref>([]);\r\nconst mamSectionSelectionList = ref>([]);\r\n\r\nconst selectAllMamSection = () => {\r\n for (const section of mamSectionSelectionList.value) {\r\n section.selection = true;\r\n }\r\n};\r\nconst deselectAllMamSection = () => {\r\n for (const section of mamSectionSelectionList.value) {\r\n section.selection = false;\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region Erp-Section-Selection\r\nconst allERPSectionsSelected = computed(() => {\r\n return !_.some(erpSectionSelectionList.value, { selection: false, isSelectable: true });\r\n});\r\nconst noneERPSectionsSelected = computed(() => {\r\n return !_.some(erpSectionSelectionList.value, { selection: true });\r\n});\r\n\r\nconst selectedERPSectionString = computed(() => {\r\n if (noneERPSectionsSelected.value) {\r\n return `<${$t(\"none\")}>`;\r\n }\r\n if (allERPSectionsSelected.value) {\r\n return `${$t(\"all\")}`;\r\n }\r\n return erpSectionSelectionList.value\r\n .filter((x) => x.selection)\r\n .map((x, index) => `${index === 0 ? \"\" : \" \"}${x.name}`)\r\n .toString();\r\n});\r\n\r\nconst erpSectionsList = ref>>([]);\r\nconst erpSectionSelectionList = ref>([]);\r\n\r\nconst selectAllErpSection = () => {\r\n for (const section of erpSectionSelectionList.value) {\r\n section.selection = section.isSelectable;\r\n }\r\n};\r\nconst deselectAllErpSection = () => {\r\n for (const section of erpSectionSelectionList.value) {\r\n section.selection = false;\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region data export type selection\r\nconst exportSelectionPermissions = ref>();\r\n\r\n//#region Export\r\n\r\n//#region Export\r\nconst isIncludeUnitsEnabled = computed(() => {\r\n return _.some(\r\n vm.exportSelection,\r\n (item) =>\r\n item.selected &&\r\n (item.name === \"GlobalAttributes\" || item.name === \"ErpSections\" || item.name === \"VariantAttributes\" || item.name === \"InvariantAttributes\")\r\n );\r\n});\r\n\r\nconst isTriggerExportDisabled = computed(() => {\r\n return _.filter(vm.exportSelection, (x) => x.selected)?.length == 0 && !vm.includeUnits;\r\n});\r\n\r\nwatch(\r\n () => vm.exportSelection,\r\n () => {\r\n if (!isIncludeUnitsEnabled.value) {\r\n vm.includeUnits = false;\r\n }\r\n },\r\n { deep: true, immediate: false }\r\n);\r\n\r\nwatch(\r\n () => vm.modalShow,\r\n () => {\r\n vm.errors = undefined;\r\n }\r\n);\r\n\r\nconst getFileName = () => {\r\n const formattedToday = moment(new Date()).format(\"YYYY-MM-DD kk-mm-ss\");\r\n if (props.isAdvancedSearchExcelEdit) {\r\n return `${formattedToday} ${props.advancedSearchName} ExcelEdit.xlsx`;\r\n } else {\r\n const cleanedNodeName = currentNodeName.value.replace(/[!@#$%^&*+\\-=[\\]{};':\"\\\\|,.<>/?]+/gi, \"_\");\r\n return `${formattedToday} ${cleanedNodeName} ExcelEdit.xlsx`;\r\n }\r\n};\r\n\r\nconst triggerExport = async () => {\r\n vm.isExportProgress = true;\r\n vm.modalShow = true;\r\n try {\r\n let excelResponse = null;\r\n const mamParameters = noneMAMSectionsSelected.value\r\n ? \"None\"\r\n : mamSectionSelectionList.value\r\n .filter((x) => x.selection)\r\n .map((x) => x.name)\r\n .toString();\r\n if (props.isAdvancedSearchExcelEdit) {\r\n const searchId = props.advancedSearchId;\r\n if (!searchId) return;\r\n vm.exportIsCanceled = false;\r\n const formData: ExcelExportArgs = {\r\n catalogId: \"548f9654-5369-41ed-b1e9-80bb04477dbe\",\r\n nodeId: Guid.empty,\r\n attributegroupId: Guid.empty,\r\n language: vm.selectedLanguage ?? primaryLanguageCode.value,\r\n uiLanguage: userSettings.value.CurrentLocale as string,\r\n erpSectionIds: [],\r\n includeUnits: vm.includeUnits,\r\n types: _.chain(vm.exportSelection)\r\n .filter((x) => x.selected)\r\n .map((x) => x.name)\r\n .value()\r\n .toString(),\r\n mamParameters: vm.MAMDetails?.isMamEnabled ? mamParameters : \"None\"\r\n };\r\n excelResponse = await excelEditApi.exportAdvancedSearchExcelEdit(searchId, formData);\r\n } else {\r\n const formData: ExcelExportArgs = {\r\n catalogId: catalogId.value,\r\n nodeId: currentNodeId.value,\r\n attributegroupId: vm.selectedAttributeGroup ?? \"67f7f916-0654-44b4-9632-d0d895b66630\",\r\n language: vm.selectedLanguage ?? primaryLanguageCode.value,\r\n uiLanguage: userSettings.value.CurrentLocale as string,\r\n erpSectionIds: _.chain(erpSectionSelectionList.value)\r\n .filter((x) => x.selection)\r\n .map((x) => x.id)\r\n .value(),\r\n includeUnits: vm.includeUnits,\r\n types: _.chain(vm.exportSelection)\r\n .filter((x) => x.selected)\r\n .map((x) => x.name)\r\n .value()\r\n .toString(),\r\n mamParameters: vm.MAMDetails?.isMamEnabled ? mamParameters : \"None\"\r\n };\r\n excelResponse = await excelEditApi.exportExcelEdit(formData);\r\n }\r\n vm.warnings = excelResponse.warnings ?? {};\r\n if (vm.exportIsCanceled) return;\r\n\r\n if (!excelResponse.isSuccess) {\r\n vm.errors = excelResponse.message;\r\n return;\r\n } else {\r\n const url = meta.value.config.apiUrl + endpoints.excelEdit.download + `?token=${excelResponse.token}&fileName=${getFileName()}&key=${auth.value.token}`;\r\n window.location.href = url;\r\n vm.showExportSuccessAlert = true;\r\n }\r\n vm.modalShow = false;\r\n } catch (error: unknown) {\r\n if (Typeguards.isAxiosError(error)) {\r\n const responseData = error.response?.data;\r\n if (responseData) {\r\n if (hasBackendError409(responseData)) {\r\n switch (responseData.error.toLocaleLowerCase()) {\r\n case \"invalidnode\":\r\n vm.errors = $t(\"error.invalidNode\").toString();\r\n break;\r\n case \"invalidcatalog\":\r\n vm.errors = $t(\"error.invalidCatalog\").toString();\r\n break;\r\n case \"attributegroupnotexist\":\r\n vm.errors = $t(\"error.attributeGroupNotExist\").toString();\r\n break;\r\n case \"invalidoperation\":\r\n vm.errors = $t(\"error.invalidOperation\").toString();\r\n break;\r\n case \"noarticleexistsforexport\":\r\n vm.errors = $t(\"error.noArticleExistsForExport\").toString();\r\n break;\r\n default:\r\n vm.modalShow = false;\r\n emitter.emit(\"global-error\", { type: \"api\", exception: error });\r\n break;\r\n }\r\n } else {\r\n vm.modalShow = false;\r\n emitter.emit(\"global-error\", { type: \"api\", exception: error });\r\n }\r\n } else {\r\n vm.modalShow = false;\r\n emitter.emit(\"global-error\", { type: \"api\", exception: error });\r\n }\r\n }\r\n } finally {\r\n vm.exportIsCanceled = false;\r\n }\r\n};\r\n\r\nconst cancelExportProgressModal = () => {\r\n if (vm.isExportProgress) {\r\n vm.exportIsCanceled = true;\r\n }\r\n};\r\n\r\nconst hasBackendError409 = (e: unknown): e is { message: string; value: string; error: string } => {\r\n return !!e && Object.hasOwn(e, \"message\") && Object.hasOwn(e, \"value\") && Object.hasOwn(e, \"error\");\r\n};\r\n\r\nconst exportWarningsKeys = computed(() => {\r\n return Object.keys(vm.warnings);\r\n});\r\n\r\nconst moreThanOneWarning = computed(() => {\r\n return exportWarningsKeys.value.length > 1;\r\n});\r\n\r\n//#endregion\r\n\r\n//#region File-Upload\r\nconst acceptedMimeType = [\"application/vnd.ml-excel\", \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\", \"application/x-excel\"];\r\n\r\nconst fileUploadInput: Ref = ref();\r\n\r\nconst hasCorrectFileType = computed(() => {\r\n return acceptedMimeType.includes(vm.uploadedFile?.type ?? \"\");\r\n});\r\n\r\nconst fileDrop = (event: DragEvent) => {\r\n const data = event.dataTransfer?.files;\r\n if (data) {\r\n const file = data.item(0);\r\n if (file) {\r\n vm.uploadedFile = file;\r\n } else {\r\n alert($t(\"error.wrongFileType\"));\r\n }\r\n }\r\n vm.isDroping = false;\r\n};\r\n\r\nconst changeFile = (event: Event) => {\r\n const target: HTMLInputElement | null = event.target;\r\n const data = target?.files;\r\n if (data) {\r\n const file = data.item(0);\r\n if (file) {\r\n vm.uploadedFile = file;\r\n } else {\r\n alert($t(\"error.wrongFileType\"));\r\n }\r\n }\r\n};\r\n\r\nconst triggerimport = async () => {\r\n vm.isExportProgress = false;\r\n vm.modalShow = true;\r\n try {\r\n if (vm.uploadedFile) {\r\n const excelResponse = await excelEditApi.excelImport(vm.uploadedFile);\r\n vm.warnings = excelResponse.warnings ?? {};\r\n const hasWarning: boolean = exportWarningsKeys.value.length > 0;\r\n createActivity(vm.uploadedFile.name, hasWarning, !excelResponse.isSuccess);\r\n if (!excelResponse.isSuccess) {\r\n vm.errors = excelResponse.message;\r\n return;\r\n } else {\r\n vm.showImportSuccessAlert = true;\r\n emitter.emit(\"refresh-catalog-tree\");\r\n\r\n try {\r\n await automationServerApi.executeAutomationsIfRequired([3, 5]); // triggertypes ArticlesModified and DataImported\r\n } catch (error) {\r\n console.error(\"Automation execution for the trigger type 'Articles modified and Data imported' failed with error : \", error);\r\n }\r\n\r\n setTimeout(() => {\r\n vm.modalShow = false;\r\n }, 1000);\r\n }\r\n }\r\n } catch (error) {\r\n if (Typeguards.isAxiosError(error)) {\r\n const responseData = error.response?.data;\r\n if (responseData) {\r\n if (hasBackendError409(responseData)) {\r\n vm.errors = responseData.message;\r\n } else {\r\n vm.modalShow = false;\r\n emitter.emit(\"global-error\", { type: \"api\", exception: error });\r\n }\r\n } else {\r\n vm.modalShow = false;\r\n emitter.emit(\"global-error\", { type: \"api\", exception: error });\r\n }\r\n }\r\n } finally {\r\n vm.uploadedFile = null;\r\n }\r\n};\r\nconst createActivity = async (fileName: string, hasWarning: boolean, hasError: boolean) => {\r\n try {\r\n if (globalParameters.value.IsActivityFeedEnabled) {\r\n const criteria: ActivityCriteria = {\r\n severity: hasError ? \"Error\" : hasWarning ? \"Warning\" : \"Information\",\r\n process: \"Import\",\r\n objectType: \"Data\",\r\n objectValue: fileName,\r\n status: hasError ? \"WithAtLeastOneError\" : hasWarning ? \"WithAtLeastOneWarning\" : \"Successful\",\r\n action: hasError ? \"Canceled\" : hasWarning ? \"Completed\" : \"Completed\",\r\n applicationId: Number(apps.Modules.ContentEditor.Id),\r\n descriptionKey: \"ExcelEditExecuted\",\r\n descriptionValues: []\r\n };\r\n const criterias: Array = [criteria];\r\n await activityApi.createActivity(criterias);\r\n }\r\n } catch (error) {\r\n console.error(\"Activity insertion for excel edit import process failed with error : \", error);\r\n }\r\n};\r\n//#endregion\r\n\r\n//#region Load Data\r\nconst loadData = async () => {\r\n try {\r\n loadLanguageSpecificData();\r\n loadExportSelectionTypes();\r\n vm.MAMDetails = await mediaAssetsApi.getMamDetails();\r\n if (vm.MAMDetails?.isMamEnabled) {\r\n mamSectionsList.value = await excelEditApi.getMamParameterTypes();\r\n mamSectionSelectionList.value = mamSectionsList.value\r\n .filter((x) => x != \"None\")\r\n .map((x) => {\r\n return { selection: false, name: x };\r\n });\r\n }\r\n } catch (error: unknown) {\r\n if (Typeguards.isAxiosError(error)) {\r\n console.error(\"During the Fetching of the Data occured an Error\", error.message);\r\n }\r\n }\r\n};\r\n\r\nconst setBaseAttributeGroupValues = () => {\r\n const baseAttributeGroup = _.find(vm.attributeGroups, (x) => x.attributeGroupId == \"67f7f916-0654-44b4-9632-d0d895b66630\");\r\n if (baseAttributeGroup) {\r\n baseAttributeGroup.name = $t(\"baseAttributeGroup\").toString();\r\n baseAttributeGroup.name_IsFallback = false;\r\n }\r\n};\r\n\r\nconst loadLanguageSpecificData = async () => {\r\n const currentUiLanguage: string = userSettings.value.CurrentLocale as string;\r\n try {\r\n vm.languages = await commonApi.getLanguagesWithLocalizedName(currentUiLanguage);\r\n\r\n if (!props.isAdvancedSearchExcelEdit) {\r\n vm.attributeGroups = await excelEditApi.getAttributeGroupsOfCatalogNode(catalogId.value, currentNodeId.value, primaryLanguageCode.value);\r\n vm.selectedAttributeGroup = hasMultipleAttributeGroups.value ? null : vm.attributeGroups[0].attributeGroupId;\r\n vm.attributeGroups = _.sortBy(vm.attributeGroups, (x) => x.name);\r\n setBaseAttributeGroupValues();\r\n vm.attributeGroups.unshift({\r\n attributeGroupId: null,\r\n name: `<${$t(\"none\")}>`,\r\n name_IsFallback: false\r\n });\r\n }\r\n\r\n erpSectionsList.value = await erpSectionsApi.get([primaryLanguageCode.value]);\r\n erpSectionSelectionList.value = erpSectionsList.value.map((x) => {\r\n return {\r\n name: x[primaryLanguageCode.value].name,\r\n selection: !(x[primaryLanguageCode.value].isReadOnly && globalParameters.value.IsErpActivated),\r\n id: x[primaryLanguageCode.value].erpSectionId,\r\n isSelectable: !(x[primaryLanguageCode.value].isReadOnly && globalParameters.value.IsErpActivated)\r\n };\r\n });\r\n } catch (error: unknown) {\r\n if (Typeguards.isAxiosError(error)) {\r\n console.error(\"During the Fetching of the Data occured an Error\", error.message);\r\n }\r\n }\r\n};\r\n\r\nconst loadExportSelectionTypes = async () => {\r\n try {\r\n const exportTypes: Record = await excelEditApi.getExportDataTypes();\r\n exportSelectionPermissions.value = exportTypes;\r\n if (!exportTypes[\"References\"]) {\r\n vm.exportSelection.references.selected = false;\r\n }\r\n if (!exportTypes[\"Prices\"]) {\r\n vm.exportSelection.prices.selected = false;\r\n }\r\n } catch (error: unknown) {\r\n if (Typeguards.isAxiosError(error)) {\r\n console.error(\"During the Fetching of the Data occured an Error\", error.message);\r\n }\r\n }\r\n};\r\n\r\nwatch(\r\n () => userSettings.value.CurrentLocale,\r\n () => {\r\n loadLanguageSpecificData();\r\n }\r\n);\r\n\r\n//#endregion\r\n\r\n//#region LifeCycle\r\nonMounted(async () => {\r\n loadData();\r\n});\r\n//#endregion\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_b_btn = _resolveComponent(\"b-btn\")!\n const _component_b_modal = _resolveComponent(\"b-modal\")!\n const _component_BFormCheckbox = _resolveComponent(\"BFormCheckbox\")!\n const _component_BDropdownItem = _resolveComponent(\"BDropdownItem\")!\n const _component_b_form_checkbox = _resolveComponent(\"b-form-checkbox\")!\n const _component_BDropdownForm = _resolveComponent(\"BDropdownForm\")!\n const _component_BDropdown = _resolveComponent(\"BDropdown\")!\n const _component_b_dropdown = _resolveComponent(\"b-dropdown\")!\n const _directive_b_modal = _resolveDirective(\"b-modal\")!\n const _directive_b_tooltip = _resolveDirective(\"b-tooltip\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Alert, {\n class: \"w-100\",\n show: vm.showExportSuccessAlert,\n dismissible: \"\",\n onDismissed: _cache[0] || (_cache[0] = ($event: any) => (vm.showExportSuccessAlert = false)),\n variant: \"success\",\n \"data-cy\": \"excel-edit-export-success-alert\",\n \"with-icon\": \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.exportSuccessfull\")), 1)\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(Alert, {\n class: \"w-100\",\n \"with-icon\": \"\",\n show: vm.showImportSuccessAlert,\n dismissible: \"\",\n onDismissed: _cache[1] || (_cache[1] = ($event: any) => (vm.showImportSuccessAlert = false)),\n variant: \"success\",\n \"data-cy\": \"excel-edit-import-success-alert\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.importSuccessfull\")), 1)\n ]),\n _: 1\n }, 8, [\"show\"]),\n (exportWarningsKeys.value.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (!moreThanOneWarning.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(exportWarningsKeys.value, (warningKey, index) => {\n return (_openBlock(), _createBlock(Alert, {\n \"with-icon\": \"\",\n variant: \"warning\",\n show: \"\",\n key: index\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_unref($t)(`excelEdit.${_unref(_).camelCase(warningKey)}`)), 1),\n _createElementVNode(\"ul\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(vm.warnings[warningKey], (entry, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: \"warning-entry\",\n key: index\n }, _toDisplayString(_unref($t)(`excelEditWarnings.${_unref(_).camelCase(entry)}`)), 1))\n }), 128))\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (moreThanOneWarning.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(Alert, {\n \"with-icon\": \"\",\n variant: \"warning\",\n show: \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_7, [\n _createTextVNode(_toDisplayString(_unref($t)(\"multipleWarnings\")) + \" \", 1),\n _withDirectives((_openBlock(), _createBlock(_component_b_btn, {\n size: \"sm\",\n variant: \"link\",\n class: \"ml-1\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"Open\")), 1)\n ]),\n _: 1\n })), [\n [\n _directive_b_modal,\n void 0,\n void 0,\n { \"warnings-overview\": true }\n ]\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_b_modal, {\n \"header-close-content\": \"\",\n id: \"warnings-overview\",\n \"ok-only\": \"\",\n \"ok-title\": _unref($t)('Close'),\n title: _unref($t)('warningsOverview'),\n \"body-class\": \"warnings-overview-modal\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(exportWarningsKeys.value, (warningKey, index) => {\n return (_openBlock(), _createBlock(Alert, {\n variant: \"warning\",\n show: \"\",\n key: index\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString(_unref($t)(_unref(_).camelCase(warningKey))), 1),\n _createElementVNode(\"ul\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(vm.warnings[warningKey], (entry, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: \"warning-entry\",\n key: index\n }, _toDisplayString(_unref($t)(`excelEditWarnings.${_unref(_).camelCase(entry)}`)), 1))\n }), 128))\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"ok-title\", \"title\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"label\", null, _toDisplayString(_unref($t)(\"excelEdit.language\")), 1),\n _createVNode(Dropdown, {\n id: \"language-dd\",\n modelValue: vm.selectedLanguage,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((vm.selectedLanguage) = $event)),\n items: languageList.value,\n textField: \"name\",\n valueField: \"key\",\n \"data-cy\": \"excel-edit-data-languages-ddn\"\n }, {\n \"item-template\": _withCtx(({ entry }) => [\n entry\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, _toDisplayString(entry.name), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"items\"])\n ]),\n _hoisted_13\n ]),\n (hasMultipleAttributeGroups.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"label\", null, _toDisplayString(_unref($t)(\"attributeGroup\")), 1),\n _createVNode(Dropdown, {\n items: vm.attributeGroups,\n \"text-field\": \"name\",\n \"value-field\": \"attributeGroupId\",\n default: `<${_unref($t)('none')}>`,\n modelValue: vm.selectedAttributeGroup,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((vm.selectedAttributeGroup) = $event)),\n \"data-cy\": \"excel-edit-attribute-groups-ddn\"\n }, {\n \"item-template\": _withCtx(({ entry }) => [\n _createElementVNode(\"span\", {\n class: _normalizeClass({ 'font-italic': entry.name_IsFallback })\n }, _toDisplayString(entry.name), 3)\n ]),\n _: 1\n }, 8, [\"items\", \"default\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, _toDisplayString(_unref($t)(\"excelEdit.multipleAttributegroupsHint\")), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"strong\", _hoisted_20, _toDisplayString(_unref($t)(\"excelEdit.exportSelectionSectionTitle\")), 1),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.masterData.selected,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((vm.exportSelection.masterData.selected) = $event)),\n \"data-cy\": \"excel-edit-master-data-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.masterData\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.alternativeArticleNo.selected,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((vm.exportSelection.alternativeArticleNo.selected) = $event)),\n \"data-cy\": \"excel-edit-alternative-artno-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.alternativeArticleNo\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.mediaAssets.selected,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((vm.exportSelection.mediaAssets.selected) = $event)),\n \"data-cy\": \"excel-edit-media-asset-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.mediaAssets\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.keywords.selected,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((vm.exportSelection.keywords.selected) = $event)),\n \"data-cy\": \"excel-edit-keywords-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.keywords\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.classification.selected,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((vm.exportSelection.classification.selected) = $event)),\n \"data-cy\": \"excel-edit-classification-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.classification\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.references.selected,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((vm.exportSelection.references.selected) = $event)),\n disabled: exportSelectionPermissions.value && !exportSelectionPermissions.value[vm.exportSelection.references.name],\n \"data-cy\": \"excel-edit-references-cbx\"\n }, {\n default: _withCtx(() => [\n _withDirectives((_openBlock(), _createElementBlock(\"span\", null, [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.references\")), 1)\n ])), [\n [\n _directive_b_tooltip,\n \r\n exportSelectionPermissions.value && !exportSelectionPermissions.value[vm.exportSelection.references.name] && _unref($t)('excelEdit.referenceattributesFound')\r\n ,\n void 0,\n { hover: true }\n ]\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.prices.selected,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((vm.exportSelection.prices.selected) = $event)),\n disabled: exportSelectionPermissions.value && !exportSelectionPermissions.value[vm.exportSelection.prices.name],\n \"data-cy\": \"excel-edit-prices-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.prices\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.globalAttributes.selected,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((vm.exportSelection.globalAttributes.selected) = $event)),\n \"data-cy\": \"excel-edit-global-attributes-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.globalAttributes\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.erpAttributes.selected,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((vm.exportSelection.erpAttributes.selected) = $event)),\n \"data-cy\": \"excel-edit-erp-attributes-cbx\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.erpAttributes\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.textAttributes.selected,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((vm.exportSelection.textAttributes.selected) = $event)),\n disabled: (hasMultipleAttributeGroups.value && !vm.selectedAttributeGroup) || props.isAdvancedSearchExcelEdit,\n \"data-cy\": \"excel-edit-text-attributes-cbx\"\n }, {\n default: _withCtx(() => [\n _withDirectives((_openBlock(), _createElementBlock(\"span\", null, [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.textAttributes\")), 1)\n ])), [\n [\n _directive_b_tooltip,\n props.isAdvancedSearchExcelEdit && _unref($t)('excelEdit.textAttributesDisabled'),\n void 0,\n { hover: true }\n ]\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"]),\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.exportSelection.tableAttributes.selected,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((vm.exportSelection.tableAttributes.selected) = $event)),\n disabled: (hasMultipleAttributeGroups.value && !vm.selectedAttributeGroup) || props.isAdvancedSearchExcelEdit,\n \"data-cy\": \"excel-edit-table-attributes-cbx\"\n }, {\n default: _withCtx(() => [\n _withDirectives((_openBlock(), _createElementBlock(\"span\", null, [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.tableAttributes\")), 1)\n ])), [\n [\n _directive_b_tooltip,\n props.isAdvancedSearchExcelEdit && _unref($t)('excelEdit.tableAttributesDisabled'),\n void 0,\n { hover: true }\n ]\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"]),\n _hoisted_25,\n _createVNode(_component_BFormCheckbox, {\n modelValue: vm.includeUnits,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((vm.includeUnits) = $event)),\n \"data-cy\": \"excel-edit-include-units-cbx\",\n disabled: !isIncludeUnitsEnabled.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.includeUnits\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ])\n ]),\n _hoisted_26\n ])\n ]),\n (vm.exportSelection.mediaAssets.selected && vm.MAMDetails?.isMamEnabled)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"label\", null, _toDisplayString(_unref($t)(\"mamSections\")), 1),\n _createVNode(_component_BDropdown, {\n class: \"dropdown-default\",\n text: selectedMAMSectionString.value,\n \"auto-close\": \"inside\",\n \"data-cy\": \"excel-edit-mam-sections-cbx\"\n }, {\n default: _withCtx(() => [\n (allMAMSectionsSelected.value)\n ? (_openBlock(), _createBlock(_component_BDropdownItem, {\n key: 0,\n class: \"mam-section-selection-entry\",\n onClick: deselectAllMamSection\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"deselectAll\")), 1)\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_BDropdownItem, {\n key: 1,\n class: \"mam-section-selection-entry\",\n onClick: selectAllMamSection\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"selectAll\")), 1)\n ]),\n _: 1\n })),\n _createVNode(_component_BDropdownForm, { \"form-class\": \"p-0\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(mamSectionSelectionList.value, (section, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"mam-section-selection-entry hover px-3 py-1\",\n key: index\n }, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: section.selection,\n \"onUpdate:modelValue\": ($event: any) => ((section.selection) = $event)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(`mamSection.${section.name}`)), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\"])\n ]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"text\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (vm.exportSelection.erpAttributes.selected)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"label\", null, _toDisplayString(_unref($t)(\"erpSections\")), 1),\n _createVNode(_component_b_dropdown, {\n class: \"dropdown-default\",\n text: selectedERPSectionString.value,\n \"data-cy\": \"excel-edit-erp-section-cbx\"\n }, {\n default: _withCtx(() => [\n (allERPSectionsSelected.value)\n ? (_openBlock(), _createBlock(_component_BDropdownItem, {\n key: 0,\n class: \"erp-section-selection-entry\",\n onClick: deselectAllErpSection\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"deselectAll\")), 1)\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_BDropdownItem, {\n key: 1,\n class: \"erp-section-selection-entry\",\n onClick: selectAllErpSection\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"selectAll\")), 1)\n ]),\n _: 1\n })),\n _createVNode(_component_BDropdownForm, { \"form-class\": \"p-0\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(erpSectionSelectionList.value, (section, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"erp-section-selection-entry hover px-3 py-1\",\n key: index\n }, [\n _createVNode(_component_b_form_checkbox, {\n modelValue: section.selection,\n \"onUpdate:modelValue\": ($event: any) => ((section.selection) = $event),\n disabled: !section.isSelectable\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(section.name), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"disabled\"])\n ]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"text\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_b_btn, {\n variant: \"primary\",\n onClick: triggerExport,\n \"data-cy\": \"excel-edit-create-output-btn\",\n disabled: isTriggerExportDisabled.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.startExport\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"div\", {\n class: \"drop-area\",\n onDrop: _withModifiers(fileDrop, [\"prevent\"]),\n onDragover: _cache[18] || (_cache[18] = _withModifiers(($event: any) => (vm.isDroping = true), [\"prevent\"])),\n onDragleave: _cache[19] || (_cache[19] = _withModifiers(($event: any) => (vm.isDroping = false), [\"prevent\"]))\n }, [\n (!vm.uploadedFile)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"empty-content\", { 'is-dropping': vm.isDroping }]),\n \"data-cy\": \"excel-edit-drop-file\"\n }, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_34, [\n _hoisted_35,\n _createElementVNode(\"span\", _hoisted_36, _toDisplayString(_unref($t)(\"dropFileNow\")), 1)\n ], 512), [\n [_vShow, vm.isDroping]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _hoisted_37,\n _createElementVNode(\"span\", _hoisted_38, [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.dropHint.drop\")) + \" \" + _toDisplayString(_unref($t)(\"excelEdit.dropHint.orOpen\")) + \" \", 1),\n _createElementVNode(\"a\", {\n href: \"#\",\n class: \"ml-1 p-0\",\n onClick: _cache[16] || (_cache[16] = _withModifiers(($event: any) => (fileUploadInput.value?.click()), [\"prevent\"]))\n }, _toDisplayString(_unref($t)(\"excelEdit.dropHint.fileExplorer\")), 1),\n _createElementVNode(\"input\", {\n ref_key: \"fileUploadInput\",\n ref: fileUploadInput,\n type: \"file\",\n onChange: changeFile,\n hidden: \"\",\n accept: acceptedMimeType.toString(),\n \"data-cy\": \"excel-edit-import-upload-txt\"\n }, null, 40, _hoisted_39)\n ])\n ], 512), [\n [_vShow, !vm.isDroping]\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n (vm.uploadedFile)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_40, [\n _createElementVNode(\"div\", _hoisted_41, [\n (hasCorrectFileType.value)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_42))\n : (_openBlock(), _createElementBlock(\"i\", _hoisted_43)),\n _createElementVNode(\"span\", _hoisted_44, _toDisplayString(vm.uploadedFile.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_45, [\n _createVNode(_component_b_btn, {\n class: \"mr-1\",\n variant: \"primary\",\n onClick: triggerimport,\n disabled: !hasCorrectFileType.value,\n \"data-cy\": \"execl-edit-transfer-data\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"excelEdit.startImport\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createVNode(_component_b_btn, {\n onClick: _cache[17] || (_cache[17] = ($event: any) => (vm.uploadedFile = null))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(\"discardFile\")), 1)\n ]),\n _: 1\n })\n ]),\n (vm.uploadedFile && !hasCorrectFileType.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_46, _toDisplayString(_unref($t)(\"provideCorrectFile\")), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 40, _hoisted_33)\n ]),\n _createVNode(ExportProgressModal, {\n \"is-export\": vm.isExportProgress,\n \"modal-show\": vm.modalShow,\n \"onUpdate:modalShow\": _cache[20] || (_cache[20] = ($event: any) => ((vm.modalShow) = $event)),\n errors: vm.errors,\n onCancelExport: cancelExportProgressModal\n }, null, 8, [\"is-export\", \"modal-show\", \"errors\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n","import script from \"./ExcelEditEditor.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ExcelEditEditor.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./SimpleSearchResultRow.vue?vue&type=template&id=3ecd1d48\"\nimport script from \"./SimpleSearchResultRow.vue?vue&type=script&lang=js\"\nexport * from \"./SimpleSearchResultRow.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","\r\n\r\n\r\n","import api from \"./api\";\r\nimport endpoints from \"./endpoints\";\r\n\r\nexport default {\r\n suggest: {\r\n globalAttributes: {\r\n value: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.globalAttributeValue.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.globalAttributeValueUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.globalAttributeValueAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.globalAttributeUnitUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unit: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.globalAttributeUnit.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.globalAttributeUnitAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n }\r\n },\r\n invariantAttributes: {\r\n value: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeValue.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeValueUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeValueAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeUnitUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unit: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeUnit.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeUnitAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n }\r\n },\r\n variantAttributes: {\r\n value: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeValue.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeValueUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeValueAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeUnitUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unit: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeUnit.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.attributeUnitAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n }\r\n },\r\n erpAttributes: {\r\n value: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.erpAttributeValue.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.erpAttributeValueUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n valueAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.erpAttributeValueAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitUid: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.erpAttributeUnitUid.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unit: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.erpAttributeUnit.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n },\r\n unitAbbreviation: {\r\n get: async function (language, attributeId, filter, resultCount, disableNonDefaultSuggestions) {\r\n const response = await api.get(endpoints.suggests.erpAttributeUnitAbbreviation.get, {\r\n params: { language, attributeId, filter, resultCount, disableNonDefaultSuggestions }\r\n });\r\n return response.data;\r\n }\r\n }\r\n },\r\n catalogs: {\r\n category: {\r\n get: async function (languageCode) {\r\n const response = await api.get(endpoints.catalogs.categoris.get, {\r\n params: { languageCode }\r\n });\r\n return response.data.map((x) => ({\r\n value: x\r\n }));\r\n }\r\n }\r\n }\r\n }\r\n};\r\n","import { render } from \"./SuggestValueList.vue?vue&type=template&id=50f41051\"\nimport script from \"./SuggestValueList.vue?vue&type=script&lang=js\"\nexport * from \"./SuggestValueList.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n","import { render } from \"./IntervalValueEditor.vue?vue&type=template&id=4e0c121d\"\nimport script from \"./IntervalValueEditor.vue?vue&type=script&lang=js\"\nexport * from \"./IntervalValueEditor.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n","import { render } from \"./DateValueEditor.vue?vue&type=template&id=1d3e89f6\"\nimport script from \"./DateValueEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DateValueEditor.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export const sameWidth = {\r\n name: \"sameWidth\",\r\n enabled: true,\r\n phase: \"beforeWrite\",\r\n requires: [\"computeStyles\"],\r\n fn: ({ state }) => {\r\n state.styles.popper.width = `${state.rects.reference.width}px`;\r\n }\r\n};\r\n\r\nexport const fallbackPosition = {\r\n name: \"flip\",\r\n enabled: true,\r\n phase: \"main\",\r\n options: {\r\n fallbackPlacements: [\"top-start\"],\r\n altBoundary: true\r\n }\r\n};\r\n","export class NumberParser {\r\n _locale: Intl.LocalesArgument & string;\r\n _group: RegExp;\r\n _decimal: RegExp;\r\n _numeral: RegExp;\r\n _index: (d: any) => string;\r\n\r\n constructor(locale: Intl.LocalesArgument & string) {\r\n this._locale = locale;\r\n const parts = new Intl.NumberFormat(this._locale).formatToParts(12345.6);\r\n const numerals = [...new Intl.NumberFormat(this._locale, { useGrouping: false }).format(9876543210)].reverse();\r\n const index = new Map(numerals.map((d, i) => [d, i]));\r\n\r\n this._group = new RegExp(`[${parts.find((d) => d.type === \"group\")?.value}]`, \"g\");\r\n this._decimal = new RegExp(`[${parts.find((d) => d.type === \"decimal\")?.value}]`);\r\n this._numeral = new RegExp(`[${numerals.join(\"\")}]`, \"g\");\r\n this._index = (d) => `${index.get(d)}`;\r\n }\r\n parseLocaleStringToNumber(inputValue: unknown): number {\r\n if (!inputValue || (typeof inputValue != \"number\" && typeof inputValue != \"string\")) return NaN;\r\n if (typeof inputValue == \"number\") return inputValue;\r\n const _string = inputValue.trim().replace(this._group, \"\").replace(this._decimal, \".\").replace(this._numeral, this._index);\r\n return _string ? +_string : NaN;\r\n }\r\n parseLocaleStringToIndepentendNumberString(inputValue: unknown): string {\r\n if (!inputValue || typeof inputValue != \"string\") return \"\";\r\n const _string = inputValue.trim().replace(this._group, \"\").replace(this._decimal, \".\").replace(this._numeral, this._index);\r\n return _string ? _string : \"\";\r\n }\r\n parseNumberToLocaleString(n: number | null | undefined, numberFormatOptions: Intl.NumberFormatOptions = {}): string {\r\n if (typeof n != \"number\") return \"\";\r\n const _string = new Intl.NumberFormat(this._locale, Object.assign({ useGrouping: false, maximumFractionDigits: 20 }, numberFormatOptions)).format(n);\r\n return _string;\r\n }\r\n}\r\n","import { render } from \"./SingleValueTextBoxWithFallback.vue?vue&type=template&id=21e7976c\"\nimport script from \"./SingleValueTextBoxWithFallback.vue?vue&type=script&lang=js\"\nexport * from \"./SingleValueTextBoxWithFallback.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n","\r\n\r\n","\r\n\r\n\r\n","import { render } from \"./MultiDefaultValueSelectDialog.vue?vue&type=template&id=a07d544e\"\nimport script from \"./MultiDefaultValueSelectDialog.vue?vue&type=script&lang=js\"\nexport * from \"./MultiDefaultValueSelectDialog.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./MultiValueTextBoxWithFallback.vue?vue&type=template&id=59847487\"\nimport script from \"./MultiValueTextBoxWithFallback.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValueTextBoxWithFallback.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./TextBoxWithFallback.vue?vue&type=template&id=38fa352e\"\nimport script from \"./TextBoxWithFallback.vue?vue&type=script&lang=js\"\nexport * from \"./TextBoxWithFallback.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n\r\n