@tabres/react 1.0.19 → 1.0.23

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 (179) hide show
  1. package/dist/components/PublicMenu/OrderDrawer/OrderDrawerDetails.d.ts +2 -2
  2. package/dist/components/PublicMenu/ProductVariants/ProductVariants.d.ts +1 -1
  3. package/dist/constants/constants/env.d.ts +1 -1
  4. package/dist/constants/env.d.ts +1 -1
  5. package/dist/index.d.ts +0 -1
  6. package/dist/index.esm.js +1 -1
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/models/constants/env.d.ts +1 -1
  11. package/dist/models/index.esm.js.map +1 -1
  12. package/dist/models/index.js.map +1 -1
  13. package/dist/models/modules/addon/models.d.ts +7 -0
  14. package/dist/models/modules/customer/services.d.ts +3 -1
  15. package/dist/models/modules/order/constants.d.ts +2 -5
  16. package/dist/models/modules/order/hooks.d.ts +3 -7
  17. package/dist/models/modules/order/models.d.ts +55 -18
  18. package/dist/models/modules/order/services.d.ts +2 -1
  19. package/dist/models/modules/order/utils/item-price.d.ts +3 -0
  20. package/dist/models/modules/order/utils.d.ts +3 -19
  21. package/dist/models/modules/product/models.d.ts +13 -1
  22. package/dist/models/modules/product/utils/listing-price.d.ts +9 -0
  23. package/dist/models/modules/product/utils/order-price.d.ts +11 -0
  24. package/dist/models/modules/product/utils.d.ts +2 -42
  25. package/dist/models/services/api/client.d.ts +3 -0
  26. package/dist/modules/addon/models.d.ts +7 -0
  27. package/dist/modules/addon/utils.d.ts +0 -9
  28. package/dist/modules/customer/services.d.ts +3 -1
  29. package/dist/modules/order/constants.d.ts +2 -5
  30. package/dist/modules/order/hooks.d.ts +3 -7
  31. package/dist/modules/order/hooks.price.test.d.ts +1 -0
  32. package/dist/modules/order/models.d.ts +55 -18
  33. package/dist/modules/order/preview.d.ts +8 -0
  34. package/dist/modules/order/preview.test.d.ts +1 -0
  35. package/dist/modules/order/services.d.ts +2 -1
  36. package/dist/modules/order/utils/item-price.d.ts +3 -0
  37. package/dist/modules/order/utils/item-price.test.d.ts +1 -0
  38. package/dist/modules/order/utils.d.ts +3 -19
  39. package/dist/modules/product/models.d.ts +13 -1
  40. package/dist/modules/product/utils/listing-price.d.ts +9 -0
  41. package/dist/modules/product/utils/listing-price.test.d.ts +1 -0
  42. package/dist/modules/product/utils/order-price.d.ts +11 -0
  43. package/dist/modules/product/utils/order-price.test.d.ts +1 -0
  44. package/dist/modules/product/utils.d.ts +2 -42
  45. package/dist/services/api/client.d.ts +3 -0
  46. package/dist/styles/ui.css +1 -1
  47. package/dist/styles/ui.css.map +1 -1
  48. package/dist/utils/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +9 -0
  49. package/dist/utils/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +13 -0
  50. package/dist/utils/constants/env.d.ts +1 -0
  51. package/dist/utils/hooks/translation.d.ts +5 -0
  52. package/dist/utils/index.esm.js +1 -1
  53. package/dist/utils/index.esm.js.map +1 -1
  54. package/dist/utils/index.js +1 -1
  55. package/dist/utils/index.js.map +1 -1
  56. package/dist/utils/models/index.d.ts +16 -0
  57. package/dist/utils/modules/addon/models.d.ts +7 -0
  58. package/dist/utils/modules/addon/utils.d.ts +0 -9
  59. package/dist/utils/modules/branch/hooks.d.ts +16 -0
  60. package/dist/utils/modules/branch/utils.d.ts +7 -0
  61. package/dist/utils/modules/business/constants.d.ts +2 -0
  62. package/dist/utils/modules/business/hooks.d.ts +15 -0
  63. package/dist/utils/modules/common/services.d.ts +1 -0
  64. package/dist/utils/modules/customer/hooks.d.ts +5 -0
  65. package/dist/utils/modules/customer/services.d.ts +11 -0
  66. package/dist/utils/modules/menu/hooks.d.ts +1 -0
  67. package/dist/utils/modules/menu/index.d.ts +3 -0
  68. package/dist/utils/modules/order/constants.d.ts +2 -5
  69. package/dist/utils/modules/order/hooks.d.ts +14 -0
  70. package/dist/utils/modules/order/index.d.ts +5 -0
  71. package/dist/utils/modules/order/models.d.ts +55 -18
  72. package/dist/utils/modules/order/services.d.ts +5 -0
  73. package/dist/utils/modules/order/utils/item-price.d.ts +3 -0
  74. package/dist/utils/modules/order/utils.d.ts +3 -19
  75. package/dist/utils/modules/product/hooks.d.ts +9 -0
  76. package/dist/utils/modules/product/index.d.ts +3 -0
  77. package/dist/utils/modules/product/models.d.ts +13 -1
  78. package/dist/utils/modules/product/utils/listing-price.d.ts +9 -0
  79. package/dist/utils/modules/product/utils/order-price.d.ts +11 -0
  80. package/dist/utils/modules/product/utils.d.ts +3 -43
  81. package/dist/utils/modules/store/hooks.d.ts +6 -0
  82. package/dist/utils/modules/table/hooks.d.ts +4 -0
  83. package/dist/utils/modules/view/hooks.d.ts +2 -0
  84. package/dist/utils/modules/view/index.d.ts +4 -0
  85. package/dist/utils/modules/view/models.d.ts +7 -0
  86. package/dist/utils/modules/view/services.d.ts +2 -0
  87. package/dist/utils/services/api/client.d.ts +3 -0
  88. package/dist/utils/services/translation/index.d.ts +3 -0
  89. package/dist/utils/services/translation/locales/az/auth.d.ts +7 -0
  90. package/dist/utils/services/translation/locales/az/branch.d.ts +14 -0
  91. package/dist/utils/services/translation/locales/az/common.d.ts +6 -0
  92. package/dist/utils/services/translation/locales/az/customer.d.ts +17 -0
  93. package/dist/utils/services/translation/locales/az/error.d.ts +20 -0
  94. package/dist/utils/services/translation/locales/az/events.d.ts +8 -0
  95. package/dist/utils/services/translation/locales/az/index.d.ts +149 -0
  96. package/dist/utils/services/translation/locales/az/order.d.ts +47 -0
  97. package/dist/utils/services/translation/locales/az/pricing.d.ts +35 -0
  98. package/dist/utils/services/translation/locales/en/auth.d.ts +2 -0
  99. package/dist/utils/services/translation/locales/en/branch.d.ts +10 -0
  100. package/dist/utils/services/translation/locales/en/common.d.ts +2 -0
  101. package/dist/utils/services/translation/locales/en/customer.d.ts +2 -0
  102. package/dist/utils/services/translation/locales/en/error.d.ts +17 -0
  103. package/dist/utils/services/translation/locales/en/events.d.ts +2 -0
  104. package/dist/utils/services/translation/locales/en/index.d.ts +34 -0
  105. package/dist/utils/services/translation/locales/en/order.d.ts +2 -0
  106. package/dist/utils/services/translation/locales/en/pricing.d.ts +2 -0
  107. package/dist/utils/services/translation/locales/et/auth.d.ts +7 -0
  108. package/dist/utils/services/translation/locales/et/branch.d.ts +13 -0
  109. package/dist/utils/services/translation/locales/et/common.d.ts +6 -0
  110. package/dist/utils/services/translation/locales/et/customer.d.ts +17 -0
  111. package/dist/utils/services/translation/locales/et/error.d.ts +20 -0
  112. package/dist/utils/services/translation/locales/et/events.d.ts +8 -0
  113. package/dist/utils/services/translation/locales/et/index.d.ts +147 -0
  114. package/dist/utils/services/translation/locales/et/order.d.ts +46 -0
  115. package/dist/utils/services/translation/locales/et/pricing.d.ts +35 -0
  116. package/dist/utils/services/translation/locales/hr/auth.d.ts +7 -0
  117. package/dist/utils/services/translation/locales/hr/branch.d.ts +14 -0
  118. package/dist/utils/services/translation/locales/hr/common.d.ts +6 -0
  119. package/dist/utils/services/translation/locales/hr/customer.d.ts +17 -0
  120. package/dist/utils/services/translation/locales/hr/error.d.ts +20 -0
  121. package/dist/utils/services/translation/locales/hr/events.d.ts +8 -0
  122. package/dist/utils/services/translation/locales/hr/index.d.ts +149 -0
  123. package/dist/utils/services/translation/locales/hr/order.d.ts +47 -0
  124. package/dist/utils/services/translation/locales/hr/pricing.d.ts +35 -0
  125. package/dist/utils/services/translation/locales/index.d.ts +1212 -0
  126. package/dist/utils/services/translation/locales/nl/auth.d.ts +7 -0
  127. package/dist/utils/services/translation/locales/nl/branch.d.ts +13 -0
  128. package/dist/utils/services/translation/locales/nl/common.d.ts +6 -0
  129. package/dist/utils/services/translation/locales/nl/customer.d.ts +17 -0
  130. package/dist/utils/services/translation/locales/nl/error.d.ts +20 -0
  131. package/dist/utils/services/translation/locales/nl/events.d.ts +8 -0
  132. package/dist/utils/services/translation/locales/nl/index.d.ts +147 -0
  133. package/dist/utils/services/translation/locales/nl/order.d.ts +46 -0
  134. package/dist/utils/services/translation/locales/nl/pricing.d.ts +35 -0
  135. package/dist/utils/services/translation/locales/pl/auth.d.ts +7 -0
  136. package/dist/utils/services/translation/locales/pl/branch.d.ts +14 -0
  137. package/dist/utils/services/translation/locales/pl/common.d.ts +6 -0
  138. package/dist/utils/services/translation/locales/pl/customer.d.ts +17 -0
  139. package/dist/utils/services/translation/locales/pl/error.d.ts +20 -0
  140. package/dist/utils/services/translation/locales/pl/events.d.ts +8 -0
  141. package/dist/utils/services/translation/locales/pl/index.d.ts +149 -0
  142. package/dist/utils/services/translation/locales/pl/order.d.ts +47 -0
  143. package/dist/utils/services/translation/locales/pl/pricing.d.ts +35 -0
  144. package/dist/utils/services/translation/locales/pt/auth.d.ts +7 -0
  145. package/dist/utils/services/translation/locales/pt/branch.d.ts +14 -0
  146. package/dist/utils/services/translation/locales/pt/common.d.ts +6 -0
  147. package/dist/utils/services/translation/locales/pt/customer.d.ts +17 -0
  148. package/dist/utils/services/translation/locales/pt/error.d.ts +20 -0
  149. package/dist/utils/services/translation/locales/pt/events.d.ts +8 -0
  150. package/dist/utils/services/translation/locales/pt/index.d.ts +149 -0
  151. package/dist/utils/services/translation/locales/pt/order.d.ts +47 -0
  152. package/dist/utils/services/translation/locales/pt/pricing.d.ts +35 -0
  153. package/dist/utils/services/translation/locales/ru/auth.d.ts +7 -0
  154. package/dist/utils/services/translation/locales/ru/branch.d.ts +13 -0
  155. package/dist/utils/services/translation/locales/ru/common.d.ts +6 -0
  156. package/dist/utils/services/translation/locales/ru/customer.d.ts +17 -0
  157. package/dist/utils/services/translation/locales/ru/error.d.ts +20 -0
  158. package/dist/utils/services/translation/locales/ru/events.d.ts +8 -0
  159. package/dist/utils/services/translation/locales/ru/index.d.ts +147 -0
  160. package/dist/utils/services/translation/locales/ru/order.d.ts +46 -0
  161. package/dist/utils/services/translation/locales/ru/pricing.d.ts +35 -0
  162. package/dist/utils/services/translation/locales/tr/auth.d.ts +7 -0
  163. package/dist/utils/services/translation/locales/tr/branch.d.ts +13 -0
  164. package/dist/utils/services/translation/locales/tr/common.d.ts +6 -0
  165. package/dist/utils/services/translation/locales/tr/customer.d.ts +17 -0
  166. package/dist/utils/services/translation/locales/tr/error.d.ts +20 -0
  167. package/dist/utils/services/translation/locales/tr/events.d.ts +8 -0
  168. package/dist/utils/services/translation/locales/tr/index.d.ts +147 -0
  169. package/dist/utils/services/translation/locales/tr/order.d.ts +46 -0
  170. package/dist/utils/services/translation/locales/tr/pricing.d.ts +35 -0
  171. package/dist/utils/store/index.d.ts +7 -0
  172. package/dist/utils/store/order.d.ts +42 -0
  173. package/package.json +1 -1
  174. package/dist/components/Pricing/Pricing.d.ts +0 -11
  175. package/dist/components/Pricing/PricingPlanAmount.d.ts +0 -9
  176. package/dist/components/Pricing/index.d.ts +0 -1
  177. package/dist/models/modules/addon/utils.d.ts +0 -14
  178. package/dist/models/services/api/index.d.ts +0 -5
  179. package/dist/services/api/index.d.ts +0 -5
