@fast-simon/dashboard-utilities 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BackOfficeFiltersMenu/styles.module.css +10 -0
- package/dist/components/CheckboxFilter/Checkbox/styles.module.css +143 -0
- package/dist/components/CheckboxFilter/styles.module.css +5 -0
- package/dist/components/DragAndDrop/styles.module.css +21 -0
- package/dist/components/FacetItem/styles.module.css +55 -0
- package/dist/components/FromToFilter/From/styles.module.css +9 -0
- package/dist/components/FromToFilter/To/styles.module.css +9 -0
- package/dist/components/FromToFilter/styles.module.css +34 -0
- package/dist/components/InStoreFiltersMenu/styles.module.css +10 -0
- package/dist/components/Input/styles.module.css +3 -0
- package/dist/components/LastReceivedDateFilter/styles.module.css +41 -0
- package/dist/components/RadioFilter/Radio/styles.module.css +145 -0
- package/dist/components/RadioFilter/styles.module.css +23 -0
- package/dist/components/ReactDatePicker/styles.module.css +3 -0
- package/dist/components/SingleFilter/styles.module.css +23 -0
- package/dist/components/SliderFilter/styles.module.css +16 -0
- package/dist/components/Tooltip/styles.module.css +34 -0
- package/dist/components/productGrid/styles.module.css +23 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/ActionItem.d.ts +10 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/ActionItem.js +17 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/ActionItem.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/ActionsBar.d.ts +14 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/ActionsBar.js +14 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/ActionsBar.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/utils.d.ts +16 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/utils.js +61 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/Positioning/Positioning.d.ts +6 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/Positioning/Positioning.js +52 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/Positioning/Positioning.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/Positioning/index.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/Positioning/index.js +2 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/Positioning/index.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/ProductCard.d.ts +24 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/ProductCard.js +88 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/ProductCard.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/components/ProductLabel/ProductLabel.d.ts +11 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/components/ProductLabel/ProductLabel.js +11 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/components/ProductLabel/ProductLabel.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/components/ProductLabel/utils.d.ts +8 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/components/ProductLabel/utils.js +9 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/components/ProductLabel/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/utils.d.ts +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/utils.js +2 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/ProductCard/utils.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SelectCard/SelectCard.d.ts +5 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SelectCard/SelectCard.js +8 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/components/SelectCard/SelectCard.js.map +1 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/context/visualEditorContext.d.ts +66 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/context/visualEditorContext.js +54 -0
- package/dist/dashboard/dashboard-client/src/pages/LandingPages/editor/context/visualEditorContext.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/banner.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/@types/banner.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/banner.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/categories.d.ts +16 -0
- package/dist/frontends/dashboard-utilities/src/@types/categories.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/categories.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/currency.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/currency.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/currency.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.d.ts +26 -0
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.js +6 -0
- package/dist/frontends/dashboard-utilities/src/@types/editorProduct.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/facets.d.ts +45 -0
- package/dist/frontends/dashboard-utilities/src/@types/facets.js +19 -0
- package/dist/frontends/dashboard-utilities/src/@types/facets.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/iconProps.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/narrow.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/@types/narrow.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/narrow.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/product.d.ts +158 -0
- package/dist/frontends/dashboard-utilities/src/@types/product.js +8 -0
- package/dist/frontends/dashboard-utilities/src/@types/product.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/productLabel.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.d.ts +11 -0
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/promoTile.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/results.d.ts +43 -0
- package/dist/frontends/dashboard-utilities/src/@types/results.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/results.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.d.ts +19 -0
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/sideMenu.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.js +2 -0
- package/dist/frontends/dashboard-utilities/src/@types/sortBy.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/App.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/App.js +16 -0
- package/dist/frontends/dashboard-utilities/src/App.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js +74 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/BackOfficeFiltersMenu.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.js +239 -0
- package/dist/frontends/dashboard-utilities/src/components/BackOfficeFiltersMenu/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.d.ts +10 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.js +7 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/Checkbox/Checkbox.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.d.ts +6 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.js +9 -0
- package/dist/frontends/dashboard-utilities/src/components/CheckboxFilter/CheckboxFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.d.ts +20 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.js +33 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/DndContextWrapper.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.js +10 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/Droppable.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.d.ts +13 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.js +39 -0
- package/dist/frontends/dashboard-utilities/src/components/DragAndDrop/SortableItem.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.d.ts +13 -0
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.js +40 -0
- package/dist/frontends/dashboard-utilities/src/components/FacetItem/FacetItem.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.d.ts +31 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.js +398 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/FastSimonApi.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.d.ts +50 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.js +10 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/context.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.js +3 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.d.ts +172 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.js +67 -0
- package/dist/frontends/dashboard-utilities/src/components/FastSimonApi/reducer.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.d.ts +17 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.js +22 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/From/From.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.d.ts +14 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.js +58 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/FromToFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.d.ts +18 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.js +23 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/To/To.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.d.ts +25 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.js +7 -0
- package/dist/frontends/dashboard-utilities/src/components/FromToFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.d.ts +10 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.js +34 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/InStoreFiltersMenu.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/InStoreFiltersMenu/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.d.ts +22 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.js +49 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/Input.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/Input/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.js +88 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/LastReceivedDate.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.js +43 -0
- package/dist/frontends/dashboard-utilities/src/components/LastReceivedDateFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.d.ts +10 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.js +7 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/Radio/Radio.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.d.ts +9 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.js +45 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/RadioFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.js +8 -0
- package/dist/frontends/dashboard-utilities/src/components/RadioFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.d.ts +11 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.js +16 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/ReactDatePicker.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/ReactDatePicker/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.d.ts +12 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.js +59 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/RenderIfVisible.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/RenderIfVisible/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.d.ts +11 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.js +90 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/SingleFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.js +42 -0
- package/dist/frontends/dashboard-utilities/src/components/SingleFilter/utils.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.d.ts +20 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.js +45 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/SliderFilter.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/SliderFilter/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.js +9 -0
- package/dist/frontends/dashboard-utilities/src/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/common.d.ts +34 -0
- package/dist/frontends/dashboard-utilities/src/components/common.js +80 -0
- package/dist/frontends/dashboard-utilities/src/components/common.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.d.ts +6 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.js +11 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/ProductGrid.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.js +2 -0
- package/dist/frontends/dashboard-utilities/src/components/productGrid/index.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/BackOfficeFiltersIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/BannersIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/BuriedIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/BuriedIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/BuriedIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/CutIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/CutIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/CutIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.d.ts +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.js +5 -0
- package/dist/frontends/dashboard-utilities/src/icons/HelpIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/HiddenIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/HiddenIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/HiddenIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/InStoreFiltersIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/PinIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/PinIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/PinIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/PositionIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/PositionIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/PositionIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/PromoteIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/RemoveIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.d.ts +2 -0
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.js +7 -0
- package/dist/frontends/dashboard-utilities/src/icons/RestoreIcon.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/main.d.ts +1 -0
- package/dist/frontends/dashboard-utilities/src/main.js +6 -0
- package/dist/frontends/dashboard-utilities/src/main.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/services/API.d.ts +21 -0
- package/dist/frontends/dashboard-utilities/src/services/API.js +50 -0
- package/dist/frontends/dashboard-utilities/src/services/API.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/services/landingPage.d.ts +28 -0
- package/dist/frontends/dashboard-utilities/src/services/landingPage.js +153 -0
- package/dist/frontends/dashboard-utilities/src/services/landingPage.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.d.ts +4 -0
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.js +10 -0
- package/dist/frontends/dashboard-utilities/src/utils/customTagsFilters.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/fixPinnedPositions.d.ts +4 -0
- package/dist/frontends/dashboard-utilities/src/utils/fixPinnedPositions.js +27 -0
- package/dist/frontends/dashboard-utilities/src/utils/fixPinnedPositions.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/narrow.d.ts +18 -0
- package/dist/frontends/dashboard-utilities/src/utils/narrow.js +101 -0
- package/dist/frontends/dashboard-utilities/src/utils/narrow.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/products.d.ts +30 -0
- package/dist/frontends/dashboard-utilities/src/utils/products.js +39 -0
- package/dist/frontends/dashboard-utilities/src/utils/products.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/shopifyMarkets.d.ts +3 -0
- package/dist/frontends/dashboard-utilities/src/utils/shopifyMarkets.js +7 -0
- package/dist/frontends/dashboard-utilities/src/utils/shopifyMarkets.js.map +1 -0
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.d.ts +13 -0
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.js +177 -0
- package/dist/frontends/dashboard-utilities/src/utils/useDragToSelect.js.map +1 -0
- package/dist/icons/styles.module.css +61 -0
- package/package.json +65 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
.fsCheckbox {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: relative;
|
|
4
|
+
padding: 0 5px 0 0;
|
|
5
|
+
margin-top: 5px;
|
|
6
|
+
margin-bottom: 5px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
-webkit-user-select: none;
|
|
9
|
+
-moz-user-select: none;
|
|
10
|
+
-ms-user-select: none;
|
|
11
|
+
user-select: none;
|
|
12
|
+
font-family: Arial, serif;
|
|
13
|
+
animation: growDown 300ms ease forwards;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fsCheckbox input {
|
|
18
|
+
position: fixed;
|
|
19
|
+
opacity: 0;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
height: 0;
|
|
22
|
+
width: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.checkmark {
|
|
26
|
+
min-height: 16px;
|
|
27
|
+
min-width: 16px;
|
|
28
|
+
background-color: #eee;
|
|
29
|
+
margin-right: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.fsCheckbox:hover input ~ .checkmark {
|
|
33
|
+
background-color: #d00202cf;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.fsCheckbox input:checked ~ .checkmark {
|
|
37
|
+
background-color: white;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.fsCheckbox input:checked ~ .checkmark:after {
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fsCheckboxx .checkmark:after {
|
|
45
|
+
left: 5px;
|
|
46
|
+
width: 4px;
|
|
47
|
+
height: 9px;
|
|
48
|
+
border: solid white;
|
|
49
|
+
border-width: 0 2px 2px 0;
|
|
50
|
+
-webkit-transform: rotate(45deg);
|
|
51
|
+
-ms-transform: rotate(45deg);
|
|
52
|
+
transform: rotate(45deg);
|
|
53
|
+
}
|
|
54
|
+
.fsSelectedCheckboxTrue{}
|
|
55
|
+
.fsSelectedCheckboxFalse{}
|
|
56
|
+
|
|
57
|
+
@keyframes growDown {
|
|
58
|
+
0% {
|
|
59
|
+
transform: scaleY(0)
|
|
60
|
+
}
|
|
61
|
+
80% {
|
|
62
|
+
transform: scaleY(1.1)
|
|
63
|
+
}
|
|
64
|
+
100% {
|
|
65
|
+
transform: scaleY(1)
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.checkbox {
|
|
70
|
+
display: flex;
|
|
71
|
+
position: relative;
|
|
72
|
+
padding: 0 5px 0 0;
|
|
73
|
+
margin-top: 5px;
|
|
74
|
+
margin-bottom: 5px;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
-webkit-user-select: none;
|
|
77
|
+
-moz-user-select: none;
|
|
78
|
+
-ms-user-select: none;
|
|
79
|
+
user-select: none;
|
|
80
|
+
font-family: Arial, serif;
|
|
81
|
+
animation: growDown 300ms ease forwards;
|
|
82
|
+
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.checkbox .checkboxLabel {
|
|
86
|
+
align-self: start;
|
|
87
|
+
text-transform: capitalize;
|
|
88
|
+
display: flex;
|
|
89
|
+
line-height: 20px;
|
|
90
|
+
align-items: center;
|
|
91
|
+
margin-top: 2px;
|
|
92
|
+
width: -webkit-fill-available;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
text-overflow: ellipsis;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.checkbox input {
|
|
99
|
+
position: fixed;
|
|
100
|
+
opacity: 0;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
height: 0;
|
|
103
|
+
width: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.checkmark {
|
|
107
|
+
min-height: 16px;
|
|
108
|
+
min-width: 16px;
|
|
109
|
+
background-color: #eee;
|
|
110
|
+
margin-right: 10px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.checkbox:hover input ~ .checkmark {
|
|
114
|
+
background-color: #ccc;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.checkbox input:checked ~ .checkmark {
|
|
118
|
+
background-color: #000000;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.checkmark:after {
|
|
122
|
+
content: "";
|
|
123
|
+
position: absolute;
|
|
124
|
+
display: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.checkbox input:checked ~ .checkmark:after {
|
|
128
|
+
display: block;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.checkbox .checkmark:after {
|
|
132
|
+
left: 5px;
|
|
133
|
+
width: 4px;
|
|
134
|
+
height: 9px;
|
|
135
|
+
border: solid white;
|
|
136
|
+
border-width: 0 2px 2px 0;
|
|
137
|
+
-webkit-transform: rotate(45deg);
|
|
138
|
+
-ms-transform: rotate(45deg);
|
|
139
|
+
transform: rotate(45deg);
|
|
140
|
+
}
|
|
141
|
+
:global(.modal-mobile-filters .fs-serp-filter-count, .modal-mobile-filters .fsSerpCheckmark) {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.over:after {
|
|
2
|
+
background-color: #4c9ffe;
|
|
3
|
+
content: '';
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
width: 3px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.after:after {
|
|
11
|
+
right: -12px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.before:after {
|
|
15
|
+
left: -12px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.disabledChildren {
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
opacity: 1;
|
|
21
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.fsFlexFacetTitle {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
.fsFlexFacetSpan {
|
|
5
|
+
margin-left: 0.7rem;
|
|
6
|
+
}
|
|
7
|
+
.fsFacetTitle {
|
|
8
|
+
-webkit-font-smoothing: antialiased;
|
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
|
10
|
+
letter-spacing: .2px;
|
|
11
|
+
background-color: #fff0;
|
|
12
|
+
border: none;
|
|
13
|
+
width: 100%;
|
|
14
|
+
text-align: left;
|
|
15
|
+
padding: 8px 0;
|
|
16
|
+
position: relative;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
transition: background-color .2s ease-out;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
color: #000;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
display: flex;
|
|
24
|
+
gap: 10px;
|
|
25
|
+
align-items: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.fsFacetContainer {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
.fsFacetOptions {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
padding: 0;
|
|
36
|
+
max-height: 230px;
|
|
37
|
+
overflow: auto;
|
|
38
|
+
}
|
|
39
|
+
.fsFacetOptions::-webkit-scrollbar {
|
|
40
|
+
width: 10px;
|
|
41
|
+
height: 10px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fsFacetOptions::-webkit-scrollbar-track {
|
|
45
|
+
border-radius: 4px;
|
|
46
|
+
border: 1px solid #cacaca;
|
|
47
|
+
background-color: white;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.fsFacetOptions::-webkit-scrollbar-thumb {
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
background-color: #e1e1e1;
|
|
53
|
+
border: 1px solid #cacaca;
|
|
54
|
+
transition: background-color ease-in-out 100ms;
|
|
55
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.fsFacetTitle {
|
|
2
|
+
-webkit-font-smoothing: antialiased;
|
|
3
|
+
-moz-osx-font-smoothing: grayscale;
|
|
4
|
+
letter-spacing: .2px;
|
|
5
|
+
background-color: #fff0;
|
|
6
|
+
border: none;
|
|
7
|
+
width: 100%;
|
|
8
|
+
text-align: left;
|
|
9
|
+
padding: 8px 0;
|
|
10
|
+
position: relative;
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
transition: background-color .2s ease-out;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
color: #000;
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
display: flex;
|
|
18
|
+
gap: 10px;
|
|
19
|
+
align-items: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.fsFacetContainer {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
}
|
|
26
|
+
.fsFacetOptions {
|
|
27
|
+
width: 100%;
|
|
28
|
+
margin: 0 -5px;
|
|
29
|
+
}
|
|
30
|
+
.fsFacetOptions:after {
|
|
31
|
+
content: "";
|
|
32
|
+
display: table;
|
|
33
|
+
clear: both;
|
|
34
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.fsOptions {
|
|
2
|
+
padding: 0 0 8px 8px;
|
|
3
|
+
}
|
|
4
|
+
.showMore {
|
|
5
|
+
color: #737373;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.showMore:hover {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.arrow {
|
|
13
|
+
border: solid #636363;
|
|
14
|
+
border-width: 0 1.5px 1.5px 0;
|
|
15
|
+
display: inline-block;
|
|
16
|
+
padding: 3px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.down {
|
|
20
|
+
transform: rotate(45deg);
|
|
21
|
+
-webkit-transform: rotate(45deg);
|
|
22
|
+
margin-bottom: 2px;
|
|
23
|
+
}
|
|
24
|
+
.fsFacetContainer {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
padding: 0pc 2px;
|
|
28
|
+
width: calc(100% - 4px);
|
|
29
|
+
}
|
|
30
|
+
.fsFacetOptions {
|
|
31
|
+
width: calc(50% - 12px);
|
|
32
|
+
padding: 0px 6px;
|
|
33
|
+
}
|
|
34
|
+
.fsFacetOptions:after {
|
|
35
|
+
content: "";
|
|
36
|
+
display: table;
|
|
37
|
+
clear: both;
|
|
38
|
+
}
|
|
39
|
+
.fsFacetOptions>.react-datepicker-wrapper {
|
|
40
|
+
width: calc(100% - 6px)!important;
|
|
41
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
.fsCheckbox {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: relative;
|
|
4
|
+
padding: 0 5px 0 0;
|
|
5
|
+
margin-top: 5px;
|
|
6
|
+
margin-bottom: 5px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
-webkit-user-select: none;
|
|
9
|
+
-moz-user-select: none;
|
|
10
|
+
-ms-user-select: none;
|
|
11
|
+
user-select: none;
|
|
12
|
+
font-family: Arial, serif;
|
|
13
|
+
animation: growDown 300ms ease forwards;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fsCheckbox input {
|
|
18
|
+
position: fixed;
|
|
19
|
+
opacity: 0;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
height: 0;
|
|
22
|
+
width: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.checkmark {
|
|
26
|
+
min-height: 16px;
|
|
27
|
+
min-width: 16px;
|
|
28
|
+
background-color: #eee;
|
|
29
|
+
margin-right: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.fsCheckbox:hover input ~ .checkmark {
|
|
33
|
+
background-color: #d00202cf;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.fsCheckbox input:checked ~ .checkmark {
|
|
37
|
+
background-color: white;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.fsCheckbox input:checked ~ .checkmark:after {
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fsCheckboxx .checkmark:after {
|
|
45
|
+
left: 5px;
|
|
46
|
+
width: 4px;
|
|
47
|
+
height: 9px;
|
|
48
|
+
border: solid white;
|
|
49
|
+
border-width: 0 2px 2px 0;
|
|
50
|
+
-webkit-transform: rotate(45deg);
|
|
51
|
+
-ms-transform: rotate(45deg);
|
|
52
|
+
transform: rotate(45deg);
|
|
53
|
+
}
|
|
54
|
+
.fsSelectedCheckboxTrue{}
|
|
55
|
+
.fsSelectedCheckboxFalse{}
|
|
56
|
+
|
|
57
|
+
@keyframes growDown {
|
|
58
|
+
0% {
|
|
59
|
+
transform: scaleY(0)
|
|
60
|
+
}
|
|
61
|
+
80% {
|
|
62
|
+
transform: scaleY(1.1)
|
|
63
|
+
}
|
|
64
|
+
100% {
|
|
65
|
+
transform: scaleY(1)
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.checkbox {
|
|
70
|
+
display: flex;
|
|
71
|
+
position: relative;
|
|
72
|
+
padding: 0 5px 0 0;
|
|
73
|
+
margin-top: 5px;
|
|
74
|
+
margin-bottom: 5px;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
-webkit-user-select: none;
|
|
77
|
+
-moz-user-select: none;
|
|
78
|
+
-ms-user-select: none;
|
|
79
|
+
user-select: none;
|
|
80
|
+
font-family: Arial, serif;
|
|
81
|
+
animation: growDown 300ms ease forwards;
|
|
82
|
+
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.checkbox .checkboxLabel {
|
|
86
|
+
align-self: start;
|
|
87
|
+
text-transform: capitalize;
|
|
88
|
+
display: flex;
|
|
89
|
+
line-height: 20px;
|
|
90
|
+
align-items: center;
|
|
91
|
+
margin-top: 2px;
|
|
92
|
+
width: -webkit-fill-available;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
text-overflow: ellipsis;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.checkbox input {
|
|
99
|
+
position: fixed;
|
|
100
|
+
opacity: 0;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
height: 0;
|
|
103
|
+
width: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.checkmark {
|
|
107
|
+
min-height: 16px;
|
|
108
|
+
min-width: 16px;
|
|
109
|
+
background-color: #eee;
|
|
110
|
+
margin-right: 10px;
|
|
111
|
+
border-radius: 18px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.checkbox:hover input ~ .checkmark {
|
|
115
|
+
background-color: #ccc;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.checkbox input:checked ~ .checkmark {
|
|
119
|
+
background-color: #000000;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.checkmark:after {
|
|
123
|
+
content: "";
|
|
124
|
+
position: absolute;
|
|
125
|
+
display: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.checkbox input:checked ~ .checkmark:after {
|
|
129
|
+
display: block;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.checkbox .checkmark:after {
|
|
133
|
+
left: 5px;
|
|
134
|
+
width: 3px;
|
|
135
|
+
height: 8px;
|
|
136
|
+
top: 5px;
|
|
137
|
+
border: solid white;
|
|
138
|
+
border-width: 0 2px 2px 0;
|
|
139
|
+
-webkit-transform: rotate(45deg);
|
|
140
|
+
-ms-transform: rotate(45deg);
|
|
141
|
+
transform: rotate(45deg);
|
|
142
|
+
}
|
|
143
|
+
:global(.modal-mobile-filters .fs-serp-filter-count, .modal-mobile-filters .fsSerpCheckmark) {
|
|
144
|
+
display: none;
|
|
145
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.fsOptions {
|
|
2
|
+
padding: 0 0 8px 8px;
|
|
3
|
+
}
|
|
4
|
+
.showMore {
|
|
5
|
+
color: #737373;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.showMore:hover {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.arrow {
|
|
13
|
+
border: solid #636363;
|
|
14
|
+
border-width: 0 1.5px 1.5px 0;
|
|
15
|
+
display: inline-block;
|
|
16
|
+
padding: 3px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.down {
|
|
20
|
+
transform: rotate(45deg);
|
|
21
|
+
-webkit-transform: rotate(45deg);
|
|
22
|
+
margin-bottom: 2px;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.fsOptions {
|
|
2
|
+
padding: 0 5px 8px 8px;
|
|
3
|
+
}
|
|
4
|
+
.showMore {
|
|
5
|
+
color: #737373;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.showMore:hover {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.arrow {
|
|
13
|
+
border: solid #636363;
|
|
14
|
+
border-width: 0 1.5px 1.5px 0;
|
|
15
|
+
display: inline-block;
|
|
16
|
+
padding: 3px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.down {
|
|
20
|
+
transform: rotate(45deg);
|
|
21
|
+
-webkit-transform: rotate(45deg);
|
|
22
|
+
margin-bottom: 2px;
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.select {
|
|
2
|
+
width: 250px !important;
|
|
3
|
+
font-size: 18px;
|
|
4
|
+
box-sizing: border-box !important;
|
|
5
|
+
}
|
|
6
|
+
.rcSlider{
|
|
7
|
+
width: calc(100% - 10px)!important;
|
|
8
|
+
min-height: 30px!important;
|
|
9
|
+
padding: 5px 4px !important;
|
|
10
|
+
}
|
|
11
|
+
.rcSlider>.rc-slider-track{
|
|
12
|
+
background-color: #282828;
|
|
13
|
+
}
|
|
14
|
+
.rcSlider>.rc-slider-handle{
|
|
15
|
+
border-color: #575757;
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.miniTooltip {
|
|
2
|
+
opacity: 0;
|
|
3
|
+
transition: opacity ease-in-out 110ms;
|
|
4
|
+
padding: 4px 10px;
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
z-index: 10;
|
|
8
|
+
position: absolute;
|
|
9
|
+
text-align: center;
|
|
10
|
+
background-color: #545454;
|
|
11
|
+
color: white;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
height: fit-content;
|
|
15
|
+
border-radius: 8px;
|
|
16
|
+
width: max-content;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
max-width: 86px;
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
top: 100%;
|
|
21
|
+
left: 30%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.tooltipIcon:hover ~ .miniTooltip {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.tooltipIcon {
|
|
29
|
+
font-size: 16px !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tooltipIcon:hover {
|
|
33
|
+
fill: #909090;
|
|
34
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.grid {
|
|
2
|
+
grid-template-columns: repeat(var(--products-per-row), calc(100%/var(--products-per-row) - 80px));
|
|
3
|
+
display: grid;
|
|
4
|
+
container-type: inline-size;
|
|
5
|
+
grid-column-gap: 20px;
|
|
6
|
+
grid-row-gap: 20px;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
padding: 10px 10px 12px 0;
|
|
9
|
+
grid-auto-rows: auto;
|
|
10
|
+
align-items: stretch;
|
|
11
|
+
overflow-anchor: none;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
width: 100%;
|
|
14
|
+
position: relative;
|
|
15
|
+
cursor: crosshair;
|
|
16
|
+
margin: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@container (max-width: 870px) {
|
|
20
|
+
.grid {
|
|
21
|
+
grid-template-columns: repeat(var(--products-per-row), calc(100%/var(--products-per-row) - 20px));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ActionItem as ActionItemType } from "./utils";
|
|
3
|
+
export interface Props {
|
|
4
|
+
item: ActionItemType;
|
|
5
|
+
onClick: (item: ActionItemType, position?: number) => void;
|
|
6
|
+
position?: number;
|
|
7
|
+
tooltipClassName?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const ActionItem: React.FC<Props>;
|
|
10
|
+
export default ActionItem;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classes from "./styles.module.css";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
const ActionItem = ({ item, onClick, position, tooltipClassName }) => {
|
|
5
|
+
var _a, _b, _c;
|
|
6
|
+
const onActionClicked = (event) => {
|
|
7
|
+
event.preventDefault();
|
|
8
|
+
event.stopPropagation();
|
|
9
|
+
onClick(item);
|
|
10
|
+
};
|
|
11
|
+
const onInputCommitted = (newPosition) => {
|
|
12
|
+
onClick(item, newPosition);
|
|
13
|
+
};
|
|
14
|
+
return (_jsxs("div", Object.assign({ className: classes.actionItemContainer, onClick: onActionClicked }, { children: [_jsx("div", Object.assign({ className: clsx(classes.miniTooltip, tooltipClassName) }, { children: item.hooverTooltip })), (_b = (_a = item === null || item === void 0 ? void 0 : item.getComponent) === null || _a === void 0 ? void 0 : _a.call(item, onInputCommitted, position || 0)) !== null && _b !== void 0 ? _b : (_c = item === null || item === void 0 ? void 0 : item.getIcon) === null || _c === void 0 ? void 0 : _c.call(item)] })));
|
|
15
|
+
};
|
|
16
|
+
export default ActionItem;
|
|
17
|
+
//# sourceMappingURL=ActionItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionItem.js","sourceRoot":"","sources":["../../../../../../../../../../../dashboard/dashboard-client/src/pages/LandingPages/editor/components/ActionsBar/ActionItem.tsx"],"names":[],"mappings":";AACA,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAE1C,OAAO,IAAI,MAAM,MAAM,CAAC;AASxB,MAAM,UAAU,GAAoB,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAC,EAAE,EAAE;;IAEhF,MAAM,eAAe,GAAG,CAAC,KAAU,EAAE,EAAE;QACnC,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC,CAAA;IAED,MAAM,gBAAgB,GAAG,CAAC,WAAmB,EAAE,EAAE;QAC7C,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IAC/B,CAAC,CAAA;IAED,OAAM,CACF,6BAAK,SAAS,EAAE,OAAO,CAAC,mBAAmB,EAAE,OAAO,EAAE,eAAe,iBACjE,4BAAK,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,gBAAgB,CAAC,gBAAG,IAAI,CAAC,aAAa,IAAO,EACtF,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,qDAAG,gBAAgB,EAAE,QAAQ,IAAI,CAAC,CAAC,mCAAI,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,oDAAI,KACzE,CACT,CAAA;AACL,CAAC,CAAA;AACD,eAAe,UAAU,CAAC","sourcesContent":["import React from 'react';\r\nimport classes from \"./styles.module.css\";\r\nimport {ActionItem as ActionItemType} from \"./utils\";\r\nimport clsx from \"clsx\";\r\n\r\nexport interface Props {\r\n item: ActionItemType;\r\n onClick: (item: ActionItemType, position?: number) => void;\r\n position?: number;\r\n tooltipClassName?: string;\r\n}\r\n\r\nconst ActionItem: React.FC<Props> = ({item, onClick, position, tooltipClassName}) => {\r\n\r\n const onActionClicked = (event: any) => {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n onClick(item);\r\n }\r\n\r\n const onInputCommitted = (newPosition: number) => {\r\n onClick(item, newPosition);\r\n }\r\n\r\n return(\r\n <div className={classes.actionItemContainer} onClick={onActionClicked}>\r\n <div className={clsx(classes.miniTooltip, tooltipClassName)}>{item.hooverTooltip}</div>\r\n {item?.getComponent?.(onInputCommitted, position || 0) ?? item?.getIcon?.() }\r\n </div>\r\n )\r\n}\r\nexport default ActionItem;\r\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ActionItem as ActionItemType } from "./utils";
|
|
3
|
+
import { EditorProduct } from "../../../../../../../../frontends/dashboard-utilities/src/@types/editorProduct";
|
|
4
|
+
export interface Props {
|
|
5
|
+
onClick: (item: ActionItemType, newPosition?: number) => void;
|
|
6
|
+
className: string;
|
|
7
|
+
product?: EditorProduct;
|
|
8
|
+
actionBarItems?: ActionItemType[];
|
|
9
|
+
position?: number;
|
|
10
|
+
actionBarContentClassName?: string;
|
|
11
|
+
tooltipClassName?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const ActionsBar: React.FC<Props>;
|
|
14
|
+
export default ActionsBar;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import classes from "./styles.module.css";
|
|
3
|
+
import { ActionsBarItems } from "./utils";
|
|
4
|
+
import ActionItem from "./ActionItem";
|
|
5
|
+
import clsx from "clsx";
|
|
6
|
+
import { useVisualEditorContext } from "../../context/visualEditorContext";
|
|
7
|
+
const ActionsBar = ({ onClick, className, product, actionBarItems, position, actionBarContentClassName, tooltipClassName }) => {
|
|
8
|
+
const { state } = useVisualEditorContext();
|
|
9
|
+
return (_jsx("div", Object.assign({ className: clsx(classes.actionBarContainer, className, 'actions-bar-container'), style: state.loading.products ? { pointerEvents: 'none' } : {} }, { children: _jsx("div", Object.assign({ className: clsx(classes.actionBarContent, actionBarContentClassName) }, { children: (actionBarItems || ActionsBarItems)
|
|
10
|
+
.filter(item => { var _a; return item.isVisible && ((_a = item === null || item === void 0 ? void 0 : item.isVisible) === null || _a === void 0 ? void 0 : _a.call(item, product)); })
|
|
11
|
+
.map(item => _jsx(ActionItem, { item: item, onClick: onClick, position: position, tooltipClassName: tooltipClassName }, item.name)) })) }), `actionBar_${product === null || product === void 0 ? void 0 : product.id}_${position}`));
|
|
12
|
+
};
|
|
13
|
+
export default ActionsBar;
|
|
14
|
+
//# sourceMappingURL=ActionsBar.js.map
|