ordering-ui-admin-external 1.12.4 → 1.13.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 (114) hide show
  1. package/_bundles/{ordering-ui-admin.778c933a70a4ed38f970.js → ordering-ui-admin.05ac04aa1fd8fa5d0ac3.js} +2 -2
  2. package/_bundles/{ordering-ui-admin.778c933a70a4ed38f970.js.LICENSE.txt → ordering-ui-admin.05ac04aa1fd8fa5d0ac3.js.LICENSE.txt} +0 -0
  3. package/_modules/components/BusinessIntelligence/BusinessReviewDetails/index.js +2 -12
  4. package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +5 -3
  5. package/_modules/components/BusinessIntelligence/BusinessReviewList/styles.js +1 -1
  6. package/_modules/components/BusinessIntelligence/ReviewProductsListing/index.js +31 -49
  7. package/_modules/components/BusinessIntelligence/ReviewProductsListing/styles.js +20 -33
  8. package/_modules/components/BusinessIntelligence/ReviewsListing/index.js +54 -7
  9. package/_modules/components/BusinessIntelligence/ReviewsListing/styles.js +7 -3
  10. package/_modules/components/Delivery/DriversGroupGeneralForm/index.js +14 -14
  11. package/_modules/components/Loyalty/GiftCards/index.js +168 -0
  12. package/_modules/components/Loyalty/GiftCards/styles.js +80 -0
  13. package/_modules/components/Loyalty/PointsWalletLevels/index.js +5 -2
  14. package/_modules/components/Marketing/PageBanner/index.js +3 -1
  15. package/_modules/components/Marketing/PageBanner/styles.js +1 -1
  16. package/_modules/components/MyProducts/CustomProject/index.js +49 -0
  17. package/_modules/components/MyProducts/CustomProject/styles.js +27 -0
  18. package/_modules/components/MyProducts/index.js +8 -1
  19. package/_modules/components/Orders/OrderDetailsHeader/index.js +4 -4
  20. package/_modules/components/Settings/ApiKeysList/index.js +3 -1
  21. package/_modules/components/Settings/ApiKeysList/styles.js +4 -10
  22. package/_modules/components/Settings/Deliverect/index.js +4 -1
  23. package/_modules/components/Settings/Deliverect/styles.js +33 -31
  24. package/_modules/components/Settings/DoordashConnect/index.js +4 -1
  25. package/_modules/components/Settings/DoordashConnect/styles.js +31 -29
  26. package/_modules/components/Settings/ItsaCheckmate/index.js +4 -1
  27. package/_modules/components/Settings/ItsaCheckmate/styles.js +33 -39
  28. package/_modules/components/Settings/LalamoveConnect/index.js +4 -1
  29. package/_modules/components/Settings/LalamoveConnect/styles.js +32 -30
  30. package/_modules/components/Settings/LanguageTransTable/index.js +9 -2
  31. package/_modules/components/Settings/PickerExpress/index.js +4 -1
  32. package/_modules/components/Settings/PickerExpress/styles.js +32 -30
  33. package/_modules/components/Settings/PluginList/index.js +3 -1
  34. package/_modules/components/Settings/PluginList/styles.js +4 -8
  35. package/_modules/components/Settings/SettingsDetail/index.js +4 -1
  36. package/_modules/components/Settings/SettingsDetail/styles.js +15 -21
  37. package/_modules/components/Settings/SettingsList/index.js +16 -0
  38. package/_modules/components/Settings/SettingsList/styles.js +4 -1
  39. package/_modules/components/Settings/WebhookList/index.js +4 -2
  40. package/_modules/components/Settings/WebhookList/styles.js +4 -8
  41. package/_modules/components/Shared/ImageCrop/index.js +4 -2
  42. package/_modules/components/SidebarMenu/index.js +6 -1
  43. package/_modules/components/Stores/BusinessCateringDelivery/index.js +215 -0
  44. package/_modules/components/Stores/BusinessCateringDelivery/styles.js +20 -0
  45. package/_modules/components/Stores/BusinessDetails/index.js +5 -2
  46. package/_modules/components/Stores/BusinessPreorderDetails/index.js +18 -4
  47. package/_modules/components/Stores/BusinessPreorderDetails/styles.js +7 -5
  48. package/_modules/components/Stores/BusinessSummary/index.js +1 -1
  49. package/_modules/components/Stores/BusinessesListing/index.js +14 -14
  50. package/_modules/components/Stores/BusinessesListing/styles.js +1 -3
  51. package/_modules/components/Stores/PaymentOption/index.js +4 -4
  52. package/_modules/components/Stores/ProductTagDetails/styles.js +1 -1
  53. package/_modules/components/Stores/SeoOptions/styles.js +1 -1
  54. package/_modules/index.js +6 -0
  55. package/index-template.js +3 -1
  56. package/package.json +2 -2
  57. package/src/components/BusinessIntelligence/BusinessReviewDetails/index.js +3 -7
  58. package/src/components/BusinessIntelligence/BusinessReviewList/index.js +13 -9
  59. package/src/components/BusinessIntelligence/BusinessReviewList/styles.js +2 -1
  60. package/src/components/BusinessIntelligence/ReviewProductsListing/index.js +33 -55
  61. package/src/components/BusinessIntelligence/ReviewProductsListing/styles.js +3 -53
  62. package/src/components/BusinessIntelligence/ReviewsListing/index.js +59 -8
  63. package/src/components/BusinessIntelligence/ReviewsListing/styles.js +19 -0
  64. package/src/components/Delivery/DriversGroupGeneralForm/index.js +14 -14
  65. package/src/components/Loyalty/GiftCards/index.js +200 -0
  66. package/src/components/Loyalty/GiftCards/styles.js +147 -0
  67. package/src/components/Loyalty/PointsWalletLevels/index.js +9 -12
  68. package/src/components/Marketing/PageBanner/index.js +4 -3
  69. package/src/components/Marketing/PageBanner/styles.js +5 -0
  70. package/src/components/MyProducts/CustomProject/index.js +56 -0
  71. package/src/components/MyProducts/CustomProject/styles.js +108 -0
  72. package/src/components/MyProducts/index.js +3 -1
  73. package/src/components/Orders/OrderDetailsHeader/index.js +2 -2
  74. package/src/components/Settings/ApiKeysList/index.js +5 -4
  75. package/src/components/Settings/ApiKeysList/styles.js +5 -11
  76. package/src/components/Settings/Deliverect/index.js +2 -3
  77. package/src/components/Settings/Deliverect/styles.js +23 -0
  78. package/src/components/Settings/DoordashConnect/index.js +2 -3
  79. package/src/components/Settings/DoordashConnect/styles.js +23 -0
  80. package/src/components/Settings/ItsaCheckmate/index.js +2 -3
  81. package/src/components/Settings/ItsaCheckmate/styles.js +23 -26
  82. package/src/components/Settings/LalamoveConnect/index.js +2 -3
  83. package/src/components/Settings/LalamoveConnect/styles.js +23 -0
  84. package/src/components/Settings/LanguageTransTable/index.js +12 -2
  85. package/src/components/Settings/PickerExpress/index.js +2 -3
  86. package/src/components/Settings/PickerExpress/styles.js +23 -0
  87. package/src/components/Settings/PluginList/index.js +4 -3
  88. package/src/components/Settings/PluginList/styles.js +3 -6
  89. package/src/components/Settings/SettingsDetail/index.js +3 -4
  90. package/src/components/Settings/SettingsDetail/styles.js +24 -27
  91. package/src/components/Settings/SettingsList/index.js +43 -0
  92. package/src/components/Settings/SettingsList/styles.js +1 -1
  93. package/src/components/Settings/WebhookList/index.js +5 -4
  94. package/src/components/Settings/WebhookList/styles.js +3 -5
  95. package/src/components/Shared/ImageCrop/index.js +4 -2
  96. package/src/components/SidebarMenu/index.js +8 -1
  97. package/src/components/Stores/BusinessCateringDelivery/index.js +174 -0
  98. package/src/components/Stores/BusinessCateringDelivery/styles.js +53 -0
  99. package/src/components/Stores/BusinessDetails/index.js +5 -2
  100. package/src/components/Stores/BusinessPreorderDetails/index.js +38 -11
  101. package/src/components/Stores/BusinessPreorderDetails/styles.js +9 -1
  102. package/src/components/Stores/BusinessSummary/index.js +1 -1
  103. package/src/components/Stores/BusinessesListing/index.js +57 -56
  104. package/src/components/Stores/BusinessesListing/styles.js +3 -11
  105. package/src/components/Stores/PaymentOption/index.js +1 -1
  106. package/src/components/Stores/ProductTagDetails/styles.js +1 -0
  107. package/src/components/Stores/SeoOptions/styles.js +1 -0
  108. package/src/index.js +3 -1
  109. package/template/app.js +4 -4
  110. package/template/assets/images/myProducts/custom-project.png +0 -0
  111. package/template/components/ListenPageChanges/index.js +1 -1
  112. package/template/helmetdata.json +7 -7
  113. package/template/pages/CustomProject/index.js +12 -0
  114. package/template/pages/ReviewProducts/index.js +0 -22
