@ztocwst/rc-pro-materials 0.2.1 → 0.2.3-4.1
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/README.md +17 -17
- package/build/index.js +8 -8
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +8 -8
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/designer.html +2 -2
- package/build/lowcode/index.html +2 -2
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.css +1 -1
- package/build/lowcode/preview.js +4 -5
- package/build/lowcode/render/default/view.css +1 -2
- package/build/lowcode/render/default/view.js +9 -58
- package/build/lowcode/view.css +1 -2
- package/build/lowcode/view.js +10 -59
- package/dist/SCM_Comps.css +2 -2
- package/dist/SCM_Comps.js +22 -53
- package/dist/SCM_Comps.js.map +1 -1
- package/es/components/z-Ellipsis/ellipsis.d.ts +4 -4
- package/es/components/z-Ellipsis/index.d.ts +3 -3
- package/es/components/z-agg-block/index.d.ts +3 -3
- package/es/components/z-agg-block/index.less +134 -134
- package/es/components/z-agg-block/z-agg-block.d.ts +27 -27
- package/es/components/z-agg-block/z-agg-block.js +1 -1
- package/es/components/z-auth/auth.d.ts +9 -9
- package/es/components/z-auth/index.d.ts +3 -3
- package/es/components/z-box/box.d.ts +20 -20
- package/es/components/z-box/index.d.ts +3 -3
- package/es/components/z-box/index.less +4 -4
- package/es/components/z-button/index.d.ts +3 -3
- package/es/components/z-button/z-button.d.ts +4 -4
- package/es/components/z-config-provider/configProvider.d.ts +4 -4
- package/es/components/z-config-provider/configProvider.js +45 -4
- package/es/components/z-config-provider/index.d.ts +3 -3
- package/es/components/z-data-table/data-table.d.ts +9 -0
- package/es/components/z-data-table/data-table.js +24 -0
- package/es/components/z-data-table/index.d.ts +3 -0
- package/es/components/z-data-table/index.js +2 -0
- package/es/components/z-div/div.d.ts +6 -6
- package/es/components/z-div/index.d.ts +2 -2
- package/es/components/z-editTable/editTable.d.ts +11 -11
- package/es/components/z-editTable/editTable.js +3 -4
- package/es/components/z-editTable/index.d.ts +2 -2
- package/es/components/z-form/index.d.ts +3 -3
- package/es/components/z-form/z-form.d.ts +10 -10
- package/es/components/z-form/z-form.js +1 -1
- package/es/components/z-list/index.d.ts +3 -3
- package/es/components/z-list/list.d.ts +17 -17
- package/es/components/z-list/list.js +3 -3
- package/es/components/z-operation-records/index.d.ts +3 -3
- package/es/components/z-operation-records/operationRecords.d.ts +4 -4
- package/es/components/z-pointer-block/index.d.ts +3 -3
- package/es/components/z-pointer-block/index.less +15 -15
- package/es/components/z-pointer-block/z-pointer-block.d.ts +16 -16
- package/es/components/z-preview/index.d.ts +3 -3
- package/es/components/z-preview/preview.d.ts +4 -4
- package/es/components/z-pro-provider/index.d.ts +3 -3
- package/es/components/z-pro-provider/z-pro-provider.d.ts +6 -6
- package/es/components/z-ranking-list/index.d.ts +2 -2
- package/es/components/z-ranking-list/index.less +49 -49
- package/es/components/z-ranking-list/z-ranking-list.d.ts +14 -14
- package/es/components/z-ranking-list/z-ranking-list.js +2 -3
- package/es/components/z-simple-bar/index.d.ts +3 -3
- package/es/components/z-simple-bar/index.less +9 -9
- package/es/components/z-simple-bar/z-simple-bar.d.ts +27 -27
- package/es/components/z-singleFactory/index.d.ts +2 -2
- package/es/components/z-singleFactory/zSingerFactory.d.ts +2 -3
- package/es/components/z-slick/index.d.ts +3 -0
- package/es/components/z-slick/index.js +2 -0
- package/es/components/z-slick/slick.d.ts +47 -0
- package/es/components/z-slick/slick.js +35 -0
- package/es/components/z-statistic/index.d.ts +3 -3
- package/es/components/z-statistic/index.less +22 -22
- package/es/components/z-statistic/z-statistic.d.ts +13 -13
- package/es/components/z-table/index.d.ts +3 -3
- package/es/components/z-table/table.d.ts +8 -8
- package/es/components/z-table/table.js +1 -1
- package/es/components/z-templates-data-common/components/chart-renderer/index.d.ts +12 -14
- package/es/components/z-templates-data-common/components/chart-renderer/index.js +33 -13
- package/es/components/z-templates-data-common/data-common.d.ts +20 -105
- package/es/components/z-templates-data-common/data-common.helper.d.ts +2 -61
- package/es/components/z-templates-data-common/data-common.helper.js +2 -336
- package/es/components/z-templates-data-common/data-common.js +81 -62
- package/es/components/z-templates-data-common/index.d.ts +3 -3
- package/es/components/z-tpl/index.d.ts +3 -3
- package/es/components/z-tpl/tpl.d.ts +23 -23
- package/es/components/z-tpl/tpl.js +3 -3
- package/es/components/z-warehouse/index.d.ts +2 -2
- package/es/components/z-warehouse/zWarehouse.d.ts +2 -3
- package/es/components/z-watermark/index.d.ts +3 -0
- package/es/components/z-watermark/index.js +2 -0
- package/es/components/z-watermark/zWatermark.d.ts +3 -0
- package/es/components/z-watermark/zWatermark.js +4 -0
- package/es/index.d.ts +44 -38
- package/es/index.js +4 -0
- package/es/index.scss +1 -1
- package/es/style.js +2 -6
- package/es/utils/hoc.d.ts +6 -6
- package/es/utils/hoc.js +3 -3
- package/es/utils/index.d.ts +13 -13
- package/es/utils/index.js +5 -1
- package/es/utils/props/button.d.ts +13 -13
- package/es/utils/props/common.d.ts +7 -1
- package/es/utils/props/common.js +17 -0
- package/es/utils/props/editTable.d.ts +3 -3
- package/es/utils/props/editTable.js +21 -14
- package/es/utils/props/form.d.ts +36 -0
- package/es/utils/props/form.js +33 -14
- package/es/utils/props/listTpl.d.ts +29 -29
- package/es/utils/props/microModal.d.ts +7 -7
- package/es/utils/props/microModal.js +0 -1
- package/es/utils/props/microSwitch.d.ts +1 -1
- package/es/utils/props/microSwitch.js +4 -3
- package/es/utils/props/modalSelect.d.ts +6 -6
- package/es/utils/props/operationRecords.d.ts +2 -2
- package/es/utils/props/operationRecords.js +4 -4
- package/es/utils/props/preview.d.ts +2 -2
- package/es/utils/props/preview.js +4 -4
- package/es/utils/props/tpl.d.ts +173 -162
- package/es/utils/props/warehouseAndFactory.d.ts +1 -1
- package/es/utils/rcProRequest.d.ts +3 -3
- package/es/utils/rcProRequest.js +3 -3
- package/es/variables.scss +3 -3
- package/lib/components/z-Ellipsis/ellipsis.d.ts +4 -4
- package/lib/components/z-Ellipsis/ellipsis.js +3 -4
- package/lib/components/z-Ellipsis/index.d.ts +3 -3
- package/lib/components/z-Ellipsis/index.js +1 -2
- package/lib/components/z-agg-block/index.d.ts +3 -3
- package/lib/components/z-agg-block/index.js +1 -2
- package/lib/components/z-agg-block/index.less +134 -134
- package/lib/components/z-agg-block/z-agg-block.d.ts +27 -27
- package/lib/components/z-agg-block/z-agg-block.js +2 -3
- package/lib/components/z-auth/auth.d.ts +9 -9
- package/lib/components/z-auth/auth.js +1 -2
- package/lib/components/z-auth/index.d.ts +3 -3
- package/lib/components/z-auth/index.js +1 -2
- package/lib/components/z-box/box.d.ts +20 -20
- package/lib/components/z-box/box.js +1 -2
- package/lib/components/z-box/index.d.ts +3 -3
- package/lib/components/z-box/index.js +1 -2
- package/lib/components/z-box/index.less +4 -4
- package/lib/components/z-button/index.d.ts +3 -3
- package/lib/components/z-button/index.js +1 -2
- package/lib/components/z-button/z-button.d.ts +4 -4
- package/lib/components/z-button/z-button.js +4 -4
- package/lib/components/z-config-provider/configProvider.d.ts +4 -4
- package/lib/components/z-config-provider/configProvider.js +47 -7
- package/lib/components/z-config-provider/index.d.ts +3 -3
- package/lib/components/z-config-provider/index.js +1 -2
- package/lib/components/z-data-table/data-table.d.ts +9 -0
- package/lib/components/z-data-table/data-table.js +27 -0
- package/lib/components/z-data-table/index.d.ts +3 -0
- package/lib/components/z-data-table/index.js +7 -0
- package/lib/components/z-div/div.d.ts +6 -6
- package/lib/components/z-div/div.js +1 -2
- package/lib/components/z-div/index.d.ts +2 -2
- package/lib/components/z-div/index.js +1 -2
- package/lib/components/z-editTable/editTable.d.ts +11 -11
- package/lib/components/z-editTable/editTable.js +7 -9
- package/lib/components/z-editTable/index.d.ts +2 -2
- package/lib/components/z-editTable/index.js +1 -2
- package/lib/components/z-form/index.d.ts +3 -3
- package/lib/components/z-form/index.js +1 -2
- package/lib/components/z-form/z-form.d.ts +10 -10
- package/lib/components/z-form/z-form.js +5 -6
- package/lib/components/z-list/index.d.ts +3 -3
- package/lib/components/z-list/index.js +1 -2
- package/lib/components/z-list/list.d.ts +17 -17
- package/lib/components/z-list/list.js +7 -8
- package/lib/components/z-operation-records/index.d.ts +3 -3
- package/lib/components/z-operation-records/index.js +1 -2
- package/lib/components/z-operation-records/operationRecords.d.ts +4 -4
- package/lib/components/z-operation-records/operationRecords.js +3 -4
- package/lib/components/z-pointer-block/index.d.ts +3 -3
- package/lib/components/z-pointer-block/index.js +1 -2
- package/lib/components/z-pointer-block/index.less +15 -15
- package/lib/components/z-pointer-block/z-pointer-block.d.ts +16 -16
- package/lib/components/z-pointer-block/z-pointer-block.js +1 -2
- package/lib/components/z-preview/index.d.ts +3 -3
- package/lib/components/z-preview/index.js +1 -2
- package/lib/components/z-preview/preview.d.ts +4 -4
- package/lib/components/z-preview/preview.js +3 -4
- package/lib/components/z-pro-provider/index.d.ts +3 -3
- package/lib/components/z-pro-provider/index.js +1 -2
- package/lib/components/z-pro-provider/z-pro-provider.d.ts +6 -6
- package/lib/components/z-pro-provider/z-pro-provider.js +3 -4
- package/lib/components/z-ranking-list/index.d.ts +2 -2
- package/lib/components/z-ranking-list/index.js +1 -2
- package/lib/components/z-ranking-list/index.less +49 -49
- package/lib/components/z-ranking-list/z-ranking-list.d.ts +14 -14
- package/lib/components/z-ranking-list/z-ranking-list.js +5 -7
- package/lib/components/z-simple-bar/index.d.ts +3 -3
- package/lib/components/z-simple-bar/index.js +1 -2
- package/lib/components/z-simple-bar/index.less +9 -9
- package/lib/components/z-simple-bar/z-simple-bar.d.ts +27 -27
- package/lib/components/z-simple-bar/z-simple-bar.js +1 -2
- package/lib/components/z-singleFactory/index.d.ts +2 -2
- package/lib/components/z-singleFactory/index.js +1 -2
- package/lib/components/z-singleFactory/zSingerFactory.d.ts +2 -3
- package/lib/components/z-singleFactory/zSingerFactory.js +3 -4
- package/lib/components/z-slick/index.d.ts +3 -0
- package/lib/components/z-slick/index.js +7 -0
- package/lib/components/z-slick/slick.d.ts +47 -0
- package/lib/components/z-slick/slick.js +39 -0
- package/lib/components/z-statistic/index.d.ts +3 -3
- package/lib/components/z-statistic/index.js +1 -2
- package/lib/components/z-statistic/index.less +22 -22
- package/lib/components/z-statistic/z-statistic.d.ts +13 -13
- package/lib/components/z-statistic/z-statistic.js +1 -2
- package/lib/components/z-table/index.d.ts +3 -3
- package/lib/components/z-table/index.js +1 -2
- package/lib/components/z-table/table.d.ts +8 -8
- package/lib/components/z-table/table.js +5 -6
- package/lib/components/z-templates-data-common/components/chart-renderer/index.d.ts +12 -14
- package/lib/components/z-templates-data-common/components/chart-renderer/index.js +36 -17
- package/lib/components/z-templates-data-common/data-common.d.ts +20 -105
- package/lib/components/z-templates-data-common/data-common.helper.d.ts +2 -61
- package/lib/components/z-templates-data-common/data-common.helper.js +3 -351
- package/lib/components/z-templates-data-common/data-common.js +85 -66
- package/lib/components/z-templates-data-common/index.d.ts +3 -3
- package/lib/components/z-templates-data-common/index.js +1 -2
- package/lib/components/z-tpl/index.d.ts +3 -3
- package/lib/components/z-tpl/index.js +1 -2
- package/lib/components/z-tpl/tpl.d.ts +23 -23
- package/lib/components/z-tpl/tpl.js +7 -8
- package/lib/components/z-warehouse/index.d.ts +2 -2
- package/lib/components/z-warehouse/index.js +1 -2
- package/lib/components/z-warehouse/zWarehouse.d.ts +2 -3
- package/lib/components/z-warehouse/zWarehouse.js +3 -4
- package/lib/components/z-watermark/index.d.ts +3 -0
- package/lib/components/z-watermark/index.js +7 -0
- package/lib/components/z-watermark/zWatermark.d.ts +3 -0
- package/lib/components/z-watermark/zWatermark.js +8 -0
- package/lib/index.d.ts +44 -38
- package/lib/index.js +8 -2
- package/lib/index.scss +1 -1
- package/lib/style.js +1 -3
- package/lib/utils/hoc.d.ts +6 -6
- package/lib/utils/hoc.js +3 -3
- package/lib/utils/index.d.ts +13 -13
- package/lib/utils/index.js +7 -4
- package/lib/utils/props/button.d.ts +13 -13
- package/lib/utils/props/button.js +2 -3
- package/lib/utils/props/common.d.ts +7 -1
- package/lib/utils/props/common.js +19 -3
- package/lib/utils/props/editTable.d.ts +3 -3
- package/lib/utils/props/editTable.js +23 -17
- package/lib/utils/props/form.d.ts +36 -0
- package/lib/utils/props/form.js +35 -17
- package/lib/utils/props/listTpl.d.ts +29 -29
- package/lib/utils/props/listTpl.js +2 -3
- package/lib/utils/props/microModal.d.ts +7 -7
- package/lib/utils/props/microModal.js +1 -3
- package/lib/utils/props/microSwitch.d.ts +1 -1
- package/lib/utils/props/microSwitch.js +5 -4
- package/lib/utils/props/modalSelect.d.ts +6 -6
- package/lib/utils/props/modalSelect.js +2 -4
- package/lib/utils/props/operationRecords.d.ts +2 -2
- package/lib/utils/props/operationRecords.js +6 -7
- package/lib/utils/props/preview.d.ts +2 -2
- package/lib/utils/props/preview.js +6 -7
- package/lib/utils/props/tpl.d.ts +173 -162
- package/lib/utils/props/tpl.js +3 -5
- package/lib/utils/props/warehouseAndFactory.d.ts +1 -1
- package/lib/utils/props/warehouseAndFactory.js +2 -3
- package/lib/utils/rcProRequest.d.ts +3 -3
- package/lib/utils/rcProRequest.js +3 -4
- package/lib/variables.scss +3 -3
- package/package.json +5 -5
- package/es/components/z-templates-data-common/components/custom-renderer/index.d.ts +0 -13
- package/es/components/z-templates-data-common/components/custom-renderer/index.js +0 -172
- package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +0 -39
- package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.js +0 -1
- package/es/components/z-templates-data-common/components/dim-target/index.d.ts +0 -16
- package/es/components/z-templates-data-common/components/dim-target/index.js +0 -430
- package/es/components/z-templates-data-common/components/dim-target/index.less +0 -49
- package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +0 -8
- package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +0 -26
- package/es/components/z-templates-data-common/components/link-renderer/index.d.ts +0 -16
- package/es/components/z-templates-data-common/components/link-renderer/index.js +0 -320
- package/es/components/z-templates-data-common/components/link-renderer/index.less +0 -33
- package/es/components/z-templates-data-common/components/table-renderer/index.d.ts +0 -6
- package/es/components/z-templates-data-common/components/table-renderer/index.js +0 -481
- package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +0 -64
- package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +0 -220
- package/lib/components/z-templates-data-common/components/custom-renderer/index.d.ts +0 -13
- package/lib/components/z-templates-data-common/components/custom-renderer/index.js +0 -178
- package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +0 -39
- package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.js +0 -3
- package/lib/components/z-templates-data-common/components/dim-target/index.d.ts +0 -16
- package/lib/components/z-templates-data-common/components/dim-target/index.js +0 -438
- package/lib/components/z-templates-data-common/components/dim-target/index.less +0 -49
- package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +0 -8
- package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +0 -30
- package/lib/components/z-templates-data-common/components/link-renderer/index.d.ts +0 -16
- package/lib/components/z-templates-data-common/components/link-renderer/index.js +0 -326
- package/lib/components/z-templates-data-common/components/link-renderer/index.less +0 -33
- package/lib/components/z-templates-data-common/components/table-renderer/index.d.ts +0 -6
- package/lib/components/z-templates-data-common/components/table-renderer/index.js +0 -487
- package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +0 -64
- package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +0 -229
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
@root-entry-name: 'default';
|
|
2
|
-
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
|
-
|
|
4
|
-
.ranking-list .ant-table .ant-table-thead > tr > th {
|
|
5
|
-
border-bottom: none;
|
|
6
|
-
font-size: 13px;
|
|
7
|
-
font-weight: 400;
|
|
8
|
-
color: #999;
|
|
9
|
-
background-color: #fff;
|
|
10
|
-
padding: 8px 5px;
|
|
11
|
-
|
|
12
|
-
&::before {
|
|
13
|
-
display: none;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ranking-list .ant-table .ant-table-tbody > tr > td {
|
|
18
|
-
border-bottom: none;
|
|
19
|
-
font-size: 13px;
|
|
20
|
-
font-weight: 400;
|
|
21
|
-
color: #333;
|
|
22
|
-
padding: 11px 7px;
|
|
23
|
-
background-color: #fff;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ranking-list {
|
|
27
|
-
&-number {
|
|
28
|
-
width: 20px;
|
|
29
|
-
height: 20px;
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
color: #333;
|
|
35
|
-
background-color: #f8f8f8;
|
|
36
|
-
|
|
37
|
-
&.highlight {
|
|
38
|
-
color: #fff;
|
|
39
|
-
// background: #1890ff;
|
|
40
|
-
background: var(--ant-primary-color, @primary-color);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-icon {
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
@root-entry-name: 'default';
|
|
2
|
+
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
|
+
|
|
4
|
+
.ranking-list .ant-table .ant-table-thead > tr > th {
|
|
5
|
+
border-bottom: none;
|
|
6
|
+
font-size: 13px;
|
|
7
|
+
font-weight: 400;
|
|
8
|
+
color: #999;
|
|
9
|
+
background-color: #fff;
|
|
10
|
+
padding: 8px 5px;
|
|
11
|
+
|
|
12
|
+
&::before {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ranking-list .ant-table .ant-table-tbody > tr > td {
|
|
18
|
+
border-bottom: none;
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
color: #333;
|
|
22
|
+
padding: 11px 7px;
|
|
23
|
+
background-color: #fff;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ranking-list {
|
|
27
|
+
&-number {
|
|
28
|
+
width: 20px;
|
|
29
|
+
height: 20px;
|
|
30
|
+
border-radius: 50%;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
color: #333;
|
|
35
|
+
background-color: #f8f8f8;
|
|
36
|
+
|
|
37
|
+
&.highlight {
|
|
38
|
+
color: #fff;
|
|
39
|
+
// background: #1890ff;
|
|
40
|
+
background: var(--ant-primary-color, @primary-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-icon {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 排行榜
|
|
3
|
-
*/
|
|
4
|
-
import { TableProps } from 'antd';
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import './index.less';
|
|
7
|
-
declare const ZRankingList: React.FC<{
|
|
8
|
-
columns: TableProps<any>['columns'];
|
|
9
|
-
dataSource: any[];
|
|
10
|
-
showHeader?: boolean;
|
|
11
|
-
name: React.ReactNode;
|
|
12
|
-
icon?: string[];
|
|
13
|
-
}>;
|
|
14
|
-
export default ZRankingList;
|
|
1
|
+
/**
|
|
2
|
+
* 排行榜
|
|
3
|
+
*/
|
|
4
|
+
import { TableProps } from 'antd';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import './index.less';
|
|
7
|
+
declare const ZRankingList: React.FC<{
|
|
8
|
+
columns: TableProps<any>['columns'];
|
|
9
|
+
dataSource: any[];
|
|
10
|
+
showHeader?: boolean;
|
|
11
|
+
name: React.ReactNode;
|
|
12
|
+
icon?: string[];
|
|
13
|
+
}>;
|
|
14
|
+
export default ZRankingList;
|
|
@@ -10,11 +10,11 @@ var _typography = _interopRequireDefault(require("antd/lib/typography"));
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
require("./index.less");
|
|
12
12
|
var _excluded = ["type", "showRanking", "number"];
|
|
13
|
-
/**
|
|
14
|
-
* 排行榜
|
|
13
|
+
/**
|
|
14
|
+
* 排行榜
|
|
15
15
|
*/
|
|
16
|
-
function _getRequireWildcardCache(
|
|
17
|
-
function _interopRequireWildcard(
|
|
16
|
+
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); }
|
|
17
|
+
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 && {}.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; }
|
|
18
18
|
var Title = _typography["default"].Title;
|
|
19
19
|
var default_icon = ['https://files.ztocwst.com/download/89fb80d693c944a6869ec7feebe52190?isShow=true', 'https://files.ztocwst.com/download/35a8882582ef4266bc6aa922f98af96d?isShow=true', 'https://files.ztocwst.com/download/acf1cc3e1017448e8e2fdda4a35192a9?isShow=true', 'https://files.ztocwst.com/download/84a129b849c44055805733006e4735f9?isShow=true', 'https://files.ztocwst.com/download/41b03e45529b41c9af719e7a173b4668?isShow=true', 'https://files.ztocwst.com/download/8108cbac76d74e2aa5cf4e28bd7202a1?isShow=true', 'https://files.ztocwst.com/download/cae129c2a0ee49558a39f84ce2d966d2?isShow=true', 'https://files.ztocwst.com/download/82e7c9a4804046208b2014c74ef11a05?isShow=true', 'https://files.ztocwst.com/download/e95740589263405d86c8e11ff3a7631d?isShow=true'];
|
|
20
20
|
var ZRankingList = function ZRankingList(props) {
|
|
@@ -102,7 +102,6 @@ var ZRankingList = function ZRankingList(props) {
|
|
|
102
102
|
// return data;
|
|
103
103
|
// }
|
|
104
104
|
};
|
|
105
|
-
|
|
106
105
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Title, {
|
|
107
106
|
level: 4
|
|
108
107
|
}, name || ''), /*#__PURE__*/React.createElement(_table["default"], {
|
|
@@ -116,5 +115,4 @@ var ZRankingList = function ZRankingList(props) {
|
|
|
116
115
|
}
|
|
117
116
|
}));
|
|
118
117
|
};
|
|
119
|
-
var _default = ZRankingList;
|
|
120
|
-
exports["default"] = _default;
|
|
118
|
+
var _default = exports["default"] = ZRankingList;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZSimpleBar from './z-simple-bar';
|
|
2
|
-
export type { TypeZSimpleBarProps } from './z-simple-bar';
|
|
3
|
-
export default ZSimpleBar;
|
|
1
|
+
import ZSimpleBar from './z-simple-bar';
|
|
2
|
+
export type { TypeZSimpleBarProps } from './z-simple-bar';
|
|
3
|
+
export default ZSimpleBar;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _zSimpleBar = _interopRequireDefault(require("./z-simple-bar"));
|
|
7
|
-
var _default = _zSimpleBar["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _zSimpleBar["default"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.z-simple-bar {
|
|
2
|
-
.bar-item {
|
|
3
|
-
margin-bottom: 20px;
|
|
4
|
-
|
|
5
|
-
&:last-child {
|
|
6
|
-
margin-bottom: 0;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
.z-simple-bar {
|
|
2
|
+
.bar-item {
|
|
3
|
+
margin-bottom: 20px;
|
|
4
|
+
|
|
5
|
+
&:last-child {
|
|
6
|
+
margin-bottom: 0;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ProgressProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface TypeZSimpleBarProps extends Omit<ProgressProps, 'format'> {
|
|
5
|
-
/** 数据源 */
|
|
6
|
-
data: any[];
|
|
7
|
-
/** 行key */
|
|
8
|
-
rowKey?: string;
|
|
9
|
-
/**
|
|
10
|
-
* 双行显示
|
|
11
|
-
* @type boolean
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
wrap?: boolean;
|
|
15
|
-
/** 标题字段 */
|
|
16
|
-
titleField?: string | ((v: any, index: number) => React.ReactNode);
|
|
17
|
-
/** 值字段 */
|
|
18
|
-
valueField?: string | ((v: any, index: number) => React.ReactNode);
|
|
19
|
-
/** 百分比字段 */
|
|
20
|
-
percentField?: string | ((v: any, index: number) => React.ReactNode);
|
|
21
|
-
/** 百分比内容格式化,中转其本身的format */
|
|
22
|
-
format?: (percent: number, successPercent: number, item: any, index: number) => string;
|
|
23
|
-
/** 单号显示间距 */
|
|
24
|
-
gap?: number;
|
|
25
|
-
}
|
|
26
|
-
declare const ZSimpleBar: (props: TypeZSimpleBarProps) =>
|
|
27
|
-
export default ZSimpleBar;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ProgressProps } from 'antd';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface TypeZSimpleBarProps extends Omit<ProgressProps, 'format'> {
|
|
5
|
+
/** 数据源 */
|
|
6
|
+
data: any[];
|
|
7
|
+
/** 行key */
|
|
8
|
+
rowKey?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 双行显示
|
|
11
|
+
* @type boolean
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
wrap?: boolean;
|
|
15
|
+
/** 标题字段 */
|
|
16
|
+
titleField?: string | ((v: any, index: number) => React.ReactNode);
|
|
17
|
+
/** 值字段 */
|
|
18
|
+
valueField?: string | ((v: any, index: number) => React.ReactNode);
|
|
19
|
+
/** 百分比字段 */
|
|
20
|
+
percentField?: string | ((v: any, index: number) => React.ReactNode);
|
|
21
|
+
/** 百分比内容格式化,中转其本身的format */
|
|
22
|
+
format?: (percent: number, successPercent: number, item: any, index: number) => string;
|
|
23
|
+
/** 单号显示间距 */
|
|
24
|
+
gap?: number;
|
|
25
|
+
}
|
|
26
|
+
declare const ZSimpleBar: (props: TypeZSimpleBarProps) => JSX.Element;
|
|
27
|
+
export default ZSimpleBar;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import ZSingerFactory from './zSingerFactory';
|
|
2
|
-
export default ZSingerFactory;
|
|
1
|
+
import ZSingerFactory from './zSingerFactory';
|
|
2
|
+
export default ZSingerFactory;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _zSingerFactory = _interopRequireDefault(require("./zSingerFactory"));
|
|
7
|
-
var _default = _zSingerFactory["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _zSingerFactory["default"];
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default ZSingerFactory;
|
|
1
|
+
declare const ZSingerFactory: (props: any) => JSX.Element;
|
|
2
|
+
export default ZSingerFactory;
|
|
@@ -5,12 +5,11 @@ exports["default"] = void 0;
|
|
|
5
5
|
var React = _interopRequireWildcard(require("react"));
|
|
6
6
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
7
7
|
var _utils = require("../../utils");
|
|
8
|
-
function _getRequireWildcardCache(
|
|
9
|
-
function _interopRequireWildcard(
|
|
8
|
+
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); }
|
|
9
|
+
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 && {}.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; }
|
|
10
10
|
var ZSingerFactory = function ZSingerFactory(props) {
|
|
11
11
|
var singleFactoryProps = props.singleFactoryProps;
|
|
12
12
|
var factoryProps = (0, _utils.processWarehouseAndFactoryProps)(singleFactoryProps);
|
|
13
13
|
return /*#__PURE__*/React.createElement(_rcPro.SingleFactory, factoryProps);
|
|
14
14
|
};
|
|
15
|
-
var _default = ZSingerFactory;
|
|
16
|
-
exports["default"] = _default;
|
|
15
|
+
var _default = exports["default"] = ZSingerFactory;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _slick = _interopRequireDefault(require("./slick"));
|
|
7
|
+
var _default = exports["default"] = _slick["default"];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TypeZSlickProps {
|
|
3
|
+
/** 自动切换 */
|
|
4
|
+
autoplay: boolean;
|
|
5
|
+
/** 面板指示点位置 */
|
|
6
|
+
dotPosition: 'top' | 'bottom' | 'left' | 'right';
|
|
7
|
+
/** 是否显示面板指示点 */
|
|
8
|
+
dots: boolean | {
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
/** 动画效果 */
|
|
12
|
+
easing: string;
|
|
13
|
+
/** 动画效果函数 */
|
|
14
|
+
effect: 'scrollx' | 'fade';
|
|
15
|
+
/** 是否无线循环 */
|
|
16
|
+
infinite: boolean;
|
|
17
|
+
/** 显示几张幻灯片 */
|
|
18
|
+
slidesToShow: number;
|
|
19
|
+
/** 一次滚动几张 */
|
|
20
|
+
slidesToScroll: number;
|
|
21
|
+
/** 是否垂直切换 */
|
|
22
|
+
vertical: boolean;
|
|
23
|
+
/** 自动播放速度 */
|
|
24
|
+
speed: number;
|
|
25
|
+
/** 自动滚动的延迟,默认3000ms */
|
|
26
|
+
autoplaySpeed: number;
|
|
27
|
+
/** 鼠标悬停暂停切换 */
|
|
28
|
+
pauseOnHover: boolean;
|
|
29
|
+
/** 电梯模式 */
|
|
30
|
+
centerMode: boolean;
|
|
31
|
+
/** centerPadding */
|
|
32
|
+
centerPadding: string;
|
|
33
|
+
rows?: number;
|
|
34
|
+
slidesPerRow?: number;
|
|
35
|
+
/** 切换面板的回调 */
|
|
36
|
+
afterChange: (current: any) => void;
|
|
37
|
+
/** 切换面板的回调 */
|
|
38
|
+
beforeChange: (from: any, to: any) => void;
|
|
39
|
+
children: React.ReactChild;
|
|
40
|
+
restProps?: any;
|
|
41
|
+
}
|
|
42
|
+
export default class ZSlickContainer extends React.Component<TypeZSlickProps, any> {
|
|
43
|
+
slickRef: any;
|
|
44
|
+
constructor(props: any);
|
|
45
|
+
getRef: () => any;
|
|
46
|
+
render(): JSX.Element;
|
|
47
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
|
|
7
|
+
var _carousel = _interopRequireDefault(require("antd/lib/carousel"));
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _excluded = ["children", "restProps"];
|
|
12
|
+
var ZSlick = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
|
|
13
|
+
var children = props.children,
|
|
14
|
+
restProps = props.restProps,
|
|
15
|
+
rest = (0, _objectWithoutPropertiesLoose2["default"])(props, _excluded);
|
|
16
|
+
return /*#__PURE__*/_react["default"].createElement(_carousel["default"], (0, _extends2["default"])({
|
|
17
|
+
ref: ref
|
|
18
|
+
}, rest, typeof restProps === 'function' ? restProps() : restProps), children);
|
|
19
|
+
});
|
|
20
|
+
var ZSlickContainer = exports["default"] = /*#__PURE__*/function (_React$Component) {
|
|
21
|
+
function ZSlickContainer(props) {
|
|
22
|
+
var _this;
|
|
23
|
+
_this = _React$Component.call(this, props) || this;
|
|
24
|
+
_this.slickRef = void 0;
|
|
25
|
+
_this.getRef = function () {
|
|
26
|
+
return _this.slickRef.current;
|
|
27
|
+
};
|
|
28
|
+
_this.slickRef = /*#__PURE__*/_react["default"].createRef();
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
(0, _inheritsLoose2["default"])(ZSlickContainer, _React$Component);
|
|
32
|
+
var _proto = ZSlickContainer.prototype;
|
|
33
|
+
_proto.render = function render() {
|
|
34
|
+
return /*#__PURE__*/_react["default"].createElement(ZSlick, (0, _extends2["default"])({}, this.props, {
|
|
35
|
+
ref: this.slickRef
|
|
36
|
+
}));
|
|
37
|
+
};
|
|
38
|
+
return ZSlickContainer;
|
|
39
|
+
}(_react["default"].Component);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZStatistic from './z-statistic';
|
|
2
|
-
export type { TypeZStatisticProps } from './z-statistic';
|
|
3
|
-
export default ZStatistic;
|
|
1
|
+
import ZStatistic from './z-statistic';
|
|
2
|
+
export type { TypeZStatisticProps } from './z-statistic';
|
|
3
|
+
export default ZStatistic;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _zStatistic = _interopRequireDefault(require("./z-statistic"));
|
|
7
|
-
var _default = _zStatistic["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _zStatistic["default"];
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.statistic-wrap {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
|
|
5
|
-
.statistic-title-suffix {
|
|
6
|
-
margin-left: 4px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.statistic-left {
|
|
10
|
-
flex: 1;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.statistic-right {
|
|
14
|
-
text-align: right;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.statistic-right-title-extra {
|
|
18
|
-
margin-bottom: 4px;
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
min-height: 22px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
.statistic-wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
|
|
5
|
+
.statistic-title-suffix {
|
|
6
|
+
margin-left: 4px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.statistic-left {
|
|
10
|
+
flex: 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.statistic-right {
|
|
14
|
+
text-align: right;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.statistic-right-title-extra {
|
|
18
|
+
margin-bottom: 4px;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
min-height: 22px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { StatisticProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface TypeZStatisticProps extends StatisticProps {
|
|
5
|
-
/** 标题后缀 */
|
|
6
|
-
titleSuffix?: string | React.ReactNode;
|
|
7
|
-
/** 标题附加内容 */
|
|
8
|
-
titleExtra?: string | React.ReactNode;
|
|
9
|
-
/** 值附加内容 */
|
|
10
|
-
valueExtra?: string | React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
declare const ZStatistic: (props: TypeZStatisticProps) =>
|
|
13
|
-
export default ZStatistic;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StatisticProps } from 'antd';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface TypeZStatisticProps extends StatisticProps {
|
|
5
|
+
/** 标题后缀 */
|
|
6
|
+
titleSuffix?: string | React.ReactNode;
|
|
7
|
+
/** 标题附加内容 */
|
|
8
|
+
titleExtra?: string | React.ReactNode;
|
|
9
|
+
/** 值附加内容 */
|
|
10
|
+
valueExtra?: string | React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
declare const ZStatistic: (props: TypeZStatisticProps) => JSX.Element;
|
|
13
|
+
export default ZStatistic;
|
|
@@ -31,5 +31,4 @@ var ZStatistic = function ZStatistic(props) {
|
|
|
31
31
|
className: "statistic-right-title-extra"
|
|
32
32
|
}, titleExtra), /*#__PURE__*/React.createElement("div", null, valueExtra)) : null);
|
|
33
33
|
};
|
|
34
|
-
var _default = ZStatistic;
|
|
35
|
-
exports["default"] = _default;
|
|
34
|
+
var _default = exports["default"] = ZStatistic;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZTable from './table';
|
|
2
|
-
export type { ProTableProps } from '@ztocwst/rc-pro';
|
|
3
|
-
export default ZTable;
|
|
1
|
+
import ZTable from './table';
|
|
2
|
+
export type { ProTableProps } from '@ztocwst/rc-pro';
|
|
3
|
+
export default ZTable;
|
|
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
6
|
var _table = _interopRequireDefault(require("./table"));
|
|
7
|
-
var _default = _table["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _table["default"];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ProTableProps } from '@ztocwst/rc-pro';
|
|
3
|
-
export default class ZTableContainer extends React.Component<ProTableProps, any> {
|
|
4
|
-
tableRef: any;
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
getTableRef: () => any;
|
|
7
|
-
render():
|
|
8
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ProTableProps } from '@ztocwst/rc-pro';
|
|
3
|
+
export default class ZTableContainer extends React.Component<ProTableProps, any> {
|
|
4
|
+
tableRef: any;
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
getTableRef: () => any;
|
|
7
|
+
render(): JSX.Element;
|
|
8
|
+
}
|
|
@@ -8,8 +8,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
8
8
|
var React = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
10
10
|
var _utils = require("../../utils");
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
11
|
+
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); }
|
|
12
|
+
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 && {}.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; }
|
|
13
13
|
var ZTable = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
14
14
|
var _props = (0, _utils.processMicroSwitchProps)(props, ref);
|
|
15
15
|
return /*#__PURE__*/React.createElement(_rcPro.ProTable, (0, _extends2["default"])({
|
|
@@ -19,8 +19,7 @@ var ZTable = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
19
19
|
key: Date.now()
|
|
20
20
|
} : {}));
|
|
21
21
|
});
|
|
22
|
-
var ZTableContainer = /*#__PURE__*/function (_React$Component) {
|
|
23
|
-
(0, _inheritsLoose2["default"])(ZTableContainer, _React$Component);
|
|
22
|
+
var ZTableContainer = exports["default"] = /*#__PURE__*/function (_React$Component) {
|
|
24
23
|
function ZTableContainer(props) {
|
|
25
24
|
var _this;
|
|
26
25
|
_this = _React$Component.call(this, props) || this;
|
|
@@ -31,6 +30,7 @@ var ZTableContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
31
30
|
_this.tableRef = /*#__PURE__*/React.createRef();
|
|
32
31
|
return _this;
|
|
33
32
|
}
|
|
33
|
+
(0, _inheritsLoose2["default"])(ZTableContainer, _React$Component);
|
|
34
34
|
var _proto = ZTableContainer.prototype;
|
|
35
35
|
_proto.render = function render() {
|
|
36
36
|
return /*#__PURE__*/React.createElement(ZTable, (0, _extends2["default"])({}, this.props, {
|
|
@@ -38,5 +38,4 @@ var ZTableContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
return ZTableContainer;
|
|
41
|
-
}(React.Component);
|
|
42
|
-
exports["default"] = ZTableContainer;
|
|
41
|
+
}(React.Component);
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
export interface ChartRendererProps {
|
|
5
|
-
chartSetting?:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare const ChartRenderer: ({ chartRenderRef, chartSetting, onConfirm }: ChartRendererProps) => JSX.Element | Pick<TypeZTemplatesDataCommonProps, "chartSetting">;
|
|
14
|
-
export default ChartRenderer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DataTableInstance, DataTableProps } from '@ztocwst/rc-pro';
|
|
3
|
+
import type { tabsSettingProps } from '../../data-common';
|
|
4
|
+
export interface ChartRendererProps {
|
|
5
|
+
chartSetting?: DataTableProps | DataTableProps[] | React.ReactNode;
|
|
6
|
+
tabsSetting?: tabsSettingProps;
|
|
7
|
+
chartRenderRef?: React.Ref<DataTableInstance>;
|
|
8
|
+
/** 确认 */
|
|
9
|
+
onConfirm?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const ChartRenderer: ({ chartRenderRef, tabsSetting, chartSetting, onConfirm }: ChartRendererProps) => any;
|
|
12
|
+
export default ChartRenderer;
|