@gem-sdk/core 1.58.0-dev.103 → 1.58.0-dev.111

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.
@@ -32,6 +32,10 @@
32
32
  id
33
33
  value
34
34
  }
35
+ metafields {
36
+ key
37
+ value
38
+ }
35
39
  }
36
40
  `;
37
41
 
@@ -130,7 +130,8 @@ function composeAdvanceStyle(data, tag, pageType) {
130
130
  'ProductPrice',
131
131
  'ProductVendor',
132
132
  'Product',
133
- 'ProductSku'
133
+ 'ProductSku',
134
+ 'StockCounter'
134
135
  ];
135
136
  const boostElements = [
136
137
  'Icon',
@@ -139,7 +140,9 @@ function composeAdvanceStyle(data, tag, pageType) {
139
140
  'IconList',
140
141
  'IconListV2',
141
142
  'Tabs',
142
- 'Accordion'
143
+ 'Accordion',
144
+ 'Marquee',
145
+ 'Breadcrumb'
143
146
  ];
144
147
  const listElementShadowV2 = [
145
148
  ...baseElements,
@@ -216,6 +216,18 @@ const LooxReviewsConfig = {
216
216
  appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
217
217
  }
218
218
  };
219
+ const SeoantTrustBadgesIconConfig = {
220
+ SeoantTrustBadgesIcon: {
221
+ appName: 'seoant-trust-badges',
222
+ appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
223
+ }
224
+ };
225
+ const PowrContactFormBuilderConfig = {
226
+ PowrContactFormBuilder: {
227
+ appName: 'powr-form-builder',
228
+ appId: '1412fe37-d89c-4706-a797-6e2b53cb4a69'
229
+ }
230
+ };
219
231
 
220
232
  exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
221
233
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
@@ -235,6 +247,7 @@ exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
235
247
  exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
236
248
  exports.LooxReviewsConfig = LooxReviewsConfig;
237
249
  exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
250
+ exports.PowrContactFormBuilderConfig = PowrContactFormBuilderConfig;
238
251
  exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
239
252
  exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
240
253
  exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
@@ -243,6 +256,7 @@ exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
243
256
  exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
244
257
  exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
245
258
  exports.SelleasyConfig = SelleasyConfig;
259
+ exports.SeoantTrustBadgesIconConfig = SeoantTrustBadgesIconConfig;
246
260
  exports.ShopifyFormsConfig = ShopifyFormsConfig;
247
261
  exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
248
262
  exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
@@ -123,6 +123,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
123
123
  embedded_form_id: appSetting?.formId
124
124
  };
125
125
  }
126
+ case 'SeoantTrustBadgesIcon':
127
+ {
128
+ return {
129
+ ...currentSetting,
130
+ badge_id: appSetting?.BadgeId
131
+ };
132
+ }
133
+ case 'PowrContactFormBuilder':
134
+ {
135
+ return {
136
+ ...currentSetting,
137
+ app_id: appSetting?.appId
138
+ };
139
+ }
126
140
  default:
127
141
  return currentSetting;
128
142
  }
@@ -678,7 +692,23 @@ const LooxReviews = {
678
692
  }
679
693
  }
680
694
  };
695
+ const SeoantTrustBadgesIcon = {
696
+ SeoantTrustBadgesIcon: {
697
+ star_rating: {
698
+ badge_id: null
699
+ }
700
+ }
701
+ };
702
+ const PowrContactFormBuilder = {
703
+ PowrContactFormBuilder: {
704
+ 'app-block': {
705
+ 'app_id': ""
706
+ }
707
+ }
708
+ };
681
709
  const composeSettingsByWidgetType = {
710
+ ...PowrContactFormBuilder,
711
+ ...SeoantTrustBadgesIcon,
682
712
  ...SegunoEmailMarketing,
683
713
  ...AftershipEmailMarketingsms,
684
714
  ...BestBuyFulfillment,
@@ -38,7 +38,9 @@ const mapShopifyAppMeta = {
38
38
  ...appConfig.AftershipEmailMarketingsmsConfig,
39
39
  ...appConfig.SegunoEmailMarketingConfig,
40
40
  ...appConfig.TrustooConfig,
41
- ...appConfig.LooxReviewsConfig
41
+ ...appConfig.LooxReviewsConfig,
42
+ ...appConfig.SeoantTrustBadgesIconConfig,
43
+ ...appConfig.PowrContactFormBuilderConfig
42
44
  };
43
45
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
44
46
 
@@ -30,6 +30,10 @@
30
30
  id
31
31
  value
32
32
  }
33
+ metafields {
34
+ key
35
+ value
36
+ }
33
37
  }
34
38
  `;
35
39
 
@@ -128,7 +128,8 @@ function composeAdvanceStyle(data, tag, pageType) {
128
128
  'ProductPrice',
129
129
  'ProductVendor',
130
130
  'Product',
131
- 'ProductSku'
131
+ 'ProductSku',
132
+ 'StockCounter'
132
133
  ];
133
134
  const boostElements = [
134
135
  'Icon',
@@ -137,7 +138,9 @@ function composeAdvanceStyle(data, tag, pageType) {
137
138
  'IconList',
138
139
  'IconListV2',
139
140
  'Tabs',
140
- 'Accordion'
141
+ 'Accordion',
142
+ 'Marquee',
143
+ 'Breadcrumb'
141
144
  ];
142
145
  const listElementShadowV2 = [
143
146
  ...baseElements,
@@ -214,5 +214,17 @@ const LooxReviewsConfig = {
214
214
  appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
215
215
  }
216
216
  };
217
+ const SeoantTrustBadgesIconConfig = {
218
+ SeoantTrustBadgesIcon: {
219
+ appName: 'seoant-trust-badges',
220
+ appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
221
+ }
222
+ };
223
+ const PowrContactFormBuilderConfig = {
224
+ PowrContactFormBuilder: {
225
+ appName: 'powr-form-builder',
226
+ appId: '1412fe37-d89c-4706-a797-6e2b53cb4a69'
227
+ }
228
+ };
217
229
 
218
- export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
230
+ export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
@@ -121,6 +121,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
121
121
  embedded_form_id: appSetting?.formId
122
122
  };
123
123
  }
124
+ case 'SeoantTrustBadgesIcon':
125
+ {
126
+ return {
127
+ ...currentSetting,
128
+ badge_id: appSetting?.BadgeId
129
+ };
130
+ }
131
+ case 'PowrContactFormBuilder':
132
+ {
133
+ return {
134
+ ...currentSetting,
135
+ app_id: appSetting?.appId
136
+ };
137
+ }
124
138
  default:
125
139
  return currentSetting;
126
140
  }
@@ -676,7 +690,23 @@ const LooxReviews = {
676
690
  }
677
691
  }
678
692
  };
693
+ const SeoantTrustBadgesIcon = {
694
+ SeoantTrustBadgesIcon: {
695
+ star_rating: {
696
+ badge_id: null
697
+ }
698
+ }
699
+ };
700
+ const PowrContactFormBuilder = {
701
+ PowrContactFormBuilder: {
702
+ 'app-block': {
703
+ 'app_id': ""
704
+ }
705
+ }
706
+ };
679
707
  const composeSettingsByWidgetType = {
708
+ ...PowrContactFormBuilder,
709
+ ...SeoantTrustBadgesIcon,
680
710
  ...SegunoEmailMarketing,
681
711
  ...AftershipEmailMarketingsms,
682
712
  ...BestBuyFulfillment,
@@ -1,4 +1,4 @@
1
- import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig } from './appConfig.js';
1
+ import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, PowrContactFormBuilderConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -36,7 +36,9 @@ const mapShopifyAppMeta = {
36
36
  ...AftershipEmailMarketingsmsConfig,
37
37
  ...SegunoEmailMarketingConfig,
38
38
  ...TrustooConfig,
39
- ...LooxReviewsConfig
39
+ ...LooxReviewsConfig,
40
+ ...SeoantTrustBadgesIconConfig,
41
+ ...PowrContactFormBuilderConfig
40
42
  };
41
43
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
42
44
 
@@ -7788,11 +7788,150 @@ type TypographyControlType<T> = SharedControlType<T> & {
7788
7788
  popup?: boolean;
7789
7789
  };
7790
7790
 
7791
+ type SettingStateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
7792
+ type LangKey = 'en' | 'vi';
7793
+ type LabelWithLang = {
7794
+ [P in keyof Record<LangKey, ''>]?: string;
7795
+ };
7796
+ type SettingMediaType = 'image' | 'youtubeVideoID';
7797
+ type SettingUIHelpType = {
7798
+ content: string;
7799
+ button?: {
7800
+ label: string;
7801
+ link: string;
7802
+ };
7803
+ media?: {
7804
+ value: string;
7805
+ type: SettingMediaType;
7806
+ };
7807
+ };
7808
+ type LinkWithSetting = {
7809
+ name: string;
7810
+ state?: string;
7811
+ field?: string;
7812
+ getLinkValue?: boolean;
7813
+ };
7814
+ type ControlConfig = ControlProp<any> & {
7815
+ linkWithSetting?: LinkWithSetting;
7816
+ };
7817
+ type Plan = 'trial' | 'build' | 'starter' | 'optimize' | 'advanced' | 'trial2022' | 'enterprise' | 'development' | 'professional';
7818
+ type LabelVariant = 'primary' | 'secondary' | 'bold';
7819
+ type SettingUIControl = {
7820
+ id?: string;
7821
+ controlConfig?: ControlConfig;
7822
+ type?: 'control' | 'combo' | 'tab' | 'toggleGroup';
7823
+ layout?: 'vertical' | 'horizontal';
7824
+ toggleGroupId?: string;
7825
+ label?: LabelWithLang;
7826
+ conditionDisplay?: string;
7827
+ conditionEnable?: string;
7828
+ options?: {
7829
+ fullWidth?: boolean;
7830
+ onlyShowInTags?: string[];
7831
+ target?: 'tab';
7832
+ disableMessage?: string;
7833
+ nearestSupportedPlan?: Plan;
7834
+ lockedOnPlans?: Plan[];
7835
+ labelVariant?: LabelVariant;
7836
+ labelInsideControl?: boolean;
7837
+ hideLabel?: boolean;
7838
+ updateFields?: {
7839
+ field: string;
7840
+ settingId: string;
7841
+ state?: SettingStateType;
7842
+ }[];
7843
+ };
7844
+ setting?: {
7845
+ id: string;
7846
+ state?: SettingStateType;
7847
+ };
7848
+ searchKeyword?: string;
7849
+ controlChangeTrigger?: ControlTrigger;
7850
+ tabs?: SettingUITab[];
7851
+ info?: LabelWithLang;
7852
+ compoDefaultValue?: any | Record<NameDevices$1, any>;
7853
+ } & SettingUICompo;
7854
+ type ControlTriggerAction$1 = {
7855
+ controlId: string;
7856
+ newValue?: any;
7857
+ valueFromField?: string;
7858
+ controlType: string;
7859
+ groupType: string;
7860
+ valueIfNull?: any;
7861
+ removeDevice?: boolean;
7862
+ state?: SettingStateType;
7863
+ };
7864
+ type ControlTriggerSetting = {
7865
+ source?: string[];
7866
+ condition?: string;
7867
+ action: ControlTriggerAction$1;
7868
+ };
7869
+ type ControlTrigger = {
7870
+ settings?: ControlTriggerSetting[];
7871
+ options?: {
7872
+ noRecordHistory?: boolean;
7873
+ };
7874
+ };
7875
+ type SettingUICompo = {
7876
+ controls?: SettingUIControl[];
7877
+ iconName?: string;
7878
+ getValueFromSettingID?: string;
7879
+ defaultValueWhenClear?: any;
7880
+ fixedValue?: string;
7881
+ placeholder?: string;
7882
+ help?: SettingUIHelpType;
7883
+ popoverLabel?: LabelWithLang;
7884
+ comboType?: 'color' | 'image';
7885
+ isHideClear?: boolean;
7886
+ };
7887
+ type SettingUIMoreSetting = {
7888
+ label?: LabelWithLang;
7889
+ labelAction?: LabelWithLang;
7890
+ controls?: SettingUIControl[];
7891
+ help?: SettingUIHelpType;
7892
+ type?: SettingUIMoreSettingType;
7893
+ };
7894
+ type SettingUIMoreSettingType = 'button' | 'collapse' | 'icon';
7895
+ type SettingUITab = {
7896
+ label?: LabelWithLang;
7897
+ controls?: SettingUIControl[];
7898
+ hide?: boolean;
7899
+ conditionDisplay?: string;
7900
+ };
7901
+ type SettingUIToggleGroup = {
7902
+ label?: LabelWithLang;
7903
+ id?: string;
7904
+ controls?: SettingUIControl[];
7905
+ };
7906
+ type SettingUIToggleSettings = {
7907
+ controls?: SettingUIControl[];
7908
+ isActiveDefault?: boolean;
7909
+ } & SettingUIControl & SettingUIToggleGroup;
7910
+ type SettingUIGroup = {
7911
+ label?: LabelWithLang;
7912
+ message?: string;
7913
+ disableToggle?: boolean;
7914
+ conditionDisplay?: string;
7915
+ conditionEnable?: string;
7916
+ controls?: SettingUIControl[];
7917
+ moreSettings?: SettingUIMoreSetting;
7918
+ toggleSettings?: SettingUIToggleSettings[];
7919
+ states?: SettingUITab[];
7920
+ help?: SettingUIHelpType;
7921
+ options?: {
7922
+ disableMessage?: string;
7923
+ };
7924
+ };
7925
+
7791
7926
  type PickLinkControlType<T> = SharedControlType<T> & {
7792
7927
  type: 'pick-link';
7793
7928
  pickLinkLabel?: string;
7794
7929
  isHiddenInsertLink?: boolean;
7795
7930
  isHiddenOpenLinkSelect?: boolean;
7931
+ hiddenOptions?: {
7932
+ [key: string]: boolean;
7933
+ };
7934
+ customLabel?: LabelWithLang;
7796
7935
  };
7797
7936
 
7798
7937
  type BehaviorStateControlType<T> = {
@@ -8516,141 +8655,6 @@ type ProductHandleType<T> = SharedControlType<T> & {
8516
8655
  type: 'product-handle';
8517
8656
  };
8518
8657
 
8519
- type SettingStateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
8520
- type LangKey = 'en' | 'vi';
8521
- type LabelWithLang = {
8522
- [P in keyof Record<LangKey, ''>]?: string;
8523
- };
8524
- type SettingMediaType = 'image' | 'youtubeVideoID';
8525
- type SettingUIHelpType = {
8526
- content: string;
8527
- button?: {
8528
- label: string;
8529
- link: string;
8530
- };
8531
- media?: {
8532
- value: string;
8533
- type: SettingMediaType;
8534
- };
8535
- };
8536
- type LinkWithSetting = {
8537
- name: string;
8538
- state?: string;
8539
- field?: string;
8540
- getLinkValue?: boolean;
8541
- };
8542
- type ControlConfig = ControlProp<any> & {
8543
- linkWithSetting?: LinkWithSetting;
8544
- };
8545
- type Plan = 'trial' | 'build' | 'starter' | 'optimize' | 'advanced' | 'trial2022' | 'enterprise' | 'development' | 'professional';
8546
- type LabelVariant = 'primary' | 'secondary' | 'bold';
8547
- type SettingUIControl = {
8548
- id?: string;
8549
- controlConfig?: ControlConfig;
8550
- type?: 'control' | 'combo' | 'tab' | 'toggleGroup';
8551
- layout?: 'vertical' | 'horizontal';
8552
- toggleGroupId?: string;
8553
- label?: LabelWithLang;
8554
- conditionDisplay?: string;
8555
- conditionEnable?: string;
8556
- options?: {
8557
- fullWidth?: boolean;
8558
- onlyShowInTags?: string[];
8559
- target?: 'tab';
8560
- disableMessage?: string;
8561
- nearestSupportedPlan?: Plan;
8562
- lockedOnPlans?: Plan[];
8563
- labelVariant?: LabelVariant;
8564
- labelInsideControl?: boolean;
8565
- hideLabel?: boolean;
8566
- updateFields?: {
8567
- field: string;
8568
- settingId: string;
8569
- state?: SettingStateType;
8570
- }[];
8571
- };
8572
- setting?: {
8573
- id: string;
8574
- state?: SettingStateType;
8575
- };
8576
- searchKeyword?: string;
8577
- controlChangeTrigger?: ControlTrigger;
8578
- tabs?: SettingUITab[];
8579
- info?: LabelWithLang;
8580
- compoDefaultValue?: any | Record<NameDevices$1, any>;
8581
- } & SettingUICompo;
8582
- type ControlTriggerAction$1 = {
8583
- controlId: string;
8584
- newValue?: any;
8585
- valueFromField?: string;
8586
- controlType: string;
8587
- groupType: string;
8588
- valueIfNull?: any;
8589
- removeDevice?: boolean;
8590
- state?: SettingStateType;
8591
- };
8592
- type ControlTriggerSetting = {
8593
- source?: string[];
8594
- condition?: string;
8595
- action: ControlTriggerAction$1;
8596
- };
8597
- type ControlTrigger = {
8598
- settings?: ControlTriggerSetting[];
8599
- options?: {
8600
- noRecordHistory?: boolean;
8601
- };
8602
- };
8603
- type SettingUICompo = {
8604
- controls?: SettingUIControl[];
8605
- iconName?: string;
8606
- getValueFromSettingID?: string;
8607
- defaultValueWhenClear?: any;
8608
- fixedValue?: string;
8609
- placeholder?: string;
8610
- help?: SettingUIHelpType;
8611
- popoverLabel?: LabelWithLang;
8612
- comboType?: 'color' | 'image';
8613
- isHideClear?: boolean;
8614
- };
8615
- type SettingUIMoreSetting = {
8616
- label?: LabelWithLang;
8617
- labelAction?: LabelWithLang;
8618
- controls?: SettingUIControl[];
8619
- help?: SettingUIHelpType;
8620
- type?: SettingUIMoreSettingType;
8621
- };
8622
- type SettingUIMoreSettingType = 'button' | 'collapse' | 'icon';
8623
- type SettingUITab = {
8624
- label?: LabelWithLang;
8625
- controls?: SettingUIControl[];
8626
- hide?: boolean;
8627
- conditionDisplay?: string;
8628
- };
8629
- type SettingUIToggleGroup = {
8630
- label?: LabelWithLang;
8631
- id?: string;
8632
- controls?: SettingUIControl[];
8633
- };
8634
- type SettingUIToggleSettings = {
8635
- controls?: SettingUIControl[];
8636
- isActiveDefault?: boolean;
8637
- } & SettingUIControl & SettingUIToggleGroup;
8638
- type SettingUIGroup = {
8639
- label?: LabelWithLang;
8640
- message?: string;
8641
- disableToggle?: boolean;
8642
- conditionDisplay?: string;
8643
- conditionEnable?: string;
8644
- controls?: SettingUIControl[];
8645
- moreSettings?: SettingUIMoreSetting;
8646
- toggleSettings?: SettingUIToggleSettings[];
8647
- states?: SettingUITab[];
8648
- help?: SettingUIHelpType;
8649
- options?: {
8650
- disableMessage?: string;
8651
- };
8652
- };
8653
-
8654
8658
  type ColorPickerV2ControlType<T> = SharedControlType<T> & {
8655
8659
  type: 'color-picker-v2';
8656
8660
  };
@@ -32300,6 +32304,7 @@ type PublishedThemePagesQueryResponse = {
32300
32304
  themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
32301
32305
  themePageCustomFonts?: Maybe$1<Array<Maybe$1<CustomFont$1>>>;
32302
32306
  interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
32307
+ metafiels?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
32303
32308
  }>>>;
32304
32309
  };
32305
32310
  declare const PublishedThemePagesDocument: string;
@@ -42324,6 +42329,7 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
42324
42329
  themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
42325
42330
  themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
42326
42331
  interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
42332
+ metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
42327
42333
  };
42328
42334
 
42329
42335
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.58.0-dev.103",
3
+ "version": "1.58.0-dev.111",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",