@useinsider/guido 1.0.3-beta.2cf8046 → 1.0.3-beta.2df2106

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.
Files changed (116) hide show
  1. package/README.md +3 -32
  2. package/dist/components/Guido.vue.js +1 -1
  3. package/dist/components/organisms/LoadingWrapper.vue.js +1 -1
  4. package/dist/components/organisms/header/RightSlot.vue2.js +13 -13
  5. package/dist/composables/useActionsApi.js +1 -1
  6. package/dist/composables/useHtmlCompiler.js +15 -13
  7. package/dist/composables/useHtmlValidator.js +36 -35
  8. package/dist/composables/useStripo.js +29 -25
  9. package/dist/config/compiler/itemsCompilerRules.js +14 -0
  10. package/dist/enums/unsubscribe.js +27 -26
  11. package/dist/extensions/Blocks/Checkbox/control.js +15 -14
  12. package/dist/extensions/Blocks/Checkbox/template.js +14 -9
  13. package/dist/extensions/Blocks/Items/block.js +26 -26
  14. package/dist/extensions/Blocks/Items/controls/name/trimming.js +25 -25
  15. package/dist/extensions/Blocks/Items/controls/price/priceOrientation.js +92 -0
  16. package/dist/extensions/Blocks/Items/controls/settingsControl.js +150 -114
  17. package/dist/extensions/Blocks/Items/enums/controlEnums.js +2 -2
  18. package/dist/extensions/Blocks/Items/enums/productEnums.js +77 -4
  19. package/dist/extensions/Blocks/Items/enums/settingsEnums.js +3 -2
  20. package/dist/extensions/Blocks/Items/extension.js +7 -6
  21. package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +57 -56
  22. package/dist/extensions/Blocks/Items/layouts/vertical.html.js +67 -56
  23. package/dist/extensions/Blocks/Items/settingsPanel.js +69 -43
  24. package/dist/extensions/Blocks/Items/store/items-block.js +8 -4
  25. package/dist/extensions/Blocks/Items/template.js +147 -62
  26. package/dist/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.js +35 -26
  27. package/dist/extensions/Blocks/Items/utils/updateAttributes.js +29 -27
  28. package/dist/extensions/Blocks/RadioButton/control.js +18 -17
  29. package/dist/extensions/Blocks/RadioButton/template.js +18 -9
  30. package/dist/extensions/Blocks/Unsubscribe/block.js +45 -41
  31. package/dist/guido.css +1 -1
  32. package/dist/node_modules/lodash-es/_DataView.js +6 -0
  33. package/dist/node_modules/lodash-es/_Promise.js +6 -0
  34. package/dist/node_modules/lodash-es/_Set.js +6 -0
  35. package/dist/node_modules/lodash-es/_SetCache.js +13 -0
  36. package/dist/node_modules/lodash-es/_WeakMap.js +6 -0
  37. package/dist/node_modules/lodash-es/_arrayFilter.js +10 -0
  38. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +13 -12
  39. package/dist/node_modules/lodash-es/_arrayMap.js +8 -0
  40. package/dist/node_modules/lodash-es/_arrayPush.js +8 -0
  41. package/dist/node_modules/lodash-es/_arraySome.js +9 -0
  42. package/dist/node_modules/lodash-es/_baseEach.js +6 -0
  43. package/dist/node_modules/lodash-es/_baseFlatten.js +13 -0
  44. package/dist/node_modules/lodash-es/_baseForOwn.js +8 -0
  45. package/dist/node_modules/lodash-es/_baseGet.js +11 -0
  46. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  47. package/dist/node_modules/lodash-es/_baseHasIn.js +6 -0
  48. package/dist/node_modules/lodash-es/_baseIsEqual.js +8 -0
  49. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +32 -0
  50. package/dist/node_modules/lodash-es/_baseIsMatch.js +29 -0
  51. package/dist/node_modules/lodash-es/_baseIteratee.js +11 -0
  52. package/dist/node_modules/lodash-es/_baseKeys.js +14 -0
  53. package/dist/node_modules/lodash-es/_baseMap.js +11 -0
  54. package/dist/node_modules/lodash-es/_baseMatches.js +12 -0
  55. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +17 -0
  56. package/dist/node_modules/lodash-es/_baseProperty.js +8 -0
  57. package/dist/node_modules/lodash-es/_basePropertyDeep.js +9 -0
  58. package/dist/node_modules/lodash-es/_baseRange.js +9 -0
  59. package/dist/node_modules/lodash-es/_baseToString.js +18 -0
  60. package/dist/node_modules/lodash-es/_baseTrim.js +8 -0
  61. package/dist/node_modules/lodash-es/_cacheHas.js +6 -0
  62. package/dist/node_modules/lodash-es/_castPath.js +10 -0
  63. package/dist/node_modules/lodash-es/_createBaseEach.js +15 -0
  64. package/dist/node_modules/lodash-es/_createRange.js +11 -0
  65. package/dist/node_modules/lodash-es/_equalArrays.js +40 -0
  66. package/dist/node_modules/lodash-es/_equalByTag.js +45 -0
  67. package/dist/node_modules/lodash-es/_equalObjects.js +36 -0
  68. package/dist/node_modules/lodash-es/_getAllKeys.js +9 -0
  69. package/dist/node_modules/lodash-es/_getMatchData.js +12 -0
  70. package/dist/node_modules/lodash-es/_getSymbols.js +10 -0
  71. package/dist/node_modules/lodash-es/_getTag.js +28 -0
  72. package/dist/node_modules/lodash-es/_hasPath.js +19 -0
  73. package/dist/node_modules/lodash-es/_isFlattenable.js +10 -0
  74. package/dist/node_modules/lodash-es/_isKey.js +12 -0
  75. package/dist/node_modules/lodash-es/_isStrictComparable.js +7 -0
  76. package/dist/node_modules/lodash-es/_mapToArray.js +9 -0
  77. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +8 -0
  78. package/dist/node_modules/lodash-es/_memoizeCapped.js +11 -0
  79. package/dist/node_modules/lodash-es/_nativeKeys.js +5 -0
  80. package/dist/node_modules/lodash-es/_setCacheAdd.js +7 -0
  81. package/dist/node_modules/lodash-es/_setCacheHas.js +6 -0
  82. package/dist/node_modules/lodash-es/_setToArray.js +9 -0
  83. package/dist/node_modules/lodash-es/_stringToPath.js +10 -0
  84. package/dist/node_modules/lodash-es/_toKey.js +10 -0
  85. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +9 -0
  86. package/dist/node_modules/lodash-es/flatMap.js +8 -0
  87. package/dist/node_modules/lodash-es/get.js +8 -0
  88. package/dist/node_modules/lodash-es/hasIn.js +8 -0
  89. package/dist/node_modules/lodash-es/isSymbol.js +9 -0
  90. package/dist/node_modules/lodash-es/keys.js +9 -0
  91. package/dist/node_modules/lodash-es/keysIn.js +3 -3
  92. package/dist/node_modules/lodash-es/map.js +11 -0
  93. package/dist/node_modules/lodash-es/property.js +10 -0
  94. package/dist/node_modules/lodash-es/range.js +5 -0
  95. package/dist/node_modules/lodash-es/stubArray.js +6 -0
  96. package/dist/node_modules/lodash-es/toFinite.js +14 -0
  97. package/dist/node_modules/lodash-es/toNumber.js +22 -0
  98. package/dist/node_modules/lodash-es/toString.js +7 -0
  99. package/dist/src/config/compiler/itemsCompilerRules.d.ts +2 -0
  100. package/dist/src/extensions/Blocks/Checkbox/template.d.ts +1 -1
  101. package/dist/src/extensions/Blocks/Items/block.d.ts +14 -0
  102. package/dist/src/extensions/Blocks/Items/controls/price/priceOrientation.d.ts +15 -0
  103. package/dist/src/extensions/Blocks/Items/controls/settingsControl.d.ts +8 -2
  104. package/dist/src/extensions/Blocks/Items/enums/controlEnums.d.ts +1 -0
  105. package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +3 -0
  106. package/dist/src/extensions/Blocks/Items/enums/settingsEnums.d.ts +1 -0
  107. package/dist/src/extensions/Blocks/Items/store/items-block.d.ts +2 -0
  108. package/dist/src/extensions/Blocks/Items/template.d.ts +9 -1
  109. package/dist/src/extensions/Blocks/Items/utils/syncAttributesFromConfigBlock.d.ts +6 -0
  110. package/dist/src/extensions/Blocks/RadioButton/template.d.ts +1 -1
  111. package/dist/src/extensions/Blocks/Unsubscribe/block.d.ts +3 -4
  112. package/dist/src/utils/environmentUtil.d.ts +5 -0
  113. package/dist/src/utils/pairProductVariables.d.ts +7 -0
  114. package/dist/utils/environmentUtil.js +4 -0
  115. package/dist/utils/pairProductVariables.js +136 -0
  116. package/package.json +5 -10
@@ -1,59 +1,60 @@
1
- const t = `<td align="center" class="ins-product-td items-block items-block-v2">
2
- <table class="es-left ins-product-wrapper" cellspacing="0" cellpadding="0" align="left" width="100%">
3
- {-{-CONFIG_BLOCK-}-}
4
- <tbody>
5
- <tr>
6
- <td class="es-p20b es-p10r es-p10l es-m-p20b es-p10t" width="100%" align="center">
7
- <table class="ins-product-cart" width="100%" cellspacing="0" cellpadding="0">
8
- <tr style="vertical-align: top">
9
- <td colspan="2" width="100%" align="center" data-slot-1>
10
- <table width="100%">
11
- <tbody>
12
- {-{-PRODUCT_IMAGE-}-}
13
- </tbody>
14
- </table>
15
- </td>
16
- </tr>
17
- {-{-PRODUCT_NAME-}-}
18
- <tr>
19
- <td width="50%" style=" width: 50%;display: block;float: left;">
20
- <table width="100%">
21
- <tbody>
22
- {-{-PRODUCT_PRICE-}-}
23
- </tbody>
24
- </table>
25
- </td>
26
- <td width="50%" style=" width: 50%;display: block;float: left;">
27
- <table width="100%">
28
- <tbody>
29
- {-{-PRODUCT_ORIGINAL_PRICE-}-}
30
- </tbody>
31
- </table>
32
- </td>
33
- </tr>
34
- <tr>
35
- <td width="100%">
36
- <table width="100%">
37
- <tbody>
38
- {-{-PRODUCT_QUANTITY-}-}
39
- </tbody>
40
- </table>
41
- </td>
42
- </tr>
43
- <tr>
44
- <td width="100%">
45
- <table width="100%">
46
- <tbody>
47
- {-{-PRODUCT_BUTTON-}-}
48
- </tbody>
49
- </table>
50
- </td>
51
- </tr>
52
- </table>
53
- </td>
54
- </tr>
55
- </tbody>
56
- </table>
1
+ const t = `{-{-TEMPLATE_FIRST_LINE-}-}
2
+ <table class="es-left ins-product-wrapper" cellspacing="0" cellpadding="0" align="left" width="100%">
3
+ {-{-CONFIG_BLOCK-}-}
4
+ <tbody>
5
+ <tr>
6
+ <td class="es-p20b es-p10r es-p10l es-m-p20b es-p10t" width="100%" align="center">
7
+ <table class="ins-product-cart" width="100%" cellspacing="0" cellpadding="0">
8
+ <tr style="vertical-align: top">
9
+ <td colspan="2" width="100%" align="center" data-slot-1>
10
+ <table width="100%">
11
+ <tbody>
12
+ {-{-PRODUCT_IMAGE-}-}
13
+ </tbody>
14
+ </table>
15
+ </td>
16
+ </tr>
17
+ {-{-PRODUCT_NAME-}-}
18
+ <tr>
19
+ <td width="50%" style=" width: 50%;display: block;float: left;" class="product-price-class">
20
+ <table width="100%">
21
+ <tbody>
22
+ {-{-PRODUCT_PRICE-}-}
23
+ </tbody>
24
+ </table>
25
+ </td>
26
+ <td width="50%" style=" width: 50%;display: block;float: left;"
27
+ class="product-original-price-class">
28
+ <table width="100%">
29
+ <tbody>
30
+ {-{-PRODUCT_ORIGINAL_PRICE-}-}
31
+ </tbody>
32
+ </table>
33
+ </td>
34
+ </tr>
35
+ <tr>
36
+ <td width="100%" class="product-quantity-class" data-slot-3>
37
+ <table width="100%">
38
+ <tbody>
39
+ {-{-PRODUCT_QUANTITY-}-}
40
+ </tbody>
41
+ </table>
42
+ </td>
43
+ </tr>
44
+ <tr>
45
+ <td width="100%" class="product-button-class" data-slot-6>
46
+ <table width="100%">
47
+ <tbody>
48
+ {-{-PRODUCT_BUTTON-}-}
49
+ </tbody>
50
+ </table>
51
+ </td>
52
+ </tr>
53
+ </table>
54
+ </td>
55
+ </tr>
56
+ </tbody>
57
+ </table>
57
58
  </td>