@@ -6,30 +6,32 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.Tab = exports.SettingListConatiner = exports.PurchaseWrapper = exports.Paragraph = exports.LalaMoveConnectContainer = exports.HeaderIcons = exports.Header = exports.DropdownButtonWrapper = exports.DescriptionHeader = exports.Description = exports.Container = exports.CategoryExtraContent = exports.ApiKeysListTable = exports.AllSetting = exports.AddNewButton = void 0;
8
8
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36;
9
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37;
10
10
  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); }
11
11
  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; }
12
12
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
13
- var LalaMoveConnectContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 26px 20px;\n box-sizing: border-box;\n width: 100%;\n overflow-x: hidden;\n position: relative;\n\n @media (min-width: 768px) {\n padding: 26px 40px;\n }\n"])));
13
+ var LalaMoveConnectContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 26px 20px;\n box-sizing: border-box;\n width: 100%;\n overflow-x: hidden;\n position: relative;\n\n button.all-setting {\n height: 44px;\n user-select: none;\n margin-top: 36px;\n span {\n font-weight: 600;\n font-size: 14px;\n }\n svg {\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n }\n\n @media (min-width: 768px) {\n padding: 26px 40px;\n }\n"])), function (props) {
14
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
15
+ });
14
16
  exports.LalaMoveConnectContainer = LalaMoveConnectContainer;
15
- var Header = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n\n ", "\n\n h1 {\n font-size: 20px;\n font-weight: 700;\n margin: 0px;\n text-transform: capitalize;\n }\n\n button {\n line-height: 12px;\n height: 16px;\n font-size: 10px;\n margin-left: 15px;\n padding: 2px 8px;\n border-radius: 50px;\n ", "\n }\n"])), function (props) {
17
+ var Header = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n\n ", "\n\n h1 {\n font-size: 20px;\n font-weight: 700;\n margin: 0px;\n text-transform: capitalize;\n }\n\n button {\n line-height: 12px;\n height: 16px;\n font-size: 10px;\n margin-left: 15px;\n padding: 2px 8px;\n border-radius: 50px;\n ", "\n }\n"])), function (props) {
16
18
  var _props$theme;
17
- return (_props$theme = props.theme) !== null && _props$theme !== void 0 && _props$theme.rtl ? (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-left: 35px;\n "]))) : (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-right: 35px;\n "])));
19
+ return (_props$theme = props.theme) !== null && _props$theme !== void 0 && _props$theme.rtl ? (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: 35px;\n "]))) : (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 35px;\n "])));
18
20
  }, function (props) {
19
- return props.theme.rtl && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 15px;\n margin-left: 0px;\n "])));
21
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-right: 15px;\n margin-left: 0px;\n "])));
20
22
  });
21
23
  exports.Header = Header;
