@zgfe/business-lib 1.0.22-bugfix.0 → 1.0.22-bugfix.1
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/assets/styles/chunks.less +0 -2
- package/es/attributeSelector/index.js +2 -0
- package/es/attributeSelector/types.d.ts +2 -0
- package/es/dnd/demo/index.d.ts +2 -0
- package/es/dnd/demo/index.js +4 -0
- package/es/dnd/index.d.ts +3 -0
- package/es/dnd/index.js +7 -0
- package/es/dnd/types.d.ts +8 -0
- package/es/dnd/types.js +1 -0
- package/package.json +2 -2
|
@@ -131,6 +131,7 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
|
|
|
131
131
|
ref: boxRef,
|
|
132
132
|
theme: theme,
|
|
133
133
|
border: false,
|
|
134
|
+
size: props.size,
|
|
134
135
|
label: currentAttr === null || currentAttr === void 0 ? void 0 : currentAttr.label,
|
|
135
136
|
placeholder: placeholder
|
|
136
137
|
}))), enableDelete && /*#__PURE__*/React.createElement(Tooltip, {
|
|
@@ -148,6 +149,7 @@ BizAttributeSelector.defaultProps = {
|
|
|
148
149
|
enableDelete: false,
|
|
149
150
|
placeholder: '请选择',
|
|
150
151
|
theme: 'secondary',
|
|
152
|
+
size: 'middle',
|
|
151
153
|
propSymbol: '*',
|
|
152
154
|
optionsHeaderTip: '带*的属性每日凌晨更新',
|
|
153
155
|
destroyPopupOnHide: false
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
export declare enum PropType {
|
|
3
4
|
STRING = 1,
|
|
@@ -79,6 +80,7 @@ export declare namespace AttributeSelect {
|
|
|
79
80
|
onDelete?: (value?: Value) => void;
|
|
80
81
|
theme?: string;
|
|
81
82
|
destroyPopupOnHide?: boolean;
|
|
83
|
+
size?: SizeType;
|
|
82
84
|
}
|
|
83
85
|
interface Option {
|
|
84
86
|
groupName: string;
|
package/es/dnd/index.js
ADDED
package/es/dnd/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.0.22-bugfix.
|
|
3
|
+
"version": "1.0.22-bugfix.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"react": "^16.12.0 || ^17.0.0",
|
|
59
59
|
"yorkie": "^2.0.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "a0e0068687254340c1ecb1300c479995fbe12770"
|
|
62
62
|
}
|