@tabres/react 1.0.39 → 1.0.40
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.
- package/dist/components/PublicMenu/OrderDrawer/OrderTip/OrderTip.d.ts +2 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderTip/OrderTip.test.d.ts +1 -0
- package/dist/components/PublicMenu/OrderDrawer/OrderTip/index.d.ts +1 -0
- package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.d.ts +7 -1
- package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.test.d.ts +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models/index.esm.js.map +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/modules/order/constants.d.ts +1 -0
- package/dist/models/modules/order/models.d.ts +9 -0
- package/dist/models/modules/order/utils.d.ts +2 -0
- package/dist/models/services/translation/locales/az/index.d.ts +6 -0
- package/dist/models/services/translation/locales/az/order.d.ts +6 -0
- package/dist/models/services/translation/locales/es/index.d.ts +6 -0
- package/dist/models/services/translation/locales/es/order.d.ts +6 -0
- package/dist/models/services/translation/locales/et/index.d.ts +6 -0
- package/dist/models/services/translation/locales/et/order.d.ts +6 -0
- package/dist/models/services/translation/locales/hr/index.d.ts +6 -0
- package/dist/models/services/translation/locales/hr/order.d.ts +6 -0
- package/dist/models/services/translation/locales/index.d.ts +54 -0
- package/dist/models/services/translation/locales/nl/index.d.ts +6 -0
- package/dist/models/services/translation/locales/nl/order.d.ts +6 -0
- package/dist/models/services/translation/locales/pl/index.d.ts +6 -0
- package/dist/models/services/translation/locales/pl/order.d.ts +6 -0
- package/dist/models/services/translation/locales/pt/index.d.ts +6 -0
- package/dist/models/services/translation/locales/pt/order.d.ts +6 -0
- package/dist/models/services/translation/locales/ru/index.d.ts +6 -0
- package/dist/models/services/translation/locales/ru/order.d.ts +6 -0
- package/dist/models/services/translation/locales/tr/index.d.ts +6 -0
- package/dist/models/services/translation/locales/tr/order.d.ts +6 -0
- package/dist/modules/order/constants.d.ts +1 -0
- package/dist/modules/order/models.d.ts +9 -0
- package/dist/modules/order/utils.d.ts +2 -0
- package/dist/services/translation/locales/az/index.d.ts +6 -0
- package/dist/services/translation/locales/az/order.d.ts +6 -0
- package/dist/services/translation/locales/es/index.d.ts +6 -0
- package/dist/services/translation/locales/es/order.d.ts +6 -0
- package/dist/services/translation/locales/et/index.d.ts +6 -0
- package/dist/services/translation/locales/et/order.d.ts +6 -0
- package/dist/services/translation/locales/hr/index.d.ts +6 -0
- package/dist/services/translation/locales/hr/order.d.ts +6 -0
- package/dist/services/translation/locales/index.d.ts +54 -0
- package/dist/services/translation/locales/nl/index.d.ts +6 -0
- package/dist/services/translation/locales/nl/order.d.ts +6 -0
- package/dist/services/translation/locales/pl/index.d.ts +6 -0
- package/dist/services/translation/locales/pl/order.d.ts +6 -0
- package/dist/services/translation/locales/pt/index.d.ts +6 -0
- package/dist/services/translation/locales/pt/order.d.ts +6 -0
- package/dist/services/translation/locales/ru/index.d.ts +6 -0
- package/dist/services/translation/locales/ru/order.d.ts +6 -0
- package/dist/services/translation/locales/tr/index.d.ts +6 -0
- package/dist/services/translation/locales/tr/order.d.ts +6 -0
- package/dist/styles/ui.css +1 -1
- package/dist/styles/ui.css.map +1 -1
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/modules/order/constants.d.ts +1 -0
- package/dist/utils/modules/order/models.d.ts +9 -0
- package/dist/utils/modules/order/utils.d.ts +2 -0
- package/dist/utils/services/translation/locales/az/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/az/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/es/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/es/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/et/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/et/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/hr/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/hr/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/index.d.ts +54 -0
- package/dist/utils/services/translation/locales/nl/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/nl/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/pl/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/pl/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/pt/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/pt/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/ru/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/ru/order.d.ts +6 -0
- package/dist/utils/services/translation/locales/tr/index.d.ts +6 -0
- package/dist/utils/services/translation/locales/tr/order.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OrderTip";
|
|
@@ -13,9 +13,15 @@ interface Props {
|
|
|
13
13
|
discountAmount?: number;
|
|
14
14
|
discountType?: string;
|
|
15
15
|
discountRate?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Customer's voluntary gratuity in the branch currency. The preview never
|
|
18
|
+
* includes a tip, so it is resolved client-side and passed in here to render
|
|
19
|
+
* the tip line and the tip-inclusive grand total. Defaults to 0 (no tip).
|
|
20
|
+
*/
|
|
21
|
+
tipAmount?: number;
|
|
16
22
|
currency: string;
|
|
17
23
|
language: string;
|
|
18
24
|
orderType: orderModels.OrderType;
|
|
19
25
|
}
|
|
20
|
-
declare const OrderPaymentSummary: ({ textSize, totalPriceWithoutTax, totalPriceWithTaxAndFees, deliveryFee, serviceFee, serviceFeePercentage, serviceFeeEnabled, totalTax, discountAmount, discountType, discountRate, currency, language, orderType, }: Props) => import("react").JSX.Element;
|
|
26
|
+
declare const OrderPaymentSummary: ({ textSize, totalPriceWithoutTax, totalPriceWithTaxAndFees, deliveryFee, serviceFee, serviceFeePercentage, serviceFeeEnabled, totalTax, discountAmount, discountType, discountRate, tipAmount, currency, language, orderType, }: Props) => import("react").JSX.Element;
|
|
21
27
|
export default OrderPaymentSummary;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|