@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.
- package/CHANGELOG.md +35 -0
- package/dist/index.bundle.js +298 -303
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +337 -324
- package/dist/index.esm.js.map +1 -1
- package/dist/types/EasyopsEmpty/EasyopsEmpty.d.ts.map +1 -1
- package/dist/types/EasyopsEmpty/EmptySvg.d.ts +6 -0
- package/dist/types/EasyopsEmpty/EmptySvg.d.ts.map +1 -0
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -3,8 +3,7 @@ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
|
3
3
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
4
4
|
import _asyncToGenerator$4 from '@babel/runtime/helpers/asyncToGenerator';
|
|
5
5
|
import _defineProperty$1 from '@babel/runtime/helpers/defineProperty';
|
|
6
|
-
import
|
|
7
|
-
import React__default, { useState, useEffect, forwardRef, useRef, useImperativeHandle, useMemo, useContext, createContext } from 'react';
|
|
6
|
+
import React, { useState, useEffect, forwardRef, useRef, useImperativeHandle, useMemo, useContext, createContext } from 'react';
|
|
8
7
|
import lodash, { set, get, difference, identity, cloneDeep, isNil, sortBy, merge, clamp, uniqueId, orderBy, omit, isEmpty } from 'lodash';
|
|
9
8
|
import { toPath, computeRealRoutePath, hasOwnProperty, isObject, isEvaluable, transformAndInject, transform, trackContext, scanPermissionActionsInStoryboard, precookFunction, cook, shouldAllowRecursiveEvaluations, preevaluate, inject, deepFreeze, createProviderClass, scanRouteAliasInStoryboard, loadScript, getTemplateDepsOfStoryboard, getDllAndDepsOfStoryboard, asyncProcessStoryboard, prefetchScript, scanBricksInBrickConf, scanProcessorsInAny, getDllAndDepsByResource, resolveContextConcurrently, matchPath, asyncProcessBrick, restoreDynamicTemplates, mapCustomApisToNameAndNamespace, scanCustomApisInStoryboard } from '@next-core/brick-utils';
|
|
10
9
|
import { http, HttpResponseError, HttpFetchError } from '@next-core/brick-http';
|
|
@@ -16,7 +15,7 @@ import yaml from 'js-yaml';
|
|
|
16
15
|
import { Modal, message, Empty, ConfigProvider } from 'antd';
|
|
17
16
|
import { ExclamationCircleOutlined } from '@ant-design/icons';
|
|
18
17
|
import { withTranslation } from 'react-i18next';
|
|
19
|
-
import _extends
|
|
18
|
+
import _extends from '@babel/runtime/helpers/esm/extends';
|
|
20
19
|
import { getIllustration } from '@next-core/illustrations';
|
|
21
20
|
import _decorate from '@babel/runtime/helpers/decorate';
|
|
22
21
|
|
|
@@ -3204,8 +3203,8 @@ function handleHttpError(error) {
|
|
|
3204
3203
|
}
|
|
3205
3204
|
|
|
3206
3205
|
unauthenticatedConfirmModal = Modal.confirm({
|
|
3207
|
-
icon: /*#__PURE__*/
|
|
3208
|
-
content: /*#__PURE__*/
|
|
3206
|
+
icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),
|
|
3207
|
+
content: /*#__PURE__*/React.createElement(LoginTimeoutMessage, null),
|
|
3209
3208
|
okText: i18next.t("".concat(NS_BRICK_KIT, ":").concat(K.MODAL_OK)),
|
|
3210
3209
|
cancelText: i18next.t("".concat(NS_BRICK_KIT, ":").concat(K.MODAL_CANCEL)),
|
|
3211
3210
|
onOk: () => {
|
|
@@ -3223,7 +3222,7 @@ function handleHttpError(error) {
|
|
|
3223
3222
|
|
|
3224
3223
|
return Modal.error({
|
|
3225
3224
|
title: i18next.t("".concat(NS_BRICK_KIT, ":").concat(K.REQUEST_FAILED)),
|
|
3226
|
-
content: /*#__PURE__*/
|
|
3225
|
+
content: /*#__PURE__*/React.createElement("div", {
|
|
3227
3226
|
style: {
|
|
3228
3227
|
whiteSpace: "pre-wrap"
|
|
3229
3228
|
}
|
|
@@ -3232,13 +3231,13 @@ function handleHttpError(error) {
|
|
|
3232
3231
|
});
|
|
3233
3232
|
}
|
|
3234
3233
|
function LoginTimeoutMessage() {
|
|
3235
|
-
|
|
3234
|
+
React.useEffect(() => {
|
|
3236
3235
|
// Unset confirm modal when it's destroyed.
|
|
3237
3236
|
return () => {
|
|
3238
3237
|
unauthenticatedConfirmModal = undefined;
|
|
3239
3238
|
};
|
|
3240
3239
|
}, []);
|
|
3241
|
-
return /*#__PURE__*/
|
|
3240
|
+
return /*#__PURE__*/React.createElement("div", null, i18next.t("".concat(NS_BRICK_KIT, ":").concat(K.LOGIN_TIMEOUT_MESSAGE)));
|
|
3242
3241
|
}
|
|
3243
3242
|
|
|
3244
3243
|
class WebsocketMessageRequest {
|
|
@@ -7053,7 +7052,7 @@ presetPalettes.magenta;
|
|
|
7053
7052
|
presetPalettes.grey;
|
|
7054
7053
|
|
|
7055
7054
|
function getStyleByBaseColors(theme, baseColors, backgroundColor) {
|
|
7056
|
-
return (theme === "dark" ? getDarkStyle : getLightStyle)(getCssVariableDefinitionsByPalettes(generatePalettes(baseColors, theme, backgroundColor)));
|
|
7055
|
+
return (theme === "dark" ? getDarkStyle : getLightStyle)("".concat(getCssVariableDefinitionsByPalettes(generatePalettes(baseColors, theme, backgroundColor)), "\n").concat(getMigratedCssVariableDefinitions(theme, baseColors, backgroundColor)));
|
|
7057
7056
|
}
|
|
7058
7057
|
function getStyleByBrandColor(theme, brandColor) {
|
|
7059
7058
|
return (theme === "dark" ? getDarkStyle : getLightStyle)(getCssVariableDefinitionsByBrand(brandColor));
|
|
@@ -7117,6 +7116,33 @@ function ensureBaseColorName(name) {
|
|
|
7117
7116
|
}
|
|
7118
7117
|
}
|
|
7119
7118
|
|
|
7119
|
+
function getMigratedCssVariableDefinitions(theme, baseColors, backgroundColor) {
|
|
7120
|
+
var migrateMap = {
|
|
7121
|
+
green: "green",
|
|
7122
|
+
red: "red",
|
|
7123
|
+
blue: "blue",
|
|
7124
|
+
orange: "orange",
|
|
7125
|
+
cyan: "cyan",
|
|
7126
|
+
purple: "purple",
|
|
7127
|
+
geekblue: "indigo"
|
|
7128
|
+
};
|
|
7129
|
+
return Object.entries(migrateMap).flatMap(_ref4 => {
|
|
7130
|
+
var [legacyColorName, newColorName] = _ref4;
|
|
7131
|
+
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, ");"), ""];
|
|
7132
|
+
}).join("\n");
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
function getRgbChannel(color) {
|
|
7136
|
+
return color.match(/[0-9a-fA-F]{2}/g).map(hex => parseInt(hex, 16)).join(", ");
|
|
7137
|
+
}
|
|
7138
|
+
|
|
7139
|
+
function getActualBaseColor(baseColor, theme, backgroundColor) {
|
|
7140
|
+
return theme === "dark" ? generate(baseColor, {
|
|
7141
|
+
theme,
|
|
7142
|
+
backgroundColor
|
|
7143
|
+
})[5] : baseColor;
|
|
7144
|
+
}
|
|
7145
|
+
|
|
7120
7146
|
function applyColorTheme(options) {
|
|
7121
7147
|
var style = [];
|
|
7122
7148
|
var themes = ["light", "dark"];
|
|
@@ -10681,7 +10707,7 @@ function getRuntime() {
|
|
|
10681
10707
|
}
|
|
10682
10708
|
|
|
10683
10709
|
// Ref https://reactjs.org/docs/error-boundaries.html
|
|
10684
|
-
class LegacyErrorBoundary extends
|
|
10710
|
+
class LegacyErrorBoundary extends React.Component {
|
|
10685
10711
|
constructor(props) {
|
|
10686
10712
|
super(props);
|
|
10687
10713
|
this.state = {
|
|
@@ -10704,9 +10730,9 @@ class LegacyErrorBoundary extends React__default.Component {
|
|
|
10704
10730
|
render() {
|
|
10705
10731
|
if (this.state.error) {
|
|
10706
10732
|
// You can render any custom fallback UI
|
|
10707
|
-
return /*#__PURE__*/
|
|
10733
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10708
10734
|
"data-testid": "error-boundary"
|
|
10709
|
-
}, /*#__PURE__*/
|
|
10735
|
+
}, /*#__PURE__*/React.createElement("h3", null, this.props.t(K.SOMETHING_WENT_WRONG)), /*#__PURE__*/React.createElement("p", null, httpErrorToString(this.state.error)));
|
|
10710
10736
|
}
|
|
10711
10737
|
|
|
10712
10738
|
return this.props.children;
|
|
@@ -10901,8 +10927,8 @@ function useApplyPageTitle(pageTitle) {
|
|
|
10901
10927
|
/** @internal */
|
|
10902
10928
|
|
|
10903
10929
|
function useRecentApps() {
|
|
10904
|
-
var [recentApps, setRecentApps] =
|
|
10905
|
-
|
|
10930
|
+
var [recentApps, setRecentApps] = React.useState(getRuntime().getRecentApps());
|
|
10931
|
+
React.useEffect(() => {
|
|
10906
10932
|
var listener = event => {
|
|
10907
10933
|
setRecentApps(event.detail);
|
|
10908
10934
|
};
|
|
@@ -10936,8 +10962,8 @@ function useCurrentApp() {
|
|
|
10936
10962
|
|
|
10937
10963
|
function useLocation() {
|
|
10938
10964
|
var history = getHistory();
|
|
10939
|
-
var [location, setLocation] =
|
|
10940
|
-
|
|
10965
|
+
var [location, setLocation] = React.useState(history.location);
|
|
10966
|
+
React.useEffect(() => {
|
|
10941
10967
|
var unlisten = history.listen(location => setLocation(location));
|
|
10942
10968
|
return unlisten;
|
|
10943
10969
|
}, [history]);
|
|
@@ -11088,7 +11114,7 @@ var handleProxyOfParentTemplate = (brick, tplContextId, tplContext) => {
|
|
|
11088
11114
|
* @param props - 属性。
|
|
11089
11115
|
*/
|
|
11090
11116
|
|
|
11091
|
-
var SingleBrickAsComponent = /*#__PURE__*/
|
|
11117
|
+
var SingleBrickAsComponent = /*#__PURE__*/React.memo(function SingleBrickAsComponent(_ref2) {
|
|
11092
11118
|
var {
|
|
11093
11119
|
useBrick,
|
|
11094
11120
|
data,
|
|
@@ -11101,7 +11127,7 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11101
11127
|
|
|
11102
11128
|
var template;
|
|
11103
11129
|
var brick;
|
|
11104
|
-
var isBrickAvailable =
|
|
11130
|
+
var isBrickAvailable = React.useMemo(() => {
|
|
11105
11131
|
if (isObject(useBrick.if) && !isPreEvaluated(useBrick.if)) {
|
|
11106
11132
|
// eslint-disable-next-line
|
|
11107
11133
|
console.warn("Currently resolvable-if in `useBrick` is not supported.");
|
|
@@ -11115,7 +11141,7 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11115
11141
|
|
|
11116
11142
|
return true;
|
|
11117
11143
|
}, [useBrick, data]);
|
|
11118
|
-
var runtimeBrick =
|
|
11144
|
+
var runtimeBrick = React.useMemo( /*#__PURE__*/_asyncToGenerator$4(function* () {
|
|
11119
11145
|
if (!isBrickAvailable) {
|
|
11120
11146
|
return null;
|
|
11121
11147
|
} // If the router state is initial, ignore rendering the sub-brick.
|
|
@@ -11154,7 +11180,7 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11154
11180
|
|
|
11155
11181
|
return brick;
|
|
11156
11182
|
}), [useBrick, data, isBrickAvailable]);
|
|
11157
|
-
var innerRefCallback =
|
|
11183
|
+
var innerRefCallback = React.useCallback( /*#__PURE__*/function () {
|
|
11158
11184
|
var _ref5 = _asyncToGenerator$4(function* (element) {
|
|
11159
11185
|
immediatelyRefCallback === null || immediatelyRefCallback === void 0 ? void 0 : immediatelyRefCallback(element);
|
|
11160
11186
|
|
|
@@ -11209,24 +11235,24 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11209
11235
|
}
|
|
11210
11236
|
|
|
11211
11237
|
if (template) {
|
|
11212
|
-
return /*#__PURE__*/
|
|
11238
|
+
return /*#__PURE__*/React.createElement(template.brick, {
|
|
11213
11239
|
ref: innerRefCallback
|
|
11214
11240
|
}, ...slotsToChildren(template.slots).map((item, index) => {
|
|
11215
|
-
return /*#__PURE__*/
|
|
11241
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11216
11242
|
key: index,
|
|
11217
11243
|
useBrick: item,
|
|
11218
11244
|
data: data
|
|
11219
11245
|
});
|
|
11220
11246
|
}));
|
|
11221
11247
|
} else {
|
|
11222
|
-
return /*#__PURE__*/
|
|
11248
|
+
return /*#__PURE__*/React.createElement(useBrick.brick, {
|
|
11223
11249
|
ref: innerRefCallback
|
|
11224
11250
|
}, ...slotsToChildren(useBrick.slots).map((item, index) => {
|
|
11225
11251
|
if (useBrick[symbolForTplContextId] && !item[symbolForTplContextId]) {
|
|
11226
11252
|
item[symbolForTplContextId] = useBrick[symbolForTplContextId];
|
|
11227
11253
|
}
|
|
11228
11254
|
|
|
11229
|
-
return /*#__PURE__*/
|
|
11255
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11230
11256
|
key: index,
|
|
11231
11257
|
useBrick: item,
|
|
11232
11258
|
data: data
|
|
@@ -11262,7 +11288,7 @@ function BrickAsComponent(_ref6) {
|
|
|
11262
11288
|
} = _ref6;
|
|
11263
11289
|
|
|
11264
11290
|
if (Array.isArray(useBrick)) {
|
|
11265
|
-
return /*#__PURE__*/
|
|
11291
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11266
11292
|
key: index,
|
|
11267
11293
|
useBrick: item,
|
|
11268
11294
|
data: data,
|
|
@@ -11270,7 +11296,7 @@ function BrickAsComponent(_ref6) {
|
|
|
11270
11296
|
})));
|
|
11271
11297
|
}
|
|
11272
11298
|
|
|
11273
|
-
return /*#__PURE__*/
|
|
11299
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11274
11300
|
useBrick: useBrick,
|
|
11275
11301
|
data: data,
|
|
11276
11302
|
parentRefForUseBrickInPortal: parentRefForUseBrickInPortal
|
|
@@ -11303,7 +11329,7 @@ function transformEvents(data, events) {
|
|
|
11303
11329
|
// eslint-disable-next-line react/display-name
|
|
11304
11330
|
|
|
11305
11331
|
|
|
11306
|
-
var ForwardRefSingleBrickAsComponent = /*#__PURE__*/
|
|
11332
|
+
var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function LegacySingleBrickAsComponent(_ref8, ref) {
|
|
11307
11333
|
var {
|
|
11308
11334
|
useBrick,
|
|
11309
11335
|
data,
|
|
@@ -11316,7 +11342,7 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11316
11342
|
|
|
11317
11343
|
var template;
|
|
11318
11344
|
var brick;
|
|
11319
|
-
var isBrickAvailable =
|
|
11345
|
+
var isBrickAvailable = React.useMemo(() => {
|
|
11320
11346
|
if (isObject(useBrick.if) && !isPreEvaluated(useBrick.if)) {
|
|
11321
11347
|
// eslint-disable-next-line
|
|
11322
11348
|
console.warn("Currently resolvable-if in `useBrick` is not supported.");
|
|
@@ -11333,7 +11359,7 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11333
11359
|
useImperativeHandle(ref, () => {
|
|
11334
11360
|
return brickRef.current;
|
|
11335
11361
|
});
|
|
11336
|
-
var runtimeBrick =
|
|
11362
|
+
var runtimeBrick = React.useMemo( /*#__PURE__*/_asyncToGenerator$4(function* () {
|
|
11337
11363
|
if (!isBrickAvailable) {
|
|
11338
11364
|
return null;
|
|
11339
11365
|
} // If the router state is initial, ignore rendering the sub-brick.
|
|
@@ -11374,7 +11400,7 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11374
11400
|
listenOnTrackingContext(brick, trackingContextList, runtimeContext);
|
|
11375
11401
|
return brick;
|
|
11376
11402
|
}), [useBrick, data, isBrickAvailable]);
|
|
11377
|
-
var innerRefCallback =
|
|
11403
|
+
var innerRefCallback = React.useCallback( /*#__PURE__*/function () {
|
|
11378
11404
|
var _ref11 = _asyncToGenerator$4(function* (element) {
|
|
11379
11405
|
brickRef.current = element;
|
|
11380
11406
|
|
|
@@ -11429,24 +11455,24 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11429
11455
|
}
|
|
11430
11456
|
|
|
11431
11457
|
if (template) {
|
|
11432
|
-
return /*#__PURE__*/
|
|
11458
|
+
return /*#__PURE__*/React.createElement(template.brick, {
|
|
11433
11459
|
ref: innerRefCallback
|
|
11434
11460
|
}, ...slotsToChildren(template.slots).map((item, index) => {
|
|
11435
|
-
return /*#__PURE__*/
|
|
11461
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11436
11462
|
key: index,
|
|
11437
11463
|
useBrick: item,
|
|
11438
11464
|
data: data
|
|
11439
11465
|
});
|
|
11440
11466
|
}));
|
|
11441
11467
|
} else {
|
|
11442
|
-
return /*#__PURE__*/
|
|
11468
|
+
return /*#__PURE__*/React.createElement(useBrick.brick, {
|
|
11443
11469
|
ref: innerRefCallback
|
|
11444
11470
|
}, ...slotsToChildren(useBrick.slots).map((item, index) => {
|
|
11445
11471
|
if (useBrick[symbolForTplContextId] && !item[symbolForTplContextId]) {
|
|
11446
11472
|
item[symbolForTplContextId] = useBrick[symbolForTplContextId];
|
|
11447
11473
|
}
|
|
11448
11474
|
|
|
11449
|
-
return /*#__PURE__*/
|
|
11475
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11450
11476
|
key: index,
|
|
11451
11477
|
useBrick: item,
|
|
11452
11478
|
data: data
|
|
@@ -11506,7 +11532,7 @@ var locale$4 = {
|
|
|
11506
11532
|
var TimePicker$1 = locale$4;
|
|
11507
11533
|
|
|
11508
11534
|
var locale$3 = {
|
|
11509
|
-
lang: _extends
|
|
11535
|
+
lang: _extends({
|
|
11510
11536
|
placeholder: '请选择日期',
|
|
11511
11537
|
yearPlaceholder: '请选择年份',
|
|
11512
11538
|
quarterPlaceholder: '请选择季度',
|
|
@@ -11517,7 +11543,7 @@ var locale$3 = {
|
|
|
11517
11543
|
rangeMonthPlaceholder: ['开始月份', '结束月份'],
|
|
11518
11544
|
rangeWeekPlaceholder: ['开始周', '结束周']
|
|
11519
11545
|
}, locale$5),
|
|
11520
|
-
timePickerLocale: _extends
|
|
11546
|
+
timePickerLocale: _extends({}, TimePicker$1)
|
|
11521
11547
|
}; // should add whitespace between char in Button
|
|
11522
11548
|
|
|
11523
11549
|
locale$3.lang.ok = '确 定'; // All settings at:
|
|
@@ -11703,7 +11729,7 @@ var locale$1 = {
|
|
|
11703
11729
|
var TimePicker = locale$1;
|
|
11704
11730
|
|
|
11705
11731
|
var locale = {
|
|
11706
|
-
lang: _extends
|
|
11732
|
+
lang: _extends({
|
|
11707
11733
|
placeholder: 'Select date',
|
|
11708
11734
|
yearPlaceholder: 'Select year',
|
|
11709
11735
|
quarterPlaceholder: 'Select quarter',
|
|
@@ -11714,7 +11740,7 @@ var locale = {
|
|
|
11714
11740
|
rangeMonthPlaceholder: ['Start month', 'End month'],
|
|
11715
11741
|
rangeWeekPlaceholder: ['Start week', 'End week']
|
|
11716
11742
|
}, locale$2),
|
|
11717
|
-
timePickerLocale: _extends
|
|
11743
|
+
timePickerLocale: _extends({}, TimePicker)
|
|
11718
11744
|
}; // All settings at:
|
|
11719
11745
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
11720
11746
|
|
|
@@ -11847,288 +11873,276 @@ var localeValues = {
|
|
|
11847
11873
|
};
|
|
11848
11874
|
var defaultLocale = localeValues;
|
|
11849
11875
|
|
|
11850
|
-
function
|
|
11851
|
-
|
|
11852
|
-
var _ref$1 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
11853
|
-
x1: "5.718%",
|
|
11854
|
-
y1: "4.311%",
|
|
11855
|
-
x2: "83.05%",
|
|
11856
|
-
y2: "88.915%",
|
|
11857
|
-
id: "empty-image_svg__a"
|
|
11858
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
11859
|
-
stopColor: "#D4D8E4",
|
|
11860
|
-
offset: "0%"
|
|
11861
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
11862
|
-
stopColor: "#A9B0C4",
|
|
11863
|
-
offset: "100%"
|
|
11864
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
11865
|
-
x1: "0%",
|
|
11866
|
-
y1: "11.08%",
|
|
11867
|
-
x2: "80.548%",
|
|
11868
|
-
y2: "107.704%",
|
|
11869
|
-
id: "empty-image_svg__d"
|
|
11870
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
11871
|
-
stopColor: "#C2C7DA",
|
|
11872
|
-
offset: "0%"
|
|
11873
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
11874
|
-
stopColor: "#8F96B3",
|
|
11875
|
-
offset: "100%"
|
|
11876
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
11877
|
-
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",
|
|
11878
|
-
id: "empty-image_svg__c"
|
|
11879
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
11880
|
-
x: "-57.2%",
|
|
11881
|
-
y: "-47.7%",
|
|
11882
|
-
width: "233.4%",
|
|
11883
|
-
height: "233.4%",
|
|
11884
|
-
filterUnits: "objectBoundingBox",
|
|
11885
|
-
id: "empty-image_svg__b"
|
|
11886
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
11887
|
-
dx: 1,
|
|
11888
|
-
dy: 2,
|
|
11889
|
-
in: "SourceAlpha",
|
|
11890
|
-
result: "shadowOffsetOuter1"
|
|
11891
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
11892
|
-
stdDeviation: 2,
|
|
11893
|
-
in: "shadowOffsetOuter1",
|
|
11894
|
-
result: "shadowBlurOuter1"
|
|
11895
|
-
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
11896
|
-
in: "shadowBlurOuter1",
|
|
11897
|
-
in2: "SourceAlpha",
|
|
11898
|
-
operator: "out",
|
|
11899
|
-
result: "shadowBlurOuter1"
|
|
11900
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
11901
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
|
|
11902
|
-
in: "shadowBlurOuter1"
|
|
11903
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
11904
|
-
x1: "41.823%",
|
|
11905
|
-
y1: "24.795%",
|
|
11906
|
-
x2: "8.813%",
|
|
11907
|
-
y2: "86.427%",
|
|
11908
|
-
id: "empty-image_svg__g"
|
|
11909
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
11910
|
-
stopColor: "#CCD0DD",
|
|
11911
|
-
offset: "0%"
|
|
11912
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
11913
|
-
stopColor: "#9DA3B9",
|
|
11914
|
-
offset: "100%"
|
|
11915
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
11916
|
-
d: "M37.311 12.459a4 4 0 0 1 4 4v3.419l-7.418-7.419h3.418z",
|
|
11917
|
-
id: "empty-image_svg__f"
|
|
11918
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
11919
|
-
x: "-94.4%",
|
|
11920
|
-
y: "-121.3%",
|
|
11921
|
-
width: "288.7%",
|
|
11922
|
-
height: "288.7%",
|
|
11923
|
-
filterUnits: "objectBoundingBox",
|
|
11924
|
-
id: "empty-image_svg__e"
|
|
11925
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
11926
|
-
dy: -2,
|
|
11927
|
-
in: "SourceAlpha",
|
|
11928
|
-
result: "shadowOffsetOuter1"
|
|
11929
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
11930
|
-
stdDeviation: 2,
|
|
11931
|
-
in: "shadowOffsetOuter1",
|
|
11932
|
-
result: "shadowBlurOuter1"
|
|
11933
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
11934
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
|
|
11935
|
-
in: "shadowBlurOuter1"
|
|
11936
|
-
})));
|
|
11937
|
-
|
|
11938
|
-
var _ref2$1 = /*#__PURE__*/React.createElement("g", {
|
|
11939
|
-
fill: "none",
|
|
11940
|
-
fillRule: "evenodd"
|
|
11941
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
11942
|
-
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",
|
|
11943
|
-
fill: "#A6AAC3"
|
|
11944
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11945
|
-
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",
|
|
11946
|
-
fill: "url(#empty-image_svg__a)"
|
|
11947
|
-
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("use", {
|
|
11948
|
-
fill: "#000",
|
|
11949
|
-
filter: "url(#empty-image_svg__b)",
|
|
11950
|
-
xlinkHref: "#empty-image_svg__c"
|
|
11951
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11952
|
-
stroke: "#FFF",
|
|
11953
|
-
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",
|
|
11954
|
-
strokeLinejoin: "square",
|
|
11955
|
-
fill: "url(#empty-image_svg__d)"
|
|
11956
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
11957
|
-
transform: "rotate(180 37.602 16.168)"
|
|
11958
|
-
}, /*#__PURE__*/React.createElement("use", {
|
|
11959
|
-
fill: "#000",
|
|
11960
|
-
filter: "url(#empty-image_svg__e)",
|
|
11961
|
-
xlinkHref: "#empty-image_svg__f"
|
|
11962
|
-
}), /*#__PURE__*/React.createElement("use", {
|
|
11963
|
-
fill: "url(#empty-image_svg__g)",
|
|
11964
|
-
xlinkHref: "#empty-image_svg__f"
|
|
11965
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
11966
|
-
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",
|
|
11967
|
-
fill: "#D6D8E4",
|
|
11968
|
-
opacity: 0.3
|
|
11969
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11970
|
-
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",
|
|
11971
|
-
fill: "#D6D8E4"
|
|
11972
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11973
|
-
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",
|
|
11974
|
-
fill: "#D6D8E4",
|
|
11975
|
-
opacity: 0.5
|
|
11976
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11977
|
-
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",
|
|
11978
|
-
fill: "#D6D8E4",
|
|
11979
|
-
opacity: 0.8
|
|
11980
|
-
}));
|
|
11876
|
+
function EmptySvg(props) {
|
|
11877
|
+
var prefix = uniqueId();
|
|
11981
11878
|
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
height: 53,
|
|
11986
|
-
viewBox: "0 0 56 53",
|
|
11987
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11988
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
11989
|
-
}, props), _ref$1, _ref2$1);
|
|
11990
|
-
}
|
|
11991
|
-
|
|
11992
|
-
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); }
|
|
11993
|
-
|
|
11994
|
-
var _ref = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
11995
|
-
x1: "5.718%",
|
|
11996
|
-
y1: "4.311%",
|
|
11997
|
-
x2: "83.05%",
|
|
11998
|
-
y2: "88.915%",
|
|
11999
|
-
id: "big-empty-image_svg__a"
|
|
12000
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
12001
|
-
stopColor: "#D4D8E4",
|
|
12002
|
-
offset: "0%"
|
|
12003
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
12004
|
-
stopColor: "#A9B0C4",
|
|
12005
|
-
offset: "100%"
|
|
12006
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
12007
|
-
x1: "0%",
|
|
12008
|
-
y1: "11.08%",
|
|
12009
|
-
x2: "80.548%",
|
|
12010
|
-
y2: "107.704%",
|
|
12011
|
-
id: "big-empty-image_svg__d"
|
|
12012
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
12013
|
-
stopColor: "#C2C7DA",
|
|
12014
|
-
offset: "0%"
|
|
12015
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
12016
|
-
stopColor: "#8F96B3",
|
|
12017
|
-
offset: "100%"
|
|
12018
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
12019
|
-
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",
|
|
12020
|
-
id: "big-empty-image_svg__c"
|
|
12021
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
12022
|
-
x: "-37.5%",
|
|
12023
|
-
y: "-31.3%",
|
|
12024
|
-
width: "187.5%",
|
|
12025
|
-
height: "187.5%",
|
|
12026
|
-
filterUnits: "objectBoundingBox",
|
|
12027
|
-
id: "big-empty-image_svg__b"
|
|
12028
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
12029
|
-
dx: 1,
|
|
12030
|
-
dy: 2,
|
|
12031
|
-
in: "SourceAlpha",
|
|
12032
|
-
result: "shadowOffsetOuter1"
|
|
12033
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
12034
|
-
stdDeviation: 2,
|
|
12035
|
-
in: "shadowOffsetOuter1",
|
|
12036
|
-
result: "shadowBlurOuter1"
|
|
12037
|
-
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
12038
|
-
in: "shadowBlurOuter1",
|
|
12039
|
-
in2: "SourceAlpha",
|
|
12040
|
-
operator: "out",
|
|
12041
|
-
result: "shadowBlurOuter1"
|
|
12042
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
12043
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
|
|
12044
|
-
in: "shadowBlurOuter1"
|
|
12045
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
12046
|
-
x1: "41.823%",
|
|
12047
|
-
y1: "24.795%",
|
|
12048
|
-
x2: "8.813%",
|
|
12049
|
-
y2: "86.427%",
|
|
12050
|
-
id: "big-empty-image_svg__g"
|
|
12051
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
12052
|
-
stopColor: "#CCD0DD",
|
|
12053
|
-
offset: "0%"
|
|
12054
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
12055
|
-
stopColor: "#9DA3B9",
|
|
12056
|
-
offset: "100%"
|
|
12057
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
12058
|
-
d: "M59 19a4 4 0 0 1 4 4v7.314L51.686 19H59z",
|
|
12059
|
-
id: "big-empty-image_svg__f"
|
|
12060
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
12061
|
-
x: "-61.9%",
|
|
12062
|
-
y: "-79.5%",
|
|
12063
|
-
width: "223.7%",
|
|
12064
|
-
height: "223.7%",
|
|
12065
|
-
filterUnits: "objectBoundingBox",
|
|
12066
|
-
id: "big-empty-image_svg__e"
|
|
12067
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
12068
|
-
dy: -2,
|
|
12069
|
-
in: "SourceAlpha",
|
|
12070
|
-
result: "shadowOffsetOuter1"
|
|
12071
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
12072
|
-
stdDeviation: 2,
|
|
12073
|
-
in: "shadowOffsetOuter1",
|
|
12074
|
-
result: "shadowBlurOuter1"
|
|
12075
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
12076
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
|
|
12077
|
-
in: "shadowBlurOuter1"
|
|
12078
|
-
})));
|
|
12079
|
-
|
|
12080
|
-
var _ref2 = /*#__PURE__*/React.createElement("g", {
|
|
12081
|
-
fill: "none",
|
|
12082
|
-
fillRule: "evenodd"
|
|
12083
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
12084
|
-
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",
|
|
12085
|
-
fill: "#A6AAC3"
|
|
12086
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12087
|
-
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",
|
|
12088
|
-
fill: "url(#big-empty-image_svg__a)"
|
|
12089
|
-
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("use", {
|
|
12090
|
-
fill: "#000",
|
|
12091
|
-
filter: "url(#big-empty-image_svg__b)",
|
|
12092
|
-
xlinkHref: "#big-empty-image_svg__c"
|
|
12093
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12094
|
-
stroke: "#FFF",
|
|
12095
|
-
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",
|
|
12096
|
-
strokeLinejoin: "square",
|
|
12097
|
-
fill: "url(#big-empty-image_svg__d)"
|
|
12098
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
12099
|
-
transform: "rotate(180 57.343 24.657)"
|
|
12100
|
-
}, /*#__PURE__*/React.createElement("use", {
|
|
12101
|
-
fill: "#000",
|
|
12102
|
-
filter: "url(#big-empty-image_svg__e)",
|
|
12103
|
-
xlinkHref: "#big-empty-image_svg__f"
|
|
12104
|
-
}), /*#__PURE__*/React.createElement("use", {
|
|
12105
|
-
fill: "url(#big-empty-image_svg__g)",
|
|
12106
|
-
xlinkHref: "#big-empty-image_svg__f"
|
|
12107
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
12108
|
-
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",
|
|
12109
|
-
fill: "#D6D8E4",
|
|
12110
|
-
opacity: 0.3
|
|
12111
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12112
|
-
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",
|
|
12113
|
-
fill: "#D6D8E4"
|
|
12114
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12115
|
-
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",
|
|
12116
|
-
fill: "#D6D8E4",
|
|
12117
|
-
opacity: 0.5
|
|
12118
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12119
|
-
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",
|
|
12120
|
-
fill: "#D6D8E4",
|
|
12121
|
-
opacity: 0.8
|
|
12122
|
-
}));
|
|
11879
|
+
var createNewId = id => {
|
|
11880
|
+
return prefix + id;
|
|
11881
|
+
};
|
|
12123
11882
|
|
|
12124
|
-
|
|
12125
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
11883
|
+
return props.isBig ? /*#__PURE__*/React.createElement("svg", {
|
|
12126
11884
|
width: 86,
|
|
12127
11885
|
height: 80,
|
|
12128
|
-
viewBox: "0 0 86 80",
|
|
12129
11886
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12130
11887
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
12131
|
-
},
|
|
11888
|
+
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
11889
|
+
x1: "5.718%",
|
|
11890
|
+
y1: "4.311%",
|
|
11891
|
+
x2: "83.05%",
|
|
11892
|
+
y2: "88.915%",
|
|
11893
|
+
id: createNewId("a")
|
|
11894
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
11895
|
+
stopColor: "#D4D8E4",
|
|
11896
|
+
offset: "0%"
|
|
11897
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
11898
|
+
stopColor: "#A9B0C4",
|
|
11899
|
+
offset: "100%"
|
|
11900
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
11901
|
+
x1: "0%",
|
|
11902
|
+
y1: "11.08%",
|
|
11903
|
+
x2: "80.548%",
|
|
11904
|
+
y2: "107.704%",
|
|
11905
|
+
id: createNewId("d")
|
|
11906
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
11907
|
+
stopColor: "#C2C7DA",
|
|
11908
|
+
offset: "0%"
|
|
11909
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
11910
|
+
stopColor: "#8F96B3",
|
|
11911
|
+
offset: "100%"
|
|
11912
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
11913
|
+
x1: "41.823%",
|
|
11914
|
+
y1: "24.795%",
|
|
11915
|
+
x2: "8.813%",
|
|
11916
|
+
y2: "86.427%",
|
|
11917
|
+
id: createNewId("g")
|
|
11918
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
11919
|
+
stopColor: "#CCD0DD",
|
|
11920
|
+
offset: "0%"
|
|
11921
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
11922
|
+
stopColor: "#9DA3B9",
|
|
11923
|
+
offset: "100%"
|
|
11924
|
+
})), /*#__PURE__*/React.createElement("filter", {
|
|
11925
|
+
x: "-37.5%",
|
|
11926
|
+
y: "-31.3%",
|
|
11927
|
+
width: "187.5%",
|
|
11928
|
+
height: "187.5%",
|
|
11929
|
+
filterUnits: "objectBoundingBox",
|
|
11930
|
+
id: createNewId("b")
|
|
11931
|
+
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
11932
|
+
dx: 1,
|
|
11933
|
+
dy: 2,
|
|
11934
|
+
in: "SourceAlpha",
|
|
11935
|
+
result: "shadowOffsetOuter1"
|
|
11936
|
+
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
11937
|
+
stdDeviation: 2,
|
|
11938
|
+
in: "shadowOffsetOuter1",
|
|
11939
|
+
result: "shadowBlurOuter1"
|
|
11940
|
+
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
11941
|
+
in: "shadowBlurOuter1",
|
|
11942
|
+
in2: "SourceAlpha",
|
|
11943
|
+
operator: "out",
|
|
11944
|
+
result: "shadowBlurOuter1"
|
|
11945
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
11946
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
|
|
11947
|
+
in: "shadowBlurOuter1"
|
|
11948
|
+
})), /*#__PURE__*/React.createElement("filter", {
|
|
11949
|
+
x: "-61.9%",
|
|
11950
|
+
y: "-79.5%",
|
|
11951
|
+
width: "223.7%",
|
|
11952
|
+
height: "223.7%",
|
|
11953
|
+
filterUnits: "objectBoundingBox",
|
|
11954
|
+
id: createNewId("e")
|
|
11955
|
+
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
11956
|
+
dy: -2,
|
|
11957
|
+
in: "SourceAlpha",
|
|
11958
|
+
result: "shadowOffsetOuter1"
|
|
11959
|
+
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
11960
|
+
stdDeviation: 2,
|
|
11961
|
+
in: "shadowOffsetOuter1",
|
|
11962
|
+
result: "shadowBlurOuter1"
|
|
11963
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
11964
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
|
|
11965
|
+
in: "shadowBlurOuter1"
|
|
11966
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
11967
|
+
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",
|
|
11968
|
+
id: createNewId("c")
|
|
11969
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11970
|
+
d: "M59 19a4 4 0 0 1 4 4v7.314L51.686 19H59Z",
|
|
11971
|
+
id: createNewId("f")
|
|
11972
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
11973
|
+
fill: "none",
|
|
11974
|
+
fillRule: "evenodd"
|
|
11975
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11976
|
+
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",
|
|
11977
|
+
fill: "#A6AAC3"
|
|
11978
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11979
|
+
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",
|
|
11980
|
+
fill: "url(#".concat(createNewId("a"), ")")
|
|
11981
|
+
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("use", {
|
|
11982
|
+
fill: "#000",
|
|
11983
|
+
filter: "url(#".concat(createNewId("b"), ")"),
|
|
11984
|
+
xlinkHref: "#".concat(createNewId("c"))
|
|
11985
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11986
|
+
stroke: "#FFF",
|
|
11987
|
+
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",
|
|
11988
|
+
strokeLinejoin: "round",
|
|
11989
|
+
fill: "url(#".concat(createNewId("d"), ")")
|
|
11990
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
11991
|
+
transform: "rotate(180 57.343 24.657)"
|
|
11992
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
11993
|
+
fill: "#000",
|
|
11994
|
+
filter: "url(#".concat(createNewId("e"), ")"),
|
|
11995
|
+
xlinkHref: "#".concat(createNewId("f"))
|
|
11996
|
+
}), /*#__PURE__*/React.createElement("use", {
|
|
11997
|
+
fill: "url(#".concat(createNewId("g"), ")"),
|
|
11998
|
+
xlinkHref: "#".concat(createNewId("f"))
|
|
11999
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
12000
|
+
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",
|
|
12001
|
+
fill: "#D6D8E4",
|
|
12002
|
+
opacity: 0.3
|
|
12003
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12004
|
+
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",
|
|
12005
|
+
fill: "#D6D8E4"
|
|
12006
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12007
|
+
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",
|
|
12008
|
+
fill: "#D6D8E4",
|
|
12009
|
+
opacity: 0.5
|
|
12010
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12011
|
+
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",
|
|
12012
|
+
fill: "#D6D8E4",
|
|
12013
|
+
opacity: 0.8
|
|
12014
|
+
}))) : /*#__PURE__*/React.createElement("svg", {
|
|
12015
|
+
width: 56,
|
|
12016
|
+
height: 53,
|
|
12017
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12018
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
12019
|
+
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
12020
|
+
x1: "5.718%",
|
|
12021
|
+
y1: "4.311%",
|
|
12022
|
+
x2: "83.05%",
|
|
12023
|
+
y2: "88.915%",
|
|
12024
|
+
id: createNewId("a")
|
|
12025
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
12026
|
+
stopColor: "#D4D8E4",
|
|
12027
|
+
offset: "0%"
|
|
12028
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
12029
|
+
stopColor: "#A9B0C4",
|
|
12030
|
+
offset: "100%"
|
|
12031
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
12032
|
+
x1: "0%",
|
|
12033
|
+
y1: "11.08%",
|
|
12034
|
+
x2: "80.548%",
|
|
12035
|
+
y2: "107.704%",
|
|
12036
|
+
id: createNewId("d")
|
|
12037
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
12038
|
+
stopColor: "#C2C7DA",
|
|
12039
|
+
offset: "0%"
|
|
12040
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
12041
|
+
stopColor: "#8F96B3",
|
|
12042
|
+
offset: "100%"
|
|
12043
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
12044
|
+
x1: "41.823%",
|
|
12045
|
+
y1: "24.795%",
|
|
12046
|
+
x2: "8.813%",
|
|
12047
|
+
y2: "86.427%",
|
|
12048
|
+
id: createNewId("g")
|
|
12049
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
12050
|
+
stopColor: "#CCD0DD",
|
|
12051
|
+
offset: "0%"
|
|
12052
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
12053
|
+
stopColor: "#9DA3B9",
|
|
12054
|
+
offset: "100%"
|
|
12055
|
+
})), /*#__PURE__*/React.createElement("filter", {
|
|
12056
|
+
x: "-57.2%",
|
|
12057
|
+
y: "-47.7%",
|
|
12058
|
+
width: "233.4%",
|
|
12059
|
+
height: "233.4%",
|
|
12060
|
+
filterUnits: "objectBoundingBox",
|
|
12061
|
+
id: createNewId("b")
|
|
12062
|
+
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
12063
|
+
dx: 1,
|
|
12064
|
+
dy: 2,
|
|
12065
|
+
in: "SourceAlpha",
|
|
12066
|
+
result: "shadowOffsetOuter1"
|
|
12067
|
+
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
12068
|
+
stdDeviation: 2,
|
|
12069
|
+
in: "shadowOffsetOuter1",
|
|
12070
|
+
result: "shadowBlurOuter1"
|
|
12071
|
+
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
12072
|
+
in: "shadowBlurOuter1",
|
|
12073
|
+
in2: "SourceAlpha",
|
|
12074
|
+
operator: "out",
|
|
12075
|
+
result: "shadowBlurOuter1"
|
|
12076
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
12077
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
|
|
12078
|
+
in: "shadowBlurOuter1"
|
|
12079
|
+
})), /*#__PURE__*/React.createElement("filter", {
|
|
12080
|
+
x: "-94.4%",
|
|
12081
|
+
y: "-121.3%",
|
|
12082
|
+
width: "288.7%",
|
|
12083
|
+
height: "288.7%",
|
|
12084
|
+
filterUnits: "objectBoundingBox",
|
|
12085
|
+
id: createNewId("e")
|
|
12086
|
+
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
12087
|
+
dy: -2,
|
|
12088
|
+
in: "SourceAlpha",
|
|
12089
|
+
result: "shadowOffsetOuter1"
|
|
12090
|
+
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
12091
|
+
stdDeviation: 2,
|
|
12092
|
+
in: "shadowOffsetOuter1",
|
|
12093
|
+
result: "shadowBlurOuter1"
|
|
12094
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
12095
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
|
|
12096
|
+
in: "shadowBlurOuter1"
|
|
12097
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
12098
|
+
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",
|
|
12099
|
+
id: createNewId("c")
|
|
12100
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12101
|
+
d: "M37.311 12.459a4 4 0 0 1 4 4v3.419l-7.418-7.419h3.418Z",
|
|
12102
|
+
id: createNewId("f")
|
|
12103
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
12104
|
+
fill: "none",
|
|
12105
|
+
fillRule: "evenodd"
|
|
12106
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12107
|
+
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",
|
|
12108
|
+
fill: "#A6AAC3"
|
|
12109
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12110
|
+
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",
|
|
12111
|
+
fill: "url(#".concat(createNewId("a"), ")")
|
|
12112
|
+
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("use", {
|
|
12113
|
+
fill: "#000",
|
|
12114
|
+
filter: "url(#".concat(createNewId("b"), ")"),
|
|
12115
|
+
xlinkHref: "#".concat(createNewId("c"))
|
|
12116
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12117
|
+
stroke: "#FFF",
|
|
12118
|
+
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",
|
|
12119
|
+
strokeLinejoin: "round",
|
|
12120
|
+
fill: "url(#d)"
|
|
12121
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
12122
|
+
transform: "rotate(180 37.602 16.168)"
|
|
12123
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
12124
|
+
fill: "#000",
|
|
12125
|
+
filter: "url(#".concat(createNewId("e"), ")"),
|
|
12126
|
+
xlinkHref: "#".concat(createNewId("f"))
|
|
12127
|
+
}), /*#__PURE__*/React.createElement("use", {
|
|
12128
|
+
fill: "url(#".concat(createNewId("g"), ")"),
|
|
12129
|
+
xlinkHref: "#".concat(createNewId("f"))
|
|
12130
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
12131
|
+
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",
|
|
12132
|
+
fill: "#D6D8E4",
|
|
12133
|
+
opacity: 0.3
|
|
12134
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12135
|
+
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",
|
|
12136
|
+
fill: "#D6D8E4"
|
|
12137
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12138
|
+
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",
|
|
12139
|
+
fill: "#D6D8E4",
|
|
12140
|
+
opacity: 0.5
|
|
12141
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12142
|
+
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",
|
|
12143
|
+
fill: "#D6D8E4",
|
|
12144
|
+
opacity: 0.8
|
|
12145
|
+
})));
|
|
12132
12146
|
}
|
|
12133
12147
|
|
|
12134
12148
|
/**
|
|
@@ -12138,14 +12152,13 @@ function EasyopsEmpty(props) {
|
|
|
12138
12152
|
var _props$imageStyle;
|
|
12139
12153
|
|
|
12140
12154
|
var illustration = useMemo(() => props.illustration && getIllustration(props.illustration), [props.illustration]);
|
|
12141
|
-
|
|
12142
|
-
|
|
12143
|
-
|
|
12144
|
-
var image = props.illustration ? illustration : /*#__PURE__*/React__default.createElement(_emptyImage);
|
|
12155
|
+
var image = props.illustration ? illustration : /*#__PURE__*/React.createElement(EmptySvg, {
|
|
12156
|
+
isBig: props.useBigEmptyImage
|
|
12157
|
+
});
|
|
12145
12158
|
var imageStyle = (_props$imageStyle = props.imageStyle) !== null && _props$imageStyle !== void 0 ? _props$imageStyle : props.useBigEmptyImage ? undefined : {
|
|
12146
12159
|
height: "60px"
|
|
12147
12160
|
};
|
|
12148
|
-
return /*#__PURE__*/
|
|
12161
|
+
return /*#__PURE__*/React.createElement(Empty, {
|
|
12149
12162
|
image: image,
|
|
12150
12163
|
imageStyle: imageStyle,
|
|
12151
12164
|
description: props.description,
|
|
@@ -12159,7 +12172,7 @@ function EasyopsEmpty(props) {
|
|
|
12159
12172
|
*/
|
|
12160
12173
|
|
|
12161
12174
|
function renderEasyopsEmpty() {
|
|
12162
|
-
return /*#__PURE__*/
|
|
12175
|
+
return /*#__PURE__*/React.createElement(EasyopsEmpty, null);
|
|
12163
12176
|
}
|
|
12164
12177
|
|
|
12165
12178
|
var FeatureFlagsContext = /*#__PURE__*/createContext(null);
|
|
@@ -12229,7 +12242,7 @@ function useFeatureFlags(name) {
|
|
|
12229
12242
|
|
|
12230
12243
|
function DisplayByFeatureFlags(props) {
|
|
12231
12244
|
var featureFlags = useFeatureFlags(props.name);
|
|
12232
|
-
return featureFlags.every(flag => !!flag) ? /*#__PURE__*/
|
|
12245
|
+
return featureFlags.every(flag => !!flag) ? /*#__PURE__*/React.createElement(React.Fragment, null, props.children) : props !== null && props !== void 0 && props.fallback ? /*#__PURE__*/React.createElement(React.Fragment, null, props === null || props === void 0 ? void 0 : props.fallback) : null;
|
|
12233
12246
|
}
|
|
12234
12247
|
|
|
12235
12248
|
/**
|
|
@@ -12239,15 +12252,15 @@ function BrickWrapper(props) {
|
|
|
12239
12252
|
var locale = i18next.language && i18next.language.split("-")[0] === "en" ? defaultLocale : zhCN; // istanbul ignore next
|
|
12240
12253
|
|
|
12241
12254
|
var featureFlags = process.env.NODE_ENV === "test" ? {} : getRuntime().getFeatureFlags();
|
|
12242
|
-
return /*#__PURE__*/
|
|
12255
|
+
return /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(FeatureFlagsProvider, {
|
|
12243
12256
|
value: featureFlags
|
|
12244
|
-
}, /*#__PURE__*/
|
|
12257
|
+
}, /*#__PURE__*/React.createElement(ConfigProvider, {
|
|
12245
12258
|
locale: locale,
|
|
12246
12259
|
autoInsertSpaceInButton: false,
|
|
12247
12260
|
renderEmpty: () => {
|
|
12248
12261
|
var _props$wrapperConfig;
|
|
12249
12262
|
|
|
12250
|
-
return /*#__PURE__*/
|
|
12263
|
+
return /*#__PURE__*/React.createElement(EasyopsEmpty, (_props$wrapperConfig = props.wrapperConfig) === null || _props$wrapperConfig === void 0 ? void 0 : _props$wrapperConfig.empty);
|
|
12251
12264
|
}
|
|
12252
12265
|
}, props.children)));
|
|
12253
12266
|
}
|