@ant-design/pro-components 3.1.0-0 → 3.1.1-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/README.es-PR.md +1 -3
- package/README.md +8 -10
- package/README.zh-CN.md +11 -11
- package/dist/pro-components.min.js +1 -1
- package/es/card/ProCard.js +8 -10
- package/es/card/components/Actions/index.js +25 -25
- package/es/card/components/Actions/style.js +79 -71
- package/es/card/components/Card/index.js +157 -142
- package/es/card/components/Card/style.js +249 -192
- package/es/card/components/CheckCard/Group.js +94 -115
- package/es/card/components/CheckCard/index.js +85 -79
- package/es/card/components/CheckCard/style.js +184 -168
- package/es/card/components/Divider/index.js +19 -15
- package/es/card/components/Divider/style.js +32 -29
- package/es/card/components/Loading/index.js +19 -16
- package/es/card/components/Loading/style.js +34 -31
- package/es/card/components/Operation/index.js +16 -13
- package/es/card/components/Operation/style.js +19 -18
- package/es/card/components/Statistic/index.js +46 -41
- package/es/card/components/Statistic/style.js +89 -70
- package/es/card/components/StatisticCard/index.js +46 -41
- package/es/card/components/StatisticCard/style.js +37 -35
- package/es/descriptions/index.js +214 -225
- package/es/descriptions/useFetchData.js +53 -91
- package/es/field/AllProField.js +265 -216
- package/es/field/FieldHOC/index.js +9 -14
- package/es/field/PureProField.js +82 -80
- package/es/field/ValueTypeToComponent.js +517 -618
- package/es/field/components/Cascader/index.d.ts +3 -3
- package/es/field/components/Cascader/index.js +66 -84
- package/es/field/components/Checkbox/index.d.ts +2 -2
- package/es/field/components/Checkbox/index.js +75 -72
- package/es/field/components/Code/index.js +40 -39
- package/es/field/components/ColorPicker/index.d.ts +2 -2
- package/es/field/components/ColorPicker/index.js +38 -32
- package/es/field/components/DatePicker/index.d.ts +2 -2
- package/es/field/components/DatePicker/index.js +49 -53
- package/es/field/components/Digit/index.js +41 -42
- package/es/field/components/DigitRange/index.js +71 -77
- package/es/field/components/FromNow/index.js +27 -25
- package/es/field/components/Image/index.js +28 -24
- package/es/field/components/IndexColumn/index.js +22 -16
- package/es/field/components/Money/index.js +107 -116
- package/es/field/components/Options/index.js +34 -33
- package/es/field/components/Password/index.js +35 -38
- package/es/field/components/Percent/index.js +40 -44
- package/es/field/components/Percent/util.js +3 -5
- package/es/field/components/Progress/index.js +29 -27
- package/es/field/components/Radio/index.d.ts +1 -1
- package/es/field/components/Radio/index.js +61 -62
- package/es/field/components/RangePicker/index.d.ts +2 -2
- package/es/field/components/RangePicker/index.js +52 -63
- package/es/field/components/Rate/index.js +24 -21
- package/es/field/components/Second/index.js +36 -33
- package/es/field/components/Segmented/index.d.ts +1 -1
- package/es/field/components/Segmented/index.js +37 -46
- package/es/field/components/Select/LightSelect/index.d.ts +1 -1
- package/es/field/components/Select/LightSelect/index.js +102 -109
- package/es/field/components/Select/SearchSelect/index.js +129 -155
- package/es/field/components/Select/index.d.ts +2 -2
- package/es/field/components/Select/index.js +193 -219
- package/es/field/components/Slider/index.js +25 -22
- package/es/field/components/Status/index.js +67 -78
- package/es/field/components/Switch/index.d.ts +1 -1
- package/es/field/components/Switch/index.js +32 -30
- package/es/field/components/Text/index.js +34 -37
- package/es/field/components/TextArea/index.js +26 -21
- package/es/field/components/TextArea/readonly.js +24 -21
- package/es/field/components/TimePicker/index.js +96 -105
- package/es/field/components/TreeSelect/index.d.ts +3 -3
- package/es/field/components/TreeSelect/index.js +107 -125
- package/es/form/BaseForm/BaseForm.js +416 -502
- package/es/form/BaseForm/EditOrReadOnlyContext.js +1 -1
- package/es/form/BaseForm/LightWrapper/index.js +56 -65
- package/es/form/BaseForm/LightWrapper/style.js +17 -13
- package/es/form/BaseForm/Submitter/index.js +44 -43
- package/es/form/FieldContext.js +1 -1
- package/es/form/components/Captcha/index.js +74 -134
- package/es/form/components/Cascader/index.d.ts +1 -1
- package/es/form/components/Cascader/index.js +26 -28
- package/es/form/components/Checkbox/index.js +60 -61
- package/es/form/components/ColorPicker/index.d.ts +1 -1
- package/es/form/components/ColorPicker/index.js +24 -26
- package/es/form/components/DatePicker/BaseDatePicker.js +32 -30
- package/es/form/components/DatePicker/DatePicker.js +14 -13
- package/es/form/components/DatePicker/DateTimePicker.js +11 -12
- package/es/form/components/DatePicker/MonthPicker.js +14 -13
- package/es/form/components/DatePicker/QuarterPicker.js +14 -13
- package/es/form/components/DatePicker/TimePicker.js +26 -27
- package/es/form/components/DatePicker/WeekPicker.js +14 -13
- package/es/form/components/DatePicker/YearPicker.js +14 -13
- package/es/form/components/DatePicker/index.js +1 -1
- package/es/form/components/DateRangePicker/BaseDateRanger.js +34 -34
- package/es/form/components/DateRangePicker/DateMonthRangePicker.js +15 -16
- package/es/form/components/DateRangePicker/DateQuarterRangePicker.js +15 -16
- package/es/form/components/DateRangePicker/DateTimeRangePicker.js +15 -16
- package/es/form/components/DateRangePicker/DateWeekRangePicker.js +15 -16
- package/es/form/components/DateRangePicker/DateYearRangePicker.js +15 -16
- package/es/form/components/DateRangePicker/TimeRangePicker.js +26 -29
- package/es/form/components/DateRangePicker/index.js +15 -16
- package/es/form/components/Dependency/index.js +31 -34
- package/es/form/components/Digit/DigitRange.d.ts +2 -2
- package/es/form/components/Digit/DigitRange.js +23 -24
- package/es/form/components/Digit/index.d.ts +1 -1
- package/es/form/components/Digit/index.js +27 -29
- package/es/form/components/Field/index.js +55 -63
- package/es/form/components/FieldSet/index.js +68 -76
- package/es/form/components/FormItem/FormItemRender/index.js +58 -48
- package/es/form/components/FormItem/Group/index.js +95 -95
- package/es/form/components/FormItem/Group/style.js +46 -40
- package/es/form/components/FormItem/index.js +135 -141
- package/es/form/components/FormItem/warpField.js +165 -149
- package/es/form/components/List/ListContainer.js +98 -189
- package/es/form/components/List/ListItem.js +151 -198
- package/es/form/components/List/index.js +97 -107
- package/es/form/components/List/style.js +71 -47
- package/es/form/components/Money/index.d.ts +1 -1
- package/es/form/components/Money/index.js +28 -30
- package/es/form/components/Radio/index.d.ts +2 -2
- package/es/form/components/Radio/index.js +45 -49
- package/es/form/components/Rate/index.d.ts +1 -1
- package/es/form/components/Rate/index.js +17 -20
- package/es/form/components/SchemaForm/index.js +58 -72
- package/es/form/components/SchemaForm/layoutType/Embed.js +5 -6
- package/es/form/components/SchemaForm/layoutType/StepsForm.js +22 -26
- package/es/form/components/SchemaForm/valueType/dependency.js +11 -11
- package/es/form/components/SchemaForm/valueType/divider.js +4 -5
- package/es/form/components/SchemaForm/valueType/field.js +45 -44
- package/es/form/components/SchemaForm/valueType/formList.js +8 -7
- package/es/form/components/SchemaForm/valueType/formSet.js +8 -7
- package/es/form/components/SchemaForm/valueType/group.js +7 -8
- package/es/form/components/SchemaForm/valueType/ignore.js +2 -2
- package/es/form/components/SchemaForm/valueType/index.js +5 -5
- package/es/form/components/Segmented/index.js +20 -23
- package/es/form/components/Select/index.js +69 -73
- package/es/form/components/Slider/index.d.ts +1 -1
- package/es/form/components/Slider/index.js +33 -35
- package/es/form/components/Switch/index.js +24 -26
- package/es/form/components/Text/index.js +75 -86
- package/es/form/components/TextArea/index.d.ts +1 -1
- package/es/form/components/TextArea/index.js +17 -20
- package/es/form/components/TreeSelect/index.js +20 -23
- package/es/form/components/UploadButton/index.js +56 -103
- package/es/form/components/UploadDragger/index.js +37 -44
- package/es/form/helpers/grid.js +65 -67
- package/es/form/layouts/DrawerForm/index.js +150 -241
- package/es/form/layouts/DrawerForm/style.js +26 -25
- package/es/form/layouts/LightFilter/index.d.ts +12 -1
- package/es/form/layouts/LightFilter/index.js +158 -140
- package/es/form/layouts/LightFilter/style.js +52 -48
- package/es/form/layouts/LoginForm/index.js +44 -47
- package/es/form/layouts/LoginForm/style.js +71 -67
- package/es/form/layouts/LoginFormPage/index.js +45 -48
- package/es/form/layouts/LoginFormPage/style.js +136 -126
- package/es/form/layouts/ModalForm/index.js +119 -203
- package/es/form/layouts/ProForm/index.d.ts +2 -2
- package/es/form/layouts/ProForm/index.js +5 -5
- package/es/form/layouts/QueryFilter/Actions.js +23 -22
- package/es/form/layouts/QueryFilter/index.js +178 -203
- package/es/form/layouts/QueryFilter/style.js +45 -37
- package/es/form/layouts/StepsForm/StepForm.d.ts +2 -3
- package/es/form/layouts/StepsForm/StepForm.js +50 -71
- package/es/form/layouts/StepsForm/index.js +175 -217
- package/es/form/layouts/StepsForm/style.js +30 -28
- package/es/form/layouts/index.js +1 -1
- package/es/layout/ProLayout.js +281 -292
- package/es/layout/WrapContent.js +16 -12
- package/es/layout/assert/Logo.js +95 -97
- package/es/layout/components/AppsLogoComponents/AppsLogo.js +10 -12
- package/es/layout/components/AppsLogoComponents/DefaultContent.js +17 -16
- package/es/layout/components/AppsLogoComponents/SimpleContent.js +19 -18
- package/es/layout/components/AppsLogoComponents/index.js +33 -38
- package/es/layout/components/AppsLogoComponents/style/default.js +2 -2
- package/es/layout/components/AppsLogoComponents/style/index.js +52 -50
- package/es/layout/components/AppsLogoComponents/style/simple.js +1 -1
- package/es/layout/components/CollapsedIcon/index.js +18 -15
- package/es/layout/components/CollapsedIcon/style.js +40 -40
- package/es/layout/components/Footer.js +22 -21
- package/es/layout/components/FooterToolbar/index.js +58 -52
- package/es/layout/components/FooterToolbar/style/index.js +38 -37
- package/es/layout/components/FooterToolbar/style/stylish.js +11 -9
- package/es/layout/components/GlobalFooter/index.js +25 -25
- package/es/layout/components/GlobalFooter/style.js +31 -30
- package/es/layout/components/GlobalHeader/ActionsContent.js +62 -78
- package/es/layout/components/GlobalHeader/index.js +59 -47
- package/es/layout/components/GlobalHeader/rightContentStyle.js +49 -49
- package/es/layout/components/GlobalHeader/style.js +58 -54
- package/es/layout/components/GridContent/index.js +24 -19
- package/es/layout/components/GridContent/style.js +14 -13
- package/es/layout/components/Header/index.js +63 -57
- package/es/layout/components/Header/style/header.js +49 -47
- package/es/layout/components/Header/style/stylish.js +15 -11
- package/es/layout/components/Help/AsyncContentPanel.js +13 -18
- package/es/layout/components/Help/HelpProvide.js +1 -1
- package/es/layout/components/Help/ProHelpContentPanel.js +64 -83
- package/es/layout/components/Help/ProHelpDrawer.js +25 -31
- package/es/layout/components/Help/ProHelpModal.d.ts +1 -1
- package/es/layout/components/Help/ProHelpModal.js +24 -27
- package/es/layout/components/Help/ProHelpPanel.js +86 -94
- package/es/layout/components/Help/ProHelpPopover.js +18 -16
- package/es/layout/components/Help/RenderContentPanel.js +34 -24
- package/es/layout/components/Help/Search.js +52 -78
- package/es/layout/components/Help/index.js +9 -11
- package/es/layout/components/Help/style.js +82 -75
- package/es/layout/components/PageContainer/index.js +168 -149
- package/es/layout/components/PageContainer/style/index.js +95 -78
- package/es/layout/components/PageContainer/style/stylish.js +11 -9
- package/es/layout/components/PageHeader/index.js +96 -97
- package/es/layout/components/PageHeader/style/index.js +142 -122
- package/es/layout/components/PageLoading/index.js +17 -20
- package/es/layout/components/SettingDrawer/BlockCheckbox.js +29 -32
- package/es/layout/components/SettingDrawer/LayoutChange.js +22 -22
- package/es/layout/components/SettingDrawer/RegionalChange.js +14 -15
- package/es/layout/components/SettingDrawer/ThemeColor.js +32 -35
- package/es/layout/components/SettingDrawer/index.js +137 -168
- package/es/layout/components/SettingDrawer/style/index.js +141 -137
- package/es/layout/components/SiderMenu/BaseMenu.js +235 -221
- package/es/layout/components/SiderMenu/SiderMenu.js +125 -115
- package/es/layout/components/SiderMenu/index.js +47 -42
- package/es/layout/components/SiderMenu/style/index.js +179 -161
- package/es/layout/components/SiderMenu/style/menu.js +148 -110
- package/es/layout/components/SiderMenu/style/stylish.js +15 -11
- package/es/layout/components/TopNavHeader/index.js +71 -60
- package/es/layout/components/TopNavHeader/style.js +64 -63
- package/es/layout/context/RouteContext.js +1 -1
- package/es/layout/defaultSettings.js +1 -1
- package/es/layout/getPageTitle.js +23 -24
- package/es/layout/locales/en-US.js +3 -2
- package/es/layout/locales/index.js +5 -5
- package/es/layout/locales/it-IT.js +3 -2
- package/es/layout/locales/ko-KR.js +3 -2
- package/es/layout/locales/zh-CN.js +3 -2
- package/es/layout/locales/zh-TW.js +3 -2
- package/es/layout/style/index.js +48 -42
- package/es/layout/utils/getBreadcrumbProps.js +60 -60
- package/es/layout/utils/getMenuData.js +7 -11
- package/es/layout/utils/pathTools.js +2 -6
- package/es/layout/utils/useCurrentMenuLayoutProps.js +4 -9
- package/es/layout/utils/utils.js +15 -17
- package/es/list/Item.js +157 -137
- package/es/list/ListView.js +106 -115
- package/es/list/constants.js +2 -2
- package/es/list/index.js +72 -70
- package/es/list/style/index.js +281 -213
- package/es/provider/index.js +122 -115
- package/es/provider/intl.js +53 -55
- package/es/provider/typing/layoutToken.js +26 -23
- package/es/provider/useStyle/index.js +51 -59
- package/es/provider/utils/merge.js +10 -12
- package/es/skeleton/components/Descriptions/index.js +211 -229
- package/es/skeleton/components/List/index.js +208 -223
- package/es/skeleton/components/Result/index.js +45 -47
- package/es/skeleton/index.js +13 -10
- package/es/table/Store/Provide.d.ts +4 -4
- package/es/table/Store/Provide.js +102 -117
- package/es/table/Table.d.ts +5 -2
- package/es/table/Table.js +526 -691
- package/es/table/TableSearch.d.ts +24 -0
- package/es/table/TableSearch.js +54 -0
- package/es/table/TableToolbar.d.ts +22 -0
- package/es/table/TableToolbar.js +47 -0
- package/es/table/components/Alert/index.js +41 -40
- package/es/table/components/Alert/style.js +28 -27
- package/es/table/components/ColumnSetting/index.js +228 -223
- package/es/table/components/ColumnSetting/style.js +86 -71
- package/es/table/components/DragSortTable/index.js +65 -79
- package/es/table/components/DragSortTable/style.js +20 -19
- package/es/table/components/Dropdown/index.js +42 -47
- package/es/table/components/EditableTable/CellEditorTable.js +24 -32
- package/es/table/components/EditableTable/RowEditorTable.js +23 -28
- package/es/table/components/EditableTable/index.js +295 -329
- package/es/table/components/Form/FormRender.js +99 -103
- package/es/table/components/Form/index.d.ts +4 -19
- package/es/table/components/Form/index.js +112 -159
- package/es/table/components/ListToolBar/HeaderMenu.js +44 -52
- package/es/table/components/ListToolBar/index.js +122 -147
- package/es/table/components/ListToolBar/style.js +127 -117
- package/es/table/components/ToolBar/DensityIcon.js +10 -9
- package/es/table/components/ToolBar/FullscreenIcon.js +5 -9
- package/es/table/components/ToolBar/index.d.ts +2 -8
- package/es/table/components/ToolBar/index.js +155 -195
- package/es/table/style/index.js +144 -112
- package/es/table/typing.d.ts +4 -0
- package/es/table/useFetchData.js +199 -338
- package/es/table/utils/cellRenderToFromItem.js +105 -119
- package/es/table/utils/columnRender.js +63 -54
- package/es/table/utils/columnSort.js +22 -22
- package/es/table/utils/genProColumnToColumn.d.ts +13 -9
- package/es/table/utils/genProColumnToColumn.js +121 -98
- package/es/table/utils/index.d.ts +10 -0
- package/es/table/utils/index.js +112 -178
- package/es/table/utils/useDragSort.d.ts +1 -1
- package/es/table/utils/useDragSort.js +99 -92
- package/es/table/utils/usePageInfo.d.ts +6 -0
- package/es/table/utils/usePageInfo.js +55 -0
- package/es/utils/components/DropdownFooter/index.js +23 -21
- package/es/utils/components/DropdownFooter/style.js +16 -15
- package/es/utils/components/ErrorBoundary/index.js +27 -50
- package/es/utils/components/FieldLabel/index.js +70 -70
- package/es/utils/components/FieldLabel/style.js +104 -81
- package/es/utils/components/FilterDropdown/index.d.ts +11 -0
- package/es/utils/components/FilterDropdown/index.js +43 -32
- package/es/utils/components/FilterDropdown/style.js +19 -16
- package/es/utils/components/InlineErrorFormItem/index.js +78 -78
- package/es/utils/components/InlineErrorFormItem/style.js +56 -49
- package/es/utils/components/LabelIconTip/index.js +30 -31
- package/es/utils/components/LabelIconTip/style.js +36 -35
- package/es/utils/components/ProFormContext/index.js +1 -1
- package/es/utils/conversionMomentValue/index.js +19 -22
- package/es/utils/dateArrayFormatter/index.js +9 -14
- package/es/utils/genCopyable/index.js +74 -32
- package/es/utils/getFieldPropsOrFormItemProps/index.js +1 -1
- package/es/utils/hooks/useDebounceFn/index.js +18 -51
- package/es/utils/hooks/useDebounceValue/index.js +7 -16
- package/es/utils/hooks/useDeepCompareEffect/index.js +6 -18
- package/es/utils/hooks/useDocumentTitle/index.js +2 -2
- package/es/utils/hooks/useFetchData/index.js +36 -65
- package/es/utils/hooks/useForceRender/index.js +2 -9
- package/es/utils/hooks/useLatest/index.js +2 -2
- package/es/utils/hooks/usePrevious/index.js +3 -3
- package/es/utils/hooks/useReactiveRef/index.js +2 -2
- package/es/utils/hooks/useRefCallback/index.js +3 -3
- package/es/utils/hooks/useRefFunction/index.js +4 -9
- package/es/utils/index.d.ts +1 -2
- package/es/utils/index.js +1 -2
- package/es/utils/isBrowser/index.js +2 -2
- package/es/utils/isDeepEqualReact/index.js +9 -44
- package/es/utils/isDropdownValueType/index.js +2 -2
- package/es/utils/isNil/index.js +1 -3
- package/es/utils/isUrl/index.js +2 -2
- package/es/utils/merge/index.js +10 -12
- package/es/utils/nanoid/index.js +5 -6
- package/es/utils/omitBoolean/index.js +1 -1
- package/es/utils/omitUndefined/index.js +3 -3
- package/es/utils/omitUndefinedAndEmptyArr/index.js +4 -5
- package/es/utils/parseValueToMoment/index.js +3 -7
- package/es/utils/pickProFormItemProps/index.js +3 -3
- package/es/utils/pickProProps/index.js +6 -7
- package/es/utils/proFieldParsingText/index.js +85 -98
- package/es/utils/runFunction/index.js +2 -5
- package/es/utils/stringify/index.js +1 -1
- package/es/utils/transformKeySubmitValue/index.js +99 -116
- package/es/utils/useEditableArray/index.d.ts +6 -1
- package/es/utils/useEditableArray/index.js +579 -735
- package/es/utils/useEditableMap/index.d.ts +1 -1
- package/es/utils/useEditableMap/index.js +89 -135
- package/es/utils/useMediaQuery/index.d.ts +2 -2
- package/es/utils/useMediaQuery/index.js +37 -34
- package/es/utils/useMediaQuery/query.js +7 -17
- package/es/version.js +1 -1
- package/guidelines/Guidelines.md +33 -0
- package/guidelines/components/drawer-form.md +90 -0
- package/guidelines/components/editable-pro-table.md +150 -0
- package/guidelines/components/modal-form.md +88 -0
- package/guidelines/components/pro-card.md +90 -0
- package/guidelines/components/pro-form.md +96 -0
- package/guidelines/components/pro-layout.md +84 -0
- package/guidelines/components/pro-table.md +142 -0
- package/guidelines/components/steps-form.md +105 -0
- package/guidelines/design-tokens/colors.md +58 -0
- package/guidelines/design-tokens/layout.md +53 -0
- package/guidelines/design-tokens/typography.md +49 -0
- package/guidelines/overview-components.md +55 -0
- package/guidelines/overview-icons.md +23 -0
- package/lib/card/ProCard.js +8 -10
- package/lib/card/components/Actions/index.js +25 -25
- package/lib/card/components/Actions/style.js +79 -72
- package/lib/card/components/Card/index.js +154 -139
- package/lib/card/components/Card/style.js +249 -193
- package/lib/card/components/CheckCard/Group.js +97 -115
- package/lib/card/components/CheckCard/index.js +85 -78
- package/lib/card/components/CheckCard/style.js +184 -169
- package/lib/card/components/Divider/index.js +20 -16
- package/lib/card/components/Divider/style.js +32 -30
- package/lib/card/components/Loading/index.js +19 -16
- package/lib/card/components/Loading/style.js +34 -32
- package/lib/card/components/Operation/index.js +16 -14
- package/lib/card/components/Operation/style.js +19 -19
- package/lib/card/components/Statistic/index.js +46 -42
- package/lib/card/components/Statistic/style.js +89 -71
- package/lib/card/components/StatisticCard/index.js +46 -41
- package/lib/card/components/StatisticCard/style.js +37 -36
- package/lib/card/index.js +4 -4
- package/lib/descriptions/index.js +219 -225
- package/lib/descriptions/useFetchData.js +51 -90
- package/lib/field/AllProField.js +267 -217
- package/lib/field/FieldHOC/index.js +9 -15
- package/lib/field/PureProField.js +84 -82
- package/lib/field/ValueTypeToComponent.js +517 -618
- package/lib/field/components/Cascader/index.d.ts +2 -2
- package/lib/field/components/Cascader/index.js +66 -85
- package/lib/field/components/Checkbox/index.d.ts +1 -1
- package/lib/field/components/Checkbox/index.js +75 -73
- package/lib/field/components/Code/index.js +40 -39
- package/lib/field/components/ColorPicker/index.js +38 -33
- package/lib/field/components/DatePicker/index.d.ts +1 -1
- package/lib/field/components/DatePicker/index.js +49 -53
- package/lib/field/components/Digit/index.js +41 -43
- package/lib/field/components/DigitRange/index.js +69 -76
- package/lib/field/components/FromNow/index.js +27 -25
- package/lib/field/components/Image/index.js +28 -24
- package/lib/field/components/IndexColumn/index.js +22 -17
- package/lib/field/components/Money/index.js +106 -116
- package/lib/field/components/Options/index.js +34 -34
- package/lib/field/components/Password/index.js +35 -38
- package/lib/field/components/Percent/index.js +40 -45
- package/lib/field/components/Percent/util.js +3 -6
- package/lib/field/components/Progress/index.js +29 -28
- package/lib/field/components/Radio/index.d.ts +1 -1
- package/lib/field/components/Radio/index.js +61 -63
- package/lib/field/components/RangePicker/index.d.ts +1 -1
- package/lib/field/components/RangePicker/index.js +52 -63
- package/lib/field/components/Rate/index.js +24 -21
- package/lib/field/components/Second/index.js +36 -33
- package/lib/field/components/Segmented/index.d.ts +1 -1
- package/lib/field/components/Segmented/index.js +37 -48
- package/lib/field/components/Select/LightSelect/index.d.ts +1 -1
- package/lib/field/components/Select/LightSelect/index.js +103 -110
- package/lib/field/components/Select/SearchSelect/index.js +133 -156
- package/lib/field/components/Select/index.d.ts +1 -1
- package/lib/field/components/Select/index.js +194 -218
- package/lib/field/components/Slider/index.js +25 -22
- package/lib/field/components/Status/index.js +69 -79
- package/lib/field/components/Switch/index.d.ts +1 -1
- package/lib/field/components/Switch/index.js +32 -31
- package/lib/field/components/Text/index.js +34 -38
- package/lib/field/components/TextArea/index.js +26 -21
- package/lib/field/components/TextArea/readonly.js +24 -22
- package/lib/field/components/TimePicker/index.js +96 -105
- package/lib/field/components/TreeSelect/index.d.ts +2 -2
- package/lib/field/components/TreeSelect/index.js +105 -124
- package/lib/field/index.js +34 -34
- package/lib/form/BaseForm/BaseForm.js +413 -499
- package/lib/form/BaseForm/EditOrReadOnlyContext.js +1 -1
- package/lib/form/BaseForm/LightWrapper/index.js +57 -66
- package/lib/form/BaseForm/LightWrapper/style.js +17 -14
- package/lib/form/BaseForm/Submitter/index.js +44 -44
- package/lib/form/BaseForm/index.js +3 -3
- package/lib/form/FieldContext.js +1 -1
- package/lib/form/components/Captcha/index.js +74 -135
- package/lib/form/components/Cascader/index.js +26 -29
- package/lib/form/components/Checkbox/index.js +60 -61
- package/lib/form/components/ColorPicker/index.js +24 -26
- package/lib/form/components/DatePicker/BaseDatePicker.js +32 -30
- package/lib/form/components/DatePicker/DatePicker.js +14 -13
- package/lib/form/components/DatePicker/DateTimePicker.js +11 -12
- package/lib/form/components/DatePicker/MonthPicker.js +14 -13
- package/lib/form/components/DatePicker/QuarterPicker.js +14 -13
- package/lib/form/components/DatePicker/TimePicker.js +26 -27
- package/lib/form/components/DatePicker/WeekPicker.js +14 -13
- package/lib/form/components/DatePicker/YearPicker.js +14 -13
- package/lib/form/components/DatePicker/index.js +1 -1
- package/lib/form/components/DateRangePicker/BaseDateRanger.js +34 -34
- package/lib/form/components/DateRangePicker/DateMonthRangePicker.js +15 -16
- package/lib/form/components/DateRangePicker/DateQuarterRangePicker.js +15 -16
- package/lib/form/components/DateRangePicker/DateTimeRangePicker.js +15 -16
- package/lib/form/components/DateRangePicker/DateWeekRangePicker.js +15 -16
- package/lib/form/components/DateRangePicker/DateYearRangePicker.js +15 -16
- package/lib/form/components/DateRangePicker/TimeRangePicker.js +26 -29
- package/lib/form/components/DateRangePicker/index.js +15 -16
- package/lib/form/components/Dependency/index.js +31 -35
- package/lib/form/components/Digit/DigitRange.js +23 -24
- package/lib/form/components/Digit/index.js +27 -29
- package/lib/form/components/Field/index.js +55 -63
- package/lib/form/components/FieldSet/index.js +68 -76
- package/lib/form/components/FormItem/FormItemRender/index.js +58 -48
- package/lib/form/components/FormItem/Group/index.js +95 -95
- package/lib/form/components/FormItem/Group/style.js +46 -41
- package/lib/form/components/FormItem/index.js +135 -141
- package/lib/form/components/FormItem/warpField.js +165 -149
- package/lib/form/components/List/ListContainer.js +100 -191
- package/lib/form/components/List/ListItem.js +153 -200
- package/lib/form/components/List/index.js +97 -107
- package/lib/form/components/List/style.js +71 -48
- package/lib/form/components/Money/index.js +28 -30
- package/lib/form/components/Radio/index.js +45 -49
- package/lib/form/components/Rate/index.js +17 -21
- package/lib/form/components/SchemaForm/index.js +54 -68
- package/lib/form/components/SchemaForm/layoutType/Embed.js +5 -6
- package/lib/form/components/SchemaForm/layoutType/StepsForm.js +22 -26
- package/lib/form/components/SchemaForm/layoutType/index.js +2 -2
- package/lib/form/components/SchemaForm/valueType/dependency.js +13 -12
- package/lib/form/components/SchemaForm/valueType/divider.js +6 -7
- package/lib/form/components/SchemaForm/valueType/field.js +47 -45
- package/lib/form/components/SchemaForm/valueType/formList.js +10 -9
- package/lib/form/components/SchemaForm/valueType/formSet.js +10 -8
- package/lib/form/components/SchemaForm/valueType/group.js +9 -10
- package/lib/form/components/SchemaForm/valueType/ignore.js +4 -3
- package/lib/form/components/SchemaForm/valueType/index.js +7 -6
- package/lib/form/components/Segmented/index.js +20 -24
- package/lib/form/components/Select/index.js +69 -73
- package/lib/form/components/Slider/index.js +33 -35
- package/lib/form/components/Switch/index.js +24 -26
- package/lib/form/components/Text/index.js +73 -84
- package/lib/form/components/TextArea/index.js +17 -21
- package/lib/form/components/TreeSelect/index.js +20 -23
- package/lib/form/components/UploadButton/index.js +56 -103
- package/lib/form/components/UploadDragger/index.js +37 -44
- package/lib/form/components/index.js +42 -42
- package/lib/form/helpers/grid.js +68 -69
- package/lib/form/helpers/index.js +1 -1
- package/lib/form/index.js +8 -8
- package/lib/form/layouts/DrawerForm/index.js +149 -241
- package/lib/form/layouts/DrawerForm/style.js +26 -26
- package/lib/form/layouts/LightFilter/index.d.ts +12 -1
- package/lib/form/layouts/LightFilter/index.js +158 -141
- package/lib/form/layouts/LightFilter/style.js +52 -49
- package/lib/form/layouts/LoginForm/index.js +44 -48
- package/lib/form/layouts/LoginForm/style.js +71 -68
- package/lib/form/layouts/LoginFormPage/index.js +45 -49
- package/lib/form/layouts/LoginFormPage/style.js +136 -127
- package/lib/form/layouts/ModalForm/index.js +118 -203
- package/lib/form/layouts/ProForm/index.d.ts +1 -1
- package/lib/form/layouts/ProForm/index.js +5 -5
- package/lib/form/layouts/QueryFilter/Actions.js +23 -22
- package/lib/form/layouts/QueryFilter/index.js +177 -202
- package/lib/form/layouts/QueryFilter/style.js +45 -38
- package/lib/form/layouts/StepsForm/StepForm.d.ts +2 -3
- package/lib/form/layouts/StepsForm/StepForm.js +50 -72
- package/lib/form/layouts/StepsForm/index.js +174 -216
- package/lib/form/layouts/StepsForm/style.js +30 -29
- package/lib/form/layouts/index.js +9 -9
- package/lib/index.js +11 -11
- package/lib/layout/ProLayout.js +281 -292
- package/lib/layout/WrapContent.js +18 -14
- package/lib/layout/assert/Logo.js +96 -97
- package/lib/layout/components/AppsLogoComponents/AppsLogo.js +11 -12
- package/lib/layout/components/AppsLogoComponents/DefaultContent.js +19 -17
- package/lib/layout/components/AppsLogoComponents/SimpleContent.js +22 -19
- package/lib/layout/components/AppsLogoComponents/index.js +36 -40
- package/lib/layout/components/AppsLogoComponents/style/default.js +4 -3
- package/lib/layout/components/AppsLogoComponents/style/index.js +52 -51
- package/lib/layout/components/AppsLogoComponents/style/simple.js +3 -2
- package/lib/layout/components/CollapsedIcon/index.js +20 -17
- package/lib/layout/components/CollapsedIcon/style.js +40 -41
- package/lib/layout/components/Footer.js +23 -22
- package/lib/layout/components/FooterToolbar/index.js +59 -53
- package/lib/layout/components/FooterToolbar/style/index.js +38 -38
- package/lib/layout/components/FooterToolbar/style/stylish.js +11 -10
- package/lib/layout/components/GlobalFooter/index.js +27 -27
- package/lib/layout/components/GlobalFooter/style.js +31 -31
- package/lib/layout/components/GlobalHeader/ActionsContent.js +65 -81
- package/lib/layout/components/GlobalHeader/index.js +61 -49
- package/lib/layout/components/GlobalHeader/rightContentStyle.js +49 -50
- package/lib/layout/components/GlobalHeader/style.js +58 -55
- package/lib/layout/components/GridContent/index.js +26 -21
- package/lib/layout/components/GridContent/style.js +14 -14
- package/lib/layout/components/Header/index.js +65 -59
- package/lib/layout/components/Header/style/header.js +49 -48
- package/lib/layout/components/Header/style/stylish.js +15 -12
- package/lib/layout/components/Help/AsyncContentPanel.js +15 -20
- package/lib/layout/components/Help/HelpProvide.js +1 -1
- package/lib/layout/components/Help/ProHelpContentPanel.js +66 -85
- package/lib/layout/components/Help/ProHelpDrawer.js +27 -32
- package/lib/layout/components/Help/ProHelpModal.d.ts +1 -1
- package/lib/layout/components/Help/ProHelpModal.js +26 -28
- package/lib/layout/components/Help/ProHelpPanel.js +86 -94
- package/lib/layout/components/Help/ProHelpPopover.js +20 -18
- package/lib/layout/components/Help/RenderContentPanel.js +36 -26
- package/lib/layout/components/Help/Search.js +55 -80
- package/lib/layout/components/Help/index.js +19 -20
- package/lib/layout/components/Help/style.js +82 -76
- package/lib/layout/components/PageContainer/index.js +172 -151
- package/lib/layout/components/PageContainer/style/index.js +95 -79
- package/lib/layout/components/PageContainer/style/stylish.js +11 -10
- package/lib/layout/components/PageHeader/index.js +99 -99
- package/lib/layout/components/PageHeader/style/index.js +142 -123
- package/lib/layout/components/PageLoading/index.js +18 -20
- package/lib/layout/components/SettingDrawer/BlockCheckbox.js +31 -34
- package/lib/layout/components/SettingDrawer/LayoutChange.js +25 -23
- package/lib/layout/components/SettingDrawer/RegionalChange.js +16 -16
- package/lib/layout/components/SettingDrawer/ThemeColor.js +34 -36
- package/lib/layout/components/SettingDrawer/index.js +138 -168
- package/lib/layout/components/SettingDrawer/style/index.js +141 -138
- package/lib/layout/components/SiderMenu/BaseMenu.js +235 -221
- package/lib/layout/components/SiderMenu/SiderMenu.js +128 -117
- package/lib/layout/components/SiderMenu/index.js +49 -44
- package/lib/layout/components/SiderMenu/style/index.js +179 -162
- package/lib/layout/components/SiderMenu/style/menu.js +148 -111
- package/lib/layout/components/SiderMenu/style/stylish.js +15 -12
- package/lib/layout/components/TopNavHeader/index.js +73 -62
- package/lib/layout/components/TopNavHeader/style.js +64 -64
- package/lib/layout/context/RouteContext.js +1 -1
- package/lib/layout/defaultSettings.js +1 -1
- package/lib/layout/getPageTitle.js +27 -26
- package/lib/layout/index.js +16 -16
- package/lib/layout/locales/en-US.js +3 -2
- package/lib/layout/locales/index.js +8 -6
- package/lib/layout/locales/it-IT.js +3 -2
- package/lib/layout/locales/ko-KR.js +3 -2
- package/lib/layout/locales/zh-CN.js +3 -2
- package/lib/layout/locales/zh-TW.js +3 -2
- package/lib/layout/style/index.js +48 -43
- package/lib/layout/utils/getBreadcrumbProps.js +65 -62
- package/lib/layout/utils/getMenuData.js +9 -13
- package/lib/layout/utils/pathTools.js +2 -6
- package/lib/layout/utils/useCurrentMenuLayoutProps.js +6 -11
- package/lib/layout/utils/utils.js +16 -18
- package/lib/list/Item.js +155 -136
- package/lib/list/ListView.js +110 -119
- package/lib/list/constants.js +2 -2
- package/lib/list/index.js +72 -70
- package/lib/list/style/index.js +281 -214
- package/lib/provider/index.js +128 -118
- package/lib/provider/intl.js +56 -56
- package/lib/provider/typing/layoutToken.js +28 -25
- package/lib/provider/useStyle/index.js +55 -60
- package/lib/provider/utils/merge.js +12 -14
- package/lib/skeleton/components/Descriptions/index.js +213 -229
- package/lib/skeleton/components/List/index.js +211 -221
- package/lib/skeleton/components/Result/index.js +45 -47
- package/lib/skeleton/index.js +23 -19
- package/lib/table/Store/Provide.d.ts +4 -4
- package/lib/table/Store/Provide.js +103 -117
- package/lib/table/Table.d.ts +5 -2
- package/lib/table/Table.js +524 -689
- package/lib/table/TableSearch.d.ts +24 -0
- package/lib/table/TableSearch.js +61 -0
- package/lib/table/TableToolbar.d.ts +22 -0
- package/lib/table/TableToolbar.js +55 -0
- package/lib/table/components/Alert/index.js +41 -40
- package/lib/table/components/Alert/style.js +28 -28
- package/lib/table/components/ColumnSetting/index.js +228 -224
- package/lib/table/components/ColumnSetting/style.js +86 -72
- package/lib/table/components/DragSortTable/index.js +64 -78
- package/lib/table/components/DragSortTable/style.js +20 -20
- package/lib/table/components/Dropdown/index.js +42 -48
- package/lib/table/components/EditableTable/CellEditorTable.js +24 -32
- package/lib/table/components/EditableTable/RowEditorTable.js +23 -28
- package/lib/table/components/EditableTable/index.js +293 -327
- package/lib/table/components/Form/FormRender.js +99 -104
- package/lib/table/components/Form/index.d.ts +4 -19
- package/lib/table/components/Form/index.js +113 -159
- package/lib/table/components/ListToolBar/HeaderMenu.js +42 -51
- package/lib/table/components/ListToolBar/index.js +123 -148
- package/lib/table/components/ListToolBar/style.js +127 -118
- package/lib/table/components/ToolBar/DensityIcon.js +10 -9
- package/lib/table/components/ToolBar/FullscreenIcon.js +5 -10
- package/lib/table/components/ToolBar/index.d.ts +2 -8
- package/lib/table/components/ToolBar/index.js +154 -194
- package/lib/table/index.js +27 -27
- package/lib/table/style/index.js +144 -113
- package/lib/table/typing.d.ts +4 -0
- package/lib/table/useFetchData.js +197 -337
- package/lib/table/utils/cellRenderToFromItem.js +106 -120
- package/lib/table/utils/columnRender.js +65 -54
- package/lib/table/utils/columnSort.js +24 -23
- package/lib/table/utils/genProColumnToColumn.d.ts +13 -9
- package/lib/table/utils/genProColumnToColumn.js +121 -99
- package/lib/table/utils/index.d.ts +10 -0
- package/lib/table/utils/index.js +127 -181
- package/lib/table/utils/useDragSort.d.ts +1 -1
- package/lib/table/utils/useDragSort.js +99 -93
- package/lib/table/utils/usePageInfo.d.ts +6 -0
- package/lib/table/utils/usePageInfo.js +61 -0
- package/lib/utils/components/DropdownFooter/index.js +25 -23
- package/lib/utils/components/DropdownFooter/style.js +16 -16
- package/lib/utils/components/ErrorBoundary/index.js +28 -50
- package/lib/utils/components/FieldLabel/index.js +70 -71
- package/lib/utils/components/FieldLabel/style.js +104 -82
- package/lib/utils/components/FilterDropdown/index.d.ts +11 -0
- package/lib/utils/components/FilterDropdown/index.js +44 -33
- package/lib/utils/components/FilterDropdown/style.js +19 -17
- package/lib/utils/components/InlineErrorFormItem/index.js +80 -80
- package/lib/utils/components/InlineErrorFormItem/style.js +56 -50
- package/lib/utils/components/LabelIconTip/index.js +30 -32
- package/lib/utils/components/LabelIconTip/style.js +36 -36
- package/lib/utils/components/ProFormContext/index.js +1 -1
- package/lib/utils/conversionMomentValue/index.js +22 -23
- package/lib/utils/dateArrayFormatter/index.js +11 -15
- package/lib/utils/genCopyable/index.js +75 -33
- package/lib/utils/getFieldPropsOrFormItemProps/index.js +3 -2
- package/lib/utils/hooks/useDebounceFn/index.js +18 -52
- package/lib/utils/hooks/useDebounceValue/index.js +7 -17
- package/lib/utils/hooks/useDeepCompareEffect/index.js +7 -19
- package/lib/utils/hooks/useDocumentTitle/index.js +2 -2
- package/lib/utils/hooks/useFetchData/index.js +36 -65
- package/lib/utils/hooks/useForceRender/index.js +2 -10
- package/lib/utils/hooks/useLatest/index.js +4 -3
- package/lib/utils/hooks/usePrevious/index.js +5 -4
- package/lib/utils/hooks/useReactiveRef/index.js +2 -2
- package/lib/utils/hooks/useRefCallback/index.js +3 -3
- package/lib/utils/hooks/useRefFunction/index.js +6 -11
- package/lib/utils/index.d.ts +1 -2
- package/lib/utils/index.js +57 -65
- package/lib/utils/isBrowser/index.js +4 -3
- package/lib/utils/isDeepEqualReact/index.js +9 -45
- package/lib/utils/isDropdownValueType/index.js +4 -3
- package/lib/utils/isNil/index.js +2 -3
- package/lib/utils/isUrl/index.js +4 -3
- package/lib/utils/merge/index.js +12 -14
- package/lib/utils/nanoid/index.js +7 -7
- package/lib/utils/omitBoolean/index.js +3 -2
- package/lib/utils/omitUndefined/index.js +5 -4
- package/lib/utils/omitUndefinedAndEmptyArr/index.js +6 -6
- package/lib/utils/parseValueToMoment/index.js +5 -8
- package/lib/utils/pickProFormItemProps/index.js +3 -3
- package/lib/utils/pickProProps/index.js +6 -7
- package/lib/utils/proFieldParsingText/index.js +89 -99
- package/lib/utils/runFunction/index.js +2 -5
- package/lib/utils/stringify/index.js +2 -2
- package/lib/utils/transformKeySubmitValue/index.js +101 -117
- package/lib/utils/useEditableArray/index.d.ts +6 -1
- package/lib/utils/useEditableArray/index.js +582 -735
- package/lib/utils/useEditableMap/index.d.ts +1 -1
- package/lib/utils/useEditableMap/index.js +88 -135
- package/lib/utils/useMediaQuery/index.js +40 -35
- package/lib/utils/useMediaQuery/query.js +7 -18
- package/lib/version.js +1 -1
- package/package.json +20 -31
- package/es/utils/useMountMergeState/index.d.ts +0 -2
- package/es/utils/useMountMergeState/index.js +0 -2
- package/lib/utils/useMountMergeState/index.d.ts +0 -2
- package/lib/utils/useMountMergeState/index.js +0 -12
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
9
|
var _antd = require("antd");
|
|
11
10
|
var _dayjs = _interopRequireDefault(require("dayjs"));
|
|
12
11
|
var _advancedFormat = _interopRequireDefault(require("dayjs/plugin/advancedFormat"));
|
|
@@ -49,11 +48,11 @@ _dayjs.default.extend(_advancedFormat.default);
|
|
|
49
48
|
_dayjs.default.extend(_isoWeek.default);
|
|
50
49
|
_dayjs.default.extend(_weekOfYear.default);
|
|
51
50
|
_dayjs.default.extend(_weekday.default);
|
|
52
|
-
|
|
51
|
+
const ValueTypeToComponentMap = {
|
|
53
52
|
progress: {
|
|
54
|
-
render:
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
render: (text, props) => {
|
|
54
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
55
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
57
56
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Progress.default, {
|
|
58
57
|
mode: props.mode,
|
|
59
58
|
text: text,
|
|
@@ -61,9 +60,9 @@ var ValueTypeToComponentMap = {
|
|
|
61
60
|
fieldProps: fieldProps
|
|
62
61
|
});
|
|
63
62
|
},
|
|
64
|
-
formItemRender:
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
formItemRender: (text, props) => {
|
|
64
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
65
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
67
66
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Progress.default, {
|
|
68
67
|
mode: props.mode,
|
|
69
68
|
text: text,
|
|
@@ -73,9 +72,9 @@ var ValueTypeToComponentMap = {
|
|
|
73
72
|
}
|
|
74
73
|
},
|
|
75
74
|
money: {
|
|
76
|
-
render:
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
render: (text, props) => {
|
|
76
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
77
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
79
78
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Money.default, {
|
|
80
79
|
mode: props.mode,
|
|
81
80
|
text: text,
|
|
@@ -83,9 +82,9 @@ var ValueTypeToComponentMap = {
|
|
|
83
82
|
fieldProps: fieldProps
|
|
84
83
|
});
|
|
85
84
|
},
|
|
86
|
-
formItemRender:
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
formItemRender: (text, props) => {
|
|
86
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
87
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
89
88
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Money.default, {
|
|
90
89
|
mode: props.mode,
|
|
91
90
|
text: text,
|
|
@@ -95,9 +94,9 @@ var ValueTypeToComponentMap = {
|
|
|
95
94
|
}
|
|
96
95
|
},
|
|
97
96
|
percent: {
|
|
98
|
-
render:
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
render: (text, props) => {
|
|
98
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
99
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
101
100
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Percent.default, {
|
|
102
101
|
mode: props.mode,
|
|
103
102
|
text: text,
|
|
@@ -105,9 +104,9 @@ var ValueTypeToComponentMap = {
|
|
|
105
104
|
fieldProps: fieldProps
|
|
106
105
|
});
|
|
107
106
|
},
|
|
108
|
-
formItemRender:
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
formItemRender: (text, props) => {
|
|
108
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
109
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
111
110
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Percent.default, {
|
|
112
111
|
mode: props.mode,
|
|
113
112
|
text: text,
|
|
@@ -117,462 +116,390 @@ var ValueTypeToComponentMap = {
|
|
|
117
116
|
}
|
|
118
117
|
},
|
|
119
118
|
image: {
|
|
120
|
-
render:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}));
|
|
129
|
-
}
|
|
119
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Image.default, {
|
|
120
|
+
...props,
|
|
121
|
+
text: text
|
|
122
|
+
}),
|
|
123
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Image.default, {
|
|
124
|
+
...props,
|
|
125
|
+
text: text
|
|
126
|
+
})
|
|
130
127
|
},
|
|
131
128
|
date: {
|
|
132
|
-
render:
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
text: text
|
|
149
|
-
}))
|
|
150
|
-
});
|
|
151
|
-
}
|
|
129
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
130
|
+
isLight: props.light,
|
|
131
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
132
|
+
format: "YYYY-MM-DD",
|
|
133
|
+
...props,
|
|
134
|
+
text: text
|
|
135
|
+
})
|
|
136
|
+
}),
|
|
137
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
138
|
+
isLight: props.light,
|
|
139
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
140
|
+
format: "YYYY-MM-DD",
|
|
141
|
+
...props,
|
|
142
|
+
text: text
|
|
143
|
+
})
|
|
144
|
+
})
|
|
152
145
|
},
|
|
153
146
|
dateWeek: {
|
|
154
|
-
render:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
text: text
|
|
173
|
-
}))
|
|
174
|
-
});
|
|
175
|
-
}
|
|
147
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
148
|
+
isLight: props.light,
|
|
149
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
150
|
+
format: "YYYY-wo",
|
|
151
|
+
picker: "week",
|
|
152
|
+
...props,
|
|
153
|
+
text: text
|
|
154
|
+
})
|
|
155
|
+
}),
|
|
156
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
157
|
+
isLight: props.light,
|
|
158
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
159
|
+
format: "YYYY-wo",
|
|
160
|
+
picker: "week",
|
|
161
|
+
...props,
|
|
162
|
+
text: text
|
|
163
|
+
})
|
|
164
|
+
})
|
|
176
165
|
},
|
|
177
166
|
dateWeekRange: {
|
|
178
|
-
render:
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
fieldProps
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
});
|
|
205
|
-
}
|
|
167
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
168
|
+
isLight: props.light,
|
|
169
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
170
|
+
format: "YYYY-W",
|
|
171
|
+
showTime: true,
|
|
172
|
+
fieldProps: {
|
|
173
|
+
picker: 'week',
|
|
174
|
+
...props.fieldProps
|
|
175
|
+
},
|
|
176
|
+
...props,
|
|
177
|
+
text: text
|
|
178
|
+
})
|
|
179
|
+
}),
|
|
180
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
181
|
+
isLight: props.light,
|
|
182
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
183
|
+
format: "YYYY-W",
|
|
184
|
+
showTime: true,
|
|
185
|
+
fieldProps: {
|
|
186
|
+
picker: 'week',
|
|
187
|
+
...props.fieldProps
|
|
188
|
+
},
|
|
189
|
+
...props,
|
|
190
|
+
text: text
|
|
191
|
+
})
|
|
192
|
+
})
|
|
206
193
|
},
|
|
207
194
|
dateMonthRange: {
|
|
208
|
-
render:
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
fieldProps
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
});
|
|
235
|
-
}
|
|
195
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
196
|
+
isLight: props.light,
|
|
197
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
198
|
+
format: "YYYY-MM",
|
|
199
|
+
showTime: true,
|
|
200
|
+
fieldProps: {
|
|
201
|
+
picker: 'month',
|
|
202
|
+
...props.fieldProps
|
|
203
|
+
},
|
|
204
|
+
...props,
|
|
205
|
+
text: text
|
|
206
|
+
})
|
|
207
|
+
}),
|
|
208
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
209
|
+
isLight: props.light,
|
|
210
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
211
|
+
format: "YYYY-MM",
|
|
212
|
+
showTime: true,
|
|
213
|
+
fieldProps: {
|
|
214
|
+
picker: 'month',
|
|
215
|
+
...props.fieldProps
|
|
216
|
+
},
|
|
217
|
+
...props,
|
|
218
|
+
text: text
|
|
219
|
+
})
|
|
220
|
+
})
|
|
236
221
|
},
|
|
237
222
|
dateQuarterRange: {
|
|
238
|
-
render:
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
fieldProps
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
});
|
|
265
|
-
}
|
|
223
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
224
|
+
isLight: props.light,
|
|
225
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
226
|
+
format: "YYYY-Q",
|
|
227
|
+
showTime: true,
|
|
228
|
+
fieldProps: {
|
|
229
|
+
picker: 'quarter',
|
|
230
|
+
...props.fieldProps
|
|
231
|
+
},
|
|
232
|
+
...props,
|
|
233
|
+
text: text
|
|
234
|
+
})
|
|
235
|
+
}),
|
|
236
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
237
|
+
isLight: props.light,
|
|
238
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
239
|
+
format: "YYYY-Q",
|
|
240
|
+
showTime: true,
|
|
241
|
+
fieldProps: {
|
|
242
|
+
picker: 'quarter',
|
|
243
|
+
...props.fieldProps
|
|
244
|
+
},
|
|
245
|
+
...props,
|
|
246
|
+
text: text
|
|
247
|
+
})
|
|
248
|
+
})
|
|
266
249
|
},
|
|
267
250
|
dateYearRange: {
|
|
268
|
-
render:
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
fieldProps
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
});
|
|
295
|
-
}
|
|
251
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
252
|
+
isLight: props.light,
|
|
253
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
254
|
+
format: "YYYY",
|
|
255
|
+
showTime: true,
|
|
256
|
+
fieldProps: {
|
|
257
|
+
picker: 'year',
|
|
258
|
+
...props.fieldProps
|
|
259
|
+
},
|
|
260
|
+
...props,
|
|
261
|
+
text: text
|
|
262
|
+
})
|
|
263
|
+
}),
|
|
264
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
265
|
+
isLight: props.light,
|
|
266
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
267
|
+
format: "YYYY",
|
|
268
|
+
showTime: true,
|
|
269
|
+
fieldProps: {
|
|
270
|
+
picker: 'year',
|
|
271
|
+
...props.fieldProps
|
|
272
|
+
},
|
|
273
|
+
...props,
|
|
274
|
+
text: text
|
|
275
|
+
})
|
|
276
|
+
})
|
|
296
277
|
},
|
|
297
278
|
dateMonth: {
|
|
298
|
-
render:
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
text: text
|
|
317
|
-
}))
|
|
318
|
-
});
|
|
319
|
-
}
|
|
279
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
280
|
+
isLight: props.light,
|
|
281
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
282
|
+
format: "YYYY-MM",
|
|
283
|
+
picker: "month",
|
|
284
|
+
...props,
|
|
285
|
+
text: text
|
|
286
|
+
})
|
|
287
|
+
}),
|
|
288
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
289
|
+
isLight: props.light,
|
|
290
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
291
|
+
format: "YYYY-MM",
|
|
292
|
+
picker: "month",
|
|
293
|
+
...props,
|
|
294
|
+
text: text
|
|
295
|
+
})
|
|
296
|
+
})
|
|
320
297
|
},
|
|
321
298
|
dateQuarter: {
|
|
322
|
-
render:
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
text: text
|
|
341
|
-
}))
|
|
342
|
-
});
|
|
343
|
-
}
|
|
299
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
300
|
+
isLight: props.light,
|
|
301
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
302
|
+
format: "YYYY-[Q]Q",
|
|
303
|
+
picker: "quarter",
|
|
304
|
+
...props,
|
|
305
|
+
text: text
|
|
306
|
+
})
|
|
307
|
+
}),
|
|
308
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
309
|
+
isLight: props.light,
|
|
310
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
311
|
+
format: "YYYY-[Q]Q",
|
|
312
|
+
picker: "quarter",
|
|
313
|
+
...props,
|
|
314
|
+
text: text
|
|
315
|
+
})
|
|
316
|
+
})
|
|
344
317
|
},
|
|
345
318
|
dateYear: {
|
|
346
|
-
render:
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
text: text
|
|
365
|
-
}))
|
|
366
|
-
});
|
|
367
|
-
}
|
|
319
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
320
|
+
isLight: props.light,
|
|
321
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
322
|
+
format: "YYYY",
|
|
323
|
+
picker: "year",
|
|
324
|
+
...props,
|
|
325
|
+
text: text
|
|
326
|
+
})
|
|
327
|
+
}),
|
|
328
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
329
|
+
isLight: props.light,
|
|
330
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
331
|
+
format: "YYYY",
|
|
332
|
+
picker: "year",
|
|
333
|
+
...props,
|
|
334
|
+
text: text
|
|
335
|
+
})
|
|
336
|
+
})
|
|
368
337
|
},
|
|
369
338
|
dateRange: {
|
|
370
|
-
render:
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
}, props), {}, {
|
|
381
|
-
text: text
|
|
382
|
-
}));
|
|
383
|
-
}
|
|
339
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
340
|
+
format: "YYYY-MM-DD",
|
|
341
|
+
...props,
|
|
342
|
+
text: text
|
|
343
|
+
}),
|
|
344
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
345
|
+
format: "YYYY-MM-DD",
|
|
346
|
+
...props,
|
|
347
|
+
text: text
|
|
348
|
+
})
|
|
384
349
|
},
|
|
385
350
|
dateTime: {
|
|
386
|
-
render:
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
text: text
|
|
405
|
-
}))
|
|
406
|
-
});
|
|
407
|
-
}
|
|
351
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
352
|
+
isLight: props.light,
|
|
353
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
354
|
+
format: "YYYY-MM-DD HH:mm:ss",
|
|
355
|
+
showTime: true,
|
|
356
|
+
...props,
|
|
357
|
+
text: text
|
|
358
|
+
})
|
|
359
|
+
}),
|
|
360
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
361
|
+
isLight: props.light,
|
|
362
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
|
|
363
|
+
format: "YYYY-MM-DD HH:mm:ss",
|
|
364
|
+
showTime: true,
|
|
365
|
+
...props,
|
|
366
|
+
text: text
|
|
367
|
+
})
|
|
368
|
+
})
|
|
408
369
|
},
|
|
409
370
|
dateTimeRange: {
|
|
410
|
-
render:
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
text: text
|
|
429
|
-
}))
|
|
430
|
-
});
|
|
431
|
-
}
|
|
371
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
372
|
+
isLight: props.light,
|
|
373
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
374
|
+
format: "YYYY-MM-DD HH:mm:ss",
|
|
375
|
+
showTime: true,
|
|
376
|
+
...props,
|
|
377
|
+
text: text
|
|
378
|
+
})
|
|
379
|
+
}),
|
|
380
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
381
|
+
isLight: props.light,
|
|
382
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangePicker.default, {
|
|
383
|
+
format: "YYYY-MM-DD HH:mm:ss",
|
|
384
|
+
showTime: true,
|
|
385
|
+
...props,
|
|
386
|
+
text: text
|
|
387
|
+
})
|
|
388
|
+
})
|
|
432
389
|
},
|
|
433
390
|
time: {
|
|
434
|
-
render:
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
text: text
|
|
451
|
-
}))
|
|
452
|
-
});
|
|
453
|
-
}
|
|
391
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
392
|
+
isLight: props.light,
|
|
393
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TimePicker.default, {
|
|
394
|
+
format: "HH:mm:ss",
|
|
395
|
+
...props,
|
|
396
|
+
text: text
|
|
397
|
+
})
|
|
398
|
+
}),
|
|
399
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
400
|
+
isLight: props.light,
|
|
401
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TimePicker.default, {
|
|
402
|
+
format: "HH:mm:ss",
|
|
403
|
+
...props,
|
|
404
|
+
text: text
|
|
405
|
+
})
|
|
406
|
+
})
|
|
454
407
|
},
|
|
455
408
|
timeRange: {
|
|
456
|
-
render:
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
text: text
|
|
473
|
-
}))
|
|
474
|
-
});
|
|
475
|
-
}
|
|
409
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
410
|
+
isLight: props.light,
|
|
411
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TimePicker.FieldTimeRangePicker, {
|
|
412
|
+
format: "HH:mm:ss",
|
|
413
|
+
...props,
|
|
414
|
+
text: text
|
|
415
|
+
})
|
|
416
|
+
}),
|
|
417
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
418
|
+
isLight: props.light,
|
|
419
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TimePicker.FieldTimeRangePicker, {
|
|
420
|
+
format: "HH:mm:ss",
|
|
421
|
+
...props,
|
|
422
|
+
text: text
|
|
423
|
+
})
|
|
424
|
+
})
|
|
476
425
|
},
|
|
477
426
|
fromNow: {
|
|
478
|
-
render:
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
}));
|
|
487
|
-
}
|
|
427
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FromNow.default, {
|
|
428
|
+
...props,
|
|
429
|
+
text: text
|
|
430
|
+
}),
|
|
431
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FromNow.default, {
|
|
432
|
+
...props,
|
|
433
|
+
text: text
|
|
434
|
+
})
|
|
488
435
|
},
|
|
489
436
|
index: {
|
|
490
|
-
render:
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IndexColumn.default, {
|
|
497
|
-
children: text + 1
|
|
498
|
-
});
|
|
499
|
-
}
|
|
437
|
+
render: text => /*#__PURE__*/(0, _jsxRuntime.jsx)(_IndexColumn.default, {
|
|
438
|
+
children: text + 1
|
|
439
|
+
}),
|
|
440
|
+
formItemRender: text => /*#__PURE__*/(0, _jsxRuntime.jsx)(_IndexColumn.default, {
|
|
441
|
+
children: text + 1
|
|
442
|
+
})
|
|
500
443
|
},
|
|
501
444
|
indexBorder: {
|
|
502
|
-
render:
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
border: true,
|
|
511
|
-
children: text + 1
|
|
512
|
-
});
|
|
513
|
-
}
|
|
445
|
+
render: text => /*#__PURE__*/(0, _jsxRuntime.jsx)(_IndexColumn.default, {
|
|
446
|
+
border: true,
|
|
447
|
+
children: text + 1
|
|
448
|
+
}),
|
|
449
|
+
formItemRender: text => /*#__PURE__*/(0, _jsxRuntime.jsx)(_IndexColumn.default, {
|
|
450
|
+
border: true,
|
|
451
|
+
children: text + 1
|
|
452
|
+
})
|
|
514
453
|
},
|
|
515
454
|
avatar: {
|
|
516
|
-
render:
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
size: 22,
|
|
527
|
-
shape: "circle"
|
|
528
|
-
});
|
|
529
|
-
}
|
|
455
|
+
render: text => /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Avatar, {
|
|
456
|
+
src: text,
|
|
457
|
+
size: 22,
|
|
458
|
+
shape: "circle"
|
|
459
|
+
}),
|
|
460
|
+
formItemRender: text => /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Avatar, {
|
|
461
|
+
src: text,
|
|
462
|
+
size: 22,
|
|
463
|
+
shape: "circle"
|
|
464
|
+
})
|
|
530
465
|
},
|
|
531
466
|
code: {
|
|
532
|
-
render:
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}));
|
|
541
|
-
}
|
|
467
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Code.default, {
|
|
468
|
+
...props,
|
|
469
|
+
text: text
|
|
470
|
+
}),
|
|
471
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Code.default, {
|
|
472
|
+
...props,
|
|
473
|
+
text: text
|
|
474
|
+
})
|
|
542
475
|
},
|
|
543
476
|
jsonCode: {
|
|
544
|
-
render:
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
}, props), {}, {
|
|
555
|
-
text: text
|
|
556
|
-
}));
|
|
557
|
-
}
|
|
477
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Code.default, {
|
|
478
|
+
language: "json",
|
|
479
|
+
...props,
|
|
480
|
+
text: text
|
|
481
|
+
}),
|
|
482
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Code.default, {
|
|
483
|
+
language: "json",
|
|
484
|
+
...props,
|
|
485
|
+
text: text
|
|
486
|
+
})
|
|
558
487
|
},
|
|
559
488
|
textarea: {
|
|
560
|
-
render:
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}));
|
|
569
|
-
}
|
|
489
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextArea.default, {
|
|
490
|
+
...props,
|
|
491
|
+
text: text
|
|
492
|
+
}),
|
|
493
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextArea.default, {
|
|
494
|
+
...props,
|
|
495
|
+
text: text
|
|
496
|
+
})
|
|
570
497
|
},
|
|
571
498
|
digit: {
|
|
572
|
-
render:
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
499
|
+
render: (text, props) => {
|
|
500
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
501
|
+
const placeholder = Array.isArray(props.placeholder) ? props.placeholder[0] : typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
502
|
+
const textValue = typeof text === 'number' ? text : Number(text) || 0;
|
|
576
503
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Digit.default, {
|
|
577
504
|
text: textValue,
|
|
578
505
|
placeholder: placeholder,
|
|
@@ -580,10 +507,10 @@ var ValueTypeToComponentMap = {
|
|
|
580
507
|
fieldProps: fieldProps
|
|
581
508
|
});
|
|
582
509
|
},
|
|
583
|
-
formItemRender:
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
510
|
+
formItemRender: (text, props) => {
|
|
511
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
512
|
+
const placeholder = Array.isArray(props.placeholder) ? props.placeholder[0] : typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
513
|
+
const textValue = typeof text === 'number' ? text : Number(text) || 0;
|
|
587
514
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Digit.default, {
|
|
588
515
|
text: textValue,
|
|
589
516
|
placeholder: placeholder,
|
|
@@ -593,228 +520,200 @@ var ValueTypeToComponentMap = {
|
|
|
593
520
|
}
|
|
594
521
|
},
|
|
595
522
|
digitRange: {
|
|
596
|
-
render:
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
}));
|
|
605
|
-
}
|
|
523
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_DigitRange.default, {
|
|
524
|
+
...props,
|
|
525
|
+
text: text
|
|
526
|
+
}),
|
|
527
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_DigitRange.default, {
|
|
528
|
+
...props,
|
|
529
|
+
text: text
|
|
530
|
+
})
|
|
606
531
|
},
|
|
607
532
|
second: {
|
|
608
|
-
render:
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}));
|
|
619
|
-
}
|
|
533
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Second.default, {
|
|
534
|
+
...props,
|
|
535
|
+
text: text,
|
|
536
|
+
placeholder: props.placeholder
|
|
537
|
+
}),
|
|
538
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Second.default, {
|
|
539
|
+
...props,
|
|
540
|
+
text: text,
|
|
541
|
+
placeholder: props.placeholder
|
|
542
|
+
})
|
|
620
543
|
},
|
|
621
544
|
select: {
|
|
622
|
-
render:
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
text: text
|
|
627
|
-
}))
|
|
628
|
-
});
|
|
629
|
-
},
|
|
630
|
-
formItemRender: function formItemRender(text, props) {
|
|
631
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
632
|
-
isLight: props.light,
|
|
633
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Select.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
634
|
-
text: text
|
|
635
|
-
}))
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
text: {
|
|
640
|
-
render: function render(text, props) {
|
|
641
|
-
return 'valueEnum' in props ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
642
|
-
isLight: props.light,
|
|
643
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Select.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
644
|
-
text: text
|
|
645
|
-
}))
|
|
646
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FieldText, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
545
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
546
|
+
isLight: props.light,
|
|
547
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Select.default, {
|
|
548
|
+
...props,
|
|
647
549
|
text: text
|
|
648
|
-
})
|
|
649
|
-
},
|
|
650
|
-
formItemRender:
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
text: text
|
|
655
|
-
}))
|
|
656
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FieldText, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
550
|
+
})
|
|
551
|
+
}),
|
|
552
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
553
|
+
isLight: props.light,
|
|
554
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Select.default, {
|
|
555
|
+
...props,
|
|
657
556
|
text: text
|
|
658
|
-
})
|
|
659
|
-
}
|
|
557
|
+
})
|
|
558
|
+
})
|
|
559
|
+
},
|
|
560
|
+
text: {
|
|
561
|
+
render: (text, props) => 'valueEnum' in props ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
562
|
+
isLight: props.light,
|
|
563
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Select.default, {
|
|
564
|
+
...props,
|
|
565
|
+
text: text
|
|
566
|
+
})
|
|
567
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FieldText, {
|
|
568
|
+
...props,
|
|
569
|
+
text: text
|
|
570
|
+
}),
|
|
571
|
+
formItemRender: (text, props) => 'valueEnum' in props ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_FieldHOC.default, {
|
|
572
|
+
isLight: props.light,
|
|
573
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Select.default, {
|
|
574
|
+
...props,
|
|
575
|
+
text: text
|
|
576
|
+
})
|
|
577
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_.FieldText, {
|
|
578
|
+
...props,
|
|
579
|
+
text: text
|
|
580
|
+
})
|
|
660
581
|
},
|
|
661
582
|
checkbox: {
|
|
662
|
-
render:
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
}));
|
|
671
|
-
}
|
|
583
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
|
|
584
|
+
...props,
|
|
585
|
+
text: text
|
|
586
|
+
}),
|
|
587
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
|
|
588
|
+
...props,
|
|
589
|
+
text: text
|
|
590
|
+
})
|
|
672
591
|
},
|
|
673
592
|
radio: {
|
|
674
|
-
render:
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
}));
|
|
683
|
-
}
|
|
593
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Radio.default, {
|
|
594
|
+
...props,
|
|
595
|
+
text: text
|
|
596
|
+
}),
|
|
597
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Radio.default, {
|
|
598
|
+
...props,
|
|
599
|
+
text: text
|
|
600
|
+
})
|
|
684
601
|
},
|
|
685
602
|
radioButton: {
|
|
686
|
-
render:
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
}, props), {}, {
|
|
697
|
-
text: text
|
|
698
|
-
}));
|
|
699
|
-
}
|
|
603
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Radio.default, {
|
|
604
|
+
radioType: "button",
|
|
605
|
+
...props,
|
|
606
|
+
text: text
|
|
607
|
+
}),
|
|
608
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Radio.default, {
|
|
609
|
+
radioType: "button",
|
|
610
|
+
...props,
|
|
611
|
+
text: text
|
|
612
|
+
})
|
|
700
613
|
},
|
|
701
614
|
rate: {
|
|
702
|
-
render:
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
}));
|
|
711
|
-
}
|
|
615
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Rate.default, {
|
|
616
|
+
...props,
|
|
617
|
+
text: text
|
|
618
|
+
}),
|
|
619
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Rate.default, {
|
|
620
|
+
...props,
|
|
621
|
+
text: text
|
|
622
|
+
})
|
|
712
623
|
},
|
|
713
624
|
slider: {
|
|
714
|
-
render:
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
}));
|
|
723
|
-
}
|
|
625
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Slider.default, {
|
|
626
|
+
...props,
|
|
627
|
+
text: text
|
|
628
|
+
}),
|
|
629
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Slider.default, {
|
|
630
|
+
...props,
|
|
631
|
+
text: text
|
|
632
|
+
})
|
|
724
633
|
},
|
|
725
634
|
switch: {
|
|
726
|
-
render:
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
}));
|
|
735
|
-
}
|
|
635
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Switch.default, {
|
|
636
|
+
...props,
|
|
637
|
+
text: text
|
|
638
|
+
}),
|
|
639
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Switch.default, {
|
|
640
|
+
...props,
|
|
641
|
+
text: text
|
|
642
|
+
})
|
|
736
643
|
},
|
|
737
644
|
option: {
|
|
738
|
-
render:
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
}));
|
|
747
|
-
}
|
|
645
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Options.default, {
|
|
646
|
+
...props,
|
|
647
|
+
text: text
|
|
648
|
+
}),
|
|
649
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Options.default, {
|
|
650
|
+
...props,
|
|
651
|
+
text: text
|
|
652
|
+
})
|
|
748
653
|
},
|
|
749
654
|
password: {
|
|
750
|
-
render:
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
}));
|
|
759
|
-
}
|
|
655
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Password.default, {
|
|
656
|
+
...props,
|
|
657
|
+
text: text
|
|
658
|
+
}),
|
|
659
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Password.default, {
|
|
660
|
+
...props,
|
|
661
|
+
text: text
|
|
662
|
+
})
|
|
760
663
|
},
|
|
761
664
|
cascader: {
|
|
762
|
-
render:
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cascader.default,
|
|
665
|
+
render: (text, props) => {
|
|
666
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
667
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
668
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cascader.default, {
|
|
669
|
+
...props,
|
|
766
670
|
mode: props.mode,
|
|
767
671
|
text: text,
|
|
768
672
|
placeholder: placeholder,
|
|
769
673
|
fieldProps: fieldProps
|
|
770
|
-
})
|
|
674
|
+
});
|
|
771
675
|
},
|
|
772
|
-
formItemRender:
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cascader.default,
|
|
676
|
+
formItemRender: (text, props) => {
|
|
677
|
+
const fieldProps = (0, _utils.pickProProps)(props.fieldProps);
|
|
678
|
+
const placeholder = typeof props.placeholder === 'string' ? props.placeholder : undefined;
|
|
679
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cascader.default, {
|
|
680
|
+
...props,
|
|
776
681
|
mode: props.mode,
|
|
777
682
|
text: text,
|
|
778
683
|
placeholder: placeholder,
|
|
779
684
|
fieldProps: fieldProps
|
|
780
|
-
})
|
|
685
|
+
});
|
|
781
686
|
}
|
|
782
687
|
},
|
|
783
688
|
treeSelect: {
|
|
784
|
-
render:
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
}));
|
|
793
|
-
}
|
|
689
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_TreeSelect.default, {
|
|
690
|
+
...props,
|
|
691
|
+
text: text
|
|
692
|
+
}),
|
|
693
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_TreeSelect.default, {
|
|
694
|
+
...props,
|
|
695
|
+
text: text
|
|
696
|
+
})
|
|
794
697
|
},
|
|
795
698
|
color: {
|
|
796
|
-
render:
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
}));
|
|
805
|
-
}
|
|
699
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_ColorPicker.default, {
|
|
700
|
+
...props,
|
|
701
|
+
text: text
|
|
702
|
+
}),
|
|
703
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_ColorPicker.default, {
|
|
704
|
+
...props,
|
|
705
|
+
text: text
|
|
706
|
+
})
|
|
806
707
|
},
|
|
807
708
|
segmented: {
|
|
808
|
-
render:
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
}));
|
|
817
|
-
}
|
|
709
|
+
render: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Segmented.default, {
|
|
710
|
+
...props,
|
|
711
|
+
text: text
|
|
712
|
+
}),
|
|
713
|
+
formItemRender: (text, props) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Segmented.default, {
|
|
714
|
+
...props,
|
|
715
|
+
text: text
|
|
716
|
+
})
|
|
818
717
|
}
|
|
819
718
|
};
|
|
820
719
|
var _default = exports.default = ValueTypeToComponentMap;
|