assui 3.2.83 → 3.2.85
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/es/button-drawer/index.d.ts +1 -1
- package/es/button-modal/index.d.ts +1 -1
- package/es/complex-val-select/index.js +5 -1
- package/es/complex-val-select/style/index.css +1252 -0
- package/es/complex-val-select/style/index.d.ts +1 -0
- package/es/complex-val-select/style/index.js +2 -1
- package/es/complex-val-select/style/index.less +29 -0
- package/es/condition-select/index.js +5 -1
- package/es/condition-select/style/index.css +1252 -0
- package/es/condition-select/style/index.d.ts +1 -0
- package/es/condition-select/style/index.js +2 -1
- package/es/condition-select/style/index.less +29 -0
- package/es/label-condition-input/style/index.d.ts +1 -0
- package/es/label-condition-input/style/index.js +2 -1
- package/es/label-select/index.js +1 -3
- package/es/label-select/style/index.css +3 -10
- package/es/label-select/style/index.d.ts +1 -0
- package/es/label-select/style/index.js +2 -1
- package/es/label-select/style/index.less +4 -12
- package/es/style/variables.less +2 -0
- package/lib/button-drawer/index.d.ts +1 -1
- package/lib/button-modal/index.d.ts +1 -1
- package/lib/complex-val-select/index.js +5 -1
- package/lib/complex-val-select/style/index.css +1252 -0
- package/lib/complex-val-select/style/index.d.ts +1 -0
- package/lib/complex-val-select/style/index.js +2 -1
- package/lib/complex-val-select/style/index.less +29 -0
- package/lib/condition-select/index.js +5 -1
- package/lib/condition-select/style/index.css +1252 -0
- package/lib/condition-select/style/index.d.ts +1 -0
- package/lib/condition-select/style/index.js +2 -1
- package/lib/condition-select/style/index.less +29 -0
- package/lib/label-condition-input/style/index.d.ts +1 -0
- package/lib/label-condition-input/style/index.js +2 -1
- package/lib/label-select/index.js +1 -3
- package/lib/label-select/style/index.css +3 -10
- package/lib/label-select/style/index.d.ts +1 -0
- package/lib/label-select/style/index.js +2 -1
- package/lib/label-select/style/index.less +4 -12
- package/lib/style/variables.less +2 -0
- package/package.json +2 -2
|
@@ -10,5 +10,5 @@ export interface ButtonDrawerProps extends Omit<DrawerProps, 'children'> {
|
|
|
10
10
|
trigger?: ((fun: () => void) => React.ReactElement) | React.ReactElement;
|
|
11
11
|
children: ((v: DrawerAction) => React.ReactElement) | React.ReactElement;
|
|
12
12
|
}
|
|
13
|
-
declare const ForwardRefButtonDrawer: React.ForwardRefExoticComponent<ButtonDrawerProps & React.RefAttributes<
|
|
13
|
+
declare const ForwardRefButtonDrawer: React.ForwardRefExoticComponent<ButtonDrawerProps & React.RefAttributes<unknown>>;
|
|
14
14
|
export default ForwardRefButtonDrawer;
|
|
@@ -10,5 +10,5 @@ export interface ButtonModalProps extends Omit<ModalProps, 'children'> {
|
|
|
10
10
|
trigger?: ((fun: () => void) => React.ReactElement) | React.ReactElement;
|
|
11
11
|
children: ((v: ModalAction) => React.ReactElement) | React.ReactElement;
|
|
12
12
|
}
|
|
13
|
-
declare const ForwardRefButtonModal: React.ForwardRefExoticComponent<ButtonModalProps & React.RefAttributes<
|
|
13
|
+
declare const ForwardRefButtonModal: React.ForwardRefExoticComponent<ButtonModalProps & React.RefAttributes<unknown>>;
|
|
14
14
|
export default ForwardRefButtonModal;
|
|
@@ -37,6 +37,8 @@ import some from 'lodash/some';
|
|
|
37
37
|
import isArray from 'lodash/isArray';
|
|
38
38
|
import isObject from 'lodash/isObject';
|
|
39
39
|
import Select from "antd/es/select";
|
|
40
|
+
import classNames from 'classnames';
|
|
41
|
+
import ArrowDownOutlined from "a-icons/es/ArrowDownOutlined";
|
|
40
42
|
import useControllableValue from "ahooks/es/useControllableValue";
|
|
41
43
|
var Option = Select.Option;
|
|
42
44
|
export { Option };
|
|
@@ -96,10 +98,12 @@ var ComplexValSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
96
98
|
};
|
|
97
99
|
return /*#__PURE__*/React.createElement(Select, __assign({
|
|
98
100
|
ref: selectRef,
|
|
101
|
+
className: classNames('complex-val-select', props === null || props === void 0 ? void 0 : props.className),
|
|
102
|
+
suffixIcon: /*#__PURE__*/React.createElement(ArrowDownOutlined, null),
|
|
99
103
|
value: value && isReferenceTypeVal ? JSON.stringify(value) : value,
|
|
100
104
|
options: finalOptions,
|
|
101
105
|
onChange: handleChange,
|
|
102
106
|
onSelect: handleSelect
|
|
103
|
-
}, omit(props, ['value', 'onChange', 'options', 'onSelect'])));
|
|
107
|
+
}, omit(props, ['value', 'onChange', 'options', 'onSelect', 'className'])));
|
|
104
108
|
});
|
|
105
109
|
export default ComplexValSelect;
|