ordering-ui-admin-external 1.17.0 → 1.19.0

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.
Files changed (87) hide show
  1. package/_bundles/{ordering-ui-admin.6c1919d6b0356a2f522f.js → ordering-ui-admin.661a37246ac77dcc4edf.js} +2 -2
  2. package/_modules/components/Delivery/DeliveryUsersListing/index.js +4 -2
  3. package/_modules/components/Delivery/DriversGroupLogistics/index.js +1 -1
  4. package/_modules/components/Delivery/DriversGroupLogs/index.js +1 -0
  5. package/_modules/components/Delivery/UsersList/index.js +47 -51
  6. package/_modules/components/Delivery/UsersList/styles.js +6 -4
  7. package/_modules/components/Home/HomePage/index.js +7 -1
  8. package/_modules/components/Login/LoginForm/index.js +7 -1
  9. package/_modules/components/Marketing/EnterprisePromotionListing/index.js +1 -1
  10. package/_modules/components/Messages/MessagesListing/index.js +1 -1
  11. package/_modules/components/MyProducts/AdvancedSettings/ButtonShadow.js +98 -0
  12. package/_modules/components/MyProducts/AdvancedSettings/FontStyleGroup.js +28 -7
  13. package/_modules/components/MyProducts/AdvancedSettings/HideCheckBox.js +47 -0
  14. package/_modules/components/MyProducts/AdvancedSettings/ImageBox.js +12 -3
  15. package/_modules/components/MyProducts/AdvancedSettings/SettingComponent.js +15 -15
  16. package/_modules/components/MyProducts/AdvancedSettings/index.js +102 -117
  17. package/_modules/components/MyProducts/AppResources/index.js +132 -0
  18. package/_modules/components/MyProducts/OrderingWebsite/index.js +47 -2
  19. package/_modules/components/MyProducts/OrderingWebsite/styles.js +13 -3
  20. package/_modules/components/OrderingProducts/SiteTheme/index.js +13 -9
  21. package/_modules/components/Orders/DeliveriesManager/index.js +1 -1
  22. package/_modules/components/Orders/Messages/index.js +25 -94
  23. package/_modules/components/Orders/OrderBill/index.js +3 -3
  24. package/_modules/components/Orders/OrderNotification/index.js +4 -2
  25. package/_modules/components/Orders/OrdersManager/index.js +3 -1
  26. package/_modules/components/SidebarMenu/index.js +34 -33
  27. package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +1 -1
  28. package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
  29. package/_modules/components/Stores/BusinessDetails/index.js +27 -8
  30. package/_modules/components/Stores/BusinessLocation/index.js +8 -7
  31. package/_modules/components/Stores/BusinessPlace/index.js +127 -0
  32. package/_modules/components/Stores/BusinessPlace/styles.js +55 -0
  33. package/_modules/components/Stores/BusinessPlaceGroup/index.js +258 -0
  34. package/_modules/components/Stores/BusinessPlaceGroup/styles.js +102 -0
  35. package/_modules/components/Stores/BusinessProductList/index.js +3 -3
  36. package/_modules/components/Stores/BusinessProductsListing/index.js +2 -1
  37. package/_modules/components/Stores/BusinessSummary/index.js +12 -3
  38. package/_modules/components/Stores/ProductStep/index.js +15 -3
  39. package/_modules/components/Stores/SpoonityApiKey/index.js +97 -0
  40. package/_modules/components/Stores/SpoonityApiKey/styles.js +47 -0
  41. package/_modules/components/Stores/UploadMenuGuide/index.js +8 -0
  42. package/_modules/components/Users/CustomerPointsWallet/index.js +126 -9
  43. package/_modules/components/Users/CustomerPointsWallet/styles.js +8 -4
  44. package/package.json +2 -2
  45. package/src/components/Delivery/DeliveryUsersListing/index.js +3 -1
  46. package/src/components/Delivery/DriversGroupLogistics/index.js +1 -1
  47. package/src/components/Delivery/DriversGroupLogs/index.js +2 -0
  48. package/src/components/Delivery/UsersList/index.js +79 -61
  49. package/src/components/Delivery/UsersList/styles.js +4 -12
  50. package/src/components/Home/HomePage/index.js +2 -2
  51. package/src/components/Login/LoginForm/index.js +4 -1
  52. package/src/components/Marketing/EnterprisePromotionListing/index.js +1 -1
  53. package/src/components/Messages/MessagesListing/index.js +1 -1
  54. package/src/components/MyProducts/AdvancedSettings/ButtonShadow.js +102 -0
  55. package/src/components/MyProducts/AdvancedSettings/FontStyleGroup.js +23 -5
  56. package/src/components/MyProducts/AdvancedSettings/HideCheckBox.js +33 -0
  57. package/src/components/MyProducts/AdvancedSettings/ImageBox.js +10 -3
  58. package/src/components/MyProducts/AdvancedSettings/SettingComponent.js +10 -15
  59. package/src/components/MyProducts/AdvancedSettings/index.js +119 -149
  60. package/src/components/MyProducts/AppResources/index.js +167 -0
  61. package/src/components/MyProducts/OrderingWebsite/index.js +66 -2
  62. package/src/components/MyProducts/OrderingWebsite/styles.js +37 -0
  63. package/src/components/OrderingProducts/SiteTheme/index.js +7 -3
  64. package/src/components/Orders/DeliveriesManager/index.js +1 -1
  65. package/src/components/Orders/Messages/index.js +56 -216
  66. package/src/components/Orders/OrderBill/index.js +6 -2
  67. package/src/components/Orders/OrderNotification/index.js +6 -2
  68. package/src/components/Orders/OrdersManager/index.js +1 -1
  69. package/src/components/SidebarMenu/index.js +8 -8
  70. package/src/components/Stores/BusinessAdd/DeliveryZone/index.js +1 -1
  71. package/src/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
  72. package/src/components/Stores/BusinessDetails/index.js +24 -1
  73. package/src/components/Stores/BusinessLocation/index.js +2 -1
  74. package/src/components/Stores/BusinessPlace/index.js +137 -0
  75. package/src/components/Stores/BusinessPlace/styles.js +132 -0
  76. package/src/components/Stores/BusinessPlaceGroup/index.js +272 -0
  77. package/src/components/Stores/BusinessPlaceGroup/styles.js +248 -0
  78. package/src/components/Stores/BusinessProductList/index.js +9 -1
  79. package/src/components/Stores/BusinessProductsListing/index.js +1 -0
  80. package/src/components/Stores/BusinessSummary/index.js +16 -5
  81. package/src/components/Stores/ProductStep/index.js +19 -2
  82. package/src/components/Stores/SpoonityApiKey/index.js +87 -0
  83. package/src/components/Stores/SpoonityApiKey/styles.js +68 -0
  84. package/src/components/Stores/UploadMenuGuide/index.js +10 -1
  85. package/src/components/Users/CustomerPointsWallet/index.js +130 -2
  86. package/src/components/Users/CustomerPointsWallet/styles.js +40 -1
  87. /package/_bundles/{ordering-ui-admin.6c1919d6b0356a2f522f.js.LICENSE.txt → ordering-ui-admin.661a37246ac77dcc4edf.js.LICENSE.txt} +0 -0
@@ -7,11 +7,11 @@ exports.SettingComponent = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _orderingComponentsAdminExternal = require("ordering-components-admin-external");
9
9
  var _FirstSelect = require("../../../styles/Select/FirstSelect");
10
- var _ImageBox = require("./ImageBox");
11
- var _reactBootstrapIcons = require("react-bootstrap-icons");
12
- var _styles = require("./styles");
13
10
  var _Shared = require("../../Shared");
14
- var _styles2 = require("../../../styles");
11
+ var _styles = require("../../../styles");
12
+ var _HideCheckBox = require("./HideCheckBox");
13
+ var _ImageBox = require("./ImageBox");
14
+ var _styles2 = require("./styles");
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
16
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
17
17
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -23,7 +23,8 @@ var SettingComponent = function SettingComponent(props) {
23
23
  var settingList = props.settingList,
24
24
  handleUpdateThemeValue = props.handleUpdateThemeValue,
25
25
  advancedValues = props.advancedValues,
26
- themeStructure = props.themeStructure;
26
+ themeStructure = props.themeStructure,
27
+ noLabel = props.noLabel;
27
28
  var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
28
29
  _useLanguage2 = _slicedToArray(_useLanguage, 2),
29
30
  t = _useLanguage2[1];
@@ -46,7 +47,7 @@ var SettingComponent = function SettingComponent(props) {
46
47
  var updatedOptions = options.map(function (option) {
47
48
  return {
48
49
  value: option,
49
- content: /*#__PURE__*/_react.default.createElement(_styles.Option, null, t(option.toString().toUpperCase(), option))
50
+ content: /*#__PURE__*/_react.default.createElement(_styles2.Option, null, t(option.toString().toUpperCase(), option))
50
51
  };
51
52
  });
52
53
  return updatedOptions;
@@ -54,13 +55,12 @@ var SettingComponent = function SettingComponent(props) {
54
55
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, settingList.map(function (setting, i) {
55
56
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
56
57
  key: i
57
- }, setting.type === 'hidden' && /*#__PURE__*/_react.default.createElement(_styles.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, setting.name), /*#__PURE__*/_react.default.createElement(_styles.HideCheckWrapper, {
58
- onClick: function onClick() {
59
- return handleUpdateThemeValue(!deepFind(advancedValues, setting === null || setting === void 0 ? void 0 : setting.path), setting === null || setting === void 0 ? void 0 : setting.path);
60
- }
61
- }, deepFind(advancedValues, setting === null || setting === void 0 ? void 0 : setting.path) ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.CheckSquareFill, {
62
- className: "active"
63
- }) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Square, null), /*#__PURE__*/_react.default.createElement("span", null, t('HIDDEN', 'Hidden')))), setting.type === 'position' && /*#__PURE__*/_react.default.createElement(_styles.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, setting.name), /*#__PURE__*/_react.default.createElement(_styles.SelectWrapper, null, /*#__PURE__*/_react.default.createElement(_FirstSelect.Select, {
58
+ }, setting.type === 'hidden' && /*#__PURE__*/_react.default.createElement(_HideCheckBox.HideCheckBox, {
59
+ handleUpdateThemeValue: handleUpdateThemeValue,
60
+ setting: setting,
61
+ initialCheck: deepFind(advancedValues, setting === null || setting === void 0 ? void 0 : setting.path),
62
+ noLabel: noLabel
63
+ }), setting.type === 'position' && /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, setting.name), /*#__PURE__*/_react.default.createElement(_styles2.SelectWrapper, null, /*#__PURE__*/_react.default.createElement(_FirstSelect.Select, {
64
64
  options: getOptions(setting === null || setting === void 0 ? void 0 : setting.path),
65
65
  className: "select",
66
66
  defaultValue: deepFind(advancedValues, setting === null || setting === void 0 ? void 0 : setting.path),
@@ -74,12 +74,12 @@ var SettingComponent = function SettingComponent(props) {
74
74
  photo: deepFind(advancedValues, setting === null || setting === void 0 ? void 0 : setting.path),
75
75
  path: setting === null || setting === void 0 ? void 0 : setting.path,
76
76
  handleChangePhoto: handleUpdateThemeValue
77
- }), setting.type === 'color' && /*#__PURE__*/_react.default.createElement(_styles.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, setting.name), /*#__PURE__*/_react.default.createElement(_Shared.ColorPicker, {
77
+ }), setting.type === 'color' && /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, setting.name), /*#__PURE__*/_react.default.createElement(_Shared.ColorPicker, {
78
78
  defaultColor: deepFind(advancedValues, setting === null || setting === void 0 ? void 0 : setting.path) || '#2C7BE5',
79
79
  onChangeColor: function onChangeColor(color) {
80
80
  return handleUpdateThemeValue(color, setting === null || setting === void 0 ? void 0 : setting.path);
81
81
  }
82
- })), setting.type === 'input' && /*#__PURE__*/_react.default.createElement(_styles.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, setting.name), /*#__PURE__*/_react.default.createElement(_styles2.Input, {
82
+ })), setting.type === 'input' && /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, setting.name), /*#__PURE__*/_react.default.createElement(_styles.Input, {
83
83
  defaultValue: deepFind(advancedValues, setting === null || setting === void 0 ? void 0 : setting.path),
84
84
  onChange: function onChange(e) {
85
85
  return handleUpdateThemeValue(e.target.value, setting === null || setting === void 0 ? void 0 : setting.path);
@@ -12,9 +12,9 @@ var _styles = require("../../../styles");
12
12
  var _ImageBox = require("./ImageBox");
13
13
  var _Shared = require("../../Shared");
14
14
  var _OrderType = require("./OrderType");
15
- var _reactBootstrapIcons = require("react-bootstrap-icons");
16
15
  var _FontStyleGroup = require("./FontStyleGroup");
17
16
  var _styles2 = require("./styles");
17
+ var _ButtonShadow = require("./ButtonShadow");
18
18
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
19
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
20
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
@@ -24,11 +24,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
24
24
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
25
25
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
26
26
  var AdvancedSettings = function AdvancedSettings(props) {
27
- var _advancedValues$gener5, _advancedValues$gener6, _advancedValues$gener7, _advancedValues$gener8, _advancedValues$gener9, _advancedValues$gener10, _advancedValues$gener11, _advancedValues$gener12, _advancedValues$gener13, _advancedValues$gener14, _advancedValues$gener15, _advancedValues$gener16, _advancedValues$gener17, _advancedValues$gener18, _advancedValues$gener19, _advancedValues$gener20, _advancedValues$gener21, _advancedValues$gener22, _advancedValues$gener23, _advancedValues$gener24, _advancedValues$gener25, _advancedValues$gener26, _advancedValues$gener27, _advancedValues$gener28, _advancedValues$gener29, _advancedValues$gener30, _advancedValues$gener31, _advancedValues$gener32, _advancedValues$gener33, _advancedValues$gener34, _advancedValues$gener35, _advancedValues$gener36, _advancedValues$gener37, _advancedValues$gener38, _advancedValues$gener39, _advancedValues$busin, _advancedValues$busin2, _advancedValues$busin3, _advancedValues$busin4, _advancedValues$busin5, _advancedValues$busin6, _advancedValues$busin7, _advancedValues$busin8, _advancedValues$busin9, _advancedValues$my_pr5, _advancedValues$my_pr6, _advancedValues$my_pr7, _advancedValues$my_pr8, _advancedValues$busin10, _advancedValues$busin11, _advancedValues$busin12, _advancedValues$busin13, _advancedValues$busin14, _advancedValues$busin15, _advancedValues$gener40, _advancedValues$gener41, _advancedValues$busin17, _advancedValues$order, _advancedValues$order2, _advancedValues$order3, _advancedValues$order4, _advancedValues$order5, _advancedValues$order6, _advancedValues$order7, _advancedValues$order8, _advancedValues$order9, _advancedValues$order10, _advancedValues$order11, _advancedValues$order12, _advancedValues$order13, _advancedValues$order14, _advancedValues$order15, _advancedValues$order16, _advancedValues$order17;
27
+ var _themeValuesRef$curre, _themeValuesRef$curre2, _themeValuesRef$curre3, _themeValuesRef$curre4, _themeValuesRef$curre5, _themeValuesRef$curre6, _themeValuesRef$curre7, _themeValuesRef$curre8, _themeValuesRef$curre9, _themeValuesRef$curre10, _themeValuesRef$curre11, _themeValuesRef$curre12, _themeValuesRef$curre13, _themeValuesRef$curre14, _themeValuesRef$curre15, _themeValuesRef$curre16, _themeValuesRef$curre17, _themeValuesRef$curre18, _themeValuesRef$curre19, _themeValuesRef$curre20, _themeValuesRef$curre21, _themeValuesRef$curre22, _themeValuesRef$curre23, _themeValuesRef$curre24, _themeValuesRef$curre25, _themeValuesRef$curre26, _themeValuesRef$curre27, _themeValuesRef$curre28, _themeValuesRef$curre29, _themeValuesRef$curre30, _themeValuesRef$curre31, _themeValuesRef$curre32, _themeValuesRef$curre33, _themeValuesRef$curre34, _themeValuesRef$curre35, _themeValuesRef$curre36, _themeValuesRef$curre37, _themeValuesRef$curre38, _themeValuesRef$curre39, _themeValuesRef$curre40, _themeValuesRef$curre41, _themeValuesRef$curre42, _themeValuesRef$curre43, _themeValuesRef$curre44, _themeValuesRef$curre45, _themeValuesRef$curre46, _themeValuesRef$curre47, _themeValuesRef$curre48, _themeValuesRef$curre49, _themeValuesRef$curre50, _themeValuesRef$curre51, _themeValuesRef$curre52, _themeValuesRef$curre53, _themeValuesRef$curre54, _themeValuesRef$curre55, _themeValuesRef$curre56, _themeValuesRef$curre57, _themeValuesRef$curre58, _themeValuesRef$curre59, _themeValuesRef$curre60, _themeValuesRef$curre61, _themeValuesRef$curre62;
28
28
  var themesList = props.themesList,
29
29
  advancedValues = props.advancedValues,
30
- setAdvancedValues = props.setAdvancedValues,
31
- handleUpdateSiteTheme = props.handleUpdateSiteTheme;
30
+ handleUpdateSiteTheme = props.handleUpdateSiteTheme,
31
+ isApp = props.isApp;
32
32
  var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
33
33
  _useLanguage2 = _slicedToArray(_useLanguage, 2),
34
34
  t = _useLanguage2[1];
@@ -43,6 +43,7 @@ var AdvancedSettings = function AdvancedSettings(props) {
43
43
  _useState4 = _slicedToArray(_useState3, 2),
44
44
  alertState = _useState4[0],
45
45
  setAlertState = _useState4[1];
46
+ var themeValuesRef = (0, _react.useRef)({});
46
47
  var homepageViewList = [{
47
48
  key: 'homepage_header',
48
49
  name: t('HOMEPAGE_HEADER', 'Homepage Header'),
@@ -63,6 +64,10 @@ var AdvancedSettings = function AdvancedSettings(props) {
63
64
  path: 'header.components.language_selector.hidden'
64
65
  }];
65
66
  var businessListing = [{
67
+ name: '',
68
+ type: 'hidden',
69
+ path: 'business_listing_view.hidden'
70
+ }, {
66
71
  name: t('BUSINESS_LISTING_IMAGE', 'Business listing image'),
67
72
  type: 'image',
68
73
  path: 'business_listing_view.components.business_hero.components.image'
@@ -364,6 +369,37 @@ var AdvancedSettings = function AdvancedSettings(props) {
364
369
  type: 'input',
365
370
  path: 'third_party_code.body'
366
371
  }];
372
+ var buttonList = [{
373
+ name: t('BORDER_RADIUS', 'Border Radius'),
374
+ type: 'input',
375
+ path: 'general.components.buttons.borderRadius'
376
+ }];
377
+ var homeImageFullScreen = [{
378
+ name: t('HOMEPAGE_IMAGE_FULLSCREEN', 'Homepage image fullscreen'),
379
+ type: 'hidden',
380
+ path: 'my_products.components.images.components.homepage_image_fullscreen'
381
+ }];
382
+ var navigationBarList = [{
383
+ name: t('BROWSE', 'Browse'),
384
+ type: 'hidden',
385
+ path: 'bar_menu.components.browse.hidden'
386
+ }, {
387
+ name: t('ORDERS', 'Orders'),
388
+ type: 'hidden',
389
+ path: 'bar_menu.components.orders.hidden'
390
+ }, {
391
+ name: t('MY_CARTS', 'My carts'),
392
+ type: 'hidden',
393
+ path: 'bar_menu.components.my_carts.hidden'
394
+ }, {
395
+ name: t('WALLET', 'Wallet'),
396
+ type: 'hidden',
397
+ path: 'bar_menu.components.wallet.hidden'
398
+ }, {
399
+ name: t('PROFILE', 'Profile'),
400
+ type: 'hidden',
401
+ path: 'bar_menu.components.profile.hidden'
402
+ }];
367
403
  var closeAlert = function closeAlert() {
368
404
  setAlertState({
369
405
  open: false,
@@ -378,9 +414,9 @@ var AdvancedSettings = function AdvancedSettings(props) {
378
414
  object[stack.shift()] = newValue;
379
415
  };
380
416
  var handleUpdateThemeValue = function handleUpdateThemeValue(value, path) {
381
- var _advancedValues = JSON.parse(JSON.stringify(advancedValues));
417
+ var _advancedValues = JSON.parse(JSON.stringify(themeValuesRef.current));
382
418
  updateObject(_advancedValues, value, path);
383
- setAdvancedValues(_advancedValues);
419
+ themeValuesRef.current = _advancedValues;
384
420
  };
385
421
  (0, _react.useEffect)(function () {
386
422
  var _themesList$themes, _themesList$themes$;
@@ -389,143 +425,87 @@ var AdvancedSettings = function AdvancedSettings(props) {
389
425
  setThemeStructure(JSON.parse(JSON.stringify(themesList === null || themesList === void 0 ? void 0 : (_themesList$themes2 = themesList.themes) === null || _themesList$themes2 === void 0 ? void 0 : (_themesList$themes2$ = _themesList$themes2[0]) === null || _themesList$themes2$ === void 0 ? void 0 : _themesList$themes2$.structure)));
390
426
  }
391
427
  }, [themesList]);
392
- var shadowValues = (0, _react.useMemo)(function () {
393
- var _advancedValues$gener, _advancedValues$gener2, _advancedValues$gener3, _advancedValues$gener4;
394
- var buttonShadow = advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener = advancedValues.general) === null || _advancedValues$gener === void 0 ? void 0 : (_advancedValues$gener2 = _advancedValues$gener.components) === null || _advancedValues$gener2 === void 0 ? void 0 : (_advancedValues$gener3 = _advancedValues$gener2.buttons) === null || _advancedValues$gener3 === void 0 ? void 0 : (_advancedValues$gener4 = _advancedValues$gener3.shadow) === null || _advancedValues$gener4 === void 0 ? void 0 : _advancedValues$gener4.components;
395
- if (!(buttonShadow !== null && buttonShadow !== void 0 && buttonShadow.x) || !(buttonShadow !== null && buttonShadow !== void 0 && buttonShadow.y) || !(buttonShadow !== null && buttonShadow !== void 0 && buttonShadow.blur) || !(buttonShadow !== null && buttonShadow !== void 0 && buttonShadow.spread)) return '';
396
- return "".concat(buttonShadow === null || buttonShadow === void 0 ? void 0 : buttonShadow.x, "px ").concat(buttonShadow === null || buttonShadow === void 0 ? void 0 : buttonShadow.y, "px ").concat(buttonShadow === null || buttonShadow === void 0 ? void 0 : buttonShadow.blur, "px ").concat(buttonShadow === null || buttonShadow === void 0 ? void 0 : buttonShadow.spread, "px ").concat(buttonShadow === null || buttonShadow === void 0 ? void 0 : buttonShadow.color);
397
- }, [advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener5 = advancedValues.general) === null || _advancedValues$gener5 === void 0 ? void 0 : (_advancedValues$gener6 = _advancedValues$gener5.components) === null || _advancedValues$gener6 === void 0 ? void 0 : (_advancedValues$gener7 = _advancedValues$gener6.buttons) === null || _advancedValues$gener7 === void 0 ? void 0 : (_advancedValues$gener8 = _advancedValues$gener7.shadow) === null || _advancedValues$gener8 === void 0 ? void 0 : _advancedValues$gener8.components]);
398
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.Container, null, /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h1", null, t('WEBSITE_ADVANCED_SETTINGS', 'Website Advanced Settings')), /*#__PURE__*/_react.default.createElement(_styles2.HomePageWrapper, null, /*#__PURE__*/_react.default.createElement("h2", null, t('HOMEPAGE', 'Homepage')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
428
+ (0, _react.useEffect)(function () {
429
+ themeValuesRef.current = JSON.parse(JSON.stringify(advancedValues));
430
+ }, [advancedValues]);
431
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.Container, null, isApp ? /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h1", null, t('CUSTOMER_APP_ADVANCED_SETTINGS', 'Customer App Advanced Settings')), /*#__PURE__*/_react.default.createElement("h2", null, t('HOMEPAGE', 'Homepage')), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
432
+ title: t('HOMEPAGE_IMAGE', 'Homepage image'),
433
+ ratio: "1350 x 400 px",
434
+ photo: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre = themeValuesRef.current) === null || _themeValuesRef$curre === void 0 ? void 0 : (_themeValuesRef$curre2 = _themeValuesRef$curre.my_products) === null || _themeValuesRef$curre2 === void 0 ? void 0 : (_themeValuesRef$curre3 = _themeValuesRef$curre2.components) === null || _themeValuesRef$curre3 === void 0 ? void 0 : (_themeValuesRef$curre4 = _themeValuesRef$curre3.images) === null || _themeValuesRef$curre4 === void 0 ? void 0 : (_themeValuesRef$curre5 = _themeValuesRef$curre4.components) === null || _themeValuesRef$curre5 === void 0 ? void 0 : (_themeValuesRef$curre6 = _themeValuesRef$curre5.homepage_background) === null || _themeValuesRef$curre6 === void 0 ? void 0 : (_themeValuesRef$curre7 = _themeValuesRef$curre6.components) === null || _themeValuesRef$curre7 === void 0 ? void 0 : _themeValuesRef$curre7.image,
435
+ path: "my_products.components.images.components.homepage_background.components.image",
436
+ handleChangePhoto: handleUpdateThemeValue
437
+ })) : /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h1", null, t('WEBSITE_ADVANCED_SETTINGS', 'Website Advanced Settings')), /*#__PURE__*/_react.default.createElement(_styles2.HomePageWrapper, null, /*#__PURE__*/_react.default.createElement("h2", null, t('HOMEPAGE', 'Homepage')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
399
438
  settingList: homepageViewList,
400
439
  handleUpdateThemeValue: handleUpdateThemeValue,
401
- advancedValues: advancedValues
402
- }))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUTTONS', 'Buttons')), /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, "Border Radius"), /*#__PURE__*/_react.default.createElement(_styles.Input, {
403
- value: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener9 = advancedValues.general) === null || _advancedValues$gener9 === void 0 ? void 0 : (_advancedValues$gener10 = _advancedValues$gener9.components) === null || _advancedValues$gener10 === void 0 ? void 0 : (_advancedValues$gener11 = _advancedValues$gener10.buttons) === null || _advancedValues$gener11 === void 0 ? void 0 : _advancedValues$gener11.borderRadius,
404
- onChange: function onChange(e) {
405
- return handleUpdateThemeValue(e.target.value, 'general.components.buttons.borderRadius');
406
- },
407
- onKeyPress: function onKeyPress(e) {
408
- if (!/^[0-9]$/.test(e.key)) {
409
- e.preventDefault();
410
- }
411
- }
412
- })), /*#__PURE__*/_react.default.createElement("h3", null, t('SHAPE', 'Shape')), /*#__PURE__*/_react.default.createElement(_styles2.ShadowWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.DropShadowWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.ShadowInfoWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.DropShadow, {
413
- style: {
414
- boxShadow: shadowValues
415
- }
416
- }), /*#__PURE__*/_react.default.createElement("span", null, t('DROP_SHADOW', 'Drop shadow'))), /*#__PURE__*/_react.default.createElement(_styles2.ShadowInputGroup, null, /*#__PURE__*/_react.default.createElement(_styles2.ShadowInputControl, null, /*#__PURE__*/_react.default.createElement("span", null, "X"), /*#__PURE__*/_react.default.createElement("input", {
417
- value: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener12 = advancedValues.general) === null || _advancedValues$gener12 === void 0 ? void 0 : (_advancedValues$gener13 = _advancedValues$gener12.components) === null || _advancedValues$gener13 === void 0 ? void 0 : (_advancedValues$gener14 = _advancedValues$gener13.buttons) === null || _advancedValues$gener14 === void 0 ? void 0 : (_advancedValues$gener15 = _advancedValues$gener14.shadow) === null || _advancedValues$gener15 === void 0 ? void 0 : (_advancedValues$gener16 = _advancedValues$gener15.components) === null || _advancedValues$gener16 === void 0 ? void 0 : _advancedValues$gener16.x,
418
- onKeyPress: function onKeyPress(e) {
419
- if (!/^[0-9]$/.test(e.key)) {
420
- e.preventDefault();
421
- }
422
- },
423
- onChange: function onChange(e) {
424
- return handleUpdateThemeValue(e.target.value, 'general.components.buttons.shadow.components.x');
425
- }
426
- })), /*#__PURE__*/_react.default.createElement(_styles2.ShadowInputControl, null, /*#__PURE__*/_react.default.createElement("span", null, "Y"), /*#__PURE__*/_react.default.createElement("input", {
427
- value: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener17 = advancedValues.general) === null || _advancedValues$gener17 === void 0 ? void 0 : (_advancedValues$gener18 = _advancedValues$gener17.components) === null || _advancedValues$gener18 === void 0 ? void 0 : (_advancedValues$gener19 = _advancedValues$gener18.buttons) === null || _advancedValues$gener19 === void 0 ? void 0 : (_advancedValues$gener20 = _advancedValues$gener19.shadow) === null || _advancedValues$gener20 === void 0 ? void 0 : (_advancedValues$gener21 = _advancedValues$gener20.components) === null || _advancedValues$gener21 === void 0 ? void 0 : _advancedValues$gener21.y,
428
- onChange: function onChange(e) {
429
- return handleUpdateThemeValue(e.target.value, 'general.components.buttons.shadow.components.y');
430
- },
431
- onKeyPress: function onKeyPress(e) {
432
- if (!/^[0-9]$/.test(e.key)) {
433
- e.preventDefault();
434
- }
435
- }
436
- })), /*#__PURE__*/_react.default.createElement(_styles2.ShadowInputControl, null, /*#__PURE__*/_react.default.createElement("span", null, "B"), /*#__PURE__*/_react.default.createElement("input", {
437
- value: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener22 = advancedValues.general) === null || _advancedValues$gener22 === void 0 ? void 0 : (_advancedValues$gener23 = _advancedValues$gener22.components) === null || _advancedValues$gener23 === void 0 ? void 0 : (_advancedValues$gener24 = _advancedValues$gener23.buttons) === null || _advancedValues$gener24 === void 0 ? void 0 : (_advancedValues$gener25 = _advancedValues$gener24.shadow) === null || _advancedValues$gener25 === void 0 ? void 0 : (_advancedValues$gener26 = _advancedValues$gener25.components) === null || _advancedValues$gener26 === void 0 ? void 0 : _advancedValues$gener26.blur,
438
- onChange: function onChange(e) {
439
- return handleUpdateThemeValue(e.target.value, 'general.components.buttons.shadow.components.blur');
440
- },
441
- onKeyPress: function onKeyPress(e) {
442
- if (!/^[0-9]$/.test(e.key)) {
443
- e.preventDefault();
444
- }
445
- }
446
- })), /*#__PURE__*/_react.default.createElement(_styles2.ShadowInputControl, null, /*#__PURE__*/_react.default.createElement("span", null, "S"), /*#__PURE__*/_react.default.createElement("input", {
447
- value: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener27 = advancedValues.general) === null || _advancedValues$gener27 === void 0 ? void 0 : (_advancedValues$gener28 = _advancedValues$gener27.components) === null || _advancedValues$gener28 === void 0 ? void 0 : (_advancedValues$gener29 = _advancedValues$gener28.buttons) === null || _advancedValues$gener29 === void 0 ? void 0 : (_advancedValues$gener30 = _advancedValues$gener29.shadow) === null || _advancedValues$gener30 === void 0 ? void 0 : (_advancedValues$gener31 = _advancedValues$gener30.components) === null || _advancedValues$gener31 === void 0 ? void 0 : _advancedValues$gener31.spread,
448
- onChange: function onChange(e) {
449
- return handleUpdateThemeValue(e.target.value, 'general.components.buttons.shadow.components.spread');
450
- },
451
- onKeyPress: function onKeyPress(e) {
452
- if (!/^[0-9]$/.test(e.key)) {
453
- e.preventDefault();
454
- }
455
- }
456
- })), /*#__PURE__*/_react.default.createElement(_styles2.ShadowInputControl, null, /*#__PURE__*/_react.default.createElement("span", null, "C"), /*#__PURE__*/_react.default.createElement("input", {
457
- value: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener32 = advancedValues.general) === null || _advancedValues$gener32 === void 0 ? void 0 : (_advancedValues$gener33 = _advancedValues$gener32.components) === null || _advancedValues$gener33 === void 0 ? void 0 : (_advancedValues$gener34 = _advancedValues$gener33.buttons) === null || _advancedValues$gener34 === void 0 ? void 0 : (_advancedValues$gener35 = _advancedValues$gener34.shadow) === null || _advancedValues$gener35 === void 0 ? void 0 : (_advancedValues$gener36 = _advancedValues$gener35.components) === null || _advancedValues$gener36 === void 0 ? void 0 : _advancedValues$gener36.color,
458
- onChange: function onChange(e) {
459
- return handleUpdateThemeValue(e.target.value, 'general.components.buttons.shadow.components.color');
460
- }
461
- })))))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('TIPOGRAPHY', 'Tipography')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_FontStyleGroup.FontStyleGroup, {
462
- fonts: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener37 = advancedValues.general) === null || _advancedValues$gener37 === void 0 ? void 0 : (_advancedValues$gener38 = _advancedValues$gener37.components) === null || _advancedValues$gener38 === void 0 ? void 0 : (_advancedValues$gener39 = _advancedValues$gener38.fonts) === null || _advancedValues$gener39 === void 0 ? void 0 : _advancedValues$gener39.primary,
440
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current
441
+ }))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUTTONS', 'Buttons')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
442
+ settingList: buttonList,
443
+ handleUpdateThemeValue: handleUpdateThemeValue,
444
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
445
+ themeStructure: themeStructure
446
+ }), /*#__PURE__*/_react.default.createElement("h3", null, t('SHAPE', 'Shape')), /*#__PURE__*/_react.default.createElement(_styles2.ShadowWrapper, null, /*#__PURE__*/_react.default.createElement(_ButtonShadow.ButtonShadow, {
447
+ initialValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre8 = themeValuesRef.current) === null || _themeValuesRef$curre8 === void 0 ? void 0 : (_themeValuesRef$curre9 = _themeValuesRef$curre8.general) === null || _themeValuesRef$curre9 === void 0 ? void 0 : (_themeValuesRef$curre10 = _themeValuesRef$curre9.components) === null || _themeValuesRef$curre10 === void 0 ? void 0 : (_themeValuesRef$curre11 = _themeValuesRef$curre10.buttons) === null || _themeValuesRef$curre11 === void 0 ? void 0 : (_themeValuesRef$curre12 = _themeValuesRef$curre11.shadow) === null || _themeValuesRef$curre12 === void 0 ? void 0 : _themeValuesRef$curre12.components,
448
+ handleUpdateThemeValue: handleUpdateThemeValue,
449
+ path: "general.components.buttons.shadow.components"
450
+ }))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('TIPOGRAPHY', 'Tipography')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_FontStyleGroup.FontStyleGroup, {
451
+ fonts: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre13 = themeValuesRef.current) === null || _themeValuesRef$curre13 === void 0 ? void 0 : (_themeValuesRef$curre14 = _themeValuesRef$curre13.general) === null || _themeValuesRef$curre14 === void 0 ? void 0 : (_themeValuesRef$curre15 = _themeValuesRef$curre14.components) === null || _themeValuesRef$curre15 === void 0 ? void 0 : (_themeValuesRef$curre16 = _themeValuesRef$curre15.fonts) === null || _themeValuesRef$curre16 === void 0 ? void 0 : _themeValuesRef$curre16.primary,
463
452
  path: "general.components.fonts.primary",
