@gem-sdk/core 1.63.3 → 1.63.16

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.
@@ -35,7 +35,7 @@ const componentIconList = [
35
35
  const componentUsingAdvanced = [
36
36
  'IconList'
37
37
  ];
38
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, ...passProps })=>{
38
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
39
39
  const item = builder[uid];
40
40
  const Component = components[item?.tag];
41
41
  if (!Component) {
@@ -74,6 +74,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
74
74
  advanced: item.advanced,
75
75
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
76
76
  pageContext,
77
+ enableLazyloadImage,
77
78
  ...passProps,
78
79
  builderAttrs: {
79
80
  ...passProps.builderAttrs
@@ -85,7 +86,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
85
86
  builder,
86
87
  components,
87
88
  customProps,
88
- pageContext
89
+ pageContext,
90
+ enableLazyloadImage
89
91
  };
90
92
  }),
91
93
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -97,7 +99,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
97
99
  components,
98
100
  customProps,
99
101
  parentTag: item.tag,
100
- pageContext
102
+ pageContext,
103
+ enableLazyloadImage
101
104
  }))) : ''
102
105
  });
103
106
  }, ()=>{
@@ -113,6 +116,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
113
116
  isText: componentTexts.includes(item.tag) ? true : null,
114
117
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
115
118
  pageContext,
119
+ enableLazyloadImage,
116
120
  ...passProps,
117
121
  builderAttrs: {
118
122
  ...passProps.builderAttrs
@@ -134,6 +138,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
134
138
  cssClass: item?.advanced?.cssClass
135
139
  },
136
140
  pageContext,
141
+ enableLazyloadImage,
137
142
  ...passProps,
138
143
  builderAttrs: {
139
144
  ...passProps.builderAttrs
@@ -145,7 +150,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
145
150
  builder,
146
151
  components,
147
152
  customProps,
148
- pageContext
153
+ pageContext,
154
+ enableLazyloadImage
149
155
  };
150
156
  }),
151
157
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -157,7 +163,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
157
163
  components,
158
164
  customProps,
159
165
  parentTag: item.tag,
160
- pageContext
166
+ pageContext,
167
+ enableLazyloadImage
161
168
  }))) : ''
162
169
  });
163
170
  }, ()=>{
@@ -172,6 +179,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
172
179
  cssClass: item?.advanced?.cssClass
173
180
  },
174
181
  pageContext,
182
+ enableLazyloadImage,
175
183
  isText: componentTexts.includes(item.tag) ? true : null,
176
184
  style: componentIconList.includes(item.tag) ? style : null,
177
185
  ...passProps,
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ /* eslint-disable */ const PreviewThemePageSelect = `
4
+ fragment PreviewThemePageSelect on PreviewThemePage {
5
+ id
6
+ name
7
+ handle
8
+ isMobile
9
+ sectionPosition
10
+ pageSections {
11
+ cid
12
+ component
13
+ id
14
+ }
15
+ dataSEO {
16
+ ...DataSEOSelect
17
+ }
18
+ themeStyle {
19
+ id
20
+ data
21
+ name
22
+ }
23
+ analytic {
24
+ ...AnalyticSelect
25
+ }
26
+ customCode {
27
+ ...CustomCodeSelect
28
+ }
29
+ customFonts {
30
+ ...CustomFontSelect
31
+ }
32
+ interaction {
33
+ id
34
+ value
35
+ }
36
+ }
37
+ `;
38
+
39
+ exports.PreviewThemePageSelect = PreviewThemePageSelect;
@@ -34,33 +34,5 @@
34
34
  }
35
35
  }
