@fast-simon/dashboard-utilities 1.0.35 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ProductLabel/ProductLabel.d.ts +11 -0
- package/dist/components/ProductLabel/ProductLabel.js +11 -0
- package/dist/components/ProductLabel/ProductLabel.js.map +1 -0
- package/dist/components/ProductLabel/index.d.ts +1 -0
- package/dist/components/ProductLabel/index.js +2 -0
- package/dist/components/ProductLabel/index.js.map +1 -0
- package/dist/components/ProductLabel/styles.module.css +42 -0
- package/dist/components/ProductLabel/utils.d.ts +8 -0
- package/dist/components/ProductLabel/utils.js +9 -0
- package/dist/components/ProductLabel/utils.js.map +1 -0
- package/dist/components/SelectCard/SelectCard.d.ts +5 -0
- package/dist/components/SelectCard/SelectCard.js +7 -0
- package/dist/components/SelectCard/SelectCard.js.map +1 -0
- package/dist/components/SelectCard/index.d.ts +1 -0
- package/dist/components/SelectCard/index.js +2 -0
- package/dist/components/SelectCard/index.js.map +1 -0
- package/dist/components/SelectCard/styles.module.css +21 -0
- package/dist/components/productGrid/styles.module.css +1 -1
- package/dist/dashboard/dashboard-client/src/components/Button/Button.d.ts +33 -0
- package/dist/dashboard/dashboard-client/src/components/Button/Button.js +56 -0
- package/dist/dashboard/dashboard-client/src/components/Button/Button.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Button/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/Button/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/Button/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/CategorySelector/CategorySelector.d.ts +30 -0
- package/dist/dashboard/dashboard-client/src/components/CategorySelector/CategorySelector.js +88 -0
- package/dist/dashboard/dashboard-client/src/components/CategorySelector/CategorySelector.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/CheckboxTree/utils.d.ts +50 -0
- package/dist/dashboard/dashboard-client/src/components/CheckboxTree/utils.js +28 -0
- package/dist/dashboard/dashboard-client/src/components/CheckboxTree/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/ConfirmationDialog.d.ts +30 -0
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/ConfirmationDialog.js +16 -0
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/CreatableIspNew.d.ts +43 -0
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/CreatableIspNew.js +78 -0
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/CreatableIspNew.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/utils.d.ts +3 -0
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/utils.js +21 -0
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/ABTestingIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/ABTestingIcon.js +6 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/ABTestingIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/AnalyticsIcon.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/AnalyticsIcon.js +4 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/AnalyticsIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/AutocompleteIcon.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/AutocompleteIcon.js +6 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/AutocompleteIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/CheckIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/CheckIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/CheckIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/CollectionsIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/CollectionsIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/CollectionsIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/ConfigurationIcon.d.ts +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/ConfigurationIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/ConfigurationIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/FilterIcon.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/FilterIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/FilterIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/HelpIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/HelpIcon.js +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/HelpIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/Icon.d.ts +80 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/Icon.js +118 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/Icon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/Integrations.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/Integrations.js +4 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/Integrations.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/LandingPageIcon.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/LandingPageIcon.js +6 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/LandingPageIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/LockIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/LockIcon.js +6 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/LockIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/MerchIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/MerchIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/MerchIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RecommendationsIcon.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RecommendationsIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RecommendationsIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RestoreIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RestoreIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RestoreIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RetailPackIcon.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RetailPackIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/RetailPackIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SearchIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SearchIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SearchIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SettingsIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SettingsIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SettingsIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SynonymsIcon.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SynonymsIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/SynonymsIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/UnlockIcon.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/UnlockIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/UnlockIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/VisualDiscoveryIcon.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/VisualDiscoveryIcon.js +4 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/VisualDiscoveryIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/WarningIcon.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/WarningIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/WarningIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/XIcon.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/XIcon.js +7 -0
- package/dist/dashboard/dashboard-client/src/components/Icons/XIcon.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Modal/Modal.d.ts +8 -0
- package/dist/dashboard/dashboard-client/src/components/Modal/Modal.js +19 -0
- package/dist/dashboard/dashboard-client/src/components/Modal/Modal.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/Modal/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/Modal/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/Modal/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/MuiTooltip.d.ts +9 -0
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/MuiTooltip.js +32 -0
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/MuiTooltip.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/MultiSelectRow/MultiSelectRow.d.ts +41 -0
- package/dist/dashboard/dashboard-client/src/components/MultiSelectRow/MultiSelectRow.js +68 -0
- package/dist/dashboard/dashboard-client/src/components/MultiSelectRow/MultiSelectRow.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/NavMenuItem.d.ts +26 -0
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/NavMenuItem.js +61 -0
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/NavMenuItem.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/index.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/index.js +3 -0
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/RadioButton/RadioButton.d.ts +20 -0
- package/dist/dashboard/dashboard-client/src/components/RadioButton/RadioButton.js +18 -0
- package/dist/dashboard/dashboard-client/src/components/RadioButton/RadioButton.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/RadioButton/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/RadioButton/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/RadioButton/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/RadioSelect/RadioSelect.d.ts +31 -0
- package/dist/dashboard/dashboard-client/src/components/RadioSelect/RadioSelect.js +35 -0
- package/dist/dashboard/dashboard-client/src/components/RadioSelect/RadioSelect.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveButton.d.ts +23 -0
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveButton.js +142 -0
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveButton.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveLoader.d.ts +9 -0
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveLoader.js +12 -0
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveLoader.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/SelectRow/SelectRow.d.ts +45 -0
- package/dist/dashboard/dashboard-client/src/components/SelectRow/SelectRow.js +42 -0
- package/dist/dashboard/dashboard-client/src/components/SelectRow/SelectRow.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/SelectRow/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/SelectRow/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/SelectRow/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/SmallLoader.d.ts +7 -0
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/SmallLoader.js +8 -0
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/SmallLoader.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/TableCheckmark.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/TableCheckmark.js +6 -0
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/TableCheckmark.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/TextWithMaterialTooltip.d.ts +14 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/TextWithMaterialTooltip.js +33 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/TextWithMaterialTooltip.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/TextWithTooltip.d.ts +13 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/TextWithTooltip.js +29 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/TextWithTooltip.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/containers/MultiLevelSideBarMenu/utils.d.ts +33 -0
- package/dist/dashboard/dashboard-client/src/containers/MultiLevelSideBarMenu/utils.js +362 -0
- package/dist/dashboard/dashboard-client/src/containers/MultiLevelSideBarMenu/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/containers/SearchResultsPreview/SerpPreview.d.ts +56 -0
- package/dist/dashboard/dashboard-client/src/containers/SearchResultsPreview/SerpPreview.js +74 -0
- package/dist/dashboard/dashboard-client/src/containers/SearchResultsPreview/SerpPreview.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/containers/SerpFilters/models.d.ts +137 -0
- package/dist/dashboard/dashboard-client/src/containers/SerpFilters/models.js +36 -0
- package/dist/dashboard/dashboard-client/src/containers/SerpFilters/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/CustomCsvInfo/utils.d.ts +8 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/CustomCsvInfo/utils.js +9 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/CustomCsvInfo/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductImageSource/utils.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductImageSource/utils.js +10 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductImageSource/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductSync/utils.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductSync/utils.js +5 -0
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductSync/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/ClickOutside.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/hooks/ClickOutside.js +30 -0
- package/dist/dashboard/dashboard-client/src/hooks/ClickOutside.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/auth.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/hooks/auth.js +88 -0
- package/dist/dashboard/dashboard-client/src/hooks/auth.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/merchandisingPreview.d.ts +23 -0
- package/dist/dashboard/dashboard-client/src/hooks/merchandisingPreview.js +45 -0
- package/dist/dashboard/dashboard-client/src/hooks/merchandisingPreview.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/useLoactionParams.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/hooks/useLoactionParams.js +29 -0
- package/dist/dashboard/dashboard-client/src/hooks/useLoactionParams.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/useLockingGeneral.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/hooks/useLockingGeneral.js +51 -0
- package/dist/dashboard/dashboard-client/src/hooks/useLockingGeneral.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/useMedia.d.ts +8 -0
- package/dist/dashboard/dashboard-client/src/hooks/useMedia.js +41 -0
- package/dist/dashboard/dashboard-client/src/hooks/useMedia.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/useResources.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/hooks/useResources.js +46 -0
- package/dist/dashboard/dashboard-client/src/hooks/useResources.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/hooks/useSelectedPath.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/hooks/useSelectedPath.js +18 -0
- package/dist/dashboard/dashboard-client/src/hooks/useSelectedPath.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/locals/da.d.ts +12 -0
- package/dist/dashboard/dashboard-client/src/locals/da.js +14 -0
- package/dist/dashboard/dashboard-client/src/locals/da.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/locals/locals.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/locals/locals.js +37 -0
- package/dist/dashboard/dashboard-client/src/locals/locals.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/AdminSync/utils.d.ts +74 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/AdminSync/utils.js +67 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/AdminSync/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetCheckConsistency/utils.d.ts +3 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetCheckConsistency/utils.js +9 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetCheckConsistency/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetRebuild/utils.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetRebuild/utils.js +21 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetRebuild/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/utils.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/utils.js +17 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/ProductsNum/utils.d.ts +8 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/ProductsNum/utils.js +21 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/ProductsNum/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/SmartCollections/utils.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/SmartCollections/utils.js +9 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/SmartCollections/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/utils.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/utils.js +113 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Usages/components/UsagesInfo/utils.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Usages/components/UsagesInfo/utils.js +5 -0
- package/dist/dashboard/dashboard-client/src/pages/Admin/Usages/components/UsagesInfo/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/bigcommerce/utils.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/bigcommerce/utils.js +7 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/bigcommerce/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/woocommerce/utils.d.ts +9 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/woocommerce/utils.js +12 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/woocommerce/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/utils.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/utils.js +2 -0
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteDesktopOrder.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteDesktopOrder.js +99 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteDesktopOrder.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteOrder.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteOrder.js +128 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteOrder.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/utils.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/utils.js +8 -0
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Categories/utils.d.ts +48 -0
- package/dist/dashboard/dashboard-client/src/pages/Categories/utils.js +116 -0
- package/dist/dashboard/dashboard-client/src/pages/Categories/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/hooks/useKeywords.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/hooks/useKeywords.js +44 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/hooks/useKeywords.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/useGlobalSearch.d.ts +19 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/useGlobalSearch.js +42 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/useGlobalSearch.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/utils.d.ts +9 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/utils.js +116 -0
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SideNav/utils.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SideNav/utils.js +74 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SideNav/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/CollectionsMerchandising/CollectionsMerchandisingTable/table.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/CollectionsMerchandising/CollectionsMerchandisingTable/table.js +194 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/CollectionsMerchandising/CollectionsMerchandisingTable/table.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/MerchandisingStrategies/utils.d.ts +55 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/MerchandisingStrategies/utils.js +288 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/MerchandisingStrategies/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/editor/utils.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/editor/utils.js +27 -0
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/editor/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/ProductGridEditor/utils.d.ts +42 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/ProductGridEditor/utils.js +633 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/ProductGridEditor/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/RecommendationEditor/components/RecommendationHeader/utils.d.ts +21 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/RecommendationEditor/components/RecommendationHeader/utils.js +27 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/RecommendationEditor/components/RecommendationHeader/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/LeftMenu/utils.d.ts +21 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/LeftMenu/utils.js +6 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/LeftMenu/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/FontEditor/utils.d.ts +14 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/FontEditor/utils.js +12 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/FontEditor/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/ProductInfoPositioning/utils.d.ts +4 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/ProductInfoPositioning/utils.js +79 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/ProductInfoPositioning/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/utils.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/utils.js +52 -0
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Recommendations/utils.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/pages/Recommendations/utils.js +20 -0
- package/dist/dashboard/dashboard-client/src/pages/Recommendations/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/Configuration/utils.d.ts +3 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/Configuration/utils.js +38 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/Configuration/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/ProductsSplit.d.ts +8 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/ProductsSplit.js +62 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/ProductsSplit.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/utils.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/utils.js +4 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Components/SwatchDisplay.d.ts +8 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Components/SwatchDisplay.js +24 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Components/SwatchDisplay.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useColors.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useColors.js +32 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useColors.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useSwatches.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useSwatches.js +18 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useSwatches.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useUsedColors.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useUsedColors.js +10 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useUsedColors.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/defaults.d.ts +3753 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/defaults.js +3754 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/defaults.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/utils.d.ts +17 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/utils.js +247 -0
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Segments/utils.d.ts +34 -0
- package/dist/dashboard/dashboard-client/src/pages/Segments/utils.js +147 -0
- package/dist/dashboard/dashboard-client/src/pages/Segments/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/Sync/MetafieldAttributes/utils.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/pages/Sync/MetafieldAttributes/utils.js +7 -0
- package/dist/dashboard/dashboard-client/src/pages/Sync/MetafieldAttributes/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/abTesting.d.ts +30 -0
- package/dist/dashboard/dashboard-client/src/services/abTesting.js +55 -0
- package/dist/dashboard/dashboard-client/src/services/abTesting.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/account.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/services/account.js +13 -0
- package/dist/dashboard/dashboard-client/src/services/account.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/admin/admin.d.ts +43 -0
- package/dist/dashboard/dashboard-client/src/services/admin/admin.js +58 -0
- package/dist/dashboard/dashboard-client/src/services/admin/admin.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminAddons.d.ts +18 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminAddons.js +38 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminAddons.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminMerchandising.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminMerchandising.js +23 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminMerchandising.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminSearchResults.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminSearchResults.js +12 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminSearchResults.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminSync.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminSync.js +28 -0
- package/dist/dashboard/dashboard-client/src/services/admin/adminSync.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/admin/models.d.ts +96 -0
- package/dist/dashboard/dashboard-client/src/services/admin/models.js +8 -0
- package/dist/dashboard/dashboard-client/src/services/admin/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/ads.d.ts +52 -0
- package/dist/dashboard/dashboard-client/src/services/ads.js +23 -0
- package/dist/dashboard/dashboard-client/src/services/ads.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/auditLog.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/services/auditLog.js +31 -0
- package/dist/dashboard/dashboard-client/src/services/auditLog.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/auth.d.ts +77 -0
- package/dist/dashboard/dashboard-client/src/services/auth.js +152 -0
- package/dist/dashboard/dashboard-client/src/services/auth.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/autocomplete.d.ts +11 -0
- package/dist/dashboard/dashboard-client/src/services/autocomplete.js +27 -0
- package/dist/dashboard/dashboard-client/src/services/autocomplete.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/autocompleteEditor.d.ts +13 -0
- package/dist/dashboard/dashboard-client/src/services/autocompleteEditor.js +17 -0
- package/dist/dashboard/dashboard-client/src/services/autocompleteEditor.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/autocompletePreview.d.ts +23 -0
- package/dist/dashboard/dashboard-client/src/services/autocompletePreview.js +85 -0
- package/dist/dashboard/dashboard-client/src/services/autocompletePreview.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/categories.d.ts +28 -0
- package/dist/dashboard/dashboard-client/src/services/categories.js +72 -0
- package/dist/dashboard/dashboard-client/src/services/categories.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/config.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/services/config.js +2 -0
- package/dist/dashboard/dashboard-client/src/services/config.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/filters/categoriesFilters.d.ts +12 -0
- package/dist/dashboard/dashboard-client/src/services/filters/categoriesFilters.js +17 -0
- package/dist/dashboard/dashboard-client/src/services/filters/categoriesFilters.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/filters/filtersConfiguration.d.ts +44 -0
- package/dist/dashboard/dashboard-client/src/services/filters/filtersConfiguration.js +73 -0
- package/dist/dashboard/dashboard-client/src/services/filters/filtersConfiguration.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/filters/filtersSettings.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/services/filters/filtersSettings.js +26 -0
- package/dist/dashboard/dashboard-client/src/services/filters/filtersSettings.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/globalSearch.d.ts +7 -0
- package/dist/dashboard/dashboard-client/src/services/globalSearch.js +7 -0
- package/dist/dashboard/dashboard-client/src/services/globalSearch.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/gridEditor.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/services/gridEditor.js +42 -0
- package/dist/dashboard/dashboard-client/src/services/gridEditor.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/integrations.d.ts +62 -0
- package/dist/dashboard/dashboard-client/src/services/integrations.js +102 -0
- package/dist/dashboard/dashboard-client/src/services/integrations.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/landingPages.d.ts +22 -0
- package/dist/dashboard/dashboard-client/src/services/landingPages.js +33 -0
- package/dist/dashboard/dashboard-client/src/services/landingPages.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/merchandising.d.ts +164 -0
- package/dist/dashboard/dashboard-client/src/services/merchandising.js +188 -0
- package/dist/dashboard/dashboard-client/src/services/merchandising.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/notifications.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/services/notifications.js +8 -0
- package/dist/dashboard/dashboard-client/src/services/notifications.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/recommendationEditor.d.ts +12 -0
- package/dist/dashboard/dashboard-client/src/services/recommendationEditor.js +17 -0
- package/dist/dashboard/dashboard-client/src/services/recommendationEditor.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/recommendations.d.ts +26 -0
- package/dist/dashboard/dashboard-client/src/services/recommendations.js +61 -0
- package/dist/dashboard/dashboard-client/src/services/recommendations.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/searchResults.d.ts +69 -0
- package/dist/dashboard/dashboard-client/src/services/searchResults.js +147 -0
- package/dist/dashboard/dashboard-client/src/services/searchResults.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/segments.d.ts +96 -0
- package/dist/dashboard/dashboard-client/src/services/segments.js +13 -0
- package/dist/dashboard/dashboard-client/src/services/segments.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/site.d.ts +39 -0
- package/dist/dashboard/dashboard-client/src/services/site.js +54 -0
- package/dist/dashboard/dashboard-client/src/services/site.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/stores.d.ts +23 -0
- package/dist/dashboard/dashboard-client/src/services/stores.js +87 -0
- package/dist/dashboard/dashboard-client/src/services/stores.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/sync.d.ts +41 -0
- package/dist/dashboard/dashboard-client/src/services/sync.js +94 -0
- package/dist/dashboard/dashboard-client/src/services/sync.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/synonyms.d.ts +13 -0
- package/dist/dashboard/dashboard-client/src/services/synonyms.js +22 -0
- package/dist/dashboard/dashboard-client/src/services/synonyms.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/themes.d.ts +21 -0
- package/dist/dashboard/dashboard-client/src/services/themes.js +34 -0
- package/dist/dashboard/dashboard-client/src/services/themes.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/turbolinks.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/services/turbolinks.js +46 -0
- package/dist/dashboard/dashboard-client/src/services/turbolinks.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/services/visualDiscovery.d.ts +20 -0
- package/dist/dashboard/dashboard-client/src/services/visualDiscovery.js +21 -0
- package/dist/dashboard/dashboard-client/src/services/visualDiscovery.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/IntegrationsSlice.d.ts +72 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/IntegrationsSlice.js +400 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/IntegrationsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/integrationsActions.d.ts +289 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/integrationsActions.js +90 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/integrationsActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/models.d.ts +202 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/models.js +440 -0
- package/dist/dashboard/dashboard-client/src/store/Integrations/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/abTestingSlice.d.ts +35 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/abTestingSlice.js +208 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/abTestingSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/actions.d.ts +168 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/actions.js +58 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/models.d.ts +119 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/models.js +61 -0
- package/dist/dashboard/dashboard-client/src/store/abTesting/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/account/accountSlice.d.ts +57 -0
- package/dist/dashboard/dashboard-client/src/store/account/accountSlice.js +95 -0
- package/dist/dashboard/dashboard-client/src/store/account/accountSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/account/models.d.ts +14 -0
- package/dist/dashboard/dashboard-client/src/store/account/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/account/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/addons/adminAddonsSlice.d.ts +174 -0
- package/dist/dashboard/dashboard-client/src/store/admin/addons/adminAddonsSlice.js +225 -0
- package/dist/dashboard/dashboard-client/src/store/admin/addons/adminAddonsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/addons/models.d.ts +30 -0
- package/dist/dashboard/dashboard-client/src/store/admin/addons/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/admin/addons/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/main/adminSlice.d.ts +280 -0
- package/dist/dashboard/dashboard-client/src/store/admin/main/adminSlice.js +404 -0
- package/dist/dashboard/dashboard-client/src/store/admin/main/adminSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/main/models.d.ts +164 -0
- package/dist/dashboard/dashboard-client/src/store/admin/main/models.js +31 -0
- package/dist/dashboard/dashboard-client/src/store/admin/main/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/adminMerchandisingSlice.d.ts +100 -0
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/adminMerchandisingSlice.js +152 -0
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/adminMerchandisingSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/models.d.ts +23 -0
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/adminSearchResultsSlice.d.ts +16 -0
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/adminSearchResultsSlice.js +32 -0
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/adminSearchResultsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/models.d.ts +3 -0
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/sync/adminSyncSlice.d.ts +84 -0
- package/dist/dashboard/dashboard-client/src/store/admin/sync/adminSyncSlice.js +134 -0
- package/dist/dashboard/dashboard-client/src/store/admin/sync/adminSyncSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/sync/models.d.ts +68 -0
- package/dist/dashboard/dashboard-client/src/store/admin/sync/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/admin/sync/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/usages/adminUsgaesSlice.d.ts +16 -0
- package/dist/dashboard/dashboard-client/src/store/admin/usages/adminUsgaesSlice.js +35 -0
- package/dist/dashboard/dashboard-client/src/store/admin/usages/adminUsgaesSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/admin/usages/models.d.ts +9 -0
- package/dist/dashboard/dashboard-client/src/store/admin/usages/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/admin/usages/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/ads/adsSlice.d.ts +106 -0
- package/dist/dashboard/dashboard-client/src/store/ads/adsSlice.js +159 -0
- package/dist/dashboard/dashboard-client/src/store/ads/adsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/ads/models.d.ts +83 -0
- package/dist/dashboard/dashboard-client/src/store/ads/models.js +7 -0
- package/dist/dashboard/dashboard-client/src/store/ads/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/analytics.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/analytics.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/analytics.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/autocomplete.d.ts +41 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/autocomplete.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/autocomplete.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/collections.d.ts +29 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/collections.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/collections.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/filters.d.ts +32 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/filters.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/filters.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/impact.d.ts +60 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/impact.js +52 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/impact.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/index.d.ts +55 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/index.js +19 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/overview.d.ts +89 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/overview.js +9 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/overview.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/productImageOptimization.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/productImageOptimization.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/productImageOptimization.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/products.d.ts +45 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/products.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/products.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/promo_tiles.d.ts +34 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/promo_tiles.js +11 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/promo_tiles.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/queries.d.ts +23 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/queries.js +3 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/queries.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/realtime.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/realtime.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/realtime.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/shopperInsights.d.ts +67 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/shopperInsights.js +4 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/shopperInsights.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/timeline.d.ts +14 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/timeline.js +49 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/timeline.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/traffic.d.ts +45 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/traffic.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/traffic.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/visualDiscovery.d.ts +13 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/visualDiscovery.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/models/visualDiscovery.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/slice.d.ts +291 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/slice.js +447 -0
- package/dist/dashboard/dashboard-client/src/store/analytics/slice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/actions.d.ts +21 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/actions.js +18 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/auditLogSlice.d.ts +12 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/auditLogSlice.js +36 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/auditLogSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/models.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/auditLog/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/auth/authSlice.d.ts +109 -0
- package/dist/dashboard/dashboard-client/src/store/auth/authSlice.js +151 -0
- package/dist/dashboard/dashboard-client/src/store/auth/authSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/auth/models.d.ts +32 -0
- package/dist/dashboard/dashboard-client/src/store/auth/models.js +6 -0
- package/dist/dashboard/dashboard-client/src/store/auth/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/autocompleteSlice.d.ts +191 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/autocompleteSlice.js +354 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/autocompleteSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/models.d.ts +121 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/models.js +65 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/autocompleteDefaultSettings.d.ts +2 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/autocompleteDefaultSettings.js +32 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/autocompleteDefaultSettings.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/updateAutocompleteSettingsByItem.d.ts +7 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/updateAutocompleteSettingsByItem.js +38 -0
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/updateAutocompleteSettingsByItem.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/actions.d.ts +36 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/actions.js +21 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/autocompleteEditorSlice.d.ts +50 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/autocompleteEditorSlice.js +154 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/autocompleteEditorSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/models.d.ts +30 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/autocompletePreviewSlice.d.ts +117 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/autocompletePreviewSlice.js +149 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/autocompletePreviewSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/finalResults.d.ts +30 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/finalResults.js +106 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/finalResults.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/models.d.ts +66 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/categories/actions.d.ts +199 -0
- package/dist/dashboard/dashboard-client/src/store/categories/actions.js +63 -0
- package/dist/dashboard/dashboard-client/src/store/categories/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/categories/categoriesSlice.js +166 -0
- package/dist/dashboard/dashboard-client/src/store/categories/categoriesSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/categories/models.d.ts +97 -0
- package/dist/dashboard/dashboard-client/src/store/categories/models.js +20 -0
- package/dist/dashboard/dashboard-client/src/store/categories/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/actions.d.ts +44 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/actions.js +32 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/clientLayoutEditorsSlice.d.ts +68 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/clientLayoutEditorsSlice.js +287 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/clientLayoutEditorsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/models.d.ts +118 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/models.js +140 -0
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/categoriesFiltersSlice.d.ts +71 -0
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/categoriesFiltersSlice.js +113 -0
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/categoriesFiltersSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/models.d.ts +22 -0
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filterActions.d.ts +141 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filterActions.js +65 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filterActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filtersConfigurationSlice.d.ts +58 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filtersConfigurationSlice.js +110 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filtersConfigurationSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/models.d.ts +82 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/models.js +33 -0
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/filtersSettingsSlice.d.ts +108 -0
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/filtersSettingsSlice.js +88 -0
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/filtersSettingsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/models.d.ts +29 -0
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/models.js +25 -0
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchActions.d.ts +12 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchActions.js +15 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchSlice.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchSlice.js +41 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/models.d.ts +12 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/utils.d.ts +3 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/utils.js +15 -0
- package/dist/dashboard/dashboard-client/src/store/globalSearch/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/index.js +90 -0
- package/dist/dashboard/dashboard-client/src/store/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/landingPages/landingPagesSlice.d.ts +93 -0
- package/dist/dashboard/dashboard-client/src/store/landingPages/landingPagesSlice.js +139 -0
- package/dist/dashboard/dashboard-client/src/store/landingPages/landingPagesSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/landingPages/models.d.ts +39 -0
- package/dist/dashboard/dashboard-client/src/store/landingPages/models.js +6 -0
- package/dist/dashboard/dashboard-client/src/store/landingPages/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/bannerActions.d.ts +45 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/bannerActions.js +24 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/bannerActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/collectionsActions.d.ts +61 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/collectionsActions.js +57 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/collectionsActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/configActions.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/configActions.js +15 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/configActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/productActions.d.ts +36 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/productActions.js +21 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/productActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/strategiesActions.d.ts +39 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/strategiesActions.js +21 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/strategiesActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/merchandisingSlice.d.ts +358 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/merchandisingSlice.js +660 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/merchandisingSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/collections.d.ts +37 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/collections.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/collections.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/merchandisingRulesModels.d.ts +81 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/merchandisingRulesModels.js +14 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/merchandisingRulesModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/noResults.d.ts +12 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/noResults.js +7 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/noResults.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/previewConfig.d.ts +13 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/previewConfig.js +11 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/previewConfig.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/productMerchandising.d.ts +26 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/productMerchandising.js +17 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/productMerchandising.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/search.d.ts +20 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/search.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/search.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/strategiesModels.d.ts +50 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/strategiesModels.js +20 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/strategiesModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models.d.ts +45 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models.js +12 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/rules.d.ts +13 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/rules.js +24 -0
- package/dist/dashboard/dashboard-client/src/store/merchandising/rules.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/merchandisingConditionsSlice.d.ts +110 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/merchandisingConditionsSlice.js +665 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/merchandisingConditionsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/models.d.ts +50 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/models.js +3 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/utils.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/utils.js +45 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/merchandisingVisualEditorSlice.js +284 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/merchandisingVisualEditorSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/models.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/models.js +9 -0
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/notifications/models.d.ts +35 -0
- package/dist/dashboard/dashboard-client/src/store/notifications/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/notifications/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/notifications/notificationsSlice.d.ts +36 -0
- package/dist/dashboard/dashboard-client/src/store/notifications/notificationsSlice.js +90 -0
- package/dist/dashboard/dashboard-client/src/store/notifications/notificationsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/pricing/models.d.ts +19 -0
- package/dist/dashboard/dashboard-client/src/store/pricing/models.js +11 -0
- package/dist/dashboard/dashboard-client/src/store/pricing/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/pricing/pricingSlice.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/store/pricing/pricingSlice.js +22 -0
- package/dist/dashboard/dashboard-client/src/store/pricing/pricingSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/actions.d.ts +103 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/actions.js +42 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/lockingModels.d.ts +18 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/lockingModels.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/lockingModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/models.d.ts +853 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/models.js +855 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/productGridEditorSlice.d.ts +151 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/productGridEditorSlice.js +407 -0
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/productGridEditorSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/actions.d.ts +36 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/actions.js +21 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/models.d.ts +290 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/models.js +13 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/recommendationEditorSlice.d.ts +79 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/recommendationEditorSlice.js +199 -0
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/recommendationEditorSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/recommendations/models.d.ts +127 -0
- package/dist/dashboard/dashboard-client/src/store/recommendations/models.js +26 -0
- package/dist/dashboard/dashboard-client/src/store/recommendations/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/recommendations/recommendationsSlice.d.ts +216 -0
- package/dist/dashboard/dashboard-client/src/store/recommendations/recommendationsSlice.js +298 -0
- package/dist/dashboard/dashboard-client/src/store/recommendations/recommendationsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/retailPackActions.d.ts +129 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/retailPackActions.js +44 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/retailPackActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/reviewActions.d.ts +40 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/reviewActions.js +21 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/reviewActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/serpPreviewActions.d.ts +14 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/serpPreviewActions.js +15 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/serpPreviewActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/advancedConfigModels.d.ts +53 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/advancedConfigModels.js +37 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/advancedConfigModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/badgesModels.d.ts +42 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/badgesModels.js +15 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/badgesModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/configurationModels.d.ts +40 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/configurationModels.js +43 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/configurationModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/models.d.ts +43 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/previewModels.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/previewModels.js +6 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/previewModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/retailPackModels.d.ts +47 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/retailPackModels.js +23 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/retailPackModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/reviewsModels.d.ts +30 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/reviewsModels.js +115 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/reviewsModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/shopperExperienceModel.d.ts +115 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/shopperExperienceModel.js +104 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/shopperExperienceModel.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/swatchEditorModels.d.ts +21 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/swatchEditorModels.js +10 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/swatchEditorModels.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/searchResultsSlice.d.ts +358 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/searchResultsSlice.js +689 -0
- package/dist/dashboard/dashboard-client/src/store/searchResults/searchResultsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/segments/segmentsSlice.d.ts +122 -0
- package/dist/dashboard/dashboard-client/src/store/segments/segmentsSlice.js +250 -0
- package/dist/dashboard/dashboard-client/src/store/segments/segmentsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/site/models.d.ts +211 -0
- package/dist/dashboard/dashboard-client/src/store/site/models.js +43 -0
- package/dist/dashboard/dashboard-client/src/store/site/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/site/siteSlice.d.ts +457 -0
- package/dist/dashboard/dashboard-client/src/store/site/siteSlice.js +751 -0
- package/dist/dashboard/dashboard-client/src/store/site/siteSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/store.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/store/store.js +3 -0
- package/dist/dashboard/dashboard-client/src/store/store.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/stores/models.d.ts +160 -0
- package/dist/dashboard/dashboard-client/src/store/stores/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/stores/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/stores/storesSlice.d.ts +220 -0
- package/dist/dashboard/dashboard-client/src/store/stores/storesSlice.js +289 -0
- package/dist/dashboard/dashboard-client/src/store/stores/storesSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/sync/PricingActions.d.ts +29 -0
- package/dist/dashboard/dashboard-client/src/store/sync/PricingActions.js +9 -0
- package/dist/dashboard/dashboard-client/src/store/sync/PricingActions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/sync/models.d.ts +329 -0
- package/dist/dashboard/dashboard-client/src/store/sync/models.js +61 -0
- package/dist/dashboard/dashboard-client/src/store/sync/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/sync/syncSlice.d.ts +573 -0
- package/dist/dashboard/dashboard-client/src/store/sync/syncSlice.js +966 -0
- package/dist/dashboard/dashboard-client/src/store/sync/syncSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/synonyms/models.d.ts +39 -0
- package/dist/dashboard/dashboard-client/src/store/synonyms/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/synonyms/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/synonyms/synonymsSlice.d.ts +179 -0
- package/dist/dashboard/dashboard-client/src/store/synonyms/synonymsSlice.js +188 -0
- package/dist/dashboard/dashboard-client/src/store/synonyms/synonymsSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/themes/actions.d.ts +72 -0
- package/dist/dashboard/dashboard-client/src/store/themes/actions.js +30 -0
- package/dist/dashboard/dashboard-client/src/store/themes/actions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/themes/models.d.ts +50 -0
- package/dist/dashboard/dashboard-client/src/store/themes/models.js +23 -0
- package/dist/dashboard/dashboard-client/src/store/themes/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/themes/themesSlice.d.ts +20 -0
- package/dist/dashboard/dashboard-client/src/store/themes/themesSlice.js +76 -0
- package/dist/dashboard/dashboard-client/src/store/themes/themesSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/turbolinks/models.d.ts +28 -0
- package/dist/dashboard/dashboard-client/src/store/turbolinks/models.js +2 -0
- package/dist/dashboard/dashboard-client/src/store/turbolinks/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/turbolinks/turbolinksSlice.d.ts +79 -0
- package/dist/dashboard/dashboard-client/src/store/turbolinks/turbolinksSlice.js +132 -0
- package/dist/dashboard/dashboard-client/src/store/turbolinks/turbolinksSlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/models.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/models.js +6 -0
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/models.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/visualDiscoverySlice.d.ts +38 -0
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/visualDiscoverySlice.js +71 -0
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/visualDiscoverySlice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/caseConverters.d.ts +7 -0
- package/dist/dashboard/dashboard-client/src/utils/caseConverters.js +38 -0
- package/dist/dashboard/dashboard-client/src/utils/caseConverters.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/dateAndTime.d.ts +32 -0
- package/dist/dashboard/dashboard-client/src/utils/dateAndTime.js +64 -0
- package/dist/dashboard/dashboard-client/src/utils/dateAndTime.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/formatPrice.d.ts +3 -0
- package/dist/dashboard/dashboard-client/src/utils/formatPrice.js +80 -0
- package/dist/dashboard/dashboard-client/src/utils/formatPrice.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/getLevenstineScore.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/utils/getLevenstineScore.js +27 -0
- package/dist/dashboard/dashboard-client/src/utils/getLevenstineScore.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/locking.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/utils/locking.js +4 -0
- package/dist/dashboard/dashboard-client/src/utils/locking.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/oldDashboardIntegration.d.ts +26 -0
- package/dist/dashboard/dashboard-client/src/utils/oldDashboardIntegration.js +430 -0
- package/dist/dashboard/dashboard-client/src/utils/oldDashboardIntegration.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/permissions.d.ts +15 -0
- package/dist/dashboard/dashboard-client/src/utils/permissions.js +161 -0
- package/dist/dashboard/dashboard-client/src/utils/permissions.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/site.d.ts +21 -0
- package/dist/dashboard/dashboard-client/src/utils/site.js +112 -0
- package/dist/dashboard/dashboard-client/src/utils/site.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/sortUtils.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/utils/sortUtils.js +18 -0
- package/dist/dashboard/dashboard-client/src/utils/sortUtils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/utils/typescriptUtils.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/utils/typescriptUtils.js +2 -0
- package/dist/dashboard/dashboard-client/src/utils/typescriptUtils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/banner.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/@types/banner.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/banner.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/categories.d.ts +16 -0
- package/dist/frontends/dashboard-utilities/src/@types/categories.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/categories.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/categoriesNavigation.d.ts +26 -0
- package/dist/frontends/dashboard-utilities/src/@types/categoriesNavigation.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/categoriesNavigation.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/currency.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/currency.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/currency.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.d.ts +26 -0
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.js +6 -0
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/product.d.ts +158 -0
- package/dist/frontends/dashboard-utilities/src/@types/product.js +8 -0
- package/dist/frontends/dashboard-utilities/src/@types/product.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.d.ts +11 -0
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.d.ts +19 -0
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/App.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/App.js +15 -0
- package/dist/frontends/dashboard-utilities/src/App.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js +74 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.js +239 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.d.ts +10 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.js +7 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.d.ts +6 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.js +9 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.d.ts +19 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.js +31 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.js +10 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.d.ts +13 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.js +39 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.d.ts +13 -0
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.js +40 -0
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.d.ts +32 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.js +398 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.d.ts +50 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.js +10 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.js +3 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.d.ts +172 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.js +67 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.d.ts +17 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.js +22 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.d.ts +14 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.js +58 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.d.ts +18 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.js +23 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.d.ts +25 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.js +7 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.d.ts +10 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.js +34 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.d.ts +22 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.js +49 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.js +88 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.js +43 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.d.ts +10 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.js +7 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.js +45 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.js +8 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.d.ts +11 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.js +16 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.d.ts +12 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.js +59 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/SelectCard.d.ts +5 -0
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/SelectCard.js +7 -0
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/SelectCard.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/SideMenuTitle.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/SideMenuTitle.js +18 -0
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/SideMenuTitle.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.d.ts +11 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.js +90 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.js +42 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.d.ts +20 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.js +46 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.js +9 -0
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/common.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/common.js +10 -0
- package/dist/frontends/dashboard-utilities/src/components/common.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.js +22 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/GeneralIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/GeneralIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/GeneralIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.js +5 -0
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/index.d.ts +28 -0
- package/dist/frontends/dashboard-utilities/src/index.js +25 -0
- package/dist/frontends/dashboard-utilities/src/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/main.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/main.js +6 -0
- package/dist/frontends/dashboard-utilities/src/main.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/services/API.d.ts +21 -0
- package/dist/frontends/dashboard-utilities/src/services/API.js +50 -0
- package/dist/frontends/dashboard-utilities/src/services/API.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/services/landingPage.d.ts +28 -0
- package/dist/frontends/dashboard-utilities/src/services/landingPage.js +87 -0
- package/dist/frontends/dashboard-utilities/src/services/landingPage.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/services/search.d.ts +10 -0
- package/dist/frontends/dashboard-utilities/src/services/search.js +65 -0
- package/dist/frontends/dashboard-utilities/src/services/search.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.d.ts +4 -0
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.js +10 -0
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.d.ts +13 -0
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.js +172 -0
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.js.map +1 -0
- package/dist/index.d.ts +15 -2
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/services/getFormatProducts.d.ts +13 -0
- package/dist/services/getFormatProducts.js +44 -0
- package/dist/services/getFormatProducts.js.map +1 -0
- package/dist/utils/useProductsPerRow.d.ts +3 -0
- package/dist/utils/useProductsPerRow.js +19 -0
- package/dist/utils/useProductsPerRow.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,966 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
11
|
+
import { toggleProductImageSource } from "../../containers/sync/ProductImageSource/utils";
|
|
12
|
+
import { AVOID_TYPE } from "./models";
|
|
13
|
+
import { Sync } from "../../services/sync";
|
|
14
|
+
import { resetState } from "../store";
|
|
15
|
+
import { syncInProgressMessage } from "../../containers/sync/CustomCsvInfo/utils";
|
|
16
|
+
import { TIME_MS } from "../../utils/dateAndTime";
|
|
17
|
+
import { setPricingStringInput, setPricingSwitch } from "./PricingActions";
|
|
18
|
+
import { serverErrorMessage } from "../../pages/Sync/MetafieldAttributes/utils";
|
|
19
|
+
import { SYNC_PROGRESS_UPDATES_NUM, syncErrorMessage, syncNowMessage, syncStartedMessage } from "../../containers/sync/ProductSync/utils";
|
|
20
|
+
import { adminSaveErrorMessage } from 'containers/sync/RestrictedAdmins/RestrictedAdminEdit/utils';
|
|
21
|
+
import { defaultSyncState } from 'pages/Sync/utils';
|
|
22
|
+
export const fetchSyncSettings = createAsyncThunk('sync/fetchSyncSettings', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
23
|
+
return (yield Sync.getSyncSettings()).data;
|
|
24
|
+
}));
|
|
25
|
+
export const fetchOnReenterTab = createAsyncThunk('sync/fetchOnReenterTab', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
26
|
+
return (yield Sync.fetchOnReenterTabSettings()).data;
|
|
27
|
+
}));
|
|
28
|
+
/* sync on demand for Shopify */
|
|
29
|
+
export const startSyncOnDemandShopify = createAsyncThunk('sync/processUpdateQueue', ({ siteHost, processQueueOnly }) => {
|
|
30
|
+
return Sync.startSyncOnDemandShopify(siteHost, processQueueOnly);
|
|
31
|
+
});
|
|
32
|
+
/* sync on demand for Magento, BigCommerce, WooCommerce */
|
|
33
|
+
export const startSyncOnDemand = createAsyncThunk('sync/userUpdateCatalog', () => {
|
|
34
|
+
return Sync.startSyncOnDemand();
|
|
35
|
+
});
|
|
36
|
+
export const setEnableProducts = createAsyncThunk('sync/setEnableProducts', ({ isEnable }) => {
|
|
37
|
+
return Sync.enableProducts(isEnable);
|
|
38
|
+
});
|
|
39
|
+
export const getWooSyncWarnings = createAsyncThunk('sync/getWooSyncWarnings', () => {
|
|
40
|
+
return Sync.getWooSyncWarnings();
|
|
41
|
+
});
|
|
42
|
+
export const getBigcommerceSyncWarnings = createAsyncThunk('sync/getBigcommerceSyncWarnings', () => {
|
|
43
|
+
return Sync.getBigcommerceSyncWarnings();
|
|
44
|
+
});
|
|
45
|
+
export const setSyncOption = createAsyncThunk('sync/setSyncOption', ({ optionID, optionName, optionValue }) => {
|
|
46
|
+
return Sync.setSyncOption(optionID, optionValue);
|
|
47
|
+
});
|
|
48
|
+
export const setProductImageOptimization = createAsyncThunk('sync/setProductImageOptimization', ({ value }) => {
|
|
49
|
+
return Sync.setProductImageOptimization(value);
|
|
50
|
+
});
|
|
51
|
+
export const setTagManagerProvider = createAsyncThunk('sync/setTagManagerProvider', ({ tagManagerProvider }) => {
|
|
52
|
+
return Sync.setTagManagerProvider(tagManagerProvider);
|
|
53
|
+
});
|
|
54
|
+
export const setSkuSyncOption = createAsyncThunk('sync/setSkuSyncOption', ({ isSkuIndex, isSkuTypoCorrection, isSkuExactMatch, optionName, optionValue }) => {
|
|
55
|
+
return Sync.setSkuSyncOption(isSkuIndex, isSkuTypoCorrection, isSkuExactMatch);
|
|
56
|
+
});
|
|
57
|
+
export const setDescSyncOption = createAsyncThunk('sync/setDescSyncOption', ({ isDescIndex, isShortDescIndex, optionName, optionValue }) => {
|
|
58
|
+
return Sync.setDescSyncOption(isDescIndex, isShortDescIndex);
|
|
59
|
+
});
|
|
60
|
+
export const setCustomAttr = createAsyncThunk('sync/setCustomAttr', (customAttr) => {
|
|
61
|
+
return Sync.setCustomAttr(customAttr);
|
|
62
|
+
});
|
|
63
|
+
export const setVariantOptions = createAsyncThunk('sync/setVariantOptions', (variantOptions) => {
|
|
64
|
+
return Sync.setVariantOptions(variantOptions);
|
|
65
|
+
});
|
|
66
|
+
export const setProductsAttributeMetafields = createAsyncThunk('sync/setProductsAttributeMetafields', (values) => {
|
|
67
|
+
return Sync.setProductsAttributeMetafields(values);
|
|
68
|
+
});
|
|
69
|
+
export const setVariantsAttributeMetafields = createAsyncThunk('sync/setVariantsAttributeMetafields', (values) => {
|
|
70
|
+
return Sync.setVariantsAttributeMetafields(values);
|
|
71
|
+
});
|
|
72
|
+
export const setNonSellableProducts = createAsyncThunk('sync/setNonSellableProducts', ({ isShow, isDemote, isShowOld, isDemoteOld }) => {
|
|
73
|
+
return Sync.setNonSellableProducts(isShow, isDemote);
|
|
74
|
+
});
|
|
75
|
+
export const setProductImageSource = createAsyncThunk('sync/setProductImageSource', (source) => {
|
|
76
|
+
return Sync.setProductImageSource(source);
|
|
77
|
+
});
|
|
78
|
+
export const setProductCreationDateSource = createAsyncThunk('sync/setProductCreationDateSource', (args) => {
|
|
79
|
+
return Sync.setProductCreationDateSource(args.source, args.metafield);
|
|
80
|
+
});
|
|
81
|
+
export const setHideProducts = createAsyncThunk('sync/setHideProducts', ({ avoidValues, avoidType }) => {
|
|
82
|
+
return Sync.setHideProducts(avoidValues, avoidType);
|
|
83
|
+
});
|
|
84
|
+
export const setExcludeTagsFromSync = createAsyncThunk('sync/setExcludeTagsFromSync', (tags) => {
|
|
85
|
+
return Sync.setExcludeTagsFromSync(tags);
|
|
86
|
+
});
|
|
87
|
+
/* called on sync tab first load, and after the sync has begun */
|
|
88
|
+
export const checkSiteState = createAsyncThunk('sync/checkSiteState', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
89
|
+
return (yield Sync.checkSiteState()).data;
|
|
90
|
+
}));
|
|
91
|
+
export const saveSiteGroupUserPassword = createAsyncThunk('sync/saveSiteGroupUserPassword', ({ username, password }) => {
|
|
92
|
+
return Sync.setSiteGroupUserPassword(username, password);
|
|
93
|
+
});
|
|
94
|
+
export const validateSiteGroupUserPassword = createAsyncThunk('sync/validateSiteGroupUserPassword', ({ username, password }) => {
|
|
95
|
+
return Sync.validateSiteGroupUserPassword(username, password);
|
|
96
|
+
});
|
|
97
|
+
export const getHowIpsSeesProduct = createAsyncThunk('sync/getHowIpsSeesProduct', (productName) => {
|
|
98
|
+
return Sync.getHowIpsSeesProduct(productName);
|
|
99
|
+
});
|
|
100
|
+
export const saveRestrictedAdmin = createAsyncThunk('sync/saveRestrictedAdmin', ({ email, password, roles, sites, isUpdate }) => {
|
|
101
|
+
return Sync.saveRestrictedAdmin(email, password, roles, sites, isUpdate);
|
|
102
|
+
});
|
|
103
|
+
export const deleteRestrictedAdmin = createAsyncThunk('sync/deleteRestrictedAdmin', (email) => {
|
|
104
|
+
return Sync.deleteSiteRestrictedAdmin(email);
|
|
105
|
+
});
|
|
106
|
+
export const uploadCsvToBlob = createAsyncThunk('sync/uploadCsvToBlob', ({ csvBlobUploadUrl, file, site_uuid, store_id, site_key, csv_encoding, is_strict, erase_all_missing_products, refresh_product_images }) => {
|
|
107
|
+
return Sync.uploadCsvToBlob(csvBlobUploadUrl, file, site_uuid, store_id, site_key, csv_encoding, is_strict, erase_all_missing_products, refresh_product_images);
|
|
108
|
+
});
|
|
109
|
+
export const getUploadCsvStatus = createAsyncThunk('sync/getUploadCsvStatus', () => {
|
|
110
|
+
return Sync.getUploadCsvStatus();
|
|
111
|
+
});
|
|
112
|
+
export const updateIpAddresses = createAsyncThunk('sync/updateIpAddresses', (ipAddresses) => __awaiter(void 0, void 0, void 0, function* () {
|
|
113
|
+
return (yield Sync.updateIpAddresses(ipAddresses)).data;
|
|
114
|
+
}));
|
|
115
|
+
export const fetchLocations = createAsyncThunk('sync/fetchLocations', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
116
|
+
return (yield Sync.fetchLocations()).data;
|
|
117
|
+
}));
|
|
118
|
+
export const updateLocations = createAsyncThunk('sync/updateLocations', ({ syncedLocations }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
119
|
+
return (yield Sync.updateLocations(syncedLocations)).data;
|
|
120
|
+
}));
|
|
121
|
+
export const syncSlice = createSlice({
|
|
122
|
+
name: 'sync',
|
|
123
|
+
initialState: defaultSyncState,
|
|
124
|
+
reducers: {
|
|
125
|
+
changeCurrentSite: (state, action) => {
|
|
126
|
+
state.currentSiteKey = action.payload;
|
|
127
|
+
state.loading.settings = true;
|
|
128
|
+
},
|
|
129
|
+
setSyncMessage: (state, action) => {
|
|
130
|
+
state.productSync.syncButtonText = action.payload.syncButtonText;
|
|
131
|
+
state.productSync.syncMessage = action.payload.syncMessage;
|
|
132
|
+
},
|
|
133
|
+
setSyncMessageTimeout: (state, action) => {
|
|
134
|
+
state.productSync.syncMessageTimeoutHandler = action.payload;
|
|
135
|
+
},
|
|
136
|
+
setSyncProgressTimeout: (state, action) => {
|
|
137
|
+
state.productSync.syncProgressTimeoutHandler = action.payload;
|
|
138
|
+
},
|
|
139
|
+
setCustomAttrErrorMessage: (state, action) => {
|
|
140
|
+
state.customAttr.errorMessage = action.payload;
|
|
141
|
+
state.customAttr.isSaveError = state.customAttr.errorMessage !== '';
|
|
142
|
+
},
|
|
143
|
+
setInitialSiteStatus: (state, action) => {
|
|
144
|
+
state.mainSettings.siteStatus = action.payload.siteStatus;
|
|
145
|
+
state.mainSettings.isDisplaySiteStatusLoader = action.payload.isDisplaySiteStatusLoader;
|
|
146
|
+
},
|
|
147
|
+
setCustomAttributesTemp: (state, action) => {
|
|
148
|
+
state.customAttr.tempValues = action.payload;
|
|
149
|
+
},
|
|
150
|
+
setVariantOptionsTemp: (state, action) => {
|
|
151
|
+
state.variantOptions.values = action.payload;
|
|
152
|
+
},
|
|
153
|
+
setProductsAttributeMetafieldsErrorMessage: (state, action) => {
|
|
154
|
+
state.productsAttributeMetafields.errorMessage = action.payload;
|
|
155
|
+
state.productsAttributeMetafields.isSaveError = state.productsAttributeMetafields.errorMessage !== '';
|
|
156
|
+
},
|
|
157
|
+
setVariantsAttributeMetafieldsErrorMessage: (state, action) => {
|
|
158
|
+
state.variantsAttributeMetafields.errorMessage = action.payload;
|
|
159
|
+
state.variantsAttributeMetafields.isSaveError = state.variantsAttributeMetafields.errorMessage !== '';
|
|
160
|
+
},
|
|
161
|
+
setProductsAttributeMetafieldsTemp: (state, action) => {
|
|
162
|
+
state.productsAttributeMetafields.values = action.payload;
|
|
163
|
+
},
|
|
164
|
+
setVariantsAttributeMetafieldsTemp: (state, action) => {
|
|
165
|
+
state.variantsAttributeMetafields.values = action.payload;
|
|
166
|
+
},
|
|
167
|
+
setHideProductsTemp: (state, action) => {
|
|
168
|
+
const avoidType = action.payload.avoidType;
|
|
169
|
+
const avoidValues = action.payload.avoidValues;
|
|
170
|
+
if (avoidType === AVOID_TYPE.AVOID_PRODUCTS_WITH_TAGS) {
|
|
171
|
+
state.hideProducts.avoidProductsWithTags = avoidValues;
|
|
172
|
+
}
|
|
173
|
+
else if (avoidType === AVOID_TYPE.AVOID_PRODUCTS_WITH_METAFIELDS) {
|
|
174
|
+
state.hideProducts.avoidProductsWithMetafields = avoidValues;
|
|
175
|
+
}
|
|
176
|
+
else if (avoidType === AVOID_TYPE.AVOID_VARIANTS_WITH_METAFIELDS) {
|
|
177
|
+
state.hideProducts.avoidVariantsWithMetafields = avoidValues;
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
setSiteGroupUserPassword: (state, action) => {
|
|
181
|
+
state.editSettings.siteGroupUsername = action.payload.username;
|
|
182
|
+
state.editSettings.siteGroupPassword = action.payload.password;
|
|
183
|
+
},
|
|
184
|
+
setHowIspSeesProductName: (state, action) => {
|
|
185
|
+
state.howIspSees.productName = action.payload;
|
|
186
|
+
},
|
|
187
|
+
setEditedRestrictedAdmin: (state, action) => {
|
|
188
|
+
state.restrictedAdmins.editedAdmin.index = action.payload.index;
|
|
189
|
+
state.restrictedAdmins.editedAdmin.email = action.payload.email;
|
|
190
|
+
state.restrictedAdmins.editedAdmin.roles = action.payload.roles;
|
|
191
|
+
state.restrictedAdmins.editedAdmin.sites = action.payload.sites;
|
|
192
|
+
state.restrictedAdmins.editedAdmin.isSaveGood =
|
|
193
|
+
action.payload.isSaveGood;
|
|
194
|
+
if (typeof action.payload.password !== 'undefined') {
|
|
195
|
+
state.restrictedAdmins.editedAdmin.password =
|
|
196
|
+
action.payload.password;
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
resetEditedRestrictedAdmin: (state, action) => {
|
|
200
|
+
state.restrictedAdmins.editedAdmin.index = -1;
|
|
201
|
+
state.restrictedAdmins.editedAdmin.email = '';
|
|
202
|
+
state.restrictedAdmins.editedAdmin.roles = [];
|
|
203
|
+
state.restrictedAdmins.editedAdmin.password = '';
|
|
204
|
+
},
|
|
205
|
+
setRestrictedAdminErrorMessage: (state, action) => {
|
|
206
|
+
const errorType = action.payload.errorType;
|
|
207
|
+
state.restrictedAdmins.errorMessages[errorType] = action.payload.message;
|
|
208
|
+
},
|
|
209
|
+
clearRestrictedAdminErrorMessage: (state, action) => {
|
|
210
|
+
state.restrictedAdmins.errorMessages['email'] = '';
|
|
211
|
+
state.restrictedAdmins.errorMessages['general'] = '';
|
|
212
|
+
},
|
|
213
|
+
setEditedRestrictedProp: (state, action) => {
|
|
214
|
+
if (action.payload.name in state.restrictedAdmins.editedAdmin) {
|
|
215
|
+
state.restrictedAdmins.editedAdmin[action.payload.name] =
|
|
216
|
+
action.payload.value;
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
setCsvUploadFileName: (state, action) => {
|
|
220
|
+
state.customCsvInfo.uploadFileName = action.payload;
|
|
221
|
+
},
|
|
222
|
+
changeCustomCsvBooleanValue: (state, action) => {
|
|
223
|
+
const name = action.payload;
|
|
224
|
+
if (name === 'strictMode') {
|
|
225
|
+
state.customCsvInfo.isStrictMode =
|
|
226
|
+
!state.customCsvInfo.isStrictMode;
|
|
227
|
+
}
|
|
228
|
+
else if (name === 'eraseExistingProducts') {
|
|
229
|
+
state.customCsvInfo.isEraseExistingProducts =
|
|
230
|
+
!state.customCsvInfo.isEraseExistingProducts;
|
|
231
|
+
}
|
|
232
|
+
else if (name === 'refreshProductImages') {
|
|
233
|
+
state.customCsvInfo.isRefreshProductImages =
|
|
234
|
+
!state.customCsvInfo.isRefreshProductImages;
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
setCsvUploadTimeout: (state, action) => {
|
|
238
|
+
state.customCsvInfo.csvUploadTimeoutHandler = action.payload;
|
|
239
|
+
},
|
|
240
|
+
setCsvUploadMessage: (state, action) => {
|
|
241
|
+
state.customCsvInfo.csvUploadMessage = action.payload;
|
|
242
|
+
},
|
|
243
|
+
setCsvUploadStatus: (state, action) => {
|
|
244
|
+
state.customCsvInfo.csvUploadStatus = action.payload;
|
|
245
|
+
},
|
|
246
|
+
setCsvEncoding: (state, action) => {
|
|
247
|
+
state.customCsvInfo.csvEncoding = action.payload;
|
|
248
|
+
},
|
|
249
|
+
setIsCsvUploading: (state, action) => {
|
|
250
|
+
state.customCsvInfo.isUploading = action.payload;
|
|
251
|
+
},
|
|
252
|
+
setCsvTimeToComplete: (state, action) => {
|
|
253
|
+
state.customCsvInfo.timeToComplete = action.payload;
|
|
254
|
+
},
|
|
255
|
+
setLastProductUpdateDate: (state, action) => {
|
|
256
|
+
state.productSync.lastProductUpdateDate = action.payload;
|
|
257
|
+
},
|
|
258
|
+
setCatalogLanguage: (state, action) => {
|
|
259
|
+
state.productSync.catalogLanguage = action.payload;
|
|
260
|
+
},
|
|
261
|
+
setProductCreationDateSourceValue: (state, action) => {
|
|
262
|
+
state.shProductCreationDateSource.source = action.payload;
|
|
263
|
+
},
|
|
264
|
+
setProductCreationDateSourceMetafield: (state, action) => {
|
|
265
|
+
state.shProductCreationDateSource.metafield = action.payload;
|
|
266
|
+
},
|
|
267
|
+
setSyncProgressCounter: (state, action) => {
|
|
268
|
+
state.productSync.syncProgressCounter = action.payload;
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
extraReducers: builder => {
|
|
272
|
+
builder.addCase(resetState, () => defaultSyncState);
|
|
273
|
+
builder.addCase(fetchSyncSettings.fulfilled, (state, action) => {
|
|
274
|
+
state.syncOptions = action.payload.syncOptions;
|
|
275
|
+
state.mainSettings.siteStatus = action.payload.mainSettings.siteStatus;
|
|
276
|
+
state.mainSettings.showTroubleshootingGuide =
|
|
277
|
+
action.payload.mainSettings.showTroubleshootingGuide;
|
|
278
|
+
state.editSettings.siteGroupUsername = action.payload.editSettings.siteGroupUsername;
|
|
279
|
+
state.editSettings.siteGroupPassword = action.payload.editSettings.siteGroupPassword;
|
|
280
|
+
state.magentoInfo.extensionVersion = action.payload.magentoInfo.extensionVersion;
|
|
281
|
+
state.magentoInfo.latestVersion = action.payload.magentoInfo.latestVersion;
|
|
282
|
+
state.magentoInfo.isLatestVersion = action.payload.magentoInfo.isLatestVersion;
|
|
283
|
+
state.magentoInfo.platformVersion = action.payload.magentoInfo.platformVersion;
|
|
284
|
+
state.magentoInfo.platformVersionType = action.payload.magentoInfo.platformVersionType;
|
|
285
|
+
state.woocommerceInfo = action.payload.woocommerceInfo;
|
|
286
|
+
state.customCsvInfo.curEmail = action.payload.customCsvInfo.curEmail;
|
|
287
|
+
state.customCsvInfo.csvBlobUploadUrl = action.payload.customCsvInfo.csvBlobUploadUrl;
|
|
288
|
+
state.customCsvInfo.csvUploadStatus = action.payload.customCsvInfo.csvUploadStatus;
|
|
289
|
+
state.customCsvInfo.isCsvUploaded = action.payload.customCsvInfo.isCsvUploaded;
|
|
290
|
+
state.customCsvInfo.csvUploadMessage = action.payload.customCsvInfo.csvUploadMessage;
|
|
291
|
+
state.customCsvInfo.timeToComplete = action.payload.customCsvInfo.timeToComplete;
|
|
292
|
+
state.productSync.isProductsEnabled = action.payload.productSync.isProductsEnabled;
|
|
293
|
+
state.productSync.lastProductUpdateDate = action.payload.productSync.lastProductUpdateDate;
|
|
294
|
+
state.productSync.syncMessage = action.payload.productSync.syncMessage;
|
|
295
|
+
state.productSync.isSyncOnDemandEnabled = action.payload.productSync.isSyncOnDemandEnabled;
|
|
296
|
+
state.productSync.catalogLanguage = action.payload.productSync.catalogLanguage;
|
|
297
|
+
state.productSync.leadSiteKey = action.payload.productSync.leadSiteKey;
|
|
298
|
+
state.productSync.canChangeProducts = action.payload.productSync.canChangeProducts;
|
|
299
|
+
state.productSync.productsCount = action.payload.productSync.productsCount;
|
|
300
|
+
state.productSync.isInitialSyncInProgress = action.payload.productSync.isInitialSyncInProgress;
|
|
301
|
+
if (state.productSync.isInitialSyncInProgress) {
|
|
302
|
+
state.productSync.isSyncButtonLoading = true;
|
|
303
|
+
state.productSync.syncButtonText = 'Syncing...';
|
|
304
|
+
state.productSync.syncMessage = 'Synchronizing products...';
|
|
305
|
+
}
|
|
306
|
+
state.syncWarnings.canCheckDebugSettings = action.payload.syncWarnings.canCheckDebugSettings;
|
|
307
|
+
state.syncWarnings.ispResultsPageType = action.payload.syncWarnings.ispResultsPageType;
|
|
308
|
+
state.customAttr.values = action.payload.customAttr.values;
|
|
309
|
+
state.customAttr.tempValues = action.payload.customAttr.values;
|
|
310
|
+
state.customAttr.options = action.payload.customAttr.options;
|
|
311
|
+
state.variantOptions.values = action.payload.variantOptions.values;
|
|
312
|
+
state.nonSellableProducts = action.payload.nonSellableProducts;
|
|
313
|
+
state.shProductImageSource = action.payload.shProductImageSource;
|
|
314
|
+
state.shProductCreationDateSource = action.payload.shProductCreationDateSource;
|
|
315
|
+
state.shProductCreationDateSource.oldSource = action.payload.shProductCreationDateSource.source;
|
|
316
|
+
state.shProductCreationDateSource.oldMetafield = action.payload.shProductCreationDateSource.metafield;
|
|
317
|
+
state.allDateProductsMetafields = action.payload.allDateProductsMetafields;
|
|
318
|
+
state.allProductsMetafields = action.payload.allProductsMetafields;
|
|
319
|
+
state.allVariantsMetafields = action.payload.allVariantsMetafields;
|
|
320
|
+
state.productsAttributeMetafields.values = action.payload.productsAttributeMetafields.values;
|
|
321
|
+
state.productsAttributeMetafields.savedValues = action.payload.productsAttributeMetafields.values;
|
|
322
|
+
state.variantsAttributeMetafields.values = action.payload.variantsAttributeMetafields.values;
|
|
323
|
+
state.variantsAttributeMetafields.savedValues = action.payload.variantsAttributeMetafields.values;
|
|
324
|
+
state.hideProducts.avoidProductsWithTags = action.payload.hideProducts.avoidProductsWithTags;
|
|
325
|
+
state.hideProducts.avoidProductsWithMetafields = action.payload.hideProducts.avoidProductsWithMetafields;
|
|
326
|
+
state.hideProducts.avoidVariantsWithMetafields = action.payload.hideProducts.avoidVariantsWithMetafields;
|
|
327
|
+
state.excludeTagsFromSync.tags = action.payload.excludeTagsFromSync.tags;
|
|
328
|
+
state.restrictedAdmins.admins = action.payload.restrictedAdmins.admins;
|
|
329
|
+
state.restrictedAdmins.siteAdminEmail = action.payload.restrictedAdmins.siteAdminEmail;
|
|
330
|
+
state.restrictedAdmins.groupOwnerEmail = action.payload.restrictedAdmins.groupOwnerEmail;
|
|
331
|
+
state.productImageOptimization.productImageOptimization = action.payload.useProductImageOptimization;
|
|
332
|
+
state.loading.settings = false;
|
|
333
|
+
state.pricingBooleanFields = action.payload.pricingBooleanFields;
|
|
334
|
+
state.pricingStringFields = action.payload.pricingStringFields;
|
|
335
|
+
state.updateIpAddresses.excludedIpAddresses = action.payload.updateIpAddresses.excludedIpAddresses;
|
|
336
|
+
state.updateIpAddresses.userIp = action.payload.updateIpAddresses.userIp;
|
|
337
|
+
state.tagManagerProvider.tagManagerProvider = action.payload.tagManagerProvider;
|
|
338
|
+
});
|
|
339
|
+
builder.addCase(fetchOnReenterTab.fulfilled, (state, action) => {
|
|
340
|
+
const productSyncData = action.payload.data.productSync;
|
|
341
|
+
state.productSync.lastProductUpdateDate = productSyncData.lastProductUpdateDate;
|
|
342
|
+
state.productSync.productsCount = productSyncData.productsCount;
|
|
343
|
+
const mainSettingsData = action.payload.data.mainSettings;
|
|
344
|
+
state.mainSettings.siteStatus = mainSettingsData.siteStatus;
|
|
345
|
+
// a sync on demand has started, show message that sync has started
|
|
346
|
+
if (state.productSync.syncProgressCounter === SYNC_PROGRESS_UPDATES_NUM) {
|
|
347
|
+
state.productSync.syncMessage = syncStartedMessage;
|
|
348
|
+
}
|
|
349
|
+
if (state.productSync.syncProgressCounter > 0) {
|
|
350
|
+
state.productSync.syncProgressCounter =
|
|
351
|
+
state.productSync.syncProgressCounter - 1;
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
builder.addCase(startSyncOnDemandShopify.pending, (state, action) => {
|
|
355
|
+
//state.productSync.syncButtonText = 'Syncing...';
|
|
356
|
+
state.productSync.syncMessage = syncStartedMessage;
|
|
357
|
+
state.productSync.isSyncButtonLoading = true;
|
|
358
|
+
});
|
|
359
|
+
builder.addCase(startSyncOnDemandShopify.rejected, (state, action) => {
|
|
360
|
+
state.productSync.syncButtonText = syncNowMessage;
|
|
361
|
+
state.productSync.syncMessage = syncErrorMessage;
|
|
362
|
+
state.productSync.isSyncButtonLoading = false;
|
|
363
|
+
});
|
|
364
|
+
builder.addCase(startSyncOnDemandShopify.fulfilled, (state, action) => {
|
|
365
|
+
state.productSync.isSyncButtonLoading = false;
|
|
366
|
+
const success = action.payload.data['success'];
|
|
367
|
+
if (!success) {
|
|
368
|
+
state.productSync.syncMessage = syncErrorMessage;
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
builder.addCase(startSyncOnDemand.pending, (state, action) => {
|
|
372
|
+
//state.productSync.syncButtonText = 'Syncing...';
|
|
373
|
+
state.productSync.isSyncButtonLoading = true;
|
|
374
|
+
state.productSync.syncMessage = syncStartedMessage;
|
|
375
|
+
});
|
|
376
|
+
builder.addCase(startSyncOnDemand.rejected, (state, action) => {
|
|
377
|
+
state.productSync.syncButtonText = syncNowMessage;
|
|
378
|
+
state.productSync.syncMessage = syncErrorMessage;
|
|
379
|
+
state.productSync.isSyncButtonLoading = false;
|
|
380
|
+
});
|
|
381
|
+
builder.addCase(startSyncOnDemand.fulfilled, (state, action) => {
|
|
382
|
+
state.productSync.isSyncButtonLoading = false;
|
|
383
|
+
const success = action.payload.data['success'];
|
|
384
|
+
if (!success) {
|
|
385
|
+
state.productSync.syncMessage = syncErrorMessage;
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
builder.addCase(setEnableProducts.pending, (state, action) => {
|
|
389
|
+
state.productSync.isProductsEnabled = !state.productSync.isProductsEnabled;
|
|
390
|
+
});
|
|
391
|
+
builder.addCase(setEnableProducts.rejected, (state, action) => {
|
|
392
|
+
state.productSync.isProductsEnabled = !state.productSync.isProductsEnabled;
|
|
393
|
+
});
|
|
394
|
+
builder.addCase(setEnableProducts.fulfilled, (state, action) => {
|
|
395
|
+
const success = action.payload;
|
|
396
|
+
if (!success) {
|
|
397
|
+
state.productSync.isProductsEnabled = !state.productSync.isProductsEnabled;
|
|
398
|
+
// TODO:: show error message
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
builder.addCase(getWooSyncWarnings.pending, (state, action) => {
|
|
402
|
+
state.syncWarnings.isLoading = true;
|
|
403
|
+
state.syncWarnings.woocommerceWarnings.data = {};
|
|
404
|
+
state.syncWarnings.errorStatus = '';
|
|
405
|
+
});
|
|
406
|
+
builder.addCase(getWooSyncWarnings.rejected, (state, action) => {
|
|
407
|
+
state.syncWarnings.isLoading = false;
|
|
408
|
+
state.syncWarnings.errorStatus = action.error.message;
|
|
409
|
+
});
|
|
410
|
+
builder.addCase(getWooSyncWarnings.fulfilled, (state, action) => {
|
|
411
|
+
state.syncWarnings.isLoading = false;
|
|
412
|
+
if (action.payload.data.errorStatus) {
|
|
413
|
+
state.syncWarnings.errorStatus = action.payload.data.errorStatus;
|
|
414
|
+
}
|
|
415
|
+
if (action.payload.data.errorMessage) {
|
|
416
|
+
state.syncWarnings.woocommerceWarnings.errorMessage = action.payload.data.errorMessage;
|
|
417
|
+
}
|
|
418
|
+
if (action.payload.data.warningsData) {
|
|
419
|
+
state.syncWarnings.woocommerceWarnings.data = action.payload.data.warningsData;
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
builder.addCase(getBigcommerceSyncWarnings.pending, (state, action) => {
|
|
423
|
+
state.syncWarnings.isLoading = true;
|
|
424
|
+
state.syncWarnings.bigcommerceWarnings.serpConflictMessage = '';
|
|
425
|
+
state.syncWarnings.errorStatus = '';
|
|
426
|
+
});
|
|
427
|
+
builder.addCase(getBigcommerceSyncWarnings.rejected, (state, action) => {
|
|
428
|
+
state.syncWarnings.isLoading = false;
|
|
429
|
+
state.syncWarnings.errorStatus = action.error.message;
|
|
430
|
+
});
|
|
431
|
+
builder.addCase(getBigcommerceSyncWarnings.fulfilled, (state, action) => {
|
|
432
|
+
state.syncWarnings.isLoading = false;
|
|
433
|
+
if (action.payload.data.errorStatus) {
|
|
434
|
+
state.syncWarnings.errorStatus = action.payload.data.errorStatus;
|
|
435
|
+
}
|
|
436
|
+
else {
|
|
437
|
+
if (action.payload.data.serpConflictMessage) {
|
|
438
|
+
state.syncWarnings.bigcommerceWarnings.serpConflictMessage =
|
|
439
|
+
action.payload.data.serpConflictMessage;
|
|
440
|
+
}
|
|
441
|
+
if (action.payload.data.lastProductUpdateDate) {
|
|
442
|
+
state.syncWarnings.lastProductUpdateDate =
|
|
443
|
+
action.payload.data.lastProductUpdateDate;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
builder.addCase(setSyncOption.pending, (state, action) => {
|
|
448
|
+
onSetSyncOptionPending(state, action);
|
|
449
|
+
});
|
|
450
|
+
builder.addCase(setSyncOption.rejected, (state, action) => {
|
|
451
|
+
onSetSyncOptionRejected(state, action);
|
|
452
|
+
});
|
|
453
|
+
builder.addCase(setSyncOption.fulfilled, (state, action) => {
|
|
454
|
+
onSetSyncOptionFulfilled(state, action);
|
|
455
|
+
});
|
|
456
|
+
builder.addCase(setSkuSyncOption.pending, (state, action) => {
|
|
457
|
+
onSetSyncOptionPending(state, action);
|
|
458
|
+
});
|
|
459
|
+
builder.addCase(setSkuSyncOption.rejected, (state, action) => {
|
|
460
|
+
onSetSyncOptionRejected(state, action);
|
|
461
|
+
});
|
|
462
|
+
builder.addCase(setSkuSyncOption.fulfilled, (state, action) => {
|
|
463
|
+
onSetSyncOptionFulfilled(state, action);
|
|
464
|
+
});
|
|
465
|
+
builder.addCase(setDescSyncOption.pending, (state, action) => {
|
|
466
|
+
onSetSyncOptionPending(state, action);
|
|
467
|
+
});
|
|
468
|
+
builder.addCase(setDescSyncOption.rejected, (state, action) => {
|
|
469
|
+
onSetSyncOptionRejected(state, action);
|
|
470
|
+
});
|
|
471
|
+
builder.addCase(setDescSyncOption.fulfilled, (state, action) => {
|
|
472
|
+
onSetSyncOptionFulfilled(state, action);
|
|
473
|
+
});
|
|
474
|
+
builder.addCase(setCustomAttr.pending, (state, action) => {
|
|
475
|
+
state.customAttr.isSaving = true;
|
|
476
|
+
state.customAttr.isSaveError = false;
|
|
477
|
+
});
|
|
478
|
+
builder.addCase(setCustomAttr.rejected, (state, action) => {
|
|
479
|
+
state.customAttr.isSaving = false;
|
|
480
|
+
state.customAttr.isSaveError = true;
|
|
481
|
+
state.customAttr.tempValues = state.customAttr.values;
|
|
482
|
+
});
|
|
483
|
+
builder.addCase(setCustomAttr.fulfilled, (state, action) => {
|
|
484
|
+
const success = action.payload.data.success;
|
|
485
|
+
state.customAttr.isSaving = false;
|
|
486
|
+
state.customAttr.isSaveError = !success;
|
|
487
|
+
if (success) {
|
|
488
|
+
state.customAttr.values = action.meta.arg;
|
|
489
|
+
state.customAttr.errorMessage = '';
|
|
490
|
+
state.customAttr.values = state.customAttr.tempValues;
|
|
491
|
+
}
|
|
492
|
+
else {
|
|
493
|
+
state.customAttr.errorMessage = action.payload.data.errorMessage;
|
|
494
|
+
state.customAttr.tempValues = state.customAttr.values;
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
builder.addCase(setVariantOptions.pending, (state, action) => {
|
|
498
|
+
state.variantOptions.isSaving = true;
|
|
499
|
+
state.variantOptions.isSaveError = false;
|
|
500
|
+
});
|
|
501
|
+
builder.addCase(setVariantOptions.rejected, (state, action) => {
|
|
502
|
+
state.variantOptions.isSaving = false;
|
|
503
|
+
state.variantOptions.isSaveError = true;
|
|
504
|
+
});
|
|
505
|
+
builder.addCase(setVariantOptions.fulfilled, (state, action) => {
|
|
506
|
+
const success = action.payload.data.success;
|
|
507
|
+
state.variantOptions.isSaving = false;
|
|
508
|
+
state.variantOptions.isSaveError = !success;
|
|
509
|
+
if (success) {
|
|
510
|
+
state.variantOptions.values = action.meta.arg;
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
|
+
builder.addCase(setProductsAttributeMetafields.pending, (state, action) => {
|
|
514
|
+
state.productsAttributeMetafields.errorMessage = '';
|
|
515
|
+
state.productsAttributeMetafields.isSaving = true;
|
|
516
|
+
state.productsAttributeMetafields.isSaveError = false;
|
|
517
|
+
});
|
|
518
|
+
builder.addCase(setProductsAttributeMetafields.rejected, (state, action) => {
|
|
519
|
+
state.productsAttributeMetafields.isSaving = false;
|
|
520
|
+
state.productsAttributeMetafields.isSaveError = true;
|
|
521
|
+
state.productsAttributeMetafields.values = state.productsAttributeMetafields.savedValues;
|
|
522
|
+
state.productsAttributeMetafields.errorMessage = serverErrorMessage;
|
|
523
|
+
});
|
|
524
|
+
builder.addCase(setProductsAttributeMetafields.fulfilled, (state, action) => {
|
|
525
|
+
const success = action.payload.data.success;
|
|
526
|
+
state.productsAttributeMetafields.isSaving = false;
|
|
527
|
+
state.productsAttributeMetafields.isSaveError = !success;
|
|
528
|
+
if (success) {
|
|
529
|
+
state.productsAttributeMetafields.values = action.meta.arg;
|
|
530
|
+
state.productsAttributeMetafields.errorMessage = '';
|
|
531
|
+
state.productsAttributeMetafields.savedValues = state.productsAttributeMetafields.values;
|
|
532
|
+
}
|
|
533
|
+
else {
|
|
534
|
+
state.productsAttributeMetafields.errorMessage = action.payload.data.errorMessage;
|
|
535
|
+
state.productsAttributeMetafields.values = state.productsAttributeMetafields.savedValues;
|
|
536
|
+
}
|
|
537
|
+
});
|
|
538
|
+
builder.addCase(setVariantsAttributeMetafields.pending, (state, action) => {
|
|
539
|
+
state.variantsAttributeMetafields.errorMessage = '';
|
|
540
|
+
state.variantsAttributeMetafields.isSaving = true;
|
|
541
|
+
state.variantsAttributeMetafields.isSaveError = false;
|
|
542
|
+
});
|
|
543
|
+
builder.addCase(setVariantsAttributeMetafields.rejected, (state, action) => {
|
|
544
|
+
state.variantsAttributeMetafields.isSaving = false;
|
|
545
|
+
state.variantsAttributeMetafields.isSaveError = true;
|
|
546
|
+
state.variantsAttributeMetafields.values = state.variantsAttributeMetafields.savedValues;
|
|
547
|
+
state.variantsAttributeMetafields.errorMessage = serverErrorMessage;
|
|
548
|
+
});
|
|
549
|
+
builder.addCase(setVariantsAttributeMetafields.fulfilled, (state, action) => {
|
|
550
|
+
const success = action.payload.data.success;
|
|
551
|
+
state.variantsAttributeMetafields.isSaving = false;
|
|
552
|
+
state.variantsAttributeMetafields.isSaveError = !success;
|
|
553
|
+
if (success) {
|
|
554
|
+
state.variantsAttributeMetafields.values = action.meta.arg;
|
|
555
|
+
state.variantsAttributeMetafields.errorMessage = '';
|
|
556
|
+
state.variantsAttributeMetafields.savedValues = state.variantsAttributeMetafields.values;
|
|
557
|
+
}
|
|
558
|
+
else {
|
|
559
|
+
state.variantsAttributeMetafields.errorMessage = action.payload.data.errorMessage;
|
|
560
|
+
state.variantsAttributeMetafields.values = state.variantsAttributeMetafields.savedValues;
|
|
561
|
+
}
|
|
562
|
+
});
|
|
563
|
+
builder.addCase(setNonSellableProducts.pending, (state, action) => {
|
|
564
|
+
const isShow = action.meta.arg.isShow;
|
|
565
|
+
const isDemote = action.meta.arg.isDemote;
|
|
566
|
+
state.nonSellableProducts.isShow = isShow;
|
|
567
|
+
state.nonSellableProducts.isDemote = isDemote;
|
|
568
|
+
});
|
|
569
|
+
builder.addCase(setNonSellableProducts.rejected, (state, action) => {
|
|
570
|
+
const isShowOld = action.meta.arg.isShowOld;
|
|
571
|
+
const isDemoteOld = action.meta.arg.isDemoteOld;
|
|
572
|
+
state.nonSellableProducts.isShow = isShowOld;
|
|
573
|
+
state.nonSellableProducts.isDemote = isDemoteOld;
|
|
574
|
+
});
|
|
575
|
+
builder.addCase(setNonSellableProducts.fulfilled, (state, action) => {
|
|
576
|
+
const success = action.payload.data.success;
|
|
577
|
+
if (!success) {
|
|
578
|
+
const isShowOld = action.meta.arg.isShowOld;
|
|
579
|
+
const isDemoteOld = action.meta.arg.isDemoteOld;
|
|
580
|
+
state.nonSellableProducts.isShow = isShowOld;
|
|
581
|
+
state.nonSellableProducts.isDemote = isDemoteOld;
|
|
582
|
+
}
|
|
583
|
+
});
|
|
584
|
+
builder.addCase(setProductImageSource.pending, (state, action) => {
|
|
585
|
+
state.shProductImageSource = toggleProductImageSource(state.shProductImageSource);
|
|
586
|
+
});
|
|
587
|
+
builder.addCase(setProductImageSource.rejected, (state, action) => {
|
|
588
|
+
state.shProductImageSource = toggleProductImageSource(state.shProductImageSource);
|
|
589
|
+
});
|
|
590
|
+
builder.addCase(setProductImageSource.fulfilled, (state, action) => {
|
|
591
|
+
const success = action.payload.data.success;
|
|
592
|
+
if (!success) {
|
|
593
|
+
state.shProductImageSource = toggleProductImageSource(state.shProductImageSource);
|
|
594
|
+
}
|
|
595
|
+
});
|
|
596
|
+
builder.addCase(setProductCreationDateSource.pending, (state, action) => {
|
|
597
|
+
state.shProductCreationDateSource.source = action.meta.arg.source;
|
|
598
|
+
state.shProductCreationDateSource.metafield = action.meta.arg.metafield;
|
|
599
|
+
});
|
|
600
|
+
builder.addCase(setProductCreationDateSource.rejected, (state, action) => {
|
|
601
|
+
state.shProductCreationDateSource.source = action.meta.arg.oldSource;
|
|
602
|
+
state.shProductCreationDateSource.metafield = action.meta.arg.oldMetafield;
|
|
603
|
+
});
|
|
604
|
+
builder.addCase(setProductCreationDateSource.fulfilled, (state, action) => {
|
|
605
|
+
const success = action.payload.data.success;
|
|
606
|
+
if (!success) {
|
|
607
|
+
state.shProductCreationDateSource.source = action.meta.arg.oldSource;
|
|
608
|
+
state.shProductCreationDateSource.metafield = action.meta.arg.oldMetafield;
|
|
609
|
+
}
|
|
610
|
+
else {
|
|
611
|
+
state.shProductCreationDateSource.oldSource = action.meta.arg.source;
|
|
612
|
+
state.shProductCreationDateSource.oldMetafield = action.meta.arg.metafield;
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
builder.addCase(setHideProducts.pending, (state, action) => {
|
|
616
|
+
const avoidType = action.meta.arg.avoidType;
|
|
617
|
+
state.hideProducts.isSaving[avoidType] = true;
|
|
618
|
+
state.hideProducts.isSaveError[avoidType] = false;
|
|
619
|
+
});
|
|
620
|
+
builder.addCase(setHideProducts.rejected, (state, action) => {
|
|
621
|
+
const avoidType = action.meta.arg.avoidType;
|
|
622
|
+
state.hideProducts.isSaving[avoidType] = false;
|
|
623
|
+
state.hideProducts.isSaveError[avoidType] = true;
|
|
624
|
+
});
|
|
625
|
+
builder.addCase(setHideProducts.fulfilled, (state, action) => {
|
|
626
|
+
const success = action.payload.data.success;
|
|
627
|
+
const avoidValues = action.meta.arg.avoidValues;
|
|
628
|
+
const avoidType = action.meta.arg.avoidType;
|
|
629
|
+
state.hideProducts.isSaving[avoidType] = false;
|
|
630
|
+
state.hideProducts.isSaveError[avoidType] = !success;
|
|
631
|
+
if (avoidType === AVOID_TYPE.AVOID_PRODUCTS_WITH_TAGS) {
|
|
632
|
+
state.hideProducts.avoidProductsWithTags = avoidValues;
|
|
633
|
+
}
|
|
634
|
+
else if (avoidType === AVOID_TYPE.AVOID_PRODUCTS_WITH_METAFIELDS) {
|
|
635
|
+
state.hideProducts.avoidProductsWithMetafields = avoidValues;
|
|
636
|
+
}
|
|
637
|
+
else if (avoidType === AVOID_TYPE.AVOID_VARIANTS_WITH_METAFIELDS) {
|
|
638
|
+
state.hideProducts.avoidVariantsWithMetafields = avoidValues;
|
|
639
|
+
}
|
|
640
|
+
});
|
|
641
|
+
builder.addCase(setExcludeTagsFromSync.pending, (state, action) => {
|
|
642
|
+
state.excludeTagsFromSync.isSaving = true;
|
|
643
|
+
state.excludeTagsFromSync.isSaveError = false;
|
|
644
|
+
});
|
|
645
|
+
builder.addCase(setExcludeTagsFromSync.rejected, (state, action) => {
|
|
646
|
+
state.excludeTagsFromSync.isSaving = false;
|
|
647
|
+
state.excludeTagsFromSync.isSaveError = true;
|
|
648
|
+
});
|
|
649
|
+
builder.addCase(setExcludeTagsFromSync.fulfilled, (state, action) => {
|
|
650
|
+
state.excludeTagsFromSync.isSaving = false;
|
|
651
|
+
state.excludeTagsFromSync.isSaveError = false;
|
|
652
|
+
state.excludeTagsFromSync.tags = action.meta.arg;
|
|
653
|
+
});
|
|
654
|
+
builder.addCase(checkSiteState.fulfilled, (state, action) => {
|
|
655
|
+
const success = action.payload.success;
|
|
656
|
+
if (!success) {
|
|
657
|
+
return;
|
|
658
|
+
}
|
|
659
|
+
//update info from the Magento extension
|
|
660
|
+
if ('isFlatProductsEnabled' in action.payload) {
|
|
661
|
+
state.magentoInfo.isFlatProductsEnabled = action.payload.isFlatProductsEnabled;
|
|
662
|
+
}
|
|
663
|
+
//TODO: fetch the info of the WooCommerce ext. in this handler as well,
|
|
664
|
+
// and not in the general fetch settings handler
|
|
665
|
+
});
|
|
666
|
+
builder.addCase(saveSiteGroupUserPassword.pending, (state, action) => {
|
|
667
|
+
state.editSettings.userPasswordValidateMessage = '';
|
|
668
|
+
state.editSettings.isUserPasswordValid = false;
|
|
669
|
+
state.editSettings.isUserPasswordLoading = true;
|
|
670
|
+
});
|
|
671
|
+
builder.addCase(saveSiteGroupUserPassword.rejected, (state, action) => {
|
|
672
|
+
state.editSettings.isUserPasswordLoading = false;
|
|
673
|
+
});
|
|
674
|
+
builder.addCase(saveSiteGroupUserPassword.fulfilled, (state, action) => {
|
|
675
|
+
const success = action.payload.data.success;
|
|
676
|
+
if (success) {
|
|
677
|
+
}
|
|
678
|
+
state.editSettings.isUserPasswordLoading = false;
|
|
679
|
+
});
|
|
680
|
+
builder.addCase(validateSiteGroupUserPassword.pending, (state, action) => {
|
|
681
|
+
state.editSettings.isUserPasswordValid = false;
|
|
682
|
+
state.editSettings.userPasswordValidateMessage = 'Getting Authentication...';
|
|
683
|
+
});
|
|
684
|
+
builder.addCase(validateSiteGroupUserPassword.rejected, (state, action) => {
|
|
685
|
+
state.editSettings.userPasswordValidateMessage = 'Cannot Get Authentication.';
|
|
686
|
+
});
|
|
687
|
+
builder.addCase(validateSiteGroupUserPassword.fulfilled, (state, action) => {
|
|
688
|
+
const success = action.payload.data.success;
|
|
689
|
+
state.editSettings.isUserPasswordValid = success;
|
|
690
|
+
state.editSettings.userPasswordValidateMessage = success ?
|
|
691
|
+
'Authentication Verified :-)' : 'Wrong Authentication :-(';
|
|
692
|
+
});
|
|
693
|
+
builder.addCase(getHowIpsSeesProduct.pending, (state, action) => {
|
|
694
|
+
state.howIspSees.isLoading = true;
|
|
695
|
+
state.howIspSees.isResultError = false;
|
|
696
|
+
});
|
|
697
|
+
builder.addCase(getHowIpsSeesProduct.rejected, (state, action) => {
|
|
698
|
+
state.howIspSees.isLoading = false;
|
|
699
|
+
state.howIspSees.isResultError = true;
|
|
700
|
+
});
|
|
701
|
+
builder.addCase(getHowIpsSeesProduct.fulfilled, (state, action) => {
|
|
702
|
+
state.howIspSees.isLoading = false;
|
|
703
|
+
const success = action.payload.data.success;
|
|
704
|
+
if (!success || !action.payload.data.result) {
|
|
705
|
+
state.howIspSees.isResultError = true;
|
|
706
|
+
}
|
|
707
|
+
const result = action.payload.data.result;
|
|
708
|
+
state.howIspSees.result.status = result.status;
|
|
709
|
+
if (result.errorMessage) {
|
|
710
|
+
state.howIspSees.result.errorMessage = result.errorMessage;
|
|
711
|
+
}
|
|
712
|
+
if (result.fewProducts) {
|
|
713
|
+
state.howIspSees.result.fewProducts = result.fewProducts;
|
|
714
|
+
return;
|
|
715
|
+
}
|
|
716
|
+
state.howIspSees.result.isUseCustomAttr2ForSite = result.isUseCustomAttr2ForSite;
|
|
717
|
+
state.howIspSees.result.isShowNonSellableProducts = result.isShowNonSellableProducts;
|
|
718
|
+
if (result.productInfos) {
|
|
719
|
+
state.howIspSees.result.productInfos = result.productInfos;
|
|
720
|
+
}
|
|
721
|
+
if (result.product) {
|
|
722
|
+
const product = result.product;
|
|
723
|
+
state.howIspSees.result.product = product;
|
|
724
|
+
state.howIspSees.result.product.customAttrNames2 = JSON.stringify(product.customAttrNames2);
|
|
725
|
+
if (product.attributes) {
|
|
726
|
+
state.howIspSees.result.product.attributes = product.attributes;
|
|
727
|
+
}
|
|
728
|
+
if (product.categoryList) {
|
|
729
|
+
state.howIspSees.result.product.categoryList = product.categoryList;
|
|
730
|
+
}
|
|
731
|
+
state.howIspSees.result.product.sourceCreationDate = product.sourceCreationDate;
|
|
732
|
+
state.howIspSees.result.product.reviewsScore = product.reviewsScore;
|
|
733
|
+
state.howIspSees.result.product.reviewsCount = product.reviewsCount;
|
|
734
|
+
}
|
|
735
|
+
});
|
|
736
|
+
builder.addCase(saveRestrictedAdmin.pending, (state, action) => {
|
|
737
|
+
state.restrictedAdmins.isLoading = true;
|
|
738
|
+
state.restrictedAdmins.errorMessages.email = '';
|
|
739
|
+
state.restrictedAdmins.errorMessages.general = '';
|
|
740
|
+
});
|
|
741
|
+
builder.addCase(saveRestrictedAdmin.rejected, (state, action) => {
|
|
742
|
+
state.restrictedAdmins.isLoading = false;
|
|
743
|
+
state.restrictedAdmins.errorMessages['general'] = adminSaveErrorMessage;
|
|
744
|
+
});
|
|
745
|
+
builder.addCase(saveRestrictedAdmin.fulfilled, (state, action) => {
|
|
746
|
+
state.restrictedAdmins.isLoading = false;
|
|
747
|
+
const errorType = action.payload.data.errorType;
|
|
748
|
+
const errorMessage = action.payload.data.message;
|
|
749
|
+
if (!action.payload.data.success) {
|
|
750
|
+
state.restrictedAdmins.errorMessages[errorType] = errorMessage;
|
|
751
|
+
return;
|
|
752
|
+
}
|
|
753
|
+
else {
|
|
754
|
+
state.restrictedAdmins.errorMessages['email'] = '';
|
|
755
|
+
state.restrictedAdmins.errorMessages['general'] = '';
|
|
756
|
+
}
|
|
757
|
+
const editedAdmin = state.restrictedAdmins.editedAdmin;
|
|
758
|
+
const index = editedAdmin.index;
|
|
759
|
+
if (index < state.restrictedAdmins.admins.length) {
|
|
760
|
+
//edit an existing admin:
|
|
761
|
+
state.restrictedAdmins.admins[index].email = editedAdmin.email;
|
|
762
|
+
state.restrictedAdmins.admins[index].roles = editedAdmin.roles;
|
|
763
|
+
state.restrictedAdmins.admins[index].sites = editedAdmin.sites;
|
|
764
|
+
}
|
|
765
|
+
else {
|
|
766
|
+
//add a new admin
|
|
767
|
+
const newAdmin = {
|
|
768
|
+
email: editedAdmin.email,
|
|
769
|
+
roles: editedAdmin.roles,
|
|
770
|
+
sites: editedAdmin.sites
|
|
771
|
+
};
|
|
772
|
+
state.restrictedAdmins.admins.push(newAdmin);
|
|
773
|
+
}
|
|
774
|
+
state.restrictedAdmins.editedAdmin.isSaveGood = true;
|
|
775
|
+
state.restrictedAdmins.errorMessages[errorType] = errorMessage;
|
|
776
|
+
});
|
|
777
|
+
builder.addCase(deleteRestrictedAdmin.pending, (state, action) => {
|
|
778
|
+
state.restrictedAdmins.isLoading = true;
|
|
779
|
+
});
|
|
780
|
+
builder.addCase(deleteRestrictedAdmin.rejected, (state, action) => {
|
|
781
|
+
state.restrictedAdmins.isLoading = false;
|
|
782
|
+
});
|
|
783
|
+
builder.addCase(deleteRestrictedAdmin.fulfilled, (state, action) => {
|
|
784
|
+
state.restrictedAdmins.isLoading = false;
|
|
785
|
+
const index = state.restrictedAdmins.editedAdmin.index;
|
|
786
|
+
//delete this admin
|
|
787
|
+
state.restrictedAdmins.admins.splice(index, 1);
|
|
788
|
+
});
|
|
789
|
+
builder.addCase(uploadCsvToBlob.pending, (state, action) => {
|
|
790
|
+
state.customCsvInfo.isUploading = true;
|
|
791
|
+
});
|
|
792
|
+
builder.addCase(uploadCsvToBlob.rejected, (state, action) => {
|
|
793
|
+
state.customCsvInfo.isUploading = false;
|
|
794
|
+
});
|
|
795
|
+
builder.addCase(uploadCsvToBlob.fulfilled, (state, action) => {
|
|
796
|
+
});
|
|
797
|
+
builder.addCase(getUploadCsvStatus.pending, (state, action) => {
|
|
798
|
+
});
|
|
799
|
+
builder.addCase(setProductImageOptimization.pending, (state, action) => {
|
|
800
|
+
state.productImageOptimization.productImageOptimization = action.meta.arg.value;
|
|
801
|
+
});
|
|
802
|
+
builder.addCase(getUploadCsvStatus.rejected, (state, action) => {
|
|
803
|
+
state.customCsvInfo.isUploading = false;
|
|
804
|
+
});
|
|
805
|
+
builder.addCase(getUploadCsvStatus.fulfilled, (state, action) => {
|
|
806
|
+
state.customCsvInfo.isUploading = false;
|
|
807
|
+
const success = action.payload.data.success;
|
|
808
|
+
if (success) {
|
|
809
|
+
const result = action.payload.data.result;
|
|
810
|
+
state.customCsvInfo.csvUploadStatus = result.csvUploadStatus;
|
|
811
|
+
state.customCsvInfo.isCsvUploaded = result.isCsvUploaded;
|
|
812
|
+
state.customCsvInfo.csvUploadMessage = result.csvUploadMessage;
|
|
813
|
+
state.customCsvInfo.timeToComplete = result.timeToComplete;
|
|
814
|
+
if (result.csvUploadMessage &&
|
|
815
|
+
result.csvUploadMessage.indexOf('progress') >= 0) {
|
|
816
|
+
state.customCsvInfo.csvUploadMessage = syncInProgressMessage;
|
|
817
|
+
}
|
|
818
|
+
if (result.csvUploadStatus === 'SUCCESS' && !result.timeToComplete) {
|
|
819
|
+
state.customCsvInfo.timeToComplete = TIME_MS.MINUTE * 7;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
else {
|
|
823
|
+
state.customCsvInfo.csvUploadMessage = 'An error occurred, please try again.';
|
|
824
|
+
}
|
|
825
|
+
});
|
|
826
|
+
builder.addCase(setPricingStringInput.pending, (state, action) => {
|
|
827
|
+
state.pricingStringFields[action.meta.arg.optionName] = action.meta.arg.optionValue;
|
|
828
|
+
});
|
|
829
|
+
builder.addCase(setPricingSwitch.pending, (state, action) => {
|
|
830
|
+
state.pricingBooleanFields[action.meta.arg.optionName] = action.meta.arg.optionValue;
|
|
831
|
+
});
|
|
832
|
+
builder.addCase(setPricingSwitch.rejected, (state, action) => {
|
|
833
|
+
state.pricingBooleanFields[action.meta.arg.optionName] = !state.pricingBooleanFields[action.meta.arg.optionName];
|
|
834
|
+
});
|
|
835
|
+
builder.addCase(updateIpAddresses.pending, (state, action) => {
|
|
836
|
+
state.updateIpAddresses.isLoading = true;
|
|
837
|
+
state.updateIpAddresses.isError = false;
|
|
838
|
+
state.updateIpAddresses.updateMessage = '';
|
|
839
|
+
});
|
|
840
|
+
builder.addCase(updateIpAddresses.rejected, (state, action) => {
|
|
841
|
+
state.updateIpAddresses.isLoading = false;
|
|
842
|
+
state.updateIpAddresses.isError = true;
|
|
843
|
+
state.updateIpAddresses.updateMessage = 'An error has occurred, please try again';
|
|
844
|
+
});
|
|
845
|
+
builder.addCase(updateIpAddresses.fulfilled, (state, action) => {
|
|
846
|
+
state.updateIpAddresses.isLoading = false;
|
|
847
|
+
state.updateIpAddresses.isError = !action.payload.isSuccess;
|
|
848
|
+
state.updateIpAddresses.updateMessage = action.payload.errorMessage;
|
|
849
|
+
state.updateIpAddresses.excludedIpAddresses = action.meta.arg;
|
|
850
|
+
});
|
|
851
|
+
builder.addCase(fetchLocations.fulfilled, (state, action) => {
|
|
852
|
+
state.locationsData = {
|
|
853
|
+
isLoading: false,
|
|
854
|
+
syncedLocations: action.payload.syncedLocations,
|
|
855
|
+
locations: action.payload.locations,
|
|
856
|
+
isReadInventoryPlatformPermission: action.payload.isReadInventoryPlatformPermission
|
|
857
|
+
};
|
|
858
|
+
});
|
|
859
|
+
builder.addCase(updateLocations.pending, (state, action) => {
|
|
860
|
+
state.locationsData.syncedLocations = action.meta.arg.syncedLocations;
|
|
861
|
+
});
|
|
862
|
+
builder.addCase(setTagManagerProvider.pending, (state, action) => {
|
|
863
|
+
state.tagManagerProvider.isLoading = true;
|
|
864
|
+
});
|
|
865
|
+
builder.addCase(setTagManagerProvider.rejected, (state, action) => {
|
|
866
|
+
state.tagManagerProvider.isLoading = false;
|
|
867
|
+
});
|
|
868
|
+
builder.addCase(setTagManagerProvider.fulfilled, (state, action) => {
|
|
869
|
+
state.tagManagerProvider.isLoading = false;
|
|
870
|
+
const success = action.payload.data['success'];
|
|
871
|
+
if (!success) {
|
|
872
|
+
state.tagManagerProvider.systemErrorMsg = syncErrorMessage;
|
|
873
|
+
return;
|
|
874
|
+
}
|
|
875
|
+
state.tagManagerProvider.tagManagerProvider = action.meta.arg.tagManagerProvider;
|
|
876
|
+
});
|
|
877
|
+
},
|
|
878
|
+
});
|
|
879
|
+
function onSetSyncOptionPending(state, action) {
|
|
880
|
+
const optionName = action.meta.arg.optionName;
|
|
881
|
+
const optionValue = action.meta.arg.optionValue;
|
|
882
|
+
state.syncOptions[optionName] = optionValue;
|
|
883
|
+
}
|
|
884
|
+
function onSetSyncOptionRejected(state, action) {
|
|
885
|
+
const optionName = action.meta.arg.optionName;
|
|
886
|
+
const optionValue = action.meta.arg.optionValue;
|
|
887
|
+
state.syncOptions[optionName] = !optionValue;
|
|
888
|
+
}
|
|
889
|
+
function onSetSyncOptionFulfilled(state, action) {
|
|
890
|
+
const payload = action.payload;
|
|
891
|
+
const success = payload.data.success;
|
|
892
|
+
const optionName = action.meta.arg.optionName;
|
|
893
|
+
const optionValue = action.meta.arg.optionValue;
|
|
894
|
+
}
|
|
895
|
+
export const selectCurrentSiteKey = (state) => state.sync.currentSiteKey;
|
|
896
|
+
export const selectMainSettings = (state) => state.sync.mainSettings;
|
|
897
|
+
export const selectEditSettings = (state) => state.sync.editSettings;
|
|
898
|
+
export const selectMagentoInfo = (state) => state.sync.magentoInfo;
|
|
899
|
+
export const selectWoocommerceInfo = (state) => state.sync.woocommerceInfo;
|
|
900
|
+
export const selectCustomCsvInfo = (state) => state.sync.customCsvInfo;
|
|
901
|
+
export const selectProductSync = (state) => state.sync.productSync;
|
|
902
|
+
export const selectSyncWarnings = (state) => state.sync.syncWarnings;
|
|
903
|
+
export const selectSyncOptions = (state) => state.sync.syncOptions;
|
|
904
|
+
export const selectIsSyncSettingsLoading = (state) => state.sync.loading.settings;
|
|
905
|
+
export const selectSyncLoading = (state) => state.sync.loading;
|
|
906
|
+
export const selectSyncError = (state) => state.sync.error;
|
|
907
|
+
export const selectCustomAttr = (state) => state.sync.customAttr.values;
|
|
908
|
+
export const selectCustomTempAttr = (state) => state.sync.customAttr.tempValues;
|
|
909
|
+
export const selectCustomAttrOptions = (state) => state.sync.customAttr.options;
|
|
910
|
+
export const selectCustomAttrIsSaving = (state) => state.sync.customAttr.isSaving;
|
|
911
|
+
export const selectCustomAttrIsError = (state) => state.sync.customAttr.isSaveError;
|
|
912
|
+
export const selectCustomAttrErrorMsg = (state) => state.sync.customAttr.errorMessage;
|
|
913
|
+
export const selectVariantOptions = (state) => state.sync.variantOptions;
|
|
914
|
+
export const selectNonSellableProducts = (state) => state.sync.nonSellableProducts;
|
|
915
|
+
export const selectProductImageSource = (state) => state.sync.shProductImageSource;
|
|
916
|
+
export const selectProductCreationDateSource = (state) => state.sync.shProductCreationDateSource;
|
|
917
|
+
export const selectAllDateProductsMetafields = (state) => state.sync.allDateProductsMetafields;
|
|
918
|
+
export const selectAllProductsMetafields = (state) => state.sync.allProductsMetafields;
|
|
919
|
+
export const selectAllVariantsMetafields = (state) => state.sync.allVariantsMetafields;
|
|
920
|
+
export const selectProductsAttributeMetafields = (state) => state.sync.productsAttributeMetafields;
|
|
921
|
+
export const selectVariantsAttributeMetafields = (state) => state.sync.variantsAttributeMetafields;
|
|
922
|
+
export const selectHideProducts = (state) => state.sync.hideProducts;
|
|
923
|
+
export const selectExcludeTagsFromSync = (state) => state.sync.excludeTagsFromSync;
|
|
924
|
+
export const selectHowIspSees = (state) => state.sync.howIspSees;
|
|
925
|
+
export const selectRestrictedAdmins = (state) => state.sync.restrictedAdmins;
|
|
926
|
+
export const selectProductImageOptimization = (state) => state.sync.productImageOptimization.productImageOptimization;
|
|
927
|
+
export const selectPricingBooleanFields = (state) => state.sync.pricingBooleanFields;
|
|
928
|
+
export const selectPricingStringFields = (state) => state.sync.pricingStringFields;
|
|
929
|
+
export const selectUpdateIpAddresses = (state) => state.sync.updateIpAddresses;
|
|
930
|
+
export const selectLocations = (state) => state.sync.locationsData;
|
|
931
|
+
export default syncSlice.reducer;
|
|
932
|
+
export const setInitialSiteStatus = syncSlice.actions.setInitialSiteStatus;
|
|
933
|
+
export const changeCurrentSite = syncSlice.actions.changeCurrentSite;
|
|
934
|
+
export const setSyncMessage = syncSlice.actions.setSyncMessage;
|
|
935
|
+
export const setSyncMessageTimeout = syncSlice.actions.setSyncMessageTimeout;
|
|
936
|
+
export const setSyncProgressTimeout = syncSlice.actions.setSyncProgressTimeout;
|
|
937
|
+
export const setCustomAttrErrorMessage = syncSlice.actions.setCustomAttrErrorMessage;
|
|
938
|
+
export const setCustomAttributesTemp = syncSlice.actions.setCustomAttributesTemp;
|
|
939
|
+
export const setVariantOptionsTemp = syncSlice.actions.setVariantOptionsTemp;
|
|
940
|
+
export const setProductsAttributeMetafieldsErrorMessage = syncSlice.actions.setProductsAttributeMetafieldsErrorMessage;
|
|
941
|
+
export const setVariantsAttributeMetafieldsErrorMessage = syncSlice.actions.setVariantsAttributeMetafieldsErrorMessage;
|
|
942
|
+
export const setProductsAttributeMetafieldsTemp = syncSlice.actions.setProductsAttributeMetafieldsTemp;
|
|
943
|
+
export const setVariantsAttributeMetafieldsTemp = syncSlice.actions.setVariantsAttributeMetafieldsTemp;
|
|
944
|
+
export const setHideProductsTemp = syncSlice.actions.setHideProductsTemp;
|
|
945
|
+
export const setSiteGroupUserPassword = syncSlice.actions.setSiteGroupUserPassword;
|
|
946
|
+
export const setHowIspSeesProductName = syncSlice.actions.setHowIspSeesProductName;
|
|
947
|
+
export const setEditedRestrictedAdmin = syncSlice.actions.setEditedRestrictedAdmin;
|
|
948
|
+
export const resetEditedRestrictedAdmin = syncSlice.actions.resetEditedRestrictedAdmin;
|
|
949
|
+
export const setRestrictedAdminErrorMessage = syncSlice.actions.setRestrictedAdminErrorMessage;
|
|
950
|
+
export const clearRestrictedAdminErrorMessage = syncSlice.actions.clearRestrictedAdminErrorMessage;
|
|
951
|
+
export const setEditedRestrictedProp = syncSlice.actions.setEditedRestrictedProp;
|
|
952
|
+
export const setCsvUploadFileName = syncSlice.actions.setCsvUploadFileName;
|
|
953
|
+
export const changeCustomCsvBooleanValue = syncSlice.actions.changeCustomCsvBooleanValue;
|
|
954
|
+
export const setCsvUploadTimeout = syncSlice.actions.setCsvUploadTimeout;
|
|
955
|
+
export const setCsvUploadMessage = syncSlice.actions.setCsvUploadMessage;
|
|
956
|
+
export const setCsvUploadStatus = syncSlice.actions.setCsvUploadStatus;
|
|
957
|
+
export const setCsvEncoding = syncSlice.actions.setCsvEncoding;
|
|
958
|
+
export const setIsCsvUploading = syncSlice.actions.setIsCsvUploading;
|
|
959
|
+
export const setCsvTimeToComplete = syncSlice.actions.setCsvTimeToComplete;
|
|
960
|
+
export const setLastProductUpdateDate = syncSlice.actions.setLastProductUpdateDate;
|
|
961
|
+
export const setCatalogLanguage = syncSlice.actions.setCatalogLanguage;
|
|
962
|
+
export const setProductCreationDateSourceValue = syncSlice.actions.setProductCreationDateSourceValue;
|
|
963
|
+
export const setProductCreationDateSourceMetafield = syncSlice.actions.setProductCreationDateSourceMetafield;
|
|
964
|
+
export const setSyncProgressCounter = syncSlice.actions.setSyncProgressCounter;
|
|
965
|
+
export const selectTagManagerProvider = (state) => state.sync.tagManagerProvider;
|
|
966
|
+
//# sourceMappingURL=syncSlice.js.map
|