464
453
  handleUpdateThemeValue: handleUpdateThemeValue
465
454
  }))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('IMAGES', 'Images')), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
466
455
  title: t('BUSINESS_LOGO_DUMMY_IMAGE', 'Business Logo dummy image'),
467
456
  ratio: "512 x 512 px",
468
- photo: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$busin = advancedValues.business_view) === null || _advancedValues$busin === void 0 ? void 0 : (_advancedValues$busin2 = _advancedValues$busin.components) === null || _advancedValues$busin2 === void 0 ? void 0 : (_advancedValues$busin3 = _advancedValues$busin2.header) === null || _advancedValues$busin3 === void 0 ? void 0 : (_advancedValues$busin4 = _advancedValues$busin3.components) === null || _advancedValues$busin4 === void 0 ? void 0 : (_advancedValues$busin5 = _advancedValues$busin4.logo) === null || _advancedValues$busin5 === void 0 ? void 0 : _advancedValues$busin5.dummy_image,
457
+ photo: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre17 = themeValuesRef.current) === null || _themeValuesRef$curre17 === void 0 ? void 0 : (_themeValuesRef$curre18 = _themeValuesRef$curre17.business_view) === null || _themeValuesRef$curre18 === void 0 ? void 0 : (_themeValuesRef$curre19 = _themeValuesRef$curre18.components) === null || _themeValuesRef$curre19 === void 0 ? void 0 : (_themeValuesRef$curre20 = _themeValuesRef$curre19.header) === null || _themeValuesRef$curre20 === void 0 ? void 0 : (_themeValuesRef$curre21 = _themeValuesRef$curre20.components) === null || _themeValuesRef$curre21 === void 0 ? void 0 : (_themeValuesRef$curre22 = _themeValuesRef$curre21.logo) === null || _themeValuesRef$curre22 === void 0 ? void 0 : _themeValuesRef$curre22.dummy_image,
469
458
  path: "business_view.components.header.components.logo.dummy_image",
470
459
  handleChangePhoto: handleUpdateThemeValue
471
460
  }), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
472
461
  title: t('BUSINESS_HEADER_DUMMY_IMAGE', 'Business header dummy image'),
473
462
  ratio: "1350 x 400 px",
474
463
  isBig: true,
475
- photo: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$busin6 = advancedValues.business_view) === null || _advancedValues$busin6 === void 0 ? void 0 : (_advancedValues$busin7 = _advancedValues$busin6.components) === null || _advancedValues$busin7 === void 0 ? void 0 : (_advancedValues$busin8 = _advancedValues$busin7.header) === null || _advancedValues$busin8 === void 0 ? void 0 : (_advancedValues$busin9 = _advancedValues$busin8.components) === null || _advancedValues$busin9 === void 0 ? void 0 : _advancedValues$busin9.dummy_image,
464
+ photo: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre23 = themeValuesRef.current) === null || _themeValuesRef$curre23 === void 0 ? void 0 : (_themeValuesRef$curre24 = _themeValuesRef$curre23.business_view) === null || _themeValuesRef$curre24 === void 0 ? void 0 : (_themeValuesRef$curre25 = _themeValuesRef$curre24.components) === null || _themeValuesRef$curre25 === void 0 ? void 0 : (_themeValuesRef$curre26 = _themeValuesRef$curre25.header) === null || _themeValuesRef$curre26 === void 0 ? void 0 : (_themeValuesRef$curre27 = _themeValuesRef$curre26.components) === null || _themeValuesRef$curre27 === void 0 ? void 0 : _themeValuesRef$curre27.dummy_image,
476
465
  path: "business_view.components.header.components.dummy_image",
