@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,134 +1,134 @@
|
|
|
1
|
-
@root-entry-name: 'default';
|
|
2
|
-
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
|
-
|
|
4
|
-
.pointer-block-wrap {
|
|
5
|
-
box-shadow: 0px 4px 16px 2px rgba(0, 0, 0, 0.1);
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
padding: 16px;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
transition: all 0.3s ease-in 0s;
|
|
10
|
-
|
|
11
|
-
&.animate:hover {
|
|
12
|
-
position: relative;
|
|
13
|
-
z-index: 99;
|
|
14
|
-
transform: scale(1.05);
|
|
15
|
-
transition: all 0.3s ease-in;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.pointer-block-title {
|
|
20
|
-
display: flex;
|
|
21
|
-
// color: #487ffb;
|
|
22
|
-
// color: @primary-color;
|
|
23
|
-
color: var(--ant-primary-color, @primary-color);
|
|
24
|
-
|
|
25
|
-
.ant-typography {
|
|
26
|
-
color: inherit;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.pointer-block-title-l {
|
|
31
|
-
flex: 1;
|
|
32
|
-
|
|
33
|
-
.title {
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.sub-title {
|
|
38
|
-
font-size: 24px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
img {
|
|
42
|
-
width: 80px;
|
|
43
|
-
height: 80px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.pointer-block-content {
|
|
48
|
-
margin-top: 10px;
|
|
49
|
-
display: grid;
|
|
50
|
-
grid-gap: 10px;
|
|
51
|
-
grid-template-columns: repeat(1, 1fr);
|
|
52
|
-
|
|
53
|
-
.z-pointer-block {
|
|
54
|
-
border: 0;
|
|
55
|
-
transition: all 0.3s ease-in 0s;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.z-pointer-block.animate:hover {
|
|
59
|
-
box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.1);
|
|
60
|
-
transform: scale(1.05);
|
|
61
|
-
transition: all 0.3s ease-in;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// 流程指标块
|
|
65
|
-
&.process .z-pointer-block-panel,
|
|
66
|
-
&.process > * {
|
|
67
|
-
position: relative;
|
|
68
|
-
|
|
69
|
-
&::before {
|
|
70
|
-
position: absolute;
|
|
71
|
-
top: -6px;
|
|
72
|
-
// left: -20px;
|
|
73
|
-
left: 0;
|
|
74
|
-
display: inline-block;
|
|
75
|
-
width: 104%;
|
|
76
|
-
height: 1px;
|
|
77
|
-
background: #e5e5e5;
|
|
78
|
-
content: '';
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&:first-child::before {
|
|
82
|
-
left: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&::after {
|
|
86
|
-
position: absolute;
|
|
87
|
-
top: -10px;
|
|
88
|
-
left: -10px;
|
|
89
|
-
display: inline-block;
|
|
90
|
-
width: 10px;
|
|
91
|
-
height: 10px;
|
|
92
|
-
background: #fff;
|
|
93
|
-
// border: 2px solid @primary-color;
|
|
94
|
-
border: 2px solid var(--ant-primary-color, @primary-color);
|
|
95
|
-
border-radius: 50%;
|
|
96
|
-
content: '';
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// 纵向
|
|
101
|
-
&.vertical .z-pointer-block-panel,
|
|
102
|
-
&.vertical > * {
|
|
103
|
-
&::before {
|
|
104
|
-
position: absolute;
|
|
105
|
-
// top: -20px;
|
|
106
|
-
top: 0;
|
|
107
|
-
left: -6px;
|
|
108
|
-
display: inline-block;
|
|
109
|
-
width: 1px;
|
|
110
|
-
height: 110%;
|
|
111
|
-
background: #e5e5e5;
|
|
112
|
-
content: '';
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&:first-child::before {
|
|
116
|
-
top: 0;
|
|
117
|
-
left: -6px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&::after {
|
|
121
|
-
position: absolute;
|
|
122
|
-
top: -10px;
|
|
123
|
-
left: -10px;
|
|
124
|
-
display: inline-block;
|
|
125
|
-
width: 10px;
|
|
126
|
-
height: 10px;
|
|
127
|
-
background: #fff;
|
|
128
|
-
// border: 2px solid @primary-color;
|
|
129
|
-
border: 2px solid var(--ant-primary-color, @primary-color);
|
|
130
|
-
border-radius: 50%;
|
|
131
|
-
content: '';
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
1
|
+
@root-entry-name: 'default';
|
|
2
|
+
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
|
+
|
|
4
|
+
.pointer-block-wrap {
|
|
5
|
+
box-shadow: 0px 4px 16px 2px rgba(0, 0, 0, 0.1);
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
padding: 16px;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
transition: all 0.3s ease-in 0s;
|
|
10
|
+
|
|
11
|
+
&.animate:hover {
|
|
12
|
+
position: relative;
|
|
13
|
+
z-index: 99;
|
|
14
|
+
transform: scale(1.05);
|
|
15
|
+
transition: all 0.3s ease-in;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pointer-block-title {
|
|
20
|
+
display: flex;
|
|
21
|
+
// color: #487ffb;
|
|
22
|
+
// color: @primary-color;
|
|
23
|
+
color: var(--ant-primary-color, @primary-color);
|
|
24
|
+
|
|
25
|
+
.ant-typography {
|
|
26
|
+
color: inherit;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pointer-block-title-l {
|
|
31
|
+
flex: 1;
|
|
32
|
+
|
|
33
|
+
.title {
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.sub-title {
|
|
38
|
+
font-size: 24px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
img {
|
|
42
|
+
width: 80px;
|
|
43
|
+
height: 80px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.pointer-block-content {
|
|
48
|
+
margin-top: 10px;
|
|
49
|
+
display: grid;
|
|
50
|
+
grid-gap: 10px;
|
|
51
|
+
grid-template-columns: repeat(1, 1fr);
|
|
52
|
+
|
|
53
|
+
.z-pointer-block {
|
|
54
|
+
border: 0;
|
|
55
|
+
transition: all 0.3s ease-in 0s;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.z-pointer-block.animate:hover {
|
|
59
|
+
box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.1);
|
|
60
|
+
transform: scale(1.05);
|
|
61
|
+
transition: all 0.3s ease-in;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 流程指标块
|
|
65
|
+
&.process .z-pointer-block-panel,
|
|
66
|
+
&.process > * {
|
|
67
|
+
position: relative;
|
|
68
|
+
|
|
69
|
+
&::before {
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: -6px;
|
|
72
|
+
// left: -20px;
|
|
73
|
+
left: 0;
|
|
74
|
+
display: inline-block;
|
|
75
|
+
width: 104%;
|
|
76
|
+
height: 1px;
|
|
77
|
+
background: #e5e5e5;
|
|
78
|
+
content: '';
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:first-child::before {
|
|
82
|
+
left: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&::after {
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: -10px;
|
|
88
|
+
left: -10px;
|
|
89
|
+
display: inline-block;
|
|
90
|
+
width: 10px;
|
|
91
|
+
height: 10px;
|
|
92
|
+
background: #fff;
|
|
93
|
+
// border: 2px solid @primary-color;
|
|
94
|
+
border: 2px solid var(--ant-primary-color, @primary-color);
|
|
95
|
+
border-radius: 50%;
|
|
96
|
+
content: '';
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// 纵向
|
|
101
|
+
&.vertical .z-pointer-block-panel,
|
|
102
|
+
&.vertical > * {
|
|
103
|
+
&::before {
|
|
104
|
+
position: absolute;
|
|
105
|
+
// top: -20px;
|
|
106
|
+
top: 0;
|
|
107
|
+
left: -6px;
|
|
108
|
+
display: inline-block;
|
|
109
|
+
width: 1px;
|
|
110
|
+
height: 110%;
|
|
111
|
+
background: #e5e5e5;
|
|
112
|
+
content: '';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:first-child::before {
|
|
116
|
+
top: 0;
|
|
117
|
+
left: -6px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&::after {
|
|
121
|
+
position: absolute;
|
|
122
|
+
top: -10px;
|
|
123
|
+
left: -10px;
|
|
124
|
+
display: inline-block;
|
|
125
|
+
width: 10px;
|
|
126
|
+
height: 10px;
|
|
127
|
+
background: #fff;
|
|
128
|
+
// border: 2px solid @primary-color;
|
|
129
|
+
border: 2px solid var(--ant-primary-color, @primary-color);
|
|
130
|
+
border-radius: 50%;
|
|
131
|
+
content: '';
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
import { TypeZPointerBlockProps } from '../z-pointer-block';
|
|
4
|
-
export interface TypeAggBlockProps {
|
|
5
|
-
/** 背景色 */
|
|
6
|
-
color?: {
|
|
7
|
-
start: string;
|
|
8
|
-
end: string;
|
|
9
|
-
};
|
|
10
|
-
/** 标题 */
|
|
11
|
-
title?: React.ReactNode;
|
|
12
|
-
/** 副标题 */
|
|
13
|
-
subTitle?: React.ReactNode;
|
|
14
|
-
/** 额外附属配置 */
|
|
15
|
-
extra?: React.ReactNode;
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
/** 流程指标 */
|
|
18
|
-
process?: boolean;
|
|
19
|
-
/** 方向:横向 | 纵向 */
|
|
20
|
-
direction?: 'horizontal' | 'vertical';
|
|
21
|
-
/** 一行几列 */
|
|
22
|
-
column?: number;
|
|
23
|
-
items?: TypeZPointerBlockProps[] | React.ReactNode;
|
|
24
|
-
onClick?: (item: any) => void;
|
|
25
|
-
}
|
|
26
|
-
declare const ZAggBlock: React.FC<TypeAggBlockProps>;
|
|
27
|
-
export default ZAggBlock;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
import { TypeZPointerBlockProps } from '../z-pointer-block';
|
|
4
|
+
export interface TypeAggBlockProps {
|
|
5
|
+
/** 背景色 */
|
|
6
|
+
color?: {
|
|
7
|
+
start: string;
|
|
8
|
+
end: string;
|
|
9
|
+
};
|
|
10
|
+
/** 标题 */
|
|
11
|
+
title?: React.ReactNode;
|
|
12
|
+
/** 副标题 */
|
|
13
|
+
subTitle?: React.ReactNode;
|
|
14
|
+
/** 额外附属配置 */
|
|
15
|
+
extra?: React.ReactNode;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
/** 流程指标 */
|
|
18
|
+
process?: boolean;
|
|
19
|
+
/** 方向:横向 | 纵向 */
|
|
20
|
+
direction?: 'horizontal' | 'vertical';
|
|
21
|
+
/** 一行几列 */
|
|
22
|
+
column?: number;
|
|
23
|
+
items?: TypeZPointerBlockProps[] | React.ReactNode;
|
|
24
|
+
onClick?: (item: any) => void;
|
|
25
|
+
}
|
|
26
|
+
declare const ZAggBlock: React.FC<TypeAggBlockProps>;
|
|
27
|
+
export default ZAggBlock;
|
|
@@ -50,7 +50,7 @@ var ZAggBlock = function ZAggBlock(_ref) {
|
|
|
50
50
|
gridTemplateColumns: "repeat(" + (column || 1) + ", 1fr)"
|
|
51
51
|
}
|
|
52
52
|
}, /*#__PURE__*/_react["default"].isValidElement(rest.items) ? rest.items : (_rest$items = rest.items) === null || _rest$items === void 0 ? void 0 : _rest$items.map(function (e, index) {
|
|
53
|
-
if (
|
|
53
|
+
if (/*#__PURE__*/_react["default"].isValidElement(e)) {
|
|
54
54
|
// todo 统一处理点击事件
|
|
55
55
|
return e;
|
|
56
56
|
}
|
|
@@ -59,5 +59,4 @@ var ZAggBlock = function ZAggBlock(_ref) {
|
|
|
59
59
|
}, e));
|
|
60
60
|
})));
|
|
61
61
|
};
|
|
62
|
-
var _default = ZAggBlock;
|
|
63
|
-
exports["default"] = _default;
|
|
62
|
+
var _default = exports["default"] = ZAggBlock;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface TypeAuthProps {
|
|
3
|
-
/** 权限编码集合 */
|
|
4
|
-
authCodes?: string[];
|
|
5
|
-
/** 编码 */
|
|
6
|
-
code: string;
|
|
7
|
-
}
|
|
8
|
-
declare const Auth: React.FC<TypeAuthProps>;
|
|
9
|
-
export default Auth;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TypeAuthProps {
|
|
3
|
+
/** 权限编码集合 */
|
|
4
|
+
authCodes?: string[];
|
|
5
|
+
/** 编码 */
|
|
6
|
+
code: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Auth: React.FC<TypeAuthProps>;
|
|
9
|
+
export default Auth;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZAuth from './auth';
|
|
2
|
-
export type { TypeAuthProps } from './auth';
|
|
3
|
-
export default ZAuth;
|
|
1
|
+
import ZAuth from './auth';
|
|
2
|
+
export type { TypeAuthProps } from './auth';
|
|
3
|
+
export default ZAuth;
|
|
@@ -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 _auth = _interopRequireDefault(require("./auth"));
|
|
7
|
-
var _default = _auth["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _auth["default"];
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface TypeZBoxProps {
|
|
4
|
-
/** 对齐方向 */
|
|
5
|
-
direction: 'column' | 'row';
|
|
6
|
-
/** 主轴对齐 */
|
|
7
|
-
justify: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around';
|
|
8
|
-
/** 交叉轴对齐 */
|
|
9
|
-
align: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
10
|
-
/** 宽度 */
|
|
11
|
-
width: '' | '100%';
|
|
12
|
-
/** 间距 */
|
|
13
|
-
spacing: number;
|
|
14
|
-
style?: CSSProperties;
|
|
15
|
-
className?: string;
|
|
16
|
-
/** 是否换行 */
|
|
17
|
-
wrap: 'wrap' | 'nowrap';
|
|
18
|
-
}
|
|
19
|
-
declare const ZBox: React.FC<TypeZBoxProps>;
|
|
20
|
-
export default ZBox;
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface TypeZBoxProps {
|
|
4
|
+
/** 对齐方向 */
|
|
5
|
+
direction: 'column' | 'row';
|
|
6
|
+
/** 主轴对齐 */
|
|
7
|
+
justify: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around';
|
|
8
|
+
/** 交叉轴对齐 */
|
|
9
|
+
align: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
10
|
+
/** 宽度 */
|
|
11
|
+
width: '' | '100%';
|
|
12
|
+
/** 间距 */
|
|
13
|
+
spacing: number;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
className?: string;
|
|
16
|
+
/** 是否换行 */
|
|
17
|
+
wrap: 'wrap' | 'nowrap';
|
|
18
|
+
}
|
|
19
|
+
declare const ZBox: React.FC<TypeZBoxProps>;
|
|
20
|
+
export default ZBox;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZBox from './box';
|
|
2
|
-
export type { TypeZBoxProps } from './box';
|
|
3
|
-
export default ZBox;
|
|
1
|
+
import ZBox from './box';
|
|
2
|
+
export type { TypeZBoxProps } from './box';
|
|
3
|
+
export default ZBox;
|
|
@@ -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 _box = _interopRequireDefault(require("./box"));
|
|
7
|
-
var _default = _box["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _box["default"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.rc-z-box {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
display: flex;
|
|
4
|
-
}
|
|
1
|
+
.rc-z-box {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
display: flex;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZButton from './z-button';
|
|
2
|
-
export type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
|
|
3
|
-
export default ZButton;
|
|
1
|
+
import ZButton from './z-button';
|
|
2
|
+
export type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
|
|
3
|
+
export default ZButton;
|
|
@@ -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 _zButton = _interopRequireDefault(require("./z-button"));
|
|
7
|
-
var _default = _zButton["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _zButton["default"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
|
|
3
|
-
declare const ZButton: React.FC<ProButtonProps>;
|
|
4
|
-
export default ZButton;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
|
|
3
|
+
declare const ZButton: React.FC<ProButtonProps>;
|
|
4
|
+
export default ZButton;
|
|
@@ -5,12 +5,12 @@ 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
|
// import { bizCssPrefix } from '../../variables';
|
|
11
11
|
// import './index.scss';
|
|
12
|
+
|
|
12
13
|
var ZButton = function ZButton(props) {
|
|
13
14
|
return /*#__PURE__*/React.createElement(_rcPro.ProButton, (0, _utils.processButtonProps)(props));
|
|
14
15
|
};
|
|
15
|
-
var _default = ZButton;
|
|
16
|
-
exports["default"] = _default;
|
|
16
|
+
var _default = exports["default"] = ZButton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
|
|
3
|
-
declare const ZConfigProvider: React.FC<RcConfigConsumerProps>;
|
|
4
|
-
export default ZConfigProvider;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
|
|
3
|
+
declare const ZConfigProvider: React.FC<RcConfigConsumerProps>;
|
|
4
|
+
export default ZConfigProvider;
|
|
@@ -9,17 +9,38 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
9
9
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
10
10
|
var _common = require("../../utils/props/common");
|
|
11
11
|
var _excluded = ["children"],
|
|
12
|
-
_excluded2 = ["authBtns", "singleWarehouseConfig", "singleFactoryConfig"];
|
|
13
|
-
function _getRequireWildcardCache(
|
|
14
|
-
function _interopRequireWildcard(
|
|
12
|
+
_excluded2 = ["authBtns", "singleWarehouseConfig", "singleFactoryConfig", "asyncSelect", "form", "ossConfig", "print", "tableOptions", "tplOptions"];
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
15
|
var ZConfigProvider = function ZConfigProvider(_ref) {
|
|
16
|
+
var _singleWarehouseConfi, _singleFactoryConfig$, _asyncSelect$fieldNam, _asyncSelect$pager, _form$footer, _print$printer, _tableOptions$paginat, _tableOptions$sortNam;
|
|
16
17
|
var children = _ref.children,
|
|
17
18
|
rest = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
18
19
|
var _rest$authBtns = rest.authBtns,
|
|
19
20
|
authBtns = _rest$authBtns === void 0 ? [] : _rest$authBtns,
|
|
20
21
|
singleWarehouseConfig = rest.singleWarehouseConfig,
|
|
21
22
|
singleFactoryConfig = rest.singleFactoryConfig,
|
|
23
|
+
asyncSelect = rest.asyncSelect,
|
|
24
|
+
form = rest.form,
|
|
25
|
+
ossConfig = rest.ossConfig,
|
|
26
|
+
print = rest.print,
|
|
27
|
+
tableOptions = rest.tableOptions,
|
|
28
|
+
tplOptions = rest.tplOptions,
|
|
22
29
|
restProps = (0, _objectWithoutPropertiesLoose2["default"])(rest, _excluded2);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* 过滤空对象,如果对象中的值都是undefined,整个对象赋值 undefined
|
|
34
|
+
* asyncSelect 中的 fieldNames、pager 对象
|
|
35
|
+
* form 中的 footer对象
|
|
36
|
+
* ossConfig 对象
|
|
37
|
+
* print 中的 printer
|
|
38
|
+
* tableOptions 中的 pagination、sortNames
|
|
39
|
+
* tplOptions 对象
|
|
40
|
+
* singleWarehouseConfig 中 defaultConfig
|
|
41
|
+
* singleFactoryConfig 中 defaultConfig
|
|
42
|
+
*/
|
|
43
|
+
|
|
23
44
|
var props = (0, _extends2["default"])({
|
|
24
45
|
authBtns: authBtns === null || authBtns === void 0 ? void 0 : authBtns.map(function (e) {
|
|
25
46
|
return (0, _extends2["default"])({}, e, {
|
|
@@ -28,13 +49,32 @@ var ZConfigProvider = function ZConfigProvider(_ref) {
|
|
|
28
49
|
}),
|
|
29
50
|
singleWarehouseConfig: (0, _extends2["default"])({}, singleWarehouseConfig, singleWarehouseConfig !== null && singleWarehouseConfig !== void 0 && singleWarehouseConfig.requestConfig ? {
|
|
30
51
|
requestConfig: (0, _common.processRequestConfig)(singleWarehouseConfig === null || singleWarehouseConfig === void 0 ? void 0 : singleWarehouseConfig.requestConfig)
|
|
31
|
-
} : {}
|
|
52
|
+
} : {}, {
|
|
53
|
+
defaultConfig: (0, _common.processEmptyObject)((_singleWarehouseConfi = singleWarehouseConfig === null || singleWarehouseConfig === void 0 ? void 0 : singleWarehouseConfig.defaultConfig) !== null && _singleWarehouseConfi !== void 0 ? _singleWarehouseConfi : {})
|
|
54
|
+
}),
|
|
32
55
|
singleFactoryConfig: (0, _extends2["default"])({}, singleFactoryConfig, singleFactoryConfig !== null && singleFactoryConfig !== void 0 && singleFactoryConfig.requestConfig ? {
|
|
33
56
|
requestConfig: (0, _common.processRequestConfig)(singleFactoryConfig === null || singleFactoryConfig === void 0 ? void 0 : singleFactoryConfig.requestConfig)
|
|
34
|
-
} : {}
|
|
57
|
+
} : {}, {
|
|
58
|
+
defaultConfig: (0, _common.processEmptyObject)((_singleFactoryConfig$ = singleFactoryConfig === null || singleFactoryConfig === void 0 ? void 0 : singleFactoryConfig.defaultConfig) !== null && _singleFactoryConfig$ !== void 0 ? _singleFactoryConfig$ : {})
|
|
59
|
+
}),
|
|
60
|
+
asyncSelect: (0, _extends2["default"])({}, asyncSelect, {
|
|
61
|
+
fieldNames: (0, _common.processEmptyObject)((_asyncSelect$fieldNam = asyncSelect === null || asyncSelect === void 0 ? void 0 : asyncSelect.fieldNames) !== null && _asyncSelect$fieldNam !== void 0 ? _asyncSelect$fieldNam : {}),
|
|
62
|
+
pager: (0, _common.processEmptyObject)((_asyncSelect$pager = asyncSelect === null || asyncSelect === void 0 ? void 0 : asyncSelect.pager) !== null && _asyncSelect$pager !== void 0 ? _asyncSelect$pager : {})
|
|
63
|
+
}),
|
|
64
|
+
form: (0, _extends2["default"])({}, form, {
|
|
65
|
+
footer: (0, _common.processEmptyObject)((_form$footer = form === null || form === void 0 ? void 0 : form.footer) !== null && _form$footer !== void 0 ? _form$footer : {})
|
|
66
|
+
}),
|
|
67
|
+
ossConfig: (0, _common.processEmptyObject)(ossConfig !== null && ossConfig !== void 0 ? ossConfig : {}),
|
|
68
|
+
print: (0, _extends2["default"])({}, print, {
|
|
69
|
+
printer: (0, _common.processEmptyObject)((_print$printer = print === null || print === void 0 ? void 0 : print.printer) !== null && _print$printer !== void 0 ? _print$printer : {})
|
|
70
|
+
}),
|
|
71
|
+
tableOptions: (0, _extends2["default"])({}, tableOptions, {
|
|
72
|
+
pagination: (0, _common.processEmptyObject)((_tableOptions$paginat = tableOptions === null || tableOptions === void 0 ? void 0 : tableOptions.pagination) !== null && _tableOptions$paginat !== void 0 ? _tableOptions$paginat : {}),
|
|
73
|
+
sortNames: (0, _common.processEmptyObject)((_tableOptions$sortNam = tableOptions === null || tableOptions === void 0 ? void 0 : tableOptions.sortNames) !== null && _tableOptions$sortNam !== void 0 ? _tableOptions$sortNam : {})
|
|
74
|
+
}),
|
|
75
|
+
tplOptions: (0, _common.processEmptyObject)(tplOptions !== null && tplOptions !== void 0 ? tplOptions : {})
|
|
35
76
|
}, restProps);
|
|
36
77
|
console.log(props, 'configProvider');
|
|
37
78
|
return /*#__PURE__*/React.createElement(_rcPro.RcConfigProvider, props, children);
|
|
38
79
|
};
|
|
39
|
-
var _default = ZConfigProvider;
|
|
40
|
-
exports["default"] = _default;
|
|
80
|
+
var _default = exports["default"] = ZConfigProvider;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZConfigProvider from './configProvider';
|
|
2
|
-
export type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
|
|
3
|
-
export default ZConfigProvider;
|
|
1
|
+
import ZConfigProvider from './configProvider';
|
|
2
|
+
export type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
|
|
3
|
+
export default ZConfigProvider;
|
|
@@ -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 _configProvider = _interopRequireDefault(require("./configProvider"));
|
|
7
|
-
var _default = _configProvider["default"];
|
|
8
|
-
exports["default"] = _default;
|
|
7
|
+
var _default = exports["default"] = _configProvider["default"];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DataTableProps } from '@ztocwst/rc-pro';
|
|
3
|
+
/** 表格相关配置 */
|
|
4
|
+
export type TypeZDataTableProps = DataTableProps;
|
|
5
|
+
export default class ZDataTableContainer extends React.Component<TypeZDataTableProps, any> {
|
|
6
|
+
chartRef: any;
|
|
7
|
+
constructor(props: TypeZDataTableProps);
|
|
8
|
+
render(): JSX.Element;
|
|
9
|
+
}
|