@ztocwst/rc-pro-materials 0.2.7 → 0.2.8
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 +2 -2
- 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.js +5 -5
- package/build/lowcode/render/default/view.css +1 -2
- package/build/lowcode/render/default/view.js +8 -51
- package/build/lowcode/view.css +1 -2
- package/build/lowcode/view.js +9 -52
- package/dist/SCM_Comps.js +10 -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-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 +11 -11
- package/es/components/z-config-provider/index.d.ts +3 -3
- 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 +2 -2
- 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-list/index.d.ts +3 -3
- package/es/components/z-list/list.d.ts +17 -17
- package/es/components/z-list/list.js +2 -2
- 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 -2
- 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 +3 -3
- 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-templates-data-common/components/chart-renderer/index.d.ts +14 -14
- package/es/components/z-templates-data-common/components/custom-renderer/index.d.ts +13 -13
- package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +39 -39
- package/es/components/z-templates-data-common/components/dim-target/index.d.ts +16 -16
- package/es/components/z-templates-data-common/components/dim-target/index.less +49 -49
- package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +8 -8
- package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +6 -6
- package/es/components/z-templates-data-common/components/link-renderer/index.d.ts +16 -16
- package/es/components/z-templates-data-common/components/link-renderer/index.less +33 -33
- package/es/components/z-templates-data-common/components/table-renderer/index.d.ts +6 -6
- package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +64 -64
- package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +10 -10
- package/es/components/z-templates-data-common/data-common.d.ts +105 -105
- package/es/components/z-templates-data-common/data-common.helper.d.ts +61 -61
- package/es/components/z-templates-data-common/data-common.helper.js +21 -21
- 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 +2 -2
- package/es/components/z-warehouse/index.d.ts +2 -2
- package/es/components/z-warehouse/zWarehouse.d.ts +3 -3
- package/es/index.d.ts +38 -38
- package/es/index.scss +1 -1
- 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/props/button.d.ts +13 -13
- package/es/utils/props/common.d.ts +7 -7
- package/es/utils/props/common.js +4 -4
- package/es/utils/props/editTable.d.ts +3 -3
- package/es/utils/props/form.d.ts +35 -0
- package/es/utils/props/form.js +2 -2
- package/es/utils/props/listTpl.d.ts +29 -29
- package/es/utils/props/microModal.d.ts +7 -7
- package/es/utils/props/microSwitch.d.ts +1 -1
- package/es/utils/props/modalSelect.d.ts +6 -6
- package/es/utils/props/operationRecords.d.ts +2 -2
- package/es/utils/props/preview.d.ts +2 -2
- package/es/utils/props/tpl.d.ts +162 -162
- package/es/utils/props/warehouseAndFactory.d.ts +1 -1
- package/es/utils/rcProRequest.d.ts +3 -3
- package/es/variables.scss +3 -3
- package/lib/components/z-Ellipsis/ellipsis.d.ts +4 -4
- package/lib/components/z-Ellipsis/index.d.ts +3 -3
- package/lib/components/z-agg-block/index.d.ts +3 -3
- 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-auth/auth.d.ts +9 -9
- package/lib/components/z-auth/index.d.ts +3 -3
- package/lib/components/z-box/box.d.ts +20 -20
- package/lib/components/z-box/index.d.ts +3 -3
- package/lib/components/z-box/index.less +4 -4
- package/lib/components/z-button/index.d.ts +3 -3
- package/lib/components/z-button/z-button.d.ts +4 -4
- package/lib/components/z-config-provider/configProvider.d.ts +4 -4
- package/lib/components/z-config-provider/configProvider.js +11 -11
- package/lib/components/z-config-provider/index.d.ts +3 -3
- package/lib/components/z-div/div.d.ts +6 -6
- package/lib/components/z-div/index.d.ts +2 -2
- package/lib/components/z-editTable/editTable.d.ts +11 -11
- package/lib/components/z-editTable/editTable.js +2 -2
- package/lib/components/z-editTable/index.d.ts +2 -2
- package/lib/components/z-form/index.d.ts +3 -3
- package/lib/components/z-form/z-form.d.ts +10 -10
- package/lib/components/z-list/index.d.ts +3 -3
- package/lib/components/z-list/list.d.ts +17 -17
- package/lib/components/z-list/list.js +2 -2
- package/lib/components/z-operation-records/index.d.ts +3 -3
- package/lib/components/z-operation-records/operationRecords.d.ts +4 -4
- package/lib/components/z-pointer-block/index.d.ts +3 -3
- 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-preview/index.d.ts +3 -3
- package/lib/components/z-preview/preview.d.ts +4 -4
- package/lib/components/z-pro-provider/index.d.ts +3 -3
- package/lib/components/z-pro-provider/z-pro-provider.d.ts +6 -6
- package/lib/components/z-ranking-list/index.d.ts +2 -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 +2 -2
- package/lib/components/z-simple-bar/index.d.ts +3 -3
- 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-singleFactory/index.d.ts +2 -2
- package/lib/components/z-singleFactory/zSingerFactory.d.ts +3 -3
- package/lib/components/z-statistic/index.d.ts +3 -3
- package/lib/components/z-statistic/index.less +22 -22
- package/lib/components/z-statistic/z-statistic.d.ts +13 -13
- package/lib/components/z-table/index.d.ts +3 -3
- package/lib/components/z-table/table.d.ts +8 -8
- package/lib/components/z-templates-data-common/components/chart-renderer/index.d.ts +14 -14
- package/lib/components/z-templates-data-common/components/custom-renderer/index.d.ts +13 -13
- package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +39 -39
- package/lib/components/z-templates-data-common/components/dim-target/index.d.ts +16 -16
- package/lib/components/z-templates-data-common/components/dim-target/index.less +49 -49
- package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +8 -8
- package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +6 -6
- package/lib/components/z-templates-data-common/components/link-renderer/index.d.ts +16 -16
- package/lib/components/z-templates-data-common/components/link-renderer/index.less +33 -33
- package/lib/components/z-templates-data-common/components/table-renderer/index.d.ts +6 -6
- package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +64 -64
- package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +10 -10
- package/lib/components/z-templates-data-common/data-common.d.ts +105 -105
- package/lib/components/z-templates-data-common/data-common.helper.d.ts +61 -61
- package/lib/components/z-templates-data-common/data-common.helper.js +21 -21
- package/lib/components/z-templates-data-common/index.d.ts +3 -3
- package/lib/components/z-tpl/index.d.ts +3 -3
- package/lib/components/z-tpl/tpl.d.ts +23 -23
- package/lib/components/z-tpl/tpl.js +2 -2
- package/lib/components/z-warehouse/index.d.ts +2 -2
- package/lib/components/z-warehouse/zWarehouse.d.ts +3 -3
- package/lib/index.d.ts +38 -38
- package/lib/index.scss +1 -1
- 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/props/button.d.ts +13 -13
- package/lib/utils/props/common.d.ts +7 -7
- package/lib/utils/props/common.js +4 -4
- package/lib/utils/props/editTable.d.ts +3 -3
- package/lib/utils/props/form.d.ts +35 -0
- package/lib/utils/props/form.js +2 -2
- package/lib/utils/props/listTpl.d.ts +29 -29
- package/lib/utils/props/microModal.d.ts +7 -7
- package/lib/utils/props/microSwitch.d.ts +1 -1
- package/lib/utils/props/modalSelect.d.ts +6 -6
- package/lib/utils/props/operationRecords.d.ts +2 -2
- package/lib/utils/props/preview.d.ts +2 -2
- package/lib/utils/props/tpl.d.ts +162 -162
- package/lib/utils/props/warehouseAndFactory.d.ts +1 -1
- package/lib/utils/rcProRequest.d.ts +3 -3
- package/lib/variables.scss +3 -3
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ProEllipsisProps } from '@ztocwst/rc-pro';
|
|
3
|
-
declare const ZEllipsis: React.FC<ProEllipsisProps>;
|
|
4
|
-
export default ZEllipsis;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ProEllipsisProps } from '@ztocwst/rc-pro';
|
|
3
|
+
declare const ZEllipsis: React.FC<ProEllipsisProps>;
|
|
4
|
+
export default ZEllipsis;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZEllipsis from './ellipsis';
|
|
2
|
-
export type { ProEllipsisProps } from '@ztocwst/rc-pro';
|
|
3
|
-
export default ZEllipsis;
|
|
1
|
+
import ZEllipsis from './ellipsis';
|
|
2
|
+
export type { ProEllipsisProps } from '@ztocwst/rc-pro';
|
|
3
|
+
export default ZEllipsis;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZAggBlock from './z-agg-block';
|
|
2
|
-
export type { TypeAggBlockProps } from './z-agg-block';
|
|
3
|
-
export default ZAggBlock;
|
|
1
|
+
import ZAggBlock from './z-agg-block';
|
|
2
|
+
export type { TypeAggBlockProps } from './z-agg-block';
|
|
3
|
+
export default ZAggBlock;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -21,17 +21,17 @@ var ZConfigProvider = function ZConfigProvider(_ref) {
|
|
|
21
21
|
tplOptions = rest.tplOptions,
|
|
22
22
|
restProps = _objectWithoutPropertiesLoose(rest, _excluded2);
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* 过滤空对象,如果对象中的值都是undefined,整个对象赋值 undefined
|
|
27
|
-
* asyncSelect 中的 fieldNames、pager 对象
|
|
28
|
-
* form 中的 footer对象
|
|
29
|
-
* ossConfig 对象
|
|
30
|
-
* print 中的 printer
|
|
31
|
-
* tableOptions 中的 pagination、sortNames
|
|
32
|
-
* tplOptions 对象
|
|
33
|
-
* singleWarehouseConfig 中 defaultConfig
|
|
34
|
-
* singleFactoryConfig 中 defaultConfig
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* 过滤空对象,如果对象中的值都是undefined,整个对象赋值 undefined
|
|
27
|
+
* asyncSelect 中的 fieldNames、pager 对象
|
|
28
|
+
* form 中的 footer对象
|
|
29
|
+
* ossConfig 对象
|
|
30
|
+
* print 中的 printer
|
|
31
|
+
* tableOptions 中的 pagination、sortNames
|
|
32
|
+
* tplOptions 对象
|
|
33
|
+
* singleWarehouseConfig 中 defaultConfig
|
|
34
|
+
* singleFactoryConfig 中 defaultConfig
|
|
35
35
|
*/
|
|
36
36
|
|
|
37
37
|
var props = _extends({
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
declare const ZDiv: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string;
|
|
4
|
-
style: CSSProperties;
|
|
5
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export default ZDiv;
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
declare const ZDiv: import("react").ForwardRefExoticComponent<{
|
|
3
|
+
className?: string;
|
|
4
|
+
style: CSSProperties;
|
|
5
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export default ZDiv;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import ZDiv from './div';
|
|
2
|
-
export default ZDiv;
|
|
1
|
+
import ZDiv from './div';
|
|
2
|
+
export default ZDiv;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* rcEditTable
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export default class ZRcEditTable extends React.Component {
|
|
6
|
-
proEditableFormRef: any;
|
|
7
|
-
editableFormRef: any;
|
|
8
|
-
constructor(props: any);
|
|
9
|
-
getProEditableFormRefRef: () => any;
|
|
10
|
-
render(): React.JSX.Element;
|
|
11
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* rcEditTable
|
|
3
|
+
*/
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export default class ZRcEditTable extends React.Component {
|
|
6
|
+
proEditableFormRef: any;
|
|
7
|
+
editableFormRef: any;
|
|
8
|
+
constructor(props: any);
|
|
9
|
+
getProEditableFormRefRef: () => any;
|
|
10
|
+
render(): React.JSX.Element;
|
|
11
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import ZRcEditTable from './editTable';
|
|
2
|
-
export default ZRcEditTable;
|
|
1
|
+
import ZRcEditTable from './editTable';
|
|
2
|
+
export default ZRcEditTable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZForm from './z-form';
|
|
2
|
-
export type { ProFormRenderProps } from '@ztocwst/rc-pro';
|
|
3
|
-
export default ZForm;
|
|
1
|
+
import ZForm from './z-form';
|
|
2
|
+
export type { ProFormRenderProps } from '@ztocwst/rc-pro';
|
|
3
|
+
export default ZForm;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ProFormRenderProps } from '@ztocwst/rc-pro';
|
|
3
|
-
export default class ZFormContainer extends React.Component<ProFormRenderProps, any> {
|
|
4
|
-
formRef: any;
|
|
5
|
-
currentRef: any;
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
getFormRef: () => any;
|
|
8
|
-
getCurrentRef: () => any;
|
|
9
|
-
render(): React.JSX.Element;
|
|
10
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ProFormRenderProps } from '@ztocwst/rc-pro';
|
|
3
|
+
export default class ZFormContainer extends React.Component<ProFormRenderProps, any> {
|
|
4
|
+
formRef: any;
|
|
5
|
+
currentRef: any;
|
|
6
|
+
constructor(props: any);
|
|
7
|
+
getFormRef: () => any;
|
|
8
|
+
getCurrentRef: () => any;
|
|
9
|
+
render(): React.JSX.Element;
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZList from './list';
|
|
2
|
-
export type { RcListItem } from '@ztocwst/rc-pro';
|
|
3
|
-
export default ZList;
|
|
1
|
+
import ZList from './list';
|
|
2
|
+
export type { RcListItem } from '@ztocwst/rc-pro';
|
|
3
|
+
export default ZList;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 模板列表
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import type { RcListItem } from '@ztocwst/rc-pro';
|
|
6
|
-
export default class ZTplListContainer extends React.Component<RcListItem, any> {
|
|
7
|
-
listRef: any;
|
|
8
|
-
tableRef: any;
|
|
9
|
-
listFormRef: any;
|
|
10
|
-
listFormCurrentRef: any;
|
|
11
|
-
constructor(props: any);
|
|
12
|
-
getListRef: () => any;
|
|
13
|
-
getTableRef: () => any;
|
|
14
|
-
getListFormRef: () => any;
|
|
15
|
-
getListFormCurrentRef: () => any;
|
|
16
|
-
render(): React.JSX.Element;
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 模板列表
|
|
3
|
+
*/
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import type { RcListItem } from '@ztocwst/rc-pro';
|
|
6
|
+
export default class ZTplListContainer extends React.Component<RcListItem, any> {
|
|
7
|
+
listRef: any;
|
|
8
|
+
tableRef: any;
|
|
9
|
+
listFormRef: any;
|
|
10
|
+
listFormCurrentRef: any;
|
|
11
|
+
constructor(props: any);
|
|
12
|
+
getListRef: () => any;
|
|
13
|
+
getTableRef: () => any;
|
|
14
|
+
getListFormRef: () => any;
|
|
15
|
+
getListFormCurrentRef: () => any;
|
|
16
|
+
render(): React.JSX.Element;
|
|
17
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ZOperationRecords from './operationRecords';
|
|
2
|
-
export type { ProLogProps } from '@ztocwst/rc-pro';
|
|
3
|
-
export default ZOperationRecords;
|
|
1
|
+
import ZOperationRecords from './operationRecords';
|
|
2
|
+
export type { ProLogProps } from '@ztocwst/rc-pro';
|
|
3
|
+
export default ZOperationRecords;
|