22
- var ApiKeysListTable = _styledComponents.default.table(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n width: 100%;\n margin-top: 25px;\n\n thead {\n border-bottom: 1px solid ", ";\n th {\n padding: 10px 0;\n &:last-child {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n tr {\n width: 100%;\n th,\n td {\n font-size: 12px;\n word-break: break-all;\n\n &:last-child {\n width: 100px;\n > div {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n }\n\n tbody {\n border-bottom: 1px solid ", ";\n td {\n padding-top: 9px;\n padding-bottom: 9px;\n\n &:last-child {\n > div {\n display: flex;\n justify-content: flex-end;\n }\n }\n }\n }\n"])), function (props) {
24
+ var ApiKeysListTable = _styledComponents.default.table(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n width: 100%;\n margin-top: 25px;\n\n thead {\n border-bottom: 1px solid ", ";\n th {\n padding: 10px 0;\n &:last-child {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n tr {\n width: 100%;\n th,\n td {\n font-size: 12px;\n word-break: break-all;\n\n &:last-child {\n width: 100px;\n > div {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n }\n\n tbody {\n border-bottom: 1px solid ", ";\n td {\n padding-top: 9px;\n padding-bottom: 9px;\n\n &:last-child {\n > div {\n display: flex;\n justify-content: flex-end;\n }\n }\n }\n }\n"])), function (props) {
23
25
  return props.theme.colors.secundaryLight;
24
26
  }, function (props) {
25
27
  return props.theme.colors.borderColor;
26
28
  });
27
29
  exports.ApiKeysListTable = ApiKeysListTable;
28
- var DropdownButtonWrapper = _styledComponents.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n padding: 5px 20px;\n button {\n background: transparent !important;\n border: none;\n padding: 0px;\n &:active,\n &:focus {\n border-color: unset !important;\n box-shadow: none !important;\n }\n svg {\n color: ", ";\n }\n\n &:after {\n display: none;\n }\n }\n\n .show {\n button {\n background: ", " !important;\n border-color: unset !important;\n box-shadow: none !important;\n }\n >div {\n border: 1px solid ", ";\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n }\n }\n\n > div {\n > div {\n border-radius: 8px;\n .dropdown-item {\n font-size: 12px;\n color: ", ";\n }\n .dropdown-item:last-child {\n color: #E63757;\n }\n }\n }\n"])), function (props) {
30
+ var DropdownButtonWrapper = _styledComponents.default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n ", "\n padding: 5px 20px;\n button {\n background: transparent !important;\n border: none;\n padding: 0px;\n &:active,\n &:focus {\n border-color: unset !important;\n box-shadow: none !important;\n }\n svg {\n color: ", ";\n }\n\n &:after {\n display: none;\n }\n }\n\n .show {\n button {\n background: ", " !important;\n border-color: unset !important;\n box-shadow: none !important;\n }\n >div {\n border: 1px solid ", ";\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n }\n }\n\n > div {\n > div {\n border-radius: 8px;\n .dropdown-item {\n font-size: 12px;\n color: ", ";\n }\n .dropdown-item:last-child {\n color: #E63757;\n }\n }\n }\n"])), function (props) {
29
31
  var _props$theme2;
30
- return props !== null && props !== void 0 && (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-right: 1px solid ", ";\n "])), function (props) {
32
+ return props !== null && props !== void 0 && (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n border-right: 1px solid ", ";\n "])), function (props) {
31
33
  return props.theme.colors.borderColor;
32
- }) : (0, _styledComponents.css)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n border-left: 1px solid ", ";\n "])), function (props) {
34
+ }) : (0, _styledComponents.css)(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n border-left: 1px solid ", ";\n "])), function (props) {
33
35
  return props.theme.colors.borderColor;
34
36
  });
35
37
  }, function (props) {
@@ -42,70 +44,70 @@ var DropdownButtonWrapper = _styledComponents.default.div(_templateObject7 || (_
42
44
  return props.theme.colors.headingColor;
43
45
  });
44
46
  exports.DropdownButtonWrapper = DropdownButtonWrapper;
45
- var AddNewButton = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 12px;\n color: ", ";\n margin: 20px 0;\n width: fit-content;\n\n &:hover {\n color: ", ";\n }\n"])), function (props) {
47
+ var AddNewButton = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 12px;\n color: ", ";\n margin: 20px 0;\n width: fit-content;\n\n &:hover {\n color: ", ";\n }\n"])), function (props) {
46
48
  return props.theme.colors.lightGray;
47
49
  }, function (props) {
48
50
  return props.theme.colors.primary;
49
51
  });
50
52
  exports.AddNewButton = AddNewButton;
51
- var AllSetting = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n user-select: none;\n cursor: pointer;\n margin-top: 36px;\n cursor: pointer;\n span {\n font-weight: 600;\n font-size: 14px;\n color: ", ";\n }\n svg {\n color: ", ";\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n"])), function (props) {
53
+ var AllSetting = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n user-select: none;\n cursor: pointer;\n margin-top: 36px;\n cursor: pointer;\n span {\n font-weight: 600;\n font-size: 14px;\n color: ", ";\n }\n svg {\n color: ", ";\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n"])), function (props) {
52
54
  return props.theme.colors.primary;
53
55
  }, function (props) {
54
56
  return props.theme.colors.primary;
55
57
  }, function (props) {
56
- return props.theme.rtl && (0, _styledComponents.css)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
58
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
57
59
  });
58
60
  exports.AllSetting = AllSetting;
59
- var Description = _styledComponents.default.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])));
61
+ var Description = _styledComponents.default.p(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])));
60
62
  exports.Description = Description;
61
- var CategoryExtraContent = _styledComponents.default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
63
+ var CategoryExtraContent = _styledComponents.default.div(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
62
64
  var _props$theme3;
63
- return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
65
+ return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
64
66
  }, function (props) {
65
67
  var _props$theme4;
66
- return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
68
+ return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
67
69
  });
68
70
  exports.CategoryExtraContent = CategoryExtraContent;
69
- var Container = _styledComponents.default.div(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n display: flex;\n width: 0;\n position: fixed;\n box-shadow: -4px 0px 7px #ccc;\n\n ", "\n background: ", ";\n height: calc(var(--vh, 1vh) * 100);\n top: 0px;\n z-index: 1001;\n overflow-x: hidden;\n transition: 0.3s;\n\n ", "\n @media print {\n box-shadow: none;\n }\n"])), function (_ref) {
71
+ var Container = _styledComponents.default.div(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n display: flex;\n width: 0;\n position: fixed;\n box-shadow: -4px 0px 7px #ccc;\n\n ", "\n background: ", ";\n height: calc(var(--vh, 1vh) * 100);\n top: 0px;\n z-index: 1001;\n overflow-x: hidden;\n transition: 0.3s;\n\n ", "\n @media print {\n box-shadow: none;\n }\n"])), function (_ref) {
70
72
  var isDriverOrders = _ref.isDriverOrders;
71
- return isDriverOrders && (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n position: absolute;\n box-shadow: none;\n\n ", "\n "])), function (props) {
73
+ return isDriverOrders && (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n position: absolute;\n box-shadow: none;\n\n ", "\n "])), function (props) {
72
74
  var _props$theme5;
73
- return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n border-right: 1px solid #CCC;\n "]))) : (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n border-left: 1px solid #CCC;\n "])));
75
+ return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n border-right: 1px solid #CCC;\n "]))) : (0, _styledComponents.css)(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n border-left: 1px solid #CCC;\n "])));
74
76
  });
75
77
  }, function (props) {
76
78
  var _props$theme$colors;
77
79
  return ((_props$theme$colors = props.theme.colors) === null || _props$theme$colors === void 0 ? void 0 : _props$theme$colors.backgroundPage) || '#FFF';
78
80
  }, function (props) {
79
81
  var _props$theme6;
80
- return (_props$theme6 = props.theme) !== null && _props$theme6 !== void 0 && _props$theme6.rtl ? (0, _styledComponents.css)(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n left: 0px;\n "]))) : (0, _styledComponents.css)(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n right: 0px;\n "])));
82
+ return (_props$theme6 = props.theme) !== null && _props$theme6 !== void 0 && _props$theme6.rtl ? (0, _styledComponents.css)(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n left: 0px;\n "]))) : (0, _styledComponents.css)(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n right: 0px;\n "])));
81
83
  });
82
84
  exports.Container = Container;
