tabexseriescomponents 0.2.1298 → 0.2.1299
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/index.cjs.js +9 -3
- package/dist/index.esm.js +9 -3
- package/dist/index.umd.js +9 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -25358,6 +25358,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
25358
25358
|
cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
|
|
25359
25359
|
cardobj.productcanrate = arrayItem.productinfo.productcanrate;
|
|
25360
25360
|
cardobj.sku = arrayItem.productinfo.sku;
|
|
25361
|
+
cardobj.extrafieldsarray = arrayItem.extra_fields;
|
|
25361
25362
|
if (langdetect == 'en') {
|
|
25362
25363
|
var _fetchAuthorizationQu;
|
|
25363
25364
|
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.currencyname_en;
|
|
@@ -25636,7 +25637,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
25636
25637
|
}
|
|
25637
25638
|
}),
|
|
25638
25639
|
line_left: glamor.css({
|
|
25639
|
-
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '
|
|
25640
|
+
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '4px' : '2px',
|
|
25640
25641
|
borderRadius: authdetailsContext.instinfo.instid == '69eddfb81f141' ? 100 : 0,
|
|
25641
25642
|
position: 'relative',
|
|
25642
25643
|
flex: '1 1 auto',
|
|
@@ -25644,7 +25645,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
25644
25645
|
background: sectionproperties.linebgcolor
|
|
25645
25646
|
}),
|
|
25646
25647
|
line_right: glamor.css({
|
|
25647
|
-
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '
|
|
25648
|
+
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '4px' : '2px',
|
|
25648
25649
|
borderRadius: authdetailsContext.instinfo.instid == '69eddfb81f141' ? 100 : 0,
|
|
25649
25650
|
position: 'relative',
|
|
25650
25651
|
flex: '1 1 auto',
|
|
@@ -96757,7 +96758,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
96757
96758
|
productidtobesend = item.productid;
|
|
96758
96759
|
}
|
|
96759
96760
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
96760
|
-
|
|
96761
|
+
if (item.extrafieldsarray.length == 0) {
|
|
96762
|
+
addtocartfunc();
|
|
96763
|
+
} else {
|
|
96764
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
96765
|
+
}
|
|
96766
|
+
// addtocartfunc();
|
|
96761
96767
|
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
96762
96768
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
96763
96769
|
} else {
|
package/dist/index.esm.js
CHANGED
|
@@ -25307,6 +25307,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
25307
25307
|
cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
|
|
25308
25308
|
cardobj.productcanrate = arrayItem.productinfo.productcanrate;
|
|
25309
25309
|
cardobj.sku = arrayItem.productinfo.sku;
|
|
25310
|
+
cardobj.extrafieldsarray = arrayItem.extra_fields;
|
|
25310
25311
|
if (langdetect == 'en') {
|
|
25311
25312
|
var _fetchAuthorizationQu;
|
|
25312
25313
|
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.currencyname_en;
|
|
@@ -25585,7 +25586,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
25585
25586
|
}
|
|
25586
25587
|
}),
|
|
25587
25588
|
line_left: css({
|
|
25588
|
-
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '
|
|
25589
|
+
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '4px' : '2px',
|
|
25589
25590
|
borderRadius: authdetailsContext.instinfo.instid == '69eddfb81f141' ? 100 : 0,
|
|
25590
25591
|
position: 'relative',
|
|
25591
25592
|
flex: '1 1 auto',
|
|
@@ -25593,7 +25594,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
25593
25594
|
background: sectionproperties.linebgcolor
|
|
25594
25595
|
}),
|
|
25595
25596
|
line_right: css({
|
|
25596
|
-
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '
|
|
25597
|
+
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '4px' : '2px',
|
|
25597
25598
|
borderRadius: authdetailsContext.instinfo.instid == '69eddfb81f141' ? 100 : 0,
|
|
25598
25599
|
position: 'relative',
|
|
25599
25600
|
flex: '1 1 auto',
|
|
@@ -96706,7 +96707,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
96706
96707
|
productidtobesend = item.productid;
|
|
96707
96708
|
}
|
|
96708
96709
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
96709
|
-
|
|
96710
|
+
if (item.extrafieldsarray.length == 0) {
|
|
96711
|
+
addtocartfunc();
|
|
96712
|
+
} else {
|
|
96713
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
96714
|
+
}
|
|
96715
|
+
// addtocartfunc();
|
|
96710
96716
|
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
96711
96717
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
96712
96718
|
} else {
|
package/dist/index.umd.js
CHANGED
|
@@ -25164,6 +25164,7 @@
|
|
|
25164
25164
|
cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
|
|
25165
25165
|
cardobj.productcanrate = arrayItem.productinfo.productcanrate;
|
|
25166
25166
|
cardobj.sku = arrayItem.productinfo.sku;
|
|
25167
|
+
cardobj.extrafieldsarray = arrayItem.extra_fields;
|
|
25167
25168
|
if (langdetect == 'en') {
|
|
25168
25169
|
var _fetchAuthorizationQu;
|
|
25169
25170
|
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.currencyname_en;
|
|
@@ -25442,7 +25443,7 @@
|
|
|
25442
25443
|
}
|
|
25443
25444
|
}),
|
|
25444
25445
|
line_left: glamor.css({
|
|
25445
|
-
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '
|
|
25446
|
+
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '4px' : '2px',
|
|
25446
25447
|
borderRadius: authdetailsContext.instinfo.instid == '69eddfb81f141' ? 100 : 0,
|
|
25447
25448
|
position: 'relative',
|
|
25448
25449
|
flex: '1 1 auto',
|
|
@@ -25450,7 +25451,7 @@
|
|
|
25450
25451
|
background: sectionproperties.linebgcolor
|
|
25451
25452
|
}),
|
|
25452
25453
|
line_right: glamor.css({
|
|
25453
|
-
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '
|
|
25454
|
+
height: authdetailsContext.instinfo.instid == '69eddfb81f141' ? '4px' : '2px',
|
|
25454
25455
|
borderRadius: authdetailsContext.instinfo.instid == '69eddfb81f141' ? 100 : 0,
|
|
25455
25456
|
position: 'relative',
|
|
25456
25457
|
flex: '1 1 auto',
|
|
@@ -96563,7 +96564,12 @@
|
|
|
96563
96564
|
productidtobesend = item.productid;
|
|
96564
96565
|
}
|
|
96565
96566
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
96566
|
-
|
|
96567
|
+
if (item.extrafieldsarray.length == 0) {
|
|
96568
|
+
addtocartfunc();
|
|
96569
|
+
} else {
|
|
96570
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
96571
|
+
}
|
|
96572
|
+
// addtocartfunc();
|
|
96567
96573
|
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
96568
96574
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
96569
96575
|
} else {
|