Commit 0ffab69a authored by 陈龙's avatar 陈龙

feat: 新增demo

parent a19ef997
Pipeline #59419 failed with stages
in 44 seconds
......@@ -148,6 +148,8 @@
"@wisdom-components/empty": "^1.3.9",
"@wisdom-components/exportexcel": "^1.1.2",
"@wisdom-components/timerangepicker": "^1.3.4",
"@wisdom-map/amap": "^1.0.49--27.5",
"@wisdom-map/basemap": "^1.0.12-47",
"@wisdom-utils/utils": "0.0.46",
"classnames": "^2.2.6",
"cross-spawn": "^7.0.3",
......@@ -157,7 +159,8 @@
"js-export-excel": "^1.1.4",
"jszip": "^3.5.0",
"mqtt-client": "^1.0.12",
"parseForm": "1.0.0",
"parseForm": "^1.0.0",
"react-redux": "^8.0.2",
"sha1": "^1.1.1"
},
"size-limit": [
......
#### 常规使用
<code src="./demos/Basic.tsx">
import React from 'react';
import BasicReport from '../index';
const Demo = () => {
return (
<div>
<h3>折线图</h3>
<div style={{ height: '600px' }}>
<BasicReport
params={{
reportName: '订单合同',
}}
/>
</div>
</div>
);
};
export default Demo;
......@@ -690,7 +690,7 @@
"@babel/helper-create-class-features-plugin" "^7.18.6"
"@babel/helper-plugin-utils" "^7.18.6"
"@babel/plugin-proposal-private-property-in-object@^7.18.6":
"@babel/plugin-proposal-private-property-in-object@^7.15.4", "@babel/plugin-proposal-private-property-in-object@^7.18.6":
version "7.18.6"
resolved "https://g.civnet.cn:4873/@babel%2fplugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz#a64137b232f0aca3733a67eb1a144c192389c503"
integrity sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==
......@@ -4832,6 +4832,15 @@
resolved "https://g.civnet.cn:4873/@webpack-cli%2fserve/-/serve-1.7.0.tgz#e1993689ac42d2b16e9194376cfb6753f6254db1"
integrity sha512-oxnCNGj88fL+xzV+dacXs44HcDwf1ovs3AuEzvP7mqXw7fQntqIhQ1BRmynh4qEKQSSSRSWVyXRjmTbZIX9V2Q==
"@wisdom-components/RichText@^0.2.10":
name "@wisdom-components/richtext"
version "0.2.14"
resolved "https://g.civnet.cn:4873/@wisdom-components%2fRichText/-/richtext-0.2.14.tgz#11f2abfabdfd4a842e55600b12aa89565b93c66c"
integrity sha512-mNHb4cDqu/2O3NHPtkVqNrkUhYDpESGUC9YksCJhH+oIiIewi6HcO745ebZW4Cxww5HHi8Wa8mQLjlmB3+MLpg==
dependencies:
"@babel/runtime" "^7.17.9"
classnames "^2.2.6"
"@wisdom-utils/utils@0.0.46":
version "0.0.46"
resolved "https://g.civnet.cn:4873/@wisdom-utils%2futils/-/utils-0.0.46.tgz#4990e0b9f6d228acb155f1097dd3799329960f44"
......@@ -5608,6 +5617,11 @@ async-limiter@~1.0.0:
resolved "https://g.civnet.cn:4873/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
async-validator@^3.5.1:
version "3.5.2"
resolved "https://g.civnet.cn:4873/async-validator/-/async-validator-3.5.2.tgz#68e866a96824e8b2694ff7a831c1a25c44d5e500"
integrity sha1-aOhmqWgk6LJpT/eoMcGiXETV5QA=
async-validator@^4.1.0:
version "4.2.5"
resolved "https://g.civnet.cn:4873/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339"
......@@ -9860,6 +9874,20 @@ form-data@~2.3.2:
combined-stream "^1.0.6"
mime-types "^2.1.12"
form-render@1.6.7:
version "1.6.7"
resolved "https://g.civnet.cn:4873/form-render/-/form-render-1.6.7.tgz#d97ac3c41e89765e03396f56bb843c3b23bb6aa7"
integrity sha1-2XrDxB6Jdl4DOW9Wu4Q8OyO7aqc=
dependencies:
"@ant-design/icons" "^4.0.2"
async-validator "^3.5.1"
color "^3.1.2"
lodash-es "^4.17.21"
moment "^2.24.0"
nanoid "^3.1.20"
rc-color-picker "^1.2.6"
virtualizedtableforantd4 "^1.1.2"
form-render@^0.9.12:
version "0.9.12"
resolved "https://g.civnet.cn:4873/form-render/-/form-render-0.9.12.tgz#4fc3815dcf132a70491ed5bd45f851b75c61ec01"
......@@ -13654,6 +13682,11 @@ locate-path@^5.0.0:
dependencies:
p-locate "^4.1.0"
lodash-es@^4.17.21:
version "4.17.21"
resolved "https://g.civnet.cn:4873/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
integrity sha1-Q+YmxG5lkbd1C+srUBFzkMYJ4+4=
lodash._reinterpolate@^3.0.0:
version "3.0.0"
resolved "https://g.civnet.cn:4873/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
......@@ -14753,7 +14786,7 @@ moment-timezone@^0.5.31:
dependencies:
moment ">= 2.9.0"
moment@*, "moment@>= 2.9.0", moment@^2.24.0, moment@^2.27.0, moment@^2.29.2:
moment@*, "moment@>= 2.9.0", moment@^2.24.0, moment@^2.27.0, moment@^2.29.1, moment@^2.29.2:
version "2.29.4"
resolved "https://g.civnet.cn:4873/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108"
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==
......@@ -14880,7 +14913,7 @@ nanoid@^2.1.0:
resolved "https://g.civnet.cn:4873/nanoid/-/nanoid-2.1.11.tgz#ec24b8a758d591561531b4176a01e3ab4f0f0280"
integrity sha1-7CS4p1jVkVYVMbQXagHjq08PAoA=
nanoid@^3.1.23, nanoid@^3.3.2, nanoid@^3.3.4:
nanoid@^3.1.20, nanoid@^3.1.23, nanoid@^3.3.2, nanoid@^3.3.4:
version "3.3.4"
resolved "https://g.civnet.cn:4873/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
......@@ -16021,13 +16054,13 @@ parse5@^7.0.0:
dependencies:
entities "^4.3.0"
parseForm@0.0.8, parseForm@^0.0.8:
version "0.0.8"
resolved "https://g.civnet.cn:4873/parseForm/-/parseForm-0.0.8.tgz#1874f0932f3394d601a5532b1299270dbdc5f48f"
integrity sha512-LDGRb1ukhQ1nF/HI3wPdC7NtgAXOuM6smW62YlKzvAMkgWQSu3+sh9plKgXtHmji4FgeChTJXGOerISi6oiqAw==
parseForm@1.0.0:
version "1.0.0"
resolved "https://g.civnet.cn:4873/parseForm/-/parseForm-1.0.0.tgz#304c2269b6e7a29cadcdc2852bd4be5d9109c292"
integrity sha512-heIRyc8XbNXSatU3sGYejR6WB7KyJaRSxYFnVOFWcwTE8i4JpdF/gYKUb2g7MDAWUZU7GQOlvzmbN4R/jY/fvw==
dependencies:
"@babel/runtime" "^7.10.5"
"@wisdom-components/empty" "^1.1.0"
"@wisdom-components/empty" "^1.4.1"
"@wisdom-utils/utils" "0.0.46"
antd "^4.13.0"
antd-img-crop "^3.14.1"
......@@ -16035,6 +16068,27 @@ parseForm@0.0.8, parseForm@^0.0.8:
http-proxy-middleware "^1.0.6"
react "^16.12.0"
parseForm@^1.0.0:
version "1.2.5"
resolved "https://g.civnet.cn:4873/parseForm/-/parseForm-1.2.5.tgz#6340a060591edf3ce3eb2c63fc73ba7a76035a73"
integrity sha512-/H6OFwq8bvs/G+QtwWBz2qr/FRwjLNFJKLYi/ioqKTTq8CYIRBYMJSpEpE3lv2xgUbLHjecDVn9StO4AHBKHuQ==
dependencies:
"@ant-design/icons" "^4.7.0"
"@babel/plugin-proposal-private-property-in-object" "^7.15.4"
"@babel/runtime" "^7.10.5"
"@wisdom-components/RichText" "^0.2.10"
"@wisdom-components/basictable" "^1.5.18"
"@wisdom-components/empty" "^1.4.7"
"@wisdom-utils/utils" "0.0.46"
antd "^4.13.0"
antd-img-crop "^3.14.1"
form-render "1.6.7"
http-proxy-middleware "^1.0.6"
moment "^2.29.1"
qrcode.react "^1.0.1"
react "17.0.2"
yarn "^1.22.17"
pascalcase@^0.1.1:
version "0.1.1"
resolved "https://g.civnet.cn:4873/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
......@@ -17481,7 +17535,7 @@ prop-types-exact@^1.2.0:
object.assign "^4.1.0"
reflect.ownkeys "^0.2.0"
prop-types@15.x, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1, prop-types@^15.x:
prop-types@15.x, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1, prop-types@^15.x:
version "15.8.1"
resolved "https://g.civnet.cn:4873/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
......@@ -17636,6 +17690,20 @@ q@^1.1.2, q@^1.5.1:
resolved "https://g.civnet.cn:4873/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=
qr.js@0.0.0:
version "0.0.0"
resolved "https://g.civnet.cn:4873/qr.js/-/qr.js-0.0.0.tgz#cace86386f59a0db8050fa90d9b6b0e88a1e364f"
integrity sha1-ys6GOG9ZoNuAUPqQ2baw6IoeNk8=
qrcode.react@^1.0.1:
version "1.0.1"
resolved "https://g.civnet.cn:4873/qrcode.react/-/qrcode.react-1.0.1.tgz#2834bb50e5e275ffe5af6906eff15391fe9e38a5"
integrity sha1-KDS7UOXidf/lr2kG7/FTkf6eOKU=
dependencies:
loose-envify "^1.4.0"
prop-types "^15.6.0"
qr.js "0.0.0"
qs@6.10.3:
version "6.10.3"
resolved "https://g.civnet.cn:4873/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e"
......@@ -18448,7 +18516,7 @@ react@16.x, react@^16.0.0, react@^16.12.0, react@^16.8.6:
object-assign "^4.1.1"
prop-types "^15.6.2"
react@^17.0.2:
react@17.0.2, react@^17.0.2:
version "17.0.2"
resolved "https://g.civnet.cn:4873/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
integrity sha1-0LXMUW0p6z7uOD91tihkz7aAADc=
......@@ -22152,6 +22220,11 @@ vinyl@^2.0.0, vinyl@^2.1.0:
remove-trailing-separator "^1.0.1"
replace-ext "^1.0.0"
virtualizedtableforantd4@^1.1.2:
version "1.1.6"
resolved "https://g.civnet.cn:4873/virtualizedtableforantd4/-/virtualizedtableforantd4-1.1.6.tgz#3383ab04790d6841bd622deaa2e5ffc05c798b5d"
integrity sha512-6PgwsxBZl8qFkH71tXHbYT4gb5muyQpKKFlJTGTtx/pFduPlb1dzDsDgXFZs0YBPkOul2RkmD25CpzZGJWBxuw==
vm-browserify@^1.0.1:
version "1.1.2"
resolved "https://g.civnet.cn:4873/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
......@@ -22872,6 +22945,11 @@ yargs@~3.10.0:
decamelize "^1.0.0"
window-size "0.1.0"
yarn@^1.22.17:
version "1.22.19"
resolved "https://g.civnet.cn:4873/yarn/-/yarn-1.22.19.tgz#4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
integrity sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==
yauzl@^2.10.0:
version "2.10.0"
resolved "https://g.civnet.cn:4873/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment