void>(action: { + type: string; + payload?: P; + callback?: C; + [key: string]: any; +}) => any; + +export type Subscription = (api: SubscriptionAPI, done: Function) => void | Function; + +export interface Loading { + global: boolean; + effects: { [key: string]: boolean | undefined }; + models: { + [key: string]: any; + }; +} + +/** + * @type P: Params matched in dynamic routing + */ +export interface ConnectProps
{ + dispatch?: Dispatch; + // https://github.com/umijs/umi/pull/2194 + match?: match
;
+ location: Location 段落示意:蚂蚁金服务设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。
+ Want to add more pages? Please refer to{' '}
+
+ use block
+
+ 。
+ ;
+ history: History;
+ route: IRoute;
+}
+
+/**
+ * @type T: React props
+ * @type U: match props types
+ */
+export type ConnectRC{title || config[pageType].title}
+ {
+ const itemCls = classNames(styles.item, {
+ [styles.read]: item.read,
+ }); // eslint-disable-next-line no-nested-ternary
+
+ const leftIcon = item.avatar ? (
+ typeof item.avatar === 'string' ? (
+
{title}
}
+ {action &&
+ {title}
+
+ )}
+ {subTitle}
}
+ {/* eslint-disable-next-line */}
+ {total && (
+
+ {legendData.map((item, i) => (
+
+ )}
+ {title}
}
+ {percent}%
+
+
+
+
+
+ {rankingListData.map((item, i) => (
+
+
+
+
+ {rankingListData.map((item, i) => (
+
+ record.index}
+ size="small"
+ columns={columns}
+ dataSource={searchData}
+ pagination={{
+ style: {
+ marginBottom: 0,
+ },
+ pageSize: 5,
+ }}
+ />
+
+);
+
+export default TopSearch;
diff --git a/front_end/src/pages/DashBoard/components/Trend/index.jsx b/front_end/src/pages/DashBoard/components/Trend/index.jsx
new file mode 100644
index 00000000..3061d7c8
--- /dev/null
+++ b/front_end/src/pages/DashBoard/components/Trend/index.jsx
@@ -0,0 +1,27 @@
+import { CaretUpOutlined, CaretDownOutlined } from '@ant-design/icons';
+import React from 'react';
+import classNames from 'classnames';
+import styles from './index.less';
+
+const Trend = ({ colorful = true, reverseColor = false, flag, children, className, ...rest }) => {
+ const classString = classNames(
+ styles.trendItem,
+ {
+ [styles.trendItemGrey]: !colorful,
+ [styles.reverseColor]: reverseColor && colorful,
+ },
+ className,
+ );
+ return (
+
20&&(i=20),parseFloat(t.toFixed(i))};e.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten-deep.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=function t(e,n){if(void 0===n&&(n=[]),r.default(e))for(var i=0;ie[r])return 1;if(t[r]o[a][2][0];++a);var u=t(e-o[a][1][0],r);return u[0]+=t(o[a][1][0],i*r>i*o[a][0][1]?o[a][0][1]:r)[0],u}t.invert&&(o.invert=function(e,r){for(var a=i[+(r<0)],s=n[+(r<0)],u=0,l=a.length;uui&&d0?_-u:u)*E],c=e.geoProjection(t(s)).rotate(l),f=e.geoRotation(l),h=c.center;return delete c.rotate,c.center=function(t){return arguments.length?h(f(t)):f.invert(h())},c.clipAngle(90)};function Ci(t){var n=a(t);function r(t,r){var i=e.geoGnomonicRaw(t,r);return i[0]*=n,i}return r.invert=function(t,r){return e.geoGnomonicRaw.invert(t/n,r)},r}function ki(){return Ai([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Ai(t,e){return Pi(Ci,t,e)}function Ti(t){if(!(t*=2))return e.geoAzimuthalEquidistantRaw;var n=-t/2,r=-n,i=t*t,s=v(r),u=.5/g(r);function l(e,o){var s=A(a(o)*a(e-n)),u=A(a(o)*a(e-r)),l=o<0?-1:1;return s*=s,u*=u,[(s-u)/(2*t),l*T(4*i*u-(i-s+u)*(i-s+u))/(2*t)]}return l.invert=function(t,e){var i,l,c=e*e,f=a(T(c+(i=t+n)*i)),h=a(T(c+(i=t+r)*i));return[o(l=f-h,i=(f+h)*s),(e<0?-1:1)*A(T(i*i+l*l)*u)]},l}function Oi(){return Ii([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Ii(t,e){return Pi(Ti,t,e)}function Ri(t,e){if(r(e)