@vtx/components 4.0.0-beta.94 → 4.0.0-beta.96
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/dist/27.7e3a5587.async.js +11 -0
- package/dist/404.html +17 -0
- package/dist/4217.9f9c8f33.async.js +1 -0
- package/dist/4571.1f5588f5.async.js +5 -0
- package/dist/8238.a223befe.async.js +688 -0
- package/dist/8552.83c22540.async.js +1265 -0
- package/dist/9260.21c26210.async.js +137 -0
- package/dist/VtxColorPicker__demos.c3e03ab4.async.js +1 -0
- package/dist/VtxCombogrid__demos.81dd3d19.async.js +1 -0
- package/dist/VtxDatagrid__demos.bb6d2937.async.js +1 -0
- package/dist/VtxDescriptions__demos.c1d10744.async.js +1 -0
- package/dist/VtxEllipsisText__demos.f56d2a6b.async.js +1 -0
- package/dist/VtxExportAsync__demos.8bd5e7fc.async.js +1 -0
- package/dist/VtxExport__demos.f0c12996.async.js +1 -0
- package/dist/VtxFormLayout__demos.cbc5ebda.async.js +1 -0
- package/dist/VtxImage__demos.1c568ce3.async.js +1 -0
- package/dist/VtxImport2__demos.dd7cfbcf.async.js +1 -0
- package/dist/VtxImport__demos.1403a7a8.async.js +1 -0
- package/dist/VtxInput__demos.d1aeb2ca.async.js +1 -0
- package/dist/VtxModal__demos.c18d608e.async.js +1 -0
- package/dist/VtxPageLayout__demos.d223bf3b.async.js +1 -0
- package/dist/VtxRpsFrame__demos.3f951d24.async.js +1 -0
- package/dist/VtxScrollableRow__demos.a4859102.async.js +1 -0
- package/dist/VtxSearch__demos.7faa294b.async.js +1 -0
- package/dist/VtxSelect__demos.d6eb6d2b.async.js +1 -0
- package/dist/VtxSignature__demos.6abe7992.async.js +1 -0
- package/dist/VtxSplitPane__demos.2d21bf24.async.js +1 -0
- package/dist/VtxStatisticsColumn__demos.c466441f.async.js +1 -0
- package/dist/VtxTimePicker__demos.51ecd5f0.async.js +1 -0
- package/dist/VtxTransferSelect__demos.1e97ae79.async.js +1 -0
- package/dist/VtxTransfer__demos.18ba60b0.async.js +1 -0
- package/dist/VtxTreeSelect__demos.8ae23eb7.async.js +1 -0
- package/dist/VtxTree__demos.1ae9263d.async.js +1 -0
- package/dist/VtxUpload__demos.f8ac6088.async.js +1 -0
- package/dist/VtxWangEditor__demos.4c7f9743.async.js +1 -0
- package/dist/changelog/index.html +17 -0
- package/dist/components/index.html +17 -0
- package/dist/components/vtx-color-picker/index.html +17 -0
- package/dist/components/vtx-combogrid/index.html +17 -0
- package/dist/components/vtx-datagrid/index.html +17 -0
- package/dist/components/vtx-date-picker/index.html +17 -0
- package/dist/components/vtx-descriptions/index.html +17 -0
- package/dist/components/vtx-ellipsis-text/index.html +17 -0
- package/dist/components/vtx-export/index.html +17 -0
- package/dist/components/vtx-export-async/index.html +17 -0
- package/dist/components/vtx-form-layout/index.html +17 -0
- package/dist/components/vtx-image/index.html +17 -0
- package/dist/components/vtx-import/index.html +17 -0
- package/dist/components/vtx-import2/index.html +17 -0
- package/dist/components/vtx-input/index.html +17 -0
- package/dist/components/vtx-modal/index.html +17 -0
- package/dist/components/vtx-page-layout/index.html +17 -0
- package/dist/components/vtx-rps-frame/index.html +17 -0
- package/dist/components/vtx-scrollable-row/index.html +17 -0
- package/dist/components/vtx-search/index.html +17 -0
- package/dist/components/vtx-select/index.html +17 -0
- package/dist/components/vtx-signature/index.html +17 -0
- package/dist/components/vtx-split-pane/index.html +17 -0
- package/dist/components/vtx-statistics-column/index.html +17 -0
- package/dist/components/vtx-time-picker/index.html +17 -0
- package/dist/components/vtx-transfer/index.html +17 -0
- package/dist/components/vtx-transfer-select/index.html +17 -0
- package/dist/components/vtx-tree/index.html +17 -0
- package/dist/components/vtx-tree-select/index.html +17 -0
- package/dist/components/vtx-upload/index.html +17 -0
- package/dist/components/vtx-wang-editor/index.html +17 -0
- package/dist/demos.d31d47d3.async.js +1 -0
- package/dist/docs/api-changes/index.html +17 -0
- package/dist/docs/index.html +17 -0
- package/dist/docs/migration-guide/index.html +17 -0
- package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.9bd1f529.async.js +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/icon.png +0 -0
- package/dist/index.html +17 -0
- package/dist/meta__site.77f4ce5c.async.js +24576 -0
- package/dist/meta__site.cb4ba864.chunk.css +9 -0
- package/dist/meta__vtx-search.1cffc39e.async.js +5 -0
- package/dist/nm__dumi-theme-vortex-style__dist__layouts__DemoLayout__index.d38bb511.async.js +1 -0
- package/dist/nm__dumi-theme-vortex-style__dist__layouts__DocLayout__index.eec80432.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__404.02c0a12e.async.js +1 -0
- package/dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index.ce4c974c.async.js +1 -0
- package/dist/preload_helper.91c86d97.js +1 -0
- package/dist/site__changelog.md.2004f9af.async.js +1 -0
- package/dist/site__changelog.md.33be0665.chunk.css +1 -0
- package/dist/site__components__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__index.md.4b208bce.async.js +1 -0
- package/dist/site__components__vtx-color-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-color-picker__index.md.8cde38ad.async.js +1 -0
- package/dist/site__components__vtx-combogrid__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-combogrid__index.md.3a276575.async.js +19 -0
- package/dist/site__components__vtx-datagrid__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-datagrid__index.md.6b8af1e9.async.js +58 -0
- package/dist/site__components__vtx-date-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-date-picker__index.md.79fe2a74.async.js +1 -0
- package/dist/site__components__vtx-descriptions__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-descriptions__index.md.581f585c.async.js +1 -0
- package/dist/site__components__vtx-ellipsis-text__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-ellipsis-text__index.md.d6064e54.async.js +1 -0
- package/dist/site__components__vtx-export-async__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-export-async__index.md.c235ace9.async.js +50 -0
- package/dist/site__components__vtx-export__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-export__index.md.54504e6f.async.js +6 -0
- package/dist/site__components__vtx-form-layout__index.md.1f1785cf.async.js +1 -0
- package/dist/site__components__vtx-form-layout__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-image__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-image__index.md.68cd709b.async.js +7 -0
- package/dist/site__components__vtx-import2__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-import2__index.md.533d4e74.async.js +22 -0
- package/dist/site__components__vtx-import__index.md.2cb1513e.async.js +17 -0
- package/dist/site__components__vtx-import__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-input__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-input__index.md.5403e1e4.async.js +1 -0
- package/dist/site__components__vtx-modal__index.md.0f8af11e.async.js +9 -0
- package/dist/site__components__vtx-modal__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-page-layout__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-page-layout__index.md.e4956ee7.async.js +1 -0
- package/dist/site__components__vtx-rps-frame__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-rps-frame__index.md.c80279df.async.js +1 -0
- package/dist/site__components__vtx-scrollable-row__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-scrollable-row__index.md.df93edc6.async.js +1 -0
- package/dist/site__components__vtx-search__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-search__index.md.d011bdaa.async.js +17 -0
- package/dist/site__components__vtx-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-select__index.md.de66c747.async.js +6 -0
- package/dist/site__components__vtx-signature__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-signature__index.md.b8b1093d.async.js +1 -0
- package/dist/site__components__vtx-split-pane__index.md.2163de9a.async.js +1 -0
- package/dist/site__components__vtx-split-pane__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-statistics-column__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-statistics-column__index.md.543d917f.async.js +1 -0
- package/dist/site__components__vtx-time-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-time-picker__index.md.a1ef3b11.async.js +1 -0
- package/dist/site__components__vtx-transfer-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-transfer-select__index.md.df61e6d2.async.js +1 -0
- package/dist/site__components__vtx-transfer__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-transfer__index.md.e17f6962.async.js +1 -0
- package/dist/site__components__vtx-tree-select__index.md.2ee8c02c.async.js +1 -0
- package/dist/site__components__vtx-tree-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-tree__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-tree__index.md.9bd6ff74.async.js +1 -0
- package/dist/site__components__vtx-upload__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-upload__index.md.5a7d3eda.async.js +6 -0
- package/dist/site__components__vtx-wang-editor__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-wang-editor__index.md.9eb84586.async.js +7 -0
- package/dist/site__docs__api-changes.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__api-changes.md.42dee6c8.async.js +6 -0
- package/dist/site__docs__index.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__index.md.8e7c64da.async.js +53 -0
- package/dist/site__docs__migration-guide.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__migration-guide.md.fe82d57e.async.js +194 -0
- package/dist/site__index.md.33be0665.chunk.css +1 -0
- package/dist/site__index.md.54cae2e4.async.js +1 -0
- package/dist/sitemap.xml +1 -0
- package/dist/umi.4db41586.css +1 -0
- package/dist/umi.e0925664.js +879 -0
- package/dist/vtx-search__index.md.33be0665.chunk.css +1 -0
- package/dist/vtx-search__index.md.a29f26ea.async.js +5 -0
- package/dist/~demos/site-components-vtx-date-picker-demo-demo1/index.html +17 -0
- package/dist/~demos/site-components-vtx-date-picker-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxcolorpicker-demo-base/index.html +17 -0
- package/dist/~demos/vtxcolorpicker-demo-base-form/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo10/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo6/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo7/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo8/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo9/index.html +17 -0
- package/dist/~demos/vtxdescriptions-demo-base/index.html +17 -0
- package/dist/~demos/vtxdescriptions-demo-border/index.html +17 -0
- package/dist/~demos/vtxellipsistext-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxexport-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxexportasync-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo10/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo6/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo7/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo8/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo9/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo1/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo2/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo3/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo4/index.html +17 -0
- package/dist/~demos/vtximport-demo-base/index.html +17 -0
- package/dist/~demos/vtximport2-demo-base/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxrpsframe-demo-base/index.html +17 -0
- package/dist/~demos/vtxscrollablerow-demo-demo/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxselect-demo-base/index.html +17 -0
- package/dist/~demos/vtxselect-demo-base-multiple/index.html +17 -0
- package/dist/~demos/vtxsignature-demo-demo/index.html +17 -0
- package/dist/~demos/vtxsignature-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtimepicker-demo-base/index.html +17 -0
- package/dist/~demos/vtxtransfer-demo-base/index.html +17 -0
- package/dist/~demos/vtxtransferselect-demo-base/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxwangeditor-demo-demo1/index.html +17 -0
- package/es/vtx-combogrid/Combogrid.js +7 -4
- package/es/vtx-export-async/index.js +30 -14
- package/es/vtx-tabs/style/index.js +1 -2
- package/es/vtx-tree-select/index.js +23 -3
- package/lib/vtx-combogrid/Combogrid.js +7 -4
- package/lib/vtx-export-async/index.js +28 -15
- package/lib/vtx-tabs/style/index.js +1 -2
- package/lib/vtx-tree-select/index.js +22 -3
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
+
<link rel="shortcut icon" href>
|
|
8
|
+
<title>@vtx/components</title>
|
|
9
|
+
<style>.markdown table{table-layout: fixed;}</style>
|
|
10
|
+
<link rel="stylesheet" href="/react-components/umi.4db41586.css">
|
|
11
|
+
<script src="/react-components/preload_helper.91c86d97.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
<script src="/react-components/umi.e0925664.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["setPopoverVisible", "multiple", "onChange", "getTableData", "columns", "searchForms", "selectedRowKeys", "setSelectedRowKeys", "spread", "defaultPageSize", "customEnumText", "headFootHeight", "popoverWidth"];
|
|
2
|
+
var _excluded = ["setPopoverVisible", "multiple", "onChange", "getTableData", "columns", "searchForms", "selectedRowKeys", "setSelectedRowKeys", "spread", "defaultPageSize", "customEnumText", "headFootHeight", "popoverWidth", "formProps"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -51,6 +51,8 @@ function VtxCombogrid(props, ref) {
|
|
|
51
51
|
_props$headFootHeight = props.headFootHeight,
|
|
52
52
|
headFootHeight = _props$headFootHeight === void 0 ? 95 : _props$headFootHeight,
|
|
53
53
|
popoverWidth = props.popoverWidth,
|
|
54
|
+
_props$formProps = props.formProps,
|
|
55
|
+
formProps = _props$formProps === void 0 ? {} : _props$formProps,
|
|
54
56
|
rest = _objectWithoutProperties(props, _excluded);
|
|
55
57
|
var prefixCls = getPrefixCls('', 'vtx-combogrid');
|
|
56
58
|
var _useStyle = useStyle(prefixCls, {
|
|
@@ -184,8 +186,9 @@ function VtxCombogrid(props, ref) {
|
|
|
184
186
|
return wrapSSR( /*#__PURE__*/_jsxs("div", {
|
|
185
187
|
className: "".concat(prefixCls, "-popover"),
|
|
186
188
|
ref: ref,
|
|
187
|
-
children: [formLen > 0 && /*#__PURE__*/_jsx(Form, {
|
|
188
|
-
form: form
|
|
189
|
+
children: [formLen > 0 && /*#__PURE__*/_jsx(Form, _objectSpread(_objectSpread({
|
|
190
|
+
form: form
|
|
191
|
+
}, formProps), {}, {
|
|
189
192
|
children: /*#__PURE__*/_jsxs(Row, {
|
|
190
193
|
gutter: 8,
|
|
191
194
|
children: [/*#__PURE__*/_jsxs(Col, {
|
|
@@ -223,7 +226,7 @@ function VtxCombogrid(props, ref) {
|
|
|
223
226
|
})]
|
|
224
227
|
})]
|
|
225
228
|
})
|
|
226
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
229
|
+
})), /*#__PURE__*/_jsx("div", {
|
|
227
230
|
className: "".concat(prefixCls, "-main"),
|
|
228
231
|
children: /*#__PURE__*/_jsx(VtxDatagrid, _objectSpread(_objectSpread(_objectSpread({
|
|
229
232
|
toolbar: false
|
|
@@ -10,21 +10,23 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
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; }
|
|
11
11
|
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; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
-
import React, { useEffect, forwardRef, useContext, useMemo, useRef } from 'react';
|
|
14
13
|
import { ExportOutlined } from '@ant-design/icons';
|
|
15
|
-
import PropTypes from 'prop-types';
|
|
16
14
|
import { useSetState } from 'ahooks';
|
|
17
|
-
import { Button, Form, message,
|
|
15
|
+
import { Button, ConfigProvider, Form, message, Radio } from 'antd';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
import { useContext, useEffect, useRef } from 'react';
|
|
18
|
+
import { Input } from 'antd';
|
|
19
|
+
import classnames from 'classnames';
|
|
18
20
|
import dayjs from 'dayjs';
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
+
import { cloneDeep } from 'lodash-es';
|
|
22
|
+
import { SpecialCharacters } from "../utils/filterSpecialCharacters";
|
|
23
|
+
import VtxInput from "../vtx-input";
|
|
24
|
+
import VtxModal from "../vtx-modal";
|
|
25
|
+
import { useIntl } from "../vtx-provider";
|
|
21
26
|
import ColumnsSelect from "./ColumnsSelect";
|
|
27
|
+
import History from "./History";
|
|
22
28
|
import { useStyle } from "./style/index";
|
|
23
|
-
import
|
|
24
|
-
import { useIntl } from "../vtx-provider";
|
|
25
|
-
import VtxModal from "../vtx-modal";
|
|
26
|
-
import VtxInput from "../vtx-input";
|
|
27
|
-
import { SpecialCharacters } from "../utils/filterSpecialCharacters";
|
|
29
|
+
import { postData } from "./util";
|
|
28
30
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
31
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
32
|
var Includes = ['\\\\', '\\/', ':', '*', '?', '"', '<', '>', '|'];
|
|
@@ -85,7 +87,9 @@ var VtxExportAsync = function VtxExportAsync(props) {
|
|
|
85
87
|
_props$historyHeaders = props.historyHeaders,
|
|
86
88
|
historyHeaders = _props$historyHeaders === void 0 ? {} : _props$historyHeaders,
|
|
87
89
|
_props$hideContent = props.hideContent,
|
|
88
|
-
hideContent = _props$hideContent === void 0 ? false : _props$hideContent
|
|
90
|
+
hideContent = _props$hideContent === void 0 ? false : _props$hideContent,
|
|
91
|
+
_props$extraFormItems = props.extraFormItems,
|
|
92
|
+
extraFormItems = _props$extraFormItems === void 0 ? [] : _props$extraFormItems;
|
|
89
93
|
var _Form$useForm = Form.useForm(),
|
|
90
94
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
91
95
|
form = _Form$useForm2[0];
|
|
@@ -204,6 +208,10 @@ var VtxExportAsync = function VtxExportAsync(props) {
|
|
|
204
208
|
downloadAll = false,
|
|
205
209
|
flag = true,
|
|
206
210
|
columnJson = '';
|
|
211
|
+
var extraValues = cloneDeep(values);
|
|
212
|
+
delete extraValues.type;
|
|
213
|
+
delete extraValues.fileName;
|
|
214
|
+
delete extraValues.content;
|
|
207
215
|
if (enableCustomSelect) {
|
|
208
216
|
columnJson = JSON.stringify(allColumns.filter(function (item) {
|
|
209
217
|
return item.key !== 'action' && values.content.includes(item.key);
|
|
@@ -254,13 +262,13 @@ var VtxExportAsync = function VtxExportAsync(props) {
|
|
|
254
262
|
break;
|
|
255
263
|
}
|
|
256
264
|
if (flag && requestExportUrl) {
|
|
257
|
-
postData(requestExportUrl, _objectSpread({
|
|
265
|
+
postData(requestExportUrl, _objectSpread(_objectSpread({
|
|
258
266
|
downloadAll: downloadAll,
|
|
259
267
|
columnJson: columnJson,
|
|
260
268
|
ids: ids.join(','),
|
|
261
269
|
fileName: values.fileName,
|
|
262
270
|
uniqueKey: uniqueKey
|
|
263
|
-
}, typeof getExportParams == 'function' ? getExportParams(values.type) : params), headers).then(function (res) {
|
|
271
|
+
}, typeof getExportParams == 'function' ? getExportParams(values.type) : params), extraValues), headers).then(function (res) {
|
|
264
272
|
if ((res === null || res === void 0 ? void 0 : res.result) == 0) {
|
|
265
273
|
setState({
|
|
266
274
|
showHistoryModal: true,
|
|
@@ -376,6 +384,13 @@ var VtxExportAsync = function VtxExportAsync(props) {
|
|
|
376
384
|
}, item.key);
|
|
377
385
|
})
|
|
378
386
|
})
|
|
387
|
+
}), extraFormItems === null || extraFormItems === void 0 ? void 0 : extraFormItems.map(function (v) {
|
|
388
|
+
return /*#__PURE__*/_jsx(Form.Item, _objectSpread(_objectSpread({
|
|
389
|
+
label: v.name,
|
|
390
|
+
name: v.key
|
|
391
|
+
}, (v === null || v === void 0 ? void 0 : v.formItemProps) || {}), {}, {
|
|
392
|
+
children: (v === null || v === void 0 ? void 0 : v.dom) || /*#__PURE__*/_jsx(Input, {})
|
|
393
|
+
}), v.key);
|
|
379
394
|
})]
|
|
380
395
|
})
|
|
381
396
|
}), state.showHistoryModal && /*#__PURE__*/_jsx(History, {
|
|
@@ -426,7 +441,8 @@ VtxExportAsync.propTypes = {
|
|
|
426
441
|
enableCustomSelect: PropTypes.bool,
|
|
427
442
|
headers: PropTypes.object,
|
|
428
443
|
beforeExport: PropTypes.object,
|
|
429
|
-
historyHeaders: PropTypes.object
|
|
444
|
+
historyHeaders: PropTypes.object,
|
|
445
|
+
extraFormItems: PropTypes.array
|
|
430
446
|
};
|
|
431
447
|
export { VtxExportAsync };
|
|
432
448
|
export default VtxExportAsync;
|
|
@@ -59,8 +59,7 @@ var genStyle = function genStyle(token) {
|
|
|
59
59
|
})), "".concat(antTabs, "-tab-active"), _defineProperty({
|
|
60
60
|
background: 'rgba(22,119,255,0.08)',
|
|
61
61
|
border: '1px solid rgba(22,119,255,0.1)',
|
|
62
|
-
color: colorPrimary
|
|
63
|
-
fontWeight: 500
|
|
62
|
+
color: colorPrimary
|
|
64
63
|
}, "".concat(antTabs, "-tab-btn"), {
|
|
65
64
|
color: colorPrimary
|
|
66
65
|
})), "".concat(antTabs, "-ink-bar"), {
|
|
@@ -28,6 +28,7 @@ import { useContext, useEffect, useMemo, useRef, useState } from 'react';
|
|
|
28
28
|
import VtxIcon from "../vtx-icon";
|
|
29
29
|
import { VtxProvider, useIntl } from "../vtx-provider";
|
|
30
30
|
import { useStyle } from "./style/index";
|
|
31
|
+
import { useMemoizedFn } from 'ahooks';
|
|
31
32
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
32
33
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
33
34
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -68,6 +69,19 @@ var VtxTreeSelect = function VtxTreeSelect(_ref) {
|
|
|
68
69
|
setPopOpen = _useState4[1];
|
|
69
70
|
var ref = useRef();
|
|
70
71
|
var size = useSize(ref);
|
|
72
|
+
var getDropdownWidth = useMemoizedFn(function (data) {
|
|
73
|
+
var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
74
|
+
return data.reduce(function (maxWidth, item) {
|
|
75
|
+
var textWidth = Array.from(item[fieldNames.label]).reduce(function (width, char) {
|
|
76
|
+
return width + (char.charCodeAt(0) > 255 ? 14 : 8);
|
|
77
|
+
}, 0);
|
|
78
|
+
var currentWidth = level * 24 + textWidth + 64;
|
|
79
|
+
return Math.max(maxWidth, currentWidth, getDropdownWidth(item[fieldNames.children] || [], level + 1));
|
|
80
|
+
}, 0);
|
|
81
|
+
});
|
|
82
|
+
var dropdownWidth = useMemo(function () {
|
|
83
|
+
return Math.max(280, getDropdownWidth(treeData || []));
|
|
84
|
+
}, [treeData]);
|
|
71
85
|
var keyNodesMapping = useMemo(function () {
|
|
72
86
|
var keyNodesMapping = {};
|
|
73
87
|
// 建议:添加树数据有效性检查
|
|
@@ -201,8 +215,13 @@ var VtxTreeSelect = function VtxTreeSelect(_ref) {
|
|
|
201
215
|
},
|
|
202
216
|
styles: {
|
|
203
217
|
popup: {
|
|
204
|
-
|
|
205
|
-
|
|
218
|
+
root: {
|
|
219
|
+
maxHeight: 300,
|
|
220
|
+
overflow: 'auto'
|
|
221
|
+
},
|
|
222
|
+
itemTitle: {
|
|
223
|
+
wordBreak: 'break-all'
|
|
224
|
+
}
|
|
206
225
|
}
|
|
207
226
|
},
|
|
208
227
|
classNames: {
|
|
@@ -212,7 +231,8 @@ var VtxTreeSelect = function VtxTreeSelect(_ref) {
|
|
|
212
231
|
treeDefaultExpandAll: true,
|
|
213
232
|
fieldNames: fieldNames,
|
|
214
233
|
labelInValue: _labelInValue,
|
|
215
|
-
disabled: disabled
|
|
234
|
+
disabled: disabled,
|
|
235
|
+
popupMatchSelectWidth: dropdownWidth
|
|
216
236
|
}, props), {}, {
|
|
217
237
|
onChange: function onChange(value, label, extra) {
|
|
218
238
|
return onChangeTreeSelect(value, label, extra, selectedNodes);
|
|
@@ -14,7 +14,7 @@ var _vtxDatagrid = _interopRequireDefault(require("../vtx-datagrid"));
|
|
|
14
14
|
var _style = require("./style");
|
|
15
15
|
var _vtxProvider = require("../vtx-provider");
|
|
16
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
var _excluded = ["setPopoverVisible", "multiple", "onChange", "getTableData", "columns", "searchForms", "selectedRowKeys", "setSelectedRowKeys", "spread", "defaultPageSize", "customEnumText", "headFootHeight", "popoverWidth"];
|
|
17
|
+
var _excluded = ["setPopoverVisible", "multiple", "onChange", "getTableData", "columns", "searchForms", "selectedRowKeys", "setSelectedRowKeys", "spread", "defaultPageSize", "customEnumText", "headFootHeight", "popoverWidth", "formProps"];
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
20
20
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -59,6 +59,8 @@ function VtxCombogrid(props, ref) {
|
|
|
59
59
|
_props$headFootHeight = props.headFootHeight,
|
|
60
60
|
headFootHeight = _props$headFootHeight === void 0 ? 95 : _props$headFootHeight,
|
|
61
61
|
popoverWidth = props.popoverWidth,
|
|
62
|
+
_props$formProps = props.formProps,
|
|
63
|
+
formProps = _props$formProps === void 0 ? {} : _props$formProps,
|
|
62
64
|
rest = _objectWithoutProperties(props, _excluded);
|
|
63
65
|
var prefixCls = getPrefixCls('', 'vtx-combogrid');
|
|
64
66
|
var _useStyle = (0, _style.useStyle)(prefixCls, {
|
|
@@ -192,8 +194,9 @@ function VtxCombogrid(props, ref) {
|
|
|
192
194
|
return wrapSSR( /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
193
195
|
className: "".concat(prefixCls, "-popover"),
|
|
194
196
|
ref: ref,
|
|
195
|
-
children: [formLen > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Form, {
|
|
196
|
-
form: form
|
|
197
|
+
children: [formLen > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Form, _objectSpread(_objectSpread({
|
|
198
|
+
form: form
|
|
199
|
+
}, formProps), {}, {
|
|
197
200
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antd.Row, {
|
|
198
201
|
gutter: 8,
|
|
199
202
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_antd.Col, {
|
|
@@ -231,7 +234,7 @@ function VtxCombogrid(props, ref) {
|
|
|
231
234
|
})]
|
|
232
235
|
})]
|
|
233
236
|
})
|
|
234
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
237
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
235
238
|
className: "".concat(prefixCls, "-main"),
|
|
236
239
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vtxDatagrid.default, _objectSpread(_objectSpread(_objectSpread({
|
|
237
240
|
toolbar: false
|