@zat-design/sisyphus-react 4.0.6 → 4.0.9

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 (71) hide show
  1. package/dist/index.esm.css +1 -1
  2. package/dist/less.esm.css +1 -1
  3. package/es/ProDrawerForm/components/ProDrawer/index.js +2 -2
  4. package/es/ProEditTable/index.js +1 -1
  5. package/es/ProEnum/index.js +1 -1
  6. package/es/ProForm/components/base/Input/index.js +75 -17
  7. package/es/ProForm/components/combination/FormList/components/BlockFields.js +2 -2
  8. package/es/ProForm/components/combination/Group/style/index.less +4 -2
  9. package/es/ProForm/components/combination/Group/utils/index.d.ts +23 -23
  10. package/es/ProForm/components/render/ChangedWrapper.js +1 -3
  11. package/es/ProForm/style/index.less +18 -0
  12. package/es/ProIcon/index.js +204 -98
  13. package/es/ProIcon/propsTypes.d.ts +17 -11
  14. package/es/ProLayout/components/ProCollapse/index.js +1 -1
  15. package/es/ProLayout/components/ProFooter/index.js +1 -1
  16. package/es/ProLayout/components/ProHeader/index.js +2 -6
  17. package/es/ProLayout/index.js +1 -2
  18. package/es/ProSelect/index.js +1 -1
  19. package/es/ProStep/components/Step/index.js +1 -1
  20. package/es/ProStep/style/index.less +4 -2
  21. package/es/ProTable/components/RenderColumn/index.js +1 -1
  22. package/es/ProTable/components/RenderTabs/index.js +9 -3
  23. package/es/ProThemeTools/component/ProTools/index.js +109 -90
  24. package/es/ProThemeTools/context/ThemeContext.d.ts +10 -0
  25. package/es/ProThemeTools/context/ThemeContext.js +28 -0
  26. package/es/ProThemeTools/index.js +37 -12
  27. package/es/ProThemeTools/utils/index.d.ts +9 -1
  28. package/es/ProThemeTools/utils/index.js +84 -5
  29. package/es/ProTreeModal/components/Trigger.js +34 -13
  30. package/es/ProTreeModal/index.js +6 -0
  31. package/es/ProTreeModal/style/index.less +41 -0
  32. package/es/ProUpload/components/ImageRender.js +1 -1
  33. package/es/ProViewer/index.js +2 -3
  34. package/es/style/theme/antd.less +0 -9
  35. package/es/style/theme/base.less +1 -1
  36. package/es/style/variables.less +1 -0
  37. package/lib/ProDrawerForm/components/ProDrawer/index.js +1 -1
  38. package/lib/ProEditTable/index.js +1 -1
  39. package/lib/ProEnum/index.js +1 -1
  40. package/lib/ProForm/components/base/Input/index.js +73 -16
  41. package/lib/ProForm/components/combination/FormList/components/BlockFields.js +2 -2
  42. package/lib/ProForm/components/combination/Group/style/index.less +4 -2
  43. package/lib/ProForm/components/combination/Group/utils/index.d.ts +23 -23
  44. package/lib/ProForm/components/render/ChangedWrapper.js +1 -3
  45. package/lib/ProForm/style/index.less +18 -0
  46. package/lib/ProIcon/index.js +205 -99
  47. package/lib/ProIcon/propsTypes.d.ts +17 -11
  48. package/lib/ProLayout/components/ProCollapse/index.js +1 -1
  49. package/lib/ProLayout/components/ProFooter/index.js +1 -1
  50. package/lib/ProLayout/components/ProHeader/index.js +3 -6
  51. package/lib/ProLayout/index.js +1 -2
  52. package/lib/ProSelect/index.js +1 -1
  53. package/lib/ProStep/components/Step/index.js +1 -1
  54. package/lib/ProStep/style/index.less +4 -2
  55. package/lib/ProTable/components/RenderColumn/index.js +1 -1
  56. package/lib/ProTable/components/RenderTabs/index.js +9 -3
  57. package/lib/ProThemeTools/component/ProTools/index.js +109 -91
  58. package/lib/ProThemeTools/context/ThemeContext.d.ts +10 -0
  59. package/lib/ProThemeTools/context/ThemeContext.js +31 -2
  60. package/lib/ProThemeTools/index.js +35 -10
  61. package/lib/ProThemeTools/utils/index.d.ts +9 -1
  62. package/lib/ProThemeTools/utils/index.js +86 -6
  63. package/lib/ProTreeModal/components/Trigger.js +34 -13
  64. package/lib/ProTreeModal/index.js +6 -0
  65. package/lib/ProTreeModal/style/index.less +41 -0
  66. package/lib/ProUpload/components/ImageRender.js +1 -1
  67. package/lib/ProViewer/index.js +3 -3
  68. package/lib/style/theme/antd.less +0 -9
  69. package/lib/style/theme/base.less +1 -1
  70. package/lib/style/variables.less +1 -0
  71. package/package.json +14 -14
