@fast-simon/dashboard-utilities 1.0.36 → 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 +7 -2
- package/dist/index.js +7 -2
- 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,660 @@
|
|
|
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 { EditorVersion, MerchandisingType } from "./models";
|
|
12
|
+
import { Merchandising } from "../../services/merchandising";
|
|
13
|
+
import { deleteCollectionsMerchandisingRule, fetchCollectionsMerchandising, pushCollectionsRulesToSites, setCollectionsMerchandisingRule, updateShopifyCollection } from "./actions/collectionsActions";
|
|
14
|
+
import { formatCollectionsMerchandisingRule, formatSearchMerchandisingRule } from "./rules";
|
|
15
|
+
import { defaultMerchandisingStrategiesState } from "./models/strategiesModels";
|
|
16
|
+
import { fetchMerchandisingStrategies, fetchStrategyStatus, updateMerchandisingStrategy } from "./actions/strategiesActions";
|
|
17
|
+
import { resetState } from "../store";
|
|
18
|
+
import { defaultEditedRule } from "./models/merchandisingRulesModels";
|
|
19
|
+
import { NoResultsMode } from "./models/noResults";
|
|
20
|
+
import { defaultProductMerchandising } from "./models/productMerchandising";
|
|
21
|
+
import { fetchProductMerchandisingRanked, searchProductMerchandising, updateProductMerchandising } from "./actions/productActions";
|
|
22
|
+
import { defaultPreviewConfig } from "./models/previewConfig";
|
|
23
|
+
import { fetchPreviewConfig } from "./actions/configActions";
|
|
24
|
+
import { rebuildStrategiesGroupOrder } from "../../pages/Merchandising/MerchandisingStrategies/utils";
|
|
25
|
+
import { addBanner, deleteBanner, editBanner, fetchBanners } from "./actions/bannerActions";
|
|
26
|
+
import { getToggledEditorVersionVal } from "../../pages/Merchandising/editor/utils";
|
|
27
|
+
const initialState = {
|
|
28
|
+
searchMerchandising: {
|
|
29
|
+
isLoading: true,
|
|
30
|
+
rules: [],
|
|
31
|
+
editorVersion: EditorVersion.JQUERY,
|
|
32
|
+
isShowUpgrade: false
|
|
33
|
+
},
|
|
34
|
+
merchandisingStrategies: defaultMerchandisingStrategiesState,
|
|
35
|
+
productMerchandising: defaultProductMerchandising,
|
|
36
|
+
geographies: {
|
|
37
|
+
countryCode: "",
|
|
38
|
+
geographies: {}
|
|
39
|
+
},
|
|
40
|
+
merchandisingRules: {
|
|
41
|
+
errorMessage: '',
|
|
42
|
+
rules: [],
|
|
43
|
+
editedRule: defaultEditedRule,
|
|
44
|
+
isOpenEditor: false,
|
|
45
|
+
preview: {
|
|
46
|
+
scope: { type: '', value: '' },
|
|
47
|
+
scopeRules: []
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
collectionsMerchandising: {
|
|
51
|
+
rules: [],
|
|
52
|
+
isWriteProductsShopifyPermission: false,
|
|
53
|
+
editorVersion: EditorVersion.REACT,
|
|
54
|
+
isShowUpgrade: false
|
|
55
|
+
},
|
|
56
|
+
collectionPushedToShopify: null,
|
|
57
|
+
noResults: {
|
|
58
|
+
mode: NoResultsMode.Auto,
|
|
59
|
+
products_ids: [],
|
|
60
|
+
banner_html: ''
|
|
61
|
+
},
|
|
62
|
+
table: {
|
|
63
|
+
collectionsMerchandising: {
|
|
64
|
+
page: 1,
|
|
65
|
+
resultsPerPage: 25,
|
|
66
|
+
query: ""
|
|
67
|
+
},
|
|
68
|
+
searchMerchandising: {
|
|
69
|
+
page: 1,
|
|
70
|
+
resultsPerPage: 25,
|
|
71
|
+
query: ""
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
loading: {
|
|
75
|
+
collectionsMerchandising: {
|
|
76
|
+
rules: true,
|
|
77
|
+
pushingToShopify: false,
|
|
78
|
+
pushToSites: false
|
|
79
|
+
},
|
|
80
|
+
merchandisingRules: {
|
|
81
|
+
rules: false,
|
|
82
|
+
pushToSites: false
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
dataReceived: false,
|
|
86
|
+
previewConfig: defaultPreviewConfig,
|
|
87
|
+
segmentInPreview: "",
|
|
88
|
+
promotiles: [],
|
|
89
|
+
promotilesLoading: false,
|
|
90
|
+
banners: [],
|
|
91
|
+
bannersLoading: false,
|
|
92
|
+
relatedCollections: [],
|
|
93
|
+
editorProductsPerPage: { search: 30, collection: 30 }
|
|
94
|
+
};
|
|
95
|
+
export const fetchPromotiles = createAsyncThunk('merchandising/fetchPromotiles', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
96
|
+
return (yield Merchandising.fetchPromotiles()).data;
|
|
97
|
+
}));
|
|
98
|
+
export const addPromotile = createAsyncThunk('merchandising/addPromotile', (promotile) => __awaiter(void 0, void 0, void 0, function* () {
|
|
99
|
+
return (yield Merchandising.addPromotile(promotile)).data;
|
|
100
|
+
}));
|
|
101
|
+
export const editPromotile = createAsyncThunk('merchandising/editPromotile', (promotile) => __awaiter(void 0, void 0, void 0, function* () {
|
|
102
|
+
return (yield Merchandising.editPromotile(promotile)).data;
|
|
103
|
+
}));
|
|
104
|
+
export const deletePromotile = createAsyncThunk('merchandising/deletePromotile', (id) => __awaiter(void 0, void 0, void 0, function* () {
|
|
105
|
+
return (yield Merchandising.deletePromotile(id)).data;
|
|
106
|
+
}));
|
|
107
|
+
export const fetchMerchandising = createAsyncThunk('merchandising/fetchMerchandising', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
108
|
+
return (yield Merchandising.fetchMerchandising()).data;
|
|
109
|
+
}));
|
|
110
|
+
export const fetchSearchMerchandising = createAsyncThunk('merchandising/fetchSearchMerchandising', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
111
|
+
return (yield Merchandising.fetchSearchMerchandising()).data;
|
|
112
|
+
}));
|
|
113
|
+
export const fetchGeographies = createAsyncThunk('merchandising/fetchGeographies', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
114
|
+
return (yield Merchandising.fetchGeographies()).data;
|
|
115
|
+
}));
|
|
116
|
+
export const uploadSearchMerchandisingRules = createAsyncThunk('merchandising/uploadSearchMerchandisingRules', ({ rules, ruleIndex }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
117
|
+
return (yield Merchandising.uploadSearchMerchandisingRules(rules, ruleIndex)).data;
|
|
118
|
+
}));
|
|
119
|
+
export const resetVariationMerchandisingRules = createAsyncThunk('merchandising/resetVariationMerchandisingRules', (variation_id) => __awaiter(void 0, void 0, void 0, function* () {
|
|
120
|
+
return (yield Merchandising.resetVariationMerchandisingRules(variation_id)).data;
|
|
121
|
+
}));
|
|
122
|
+
export const clearVariationMerchandisingRules = createAsyncThunk('merchandising/clearVariationMerchandisingRules', (variation_id) => __awaiter(void 0, void 0, void 0, function* () {
|
|
123
|
+
return (yield Merchandising.clearVariationMerchandisingRules(variation_id)).data;
|
|
124
|
+
}));
|
|
125
|
+
export const fetchMerchandisingRulesRules = createAsyncThunk('merchandising/fetchMerchandisingRulesRules', (variation_id) => __awaiter(void 0, void 0, void 0, function* () {
|
|
126
|
+
return (yield Merchandising.fetchMerchandisingRulesRules(variation_id)).data;
|
|
127
|
+
}));
|
|
128
|
+
export const uploadMerchRulesRules = createAsyncThunk('merchandising/uploadMerchandisingRulesRules', ({ rules, oldRules, variation_id }, { rejectWithValue }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
129
|
+
try {
|
|
130
|
+
const data = (yield Merchandising.uploadMerchandisingRulesRules(rules, variation_id)).data;
|
|
131
|
+
if (!data.success) {
|
|
132
|
+
console.error('Failed to save rule.');
|
|
133
|
+
}
|
|
134
|
+
return data;
|
|
135
|
+
}
|
|
136
|
+
catch (error) {
|
|
137
|
+
console.error(error);
|
|
138
|
+
return rejectWithValue(null);
|
|
139
|
+
}
|
|
140
|
+
}));
|
|
141
|
+
export const getProductsPerPage = createAsyncThunk('merchandising/getProductsPerPage', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
142
|
+
return (yield Merchandising.getProductsPerPage()).data;
|
|
143
|
+
}));
|
|
144
|
+
/**
|
|
145
|
+
* Removes pinned products that have negative indexes or that are in the promoted region.
|
|
146
|
+
* @param pinned
|
|
147
|
+
* @param promoted
|
|
148
|
+
*/
|
|
149
|
+
export function fixPinnedProducts(pinned, promoted) {
|
|
150
|
+
return pinned.filter(([index]) => index >= promoted.length);
|
|
151
|
+
}
|
|
152
|
+
export const fetchNoResultsConfig = createAsyncThunk('merchandising/fetchNoResultsConfig', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
153
|
+
return (yield Merchandising.fetchNoResultsConfig()).data;
|
|
154
|
+
}));
|
|
155
|
+
export const setNoResultsMerchandisingMode = createAsyncThunk('merchandising/setNoResultsMerchandisingMode', (mode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
156
|
+
return (yield Merchandising.setNoResultsMerchandisingMode(mode)).data;
|
|
157
|
+
}));
|
|
158
|
+
export const setNoResultsMerchandisingRule = createAsyncThunk('merchandising/setNoResultsMerchandisingRule', ({ productsIds, bannerHtml }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
159
|
+
return (yield Merchandising.setNoResultsMerchandisingRule(productsIds, bannerHtml)).data;
|
|
160
|
+
}));
|
|
161
|
+
export const pushMerchandisingRulesToSites = createAsyncThunk('merchandising/pushMerchandisingRulesToSites', ({ sites }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
162
|
+
return (yield Merchandising.pushMerchandisingRulesToSites(sites)).data;
|
|
163
|
+
}));
|
|
164
|
+
export const toggleEditorVersion = createAsyncThunk('merchandising/toggleEditorVersion', ({ merchType, version }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
165
|
+
return (yield Merchandising.toggleEditorVersion(merchType, version)).data;
|
|
166
|
+
}));
|
|
167
|
+
const merchandisingSlice = createSlice({
|
|
168
|
+
name: 'merchandising',
|
|
169
|
+
initialState,
|
|
170
|
+
reducers: {
|
|
171
|
+
setMerchRulesEditedRule: (state, action) => {
|
|
172
|
+
state.merchandisingRules.editedRule = action.payload;
|
|
173
|
+
},
|
|
174
|
+
setMerchandisingRulesEditedIndex: (state, action) => {
|
|
175
|
+
state.merchandisingRules.editedRule.index = action.payload;
|
|
176
|
+
},
|
|
177
|
+
setMerchRulesIsSearchContext: (state, action) => {
|
|
178
|
+
state.merchandisingRules.editedRule.isSearchContext = action.payload;
|
|
179
|
+
},
|
|
180
|
+
setMerchRulesIsAllQueries: (state, action) => {
|
|
181
|
+
state.merchandisingRules.editedRule.isAllQueries = action.payload;
|
|
182
|
+
},
|
|
183
|
+
setMerchRulesSearchContextValues: (state, action) => {
|
|
184
|
+
state.merchandisingRules.editedRule.searchContextValues = action.payload;
|
|
185
|
+
},
|
|
186
|
+
setMerchRulesIsCategoriesContext: (state, action) => {
|
|
187
|
+
state.merchandisingRules.editedRule.isCategoriesContext = action.payload;
|
|
188
|
+
},
|
|
189
|
+
setMerchRulesIsAllCategories: (state, action) => {
|
|
190
|
+
state.merchandisingRules.editedRule.isAllCategories = action.payload;
|
|
191
|
+
},
|
|
192
|
+
setMerchRulesCategoriesContextValues: (state, action) => {
|
|
193
|
+
state.merchandisingRules.editedRule.categoriesContextValues = action.payload;
|
|
194
|
+
},
|
|
195
|
+
setMerchRulesRuleType: (state, action) => {
|
|
196
|
+
state.merchandisingRules.editedRule.type = action.payload;
|
|
197
|
+
},
|
|
198
|
+
setMerchRulesAction: (state, action) => {
|
|
199
|
+
state.merchandisingRules.editedRule.action = action.payload;
|
|
200
|
+
},
|
|
201
|
+
setMerchRulesPromotionLevel: (state, action) => {
|
|
202
|
+
state.merchandisingRules.editedRule.promotionLevel = action.payload;
|
|
203
|
+
},
|
|
204
|
+
setMerchRulesSegments: (state, action) => {
|
|
205
|
+
state.merchandisingRules.editedRule.segments = action.payload;
|
|
206
|
+
},
|
|
207
|
+
setMerchRulesErrorMessage: (state, action) => {
|
|
208
|
+
state.merchandisingRules.errorMessage = action.payload;
|
|
209
|
+
},
|
|
210
|
+
setMerchRulesPreviewScope: (state, action) => {
|
|
211
|
+
state.merchandisingRules.preview.scope = action.payload;
|
|
212
|
+
},
|
|
213
|
+
setMerchRulesPreviewScopeRules: (state, action) => {
|
|
214
|
+
state.merchandisingRules.preview.scopeRules = action.payload;
|
|
215
|
+
},
|
|
216
|
+
toggleDataReceived: (state, action) => {
|
|
217
|
+
state.dataReceived = action.payload;
|
|
218
|
+
},
|
|
219
|
+
setCollectionTablePage: (state, action) => {
|
|
220
|
+
state.table.collectionsMerchandising.page = action.payload;
|
|
221
|
+
},
|
|
222
|
+
setCollectionTableResultsPerPage: (state, action) => {
|
|
223
|
+
state.table.collectionsMerchandising.resultsPerPage = action.payload;
|
|
224
|
+
},
|
|
225
|
+
setCollectionTableQuery: (state, action) => {
|
|
226
|
+
state.table.collectionsMerchandising.query = action.payload;
|
|
227
|
+
},
|
|
228
|
+
resetCollectionTable: (state) => {
|
|
229
|
+
state.table.collectionsMerchandising = initialState.table.collectionsMerchandising;
|
|
230
|
+
},
|
|
231
|
+
setSearchTablePage: (state, action) => {
|
|
232
|
+
state.table.searchMerchandising.page = action.payload;
|
|
233
|
+
},
|
|
234
|
+
setSearchTableResultsPerPage: (state, action) => {
|
|
235
|
+
state.table.searchMerchandising.resultsPerPage = action.payload;
|
|
236
|
+
},
|
|
237
|
+
setSearchTableQuery: (state, action) => {
|
|
238
|
+
state.table.searchMerchandising.query = action.payload;
|
|
239
|
+
},
|
|
240
|
+
resetSearchTable: (state) => {
|
|
241
|
+
state.table.searchMerchandising = initialState.table.searchMerchandising;
|
|
242
|
+
},
|
|
243
|
+
setSegmentInPreview: (state, action) => {
|
|
244
|
+
state.segmentInPreview = action.payload;
|
|
245
|
+
},
|
|
246
|
+
setIsShowEditorUpgrade: (state, action) => {
|
|
247
|
+
if (action.payload.merchType === MerchandisingType.COLLECTIONS) {
|
|
248
|
+
state.collectionsMerchandising.isShowUpgrade = action.payload.value;
|
|
249
|
+
}
|
|
250
|
+
else if (action.payload.merchType === MerchandisingType.SEARCH) {
|
|
251
|
+
state.searchMerchandising.isShowUpgrade = action.payload.value;
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
setEditorVersion: (state, action) => {
|
|
255
|
+
setEditorVersionState(state, action.payload.merchType, action.payload.version);
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
extraReducers: builder => {
|
|
259
|
+
builder.addCase(resetState, () => initialState);
|
|
260
|
+
builder.addCase(fetchPromotiles.pending, (state, action) => {
|
|
261
|
+
state.promotilesLoading = true;
|
|
262
|
+
});
|
|
263
|
+
builder.addCase(fetchPromotiles.fulfilled, (state, action) => {
|
|
264
|
+
state.promotiles = action.payload.promotiles;
|
|
265
|
+
state.promotilesLoading = false;
|
|
266
|
+
});
|
|
267
|
+
builder.addCase(addPromotile.pending, (state, action) => {
|
|
268
|
+
state.promotiles = [...state.promotiles, action.meta.arg];
|
|
269
|
+
});
|
|
270
|
+
builder.addCase(addPromotile.fulfilled, (state, action) => {
|
|
271
|
+
const promotileId = state.promotiles.findIndex((promotile) => promotile.id === "");
|
|
272
|
+
state.promotiles[promotileId].id = action.payload.id;
|
|
273
|
+
});
|
|
274
|
+
builder.addCase(editPromotile.pending, (state, action) => {
|
|
275
|
+
const promotileId = state.promotiles.findIndex((promotile) => promotile.id === action.meta.arg.id);
|
|
276
|
+
state.promotiles[promotileId] = action.meta.arg;
|
|
277
|
+
});
|
|
278
|
+
builder.addCase(deletePromotile.pending, (state, action) => {
|
|
279
|
+
state.promotiles = state.promotiles.filter((promotile) => promotile.id !== action.meta.arg);
|
|
280
|
+
});
|
|
281
|
+
builder.addCase(fetchMerchandising.fulfilled, (state, action) => {
|
|
282
|
+
//not in use
|
|
283
|
+
});
|
|
284
|
+
builder.addCase(fetchSearchMerchandising.fulfilled, (state, action) => {
|
|
285
|
+
state.searchMerchandising = {
|
|
286
|
+
rules: action.payload.rules.map(rule => formatSearchMerchandisingRule(rule)),
|
|
287
|
+
editorVersion: action.payload.editorVersion,
|
|
288
|
+
isShowUpgrade: action.payload.isShowUpgrade,
|
|
289
|
+
isLoading: false
|
|
290
|
+
};
|
|
291
|
+
});
|
|
292
|
+
builder.addCase(fetchMerchandisingStrategies.pending, (state, action) => {
|
|
293
|
+
state.merchandisingStrategies.status = "loading";
|
|
294
|
+
});
|
|
295
|
+
builder.addCase(fetchMerchandisingStrategies.rejected, (state, action) => {
|
|
296
|
+
state.merchandisingStrategies.status = "error";
|
|
297
|
+
});
|
|
298
|
+
builder.addCase(fetchMerchandisingStrategies.fulfilled, (state, action) => {
|
|
299
|
+
const strategies = rebuildStrategiesGroupOrder(action.payload.strategies);
|
|
300
|
+
state.merchandisingStrategies = {
|
|
301
|
+
status: "fulfilled",
|
|
302
|
+
strategies: strategies
|
|
303
|
+
};
|
|
304
|
+
});
|
|
305
|
+
builder.addCase(updateMerchandisingStrategy.pending, (state, action) => {
|
|
306
|
+
let { strategy, key } = action.meta.arg;
|
|
307
|
+
if (action.meta.arg.action === "add") {
|
|
308
|
+
strategy.status = "saving";
|
|
309
|
+
state.merchandisingStrategies.strategies.push(strategy);
|
|
310
|
+
}
|
|
311
|
+
else if (action.meta.arg.action === "delete") {
|
|
312
|
+
state.merchandisingStrategies.strategies = state.merchandisingStrategies.strategies.filter(s => s.key !== key);
|
|
313
|
+
}
|
|
314
|
+
else if (action.meta.arg.action === "change") {
|
|
315
|
+
strategy.status = "updating";
|
|
316
|
+
state.merchandisingStrategies.strategies = state.merchandisingStrategies.strategies.map(s => {
|
|
317
|
+
if (key === s.key) {
|
|
318
|
+
return strategy;
|
|
319
|
+
}
|
|
320
|
+
return s;
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
builder.addCase(updateMerchandisingStrategy.rejected, (state, action) => {
|
|
325
|
+
if (action.meta.arg.action === "add") {
|
|
326
|
+
state.merchandisingStrategies.strategies = state.merchandisingStrategies.strategies.map(s => {
|
|
327
|
+
if (!s.key) {
|
|
328
|
+
s.status = "error";
|
|
329
|
+
}
|
|
330
|
+
return s;
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
builder.addCase(updateMerchandisingStrategy.fulfilled, (state, action) => {
|
|
335
|
+
state.merchandisingStrategies.strategies = state.merchandisingStrategies.strategies.map(s => {
|
|
336
|
+
if (!s.key) {
|
|
337
|
+
s.key = action.payload;
|
|
338
|
+
}
|
|
339
|
+
return s;
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
builder.addCase(fetchStrategyStatus.fulfilled, (state, action) => {
|
|
343
|
+
const strategyKey = action.meta.arg.key;
|
|
344
|
+
state.merchandisingStrategies.strategies = state.merchandisingStrategies.strategies.map(s => {
|
|
345
|
+
if (s.key === strategyKey) {
|
|
346
|
+
s.status = action.payload.status ? "ready" : s.status;
|
|
347
|
+
}
|
|
348
|
+
return s;
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
builder.addCase(fetchGeographies.fulfilled, (state, action) => {
|
|
352
|
+
state.geographies = action.payload;
|
|
353
|
+
});
|
|
354
|
+
builder.addCase(fetchMerchandisingRulesRules.pending, (state, action) => {
|
|
355
|
+
state.loading.merchandisingRules.rules = true;
|
|
356
|
+
state.merchandisingRules.errorMessage = '';
|
|
357
|
+
});
|
|
358
|
+
builder.addCase(fetchMerchandisingRulesRules.rejected, (state, action) => {
|
|
359
|
+
state.loading.merchandisingRules.rules = false;
|
|
360
|
+
});
|
|
361
|
+
builder.addCase(fetchMerchandisingRulesRules.fulfilled, (state, action) => {
|
|
362
|
+
state.loading.merchandisingRules.rules = false;
|
|
363
|
+
if (action.payload.success) {
|
|
364
|
+
state.merchandisingRules.rules = action.payload.rules;
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
builder.addCase(uploadMerchRulesRules.pending, (state, action) => {
|
|
368
|
+
state.merchandisingRules.errorMessage = '';
|
|
369
|
+
state.merchandisingRules.rules = action.meta.arg.rules;
|
|
370
|
+
});
|
|
371
|
+
builder.addCase(uploadMerchRulesRules.rejected, (state, action) => {
|
|
372
|
+
state.merchandisingRules.errorMessage =
|
|
373
|
+
'There was an error while saving the rule, please try again.';
|
|
374
|
+
state.merchandisingRules.rules = action.meta.arg.oldRules;
|
|
375
|
+
});
|
|
376
|
+
builder.addCase(uploadMerchRulesRules.fulfilled, (state, action) => {
|
|
377
|
+
if (action.payload.success === false) {
|
|
378
|
+
state.merchandisingRules.errorMessage =
|
|
379
|
+
'There was an error while saving the rule, please try again.';
|
|
380
|
+
state.merchandisingRules.rules = action.meta.arg.oldRules;
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
builder.addCase(resetVariationMerchandisingRules.pending, (state, action) => {
|
|
384
|
+
state.loading.merchandisingRules.rules = true;
|
|
385
|
+
});
|
|
386
|
+
builder.addCase(resetVariationMerchandisingRules.rejected, (state, action) => {
|
|
387
|
+
});
|
|
388
|
+
builder.addCase(resetVariationMerchandisingRules.fulfilled, (state, action) => {
|
|
389
|
+
state.merchandisingRules.rules = action.payload.rules;
|
|
390
|
+
state.loading.merchandisingRules.rules = false;
|
|
391
|
+
});
|
|
392
|
+
builder.addCase(clearVariationMerchandisingRules.pending, (state, action) => {
|
|
393
|
+
state.loading.merchandisingRules.rules = true;
|
|
394
|
+
});
|
|
395
|
+
builder.addCase(clearVariationMerchandisingRules.fulfilled, (state, action) => {
|
|
396
|
+
state.merchandisingRules.rules = [];
|
|
397
|
+
state.loading.merchandisingRules.rules = false;
|
|
398
|
+
});
|
|
399
|
+
builder.addCase(uploadSearchMerchandisingRules.pending, (state, action) => {
|
|
400
|
+
state.searchMerchandising.rules = action.meta.arg.rules;
|
|
401
|
+
});
|
|
402
|
+
builder.addCase(uploadSearchMerchandisingRules.fulfilled, (state, action) => {
|
|
403
|
+
state.searchMerchandising.rules = action.payload.rules.map(rule => (Object.assign(Object.assign({}, rule), { isNew: false })));
|
|
404
|
+
});
|
|
405
|
+
builder.addCase(fetchCollectionsMerchandising.pending, state => {
|
|
406
|
+
state.loading.collectionsMerchandising.rules = true;
|
|
407
|
+
});
|
|
408
|
+
builder.addCase(fetchCollectionsMerchandising.fulfilled, (state, action) => {
|
|
409
|
+
const rules = action.payload.rules;
|
|
410
|
+
state.collectionsMerchandising.rules =
|
|
411
|
+
rules.map(rule => formatCollectionsMerchandisingRule(rule));
|
|
412
|
+
state.collectionsMerchandising.editorVersion = action.payload.editorVersion;
|
|
413
|
+
state.collectionsMerchandising.isShowUpgrade = action.payload.isShowUpgrade;
|
|
414
|
+
state.collectionsMerchandising.isWriteProductsShopifyPermission =
|
|
415
|
+
action.payload.isWriteProductsShopifyPermission;
|
|
416
|
+
state.loading.collectionsMerchandising.rules = false;
|
|
417
|
+
});
|
|
418
|
+
builder.addCase(setCollectionsMerchandisingRule.pending, (state, action) => {
|
|
419
|
+
var _a, _b;
|
|
420
|
+
const newRule = {
|
|
421
|
+
ruleInput: action.meta.arg.rule.ruleInput,
|
|
422
|
+
promoted: action.meta.arg.rule.promoted,
|
|
423
|
+
buried: action.meta.arg.rule.buried,
|
|
424
|
+
hidden: action.meta.arg.rule.hidden,
|
|
425
|
+
pinned: action.meta.arg.rule.pinned.map(([index, id]) => [index, id.toString()]),
|
|
426
|
+
promotiles: (_a = action.meta.arg.rule.promotiles) !== null && _a !== void 0 ? _a : {},
|
|
427
|
+
start_time: action.meta.arg.rule.start_time,
|
|
428
|
+
end_time: action.meta.arg.rule.end_time,
|
|
429
|
+
description: action.meta.arg.rule.description,
|
|
430
|
+
geos: action.meta.arg.rule.geos,
|
|
431
|
+
banner_html: action.meta.arg.rule.banner_html,
|
|
432
|
+
banner_html_mobile: action.meta.arg.rule.banner_html_mobile,
|
|
433
|
+
last_modified: null,
|
|
434
|
+
isNew: true,
|
|
435
|
+
id: action.meta.arg.rule.id,
|
|
436
|
+
relatedCollections: action.meta.arg.rule.relatedCollections,
|
|
437
|
+
selectedBannerId: (_b = action.meta.arg.rule.selectedBannerId) !== null && _b !== void 0 ? _b : '',
|
|
438
|
+
};
|
|
439
|
+
const rules = state.collectionsMerchandising.rules;
|
|
440
|
+
const existingRuleIndex = rules.findIndex(rule => rule.id === newRule.id);
|
|
441
|
+
if (existingRuleIndex !== -1) {
|
|
442
|
+
state.collectionsMerchandising.rules[existingRuleIndex] = newRule;
|
|
443
|
+
}
|
|
444
|
+
else {
|
|
445
|
+
state.collectionsMerchandising.rules.push(newRule);
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
builder.addCase(setCollectionsMerchandisingRule.fulfilled, (state, action) => {
|
|
449
|
+
state.collectionsMerchandising.rules =
|
|
450
|
+
state.collectionsMerchandising.rules.map(rule => {
|
|
451
|
+
if (!rule.isNew) {
|
|
452
|
+
return rule;
|
|
453
|
+
}
|
|
454
|
+
return Object.assign(Object.assign({}, rule), { isNew: false, id: action.payload.id });
|
|
455
|
+
});
|
|
456
|
+
});
|
|
457
|
+
builder.addCase(setCollectionsMerchandisingRule.rejected, (state) => {
|
|
458
|
+
state.collectionsMerchandising.rules =
|
|
459
|
+
state.collectionsMerchandising.rules.map(rule => {
|
|
460
|
+
return Object.assign(Object.assign({}, rule), { isNew: false });
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
builder.addCase(deleteCollectionsMerchandisingRule.pending, (state, action) => {
|
|
464
|
+
state.collectionsMerchandising.rules =
|
|
465
|
+
state.collectionsMerchandising.rules.filter(rule => rule.id !== action.meta.arg.ruleId);
|
|
466
|
+
});
|
|
467
|
+
builder.addCase(updateShopifyCollection.pending, (state, action) => {
|
|
468
|
+
state.loading.collectionsMerchandising.pushingToShopify = true;
|
|
469
|
+
state.collectionPushedToShopify = action.meta.arg;
|
|
470
|
+
});
|
|
471
|
+
builder.addCase(updateShopifyCollection.fulfilled, (state, action) => {
|
|
472
|
+
state.loading.collectionsMerchandising.pushingToShopify = false;
|
|
473
|
+
state.collectionPushedToShopify = null;
|
|
474
|
+
});
|
|
475
|
+
builder.addCase(updateShopifyCollection.rejected, (state, action) => {
|
|
476
|
+
state.loading.collectionsMerchandising.pushingToShopify = false;
|
|
477
|
+
state.collectionPushedToShopify = null;
|
|
478
|
+
});
|
|
479
|
+
builder.addCase(pushCollectionsRulesToSites.pending, (state) => {
|
|
480
|
+
state.loading.collectionsMerchandising.pushToSites = true;
|
|
481
|
+
});
|
|
482
|
+
builder.addCase(pushCollectionsRulesToSites.fulfilled, (state) => {
|
|
483
|
+
state.loading.collectionsMerchandising.pushToSites = false;
|
|
484
|
+
});
|
|
485
|
+
builder.addCase(pushCollectionsRulesToSites.rejected, (state) => {
|
|
486
|
+
state.loading.collectionsMerchandising.pushToSites = false;
|
|
487
|
+
});
|
|
488
|
+
builder.addCase(pushMerchandisingRulesToSites.pending, (state) => {
|
|
489
|
+
state.loading.merchandisingRules.pushToSites = true;
|
|
490
|
+
state.loading.merchandisingRules.rules = true;
|
|
491
|
+
});
|
|
492
|
+
builder.addCase(pushMerchandisingRulesToSites.fulfilled, (state, action) => {
|
|
493
|
+
state.loading.merchandisingRules.pushToSites = false;
|
|
494
|
+
state.loading.merchandisingRules.rules = false;
|
|
495
|
+
if (action.payload.success) {
|
|
496
|
+
state.merchandisingRules.rules = action.payload.rules;
|
|
497
|
+
}
|
|
498
|
+
});
|
|
499
|
+
builder.addCase(pushMerchandisingRulesToSites.rejected, (state) => {
|
|
500
|
+
state.loading.merchandisingRules.pushToSites = false;
|
|
501
|
+
state.loading.merchandisingRules.rules = false;
|
|
502
|
+
});
|
|
503
|
+
builder.addCase(fetchNoResultsConfig.fulfilled, (state, action) => {
|
|
504
|
+
state.noResults.mode = action.payload.mode;
|
|
505
|
+
state.noResults.products_ids = action.payload.data.products_ids;
|
|
506
|
+
state.noResults.banner_html = action.payload.data.banner_html;
|
|
507
|
+
});
|
|
508
|
+
builder.addCase(setNoResultsMerchandisingMode.pending, (state, action) => {
|
|
509
|
+
state.noResults.mode = action.meta.arg;
|
|
510
|
+
});
|
|
511
|
+
builder.addCase(setNoResultsMerchandisingRule.pending, (state, action) => {
|
|
512
|
+
state.noResults.products_ids = action.meta.arg.productsIds;
|
|
513
|
+
state.noResults.banner_html = action.meta.arg.bannerHtml;
|
|
514
|
+
});
|
|
515
|
+
builder.addCase(setNoResultsMerchandisingMode.rejected, (state, action) => {
|
|
516
|
+
state.noResults.mode = action.meta.arg === NoResultsMode.Auto ? NoResultsMode.Manual : NoResultsMode.Auto;
|
|
517
|
+
});
|
|
518
|
+
builder.addCase(fetchProductMerchandisingRanked.fulfilled, (state, action) => {
|
|
519
|
+
state.productMerchandising.productRanking = action.payload;
|
|
520
|
+
state.productMerchandising.isLoading.ranked = false;
|
|
521
|
+
});
|
|
522
|
+
builder.addCase(searchProductMerchandising.pending, (state, action) => {
|
|
523
|
+
state.productMerchandising.query = action.meta.arg.query;
|
|
524
|
+
state.productMerchandising.isLoading.search = true;
|
|
525
|
+
});
|
|
526
|
+
builder.addCase(searchProductMerchandising.fulfilled, (state, action) => {
|
|
527
|
+
state.productMerchandising.searchProducts = action.payload;
|
|
528
|
+
state.productMerchandising.isLoading.search = false;
|
|
529
|
+
});
|
|
530
|
+
builder.addCase(fetchPreviewConfig.fulfilled, (state, action) => {
|
|
531
|
+
state.previewConfig = Object.assign(Object.assign({}, action.payload), { isLoading: false });
|
|
532
|
+
});
|
|
533
|
+
builder.addCase(updateProductMerchandising.pending, (state, action) => {
|
|
534
|
+
const { source, product } = action.meta.arg;
|
|
535
|
+
if (source === "ranking") {
|
|
536
|
+
if (product.ranking !== 0) {
|
|
537
|
+
// update ranking for a product inside the current group
|
|
538
|
+
state.productMerchandising.productRanking = state.productMerchandising.productRanking.map(p => {
|
|
539
|
+
if (p.id === product.id) {
|
|
540
|
+
return product;
|
|
541
|
+
}
|
|
542
|
+
return p;
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
else {
|
|
546
|
+
state.productMerchandising.productRanking = state.productMerchandising.productRanking.filter(p => p.id !== product.id);
|
|
547
|
+
}
|
|
548
|
+
// id might be in search product as well
|
|
549
|
+
state.productMerchandising.searchProducts = state.productMerchandising.searchProducts.map(p => {
|
|
550
|
+
if (p.id === product.id) {
|
|
551
|
+
return product;
|
|
552
|
+
}
|
|
553
|
+
return p;
|
|
554
|
+
});
|
|
555
|
+
}
|
|
556
|
+
else {
|
|
557
|
+
if (product.ranking !== 0) {
|
|
558
|
+
// move to current group and remove from search group
|
|
559
|
+
state.productMerchandising.productRanking.unshift(product);
|
|
560
|
+
state.productMerchandising.searchProducts = state.productMerchandising.searchProducts.filter(p => p.id !== product.id);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
builder.addCase(toggleEditorVersion.pending, (state, action) => {
|
|
565
|
+
setEditorVersionState(state, action.meta.arg.merchType, action.meta.arg.version);
|
|
566
|
+
});
|
|
567
|
+
builder.addCase(toggleEditorVersion.rejected, (state, action) => {
|
|
568
|
+
const toggledVersion = getToggledEditorVersionVal(action.meta.arg.version);
|
|
569
|
+
setEditorVersionState(state, action.meta.arg.merchType, toggledVersion);
|
|
570
|
+
});
|
|
571
|
+
builder.addCase(fetchBanners.pending, (state, action) => {
|
|
572
|
+
state.bannersLoading = true;
|
|
573
|
+
});
|
|
574
|
+
builder.addCase(fetchBanners.fulfilled, (state, action) => {
|
|
575
|
+
state.banners = action.payload.banners;
|
|
576
|
+
state.bannersLoading = false;
|
|
577
|
+
});
|
|
578
|
+
builder.addCase(addBanner.pending, (state, action) => {
|
|
579
|
+
state.banners = [...state.banners, action.meta.arg];
|
|
580
|
+
});
|
|
581
|
+
builder.addCase(editBanner.pending, (state, action) => {
|
|
582
|
+
});
|
|
583
|
+
builder.addCase(deleteBanner.pending, (state, action) => {
|
|
584
|
+
state.banners = state.banners.filter((banner) => banner.id !== action.meta.arg);
|
|
585
|
+
});
|
|
586
|
+
builder.addCase(getProductsPerPage.fulfilled, (state, action) => {
|
|
587
|
+
state.editorProductsPerPage = action.payload.products_per_page;
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
});
|
|
591
|
+
export const selectPromotiles = (state) => ({
|
|
592
|
+
promotiles: state.merchandising.promotiles,
|
|
593
|
+
isLoading: state.merchandising.promotilesLoading
|
|
594
|
+
});
|
|
595
|
+
export const selectSearchMerchandisingRules = (state) => state.merchandising.searchMerchandising;
|
|
596
|
+
export const selectMerchandisingStrategies = (state) => state.merchandising.merchandisingStrategies;
|
|
597
|
+
export const selectGeographies = (state) => state.merchandising.geographies;
|
|
598
|
+
export const selectMerchandisingRules = (state) => state.merchandising.merchandisingRules;
|
|
599
|
+
export const selectCollectionsMerchandising = (state) => state.merchandising.collectionsMerchandising;
|
|
600
|
+
export const selectMerchandisingLoading = (state) => state.merchandising.loading;
|
|
601
|
+
export const selectCollectionPushedToShopify = (state) => state.merchandising.collectionPushedToShopify;
|
|
602
|
+
export const selectNoResultsMode = (state) => state.merchandising.noResults.mode;
|
|
603
|
+
export const selectNoResultsProducts = (state) => state.merchandising.noResults.products_ids;
|
|
604
|
+
export const selectNoResultsBanner = (state) => state.merchandising.noResults.banner_html;
|
|
605
|
+
export const selectProductMerchandising = (state) => state.merchandising.productMerchandising;
|
|
606
|
+
export const selectIsDataReceivedMerch = (state) => state.merchandising.dataReceived;
|
|
607
|
+
export const selectMerchandisingPreviewConfig = (state) => state.merchandising.previewConfig;
|
|
608
|
+
export const selectMerchandisingCollectionTable = (state) => state.merchandising.table.collectionsMerchandising;
|
|
609
|
+
export const selectMerchandisingSearchTable = (state) => state.merchandising.table.searchMerchandising;
|
|
610
|
+
export const selectMerchRulesEditedRuleSegments = (state) => state.merchandising.merchandisingRules.editedRule.segments;
|
|
611
|
+
export const selectSegmentInPreview = (state) => state.merchandising.segmentInPreview;
|
|
612
|
+
export const selectCollectionsEditorVersion = (state) => state.merchandising.collectionsMerchandising.editorVersion;
|
|
613
|
+
export const selectSearchEditorVersion = (state) => state.merchandising.searchMerchandising.editorVersion;
|
|
614
|
+
export const selectIsShowCollectionsEditorUpgrade = (state) => state.merchandising.collectionsMerchandising.isShowUpgrade;
|
|
615
|
+
export const selectIsShowSearchEditorUpgrade = (state) => state.merchandising.searchMerchandising.isShowUpgrade;
|
|
616
|
+
export const selectProductsPerPage = (state) => state.merchandising.editorProductsPerPage;
|
|
617
|
+
export const selectBanners = (state) => ({
|
|
618
|
+
banners: state.merchandising.banners,
|
|
619
|
+
isLoading: state.merchandising.bannersLoading
|
|
620
|
+
});
|
|
621
|
+
export const setMerchRulesIsSearchContext = merchandisingSlice.actions.setMerchRulesIsSearchContext;
|
|
622
|
+
export const setMerchRulesIsAllQueries = merchandisingSlice.actions.setMerchRulesIsAllQueries;
|
|
623
|
+
export const setMerchRulesSearchContextValues = merchandisingSlice.actions.setMerchRulesSearchContextValues;
|
|
624
|
+
export const setMerchRulesIsCategoriesContext = merchandisingSlice.actions.setMerchRulesIsCategoriesContext;
|
|
625
|
+
export const setMerchRulesIsAllCategories = merchandisingSlice.actions.setMerchRulesIsAllCategories;
|
|
626
|
+
export const setMerchRulesCategoriesContextValues = merchandisingSlice.actions.setMerchRulesCategoriesContextValues;
|
|
627
|
+
export const setMerchRulesRuleType = merchandisingSlice.actions.setMerchRulesRuleType;
|
|
628
|
+
export const setMerchRulesEditedRule = merchandisingSlice.actions.setMerchRulesEditedRule;
|
|
629
|
+
export const setMerchRulesAction = merchandisingSlice.actions.setMerchRulesAction;
|
|
630
|
+
export const setMerchRulesPromotionLevel = merchandisingSlice.actions.setMerchRulesPromotionLevel;
|
|
631
|
+
export const setMerchRulesSegments = merchandisingSlice.actions.setMerchRulesSegments;
|
|
632
|
+
export const setMerchRulesErrorMessage = merchandisingSlice.actions.setMerchRulesErrorMessage;
|
|
633
|
+
export const setMerchRulesPreviewScope = merchandisingSlice.actions.setMerchRulesPreviewScope;
|
|
634
|
+
export const setMerchRulesPreviewScopeRules = merchandisingSlice.actions.setMerchRulesPreviewScopeRules;
|
|
635
|
+
export const setMerchDataReceived = merchandisingSlice.actions.toggleDataReceived;
|
|
636
|
+
export const setIsShowEditorUpgrade = merchandisingSlice.actions.setIsShowEditorUpgrade;
|
|
637
|
+
export const setEditorVersion = merchandisingSlice.actions.setEditorVersion;
|
|
638
|
+
export const setMerchCollectionTable = {
|
|
639
|
+
setPage: merchandisingSlice.actions.setCollectionTablePage,
|
|
640
|
+
setResultPerPage: merchandisingSlice.actions.setCollectionTableResultsPerPage,
|
|
641
|
+
setQuery: merchandisingSlice.actions.setCollectionTableQuery,
|
|
642
|
+
reset: merchandisingSlice.actions.resetCollectionTable
|
|
643
|
+
};
|
|
644
|
+
export const setMerchSearchTable = {
|
|
645
|
+
setPage: merchandisingSlice.actions.setSearchTablePage,
|
|
646
|
+
setResultPerPage: merchandisingSlice.actions.setSearchTableResultsPerPage,
|
|
647
|
+
setQuery: merchandisingSlice.actions.setSearchTableQuery,
|
|
648
|
+
reset: merchandisingSlice.actions.resetSearchTable,
|
|
649
|
+
};
|
|
650
|
+
function setEditorVersionState(state, merchType, version) {
|
|
651
|
+
if (merchType === MerchandisingType.COLLECTIONS) {
|
|
652
|
+
state.collectionsMerchandising.editorVersion = version;
|
|
653
|
+
}
|
|
654
|
+
else if (merchType === MerchandisingType.SEARCH) {
|
|
655
|
+
state.searchMerchandising.editorVersion = version;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
export const setSegmentInPreview = merchandisingSlice.actions.setSegmentInPreview;
|
|
659
|
+
export default merchandisingSlice.reducer;
|
|
660
|
+
//# sourceMappingURL=merchandisingSlice.js.map
|