@open-tender/store 1.1.49 → 1.1.51
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/LICENSE.md +21 -21
- package/README.md +3 -3
- package/dist/cjs/components/ItemOption.js +2 -0
- package/dist/cjs/components/MadeForNotes.d.ts +3 -7
- package/dist/cjs/components/MadeForNotes.js +7 -9
- package/dist/cjs/components/PromoCode.d.ts +3 -3
- package/dist/cjs/components/PromoCode.js +7 -5
- package/dist/esm/components/ItemOption.js +2 -0
- package/dist/esm/components/MadeForNotes.d.ts +3 -7
- package/dist/esm/components/MadeForNotes.js +8 -10
- package/dist/esm/components/PromoCode.d.ts +3 -3
- package/dist/esm/components/PromoCode.js +8 -6
- package/package.json +78 -75
package/LICENSE.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Open Tender Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Open Tender Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# Open Tender Store
|
|
2
|
-
|
|
3
|
-
A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API.
|
|
1
|
+
# Open Tender Store
|
|
2
|
+
|
|
3
|
+
A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API.
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KeypadProps, MadeForNotesProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const MadeForNotes: ({ subtitle, hasMadeFor, madeFor, setMadeFor,
|
|
3
|
+
declare const MadeForNotes: ({ subtitle, hasMadeFor, madeFor, setMadeFor, close, children, KeypadView }: {
|
|
4
4
|
subtitle: string;
|
|
5
5
|
hasMadeFor: boolean;
|
|
6
6
|
madeFor: string | null;
|
|
7
7
|
setMadeFor: (madeFor: string) => void;
|
|
8
|
-
hasNotes: boolean;
|
|
9
|
-
notes: string | null;
|
|
10
|
-
setNotes: (notes: string) => void;
|
|
11
8
|
close: () => void;
|
|
12
9
|
children: (props: MadeForNotesProps) => ReactNode;
|
|
13
|
-
|
|
14
|
-
TextAreaView: (props: TextAreaProps) => ReactNode;
|
|
10
|
+
KeypadView: (props: KeypadProps) => ReactNode;
|
|
15
11
|
}) => React.ReactNode;
|
|
16
12
|
export default MadeForNotes;
|
|
@@ -4,25 +4,23 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var react_1 = tslib_1.__importStar(require("react"));
|
|
5
5
|
var hooks_1 = require("../app/hooks");
|
|
6
6
|
var slices_1 = require("../slices");
|
|
7
|
-
var
|
|
8
|
-
var TextArea_1 = tslib_1.__importDefault(require("./TextArea"));
|
|
7
|
+
var Keypad_1 = tslib_1.__importDefault(require("./Keypad"));
|
|
9
8
|
var MadeForNotes = function (_a) {
|
|
10
|
-
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor,
|
|
9
|
+
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor, close = _a.close, children = _a.children, KeypadView = _a.KeypadView;
|
|
11
10
|
var _b = (0, hooks_1.useAppSelector)(slices_1.selectKioskConfig), config = _b.madeForNotes, modalContentConfig = _b.modalContent;
|
|
12
11
|
var handlers = { submit: close };
|
|
13
|
-
var
|
|
14
|
-
|
|
12
|
+
var keypadHandlers = (0, react_1.useMemo)(function () { return ({
|
|
13
|
+
change: setMadeFor
|
|
14
|
+
}); }, [setMadeFor]);
|
|
15
|
+
var renderKeypad = (0, react_1.useCallback)(function () { return (react_1.default.createElement(Keypad_1.default, { type: "default", handlers: keypadHandlers, value: madeFor !== null && madeFor !== void 0 ? madeFor : '', children: KeypadView })); }, [keypadHandlers, madeFor, KeypadView]);
|
|
15
16
|
return children({
|
|
16
17
|
config: config,
|
|
17
18
|
handlers: handlers,
|
|
18
19
|
subtitle: subtitle,
|
|
19
20
|
hasMadeFor: hasMadeFor,
|
|
20
21
|
madeFor: madeFor,
|
|
21
|
-
hasNotes: hasNotes,
|
|
22
|
-
notes: notes,
|
|
23
22
|
modalContentConfig: modalContentConfig,
|
|
24
|
-
|
|
25
|
-
renderTextArea: renderTextArea
|
|
23
|
+
renderKeypad: renderKeypad
|
|
26
24
|
});
|
|
27
25
|
};
|
|
28
26
|
exports.default = MadeForNotes;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ErrorMessageProps,
|
|
1
|
+
import { ErrorMessageProps, KeypadProps, PromoCodeProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const PromoCode: ({ close, children,
|
|
3
|
+
declare const PromoCode: ({ close, children, KeypadView, ErrorMessageView }: {
|
|
4
4
|
close: () => void;
|
|
5
5
|
children: (props: PromoCodeProps) => ReactNode;
|
|
6
|
-
|
|
6
|
+
KeypadView: (props: KeypadProps) => ReactNode;
|
|
7
7
|
ErrorMessageView: (props: ErrorMessageProps) => ReactNode;
|
|
8
8
|
}) => React.ReactNode;
|
|
9
9
|
export default PromoCode;
|
|
@@ -6,9 +6,9 @@ var react_1 = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
var hooks_1 = require("../app/hooks");
|
|
7
7
|
var slices_1 = require("../slices");
|
|
8
8
|
var ErrorMessage_1 = tslib_1.__importDefault(require("./ErrorMessage"));
|
|
9
|
-
var
|
|
9
|
+
var Keypad_1 = tslib_1.__importDefault(require("./Keypad"));
|
|
10
10
|
var PromoCode = function (_a) {
|
|
11
|
-
var close = _a.close, children = _a.children,
|
|
11
|
+
var close = _a.close, children = _a.children, KeypadView = _a.KeypadView, ErrorMessageView = _a.ErrorMessageView;
|
|
12
12
|
var dispatch = (0, hooks_1.useAppDispatch)();
|
|
13
13
|
var _b = (0, react_1.useState)(''), promoCode = _b[0], setPromoCode = _b[1];
|
|
14
14
|
var _c = (0, react_1.useState)(false), submitted = _c[0], setSubmitted = _c[1];
|
|
@@ -34,15 +34,17 @@ var PromoCode = function (_a) {
|
|
|
34
34
|
}
|
|
35
35
|
}, [submitted, isLoading, error, close]);
|
|
36
36
|
var renderErrorMessage = (0, react_1.useCallback)(function (errMsg) { return (react_1.default.createElement(ErrorMessage_1.default, { content: errMsg, children: ErrorMessageView })); }, [ErrorMessageView]);
|
|
37
|
-
var
|
|
37
|
+
var keypadHandlers = (0, react_1.useMemo)(function () { return ({
|
|
38
|
+
change: setPromoCode
|
|
39
|
+
}); }, [setPromoCode]);
|
|
40
|
+
var renderKeypad = (0, react_1.useCallback)(function () { return (react_1.default.createElement(Keypad_1.default, { type: "default", handlers: keypadHandlers, value: promoCode, children: KeypadView })); }, [keypadHandlers, promoCode, KeypadView]);
|
|
38
41
|
return children({
|
|
39
42
|
config: config,
|
|
40
43
|
handlers: handlers,
|
|
41
|
-
promoCode: promoCode,
|
|
42
44
|
errMsg: errMsg,
|
|
43
45
|
renderErrorMessage: renderErrorMessage,
|
|
44
46
|
modalContentConfig: modalContentConfig,
|
|
45
|
-
|
|
47
|
+
renderKeypad: renderKeypad
|
|
46
48
|
});
|
|
47
49
|
};
|
|
48
50
|
exports.default = PromoCode;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KeypadProps, MadeForNotesProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const MadeForNotes: ({ subtitle, hasMadeFor, madeFor, setMadeFor,
|
|
3
|
+
declare const MadeForNotes: ({ subtitle, hasMadeFor, madeFor, setMadeFor, close, children, KeypadView }: {
|
|
4
4
|
subtitle: string;
|
|
5
5
|
hasMadeFor: boolean;
|
|
6
6
|
madeFor: string | null;
|
|
7
7
|
setMadeFor: (madeFor: string) => void;
|
|
8
|
-
hasNotes: boolean;
|
|
9
|
-
notes: string | null;
|
|
10
|
-
setNotes: (notes: string) => void;
|
|
11
8
|
close: () => void;
|
|
12
9
|
children: (props: MadeForNotesProps) => ReactNode;
|
|
13
|
-
|
|
14
|
-
TextAreaView: (props: TextAreaProps) => ReactNode;
|
|
10
|
+
KeypadView: (props: KeypadProps) => ReactNode;
|
|
15
11
|
}) => React.ReactNode;
|
|
16
12
|
export default MadeForNotes;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import React, { useCallback } from 'react';
|
|
1
|
+
import React, { useCallback, useMemo } from 'react';
|
|
2
2
|
import { useAppSelector } from '../app/hooks';
|
|
3
3
|
import { selectKioskConfig } from '../slices';
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as TextAreaContainer } from './TextArea';
|
|
4
|
+
import { default as KeypadContainer } from './Keypad';
|
|
6
5
|
var MadeForNotes = function (_a) {
|
|
7
|
-
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor,
|
|
6
|
+
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor, close = _a.close, children = _a.children, KeypadView = _a.KeypadView;
|
|
8
7
|
var _b = useAppSelector(selectKioskConfig), config = _b.madeForNotes, modalContentConfig = _b.modalContent;
|
|
9
8
|
var handlers = { submit: close };
|
|
10
|
-
var
|
|
11
|
-
|
|
9
|
+
var keypadHandlers = useMemo(function () { return ({
|
|
10
|
+
change: setMadeFor
|
|
11
|
+
}); }, [setMadeFor]);
|
|
12
|
+
var renderKeypad = useCallback(function () { return (React.createElement(KeypadContainer, { type: "default", handlers: keypadHandlers, value: madeFor !== null && madeFor !== void 0 ? madeFor : '', children: KeypadView })); }, [keypadHandlers, madeFor, KeypadView]);
|
|
12
13
|
return children({
|
|
13
14
|
config: config,
|
|
14
15
|
handlers: handlers,
|
|
15
16
|
subtitle: subtitle,
|
|
16
17
|
hasMadeFor: hasMadeFor,
|
|
17
18
|
madeFor: madeFor,
|
|
18
|
-
hasNotes: hasNotes,
|
|
19
|
-
notes: notes,
|
|
20
19
|
modalContentConfig: modalContentConfig,
|
|
21
|
-
|
|
22
|
-
renderTextArea: renderTextArea
|
|
20
|
+
renderKeypad: renderKeypad
|
|
23
21
|
});
|
|
24
22
|
};
|
|
25
23
|
export default MadeForNotes;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ErrorMessageProps,
|
|
1
|
+
import { ErrorMessageProps, KeypadProps, PromoCodeProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const PromoCode: ({ close, children,
|
|
3
|
+
declare const PromoCode: ({ close, children, KeypadView, ErrorMessageView }: {
|
|
4
4
|
close: () => void;
|
|
5
5
|
children: (props: PromoCodeProps) => ReactNode;
|
|
6
|
-
|
|
6
|
+
KeypadView: (props: KeypadProps) => ReactNode;
|
|
7
7
|
ErrorMessageView: (props: ErrorMessageProps) => ReactNode;
|
|
8
8
|
}) => React.ReactNode;
|
|
9
9
|
export default PromoCode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { handleRespError } from '@open-tender/utils';
|
|
2
|
-
import React, { useCallback, useEffect, useState } from 'react';
|
|
2
|
+
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
3
|
import { useAppDispatch, useAppSelector } from '../app/hooks';
|
|
4
4
|
import { addPromoCode, selectKioskConfig, selectOrder } from '../slices';
|
|
5
5
|
import { default as ErrorMessageContainer } from './ErrorMessage';
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as KeypadContainer } from './Keypad';
|
|
7
7
|
var PromoCode = function (_a) {
|
|
8
|
-
var close = _a.close, children = _a.children,
|
|
8
|
+
var close = _a.close, children = _a.children, KeypadView = _a.KeypadView, ErrorMessageView = _a.ErrorMessageView;
|
|
9
9
|
var dispatch = useAppDispatch();
|
|
10
10
|
var _b = useState(''), promoCode = _b[0], setPromoCode = _b[1];
|
|
11
11
|
var _c = useState(false), submitted = _c[0], setSubmitted = _c[1];
|
|
@@ -31,15 +31,17 @@ var PromoCode = function (_a) {
|
|
|
31
31
|
}
|
|
32
32
|
}, [submitted, isLoading, error, close]);
|
|
33
33
|
var renderErrorMessage = useCallback(function (errMsg) { return (React.createElement(ErrorMessageContainer, { content: errMsg, children: ErrorMessageView })); }, [ErrorMessageView]);
|
|
34
|
-
var
|
|
34
|
+
var keypadHandlers = useMemo(function () { return ({
|
|
35
|
+
change: setPromoCode
|
|
36
|
+
}); }, [setPromoCode]);
|
|
37
|
+
var renderKeypad = useCallback(function () { return (React.createElement(KeypadContainer, { type: "default", handlers: keypadHandlers, value: promoCode, children: KeypadView })); }, [keypadHandlers, promoCode, KeypadView]);
|
|
35
38
|
return children({
|
|
36
39
|
config: config,
|
|
37
40
|
handlers: handlers,
|
|
38
|
-
promoCode: promoCode,
|
|
39
41
|
errMsg: errMsg,
|
|
40
42
|
renderErrorMessage: renderErrorMessage,
|
|
41
43
|
modalContentConfig: modalContentConfig,
|
|
42
|
-
|
|
44
|
+
renderKeypad: renderKeypad
|
|
43
45
|
});
|
|
44
46
|
};
|
|
45
47
|
export default PromoCode;
|
package/package.json
CHANGED
|
@@ -1,75 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@open-tender/store",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
|
|
5
|
-
"main": "./dist/cjs/index.js",
|
|
6
|
-
"module": "./dist/esm/index.js",
|
|
7
|
-
"types": "./dist/esm/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "rm -rf ./dist/ && yarn build:esm && yarn build:cjs",
|
|
13
|
-
"build:esm": "tsc",
|
|
14
|
-
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
|
|
15
|
-
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
|
|
16
|
-
"lint:fix": "eslint . --fix",
|
|
17
|
-
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\""
|
|
18
|
-
},
|
|
19
|
-
"homepage": "https://github.com/open-tender/open-tender-store",
|
|
20
|
-
"bugs": "https://github.com/open-tender/open-tender-store/issues",
|
|
21
|
-
"repository": {
|
|
22
|
-
"url": "https://github.com/open-tender/open-tender-store",
|
|
23
|
-
"type": "git"
|
|
24
|
-
},
|
|
25
|
-
"author": "JC Harrington <jc@opentender.io> (https://www.opentender.io)",
|
|
26
|
-
"keywords": [
|
|
27
|
-
"open-tender",
|
|
28
|
-
"react",
|
|
29
|
-
"redux",
|
|
30
|
-
"ecommerce",
|
|
31
|
-
"restaurants"
|
|
32
|
-
],
|
|
33
|
-
"license": "MIT",
|
|
34
|
-
"private": false,
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@babel/core": "^7.23.6",
|
|
37
|
-
"@emotion/react": "^11.11.1",
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"eslint": "^
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"eslint
|
|
50
|
-
"eslint-
|
|
51
|
-
"eslint-plugin-
|
|
52
|
-
"prettier": "^
|
|
53
|
-
"react": "^
|
|
54
|
-
"react-
|
|
55
|
-
"
|
|
56
|
-
"react
|
|
57
|
-
"react-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@open-tender/store",
|
|
3
|
+
"version": "1.1.51",
|
|
4
|
+
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
|
|
5
|
+
"main": "./dist/cjs/index.js",
|
|
6
|
+
"module": "./dist/esm/index.js",
|
|
7
|
+
"types": "./dist/esm/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rm -rf ./dist/ && yarn build:esm && yarn build:cjs",
|
|
13
|
+
"build:esm": "tsc",
|
|
14
|
+
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
|
|
15
|
+
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
|
|
16
|
+
"lint:fix": "eslint . --fix",
|
|
17
|
+
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\""
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://github.com/open-tender/open-tender-store",
|
|
20
|
+
"bugs": "https://github.com/open-tender/open-tender-store/issues",
|
|
21
|
+
"repository": {
|
|
22
|
+
"url": "https://github.com/open-tender/open-tender-store",
|
|
23
|
+
"type": "git"
|
|
24
|
+
},
|
|
25
|
+
"author": "JC Harrington <jc@opentender.io> (https://www.opentender.io)",
|
|
26
|
+
"keywords": [
|
|
27
|
+
"open-tender",
|
|
28
|
+
"react",
|
|
29
|
+
"redux",
|
|
30
|
+
"ecommerce",
|
|
31
|
+
"restaurants"
|
|
32
|
+
],
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"private": false,
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@babel/core": "^7.23.6",
|
|
37
|
+
"@emotion/react": "^11.11.1",
|
|
38
|
+
"@open-tender/types": "^0.4.58",
|
|
39
|
+
"@open-tender/ui": "^0.3.49",
|
|
40
|
+
"@open-tender/utils": "^0.4.31",
|
|
41
|
+
"@reduxjs/toolkit": "^2.0.1",
|
|
42
|
+
"@types/react": "^18.2.45",
|
|
43
|
+
"@types/react-dom": "^18.2.18",
|
|
44
|
+
"@types/uuid": "^9.0.7",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
46
|
+
"@typescript-eslint/parser": "^6.14.0",
|
|
47
|
+
"date-fns": "2.30.0",
|
|
48
|
+
"date-fns-tz": "^2.0.0",
|
|
49
|
+
"eslint": "^8.56.0",
|
|
50
|
+
"eslint-config-prettier": "^9.1.0",
|
|
51
|
+
"eslint-plugin-import": "^2.29.1",
|
|
52
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
53
|
+
"eslint-plugin-react": "^7.33.2",
|
|
54
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
55
|
+
"prettier": "^3.1.1",
|
|
56
|
+
"react": "^18.2.0",
|
|
57
|
+
"react-device-detect": "^2.2.3",
|
|
58
|
+
"react-dom": "^18.2.0",
|
|
59
|
+
"react-fast-compare": "^3.2.2",
|
|
60
|
+
"react-redux": "^9.0.4",
|
|
61
|
+
"tslib": "^2.6.2",
|
|
62
|
+
"typescript": "^5.3.3",
|
|
63
|
+
"uuid": "^9.0.1"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"@emotion/react": "^11.11.1",
|
|
67
|
+
"@open-tender/types": "^0.4.58",
|
|
68
|
+
"@open-tender/ui": "^0.3.49",
|
|
69
|
+
"@open-tender/utils": "^0.4.31",
|
|
70
|
+
"@reduxjs/toolkit": "^2.0.1",
|
|
71
|
+
"date-fns": "2.30.0",
|
|
72
|
+
"date-fns-tz": "^2.0.0",
|
|
73
|
+
"react": "^18.2.0",
|
|
74
|
+
"react-device-detect": "^2.2.3",
|
|
75
|
+
"react-dom": "^18.2.0",
|
|
76
|
+
"uuid": "^9.0.1"
|
|
77
|
+
}
|
|
78
|
+
}
|