@@ -1,2 +1,2 @@
1
- declare const OrderDrawerDetails: () => import("react/jsx-runtime").JSX.Element;
2
- export default OrderDrawerDetails;
1
+ declare const OrderDrawerDetailsWithProvider: () => import("react/jsx-runtime").JSX.Element;
2
+ export default OrderDrawerDetailsWithProvider;
@@ -1,6 +1,6 @@
1
1
  import { models as productModels } from "src/modules/product";
2
2
  interface Props {
3
- product: Pick<productModels.Product, "variants" | "vat">;
3
+ product: Pick<productModels.Product, "variants">;
4
4
  selectedVariant: number;
5
5
  focusedSection: string;
6
6
  language: string;
@@ -1 +1 @@
1
- export declare const BASE_API_URL = "https://api.tabres.com/api/v1";
1
+ export declare const BASE_API_V2_URL = "https://api.tabres.com/api/v2";
@@ -1 +1 @@
1
- export declare const BASE_API_URL = "https://api.tabres.com/api/v1";
1
+ export declare const BASE_API_V2_URL = "https://api.tabres.com/api/v2";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export { default as PublicMenu } from "./components/PublicMenu";
2
2
  export { default as Events } from "./components/Events";
3
- export { default as Pricing } from "./components/Pricing";
4
3
  export { default as Quantity } from "./components/Quantity";
5
4
  export { default as Categories } from "./components/PublicMenu/Categories";
6
5
  export { default as ProductsGridItem } from "./components/PublicMenu/ProductsGridItem";