@fast-simon/dashboard-utilities 1.0.37 → 1.0.39
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/@types/categories.d.ts +1 -0
- package/dist/@types/categories.js.map +1 -1
- package/dist/@types/sortBy.d.ts +1 -1
- package/dist/@types/sortBy.js.map +1 -1
- package/dist/components/FastSimonApi/FastSimonApi.js +10 -2
- package/dist/components/FastSimonApi/FastSimonApi.js.map +1 -1
- package/dist/components/FastSimonApi/reducer.d.ts +4 -0
- package/dist/index.d.ts +1 -6
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/ProductLabel/ProductLabel.d.ts +0 -11
- package/dist/components/ProductLabel/ProductLabel.js +0 -11
- package/dist/components/ProductLabel/ProductLabel.js.map +0 -1
- package/dist/components/ProductLabel/index.d.ts +0 -1
- package/dist/components/ProductLabel/index.js +0 -2
- package/dist/components/ProductLabel/index.js.map +0 -1
- package/dist/components/ProductLabel/styles.module.css +0 -42
- package/dist/components/ProductLabel/utils.d.ts +0 -8
- package/dist/components/ProductLabel/utils.js +0 -9
- package/dist/components/ProductLabel/utils.js.map +0 -1
- package/dist/components/SelectCard/SelectCard.d.ts +0 -5
- package/dist/components/SelectCard/SelectCard.js +0 -7
- package/dist/components/SelectCard/SelectCard.js.map +0 -1
- package/dist/components/SelectCard/index.d.ts +0 -1
- package/dist/components/SelectCard/index.js +0 -2
- package/dist/components/SelectCard/index.js.map +0 -1
- package/dist/components/SelectCard/styles.module.css +0 -21
- package/dist/dashboard/dashboard-client/src/components/Button/Button.d.ts +0 -33
- package/dist/dashboard/dashboard-client/src/components/Button/Button.js +0 -56
- package/dist/dashboard/dashboard-client/src/components/Button/Button.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Button/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/Button/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/Button/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/CategorySelector/CategorySelector.d.ts +0 -30
- package/dist/dashboard/dashboard-client/src/components/CategorySelector/CategorySelector.js +0 -88
- package/dist/dashboard/dashboard-client/src/components/CategorySelector/CategorySelector.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/CheckboxTree/utils.d.ts +0 -50
- package/dist/dashboard/dashboard-client/src/components/CheckboxTree/utils.js +0 -28
- package/dist/dashboard/dashboard-client/src/components/CheckboxTree/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -30
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/ConfirmationDialog.js +0 -16
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/ConfirmationDialog.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/ConfirmationDialog/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/CreatableIspNew.d.ts +0 -43
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/CreatableIspNew.js +0 -78
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/CreatableIspNew.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/utils.d.ts +0 -3
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/utils.js +0 -21
- package/dist/dashboard/dashboard-client/src/components/CreatableIspNew/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/ABTestingIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/ABTestingIcon.js +0 -6
- package/dist/dashboard/dashboard-client/src/components/Icons/ABTestingIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/AnalyticsIcon.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/components/Icons/AnalyticsIcon.js +0 -4
- package/dist/dashboard/dashboard-client/src/components/Icons/AnalyticsIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/AutocompleteIcon.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/components/Icons/AutocompleteIcon.js +0 -6
- package/dist/dashboard/dashboard-client/src/components/Icons/AutocompleteIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/CheckIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/CheckIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/CheckIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/CollectionsIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/CollectionsIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/CollectionsIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/ConfigurationIcon.d.ts +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/ConfigurationIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/ConfigurationIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/FilterIcon.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/components/Icons/FilterIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/FilterIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/HelpIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/HelpIcon.js +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/HelpIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/Icon.d.ts +0 -80
- package/dist/dashboard/dashboard-client/src/components/Icons/Icon.js +0 -118
- package/dist/dashboard/dashboard-client/src/components/Icons/Icon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/Integrations.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/Integrations.js +0 -4
- package/dist/dashboard/dashboard-client/src/components/Icons/Integrations.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/LandingPageIcon.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/components/Icons/LandingPageIcon.js +0 -6
- package/dist/dashboard/dashboard-client/src/components/Icons/LandingPageIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/LockIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/LockIcon.js +0 -6
- package/dist/dashboard/dashboard-client/src/components/Icons/LockIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/MerchIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/MerchIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/MerchIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/RecommendationsIcon.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/components/Icons/RecommendationsIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/RecommendationsIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/RestoreIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/RestoreIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/RestoreIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/RetailPackIcon.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/components/Icons/RetailPackIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/RetailPackIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/SearchIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/SearchIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/SearchIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/SettingsIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/SettingsIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/SettingsIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/SynonymsIcon.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/components/Icons/SynonymsIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/SynonymsIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/UnlockIcon.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/components/Icons/UnlockIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/UnlockIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/VisualDiscoveryIcon.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/components/Icons/VisualDiscoveryIcon.js +0 -4
- package/dist/dashboard/dashboard-client/src/components/Icons/VisualDiscoveryIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/WarningIcon.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/components/Icons/WarningIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/WarningIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Icons/XIcon.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/components/Icons/XIcon.js +0 -7
- package/dist/dashboard/dashboard-client/src/components/Icons/XIcon.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Modal/Modal.d.ts +0 -8
- package/dist/dashboard/dashboard-client/src/components/Modal/Modal.js +0 -19
- package/dist/dashboard/dashboard-client/src/components/Modal/Modal.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/Modal/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/Modal/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/Modal/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/MuiTooltip.d.ts +0 -9
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/MuiTooltip.js +0 -32
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/MuiTooltip.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/MuiTooltip/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/MultiSelectRow/MultiSelectRow.d.ts +0 -41
- package/dist/dashboard/dashboard-client/src/components/MultiSelectRow/MultiSelectRow.js +0 -68
- package/dist/dashboard/dashboard-client/src/components/MultiSelectRow/MultiSelectRow.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/NavMenuItem.d.ts +0 -26
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/NavMenuItem.js +0 -61
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/NavMenuItem.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/index.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/index.js +0 -3
- package/dist/dashboard/dashboard-client/src/components/NavMenuItem/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/RadioButton/RadioButton.d.ts +0 -20
- package/dist/dashboard/dashboard-client/src/components/RadioButton/RadioButton.js +0 -18
- package/dist/dashboard/dashboard-client/src/components/RadioButton/RadioButton.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/RadioButton/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/RadioButton/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/RadioButton/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/RadioSelect/RadioSelect.d.ts +0 -31
- package/dist/dashboard/dashboard-client/src/components/RadioSelect/RadioSelect.js +0 -35
- package/dist/dashboard/dashboard-client/src/components/RadioSelect/RadioSelect.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveButton.d.ts +0 -23
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveButton.js +0 -142
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveButton.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveLoader.d.ts +0 -9
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveLoader.js +0 -12
- package/dist/dashboard/dashboard-client/src/components/SaveButton/SaveLoader.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/SelectRow/SelectRow.d.ts +0 -45
- package/dist/dashboard/dashboard-client/src/components/SelectRow/SelectRow.js +0 -42
- package/dist/dashboard/dashboard-client/src/components/SelectRow/SelectRow.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/SelectRow/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/SelectRow/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/SelectRow/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/SmallLoader.d.ts +0 -7
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/SmallLoader.js +0 -8
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/SmallLoader.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/SmallLoader/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/TableCheckmark.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/TableCheckmark.js +0 -6
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/TableCheckmark.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/TableCheckmark/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/TextWithMaterialTooltip.d.ts +0 -14
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/TextWithMaterialTooltip.js +0 -33
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/TextWithMaterialTooltip.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/TextWithMaterialTooltip/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/TextWithTooltip.d.ts +0 -13
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/TextWithTooltip.js +0 -29
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/TextWithTooltip.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/index.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/index.js +0 -2
- package/dist/dashboard/dashboard-client/src/components/TextWithTooltip/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/containers/MultiLevelSideBarMenu/utils.d.ts +0 -33
- package/dist/dashboard/dashboard-client/src/containers/MultiLevelSideBarMenu/utils.js +0 -362
- package/dist/dashboard/dashboard-client/src/containers/MultiLevelSideBarMenu/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/containers/SearchResultsPreview/SerpPreview.d.ts +0 -56
- package/dist/dashboard/dashboard-client/src/containers/SearchResultsPreview/SerpPreview.js +0 -74
- package/dist/dashboard/dashboard-client/src/containers/SearchResultsPreview/SerpPreview.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/containers/SerpFilters/models.d.ts +0 -137
- package/dist/dashboard/dashboard-client/src/containers/SerpFilters/models.js +0 -36
- package/dist/dashboard/dashboard-client/src/containers/SerpFilters/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/containers/sync/CustomCsvInfo/utils.d.ts +0 -8
- package/dist/dashboard/dashboard-client/src/containers/sync/CustomCsvInfo/utils.js +0 -9
- package/dist/dashboard/dashboard-client/src/containers/sync/CustomCsvInfo/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductImageSource/utils.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductImageSource/utils.js +0 -10
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductImageSource/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductSync/utils.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductSync/utils.js +0 -5
- package/dist/dashboard/dashboard-client/src/containers/sync/ProductSync/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/ClickOutside.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/hooks/ClickOutside.js +0 -30
- package/dist/dashboard/dashboard-client/src/hooks/ClickOutside.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/auth.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/hooks/auth.js +0 -88
- package/dist/dashboard/dashboard-client/src/hooks/auth.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/merchandisingPreview.d.ts +0 -23
- package/dist/dashboard/dashboard-client/src/hooks/merchandisingPreview.js +0 -45
- package/dist/dashboard/dashboard-client/src/hooks/merchandisingPreview.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/useLoactionParams.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/hooks/useLoactionParams.js +0 -29
- package/dist/dashboard/dashboard-client/src/hooks/useLoactionParams.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/useLockingGeneral.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/hooks/useLockingGeneral.js +0 -51
- package/dist/dashboard/dashboard-client/src/hooks/useLockingGeneral.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/useMedia.d.ts +0 -8
- package/dist/dashboard/dashboard-client/src/hooks/useMedia.js +0 -41
- package/dist/dashboard/dashboard-client/src/hooks/useMedia.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/useResources.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/hooks/useResources.js +0 -46
- package/dist/dashboard/dashboard-client/src/hooks/useResources.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/hooks/useSelectedPath.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/hooks/useSelectedPath.js +0 -18
- package/dist/dashboard/dashboard-client/src/hooks/useSelectedPath.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/locals/da.d.ts +0 -12
- package/dist/dashboard/dashboard-client/src/locals/da.js +0 -14
- package/dist/dashboard/dashboard-client/src/locals/da.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/locals/locals.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/locals/locals.js +0 -37
- package/dist/dashboard/dashboard-client/src/locals/locals.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/AdminSync/utils.d.ts +0 -74
- package/dist/dashboard/dashboard-client/src/pages/Admin/AdminSync/utils.js +0 -67
- package/dist/dashboard/dashboard-client/src/pages/Admin/AdminSync/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetCheckConsistency/utils.d.ts +0 -3
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetCheckConsistency/utils.js +0 -9
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetCheckConsistency/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetRebuild/utils.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetRebuild/utils.js +0 -21
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/AssetRebuild/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/utils.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/utils.js +0 -17
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/AssetRebuildAndCheck/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/ProductsNum/utils.d.ts +0 -8
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/ProductsNum/utils.js +0 -21
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/ProductsNum/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/SmartCollections/utils.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/SmartCollections/utils.js +0 -9
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/SmartCollections/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/utils.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/utils.js +0 -113
- package/dist/dashboard/dashboard-client/src/pages/Admin/Main/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Admin/Usages/components/UsagesInfo/utils.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/pages/Admin/Usages/components/UsagesInfo/utils.js +0 -5
- package/dist/dashboard/dashboard-client/src/pages/Admin/Usages/components/UsagesInfo/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/bigcommerce/utils.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/bigcommerce/utils.js +0 -7
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/bigcommerce/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/woocommerce/utils.d.ts +0 -9
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/woocommerce/utils.js +0 -12
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/platforms/woocommerce/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/utils.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/utils.js +0 -2
- package/dist/dashboard/dashboard-client/src/pages/AuthFinalize/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteDesktopOrder.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteDesktopOrder.js +0 -99
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteDesktopOrder.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteOrder.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteOrder.js +0 -128
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/component/AutocompleteOrderSelector/hooks/useAutocompleteOrder.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/utils.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/utils.js +0 -8
- package/dist/dashboard/dashboard-client/src/pages/Autocomplete/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Categories/utils.d.ts +0 -48
- package/dist/dashboard/dashboard-client/src/pages/Categories/utils.js +0 -116
- package/dist/dashboard/dashboard-client/src/pages/Categories/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/hooks/useKeywords.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/hooks/useKeywords.js +0 -44
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/hooks/useKeywords.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/useGlobalSearch.d.ts +0 -19
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/useGlobalSearch.js +0 -42
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/useGlobalSearch.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/utils.d.ts +0 -9
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/utils.js +0 -116
- package/dist/dashboard/dashboard-client/src/pages/Dashboard/GlobalSearch/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SideNav/utils.d.ts +0 -10
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SideNav/utils.js +0 -74
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SideNav/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/CollectionsMerchandising/CollectionsMerchandisingTable/table.d.ts +0 -10
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/CollectionsMerchandising/CollectionsMerchandisingTable/table.js +0 -194
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/CollectionsMerchandising/CollectionsMerchandisingTable/table.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/MerchandisingStrategies/utils.d.ts +0 -55
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/MerchandisingStrategies/utils.js +0 -288
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/MerchandisingStrategies/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/editor/utils.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/editor/utils.js +0 -27
- package/dist/dashboard/dashboard-client/src/pages/Merchandising/editor/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/ProductGridEditor/utils.d.ts +0 -42
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/ProductGridEditor/utils.js +0 -633
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/ProductGridEditor/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/RecommendationEditor/components/RecommendationHeader/utils.d.ts +0 -21
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/RecommendationEditor/components/RecommendationHeader/utils.js +0 -27
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/RecommendationEditor/components/RecommendationHeader/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/LeftMenu/utils.d.ts +0 -21
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/LeftMenu/utils.js +0 -6
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/LeftMenu/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/FontEditor/utils.d.ts +0 -14
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/FontEditor/utils.js +0 -12
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/FontEditor/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/ProductInfoPositioning/utils.d.ts +0 -4
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/ProductInfoPositioning/utils.js +0 -79
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/components/RightMenu/components/ProductInfoPositioning/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/utils.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/utils.js +0 -52
- package/dist/dashboard/dashboard-client/src/pages/NoCodeEditor/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Recommendations/utils.d.ts +0 -10
- package/dist/dashboard/dashboard-client/src/pages/Recommendations/utils.js +0 -20
- package/dist/dashboard/dashboard-client/src/pages/Recommendations/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/Configuration/utils.d.ts +0 -3
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/Configuration/utils.js +0 -38
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/Configuration/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/ProductsSplit.d.ts +0 -8
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/ProductsSplit.js +0 -62
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/ProductsSplit.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/utils.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/utils.js +0 -4
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/ProductsSplit/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Components/SwatchDisplay.d.ts +0 -8
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Components/SwatchDisplay.js +0 -24
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Components/SwatchDisplay.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useColors.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useColors.js +0 -32
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useColors.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useSwatches.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useSwatches.js +0 -18
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useSwatches.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useUsedColors.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useUsedColors.js +0 -10
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/Hooks/useUsedColors.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/defaults.d.ts +0 -3753
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/defaults.js +0 -3754
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/defaults.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/utils.d.ts +0 -17
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/utils.js +0 -247
- package/dist/dashboard/dashboard-client/src/pages/SearchResults/pages/RetailPack/SwatchEditor/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Segments/utils.d.ts +0 -34
- package/dist/dashboard/dashboard-client/src/pages/Segments/utils.js +0 -147
- package/dist/dashboard/dashboard-client/src/pages/Segments/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/pages/Sync/MetafieldAttributes/utils.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/pages/Sync/MetafieldAttributes/utils.js +0 -7
- package/dist/dashboard/dashboard-client/src/pages/Sync/MetafieldAttributes/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/abTesting.d.ts +0 -30
- package/dist/dashboard/dashboard-client/src/services/abTesting.js +0 -55
- package/dist/dashboard/dashboard-client/src/services/abTesting.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/account.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/services/account.js +0 -13
- package/dist/dashboard/dashboard-client/src/services/account.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/admin/admin.d.ts +0 -43
- package/dist/dashboard/dashboard-client/src/services/admin/admin.js +0 -58
- package/dist/dashboard/dashboard-client/src/services/admin/admin.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/admin/adminAddons.d.ts +0 -18
- package/dist/dashboard/dashboard-client/src/services/admin/adminAddons.js +0 -38
- package/dist/dashboard/dashboard-client/src/services/admin/adminAddons.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/admin/adminMerchandising.d.ts +0 -10
- package/dist/dashboard/dashboard-client/src/services/admin/adminMerchandising.js +0 -23
- package/dist/dashboard/dashboard-client/src/services/admin/adminMerchandising.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/admin/adminSearchResults.d.ts +0 -5
- package/dist/dashboard/dashboard-client/src/services/admin/adminSearchResults.js +0 -12
- package/dist/dashboard/dashboard-client/src/services/admin/adminSearchResults.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/admin/adminSync.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/services/admin/adminSync.js +0 -28
- package/dist/dashboard/dashboard-client/src/services/admin/adminSync.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/admin/models.d.ts +0 -96
- package/dist/dashboard/dashboard-client/src/services/admin/models.js +0 -8
- package/dist/dashboard/dashboard-client/src/services/admin/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/ads.d.ts +0 -52
- package/dist/dashboard/dashboard-client/src/services/ads.js +0 -23
- package/dist/dashboard/dashboard-client/src/services/ads.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/auditLog.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/services/auditLog.js +0 -31
- package/dist/dashboard/dashboard-client/src/services/auditLog.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/auth.d.ts +0 -77
- package/dist/dashboard/dashboard-client/src/services/auth.js +0 -152
- package/dist/dashboard/dashboard-client/src/services/auth.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/autocomplete.d.ts +0 -11
- package/dist/dashboard/dashboard-client/src/services/autocomplete.js +0 -27
- package/dist/dashboard/dashboard-client/src/services/autocomplete.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/autocompleteEditor.d.ts +0 -13
- package/dist/dashboard/dashboard-client/src/services/autocompleteEditor.js +0 -17
- package/dist/dashboard/dashboard-client/src/services/autocompleteEditor.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/autocompletePreview.d.ts +0 -23
- package/dist/dashboard/dashboard-client/src/services/autocompletePreview.js +0 -85
- package/dist/dashboard/dashboard-client/src/services/autocompletePreview.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/categories.d.ts +0 -28
- package/dist/dashboard/dashboard-client/src/services/categories.js +0 -72
- package/dist/dashboard/dashboard-client/src/services/categories.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/config.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/services/config.js +0 -2
- package/dist/dashboard/dashboard-client/src/services/config.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/filters/categoriesFilters.d.ts +0 -12
- package/dist/dashboard/dashboard-client/src/services/filters/categoriesFilters.js +0 -17
- package/dist/dashboard/dashboard-client/src/services/filters/categoriesFilters.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/filters/filtersConfiguration.d.ts +0 -44
- package/dist/dashboard/dashboard-client/src/services/filters/filtersConfiguration.js +0 -73
- package/dist/dashboard/dashboard-client/src/services/filters/filtersConfiguration.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/filters/filtersSettings.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/services/filters/filtersSettings.js +0 -26
- package/dist/dashboard/dashboard-client/src/services/filters/filtersSettings.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/globalSearch.d.ts +0 -7
- package/dist/dashboard/dashboard-client/src/services/globalSearch.js +0 -7
- package/dist/dashboard/dashboard-client/src/services/globalSearch.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/gridEditor.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/services/gridEditor.js +0 -42
- package/dist/dashboard/dashboard-client/src/services/gridEditor.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/integrations.d.ts +0 -62
- package/dist/dashboard/dashboard-client/src/services/integrations.js +0 -102
- package/dist/dashboard/dashboard-client/src/services/integrations.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/landingPages.d.ts +0 -22
- package/dist/dashboard/dashboard-client/src/services/landingPages.js +0 -33
- package/dist/dashboard/dashboard-client/src/services/landingPages.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/merchandising.d.ts +0 -164
- package/dist/dashboard/dashboard-client/src/services/merchandising.js +0 -188
- package/dist/dashboard/dashboard-client/src/services/merchandising.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/notifications.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/services/notifications.js +0 -8
- package/dist/dashboard/dashboard-client/src/services/notifications.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/recommendationEditor.d.ts +0 -12
- package/dist/dashboard/dashboard-client/src/services/recommendationEditor.js +0 -17
- package/dist/dashboard/dashboard-client/src/services/recommendationEditor.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/recommendations.d.ts +0 -26
- package/dist/dashboard/dashboard-client/src/services/recommendations.js +0 -61
- package/dist/dashboard/dashboard-client/src/services/recommendations.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/searchResults.d.ts +0 -69
- package/dist/dashboard/dashboard-client/src/services/searchResults.js +0 -147
- package/dist/dashboard/dashboard-client/src/services/searchResults.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/segments.d.ts +0 -96
- package/dist/dashboard/dashboard-client/src/services/segments.js +0 -13
- package/dist/dashboard/dashboard-client/src/services/segments.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/site.d.ts +0 -39
- package/dist/dashboard/dashboard-client/src/services/site.js +0 -54
- package/dist/dashboard/dashboard-client/src/services/site.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/stores.d.ts +0 -23
- package/dist/dashboard/dashboard-client/src/services/stores.js +0 -87
- package/dist/dashboard/dashboard-client/src/services/stores.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/sync.d.ts +0 -41
- package/dist/dashboard/dashboard-client/src/services/sync.js +0 -94
- package/dist/dashboard/dashboard-client/src/services/sync.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/synonyms.d.ts +0 -13
- package/dist/dashboard/dashboard-client/src/services/synonyms.js +0 -22
- package/dist/dashboard/dashboard-client/src/services/synonyms.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/themes.d.ts +0 -21
- package/dist/dashboard/dashboard-client/src/services/themes.js +0 -34
- package/dist/dashboard/dashboard-client/src/services/themes.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/turbolinks.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/services/turbolinks.js +0 -46
- package/dist/dashboard/dashboard-client/src/services/turbolinks.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/services/visualDiscovery.d.ts +0 -20
- package/dist/dashboard/dashboard-client/src/services/visualDiscovery.js +0 -21
- package/dist/dashboard/dashboard-client/src/services/visualDiscovery.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/Integrations/IntegrationsSlice.d.ts +0 -72
- package/dist/dashboard/dashboard-client/src/store/Integrations/IntegrationsSlice.js +0 -400
- package/dist/dashboard/dashboard-client/src/store/Integrations/IntegrationsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/Integrations/integrationsActions.d.ts +0 -289
- package/dist/dashboard/dashboard-client/src/store/Integrations/integrationsActions.js +0 -90
- package/dist/dashboard/dashboard-client/src/store/Integrations/integrationsActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/Integrations/models.d.ts +0 -202
- package/dist/dashboard/dashboard-client/src/store/Integrations/models.js +0 -440
- package/dist/dashboard/dashboard-client/src/store/Integrations/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/abTesting/abTestingSlice.d.ts +0 -35
- package/dist/dashboard/dashboard-client/src/store/abTesting/abTestingSlice.js +0 -208
- package/dist/dashboard/dashboard-client/src/store/abTesting/abTestingSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/abTesting/actions.d.ts +0 -168
- package/dist/dashboard/dashboard-client/src/store/abTesting/actions.js +0 -58
- package/dist/dashboard/dashboard-client/src/store/abTesting/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/abTesting/models.d.ts +0 -119
- package/dist/dashboard/dashboard-client/src/store/abTesting/models.js +0 -61
- package/dist/dashboard/dashboard-client/src/store/abTesting/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/account/accountSlice.d.ts +0 -57
- package/dist/dashboard/dashboard-client/src/store/account/accountSlice.js +0 -95
- package/dist/dashboard/dashboard-client/src/store/account/accountSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/account/models.d.ts +0 -14
- package/dist/dashboard/dashboard-client/src/store/account/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/account/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/addons/adminAddonsSlice.d.ts +0 -174
- package/dist/dashboard/dashboard-client/src/store/admin/addons/adminAddonsSlice.js +0 -225
- package/dist/dashboard/dashboard-client/src/store/admin/addons/adminAddonsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/addons/models.d.ts +0 -30
- package/dist/dashboard/dashboard-client/src/store/admin/addons/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/admin/addons/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/main/adminSlice.d.ts +0 -280
- package/dist/dashboard/dashboard-client/src/store/admin/main/adminSlice.js +0 -404
- package/dist/dashboard/dashboard-client/src/store/admin/main/adminSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/main/models.d.ts +0 -164
- package/dist/dashboard/dashboard-client/src/store/admin/main/models.js +0 -31
- package/dist/dashboard/dashboard-client/src/store/admin/main/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/adminMerchandisingSlice.d.ts +0 -100
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/adminMerchandisingSlice.js +0 -152
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/adminMerchandisingSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/models.d.ts +0 -23
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/admin/merchandising/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/adminSearchResultsSlice.d.ts +0 -16
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/adminSearchResultsSlice.js +0 -32
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/adminSearchResultsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/models.d.ts +0 -3
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/admin/searchResults/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/sync/adminSyncSlice.d.ts +0 -84
- package/dist/dashboard/dashboard-client/src/store/admin/sync/adminSyncSlice.js +0 -134
- package/dist/dashboard/dashboard-client/src/store/admin/sync/adminSyncSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/sync/models.d.ts +0 -68
- package/dist/dashboard/dashboard-client/src/store/admin/sync/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/admin/sync/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/usages/adminUsgaesSlice.d.ts +0 -16
- package/dist/dashboard/dashboard-client/src/store/admin/usages/adminUsgaesSlice.js +0 -35
- package/dist/dashboard/dashboard-client/src/store/admin/usages/adminUsgaesSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/admin/usages/models.d.ts +0 -9
- package/dist/dashboard/dashboard-client/src/store/admin/usages/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/admin/usages/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/ads/adsSlice.d.ts +0 -106
- package/dist/dashboard/dashboard-client/src/store/ads/adsSlice.js +0 -159
- package/dist/dashboard/dashboard-client/src/store/ads/adsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/ads/models.d.ts +0 -83
- package/dist/dashboard/dashboard-client/src/store/ads/models.js +0 -7
- package/dist/dashboard/dashboard-client/src/store/ads/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/analytics.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/store/analytics/models/analytics.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/analytics.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/autocomplete.d.ts +0 -41
- package/dist/dashboard/dashboard-client/src/store/analytics/models/autocomplete.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/autocomplete.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/collections.d.ts +0 -29
- package/dist/dashboard/dashboard-client/src/store/analytics/models/collections.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/collections.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/filters.d.ts +0 -32
- package/dist/dashboard/dashboard-client/src/store/analytics/models/filters.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/filters.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/impact.d.ts +0 -60
- package/dist/dashboard/dashboard-client/src/store/analytics/models/impact.js +0 -52
- package/dist/dashboard/dashboard-client/src/store/analytics/models/impact.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/index.d.ts +0 -55
- package/dist/dashboard/dashboard-client/src/store/analytics/models/index.js +0 -19
- package/dist/dashboard/dashboard-client/src/store/analytics/models/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/overview.d.ts +0 -89
- package/dist/dashboard/dashboard-client/src/store/analytics/models/overview.js +0 -9
- package/dist/dashboard/dashboard-client/src/store/analytics/models/overview.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/productImageOptimization.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/store/analytics/models/productImageOptimization.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/productImageOptimization.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/products.d.ts +0 -45
- package/dist/dashboard/dashboard-client/src/store/analytics/models/products.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/products.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/promo_tiles.d.ts +0 -34
- package/dist/dashboard/dashboard-client/src/store/analytics/models/promo_tiles.js +0 -11
- package/dist/dashboard/dashboard-client/src/store/analytics/models/promo_tiles.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/queries.d.ts +0 -23
- package/dist/dashboard/dashboard-client/src/store/analytics/models/queries.js +0 -3
- package/dist/dashboard/dashboard-client/src/store/analytics/models/queries.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/realtime.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/store/analytics/models/realtime.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/realtime.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/shopperInsights.d.ts +0 -67
- package/dist/dashboard/dashboard-client/src/store/analytics/models/shopperInsights.js +0 -4
- package/dist/dashboard/dashboard-client/src/store/analytics/models/shopperInsights.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/timeline.d.ts +0 -14
- package/dist/dashboard/dashboard-client/src/store/analytics/models/timeline.js +0 -49
- package/dist/dashboard/dashboard-client/src/store/analytics/models/timeline.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/traffic.d.ts +0 -45
- package/dist/dashboard/dashboard-client/src/store/analytics/models/traffic.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/traffic.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/models/visualDiscovery.d.ts +0 -13
- package/dist/dashboard/dashboard-client/src/store/analytics/models/visualDiscovery.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/analytics/models/visualDiscovery.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/analytics/slice.d.ts +0 -291
- package/dist/dashboard/dashboard-client/src/store/analytics/slice.js +0 -447
- package/dist/dashboard/dashboard-client/src/store/analytics/slice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/auditLog/actions.d.ts +0 -21
- package/dist/dashboard/dashboard-client/src/store/auditLog/actions.js +0 -18
- package/dist/dashboard/dashboard-client/src/store/auditLog/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/auditLog/auditLogSlice.d.ts +0 -12
- package/dist/dashboard/dashboard-client/src/store/auditLog/auditLogSlice.js +0 -36
- package/dist/dashboard/dashboard-client/src/store/auditLog/auditLogSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/auditLog/models.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/store/auditLog/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/auditLog/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/auth/authSlice.d.ts +0 -109
- package/dist/dashboard/dashboard-client/src/store/auth/authSlice.js +0 -151
- package/dist/dashboard/dashboard-client/src/store/auth/authSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/auth/models.d.ts +0 -32
- package/dist/dashboard/dashboard-client/src/store/auth/models.js +0 -6
- package/dist/dashboard/dashboard-client/src/store/auth/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocomplete/autocompleteSlice.d.ts +0 -191
- package/dist/dashboard/dashboard-client/src/store/autocomplete/autocompleteSlice.js +0 -354
- package/dist/dashboard/dashboard-client/src/store/autocomplete/autocompleteSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocomplete/models.d.ts +0 -121
- package/dist/dashboard/dashboard-client/src/store/autocomplete/models.js +0 -65
- package/dist/dashboard/dashboard-client/src/store/autocomplete/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/autocompleteDefaultSettings.d.ts +0 -2
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/autocompleteDefaultSettings.js +0 -32
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/autocompleteDefaultSettings.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/updateAutocompleteSettingsByItem.d.ts +0 -7
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/updateAutocompleteSettingsByItem.js +0 -38
- package/dist/dashboard/dashboard-client/src/store/autocomplete/utils/updateAutocompleteSettingsByItem.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/actions.d.ts +0 -36
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/actions.js +0 -21
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/autocompleteEditorSlice.d.ts +0 -50
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/autocompleteEditorSlice.js +0 -154
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/autocompleteEditorSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/models.d.ts +0 -30
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/autocompleteEditor/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/autocompletePreviewSlice.d.ts +0 -117
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/autocompletePreviewSlice.js +0 -149
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/autocompletePreviewSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/finalResults.d.ts +0 -30
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/finalResults.js +0 -106
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/finalResults.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/models.d.ts +0 -66
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/autocompletePreview/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/categories/actions.d.ts +0 -199
- package/dist/dashboard/dashboard-client/src/store/categories/actions.js +0 -63
- package/dist/dashboard/dashboard-client/src/store/categories/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/categories/categoriesSlice.js +0 -166
- package/dist/dashboard/dashboard-client/src/store/categories/categoriesSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/categories/models.d.ts +0 -97
- package/dist/dashboard/dashboard-client/src/store/categories/models.js +0 -20
- package/dist/dashboard/dashboard-client/src/store/categories/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/actions.d.ts +0 -44
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/actions.js +0 -32
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/clientLayoutEditorsSlice.d.ts +0 -68
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/clientLayoutEditorsSlice.js +0 -287
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/clientLayoutEditorsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/models.d.ts +0 -118
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/models.js +0 -140
- package/dist/dashboard/dashboard-client/src/store/clientLayoutEditors/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/categoriesFiltersSlice.d.ts +0 -71
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/categoriesFiltersSlice.js +0 -113
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/categoriesFiltersSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/models.d.ts +0 -22
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/filters/categoriesFilters/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filterActions.d.ts +0 -141
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filterActions.js +0 -65
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filterActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filtersConfigurationSlice.d.ts +0 -58
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filtersConfigurationSlice.js +0 -110
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/filtersConfigurationSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/models.d.ts +0 -82
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/models.js +0 -33
- package/dist/dashboard/dashboard-client/src/store/filters/configuration/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/filtersSettingsSlice.d.ts +0 -108
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/filtersSettingsSlice.js +0 -88
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/filtersSettingsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/models.d.ts +0 -29
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/models.js +0 -25
- package/dist/dashboard/dashboard-client/src/store/filters/filtersSettings/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchActions.d.ts +0 -12
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchActions.js +0 -15
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchSlice.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchSlice.js +0 -41
- package/dist/dashboard/dashboard-client/src/store/globalSearch/globalSearchSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/globalSearch/models.d.ts +0 -12
- package/dist/dashboard/dashboard-client/src/store/globalSearch/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/globalSearch/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/globalSearch/utils.d.ts +0 -3
- package/dist/dashboard/dashboard-client/src/store/globalSearch/utils.js +0 -15
- package/dist/dashboard/dashboard-client/src/store/globalSearch/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/index.js +0 -90
- package/dist/dashboard/dashboard-client/src/store/index.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/landingPages/landingPagesSlice.d.ts +0 -93
- package/dist/dashboard/dashboard-client/src/store/landingPages/landingPagesSlice.js +0 -139
- package/dist/dashboard/dashboard-client/src/store/landingPages/landingPagesSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/landingPages/models.d.ts +0 -39
- package/dist/dashboard/dashboard-client/src/store/landingPages/models.js +0 -6
- package/dist/dashboard/dashboard-client/src/store/landingPages/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/bannerActions.d.ts +0 -45
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/bannerActions.js +0 -24
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/bannerActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/collectionsActions.d.ts +0 -61
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/collectionsActions.js +0 -57
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/collectionsActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/configActions.d.ts +0 -10
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/configActions.js +0 -15
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/configActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/productActions.d.ts +0 -36
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/productActions.js +0 -21
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/productActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/strategiesActions.d.ts +0 -39
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/strategiesActions.js +0 -21
- package/dist/dashboard/dashboard-client/src/store/merchandising/actions/strategiesActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/merchandisingSlice.d.ts +0 -358
- package/dist/dashboard/dashboard-client/src/store/merchandising/merchandisingSlice.js +0 -660
- package/dist/dashboard/dashboard-client/src/store/merchandising/merchandisingSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/collections.d.ts +0 -37
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/collections.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/collections.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/merchandisingRulesModels.d.ts +0 -81
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/merchandisingRulesModels.js +0 -14
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/merchandisingRulesModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/noResults.d.ts +0 -12
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/noResults.js +0 -7
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/noResults.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/previewConfig.d.ts +0 -13
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/previewConfig.js +0 -11
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/previewConfig.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/productMerchandising.d.ts +0 -26
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/productMerchandising.js +0 -17
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/productMerchandising.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/search.d.ts +0 -20
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/search.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/search.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/strategiesModels.d.ts +0 -50
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/strategiesModels.js +0 -20
- package/dist/dashboard/dashboard-client/src/store/merchandising/models/strategiesModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/models.d.ts +0 -45
- package/dist/dashboard/dashboard-client/src/store/merchandising/models.js +0 -12
- package/dist/dashboard/dashboard-client/src/store/merchandising/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandising/rules.d.ts +0 -13
- package/dist/dashboard/dashboard-client/src/store/merchandising/rules.js +0 -24
- package/dist/dashboard/dashboard-client/src/store/merchandising/rules.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/merchandisingConditionsSlice.d.ts +0 -110
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/merchandisingConditionsSlice.js +0 -665
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/merchandisingConditionsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/models.d.ts +0 -50
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/models.js +0 -3
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/utils.d.ts +0 -10
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/utils.js +0 -45
- package/dist/dashboard/dashboard-client/src/store/merchandisingConditions/utils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/merchandisingVisualEditorSlice.js +0 -284
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/merchandisingVisualEditorSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/models.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/models.js +0 -9
- package/dist/dashboard/dashboard-client/src/store/merchandisingEditor/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/notifications/models.d.ts +0 -35
- package/dist/dashboard/dashboard-client/src/store/notifications/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/notifications/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/notifications/notificationsSlice.d.ts +0 -36
- package/dist/dashboard/dashboard-client/src/store/notifications/notificationsSlice.js +0 -90
- package/dist/dashboard/dashboard-client/src/store/notifications/notificationsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/pricing/models.d.ts +0 -19
- package/dist/dashboard/dashboard-client/src/store/pricing/models.js +0 -11
- package/dist/dashboard/dashboard-client/src/store/pricing/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/pricing/pricingSlice.d.ts +0 -10
- package/dist/dashboard/dashboard-client/src/store/pricing/pricingSlice.js +0 -22
- package/dist/dashboard/dashboard-client/src/store/pricing/pricingSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/actions.d.ts +0 -103
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/actions.js +0 -42
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/lockingModels.d.ts +0 -18
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/lockingModels.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/lockingModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/models.d.ts +0 -853
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/models.js +0 -855
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/productGridEditorSlice.d.ts +0 -151
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/productGridEditorSlice.js +0 -407
- package/dist/dashboard/dashboard-client/src/store/productGridEditor/productGridEditorSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/actions.d.ts +0 -36
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/actions.js +0 -21
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/models.d.ts +0 -290
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/models.js +0 -13
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/recommendationEditorSlice.d.ts +0 -79
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/recommendationEditorSlice.js +0 -199
- package/dist/dashboard/dashboard-client/src/store/recommendationEditor/recommendationEditorSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/recommendations/models.d.ts +0 -127
- package/dist/dashboard/dashboard-client/src/store/recommendations/models.js +0 -26
- package/dist/dashboard/dashboard-client/src/store/recommendations/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/recommendations/recommendationsSlice.d.ts +0 -216
- package/dist/dashboard/dashboard-client/src/store/recommendations/recommendationsSlice.js +0 -298
- package/dist/dashboard/dashboard-client/src/store/recommendations/recommendationsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/retailPackActions.d.ts +0 -129
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/retailPackActions.js +0 -44
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/retailPackActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/reviewActions.d.ts +0 -40
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/reviewActions.js +0 -21
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/reviewActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/serpPreviewActions.d.ts +0 -14
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/serpPreviewActions.js +0 -15
- package/dist/dashboard/dashboard-client/src/store/searchResults/actions/serpPreviewActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/advancedConfigModels.d.ts +0 -53
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/advancedConfigModels.js +0 -37
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/advancedConfigModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/badgesModels.d.ts +0 -42
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/badgesModels.js +0 -15
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/badgesModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/configurationModels.d.ts +0 -40
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/configurationModels.js +0 -43
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/configurationModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/models.d.ts +0 -43
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/previewModels.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/previewModels.js +0 -6
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/previewModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/retailPackModels.d.ts +0 -47
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/retailPackModels.js +0 -23
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/retailPackModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/reviewsModels.d.ts +0 -30
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/reviewsModels.js +0 -115
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/reviewsModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/shopperExperienceModel.d.ts +0 -115
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/shopperExperienceModel.js +0 -104
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/shopperExperienceModel.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/swatchEditorModels.d.ts +0 -21
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/swatchEditorModels.js +0 -10
- package/dist/dashboard/dashboard-client/src/store/searchResults/models/swatchEditorModels.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/searchResults/searchResultsSlice.d.ts +0 -358
- package/dist/dashboard/dashboard-client/src/store/searchResults/searchResultsSlice.js +0 -689
- package/dist/dashboard/dashboard-client/src/store/searchResults/searchResultsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/segments/segmentsSlice.d.ts +0 -122
- package/dist/dashboard/dashboard-client/src/store/segments/segmentsSlice.js +0 -250
- package/dist/dashboard/dashboard-client/src/store/segments/segmentsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/site/models.d.ts +0 -211
- package/dist/dashboard/dashboard-client/src/store/site/models.js +0 -43
- package/dist/dashboard/dashboard-client/src/store/site/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/site/siteSlice.d.ts +0 -457
- package/dist/dashboard/dashboard-client/src/store/site/siteSlice.js +0 -751
- package/dist/dashboard/dashboard-client/src/store/site/siteSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/store.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/store/store.js +0 -3
- package/dist/dashboard/dashboard-client/src/store/store.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/stores/models.d.ts +0 -160
- package/dist/dashboard/dashboard-client/src/store/stores/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/stores/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/stores/storesSlice.d.ts +0 -220
- package/dist/dashboard/dashboard-client/src/store/stores/storesSlice.js +0 -289
- package/dist/dashboard/dashboard-client/src/store/stores/storesSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/sync/PricingActions.d.ts +0 -29
- package/dist/dashboard/dashboard-client/src/store/sync/PricingActions.js +0 -9
- package/dist/dashboard/dashboard-client/src/store/sync/PricingActions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/sync/models.d.ts +0 -329
- package/dist/dashboard/dashboard-client/src/store/sync/models.js +0 -61
- package/dist/dashboard/dashboard-client/src/store/sync/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/sync/syncSlice.d.ts +0 -573
- package/dist/dashboard/dashboard-client/src/store/sync/syncSlice.js +0 -966
- package/dist/dashboard/dashboard-client/src/store/sync/syncSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/synonyms/models.d.ts +0 -39
- package/dist/dashboard/dashboard-client/src/store/synonyms/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/synonyms/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/synonyms/synonymsSlice.d.ts +0 -179
- package/dist/dashboard/dashboard-client/src/store/synonyms/synonymsSlice.js +0 -188
- package/dist/dashboard/dashboard-client/src/store/synonyms/synonymsSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/themes/actions.d.ts +0 -72
- package/dist/dashboard/dashboard-client/src/store/themes/actions.js +0 -30
- package/dist/dashboard/dashboard-client/src/store/themes/actions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/themes/models.d.ts +0 -50
- package/dist/dashboard/dashboard-client/src/store/themes/models.js +0 -23
- package/dist/dashboard/dashboard-client/src/store/themes/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/themes/themesSlice.d.ts +0 -20
- package/dist/dashboard/dashboard-client/src/store/themes/themesSlice.js +0 -76
- package/dist/dashboard/dashboard-client/src/store/themes/themesSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/turbolinks/models.d.ts +0 -28
- package/dist/dashboard/dashboard-client/src/store/turbolinks/models.js +0 -2
- package/dist/dashboard/dashboard-client/src/store/turbolinks/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/turbolinks/turbolinksSlice.d.ts +0 -79
- package/dist/dashboard/dashboard-client/src/store/turbolinks/turbolinksSlice.js +0 -132
- package/dist/dashboard/dashboard-client/src/store/turbolinks/turbolinksSlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/models.d.ts +0 -24
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/models.js +0 -6
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/models.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/visualDiscoverySlice.d.ts +0 -38
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/visualDiscoverySlice.js +0 -71
- package/dist/dashboard/dashboard-client/src/store/visualDiscovery/visualDiscoverySlice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/caseConverters.d.ts +0 -7
- package/dist/dashboard/dashboard-client/src/utils/caseConverters.js +0 -38
- package/dist/dashboard/dashboard-client/src/utils/caseConverters.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/dateAndTime.d.ts +0 -32
- package/dist/dashboard/dashboard-client/src/utils/dateAndTime.js +0 -64
- package/dist/dashboard/dashboard-client/src/utils/dateAndTime.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/formatPrice.d.ts +0 -3
- package/dist/dashboard/dashboard-client/src/utils/formatPrice.js +0 -80
- package/dist/dashboard/dashboard-client/src/utils/formatPrice.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/getLevenstineScore.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/utils/getLevenstineScore.js +0 -27
- package/dist/dashboard/dashboard-client/src/utils/getLevenstineScore.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/locking.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/utils/locking.js +0 -4
- package/dist/dashboard/dashboard-client/src/utils/locking.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/oldDashboardIntegration.d.ts +0 -26
- package/dist/dashboard/dashboard-client/src/utils/oldDashboardIntegration.js +0 -430
- package/dist/dashboard/dashboard-client/src/utils/oldDashboardIntegration.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/permissions.d.ts +0 -15
- package/dist/dashboard/dashboard-client/src/utils/permissions.js +0 -161
- package/dist/dashboard/dashboard-client/src/utils/permissions.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/site.d.ts +0 -21
- package/dist/dashboard/dashboard-client/src/utils/site.js +0 -112
- package/dist/dashboard/dashboard-client/src/utils/site.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/sortUtils.d.ts +0 -1
- package/dist/dashboard/dashboard-client/src/utils/sortUtils.js +0 -18
- package/dist/dashboard/dashboard-client/src/utils/sortUtils.js.map +0 -1
- package/dist/dashboard/dashboard-client/src/utils/typescriptUtils.d.ts +0 -6
- package/dist/dashboard/dashboard-client/src/utils/typescriptUtils.js +0 -2
- package/dist/dashboard/dashboard-client/src/utils/typescriptUtils.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/banner.d.ts +0 -7
- package/dist/frontends/dashboard-utilities/src/@types/banner.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/banner.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/categories.d.ts +0 -16
- package/dist/frontends/dashboard-utilities/src/@types/categories.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/categories.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/categoriesNavigation.d.ts +0 -26
- package/dist/frontends/dashboard-utilities/src/@types/categoriesNavigation.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/categoriesNavigation.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/currency.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/currency.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/currency.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.d.ts +0 -26
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.js +0 -6
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.d.ts +0 -9
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/product.d.ts +0 -158
- package/dist/frontends/dashboard-utilities/src/@types/product.js +0 -8
- package/dist/frontends/dashboard-utilities/src/@types/product.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.d.ts +0 -11
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.d.ts +0 -19
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.d.ts +0 -3
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.js +0 -2
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/App.d.ts +0 -3
- package/dist/frontends/dashboard-utilities/src/App.js +0 -15
- package/dist/frontends/dashboard-utilities/src/App.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.d.ts +0 -9
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js +0 -74
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.d.ts +0 -7
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.js +0 -239
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.d.ts +0 -10
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.js +0 -7
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.d.ts +0 -6
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.js +0 -9
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.d.ts +0 -19
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.js +0 -31
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.d.ts +0 -7
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.js +0 -10
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.d.ts +0 -13
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.js +0 -39
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.d.ts +0 -13
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.js +0 -40
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.d.ts +0 -32
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.js +0 -398
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.d.ts +0 -50
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.js +0 -10
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.d.ts +0 -3
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.js +0 -3
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.d.ts +0 -172
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.js +0 -67
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.d.ts +0 -17
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.js +0 -22
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.d.ts +0 -14
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.js +0 -58
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.d.ts +0 -18
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.js +0 -23
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.d.ts +0 -25
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.js +0 -7
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.d.ts +0 -10
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.js +0 -34
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.d.ts +0 -22
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.js +0 -49
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/Input/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/Input/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/Input/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.d.ts +0 -9
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.js +0 -88
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.d.ts +0 -3
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.js +0 -43
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.d.ts +0 -10
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.js +0 -7
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.d.ts +0 -9
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.js +0 -45
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.js +0 -8
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.d.ts +0 -11
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.js +0 -16
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.d.ts +0 -12
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.js +0 -59
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/SelectCard.d.ts +0 -5
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/SelectCard.js +0 -7
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/SelectCard.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/SelectCard/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/SideMenuTitle.d.ts +0 -9
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/SideMenuTitle.js +0 -18
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/SideMenuTitle.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/SideMenuTitle/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.d.ts +0 -11
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.js +0 -90
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.d.ts +0 -3
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.js +0 -42
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.d.ts +0 -20
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.js +0 -46
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.d.ts +0 -8
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.js +0 -9
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/common.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/common.js +0 -10
- package/dist/frontends/dashboard-utilities/src/components/common.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.d.ts +0 -9
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.js +0 -22
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.js +0 -2
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.d.ts +0 -2
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.js +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.d.ts +0 -2
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.js +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/GeneralIcon.d.ts +0 -2
- package/dist/frontends/dashboard-utilities/src/icons/GeneralIcon.js +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/GeneralIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.d.ts +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.js +0 -5
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.d.ts +0 -2
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.js +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.d.ts +0 -2
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.js +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.d.ts +0 -2
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.js +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.d.ts +0 -2
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.js +0 -7
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/index.d.ts +0 -28
- package/dist/frontends/dashboard-utilities/src/index.js +0 -25
- package/dist/frontends/dashboard-utilities/src/index.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/main.d.ts +0 -1
- package/dist/frontends/dashboard-utilities/src/main.js +0 -6
- package/dist/frontends/dashboard-utilities/src/main.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/services/API.d.ts +0 -21
- package/dist/frontends/dashboard-utilities/src/services/API.js +0 -50
- package/dist/frontends/dashboard-utilities/src/services/API.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/services/landingPage.d.ts +0 -28
- package/dist/frontends/dashboard-utilities/src/services/landingPage.js +0 -87
- package/dist/frontends/dashboard-utilities/src/services/landingPage.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/services/search.d.ts +0 -10
- package/dist/frontends/dashboard-utilities/src/services/search.js +0 -65
- package/dist/frontends/dashboard-utilities/src/services/search.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.d.ts +0 -4
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.js +0 -10
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.js.map +0 -1
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.d.ts +0 -13
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.js +0 -172
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.js.map +0 -1
- package/dist/services/getFormatProducts.d.ts +0 -13
- package/dist/services/getFormatProducts.js +0 -44
- package/dist/services/getFormatProducts.js.map +0 -1
- package/dist/utils/useProductsPerRow.d.ts +0 -3
- package/dist/utils/useProductsPerRow.js +0 -19
- package/dist/utils/useProductsPerRow.js.map +0 -1
|
@@ -1,665 +0,0 @@
|
|
|
1
|
-
import { createSlice } from "@reduxjs/toolkit";
|
|
2
|
-
import { getEmptyConditionByRuleType, getEmptyMerchRule, } from "./utils";
|
|
3
|
-
import { getRuleOperands } from "pages/Merchandising/rules/editor/utils";
|
|
4
|
-
const initialState = {
|
|
5
|
-
merchandisingType: null,
|
|
6
|
-
rule: null,
|
|
7
|
-
};
|
|
8
|
-
export const merchandisingConditionsSlice = createSlice({
|
|
9
|
-
name: 'merchandisingConditions',
|
|
10
|
-
initialState,
|
|
11
|
-
reducers: {
|
|
12
|
-
reset: () => initialState,
|
|
13
|
-
setMerchandisingType(state, action) {
|
|
14
|
-
state.merchandisingType = action.payload;
|
|
15
|
-
},
|
|
16
|
-
setRule(state, action) {
|
|
17
|
-
state.rule = action.payload;
|
|
18
|
-
if (state.rule == null) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setRuleType(state, action) {
|
|
23
|
-
if (!state.rule) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const { isSource, type } = action.payload;
|
|
27
|
-
if (isSource) {
|
|
28
|
-
state.rule.sourceType = type;
|
|
29
|
-
}
|
|
30
|
-
else if (state.rule.type == "or" || state.rule.type == "and") {
|
|
31
|
-
state.rule.type = type;
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
setAction(state, action) {
|
|
35
|
-
if (!state.rule) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
state.rule.action = action.payload;
|
|
39
|
-
},
|
|
40
|
-
setPromotionLevel(state, action) {
|
|
41
|
-
if (!state.rule) {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (action.payload) {
|
|
45
|
-
state.rule.promotionLevel = action.payload;
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
delete state.rule.promotionLevel;
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
addCondition(state, action) {
|
|
52
|
-
const isSource = action.payload;
|
|
53
|
-
if (!state.rule) {
|
|
54
|
-
const emptyCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
55
|
-
if (state.merchandisingType !== 'recommendations') {
|
|
56
|
-
state.rule = emptyCondition;
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
state.rule = getEmptyMerchRule('recommendations');
|
|
60
|
-
if (!isSource) {
|
|
61
|
-
state.rule.operands = [emptyCondition];
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
const emptySourceCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
65
|
-
state.rule.sourceOperands = [emptySourceCondition];
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
else if (state.merchandisingType === 'merchandisingRule') {
|
|
70
|
-
addConditionToMerchandisingRule(state);
|
|
71
|
-
}
|
|
72
|
-
else if (state.merchandisingType === 'landingPage') {
|
|
73
|
-
addConditionToLandingPageRule(state);
|
|
74
|
-
}
|
|
75
|
-
else if (state.merchandisingType == 'recommendations') {
|
|
76
|
-
const emptyCondition = getEmptyConditionByRuleType('recommendations');
|
|
77
|
-
let operands = getOperands(state, isSource);
|
|
78
|
-
//we assume that if the rule exist, there is already at least
|
|
79
|
-
//1 condition in the list of operands
|
|
80
|
-
if (operands) {
|
|
81
|
-
operands.push(emptyCondition);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
operands = [emptyCondition];
|
|
85
|
-
setRuleOperands(state, operands, isSource);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
addAndOrCondition(state, action) {
|
|
90
|
-
const { isSource, type } = action.payload;
|
|
91
|
-
if (!state.rule) {
|
|
92
|
-
const emptyCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
93
|
-
if (state.merchandisingType !== 'recommendations') {
|
|
94
|
-
state.rule = emptyCondition;
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
state.rule = getEmptyMerchRule('recommendations');
|
|
98
|
-
if (!isSource) {
|
|
99
|
-
state.rule.operands = [emptyCondition];
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
const emptySourceCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
103
|
-
state.rule.sourceOperands = [emptySourceCondition];
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
else if (state.merchandisingType === 'merchandisingRule') {
|
|
108
|
-
addConditionToMerchandisingRule(state);
|
|
109
|
-
}
|
|
110
|
-
else if (state.merchandisingType === 'landingPage') {
|
|
111
|
-
addConditionToLandingPageRule(state);
|
|
112
|
-
}
|
|
113
|
-
else if (state.merchandisingType == 'recommendations') {
|
|
114
|
-
const emptyCondition = getEmptyConditionByRuleType('recommendations');
|
|
115
|
-
let operands = getOperands(state, isSource);
|
|
116
|
-
//we assume that if the rule exist, there is already at least
|
|
117
|
-
//1 condition in the list of operands
|
|
118
|
-
if (operands) {
|
|
119
|
-
operands.push(emptyCondition);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
operands = [emptyCondition];
|
|
123
|
-
setRuleOperands(state, operands, isSource);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
if (type) {
|
|
127
|
-
console.log(state.rule.type);
|
|
128
|
-
state.rule.type = type;
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
addNestedAndOrCondition(state, action) {
|
|
132
|
-
var _a, _b, _c, _d, _e;
|
|
133
|
-
const { isSource, type, operandIndex } = action.payload;
|
|
134
|
-
const operands = Object.assign({}, (_a = state.rule) === null || _a === void 0 ? void 0 : _a.operands[operandIndex]);
|
|
135
|
-
if (((_c = (_b = state.rule) === null || _b === void 0 ? void 0 : _b.operands[operandIndex]) === null || _c === void 0 ? void 0 : _c.type) !== 'and' && ((_e = (_d = state.rule) === null || _d === void 0 ? void 0 : _d.operands[operandIndex]) === null || _e === void 0 ? void 0 : _e.type) !== 'or') {
|
|
136
|
-
state.rule.operands[operandIndex] = {};
|
|
137
|
-
state.rule.operands[operandIndex].operands = [operands];
|
|
138
|
-
}
|
|
139
|
-
state.rule.operands[operandIndex].type = type;
|
|
140
|
-
const emptyCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
141
|
-
if (state.merchandisingType !== 'recommendations') {
|
|
142
|
-
state.rule.operands[operandIndex].operands.push(emptyCondition);
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
setConditionType(state, action) {
|
|
146
|
-
if (state.merchandisingType === 'landingPage') {
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
if (state.rule === null) {
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
const { index, type, isSource } = action.payload;
|
|
153
|
-
if (isConditionInRuleRoot(state)) {
|
|
154
|
-
state.rule = setConditionType(type, state.rule);
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
let condition = getConditionByIndex(state, index, isSource);
|
|
158
|
-
if (!condition) {
|
|
159
|
-
//should not happen, protection I guess
|
|
160
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
161
|
-
}
|
|
162
|
-
let operands = getOperands(state, isSource);
|
|
163
|
-
if (!operands) {
|
|
164
|
-
//protection, should not happen
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
operands[index] = setConditionType(type, condition);
|
|
168
|
-
},
|
|
169
|
-
setNestedConditionType(state, action) {
|
|
170
|
-
if (state.merchandisingType === 'landingPage') {
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
if (state.rule === null) {
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
const { index, nestedIndex, type, isSource } = action.payload;
|
|
177
|
-
if (isConditionInRuleRoot(state)) {
|
|
178
|
-
state.rule = setConditionType(type, state.rule);
|
|
179
|
-
return;
|
|
180
|
-
}
|
|
181
|
-
let condition = getConditionByIndex(state, index, isSource, nestedIndex);
|
|
182
|
-
if (!condition) {
|
|
183
|
-
//should not happen, protection I guess
|
|
184
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
185
|
-
}
|
|
186
|
-
let operands = getOperands(state, isSource);
|
|
187
|
-
if (!operands) {
|
|
188
|
-
//protection, should not happen
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
191
|
-
operands[index].operands[nestedIndex] = setConditionType(type, condition);
|
|
192
|
-
},
|
|
193
|
-
deleteCondition(state, action) {
|
|
194
|
-
const { index, isSource } = action.payload;
|
|
195
|
-
if (!state.rule) {
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
else if (isConditionInRuleRoot(state)) {
|
|
199
|
-
if (state.merchandisingType == 'merchandisingRule') {
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
state.rule = null;
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
if (state.merchandisingType !== 'landingPage') {
|
|
206
|
-
let operands = getOperands(state, isSource);
|
|
207
|
-
if (!operands || operands.length - 1 < index) {
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
operands = operands.filter((operand, i) => i !== index);
|
|
211
|
-
if (operands.length == 0 && state.merchandisingType == 'merchandisingRule') {
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
setRuleOperands(state, operands, isSource);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
deleteNestedCondition(state, action) {
|
|
219
|
-
var _a, _b;
|
|
220
|
-
const { index, nestedIndex, isSource } = action.payload;
|
|
221
|
-
if (!state.rule) {
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
else if (isConditionInRuleRoot(state)) {
|
|
225
|
-
state.rule = null;
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
if (state.merchandisingType !== 'landingPage') {
|
|
229
|
-
let operands = getOperands(state, isSource);
|
|
230
|
-
if (!operands || operands.length - 1 < index) {
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
if ((_a = operands[index]) === null || _a === void 0 ? void 0 : _a.operands) {
|
|
234
|
-
(_b = operands[index]) === null || _b === void 0 ? void 0 : _b.operands.splice(nestedIndex, 1);
|
|
235
|
-
}
|
|
236
|
-
setRuleOperands(state, operands, isSource);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
setConditionName(state, action) {
|
|
241
|
-
if (state.rule === null) {
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
const { index, name, isSource } = action.payload;
|
|
245
|
-
const emptyCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
246
|
-
let operator = getOperatorByConditionName(name, emptyCondition);
|
|
247
|
-
if (isConditionInRuleRoot(state)) {
|
|
248
|
-
state.rule = Object.assign(Object.assign({}, emptyCondition), { name: name });
|
|
249
|
-
if (operator) {
|
|
250
|
-
state.rule = Object.assign(Object.assign({}, state.rule), { operator: operator });
|
|
251
|
-
}
|
|
252
|
-
else {
|
|
253
|
-
delete state.rule['operator'];
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
else {
|
|
257
|
-
const operands = getOperands(state, isSource);
|
|
258
|
-
if (!operands) {
|
|
259
|
-
return;
|
|
260
|
-
} //protection, should not happen
|
|
261
|
-
if (operator) {
|
|
262
|
-
operands[index] = Object.assign(Object.assign({}, emptyCondition), { name: name, operator: operator });
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
let condition = Object.assign(Object.assign({}, emptyCondition), { name: name });
|
|
266
|
-
delete condition['operator'];
|
|
267
|
-
operands[index] = condition;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
setNestedConditionName(state, action) {
|
|
272
|
-
if (state.rule === null) {
|
|
273
|
-
return;
|
|
274
|
-
}
|
|
275
|
-
const { index, nestedIndex, name, isSource } = action.payload;
|
|
276
|
-
const emptyCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
277
|
-
let operator = getOperatorByConditionName(name, emptyCondition);
|
|
278
|
-
if (isConditionInRuleRoot(state)) {
|
|
279
|
-
state.rule = Object.assign(Object.assign({}, emptyCondition), { name: name });
|
|
280
|
-
if (operator) {
|
|
281
|
-
state.rule = Object.assign(Object.assign({}, state.rule), { operator: operator });
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
delete state.rule['operator'];
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
const operands = getOperands(state, isSource);
|
|
289
|
-
if (!operands) {
|
|
290
|
-
return;
|
|
291
|
-
} //protection, should not happen
|
|
292
|
-
if (operator) {
|
|
293
|
-
operands[index].operands[nestedIndex] = Object.assign(Object.assign({}, emptyCondition), { name: name, operator: operator });
|
|
294
|
-
}
|
|
295
|
-
else {
|
|
296
|
-
let condition = Object.assign(Object.assign({}, emptyCondition), { name: name });
|
|
297
|
-
delete condition['operator'];
|
|
298
|
-
operands[index].operands[nestedIndex] = condition;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
setConditionAttribute(state, action) {
|
|
303
|
-
var _a, _b;
|
|
304
|
-
if (state.rule === null) {
|
|
305
|
-
return;
|
|
306
|
-
}
|
|
307
|
-
const { index, attribute, isSource } = action.payload;
|
|
308
|
-
//this is only when the condition is in the rule root
|
|
309
|
-
if (state.rule.type === 'attribute') {
|
|
310
|
-
state.rule.name = attribute;
|
|
311
|
-
state.rule.value = state.rule.operator === 'not_exist' ? undefined : [];
|
|
312
|
-
}
|
|
313
|
-
else {
|
|
314
|
-
const operands = getOperands(state, isSource);
|
|
315
|
-
if (!operands) {
|
|
316
|
-
return;
|
|
317
|
-
} //protection, should not happen
|
|
318
|
-
if (((_a = operands[index]) === null || _a === void 0 ? void 0 : _a.type) !== 'attribute') {
|
|
319
|
-
return;
|
|
320
|
-
}
|
|
321
|
-
const condition = (_b = operands[index]) !== null && _b !== void 0 ? _b : getEmptyConditionByRuleType(state.merchandisingType);
|
|
322
|
-
const value = condition.operator === 'not_exist' ?
|
|
323
|
-
undefined : [];
|
|
324
|
-
operands[index] = Object.assign(Object.assign({}, condition), { name: attribute, value: value });
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
setNestedConditionAttribute(state, action) {
|
|
328
|
-
var _a, _b;
|
|
329
|
-
if (state.rule === null) {
|
|
330
|
-
return;
|
|
331
|
-
}
|
|
332
|
-
const { index, nestedIndex, attribute, isSource } = action.payload;
|
|
333
|
-
//this is only when the condition is in the rule root
|
|
334
|
-
if (state.rule.type === 'attribute') {
|
|
335
|
-
state.rule.name = attribute;
|
|
336
|
-
state.rule.value = [];
|
|
337
|
-
}
|
|
338
|
-
else {
|
|
339
|
-
const operands = getOperands(state, isSource);
|
|
340
|
-
if (!operands) {
|
|
341
|
-
return;
|
|
342
|
-
} //protection, should not happen
|
|
343
|
-
if (((_a = operands[index].operands[nestedIndex]) === null || _a === void 0 ? void 0 : _a.type) !== 'attribute') {
|
|
344
|
-
return;
|
|
345
|
-
}
|
|
346
|
-
const condition = (_b = operands[index].operands[nestedIndex]) !== null && _b !== void 0 ? _b : getEmptyConditionByRuleType(state.merchandisingType);
|
|
347
|
-
operands[index].operands[nestedIndex] = Object.assign(Object.assign({}, condition), { name: attribute, value: [] });
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
setOperator(state, action) {
|
|
351
|
-
if (state.rule === null) {
|
|
352
|
-
return;
|
|
353
|
-
}
|
|
354
|
-
const { index, operator, isSource } = action.payload;
|
|
355
|
-
if (isConditionInRuleRoot(state)) {
|
|
356
|
-
const rule = state.rule;
|
|
357
|
-
rule.operator = operator;
|
|
358
|
-
if (operator === 'contains') {
|
|
359
|
-
rule.value = rule.value.filter(v => v.indexOf('*') < 0);
|
|
360
|
-
}
|
|
361
|
-
else if (operator === 'not_exist') {
|
|
362
|
-
rule.value = undefined;
|
|
363
|
-
}
|
|
364
|
-
else if (rule.value === undefined) {
|
|
365
|
-
rule.value = [];
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
else {
|
|
369
|
-
const operands = getOperands(state, isSource);
|
|
370
|
-
if (!operands) {
|
|
371
|
-
//should not happen
|
|
372
|
-
return;
|
|
373
|
-
}
|
|
374
|
-
let condition = getConditionByIndex(state, index, isSource);
|
|
375
|
-
if (!condition) {
|
|
376
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
377
|
-
}
|
|
378
|
-
if ('operands' in condition) {
|
|
379
|
-
return;
|
|
380
|
-
} //protection
|
|
381
|
-
let value = (operator === 'contains') ?
|
|
382
|
-
condition.value.filter(v => v.indexOf('*') <= 0) : condition.value;
|
|
383
|
-
if (operator === 'not_exist') {
|
|
384
|
-
value = undefined;
|
|
385
|
-
}
|
|
386
|
-
else if (value === undefined) {
|
|
387
|
-
value = [];
|
|
388
|
-
}
|
|
389
|
-
operands[index] = Object.assign(Object.assign({}, condition), { operator: operator, value: value });
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
setNestedOperator(state, action) {
|
|
393
|
-
if (state.rule === null) {
|
|
394
|
-
return;
|
|
395
|
-
}
|
|
396
|
-
const { index, nestedIndex, operator, isSource } = action.payload;
|
|
397
|
-
if (isConditionInRuleRoot(state)) {
|
|
398
|
-
const rule = state.rule;
|
|
399
|
-
rule.operator = action.payload.operator;
|
|
400
|
-
const value = (action.payload.operator === 'contains') ?
|
|
401
|
-
rule.value.filter(v => v.indexOf('*') < 0) : rule.value;
|
|
402
|
-
rule.value = value;
|
|
403
|
-
}
|
|
404
|
-
else {
|
|
405
|
-
const operands = getOperands(state, isSource);
|
|
406
|
-
if (!operands) {
|
|
407
|
-
//should not happen
|
|
408
|
-
return;
|
|
409
|
-
}
|
|
410
|
-
let condition = getConditionByIndex(state, index, isSource, nestedIndex);
|
|
411
|
-
if (!condition) {
|
|
412
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
413
|
-
}
|
|
414
|
-
if (('operands' in condition)) {
|
|
415
|
-
return;
|
|
416
|
-
} //protection
|
|
417
|
-
const value = (action.payload.operator === 'contains') ?
|
|
418
|
-
condition.value.filter(v => v.indexOf('*') <= 0) : condition.value;
|
|
419
|
-
operands[index].operands[nestedIndex] = Object.assign(Object.assign({}, condition), { operator: operator, value: value });
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
setValue(state, action) {
|
|
423
|
-
var _a;
|
|
424
|
-
if (state.rule === null) {
|
|
425
|
-
return;
|
|
426
|
-
}
|
|
427
|
-
const { index, value, isSource } = action.payload;
|
|
428
|
-
if (isConditionInRuleRoot(state)) {
|
|
429
|
-
state.rule.value = value;
|
|
430
|
-
}
|
|
431
|
-
else {
|
|
432
|
-
const rule = state.rule;
|
|
433
|
-
if (state.merchandisingType === 'landingPage' &&
|
|
434
|
-
((_a = rule.operands[action.payload.index]) === null || _a === void 0 ? void 0 : _a.type) !== 'attribute') {
|
|
435
|
-
return;
|
|
436
|
-
}
|
|
437
|
-
const operands = getOperands(state, isSource);
|
|
438
|
-
if (!operands) {
|
|
439
|
-
return; /* protection */
|
|
440
|
-
}
|
|
441
|
-
let condition = getConditionByIndex(state, index, isSource);
|
|
442
|
-
if (!condition) {
|
|
443
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
444
|
-
}
|
|
445
|
-
operands[index] = Object.assign(Object.assign({}, condition), { value: action.payload.value });
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
setNestedValue(state, action) {
|
|
449
|
-
var _a;
|
|
450
|
-
if (state.rule === null) {
|
|
451
|
-
return;
|
|
452
|
-
}
|
|
453
|
-
const { index, nestedIndex, value, isSource } = action.payload;
|
|
454
|
-
if (isConditionInRuleRoot(state)) {
|
|
455
|
-
state.rule.value = value;
|
|
456
|
-
}
|
|
457
|
-
else {
|
|
458
|
-
const rule = state.rule;
|
|
459
|
-
if (state.merchandisingType === 'landingPage' &&
|
|
460
|
-
((_a = rule.operands[index].operands[nestedIndex]) === null || _a === void 0 ? void 0 : _a.type) !== 'attribute') {
|
|
461
|
-
return;
|
|
462
|
-
}
|
|
463
|
-
const operands = getOperands(state, isSource);
|
|
464
|
-
if (!operands) {
|
|
465
|
-
return; /* protection */
|
|
466
|
-
}
|
|
467
|
-
let condition = getConditionByIndex(state, index, isSource, nestedIndex);
|
|
468
|
-
if (!condition) {
|
|
469
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
470
|
-
}
|
|
471
|
-
operands[index].operands[nestedIndex] = Object.assign(Object.assign({}, condition), { value: action.payload.value });
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
setPeriod(state, action) {
|
|
475
|
-
if (state.rule === null) {
|
|
476
|
-
return;
|
|
477
|
-
}
|
|
478
|
-
const { index, period, isSource } = action.payload;
|
|
479
|
-
if (isConditionInRuleRoot(state)) {
|
|
480
|
-
if (state.rule.type !== 'sales' && state.rule.name !== 'sales' &&
|
|
481
|
-
state.rule.type !== 'conversion_rates' && state.rule.name !== 'conversion_rates' &&
|
|
482
|
-
state.rule.type !== 'views' && state.rule.name !== 'views' &&
|
|
483
|
-
state.rule.type !== 'product_returns' && state.rule.name !== 'product_returns') {
|
|
484
|
-
return;
|
|
485
|
-
}
|
|
486
|
-
state.rule.period = period;
|
|
487
|
-
}
|
|
488
|
-
else {
|
|
489
|
-
const operands = getOperands(state, isSource);
|
|
490
|
-
if (!operands) {
|
|
491
|
-
//protection, should not happen
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
let condition = getConditionByIndex(state, index, isSource);
|
|
495
|
-
if (!condition) {
|
|
496
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
497
|
-
}
|
|
498
|
-
if (condition.type !== 'sales' && condition.name !== 'sales'
|
|
499
|
-
&& condition.type !== 'views' && condition.type !== 'conversion_rates'
|
|
500
|
-
&& condition.type !== 'product_returns') {
|
|
501
|
-
return;
|
|
502
|
-
}
|
|
503
|
-
operands[index] = Object.assign(Object.assign({}, condition), { period: period });
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
setNestedPeriod(state, action) {
|
|
507
|
-
if (state.rule === null) {
|
|
508
|
-
return;
|
|
509
|
-
}
|
|
510
|
-
const { index, nestedIndex, period, isSource } = action.payload;
|
|
511
|
-
if (isConditionInRuleRoot(state)) {
|
|
512
|
-
if (state.rule.type !== 'sales' && state.rule.name !== 'sales' &&
|
|
513
|
-
state.rule.type !== 'conversion_rates' && state.rule.name !== 'conversion_rates' &&
|
|
514
|
-
state.rule.type !== 'views' && state.rule.name !== 'views' &&
|
|
515
|
-
state.rule.type !== 'product_returns' && state.rule.name !== 'product_returns') {
|
|
516
|
-
return;
|
|
517
|
-
}
|
|
518
|
-
state.rule.period = period;
|
|
519
|
-
}
|
|
520
|
-
else {
|
|
521
|
-
const operands = getOperands(state, isSource);
|
|
522
|
-
if (!operands) {
|
|
523
|
-
//protection, should not happen
|
|
524
|
-
return;
|
|
525
|
-
}
|
|
526
|
-
let condition = getConditionByIndex(state, index, isSource, nestedIndex);
|
|
527
|
-
if (!condition) {
|
|
528
|
-
condition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
529
|
-
}
|
|
530
|
-
if (condition.type !== 'sales' && condition.name !== 'sales'
|
|
531
|
-
&& condition.type !== 'views' && condition.type !== 'conversion_rates'
|
|
532
|
-
&& condition.type !== 'product_returns') {
|
|
533
|
-
return;
|
|
534
|
-
}
|
|
535
|
-
operands[index].operands[nestedIndex] = Object.assign(Object.assign({}, condition), { period: period });
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
});
|
|
540
|
-
function getOperatorByConditionName(name, emptyCondition) {
|
|
541
|
-
let operator;
|
|
542
|
-
if (name === 'Price' || name === 'rating' || name === 'popularity') {
|
|
543
|
-
operator = 'range';
|
|
544
|
-
}
|
|
545
|
-
else if (name === 'sales' || name == 'views' || name === 'conversion_rates' || name == 'product_returns') {
|
|
546
|
-
operator = undefined;
|
|
547
|
-
}
|
|
548
|
-
else {
|
|
549
|
-
operator = emptyCondition.operator;
|
|
550
|
-
}
|
|
551
|
-
return operator;
|
|
552
|
-
}
|
|
553
|
-
function extractConditionFromSingleMerchRule(rule) {
|
|
554
|
-
let resultRule = {
|
|
555
|
-
type: rule.type,
|
|
556
|
-
value: rule.value,
|
|
557
|
-
name: rule.name,
|
|
558
|
-
operator: rule.operator
|
|
559
|
-
};
|
|
560
|
-
if ((rule.type === 'sales' || rule.type === 'views' || rule.type === 'conversion_rates' || rule.type === 'product_returns')
|
|
561
|
-
&& rule.period) {
|
|
562
|
-
return Object.assign(Object.assign({}, resultRule), { period: rule.period });
|
|
563
|
-
}
|
|
564
|
-
else {
|
|
565
|
-
return resultRule;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
function setConditionType(type, condition) {
|
|
569
|
-
if (type !== 'attribute') {
|
|
570
|
-
condition = Object.assign(Object.assign({}, condition), { type: type, value: [] });
|
|
571
|
-
delete condition['name'];
|
|
572
|
-
delete condition['operator'];
|
|
573
|
-
delete condition['period'];
|
|
574
|
-
}
|
|
575
|
-
else {
|
|
576
|
-
condition = Object.assign(Object.assign({}, condition), { type: type, operator: 'in', value: [] });
|
|
577
|
-
}
|
|
578
|
-
if (type === 'widget') {
|
|
579
|
-
condition['operator'] = 'in';
|
|
580
|
-
}
|
|
581
|
-
if (type === 'rating' || type === 'popularity') {
|
|
582
|
-
condition['name'] = type;
|
|
583
|
-
condition['operator'] = 'range';
|
|
584
|
-
}
|
|
585
|
-
return condition;
|
|
586
|
-
}
|
|
587
|
-
function addConditionToMerchandisingRule(state) {
|
|
588
|
-
const emptyCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
589
|
-
if (!('operands' in state.rule)) {
|
|
590
|
-
const condition = extractConditionFromSingleMerchRule(state.rule);
|
|
591
|
-
state.rule = {
|
|
592
|
-
type: 'and',
|
|
593
|
-
searchContextValues: undefined,
|
|
594
|
-
categoriesContextValues: undefined,
|
|
595
|
-
contextArr: [],
|
|
596
|
-
operands: [
|
|
597
|
-
condition,
|
|
598
|
-
emptyCondition
|
|
599
|
-
],
|
|
600
|
-
action: 'promote',
|
|
601
|
-
promotionLevel: 1
|
|
602
|
-
};
|
|
603
|
-
}
|
|
604
|
-
else {
|
|
605
|
-
const multiRule = state.rule;
|
|
606
|
-
multiRule.operands.push(emptyCondition);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
function addConditionToLandingPageRule(state) {
|
|
610
|
-
const emptyCondition = getEmptyConditionByRuleType(state.merchandisingType);
|
|
611
|
-
if (state.rule.type === 'attribute') {
|
|
612
|
-
state.rule = {
|
|
613
|
-
type: 'and',
|
|
614
|
-
operands: [
|
|
615
|
-
state.rule,
|
|
616
|
-
emptyCondition
|
|
617
|
-
]
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
else {
|
|
621
|
-
const multiRule = state.rule;
|
|
622
|
-
multiRule.operands.push(emptyCondition);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
const isConditionInRuleRoot = (state) => {
|
|
626
|
-
if (!state.rule) {
|
|
627
|
-
return false;
|
|
628
|
-
}
|
|
629
|
-
return !('operands' in state.rule) && state.merchandisingType !== 'recommendations';
|
|
630
|
-
};
|
|
631
|
-
const getOperands = (state, isSource) => {
|
|
632
|
-
return getRuleOperands(state.rule, state.merchandisingType, isSource);
|
|
633
|
-
};
|
|
634
|
-
const setRuleOperands = (state, operands, isSource) => {
|
|
635
|
-
if (!state.rule) {
|
|
636
|
-
return;
|
|
637
|
-
}
|
|
638
|
-
if (isSource) {
|
|
639
|
-
state.rule.sourceOperands = operands;
|
|
640
|
-
}
|
|
641
|
-
else {
|
|
642
|
-
state.rule.operands = operands;
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
const getConditionByIndex = (state, i, isSource, nestedIndex) => {
|
|
646
|
-
if (isSource) {
|
|
647
|
-
if (!state.rule.sourceOperands) {
|
|
648
|
-
return undefined;
|
|
649
|
-
}
|
|
650
|
-
else {
|
|
651
|
-
return state.rule.sourceOperands[i];
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
else {
|
|
655
|
-
if (nestedIndex != undefined) {
|
|
656
|
-
return state.rule.operands[i].operands[nestedIndex];
|
|
657
|
-
}
|
|
658
|
-
return state.rule.operands[i];
|
|
659
|
-
}
|
|
660
|
-
};
|
|
661
|
-
export const selectRule = (state) => state.merchandisingConditions.rule;
|
|
662
|
-
export const selectMerchandisingType = (state) => state.merchandisingConditions.merchandisingType;
|
|
663
|
-
export const setRule = merchandisingConditionsSlice.actions.setRule;
|
|
664
|
-
export default merchandisingConditionsSlice.reducer;
|
|
665
|
-
//# sourceMappingURL=merchandisingConditionsSlice.js.map
|