58
59
  `;
59
60
  export {
@@ -1,59 +1,70 @@
1
- const t = `<td align="center" class="ins-product-td items-block items-block-v2">
2
- <table class="es-left ins-product-wrapper ins-product-cart" width="100%" cellspacing="0" cellpadding="0">
3
- {-{-CONFIG_BLOCK-}-}
4
- <tbody>
5
- <tr>
6
- <td style="padding: 16px 9px;">
7
- <table class="es-left esdev-disable-select" cellspacing="0" cellpadding="0" align="left"
8
- width="100%">
9
- <tbody>
10
- <tr>
11
- <td class="product-image-class" data-slot-1>
12
- {-{-PRODUCT_IMAGE-}-}
13
- </td>
14
- <td class="product-name-class" data-slot-2 width="130px">
15
- <table width="130">
16
- <tbody>
17
- {-{-PRODUCT_NAME-}-}
18
- </tbody>
19
- </table>
20
- </td>
21
- <td class="product-quantity-class" data-slot-3>
22
- <table width="100%">
23
- <tbody>
24
- {-{-PRODUCT_QUANTITY-}-}
25
- </tbody>
26
- </table>
27
- </td>
28
- <td class="product-price-class" data-slot-4>
29
-
30
- <table width="100%">
31
- <tbody>
32
- {-{-PRODUCT_PRICE-}-}
33
- </tbody>
34
- </table>
35
- </td>
36
- <td class="product-original-price-class" data-slot-5>
37
- <table width="100%">
38
- <tbody>
39
- {-{-PRODUCT_ORIGINAL_PRICE-}-}
40
- </tbody>
41
- </table>
42
- </td>
43
- <td class="product-button-class" data-slot-6>
44
- <table width="100%">
45
- <tbody>
46
- {-{-PRODUCT_BUTTON-}-}
47
- </tbody>
48
- </table>
49
- </td>
50
- </tr>
51
- </tbody>
52
- </table>
53
- </td>
54
- </tr>
55
- </tbody>
56
- </table>
1
+ const t = `{-{-TEMPLATE_FIRST_LINE-}-}
2
+ <table class="es-left ins-product-wrapper ins-product-cart" width="100%" cellspacing="0" cellpadding="0">
3
+ {-{-CONFIG_BLOCK-}-}
4
+ <tbody>
5
+ <tr>
6
+ <td style="padding: 16px 9px;">
7
+ <table class="es-left esdev-disable-select" cellspacing="0" cellpadding="0" align="left" width="100%">
8
+ <tbody>
9
+ <tr>
10
+ <td class="product-image-class" data-slot-1>
11
+ {-{-PRODUCT_IMAGE-}-}
12
+ </td>
13
+ <td class="product-name-class" data-slot-2>
14
+ <table>
15
+ <tbody>
16
+ {-{-PRODUCT_NAME-}-}
17
+ </tbody>
18
+ </table>
19
+ </td>
20
+ <td class="product-quantity-class" data-slot-3>
21
+ <table width="100%">
22
+ <tbody>
23
+ {-{-PRODUCT_QUANTITY-}-}
24
+ </tbody>
25
+ </table>
26
+ </td>
27
+ <td class="product-price-class horizontal-price" data-slot-4>
28
+ <table width="100%">
29
+ <tbody>
30
+ {-{-PRODUCT_PRICE-}-}
31
+ </tbody>
32
+ </table>
33
+ </td>
34
+ <td class="product-original-price-class horizontal-price" data-slot-5>
35
+ <table width="100%">
36
+ <tbody>
37
+ {-{-PRODUCT_ORIGINAL_PRICE-}-}
38
+ </tbody>
39
+ </table>
40
+ </td>
41
+ <td class="product-price-container vertical-price" data-slot-4 style="display: none;">
42
+ <table class="product-price-class" width="100%" data-slot-4>
43
+ <tbody>
44
+ {-{-PRODUCT_PRICE-}-}
45
+ </tbody>
46
+ </table>
47
+ <table class="product-original-price-class product-original-price-container"
48
+ width="100%" data-slot-5>
49
+ <tbody>
50
+ {-{-PRODUCT_ORIGINAL_PRICE-}-}
51
+ </tbody>
52
+ </table>
53
+ </td>
54
+ <td class="product-button-class" data-slot-6>
55
+ <table width="100%">
56
+ <tbody>
57
+ {-{-PRODUCT_BUTTON-}-}
58
+ </tbody>
59
+ </table>
60
+ </td>
61
+ </tr>
62
+ </tbody>
63
+ </table>
64
+ </td>
65
+ </tr>
66
+ </tbody>
67
+ </table>
57
68
  </td>
58
69
  `;