477
466
  handleChangePhoto: handleUpdateThemeValue
478
- }), /*#__PURE__*/_react.default.createElement(_styles2.HomeImageFullScreenWrapper, {
479
- onClick: function onClick() {
480
- var _advancedValues$my_pr, _advancedValues$my_pr2, _advancedValues$my_pr3, _advancedValues$my_pr4;
481
- return handleUpdateThemeValue(!(advancedValues !== null && advancedValues !== void 0 && (_advancedValues$my_pr = advancedValues.my_products) !== null && _advancedValues$my_pr !== void 0 && (_advancedValues$my_pr2 = _advancedValues$my_pr.components) !== null && _advancedValues$my_pr2 !== void 0 && (_advancedValues$my_pr3 = _advancedValues$my_pr2.images) !== null && _advancedValues$my_pr3 !== void 0 && (_advancedValues$my_pr4 = _advancedValues$my_pr3.components) !== null && _advancedValues$my_pr4 !== void 0 && _advancedValues$my_pr4.homepage_image_fullscreen), 'my_products.components.images.components.homepage_image_fullscreen');
482
- }
483
- }, advancedValues !== null && advancedValues !== void 0 && (_advancedValues$my_pr5 = advancedValues.my_products) !== null && _advancedValues$my_pr5 !== void 0 && (_advancedValues$my_pr6 = _advancedValues$my_pr5.components) !== null && _advancedValues$my_pr6 !== void 0 && (_advancedValues$my_pr7 = _advancedValues$my_pr6.images) !== null && _advancedValues$my_pr7 !== void 0 && (_advancedValues$my_pr8 = _advancedValues$my_pr7.components) !== null && _advancedValues$my_pr8 !== void 0 && _advancedValues$my_pr8.homepage_image_fullscreen ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.CheckSquareFill, {
484
- className: "active"
485
- }) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Square, null), /*#__PURE__*/_react.default.createElement("span", null, t('HOMEPAGE_IMAGE_FULLSCREEN', 'Homepage image fullscreen'))), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
467
+ }), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
468
+ settingList: homeImageFullScreen,
469
+ handleUpdateThemeValue: handleUpdateThemeValue,
470
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
471
+ themeStructure: themeStructure,
472
+ noLabel: true
473
+ }), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
486
474
  title: t('PRODUCT_DUMMY_IMAGE', 'Product dummy image'),
