flowrix 1.0.1-beta.16 → 1.0.1-beta.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.d.mts +1 -6
- package/dist/module.json +1 -1
- package/dist/module.mjs +126 -155
- package/dist/runtime/components/DynamicComponents/SubscriptionForm.d.vue.ts +3 -0
- package/dist/runtime/components/DynamicComponents/SubscriptionForm.vue +60 -0
- package/dist/runtime/components/DynamicComponents/SubscriptionForm.vue.d.ts +3 -0
- package/dist/runtime/components/DynamicComponents/WebForm.d.vue.ts +7 -0
- package/dist/runtime/components/DynamicComponents/WebForm.vue +115 -0
- package/dist/runtime/components/DynamicComponents/WebForm.vue.d.ts +7 -0
- package/dist/runtime/components/Pages/dynamic.d.vue.ts +7 -0
- package/dist/runtime/components/Pages/dynamic.vue +124 -0
- package/dist/runtime/components/Pages/dynamic.vue.d.ts +7 -0
- package/dist/runtime/components/Pages/index.d.vue.ts +7 -0
- package/dist/runtime/components/Pages/index.vue +214 -0
- package/dist/runtime/components/Pages/index.vue.d.ts +7 -0
- package/dist/runtime/components/Product/AddToCart.d.vue.ts +15 -0
- package/dist/runtime/components/Product/AddToCart.vue +176 -0
- package/dist/runtime/components/Product/AddToCart.vue.d.ts +15 -0
- package/dist/runtime/components/Product/AddtoCartSample.d.vue.ts +6 -0
- package/dist/runtime/components/Product/AddtoCartSample.vue +110 -0
- package/dist/runtime/components/Product/AddtoCartSample.vue.d.ts +6 -0
- package/dist/runtime/components/Product/Badges.d.vue.ts +13 -0
- package/dist/runtime/components/Product/Badges.vue +84 -0
- package/dist/runtime/components/Product/Badges.vue.d.ts +13 -0
- package/dist/runtime/components/Product/Description.d.vue.ts +9 -0
- package/dist/runtime/components/Product/Description.vue +96 -0
- package/dist/runtime/components/Product/Description.vue.d.ts +9 -0
- package/dist/runtime/components/Product/Dynamic.d.vue.ts +9 -0
- package/dist/runtime/components/Product/Dynamic.vue +136 -0
- package/dist/runtime/components/Product/Dynamic.vue.d.ts +9 -0
- package/dist/runtime/components/Product/Gallery.d.vue.ts +11 -0
- package/dist/runtime/components/Product/Gallery.vue +133 -0
- package/dist/runtime/components/Product/Gallery.vue.d.ts +11 -0
- package/dist/runtime/components/Product/PopUpCart.d.vue.ts +11 -0
- package/dist/runtime/components/Product/PopUpCart.vue +155 -0
- package/dist/runtime/components/Product/PopUpCart.vue.d.ts +11 -0
- package/dist/runtime/components/Product/ProductInfo.d.vue.ts +7 -0
- package/dist/runtime/components/Product/ProductInfo.vue +105 -0
- package/dist/runtime/components/Product/ProductInfo.vue.d.ts +7 -0
- package/dist/runtime/components/Product/RequiredPopUp.d.vue.ts +9 -0
- package/dist/runtime/components/Product/RequiredPopUp.vue +57 -0
- package/dist/runtime/components/Product/RequiredPopUp.vue.d.ts +9 -0
- package/dist/runtime/components/Product/bundleProduct/Bundle.d.vue.ts +13 -0
- package/dist/runtime/components/Product/bundleProduct/Bundle.vue +35 -0
- package/dist/runtime/components/Product/bundleProduct/Bundle.vue.d.ts +13 -0
- package/dist/runtime/components/Product/bundleProduct/index.d.vue.ts +8 -0
- package/dist/runtime/components/Product/bundleProduct/index.vue +32 -0
- package/dist/runtime/components/Product/bundleProduct/index.vue.d.ts +8 -0
- package/dist/runtime/components/Product/customProduct/AddtoCartSample.d.vue.ts +6 -0
- package/dist/runtime/components/Product/customProduct/AddtoCartSample.vue +101 -0
- package/dist/runtime/components/Product/customProduct/AddtoCartSample.vue.d.ts +6 -0
- package/dist/runtime/components/Product/customProduct/Attributes.d.vue.ts +9 -0
- package/dist/runtime/components/Product/customProduct/Attributes.vue +12 -0
- package/dist/runtime/components/Product/customProduct/Attributes.vue.d.ts +9 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/drop-down.d.vue.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/drop-down.vue +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/drop-down.vue.d.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-collection.d.vue.ts +3 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-collection.vue +253 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-collection.vue.d.ts +3 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-colors.d.vue.ts +3 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-colors.vue +253 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-colors.vue.d.ts +3 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-values.d.vue.ts +3 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-values.vue +214 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/multi-values.vue.d.ts +3 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/style.d.vue.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/style.vue +9 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/style.vue.d.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/swatch.d.vue.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/swatch.vue +9 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/swatch.vue.d.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/PopupContent/Popup.d.vue.ts +9 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/PopupContent/Popup.vue +133 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/PopupContent/Popup.vue.d.ts +9 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/SingleAttribute.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/SingleAttribute.vue +35 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/SingleAttribute.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/SingleSlide.d.vue.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/SingleSlide.vue +134 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/SingleSlide.vue.d.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/SingleSlidemagnifier.d.vue.ts +15 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/SingleSlidemagnifier.vue +138 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/SingleSlidemagnifier.vue.d.ts +15 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/button.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/button.vue +149 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/button.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/dropdown.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/dropdown.vue +82 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/dropdown.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/dropdownWithIcon.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/dropdownWithIcon.vue +108 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/dropdownWithIcon.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/height.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/height.vue +104 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/height.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/imageBox.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/imageBox.vue +87 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/imageBox.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/imageBoxWithMagnifier.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/imageBoxWithMagnifier.vue +219 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/imageBoxWithMagnifier.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/message.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/message.vue +36 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/message.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/number.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/number.vue +45 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/number.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/orderSample/button.d.vue.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/orderSample/button.vue +48 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/orderSample/button.vue.d.ts +13 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/radio.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/radio.vue +154 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/radio.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/slider.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/slider.vue +111 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/slider.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/sliderWithMagnifier.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/sliderWithMagnifier.vue +269 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/sliderWithMagnifier.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/subheight.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/subheight.vue +63 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/subheight.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/subwidth.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/subwidth.vue +63 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/subwidth.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/swatch.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/swatch.vue +220 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/swatch.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/text.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/text.vue +47 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/text.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/width.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/width.vue +91 -0
- package/dist/runtime/components/Product/customProduct/AttributesComponents/Styles/width.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/ConfirmPopup.d.vue.ts +9 -0
- package/dist/runtime/components/Product/customProduct/ConfirmPopup.vue +25 -0
- package/dist/runtime/components/Product/customProduct/ConfirmPopup.vue.d.ts +9 -0
- package/dist/runtime/components/Product/customProduct/RequiredPopUp.d.vue.ts +9 -0
- package/dist/runtime/components/Product/customProduct/RequiredPopUp.vue +49 -0
- package/dist/runtime/components/Product/customProduct/RequiredPopUp.vue.d.ts +9 -0
- package/dist/runtime/components/Product/customProduct/Reviews.d.vue.ts +7 -0
- package/dist/runtime/components/Product/customProduct/Reviews.vue +25 -0
- package/dist/runtime/components/Product/customProduct/Reviews.vue.d.ts +7 -0
- package/dist/runtime/components/Product/customProduct/SingleStep.d.vue.ts +11 -0
- package/dist/runtime/components/Product/customProduct/SingleStep.vue +11 -0
- package/dist/runtime/components/Product/customProduct/SingleStep.vue.d.ts +11 -0
- package/dist/runtime/components/Product/customProduct/Steps.d.vue.ts +9 -0
- package/dist/runtime/components/Product/customProduct/Steps.vue +221 -0
- package/dist/runtime/components/Product/customProduct/Steps.vue.d.ts +9 -0
- package/dist/runtime/components/Product/customProduct/index.d.vue.ts +9 -0
- package/dist/runtime/components/Product/customProduct/index.vue +272 -0
- package/dist/runtime/components/Product/customProduct/index.vue.d.ts +9 -0
- package/dist/runtime/components/Product/index.d.vue.ts +8 -0
- package/dist/runtime/components/Product/index.vue +88 -0
- package/dist/runtime/components/Product/index.vue.d.ts +8 -0
- package/dist/runtime/components/Product/sampleProduct/ProductVariation.d.vue.ts +5 -0
- package/dist/runtime/components/Product/sampleProduct/ProductVariation.vue +61 -0
- package/dist/runtime/components/Product/sampleProduct/ProductVariation.vue.d.ts +5 -0
- package/dist/runtime/components/Product/sampleProduct/SampleDetails.d.vue.ts +7 -0
- package/dist/runtime/components/Product/sampleProduct/SampleDetails.vue +74 -0
- package/dist/runtime/components/Product/sampleProduct/SampleDetails.vue.d.ts +7 -0
- package/dist/runtime/components/Product/sampleProduct/SampleFeatures.d.vue.ts +9 -0
- package/dist/runtime/components/Product/sampleProduct/SampleFeatures.vue +63 -0
- package/dist/runtime/components/Product/sampleProduct/SampleFeatures.vue.d.ts +9 -0
- package/dist/runtime/components/Product/sampleProduct/index.d.vue.ts +8 -0
- package/dist/runtime/components/Product/sampleProduct/index.vue +64 -0
- package/dist/runtime/components/Product/sampleProduct/index.vue.d.ts +8 -0
- package/dist/runtime/components/Product/simpleProduct/ProductVariation.d.vue.ts +5 -0
- package/dist/runtime/components/Product/simpleProduct/ProductVariation.vue +61 -0
- package/dist/runtime/components/Product/simpleProduct/ProductVariation.vue.d.ts +5 -0
- package/dist/runtime/components/Product/simpleProduct/index.d.vue.ts +8 -0
- package/dist/runtime/components/Product/simpleProduct/index.vue +34 -0
- package/dist/runtime/components/Product/simpleProduct/index.vue.d.ts +8 -0
- package/dist/runtime/components/SampleProductCard.d.vue.ts +13 -0
- package/dist/runtime/components/SampleProductCard.vue +362 -0
- package/dist/runtime/components/SampleProductCard.vue.d.ts +13 -0
- package/dist/runtime/components/Types/brand/index.d.vue.ts +6 -0
- package/dist/runtime/components/Types/brand/index.vue +12 -0
- package/dist/runtime/components/Types/brand/index.vue.d.ts +6 -0
- package/dist/runtime/components/Types/category/index.d.vue.ts +6 -0
- package/dist/runtime/components/Types/category/index.vue +50 -0
- package/dist/runtime/components/Types/category/index.vue.d.ts +6 -0
- package/dist/runtime/components/Types/dynamic.d.vue.ts +7 -0
- package/dist/runtime/components/Types/dynamic.vue +160 -0
- package/dist/runtime/components/Types/dynamic.vue.d.ts +7 -0
- package/dist/runtime/components/Types/page/index.d.vue.ts +7 -0
- package/dist/runtime/components/Types/page/index.vue +47 -0
- package/dist/runtime/components/Types/page/index.vue.d.ts +7 -0
- package/dist/runtime/components/Types/post/index.d.vue.ts +6 -0
- package/dist/runtime/components/Types/post/index.vue +51 -0
- package/dist/runtime/components/Types/post/index.vue.d.ts +6 -0
- package/dist/runtime/components/Types/product/index.d.vue.ts +6 -0
- package/dist/runtime/components/Types/product/index.vue +10 -0
- package/dist/runtime/components/Types/product/index.vue.d.ts +6 -0
- package/dist/runtime/components/WishList/dropdown.d.vue.ts +9 -0
- package/dist/runtime/components/WishList/dropdown.vue +417 -0
- package/dist/runtime/components/WishList/dropdown.vue.d.ts +9 -0
- package/dist/runtime/components/WishList/modal.d.vue.ts +13 -0
- package/dist/runtime/components/WishList/modal.vue +229 -0
- package/dist/runtime/components/WishList/modal.vue.d.ts +13 -0
- package/dist/runtime/composables/Blog/useBlogIndex.d.ts +2 -5
- package/dist/runtime/composables/Blog/useBlogSingle.js +6 -9
- package/dist/runtime/composables/Brand/brand.d.ts +1 -1
- package/dist/runtime/composables/Brand/brand.js +30 -2
- package/dist/runtime/composables/Cart/useCart.d.ts +40 -0
- package/dist/runtime/composables/Cart/useCart.js +10 -0
- package/dist/runtime/composables/Cart/useCartComponent.d.ts +1 -0
- package/dist/runtime/composables/Cart/useCartComponent.js +11 -0
- package/dist/runtime/composables/Cart/useCartDetail.d.ts +15 -5
- package/dist/runtime/composables/Cart/useCartDetail.js +3 -0
- package/dist/runtime/composables/Category/useCategoryIndex.d.ts +25 -32
- package/dist/runtime/composables/Category/useCategoryIndex.js +63 -44
- package/dist/runtime/composables/Checkout/PaymentMethods/useDirectDeposit.js +8 -0
- package/dist/runtime/composables/Checkout/PaymentMethods/useEway.js +16 -6
- package/dist/runtime/composables/Checkout/PaymentMethods/useFlowrixpay.d.ts +40 -1
- package/dist/runtime/composables/Checkout/PaymentMethods/useFlowrixpay.js +10 -2
- package/dist/runtime/composables/Checkout/PaymentMethods/useOpayo.d.ts +40 -1
- package/dist/runtime/composables/Checkout/PaymentMethods/useOpayo.js +10 -2
- package/dist/runtime/composables/Checkout/PaymentMethods/usePaymentMethods.js +3 -14
- package/dist/runtime/composables/Checkout/PaymentMethods/usePaypal.js +8 -0
- package/dist/runtime/composables/Checkout/PaymentMethods/useStripe.d.ts +2 -2
- package/dist/runtime/composables/Checkout/PaymentMethods/useStripe.js +8 -0
- package/dist/runtime/composables/Checkout/PaymentMethods/useZippay.js +8 -0
- package/dist/runtime/composables/Checkout/useCheckout.d.ts +90 -73
- package/dist/runtime/composables/Checkout/useCheckout.js +117 -53
- package/dist/runtime/composables/Checkout/useCheckoutBillingAddress.d.ts +43 -0
- package/dist/runtime/composables/Checkout/useCheckoutBillingAddress.js +84 -0
- package/dist/runtime/composables/Checkout/useCheckoutShippingAddress.d.ts +55 -0
- package/dist/runtime/composables/Checkout/useCheckoutShippingAddress.js +196 -0
- package/dist/runtime/composables/Checkout/useCreateAccount.d.ts +7 -7
- package/dist/runtime/composables/Checkout/useCreateAccount.js +3 -1
- package/dist/runtime/composables/Checkout/useDeliveryMethod.d.ts +2 -2
- package/dist/runtime/composables/Checkout/useDeliveryMethod.js +8 -27
- package/dist/runtime/composables/Customer/useBillingAddress.d.ts +115 -0
- package/dist/runtime/composables/Customer/useBillingAddress.js +95 -0
- package/dist/runtime/composables/Customer/useLogin.d.ts +9 -0
- package/dist/runtime/composables/Customer/useLogin.js +34 -0
- package/dist/runtime/composables/Customer/useOrders.d.ts +29 -0
- package/dist/runtime/composables/Customer/useOrders.js +56 -0
- package/dist/runtime/composables/Customer/usePasswordReset.d.ts +26 -0
- package/dist/runtime/composables/Customer/usePasswordReset.js +258 -0
- package/dist/runtime/composables/Customer/useProfile.d.ts +75 -0
- package/dist/runtime/composables/Customer/useProfile.js +106 -0
- package/dist/runtime/composables/Customer/useQuotations.d.ts +32 -0
- package/dist/runtime/composables/Customer/useQuotations.js +40 -0
- package/dist/runtime/composables/Customer/useRegister.d.ts +121 -13
- package/dist/runtime/composables/Customer/useRegister.js +310 -35
- package/dist/runtime/composables/Customer/useShippingAddress.d.ts +124 -0
- package/dist/runtime/composables/Customer/useShippingAddress.js +146 -0
- package/dist/runtime/composables/Customer/useUpdatePassword.d.ts +21 -0
- package/dist/runtime/composables/Customer/useUpdatePassword.js +130 -0
- package/dist/runtime/composables/Customer/useUserCards.d.ts +22 -0
- package/dist/runtime/composables/Customer/useUserCards.js +65 -0
- package/dist/runtime/composables/{useWishlists.d.ts → Customer/useWishlists.d.ts} +7 -20
- package/dist/runtime/composables/{useWishlists.js → Customer/useWishlists.js} +21 -30
- package/dist/runtime/composables/Extras/useCountry.d.ts +11 -6
- package/dist/runtime/composables/Extras/useCountry.js +5 -4
- package/dist/runtime/composables/Footer/useFooter.d.ts +4 -4
- package/dist/runtime/composables/Footer/useFooter.js +12 -8
- package/dist/runtime/composables/Header/useHeader.d.ts +6 -20
- package/dist/runtime/composables/Header/useHeader.js +3 -2
- package/dist/runtime/composables/Product/CustomProduct/useAttributes.js +4 -0
- package/dist/runtime/composables/Product/CustomProduct/useCustomeScript.d.ts +4 -0
- package/dist/runtime/composables/Product/CustomProduct/useCustomeScript.js +9 -16
- package/dist/runtime/composables/Product/CustomProduct/useSteps.d.ts +1 -1
- package/dist/runtime/composables/Product/CustomProductDynamic/useAttributeTypeDynamic.d.ts +3 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useAttributeTypeDynamic.js +20 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useAttributesDynamic.d.ts +70 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useAttributesDynamic.js +63 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useCustomProductDynamic.d.ts +74 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useCustomProductDynamic.js +107 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useCustomeScriptDynamic.d.ts +159 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useCustomeScriptDynamic.js +2079 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useSingleAttributeDynamic.d.ts +4 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useSingleAttributeDynamic.js +27 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useSingleStepDynamic.d.ts +68 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useSingleStepDynamic.js +21 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useSingleValueDynamic.d.ts +67 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useSingleValueDynamic.js +15 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useStepsDynamic.d.ts +88 -0
- package/dist/runtime/composables/Product/CustomProductDynamic/useStepsDynamic.js +72 -0
- package/dist/runtime/composables/Product/useProductCard.d.ts +90 -9
- package/dist/runtime/composables/Product/useProductCard.js +257 -55
- package/dist/runtime/composables/Product/useProductComponent.d.ts +1 -3
- package/dist/runtime/composables/Product/useProductComponent.js +105 -1
- package/dist/runtime/composables/Product/useProductSlug.d.ts +8 -1
- package/dist/runtime/composables/Product/useQuickView.d.ts +8 -0
- package/dist/runtime/composables/Product/useQuickView.js +26 -0
- package/dist/runtime/composables/Product/useService.d.ts +31 -15
- package/dist/runtime/composables/Product/useService.js +138 -49
- package/dist/runtime/composables/Samples/useSamples.d.ts +5 -6
- package/dist/runtime/composables/Samples/useSamples.js +19 -15
- package/dist/runtime/composables/SideBar/Filters/useFilters.d.ts +2 -2
- package/dist/runtime/composables/SideBar/Filters/useSorting.d.ts +2 -2
- package/dist/runtime/composables/index.d.ts +28 -13
- package/dist/runtime/composables/index.js +28 -13
- package/dist/runtime/composables/useAddresses.js +29 -8
- package/dist/runtime/composables/useApp.d.ts +1 -0
- package/dist/runtime/composables/useApp.js +87 -0
- package/dist/runtime/composables/useCards.js +2 -3
- package/dist/runtime/composables/useClientApi.d.ts +8 -8
- package/dist/runtime/composables/useClientApi.js +74 -30
- package/dist/runtime/composables/useCookieConsent.d.ts +48 -0
- package/dist/runtime/composables/useCookieConsent.js +185 -0
- package/dist/runtime/composables/useDataLayer.js +1 -1
- package/dist/runtime/composables/useDotDigital.d.ts +3 -0
- package/dist/runtime/composables/useDotDigital.js +122 -0
- package/dist/runtime/composables/useLocation.d.ts +49 -19
- package/dist/runtime/composables/useLocation.js +332 -25
- package/dist/runtime/composables/useMetaLayer.js +13 -13
- package/dist/runtime/composables/usePriceCalculation.d.ts +33 -0
- package/dist/runtime/composables/usePriceCalculation.js +107 -0
- package/dist/runtime/composables/useQuotationCheckout.d.ts +78 -0
- package/dist/runtime/composables/useQuotationCheckout.js +137 -0
- package/dist/runtime/composables/useSubscriptions.d.ts +17 -10
- package/dist/runtime/composables/useSubscriptions.js +68 -33
- package/dist/runtime/composables/useTikTokDatalayer.js +7 -7
- package/dist/runtime/composables/useWebforms.d.ts +38 -9
- package/dist/runtime/composables/useWebforms.js +93 -60
- package/dist/runtime/middleware/flowrix.d.ts +5 -4
- package/dist/runtime/middleware/flowrix.js +41 -23
- package/dist/runtime/middleware/flowrixs3.d.ts +3 -0
- package/dist/runtime/middleware/flowrixs3.js +65 -0
- package/dist/runtime/pages/404.d.vue.ts +3 -0
- package/dist/runtime/pages/404.vue +6 -0
- package/dist/runtime/pages/404.vue.d.ts +3 -0
- package/dist/runtime/pages/flowrix-default.d.vue.ts +3 -0
- package/dist/runtime/pages/flowrix-default.vue +112 -0
- package/dist/runtime/pages/flowrix-default.vue.d.ts +3 -0
- package/dist/runtime/plugin.d.ts +1 -1
- package/dist/runtime/plugins/bootstrap.client.d.ts +3 -0
- package/dist/runtime/plugins/bootstrap.client.js +4 -0
- package/dist/runtime/plugins/full-reload.client.d.ts +2 -0
- package/dist/runtime/plugins/full-reload.client.js +28 -0
- package/dist/runtime/plugins/router.d.ts +2 -0
- package/dist/runtime/plugins/router.js +11 -0
- package/dist/runtime/server/api/albums.js +15 -14
- package/dist/runtime/server/api/auth/login.d.ts +0 -11
- package/dist/runtime/server/api/auth/login.js +0 -69
- package/dist/runtime/server/api/banners.d.ts +0 -1
- package/dist/runtime/server/api/banners.js +15 -37
- package/dist/runtime/server/api/brand/[...slug].js +26 -0
- package/dist/runtime/server/api/brand/index.js +20 -0
- package/dist/runtime/server/api/cache/[...slug].delete.d.ts +4 -1
- package/dist/runtime/server/api/cache/[...slug].delete.js +3 -7
- package/dist/runtime/server/api/cache/clean.get.d.ts +5 -0
- package/dist/runtime/server/api/cache/clean.get.js +3 -7
- package/dist/runtime/server/api/cart/[slug]/add.d.ts +0 -2
- package/dist/runtime/server/api/cart/[slug]/add.js +0 -21
- package/dist/runtime/server/api/cart/[slug]/update.d.ts +0 -2
- package/dist/runtime/server/api/cart/[slug]/update.js +0 -21
- package/dist/runtime/server/api/cart/related.d.ts +0 -0
- package/dist/runtime/server/api/cart/related.js +0 -0
- package/dist/runtime/server/api/cart/remove.d.ts +0 -2
- package/dist/runtime/server/api/cart/remove.js +0 -21
- package/dist/runtime/server/api/catalog/brands.js +20 -0
- package/dist/runtime/server/api/catalog/categories.d.ts +0 -1
- package/dist/runtime/server/api/catalog/categories.js +16 -39
- package/dist/runtime/server/api/catalog/categoriesall.js +20 -0
- package/dist/runtime/server/api/catalog/featured.d.ts +0 -1
- package/dist/runtime/server/api/catalog/featured.js +16 -37
- package/dist/runtime/server/api/catalog/posts.js +20 -0
- package/dist/runtime/server/api/catalog/samples.d.ts +0 -1
- package/dist/runtime/server/api/catalog/samples.js +16 -40
- package/dist/runtime/server/api/catalog/search.d.ts +0 -1
- package/dist/runtime/server/api/catalog/search.js +16 -40
- package/dist/runtime/server/api/category/[...slug].d.ts +1 -2
- package/dist/runtime/server/api/category/[...slug].js +37 -41
- package/dist/runtime/server/api/checkout/applyCoupon.d.ts +0 -2
- package/dist/runtime/server/api/checkout/applyCoupon.js +0 -20
- package/dist/runtime/server/api/checkout/configs.d.ts +0 -2
- package/dist/runtime/server/api/checkout/configs.js +0 -20
- package/dist/runtime/server/api/checkout/countries.d.ts +0 -2
- package/dist/runtime/server/api/checkout/countries.js +0 -17
- package/dist/runtime/server/api/checkout/paymentmethod.d.ts +0 -2
- package/dist/runtime/server/api/checkout/paymentmethod.js +0 -20
- package/dist/runtime/server/api/checkout/quotation/guest/customer.d.ts +0 -0
- package/dist/runtime/server/api/checkout/quotation/guest/customer.js +0 -0
- package/dist/runtime/server/api/{blog/[slug].d.ts → checkvariables.d.ts} +1 -1
- package/dist/runtime/server/api/checkvariables.js +36 -0
- package/dist/runtime/server/api/cmspost/[...slug].js +23 -0
- package/dist/runtime/server/api/cmspost/all.d.ts +3 -0
- package/dist/runtime/server/api/cmspost/all.js +51 -0
- package/dist/runtime/server/api/company/profile.js +15 -14
- package/dist/runtime/server/api/contact-center/webforms/[id]/details.d.ts +0 -3
- package/dist/runtime/server/api/contact-center/webforms/[id]/details.js +0 -19
- package/dist/runtime/server/api/countries.js +19 -0
- package/dist/runtime/server/api/customer/wishlist/deleteFromWishList.d.ts +0 -2
- package/dist/runtime/server/api/customer/wishlist/deleteFromWishList.js +0 -46
- package/dist/runtime/server/api/featured.d.ts +0 -0
- package/dist/runtime/server/api/featured.js +0 -0
- package/dist/runtime/server/api/generate/robots.get.d.ts +2 -0
- package/dist/runtime/server/api/generate/robots.get.js +18 -0
- package/dist/runtime/server/api/generate/sitemap.get.js +28 -0
- package/dist/runtime/server/api/global/[...slug].js +20 -0
- package/dist/runtime/server/api/location.d.ts +0 -2
- package/dist/runtime/server/api/location.js +0 -13
- package/dist/runtime/server/api/nav/[id]/links.js +21 -15
- package/dist/runtime/server/api/page/[...slug].js +23 -0
- package/dist/runtime/server/api/permalink/[...slug].get.js +31 -0
- package/dist/runtime/server/api/product/[...slug].d.ts +0 -1
- package/dist/runtime/server/api/product/[...slug].js +18 -37
- package/dist/runtime/server/api/quickview/[slug].js +22 -0
- package/dist/runtime/server/api/reviews.d.ts +2 -0
- package/dist/runtime/server/api/reviews.js +22 -0
- package/dist/runtime/server/api/reviews3.d.ts +2 -0
- package/dist/runtime/server/api/reviews3.js +19 -0
- package/dist/runtime/server/api/samples.d.ts +2 -0
- package/dist/runtime/server/api/samples.js +20 -0
- package/dist/runtime/server/api/search.d.ts +2 -0
- package/dist/runtime/server/api/search.js +20 -0
- package/dist/runtime/server/api/service/[slug].d.ts +0 -1
- package/dist/runtime/server/api/service/[slug].js +15 -40
- package/dist/runtime/server/api/service/availability.js +14 -12
- package/dist/runtime/server/api/service/getall.d.ts +2 -0
- package/dist/runtime/server/api/service/getall.js +19 -0
- package/dist/runtime/server/api/shop.d.ts +2 -0
- package/dist/runtime/server/api/shop.js +20 -0
- package/dist/runtime/server/api/subscribe.d.ts +0 -2
- package/dist/runtime/server/api/subscribe.js +0 -16
- package/dist/runtime/server/api/webform.d.ts +0 -0
- package/dist/runtime/server/api/webform.js +0 -0
- package/dist/runtime/server/middleware/powertools.d.ts +9 -0
- package/dist/runtime/server/middleware/powertools.js +30 -0
- package/dist/runtime/server/tsconfig.json +3 -3
- package/dist/runtime/stores/Booking.js +23 -7
- package/dist/runtime/stores/Cart.d.ts +12 -0
- package/dist/runtime/stores/Cart.js +87 -17
- package/dist/runtime/stores/Checkout.d.ts +9 -15
- package/dist/runtime/stores/Checkout.js +57 -50
- package/dist/runtime/stores/NavMenu.js +2 -4
- package/dist/runtime/stores/Search.d.ts +1 -1
- package/dist/runtime/stores/Search.js +9 -3
- package/dist/runtime/stores/Services.d.ts +5 -0
- package/dist/runtime/stores/Services.js +59 -8
- package/dist/runtime/stores/auth.d.ts +30 -6
- package/dist/runtime/stores/auth.js +380 -8
- package/dist/runtime/stores/countries.d.ts +1 -3
- package/dist/runtime/stores/countries.js +4 -8
- package/dist/runtime/stores/index.d.ts +0 -1
- package/dist/runtime/stores/index.js +0 -1
- package/dist/runtime/stores/locations.d.ts +1 -5
- package/dist/runtime/stores/locations.js +8 -5
- package/dist/runtime/stores/product/README.md +6 -6
- package/dist/runtime/stores/product/slug.d.ts +1 -17
- package/dist/runtime/stores/product.js +9 -3
- package/dist/runtime/stores/promotions.d.ts +51 -0
- package/dist/runtime/stores/promotions.js +65 -0
- package/dist/runtime/stores/useCompanyProfile.js +5 -2
- package/dist/runtime/stores/webforms.d.ts +24 -9
- package/dist/runtime/stores/webforms.js +105 -5
- package/dist/runtime/stores/wishlists.d.ts +125 -8
- package/dist/runtime/stores/wishlists.js +212 -20
- package/dist/runtime/utils/htmlCache.d.ts +2 -2
- package/dist/runtime/utils/htmlCache.js +23 -13
- package/dist/types.d.mts +6 -2
- package/package.json +27 -7
- package/dist/runtime/composables/Checkout/useBillingAddress.d.ts +0 -19
- package/dist/runtime/composables/Checkout/useBillingAddress.js +0 -82
- package/dist/runtime/composables/Checkout/useShippingAddress.d.ts +0 -9
- package/dist/runtime/composables/Checkout/useShippingAddress.js +0 -121
- package/dist/runtime/composables/useAuth.d.ts +0 -45
- package/dist/runtime/composables/useAuth.js +0 -180
- package/dist/runtime/composables/useCountries.d.ts +0 -12
- package/dist/runtime/composables/useCountries.js +0 -50
- package/dist/runtime/composables/useLocations.d.ts +0 -12
- package/dist/runtime/composables/useLocations.js +0 -53
- package/dist/runtime/composables/useOrders.d.ts +0 -21
- package/dist/runtime/composables/useOrders.js +0 -82
- package/dist/runtime/composables/useQuotations.d.ts +0 -14
- package/dist/runtime/composables/useQuotations.js +0 -50
- package/dist/runtime/server/api/auth/forgot.d.ts +0 -5
- package/dist/runtime/server/api/auth/forgot.js +0 -44
- package/dist/runtime/server/api/auth/logout.d.ts +0 -5
- package/dist/runtime/server/api/auth/logout.js +0 -23
- package/dist/runtime/server/api/auth/register.js +0 -51
- package/dist/runtime/server/api/auth/session.get.js +0 -46
- package/dist/runtime/server/api/auth/user/reset-password.d.ts +0 -5
- package/dist/runtime/server/api/auth/user/reset-password.js +0 -40
- package/dist/runtime/server/api/auth/user/session.js +0 -43
- package/dist/runtime/server/api/auth/user/verify-token.d.ts +0 -6
- package/dist/runtime/server/api/auth/user/verify-token.js +0 -50
- package/dist/runtime/server/api/blog/[slug].js +0 -51
- package/dist/runtime/server/api/blog/blog.d.ts +0 -3
- package/dist/runtime/server/api/blog/blog.js +0 -17
- package/dist/runtime/server/api/brand/[slug].d.ts +0 -3
- package/dist/runtime/server/api/brand/[slug].js +0 -58
- package/dist/runtime/server/api/cart/service/[slug]/add.js +0 -16
- package/dist/runtime/server/api/contact-center/webforms/create.js +0 -16
- package/dist/runtime/server/api/customer/address/add.d.ts +0 -14
- package/dist/runtime/server/api/customer/address/add.js +0 -33
- package/dist/runtime/server/api/customer/address/delete.d.ts +0 -20
- package/dist/runtime/server/api/customer/address/delete.js +0 -37
- package/dist/runtime/server/api/customer/address/setshipping.d.ts +0 -20
- package/dist/runtime/server/api/customer/address/setshipping.js +0 -41
- package/dist/runtime/server/api/customer/address/update.d.ts +0 -20
- package/dist/runtime/server/api/customer/address/update.js +0 -42
- package/dist/runtime/server/api/customer/cards/delete.d.ts +0 -2
- package/dist/runtime/server/api/customer/cards/delete.js +0 -23
- package/dist/runtime/server/api/customer/cards/get.d.ts +0 -2
- package/dist/runtime/server/api/customer/cards/get.js +0 -17
- package/dist/runtime/server/api/customer/change-password.d.ts +0 -14
- package/dist/runtime/server/api/customer/change-password.js +0 -34
- package/dist/runtime/server/api/customer/checkout.js +0 -20
- package/dist/runtime/server/api/customer/orders.d.ts +0 -2
- package/dist/runtime/server/api/customer/orders.js +0 -17
- package/dist/runtime/server/api/customer/profile/update.d.ts +0 -14
- package/dist/runtime/server/api/customer/profile/update.js +0 -34
- package/dist/runtime/server/api/customer/quotations.d.ts +0 -2
- package/dist/runtime/server/api/customer/quotations.js +0 -17
- package/dist/runtime/server/api/customer/search.js +0 -15
- package/dist/runtime/server/api/customer/tax-invoice.d.ts +0 -8
- package/dist/runtime/server/api/customer/tax-invoice.js +0 -36
- package/dist/runtime/server/api/customer/wishlist/add.js +0 -30
- package/dist/runtime/server/api/customer/wishlist/createWishList.js +0 -29
- package/dist/runtime/server/api/customer/wishlist/deleteWishList.js +0 -30
- package/dist/runtime/server/api/customer/wishlist/get.d.ts +0 -2
- package/dist/runtime/server/api/customer/wishlist/get.js +0 -17
- package/dist/runtime/server/api/customer/wishlist/getWishListItems.js +0 -21
- package/dist/runtime/server/api/customer/wishlist/updateWishList.js +0 -30
- package/dist/runtime/server/api/page/[slug].d.ts +0 -3
- package/dist/runtime/server/api/page/[slug].js +0 -51
- package/dist/runtime/server/api/v2/[...slug].d.ts +0 -3
- package/dist/runtime/server/api/v2/[...slug].js +0 -9
- package/dist/runtime/stores/IpLocation.d.ts +0 -18
- package/dist/runtime/stores/IpLocation.js +0 -29
- package/dist/runtime/utils/api.d.ts +0 -13
- package/dist/runtime/utils/api.js +0 -102
- /package/dist/runtime/server/api/{auth/register.d.ts → brand/[...slug].d.ts} +0 -0
- /package/dist/runtime/server/api/{auth/session.get.d.ts → brand/index.d.ts} +0 -0
- /package/dist/runtime/server/api/{auth/user/session.d.ts → catalog/brands.d.ts} +0 -0
- /package/dist/runtime/server/api/{cart/service/[slug]/add.d.ts → catalog/categoriesall.d.ts} +0 -0
- /package/dist/runtime/server/api/{contact-center/webforms/create.d.ts → catalog/posts.d.ts} +0 -0
- /package/dist/runtime/server/api/{customer/checkout.d.ts → cmspost/[...slug].d.ts} +0 -0
- /package/dist/runtime/server/api/{customer/search.d.ts → countries.d.ts} +0 -0
- /package/dist/runtime/server/api/{customer/wishlist/add.d.ts → generate/sitemap.get.d.ts} +0 -0
- /package/dist/runtime/server/api/{customer/wishlist/createWishList.d.ts → global/[...slug].d.ts} +0 -0
- /package/dist/runtime/server/api/{customer/wishlist/deleteWishList.d.ts → page/[...slug].d.ts} +0 -0
- /package/dist/runtime/server/api/{customer/wishlist/getWishListItems.d.ts → permalink/[...slug].get.d.ts} +0 -0
- /package/dist/runtime/server/api/{customer/wishlist/updateWishList.d.ts → quickview/[slug].d.ts} +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
</script>
|
|
3
|
+
<template>
|
|
4
|
+
<div id="i0b24" class="product-multi-val-attr-wrapper gjs-selected">
|
|
5
|
+
<div id="ic7a9" class="button-attribute-wrapper button-style-1">
|
|
6
|
+
<div id="i69qb" class="row g-2">
|
|
7
|
+
<div id="icsef" class="col-6 value-item position-relative"><input id="button_attr_1" type="radio"
|
|
8
|
+
name="button_attribute" value="1" checked="checked"
|
|
9
|
+
class="buttonInput position-absolute w-100 h-100"><label id="ine0r" for="button_attr_1"
|
|
10
|
+
class="value-label"><img id="ix1ye" src="https://via.placeholder.com/28" width="28" height="28"
|
|
11
|
+
class="button-img"><span id="ih6ke" class="value-title">Option 1</span></label></div>
|
|
12
|
+
<div id="ikn3f" class="col-6 value-item position-relative"><input id="button_attr_2" type="radio"
|
|
13
|
+
name="button_attribute" value="2" class="buttonInput position-absolute w-100 h-100"><label
|
|
14
|
+
id="ily9o" for="button_attr_2" class="value-label"><img id="iu7uw"
|
|
15
|
+
src="https://via.placeholder.com/28" width="28" height="28" class="button-img"><span
|
|
16
|
+
id="ie09h" class="value-title">Option 2</span></label></div>
|
|
17
|
+
<div id="icq0x" class="col-6 value-item position-relative"><input id="button_attr_3" type="radio"
|
|
18
|
+
name="button_attribute" value="3" class="buttonInput position-absolute w-100 h-100"><label
|
|
19
|
+
id="i3pb4" for="button_attr_3" class="value-label"><img id="i7pj6"
|
|
20
|
+
src="https://via.placeholder.com/28" width="28" height="28" class="button-img"><span
|
|
21
|
+
id="i92u5" class="value-title">Option 3</span></label></div>
|
|
22
|
+
<div id="i2fag" class="col-6 value-item position-relative"><input id="button_attr_4" type="radio"
|
|
23
|
+
name="button_attribute" value="4" class="buttonInput position-absolute w-100 h-100"><label
|
|
24
|
+
id="iobrh" for="button_attr_4" class="value-label"><img id="ibtrj"
|
|
25
|
+
src="https://via.placeholder.com/28" width="28" height="28" class="button-img"><span
|
|
26
|
+
id="isx1f" class="value-title">Option 4</span></label></div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div id="ippj5" class="product-radio-wrapper radio-style-1">
|
|
30
|
+
<div id="i2xgl" class="row g-2">
|
|
31
|
+
<div id="i2ikk" class="col-6 value-item position-relative"><input id="attribute_1" type="radio"
|
|
32
|
+
name="product_attribute" value="1" checked="checked"
|
|
33
|
+
class="buttonInput position-absolute w-100 h-100"><label id="i44pr" for="attribute_1"
|
|
34
|
+
class="value-label">
|
|
35
|
+
<div id="i78wb" class="radio-icon"><span id="iabji" class="radio-outer"><span id="iu1uf"
|
|
36
|
+
class="radio-inner"></span></span></div>
|
|
37
|
+
<span id="i0yfa" class="value-title">Option 1</span>
|
|
38
|
+
</label></div>
|
|
39
|
+
<div id="imcwl" class="col-6 value-item position-relative"><input id="attribute_2" type="radio"
|
|
40
|
+
name="product_attribute" value="2" class="buttonInput position-absolute w-100 h-100"><label
|
|
41
|
+
id="iok5i" for="attribute_2" class="value-label">
|
|
42
|
+
<div id="iex4q" class="radio-icon"><span id="iet3j" class="radio-outer"><span id="i8fwi"
|
|
43
|
+
class="radio-inner"></span></span></div>
|
|
44
|
+
<span id="i91ql" class="value-title">Option 2</span>
|
|
45
|
+
</label></div>
|
|
46
|
+
<div id="inr5f" class="col-6 value-item position-relative"><input id="attribute_3" type="radio"
|
|
47
|
+
name="product_attribute" value="3" class="buttonInput position-absolute w-100 h-100"><label
|
|
48
|
+
id="iwcno" for="attribute_3" class="value-label">
|
|
49
|
+
<div id="ifbyr" class="radio-icon"><span id="i9ziw" class="radio-outer"><span id="ig8ng"
|
|
50
|
+
class="radio-inner"></span></span></div>
|
|
51
|
+
<span id="ibaud" class="value-title">Option 3</span>
|
|
52
|
+
</label></div>
|
|
53
|
+
<div id="i4agj" class="col-6 value-item position-relative"><input id="attribute_4" type="radio"
|
|
54
|
+
name="product_attribute" value="4" class="buttonInput position-absolute w-100 h-100"><label
|
|
55
|
+
id="irtqh" for="attribute_4" class="value-label">
|
|
56
|
+
<div id="if15x" class="radio-icon"><span id="iqrxv" class="radio-outer"><span id="iyghg"
|
|
57
|
+
class="radio-inner"></span></span></div>
|
|
58
|
+
<span id="i9cug" class="value-title">Option 4</span>
|
|
59
|
+
</label></div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div id="i2alo" class="dropdown-attribute-wrapper dropdown-style-1">
|
|
63
|
+
<div id="iokk3" class="dropdown-select position-relative"><input id="dropdown_selected" type="radio"
|
|
64
|
+
name="dropdown_attribute" value="1" checked="checked"
|
|
65
|
+
class="dropdownInput position-absolute w-100 h-100"><span id="ijjf6" class="selected-title">Select
|
|
66
|
+
Option</span></div>
|
|
67
|
+
<ul id="il10w" class="dropdown-options position-absolute list-unstyled">
|
|
68
|
+
<li id="i97l6" class="option-item position-relative is-selected"><input id="dropdown_option_1"
|
|
69
|
+
type="radio" name="dropdown_attribute_option" value="1"
|
|
70
|
+
class="dropdownOptionInput position-absolute w-100 h-100"><span id="i2wwl"
|
|
71
|
+
class="option-title">Option 1</span></li>
|
|
72
|
+
<li id="itqt1" class="option-item position-relative"><input id="dropdown_option_2" type="radio"
|
|
73
|
+
name="dropdown_attribute_option" value="2"
|
|
74
|
+
class="dropdownOptionInput position-absolute w-100 h-100"><span id="iy8qm"
|
|
75
|
+
class="option-title">Option 2</span></li>
|
|
76
|
+
<li id="ieal9" class="option-item position-relative"><input id="dropdown_option_3" type="radio"
|
|
77
|
+
name="dropdown_attribute_option" value="3"
|
|
78
|
+
class="dropdownOptionInput position-absolute w-100 h-100"><span id="i5kgep"
|
|
79
|
+
class="option-title">Option 3</span></li>
|
|
80
|
+
</ul>
|
|
81
|
+
</div>
|
|
82
|
+
<div id="ihv3ne" class="dropdown-icon-attribute-wrapper dropdown-style-1">
|
|
83
|
+
<div id="ic08jx" class="dropdown-select position-relative"><input id="dropdown_icon_selected" type="radio"
|
|
84
|
+
name="dropdown_icon_attribute" value="1" checked="checked"
|
|
85
|
+
class="dropdownInput position-absolute w-100 h-100"><img id="iijzg3"
|
|
86
|
+
src="https://via.placeholder.com/32" class="selected-icon"><span id="ihly5g"
|
|
87
|
+
class="selected-title">Select Option</span>
|
|
88
|
+
</div>
|
|
89
|
+
<ul id="izdfcp" class="dropdown-options position-absolute list-unstyled" style="display: none;">
|
|
90
|
+
<li id="iyjnab" class="option-item position-relative is-selected"><input id="dropdown_icon_option_1"
|
|
91
|
+
type="radio" name="dropdown_icon_attribute_option" value="1"
|
|
92
|
+
class="dropdownOptionInput position-absolute w-100 h-100"><img id="i3m8cg"
|
|
93
|
+
src="https://via.placeholder.com/32" class="option-icon"><span id="isxql6"
|
|
94
|
+
class="option-title">Option 1</span></li>
|
|
95
|
+
<li id="i4uf3v" class="option-item position-relative"><input id="dropdown_icon_option_2" type="radio"
|
|
96
|
+
name="dropdown_icon_attribute_option" value="2"
|
|
97
|
+
class="dropdownOptionInput position-absolute w-100 h-100">
|
|
98
|
+
<div id="is1135" style="background-color: #ff6b6b" class="option-icon-color"></div><span id="i7a1ys"
|
|
99
|
+
class="option-title">Option 2</span>
|
|
100
|
+
</li>
|
|
101
|
+
<li id="icfq7b" class="option-item position-relative"><input id="dropdown_icon_option_3" type="radio"
|
|
102
|
+
name="dropdown_icon_attribute_option" value="3"
|
|
103
|
+
class="dropdownOptionInput position-absolute w-100 h-100">
|
|
104
|
+
<div id="i4iljy" style="background-color: #4ecdc4" class="option-icon-color"></div><span id="ia36w1"
|
|
105
|
+
class="option-title">Option 3</span>
|
|
106
|
+
</li>
|
|
107
|
+
</ul>
|
|
108
|
+
</div>
|
|
109
|
+
<div id="i5zugl" class="imagebox-attribute-wrapper imagebox-style-1">
|
|
110
|
+
<div id="i4t0uc" class="row g-2">
|
|
111
|
+
<div id="itmlyt" class="col-4 value-item position-relative"><input id="imagebox_attr_1" type="radio"
|
|
112
|
+
name="imagebox_attribute" value="1" checked="checked"
|
|
113
|
+
class="imageboxInput position-absolute w-100 h-100"><label id="idsqx4" for="imagebox_attr_1"
|
|
114
|
+
class="value-label"><img id="i228j3" src="https://via.placeholder.com/100"
|
|
115
|
+
class="imagebox-img"><span id="i7b2kq" class="value-title">Option 1</span></label></div>
|
|
116
|
+
<div id="i6wyud" class="col-4 value-item position-relative"><input id="imagebox_attr_2" type="radio"
|
|
117
|
+
name="imagebox_attribute" value="2" class="imageboxInput position-absolute w-100 h-100"><label
|
|
118
|
+
id="iepyxg" for="imagebox_attr_2" class="value-label"><img id="i0fclr"
|
|
119
|
+
src="https://via.placeholder.com/100/ff6b6b" class="imagebox-img"><span id="iq9flj"
|
|
120
|
+
class="value-title">Option 2</span></label></div>
|
|
121
|
+
<div id="itx68b" class="col-4 value-item position-relative"><input id="imagebox_attr_3" type="radio"
|
|
122
|
+
name="imagebox_attribute" value="3" class="imageboxInput position-absolute w-100 h-100"><label
|
|
123
|
+
id="i3jzbd" for="imagebox_attr_3" class="value-label"><img id="i338ud"
|
|
124
|
+
src="https://via.placeholder.com/100/4ecdc4" class="imagebox-img"><span id="i4qzkt"
|
|
125
|
+
class="value-title">Option 3</span></label></div>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
<div id="i0ddkn" class="imagebox-magnifier-attribute-wrapper imagebox-style-1">
|
|
129
|
+
<div id="iwdhsh" class="row g-2">
|
|
130
|
+
<div id="iha6tk" class="col-4 value-item position-relative"><input id="imagebox_magnifier_attr_1"
|
|
131
|
+
type="radio" name="imagebox_magnifier_attribute" value="1" checked="checked"
|
|
132
|
+
class="imageboxInput position-absolute w-100 h-100"><label id="iomp9x"
|
|
133
|
+
for="imagebox_magnifier_attr_1" class="value-label">
|
|
134
|
+
<div id="ijpn5f" class="image-container position-relative"><svg id="ii693k"
|
|
135
|
+
xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewbox="0 0 512 512"
|
|
136
|
+
class="magnifier-icon position-absolute">
|
|
137
|
+
<path id="iuv1ss" fill="currentColor"
|
|
138
|
+
d="M416 208c0 45.9-14.9 88.3-40 122.7l126.6 126.7c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208M208 352a144 144 0 1 0 0-288a144 144 0 1 0 0 288">
|
|
139
|
+
</path>
|
|
140
|
+
</svg><img id="i7tvxd" src="https://via.placeholder.com/100"
|
|
141
|
+
data-large="https://via.placeholder.com/450" class="imagebox-img"></div><span
|
|
142
|
+
id="i0vlqh" class="value-title">Option 1</span>
|
|
143
|
+
</label></div>
|
|
144
|
+
<div id="ixn7tb" class="col-4 value-item position-relative"><input id="imagebox_magnifier_attr_2"
|
|
145
|
+
type="radio" name="imagebox_magnifier_attribute" value="2"
|
|
146
|
+
class="imageboxInput position-absolute w-100 h-100"><label id="ifnz1k"
|
|
147
|
+
for="imagebox_magnifier_attr_2" class="value-label">
|
|
148
|
+
<div id="i50oua" class="image-container position-relative"><svg id="itc5kt"
|
|
149
|
+
xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewbox="0 0 512 512"
|
|
150
|
+
class="magnifier-icon position-absolute">
|
|
151
|
+
<path id="i0hdgi" fill="currentColor"
|
|
152
|
+
d="M416 208c0 45.9-14.9 88.3-40 122.7l126.6 126.7c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208M208 352a144 144 0 1 0 0-288a144 144 0 1 0 0 288">
|
|
153
|
+
</path>
|
|
154
|
+
</svg><img id="i7r80m" src="https://via.placeholder.com/100/ff6b6b"
|
|
155
|
+
data-large="https://via.placeholder.com/450/ff6b6b" class="imagebox-img"></div><span
|
|
156
|
+
id="i35td4" class="value-title">Option 2</span>
|
|
157
|
+
</label></div>
|
|
158
|
+
<div id="ifqv2t" class="col-4 value-item position-relative"><input id="imagebox_magnifier_attr_3"
|
|
159
|
+
type="radio" name="imagebox_magnifier_attribute" value="3"
|
|
160
|
+
class="imageboxInput position-absolute w-100 h-100"><label id="ih8vf3"
|
|
161
|
+
for="imagebox_magnifier_attr_3" class="value-label">
|
|
162
|
+
<div id="ixbanv" class="image-container position-relative"><svg id="iz6glb"
|
|
163
|
+
xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewbox="0 0 512 512"
|
|
164
|
+
class="magnifier-icon position-absolute">
|
|
165
|
+
<path id="il9vhi" fill="currentColor"
|
|
166
|
+
d="M416 208c0 45.9-14.9 88.3-40 122.7l126.6 126.7c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208M208 352a144 144 0 1 0 0-288a144 144 0 1 0 0 288">
|
|
167
|
+
</path>
|
|
168
|
+
</svg><img id="iiptm5" src="https://via.placeholder.com/100/4ecdc4"
|
|
169
|
+
data-large="https://via.placeholder.com/450/4ecdc4" class="imagebox-img"></div><span
|
|
170
|
+
id="iljq8c" class="value-title">Option 3</span>
|
|
171
|
+
</label></div>
|
|
172
|
+
</div>
|
|
173
|
+
<div id="i44d31" class="magnifier-modal">
|
|
174
|
+
<div id="ibfcy2" class="modal-overlay"></div>
|
|
175
|
+
<div id="idkf6g" class="modal-content-wrapper"><button id="igd9j8" type="button" aria-label="Close"
|
|
176
|
+
class="btn-close">×</button>
|
|
177
|
+
<div id="ic6qng" class="modal-image-container"><img id="iga40w" alt="Large view"
|
|
178
|
+
class="modal-image">
|
|
179
|
+
<div id="isb2kj" class="image-title"></div>
|
|
180
|
+
</div>
|
|
181
|
+
<div id="i7m3uk" class="modal-nav"><button id="ia9o5i" type="button"
|
|
182
|
+
class="nav-btn prev-btn">‹</button><button id="idss7n" type="button"
|
|
183
|
+
class="nav-btn next-btn">›</button></div>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
<div id="iinzcs" class="swatch-attribute-wrapper swatch-style-1">
|
|
188
|
+
<div id="iugwf8" class="row g-2">
|
|
189
|
+
<div id="ixl119" class="col-4 value-item position-relative"><input id="swatch_attr_1" type="radio"
|
|
190
|
+
name="swatch_attribute" value="1" checked="checked"
|
|
191
|
+
class="swatchInput position-absolute w-100 h-100"><label id="i7z0iv" for="swatch_attr_1"
|
|
192
|
+
class="value-label">
|
|
193
|
+
<div id="icev7v" class="image-container"><img id="i1kae1" src="https://via.placeholder.com/100"
|
|
194
|
+
class="w-100 h-100 object-fit-contain"></div><span id="ivmadj" class="value-title">Color
|
|
195
|
+
1</span>
|
|
196
|
+
</label></div>
|
|
197
|
+
<div id="i18l3k" class="col-4 value-item position-relative"><input id="swatch_attr_2" type="radio"
|
|
198
|
+
name="swatch_attribute" value="2" class="swatchInput position-absolute w-100 h-100"><label
|
|
199
|
+
id="i674sr" for="swatch_attr_2" class="value-label">
|
|
200
|
+
<div id="ihj4xy" class="image-container">
|
|
201
|
+
<div id="ikonst" style="background-color: #ff6b6b" class="swatch-iconcolor"></div>
|
|
202
|
+
</div><span id="ikzoxp" class="value-title">Color 2</span>
|
|
203
|
+
</label></div>
|
|
204
|
+
<div id="i7b3q2" class="col-4 value-item position-relative"><input id="swatch_attr_3" type="radio"
|
|
205
|
+
name="swatch_attribute" value="3" class="swatchInput position-absolute w-100 h-100"><label
|
|
206
|
+
id="iqhdsk" for="swatch_attr_3" class="value-label">
|
|
207
|
+
<div id="ipxysk" class="image-container">
|
|
208
|
+
<div id="iwl73x" style="background-color: #4ecdc4" class="swatch-iconcolor"></div>
|
|
209
|
+
</div><span id="ip2nhg" class="value-title">Color 3</span>
|
|
210
|
+
</label></div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof __VLS_props>;
|
|
5
|
+
product?: Record<string, any> | undefined;
|
|
6
|
+
attribute?: Record<string, any> | undefined;
|
|
7
|
+
group?: Record<string, any> | undefined;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const __VLS_props: {
|
|
10
|
+
readonly product?: Record<string, any> | undefined;
|
|
11
|
+
readonly attribute?: Record<string, any> | undefined;
|
|
12
|
+
readonly group?: Record<string, any> | undefined;
|
|
13
|
+
};
|
package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/style.vue
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { defineProps, ref, defineAsyncComponent } from "vue";
|
|
3
|
+
const { attribute, group, product } = defineProps({ "attribute": Object, "group": Object, "product": Object });
|
|
4
|
+
const { DesignComponent } = useAttributeTypeDynamic(attribute, group, product.template);
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<component :is="DesignComponent" :group="group" :attribute="attribute" />
|
|
9
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof __VLS_props>;
|
|
5
|
+
product?: Record<string, any> | undefined;
|
|
6
|
+
attribute?: Record<string, any> | undefined;
|
|
7
|
+
group?: Record<string, any> | undefined;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const __VLS_props: {
|
|
10
|
+
readonly product?: Record<string, any> | undefined;
|
|
11
|
+
readonly attribute?: Record<string, any> | undefined;
|
|
12
|
+
readonly group?: Record<string, any> | undefined;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof __VLS_props>;
|
|
5
|
+
product?: Record<string, any> | undefined;
|
|
6
|
+
attribute?: Record<string, any> | undefined;
|
|
7
|
+
group?: Record<string, any> | undefined;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const __VLS_props: {
|
|
10
|
+
readonly product?: Record<string, any> | undefined;
|
|
11
|
+
readonly attribute?: Record<string, any> | undefined;
|
|
12
|
+
readonly group?: Record<string, any> | undefined;
|
|
13
|
+
};
|
package/dist/runtime/components/Product/customProduct/AttributesComponents/AttributeType/swatch.vue
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { defineProps, ref, defineAsyncComponent } from "vue";
|
|
3
|
+
const { attribute, group, product } = defineProps({ "attribute": Object, "group": Object, product: Object });
|
|
4
|
+
const { DesignComponent } = useAttributeTypeDynamic(attribute, group, product.template);
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<component :is="DesignComponent" :group="group" :attribute="attribute" />
|
|
9
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof __VLS_props>;
|
|
5
|
+
product?: Record<string, any> | undefined;
|
|
6
|
+
attribute?: Record<string, any> | undefined;
|
|
7
|
+
group?: Record<string, any> | undefined;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const __VLS_props: {
|
|
10
|
+
readonly product?: Record<string, any> | undefined;
|
|
11
|
+
readonly attribute?: Record<string, any> | undefined;
|
|
12
|
+
readonly group?: Record<string, any> | undefined;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof __VLS_props>;
|
|
5
|
+
attribute?: Record<string, any> | undefined;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const __VLS_props: {
|
|
8
|
+
readonly attribute?: Record<string, any> | undefined;
|
|
9
|
+
};
|
package/dist/runtime/components/Product/customProduct/AttributesComponents/PopupContent/Popup.vue
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref } from "vue";
|
|
3
|
+
const { attribute } = defineProps({ "attribute": Object });
|
|
4
|
+
const showContent = ref(false);
|
|
5
|
+
const activePopup = ref("");
|
|
6
|
+
const showContentPopUp = ((currentPopup, css, contentType = "text") => {
|
|
7
|
+
let tagData = {
|
|
8
|
+
content_id: attribute.title,
|
|
9
|
+
content_type: contentType
|
|
10
|
+
// or "text"
|
|
11
|
+
};
|
|
12
|
+
GTM_Attribute_Content(tagData);
|
|
13
|
+
let styleId = "popupcontent";
|
|
14
|
+
const existingStyleTag = document.getElementById(styleId);
|
|
15
|
+
if (existingStyleTag) {
|
|
16
|
+
existingStyleTag.remove();
|
|
17
|
+
}
|
|
18
|
+
const styleTag = document.createElement("style");
|
|
19
|
+
styleTag.id = styleId;
|
|
20
|
+
styleTag.innerHTML = `.content_modal { ${css} }.modal-content video {
|
|
21
|
+
height: unset !important;
|
|
22
|
+
}`;
|
|
23
|
+
document.head.appendChild(styleTag);
|
|
24
|
+
showContent.value = true;
|
|
25
|
+
activePopup.value = currentPopup;
|
|
26
|
+
});
|
|
27
|
+
const hideContent = () => {
|
|
28
|
+
showContent.value = false;
|
|
29
|
+
activePopup.value = "";
|
|
30
|
+
};
|
|
31
|
+
const sortContents = ((contentData) => {
|
|
32
|
+
return contentData.sort((a, b) => b.iconstyle_id - a.iconstyle_id);
|
|
33
|
+
});
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<template>
|
|
37
|
+
<div class="content-icons" v-if="attribute.content.length > 0">
|
|
38
|
+
<div class="content-icon" v-for="(content, index) in sortContents(attribute.content)">
|
|
39
|
+
<i @click="showContentPopUp(`attributcontent${content.id}_${index}`, content.content.css)"
|
|
40
|
+
v-if="content.iconstyle_id == 1" data-bs-toggle="modal"
|
|
41
|
+
:data-bs-target="`#attributcontent${content.id}_${index}`" class="text-primary fas fa-question-circle">
|
|
42
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
43
|
+
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
44
|
+
stroke-width="1.5">
|
|
45
|
+
<path d="M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0" />
|
|
46
|
+
<path d="M12 13.496c0-2.003 2-1.503 2-3.506c0-2.659-4-2.659-4 0m2 6.007v-.5" />
|
|
47
|
+
</g>
|
|
48
|
+
</svg>
|
|
49
|
+
</i>
|
|
50
|
+
<i @click="showContentPopUp(`attributcontent${content.id}_${index}`, content.content.css,'video')"
|
|
51
|
+
v-if="content.iconstyle_id == 2" data-bs-toggle="modal"
|
|
52
|
+
:data-bs-target="`#attributcontent${content.id}_${index}`" class="text-primary fas fa-play-circle">
|
|
53
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16">
|
|
54
|
+
<g fill="none" stroke="currentColor" stroke-width="1">
|
|
55
|
+
<path d="M14.5 8a6.5 6.5 0 1 1-13 0a6.5 6.5 0 0 1 13 0Z" />
|
|
56
|
+
<path d="M11 8L6.5 5v6z" />
|
|
57
|
+
</g>
|
|
58
|
+
</svg>
|
|
59
|
+
</i>
|
|
60
|
+
<i @click="showContentPopUp(`attributcontent${content.id}_${index}`, content.content.css)"
|
|
61
|
+
v-if="content.iconstyle_id == 3" data-bs-toggle="modal"
|
|
62
|
+
:data-bs-target="`#attributcontent${content.id}_${index}`"
|
|
63
|
+
class="text-primary fas fa-exclamation-circle">
|
|
64
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
65
|
+
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
66
|
+
stroke-width="1">
|
|
67
|
+
<path stroke-width="1.5"
|
|
68
|
+
d="M12 2.5A9.5 9.5 0 0 0 2.5 12a9.5 9.5 0 1 0 19 0A9.5 9.5 0 0 0 12 2.5m-.005 4.222v6.334" />
|
|
69
|
+
<path stroke-width="2" d="M12.044 16.557h-.01" />
|
|
70
|
+
</g>
|
|
71
|
+
</svg></i>
|
|
72
|
+
<i @click="showContentPopUp(`attributcontent${content.id}_${index}`, content.content.css)"
|
|
73
|
+
v-if="content.iconstyle_id == 4" data-bs-toggle="modal"
|
|
74
|
+
:data-bs-target="`#attributcontent${content.id}_${index}`" class="text-primary fas fa-info-circle">
|
|
75
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
76
|
+
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
77
|
+
stroke-width="1.5">
|
|
78
|
+
<path d="M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0" />
|
|
79
|
+
<path d="M12 16v-5h-.5m0 5h1M12 8.5V8" />
|
|
80
|
+
</g>
|
|
81
|
+
</svg>
|
|
82
|
+
</i>
|
|
83
|
+
<i @click="showContentPopUp(`attributcontent${content.id}_${index}`, content.content.css)"
|
|
84
|
+
v-if="content.iconstyle_id == 5" data-bs-toggle="modal"
|
|
85
|
+
:data-bs-target="`#attributcontent${content.id}_${index}`" class="text-primary fas fa-image">
|
|
86
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 3.5a8.5 8.5 0 0 0-6.51 13.965l4.934-4.843a2.25 2.25 0 0 1 3.152 0l4.935 4.843A8.5 8.5 0 0 0 12 3.5m5.449 15.024l-4.924-4.831a.75.75 0 0 0-1.05 0L6.55 18.524A8.47 8.47 0 0 0 12 20.5a8.47 8.47 0 0 0 5.449-1.976M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12m13.25-2.5a.75.75 0 1 1 0-1.5a.75.75 0 0 1 0 1.5m0 1.5a2.25 2.25 0 1 0 0-4.5a2.25 2.25 0 0 0 0 4.5"/></svg>
|
|
87
|
+
</i>
|
|
88
|
+
|
|
89
|
+
<div class="modals modal"
|
|
90
|
+
v-if="showContent == true && activePopup == `attributcontent${content.id}_${index}`">
|
|
91
|
+
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
|
|
92
|
+
<div class="modal-content rounded-4">
|
|
93
|
+
<div class="modal-header bg-secondary py-1">
|
|
94
|
+
<h3 class="modal-title w-100 fs-4 fw-semibold text-center fw-normal text-white">
|
|
95
|
+
{{ content.title }}
|
|
96
|
+
</h3>
|
|
97
|
+
<span type="button" @click="hideContent()" class="btn-close text-white"
|
|
98
|
+
aria-label="Close"></span>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="modal-body " v-html="content.content.html">
|
|
101
|
+
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</template>
|
|
109
|
+
|
|
110
|
+
<style scoped>
|
|
111
|
+
.modal {
|
|
112
|
+
z-index: 9999909999;
|
|
113
|
+
background-color: rgba(51, 51, 51, 0.55);
|
|
114
|
+
width: 100vw;
|
|
115
|
+
height: 100vh;
|
|
116
|
+
display: flex;
|
|
117
|
+
}
|
|
118
|
+
.modal .modal-dialog .image {
|
|
119
|
+
width: 100%;
|
|
120
|
+
height: 88px;
|
|
121
|
+
object-fit: cover;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@media only screen and (max-width: 768px) {
|
|
125
|
+
.modal-dialog {
|
|
126
|
+
width: 100% !important;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
</style>
|
|
130
|
+
|
|
131
|
+
<style scoped>
|
|
132
|
+
.content-icons{display:inline-flex!important;flex-wrap:wrap!important;gap:5px;margin-left:5px}.content-icon i{cursor:pointer}.content-icon i:hover{color:unset!important}.modal-content :deep(iframe){min-height:268px!important}.modal-content :deep(video){width:100%}.modal-content :deep(h1){font-size:22px;font-weight:600;margin-top:10px}.modal.show .modal-dialog{opacity:1}.btn-close{filter:brightness(0) invert(1);height:10px;opacity:1;position:absolute;right:15px;top:15px;width:10px}
|
|
133
|
+
</style>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof __VLS_props>;
|
|
5
|
+
attribute?: Record<string, any> | undefined;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const __VLS_props: {
|
|
8
|
+
readonly attribute?: Record<string, any> | undefined;
|
|
9
|
+
};
|
package/dist/runtime/components/Product/customProduct/AttributesComponents/SingleAttribute.d.vue.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
2
|
+
product?: any;
|
|
3
|
+
attribute?: any;
|
|
4
|
+
group?: any;
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
6
|
+
product?: any;
|
|
7
|
+
attribute?: any;
|
|
8
|
+
group?: any;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
package/dist/runtime/components/Product/customProduct/AttributesComponents/SingleAttribute.vue
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { defineProps } from "vue";
|
|
3
|
+
const { attribute, group, product } = defineProps(["attribute", "group", "product"]);
|
|
4
|
+
const { AttributeComponent, currentTemplate } = useSingleAttributeDynamic(attribute, group, product.template);
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<div v-show="!attribute.hide" class="single-attribute"
|
|
9
|
+
:class="`attributeof${attribute.parent} attribute${attribute.id}`">
|
|
10
|
+
<component :is="AttributeComponent" :product v-show="!attribute.hide" class="my-2 py-2 gy-3" :group="group"
|
|
11
|
+
:attribute="attribute" />
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<style scoped>
|
|
16
|
+
.single-attribute :deep(.attribute-label) {
|
|
17
|
+
font-family: Poppins, Georgia, Times New Roman, Times, serif;
|
|
18
|
+
font-size: 15px;
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
white-space: break-spaces;
|
|
21
|
+
}
|
|
22
|
+
.single-attribute :deep(.value-label) {
|
|
23
|
+
font-family: Poppins, Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
24
|
+
font-size: 12px;
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
}
|
|
27
|
+
</style>
|
|
28
|
+
|
|
29
|
+
<style scoped>
|
|
30
|
+
@media screen and (max-width: 500px) {
|
|
31
|
+
.single-attribute:deep() .value-item {
|
|
32
|
+
min-width: 30%;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
</style>
|
package/dist/runtime/components/Product/customProduct/AttributesComponents/SingleAttribute.vue.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
2
|
+
product?: any;
|
|
3
|
+
attribute?: any;
|
|
4
|
+
group?: any;
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
6
|
+
product?: any;
|
|
7
|
+
attribute?: any;
|
|
8
|
+
group?: any;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
|
+
$props: Partial<typeof __VLS_props>;
|
|
5
|
+
attribute?: Record<string, any> | undefined;
|
|
6
|
+
group?: Record<string, any> | undefined;
|
|
7
|
+
slide?: Record<string, any> | undefined;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const __VLS_props: {
|
|
10
|
+
readonly attribute?: Record<string, any> | undefined;
|
|
11
|
+
readonly group?: Record<string, any> | undefined;
|
|
12
|
+
readonly slide?: Record<string, any> | undefined;
|
|
13
|
+
};
|