fan-standard-comp 3.1.2 → 3.1.4
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/package.json +1 -1
- package/dist/f26952c118ab6cdcd23dc0028ee98c11.svg +0 -173
- package/dist/fan-standard-comp.umd.js +0 -597
- package/dist/fonts/iconfont.eot +0 -0
- package/dist/fonts/iconfont.ttf +0 -0
- package/dist/fonts/iconfont.woff +0 -0
- package/es/ButtonGroup/ButtonList.d.ts +0 -2
- package/es/ButtonGroup/ButtonList.js +0 -37
- package/es/ButtonGroup/ButtonMenu.d.ts +0 -2
- package/es/ButtonGroup/ButtonMenu.js +0 -38
- package/es/ButtonGroup/PopConfirmTitle.d.ts +0 -9
- package/es/ButtonGroup/PopConfirmTitle.js +0 -37
- package/es/ButtonGroup/index.d.ts +0 -30
- package/es/ButtonGroup/index.js +0 -374
- package/es/ButtonGroup/style/index.less +0 -36
- package/es/DragContent/DragBar.js +0 -21
- package/es/DragContent/index.d.ts +0 -14
- package/es/DragContent/index.js +0 -173
- package/es/DragContent/index.less +0 -44
- package/es/FormComp/ChunkUploader/api.js +0 -76
- package/es/FormComp/ChunkUploader/index.js +0 -391
- package/es/FormComp/ChunkUploader/lib.js +0 -96
- package/es/FormComp/ChunkUploader/style/style.less +0 -3
- package/es/FormComp/ChunkUploader/upload-queue.class.js +0 -167
- package/es/FormComp/ChunkUploader/worker.js +0 -23
- package/es/FormComp/EditButton/index.d.ts +0 -26
- package/es/FormComp/EditButton/index.js +0 -140
- package/es/FormComp/FieldComponent/ReUpload.d.ts +0 -3
- package/es/FormComp/FieldComponent/ReUpload.js +0 -131
- package/es/FormComp/FieldComponent/RefactorTreeSelect.js +0 -245
- package/es/FormComp/FieldComponent/TitleNode.d.ts +0 -6
- package/es/FormComp/FieldComponent/TitleNode.js +0 -9
- package/es/FormComp/FieldComponent/index.d.ts +0 -38
- package/es/FormComp/FieldComponent/index.js +0 -413
- package/es/FormComp/FieldComponent/setReadonlyValues.js +0 -236
- package/es/FormComp/FieldComponent/style/index.less +0 -116
- package/es/FormComp/RenderItemGroup/index.d.ts +0 -37
- package/es/FormComp/RenderItemGroup/index.js +0 -234
- package/es/FormComp/Uploader/index.d.ts +0 -19
- package/es/FormComp/Uploader/index.js +0 -275
- package/es/FormComp/Uploader/style/index.less +0 -14
- package/es/FormComp/Uploader/util.d.ts +0 -8
- package/es/FormComp/Uploader/util.js +0 -38
- package/es/FormComp/VarTemplate/index.js +0 -293
- package/es/FormComp/index.d.ts +0 -1
- package/es/FormComp/index.js +0 -1
- package/es/NavLeafScroll/index.js +0 -379
- package/es/NavLeafScroll/style/index.less +0 -119
- package/es/RefactorTree/data.d.ts +0 -7
- package/es/RefactorTree/index.d.ts +0 -40
- package/es/RefactorTree/index.js +0 -167
- package/es/RefactorTree/indexTreeNode.d.ts +0 -39
- package/es/RefactorTree/indexTreeNode.js +0 -237
- package/es/RefactorTree/style/index.d.ts +0 -1
- package/es/RefactorTree/style/index.js +0 -1
- package/es/RefactorTree/style/index.less +0 -22
- package/es/RefactorTree/util.d.ts +0 -42
- package/es/RefactorTree/util.js +0 -187
- package/es/SpecIcon/fonts/demo.css +0 -539
- package/es/SpecIcon/fonts/demo_index.html +0 -1315
- package/es/SpecIcon/fonts/iconfont.css +0 -211
- package/es/SpecIcon/fonts/iconfont.eot +0 -0
- package/es/SpecIcon/fonts/iconfont.js +0 -41
- package/es/SpecIcon/fonts/iconfont.json +0 -352
- package/es/SpecIcon/fonts/iconfont.svg +0 -173
- package/es/SpecIcon/fonts/iconfont.ttf +0 -0
- package/es/SpecIcon/fonts/iconfont.woff +0 -0
- package/es/SpecIcon/fonts/iconfont.woff2 +0 -0
- package/es/SpecIcon/index.d.ts +0 -17
- package/es/SpecIcon/index.js +0 -77
- package/es/SpecIcon/style/iconfont.less +0 -213
- package/es/SpecIcon/style/index.less +0 -98
- package/es/SplitterLayout/Pane.d.ts +0 -13
- package/es/SplitterLayout/Pane.js +0 -36
- package/es/SplitterLayout/index.js +0 -375
- package/es/SplitterLayout/index.less +0 -58
- package/es/StandardContent/SplitterLayout/Pane.js +0 -50
- package/es/StandardContent/SplitterLayout/index.js +0 -374
- package/es/StandardContent/SplitterLayout/index.less +0 -58
- package/es/StandardContent/SubfieldContent.d.ts +0 -17
- package/es/StandardContent/SubfieldContent.js +0 -41
- package/es/StandardContent/WrapperContent.d.ts +0 -13
- package/es/StandardContent/WrapperContent.js +0 -29
- package/es/StandardContent/data.d.ts +0 -101
- package/es/StandardContent/style/index.less +0 -80
- package/es/StandardDragModal/index.d.ts +0 -11
- package/es/StandardDragModal/index.js +0 -30
- package/es/StandardFilter/index.d.ts +0 -35
- package/es/StandardFilter/index.js +0 -253
- package/es/StandardFilter/style/index.less +0 -62
- package/es/StandardForm/ActionList.js +0 -44
- package/es/StandardForm/StepForm.d.ts +0 -19
- package/es/StandardForm/StepForm.js +0 -267
- package/es/StandardForm/TabForm.d.ts +0 -19
- package/es/StandardForm/TabForm.js +0 -122
- package/es/StandardForm/index.d.ts +0 -32
- package/es/StandardForm/index.js +0 -170
- package/es/StandardForm/style/index.less +0 -58
- package/es/StandardModal/UpdateFormRef.js +0 -18
- package/es/StandardModal/index.d.ts +0 -44
- package/es/StandardModal/index.js +0 -495
- package/es/StandardModal/style/index.less +0 -50
- package/es/StandardPanel/index.d.ts +0 -28
- package/es/StandardPanel/index.js +0 -134
- package/es/StandardPanel/style/index.less +0 -135
- package/es/StandardTable/index.d.ts +0 -22
- package/es/StandardTable/index.js +0 -126
- package/es/StandardTable/style/index.d.ts +0 -1
- package/es/StandardTable/style/index.js +0 -1
- package/es/StandardTable/style/index.less +0 -206
- package/es/components/IconNode/index.d.ts +0 -16
- package/es/components/IconNode/index.js +0 -28
- package/es/components/index.d.ts +0 -2
- package/es/components/index.js +0 -2
- package/es/data/func.code.js +0 -112
- package/es/data/general.config.js +0 -172
- package/es/data/index.js +0 -3
- package/es/index.d.ts +0 -24
- package/es/index.js +0 -31
- package/es/styles/index.less +0 -0
- package/es/theme/spec-variable.less +0 -48
- package/es/utils/ValueFormat.js +0 -50
- package/es/utils/filterPermission.js +0 -111
- package/es/utils/getParentNodes.js +0 -215
- package/es/utils/index.js +0 -3
- package/lib/ButtonGroup/ButtonList.d.ts +0 -2
- package/lib/ButtonGroup/ButtonList.js +0 -55
- package/lib/ButtonGroup/ButtonMenu.d.ts +0 -2
- package/lib/ButtonGroup/ButtonMenu.js +0 -51
- package/lib/ButtonGroup/PopConfirmTitle.d.ts +0 -9
- package/lib/ButtonGroup/PopConfirmTitle.js +0 -48
- package/lib/ButtonGroup/index.d.ts +0 -30
- package/lib/ButtonGroup/index.js +0 -405
- package/lib/ButtonGroup/style/index.less +0 -36
- package/lib/DragContent/DragBar.js +0 -33
- package/lib/DragContent/index.d.ts +0 -14
- package/lib/DragContent/index.js +0 -191
- package/lib/DragContent/index.less +0 -44
- package/lib/FormComp/ChunkUploader/api.js +0 -89
- package/lib/FormComp/ChunkUploader/index.js +0 -410
- package/lib/FormComp/ChunkUploader/lib.js +0 -113
- package/lib/FormComp/ChunkUploader/style/style.less +0 -3
- package/lib/FormComp/ChunkUploader/upload-queue.class.js +0 -174
- package/lib/FormComp/ChunkUploader/worker.js +0 -28
- package/lib/FormComp/EditButton/index.d.ts +0 -26
- package/lib/FormComp/EditButton/index.js +0 -159
- package/lib/FormComp/FieldComponent/ReUpload.d.ts +0 -3
- package/lib/FormComp/FieldComponent/ReUpload.js +0 -151
- package/lib/FormComp/FieldComponent/RefactorTreeSelect.js +0 -268
- package/lib/FormComp/FieldComponent/TitleNode.d.ts +0 -6
- package/lib/FormComp/FieldComponent/TitleNode.js +0 -19
- package/lib/FormComp/FieldComponent/index.d.ts +0 -38
- package/lib/FormComp/FieldComponent/index.js +0 -457
- package/lib/FormComp/FieldComponent/setReadonlyValues.js +0 -263
- package/lib/FormComp/FieldComponent/style/index.less +0 -116
- package/lib/FormComp/RenderItemGroup/index.d.ts +0 -37
- package/lib/FormComp/RenderItemGroup/index.js +0 -255
- package/lib/FormComp/Uploader/index.d.ts +0 -19
- package/lib/FormComp/Uploader/index.js +0 -301
- package/lib/FormComp/Uploader/style/index.less +0 -14
- package/lib/FormComp/Uploader/util.d.ts +0 -8
- package/lib/FormComp/Uploader/util.js +0 -47
- package/lib/FormComp/VarTemplate/index.js +0 -308
- package/lib/FormComp/index.d.ts +0 -1
- package/lib/FormComp/index.js +0 -15
- package/lib/NavLeafScroll/index.js +0 -397
- package/lib/NavLeafScroll/style/index.less +0 -119
- package/lib/RefactorTree/data.d.ts +0 -7
- package/lib/RefactorTree/index.d.ts +0 -40
- package/lib/RefactorTree/index.js +0 -190
- package/lib/RefactorTree/indexTreeNode.d.ts +0 -39
- package/lib/RefactorTree/indexTreeNode.js +0 -260
- package/lib/RefactorTree/style/index.d.ts +0 -1
- package/lib/RefactorTree/style/index.js +0 -3
- package/lib/RefactorTree/style/index.less +0 -22
- package/lib/RefactorTree/util.d.ts +0 -42
- package/lib/RefactorTree/util.js +0 -195
- package/lib/SpecIcon/fonts/demo.css +0 -539
- package/lib/SpecIcon/fonts/demo_index.html +0 -1315
- package/lib/SpecIcon/fonts/iconfont.css +0 -211
- package/lib/SpecIcon/fonts/iconfont.eot +0 -0
- package/lib/SpecIcon/fonts/iconfont.js +0 -43
- package/lib/SpecIcon/fonts/iconfont.json +0 -352
- package/lib/SpecIcon/fonts/iconfont.svg +0 -173
- package/lib/SpecIcon/fonts/iconfont.ttf +0 -0
- package/lib/SpecIcon/fonts/iconfont.woff +0 -0
- package/lib/SpecIcon/fonts/iconfont.woff2 +0 -0
- package/lib/SpecIcon/index.d.ts +0 -17
- package/lib/SpecIcon/index.js +0 -90
- package/lib/SpecIcon/style/iconfont.less +0 -213
- package/lib/SpecIcon/style/index.less +0 -98
- package/lib/SplitterLayout/Pane.d.ts +0 -13
- package/lib/SplitterLayout/Pane.js +0 -48
- package/lib/SplitterLayout/index.js +0 -386
- package/lib/SplitterLayout/index.less +0 -58
- package/lib/StandardContent/SplitterLayout/Pane.js +0 -62
- package/lib/StandardContent/SplitterLayout/index.js +0 -387
- package/lib/StandardContent/SplitterLayout/index.less +0 -58
- package/lib/StandardContent/SubfieldContent.d.ts +0 -17
- package/lib/StandardContent/SubfieldContent.js +0 -56
- package/lib/StandardContent/WrapperContent.d.ts +0 -13
- package/lib/StandardContent/WrapperContent.js +0 -43
- package/lib/StandardContent/data.d.ts +0 -101
- package/lib/StandardContent/style/index.less +0 -80
- package/lib/StandardDragModal/index.d.ts +0 -11
- package/lib/StandardDragModal/index.js +0 -43
- package/lib/StandardFilter/index.d.ts +0 -35
- package/lib/StandardFilter/index.js +0 -272
- package/lib/StandardFilter/style/index.less +0 -62
- package/lib/StandardForm/ActionList.js +0 -57
- package/lib/StandardForm/StepForm.d.ts +0 -19
- package/lib/StandardForm/StepForm.js +0 -295
- package/lib/StandardForm/TabForm.d.ts +0 -19
- package/lib/StandardForm/TabForm.js +0 -148
- package/lib/StandardForm/index.d.ts +0 -32
- package/lib/StandardForm/index.js +0 -197
- package/lib/StandardForm/style/index.less +0 -58
- package/lib/StandardModal/UpdateFormRef.js +0 -32
- package/lib/StandardModal/index.d.ts +0 -44
- package/lib/StandardModal/index.js +0 -525
- package/lib/StandardModal/style/index.less +0 -50
- package/lib/StandardPanel/index.d.ts +0 -28
- package/lib/StandardPanel/index.js +0 -155
- package/lib/StandardPanel/style/index.less +0 -135
- package/lib/StandardTable/index.d.ts +0 -22
- package/lib/StandardTable/index.js +0 -143
- package/lib/StandardTable/style/index.d.ts +0 -1
- package/lib/StandardTable/style/index.js +0 -3
- package/lib/StandardTable/style/index.less +0 -206
- package/lib/components/IconNode/index.d.ts +0 -16
- package/lib/components/IconNode/index.js +0 -39
- package/lib/components/index.d.ts +0 -2
- package/lib/components/index.js +0 -15
- package/lib/data/func.code.js +0 -119
- package/lib/data/general.config.js +0 -179
- package/lib/data/index.js +0 -23
- package/lib/index.d.ts +0 -24
- package/lib/index.js +0 -236
- package/lib/styles/index.less +0 -0
- package/lib/theme/spec-variable.less +0 -48
- package/lib/utils/ValueFormat.js +0 -58
- package/lib/utils/filterPermission.js +0 -127
- package/lib/utils/getParentNodes.js +0 -226
- package/lib/utils/index.js +0 -35
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _index = _interopRequireDefault(require("../../SpecIcon/index"));
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
var IconNode = function IconNode(props) {
|
|
15
|
-
var icon = props.icon;
|
|
16
|
-
if (!icon) return null;
|
|
17
|
-
|
|
18
|
-
if (typeof icon === 'string') {
|
|
19
|
-
var iconArr = icon.split(',');
|
|
20
|
-
return /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
21
|
-
prefix: iconArr.length > 1 ? iconArr[0] : 'speci',
|
|
22
|
-
noPrefix: !iconArr[0] || iconArr[0] === 'noPrefix',
|
|
23
|
-
name: iconArr.length > 1 ? iconArr[1] : icon
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
if (Array.isArray(icon) && icon.length > 1) {
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
return /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
30
|
-
prefix: icon[0],
|
|
31
|
-
name: icon[1]
|
|
32
|
-
}); // 预留 Array ['speci','plus']
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, icon);
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
var _default = IconNode;
|
|
39
|
-
exports.default = _default;
|
package/lib/components/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "IconNode", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _index.default;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
var _index = _interopRequireDefault(require("./IconNode/index"));
|
|
14
|
-
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/lib/data/func.code.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
// 存储当前页面中所有菜单的涉及的功能代码,包括页面及按钮
|
|
8
|
-
var _default = {
|
|
9
|
-
btnFuncCodes: [{
|
|
10
|
-
name: '详情',
|
|
11
|
-
code: 'codeBtnDetail',
|
|
12
|
-
icon: 'eye'
|
|
13
|
-
}, {
|
|
14
|
-
name: '新增',
|
|
15
|
-
code: 'codeBtnCreate',
|
|
16
|
-
icon: 'plus'
|
|
17
|
-
}, {
|
|
18
|
-
name: '修改',
|
|
19
|
-
code: 'codeBtnUpdate',
|
|
20
|
-
icon: 'edit'
|
|
21
|
-
}, {
|
|
22
|
-
name: '删除',
|
|
23
|
-
code: 'codeBtnDelete',
|
|
24
|
-
icon: 'delete'
|
|
25
|
-
}, {
|
|
26
|
-
name: '导入',
|
|
27
|
-
code: 'codeBtnImport',
|
|
28
|
-
icon: 'upload'
|
|
29
|
-
}, {
|
|
30
|
-
name: '导出',
|
|
31
|
-
code: 'codeBtnDownload',
|
|
32
|
-
icon: 'download'
|
|
33
|
-
}, {
|
|
34
|
-
name: '查看',
|
|
35
|
-
code: 'codeBtnView',
|
|
36
|
-
icon: 'eye'
|
|
37
|
-
}, {
|
|
38
|
-
name: '功能授权',
|
|
39
|
-
code: 'codeBtnAuthorize',
|
|
40
|
-
icon: 'filter'
|
|
41
|
-
}, {
|
|
42
|
-
name: '数据授权',
|
|
43
|
-
code: 'codeBtnAuthorizeData',
|
|
44
|
-
icon: 'filter'
|
|
45
|
-
}, {
|
|
46
|
-
name: '添加',
|
|
47
|
-
code: 'codeBtnAdd',
|
|
48
|
-
icon: 'plus'
|
|
49
|
-
}, {
|
|
50
|
-
name: '下架',
|
|
51
|
-
code: 'codeBtnDown',
|
|
52
|
-
icon: 'plus'
|
|
53
|
-
}, {
|
|
54
|
-
name: '发布',
|
|
55
|
-
code: 'codeBtnPublish',
|
|
56
|
-
icon: 'plus'
|
|
57
|
-
}, {
|
|
58
|
-
name: '推荐设置',
|
|
59
|
-
code: 'codeBtnSetRecommend',
|
|
60
|
-
icon: 'plus'
|
|
61
|
-
}, {
|
|
62
|
-
name: '处理',
|
|
63
|
-
code: 'codeBtnDispose',
|
|
64
|
-
icon: 'plus'
|
|
65
|
-
}, {
|
|
66
|
-
name: '激活',
|
|
67
|
-
code: 'codeBtnActivate',
|
|
68
|
-
icon: 'plus'
|
|
69
|
-
}, {
|
|
70
|
-
name: '新增审批节点',
|
|
71
|
-
// 工作流管理模块
|
|
72
|
-
code: 'codeBtnApproval',
|
|
73
|
-
icon: 'plus'
|
|
74
|
-
}, {
|
|
75
|
-
name: '设置',
|
|
76
|
-
// 设置(报警全局)
|
|
77
|
-
code: 'codeBtnSetting',
|
|
78
|
-
icon: 'plus'
|
|
79
|
-
}, {
|
|
80
|
-
name: '启用',
|
|
81
|
-
// 启用
|
|
82
|
-
code: 'codeBtnUsing',
|
|
83
|
-
icon: 'plus'
|
|
84
|
-
}, {
|
|
85
|
-
name: '停用',
|
|
86
|
-
// 启用
|
|
87
|
-
code: 'codeBtnStop',
|
|
88
|
-
icon: 'plus'
|
|
89
|
-
}, {
|
|
90
|
-
name: '执行',
|
|
91
|
-
code: 'codeBtnTrigger',
|
|
92
|
-
icon: 'plus'
|
|
93
|
-
}, {
|
|
94
|
-
name: '恢复',
|
|
95
|
-
code: 'codeBtnResume',
|
|
96
|
-
icon: 'plus'
|
|
97
|
-
}, {
|
|
98
|
-
name: '指派',
|
|
99
|
-
code: 'codeBtnAssign',
|
|
100
|
-
icon: 'plus'
|
|
101
|
-
}, {
|
|
102
|
-
name: '匹配设备',
|
|
103
|
-
code: 'codeBtnMatch'
|
|
104
|
-
}, {
|
|
105
|
-
name: '路线设计',
|
|
106
|
-
code: 'codeBtnDesign'
|
|
107
|
-
}],
|
|
108
|
-
pageFuncCodes: [{
|
|
109
|
-
name: '新增',
|
|
110
|
-
code: 'codePageAdd'
|
|
111
|
-
}, {
|
|
112
|
-
name: '编辑',
|
|
113
|
-
code: 'codePageEdit'
|
|
114
|
-
}, {
|
|
115
|
-
name: '详情',
|
|
116
|
-
code: 'codePageDetail'
|
|
117
|
-
}]
|
|
118
|
-
};
|
|
119
|
-
exports.default = _default;
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
// 一些排版等基本配置值项 (后期可参考是否放入 locales内)
|
|
8
|
-
var _default = {
|
|
9
|
-
// 表单 响应式排版
|
|
10
|
-
formLayout: {
|
|
11
|
-
labelCol: {
|
|
12
|
-
xs: {
|
|
13
|
-
span: 24
|
|
14
|
-
},
|
|
15
|
-
sm: {
|
|
16
|
-
span: 5
|
|
17
|
-
},
|
|
18
|
-
md: {
|
|
19
|
-
span: 4
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
wrapperCol: {
|
|
23
|
-
xs: {
|
|
24
|
-
span: 24
|
|
25
|
-
},
|
|
26
|
-
sm: {
|
|
27
|
-
span: 19
|
|
28
|
-
},
|
|
29
|
-
md: {
|
|
30
|
-
span: 20
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
// 表单提交按钮位置排版
|
|
35
|
-
submitFormLayout: {
|
|
36
|
-
wrapperCol: {
|
|
37
|
-
xs: {
|
|
38
|
-
span: 24,
|
|
39
|
-
offset: 0
|
|
40
|
-
},
|
|
41
|
-
sm: {
|
|
42
|
-
span: 10,
|
|
43
|
-
offset: 5
|
|
44
|
-
},
|
|
45
|
-
md: {
|
|
46
|
-
span: 10,
|
|
47
|
-
offset: 4
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
// 表单域宽度
|
|
52
|
-
formItemStyle: {
|
|
53
|
-
xs: {
|
|
54
|
-
width: '60px'
|
|
55
|
-
},
|
|
56
|
-
sm: {
|
|
57
|
-
width: '120px'
|
|
58
|
-
},
|
|
59
|
-
xsm: {
|
|
60
|
-
width: '180px'
|
|
61
|
-
},
|
|
62
|
-
md: {
|
|
63
|
-
width: '200px'
|
|
64
|
-
},
|
|
65
|
-
xmd: {
|
|
66
|
-
width: '240px'
|
|
67
|
-
},
|
|
68
|
-
lg: {
|
|
69
|
-
width: '300px'
|
|
70
|
-
},
|
|
71
|
-
xlg: {
|
|
72
|
-
width: '500px'
|
|
73
|
-
},
|
|
74
|
-
wide: {
|
|
75
|
-
width: '100%'
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
// 弹窗梯度大小及对应的表单栅格
|
|
79
|
-
modalSize: {
|
|
80
|
-
xs: {
|
|
81
|
-
width: 420,
|
|
82
|
-
formLayout: {
|
|
83
|
-
labelCol: {
|
|
84
|
-
span: 7
|
|
85
|
-
},
|
|
86
|
-
wrapperCol: {
|
|
87
|
-
span: 15
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
formBlockLayout: {
|
|
91
|
-
labelCol: {
|
|
92
|
-
span: 7
|
|
93
|
-
},
|
|
94
|
-
wrapperCol: {
|
|
95
|
-
span: 15
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
sm: {
|
|
100
|
-
width: 680,
|
|
101
|
-
formLayout: {
|
|
102
|
-
labelCol: {
|
|
103
|
-
span: 6
|
|
104
|
-
},
|
|
105
|
-
wrapperCol: {
|
|
106
|
-
span: 14
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
formBlockLayout: {
|
|
110
|
-
labelCol: {
|
|
111
|
-
span: 6
|
|
112
|
-
},
|
|
113
|
-
wrapperCol: {
|
|
114
|
-
span: 14
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
md: {
|
|
119
|
-
width: 780,
|
|
120
|
-
formLayout: {
|
|
121
|
-
labelCol: {
|
|
122
|
-
span: 8
|
|
123
|
-
},
|
|
124
|
-
wrapperCol: {
|
|
125
|
-
span: 14
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
formBlockLayout: {
|
|
129
|
-
labelCol: {
|
|
130
|
-
span: 4
|
|
131
|
-
},
|
|
132
|
-
wrapperCol: {
|
|
133
|
-
span: 19
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
// 宽度大,1000px下
|
|
138
|
-
lg: {
|
|
139
|
-
width: 1000,
|
|
140
|
-
formLayout: {
|
|
141
|
-
labelCol: {
|
|
142
|
-
span: 9
|
|
143
|
-
},
|
|
144
|
-
wrapperCol: {
|
|
145
|
-
span: 15
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
formBlockLayout: {
|
|
149
|
-
labelCol: {
|
|
150
|
-
span: 3
|
|
151
|
-
},
|
|
152
|
-
wrapperCol: {
|
|
153
|
-
span: 21
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
// 超级宽度大,1200px下
|
|
158
|
-
xlg: {
|
|
159
|
-
width: 1200,
|
|
160
|
-
formLayout: {
|
|
161
|
-
labelCol: {
|
|
162
|
-
span: 9
|
|
163
|
-
},
|
|
164
|
-
wrapperCol: {
|
|
165
|
-
span: 15
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
formBlockLayout: {
|
|
169
|
-
labelCol: {
|
|
170
|
-
span: 3
|
|
171
|
-
},
|
|
172
|
-
wrapperCol: {
|
|
173
|
-
span: 21
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
exports.default = _default;
|
package/lib/data/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "general", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _general.default;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "funcCode", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _func.default;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _general = _interopRequireDefault(require("./general.config"));
|
|
20
|
-
|
|
21
|
-
var _func = _interopRequireDefault(require("./func.code"));
|
|
22
|
-
|
|
23
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/lib/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export { default as SpecIcon } from './SpecIcon';
|
|
2
|
-
export { default as ButtonGroup } from './ButtonGroup';
|
|
3
|
-
export { default as RefactorTree } from './RefactorTree';
|
|
4
|
-
export { default as StandardPanel } from './StandardPanel';
|
|
5
|
-
export { default as StandardTable } from './StandardTable';
|
|
6
|
-
export { default as StandardForm } from './StandardForm';
|
|
7
|
-
export { default as StepForm } from './StandardForm/StepForm';
|
|
8
|
-
export { default as TabForm } from './StandardForm/TabForm';
|
|
9
|
-
export { default as StandardFilter } from './StandardFilter';
|
|
10
|
-
export { default as StandardModal } from './StandardModal';
|
|
11
|
-
export { default as Uploader } from './FormComp/Uploader';
|
|
12
|
-
export { default as EditButton } from './FormComp/EditButton';
|
|
13
|
-
export { default as FieldComponent } from './FormComp/FieldComponent';
|
|
14
|
-
export { default as Field } from './FormComp/FieldComponent';
|
|
15
|
-
export { default as RenderItemGroup } from './FormComp/RenderItemGroup';
|
|
16
|
-
export { default as ItemGroup } from './FormComp/RenderItemGroup';
|
|
17
|
-
export { default as SubfieldContent } from './StandardContent/SubfieldContent';
|
|
18
|
-
export { default as WrapperContent } from './StandardContent/WrapperContent';
|
|
19
|
-
export { default as DragContent } from './DragContent';
|
|
20
|
-
export { default as SplitterLayout } from './StandardContent/SplitterLayout';
|
|
21
|
-
export { default as NavLeafScroll } from './NavLeafScroll';
|
|
22
|
-
export * from './components';
|
|
23
|
-
export * from './utils';
|
|
24
|
-
export * from './data';
|
package/lib/index.js
DELETED
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {
|
|
7
|
-
SpecIcon: true,
|
|
8
|
-
ButtonGroup: true,
|
|
9
|
-
RefactorTree: true,
|
|
10
|
-
StandardPanel: true,
|
|
11
|
-
StandardTable: true,
|
|
12
|
-
StandardForm: true,
|
|
13
|
-
StepForm: true,
|
|
14
|
-
TabForm: true,
|
|
15
|
-
StandardFilter: true,
|
|
16
|
-
StandardModal: true,
|
|
17
|
-
Uploader: true,
|
|
18
|
-
EditButton: true,
|
|
19
|
-
FieldComponent: true,
|
|
20
|
-
Field: true,
|
|
21
|
-
RenderItemGroup: true,
|
|
22
|
-
ItemGroup: true,
|
|
23
|
-
SubfieldContent: true,
|
|
24
|
-
WrapperContent: true,
|
|
25
|
-
DragContent: true,
|
|
26
|
-
SplitterLayout: true,
|
|
27
|
-
NavLeafScroll: true
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "SpecIcon", {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function get() {
|
|
32
|
-
return _SpecIcon.default;
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
Object.defineProperty(exports, "ButtonGroup", {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function get() {
|
|
38
|
-
return _ButtonGroup.default;
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(exports, "RefactorTree", {
|
|
42
|
-
enumerable: true,
|
|
43
|
-
get: function get() {
|
|
44
|
-
return _RefactorTree.default;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(exports, "StandardPanel", {
|
|
48
|
-
enumerable: true,
|
|
49
|
-
get: function get() {
|
|
50
|
-
return _StandardPanel.default;
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
Object.defineProperty(exports, "StandardTable", {
|
|
54
|
-
enumerable: true,
|
|
55
|
-
get: function get() {
|
|
56
|
-
return _StandardTable.default;
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
Object.defineProperty(exports, "StandardForm", {
|
|
60
|
-
enumerable: true,
|
|
61
|
-
get: function get() {
|
|
62
|
-
return _StandardForm.default;
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
Object.defineProperty(exports, "StepForm", {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function get() {
|
|
68
|
-
return _StepForm.default;
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
Object.defineProperty(exports, "TabForm", {
|
|
72
|
-
enumerable: true,
|
|
73
|
-
get: function get() {
|
|
74
|
-
return _TabForm.default;
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(exports, "StandardFilter", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function get() {
|
|
80
|
-
return _StandardFilter.default;
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
Object.defineProperty(exports, "StandardModal", {
|
|
84
|
-
enumerable: true,
|
|
85
|
-
get: function get() {
|
|
86
|
-
return _StandardModal.default;
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
Object.defineProperty(exports, "Uploader", {
|
|
90
|
-
enumerable: true,
|
|
91
|
-
get: function get() {
|
|
92
|
-
return _Uploader.default;
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
Object.defineProperty(exports, "EditButton", {
|
|
96
|
-
enumerable: true,
|
|
97
|
-
get: function get() {
|
|
98
|
-
return _EditButton.default;
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
Object.defineProperty(exports, "FieldComponent", {
|
|
102
|
-
enumerable: true,
|
|
103
|
-
get: function get() {
|
|
104
|
-
return _FieldComponent.default;
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
Object.defineProperty(exports, "Field", {
|
|
108
|
-
enumerable: true,
|
|
109
|
-
get: function get() {
|
|
110
|
-
return _FieldComponent.default;
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
Object.defineProperty(exports, "RenderItemGroup", {
|
|
114
|
-
enumerable: true,
|
|
115
|
-
get: function get() {
|
|
116
|
-
return _RenderItemGroup.default;
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
Object.defineProperty(exports, "ItemGroup", {
|
|
120
|
-
enumerable: true,
|
|
121
|
-
get: function get() {
|
|
122
|
-
return _RenderItemGroup.default;
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
Object.defineProperty(exports, "SubfieldContent", {
|
|
126
|
-
enumerable: true,
|
|
127
|
-
get: function get() {
|
|
128
|
-
return _SubfieldContent.default;
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
Object.defineProperty(exports, "WrapperContent", {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function get() {
|
|
134
|
-
return _WrapperContent.default;
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
Object.defineProperty(exports, "DragContent", {
|
|
138
|
-
enumerable: true,
|
|
139
|
-
get: function get() {
|
|
140
|
-
return _DragContent.default;
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
Object.defineProperty(exports, "SplitterLayout", {
|
|
144
|
-
enumerable: true,
|
|
145
|
-
get: function get() {
|
|
146
|
-
return _SplitterLayout.default;
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
Object.defineProperty(exports, "NavLeafScroll", {
|
|
150
|
-
enumerable: true,
|
|
151
|
-
get: function get() {
|
|
152
|
-
return _NavLeafScroll.default;
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
var _SpecIcon = _interopRequireDefault(require("./SpecIcon"));
|
|
157
|
-
|
|
158
|
-
var _ButtonGroup = _interopRequireDefault(require("./ButtonGroup"));
|
|
159
|
-
|
|
160
|
-
var _RefactorTree = _interopRequireDefault(require("./RefactorTree"));
|
|
161
|
-
|
|
162
|
-
var _StandardPanel = _interopRequireDefault(require("./StandardPanel"));
|
|
163
|
-
|
|
164
|
-
var _StandardTable = _interopRequireDefault(require("./StandardTable"));
|
|
165
|
-
|
|
166
|
-
var _StandardForm = _interopRequireDefault(require("./StandardForm"));
|
|
167
|
-
|
|
168
|
-
var _StepForm = _interopRequireDefault(require("./StandardForm/StepForm"));
|
|
169
|
-
|
|
170
|
-
var _TabForm = _interopRequireDefault(require("./StandardForm/TabForm"));
|
|
171
|
-
|
|
172
|
-
var _StandardFilter = _interopRequireDefault(require("./StandardFilter"));
|
|
173
|
-
|
|
174
|
-
var _StandardModal = _interopRequireDefault(require("./StandardModal"));
|
|
175
|
-
|
|
176
|
-
var _Uploader = _interopRequireDefault(require("./FormComp/Uploader"));
|
|
177
|
-
|
|
178
|
-
var _EditButton = _interopRequireDefault(require("./FormComp/EditButton"));
|
|
179
|
-
|
|
180
|
-
var _FieldComponent = _interopRequireDefault(require("./FormComp/FieldComponent"));
|
|
181
|
-
|
|
182
|
-
var _RenderItemGroup = _interopRequireDefault(require("./FormComp/RenderItemGroup"));
|
|
183
|
-
|
|
184
|
-
var _SubfieldContent = _interopRequireDefault(require("./StandardContent/SubfieldContent"));
|
|
185
|
-
|
|
186
|
-
var _WrapperContent = _interopRequireDefault(require("./StandardContent/WrapperContent"));
|
|
187
|
-
|
|
188
|
-
var _DragContent = _interopRequireDefault(require("./DragContent"));
|
|
189
|
-
|
|
190
|
-
var _SplitterLayout = _interopRequireDefault(require("./StandardContent/SplitterLayout"));
|
|
191
|
-
|
|
192
|
-
var _NavLeafScroll = _interopRequireDefault(require("./NavLeafScroll"));
|
|
193
|
-
|
|
194
|
-
var _components = require("./components");
|
|
195
|
-
|
|
196
|
-
Object.keys(_components).forEach(function (key) {
|
|
197
|
-
if (key === "default" || key === "__esModule") return;
|
|
198
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
199
|
-
if (key in exports && exports[key] === _components[key]) return;
|
|
200
|
-
Object.defineProperty(exports, key, {
|
|
201
|
-
enumerable: true,
|
|
202
|
-
get: function get() {
|
|
203
|
-
return _components[key];
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
});
|
|
207
|
-
|
|
208
|
-
var _utils = require("./utils");
|
|
209
|
-
|
|
210
|
-
Object.keys(_utils).forEach(function (key) {
|
|
211
|
-
if (key === "default" || key === "__esModule") return;
|
|
212
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
213
|
-
if (key in exports && exports[key] === _utils[key]) return;
|
|
214
|
-
Object.defineProperty(exports, key, {
|
|
215
|
-
enumerable: true,
|
|
216
|
-
get: function get() {
|
|
217
|
-
return _utils[key];
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
var _data = require("./data");
|
|
223
|
-
|
|
224
|
-
Object.keys(_data).forEach(function (key) {
|
|
225
|
-
if (key === "default" || key === "__esModule") return;
|
|
226
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
227
|
-
if (key in exports && exports[key] === _data[key]) return;
|
|
228
|
-
Object.defineProperty(exports, key, {
|
|
229
|
-
enumerable: true,
|
|
230
|
-
get: function get() {
|
|
231
|
-
return _data[key];
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
});
|
|
235
|
-
|
|
236
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/lib/styles/index.less
DELETED
|
File without changes
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@root-entry-name: default;
|
|
2
|
-
@import (reference) '~antd/es/style/themes/index';
|
|
3
|
-
|
|
4
|
-
.spec-scrollbar-base(){
|
|
5
|
-
&::-webkit-scrollbar-track-piece {
|
|
6
|
-
background: fade(#c1c1c1, 10%);
|
|
7
|
-
}
|
|
8
|
-
&::-webkit-scrollbar {
|
|
9
|
-
width: 6px;
|
|
10
|
-
height: 6px;
|
|
11
|
-
}
|
|
12
|
-
&::-webkit-scrollbar-thumb {
|
|
13
|
-
background: fade(#c1c1c1, 50%);
|
|
14
|
-
border-radius: 20px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
.spec-scrollbar(){
|
|
18
|
-
&::-webkit-scrollbar-track-piece {
|
|
19
|
-
background: fade(@primary-color, 10%);
|
|
20
|
-
}
|
|
21
|
-
&::-webkit-scrollbar {
|
|
22
|
-
width: 6px;
|
|
23
|
-
height: 6px;
|
|
24
|
-
}
|
|
25
|
-
&::-webkit-scrollbar-thumb {
|
|
26
|
-
background: fade(@primary-color, 50%);
|
|
27
|
-
border-radius: 20px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.spec-scrollbar-light() {
|
|
31
|
-
&::-webkit-scrollbar {
|
|
32
|
-
width: 4px;
|
|
33
|
-
height: 4px;
|
|
34
|
-
}
|
|
35
|
-
&::-webkit-scrollbar-thumb {
|
|
36
|
-
background: rgba(0,0,0,0.2);
|
|
37
|
-
border-radius: 10px;
|
|
38
|
-
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
|
39
|
-
}
|
|
40
|
-
&::-webkit-scrollbar-track {
|
|
41
|
-
background: rgba(0,0,0,0.1);
|
|
42
|
-
border-radius: 0;
|
|
43
|
-
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@spec-box-shadow: 0 0 12px fade(@primary-color, 10%); // 蓝色阴影
|
|
48
|
-
@spec-box-shadow-dark: 0 0 10px fade(#1E1E1E, 10%); // 灰色阴影
|