@tabres/react 1.0.41 → 1.0.44
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/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.d.ts +1 -0
- package/dist/models/index.esm.js.map +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/models/index.d.ts +1 -0
- package/dist/models/modules/branch/constants.d.ts +1 -0
- package/dist/models/modules/branch/hooks.d.ts +1 -0
- package/dist/models/modules/branch/models.d.ts +1 -0
- package/dist/models/modules/business/constants.d.ts +0 -1
- package/dist/models/modules/business/hooks.d.ts +0 -1
- package/dist/models/modules/business/models.d.ts +0 -1
- package/dist/models/modules/pos/models/compliance.d.ts +9 -0
- package/dist/models/modules/pos/models/index.d.ts +1 -0
- package/dist/modules/branch/constants.d.ts +1 -0
- package/dist/modules/branch/hooks.d.ts +1 -0
- package/dist/modules/branch/models.d.ts +1 -0
- package/dist/modules/business/constants.d.ts +0 -1
- package/dist/modules/business/hooks.d.ts +0 -1
- package/dist/modules/business/models.d.ts +0 -1
- package/dist/modules/pos/models/index.d.ts +1 -0
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/models/index.d.ts +1 -0
- package/dist/utils/modules/branch/constants.d.ts +1 -0
- package/dist/utils/modules/branch/hooks.d.ts +1 -0
- package/dist/utils/modules/branch/models.d.ts +1 -0
- package/dist/utils/modules/business/constants.d.ts +0 -1
- package/dist/utils/modules/business/hooks.d.ts +0 -1
- package/dist/utils/modules/business/models.d.ts +0 -1
- package/dist/utils/modules/pos/models/index.d.ts +1 -0
- package/package.json +16 -9
|
@@ -12,5 +12,6 @@ export * from "../modules/user/models";
|
|
|
12
12
|
export * from "../modules/category/models";
|
|
13
13
|
export * from "../modules/menu/models";
|
|
14
14
|
export * from "../modules/video/models";
|
|
15
|
+
export * from "../modules/pos/models";
|
|
15
16
|
export * from "../components/PublicMenu/ProductsGridItem/ProductsGridItem.types";
|
|
16
17
|
export * from "../components/PublicMenu/OrderMethods/OrderMethods.types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_CURRENCY = "EUR";
|
|
@@ -2,6 +2,7 @@ import * as viewModels from "src/modules/view/models";
|
|
|
2
2
|
import { Branch, BranchServes, BranchSettings } from "./models";
|
|
3
3
|
export declare const useHasSingleBranch: () => boolean;
|
|
4
4
|
export declare const useSelectedBranch: () => Branch;
|
|
5
|
+
export declare const useCurrency: () => string;
|
|
5
6
|
export declare const useBranchCoordinates: () => viewModels.Coordinates;
|
|
6
7
|
export declare const useBranchAddress: () => string;
|
|
7
8
|
export declare const useBranchServes: () => BranchServes;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Business, BusinessLanguage } from "./models";
|
|
2
2
|
export declare const useBusiness: () => Business;
|
|
3
|
-
export declare const useCurrency: () => string;
|
|
4
3
|
export declare const useBusinessId: () => number;
|
|
5
4
|
export declare const useBusinessUsername: () => string;
|
|
6
5
|
export declare const useLanguages: () => BusinessLanguage[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./compliance";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tabres/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
4
4
|
"description": "React Library by tabres.com",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -65,23 +65,23 @@
|
|
|
65
65
|
"react-dom": ">=19.2.3"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@eslint/js": "^
|
|
68
|
+
"@eslint/js": "^10.0.1",
|
|
69
69
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
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
73
|
"@testing-library/jest-dom": "^6.9.1",
|
|
74
74
|
"@testing-library/react": "^16.3.2",
|
|
75
|
-
"@types/google.maps": "^3.65.
|
|
75
|
+
"@types/google.maps": "^3.65.2",
|
|
76
76
|
"@types/jest": "^30.0.0",
|
|
77
|
-
"@types/node": "^
|
|
77
|
+
"@types/node": "^26.0.0",
|
|
78
78
|
"@types/react": "^19.2.17",
|
|
79
79
|
"@types/react-dom": "^19.2.3",
|
|
80
80
|
"autoprefixer": "^10.5.0",
|
|
81
|
-
"eslint": "^
|
|
81
|
+
"eslint": "^10.5.0",
|
|
82
82
|
"eslint-plugin-react": "^7.37.5",
|
|
83
|
-
"eslint-plugin-react-hooks": "^7.
|
|
84
|
-
"eslint-plugin-unicorn": "^
|
|
83
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
84
|
+
"eslint-plugin-unicorn": "^68.0.0",
|
|
85
85
|
"husky": "^9.1.7",
|
|
86
86
|
"jest": "^30.4.2",
|
|
87
87
|
"jest-environment-jsdom": "^30.4.1",
|
|
@@ -89,12 +89,19 @@
|
|
|
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.
|
|
92
|
+
"sass": "^1.101.0",
|
|
93
93
|
"ts-jest": "^29.4.11",
|
|
94
94
|
"ts-node": "^10.9.2",
|
|
95
95
|
"tslib": "^2.8.1",
|
|
96
96
|
"typescript": "^6.0.3",
|
|
97
|
-
"typescript-eslint": "^8.
|
|
97
|
+
"typescript-eslint": "^8.61.1",
|
|
98
98
|
"vite": "^8.0.16"
|
|
99
|
+
},
|
|
100
|
+
"overrides": {
|
|
101
|
+
"@babel/core": "^7.29.7",
|
|
102
|
+
"js-yaml": "^4.2.0",
|
|
103
|
+
"eslint-plugin-react": {
|
|
104
|
+
"eslint": "$eslint"
|
|
105
|
+
}
|
|
99
106
|
}
|
|
100
107
|
}
|