@zat-design/sisyphus-react 3.4.0 → 3.4.1-beta.2

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.
Files changed (82) hide show
  1. package/dist/index.esm.css +121 -124
  2. package/es/ProEditTable/components/DndWrapper/index.d.ts +1 -1
  3. package/es/ProEditTable/components/DndWrapper/index.js +5 -5
  4. package/es/ProEditTable/components/RenderField/index.js +1 -1
  5. package/es/ProEditTable/index.js +15 -9
  6. package/es/ProEditTable/style/index.less +36 -55
  7. package/es/ProEditTable/utils/index.js +2 -2
  8. package/es/ProEnum/components/Group.d.ts +7 -0
  9. package/es/ProEnum/components/Group.js +51 -0
  10. package/es/ProEnum/index.js +25 -2
  11. package/es/ProEnum/propsType.d.ts +2 -2
  12. package/es/ProEnum/propsType.js +1 -1
  13. package/es/ProEnum/style/index.less +65 -1
  14. package/es/ProForm/components/base/InputNumber/index.js +2 -2
  15. package/es/ProForm/components/base/Radio/index.js +1 -1
  16. package/es/ProForm/components/base/Select/index.js +0 -13
  17. package/es/ProForm/components/combination/FormList/components/LineFields.js +1 -0
  18. package/es/ProForm/components/combination/ProNumberRange/style/index.less +20 -19
  19. package/es/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
  20. package/es/ProForm/components/render/ConfirmWrapper.js +58 -0
  21. package/es/ProForm/components/render/Render.js +19 -6
  22. package/es/ProForm/components/render/RenderFields.js +9 -9
  23. package/es/ProForm/components/render/propsType.d.ts +5 -2
  24. package/es/ProForm/style/index.less +6 -1
  25. package/es/ProForm/utils/useShouldUpdate.js +1 -1
  26. package/es/ProForm/utils/valueType.js +37 -3
  27. package/es/ProIcon/index.d.ts +0 -1
  28. package/es/ProIcon/index.js +6 -4
  29. package/es/ProIcon/style/index.less +4 -6
  30. package/es/ProIcon/symbolIcon.js +20 -20
  31. package/es/ProLayout/components/ProCollapse/style/index.less +17 -7
  32. package/es/ProLayout/components/ProHeader/style/index.less +109 -101
  33. package/es/ProTable/components/RenderColumn/index.js +1 -2
  34. package/es/ProTable/propsType.d.ts +1 -1
  35. package/es/ProTable/style/index.less +196 -99
  36. package/es/ProTable/utils.js +1 -1
  37. package/es/ProThemeTools/component/PrdTools/index.js +3 -3
  38. package/es/ProThemeTools/index.js +4 -2
  39. package/es/ProTreeModal/components/SortableItem.js +5 -7
  40. package/es/ProTreeModal/style/index.less +0 -6
  41. package/es/style/core/mixins.less +12 -5
  42. package/lib/ProEditTable/components/DndWrapper/index.d.ts +1 -1
  43. package/lib/ProEditTable/components/DndWrapper/index.js +5 -5
  44. package/lib/ProEditTable/components/RenderField/index.js +1 -1
  45. package/lib/ProEditTable/index.js +13 -7
  46. package/lib/ProEditTable/style/index.less +36 -55
  47. package/lib/ProEditTable/utils/index.js +2 -2
  48. package/lib/ProEnum/components/Group.d.ts +7 -0
  49. package/lib/ProEnum/components/Group.js +58 -0
  50. package/lib/ProEnum/index.js +25 -2
  51. package/lib/ProEnum/propsType.d.ts +2 -2
  52. package/lib/ProEnum/propsType.js +1 -1
  53. package/lib/ProEnum/style/index.less +65 -1
  54. package/lib/ProForm/components/base/InputNumber/index.js +2 -2
  55. package/lib/ProForm/components/base/Radio/index.js +1 -1
  56. package/lib/ProForm/components/base/Select/index.js +0 -13
  57. package/lib/ProForm/components/combination/FormList/components/LineFields.js +1 -0
  58. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +20 -19
  59. package/lib/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
  60. package/lib/ProForm/components/render/ConfirmWrapper.js +64 -0
  61. package/lib/ProForm/components/render/Render.js +19 -6
  62. package/lib/ProForm/components/render/RenderFields.js +9 -9
  63. package/lib/ProForm/components/render/propsType.d.ts +5 -2
  64. package/lib/ProForm/style/index.less +6 -1
  65. package/lib/ProForm/utils/useShouldUpdate.js +1 -1
  66. package/lib/ProForm/utils/valueType.js +37 -3
  67. package/lib/ProIcon/index.d.ts +0 -1
  68. package/lib/ProIcon/index.js +6 -4
  69. package/lib/ProIcon/style/index.less +4 -6
  70. package/lib/ProIcon/symbolIcon.js +20 -20
  71. package/lib/ProLayout/components/ProCollapse/style/index.less +17 -7
  72. package/lib/ProLayout/components/ProHeader/style/index.less +109 -101
  73. package/lib/ProTable/components/RenderColumn/index.js +1 -2
  74. package/lib/ProTable/propsType.d.ts +1 -1
  75. package/lib/ProTable/style/index.less +196 -99
  76. package/lib/ProTable/utils.js +1 -1
  77. package/lib/ProThemeTools/component/PrdTools/index.js +2 -2
  78. package/lib/ProThemeTools/index.js +3 -1
  79. package/lib/ProTreeModal/components/SortableItem.js +5 -7
  80. package/lib/ProTreeModal/style/index.less +0 -6
  81. package/lib/style/core/mixins.less +12 -5
  82. package/package.json +1 -1
@@ -31,6 +31,7 @@ import valueTypeMap from '../../utils/valueType';
31
31
  import { useChanged } from '../../utils/useChanged';
32
32
  import tipSvg from '../../../assets/tip.svg';
33
33
  import useRules from '../../utils/useRules';
34
+ import ConfirmWrapper from './ConfirmWrapper';
34
35
  // 这个组件只管渲染, 参数的整理在外部处理
