@gem-sdk/components 2.0.0-dev.261 → 2.0.0-dev.266
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/cjs/banner/components/HeroBannerItem.liquid.js +3 -2
- package/dist/cjs/estimate-delivery/components/EstimateDate.liquid.js +3 -2
- package/dist/cjs/grid/row/setting/configs/settings.js +9 -83
- package/dist/cjs/grid/section/setting/configs/settings.js +13 -75
- package/dist/cjs/icon-list-hoz/setting/configs/settings.js +4 -17
- package/dist/cjs/post-purchase/advanced-list/setting/configs/uiV2.js +3 -15
- package/dist/cjs/post-purchase/line/setting/configs/settings.js +3 -1
- package/dist/cjs/post-purchase/line/setting/configs/uiV2.js +2 -1
- package/dist/cjs/post-purchase/link/components/PostPurchaseLink.js +23 -14
- package/dist/cjs/post-purchase/link/components/common/getClasses.js +7 -1
- package/dist/cjs/post-purchase/link/setting/configs/settings.js +21 -14
- package/dist/cjs/post-purchase/product/common/getClasses.js +45 -0
- package/dist/cjs/post-purchase/product/common/getStyles.js +43 -0
- package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +32 -42
- package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +6 -65
- package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +24 -68
- package/dist/cjs/post-purchase/product/components/product-image/ItemCarouselPostPurchase.js +42 -0
- package/dist/cjs/post-purchase/product/components/product-image/ItemGridPostPurchase.js +42 -0
- package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/Arrow.js +29 -0
- package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchase.js +35 -0
- package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchaseContext.js +22 -0
- package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +75 -0
- package/dist/cjs/post-purchase/product/components/product-image/index.js +41 -43
- package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +22 -58
- package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +19 -12
- package/dist/cjs/post-purchase/product/constants/index.js +36 -0
- package/dist/cjs/post-purchase/product/hooks/product-image/useCarousel.js +14 -0
- package/dist/cjs/post-purchase/product/hooks/product-image/useFeatureImagePostPurchase.js +32 -0
- package/dist/cjs/post-purchase/product/hooks/product-image/useListCarousel.js +43 -0
- package/dist/cjs/post-purchase/product/hooks/product-image/useNavigationCarouselPostPurchase.js +32 -0
- package/dist/cjs/post-purchase/product/hooks/product-image/useProductImagePostPurchase.js +60 -0
- package/dist/cjs/post-purchase/product/hooks/product-image/useSlideCarousel.js +35 -0
- package/dist/cjs/post-purchase/product/settings/product-description/settingV2.js +6 -9
- package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +41 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +0 -118
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +8 -79
- package/dist/cjs/post-purchase/product/settings/product-image/setting-v1.js +163 -0
- package/dist/cjs/post-purchase/product/settings/product-image/setting-v2.js +375 -0
- package/dist/cjs/post-purchase/product/settings/product-image/uiV1.js +42 -0
- package/dist/cjs/post-purchase/product/settings/product-image/uiV2.js +235 -0
- package/dist/cjs/post-purchase/product/settings/product-price/uiV2.js +0 -3
- package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/settings.js +10 -6
- package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/uiV2.js +2 -2
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +3 -1
- package/dist/cjs/post-purchase/product/settings/product-title/settingV2.js +6 -9
- package/dist/cjs/post-purchase/text/settings/text/settingV2.js +0 -7
- package/dist/cjs/post-purchase/text/settings/text/uiV2.js +2 -2
- package/dist/cjs/product/components/FileUpload/components/common/index.js +3 -2
- package/dist/cjs/product/setting/product/configs/presets.js +1 -1
- package/dist/cjs/product/setting/product/configs/settings.js +4 -20
- package/dist/cjs/setting.js +2 -1
- package/dist/esm/banner/components/HeroBannerItem.liquid.js +3 -2
- package/dist/esm/estimate-delivery/components/EstimateDate.liquid.js +3 -2
- package/dist/esm/grid/row/setting/configs/settings.js +9 -83
- package/dist/esm/grid/section/setting/configs/settings.js +13 -75
- package/dist/esm/icon-list-hoz/setting/configs/settings.js +4 -17
- package/dist/esm/post-purchase/advanced-list/setting/configs/uiV2.js +3 -15
- package/dist/esm/post-purchase/line/setting/configs/settings.js +3 -1
- package/dist/esm/post-purchase/line/setting/configs/uiV2.js +2 -1
- package/dist/esm/post-purchase/link/components/PostPurchaseLink.js +25 -16
- package/dist/esm/post-purchase/link/components/common/getClasses.js +7 -2
- package/dist/esm/post-purchase/link/setting/configs/settings.js +21 -14
- package/dist/esm/post-purchase/product/common/getClasses.js +37 -1
- package/dist/esm/post-purchase/product/common/getStyles.js +39 -1
- package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +32 -42
- package/dist/esm/post-purchase/product/components/product-image/ImageListCarousel.js +7 -66
- package/dist/esm/post-purchase/product/components/product-image/ImageListGrid.js +24 -68
- package/dist/esm/post-purchase/product/components/product-image/ItemCarouselPostPurchase.js +40 -0
- package/dist/esm/post-purchase/product/components/product-image/ItemGridPostPurchase.js +40 -0
- package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/Arrow.js +27 -0
- package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchase.js +33 -0
- package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchaseContext.js +19 -0
- package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +73 -0
- package/dist/esm/post-purchase/product/components/product-image/index.js +42 -44
- package/dist/esm/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +22 -58
- package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +19 -12
- package/dist/esm/post-purchase/product/constants/index.js +34 -0
- package/dist/esm/post-purchase/product/hooks/product-image/useCarousel.js +12 -0
- package/dist/esm/post-purchase/product/hooks/product-image/useFeatureImagePostPurchase.js +30 -0
- package/dist/esm/post-purchase/product/hooks/product-image/useListCarousel.js +41 -0
- package/dist/esm/post-purchase/product/hooks/product-image/useNavigationCarouselPostPurchase.js +30 -0
- package/dist/esm/post-purchase/product/hooks/product-image/useProductImagePostPurchase.js +58 -0
- package/dist/esm/post-purchase/product/hooks/product-image/useSlideCarousel.js +33 -0
- package/dist/esm/post-purchase/product/settings/product-description/settingV2.js +6 -9
- package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +41 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +1 -118
- package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +8 -79
- package/dist/esm/post-purchase/product/settings/product-image/setting-v1.js +161 -0
- package/dist/esm/post-purchase/product/settings/product-image/setting-v2.js +373 -0
- package/dist/esm/post-purchase/product/settings/product-image/uiV1.js +40 -0
- package/dist/esm/post-purchase/product/settings/product-image/uiV2.js +233 -0
- package/dist/esm/post-purchase/product/settings/product-price/uiV2.js +0 -3
- package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/settings.js +10 -6
- package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/uiV2.js +2 -2
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +3 -1
- package/dist/esm/post-purchase/product/settings/product-title/settingV2.js +6 -9
- package/dist/esm/post-purchase/text/settings/text/settingV2.js +0 -7
- package/dist/esm/post-purchase/text/settings/text/uiV2.js +2 -2
- package/dist/esm/product/components/FileUpload/components/common/index.js +3 -2
- package/dist/esm/product/setting/product/configs/presets.js +1 -1
- package/dist/esm/product/setting/product/configs/settings.js +4 -20
- package/dist/esm/setting.js +2 -1
- package/dist/types/index.d.ts +12 -5
- package/package.json +4 -4
- package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +0 -60
- package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +0 -78
- package/dist/esm/post-purchase/product/components/product-image/Arrow.js +0 -58
- package/dist/esm/post-purchase/product/components/product-image/CarouselPostPurchase.js +0 -76
|
@@ -27,8 +27,8 @@ const SettingUIV2 = [
|
|
|
27
27
|
type: 'combo',
|
|
28
28
|
iconName: 'polaris-text-block',
|
|
29
29
|
compoDefaultValue: 'Show',
|
|
30
|
-
isHideClear: true,
|
|
31
30
|
getValueFromSettingID: 'contentShow',
|
|
31
|
+
disableClearMessage: `This label title is needed for customers <br> to show the price breakdown`,
|
|
32
32
|
layout: 'horizontal',
|
|
33
33
|
controls: [
|
|
34
34
|
{
|
|
@@ -52,8 +52,8 @@ const SettingUIV2 = [
|
|
|
52
52
|
},
|
|
53
53
|
type: 'combo',
|
|
54
54
|
iconName: 'polaris-text-block',
|
|
55
|
-
isHideClear: true,
|
|
56
55
|
getValueFromSettingID: 'contentHide',
|
|
56
|
+
disableClearMessage: `This label title is needed for customers <br> to hide the price breakdown`,
|
|
57
57
|
layout: 'horizontal',
|
|
58
58
|
controls: [
|
|
59
59
|
{
|
|
@@ -42,25 +42,22 @@ const settingV2 = [
|
|
|
42
42
|
label: 'Left',
|
|
43
43
|
value: 'left',
|
|
44
44
|
type: 'text',
|
|
45
|
-
tooltip: 'Align left'
|
|
45
|
+
tooltip: 'Align left',
|
|
46
|
+
iconName: 'polaris-text-align-left'
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
49
|
label: 'Center',
|
|
49
50
|
value: 'center',
|
|
50
51
|
type: 'text',
|
|
51
|
-
tooltip: 'Align center'
|
|
52
|
+
tooltip: 'Align center',
|
|
53
|
+
iconName: 'polaris-text-align-center'
|
|
52
54
|
},
|
|
53
55
|
{
|
|
54
56
|
label: 'Right',
|
|
55
57
|
value: 'right',
|
|
56
58
|
type: 'text',
|
|
57
|
-
tooltip: 'Align right'
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
label: 'Justify',
|
|
61
|
-
value: 'justify',
|
|
62
|
-
type: 'text',
|
|
63
|
-
tooltip: 'Align justify'
|
|
59
|
+
tooltip: 'Align right',
|
|
60
|
+
iconName: 'polaris-text-align-right'
|
|
64
61
|
}
|
|
65
62
|
],
|
|
66
63
|
default: 'left'
|
|
@@ -97,13 +97,6 @@ const settingV2 = [
|
|
|
97
97
|
type: 'text',
|
|
98
98
|
tooltip: 'Align right',
|
|
99
99
|
iconName: 'polaris-text-align-right'
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
label: 'Justify',
|
|
103
|
-
value: 'justify',
|
|
104
|
-
type: 'text',
|
|
105
|
-
tooltip: 'Align justify',
|
|
106
|
-
iconName: 'gp-text-align-justify'
|
|
107
100
|
}
|
|
108
101
|
],
|
|
109
102
|
default: 'left'
|
|
@@ -89,14 +89,14 @@ const uiV2 = [
|
|
|
89
89
|
label: {
|
|
90
90
|
en: 'Align'
|
|
91
91
|
},
|
|
92
|
-
conditionEnable: `activeScreenId === 'desktop' ? width
|
|
92
|
+
conditionEnable: `activeScreenId === 'desktop' ? !(parseInt(width) >= 100 && width?.includes("%")) : (!(parseInt(width) >= 100 && width?.includes("%")) && width !== 'default')`,
|
|
93
93
|
setting: {
|
|
94
94
|
id: 'align'
|
|
95
95
|
},
|
|
96
96
|
options: {
|
|
97
97
|
labelVariant: 'primary',
|
|
98
98
|
fullWidth: true,
|
|
99
|
-
disableMessage:
|
|
99
|
+
disableMessage: 'Horizontal alignment is disabled when the width is set to 100% or greater'
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
]
|
|
@@ -20,7 +20,7 @@ require('../../../../../header/components/kind/basic/index.js');
|
|
|
20
20
|
require('react-transition-group');
|
|
21
21
|
require('../../../../../modal/components/confirm.js');
|
|
22
22
|
require('react-dom');
|
|
23
|
-
require('../../../../../post-purchase/image/
|
|
23
|
+
require('../../../../../post-purchase/image/next.js');
|
|
24
24
|
require('../../../../../post-purchase/product/components/product-variant/components/variants/VariantItem.js');
|
|
25
25
|
require('../../../Product.js');
|
|
26
26
|
require('../../../../../notification/components/Notifications.js');
|
|
@@ -81,8 +81,10 @@ require('../../../../../third-party-instant/components/InstantYotpoLoyalty.js');
|
|
|
81
81
|
require('../../../../../banner/components/parallax/AnimationManager.js');
|
|
82
82
|
require('../../../../../form/setting/contact/Contact.js');
|
|
83
83
|
require('../../../../../icon-list-v2/setting/configs/settings.js');
|
|
84
|
+
require('../../../../../post-purchase/image/components/Img.js');
|
|
84
85
|
require('../../../../../post-purchase/callout-banner/components/common/getStyles.js');
|
|
85
86
|
require('../../../../../post-purchase/line/components/PostPurchaseLine.js');
|
|
87
|
+
require('@gem-sdk/core/src/types/control-types/typography-post-purchase');
|
|
86
88
|
require('../../../../../estimate-delivery/setting/configs/settings.js');
|
|
87
89
|
require('../../../../../accordion/next.js');
|
|
88
90
|
require('../../../../../breadcrumb/next.js');
|
|
@@ -127,7 +129,6 @@ require('../../../../../shop-pay-installment/next.js');
|
|
|
127
129
|
require('../../../../../sticky/next.js');
|
|
128
130
|
require('../../../../../icon-list-v2/next.js');
|
|
129
131
|
require('../../../../../post-purchase/text/next.js');
|
|
130
|
-
require('../../../../../post-purchase/image/next.js');
|
|
131
132
|
require('../../../../../post-purchase/button/next.js');
|
|
132
133
|
require('../../../../../post-purchase/line/next.js');
|
|
133
134
|
require('../../../../../post-purchase/link/next.js');
|
|
@@ -13,7 +13,7 @@ require('react');
|
|
|
13
13
|
require('next/head');
|
|
14
14
|
require('next/image');
|
|
15
15
|
require('react-youtube');
|
|
16
|
-
require('../../../../post-purchase/image/
|
|
16
|
+
require('../../../../post-purchase/image/next.js');
|
|
17
17
|
require('../../../../post-purchase/product/components/product-variant/components/variants/VariantItem.js');
|
|
18
18
|
require('../../../components/ProductVariants/variants/index.js');
|
|
19
19
|
|
|
@@ -72,7 +72,7 @@ const ProductSettings = [
|
|
|
72
72
|
label: 'Between',
|
|
73
73
|
value: 'space-between',
|
|
74
74
|
tooltip: 'Distribute vertical spacing',
|
|
75
|
-
iconName: 'gp-
|
|
75
|
+
iconName: 'gp-justify-content-space-between'
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
78
|
devices: {
|
|
@@ -133,31 +133,15 @@ const ProductSettings = [
|
|
|
133
133
|
options: [
|
|
134
134
|
{
|
|
135
135
|
label: 'Start',
|
|
136
|
-
value: 'start'
|
|
137
|
-
icon: `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
138
|
-
<path d="M15.5 2.25C15.5 2.52614 15.2761 2.75 15 2.75L2 2.75C1.72386 2.75 1.5 2.52614 1.5 2.25C1.5 1.97386 1.72386 1.75 2 1.75L15 1.75C15.2761 1.75 15.5 1.97386 15.5 2.25Z" fill="currentColor"/>
|
|
139
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.5 3.25C12.3284 3.25 13 3.92157 13 4.75L13 9.75C13 10.5784 12.3284 11.25 11.5 11.25L10.5 11.25C9.67157 11.25 9 10.5784 9 9.75L9 4.75C9 3.92157 9.67157 3.25 10.5 3.25L11.5 3.25ZM12 4.75C12 4.47386 11.7761 4.25 11.5 4.25L10.5 4.25C10.2239 4.25 10 4.47386 10 4.75L10 9.75C10 10.0261 10.2239 10.25 10.5 10.25L11.5 10.25C11.7761 10.25 12 10.0261 12 9.75L12 4.75Z" fill="currentColor"/>
|
|
140
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 4.75C8 3.92157 7.32843 3.25 6.5 3.25L5.5 3.25C4.67157 3.25 4 3.92157 4 4.75L4 12.75C4 13.5784 4.67157 14.25 5.5 14.25L6.5 14.25C7.32843 14.25 8 13.5784 8 12.75L8 4.75ZM6.5 4.25C6.77614 4.25 7 4.47386 7 4.75L7 12.75C7 13.0261 6.77614 13.25 6.5 13.25L5.5 13.25C5.22386 13.25 5 13.0261 5 12.75L5 4.75C5 4.47386 5.22386 4.25 5.5 4.25L6.5 4.25Z" fill="currentColor"/>
|
|
141
|
-
</svg>
|
|
142
|
-
`
|
|
136
|
+
value: 'start'
|
|
143
137
|
},
|
|
144
138
|
{
|
|
145
139
|
label: 'Center',
|
|
146
|
-
value: 'center'
|
|
147
|
-
icon: `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
148
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 8.5C14.5 8.77614 14.2921 9 14.0357 9L12.1786 9L12.1786 11C12.1786 11.8284 11.555 12.5 10.7857 12.5L9.85714 12.5C9.08789 12.5 8.46429 11.8284 8.46429 11L8.46429 9L7.53571 9L7.53571 12.5C7.53571 13.3284 6.91211 14 6.14286 14L5.21429 14C4.44503 14 3.82143 13.3284 3.82143 12.5L3.82143 9L1.96429 9C1.70787 9 1.5 8.77614 1.5 8.5C1.5 8.22386 1.70787 8 1.96429 8L3.82143 8L3.82143 4.5C3.82143 3.67157 4.44503 3 5.21429 3L6.14286 3C6.91211 3 7.53572 3.67157 7.53572 4.5L7.53571 8L8.46429 8L8.46429 6C8.46429 5.17157 9.08789 4.5 9.85714 4.5L10.7857 4.5C11.555 4.5 12.1786 5.17157 12.1786 6L12.1786 8L14.0357 8C14.2921 8 14.5 8.22386 14.5 8.5ZM4.75 12.5C4.75 12.7761 4.95787 13 5.21429 13L6.14286 13C6.39928 13 6.60714 12.7761 6.60714 12.5L6.60714 4.5C6.60714 4.22386 6.39928 4 6.14286 4L5.21429 4C4.95787 4 4.75 4.22386 4.75 4.5L4.75 12.5ZM9.39286 11L9.39286 6C9.39286 5.72386 9.60073 5.5 9.85714 5.5L10.7857 5.5C11.0421 5.5 11.25 5.72386 11.25 6L11.25 11C11.25 11.2761 11.0421 11.5 10.7857 11.5L9.85714 11.5C9.60073 11.5 9.39286 11.2761 9.39286 11Z" fill="currentColor"/>
|
|
149
|
-
</svg>
|
|
150
|
-
`
|
|
140
|
+
value: 'center'
|
|
151
141
|
},
|
|
152
142
|
{
|
|
153
143
|
label: 'End',
|
|
154
|
-
value: 'end'
|
|
155
|
-
icon: `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
156
|
-
<path d="M1.5 14.5C1.5 14.2239 1.72386 14 2 14L15 14C15.2761 14 15.5 14.2239 15.5 14.5C15.5 14.7761 15.2761 15 15 15L2 15C1.72386 15 1.5 14.7761 1.5 14.5Z" fill="currentColor"/>
|
|
157
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 13.5C4.67157 13.5 4 12.8284 4 12L4 7C4 6.17157 4.67157 5.5 5.5 5.5L6.5 5.5C7.32843 5.5 8 6.17157 8 7L8 12C8 12.8284 7.32843 13.5 6.5 13.5L5.5 13.5ZM5 12C5 12.2761 5.22386 12.5 5.5 12.5L6.5 12.5C6.77614 12.5 7 12.2761 7 12L7 7C7 6.72386 6.77614 6.5 6.5 6.5L5.5 6.5C5.22386 6.5 5 6.72386 5 7L5 12Z" fill="currentColor"/>
|
|
158
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 12C9 12.8284 9.67157 13.5 10.5 13.5L11.5 13.5C12.3284 13.5 13 12.8284 13 12L13 4C13 3.17157 12.3284 2.5 11.5 2.5L10.5 2.5C9.67157 2.5 9 3.17157 9 4L9 12ZM10.5 12.5C10.2239 12.5 10 12.2761 10 12L10 4C10 3.72386 10.2239 3.5 10.5 3.5L11.5 3.5C11.7761 3.5 12 3.72386 12 4L12 12C12 12.2761 11.7761 12.5 11.5 12.5L10.5 12.5Z" fill="currentColor"/>
|
|
159
|
-
</svg>
|
|
160
|
-
`
|
|
144
|
+
value: 'end'
|
|
161
145
|
}
|
|
162
146
|
],
|
|
163
147
|
default: 'start'
|
package/dist/cjs/setting.js
CHANGED
|
@@ -122,6 +122,7 @@ var index$G = require('./post-purchase/image/setting/index.js');
|
|
|
122
122
|
require('./post-purchase/image/components/Img.js');
|
|
123
123
|
var index$H = require('./post-purchase/button/setting/index.js');
|
|
124
124
|
var index$I = require('./post-purchase/product/settings/index.js');
|
|
125
|
+
require('./post-purchase/image/next.js');
|
|
125
126
|
require('./post-purchase/product/components/product-variant/components/variants/VariantItem.js');
|
|
126
127
|
var index$J = require('./post-purchase/callout-banner/setting/index.js');
|
|
127
128
|
require('./post-purchase/callout-banner/components/common/getStyles.js');
|
|
@@ -130,6 +131,7 @@ require('./post-purchase/line/components/PostPurchaseLine.js');
|
|
|
130
131
|
var index$M = require('./post-purchase/advanced-list/setting/index.js');
|
|
131
132
|
var index$N = require('./post-purchase/countdown-timer/settings/index.js');
|
|
132
133
|
var index$L = require('./post-purchase/link/setting/index.js');
|
|
134
|
+
require('@gem-sdk/core/src/types/control-types/typography-post-purchase');
|
|
133
135
|
var index$O = require('./estimate-delivery/setting/index.js');
|
|
134
136
|
var index$P = require('./article/setting/index.js');
|
|
135
137
|
var index$Q = require('./marquee/setting/index.js');
|
|
@@ -176,7 +178,6 @@ require('./shop-pay-installment/next.js');
|
|
|
176
178
|
require('./sticky/next.js');
|
|
177
179
|
require('./icon-list-v2/next.js');
|
|
178
180
|
require('./post-purchase/text/next.js');
|
|
179
|
-
require('./post-purchase/image/next.js');
|
|
180
181
|
require('./post-purchase/button/next.js');
|
|
181
182
|
require('./post-purchase/line/next.js');
|
|
182
183
|
require('./post-purchase/link/next.js');
|
|
@@ -26,7 +26,7 @@ import '../../header/components/kind/basic/index.js';
|
|
|
26
26
|
import 'react-transition-group';
|
|
27
27
|
import '../../modal/components/confirm.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import '../../post-purchase/image/
|
|
29
|
+
import '../../post-purchase/image/next.js';
|
|
30
30
|
import '../../post-purchase/product/components/product-variant/components/variants/VariantItem.js';
|
|
31
31
|
import '../../product/components/Product.js';
|
|
32
32
|
import '../../notification/components/Notifications.js';
|
|
@@ -86,8 +86,10 @@ import { getAspectRatioSettings, getBackgroundImageHeroBanner, horizontalAlign,
|
|
|
86
86
|
import './parallax/AnimationManager.js';
|
|
87
87
|
import '../../form/setting/contact/Contact.js';
|
|
88
88
|
import '../../icon-list-v2/setting/configs/settings.js';
|
|
89
|
+
import '../../post-purchase/image/components/Img.js';
|
|
89
90
|
import '../../post-purchase/callout-banner/components/common/getStyles.js';
|
|
90
91
|
import '../../post-purchase/line/components/PostPurchaseLine.js';
|
|
92
|
+
import '@gem-sdk/core/src/types/control-types/typography-post-purchase';
|
|
91
93
|
import '../../estimate-delivery/setting/configs/settings.js';
|
|
92
94
|
import '../../accordion/next.js';
|
|
93
95
|
import '../../breadcrumb/next.js';
|
|
@@ -132,7 +134,6 @@ import '../../shop-pay-installment/next.js';
|
|
|
132
134
|
import '../../sticky/next.js';
|
|
133
135
|
import '../../icon-list-v2/next.js';
|
|
134
136
|
import '../../post-purchase/text/next.js';
|
|
135
|
-
import '../../post-purchase/image/next.js';
|
|
136
137
|
import '../../post-purchase/button/next.js';
|
|
137
138
|
import '../../post-purchase/line/next.js';
|
|
138
139
|
import '../../post-purchase/link/next.js';
|
|
@@ -23,7 +23,7 @@ import '../../header/components/kind/basic/index.js';
|
|
|
23
23
|
import 'react-transition-group';
|
|
24
24
|
import '../../modal/components/confirm.js';
|
|
25
25
|
import 'react-dom';
|
|
26
|
-
import '../../post-purchase/image/
|
|
26
|
+
import '../../post-purchase/image/next.js';
|
|
27
27
|
import '../../post-purchase/product/components/product-variant/components/variants/VariantItem.js';
|
|
28
28
|
import '../../product/components/Product.js';
|
|
29
29
|
import '../../notification/components/Notifications.js';
|
|
@@ -80,8 +80,10 @@ import '../../third-party-instant/components/InstantYotpoLoyalty.js';
|
|
|
80
80
|
import '../../banner/components/parallax/AnimationManager.js';
|
|
81
81
|
import '../../form/setting/contact/Contact.js';
|
|
82
82
|
import '../../icon-list-v2/setting/configs/settings.js';
|
|
83
|
+
import '../../post-purchase/image/components/Img.js';
|
|
83
84
|
import '../../post-purchase/callout-banner/components/common/getStyles.js';
|
|
84
85
|
import '../../post-purchase/line/components/PostPurchaseLine.js';
|
|
86
|
+
import '@gem-sdk/core/src/types/control-types/typography-post-purchase';
|
|
85
87
|
import '../setting/configs/settings.js';
|
|
86
88
|
import { OUT_OF_STOCK } from '../const.js';
|
|
87
89
|
import TextInline from '../../text/components/TextInline.js';
|
|
@@ -128,7 +130,6 @@ import '../../shop-pay-installment/next.js';
|
|
|
128
130
|
import '../../sticky/next.js';
|
|
129
131
|
import '../../icon-list-v2/next.js';
|
|
130
132
|
import '../../post-purchase/text/next.js';
|
|
131
|
-
import '../../post-purchase/image/next.js';
|
|
132
133
|
import '../../post-purchase/button/next.js';
|
|
133
134
|
import '../../post-purchase/line/next.js';
|
|
134
135
|
import '../../post-purchase/link/next.js';
|
|
@@ -24,45 +24,26 @@ const RowSettings = [
|
|
|
24
24
|
{
|
|
25
25
|
label: 'Start',
|
|
26
26
|
value: 'start',
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.91699 5C2.91699 4.17157 3.58857 3.5 4.41699 3.5H9.41699C10.2454 3.5 10.917 4.17157 10.917 5V6C10.917 6.82843 10.2454 7.5 9.41699 7.5H4.41699C3.58857 7.5 2.91699 6.82843 2.91699 6V5ZM4.41699 4.5C4.14085 4.5 3.91699 4.72386 3.91699 5V6C3.91699 6.27614 4.14085 6.5 4.41699 6.5H9.41699C9.69314 6.5 9.91699 6.27614 9.91699 6V5C9.91699 4.72386 9.69314 4.5 9.41699 4.5H4.41699Z" fill="currentColor"/>
|
|
30
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.41699 8.5C3.58857 8.5 2.91699 9.17157 2.91699 10V11C2.91699 11.8284 3.58857 12.5 4.41699 12.5H12.417C13.2454 12.5 13.917 11.8284 13.917 11V10C13.917 9.17157 13.2454 8.5 12.417 8.5H4.41699ZM3.91699 10C3.91699 9.72386 4.14085 9.5 4.41699 9.5H12.417C12.6931 9.5 12.917 9.72386 12.917 10V11C12.917 11.2761 12.6931 11.5 12.417 11.5H4.41699C4.14085 11.5 3.91699 11.2761 3.91699 11V10Z" fill="currentColor"/>
|
|
31
|
-
</svg>
|
|
32
|
-
`,
|
|
33
|
-
tooltip: 'Align left'
|
|
27
|
+
tooltip: 'Align left',
|
|
28
|
+
iconName: 'gp-align-left'
|
|
34
29
|
},
|
|
35
30
|
{
|
|
36
31
|
label: 'Center',
|
|
37
32
|
value: 'center',
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
</svg>
|
|
41
|
-
`,
|
|
42
|
-
tooltip: 'Align horizontal center'
|
|
33
|
+
tooltip: 'Align horizontal center',
|
|
34
|
+
iconName: 'gp-align-center'
|
|
43
35
|
},
|
|
44
36
|
{
|
|
45
37
|
label: 'End',
|
|
46
38
|
value: 'end',
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.08398 6C5.08398 6.82843 5.75556 7.5 6.58398 7.5H11.584C12.4124 7.5 13.084 6.82843 13.084 6V5C13.084 4.17157 12.4124 3.5 11.584 3.5L6.58398 3.5C5.75556 3.5 5.08398 4.17157 5.08398 5V6ZM6.58398 6.5C6.30784 6.5 6.08398 6.27614 6.08398 6V5C6.08398 4.72386 6.30784 4.5 6.58398 4.5L11.584 4.5C11.8601 4.5 12.084 4.72386 12.084 5V6C12.084 6.27614 11.8601 6.5 11.584 6.5H6.58398Z" fill="currentColor"/>
|
|
50
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.58398 12.5C2.75556 12.5 2.08398 11.8284 2.08398 11L2.08398 10C2.08398 9.17157 2.75556 8.5 3.58398 8.5H11.584C12.4124 8.5 13.084 9.17157 13.084 10V11C13.084 11.8284 12.4124 12.5 11.584 12.5L3.58398 12.5ZM3.08398 11C3.08398 11.2761 3.30784 11.5 3.58398 11.5L11.584 11.5C11.8601 11.5 12.084 11.2761 12.084 11V10C12.084 9.72386 11.8601 9.5 11.584 9.5L3.58398 9.5C3.30784 9.5 3.08398 9.72386 3.08398 10L3.08398 11Z" fill="currentColor"/>
|
|
51
|
-
</svg>
|
|
52
|
-
`,
|
|
53
|
-
tooltip: 'Align right'
|
|
39
|
+
tooltip: 'Align right',
|
|
40
|
+
iconName: 'gp-align-right'
|
|
54
41
|
},
|
|
55
42
|
{
|
|
56
43
|
label: 'Distribute',
|
|
57
44
|
value: 'space-between',
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<path d="M2.50708 1.9021C2.50708 1.55692 2.22726 1.2771 1.88208 1.2771C1.5369 1.2771 1.25708 1.55692 1.25708 1.9021L1.25708 18.153C1.25708 18.4982 1.5369 18.778 1.88208 18.778C2.22726 18.778 2.50708 18.4982 2.50708 18.153L2.50708 1.9021Z" fill="#757575"/>
|
|
61
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.657 2.84277C14.6925 2.84277 15.532 3.68224 15.532 4.71777L15.532 15.2178C15.532 16.2533 14.6925 17.0928 13.657 17.0928L13.157 17.0928C12.1214 17.0928 11.282 16.2533 11.282 15.2178L11.282 4.71777C11.282 3.68224 12.1214 2.84277 13.157 2.84277L13.657 2.84277ZM14.282 4.71777C14.282 4.3726 14.0022 4.09277 13.657 4.09277L13.157 4.09277C12.8118 4.09277 12.532 4.3726 12.532 4.71777L12.532 15.2178C12.532 15.563 12.8118 15.8428 13.157 15.8428L13.657 15.8428C14.0022 15.8428 14.282 15.563 14.282 15.2178L14.282 4.71777Z" fill="#757575"/>
|
|
62
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.78198 4.71777C8.78198 3.68224 7.94252 2.84277 6.90698 2.84277L6.40698 2.84277C5.37145 2.84277 4.53198 3.68224 4.53198 4.71777L4.53198 15.2178C4.53198 16.2533 5.37145 17.0928 6.40698 17.0928L6.90698 17.0928C7.94252 17.0928 8.78198 16.2533 8.78198 15.2178L8.78198 4.71777ZM6.90698 4.09277C7.25216 4.09277 7.53198 4.3726 7.53198 4.71777L7.53198 15.2178C7.53198 15.563 7.25216 15.8428 6.90698 15.8428L6.40698 15.8428C6.0618 15.8428 5.78198 15.563 5.78198 15.2178L5.78198 4.71777C5.78198 4.37259 6.0618 4.09277 6.40698 4.09277L6.90698 4.09277Z" fill="#757575"/>
|
|
63
|
-
</svg>
|
|
64
|
-
`,
|
|
65
|
-
tooltip: 'Distribute horizontal spacing'
|
|
45
|
+
tooltip: 'Distribute horizontal spacing',
|
|
46
|
+
iconName: 'gp-align-space-between'
|
|
66
47
|
}
|
|
67
48
|
],
|
|
68
49
|
devices: {
|
|
@@ -78,49 +59,26 @@ const RowSettings = [
|
|
|
78
59
|
{
|
|
79
60
|
label: 'Start',
|
|
80
61
|
value: 'start',
|
|
81
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
82
|
-
<path d="M15.5 2.25C15.5 2.52614 15.2761 2.75 15 2.75L2 2.75C1.72386 2.75 1.5 2.52614 1.5 2.25C1.5 1.97386 1.72386 1.75 2 1.75L15 1.75C15.2761 1.75 15.5 1.97386 15.5 2.25Z" fill="currentColor"/>
|
|
83
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.5 3.25C12.3284 3.25 13 3.92157 13 4.75L13 9.75C13 10.5784 12.3284 11.25 11.5 11.25L10.5 11.25C9.67157 11.25 9 10.5784 9 9.75L9 4.75C9 3.92157 9.67157 3.25 10.5 3.25L11.5 3.25ZM12 4.75C12 4.47386 11.7761 4.25 11.5 4.25L10.5 4.25C10.2239 4.25 10 4.47386 10 4.75L10 9.75C10 10.0261 10.2239 10.25 10.5 10.25L11.5 10.25C11.7761 10.25 12 10.0261 12 9.75L12 4.75Z" fill="currentColor"/>
|
|
84
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 4.75C8 3.92157 7.32843 3.25 6.5 3.25L5.5 3.25C4.67157 3.25 4 3.92157 4 4.75L4 12.75C4 13.5784 4.67157 14.25 5.5 14.25L6.5 14.25C7.32843 14.25 8 13.5784 8 12.75L8 4.75ZM6.5 4.25C6.77614 4.25 7 4.47386 7 4.75L7 12.75C7 13.0261 6.77614 13.25 6.5 13.25L5.5 13.25C5.22386 13.25 5 13.0261 5 12.75L5 4.75C5 4.47386 5.22386 4.25 5.5 4.25L6.5 4.25Z" fill="currentColor"/>
|
|
85
|
-
</svg>
|
|
86
|
-
`,
|
|
87
62
|
tooltip: 'Align top',
|
|
88
63
|
iconName: 'gp-align-top'
|
|
89
64
|
},
|
|
90
65
|
{
|
|
91
66
|
label: 'Center',
|
|
92
67
|
value: 'center',
|
|
93
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
94
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 8.5C14.5 8.77614 14.2921 9 14.0357 9L12.1786 9L12.1786 11C12.1786 11.8284 11.555 12.5 10.7857 12.5L9.85714 12.5C9.08789 12.5 8.46429 11.8284 8.46429 11L8.46429 9L7.53571 9L7.53571 12.5C7.53571 13.3284 6.91211 14 6.14286 14L5.21429 14C4.44503 14 3.82143 13.3284 3.82143 12.5L3.82143 9L1.96429 9C1.70787 9 1.5 8.77614 1.5 8.5C1.5 8.22386 1.70787 8 1.96429 8L3.82143 8L3.82143 4.5C3.82143 3.67157 4.44503 3 5.21429 3L6.14286 3C6.91211 3 7.53572 3.67157 7.53572 4.5L7.53571 8L8.46429 8L8.46429 6C8.46429 5.17157 9.08789 4.5 9.85714 4.5L10.7857 4.5C11.555 4.5 12.1786 5.17157 12.1786 6L12.1786 8L14.0357 8C14.2921 8 14.5 8.22386 14.5 8.5ZM4.75 12.5C4.75 12.7761 4.95787 13 5.21429 13L6.14286 13C6.39928 13 6.60714 12.7761 6.60714 12.5L6.60714 4.5C6.60714 4.22386 6.39928 4 6.14286 4L5.21429 4C4.95787 4 4.75 4.22386 4.75 4.5L4.75 12.5ZM9.39286 11L9.39286 6C9.39286 5.72386 9.60073 5.5 9.85714 5.5L10.7857 5.5C11.0421 5.5 11.25 5.72386 11.25 6L11.25 11C11.25 11.2761 11.0421 11.5 10.7857 11.5L9.85714 11.5C9.60073 11.5 9.39286 11.2761 9.39286 11Z" fill="currentColor"/>
|
|
95
|
-
</svg>
|
|
96
|
-
`,
|
|
97
68
|
tooltip: 'Align vertical center',
|
|
98
69
|
iconName: 'gp-align-center-vertical'
|
|
99
70
|
},
|
|
100
71
|
{
|
|
101
72
|
label: 'End',
|
|
102
73
|
value: 'end',
|
|
103
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
104
|
-
<path d="M1.5 14.5C1.5 14.2239 1.72386 14 2 14L15 14C15.2761 14 15.5 14.2239 15.5 14.5C15.5 14.7761 15.2761 15 15 15L2 15C1.72386 15 1.5 14.7761 1.5 14.5Z" fill="currentColor"/>
|
|
105
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 13.5C4.67157 13.5 4 12.8284 4 12L4 7C4 6.17157 4.67157 5.5 5.5 5.5L6.5 5.5C7.32843 5.5 8 6.17157 8 7L8 12C8 12.8284 7.32843 13.5 6.5 13.5L5.5 13.5ZM5 12C5 12.2761 5.22386 12.5 5.5 12.5L6.5 12.5C6.77614 12.5 7 12.2761 7 12L7 7C7 6.72386 6.77614 6.5 6.5 6.5L5.5 6.5C5.22386 6.5 5 6.72386 5 7L5 12Z" fill="currentColor"/>
|
|
106
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 12C9 12.8284 9.67157 13.5 10.5 13.5L11.5 13.5C12.3284 13.5 13 12.8284 13 12L13 4C13 3.17157 12.3284 2.5 11.5 2.5L10.5 2.5C9.67157 2.5 9 3.17157 9 4L9 12ZM10.5 12.5C10.2239 12.5 10 12.2761 10 12L10 4C10 3.72386 10.2239 3.5 10.5 3.5L11.5 3.5C11.7761 3.5 12 3.72386 12 4L12 12C12 12.2761 11.7761 12.5 11.5 12.5L10.5 12.5Z" fill="currentColor"/>
|
|
107
|
-
</svg>
|
|
108
|
-
`,
|
|
109
74
|
tooltip: 'Align bottom',
|
|
110
75
|
iconName: 'gp-align-bottom'
|
|
111
76
|
},
|
|
112
77
|
{
|
|
113
78
|
label: 'Between',
|
|
114
79
|
value: 'space-between',
|
|
115
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
116
|
-
<path d="M2.00293 14.498L15.0037 14.498" stroke="currentColor" stroke-linecap="round"/>
|
|
117
|
-
<path d="M2.00293 1.49805L15.0037 1.49805" stroke="currentColor" stroke-linecap="round"/>
|
|
118
|
-
<rect x="2.5" y="6" width="3" height="12" rx="1" transform="rotate(-90 2.5 6)" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
119
|
-
<rect x="2.5" y="13" width="3" height="12" rx="1" transform="rotate(-90 2.5 13)" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
120
|
-
</svg>
|
|
121
|
-
`,
|
|
122
80
|
tooltip: 'Distribute vertical spacing',
|
|
123
|
-
iconName: 'gp-
|
|
81
|
+
iconName: 'gp-justify-content-space-between'
|
|
124
82
|
}
|
|
125
83
|
],
|
|
126
84
|
devices: {
|
|
@@ -136,32 +94,16 @@ const RowSettings = [
|
|
|
136
94
|
{
|
|
137
95
|
label: 'Start',
|
|
138
96
|
value: 'start',
|
|
139
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
140
|
-
<path d="M1.91699 1C2.19314 1 2.41699 1.22386 2.41699 1.5L2.41699 14.5C2.41699 14.7761 2.19313 15 1.91699 15C1.64085 15 1.41699 14.7761 1.41699 14.5V1.5C1.41699 1.22386 1.64085 1 1.91699 1Z" fill="currentColor"/>
|
|
141
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.91699 5C2.91699 4.17157 3.58857 3.5 4.41699 3.5H9.41699C10.2454 3.5 10.917 4.17157 10.917 5V6C10.917 6.82843 10.2454 7.5 9.41699 7.5H4.41699C3.58857 7.5 2.91699 6.82843 2.91699 6V5ZM4.41699 4.5C4.14085 4.5 3.91699 4.72386 3.91699 5V6C3.91699 6.27614 4.14085 6.5 4.41699 6.5H9.41699C9.69314 6.5 9.91699 6.27614 9.91699 6V5C9.91699 4.72386 9.69314 4.5 9.41699 4.5H4.41699Z" fill="currentColor"/>
|
|
142
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.41699 8.5C3.58857 8.5 2.91699 9.17157 2.91699 10V11C2.91699 11.8284 3.58857 12.5 4.41699 12.5H12.417C13.2454 12.5 13.917 11.8284 13.917 11V10C13.917 9.17157 13.2454 8.5 12.417 8.5H4.41699ZM3.91699 10C3.91699 9.72386 4.14085 9.5 4.41699 9.5H12.417C12.6931 9.5 12.917 9.72386 12.917 10V11C12.917 11.2761 12.6931 11.5 12.417 11.5H4.41699C4.14085 11.5 3.91699 11.2761 3.91699 11V10Z" fill="currentColor"/>
|
|
143
|
-
</svg>
|
|
144
|
-
`,
|
|
145
97
|
tooltip: 'Align top'
|
|
146
98
|
},
|
|
147
99
|
{
|
|
148
100
|
label: 'Center',
|
|
149
101
|
value: 'center',
|
|
150
|
-
icon: `<svg width="20" height="20" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
151
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8.27614 1 8.5 1.22386 8.5 1.5V3.5H10.5C11.3284 3.5 12 4.17157 12 5V6C12 6.82843 11.3284 7.5 10.5 7.5H8.5V8.5H12C12.8284 8.5 13.5 9.17157 13.5 10V11C13.5 11.8284 12.8284 12.5 12 12.5H8.5V14.5C8.5 14.7761 8.27614 15 8 15C7.72386 15 7.5 14.7761 7.5 14.5V12.5H4C3.17157 12.5 2.5 11.8284 2.5 11V10C2.5 9.17157 3.17157 8.5 4 8.5H7.5V7.5H5.5C4.67157 7.5 4 6.82843 4 6V5C4 4.17157 4.67157 3.5 5.5 3.5H7.5V1.5C7.5 1.22386 7.72386 1 8 1ZM12 11.5C12.2761 11.5 12.5 11.2761 12.5 11V10C12.5 9.72386 12.2761 9.5 12 9.5H4C3.72386 9.5 3.5 9.72386 3.5 10V11C3.5 11.2761 3.72386 11.5 4 11.5H12ZM10.5 6.5H5.5C5.22386 6.5 5 6.27614 5 6V5C5 4.72386 5.22386 4.5 5.5 4.5H10.5C10.7761 4.5 11 4.72386 11 5V6C11 6.27614 10.7761 6.5 10.5 6.5Z" fill="currentColor"/>
|
|
152
|
-
</svg>
|
|
153
|
-
`,
|
|
154
102
|
tooltip: 'Align center'
|
|
155
103
|
},
|
|
156
104
|
{
|
|
157
105
|
label: 'End',
|
|
158
106
|
value: 'end',
|
|
159
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
160
|
-
<path d="M14.084 15C14.3601 15 14.584 14.7761 14.584 14.5L14.584 1.5C14.584 1.22386 14.3601 1 14.084 1C13.8078 1 13.584 1.22386 13.584 1.5L13.584 14.5C13.584 14.7761 13.8078 15 14.084 15Z" fill="currentColor"/>
|
|
161
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.08398 6C5.08398 6.82843 5.75556 7.5 6.58398 7.5H11.584C12.4124 7.5 13.084 6.82843 13.084 6V5C13.084 4.17157 12.4124 3.5 11.584 3.5L6.58398 3.5C5.75556 3.5 5.08398 4.17157 5.08398 5V6ZM6.58398 6.5C6.30784 6.5 6.08398 6.27614 6.08398 6V5C6.08398 4.72386 6.30784 4.5 6.58398 4.5L11.584 4.5C11.8601 4.5 12.084 4.72386 12.084 5V6C12.084 6.27614 11.8601 6.5 11.584 6.5H6.58398Z" fill="currentColor"/>
|
|
162
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.58398 12.5C2.75556 12.5 2.08398 11.8284 2.08398 11L2.08398 10C2.08398 9.17157 2.75556 8.5 3.58398 8.5H11.584C12.4124 8.5 13.084 9.17157 13.084 10V11C13.084 11.8284 12.4124 12.5 11.584 12.5L3.58398 12.5ZM3.08398 11C3.08398 11.2761 3.30784 11.5 3.58398 11.5L11.584 11.5C11.8601 11.5 12.084 11.2761 12.084 11V10C12.084 9.72386 11.8601 9.5 11.584 9.5L3.58398 9.5C3.30784 9.5 3.08398 9.72386 3.08398 10L3.08398 11Z" fill="currentColor"/>
|
|
163
|
-
</svg>
|
|
164
|
-
`,
|
|
165
107
|
tooltip: 'Align end'
|
|
166
108
|
}
|
|
167
109
|
],
|
|
@@ -174,32 +116,16 @@ const RowSettings = [
|
|
|
174
116
|
{
|
|
175
117
|
label: 'Start',
|
|
176
118
|
value: 'start',
|
|
177
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
178
|
-
<path d="M15.5 2.25C15.5 2.52614 15.2761 2.75 15 2.75L2 2.75C1.72386 2.75 1.5 2.52614 1.5 2.25C1.5 1.97386 1.72386 1.75 2 1.75L15 1.75C15.2761 1.75 15.5 1.97386 15.5 2.25Z" fill="currentColor"/>
|
|
179
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.5 3.25C12.3284 3.25 13 3.92157 13 4.75L13 9.75C13 10.5784 12.3284 11.25 11.5 11.25L10.5 11.25C9.67157 11.25 9 10.5784 9 9.75L9 4.75C9 3.92157 9.67157 3.25 10.5 3.25L11.5 3.25ZM12 4.75C12 4.47386 11.7761 4.25 11.5 4.25L10.5 4.25C10.2239 4.25 10 4.47386 10 4.75L10 9.75C10 10.0261 10.2239 10.25 10.5 10.25L11.5 10.25C11.7761 10.25 12 10.0261 12 9.75L12 4.75Z" fill="currentColor"/>
|
|
180
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 4.75C8 3.92157 7.32843 3.25 6.5 3.25L5.5 3.25C4.67157 3.25 4 3.92157 4 4.75L4 12.75C4 13.5784 4.67157 14.25 5.5 14.25L6.5 14.25C7.32843 14.25 8 13.5784 8 12.75L8 4.75ZM6.5 4.25C6.77614 4.25 7 4.47386 7 4.75L7 12.75C7 13.0261 6.77614 13.25 6.5 13.25L5.5 13.25C5.22386 13.25 5 13.0261 5 12.75L5 4.75C5 4.47386 5.22386 4.25 5.5 4.25L6.5 4.25Z" fill="currentColor"/>
|
|
181
|
-
</svg>
|
|
182
|
-
`,
|
|
183
119
|
tooltip: 'Align top'
|
|
184
120
|
},
|
|
185
121
|
{
|
|
186
122
|
label: 'Center',
|
|
187
123
|
value: 'center',
|
|
188
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
189
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 8.5C14.5 8.77614 14.2921 9 14.0357 9L12.1786 9L12.1786 11C12.1786 11.8284 11.555 12.5 10.7857 12.5L9.85714 12.5C9.08789 12.5 8.46429 11.8284 8.46429 11L8.46429 9L7.53571 9L7.53571 12.5C7.53571 13.3284 6.91211 14 6.14286 14L5.21429 14C4.44503 14 3.82143 13.3284 3.82143 12.5L3.82143 9L1.96429 9C1.70787 9 1.5 8.77614 1.5 8.5C1.5 8.22386 1.70787 8 1.96429 8L3.82143 8L3.82143 4.5C3.82143 3.67157 4.44503 3 5.21429 3L6.14286 3C6.91211 3 7.53572 3.67157 7.53572 4.5L7.53571 8L8.46429 8L8.46429 6C8.46429 5.17157 9.08789 4.5 9.85714 4.5L10.7857 4.5C11.555 4.5 12.1786 5.17157 12.1786 6L12.1786 8L14.0357 8C14.2921 8 14.5 8.22386 14.5 8.5ZM4.75 12.5C4.75 12.7761 4.95787 13 5.21429 13L6.14286 13C6.39928 13 6.60714 12.7761 6.60714 12.5L6.60714 4.5C6.60714 4.22386 6.39928 4 6.14286 4L5.21429 4C4.95787 4 4.75 4.22386 4.75 4.5L4.75 12.5ZM9.39286 11L9.39286 6C9.39286 5.72386 9.60073 5.5 9.85714 5.5L10.7857 5.5C11.0421 5.5 11.25 5.72386 11.25 6L11.25 11C11.25 11.2761 11.0421 11.5 10.7857 11.5L9.85714 11.5C9.60073 11.5 9.39286 11.2761 9.39286 11Z" fill="currentColor"/>
|
|
190
|
-
</svg>
|
|
191
|
-
`,
|
|
192
124
|
tooltip: 'Align center'
|
|
193
125
|
},
|
|
194
126
|
{
|
|
195
127
|
label: 'End',
|
|
196
128
|
value: 'end',
|
|
197
|
-
icon: `<svg width="20" height="20" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
198
|
-
<path d="M1.5 14.5C1.5 14.2239 1.72386 14 2 14L15 14C15.2761 14 15.5 14.2239 15.5 14.5C15.5 14.7761 15.2761 15 15 15L2 15C1.72386 15 1.5 14.7761 1.5 14.5Z" fill="currentColor"/>
|
|
199
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 13.5C4.67157 13.5 4 12.8284 4 12L4 7C4 6.17157 4.67157 5.5 5.5 5.5L6.5 5.5C7.32843 5.5 8 6.17157 8 7L8 12C8 12.8284 7.32843 13.5 6.5 13.5L5.5 13.5ZM5 12C5 12.2761 5.22386 12.5 5.5 12.5L6.5 12.5C6.77614 12.5 7 12.2761 7 12L7 7C7 6.72386 6.77614 6.5 6.5 6.5L5.5 6.5C5.22386 6.5 5 6.72386 5 7L5 12Z" fill="currentColor"/>
|
|
200
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 12C9 12.8284 9.67157 13.5 10.5 13.5L11.5 13.5C12.3284 13.5 13 12.8284 13 12L13 4C13 3.17157 12.3284 2.5 11.5 2.5L10.5 2.5C9.67157 2.5 9 3.17157 9 4L9 12ZM10.5 12.5C10.2239 12.5 10 12.2761 10 12L10 4C10 3.72386 10.2239 3.5 10.5 3.5L11.5 3.5C11.7761 3.5 12 3.72386 12 4L12 12C12 12.2761 11.7761 12.5 11.5 12.5L10.5 12.5Z" fill="currentColor"/>
|
|
201
|
-
</svg>
|
|
202
|
-
`,
|
|
203
129
|
tooltip: 'Align bottom'
|
|
204
130
|
}
|
|
205
131
|
],
|