83
- var DescriptionHeader = _styledComponents.default.div(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n"])));
85
+ var DescriptionHeader = _styledComponents.default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n"])));
84
86
  exports.DescriptionHeader = DescriptionHeader;
85
- var HeaderIcons = _styledComponents.default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n top: 25px;\n right: 20px;\n\n > button:first-child {\n ", "\n }\n"])), function (props) {
87
+ var HeaderIcons = _styledComponents.default.div(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n top: 25px;\n right: 20px;\n\n > button:first-child {\n ", "\n }\n"])), function (props) {
86
88
  var _props$theme7;
87
- return (_props$theme7 = props.theme) !== null && _props$theme7 !== void 0 && _props$theme7.rtl ? (0, _styledComponents.css)(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
89
+ return (_props$theme7 = props.theme) !== null && _props$theme7 !== void 0 && _props$theme7.rtl ? (0, _styledComponents.css)(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
88
90
  });
89
91
  exports.HeaderIcons = HeaderIcons;
90
- var SettingListConatiner = _styledComponents.default.div(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n width: 100%;\n margin: 20px 0;\n border-bottom: 1px solid #E9ECEF;\n"])));
92
+ var SettingListConatiner = _styledComponents.default.div(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n width: 100%;\n margin: 20px 0;\n border-bottom: 1px solid #E9ECEF;\n"])));
91
93
  exports.SettingListConatiner = SettingListConatiner;
92
- var Tab = _styledComponents.default.div(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n user-select: none;\n padding: 10px 0px;\n cursor: pointer;\n color: ", ";\n font-size: 14px;\n white-space: nowrap;\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
94
+ var Tab = _styledComponents.default.div(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n user-select: none;\n padding: 10px 0px;\n cursor: pointer;\n color: ", ";\n font-size: 14px;\n white-space: nowrap;\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
93
95
  var _props$theme$colors2;
94
96
  return (_props$theme$colors2 = props.theme.colors) === null || _props$theme$colors2 === void 0 ? void 0 : _props$theme$colors2.headingColor;
95
97
  }, function (props) {
96
98
  var _props$theme8;
97
- return (_props$theme8 = props.theme) !== null && _props$theme8 !== void 0 && _props$theme8.rtl ? (0, _styledComponents.css)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n margin-left: 30px;\n "]))) : (0, _styledComponents.css)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
99
+ return (_props$theme8 = props.theme) !== null && _props$theme8 !== void 0 && _props$theme8.rtl ? (0, _styledComponents.css)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n margin-left: 30px;\n "]))) : (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
98
100
  }, function (_ref2) {
99
101
  var active = _ref2.active;
100
- return active && (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n border-bottom: 2px solid;\n font-weight: 500;\n "])));
102
+ return active && (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n border-bottom: 2px solid;\n font-weight: 500;\n "])));
101
103
  }, function (_ref3) {
102
104
  var active = _ref3.active;
103
- return !active && (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n color: #909BA9;\n "])));
105
+ return !active && (0, _styledComponents.css)(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n color: #909BA9;\n "])));
104
106
  });
105
107
  exports.Tab = Tab;
106
- var Paragraph = _styledComponents.default.div(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n margin-top: 20px;\n h2{\n font-size: 16px;\n }\n p{\n white-space: pre-line;\n font-size: 12px;\n margin: 0;\n }\n span {\n font-size: 12px;\n }\n a {\n text-decoration: underline !important;\n cursor: pointer;\n font-size: 12px;\n color: ", " !important;\n }\n .bold {\n font-weight: 600;\n }\n"])), function (props) {
108
+ var Paragraph = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n margin-top: 20px;\n h2{\n font-size: 16px;\n }\n p{\n white-space: pre-line;\n font-size: 12px;\n margin: 0;\n }\n span {\n font-size: 12px;\n }\n a {\n text-decoration: underline !important;\n cursor: pointer;\n font-size: 12px;\n color: ", " !important;\n }\n .bold {\n font-weight: 600;\n }\n"])), function (props) {
107
109
  return props.theme.colors.primary;
108
110
  });
109
111
  exports.Paragraph = Paragraph;
110
- var PurchaseWrapper = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n button {\n border-radius: 5px;\n }\n margin-top: 15px;\n"])));
112
+ var PurchaseWrapper = _styledComponents.default.div(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n button {\n border-radius: 5px;\n }\n margin-top: 15px;\n"])));
111
113
  exports.PurchaseWrapper = PurchaseWrapper;
@@ -72,12 +72,19 @@ var LanguageTransTableUI = function LanguageTransTableUI(props) {
72
72
  _useState12 = _slicedToArray(_useState11, 2),
73
73
  totalPages = _useState12[0],
74
74
  setTotalPages = _useState12[1];
75
+ var timeout = null;
75
76
  var closeAlert = function closeAlert() {
76
77
  setAlertState({
77
78
  open: false,
78
79
  content: []
79
80
  });
80
81
  };
82
+ var handleChangeValue = function handleChangeValue(id, key, value) {
83
+ clearTimeout(timeout);
84
+ timeout = setTimeout(function () {
85
+ handleChangeText(id, key, value);
86
+ }, 750);
87
+ };
81
88
  var handleChangePage = function handleChangePage(translation) {
82
89
  setCurrentPage(translation);
83
90
  };
@@ -156,10 +163,10 @@ var LanguageTransTableUI = function LanguageTransTableUI(props) {
156
163
  key: i
157
164
  }, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, translation.key), /*#__PURE__*/_react.default.createElement("td", null, /*#__PURE__*/_react.default.createElement("input", {
158
165
  type: "text",
159
- value: (textEditState === null || textEditState === void 0 ? void 0 : textEditState.id) === translation.id ? textEditState === null || textEditState === void 0 ? void 0 : textEditState.text : translation.text,
166
+ defaultValue: (textEditState === null || textEditState === void 0 ? void 0 : textEditState.id) === translation.id ? textEditState === null || textEditState === void 0 ? void 0 : textEditState.text : translation.text,
160
167
  placeholder: t('WRITE_A_TEXT', 'Write a text'),
161
168
  onChange: function onChange(e) {
162
- return handleChangeText(translation.id, translation.key, e.target.value);
169
+ return handleChangeValue(translation.id, translation.key, e.target.value);
163
170
  }
164
171
  }))));
165
172
  }), isShowCreation && /*#__PURE__*/_react.default.createElement(_styles.TableBody, {
@@ -119,7 +119,10 @@ var PickerExpressUI = function PickerExpressUI(props) {
119
119
  onClick: onClose
120
120
  }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.XLg, null)))), /*#__PURE__*/_react.default.createElement(_styles2.Header, null, /*#__PURE__*/_react.default.createElement("h1", null, t('CONNECT_WITH_PICKER_EXPRESS', 'Connect with Picker Express')), /*#__PURE__*/_react.default.createElement(_styles.Button, {
121
121
  color: "lightPrimary"
122
- }, t('NEW', 'New'))), /*#__PURE__*/_react.default.createElement(_styles2.Description, null, t('CONNECT_WITH_PICKER_EXPRESS_DESCRIPTION', 'If you have already worked with Pickerexpress or are running your business with Pickerexpress and Ordering simultaneously, this integration will help you connect both platforms and assign orders through them, making your job easy and automated.')), /*#__PURE__*/_react.default.createElement(_styles2.AllSetting, {
122
+ }, t('NEW', 'New'))), /*#__PURE__*/_react.default.createElement(_styles2.Description, null, t('CONNECT_WITH_PICKER_EXPRESS_DESCRIPTION', 'If you have already worked with Pickerexpress or are running your business with Pickerexpress and Ordering simultaneously, this integration will help you connect both platforms and assign orders through them, making your job easy and automated.')), /*#__PURE__*/_react.default.createElement(_styles.Button, {
123
+ color: "primary",
124
+ borderRadius: "8px",
125
+ className: "all-setting",
123
126
  onClick: function onClick() {
124
127
  return setSettingsOpen(true);
125
128
  }
@@ -6,30 +6,32 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.Tab = exports.SettingListConatiner = exports.PurchaseWrapper = exports.PickerExpressContainer = exports.Paragraph = exports.HeaderIcons = exports.Header = exports.DropdownButtonWrapper = exports.DescriptionHeader = exports.Description = exports.Container = exports.CategoryExtraContent = exports.ApiKeysListTable = exports.AllSetting = exports.AddNewButton = void 0;
8
8
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36;
9
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37;
10
10
  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); }
11
11
  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; }