35
36
  var Render = function Render(props) {
36
37
  var _ref2, _otherProps$names2;
@@ -44,13 +45,15 @@ var Render = function Render(props) {
44
45
  show = _props$show === void 0 ? true : _props$show,
45
46
  fieldProps = props.fieldProps,
46
47
  form = props.form,
47
- formDisabled = props.disabled,
48
+ disabled = props.disabled,
49
+ formDisabled = props.formDisabled,
48
50
  type = props.type,
49
51
  isSelect = props.isSelect,
50
52
  originalValues = props.originalValues,
51
53
  equalWith = props.equalWith,
52
54
  requiredOnView = props.requiredOnView,
53
- originalTip = props.originalTip;
55
+ originalTip = props.originalTip,
56
+ confirm = props.confirm;
54
57
  var colProps = props.colProps;
55
58
  // 剔除一些不是FormItem的属性, 防止控制台报warning
56
59
  var labelWidth = formItemProps.labelWidth,
@@ -68,7 +71,7 @@ var Render = function Render(props) {
68
71
  show: show,
69
72
  formItemProps: formItemProps,
70
73
  form: form,
71
- disabled: componentProps.disabled,
74
+ disabled: disabled,
72
75
  rules: rules,
73
76
  required: required,
74
77
  fieldProps: fieldProps,
@@ -129,6 +132,9 @@ var Render = function Render(props) {
129
132
  if (type === 'SwitchCheckbox') {
130
133
  valueType = 'switch';
131
134
  }
135
+ if (type === 'Input') {
136
+ valueType = valueType || 'trim';
137
+ }
132
138
  // 不存在valueType返回空
133
139
  if (!valueType) {
134
140
  return {};
@@ -163,8 +169,8 @@ var Render = function Render(props) {
163
169
  }
164
170
  /** 移除多余参数,防止透传给formItem报错 */
165
171
  var _otherFormItemProps = omit(otherFormItemProps, ['component', 'names', 'format', 'toISOString', 'switchValue', 'precision', 'clearNotShow']);
166
- // 优先取组件上的disabled, 最后取formDisabled(全局
167
- var lastDisabled = componentProps.disabledStrictly ? (_ref2 = _disabled !== null && _disabled !== void 0 ? _disabled : _fieldProps === null || _fieldProps === void 0 ? void 0 : _fieldProps.disabled) !== null && _ref2 !== void 0 ? _ref2 : formDisabled : false;
172
+ // 优先级 column.disabled > fieldProps.disabled > formDisabled
173
+ var lastDisabled = (_ref2 = _disabled !== null && _disabled !== void 0 ? _disabled : _fieldProps === null || _fieldProps === void 0 ? void 0 : _fieldProps.disabled) !== null && _ref2 !== void 0 ? _ref2 : formDisabled;
168
174
  /**
169
175
  * 最新fieldProps: 更新后的组件Props
170
176
  */
@@ -255,7 +261,7 @@ var Render = function Render(props) {
255
261
  if (formItemProps === null || formItemProps === void 0 ? void 0 : formItemProps.parentNames) {
256
262
  setTimeout(function () {
257
263
  form.setFieldValue(formItemProps === null || formItemProps === void 0 ? void 0 : formItemProps.parentNames, form.getFieldValue(formItemProps === null || formItemProps === void 0 ? void 0 : formItemProps.parentNames));
258
- form.validateFields([formItemProps === null || formItemProps === void 0 ? void 0 : formItemProps.parentNames]);
264
+ form.validateFields();
259
265
  }, 60);
260
266
  }
261
267
  // ProTreeSelect返回option
@@ -353,6 +359,13 @@ var Render = function Render(props) {
353
359
  onChange: handleChange,
354
360
  onBlur: handleBlur
355
361
  }));
362
+ if (confirm) {
363
+ child = _jsx(ConfirmWrapper, _objectSpread(_objectSpread({
364
+ confirm: confirm
365
+ }, childProps), {}, {
366
+ children: child
367
+ }));
368
+ }
356
369
  // 表单提示
357
370
  if (tooltip) {
358
371
  _otherFormItemProps.tooltip = {
@@ -1,6 +1,6 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
- var _excluded = ["show", "type", "viewRender", "viewType", "valueType", "formItemProps", "colProps", "formItemChildProps", "fieldProps", "disabled", "equalWith", "clearNotShow", "required"];
3
+ var _excluded = ["show", "type", "viewRender", "viewType", "valueType", "formItemProps", "colProps", "formItemChildProps", "fieldProps", "equalWith", "clearNotShow", "required", "confirm"];
4
4
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  import React from 'react';
6
6
  import { isBoolean, isFunction, union, isString } from 'lodash';
@@ -44,7 +44,7 @@ var RenderFields = function RenderFields(props) {
44
44
  });
45
45
  }
46
46
  var comList = columns.flatMap(function (column, index) {
47
- var _ref, _formItemProps$disabl;
47
+ var _formItemProps$disabl;
48
48
  if (!!expand && !openState) {
49
49
  // expand为Number时 过滤掉大于expand 且 非fixed的column
50
50
  if (typeof expand === 'number') {
@@ -67,11 +67,11 @@ var RenderFields = function RenderFields(props) {
67
67
  formItemChildProps = _column$formItemChild === void 0 ? {} : _column$formItemChild,
68
68
  _column$fieldProps = column.fieldProps,
69
69
  fieldProps = _column$fieldProps === void 0 ? {} : _column$fieldProps,
70
- disabled = column.disabled,
71
70
  equalWith = column.equalWith,
72
71
  _column$clearNotShow = column.clearNotShow,
73
72
  clearNotShow = _column$clearNotShow === void 0 ? outerClearNotShow : _column$clearNotShow,
74
73
  columnRequired = column.required,
74
+ confirm = column.confirm,
75
75
  otherFormItemProps = _objectWithoutProperties(column, _excluded);
76
76
  var component = column.component;
77
77
  var _isView = typeof column.isView === 'boolean' ? column.isView : isView;
@@ -123,8 +123,7 @@ var RenderFields = function RenderFields(props) {
123
123
  placeholder = formItemChildProps.placeholder,
124
124
  dataSource = formItemChildProps.dataSource;
125
125
  var formLabel = _formItemProps.label;
126
- var comDisabled = (_ref = (_formItemProps$disabl = _formItemProps === null || _formItemProps === void 0 ? void 0 : _formItemProps.disabled) !== null && _formItemProps$disabl !== void 0 ? _formItemProps$disabl : fieldProps.disabled) !== null && _ref !== void 0 ? _ref : disabled;
127
- var _disabled = comDisabled === undefined ? formDisabled : comDisabled;
126
+ var comDisabled = (_formItemProps$disabl = _formItemProps === null || _formItemProps === void 0 ? void 0 : _formItemProps.disabled) !== null && _formItemProps$disabl !== void 0 ? _formItemProps$disabl : fieldProps.disabled; // 组件属性层disabled fieldProps可能为函数
128
127
  // 当前组件是不是一个选择组件
129
128
  var _isSelect = isSelect({
130
129
  dataSource: dataSource,
@@ -141,10 +140,9 @@ var RenderFields = function RenderFields(props) {
141
140
  _fieldProps.disabled = formDisabled;
142
141
  }
143
142
  var componentProps = _objectSpread(_objectSpread({
144
- disabledStrictly: true,
145
143
  placeholder: placeholderHandle()
146
144
  }, _fieldProps), {}, {
147
- disabled: _disabled
145
+ disabled: comDisabled
148
146
  });
149
147
  // 容器组件,额外处理show的问题
150
148
  if (['ProCollapse', 'Container'].includes(_type)) {
@@ -168,7 +166,7 @@ var RenderFields = function RenderFields(props) {
168
166
  var otherProps = {
169
167
  label: _formItemProps.label,
170
168
  name: _formItemProps.name,
171
- disabled: _disabled,
169
+ disabled: comDisabled,
172
170
  isView: _isView,
173
171
  viewEmpty: viewEmpty,
174
172
  valueType: valueType,
@@ -189,13 +187,15 @@ var RenderFields = function RenderFields(props) {
189
187
  value: otherProps,
190
188
  children: _jsx(Render, {
191
189
  show: show,
192
- disabled: Boolean(formDisabled),
193
190
  form: form,
191
+ disabled: column.disabled,
192
+ formDisabled: formDisabled,
194
193
  type: _type,
195
194
  originComponent: component,
196
195
  component: TargetComponent,
197
196
  // @ts-ignore
198
197
  formItemProps: _formItemProps,
198
+ confirm: confirm,
199
199
  colProps: _colProps,
200
200
  componentProps: componentProps,
201
201
  otherProps: otherProps,
@@ -1,4 +1,4 @@
1
- import { ColProps, FormInstance, FormItemProps } from 'antd';
1
+ import { ColProps, FormInstance, FormItemProps, ModalFuncProps } from 'antd';
2
2
  import { NamePath } from 'antd/es/form/interface';
3
3
  import React from 'react';
4
4
  import { validate, regExp } from '@zat-design/utils';
@@ -175,7 +175,7 @@ export type ColumnPropsMap<Values = any, T = 'ProForm'> = {
175
175
  type?: 'Container';
176
176
  fieldProps?: any;
177
177
  };
178
- interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Values>, 'rules' | 'required'> {
178
+ export interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Values>, 'rules' | 'required'> {
179
179
  component?: React.ReactNode | ReactiveFunction<Values, React.ReactNode>;
180
180
  names?: NamePath[];
181
181
  show?: boolean | ReactiveFunction<Values, boolean>;
@@ -224,12 +224,14 @@ interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Values>, '
224
224
  extra?: string | React.ReactNode;
225
225
  /** 是否固定字段, 不隐藏 */
226
226
  fixed?: boolean;
227
+ confirm?: boolean | ModalFuncProps | ((values: Values) => boolean | ModalFuncProps);
227
228
  }
228
229
  export type ProColumnProps<T = any> = ProFormColumnProps<T> & ColumnPropsMap<T, 'ProForm'>;
229
230
  /**
230
231
  * 表单渲染类型
231
232
  */
232
233
  export interface RenderProps<Values = any> {
234
+ formDisabled?: boolean;
233
235
  component: any;
234
236
  formItemProps: FormItemProps<Values> & {
235
237
  labelWidth?: string | number;
@@ -267,6 +269,7 @@ export interface RenderProps<Values = any> {
267
269
  isSelect: boolean;
268
270
  originalValues?: Values;
269
271
  requiredOnView?: boolean;
272
+ confirm?: ProFormColumnProps['confirm'];
270
273
  [name: string]: any;
271
274
  }
272
275
  export {};
@@ -142,6 +142,11 @@
142
142
  }
143
143
  }
144
144
 
145
+ .ant-form-item-control:has(.ant-switch-handle, .ant-checkbox-wrapper-in-form-item) {
146
+ background: @zaui-contract-bg;
147
+ border-radius: 4px;
148
+ }
149
+
145
150
  // 查看模式 修改容器样式
146
151
  .@{ant-prefix}-form-item-control-input-content > span, // 地址组件
147
152
  .pro-form-view-container {
@@ -173,7 +178,7 @@
173
178
 
174
179
  .pro-number-range {
175
180
  .@{ant-prefix}-input-number {
176
- width: calc(50% - 20px);
181
+ width: calc(50% - 16px);
177
182
  }
178
183
 
179
184
  .range-right {
@@ -122,7 +122,7 @@ var useShouldUpdate = function useShouldUpdate(props) {
122
122
  return {
123
123
  shouldUpdate: function shouldUpdate(prevValues, currentValues) {
124
124
  // formList场景取当前行数据,不取shouldUpdate变更后值
125
- var _currentValues = (namePath ? form.getFieldValue(namePath) : currentValues) || {};
125
+ var _currentValues = form.getFieldsValue(namePath ? [namePath] : undefined) || {};
126
126
  var _show = isFunction(show) ? Boolean(show(_currentValues, {
127
127
  form: form,
128
128
  index: index,
@@ -1,3 +1,4 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
1
2
  import Big from 'big.js';
2
3
  import { transforms } from '@zat-design/utils';
3
4
  var transformDate = transforms.transformDate,
@@ -35,6 +36,26 @@ var switchTransform = function switchTransform(switchValue) {
35
36
  }
36
37
  return transformSwitch(switchValue);
37
38
  };
39
+ var formatMap = {
40
+ date: {
41
+ format: 'YYYY-MM-DD'
42
+ },
43
+ dateTime: {
44
+ format: 'YYYY-MM-DD HH:mm:ss'
45
+ },
46
+ dateStartTime: {
47
+ format: 'YYYY-MM-DD HH:mm:ss',
48
+ timeType: 'startTime'
49
+ },
50
+ dateEndTime: {
51
+ format: 'YYYY-MM-DD HH:mm:ss',
52
+ timeType: 'endTime'
53
+ },
54
+ dateStartEndTime: {
55
+ format: 'YYYY-MM-DD HH:mm:ss',
56
+ timeType: 'startEndTime'
57
+ }
58
+ };
38
59
  /**
39
60
  * 日期转换
40
61
  */
@@ -43,14 +64,15 @@ var dateTransform = function dateTransform(_ref2) {
43
64
  _ref2$_valueType = _ref2._valueType,
44
65
  _valueType = _ref2$_valueType === void 0 ? 'date' : _ref2$_valueType,
45
66
  _ref2$toISOString = _ref2.toISOString,
46
- toISOString = _ref2$toISOString === void 0 ? false : _ref2$toISOString;
67
+ toISOString = _ref2$toISOString === void 0 ? false : _ref2$toISOString,
68
+ mode = _ref2.mode;
47
69
  var result = {};
48
70
  if (type === 'RangePicker' && ['dateStartTime', 'dateEndTime'].includes(_valueType)) {
49
- console.error('Warning: RangePicker valueType can only be set to [\'date\' | \'dateTime\' | \'dateStartEndTime\']');
71
+ console.error("Warning: RangePicker valueType can only be set to ['date' | 'dateTime' | 'dateStartEndTime']");
50
72
  return result;
51
73
  }
52
74
  if (type === 'DatePicker' && ['dateStartEndTime'].includes(_valueType)) {
53
- console.error('Warning: DatePicker valueType can only be set to [\'date\' | \'dateTime\' | \'dateStartTime\'| \'dateEndTime\']');
75
+ console.error("Warning: DatePicker valueType can only be set to ['date' | 'dateTime' | 'dateStartTime'| 'dateEndTime']");
54
76
  return result;
55
77
  }
56
78
  switch (type) {
@@ -113,6 +135,18 @@ var dateTransform = function dateTransform(_ref2) {
113
135
  default:
114
136
  break;
115
137
  }
138
+ if (type === 'ProTimeLimit' && (!mode || mode === 'DatePicker')) {
139
+ return transformDate(_objectSpread({
140
+ type: 'DatePicker',
141
+ valueType: toISOString ? 'ISOString' : 'string'
142
+ }, formatMap[_valueType]));
143
+ }
144
+ if (type === 'ProRangeLimit' || type === 'ProTimeLimit' && mode === 'RangePicker') {
145
+ return transformDate(_objectSpread({
146
+ type: 'RangePicker',
147
+ valueType: toISOString ? 'ISOString' : 'string'
148
+ }, formatMap[_valueType]));
149
+ }
116
150
  return result;
117
151
  };
118
152
  export default {
@@ -1,6 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { ProIconProps } from './propsTypes';
3
- import './style/index.less';
4
3
  export declare function createScriptUrlElements(scriptUrls: string[], index?: number): void;
5
4
  declare const ProIcon: FC<ProIconProps>;
6
5
  export default ProIcon;
@@ -1,10 +1,11 @@
1
1
  import "antd/es/button/style";
2
2
  import _Button from "antd/es/button";
3
3
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
+ var _excluded = ["type", "onClick", "size", "color", "className", "style", "spin", "rotate", "theme", "disabled"];
4
6
  import { jsx as _jsx } from "react/jsx-runtime";
5
7
  import classNames from 'classnames';
6
8
  import symbolIcon from './symbolIcon';
7
- import './style/index.less';
8
9
  var customCache = new Set();
9
10
  function isValidCustomScriptUrl(scriptUrl) {
10
11
  return Boolean(typeof scriptUrl === 'string' && scriptUrl.length && !customCache.has(scriptUrl));
@@ -47,7 +48,8 @@ var ProIcon = function ProIcon(props) {
47
48
  _props$theme = props.theme,
48
49
  theme = _props$theme === void 0 ? false : _props$theme,
49
50
  _props$disabled = props.disabled,
50
- disabled = _props$disabled === void 0 ? false : _props$disabled;
51
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
52
+ reset = _objectWithoutProperties(props, _excluded);
51
53
  var rotateStyle = rotate ? {
52
54
  msTransform: "rotate(".concat(rotate, "deg)"),
53
55
  transform: "rotate(".concat(rotate, "deg)")
@@ -78,12 +80,12 @@ var ProIcon = function ProIcon(props) {
78
80
  })
79
81
  });
80
82
  if (disabled) {
81
- return _jsx(_Button, {
83
+ return _jsx(_Button, _objectSpread({
82
84
  type: "text",
83
85
  className: proIconClassNames,
84
86
  icon: SvgElement,
85
87
  disabled: true
86
- });
88
+ }, reset));
87
89
  }
88
90
  return SvgElement;
89
91
  };
@@ -4,15 +4,13 @@
4
4
  .pro-icon {
5
5
  cursor: pointer;
6
6
 
7
-
8
7
  &.pro-icon-with-theme {
9
- fill: var(--zaui-brand, #006Aff);
8
+ fill: var(--zaui-brand, #006aff);
10
9
  }
11
10
 
12
11
  &.pro-icon-spin {
13
12
  animation: loadingCircle 1s infinite linear;
14
13
  }
15
-
16
14
  }
17
15
 
18
16
  .pro-icon-btn {
@@ -21,10 +19,10 @@
21
19
  }
22
20
 
23
21
  &.@{ant-prefix}-btn-icon-only {
24
- width : auto;
25
- height : auto;
22
+ width: auto;
23
+ height: auto;
26
24
  padding: 0;
27
- border: 0;
28
25
  vertical-align: 0;
26
+ border: 0;
29
27
  }
30
28
  }
@@ -1,43 +1,43 @@
1
- window._iconfont_svg_string_4063056 = '<svg><symbol id="icon-dot" viewBox="0 0 1024 1024"><path d="M512 624a112 112 0 1 0 0-224 112 112 0 0 0 0 224z" ></path></symbol><symbol id="icon-solid-close" viewBox="0 0 1024 1024"><path d="M516.707 66.513C272.86 66.513 75.16 264.212 75.16 508.06S272.86 949.607 516.707 949.607 958.254 751.91 958.254 508.06 760.556 66.513 516.707 66.513z m227.067 601.691c18.419 18.42 18.419 48.504 0 66.923s-48.504 18.42-66.923 0L516.707 574.983 356.563 735.127c-18.419 18.42-48.503 18.42-66.923 0s-18.419-48.504 0-66.923L449.784 508.06 289.64 347.916c-18.419-18.419-18.419-48.503 0-66.922 18.42-18.42 48.504-18.42 66.923 0l160.144 160.144 160.144-160.144c18.42-18.42 48.504-18.42 66.923 0 18.419 18.419 18.419 48.503 0 66.922L583.63 508.06l160.144 160.144z" ></path></symbol><symbol id="icon-arrow" viewBox="0 0 1024 1024"><path d="M832 0a192 192 0 0 1 192 192v640a192 192 0 0 1-192 192H192A192 192 0 0 1 0 832V192A192 192 0 0 1 192 0z m0 42.667H192A149.333 149.333 0 0 0 42.667 192v640A149.333 149.333 0 0 0 192 981.333h640A149.333 149.333 0 0 0 981.333 832V192A149.333 149.333 0 0 0 832 42.667z m-94.165 329.386l60.33 60.331L512 718.592 225.835 432.384l60.33-60.33L512 597.887l225.835-225.835z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M662.08 121.472v64H361.92v-64z m206.4 159.488v64H155.52v-64z" ></path><path d="M280.512 303.232l-0.064 530.816h460.096V303.232h64v594.88H216.512v-594.88z" ></path><path d="M431.424 440.704v337.728h-64V440.704z m225.152 0v337.728h-64V440.704z" ></path></symbol><symbol id="icon-catalog" viewBox="0 0 1075 1024"><path d="M1044.429 758.323v128.973H313.702V758.272h730.727z m-833.127 0v128.973H71.732V758.272h139.57zM1044.43 447.54v128.922H313.702V447.539h730.727z m-833.127 0v128.922H71.732V447.539h139.57z m833.127-310.784v128.922H313.702V136.704h730.727z m-833.127 0v128.922H71.732V136.704h139.57z" ></path></symbol><symbol id="icon-customColumn" viewBox="0 0 1024 1024"><path d="M170.368 128h0.576c28.288 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576C142.144 896 128 881.152 128 851.392V172.608c0-29.76 14.08-44.608 42.368-44.608z m682.752 0h0.576c28.224 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576c-28.288 0-42.368-14.848-42.368-44.608V172.608c0-29.76 14.08-44.608 42.368-44.608z m-453.632 0h225.024c38.784 0 58.176 20.16 58.176 60.416v647.168c0 40.32-19.392 60.416-58.176 60.416H399.488c-38.784 0-58.176-20.16-58.176-60.416V188.416c0-40.32 19.392-60.416 58.176-60.416z" ></path></symbol><symbol id="icon-copy" viewBox="0 0 1024 1024"><path d="M363.746 0h565.883c52.05 0 94.286 42.236 94.286 94.285V660.17c0 52.049-42.237 94.285-94.286 94.285H363.746c-52.05 0-94.286-42.236-94.286-94.285V94.285C269.46 42.236 311.697 0 363.746 0z m0 80.804a13.482 13.482 0 0 0-13.482 13.481V660.17c0 7.423 6.058 13.482 13.482 13.482h565.883c7.424 0 13.482-6.059 13.482-13.482V94.285a13.482 13.482 0 0 0-13.482-13.481H363.746z m309.905 754.54a40.445 40.445 0 1 1 80.803 0v94.37c0 52.05-42.236 94.286-94.285 94.286H94.285C42.236 1023.915 0 981.678 0 929.63V363.745c0-52.05 42.236-94.286 94.285-94.286h94.371a40.445 40.445 0 0 1 0 80.804h-94.37a13.482 13.482 0 0 0-13.482 13.482v565.883c0 7.424 6.058 13.482 13.481 13.482H660.17c7.423 0 13.482-6.058 13.482-13.482v-94.37z" ></path></symbol><symbol id="icon-drag" viewBox="0 0 1024 1024"><path d="M358.4 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path></symbol><symbol id="icon-disabled" viewBox="0 0 1024 1024"><path d="M752.384 412.1088h-55.6544V300.3904C696.7296 183.6544 608.512 102.4 501.76 102.4 395.0592 102.4 306.8928 183.6544 306.8928 300.3904V407.04H251.1872c-27.8016 0-46.3872 25.344-46.3872 50.7392v385.8432c0 30.464 23.1936 50.7904 46.3872 50.7904h501.248c27.8016 0 46.3872-25.3952 46.3872-50.7904V462.848c0-30.464-18.5856-50.7392-46.4384-50.7392z m-222.72 253.8496v86.272c0 5.12-4.6592 5.12-4.6592 5.12h-41.7792c-4.608 0-4.608-5.12-4.608-5.12v-86.272c-23.2448-10.1888-37.12-30.464-37.12-55.8592 0-35.5328 27.8016-66.048 60.3136-66.048 32.4608 0 60.3136 30.5152 60.3136 66.048 0 25.3952-13.9264 45.6704-32.4608 55.808z m92.7744-253.8496H381.1328V295.3216c0-60.928 55.7056-111.6672 120.6784-111.6672 64.9728 0 120.6272 50.7392 120.6272 111.6672v116.736z" ></path></symbol><symbol id="icon-tip" viewBox="0 0 1024 1024"><path d="M512 19.017a492.983 492.983 0 1 1-0.073 986.039A492.983 492.983 0 0 1 512 19.09z m0 48.786a444.27 444.27 0 1 0 0.073 888.467A444.27 444.27 0 0 0 512 67.803z m22.016 317.367c37.45 3.877 55.15 33.792 48.64 66.707l-78.41 259.072c-1.023 5.924 2.049 11.849 7.315 13.677 5.852 2.048 17.92-5.412 27.648-16.091l47.104-56.613c1.244 9.509-0.878 26.185-0.878 32.549-35.328 53.028-71.314 93.988-131.876 93.988-41.326-6.729-58.222-36.352-49.298-66.56l77.897-257.828c1.901-6.364-1.244-13.02-7.022-15.068-5.778-2.048-17.042 5.413-26.77 16.092l-47.031 56.612c-1.317-9.508-0.146-25.234-0.146-31.597 35.328-53.029 93.403-94.94 132.827-94.94z m40.96-144.823c29.77 0 53.906 21.724 53.906 53.614 0 31.964-24.137 53.614-53.906 53.614a52.297 52.297 0 0 1-53.906-53.614c0-31.89 24.137-53.614 53.906-53.614z" ></path></symbol><symbol id="icon-reset" viewBox="0 0 1024 1024"><path d="M482.464768 117.691733L364.363435 66.696533A49.288533 49.288533 0 0 0 325.314901 157.013333a417.9968 417.9968 0 0 0 53.8624 789.845334 49.288533 49.288533 0 0 0 25.668267-95.163734 319.624533 319.624533 0 0 1-29.559467-608.324266l-7.850666 18.158933a49.152 49.152 0 0 0 26.0096 64.580267 49.288533 49.288533 0 0 0 64.580266-24.9856l50.107734-118.9888a49.425067 49.425067 0 0 0-25.668267-64.512z m429.602133 421.410134A418.884267 418.884267 0 0 0 614.424235 126.839467a49.288533 49.288533 0 1 0-28.398934 94.344533 319.829333 319.829333 0 0 1 56.9344 589.824 49.152 49.152 0 0 0-86.152533-47.240533l-67.106133 109.431466a48.9472 48.9472 0 0 0 16.110933 67.925334l109.294933 67.9936a49.288533 49.288533 0 1 0 50.9952-83.7632l-15.018666-9.352534a418.679467 418.679467 0 0 0 261.051733-376.900266z" ></path></symbol><symbol id="icon-view" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol><symbol id="icon-search" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol></svg>', function (e) {
1
+ window._iconfont_svg_string_4063056 = '<svg><symbol id="icon-disabled1" viewBox="0 0 1024 1024"><path d="M752.384 412.1088h-55.6544V300.3904C696.7296 183.6544 608.512 102.4 501.76 102.4 395.0592 102.4 306.8928 183.6544 306.8928 300.3904V407.04H251.1872c-27.8016 0-46.3872 25.344-46.3872 50.7392v385.8432c0 30.464 23.1936 50.7904 46.3872 50.7904h501.248c27.8016 0 46.3872-25.3952 46.3872-50.7904V462.848c0-30.464-18.5856-50.7392-46.4384-50.7392z m-222.72 253.8496v86.272c0 5.12-4.6592 5.12-4.6592 5.12h-41.7792c-4.608 0-4.608-5.12-4.608-5.12v-86.272c-23.2448-10.1888-37.12-30.464-37.12-55.8592 0-35.5328 27.8016-66.048 60.3136-66.048 32.4608 0 60.3136 30.5152 60.3136 66.048 0 25.3952-13.9264 45.6704-32.4608 55.808z m92.7744-253.8496H381.1328V295.3216c0-60.928 55.7056-111.6672 120.6784-111.6672 64.9728 0 120.6272 50.7392 120.6272 111.6672v116.736z" fill="#BCBCBC" ></path></symbol><symbol id="icon-drag" viewBox="0 0 1024 1024"><path d="M670.72 179.2m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M670.72 506.88m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M670.72 834.56m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M343.04 179.2m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M343.04 506.88m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M343.04 834.56m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path></symbol><symbol id="icon-plus" viewBox="0 0 1024 1024"><path d="M576 64H448v384H64v128h384v384h128V576h384V448H576z" ></path></symbol><symbol id="icon-zengjia" viewBox="0 0 1024 1024"><path d="M939.94 459.073h-377.6V83.519H462.055v375.554h-377.6v100.284h377.6v379.646H562.34V559.357h377.6z" fill="#272636" ></path></symbol><symbol id="icon-dot" viewBox="0 0 1024 1024"><path d="M512 624a112 112 0 1 0 0-224 112 112 0 0 0 0 224z" ></path></symbol><symbol id="icon-solid-close" viewBox="0 0 1024 1024"><path d="M516.707 66.513C272.86 66.513 75.16 264.212 75.16 508.06S272.86 949.607 516.707 949.607 958.254 751.91 958.254 508.06 760.556 66.513 516.707 66.513z m227.067 601.691c18.419 18.42 18.419 48.504 0 66.923s-48.504 18.42-66.923 0L516.707 574.983 356.563 735.127c-18.419 18.42-48.503 18.42-66.923 0s-18.419-48.504 0-66.923L449.784 508.06 289.64 347.916c-18.419-18.419-18.419-48.503 0-66.922 18.42-18.42 48.504-18.42 66.923 0l160.144 160.144 160.144-160.144c18.42-18.42 48.504-18.42 66.923 0 18.419 18.419 18.419 48.503 0 66.922L583.63 508.06l160.144 160.144z" ></path></symbol><symbol id="icon-arrow" viewBox="0 0 1024 1024"><path d="M832 0a192 192 0 0 1 192 192v640a192 192 0 0 1-192 192H192A192 192 0 0 1 0 832V192A192 192 0 0 1 192 0z m0 42.667H192A149.333 149.333 0 0 0 42.667 192v640A149.333 149.333 0 0 0 192 981.333h640A149.333 149.333 0 0 0 981.333 832V192A149.333 149.333 0 0 0 832 42.667z m-94.165 329.386l60.33 60.331L512 718.592 225.835 432.384l60.33-60.33L512 597.887l225.835-225.835z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M662.08 121.472v64H361.92v-64z m206.4 159.488v64H155.52v-64z" ></path><path d="M280.512 303.232l-0.064 530.816h460.096V303.232h64v594.88H216.512v-594.88z" ></path><path d="M431.424 440.704v337.728h-64V440.704z m225.152 0v337.728h-64V440.704z" ></path></symbol><symbol id="icon-catalog" viewBox="0 0 1075 1024"><path d="M1044.429 758.323v128.973H313.702V758.272h730.727z m-833.127 0v128.973H71.732V758.272h139.57zM1044.43 447.54v128.922H313.702V447.539h730.727z m-833.127 0v128.922H71.732V447.539h139.57z m833.127-310.784v128.922H313.702V136.704h730.727z m-833.127 0v128.922H71.732V136.704h139.57z" ></path></symbol><symbol id="icon-customColumn" viewBox="0 0 1024 1024"><path d="M170.368 128h0.576c28.288 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576C142.144 896 128 881.152 128 851.392V172.608c0-29.76 14.08-44.608 42.368-44.608z m682.752 0h0.576c28.224 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576c-28.288 0-42.368-14.848-42.368-44.608V172.608c0-29.76 14.08-44.608 42.368-44.608z m-453.632 0h225.024c38.784 0 58.176 20.16 58.176 60.416v647.168c0 40.32-19.392 60.416-58.176 60.416H399.488c-38.784 0-58.176-20.16-58.176-60.416V188.416c0-40.32 19.392-60.416 58.176-60.416z" ></path></symbol><symbol id="icon-copy" viewBox="0 0 1024 1024"><path d="M363.746 0h565.883c52.05 0 94.286 42.236 94.286 94.285V660.17c0 52.049-42.237 94.285-94.286 94.285H363.746c-52.05 0-94.286-42.236-94.286-94.285V94.285C269.46 42.236 311.697 0 363.746 0z m0 80.804a13.482 13.482 0 0 0-13.482 13.481V660.17c0 7.423 6.058 13.482 13.482 13.482h565.883c7.424 0 13.482-6.059 13.482-13.482V94.285a13.482 13.482 0 0 0-13.482-13.481H363.746z m309.905 754.54a40.445 40.445 0 1 1 80.803 0v94.37c0 52.05-42.236 94.286-94.285 94.286H94.285C42.236 1023.915 0 981.678 0 929.63V363.745c0-52.05 42.236-94.286 94.285-94.286h94.371a40.445 40.445 0 0 1 0 80.804h-94.37a13.482 13.482 0 0 0-13.482 13.482v565.883c0 7.424 6.058 13.482 13.481 13.482H660.17c7.423 0 13.482-6.058 13.482-13.482v-94.37z" ></path></symbol><symbol id="icon-drag-old" viewBox="0 0 1024 1024"><path d="M358.4 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path></symbol><symbol id="icon-disabled" viewBox="0 0 1024 1024"><path d="M752.384 412.1088h-55.6544V300.3904C696.7296 183.6544 608.512 102.4 501.76 102.4 395.0592 102.4 306.8928 183.6544 306.8928 300.3904V407.04H251.1872c-27.8016 0-46.3872 25.344-46.3872 50.7392v385.8432c0 30.464 23.1936 50.7904 46.3872 50.7904h501.248c27.8016 0 46.3872-25.3952 46.3872-50.7904V462.848c0-30.464-18.5856-50.7392-46.4384-50.7392z m-222.72 253.8496v86.272c0 5.12-4.6592 5.12-4.6592 5.12h-41.7792c-4.608 0-4.608-5.12-4.608-5.12v-86.272c-23.2448-10.1888-37.12-30.464-37.12-55.8592 0-35.5328 27.8016-66.048 60.3136-66.048 32.4608 0 60.3136 30.5152 60.3136 66.048 0 25.3952-13.9264 45.6704-32.4608 55.808z m92.7744-253.8496H381.1328V295.3216c0-60.928 55.7056-111.6672 120.6784-111.6672 64.9728 0 120.6272 50.7392 120.6272 111.6672v116.736z" ></path></symbol><symbol id="icon-tip" viewBox="0 0 1024 1024"><path d="M512 19.017a492.983 492.983 0 1 1-0.073 986.039A492.983 492.983 0 0 1 512 19.09z m0 48.786a444.27 444.27 0 1 0 0.073 888.467A444.27 444.27 0 0 0 512 67.803z m22.016 317.367c37.45 3.877 55.15 33.792 48.64 66.707l-78.41 259.072c-1.023 5.924 2.049 11.849 7.315 13.677 5.852 2.048 17.92-5.412 27.648-16.091l47.104-56.613c1.244 9.509-0.878 26.185-0.878 32.549-35.328 53.028-71.314 93.988-131.876 93.988-41.326-6.729-58.222-36.352-49.298-66.56l77.897-257.828c1.901-6.364-1.244-13.02-7.022-15.068-5.778-2.048-17.042 5.413-26.77 16.092l-47.031 56.612c-1.317-9.508-0.146-25.234-0.146-31.597 35.328-53.029 93.403-94.94 132.827-94.94z m40.96-144.823c29.77 0 53.906 21.724 53.906 53.614 0 31.964-24.137 53.614-53.906 53.614a52.297 52.297 0 0 1-53.906-53.614c0-31.89 24.137-53.614 53.906-53.614z" ></path></symbol><symbol id="icon-reset" viewBox="0 0 1024 1024"><path d="M482.464768 117.691733L364.363435 66.696533A49.288533 49.288533 0 0 0 325.314901 157.013333a417.9968 417.9968 0 0 0 53.8624 789.845334 49.288533 49.288533 0 0 0 25.668267-95.163734 319.624533 319.624533 0 0 1-29.559467-608.324266l-7.850666 18.158933a49.152 49.152 0 0 0 26.0096 64.580267 49.288533 49.288533 0 0 0 64.580266-24.9856l50.107734-118.9888a49.425067 49.425067 0 0 0-25.668267-64.512z m429.602133 421.410134A418.884267 418.884267 0 0 0 614.424235 126.839467a49.288533 49.288533 0 1 0-28.398934 94.344533 319.829333 319.829333 0 0 1 56.9344 589.824 49.152 49.152 0 0 0-86.152533-47.240533l-67.106133 109.431466a48.9472 48.9472 0 0 0 16.110933 67.925334l109.294933 67.9936a49.288533 49.288533 0 1 0 50.9952-83.7632l-15.018666-9.352534a418.679467 418.679467 0 0 0 261.051733-376.900266z" ></path></symbol><symbol id="icon-view" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol><symbol id="icon-search" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol></svg>', function (o) {
2
2
  var t = (t = document.getElementsByTagName("script"))[t.length - 1],
3
3
  a = t.getAttribute("data-injectcss"),
4
4
  t = t.getAttribute("data-disable-injectsvg");
5
5
  if (!t) {
6
- var o,
7
- _c,
8
- i,
9
- l,
6
+ var e,
7
+ _l,
10
8
  h,
11
- n = function n(t, a) {
9
+ i,
10
+ c,
11
+ d = function d(t, a) {
12
12
  a.parentNode.insertBefore(t, a);
13
13
  };
14
- if (a && !e.__iconfont__svg__cssinject__) {
15
- e.__iconfont__svg__cssinject__ = !0;
14
+ if (a && !o.__iconfont__svg__cssinject__) {
15
+ o.__iconfont__svg__cssinject__ = !0;
16
16
  try {
17
17
  document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
18
18
  } catch (t) {
19
19
  console && console.log(t);
20
20
  }
21
21
  }
22
- o = function o() {
22
+ e = function e() {
23
23
  var t,
24
24
  a = document.createElement("div");
25
- a.innerHTML = e._iconfont_svg_string_4063056, (a = a.getElementsByTagName("svg")[0]) && (a.setAttribute("aria-hidden", "true"), a.style.position = "absolute", a.style.width = 0, a.style.height = 0, a.style.overflow = "hidden", a = a, (t = document.body).firstChild ? n(a, t.firstChild) : t.appendChild(a));
26
- }, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(o, 0) : (_c = function c() {
27
- document.removeEventListener("DOMContentLoaded", _c, !1), o();
28
- }, document.addEventListener("DOMContentLoaded", _c, !1)) : document.attachEvent && (i = o, l = e.document, h = !1, m(), l.onreadystatechange = function () {
29
- "complete" == l.readyState && (l.onreadystatechange = null, d());
25
+ a.innerHTML = o._iconfont_svg_string_4063056, (a = a.getElementsByTagName("svg")[0]) && (a.setAttribute("aria-hidden", "true"), a.style.position = "absolute", a.style.width = 0, a.style.height = 0, a.style.overflow = "hidden", a = a, (t = document.body).firstChild ? d(a, t.firstChild) : t.appendChild(a));
26
+ }, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(e, 0) : (_l = function l() {
27
+ document.removeEventListener("DOMContentLoaded", _l, !1), e();
28
+ }, document.addEventListener("DOMContentLoaded", _l, !1)) : document.attachEvent && (h = e, i = o.document, c = !1, n(), i.onreadystatechange = function () {
29
+ "complete" == i.readyState && (i.onreadystatechange = null, m());
30
30
  });
31
31
  }
32
- function d() {
33
- h || (h = !0, i());
34
- }
35
32
  function m() {
33
+ c || (c = !0, h());
34
+ }
35
+ function n() {
36
36
  try {
37
- l.documentElement.doScroll("left");
37
+ i.documentElement.doScroll("left");
38
38
  } catch (t) {
39
- return void setTimeout(m, 50);
39
+ return void setTimeout(n, 50);
40
40
  }
41
- d();
41
+ m();
42
42
  }
43
43
  }(window);
@@ -18,7 +18,7 @@
18
18
 
19
19
  .@{ant-prefix}-collapse-header {
20
20
  align-items: center !important;
21
- padding: 12px var(--zaui-space-size-md, 16px) !important;
21
+ padding: 10px var(--zaui-space-size-md, 16px) !important;
22
22
  background: var(--zaui-area, #fafafa);
23
23
  }
24
24
 
@@ -45,6 +45,7 @@
45
45
 
46
46
  .pro-collapse-content {
47
47
  padding: var(--zaui-space-size-md, 16px);
48
+ padding-top: var(--zaui-space-size-sm, 8px);
48
49
  padding-bottom: 0;
49
50
  background: var(--zaui-base-bg, #ffffff);
50
51
  }
@@ -55,13 +56,12 @@
55
56
  background: var(--zaui-base-bg, #ffffff);
56
57
 
57
58
  .@{ant-prefix}-collapse-header {
58
- margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
59
59
  padding: 0 !important;
60
60
  background: var(--zaui-base-bg, #ffffff);
61
61
 
62
62
  .@{ant-prefix}-collapse-header-text {
63
63
  position: relative;
64
- padding-left: var(--zaui-space-size-sm, 8px);
64
+ padding-left: 12px;
65
65
  font-size: var(--zaui-font-size, 14px);
66
66
 
67
67
  &::before {
@@ -84,7 +84,20 @@
84
84
  }
85
85
  }
86
86
 
87
+ .pro-collapse-content {
88
+ padding-top: var(--zaui-space-size-sm, 8px) !important;
89
+ }
90
+
87
91
  .pro-collapse-level2-collapse {
92
+ .@{ant-prefix}-collapse-header {
93
+ padding: 0 8px 6px !important;
94
+ border-bottom: 2px solid #dee0e3;
95
+ margin: 0 -8px;
96
+ .@{ant-prefix}-collapse-arrow{
97
+ right: 8px;
98
+ }
99
+ }
100
+
88
101
  .@{ant-prefix}-collapse-extra {
89
102
  .extra-info {
90
103
  margin-right: var(--zaui-space-size-lg, 32px);
@@ -131,7 +144,7 @@
131
144
  &.pro-collapse-list {
132
145
  .@{ant-prefix}-descriptions-row > th,
133
146
  .@{ant-prefix}-descriptions-row > td {
134
- padding: var(--zaui-space-size-md, 16px) 0;
147
+ padding: var(--zaui-space-size-sm, 8px) 0;
135
148
  background: #fafafa;
136
149
 
137
150
  &.@{ant-prefix}-descriptions-item {
@@ -166,8 +179,5 @@
166
179
  }
167
180
  }
168
181
 
169
- .@{ant-prefix}-descriptions {
170
- margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
171
- }
172
182
  }
173
183
  }