@qiwi/pijma-desktop-extra 0.2.12 → 0.2.13

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 (44) hide show
  1. package/package.json +22 -22
  2. package/target/es5/amount/index.js +7 -7
  3. package/target/es5/checkbox/index.js +15 -15
  4. package/target/es5/chip/index.js +14 -14
  5. package/target/es5/date-picker/index.js +31 -31
  6. package/target/es5/date-picker/locale.js +5 -5
  7. package/target/es5/date-picker/wrap.js +4 -4
  8. package/target/es5/date-range-picker/index.js +46 -44
  9. package/target/es5/divider/index.js +9 -9
  10. package/target/es5/dropdown/Container.js +23 -23
  11. package/target/es5/dropdown/index.js +18 -18
  12. package/target/es5/empty-page/index.js +19 -19
  13. package/target/es5/error-message/index.js +18 -18
  14. package/target/es5/file-uploader/FileUploaderStyles.js +6 -6
  15. package/target/es5/file-uploader/index.js +26 -26
  16. package/target/es5/footer/index.js +23 -23
  17. package/target/es5/header/index.js +28 -28
  18. package/target/es5/icon/index.js +13 -13
  19. package/target/es5/index.js +30 -30
  20. package/target/es5/logo/index.js +23 -23
  21. package/target/es5/menu/index.js +24 -24
  22. package/target/es5/navigation-menu/index.js +13 -13
  23. package/target/es5/obfuscatedPan/index.js +5 -5
  24. package/target/es5/offset/index.js +4 -4
  25. package/target/es5/paginator/index.js +9 -9
  26. package/target/es5/product/index.js +30 -30
  27. package/target/es5/select/index.js +23 -23
  28. package/target/es5/spinner/index.js +5 -5
  29. package/target/es5/spreader/index.js +4 -4
  30. package/target/es5/step/StepStyle.js +4 -4
  31. package/target/es5/step/index.js +14 -14
  32. package/target/es5/stepper/StepperControl.js +4 -4
  33. package/target/es5/stepper/index.js +14 -14
  34. package/target/es5/table/column.js +3 -3
  35. package/target/es5/table/constants.js +2 -2
  36. package/target/es5/table/index.js +24 -24
  37. package/target/es5/theme/index.js +4 -4
  38. package/target/es5/trinary-check-icon/index.js +9 -9
  39. package/target/es5/user-profile/index.js +19 -19
  40. package/target/es6/date-range-picker/index.js +6 -4
  41. package/target/es6/file-uploader/FileUploaderControl.js +1 -1
  42. package/target/es6/header/index.js +1 -1
  43. package/target/es6/select/index.js +1 -1
  44. package/target/es6/stepper/index.js +1 -1
@@ -8,15 +8,15 @@ Object.defineProperty(exports, "Footer", {
8
8
  return Footer;
9
9
  }
10
10
  });
