@jiaozhiye/qm-design-react 2.0.1 → 2.0.3
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/lib/form/src/types.d.ts +3 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style/index.css +12 -5
- package/lib/style/index.min.css +1 -1
- package/lib/table/style/body.less +77 -77
- package/lib/upload-file/src/upload-file.d.ts +1 -0
- package/lib/upload-file/style/index.less +7 -1
- package/lib/upload-img/style/index.less +6 -1
- package/package.json +1 -1
package/lib/form/src/types.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ export type IFormItem = {
|
|
|
131
131
|
parser?: (value: string) => string | number;
|
|
132
132
|
falseValue?: string | number;
|
|
133
133
|
trueValue?: string | number;
|
|
134
|
+
labelToCheckbox?: boolean;
|
|
134
135
|
showCount?: boolean;
|
|
135
136
|
autoSize?: {
|
|
136
137
|
minRows?: number;
|
|
@@ -153,6 +154,7 @@ export type IFormItem = {
|
|
|
153
154
|
allowHalf?: boolean;
|
|
154
155
|
tooltips?: string[];
|
|
155
156
|
count?: number;
|
|
157
|
+
labelToSwitch?: boolean;
|
|
156
158
|
filterable?: boolean;
|
|
157
159
|
listHeight?: number;
|
|
158
160
|
collapseTags?: boolean;
|
|
@@ -177,6 +179,7 @@ export type IFormItem = {
|
|
|
177
179
|
fileSize?: number;
|
|
178
180
|
showTip?: boolean;
|
|
179
181
|
openCropper?: boolean;
|
|
182
|
+
allowDownloadOnDisable?: boolean;
|
|
180
183
|
onRemove?: (file: any) => void;
|
|
181
184
|
fixedSize?: [number, number] | undefined;
|
|
182
185
|
quality?: number;
|