@ubnt/store.core 9.71.0-beta.5 → 10.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +103 -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/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/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.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/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/payment-card.svg +4 -11
- package/lib/assets/plus.svg +1 -22
- package/lib/assets/plus2.svg +22 -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/ucgFiber.jpg +0 -0
- package/lib/assets/ucgFiber2.jpg +0 -0
- package/lib/assets/ucgMax.jpg +0 -0
- package/lib/assets/ucgMax2.jpg +0 -0
- package/lib/assets/ucgUltra.jpg +0 -0
- package/lib/assets/ucgUltra2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.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 +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.js +4 -0
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +4 -0
- 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/ucgFiber.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgFiber.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.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/ucgFiber.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgFiber.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.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/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 +15 -15
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
- package/lib/components/ModelCompareV3/data/products/ucgFiber.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.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/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 +2 -2
- package/lib/components/QuantityInput/QuantityInput.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- 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 +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- 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/apis/smartcat.mjs
CHANGED
|
@@ -8,14 +8,6 @@ import '../types/index.mjs';
|
|
|
8
8
|
import { assert, assertUnreachable } from '../utils/errors.mjs';
|
|
9
9
|
import { Language } from '../types/constants.mjs';
|
|
10
10
|
"use strict";
|
|
11
|
-
var __defProp = Object.defineProperty;
|
|
12
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
configurable: true,
|
|
15
|
-
writable: true,
|
|
16
|
-
value
|
|
17
|
-
}) : obj[key] = value;
|
|
18
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
19
11
|
var SmartcatEnvironment = /* @__PURE__ */(SmartcatEnvironment2 => {
|
|
20
12
|
SmartcatEnvironment2["Dev"] = "proto";
|
|
21
13
|
SmartcatEnvironment2["Stg"] = "qa";
|
|
@@ -37,44 +29,24 @@ const languageToSmartcatLocaleMapping = {
|
|
|
37
29
|
[Language.Zh]: "zh-Hans",
|
|
38
30
|
[Language.Tw]: "zh-Hant-TW"
|
|
39
31
|
};
|
|
40
|
-
|
|
32
|
+
class SmartcatApi {
|
|
33
|
+
projectId;
|
|
34
|
+
collectionName;
|
|
35
|
+
axios;
|
|
36
|
+
logger;
|
|
37
|
+
escapeBracketDelimiters = false;
|
|
38
|
+
suffix;
|
|
39
|
+
targetLanguages;
|
|
40
|
+
languageToSmartcatLocaleMapping = languageToSmartcatLocaleMapping;
|
|
41
|
+
/**
|
|
42
|
+
* Depending on input we might need or not need suffixes.
|
|
43
|
+
*/
|
|
44
|
+
hasSuffix;
|
|
45
|
+
/**
|
|
46
|
+
* Delimiter used to separate translation key "parts"
|
|
47
|
+
*/
|
|
48
|
+
keyDelimiter = ".";
|
|
41
49
|
constructor(config) {
|
|
42
|
-
__publicField(this, "projectId");
|
|
43
|
-
__publicField(this, "collectionName");
|
|
44
|
-
__publicField(this, "axios");
|
|
45
|
-
__publicField(this, "logger");
|
|
46
|
-
__publicField(this, "escapeBracketDelimiters", false);
|
|
47
|
-
__publicField(this, "suffix");
|
|
48
|
-
__publicField(this, "targetLanguages");
|
|
49
|
-
__publicField(this, "languageToSmartcatLocaleMapping", languageToSmartcatLocaleMapping);
|
|
50
|
-
/**
|
|
51
|
-
* Depending on input we might need or not need suffixes.
|
|
52
|
-
*/
|
|
53
|
-
__publicField(this, "hasSuffix");
|
|
54
|
-
/**
|
|
55
|
-
* Delimiter used to separate translation key "parts"
|
|
56
|
-
*/
|
|
57
|
-
__publicField(this, "keyDelimiter", ".");
|
|
58
|
-
/**
|
|
59
|
-
* Wait for SmartCat to fully translate all target languages.
|
|
60
|
-
*/
|
|
61
|
-
__publicField(this, "pollAndWaitForCompletedTranslations", async (pollRunLimit = 20, pollIntervalMs = 1e4) => {
|
|
62
|
-
let pollRunCount = 0;
|
|
63
|
-
let translationCompleted = false;
|
|
64
|
-
while (!translationCompleted && pollRunCount < pollRunLimit) {
|
|
65
|
-
this.logger?.info(`\u231B SmartCat translations in progress.`);
|
|
66
|
-
translationCompleted = await this.checkProjectTranslationStatus();
|
|
67
|
-
pollRunCount += 1;
|
|
68
|
-
if (!translationCompleted) {
|
|
69
|
-
await setTimeout(pollIntervalMs);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
if (translationCompleted) {
|
|
73
|
-
await setTimeout(6e4);
|
|
74
|
-
}
|
|
75
|
-
this.logger?.info(translationCompleted ? "\u2705 SmartCat translations completed." : "\u274C Max retries reached when waiting for SmartCat translations to complete.");
|
|
76
|
-
return translationCompleted;
|
|
77
|
-
});
|
|
78
50
|
if ("enableLogs" in config) {
|
|
79
51
|
this.logger = config.enableLogs ? console : void 0;
|
|
80
52
|
} else if ("logger" in config) {
|
|
@@ -326,7 +298,7 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
326
298
|
collections: this.collectionName,
|
|
327
299
|
zip: "true",
|
|
328
300
|
languages: this.targetLanguages?.map(lang => this.languageToSmartcatLocaleMapping[lang]).join(","),
|
|
329
|
-
labels:
|
|
301
|
+
labels: SmartcatApi.prepareLabels(options?.labels)
|
|
330
302
|
// FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`
|
|
331
303
|
};
|
|
332
304
|
const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();
|
|
@@ -414,7 +386,7 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
414
386
|
const preparedTranslationUploads = rawTranslationUploads.map(translationUpload => {
|
|
415
387
|
let translations = {};
|
|
416
388
|
for (const [key, value] of Object.entries(translationUpload.translations)) {
|
|
417
|
-
if (!
|
|
389
|
+
if (!SmartcatApi.isTranslatableValue(value)) {
|
|
418
390
|
continue;
|
|
419
391
|
}
|
|
420
392
|
const suffixedKey = this.addSuffixToKey(key, value);
|
|
@@ -462,7 +434,7 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
462
434
|
collection: this.collectionName,
|
|
463
435
|
"delete-missing-keys": !!options?.deleteMissingKeys,
|
|
464
436
|
// TODO: was fallback empty string really needed?
|
|
465
|
-
labels:
|
|
437
|
+
labels: SmartcatApi.prepareLabels(options?.labels) || ""
|
|
466
438
|
};
|
|
467
439
|
const url = `integration/v2/project/${this.projectId}/import`;
|
|
468
440
|
const smartCatSourceLanguageBuffer = Buffer.from(JSON.stringify(sourceTranslations));
|
|
@@ -478,91 +450,110 @@ const _SmartcatApi = class _SmartcatApi {
|
|
|
478
450
|
}
|
|
479
451
|
});
|
|
480
452
|
}
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate
|
|
495
|
-
*/
|
|
496
|
-
__publicField(_SmartcatApi, "isTranslatableValue", value => {
|
|
497
|
-
const parsedValue = value?.trim();
|
|
498
|
-
if (!parsedValue) {
|
|
499
|
-
return false;
|
|
500
|
-
}
|
|
501
|
-
return !isDigitsOnlyRegex.test(parsedValue);
|
|
502
|
-
});
|
|
503
|
-
/**
|
|
504
|
-
* Centralized method to get Smartcat label based on environment.
|
|
505
|
-
* ! Change with caution as it impacts how translaitons will be read from Smartcat.
|
|
506
|
-
*/
|
|
507
|
-
__publicField(_SmartcatApi, "getSmartcatLabel", env => {
|
|
508
|
-
switch (env) {
|
|
509
|
-
case "proto" /* Dev */:
|
|
510
|
-
return "DEV";
|
|
511
|
-
case "qa" /* Stg */:
|
|
512
|
-
return "STG";
|
|
513
|
-
// ! Not really reusable for other projects, didn't make sense right now to create generic label for it
|
|
514
|
-
case "new-design" /* NewDesign */:
|
|
515
|
-
return "NEW-DESIGN";
|
|
516
|
-
case "prod" /* Prod */:
|
|
517
|
-
return "MAIN";
|
|
518
|
-
default:
|
|
519
|
-
{
|
|
520
|
-
assertUnreachable(env);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
});
|
|
524
|
-
/**
|
|
525
|
-
* Get smartcat environment based on branch name
|
|
526
|
-
*/
|
|
527
|
-
__publicField(_SmartcatApi, "getSmartcatEnvironmentFromGhBranchName", ghRepositoryBranchName => {
|
|
528
|
-
switch (ghRepositoryBranchName) {
|
|
529
|
-
case "master":
|
|
530
|
-
case "main":
|
|
531
|
-
{
|
|
532
|
-
return "prod" /* Prod */;
|
|
533
|
-
}
|
|
534
|
-
case "new-design":
|
|
535
|
-
{
|
|
536
|
-
return "new-design" /* NewDesign */;
|
|
537
|
-
}
|
|
538
|
-
case "beta":
|
|
539
|
-
// For store.core beta releases
|
|
540
|
-
case "stg":
|
|
541
|
-
// Historical GH repos
|
|
542
|
-
case "qa":
|
|
543
|
-
{
|
|
544
|
-
return "qa" /* Stg */;
|
|
545
|
-
}
|
|
546
|
-
case "alpha":
|
|
547
|
-
// For store.core alpha releases
|
|
548
|
-
case "dev":
|
|
549
|
-
// Historical GH repos
|
|
550
|
-
case "proto":
|
|
551
|
-
{
|
|
552
|
-
return "proto" /* Dev */;
|
|
553
|
-
}
|
|
554
|
-
default:
|
|
555
|
-
{
|
|
556
|
-
throw new Error(`Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`);
|
|
453
|
+
/**
|
|
454
|
+
* Wait for SmartCat to fully translate all target languages.
|
|
455
|
+
*/
|
|
456
|
+
pollAndWaitForCompletedTranslations = async (pollRunLimit = 20, pollIntervalMs = 1e4) => {
|
|
457
|
+
let pollRunCount = 0;
|
|
458
|
+
let translationCompleted = false;
|
|
459
|
+
while (!translationCompleted && pollRunCount < pollRunLimit) {
|
|
460
|
+
this.logger?.info(`\u231B SmartCat translations in progress.`);
|
|
461
|
+
translationCompleted = await this.checkProjectTranslationStatus();
|
|
462
|
+
pollRunCount += 1;
|
|
463
|
+
if (!translationCompleted) {
|
|
464
|
+
await setTimeout(pollIntervalMs);
|
|
557
465
|
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
466
|
+
}
|
|
467
|
+
if (translationCompleted) {
|
|
468
|
+
await setTimeout(6e4);
|
|
469
|
+
}
|
|
470
|
+
this.logger?.info(translationCompleted ? "\u2705 SmartCat translations completed." : "\u274C Max retries reached when waiting for SmartCat translations to complete.");
|
|
471
|
+
return translationCompleted;
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* Static util to prettify translation for writing to file-system
|
|
475
|
+
*/
|
|
476
|
+
static prettifyTranslation = translation => {
|
|
477
|
+
return stableStringify(translation, {
|
|
478
|
+
space: 2
|
|
479
|
+
}) +
|
|
480
|
+
// Add EOF newline
|
|
481
|
+
`
|
|
482
|
+
`;
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate
|
|
486
|
+
*/
|
|
487
|
+
static isTranslatableValue = value => {
|
|
488
|
+
const parsedValue = value?.trim();
|
|
489
|
+
if (!parsedValue) {
|
|
490
|
+
return false;
|
|
491
|
+
}
|
|
492
|
+
return !isDigitsOnlyRegex.test(parsedValue);
|
|
493
|
+
};
|
|
494
|
+
/**
|
|
495
|
+
* Centralized method to get Smartcat label based on environment.
|
|
496
|
+
* ! Change with caution as it impacts how translaitons will be read from Smartcat.
|
|
497
|
+
*/
|
|
498
|
+
static getSmartcatLabel = env => {
|
|
499
|
+
switch (env) {
|
|
500
|
+
case "proto" /* Dev */:
|
|
501
|
+
return "DEV";
|
|
502
|
+
case "qa" /* Stg */:
|
|
503
|
+
return "STG";
|
|
504
|
+
// ! Not really reusable for other projects, didn't make sense right now to create generic label for it
|
|
505
|
+
case "new-design" /* NewDesign */:
|
|
506
|
+
return "NEW-DESIGN";
|
|
507
|
+
case "prod" /* Prod */:
|
|
508
|
+
return "MAIN";
|
|
509
|
+
default:
|
|
510
|
+
{
|
|
511
|
+
assertUnreachable(env);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* Get smartcat environment based on branch name
|
|
517
|
+
*/
|
|
518
|
+
static getSmartcatEnvironmentFromGhBranchName = ghRepositoryBranchName => {
|
|
519
|
+
switch (ghRepositoryBranchName) {
|
|
520
|
+
case "master":
|
|
521
|
+
case "main":
|
|
522
|
+
{
|
|
523
|
+
return "prod" /* Prod */;
|
|
524
|
+
}
|
|
525
|
+
case "new-design":
|
|
526
|
+
{
|
|
527
|
+
return "new-design" /* NewDesign */;
|
|
528
|
+
}
|
|
529
|
+
case "beta":
|
|
530
|
+
// For store.core beta releases
|
|
531
|
+
case "stg":
|
|
532
|
+
// Historical GH repos
|
|
533
|
+
case "qa":
|
|
534
|
+
{
|
|
535
|
+
return "qa" /* Stg */;
|
|
536
|
+
}
|
|
537
|
+
case "alpha":
|
|
538
|
+
// For store.core alpha releases
|
|
539
|
+
case "dev":
|
|
540
|
+
// Historical GH repos
|
|
541
|
+
case "proto":
|
|
542
|
+
{
|
|
543
|
+
return "proto" /* Dev */;
|
|
544
|
+
}
|
|
545
|
+
default:
|
|
546
|
+
{
|
|
547
|
+
throw new Error(`Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* Util to prepare labels for passing into request parameters
|
|
553
|
+
*/
|
|
554
|
+
static prepareLabels = labels => {
|
|
555
|
+
return labels?.map(label => label.trim()).filter(Boolean).join(",");
|
|
556
|
+
};
|
|
557
|
+
}
|
|
567
558
|
export { SmartcatApi, SmartcatEnvironment };
|
|
568
559
|
//# sourceMappingURL=smartcat.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartcat.mjs","sources":["../../src/apis/smartcat.ts"],"sourcesContent":["/* eslint-disable no-await-in-loop */\nimport AdmZip from \"adm-zip\";\nimport type { AxiosInstance } from \"axios\";\nimport axios from \"axios\";\nimport { createHash } from \"crypto\";\nimport stableStringify from \"json-stable-stringify\";\nimport invert from \"lodash/invert\";\nimport type { Agent as HttpsAgent } from \"node:https\";\nimport { setTimeout as setTimeoutAsync } from \"node:timers/promises\";\nimport type { Logger as PinoLogger } from \"pino\";\n\nimport type { Nullish } from \"../types\";\nimport { Language } from \"../types\";\nimport { assert, assertUnreachable } from \"../utils/errors\";\n\ntype SmartcatCredentials = {\n apiSecret: string;\n accountId: string;\n projectId: string;\n collectionName: string;\n};\n\ntype SmartcatProject = {\n // Workflow type and id mapping for project\n workflowStages: Array<{\n id: string;\n stageType: \"translation\" | \"postediting\";\n }>;\n documents: Array<{\n // Collection name the document belongs to\n name: string;\n // Flag for if auto translations are complete on smartcat side\n pretranslateCompleted: boolean;\n // Workflow progress of a document\n workflowStages: Array<{\n id: string;\n progress: number;\n }>;\n // Target language of the document\n targetLanguage: string;\n }>;\n};\n\nexport enum SmartcatEnvironment {\n Dev = \"proto\",\n Stg = \"qa\",\n NewDesign = \"new-design\",\n Prod = \"prod\",\n}\n\ntype TranslationObject = Record<string, string>;\n\ntype TranslationUploadObject = {\n translations: TranslationObject;\n /**\n * (Optional) Labels that will be appended to all segments in the upload. Existing labels in SC remains untouched.\n */\n appendLabels?: string[];\n};\n\n/**\n * Basic check if given string only consists of digits\n * ! Doesn't support decimal and thousand separated numbers as it's not a relevant practical use case right now\n */\nconst isDigitsOnlyRegex = /^\\d+$/;\n\nexport type SmartcatApiConfig = {\n auth: SmartcatCredentials;\n /**\n * (optional) Parse single brackets variable delimiters before upstream to Smartcat, from \"{x}\" to \"{{x}}\".\n * @default false\n */\n escapeBracketDelimiters?: boolean;\n /**\n * (optional) Pass https agent to try to keep connections open.\n */\n httpsAgent?: HttpsAgent;\n /**\n * (optional) Languages that will be downloaded from Smartcat.\n * When omitted, all languages will be downloaded.\n */\n targetLanguages?: Language[];\n /**\n * (optional) Custom language to Smartcat locale mapping (e.g. microsite pt differs)\n * When omitted, default mapping will be used.\n */\n languageToSmartcatLocaleMapping?: Record<Language, string>;\n // #############################################################################\n // Logging options\n // #############################################################################\n} & (\n | {\n /**\n * (optional) To enable logging via console.log\n * @default false\n * @deprecated Use newer `logger` option instead, while transitioning for backwards compatibility `enableLogs:\n * true` will utilize console for logging.\n */\n enableLogs?: boolean;\n }\n | {\n /**\n * (optional) Pass Pino or Console (as console.log) instance to enable logging.\n * @default Console\n */\n logger?: PinoLogger | Console;\n }\n) &\n // #############################################################################\n // Suffix options\n // #############################################################################\n (| {\n /**\n * No suffix to be used in translation keys\n * @example 'commons.button.buyNow'\n */\n suffixMode: \"none\";\n }\n | {\n /**\n * Custom suffix to use in translation keys\n * @example `commons.button.buyNow.${suffix}`\n */\n suffixMode: \"custom\";\n /**\n * * ! Must be a non-empty string which doesn't contain the key delimiter \".\" character otherwise will fail\n */\n suffix: string;\n }\n | {\n /**\n * Auto generate (7-character) hash-suffix from the default (english) value\n * @example 'commons.button.buyNow.nk31jnb'\n */\n suffixMode: \"auto\";\n }\n );\n\nconst languageToSmartcatLocaleMapping: Record<Language, string> = {\n [Language.Ar]: \"ar\",\n [Language.De]: \"de\",\n [Language.En]: \"en\",\n [Language.Es]: \"es\",\n [Language.Fr]: \"fr\",\n [Language.El]: \"el\",\n [Language.It]: \"it\",\n [Language.Ja]: \"ja\",\n [Language.Pt]: \"pt-BR\",\n [Language.Zh]: \"zh-Hans\",\n [Language.Tw]: \"zh-Hant-TW\",\n};\n\n/**\n * ####################################################################################\n * # Description:\n * - Uploading a local source of truth (English) locale file to a Smartcat project.\n * Before uploading locale file, a hash is created from the value of the text entry and added as suffix to the key of the text entry.\n *\n * - Downloading translated locale files and only keep translation entries where the \"key.{hash of value}\"\n * matches exactly to the source of truth \"key.{hash of value}\"\n *\n * # Script usage:\n * - Running `runFullSync` will first upload a source of truth locale file to Smartcat,\n * then we poll the smartcat severs until the new locales are full translated by Smartcat AI.\n * When translations are done, we download and process the translated files.\n *\n * - Each of these actions can be run separately as well.\n * ####################################################################################\n */\nexport class SmartcatApi {\n private projectId: string;\n private collectionName: string;\n private axios: AxiosInstance;\n private logger?: PinoLogger | Console;\n private escapeBracketDelimiters: boolean = false;\n private suffix: string | null;\n private targetLanguages: Language[] | undefined;\n private languageToSmartcatLocaleMapping: Record<Language, string> =\n languageToSmartcatLocaleMapping;\n /**\n * Depending on input we might need or not need suffixes.\n */\n private hasSuffix: boolean;\n\n /**\n * Delimiter used to separate translation key \"parts\"\n */\n public keyDelimiter = \".\";\n\n constructor(config: SmartcatApiConfig) {\n // Legacy\n if (\"enableLogs\" in config) {\n // eslint-disable-next-line sonarjs/deprecation\n this.logger = config.enableLogs ? console : undefined;\n // Newer\n } else if (\"logger\" in config) {\n this.logger = config.logger;\n }\n this.escapeBracketDelimiters = !!config.escapeBracketDelimiters;\n this.projectId = config.auth.projectId;\n this.collectionName = config.auth.collectionName;\n this.targetLanguages = config.targetLanguages;\n\n // Language mapping override\n if (config.languageToSmartcatLocaleMapping) {\n this.languageToSmartcatLocaleMapping =\n config.languageToSmartcatLocaleMapping;\n }\n\n switch (config.suffixMode) {\n case \"none\": {\n this.suffix = null;\n this.hasSuffix = false;\n break;\n }\n case \"custom\": {\n const suffixRegex = /^[a-zA-Z0-9-]+$/;\n\n if (\n // Empty string\n !config.suffix ||\n // Contains invalid characters\n !suffixRegex.test(config.suffix) ||\n // Contains key delimiter\n config.suffix.indexOf(this.keyDelimiter) > -1\n ) {\n throw new Error(\n \"Invalid custom suffix provided for SmartcatApi.suffix. Can only contain alphanumeric characters and hyphens.\",\n );\n }\n this.suffix = config.suffix;\n this.hasSuffix = true;\n break;\n }\n case \"auto\": {\n this.suffix = null;\n this.hasSuffix = true;\n break;\n }\n default:\n throw new Error(`Unsupported or missing value for SmartcatApi.suffix`);\n }\n\n const authBase64 = Buffer.from(\n `${config.auth.accountId}:${config.auth.apiSecret}`,\n ).toString(\"base64\");\n\n this.axios = axios.create({\n httpsAgent: config.httpsAgent,\n baseURL: \"https://us.smartcat.ai/api/\",\n headers: {\n Authorization: `Basic ${authBase64}`,\n },\n });\n }\n\n // #############################################################################\n // Internal helpers\n // #############################################################################\n /**\n * Smartcat locale --> enum Language mapping for filenames\n */\n private getSmartcatLocaleToLanguageMap() {\n return invert(this.languageToSmartcatLocaleMapping);\n }\n\n // #############################################################################\n // Key/Suffix/Hash helpers\n // #############################################################################\n\n /**\n * Hash the text value from translation entry value from reference language\n */\n private generateHashSuffixFromValue(value: string): string {\n // Using same amount of chars (7) as GIT uses for shorthand hash.\n const shorthandHashCharCount = 7;\n\n return createHash(\"sha256\")\n .update(value)\n .digest(\"hex\")\n .substring(0, shorthandHashCharCount);\n }\n\n /**\n * Create suffix for given value depending on configuration\n */\n public createSuffix(value: string): string {\n assert(\n this.hasSuffix,\n \"Can't call `createSuffix` for instance without a suffix\",\n );\n\n return this.suffix || this.generateHashSuffixFromValue(value);\n }\n\n /**\n * Util to create translation key.\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.createTranslationKey(['a', 'b', 'c']) // 'a.b.c'\n */\n public createTranslationKey(parts: string[]): string {\n return parts.join(this.keyDelimiter);\n }\n\n /**\n * Util to parse a translation key\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.parseTranslationKey('a.b.c'); // ['a', 'b', 'c'];\n */\n public parseTranslationKey(key: string): string[] {\n return key.split(this.keyDelimiter);\n }\n\n /**\n * Returns the key with suffix created by hashing the value.\n */\n public addSuffixToKey(key: string, value: string): string {\n return this.hasSuffix\n ? this.createTranslationKey([key, this.createSuffix(value)])\n : key;\n }\n\n /**\n * Takes a SmartCat text entry key (with hash) and returns the key without it\n */\n public removeSuffixFromKey(key: string): string {\n return this.hasSuffix\n ? this.createTranslationKey(this.parseTranslationKey(key).slice(0, -1))\n : key;\n }\n\n // #############################################################################\n // Transform data helpers\n // #############################################################################\n\n /**\n * Filter out entries that are not included in source of truth\n * translations and remove suffix from keys.\n */\n public processSmartcatTranslations(\n sourceOfTruthTranslations: TranslationObject,\n smartcatTranslations: TranslationObject,\n ): TranslationObject {\n // Append suffix to source of truth translations.\n const sourceOfTruthKeysWithSuffix = new Set(\n Object.entries(sourceOfTruthTranslations).map(([key, value]) =>\n this.addSuffixToKey(key, value),\n ),\n );\n\n // Normalise translated entry keys by removing the hash from key name.\n const result: TranslationObject = {};\n for (const key in smartcatTranslations) {\n // Ignore key from smartcat if not in source-of-truth\n if (!sourceOfTruthKeysWithSuffix.has(key)) {\n continue;\n }\n\n const normalisedKey = this.removeSuffixFromKey(key);\n const value = smartcatTranslations[key];\n\n if (value !== undefined) {\n result[normalisedKey] = value;\n }\n }\n\n return result;\n }\n\n /**\n * Parse string variable delimiters between smartcat and local delimiters.\n * Only top level delimiter pairs that don't have child delimiters or child curly brackets should be transformed.\n */\n private parseVariableDelimiters(\n input: string,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): string {\n /**\n * Constant icu string delimiters that we avoid to transform,\n * can conflict with the variable delimiters without error.\n */\n const icuStringDelimiters = {\n open: \"{\",\n close: \"}\",\n };\n\n /**\n * Evaluate what delimiters to transform from and to\n */\n const delimiterOptions = {\n local: {\n open: \"{\",\n close: \"}\",\n },\n smartcat: {\n open: \"{{\",\n close: \"}}\",\n },\n };\n const delimiters =\n mode === \"toSmartcatDelimiters\"\n ? {\n from: delimiterOptions.local,\n to: delimiterOptions.smartcat,\n }\n : {\n from: delimiterOptions.smartcat,\n to: delimiterOptions.local,\n };\n\n // Cheap check - return unmodified if input does not contain any opening or any closing variable delimiters\n if (\n !input.includes(delimiters.from.open) ||\n !input.includes(delimiters.from.close)\n ) {\n return input;\n }\n\n let result = \"\"; // Final result\n let lastPosition = 0; // This helps in building the result string\n let icuStringDepth = 0;\n /**\n * When finding an opening delimiter, closing delimiter index is already\n * evaluated and therefor we store it until it's reached.\n * Gets reset to `null` when this index in the iteration is reached.\n */\n let nextValidClosingVariableDelimiterIndex: null | number = null;\n\n for (let i = 0; i < input.length; i++) {\n // Hold current char\n const currentChar = input[i];\n\n // If currently inside ICU string, track the depth and continue to next char\n if (icuStringDepth > 0) {\n if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n } else if (currentChar === icuStringDelimiters.close) {\n icuStringDepth--;\n }\n\n continue;\n }\n\n /**\n * Encounter of a closing delimiter\n */\n if (i === nextValidClosingVariableDelimiterIndex) {\n // Get inner content between variable delimiters\n const variableInnerContent = input.slice(\n lastPosition + delimiters.from.open.length,\n i,\n );\n // Transform delimiters\n result += `${delimiters.to.open}${variableInnerContent}${delimiters.to.close}`;\n // Move the last position past this closing brace\n lastPosition = i + delimiters.from.close.length;\n // Reset closing delimiter index\n nextValidClosingVariableDelimiterIndex = null;\n // Go next after closing variable\n continue;\n } else if (nextValidClosingVariableDelimiterIndex !== null) {\n // Go next until reaching closing variable delimiter\n continue;\n }\n\n /**\n * Evaluate if current position is index of an opening delimiter\n */\n const isVariableOpeningBracketPattern =\n input.substring(i, i + delimiters.from.open.length) ===\n delimiters.from.open;\n if (isVariableOpeningBracketPattern) {\n // Evaluate start and end indexes of variable brackets.\n const innerContentStartIndex = i + delimiters.from.open.length;\n const closingVariableDelimiterIndex = input.indexOf(\n delimiters.from.close,\n innerContentStartIndex,\n );\n\n // Check if we can find the closing delimiter, else the opening delimiter can not be valid\n if (closingVariableDelimiterIndex !== -1) {\n // Variable delimiters inner content, excluding the delimiters\n const variableInnerContent = input.substring(\n innerContentStartIndex,\n closingVariableDelimiterIndex,\n );\n // Characters not allowed for variable inner content - helps to avoid transforming ICU string delimiters\n const illegalVariableCharacterRegex = /[{},#]/;\n // If delimiters inner content contains illegal characters, the opening bracket is not a valid variable.\n const isValidVariableOpeningDelimiters =\n !illegalVariableCharacterRegex.test(variableInnerContent);\n\n if (isValidVariableOpeningDelimiters) {\n // Append everything up to this delimiter to the result\n result += input.substring(lastPosition, i);\n // Update the last position to the current index\n lastPosition = i;\n // Store the closing delimiter index\n nextValidClosingVariableDelimiterIndex =\n closingVariableDelimiterIndex;\n } else if (currentChar === icuStringDelimiters.open) {\n // When reached - ICU string begins here\n icuStringDepth++;\n }\n }\n } else if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n }\n }\n\n // Append any remaining part of the input string to result\n result += input.slice(lastPosition);\n return result;\n }\n\n /**\n * Helper to parse variable placeholders for a translation file\n */\n public parseTranslationVariableDelimiters(\n translations: TranslationObject,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): TranslationObject {\n return Object.fromEntries(\n Object.entries(translations).map(([key, value]) => [\n key,\n this.parseVariableDelimiters(value, mode),\n ]),\n );\n }\n\n /**\n * Check if SmartCat has translated all target languages.\n */\n private async checkProjectTranslationStatus(): Promise<boolean> {\n try {\n // Fetch project data\n const res = await this.axios.get(\n `/integration/v1/project/${this.projectId}`,\n );\n const project = res.data as SmartcatProject;\n\n // Find the auto translation workflow id\n const autoTranslationWorkflowId = project.workflowStages.find(\n (workflow) => workflow.stageType === \"translation\",\n )?.id;\n if (!autoTranslationWorkflowId) {\n throw new Error(\n \"Could not find auto translation workflow id in SmartCat project.\",\n );\n }\n\n // Get relevant documents\n const documents = project.documents.filter((doc) => {\n const isInCollection = doc.name === this.collectionName;\n const isRequestedTargetLanguage = Boolean(\n !this.targetLanguages ||\n this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .includes(doc.targetLanguage),\n );\n\n return isInCollection && isRequestedTargetLanguage;\n });\n\n // Check if all documents have 100% progress in auto translation workflow\n return documents.every((doc) => {\n const autoTranslationWorkflow = doc.workflowStages.find(\n (workflow) => workflow.id === autoTranslationWorkflowId,\n );\n return autoTranslationWorkflow?.progress === 100;\n });\n } catch (error) {\n this.logger?.error(error, \"❌ Failed to get project\");\n throw error;\n }\n }\n\n // #############################################################################\n // Api methods\n // #############################################################################\n\n /**\n * Download translations from Smartcat.\n */\n public async downloadSmartcatTranslations(\n defaultTranslations: TranslationObject,\n options?: {\n /**\n * (optional) List of labels to export keys that are marked with labels\n * @default undefined\n */\n labels?: string[];\n /**\n * (optional) Max attempt count for polling download ready status.\n * @default 10\n */\n maxAttemptCount?: number;\n /**\n * (optional) Interval in milliseconds between each polling attempt.\n * @default 5000\n */\n intervalMs?: number;\n },\n ): Promise<Record<Language, TranslationObject>> {\n // https://developers.smartcat.com/api/#run-export-from-software-localization-project\n const url = `integration/v2/project/${this.projectId}/export`;\n const params = {\n \"completion-state\": \"draft\",\n \"output-file-path-template\": \"{LANGUAGE}.json\",\n collections: this.collectionName,\n zip: \"true\",\n languages: this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .join(\",\"),\n labels: SmartcatApi.prepareLabels(options?.labels),\n // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`\n };\n\n const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();\n\n try {\n const exportResponse = await this.axios.post(\n url,\n {},\n {\n params,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n },\n },\n );\n const taskID = exportResponse.data;\n\n const pollMaxAttemptCount = options?.maxAttemptCount ?? 10;\n const pollInterval = options?.intervalMs ?? 5000;\n\n const translations: Record<string, TranslationObject> = {};\n let pollAttempt = 0;\n let exportSuccessful = false;\n\n // Polling loop to check if the export is successful\n while (!exportSuccessful && pollAttempt < pollMaxAttemptCount) {\n pollAttempt += 1;\n\n const checkUrl = `integration/v1/document/export/${taskID}/`;\n const checkResponse = await this.axios.get(checkUrl, {\n responseType: \"arraybuffer\",\n // Don't throw errors for all errors below 500 so we can handle it gracefully\n validateStatus: (status) => status < 500,\n });\n\n if (checkResponse.status === 200) {\n // Unzip and discard the zip file, rename.\n const zip = new AdmZip(checkResponse.data);\n const zipEntries = zip.getEntries();\n\n for (const zipEntry of zipEntries) {\n if (!zipEntry.isDirectory) {\n // Extract the content of the file\n const data = zip.readFile(zipEntry);\n\n if (!data) {\n throw new Error(\n \"Exported smarcat document does not include any data\",\n );\n }\n\n const locale = zipEntry.entryName.replace(\".json\", \"\");\n const mappedLocale = smartcatLocaleToLanguageMap[locale];\n\n if (!mappedLocale) {\n this.logger?.warn(\n `Couldn't find map for SmartCat locale ${locale}, skipping file.`,\n );\n continue;\n }\n\n const parsedTranslations = JSON.parse(data.toString());\n\n // Process downloaded translations.\n let result = this.processSmartcatTranslations(\n defaultTranslations,\n parsedTranslations,\n );\n\n // Escape content variable delimiters.\n if (this.escapeBracketDelimiters) {\n result = this.parseTranslationVariableDelimiters(\n result,\n \"toLocalDelimiters\",\n );\n }\n\n translations[mappedLocale] = result;\n }\n }\n\n // Exit loop.\n exportSuccessful = true;\n } else if (checkResponse.status === 204) {\n this.logger?.info(\n `The task ID ${taskID} is not ready yet, will try again`,\n );\n\n // Wait for some time before checking again\n await setTimeoutAsync(pollInterval);\n } else if (checkResponse.status === 404) {\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 404`,\n );\n } else if (checkResponse.status === 422) {\n let response: unknown;\n try {\n // Convert ArrayBuffer to Buffer\n const buffer = Buffer.from(checkResponse.data);\n // Decode buffer to string\n const jsonString = buffer.toString(\"utf8\");\n\n response = jsonString;\n } catch {\n response = \"!! Unable to parse response !!\";\n }\n this.logger?.error(\n response,\n \"❌ Failed to download smartcat translations, endpoint returned 422\",\n );\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 422`,\n );\n } else {\n // Unknown status response.\n throw new Error(\n `Failed to download smartcat translations, endpoint returned unknown status code ${checkResponse.status}`,\n );\n }\n }\n\n if (!exportSuccessful) {\n throw new Error(\n \"Max retries reached when trying to export files from SmartCat.\",\n );\n }\n\n this.logger?.info(\n \"✅ Download target language locale documents complete.\",\n );\n\n return translations;\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed downloading locale files from SmartCat\\n\",\n );\n\n throw error;\n }\n }\n\n /**\n * Exposed method for uploading source translations to Smartcat.\n */\n public async uploadSourceTranslations(\n // Source translations that will be uploaded to SmartCat.\n sourceTranslations: TranslationUploadObject | TranslationUploadObject[],\n options?: {\n // When true, deleting all keys in the smartcat collection that does not exist in sourceTranslations.\n deleteMissingKeys?: boolean;\n },\n ): Promise<void> {\n try {\n const rawTranslationUploads = Array.isArray(sourceTranslations)\n ? sourceTranslations\n : [sourceTranslations];\n\n /**\n * Prepare translations for upload by:\n * 1. Ignore non-translatable values.\n * 2. Add suffix to key based on settings.\n * 3. Escape variable delimiters based on settings.\n */\n const preparedTranslationUploads = rawTranslationUploads.map(\n (translationUpload) => {\n let translations: TranslationObject = {};\n\n for (const [key, value] of Object.entries(\n translationUpload.translations,\n )) {\n if (!SmartcatApi.isTranslatableValue(value)) {\n continue;\n }\n const suffixedKey = this.addSuffixToKey(key, value);\n translations[suffixedKey] = value;\n }\n\n // Prepare variable delimiters.\n if (this.escapeBracketDelimiters) {\n translations = this.parseTranslationVariableDelimiters(\n translations,\n \"toSmartcatDelimiters\",\n );\n }\n\n return {\n ...translationUpload,\n translations,\n };\n },\n );\n\n /**\n * Upload all translations together and make the data purge in SC.\n */\n if (options?.deleteMissingKeys) {\n // Merge all prepared translations into one object.\n const combinedTranslations: TranslationObject =\n preparedTranslationUploads.reduce((acc, current) => {\n return { ...acc, ...current.translations };\n }, {});\n\n await this.smartcatUploadRequest(combinedTranslations, {\n deleteMissingKeys: true,\n });\n\n this.logger?.info(\"🧹 Deleted unused translations from Smartcat.\");\n }\n\n /**\n * Upload each translation object separately to apply labels.\n */\n for (const translationUpload of preparedTranslationUploads) {\n await this.smartcatUploadRequest(translationUpload.translations, {\n labels: translationUpload.appendLabels,\n });\n }\n\n this.logger?.info(\"✅ Upload source translations to SmartCat complete.\");\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed uploading source translations to SmartCat.\",\n );\n throw error;\n }\n }\n\n /**\n * Internal helper method for uploading source translations to Smartcat.\n * @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project\n */\n private async smartcatUploadRequest(\n sourceTranslations: TranslationObject,\n options?: {\n labels?: string[];\n deleteMissingKeys?: boolean;\n },\n ) {\n const queryParams = {\n format: \"json\",\n language: \"en\",\n collection: this.collectionName,\n \"delete-missing-keys\": !!options?.deleteMissingKeys,\n // TODO: was fallback empty string really needed?\n labels: SmartcatApi.prepareLabels(options?.labels) || \"\",\n };\n\n const url = `integration/v2/project/${this.projectId}/import`;\n\n const smartCatSourceLanguageBuffer = Buffer.from(\n JSON.stringify(sourceTranslations),\n );\n\n const fileBlob = new Blob([smartCatSourceLanguageBuffer], {\n type: \"application/octet-stream\",\n });\n\n const formData = new FormData();\n formData.append(\"file\", fileBlob);\n\n await this.axios.post(url, formData, {\n params: queryParams,\n headers: { \"Content-Type\": \"multipart/form-data\" },\n });\n }\n\n /**\n * Wait for SmartCat to fully translate all target languages.\n */\n public pollAndWaitForCompletedTranslations = async (\n pollRunLimit = 20,\n pollIntervalMs = 10000,\n ): Promise<boolean> => {\n let pollRunCount = 0;\n let translationCompleted = false;\n\n while (!translationCompleted && pollRunCount < pollRunLimit) {\n this.logger?.info(`⌛ SmartCat translations in progress.`);\n\n translationCompleted = await this.checkProjectTranslationStatus();\n pollRunCount += 1;\n\n if (!translationCompleted) {\n await setTimeoutAsync(pollIntervalMs);\n }\n }\n\n /**\n * HACK\n * Since there is a bug with smartcat returning true for `pretranslateCompleted`\n * before they are updated in smartcat. We implement an artificial sleep to let\n * smartcat update the target translations before we download them.\n */\n if (translationCompleted) {\n await setTimeoutAsync(60000);\n }\n\n this.logger?.info(\n translationCompleted\n ? \"✅ SmartCat translations completed.\"\n : \"❌ Max retries reached when waiting for SmartCat translations to complete.\",\n );\n\n return translationCompleted;\n };\n\n /**\n * Static util to prettify translation for writing to file-system\n */\n static readonly prettifyTranslation = (\n translation: TranslationObject,\n ): string => {\n return (\n stableStringify(translation, { space: 2 }) +\n // Add EOF newline\n `\\n`\n );\n };\n\n /**\n * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate\n */\n static readonly isTranslatableValue = (value: Nullish<string>): boolean => {\n // Trim to check if given string isn't just spaces which is not worth translating\n const parsedValue = value?.trim();\n\n // Ignore empty values\n if (!parsedValue) {\n return false;\n }\n\n // Don't translate values that are digits only\n return !isDigitsOnlyRegex.test(parsedValue);\n };\n\n /**\n * Centralized method to get Smartcat label based on environment.\n * ! Change with caution as it impacts how translaitons will be read from Smartcat.\n */\n static readonly getSmartcatLabel = (env: SmartcatEnvironment): string => {\n switch (env) {\n case SmartcatEnvironment.Dev:\n return \"DEV\";\n case SmartcatEnvironment.Stg:\n return \"STG\";\n // ! Not really reusable for other projects, didn't make sense right now to create generic label for it\n case SmartcatEnvironment.NewDesign:\n return \"NEW-DESIGN\";\n case SmartcatEnvironment.Prod:\n return \"MAIN\";\n default: {\n assertUnreachable(env);\n }\n }\n };\n\n /**\n * Get smartcat environment based on branch name\n */\n static readonly getSmartcatEnvironmentFromGhBranchName = (\n ghRepositoryBranchName: string,\n ): SmartcatEnvironment => {\n switch (ghRepositoryBranchName) {\n case \"master\":\n case \"main\": {\n return SmartcatEnvironment.Prod;\n }\n case \"new-design\": {\n return SmartcatEnvironment.NewDesign;\n }\n case \"beta\": // For store.core beta releases\n case \"stg\": // Historical GH repos\n case \"qa\": {\n return SmartcatEnvironment.Stg;\n }\n case \"alpha\": // For store.core alpha releases\n case \"dev\": // Historical GH repos\n case \"proto\": {\n return SmartcatEnvironment.Dev;\n }\n\n default: {\n throw new Error(\n `Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`,\n );\n }\n }\n };\n\n /**\n * Util to prepare labels for passing into request parameters\n */\n static readonly prepareLabels = (labels?: string[]): string | undefined => {\n return labels\n ?.map((label) => label.trim())\n .filter(Boolean)\n .join(\",\");\n };\n}\n"],"names":["SmartcatEnvironment","isDigitsOnlyRegex","languageToSmartcatLocaleMapping","Language","Ar","De","En","Es","Fr","El","It","Ja","Pt","Zh","Tw","_SmartcatApi","constructor","config","__publicField","pollRunLimit","pollIntervalMs","pollRunCount","translationCompleted","logger","info","checkProjectTranslationStatus","setTimeoutAsync","enableLogs","console","escapeBracketDelimiters","projectId","auth","collectionName","targetLanguages","suffixMode","suffix","hasSuffix","suffixRegex","test","indexOf","keyDelimiter","Error","authBase64","Buffer","from","accountId","apiSecret","toString","axios","create","httpsAgent","baseURL","headers","Authorization","getSmartcatLocaleToLanguageMap","invert","generateHashSuffixFromValue","value","shorthandHashCharCount","createHash","update","digest","substring","createSuffix","assert","createTranslationKey","parts","join","parseTranslationKey","key","split","addSuffixToKey","removeSuffixFromKey","slice","processSmartcatTranslations","sourceOfTruthTranslations","smartcatTranslations","sourceOfTruthKeysWithSuffix","Set","Object","entries","map","result","has","normalisedKey","parseVariableDelimiters","input","mode","icuStringDelimiters","open","close","delimiterOptions","local","smartcat","delimiters","to","includes","lastPosition","icuStringDepth","nextValidClosingVariableDelimiterIndex","i","length","currentChar","variableInnerContent","isVariableOpeningBracketPattern","innerContentStartIndex","closingVariableDelimiterIndex","illegalVariableCharacterRegex","isValidVariableOpeningDelimiters","parseTranslationVariableDelimiters","translations","fromEntries","res","get","project","data","autoTranslationWorkflowId","workflowStages","find","workflow","stageType","id","documents","filter","doc","isInCollection","name","isRequestedTargetLanguage","Boolean","lang","targetLanguage","every","autoTranslationWorkflow","progress","error","downloadSmartcatTranslations","defaultTranslations","options","url","params","collections","zip","languages","labels","prepareLabels","smartcatLocaleToLanguageMap","exportResponse","post","taskID","pollMaxAttemptCount","maxAttemptCount","pollInterval","intervalMs","pollAttempt","exportSuccessful","checkUrl","checkResponse","responseType","validateStatus","status","AdmZip","zipEntries","getEntries","zipEntry","isDirectory","readFile","locale","entryName","replace","mappedLocale","warn","parsedTranslations","JSON","parse","response","buffer","jsonString","uploadSourceTranslations","sourceTranslations","rawTranslationUploads","Array","isArray","preparedTranslationUploads","translationUpload","isTranslatableValue","suffixedKey","deleteMissingKeys","combinedTranslations","reduce","acc","current","smartcatUploadRequest","appendLabels","queryParams","format","language","collection","smartCatSourceLanguageBuffer","stringify","fileBlob","Blob","type","formData","FormData","append","translation","stableStringify","space","parsedValue","trim","env","assertUnreachable","ghRepositoryBranchName","label","SmartcatApi"],"mappings":";;;;;;;;;;;;;;;;;;AA2CY,IAAAA,mBAAA,GAAA,gBAAAA,oBAAL,IAAA;EACLA,qBAAA,KAAM,CAAA,GAAA,OAAA;EACNA,qBAAA,KAAM,CAAA,GAAA,IAAA;EACNA,qBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,qBAAA,MAAO,CAAA,GAAA,MAAA;EAJGA,OAAAA,oBAAAA;AAAA,CAAA,EAAAA,mBAAA,IAAA,CAAA,CAAA,CAAA;AAqBZ,MAAMC,iBAAoB,GAAA,OAAA;AA0E1B,MAAMC,+BAA4D,GAAA;EAChE,CAACC,QAAS,CAAAC,EAAE,GAAG,IAAA;EACf,CAACD,QAAS,CAAAE,EAAE,GAAG,IAAA;EACf,CAACF,QAAS,CAAAG,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;IACT,KAAK,MAAA,CAAA;MACI,OAAA,MAAA;IACT;MAAS;QACPC,iBAAA,CAAkBD,GAAG,CAAA;MAAA;EACvB;AAEJ,CAAA,CAAA;AAAA;AAAA;AAAA;AAKAhM,aA1yBW,CAAAH,YAAA,EA0yBK,wCAAyC,EACvDqM,sBACwB,IAAA;EACxB,QAAQA,sBAAwB;IAC9B,KAAK,QAAA;IACL,KAAK,MAAQ;MAAA;QACJ,OAAA,MAAA,CAAA;MAAA;IAET,KAAK,YAAc;MAAA;QACV,OAAA,YAAA,CAAA;MAAA;IAET,KAAK,MAAA;IAAA;IACL,KAAK,KAAA;IAAA;IACL,KAAK,IAAM;MAAA;QACF,OAAA,IAAA,CAAA;MAAA;IAET,KAAK,OAAA;IAAA;IACL,KAAK,KAAA;IAAA;IACL,KAAK,OAAS;MAAA;QACL,OAAA,OAAA,CAAA;MAAA;IAGT;MAAS;QACP,MAAM,IAAI3K,KAAA,CACR,2BAA2B2K,sBAAsB,4BACnD,CAAA;MAAA;EACF;AAEJ,CAAA,CAAA;AAAA;AAAA;AAAA;AAKAlM,aA30BW,CAAAH,YAAA,EA20BK,eAAgB,EAACgI,MAA0C,IAAA;EACzE,OAAOA,MACH,EAAA9D,GAAA,CAAKoI,KAAA,IAAUA,KAAM,CAAAJ,IAAA,EAAM,CAAA,CAC5BtF,MAAO,CAAAK,OAAO,CACd,CAAA7D,IAAA,CAAK,GAAG,CAAA;AACb,CAAA,CAAA;AAh1BK,IAAMmJ,WAAN,GAAAvM,YAAA;"}
|
|
1
|
+
{"version":3,"file":"smartcat.mjs","sources":["../../src/apis/smartcat.ts"],"sourcesContent":["/* eslint-disable no-await-in-loop */\nimport AdmZip from \"adm-zip\";\nimport type { AxiosInstance } from \"axios\";\nimport axios from \"axios\";\nimport { createHash } from \"crypto\";\nimport stableStringify from \"json-stable-stringify\";\nimport invert from \"lodash/invert\";\nimport type { Agent as HttpsAgent } from \"node:https\";\nimport { setTimeout as setTimeoutAsync } from \"node:timers/promises\";\nimport type { Logger as PinoLogger } from \"pino\";\n\nimport type { Nullish } from \"../types\";\nimport { Language } from \"../types\";\nimport { assert, assertUnreachable } from \"../utils/errors\";\n\ntype SmartcatCredentials = {\n apiSecret: string;\n accountId: string;\n projectId: string;\n collectionName: string;\n};\n\ntype SmartcatProject = {\n // Workflow type and id mapping for project\n workflowStages: Array<{\n id: string;\n stageType: \"translation\" | \"postediting\";\n }>;\n documents: Array<{\n // Collection name the document belongs to\n name: string;\n // Flag for if auto translations are complete on smartcat side\n pretranslateCompleted: boolean;\n // Workflow progress of a document\n workflowStages: Array<{\n id: string;\n progress: number;\n }>;\n // Target language of the document\n targetLanguage: string;\n }>;\n};\n\nexport enum SmartcatEnvironment {\n Dev = \"proto\",\n Stg = \"qa\",\n NewDesign = \"new-design\",\n Prod = \"prod\",\n}\n\ntype TranslationObject = Record<string, string>;\n\ntype TranslationUploadObject = {\n translations: TranslationObject;\n /**\n * (Optional) Labels that will be appended to all segments in the upload. Existing labels in SC remains untouched.\n */\n appendLabels?: string[];\n};\n\n/**\n * Basic check if given string only consists of digits\n * ! Doesn't support decimal and thousand separated numbers as it's not a relevant practical use case right now\n */\nconst isDigitsOnlyRegex = /^\\d+$/;\n\nexport type SmartcatApiConfig = {\n auth: SmartcatCredentials;\n /**\n * (optional) Parse single brackets variable delimiters before upstream to Smartcat, from \"{x}\" to \"{{x}}\".\n * @default false\n */\n escapeBracketDelimiters?: boolean;\n /**\n * (optional) Pass https agent to try to keep connections open.\n */\n httpsAgent?: HttpsAgent;\n /**\n * (optional) Languages that will be downloaded from Smartcat.\n * When omitted, all languages will be downloaded.\n */\n targetLanguages?: Language[];\n /**\n * (optional) Custom language to Smartcat locale mapping (e.g. microsite pt differs)\n * When omitted, default mapping will be used.\n */\n languageToSmartcatLocaleMapping?: Record<Language, string>;\n // #############################################################################\n // Logging options\n // #############################################################################\n} & (\n | {\n /**\n * (optional) To enable logging via console.log\n * @default false\n * @deprecated Use newer `logger` option instead, while transitioning for backwards compatibility `enableLogs:\n * true` will utilize console for logging.\n */\n enableLogs?: boolean;\n }\n | {\n /**\n * (optional) Pass Pino or Console (as console.log) instance to enable logging.\n * @default Console\n */\n logger?: PinoLogger | Console;\n }\n) &\n // #############################################################################\n // Suffix options\n // #############################################################################\n (| {\n /**\n * No suffix to be used in translation keys\n * @example 'commons.button.buyNow'\n */\n suffixMode: \"none\";\n }\n | {\n /**\n * Custom suffix to use in translation keys\n * @example `commons.button.buyNow.${suffix}`\n */\n suffixMode: \"custom\";\n /**\n * * ! Must be a non-empty string which doesn't contain the key delimiter \".\" character otherwise will fail\n */\n suffix: string;\n }\n | {\n /**\n * Auto generate (7-character) hash-suffix from the default (english) value\n * @example 'commons.button.buyNow.nk31jnb'\n */\n suffixMode: \"auto\";\n }\n );\n\nconst languageToSmartcatLocaleMapping: Record<Language, string> = {\n [Language.Ar]: \"ar\",\n [Language.De]: \"de\",\n [Language.En]: \"en\",\n [Language.Es]: \"es\",\n [Language.Fr]: \"fr\",\n [Language.El]: \"el\",\n [Language.It]: \"it\",\n [Language.Ja]: \"ja\",\n [Language.Pt]: \"pt-BR\",\n [Language.Zh]: \"zh-Hans\",\n [Language.Tw]: \"zh-Hant-TW\",\n};\n\n/**\n * ####################################################################################\n * # Description:\n * - Uploading a local source of truth (English) locale file to a Smartcat project.\n * Before uploading locale file, a hash is created from the value of the text entry and added as suffix to the key of the text entry.\n *\n * - Downloading translated locale files and only keep translation entries where the \"key.{hash of value}\"\n * matches exactly to the source of truth \"key.{hash of value}\"\n *\n * # Script usage:\n * - Running `runFullSync` will first upload a source of truth locale file to Smartcat,\n * then we poll the smartcat severs until the new locales are full translated by Smartcat AI.\n * When translations are done, we download and process the translated files.\n *\n * - Each of these actions can be run separately as well.\n * ####################################################################################\n */\nexport class SmartcatApi {\n private projectId: string;\n private collectionName: string;\n private axios: AxiosInstance;\n private logger?: PinoLogger | Console;\n private escapeBracketDelimiters: boolean = false;\n private suffix: string | null;\n private targetLanguages: Language[] | undefined;\n private languageToSmartcatLocaleMapping: Record<Language, string> =\n languageToSmartcatLocaleMapping;\n /**\n * Depending on input we might need or not need suffixes.\n */\n private hasSuffix: boolean;\n\n /**\n * Delimiter used to separate translation key \"parts\"\n */\n public keyDelimiter = \".\";\n\n constructor(config: SmartcatApiConfig) {\n // Legacy\n if (\"enableLogs\" in config) {\n // eslint-disable-next-line sonarjs/deprecation\n this.logger = config.enableLogs ? console : undefined;\n // Newer\n } else if (\"logger\" in config) {\n this.logger = config.logger;\n }\n this.escapeBracketDelimiters = !!config.escapeBracketDelimiters;\n this.projectId = config.auth.projectId;\n this.collectionName = config.auth.collectionName;\n this.targetLanguages = config.targetLanguages;\n\n // Language mapping override\n if (config.languageToSmartcatLocaleMapping) {\n this.languageToSmartcatLocaleMapping =\n config.languageToSmartcatLocaleMapping;\n }\n\n switch (config.suffixMode) {\n case \"none\": {\n this.suffix = null;\n this.hasSuffix = false;\n break;\n }\n case \"custom\": {\n const suffixRegex = /^[a-zA-Z0-9-]+$/;\n\n if (\n // Empty string\n !config.suffix ||\n // Contains invalid characters\n !suffixRegex.test(config.suffix) ||\n // Contains key delimiter\n config.suffix.indexOf(this.keyDelimiter) > -1\n ) {\n throw new Error(\n \"Invalid custom suffix provided for SmartcatApi.suffix. Can only contain alphanumeric characters and hyphens.\",\n );\n }\n this.suffix = config.suffix;\n this.hasSuffix = true;\n break;\n }\n case \"auto\": {\n this.suffix = null;\n this.hasSuffix = true;\n break;\n }\n default:\n throw new Error(`Unsupported or missing value for SmartcatApi.suffix`);\n }\n\n const authBase64 = Buffer.from(\n `${config.auth.accountId}:${config.auth.apiSecret}`,\n ).toString(\"base64\");\n\n this.axios = axios.create({\n httpsAgent: config.httpsAgent,\n baseURL: \"https://us.smartcat.ai/api/\",\n headers: {\n Authorization: `Basic ${authBase64}`,\n },\n });\n }\n\n // #############################################################################\n // Internal helpers\n // #############################################################################\n /**\n * Smartcat locale --> enum Language mapping for filenames\n */\n private getSmartcatLocaleToLanguageMap() {\n return invert(this.languageToSmartcatLocaleMapping);\n }\n\n // #############################################################################\n // Key/Suffix/Hash helpers\n // #############################################################################\n\n /**\n * Hash the text value from translation entry value from reference language\n */\n private generateHashSuffixFromValue(value: string): string {\n // Using same amount of chars (7) as GIT uses for shorthand hash.\n const shorthandHashCharCount = 7;\n\n return createHash(\"sha256\")\n .update(value)\n .digest(\"hex\")\n .substring(0, shorthandHashCharCount);\n }\n\n /**\n * Create suffix for given value depending on configuration\n */\n public createSuffix(value: string): string {\n assert(\n this.hasSuffix,\n \"Can't call `createSuffix` for instance without a suffix\",\n );\n\n return this.suffix || this.generateHashSuffixFromValue(value);\n }\n\n /**\n * Util to create translation key.\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.createTranslationKey(['a', 'b', 'c']) // 'a.b.c'\n */\n public createTranslationKey(parts: string[]): string {\n return parts.join(this.keyDelimiter);\n }\n\n /**\n * Util to parse a translation key\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.parseTranslationKey('a.b.c'); // ['a', 'b', 'c'];\n */\n public parseTranslationKey(key: string): string[] {\n return key.split(this.keyDelimiter);\n }\n\n /**\n * Returns the key with suffix created by hashing the value.\n */\n public addSuffixToKey(key: string, value: string): string {\n return this.hasSuffix\n ? this.createTranslationKey([key, this.createSuffix(value)])\n : key;\n }\n\n /**\n * Takes a SmartCat text entry key (with hash) and returns the key without it\n */\n public removeSuffixFromKey(key: string): string {\n return this.hasSuffix\n ? this.createTranslationKey(this.parseTranslationKey(key).slice(0, -1))\n : key;\n }\n\n // #############################################################################\n // Transform data helpers\n // #############################################################################\n\n /**\n * Filter out entries that are not included in source of truth\n * translations and remove suffix from keys.\n */\n public processSmartcatTranslations(\n sourceOfTruthTranslations: TranslationObject,\n smartcatTranslations: TranslationObject,\n ): TranslationObject {\n // Append suffix to source of truth translations.\n const sourceOfTruthKeysWithSuffix = new Set(\n Object.entries(sourceOfTruthTranslations).map(([key, value]) =>\n this.addSuffixToKey(key, value),\n ),\n );\n\n // Normalise translated entry keys by removing the hash from key name.\n const result: TranslationObject = {};\n for (const key in smartcatTranslations) {\n // Ignore key from smartcat if not in source-of-truth\n if (!sourceOfTruthKeysWithSuffix.has(key)) {\n continue;\n }\n\n const normalisedKey = this.removeSuffixFromKey(key);\n const value = smartcatTranslations[key];\n\n if (value !== undefined) {\n result[normalisedKey] = value;\n }\n }\n\n return result;\n }\n\n /**\n * Parse string variable delimiters between smartcat and local delimiters.\n * Only top level delimiter pairs that don't have child delimiters or child curly brackets should be transformed.\n */\n private parseVariableDelimiters(\n input: string,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): string {\n /**\n * Constant icu string delimiters that we avoid to transform,\n * can conflict with the variable delimiters without error.\n */\n const icuStringDelimiters = {\n open: \"{\",\n close: \"}\",\n };\n\n /**\n * Evaluate what delimiters to transform from and to\n */\n const delimiterOptions = {\n local: {\n open: \"{\",\n close: \"}\",\n },\n smartcat: {\n open: \"{{\",\n close: \"}}\",\n },\n };\n const delimiters =\n mode === \"toSmartcatDelimiters\"\n ? {\n from: delimiterOptions.local,\n to: delimiterOptions.smartcat,\n }\n : {\n from: delimiterOptions.smartcat,\n to: delimiterOptions.local,\n };\n\n // Cheap check - return unmodified if input does not contain any opening or any closing variable delimiters\n if (\n !input.includes(delimiters.from.open) ||\n !input.includes(delimiters.from.close)\n ) {\n return input;\n }\n\n let result = \"\"; // Final result\n let lastPosition = 0; // This helps in building the result string\n let icuStringDepth = 0;\n /**\n * When finding an opening delimiter, closing delimiter index is already\n * evaluated and therefor we store it until it's reached.\n * Gets reset to `null` when this index in the iteration is reached.\n */\n let nextValidClosingVariableDelimiterIndex: null | number = null;\n\n for (let i = 0; i < input.length; i++) {\n // Hold current char\n const currentChar = input[i];\n\n // If currently inside ICU string, track the depth and continue to next char\n if (icuStringDepth > 0) {\n if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n } else if (currentChar === icuStringDelimiters.close) {\n icuStringDepth--;\n }\n\n continue;\n }\n\n /**\n * Encounter of a closing delimiter\n */\n if (i === nextValidClosingVariableDelimiterIndex) {\n // Get inner content between variable delimiters\n const variableInnerContent = input.slice(\n lastPosition + delimiters.from.open.length,\n i,\n );\n // Transform delimiters\n result += `${delimiters.to.open}${variableInnerContent}${delimiters.to.close}`;\n // Move the last position past this closing brace\n lastPosition = i + delimiters.from.close.length;\n // Reset closing delimiter index\n nextValidClosingVariableDelimiterIndex = null;\n // Go next after closing variable\n continue;\n } else if (nextValidClosingVariableDelimiterIndex !== null) {\n // Go next until reaching closing variable delimiter\n continue;\n }\n\n /**\n * Evaluate if current position is index of an opening delimiter\n */\n const isVariableOpeningBracketPattern =\n input.substring(i, i + delimiters.from.open.length) ===\n delimiters.from.open;\n if (isVariableOpeningBracketPattern) {\n // Evaluate start and end indexes of variable brackets.\n const innerContentStartIndex = i + delimiters.from.open.length;\n const closingVariableDelimiterIndex = input.indexOf(\n delimiters.from.close,\n innerContentStartIndex,\n );\n\n // Check if we can find the closing delimiter, else the opening delimiter can not be valid\n if (closingVariableDelimiterIndex !== -1) {\n // Variable delimiters inner content, excluding the delimiters\n const variableInnerContent = input.substring(\n innerContentStartIndex,\n closingVariableDelimiterIndex,\n );\n // Characters not allowed for variable inner content - helps to avoid transforming ICU string delimiters\n const illegalVariableCharacterRegex = /[{},#]/;\n // If delimiters inner content contains illegal characters, the opening bracket is not a valid variable.\n const isValidVariableOpeningDelimiters =\n !illegalVariableCharacterRegex.test(variableInnerContent);\n\n if (isValidVariableOpeningDelimiters) {\n // Append everything up to this delimiter to the result\n result += input.substring(lastPosition, i);\n // Update the last position to the current index\n lastPosition = i;\n // Store the closing delimiter index\n nextValidClosingVariableDelimiterIndex =\n closingVariableDelimiterIndex;\n } else if (currentChar === icuStringDelimiters.open) {\n // When reached - ICU string begins here\n icuStringDepth++;\n }\n }\n } else if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n }\n }\n\n // Append any remaining part of the input string to result\n result += input.slice(lastPosition);\n return result;\n }\n\n /**\n * Helper to parse variable placeholders for a translation file\n */\n public parseTranslationVariableDelimiters(\n translations: TranslationObject,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): TranslationObject {\n return Object.fromEntries(\n Object.entries(translations).map(([key, value]) => [\n key,\n this.parseVariableDelimiters(value, mode),\n ]),\n );\n }\n\n /**\n * Check if SmartCat has translated all target languages.\n */\n private async checkProjectTranslationStatus(): Promise<boolean> {\n try {\n // Fetch project data\n const res = await this.axios.get(\n `/integration/v1/project/${this.projectId}`,\n );\n const project = res.data as SmartcatProject;\n\n // Find the auto translation workflow id\n const autoTranslationWorkflowId = project.workflowStages.find(\n (workflow) => workflow.stageType === \"translation\",\n )?.id;\n if (!autoTranslationWorkflowId) {\n throw new Error(\n \"Could not find auto translation workflow id in SmartCat project.\",\n );\n }\n\n // Get relevant documents\n const documents = project.documents.filter((doc) => {\n const isInCollection = doc.name === this.collectionName;\n const isRequestedTargetLanguage = Boolean(\n !this.targetLanguages ||\n this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .includes(doc.targetLanguage),\n );\n\n return isInCollection && isRequestedTargetLanguage;\n });\n\n // Check if all documents have 100% progress in auto translation workflow\n return documents.every((doc) => {\n const autoTranslationWorkflow = doc.workflowStages.find(\n (workflow) => workflow.id === autoTranslationWorkflowId,\n );\n return autoTranslationWorkflow?.progress === 100;\n });\n } catch (error) {\n this.logger?.error(error, \"❌ Failed to get project\");\n throw error;\n }\n }\n\n // #############################################################################\n // Api methods\n // #############################################################################\n\n /**\n * Download translations from Smartcat.\n */\n public async downloadSmartcatTranslations(\n defaultTranslations: TranslationObject,\n options?: {\n /**\n * (optional) List of labels to export keys that are marked with labels\n * @default undefined\n */\n labels?: string[];\n /**\n * (optional) Max attempt count for polling download ready status.\n * @default 10\n */\n maxAttemptCount?: number;\n /**\n * (optional) Interval in milliseconds between each polling attempt.\n * @default 5000\n */\n intervalMs?: number;\n },\n ): Promise<Record<Language, TranslationObject>> {\n // https://developers.smartcat.com/api/#run-export-from-software-localization-project\n const url = `integration/v2/project/${this.projectId}/export`;\n const params = {\n \"completion-state\": \"draft\",\n \"output-file-path-template\": \"{LANGUAGE}.json\",\n collections: this.collectionName,\n zip: \"true\",\n languages: this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .join(\",\"),\n labels: SmartcatApi.prepareLabels(options?.labels),\n // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`\n };\n\n const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();\n\n try {\n const exportResponse = await this.axios.post(\n url,\n {},\n {\n params,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n },\n },\n );\n const taskID = exportResponse.data;\n\n const pollMaxAttemptCount = options?.maxAttemptCount ?? 10;\n const pollInterval = options?.intervalMs ?? 5000;\n\n const translations: Record<string, TranslationObject> = {};\n let pollAttempt = 0;\n let exportSuccessful = false;\n\n // Polling loop to check if the export is successful\n while (!exportSuccessful && pollAttempt < pollMaxAttemptCount) {\n pollAttempt += 1;\n\n const checkUrl = `integration/v1/document/export/${taskID}/`;\n const checkResponse = await this.axios.get(checkUrl, {\n responseType: \"arraybuffer\",\n // Don't throw errors for all errors below 500 so we can handle it gracefully\n validateStatus: (status) => status < 500,\n });\n\n if (checkResponse.status === 200) {\n // Unzip and discard the zip file, rename.\n const zip = new AdmZip(checkResponse.data);\n const zipEntries = zip.getEntries();\n\n for (const zipEntry of zipEntries) {\n if (!zipEntry.isDirectory) {\n // Extract the content of the file\n const data = zip.readFile(zipEntry);\n\n if (!data) {\n throw new Error(\n \"Exported smarcat document does not include any data\",\n );\n }\n\n const locale = zipEntry.entryName.replace(\".json\", \"\");\n const mappedLocale = smartcatLocaleToLanguageMap[locale];\n\n if (!mappedLocale) {\n this.logger?.warn(\n `Couldn't find map for SmartCat locale ${locale}, skipping file.`,\n );\n continue;\n }\n\n const parsedTranslations = JSON.parse(data.toString());\n\n // Process downloaded translations.\n let result = this.processSmartcatTranslations(\n defaultTranslations,\n parsedTranslations,\n );\n\n // Escape content variable delimiters.\n if (this.escapeBracketDelimiters) {\n result = this.parseTranslationVariableDelimiters(\n result,\n \"toLocalDelimiters\",\n );\n }\n\n translations[mappedLocale] = result;\n }\n }\n\n // Exit loop.\n exportSuccessful = true;\n } else if (checkResponse.status === 204) {\n this.logger?.info(\n `The task ID ${taskID} is not ready yet, will try again`,\n );\n\n // Wait for some time before checking again\n await setTimeoutAsync(pollInterval);\n } else if (checkResponse.status === 404) {\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 404`,\n );\n } else if (checkResponse.status === 422) {\n let response: unknown;\n try {\n // Convert ArrayBuffer to Buffer\n const buffer = Buffer.from(checkResponse.data);\n // Decode buffer to string\n const jsonString = buffer.toString(\"utf8\");\n\n response = jsonString;\n } catch {\n response = \"!! Unable to parse response !!\";\n }\n this.logger?.error(\n response,\n \"❌ Failed to download smartcat translations, endpoint returned 422\",\n );\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 422`,\n );\n } else {\n // Unknown status response.\n throw new Error(\n `Failed to download smartcat translations, endpoint returned unknown status code ${checkResponse.status}`,\n );\n }\n }\n\n if (!exportSuccessful) {\n throw new Error(\n \"Max retries reached when trying to export files from SmartCat.\",\n );\n }\n\n this.logger?.info(\n \"✅ Download target language locale documents complete.\",\n );\n\n return translations;\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed downloading locale files from SmartCat\\n\",\n );\n\n throw error;\n }\n }\n\n /**\n * Exposed method for uploading source translations to Smartcat.\n */\n public async uploadSourceTranslations(\n // Source translations that will be uploaded to SmartCat.\n sourceTranslations: TranslationUploadObject | TranslationUploadObject[],\n options?: {\n // When true, deleting all keys in the smartcat collection that does not exist in sourceTranslations.\n deleteMissingKeys?: boolean;\n },\n ): Promise<void> {\n try {\n const rawTranslationUploads = Array.isArray(sourceTranslations)\n ? sourceTranslations\n : [sourceTranslations];\n\n /**\n * Prepare translations for upload by:\n * 1. Ignore non-translatable values.\n * 2. Add suffix to key based on settings.\n * 3. Escape variable delimiters based on settings.\n */\n const preparedTranslationUploads = rawTranslationUploads.map(\n (translationUpload) => {\n let translations: TranslationObject = {};\n\n for (const [key, value] of Object.entries(\n translationUpload.translations,\n )) {\n if (!SmartcatApi.isTranslatableValue(value)) {\n continue;\n }\n const suffixedKey = this.addSuffixToKey(key, value);\n translations[suffixedKey] = value;\n }\n\n // Prepare variable delimiters.\n if (this.escapeBracketDelimiters) {\n translations = this.parseTranslationVariableDelimiters(\n translations,\n \"toSmartcatDelimiters\",\n );\n }\n\n return {\n ...translationUpload,\n translations,\n };\n },\n );\n\n /**\n * Upload all translations together and make the data purge in SC.\n */\n if (options?.deleteMissingKeys) {\n // Merge all prepared translations into one object.\n const combinedTranslations: TranslationObject =\n preparedTranslationUploads.reduce((acc, current) => {\n return { ...acc, ...current.translations };\n }, {});\n\n await this.smartcatUploadRequest(combinedTranslations, {\n deleteMissingKeys: true,\n });\n\n this.logger?.info(\"🧹 Deleted unused translations from Smartcat.\");\n }\n\n /**\n * Upload each translation object separately to apply labels.\n */\n for (const translationUpload of preparedTranslationUploads) {\n await this.smartcatUploadRequest(translationUpload.translations, {\n labels: translationUpload.appendLabels,\n });\n }\n\n this.logger?.info(\"✅ Upload source translations to SmartCat complete.\");\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed uploading source translations to SmartCat.\",\n );\n throw error;\n }\n }\n\n /**\n * Internal helper method for uploading source translations to Smartcat.\n * @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project\n */\n private async smartcatUploadRequest(\n sourceTranslations: TranslationObject,\n options?: {\n labels?: string[];\n deleteMissingKeys?: boolean;\n },\n ) {\n const queryParams = {\n format: \"json\",\n language: \"en\",\n collection: this.collectionName,\n \"delete-missing-keys\": !!options?.deleteMissingKeys,\n // TODO: was fallback empty string really needed?\n labels: SmartcatApi.prepareLabels(options?.labels) || \"\",\n };\n\n const url = `integration/v2/project/${this.projectId}/import`;\n\n const smartCatSourceLanguageBuffer = Buffer.from(\n JSON.stringify(sourceTranslations),\n );\n\n const fileBlob = new Blob([smartCatSourceLanguageBuffer], {\n type: \"application/octet-stream\",\n });\n\n const formData = new FormData();\n formData.append(\"file\", fileBlob);\n\n await this.axios.post(url, formData, {\n params: queryParams,\n headers: { \"Content-Type\": \"multipart/form-data\" },\n });\n }\n\n /**\n * Wait for SmartCat to fully translate all target languages.\n */\n public pollAndWaitForCompletedTranslations = async (\n pollRunLimit = 20,\n pollIntervalMs = 10000,\n ): Promise<boolean> => {\n let pollRunCount = 0;\n let translationCompleted = false;\n\n while (!translationCompleted && pollRunCount < pollRunLimit) {\n this.logger?.info(`⌛ SmartCat translations in progress.`);\n\n translationCompleted = await this.checkProjectTranslationStatus();\n pollRunCount += 1;\n\n if (!translationCompleted) {\n await setTimeoutAsync(pollIntervalMs);\n }\n }\n\n /**\n * HACK\n * Since there is a bug with smartcat returning true for `pretranslateCompleted`\n * before they are updated in smartcat. We implement an artificial sleep to let\n * smartcat update the target translations before we download them.\n */\n if (translationCompleted) {\n await setTimeoutAsync(60000);\n }\n\n this.logger?.info(\n translationCompleted\n ? \"✅ SmartCat translations completed.\"\n : \"❌ Max retries reached when waiting for SmartCat translations to complete.\",\n );\n\n return translationCompleted;\n };\n\n /**\n * Static util to prettify translation for writing to file-system\n */\n static readonly prettifyTranslation = (\n translation: TranslationObject,\n ): string => {\n return (\n stableStringify(translation, { space: 2 }) +\n // Add EOF newline\n `\\n`\n );\n };\n\n /**\n * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate\n */\n static readonly isTranslatableValue = (value: Nullish<string>): boolean => {\n // Trim to check if given string isn't just spaces which is not worth translating\n const parsedValue = value?.trim();\n\n // Ignore empty values\n if (!parsedValue) {\n return false;\n }\n\n // Don't translate values that are digits only\n return !isDigitsOnlyRegex.test(parsedValue);\n };\n\n /**\n * Centralized method to get Smartcat label based on environment.\n * ! Change with caution as it impacts how translaitons will be read from Smartcat.\n */\n static readonly getSmartcatLabel = (env: SmartcatEnvironment): string => {\n switch (env) {\n case SmartcatEnvironment.Dev:\n return \"DEV\";\n case SmartcatEnvironment.Stg:\n return \"STG\";\n // ! Not really reusable for other projects, didn't make sense right now to create generic label for it\n case SmartcatEnvironment.NewDesign:\n return \"NEW-DESIGN\";\n case SmartcatEnvironment.Prod:\n return \"MAIN\";\n default: {\n assertUnreachable(env);\n }\n }\n };\n\n /**\n * Get smartcat environment based on branch name\n */\n static readonly getSmartcatEnvironmentFromGhBranchName = (\n ghRepositoryBranchName: string,\n ): SmartcatEnvironment => {\n switch (ghRepositoryBranchName) {\n case \"master\":\n case \"main\": {\n return SmartcatEnvironment.Prod;\n }\n case \"new-design\": {\n return SmartcatEnvironment.NewDesign;\n }\n case \"beta\": // For store.core beta releases\n case \"stg\": // Historical GH repos\n case \"qa\": {\n return SmartcatEnvironment.Stg;\n }\n case \"alpha\": // For store.core alpha releases\n case \"dev\": // Historical GH repos\n case \"proto\": {\n return SmartcatEnvironment.Dev;\n }\n\n default: {\n throw new Error(\n `Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`,\n );\n }\n }\n };\n\n /**\n * Util to prepare labels for passing into request parameters\n */\n static readonly prepareLabels = (labels?: string[]): string | undefined => {\n return labels\n ?.map((label) => label.trim())\n .filter(Boolean)\n .join(\",\");\n };\n}\n"],"names":["SmartcatEnvironment","isDigitsOnlyRegex","languageToSmartcatLocaleMapping","Language","Ar","De","En","Es","Fr","El","It","Ja","Pt","Zh","Tw","SmartcatApi","projectId","collectionName","axios","logger","escapeBracketDelimiters","suffix","targetLanguages","hasSuffix","keyDelimiter","constructor","config","enableLogs","console","auth","suffixMode","suffixRegex","test","indexOf","Error","authBase64","Buffer","from","accountId","apiSecret","toString","create","httpsAgent","baseURL","headers","Authorization","getSmartcatLocaleToLanguageMap","invert","generateHashSuffixFromValue","value","shorthandHashCharCount","createHash","update","digest","substring","createSuffix","assert","createTranslationKey","parts","join","parseTranslationKey","key","split","addSuffixToKey","removeSuffixFromKey","slice","processSmartcatTranslations","sourceOfTruthTranslations","smartcatTranslations","sourceOfTruthKeysWithSuffix","Set","Object","entries","map","result","has","normalisedKey","parseVariableDelimiters","input","mode","icuStringDelimiters","open","close","delimiterOptions","local","smartcat","delimiters","to","includes","lastPosition","icuStringDepth","nextValidClosingVariableDelimiterIndex","i","length","currentChar","variableInnerContent","isVariableOpeningBracketPattern","innerContentStartIndex","closingVariableDelimiterIndex","illegalVariableCharacterRegex","isValidVariableOpeningDelimiters","parseTranslationVariableDelimiters","translations","fromEntries","checkProjectTranslationStatus","res","get","project","data","autoTranslationWorkflowId","workflowStages","find","workflow","stageType","id","documents","filter","doc","isInCollection","name","isRequestedTargetLanguage","Boolean","lang","targetLanguage","every","autoTranslationWorkflow","progress","error","downloadSmartcatTranslations","defaultTranslations","options","url","params","collections","zip","languages","labels","prepareLabels","smartcatLocaleToLanguageMap","exportResponse","post","taskID","pollMaxAttemptCount","maxAttemptCount","pollInterval","intervalMs","pollAttempt","exportSuccessful","checkUrl","checkResponse","responseType","validateStatus","status","AdmZip","zipEntries","getEntries","zipEntry","isDirectory","readFile","locale","entryName","replace","mappedLocale","warn","parsedTranslations","JSON","parse","info","setTimeoutAsync","response","buffer","jsonString","uploadSourceTranslations","sourceTranslations","rawTranslationUploads","Array","isArray","preparedTranslationUploads","translationUpload","isTranslatableValue","suffixedKey","deleteMissingKeys","combinedTranslations","reduce","acc","current","smartcatUploadRequest","appendLabels","queryParams","format","language","collection","smartCatSourceLanguageBuffer","stringify","fileBlob","Blob","type","formData","FormData","append","pollAndWaitForCompletedTranslations","pollRunLimit","pollIntervalMs","pollRunCount","translationCompleted","prettifyTranslation","translation","stableStringify","space","parsedValue","trim","getSmartcatLabel","env","assertUnreachable","getSmartcatEnvironmentFromGhBranchName","ghRepositoryBranchName","label"],"mappings":";;;;;;;;;;AA2CY,IAAAA,mBAAA,GAAA,gBAAAA,oBAAL,IAAA;EACLA,qBA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C,iBAAA,CAAkBD,GAAG,CAAA;QAAA;IACvB;EAEJ,CAAA;EAAA;AAAA;AAAA;EAKA,OAAgBE,sCAAyC,GACvDC,sBACwB,IAAA;IACxB,QAAQA,sBAAwB;MAC9B,KAAK,QAAA;MACL,KAAK,MAAQ;QAAA;UACJ,OAAA,MAAA,CAAA;QAAA;MAET,KAAK,YAAc;QAAA;UACV,OAAA,YAAA,CAAA;QAAA;MAET,KAAK,MAAA;MAAA;MACL,KAAK,KAAA;MAAA;MACL,KAAK,IAAM;QAAA;UACF,OAAA,IAAA,CAAA;QAAA;MAET,KAAK,OAAA;MAAA;MACL,KAAK,KAAA;MAAA;MACL,KAAK,OAAS;QAAA;UACL,OAAA,OAAA,CAAA;QAAA;MAGT;QAAS;UACP,MAAM,IAAIrL,KAAA,CACR,2BAA2BqL,sBAAsB,4BACnD,CAAA;QAAA;IACF;EAEJ,CAAA;EAAA;AAAA;AAAA;EAKA,OAAgB9E,aAAgB,GAACD,MAA0C,IAAA;IACzE,OAAOA,MACH,EAAA/D,GAAA,CAAK+I,KAAA,IAAUA,KAAM,CAAAN,IAAA,EAAM,CAAA,CAC5B9F,MAAO,CAAAK,OAAO,CACd,CAAA9D,IAAA,CAAK,GAAG,CAAA;EACb,CAAA;AACF;"}
|
package/lib/assets/box.svg
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<svg width="20" height="
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16 6.38208L10.444 3.60512C10.164 3.46496 9.836 3.46496 9.556 3.60512L6.778 4.9936L5.655 5.55524L4 6.38208L3.556 6.60391C3.215 6.77331 3 7.12421 3 7.50738V13.3779C3 13.7611 3.215 14.111 3.556 14.2814L10 17.5L12.75 16.1266L13.75 15.6265L16.444 14.2804C16.785 14.11 17 13.7601 17 13.3769V7.50738C17 7.12421 16.784 6.77331 16.444 6.60391L16 6.38208ZM10 4.50859L15.829 7.42067L13.701 8.48345L7.898 5.55827L10 4.50859ZM9.5 16.1256L4 13.3769V8.45925L9.5 11.208V16.1256ZM4.171 7.42067L6.775 6.11991L12.578 9.0451L10 10.3327L4.171 7.42067ZM16 13.3769L13.75 14.5012L12.75 15.0013L10.5 16.1256V11.208L12.75 10.0837V11.9541C12.75 12.2324 12.974 12.4583 13.25 12.4583C13.526 12.4583 13.75 12.2324 13.75 11.9541V9.58355L16 8.45925V13.3769Z" fill="#212124"/>
|
|
3
|
+
</svg>
|
package/lib/assets/close2.svg
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
|
|
1
|
+
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.7175 18.6475C5.4275 18.9375 5.4275 19.4175 5.7175 19.7075C6.0075 19.9975 6.4875 19.9975 6.7775 19.7075L12.9675 13.5175L19.1575 19.7075C19.4475 19.9975 19.9275 19.9975 20.2175 19.7075C20.5075 19.4175 20.5075 18.9375 20.2175 18.6475L14.0275 12.4675L20.2175 6.2775C20.5075 5.9875 20.5075 5.5075 20.2175 5.2175C19.9275 4.9275 19.4475 4.9275 19.1575 5.2175L12.9675 11.4075L6.7775 5.2175C6.4875 4.9275 6.0075 4.9275 5.7175 5.2175C5.4275 5.5075 5.4275 5.9875 5.7175 6.2775L11.9075 12.4675L5.7175 18.6475Z" fill="#36373C"/>
|
|
4
3
|
</svg>
|
package/lib/assets/hand.svg
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="icon">
|
|
3
|
+
<path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M16.8836 6.84646V6.85954C17.2037 6.62296 17.6035 6.48247 18.0371 6.48247C19.089 6.48247 19.9417 7.30916 19.9417 8.32893V9.82431C20.2619 9.58767 20.6617 9.44714 21.0954 9.44714C22.1473 9.44714 23 10.2738 23 11.2936L22.9999 19.4738C22.9999 22.5258 20.4479 25 17.2998 25L14.9693 25C13.232 25 11.5463 24.4268 10.1897 23.3747C8.69236 22.2135 7.55375 20.6751 6.89863 18.9281L6.12164 16.8561C5.40452 14.9437 8.0391 13.5632 9.29645 15.1925L10.0161 16.1251V8.32893C10.0161 7.30916 10.8689 6.48247 11.9207 6.48247C12.3544 6.48247 12.7542 6.623 13.0744 6.85965V6.84646C13.0744 5.82669 13.9271 5 14.979 5C16.0309 5 16.8836 5.82669 16.8836 6.84646ZM21.8599 19.4738L21.86 11.2936C21.86 10.8842 21.5177 10.5524 21.0954 10.5524C20.6732 10.5524 20.3309 10.8842 20.3309 11.2936V15.7178C20.3309 16.1401 19.9885 16.4824 19.5663 16.4824C19.144 16.4824 18.8017 16.1401 18.8017 15.7178V8.32893C18.8017 7.91957 18.4594 7.58771 18.0371 7.58771C17.6149 7.58771 17.2726 7.91957 17.2726 8.32893V14.6127C17.2726 15.0349 16.9304 15.3772 16.5082 15.3772C16.0859 15.3772 15.7437 15.035 15.7436 14.6127L15.7436 6.84646C15.7436 6.4371 15.4013 6.10524 14.979 6.10524C14.5568 6.10524 14.2144 6.4371 14.2144 6.84646V15.7178C14.2144 16.1401 13.8721 16.4824 13.4499 16.4824C13.0276 16.4824 12.6853 16.1401 12.6853 15.7178V8.32893C12.6853 7.91957 12.343 7.58771 11.9207 7.58771C11.4985 7.58771 11.1562 7.91957 11.1562 8.32893L11.1562 18.4508C11.1562 18.7696 10.7374 18.9047 10.5404 18.6494L8.38362 15.8546C7.91212 15.2436 6.92414 15.7613 7.19307 16.4785L7.97005 18.5505C8.55365 20.1067 9.56796 21.4772 10.9018 22.5116C11.9609 23.3329 13.2555 23.8113 14.6035 23.8848C14.7251 23.8914 14.847 23.8948 14.9693 23.8948L15.1203 23.8948V23.8987H16.2603V23.8948H17.2998C19.8182 23.8948 21.8599 21.9154 21.8599 19.4738Z" fill="#212124"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
export { default as box } from "./box.svg";
|
|
2
|
-
export { default as hand } from "./hand.svg";
|
|
3
1
|
export { default as minus } from "./minus.svg";
|
|
4
2
|
export { default as plus } from "./plus.svg";
|
|
5
|
-
export { default as popoverPointer } from "./popoverPointer.svg";
|
|
6
|
-
export { default as warranty } from "./warranty.svg";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|