flowrix 1.0.1-beta.147 → 1.0.1-beta.149
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.json +1 -1
- 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/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/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 +90 -0
- package/dist/runtime/components/product/index.vue.d.ts +8 -0
- package/dist/runtime/components/product/sampleProduct/ProductVariation.d.vue.ts +11 -0
- package/dist/runtime/components/product/sampleProduct/ProductVariation.vue +61 -0
- package/dist/runtime/components/product/sampleProduct/ProductVariation.vue.d.ts +11 -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 +11 -0
- package/dist/runtime/components/product/simpleProduct/ProductVariation.vue +61 -0
- package/dist/runtime/components/product/simpleProduct/ProductVariation.vue.d.ts +11 -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/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/index.d.ts +8 -0
- package/dist/runtime/composables/index.js +8 -0
- package/dist/runtime/pages/flowrix-default.vue +15 -6
- package/dist/runtime/plugins/bootstrap.client.d.ts +2 -0
- package/dist/runtime/plugins/bootstrap.client.js +9 -0
- package/dist/runtime/server/api/cart/related.js +15 -2
- package/package.json +1 -1
|
@@ -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
|
+
};
|