@sheinx/base 3.8.0-beta.21 → 3.8.0-beta.22
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/cjs/config/index.d.ts +23 -0
- package/cjs/config/index.d.ts.map +1 -1
- package/cjs/config/index.js +7 -0
- package/cjs/empty/empty.d.ts.map +1 -1
- package/cjs/empty/empty.js +10 -5
- package/cjs/empty/empty.type.d.ts +4 -4
- package/cjs/icons/config.d.ts +3 -0
- package/cjs/icons/config.d.ts.map +1 -1
- package/cjs/icons/config.js +3 -0
- package/cjs/icons/icons.d.ts +1 -0
- package/cjs/icons/icons.d.ts.map +1 -1
- package/cjs/icons/icons.js +150 -1
- package/esm/config/index.d.ts +23 -0
- package/esm/config/index.d.ts.map +1 -1
- package/esm/config/index.js +8 -0
- package/esm/empty/empty.d.ts.map +1 -1
- package/esm/empty/empty.js +10 -5
- package/esm/empty/empty.type.d.ts +4 -4
- package/esm/icons/config.d.ts +3 -0
- package/esm/icons/config.d.ts.map +1 -1
- package/esm/icons/config.js +3 -0
- package/esm/icons/icons.d.ts +1 -0
- package/esm/icons/icons.d.ts.map +1 -1
- package/esm/icons/icons.js +150 -1
- package/package.json +2 -2
- package/cjs/empty/empty-image.d.ts +0 -2
- package/cjs/empty/empty-image.d.ts.map +0 -1
- package/cjs/empty/empty-image.js +0 -157
- package/esm/empty/empty-image.d.ts +0 -2
- package/esm/empty/empty-image.d.ts.map +0 -1
- package/esm/empty/empty-image.js +0 -152
package/cjs/config/index.d.ts
CHANGED
|
@@ -11,6 +11,23 @@ export type SpinConfig = SpinNameType | {
|
|
|
11
11
|
type TooltipConfig = {
|
|
12
12
|
persistent?: boolean;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* @en Global configuration for Empty component
|
|
16
|
+
* @cn Empty组件的全局配置
|
|
17
|
+
* @version 3.8.0
|
|
18
|
+
*/
|
|
19
|
+
type EmptyConfig = {
|
|
20
|
+
/**
|
|
21
|
+
* @en Global default icon for Empty component
|
|
22
|
+
* @cn Empty组件的全局默认图标
|
|
23
|
+
*/
|
|
24
|
+
icon?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* @en Global default description for Empty component
|
|
27
|
+
* @cn Empty组件的全局默认描述
|
|
28
|
+
*/
|
|
29
|
+
description?: React.ReactNode | boolean;
|
|
30
|
+
};
|
|
14
31
|
export interface ConfigOption {
|
|
15
32
|
prefix: string;
|
|
16
33
|
locale: LanType;
|
|
@@ -18,6 +35,12 @@ export interface ConfigOption {
|
|
|
18
35
|
trim?: boolean;
|
|
19
36
|
spin?: SpinConfig;
|
|
20
37
|
tooltip?: TooltipConfig;
|
|
38
|
+
/**
|
|
39
|
+
* @en Global configuration for Empty component
|
|
40
|
+
* @cn Empty组件的全局配置
|
|
41
|
+
* @version 3.8.0
|
|
42
|
+
*/
|
|
43
|
+
empty?: EmptyConfig;
|
|
21
44
|
direction: Direction;
|
|
22
45
|
popupContainer?: HTMLElement | null | (() => HTMLElement | null);
|
|
23
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,KAAK,aAAa,GAAG;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAClE;AAGD,eAAO,IAAI,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,KAAK,aAAa,GAAG;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AAED;;;;GAIG;AACH,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,OAAO,CAAC;CACzC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAClE;AAGD,eAAO,IAAI,MAAM,EAAE,YAUlB,CAAC;AAQF,wBAAgB,mBAAmB,uBAWlC;AAED,eAAO,MAAM,SAAS,oBAErB,CAAC;AAEF,eAAO,MAAM,SAAS,WAAY,QAAQ,YAAY,CAAC,SAQtD,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
package/cjs/config/index.js
CHANGED
|
@@ -31,6 +31,12 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
31
31
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
32
32
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
33
33
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
34
|
+
/**
|
|
35
|
+
* @en Global configuration for Empty component
|
|
36
|
+
* @cn Empty组件的全局配置
|
|
37
|
+
* @version 3.8.0
|
|
38
|
+
*/
|
|
39
|
+
|
|
34
40
|
var processEnv = typeof process !== 'undefined' ? (_process = process) === null || _process === void 0 ? void 0 : _process.env : {};
|
|
35
41
|
var config = exports.config = {
|
|
36
42
|
prefix: 'soui',
|
|
@@ -39,6 +45,7 @@ var config = exports.config = {
|
|
|
39
45
|
trim: undefined,
|
|
40
46
|
spin: 'ring',
|
|
41
47
|
tooltip: undefined,
|
|
48
|
+
empty: undefined,
|
|
42
49
|
direction: 'ltr',
|
|
43
50
|
popupContainer: null
|
|
44
51
|
};
|
package/cjs/empty/empty.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,QAAA,MAAM,KAAK,UAAW,UAAU,
|
|
1
|
+
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,QAAA,MAAM,KAAK,UAAW,UAAU,4CAiD/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/cjs/empty/empty.js
CHANGED
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var
|
|
10
|
+
var _icons = _interopRequireDefault(require("../icons"));
|
|
11
11
|
var _config = require("../config");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
var _excluded = ["jssStyle", "style", "className", "imgSrc", "icon", "description"];
|
|
@@ -29,7 +29,8 @@ var Empty = function Empty(props) {
|
|
|
29
29
|
description = props.description,
|
|
30
30
|
rest = _objectWithoutProperties(props, _excluded);
|
|
31
31
|
var _useConfig = (0, _config.useConfig)(),
|
|
32
|
-
locale = _useConfig.locale
|
|
32
|
+
locale = _useConfig.locale,
|
|
33
|
+
empty = _useConfig.empty;
|
|
33
34
|
var styles = jssStyle === null || jssStyle === void 0 || (_jssStyle$empty = jssStyle.empty) === null || _jssStyle$empty === void 0 ? void 0 : _jssStyle$empty.call(jssStyle);
|
|
34
35
|
var rootClass = (0, _classnames.default)(styles === null || styles === void 0 ? void 0 : styles.rootClass, styles === null || styles === void 0 ? void 0 : styles.empty, className);
|
|
35
36
|
var wrapperClass = (0, _classnames.default)(styles === null || styles === void 0 ? void 0 : styles.wrapper);
|
|
@@ -52,16 +53,20 @@ var Empty = function Empty(props) {
|
|
|
52
53
|
}
|
|
53
54
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
54
55
|
className: styles === null || styles === void 0 ? void 0 : styles.image,
|
|
55
|
-
children: icon || (0
|
|
56
|
+
children: icon || (empty === null || empty === void 0 ? void 0 : empty.icon) || _icons.default.empty.NoData
|
|
56
57
|
});
|
|
57
58
|
};
|
|
58
59
|
var renderDescription = function renderDescription() {
|
|
59
|
-
|
|
60
|
+
// 确定最终使用的description值,优先级:props.description > 全局配置description > 默认locale文本
|
|
61
|
+
var finalDescription = description !== undefined ? description : (empty === null || empty === void 0 ? void 0 : empty.description) !== undefined ? empty === null || empty === void 0 ? void 0 : empty.description : (0, _config.getLocale)(locale, 'noData');
|
|
62
|
+
|
|
63
|
+
// 如果最终确定的description值为false,则不显示描述
|
|
64
|
+
if (finalDescription === false) {
|
|
60
65
|
return null;
|
|
61
66
|
}
|
|
62
67
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
63
68
|
className: styles === null || styles === void 0 ? void 0 : styles.description,
|
|
64
|
-
children:
|
|
69
|
+
children: finalDescription
|
|
65
70
|
});
|
|
66
71
|
};
|
|
67
72
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({
|
|
@@ -17,13 +17,13 @@ export interface EmptyProps extends Pick<CommonType, 'className' | 'style'>, Rea
|
|
|
17
17
|
*/
|
|
18
18
|
imgSrc?: string;
|
|
19
19
|
/**
|
|
20
|
-
* @en Empty state icon
|
|
21
|
-
* @cn
|
|
20
|
+
* @en Empty state icon. Enhanced in v3.8.0 to support global configuration via setConfig
|
|
21
|
+
* @cn 空状态图标。3.8.0版本增强,支持通过setConfig进行全局配置
|
|
22
22
|
*/
|
|
23
23
|
icon?: React.ReactNode;
|
|
24
24
|
/**
|
|
25
|
-
* @en Description, if false, the description will not be displayed
|
|
26
|
-
* @cn
|
|
25
|
+
* @en Description, if false, the description will not be displayed. Enhanced in v3.8.0 to support global configuration via setConfig
|
|
26
|
+
* @cn 描述,若为false则不显示描述。3.8.0版本增强,支持通过setConfig进行全局配置
|
|
27
27
|
*/
|
|
28
28
|
description?: React.ReactNode | boolean;
|
|
29
29
|
}
|
package/cjs/icons/config.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JX,CAAC;AAEF,KAAK,WAAW,CAAC,CAAC,IAAI;KACnB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/B,CAAC;AACF,KAAK,cAAc,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,CAAC;AAGjD,eAAO,MAAM,QAAQ,cAAe,cAAc,SAYjD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/cjs/icons/config.js
CHANGED
package/cjs/icons/icons.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const Icons: {
|
|
|
39
39
|
StarFill: import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
Link: import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
Loading: import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
EmptyNoData: import("react/jsx-runtime").JSX.Element;
|
|
42
43
|
};
|
|
43
44
|
export default Icons;
|
|
44
45
|
//# sourceMappingURL=icons.d.ts.map
|
package/cjs/icons/icons.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":"AAyaA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/cjs/icons/icons.js
CHANGED
|
@@ -224,6 +224,154 @@ var link = ['M8.83231 20.7322C7.27024 22.2943 4.73759 22.2943 3.17546 20.7322C1.
|
|
|
224
224
|
var filter = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
225
225
|
d: "M19.9653 2.10633C20.5175 2.10633 20.9652 2.55404 20.9652 3.10633C20.9652 3.65861 20.5175 4.10633 19.9653 4.10633H19.6834L14.9666 11.3709V19.8936C14.9666 20.9981 14.0712 21.8936 12.9666 21.8936H10.9666C9.86204 21.8936 8.96662 20.9981 8.96662 19.8936V11.3709L4.35408 4.10632L4.03906 4.10632C3.48677 4.10632 3.03906 3.65861 3.03906 3.10632C3.03906 2.55404 3.48677 2.10632 4.03906 2.10632L19.9653 2.10633ZM6.75776 4.10632L10.8119 10.5206C10.913 10.6804 10.9666 10.8657 10.9666 11.0548V18.8312C10.9666 19.3835 11.4143 19.8312 11.9666 19.8312C12.5189 19.8312 12.9666 19.3835 12.9666 18.8312V11.0609C12.9666 10.868 13.0224 10.6792 13.1273 10.5172L17.2797 4.10633L6.75776 4.10632Z"
|
|
226
226
|
});
|
|
227
|
+
var emptyNoData = /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
228
|
+
width: "100",
|
|
229
|
+
height: "75",
|
|
230
|
+
viewBox: "0 0 100 75",
|
|
231
|
+
fill: "none",
|
|
232
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
233
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
234
|
+
clipPath: "url(#clip0_4044_10434)",
|
|
235
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
236
|
+
d: "M100 75C100 63.3607 77.6144 53.9257 50 53.9257C22.3857 53.9257 0 63.3607 0 75H100Z",
|
|
237
|
+
fill: "url(#paint0_linear_4044_10434)"
|
|
238
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
239
|
+
opacity: "0.3",
|
|
240
|
+
filter: "url(#filter0_f_4044_10434)",
|
|
241
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
242
|
+
d: "M50.3087 70.0413C69.5706 70.0413 85.185 68.2375 85.185 66.0125C85.185 63.7875 69.5706 61.9835 50.3087 61.9835C31.0469 61.9835 15.4321 63.7875 15.4321 66.0125C15.4321 68.2375 31.0469 70.0413 50.3087 70.0413Z",
|
|
243
|
+
fill: "#979EB0"
|
|
244
|
+
})
|
|
245
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
246
|
+
d: "M22.6082 23.6395C22.782 23.2127 23.1957 22.9338 23.6548 22.9338H75.7168C76.1718 22.9338 76.5818 23.2071 76.7593 23.6275L82.9493 38.3482H16.6184L22.6082 23.6395Z",
|
|
247
|
+
fill: "#CCCFD7"
|
|
248
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
249
|
+
d: "M75.9819 23.9172V37.2382H81.2882L75.9819 23.9172Z",
|
|
250
|
+
fill: "#999DA8"
|
|
251
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
252
|
+
d: "M18.877 37.0161H81.0701C82.6314 37.0161 83.897 38.2871 83.897 39.8547V61.7805C83.897 64.2888 81.872 66.3225 79.3739 66.3225H20.5732C18.0752 66.3225 16.05 64.2888 16.05 61.7805V39.8547C16.05 38.2871 17.3157 37.0161 18.877 37.0161Z",
|
|
253
|
+
fill: "#E8EBF0"
|
|
254
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
255
|
+
filter: "url(#filter1_d_4044_10434)",
|
|
256
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
257
|
+
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
258
|
+
fill: "black"
|
|
259
|
+
})
|
|
260
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
261
|
+
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
262
|
+
fill: "#F4F5F8"
|
|
263
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
264
|
+
d: "M23.4412 23.8855V37.0162H18.3242L23.4412 23.8855Z",
|
|
265
|
+
fill: "#999DA8"
|
|
266
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
267
|
+
d: "M60.3971 50.7178H39.5502C38.0849 50.7178 36.897 51.9106 36.897 53.382C36.897 54.8534 38.0849 56.0462 39.5502 56.0462H60.3971C61.8625 56.0462 63.0501 54.8534 63.0501 53.382C63.0501 51.9106 61.8625 50.7178 60.3971 50.7178Z",
|
|
268
|
+
fill: "#666C7C"
|
|
269
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
270
|
+
d: "M60.3971 49.9565H39.5502C38.0849 49.9565 36.897 51.1494 36.897 52.6208C36.897 54.0922 38.0849 55.285 39.5502 55.285H60.3971C61.8625 55.285 63.0501 54.0922 63.0501 52.6208C63.0501 51.1494 61.8625 49.9565 60.3971 49.9565Z",
|
|
271
|
+
fill: "#999DA8"
|
|
272
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
273
|
+
fillRule: "evenodd",
|
|
274
|
+
clipRule: "evenodd",
|
|
275
|
+
d: "M46.041 3.14062C42.6319 3.14062 39.8682 5.91575 39.8682 9.33899V11.4859C39.8682 14.9092 42.6319 17.6842 46.041 17.6842H54.8002C58.2093 17.6842 60.9731 14.9092 60.9731 11.4859V9.33899C60.9731 5.91575 58.2093 3.14062 54.8002 3.14062H46.041ZM47.3169 21.0086L49.386 17.6842H45.2478L47.3169 21.0086Z",
|
|
276
|
+
fill: "#E8EBF0"
|
|
277
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
278
|
+
d: "M45.6834 8.54285L47.4941 11.6922H43.8726L45.6834 8.54285Z",
|
|
279
|
+
fill: "#999DA8"
|
|
280
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
281
|
+
d: "M52.304 8.54285H49.1677V11.6921H52.304V8.54285Z",
|
|
282
|
+
fill: "#999DA8"
|
|
283
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
284
|
+
d: "M55.6802 11.6919C56.5463 11.6919 57.2484 10.9869 57.2484 10.1172C57.2484 9.2476 56.5463 8.5426 55.6802 8.5426C54.8142 8.5426 54.1121 9.2476 54.1121 10.1172C54.1121 10.9869 54.8142 11.6919 55.6802 11.6919Z",
|
|
285
|
+
fill: "#999DA8"
|
|
286
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
287
|
+
d: "M67.7256 5.8507C66.5081 6.69694 63.5181 6.751 62.3457 7.09731L63.5875 5.64293C64.415 4.6041 64.6631 4.10547 65.6562 2.11091C66.6493 0.116362 69.3118 -0.105256 70.415 0.0332553C69.7943 1.27985 70.415 3.98081 67.7256 5.8507Z",
|
|
288
|
+
fill: "#E8EBF0"
|
|
289
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
290
|
+
d: "M46.257 34.8904C45.3444 35.1307 43.5421 34.5087 42.7649 34.4595L43.824 33.8603C44.5451 33.4193 44.802 33.175 45.8298 32.198C46.8574 31.221 48.4998 31.6709 49.1305 31.9953C48.4883 32.606 48.2737 34.3593 46.257 34.8904Z",
|
|
291
|
+
fill: "#E8EBF0"
|
|
292
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
293
|
+
d: "M37.262 32.7723C37.13 32.5427 37.2462 32.2485 37.4982 32.1696C39.7646 31.4593 49.3015 28.2658 55.6537 22.9713C62.0347 17.653 67.6725 11.576 69.1256 9.9791C69.3069 9.77991 69.6263 9.81841 69.76 10.0521C69.845 10.1989 69.8294 10.3803 69.7169 10.507C68.6225 11.7406 62.8044 18.1953 56.0675 23.6911C48.7371 29.6708 39.4667 32.4671 37.7105 32.9602C37.5349 33.0096 37.3532 32.9308 37.262 32.7723Z",
|
|
294
|
+
fill: "#E8EBF0"
|
|
295
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
296
|
+
d: "M26.0283 27.1925C25.977 26.9505 26.1514 26.7154 26.396 26.6852C27.3291 26.5701 29.6586 26.1971 33.309 25.0577C37.011 23.9021 40.6908 21.2137 41.9723 20.2199C42.1914 20.05 42.5167 20.1675 42.5743 20.4394C42.6023 20.572 42.5585 20.7071 42.454 20.793C41.598 21.497 37.5626 24.6932 33.4811 25.8705C29.5763 26.9969 27.2876 27.3842 26.4592 27.5011C26.2561 27.5298 26.0709 27.394 26.0283 27.1925Z",
|
|
297
|
+
fill: "#E8EBF0"
|
|
298
|
+
})]
|
|
299
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
|
|
300
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("filter", {
|
|
301
|
+
id: "filter0_f_4044_10434",
|
|
302
|
+
x: "9.43213",
|
|
303
|
+
y: "55.9835",
|
|
304
|
+
width: "81.7529",
|
|
305
|
+
height: "20.0577",
|
|
306
|
+
filterUnits: "userSpaceOnUse",
|
|
307
|
+
colorInterpolationFilters: "sRGB",
|
|
308
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("feFlood", {
|
|
309
|
+
floodOpacity: "0",
|
|
310
|
+
result: "BackgroundImageFix"
|
|
311
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
|
|
312
|
+
mode: "normal",
|
|
313
|
+
in: "SourceGraphic",
|
|
314
|
+
in2: "BackgroundImageFix",
|
|
315
|
+
result: "shape"
|
|
316
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feGaussianBlur", {
|
|
317
|
+
stdDeviation: "3",
|
|
318
|
+
result: "effect1_foregroundBlur_4044_10434"
|
|
319
|
+
})]
|
|
320
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("filter", {
|
|
321
|
+
id: "filter1_d_4044_10434",
|
|
322
|
+
x: "16.0493",
|
|
323
|
+
y: "37.776",
|
|
324
|
+
width: "67.8474",
|
|
325
|
+
height: "30.1659",
|
|
326
|
+
filterUnits: "userSpaceOnUse",
|
|
327
|
+
colorInterpolationFilters: "sRGB",
|
|
328
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("feFlood", {
|
|
329
|
+
floodOpacity: "0",
|
|
330
|
+
result: "BackgroundImageFix"
|
|
331
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
|
|
332
|
+
in: "SourceAlpha",
|
|
333
|
+
type: "matrix",
|
|
334
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
335
|
+
result: "hardAlpha"
|
|
336
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feOffset", {
|
|
337
|
+
dy: "2"
|
|
338
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
|
|
339
|
+
type: "matrix",
|
|
340
|
+
values: "0 0 0 0 0.803922 0 0 0 0 0.811765 0 0 0 0 0.843137 0 0 0 1 0"
|
|
341
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
|
|
342
|
+
mode: "normal",
|
|
343
|
+
in2: "BackgroundImageFix",
|
|
344
|
+
result: "effect1_dropShadow_4044_10434"
|
|
345
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
|
|
346
|
+
mode: "normal",
|
|
347
|
+
in: "SourceGraphic",
|
|
348
|
+
in2: "effect1_dropShadow_4044_10434",
|
|
349
|
+
result: "shape"
|
|
350
|
+
})]
|
|
351
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
|
|
352
|
+
id: "paint0_linear_4044_10434",
|
|
353
|
+
x1: "50",
|
|
354
|
+
y1: "53.9257",
|
|
355
|
+
x2: "50",
|
|
356
|
+
y2: "75",
|
|
357
|
+
gradientUnits: "userSpaceOnUse",
|
|
358
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
|
|
359
|
+
stopColor: "#E9EBEF"
|
|
360
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
|
|
361
|
+
offset: "1",
|
|
362
|
+
stopColor: "#E9EBEF",
|
|
363
|
+
stopOpacity: "0"
|
|
364
|
+
})]
|
|
365
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
|
|
366
|
+
id: "clip0_4044_10434",
|
|
367
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
368
|
+
width: "100",
|
|
369
|
+
height: "75",
|
|
370
|
+
fill: "white"
|
|
371
|
+
})
|
|
372
|
+
})]
|
|
373
|
+
})]
|
|
374
|
+
});
|
|
227
375
|
var Icons = {
|
|
228
376
|
SortAsc: SortAsc,
|
|
229
377
|
SortDesc: SortDesc,
|
|
@@ -264,6 +412,7 @@ var Icons = {
|
|
|
264
412
|
RecoverCircle: icon(recoverCircle),
|
|
265
413
|
StarFill: icon(pcStarFill),
|
|
266
414
|
Link: icon(link),
|
|
267
|
-
Loading: icon(loading)
|
|
415
|
+
Loading: icon(loading),
|
|
416
|
+
EmptyNoData: emptyNoData
|
|
268
417
|
};
|
|
269
418
|
var _default = exports.default = Icons;
|
package/esm/config/index.d.ts
CHANGED
|
@@ -11,6 +11,23 @@ export type SpinConfig = SpinNameType | {
|
|
|
11
11
|
type TooltipConfig = {
|
|
12
12
|
persistent?: boolean;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* @en Global configuration for Empty component
|
|
16
|
+
* @cn Empty组件的全局配置
|
|
17
|
+
* @version 3.8.0
|
|
18
|
+
*/
|
|
19
|
+
type EmptyConfig = {
|
|
20
|
+
/**
|
|
21
|
+
* @en Global default icon for Empty component
|
|
22
|
+
* @cn Empty组件的全局默认图标
|
|
23
|
+
*/
|
|
24
|
+
icon?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* @en Global default description for Empty component
|
|
27
|
+
* @cn Empty组件的全局默认描述
|
|
28
|
+
*/
|
|
29
|
+
description?: React.ReactNode | boolean;
|
|
30
|
+
};
|
|
14
31
|
export interface ConfigOption {
|
|
15
32
|
prefix: string;
|
|
16
33
|
locale: LanType;
|
|
@@ -18,6 +35,12 @@ export interface ConfigOption {
|
|
|
18
35
|
trim?: boolean;
|
|
19
36
|
spin?: SpinConfig;
|
|
20
37
|
tooltip?: TooltipConfig;
|
|
38
|
+
/**
|
|
39
|
+
* @en Global configuration for Empty component
|
|
40
|
+
* @cn Empty组件的全局配置
|
|
41
|
+
* @version 3.8.0
|
|
42
|
+
*/
|
|
43
|
+
empty?: EmptyConfig;
|
|
21
44
|
direction: Direction;
|
|
22
45
|
popupContainer?: HTMLElement | null | (() => HTMLElement | null);
|
|
23
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,KAAK,aAAa,GAAG;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAClE;AAGD,eAAO,IAAI,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,KAAK,aAAa,GAAG;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AAED;;;;GAIG;AACH,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,OAAO,CAAC;CACzC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAClE;AAGD,eAAO,IAAI,MAAM,EAAE,YAUlB,CAAC;AAQF,wBAAgB,mBAAmB,uBAWlC;AAED,eAAO,MAAM,SAAS,oBAErB,CAAC;AAEF,eAAO,MAAM,SAAS,WAAY,QAAQ,YAAY,CAAC,SAQtD,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
package/esm/config/index.js
CHANGED
|
@@ -9,6 +9,13 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
9
9
|
import { util } from '@sheinx/hooks';
|
|
10
10
|
import { create } from '@shined/reactive';
|
|
11
11
|
import { getSnapshot } from '@shined/reactive/vanilla';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @en Global configuration for Empty component
|
|
15
|
+
* @cn Empty组件的全局配置
|
|
16
|
+
* @version 3.8.0
|
|
17
|
+
*/
|
|
18
|
+
|
|
12
19
|
var processEnv = typeof process !== 'undefined' ? (_process = process) === null || _process === void 0 ? void 0 : _process.env : {};
|
|
13
20
|
export var config = {
|
|
14
21
|
prefix: 'soui',
|
|
@@ -17,6 +24,7 @@ export var config = {
|
|
|
17
24
|
trim: undefined,
|
|
18
25
|
spin: 'ring',
|
|
19
26
|
tooltip: undefined,
|
|
27
|
+
empty: undefined,
|
|
20
28
|
direction: 'ltr',
|
|
21
29
|
popupContainer: null
|
|
22
30
|
};
|
package/esm/empty/empty.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,QAAA,MAAM,KAAK,UAAW,UAAU,
|
|
1
|
+
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,QAAA,MAAM,KAAK,UAAW,UAAU,4CAiD/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/esm/empty/empty.js
CHANGED
|
@@ -9,7 +9,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
9
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import classNames from 'classnames';
|
|
12
|
-
import
|
|
12
|
+
import Icons from "../icons";
|
|
13
13
|
import { getLocale, useConfig } from "../config";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -23,7 +23,8 @@ var Empty = function Empty(props) {
|
|
|
23
23
|
description = props.description,
|
|
24
24
|
rest = _objectWithoutProperties(props, _excluded);
|
|
25
25
|
var _useConfig = useConfig(),
|
|
26
|
-
locale = _useConfig.locale
|
|
26
|
+
locale = _useConfig.locale,
|
|
27
|
+
empty = _useConfig.empty;
|
|
27
28
|
var styles = jssStyle === null || jssStyle === void 0 || (_jssStyle$empty = jssStyle.empty) === null || _jssStyle$empty === void 0 ? void 0 : _jssStyle$empty.call(jssStyle);
|
|
28
29
|
var rootClass = classNames(styles === null || styles === void 0 ? void 0 : styles.rootClass, styles === null || styles === void 0 ? void 0 : styles.empty, className);
|
|
29
30
|
var wrapperClass = classNames(styles === null || styles === void 0 ? void 0 : styles.wrapper);
|
|
@@ -46,16 +47,20 @@ var Empty = function Empty(props) {
|
|
|
46
47
|
}
|
|
47
48
|
return /*#__PURE__*/_jsx("div", {
|
|
48
49
|
className: styles === null || styles === void 0 ? void 0 : styles.image,
|
|
49
|
-
children: icon ||
|
|
50
|
+
children: icon || (empty === null || empty === void 0 ? void 0 : empty.icon) || Icons.empty.NoData
|
|
50
51
|
});
|
|
51
52
|
};
|
|
52
53
|
var renderDescription = function renderDescription() {
|
|
53
|
-
|
|
54
|
+
// 确定最终使用的description值,优先级:props.description > 全局配置description > 默认locale文本
|
|
55
|
+
var finalDescription = description !== undefined ? description : (empty === null || empty === void 0 ? void 0 : empty.description) !== undefined ? empty === null || empty === void 0 ? void 0 : empty.description : getLocale(locale, 'noData');
|
|
56
|
+
|
|
57
|
+
// 如果最终确定的description值为false,则不显示描述
|
|
58
|
+
if (finalDescription === false) {
|
|
54
59
|
return null;
|
|
55
60
|
}
|
|
56
61
|
return /*#__PURE__*/_jsx("div", {
|
|
57
62
|
className: styles === null || styles === void 0 ? void 0 : styles.description,
|
|
58
|
-
children:
|
|
63
|
+
children: finalDescription
|
|
59
64
|
});
|
|
60
65
|
};
|
|
61
66
|
return /*#__PURE__*/_jsx("div", _objectSpread(_objectSpread({
|
|
@@ -17,13 +17,13 @@ export interface EmptyProps extends Pick<CommonType, 'className' | 'style'>, Rea
|
|
|
17
17
|
*/
|
|
18
18
|
imgSrc?: string;
|
|
19
19
|
/**
|
|
20
|
-
* @en Empty state icon
|
|
21
|
-
* @cn
|
|
20
|
+
* @en Empty state icon. Enhanced in v3.8.0 to support global configuration via setConfig
|
|
21
|
+
* @cn 空状态图标。3.8.0版本增强,支持通过setConfig进行全局配置
|
|
22
22
|
*/
|
|
23
23
|
icon?: React.ReactNode;
|
|
24
24
|
/**
|
|
25
|
-
* @en Description, if false, the description will not be displayed
|
|
26
|
-
* @cn
|
|
25
|
+
* @en Description, if false, the description will not be displayed. Enhanced in v3.8.0 to support global configuration via setConfig
|
|
26
|
+
* @cn 描述,若为false则不显示描述。3.8.0版本增强,支持通过setConfig进行全局配置
|
|
27
27
|
*/
|
|
28
28
|
description?: React.ReactNode | boolean;
|
|
29
29
|
}
|
package/esm/icons/config.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JX,CAAC;AAEF,KAAK,WAAW,CAAC,CAAC,IAAI;KACnB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/B,CAAC;AACF,KAAK,cAAc,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,CAAC;AAGjD,eAAO,MAAM,QAAQ,cAAe,cAAc,SAYjD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/esm/icons/config.js
CHANGED
package/esm/icons/icons.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const Icons: {
|
|
|
39
39
|
StarFill: import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
Link: import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
Loading: import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
EmptyNoData: import("react/jsx-runtime").JSX.Element;
|
|
42
43
|
};
|
|
43
44
|
export default Icons;
|
|
44
45
|
//# sourceMappingURL=icons.d.ts.map
|
package/esm/icons/icons.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":"AAyaA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/esm/icons/icons.js
CHANGED
|
@@ -218,6 +218,154 @@ var link = ['M8.83231 20.7322C7.27024 22.2943 4.73759 22.2943 3.17546 20.7322C1.
|
|
|
218
218
|
var filter = /*#__PURE__*/_jsx("path", {
|
|
219
219
|
d: "M19.9653 2.10633C20.5175 2.10633 20.9652 2.55404 20.9652 3.10633C20.9652 3.65861 20.5175 4.10633 19.9653 4.10633H19.6834L14.9666 11.3709V19.8936C14.9666 20.9981 14.0712 21.8936 12.9666 21.8936H10.9666C9.86204 21.8936 8.96662 20.9981 8.96662 19.8936V11.3709L4.35408 4.10632L4.03906 4.10632C3.48677 4.10632 3.03906 3.65861 3.03906 3.10632C3.03906 2.55404 3.48677 2.10632 4.03906 2.10632L19.9653 2.10633ZM6.75776 4.10632L10.8119 10.5206C10.913 10.6804 10.9666 10.8657 10.9666 11.0548V18.8312C10.9666 19.3835 11.4143 19.8312 11.9666 19.8312C12.5189 19.8312 12.9666 19.3835 12.9666 18.8312V11.0609C12.9666 10.868 13.0224 10.6792 13.1273 10.5172L17.2797 4.10633L6.75776 4.10632Z"
|
|
220
220
|
});
|
|
221
|
+
var emptyNoData = /*#__PURE__*/_jsxs("svg", {
|
|
222
|
+
width: "100",
|
|
223
|
+
height: "75",
|
|
224
|
+
viewBox: "0 0 100 75",
|
|
225
|
+
fill: "none",
|
|
226
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
227
|
+
children: [/*#__PURE__*/_jsxs("g", {
|
|
228
|
+
clipPath: "url(#clip0_4044_10434)",
|
|
229
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
230
|
+
d: "M100 75C100 63.3607 77.6144 53.9257 50 53.9257C22.3857 53.9257 0 63.3607 0 75H100Z",
|
|
231
|
+
fill: "url(#paint0_linear_4044_10434)"
|
|
232
|
+
}), /*#__PURE__*/_jsx("g", {
|
|
233
|
+
opacity: "0.3",
|
|
234
|
+
filter: "url(#filter0_f_4044_10434)",
|
|
235
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
236
|
+
d: "M50.3087 70.0413C69.5706 70.0413 85.185 68.2375 85.185 66.0125C85.185 63.7875 69.5706 61.9835 50.3087 61.9835C31.0469 61.9835 15.4321 63.7875 15.4321 66.0125C15.4321 68.2375 31.0469 70.0413 50.3087 70.0413Z",
|
|
237
|
+
fill: "#979EB0"
|
|
238
|
+
})
|
|
239
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
240
|
+
d: "M22.6082 23.6395C22.782 23.2127 23.1957 22.9338 23.6548 22.9338H75.7168C76.1718 22.9338 76.5818 23.2071 76.7593 23.6275L82.9493 38.3482H16.6184L22.6082 23.6395Z",
|
|
241
|
+
fill: "#CCCFD7"
|
|
242
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
243
|
+
d: "M75.9819 23.9172V37.2382H81.2882L75.9819 23.9172Z",
|
|
244
|
+
fill: "#999DA8"
|
|
245
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
246
|
+
d: "M18.877 37.0161H81.0701C82.6314 37.0161 83.897 38.2871 83.897 39.8547V61.7805C83.897 64.2888 81.872 66.3225 79.3739 66.3225H20.5732C18.0752 66.3225 16.05 64.2888 16.05 61.7805V39.8547C16.05 38.2871 17.3157 37.0161 18.877 37.0161Z",
|
|
247
|
+
fill: "#E8EBF0"
|
|
248
|
+
}), /*#__PURE__*/_jsx("g", {
|
|
249
|
+
filter: "url(#filter1_d_4044_10434)",
|
|
250
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
251
|
+
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
252
|
+
fill: "black"
|
|
253
|
+
})
|
|
254
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
255
|
+
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
256
|
+
fill: "#F4F5F8"
|
|
257
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
258
|
+
d: "M23.4412 23.8855V37.0162H18.3242L23.4412 23.8855Z",
|
|
259
|
+
fill: "#999DA8"
|
|
260
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
261
|
+
d: "M60.3971 50.7178H39.5502C38.0849 50.7178 36.897 51.9106 36.897 53.382C36.897 54.8534 38.0849 56.0462 39.5502 56.0462H60.3971C61.8625 56.0462 63.0501 54.8534 63.0501 53.382C63.0501 51.9106 61.8625 50.7178 60.3971 50.7178Z",
|
|
262
|
+
fill: "#666C7C"
|
|
263
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
264
|
+
d: "M60.3971 49.9565H39.5502C38.0849 49.9565 36.897 51.1494 36.897 52.6208C36.897 54.0922 38.0849 55.285 39.5502 55.285H60.3971C61.8625 55.285 63.0501 54.0922 63.0501 52.6208C63.0501 51.1494 61.8625 49.9565 60.3971 49.9565Z",
|
|
265
|
+
fill: "#999DA8"
|
|
266
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
267
|
+
fillRule: "evenodd",
|
|
268
|
+
clipRule: "evenodd",
|
|
269
|
+
d: "M46.041 3.14062C42.6319 3.14062 39.8682 5.91575 39.8682 9.33899V11.4859C39.8682 14.9092 42.6319 17.6842 46.041 17.6842H54.8002C58.2093 17.6842 60.9731 14.9092 60.9731 11.4859V9.33899C60.9731 5.91575 58.2093 3.14062 54.8002 3.14062H46.041ZM47.3169 21.0086L49.386 17.6842H45.2478L47.3169 21.0086Z",
|
|
270
|
+
fill: "#E8EBF0"
|
|
271
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
272
|
+
d: "M45.6834 8.54285L47.4941 11.6922H43.8726L45.6834 8.54285Z",
|
|
273
|
+
fill: "#999DA8"
|
|
274
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
275
|
+
d: "M52.304 8.54285H49.1677V11.6921H52.304V8.54285Z",
|
|
276
|
+
fill: "#999DA8"
|
|
277
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
278
|
+
d: "M55.6802 11.6919C56.5463 11.6919 57.2484 10.9869 57.2484 10.1172C57.2484 9.2476 56.5463 8.5426 55.6802 8.5426C54.8142 8.5426 54.1121 9.2476 54.1121 10.1172C54.1121 10.9869 54.8142 11.6919 55.6802 11.6919Z",
|
|
279
|
+
fill: "#999DA8"
|
|
280
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
281
|
+
d: "M67.7256 5.8507C66.5081 6.69694 63.5181 6.751 62.3457 7.09731L63.5875 5.64293C64.415 4.6041 64.6631 4.10547 65.6562 2.11091C66.6493 0.116362 69.3118 -0.105256 70.415 0.0332553C69.7943 1.27985 70.415 3.98081 67.7256 5.8507Z",
|
|
282
|
+
fill: "#E8EBF0"
|
|
283
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
284
|
+
d: "M46.257 34.8904C45.3444 35.1307 43.5421 34.5087 42.7649 34.4595L43.824 33.8603C44.5451 33.4193 44.802 33.175 45.8298 32.198C46.8574 31.221 48.4998 31.6709 49.1305 31.9953C48.4883 32.606 48.2737 34.3593 46.257 34.8904Z",
|
|
285
|
+
fill: "#E8EBF0"
|
|
286
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
287
|
+
d: "M37.262 32.7723C37.13 32.5427 37.2462 32.2485 37.4982 32.1696C39.7646 31.4593 49.3015 28.2658 55.6537 22.9713C62.0347 17.653 67.6725 11.576 69.1256 9.9791C69.3069 9.77991 69.6263 9.81841 69.76 10.0521C69.845 10.1989 69.8294 10.3803 69.7169 10.507C68.6225 11.7406 62.8044 18.1953 56.0675 23.6911C48.7371 29.6708 39.4667 32.4671 37.7105 32.9602C37.5349 33.0096 37.3532 32.9308 37.262 32.7723Z",
|
|
288
|
+
fill: "#E8EBF0"
|
|
289
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
290
|
+
d: "M26.0283 27.1925C25.977 26.9505 26.1514 26.7154 26.396 26.6852C27.3291 26.5701 29.6586 26.1971 33.309 25.0577C37.011 23.9021 40.6908 21.2137 41.9723 20.2199C42.1914 20.05 42.5167 20.1675 42.5743 20.4394C42.6023 20.572 42.5585 20.7071 42.454 20.793C41.598 21.497 37.5626 24.6932 33.4811 25.8705C29.5763 26.9969 27.2876 27.3842 26.4592 27.5011C26.2561 27.5298 26.0709 27.394 26.0283 27.1925Z",
|
|
291
|
+
fill: "#E8EBF0"
|
|
292
|
+
})]
|
|
293
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
|
294
|
+
children: [/*#__PURE__*/_jsxs("filter", {
|
|
295
|
+
id: "filter0_f_4044_10434",
|
|
296
|
+
x: "9.43213",
|
|
297
|
+
y: "55.9835",
|
|
298
|
+
width: "81.7529",
|
|
299
|
+
height: "20.0577",
|
|
300
|
+
filterUnits: "userSpaceOnUse",
|
|
301
|
+
colorInterpolationFilters: "sRGB",
|
|
302
|
+
children: [/*#__PURE__*/_jsx("feFlood", {
|
|
303
|
+
floodOpacity: "0",
|
|
304
|
+
result: "BackgroundImageFix"
|
|
305
|
+
}), /*#__PURE__*/_jsx("feBlend", {
|
|
306
|
+
mode: "normal",
|
|
307
|
+
in: "SourceGraphic",
|
|
308
|
+
in2: "BackgroundImageFix",
|
|
309
|
+
result: "shape"
|
|
310
|
+
}), /*#__PURE__*/_jsx("feGaussianBlur", {
|
|
311
|
+
stdDeviation: "3",
|
|
312
|
+
result: "effect1_foregroundBlur_4044_10434"
|
|
313
|
+
})]
|
|
314
|
+
}), /*#__PURE__*/_jsxs("filter", {
|
|
315
|
+
id: "filter1_d_4044_10434",
|
|
316
|
+
x: "16.0493",
|
|
317
|
+
y: "37.776",
|
|
318
|
+
width: "67.8474",
|
|
319
|
+
height: "30.1659",
|
|
320
|
+
filterUnits: "userSpaceOnUse",
|
|
321
|
+
colorInterpolationFilters: "sRGB",
|
|
322
|
+
children: [/*#__PURE__*/_jsx("feFlood", {
|
|
323
|
+
floodOpacity: "0",
|
|
324
|
+
result: "BackgroundImageFix"
|
|
325
|
+
}), /*#__PURE__*/_jsx("feColorMatrix", {
|
|
326
|
+
in: "SourceAlpha",
|
|
327
|
+
type: "matrix",
|
|
328
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
329
|
+
result: "hardAlpha"
|
|
330
|
+
}), /*#__PURE__*/_jsx("feOffset", {
|
|
331
|
+
dy: "2"
|
|
332
|
+
}), /*#__PURE__*/_jsx("feColorMatrix", {
|
|
333
|
+
type: "matrix",
|
|
334
|
+
values: "0 0 0 0 0.803922 0 0 0 0 0.811765 0 0 0 0 0.843137 0 0 0 1 0"
|
|
335
|
+
}), /*#__PURE__*/_jsx("feBlend", {
|
|
336
|
+
mode: "normal",
|
|
337
|
+
in2: "BackgroundImageFix",
|
|
338
|
+
result: "effect1_dropShadow_4044_10434"
|
|
339
|
+
}), /*#__PURE__*/_jsx("feBlend", {
|
|
340
|
+
mode: "normal",
|
|
341
|
+
in: "SourceGraphic",
|
|
342
|
+
in2: "effect1_dropShadow_4044_10434",
|
|
343
|
+
result: "shape"
|
|
344
|
+
})]
|
|
345
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
346
|
+
id: "paint0_linear_4044_10434",
|
|
347
|
+
x1: "50",
|
|
348
|
+
y1: "53.9257",
|
|
349
|
+
x2: "50",
|
|
350
|
+
y2: "75",
|
|
351
|
+
gradientUnits: "userSpaceOnUse",
|
|
352
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
353
|
+
stopColor: "#E9EBEF"
|
|
354
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
355
|
+
offset: "1",
|
|
356
|
+
stopColor: "#E9EBEF",
|
|
357
|
+
stopOpacity: "0"
|
|
358
|
+
})]
|
|
359
|
+
}), /*#__PURE__*/_jsx("clipPath", {
|
|
360
|
+
id: "clip0_4044_10434",
|
|
361
|
+
children: /*#__PURE__*/_jsx("rect", {
|
|
362
|
+
width: "100",
|
|
363
|
+
height: "75",
|
|
364
|
+
fill: "white"
|
|
365
|
+
})
|
|
366
|
+
})]
|
|
367
|
+
})]
|
|
368
|
+
});
|
|
221
369
|
var Icons = {
|
|
222
370
|
SortAsc: SortAsc,
|
|
223
371
|
SortDesc: SortDesc,
|
|
@@ -258,6 +406,7 @@ var Icons = {
|
|
|
258
406
|
RecoverCircle: icon(recoverCircle),
|
|
259
407
|
StarFill: icon(pcStarFill),
|
|
260
408
|
Link: icon(link),
|
|
261
|
-
Loading: icon(loading)
|
|
409
|
+
Loading: icon(loading),
|
|
410
|
+
EmptyNoData: emptyNoData
|
|
262
411
|
};
|
|
263
412
|
export default Icons;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.8.0-beta.
|
|
3
|
+
"version": "3.8.0-beta.22",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.8.0-beta.
|
|
13
|
+
"@sheinx/hooks": "3.8.0-beta.22",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty-image.d.ts","sourceRoot":"","sources":["empty-image.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,+CAyIxB,CAAC"}
|
package/cjs/empty/empty-image.js
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.renderNoData = void 0;
|
|
7
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
8
|
-
var renderNoData = exports.renderNoData = function renderNoData() {
|
|
9
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
10
|
-
width: "100",
|
|
11
|
-
height: "75",
|
|
12
|
-
viewBox: "0 0 100 75",
|
|
13
|
-
fill: "none",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
16
|
-
clipPath: "url(#clip0_4044_10434)",
|
|
17
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
|
-
d: "M100 75C100 63.3607 77.6144 53.9257 50 53.9257C22.3857 53.9257 0 63.3607 0 75H100Z",
|
|
19
|
-
fill: "url(#paint0_linear_4044_10434)"
|
|
20
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
21
|
-
opacity: "0.3",
|
|
22
|
-
filter: "url(#filter0_f_4044_10434)",
|
|
23
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
24
|
-
d: "M50.3087 70.0413C69.5706 70.0413 85.185 68.2375 85.185 66.0125C85.185 63.7875 69.5706 61.9835 50.3087 61.9835C31.0469 61.9835 15.4321 63.7875 15.4321 66.0125C15.4321 68.2375 31.0469 70.0413 50.3087 70.0413Z",
|
|
25
|
-
fill: "#979EB0"
|
|
26
|
-
})
|
|
27
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
28
|
-
d: "M22.6082 23.6395C22.782 23.2127 23.1957 22.9338 23.6548 22.9338H75.7168C76.1718 22.9338 76.5818 23.2071 76.7593 23.6275L82.9493 38.3482H16.6184L22.6082 23.6395Z",
|
|
29
|
-
fill: "#CCCFD7"
|
|
30
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
31
|
-
d: "M75.9819 23.9172V37.2382H81.2882L75.9819 23.9172Z",
|
|
32
|
-
fill: "#999DA8"
|
|
33
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
34
|
-
d: "M18.877 37.0161H81.0701C82.6314 37.0161 83.897 38.2871 83.897 39.8547V61.7805C83.897 64.2888 81.872 66.3225 79.3739 66.3225H20.5732C18.0752 66.3225 16.05 64.2888 16.05 61.7805V39.8547C16.05 38.2871 17.3157 37.0161 18.877 37.0161Z",
|
|
35
|
-
fill: "#E8EBF0"
|
|
36
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
37
|
-
filter: "url(#filter1_d_4044_10434)",
|
|
38
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
39
|
-
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
40
|
-
fill: "black"
|
|
41
|
-
})
|
|
42
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
43
|
-
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
44
|
-
fill: "#F4F5F8"
|
|
45
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
46
|
-
d: "M23.4412 23.8855V37.0162H18.3242L23.4412 23.8855Z",
|
|
47
|
-
fill: "#999DA8"
|
|
48
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
49
|
-
d: "M60.3971 50.7178H39.5502C38.0849 50.7178 36.897 51.9106 36.897 53.382C36.897 54.8534 38.0849 56.0462 39.5502 56.0462H60.3971C61.8625 56.0462 63.0501 54.8534 63.0501 53.382C63.0501 51.9106 61.8625 50.7178 60.3971 50.7178Z",
|
|
50
|
-
fill: "#666C7C"
|
|
51
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
52
|
-
d: "M60.3971 49.9565H39.5502C38.0849 49.9565 36.897 51.1494 36.897 52.6208C36.897 54.0922 38.0849 55.285 39.5502 55.285H60.3971C61.8625 55.285 63.0501 54.0922 63.0501 52.6208C63.0501 51.1494 61.8625 49.9565 60.3971 49.9565Z",
|
|
53
|
-
fill: "#999DA8"
|
|
54
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
55
|
-
fillRule: "evenodd",
|
|
56
|
-
clipRule: "evenodd",
|
|
57
|
-
d: "M46.041 3.14062C42.6319 3.14062 39.8682 5.91575 39.8682 9.33899V11.4859C39.8682 14.9092 42.6319 17.6842 46.041 17.6842H54.8002C58.2093 17.6842 60.9731 14.9092 60.9731 11.4859V9.33899C60.9731 5.91575 58.2093 3.14062 54.8002 3.14062H46.041ZM47.3169 21.0086L49.386 17.6842H45.2478L47.3169 21.0086Z",
|
|
58
|
-
fill: "#E8EBF0"
|
|
59
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
60
|
-
d: "M45.6834 8.54285L47.4941 11.6922H43.8726L45.6834 8.54285Z",
|
|
61
|
-
fill: "#999DA8"
|
|
62
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
63
|
-
d: "M52.304 8.54285H49.1677V11.6921H52.304V8.54285Z",
|
|
64
|
-
fill: "#999DA8"
|
|
65
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
66
|
-
d: "M55.6802 11.6919C56.5463 11.6919 57.2484 10.9869 57.2484 10.1172C57.2484 9.2476 56.5463 8.5426 55.6802 8.5426C54.8142 8.5426 54.1121 9.2476 54.1121 10.1172C54.1121 10.9869 54.8142 11.6919 55.6802 11.6919Z",
|
|
67
|
-
fill: "#999DA8"
|
|
68
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
69
|
-
d: "M67.7256 5.8507C66.5081 6.69694 63.5181 6.751 62.3457 7.09731L63.5875 5.64293C64.415 4.6041 64.6631 4.10547 65.6562 2.11091C66.6493 0.116362 69.3118 -0.105256 70.415 0.0332553C69.7943 1.27985 70.415 3.98081 67.7256 5.8507Z",
|
|
70
|
-
fill: "#E8EBF0"
|
|
71
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
72
|
-
d: "M46.257 34.8904C45.3444 35.1307 43.5421 34.5087 42.7649 34.4595L43.824 33.8603C44.5451 33.4193 44.802 33.175 45.8298 32.198C46.8574 31.221 48.4998 31.6709 49.1305 31.9953C48.4883 32.606 48.2737 34.3593 46.257 34.8904Z",
|
|
73
|
-
fill: "#E8EBF0"
|
|
74
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
75
|
-
d: "M37.262 32.7723C37.13 32.5427 37.2462 32.2485 37.4982 32.1696C39.7646 31.4593 49.3015 28.2658 55.6537 22.9713C62.0347 17.653 67.6725 11.576 69.1256 9.9791C69.3069 9.77991 69.6263 9.81841 69.76 10.0521C69.845 10.1989 69.8294 10.3803 69.7169 10.507C68.6225 11.7406 62.8044 18.1953 56.0675 23.6911C48.7371 29.6708 39.4667 32.4671 37.7105 32.9602C37.5349 33.0096 37.3532 32.9308 37.262 32.7723Z",
|
|
76
|
-
fill: "#E8EBF0"
|
|
77
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
78
|
-
d: "M26.0283 27.1925C25.977 26.9505 26.1514 26.7154 26.396 26.6852C27.3291 26.5701 29.6586 26.1971 33.309 25.0577C37.011 23.9021 40.6908 21.2137 41.9723 20.2199C42.1914 20.05 42.5167 20.1675 42.5743 20.4394C42.6023 20.572 42.5585 20.7071 42.454 20.793C41.598 21.497 37.5626 24.6932 33.4811 25.8705C29.5763 26.9969 27.2876 27.3842 26.4592 27.5011C26.2561 27.5298 26.0709 27.394 26.0283 27.1925Z",
|
|
79
|
-
fill: "#E8EBF0"
|
|
80
|
-
})]
|
|
81
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
|
|
82
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("filter", {
|
|
83
|
-
id: "filter0_f_4044_10434",
|
|
84
|
-
x: "9.43213",
|
|
85
|
-
y: "55.9835",
|
|
86
|
-
width: "81.7529",
|
|
87
|
-
height: "20.0577",
|
|
88
|
-
filterUnits: "userSpaceOnUse",
|
|
89
|
-
colorInterpolationFilters: "sRGB",
|
|
90
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("feFlood", {
|
|
91
|
-
floodOpacity: "0",
|
|
92
|
-
result: "BackgroundImageFix"
|
|
93
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
|
|
94
|
-
mode: "normal",
|
|
95
|
-
in: "SourceGraphic",
|
|
96
|
-
in2: "BackgroundImageFix",
|
|
97
|
-
result: "shape"
|
|
98
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feGaussianBlur", {
|
|
99
|
-
stdDeviation: "3",
|
|
100
|
-
result: "effect1_foregroundBlur_4044_10434"
|
|
101
|
-
})]
|
|
102
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("filter", {
|
|
103
|
-
id: "filter1_d_4044_10434",
|
|
104
|
-
x: "16.0493",
|
|
105
|
-
y: "37.776",
|
|
106
|
-
width: "67.8474",
|
|
107
|
-
height: "30.1659",
|
|
108
|
-
filterUnits: "userSpaceOnUse",
|
|
109
|
-
colorInterpolationFilters: "sRGB",
|
|
110
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("feFlood", {
|
|
111
|
-
floodOpacity: "0",
|
|
112
|
-
result: "BackgroundImageFix"
|
|
113
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
|
|
114
|
-
in: "SourceAlpha",
|
|
115
|
-
type: "matrix",
|
|
116
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
117
|
-
result: "hardAlpha"
|
|
118
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feOffset", {
|
|
119
|
-
dy: "2"
|
|
120
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
|
|
121
|
-
type: "matrix",
|
|
122
|
-
values: "0 0 0 0 0.803922 0 0 0 0 0.811765 0 0 0 0 0.843137 0 0 0 1 0"
|
|
123
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
|
|
124
|
-
mode: "normal",
|
|
125
|
-
in2: "BackgroundImageFix",
|
|
126
|
-
result: "effect1_dropShadow_4044_10434"
|
|
127
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
|
|
128
|
-
mode: "normal",
|
|
129
|
-
in: "SourceGraphic",
|
|
130
|
-
in2: "effect1_dropShadow_4044_10434",
|
|
131
|
-
result: "shape"
|
|
132
|
-
})]
|
|
133
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
|
|
134
|
-
id: "paint0_linear_4044_10434",
|
|
135
|
-
x1: "50",
|
|
136
|
-
y1: "53.9257",
|
|
137
|
-
x2: "50",
|
|
138
|
-
y2: "75",
|
|
139
|
-
gradientUnits: "userSpaceOnUse",
|
|
140
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
|
|
141
|
-
stopColor: "#E9EBEF"
|
|
142
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
|
|
143
|
-
offset: "1",
|
|
144
|
-
stopColor: "#E9EBEF",
|
|
145
|
-
stopOpacity: "0"
|
|
146
|
-
})]
|
|
147
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
|
|
148
|
-
id: "clip0_4044_10434",
|
|
149
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
150
|
-
width: "100",
|
|
151
|
-
height: "75",
|
|
152
|
-
fill: "white"
|
|
153
|
-
})
|
|
154
|
-
})]
|
|
155
|
-
})]
|
|
156
|
-
});
|
|
157
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty-image.d.ts","sourceRoot":"","sources":["empty-image.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,+CAyIxB,CAAC"}
|
package/esm/empty/empty-image.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
export var renderNoData = function renderNoData() {
|
|
4
|
-
return /*#__PURE__*/_jsxs("svg", {
|
|
5
|
-
width: "100",
|
|
6
|
-
height: "75",
|
|
7
|
-
viewBox: "0 0 100 75",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
children: [/*#__PURE__*/_jsxs("g", {
|
|
11
|
-
clipPath: "url(#clip0_4044_10434)",
|
|
12
|
-
children: [/*#__PURE__*/_jsx("path", {
|
|
13
|
-
d: "M100 75C100 63.3607 77.6144 53.9257 50 53.9257C22.3857 53.9257 0 63.3607 0 75H100Z",
|
|
14
|
-
fill: "url(#paint0_linear_4044_10434)"
|
|
15
|
-
}), /*#__PURE__*/_jsx("g", {
|
|
16
|
-
opacity: "0.3",
|
|
17
|
-
filter: "url(#filter0_f_4044_10434)",
|
|
18
|
-
children: /*#__PURE__*/_jsx("path", {
|
|
19
|
-
d: "M50.3087 70.0413C69.5706 70.0413 85.185 68.2375 85.185 66.0125C85.185 63.7875 69.5706 61.9835 50.3087 61.9835C31.0469 61.9835 15.4321 63.7875 15.4321 66.0125C15.4321 68.2375 31.0469 70.0413 50.3087 70.0413Z",
|
|
20
|
-
fill: "#979EB0"
|
|
21
|
-
})
|
|
22
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
23
|
-
d: "M22.6082 23.6395C22.782 23.2127 23.1957 22.9338 23.6548 22.9338H75.7168C76.1718 22.9338 76.5818 23.2071 76.7593 23.6275L82.9493 38.3482H16.6184L22.6082 23.6395Z",
|
|
24
|
-
fill: "#CCCFD7"
|
|
25
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
26
|
-
d: "M75.9819 23.9172V37.2382H81.2882L75.9819 23.9172Z",
|
|
27
|
-
fill: "#999DA8"
|
|
28
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
29
|
-
d: "M18.877 37.0161H81.0701C82.6314 37.0161 83.897 38.2871 83.897 39.8547V61.7805C83.897 64.2888 81.872 66.3225 79.3739 66.3225H20.5732C18.0752 66.3225 16.05 64.2888 16.05 61.7805V39.8547C16.05 38.2871 17.3157 37.0161 18.877 37.0161Z",
|
|
30
|
-
fill: "#E8EBF0"
|
|
31
|
-
}), /*#__PURE__*/_jsx("g", {
|
|
32
|
-
filter: "url(#filter1_d_4044_10434)",
|
|
33
|
-
children: /*#__PURE__*/_jsx("path", {
|
|
34
|
-
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
35
|
-
fill: "black"
|
|
36
|
-
})
|
|
37
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
-
d: "M16.0493 42.3192C16.0493 39.8108 16.0019 37.715 20.573 37.7774H79.3737C83.5612 37.7774 83.8968 39.8108 83.8968 42.3192V61.3998C83.8968 63.9087 81.8718 65.9419 79.3737 65.9419H20.573C18.075 65.9419 16.0493 63.9087 16.0493 61.3998V42.3192Z",
|
|
39
|
-
fill: "#F4F5F8"
|
|
40
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
41
|
-
d: "M23.4412 23.8855V37.0162H18.3242L23.4412 23.8855Z",
|
|
42
|
-
fill: "#999DA8"
|
|
43
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
44
|
-
d: "M60.3971 50.7178H39.5502C38.0849 50.7178 36.897 51.9106 36.897 53.382C36.897 54.8534 38.0849 56.0462 39.5502 56.0462H60.3971C61.8625 56.0462 63.0501 54.8534 63.0501 53.382C63.0501 51.9106 61.8625 50.7178 60.3971 50.7178Z",
|
|
45
|
-
fill: "#666C7C"
|
|
46
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
47
|
-
d: "M60.3971 49.9565H39.5502C38.0849 49.9565 36.897 51.1494 36.897 52.6208C36.897 54.0922 38.0849 55.285 39.5502 55.285H60.3971C61.8625 55.285 63.0501 54.0922 63.0501 52.6208C63.0501 51.1494 61.8625 49.9565 60.3971 49.9565Z",
|
|
48
|
-
fill: "#999DA8"
|
|
49
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
50
|
-
fillRule: "evenodd",
|
|
51
|
-
clipRule: "evenodd",
|
|
52
|
-
d: "M46.041 3.14062C42.6319 3.14062 39.8682 5.91575 39.8682 9.33899V11.4859C39.8682 14.9092 42.6319 17.6842 46.041 17.6842H54.8002C58.2093 17.6842 60.9731 14.9092 60.9731 11.4859V9.33899C60.9731 5.91575 58.2093 3.14062 54.8002 3.14062H46.041ZM47.3169 21.0086L49.386 17.6842H45.2478L47.3169 21.0086Z",
|
|
53
|
-
fill: "#E8EBF0"
|
|
54
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
55
|
-
d: "M45.6834 8.54285L47.4941 11.6922H43.8726L45.6834 8.54285Z",
|
|
56
|
-
fill: "#999DA8"
|
|
57
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
58
|
-
d: "M52.304 8.54285H49.1677V11.6921H52.304V8.54285Z",
|
|
59
|
-
fill: "#999DA8"
|
|
60
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
61
|
-
d: "M55.6802 11.6919C56.5463 11.6919 57.2484 10.9869 57.2484 10.1172C57.2484 9.2476 56.5463 8.5426 55.6802 8.5426C54.8142 8.5426 54.1121 9.2476 54.1121 10.1172C54.1121 10.9869 54.8142 11.6919 55.6802 11.6919Z",
|
|
62
|
-
fill: "#999DA8"
|
|
63
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
64
|
-
d: "M67.7256 5.8507C66.5081 6.69694 63.5181 6.751 62.3457 7.09731L63.5875 5.64293C64.415 4.6041 64.6631 4.10547 65.6562 2.11091C66.6493 0.116362 69.3118 -0.105256 70.415 0.0332553C69.7943 1.27985 70.415 3.98081 67.7256 5.8507Z",
|
|
65
|
-
fill: "#E8EBF0"
|
|
66
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
67
|
-
d: "M46.257 34.8904C45.3444 35.1307 43.5421 34.5087 42.7649 34.4595L43.824 33.8603C44.5451 33.4193 44.802 33.175 45.8298 32.198C46.8574 31.221 48.4998 31.6709 49.1305 31.9953C48.4883 32.606 48.2737 34.3593 46.257 34.8904Z",
|
|
68
|
-
fill: "#E8EBF0"
|
|
69
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
70
|
-
d: "M37.262 32.7723C37.13 32.5427 37.2462 32.2485 37.4982 32.1696C39.7646 31.4593 49.3015 28.2658 55.6537 22.9713C62.0347 17.653 67.6725 11.576 69.1256 9.9791C69.3069 9.77991 69.6263 9.81841 69.76 10.0521C69.845 10.1989 69.8294 10.3803 69.7169 10.507C68.6225 11.7406 62.8044 18.1953 56.0675 23.6911C48.7371 29.6708 39.4667 32.4671 37.7105 32.9602C37.5349 33.0096 37.3532 32.9308 37.262 32.7723Z",
|
|
71
|
-
fill: "#E8EBF0"
|
|
72
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
73
|
-
d: "M26.0283 27.1925C25.977 26.9505 26.1514 26.7154 26.396 26.6852C27.3291 26.5701 29.6586 26.1971 33.309 25.0577C37.011 23.9021 40.6908 21.2137 41.9723 20.2199C42.1914 20.05 42.5167 20.1675 42.5743 20.4394C42.6023 20.572 42.5585 20.7071 42.454 20.793C41.598 21.497 37.5626 24.6932 33.4811 25.8705C29.5763 26.9969 27.2876 27.3842 26.4592 27.5011C26.2561 27.5298 26.0709 27.394 26.0283 27.1925Z",
|
|
74
|
-
fill: "#E8EBF0"
|
|
75
|
-
})]
|
|
76
|
-
}), /*#__PURE__*/_jsxs("defs", {
|
|
77
|
-
children: [/*#__PURE__*/_jsxs("filter", {
|
|
78
|
-
id: "filter0_f_4044_10434",
|
|
79
|
-
x: "9.43213",
|
|
80
|
-
y: "55.9835",
|
|
81
|
-
width: "81.7529",
|
|
82
|
-
height: "20.0577",
|
|
83
|
-
filterUnits: "userSpaceOnUse",
|
|
84
|
-
colorInterpolationFilters: "sRGB",
|
|
85
|
-
children: [/*#__PURE__*/_jsx("feFlood", {
|
|
86
|
-
floodOpacity: "0",
|
|
87
|
-
result: "BackgroundImageFix"
|
|
88
|
-
}), /*#__PURE__*/_jsx("feBlend", {
|
|
89
|
-
mode: "normal",
|
|
90
|
-
in: "SourceGraphic",
|
|
91
|
-
in2: "BackgroundImageFix",
|
|
92
|
-
result: "shape"
|
|
93
|
-
}), /*#__PURE__*/_jsx("feGaussianBlur", {
|
|
94
|
-
stdDeviation: "3",
|
|
95
|
-
result: "effect1_foregroundBlur_4044_10434"
|
|
96
|
-
})]
|
|
97
|
-
}), /*#__PURE__*/_jsxs("filter", {
|
|
98
|
-
id: "filter1_d_4044_10434",
|
|
99
|
-
x: "16.0493",
|
|
100
|
-
y: "37.776",
|
|
101
|
-
width: "67.8474",
|
|
102
|
-
height: "30.1659",
|
|
103
|
-
filterUnits: "userSpaceOnUse",
|
|
104
|
-
colorInterpolationFilters: "sRGB",
|
|
105
|
-
children: [/*#__PURE__*/_jsx("feFlood", {
|
|
106
|
-
floodOpacity: "0",
|
|
107
|
-
result: "BackgroundImageFix"
|
|
108
|
-
}), /*#__PURE__*/_jsx("feColorMatrix", {
|
|
109
|
-
in: "SourceAlpha",
|
|
110
|
-
type: "matrix",
|
|
111
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
112
|
-
result: "hardAlpha"
|
|
113
|
-
}), /*#__PURE__*/_jsx("feOffset", {
|
|
114
|
-
dy: "2"
|
|
115
|
-
}), /*#__PURE__*/_jsx("feColorMatrix", {
|
|
116
|
-
type: "matrix",
|
|
117
|
-
values: "0 0 0 0 0.803922 0 0 0 0 0.811765 0 0 0 0 0.843137 0 0 0 1 0"
|
|
118
|
-
}), /*#__PURE__*/_jsx("feBlend", {
|
|
119
|
-
mode: "normal",
|
|
120
|
-
in2: "BackgroundImageFix",
|
|
121
|
-
result: "effect1_dropShadow_4044_10434"
|
|
122
|
-
}), /*#__PURE__*/_jsx("feBlend", {
|
|
123
|
-
mode: "normal",
|
|
124
|
-
in: "SourceGraphic",
|
|
125
|
-
in2: "effect1_dropShadow_4044_10434",
|
|
126
|
-
result: "shape"
|
|
127
|
-
})]
|
|
128
|
-
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
129
|
-
id: "paint0_linear_4044_10434",
|
|
130
|
-
x1: "50",
|
|
131
|
-
y1: "53.9257",
|
|
132
|
-
x2: "50",
|
|
133
|
-
y2: "75",
|
|
134
|
-
gradientUnits: "userSpaceOnUse",
|
|
135
|
-
children: [/*#__PURE__*/_jsx("stop", {
|
|
136
|
-
stopColor: "#E9EBEF"
|
|
137
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
138
|
-
offset: "1",
|
|
139
|
-
stopColor: "#E9EBEF",
|
|
140
|
-
stopOpacity: "0"
|
|
141
|
-
})]
|
|
142
|
-
}), /*#__PURE__*/_jsx("clipPath", {
|
|
143
|
-
id: "clip0_4044_10434",
|
|
144
|
-
children: /*#__PURE__*/_jsx("rect", {
|
|
145
|
-
width: "100",
|
|
146
|
-
height: "75",
|
|
147
|
-
fill: "white"
|
|
148
|
-
})
|
|
149
|
-
})]
|
|
150
|
-
})]
|
|
151
|
-
});
|
|
152
|
-
};
|