@open-tender/types 0.4.61 → 0.4.62

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 (239) hide show
  1. package/LICENSE.md +21 -21
  2. package/README.md +2 -2
  3. package/dist/cjs/index.d.ts +1 -1
  4. package/dist/cjs/index.js +4 -4
  5. package/dist/cjs/types/api/alerts.d.ts +5 -5
  6. package/dist/cjs/types/api/alerts.js +2 -2
  7. package/dist/cjs/types/api/allergens.d.ts +13 -13
  8. package/dist/cjs/types/api/allergens.js +2 -2
  9. package/dist/cjs/types/api/announcements.d.ts +57 -57
  10. package/dist/cjs/types/api/announcements.js +2 -2
  11. package/dist/cjs/types/api/arrivals.d.ts +14 -14
  12. package/dist/cjs/types/api/arrivals.js +2 -2
  13. package/dist/cjs/types/api/cart.d.ts +106 -106
  14. package/dist/cjs/types/api/cart.js +2 -2
  15. package/dist/cjs/types/api/checkout.d.ts +307 -307
  16. package/dist/cjs/types/api/checkout.js +29 -29
  17. package/dist/cjs/types/api/completedOrders.d.ts +42 -42
  18. package/dist/cjs/types/api/completedOrders.js +2 -2
  19. package/dist/cjs/types/api/config.d.ts +511 -511
  20. package/dist/cjs/types/api/config.js +2 -2
  21. package/dist/cjs/types/api/creditCards.d.ts +39 -39
  22. package/dist/cjs/types/api/creditCards.js +2 -2
  23. package/dist/cjs/types/api/customer/account.d.ts +24 -24
  24. package/dist/cjs/types/api/customer/account.js +2 -2
  25. package/dist/cjs/types/api/customer/addresses.d.ts +24 -24
  26. package/dist/cjs/types/api/customer/addresses.js +2 -2
  27. package/dist/cjs/types/api/customer/allergens.d.ts +5 -5
  28. package/dist/cjs/types/api/customer/allergens.js +2 -2
  29. package/dist/cjs/types/api/customer/communicationPreferences.d.ts +12 -12
  30. package/dist/cjs/types/api/customer/communicationPreferences.js +2 -2
  31. package/dist/cjs/types/api/customer/customer.d.ts +54 -54
  32. package/dist/cjs/types/api/customer/customer.js +2 -2
  33. package/dist/cjs/types/api/customer/giftCards.d.ts +36 -36
  34. package/dist/cjs/types/api/customer/giftCards.js +2 -2
  35. package/dist/cjs/types/api/customer/groupOrders.d.ts +62 -62
  36. package/dist/cjs/types/api/customer/groupOrders.js +11 -11
  37. package/dist/cjs/types/api/customer/houseAccounts.d.ts +21 -21
  38. package/dist/cjs/types/api/customer/houseAccounts.js +2 -2
  39. package/dist/cjs/types/api/customer/identify.d.ts +46 -46
  40. package/dist/cjs/types/api/customer/identify.js +2 -2
  41. package/dist/cjs/types/api/customer/index.d.ts +13 -13
  42. package/dist/cjs/types/api/customer/index.js +17 -17
  43. package/dist/cjs/types/api/customer/loyalty.d.ts +70 -70
  44. package/dist/cjs/types/api/customer/loyalty.js +2 -2
  45. package/dist/cjs/types/api/customer/qrcode.d.ts +3 -3
  46. package/dist/cjs/types/api/customer/qrcode.js +2 -2
  47. package/dist/cjs/types/api/customer/thanx.d.ts +26 -26
  48. package/dist/cjs/types/api/customer/thanx.js +2 -2
  49. package/dist/cjs/types/api/customer/tpls.d.ts +74 -74
  50. package/dist/cjs/types/api/customer/tpls.js +2 -2
  51. package/dist/cjs/types/api/devices.d.ts +94 -94
  52. package/dist/cjs/types/api/devices.js +2 -2
  53. package/dist/cjs/types/api/discounts.d.ts +63 -63
  54. package/dist/cjs/types/api/discounts.js +2 -2
  55. package/dist/cjs/types/api/donations.d.ts +12 -12
  56. package/dist/cjs/types/api/donations.js +2 -2
  57. package/dist/cjs/types/api/employee.d.ts +70 -70
  58. package/dist/cjs/types/api/employee.js +2 -2
  59. package/dist/cjs/types/api/errorAlerts.d.ts +9 -9
  60. package/dist/cjs/types/api/errorAlerts.js +2 -2
  61. package/dist/cjs/types/api/favorite.d.ts +13 -13
  62. package/dist/cjs/types/api/favorite.js +2 -2
  63. package/dist/cjs/types/api/giftCard.d.ts +11 -11
  64. package/dist/cjs/types/api/giftCard.js +2 -2
  65. package/dist/cjs/types/api/index.d.ts +36 -36
  66. package/dist/cjs/types/api/index.js +39 -39
  67. package/dist/cjs/types/api/itemTypes.d.ts +15 -15
  68. package/dist/cjs/types/api/itemTypes.js +2 -2
  69. package/dist/cjs/types/api/kds.d.ts +100 -100
  70. package/dist/cjs/types/api/kds.js +2 -2
  71. package/dist/cjs/types/api/kiosk.d.ts +34 -34
  72. package/dist/cjs/types/api/kiosk.js +2 -2
  73. package/dist/cjs/types/api/menu.d.ts +179 -179
  74. package/dist/cjs/types/api/menu.js +2 -2
  75. package/dist/cjs/types/api/menuPages.d.ts +21 -21
  76. package/dist/cjs/types/api/menuPages.js +2 -2
  77. package/dist/cjs/types/api/messages.d.ts +5 -5
  78. package/dist/cjs/types/api/messages.js +2 -2
  79. package/dist/cjs/types/api/notifications.d.ts +5 -5
  80. package/dist/cjs/types/api/notifications.js +2 -2
  81. package/dist/cjs/types/api/offlineAuths.d.ts +12 -12
  82. package/dist/cjs/types/api/offlineAuths.js +2 -2
  83. package/dist/cjs/types/api/order.d.ts +350 -350
  84. package/dist/cjs/types/api/order.js +19 -19
  85. package/dist/cjs/types/api/orders.d.ts +5 -5
  86. package/dist/cjs/types/api/orders.js +2 -2
  87. package/dist/cjs/types/api/refund.d.ts +22 -22
  88. package/dist/cjs/types/api/refund.js +2 -2
  89. package/dist/cjs/types/api/revenueCenter.d.ts +167 -167
  90. package/dist/cjs/types/api/revenueCenter.js +2 -2
  91. package/dist/cjs/types/api/selectOptions.d.ts +7 -7
  92. package/dist/cjs/types/api/selectOptions.js +2 -2
  93. package/dist/cjs/types/api/settings.d.ts +10 -10
  94. package/dist/cjs/types/api/settings.js +2 -2
  95. package/dist/cjs/types/api/store.d.ts +124 -102
  96. package/dist/cjs/types/api/store.js +2 -2
  97. package/dist/cjs/types/api/surcharges.d.ts +15 -15
  98. package/dist/cjs/types/api/surcharges.js +2 -2
  99. package/dist/cjs/types/api/tags.d.ts +13 -13
  100. package/dist/cjs/types/api/tags.js +2 -2
  101. package/dist/cjs/types/api/taxes.d.ts +15 -15
  102. package/dist/cjs/types/api/taxes.js +2 -2
  103. package/dist/cjs/types/api/theme.d.ts +737 -737
  104. package/dist/cjs/types/api/theme.js +2 -2
  105. package/dist/cjs/types/datetimes.d.ts +52 -52
  106. package/dist/cjs/types/datetimes.js +2 -2
  107. package/dist/cjs/types/errors.d.ts +2 -2
  108. package/dist/cjs/types/errors.js +5 -5
  109. package/dist/cjs/types/global.d.ts +58 -58
  110. package/dist/cjs/types/global.js +2 -2
  111. package/dist/cjs/types/index.d.ts +8 -8
  112. package/dist/cjs/types/index.js +11 -11
  113. package/dist/cjs/types/inputs.d.ts +82 -82
  114. package/dist/cjs/types/inputs.js +23 -23
  115. package/dist/cjs/types/pizzaBuilder.d.ts +7 -7
  116. package/dist/cjs/types/pizzaBuilder.js +2 -2
  117. package/dist/cjs/types/request.d.ts +27 -27
  118. package/dist/cjs/types/request.js +2 -2
  119. package/dist/cjs/types/themePos.d.ts +117 -117
  120. package/dist/cjs/types/themePos.js +2 -2
  121. package/dist/esm/index.d.ts +1 -1
  122. package/dist/esm/index.js +1 -1
  123. package/dist/esm/types/api/alerts.d.ts +5 -5
  124. package/dist/esm/types/api/alerts.js +1 -1
  125. package/dist/esm/types/api/allergens.d.ts +13 -13
  126. package/dist/esm/types/api/allergens.js +1 -1
  127. package/dist/esm/types/api/announcements.d.ts +57 -57
  128. package/dist/esm/types/api/announcements.js +1 -1
  129. package/dist/esm/types/api/arrivals.d.ts +14 -14
  130. package/dist/esm/types/api/arrivals.js +1 -1
  131. package/dist/esm/types/api/cart.d.ts +106 -106
  132. package/dist/esm/types/api/cart.js +1 -1
  133. package/dist/esm/types/api/checkout.d.ts +307 -307
  134. package/dist/esm/types/api/checkout.js +20 -20
  135. package/dist/esm/types/api/completedOrders.d.ts +42 -42
  136. package/dist/esm/types/api/completedOrders.js +1 -1
  137. package/dist/esm/types/api/config.d.ts +511 -511
  138. package/dist/esm/types/api/config.js +1 -1
  139. package/dist/esm/types/api/creditCards.d.ts +39 -39
  140. package/dist/esm/types/api/creditCards.js +1 -1
  141. package/dist/esm/types/api/customer/account.d.ts +24 -24
  142. package/dist/esm/types/api/customer/account.js +1 -1
  143. package/dist/esm/types/api/customer/addresses.d.ts +24 -24
  144. package/dist/esm/types/api/customer/addresses.js +1 -1
  145. package/dist/esm/types/api/customer/allergens.d.ts +5 -5
  146. package/dist/esm/types/api/customer/allergens.js +1 -1
  147. package/dist/esm/types/api/customer/communicationPreferences.d.ts +12 -12
  148. package/dist/esm/types/api/customer/communicationPreferences.js +1 -1
  149. package/dist/esm/types/api/customer/customer.d.ts +54 -54
  150. package/dist/esm/types/api/customer/customer.js +1 -1
  151. package/dist/esm/types/api/customer/giftCards.d.ts +36 -36
  152. package/dist/esm/types/api/customer/giftCards.js +1 -1
  153. package/dist/esm/types/api/customer/groupOrders.d.ts +62 -62
  154. package/dist/esm/types/api/customer/groupOrders.js +6 -6
  155. package/dist/esm/types/api/customer/houseAccounts.d.ts +21 -21
  156. package/dist/esm/types/api/customer/houseAccounts.js +1 -1
  157. package/dist/esm/types/api/customer/identify.d.ts +46 -46
  158. package/dist/esm/types/api/customer/identify.js +1 -1
  159. package/dist/esm/types/api/customer/index.d.ts +13 -13
  160. package/dist/esm/types/api/customer/index.js +14 -14
  161. package/dist/esm/types/api/customer/loyalty.d.ts +70 -70
  162. package/dist/esm/types/api/customer/loyalty.js +1 -1
  163. package/dist/esm/types/api/customer/qrcode.d.ts +3 -3
  164. package/dist/esm/types/api/customer/qrcode.js +1 -1
  165. package/dist/esm/types/api/customer/thanx.d.ts +26 -26
  166. package/dist/esm/types/api/customer/thanx.js +1 -1
  167. package/dist/esm/types/api/customer/tpls.d.ts +74 -74
  168. package/dist/esm/types/api/customer/tpls.js +1 -1
  169. package/dist/esm/types/api/devices.d.ts +94 -94
  170. package/dist/esm/types/api/devices.js +1 -1
  171. package/dist/esm/types/api/discounts.d.ts +63 -63
  172. package/dist/esm/types/api/discounts.js +1 -1
  173. package/dist/esm/types/api/donations.d.ts +12 -12
  174. package/dist/esm/types/api/donations.js +1 -1
  175. package/dist/esm/types/api/employee.d.ts +70 -70
  176. package/dist/esm/types/api/employee.js +1 -1
  177. package/dist/esm/types/api/errorAlerts.d.ts +9 -9
  178. package/dist/esm/types/api/errorAlerts.js +1 -1
  179. package/dist/esm/types/api/favorite.d.ts +13 -13
  180. package/dist/esm/types/api/favorite.js +1 -1
  181. package/dist/esm/types/api/giftCard.d.ts +11 -11
  182. package/dist/esm/types/api/giftCard.js +1 -1
  183. package/dist/esm/types/api/index.d.ts +36 -36
  184. package/dist/esm/types/api/index.js +36 -36
  185. package/dist/esm/types/api/itemTypes.d.ts +15 -15
  186. package/dist/esm/types/api/itemTypes.js +1 -1
  187. package/dist/esm/types/api/kds.d.ts +100 -100
  188. package/dist/esm/types/api/kds.js +1 -1
  189. package/dist/esm/types/api/kiosk.d.ts +34 -34
  190. package/dist/esm/types/api/kiosk.js +1 -1
  191. package/dist/esm/types/api/menu.d.ts +179 -179
  192. package/dist/esm/types/api/menu.js +1 -1
  193. package/dist/esm/types/api/menuPages.d.ts +21 -21
  194. package/dist/esm/types/api/menuPages.js +1 -1
  195. package/dist/esm/types/api/messages.d.ts +5 -5
  196. package/dist/esm/types/api/messages.js +1 -1
  197. package/dist/esm/types/api/notifications.d.ts +5 -5
  198. package/dist/esm/types/api/notifications.js +1 -1
  199. package/dist/esm/types/api/offlineAuths.d.ts +12 -12
  200. package/dist/esm/types/api/offlineAuths.js +1 -1
  201. package/dist/esm/types/api/order.d.ts +350 -350
  202. package/dist/esm/types/api/order.js +12 -12
  203. package/dist/esm/types/api/orders.d.ts +5 -5
  204. package/dist/esm/types/api/orders.js +1 -1
  205. package/dist/esm/types/api/refund.d.ts +22 -22
  206. package/dist/esm/types/api/refund.js +1 -1
  207. package/dist/esm/types/api/revenueCenter.d.ts +167 -167
  208. package/dist/esm/types/api/revenueCenter.js +1 -1
  209. package/dist/esm/types/api/selectOptions.d.ts +7 -7
  210. package/dist/esm/types/api/selectOptions.js +1 -1
  211. package/dist/esm/types/api/settings.d.ts +10 -10
  212. package/dist/esm/types/api/settings.js +1 -1
  213. package/dist/esm/types/api/store.d.ts +124 -102
  214. package/dist/esm/types/api/store.js +1 -1
  215. package/dist/esm/types/api/surcharges.d.ts +15 -15
  216. package/dist/esm/types/api/surcharges.js +1 -1
  217. package/dist/esm/types/api/tags.d.ts +13 -13
  218. package/dist/esm/types/api/tags.js +1 -1
  219. package/dist/esm/types/api/taxes.d.ts +15 -15
  220. package/dist/esm/types/api/taxes.js +1 -1
  221. package/dist/esm/types/api/theme.d.ts +737 -737
  222. package/dist/esm/types/api/theme.js +1 -1
  223. package/dist/esm/types/datetimes.d.ts +52 -52
  224. package/dist/esm/types/datetimes.js +1 -1
  225. package/dist/esm/types/errors.d.ts +2 -2
  226. package/dist/esm/types/errors.js +2 -2
  227. package/dist/esm/types/global.d.ts +58 -58
  228. package/dist/esm/types/global.js +1 -1
  229. package/dist/esm/types/index.d.ts +8 -8
  230. package/dist/esm/types/index.js +8 -8
  231. package/dist/esm/types/inputs.d.ts +82 -82
  232. package/dist/esm/types/inputs.js +15 -15
  233. package/dist/esm/types/pizzaBuilder.d.ts +7 -7
  234. package/dist/esm/types/pizzaBuilder.js +1 -1
  235. package/dist/esm/types/request.d.ts +27 -27
  236. package/dist/esm/types/request.js +1 -1
  237. package/dist/esm/types/themePos.d.ts +117 -117
  238. package/dist/esm/types/themePos.js +1 -1
  239. package/package.json +59 -59