487
475
  ratio: "900 x 200 px",
488
- photo: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$busin10 = advancedValues.business_view) === null || _advancedValues$busin10 === void 0 ? void 0 : (_advancedValues$busin11 = _advancedValues$busin10.components) === null || _advancedValues$busin11 === void 0 ? void 0 : (_advancedValues$busin12 = _advancedValues$busin11.products) === null || _advancedValues$busin12 === void 0 ? void 0 : (_advancedValues$busin13 = _advancedValues$busin12.components) === null || _advancedValues$busin13 === void 0 ? void 0 : (_advancedValues$busin14 = _advancedValues$busin13.photo) === null || _advancedValues$busin14 === void 0 ? void 0 : (_advancedValues$busin15 = _advancedValues$busin14.components) === null || _advancedValues$busin15 === void 0 ? void 0 : _advancedValues$busin15.dummy_image,
476
+ photo: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre28 = themeValuesRef.current) === null || _themeValuesRef$curre28 === void 0 ? void 0 : (_themeValuesRef$curre29 = _themeValuesRef$curre28.business_view) === null || _themeValuesRef$curre29 === void 0 ? void 0 : (_themeValuesRef$curre30 = _themeValuesRef$curre29.components) === null || _themeValuesRef$curre30 === void 0 ? void 0 : (_themeValuesRef$curre31 = _themeValuesRef$curre30.products) === null || _themeValuesRef$curre31 === void 0 ? void 0 : (_themeValuesRef$curre32 = _themeValuesRef$curre31.components) === null || _themeValuesRef$curre32 === void 0 ? void 0 : (_themeValuesRef$curre33 = _themeValuesRef$curre32.photo) === null || _themeValuesRef$curre33 === void 0 ? void 0 : (_themeValuesRef$curre34 = _themeValuesRef$curre33.components) === null || _themeValuesRef$curre34 === void 0 ? void 0 : _themeValuesRef$curre34.dummy_image,
489
477
  path: "business_view.components.products.components.photo.components.dummy_image",