12
12
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
13
- var PickerExpressContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 26px 20px;\n box-sizing: border-box;\n width: 100%;\n overflow-x: hidden;\n position: relative;\n\n @media (min-width: 768px) {\n padding: 26px 40px;\n }\n"])));
13
+ var PickerExpressContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 26px 20px;\n box-sizing: border-box;\n width: 100%;\n overflow-x: hidden;\n position: relative;\n\n button.all-setting {\n height: 44px;\n user-select: none;\n margin-top: 36px;\n span {\n font-weight: 600;\n font-size: 14px;\n }\n svg {\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n }\n\n @media (min-width: 768px) {\n padding: 26px 40px;\n }\n"])), function (props) {
14
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
15
+ });
14
16
  exports.PickerExpressContainer = PickerExpressContainer;
15
- var Header = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n\n ", "\n\n h1 {\n font-size: 20px;\n font-weight: 700;\n margin: 0px;\n text-transform: capitalize;\n }\n\n button {\n line-height: 12px;\n height: 16px;\n font-size: 10px;\n margin-left: 15px;\n padding: 2px 8px;\n border-radius: 50px;\n ", "\n }\n"])), function (props) {
17
+ var Header = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n\n ", "\n\n h1 {\n font-size: 20px;\n font-weight: 700;\n margin: 0px;\n text-transform: capitalize;\n }\n\n button {\n line-height: 12px;\n height: 16px;\n font-size: 10px;\n margin-left: 15px;\n padding: 2px 8px;\n border-radius: 50px;\n ", "\n }\n"])), function (props) {
16
18
  var _props$theme;
17
- return (_props$theme = props.theme) !== null && _props$theme !== void 0 && _props$theme.rtl ? (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-left: 35px;\n "]))) : (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-right: 35px;\n "])));
19
+ return (_props$theme = props.theme) !== null && _props$theme !== void 0 && _props$theme.rtl ? (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: 35px;\n "]))) : (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 35px;\n "])));
18
20
  }, function (props) {
19
- return props.theme.rtl && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 15px;\n margin-left: 0px;\n "])));
21
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-right: 15px;\n margin-left: 0px;\n "])));
20
22
  });
21
23
  exports.Header = Header;
