@gem-sdk/components 2.0.0-dev.255 → 2.0.0-dev.258
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.js +2 -2
- package/dist/cjs/banner/components/HeroBannerItem.liquid.js +1 -1
- package/dist/cjs/builder.js +3 -3
- package/dist/cjs/cart/components/CartList.js +2 -2
- package/dist/cjs/collection/components/CollectionBanner.js +2 -1
- package/dist/cjs/collection/components/CollectionBanner.liquid.js +2 -1
- package/dist/cjs/estimate-delivery/components/EstimateDate.liquid.js +1 -1
- package/dist/cjs/grid/col/Col.js +29 -0
- package/dist/cjs/grid/col/Col.liquid.js +25 -0
- package/dist/cjs/grid/col/common/getAttr.js +15 -0
- package/dist/cjs/grid/col/common/getClass.js +25 -0
- package/dist/cjs/grid/{components/Col.liquid.js → col/common/getStyles.js} +22 -16
- package/dist/cjs/grid/next.js +3 -3
- package/dist/cjs/grid/{components → row}/Row.js +44 -55
- package/dist/cjs/grid/row/Row.liquid.js +122 -0
- package/dist/cjs/grid/row/commons/common.js +35 -0
- package/dist/cjs/grid/row/commons/getAttr.js +20 -0
- package/dist/cjs/grid/row/commons/getClass.js +44 -0
- package/dist/cjs/grid/row/commons/getData.js +17 -0
- package/dist/cjs/grid/row/commons/getStyle.js +102 -0
- package/dist/cjs/grid/{components → row/commons}/helpers.js +4 -4
- package/dist/cjs/grid/row/hooks/useRowSetting.js +78 -0
- package/dist/cjs/grid/{setting/row → row/setting}/configs/uiV2.js +1 -1
- package/dist/cjs/grid/{components → section}/Section.js +1 -1
- package/dist/cjs/grid/{components → section}/Section.liquid.js +1 -1
- package/dist/cjs/grid/{setting → section/setting}/Section.js +4 -4
- package/dist/cjs/grid/setting/index.js +3 -3
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.liquid.js +3 -3
- package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductOffer.js +3 -2
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/uiV2.js +5 -2
- package/dist/cjs/product/components/Product.js +2 -1
- package/dist/cjs/product/components/Product.liquid.js +2 -1
- package/dist/cjs/product/components/ProductList.js +1 -1
- package/dist/cjs/product/components/ProductList.liquid.js +1 -1
- package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +2 -2
- package/dist/cjs/sticky/components/Sticky.js +1 -1
- package/dist/esm/banner/components/HeroBannerItem.js +2 -2
- package/dist/esm/banner/components/HeroBannerItem.liquid.js +1 -1
- package/dist/esm/builder.js +3 -3
- package/dist/esm/cart/components/CartList.js +2 -2
- package/dist/esm/collection/components/CollectionBanner.js +2 -1
- package/dist/esm/collection/components/CollectionBanner.liquid.js +2 -1
- package/dist/esm/estimate-delivery/components/EstimateDate.liquid.js +1 -1
- package/dist/esm/grid/col/Col.js +25 -0
- package/dist/esm/grid/col/Col.liquid.js +21 -0
- package/dist/esm/grid/col/common/getAttr.js +13 -0
- package/dist/esm/grid/col/common/getClass.js +23 -0
- package/dist/esm/grid/{components/Col.liquid.js → col/common/getStyles.js} +23 -15
- package/dist/esm/grid/next.js +3 -3
- package/dist/esm/grid/{components → row}/Row.js +41 -52
- package/dist/esm/grid/row/Row.liquid.js +118 -0
- package/dist/esm/grid/row/commons/common.js +31 -0
- package/dist/esm/grid/row/commons/getAttr.js +18 -0
- package/dist/esm/grid/row/commons/getClass.js +42 -0
- package/dist/esm/grid/row/commons/getData.js +15 -0
- package/dist/esm/grid/row/commons/getStyle.js +100 -0
- package/dist/esm/grid/{components → row/commons}/helpers.js +4 -4
- package/dist/esm/grid/row/hooks/useRowSetting.js +76 -0
- package/dist/esm/grid/{setting/row → row/setting}/configs/uiV2.js +1 -1
- package/dist/esm/grid/{components → section}/Section.js +1 -1
- package/dist/esm/grid/{components → section}/Section.liquid.js +1 -1
- package/dist/esm/grid/{setting → section/setting}/Section.js +4 -4
- package/dist/esm/grid/setting/index.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.liquid.js +3 -3
- package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +1 -1
- package/dist/esm/post-purchase/product/components/ProductOffer.js +3 -2
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/uiV2.js +5 -2
- package/dist/esm/product/components/Product.js +2 -1
- package/dist/esm/product/components/Product.liquid.js +2 -1
- package/dist/esm/product/components/ProductList.js +1 -1
- package/dist/esm/product/components/ProductList.liquid.js +1 -1
- package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +2 -2
- package/dist/esm/sticky/components/Sticky.js +1 -1
- package/dist/types/index.d.ts +23 -38
- package/package.json +2 -2
- package/dist/cjs/grid/components/Col.js +0 -44
- package/dist/cjs/grid/components/Row.liquid.js +0 -141
- package/dist/cjs/grid/hooks/useRowStyles.js +0 -153
- package/dist/esm/grid/components/Col.js +0 -40
- package/dist/esm/grid/components/Row.liquid.js +0 -137
- package/dist/esm/grid/hooks/useRowStyles.js +0 -151
- /package/dist/cjs/grid/{setting → col/setting}/Col.js +0 -0
- /package/dist/cjs/grid/{hooks → row/commons}/getInnerRadius.js +0 -0
- /package/dist/cjs/grid/{setting/row → row/setting}/Row.js +0 -0
- /package/dist/cjs/grid/{setting/row → row/setting}/configs/presets.js +0 -0
- /package/dist/cjs/grid/{setting/row → row/setting}/configs/settings.js +0 -0
- /package/dist/cjs/grid/{setting/row → row/setting}/configs/uiV1.js +0 -0
- /package/dist/cjs/grid/{setting/section → section/setting}/configs/settings.js +0 -0
- /package/dist/cjs/grid/{setting/section → section/setting}/configs/uiV1.js +0 -0
- /package/dist/cjs/grid/{setting/section → section/setting}/configs/uiV2.js +0 -0
- /package/dist/esm/grid/{setting → col/setting}/Col.js +0 -0
- /package/dist/esm/grid/{hooks → row/commons}/getInnerRadius.js +0 -0
- /package/dist/esm/grid/{setting/row → row/setting}/Row.js +0 -0
- /package/dist/esm/grid/{setting/row → row/setting}/configs/presets.js +0 -0
- /package/dist/esm/grid/{setting/row → row/setting}/configs/settings.js +0 -0
- /package/dist/esm/grid/{setting/row → row/setting}/configs/uiV1.js +0 -0
- /package/dist/esm/grid/{setting/section → section/setting}/configs/settings.js +0 -0
- /package/dist/esm/grid/{setting/section → section/setting}/configs/uiV1.js +0 -0
- /package/dist/esm/grid/{setting/section → section/setting}/configs/uiV2.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import config$1 from '
|
|
2
|
-
import { SectionSettings } from './
|
|
3
|
-
import { SettingUIV1 } from './
|
|
4
|
-
import { SettingUIV2 } from './
|
|
1
|
+
import config$1 from '../../row/setting/Row.js';
|
|
2
|
+
import { SectionSettings } from './configs/settings.js';
|
|
3
|
+
import { SettingUIV1 } from './configs/uiV1.js';
|
|
4
|
+
import { SettingUIV2 } from './configs/uiV2.js';
|
|
5
5
|
|
|
6
6
|
const config = {
|
|
7
7
|
...config$1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import config from './Root.js';
|
|
2
|
-
import config$1 from '
|
|
3
|
-
import config$
|
|
4
|
-
import config$
|
|
2
|
+
import config$1 from '../section/setting/Section.js';
|
|
3
|
+
import config$3 from '../row/setting/Row.js';
|
|
4
|
+
import config$2 from '../col/setting/Col.js';
|
|
5
5
|
|
|
6
6
|
var gridSetting = {
|
|
7
7
|
Root: config,
|
package/dist/esm/index.js
CHANGED
|
@@ -36,9 +36,9 @@ export { default as CollectionPaginator } from './collection/components/Collecti
|
|
|
36
36
|
export { default as countdownSetting } from './countdown-timer/setting/index.js';
|
|
37
37
|
export { default as Countdown } from './countdown-timer/components/Countdown.js';
|
|
38
38
|
export { default as gridSetting } from './grid/setting/index.js';
|
|
39
|
-
export { default as Col } from './grid/
|
|
40
|
-
export { default as Row } from './grid/
|
|
41
|
-
export { default as Section } from './grid/
|
|
39
|
+
export { default as Col } from './grid/col/Col.js';
|
|
40
|
+
export { default as Row } from './grid/row/Row.js';
|
|
41
|
+
export { default as Section } from './grid/section/Section.js';
|
|
42
42
|
export { default as Root } from './grid/components/Root.js';
|
|
43
43
|
export { default as headingSetting } from './heading/setting/index.js';
|
|
44
44
|
export { default as Heading } from './heading/Heading.js';
|
package/dist/esm/index.liquid.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
export { default as ButtonV1 } from './button/components/Button.liquid.js';
|
|
3
3
|
export { default as Button } from './button/components/v2/ButtonV2.liquid.js';
|
|
4
4
|
export { default as Coupon } from './coupon/components/Coupon.liquid.js';
|
|
5
|
-
export { default as Col } from './grid/
|
|
6
|
-
export { default as Row } from './grid/
|
|
7
|
-
export { default as Section } from './grid/
|
|
5
|
+
export { default as Col } from './grid/col/Col.liquid.js';
|
|
6
|
+
export { default as Row } from './grid/row/Row.liquid.js';
|
|
7
|
+
export { default as Section } from './grid/section/Section.liquid.js';
|
|
8
8
|
export { default as Root } from './grid/components/Root.liquid.js';
|
|
9
9
|
export { default as Icon } from './icon/components/Icon.liquid.js';
|
|
10
10
|
export { default as Text } from './text/components/Text.liquid.js';
|
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { createClass, createStyle } from '@gem-sdk/system';
|
|
4
4
|
import '@gem-sdk/core';
|
|
5
5
|
import 'react';
|
|
6
|
-
import Row from '../../../grid/
|
|
6
|
+
import Row from '../../../grid/row/Row.js';
|
|
7
7
|
import { getCalloutBoxWrapperClasses } from './common/getClasses.js';
|
|
8
8
|
import { getCalloutBoxContainerStyles } from './common/getStyles.js';
|
|
9
9
|
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useEditorMode, usePageStore, useProductsQuery, flattenConnection, cls, makeStyle, ProductProvider, isEmptyChildren, makeStyleResponsive, makeWidth } from '@gem-sdk/core';
|
|
4
4
|
import ChildrenDroppable from '../../../grid/components/ChildrenDroppable.js';
|
|
5
|
-
import
|
|
6
|
-
import Row from '../../../grid/
|
|
5
|
+
import '@gem-sdk/system';
|
|
6
|
+
import Row from '../../../grid/row/Row.js';
|
|
7
7
|
import Loading from '../../../common/components/Loading.js';
|
|
8
|
+
import { useMemo } from 'react';
|
|
8
9
|
import { postPurchaseViewSpacing } from '../../utils/helper.js';
|
|
9
10
|
import { hasPublicStoreFrontData, createStoreFrontFetcher } from '../helpers/index.js';
|
|
10
11
|
import { productOfferPlaceholder } from '../constants/ProductOfferPlaceholder.js';
|
|
@@ -20,16 +20,19 @@ const SettingUIV2 = [
|
|
|
20
20
|
},
|
|
21
21
|
iconName: 'polaris-text-block',
|
|
22
22
|
getValueFromSettingID: 'title',
|
|
23
|
+
disableClearMessage: `This label title is needed for customers <br> to adjust the product's quantity`,
|
|
23
24
|
controls: [
|
|
24
25
|
{
|
|
25
26
|
label: {
|
|
26
27
|
en: 'Content'
|
|
27
28
|
},
|
|
28
|
-
isHideClear: true,
|
|
29
29
|
setting: {
|
|
30
30
|
id: 'title'
|
|
31
31
|
},
|
|
32
|
-
layout: 'vertical'
|
|
32
|
+
layout: 'vertical',
|
|
33
|
+
options: {
|
|
34
|
+
clearButton: false
|
|
35
|
+
}
|
|
33
36
|
}
|
|
34
37
|
]
|
|
35
38
|
}
|
|
@@ -4,7 +4,8 @@ import { usePageType, usePageStore, isEmptyChildren, useProductQuery, useEditorM
|
|
|
4
4
|
import ChildrenDroppable from '../../grid/components/ChildrenDroppable.js';
|
|
5
5
|
import Loading from '../../common/components/Loading.js';
|
|
6
6
|
import { useMemo, useState } from 'react';
|
|
7
|
-
import
|
|
7
|
+
import '@gem-sdk/system';
|
|
8
|
+
import Row from '../../grid/row/Row.js';
|
|
8
9
|
import dynamic from 'next/dynamic';
|
|
9
10
|
import { hasPublicStoreFrontData, createStoreFrontFetcher } from '../../post-purchase/product/helpers/index.js';
|
|
10
11
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { composeAdvanceStyle, template, RenderIf, isLocalEnv, baseAssetURL } from '@gem-sdk/core';
|
|
2
|
-
import
|
|
2
|
+
import '@gem-sdk/system';
|
|
3
|
+
import Row from '../../grid/row/Row.liquid.js';
|
|
3
4
|
import { getStaticLocale, getSettingPreloadData } from '../../helpers.js';
|
|
4
5
|
|
|
5
6
|
const PRODUCT_ID_LATEST = 'latest';
|
|
@@ -14,7 +14,7 @@ import { getSizeSetting } from '../helpers/product.js';
|
|
|
14
14
|
import SalePageProductListWarning from './SalePageProductListWarning.js';
|
|
15
15
|
import { getPropertyByDevice } from '../../dialog/helpers/common.js';
|
|
16
16
|
import Head from 'next/head';
|
|
17
|
-
import { createStyleObject } from '../../grid/
|
|
17
|
+
import { createStyleObject } from '../../grid/row/commons/helpers.js';
|
|
18
18
|
|
|
19
19
|
const ProductNotFound = dynamic(()=>import('./ProductNotFound.js'), {
|
|
20
20
|
loading: Loading
|
|
@@ -7,7 +7,7 @@ import { getUpdatedArrowDisplay } from '../../carousel/components/common/arrow.j
|
|
|
7
7
|
import { getUpdatedDotStyle } from '../../carousel/components/common/dots.js';
|
|
8
8
|
import { convertUnitToNumber } from './ProductImages/common/productFeaturedImage.js';
|
|
9
9
|
import { getSettingPreloadData, getStaticLocale } from '../../helpers.js';
|
|
10
|
-
import { createStyleObject } from '../../grid/
|
|
10
|
+
import { createStyleObject } from '../../grid/row/commons/helpers.js';
|
|
11
11
|
|
|
12
12
|
const ProductList = ({ setting, builderProps, styles, className, children, advanced, pageContext, style })=>{
|
|
13
13
|
const PREFIX_COLLECTION_ID = 'gid://shopify/Collection/';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import Column from '../../../grid/
|
|
4
|
-
import Row from '../../../grid/
|
|
3
|
+
import Column from '../../../grid/col/Col.js';
|
|
4
|
+
import Row from '../../../grid/row/Row.js';
|
|
5
5
|
import { useState } from 'react';
|
|
6
6
|
import '../../../modal/components/confirm.js';
|
|
7
7
|
import Modal from '../../../modal/components/Modal.js';
|
|
@@ -4,8 +4,8 @@ import { makeStyleResponsive, usePageStore, useCurrentDevice, cls, getStyleBackg
|
|
|
4
4
|
import Head from 'next/head';
|
|
5
5
|
import ChildrenDroppable from '../../grid/components/ChildrenDroppable.js';
|
|
6
6
|
import { useMemo, useCallback } from 'react';
|
|
7
|
-
import { createStyleObject } from '../../grid/components/helpers.js';
|
|
8
7
|
import { ELEMENT_Z_INDEX } from '../../common/const.js';
|
|
8
|
+
import { createStyleObject } from '../../grid/row/commons/helpers.js';
|
|
9
9
|
|
|
10
10
|
const Sticky = ({ children, builderAttrs, setting, style, builderProps })=>{
|
|
11
11
|
const { width, fullWidth, position, minimize, background, preloadBgImage } = setting ?? {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -598,23 +598,27 @@ declare const CartLineImage: React.FC<CartLineImageProps>;
|
|
|
598
598
|
declare const _default$O: {
|
|
599
599
|
Root: _gem_sdk_core.ComponentSetting<any>;
|
|
600
600
|
Section: _gem_sdk_core.ComponentSetting<RowProps>;
|
|
601
|
-
Col: _gem_sdk_core.ComponentSetting<ColProps
|
|
601
|
+
Col: _gem_sdk_core.ComponentSetting<ColProps>;
|
|
602
602
|
Row: _gem_sdk_core.ComponentSetting<RowProps>;
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
-
type ColProps
|
|
605
|
+
type ColProps = BasePropsWrap<{
|
|
606
606
|
allowSameHeight?: boolean;
|
|
607
607
|
}, {
|
|
608
608
|
order?: ObjectDevices<number>;
|
|
609
609
|
gap?: ObjectDevices<string>;
|
|
610
610
|
alignItem?: ObjectDevices<Property.AlignItems>;
|
|
611
611
|
justifyContent?: ObjectDevices<Property.JustifyContent>;
|
|
612
|
+
display?: ObjectDevices<Property.Display>;
|
|
612
613
|
fullWidth?: boolean;
|
|
613
614
|
}> & React.ComponentPropsWithoutRef<'div'> & {
|
|
614
615
|
justifyContent?: ObjectDevices<Property.JustifyContent>;
|
|
615
616
|
order?: ObjectDevices<number>;
|
|
617
|
+
} & {
|
|
618
|
+
advanced?: any;
|
|
616
619
|
};
|
|
617
|
-
|
|
620
|
+
|
|
621
|
+
declare const Column$1: React.FC<ColProps>;
|
|
618
622
|
|
|
619
623
|
type RowSettingsType = {
|
|
620
624
|
responsive?: ObjectDevices<string>;
|
|
@@ -661,7 +665,7 @@ declare const Root$1: React.FC<RootProps$1>;
|
|
|
661
665
|
|
|
662
666
|
type CartListProps = BaseProps<{
|
|
663
667
|
itemPerPage?: number;
|
|
664
|
-
}, NonNullable<ColProps
|
|
668
|
+
}, NonNullable<ColProps['styles']>> & {
|
|
665
669
|
children: React.ReactNode;
|
|
666
670
|
};
|
|
667
671
|
declare const CartList: React.FC<CartListProps>;
|
|
@@ -2335,10 +2339,6 @@ type TextareaProps = {
|
|
|
2335
2339
|
} & MixedProps$3;
|
|
2336
2340
|
declare const TextArea: React.FC<TextareaProps>;
|
|
2337
2341
|
|
|
2338
|
-
declare const _default$w: {
|
|
2339
|
-
Video: _gem_sdk_core.ComponentSetting<VideoProps>;
|
|
2340
|
-
};
|
|
2341
|
-
|
|
2342
2342
|
type PosterProps = {
|
|
2343
2343
|
src?: string;
|
|
2344
2344
|
width?: number;
|
|
@@ -2347,7 +2347,7 @@ type PosterProps = {
|
|
|
2347
2347
|
backupFileKey?: string;
|
|
2348
2348
|
storage?: 'THEME' | 'FILE_CONTENT';
|
|
2349
2349
|
};
|
|
2350
|
-
type VideoProps
|
|
2350
|
+
type VideoProps = BasePropsWrap<{
|
|
2351
2351
|
ratioOptions?: ObjectDevices<Ratio>;
|
|
2352
2352
|
type?: 'youtube' | 'vimeo' | 'html5';
|
|
2353
2353
|
lazy?: boolean;
|
|
@@ -2372,7 +2372,11 @@ type VideoProps$1 = BasePropsWrap<{
|
|
|
2372
2372
|
children?: React.ReactNode;
|
|
2373
2373
|
};
|
|
2374
2374
|
|
|
2375
|
-
declare const
|
|
2375
|
+
declare const _default$w: {
|
|
2376
|
+
Video: _gem_sdk_core.ComponentSetting<VideoProps>;
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
declare const Video$1: React.FC<VideoProps>;
|
|
2376
2380
|
|
|
2377
2381
|
declare const _default$v: {
|
|
2378
2382
|
Menu: _gem_sdk_core.ComponentSetting<MenuProps>;
|
|
@@ -5440,7 +5444,7 @@ declare const _default$2: {
|
|
|
5440
5444
|
AlsoBoughtCbb: React.ComponentType<AlsoBoughtCbbProps>;
|
|
5441
5445
|
HextomFreeShippingBar: React.ComponentType<HextomFreeShippingBarProps>;
|
|
5442
5446
|
Menu: React.ComponentType<MenuProps>;
|
|
5443
|
-
Video: React.ComponentType<VideoProps
|
|
5447
|
+
Video: React.ComponentType<VideoProps>;
|
|
5444
5448
|
Textarea: React.ComponentType<TextareaProps>;
|
|
5445
5449
|
Text: React.ComponentType<_gem_sdk_core.BaseProps<{
|
|
5446
5450
|
text?: string | number | undefined;
|
|
@@ -5529,7 +5533,7 @@ declare const _default$2: {
|
|
|
5529
5533
|
Header: React.ComponentType<HeaderProps>;
|
|
5530
5534
|
Heading: React.ComponentType<HeadingProps>;
|
|
5531
5535
|
Row: React.ComponentType<RowProps>;
|
|
5532
|
-
Col: React.ComponentType<ColProps
|
|
5536
|
+
Col: React.ComponentType<ColProps>;
|
|
5533
5537
|
Section: React.ComponentType<RowProps>;
|
|
5534
5538
|
Root: React.ComponentType<RootProps$1>;
|
|
5535
5539
|
Countdown: React.ComponentType<CountdownProps>;
|
|
@@ -5675,28 +5679,9 @@ declare const Coupon: ({ setting, builderProps, builderAttrs, style, styles, adv
|
|
|
5675
5679
|
pageContext?: PageContext | undefined;
|
|
5676
5680
|
}) => string;
|
|
5677
5681
|
|
|
5678
|
-
|
|
5679
|
-
allowSameHeight?: boolean;
|
|
5680
|
-
}, {
|
|
5681
|
-
order?: ObjectDevices<number>;
|
|
5682
|
-
gap?: ObjectDevices<string>;
|
|
5683
|
-
alignItem?: ObjectDevices<Property.AlignItems>;
|
|
5684
|
-
justifyContent?: ObjectDevices<Property.JustifyContent>;
|
|
5685
|
-
display?: ObjectDevices<Property.Display>;
|
|
5686
|
-
fullWidth?: boolean;
|
|
5687
|
-
}> & {
|
|
5688
|
-
justifyContent?: ObjectDevices<Property.JustifyContent>;
|
|
5689
|
-
order?: ObjectDevices<number>;
|
|
5690
|
-
className?: string;
|
|
5691
|
-
children?: string;
|
|
5692
|
-
layout?: ObjectDevices<ObjectLayoutValue>;
|
|
5693
|
-
parentTag?: string;
|
|
5694
|
-
} & {
|
|
5695
|
-
advanced?: any;
|
|
5696
|
-
};
|
|
5697
|
-
declare const Column: ({ children, className, style, builderAttrs, builderProps, advanced, setting, styles, justifyContent, order, layout, parentTag, ...props }: ColProps) => string;
|
|
5682
|
+
declare const Column: ({ children, className, style, builderAttrs, builderProps, advanced, setting, styles, justifyContent, order, ...props }: ColProps) => string;
|
|
5698
5683
|
|
|
5699
|
-
declare const Row: (
|
|
5684
|
+
declare const Row: (props: RowProps) => string;
|
|
5700
5685
|
|
|
5701
5686
|
declare const Section: (props: RowProps) => string;
|
|
5702
5687
|
|
|
@@ -6490,7 +6475,7 @@ declare const Image: ({ styles, className, setting, builderAttrs, builderProps,
|
|
|
6490
6475
|
pageContext?: PageContext | undefined;
|
|
6491
6476
|
}) => string;
|
|
6492
6477
|
|
|
6493
|
-
declare const Video: ({ className, setting, style, builderAttrs, builderProps, advanced }: VideoProps
|
|
6478
|
+
declare const Video: ({ className, setting, style, builderAttrs, builderProps, advanced }: VideoProps) => string;
|
|
6494
6479
|
|
|
6495
6480
|
type AccordionPropsLiquid = AccordionProps & {
|
|
6496
6481
|
rawChildren?: any[];
|
|
@@ -7598,7 +7583,7 @@ declare const _default$1: {
|
|
|
7598
7583
|
CollectionPaginator: React.FC<CollectionPaginatorProps>;
|
|
7599
7584
|
Countdown: React.FC<CountdownProps>;
|
|
7600
7585
|
Row: React.FC<RowProps>;
|
|
7601
|
-
Col: React.FC<ColProps
|
|
7586
|
+
Col: React.FC<ColProps>;
|
|
7602
7587
|
Section: React.FC<RowProps>;
|
|
7603
7588
|
Root: React.FC<RootProps$1>;
|
|
7604
7589
|
Heading: React.FC<HeadingProps>;
|
|
@@ -7693,7 +7678,7 @@ declare const _default$1: {
|
|
|
7693
7678
|
style?: React.CSSProperties | undefined;
|
|
7694
7679
|
} & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref">, ""> & React.RefAttributes<HTMLElement>>;
|
|
7695
7680
|
Textarea: React.FC<TextareaProps>;
|
|
7696
|
-
Video: React.FC<VideoProps
|
|
7681
|
+
Video: React.FC<VideoProps>;
|
|
7697
7682
|
Menu: React.FC<MenuProps>;
|
|
7698
7683
|
PushOwl: React.FC<ButtonProps$1>;
|
|
7699
7684
|
ThirdPartySlot: React.FC<ThirdPartySlotProps>;
|
|
@@ -8052,7 +8037,7 @@ declare const _default: {
|
|
|
8052
8037
|
Heading: _gem_sdk_core.ComponentSetting<HeadingProps>;
|
|
8053
8038
|
Root: _gem_sdk_core.ComponentSetting<any>;
|
|
8054
8039
|
Section: _gem_sdk_core.ComponentSetting<RowProps>;
|
|
8055
|
-
Col: _gem_sdk_core.ComponentSetting<ColProps
|
|
8040
|
+
Col: _gem_sdk_core.ComponentSetting<ColProps>;
|
|
8056
8041
|
Row: _gem_sdk_core.ComponentSetting<RowProps>;
|
|
8057
8042
|
Countdown: _gem_sdk_core.ComponentSetting<CountdownProps>;
|
|
8058
8043
|
CollectionTitle: _gem_sdk_core.ComponentSetting<CollectionTitleProps>;
|
|
@@ -8123,4 +8108,4 @@ declare const getInsertLinkData: (defaultWrap: string, setting?: {
|
|
|
8123
8108
|
declare const replaceLinkData: (text?: string, isTranslate?: boolean) => string | undefined;
|
|
8124
8109
|
declare function filterTruthyStyles<T extends Record<string, any>>(styles: T): Partial<T>;
|
|
8125
8110
|
|
|
8126
|
-
export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, AlsoBoughtCbbProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BgImage as BackgroundImage, BackgroundImageProps, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$4 as Button, ButtonProps$1 as ButtonProps, Button$3 as ButtonV1, CSSCode$1 as CSSCode, CSSCodeProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps$1 as ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EssentialCountdownTimerBarProps, EstimateDate$1 as EstimateDate, EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$3 as IconListItemProps, IconListProps$2 as IconListProps, IconListV2$1 as IconListV2, IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageDetection, ImageDetectionProps, ImageProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantJudgemeReviewsProps, InstantKlaviyo, InstantKlaviyoProps, InstantLooxReviews, InstantLooxReviewsProps, InstantYotpoLoyalty, InstantYotpoLoyaltyProps, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps$1 as LineProps, Link$1 as Link, LinkProps$1 as LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$3 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps$1 as NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAcceptButtonProps, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$2 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps$1 as PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps$1 as ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductList$1 as ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityBreakItemProps, ProductQuantityBreakProps, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RadioProps, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$1 as RootProps, Row$1 as Row, RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, SelectProps, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StickyProps, StockCounter$1 as StockCounter, StockCounterProps$1 as StockCounterProps, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps$1 as TextAreaProps, TextField$1 as TextField, TextFieldProps$1 as TextFieldProps, TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustBadgesBearProps, TrustMe$1 as TrustMe, TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, _default$U as accordionSetting, _default$5 as articleListSetting, _default$s as bannerSetting, _default$T as breadcrumbSetting, _default$1 as builderComponent, _default$S as buttonSetting, _default$Q as carouselSetting, _default$N as cartSetting, _default$q as codeSetting, _default$M as collectionSetting, _default as componentSettings, _default$m as contactFormSetting, _default$L as countdownSetting, _default$R as couponSetting, _default$n as dialogSetting, _default$6 as estimateDeliverySetting, filterTruthyStyles, getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale, _default$O as gridSetting, _default$J as headerSetting, _default$K as headingSetting, _default$p as iconListHozSetting, _default$r as iconListSetting, _default$g as iconListSettingV2, _default$I as iconSetting, _default$k as imageComparisonSetting, _default$l as imageDetectionSetting, _default$P as imageSetting, _default$H as inputSetting, isHexTransparent, isTransparentColor, isTransparentRGBA, _default$G as lineSetting, _default$F as linkSetting, index_liquid as liquidComponents, _default$4 as marqueeSetting, _default$v as menuSetting, _default$E as modalSetting, _default$2 as nextComponent, openConfirm, _default$D as paginationSetting, _default$9 as postPurchaseAdvancedListSetting, _default$d as postPurchaseButtonSetting, _default$b as postPurchaseCalloutBoxSetting, _default$8 as postPurchaseCountdownTimerSetting, _default$e as postPurchaseImageSetting, _default$a as postPurchaseLineSetting, _default$7 as postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, _default$c as postPurchaseProductSetting, _default$f as postPurchaseTextSetting, _default$C as productSetting, _default$A as radioSetting, replaceLinkData, _default$z as selectSetting, _default$i as shopPayInstallmentSetting, _default$h as stickySetting, _default$o as stockCounterSetting, _default$y as tabSetting, _default$B as textSetting, _default$x as textareaSetting, _default$t as thirdPartyInstantSetting, _default$u as thirdPartySetting, _default$j as thirdPartySlotSetting, useInView, useNotification, _default$w as videoSetting, youtubeShortsRegex };
|
|
8111
|
+
export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, AlsoBoughtCbbProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BgImage as BackgroundImage, BackgroundImageProps, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$4 as Button, ButtonProps$1 as ButtonProps, Button$3 as ButtonV1, CSSCode$1 as CSSCode, CSSCodeProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EssentialCountdownTimerBarProps, EstimateDate$1 as EstimateDate, EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$3 as IconListItemProps, IconListProps$2 as IconListProps, IconListV2$1 as IconListV2, IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageDetection, ImageDetectionProps, ImageProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantJudgemeReviewsProps, InstantKlaviyo, InstantKlaviyoProps, InstantLooxReviews, InstantLooxReviewsProps, InstantYotpoLoyalty, InstantYotpoLoyaltyProps, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps$1 as LineProps, Link$1 as Link, LinkProps$1 as LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$3 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps$1 as NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAcceptButtonProps, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$2 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps$1 as PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps$1 as ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductList$1 as ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityBreakItemProps, ProductQuantityBreakProps, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RadioProps, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$1 as RootProps, Row$1 as Row, RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, SelectProps, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StickyProps, StockCounter$1 as StockCounter, StockCounterProps$1 as StockCounterProps, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps$1 as TextAreaProps, TextField$1 as TextField, TextFieldProps$1 as TextFieldProps, TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustBadgesBearProps, TrustMe$1 as TrustMe, TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, _default$U as accordionSetting, _default$5 as articleListSetting, _default$s as bannerSetting, _default$T as breadcrumbSetting, _default$1 as builderComponent, _default$S as buttonSetting, _default$Q as carouselSetting, _default$N as cartSetting, _default$q as codeSetting, _default$M as collectionSetting, _default as componentSettings, _default$m as contactFormSetting, _default$L as countdownSetting, _default$R as couponSetting, _default$n as dialogSetting, _default$6 as estimateDeliverySetting, filterTruthyStyles, getDynamicSourceLocales, getInsertLinkData, getSettingPreloadData, getStaticLocale, _default$O as gridSetting, _default$J as headerSetting, _default$K as headingSetting, _default$p as iconListHozSetting, _default$r as iconListSetting, _default$g as iconListSettingV2, _default$I as iconSetting, _default$k as imageComparisonSetting, _default$l as imageDetectionSetting, _default$P as imageSetting, _default$H as inputSetting, isHexTransparent, isTransparentColor, isTransparentRGBA, _default$G as lineSetting, _default$F as linkSetting, index_liquid as liquidComponents, _default$4 as marqueeSetting, _default$v as menuSetting, _default$E as modalSetting, _default$2 as nextComponent, openConfirm, _default$D as paginationSetting, _default$9 as postPurchaseAdvancedListSetting, _default$d as postPurchaseButtonSetting, _default$b as postPurchaseCalloutBoxSetting, _default$8 as postPurchaseCountdownTimerSetting, _default$e as postPurchaseImageSetting, _default$a as postPurchaseLineSetting, _default$7 as postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, _default$c as postPurchaseProductSetting, _default$f as postPurchaseTextSetting, _default$C as productSetting, _default$A as radioSetting, replaceLinkData, _default$z as selectSetting, _default$i as shopPayInstallmentSetting, _default$h as stickySetting, _default$o as stockCounterSetting, _default$y as tabSetting, _default$B as textSetting, _default$x as textareaSetting, _default$t as thirdPartyInstantSetting, _default$u as thirdPartySetting, _default$j as thirdPartySlotSetting, useInView, useNotification, _default$w as videoSetting, youtubeShortsRegex };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.258",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/get-control-relationship.js && node ./scripts/get-element-relationship.js"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@gem-sdk/core": "2.0.0-dev.
|
|
25
|
+
"@gem-sdk/core": "2.0.0-dev.257",
|
|
26
26
|
"@gem-sdk/styles": "2.0.0-dev.234",
|
|
27
27
|
"@gem-sdk/system": "2.0.0-dev.234",
|
|
28
28
|
"@types/react-transition-group": "^4.4.5"
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
var core = require('@gem-sdk/core');
|
|
8
|
-
var ChildrenDroppable = require('./ChildrenDroppable.js');
|
|
9
|
-
var React = require('react');
|
|
10
|
-
|
|
11
|
-
const Column = ({ children, className, style, builderAttrs, builderProps, advanced, setting, styles, justifyContent, order, ...props })=>{
|
|
12
|
-
const pageType = core.usePageType();
|
|
13
|
-
const orderRender = React.useMemo(()=>{
|
|
14
|
-
const od = order ?? styles?.order;
|
|
15
|
-
if (pageType === 'POST_PURCHASE') {
|
|
16
|
-
return {
|
|
17
|
-
desktop: od?.desktop,
|
|
18
|
-
tablet: od?.desktop,
|
|
19
|
-
mobile: od?.desktop
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
return od;
|
|
23
|
-
}, [
|
|
24
|
-
order,
|
|
25
|
-
pageType,
|
|
26
|
-
styles?.order
|
|
27
|
-
]);
|
|
28
|
-
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
29
|
-
...props,
|
|
30
|
-
...builderAttrs,
|
|
31
|
-
style: {
|
|
32
|
-
...core.makeStyleResponsive('cg', styles?.gap),
|
|
33
|
-
...core.makeStyleResponsive('rg', styles?.gap),
|
|
34
|
-
...core.makeStyleResponsive('ai', styles?.alignItem),
|
|
35
|
-
...core.makeStyleResponsive('jc', justifyContent ?? styles?.justifyContent),
|
|
36
|
-
...core.makeStyleResponsive('o', orderRender)
|
|
37
|
-
},
|
|
38
|
-
className: core.cls(className, builderProps?.uid, 'gp-relative gp-flex gp-flex-col', styles?.fullWidth ? 'gp-w-full' : ''),
|
|
39
|
-
"data-same-height-display-contents": !!setting?.allowSameHeight,
|
|
40
|
-
children: core.isEmptyChildren(children) ? /*#__PURE__*/ jsxRuntime.jsx(ChildrenDroppable.default, {}) : children
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
exports.default = Column;
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var core = require('@gem-sdk/core');
|
|
6
|
-
var helpers = require('./helpers.js');
|
|
7
|
-
var helpers$1 = require('../../helpers.js');
|
|
8
|
-
var common = require('../../banner/components/common/common.js');
|
|
9
|
-
var HTML5Embed_liquid = require('../../video/components/HTML5Embed.liquid.js');
|
|
10
|
-
|
|
11
|
-
const Row = ({ className, children, setting, builderAttrs, builderProps, styles, style, rawChildren, advanced, ...props })=>{
|
|
12
|
-
const { isSection, horizontalAlign, verticalAlign, order, layout, responsive } = setting ?? {};
|
|
13
|
-
const { fullWidth, width, verticalGutter, verticalGutterMobile, background } = styles ?? {};
|
|
14
|
-
const backgroundResponsive = common.getResponsiveSetting(background || {});
|
|
15
|
-
const DEVICES = [
|
|
16
|
-
'desktop',
|
|
17
|
-
'tablet',
|
|
18
|
-
'mobile'
|
|
19
|
-
];
|
|
20
|
-
const checkHasBackgroundVideo = ()=>{
|
|
21
|
-
return DEVICES.some((item)=>{
|
|
22
|
-
const bg = core.getValueByDevice(background, item);
|
|
23
|
-
if (bg) return bg.videoType === 'html5' && bg.videoHtml5 || bg.videoType === 'youtube' && bg.video;
|
|
24
|
-
return false;
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
const styleObject = helpers.createStyleObject(width, fullWidth);
|
|
28
|
-
const [wrapStyle, restStyle] = core.splitStyle([
|
|
29
|
-
'pos',
|
|
30
|
-
'top',
|
|
31
|
-
'left',
|
|
32
|
-
'bottom',
|
|
33
|
-
'right',
|
|
34
|
-
'z'
|
|
35
|
-
], style);
|
|
36
|
-
const [radiusStyle] = core.splitStyle([
|
|
37
|
-
'bblr',
|
|
38
|
-
'bbrr',
|
|
39
|
-
'btlr',
|
|
40
|
-
'btrr'
|
|
41
|
-
], style);
|
|
42
|
-
const renderComponentScript = ()=>{
|
|
43
|
-
if (!checkHasBackgroundVideo()) return;
|
|
44
|
-
return core.template`
|
|
45
|
-
${core.RenderIf(core.isLocalEnv, `<script ${helpers$1.getSettingPreloadData('class="gps-link" delay', 'src')}="{{ 'gp-row.js' | asset_url }}" defer="defer"></script>`, `<script ${helpers$1.getSettingPreloadData('class="gps-link" delay', 'src')}="${core.baseAssetURL}/assets-v2/gp-row.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
46
|
-
`;
|
|
47
|
-
};
|
|
48
|
-
const embed = ()=>{
|
|
49
|
-
const videoType = backgroundResponsive.desktop?.videoType;
|
|
50
|
-
const videoTypeTablet = backgroundResponsive.tablet?.videoType;
|
|
51
|
-
const videoTypeMobile = backgroundResponsive.mobile?.videoType;
|
|
52
|
-
if (videoType == 'html5' || videoTypeTablet == 'html5' || videoTypeMobile == 'html5') {
|
|
53
|
-
return HTML5Embed_liquid.default({
|
|
54
|
-
uid: builderProps?.uid,
|
|
55
|
-
muted: true,
|
|
56
|
-
loop: backgroundResponsive.desktop?.loop,
|
|
57
|
-
controls: false,
|
|
58
|
-
autoplay: true,
|
|
59
|
-
src: '',
|
|
60
|
-
title: 'Video',
|
|
61
|
-
className: 'gp-relative',
|
|
62
|
-
style: {
|
|
63
|
-
transform: 'translateY(-50%)',
|
|
64
|
-
top: '50%'
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
return;
|
|
69
|
-
};
|
|
70
|
-
const element = core.template`
|
|
71
|
-
<gp-row
|
|
72
|
-
gp-data='${core.dataStringify({
|
|
73
|
-
background: background,
|
|
74
|
-
uid: builderProps?.uid
|
|
75
|
-
}).replaceAll("'", ''')}'
|
|
76
|
-
${{
|
|
77
|
-
...props,
|
|
78
|
-
id: builderProps?.uid,
|
|
79
|
-
'data-id': builderProps?.uid
|
|
80
|
-
}}
|
|
81
|
-
style="${{
|
|
82
|
-
...isSection ? restStyle : style,
|
|
83
|
-
...core.makeStyleResponsive('cg', verticalGutter),
|
|
84
|
-
...core.makeStyleResponsive('rg', verticalGutterMobile),
|
|
85
|
-
...core.makeStyleResponsive('pc', horizontalAlign),
|
|
86
|
-
...layout ? core.composeGridLayout(layout) : core.makeStyleResponsive('gtc', responsive),
|
|
87
|
-
...core.makeStyleResponsive('w', styleObject.content),
|
|
88
|
-
...core.getStyleBackgroundByDevice(background, {
|
|
89
|
-
liquid: true
|
|
90
|
-
}),
|
|
91
|
-
...core.getGradientBgrStyleByDevice(background, {
|
|
92
|
-
desktop: true,
|
|
93
|
-
tablet: true,
|
|
94
|
-
mobile: true
|
|
95
|
-
})
|
|
96
|
-
}}"
|
|
97
|
-
class="${core.cls(className, builderProps?.uid, advanced?.cssClass, 'gp-relative gp-mx-auto gp-mb-0 gp-grid gp-max-w-full gp-transition-colors gp-duration-200 gp-ease-in-out [&_*]:gp-max-w-full')}"
|
|
98
|
-
>
|
|
99
|
-
<div class="gp-bg-video gp-absolute gp-overflow-hidden gp-w-full gp-h-full top-0 left-0" style="${{
|
|
100
|
-
...radiusStyle
|
|
101
|
-
}}">
|
|
102
|
-
${embed()}
|
|
103
|
-
|
|
104
|
-
</div>
|
|
105
|
-
${core.WrapRenderChildren({
|
|
106
|
-
uid: builderProps?.uid || '',
|
|
107
|
-
customProps: rawChildren?.[0].customProps
|
|
108
|
-
}, rawChildren?.map((child)=>{
|
|
109
|
-
if (child) {
|
|
110
|
-
return core.RenderChildren({
|
|
111
|
-
...child,
|
|
112
|
-
order,
|
|
113
|
-
layout,
|
|
114
|
-
justifyContent: verticalAlign
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
}))}
|
|
118
|
-
${renderComponentScript()}
|
|
119
|
-
</gp-row>
|
|
120
|
-
`;
|
|
121
|
-
const elementTag = isSection ? 'section' : 'div';
|
|
122
|
-
return core.template`
|
|
123
|
-
${core.RenderIf(!!styles?.preloadBgImage, `${core.RenderIf(!!background?.desktop?.image?.src, `<link rel="preload" href="${background?.desktop?.image?.src}" as="image" />`)}${core.RenderIf(!!background?.tablet?.image?.src, `<link rel="preload" href="${background?.tablet?.image?.src}" as="image" />`)}${core.RenderIf(!!background?.mobile?.image?.src, `<link rel="preload" href="${background?.mobile?.image?.src}" as="image" />`)}`)}
|
|
124
|
-
${core.template`
|
|
125
|
-
${core.RenderIf(!!isSection, `{% assign locationOrigin = request.origin | append: routes.root_url | split: '/' | join: '/' %}`)}
|
|
126
|
-
<${elementTag}
|
|
127
|
-
class="gp-max-w-full ${isSection ? helpers$1.getSettingPreloadData('gps-lazy') : ''}"
|
|
128
|
-
data-same-height-display-contents="${!!setting?.allowSameHeight}"
|
|
129
|
-
style="${{
|
|
130
|
-
...wrapStyle,
|
|
131
|
-
...core.makeStyleResponsive('pl', styleObject.padding),
|
|
132
|
-
...core.makeStyleResponsive('pr', styleObject.padding)
|
|
133
|
-
}}"
|
|
134
|
-
>
|
|
135
|
-
${element}
|
|
136
|
-
</${elementTag}>
|
|
137
|
-
`}
|
|
138
|
-
`;
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
exports.default = Row;
|