11
- var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
12
- var _taggedTemplateLiteralLoose = require("@swc/helpers/lib/_tagged_template_literal_loose.js").default;
13
- var _jsxRuntime = require("react/jsx-runtime");
14
- var _pijmaCore = require("@qiwi/pijma-core");
15
- var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
16
- var _reactI18Next = require("react-i18next");
17
- var _spreader = /*#__PURE__*/ _interopRequireDefault(require("../spreader/index.js"));
11
+ var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
12
+ var _tagged_template_literal_loose = require("@swc/helpers/_/_tagged_template_literal_loose");
13
+ var _jsxruntime = require("react/jsx-runtime");
14
+ var _pijmacore = require("@qiwi/pijma-core");
15
+ var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
16
+ var _reacti18next = require("react-i18next");
17
+ var _spreader = /*#__PURE__*/ _interop_require_default._(require("../spreader/index.js"));
18
18
  function _templateObject() {
19
- var data = _taggedTemplateLiteralLoose([
19
+ var data = _tagged_template_literal_loose._([
20
20
  "\n margin-top: 75px;\n color: #4a4a4a;\n margin-bottom: 50px;\n color: #4a4a4a;\n"
21
21
  ]);
22
22
  _templateObject = function _templateObject() {
@@ -25,7 +25,7 @@ function _templateObject() {
25
25
  return data;
26
26
  }
27
27
  function _templateObject1() {
28
- var data = _taggedTemplateLiteralLoose([
28
+ var data = _tagged_template_literal_loose._([
29
29
  "\n cursor: pointer;\n text-decoration: none;\n color: #4a4a4a;\n :hover {\n color: ",
30
30
  ";\n }\n"
31
31
  ]);
@@ -34,8 +34,8 @@ function _templateObject1() {
34
34
  };
35
35
  return data;
36
36
  }
37
- var Wrapper = (0, _pijmaCore.styled)(_spreader.default)(_templateObject());
38
- var References = (0, _pijmaCore.styled)("a")(_templateObject1(), function(props) {
37
+ var Wrapper = (0, _pijmacore.styled)(_spreader.default)(_templateObject());
38
+ var References = (0, _pijmacore.styled)("a")(_templateObject1(), function(props) {
39
39
  return props.theme.color.gray.dark;
40
40
  });
41
41
  function setLang(lng) {
@@ -43,16 +43,16 @@ function setLang(lng) {
43
43
  }
44
44
  var Footer = function(param) {
45
45
  var email = param.email;
46
- var ref = (0, _reactI18Next.useTranslation)(), t = ref.t, i18n = ref.i18n;
46
+ var _useTranslation = (0, _reacti18next.useTranslation)(), t = _useTranslation.t, i18n = _useTranslation.i18n;
47
47
  var lang = i18n.language.replace(/(\w+).*/, "$1");
48
- return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(Wrapper, {
48
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(Wrapper, {
49
49
  children: [
50
- /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, {
50
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Flex, {
51
51
  p: 0,
52
52
  m: 0,
53
53
  justify: "space-between",
54
54
  children: [
55
- /*#__PURE__*/ (0, _jsxRuntime.jsxs)("div", {
55
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
56
56
  children: [
57
57
  "\xa9 ",
58
58
  new Date().getFullYear(),
@@ -61,25 +61,25 @@ var Footer = function(param) {
61
61
  " № 2241"
62
62
  ]
63
63
  }),
64
- /*#__PURE__*/ (0, _jsxRuntime.jsx)(References, {
64
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(References, {
65
65
  href: email || "/#",
66
66
  children: t("footer:support")
67
67
  })
68
68
  ]
69
69
  }),
70
- /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, {
70
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Flex, {
71
71
  p: 0,
72
72
  m: 0,
73
73
  justify: "space-between",
74
74
  children: [
75
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("span", {
75
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
76
76
  children: "\xa0"
77
77
  }),
78
- /*#__PURE__*/ (0, _jsxRuntime.jsxs)("span", {
78
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)("span", {
79
79
  children: [
80
- lang === "ru" ? /*#__PURE__*/ (0, _jsxRuntime.jsx)("span", {
80
+ lang === "ru" ? /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
81
81
  children: "РУС"
82
- }) : /*#__PURE__*/ (0, _jsxRuntime.jsx)("a", {
82
+ }) : /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
83
83
  style: {
84
84
  paddingLeft: 0
85
85
  },
@@ -93,9 +93,9 @@ var Footer = function(param) {
93
93
  " ",
94
94
  "/",
95
95
  " ",
96
- lang === "en" ? /*#__PURE__*/ (0, _jsxRuntime.jsx)("span", {
96
+ lang === "en" ? /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
97
97
  children: "EN"
98
- }) : /*#__PURE__*/ (0, _jsxRuntime.jsx)("a", {
98
+ }) : /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
99
99
  style: {
100
100
  paddingLeft: 0
101
101
  },
@@ -8,20 +8,20 @@ Object.defineProperty(exports, "Header", {
8
8
  return Header;
9
9
  }
10
10
  });
11
- var _inherits = require("@swc/helpers/lib/_inherits.js").default;
12
- var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
13
- var _taggedTemplateLiteralLoose = require("@swc/helpers/lib/_tagged_template_literal_loose.js").default;
14
- var _jsxRuntime = require("react/jsx-runtime");
15
- var _pijmaCore = require("@qiwi/pijma-core");
16
- var _pijmaDesktop = require("@qiwi/pijma-desktop");
17
- var _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ var _inherits = require("@swc/helpers/_/_inherits");
12
+ var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
13
+ var _tagged_template_literal_loose = require("@swc/helpers/_/_tagged_template_literal_loose");
14
+ var _jsxruntime = require("react/jsx-runtime");
15
+ var _pijmacore = require("@qiwi/pijma-core");
16
+ var _pijmadesktop = require("@qiwi/pijma-desktop");
17
+ var _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
18
18
  var _logo = require("../logo/index.js");
19
19
  var _product = require("../product/index.js");
20
20
  var _spinner = require("../spinner/index.js");
21
21
  var _theme = require("../theme/index.js");
22
- var _userProfile = require("../user-profile/index.js");
22
+ var _userprofile = require("../user-profile/index.js");
23
23
  function _templateObject() {
24
- var data = _taggedTemplateLiteralLoose([
24
+ var data = _tagged_template_literal_loose._([
25
25
  "\n width: 100%;\n position: relative;\n top: 0;\n left: 0;\n height: 80px;\n padding: 0;\n margin: 0 auto;\n color: ",
26
26
  ";\n background: ",
27
27
  ";\n font-size: 11pt;\n"
@@ -32,7 +32,7 @@ function _templateObject() {
32
32
  return data;
33
33
  }
34
34
  function _templateObject1() {
35
- var data = _taggedTemplateLiteralLoose([
35
+ var data = _tagged_template_literal_loose._([
36
36
  "\n width: ",
37
37
  ";\n margin: 0 auto;\n height: 100%;\n"
38
38
  ]);
@@ -41,17 +41,17 @@ function _templateObject1() {
41
41
  };
42
42
  return data;
43
43
  }
44
- var HeaderContainer = (0, _pijmaCore.styled)("header")(_templateObject(), _theme.COLOR.TEXT.Secondary2, _theme.COLOR.BACKGROUND.Primary);
45
- var HeaderContent = (0, _pijmaCore.styled)("div")(_templateObject1(), _theme.DIMEN.SITE_WIDTH);
44
+ var HeaderContainer = (0, _pijmacore.styled)("header")(_templateObject(), _theme.COLOR.TEXT.Secondary2, _theme.COLOR.BACKGROUND.Primary);
45
+ var HeaderContent = (0, _pijmacore.styled)("div")(_templateObject1(), _theme.DIMEN.SITE_WIDTH);
46
46
  var Header = /*#__PURE__*/ function(Component) {
47
47
  "use strict";
48
- _inherits(Header, Component);
48
+ _inherits._(Header, Component);
49
49
  function Header() {
50
50
  return Component.apply(this, arguments);
51
51
  }
52
52
  var _proto = Header.prototype;
53
53
  _proto.render = function render() {
54
- var _props = this.props, isLoading = _props.isLoading, title = _props.title, selectorData = _props.selectorData, navItems = _props.navItems, userName = _props.userName, onItemChange = _props.onItemChange, onLogout = _props.onLogout;
54
+ var _this_props = this.props, isLoading = _this_props.isLoading, title = _this_props.title, selectorData = _this_props.selectorData, navItems = _this_props.navItems, userName = _this_props.userName, onItemChange = _this_props.onItemChange, onLogout = _this_props.onLogout;
55
55
  var menuItems = navItems.map(function(param) {
56
56
  var name = param.name, path = param.path;
57
57
  var href = typeof path === "string" ? path : path.value;
@@ -64,50 +64,50 @@ var Header = /*#__PURE__*/ function(Component) {
64
64
  }
65
65
  };
66
66
  });
67
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(HeaderContainer, {
68
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(HeaderContent, {
69
- children: isLoading ? /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Flex, {
67
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(HeaderContainer, {
68
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(HeaderContent, {
69
+ children: isLoading ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Flex, {
70
70
  justify: "center",
71
71
  align: "center",
72
72
  css: {
73
73
  height: "100%"
74
74
  },
75
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_spinner.B2bSpinner, {})
76
- }) : /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, {
75
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_spinner.B2bSpinner, {})
76
+ }) : /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Flex, {
77
77
  p: 0,
78
78
  m: 0,
79
79
  justify: "space-between",
80
80
  align: "center",
81
81
  children: [
82
- /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, {
82
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Flex, {
83
83
  align: "center",
84
84
  children: [
85
- /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.FlexItem, {
85
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.FlexItem, {
86
86
  mr: 10,
87
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)("a", {
87
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
88
88
  href: "http://" + window.location.host + "/service/core/merchants",
89
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_logo.Logo, {})
89
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_logo.Logo, {})
90
90
  })
91
91
  }),
92
- /*#__PURE__*/ (0, _jsxRuntime.jsx)(_product.Product, {
92
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_product.Product, {
93
93
  title: title,
94
94
  selectorData: selectorData,
95
95
  onChange: onItemChange
96
96
  }),
97
- /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.FlexItem, {
97
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.FlexItem, {
98
98
  ml: 10,
99
99
  p: 0,
100
100
  height: 20,
101
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaDesktop.HeaderMenu, {
101
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmadesktop.HeaderMenu, {
102
102
  children: menuItems
103
103
  })
104
104
  })
105
105
  ]
106
106
  }),
107
- /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.FlexItem, {
107
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.FlexItem, {
108
108
  m: 0,
109
109
  p: 0,
110
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_userProfile.UserProfile, {
110
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_userprofile.UserProfile, {
111
111
  onClick: onLogout,
112
112
  userName: userName
113
113
  })
@@ -8,14 +8,14 @@ Object.defineProperty(exports, "B2bIcon", {
8
8
  return B2bIcon;
9
9
  }
10
10
  });
11
- var _inherits = require("@swc/helpers/lib/_inherits.js").default;
12
- var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
13
- var _taggedTemplateLiteralLoose = require("@swc/helpers/lib/_tagged_template_literal_loose.js").default;
14
- var _jsxRuntime = require("react/jsx-runtime");
15
- var _pijmaCore = require("@qiwi/pijma-core");
16
- var _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ var _inherits = require("@swc/helpers/_/_inherits");
12
+ var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
13
+ var _tagged_template_literal_loose = require("@swc/helpers/_/_tagged_template_literal_loose");
14
+ var _jsxruntime = require("react/jsx-runtime");
15
+ var _pijmacore = require("@qiwi/pijma-core");
16
+ var _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
17
17
  function _templateObject() {
18
- var data = _taggedTemplateLiteralLoose([
18
+ var data = _tagged_template_literal_loose._([
19
19
  "\n width: ",
20
20
  "px;\n height: ",
21
21
  "px;\n float: left;\n display: inline-block;\n"
@@ -25,25 +25,25 @@ function _templateObject() {
25
25
  };
26
26
  return data;
27
27
  }
28
- var IconSizeWrapper = (0, _pijmaCore.styled)("div")(_templateObject(), function(props) {
28
+ var IconSizeWrapper = (0, _pijmacore.styled)("div")(_templateObject(), function(props) {
29
29
  return props.w ? props.w : "24";
30
30
  }, function(props) {
31
31
  return props.h ? props.h : "24";
32
32
  });
33
33
  var B2bIcon = /*#__PURE__*/ function(Component) {
34
34
  "use strict";
35
- _inherits(B2bIcon, Component);
35
+ _inherits._(B2bIcon, Component);
36
36
  function B2bIcon() {
37
37
  return Component.apply(this, arguments);
38
38
  }
39
39
  var _proto = B2bIcon.prototype;
40
40
  _proto.render = function render() {
41
- var _props = this.props, icon = _props.icon, iconColor = _props.iconColor, h = _props.h, w = _props.w;
42
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_react.Fragment, {
43
- children: typeof icon === "string" ? /*#__PURE__*/ (0, _jsxRuntime.jsx)(IconSizeWrapper, {
41
+ var _this_props = this.props, icon = _this_props.icon, iconColor = _this_props.iconColor, h = _this_props.h, w = _this_props.w;
42
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_react.Fragment, {
43
+ children: typeof icon === "string" ? /*#__PURE__*/ (0, _jsxruntime.jsx)(IconSizeWrapper, {
44
44
  h: h,
45
45
  w: w,
46
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Icon, {
46
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Icon, {
47
47
  name: icon,
48
48
  color: iconColor
49
49
  })
@@ -2,33 +2,33 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("@qiwi/pijma-core"), exports);
7
- _exportStar(require("./amount/index.js"), exports);
8
- _exportStar(require("./divider/index.js"), exports);
9
- _exportStar(require("./dropdown/index.js"), exports);
10
- _exportStar(require("./logo/index.js"), exports);
11
- _exportStar(require("./obfuscatedPan/index.js"), exports);
12
- _exportStar(require("./offset/index.js"), exports);
13
- _exportStar(require("./spinner/index.js"), exports);
14
- _exportStar(require("./spreader/index.js"), exports);
15
- _exportStar(require("./step/index.js"), exports);
16
- _exportStar(require("./trinary-check-icon/index.js"), exports);
17
- _exportStar(require("./checkbox/index.js"), exports);
18
- _exportStar(require("./chip/index.js"), exports);
19
- _exportStar(require("./date-picker/index.js"), exports);
20
- _exportStar(require("./date-range-picker/index.js"), exports);
21
- _exportStar(require("./error-message/index.js"), exports);
22
- _exportStar(require("./file-uploader/index.js"), exports);
23
- _exportStar(require("./footer/index.js"), exports);
24
- _exportStar(require("./icon/index.js"), exports);
25
- _exportStar(require("./menu/index.js"), exports);
26
- _exportStar(require("./navigation-menu/index.js"), exports);
27
- _exportStar(require("./paginator/index.js"), exports);
28
- _exportStar(require("./product/index.js"), exports);
29
- _exportStar(require("./select/index.js"), exports);
30
- _exportStar(require("./stepper/index.js"), exports);
31
- _exportStar(require("./user-profile/index.js"), exports);
32
- _exportStar(require("./header/index.js"), exports);
33
- _exportStar(require("./empty-page/index.js"), exports);
34
- _exportStar(require("./table/index.js"), exports);
5
+ var _export_star = require("@swc/helpers/_/_export_star");
6
+ _export_star._(require("@qiwi/pijma-core"), exports);
7
+ _export_star._(require("./amount/index.js"), exports);
8
+ _export_star._(require("./divider/index.js"), exports);
9
+ _export_star._(require("./dropdown/index.js"), exports);
10
+ _export_star._(require("./logo/index.js"), exports);
11
+ _export_star._(require("./obfuscatedPan/index.js"), exports);
12
+ _export_star._(require("./offset/index.js"), exports);
13
+ _export_star._(require("./spinner/index.js"), exports);
14
+ _export_star._(require("./spreader/index.js"), exports);
15
+ _export_star._(require("./step/index.js"), exports);
16
+ _export_star._(require("./trinary-check-icon/index.js"), exports);
17
+ _export_star._(require("./checkbox/index.js"), exports);
18
+ _export_star._(require("./chip/index.js"), exports);
19
+ _export_star._(require("./date-picker/index.js"), exports);
20
+ _export_star._(require("./date-range-picker/index.js"), exports);
21
+ _export_star._(require("./error-message/index.js"), exports);
22
+ _export_star._(require("./file-uploader/index.js"), exports);
23
+ _export_star._(require("./footer/index.js"), exports);
24
+ _export_star._(require("./icon/index.js"), exports);
25
+ _export_star._(require("./menu/index.js"), exports);
26
+ _export_star._(require("./navigation-menu/index.js"), exports);
27
+ _export_star._(require("./paginator/index.js"), exports);
28
+ _export_star._(require("./product/index.js"), exports);
29
+ _export_star._(require("./select/index.js"), exports);
30
+ _export_star._(require("./stepper/index.js"), exports);
31
+ _export_star._(require("./user-profile/index.js"), exports);
32
+ _export_star._(require("./header/index.js"), exports);
33
+ _export_star._(require("./empty-page/index.js"), exports);
34
+ _export_star._(require("./table/index.js"), exports);
@@ -8,82 +8,82 @@ Object.defineProperty(exports, "Logo", {
8
8
  return Logo;
9
9
  }
10
10
  });
11
- var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
12
- var _jsxRuntime = require("react/jsx-runtime");
13
- var _pijmaCore = require("@qiwi/pijma-core");
14
- var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
11
+ var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
12
+ var _jsxruntime = require("react/jsx-runtime");
13
+ var _pijmacore = require("@qiwi/pijma-core");
14
+ var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
15
15
  var Logo = function() {
16
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
16
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
17
17
  width: "266px",
18
18
  height: "64px",
19
- children: /*#__PURE__*/ (0, _jsxRuntime.jsxs)("svg", {
19
+ children: /*#__PURE__*/ (0, _jsxruntime.jsxs)("svg", {
20
20
  width: "266",
21
21
  height: "64",
22
22
  viewBox: "0 0 266 64",
23
23
  fill: "none",
24
24
  xmlns: "http://www.w3.org/2000/svg",
25
25
  children: [
26
- /*#__PURE__*/ (0, _jsxRuntime.jsxs)("g", {
26
+ /*#__PURE__*/ (0, _jsxruntime.jsxs)("g", {
27
27
  clipPath: "url(#clip0_447_5)",
28
28
  children: [
29
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
29
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
30
30
  d: "M265.142 0H0V64H265.142V0Z",
31
31
  fill: "white"
32
32
  }),
33
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
33
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
34
34
  d: "M78.5211 41.1624V22.7337H74.0112V41.1624H78.5211ZM56.7462 41.1624L59.0651 31.8579C59.2358 31.1454 59.3567 30.4219 59.4267 29.6926H59.4779C59.5472 30.4219 59.6677 31.1455 59.8384 31.8579L62.1542 41.1624H67.1803L71.8459 22.7337H67.1803L64.6544 34.2536C64.5197 34.89 64.4433 35.5373 64.4261 36.1875H64.3739C64.3332 35.5348 64.2296 34.8875 64.0645 34.2547L61.3072 22.7347H57.6688L54.8336 34.2547C54.6692 34.8877 54.5656 35.5349 54.5243 36.1875H54.4731V36.148C54.4507 35.5114 54.3732 34.878 54.2416 34.2547L51.9216 22.7347H47.1792L51.6592 41.1635L56.7462 41.1624ZM44.9061 41.1624V22.7337H40.4005V41.1624H44.9061ZM27.9248 37.348C25.0128 37.348 22.9509 34.9768 22.9509 31.8323C22.9509 28.8158 25.0128 26.548 27.9248 26.548C30.76 26.548 32.8997 28.8158 32.8997 31.8323C32.8993 32.6478 32.7327 33.4546 32.4101 34.2035L30.5797 32.4264L28.0528 35.2862L29.9344 36.9352C29.368 37.219 28.5947 37.348 27.9248 37.348ZM35.1163 41.7299L37.6677 38.868L35.7328 37.2958C36.8155 35.7502 37.5632 33.9454 37.5632 31.8323C37.5632 26.548 33.6165 22.4243 27.9227 22.4243C22.2011 22.4243 18.2832 26.548 18.2832 31.8323C18.2832 37.2446 22.2011 41.4718 27.9227 41.4718C29.9333 41.4718 31.7371 40.931 33.2325 39.9507L35.1163 41.7299Z",
35
35
  fill: "#FF6F00"
36
36
  }),
37
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
37
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
38
38
  d: "M110.516 22.1376L100.658 31.9956L110.516 41.8536L120.374 31.9956L110.516 22.1376Z",
39
39
  fill: "#FF6F00"
40
40
  }),
41
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
41
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
42
42
  d: "M110.517 41.8537L106.658 45.714H86.9492L100.659 31.9956L110.517 41.8537Z",
43
43
  fill: "#FFB374"
44
44
  }),
45
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
45
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
46
46
  d: "M110.517 22.1374L100.659 31.9955L86.9492 18.2856H106.658L110.517 22.1374Z",
47
47
  fill: "#FFB374"
48
48
  }),
49
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
49
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
50
50
  d: "M129.686 22.7412H136.279C139.641 22.7412 142.012 24.4617 142.012 27.5113C142.012 29.2308 141.179 30.7167 139.772 31.4729V31.5252C141.804 32.1247 142.769 34.0009 142.769 35.8783C142.769 39.5785 139.798 41.2468 136.383 41.2468H129.686V22.7412ZM136.305 30.3007C137.764 30.3007 138.599 29.2575 138.599 27.9284C138.599 26.5993 137.79 25.6351 136.252 25.6351H133.046V30.3007H136.305ZM136.643 38.3529C138.364 38.3529 139.328 37.2329 139.328 35.6692C139.328 34.1311 138.337 33.0111 136.643 33.0111H133.047V38.3529H136.643Z",
51
51
  fill: "#272A35"
52
52
  }),
53
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
53
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
54
54
  d: "M145.828 22.7412H149.19V34.5748C149.19 37.0762 150.806 38.4842 153.282 38.4842C155.758 38.4842 157.374 37.0762 157.374 34.5748V22.7412H160.736V34.6015C160.736 38.7444 157.765 41.5594 153.309 41.5594C148.829 41.5594 145.828 38.7444 145.828 34.6015V22.7412Z",
55
55
  fill: "#272A35"
56
56
  }),
57
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
57
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
58
58
  d: "M165.326 36.5034C166.42 37.4933 168.192 38.4575 169.913 38.4575C171.581 38.4575 172.623 37.5978 172.623 36.3466C172.623 32.8266 163.997 33.5583 163.997 27.7983C163.997 24.5396 166.707 22.4287 170.304 22.4287C172.233 22.4287 174.266 23.0804 175.725 24.4095L174.239 27.1466C173.223 26.2346 171.633 25.5306 170.174 25.5306C168.479 25.5306 167.359 26.3647 167.359 27.6415C167.359 31.0815 175.986 30.1962 175.986 36.0863C175.986 39.0837 173.796 41.5594 169.835 41.5594C167.54 41.5594 165.169 40.6997 163.502 39.0314L165.326 36.5034Z",
59
59
  fill: "#272A35"
60
60
  }),
61
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
61
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
62
62
  d: "M179.396 22.7412H182.758V41.2468H179.396V22.7412Z",
63
63
  fill: "#272A35"
64
64
  }),
65
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
65
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
66
66
  d: "M187.076 22.7412H190.437L197.448 33.4281C198.126 34.5225 198.987 36.2943 198.987 36.2943H199.038C199.038 36.2943 198.855 34.5225 198.855 33.4281V22.7412H202.192V41.2468H198.855L191.844 30.5865C191.141 29.4921 190.307 27.7204 190.307 27.7204H190.255C190.255 27.7204 190.437 29.4921 190.437 30.5865V41.2468H187.076V22.7412Z",
67
67
  fill: "#272A35"
68
68
  }),
69
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
69
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
70
70
  d: "M206.561 22.7412H217.637V25.6351H209.919V30.4831H216.149V33.3759H209.919V38.3529H218.051V41.2468H206.561V22.7412Z",
71
71
  fill: "#272A35"
72
72
  }),
73
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
73
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
74
74
  d: "M221.939 36.5034C223.034 37.4933 224.805 38.4575 226.526 38.4575C228.194 38.4575 229.236 37.5978 229.236 36.3466C229.236 32.8266 220.61 33.5583 220.61 27.7983C220.61 24.5396 223.321 22.4287 226.917 22.4287C228.846 22.4287 230.879 23.0804 232.338 24.4095L230.852 27.1466C229.836 26.2346 228.246 25.5306 226.787 25.5306C225.092 25.5306 223.972 26.3647 223.972 27.6415C223.972 31.0815 232.6 30.1962 232.6 36.0863C232.6 39.0837 230.41 41.5594 226.448 41.5594C224.154 41.5594 221.782 40.6997 220.115 39.0314L221.939 36.5034Z",
75
75
  fill: "#272A35"
76
76
  }),
77
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("path", {
77
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("path", {
78
78
  d: "M236.197 36.5034C237.291 37.4933 239.063 38.4575 240.784 38.4575C242.452 38.4575 243.494 37.5978 243.494 36.3466C243.494 32.8266 234.868 33.5583 234.868 27.7983C234.868 24.5396 237.578 22.4287 241.175 22.4287C243.104 22.4287 245.137 23.0804 246.596 24.4095L245.11 27.1466C244.094 26.2346 242.504 25.5306 241.045 25.5306C239.35 25.5306 238.23 26.3647 238.23 27.6415C238.23 31.0815 246.857 30.1962 246.857 36.0863C246.857 39.0837 244.667 41.5594 240.706 41.5594C238.411 41.5594 236.04 40.6997 234.373 39.0314L236.197 36.5034Z",
79
79
  fill: "#272A35"
80
80
  })
81
81
  ]
82
82
  }),
83
- /*#__PURE__*/ (0, _jsxRuntime.jsx)("defs", {
84
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)("clipPath", {
83
+ /*#__PURE__*/ (0, _jsxruntime.jsx)("defs", {
84
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)("clipPath", {
85
85
  id: "clip0_447_5",
86
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)("rect", {
86
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)("rect", {
87
87
  width: "265.142",
88
88
  height: "64",
89
89
  fill: "white"
@@ -8,17 +8,17 @@ Object.defineProperty(exports, "Menu", {
8
8
  return Menu;
9
9
  }
10
10
  });
11
- var _assertThisInitialized = require("@swc/helpers/lib/_assert_this_initialized.js").default;
12
- var _extends = require("@swc/helpers/lib/_extends.js").default;
13
- var _inherits = require("@swc/helpers/lib/_inherits.js").default;
14
- var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
15
- var _taggedTemplateLiteralLoose = require("@swc/helpers/lib/_tagged_template_literal_loose.js").default;
16
- var _jsxRuntime = require("react/jsx-runtime");
17
- var _pijmaCore = require("@qiwi/pijma-core");
18
- var _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ var _assert_this_initialized = require("@swc/helpers/_/_assert_this_initialized");
12
+ var _extends = require("@swc/helpers/_/_extends");
13
+ var _inherits = require("@swc/helpers/_/_inherits");
14
+ var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
15
+ var _tagged_template_literal_loose = require("@swc/helpers/_/_tagged_template_literal_loose");
16
+ var _jsxruntime = require("react/jsx-runtime");
17
+ var _pijmacore = require("@qiwi/pijma-core");
18
+ var _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
19
19
  var _theme = require("../theme/index.js");
20
20
  function _templateObject() {
21
- var data = _taggedTemplateLiteralLoose([
21
+ var data = _tagged_template_literal_loose._([
22
22
  "\n ul {\n display: block;\n width: 100%;\n }\n"
23
23
  ]);
24
24
  _templateObject = function _templateObject() {
@@ -27,7 +27,7 @@ function _templateObject() {
27
27
  return data;
28
28
  }
29
29
  function _templateObject1() {
30
- var data = _taggedTemplateLiteralLoose([
30
+ var data = _tagged_template_literal_loose._([
31
31
  "\n float: left;\n display: inline-block;\n margin-right: 20px;\n padding-bottom: 4px;\n font-size: 12pt;\n color: ",
32
32
  ";\n * {\n color: ",
33
33
  ";\n }\n :hover {\n cursor: pointer;\n }\n"
@@ -38,7 +38,7 @@ function _templateObject1() {
38
38
  return data;
39
39
  }
40
40
  function _templateObject2() {
41
- var data = _taggedTemplateLiteralLoose([
41
+ var data = _tagged_template_literal_loose._([
42
42
  "\n float: left;\n display: inline-block;\n margin-right: 20px;\n font-size: 12pt;\n font-weight: 500;\n color: ",
43
43
  " !important;\n :after {\n width: 100%;\n bottom: 0;\n height: 4px;\n content: '';\n background-color: ",
44
44
  ";\n border-radius: 2px 2px 0 0;\n display: block;\n margin-top: 4px;\n }\n * {\n color: ",
@@ -50,7 +50,7 @@ function _templateObject2() {
50
50
  return data;
51
51
  }
52
52
  function _templateObject3() {
53
- var data = _taggedTemplateLiteralLoose([
53
+ var data = _tagged_template_literal_loose._([
54
54
  ""
55
55
  ]);
56
56
  _templateObject3 = function _templateObject3() {
@@ -58,18 +58,18 @@ function _templateObject3() {
58
58
  };
59
59
  return data;
60
60
  }
61
- var MenuContainer = (0, _pijmaCore.styled)("nav")(_templateObject());
62
- var MenuItemCss = (0, _pijmaCore.css)(_templateObject1(), _theme.COLOR.TEXT.Primary, _theme.COLOR.TEXT.Primary);
63
- var MenuItemActiveCss = (0, _pijmaCore.css)(_templateObject2(), _theme.COLOR.TEXT.Primary, _theme.COLOR.BRAND.Primary, _theme.COLOR.TEXT.Primary);
64
- var MenuItem = (0, _pijmaCore.styled)("li")(_templateObject3());
61
+ var MenuContainer = (0, _pijmacore.styled)("nav")(_templateObject());
62
+ var MenuItemCss = (0, _pijmacore.css)(_templateObject1(), _theme.COLOR.TEXT.Primary, _theme.COLOR.TEXT.Primary);
63
+ var MenuItemActiveCss = (0, _pijmacore.css)(_templateObject2(), _theme.COLOR.TEXT.Primary, _theme.COLOR.BRAND.Primary, _theme.COLOR.TEXT.Primary);
64
+ var MenuItem = (0, _pijmacore.styled)("li")(_templateObject3());
65
65
  var Menu = /*#__PURE__*/ function(Component) {
66
66
  "use strict";
67
- _inherits(Menu, Component);
67
+ _inherits._(Menu, Component);
68
68
  function Menu(props) {
69
69
  var _this;
70
70
  _this = Component.call(this, props) || this;
71
- _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));
72
- _this.renderItem = _this.renderItem.bind(_assertThisInitialized(_this));
71
+ _this.onClick = _this.onClick.bind(_assert_this_initialized._(_this));
72
+ _this.renderItem = _this.renderItem.bind(_assert_this_initialized._(_this));
73
73
  return _this;
74
74
  }
75
75
  var _proto = Menu.prototype;
@@ -83,10 +83,10 @@ var Menu = /*#__PURE__*/ function(Component) {
83
83
  ];
84
84
  };
85
85
  _proto.render = function render() {
86
- var _props = this.props, items = _props.items, flexProps = _props.flexProps;
87
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(MenuContainer, {
88
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)("ul", {
89
- children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Flex, _extends({
86
+ var _this_props = this.props, items = _this_props.items, flexProps = _this_props.flexProps;
87
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(MenuContainer, {
88
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)("ul", {
89
+ children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Flex, _extends._({
90
90
  justify: "space-around"
91
91
  }, flexProps, {
92
92
  children: items.map(this.renderItem.bind(this))
@@ -115,7 +115,7 @@ var Menu = /*#__PURE__*/ function(Component) {
115
115
  onClick = this.onClick.bind(this, name, value, key);
116
116
  content = node || name;
117
117
  }
118
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(MenuItem, {
118
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(MenuItem, {
119
119
  // @ts-ignore
120
120
  css: style,
121
121
  onClick: onClick,