22
- var ApiKeysListTable = _styledComponents.default.table(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n width: 100%;\n margin-top: 25px;\n\n thead {\n border-bottom: 1px solid ", ";\n th {\n padding: 10px 0;\n &:last-child {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n tr {\n width: 100%;\n th,\n td {\n font-size: 12px;\n word-break: break-all;\n\n &:last-child {\n width: 100px;\n > div {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n }\n\n tbody {\n border-bottom: 1px solid ", ";\n td {\n padding-top: 9px;\n padding-bottom: 9px;\n\n &:last-child {\n > div {\n display: flex;\n justify-content: flex-end;\n }\n }\n }\n }\n"])), function (props) {
24
+ var ApiKeysListTable = _styledComponents.default.table(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n width: 100%;\n margin-top: 25px;\n\n thead {\n border-bottom: 1px solid ", ";\n th {\n padding: 10px 0;\n &:last-child {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n tr {\n width: 100%;\n th,\n td {\n font-size: 12px;\n word-break: break-all;\n\n &:last-child {\n width: 100px;\n > div {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n }\n\n tbody {\n border-bottom: 1px solid ", ";\n td {\n padding-top: 9px;\n padding-bottom: 9px;\n\n &:last-child {\n > div {\n display: flex;\n justify-content: flex-end;\n }\n }\n }\n }\n"])), function (props) {
23
25
  return props.theme.colors.secundaryLight;
24
26
  }, function (props) {
25
27
  return props.theme.colors.borderColor;
26
28
  });
27
29
  exports.ApiKeysListTable = ApiKeysListTable;
28
- var DropdownButtonWrapper = _styledComponents.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n padding: 5px 20px;\n button {\n background: transparent !important;\n border: none;\n padding: 0px;\n &:active,\n &:focus {\n border-color: unset !important;\n box-shadow: none !important;\n }\n svg {\n color: ", ";\n }\n\n &:after {\n display: none;\n }\n }\n\n .show {\n button {\n background: ", " !important;\n border-color: unset !important;\n box-shadow: none !important;\n }\n >div {\n border: 1px solid ", ";\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n }\n }\n\n > div {\n > div {\n border-radius: 8px;\n .dropdown-item {\n font-size: 12px;\n color: ", ";\n }\n .dropdown-item:last-child {\n color: #E63757;\n }\n }\n }\n"])), function (props) {
30
+ var DropdownButtonWrapper = _styledComponents.default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n ", "\n padding: 5px 20px;\n button {\n background: transparent !important;\n border: none;\n padding: 0px;\n &:active,\n &:focus {\n border-color: unset !important;\n box-shadow: none !important;\n }\n svg {\n color: ", ";\n }\n\n &:after {\n display: none;\n }\n }\n\n .show {\n button {\n background: ", " !important;\n border-color: unset !important;\n box-shadow: none !important;\n }\n >div {\n border: 1px solid ", ";\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n }\n }\n\n > div {\n > div {\n border-radius: 8px;\n .dropdown-item {\n font-size: 12px;\n color: ", ";\n }\n .dropdown-item:last-child {\n color: #E63757;\n }\n }\n }\n"])), function (props) {
29
31
  var _props$theme2;
30
- return props !== null && props !== void 0 && (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-right: 1px solid ", ";\n "])), function (props) {
32
+ return props !== null && props !== void 0 && (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n border-right: 1px solid ", ";\n "])), function (props) {
31
33
  return props.theme.colors.borderColor;
32
- }) : (0, _styledComponents.css)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n border-left: 1px solid ", ";\n "])), function (props) {
34
+ }) : (0, _styledComponents.css)(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n border-left: 1px solid ", ";\n "])), function (props) {
33
35
  return props.theme.colors.borderColor;
34
36
  });
35
37
  }, function (props) {
@@ -42,70 +44,70 @@ var DropdownButtonWrapper = _styledComponents.default.div(_templateObject7 || (_
42
44
  return props.theme.colors.headingColor;
43
45
  });
44
46
  exports.DropdownButtonWrapper = DropdownButtonWrapper;
45
- var AddNewButton = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 12px;\n color: ", ";\n margin: 20px 0;\n width: fit-content;\n\n &:hover {\n color: ", ";\n }\n"])), function (props) {
47
+ var AddNewButton = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 12px;\n color: ", ";\n margin: 20px 0;\n width: fit-content;\n\n &:hover {\n color: ", ";\n }\n"])), function (props) {
46
48
  return props.theme.colors.lightGray;
47
49
  }, function (props) {
48
50
  return props.theme.colors.primary;
49
51
  });
50
52
  exports.AddNewButton = AddNewButton;
51
- var AllSetting = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n user-select: none;\n cursor: pointer;\n margin-top: 36px;\n cursor: pointer;\n span {\n font-weight: 600;\n font-size: 14px;\n color: ", ";\n }\n svg {\n color: ", ";\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n"])), function (props) {
53
+ var AllSetting = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n user-select: none;\n cursor: pointer;\n margin-top: 36px;\n cursor: pointer;\n span {\n font-weight: 600;\n font-size: 14px;\n color: ", ";\n }\n svg {\n color: ", ";\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n"])), function (props) {
52
54
  return props.theme.colors.primary;
53
55
  }, function (props) {
54
56
  return props.theme.colors.primary;
55
57
  }, function (props) {
56
- return props.theme.rtl && (0, _styledComponents.css)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
58
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
57
59
  });
58
60
  exports.AllSetting = AllSetting;
59
- var Description = _styledComponents.default.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])));
61
+ var Description = _styledComponents.default.p(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])));
60
62
  exports.Description = Description;
61
- var CategoryExtraContent = _styledComponents.default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
63
+ var CategoryExtraContent = _styledComponents.default.div(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
62
64
  var _props$theme3;
63
- return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
65
+ return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
64
66
  }, function (props) {
65
67
  var _props$theme4;
66
- return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
68
+ return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
67
69
  });
68
70
  exports.CategoryExtraContent = CategoryExtraContent;
69
- var Container = _styledComponents.default.div(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n display: flex;\n width: 0;\n position: fixed;\n box-shadow: -4px 0px 7px #ccc;\n\n ", "\n background: ", ";\n height: calc(var(--vh, 1vh) * 100);\n top: 0px;\n z-index: 1001;\n overflow-x: hidden;\n transition: 0.3s;\n\n ", "\n @media print {\n box-shadow: none;\n }\n"])), function (_ref) {
71
+ var Container = _styledComponents.default.div(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n display: flex;\n width: 0;\n position: fixed;\n box-shadow: -4px 0px 7px #ccc;\n\n ", "\n background: ", ";\n height: calc(var(--vh, 1vh) * 100);\n top: 0px;\n z-index: 1001;\n overflow-x: hidden;\n transition: 0.3s;\n\n ", "\n @media print {\n box-shadow: none;\n }\n"])), function (_ref) {
70
72
  var isDriverOrders = _ref.isDriverOrders;
71
- return isDriverOrders && (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n position: absolute;\n box-shadow: none;\n\n ", "\n "])), function (props) {
73
+ return isDriverOrders && (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n position: absolute;\n box-shadow: none;\n\n ", "\n "])), function (props) {
72
74
  var _props$theme5;
73
- return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n border-right: 1px solid #CCC;\n "]))) : (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n border-left: 1px solid #CCC;\n "])));
75
+ return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n border-right: 1px solid #CCC;\n "]))) : (0, _styledComponents.css)(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n border-left: 1px solid #CCC;\n "])));
74
76
  });
75
77
  }, function (props) {
76
78
  var _props$theme$colors;
77
79
  return ((_props$theme$colors = props.theme.colors) === null || _props$theme$colors === void 0 ? void 0 : _props$theme$colors.backgroundPage) || '#FFF';
78
80
  }, function (props) {
79
81
  var _props$theme6;
80
- return (_props$theme6 = props.theme) !== null && _props$theme6 !== void 0 && _props$theme6.rtl ? (0, _styledComponents.css)(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n left: 0px;\n "]))) : (0, _styledComponents.css)(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n right: 0px;\n "])));
82
+ return (_props$theme6 = props.theme) !== null && _props$theme6 !== void 0 && _props$theme6.rtl ? (0, _styledComponents.css)(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n left: 0px;\n "]))) : (0, _styledComponents.css)(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n right: 0px;\n "])));
81
83
  });
82
84
  exports.Container = Container;
