@zat-design/sisyphus-react 3.4.11-beta.9 → 3.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.css +28 -0
- package/dist/less.esm.css +28 -0
- package/es/ProEditTable/components/DndWrapper/index.d.ts +1 -1
- package/es/ProEditTable/components/DndWrapper/index.js +3 -4
- package/es/ProEditTable/components/RenderField/index.js +6 -4
- package/es/ProEditTable/index.js +1 -1
- package/es/ProEnum/hooks/useEnum.js +13 -11
- package/es/ProEnum/hooks/useEnumRequest.js +34 -32
- package/es/ProEnum/index.js +4 -4
- package/es/ProEnum/utils/index.d.ts +1 -1
- package/es/ProEnum/utils/index.js +4 -1
- package/es/ProForm/components/combination/Group/component/ComRender.d.ts +2 -0
- package/es/ProForm/components/combination/Group/component/ComRender.js +9 -2
- package/es/ProForm/components/combination/Group/propsType.d.ts +2 -0
- package/es/ProForm/components/combination/Group/utils.js +1 -1
- package/es/ProForm/components/combination/ProCascader/index.js +2 -2
- package/es/ProForm/components/index.d.ts +1 -0
- package/es/ProForm/components/index.js +1 -0
- package/es/ProForm/components/render/Render.js +1 -1
- package/es/ProTable/components/RenderColumn/index.js +8 -1
- package/es/ProTabs/style/index.less +33 -0
- package/es/ProTooltip/index.js +12 -0
- package/es/ProTooltip/propsType.d.ts +3 -0
- package/es/ProTree/components/ProTree.js +33 -14
- package/es/ProTree/components/ProTreeSelect/index.js +11 -5
- package/es/ProTree/components/ProTreeSelect/propsType.d.ts +2 -0
- package/es/ProTree/propsType.d.ts +2 -1
- package/es/ProUpload/components/DragRender.js +4 -6
- package/es/ProUpload/style/fileItem.less +11 -0
- package/lib/ProEditTable/components/DndWrapper/index.d.ts +1 -1
- package/lib/ProEditTable/components/DndWrapper/index.js +3 -4
- package/lib/ProEditTable/components/RenderField/index.js +6 -4
- package/lib/ProEditTable/index.js +1 -1
- package/lib/ProEnum/hooks/useEnum.js +13 -12
- package/lib/ProEnum/hooks/useEnumRequest.js +34 -32
- package/lib/ProEnum/index.js +4 -4
- package/lib/ProEnum/utils/index.d.ts +1 -1
- package/lib/ProEnum/utils/index.js +4 -1
- package/lib/ProForm/components/combination/Group/component/ComRender.d.ts +2 -0
- package/lib/ProForm/components/combination/Group/component/ComRender.js +9 -2
- package/lib/ProForm/components/combination/Group/propsType.d.ts +2 -0
- package/lib/ProForm/components/combination/Group/utils.js +1 -1
- package/lib/ProForm/components/combination/ProCascader/index.js +2 -2
- package/lib/ProForm/components/index.d.ts +1 -0
- package/lib/ProForm/components/index.js +6 -0
- package/lib/ProForm/components/render/Render.js +1 -1
- package/lib/ProTable/components/RenderColumn/index.js +8 -1
- package/lib/ProTabs/style/index.less +33 -0
- package/lib/ProTooltip/index.js +12 -0
- package/lib/ProTooltip/propsType.d.ts +3 -0
- package/lib/ProTree/components/ProTree.js +33 -14
- package/lib/ProTree/components/ProTreeSelect/index.js +11 -5
- package/lib/ProTree/components/ProTreeSelect/propsType.d.ts +2 -0
- package/lib/ProTree/propsType.d.ts +2 -1
- package/lib/ProUpload/components/DragRender.js +3 -5
- package/lib/ProUpload/style/fileItem.less +11 -0
- package/package.json +1 -1
|
@@ -274,7 +274,7 @@ var Render = function Render(props) {
|
|
|
274
274
|
}, 60);
|
|
275
275
|
}
|
|
276
276
|
// ProTreeSelect返回option
|
|
277
|
-
if (['ProTree'].includes(type)) {
|
|
277
|
+
if (['ProTree'].includes(type) && !_args[2].option) {
|
|
278
278
|
var _args2, _args2$;
|
|
279
279
|
_args[2].option = (0, _index.findOptionByValue)(lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.dataSource, (_args2 = _args) === null || _args2 === void 0 ? void 0 : (_args2$ = _args2[0]) === null || _args2$ === void 0 ? void 0 : _args2$[0], (lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.fieldNames) || {});
|
|
280
280
|
}
|
|
@@ -45,6 +45,9 @@ var RenderColumn = function RenderColumn(props) {
|
|
|
45
45
|
title: originalDiffTip ? (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
46
46
|
children: ["\u521D\u59CB\u503C\uFF1A", originalValue, (0, _jsxRuntime.jsx)("br", {}), ellipsis ? "\u5F53\u524D\u503C\uFF1A".concat(currentValue) : undefined]
|
|
47
47
|
}) : node,
|
|
48
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
49
|
+
return triggerNode.parentNode;
|
|
50
|
+
},
|
|
48
51
|
children: renderNode
|
|
49
52
|
});
|
|
50
53
|
}
|
|
@@ -84,7 +87,11 @@ var RenderColumn = function RenderColumn(props) {
|
|
|
84
87
|
width: width
|
|
85
88
|
},
|
|
86
89
|
ellipsis: {
|
|
87
|
-
tooltip:
|
|
90
|
+
tooltip: {
|
|
91
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
92
|
+
return triggerNode.parentNode;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
88
95
|
},
|
|
89
96
|
children: node
|
|
90
97
|
}) : '-';
|
|
@@ -82,3 +82,36 @@
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
.@{ant-prefix}-tabs-dropdown-menu {
|
|
87
|
+
.pro-tabs-card {
|
|
88
|
+
width: 200px;
|
|
89
|
+
padding: calc(9px * var(--zaui-size; 1)) 16px calc(9px * var(--zaui-size; 1)) 24px;
|
|
90
|
+
border: 1px solid var(--zaui-line, #dddddd);
|
|
91
|
+
|
|
92
|
+
.pro-tabs-card-left {
|
|
93
|
+
width: 104px;
|
|
94
|
+
text-shadow: none;
|
|
95
|
+
|
|
96
|
+
.pro-tabs-card-left-total {
|
|
97
|
+
color: var(--zaui-text, #343434);
|
|
98
|
+
font-weight: 600;
|
|
99
|
+
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.pro-tabs-card-left-label {
|
|
103
|
+
color: var(--aui-text, #343434);
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
font-size: var(--zaui-font-size, 14px);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.pro-tabs-card-right {
|
|
110
|
+
display: flex;
|
|
111
|
+
|
|
112
|
+
img {
|
|
113
|
+
width: 48px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
package/lib/ProTooltip/index.js
CHANGED
|
@@ -76,6 +76,9 @@ var ProTooltip = function ProTooltip(props) {
|
|
|
76
76
|
title: text
|
|
77
77
|
}, restProps), {}, {
|
|
78
78
|
overlayStyle: overlayStyle,
|
|
79
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
80
|
+
return triggerNode.parentNode;
|
|
81
|
+
},
|
|
79
82
|
children: (0, _jsxRuntime.jsx)("div", (0, _objectSpread2.default)((0, _objectSpread2.default)({}, specialProps), {}, {
|
|
80
83
|
style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, multiStyle), {}, {
|
|
81
84
|
width: localWidth,
|
|
@@ -108,6 +111,9 @@ var ProTooltip = function ProTooltip(props) {
|
|
|
108
111
|
title: text
|
|
109
112
|
}, restProps), {}, {
|
|
110
113
|
overlayStyle: overlayStyle,
|
|
114
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
115
|
+
return triggerNode.parentNode;
|
|
116
|
+
},
|
|
111
117
|
children: (0, _jsxRuntime.jsx)("div", (0, _objectSpread2.default)((0, _objectSpread2.default)({}, specialProps), {}, {
|
|
112
118
|
style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, multiStyle), {}, {
|
|
113
119
|
width: localWidth,
|
|
@@ -255,6 +261,9 @@ var ProTooltip = function ProTooltip(props) {
|
|
|
255
261
|
children: isResponsiveWidth && isShowToolTip ? (0, _jsxRuntime.jsx)(_antd.Tooltip, (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
256
262
|
title: text
|
|
257
263
|
}, restProps), {}, {
|
|
264
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
265
|
+
return triggerNode.parentNode;
|
|
266
|
+
},
|
|
258
267
|
children: (0, _jsxRuntime.jsx)("div", {
|
|
259
268
|
className: isMultiLine ? 'multiLine' : 'singleLine',
|
|
260
269
|
style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, multiStyle), {}, {
|
|
@@ -273,6 +282,9 @@ var ProTooltip = function ProTooltip(props) {
|
|
|
273
282
|
}) : mode === 'default' ? (0, _jsxRuntime.jsx)(_antd.Tooltip, (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
274
283
|
title: text
|
|
275
284
|
}, restProps), {}, {
|
|
285
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
286
|
+
return triggerNode.parentNode;
|
|
287
|
+
},
|
|
276
288
|
children: (0, _jsxRuntime.jsx)("div", {
|
|
277
289
|
className: isMultiLine ? 'multiLine' : 'singleLine',
|
|
278
290
|
style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, multiStyle), {}, {
|
|
@@ -245,7 +245,7 @@ var ProTree = function ProTree(props) {
|
|
|
245
245
|
/**
|
|
246
246
|
* 复选事件处理函数,全选事件处理函数
|
|
247
247
|
*/
|
|
248
|
-
var handleFinish = function handleFinish(allValue, checkAll, checkedValues) {
|
|
248
|
+
var handleFinish = function handleFinish(allValue, checkAll, checkedValues, checkedNode) {
|
|
249
249
|
if (disabled || isView) {
|
|
250
250
|
return null;
|
|
251
251
|
}
|
|
@@ -257,16 +257,24 @@ var ProTree = function ProTree(props) {
|
|
|
257
257
|
onChange && onChange(allValue);
|
|
258
258
|
} else {
|
|
259
259
|
var values = checkedValues;
|
|
260
|
+
var options = state.flatTreeData.filter(function (item) {
|
|
261
|
+
return values.includes(item[fieldNameValue]);
|
|
262
|
+
});
|
|
263
|
+
if (checkedNode) {
|
|
264
|
+
options = checkedNode;
|
|
265
|
+
delete options[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'];
|
|
266
|
+
}
|
|
260
267
|
if (labelInValue) {
|
|
261
268
|
values = state.flatTreeData.filter(function (item) {
|
|
262
269
|
return values.includes(item[fieldNameValue]);
|
|
263
270
|
});
|
|
264
271
|
}
|
|
265
|
-
onChange && onChange(values);
|
|
272
|
+
onChange && onChange(values, options);
|
|
266
273
|
}
|
|
267
274
|
};
|
|
268
275
|
// 该方法只有复选框,在勾中checkbox后才会走到这个方法
|
|
269
276
|
var onCheck = function onCheck(checkedKeys, info) {
|
|
277
|
+
var _info$node;
|
|
270
278
|
if (disabled || isView) {
|
|
271
279
|
return null;
|
|
272
280
|
}
|
|
@@ -310,7 +318,11 @@ var ProTree = function ProTree(props) {
|
|
|
310
318
|
setState({
|
|
311
319
|
checkAll: checkAllTemp
|
|
312
320
|
});
|
|
313
|
-
|
|
321
|
+
var checkNodeValue = info === null || info === void 0 ? void 0 : (_info$node = info.node) === null || _info$node === void 0 ? void 0 : _info$node[fieldNameValue];
|
|
322
|
+
var options = state.flatTreeData.filter(function (item) {
|
|
323
|
+
return checkNodeValue === item[fieldNameValue];
|
|
324
|
+
});
|
|
325
|
+
handleFinish(allValue, checkAllTemp, checkedValues, Array.isArray(options) ? options === null || options === void 0 ? void 0 : options[0] : options);
|
|
314
326
|
if (other === null || other === void 0 ? void 0 : other.onCheck) {
|
|
315
327
|
other.onCheck(checkedKeys, {
|
|
316
328
|
checked: info.checked,
|
|
@@ -343,12 +355,12 @@ var ProTree = function ProTree(props) {
|
|
|
343
355
|
setState({
|
|
344
356
|
checkAll: checked
|
|
345
357
|
});
|
|
346
|
-
handleFinish(allValue, checked, checkedValues);
|
|
358
|
+
handleFinish(allValue, checked, checkedValues, null);
|
|
347
359
|
};
|
|
348
360
|
/** 点击了树节点开始loading,改变自身state并将值通过onchange上传到form */
|
|
349
361
|
var onSelectTreeNode = /*#__PURE__*/function () {
|
|
350
362
|
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(props, info) {
|
|
351
|
-
var values;
|
|
363
|
+
var values, options, option;
|
|
352
364
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
353
365
|
while (1) switch (_context.prev = _context.next) {
|
|
354
366
|
case 0:
|
|
@@ -372,17 +384,24 @@ var ProTree = function ProTree(props) {
|
|
|
372
384
|
clickShowLoading: false
|
|
373
385
|
});
|
|
374
386
|
case 7:
|
|
387
|
+
values = props;
|
|
388
|
+
options = state.flatTreeData.filter(function (item) {
|
|
389
|
+
return values === item[fieldNameValue];
|
|
390
|
+
});
|
|
391
|
+
if (labelInValue) {
|
|
392
|
+
values = state.flatTreeData.filter(function (item) {
|
|
393
|
+
return values === item[fieldNameValue];
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
option = options === null || options === void 0 ? void 0 : options[0];
|
|
397
|
+
delete option[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'];
|
|
375
398
|
if (!(other === null || other === void 0 ? void 0 : other.checkable)) {
|
|
376
|
-
// 单选将选中节点值冒泡到form
|
|
377
|
-
values
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
return values === item[fieldNameValue];
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
onChange && onChange(values);
|
|
399
|
+
// 单选将选中节点值冒泡到form, 给onFieldChange添加options
|
|
400
|
+
onChange && onChange(values, option);
|
|
401
|
+
} else {
|
|
402
|
+
onChange && onChange(value, option);
|
|
384
403
|
}
|
|
385
|
-
case
|
|
404
|
+
case 13:
|
|
386
405
|
case "end":
|
|
387
406
|
return _context.stop();
|
|
388
407
|
}
|
|
@@ -17,7 +17,7 @@ var _react = require("react");
|
|
|
17
17
|
var _lodash = require("lodash");
|
|
18
18
|
var _ProConfigProvider = require("../../../ProConfigProvider");
|
|
19
19
|
var _Container = _interopRequireDefault(require("../../../ProForm/components/Container"));
|
|
20
|
-
var _excluded = ["disabled", "code", "dataSource", "defaultDisableValue", "onChange", "useRequest", "transformResponse", "fieldNames", "tooltip", "showSearch", "filterTreeNode", "treeNodeFilterProp", "defaultExpandAll", "expandedKeys", "treeCheckable", "onSearch", "otherProps", "width", "dropdownStyle", "popupClassName", "style", "allowClear", "listHeight", "showCodeName", "className"],
|
|
20
|
+
var _excluded = ["disabled", "code", "dataSource", "defaultDisableValue", "onChange", "useRequest", "transformResponse", "fieldNames", "tooltip", "showSearch", "filterTreeNode", "treeNodeFilterProp", "defaultExpandAll", "expandedKeys", "treeCheckable", "onSearch", "otherProps", "width", "dropdownStyle", "popupClassName", "style", "allowClear", "listHeight", "showCodeName", "className", "checkStrictly", "checkable"],
|
|
21
21
|
_excluded2 = ["children"];
|
|
22
22
|
/* eslint-disable react/no-danger */
|
|
23
23
|
/* eslint-disable react/jsx-closing-tag-location */
|
|
@@ -67,6 +67,8 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
|
|
|
67
67
|
listHeight = props.listHeight,
|
|
68
68
|
showCodeName = props.showCodeName,
|
|
69
69
|
className = props.className,
|
|
70
|
+
checkStrictly = props.checkStrictly,
|
|
71
|
+
checkable = props.checkable,
|
|
70
72
|
selectProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
71
73
|
var _props$value = props.value,
|
|
72
74
|
value = _props$value === void 0 ? undefined : _props$value;
|
|
@@ -379,9 +381,11 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
|
|
|
379
381
|
var filterData = function filterData(data) {
|
|
380
382
|
for (var i = 0; i < data.length; i++) {
|
|
381
383
|
var item = data[i];
|
|
382
|
-
if (item[code] === nodeValue) {
|
|
383
|
-
result
|
|
384
|
+
if (item[code] === nodeValue || Array.isArray(nodeValue) && nodeValue.includes(item[code])) {
|
|
385
|
+
result = (0, _objectSpread2.default)({}, item);
|
|
386
|
+
result.value = item[code];
|
|
384
387
|
result.label = item[label];
|
|
388
|
+
delete result[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'];
|
|
385
389
|
return null;
|
|
386
390
|
}
|
|
387
391
|
// 一直递归到最后一层子节点
|
|
@@ -415,7 +419,8 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
|
|
|
415
419
|
if (props === null || props === void 0 ? void 0 : props.labelInValue) {
|
|
416
420
|
result = getLabelByValue(selectList, newVal);
|
|
417
421
|
}
|
|
418
|
-
|
|
422
|
+
var options = findTreeNode(selectList, extra === null || extra === void 0 ? void 0 : extra.triggerValue);
|
|
423
|
+
onChange && onChange(result, options, extra);
|
|
419
424
|
// 重置搜索
|
|
420
425
|
showSearch && searchTreeEvent('');
|
|
421
426
|
};
|
|
@@ -488,7 +493,8 @@ var ProTreeSelect = exports.ProTreeSelect = function ProTreeSelect(props, ref) {
|
|
|
488
493
|
allowClear: allowClear || true,
|
|
489
494
|
showArrow: true,
|
|
490
495
|
treeNodeFilterProp: treeNodeFilterProp,
|
|
491
|
-
virtual: true
|
|
496
|
+
virtual: true,
|
|
497
|
+
treeCheckStrictly: checkStrictly
|
|
492
498
|
}, selectProps);
|
|
493
499
|
if (value === null) {
|
|
494
500
|
delete treeProps.value;
|
|
@@ -71,6 +71,8 @@ export interface PropTreeSelectProps extends Omit<TreeSelectProps, 'onSearch'> {
|
|
|
71
71
|
};
|
|
72
72
|
defaultExpandAll?: boolean;
|
|
73
73
|
expandedKeys?: any[];
|
|
74
|
+
checkStrictly?: boolean;
|
|
75
|
+
checkable?: boolean;
|
|
74
76
|
}
|
|
75
77
|
export interface ProSelectAction {
|
|
76
78
|
/** 获取发生请求的 useRequest 的 ref */
|
|
@@ -60,7 +60,7 @@ export interface ProTreeProps extends PropTreeSelectProps {
|
|
|
60
60
|
/** 树节点文本宽度 */
|
|
61
61
|
ellipseWidth?: string;
|
|
62
62
|
/** value改变的回调 */
|
|
63
|
-
onChange?: (values: string[] | AllValueType) => void;
|
|
63
|
+
onChange?: (values: string[] | AllValueType, options?: object[]) => void;
|
|
64
64
|
/** 点击树节点触发 */
|
|
65
65
|
onSelect?: (values: string[] | AllValueType, info?: any) => any;
|
|
66
66
|
/** 复选情况下点击checkbox触发,参照antd */
|
|
@@ -193,6 +193,7 @@ export interface PropTreeSelectProps extends Omit<TreeSelectProps, 'onSearch'> {
|
|
|
193
193
|
service: Service<any, any>;
|
|
194
194
|
options?: Options<any, any>;
|
|
195
195
|
};
|
|
196
|
+
checkable?: boolean;
|
|
196
197
|
}
|
|
197
198
|
export interface ProSelectAction {
|
|
198
199
|
/** 获取发生请求的 useRequest 的 ref */
|
|
@@ -33,9 +33,7 @@ var DragRender = function DragRender(props) {
|
|
|
33
33
|
setFileList = props.setFileList,
|
|
34
34
|
onChange = props.onChange;
|
|
35
35
|
var refReSelect = (0, _react.useRef)();
|
|
36
|
-
if (isView) return
|
|
37
|
-
children: "-"
|
|
38
|
-
});
|
|
36
|
+
// if (isView) return <>-</>;
|
|
39
37
|
// 拖拽模式下单个文件可用
|
|
40
38
|
var showDraggerSingleRender = maxCount === 1 && fileList[0];
|
|
41
39
|
/**
|
|
@@ -98,13 +96,13 @@ var DragRender = function DragRender(props) {
|
|
|
98
96
|
onPreview: onPreview
|
|
99
97
|
}), file.status !== 'uploading' && (0, _jsxRuntime.jsxs)("div", {
|
|
100
98
|
className: "file-action-box",
|
|
101
|
-
children: [(0, _jsxRuntime.jsx)("div", {
|
|
99
|
+
children: [!isView && !disabled && (0, _jsxRuntime.jsx)("div", {
|
|
102
100
|
className: "file-name",
|
|
103
101
|
onClick: function onClick() {
|
|
104
102
|
handleReSelect(file);
|
|
105
103
|
},
|
|
106
104
|
children: _locale.default === null || _locale.default === void 0 ? void 0 : (_locale$ProUpload = _locale.default.ProUpload) === null || _locale$ProUpload === void 0 ? void 0 : _locale$ProUpload.draggerSelect
|
|
107
|
-
}), (0, _jsxRuntime.jsx)("div", {
|
|
105
|
+
}), !isView && !disabled && (0, _jsxRuntime.jsx)("div", {
|
|
108
106
|
className: "file-del",
|
|
109
107
|
onClick: function onClick() {
|
|
110
108
|
handleDelFile(file);
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
@root-entry-name: 'default';
|
|
2
|
+
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
|
+
|
|
1
4
|
.pro-upload {
|
|
5
|
+
.@{ant-prefix}-upload-disabled{
|
|
6
|
+
.file-action-box{
|
|
7
|
+
.file-name, .file-del{
|
|
8
|
+
color: #ccc;
|
|
9
|
+
cursor: not-allowed !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
2
13
|
|
|
3
14
|
.filelist-item-wrapper {
|
|
4
15
|
.file-info-box {
|