36
36
  `;
37
- const PreviewThemePageSelect = `
38
- fragment PreviewThemePageSelect on PublishedThemePage {
39
- id
40
- name
41
- handle
42
- isMobile
43
- sectionPosition
44
- pageSections {
45
- ...PublishedPageSectionSelect
46
- }
47
- themePageCustomSections {
48
- ...PublishedCustomSectionSelect
49
- }
50
- themePageDataSEO {
51
- ...DataSEOSelect
52
- }
53
- pageStyle {
54
- ...PublishedThemeStyleSelect
55
- }
56
- themePageAnalytic {
57
- ...AnalyticSelect
58
- }
59
- themePageCustomCode {
60
- ...CustomCodeSelect
61
- }
62
- }
63
- `;
64
37
 
65
- exports.PreviewThemePageSelect = PreviewThemePageSelect;
66
38
  exports.PublishedThemePageSelect = PublishedThemePageSelect;
@@ -1,25 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var publishedThemePage_generated = require('../fragments/published-theme-page.generated.js');
4
- var publishedPageSection_generated = require('../fragments/published-page-section.generated.js');
5
- var publishedCustomSection_generated = require('../fragments/published-custom-section.generated.js');
3
+ var previewThemePage_generated = require('../fragments/preview-theme-page.generated.js');
6
4
  var dataSeo_generated = require('../fragments/data-seo.generated.js');
7
- var publishedThemeStyle_generated = require('../fragments/published-theme-style.generated.js');
8
5
  var analytic_generated = require('../fragments/analytic.generated.js');
9
6
  var customCode_generated = require('../fragments/custom-code.generated.js');
10
7
 
11
- const PreviewPageDocument = `
12
- query previewPage($handleURL: String, $pageType: PublishedThemePageType!) {
13
- previewPage(handleURL: $handleURL, pageType: $pageType) {
8
+ const PreviewThemePageDocument = `
9
+ query PreviewThemePage($pageType: PreviewThemePageType!, $handleURL: String) {
10
+ previewThemePage(pageType: $pageType, handleURL: $handleURL) {
14
11
  ...PreviewThemePageSelect
15
12
  }
16
13
  }
17
- ${publishedThemePage_generated.PreviewThemePageSelect}
18
- ${publishedPageSection_generated.PublishedPageSectionSelect}
19
- ${publishedCustomSection_generated.PublishedCustomSectionSelect}
14
+ ${previewThemePage_generated.PreviewThemePageSelect}
20
15
  ${dataSeo_generated.DataSeoSelect}
21
- ${publishedThemeStyle_generated.PublishedThemeStyleSelect}
22
16
  ${analytic_generated.AnalyticSelect}
23
17
  ${customCode_generated.CustomCodeSelect}`;
24
18
 
25
- exports.PreviewPageDocument = PreviewPageDocument;
19
+ exports.PreviewThemePageDocument = PreviewThemePageDocument;
@@ -186,6 +186,18 @@ const KachingBundlesConfig = {
186
186
  appId: '6c637362-a106-4a32-94ac-94dcfd68cdb8'
187
187
  }
188
188
  };
189
+ const TrustooConfig = {
190
+ Trustoo: {
191
+ appName: 'trustoo-io-reviews',
192
+ appId: 'c8f15077-6475-4e86-ad06-b66038d5ba2c'
193
+ }
194
+ };
195
+ const LooxReviewsConfig = {
196
+ LooxReviews: {
197
+ appName: 'loox-reviews',
198
+ appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
199
+ }
200
+ };
189
201
 
190
202
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
191
203
  exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
@@ -201,6 +213,7 @@ exports.KachingBundlesConfig = KachingBundlesConfig;
201
213
  exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
202
214
  exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
203
215
  exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
216
+ exports.LooxReviewsConfig = LooxReviewsConfig;
204
217
  exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
205
218
  exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
206
219
  exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
@@ -214,6 +227,7 @@ exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
214
227
  exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
215
228
  exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
216
229
  exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
230
+ exports.TrustooConfig = TrustooConfig;
217
231
  exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
218
232
  exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
219
233
  exports.WishlistKingConfig = WishlistKingConfig;
@@ -99,7 +99,14 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
99
99
  {
100
100
  return {
101
101
  ...currentSetting,
102
- ['show-views']: appSetting?.showViews
102
+ 'show-views': appSetting?.showViews,
103
+ heading: appSetting?.heading,
104
+ 'template-type': appSetting?.templateType,
105
+ 'title-font-size': parseFloat(appSetting?.titleFontSize),
106
+ 'landscape-padding': parseFloat(appSetting?.landscapePadding),
107
+ 'top-bottom-padding': parseFloat(appSetting?.topBottomPadding),
108
+ 'scroll-video-tile-size': parseFloat(appSetting?.scrollVideoTitleSize),
109
+ 'scroll-video-tile-size-portrait': parseFloat(appSetting?.scrollVideoTitleSizePortrait)
103
110
  };
104
111
  }
105
112
  case 'KachingBundles':
@@ -457,6 +464,163 @@ const GloboProductOptionsVariant = {
457
464
  'app-block': null
458
465
  }
459
466
  };
467
+ const Trustoo = {
468
+ Trustoo: {
469
+ 'barrage-carousel': null,
470
+ 'review-widget': null,
471
+ 'photo-carousel': null,
472
+ 'star-rating-widget': {
473
+ star_size: 20,
474
+ font_size: 16,
475
+ block_aligment: 'flex-start'
476
+ },
477
+ 'text-carousel': null,
478
+ 'card-carousel': null
479
+ }
480
+ };
481
+ const LooxReviews = {
482
+ LooxReviews: {
483
+ 'loox-card-carousel-section': {
484
+ maxWidth: 1100,
485
+ borderRadius: 8,
486
+ itemsPerView: 4,
487
+ mobileItemsPerView: 1,
488
+ maxNumberOfCharacters: 100,
489
+ imageRatio: '0.72',
490
+ reviewerNameColor: '#000000',
491
+ textColor: '#000000',
492
+ itemBackgroundColor: '#ffffff',
493
+ starsColor: '',
494
+ starsBackgroundColor: '#ffffff',
495
+ arrows_backgroundColor: '#FFFFFF',
496
+ arrows_iconColor: '#9A9A9A',
497
+ shadow: 'offset-dark',
498
+ border_active: false,
499
+ border_width: 2,
500
+ border_color: '#000000',
501
+ productIds: ''
502
+ },
503
+ 'loox-gallery-carousel-section': {
504
+ maxWidth: 1100,
505
+ borderRadius: 60,
506
+ itemsPerView: 5,
507
+ mobileItemsPerView: 1,
508
+ imageRatio: '1',
509
+ reviewerNameColor: '#ffffff',
510
+ starsColor: '#ffffff',
511
+ arrows_backgroundColor: '#FFFFFF',
512
+ arrows_iconColor: '#9A9A9A',
513
+ shadow: 'none',
514
+ border_active: false,
515
+ border_width: 2,
516
+ border_color: '#000000',
517
+ productIds: ''
518
+ },
519
+ 'loox-referrals-section': {
520
+ max_width: 1100,
521
+ layout: 'with-photo',
522
+ primary_color: '',
523
+ text_color: '#000000',
524
+ text_field_border_color: '#C9CDD4',
525
+ background: ''
526
+ },
527
+ 'loox-dynamic-section': {
528
+ only_photos: false,
529
+ aggregated: false,
530
+ limit: 20,
531
+ hide_thumbnails: false,
532
+ maxwidth: 1080,
533
+ is_sample: true
534
+ },
535
+ 'loox-snippets-widget': {
536
+ alignment: 'left',
537
+ 'max-width': '',
538
+ 'color-scheme': 'default',
539
+ shadow: '',
540
+ 'show-rating': true,
541
+ 'show-image': true,
542
+ 'hide-arrows-mobile': false,
543
+ 'font-size': 14,
544
+ 'show-border': false,
545
+ 'border-radius': 16,
546
+ 'background-color': '',
547
+ 'text-color': '',
548
+ 'name-color': '',
549
+ 'rating-icon-color': '',
550
+ 'border-color': '',
551
+ 'shadow-color': '',
552
+ 'reviews-limit': 10
553
+ },
554
+ 'loox-rating': {
555
+ contentSize: 16,
556
+ pattern: '',
557
+ hideText: false,
558
+ alignment: '',
559
+ layout: '',
560
+ textColor: '',
561
+ starColor: '',
562
+ showAllReviews: false,
563
+ looxOpenFloatingWidget: false,
564
+ emptyRatingWidget: false
565
+ },
566
+ 'loox-testimonial-carousel-section': {
567
+ maxWidth: 1100,
568
+ desktopFontSize: 32,
569
+ mobileFontSize: 20,
570
+ maxNumberOfCharacters: 100,
571
+ quoteMarkIcon: 'style-1',
572
+ reviewerNameColor: '#000000',
573
+ textColor: '#000000',
574
+ starsColor: '',
575
+ quotesIconColor: '#EAEAEA',
576
+ arrows_iconColor: '#000000',
577
+ arrows_hideOnMobile: true,
578
+ pagination_active: true,
579
+ pagination_selectedDotColor: '#000000',
580
+ pagination_dotColor: '#000000',
581
+ autoplay_active: false,
582
+ autoplay_duration: 2,
583
+ productIds: ''
584
+ },
585
+ 'loox-trust-badge': {
586
+ layout: 'horizontal',
587
+ alignment: 'left',
588
+ 'scheme-type': 'default',
589
+ 'review-title': 'reviews',
590
+ 'rating-icon': true,
591
+ 'average-rating': true,
592
+ 'loox-branding': true,
593
+ 'review-count': true,
594
+ 'open-reviews': true,
595
+ 'show-border': true,
596
+ 'border-radius': 8,
597
+ 'font-size': 20,
598
+ 'background-color': '',
599
+ 'secondary-background-color': '',
600
+ 'text-color': '',
601
+ 'rating-icon-color': '',
602
+ 'border-color': ''
603
+ },
604
+ 'loox-video-slider': {
605
+ 'show-by-tag': false,
606
+ layout: 'spotlight',
607
+ shadow: '',
608
+ 'show-rating': true,
609
+ 'show-reviewer-name': true,
610
+ 'hide-arrows-mobile': true,
611
+ 'auto-play': true,
612
+ 'show-border': false,
613
+ 'border-width': 1,
614
+ 'border-radius': 16,
615
+ 'text-color': '',
616
+ 'rating-icon-color': '',
617
+ 'border-color': '',
618
+ 'play-button-color': '',
619
+ 'shadow-color': '',
620
+ 'product-id': ''
621
+ }
622
+ }
623
+ };
460
624
  const composeSettingsByWidgetType = {
461
625
  ...GloboProductOptionsVariant,
462
626
  ...WishlistKing,
@@ -488,7 +652,9 @@ const composeSettingsByWidgetType = {
488
652
  ...YotpoReviews,
489
653
  ...BoldSubscriptions,
490
654
  ...Growave,
491
- ...KachingBundles
655
+ ...KachingBundles,
656
+ ...Trustoo,
657
+ ...LooxReviews
492
658
  };
493
659
 
494
660
  exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
@@ -33,7 +33,9 @@ const mapShopifyAppMeta = {
33
33
  ...appConfig.PowerfulContactFormBuilderConfig,
34
34
  ...appConfig.WishlistKingConfig,
35
35
  ...appConfig.GloboProductOptionsVariantConfig,
36
- ...appConfig.KachingBundlesConfig
36
+ ...appConfig.KachingBundlesConfig,
37
+ ...appConfig.TrustooConfig,
38
+ ...appConfig.LooxReviewsConfig
37
39
  };
38
40
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
39
41
 
@@ -4,15 +4,23 @@ var appSetting = require('./appSetting.js');
4
4
  var getAppBlockType = require('./getAppBlockType.js');
5
5
 
6
6
  const listAppUpdateNewVersion = [
7
- 'Growave'
7
+ 'Growave',
8
+ 'Trustoo',
9
+ 'LooxReviews'
8
10
  ];
9
11
  const listThirdPartyRejectAppBlock = {
10
12
  YotpoReviews: {
11
13
  conditionToReject: 'settings?.version === "v1"'
14
+ },
15
+ Trustoo: {
16
+ conditionToReject: 'settings?.version === "v1"'
17
+ },
18
+ LooxReviews: {
19
+ conditionToReject: 'settings?.version === "v1"'
12
20
  }
13
21
  };
14
22
  const getAppBlockConfig = (tag, appBlockId, settings)=>{
15
- if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag].conditionToReject)) {
23
+ if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag]?.conditionToReject ?? '')) {
16
24
  return;
17
25
  }