83
- var DescriptionHeader = _styledComponents.default.div(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n"])));
85
+ var DescriptionHeader = _styledComponents.default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n"])));
84
86
  exports.DescriptionHeader = DescriptionHeader;
85
- var HeaderIcons = _styledComponents.default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n top: 25px;\n right: 20px;\n\n > button:first-child {\n ", "\n }\n"])), function (props) {
87
+ var HeaderIcons = _styledComponents.default.div(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n top: 25px;\n right: 20px;\n\n > button:first-child {\n ", "\n }\n"])), function (props) {
86
88
  var _props$theme7;
87
- return (_props$theme7 = props.theme) !== null && _props$theme7 !== void 0 && _props$theme7.rtl ? (0, _styledComponents.css)(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
89
+ return (_props$theme7 = props.theme) !== null && _props$theme7 !== void 0 && _props$theme7.rtl ? (0, _styledComponents.css)(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
88
90
  });
89
91
  exports.HeaderIcons = HeaderIcons;
90
- var SettingListConatiner = _styledComponents.default.div(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n width: 100%;\n margin: 20px 0;\n border-bottom: 1px solid #E9ECEF;\n"])));
92
+ var SettingListConatiner = _styledComponents.default.div(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n width: 100%;\n margin: 20px 0;\n border-bottom: 1px solid #E9ECEF;\n"])));
91
93
  exports.SettingListConatiner = SettingListConatiner;
92
- var Tab = _styledComponents.default.div(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n user-select: none;\n padding: 10px 0px;\n cursor: pointer;\n color: ", ";\n font-size: 14px;\n white-space: nowrap;\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
94
+ var Tab = _styledComponents.default.div(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n user-select: none;\n padding: 10px 0px;\n cursor: pointer;\n color: ", ";\n font-size: 14px;\n white-space: nowrap;\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
93
95
  var _props$theme$colors2;
94
96
  return (_props$theme$colors2 = props.theme.colors) === null || _props$theme$colors2 === void 0 ? void 0 : _props$theme$colors2.headingColor;
95
97
  }, function (props) {
96
98
  var _props$theme8;
97
- return (_props$theme8 = props.theme) !== null && _props$theme8 !== void 0 && _props$theme8.rtl ? (0, _styledComponents.css)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n margin-left: 30px;\n "]))) : (0, _styledComponents.css)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
99
+ return (_props$theme8 = props.theme) !== null && _props$theme8 !== void 0 && _props$theme8.rtl ? (0, _styledComponents.css)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n margin-left: 30px;\n "]))) : (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
98
100
  }, function (_ref2) {
99
101
  var active = _ref2.active;
100
- return active && (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n border-bottom: 2px solid;\n font-weight: 500;\n "])));
102
+ return active && (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n border-bottom: 2px solid;\n font-weight: 500;\n "])));
101
103
  }, function (_ref3) {
102
104
  var active = _ref3.active;
103
- return !active && (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n color: #909BA9;\n "])));
105
+ return !active && (0, _styledComponents.css)(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n color: #909BA9;\n "])));
104
106
  });
105
107
  exports.Tab = Tab;
106
- var Paragraph = _styledComponents.default.div(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n margin-top: 20px;\n h2{\n font-size: 16px;\n }\n p{\n white-space: pre-line;\n font-size: 12px;\n margin: 0;\n }\n span {\n font-size: 12px;\n }\n a {\n text-decoration: underline !important;\n cursor: pointer;\n font-size: 12px;\n color: ", " !important;\n }\n .bold {\n font-weight: 600;\n }\n"])), function (props) {
108
+ var Paragraph = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n margin-top: 20px;\n h2{\n font-size: 16px;\n }\n p{\n white-space: pre-line;\n font-size: 12px;\n margin: 0;\n }\n span {\n font-size: 12px;\n }\n a {\n text-decoration: underline !important;\n cursor: pointer;\n font-size: 12px;\n color: ", " !important;\n }\n .bold {\n font-weight: 600;\n }\n"])), function (props) {
107
109
  return props.theme.colors.primary;
108
110
  });
109
111
  exports.Paragraph = Paragraph;
110
- var PurchaseWrapper = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n button {\n border-radius: 5px;\n }\n margin-top: 15px;\n"])));
112
+ var PurchaseWrapper = _styledComponents.default.div(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n button {\n border-radius: 5px;\n }\n margin-top: 15px;\n"])));
111
113
  exports.PurchaseWrapper = PurchaseWrapper;
@@ -224,7 +224,9 @@ var PluginListUI = function PluginListUI(props) {
224
224
  onClick: function onClick() {
225
225
  return handleAddNewPlugin();
226
226
  }
227
- }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.PlusCircleFill, null)))))), !pluginListState.loading && /*#__PURE__*/_react.default.createElement(_styles2.PagesBottomContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.AddNewPageButton, {
227
+ }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.PlusCircleFill, null)))))), !pluginListState.loading && /*#__PURE__*/_react.default.createElement(_styles2.PagesBottomContainer, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
228
+ color: "primary",
229
+ borderRadius: "8px",
228
230
  onClick: function onClick() {
229
231
  return setIsAddMode(true);
230
232
  }
@@ -4,9 +4,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.PluginsTable = exports.PluginTbody = exports.PluginListContainer = exports.PagesBottomContainer = exports.PLuginsSeparator = exports.Header = exports.EnableWrapper = exports.AddNewPageButton = exports.ActionsContainer = exports.ActionSelectorWrapper = void 0;
7
+ exports.PluginsTable = exports.PluginTbody = exports.PluginListContainer = exports.PagesBottomContainer = exports.PLuginsSeparator = exports.Header = exports.EnableWrapper = exports.ActionsContainer = exports.ActionSelectorWrapper = void 0;
8
8
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22;
9
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21;
10
10
  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); }
11
11
  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; }
12
12
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
@@ -75,12 +75,8 @@ var ActionSelectorWrapper = _styledComponents.default.div(_templateObject18 || (
75
75
  return props.theme.colors.headingColor;
76
76
  });
77
77
  exports.ActionSelectorWrapper = ActionSelectorWrapper;
78
- var PagesBottomContainer = _styledComponents.default.div(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: ", ";\n align-items: center;\n flex-wrap: wrap;\n row-gap: 10px;\n margin: 15px 0;\n"])), function (props) {
78
+ var PagesBottomContainer = _styledComponents.default.div(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: ", ";\n align-items: center;\n flex-wrap: wrap;\n row-gap: 10px;\n margin: 15px 0;\n > button {\n height: 44px;\n }\n"])), function (props) {
79
79
  var _props$justifyContent;
80
80
  return (_props$justifyContent = props.justifyContent) !== null && _props$justifyContent !== void 0 ? _props$justifyContent : 'space-between';
81
81
  });
82
- exports.PagesBottomContainer = PagesBottomContainer;
83
- var AddNewPageButton = _styledComponents.default.div(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
84
- return props.theme.colors.lightGray;
85
- });
86
- exports.AddNewPageButton = AddNewPageButton;
82
+ exports.PagesBottomContainer = PagesBottomContainer;
@@ -162,7 +162,10 @@ var SettingsDetail = function SettingsDetail(props) {
162
162
  }), /*#__PURE__*/_react.default.createElement("source", {
163
163
  src: category.video,
164
164
  type: "video/webm"
165
- }))), /*#__PURE__*/_react.default.createElement(_styles2.AllSetting, {
165
+ }))), /*#__PURE__*/_react.default.createElement(_styles.Button, {
166
+ className: "all-setting",
167
+ color: "primary",
168
+ borderRadius: "8px",
166
169
  onClick: function onClick() {
167
170
  return handleExtraOpen(false);
168
171
  }
@@ -4,9 +4,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.VideoContainer = exports.SubCategoryWrapper = exports.SkeletonWrapper = exports.MoreInfo = exports.IframeWrapper = exports.HeaderIcons = exports.DescriptionHeader = exports.DescriptionContent = exports.Description = exports.Content = exports.Container = exports.CategoryName = exports.CategoryExtraContent = exports.AllSetting = void 0;
7
+ exports.VideoContainer = exports.SubCategoryWrapper = exports.SkeletonWrapper = exports.MoreInfo = exports.IframeWrapper = exports.HeaderIcons = exports.DescriptionHeader = exports.DescriptionContent = exports.Description = exports.Content = exports.Container = exports.CategoryName = exports.CategoryExtraContent = void 0;
8
8
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26;
9
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25;
10
10
  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); }
11
11
  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; }
12
12
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
@@ -33,38 +33,32 @@ var HeaderIcons = _styledComponents.default.div(_templateObject9 || (_templateOb
33
33
  return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
34
34
  });
35
35
  exports.HeaderIcons = HeaderIcons;
36
- var Content = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral([""])));
36
+ var Content = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n button.all-setting {\n height: 44px;\n user-select: none;\n margin-top: 36px;\n span {\n font-weight: 600;\n font-size: 14px;\n }\n svg {\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n }\n"])), function (props) {
37
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
38
+ });
37
39
  exports.Content = Content;
38
- var CategoryName = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n p {\n font-weight: bold;\n font-size: 20px;\n margin-bottom: 6px;\n width: 90%;\n }\n"])));
40
+ var CategoryName = _styledComponents.default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n p {\n font-weight: bold;\n font-size: 20px;\n margin-bottom: 6px;\n width: 90%;\n }\n"])));
39
41
  exports.CategoryName = CategoryName;
