@open-tender/store 1.1.55 → 1.1.57
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/cjs/components/MadeForName.d.ts +2 -1
- package/dist/cjs/components/MadeForName.js +2 -2
- package/dist/cjs/components/MadeForNotes.d.ts +2 -1
- package/dist/cjs/components/MadeForNotes.js +2 -2
- package/dist/esm/components/MadeForName.d.ts +2 -1
- package/dist/esm/components/MadeForName.js +2 -2
- package/dist/esm/components/MadeForNotes.d.ts +2 -1
- package/dist/esm/components/MadeForNotes.js +2 -2
- package/package.json +3 -3
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { KeypadProps, KeypadModalProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const MadeForName: ({ subtitle, hasMadeFor, madeFor, setMadeFor, close, children, KeypadView }: {
|
|
3
|
+
declare const MadeForName: ({ subtitle, hasMadeFor, madeFor, setMadeFor, close, children, KeypadView, title }: {
|
|
4
4
|
subtitle: string;
|
|
5
|
+
title: string;
|
|
5
6
|
hasMadeFor: boolean;
|
|
6
7
|
madeFor: string | null;
|
|
7
8
|
setMadeFor: (madeFor: string) => void;
|
|
@@ -6,7 +6,7 @@ var hooks_1 = require("../app/hooks");
|
|
|
6
6
|
var slices_1 = require("../slices");
|
|
7
7
|
var Keypad_1 = tslib_1.__importDefault(require("./Keypad"));
|
|
8
8
|
var MadeForName = function (_a) {
|
|
9
|
-
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor, close = _a.close, children = _a.children, KeypadView = _a.KeypadView;
|
|
9
|
+
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor, close = _a.close, children = _a.children, KeypadView = _a.KeypadView, title = _a.title;
|
|
10
10
|
var _b = (0, hooks_1.useAppSelector)(slices_1.selectKioskConfig), config = _b.keypadModal, modalContentConfig = _b.modalContent;
|
|
11
11
|
var handlers = { submit: close };
|
|
12
12
|
var keypadHandlers = (0, react_1.useMemo)(function () { return ({
|
|
@@ -20,7 +20,7 @@ var MadeForName = function (_a) {
|
|
|
20
20
|
modalContentConfig: modalContentConfig,
|
|
21
21
|
handlers: handlers,
|
|
22
22
|
subtitle: subtitle,
|
|
23
|
-
title:
|
|
23
|
+
title: title,
|
|
24
24
|
renderKeypad: renderKeypad
|
|
25
25
|
});
|
|
26
26
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { KeypadProps, KeypadModalProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const MadeForNotes: ({ subtitle, hasNotes, notes, setNotes, close, children, KeypadView }: {
|
|
3
|
+
declare const MadeForNotes: ({ subtitle, hasNotes, notes, setNotes, close, children, KeypadView, title }: {
|
|
4
4
|
subtitle: string;
|
|
5
5
|
hasNotes: boolean;
|
|
6
6
|
notes: string | null;
|
|
7
|
+
title: string;
|
|
7
8
|
setNotes: (notes: string) => void;
|
|
8
9
|
close: () => void;
|
|
9
10
|
children: (props: KeypadModalProps) => ReactNode;
|
|
@@ -6,7 +6,7 @@ var hooks_1 = require("../app/hooks");
|
|
|
6
6
|
var slices_1 = require("../slices");
|
|
7
7
|
var Keypad_1 = tslib_1.__importDefault(require("./Keypad"));
|
|
8
8
|
var MadeForNotes = function (_a) {
|
|
9
|
-
var subtitle = _a.subtitle, hasNotes = _a.hasNotes, notes = _a.notes, setNotes = _a.setNotes, close = _a.close, children = _a.children, KeypadView = _a.KeypadView;
|
|
9
|
+
var subtitle = _a.subtitle, hasNotes = _a.hasNotes, notes = _a.notes, setNotes = _a.setNotes, close = _a.close, children = _a.children, KeypadView = _a.KeypadView, title = _a.title;
|
|
10
10
|
var _b = (0, hooks_1.useAppSelector)(slices_1.selectKioskConfig), config = _b.keypadModal, modalContentConfig = _b.modalContent;
|
|
11
11
|
var handlers = { submit: close };
|
|
12
12
|
var keypadHandlers = (0, react_1.useMemo)(function () { return ({
|
|
@@ -20,7 +20,7 @@ var MadeForNotes = function (_a) {
|
|
|
20
20
|
modalContentConfig: modalContentConfig,
|
|
21
21
|
handlers: handlers,
|
|
22
22
|
subtitle: subtitle,
|
|
23
|
-
title:
|
|
23
|
+
title: title,
|
|
24
24
|
renderKeypad: renderKeypad
|
|
25
25
|
});
|
|
26
26
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { KeypadProps, KeypadModalProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const MadeForName: ({ subtitle, hasMadeFor, madeFor, setMadeFor, close, children, KeypadView }: {
|
|
3
|
+
declare const MadeForName: ({ subtitle, hasMadeFor, madeFor, setMadeFor, close, children, KeypadView, title }: {
|
|
4
4
|
subtitle: string;
|
|
5
|
+
title: string;
|
|
5
6
|
hasMadeFor: boolean;
|
|
6
7
|
madeFor: string | null;
|
|
7
8
|
setMadeFor: (madeFor: string) => void;
|
|
@@ -3,7 +3,7 @@ import { useAppSelector } from '../app/hooks';
|
|
|
3
3
|
import { selectKioskConfig } from '../slices';
|
|
4
4
|
import { default as KeypadContainer } from './Keypad';
|
|
5
5
|
var MadeForName = function (_a) {
|
|
6
|
-
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor, close = _a.close, children = _a.children, KeypadView = _a.KeypadView;
|
|
6
|
+
var subtitle = _a.subtitle, hasMadeFor = _a.hasMadeFor, madeFor = _a.madeFor, setMadeFor = _a.setMadeFor, close = _a.close, children = _a.children, KeypadView = _a.KeypadView, title = _a.title;
|
|
7
7
|
var _b = useAppSelector(selectKioskConfig), config = _b.keypadModal, modalContentConfig = _b.modalContent;
|
|
8
8
|
var handlers = { submit: close };
|
|
9
9
|
var keypadHandlers = useMemo(function () { return ({
|
|
@@ -17,7 +17,7 @@ var MadeForName = function (_a) {
|
|
|
17
17
|
modalContentConfig: modalContentConfig,
|
|
18
18
|
handlers: handlers,
|
|
19
19
|
subtitle: subtitle,
|
|
20
|
-
title:
|
|
20
|
+
title: title,
|
|
21
21
|
renderKeypad: renderKeypad
|
|
22
22
|
});
|
|
23
23
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { KeypadProps, KeypadModalProps } from '@open-tender/ui';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
declare const MadeForNotes: ({ subtitle, hasNotes, notes, setNotes, close, children, KeypadView }: {
|
|
3
|
+
declare const MadeForNotes: ({ subtitle, hasNotes, notes, setNotes, close, children, KeypadView, title }: {
|
|
4
4
|
subtitle: string;
|
|
5
5
|
hasNotes: boolean;
|
|
6
6
|
notes: string | null;
|
|
7
|
+
title: string;
|
|
7
8
|
setNotes: (notes: string) => void;
|
|
8
9
|
close: () => void;
|
|
9
10
|
children: (props: KeypadModalProps) => ReactNode;
|
|
@@ -3,7 +3,7 @@ import { useAppSelector } from '../app/hooks';
|
|
|
3
3
|
import { selectKioskConfig } from '../slices';
|
|
4
4
|
import { default as KeypadContainer } from './Keypad';
|
|
5
5
|
var MadeForNotes = function (_a) {
|
|
6
|
-
var subtitle = _a.subtitle, hasNotes = _a.hasNotes, notes = _a.notes, setNotes = _a.setNotes, close = _a.close, children = _a.children, KeypadView = _a.KeypadView;
|
|
6
|
+
var subtitle = _a.subtitle, hasNotes = _a.hasNotes, notes = _a.notes, setNotes = _a.setNotes, close = _a.close, children = _a.children, KeypadView = _a.KeypadView, title = _a.title;
|
|
7
7
|
var _b = useAppSelector(selectKioskConfig), config = _b.keypadModal, modalContentConfig = _b.modalContent;
|
|
8
8
|
var handlers = { submit: close };
|
|
9
9
|
var keypadHandlers = useMemo(function () { return ({
|
|
@@ -17,7 +17,7 @@ var MadeForNotes = function (_a) {
|
|
|
17
17
|
modalContentConfig: modalContentConfig,
|
|
18
18
|
handlers: handlers,
|
|
19
19
|
subtitle: subtitle,
|
|
20
|
-
title:
|
|
20
|
+
title: title,
|
|
21
21
|
renderKeypad: renderKeypad
|
|
22
22
|
});
|
|
23
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/store",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.57",
|
|
4
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
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@babel/core": "^7.23.6",
|
|
37
37
|
"@emotion/react": "^11.11.1",
|
|
38
38
|
"@open-tender/types": "^0.4.58",
|
|
39
|
-
"@open-tender/ui": "^0.3.
|
|
39
|
+
"@open-tender/ui": "^0.3.51",
|
|
40
40
|
"@open-tender/utils": "^0.4.31",
|
|
41
41
|
"@reduxjs/toolkit": "^2.0.1",
|
|
42
42
|
"@types/react": "^18.2.45",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@emotion/react": "^11.11.1",
|
|
67
67
|
"@open-tender/types": "^0.4.58",
|
|
68
|
-
"@open-tender/ui": "^0.3.
|
|
68
|
+
"@open-tender/ui": "^0.3.51",
|
|
69
69
|
"@open-tender/utils": "^0.4.31",
|
|
70
70
|
"@reduxjs/toolkit": "^2.0.1",
|
|
71
71
|
"date-fns": "2.30.0",
|