18
26
  let widgetType = settings?.widgetType;
package/dist/cjs/index.js CHANGED
@@ -159,7 +159,7 @@ exports.CollectionsDocument = collections_generated.CollectionsDocument;
159
159
  exports.PublishedThemePagesDocument = publishedThemePages_generated.PublishedThemePagesDocument;
160
160
  exports.ProductsDocument = products_generated.ProductsDocument;
161
161
  exports.StorePropertyDocument = storeProperty_generated.StorePropertyDocument;
162
- exports.PreviewPageDocument = previewPage_generated.PreviewPageDocument;
162
+ exports.PreviewThemePageDocument = previewPage_generated.PreviewThemePageDocument;
163
163
  exports.LibraryTemplateDocument = LibraryTemplate_generated.LibraryTemplateDocument;
164
164
  exports.ThemePageDocument = ThemePage_generated.ThemePageDocument;
165
165
  exports.SaleFunnelDiscountsDocument = SaleFunnelDiscounts_generated.SaleFunnelDiscountsDocument;
@@ -31,7 +31,7 @@ const componentIconList = [
31
31
  const componentUsingAdvanced = [
32
32
  'IconList'
33
33
  ];
34
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, ...passProps })=>{
34
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
35
35
  const item = builder[uid];
36
36
  const Component = components[item?.tag];
37
37
  if (!Component) {
@@ -70,6 +70,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
70
70
  advanced: item.advanced,
71
71
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
72
72
  pageContext,
73
+ enableLazyloadImage,
73
74
  ...passProps,
74
75
  builderAttrs: {
75
76
  ...passProps.builderAttrs
@@ -81,7 +82,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
81
82
  builder,
82
83
  components,
83
84
  customProps,
84
- pageContext
85
+ pageContext,
86
+ enableLazyloadImage
85
87
  };
86
88
  }),
