@next-core/brick-kit 2.103.3 → 2.103.7

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.
@@ -1,40 +1,21 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('history'), require('@babel/runtime/helpers/objectSpread2'), require('@babel/runtime/helpers/objectWithoutProperties'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/helpers/defineProperty'), require('react'), require('lodash'), require('@next-core/brick-utils'), require('@next-core/brick-http'), require('moment'), require('@next-core/pipes'), require('i18next'), require('@next-core/easyops-analytics'), require('js-yaml'), require('antd'), require('@ant-design/icons'), require('react-i18next'), require('@babel/runtime/helpers/esm/extends'), require('@next-core/illustrations'), require('@babel/runtime/helpers/decorate')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', 'history', '@babel/runtime/helpers/objectSpread2', '@babel/runtime/helpers/objectWithoutProperties', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/helpers/defineProperty', 'react', 'lodash', '@next-core/brick-utils', '@next-core/brick-http', 'moment', '@next-core/pipes', 'i18next', '@next-core/easyops-analytics', 'js-yaml', 'antd', '@ant-design/icons', 'react-i18next', '@babel/runtime/helpers/esm/extends', '@next-core/illustrations', '@babel/runtime/helpers/decorate'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.BrickKit = {}, global.history$1, global._objectSpread, global._objectWithoutProperties, global._asyncToGenerator$4, global._defineProperty$1, global.React, global.lodash, global.brickUtils, global.brickHttp, global.moment, global.pipes, global.i18next, global.easyopsAnalytics, global.yaml, global.antd, global.icons, global.reactI18next, global._extends$2, global.illustrations, global._decorate));
5
- })(this, (function (exports, history$1, _objectSpread, _objectWithoutProperties, _asyncToGenerator$4, _defineProperty$1, React, lodash, brickUtils, brickHttp, moment, pipes, i18next, easyopsAnalytics, yaml, antd, icons, reactI18next, _extends$2, illustrations, _decorate) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.BrickKit = {}, global.history$1, global._objectSpread, global._objectWithoutProperties, global._asyncToGenerator$4, global._defineProperty$1, global.React, global.lodash, global.brickUtils, global.brickHttp, global.moment, global.pipes, global.i18next, global.easyopsAnalytics, global.yaml, global.antd, global.icons, global.reactI18next, global._extends, global.illustrations, global._decorate));
5
+ })(this, (function (exports, history$1, _objectSpread, _objectWithoutProperties, _asyncToGenerator$4, _defineProperty$1, React, lodash, brickUtils, brickHttp, moment, pipes, i18next, easyopsAnalytics, yaml, antd, icons, reactI18next, _extends, illustrations, _decorate) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n["default"] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
9
  var _objectSpread__default = /*#__PURE__*/_interopDefaultLegacy(_objectSpread);
28
10
  var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
29
11
  var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator$4);
30
12
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty$1);
31
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
32
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
33
14
  var lodash__default = /*#__PURE__*/_interopDefaultLegacy(lodash);
34
15
  var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
35
16
  var i18next__default = /*#__PURE__*/_interopDefaultLegacy(i18next);
36
17
  var yaml__default = /*#__PURE__*/_interopDefaultLegacy(yaml);
37
- var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends$2);
18
+ var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
38
19
  var _decorate__default = /*#__PURE__*/_interopDefaultLegacy(_decorate);
39
20
 
40
21
  class BaseBar {
@@ -7070,7 +7051,7 @@
7070
7051
  presetPalettes.grey;
7071
7052
 
7072
7053
  function getStyleByBaseColors(theme, baseColors, backgroundColor) {
7073
- return (theme === "dark" ? getDarkStyle : getLightStyle)(getCssVariableDefinitionsByPalettes(generatePalettes(baseColors, theme, backgroundColor)));
7054
+ return (theme === "dark" ? getDarkStyle : getLightStyle)("".concat(getCssVariableDefinitionsByPalettes(generatePalettes(baseColors, theme, backgroundColor)), "\n").concat(getMigratedCssVariableDefinitions(theme, baseColors, backgroundColor)));
7074
7055
  }
7075
7056
  function getStyleByBrandColor(theme, brandColor) {
7076
7057
  return (theme === "dark" ? getDarkStyle : getLightStyle)(getCssVariableDefinitionsByBrand(brandColor));
@@ -7134,6 +7115,33 @@
7134
7115
  }
7135
7116
  }
7136
7117
 
7118
+ function getMigratedCssVariableDefinitions(theme, baseColors, backgroundColor) {
7119
+ var migrateMap = {
7120
+ green: "green",
7121
+ red: "red",
7122
+ blue: "blue",
7123
+ orange: "orange",
7124
+ cyan: "cyan",
7125
+ purple: "purple",
7126
+ geekblue: "indigo"
7127
+ };
7128
+ return Object.entries(migrateMap).flatMap(_ref4 => {
7129
+ var [legacyColorName, newColorName] = _ref4;
7130
+ return [" --theme-".concat(legacyColorName, "-color-rgb-channel: ").concat(getRgbChannel(getActualBaseColor(baseColors[newColorName], theme, backgroundColor)), ";"), ...(theme === "dark" ? [] : [" --theme-".concat(legacyColorName, "-color: var(--palette-").concat(newColorName, "-6);"), " --theme-".concat(legacyColorName, "-border-color: var(--palette-").concat(newColorName, "-3);")]), " --theme-".concat(legacyColorName, "-background: var(--palette-").concat(newColorName, "-").concat(theme === "dark" ? 2 : 1, ");"), ""];
7131
+ }).join("\n");
7132
+ }
7133
+
7134
+ function getRgbChannel(color) {
7135
+ return color.match(/[0-9a-fA-F]{2}/g).map(hex => parseInt(hex, 16)).join(", ");
7136
+ }
7137
+
7138
+ function getActualBaseColor(baseColor, theme, backgroundColor) {
7139
+ return theme === "dark" ? generate(baseColor, {
7140
+ theme,
7141
+ backgroundColor
7142
+ })[5] : baseColor;
7143
+ }
7144
+
7137
7145
  function applyColorTheme(options) {
7138
7146
  var style = [];
7139
7147
  var themes = ["light", "dark"];
@@ -11864,288 +11872,276 @@
11864
11872
  };
