@gem-sdk/components 2.0.0-dev.328 → 2.0.0-dev.330
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.
|
@@ -22,7 +22,6 @@ const ProductNotFound = dynamic(()=>Promise.resolve().then(function () { return
|
|
|
22
22
|
});
|
|
23
23
|
const ProductList = (props)=>{
|
|
24
24
|
const { children, styles, builderProps, setting, builderAttrs } = props;
|
|
25
|
-
const { builderData } = builderProps ?? {};
|
|
26
25
|
const { isRelatedProduct, productSetting } = index.getData(props);
|
|
27
26
|
const relatedTagString = productSetting.relatedTag && productSetting.relatedTag[0];
|
|
28
27
|
const mode = core.useEditorMode();
|
|
@@ -304,7 +303,7 @@ const ProductList = (props)=>{
|
|
|
304
303
|
if (isProductNotFoundEditMode) {
|
|
305
304
|
return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
306
305
|
children: system.If(fromWarningImportShopify, /*#__PURE__*/ jsxRuntime.jsx(ProductNotFound, {
|
|
307
|
-
builderAttrs:
|
|
306
|
+
builderAttrs: builderAttrs,
|
|
308
307
|
collectionHandle: collection?.handle,
|
|
309
308
|
productSrc: productSrc,
|
|
310
309
|
onClose: ()=>setFromWarningImportShopify(false),
|
|
@@ -45,26 +45,26 @@ var ProductBadge = require('./setting/ProductBadge.js');
|
|
|
45
45
|
var index$7 = require('./components/FileUpload/components/setting/index.js');
|
|
46
46
|
|
|
47
47
|
const productSetting = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
Product: Product$1.default,
|
|
49
|
+
ProductQuantity: ProductQuantity$1.default,
|
|
50
|
+
ProductTitle: ProductTitle.default,
|
|
51
|
+
ProductButton: ProductButton$1.default,
|
|
52
|
+
ProductPrice: ProductPrice.default,
|
|
53
|
+
ProductVariants: ProductVariants.default,
|
|
54
|
+
ProductImages: ProductImages$1.default,
|
|
55
|
+
ProductImagesV2: ProductImages$2.default,
|
|
56
|
+
ProductDescription: ProductDescription.default,
|
|
57
|
+
ProductProperties: ProductProperties$1.default,
|
|
58
|
+
ProductTag: ProductTag$1.default,
|
|
59
|
+
ProductList: ProductList$1.default,
|
|
60
|
+
DynamicCheckout: DynamicCheckout$1.default,
|
|
61
|
+
ProductVendor: Vendor$1.default,
|
|
62
|
+
ProductSku: Sku$1.default,
|
|
63
|
+
ProductBundleDiscount: ProductBundleDiscount$1.default,
|
|
64
|
+
ProductBundleDiscountItem: ProductBundleDiscountItem$1.default,
|
|
65
|
+
ProductViewMore: ProductViewMore$1.default,
|
|
66
|
+
ProductBadge: ProductBadge.default,
|
|
67
|
+
FileUpload: index$7.default
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
exports.Product = Product.default;
|
|
@@ -18,7 +18,6 @@ const ProductNotFound = dynamic(()=>import('../ProductNotFound.js'), {
|
|
|
18
18
|
});
|
|
19
19
|
const ProductList = (props)=>{
|
|
20
20
|
const { children, styles, builderProps, setting, builderAttrs } = props;
|
|
21
|
-
const { builderData } = builderProps ?? {};
|
|
22
21
|
const { isRelatedProduct, productSetting } = getData(props);
|
|
23
22
|
const relatedTagString = productSetting.relatedTag && productSetting.relatedTag[0];
|
|
24
23
|
const mode = useEditorMode();
|
|
@@ -300,7 +299,7 @@ const ProductList = (props)=>{
|
|
|
300
299
|
if (isProductNotFoundEditMode) {
|
|
301
300
|
return /*#__PURE__*/ jsx(Fragment, {
|
|
302
301
|
children: If(fromWarningImportShopify, /*#__PURE__*/ jsx(ProductNotFound, {
|
|
303
|
-
builderAttrs:
|
|
302
|
+
builderAttrs: builderAttrs,
|
|
304
303
|
collectionHandle: collection?.handle,
|
|
305
304
|
productSrc: productSrc,
|
|
306
305
|
onClose: ()=>setFromWarningImportShopify(false),
|
|
@@ -43,26 +43,26 @@ import config$i from './setting/ProductBadge.js';
|
|
|
43
43
|
import config$j from './components/FileUpload/components/setting/index.js';
|
|
44
44
|
|
|
45
45
|
const productSetting = {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
46
|
+
Product: config,
|
|
47
|
+
ProductQuantity: config$1,
|
|
48
|
+
ProductTitle: config$2,
|
|
49
|
+
ProductButton: config$3,
|
|
50
|
+
ProductPrice: config$4,
|
|
51
|
+
ProductVariants: config$5,
|
|
52
|
+
ProductImages: config$6,
|
|
53
|
+
ProductImagesV2: config$7,
|
|
54
|
+
ProductDescription: config$8,
|
|
55
|
+
ProductProperties: config$9,
|
|
56
|
+
ProductTag: config$a,
|
|
57
|
+
ProductList: config$b,
|
|
58
|
+
DynamicCheckout: config$c,
|
|
59
|
+
ProductVendor: config$d,
|
|
60
|
+
ProductSku: config$e,
|
|
61
|
+
ProductBundleDiscount: config$f,
|
|
62
|
+
ProductBundleDiscountItem: config$g,
|
|
63
|
+
ProductViewMore: config$h,
|
|
64
|
+
ProductBadge: config$i,
|
|
65
|
+
FileUpload: config$j
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export { productSetting };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3230,26 +3230,26 @@ declare const ProductBundleDiscountItem$1: React.FC<{
|
|
|
3230
3230
|
}>;
|
|
3231
3231
|
|
|
3232
3232
|
declare const productSetting: {
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3233
|
+
Product: _gem_sdk_core.ComponentSetting<ProductProps>;
|
|
3234
|
+
ProductQuantity: _gem_sdk_core.ComponentSetting<ProductQuantityProps>;
|
|
3235
|
+
ProductTitle: _gem_sdk_core.ComponentSetting<ProductTitleProps>;
|
|
3236
|
+
ProductButton: _gem_sdk_core.ComponentSetting<ProductButtonProps>;
|
|
3237
|
+
ProductPrice: _gem_sdk_core.ComponentSetting<ProductPriceProps>;
|
|
3238
|
+
ProductVariants: _gem_sdk_core.ComponentSetting<ProductVariantsProps>;
|
|
3239
|
+
ProductImages: _gem_sdk_core.ComponentSetting<ProductImagesProps>;
|
|
3240
|
+
ProductImagesV2: _gem_sdk_core.ComponentSetting<ProductImagesProps$1>;
|
|
3241
|
+
ProductDescription: _gem_sdk_core.ComponentSetting<ProductDescriptionProps>;
|
|
3242
|
+
ProductProperties: _gem_sdk_core.ComponentSetting<ProductPropertiesProps>;
|
|
3243
|
+
ProductTag: _gem_sdk_core.ComponentSetting<ProductTagProps>;
|
|
3244
|
+
ProductList: _gem_sdk_core.ComponentSetting<ProductListProps>;
|
|
3245
|
+
DynamicCheckout: _gem_sdk_core.ComponentSetting<ProductButtonProps>;
|
|
3246
|
+
ProductVendor: _gem_sdk_core.ComponentSetting<VendorProps>;
|
|
3247
|
+
ProductSku: _gem_sdk_core.ComponentSetting<SkuProps>;
|
|
3248
|
+
ProductBundleDiscount: _gem_sdk_core.ComponentSetting<ProductBundleDiscountProps>;
|
|
3249
|
+
ProductBundleDiscountItem: _gem_sdk_core.ComponentSetting<ProductBundleDiscountProps>;
|
|
3250
|
+
ProductViewMore: _gem_sdk_core.ComponentSetting<ProductViewMoreProps>;
|
|
3251
|
+
ProductBadge: _gem_sdk_core.ComponentSetting<ProductBadgeProps>;
|
|
3252
|
+
FileUpload: _gem_sdk_core.ComponentSetting<FileUploadProps>;
|
|
3253
3253
|
};
|
|
3254
3254
|
|
|
3255
3255
|
type MixedProps$2 = BaseProps<{
|
|
@@ -6991,26 +6991,26 @@ declare const _default: {
|
|
|
6991
6991
|
Text: _gem_sdk_core.ComponentSetting<TextProps>;
|
|
6992
6992
|
TabsSetting: _gem_sdk_core.ComponentSetting<TabsProps>;
|
|
6993
6993
|
TabItemSetting: _gem_sdk_core.ComponentSetting<TabItemProps>;
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
6994
|
+
Product: _gem_sdk_core.ComponentSetting<ProductProps>;
|
|
6995
|
+
ProductQuantity: _gem_sdk_core.ComponentSetting<ProductQuantityProps>;
|
|
6996
|
+
ProductTitle: _gem_sdk_core.ComponentSetting<ProductTitleProps>;
|
|
6997
|
+
ProductButton: _gem_sdk_core.ComponentSetting<ProductButtonProps>;
|
|
6998
|
+
ProductPrice: _gem_sdk_core.ComponentSetting<ProductPriceProps>;
|
|
6999
|
+
ProductVariants: _gem_sdk_core.ComponentSetting<ProductVariantsProps>;
|
|
7000
|
+
ProductImages: _gem_sdk_core.ComponentSetting<ProductImagesProps>;
|
|
7001
|
+
ProductImagesV2: _gem_sdk_core.ComponentSetting<ProductImagesProps$1>;
|
|
7002
|
+
ProductDescription: _gem_sdk_core.ComponentSetting<ProductDescriptionProps>;
|
|
7003
|
+
ProductProperties: _gem_sdk_core.ComponentSetting<ProductPropertiesProps>;
|
|
7004
|
+
ProductTag: _gem_sdk_core.ComponentSetting<ProductTagProps>;
|
|
7005
|
+
ProductList: _gem_sdk_core.ComponentSetting<ProductListProps>;
|
|
7006
|
+
DynamicCheckout: _gem_sdk_core.ComponentSetting<ProductButtonProps>;
|
|
7007
|
+
ProductVendor: _gem_sdk_core.ComponentSetting<VendorProps>;
|
|
7008
|
+
ProductSku: _gem_sdk_core.ComponentSetting<SkuProps>;
|
|
7009
|
+
ProductBundleDiscount: _gem_sdk_core.ComponentSetting<ProductBundleDiscountProps>;
|
|
7010
|
+
ProductBundleDiscountItem: _gem_sdk_core.ComponentSetting<ProductBundleDiscountProps>;
|
|
7011
|
+
ProductViewMore: _gem_sdk_core.ComponentSetting<ProductViewMoreProps>;
|
|
7012
|
+
ProductBadge: _gem_sdk_core.ComponentSetting<ProductBadgeProps>;
|
|
7013
|
+
FileUpload: _gem_sdk_core.ComponentSetting<FileUploadProps>;
|
|
7014
7014
|
PostPurchaseText: _gem_sdk_core.ComponentSetting<PostPurchaseTextProps>;
|
|
7015
7015
|
PostPurchaseHeading: _gem_sdk_core.ComponentSetting<PostPurchaseTextProps>;
|
|
7016
7016
|
PostPurchaseProductTitle: _gem_sdk_core.ComponentSetting<PostPurchaseProductTitleProps>;
|