87
89
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -93,7 +95,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
93
95
  components,
94
96
  customProps,
95
97
  parentTag: item.tag,
96
- pageContext
98
+ pageContext,
99
+ enableLazyloadImage
97
100
  }))) : ''
98
101
  });
99
102
  }, ()=>{
@@ -109,6 +112,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
109
112
  isText: componentTexts.includes(item.tag) ? true : null,
110
113
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
111
114
  pageContext,
115
+ enableLazyloadImage,
112
116
  ...passProps,
113
117
  builderAttrs: {
114
118
  ...passProps.builderAttrs
@@ -130,6 +134,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
130
134
  cssClass: item?.advanced?.cssClass
131
135
  },
132
136
  pageContext,
137
+ enableLazyloadImage,
133
138
  ...passProps,
134
139
  builderAttrs: {
135
140
  ...passProps.builderAttrs
@@ -141,7 +146,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
141
146
  builder,
142
147
  components,
143
148
  customProps,
144
- pageContext
149
+ pageContext,
150
+ enableLazyloadImage
145
151
  };
146
152
  }),
147
153
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -153,7 +159,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
153
159
  components,
154
160
  customProps,
155
161
  parentTag: item.tag,
156
- pageContext
162
+ pageContext,
163
+ enableLazyloadImage
157
164
  }))) : ''
158
165
  });
159
166
  }, ()=>{
@@ -168,6 +175,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
168
175
  cssClass: item?.advanced?.cssClass
169
176
  },
170
177
  pageContext,
178
+ enableLazyloadImage,
171
179
  isText: componentTexts.includes(item.tag) ? true : null,
172
180
  style: componentIconList.includes(item.tag) ? style : null,
173
181
  ...passProps,