59
70
  export {
@@ -1,16 +1,15 @@
1
- import { SettingsPanelRegistry as O, SettingsPanelTab as T, SettingsTab as _, ContainerControls as R } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { BLOCK_ID as A } from "./block.js";
1
+ import { SettingsPanelRegistry as O, SettingsPanelTab as T, SettingsTab as N } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
+ import { BLOCK_ID as R } from "./block.js";
3
3
  import { COMPOSITION_CONTROL_BLOCK_ID as S } from "./controls/cardComposition.js";
4
- import { CONTROL_BLOCK_ID as C } from "./controls/settingsControl.js";
4
+ import { CONTROL_BLOCK_ID as A } from "./controls/settingsControl.js";
5
5
  import { ItemsBlockId as E, ItemsBlockControlId as I } from "./enums/controlEnums.js";
6
- class t extends O {
7
- registerBlockControls(N) {
8
- N[A] = [
6
+ class U extends O {
7
+ registerBlockControls(_) {
8
+ _[R] = [
9
9
  new T(
10
- _.SETTINGS,
10
+ N.SETTINGS,
11
11
  [
12
- C,
13
- R.EXTERNAL_INDENTS
12
+ A
14
13
  ]
15
14
  ),
16
15
  new T(
@@ -19,88 +18,115 @@ class t extends O {
19
18
  S
20
19
  ]
21
20
  ).withLabel("Card Composition")
22
- ], N[E.ORIGINAL_PRICE] = [
21
+ ], _[E.ORIGINAL_PRICE] = [
23
22
  new T(
24
- _.SETTINGS,
23
+ N.SETTINGS,
25
24
  [
26
- I.ORIGINAL_PRICE_COLOR,
27
- I.ORIGINAL_PRICE_ALIGN,
28
- I.ORIGINAL_PRICE_FONT_FAMILY,
29
- I.ORIGINAL_PRICE_SIZE,
30
25
  I.ORIGINAL_PRICE_STYLE,
26
+ I.ORIGINAL_PRICE_ALIGN,
31
27
  I.ORIGINAL_PRICE_PADDINGS
32
28
  ]
29
+ ),
30
+ new T(
31
+ N.STYLES,
32
+ [
33
+ I.ORIGINAL_PRICE_COLOR,
34
+ I.ORIGINAL_PRICE_FONT_FAMILY,
35
+ I.ORIGINAL_PRICE_SIZE
36
+ ]
33
37
  )
34
- ], N[E.PRICE] = [
38
+ ], _[E.PRICE] = [
35
39
  new T(
36
- _.SETTINGS,
40
+ N.SETTINGS,
37
41
  [
38
- I.PRICE_COLOR,
39
- I.PRICE_ALIGN,
40
- I.PRICE_FONT_FAMILY,
41
- I.PRICE_SIZE,
42
42
  I.PRICE_STYLE,
43
+ I.PRICE_ALIGN,
43
44
  I.PRICE_HIDE_DISCOUNT,
44
45
  I.PRICE_FORMATTED_PRICE,
45
46
  I.PRICE_CURRENCY_SYMBOL,
46
47
  I.PRICE_CURRENCY_LOCATION,
48
+ I.PRICE_ORIENTATION,
47
49
  I.PRICE_PADDINGS
48
50
  ]
51
+ ),
52
+ new T(
53
+ N.STYLES,
54
+ [
55
+ I.PRICE_COLOR,
56
+ I.PRICE_FONT_FAMILY,
57
+ I.PRICE_SIZE
58
+ ]
49
59
  )
50
- ], N[E.NAME] = [
60
+ ], _[E.NAME] = [
51
61
  new T(
52
- _.SETTINGS,
62
+ N.SETTINGS,
53
63
  [
54
- I.NAME_COLOR,
55
- I.NAME_ALIGN,
56
- I.NAME_FONT_FAMILY,
57
- I.NAME_SIZE,
58
64
  I.NAME_STYLE,
65
+ I.NAME_ALIGN,
59
66
  I.NAME_TRIMMING,
60
67
  I.NAME_PADDINGS
61
68
  ]
69
+ ),
70
+ new T(
71
+ N.STYLES,
72
+ [
73
+ I.NAME_FONT_FAMILY,
74
+ I.NAME_SIZE,
75
+ I.NAME_COLOR
76
+ ]
62
77
  )
63
- ], N[E.QUANTITY] = [
78
+ ], _[E.QUANTITY] = [
64
79
  new T(
65
- _.SETTINGS,
80
+ N.SETTINGS,
66
81
  [
67
- I.QUANTITY_COLOR,
68
- I.QUANTITY_ALIGN,
69
82
  I.QUANTITY_FONT_FAMILY,
83
+ I.QUANTITY_STYLE
84
+ ]
85
+ ),
86
+ new T(
87
+ N.STYLES,
88
+ [
89
+ I.QUANTITY_ALIGN,
70
90
  I.QUANTITY_SIZE,
71
- I.QUANTITY_STYLE,
91
+ I.QUANTITY_COLOR,
72
92
  I.QUANTITY_PADDINGS
73
93
  ]
74
94
  )
75
- ], N[E.IMAGE] = [
95
+ ], _[E.IMAGE] = [
76
96
  new T(
77
- _.SETTINGS,
97
+ N.SETTINGS,
78
98
  [
79
99
  I.IMAGE_LINK,
80
100
  I.IMAGE_SIZE,
81
101
  I.IMAGE_MARGINS
82
102
  ]
83
103
  )
84
- ], N[E.BUTTON] = [
104
+ ], _[E.BUTTON] = [
85
105
  new T(
86
- _.SETTINGS,
106
+ N.SETTINGS,
87
107
  [
88
108
  I.BUTTON_LINK,
89
109
  I.BUTTON_TEXT,
90
- I.BUTTON_FONT_FAMILY,
91
- I.BUTTON_TEXT_SIZE,
92
- I.BUTTON_COLOR,
93
- I.BUTTON_BORDER,
94
- I.BUTTON_BORDER_RADIUS,
95
110
  I.BUTTON_ALIGN,
96
- I.BUTTON_FIT_TO_CONTENT,
97
111
  I.BUTTON_PADDINGS,
98
112
  I.BUTTON_MARGINS
99
113
  ]
114
+ ),
115
+ new T(
116
+ N.STYLES,
117
+ [
118
+ I.BUTTON_COLOR,
119
+ I.BUTTON_FONT_FAMILY,
120
+ I.BUTTON_TEXT_SIZE,
121
+ I.BUTTON_TEXT_STYLE_AND_FONT_COLOR,
122
+ I.BUTTON_FIT_TO_CONTENT,
123
+ I.BUTTON_BORDER_RADIUS,
124
+ I.BUTTON_BORDER
125
+ ]
100
126
  )
101
127
  ];
102
128
  }
103
129
  }
104
130
  export {
105
- t as SettingsPanel
131
+ U as SettingsPanel
106
132
  };
@@ -1,4 +1,4 @@
1
- import { defineStore as s } from "pinia";
1
+ import { defineStore as r } from "pinia";
2
2
  import { DefaultConfigValues as e } from "../enums/settingsEnums.js";
3
3
  const n = (t) => t.replace(/Url\}/, "Image}"), o = (t) => t.replace(/Image\}/, "Url}"), i = () => {
4
4
  const t = e.cartItemsSelectControlValue;
@@ -8,11 +8,12 @@ const n = (t) => t.replace(/Url\}/, "Image}"), o = (t) => t.replace(/Image\}/, "
8
8
  imageLink: n(t),
9
9
  buttonLink: o(t),
10
10
  orientation: e.cardOrientationControlValue,
11
- nameTrimming: !1,
11
+ nameTrimming: !0,
12
12
  hideDiscount: !1,
13
13
  currencySymbol: "USD",
14
14
  currencyLocation: "0",
15
15
  formattedPrice: !0,
16
+ priceOrientation: "horizontal",
16
17
  templateData: {
17
18
  imageSrc: "",
18
19
  name: "",
@@ -22,7 +23,7 @@ const n = (t) => t.replace(/Url\}/, "Image}"), o = (t) => t.replace(/Image\}/, "
22
23
  button: ""
23
24
  }
24
25
  };
25
- }, a = s("guidoItemsBlock", {
26
+ }, m = r("guidoItemsBlock", {
26
27
  state: () => i(),
27
28
  actions: {
28
29
  setItemsType(t) {
@@ -55,6 +56,9 @@ const n = (t) => t.replace(/Url\}/, "Image}"), o = (t) => t.replace(/Image\}/, "
55
56
  setFormattedPrice(t) {
56
57
  this.formattedPrice = t;
57
58
  },
59
+ setPriceOrientation(t) {
60
+ this.priceOrientation = t;
61
+ },
58
62
  setTemplateData(t) {
59
63
  this.templateData = t;
60
64
  },
@@ -67,5 +71,5 @@ const n = (t) => t.replace(/Url\}/, "Image}"), o = (t) => t.replace(/Image\}/, "
67
71
  }
68
72
  });
69
73
  export {
70
- a as useItemsBlockStore
74
+ m as useItemsBlockStore
71
75
  };