490
478
  handleChangePhoto: handleUpdateThemeValue
491
479
  }))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('FAVICON', 'Favicon')), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
492
480
  title: t('FAVICON', 'Favicon'),
493
481
  ratio: "512 x 512 px",
494
- photo: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$gener40 = advancedValues.general) === null || _advancedValues$gener40 === void 0 ? void 0 : (_advancedValues$gener41 = _advancedValues$gener40.components) === null || _advancedValues$gener41 === void 0 ? void 0 : _advancedValues$gener41.favicon,
495
- path: "general.components.favicon",
482
+ photo: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre35 = themeValuesRef.current) === null || _themeValuesRef$curre35 === void 0 ? void 0 : (_themeValuesRef$curre36 = _themeValuesRef$curre35.general) === null || _themeValuesRef$curre36 === void 0 ? void 0 : (_themeValuesRef$curre37 = _themeValuesRef$curre36.components) === null || _themeValuesRef$curre37 === void 0 ? void 0 : (_themeValuesRef$curre38 = _themeValuesRef$curre37.favicon) === null || _themeValuesRef$curre38 === void 0 ? void 0 : (_themeValuesRef$curre39 = _themeValuesRef$curre38.components) === null || _themeValuesRef$curre39 === void 0 ? void 0 : _themeValuesRef$curre39.image,
483
+ path: "general.components.favicon.components.image",
496
484
  handleChangePhoto: handleUpdateThemeValue
497
485
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('HEADER', 'Header')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
498
486
  settingList: headerList,
499
487
  handleUpdateThemeValue: handleUpdateThemeValue,
500
- advancedValues: advancedValues,
488
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
501
489
  themeStructure: themeStructure
502
- })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_LISTING', 'Business listing')), /*#__PURE__*/_react.default.createElement(_styles2.HideCheckWrapper, {
503
- isBottom: true,
504
- onClick: function onClick() {
505
- var _advancedValues$busin16;
506
- return handleUpdateThemeValue(!(advancedValues !== null && advancedValues !== void 0 && (_advancedValues$busin16 = advancedValues.business_listing_view) !== null && _advancedValues$busin16 !== void 0 && _advancedValues$busin16.hidden), 'business_listing_view.hidden');
507
- }
508
- }, advancedValues !== null && advancedValues !== void 0 && (_advancedValues$busin17 = advancedValues.business_listing_view) !== null && _advancedValues$busin17 !== void 0 && _advancedValues$busin17.hidden ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.CheckSquareFill, {
509
- className: "active"
510
- }) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Square, null), /*#__PURE__*/_react.default.createElement("span", null, t('HIDDEN', 'Hidden'))), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
490
+ })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_LISTING', 'Business listing')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
511
491
  settingList: businessListing,
512
492
  handleUpdateThemeValue: handleUpdateThemeValue,
513
- advancedValues: advancedValues,
493
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
514
494
  themeStructure: themeStructure
515
495
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_BLOCK', 'Business block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
516
496
  settingList: businessBlockList,
517
497
  handleUpdateThemeValue: handleUpdateThemeValue,
518
- advancedValues: advancedValues,
498
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
519
499
  themeStructure: themeStructure
520
500
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_PAGE', 'Business page')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
521
501
  settingList: businessPageList,
522
502
  handleUpdateThemeValue: handleUpdateThemeValue,
523
- advancedValues: advancedValues,
503
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
524
504
  themeStructure: themeStructure
525
505
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_INFORMATION', 'Business Information')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
526
506
  settingList: businessInfoList,
527
507
  handleUpdateThemeValue: handleUpdateThemeValue,
528
- advancedValues: advancedValues,
508
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
529
509
  themeStructure: themeStructure
530
510
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('PRODUCTS_BLOCK', 'Products block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
531
511
  settingList: productBlockList,
@@ -535,7 +515,7 @@ var AdvancedSettings = function AdvancedSettings(props) {
535
515
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('REVIEWS_POPUPS', 'Reviews popups')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
536
516
  settingList: reviewsPopups,
537
517
  handleUpdateThemeValue: handleUpdateThemeValue,
538
- advancedValues: advancedValues,
518
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
539
519
  themeStructure: themeStructure
540
520
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('CART_HEADER', 'Cart Header')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
541
521
  settingList: cartHeaderList,
@@ -545,69 +525,74 @@ var AdvancedSettings = function AdvancedSettings(props) {
545
525
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('CHECKOUT', 'Checkout')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
546
526
  settingList: checkoutList,
547
527
  handleUpdateThemeValue: handleUpdateThemeValue,
548
- advancedValues: advancedValues,
528
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
549
529
  themeStructure: themeStructure
550
530
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('CONFIRMATION_PAGE', 'Confirmation page')), /*#__PURE__*/_react.default.createElement("h3", null, t('ORDER_BLOCK', 'Order block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
551
531
  settingList: orderBlockList,
552
532
  handleUpdateThemeValue: handleUpdateThemeValue,
553
- advancedValues: advancedValues,
533
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
554
534
  themeStructure: themeStructure
555
535
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('POPUP_ADDRESS', 'Popup: Address')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
556
536
  settingList: popupAddressList,
557
537
  handleUpdateThemeValue: handleUpdateThemeValue,
558
- advancedValues: advancedValues,
538
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
559
539
  themeStructure: themeStructure
560
540
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('MY_ACCOUNT_PAGE', 'My account page')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
561
541
  settingList: myAccountList,
562
542
  handleUpdateThemeValue: handleUpdateThemeValue,
563
- advancedValues: advancedValues,
543
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
564
544
  themeStructure: themeStructure
565
545
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('MY_ORDERS', 'My orders')), /*#__PURE__*/_react.default.createElement("h3", null, t('ACTIVE_ORDERS_BLOCK', 'Active Orders Block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
566
546
  settingList: activeOrderBlockList,
567
547
  handleUpdateThemeValue: handleUpdateThemeValue,
568
- advancedValues: advancedValues,
548
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
569
549
  themeStructure: themeStructure
570
- })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('MENU_OPTIONS', 'Menu options')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
550
+ })), !isApp && /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('MENU_OPTIONS', 'Menu options')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
571
551
  settingList: menuOptionList,
572
552
  handleUpdateThemeValue: handleUpdateThemeValue,
573
553
  advancedValues: advancedValues,
574
554
  themeStructure: themeStructure
575
555
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('POPUP_ORDER_TYPES', 'Popup: Order types ')), /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, t('TITLE_MENU_OPTIONS', 'Title Menu options')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
576
556
  placeholder: t('TITLE_MENU_OPTIONS', 'Title Menu options'),
577
- defaultValue: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$order = advancedValues.order_types) === null || _advancedValues$order === void 0 ? void 0 : (_advancedValues$order2 = _advancedValues$order.components) === null || _advancedValues$order2 === void 0 ? void 0 : _advancedValues$order2.title_menu,
557
+ defaultValue: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre40 = themeValuesRef.current) === null || _themeValuesRef$curre40 === void 0 ? void 0 : (_themeValuesRef$curre41 = _themeValuesRef$curre40.order_types) === null || _themeValuesRef$curre41 === void 0 ? void 0 : (_themeValuesRef$curre42 = _themeValuesRef$curre41.components) === null || _themeValuesRef$curre42 === void 0 ? void 0 : _themeValuesRef$curre42.title_menu,
578
558
  onChange: function onChange(e) {
579
559
  return handleUpdateThemeValue(e.target.value, 'order_types.components.title_menu');
580
560
  }
