antd-management-fast-framework 1.12.21 → 1.12.24
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/configGroup/configGeneral.d.ts +34 -32
- package/es/configGroup/themeCollection.d.ts +1 -1
- package/es/customComponents/AMap/UIPoiPicker.d.ts +1 -0
- package/es/customComponents/AMap/UIPositionPicker.d.ts +1 -0
- package/es/customComponents/ActiveChart/index.d.ts +9 -0
- package/es/customComponents/AnimalBox/FadeBox/index.d.ts +5 -4
- package/es/customComponents/AnimalBox/QueueBox/index.d.ts +3 -2
- package/es/customComponents/AnimalBox/QueueListBox/index.d.ts +6 -5
- package/es/customComponents/AnimalBox/RotateBox/index.d.ts +5 -4
- package/es/customComponents/AudioUpload/index.d.ts +17 -8
- package/es/customComponents/Authorized/PromiseRender.d.ts +6 -0
- package/es/customComponents/Authorized/Secured.d.ts +1 -1
- package/es/customComponents/Canvas/Bubbly/index.d.ts +11 -12
- package/es/customComponents/Canvas/Core/index.d.ts +7 -3
- package/es/customComponents/Canvas/RadarScanning/index.d.ts +4 -5
- package/es/customComponents/Canvas/Spirit/index.d.ts +5 -2
- package/es/customComponents/CenterBox/index.d.ts +1 -0
- package/es/customComponents/Charts/Bar/index.d.ts +4 -0
- package/es/customComponents/Charts/ChartCard/index.d.ts +1 -0
- package/es/customComponents/Charts/Pie/index.d.ts +2 -0
- package/es/customComponents/Charts/TagCloud/index.d.ts +11 -2
- package/es/customComponents/Charts/WaterWave/index.d.ts +9 -2
- package/es/customComponents/Charts/autoHeight.d.ts +6 -1
- package/es/customComponents/ColorText/index.d.ts +12 -11
- package/es/customComponents/Countdown/index.d.ts +11 -1
- package/es/customComponents/DataPreviewDrawer/index.d.ts +25 -7
- package/es/customComponents/DecorateAvatar/index.d.ts +26 -10
- package/es/customComponents/DisplayCopyData/index.d.ts +1 -2
- package/es/customComponents/EditableItem/index.d.ts +5 -0
- package/es/customComponents/EditableLinkGroup/index.d.ts +6 -5
- package/es/customComponents/Editor/TinymceWrapper/index.d.ts +6 -5
- package/es/customComponents/Ellipsis/index.d.ts +7 -0
- package/es/customComponents/EllipsisCustom/index.d.ts +7 -0
- package/es/customComponents/Entrance/map.d.ts +33 -29
- package/es/customComponents/EverySpace/index.d.ts +7 -6
- package/es/customComponents/Exception/index.d.ts +2 -0
- package/es/customComponents/FigureRange/index.d.ts +29 -21
- package/es/customComponents/FileBase64Upload/index.d.ts +13 -8
- package/es/customComponents/FileUpload/index.d.ts +15 -7
- package/es/customComponents/FlexBox/index.d.ts +13 -12
- package/es/customComponents/FlexText/index.d.ts +12 -11
- package/es/customComponents/FooterToolbar/index.d.ts +6 -0
- package/es/customComponents/FromDisplayItem/index.d.ts +5 -4
- package/es/customComponents/FunctionComponent/index.d.ts +61 -52
- package/es/customComponents/FunctionComponent/index.js +41 -0
- package/es/customComponents/FunctionSupplement/Whether/index.d.ts +9 -9
- package/es/customComponents/HelpBox/index.d.ts +9 -8
- package/es/customComponents/HelpCard/index.d.ts +8 -7
- package/es/customComponents/HtmlBox/index.d.ts +6 -3
- package/es/customComponents/IconInfo/index.d.ts +20 -19
- package/es/customComponents/ImageBox/index.d.ts +33 -12
- package/es/customComponents/ImageContentPreview/index.d.ts +8 -0
- package/es/customComponents/ImageUpload/index.d.ts +9 -3
- package/es/customComponents/MobileContainor/ContentView/index.d.ts +10 -9
- package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.d.ts +10 -9
- package/es/customComponents/MobileContainor/Devices/IPhone5S/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/Iphone8/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/IphoneX/index.d.ts +12 -11
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.d.ts +10 -9
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +3 -3
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +10 -10
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +38 -3
- package/es/customComponents/MobileContainor/MobileSimulation/index.d.ts +13 -12
- package/es/customComponents/NoticeIconCustom/index.d.ts +11 -10
- package/es/customComponents/PercentageBox/index.d.ts +3 -2
- package/es/customComponents/PriceBox/index.d.ts +9 -8
- package/es/customComponents/StandardTable/index.d.ts +5 -0
- package/es/customComponents/StandardTableCustom/index.d.ts +7 -2
- package/es/customComponents/StatusBar/index.d.ts +4 -3
- package/es/customComponents/TagSelect/index.d.ts +7 -2
- package/es/customComponents/TimeLineCustom/index.d.ts +17 -12
- package/es/customComponents/VerticalBox/index.d.ts +6 -5
- package/es/customComponents/VideoUpload/index.d.ts +17 -8
- package/es/framework/AuthorizationWrapper/index.d.ts +2 -2
- package/es/framework/Base/index.d.ts +18 -0
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +2 -3
- package/es/framework/Common/index.d.ts +57 -39
- package/es/framework/Core/index.d.ts +2 -3
- package/es/framework/CustomBase/index.d.ts +2 -0
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +17 -2
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +15 -1
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +1 -1
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +2 -1
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +0 -1
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +0 -1
- package/es/framework/DataForm/BaseAddForm/index.d.ts +21 -1
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +0 -1
- package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +0 -1
- package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +0 -1
- package/es/framework/DataListView/Base/index.d.ts +8 -8
- package/es/framework/DataListView/DensityAction/index.d.ts +1 -0
- package/es/framework/DataMenuContainer/index.d.ts +2 -2
- package/es/framework/DataModal/BaseAddModal/index.d.ts +0 -1
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +1 -1
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +25 -1
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +24 -1
- package/es/framework/DataModal/BaseUpdateModal/index.d.ts +0 -1
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +34 -1
- package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +0 -1
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +5 -1
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +5 -5
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +1 -2
- package/es/framework/DataOperation/Base/index.d.ts +34 -34
- package/es/framework/DataOperation/BaseView/index.d.ts +4 -4
- package/es/framework/DataOperation/BaseWindow/index.d.ts +10 -10
- package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +0 -1
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +7 -1
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +5 -5
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +3 -3
- package/es/framework/DataSingleView/DataLoad/index.d.ts +30 -10
- package/es/framework/DataTabContainer/index.d.ts +30 -1
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +6 -6
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.d.ts +3 -4
- package/es/framework/Wrapper/index.d.ts +1 -2
- package/es/utils/Yuan.d.ts +3 -0
- package/es/utils/actionAssist.d.ts +2 -2
- package/es/utils/constants.d.ts +202 -342
- package/es/utils/defaultSettingsSpecial.d.ts +29 -29
- package/es/utils/globalModel.d.ts +1 -1
- package/es/utils/globalStorageAssist.d.ts +4 -4
- package/es/utils/proLayoutCollection.d.ts +3 -3
- package/es/utils/requestAssistor.d.ts +2 -2
- package/es/utils/tools.d.ts +11 -8
- package/es/utils/tools.js +73 -16
- package/package.json +51 -52
|
@@ -3,7 +3,7 @@ export function buildPageHeaderTitle(pageName: any, headerTitlePrefix: any): JSX
|
|
|
3
3
|
* 构建按钮
|
|
4
4
|
*/
|
|
5
5
|
export function buildButton({ key: keySource, type: typeSource, size: sizeSource, text: textSource, icon: iconSource, handleClick: handleClickSource, hidden: hiddenSource, danger: dangerSource, disabled: disabledSource, confirm: confirmSource, handleData: handleDataSource, processing: processingSource, iconProcessing: iconProcessingSource, style: styleSource, showIcon: showIconSource, }: {
|
|
6
|
-
key?:
|
|
6
|
+
key?: null | undefined;
|
|
7
7
|
type?: string | undefined;
|
|
8
8
|
size?: string | undefined;
|
|
9
9
|
text?: string | undefined;
|
|
@@ -13,10 +13,10 @@ export function buildButton({ key: keySource, type: typeSource, size: sizeSource
|
|
|
13
13
|
danger?: boolean | undefined;
|
|
14
14
|
disabled?: boolean | undefined;
|
|
15
15
|
confirm?: boolean | undefined;
|
|
16
|
-
handleData?:
|
|
16
|
+
handleData?: null | undefined;
|
|
17
17
|
processing?: boolean | undefined;
|
|
18
18
|
iconProcessing?: JSX.Element | undefined;
|
|
19
|
-
style?:
|
|
19
|
+
style?: null | undefined;
|
|
20
20
|
showIcon?: boolean | undefined;
|
|
21
21
|
}): JSX.Element | null;
|
|
22
22
|
export function buildDropdownButton({ key, tooltip, placement, type: typeSource, size, text, icon, handleData: r, arrow, disabled, hidden, confirm, handleButtonClick, handleMenuClick, menuItems, }: {
|
|
@@ -32,7 +32,7 @@ export function buildDropdownButton({ key, tooltip, placement, type: typeSource,
|
|
|
32
32
|
disabled?: boolean | undefined;
|
|
33
33
|
hidden?: boolean | undefined;
|
|
34
34
|
confirm?: boolean | undefined;
|
|
35
|
-
handleButtonClick?:
|
|
35
|
+
handleButtonClick?: null | undefined;
|
|
36
36
|
handleMenuClick?: (() => void) | undefined;
|
|
37
37
|
menuItems?: any[] | undefined;
|
|
38
38
|
}): JSX.Element | null;
|
|
@@ -64,7 +64,7 @@ export function buildDropdown({ key, tooltip: tooltipSource, type: typeSource, p
|
|
|
64
64
|
arrow?: boolean | undefined;
|
|
65
65
|
disabled?: boolean | undefined;
|
|
66
66
|
hidden?: boolean | undefined;
|
|
67
|
-
handleButtonClick?:
|
|
67
|
+
handleButtonClick?: null | undefined;
|
|
68
68
|
handleMenuClick?: (() => void) | undefined;
|
|
69
69
|
menuItems?: any[] | undefined;
|
|
70
70
|
confirm?: boolean | undefined;
|
|
@@ -79,12 +79,12 @@ export function buildMenu({ handleData: r, handleMenuClick, menuItems, }: {
|
|
|
79
79
|
export function buildTree(props: any): JSX.Element;
|
|
80
80
|
export function buildAlert(props: any): JSX.Element;
|
|
81
81
|
export function buildCustomGrid({ key, list, props }: {
|
|
82
|
-
key?:
|
|
82
|
+
key?: null | undefined;
|
|
83
83
|
list: any;
|
|
84
84
|
props: any;
|
|
85
85
|
}): JSX.Element | null;
|
|
86
86
|
export function buildDescriptionGrid({ key, list, props }: {
|
|
87
|
-
key?:
|
|
87
|
+
key?: null | undefined;
|
|
88
88
|
list: any;
|
|
89
89
|
props: any;
|
|
90
90
|
}): JSX.Element | null;
|
|
@@ -119,92 +119,92 @@ export function buildListViewItemActionSelect({ index, confirm, selectData, sele
|
|
|
119
119
|
selectCallback: any;
|
|
120
120
|
}): JSX.Element | null;
|
|
121
121
|
export function buildRadioGroup({ value, defaultValue, style, button, buttonStyle, list, adjustListDataCallback, onChange, }: {
|
|
122
|
-
value?:
|
|
123
|
-
defaultValue?:
|
|
124
|
-
style?:
|
|
122
|
+
value?: null | undefined;
|
|
123
|
+
defaultValue?: null | undefined;
|
|
124
|
+
style?: null | undefined;
|
|
125
125
|
button?: boolean | undefined;
|
|
126
|
-
buttonStyle?:
|
|
126
|
+
buttonStyle?: null | undefined;
|
|
127
127
|
list: any;
|
|
128
|
-
adjustListDataCallback?:
|
|
129
|
-
onChange?:
|
|
128
|
+
adjustListDataCallback?: null | undefined;
|
|
129
|
+
onChange?: null | undefined;
|
|
130
130
|
}): JSX.Element;
|
|
131
131
|
export function buildRadioItem({ button, list, adjustListDataCallback, }: {
|
|
132
132
|
button?: boolean | undefined;
|
|
133
133
|
list: any;
|
|
134
|
-
adjustListDataCallback?:
|
|
134
|
+
adjustListDataCallback?: null | undefined;
|
|
135
135
|
}): any[] | null;
|
|
136
136
|
/**
|
|
137
137
|
*build custom radio group
|
|
138
138
|
*/
|
|
139
139
|
export function buildCustomRadio({ label, value, separator, size, renderItemFunction, onChangeCallback, otherProps, }: {
|
|
140
140
|
label: any;
|
|
141
|
-
value?:
|
|
141
|
+
value?: null | undefined;
|
|
142
142
|
separator?: string | undefined;
|
|
143
143
|
size?: string | undefined;
|
|
144
144
|
renderItemFunction: any;
|
|
145
|
-
onChangeCallback?:
|
|
146
|
-
otherProps?:
|
|
145
|
+
onChangeCallback?: null | undefined;
|
|
146
|
+
otherProps?: null | undefined;
|
|
147
147
|
}): JSX.Element;
|
|
148
148
|
export function buildFormRadio({ label, name, renderItemFunction, helper, onChangeCallback, formItemLayout, required, otherProps, }: {
|
|
149
149
|
label: any;
|
|
150
150
|
name: any;
|
|
151
151
|
renderItemFunction: any;
|
|
152
|
-
helper?:
|
|
153
|
-
onChangeCallback?:
|
|
154
|
-
formItemLayout?:
|
|
152
|
+
helper?: null | undefined;
|
|
153
|
+
onChangeCallback?: null | undefined;
|
|
154
|
+
formItemLayout?: null | undefined;
|
|
155
155
|
required?: boolean | undefined;
|
|
156
|
-
otherProps?:
|
|
156
|
+
otherProps?: null | undefined;
|
|
157
157
|
}): JSX.Element;
|
|
158
158
|
export function buildOptionItem({ list, adjustListDataCallback }: {
|
|
159
159
|
list: any;
|
|
160
|
-
adjustListDataCallback?:
|
|
160
|
+
adjustListDataCallback?: null | undefined;
|
|
161
161
|
}): any[] | null;
|
|
162
162
|
export function buildCustomSelect({ label, value, separator, size, renderItemFunction, onChangeCallback, otherProps, }: {
|
|
163
163
|
label: any;
|
|
164
|
-
value?:
|
|
164
|
+
value?: null | undefined;
|
|
165
165
|
separator?: string | undefined;
|
|
166
166
|
size?: string | undefined;
|
|
167
167
|
renderItemFunction: any;
|
|
168
|
-
onChangeCallback?:
|
|
169
|
-
otherProps?:
|
|
168
|
+
onChangeCallback?: null | undefined;
|
|
169
|
+
otherProps?: null | undefined;
|
|
170
170
|
}): JSX.Element;
|
|
171
171
|
export function buildFormSelect({ label, name, renderItemFunction, helper, onChangeCallback, formItemLayout, required, otherProps, }: {
|
|
172
172
|
label: any;
|
|
173
173
|
name: any;
|
|
174
174
|
renderItemFunction: any;
|
|
175
|
-
helper?:
|
|
176
|
-
onChangeCallback?:
|
|
177
|
-
formItemLayout?:
|
|
175
|
+
helper?: null | undefined;
|
|
176
|
+
onChangeCallback?: null | undefined;
|
|
177
|
+
formItemLayout?: null | undefined;
|
|
178
178
|
required?: boolean | undefined;
|
|
179
|
-
otherProps?:
|
|
179
|
+
otherProps?: null | undefined;
|
|
180
180
|
}): JSX.Element;
|
|
181
181
|
export function buildSearchFormSelect({ label, name, options, helper }: {
|
|
182
182
|
label: any;
|
|
183
183
|
name: any;
|
|
184
184
|
options: any;
|
|
185
|
-
helper?:
|
|
185
|
+
helper?: null | undefined;
|
|
186
186
|
}): JSX.Element;
|
|
187
187
|
export function buildFormNowTimeField({ label, helper, formItemLayout, }: {
|
|
188
188
|
label?: string | undefined;
|
|
189
189
|
helper?: string | undefined;
|
|
190
|
-
formItemLayout?:
|
|
190
|
+
formItemLayout?: null | undefined;
|
|
191
191
|
}): JSX.Element;
|
|
192
192
|
export function buildFormCreateTimeField({ name, helper, label, formItemLayout, }: {
|
|
193
193
|
name?: string | undefined;
|
|
194
194
|
helper?: string | undefined;
|
|
195
195
|
label?: string | undefined;
|
|
196
|
-
formItemLayout?:
|
|
196
|
+
formItemLayout?: null | undefined;
|
|
197
197
|
}): JSX.Element;
|
|
198
198
|
export function buildFormUpdateTimeField({ name, helper, label, formItemLayout, }: {
|
|
199
199
|
name?: string | undefined;
|
|
200
200
|
helper?: string | undefined;
|
|
201
201
|
label?: string | undefined;
|
|
202
|
-
formItemLayout?:
|
|
202
|
+
formItemLayout?: null | undefined;
|
|
203
203
|
}): JSX.Element;
|
|
204
204
|
export function buildSearchInput({ label, name, helper, icon, inputProps, canOperate, formItemLayout, }: {
|
|
205
205
|
label: any;
|
|
206
206
|
name: any;
|
|
207
|
-
helper?:
|
|
207
|
+
helper?: null | undefined;
|
|
208
208
|
icon?: JSX.Element | undefined;
|
|
209
209
|
inputProps?: {} | undefined;
|
|
210
210
|
canOperate?: boolean | undefined;
|
|
@@ -213,7 +213,7 @@ export function buildSearchInput({ label, name, helper, icon, inputProps, canOpe
|
|
|
213
213
|
export function buildSearchInputNumber({ label, name, helper, icon, inputProps, canOperate, formItemLayout, }: {
|
|
214
214
|
label: any;
|
|
215
215
|
name: any;
|
|
216
|
-
helper?:
|
|
216
|
+
helper?: null | undefined;
|
|
217
217
|
icon?: JSX.Element | undefined;
|
|
218
218
|
inputProps?: {} | undefined;
|
|
219
219
|
canOperate?: boolean | undefined;
|
|
@@ -243,7 +243,7 @@ export function buildFormInput({ label, name, required, helper, icon, inputProps
|
|
|
243
243
|
label: any;
|
|
244
244
|
name: any;
|
|
245
245
|
required?: boolean | undefined;
|
|
246
|
-
helper?:
|
|
246
|
+
helper?: null | undefined;
|
|
247
247
|
icon?: JSX.Element | undefined;
|
|
248
248
|
inputProps?: {} | undefined;
|
|
249
249
|
canOperate?: boolean | undefined;
|
|
@@ -255,7 +255,7 @@ export function buildFormSwitch({ label, name, required, helper, otherProps, can
|
|
|
255
255
|
label: any;
|
|
256
256
|
name: any;
|
|
257
257
|
required?: boolean | undefined;
|
|
258
|
-
helper?:
|
|
258
|
+
helper?: null | undefined;
|
|
259
259
|
otherProps?: {} | undefined;
|
|
260
260
|
canOperate?: boolean | undefined;
|
|
261
261
|
formItemLayout?: {} | undefined;
|
|
@@ -265,7 +265,7 @@ export function buildFormPassword({ label, name, required, helper, icon, inputPr
|
|
|
265
265
|
label: any;
|
|
266
266
|
name: any;
|
|
267
267
|
required?: boolean | undefined;
|
|
268
|
-
helper?:
|
|
268
|
+
helper?: null | undefined;
|
|
269
269
|
icon?: JSX.Element | undefined;
|
|
270
270
|
inputProps?: {} | undefined;
|
|
271
271
|
canOperate?: boolean | undefined;
|
|
@@ -274,7 +274,7 @@ export function buildFormPassword({ label, name, required, helper, icon, inputPr
|
|
|
274
274
|
export function buildFormOnlyShowText({ label, value, helper, formItemLayout, requiredForShow, }: {
|
|
275
275
|
label: any;
|
|
276
276
|
value: any;
|
|
277
|
-
helper?:
|
|
277
|
+
helper?: null | undefined;
|
|
278
278
|
formItemLayout?: {} | undefined;
|
|
279
279
|
requiredForShow?: boolean | undefined;
|
|
280
280
|
}): JSX.Element;
|
|
@@ -289,7 +289,7 @@ export function buildJsonView({ value, theme }: {
|
|
|
289
289
|
export function buildFormInnerComponent({ label, innerComponent, helper, formItemLayout, requiredForShow, }: {
|
|
290
290
|
label: any;
|
|
291
291
|
innerComponent: any;
|
|
292
|
-
helper?:
|
|
292
|
+
helper?: null | undefined;
|
|
293
293
|
formItemLayout?: {} | undefined;
|
|
294
294
|
requiredForShow?: boolean | undefined;
|
|
295
295
|
}): JSX.Element;
|
|
@@ -305,14 +305,14 @@ export function buildFormOnlyShowSyntaxHighlighter({ language, label, value, hel
|
|
|
305
305
|
language: any;
|
|
306
306
|
label: any;
|
|
307
307
|
value: any;
|
|
308
|
-
helper?:
|
|
308
|
+
helper?: null | undefined;
|
|
309
309
|
formItemLayout?: {} | undefined;
|
|
310
310
|
requiredForShow?: boolean | undefined;
|
|
311
311
|
}): JSX.Element;
|
|
312
312
|
export function buildFormOnlyShowTextarea({ label, value, helper, textAreaProps, formItemLayout, }: {
|
|
313
313
|
label: any;
|
|
314
314
|
value: any;
|
|
315
|
-
helper?:
|
|
315
|
+
helper?: null | undefined;
|
|
316
316
|
textAreaProps?: {
|
|
317
317
|
disabled: boolean;
|
|
318
318
|
} | undefined;
|
|
@@ -321,13 +321,13 @@ export function buildFormOnlyShowTextarea({ label, value, helper, textAreaProps,
|
|
|
321
321
|
export function buildFormText({ label, value, helper, formItemLayout, }: {
|
|
322
322
|
label: any;
|
|
323
323
|
value: any;
|
|
324
|
-
helper?:
|
|
324
|
+
helper?: null | undefined;
|
|
325
325
|
formItemLayout?: {} | undefined;
|
|
326
326
|
}): JSX.Element;
|
|
327
327
|
export function buildFormOnlyShowInput({ label, value, helper, icon, inputProps, formItemLayout, }: {
|
|
328
328
|
label: any;
|
|
329
329
|
value: any;
|
|
330
|
-
helper?:
|
|
330
|
+
helper?: null | undefined;
|
|
331
331
|
icon?: JSX.Element | undefined;
|
|
332
332
|
inputProps?: {
|
|
333
333
|
disabled: boolean;
|
|
@@ -338,7 +338,7 @@ export function buildFormInputNumber({ label, name, required, helper, icon, inpu
|
|
|
338
338
|
label: any;
|
|
339
339
|
name: any;
|
|
340
340
|
required?: boolean | undefined;
|
|
341
|
-
helper?:
|
|
341
|
+
helper?: null | undefined;
|
|
342
342
|
icon?: JSX.Element | undefined;
|
|
343
343
|
inputNumberProps?: {} | undefined;
|
|
344
344
|
canOperate?: boolean | undefined;
|
|
@@ -348,7 +348,7 @@ export function buildFormTextArea({ label, name, required, helper, textAreaProps
|
|
|
348
348
|
label: any;
|
|
349
349
|
name: any;
|
|
350
350
|
required?: boolean | undefined;
|
|
351
|
-
helper?:
|
|
351
|
+
helper?: null | undefined;
|
|
352
352
|
textAreaProps?: {} | undefined;
|
|
353
353
|
canOperate?: boolean | undefined;
|
|
354
354
|
formItemLayout?: {} | undefined;
|
|
@@ -357,7 +357,7 @@ export function buildFormDatePicker({ label, name, required, helper, datePickerP
|
|
|
357
357
|
label: any;
|
|
358
358
|
name: any;
|
|
359
359
|
required?: boolean | undefined;
|
|
360
|
-
helper?:
|
|
360
|
+
helper?: null | undefined;
|
|
361
361
|
datePickerProps?: {} | undefined;
|
|
362
362
|
canOperate?: boolean | undefined;
|
|
363
363
|
formItemLayout?: {} | undefined;
|
|
@@ -366,7 +366,7 @@ export function buildFormTimePicker({ label, name, required, helper, timePickerP
|
|
|
366
366
|
label: any;
|
|
367
367
|
name: any;
|
|
368
368
|
required?: boolean | undefined;
|
|
369
|
-
helper?:
|
|
369
|
+
helper?: null | undefined;
|
|
370
370
|
timePickerProps?: {} | undefined;
|
|
371
371
|
canOperate?: boolean | undefined;
|
|
372
372
|
formItemLayout?: {} | undefined;
|
|
@@ -394,12 +394,12 @@ export function buildColorText({ canCopy, randomSeed, seedOffset, randomColor, c
|
|
|
394
394
|
seedOffset?: number | undefined;
|
|
395
395
|
randomColor?: boolean | undefined;
|
|
396
396
|
color?: string | undefined;
|
|
397
|
-
textPrefix?:
|
|
398
|
-
textPrefixStyle?:
|
|
397
|
+
textPrefix?: null | undefined;
|
|
398
|
+
textPrefixStyle?: null | undefined;
|
|
399
399
|
text?: string | undefined;
|
|
400
400
|
separator?: string | undefined;
|
|
401
|
-
separatorStyle?:
|
|
402
|
-
wrapperBuilder?:
|
|
401
|
+
separatorStyle?: null | undefined;
|
|
402
|
+
wrapperBuilder?: null | undefined;
|
|
403
403
|
}): any;
|
|
404
404
|
export function adjustTableExpandConfig({ list, config }: {
|
|
405
405
|
list: any;
|
|
@@ -418,6 +418,15 @@ export function adjustTableExpandConfig({ list, config }: {
|
|
|
418
418
|
expandIcon?: undefined;
|
|
419
419
|
expandedRowRender?: undefined;
|
|
420
420
|
} | null;
|
|
421
|
+
export function buildTreeSelect({ style, value, dropdownStyle, data, placeholder, treeDefaultExpandAll, onChange, }: {
|
|
422
|
+
style?: {} | undefined;
|
|
423
|
+
value: any;
|
|
424
|
+
dropdownStyle?: {} | undefined;
|
|
425
|
+
data?: any[] | undefined;
|
|
426
|
+
placeholder?: string | undefined;
|
|
427
|
+
treeDefaultExpandAll?: boolean | undefined;
|
|
428
|
+
onChange?: null | undefined;
|
|
429
|
+
}): JSX.Element;
|
|
421
430
|
/**
|
|
422
431
|
* 占位函数
|
|
423
432
|
*
|
|
@@ -58,9 +58,14 @@ exports.buildSearchInputNumber = buildSearchInputNumber;
|
|
|
58
58
|
exports.buildSyntaxHighlighter = buildSyntaxHighlighter;
|
|
59
59
|
exports.buildTagList = buildTagList;
|
|
60
60
|
exports.buildTree = buildTree;
|
|
61
|
+
exports.buildTreeSelect = buildTreeSelect;
|
|
61
62
|
exports.empty = empty;
|
|
62
63
|
exports.pageHeaderExtraContent = pageHeaderExtraContent;
|
|
63
64
|
|
|
65
|
+
require("antd/es/tree-select/style");
|
|
66
|
+
|
|
67
|
+
var _treeSelect = _interopRequireDefault(require("antd/es/tree-select"));
|
|
68
|
+
|
|
64
69
|
require("antd/es/badge/style");
|
|
65
70
|
|
|
66
71
|
var _badge = _interopRequireDefault(require("antd/es/badge"));
|
|
@@ -3180,6 +3185,42 @@ function adjustTableExpandConfig(_ref53) {
|
|
|
3180
3185
|
|
|
3181
3186
|
return null;
|
|
3182
3187
|
}
|
|
3188
|
+
|
|
3189
|
+
function buildTreeSelect(_ref56) {
|
|
3190
|
+
var _ref56$style = _ref56.style,
|
|
3191
|
+
style = _ref56$style === void 0 ? {} : _ref56$style,
|
|
3192
|
+
value = _ref56.value,
|
|
3193
|
+
_ref56$dropdownStyle = _ref56.dropdownStyle,
|
|
3194
|
+
dropdownStyle = _ref56$dropdownStyle === void 0 ? {} : _ref56$dropdownStyle,
|
|
3195
|
+
_ref56$data = _ref56.data,
|
|
3196
|
+
data = _ref56$data === void 0 ? [] : _ref56$data,
|
|
3197
|
+
_ref56$placeholder = _ref56.placeholder,
|
|
3198
|
+
placeholder = _ref56$placeholder === void 0 ? '请选择' : _ref56$placeholder,
|
|
3199
|
+
_ref56$treeDefaultExp = _ref56.treeDefaultExpandAll,
|
|
3200
|
+
treeDefaultExpandAll = _ref56$treeDefaultExp === void 0 ? true : _ref56$treeDefaultExp,
|
|
3201
|
+
_ref56$onChange = _ref56.onChange,
|
|
3202
|
+
_onChange = _ref56$onChange === void 0 ? null : _ref56$onChange;
|
|
3203
|
+
|
|
3204
|
+
return /*#__PURE__*/_react.default.createElement(_treeSelect.default, {
|
|
3205
|
+
style: _objectSpread(_objectSpread({}, {
|
|
3206
|
+
width: '100%'
|
|
3207
|
+
}), style || {}),
|
|
3208
|
+
value: value,
|
|
3209
|
+
dropdownStyle: dropdownStyle,
|
|
3210
|
+
treeData: data,
|
|
3211
|
+
placeholder: placeholder,
|
|
3212
|
+
treeDefaultExpandAll: treeDefaultExpandAll,
|
|
3213
|
+
onChange: function onChange(value, label, extra) {
|
|
3214
|
+
if ((0, _tools.isFunction)(_onChange)) {
|
|
3215
|
+
_onChange({
|
|
3216
|
+
value: value,
|
|
3217
|
+
label: label,
|
|
3218
|
+
extra: extra
|
|
3219
|
+
});
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3222
|
+
});
|
|
3223
|
+
}
|
|
3183
3224
|
/**
|
|
3184
3225
|
* 占位函数
|
|
3185
3226
|
*
|
|
@@ -7,35 +7,35 @@ export function getWhetherName({ value, defaultValue }: {
|
|
|
7
7
|
}): any;
|
|
8
8
|
export function renderWhetherOption({ withUnlimited, adjustListDataCallback, }: {
|
|
9
9
|
withUnlimited?: boolean | undefined;
|
|
10
|
-
adjustListDataCallback?:
|
|
10
|
+
adjustListDataCallback?: null | undefined;
|
|
11
11
|
}): any[] | null;
|
|
12
12
|
export function renderWhetherRadio({ withUnlimited, adjustListDataCallback, }: {
|
|
13
13
|
withUnlimited?: boolean | undefined;
|
|
14
|
-
adjustListDataCallback?:
|
|
14
|
+
adjustListDataCallback?: null | undefined;
|
|
15
15
|
}): any[] | null;
|
|
16
16
|
export function renderSearchWhetherSelect({ withUnlimited, label, name, helper, }: {
|
|
17
17
|
withUnlimited?: boolean | undefined;
|
|
18
18
|
label?: string | undefined;
|
|
19
19
|
name?: string | undefined;
|
|
20
|
-
helper?:
|
|
20
|
+
helper?: null | undefined;
|
|
21
21
|
}): JSX.Element;
|
|
22
22
|
export function renderFormWhetherSelect({ helper, onChangeCallback, label, formItemLayout, required, name, otherProps, }: {
|
|
23
|
-
helper?:
|
|
23
|
+
helper?: null | undefined;
|
|
24
24
|
onChangeCallback: any;
|
|
25
25
|
label?: string | undefined;
|
|
26
|
-
formItemLayout?:
|
|
26
|
+
formItemLayout?: null | undefined;
|
|
27
27
|
required?: boolean | undefined;
|
|
28
28
|
name?: string | undefined;
|
|
29
|
-
otherProps?:
|
|
29
|
+
otherProps?: null | undefined;
|
|
30
30
|
}): JSX.Element;
|
|
31
31
|
export function renderFormWhetherRadio({ helper, onChangeCallback, label, formItemLayout, required, name, otherProps, }: {
|
|
32
|
-
helper?:
|
|
32
|
+
helper?: null | undefined;
|
|
33
33
|
onChangeCallback: any;
|
|
34
34
|
label?: string | undefined;
|
|
35
|
-
formItemLayout?:
|
|
35
|
+
formItemLayout?: null | undefined;
|
|
36
36
|
required?: boolean | undefined;
|
|
37
37
|
name?: string | undefined;
|
|
38
|
-
otherProps?:
|
|
38
|
+
otherProps?: null | undefined;
|
|
39
39
|
}): JSX.Element;
|
|
40
40
|
/**
|
|
41
41
|
* 占位函数
|
|
@@ -2,16 +2,17 @@ export default HelpBox;
|
|
|
2
2
|
declare class HelpBox extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
render(): JSX.Element | null;
|
|
5
6
|
}
|
|
6
7
|
declare namespace HelpBox {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
namespace defaultProps {
|
|
9
|
+
const title: string;
|
|
10
|
+
const showTitle: boolean;
|
|
11
|
+
const showNumber: boolean;
|
|
12
|
+
const labelWidth: null;
|
|
13
|
+
const list: never[];
|
|
14
|
+
const useBackground: boolean;
|
|
15
|
+
const hidden: boolean;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
import React from "react";
|
|
@@ -2,15 +2,16 @@ export default HelpCard;
|
|
|
2
2
|
declare class HelpCard extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
|
+
render(): JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
declare namespace HelpCard {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
namespace defaultProps {
|
|
9
|
+
const border: boolean;
|
|
10
|
+
const compact: boolean;
|
|
11
|
+
namespace helpBoxProps {
|
|
12
|
+
const title: string;
|
|
13
|
+
const showNumber: boolean;
|
|
14
|
+
const list: never[];
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -5,13 +5,16 @@ export default HtmlBox;
|
|
|
5
5
|
declare class HtmlBox extends React.PureComponent<any, any, any> {
|
|
6
6
|
constructor(props: any);
|
|
7
7
|
constructor(props: any, context: any);
|
|
8
|
+
componentDidMount(): void;
|
|
9
|
+
componentDidUpdate(): void;
|
|
8
10
|
renderToHtml: () => void;
|
|
11
|
+
render(): JSX.Element;
|
|
9
12
|
main: HTMLSpanElement | null | undefined;
|
|
10
13
|
}
|
|
11
14
|
declare namespace HtmlBox {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
namespace defaultProps {
|
|
16
|
+
const useEmpty: boolean;
|
|
17
|
+
const html: string;
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
20
|
import React from "react";
|
|
@@ -3,29 +3,30 @@ declare class IconInfo extends React.PureComponent<any, any, any> {
|
|
|
3
3
|
constructor(props: any);
|
|
4
4
|
constructor(props: any, context: any);
|
|
5
5
|
copyDataToClipboard: () => void;
|
|
6
|
+
render(): JSX.Element | null;
|
|
6
7
|
}
|
|
7
8
|
declare namespace IconInfo {
|
|
8
9
|
export { defaultValue as defaultProps };
|
|
9
10
|
}
|
|
10
11
|
import React from "react";
|
|
11
12
|
declare namespace defaultValue {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
13
|
+
const direction: string;
|
|
14
|
+
const responsive: boolean;
|
|
15
|
+
const tooltip: boolean;
|
|
16
|
+
const tooltipColor: null;
|
|
17
|
+
const ellipsis: boolean;
|
|
18
|
+
const icon: null;
|
|
19
|
+
const iconPosition: string;
|
|
20
|
+
const iconTooltip: string;
|
|
21
|
+
const canCopy: boolean;
|
|
22
|
+
const copyData: null;
|
|
23
|
+
const textPrefix: string;
|
|
24
|
+
const textPrefixStyle: null;
|
|
25
|
+
const text: string;
|
|
26
|
+
const textStyle: null;
|
|
27
|
+
const textFormat: null;
|
|
28
|
+
const separator: string;
|
|
29
|
+
const separatorStyle: null;
|
|
30
|
+
const style: null;
|
|
31
|
+
const ellipsisMaxWidth: number;
|
|
31
32
|
}
|
|
@@ -2,38 +2,59 @@ export default ImageBox;
|
|
|
2
2
|
declare class ImageBox extends CustomBase {
|
|
3
3
|
static getDerivedStateFromProps(nextProps: any, prevState: any): {
|
|
4
4
|
showErrorOverlay: any;
|
|
5
|
-
src:
|
|
6
|
-
aspectRatio:
|
|
7
|
-
showOverlay:
|
|
8
|
-
loadingEffect:
|
|
9
|
-
overlayText:
|
|
5
|
+
src: any;
|
|
6
|
+
aspectRatio: any;
|
|
7
|
+
showOverlay: any;
|
|
8
|
+
loadingEffect: any;
|
|
9
|
+
overlayText: any;
|
|
10
10
|
borderRadiusDefaultStyle: {
|
|
11
11
|
borderRadius: string;
|
|
12
12
|
} | {
|
|
13
13
|
borderRadius?: undefined;
|
|
14
14
|
};
|
|
15
|
-
circle:
|
|
15
|
+
circle: any;
|
|
16
16
|
backgroundColor: {
|
|
17
17
|
backgroundColor?: undefined;
|
|
18
18
|
} | {
|
|
19
19
|
backgroundColor: any;
|
|
20
20
|
};
|
|
21
|
-
showMode:
|
|
21
|
+
showMode: any;
|
|
22
22
|
imageBoxStyle: any;
|
|
23
|
+
errorOverlayVisible: any;
|
|
24
|
+
errorOverlayText: any;
|
|
25
|
+
showErrorIcon: any;
|
|
26
|
+
};
|
|
27
|
+
constructor(props: any);
|
|
28
|
+
state: {
|
|
29
|
+
src: string;
|
|
30
|
+
aspectRatio: number;
|
|
31
|
+
borderRadiusDefaultStyle: {};
|
|
32
|
+
imageBoxStyle: {};
|
|
33
|
+
borderRadius: boolean;
|
|
34
|
+
showMode: string;
|
|
35
|
+
circle: boolean;
|
|
36
|
+
backgroundColor: {};
|
|
37
|
+
showOverlay: boolean;
|
|
38
|
+
overlayText: string;
|
|
39
|
+
loadingEffect: boolean;
|
|
40
|
+
hide: boolean;
|
|
41
|
+
loadSuccess: boolean;
|
|
42
|
+
imageLoadSuccess: boolean;
|
|
23
43
|
errorOverlayVisible: boolean;
|
|
24
44
|
errorOverlayText: string;
|
|
45
|
+
showErrorOverlay: boolean;
|
|
25
46
|
showErrorIcon: boolean;
|
|
26
47
|
};
|
|
27
|
-
constructor(props: any);
|
|
28
48
|
onImageLoadSuccess(): void;
|
|
29
49
|
onImageError(): void;
|
|
30
50
|
onImageClick(): void;
|
|
51
|
+
render(): JSX.Element | null;
|
|
31
52
|
}
|
|
32
53
|
declare namespace ImageBox {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
54
|
+
namespace defaultProps {
|
|
55
|
+
const fillHeight: boolean;
|
|
56
|
+
const preview: boolean;
|
|
57
|
+
const previewSimpleMask: boolean;
|
|
37
58
|
}
|
|
38
59
|
}
|
|
39
60
|
import CustomBase from "../../framework/CustomBase";
|
|
@@ -8,6 +8,14 @@ declare class ImageContentPreview extends CustomBase {
|
|
|
8
8
|
htmlContent: any;
|
|
9
9
|
};
|
|
10
10
|
constructor(props: any);
|
|
11
|
+
state: {
|
|
12
|
+
visible: boolean;
|
|
13
|
+
htmlContent: string;
|
|
14
|
+
imageList: never[];
|
|
15
|
+
listItem: never[];
|
|
16
|
+
mode: number;
|
|
17
|
+
};
|
|
11
18
|
onClose: () => void;
|
|
19
|
+
render(): JSX.Element;
|
|
12
20
|
}
|
|
13
21
|
import CustomBase from "../../framework/CustomBase";
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
export default ImageUpload;
|
|
2
2
|
declare class ImageUpload extends React.PureComponent<any, any, any> {
|
|
3
3
|
constructor(props: any);
|
|
4
|
+
state: {
|
|
5
|
+
uploading: boolean;
|
|
6
|
+
previewVisible: boolean;
|
|
7
|
+
previewImage: string;
|
|
8
|
+
};
|
|
4
9
|
handleUploadCancel: () => void;
|
|
5
10
|
handleFilePreview: (file: any) => void;
|
|
6
11
|
handleImagePreview: () => void;
|
|
7
12
|
beforeUpload: (file: any, fileList: any) => boolean;
|
|
8
13
|
handleUploadChange: (info: any) => void;
|
|
9
14
|
clearImage: () => void;
|
|
15
|
+
render(): JSX.Element;
|
|
10
16
|
}
|
|
11
17
|
declare namespace ImageUpload {
|
|
12
|
-
|
|
18
|
+
namespace defaultProps {
|
|
13
19
|
export const action: string;
|
|
14
20
|
export const listType: string;
|
|
15
21
|
export const showUploadList: boolean;
|
|
@@ -19,8 +25,8 @@ declare namespace ImageUpload {
|
|
|
19
25
|
export const image: string;
|
|
20
26
|
export const fileList: never[];
|
|
21
27
|
export namespace singleMode {
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
const width: string;
|
|
29
|
+
const emptyImage: string;
|
|
24
30
|
}
|
|
25
31
|
export const icon: null;
|
|
26
32
|
export const title: string;
|