@open-tender/store 1.1.220 → 1.1.221

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.
@@ -10,12 +10,12 @@ var CategoryItem = function (_a) {
10
10
  var dispatch = (0, hooks_1.useAppDispatch)();
11
11
  var apiUrl = (0, hooks_1.useAppSelector)(slices_1.selectKioskApi);
12
12
  var config = (0, hooks_1.useAppSelector)(slices_1.selectKioskConfig).categoryItem;
13
- var display_cals = (0, hooks_1.useAppSelector)(slices_1.selectStoreSettings).display_cals;
13
+ var _b = (0, hooks_1.useAppSelector)(slices_1.selectStoreSettings), display_cals = _b.display_cals, navigation_page = _b.navigation_page;
14
14
  var soldOut = (0, hooks_1.useAppSelector)(slices_1.selectMenu).soldOut;
15
15
  var cartCounts = (0, hooks_1.useAppSelector)(slices_1.selectCartCounts);
16
16
  var hasPoints = false;
17
17
  var displaySettings = {};
18
- var _b = displaySettings || {}, _c = _b.calories, showCals = _c === void 0 ? false : _c, _d = _b.tags, showTags = _d === void 0 ? false : _d, _e = _b.allergens, showAllergens = _e === void 0 ? false : _e;
18
+ var _c = displaySettings || {}, _d = _c.calories, showCals = _d === void 0 ? false : _d, _e = _c.tags, showTags = _e === void 0 ? false : _e, _f = _c.allergens, showAllergens = _f === void 0 ? false : _f;
19
19
  var showDesc = 'SHOW';
20
20
  var orderItem = (0, react_1.useMemo)(function () {
21
21
  return favorite
@@ -37,7 +37,8 @@ var CategoryItem = function (_a) {
37
37
  handlers: handlers,
38
38
  apiUrl: apiUrl,
39
39
  placeholder: placeholder,
40
- displayCals: display_cals
40
+ displayCals: display_cals,
41
+ navigationType: navigation_page
41
42
  });
42
43
  };
43
44
  exports.default = (0, react_1.memo)(CategoryItem, areEqualProps);
@@ -8,12 +8,12 @@ var CategoryItem = function (_a) {
8
8
  var dispatch = useAppDispatch();
9
9
  var apiUrl = useAppSelector(selectKioskApi);
10
10
  var config = useAppSelector(selectKioskConfig).categoryItem;
11
- var display_cals = useAppSelector(selectStoreSettings).display_cals;
11
+ var _b = useAppSelector(selectStoreSettings), display_cals = _b.display_cals, navigation_page = _b.navigation_page;
12
12
  var soldOut = useAppSelector(selectMenu).soldOut;
13
13
  var cartCounts = useAppSelector(selectCartCounts);
14
14
  var hasPoints = false;
15
15
  var displaySettings = {};
16
- var _b = displaySettings || {}, _c = _b.calories, showCals = _c === void 0 ? false : _c, _d = _b.tags, showTags = _d === void 0 ? false : _d, _e = _b.allergens, showAllergens = _e === void 0 ? false : _e;
16
+ var _c = displaySettings || {}, _d = _c.calories, showCals = _d === void 0 ? false : _d, _e = _c.tags, showTags = _e === void 0 ? false : _e, _f = _c.allergens, showAllergens = _f === void 0 ? false : _f;
17
17
  var showDesc = 'SHOW';
18
18
  var orderItem = useMemo(function () {
19
19
  return favorite
@@ -35,7 +35,8 @@ var CategoryItem = function (_a) {
35
35
  handlers: handlers,
36
36
  apiUrl: apiUrl,
37
37
  placeholder: placeholder,
38
- displayCals: display_cals
38
+ displayCals: display_cals,
39
+ navigationType: navigation_page
39
40
  });
40
41
  };
41
42
  export default memo(CategoryItem, areEqualProps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "1.1.220",
3
+ "version": "1.1.221",
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",
@@ -62,7 +62,7 @@
62
62
  "peerDependencies": {
63
63
  "@emotion/react": "^11.11.1",
64
64
  "@open-tender/types": "^0.4.91",
65
- "@open-tender/ui": "^0.4.26",
65
+ "@open-tender/ui": "^0.4.27",
66
66
  "@open-tender/utils": "^0.4.67",
67
67
  "@reduxjs/toolkit": "^2.0.1",
68
68
  "date-fns": "2.30.0",