581
561
  })), /*#__PURE__*/_react.default.createElement("h3", null, t('DELIVERY', 'Delivery')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
582
- typeValues: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$order3 = advancedValues.order_types) === null || _advancedValues$order3 === void 0 ? void 0 : (_advancedValues$order4 = _advancedValues$order3.components) === null || _advancedValues$order4 === void 0 ? void 0 : (_advancedValues$order5 = _advancedValues$order4.delivery) === null || _advancedValues$order5 === void 0 ? void 0 : _advancedValues$order5.components,
562
+ typeValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre43 = themeValuesRef.current) === null || _themeValuesRef$curre43 === void 0 ? void 0 : (_themeValuesRef$curre44 = _themeValuesRef$curre43.order_types) === null || _themeValuesRef$curre44 === void 0 ? void 0 : (_themeValuesRef$curre45 = _themeValuesRef$curre44.components) === null || _themeValuesRef$curre45 === void 0 ? void 0 : (_themeValuesRef$curre46 = _themeValuesRef$curre45.delivery) === null || _themeValuesRef$curre46 === void 0 ? void 0 : _themeValuesRef$curre46.components,
583
563
  path: "order_types.components.delivery.components",
584
564
  handleUpdateThemeValue: handleUpdateThemeValue
585
565
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('PICKUP', 'Pickup')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
586
- typeValues: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$order6 = advancedValues.order_types) === null || _advancedValues$order6 === void 0 ? void 0 : (_advancedValues$order7 = _advancedValues$order6.components) === null || _advancedValues$order7 === void 0 ? void 0 : (_advancedValues$order8 = _advancedValues$order7.pickup) === null || _advancedValues$order8 === void 0 ? void 0 : _advancedValues$order8.components,
566
+ typeValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre47 = themeValuesRef.current) === null || _themeValuesRef$curre47 === void 0 ? void 0 : (_themeValuesRef$curre48 = _themeValuesRef$curre47.order_types) === null || _themeValuesRef$curre48 === void 0 ? void 0 : (_themeValuesRef$curre49 = _themeValuesRef$curre48.components) === null || _themeValuesRef$curre49 === void 0 ? void 0 : (_themeValuesRef$curre50 = _themeValuesRef$curre49.pickup) === null || _themeValuesRef$curre50 === void 0 ? void 0 : _themeValuesRef$curre50.components,
587
567
  path: "order_types.components.pickup.components",
588
568
  handleUpdateThemeValue: handleUpdateThemeValue
589
569
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('EAT_IN', 'Eat in')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
590
- typeValues: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$order9 = advancedValues.order_types) === null || _advancedValues$order9 === void 0 ? void 0 : (_advancedValues$order10 = _advancedValues$order9.components) === null || _advancedValues$order10 === void 0 ? void 0 : (_advancedValues$order11 = _advancedValues$order10.eat_in) === null || _advancedValues$order11 === void 0 ? void 0 : _advancedValues$order11.components,
570
+ typeValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre51 = themeValuesRef.current) === null || _themeValuesRef$curre51 === void 0 ? void 0 : (_themeValuesRef$curre52 = _themeValuesRef$curre51.order_types) === null || _themeValuesRef$curre52 === void 0 ? void 0 : (_themeValuesRef$curre53 = _themeValuesRef$curre52.components) === null || _themeValuesRef$curre53 === void 0 ? void 0 : (_themeValuesRef$curre54 = _themeValuesRef$curre53.eat_in) === null || _themeValuesRef$curre54 === void 0 ? void 0 : _themeValuesRef$curre54.components,
591
571
  path: "order_types.components.eat_in.components",
592
572
  handleUpdateThemeValue: handleUpdateThemeValue
593
573
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('CURBSIDE', 'Curbside')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
594
- typeValues: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$order12 = advancedValues.order_types) === null || _advancedValues$order12 === void 0 ? void 0 : (_advancedValues$order13 = _advancedValues$order12.components) === null || _advancedValues$order13 === void 0 ? void 0 : (_advancedValues$order14 = _advancedValues$order13.curbside) === null || _advancedValues$order14 === void 0 ? void 0 : _advancedValues$order14.components,
574
+ typeValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre55 = themeValuesRef.current) === null || _themeValuesRef$curre55 === void 0 ? void 0 : (_themeValuesRef$curre56 = _themeValuesRef$curre55.order_types) === null || _themeValuesRef$curre56 === void 0 ? void 0 : (_themeValuesRef$curre57 = _themeValuesRef$curre56.components) === null || _themeValuesRef$curre57 === void 0 ? void 0 : (_themeValuesRef$curre58 = _themeValuesRef$curre57.curbside) === null || _themeValuesRef$curre58 === void 0 ? void 0 : _themeValuesRef$curre58.components,
595
575
  path: "order_types.components.curbside.components",
596
576
  handleUpdateThemeValue: handleUpdateThemeValue
597
577
  }), /*#__PURE__*/_react.default.createElement("h3", null, t('DRIVE_THRU', 'Drive thru')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
598
- typeValues: advancedValues === null || advancedValues === void 0 ? void 0 : (_advancedValues$order15 = advancedValues.order_types) === null || _advancedValues$order15 === void 0 ? void 0 : (_advancedValues$order16 = _advancedValues$order15.components) === null || _advancedValues$order16 === void 0 ? void 0 : (_advancedValues$order17 = _advancedValues$order16.drive_thru) === null || _advancedValues$order17 === void 0 ? void 0 : _advancedValues$order17.components,
578
+ typeValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : (_themeValuesRef$curre59 = themeValuesRef.current) === null || _themeValuesRef$curre59 === void 0 ? void 0 : (_themeValuesRef$curre60 = _themeValuesRef$curre59.order_types) === null || _themeValuesRef$curre60 === void 0 ? void 0 : (_themeValuesRef$curre61 = _themeValuesRef$curre60.components) === null || _themeValuesRef$curre61 === void 0 ? void 0 : (_themeValuesRef$curre62 = _themeValuesRef$curre61.drive_thru) === null || _themeValuesRef$curre62 === void 0 ? void 0 : _themeValuesRef$curre62.components,
599
579
  path: "order_types.components.drive_thru.components",
600
580
  handleUpdateThemeValue: handleUpdateThemeValue
601
581
  })), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('THIRD_PARTY_CODE', 'Third-party code')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
602
582
  settingList: thirdPartyCodeList,
603
583
  handleUpdateThemeValue: handleUpdateThemeValue,
604
- advancedValues: advancedValues,
584
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
585
+ themeStructure: themeStructure
586
+ })), isApp && /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('NAVIGATION_BAR_MENU', 'Navigation bar menu')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
587
+ settingList: navigationBarList,
588
+ handleUpdateThemeValue: handleUpdateThemeValue,
589
+ advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
605
590
  themeStructure: themeStructure
606
591
  })), /*#__PURE__*/_react.default.createElement(_styles2.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
607
592
  color: "primary",
608
593
  borderRadius: "8px",
609
594
  onClick: function onClick() {
610
- return handleUpdateSiteTheme(true);
595
+ return handleUpdateSiteTheme(themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current);
611
596
  }
612
597
  }, t('SAVE', 'Save')))), /*#__PURE__*/_react.default.createElement(_Shared.Alert, {
613
598
  title: t('ORDERING', 'Ordering'),