11865
11873
  var defaultLocale = localeValues;
11866
11874
 
11867
- function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
11868
-
11869
- var _ref$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
11870
- x1: "5.718%",
11871
- y1: "4.311%",
11872
- x2: "83.05%",
11873
- y2: "88.915%",
11874
- id: "empty-image_svg__a"
11875
- }, /*#__PURE__*/React__namespace.createElement("stop", {
11876
- stopColor: "#D4D8E4",
11877
- offset: "0%"
11878
- }), /*#__PURE__*/React__namespace.createElement("stop", {
11879
- stopColor: "#A9B0C4",
11880
- offset: "100%"
11881
- })), /*#__PURE__*/React__namespace.createElement("linearGradient", {
11882
- x1: "0%",
11883
- y1: "11.08%",
11884
- x2: "80.548%",
11885
- y2: "107.704%",
11886
- id: "empty-image_svg__d"
11887
- }, /*#__PURE__*/React__namespace.createElement("stop", {
11888
- stopColor: "#C2C7DA",
11889
- offset: "0%"
11890
- }), /*#__PURE__*/React__namespace.createElement("stop", {
11891
- stopColor: "#8F96B3",
11892
- offset: "100%"
11893
- })), /*#__PURE__*/React__namespace.createElement("path", {
11894
- d: "M23.672 23.607h2.492a4 4 0 0 1 4 4v2.491a4 4 0 0 1-4 4h-2.492a4 4 0 0 1-4-4v-2.491a4 4 0 0 1 4-4z",
11895
- id: "empty-image_svg__c"
11896
- }), /*#__PURE__*/React__namespace.createElement("filter", {
11897
- x: "-57.2%",
11898
- y: "-47.7%",
11899
- width: "233.4%",
11900
- height: "233.4%",
11901
- filterUnits: "objectBoundingBox",
11902
- id: "empty-image_svg__b"
11903
- }, /*#__PURE__*/React__namespace.createElement("feOffset", {
11904
- dx: 1,
11905
- dy: 2,
11906
- in: "SourceAlpha",
11907
- result: "shadowOffsetOuter1"
11908
- }), /*#__PURE__*/React__namespace.createElement("feGaussianBlur", {
11909
- stdDeviation: 2,
11910
- in: "shadowOffsetOuter1",
11911
- result: "shadowBlurOuter1"
11912
- }), /*#__PURE__*/React__namespace.createElement("feComposite", {
11913
- in: "shadowBlurOuter1",
11914
- in2: "SourceAlpha",
11915
- operator: "out",
11916
- result: "shadowBlurOuter1"
11917
- }), /*#__PURE__*/React__namespace.createElement("feColorMatrix", {
11918
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
11919
- in: "shadowBlurOuter1"
11920
- })), /*#__PURE__*/React__namespace.createElement("linearGradient", {
11921
- x1: "41.823%",
11922
- y1: "24.795%",
11923
- x2: "8.813%",
11924
- y2: "86.427%",
11925
- id: "empty-image_svg__g"
11926
- }, /*#__PURE__*/React__namespace.createElement("stop", {
11927
- stopColor: "#CCD0DD",
11928
- offset: "0%"
11929
- }), /*#__PURE__*/React__namespace.createElement("stop", {
11930
- stopColor: "#9DA3B9",
11931
- offset: "100%"
11932
- })), /*#__PURE__*/React__namespace.createElement("path", {
11933
- d: "M37.311 12.459a4 4 0 0 1 4 4v3.419l-7.418-7.419h3.418z",
11934
- id: "empty-image_svg__f"
11935
- }), /*#__PURE__*/React__namespace.createElement("filter", {
11936
- x: "-94.4%",
11937
- y: "-121.3%",
11938
- width: "288.7%",
11939
- height: "288.7%",
11940
- filterUnits: "objectBoundingBox",
11941
- id: "empty-image_svg__e"
11942
- }, /*#__PURE__*/React__namespace.createElement("feOffset", {
11943
- dy: -2,
11944
- in: "SourceAlpha",
11945
- result: "shadowOffsetOuter1"
11946
- }), /*#__PURE__*/React__namespace.createElement("feGaussianBlur", {
11947
- stdDeviation: 2,
11948
- in: "shadowOffsetOuter1",
11949
- result: "shadowBlurOuter1"
11950
- }), /*#__PURE__*/React__namespace.createElement("feColorMatrix", {
11951
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
11952
- in: "shadowBlurOuter1"
11953
- })));
11954
-
11955
- var _ref2$1 = /*#__PURE__*/React__namespace.createElement("g", {
11956
- fill: "none",
11957
- fillRule: "evenodd"
11958
- }, /*#__PURE__*/React__namespace.createElement("path", {
11959
- d: "M39.682 33.967H10.81a2.8 2.8 0 0 0-1.94.782l-5.197 4.999v6.98a5.6 5.6 0 0 0 5.6 5.6H41.22a5.6 5.6 0 0 0 5.6-5.6v-6.98l-5.196-4.999a2.8 2.8 0 0 0-1.942-.782z",
11960
- fill: "#A6AAC3"
11961
- }), /*#__PURE__*/React__namespace.createElement("path", {
11962
- d: "M33.893 12.459l7.418 7.419v22.568a2.8 2.8 0 0 1-2.8 2.8h-26.53a2.8 2.8 0 0 1-2.8-2.8V18.459a6 6 0 0 1 6-6h18.712z",
11963
- fill: "url(#empty-image_svg__a)"
11964
- }), /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("use", {
11965
- fill: "#000",
11966
- filter: "url(#empty-image_svg__b)",
11967
- xlinkHref: "#empty-image_svg__c"
11968
- }), /*#__PURE__*/React__namespace.createElement("path", {
11969
- stroke: "#FFF",
11970
- d: "M26.164 24.107c.966 0 1.841.391 2.475 1.025a3.489 3.489 0 0 1 1.025 2.475h0v2.491c0 .967-.392 1.842-1.025 2.475a3.489 3.489 0 0 1-2.475 1.025h0-2.492a3.489 3.489 0 0 1-2.475-1.025 3.489 3.489 0 0 1-1.025-2.475h0v-2.491c0-.967.392-1.842 1.025-2.475a3.489 3.489 0 0 1 2.475-1.025h0z",
11971
- strokeLinejoin: "square",
11972
- fill: "url(#empty-image_svg__d)"
11973
- })), /*#__PURE__*/React__namespace.createElement("g", {
11974
- transform: "rotate(180 37.602 16.168)"
11975
- }, /*#__PURE__*/React__namespace.createElement("use", {
11976
- fill: "#000",
11977
- filter: "url(#empty-image_svg__e)",
11978
- xlinkHref: "#empty-image_svg__f"
11979
- }), /*#__PURE__*/React__namespace.createElement("use", {
11980
- fill: "url(#empty-image_svg__g)",
11981
- xlinkHref: "#empty-image_svg__f"
11982
- })), /*#__PURE__*/React__namespace.createElement("path", {
11983
- d: "M54.164 27.541c.253 0 .459.205.459.459v.918h.918a.459.459 0 1 1 0 .918h-.918v.918a.459.459 0 0 1-.918 0v-.918h-.918a.459.459 0 0 1 0-.918h.918V28c0-.254.205-.459.459-.459zM1.377 20.197c.19 0 .344.154.344.344v.574h.574a.459.459 0 1 1 0 .918h-.574v.574a.344.344 0 0 1-.688 0l-.001-.574H.459a.459.459 0 0 1 0-.918h.573v-.574c0-.19.155-.344.345-.344z",
11984
- fill: "#D6D8E4",
11985
- opacity: 0.3
11986
- }), /*#__PURE__*/React__namespace.createElement("path", {
11987
- d: "M24.787 43.53h.014c7.087.143 9.817-3.834 12.785-4.046l.19-.008h9.044v10.052a2.8 2.8 0 0 1-2.63 2.795l-.17.005H6.472l-.17-.005a2.8 2.8 0 0 1-2.63-2.795V39.475h8.126l.144-.004c2.485.004 5.214 3.898 12.83 4.06l.015-.002z",
11988
- fill: "#D6D8E4"
11989
- }), /*#__PURE__*/React__namespace.createElement("path", {
11990
- d: "M13.77 2.2s2.308-.555 2.962-2.2c.943 1.35 1.429 1.933 2.547 2.189-1.522.453-2.183.963-2.704 2.401-.598-1.695-1.142-1.914-2.805-2.39",
11991
- fill: "#D6D8E4",
11992
- opacity: 0.5
11993
- }), /*#__PURE__*/React__namespace.createElement("path", {
11994
- d: "M41.311 6.64S47.464 5.194 49.21.917c2.514 3.508 3.81 5.025 6.791 5.691-4.059 1.18-5.822 2.503-7.21 6.243-1.594-4.406-3.045-4.976-7.479-6.213",
11995
- fill: "#D6D8E4",
11996
- opacity: 0.8
11997
- }));
11875
+ function EmptySvg(props) {
11876
+ var prefix = lodash.uniqueId();
11998
11877
 
11999
- function SvgEmptyImage(props) {
12000
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
12001
- width: 56,
12002
- height: 53,
12003
- viewBox: "0 0 56 53",
12004
- xmlns: "http://www.w3.org/2000/svg",
12005
- xmlnsXlink: "http://www.w3.org/1999/xlink"
12006
- }, props), _ref$1, _ref2$1);
12007
- }
12008
-
12009
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12010
-
12011
- var _ref = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
12012
- x1: "5.718%",
12013
- y1: "4.311%",
12014
- x2: "83.05%",
12015
- y2: "88.915%",
12016
- id: "big-empty-image_svg__a"
12017
- }, /*#__PURE__*/React__namespace.createElement("stop", {
12018
- stopColor: "#D4D8E4",
12019
- offset: "0%"
12020
- }), /*#__PURE__*/React__namespace.createElement("stop", {
12021
- stopColor: "#A9B0C4",
12022
- offset: "100%"
12023
- })), /*#__PURE__*/React__namespace.createElement("linearGradient", {
12024
- x1: "0%",
12025
- y1: "11.08%",
12026
- x2: "80.548%",
12027
- y2: "107.704%",
12028
- id: "big-empty-image_svg__d"
12029
- }, /*#__PURE__*/React__namespace.createElement("stop", {
12030
- stopColor: "#C2C7DA",
12031
- offset: "0%"
12032
- }), /*#__PURE__*/React__namespace.createElement("stop", {
12033
- stopColor: "#8F96B3",
12034
- offset: "100%"
12035
- })), /*#__PURE__*/React__namespace.createElement("path", {
12036
- d: "M34 36h8a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4h-8a4 4 0 0 1-4-4v-8a4 4 0 0 1 4-4z",
12037
- id: "big-empty-image_svg__c"
12038
- }), /*#__PURE__*/React__namespace.createElement("filter", {
12039
- x: "-37.5%",
12040
- y: "-31.3%",
12041
- width: "187.5%",
12042
- height: "187.5%",
12043
- filterUnits: "objectBoundingBox",
12044
- id: "big-empty-image_svg__b"
12045
- }, /*#__PURE__*/React__namespace.createElement("feOffset", {
12046
- dx: 1,
12047
- dy: 2,
12048
- in: "SourceAlpha",
12049
- result: "shadowOffsetOuter1"
12050
- }), /*#__PURE__*/React__namespace.createElement("feGaussianBlur", {
12051
- stdDeviation: 2,
12052
- in: "shadowOffsetOuter1",
12053
- result: "shadowBlurOuter1"
12054
- }), /*#__PURE__*/React__namespace.createElement("feComposite", {
12055
- in: "shadowBlurOuter1",
12056
- in2: "SourceAlpha",
12057
- operator: "out",
12058
- result: "shadowBlurOuter1"
12059
- }), /*#__PURE__*/React__namespace.createElement("feColorMatrix", {
12060
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
12061
- in: "shadowBlurOuter1"
12062
- })), /*#__PURE__*/React__namespace.createElement("linearGradient", {
12063
- x1: "41.823%",
12064
- y1: "24.795%",
12065
- x2: "8.813%",
12066
- y2: "86.427%",
12067
- id: "big-empty-image_svg__g"
12068
- }, /*#__PURE__*/React__namespace.createElement("stop", {
12069
- stopColor: "#CCD0DD",
12070
- offset: "0%"
12071
- }), /*#__PURE__*/React__namespace.createElement("stop", {
12072
- stopColor: "#9DA3B9",
12073
- offset: "100%"
12074
- })), /*#__PURE__*/React__namespace.createElement("path", {
12075
- d: "M59 19a4 4 0 0 1 4 4v7.314L51.686 19H59z",
12076
- id: "big-empty-image_svg__f"
12077
- }), /*#__PURE__*/React__namespace.createElement("filter", {
12078
- x: "-61.9%",
12079
- y: "-79.5%",
12080
- width: "223.7%",
12081
- height: "223.7%",
12082
- filterUnits: "objectBoundingBox",
12083
- id: "big-empty-image_svg__e"
12084
- }, /*#__PURE__*/React__namespace.createElement("feOffset", {
12085
- dy: -2,
12086
- in: "SourceAlpha",
12087
- result: "shadowOffsetOuter1"
12088
- }), /*#__PURE__*/React__namespace.createElement("feGaussianBlur", {
12089
- stdDeviation: 2,
12090
- in: "shadowOffsetOuter1",
12091
- result: "shadowBlurOuter1"
12092
- }), /*#__PURE__*/React__namespace.createElement("feColorMatrix", {
12093
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
12094
- in: "shadowBlurOuter1"
12095
- })));
12096
-
12097
- var _ref2 = /*#__PURE__*/React__namespace.createElement("g", {
12098
- fill: "none",
12099
- fillRule: "evenodd"
12100
- }, /*#__PURE__*/React__namespace.createElement("path", {
12101
- d: "M61.108 51.8H15.892a2.8 2.8 0 0 0-1.941.782L5.6 60.615V74.2a5.6 5.6 0 0 0 5.6 5.6h54.6a5.6 5.6 0 0 0 5.6-5.6V60.615l-8.35-8.033a2.8 2.8 0 0 0-1.942-.782z",
12102
- fill: "#A6AAC3"
12103
- }), /*#__PURE__*/React__namespace.createElement("path", {
12104
- d: "M51.686 19L63 30.314V66.2a2.8 2.8 0 0 1-2.8 2.8H16.8a2.8 2.8 0 0 1-2.8-2.8V25a6 6 0 0 1 6-6h31.686z",
12105
- fill: "url(#big-empty-image_svg__a)"
12106
- }), /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("use", {
12107
- fill: "#000",
12108
- filter: "url(#big-empty-image_svg__b)",
12109
- xlinkHref: "#big-empty-image_svg__c"
12110
- }), /*#__PURE__*/React__namespace.createElement("path", {
12111
- stroke: "#FFF",
12112
- d: "M42 36.5c.966 0 1.841.392 2.475 1.025A3.489 3.489 0 0 1 45.5 40h0v8c0 .966-.392 1.841-1.025 2.475A3.489 3.489 0 0 1 42 51.5h0-8a3.489 3.489 0 0 1-2.475-1.025A3.489 3.489 0 0 1 30.5 48h0v-8c0-.966.392-1.841 1.025-2.475A3.489 3.489 0 0 1 34 36.5h0z",
12113
- strokeLinejoin: "square",
12114
- fill: "url(#big-empty-image_svg__d)"
12115
- })), /*#__PURE__*/React__namespace.createElement("g", {
12116
- transform: "rotate(180 57.343 24.657)"
12117
- }, /*#__PURE__*/React__namespace.createElement("use", {
12118
- fill: "#000",
12119
- filter: "url(#big-empty-image_svg__e)",
12120
- xlinkHref: "#big-empty-image_svg__f"
12121
- }), /*#__PURE__*/React__namespace.createElement("use", {
12122
- fill: "url(#big-empty-image_svg__g)",
12123
- xlinkHref: "#big-empty-image_svg__f"
12124
- })), /*#__PURE__*/React__namespace.createElement("path", {
12125
- d: "M82.6 42a.7.7 0 0 1 .7.7v1.399l1.4.001a.7.7 0 0 1 0 1.4l-1.4-.001V46.9a.7.7 0 0 1-1.4 0v-1.401l-1.4.001a.7.7 0 0 1 0-1.4l1.4-.001V42.7a.7.7 0 0 1 .7-.7zM2.1 30.8c.29 0 .525.235.525.525l-.001.874.876.001a.7.7 0 0 1 0 1.4h-.876l.001.875a.525.525 0 1 1-1.05 0l-.001-.875H.7a.7.7 0 0 1 0-1.4l.874-.001.001-.874c0-.29.235-.525.525-.525z",
12126
- fill: "#D6D8E4",
12127
- opacity: 0.3
12128
- }), /*#__PURE__*/React__namespace.createElement("path", {
12129
- d: "M8.4 79.8l-.17-.005A2.8 2.8 0 0 1 5.6 77V60.2h12.393l.175-.006c3.802-.04 7.95 5.943 19.61 6.19l.022-.002.022.002c10.856.218 15.009-5.902 19.558-6.175l.227-.009H71.4V77a2.8 2.8 0 0 1-2.63 2.795l-.17.005H8.4z",
12130
- fill: "#D6D8E4"
12131
- }), /*#__PURE__*/React__namespace.createElement("path", {
12132
- d: "M21 3.356S24.518 2.509 25.516 0c1.438 2.057 2.18 2.947 3.884 3.338-2.321.692-3.33 1.468-4.123 3.662-.912-2.584-1.741-2.919-4.277-3.644",
12133
- fill: "#D6D8E4",
12134
- opacity: 0.5
12135
- }), /*#__PURE__*/React__namespace.createElement("path", {
12136
- d: "M63 10.125S72.382 7.923 75.044 1.4c3.834 5.35 5.81 7.663 10.356 8.68-6.19 1.797-8.878 3.816-10.995 9.52-2.43-6.72-4.643-7.59-11.405-9.475",
12137
- fill: "#D6D8E4",
12138
- opacity: 0.8
12139
- }));
11878
+ var createNewId = id => {
11879
+ return prefix + id;
11880
+ };
12140
11881
 
