@open-tender/store 0.5.24 → 0.5.26
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/.DS_Store
CHANGED
|
Binary file
|
package/dist/cjs/slices/kiosk.js
CHANGED
|
@@ -30,8 +30,9 @@ var KioskActionType;
|
|
|
30
30
|
var enhanceTheme = function (theme) {
|
|
31
31
|
var icons = tslib_1.__assign(tslib_1.__assign({}, theme.icons), { strokeLinejoin: 'miter', strokeLinecap: 'square' });
|
|
32
32
|
var kiosk = {
|
|
33
|
-
padding: '
|
|
34
|
-
gutter: '
|
|
33
|
+
padding: '2rem',
|
|
34
|
+
gutter: '1rem',
|
|
35
|
+
gutterSmall: '0.5rem'
|
|
35
36
|
};
|
|
36
37
|
return tslib_1.__assign(tslib_1.__assign({}, theme), { icons: icons, kiosk: kiosk });
|
|
37
38
|
};
|
|
@@ -104,13 +105,15 @@ var kioskSlice = (0, toolkit_1.createSlice)({
|
|
|
104
105
|
extraReducers: function (builder) {
|
|
105
106
|
builder
|
|
106
107
|
.addCase(exports.fetchKioskConfig.fulfilled, function (state, action) {
|
|
107
|
-
var _a = action.payload, app = _a.app, store = _a.store, revenueCenterId = _a.revenueCenterId, brand = _a.brand, content = _a.content, theme = _a.theme;
|
|
108
|
+
var _a = action.payload, app = _a.app, store = _a.store, revenueCenterId = _a.revenueCenterId, brand = _a.brand, content = _a.content, theme = _a.theme, ratio = _a.ratio, displaySettings = _a.displaySettings;
|
|
108
109
|
state.app = app;
|
|
109
110
|
state.store = store;
|
|
110
111
|
state.revenueCenterId = revenueCenterId;
|
|
111
112
|
state.brand = brand;
|
|
112
113
|
state.content = content;
|
|
113
114
|
state.theme = theme;
|
|
115
|
+
state.ratio = ratio;
|
|
116
|
+
state.displaySettings = displaySettings;
|
|
114
117
|
state.loading = 'idle';
|
|
115
118
|
state.retries = 0;
|
|
116
119
|
state.error = null;
|
package/dist/esm/slices/kiosk.js
CHANGED
|
@@ -27,8 +27,9 @@ export var KioskActionType;
|
|
|
27
27
|
var enhanceTheme = function (theme) {
|
|
28
28
|
var icons = __assign(__assign({}, theme.icons), { strokeLinejoin: 'miter', strokeLinecap: 'square' });
|
|
29
29
|
var kiosk = {
|
|
30
|
-
padding: '
|
|
31
|
-
gutter: '
|
|
30
|
+
padding: '2rem',
|
|
31
|
+
gutter: '1rem',
|
|
32
|
+
gutterSmall: '0.5rem'
|
|
32
33
|
};
|
|
33
34
|
return __assign(__assign({}, theme), { icons: icons, kiosk: kiosk });
|
|
34
35
|
};
|
|
@@ -101,13 +102,15 @@ var kioskSlice = createSlice({
|
|
|
101
102
|
extraReducers: function (builder) {
|
|
102
103
|
builder
|
|
103
104
|
.addCase(fetchKioskConfig.fulfilled, function (state, action) {
|
|
104
|
-
var _a = action.payload, app = _a.app, store = _a.store, revenueCenterId = _a.revenueCenterId, brand = _a.brand, content = _a.content, theme = _a.theme;
|
|
105
|
+
var _a = action.payload, app = _a.app, store = _a.store, revenueCenterId = _a.revenueCenterId, brand = _a.brand, content = _a.content, theme = _a.theme, ratio = _a.ratio, displaySettings = _a.displaySettings;
|
|
105
106
|
state.app = app;
|
|
106
107
|
state.store = store;
|
|
107
108
|
state.revenueCenterId = revenueCenterId;
|
|
108
109
|
state.brand = brand;
|
|
109
110
|
state.content = content;
|
|
110
111
|
state.theme = theme;
|
|
112
|
+
state.ratio = ratio;
|
|
113
|
+
state.displaySettings = displaySettings;
|
|
111
114
|
state.loading = 'idle';
|
|
112
115
|
state.retries = 0;
|
|
113
116
|
state.error = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/store",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.26",
|
|
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",
|