@tabres/react 1.0.50 → 1.0.52
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/AllergenIcons/AllergenIcons.d.ts +25 -0
- package/dist/components/AllergenIcons/AllergenIcons.test.d.ts +1 -0
- package/dist/components/AllergenIcons/icons/Buckwheat.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Celery.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Crustaceans.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Eggs.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Fish.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Gluten.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Lupin.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Milk.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Molluscs.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Mustard.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Peanuts.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Sesame.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Soy.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/Sulphites.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/TreeNuts.d.ts +3 -0
- package/dist/components/AllergenIcons/icons/index.d.ts +19 -0
- package/dist/components/AllergenIcons/index.d.ts +2 -0
- package/dist/index.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 +1 -1
- package/dist/models/index.esm.js.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/modules/order/constants.d.ts +4 -1
- package/dist/models/modules/order/models.d.ts +12 -2
- package/dist/models/modules/product/models.d.ts +58 -0
- package/dist/models/modules/product/utils.d.ts +21 -1
- package/dist/models/services/translation/locales/az/index.d.ts +7 -1
- package/dist/models/services/translation/locales/az/order.d.ts +7 -1
- package/dist/models/services/translation/locales/es/index.d.ts +7 -1
- package/dist/models/services/translation/locales/es/order.d.ts +7 -1
- package/dist/models/services/translation/locales/et/index.d.ts +7 -1
- package/dist/models/services/translation/locales/et/order.d.ts +7 -1
- package/dist/models/services/translation/locales/hr/index.d.ts +7 -1
- package/dist/models/services/translation/locales/hr/order.d.ts +7 -1
- package/dist/models/services/translation/locales/index.d.ts +63 -9
- package/dist/models/services/translation/locales/nl/index.d.ts +7 -1
- package/dist/models/services/translation/locales/nl/order.d.ts +7 -1
- package/dist/models/services/translation/locales/pl/index.d.ts +7 -1
- package/dist/models/services/translation/locales/pl/order.d.ts +7 -1
- package/dist/models/services/translation/locales/pt/index.d.ts +7 -1
- package/dist/models/services/translation/locales/pt/order.d.ts +7 -1
- package/dist/models/services/translation/locales/ru/index.d.ts +7 -1
- package/dist/models/services/translation/locales/ru/order.d.ts +7 -1
- package/dist/models/services/translation/locales/tr/index.d.ts +7 -1
- package/dist/models/services/translation/locales/tr/order.d.ts +7 -1
- package/dist/modules/order/constants.d.ts +4 -1
- package/dist/modules/order/models.d.ts +12 -2
- package/dist/modules/product/models.d.ts +58 -0
- package/dist/modules/product/utils.d.ts +21 -1
- package/dist/modules/product/utils.test.d.ts +1 -0
- package/dist/services/translation/locales/az/index.d.ts +7 -1
- package/dist/services/translation/locales/az/order.d.ts +7 -1
- package/dist/services/translation/locales/es/index.d.ts +7 -1
- package/dist/services/translation/locales/es/order.d.ts +7 -1
- package/dist/services/translation/locales/et/index.d.ts +7 -1
- package/dist/services/translation/locales/et/order.d.ts +7 -1
- package/dist/services/translation/locales/hr/index.d.ts +7 -1
- package/dist/services/translation/locales/hr/order.d.ts +7 -1
- package/dist/services/translation/locales/index.d.ts +63 -9
- package/dist/services/translation/locales/nl/index.d.ts +7 -1
- package/dist/services/translation/locales/nl/order.d.ts +7 -1
- package/dist/services/translation/locales/pl/index.d.ts +7 -1
- package/dist/services/translation/locales/pl/order.d.ts +7 -1
- package/dist/services/translation/locales/pt/index.d.ts +7 -1
- package/dist/services/translation/locales/pt/order.d.ts +7 -1
- package/dist/services/translation/locales/ru/index.d.ts +7 -1
- package/dist/services/translation/locales/ru/order.d.ts +7 -1
- package/dist/services/translation/locales/tr/index.d.ts +7 -1
- package/dist/services/translation/locales/tr/order.d.ts +7 -1
- 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 +4 -1
- package/dist/utils/modules/order/models.d.ts +12 -2
- package/dist/utils/modules/product/models.d.ts +58 -0
- package/dist/utils/modules/product/utils.d.ts +21 -1
- package/dist/utils/services/translation/locales/az/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/az/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/es/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/es/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/et/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/et/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/hr/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/hr/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/index.d.ts +63 -9
- package/dist/utils/services/translation/locales/nl/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/nl/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/pl/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/pl/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/pt/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/pt/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/ru/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/ru/order.d.ts +7 -1
- package/dist/utils/services/translation/locales/tr/index.d.ts +7 -1
- package/dist/utils/services/translation/locales/tr/order.d.ts +7 -1
- package/package.json +13 -13
|
@@ -42,7 +42,6 @@ declare const _default: {
|
|
|
42
42
|
"Dine in": string;
|
|
43
43
|
Pickup: string;
|
|
44
44
|
Cash: string;
|
|
45
|
-
"POS Terminal": string;
|
|
46
45
|
"Order summary": string;
|
|
47
46
|
Items: string;
|
|
48
47
|
Tax: string;
|
|
@@ -62,6 +61,12 @@ declare const _default: {
|
|
|
62
61
|
Table: string;
|
|
63
62
|
"Select Table": string;
|
|
64
63
|
Card: string;
|
|
64
|
+
"Payment method": string;
|
|
65
|
+
"More methods": string;
|
|
66
|
+
"Bank transfer": string;
|
|
67
|
+
"Mobile pay": string;
|
|
68
|
+
"QR code": string;
|
|
69
|
+
Voucher: string;
|
|
65
70
|
"Closed Now": string;
|
|
66
71
|
"Delivery Fee": string;
|
|
67
72
|
"Play video": string;
|
|
@@ -76,6 +81,7 @@ declare const _default: {
|
|
|
76
81
|
Tip: string;
|
|
77
82
|
"Total with tip": string;
|
|
78
83
|
"Enter tip amount": string;
|
|
84
|
+
"Contains allergens": string;
|
|
79
85
|
};
|
|
80
86
|
customer: {
|
|
81
87
|
"Unknown address": string;
|
|
@@ -17,7 +17,6 @@ declare const _default: {
|
|
|
17
17
|
"Dine in": string;
|
|
18
18
|
Pickup: string;
|
|
19
19
|
Cash: string;
|
|
20
|
-
"POS Terminal": string;
|
|
21
20
|
"Order summary": string;
|
|
22
21
|
Items: string;
|
|
23
22
|
Tax: string;
|
|
@@ -37,6 +36,12 @@ declare const _default: {
|
|
|
37
36
|
Table: string;
|
|
38
37
|
"Select Table": string;
|
|
39
38
|
Card: string;
|
|
39
|
+
"Payment method": string;
|
|
40
|
+
"More methods": string;
|
|
41
|
+
"Bank transfer": string;
|
|
42
|
+
"Mobile pay": string;
|
|
43
|
+
"QR code": string;
|
|
44
|
+
Voucher: string;
|
|
40
45
|
"Closed Now": string;
|
|
41
46
|
"Delivery Fee": string;
|
|
42
47
|
"Play video": string;
|
|
@@ -51,5 +56,6 @@ declare const _default: {
|
|
|
51
56
|
Tip: string;
|
|
52
57
|
"Total with tip": string;
|
|
53
58
|
"Enter tip amount": string;
|
|
59
|
+
"Contains allergens": string;
|
|
54
60
|
};
|
|
55
61
|
export default _default;
|
|
@@ -42,7 +42,6 @@ declare const _default: {
|
|
|
42
42
|
"Dine in": string;
|
|
43
43
|
Pickup: string;
|
|
44
44
|
Cash: string;
|
|
45
|
-
"POS Terminal": string;
|
|
46
45
|
"Order summary": string;
|
|
47
46
|
Items: string;
|
|
48
47
|
Tax: string;
|
|
@@ -62,6 +61,12 @@ declare const _default: {
|
|
|
62
61
|
Table: string;
|
|
63
62
|
"Select Table": string;
|
|
64
63
|
Card: string;
|
|
64
|
+
"Payment method": string;
|
|
65
|
+
"More methods": string;
|
|
66
|
+
"Bank transfer": string;
|
|
67
|
+
"Mobile pay": string;
|
|
68
|
+
"QR code": string;
|
|
69
|
+
Voucher: string;
|
|
65
70
|
"Closed Now": string;
|
|
66
71
|
"Delivery Fee": string;
|
|
67
72
|
"Play video": string;
|
|
@@ -76,6 +81,7 @@ declare const _default: {
|
|
|
76
81
|
Tip: string;
|
|
77
82
|
"Total with tip": string;
|
|
78
83
|
"Enter tip amount": string;
|
|
84
|
+
"Contains allergens": string;
|
|
79
85
|
};
|
|
80
86
|
customer: {
|
|
81
87
|
"Unknown address": string;
|
|
@@ -17,7 +17,6 @@ declare const _default: {
|
|
|
17
17
|
"Dine in": string;
|
|
18
18
|
Pickup: string;
|
|
19
19
|
Cash: string;
|
|
20
|
-
"POS Terminal": string;
|
|
21
20
|
"Order summary": string;
|
|
22
21
|
Items: string;
|
|
23
22
|
Tax: string;
|
|
@@ -37,6 +36,12 @@ declare const _default: {
|
|
|
37
36
|
Table: string;
|
|
38
37
|
"Select Table": string;
|
|
39
38
|
Card: string;
|
|
39
|
+
"Payment method": string;
|
|
40
|
+
"More methods": string;
|
|
41
|
+
"Bank transfer": string;
|
|
42
|
+
"Mobile pay": string;
|
|
43
|
+
"QR code": string;
|
|
44
|
+
Voucher: string;
|
|
40
45
|
"Closed Now": string;
|
|
41
46
|
"Delivery Fee": string;
|
|
42
47
|
"Play video": string;
|
|
@@ -51,5 +56,6 @@ declare const _default: {
|
|
|
51
56
|
Tip: string;
|
|
52
57
|
"Total with tip": string;
|
|
53
58
|
"Enter tip amount": string;
|
|
59
|
+
"Contains allergens": string;
|
|
54
60
|
};
|
|
55
61
|
export default _default;
|
|
@@ -46,7 +46,6 @@ declare const _default: {
|
|
|
46
46
|
"Dine in": string;
|
|
47
47
|
Pickup: string;
|
|
48
48
|
Cash: string;
|
|
49
|
-
"POS Terminal": string;
|
|
50
49
|
"Order summary": string;
|
|
51
50
|
Items: string;
|
|
52
51
|
Tax: string;
|
|
@@ -63,6 +62,12 @@ declare const _default: {
|
|
|
63
62
|
Table: string;
|
|
64
63
|
"Select Table": string;
|
|
65
64
|
Card: string;
|
|
65
|
+
"Payment method": string;
|
|
66
|
+
"More methods": string;
|
|
67
|
+
"Bank transfer": string;
|
|
68
|
+
"Mobile pay": string;
|
|
69
|
+
"QR code": string;
|
|
70
|
+
Voucher: string;
|
|
66
71
|
"Closed Now": string;
|
|
67
72
|
"Delivery Fee": string;
|
|
68
73
|
"Play video": string;
|
|
@@ -75,6 +80,7 @@ declare const _default: {
|
|
|
75
80
|
Tip: string;
|
|
76
81
|
"Total with tip": string;
|
|
77
82
|
"Enter tip amount": string;
|
|
83
|
+
"Contains allergens": string;
|
|
78
84
|
};
|
|
79
85
|
customer: {
|
|
80
86
|
"Unknown address": string;
|
|
@@ -21,7 +21,6 @@ declare const _default: {
|
|
|
21
21
|
"Dine in": string;
|
|
22
22
|
Pickup: string;
|
|
23
23
|
Cash: string;
|
|
24
|
-
"POS Terminal": string;
|
|
25
24
|
"Order summary": string;
|
|
26
25
|
Items: string;
|
|
27
26
|
Tax: string;
|
|
@@ -38,6 +37,12 @@ declare const _default: {
|
|
|
38
37
|
Table: string;
|
|
39
38
|
"Select Table": string;
|
|
40
39
|
Card: string;
|
|
40
|
+
"Payment method": string;
|
|
41
|
+
"More methods": string;
|
|
42
|
+
"Bank transfer": string;
|
|
43
|
+
"Mobile pay": string;
|
|
44
|
+
"QR code": string;
|
|
45
|
+
Voucher: string;
|
|
41
46
|
"Closed Now": string;
|
|
42
47
|
"Delivery Fee": string;
|
|
43
48
|
"Play video": string;
|
|
@@ -50,5 +55,6 @@ declare const _default: {
|
|
|
50
55
|
Tip: string;
|
|
51
56
|
"Total with tip": string;
|
|
52
57
|
"Enter tip amount": string;
|
|
58
|
+
"Contains allergens": string;
|
|
53
59
|
};
|
|
54
60
|
export default _default;
|
|
@@ -46,7 +46,6 @@ declare const _default: {
|
|
|
46
46
|
"Dine in": string;
|
|
47
47
|
Pickup: string;
|
|
48
48
|
Cash: string;
|
|
49
|
-
"POS Terminal": string;
|
|
50
49
|
"Order summary": string;
|
|
51
50
|
Items: string;
|
|
52
51
|
Tax: string;
|
|
@@ -63,6 +62,12 @@ declare const _default: {
|
|
|
63
62
|
Table: string;
|
|
64
63
|
"Select Table": string;
|
|
65
64
|
Card: string;
|
|
65
|
+
"Payment method": string;
|
|
66
|
+
"More methods": string;
|
|
67
|
+
"Bank transfer": string;
|
|
68
|
+
"Mobile pay": string;
|
|
69
|
+
"QR code": string;
|
|
70
|
+
Voucher: string;
|
|
66
71
|
"Closed Now": string;
|
|
67
72
|
"Delivery Fee": string;
|
|
68
73
|
"Play video": string;
|
|
@@ -75,6 +80,7 @@ declare const _default: {
|
|
|
75
80
|
Tip: string;
|
|
76
81
|
"Total with tip": string;
|
|
77
82
|
"Enter tip amount": string;
|
|
83
|
+
"Contains allergens": string;
|
|
78
84
|
};
|
|
79
85
|
customer: {
|
|
80
86
|
"Unknown address": string;
|
|
@@ -21,7 +21,6 @@ declare const _default: {
|
|
|
21
21
|
"Dine in": string;
|
|
22
22
|
Pickup: string;
|
|
23
23
|
Cash: string;
|
|
24
|
-
"POS Terminal": string;
|
|
25
24
|
"Order summary": string;
|
|
26
25
|
Items: string;
|
|
27
26
|
Tax: string;
|
|
@@ -38,6 +37,12 @@ declare const _default: {
|
|
|
38
37
|
Table: string;
|
|
39
38
|
"Select Table": string;
|
|
40
39
|
Card: string;
|
|
40
|
+
"Payment method": string;
|
|
41
|
+
"More methods": string;
|
|
42
|
+
"Bank transfer": string;
|
|
43
|
+
"Mobile pay": string;
|
|
44
|
+
"QR code": string;
|
|
45
|
+
Voucher: string;
|
|
41
46
|
"Closed Now": string;
|
|
42
47
|
"Delivery Fee": string;
|
|
43
48
|
"Play video": string;
|
|
@@ -50,5 +55,6 @@ declare const _default: {
|
|
|
50
55
|
Tip: string;
|
|
51
56
|
"Total with tip": string;
|
|
52
57
|
"Enter tip amount": string;
|
|
58
|
+
"Contains allergens": string;
|
|
53
59
|
};
|
|
54
60
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tabres/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.52",
|
|
4
4
|
"description": "React Library by tabres.com",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -70,18 +70,18 @@
|
|
|
70
70
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
71
71
|
"@rollup/plugin-terser": "^1.0.0",
|
|
72
72
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
73
|
-
"@testing-library/jest-dom": "^
|
|
73
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
74
74
|
"@testing-library/react": "^16.3.2",
|
|
75
|
-
"@types/google.maps": "^3.65.
|
|
75
|
+
"@types/google.maps": "^3.65.5",
|
|
76
76
|
"@types/jest": "^30.0.0",
|
|
77
|
-
"@types/node": "^26.
|
|
78
|
-
"@types/react": "^19.2.
|
|
79
|
-
"@types/react-dom": "^19.2.
|
|
80
|
-
"autoprefixer": "^10.5.
|
|
81
|
-
"eslint": "^10.
|
|
77
|
+
"@types/node": "^26.2.0",
|
|
78
|
+
"@types/react": "^19.2.18",
|
|
79
|
+
"@types/react-dom": "^19.2.4",
|
|
80
|
+
"autoprefixer": "^10.5.4",
|
|
81
|
+
"eslint": "^10.8.1",
|
|
82
82
|
"eslint-plugin-react": "^7.37.5",
|
|
83
83
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
84
|
-
"eslint-plugin-unicorn": "^
|
|
84
|
+
"eslint-plugin-unicorn": "^73.0.0",
|
|
85
85
|
"husky": "^9.1.7",
|
|
86
86
|
"jest": "^30.4.2",
|
|
87
87
|
"jest-environment-jsdom": "^30.4.1",
|
|
@@ -89,13 +89,13 @@
|
|
|
89
89
|
"rollup-plugin-copy": "^3.5.0",
|
|
90
90
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
91
91
|
"rollup-plugin-postcss": "^4.0.2",
|
|
92
|
-
"sass": "^1.
|
|
93
|
-
"ts-jest": "^29.4.
|
|
92
|
+
"sass": "^1.102.0",
|
|
93
|
+
"ts-jest": "^29.4.12",
|
|
94
94
|
"ts-node": "^10.9.2",
|
|
95
95
|
"tslib": "^2.8.1",
|
|
96
96
|
"typescript": "^6.0.3",
|
|
97
|
-
"typescript-eslint": "^8.
|
|
98
|
-
"vite": "^8.1
|
|
97
|
+
"typescript-eslint": "^8.67.0",
|
|
98
|
+
"vite": "^8.2.1"
|
|
99
99
|
},
|
|
100
100
|
"overrides": {
|
|
101
101
|
"@babel/core": "^7.29.7",
|