@@ -19,7 +19,7 @@ import { Button, Drawer, Modal } from 'antd';
19
19
  import React, { useCallback, useState, useRef, useEffect } from 'react';
20
20
  import { useScroll } from 'ahooks';
21
21
  import classNames from 'classnames';
22
- import { isArray } from 'lodash';
22
+ import { isArray, omit } from 'lodash';
23
23
  import { ReactSVG } from 'react-svg';
24
24
  import closeSvg from "../../../assets/close.svg";
25
25
  import locale from "../../../locale";
@@ -252,7 +252,7 @@ var ProDrawer = _ref => {
252
252
  closable: false,
253
253
  onClose: onCancel,
254
254
  zIndex: zIndex
255
- }, restDrawerProps), {}, {
255
+ }, omit(restDrawerProps, 'width')), {}, {
256
256
  children: [/*#__PURE__*/_jsx("div", {
257
257
  className: "pro-drawer-close",
258
258
  onClick: onConfirm,
@@ -463,7 +463,7 @@ var ProEditTable = (_ref, ref) => {
463
463
  className: "pro-edit-table-footer",
464
464
  children: footerRender
465
465
  }) : null, pagination ? /*#__PURE__*/_jsx("div", {
466
- id: `pro-edit-table-pagination-${config.name.join('-')}`,
466
+ id: `pro-edit-table-pagination-${Array.isArray(config.name) ? config.name.filter(Boolean).join('-') : config.name || 'default'}`,
467
467
  onClick: () => {
468
468
  onPageCheck({
469
469
  form,
@@ -264,7 +264,7 @@ var ProEnum = props => {
264
264
  arr.push(props.optionRender(item));
265
265
  });
266
266
  return /*#__PURE__*/_jsx(Space, {
267
- direction: "vertical",
267
+ orientation: "vertical",
268
268
  size: 4,
269
269
  children: arr.map(item => /*#__PURE__*/_jsx(React.Fragment, {
270
270
  children: item
@@ -1,4 +1,5 @@
1
- var _excluded = ["label", "form", "placeholder", "fieldName", "otherProps", "desensitization"];
1
+ var _excluded = ["label", "form", "placeholder", "fieldName", "otherProps", "desensitization"],
2
+ _excluded2 = ["addonBefore", "addonAfter"];
2
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -7,7 +8,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
7
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
8
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9
10
  import React from 'react';
10
- import { Input as AntInput } from 'antd';
11
+ import { Input as AntInput, Space, Button } from 'antd';
11
12
  import { isFunction, omit } from 'lodash';
12
13
  import { useProConfig } from "../../../../ProConfigProvider";
13
14
  import Container from "../../Container";
@@ -18,6 +19,7 @@ import { maskStringRangeWithRegex } from "../../../utils/valueType";
18
19
  // 参数优先级
19
20
  // 组件内默认值 < config默认值 < props
20
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
+ import { jsxs as _jsxs } from "react/jsx-runtime";
21
23
  var Input = function Input(props) {
22
24
  var label = props.label,
23
25
  form = props.form,
@@ -31,43 +33,99 @@ var Input = function Input(props) {
31
33
  viewEmpty = _ref.viewEmpty;
32
34
  var isView = typeof props.isView === 'boolean' ? props.isView : isViewCon; // 组件可直接接收isView参数, 优先级高
33
35
  var initialConfig = useProConfig('Input');
34
- if (typeof rest.value === 'number') {
35
- var _rest$value, _rest$value$toString;
36
- rest.value = rest === null || rest === void 0 || (_rest$value = rest.value) === null || _rest$value === void 0 || (_rest$value$toString = _rest$value.toString) === null || _rest$value$toString === void 0 ? void 0 : _rest$value$toString.call(_rest$value);
36
+
37
+ // 提取 addonBefore 和 addonAfter(antd 6 已废弃,需要使用 Space.Compact)
38
+ var addonBefore = rest.addonBefore,
39
+ addonAfter = rest.addonAfter,
40
+ restProps = _objectWithoutProperties(rest, _excluded2);
41
+ if (typeof restProps.value === 'number') {
42
+ var _restProps$value, _restProps$value$toSt;
43
+ restProps.value = restProps === null || restProps === void 0 || (_restProps$value = restProps.value) === null || _restProps$value === void 0 || (_restProps$value$toSt = _restProps$value.toString) === null || _restProps$value$toSt === void 0 ? void 0 : _restProps$value$toSt.call(_restProps$value);
37
44
  }
38
45
  if (isView) {
39
46
  if ((Array.isArray(desensitization) || isFunction(desensitization)) && props !== null && props !== void 0 && props.disabled) {
40
- if (typeof rest.value === 'number') {
41
- var _rest$value2, _rest$value2$toString;
42
- rest.value = rest === null || rest === void 0 || (_rest$value2 = rest.value) === null || _rest$value2 === void 0 || (_rest$value2$toString = _rest$value2.toString) === null || _rest$value2$toString === void 0 ? void 0 : _rest$value2$toString.call(_rest$value2);
47
+ if (typeof restProps.value === 'number') {
48
+ var _restProps$value2, _restProps$value2$toS;
49
+ restProps.value = restProps === null || restProps === void 0 || (_restProps$value2 = restProps.value) === null || _restProps$value2 === void 0 || (_restProps$value2$toS = _restProps$value2.toString) === null || _restProps$value2$toS === void 0 ? void 0 : _restProps$value2$toS.call(_restProps$value2);
43
50
  }
44
51
  return /*#__PURE__*/_jsx(Container, {
45
52
  viewEmpty: viewEmpty,
46
- children: maskStringRangeWithRegex(rest.value, desensitization)
53
+ children: maskStringRangeWithRegex(restProps.value, desensitization)
47
54
  });
48
55
  }
49
56
  return /*#__PURE__*/_jsx(Container, {
50
57
  viewEmpty: viewEmpty,
51
- children: rest.value
58
+ children: restProps.value
52
59
  });
53
60
  }
54
- var ComInput = /*#__PURE__*/_jsx(AntInput, _objectSpread(_objectSpread({
61
+
62
+ // 构建 Input 组件
63
+ var buildInput = inputProps => /*#__PURE__*/_jsx(AntInput, _objectSpread(_objectSpread({
55
64
  autoComplete: "off",
56
65
  placeholder: placeholder || `${locale.ProForm.inputPlaceholder}`
57
- }, omit(initialConfig, ['trim', 'upperCase'])), rest));
66
+ }, omit(initialConfig, ['trim', 'upperCase'])), inputProps));
67
+
68
+ // 如果存在 addonBefore 或 addonAfter,使用 Space.Compact 包装
69
+ if (addonBefore || addonAfter) {
70
+ // 确保 Input 在 Space.Compact 中能自动扩展宽度
71
+ var inputPropsWithFlex = _objectSpread(_objectSpread({}, restProps), {}, {
72
+ style: _objectSpread(_objectSpread({}, restProps.style), {}, {
73
+ flex: 1
74
+ })
75
+ });
76
+ var _ComInput = buildInput(inputPropsWithFlex);
77
+
78
+ // 仅查看模式下进行数据脱敏
79
+ if ((Array.isArray(desensitization) || isFunction(desensitization)) && props !== null && props !== void 0 && props.disabled) {
80
+ if (typeof restProps.value === 'number') {
81
+ var _restProps$value3, _restProps$value3$toS;
82
+ restProps.value = restProps === null || restProps === void 0 || (_restProps$value3 = restProps.value) === null || _restProps$value3 === void 0 || (_restProps$value3$toS = _restProps$value3.toString) === null || _restProps$value3$toS === void 0 ? void 0 : _restProps$value3$toS.call(_restProps$value3);
83
+ }
84
+ var maskedInput = /*#__PURE__*/React.cloneElement(_ComInput, _objectSpread(_objectSpread(_objectSpread({
85
+ allowClear: true,
86
+ autoComplete: 'off',
87
+ placeholder: placeholder || `${locale.ProForm.inputPlaceholder}`
88
+ }, omit(initialConfig, ['trim', 'upperCase'])), inputPropsWithFlex), {}, {
89
+ value: maskStringRangeWithRegex(restProps.value, desensitization)
90
+ }));
91
+ return /*#__PURE__*/_jsxs(Space.Compact, {
92
+ block: true,
93
+ className: "pro-form-input-space-compact",
94
+ children: [addonBefore ? /*#__PURE__*/_jsx(Button, {
95
+ disabled: true,
96
+ children: addonBefore
97
+ }) : null, maskedInput, addonAfter ? /*#__PURE__*/_jsx(Button, {
98
+ disabled: true,
99
+ children: addonAfter
100
+ }) : null]
101
+ });
102
+ }
103
+ return /*#__PURE__*/_jsxs(Space.Compact, {
104
+ block: true,
105
+ className: "pro-form-input-space-compact",
106
+ children: [addonBefore ? /*#__PURE__*/_jsx(Button, {
107
+ disabled: true,
108
+ children: addonBefore
109
+ }) : null, _ComInput, addonAfter ? /*#__PURE__*/_jsx(Button, {
110
+ disabled: true,
111
+ children: addonAfter
112
+ }) : null]
113
+ });
114
+ }
115
+ var ComInput = buildInput(restProps);
58
116
 
59
117
  // 仅查看模式下进行数据脱敏
60
118
  if ((Array.isArray(desensitization) || isFunction(desensitization)) && props !== null && props !== void 0 && props.disabled) {
61
- if (typeof rest.value === 'number') {
62
- var _rest$value3, _rest$value3$toString;
63
- rest.value = rest === null || rest === void 0 || (_rest$value3 = rest.value) === null || _rest$value3 === void 0 || (_rest$value3$toString = _rest$value3.toString) === null || _rest$value3$toString === void 0 ? void 0 : _rest$value3$toString.call(_rest$value3);
119
+ if (typeof restProps.value === 'number') {
120
+ var _restProps$value4, _restProps$value4$toS;
121
+ restProps.value = restProps === null || restProps === void 0 || (_restProps$value4 = restProps.value) === null || _restProps$value4 === void 0 || (_restProps$value4$toS = _restProps$value4.toString) === null || _restProps$value4$toS === void 0 ? void 0 : _restProps$value4$toS.call(_restProps$value4);
64
122
  }
65
123
  return /*#__PURE__*/React.cloneElement(ComInput, _objectSpread(_objectSpread(_objectSpread({
66
124
  allowClear: true,
67
125
  autoComplete: 'off',
68
126
  placeholder: placeholder || `${locale.ProForm.inputPlaceholder}`
69
- }, omit(initialConfig, ['trim', 'upperCase'])), rest), {}, {
70
- value: maskStringRangeWithRegex(rest.value, desensitization)
127
+ }, omit(initialConfig, ['trim', 'upperCase'])), restProps), {}, {
128
+ value: maskStringRangeWithRegex(restProps.value, desensitization)
71
129
  }));
72
130
  }
73
131
  return ComInput;
@@ -47,7 +47,7 @@ var BlockFields = props => {
47
47
  // 左侧标题布局
48
48
  if (titlePosition === 'left') {
49
49
  return /*#__PURE__*/_jsx(Space, {
50
- direction: "vertical",
50
+ orientation: "vertical",
51
51
  className: cls,
52
52
  id: id,
53
53
  children: /*#__PURE__*/_jsxs("div", {
@@ -98,7 +98,7 @@ var BlockFields = props => {
98
98
 
99
99
  // 默认顶部标题布局
100
100
  return /*#__PURE__*/_jsx(Space, {
101
- direction: "vertical",
101
+ orientation: "vertical",
102
102
  className: cls,
103
103
  id: id,
104
104
  children: /*#__PURE__*/_jsx(ProCollapse, {
@@ -314,7 +314,8 @@
314
314
  .@{ant-prefix}-input,
315
315
  .@{ant-prefix}-select .@{ant-prefix}-select-selector,
316
316
  .@{ant-prefix}-input-number,
317
- .@{ant-prefix}-input-number-input {
317
+ .@{ant-prefix}-input-number-input,
318
+ .@{ant-prefix}-picker{
318
319
  // 重置z-index确保正确的层级关系
319
320
  position: relative;
320
321
  // 重置圆角
@@ -337,7 +338,8 @@
337
338
  .@{ant-prefix}-input,
338
339
  .@{ant-prefix}-select .@{ant-prefix}-select-selector,
339
340
  .@{ant-prefix}-input-number,
340
- .@{ant-prefix}-input-number-input {
341
+ .@{ant-prefix}-input-number-input,
342
+ .@{ant-prefix}-picker{
341
343
  border-top-right-radius: 6px;
342
344
  border-bottom-right-radius: 6px;
343
345
  }
@@ -75,41 +75,34 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
75
75
  confirm?: boolean | import("antd").ModalFuncProps | import("../../../render/propsType").FunctionArgs<any, boolean | import("antd").ModalFuncProps>;
76
76
  show?: boolean | ReactiveFunction<any, boolean>;
77
77
  component?: React.ReactNode | ReactiveFunction<any, React.ReactNode>;
78
- className?: string;
78
+ style?: React.CSSProperties;
79
79
  trim?: boolean;
80
80
  normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
81
81
  children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
82
- isView?: boolean;
83
- style?: React.CSSProperties;
84
- prefixCls?: string;
85
- rootClassName?: string;
86
- id?: string;
87
- vertical?: boolean;
88
- status?: "" | "error" | "success" | "warning" | "validating";
82
+ className?: string;
89
83
  hidden?: boolean;
90
- onReset?: () => void;
91
- htmlFor?: string;
92
- valueType?: import("../../../render/propsType").ProFormValueType;
93
- trigger?: string;
94
- viewRender?: (value: any, record: any, { form, index, namePath, }: {
95
- [key: string]: any;
96
- form: FormInstance<any>;
97
- index?: number;
98
- }) => string | React.ReactElement<any, any>;
99
- desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
100
84
  layout?: import("antd/es/form/Form").FormItemLayout;
101
85
  help?: React.ReactNode;
86
+ vertical?: boolean;
102
87
  preserve?: boolean;
103
- viewType?: import("../../../render/propsType").ViewType;
104
- validateTrigger?: string | false | string[];
88
+ prefixCls?: string;
89
+ onReset?: () => void;
90
+ status?: "" | "warning" | "error" | "success" | "validating";
91
+ id?: string;
92
+ rootClassName?: string;
93
+ isView?: boolean;
94
+ getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
95
+ desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
96
+ htmlFor?: string;
105
97
  colon?: boolean;
106
98
  labelAlign?: import("antd/es/form/interface").FormLabelAlign;
107
99
  labelCol?: import("antd").ColProps;
108
100
  getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => any;
109
101
  shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
102
+ trigger?: string;
103
+ validateTrigger?: string | false | string[];
110
104
  validateDebounce?: number;
111
105
  valuePropName?: string;
112
- getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
113
106
  messageVariables?: Record<string, string>;
114
107
  initialValue?: any;
115
108
  onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
@@ -119,10 +112,17 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
119
112
  hasFeedback?: boolean | {
120
113
  icons: import("antd/es/form/FormItem").FeedbackIcons;
121
114
  };
122
- validateStatus?: "" | "error" | "success" | "warning" | "validating";
115
+ validateStatus?: "" | "warning" | "error" | "success" | "validating";
123
116
  wrapperCol?: import("antd").ColProps;
124
117
  fieldId?: string;
118
+ valueType?: import("../../../render/propsType").ProFormValueType;
125
119
  switchValue?: [any, any];
120
+ viewRender?: (value: any, record: any, { form, index, namePath, }: {
121
+ [key: string]: any;
122
+ form: FormInstance<any>;
123
+ index?: number;
124
+ }) => string | React.ReactElement<any, any>;
125
+ viewType?: import("../../../render/propsType").ViewType;
126
126
  upperCase?: boolean;
127
127
  toISOString?: boolean;
128
128
  toCSTString?: boolean;
@@ -141,7 +141,7 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
141
141
  * 创建组件属性
142
142
  */
143
143
  export declare const createComponentProps: (column: FlexibleGroupColumnType, formItemProps: any) => {
144
- componentProps: import("lodash").Omit<any, "format" | "valueType" | "precision" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "clearNotShow">;
144
+ componentProps: import("lodash").Omit<any, "format" | "valueType" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "clearNotShow" | "precision">;
145
145
  formItemTransform: {
146
146
  getValueProps: any;
147
147
  normalize: any;
@@ -87,8 +87,6 @@ var ChangedWrapper = props => {
87
87
  originalValues: isNestedField ? originalValues : undefined
88
88
  }, children.props), rest));
89
89
  }
90
-
91
- // eslint-disable-next-line react-hooks/rules-of-hooks
92
90
  var tipOpenCalc = () => {
93
91
  if (!toolTip) return false;
94
92
 
@@ -119,7 +117,7 @@ var ChangedWrapper = props => {
119
117
  placement: "topLeft",
120
118
  autoAdjustOverflow: false,
121
119
  title: /*#__PURE__*/_jsxs(Space, {
122
- direction: "vertical",
120
+ orientation: "vertical",
123
121
  className: "changed-tooltip",
124
122
  children: [/*#__PURE__*/_jsxs(Space, {
125
123
  align: "start",
@@ -177,6 +177,12 @@
177
177
  margin-left: @zaui-space-size-sm;
178
178
  }
179
179
 
180
+ .pro-form-input-space-compact{
181
+ .@{ant-prefix}-btn{
182
+ color: #333;
183
+ }
184
+ }
185
+
180
186
  .@{ant-prefix}-form-item-has-error {
181
187
  .group-separator {
182
188
  color: #ff4d4f;
@@ -186,6 +192,18 @@
186
192
  .site-input-split {
187
193
  border-color: @zaui-danger;
188
194
  }
195
+ .pro-form-input-space-compact{
196
+ .@{ant-prefix}-btn{
197
+ color: @zaui-danger;
198
+ border-color: @zaui-danger;
199
+ }
200
+ }
201
+ .pro-tree-modal{
202
+ .pro-enum-input-addonAfter{
203
+ border-color: @zaui-danger;
204
+ color: @zaui-danger;
205
+ }
206
+ }
189
207
  }
190
208
 
191
209
  .site-input-group-wrapper {