@fast-simon/dashboard-utilities 1.0.30 → 1.0.32
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/banner.js.map +1 -0
- package/dist/@types/categories.js.map +1 -0
- package/dist/@types/categoriesNavigation.js.map +1 -0
- package/dist/@types/context.js.map +1 -0
- package/dist/@types/currency.js.map +1 -0
- package/dist/@types/editorProduct.js.map +1 -0
- package/dist/@types/facets.js.map +1 -0
- package/dist/@types/iconProps.js.map +1 -0
- package/dist/@types/narrow.js.map +1 -0
- package/dist/@types/product.js.map +1 -0
- package/dist/@types/productLabel.js.map +1 -0
- package/dist/@types/promoTile.js.map +1 -0
- package/dist/@types/results.js.map +1 -0
- package/dist/@types/sideMenu.js.map +1 -0
- package/dist/@types/sortBy.js.map +1 -0
- package/dist/App.js.map +1 -0
- package/dist/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js.map +1 -0
- package/dist/components/BackOfficeFiltersMenu/index.js.map +1 -0
- package/dist/components/BackOfficeFiltersMenu/utils.js.map +1 -0
- package/dist/components/CheckboxFilter/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/CheckboxFilter/CheckboxFilter.js.map +1 -0
- package/dist/components/DragAndDrop/DndContextWrapper.js.map +1 -0
- package/dist/components/DragAndDrop/Droppable.js.map +1 -0
- package/dist/components/DragAndDrop/SortableItem.js.map +1 -0
- package/dist/components/FacetItem/FacetItem.js.map +1 -0
- package/dist/components/FastSimonApi/FastSimonApi.js.map +1 -0
- package/dist/components/FastSimonApi/context.js.map +1 -0
- package/dist/components/FastSimonApi/index.js.map +1 -0
- package/dist/components/FastSimonApi/reducer.js.map +1 -0
- package/dist/components/FromToFilter/From/From.js.map +1 -0
- package/dist/components/FromToFilter/FromToFilter.js.map +1 -0
- package/dist/components/FromToFilter/To/To.js.map +1 -0
- package/dist/components/FromToFilter/utils.js.map +1 -0
- package/dist/components/InStoreFiltersMenu/InStoreFiltersMenu.js.map +1 -0
- package/dist/components/InStoreFiltersMenu/index.js.map +1 -0
- package/dist/components/Input/Input.js.map +1 -0
- package/dist/components/Input/index.js.map +1 -0
- package/dist/components/LastReceivedDateFilter/LastReceivedDate.js.map +1 -0
- package/dist/components/LastReceivedDateFilter/utils.js.map +1 -0
- package/dist/components/RadioFilter/Radio/Radio.js.map +1 -0
- package/dist/components/RadioFilter/RadioFilter.js.map +1 -0
- package/dist/components/RadioFilter/utils.js.map +1 -0
- package/dist/components/ReactDatePicker/ReactDatePicker.js.map +1 -0
- package/dist/components/ReactDatePicker/index.js.map +1 -0
- package/dist/components/RenderIfVisible/RenderIfVisible.js.map +1 -0
- package/dist/components/RenderIfVisible/index.js.map +1 -0
- package/dist/components/SingleFilter/SingleFilter.js.map +1 -0
- package/dist/components/SingleFilter/utils.js.map +1 -0
- package/dist/components/SliderFilter/SliderFilter.js.map +1 -0
- package/dist/components/SliderFilter/index.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/common.js.map +1 -0
- package/dist/components/productGrid/ProductGrid.js.map +1 -0
- package/dist/components/productGrid/index.js.map +1 -0
- package/dist/icons/BackOfficeFiltersIcon.js.map +1 -0
- package/dist/icons/BannersIcon.js.map +1 -0
- package/dist/icons/GeneralIcon.js.map +1 -0
- package/dist/icons/HelpIcon.js.map +1 -0
- package/dist/icons/InStoreFiltersIcon.js.map +1 -0
- package/dist/icons/PromoteIcon.js.map +1 -0
- package/dist/icons/RemoveIcon.js.map +1 -0
- package/dist/icons/RestoreIcon.js.map +1 -0
- package/dist/{dashboard-utilities/src/index.d.ts → index.d.ts} +1 -2
- package/dist/{dashboard-utilities/src/index.js → index.js} +1 -2
- package/dist/index.js.map +1 -0
- package/dist/main.js.map +1 -0
- package/dist/services/API.js.map +1 -0
- package/dist/services/landingPage.js.map +1 -0
- package/dist/services/products.js.map +1 -0
- package/dist/{dashboard-utilities/src/services → services}/search.js +3 -4
- package/dist/services/search.js.map +1 -0
- package/dist/{dashboard-utilities/src/services → services}/smartCollections.js +3 -4
- package/dist/services/smartCollections.js.map +1 -0
- package/dist/utils/customTagsFilters.js.map +1 -0
- package/dist/utils/useDragToSelect.js.map +1 -0
- package/package.json +1 -1
- package/dist/dashboard-utilities/src/@types/banner.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/categories.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/categoriesNavigation.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/context.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/currency.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/editorProduct.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/facets.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/iconProps.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/narrow.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/product.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/productLabel.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/promoTile.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/results.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/sideMenu.js.map +0 -1
- package/dist/dashboard-utilities/src/@types/sortBy.js.map +0 -1
- package/dist/dashboard-utilities/src/App.js.map +0 -1
- package/dist/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js.map +0 -1
- package/dist/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.js.map +0 -1
- package/dist/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.js.map +0 -1
- package/dist/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.js.map +0 -1
- package/dist/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.js.map +0 -1
- package/dist/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.js.map +0 -1
- package/dist/dashboard-utilities/src/components/DragAndDrop/Droppable.js.map +0 -1
- package/dist/dashboard-utilities/src/components/DragAndDrop/SortableItem.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FacetItem/FacetItem.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FastSimonApi/context.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FastSimonApi/index.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FastSimonApi/reducer.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FromToFilter/From/From.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FromToFilter/FromToFilter.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FromToFilter/To/To.js.map +0 -1
- package/dist/dashboard-utilities/src/components/FromToFilter/utils.js.map +0 -1
- package/dist/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.js.map +0 -1
- package/dist/dashboard-utilities/src/components/InStoreFiltersMenu/index.js.map +0 -1
- package/dist/dashboard-utilities/src/components/Input/Input.js.map +0 -1
- package/dist/dashboard-utilities/src/components/Input/index.js.map +0 -1
- package/dist/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.js.map +0 -1
- package/dist/dashboard-utilities/src/components/LastReceivedDateFilter/utils.js.map +0 -1
- package/dist/dashboard-utilities/src/components/RadioFilter/Radio/Radio.js.map +0 -1
- package/dist/dashboard-utilities/src/components/RadioFilter/RadioFilter.js.map +0 -1
- package/dist/dashboard-utilities/src/components/RadioFilter/utils.js.map +0 -1
- package/dist/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.js.map +0 -1
- package/dist/dashboard-utilities/src/components/ReactDatePicker/index.js.map +0 -1
- package/dist/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.js.map +0 -1
- package/dist/dashboard-utilities/src/components/RenderIfVisible/index.js.map +0 -1
- package/dist/dashboard-utilities/src/components/SingleFilter/SingleFilter.js.map +0 -1
- package/dist/dashboard-utilities/src/components/SingleFilter/utils.js.map +0 -1
- package/dist/dashboard-utilities/src/components/SliderFilter/SliderFilter.js.map +0 -1
- package/dist/dashboard-utilities/src/components/SliderFilter/index.js.map +0 -1
- package/dist/dashboard-utilities/src/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/dashboard-utilities/src/components/common.js.map +0 -1
- package/dist/dashboard-utilities/src/components/productGrid/ProductGrid.js.map +0 -1
- package/dist/dashboard-utilities/src/components/productGrid/index.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/BackOfficeFiltersIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/BannersIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/GeneralIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/HelpIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/InStoreFiltersIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/PromoteIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/RemoveIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/icons/RestoreIcon.js.map +0 -1
- package/dist/dashboard-utilities/src/index.js.map +0 -1
- package/dist/dashboard-utilities/src/main.js.map +0 -1
- package/dist/dashboard-utilities/src/sections/fullTextSearch/index.d.ts +0 -6
- package/dist/dashboard-utilities/src/sections/fullTextSearch/index.js +0 -70
- package/dist/dashboard-utilities/src/sections/fullTextSearch/index.js.map +0 -1
- package/dist/dashboard-utilities/src/sections/fullTextSearch/utils.d.ts +0 -17
- package/dist/dashboard-utilities/src/sections/fullTextSearch/utils.js +0 -105
- package/dist/dashboard-utilities/src/sections/fullTextSearch/utils.js.map +0 -1
- package/dist/dashboard-utilities/src/sections/index.d.ts +0 -3
- package/dist/dashboard-utilities/src/sections/index.js +0 -215
- package/dist/dashboard-utilities/src/sections/index.js.map +0 -1
- package/dist/dashboard-utilities/src/sections/smartCollections/index.d.ts +0 -6
- package/dist/dashboard-utilities/src/sections/smartCollections/index.js +0 -103
- package/dist/dashboard-utilities/src/sections/smartCollections/index.js.map +0 -1
- package/dist/dashboard-utilities/src/sections/smartCollections/utils.d.ts +0 -35
- package/dist/dashboard-utilities/src/sections/smartCollections/utils.js +0 -148
- package/dist/dashboard-utilities/src/sections/smartCollections/utils.js.map +0 -1
- package/dist/dashboard-utilities/src/services/API.js.map +0 -1
- package/dist/dashboard-utilities/src/services/fullTextSearch.d.ts +0 -4
- package/dist/dashboard-utilities/src/services/fullTextSearch.js +0 -40
- package/dist/dashboard-utilities/src/services/fullTextSearch.js.map +0 -1
- package/dist/dashboard-utilities/src/services/landingPage.js.map +0 -1
- package/dist/dashboard-utilities/src/services/products.js.map +0 -1
- package/dist/dashboard-utilities/src/services/search.js.map +0 -1
- package/dist/dashboard-utilities/src/services/smartCollections.js.map +0 -1
- package/dist/dashboard-utilities/src/utils/customTagsFilters.js.map +0 -1
- package/dist/dashboard-utilities/src/utils/useDragToSelect.js.map +0 -1
- package/dist/serving/src/@types/Tab.d.ts +0 -9
- package/dist/serving/src/@types/Tab.js +0 -6
- package/dist/serving/src/@types/Tab.js.map +0 -1
- package/dist/serving/src/@types/bigcommerceCurrency.d.ts +0 -7
- package/dist/serving/src/@types/bigcommerceCurrency.js +0 -2
- package/dist/serving/src/@types/bigcommerceCurrency.js.map +0 -1
- package/dist/serving/src/@types/bigcommerceCustomer.d.ts +0 -19
- package/dist/serving/src/@types/bigcommerceCustomer.js +0 -2
- package/dist/serving/src/@types/bigcommerceCustomer.js.map +0 -1
- package/dist/serving/src/@types/categories.d.ts +0 -16
- package/dist/serving/src/@types/categories.js +0 -2
- package/dist/serving/src/@types/categories.js.map +0 -1
- package/dist/serving/src/@types/currency.d.ts +0 -1
- package/dist/serving/src/@types/currency.js +0 -2
- package/dist/serving/src/@types/currency.js.map +0 -1
- package/dist/serving/src/@types/device.d.ts +0 -1
- package/dist/serving/src/@types/device.js +0 -2
- package/dist/serving/src/@types/device.js.map +0 -1
- package/dist/serving/src/@types/editor.d.ts +0 -461
- package/dist/serving/src/@types/editor.js +0 -8
- package/dist/serving/src/@types/editor.js.map +0 -1
- package/dist/serving/src/@types/gridView.d.ts +0 -4
- package/dist/serving/src/@types/gridView.js +0 -6
- package/dist/serving/src/@types/gridView.js.map +0 -1
- package/dist/serving/src/@types/ispOptions.d.ts +0 -64
- package/dist/serving/src/@types/ispOptions.js +0 -2
- package/dist/serving/src/@types/ispOptions.js.map +0 -1
- package/dist/serving/src/@types/narrow.d.ts +0 -7
- package/dist/serving/src/@types/narrow.js +0 -2
- package/dist/serving/src/@types/narrow.js.map +0 -1
- package/dist/serving/src/@types/platform.d.ts +0 -1
- package/dist/serving/src/@types/platform.js +0 -2
- package/dist/serving/src/@types/platform.js.map +0 -1
- package/dist/serving/src/@types/product.d.ts +0 -158
- package/dist/serving/src/@types/product.js +0 -8
- package/dist/serving/src/@types/product.js.map +0 -1
- package/dist/serving/src/@types/promoTile.d.ts +0 -11
- package/dist/serving/src/@types/promoTile.js +0 -2
- package/dist/serving/src/@types/promoTile.js.map +0 -1
- package/dist/serving/src/@types/sortBy.d.ts +0 -3
- package/dist/serving/src/@types/sortBy.js +0 -2
- package/dist/serving/src/@types/sortBy.js.map +0 -1
- package/dist/serving/src/@types/translations.d.ts +0 -11
- package/dist/serving/src/@types/translations.js +0 -8
- package/dist/serving/src/@types/translations.js.map +0 -1
- package/dist/serving/src/@types/variation.d.ts +0 -4
- package/dist/serving/src/@types/variation.js +0 -2
- package/dist/serving/src/@types/variation.js.map +0 -1
- package/dist/serving/src/services/API.d.ts +0 -23
- package/dist/serving/src/services/API.js +0 -56
- package/dist/serving/src/services/API.js.map +0 -1
- package/dist/serving/src/services/siteSettings.d.ts +0 -80
- package/dist/serving/src/services/siteSettings.js +0 -53
- package/dist/serving/src/services/siteSettings.js.map +0 -1
- package/dist/serving/src/store/actions/setSegments.d.ts +0 -2
- package/dist/serving/src/store/actions/setSegments.js +0 -19
- package/dist/serving/src/store/actions/setSegments.js.map +0 -1
- package/dist/serving/src/store/store.d.ts +0 -88
- package/dist/serving/src/store/store.js +0 -83
- package/dist/serving/src/store/store.js.map +0 -1
- package/dist/serving/src/utils/consts.d.ts +0 -5
- package/dist/serving/src/utils/consts.js +0 -6
- package/dist/serving/src/utils/consts.js.map +0 -1
- package/dist/serving/src/utils/debug.d.ts +0 -13
- package/dist/serving/src/utils/debug.js +0 -71
- package/dist/serving/src/utils/debug.js.map +0 -1
- package/dist/serving/src/utils/getUserVariation.d.ts +0 -1
- package/dist/serving/src/utils/getUserVariation.js +0 -12
- package/dist/serving/src/utils/getUserVariation.js.map +0 -1
- package/dist/serving/src/utils/showShopifyPreviewBar.d.ts +0 -1
- package/dist/serving/src/utils/showShopifyPreviewBar.js +0 -7
- package/dist/serving/src/utils/showShopifyPreviewBar.js.map +0 -1
- package/dist/serving/src/utils/tree.d.ts +0 -36
- package/dist/serving/src/utils/tree.js +0 -118
- package/dist/serving/src/utils/tree.js.map +0 -1
- /package/dist/{dashboard-utilities/src/@types → @types}/banner.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/banner.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/categories.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/categories.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/categoriesNavigation.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/categoriesNavigation.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/context.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/context.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/currency.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/currency.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/editorProduct.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/editorProduct.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/facets.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/facets.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/iconProps.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/iconProps.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/narrow.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/narrow.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/product.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/product.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/productLabel.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/productLabel.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/promoTile.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/promoTile.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/results.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/results.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/sideMenu.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/sideMenu.js +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/sortBy.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/@types → @types}/sortBy.js +0 -0
- /package/dist/{dashboard-utilities/src/App.d.ts → App.d.ts} +0 -0
- /package/dist/{dashboard-utilities/src/App.js → App.js} +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/BackOfficeFiltersMenu/BackOfficeFiltersMenu.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/BackOfficeFiltersMenu/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/BackOfficeFiltersMenu/index.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/BackOfficeFiltersMenu/utils.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/BackOfficeFiltersMenu/utils.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/CheckboxFilter/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/CheckboxFilter/Checkbox/Checkbox.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/CheckboxFilter/CheckboxFilter.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/CheckboxFilter/CheckboxFilter.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/DragAndDrop/DndContextWrapper.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/DragAndDrop/DndContextWrapper.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/DragAndDrop/Droppable.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/DragAndDrop/Droppable.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/DragAndDrop/SortableItem.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/DragAndDrop/SortableItem.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FacetItem/FacetItem.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FacetItem/FacetItem.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/FastSimonApi.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/FastSimonApi.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/context.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/context.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/index.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/reducer.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FastSimonApi/reducer.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/From/From.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/From/From.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/FromToFilter.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/FromToFilter.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/To/To.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/To/To.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/utils.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/FromToFilter/utils.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/InStoreFiltersMenu/InStoreFiltersMenu.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/InStoreFiltersMenu/InStoreFiltersMenu.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/InStoreFiltersMenu/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/InStoreFiltersMenu/index.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/Input/Input.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/Input/Input.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/Input/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/Input/index.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/LastReceivedDateFilter/LastReceivedDate.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/LastReceivedDateFilter/LastReceivedDate.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/LastReceivedDateFilter/utils.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/LastReceivedDateFilter/utils.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RadioFilter/Radio/Radio.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RadioFilter/Radio/Radio.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RadioFilter/RadioFilter.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RadioFilter/RadioFilter.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RadioFilter/utils.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RadioFilter/utils.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/ReactDatePicker/ReactDatePicker.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/ReactDatePicker/ReactDatePicker.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/ReactDatePicker/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/ReactDatePicker/index.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RenderIfVisible/RenderIfVisible.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RenderIfVisible/RenderIfVisible.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RenderIfVisible/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/RenderIfVisible/index.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SingleFilter/SingleFilter.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SingleFilter/SingleFilter.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SingleFilter/utils.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SingleFilter/utils.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SliderFilter/SliderFilter.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SliderFilter/SliderFilter.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SliderFilter/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/SliderFilter/index.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/Tooltip/Tooltip.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/common.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/common.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/productGrid/ProductGrid.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/productGrid/ProductGrid.js +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/productGrid/index.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/components → components}/productGrid/index.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/BackOfficeFiltersIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/BackOfficeFiltersIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/BannersIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/BannersIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/GeneralIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/GeneralIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/HelpIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/HelpIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/InStoreFiltersIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/InStoreFiltersIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/PromoteIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/PromoteIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/RemoveIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/RemoveIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/RestoreIcon.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/icons → icons}/RestoreIcon.js +0 -0
- /package/dist/{dashboard-utilities/src/main.d.ts → main.d.ts} +0 -0
- /package/dist/{dashboard-utilities/src/main.js → main.js} +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/API.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/API.js +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/landingPage.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/landingPage.js +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/products.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/products.js +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/search.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/services → services}/smartCollections.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/utils → utils}/customTagsFilters.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/utils → utils}/customTagsFilters.js +0 -0
- /package/dist/{dashboard-utilities/src/utils → utils}/useDragToSelect.d.ts +0 -0
- /package/dist/{dashboard-utilities/src/utils → utils}/useDragToSelect.js +0 -0
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import type { Currency } from "./currency";
|
|
2
|
-
import { PromoTileConfig } from "./promoTile";
|
|
3
|
-
export declare enum FeaturedRanking {
|
|
4
|
-
FEATURED_RANK_NO = 0,
|
|
5
|
-
FEATURED_RANK_ON_MATCH = 1,
|
|
6
|
-
FEATURED_RANK_ALWAYS = 2,
|
|
7
|
-
FEATURED_RANK_NEVER = 3
|
|
8
|
-
}
|
|
9
|
-
export interface ServerProduct {
|
|
10
|
-
c: Currency;
|
|
11
|
-
d: string;
|
|
12
|
-
f: FeaturedRanking;
|
|
13
|
-
id: productID;
|
|
14
|
-
iso: boolean;
|
|
15
|
-
l: string;
|
|
16
|
-
p: string;
|
|
17
|
-
p_c: string;
|
|
18
|
-
p_max: string;
|
|
19
|
-
p_max_c: string;
|
|
20
|
-
p_min: string;
|
|
21
|
-
p_min_c: string;
|
|
22
|
-
p_spl: number;
|
|
23
|
-
p_spl_id?: string;
|
|
24
|
-
review?: number;
|
|
25
|
-
reviews_count?: number;
|
|
26
|
-
s: string;
|
|
27
|
-
sku: string;
|
|
28
|
-
skus: string[];
|
|
29
|
-
t: string;
|
|
30
|
-
t2: string;
|
|
31
|
-
u: string;
|
|
32
|
-
v_c: number;
|
|
33
|
-
v: string;
|
|
34
|
-
vra: ServerVariant[];
|
|
35
|
-
vrc: object;
|
|
36
|
-
att?: Attribute[];
|
|
37
|
-
real_sku?: string;
|
|
38
|
-
image_id?: string;
|
|
39
|
-
alt?: AlternativeColor[];
|
|
40
|
-
inventory_lvl?: number;
|
|
41
|
-
promotile?: boolean;
|
|
42
|
-
}
|
|
43
|
-
export type ServerVariant = [number, VariantData[]];
|
|
44
|
-
export type VariantData = [string, string[]];
|
|
45
|
-
export type Attribute = [string, AttributeData[]];
|
|
46
|
-
export type AttributeData = string[] | string[][];
|
|
47
|
-
export interface ServerAltProductVariant {
|
|
48
|
-
sellable: boolean;
|
|
49
|
-
size: string;
|
|
50
|
-
v_id: number;
|
|
51
|
-
}
|
|
52
|
-
export interface ServerAltProductData {
|
|
53
|
-
l: string;
|
|
54
|
-
p: string;
|
|
55
|
-
p_c: string;
|
|
56
|
-
p_spl: number;
|
|
57
|
-
p_spl_id?: number;
|
|
58
|
-
sku?: string;
|
|
59
|
-
t: string[];
|
|
60
|
-
vra: ServerAltProductVariant[];
|
|
61
|
-
review?: number;
|
|
62
|
-
reviews_count?: number;
|
|
63
|
-
att?: any[];
|
|
64
|
-
s?: string;
|
|
65
|
-
p_min: string;
|
|
66
|
-
p_max: string;
|
|
67
|
-
}
|
|
68
|
-
export type AlternativeColor = [AlternativeColorName, AlternativeColorURL, productID?, ServerAltProductData?];
|
|
69
|
-
type AlternativeColorName = string;
|
|
70
|
-
type AlternativeColorURL = string;
|
|
71
|
-
type productID = number;
|
|
72
|
-
export interface Badge {
|
|
73
|
-
tag: string;
|
|
74
|
-
url: string;
|
|
75
|
-
}
|
|
76
|
-
export interface TextBadge {
|
|
77
|
-
badgeText: string;
|
|
78
|
-
tag: string;
|
|
79
|
-
badgeStyle: {
|
|
80
|
-
backgroundColor: string;
|
|
81
|
-
borderColor: string;
|
|
82
|
-
borderRadius: number;
|
|
83
|
-
horizontal: string;
|
|
84
|
-
vertical: string;
|
|
85
|
-
size: number;
|
|
86
|
-
textColor: string;
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
export interface Products {
|
|
90
|
-
[id: string]: Product;
|
|
91
|
-
}
|
|
92
|
-
export interface Product {
|
|
93
|
-
currency: Currency;
|
|
94
|
-
id: string;
|
|
95
|
-
title: string;
|
|
96
|
-
description: string;
|
|
97
|
-
variants: Variants;
|
|
98
|
-
isSoldOut: boolean;
|
|
99
|
-
price: number;
|
|
100
|
-
minPrice: number;
|
|
101
|
-
maxPrice: number;
|
|
102
|
-
maxCompare: number;
|
|
103
|
-
comparePrice: number;
|
|
104
|
-
maxFormattedCompare: string;
|
|
105
|
-
reviewScore: number | undefined;
|
|
106
|
-
reviewCount: number | undefined;
|
|
107
|
-
imageURL: string;
|
|
108
|
-
imageURL2: string;
|
|
109
|
-
optimizedURL?: string;
|
|
110
|
-
formattedPrice: string;
|
|
111
|
-
formattedCompare: string | undefined;
|
|
112
|
-
vendor: string;
|
|
113
|
-
sku: string;
|
|
114
|
-
s: string;
|
|
115
|
-
inventory_lvl?: number;
|
|
116
|
-
imagesSrcset: string;
|
|
117
|
-
productURL: string;
|
|
118
|
-
productBadges: Badge[];
|
|
119
|
-
productTextBadges?: TextBadge[];
|
|
120
|
-
alternativeProducts?: AlternativeProduct[];
|
|
121
|
-
tags?: string[];
|
|
122
|
-
promoTileConfig?: PromoTileConfig;
|
|
123
|
-
attributes?: Attribute[];
|
|
124
|
-
p_spl?: number;
|
|
125
|
-
p_spl_id?: string;
|
|
126
|
-
isIspNoPrice?: boolean;
|
|
127
|
-
imageID?: string;
|
|
128
|
-
vrc?: object;
|
|
129
|
-
}
|
|
130
|
-
export interface Variant {
|
|
131
|
-
id: number;
|
|
132
|
-
attributes: {
|
|
133
|
-
[key: string]: VariantsAttribute;
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
export type Variants = Variant[];
|
|
137
|
-
export type VariantsAttribute = string | number | boolean | string[] | undefined;
|
|
138
|
-
export interface AlternativeProduct {
|
|
139
|
-
color: string;
|
|
140
|
-
url: string;
|
|
141
|
-
id: string;
|
|
142
|
-
variants?: Variants;
|
|
143
|
-
s?: string;
|
|
144
|
-
price: number;
|
|
145
|
-
comparePrice: number;
|
|
146
|
-
formattedCompare?: string;
|
|
147
|
-
formattedPrice?: string;
|
|
148
|
-
attributes?: Attribute[] | undefined;
|
|
149
|
-
}
|
|
150
|
-
export interface ServerPromotile {
|
|
151
|
-
height: number;
|
|
152
|
-
id: string;
|
|
153
|
-
image: string;
|
|
154
|
-
link: string;
|
|
155
|
-
width: number;
|
|
156
|
-
title: string;
|
|
157
|
-
}
|
|
158
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export var FeaturedRanking;
|
|
2
|
-
(function (FeaturedRanking) {
|
|
3
|
-
FeaturedRanking[FeaturedRanking["FEATURED_RANK_NO"] = 0] = "FEATURED_RANK_NO";
|
|
4
|
-
FeaturedRanking[FeaturedRanking["FEATURED_RANK_ON_MATCH"] = 1] = "FEATURED_RANK_ON_MATCH";
|
|
5
|
-
FeaturedRanking[FeaturedRanking["FEATURED_RANK_ALWAYS"] = 2] = "FEATURED_RANK_ALWAYS";
|
|
6
|
-
FeaturedRanking[FeaturedRanking["FEATURED_RANK_NEVER"] = 3] = "FEATURED_RANK_NEVER";
|
|
7
|
-
})(FeaturedRanking || (FeaturedRanking = {}));
|
|
8
|
-
//# sourceMappingURL=product.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../../../serving/src/@types/product.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,6EAAgB,CAAA;IAChB,yFAAsB,CAAA;IACtB,qFAAoB,CAAA;IACpB,mFAAmB,CAAA;AACvB,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B","sourcesContent":["import type {Currency} from \"./currency\";\r\nimport {PromoTileConfig} from \"./promoTile\";\r\n\r\nexport enum FeaturedRanking {\r\n FEATURED_RANK_NO,\r\n FEATURED_RANK_ON_MATCH,\r\n FEATURED_RANK_ALWAYS,\r\n FEATURED_RANK_NEVER,\r\n}\r\n\r\nexport interface ServerProduct {\r\n c: Currency\r\n d: string\r\n f: FeaturedRanking\r\n id: productID\r\n iso: boolean\r\n l: string\r\n p: string\r\n p_c: string\r\n p_max: string\r\n p_max_c: string\r\n p_min: string\r\n p_min_c: string\r\n p_spl: number\r\n p_spl_id?: string\r\n review?: number\r\n reviews_count?: number\r\n s: string\r\n sku: string\r\n skus: string[]\r\n t: string\r\n t2: string\r\n u: string\r\n v_c: number\r\n v: string\r\n vra: ServerVariant[]\r\n vrc: object\r\n att?: Attribute[]\r\n real_sku?: string\r\n image_id?: string\r\n alt?: AlternativeColor[]\r\n inventory_lvl?: number\r\n promotile?: boolean\r\n}\r\n\r\nexport type ServerVariant = [number, VariantData[]]\r\nexport type VariantData = [string, string[]]\r\n\r\nexport type Attribute = [string, AttributeData[]]\r\nexport type AttributeData = string[] | string[][]\r\n\r\nexport interface ServerAltProductVariant {\r\n sellable: boolean;\r\n size: string;\r\n v_id: number;\r\n}\r\n\r\nexport interface ServerAltProductData {\r\n l: string;\r\n p: string;\r\n p_c: string;\r\n p_spl: number;\r\n p_spl_id?: number;\r\n sku?: string;\r\n t: string[];\r\n vra: ServerAltProductVariant[];\r\n review?: number;\r\n reviews_count?: number;\r\n att?: any[];\r\n s?: string;\r\n p_min: string;\r\n p_max: string;\r\n}\r\n\r\nexport type AlternativeColor = [AlternativeColorName, AlternativeColorURL, productID?, ServerAltProductData?]\r\n\r\ntype AlternativeColorName = string\r\ntype AlternativeColorURL = string\r\ntype productID = number\r\n\r\nexport interface Badge {\r\n tag: string;\r\n url: string;\r\n}\r\n\r\nexport interface TextBadge {\r\n badgeText: string;\r\n tag: string;\r\n badgeStyle: {\r\n backgroundColor: string;\r\n borderColor: string;\r\n borderRadius: number;\r\n horizontal: string;\r\n vertical: string;\r\n size: number;\r\n textColor: string;\r\n }\r\n}\r\n\r\nexport interface Products {\r\n [id: string]: Product\r\n}\r\n\r\nexport interface Product {\r\n currency: Currency\r\n id: string\r\n title: string\r\n description: string\r\n variants: Variants\r\n isSoldOut: boolean\r\n price: number\r\n minPrice: number\r\n maxPrice: number\r\n maxCompare: number\r\n comparePrice: number\r\n maxFormattedCompare: string;\r\n reviewScore: number | undefined\r\n reviewCount: number | undefined\r\n imageURL: string\r\n imageURL2: string\r\n optimizedURL?: string;\r\n formattedPrice: string\r\n formattedCompare: string | undefined\r\n vendor: string\r\n sku: string\r\n s: string\r\n inventory_lvl?: number\r\n imagesSrcset: string\r\n productURL: string\r\n productBadges: Badge[]\r\n productTextBadges?: TextBadge[]\r\n alternativeProducts?: AlternativeProduct[]\r\n tags?: string[]\r\n promoTileConfig?: PromoTileConfig\r\n attributes?: Attribute[]\r\n p_spl?: number\r\n p_spl_id?: string\r\n isIspNoPrice?: boolean\r\n imageID?: string\r\n vrc?: object\r\n}\r\n\r\nexport interface Variant {\r\n id: number,\r\n attributes: {\r\n [key: string]: VariantsAttribute\r\n }\r\n}\r\n\r\nexport type Variants = Variant[]\r\n\r\nexport type VariantsAttribute = string | number | boolean | string[] | undefined\r\n\r\nexport interface AlternativeProduct {\r\n color: string,\r\n url: string,\r\n id: string,\r\n variants?: Variants,\r\n s?: string,\r\n price: number\r\n comparePrice: number,\r\n formattedCompare?: string,\r\n formattedPrice?: string,\r\n attributes?: Attribute[] | undefined\r\n}\r\n\r\nexport interface ServerPromotile {\r\n height: number;\r\n id: string;\r\n image: string;\r\n link: string;\r\n width: number;\r\n title: string;\r\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promoTile.js","sourceRoot":"","sources":["../../../../../serving/src/@types/promoTile.ts"],"names":[],"mappings":"","sourcesContent":["\r\ninterface Size {\r\n x: number;\r\n y: number;\r\n}\r\nexport interface PromoTileConfig {\r\n size: Size;\r\n url: string;\r\n image: string;\r\n title: string;\r\n}"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export type SortBy = "price_min_to_max" | "price_max_to_min" | "creation_date" | "creation_date_oldest" | "popularity" | "reviews" | "a_to_z" | "z_to_a" | 'relevency' | 'relevance';
|
|
2
|
-
export type SortByTranslationKey = 'sort_by_best_match' | 'sort_by_price_low_to_high' | 'sort_by_price_high_to_low' | 'sort_by_newest' | 'sort_by_oldest' | 'sort_by_popularity' | 'sort_by_reviews' | 'sort_by_a_to_z' | 'sort_by_z_to_a';
|
|
3
|
-
export type SortByConfig = Record<SortBy, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sortBy.js","sourceRoot":"","sources":["../../../../../serving/src/@types/sortBy.ts"],"names":[],"mappings":"","sourcesContent":["export type SortBy =\r\n \"price_min_to_max\"\r\n | \"price_max_to_min\"\r\n | \"creation_date\"\r\n | \"creation_date_oldest\"\r\n | \"popularity\"\r\n | \"reviews\"\r\n | \"a_to_z\"\r\n | \"z_to_a\"\r\n | 'relevency'\r\n | 'relevance'\r\n\r\nexport type SortByTranslationKey =\r\n 'sort_by_best_match' |\r\n 'sort_by_price_low_to_high' |\r\n 'sort_by_price_high_to_low' |\r\n 'sort_by_newest' |\r\n 'sort_by_oldest' |\r\n 'sort_by_popularity' |\r\n 'sort_by_reviews' |\r\n 'sort_by_a_to_z' |\r\n 'sort_by_z_to_a'\r\n\r\nexport type SortByConfig = Record<SortBy, string>;"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export var TranslationProvider;
|
|
2
|
-
(function (TranslationProvider) {
|
|
3
|
-
TranslationProvider["NONE"] = "";
|
|
4
|
-
TranslationProvider["LANGIFY"] = "langify";
|
|
5
|
-
TranslationProvider["WEGOLT"] = "wegolt";
|
|
6
|
-
TranslationProvider["NATIVE"] = "native";
|
|
7
|
-
})(TranslationProvider || (TranslationProvider = {}));
|
|
8
|
-
//# sourceMappingURL=translations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"translations.js","sourceRoot":"","sources":["../../../../../serving/src/@types/translations.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,gCAAO,CAAA;IACP,0CAAiB,CAAA;IACjB,wCAAe,CAAA;IACf,wCAAe,CAAA;AACnB,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B","sourcesContent":["export enum TranslationProvider {\r\n NONE='',\r\n LANGIFY='langify',\r\n WEGOLT='wegolt',\r\n NATIVE='native'\r\n}\r\nexport interface SiteLanguageConfig {\r\n storeID: number,\r\n uuid: string,\r\n language: string\r\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variation.js","sourceRoot":"","sources":["../../../../../serving/src/@types/variation.ts"],"names":[],"mappings":"","sourcesContent":["export interface Variation {\r\n theme_id: string;\r\n variation_id: string;\r\n}"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from "axios";
|
|
2
|
-
interface Params {
|
|
3
|
-
[key: string]: string | number | object | undefined | boolean;
|
|
4
|
-
}
|
|
5
|
-
interface GetProps {
|
|
6
|
-
url: string;
|
|
7
|
-
params?: Params;
|
|
8
|
-
config?: AxiosRequestConfig;
|
|
9
|
-
}
|
|
10
|
-
interface PostProps {
|
|
11
|
-
url: string;
|
|
12
|
-
data?: Params;
|
|
13
|
-
config?: AxiosRequestConfig;
|
|
14
|
-
}
|
|
15
|
-
export declare const API: {
|
|
16
|
-
get: <T>({ url, params, config }: GetProps) => Promise<T>;
|
|
17
|
-
post: <T_1>({ url, config, data }: PostProps) => Promise<T_1>;
|
|
18
|
-
};
|
|
19
|
-
export declare const parseUrl: (url: string) => string;
|
|
20
|
-
export declare function getEndpoint(defaultVersion: string): string;
|
|
21
|
-
export declare function fastSimonGet<T>(endpoint: string, path: string, params?: Params, avoidCdnCasheKey?: boolean): Promise<T>;
|
|
22
|
-
export declare function fastSimonPost<T>(endpoint: string, path: string, params?: Params, avoidCdnCasheKey?: boolean, queryParams?: Params): Promise<T>;
|
|
23
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import axios from "axios";
|
|
11
|
-
import { getDebugState } from "../utils/debug";
|
|
12
|
-
import { get } from "svelte/store";
|
|
13
|
-
import { cdnCacheKey, storeID, uuid } from "../store/store";
|
|
14
|
-
import getUserVariation from "../utils/getUserVariation";
|
|
15
|
-
export const API = {
|
|
16
|
-
get: function ({ url, params, config }) {
|
|
17
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
18
|
-
const response = yield axios.get(url, Object.assign({ params }, config));
|
|
19
|
-
return response.data;
|
|
20
|
-
});
|
|
21
|
-
},
|
|
22
|
-
post: function ({ url, config, data }) {
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const response = yield axios.post(url, data, config);
|
|
25
|
-
return response.data;
|
|
26
|
-
});
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
export const parseUrl = (url) => {
|
|
30
|
-
const fixed = url.replace("https://", "").replace("http://", "");
|
|
31
|
-
if (fixed[fixed.length - 1] === "/") {
|
|
32
|
-
return fixed.slice(0, fixed.length - 1);
|
|
33
|
-
}
|
|
34
|
-
return fixed;
|
|
35
|
-
};
|
|
36
|
-
export function getEndpoint(defaultVersion) {
|
|
37
|
-
const { endpoint } = getDebugState();
|
|
38
|
-
return endpoint || defaultVersion;
|
|
39
|
-
}
|
|
40
|
-
export function fastSimonGet(endpoint, path, params, avoidCdnCasheKey) {
|
|
41
|
-
return API.get({
|
|
42
|
-
url: `${getEndpoint(endpoint)}${path ? ('/' + path) : ''}`,
|
|
43
|
-
params: Object.assign({ request_source: "v-next", src: "v-next", UUID: get(uuid), uuid: get(uuid), store_id: get(storeID), cdn_cache_key: avoidCdnCasheKey ? undefined : get(cdnCacheKey), api_type: "json", m: !(getDebugState().caching) ? 1 : undefined, v: !(getDebugState().caching) ? Date.now() : undefined, d: !(getDebugState().logs) ? 1 : undefined, variation_id: getUserVariation() }, params)
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
export function fastSimonPost(endpoint, path, params, avoidCdnCasheKey, queryParams) {
|
|
47
|
-
const allQueryParams = Object.assign({ request_source: "v-next", src: "v-next", UUID: get(uuid), uuid: get(uuid), store_id: get(storeID), cdn_cache_key: avoidCdnCasheKey ? undefined : get(cdnCacheKey), api_type: "json", m: !(getDebugState().caching) ? 1 : undefined, v: !(getDebugState().caching) ? Date.now() : undefined, d: !(getDebugState().logs) ? 1 : undefined, variation_id: getUserVariation() }, queryParams);
|
|
48
|
-
const queryString = Object.keys(allQueryParams).filter(key => allQueryParams[key] !== undefined && allQueryParams[key] !== null && allQueryParams[key] !== '')
|
|
49
|
-
.map(key => encodeURIComponent(key) + '=' + encodeURIComponent(allQueryParams[key]))
|
|
50
|
-
.join('&');
|
|
51
|
-
return API.post({
|
|
52
|
-
url: `${getEndpoint(endpoint)}${path ? ('/' + path) : ''}${queryString ? '?' + queryString : ''}`,
|
|
53
|
-
data: Object.assign({}, params)
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=API.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"API.js","sourceRoot":"","sources":["../../../../../serving/src/services/API.ts"],"names":[],"mappings":"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","sourcesContent":["import axios, {AxiosRequestConfig} from \"axios\";\r\nimport {getDebugState, getDebugVariationID} from \"../utils/debug\";\r\nimport {get} from \"svelte/store\";\r\nimport {cdnCacheKey, storeID, uuid} from \"../store/store\";\r\nimport {Variation} from \"../@types/variation\";\r\nimport getUserVariation from \"../utils/getUserVariation\";\r\n\r\ninterface Params {\r\n [key: string]: string | number | object | undefined | boolean\r\n}\r\n\r\ninterface GetProps {\r\n url: string,\r\n params?: Params,\r\n config?: AxiosRequestConfig\r\n}\r\n\r\ninterface PostProps {\r\n url: string,\r\n data?: Params,\r\n config?: AxiosRequestConfig\r\n}\r\n\r\nexport const API = {\r\n get: async function <T>({url, params, config}: GetProps) {\r\n const response = await axios.get<T>(url, {\r\n params,\r\n ...config\r\n });\r\n\r\n return response.data;\r\n },\r\n\r\n post: async function <T>({url, config, data}: PostProps) {\r\n const response = await axios.post(url, data, config);\r\n\r\n return response.data as T;\r\n },\r\n};\r\n\r\nexport const parseUrl = (url: string) => {\r\n const fixed = url.replace(\"https://\", \"\").replace(\"http://\", \"\");\r\n if (fixed[fixed.length - 1] === \"/\") {\r\n return fixed.slice(0, fixed.length - 1)\r\n }\r\n return fixed;\r\n};\r\n\r\nexport function getEndpoint(defaultVersion: string) {\r\n const {endpoint} = getDebugState();\r\n\r\n return endpoint || defaultVersion;\r\n}\r\n\r\nexport function fastSimonGet<T>(endpoint: string, path: string, params?: Params, avoidCdnCasheKey?: boolean) {\r\n return API.get<T>({\r\n url: `${getEndpoint(endpoint)}${path? ('/' + path) : '' }`,\r\n params: {\r\n request_source: \"v-next\",\r\n src: \"v-next\",\r\n UUID: get(uuid),\r\n uuid: get(uuid),\r\n store_id: get(storeID),\r\n cdn_cache_key: avoidCdnCasheKey? undefined : get(cdnCacheKey),\r\n api_type: \"json\",\r\n m: !(getDebugState().caching) ? 1 : undefined,\r\n v: !(getDebugState().caching) ? Date.now() : undefined,\r\n d: !(getDebugState().logs) ? 1 : undefined,\r\n variation_id: getUserVariation(),\r\n ...params\r\n }\r\n })\r\n}\r\nexport function fastSimonPost<T>(endpoint: string, path: string, params?: Params, avoidCdnCasheKey?: boolean, queryParams?: Params) {\r\n const allQueryParams = {\r\n request_source: \"v-next\",\r\n src: \"v-next\",\r\n UUID: get(uuid),\r\n uuid: get(uuid),\r\n store_id: get(storeID),\r\n cdn_cache_key: avoidCdnCasheKey ? undefined : get(cdnCacheKey),\r\n api_type: \"json\",\r\n m: !(getDebugState().caching) ? 1 : undefined,\r\n v: !(getDebugState().caching) ? Date.now() : undefined,\r\n d: !(getDebugState().logs) ? 1 : undefined,\r\n variation_id: getUserVariation(),\r\n ...queryParams\r\n }\r\n const queryString = Object.keys(allQueryParams).filter(key => (allQueryParams as any)[key] !== undefined && (allQueryParams as any)[key] !== null && (allQueryParams as any)[key] !== '')\r\n .map(key => encodeURIComponent(key) + '=' + encodeURIComponent((allQueryParams as any)[key]))\r\n .join('&');\r\n return API.post<T>({\r\n url: `${getEndpoint(endpoint)}${path? ('/' + path) : '' }${queryString ? '?' + queryString : ''}`,\r\n data: {\r\n ...params\r\n }\r\n })\r\n}"]}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { ProductGridEditorSettings } from "../@types/editor";
|
|
2
|
-
import type { Currency } from "../@types/currency";
|
|
3
|
-
import type { SortBy } from "../@types/sortBy";
|
|
4
|
-
import type { Platform } from "../@types/platform";
|
|
5
|
-
import { TextBadge } from "../@types/product";
|
|
6
|
-
import { WishlistProvider } from "@fast-simon/wishlists";
|
|
7
|
-
import { BackInStockProvider } from "@fast-simon/back-in-stock";
|
|
8
|
-
import { TranslationProvider } from "../@types/translations";
|
|
9
|
-
import { CategoryFilterType } from "../@types/editor";
|
|
10
|
-
export interface SortSetupOption {
|
|
11
|
-
active: boolean;
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
}
|
|
15
|
-
export type PriceRangeFormat = 'max_price' | 'from_min' | 'price_range' | 'min_price';
|
|
16
|
-
export type CurrencySymbolPosition = 'before' | 'after' | 'auto';
|
|
17
|
-
export declare const LS_SERVING_THEME = "fast-custom-serving-theme";
|
|
18
|
-
export interface Pricing {
|
|
19
|
-
showPriceWithoutDecimals: boolean;
|
|
20
|
-
priceRangeFormat: PriceRangeFormat;
|
|
21
|
-
currencySymbolPosition: CurrencySymbolPosition;
|
|
22
|
-
currencyConversionRate: string;
|
|
23
|
-
avoidPricesForNonLoginUsers: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface CollectionPersonalizationSettings {
|
|
26
|
-
active: boolean;
|
|
27
|
-
avoidCategories: string[];
|
|
28
|
-
avoidProducts: string[];
|
|
29
|
-
disableCategories: string[];
|
|
30
|
-
maxRecencyLimit: number;
|
|
31
|
-
recencyLimit: number;
|
|
32
|
-
}
|
|
33
|
-
export interface SiteSetup {
|
|
34
|
-
url: string;
|
|
35
|
-
kind: Platform;
|
|
36
|
-
language: string;
|
|
37
|
-
subscription: number;
|
|
38
|
-
unlimitedAccount: boolean;
|
|
39
|
-
settings: {
|
|
40
|
-
desktopSettings: ProductGridEditorSettings;
|
|
41
|
-
mobileSettings: ProductGridEditorSettings;
|
|
42
|
-
tabletSettings: ProductGridEditorSettings;
|
|
43
|
-
};
|
|
44
|
-
sort: SortSetupOption[];
|
|
45
|
-
default_sort: {
|
|
46
|
-
search: SortBy;
|
|
47
|
-
categories: SortBy;
|
|
48
|
-
custom: Record<string, SortBy>;
|
|
49
|
-
};
|
|
50
|
-
css: string;
|
|
51
|
-
custom_swatches_css: string | Record<string, string>;
|
|
52
|
-
currency: Currency;
|
|
53
|
-
quickViewAttributes: string[];
|
|
54
|
-
isContent: boolean;
|
|
55
|
-
badges: [string, string][];
|
|
56
|
-
showPriceWithoutDecimals: boolean;
|
|
57
|
-
textBadges: TextBadge[];
|
|
58
|
-
pricing: Pricing;
|
|
59
|
-
imageOptimization: boolean;
|
|
60
|
-
wishlistProvider: WishlistProvider;
|
|
61
|
-
searchPersonalization: boolean;
|
|
62
|
-
collectionsPersonalization: CollectionPersonalizationSettings;
|
|
63
|
-
backInStockProvider: BackInStockProvider;
|
|
64
|
-
customIcons: Record<string, string>;
|
|
65
|
-
categoryNavigationTree: boolean;
|
|
66
|
-
domain: string;
|
|
67
|
-
translationProvider: TranslationProvider;
|
|
68
|
-
isSPA: boolean;
|
|
69
|
-
takeoverCategoriesNavigation: boolean;
|
|
70
|
-
takeoverSearch: boolean;
|
|
71
|
-
categoryFilterType: CategoryFilterType;
|
|
72
|
-
has_shopify_markets: boolean;
|
|
73
|
-
}
|
|
74
|
-
export declare const SiteSettings: {
|
|
75
|
-
getSiteSetup: () => Promise<SiteSetup>;
|
|
76
|
-
getUnpublishedSiteSetup: (data: {
|
|
77
|
-
theme_id: string;
|
|
78
|
-
}) => Promise<SiteSetup>;
|
|
79
|
-
getFastSimonVariationSiteSetup: () => Promise<SiteSetup>;
|
|
80
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { API } from "./API";
|
|
11
|
-
import { storeID, uuid } from "../store/store";
|
|
12
|
-
import { get } from "svelte/store";
|
|
13
|
-
import { isProduction, SITE_SETUP_ENDPOINT } from "../utils/consts";
|
|
14
|
-
import getUserVariation from "../utils/getUserVariation";
|
|
15
|
-
const ENDPOINT = isProduction ? `${SITE_SETUP_ENDPOINT}/serving` : 'http://localhost:8000/api/serving/setup';
|
|
16
|
-
const ENDPOINT_UNPUBLISHED = isProduction ? `${SITE_SETUP_ENDPOINT}/serving_unpublished` : 'http://localhost:8000/api/serving/setup_unpublished';
|
|
17
|
-
const ENDPOINT_THEME = isProduction ? `https://en-prod2---pop-v3joil6oqa-uc.a.run.app/settings/serving_theme` : 'http://localhost:8000/api/serving/setup_theme';
|
|
18
|
-
const ENDPOINT_VARIATION = isProduction ? `${SITE_SETUP_ENDPOINT}/serving_variation` : 'http://localhost:8000/api/serving/serving_variation';
|
|
19
|
-
export const LS_SERVING_THEME = "fast-custom-serving-theme";
|
|
20
|
-
export const SiteSettings = {
|
|
21
|
-
getSiteSetup: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
22
|
-
return yield API.get({
|
|
23
|
-
url: ENDPOINT,
|
|
24
|
-
params: {
|
|
25
|
-
uuid: String(get(uuid)),
|
|
26
|
-
store_id: Number(get(storeID))
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
}),
|
|
30
|
-
getUnpublishedSiteSetup: (data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
31
|
-
return yield API.get({
|
|
32
|
-
url: ENDPOINT_UNPUBLISHED,
|
|
33
|
-
params: {
|
|
34
|
-
uuid: String(get(uuid)),
|
|
35
|
-
store_id: Number(get(storeID)),
|
|
36
|
-
theme_id: data.theme_id
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}),
|
|
40
|
-
getFastSimonVariationSiteSetup: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
41
|
-
var _a, _b, _c, _d, _e, _f;
|
|
42
|
-
return yield API.get({
|
|
43
|
-
url: ENDPOINT_VARIATION,
|
|
44
|
-
params: {
|
|
45
|
-
uuid: String(get(uuid)),
|
|
46
|
-
store_id: Number(get(storeID)),
|
|
47
|
-
theme_id: ((_b = (_a = window === null || window === void 0 ? void 0 : window.FS_VARIATION) === null || _a === void 0 ? void 0 : _a.theme_id) !== null && _b !== void 0 ? _b : (_d = (_c = localStorage.getItem(LS_SERVING_THEME)) === null || _c === void 0 ? void 0 : _c.split(';')) === null || _d === void 0 ? void 0 : _d[1]) || undefined,
|
|
48
|
-
variation_id: localStorage.getItem(LS_SERVING_THEME) ? (_f = (_e = localStorage.getItem(LS_SERVING_THEME)) === null || _e === void 0 ? void 0 : _e.split(';')) === null || _f === void 0 ? void 0 : _f[0] : (getUserVariation() || undefined)
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
})
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=siteSettings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"siteSettings.js","sourceRoot":"","sources":["../../../../../serving/src/services/siteSettings.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAC,OAAO,EAAE,IAAI,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,GAAG,EAAC,MAAM,cAAc,CAAC;AACjC,OAAO,EAAC,YAAY,EAAE,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAKlE,OAAO,gBAAgB,MAAM,2BAA2B,CAAC;AAIzD,MAAM,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,mBAAmB,UAAU,CAAC,CAAC,CAAC,yCAAyC,CAAC;AAC7G,MAAM,oBAAoB,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,mBAAmB,sBAAsB,CAAC,CAAC,CAAC,qDAAqD,CAAC;AACjJ,MAAM,cAAc,GAAI,YAAY,CAAC,CAAC,CAAC,uEAAuE,CAAC,CAAC,CAAC,+CAA+C,CAAC;AACjK,MAAM,kBAAkB,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,mBAAmB,oBAAoB,CAAC,CAAC,CAAC,qDAAqD,CAAC;AAU7I,MAAM,CAAC,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;AA6D5D,MAAM,CAAC,MAAM,YAAY,GAAG;IACzB,YAAY,EAAE,GAA6B,EAAE;QACzC,OAAO,MAAM,GAAG,CAAC,GAAG,CAAY;YAC3B,GAAG,EAAE,QAAQ;YACb,MAAM,EAAE;gBACJ,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBACvB,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;aACjC;SACJ,CAAC,CAAC;IACP,CAAC,CAAA;IACD,uBAAuB,EAAE,CAAO,IAAwB,EAAsB,EAAE;QAC7E,OAAO,MAAM,GAAG,CAAC,GAAG,CAAY;YAC3B,GAAG,EAAE,oBAAoB;YACzB,MAAM,EAAE;gBACJ,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBACvB,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ;aAC1B;SACJ,CAAC,CAAC;IACP,CAAC,CAAA;IACD,8BAA8B,EAAE,GAA6B,EAAE;;QAC5D,OAAO,MAAM,GAAG,CAAC,GAAG,CAAY;YAC3B,GAAG,EAAE,kBAAkB;YACvB,MAAM,EAAE;gBACJ,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBACvB,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBAC9B,QAAQ,EAAE,CAAC,MAAA,MAAC,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,YAAY,0CAAE,QAAQ,mCAAI,MAAA,MAAA,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,0CAAE,KAAK,CAAC,GAAG,CAAC,0CAAG,CAAC,CAAC,CAAC,IAAG,SAAS;gBAC1H,YAAY,EAAE,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,MAAA,MAAA,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,0CAAE,KAAK,CAAC,GAAG,CAAC,0CAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE,IAAI,SAAS,CAAC;aACrJ;SACJ,CAAC,CAAC;IACP,CAAC,CAAA;CAEJ,CAAA","sourcesContent":["import type {ProductGridEditorSettings} from \"../@types/editor\";\r\nimport {API} from \"./API\";\r\nimport type {Currency} from \"../@types/currency\";\r\nimport type {SortBy} from \"../@types/sortBy\";\r\nimport type {Platform} from \"../@types/platform\";\r\nimport {storeID, uuid} from \"../store/store\";\r\nimport {get} from \"svelte/store\";\r\nimport {isProduction, SITE_SETUP_ENDPOINT} from \"../utils/consts\";\r\nimport {TextBadge} from \"../@types/product\";\r\nimport {WishlistProvider} from \"@fast-simon/wishlists\";\r\nimport {BackInStockProvider} from \"@fast-simon/back-in-stock\";\r\nimport {SiteLanguageConfig, TranslationProvider} from \"../@types/translations\";\r\nimport getUserVariation from \"../utils/getUserVariation\";\r\nimport {CategoryFilterType} from \"../@types/editor\";\r\n\r\n\r\nconst ENDPOINT = isProduction ? `${SITE_SETUP_ENDPOINT}/serving` : 'http://localhost:8000/api/serving/setup';\r\nconst ENDPOINT_UNPUBLISHED = isProduction ? `${SITE_SETUP_ENDPOINT}/serving_unpublished` : 'http://localhost:8000/api/serving/setup_unpublished';\r\nconst ENDPOINT_THEME = isProduction ? `https://en-prod2---pop-v3joil6oqa-uc.a.run.app/settings/serving_theme` : 'http://localhost:8000/api/serving/setup_theme';\r\nconst ENDPOINT_VARIATION = isProduction ? `${SITE_SETUP_ENDPOINT}/serving_variation` : 'http://localhost:8000/api/serving/serving_variation';\r\n\r\nexport interface SortSetupOption {\r\n active: boolean;\r\n id: string;\r\n name: string;\r\n}\r\n\r\nexport type PriceRangeFormat = 'max_price' | 'from_min' | 'price_range' | 'min_price';\r\nexport type CurrencySymbolPosition = 'before' | 'after' | 'auto';\r\nexport const LS_SERVING_THEME = \"fast-custom-serving-theme\";\r\n\r\nexport interface Pricing {\r\n showPriceWithoutDecimals: boolean;\r\n priceRangeFormat: PriceRangeFormat;\r\n currencySymbolPosition: CurrencySymbolPosition;\r\n currencyConversionRate: string;\r\n avoidPricesForNonLoginUsers: boolean;\r\n}\r\n\r\nexport interface CollectionPersonalizationSettings {\r\n active: boolean;\r\n avoidCategories: string[];\r\n avoidProducts: string[];\r\n disableCategories: string[];\r\n maxRecencyLimit: number;\r\n recencyLimit: number;\r\n}\r\n\r\nexport interface SiteSetup {\r\n url: string\r\n kind: Platform\r\n language: string\r\n subscription: number\r\n unlimitedAccount: boolean\r\n settings: {\r\n desktopSettings: ProductGridEditorSettings\r\n mobileSettings: ProductGridEditorSettings\r\n tabletSettings: ProductGridEditorSettings\r\n },\r\n sort: SortSetupOption[],\r\n default_sort: {\r\n search: SortBy\r\n categories: SortBy,\r\n custom: Record<string, SortBy>\r\n }\r\n css: string\r\n custom_swatches_css: string | Record<string, string>\r\n currency: Currency\r\n quickViewAttributes: string[]\r\n isContent: boolean\r\n badges: [string, string][]\r\n showPriceWithoutDecimals: boolean\r\n textBadges: TextBadge[]\r\n pricing: Pricing\r\n imageOptimization: boolean\r\n wishlistProvider: WishlistProvider\r\n searchPersonalization: boolean\r\n collectionsPersonalization: CollectionPersonalizationSettings\r\n backInStockProvider: BackInStockProvider\r\n customIcons: Record<string, string>\r\n categoryNavigationTree: boolean,\r\n domain: string,\r\n translationProvider: TranslationProvider,\r\n isSPA: boolean,\r\n takeoverCategoriesNavigation: boolean,\r\n takeoverSearch: boolean,\r\n categoryFilterType: CategoryFilterType,\r\n has_shopify_markets: boolean\r\n}\r\n\r\nexport const SiteSettings = {\r\n getSiteSetup: async (): Promise<SiteSetup> => {\r\n return await API.get<SiteSetup>({\r\n url: ENDPOINT,\r\n params: {\r\n uuid: String(get(uuid)),\r\n store_id: Number(get(storeID))\r\n }\r\n });\r\n },\r\n getUnpublishedSiteSetup: async (data: {theme_id: string}): Promise<SiteSetup> => {\r\n return await API.get<SiteSetup>({\r\n url: ENDPOINT_UNPUBLISHED,\r\n params: {\r\n uuid: String(get(uuid)),\r\n store_id: Number(get(storeID)),\r\n theme_id: data.theme_id\r\n }\r\n });\r\n },\r\n getFastSimonVariationSiteSetup: async (): Promise<SiteSetup> => {\r\n return await API.get<SiteSetup>({\r\n url: ENDPOINT_VARIATION,\r\n params: {\r\n uuid: String(get(uuid)),\r\n store_id: Number(get(storeID)),\r\n theme_id: ((window as any)?.FS_VARIATION?.theme_id ?? localStorage.getItem(LS_SERVING_THEME)?.split(';')?.[1])|| undefined,\r\n variation_id: localStorage.getItem(LS_SERVING_THEME) ? localStorage.getItem(LS_SERVING_THEME)?.split(';')?.[0] : (getUserVariation() || undefined)\r\n }\r\n });\r\n }\r\n\r\n}"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { segments, Reporting } from "../store";
|
|
2
|
-
import { get } from "svelte/store";
|
|
3
|
-
const ISP_SEGMENTS_SERVING_KEY = 'ISP_SEGMENTS_SERVING_KEY';
|
|
4
|
-
const ISP_TOKEN_KEY = 'isp_token_1';
|
|
5
|
-
export default function setSegments() {
|
|
6
|
-
const lsSegments = localStorage.getItem(ISP_SEGMENTS_SERVING_KEY);
|
|
7
|
-
const userToken = localStorage.getItem(ISP_TOKEN_KEY);
|
|
8
|
-
segments.set(lsSegments === 'true' && userToken ? userToken : undefined);
|
|
9
|
-
}
|
|
10
|
-
export function getSegments(hasSessionProducts) {
|
|
11
|
-
var _a, _b, _c, _d, _e, _f;
|
|
12
|
-
const reporting = get(Reporting);
|
|
13
|
-
const st = ((_b = (_a = reporting === null || reporting === void 0 ? void 0 : reporting.getBase) === null || _a === void 0 ? void 0 : _a.call(reporting)) === null || _b === void 0 ? void 0 : _b.userSession) || localStorage.getItem(ISP_TOKEN_KEY) || undefined;
|
|
14
|
-
if (hasSessionProducts) {
|
|
15
|
-
return st;
|
|
16
|
-
}
|
|
17
|
-
return (((_c = reporting === null || reporting === void 0 ? void 0 : reporting.isReady) === null || _c === void 0 ? void 0 : _c.call(reporting)) && ((_d = reporting === null || reporting === void 0 ? void 0 : reporting.getBase) === null || _d === void 0 ? void 0 : _d.call(reporting).segments)) ? (_f = (_e = reporting === null || reporting === void 0 ? void 0 : reporting.getBase) === null || _e === void 0 ? void 0 : _e.call(reporting)) === null || _f === void 0 ? void 0 : _f.userSession : get(segments);
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=setSegments.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setSegments.js","sourceRoot":"","sources":["../../../../../../serving/src/store/actions/setSegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAC,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAC,GAAG,EAAC,MAAM,cAAc,CAAC;AACjC,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,aAAa,GAAG,aAAa,CAAC;AAEpC,MAAM,CAAC,OAAO,UAAU,WAAW;IAC/B,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAClE,MAAM,SAAS,GAAG,YAAY,CAAC,OAAO,CAAC,aAAa,CAAW,CAAC;IAChE,QAAQ,CAAC,GAAG,CAAC,UAAU,KAAK,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,kBAA4B;;IACpD,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC;IACjC,MAAM,EAAE,GAAG,CAAA,MAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,yDAAI,0CAAE,WAAW,KAAI,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,SAAS,CAAC;IACnG,IAAG,kBAAkB,EAAE;QACnB,OAAO,EAAE,CAAC;KACb;IACD,OAAO,CAAC,CAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,yDAAI,MAAI,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,0DAAK,QAAQ,CAAA,CAAC,CAAC,CAAC,CAAC,MAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,yDAAI,0CAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC7H,CAAC","sourcesContent":["import {segments, Reporting} from \"../store\";\r\nimport {get} from \"svelte/store\";\r\nconst ISP_SEGMENTS_SERVING_KEY = 'ISP_SEGMENTS_SERVING_KEY';\r\nconst ISP_TOKEN_KEY = 'isp_token_1';\r\n\r\nexport default function setSegments() {\r\n const lsSegments = localStorage.getItem(ISP_SEGMENTS_SERVING_KEY);\r\n const userToken = localStorage.getItem(ISP_TOKEN_KEY) as string;\r\n segments.set(lsSegments === 'true' && userToken ? userToken : undefined);\r\n}\r\n\r\nexport function getSegments(hasSessionProducts?: boolean) {\r\n const reporting = get(Reporting);\r\n const st = reporting?.getBase?.()?.userSession || localStorage.getItem(ISP_TOKEN_KEY) || undefined;\r\n if(hasSessionProducts) {\r\n return st;\r\n }\r\n return (reporting?.isReady?.() && reporting?.getBase?.().segments) ? reporting?.getBase?.()?.userSession : get(segments);\r\n}"]}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import type { Narrow } from "../@types/narrow";
|
|
2
|
-
import type { Platform } from "../@types/platform";
|
|
3
|
-
import type { Products } from "../@types/product";
|
|
4
|
-
import type { SortBy } from "../@types/sortBy";
|
|
5
|
-
import type { SiteSetup } from "../services/siteSettings";
|
|
6
|
-
import type { Device } from "../@types/device";
|
|
7
|
-
import { PlatformProvider } from "@fast-simon/add-to-cart";
|
|
8
|
-
import type { Tree } from "../utils/tree";
|
|
9
|
-
import type { Category } from "../@types/categories";
|
|
10
|
-
import type { ProductGridEditorSettings } from "../@types/editor";
|
|
11
|
-
import type { ReportingObject } from "@fast-simon/fast-simon-reporting";
|
|
12
|
-
import { TabType } from "../@types/Tab";
|
|
13
|
-
import { GridViewType } from "../@types/gridView";
|
|
14
|
-
import { IspOptions } from "../@types/ispOptions";
|
|
15
|
-
import { BigcommerceCurrency } from "../@types/bigcommerceCurrency";
|
|
16
|
-
import { BigcommerceCustomerGroup } from "../@types/bigcommerceCustomer";
|
|
17
|
-
import { CategoryFilterTypeOption } from "../@types/editor";
|
|
18
|
-
export declare const uuid: import("svelte/store").Writable<string>;
|
|
19
|
-
export declare const storeID: import("svelte/store").Writable<number>;
|
|
20
|
-
export declare const cdnCacheKey: import("svelte/store").Writable<number>;
|
|
21
|
-
export declare const platform: import("svelte/store").Writable<Platform>;
|
|
22
|
-
export declare const isSuspended: import("svelte/store").Writable<boolean>;
|
|
23
|
-
export declare const takeOverCategories: import("svelte/store").Writable<boolean>;
|
|
24
|
-
export declare const siteEndpoint: import("svelte/store").Writable<string>;
|
|
25
|
-
export declare const products: import("svelte/store").Writable<Record<number, Products>>;
|
|
26
|
-
export declare const narrow: import("svelte/store").Writable<Narrow>;
|
|
27
|
-
export declare const page: import("svelte/store").Writable<number>;
|
|
28
|
-
export declare const sortBy: import("svelte/store").Writable<SortBy>;
|
|
29
|
-
export declare const numberOfPages: import("svelte/store").Writable<number>;
|
|
30
|
-
export declare const device: import("svelte/store").Writable<Device>;
|
|
31
|
-
export declare const query: import("svelte/store").Writable<string>;
|
|
32
|
-
export declare const categoryID: import("svelte/store").Writable<string>;
|
|
33
|
-
export declare const categoryURL: import("svelte/store").Writable<string>;
|
|
34
|
-
export declare const landingPage: import("svelte/store").Writable<string>;
|
|
35
|
-
export declare const landingPageTitle: import("svelte/store").Writable<string>;
|
|
36
|
-
export declare const pageBanner: import("svelte/store").Writable<string>;
|
|
37
|
-
export declare const pageBannerMobile: import("svelte/store").Writable<string>;
|
|
38
|
-
export declare const currentTab: import("svelte/store").Writable<TabType>;
|
|
39
|
-
export declare const hideFilters: import("svelte/store").Writable<boolean>;
|
|
40
|
-
export declare const firstLoad: import("svelte/store").Writable<boolean>;
|
|
41
|
-
export declare const forceRecursiveLoad: import("svelte/store").Writable<boolean>;
|
|
42
|
-
export declare const searchWithinResultsQuery: import("svelte/store").Writable<string>;
|
|
43
|
-
export declare const categoryName: import("svelte/store").Writable<string>;
|
|
44
|
-
export declare const bigcommerceCurrenciesRates: import("svelte/store").Writable<BigcommerceCurrency[]>;
|
|
45
|
-
export declare const currentSiteCurrency: import("svelte/store").Writable<string>;
|
|
46
|
-
export declare const currentBigCommerceCurrencyRate: import("svelte/store").Writable<BigcommerceCurrency>;
|
|
47
|
-
export declare const imageSize: import("svelte/store").Writable<number>;
|
|
48
|
-
export declare const collectionPersonalizationLimit: import("svelte/store").Writable<number>;
|
|
49
|
-
export declare const bigcommerceGroupID: import("svelte/store").Writable<BigcommerceCustomerGroup>;
|
|
50
|
-
export declare const shopifySubCatCollection: import("svelte/store").Writable<string>;
|
|
51
|
-
export declare const spaCallbackTriggered: import("svelte/store").Writable<number>;
|
|
52
|
-
export declare const evCache: import("svelte/store").Writable<PointerEvent[]>;
|
|
53
|
-
export declare const prevDiff: import("svelte/store").Writable<number>;
|
|
54
|
-
export declare const isZoomedIn: import("svelte/store").Writable<boolean>;
|
|
55
|
-
export declare const nextCacheProducts: import("svelte/store").Writable<Products>;
|
|
56
|
-
export declare const nextCacheProductsIDS: import("svelte/store").Writable<string[]>;
|
|
57
|
-
export declare const siteSetup: import("svelte/store").Writable<SiteSetup | undefined>;
|
|
58
|
-
export declare const currentEditorSettings: import("svelte/store").Writable<ProductGridEditorSettings | undefined>;
|
|
59
|
-
export declare const gridViewMode: import("svelte/store").Writable<GridViewType>;
|
|
60
|
-
export declare const categoryTree: import("svelte/store").Writable<Tree<Category>>;
|
|
61
|
-
export declare const firstLevelCategories: import("svelte/store").Writable<Category[]>;
|
|
62
|
-
export declare const ispOptions: import("svelte/store").Writable<IspOptions>;
|
|
63
|
-
export declare const hasSubCategories: import("svelte/store").Writable<boolean>;
|
|
64
|
-
export declare const shopifyMarketPrices: import("svelte/store").Writable<Record<string, {
|
|
65
|
-
price: string;
|
|
66
|
-
currency: string;
|
|
67
|
-
}>>;
|
|
68
|
-
export declare const shopifyMarketPricesLoading: import("svelte/store").Writable<boolean>;
|
|
69
|
-
export declare const sitePlatform: import("svelte/store").Readable<PlatformProvider>;
|
|
70
|
-
export declare const Reporting: import("svelte/store").Writable<ReportingObject>;
|
|
71
|
-
export declare const isPreview: import("svelte/store").Writable<boolean>;
|
|
72
|
-
export declare const previewCurrentElementName: import("svelte/store").Writable<string>;
|
|
73
|
-
export declare const userLocation: import("svelte/store").Writable<string>;
|
|
74
|
-
export declare const segments: import("svelte/store").Writable<string | undefined>;
|
|
75
|
-
export declare const productImageHeight: import("svelte/store").Writable<number>;
|
|
76
|
-
export declare const productImageWidth: import("svelte/store").Writable<number>;
|
|
77
|
-
export declare const isMerchandisingRulesPreview: import("svelte/store").Writable<boolean>;
|
|
78
|
-
export declare const merchandisingRulesPreviewProps: import("svelte/store").Writable<{
|
|
79
|
-
[key: string]: string | number | boolean | object | undefined;
|
|
80
|
-
}>;
|
|
81
|
-
export declare const merchandisingRulesPreviewDisabledFlags: import("svelte/store").Writable<{
|
|
82
|
-
[key: string]: string | number | boolean | object | undefined;
|
|
83
|
-
}>;
|
|
84
|
-
export declare const merchandisingRulesPreviewURL: import("svelte/store").Writable<string | undefined>;
|
|
85
|
-
export declare const isMerchandisingStrategiesPreview: import("svelte/store").Writable<boolean>;
|
|
86
|
-
export declare const merchandisingStrategiesPreviewURL: import("svelte/store").Writable<(requestSuffix: string) => string>;
|
|
87
|
-
export declare const currentCategoryFilterType: import("svelte/store").Writable<CategoryFilterTypeOption | undefined>;
|
|
88
|
-
export declare const articlesCount: import("svelte/store").Writable<number>;
|