@@ -0,0 +1,37 @@
1
+ /* eslint-disable */ const PreviewThemePageSelect = `
2
+ fragment PreviewThemePageSelect on PreviewThemePage {
3
+ id
4
+ name
5
+ handle
6
+ isMobile
7
+ sectionPosition
8
+ pageSections {
9
+ cid
10
+ component
11
+ id
12
+ }
13
+ dataSEO {
14
+ ...DataSEOSelect
15
+ }
16
+ themeStyle {
17
+ id
18
+ data
19
+ name
20
+ }
21
+ analytic {
22
+ ...AnalyticSelect
23
+ }
24
+ customCode {
25
+ ...CustomCodeSelect
26
+ }
27
+ customFonts {
28
+ ...CustomFontSelect
29
+ }
30
+ interaction {
31
+ id
32
+ value
33
+ }
34
+ }
35
+ `;
36
+
37
+ export { PreviewThemePageSelect };
@@ -32,32 +32,5 @@
32
32
  }
33
33
  }
34
34
  `;
35
- const PreviewThemePageSelect = `
36
- fragment PreviewThemePageSelect on PublishedThemePage {
37
- id
38
- name
39
- handle
40
- isMobile
41
- sectionPosition
42
- pageSections {
43
- ...PublishedPageSectionSelect
44
- }
45
- themePageCustomSections {
46
- ...PublishedCustomSectionSelect
47
- }
48
- themePageDataSEO {
49
- ...DataSEOSelect
50
- }
51
- pageStyle {
52
- ...PublishedThemeStyleSelect
53
- }
54
- themePageAnalytic {
55
- ...AnalyticSelect
56
- }
57
- themePageCustomCode {
58
- ...CustomCodeSelect
59
- }
60
- }
61
- `;
62
35
 
63
- export { PreviewThemePageSelect, PublishedThemePageSelect };
36
+ export { PublishedThemePageSelect };
@@ -1,23 +1,17 @@
1
- import { PreviewThemePageSelect } from '../fragments/published-theme-page.generated.js';
2
- import { PublishedPageSectionSelect } from '../fragments/published-page-section.generated.js';
3
- import { PublishedCustomSectionSelect } from '../fragments/published-custom-section.generated.js';
1
+ import { PreviewThemePageSelect } from '../fragments/preview-theme-page.generated.js';
4
2
  import { DataSeoSelect } from '../fragments/data-seo.generated.js';
5
- import { PublishedThemeStyleSelect } from '../fragments/published-theme-style.generated.js';
6
3
  import { AnalyticSelect } from '../fragments/analytic.generated.js';
7
4
  import { CustomCodeSelect } from '../fragments/custom-code.generated.js';
8
5
 
9
- const PreviewPageDocument = `
10
- query previewPage($handleURL: String, $pageType: PublishedThemePageType!) {
11
- previewPage(handleURL: $handleURL, pageType: $pageType) {
6
+ const PreviewThemePageDocument = `
7
+ query PreviewThemePage($pageType: PreviewThemePageType!, $handleURL: String) {
8
+ previewThemePage(pageType: $pageType, handleURL: $handleURL) {
12
9
  ...PreviewThemePageSelect
13
10
  }
14
11
  }
15
12
  ${PreviewThemePageSelect}
16
- ${PublishedPageSectionSelect}
17
- ${PublishedCustomSectionSelect}
18
13
  ${DataSeoSelect}
19
- ${PublishedThemeStyleSelect}
20
14
  ${AnalyticSelect}
21
15
  ${CustomCodeSelect}`;
22
16
 
23
- export { PreviewPageDocument };
17
+ export { PreviewThemePageDocument };
@@ -184,5 +184,17 @@ const KachingBundlesConfig = {
184
184
  appId: '6c637362-a106-4a32-94ac-94dcfd68cdb8'
185
185
  }
186
186
  };
187
+ const TrustooConfig = {
188
+ Trustoo: {
189
+ appName: 'trustoo-io-reviews',
190
+ appId: 'c8f15077-6475-4e86-ad06-b66038d5ba2c'
191
+ }
192
+ };
193
+ const LooxReviewsConfig = {
194
+ LooxReviews: {
195
+ appName: 'loox-reviews',
196
+ appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
197
+ }
198
+ };
187
199
 
188
- export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
200
+ export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };