@gem-sdk/components 2.0.0-dev.589 → 2.0.0-dev.591

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.
@@ -13,17 +13,20 @@ const MarqueeSettingsV2 = [
13
13
  {
14
14
  label: 'Fit to content',
15
15
  value: 'FIT_CONTENT',
16
- subTitle: 'Match the width of the element inside'
16
+ subTitle: 'Match the width of the element inside',
17
+ disableHoverIcon: true
17
18
  },
18
19
  {
19
20
  label: 'Based on the item count',
20
21
  value: 'BASE_ON_NUMBER_OF_ITEMS',
21
- subTitle: 'Max item width is screen width divided by the number of items'
22
+ subTitle: 'Max item width is screen width divided by the number of items',
23
+ disableHoverIcon: true
22
24
  },
23
25
  {
24
26
  label: 'Custom',
25
27
  value: 'CUSTOM',
26
- subTitle: 'Set the max width as you want'
28
+ subTitle: 'Set the max width as you want',
29
+ disableHoverIcon: true
27
30
  }
28
31
  ],
29
32
  devices: {
@@ -8,20 +8,44 @@ const AppConfig = {
8
8
  };
9
9
  const widgetTypeOptions = [
10
10
  {
11
- label: 'Fly Bundles: Volume Block',
12
- value: 'app-block-volume'
11
+ label: 'Fly Bundles: Quantity Breaks',
12
+ value: 'app-block-volume',
13
+ hideOnPage: [
14
+ 'GP_ARTICLE',
15
+ 'GP_BLOG',
16
+ 'GP_COLLECTION',
17
+ 'GP_INDEX',
18
+ 'GP_STATIC'
19
+ ]
13
20
  },
14
21
  {
15
- label: 'Fly Bundles: Upsell Block',
16
- value: 'app-block-upsell-block'
22
+ label: 'Fly Bundles: Frequently Bought Together',
23
+ value: 'app-block-upsell-block',
24
+ hideOnPage: [
25
+ 'GP_ARTICLE',
26
+ 'GP_BLOG',
27
+ 'GP_COLLECTION',
28
+ 'GP_INDEX',
29
+ 'GP_STATIC'
30
+ ]
17
31
  },
18
32
  {
19
- label: 'Fly Bundles: Fixed Block',
20
- value: 'app-block-fbt'
33
+ label: 'Fly Bundles: Product Bundles',
34
+ value: 'app-block-fbt',
35
+ hideOnPage: [
36
+ 'GP_ARTICLE',
37
+ 'GP_BLOG',
38
+ 'GP_COLLECTION',
39
+ 'GP_INDEX',
40
+ 'GP_STATIC'
41
+ ]
21
42
  },
22
43
  {
23
44
  label: 'Fly Bundles: Custom Block',
24
- value: 'app-block-custom'
45
+ value: 'app-block-custom',
46
+ hideOnPage: [
47
+ 'GP_PRODUCT'
48
+ ]
25
49
  }
26
50
  ];
27
51
 
@@ -14,21 +14,17 @@ const SettingUIV2 = [
14
14
  ]
15
15
  },
16
16
  {
17
- messageConfig: {
18
- type: 'info',
19
- message: '<div>Optional: Size Chart ID is ONLY required on non product page placements. The Size Chart ID for each size chart is located next to the Name field on the Clean Size Charts dashboard. <a href="https://help.cleansizecharts.com/article/109-add-a-size-chart-to-a-non-product-page" target="_blank">Learn More</a></div>'
20
- },
21
17
  controls: [
22
18
  {
23
19
  type: 'combo',
24
20
  label: {
25
- en: 'Size Chart ID'
21
+ en: 'Announcement id'
26
22
  },
27
23
  iconName: 'polaris-text-block',
28
- getValueFromSettingID: 'chartId',
24
+ getValueFromSettingID: 'announcementId',
29
25
  isHideClear: true,
30
26
  popoverLabel: {
31
- en: 'Size Chart ID'
27
+ en: 'Announcement id'
32
28
  },
33
29
  controls: [
34
30
  {
@@ -40,7 +36,7 @@ const SettingUIV2 = [
40
36
  },
41
37
  layout: 'vertical',
42
38
  setting: {
43
- id: 'chartId'
39
+ id: 'announcementId'
44
40
  }
45
41
  }
46
42
  ]
@@ -18,6 +18,15 @@ const SettingUIV1 = [
18
18
  id: 'customBundleId'
19
19
  }
20
20
  },
21
+ {
22
+ type: 'control',
23
+ setting: {
24
+ id: 'widgetType'
25
+ },
26
+ label: {
27
+ en: 'Choose widget'
28
+ }
29
+ },
21
30
  {
22
31
  type: 'control',
23
32
  setting: {
@@ -20,6 +20,7 @@ const SettingUIV2 = [
20
20
  label: {
21
21
  en: 'Custom Block ID'
22
22
  },
23
+ conditionDisplay: 'pageType != "GP_PRODUCT"',
23
24
  iconName: 'polaris-text-block',
24
25
  getValueFromSettingID: 'customBundleId',
25
26
  isHideClear: true,
@@ -40,6 +41,14 @@ const SettingUIV2 = [
40
41
  }
41
42
  }
42
43
  ]
44
+ },
45
+ {
46
+ setting: {
47
+ id: 'widgetType'
48
+ },
49
+ label: {
50
+ en: 'Choose widget'
51
+ }
43
52
  }
44
53
  ]
45
54
  },
@@ -27,35 +27,7 @@ const SettingUIV2 = [
27
27
  messageConfig: {
28
28
  type: 'info',
29
29
  message: '<span>To make this element work, copy the class <strong>.gp-integration-stellar-delivery__position</strong> and paste it into the Selector input field in the Run Wizard settings. For more details, check the instructions on<a style="text-decoration: none; color: #8AA4FF" href="https://www.identixweb.com/helpdesk/order-delivery-date/general-settings/setup-wizard/" target="_blank"> how to set up the Run Wizard.</a></span>'
30
- },
31
- controls: [
32
- {
33
- type: 'combo',
34
- label: {
35
- en: 'Guide ID'
36
- },
37
- iconName: 'polaris-text-block',
38
- getValueFromSettingID: 'guideId',
39
- isHideClear: true,
40
- popoverLabel: {
41
- en: 'Guide ID'
42
- },
43
- controls: [
44
- {
45
- label: {
46
- en: 'Content'
47
- },
48
- options: {
49
- fullWidth: true
50
- },
51
- layout: 'vertical',
52
- setting: {
53
- id: 'guideId'
54
- }
55
- }
56
- ]
57
- }
58
- ]
30
+ }
59
31
  },
60
32
  {
61
33
  controls: [
@@ -11,17 +11,20 @@ const MarqueeSettingsV2 = [
11
11
  {
12
12
  label: 'Fit to content',
13
13
  value: 'FIT_CONTENT',
14
- subTitle: 'Match the width of the element inside'
14
+ subTitle: 'Match the width of the element inside',
15
+ disableHoverIcon: true
15
16
  },
16
17
  {
17
18
  label: 'Based on the item count',
18
19
  value: 'BASE_ON_NUMBER_OF_ITEMS',
19
- subTitle: 'Max item width is screen width divided by the number of items'
20
+ subTitle: 'Max item width is screen width divided by the number of items',
21
+ disableHoverIcon: true
20
22
  },
21
23
  {
22
24
  label: 'Custom',
23
25
  value: 'CUSTOM',
24
- subTitle: 'Set the max width as you want'
26
+ subTitle: 'Set the max width as you want',
27
+ disableHoverIcon: true
25
28
  }
26
29
  ],
27
30
  devices: {
@@ -6,20 +6,44 @@ const AppConfig = {
6
6
  };
7
7
  const widgetTypeOptions = [
8
8
  {
9
- label: 'Fly Bundles: Volume Block',
10
- value: 'app-block-volume'
9
+ label: 'Fly Bundles: Quantity Breaks',
10
+ value: 'app-block-volume',
11
+ hideOnPage: [
12
+ 'GP_ARTICLE',
13
+ 'GP_BLOG',
14
+ 'GP_COLLECTION',
15
+ 'GP_INDEX',
16
+ 'GP_STATIC'
17
+ ]
11
18
  },
12
19
  {
13
- label: 'Fly Bundles: Upsell Block',
14
- value: 'app-block-upsell-block'
20
+ label: 'Fly Bundles: Frequently Bought Together',
21
+ value: 'app-block-upsell-block',
22
+ hideOnPage: [
23
+ 'GP_ARTICLE',
24
+ 'GP_BLOG',
25
+ 'GP_COLLECTION',
26
+ 'GP_INDEX',
27
+ 'GP_STATIC'
28
+ ]
15
29
  },
16
30
  {
17
- label: 'Fly Bundles: Fixed Block',
18
- value: 'app-block-fbt'
31
+ label: 'Fly Bundles: Product Bundles',
32
+ value: 'app-block-fbt',
33
+ hideOnPage: [
34
+ 'GP_ARTICLE',
35
+ 'GP_BLOG',
36
+ 'GP_COLLECTION',
37
+ 'GP_INDEX',
38
+ 'GP_STATIC'
39
+ ]
19
40
  },
20
41
  {
21
42
  label: 'Fly Bundles: Custom Block',
22
- value: 'app-block-custom'
43
+ value: 'app-block-custom',
44
+ hideOnPage: [
45
+ 'GP_PRODUCT'
46
+ ]
23
47
  }
24
48
  ];
25
49
 
@@ -10,21 +10,17 @@ const SettingUIV2 = [
10
10
  ]
11
11
  },
12
12
  {
13
- messageConfig: {
14
- type: 'info',
15
- message: '<div>Optional: Size Chart ID is ONLY required on non product page placements. The Size Chart ID for each size chart is located next to the Name field on the Clean Size Charts dashboard. <a href="https://help.cleansizecharts.com/article/109-add-a-size-chart-to-a-non-product-page" target="_blank">Learn More</a></div>'
16
- },
17
13
  controls: [
18
14
  {
19
15
  type: 'combo',
20
16
  label: {
21
- en: 'Size Chart ID'
17
+ en: 'Announcement id'
22
18
  },
23
19
  iconName: 'polaris-text-block',
24
- getValueFromSettingID: 'chartId',
20
+ getValueFromSettingID: 'announcementId',
25
21
  isHideClear: true,
26
22
  popoverLabel: {
27
- en: 'Size Chart ID'
23
+ en: 'Announcement id'
28
24
  },
29
25
  controls: [
30
26
  {
@@ -36,7 +32,7 @@ const SettingUIV2 = [
36
32
  },
37
33
  layout: 'vertical',
38
34
  setting: {
39
- id: 'chartId'
35
+ id: 'announcementId'
40
36
  }
41
37
  }
42
38
  ]
@@ -14,6 +14,15 @@ const SettingUIV1 = [
14
14
  id: 'customBundleId'
15
15
  }
16
16
  },
17
+ {
18
+ type: 'control',
19
+ setting: {
20
+ id: 'widgetType'
21
+ },
22
+ label: {
23
+ en: 'Choose widget'
24
+ }
25
+ },
17
26
  {
18
27
  type: 'control',
19
28
  setting: {
@@ -16,6 +16,7 @@ const SettingUIV2 = [
16
16
  label: {
17
17
  en: 'Custom Block ID'
18
18
  },
19
+ conditionDisplay: 'pageType != "GP_PRODUCT"',
19
20
  iconName: 'polaris-text-block',
20
21
  getValueFromSettingID: 'customBundleId',
21
22
  isHideClear: true,
@@ -36,6 +37,14 @@ const SettingUIV2 = [
36
37
  }
37
38
  }
38
39
  ]
40
+ },
41
+ {
42
+ setting: {
43
+ id: 'widgetType'
44
+ },
45
+ label: {
46
+ en: 'Choose widget'
47
+ }
39
48
  }
40
49
  ]
41
50
  },
@@ -23,35 +23,7 @@ const SettingUIV2 = [
23
23
  messageConfig: {
24
24
  type: 'info',
25
25
  message: '<span>To make this element work, copy the class <strong>.gp-integration-stellar-delivery__position</strong> and paste it into the Selector input field in the Run Wizard settings. For more details, check the instructions on<a style="text-decoration: none; color: #8AA4FF" href="https://www.identixweb.com/helpdesk/order-delivery-date/general-settings/setup-wizard/" target="_blank"> how to set up the Run Wizard.</a></span>'
26
- },
27
- controls: [
28
- {
29
- type: 'combo',
30
- label: {
31
- en: 'Guide ID'
32
- },
33
- iconName: 'polaris-text-block',
34
- getValueFromSettingID: 'guideId',
35
- isHideClear: true,
36
- popoverLabel: {
37
- en: 'Guide ID'
38
- },
39
- controls: [
40
- {
41
- label: {
42
- en: 'Content'
43
- },
44
- options: {
45
- fullWidth: true
46
- },
47
- layout: 'vertical',
48
- setting: {
49
- id: 'guideId'
50
- }
51
- }
52
- ]
53
- }
54
- ]
26
+ }
55
27
  },
56
28
  {
57
29
  controls: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.589",
3
+ "version": "2.0.0-dev.591",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",