ordering-ui-external 10.9.2 → 10.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_bundles/{7.ordering-ui.c4b4f29a4f0c8eaad874.js → 7.ordering-ui.f3309fd6405721daf0d7.js} +1 -1
- package/_bundles/{ordering-ui.c4b4f29a4f0c8eaad874.js → ordering-ui.f3309fd6405721daf0d7.js} +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Header/styles.js +13 -11
- package/package.json +2 -2
- package/src/themes/callcenterOriginal/src/components/Header/styles.js +4 -0
- /package/_bundles/{0.ordering-ui.c4b4f29a4f0c8eaad874.js → 0.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{1.ordering-ui.c4b4f29a4f0c8eaad874.js → 1.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{2.ordering-ui.c4b4f29a4f0c8eaad874.js → 2.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{4.ordering-ui.c4b4f29a4f0c8eaad874.js → 4.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{5.ordering-ui.c4b4f29a4f0c8eaad874.js → 5.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{6.ordering-ui.c4b4f29a4f0c8eaad874.js → 6.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{7.ordering-ui.c4b4f29a4f0c8eaad874.js.LICENSE.txt → 7.ordering-ui.f3309fd6405721daf0d7.js.LICENSE.txt} +0 -0
- /package/_bundles/{8.ordering-ui.c4b4f29a4f0c8eaad874.js → 8.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{9.ordering-ui.c4b4f29a4f0c8eaad874.js → 9.ordering-ui.f3309fd6405721daf0d7.js} +0 -0
- /package/_bundles/{ordering-ui.c4b4f29a4f0c8eaad874.js.LICENSE.txt → ordering-ui.f3309fd6405721daf0d7.js.LICENSE.txt} +0 -0
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.UserEdit = exports.SubMenu = exports.RightHeader = exports.MomentMenu = exports.MenuLink = exports.MenuItem = exports.Menu = exports.LogoHeader = exports.LeftHeader = exports.InnerHeader = exports.Header = exports.FarAwayMessage = exports.Divider = exports.CustomerInfo = exports.AdminSection = exports.AddressMenu = 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, _templateObject22, _templateObject23;
|
|
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) } })); }
|
|
@@ -46,9 +46,11 @@ var SubMenu = (0, _styledComponents.default)(InnerHeader)(_templateObject11 || (
|
|
|
46
46
|
exports.SubMenu = SubMenu;
|
|
47
47
|
var CustomerInfo = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: none;\n cursor: pointer;\n flex: 1;\n position: relative;\n @media (min-width: 450px) {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n display: flex;\n align-items: center;\n margin: 0;\n p {\n max-width: 250px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: #909BA9;\n margin: 0;\n }\n svg {\n color: #748194;\n margin: 0;\n font-size: 20px;\n }\n }\n }\n"])));
|
|
48
48
|
exports.CustomerInfo = CustomerInfo;
|
|
49
|
-
var UserEdit = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n > :first-child{\n margin-bottom: 20px;\n
|
|
49
|
+
var UserEdit = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n > :first-child{\n margin-bottom: 20px;\n width: 100%;\n ", "\n"])), function (props) {
|
|
50
|
+
return !props.isOpenUserData && (0, _styledComponents.css)(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n position: absolute;\n "])));
|
|
51
|
+
});
|
|
50
52
|
exports.UserEdit = UserEdit;
|
|
51
|
-
var AddressMenu = _styledComponents.default.div(
|
|
53
|
+
var AddressMenu = _styledComponents.default.div(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n display: flex;\n align-items: center;\n position: relative;\n width: 50%;\n\n span {\n width: 85%;\n p {\n margin: 0;\n padding: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n }\n\n svg {\n color: ", ";\n font-size: 16px;\n margin-right: 10px;\n ", "\n }\n @media (min-width: 765px) {\n width: 80%;\n }\n @media (min-width: 820px) {\n width: 50%;\n }\n"])), function (props) {
|
|
52
54
|
var _props$theme$colors;
|
|
53
55
|
return (_props$theme$colors = props.theme.colors) === null || _props$theme$colors === void 0 ? void 0 : _props$theme$colors.headingColor;
|
|
54
56
|
}, function (props) {
|
|
@@ -56,33 +58,33 @@ var AddressMenu = _styledComponents.default.div(_templateObject14 || (_templateO
|
|
|
56
58
|
return (_props$theme$colors2 = props.theme.colors) === null || _props$theme$colors2 === void 0 ? void 0 : _props$theme$colors2.lightGray;
|
|
57
59
|
}, function (props) {
|
|
58
60
|
var _props$theme2;
|
|
59
|
-
return ((_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.rtl) && (0, _styledComponents.css)(
|
|
61
|
+
return ((_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.rtl) && (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n margin-left: 10px;\n margin-right: 0;\n "])));
|
|
60
62
|
});
|
|
61
63
|
exports.AddressMenu = AddressMenu;
|
|
62
|
-
var MomentMenu = _styledComponents.default.div(
|
|
64
|
+
var MomentMenu = _styledComponents.default.div(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border-left: 1px solid #DEE2E6;\n border-right: 1px solid #DEE2E6;\n height: 100%;\n justify-content: center;\n width: 200px;\n display: none;\n\n @media (min-width: 821px) {\n display: flex;\n }\n\n @media (min-width: 1175px) {\n width: 250px;\n }\n\n @media (min-width: 1400px) {\n width: 400px;\n }\n\n > div {\n cursor: pointer;\n font-size: 14px;\n color: #909BA9;\n display: flex;\n align-items: center;\n text-align: center;\n white-space: nowrap;\n padding: 0 10px;\n }\n"])));
|
|
63
65
|
exports.MomentMenu = MomentMenu;
|
|
64
|
-
var FarAwayMessage = _styledComponents.default.div(
|
|
66
|
+
var FarAwayMessage = _styledComponents.default.div(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n pointer-events: none;\n position: absolute;\n display: flex;\n align-items: center;\n top: 100%;\n background: ", ";\n border: 1px solid ", ";\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n border-radius: 7.6px;\n padding: 6px 15px;\n box-sizing: border-box;\n z-index: 2000;\n margin: 10px 0px 0px 0px !important;\n\n left: 5px;\n ", "\n\n svg {\n font-size: 20px;\n color: ", ";\n margin-right: 10px;\n ", "\n }\n span {\n font-size: 12px;\n line-height: 18px;\n color: ", ";\n }\n\n @media (min-width: 400px) {\n padding: 8px 20px;\n font-size: 14px;\n line-height: 24px;\n left: 10px;\n ", "\n }\n"])), function (props) {
|
|
65
67
|
return props.theme.colors.warning100;
|
|
66
68
|
}, function (props) {
|
|
67
69
|
return props.theme.colors.warning500;
|
|
68
70
|
}, function (props) {
|
|
69
71
|
var _props$theme3;
|
|
70
|
-
return ((_props$theme3 = props.theme) === null || _props$theme3 === void 0 ? void 0 : _props$theme3.rtl) && (0, _styledComponents.css)(
|
|
72
|
+
return ((_props$theme3 = props.theme) === null || _props$theme3 === void 0 ? void 0 : _props$theme3.rtl) && (0, _styledComponents.css)(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n right: 5px;\n left: initial;\n "])));
|
|
71
73
|
}, function (props) {
|
|
72
74
|
return props.theme.colors.warning500;
|
|
73
75
|
}, function (props) {
|
|
74
76
|
var _props$theme4;
|
|
75
|
-
return ((_props$theme4 = props.theme) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.rtl) && (0, _styledComponents.css)(
|
|
77
|
+
return ((_props$theme4 = props.theme) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.rtl) && (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n margin-right: auto;\n margin-left: 10px;\n "])));
|
|
76
78
|
}, function (props) {
|
|
77
79
|
return props.theme.colors.headingColor;
|
|
78
80
|
}, function (props) {
|
|
79
81
|
var _props$theme5;
|
|
80
|
-
return ((_props$theme5 = props.theme) === null || _props$theme5 === void 0 ? void 0 : _props$theme5.rtl) && (0, _styledComponents.css)(
|
|
82
|
+
return ((_props$theme5 = props.theme) === null || _props$theme5 === void 0 ? void 0 : _props$theme5.rtl) && (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n right: 10px;\n left: initial;\n "])));
|
|
81
83
|
});
|
|
82
84
|
exports.FarAwayMessage = FarAwayMessage;
|
|
83
|
-
var Divider = _styledComponents.default.div(
|
|
85
|
+
var Divider = _styledComponents.default.div(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n border: 1px solid #DEE2E6;\n height: 100%;\n"])));
|
|
84
86
|
exports.Divider = Divider;
|
|
85
|
-
var AdminSection = _styledComponents.default.div(
|
|
87
|
+
var AdminSection = _styledComponents.default.div(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: #fff;\n height: 30px;\n width: 120px;\n color: ", ";\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 5px;\n cursor: pointer;\n p {\n margin: 0;\n font-size: 14px;\n }\n svg{\n width: 14px;\n height: 14px;\n }\n"])), function (_ref3) {
|
|
86
88
|
var _theme$colors;
|
|
87
89
|
var theme = _ref3.theme;
|
|
88
90
|
return theme === null || theme === void 0 || (_theme$colors = theme.colors) === null || _theme$colors === void 0 ? void 0 : _theme$colors.primary;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ordering-ui-external",
|
|
3
|
-
"version": "10.9.
|
|
3
|
+
"version": "10.9.4",
|
|
4
4
|
"description": "Ordering UI Components",
|
|
5
5
|
"main": "./_modules/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"lodash": "^4.17.19",
|
|
89
89
|
"moment": "^2.29.4",
|
|
90
90
|
"nanoid": "^4.0.0",
|
|
91
|
-
"ordering-components-external": "9.9.
|
|
91
|
+
"ordering-components-external": "9.9.2",
|
|
92
92
|
"payment": "^2.4.6",
|
|
93
93
|
"polished": "^3.6.6",
|
|
94
94
|
"react-bootstrap-icons": "^1.7.2",
|
/package/_bundles/{0.ordering-ui.c4b4f29a4f0c8eaad874.js → 0.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|
/package/_bundles/{1.ordering-ui.c4b4f29a4f0c8eaad874.js → 1.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|
/package/_bundles/{2.ordering-ui.c4b4f29a4f0c8eaad874.js → 2.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|
/package/_bundles/{4.ordering-ui.c4b4f29a4f0c8eaad874.js → 4.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|
/package/_bundles/{5.ordering-ui.c4b4f29a4f0c8eaad874.js → 5.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|
/package/_bundles/{6.ordering-ui.c4b4f29a4f0c8eaad874.js → 6.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/_bundles/{8.ordering-ui.c4b4f29a4f0c8eaad874.js → 8.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|
/package/_bundles/{9.ordering-ui.c4b4f29a4f0c8eaad874.js → 9.ordering-ui.f3309fd6405721daf0d7.js}
RENAMED
|
File without changes
|