40
- var CategoryExtraContent = _styledComponents.default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
42
+ var CategoryExtraContent = _styledComponents.default.div(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
41
43
  var _props$theme4;
42
- return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
44
+ return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
43
45
  }, function (props) {
44
46
  var _props$theme5;
45
- return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
47
+ return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
46
48
  });
47
49
  exports.CategoryExtraContent = CategoryExtraContent;
48
- var Description = _styledComponents.default.p(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])));
50
+ var Description = _styledComponents.default.p(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])));
49
51
  exports.Description = Description;
50
- var VideoContainer = _styledComponents.default.div(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n position: relative;\n margin-top: 48px;\n height: 300px;\n background: #E9ECEF;\n border-radius: 7.6px;\n width: 100%;\n height: 100%;\n overflow: hidden;\n video {\n object-fit: cover;\n height: 100%;\n background: #E9ECEF;\n }\n\n svg {\n top: 45%;\n left: 45%;\n position: absolute;\n color: #748194;\n font-size: 34px;\n }\n"])));
52
+ var VideoContainer = _styledComponents.default.div(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n position: relative;\n margin-top: 48px;\n height: 300px;\n background: #E9ECEF;\n border-radius: 7.6px;\n width: 100%;\n height: 100%;\n overflow: hidden;\n video {\n object-fit: cover;\n height: 100%;\n background: #E9ECEF;\n }\n\n svg {\n top: 45%;\n left: 45%;\n position: absolute;\n color: #748194;\n font-size: 34px;\n }\n"])));
51
53
  exports.VideoContainer = VideoContainer;
52
- var AllSetting = _styledComponents.default.div(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n user-select: none;\n cursor: pointer;\n margin-top: 36px;\n cursor: pointer;\n span {\n font-weight: 600;\n font-size: 14px;\n color: ", ";\n }\n svg {\n color: ", ";\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n"])), function (props) {
53
- return props.theme.colors.primary;
54
- }, function (props) {
55
- return props.theme.colors.primary;
56
- }, function (props) {
57
- return props.theme.rtl && (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
58
- });
59
- exports.AllSetting = AllSetting;
60
- var MoreInfo = _styledComponents.default.span(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n cursor: pointer;\n user-select: none;\n color: ", ";\n text-decoration: underline;\n margin-top: 40px;\n font-size: 14px;\n"])), function (props) {
54
+ var MoreInfo = _styledComponents.default.span(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n cursor: pointer;\n user-select: none;\n color: ", ";\n text-decoration: underline;\n margin-top: 40px;\n font-size: 14px;\n"])), function (props) {
61
55
  var _props$theme$colors2;
62
56
  return (_props$theme$colors2 = props.theme.colors) === null || _props$theme$colors2 === void 0 ? void 0 : _props$theme$colors2.primary;
63
57
  });
64
58
  exports.MoreInfo = MoreInfo;
65
- var IframeWrapper = _styledComponents.default.div(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n padding-top: 35px;\n"])));
59
+ var IframeWrapper = _styledComponents.default.div(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n padding-top: 35px;\n"])));
66
60
  exports.IframeWrapper = IframeWrapper;
67
- var SubCategoryWrapper = _styledComponents.default.div(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n"])));
61
+ var SubCategoryWrapper = _styledComponents.default.div(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n"])));
68
62
  exports.SubCategoryWrapper = SubCategoryWrapper;
69
- var SkeletonWrapper = _styledComponents.default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral([""])));
63
+ var SkeletonWrapper = _styledComponents.default.div(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral([""])));
70
64
  exports.SkeletonWrapper = SkeletonWrapper;
@@ -59,6 +59,7 @@ var SettingsListUI = function SettingsListUI(props) {
59
59
  content: []
60
60
  });
61
61
  };
62
+ var valuesTypeSix = ['catering_delivery', 'catering_pickup'];
62
63
  var formatArray = function formatArray(values) {
63
64
  values = values.replace('[', '');
64
65
  values = values.replace(']', '');
@@ -105,6 +106,21 @@ var SettingsListUI = function SettingsListUI(props) {
105
106
  }
106
107
  handleClickUpdate && handleClickUpdate();
107
108
  };
109
+ var timeout = null;
110
+ var previousSearch = null;
111
+ var handleChangeTypeSix = function handleChangeTypeSix(catering, config) {
112
+ if (previousSearch !== catering.value) {
113
+ clearTimeout(timeout);
114
+ timeout = setTimeout(function () {
115
+ var cateringString = config === null || config === void 0 ? void 0 : config.value;
116
+ var stringParam = cateringString.split('|').map(function (string) {
117
+ return string.includes(catering.type) ? "".concat(catering.type, ",").concat(catering.value) : string;
118
+ }).join('|');
119
+ handleInputChange(stringParam, config.id);
120
+ }, 1500);
121
+ }
122
+ previousSearch = catering.value;
123
+ };
108
124
  var handleKeyPress = function handleKeyPress(e, key) {
109
125
  switch (key) {
110
126
  case 'platform_fee_fixed':
@@ -42,5 +42,8 @@ var SubmitBtnWrapper = _styledComponents.default.div(_templateObject12 || (_temp
42
42
  return props.theme.colors.primary;
43
43
  });
44
44
  exports.SubmitBtnWrapper = SubmitBtnWrapper;
45
- var Description = _styledComponents.default.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n font-size: 14px;\n margin-top: 0px;\n margin-bottom: 5px;\n"])));
45
+ var Description = _styledComponents.default.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n font-size: 14px;\n margin-top: ", ";\n margin-bottom: 5px;\n"])), function (_ref) {
46
+ var typeSix = _ref.typeSix;
47
+ return typeSix ? '20px' : '0px';
48
+ });
46
49
  exports.Description = Description;
@@ -199,10 +199,12 @@ var WebhookListUI = function WebhookListUI(props) {
199
199
  onClick: function onClick() {
200
200
  return handleAddNewWebhook();
201
201
  }
202
- }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.PlusCircleFill, null)))))), !webhookListState.loading && /*#__PURE__*/_react.default.createElement(_styles2.PagesBottomContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.AddNewPageButton, {
202
+ }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.PlusCircleFill, null)))))), !webhookListState.loading && /*#__PURE__*/_react.default.createElement(_styles2.PagesBottomContainer, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
203
203
  onClick: function onClick() {
204
204
  return setIsAddMode(true);
205
- }
205
+ },
206
+ color: "primary",
207
+ borderRadius: "8px"
206
208
  }, t('ADD_NEW_WEBHOOK ', 'Add new webhook')), (currentWebhooks === null || currentWebhooks === void 0 ? void 0 : currentWebhooks.length) > 0 && /*#__PURE__*/_react.default.createElement(_Shared.Pagination, {
207
209
  currentPage: currentPage,
208
210
  totalPages: totalPages,