@next-core/brick-kit 2.103.6 → 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 +11 -0
- package/dist/index.bundle.js +270 -302
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +309 -323
- 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 +2 -2
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 {
|
|
@@ -10708,7 +10707,7 @@ function getRuntime() {
|
|
|
10708
10707
|
}
|
|
10709
10708
|
|
|
10710
10709
|
// Ref https://reactjs.org/docs/error-boundaries.html
|
|
10711
|
-
class LegacyErrorBoundary extends
|
|
10710
|
+
class LegacyErrorBoundary extends React.Component {
|
|
10712
10711
|
constructor(props) {
|
|
10713
10712
|
super(props);
|
|
10714
10713
|
this.state = {
|
|
@@ -10731,9 +10730,9 @@ class LegacyErrorBoundary extends React__default.Component {
|
|
|
10731
10730
|
render() {
|
|
10732
10731
|
if (this.state.error) {
|
|
10733
10732
|
// You can render any custom fallback UI
|
|
10734
|
-
return /*#__PURE__*/
|
|
10733
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10735
10734
|
"data-testid": "error-boundary"
|
|
10736
|
-
}, /*#__PURE__*/
|
|
10735
|
+
}, /*#__PURE__*/React.createElement("h3", null, this.props.t(K.SOMETHING_WENT_WRONG)), /*#__PURE__*/React.createElement("p", null, httpErrorToString(this.state.error)));
|
|
10737
10736
|
}
|
|
10738
10737
|
|
|
10739
10738
|
return this.props.children;
|
|
@@ -10928,8 +10927,8 @@ function useApplyPageTitle(pageTitle) {
|
|
|
10928
10927
|
/** @internal */
|
|
10929
10928
|
|
|
10930
10929
|
function useRecentApps() {
|
|
10931
|
-
var [recentApps, setRecentApps] =
|
|
10932
|
-
|
|
10930
|
+
var [recentApps, setRecentApps] = React.useState(getRuntime().getRecentApps());
|
|
10931
|
+
React.useEffect(() => {
|
|
10933
10932
|
var listener = event => {
|
|
10934
10933
|
setRecentApps(event.detail);
|
|
10935
10934
|
};
|
|
@@ -10963,8 +10962,8 @@ function useCurrentApp() {
|
|
|
10963
10962
|
|
|
10964
10963
|
function useLocation() {
|
|
10965
10964
|
var history = getHistory();
|
|
10966
|
-
var [location, setLocation] =
|
|
10967
|
-
|
|
10965
|
+
var [location, setLocation] = React.useState(history.location);
|
|
10966
|
+
React.useEffect(() => {
|
|
10968
10967
|
var unlisten = history.listen(location => setLocation(location));
|
|
10969
10968
|
return unlisten;
|
|
10970
10969
|
}, [history]);
|
|
@@ -11115,7 +11114,7 @@ var handleProxyOfParentTemplate = (brick, tplContextId, tplContext) => {
|
|
|
11115
11114
|
* @param props - 属性。
|
|
11116
11115
|
*/
|
|
11117
11116
|
|
|
11118
|
-
var SingleBrickAsComponent = /*#__PURE__*/
|
|
11117
|
+
var SingleBrickAsComponent = /*#__PURE__*/React.memo(function SingleBrickAsComponent(_ref2) {
|
|
11119
11118
|
var {
|
|
11120
11119
|
useBrick,
|
|
11121
11120
|
data,
|
|
@@ -11128,7 +11127,7 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11128
11127
|
|
|
11129
11128
|
var template;
|
|
11130
11129
|
var brick;
|
|
11131
|
-
var isBrickAvailable =
|
|
11130
|
+
var isBrickAvailable = React.useMemo(() => {
|
|
11132
11131
|
if (isObject(useBrick.if) && !isPreEvaluated(useBrick.if)) {
|
|
11133
11132
|
// eslint-disable-next-line
|
|
11134
11133
|
console.warn("Currently resolvable-if in `useBrick` is not supported.");
|
|
@@ -11142,7 +11141,7 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11142
11141
|
|
|
11143
11142
|
return true;
|
|
11144
11143
|
}, [useBrick, data]);
|
|
11145
|
-
var runtimeBrick =
|
|
11144
|
+
var runtimeBrick = React.useMemo( /*#__PURE__*/_asyncToGenerator$4(function* () {
|
|
11146
11145
|
if (!isBrickAvailable) {
|
|
11147
11146
|
return null;
|
|
11148
11147
|
} // If the router state is initial, ignore rendering the sub-brick.
|
|
@@ -11181,7 +11180,7 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11181
11180
|
|
|
11182
11181
|
return brick;
|
|
11183
11182
|
}), [useBrick, data, isBrickAvailable]);
|
|
11184
|
-
var innerRefCallback =
|
|
11183
|
+
var innerRefCallback = React.useCallback( /*#__PURE__*/function () {
|
|
11185
11184
|
var _ref5 = _asyncToGenerator$4(function* (element) {
|
|
11186
11185
|
immediatelyRefCallback === null || immediatelyRefCallback === void 0 ? void 0 : immediatelyRefCallback(element);
|
|
11187
11186
|
|
|
@@ -11236,24 +11235,24 @@ var SingleBrickAsComponent = /*#__PURE__*/React__default.memo(function SingleBri
|
|
|
11236
11235
|
}
|
|
11237
11236
|
|
|
11238
11237
|
if (template) {
|
|
11239
|
-
return /*#__PURE__*/
|
|
11238
|
+
return /*#__PURE__*/React.createElement(template.brick, {
|
|
11240
11239
|
ref: innerRefCallback
|
|
11241
11240
|
}, ...slotsToChildren(template.slots).map((item, index) => {
|
|
11242
|
-
return /*#__PURE__*/
|
|
11241
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11243
11242
|
key: index,
|
|
11244
11243
|
useBrick: item,
|
|
11245
11244
|
data: data
|
|
11246
11245
|
});
|
|
11247
11246
|
}));
|
|
11248
11247
|
} else {
|
|
11249
|
-
return /*#__PURE__*/
|
|
11248
|
+
return /*#__PURE__*/React.createElement(useBrick.brick, {
|
|
11250
11249
|
ref: innerRefCallback
|
|
11251
11250
|
}, ...slotsToChildren(useBrick.slots).map((item, index) => {
|
|
11252
11251
|
if (useBrick[symbolForTplContextId] && !item[symbolForTplContextId]) {
|
|
11253
11252
|
item[symbolForTplContextId] = useBrick[symbolForTplContextId];
|
|
11254
11253
|
}
|
|
11255
11254
|
|
|
11256
|
-
return /*#__PURE__*/
|
|
11255
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11257
11256
|
key: index,
|
|
11258
11257
|
useBrick: item,
|
|
11259
11258
|
data: data
|
|
@@ -11289,7 +11288,7 @@ function BrickAsComponent(_ref6) {
|
|
|
11289
11288
|
} = _ref6;
|
|
11290
11289
|
|
|
11291
11290
|
if (Array.isArray(useBrick)) {
|
|
11292
|
-
return /*#__PURE__*/
|
|
11291
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11293
11292
|
key: index,
|
|
11294
11293
|
useBrick: item,
|
|
11295
11294
|
data: data,
|
|
@@ -11297,7 +11296,7 @@ function BrickAsComponent(_ref6) {
|
|
|
11297
11296
|
})));
|
|
11298
11297
|
}
|
|
11299
11298
|
|
|
11300
|
-
return /*#__PURE__*/
|
|
11299
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11301
11300
|
useBrick: useBrick,
|
|
11302
11301
|
data: data,
|
|
11303
11302
|
parentRefForUseBrickInPortal: parentRefForUseBrickInPortal
|
|
@@ -11330,7 +11329,7 @@ function transformEvents(data, events) {
|
|
|
11330
11329
|
// eslint-disable-next-line react/display-name
|
|
11331
11330
|
|
|
11332
11331
|
|
|
11333
|
-
var ForwardRefSingleBrickAsComponent = /*#__PURE__*/
|
|
11332
|
+
var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function LegacySingleBrickAsComponent(_ref8, ref) {
|
|
11334
11333
|
var {
|
|
11335
11334
|
useBrick,
|
|
11336
11335
|
data,
|
|
@@ -11343,7 +11342,7 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11343
11342
|
|
|
11344
11343
|
var template;
|
|
11345
11344
|
var brick;
|
|
11346
|
-
var isBrickAvailable =
|
|
11345
|
+
var isBrickAvailable = React.useMemo(() => {
|
|
11347
11346
|
if (isObject(useBrick.if) && !isPreEvaluated(useBrick.if)) {
|
|
11348
11347
|
// eslint-disable-next-line
|
|
11349
11348
|
console.warn("Currently resolvable-if in `useBrick` is not supported.");
|
|
@@ -11360,7 +11359,7 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11360
11359
|
useImperativeHandle(ref, () => {
|
|
11361
11360
|
return brickRef.current;
|
|
11362
11361
|
});
|
|
11363
|
-
var runtimeBrick =
|
|
11362
|
+
var runtimeBrick = React.useMemo( /*#__PURE__*/_asyncToGenerator$4(function* () {
|
|
11364
11363
|
if (!isBrickAvailable) {
|
|
11365
11364
|
return null;
|
|
11366
11365
|
} // If the router state is initial, ignore rendering the sub-brick.
|
|
@@ -11401,7 +11400,7 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11401
11400
|
listenOnTrackingContext(brick, trackingContextList, runtimeContext);
|
|
11402
11401
|
return brick;
|
|
11403
11402
|
}), [useBrick, data, isBrickAvailable]);
|
|
11404
|
-
var innerRefCallback =
|
|
11403
|
+
var innerRefCallback = React.useCallback( /*#__PURE__*/function () {
|
|
11405
11404
|
var _ref11 = _asyncToGenerator$4(function* (element) {
|
|
11406
11405
|
brickRef.current = element;
|
|
11407
11406
|
|
|
@@ -11456,24 +11455,24 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React__default.memo( /*#__PU
|
|
|
11456
11455
|
}
|
|
11457
11456
|
|
|
11458
11457
|
if (template) {
|
|
11459
|
-
return /*#__PURE__*/
|
|
11458
|
+
return /*#__PURE__*/React.createElement(template.brick, {
|
|
11460
11459
|
ref: innerRefCallback
|
|
11461
11460
|
}, ...slotsToChildren(template.slots).map((item, index) => {
|
|
11462
|
-
return /*#__PURE__*/
|
|
11461
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11463
11462
|
key: index,
|
|
11464
11463
|
useBrick: item,
|
|
11465
11464
|
data: data
|
|
11466
11465
|
});
|
|
11467
11466
|
}));
|
|
11468
11467
|
} else {
|
|
11469
|
-
return /*#__PURE__*/
|
|
11468
|
+
return /*#__PURE__*/React.createElement(useBrick.brick, {
|
|
11470
11469
|
ref: innerRefCallback
|
|
11471
11470
|
}, ...slotsToChildren(useBrick.slots).map((item, index) => {
|
|
11472
11471
|
if (useBrick[symbolForTplContextId] && !item[symbolForTplContextId]) {
|
|
11473
11472
|
item[symbolForTplContextId] = useBrick[symbolForTplContextId];
|
|
11474
11473
|
}
|
|
11475
11474
|
|
|
11476
|
-
return /*#__PURE__*/
|
|
11475
|
+
return /*#__PURE__*/React.createElement(SingleBrickAsComponent, {
|
|
11477
11476
|
key: index,
|
|
11478
11477
|
useBrick: item,
|
|
11479
11478
|
data: data
|
|
@@ -11533,7 +11532,7 @@ var locale$4 = {
|
|
|
11533
11532
|
var TimePicker$1 = locale$4;
|
|
11534
11533
|
|
|
11535
11534
|
var locale$3 = {
|
|
11536
|
-
lang: _extends
|
|
11535
|
+
lang: _extends({
|
|
11537
11536
|
placeholder: '请选择日期',
|
|
11538
11537
|
yearPlaceholder: '请选择年份',
|
|
11539
11538
|
quarterPlaceholder: '请选择季度',
|
|
@@ -11544,7 +11543,7 @@ var locale$3 = {
|
|
|
11544
11543
|
rangeMonthPlaceholder: ['开始月份', '结束月份'],
|
|
11545
11544
|
rangeWeekPlaceholder: ['开始周', '结束周']
|
|
11546
11545
|
}, locale$5),
|
|
11547
|
-
timePickerLocale: _extends
|
|
11546
|
+
timePickerLocale: _extends({}, TimePicker$1)
|
|
11548
11547
|
}; // should add whitespace between char in Button
|
|
11549
11548
|
|
|
11550
11549
|
locale$3.lang.ok = '确 定'; // All settings at:
|
|
@@ -11730,7 +11729,7 @@ var locale$1 = {
|
|
|
11730
11729
|
var TimePicker = locale$1;
|
|
11731
11730
|
|
|
11732
11731
|
var locale = {
|
|
11733
|
-
lang: _extends
|
|
11732
|
+
lang: _extends({
|
|
11734
11733
|
placeholder: 'Select date',
|
|
11735
11734
|
yearPlaceholder: 'Select year',
|
|
11736
11735
|
quarterPlaceholder: 'Select quarter',
|
|
@@ -11741,7 +11740,7 @@ var locale = {
|
|
|
11741
11740
|
rangeMonthPlaceholder: ['Start month', 'End month'],
|
|
11742
11741
|
rangeWeekPlaceholder: ['Start week', 'End week']
|
|
11743
11742
|
}, locale$2),
|
|
11744
|
-
timePickerLocale: _extends
|
|
11743
|
+
timePickerLocale: _extends({}, TimePicker)
|
|
11745
11744
|
}; // All settings at:
|
|
11746
11745
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
11747
11746
|
|
|
@@ -11874,288 +11873,276 @@ var localeValues = {
|
|
|
11874
11873
|
};
|
|
11875
11874
|
var defaultLocale = localeValues;
|
|
11876
11875
|
|
|
11877
|
-
function
|
|
11878
|
-
|
|
11879
|
-
var _ref$1 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
11880
|
-
x1: "5.718%",
|
|
11881
|
-
y1: "4.311%",
|
|
11882
|
-
x2: "83.05%",
|
|
11883
|
-
y2: "88.915%",
|
|
11884
|
-
id: "empty-image_svg__a"
|
|
11885
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
11886
|
-
stopColor: "#D4D8E4",
|
|
11887
|
-
offset: "0%"
|
|
11888
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
11889
|
-
stopColor: "#A9B0C4",
|
|
11890
|
-
offset: "100%"
|
|
11891
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
11892
|
-
x1: "0%",
|
|
11893
|
-
y1: "11.08%",
|
|
11894
|
-
x2: "80.548%",
|
|
11895
|
-
y2: "107.704%",
|
|
11896
|
-
id: "empty-image_svg__d"
|
|
11897
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
11898
|
-
stopColor: "#C2C7DA",
|
|
11899
|
-
offset: "0%"
|
|
11900
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
11901
|
-
stopColor: "#8F96B3",
|
|
11902
|
-
offset: "100%"
|
|
11903
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
11904
|
-
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",
|
|
11905
|
-
id: "empty-image_svg__c"
|
|
11906
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
11907
|
-
x: "-57.2%",
|
|
11908
|
-
y: "-47.7%",
|
|
11909
|
-
width: "233.4%",
|
|
11910
|
-
height: "233.4%",
|
|
11911
|
-
filterUnits: "objectBoundingBox",
|
|
11912
|
-
id: "empty-image_svg__b"
|
|
11913
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
11914
|
-
dx: 1,
|
|
11915
|
-
dy: 2,
|
|
11916
|
-
in: "SourceAlpha",
|
|
11917
|
-
result: "shadowOffsetOuter1"
|
|
11918
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
11919
|
-
stdDeviation: 2,
|
|
11920
|
-
in: "shadowOffsetOuter1",
|
|
11921
|
-
result: "shadowBlurOuter1"
|
|
11922
|
-
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
11923
|
-
in: "shadowBlurOuter1",
|
|
11924
|
-
in2: "SourceAlpha",
|
|
11925
|
-
operator: "out",
|
|
11926
|
-
result: "shadowBlurOuter1"
|
|
11927
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
11928
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
|
|
11929
|
-
in: "shadowBlurOuter1"
|
|
11930
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
11931
|
-
x1: "41.823%",
|
|
11932
|
-
y1: "24.795%",
|
|
11933
|
-
x2: "8.813%",
|
|
11934
|
-
y2: "86.427%",
|
|
11935
|
-
id: "empty-image_svg__g"
|
|
11936
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
11937
|
-
stopColor: "#CCD0DD",
|
|
11938
|
-
offset: "0%"
|
|
11939
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
11940
|
-
stopColor: "#9DA3B9",
|
|
11941
|
-
offset: "100%"
|
|
11942
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
11943
|
-
d: "M37.311 12.459a4 4 0 0 1 4 4v3.419l-7.418-7.419h3.418z",
|
|
11944
|
-
id: "empty-image_svg__f"
|
|
11945
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
11946
|
-
x: "-94.4%",
|
|
11947
|
-
y: "-121.3%",
|
|
11948
|
-
width: "288.7%",
|
|
11949
|
-
height: "288.7%",
|
|
11950
|
-
filterUnits: "objectBoundingBox",
|
|
11951
|
-
id: "empty-image_svg__e"
|
|
11952
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
11953
|
-
dy: -2,
|
|
11954
|
-
in: "SourceAlpha",
|
|
11955
|
-
result: "shadowOffsetOuter1"
|
|
11956
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
11957
|
-
stdDeviation: 2,
|
|
11958
|
-
in: "shadowOffsetOuter1",
|
|
11959
|
-
result: "shadowBlurOuter1"
|
|
11960
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
11961
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
|
|
11962
|
-
in: "shadowBlurOuter1"
|
|
11963
|
-
})));
|
|
11964
|
-
|
|
11965
|
-
var _ref2$1 = /*#__PURE__*/React.createElement("g", {
|
|
11966
|
-
fill: "none",
|
|
11967
|
-
fillRule: "evenodd"
|
|
11968
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
11969
|
-
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",
|
|
11970
|
-
fill: "#A6AAC3"
|
|
11971
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11972
|
-
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",
|
|
11973
|
-
fill: "url(#empty-image_svg__a)"
|
|
11974
|
-
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("use", {
|
|
11975
|
-
fill: "#000",
|
|
11976
|
-
filter: "url(#empty-image_svg__b)",
|
|
11977
|
-
xlinkHref: "#empty-image_svg__c"
|
|
11978
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11979
|
-
stroke: "#FFF",
|
|
11980
|
-
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",
|
|
11981
|
-
strokeLinejoin: "square",
|
|
11982
|
-
fill: "url(#empty-image_svg__d)"
|
|
11983
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
11984
|
-
transform: "rotate(180 37.602 16.168)"
|
|
11985
|
-
}, /*#__PURE__*/React.createElement("use", {
|
|
11986
|
-
fill: "#000",
|
|
11987
|
-
filter: "url(#empty-image_svg__e)",
|
|
11988
|
-
xlinkHref: "#empty-image_svg__f"
|
|
11989
|
-
}), /*#__PURE__*/React.createElement("use", {
|
|
11990
|
-
fill: "url(#empty-image_svg__g)",
|
|
11991
|
-
xlinkHref: "#empty-image_svg__f"
|
|
11992
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
11993
|
-
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",
|
|
11994
|
-
fill: "#D6D8E4",
|
|
11995
|
-
opacity: 0.3
|
|
11996
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
11997
|
-
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",
|
|
11998
|
-
fill: "#D6D8E4"
|
|
11999
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12000
|
-
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",
|
|
12001
|
-
fill: "#D6D8E4",
|
|
12002
|
-
opacity: 0.5
|
|
12003
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12004
|
-
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",
|
|
12005
|
-
fill: "#D6D8E4",
|
|
12006
|
-
opacity: 0.8
|
|
12007
|
-
}));
|
|
11876
|
+
function EmptySvg(props) {
|
|
11877
|
+
var prefix = uniqueId();
|
|
12008
11878
|
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
height: 53,
|
|
12013
|
-
viewBox: "0 0 56 53",
|
|
12014
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12015
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
12016
|
-
}, props), _ref$1, _ref2$1);
|
|
12017
|
-
}
|
|
12018
|
-
|
|
12019
|
-
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); }
|
|
12020
|
-
|
|
12021
|
-
var _ref = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
12022
|
-
x1: "5.718%",
|
|
12023
|
-
y1: "4.311%",
|
|
12024
|
-
x2: "83.05%",
|
|
12025
|
-
y2: "88.915%",
|
|
12026
|
-
id: "big-empty-image_svg__a"
|
|
12027
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
12028
|
-
stopColor: "#D4D8E4",
|
|
12029
|
-
offset: "0%"
|
|
12030
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
12031
|
-
stopColor: "#A9B0C4",
|
|
12032
|
-
offset: "100%"
|
|
12033
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
12034
|
-
x1: "0%",
|
|
12035
|
-
y1: "11.08%",
|
|
12036
|
-
x2: "80.548%",
|
|
12037
|
-
y2: "107.704%",
|
|
12038
|
-
id: "big-empty-image_svg__d"
|
|
12039
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
12040
|
-
stopColor: "#C2C7DA",
|
|
12041
|
-
offset: "0%"
|
|
12042
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
12043
|
-
stopColor: "#8F96B3",
|
|
12044
|
-
offset: "100%"
|
|
12045
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
12046
|
-
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",
|
|
12047
|
-
id: "big-empty-image_svg__c"
|
|
12048
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
12049
|
-
x: "-37.5%",
|
|
12050
|
-
y: "-31.3%",
|
|
12051
|
-
width: "187.5%",
|
|
12052
|
-
height: "187.5%",
|
|
12053
|
-
filterUnits: "objectBoundingBox",
|
|
12054
|
-
id: "big-empty-image_svg__b"
|
|
12055
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
12056
|
-
dx: 1,
|
|
12057
|
-
dy: 2,
|
|
12058
|
-
in: "SourceAlpha",
|
|
12059
|
-
result: "shadowOffsetOuter1"
|
|
12060
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
12061
|
-
stdDeviation: 2,
|
|
12062
|
-
in: "shadowOffsetOuter1",
|
|
12063
|
-
result: "shadowBlurOuter1"
|
|
12064
|
-
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
12065
|
-
in: "shadowBlurOuter1",
|
|
12066
|
-
in2: "SourceAlpha",
|
|
12067
|
-
operator: "out",
|
|
12068
|
-
result: "shadowBlurOuter1"
|
|
12069
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
12070
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.22 0",
|
|
12071
|
-
in: "shadowBlurOuter1"
|
|
12072
|
-
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
12073
|
-
x1: "41.823%",
|
|
12074
|
-
y1: "24.795%",
|
|
12075
|
-
x2: "8.813%",
|
|
12076
|
-
y2: "86.427%",
|
|
12077
|
-
id: "big-empty-image_svg__g"
|
|
12078
|
-
}, /*#__PURE__*/React.createElement("stop", {
|
|
12079
|
-
stopColor: "#CCD0DD",
|
|
12080
|
-
offset: "0%"
|
|
12081
|
-
}), /*#__PURE__*/React.createElement("stop", {
|
|
12082
|
-
stopColor: "#9DA3B9",
|
|
12083
|
-
offset: "100%"
|
|
12084
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
12085
|
-
d: "M59 19a4 4 0 0 1 4 4v7.314L51.686 19H59z",
|
|
12086
|
-
id: "big-empty-image_svg__f"
|
|
12087
|
-
}), /*#__PURE__*/React.createElement("filter", {
|
|
12088
|
-
x: "-61.9%",
|
|
12089
|
-
y: "-79.5%",
|
|
12090
|
-
width: "223.7%",
|
|
12091
|
-
height: "223.7%",
|
|
12092
|
-
filterUnits: "objectBoundingBox",
|
|
12093
|
-
id: "big-empty-image_svg__e"
|
|
12094
|
-
}, /*#__PURE__*/React.createElement("feOffset", {
|
|
12095
|
-
dy: -2,
|
|
12096
|
-
in: "SourceAlpha",
|
|
12097
|
-
result: "shadowOffsetOuter1"
|
|
12098
|
-
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
12099
|
-
stdDeviation: 2,
|
|
12100
|
-
in: "shadowOffsetOuter1",
|
|
12101
|
-
result: "shadowBlurOuter1"
|
|
12102
|
-
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
12103
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0",
|
|
12104
|
-
in: "shadowBlurOuter1"
|
|
12105
|
-
})));
|
|
12106
|
-
|
|
12107
|
-
var _ref2 = /*#__PURE__*/React.createElement("g", {
|
|
12108
|
-
fill: "none",
|
|
12109
|
-
fillRule: "evenodd"
|
|
12110
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
12111
|
-
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",
|
|
12112
|
-
fill: "#A6AAC3"
|
|
12113
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12114
|
-
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",
|
|
12115
|
-
fill: "url(#big-empty-image_svg__a)"
|
|
12116
|
-
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("use", {
|
|
12117
|
-
fill: "#000",
|
|
12118
|
-
filter: "url(#big-empty-image_svg__b)",
|
|
12119
|
-
xlinkHref: "#big-empty-image_svg__c"
|
|
12120
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12121
|
-
stroke: "#FFF",
|
|
12122
|
-
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",
|
|
12123
|
-
strokeLinejoin: "square",
|
|
12124
|
-
fill: "url(#big-empty-image_svg__d)"
|
|
12125
|
-
})), /*#__PURE__*/React.createElement("g", {
|
|
12126
|
-
transform: "rotate(180 57.343 24.657)"
|
|
12127
|
-
}, /*#__PURE__*/React.createElement("use", {
|
|
12128
|
-
fill: "#000",
|
|
12129
|
-
filter: "url(#big-empty-image_svg__e)",
|
|
12130
|
-
xlinkHref: "#big-empty-image_svg__f"
|
|
12131
|
-
}), /*#__PURE__*/React.createElement("use", {
|
|
12132
|
-
fill: "url(#big-empty-image_svg__g)",
|
|
12133
|
-
xlinkHref: "#big-empty-image_svg__f"
|
|
12134
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
12135
|
-
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",
|
|
12136
|
-
fill: "#D6D8E4",
|
|
12137
|
-
opacity: 0.3
|
|
12138
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12139
|
-
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",
|
|
12140
|
-
fill: "#D6D8E4"
|
|
12141
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12142
|
-
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",
|
|
12143
|
-
fill: "#D6D8E4",
|
|
12144
|
-
opacity: 0.5
|
|
12145
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
12146
|
-
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",
|
|
12147
|
-
fill: "#D6D8E4",
|
|
12148
|
-
opacity: 0.8
|
|
12149
|
-
}));
|
|
11879
|
+
var createNewId = id => {
|
|
11880
|
+
return prefix + id;
|
|
11881
|
+
};
|
|
12150
11882
|
|
|
12151
|
-
|
|
12152
|
-
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
11883
|
+
return props.isBig ? /*#__PURE__*/React.createElement("svg", {
|
|
12153
11884
|
width: 86,
|
|
12154
11885
|
height: 80,
|
|
12155
|
-
viewBox: "0 0 86 80",
|
|
12156
11886
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12157
11887
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
12158
|
-
},
|
|
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
|
+
})));
|
|
12159
12146
|
}
|
|
12160
12147
|
|
|
12161
12148
|
/**
|
|
@@ -12165,14 +12152,13 @@ function EasyopsEmpty(props) {
|
|
|
12165
12152
|
var _props$imageStyle;
|
|
12166
12153
|
|
|
12167
12154
|
var illustration = useMemo(() => props.illustration && getIllustration(props.illustration), [props.illustration]);
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
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
|
+
});
|
|
12172
12158
|
var imageStyle = (_props$imageStyle = props.imageStyle) !== null && _props$imageStyle !== void 0 ? _props$imageStyle : props.useBigEmptyImage ? undefined : {
|
|
12173
12159
|
height: "60px"
|
|
12174
12160
|
};
|
|
12175
|
-
return /*#__PURE__*/
|
|
12161
|
+
return /*#__PURE__*/React.createElement(Empty, {
|
|
12176
12162
|
image: image,
|
|
12177
12163
|
imageStyle: imageStyle,
|
|
12178
12164
|
description: props.description,
|
|
@@ -12186,7 +12172,7 @@ function EasyopsEmpty(props) {
|
|
|
12186
12172
|
*/
|
|
12187
12173
|
|
|
12188
12174
|
function renderEasyopsEmpty() {
|
|
12189
|
-
return /*#__PURE__*/
|
|
12175
|
+
return /*#__PURE__*/React.createElement(EasyopsEmpty, null);
|
|
12190
12176
|
}
|
|
12191
12177
|
|
|
12192
12178
|
var FeatureFlagsContext = /*#__PURE__*/createContext(null);
|
|
@@ -12256,7 +12242,7 @@ function useFeatureFlags(name) {
|
|
|
12256
12242
|
|
|
12257
12243
|
function DisplayByFeatureFlags(props) {
|
|
12258
12244
|
var featureFlags = useFeatureFlags(props.name);
|
|
12259
|
-
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;
|
|
12260
12246
|
}
|
|
12261
12247
|
|
|
12262
12248
|
/**
|
|
@@ -12266,15 +12252,15 @@ function BrickWrapper(props) {
|
|
|
12266
12252
|
var locale = i18next.language && i18next.language.split("-")[0] === "en" ? defaultLocale : zhCN; // istanbul ignore next
|
|
12267
12253
|
|
|
12268
12254
|
var featureFlags = process.env.NODE_ENV === "test" ? {} : getRuntime().getFeatureFlags();
|
|
12269
|
-
return /*#__PURE__*/
|
|
12255
|
+
return /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(FeatureFlagsProvider, {
|
|
12270
12256
|
value: featureFlags
|
|
12271
|
-
}, /*#__PURE__*/
|
|
12257
|
+
}, /*#__PURE__*/React.createElement(ConfigProvider, {
|
|
12272
12258
|
locale: locale,
|
|
12273
12259
|
autoInsertSpaceInButton: false,
|
|
12274
12260
|
renderEmpty: () => {
|
|
12275
12261
|
var _props$wrapperConfig;
|
|
12276
12262
|
|
|
12277
|
-
return /*#__PURE__*/
|
|
12263
|
+
return /*#__PURE__*/React.createElement(EasyopsEmpty, (_props$wrapperConfig = props.wrapperConfig) === null || _props$wrapperConfig === void 0 ? void 0 : _props$wrapperConfig.empty);
|
|
12278
12264
|
}
|
|
12279
12265
|
}, props.children)));
|
|
12280
12266
|
}
|