@kingteza/crud-component 1.0.3 → 1.0.5
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/dist/App.d.ts +2 -0
- package/dist/_virtual/FileSaver.min.cjs +1 -0
- package/dist/_virtual/FileSaver.min.js +5 -1
- package/dist/_virtual/FileSaver.min2.cjs +1 -0
- package/dist/_virtual/FileSaver.min2.js +4 -1
- package/dist/_virtual/ShowMoreText.cjs +1 -0
- package/dist/_virtual/ShowMoreText.js +7 -1
- package/dist/_virtual/ShowMoreText2.cjs +1 -0
- package/dist/_virtual/ShowMoreText2.js +4 -1
- package/dist/_virtual/Truncate.cjs +1 -0
- package/dist/_virtual/Truncate.js +4 -1
- package/dist/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +8 -1
- package/dist/_virtual/advancedFormat.cjs +1 -0
- package/dist/_virtual/advancedFormat.js +7 -1
- package/dist/_virtual/advancedFormat2.cjs +1 -0
- package/dist/_virtual/advancedFormat2.js +4 -1
- package/dist/_virtual/customParseFormat.cjs +1 -0
- package/dist/_virtual/customParseFormat.js +7 -1
- package/dist/_virtual/customParseFormat2.cjs +1 -0
- package/dist/_virtual/customParseFormat2.js +4 -1
- package/dist/_virtual/dayjs.min.cjs +1 -0
- package/dist/_virtual/dayjs.min.js +7 -1
- package/dist/_virtual/dayjs.min2.cjs +1 -0
- package/dist/_virtual/dayjs.min2.js +4 -1
- package/dist/_virtual/index.cjs +1 -0
- package/dist/_virtual/index.js +7 -1
- package/dist/_virtual/index10.cjs +1 -0
- package/dist/_virtual/index10.js +4 -1
- package/dist/_virtual/index2.cjs +1 -0
- package/dist/_virtual/index2.js +4 -1
- package/dist/_virtual/index3.cjs +1 -0
- package/dist/_virtual/index3.js +4 -1
- package/dist/_virtual/index4.cjs +1 -0
- package/dist/_virtual/index4.js +4 -1
- package/dist/_virtual/index5.cjs +1 -0
- package/dist/_virtual/index5.js +7 -1
- package/dist/_virtual/index6.cjs +1 -0
- package/dist/_virtual/index6.js +2 -1
- package/dist/_virtual/index7.cjs +1 -0
- package/dist/_virtual/index7.js +7 -1
- package/dist/_virtual/index8.cjs +1 -0
- package/dist/_virtual/index8.js +7 -1
- package/dist/_virtual/index9.cjs +1 -0
- package/dist/_virtual/index9.js +4 -1
- package/dist/_virtual/jsx-runtime.cjs +1 -0
- package/dist/_virtual/jsx-runtime.js +5 -1
- package/dist/_virtual/jsx-runtime2.cjs +1 -0
- package/dist/_virtual/jsx-runtime2.js +4 -1
- package/dist/_virtual/localeData.cjs +1 -0
- package/dist/_virtual/localeData.js +7 -1
- package/dist/_virtual/localeData2.cjs +1 -0
- package/dist/_virtual/localeData2.js +4 -1
- package/dist/_virtual/main.cjs +1 -0
- package/dist/_virtual/main.js +7 -1
- package/dist/_virtual/main2.cjs +1 -0
- package/dist/_virtual/main2.js +4 -1
- package/dist/_virtual/papaparse.min.cjs +1 -0
- package/dist/_virtual/papaparse.min.js +7 -1
- package/dist/_virtual/papaparse.min2.cjs +1 -0
- package/dist/_virtual/papaparse.min2.js +4 -1
- package/dist/_virtual/react-is.development.cjs +1 -0
- package/dist/_virtual/react-is.development.js +4 -1
- package/dist/_virtual/react-is.production.min.cjs +1 -0
- package/dist/_virtual/react-is.production.min.js +4 -1
- package/dist/_virtual/react-jsx-runtime.development.cjs +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -1
- package/dist/_virtual/react-jsx-runtime.production.min.cjs +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -1
- package/dist/_virtual/weekOfYear.cjs +1 -0
- package/dist/_virtual/weekOfYear.js +7 -1
- package/dist/_virtual/weekOfYear2.cjs +1 -0
- package/dist/_virtual/weekOfYear2.js +4 -1
- package/dist/_virtual/weekYear.cjs +1 -0
- package/dist/_virtual/weekYear.js +7 -1
- package/dist/_virtual/weekYear2.cjs +1 -0
- package/dist/_virtual/weekYear2.js +4 -1
- package/dist/_virtual/weekday.cjs +1 -0
- package/dist/_virtual/weekday.js +7 -1
- package/dist/_virtual/weekday2.cjs +1 -0
- package/dist/_virtual/weekday2.js +4 -1
- package/dist/common/index.cjs +1 -0
- package/dist/common/index.js +75 -1
- package/dist/components/common/DatePicker/DatePicker.d.ts +37 -0
- package/dist/components/common/DatePicker/TimePicker.d.ts +34 -0
- package/dist/components/common/DatePicker/index.d.ts +3 -0
- package/dist/components/common/appearance/Hider.d.ts +6 -0
- package/dist/components/common/appearance/index.d.ts +0 -0
- package/dist/components/common/button/Button.d.ts +12 -0
- package/dist/components/common/button/CloneButtonTable.d.ts +6 -0
- package/dist/components/common/button/DeleteButtonTable.d.ts +13 -0
- package/dist/components/common/button/ExportButton.d.ts +4 -0
- package/dist/components/common/button/HideButtonTable.d.ts +13 -0
- package/dist/components/common/button/ImportButton.d.ts +9 -0
- package/dist/components/common/button/NewButton.d.ts +12 -0
- package/dist/components/common/button/PrintButton.d.ts +12 -0
- package/dist/components/common/button/RefreshButton.d.ts +11 -0
- package/dist/components/common/button/UnHideButton.d.ts +14 -0
- package/dist/components/common/button/UpdateButtonTable.d.ts +6 -0
- package/dist/components/common/button/ViewButtonTable.d.ts +6 -0
- package/dist/components/common/button/index.d.ts +14 -0
- package/dist/components/common/check-box/CheckBox.d.ts +9 -0
- package/dist/components/common/check-box/index.d.ts +2 -0
- package/dist/components/common/description/DescList.d.ts +18 -0
- package/dist/components/common/description/DescriptionComponent.d.ts +7 -0
- package/dist/components/common/description/index.d.ts +3 -0
- package/dist/components/common/index.d.ts +22 -0
- package/dist/components/common/layout/VerticalSpace.d.ts +5 -0
- package/dist/components/common/layout/index.d.ts +2 -0
- package/dist/components/common/loading/LoadingIndicator.d.ts +6 -0
- package/dist/components/common/loading/index.d.ts +2 -0
- package/dist/components/common/picker/ImagePicker.d.ts +56 -0
- package/dist/components/common/picker/index.d.ts +2 -0
- package/dist/components/common/radio/RadioGroupComponent.d.ts +18 -0
- package/dist/components/common/radio/index.d.ts +2 -0
- package/dist/components/common/report/SelectFieldInReport.d.ts +16 -0
- package/dist/components/common/report/index.d.ts +3 -0
- package/dist/components/common/select/CustomSelectOption.d.ts +7 -0
- package/dist/components/common/select/SelectComponent.d.ts +21 -0
- package/dist/components/common/select/index.d.ts +3 -0
- package/dist/components/common/show-more/index.d.ts +4 -0
- package/dist/components/common/tab/TabViewWithRoute.d.ts +13 -0
- package/dist/components/common/tab/index.d.ts +2 -0
- package/dist/components/common/table/index.d.ts +3 -0
- package/dist/components/common/table/table.d.ts +19 -0
- package/dist/components/common/tag/StatusTag.d.ts +14 -0
- package/dist/components/common/tag/index.d.ts +2 -0
- package/dist/components/common/text/index.d.ts +3 -0
- package/dist/components/common/text/title/TitleWithHeadTitle.d.ts +7 -0
- package/dist/components/common/text/title/index.d.ts +1 -0
- package/dist/components/common/text-field/NumberField.d.ts +13 -0
- package/dist/components/common/text-field/PhoneNumberField.d.ts +4 -0
- package/dist/components/common/text-field/TextArea.d.ts +17 -0
- package/dist/components/common/text-field/TextField.d.ts +27 -0
- package/dist/components/common/text-field/index.d.ts +5 -0
- package/dist/components/common/tooltip/TooltipComponent.d.ts +5 -0
- package/dist/components/common/tooltip/index.d.ts +2 -0
- package/dist/components/common/wizard/WizardResult.d.ts +16 -0
- package/dist/components/common/wizard/WizardViewForm.d.ts +24 -0
- package/dist/components/common/wizard/index.d.ts +3 -0
- package/dist/components/crud/CrudComponent.d.ts +237 -0
- package/dist/components/crud/CrudField.d.ts +4 -0
- package/dist/components/crud/CrudForm.d.ts +14 -0
- package/dist/components/crud/CrudFormWizard.d.ts +14 -0
- package/dist/components/crud/CrudReportComponent.d.ts +44 -0
- package/dist/components/crud/CrudSearchComponent.d.ts +21 -0
- package/dist/components/crud/FileCrudField.d.ts +25 -0
- package/dist/components/crud/ImageCrudField.d.ts +38 -0
- package/dist/components/crud/import/CrudImportButton.d.ts +3 -0
- package/dist/components/crud/import/CrudImportComponent.d.ts +14 -0
- package/dist/components/crud/index.d.ts +15 -0
- package/dist/components/crud/view/CrudDecListView.d.ts +14 -0
- package/dist/components/crud/view/CrudViewer.d.ts +43 -0
- package/dist/components/crud/view/CrudViewerUtil.d.ts +2 -0
- package/dist/components/crud/view/index.d.ts +5 -0
- package/dist/context/WindowDimension.d.ts +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +4 -63
- package/dist/index.js +32 -1
- package/dist/locale/hooks/translation-constants.d.ts +1 -0
- package/dist/locale/index.d.ts +69 -0
- package/dist/locale/translations/en.d.ts +58 -0
- package/dist/main.d.ts +0 -0
- package/dist/src/components/common/DatePicker/DatePicker.cjs +1 -0
- package/dist/src/components/common/DatePicker/DatePicker.js +88 -0
- package/dist/src/components/common/DatePicker/TimePicker.cjs +1 -0
- package/dist/src/components/common/DatePicker/TimePicker.js +78 -0
- package/dist/src/components/common/appearance/Hider.cjs +1 -0
- package/dist/src/components/common/appearance/Hider.js +5 -0
- package/dist/src/components/common/button/Button.cjs +1 -0
- package/dist/src/components/common/button/Button.js +64 -0
- package/dist/src/components/common/button/CloneButtonTable.cjs +1 -0
- package/dist/src/components/common/button/CloneButtonTable.js +20 -0
- package/dist/src/components/common/button/DeleteButtonTable.cjs +1 -0
- package/dist/src/components/common/button/DeleteButtonTable.js +68 -0
- package/dist/src/components/common/button/ExportButton.cjs +1 -0
- package/dist/src/components/common/button/ExportButton.js +27 -0
- package/dist/src/components/common/button/HideButtonTable.cjs +1 -0
- package/dist/src/components/common/button/HideButtonTable.js +68 -0
- package/dist/src/components/common/button/ImportButton.cjs +1 -0
- package/dist/src/components/common/button/ImportButton.js +56 -0
- package/dist/src/components/common/button/NewButton.cjs +1 -0
- package/dist/src/components/common/button/NewButton.js +24 -0
- package/dist/src/components/common/button/PrintButton.cjs +1 -0
- package/dist/src/components/common/button/PrintButton.js +26 -0
- package/dist/src/components/common/button/RefreshButton.cjs +1 -0
- package/dist/src/components/common/button/RefreshButton.js +24 -0
- package/dist/src/components/common/button/UnHideButton.cjs +1 -0
- package/dist/src/components/common/button/UnHideButton.js +70 -0
- package/dist/src/components/common/button/UpdateButtonTable.cjs +1 -0
- package/dist/src/components/common/button/UpdateButtonTable.js +20 -0
- package/dist/src/components/common/button/ViewButtonTable.cjs +1 -0
- package/dist/src/components/common/button/ViewButtonTable.js +20 -0
- package/dist/src/components/common/check-box/CheckBox.cjs +1 -0
- package/dist/src/components/common/check-box/CheckBox.js +40 -0
- package/dist/src/components/common/description/DescList.cjs +1 -0
- package/dist/src/components/common/description/DescList.js +16 -0
- package/dist/src/components/common/layout/VerticalSpace.cjs +1 -0
- package/dist/src/components/common/layout/VerticalSpace.js +6 -0
- package/dist/src/components/common/loading/LoadingIndicator.cjs +1 -0
- package/dist/src/components/common/loading/LoadingIndicator.js +24 -0
- package/dist/src/components/common/picker/ImagePicker.cjs +1 -0
- package/dist/src/components/common/picker/ImagePicker.js +285 -0
- package/dist/src/components/common/radio/RadioGroupComponent.cjs +1 -0
- package/dist/src/components/common/radio/RadioGroupComponent.js +19 -0
- package/dist/src/components/common/report/SelectFieldInReport.cjs +1 -0
- package/dist/src/components/common/report/SelectFieldInReport.js +30 -0
- package/dist/src/components/common/select/CustomSelectOption.cjs +1 -0
- package/dist/src/components/common/select/CustomSelectOption.js +13 -0
- package/dist/src/components/common/select/SelectComponent.cjs +1 -0
- package/dist/src/components/common/select/SelectComponent.js +89 -0
- package/dist/src/components/common/show-more/index.cjs +1 -0
- package/dist/src/components/common/show-more/index.js +8 -0
- package/dist/src/components/common/tab/TabViewWithRoute.cjs +1 -0
- package/dist/src/components/common/tab/TabViewWithRoute.js +37 -0
- package/dist/src/components/common/table/table.cjs +1 -0
- package/dist/src/components/common/table/table.js +40 -0
- package/dist/src/components/common/tag/StatusTag.cjs +1 -0
- package/dist/src/components/common/tag/StatusTag.js +30 -0
- package/dist/src/components/common/text/index.js +5 -0
- package/dist/src/components/common/text/title/index.js +5 -0
- package/dist/src/components/common/text-field/NumberField.cjs +1 -0
- package/dist/src/components/common/text-field/NumberField.js +83 -0
- package/dist/src/components/common/text-field/PhoneNumberField.cjs +1 -0
- package/dist/src/components/common/text-field/PhoneNumberField.js +18 -0
- package/dist/src/components/common/text-field/TextArea.cjs +1 -0
- package/dist/src/components/common/text-field/TextArea.js +47 -0
- package/dist/src/components/common/text-field/TextField.cjs +1 -0
- package/dist/src/components/common/text-field/TextField.js +73 -0
- package/dist/src/components/common/tooltip/TooltipComponent.cjs +1 -0
- package/dist/src/components/common/tooltip/TooltipComponent.js +9 -0
- package/dist/src/components/common/wizard/WizardResult.cjs +1 -0
- package/dist/src/components/common/wizard/WizardResult.js +61 -0
- package/dist/src/components/common/wizard/WizardViewForm.cjs +1 -0
- package/dist/src/components/common/wizard/WizardViewForm.js +74 -0
- package/dist/src/components/crud/CrudComponent.cjs +1 -0
- package/dist/src/components/crud/CrudComponent.js +210 -0
- package/dist/src/components/crud/CrudField.cjs +1 -0
- package/dist/src/components/crud/CrudField.js +459 -0
- package/dist/src/components/crud/CrudForm.cjs +1 -0
- package/dist/src/components/crud/CrudForm.js +91 -0
- package/dist/src/components/crud/CrudFormWizard.cjs +1 -0
- package/dist/src/components/crud/CrudFormWizard.js +142 -0
- package/dist/src/components/crud/CrudReportComponent.cjs +4 -0
- package/dist/src/components/crud/CrudReportComponent.js +255 -0
- package/dist/src/components/crud/CrudSearchComponent.cjs +1 -0
- package/dist/src/components/crud/CrudSearchComponent.js +95 -0
- package/dist/src/components/crud/FileCrudField.cjs +1 -0
- package/dist/src/components/crud/FileCrudField.js +227 -0
- package/dist/src/components/crud/ImageCrudField.cjs +1 -0
- package/dist/src/components/crud/ImageCrudField.js +113 -0
- package/dist/src/components/crud/import/CrudImportButton.cjs +1 -0
- package/dist/src/components/crud/import/CrudImportButton.js +31 -0
- package/dist/{components/crud/import/CrudImportComponent.js → src/components/crud/import/CrudImportComponent.cjs} +1 -1
- package/dist/src/components/crud/import/CrudImportComponent.js +222 -0
- package/dist/src/components/crud/view/CrudDecListView.cjs +1 -0
- package/dist/src/components/crud/view/CrudDecListView.js +42 -0
- package/dist/src/components/crud/view/CrudViewer.cjs +1 -0
- package/dist/src/components/crud/view/CrudViewer.js +217 -0
- package/dist/src/components/crud/view/CrudViewerUtil.cjs +1 -0
- package/dist/src/components/crud/view/CrudViewerUtil.js +58 -0
- package/dist/src/context/WindowDimension.cjs +1 -0
- package/dist/src/context/WindowDimension.js +8 -0
- package/dist/src/locale/hooks/translation-constants.js +4 -0
- package/dist/src/locale/index.cjs +1 -0
- package/dist/src/locale/index.js +33 -0
- package/dist/src/locale/translations/en.js +60 -0
- package/dist/src/util/DateUtil.cjs +1 -0
- package/dist/src/util/DateUtil.js +6 -0
- package/dist/src/util/ImageUtil.cjs +1 -0
- package/dist/src/util/ImageUtil.js +63 -0
- package/dist/src/util/NumberUtil.js +60 -0
- package/dist/src/util/ValidationUtil.cjs +1 -0
- package/dist/src/util/ValidationUtil.js +60 -0
- package/dist/types/DialogComponentProp.d.ts +8 -0
- package/dist/types/Id.d.ts +10 -0
- package/dist/util/DateUtil.d.ts +7 -0
- package/dist/util/ImageUtil.d.ts +14 -0
- package/dist/util/NumberUtil.d.ts +17 -0
- package/dist/util/ValidationUtil.d.ts +14 -0
- package/dist/util/index.cjs +1 -0
- package/dist/util/index.js +10 -1
- package/dist/vite-env.d.ts +1 -0
- package/package.json +5 -4
- package/dist/components/common/DatePicker/DatePicker.js +0 -1
- package/dist/components/common/DatePicker/TimePicker.js +0 -1
- package/dist/components/common/appearance/Hider.js +0 -1
- package/dist/components/common/button/Button.js +0 -1
- package/dist/components/common/button/CloneButtonTable.js +0 -1
- package/dist/components/common/button/DeleteButtonTable.js +0 -1
- package/dist/components/common/button/ExportButton.js +0 -1
- package/dist/components/common/button/HideButtonTable.js +0 -1
- package/dist/components/common/button/ImportButton.js +0 -1
- package/dist/components/common/button/NewButton.js +0 -1
- package/dist/components/common/button/PrintButton.js +0 -1
- package/dist/components/common/button/RefreshButton.js +0 -1
- package/dist/components/common/button/UnHideButton.js +0 -1
- package/dist/components/common/button/UpdateButtonTable.js +0 -1
- package/dist/components/common/button/ViewButtonTable.js +0 -1
- package/dist/components/common/check-box/CheckBox.js +0 -1
- package/dist/components/common/description/DescList.js +0 -1
- package/dist/components/common/layout/VerticalSpace.js +0 -1
- package/dist/components/common/loading/LoadingIndicator.js +0 -1
- package/dist/components/common/picker/ImagePicker.js +0 -1
- package/dist/components/common/radio/RadioGroupComponent.js +0 -1
- package/dist/components/common/report/SelectFieldInReport.js +0 -1
- package/dist/components/common/select/CustomSelectOption.js +0 -1
- package/dist/components/common/select/SelectComponent.js +0 -1
- package/dist/components/common/show-more/index.js +0 -1
- package/dist/components/common/tab/TabViewWithRoute.js +0 -1
- package/dist/components/common/table/table.js +0 -1
- package/dist/components/common/tag/StatusTag.js +0 -1
- package/dist/components/common/text-field/NumberField.js +0 -1
- package/dist/components/common/text-field/PhoneNumberField.js +0 -1
- package/dist/components/common/text-field/TextArea.js +0 -1
- package/dist/components/common/text-field/TextField.js +0 -1
- package/dist/components/common/tooltip/TooltipComponent.js +0 -1
- package/dist/components/common/wizard/WizardResult.js +0 -1
- package/dist/components/common/wizard/WizardViewForm.js +0 -1
- package/dist/components/crud/CrudComponent.js +0 -1
- package/dist/components/crud/CrudField.js +0 -1
- package/dist/components/crud/CrudForm.js +0 -1
- package/dist/components/crud/CrudFormWizard.js +0 -1
- package/dist/components/crud/CrudReportComponent.js +0 -4
- package/dist/components/crud/CrudSearchComponent.js +0 -1
- package/dist/components/crud/FileCrudField.js +0 -1
- package/dist/components/crud/ImageCrudField.js +0 -1
- package/dist/components/crud/import/CrudImportButton.js +0 -1
- package/dist/components/crud/view/CrudDecListView.js +0 -1
- package/dist/components/crud/view/CrudViewer.js +0 -1
- package/dist/components/crud/view/CrudViewerUtil.js +0 -1
- package/dist/context/WindowDimension.js +0 -1
- package/dist/locale/index.js +0 -1
- package/dist/util/DateUtil.js +0 -1
- package/dist/util/ImageUtil.js +0 -1
- package/dist/util/ValidationUtil.js +0 -1
- /package/dist/{components/common/text/index.js → src/components/common/text/index.cjs} +0 -0
- /package/dist/{components/common/text/title/index.js → src/components/common/text/title/index.cjs} +0 -0
- /package/dist/{locale/hooks/translation-constants.js → src/locale/hooks/translation-constants.cjs} +0 -0
- /package/dist/{locale/translations/en.js → src/locale/translations/en.cjs} +0 -0
- /package/dist/{util/NumberUtil.js → src/util/NumberUtil.cjs} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import { default as React, FC } from 'react';
|
|
4
|
+
export type DateRange = [Dayjs | null, Dayjs | null];
|
|
5
|
+
export interface DatePickerComponentProps extends FormItemProps<any> {
|
|
6
|
+
type?: any;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
onEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
9
|
+
nextFocus?: string;
|
|
10
|
+
disableToday?: boolean;
|
|
11
|
+
autoComplete?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
enabledDates?: Date[];
|
|
14
|
+
disabledPastDays?: boolean;
|
|
15
|
+
disabledFutureDays?: boolean;
|
|
16
|
+
renderExtraFooter?: () => React.ReactElement;
|
|
17
|
+
}
|
|
18
|
+
export interface DateRangePickerProps extends DatePickerComponentProps {
|
|
19
|
+
onChange?: (date: DateRange) => void;
|
|
20
|
+
range: true;
|
|
21
|
+
defaultValue?: DateRange | boolean;
|
|
22
|
+
value?: DateRange;
|
|
23
|
+
format?: string;
|
|
24
|
+
picker?: string;
|
|
25
|
+
showTime?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface DatePickerProps extends DatePickerComponentProps {
|
|
28
|
+
onChange?: (date: Dayjs | null) => void;
|
|
29
|
+
defaultValue?: Dayjs;
|
|
30
|
+
value?: Dayjs;
|
|
31
|
+
range?: false;
|
|
32
|
+
format?: string;
|
|
33
|
+
picker?: string;
|
|
34
|
+
showTime?: never;
|
|
35
|
+
}
|
|
36
|
+
declare const DatePickerComponent: FC<DateRangePickerProps | DatePickerProps>;
|
|
37
|
+
export default DatePickerComponent;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import { default as React, FC } from 'react';
|
|
4
|
+
export type DateRange = [Dayjs | null, Dayjs | null];
|
|
5
|
+
export interface TimePickerComponentProps extends FormItemProps<any> {
|
|
6
|
+
type?: any;
|
|
7
|
+
onEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
8
|
+
nextFocus?: string;
|
|
9
|
+
disableCurrent?: boolean;
|
|
10
|
+
use12Hours?: boolean;
|
|
11
|
+
autoComplete?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
disabledPast?: boolean;
|
|
14
|
+
disabledFuture?: boolean;
|
|
15
|
+
renderExtraFooter?: () => React.ReactElement;
|
|
16
|
+
}
|
|
17
|
+
export interface TimeRangePickerProps extends TimePickerComponentProps {
|
|
18
|
+
onChange?: (date: DateRange) => void;
|
|
19
|
+
range: true;
|
|
20
|
+
defaultValue?: DateRange;
|
|
21
|
+
value?: DateRange;
|
|
22
|
+
format?: string;
|
|
23
|
+
placeholder?: [string, string];
|
|
24
|
+
}
|
|
25
|
+
export interface TimePickerProps extends TimePickerComponentProps {
|
|
26
|
+
onChange?: (date: Dayjs | null) => void;
|
|
27
|
+
range: false;
|
|
28
|
+
defaultValue?: Dayjs;
|
|
29
|
+
value?: Dayjs;
|
|
30
|
+
format?: string;
|
|
31
|
+
placeholder?: string;
|
|
32
|
+
}
|
|
33
|
+
declare const TimePickerComponent: FC<TimeRangePickerProps | TimePickerProps>;
|
|
34
|
+
export default TimePickerComponent;
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonProps } from 'antd';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface ButtonComponentProps extends ButtonProps {
|
|
4
|
+
to?: string | number;
|
|
5
|
+
tooltip?: string | undefined;
|
|
6
|
+
ref?: any;
|
|
7
|
+
}
|
|
8
|
+
type ComponentType = React.FC<ButtonComponentProps> & {
|
|
9
|
+
Async: React.FC<ButtonComponentProps>;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: ComponentType;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ButtonType } from 'antd/es/button';
|
|
2
|
+
interface Props<T> {
|
|
3
|
+
value: T;
|
|
4
|
+
onClick: (value: T) => Promise<void>;
|
|
5
|
+
text?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
type?: ButtonType;
|
|
9
|
+
block?: boolean;
|
|
10
|
+
shouldConfirm?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function DeleteButtonTable<T>({ shouldConfirm, block, value, loading, onClick, text, disabled, type, }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default DeleteButtonTable;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ButtonType } from 'antd/es/button';
|
|
2
|
+
interface Props<T> {
|
|
3
|
+
value: T;
|
|
4
|
+
onClick: (value: T) => Promise<void>;
|
|
5
|
+
text?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
type?: ButtonType;
|
|
9
|
+
block?: boolean;
|
|
10
|
+
shouldConfirm?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function HideButtonTable<T>({ shouldConfirm, block, value, loading, onClick, text, disabled, type, }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default HideButtonTable;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseButtonProps } from 'antd/es/button/button';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
export declare function ImportButton({ onClick, children, accept, className, disabled, type, }: PropsWithChildren<{
|
|
4
|
+
className?: string;
|
|
5
|
+
accept?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onClick: (file: File) => Promise<any>;
|
|
8
|
+
type?: BaseButtonProps["type"];
|
|
9
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
2
|
+
import { ButtonType } from 'antd/lib/button';
|
|
3
|
+
import { FC } from 'react';
|
|
4
|
+
export declare const NewButton: FC<{
|
|
5
|
+
to?: string;
|
|
6
|
+
onClick?: (value: boolean) => void;
|
|
7
|
+
title?: string;
|
|
8
|
+
type?: ButtonType;
|
|
9
|
+
block?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
size?: SizeType;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonType } from 'antd/lib/button';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
export declare const PrintButton: FC<{
|
|
4
|
+
to?: string;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
title?: string;
|
|
8
|
+
type?: ButtonType;
|
|
9
|
+
block?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonType } from 'antd/lib/button';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
export declare const RefreshButton: FC<{
|
|
4
|
+
to?: string;
|
|
5
|
+
onClick?: (value: boolean) => void;
|
|
6
|
+
title?: string;
|
|
7
|
+
type?: ButtonType;
|
|
8
|
+
block?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ButtonType } from 'antd/es/button';
|
|
2
|
+
interface Props<T> {
|
|
3
|
+
value: T;
|
|
4
|
+
onClick: (value: T) => Promise<void>;
|
|
5
|
+
text?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
type?: ButtonType;
|
|
9
|
+
block?: boolean;
|
|
10
|
+
shouldConfirm?: boolean;
|
|
11
|
+
hidden?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function UnHideButton<T>({ shouldConfirm, block, value, loading, onClick, text, disabled, type, hidden }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default UnHideButton;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as ButtonComponent, ButtonComponentProps } from './Button';
|
|
2
|
+
import { default as CloneButtonTable } from './CloneButtonTable';
|
|
3
|
+
import { default as DeleteButtonTable } from './DeleteButtonTable';
|
|
4
|
+
import { ExportButton } from './ExportButton';
|
|
5
|
+
import { default as HideButtonTable } from './HideButtonTable';
|
|
6
|
+
import { ImportButton } from './ImportButton';
|
|
7
|
+
import { NewButton } from './NewButton';
|
|
8
|
+
import { PrintButton } from './PrintButton';
|
|
9
|
+
import { RefreshButton } from './RefreshButton';
|
|
10
|
+
import { default as UnHideButton } from './UnHideButton';
|
|
11
|
+
import { default as UpdateButtonTable } from './UpdateButtonTable';
|
|
12
|
+
import { default as ViewButtonTable } from './ViewButtonTable';
|
|
13
|
+
export { ButtonComponent, CloneButtonTable, DeleteButtonTable, ExportButton, HideButtonTable, ImportButton, NewButton, PrintButton, RefreshButton, UnHideButton, UpdateButtonTable, ViewButtonTable, };
|
|
14
|
+
export type { ButtonComponentProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
interface Props extends FormItemProps {
|
|
4
|
+
onChange?: (evt: boolean) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
switch?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const CheckBoxComponent: FC<Props>;
|
|
9
|
+
export default CheckBoxComponent;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DescriptionsProps } from 'antd/lib/descriptions';
|
|
2
|
+
import { default as React, FC } from 'react';
|
|
3
|
+
export type DescPropsNullable = {
|
|
4
|
+
label?: string | React.ReactElement;
|
|
5
|
+
value?: any;
|
|
6
|
+
noFormatting?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type DescProps = {
|
|
9
|
+
label?: string;
|
|
10
|
+
value: any;
|
|
11
|
+
noFormatting?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export interface DescListProps extends DescriptionsProps {
|
|
14
|
+
list: (DescPropsNullable | null | undefined | boolean)[];
|
|
15
|
+
keepEmptyValues?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const DescList: FC<DescListProps>;
|
|
18
|
+
export default DescList;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { DatePickerComponent, TimePickerComponent } from './DatePicker';
|
|
2
|
+
export { ButtonComponent, ButtonComponent as Button, CloneButtonTable, DeleteButtonTable, ExportButton, HideButtonTable, ImportButton, NewButton, PrintButton, RefreshButton, UnHideButton, UpdateButtonTable, ViewButtonTable, } from './button';
|
|
3
|
+
export { CheckBoxComponent } from './check-box';
|
|
4
|
+
export { DescList } from './description';
|
|
5
|
+
export type { DescPropsNullable } from './description';
|
|
6
|
+
export { default as VerticalSpace } from './layout/VerticalSpace';
|
|
7
|
+
export { LoadingIndicator } from './loading';
|
|
8
|
+
export { ImagePicker } from './picker';
|
|
9
|
+
export { RadioGroupComponent } from './radio';
|
|
10
|
+
export { SelectFieldInReport } from './report';
|
|
11
|
+
export type { ReportSelectFieldItems } from './report';
|
|
12
|
+
export { SelectComponent, CustomSelectOption } from './select';
|
|
13
|
+
export { TabViewWithRoute } from './tab';
|
|
14
|
+
export { TableComponent } from './table';
|
|
15
|
+
export { StatusTag } from './tag';
|
|
16
|
+
export { Title } from './text';
|
|
17
|
+
export { Text } from './text';
|
|
18
|
+
export { ShowMore } from './show-more';
|
|
19
|
+
export { PhoneField, TextField, TextAreaComponent, NumberTextField, } from './text-field';
|
|
20
|
+
export { TooltipComponent } from './tooltip';
|
|
21
|
+
export { WizardResult } from './wizard';
|
|
22
|
+
export { WizardViewForm } from './wizard';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd';
|
|
2
|
+
import { UploadFile } from 'antd/lib/upload/interface';
|
|
3
|
+
import { FC, ReactElement } from 'react';
|
|
4
|
+
import { UploadListType } from 'antd/es/upload/interface';
|
|
5
|
+
export declare function dataURLtoFile({ url, name }: {
|
|
6
|
+
url: any;
|
|
7
|
+
name: any;
|
|
8
|
+
}): File;
|
|
9
|
+
interface Props extends FormItemProps {
|
|
10
|
+
values?: string[] | string;
|
|
11
|
+
maxCount?: number;
|
|
12
|
+
onChange?: (file?: UploadFile, allFiles?: UploadFile[]) => void;
|
|
13
|
+
buttonTitle?: string;
|
|
14
|
+
listType?: UploadListType;
|
|
15
|
+
hidePreview?: boolean;
|
|
16
|
+
buttonSize?: string;
|
|
17
|
+
showButtonText?: boolean;
|
|
18
|
+
aspectRatio?: number;
|
|
19
|
+
showOnlyIcon?: boolean;
|
|
20
|
+
icon?: ReactElement;
|
|
21
|
+
loading?: boolean;
|
|
22
|
+
buttonType?: string;
|
|
23
|
+
onAdd?: (file?: UploadFile) => Promise<void>;
|
|
24
|
+
onRemove?: (file?: UploadFile) => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* When submitting Uploader
|
|
28
|
+
* ```
|
|
29
|
+
* if(field === undefined)
|
|
30
|
+
* "There is no file uploaded"
|
|
31
|
+
* else if(field.fileList.length === 0)
|
|
32
|
+
* "The initial file is deleted"
|
|
33
|
+
* else if(field.fileList.length > 1)
|
|
34
|
+
* "A new file has been uploaded"
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
declare const ImagePicker: FC<Props>;
|
|
39
|
+
export declare const UploadComponent: FC<{
|
|
40
|
+
_buttonTitle: any;
|
|
41
|
+
buttonSize: any;
|
|
42
|
+
buttonType: any;
|
|
43
|
+
fileList: any;
|
|
44
|
+
hidePreview: any;
|
|
45
|
+
icon: any;
|
|
46
|
+
loading: any;
|
|
47
|
+
maxCount: any;
|
|
48
|
+
onChangeFile: any;
|
|
49
|
+
onRemove: any;
|
|
50
|
+
showButtonText: any;
|
|
51
|
+
handlePreview: any;
|
|
52
|
+
setFileList: any;
|
|
53
|
+
showLoadingIndicator?: boolean;
|
|
54
|
+
listType?: UploadListType;
|
|
55
|
+
}>;
|
|
56
|
+
export default ImagePicker;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd';
|
|
2
|
+
interface GeneralProps extends FormItemProps {
|
|
3
|
+
values: {
|
|
4
|
+
key: string | number | undefined;
|
|
5
|
+
value: string | number;
|
|
6
|
+
}[];
|
|
7
|
+
}
|
|
8
|
+
interface EnumProps extends FormItemProps {
|
|
9
|
+
enum: string[];
|
|
10
|
+
translations?: any;
|
|
11
|
+
}
|
|
12
|
+
type Props = (GeneralProps | EnumProps) & {
|
|
13
|
+
onChange?: (evt: boolean) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
button?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import('react').NamedExoticComponent<Props>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface ReportSelectFieldItems {
|
|
3
|
+
id: any;
|
|
4
|
+
label: string;
|
|
5
|
+
lock?: boolean;
|
|
6
|
+
alreadySelected?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const SelectFieldInReport: FC<{
|
|
9
|
+
mode?: "multiple" | "tags" | undefined;
|
|
10
|
+
name: string;
|
|
11
|
+
label: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
onSelect?: (val: any) => void;
|
|
15
|
+
items: ReportSelectFieldItems[];
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FormItemProps, SelectProps } from 'antd';
|
|
2
|
+
import { RefSelectProps } from 'antd/lib/select';
|
|
3
|
+
import { ReactElement } from 'react';
|
|
4
|
+
export type SelectTagRenderProps = SelectProps["tagRender"];
|
|
5
|
+
interface SelectComponentProps<T> extends SelectProps<any>, FormItemProps<any> {
|
|
6
|
+
children?: any[] | null;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
notSearch?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
status?: any;
|
|
11
|
+
nameFieldInArray?: string;
|
|
12
|
+
items?: T[];
|
|
13
|
+
showLoadingInEmptyIndicator?: boolean;
|
|
14
|
+
itemBuilder?: (t: T) => ReactElement;
|
|
15
|
+
dropdownRender?: (menu: ReactElement) => ReactElement;
|
|
16
|
+
innerRef?: React.Ref<RefSelectProps>;
|
|
17
|
+
filterOption?: SelectProps["filterOption"];
|
|
18
|
+
tagRender?: SelectTagRenderProps;
|
|
19
|
+
}
|
|
20
|
+
declare function SelectComponent<T = any>({ label, rules, required, placeholder, notSearch, children, readOnly, items, dropdownRender, itemBuilder, loading, showLoadingInEmptyIndicator, nameFieldInArray, innerRef, tooltip, filterOption, tagRender, ...props }: SelectComponentProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default SelectComponent;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TabViewWithRouteProps {
|
|
3
|
+
initialKey?: string;
|
|
4
|
+
positionOfRoute: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
tabs: {
|
|
7
|
+
label: React.ReactNode;
|
|
8
|
+
key: string;
|
|
9
|
+
}[];
|
|
10
|
+
mode?: 'side' | 'default';
|
|
11
|
+
}
|
|
12
|
+
export declare const TabViewWithRoute: React.FC<TabViewWithRouteProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ColumnsType, TableProps } from 'antd/lib/table';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type TableComponentColumnProp<T> = {
|
|
4
|
+
dataIndex?: keyof T;
|
|
5
|
+
render?: (value: any, record: T, index: number) => React.ReactNode;
|
|
6
|
+
hidden?: boolean;
|
|
7
|
+
title?: any;
|
|
8
|
+
align?: 'right' | 'left';
|
|
9
|
+
width?: number | string;
|
|
10
|
+
}[] & ColumnsType<T>;
|
|
11
|
+
export interface TableComponentProps<T> extends TableProps<T> {
|
|
12
|
+
minusHeight?: number;
|
|
13
|
+
count?: number;
|
|
14
|
+
dataSource?: T[];
|
|
15
|
+
columns: TableComponentColumnProp<T>;
|
|
16
|
+
onPageSizeChanged?: (page: number, pageSize: number) => void;
|
|
17
|
+
}
|
|
18
|
+
declare function TableComponent<T>({ minusHeight, onRow, count, onPageSizeChanged, pagination, rowKey, columns, className, scroll, ...props }: TableComponentProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default TableComponent;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, ReactElement } from 'react';
|
|
2
|
+
type StatusTagProps = {
|
|
3
|
+
translation: any;
|
|
4
|
+
value: string;
|
|
5
|
+
clickable?: boolean;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
colorFunction?: (val: any) => {
|
|
8
|
+
color?: string;
|
|
9
|
+
text?: string;
|
|
10
|
+
icon?: ReactElement;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
declare const StatusTag: FC<StatusTagProps>;
|
|
14
|
+
export default StatusTag;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Title: import('react').ForwardRefExoticComponent<import('antd/es/typography/Title').TitleProps & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TextFieldProps } from './TextField';
|
|
3
|
+
interface NumberTextFieldProps extends TextFieldProps {
|
|
4
|
+
moneyField?: boolean;
|
|
5
|
+
addonAfter?: ReactNode;
|
|
6
|
+
minLength?: number;
|
|
7
|
+
isInt?: boolean;
|
|
8
|
+
max?: number;
|
|
9
|
+
pattern?: string;
|
|
10
|
+
min?: number | null;
|
|
11
|
+
}
|
|
12
|
+
declare const NumberTextField: import('react').ForwardRefExoticComponent<NumberTextFieldProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
13
|
+
export default NumberTextField;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FormInstance, FormItemProps } from 'antd';
|
|
2
|
+
import { TextAreaProps } from 'antd/lib/input';
|
|
3
|
+
import { InputHTMLAttributes } from 'react';
|
|
4
|
+
export interface TextFieldProps extends TextAreaProps, FormItemProps<any> {
|
|
5
|
+
type?: InputHTMLAttributes<HTMLInputElement>;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
status?: any;
|
|
8
|
+
onEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
9
|
+
form?: any;
|
|
10
|
+
nextFocus?: string;
|
|
11
|
+
children?: any;
|
|
12
|
+
name?: any;
|
|
13
|
+
onReset?: any;
|
|
14
|
+
}
|
|
15
|
+
export declare const onEnterInternalTextField: (e: React.KeyboardEvent<HTMLTextAreaElement>, nextFocus?: string, form?: FormInstance<any>, onEnter?: React.KeyboardEventHandler<HTMLInputElement>) => void;
|
|
16
|
+
declare const TextAreaComponent: React.FC<TextFieldProps>;
|
|
17
|
+
export default TextAreaComponent;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd';
|
|
2
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
|
+
import { FormInstance } from 'antd/lib/form/Form';
|
|
4
|
+
import { default as React } from 'react';
|
|
5
|
+
export interface TextFieldProps extends FormItemProps<any> {
|
|
6
|
+
type?: any;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
onEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
9
|
+
form?: FormInstance<any>;
|
|
10
|
+
addonAfter?: any;
|
|
11
|
+
addonBefore?: any;
|
|
12
|
+
nextFocus?: string;
|
|
13
|
+
autoComplete?: string;
|
|
14
|
+
defaultValue?: any;
|
|
15
|
+
readOnly?: boolean;
|
|
16
|
+
value?: any;
|
|
17
|
+
autoFocus?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
size?: SizeType;
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
inputRef?: any;
|
|
22
|
+
onBlur?: any;
|
|
23
|
+
onChange?: (val: any) => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const onEnterInternalTextField: (e: React.KeyboardEvent<HTMLInputElement>, nextFocus?: string, form?: FormInstance<any>, onEnter?: React.KeyboardEventHandler<HTMLInputElement>) => void;
|
|
26
|
+
declare const TextField: React.FC<TextFieldProps>;
|
|
27
|
+
export default TextField;
|