12141
- function SvgBigEmptyImage(props) {
12142
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
11882
+ return props.isBig ? /*#__PURE__*/React__default["default"].createElement("svg", {
12143
11883
  width: 86,
12144
11884
  height: 80,
12145
- viewBox: "0 0 86 80",
12146
11885
  xmlns: "http://www.w3.org/2000/svg",
12147
11886
  xmlnsXlink: "http://www.w3.org/1999/xlink"
12148
- }, props), _ref, _ref2);
11887
+ }, /*#__PURE__*/React__default["default"].createElement("defs", null, /*#__PURE__*/React__default["default"].createElement("linearGradient", {
11888
+ x1: "5.718%",
11889
+ y1: "4.311%",
11890
+ x2: "83.05%",
11891
+ y2: "88.915%",
11892
+ id: createNewId("a")
11893
+ }, /*#__PURE__*/React__default["default"].createElement("stop", {
11894
+ stopColor: "#D4D8E4",
11895
+ offset: "0%"
11896
+ }), /*#__PURE__*/React__default["default"].createElement("stop", {
11897
+ stopColor: "#A9B0C4",
11898
+ offset: "100%"
11899
+ })), /*#__PURE__*/React__default["default"].createElement("linearGradient", {
11900
+ x1: "0%",
11901
+ y1: "11.08%",
11902
+ x2: "80.548%",
11903
+ y2: "107.704%",
11904
+ id: createNewId("d")
11905
+ }, /*#__PURE__*/React__default["default"].createElement("stop", {
11906
+ stopColor: "#C2C7DA",
11907
+ offset: "0%"
11908
+ }), /*#__PURE__*/React__default["default"].createElement("stop", {
11909
+ stopColor: "#8F96B3",
11910
+ offset: "100%"
11911
+ })), /*#__PURE__*/React__default["default"].createElement("linearGradient", {
11912
+ x1: "41.823%",
11913
+ y1: "24.795%",
11914
+ x2: "8.813%",
11915
+ y2: "86.427%",
11916
+ id: createNewId("g")
11917
+ }, /*#__PURE__*/React__default["default"].createElement("stop", {
11918
+ stopColor: "#CCD0DD",
11919
+ offset: "0%"
11920
+ }), /*#__PURE__*/React__default["default"].createElement("stop", {
11921
+ stopColor: "#9DA3B9",
11922
+ offset: "100%"
11923
+ })), /*#__PURE__*/React__default["default"].createElement("filter", {
11924
+ x: "-37.5%",
11925
+ y: "-31.3%",
11926
+ width: "187.5%",
11927
+ height: "187.5%",
11928
+ filterUnits: "objectBoundingBox",
11929
+ id: createNewId("b")
11930
+ }, /*#__PURE__*/React__default["default"].createElement("feOffset", {
11931
+ dx: 1,
11932
+ dy: 2,
11933
+ in: "SourceAlpha",
11934
+ result: "shadowOffsetOuter1"
11935
+ }), /*#__PURE__*/React__default["default"].createElement("feGaussianBlur", {
11936
+ stdDeviation: 2,
11937
+ in: "shadowOffsetOuter1",
11938
+ result: "shadowBlurOuter1"
11939
+ }), /*#__PURE__*/React__default["default"].createElement("feComposite", {
11940
+ in: "shadowBlurOuter1",
11941
+ in2: "SourceAlpha",
11942
+ operator: "out",
11943
+ result: "shadowBlurOuter1"
11944
+ }), /*#__PURE__*/React__default["default"].createElement("feColorMatrix", {
11945
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
11946
+ in: "shadowBlurOuter1"
11947
+ })), /*#__PURE__*/React__default["default"].createElement("filter", {
11948
+ x: "-61.9%",
11949
+ y: "-79.5%",
11950
+ width: "223.7%",
11951
+ height: "223.7%",
11952
+ filterUnits: "objectBoundingBox",
11953
+ id: createNewId("e")
11954
+ }, /*#__PURE__*/React__default["default"].createElement("feOffset", {
11955
+ dy: -2,
11956
+ in: "SourceAlpha",
11957
+ result: "shadowOffsetOuter1"
11958
+ }), /*#__PURE__*/React__default["default"].createElement("feGaussianBlur", {
11959
+ stdDeviation: 2,
11960
+ in: "shadowOffsetOuter1",
11961
+ result: "shadowBlurOuter1"
11962
+ }), /*#__PURE__*/React__default["default"].createElement("feColorMatrix", {
11963
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
11964
+ in: "shadowBlurOuter1"
11965
+ })), /*#__PURE__*/React__default["default"].createElement("path", {
11966
+ d: "M34 36h8a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4h-8a4 4 0 0 1-4-4v-8a4 4 0 0 1 4-4Z",
11967
+ id: createNewId("c")
11968
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
11969
+ d: "M59 19a4 4 0 0 1 4 4v7.314L51.686 19H59Z",
11970
+ id: createNewId("f")
11971
+ })), /*#__PURE__*/React__default["default"].createElement("g", {
11972
+ fill: "none",
11973
+ fillRule: "evenodd"
11974
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
11975
+ d: "M61.108 51.8H15.892a2.8 2.8 0 0 0-1.941.782L5.6 60.615V74.2a5.6 5.6 0 0 0 5.6 5.6h54.6a5.6 5.6 0 0 0 5.6-5.6V60.615l-8.35-8.033a2.8 2.8 0 0 0-1.942-.782Z",
11976
+ fill: "#A6AAC3"
11977
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
11978
+ d: "M51.686 19 63 30.314V66.2a2.8 2.8 0 0 1-2.8 2.8H16.8a2.8 2.8 0 0 1-2.8-2.8V25a6 6 0 0 1 6-6h31.686Z",
11979
+ fill: "url(#".concat(createNewId("a"), ")")
11980
+ }), /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("use", {
11981
+ fill: "#000",
11982
+ filter: "url(#".concat(createNewId("b"), ")"),
11983
+ xlinkHref: "#".concat(createNewId("c"))
11984
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
11985
+ stroke: "#FFF",
11986
+ d: "M42 36.5c.966 0 1.841.392 2.475 1.025A3.489 3.489 0 0 1 45.5 40v8c0 .966-.392 1.841-1.025 2.475A3.489 3.489 0 0 1 42 51.5h-8a3.489 3.489 0 0 1-2.475-1.025A3.489 3.489 0 0 1 30.5 48v-8c0-.966.392-1.841 1.025-2.475A3.489 3.489 0 0 1 34 36.5Z",
11987
+ strokeLinejoin: "round",
11988
+ fill: "url(#".concat(createNewId("d"), ")")
11989
+ })), /*#__PURE__*/React__default["default"].createElement("g", {
11990
+ transform: "rotate(180 57.343 24.657)"
11991
+ }, /*#__PURE__*/React__default["default"].createElement("use", {
11992
+ fill: "#000",
11993
+ filter: "url(#".concat(createNewId("e"), ")"),
11994
+ xlinkHref: "#".concat(createNewId("f"))
11995
+ }), /*#__PURE__*/React__default["default"].createElement("use", {
11996
+ fill: "url(#".concat(createNewId("g"), ")"),
11997
+ xlinkHref: "#".concat(createNewId("f"))
11998
+ })), /*#__PURE__*/React__default["default"].createElement("path", {
11999
+ d: "M82.6 42a.7.7 0 0 1 .7.7v1.399l1.4.001a.7.7 0 0 1 0 1.4l-1.4-.001V46.9a.7.7 0 0 1-1.4 0v-1.401l-1.4.001a.7.7 0 0 1 0-1.4l1.4-.001V42.7a.7.7 0 0 1 .7-.7ZM2.1 30.8c.29 0 .525.235.525.525l-.001.874.876.001a.7.7 0 0 1 0 1.4h-.876l.001.875a.525.525 0 1 1-1.05 0l-.001-.875H.7a.7.7 0 0 1 0-1.4l.874-.001.001-.874c0-.29.235-.525.525-.525Z",
12000
+ fill: "#D6D8E4",
12001
+ opacity: 0.3
12002
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12003
+ d: "m8.4 79.8-.17-.005A2.8 2.8 0 0 1 5.6 77V60.2h12.393l.175-.006c3.802-.04 7.95 5.943 19.61 6.19l.022-.002.022.002c10.856.218 15.009-5.902 19.558-6.175l.227-.009H71.4V77a2.8 2.8 0 0 1-2.63 2.795l-.17.005H8.4Z",
12004
+ fill: "#D6D8E4"
12005
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12006
+ d: "M21 3.356S24.518 2.509 25.516 0c1.438 2.057 2.18 2.947 3.884 3.338-2.321.692-3.33 1.468-4.123 3.662-.912-2.584-1.741-2.919-4.277-3.644",
12007
+ fill: "#D6D8E4",
12008
+ opacity: 0.5
12009
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12010
+ d: "M63 10.125S72.382 7.923 75.044 1.4c3.834 5.35 5.81 7.663 10.356 8.68-6.19 1.797-8.878 3.816-10.995 9.52-2.43-6.72-4.643-7.59-11.405-9.475",
12011
+ fill: "#D6D8E4",
12012
+ opacity: 0.8
12013
+ }))) : /*#__PURE__*/React__default["default"].createElement("svg", {
12014
+ width: 56,
12015
+ height: 53,
12016
+ xmlns: "http://www.w3.org/2000/svg",
12017
+ xmlnsXlink: "http://www.w3.org/1999/xlink"
12018
+ }, /*#__PURE__*/React__default["default"].createElement("defs", null, /*#__PURE__*/React__default["default"].createElement("linearGradient", {
12019
+ x1: "5.718%",
12020
+ y1: "4.311%",
12021
+ x2: "83.05%",
12022
+ y2: "88.915%",
12023
+ id: createNewId("a")
12024
+ }, /*#__PURE__*/React__default["default"].createElement("stop", {
12025
+ stopColor: "#D4D8E4",
12026
+ offset: "0%"
12027
+ }), /*#__PURE__*/React__default["default"].createElement("stop", {
12028
+ stopColor: "#A9B0C4",
12029
+ offset: "100%"
12030
+ })), /*#__PURE__*/React__default["default"].createElement("linearGradient", {
12031
+ x1: "0%",
12032
+ y1: "11.08%",
12033
+ x2: "80.548%",
12034
+ y2: "107.704%",
12035
+ id: createNewId("d")
12036
+ }, /*#__PURE__*/React__default["default"].createElement("stop", {
12037
+ stopColor: "#C2C7DA",
12038
+ offset: "0%"
12039
+ }), /*#__PURE__*/React__default["default"].createElement("stop", {
12040
+ stopColor: "#8F96B3",
12041
+ offset: "100%"
12042
+ })), /*#__PURE__*/React__default["default"].createElement("linearGradient", {
12043
+ x1: "41.823%",
12044
+ y1: "24.795%",
12045
+ x2: "8.813%",
12046
+ y2: "86.427%",
12047
+ id: createNewId("g")
12048
+ }, /*#__PURE__*/React__default["default"].createElement("stop", {
12049
+ stopColor: "#CCD0DD",
12050
+ offset: "0%"
12051
+ }), /*#__PURE__*/React__default["default"].createElement("stop", {
12052
+ stopColor: "#9DA3B9",
12053
+ offset: "100%"
12054
+ })), /*#__PURE__*/React__default["default"].createElement("filter", {
12055
+ x: "-57.2%",
12056
+ y: "-47.7%",
12057
+ width: "233.4%",
12058
+ height: "233.4%",
12059
+ filterUnits: "objectBoundingBox",
12060
+ id: createNewId("b")
12061
+ }, /*#__PURE__*/React__default["default"].createElement("feOffset", {
12062
+ dx: 1,
12063
+ dy: 2,
12064
+ in: "SourceAlpha",
12065
+ result: "shadowOffsetOuter1"
12066
+ }), /*#__PURE__*/React__default["default"].createElement("feGaussianBlur", {
12067
+ stdDeviation: 2,
12068
+ in: "shadowOffsetOuter1",
12069
+ result: "shadowBlurOuter1"
12070
+ }), /*#__PURE__*/React__default["default"].createElement("feComposite", {
12071
+ in: "shadowBlurOuter1",
12072
+ in2: "SourceAlpha",
12073
+ operator: "out",
12074
+ result: "shadowBlurOuter1"
12075
+ }), /*#__PURE__*/React__default["default"].createElement("feColorMatrix", {
12076
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
12077
+ in: "shadowBlurOuter1"
12078
+ })), /*#__PURE__*/React__default["default"].createElement("filter", {
12079
+ x: "-94.4%",
12080
+ y: "-121.3%",
12081
+ width: "288.7%",
12082
+ height: "288.7%",
12083
+ filterUnits: "objectBoundingBox",
12084
+ id: createNewId("e")
12085
+ }, /*#__PURE__*/React__default["default"].createElement("feOffset", {
12086
+ dy: -2,
12087
+ in: "SourceAlpha",
12088
+ result: "shadowOffsetOuter1"
12089
+ }), /*#__PURE__*/React__default["default"].createElement("feGaussianBlur", {
12090
+ stdDeviation: 2,
12091
+ in: "shadowOffsetOuter1",
12092
+ result: "shadowBlurOuter1"
12093
+ }), /*#__PURE__*/React__default["default"].createElement("feColorMatrix", {
12094
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
12095
+ in: "shadowBlurOuter1"
12096
+ })), /*#__PURE__*/React__default["default"].createElement("path", {
12097
+ d: "M23.672 23.607h2.492a4 4 0 0 1 4 4v2.491a4 4 0 0 1-4 4h-2.492a4 4 0 0 1-4-4v-2.491a4 4 0 0 1 4-4Z",
12098
+ id: createNewId("c")
12099
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12100
+ d: "M37.311 12.459a4 4 0 0 1 4 4v3.419l-7.418-7.419h3.418Z",
12101
+ id: createNewId("f")
12102
+ })), /*#__PURE__*/React__default["default"].createElement("g", {
12103
+ fill: "none",
12104
+ fillRule: "evenodd"
12105
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
12106
+ d: "M39.682 33.967H10.81a2.8 2.8 0 0 0-1.94.782l-5.197 4.999v6.98a5.6 5.6 0 0 0 5.6 5.6H41.22a5.6 5.6 0 0 0 5.6-5.6v-6.98l-5.196-4.999a2.8 2.8 0 0 0-1.942-.782Z",
12107
+ fill: "#A6AAC3"
12108
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12109
+ d: "m33.893 12.459 7.418 7.419v22.568a2.8 2.8 0 0 1-2.8 2.8h-26.53a2.8 2.8 0 0 1-2.8-2.8V18.459a6 6 0 0 1 6-6h18.712Z",
12110
+ fill: "url(#".concat(createNewId("a"), ")")
12111
+ }), /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("use", {
12112
+ fill: "#000",
12113
+ filter: "url(#".concat(createNewId("b"), ")"),
12114
+ xlinkHref: "#".concat(createNewId("c"))
12115
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12116
+ stroke: "#FFF",
12117
+ d: "M26.164 24.107c.966 0 1.841.391 2.475 1.025a3.489 3.489 0 0 1 1.025 2.475v2.491c0 .967-.392 1.842-1.025 2.475a3.489 3.489 0 0 1-2.475 1.025h-2.492a3.489 3.489 0 0 1-2.475-1.025 3.489 3.489 0 0 1-1.025-2.475v-2.491c0-.967.392-1.842 1.025-2.475a3.489 3.489 0 0 1 2.475-1.025Z",
12118
+ strokeLinejoin: "round",
12119
+ fill: "url(#d)"
12120
+ })), /*#__PURE__*/React__default["default"].createElement("g", {
12121
+ transform: "rotate(180 37.602 16.168)"
12122
+ }, /*#__PURE__*/React__default["default"].createElement("use", {
12123
+ fill: "#000",
12124
+ filter: "url(#".concat(createNewId("e"), ")"),
12125
+ xlinkHref: "#".concat(createNewId("f"))
12126
+ }), /*#__PURE__*/React__default["default"].createElement("use", {
12127
+ fill: "url(#".concat(createNewId("g"), ")"),
12128
+ xlinkHref: "#".concat(createNewId("f"))
12129
+ })), /*#__PURE__*/React__default["default"].createElement("path", {
12130
+ d: "M54.164 27.541c.253 0 .459.205.459.459v.918h.918a.459.459 0 1 1 0 .918h-.918v.918a.459.459 0 0 1-.918 0v-.918h-.918a.459.459 0 0 1 0-.918h.918V28c0-.254.205-.459.459-.459ZM1.377 20.197c.19 0 .344.154.344.344v.574h.574a.459.459 0 1 1 0 .918h-.574v.574a.344.344 0 0 1-.688 0l-.001-.574H.459a.459.459 0 0 1 0-.918h.573v-.574c0-.19.155-.344.345-.344Z",
12131
+ fill: "#D6D8E4",
12132
+ opacity: 0.3
12133
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12134
+ d: "M24.787 43.53h.014c7.087.143 9.817-3.834 12.785-4.046l.19-.008h9.044v10.052a2.8 2.8 0 0 1-2.63 2.795l-.17.005H6.472l-.17-.005a2.8 2.8 0 0 1-2.63-2.795V39.475h8.126l.144-.004c2.485.004 5.214 3.898 12.83 4.06l.015-.002Z",
12135
+ fill: "#D6D8E4"
12136
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12137
+ d: "M13.77 2.2s2.308-.555 2.962-2.2c.943 1.35 1.429 1.933 2.547 2.189-1.522.453-2.183.963-2.704 2.401-.598-1.695-1.142-1.914-2.805-2.39",
12138
+ fill: "#D6D8E4",
12139
+ opacity: 0.5
12140
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
12141
+ d: "M41.311 6.64S47.464 5.194 49.21.917c2.514 3.508 3.81 5.025 6.791 5.691-4.059 1.18-5.822 2.503-7.21 6.243-1.594-4.406-3.045-4.976-7.479-6.213",
12142
+ fill: "#D6D8E4",
12143
+ opacity: 0.8
12144
+ })));
12149
12145
  }
12150
12146
 
12151
12147
  /**
@@ -12155,10 +12151,9 @@
12155
12151
  var _props$imageStyle;
12156
12152
 
12157
12153
  var illustration = React.useMemo(() => props.illustration && illustrations.getIllustration(props.illustration), [props.illustration]);
12158
-
12159
- var _emptyImage = props.useBigEmptyImage ? SvgBigEmptyImage : SvgEmptyImage;
12160
-
12161
- var image = props.illustration ? illustration : /*#__PURE__*/React__default["default"].createElement(_emptyImage);
12154
+ var image = props.illustration ? illustration : /*#__PURE__*/React__default["default"].createElement(EmptySvg, {
12155
+ isBig: props.useBigEmptyImage
12156
+ });
12162
12157
  var imageStyle = (_props$imageStyle = props.imageStyle) !== null && _props$imageStyle !== void 0 ? _props$imageStyle : props.useBigEmptyImage ? undefined : {
12163
12158
  height: "60px"
12164
12159
  };