@@ -1,737 +1,737 @@
1
- export declare type ThemeFlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
2
- export declare type ThemeJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
3
- export declare type ThemeFontSmoothing = 'none' | 'auto' | 'antialiased' | 'subpixel-antialiased';
4
- export declare type ThemeTextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
5
- export declare type ThemeTextAlignment = 'left' | 'right' | 'center' | 'justify';
6
- export declare type ThemeBackgroundSize = 'cover' | 'contain' | '100% auto' | 'auto 100%';
7
- export declare type ThemeAlertType = 'alert' | 'error' | 'success' | 'toast';
8
- export interface ThemeAlert extends Record<string, string> {
9
- bgColor: string;
10
- color: string;
11
- }
12
- export interface ThemeColorsBase extends Record<string, string> {
13
- alert: string;
14
- allergens: string;
15
- dark: string;
16
- error: string;
17
- light: string;
18
- primary: string;
19
- secondary: string;
20
- success: string;
21
- tertiary: string;
22
- toast: string;
23
- }
24
- export interface ThemeBackgroundColors extends ThemeColorsBase {
25
- highlight: string;
26
- }
27
- export interface ThemeBorder extends Record<string, string> {
28
- color: string;
29
- radius: string;
30
- radiusSmall: string;
31
- width: string;
32
- widthApp: string;
33
- }
34
- export interface ThemeBoxShadow extends Record<string, string> {
35
- appBig: string;
36
- appSmall: string;
37
- inset: string;
38
- outer: string;
39
- }
40
- export interface ThemeBreakpoints extends Record<string, string> {
41
- laptop: string;
42
- mobile: string;
43
- narrow: string;
44
- tablet: string;
45
- }
46
- export interface ThemeColors extends ThemeColorsBase {
47
- title: string;
48
- }
49
- export interface ThemeButtonColor extends Record<string, string> {
50
- color: string;
51
- bgColor: string;
52
- borderColor: string;
53
- }
54
- export interface ThemeButtonLargeColor extends ThemeButtonColor {
55
- iconColor: string;
56
- subtitleColor: string;
57
- }
58
- export interface ThemeButtonColors extends Record<string, ThemeButtonColor | ThemeButtonLargeColor> {
59
- cart: ThemeButtonColor;
60
- cartHover: ThemeButtonColor;
61
- header: ThemeButtonColor;
62
- headerHover: ThemeButtonColor;
63
- large: ThemeButtonLargeColor;
64
- largeHover: ThemeButtonLargeColor;
65
- light: ThemeButtonColor;
66
- lightHover: ThemeButtonColor;
67
- primary: ThemeButtonColor;
68
- primaryHover: ThemeButtonColor;
69
- secondary: ThemeButtonColor;
70
- secondaryHover: ThemeButtonColor;
71
- }
72
- export interface ThemeButtonSize extends Record<string, string | boolean> {
73
- borderRadius: string;
74
- borderWidth: string;
75
- borderWidthApp: string;
76
- family: string;
77
- fontMobile: string;
78
- fontSize: string;
79
- fontSmoothing: ThemeFontSmoothing;
80
- fontStyle: string;
81
- letterSpacing: string;
82
- padding: string;
83
- textTransform: ThemeTextTransform;
84
- weight: string;
85
- }
86
- export interface ThemeButtonLargeSize extends ThemeButtonSize {
87
- minHeight: string;
88
- minHeightMobile: string;
89
- showButtonApp: boolean;
90
- showIcons: boolean;
91
- showIconsMobile: boolean;
92
- showSubtitle: boolean;
93
- showSubtitleMobile: boolean;
94
- subtitleFontMobile: string;
95
- subtitleFontSize: string;
96
- subtitleFontSizeMobile: string;
97
- subtitleFontWeight: string;
98
- subtitleMarginTop: string;
99
- subtitleMarginTopMobile: string;
100
- titleFontMobile: string;
101
- titleFontSize: string;
102
- titleFontSizeMobile: string;
103
- titleFontWeight: string;
104
- titleMarginLeft: string;
105
- titleMarginLeftMobile: string;
106
- titleMarginTop: string;
107
- titleMarginTopMobile: string;
108
- }
109
- export interface ThemeButtonSizes extends Record<string, ThemeButtonSize | ThemeButtonLargeSize> {
110
- big: ThemeButtonSize;
111
- default: ThemeButtonSize;
112
- header: ThemeButtonSize;
113
- large: ThemeButtonLargeSize;
114
- small: ThemeButtonSize;
115
- }
116
- export interface ThemeButtons extends Record<string, ThemeButtonColors | ThemeButtonSizes> {
117
- colors: ThemeButtonColors;
118
- sizes: ThemeButtonSizes;
119
- }
120
- export interface ThemeCard extends Record<string, string | boolean | number> {
121
- bgColor: string;
122
- borderColor: string;
123
- borderRadius: string;
124
- borderWidth: string;
125
- borderWidthApp: string;
126
- boxShadow: string;
127
- displayAsCard: boolean;
128
- overrideFontColors: boolean;
129
- padding: string;
130
- paddingApp: string;
131
- textColor: string;
132
- textSize: string;
133
- textSizeMobile: string;
134
- titleColor: string;
135
- titleSize: string;
136
- titleSizeMobile: string;
137
- }
138
- export interface ThemeCardItem extends ThemeCard {
139
- caloriesColor: string;
140
- caloriesSize: string;
141
- caloriesSizeMobile: string;
142
- imageAsImg: boolean;
143
- imageAspectRatio: number;
144
- imageBgSize: ThemeBackgroundSize;
145
- priceColor: string;
146
- priceSize: string;
147
- priceSizeMobile: string;
148
- }
149
- export interface ThemeCards extends Record<string, ThemeCard | ThemeCardItem> {
150
- default: ThemeCard;
151
- form: ThemeCard;
152
- menuItem: ThemeCardItem;
153
- modifier: ThemeCardItem;
154
- }
155
- export declare type ThemeCategoryDisplayType = 'LIST' | 'CARDS' | 'SQUARES';
156
- export declare type ThemeCategoryLineType = 'none' | 'underline' | 'overline';
157
- export interface ThemeCategory extends Record<string, string | number | boolean> {
158
- backgroundColor: string;
159
- backgroundColorHover: string;
160
- borderRadius: string;
161
- boxShadow: string;
162
- containerMaxWidth: string;
163
- displayType: ThemeCategoryDisplayType;
164
- gap: string;
165
- gapDouble: string;
166
- gapHalf: string;
167
- imageBgSize: ThemeBackgroundSize;
168
- imageBorderRadius: string;
169
- imagePadding: string;
170
- imageRatio: number;
171
- imageScale: number;
172
- imageScaleHover: number;
173
- justifyContent: ThemeJustifyContent;
174
- lineHeight: string;
175
- lineMargin: string;
176
- lineType: ThemeCategoryLineType;
177
- lineWidth: string;
178
- maxWidth: string;
179
- minWidth: string;
180
- overlayColor: string;
181
- overlayOpacity: number;
182
- overlayOpacityHover: number;
183
- paddingBottom: string;
184
- paddingHorizontal: string;
185
- paddingTop: string;
186
- perRow: number;
187
- showDescription: boolean;
188
- subtitleColor: string;
189
- subtitleColorHover: string;
190
- subtitleSize: string;
191
- textAlign: ThemeJustifyContent;
192
- textAlignVertical: ThemeJustifyContent;
193
- textAlignment: ThemeTextAlignment;
194
- titleColor: string;
195
- titleColorHover: string;
196
- titleSize: string;
197
- transition: string;
198
- width: string;
199
- }
200
- export interface ThemeCategories extends Record<string, ThemeCategory> {
201
- desktop: ThemeCategory;
202
- mobile: ThemeCategory;
203
- }
204
- export interface ThemeCount extends Record<string, string | boolean> {
205
- bgColor: string;
206
- borderColor: string;
207
- borderWidth: string;
208
- borderWidthApp: string;
209
- color: string;
210
- family: string;
211
- fontMobile: string;
212
- fontSize: string;
213
- fontSizeMobile: string;
214
- fontSmoothing: ThemeFontSmoothing;
215
- fontStyle: string;
216
- hide: boolean;
217
- paddingBottom: string;
218
- paddingTop: string;
219
- weight: string;
220
- }
221
- export interface ThemeCounts extends Record<string, ThemeCount> {
222
- alerts: ThemeCount;
223
- quantity: ThemeCount;
224
- }
225
- export interface ThemeFavorite extends Record<string, string> {
226
- iconSize: string;
227
- size: string;
228
- }
229
- export declare type ThemeFontSize = 'big' | 'giga' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'main' | 'mega' | 'small' | 'tera' | 'xBig' | 'xSmall' | 'xxBig' | 'xxSmall';
230
- export declare type ThemeFontSizes = Record<string, string> & {
231
- [keys in ThemeFontSize]: string;
232
- };
233
- export interface ThemeFont extends Record<string, string | ThemeFontSizes | undefined | number> {
234
- color: string;
235
- family: string;
236
- fontSize?: string;
237
- fontMobile: string;
238
- fontSmoothing: ThemeFontSmoothing;
239
- fontStyle: string;
240
- letterSpacing: string;
241
- lineHeight: number;
242
- lineHeights?: ThemeFontSizes;
243
- textTransform: ThemeTextTransform;
244
- url?: string;
245
- weight: string;
246
- }
247
- export interface ThemeFonts extends Record<string, ThemeFont | ThemeFontSizes | undefined> {
248
- body: ThemeFont;
249
- headings: ThemeFont;
250
- headline: ThemeFont;
251
- lineHeights?: ThemeFontSizes;
252
- preface: ThemeFont;
253
- sizes: ThemeFontSizes;
254
- sizesMobile: ThemeFontSizes;
255
- }
256
- export interface ThemeHeader extends Record<string, string> {
257
- primary: string;
258
- primaryBorder: string;
259
- stuck: string;
260
- stuckBorder: string;
261
- }
262
- export interface ThemeIcons extends Record<string, number> {
263
- strokeWidth: number;
264
- }
265
- export interface ThemeInputsLabel extends Record<string, string> {
266
- fontSize: string;
267
- fontSizeMobile: string;
268
- left: string;
269
- lineHeight: string;
270
- offset: string;
271
- padding: string;
272
- top: string;
273
- }
274
- export interface ThemeInputs extends Record<string, string | boolean | ThemeInputsLabel> {
275
- bgColor: string;
276
- bgColorFocus: string;
277
- borderColor: string;
278
- borderColorFocus: string;
279
- borderStyle: string;
280
- borderWidth: string;
281
- borderWidthApp: string;
282
- bottomBorderOnly: boolean;
283
- boxShadow: string;
284
- color: string;
285
- colorFocus: string;
286
- family: string;
287
- fontMobile: string;
288
- fontSize: string;
289
- fontSizeMobile: string;
290
- fontSmoothing: ThemeFontSmoothing;
291
- iconLeft: string;
292
- iconPadding: string;
293
- label: ThemeInputsLabel;
294
- letterSpacing: string;
295
- lineHeight: string;
296
- padding: string;
297
- paddingBottom: string;
298
- paddingBottomActive: string;
299
- paddingHorizontal: string;
300
- paddingTop: string;
301
- paddingTopActive: string;
302
- paddingVertical: string;
303
- placeholderColor: string;
304
- radius: string;
305
- selectPaddingBottom: string;
306
- selectSize: string;
307
- selectSizeMobile: string;
308
- showIcon: boolean;
309
- showLabel: boolean;
310
- showOutline: boolean;
311
- textTransform: ThemeTextTransform;
312
- weight: string;
313
- }
314
- export declare type ThemeItemSizeType = 'BUTTONS' | 'ACCORDION';
315
- export interface ThemeItemStyles extends Record<string, string | number | boolean> {
316
- imageAsImg: number;
317
- imageAspectRatio: number;
318
- imageBgSize: ThemeBackgroundSize;
319
- imageHeight: string;
320
- imageMargin: string;
321
- imageMaxHeight: string;
322
- imageMinHeight: string;
323
- imagePadding: string;
324
- imagePaddingAll: string;
325
- maxWidth: string;
326
- padding: string;
327
- showSizeModImages: boolean;
328
- sizeType: ThemeItemSizeType;
329
- }
330
- export interface ThemeItem extends Record<string, ThemeItemStyles> {
331
- desktop: ThemeItemStyles;
332
- mobile: ThemeItemStyles;
333
- }
334
- export interface ThemeItemsStyles extends Record<string, string | number> {
335
- containerMaxWidth: string;
336
- gap: string;
337
- gapDouble: string;
338
- gapHalf: string;
339
- justifyContent: string;
340
- marginBottom: string;
341
- minWidth: string;
342
- perRow: number;
343
- width: string;
344
- }
345
- export interface ThemeItems extends Record<string, ThemeItemsStyles> {
346
- desktop: ThemeItemsStyles;
347
- mobile: ThemeItemsStyles;
348
- }
349
- export interface ThemeLayout extends Record<string, string> {
350
- containerMaxWidth: string;
351
- headerHeightApp: string;
352
- headerHeightSite: string;
353
- headerHeightSiteMobile: string;
354
- margin: string;
355
- marginMobile: string;
356
- maxWidth: string;
357
- menuHeroHeight: string;
358
- menuHeroHeightMobile: string;
359
- navHeight: string;
360
- navHeightApp: string;
361
- navHeightMobile: string;
362
- padding: string;
363
- paddingMobile: string;
364
- }
365
- export interface ThemeLink extends Record<string, string> {
366
- color: string;
367
- hover: string;
368
- }
369
- export declare type ThemeLinkType = 'customize' | 'dark' | 'light' | 'primary';
370
- export interface ThemeLinks extends Record<string, string | ThemeLink> {
371
- customize: ThemeLink;
372
- dark: ThemeLink;
373
- light: ThemeLink;
374
- primary: ThemeLink;
375
- textDecoration: string;
376
- transition: string;
377
- }
378
- export interface ThemeLogo extends Record<string, string> {
379
- marginTop: string;
380
- marginTopMobile: string;
381
- width: string;
382
- widthMobile: string;
383
- }
384
- export interface ThemeMenuItemsContainer extends Record<string, string | number> {
385
- maxWidth: string;
386
- gap: string;
387
- gapHalf: string;
388
- gapHalfMobile: string;
389
- gapMobile: string;
390
- justifyContent: ThemeJustifyContent;
391
- margin: string;
392
- marginMobile: string;
393
- padding: string;
394
- paddingMobile: string;
395
- perRow: number;
396
- perRowMobile: number;
397
- }
398
- export interface ThemeMenuItemsBox extends Record<string, string | number> {
399
- bgColor: string;
400
- bgColorHover: string;
401
- border: string;
402
- borderColor: string;
403
- borderColorHover: string;
404
- borderMobile: string;
405
- borderRadius: string;
406
- borderRadiusMobile: string;
407
- boxShadow: string;
408
- boxShadowHover: string;
409
- margin: string;
410
- marginMobile: string;
411
- minWidth: string;
412
- minWidthMobile: string;
413
- padding: string;
414
- paddingMobile: string;
415
- width: string;
416
- widthMobile: string;
417
- }
418
- export declare type ThemeImagePosition = 'TOP' | 'BOTTOM' | 'LEFT' | 'RIGHT' | 'HIDDEN';
419
- export interface ThemeMenuItemsImage extends Record<string, string | number | boolean> {
420
- asImg: boolean;
421
- aspectRatio: number;
422
- bgColor: string;
423
- bgSize: ThemeBackgroundSize;
424
- border: string;
425
- borderColor: string;
426
- borderMobile: string;
427
- borderRadius: string;
428
- borderRadiusMobile: string;
429
- boxShadow: string;
430
- margin: string;
431
- marginMobile: string;
432
- minWidth: string;
433
- minWidthMobile: string;
434
- padding: string;
435
- paddingMobile: string;
436
- position: ThemeImagePosition;
437
- }
438
- export declare type ThemeMenuItemsContentDescription = 'SHOW' | 'HIDE' | 'SHORT';
439
- export declare type ThemeMenuItemsContentLayout = 'PRICE_RIGHT' | 'PRICE_BELOW' | 'PRICE_LAST';
440
- export interface ThemeMenuItemsContent extends Record<string, string> {
441
- description: ThemeMenuItemsContentDescription;
442
- descriptionMobile: ThemeMenuItemsContentDescription;
443
- layout: ThemeMenuItemsContentLayout;
444
- layoutMobile: ThemeMenuItemsContentLayout;
445
- padding: string;
446
- paddingMobile: string;
447
- }
448
- export declare type ThemeMenuItemsButtonsDisplay = 'SHOW' | 'HIDE' | 'MINIMAL';
449
- export declare type ThemeMenuItemsButtonsColor = 'primary' | 'secondary' | 'cart' | 'light';
450
- export interface ThemeMenuItemsButtons extends Record<string, string> {
451
- color: ThemeMenuItemsButtonsColor;
452
- display: ThemeMenuItemsButtonsDisplay;
453
- displayMobile: ThemeMenuItemsButtonsDisplay;
454
- flexDirection: ThemeFlexDirection;
455
- gap: string;
456
- gapMobile: string;
457
- justifyContent: ThemeJustifyContent;
458
- padding: string;
459
- paddingMobile: string;
460
- }
461
- export interface ThemeMenuItemsText extends Record<string, string | undefined> {
462
- color: string;
463
- colorHover: string;
464
- fontSize: string;
465
- fontSizeMobile: string;
466
- lineHeight?: string;
467
- padding: string;
468
- paddingMobile: string;
469
- }
470
- export interface ThemeMenuItemsTags extends Record<string, string | undefined> {
471
- displayType: 'IMAGE' | 'TEXT' | 'BOTH' | 'HIDDEN';
472
- color: string;
473
- colorHover: string;
474
- fontSize: string;
475
- fontSizeMobile: string;
476
- gap: string;
477
- gapMobile: string;
478
- letterSpacing: string;
479
- lineHeight?: string;
480
- prefix: string;
481
- textTransform: ThemeTextTransform;
482
- width: string;
483
- widthMobile: string;
484
- }
485
- export interface ThemeMenuItemsTagsAllergens extends Record<string, string> {
486
- justifyContent: ThemeJustifyContent;
487
- gap: string;
488
- gapMobile: string;
489
- flexDirection: ThemeFlexDirection;
490
- padding: string;
491
- paddingMobile: string;
492
- }
493
- export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsContainer | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent | ThemeMenuItemsButtons | ThemeMenuItemsTags | ThemeMenuItemsTagsAllergens> {
494
- allergens: ThemeMenuItemsTags;
495
- box: ThemeMenuItemsBox;
496
- buttons: ThemeMenuItemsButtons;
497
- calories: ThemeMenuItemsText;
498
- container: ThemeMenuItemsContainer;
499
- content: ThemeMenuItemsContent;
500
- image: ThemeMenuItemsImage;
501
- price: ThemeMenuItemsText;
502
- tags: ThemeMenuItemsTags;
503
- tagsAllergens: ThemeMenuItemsTagsAllergens;
504
- text: ThemeMenuItemsText;
505
- title: ThemeMenuItemsText;
506
- }
507
- export interface ThemeTagsContainer extends Record<string, string | number> {
508
- bgColor: string;
509
- bgColorStuck: string;
510
- displayType: 'IMAGE' | 'TEXT' | 'BOTH';
511
- gap: string;
512
- gapHalf: string;
513
- gapMobile: string;
514
- gapMobileHalf: string;
515
- justifyContent: ThemeJustifyContent;
516
- margin: string;
517
- marginMobile: string;
518
- maxWidth: string;
519
- padding: string;
520
- paddingMobile: string;
521
- }
522
- export interface ThemeTagsBox extends Record<string, string | number> {
523
- bgColor: string;
524
- bgColorHover: string;
525
- border: string;
526
- borderColor: string;
527
- borderColorHover: string;
528
- borderMobile: string;
529
- borderRadius: string;
530
- borderRadiusMobile: string;
531
- boxShadow: string;
532
- boxShadowHover: string;
533
- margin: string;
534
- marginMobile: string;
535
- minWidth: string;
536
- minWidthMobile: string;
537
- padding: string;
538
- paddingMobile: string;
539
- transition: string;
540
- width: string;
541
- widthMobile: string;
542
- }
543
- export interface ThemeTagsImage extends Record<string, string | number | boolean> {
544
- asImg: boolean;
545
- aspectRatio: number;
546
- bgColor: string;
547
- bgSize: ThemeBackgroundSize;
548
- border: string;
549
- borderColor: string;
550
- borderMobile: string;
551
- borderRadius: string;
552
- borderRadiusMobile: string;
553
- boxShadow: string;
554
- margin: string;
555
- marginMobile: string;
556
- minWidth: string;
557
- minWidthMobile: string;
558
- padding: string;
559
- paddingMobile: string;
560
- position: ThemeImagePosition;
561
- }
562
- export interface ThemeTagsText extends Record<string, string> {
563
- color: string;
564
- colorHover: string;
565
- fontSize: string;
566
- fontSizeMobile: string;
567
- }
568
- export interface ThemeTags extends Record<string, ThemeTagsBox | ThemeTagsContainer | ThemeTagsImage | ThemeTagsText> {
569
- box: ThemeTagsBox;
570
- container: ThemeTagsContainer;
571
- image: ThemeTagsImage;
572
- text: ThemeTagsText;
573
- }
574
- export interface ThemeModifiersText extends Record<string, string> {
575
- color: string;
576
- fontSize: string;
577
- hoverColor: string;
578
- selectedColor: string;
579
- }
580
- export interface ThemeModifiersColors extends Record<string, string> {
581
- bgColor: string;
582
- borderColor: string;
583
- }
584
- export declare type ThemeModifiersBoxType = 'DEFAULT' | 'CARDS' | 'SQUARES' | 'SIMPLE';
585
- export interface ThemeModifiersBox extends Record<string, string | number> {
586
- border: string;
587
- borderMobile: string;
588
- borderRadius: string;
589
- boxShadow: string;
590
- gap: string;
591
- gapHalf: string;
592
- layout: ThemeModifiersBoxType;
593
- margin: string;
594
- marginMobile: string;
595
- minHeight: string;
596
- minHeightWithGap: string;
597
- minWidth: string;
598
- padding: string;
599
- paddingMobile: string;
600
- perRow: number;
601
- transition: string;
602
- width: string;
603
- }
604
- export interface ThemeModifiersImage extends Record<string, string | boolean> {
605
- asImg: boolean;
606
- bgColor: string;
607
- bgSize: ThemeBackgroundSize;
608
- border: string;
609
- borderColor: string;
610
- borderRadius: string;
611
- boxShadow: string;
612
- height: string;
613
- margin: string;
614
- padding: string;
615
- width: string;
616
- }
617
- export interface ThemeModifiersContent extends Record<string, string> {
618
- padding: string;
619
- }
620
- export interface ThemeModifiers extends Record<string, ThemeModifiersText | ThemeModifiersColors | ThemeModifiersBox | ThemeModifiersImage | ThemeModifiersContent> {
621
- box: ThemeModifiersBox;
622
- calories: ThemeModifiersText;
623
- colors: ThemeModifiersColors;
624
- content: ThemeModifiersContent;
625
- hoverColors: ThemeModifiersColors;
626
- image: ThemeModifiersImage;
627
- price: ThemeModifiersText;
628
- selectedColors: ThemeModifiersColors;
629
- text: ThemeModifiersText;
630
- title: ThemeModifiersText;
631
- }
632
- export interface ThemeBottomTabsBox {
633
- bgColor: string;
634
- borderColor: string;
635
- borderRadius: string;
636
- borderWidth: string;
637
- boxShadow: string;
638
- gap: string;
639
- justifyContent: ThemeJustifyContent;
640
- padding: string;
641
- }
642
- export interface ThemeBottomTabsButtons {
643
- color: string;
644
- family: string;
645
- fontMobile: string;
646
- fontSize: string;
647
- fontSmoothing: ThemeFontSmoothing;
648
- fontStyle: string;
649
- letterSpacing: string;
650
- lineHeight: string;
651
- lineHeights?: ThemeFontSizes;
652
- padding: string;
653
- textTransform: ThemeTextTransform;
654
- weight: string;
655
- }
656
- export interface ThemeBottomTabsIcons {
657
- color: string;
658
- display: boolean;
659
- padding: string;
660
- position: ThemeImagePosition;
661
- size: number;
662
- strokeWidth: number;
663
- }
664
- export interface ThemeBottomTabs extends Record<string, ThemeBottomTabsBox | ThemeBottomTabsButtons | ThemeBottomTabsIcons> {
665
- box: ThemeBottomTabsBox;
666
- buttons: ThemeBottomTabsButtons;
667
- icons: ThemeBottomTabsIcons;
668
- }
669
- export interface ThemeOverlay extends Record<string, string> {
670
- alert: string;
671
- dark: string;
672
- light: string;
673
- primary: string;
674
- secondary: string;
675
- tertiary: string;
676
- }
677
- export interface ThemeWelcomeStyles extends Record<string, string | boolean | number> {
678
- buttonPaddingLeft: string;
679
- buttonPaddingRight: string;
680
- marginBottom: string;
681
- marginTop: string;
682
- showIcons: boolean;
683
- subtitleLineHeight: number;
684
- subtitleMarginTop: string;
685
- subtitleSize: string;
686
- textAlign: ThemeTextAlignment;
687
- titleLineHeight: number;
688
- titleMarginLeft: string;
689
- titleSize: string;
690
- }
691
- export interface ThemeWelcome extends Record<string, ThemeWelcomeStyles> {
692
- desktop: ThemeWelcomeStyles;
693
- mobile: ThemeWelcomeStyles;
694
- }
695
- export interface Theme {
696
- alert: ThemeAlert;
697
- bgColors: ThemeBackgroundColors;
698
- boldWeight: string;
699
- border: ThemeBorder;
700
- bottomTabs: ThemeBottomTabs;
701
- boxShadow: ThemeBoxShadow;
702
- breakpoints: ThemeBreakpoints;
703
- buttons: ThemeButtons;
704
- cards: ThemeCards;
705
- categories: ThemeCategories;
706
- colors: ThemeColors;
707
- counts: ThemeCounts;
708
- error: ThemeAlert;
709
- favorite: ThemeFavorite;
710
- fonts: ThemeFonts;
711
- header: ThemeHeader;
712
- icons: ThemeIcons;
713
- inputs: ThemeInputs;
714
- item: ThemeItem;
715
- items: ThemeItems;
716
- layout: ThemeLayout;
717
- lineHeight: string;
718
- links: ThemeLinks;
719
- logo: ThemeLogo;
720
- logoFooter: ThemeLogo;
721
- tags: ThemeTags;
722
- menuItems: ThemeMenuItems;
723
- modifiers: ThemeModifiers;
724
- overlay: ThemeOverlay;
725
- success: ThemeAlert;
726
- toast: ThemeAlert;
727
- welcome: ThemeWelcome;
728
- }
729
- export interface ThemeWelcomeStylesApp extends Omit<ThemeWelcomeStyles, 'titleLineHeight' | 'subtitleLineHeight'> {
730
- titleLineHeight: string;
731
- subtitleLineHeight: string;
732
- }
733
- export interface AppTheme extends Omit<Theme, 'welcome' | 'item' | 'categories'> {
734
- welcome: ThemeWelcomeStylesApp;
735
- item: ThemeItemStyles;
736
- categories: ThemeCategory;
737
- }
1
+ export declare type ThemeFlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
2
+ export declare type ThemeJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
3
+ export declare type ThemeFontSmoothing = 'none' | 'auto' | 'antialiased' | 'subpixel-antialiased';
4
+ export declare type ThemeTextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
5
+ export declare type ThemeTextAlignment = 'left' | 'right' | 'center' | 'justify';
6
+ export declare type ThemeBackgroundSize = 'cover' | 'contain' | '100% auto' | 'auto 100%';
7
+ export declare type ThemeAlertType = 'alert' | 'error' | 'success' | 'toast';
8
+ export interface ThemeAlert extends Record<string, string> {
9
+ bgColor: string;
10
+ color: string;
11
+ }
12
+ export interface ThemeColorsBase extends Record<string, string> {
13
+ alert: string;
14
+ allergens: string;
15
+ dark: string;
16
+ error: string;
17
+ light: string;
18
+ primary: string;
19
+ secondary: string;
20
+ success: string;
21
+ tertiary: string;
22
+ toast: string;
23
+ }
24
+ export interface ThemeBackgroundColors extends ThemeColorsBase {
25
+ highlight: string;
26
+ }
27
+ export interface ThemeBorder extends Record<string, string> {
28
+ color: string;
29
+ radius: string;
30
+ radiusSmall: string;
31
+ width: string;
32
+ widthApp: string;
33
+ }
34
+ export interface ThemeBoxShadow extends Record<string, string> {
35
+ appBig: string;
36
+ appSmall: string;
37
+ inset: string;
38
+ outer: string;
39
+ }
40
+ export interface ThemeBreakpoints extends Record<string, string> {
41
+ laptop: string;
42
+ mobile: string;
43
+ narrow: string;
44
+ tablet: string;
45
+ }
46
+ export interface ThemeColors extends ThemeColorsBase {
47
+ title: string;
48
+ }
49
+ export interface ThemeButtonColor extends Record<string, string> {
50
+ color: string;
51
+ bgColor: string;
52
+ borderColor: string;
53
+ }
54
+ export interface ThemeButtonLargeColor extends ThemeButtonColor {
55
+ iconColor: string;
56
+ subtitleColor: string;
57
+ }
58
+ export interface ThemeButtonColors extends Record<string, ThemeButtonColor | ThemeButtonLargeColor> {
59
+ cart: ThemeButtonColor;
60
+ cartHover: ThemeButtonColor;
61
+ header: ThemeButtonColor;
62
+ headerHover: ThemeButtonColor;
63
+ large: ThemeButtonLargeColor;
64
+ largeHover: ThemeButtonLargeColor;
65
+ light: ThemeButtonColor;
66
+ lightHover: ThemeButtonColor;
67
+ primary: ThemeButtonColor;
68
+ primaryHover: ThemeButtonColor;
69
+ secondary: ThemeButtonColor;
70
+ secondaryHover: ThemeButtonColor;
71
+ }
72
+ export interface ThemeButtonSize extends Record<string, string | boolean> {
73
+ borderRadius: string;
74
+ borderWidth: string;
75
+ borderWidthApp: string;
76
+ family: string;
77
+ fontMobile: string;
78
+ fontSize: string;
79
+ fontSmoothing: ThemeFontSmoothing;
80
+ fontStyle: string;
81
+ letterSpacing: string;
82
+ padding: string;
83
+ textTransform: ThemeTextTransform;
84
+ weight: string;
85
+ }
86
+ export interface ThemeButtonLargeSize extends ThemeButtonSize {
87
+ minHeight: string;
88
+ minHeightMobile: string;
89
+ showButtonApp: boolean;
90
+ showIcons: boolean;
91
+ showIconsMobile: boolean;
92
+ showSubtitle: boolean;
93
+ showSubtitleMobile: boolean;
94
+ subtitleFontMobile: string;
95
+ subtitleFontSize: string;
96
+ subtitleFontSizeMobile: string;
97
+ subtitleFontWeight: string;
98
+ subtitleMarginTop: string;
99
+ subtitleMarginTopMobile: string;
100
+ titleFontMobile: string;
101
+ titleFontSize: string;
102
+ titleFontSizeMobile: string;
103
+ titleFontWeight: string;
104
+ titleMarginLeft: string;
105
+ titleMarginLeftMobile: string;
106
+ titleMarginTop: string;
107
+ titleMarginTopMobile: string;
108
+ }
109
+ export interface ThemeButtonSizes extends Record<string, ThemeButtonSize | ThemeButtonLargeSize> {
110
+ big: ThemeButtonSize;
111
+ default: ThemeButtonSize;
112
+ header: ThemeButtonSize;
113
+ large: ThemeButtonLargeSize;
114
+ small: ThemeButtonSize;
115
+ }
116
+ export interface ThemeButtons extends Record<string, ThemeButtonColors | ThemeButtonSizes> {
117
+ colors: ThemeButtonColors;
118
+ sizes: ThemeButtonSizes;
119
+ }
120
+ export interface ThemeCard extends Record<string, string | boolean | number> {
121
+ bgColor: string;
122
+ borderColor: string;
123
+ borderRadius: string;
124
+ borderWidth: string;
125
+ borderWidthApp: string;
126
+ boxShadow: string;
127
+ displayAsCard: boolean;
128
+ overrideFontColors: boolean;
129
+ padding: string;
130
+ paddingApp: string;
131
+ textColor: string;
132
+ textSize: string;
133
+ textSizeMobile: string;
134
+ titleColor: string;
135
+ titleSize: string;
136
+ titleSizeMobile: string;
137
+ }
138
+ export interface ThemeCardItem extends ThemeCard {
139
+ caloriesColor: string;
140
+ caloriesSize: string;
141
+ caloriesSizeMobile: string;
142
+ imageAsImg: boolean;
143
+ imageAspectRatio: number;
144
+ imageBgSize: ThemeBackgroundSize;
145
+ priceColor: string;
146
+ priceSize: string;
147
+ priceSizeMobile: string;
148
+ }
149
+ export interface ThemeCards extends Record<string, ThemeCard | ThemeCardItem> {
150
+ default: ThemeCard;
151
+ form: ThemeCard;
152
+ menuItem: ThemeCardItem;
153
+ modifier: ThemeCardItem;
154
+ }
155
+ export declare type ThemeCategoryDisplayType = 'LIST' | 'CARDS' | 'SQUARES';
156
+ export declare type ThemeCategoryLineType = 'none' | 'underline' | 'overline';
157
+ export interface ThemeCategory extends Record<string, string | number | boolean> {
158
+ backgroundColor: string;
159
+ backgroundColorHover: string;
160
+ borderRadius: string;
161
+ boxShadow: string;
162
+ containerMaxWidth: string;
163
+ displayType: ThemeCategoryDisplayType;
164
+ gap: string;
165
+ gapDouble: string;
166
+ gapHalf: string;
167
+ imageBgSize: ThemeBackgroundSize;
168
+ imageBorderRadius: string;
169
+ imagePadding: string;
170
+ imageRatio: number;
171
+ imageScale: number;
172
+ imageScaleHover: number;
173
+ justifyContent: ThemeJustifyContent;
174
+ lineHeight: string;
175
+ lineMargin: string;
176
+ lineType: ThemeCategoryLineType;
177
+ lineWidth: string;
178
+ maxWidth: string;
179
+ minWidth: string;
180
+ overlayColor: string;
181
+ overlayOpacity: number;
182
+ overlayOpacityHover: number;
183
+ paddingBottom: string;
184
+ paddingHorizontal: string;
185
+ paddingTop: string;
186
+ perRow: number;
187
+ showDescription: boolean;
188
+ subtitleColor: string;
189
+ subtitleColorHover: string;
190
+ subtitleSize: string;
191
+ textAlign: ThemeJustifyContent;
192
+ textAlignVertical: ThemeJustifyContent;
193
+ textAlignment: ThemeTextAlignment;
194
+ titleColor: string;
195
+ titleColorHover: string;
196
+ titleSize: string;
197
+ transition: string;
198
+ width: string;
199
+ }
200
+ export interface ThemeCategories extends Record<string, ThemeCategory> {
201
+ desktop: ThemeCategory;
202
+ mobile: ThemeCategory;
203
+ }
204
+ export interface ThemeCount extends Record<string, string | boolean> {
205
+ bgColor: string;
206
+ borderColor: string;
207
+ borderWidth: string;
208
+ borderWidthApp: string;
209
+ color: string;
210
+ family: string;
211
+ fontMobile: string;
212
+ fontSize: string;
213
+ fontSizeMobile: string;
214
+ fontSmoothing: ThemeFontSmoothing;
215
+ fontStyle: string;
216
+ hide: boolean;
217
+ paddingBottom: string;
218
+ paddingTop: string;
219
+ weight: string;
220
+ }
221
+ export interface ThemeCounts extends Record<string, ThemeCount> {
222
+ alerts: ThemeCount;
223
+ quantity: ThemeCount;
224
+ }
225
+ export interface ThemeFavorite extends Record<string, string> {
226
+ iconSize: string;
227
+ size: string;
228
+ }
229
+ export declare type ThemeFontSize = 'big' | 'giga' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'main' | 'mega' | 'small' | 'tera' | 'xBig' | 'xSmall' | 'xxBig' | 'xxSmall';
230
+ export declare type ThemeFontSizes = Record<string, string> & {
231
+ [keys in ThemeFontSize]: string;
232
+ };
233
+ export interface ThemeFont extends Record<string, string | ThemeFontSizes | undefined | number> {
234
+ color: string;
235
+ family: string;
236
+ fontSize?: string;
237
+ fontMobile: string;
238
+ fontSmoothing: ThemeFontSmoothing;
239
+ fontStyle: string;
240
+ letterSpacing: string;
241
+ lineHeight: number;
242
+ lineHeights?: ThemeFontSizes;
243
+ textTransform: ThemeTextTransform;
244
+ url?: string;
245
+ weight: string;
246
+ }
247
+ export interface ThemeFonts extends Record<string, ThemeFont | ThemeFontSizes | undefined> {
248
+ body: ThemeFont;
249
+ headings: ThemeFont;
250
+ headline: ThemeFont;
251
+ lineHeights?: ThemeFontSizes;
252
+ preface: ThemeFont;
253
+ sizes: ThemeFontSizes;
254
+ sizesMobile: ThemeFontSizes;
255
+ }
256
+ export interface ThemeHeader extends Record<string, string> {
257
+ primary: string;
258
+ primaryBorder: string;
259
+ stuck: string;
260
+ stuckBorder: string;
261
+ }
262
+ export interface ThemeIcons extends Record<string, number> {
263
+ strokeWidth: number;
264
+ }
265
+ export interface ThemeInputsLabel extends Record<string, string> {
266
+ fontSize: string;
267
+ fontSizeMobile: string;
268
+ left: string;
269
+ lineHeight: string;
270
+ offset: string;
271
+ padding: string;
272
+ top: string;
273
+ }
274
+ export interface ThemeInputs extends Record<string, string | boolean | ThemeInputsLabel> {
275
+ bgColor: string;
276
+ bgColorFocus: string;
277
+ borderColor: string;
278
+ borderColorFocus: string;
279
+ borderStyle: string;
280
+ borderWidth: string;
281
+ borderWidthApp: string;
282
+ bottomBorderOnly: boolean;
283
+ boxShadow: string;
284
+ color: string;
285
+ colorFocus: string;
286
+ family: string;
287
+ fontMobile: string;
288
+ fontSize: string;
289
+ fontSizeMobile: string;
290
+ fontSmoothing: ThemeFontSmoothing;
291
+ iconLeft: string;
292
+ iconPadding: string;
293
+ label: ThemeInputsLabel;
294
+ letterSpacing: string;
295
+ lineHeight: string;
296
+ padding: string;
297
+ paddingBottom: string;
298
+ paddingBottomActive: string;
299
+ paddingHorizontal: string;
300
+ paddingTop: string;
301
+ paddingTopActive: string;
302
+ paddingVertical: string;
303
+ placeholderColor: string;
304
+ radius: string;
305
+ selectPaddingBottom: string;
306
+ selectSize: string;
307
+ selectSizeMobile: string;
308
+ showIcon: boolean;
309
+ showLabel: boolean;
310
+ showOutline: boolean;
311
+ textTransform: ThemeTextTransform;
312
+ weight: string;
313
+ }
314
+ export declare type ThemeItemSizeType = 'BUTTONS' | 'ACCORDION';
315
+ export interface ThemeItemStyles extends Record<string, string | number | boolean> {
316
+ imageAsImg: number;
317
+ imageAspectRatio: number;
318
+ imageBgSize: ThemeBackgroundSize;
319
+ imageHeight: string;
320
+ imageMargin: string;
321
+ imageMaxHeight: string;
322
+ imageMinHeight: string;
323
+ imagePadding: string;
324
+ imagePaddingAll: string;
325
+ maxWidth: string;
326
+ padding: string;
327
+ showSizeModImages: boolean;
328
+ sizeType: ThemeItemSizeType;
329
+ }
330
+ export interface ThemeItem extends Record<string, ThemeItemStyles> {
331
+ desktop: ThemeItemStyles;
332
+ mobile: ThemeItemStyles;
333
+ }
334
+ export interface ThemeItemsStyles extends Record<string, string | number> {
335
+ containerMaxWidth: string;
336
+ gap: string;
337
+ gapDouble: string;
338
+ gapHalf: string;
339
+ justifyContent: string;
340
+ marginBottom: string;
341
+ minWidth: string;
342
+ perRow: number;
343
+ width: string;
344
+ }
345
+ export interface ThemeItems extends Record<string, ThemeItemsStyles> {
346
+ desktop: ThemeItemsStyles;
347
+ mobile: ThemeItemsStyles;
348
+ }
349
+ export interface ThemeLayout extends Record<string, string> {
350
+ containerMaxWidth: string;
351
+ headerHeightApp: string;
352
+ headerHeightSite: string;
353
+ headerHeightSiteMobile: string;
354
+ margin: string;
355
+ marginMobile: string;
356
+ maxWidth: string;
357
+ menuHeroHeight: string;
358
+ menuHeroHeightMobile: string;
359
+ navHeight: string;
360
+ navHeightApp: string;
361
+ navHeightMobile: string;
362
+ padding: string;
363
+ paddingMobile: string;
364
+ }
365
+ export interface ThemeLink extends Record<string, string> {
366
+ color: string;
367
+ hover: string;
368
+ }
369
+ export declare type ThemeLinkType = 'customize' | 'dark' | 'light' | 'primary';
370
+ export interface ThemeLinks extends Record<string, string | ThemeLink> {
371
+ customize: ThemeLink;
372
+ dark: ThemeLink;
373
+ light: ThemeLink;
374
+ primary: ThemeLink;
375
+ textDecoration: string;
376
+ transition: string;
377
+ }
378
+ export interface ThemeLogo extends Record<string, string> {
379
+ marginTop: string;
380
+ marginTopMobile: string;
381
+ width: string;
382
+ widthMobile: string;
383
+ }
384
+ export interface ThemeMenuItemsContainer extends Record<string, string | number> {
385
+ maxWidth: string;
386
+ gap: string;
387
+ gapHalf: string;
388
+ gapHalfMobile: string;
389
+ gapMobile: string;
390
+ justifyContent: ThemeJustifyContent;
391
+ margin: string;
392
+ marginMobile: string;
393
+ padding: string;
394
+ paddingMobile: string;
395
+ perRow: number;
396
+ perRowMobile: number;
397
+ }
398
+ export interface ThemeMenuItemsBox extends Record<string, string | number> {
399
+ bgColor: string;
400
+ bgColorHover: string;
401
+ border: string;
402
+ borderColor: string;
403
+ borderColorHover: string;
404
+ borderMobile: string;
405
+ borderRadius: string;
406
+ borderRadiusMobile: string;
407
+ boxShadow: string;
408
+ boxShadowHover: string;
409
+ margin: string;
410
+ marginMobile: string;
411
+ minWidth: string;
412
+ minWidthMobile: string;
413
+ padding: string;
414
+ paddingMobile: string;
415
+ width: string;
416
+ widthMobile: string;
417
+ }
418
+ export declare type ThemeImagePosition = 'TOP' | 'BOTTOM' | 'LEFT' | 'RIGHT' | 'HIDDEN';
419
+ export interface ThemeMenuItemsImage extends Record<string, string | number | boolean> {
420
+ asImg: boolean;
421
+ aspectRatio: number;
422
+ bgColor: string;
423
+ bgSize: ThemeBackgroundSize;
424
+ border: string;
425
+ borderColor: string;
426
+ borderMobile: string;
427
+ borderRadius: string;
428
+ borderRadiusMobile: string;
429
+ boxShadow: string;
430
+ margin: string;
431
+ marginMobile: string;
432
+ minWidth: string;
433
+ minWidthMobile: string;
434
+ padding: string;
435
+ paddingMobile: string;
436
+ position: ThemeImagePosition;
437
+ }
438
+ export declare type ThemeMenuItemsContentDescription = 'SHOW' | 'HIDE' | 'SHORT';
439
+ export declare type ThemeMenuItemsContentLayout = 'PRICE_RIGHT' | 'PRICE_BELOW' | 'PRICE_LAST';
440
+ export interface ThemeMenuItemsContent extends Record<string, string> {
441
+ description: ThemeMenuItemsContentDescription;
442
+ descriptionMobile: ThemeMenuItemsContentDescription;
443
+ layout: ThemeMenuItemsContentLayout;
444
+ layoutMobile: ThemeMenuItemsContentLayout;
445
+ padding: string;
446
+ paddingMobile: string;
447
+ }
448
+ export declare type ThemeMenuItemsButtonsDisplay = 'SHOW' | 'HIDE' | 'MINIMAL';
449
+ export declare type ThemeMenuItemsButtonsColor = 'primary' | 'secondary' | 'cart' | 'light';
450
+ export interface ThemeMenuItemsButtons extends Record<string, string> {
451
+ color: ThemeMenuItemsButtonsColor;
452
+ display: ThemeMenuItemsButtonsDisplay;
453
+ displayMobile: ThemeMenuItemsButtonsDisplay;
454
+ flexDirection: ThemeFlexDirection;
455
+ gap: string;
456
+ gapMobile: string;
457
+ justifyContent: ThemeJustifyContent;
458
+ padding: string;
459
+ paddingMobile: string;
460
+ }
461
+ export interface ThemeMenuItemsText extends Record<string, string | undefined> {
462
+ color: string;
463
+ colorHover: string;
464
+ fontSize: string;
465
+ fontSizeMobile: string;
466
+ lineHeight?: string;
467
+ padding: string;
468
+ paddingMobile: string;
469
+ }
470
+ export interface ThemeMenuItemsTags extends Record<string, string | undefined> {
471
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH' | 'HIDDEN';
472
+ color: string;
473
+ colorHover: string;
474
+ fontSize: string;
475
+ fontSizeMobile: string;
476
+ gap: string;
477
+ gapMobile: string;
478
+ letterSpacing: string;
479
+ lineHeight?: string;
480
+ prefix: string;
481
+ textTransform: ThemeTextTransform;
482
+ width: string;
483
+ widthMobile: string;
484
+ }
485
+ export interface ThemeMenuItemsTagsAllergens extends Record<string, string> {
486
+ justifyContent: ThemeJustifyContent;
487
+ gap: string;
488
+ gapMobile: string;
489
+ flexDirection: ThemeFlexDirection;
490
+ padding: string;
491
+ paddingMobile: string;
492
+ }
493
+ export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsContainer | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent | ThemeMenuItemsButtons | ThemeMenuItemsTags | ThemeMenuItemsTagsAllergens> {
494
+ allergens: ThemeMenuItemsTags;
495
+ box: ThemeMenuItemsBox;
496
+ buttons: ThemeMenuItemsButtons;
497
+ calories: ThemeMenuItemsText;
498
+ container: ThemeMenuItemsContainer;
499
+ content: ThemeMenuItemsContent;
500
+ image: ThemeMenuItemsImage;
501
+ price: ThemeMenuItemsText;
502
+ tags: ThemeMenuItemsTags;
503
+ tagsAllergens: ThemeMenuItemsTagsAllergens;
504
+ text: ThemeMenuItemsText;
505
+ title: ThemeMenuItemsText;
506
+ }
507
+ export interface ThemeTagsContainer extends Record<string, string | number> {
508
+ bgColor: string;
509
+ bgColorStuck: string;
510
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH';
511
+ gap: string;
512
+ gapHalf: string;
513
+ gapMobile: string;
514
+ gapMobileHalf: string;
515
+ justifyContent: ThemeJustifyContent;
516
+ margin: string;
517
+ marginMobile: string;
518
+ maxWidth: string;
519
+ padding: string;
520
+ paddingMobile: string;
521
+ }
522
+ export interface ThemeTagsBox extends Record<string, string | number> {
523
+ bgColor: string;
524
+ bgColorHover: string;
525
+ border: string;
526
+ borderColor: string;
527
+ borderColorHover: string;
528
+ borderMobile: string;
529
+ borderRadius: string;
530
+ borderRadiusMobile: string;
531
+ boxShadow: string;
532
+ boxShadowHover: string;
533
+ margin: string;
534
+ marginMobile: string;
535
+ minWidth: string;
536
+ minWidthMobile: string;
537
+ padding: string;
538
+ paddingMobile: string;
539
+ transition: string;
540
+ width: string;
541
+ widthMobile: string;
542
+ }
543
+ export interface ThemeTagsImage extends Record<string, string | number | boolean> {
544
+ asImg: boolean;
545
+ aspectRatio: number;
546
+ bgColor: string;
547
+ bgSize: ThemeBackgroundSize;
548
+ border: string;
549
+ borderColor: string;
550
+ borderMobile: string;
551
+ borderRadius: string;
552
+ borderRadiusMobile: string;
553
+ boxShadow: string;
554
+ margin: string;
555
+ marginMobile: string;
556
+ minWidth: string;
557
+ minWidthMobile: string;
558
+ padding: string;
559
+ paddingMobile: string;
560
+ position: ThemeImagePosition;
561
+ }
562
+ export interface ThemeTagsText extends Record<string, string> {
563
+ color: string;
564
+ colorHover: string;
565
+ fontSize: string;
566
+ fontSizeMobile: string;
567
+ }
568
+ export interface ThemeTags extends Record<string, ThemeTagsBox | ThemeTagsContainer | ThemeTagsImage | ThemeTagsText> {
569
+ box: ThemeTagsBox;
570
+ container: ThemeTagsContainer;
571
+ image: ThemeTagsImage;
572
+ text: ThemeTagsText;
573
+ }
574
+ export interface ThemeModifiersText extends Record<string, string> {
575
+ color: string;
576
+ fontSize: string;
577
+ hoverColor: string;
578
+ selectedColor: string;
579
+ }
580
+ export interface ThemeModifiersColors extends Record<string, string> {
581
+ bgColor: string;
582
+ borderColor: string;
583
+ }
584
+ export declare type ThemeModifiersBoxType = 'DEFAULT' | 'CARDS' | 'SQUARES' | 'SIMPLE';
585
+ export interface ThemeModifiersBox extends Record<string, string | number> {
586
+ border: string;
587
+ borderMobile: string;
588
+ borderRadius: string;
589
+ boxShadow: string;
590
+ gap: string;
591
+ gapHalf: string;
592
+ layout: ThemeModifiersBoxType;
593
+ margin: string;
594
+ marginMobile: string;
595
+ minHeight: string;
596
+ minHeightWithGap: string;
597
+ minWidth: string;
598
+ padding: string;
599
+ paddingMobile: string;
600
+ perRow: number;
601
+ transition: string;
602
+ width: string;
603
+ }
604
+ export interface ThemeModifiersImage extends Record<string, string | boolean> {
605
+ asImg: boolean;
606
+ bgColor: string;
607
+ bgSize: ThemeBackgroundSize;
608
+ border: string;
609
+ borderColor: string;
610
+ borderRadius: string;
611
+ boxShadow: string;
612
+ height: string;
613
+ margin: string;
614
+ padding: string;
615
+ width: string;
616
+ }
617
+ export interface ThemeModifiersContent extends Record<string, string> {
618
+ padding: string;
619
+ }
620
+ export interface ThemeModifiers extends Record<string, ThemeModifiersText | ThemeModifiersColors | ThemeModifiersBox | ThemeModifiersImage | ThemeModifiersContent> {
621
+ box: ThemeModifiersBox;
622
+ calories: ThemeModifiersText;
623
+ colors: ThemeModifiersColors;
624
+ content: ThemeModifiersContent;
625
+ hoverColors: ThemeModifiersColors;
626
+ image: ThemeModifiersImage;
627
+ price: ThemeModifiersText;
628
+ selectedColors: ThemeModifiersColors;
629
+ text: ThemeModifiersText;
630
+ title: ThemeModifiersText;
631
+ }
632
+ export interface ThemeBottomTabsBox {
633
+ bgColor: string;
634
+ borderColor: string;
635
+ borderRadius: string;
636
+ borderWidth: string;
637
+ boxShadow: string;
638
+ gap: string;
639
+ justifyContent: ThemeJustifyContent;
640
+ padding: string;
641
+ }
642
+ export interface ThemeBottomTabsButtons {
643
+ color: string;
644
+ family: string;
645
+ fontMobile: string;
646
+ fontSize: string;
647
+ fontSmoothing: ThemeFontSmoothing;
648
+ fontStyle: string;
649
+ letterSpacing: string;
650
+ lineHeight: string;
651
+ lineHeights?: ThemeFontSizes;
652
+ padding: string;
653
+ textTransform: ThemeTextTransform;
654
+ weight: string;
655
+ }
656
+ export interface ThemeBottomTabsIcons {
657
+ color: string;
658
+ display: boolean;
659
+ padding: string;
660
+ position: ThemeImagePosition;
661
+ size: number;
662
+ strokeWidth: number;
663
+ }
664
+ export interface ThemeBottomTabs extends Record<string, ThemeBottomTabsBox | ThemeBottomTabsButtons | ThemeBottomTabsIcons> {
665
+ box: ThemeBottomTabsBox;
666
+ buttons: ThemeBottomTabsButtons;
667
+ icons: ThemeBottomTabsIcons;
668
+ }
669
+ export interface ThemeOverlay extends Record<string, string> {
670
+ alert: string;
671
+ dark: string;
672
+ light: string;
673
+ primary: string;
674
+ secondary: string;
675
+ tertiary: string;
676
+ }
677
+ export interface ThemeWelcomeStyles extends Record<string, string | boolean | number> {
678
+ buttonPaddingLeft: string;
679
+ buttonPaddingRight: string;
680
+ marginBottom: string;
681
+ marginTop: string;
682
+ showIcons: boolean;
683
+ subtitleLineHeight: number;
684
+ subtitleMarginTop: string;
685
+ subtitleSize: string;
686
+ textAlign: ThemeTextAlignment;
687
+ titleLineHeight: number;
688
+ titleMarginLeft: string;
689
+ titleSize: string;
690
+ }
691
+ export interface ThemeWelcome extends Record<string, ThemeWelcomeStyles> {
692
+ desktop: ThemeWelcomeStyles;
693
+ mobile: ThemeWelcomeStyles;
694
+ }
695
+ export interface Theme {
696
+ alert: ThemeAlert;
697
+ bgColors: ThemeBackgroundColors;
698
+ boldWeight: string;
699
+ border: ThemeBorder;
700
+ bottomTabs: ThemeBottomTabs;
701
+ boxShadow: ThemeBoxShadow;
702
+ breakpoints: ThemeBreakpoints;
703
+ buttons: ThemeButtons;
704
+ cards: ThemeCards;
705
+ categories: ThemeCategories;
706
+ colors: ThemeColors;
707
+ counts: ThemeCounts;
708
+ error: ThemeAlert;
709
+ favorite: ThemeFavorite;
710
+ fonts: ThemeFonts;
711
+ header: ThemeHeader;
712
+ icons: ThemeIcons;
713
+ inputs: ThemeInputs;
714
+ item: ThemeItem;
715
+ items: ThemeItems;
716
+ layout: ThemeLayout;
717
+ lineHeight: string;
718
+ links: ThemeLinks;
719
+ logo: ThemeLogo;
720
+ logoFooter: ThemeLogo;
721
+ tags: ThemeTags;
722
+ menuItems: ThemeMenuItems;
723
+ modifiers: ThemeModifiers;
724
+ overlay: ThemeOverlay;
725
+ success: ThemeAlert;
726
+ toast: ThemeAlert;
727
+ welcome: ThemeWelcome;
728
+ }
729
+ export interface ThemeWelcomeStylesApp extends Omit<ThemeWelcomeStyles, 'titleLineHeight' | 'subtitleLineHeight'> {
730
+ titleLineHeight: string;
731
+ subtitleLineHeight: string;
732
+ }
733
+ export interface AppTheme extends Omit<Theme, 'welcome' | 'item' | 'categories'> {
734
+ welcome: ThemeWelcomeStylesApp;
735
+ item: ThemeItemStyles;
736
+ categories: ThemeCategory;
737
+ }