@ubnt/store.core 9.71.0-beta.4 → 10.0.0-beta.0
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/CHANGELOG.md +99 -5063
- package/lib/_virtual/_virtual_multi-entry.js +110 -126
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +110 -126
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/apis/smartcat.js +124 -133
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +124 -133
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/box.svg +3 -4
- package/lib/assets/close2.svg +2 -3
- package/lib/assets/express.jpg +0 -0
- package/lib/assets/express2.jpg +0 -0
- package/lib/assets/express7.jpg +0 -0
- package/lib/assets/express72.jpg +0 -0
- package/lib/assets/hand.svg +5 -4
- package/lib/assets/icons/wizard/index.d.ts +0 -4
- package/lib/assets/icons/wizard/index.js +0 -4
- package/lib/assets/icons/wizard/index.js.map +1 -1
- package/lib/assets/icons/wizard/index.mjs +0 -4
- package/lib/assets/icons/wizard/index.mjs.map +1 -1
- package/lib/assets/icons/wizard/minus.svg.js +1 -1
- package/lib/assets/icons/wizard/minus.svg.mjs +2 -2
- package/lib/assets/keyFeatures/box.svg.js +1 -1
- package/lib/assets/keyFeatures/box.svg.mjs +2 -2
- package/lib/assets/keyFeatures/reload.svg.js +1 -1
- package/lib/assets/keyFeatures/reload.svg.mjs +2 -2
- package/lib/assets/minus.svg +1 -14
- package/lib/assets/minus2.svg +3 -1
- package/lib/assets/minus3.svg +13 -2
- package/lib/assets/payment-card.svg +4 -11
- package/lib/assets/plus.svg +1 -4
- package/lib/assets/plus3.svg +16 -1
- package/lib/assets/plus4.svg +15 -2
- package/lib/assets/reload.svg +2 -2
- package/lib/assets/reload2.svg +2 -2
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/assets/udr2.jpg +0 -0
- package/lib/assets/udr3.jpg +0 -0
- package/lib/assets/udr7.jpg +0 -0
- package/lib/assets/udr72.jpg +0 -0
- package/lib/components/Header/AccountMenu/megaphone.http.service.js +33 -41
- package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
- package/lib/components/Header/AccountMenu/megaphone.http.service.mjs +33 -41
- package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.js +6 -6
- package/lib/components/Header/CartIcon/CartIcon.js.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.mjs +6 -6
- package/lib/components/Header/CartIcon/CartIcon.mjs.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.js +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -0
- package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.mjs +1 -1
- package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -0
- package/lib/components/Header/CartModalV2/Item/Item.js +6 -6
- package/lib/components/Header/CartModalV2/Item/Item.mjs +4 -4
- package/lib/components/Header/Header.js +0 -4
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +0 -4
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.stories.d.ts +2 -3
- package/lib/components/Header/Header.styles.d.ts +1 -1
- package/lib/components/Header/Header.styles.js +2 -2
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +2 -2
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +0 -2
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.d.ts +0 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -2
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -2
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +1 -3
- package/lib/components/Header/ProHeader/ProHeader.d.ts +2 -1
- package/lib/components/Header/ProHeader/ProHeader.js +5 -3
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +5 -4
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.d.ts +2 -0
- package/lib/components/{Banner/Banner.js → MicrositeBanner/MicrositeBanner.js} +11 -11
- package/lib/components/MicrositeBanner/MicrositeBanner.js.map +1 -0
- package/lib/components/{Banner/Banner.mjs → MicrositeBanner/MicrositeBanner.mjs} +4 -4
- package/lib/components/MicrositeBanner/MicrositeBanner.mjs.map +1 -0
- package/lib/components/{Banner/Banner.styles.js → MicrositeBanner/MicrositeBanner.styles.js} +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -0
- package/lib/components/{Banner/Banner.styles.mjs → MicrositeBanner/MicrositeBanner.styles.mjs} +1 -1
- package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -0
- package/lib/components/{Banner/Banner.types.d.ts → MicrositeBanner/MicrositeBanner.types.d.ts} +1 -1
- package/lib/components/MicrositeBanner/index.d.ts +1 -0
- package/lib/components/MicrositeBanner/index.js +6 -0
- package/lib/components/MicrositeBanner/index.mjs +3 -0
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.d.ts +2 -0
- package/lib/components/{ProgressCircle/ProgressCircle.js → MicrositeProgressCircle/MicrositeProgressCircle.js} +3 -3
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.js.map +1 -0
- package/lib/components/{ProgressCircle/ProgressCircle.mjs → MicrositeProgressCircle/MicrositeProgressCircle.mjs} +3 -3
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.mjs.map +1 -0
- package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.stories.d.ts +5 -0
- package/lib/components/{ProgressCircle/ProgressCircle.types.d.ts → MicrositeProgressCircle/MicrositeProgressCircle.types.d.ts} +1 -1
- package/lib/components/MicrositeProgressCircle/index.d.ts +1 -0
- package/lib/components/MicrositeProgressCircle/index.js +6 -0
- package/lib/components/MicrositeProgressCircle/index.mjs +3 -0
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/hand.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/hand.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/minus.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/minus.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/payment-card.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/payment-card.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/reload.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/reload.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/express.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/hand.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/hand.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.mjs +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.js +55 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.js.map +1 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs +53 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs.map +1 -0
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +0 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +0 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -6
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
- package/lib/components/ProductTechSpecs/index.js +8 -0
- package/lib/components/ProductTechSpecs/index.mjs +4 -0
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/components/index.d.ts +32 -38
- package/lib/components/index.js +98 -110
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +98 -110
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/icons/generic/index.js +6 -6
- package/lib/constants/icons/generic/index.mjs +2 -2
- package/lib/constants/icons/generic/minus.svg.js +5 -5
- package/lib/constants/icons/generic/minus.svg.mjs +2 -2
- package/lib/constants/icons/generic/plus.svg.js +5 -5
- package/lib/constants/icons/generic/plus.svg.mjs +2 -2
- package/lib/constants/icons/index.d.ts +0 -1
- package/lib/constants/icons/index.js +0 -2
- package/lib/constants/icons/index.js.map +1 -1
- package/lib/constants/icons/index.mjs +0 -2
- package/lib/constants/icons/index.mjs.map +1 -1
- package/lib/constants/mixin.d.ts +0 -1
- package/lib/constants/mixin.js +0 -6
- package/lib/constants/mixin.js.map +1 -1
- package/lib/constants/mixin.mjs +1 -6
- package/lib/constants/mixin.mjs.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.js +2 -2
- package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.mjs +2 -2
- package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
- package/lib/helpers/shopify/iconParsing.js.map +1 -1
- package/lib/helpers/shopify/iconParsing.mjs.map +1 -1
- package/lib/utils/index.d.ts +1 -3
- package/lib/utils/index.js +6 -10
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/index.mjs +6 -10
- package/lib/utils/index.mjs.map +1 -1
- package/lib/utils/money/allocators/fixedAmount.js +9 -17
- package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
- package/lib/utils/money/allocators/fixedAmount.mjs +9 -17
- package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
- package/lib/utils/money/allocators/productAmount.js +38 -61
- package/lib/utils/money/allocators/productAmount.js.map +1 -1
- package/lib/utils/money/allocators/productAmount.mjs +38 -61
- package/lib/utils/money/allocators/productAmount.mjs.map +1 -1
- package/lib/utils/nextjs/legacy-image-loader/image-loader.js +1 -11
- package/lib/utils/nextjs/legacy-image-loader/image-loader.js.map +1 -1
- package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs +1 -11
- package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/accessApplication.svg +0 -394
- package/lib/assets/addToCart.svg +0 -3
- package/lib/assets/arrowRightMicro.svg +0 -3
- package/lib/assets/black.svg +0 -14
- package/lib/assets/blackFabric.png +0 -0
- package/lib/assets/blue.svg +0 -14
- package/lib/assets/box2.svg +0 -3
- package/lib/assets/camo.png +0 -0
- package/lib/assets/check3.svg +0 -3
- package/lib/assets/close3.svg +0 -3
- package/lib/assets/compare/fov-bullet.png.js +0 -27
- package/lib/assets/compare/fov-bullet.png.js.map +0 -1
- package/lib/assets/compare/fov-bullet.png.mjs +0 -3
- package/lib/assets/compare/fov-bullet.png.mjs.map +0 -1
- package/lib/assets/concrete.png +0 -0
- package/lib/assets/darkGrey.svg +0 -14
- package/lib/assets/design-uisp-mobile.png +0 -0
- package/lib/assets/design-uisp.png +0 -0
- package/lib/assets/design-unifi-mobile.png +0 -0
- package/lib/assets/design-unifi.png +0 -0
- package/lib/assets/fov-bullet.png +0 -0
- package/lib/assets/grey.svg +0 -13
- package/lib/assets/hand2.svg +0 -5
- package/lib/assets/icons/accessApplication.svg.js +0 -27
- package/lib/assets/icons/accessApplication.svg.js.map +0 -1
- package/lib/assets/icons/accessApplication.svg.mjs +0 -3
- package/lib/assets/icons/accessApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/addToCart.svg.js +0 -27
- package/lib/assets/icons/addToCart.svg.js.map +0 -1
- package/lib/assets/icons/addToCart.svg.mjs +0 -3
- package/lib/assets/icons/addToCart.svg.mjs.map +0 -1
- package/lib/assets/icons/arrowRightMicro.svg.js +0 -27
- package/lib/assets/icons/arrowRightMicro.svg.js.map +0 -1
- package/lib/assets/icons/arrowRightMicro.svg.mjs +0 -3
- package/lib/assets/icons/arrowRightMicro.svg.mjs.map +0 -1
- package/lib/assets/icons/link.svg.js +0 -27
- package/lib/assets/icons/link.svg.js.map +0 -1
- package/lib/assets/icons/link.svg.mjs +0 -3
- package/lib/assets/icons/link.svg.mjs.map +0 -1
- package/lib/assets/icons/networkApplication.svg.js +0 -27
- package/lib/assets/icons/networkApplication.svg.js.map +0 -1
- package/lib/assets/icons/networkApplication.svg.mjs +0 -3
- package/lib/assets/icons/networkApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-apple-pay.svg.js +0 -27
- package/lib/assets/icons/payment-apple-pay.svg.js.map +0 -1
- package/lib/assets/icons/payment-apple-pay.svg.mjs +0 -3
- package/lib/assets/icons/payment-apple-pay.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-card.svg.js +0 -27
- package/lib/assets/icons/payment-card.svg.js.map +0 -1
- package/lib/assets/icons/payment-card.svg.mjs +0 -3
- package/lib/assets/icons/payment-card.svg.mjs.map +0 -1
- package/lib/assets/icons/payment-google-pay.svg.js +0 -27
- package/lib/assets/icons/payment-google-pay.svg.js.map +0 -1
- package/lib/assets/icons/payment-google-pay.svg.mjs +0 -3
- package/lib/assets/icons/payment-google-pay.svg.mjs.map +0 -1
- package/lib/assets/icons/play-big.svg.js +0 -27
- package/lib/assets/icons/play-big.svg.js.map +0 -1
- package/lib/assets/icons/play-big.svg.mjs +0 -3
- package/lib/assets/icons/play-big.svg.mjs.map +0 -1
- package/lib/assets/icons/previouslyPurchasedStar.svg.js +0 -27
- package/lib/assets/icons/previouslyPurchasedStar.svg.js.map +0 -1
- package/lib/assets/icons/previouslyPurchasedStar.svg.mjs +0 -3
- package/lib/assets/icons/previouslyPurchasedStar.svg.mjs.map +0 -1
- package/lib/assets/icons/protectApplication.svg.js +0 -27
- package/lib/assets/icons/protectApplication.svg.js.map +0 -1
- package/lib/assets/icons/protectApplication.svg.mjs +0 -3
- package/lib/assets/icons/protectApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/reload.svg.js +0 -27
- package/lib/assets/icons/reload.svg.js.map +0 -1
- package/lib/assets/icons/reload.svg.mjs +0 -3
- package/lib/assets/icons/reload.svg.mjs.map +0 -1
- package/lib/assets/icons/sliderThumb.svg.js +0 -27
- package/lib/assets/icons/sliderThumb.svg.js.map +0 -1
- package/lib/assets/icons/sliderThumb.svg.mjs +0 -3
- package/lib/assets/icons/sliderThumb.svg.mjs.map +0 -1
- package/lib/assets/icons/talkApplication.svg.js +0 -27
- package/lib/assets/icons/talkApplication.svg.js.map +0 -1
- package/lib/assets/icons/talkApplication.svg.mjs +0 -3
- package/lib/assets/icons/talkApplication.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/box.svg.js +0 -27
- package/lib/assets/icons/wizard/box.svg.js.map +0 -1
- package/lib/assets/icons/wizard/box.svg.mjs +0 -3
- package/lib/assets/icons/wizard/box.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/hand.svg.js +0 -27
- package/lib/assets/icons/wizard/hand.svg.js.map +0 -1
- package/lib/assets/icons/wizard/hand.svg.mjs +0 -3
- package/lib/assets/icons/wizard/hand.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/popoverPointer.svg.js +0 -27
- package/lib/assets/icons/wizard/popoverPointer.svg.js.map +0 -1
- package/lib/assets/icons/wizard/popoverPointer.svg.mjs +0 -3
- package/lib/assets/icons/wizard/popoverPointer.svg.mjs.map +0 -1
- package/lib/assets/icons/wizard/warranty.svg.js +0 -27
- package/lib/assets/icons/wizard/warranty.svg.js.map +0 -1
- package/lib/assets/icons/wizard/warranty.svg.mjs +0 -3
- package/lib/assets/icons/wizard/warranty.svg.mjs.map +0 -1
- package/lib/assets/landingPage/design-uisp-mobile.png.js +0 -27
- package/lib/assets/landingPage/design-uisp-mobile.png.js.map +0 -1
- package/lib/assets/landingPage/design-uisp-mobile.png.mjs +0 -3
- package/lib/assets/landingPage/design-uisp-mobile.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-uisp.png.js +0 -27
- package/lib/assets/landingPage/design-uisp.png.js.map +0 -1
- package/lib/assets/landingPage/design-uisp.png.mjs +0 -3
- package/lib/assets/landingPage/design-uisp.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-unifi-mobile.png.js +0 -27
- package/lib/assets/landingPage/design-unifi-mobile.png.js.map +0 -1
- package/lib/assets/landingPage/design-unifi-mobile.png.mjs +0 -3
- package/lib/assets/landingPage/design-unifi-mobile.png.mjs.map +0 -1
- package/lib/assets/landingPage/design-unifi.png.js +0 -27
- package/lib/assets/landingPage/design-unifi.png.js.map +0 -1
- package/lib/assets/landingPage/design-unifi.png.mjs +0 -3
- package/lib/assets/landingPage/design-unifi.png.mjs.map +0 -1
- package/lib/assets/landingPage/support-expert.png.js +0 -27
- package/lib/assets/landingPage/support-expert.png.js.map +0 -1
- package/lib/assets/landingPage/support-expert.png.mjs +0 -3
- package/lib/assets/landingPage/support-expert.png.mjs.map +0 -1
- package/lib/assets/landingPage/support-help.png.js +0 -27
- package/lib/assets/landingPage/support-help.png.js.map +0 -1
- package/lib/assets/landingPage/support-help.png.mjs +0 -3
- package/lib/assets/landingPage/support-help.png.mjs.map +0 -1
- package/lib/assets/lightGrey.svg +0 -13
- package/lib/assets/link.svg +0 -3
- package/lib/assets/marble.png +0 -0
- package/lib/assets/networkApplication.svg +0 -21
- package/lib/assets/payment-apple-pay.svg +0 -12
- package/lib/assets/payment-card2.svg +0 -5
- package/lib/assets/payment-google-pay.svg +0 -1
- package/lib/assets/play-big.svg +0 -4
- package/lib/assets/plus5.svg +0 -16
- package/lib/assets/plus6.svg +0 -16
- package/lib/assets/popoverPointer.svg +0 -12
- package/lib/assets/previouslyPurchasedStar.svg +0 -3
- package/lib/assets/protectApplication.svg +0 -418
- package/lib/assets/reload3.svg +0 -3
- package/lib/assets/sliderThumb.svg +0 -5
- package/lib/assets/support-expert.png +0 -0
- package/lib/assets/support-help.png +0 -0
- package/lib/assets/talkApplication.svg +0 -45
- package/lib/assets/warranty.svg +0 -2
- package/lib/assets/white.svg +0 -13
- package/lib/assets/wood.png +0 -0
- package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
- package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -23
- package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
- package/lib/components/AppDownloadBanner/index.d.ts +0 -1
- package/lib/components/Banner/Banner.d.ts +0 -2
- package/lib/components/Banner/Banner.js.map +0 -1
- package/lib/components/Banner/Banner.mjs.map +0 -1
- package/lib/components/Banner/Banner.styles.js.map +0 -1
- package/lib/components/Banner/Banner.styles.mjs.map +0 -1
- package/lib/components/Banner/index.d.ts +0 -1
- package/lib/components/Banner/index.js +0 -6
- package/lib/components/Banner/index.mjs +0 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
- package/lib/components/Breadcrumbs/index.d.ts +0 -1
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
- package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
- package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
- package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
- package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
- package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
- package/lib/components/CarouselGallery/index.d.ts +0 -1
- package/lib/components/CartIcon/CartIcon.js.map +0 -1
- package/lib/components/CartIcon/CartIcon.mjs.map +0 -1
- package/lib/components/CartIcon/CartIcon.styles.js.map +0 -1
- package/lib/components/CartIcon/CartIcon.styles.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.d.ts +0 -2
- package/lib/components/CartSummary/CartSummary.js +0 -58
- package/lib/components/CartSummary/CartSummary.js.map +0 -1
- package/lib/components/CartSummary/CartSummary.mjs +0 -56
- package/lib/components/CartSummary/CartSummary.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.styles.d.ts +0 -21
- package/lib/components/CartSummary/CartSummary.styles.js +0 -133
- package/lib/components/CartSummary/CartSummary.styles.js.map +0 -1
- package/lib/components/CartSummary/CartSummary.styles.mjs +0 -115
- package/lib/components/CartSummary/CartSummary.styles.mjs.map +0 -1
- package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
- package/lib/components/CartSummary/index.d.ts +0 -1
- package/lib/components/CartSummary/index.js +0 -6
- package/lib/components/CartSummary/index.mjs +0 -3
- package/lib/components/CloserLookSection/CloserLookSection.constants.d.ts +0 -19
- package/lib/components/CloserLookSection/CloserLookSection.constants.js +0 -25
- package/lib/components/CloserLookSection/CloserLookSection.constants.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.constants.mjs +0 -24
- package/lib/components/CloserLookSection/CloserLookSection.constants.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.d.ts +0 -15
- package/lib/components/CloserLookSection/CloserLookSection.js +0 -233
- package/lib/components/CloserLookSection/CloserLookSection.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.mjs +0 -224
- package/lib/components/CloserLookSection/CloserLookSection.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +0 -14
- package/lib/components/CloserLookSection/CloserLookSection.styles.js +0 -58
- package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.styles.mjs +0 -43
- package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +0 -1
- package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.d.ts +0 -10
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js +0 -15
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs +0 -14
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.d.ts +0 -2
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +0 -53
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs +0 -45
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +0 -5
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js +0 -32
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs +0 -20
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
- package/lib/components/CloserLookSection/RecommendedAddons/index.d.ts +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/index.js +0 -6
- package/lib/components/CloserLookSection/RecommendedAddons/index.js.map +0 -1
- package/lib/components/CloserLookSection/RecommendedAddons/index.mjs +0 -3
- package/lib/components/CloserLookSection/RecommendedAddons/index.mjs.map +0 -1
- package/lib/components/CloserLookSection/index.d.ts +0 -1
- package/lib/components/CloserLookSection/index.js +0 -7
- package/lib/components/CloserLookSection/index.js.map +0 -1
- package/lib/components/CloserLookSection/index.mjs +0 -3
- package/lib/components/CloserLookSection/index.mjs.map +0 -1
- package/lib/components/Compare/Compare.d.ts +0 -2
- package/lib/components/Compare/Compare.styles.d.ts +0 -38
- package/lib/components/Compare/Compare.types.d.ts +0 -34
- package/lib/components/Compare/CompareData.d.ts +0 -22
- package/lib/components/Compare/ProductTable.d.ts +0 -6
- package/lib/components/Compare/index.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.d.ts +0 -2
- package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -41
- package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
- package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
- package/lib/components/CompareChart/index.d.ts +0 -2
- package/lib/components/CompareSection/CompareSection.d.ts +0 -5
- package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
- package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -19
- package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
- package/lib/components/CompareSection/index.d.ts +0 -1
- package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
- package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
- package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
- package/lib/components/DeploymentGallery/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +0 -36
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +0 -28
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -6
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js +0 -29
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs +0 -20
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js +0 -6
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.d.ts +0 -2
- package/lib/components/FeaturesSection_deprecated/Features/Features.js +0 -58
- package/lib/components/FeaturesSection_deprecated/Features/Features.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.mjs +0 -56
- package/lib/components/FeaturesSection_deprecated/Features/Features.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +0 -24
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js +0 -242
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs +0 -220
- package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
- package/lib/components/FeaturesSection_deprecated/Features/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/index.js +0 -6
- package/lib/components/FeaturesSection_deprecated/Features/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/Features/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/Features/index.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.d.ts +0 -11
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +0 -388
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +0 -379
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +0 -36
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js +0 -360
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs +0 -337
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +0 -27
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +0 -27
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs.map +0 -1
- package/lib/components/FeaturesSection_deprecated/index.d.ts +0 -1
- package/lib/components/FeaturesSection_deprecated/index.js +0 -7
- package/lib/components/FeaturesSection_deprecated/index.js.map +0 -1
- package/lib/components/FeaturesSection_deprecated/index.mjs +0 -3
- package/lib/components/FeaturesSection_deprecated/index.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.context.js +0 -141
- package/lib/components/Gallery/Gallery.context.js.map +0 -1
- package/lib/components/Gallery/Gallery.context.mjs +0 -138
- package/lib/components/Gallery/Gallery.context.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.js +0 -123
- package/lib/components/Gallery/Gallery.js.map +0 -1
- package/lib/components/Gallery/Gallery.mjs +0 -120
- package/lib/components/Gallery/Gallery.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.styles.js +0 -86
- package/lib/components/Gallery/Gallery.styles.js.map +0 -1
- package/lib/components/Gallery/Gallery.styles.mjs +0 -73
- package/lib/components/Gallery/Gallery.styles.mjs.map +0 -1
- package/lib/components/Gallery/Gallery.types.js +0 -11
- package/lib/components/Gallery/Gallery.types.js.map +0 -1
- package/lib/components/Gallery/Gallery.types.mjs +0 -10
- package/lib/components/Gallery/Gallery.types.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.js +0 -101
- package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +0 -90
- package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +0 -108
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +0 -95
- package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryControls/index.js +0 -9
- package/lib/components/Gallery/GalleryControls/index.js.map +0 -1
- package/lib/components/Gallery/GalleryControls/index.mjs +0 -3
- package/lib/components/Gallery/GalleryControls/index.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.js +0 -94
- package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +0 -92
- package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +0 -78
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +0 -68
- package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryItem/index.js +0 -6
- package/lib/components/Gallery/GalleryItem/index.js.map +0 -1
- package/lib/components/Gallery/GalleryItem/index.mjs +0 -3
- package/lib/components/Gallery/GalleryItem/index.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +0 -86
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs +0 -84
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js +0 -177
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs +0 -161
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/index.js +0 -6
- package/lib/components/Gallery/GalleryThumbnails/index.js.map +0 -1
- package/lib/components/Gallery/GalleryThumbnails/index.mjs +0 -3
- package/lib/components/Gallery/GalleryThumbnails/index.mjs.map +0 -1
- package/lib/components/Gallery/index.js +0 -8
- package/lib/components/Gallery/index.mjs +0 -4
- package/lib/components/Gallery/utils.js +0 -9
- package/lib/components/Gallery/utils.js.map +0 -1
- package/lib/components/Gallery/utils.mjs +0 -8
- package/lib/components/Gallery/utils.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.js +0 -197
- package/lib/components/GridGallery/GridGallery.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.mjs +0 -189
- package/lib/components/GridGallery/GridGallery.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.styles.js +0 -132
- package/lib/components/GridGallery/GridGallery.styles.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.styles.mjs +0 -114
- package/lib/components/GridGallery/GridGallery.styles.mjs.map +0 -1
- package/lib/components/GridGallery/GridGallery.types.js +0 -12
- package/lib/components/GridGallery/GridGallery.types.js.map +0 -1
- package/lib/components/GridGallery/GridGallery.types.mjs +0 -11
- package/lib/components/GridGallery/GridGallery.types.mjs.map +0 -1
- package/lib/components/GridGallery/index.js +0 -6
- package/lib/components/GridGallery/index.js.map +0 -1
- package/lib/components/GridGallery/index.mjs +0 -3
- package/lib/components/GridGallery/index.mjs.map +0 -1
- package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
- package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
- package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
- package/lib/components/Header/SearchTab/index.d.ts +0 -1
- package/lib/components/Hero/Hero.d.ts +0 -2
- package/lib/components/Hero/Hero.js +0 -158
- package/lib/components/Hero/Hero.js.map +0 -1
- package/lib/components/Hero/Hero.mjs +0 -146
- package/lib/components/Hero/Hero.mjs.map +0 -1
- package/lib/components/Hero/Hero.styles.d.ts +0 -44
- package/lib/components/Hero/Hero.styles.js +0 -349
- package/lib/components/Hero/Hero.styles.js.map +0 -1
- package/lib/components/Hero/Hero.styles.mjs +0 -320
- package/lib/components/Hero/Hero.styles.mjs.map +0 -1
- package/lib/components/Hero/Hero.types.d.ts +0 -31
- package/lib/components/Hero/Hero.types.js +0 -12
- package/lib/components/Hero/Hero.types.js.map +0 -1
- package/lib/components/Hero/Hero.types.mjs +0 -11
- package/lib/components/Hero/Hero.types.mjs.map +0 -1
- package/lib/components/Hero/index.d.ts +0 -1
- package/lib/components/Hero/index.js +0 -6
- package/lib/components/Hero/index.js.map +0 -1
- package/lib/components/Hero/index.mjs +0 -3
- package/lib/components/Hero/index.mjs.map +0 -1
- package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
- package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
- package/lib/components/HeroFadeGallery/index.d.ts +0 -1
- package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
- package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
- package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
- package/lib/components/HowToUseSection/HowToUseSection.stories.d.ts +0 -9
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
- package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
- package/lib/components/HowToUseSection/index.d.ts +0 -1
- package/lib/components/ImageModal/ImageModal.d.ts +0 -2
- package/lib/components/ImageModal/ImageModal.js +0 -42
- package/lib/components/ImageModal/ImageModal.js.map +0 -1
- package/lib/components/ImageModal/ImageModal.mjs +0 -40
- package/lib/components/ImageModal/ImageModal.mjs.map +0 -1
- package/lib/components/ImageModal/ImageModal.styles.d.ts +0 -9
- package/lib/components/ImageModal/ImageModal.styles.js +0 -64
- package/lib/components/ImageModal/ImageModal.styles.js.map +0 -1
- package/lib/components/ImageModal/ImageModal.styles.mjs +0 -52
- package/lib/components/ImageModal/ImageModal.styles.mjs.map +0 -1
- package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
- package/lib/components/ImageModal/index.d.ts +0 -1
- package/lib/components/ImageModal/index.js +0 -6
- package/lib/components/ImageModal/index.js.map +0 -1
- package/lib/components/ImageModal/index.mjs +0 -3
- package/lib/components/ImageModal/index.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.d.ts +0 -2
- package/lib/components/LandingPage/Block/Block.js +0 -38
- package/lib/components/LandingPage/Block/Block.js.map +0 -1
- package/lib/components/LandingPage/Block/Block.mjs +0 -36
- package/lib/components/LandingPage/Block/Block.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.styles.d.ts +0 -4
- package/lib/components/LandingPage/Block/Block.styles.js +0 -37
- package/lib/components/LandingPage/Block/Block.styles.js.map +0 -1
- package/lib/components/LandingPage/Block/Block.styles.mjs +0 -26
- package/lib/components/LandingPage/Block/Block.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
- package/lib/components/LandingPage/Block/index.d.ts +0 -1
- package/lib/components/LandingPage/Block/index.js +0 -6
- package/lib/components/LandingPage/Block/index.js.map +0 -1
- package/lib/components/LandingPage/Block/index.mjs +0 -3
- package/lib/components/LandingPage/Block/index.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Card/Card.js +0 -78
- package/lib/components/LandingPage/Cards/Card/Card.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.mjs +0 -76
- package/lib/components/LandingPage/Cards/Card/Card.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +0 -26
- package/lib/components/LandingPage/Cards/Card/Card.styles.js +0 -455
- package/lib/components/LandingPage/Cards/Card/Card.styles.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.styles.mjs +0 -435
- package/lib/components/LandingPage/Cards/Card/Card.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/Card/index.d.ts +0 -1
- package/lib/components/LandingPage/Cards/Card/index.js +0 -6
- package/lib/components/LandingPage/Cards/Card/index.js.map +0 -1
- package/lib/components/LandingPage/Cards/Card/index.mjs +0 -3
- package/lib/components/LandingPage/Cards/Card/index.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.constants.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Cards.constants.js +0 -8
- package/lib/components/LandingPage/Cards/Cards.constants.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.constants.mjs +0 -6
- package/lib/components/LandingPage/Cards/Cards.constants.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.d.ts +0 -2
- package/lib/components/LandingPage/Cards/Cards.js +0 -127
- package/lib/components/LandingPage/Cards/Cards.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.mjs +0 -119
- package/lib/components/LandingPage/Cards/Cards.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.styles.d.ts +0 -23
- package/lib/components/LandingPage/Cards/Cards.styles.js +0 -160
- package/lib/components/LandingPage/Cards/Cards.styles.js.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.styles.mjs +0 -144
- package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +0 -1
- package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
- package/lib/components/LandingPage/Cards/index.d.ts +0 -2
- package/lib/components/LandingPage/Cards/index.js +0 -8
- package/lib/components/LandingPage/Cards/index.js.map +0 -1
- package/lib/components/LandingPage/Cards/index.mjs +0 -4
- package/lib/components/LandingPage/Cards/index.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.constants.d.ts +0 -35
- package/lib/components/LandingPage/LandingPage.constants.js +0 -40
- package/lib/components/LandingPage/LandingPage.constants.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.constants.mjs +0 -39
- package/lib/components/LandingPage/LandingPage.constants.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.d.ts +0 -2
- package/lib/components/LandingPage/LandingPage.js +0 -116
- package/lib/components/LandingPage/LandingPage.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.mjs +0 -102
- package/lib/components/LandingPage/LandingPage.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.styles.d.ts +0 -5
- package/lib/components/LandingPage/LandingPage.styles.js +0 -66
- package/lib/components/LandingPage/LandingPage.styles.js.map +0 -1
- package/lib/components/LandingPage/LandingPage.styles.mjs +0 -54
- package/lib/components/LandingPage/LandingPage.styles.mjs.map +0 -1
- package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
- package/lib/components/LandingPage/index.d.ts +0 -1
- package/lib/components/LandingPage/index.js +0 -6
- package/lib/components/LandingPage/index.js.map +0 -1
- package/lib/components/LandingPage/index.mjs +0 -3
- package/lib/components/LandingPage/index.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -24
- package/lib/components/LandingPagePro/LandingPagePro.js +0 -262
- package/lib/components/LandingPagePro/LandingPagePro.js.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs +0 -260
- package/lib/components/LandingPagePro/LandingPagePro.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +0 -3
- package/lib/components/LandingPagePro/LandingPagePro.styles.js +0 -49
- package/lib/components/LandingPagePro/LandingPagePro.styles.js.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.styles.mjs +0 -39
- package/lib/components/LandingPagePro/LandingPagePro.styles.mjs.map +0 -1
- package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
- package/lib/components/LandingPagePro/index.d.ts +0 -1
- package/lib/components/LandingPagePro/index.js +0 -6
- package/lib/components/LandingPagePro/index.js.map +0 -1
- package/lib/components/LandingPagePro/index.mjs +0 -3
- package/lib/components/LandingPagePro/index.mjs.map +0 -1
- package/lib/components/LandingPagePro/utils.d.ts +0 -12
- package/lib/components/LandingPagePro/utils.js +0 -26
- package/lib/components/LandingPagePro/utils.js.map +0 -1
- package/lib/components/LandingPagePro/utils.mjs +0 -24
- package/lib/components/LandingPagePro/utils.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.d.ts +0 -2
- package/lib/components/LandingPageSearch/LandingPageSearch.js +0 -57
- package/lib/components/LandingPageSearch/LandingPageSearch.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.mjs +0 -55
- package/lib/components/LandingPageSearch/LandingPageSearch.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.stories.d.ts +0 -5
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +0 -2
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.js +0 -28
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs +0 -19
- package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.types.d.ts +0 -49
- package/lib/components/LandingPageSearch/LandingPageSearch.types.js +0 -15
- package/lib/components/LandingPageSearch/LandingPageSearch.types.js.map +0 -1
- package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs +0 -14
- package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.d.ts +0 -2
- package/lib/components/LandingPageSearch/Modal/Modal.js +0 -131
- package/lib/components/LandingPageSearch/Modal/Modal.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.mjs +0 -129
- package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +0 -34
- package/lib/components/LandingPageSearch/Modal/Modal.styles.js +0 -212
- package/lib/components/LandingPageSearch/Modal/Modal.styles.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs +0 -189
- package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs.map +0 -1
- package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
- package/lib/components/LandingPageSearch/Modal/index.d.ts +0 -1
- package/lib/components/LandingPageSearch/Modal/index.js +0 -6
- package/lib/components/LandingPageSearch/Modal/index.js.map +0 -1
- package/lib/components/LandingPageSearch/Modal/index.mjs +0 -3
- package/lib/components/LandingPageSearch/Modal/index.mjs.map +0 -1
- package/lib/components/LandingPageSearch/index.d.ts +0 -1
- package/lib/components/LandingPageSearch/index.js +0 -6
- package/lib/components/LandingPageSearch/index.js.map +0 -1
- package/lib/components/LandingPageSearch/index.mjs +0 -3
- package/lib/components/LandingPageSearch/index.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.d.ts +0 -2
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +0 -330
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +0 -320
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +0 -28
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js +0 -252
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs +0 -227
- package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +0 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
- package/lib/components/LandingPageSidebar/index.d.ts +0 -1
- package/lib/components/LandingPageSidebar/index.js +0 -6
- package/lib/components/LandingPageSidebar/index.js.map +0 -1
- package/lib/components/LandingPageSidebar/index.mjs +0 -3
- package/lib/components/LandingPageSidebar/index.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.d.ts +0 -5
- package/lib/components/LayoutRenderer/LayoutRenderer.js +0 -188
- package/lib/components/LayoutRenderer/LayoutRenderer.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.mjs +0 -180
- package/lib/components/LayoutRenderer/LayoutRenderer.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +0 -28
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.js +0 -197
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs +0 -173
- package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +0 -263
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js +0 -6
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +0 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs +0 -5
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +0 -1
- package/lib/components/LayoutRenderer/index.d.ts +0 -2
- package/lib/components/LayoutRenderer/index.js +0 -6
- package/lib/components/LayoutRenderer/index.js.map +0 -1
- package/lib/components/LayoutRenderer/index.mjs +0 -3
- package/lib/components/LayoutRenderer/index.mjs.map +0 -1
- package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
- package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -71
- package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
- package/lib/components/LayoutRendererV1/index.d.ts +0 -1
- package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -63
- package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
- package/lib/components/LayoutRendererV2/index.d.ts +0 -1
- package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
- package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
- package/lib/components/NewToUnifiBox/index.d.ts +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.d.ts +0 -6
- package/lib/components/NormalisedImage/NormalisedImage.js +0 -23
- package/lib/components/NormalisedImage/NormalisedImage.js.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.mjs +0 -21
- package/lib/components/NormalisedImage/NormalisedImage.mjs.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.types.d.ts +0 -15
- package/lib/components/NormalisedImage/NormalisedImage.types.js +0 -3
- package/lib/components/NormalisedImage/NormalisedImage.types.js.map +0 -1
- package/lib/components/NormalisedImage/NormalisedImage.types.mjs +0 -2
- package/lib/components/NormalisedImage/NormalisedImage.types.mjs.map +0 -1
- package/lib/components/NormalisedImage/index.d.ts +0 -2
- package/lib/components/NormalisedImage/index.js +0 -7
- package/lib/components/NormalisedImage/index.js.map +0 -1
- package/lib/components/NormalisedImage/index.mjs +0 -4
- package/lib/components/NormalisedImage/index.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.d.ts +0 -2
- package/lib/components/Pagination/Pagination.js +0 -71
- package/lib/components/Pagination/Pagination.js.map +0 -1
- package/lib/components/Pagination/Pagination.mjs +0 -69
- package/lib/components/Pagination/Pagination.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.styles.d.ts +0 -5
- package/lib/components/Pagination/Pagination.styles.js +0 -51
- package/lib/components/Pagination/Pagination.styles.js.map +0 -1
- package/lib/components/Pagination/Pagination.styles.mjs +0 -41
- package/lib/components/Pagination/Pagination.styles.mjs.map +0 -1
- package/lib/components/Pagination/Pagination.types.d.ts +0 -5
- package/lib/components/Pagination/index.d.ts +0 -2
- package/lib/components/Pagination/index.js +0 -6
- package/lib/components/Pagination/index.js.map +0 -1
- package/lib/components/Pagination/index.mjs +0 -3
- package/lib/components/Pagination/index.mjs.map +0 -1
- package/lib/components/Popover/Popover.d.ts +0 -20
- package/lib/components/Popover/Popover.js +0 -37
- package/lib/components/Popover/Popover.js.map +0 -1
- package/lib/components/Popover/Popover.mjs +0 -29
- package/lib/components/Popover/Popover.mjs.map +0 -1
- package/lib/components/Popover/Popover.styles.d.ts +0 -15
- package/lib/components/Popover/Popover.styles.js +0 -122
- package/lib/components/Popover/Popover.styles.js.map +0 -1
- package/lib/components/Popover/Popover.styles.mjs +0 -111
- package/lib/components/Popover/Popover.styles.mjs.map +0 -1
- package/lib/components/Popover/Popover.types.d.ts +0 -8
- package/lib/components/Popover/index.d.ts +0 -1
- package/lib/components/Popover/index.js +0 -6
- package/lib/components/Popover/index.js.map +0 -1
- package/lib/components/Popover/index.mjs +0 -3
- package/lib/components/Popover/index.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.d.ts +0 -2
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js +0 -203
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs +0 -195
- package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +0 -7
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js +0 -77
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs +0 -63
- package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +0 -23
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js +0 -10
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +0 -1
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs +0 -9
- package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +0 -1
- package/lib/components/PriceRangeSlider/index.d.ts +0 -1
- package/lib/components/PriceRangeSlider/index.js +0 -6
- package/lib/components/PriceRangeSlider/index.js.map +0 -1
- package/lib/components/PriceRangeSlider/index.mjs +0 -3
- package/lib/components/PriceRangeSlider/index.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.constants.d.ts +0 -13
- package/lib/components/ProductCard/ProductCard.constants.js +0 -18
- package/lib/components/ProductCard/ProductCard.constants.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.constants.mjs +0 -17
- package/lib/components/ProductCard/ProductCard.constants.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.d.ts +0 -2
- package/lib/components/ProductCard/ProductCard.js +0 -139
- package/lib/components/ProductCard/ProductCard.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.mjs +0 -130
- package/lib/components/ProductCard/ProductCard.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.styles.d.ts +0 -20
- package/lib/components/ProductCard/ProductCard.styles.js +0 -178
- package/lib/components/ProductCard/ProductCard.styles.js.map +0 -1
- package/lib/components/ProductCard/ProductCard.styles.mjs +0 -155
- package/lib/components/ProductCard/ProductCard.styles.mjs.map +0 -1
- package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
- package/lib/components/ProductCard/index.d.ts +0 -1
- package/lib/components/ProductCard/index.js +0 -6
- package/lib/components/ProductCard/index.js.map +0 -1
- package/lib/components/ProductCard/index.mjs +0 -3
- package/lib/components/ProductCard/index.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.d.ts +0 -2
- package/lib/components/ProductCardPopup/ProductCardPopup.js +0 -247
- package/lib/components/ProductCardPopup/ProductCardPopup.js.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs +0 -245
- package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.stories.d.ts +0 -21
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +0 -60
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +0 -346
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +0 -305
- package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +0 -1
- package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
- package/lib/components/ProductCardPopup/index.d.ts +0 -1
- package/lib/components/ProductCardPopup/index.js +0 -6
- package/lib/components/ProductCardPopup/index.js.map +0 -1
- package/lib/components/ProductCardPopup/index.mjs +0 -3
- package/lib/components/ProductCardPopup/index.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.constants.d.ts +0 -9
- package/lib/components/ProductCompare/ProductCompare.constants.js +0 -14
- package/lib/components/ProductCompare/ProductCompare.constants.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.constants.mjs +0 -13
- package/lib/components/ProductCompare/ProductCompare.constants.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.d.ts +0 -2
- package/lib/components/ProductCompare/ProductCompare.js +0 -158
- package/lib/components/ProductCompare/ProductCompare.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.mjs +0 -150
- package/lib/components/ProductCompare/ProductCompare.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.styles.d.ts +0 -20
- package/lib/components/ProductCompare/ProductCompare.styles.js +0 -152
- package/lib/components/ProductCompare/ProductCompare.styles.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.styles.mjs +0 -127
- package/lib/components/ProductCompare/ProductCompare.styles.mjs.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
- package/lib/components/ProductCompare/ProductCompare.utils.d.ts +0 -2
- package/lib/components/ProductCompare/ProductCompare.utils.js +0 -20
- package/lib/components/ProductCompare/ProductCompare.utils.js.map +0 -1
- package/lib/components/ProductCompare/ProductCompare.utils.mjs +0 -18
- package/lib/components/ProductCompare/ProductCompare.utils.mjs.map +0 -1
- package/lib/components/ProductCompare/index.d.ts +0 -1
- package/lib/components/ProductCompare/index.js +0 -6
- package/lib/components/ProductCompare/index.js.map +0 -1
- package/lib/components/ProductCompare/index.mjs +0 -3
- package/lib/components/ProductCompare/index.mjs.map +0 -1
- package/lib/components/ProductCompare/mapping.d.ts +0 -62
- package/lib/components/ProductCompare/mapping.js +0 -1107
- package/lib/components/ProductCompare/mapping.js.map +0 -1
- package/lib/components/ProductCompare/mapping.mjs +0 -1098
- package/lib/components/ProductCompare/mapping.mjs.map +0 -1
- package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
- package/lib/components/ProductDetails/ProductDetails.d.ts +0 -2
- package/lib/components/ProductDetails/ProductDetails.js +0 -53
- package/lib/components/ProductDetails/ProductDetails.js.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.mjs +0 -51
- package/lib/components/ProductDetails/ProductDetails.mjs.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.styles.d.ts +0 -2
- package/lib/components/ProductDetails/ProductDetails.styles.js +0 -101
- package/lib/components/ProductDetails/ProductDetails.styles.js.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.styles.mjs +0 -92
- package/lib/components/ProductDetails/ProductDetails.styles.mjs.map +0 -1
- package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
- package/lib/components/ProductDetails/index.d.ts +0 -2
- package/lib/components/ProductDetails/index.js +0 -8
- package/lib/components/ProductDetails/index.js.map +0 -1
- package/lib/components/ProductDetails/index.mjs +0 -4
- package/lib/components/ProductDetails/index.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.d.ts +0 -2
- package/lib/components/ProductGrid/ProductGrid.js +0 -168
- package/lib/components/ProductGrid/ProductGrid.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.mjs +0 -166
- package/lib/components/ProductGrid/ProductGrid.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.styles.d.ts +0 -10
- package/lib/components/ProductGrid/ProductGrid.styles.js +0 -111
- package/lib/components/ProductGrid/ProductGrid.styles.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.styles.mjs +0 -94
- package/lib/components/ProductGrid/ProductGrid.styles.mjs.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.types.d.ts +0 -100
- package/lib/components/ProductGrid/ProductGrid.types.js +0 -12
- package/lib/components/ProductGrid/ProductGrid.types.js.map +0 -1
- package/lib/components/ProductGrid/ProductGrid.types.mjs +0 -11
- package/lib/components/ProductGrid/ProductGrid.types.mjs.map +0 -1
- package/lib/components/ProductGrid/index.d.ts +0 -1
- package/lib/components/ProductGrid/index.js +0 -6
- package/lib/components/ProductGrid/index.js.map +0 -1
- package/lib/components/ProductGrid/index.mjs +0 -3
- package/lib/components/ProductGrid/index.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.d.ts +0 -2
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +0 -72
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs +0 -70
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +0 -7
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js +0 -89
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs +0 -75
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs.map +0 -1
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
- package/lib/components/ProductKeyFeatures/index.d.ts +0 -1
- package/lib/components/ProductKeyFeatures/index.js +0 -6
- package/lib/components/ProductKeyFeatures/index.js.map +0 -1
- package/lib/components/ProductKeyFeatures/index.mjs +0 -3
- package/lib/components/ProductKeyFeatures/index.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.d.ts +0 -2
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js +0 -44
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs +0 -42
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +0 -12
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js +0 -83
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs +0 -68
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs.map +0 -1
- package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
- package/lib/components/ProductRecommendedAccessories/index.d.ts +0 -1
- package/lib/components/ProductRecommendedAccessories/index.js +0 -6
- package/lib/components/ProductRecommendedAccessories/index.js.map +0 -1
- package/lib/components/ProductRecommendedAccessories/index.mjs +0 -3
- package/lib/components/ProductRecommendedAccessories/index.mjs.map +0 -1
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
- package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
- package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.d.ts +0 -2
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js +0 -80
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +0 -78
- package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +0 -16
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js +0 -147
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs +0 -135
- package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs.map +0 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
- package/lib/components/ProductSectionTabs/index.d.ts +0 -2
- package/lib/components/ProductSectionTabs/index.js +0 -6
- package/lib/components/ProductSectionTabs/index.js.map +0 -1
- package/lib/components/ProductSectionTabs/index.mjs +0 -3
- package/lib/components/ProductSectionTabs/index.mjs.map +0 -1
- package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
- package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -21
- package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
- package/lib/components/ProductUpsell/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/Options.d.ts +0 -2
- package/lib/components/ProductWizard/Options/Options.js +0 -77
- package/lib/components/ProductWizard/Options/Options.js.map +0 -1
- package/lib/components/ProductWizard/Options/Options.mjs +0 -75
- package/lib/components/ProductWizard/Options/Options.mjs.map +0 -1
- package/lib/components/ProductWizard/Options/Options.styles.d.ts +0 -2
- package/lib/components/ProductWizard/Options/Options.styles.js +0 -24
- package/lib/components/ProductWizard/Options/Options.styles.js.map +0 -1
- package/lib/components/ProductWizard/Options/Options.styles.mjs +0 -15
- package/lib/components/ProductWizard/Options/Options.styles.mjs.map +0 -1
- package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
- package/lib/components/ProductWizard/Options/index.d.ts +0 -1
- package/lib/components/ProductWizard/Options/index.js +0 -6
- package/lib/components/ProductWizard/Options/index.js.map +0 -1
- package/lib/components/ProductWizard/Options/index.mjs +0 -3
- package/lib/components/ProductWizard/Options/index.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.d.ts +0 -5
- package/lib/components/ProductWizard/ProductWizard.js +0 -114
- package/lib/components/ProductWizard/ProductWizard.js.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +0 -105
- package/lib/components/ProductWizard/ProductWizard.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.styles.d.ts +0 -29
- package/lib/components/ProductWizard/ProductWizard.styles.js +0 -147
- package/lib/components/ProductWizard/ProductWizard.styles.js.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.styles.mjs +0 -130
- package/lib/components/ProductWizard/ProductWizard.styles.mjs.map +0 -1
- package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
- package/lib/components/ProductWizard/index.d.ts +0 -1
- package/lib/components/ProductWizard/index.js +0 -6
- package/lib/components/ProductWizard/index.js.map +0 -1
- package/lib/components/ProductWizard/index.mjs +0 -3
- package/lib/components/ProductWizard/index.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.d.ts +0 -2
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +0 -163
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +0 -151
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +0 -9
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +0 -67
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +0 -51
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +0 -1
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
- package/lib/components/ProductWizardFootnotes/index.d.ts +0 -1
- package/lib/components/ProductWizardFootnotes/index.js +0 -6
- package/lib/components/ProductWizardFootnotes/index.js.map +0 -1
- package/lib/components/ProductWizardFootnotes/index.mjs +0 -3
- package/lib/components/ProductWizardFootnotes/index.mjs.map +0 -1
- package/lib/components/ProgressCircle/ProgressCircle.d.ts +0 -2
- package/lib/components/ProgressCircle/ProgressCircle.js.map +0 -1
- package/lib/components/ProgressCircle/ProgressCircle.mjs.map +0 -1
- package/lib/components/ProgressCircle/index.d.ts +0 -1
- package/lib/components/ProgressCircle/index.js +0 -6
- package/lib/components/ProgressCircle/index.js.map +0 -1
- package/lib/components/ProgressCircle/index.mjs +0 -3
- package/lib/components/ProgressCircle/index.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.d.ts +0 -10
- package/lib/components/RelatedProducts/RelatedProducts.js +0 -89
- package/lib/components/RelatedProducts/RelatedProducts.js.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.mjs +0 -81
- package/lib/components/RelatedProducts/RelatedProducts.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +0 -15
- package/lib/components/RelatedProducts/RelatedProducts.styles.js +0 -125
- package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +0 -105
- package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +0 -1
- package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
- package/lib/components/RelatedProducts/index.d.ts +0 -1
- package/lib/components/RelatedProducts/index.js +0 -6
- package/lib/components/RelatedProducts/index.js.map +0 -1
- package/lib/components/RelatedProducts/index.mjs +0 -3
- package/lib/components/RelatedProducts/index.mjs.map +0 -1
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -27
- package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
- package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -40
- package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
- package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -44
- package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
- package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
- package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
- package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
- package/lib/components/SearchInput/Input.styles.d.ts +0 -20
- package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +0 -6
- package/lib/components/SkeletonFootnote/SkeletonFootnote.js +0 -48
- package/lib/components/SkeletonFootnote/SkeletonFootnote.js.map +0 -1
- package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs +0 -39
- package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs.map +0 -1
- package/lib/components/SkeletonFootnote/index.d.ts +0 -1
- package/lib/components/SkeletonFootnote/index.js +0 -6
- package/lib/components/SkeletonFootnote/index.js.map +0 -1
- package/lib/components/SkeletonFootnote/index.mjs +0 -3
- package/lib/components/SkeletonFootnote/index.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.d.ts +0 -2
- package/lib/components/StorageSliders/Slider/Slider.js +0 -41
- package/lib/components/StorageSliders/Slider/Slider.js.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.mjs +0 -39
- package/lib/components/StorageSliders/Slider/Slider.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +0 -12
- package/lib/components/StorageSliders/Slider/Slider.styles.js +0 -76
- package/lib/components/StorageSliders/Slider/Slider.styles.js.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.styles.mjs +0 -63
- package/lib/components/StorageSliders/Slider/Slider.styles.mjs.map +0 -1
- package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
- package/lib/components/StorageSliders/Slider/index.d.ts +0 -1
- package/lib/components/StorageSliders/Slider/index.js +0 -6
- package/lib/components/StorageSliders/Slider/index.js.map +0 -1
- package/lib/components/StorageSliders/Slider/index.mjs +0 -3
- package/lib/components/StorageSliders/Slider/index.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.constants.d.ts +0 -19
- package/lib/components/StorageSliders/StorageSliders.constants.js +0 -41
- package/lib/components/StorageSliders/StorageSliders.constants.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.constants.mjs +0 -38
- package/lib/components/StorageSliders/StorageSliders.constants.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.context.d.ts +0 -7
- package/lib/components/StorageSliders/StorageSliders.context.js +0 -148
- package/lib/components/StorageSliders/StorageSliders.context.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.context.mjs +0 -145
- package/lib/components/StorageSliders/StorageSliders.context.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.d.ts +0 -2
- package/lib/components/StorageSliders/StorageSliders.js +0 -102
- package/lib/components/StorageSliders/StorageSliders.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.mjs +0 -94
- package/lib/components/StorageSliders/StorageSliders.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.styles.d.ts +0 -16
- package/lib/components/StorageSliders/StorageSliders.styles.js +0 -154
- package/lib/components/StorageSliders/StorageSliders.styles.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.styles.mjs +0 -137
- package/lib/components/StorageSliders/StorageSliders.styles.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.types.d.ts +0 -25
- package/lib/components/StorageSliders/StorageSliders.types.js +0 -10
- package/lib/components/StorageSliders/StorageSliders.types.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.types.mjs +0 -9
- package/lib/components/StorageSliders/StorageSliders.types.mjs.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.utils.d.ts +0 -11
- package/lib/components/StorageSliders/StorageSliders.utils.js +0 -45
- package/lib/components/StorageSliders/StorageSliders.utils.js.map +0 -1
- package/lib/components/StorageSliders/StorageSliders.utils.mjs +0 -42
- package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +0 -1
- package/lib/components/StorageSliders/index.d.ts +0 -1
- package/lib/components/StorageSliders/index.js +0 -6
- package/lib/components/StorageSliders/index.js.map +0 -1
- package/lib/components/StorageSliders/index.mjs +0 -3
- package/lib/components/StorageSliders/index.mjs.map +0 -1
- package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
- package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
- package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
- package/lib/components/TabinationButtons/index.d.ts +0 -1
- package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
- package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
- package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
- package/lib/components/TopologyScheme/index.d.ts +0 -2
- package/lib/components/VariantSelector/CheckBox/CheckBox.d.ts +0 -6
- package/lib/components/VariantSelector/CheckBox/CheckBox.js +0 -44
- package/lib/components/VariantSelector/CheckBox/CheckBox.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +0 -35
- package/lib/components/VariantSelector/CheckBox/CheckBox.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +0 -10
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js +0 -77
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs +0 -66
- package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +0 -27
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js +0 -27
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs.map +0 -1
- package/lib/components/VariantSelector/CheckBox/index.d.ts +0 -1
- package/lib/components/VariantSelector/CheckBox/index.js +0 -6
- package/lib/components/VariantSelector/CheckBox/index.js.map +0 -1
- package/lib/components/VariantSelector/CheckBox/index.mjs +0 -3
- package/lib/components/VariantSelector/CheckBox/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.d.ts +0 -5
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js +0 -109
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs +0 -87
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +0 -7
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js +0 -71
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs +0 -57
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/index.js +0 -6
- package/lib/components/VariantSelector/Variant/BundleOffer/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js +0 -30
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs +0 -18
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js +0 -37
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs +0 -23
- package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js +0 -22
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs +0 -21
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +0 -124
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs +0 -116
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +0 -24
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js +0 -158
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs +0 -135
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
- package/lib/components/VariantSelector/Variant/Compatibility/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/index.js +0 -6
- package/lib/components/VariantSelector/Variant/Compatibility/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Compatibility/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/Compatibility/index.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.d.ts +0 -2
- package/lib/components/VariantSelector/Variant/Variant.js +0 -699
- package/lib/components/VariantSelector/Variant/Variant.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.mjs +0 -691
- package/lib/components/VariantSelector/Variant/Variant.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +0 -87
- package/lib/components/VariantSelector/Variant/Variant.styles.js +0 -527
- package/lib/components/VariantSelector/Variant/Variant.styles.js.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs +0 -465
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
- package/lib/components/VariantSelector/Variant/index.d.ts +0 -1
- package/lib/components/VariantSelector/Variant/index.js +0 -6
- package/lib/components/VariantSelector/Variant/index.js.map +0 -1
- package/lib/components/VariantSelector/Variant/index.mjs +0 -3
- package/lib/components/VariantSelector/Variant/index.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.constants.d.ts +0 -50
- package/lib/components/VariantSelector/VariantSelector.constants.js +0 -87
- package/lib/components/VariantSelector/VariantSelector.constants.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.constants.mjs +0 -84
- package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.d.ts +0 -7
- package/lib/components/VariantSelector/VariantSelector.js +0 -162
- package/lib/components/VariantSelector/VariantSelector.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.mjs +0 -153
- package/lib/components/VariantSelector/VariantSelector.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.styles.d.ts +0 -20
- package/lib/components/VariantSelector/VariantSelector.styles.js +0 -112
- package/lib/components/VariantSelector/VariantSelector.styles.js.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.styles.mjs +0 -95
- package/lib/components/VariantSelector/VariantSelector.styles.mjs.map +0 -1
- package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
- package/lib/components/VariantSelector/index.d.ts +0 -1
- package/lib/components/VariantSelector/index.js +0 -6
- package/lib/components/VariantSelector/index.js.map +0 -1
- package/lib/components/VariantSelector/index.mjs +0 -3
- package/lib/components/VariantSelector/index.mjs.map +0 -1
- package/lib/components/VariantSelector/utils.d.ts +0 -11
- package/lib/components/VariantSelectorItem/VariantSelectorItem.d.ts +0 -3
- package/lib/components/VariantSelectorItem/VariantSelectorItem.js +0 -18
- package/lib/components/VariantSelectorItem/VariantSelectorItem.js.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs +0 -16
- package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +0 -4
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js +0 -47
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs +0 -38
- package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs.map +0 -1
- package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
- package/lib/components/VariantSelectorItem/index.d.ts +0 -1
- package/lib/components/VariantSelectorItem/index.js +0 -6
- package/lib/components/VariantSelectorItem/index.js.map +0 -1
- package/lib/components/VariantSelectorItem/index.mjs +0 -3
- package/lib/components/VariantSelectorItem/index.mjs.map +0 -1
- package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -39
- package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV1/index.d.ts +0 -1
- package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
- package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -25
- package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
- package/lib/components/VariantSelectorV2/index.d.ts +0 -1
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
- package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -9
- package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
- package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
- package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
- package/lib/components/VideoPlayer/index.d.ts +0 -1
- package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
- package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
- package/lib/components/YouTubePlayer/index.d.ts +0 -1
- package/lib/constants/icons/options/colors/black.svg.js +0 -27
- package/lib/constants/icons/options/colors/black.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/black.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/black.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/blue.svg.js +0 -27
- package/lib/constants/icons/options/colors/blue.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/blue.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/blue.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/darkGrey.svg.js +0 -27
- package/lib/constants/icons/options/colors/darkGrey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/darkGrey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/darkGrey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/grey.svg.js +0 -27
- package/lib/constants/icons/options/colors/grey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/grey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/grey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/index.d.ts +0 -6
- package/lib/constants/icons/options/colors/index.js +0 -63
- package/lib/constants/icons/options/colors/index.js.map +0 -1
- package/lib/constants/icons/options/colors/index.mjs +0 -14
- package/lib/constants/icons/options/colors/index.mjs.map +0 -1
- package/lib/constants/icons/options/colors/lightGrey.svg.js +0 -27
- package/lib/constants/icons/options/colors/lightGrey.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/lightGrey.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/lightGrey.svg.mjs.map +0 -1
- package/lib/constants/icons/options/colors/white.svg.js +0 -27
- package/lib/constants/icons/options/colors/white.svg.js.map +0 -1
- package/lib/constants/icons/options/colors/white.svg.mjs +0 -3
- package/lib/constants/icons/options/colors/white.svg.mjs.map +0 -1
- package/lib/constants/icons/options/index.d.ts +0 -2
- package/lib/constants/icons/options/index.js +0 -8
- package/lib/constants/icons/options/index.js.map +0 -1
- package/lib/constants/icons/options/index.mjs +0 -6
- package/lib/constants/icons/options/index.mjs.map +0 -1
- package/lib/constants/icons/options/styles/black.svg.js +0 -27
- package/lib/constants/icons/options/styles/black.svg.js.map +0 -1
- package/lib/constants/icons/options/styles/black.svg.mjs +0 -3
- package/lib/constants/icons/options/styles/black.svg.mjs.map +0 -1
- package/lib/constants/icons/options/styles/blackFabric.png.js +0 -27
- package/lib/constants/icons/options/styles/blackFabric.png.js.map +0 -1
- package/lib/constants/icons/options/styles/blackFabric.png.mjs +0 -3
- package/lib/constants/icons/options/styles/blackFabric.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/camo.png.js +0 -27
- package/lib/constants/icons/options/styles/camo.png.js.map +0 -1
- package/lib/constants/icons/options/styles/camo.png.mjs +0 -3
- package/lib/constants/icons/options/styles/camo.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/concrete.png.js +0 -27
- package/lib/constants/icons/options/styles/concrete.png.js.map +0 -1
- package/lib/constants/icons/options/styles/concrete.png.mjs +0 -3
- package/lib/constants/icons/options/styles/concrete.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/index.d.ts +0 -6
- package/lib/constants/icons/options/styles/index.js +0 -63
- package/lib/constants/icons/options/styles/index.js.map +0 -1
- package/lib/constants/icons/options/styles/index.mjs +0 -14
- package/lib/constants/icons/options/styles/index.mjs.map +0 -1
- package/lib/constants/icons/options/styles/marble.png.js +0 -27
- package/lib/constants/icons/options/styles/marble.png.js.map +0 -1
- package/lib/constants/icons/options/styles/marble.png.mjs +0 -3
- package/lib/constants/icons/options/styles/marble.png.mjs.map +0 -1
- package/lib/constants/icons/options/styles/wood.png.js +0 -27
- package/lib/constants/icons/options/styles/wood.png.js.map +0 -1
- package/lib/constants/icons/options/styles/wood.png.mjs +0 -3
- package/lib/constants/icons/options/styles/wood.png.mjs.map +0 -1
- package/lib/constants/optionIcons.d.ts +0 -23
- package/lib/constants/optionIcons.js +0 -97
- package/lib/constants/optionIcons.js.map +0 -1
- package/lib/constants/optionIcons.mjs +0 -76
- package/lib/constants/optionIcons.mjs.map +0 -1
- package/lib/helpers/shopify/product.d.ts +0 -5
- package/lib/helpers/shopify/product.js +0 -52
- package/lib/helpers/shopify/product.js.map +0 -1
- package/lib/helpers/shopify/product.mjs +0 -50
- package/lib/helpers/shopify/product.mjs.map +0 -1
- package/lib/utils/cdn.d.ts +0 -5
- package/lib/utils/collectionSlug.d.ts +0 -5
- package/lib/utils/collectionSlug.js +0 -13
- package/lib/utils/collectionSlug.js.map +0 -1
- package/lib/utils/collectionSlug.mjs +0 -12
- package/lib/utils/collectionSlug.mjs.map +0 -1
- package/lib/utils/collectionSlug.test.d.ts +0 -1
- package/lib/utils/variant.d.ts +0 -8
- package/lib/utils/variant.js +0 -20
- package/lib/utils/variant.js.map +0 -1
- package/lib/utils/variant.mjs +0 -18
- package/lib/utils/variant.mjs.map +0 -1
- package/lib/utils/variant.test.d.ts +0 -1
- package/lib/utils/wattage.d.ts +0 -11
- package/lib/utils/wattage.js +0 -20
- package/lib/utils/wattage.js.map +0 -1
- package/lib/utils/wattage.mjs +0 -18
- package/lib/utils/wattage.mjs.map +0 -1
- package/lib/utils/wattage.test.d.ts +0 -1
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.types.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.d.ts +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.js +0 -0
- /package/lib/components/{Banner → Header/CartIcon}/index.js.map +0 -0
- /package/lib/components/{CartIcon → Header/CartIcon}/index.mjs +0 -0
- /package/lib/components/{Banner → Header/CartIcon}/index.mjs.map +0 -0
- /package/lib/components/{Banner/Banner.styles.d.ts → MicrositeBanner/MicrositeBanner.styles.d.ts} +0 -0
- /package/lib/components/{CartIcon → MicrositeBanner}/index.js.map +0 -0
- /package/lib/components/{CartIcon → MicrositeBanner}/index.mjs.map +0 -0
- /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.js.map +0 -0
- /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.mjs.map +0 -0
- /package/lib/components/{Gallery → ProductTechSpecs}/index.js.map +0 -0
- /package/lib/components/{Gallery → ProductTechSpecs}/index.mjs.map +0 -0
package/lib/utils/index.js
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var url$1 = require('./url.js');
|
|
4
|
-
var
|
|
4
|
+
var index = require('./money/index.js');
|
|
5
5
|
var number$1 = require('./number.js');
|
|
6
6
|
var string$1 = require('./string.js');
|
|
7
7
|
var array$1 = require('./array.js');
|
|
8
|
-
var index = require('./nextjs/index.js');
|
|
8
|
+
var index$1 = require('./nextjs/index.js');
|
|
9
9
|
var country$1 = require('./country.js');
|
|
10
10
|
var countriesAndZones = require('./countriesAndZones.js');
|
|
11
11
|
var address$1 = require('./address.js');
|
|
12
|
-
var index$
|
|
12
|
+
var index$2 = require('./tax/index.js');
|
|
13
13
|
var zod$1 = require('./zod.js');
|
|
14
|
-
var collectionSlug$1 = require('./collectionSlug.js');
|
|
15
14
|
var shipping$1 = require('./shipping.js');
|
|
16
15
|
var measures$1 = require('./measures.js');
|
|
17
16
|
var errors$1 = require('./errors.js');
|
|
18
17
|
var tags$1 = require('./tags.js');
|
|
19
|
-
var wattage$1 = require('./wattage.js');
|
|
20
18
|
var product$1 = require('./product.js');
|
|
21
19
|
var asset$1 = require('./asset.js');
|
|
22
20
|
var imageOptimizer$1 = require('./imageOptimizer.js');
|
|
@@ -26,22 +24,20 @@ var blackFriday$1 = require('./blackFriday.js');
|
|
|
26
24
|
var sales$1 = require('./sales.js');
|
|
27
25
|
"use strict";
|
|
28
26
|
exports.url = url$1;
|
|
29
|
-
exports.money =
|
|
27
|
+
exports.money = index;
|
|
30
28
|
exports.number = number$1;
|
|
31
29
|
exports.string = string$1;
|
|
32
30
|
exports.array = array$1;
|
|
33
|
-
exports.nextjs = index;
|
|
31
|
+
exports.nextjs = index$1;
|
|
34
32
|
exports.country = country$1;
|
|
35
33
|
exports.countryAndZones = countriesAndZones;
|
|
36
34
|
exports.address = address$1;
|
|
37
|
-
exports.tax = index$
|
|
35
|
+
exports.tax = index$2;
|
|
38
36
|
exports.zod = zod$1;
|
|
39
|
-
exports.collectionSlug = collectionSlug$1;
|
|
40
37
|
exports.shipping = shipping$1;
|
|
41
38
|
exports.measures = measures$1;
|
|
42
39
|
exports.errors = errors$1;
|
|
43
40
|
exports.tags = tags$1;
|
|
44
|
-
exports.wattage = wattage$1;
|
|
45
41
|
exports.product = product$1;
|
|
46
42
|
exports.asset = asset$1;
|
|
47
43
|
exports.imageOptimizer = imageOptimizer$1;
|
package/lib/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/utils/index.mjs
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import * as url$1 from './url.mjs';
|
|
2
2
|
export { url$1 as url };
|
|
3
|
-
import * as
|
|
4
|
-
export {
|
|
3
|
+
import * as index from './money/index.mjs';
|
|
4
|
+
export { index as money };
|
|
5
5
|
import * as number$1 from './number.mjs';
|
|
6
6
|
export { number$1 as number };
|
|
7
7
|
import * as string$1 from './string.mjs';
|
|
8
8
|
export { string$1 as string };
|
|
9
9
|
import * as array$1 from './array.mjs';
|
|
10
10
|
export { array$1 as array };
|
|
11
|
-
import * as index from './nextjs/index.mjs';
|
|
12
|
-
export { index as nextjs };
|
|
11
|
+
import * as index$1 from './nextjs/index.mjs';
|
|
12
|
+
export { index$1 as nextjs };
|
|
13
13
|
import * as country$1 from './country.mjs';
|
|
14
14
|
export { country$1 as country };
|
|
15
15
|
import * as countriesAndZones from './countriesAndZones.mjs';
|
|
16
16
|
export { countriesAndZones as countryAndZones };
|
|
17
17
|
import * as address$1 from './address.mjs';
|
|
18
18
|
export { address$1 as address };
|
|
19
|
-
import * as index$
|
|
20
|
-
export { index$
|
|
19
|
+
import * as index$2 from './tax/index.mjs';
|
|
20
|
+
export { index$2 as tax };
|
|
21
21
|
import * as zod$1 from './zod.mjs';
|
|
22
22
|
export { zod$1 as zod };
|
|
23
|
-
import * as collectionSlug$1 from './collectionSlug.mjs';
|
|
24
|
-
export { collectionSlug$1 as collectionSlug };
|
|
25
23
|
import * as shipping$1 from './shipping.mjs';
|
|
26
24
|
export { shipping$1 as shipping };
|
|
27
25
|
import * as measures$1 from './measures.mjs';
|
|
@@ -30,8 +28,6 @@ import * as errors$1 from './errors.mjs';
|
|
|
30
28
|
export { errors$1 as errors };
|
|
31
29
|
import * as tags$1 from './tags.mjs';
|
|
32
30
|
export { tags$1 as tags };
|
|
33
|
-
import * as wattage$1 from './wattage.mjs';
|
|
34
|
-
export { wattage$1 as wattage };
|
|
35
31
|
import * as product$1 from './product.mjs';
|
|
36
32
|
export { product$1 as product };
|
|
37
33
|
import * as asset$1 from './asset.mjs';
|
package/lib/utils/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,29 +4,21 @@ var dinero_js = require('dinero.js');
|
|
|
4
4
|
var errors = require('../../errors.js');
|
|
5
5
|
var misc = require('../misc.js');
|
|
6
6
|
"use strict";
|
|
7
|
-
var __defProp = Object.defineProperty;
|
|
8
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
configurable: true,
|
|
11
|
-
writable: true,
|
|
12
|
-
value
|
|
13
|
-
}) : obj[key] = value;
|
|
14
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
15
7
|
class FixedAmountAllocator {
|
|
8
|
+
/**
|
|
9
|
+
* How much we have left to allocate for given allocation from the remaining total
|
|
10
|
+
*/
|
|
11
|
+
remainingAllocationAmount;
|
|
12
|
+
/**
|
|
13
|
+
* How much we have left to allocate in total
|
|
14
|
+
*/
|
|
15
|
+
remainingTotalAmount;
|
|
16
|
+
currency;
|
|
16
17
|
constructor({
|
|
17
18
|
initialAllocateAmount,
|
|
18
19
|
initialTotalAmount,
|
|
19
20
|
currency
|
|
20
21
|
}) {
|
|
21
|
-
/**
|
|
22
|
-
* How much we have left to allocate for given allocation from the remaining total
|
|
23
|
-
*/
|
|
24
|
-
__publicField(this, "remainingAllocationAmount");
|
|
25
|
-
/**
|
|
26
|
-
* How much we have left to allocate in total
|
|
27
|
-
*/
|
|
28
|
-
__publicField(this, "remainingTotalAmount");
|
|
29
|
-
__publicField(this, "currency");
|
|
30
22
|
this.remainingAllocationAmount = misc.getDinero(initialAllocateAmount, currency);
|
|
31
23
|
this.remainingTotalAmount = misc.getDinero(initialTotalAmount, currency);
|
|
32
24
|
this.currency = misc.getDineroCurrency(currency);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixedAmount.js","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","
|
|
1
|
+
{"version":3,"file":"fixedAmount.js","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","remainingAllocationAmount","remainingTotalAmount","currency","constructor","initialAllocateAmount","initialTotalAmount","getDinero","getDineroCurrency","allocate","lineItemTotal","assert","code","lineItemTotalDinero","allocationAmount","Math","max","amount","subtract","greaterThan"],"mappings":";;;;;;AAWO,MAAMA,oBAAqB,CAAA;EAAA;AAAA;AAAA;EAIzBC,yBAAA;EAAA;AAAA;AAAA;EAIAC,oBAAA;EACAC,QAAA;EAEPC,WAAYA,CAAA;IACVC,qBAAA;IACAC,kBAAA;IACAH;EAAA,CAKC,EAAA;IACI,IAAA,CAAAF,yBAAA,GAA4BM,cAAU,CAAAF,qBAAA,EAAuBF,QAAQ,CAAA;IACrE,IAAA,CAAAD,oBAAA,GAAuBK,cAAU,CAAAD,kBAAA,EAAoBH,QAAQ,CAAA;IAC7D,IAAA,CAAAA,QAAA,GAAWK,uBAAkBL,QAAQ,CAAA;EAAA;EAC5C;AAAA;AAAA;EAKAM,QAAAA,CAASC,eAAsBP,QAA0B,EAAA;IACvDQ,MAAA,CAAAA,MAAA,CACE,IAAA,CAAKR,SAASS,IAAS,KAAAT,QAAA,EACvB,+BAA+BA,QAAQ,SAAS,IAAA,CAAKA,SAASS,IAAI,EACpE,CAAA;IACM,MAAAC,mBAAA,GAAsBN,IAAAA,CAAAA,SAAU,CAAAG,aAAA,EAAeP,QAAQ,CAAA;IAK7D,IAAIO,kBAAkB,CAAG,EAAA;MAChB,OAAAG,mBAAA;IAAA;IAGH,MAAA,CAACC,gBAAkB,EAAAb,yBAAyB,CAAI,GAAAQ,SAAA,CAAAA,QAAA,CACpD,IAAK,CAAAR,yBAAA,EACL,CACES,aAAA,EACAK,KAAKC,GAAI,CAAAC,IAAA,CAAAA,MAAA,CAAO,KAAKf,oBAAoB,CAAA,GAAIQ,eAAe,CAAC,CAAA,CAEjE,CAAA;IAEOC,aAAA,CAAA,CAAC,CAACG,gBAAA,EAAkB,2BAA2B,CAAA;IACtDH,MAAA,CAAAA,MAAA,CACE,CAAC,CAACV,yBAAA,EACF,wCACF,CAAA;IAEA,IAAA,CAAKA,yBAA4B,GAAAA,yBAAA;IACjC,IAAA,CAAKC,oBAAuB,GAAAgB,SAAA,CAAAA,QAAA,CAC1B,IAAK,CAAAhB,oBAAA,EACLW,mBACF,CAAA;IAMA,OAAOM,SAAY,CAAAA,WAAA,CAAAL,gBAAA,EAAkBD,mBAAmB,CAAA,GACpDA,mBACA,GAAAC,gBAAA;EAAA;AAER;"}
|
|
@@ -2,29 +2,21 @@ import { allocate, subtract, greaterThan } from 'dinero.js';
|
|
|
2
2
|
import { assert } from '../../errors.mjs';
|
|
3
3
|
import { getDinero, getDineroCurrency, amount } from '../misc.mjs';
|
|
4
4
|
"use strict";
|
|
5
|
-
var __defProp = Object.defineProperty;
|
|
6
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
configurable: true,
|
|
9
|
-
writable: true,
|
|
10
|
-
value
|
|
11
|
-
}) : obj[key] = value;
|
|
12
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
5
|
class FixedAmountAllocator {
|
|
6
|
+
/**
|
|
7
|
+
* How much we have left to allocate for given allocation from the remaining total
|
|
8
|
+
*/
|
|
9
|
+
remainingAllocationAmount;
|
|
10
|
+
/**
|
|
11
|
+
* How much we have left to allocate in total
|
|
12
|
+
*/
|
|
13
|
+
remainingTotalAmount;
|
|
14
|
+
currency;
|
|
14
15
|
constructor({
|
|
15
16
|
initialAllocateAmount,
|
|
16
17
|
initialTotalAmount,
|
|
17
18
|
currency
|
|
18
19
|
}) {
|
|
19
|
-
/**
|
|
20
|
-
* How much we have left to allocate for given allocation from the remaining total
|
|
21
|
-
*/
|
|
22
|
-
__publicField(this, "remainingAllocationAmount");
|
|
23
|
-
/**
|
|
24
|
-
* How much we have left to allocate in total
|
|
25
|
-
*/
|
|
26
|
-
__publicField(this, "remainingTotalAmount");
|
|
27
|
-
__publicField(this, "currency");
|
|
28
20
|
this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);
|
|
29
21
|
this.remainingTotalAmount = getDinero(initialTotalAmount, currency);
|
|
30
22
|
this.currency = getDineroCurrency(currency);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixedAmount.mjs","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","
|
|
1
|
+
{"version":3,"file":"fixedAmount.mjs","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","remainingAllocationAmount","remainingTotalAmount","currency","constructor","initialAllocateAmount","initialTotalAmount","getDinero","getDineroCurrency","allocate","lineItemTotal","assert","code","lineItemTotalDinero","allocationAmount","Math","max","amount","subtract","greaterThan"],"mappings":";;;;AAWO,MAAMA,oBAAqB,CAAA;EAAA;AAAA;AAAA;EAIzBC,yBAAA;EAAA;AAAA;AAAA;EAIAC,oBAAA;EACAC,QAAA;EAEPC,WAAYA,CAAA;IACVC,qBAAA;IACAC,kBAAA;IACAH;EAAA,CAKC,EAAA;IACI,IAAA,CAAAF,yBAAA,GAA4BM,SAAU,CAAAF,qBAAA,EAAuBF,QAAQ,CAAA;IACrE,IAAA,CAAAD,oBAAA,GAAuBK,SAAU,CAAAD,kBAAA,EAAoBH,QAAQ,CAAA;IAC7D,IAAA,CAAAA,QAAA,GAAWK,kBAAkBL,QAAQ,CAAA;EAAA;EAC5C;AAAA;AAAA;EAKAM,QAAAA,CAASC,eAAsBP,QAA0B,EAAA;IACvDQ,MAAA,CACE,IAAA,CAAKR,SAASS,IAAS,KAAAT,QAAA,EACvB,+BAA+BA,QAAQ,SAAS,IAAA,CAAKA,SAASS,IAAI,EACpE,CAAA;IACM,MAAAC,mBAAA,GAAsBN,SAAU,CAAAG,aAAA,EAAeP,QAAQ,CAAA;IAK7D,IAAIO,kBAAkB,CAAG,EAAA;MAChB,OAAAG,mBAAA;IAAA;IAGH,MAAA,CAACC,gBAAkB,EAAAb,yBAAyB,CAAI,GAAAQ,QAAA,CACpD,IAAK,CAAAR,yBAAA,EACL,CACES,aAAA,EACAK,KAAKC,GAAI,CAAAC,MAAA,CAAO,KAAKf,oBAAoB,CAAA,GAAIQ,eAAe,CAAC,CAAA,CAEjE,CAAA;IAEOC,MAAA,CAAA,CAAC,CAACG,gBAAA,EAAkB,2BAA2B,CAAA;IACtDH,MAAA,CACE,CAAC,CAACV,yBAAA,EACF,wCACF,CAAA;IAEA,IAAA,CAAKA,yBAA4B,GAAAA,yBAAA;IACjC,IAAA,CAAKC,oBAAuB,GAAAgB,QAAA,CAC1B,IAAK,CAAAhB,oBAAA,EACLW,mBACF,CAAA;IAMA,OAAOM,WAAY,CAAAL,gBAAA,EAAkBD,mBAAmB,CAAA,GACpDA,mBACA,GAAAC,gBAAA;EAAA;AAER;"}
|
|
@@ -3,96 +3,73 @@
|
|
|
3
3
|
var misc = require('../misc.js');
|
|
4
4
|
var fixedAmount = require('./fixedAmount.js');
|
|
5
5
|
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __typeError = msg => {
|
|
8
|
-
throw TypeError(msg);
|
|
9
|
-
};
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
configurable: true,
|
|
13
|
-
writable: true,
|
|
14
|
-
value
|
|
15
|
-
}) : obj[key] = value;
|
|
16
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
17
|
-
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
18
|
-
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
19
|
-
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
20
|
-
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
21
|
-
var _itemPrice, _currency, _subtotal, _discountAmount, _taxableAmount, _tax, _total;
|
|
22
6
|
class ProductAmountAllocator {
|
|
7
|
+
// #############################################################################
|
|
8
|
+
// Fixed values
|
|
9
|
+
// #############################################################################
|
|
10
|
+
#itemPrice;
|
|
11
|
+
#currency;
|
|
12
|
+
// #############################################################################
|
|
13
|
+
/**
|
|
14
|
+
* Remaining quantity to allocate
|
|
15
|
+
*/
|
|
16
|
+
quantity;
|
|
17
|
+
// #############################################################################
|
|
18
|
+
// Specific amount allocators
|
|
19
|
+
// #############################################################################
|
|
20
|
+
#subtotal;
|
|
21
|
+
#discountAmount;
|
|
22
|
+
#taxableAmount;
|
|
23
|
+
#tax;
|
|
24
|
+
#total;
|
|
23
25
|
constructor(productSummary) {
|
|
24
|
-
// #############################################################################
|
|
25
|
-
// Fixed values
|
|
26
|
-
// #############################################################################
|
|
27
|
-
__privateAdd(this, _itemPrice);
|
|
28
|
-
__privateAdd(this, _currency);
|
|
29
|
-
// #############################################################################
|
|
30
|
-
/**
|
|
31
|
-
* Remaining quantity to allocate
|
|
32
|
-
*/
|
|
33
|
-
__publicField(this, "quantity");
|
|
34
|
-
// #############################################################################
|
|
35
|
-
// Specific amount allocators
|
|
36
|
-
// #############################################################################
|
|
37
|
-
__privateAdd(this, _subtotal);
|
|
38
|
-
__privateAdd(this, _discountAmount);
|
|
39
|
-
__privateAdd(this, _taxableAmount);
|
|
40
|
-
__privateAdd(this, _tax);
|
|
41
|
-
__privateAdd(this, _total);
|
|
42
26
|
const currency = productSummary.currency;
|
|
43
27
|
const priceForAllocation = productSummary.itemPrice * productSummary.quantity;
|
|
44
|
-
|
|
45
|
-
|
|
28
|
+
this.#itemPrice = productSummary.itemPrice;
|
|
29
|
+
this.#currency = currency;
|
|
46
30
|
this.quantity = productSummary.quantity;
|
|
47
|
-
|
|
31
|
+
this.#subtotal = new fixedAmount.FixedAmountAllocator({
|
|
48
32
|
initialAllocateAmount: productSummary.subtotal,
|
|
49
33
|
initialTotalAmount: priceForAllocation,
|
|
50
34
|
currency
|
|
51
|
-
})
|
|
52
|
-
|
|
35
|
+
});
|
|
36
|
+
this.#discountAmount = new fixedAmount.FixedAmountAllocator({
|
|
53
37
|
initialAllocateAmount: productSummary.discountAmount,
|
|
54
38
|
initialTotalAmount: priceForAllocation,
|
|
55
39
|
currency
|
|
56
|
-
})
|
|
57
|
-
|
|
40
|
+
});
|
|
41
|
+
this.#taxableAmount = new fixedAmount.FixedAmountAllocator({
|
|
58
42
|
initialAllocateAmount: productSummary.taxableAmount,
|
|
59
43
|
initialTotalAmount: priceForAllocation,
|
|
60
44
|
currency
|
|
61
|
-
})
|
|
62
|
-
|
|
45
|
+
});
|
|
46
|
+
this.#tax = new fixedAmount.FixedAmountAllocator({
|
|
63
47
|
initialAllocateAmount: productSummary.tax,
|
|
64
48
|
initialTotalAmount: priceForAllocation,
|
|
65
49
|
currency
|
|
66
|
-
})
|
|
67
|
-
|
|
50
|
+
});
|
|
51
|
+
this.#total = new fixedAmount.FixedAmountAllocator({
|
|
68
52
|
initialAllocateAmount: productSummary.total,
|
|
69
53
|
initialTotalAmount: priceForAllocation,
|
|
70
54
|
currency
|
|
71
|
-
})
|
|
55
|
+
});
|
|
72
56
|
}
|
|
73
57
|
allocateQty(quantity) {
|
|
74
58
|
let quantityNormalized = Math.max(quantity, 0);
|
|
75
59
|
quantityNormalized = this.quantity - quantityNormalized >= 0 ? quantityNormalized : this.quantity;
|
|
76
60
|
this.quantity = Math.max(this.quantity - quantityNormalized, 0);
|
|
77
|
-
const itemQuantityPrice =
|
|
61
|
+
const itemQuantityPrice = this.#itemPrice * quantityNormalized;
|
|
78
62
|
return {
|
|
79
|
-
itemPrice:
|
|
80
|
-
currency:
|
|
63
|
+
itemPrice: this.#itemPrice,
|
|
64
|
+
currency: this.#currency,
|
|
81
65
|
quantity: quantityNormalized,
|
|
82
|
-
subtotal: misc.amount(
|
|
83
|
-
discountAmount: misc.amount(
|
|
84
|
-
taxableAmount: misc.amount(
|
|
85
|
-
tax: misc.amount(
|
|
86
|
-
total: misc.amount(
|
|
66
|
+
subtotal: misc.amount(this.#subtotal.allocate(itemQuantityPrice, this.#currency)),
|
|
67
|
+
discountAmount: misc.amount(this.#discountAmount.allocate(itemQuantityPrice, this.#currency)),
|
|
68
|
+
taxableAmount: misc.amount(this.#taxableAmount.allocate(itemQuantityPrice, this.#currency)),
|
|
69
|
+
tax: misc.amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),
|
|
70
|
+
total: misc.amount(this.#total.allocate(itemQuantityPrice, this.#currency))
|
|
87
71
|
};
|
|
88
72
|
}
|
|
89
73
|
}
|
|
90
|
-
_itemPrice = new WeakMap();
|
|
91
|
-
_currency = new WeakMap();
|
|
92
|
-
_subtotal = new WeakMap();
|
|
93
|
-
_discountAmount = new WeakMap();
|
|
94
|
-
_taxableAmount = new WeakMap();
|
|
95
|
-
_tax = new WeakMap();
|
|
96
|
-
_total = new WeakMap();
|
|
97
74
|
exports.ProductAmountAllocator = ProductAmountAllocator;
|
|
98
75
|
//# sourceMappingURL=productAmount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productAmount.js","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["
|
|
1
|
+
{"version":3,"file":"productAmount.js","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["ProductAmountAllocator","itemPrice","currency","quantity","subtotal","discountAmount","taxableAmount","tax","total","constructor","productSummary","priceForAllocation","FixedAmountAllocator","initialAllocateAmount","initialTotalAmount","allocateQty","quantityNormalized","Math","max","itemQuantityPrice","amount","allocate"],"mappings":";;;;;AAQO,MAAMA,sBAAuB,CAAA;EAAA;EAAA;EAAA;EAIzB,CAAAC,SAAA;EACA,CAAAC,QAAA;EAAA;EAAA;AAAA;AAAA;EAKTC,QAAA;EAAA;EAAA;EAAA;EAIA,CAAAC,QAAA;EACA,CAAAC,cAAA;EACA,CAAAC,aAAA;EACA,CAAAC,GAAA;EACA,CAAAC,KAAA;EAEAC,YAAYC,cAAqC,EAAA;IAC/C,MAAMR,WAAWQ,cAAe,CAAAR,QAAA;IAK1B,MAAAS,kBAAA,GACJD,cAAe,CAAAT,SAAA,GAAYS,cAAe,CAAAP,QAAA;IAE5C,IAAA,CAAK,CAAAF,YAAaS,cAAe,CAAAT,SAAA;IACjC,IAAA,CAAK,CAAYC,QAAA,GAAAA,QAAA;IACjB,IAAA,CAAKC,WAAWO,cAAe,CAAAP,QAAA;IAC1B,IAAA,CAAA,CAAAC,QAAA,GAAY,IAAIQ,gCAAqB,CAAA;MACxCC,uBAAuBH,cAAe,CAAAN,QAAA;MACtCU,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAG,cAAA,GAAkB,IAAIO,gCAAqB,CAAA;MAC9CC,uBAAuBH,cAAe,CAAAL,cAAA;MACtCS,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAI,aAAA,GAAiB,IAAIM,gCAAqB,CAAA;MAC7CC,uBAAuBH,cAAe,CAAAJ,aAAA;MACtCQ,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAK,GAAA,GAAO,IAAIK,gCAAqB,CAAA;MACnCC,uBAAuBH,cAAe,CAAAH,GAAA;MACtCO,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAM,KAAA,GAAS,IAAII,gCAAqB,CAAA;MACrCC,uBAAuBH,cAAe,CAAAF,KAAA;MACtCM,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;EAAA;EAGHa,YAAYZ,QAAuC,EAAA;IAEjD,IAAIa,kBAAqB,GAAAC,IAAA,CAAKC,GAAI,CAAAf,QAAA,EAAU,CAAC,CAAA;IAC7Ca,kBAAA,GACE,IAAK,CAAAb,QAAA,GAAWa,kBAAsB,IAAA,CAAA,GAClCA,qBACA,IAAK,CAAAb,QAAA;IAGX,IAAA,CAAKA,WAAWc,IAAK,CAAAC,GAAA,CAAI,IAAK,CAAAf,QAAA,GAAWa,oBAAoB,CAAC,CAAA;IAGxD,MAAAG,iBAAA,GAAoB,KAAK,CAAAlB,SAAa,GAAAe,kBAAA;IAErC,OAAA;MACLf,WAAW,IAAK,CAAA,CAAAA,SAAA;MAChBC,UAAU,IAAK,CAAA,CAAAA,QAAA;MACfC,QAAU,EAAAa,kBAAA;MACVZ,QAAU,EAAAgB,IAAA,CAAAA,MAAA,CACR,IAAK,CAAA,CAAAhB,QAAA,CAAUiB,QAAS,CAAAF,iBAAA,EAAmB,KAAK,CAASjB,QAAA,CAC3D,CAAA;MACAG,cAAgB,EAAAe,IAAA,CAAAA,MAAA,CACd,IAAK,CAAA,CAAAf,cAAA,CAAgBgB,QAAS,CAAAF,iBAAA,EAAmB,KAAK,CAASjB,QAAA,CACjE,CAAA;MACAI,aAAe,EAAAc,IAAA,CAAAA,MAAA,CACb,IAAK,CAAA,CAAAd,aAAA,CAAee,QAAS,CAAAF,iBAAA,EAAmB,KAAK,CAASjB,QAAA,CAChE,CAAA;MACAK,GAAA,EAAKa,IAAAA,CAAAA,OAAO,IAAK,CAAA,CAAAb,GAAA,CAAKc,SAASF,iBAAmB,EAAA,IAAA,CAAK,CAAAjB,QAAS,CAAC,CAAA;MACjEM,KAAA,EAAOY,YAAO,IAAK,CAAA,CAAAZ,KAAA,CAAOa,SAASF,iBAAmB,EAAA,IAAA,CAAK,SAAS,CAAC;IACvE,CAAA;EAAA;AAEJ;"}
|
|
@@ -1,96 +1,73 @@
|
|
|
1
1
|
import { amount } from '../misc.mjs';
|
|
2
2
|
import { FixedAmountAllocator } from './fixedAmount.mjs';
|
|
3
3
|
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __typeError = msg => {
|
|
6
|
-
throw TypeError(msg);
|
|
7
|
-
};
|
|
8
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
configurable: true,
|
|
11
|
-
writable: true,
|
|
12
|
-
value
|
|
13
|
-
}) : obj[key] = value;
|
|
14
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
15
|
-
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
16
|
-
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
17
|
-
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
18
|
-
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
19
|
-
var _itemPrice, _currency, _subtotal, _discountAmount, _taxableAmount, _tax, _total;
|
|
20
4
|
class ProductAmountAllocator {
|
|
5
|
+
// #############################################################################
|
|
6
|
+
// Fixed values
|
|
7
|
+
// #############################################################################
|
|
8
|
+
#itemPrice;
|
|
9
|
+
#currency;
|
|
10
|
+
// #############################################################################
|
|
11
|
+
/**
|
|
12
|
+
* Remaining quantity to allocate
|
|
13
|
+
*/
|
|
14
|
+
quantity;
|
|
15
|
+
// #############################################################################
|
|
16
|
+
// Specific amount allocators
|
|
17
|
+
// #############################################################################
|
|
18
|
+
#subtotal;
|
|
19
|
+
#discountAmount;
|
|
20
|
+
#taxableAmount;
|
|
21
|
+
#tax;
|
|
22
|
+
#total;
|
|
21
23
|
constructor(productSummary) {
|
|
22
|
-
// #############################################################################
|
|
23
|
-
// Fixed values
|
|
24
|
-
// #############################################################################
|
|
25
|
-
__privateAdd(this, _itemPrice);
|
|
26
|
-
__privateAdd(this, _currency);
|
|
27
|
-
// #############################################################################
|
|
28
|
-
/**
|
|
29
|
-
* Remaining quantity to allocate
|
|
30
|
-
*/
|
|
31
|
-
__publicField(this, "quantity");
|
|
32
|
-
// #############################################################################
|
|
33
|
-
// Specific amount allocators
|
|
34
|
-
// #############################################################################
|
|
35
|
-
__privateAdd(this, _subtotal);
|
|
36
|
-
__privateAdd(this, _discountAmount);
|
|
37
|
-
__privateAdd(this, _taxableAmount);
|
|
38
|
-
__privateAdd(this, _tax);
|
|
39
|
-
__privateAdd(this, _total);
|
|
40
24
|
const currency = productSummary.currency;
|
|
41
25
|
const priceForAllocation = productSummary.itemPrice * productSummary.quantity;
|
|
42
|
-
|
|
43
|
-
|
|
26
|
+
this.#itemPrice = productSummary.itemPrice;
|
|
27
|
+
this.#currency = currency;
|
|
44
28
|
this.quantity = productSummary.quantity;
|
|
45
|
-
|
|
29
|
+
this.#subtotal = new FixedAmountAllocator({
|
|
46
30
|
initialAllocateAmount: productSummary.subtotal,
|
|
47
31
|
initialTotalAmount: priceForAllocation,
|
|
48
32
|
currency
|
|
49
|
-
})
|
|
50
|
-
|
|
33
|
+
});
|
|
34
|
+
this.#discountAmount = new FixedAmountAllocator({
|
|
51
35
|
initialAllocateAmount: productSummary.discountAmount,
|
|
52
36
|
initialTotalAmount: priceForAllocation,
|
|
53
37
|
currency
|
|
54
|
-
})
|
|
55
|
-
|
|
38
|
+
});
|
|
39
|
+
this.#taxableAmount = new FixedAmountAllocator({
|
|
56
40
|
initialAllocateAmount: productSummary.taxableAmount,
|
|
57
41
|
initialTotalAmount: priceForAllocation,
|
|
58
42
|
currency
|
|
59
|
-
})
|
|
60
|
-
|
|
43
|
+
});
|
|
44
|
+
this.#tax = new FixedAmountAllocator({
|
|
61
45
|
initialAllocateAmount: productSummary.tax,
|
|
62
46
|
initialTotalAmount: priceForAllocation,
|
|
63
47
|
currency
|
|
64
|
-
})
|
|
65
|
-
|
|
48
|
+
});
|
|
49
|
+
this.#total = new FixedAmountAllocator({
|
|
66
50
|
initialAllocateAmount: productSummary.total,
|
|
67
51
|
initialTotalAmount: priceForAllocation,
|
|
68
52
|
currency
|
|
69
|
-
})
|
|
53
|
+
});
|
|
70
54
|
}
|
|
71
55
|
allocateQty(quantity) {
|
|
72
56
|
let quantityNormalized = Math.max(quantity, 0);
|
|
73
57
|
quantityNormalized = this.quantity - quantityNormalized >= 0 ? quantityNormalized : this.quantity;
|
|
74
58
|
this.quantity = Math.max(this.quantity - quantityNormalized, 0);
|
|
75
|
-
const itemQuantityPrice =
|
|
59
|
+
const itemQuantityPrice = this.#itemPrice * quantityNormalized;
|
|
76
60
|
return {
|
|
77
|
-
itemPrice:
|
|
78
|
-
currency:
|
|
61
|
+
itemPrice: this.#itemPrice,
|
|
62
|
+
currency: this.#currency,
|
|
79
63
|
quantity: quantityNormalized,
|
|
80
|
-
subtotal: amount(
|
|
81
|
-
discountAmount: amount(
|
|
82
|
-
taxableAmount: amount(
|
|
83
|
-
tax: amount(
|
|
84
|
-
total: amount(
|
|
64
|
+
subtotal: amount(this.#subtotal.allocate(itemQuantityPrice, this.#currency)),
|
|
65
|
+
discountAmount: amount(this.#discountAmount.allocate(itemQuantityPrice, this.#currency)),
|
|
66
|
+
taxableAmount: amount(this.#taxableAmount.allocate(itemQuantityPrice, this.#currency)),
|
|
67
|
+
tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),
|
|
68
|
+
total: amount(this.#total.allocate(itemQuantityPrice, this.#currency))
|
|
85
69
|
};
|
|
86
70
|
}
|
|
87
71
|
}
|
|
88
|
-
_itemPrice = new WeakMap();
|
|
89
|
-
_currency = new WeakMap();
|
|
90
|
-
_subtotal = new WeakMap();
|
|
91
|
-
_discountAmount = new WeakMap();
|
|
92
|
-
_taxableAmount = new WeakMap();
|
|
93
|
-
_tax = new WeakMap();
|
|
94
|
-
_total = new WeakMap();
|
|
95
72
|
export { ProductAmountAllocator };
|
|
96
73
|
//# sourceMappingURL=productAmount.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productAmount.mjs","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["
|
|
1
|
+
{"version":3,"file":"productAmount.mjs","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["ProductAmountAllocator","itemPrice","currency","quantity","subtotal","discountAmount","taxableAmount","tax","total","constructor","productSummary","priceForAllocation","FixedAmountAllocator","initialAllocateAmount","initialTotalAmount","allocateQty","quantityNormalized","Math","max","itemQuantityPrice","amount","allocate"],"mappings":";;;AAQO,MAAMA,sBAAuB,CAAA;EAAA;EAAA;EAAA;EAIzB,CAAAC,SAAA;EACA,CAAAC,QAAA;EAAA;EAAA;AAAA;AAAA;EAKTC,QAAA;EAAA;EAAA;EAAA;EAIA,CAAAC,QAAA;EACA,CAAAC,cAAA;EACA,CAAAC,aAAA;EACA,CAAAC,GAAA;EACA,CAAAC,KAAA;EAEAC,YAAYC,cAAqC,EAAA;IAC/C,MAAMR,WAAWQ,cAAe,CAAAR,QAAA;IAK1B,MAAAS,kBAAA,GACJD,cAAe,CAAAT,SAAA,GAAYS,cAAe,CAAAP,QAAA;IAE5C,IAAA,CAAK,CAAAF,YAAaS,cAAe,CAAAT,SAAA;IACjC,IAAA,CAAK,CAAYC,QAAA,GAAAA,QAAA;IACjB,IAAA,CAAKC,WAAWO,cAAe,CAAAP,QAAA;IAC1B,IAAA,CAAA,CAAAC,QAAA,GAAY,IAAIQ,oBAAqB,CAAA;MACxCC,uBAAuBH,cAAe,CAAAN,QAAA;MACtCU,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAG,cAAA,GAAkB,IAAIO,oBAAqB,CAAA;MAC9CC,uBAAuBH,cAAe,CAAAL,cAAA;MACtCS,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAI,aAAA,GAAiB,IAAIM,oBAAqB,CAAA;MAC7CC,uBAAuBH,cAAe,CAAAJ,aAAA;MACtCQ,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAK,GAAA,GAAO,IAAIK,oBAAqB,CAAA;MACnCC,uBAAuBH,cAAe,CAAAH,GAAA;MACtCO,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;IACI,IAAA,CAAA,CAAAM,KAAA,GAAS,IAAII,oBAAqB,CAAA;MACrCC,uBAAuBH,cAAe,CAAAF,KAAA;MACtCM,kBAAoB,EAAAH,kBAAA;MACpBT;IAAA,CACD,CAAA;EAAA;EAGHa,YAAYZ,QAAuC,EAAA;IAEjD,IAAIa,kBAAqB,GAAAC,IAAA,CAAKC,GAAI,CAAAf,QAAA,EAAU,CAAC,CAAA;IAC7Ca,kBAAA,GACE,IAAK,CAAAb,QAAA,GAAWa,kBAAsB,IAAA,CAAA,GAClCA,qBACA,IAAK,CAAAb,QAAA;IAGX,IAAA,CAAKA,WAAWc,IAAK,CAAAC,GAAA,CAAI,IAAK,CAAAf,QAAA,GAAWa,oBAAoB,CAAC,CAAA;IAGxD,MAAAG,iBAAA,GAAoB,KAAK,CAAAlB,SAAa,GAAAe,kBAAA;IAErC,OAAA;MACLf,WAAW,IAAK,CAAA,CAAAA,SAAA;MAChBC,UAAU,IAAK,CAAA,CAAAA,QAAA;MACfC,QAAU,EAAAa,kBAAA;MACVZ,QAAU,EAAAgB,MAAA,CACR,IAAK,CAAA,CAAAhB,QAAA,CAAUiB,QAAS,CAAAF,iBAAA,EAAmB,KAAK,CAASjB,QAAA,CAC3D,CAAA;MACAG,cAAgB,EAAAe,MAAA,CACd,IAAK,CAAA,CAAAf,cAAA,CAAgBgB,QAAS,CAAAF,iBAAA,EAAmB,KAAK,CAASjB,QAAA,CACjE,CAAA;MACAI,aAAe,EAAAc,MAAA,CACb,IAAK,CAAA,CAAAd,aAAA,CAAee,QAAS,CAAAF,iBAAA,EAAmB,KAAK,CAASjB,QAAA,CAChE,CAAA;MACAK,GAAA,EAAKa,OAAO,IAAK,CAAA,CAAAb,GAAA,CAAKc,SAASF,iBAAmB,EAAA,IAAA,CAAK,CAAAjB,QAAS,CAAC,CAAA;MACjEM,KAAA,EAAOY,OAAO,IAAK,CAAA,CAAAZ,KAAA,CAAOa,SAASF,iBAAmB,EAAA,IAAA,CAAK,SAAS,CAAC;IACvE,CAAA;EAAA;AAEJ;"}
|
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
configurable: true,
|
|
8
|
-
writable: true,
|
|
9
|
-
value
|
|
10
|
-
}) : obj[key] = value;
|
|
11
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
12
4
|
class CustomImageLoader {
|
|
13
|
-
|
|
14
|
-
__publicField(this, "_loader");
|
|
15
|
-
}
|
|
5
|
+
_loader;
|
|
16
6
|
set loader(loader) {
|
|
17
7
|
if (globalThis) globalThis.__customImageLoader = loader;
|
|
18
8
|
this._loader = loader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-loader.js","sources":["../../../../src/utils/nextjs/legacy-image-loader/image-loader.ts"],"sourcesContent":["import type { ImageLoader } from \"next/dist/client/image-component\";\n\nclass CustomImageLoader {\n _loader: undefined | ImageLoader;\n\n set loader(loader: ImageLoader | undefined) {\n // @ts-expect-error We didn't extend the globalThis type for this as internal lib\n if (globalThis) globalThis.__customImageLoader = loader;\n this._loader = loader;\n }\n\n get loader() {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return globalThis?.__customImageLoader ?? this._loader;\n }\n}\n\nexport const imageLoader = new CustomImageLoader();\n"],"names":["CustomImageLoader","
|
|
1
|
+
{"version":3,"file":"image-loader.js","sources":["../../../../src/utils/nextjs/legacy-image-loader/image-loader.ts"],"sourcesContent":["import type { ImageLoader } from \"next/dist/client/image-component\";\n\nclass CustomImageLoader {\n _loader: undefined | ImageLoader;\n\n set loader(loader: ImageLoader | undefined) {\n // @ts-expect-error We didn't extend the globalThis type for this as internal lib\n if (globalThis) globalThis.__customImageLoader = loader;\n this._loader = loader;\n }\n\n get loader() {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return globalThis?.__customImageLoader ?? this._loader;\n }\n}\n\nexport const imageLoader = new CustomImageLoader();\n"],"names":["CustomImageLoader","_loader","loader","globalThis","__customImageLoader","imageLoader"],"mappings":";;;AAEA,MAAMA,iBAAkB,CAAA;EACtBC,OAAA;EAEA,IAAIC,OAAOA,MAAiC,EAAA;IAEtC,IAAAC,UAAA,aAAuBC,mBAAsB,GAAAF,MAAA;IACjD,IAAA,CAAKD,OAAU,GAAAC,MAAA;EAAA;EAGjB,IAAIA,MAASA,CAAA,EAAA;IAGJ,OAAAC,UAAA,EAAYC,uBAAuB,IAAK,CAAAH,OAAA;EAAA;AAEnD;AAEa,MAAAI,WAAA,GAAc,IAAIL,iBAAkB,CAAA,CAAA;"}
|