@rjsf/antd 4.2.3 → 5.0.0-beta.10

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.
Files changed (42) hide show
  1. package/README.md +4 -2
  2. package/dist/antd.cjs.development.js +1186 -1441
  3. package/dist/antd.cjs.development.js.map +1 -1
  4. package/dist/antd.cjs.production.min.js +1 -1
  5. package/dist/antd.cjs.production.min.js.map +1 -1
  6. package/dist/antd.esm.js +1121 -1403
  7. package/dist/antd.esm.js.map +1 -1
  8. package/dist/antd.umd.development.js +1165 -1445
  9. package/dist/antd.umd.development.js.map +1 -1
  10. package/dist/antd.umd.production.min.js +1 -1
  11. package/dist/antd.umd.production.min.js.map +1 -1
  12. package/dist/index.d.ts +51 -57
  13. package/package.json +49 -50
  14. package/dist/ErrorList.d.ts +0 -4
  15. package/dist/components/DatePicker/index.d.ts +0 -24
  16. package/dist/fields/DescriptionField/index.d.ts +0 -5
  17. package/dist/fields/TitleField/index.d.ts +0 -2
  18. package/dist/templates/ArrayFieldTemplate/ArrayFieldTemplateItem.d.ts +0 -19
  19. package/dist/templates/ArrayFieldTemplate/FixedArrayFieldTemplate.d.ts +0 -2
  20. package/dist/templates/ArrayFieldTemplate/NormalArrayFieldTemplate.d.ts +0 -2
  21. package/dist/templates/ArrayFieldTemplate/index.d.ts +0 -27
  22. package/dist/templates/FieldTemplate/WrapIfAdditional.d.ts +0 -14
  23. package/dist/templates/FieldTemplate/index.d.ts +0 -21
  24. package/dist/templates/ObjectFieldTemplate/index.d.ts +0 -2
  25. package/dist/widgets/AltDateTimeWidget/index.d.ts +0 -13
  26. package/dist/widgets/AltDateWidget/index.d.ts +0 -26
  27. package/dist/widgets/CheckboxWidget/index.d.ts +0 -13
  28. package/dist/widgets/CheckboxesWidget/index.d.ts +0 -13
  29. package/dist/widgets/ColorWidget/index.d.ts +0 -12
  30. package/dist/widgets/DateTimeWidget/index.d.ts +0 -12
  31. package/dist/widgets/DateWidget/index.d.ts +0 -12
  32. package/dist/widgets/EmailWidget/index.d.ts +0 -13
  33. package/dist/widgets/PasswordWidget/index.d.ts +0 -13
  34. package/dist/widgets/RadioWidget/index.d.ts +0 -14
  35. package/dist/widgets/RangeWidget/index.d.ts +0 -15
  36. package/dist/widgets/SelectWidget/index.d.ts +0 -21
  37. package/dist/widgets/SubmitButton/SubmitButton.d.ts +0 -4
  38. package/dist/widgets/SubmitButton/index.d.ts +0 -2
  39. package/dist/widgets/TextWidget/index.d.ts +0 -14
  40. package/dist/widgets/TextareaWidget/index.d.ts +0 -13
  41. package/dist/widgets/URLWidget/index.d.ts +0 -13
  42. package/dist/widgets/UpDownWidget/index.d.ts +0 -12
package/dist/index.d.ts CHANGED
@@ -1,57 +1,51 @@
1
- /// <reference types="@rjsf/core" />
2
- export namespace Fields {
3
- export { DescriptionField };
4
- export { TitleField };
5
- }
6
- export namespace Widgets {
7
- export { AltDateTimeWidget };
8
- export { AltDateWidget };
9
- export { CheckboxesWidget };
10
- export { CheckboxWidget };
11
- export { ColorWidget };
12
- export { DateTimeWidget };
13
- export { DateWidget };
14
- export { EmailWidget };
15
- export { PasswordWidget };
16
- export { RadioWidget };
17
- export { RangeWidget };
18
- export { SelectWidget };
19
- export { TextareaWidget };
20
- export { TextWidget };
21
- export { UpDownWidget };
22
- export { URLWidget };
23
- export { SubmitButton };
24
- }
25
- export namespace Theme {
26
- export { ArrayFieldTemplate };
27
- export namespace fields { }
28
- export { FieldTemplate };
29
- export { ObjectFieldTemplate };
30
- export namespace widgets { }
31
- export { ErrorList };
32
- }
33
- export const Form: import("@rjsf/core/node_modules/@types/react").ComponentClass<import("@rjsf/core").FormProps<any>, any> | import("@rjsf/core/node_modules/@types/react").FunctionComponent<import("@rjsf/core").FormProps<any>>;
34
- export default Form;
35
- import DescriptionField from "./fields/DescriptionField";
36
- import TitleField from "./fields/TitleField";
37
- import AltDateTimeWidget from "./widgets/AltDateTimeWidget";
38
- import AltDateWidget from "./widgets/AltDateWidget";
39
- import CheckboxesWidget from "./widgets/CheckboxesWidget";
40
- import CheckboxWidget from "./widgets/CheckboxWidget";
41
- import ColorWidget from "./widgets/ColorWidget";
42
- import DateTimeWidget from "./widgets/DateTimeWidget";
43
- import DateWidget from "./widgets/DateWidget";
44
- import EmailWidget from "./widgets/EmailWidget";
45
- import PasswordWidget from "./widgets/PasswordWidget";
46
- import RadioWidget from "./widgets/RadioWidget";
47
- import RangeWidget from "./widgets/RangeWidget";
48
- import SelectWidget from "./widgets/SelectWidget";
49
- import TextareaWidget from "./widgets/TextareaWidget";
50
- import TextWidget from "./widgets/TextWidget";
51
- import UpDownWidget from "./widgets/UpDownWidget";
52
- import URLWidget from "./widgets/URLWidget";
53
- import SubmitButton from "./widgets/SubmitButton";
54
- import ArrayFieldTemplate from "./templates/ArrayFieldTemplate";
55
- import FieldTemplate from "./templates/FieldTemplate";
56
- import ObjectFieldTemplate from "./templates/ObjectFieldTemplate";
57
- import ErrorList from "./ErrorList";
1
+ import { ThemeProps, FormProps } from '@rjsf/core';
2
+ import * as _rjsf_utils from '@rjsf/utils';
3
+ import { TemplatesType } from '@rjsf/utils';
4
+
5
+ declare const Index: Partial<TemplatesType>;
6
+
7
+ declare const Widgets: {
8
+ AltDateTimeWidget: {
9
+ (props: _rjsf_utils.WidgetProps<any, any>): JSX.Element;
10
+ defaultProps: {
11
+ showTime: boolean;
12
+ autofocus: boolean;
13
+ disabled: boolean;
14
+ options: {
15
+ yearsRange: number[];
16
+ };
17
+ readonly: boolean;
18
+ };
19
+ };
20
+ AltDateWidget: {
21
+ ({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, readonly, registry, showTime, value, }: _rjsf_utils.WidgetProps<any, any>): JSX.Element;
22
+ defaultProps: {
23
+ autofocus: boolean;
24
+ disabled: boolean;
25
+ options: {
26
+ yearsRange: number[];
27
+ };
28
+ readonly: boolean;
29
+ showTime: boolean;
30
+ };
31
+ };
32
+ CheckboxesWidget: ({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, readonly, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element | null;
33
+ CheckboxWidget: ({ autofocus, disabled, formContext, id, label, onBlur, onChange, onFocus, readonly, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
34
+ DateTimeWidget: ({ disabled, formContext, id, onBlur, onChange, onFocus, placeholder, readonly, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
35
+ DateWidget: ({ disabled, formContext, id, onBlur, onChange, onFocus, placeholder, readonly, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
36
+ PasswordWidget: ({ disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
37
+ RadioWidget: ({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, readonly, schema, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
38
+ RangeWidget: ({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, schema, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
39
+ SelectWidget: {
40
+ ({ autofocus, disabled, formContext, id, multiple, onBlur, onChange, onFocus, options, placeholder, readonly, schema, value, }: _rjsf_utils.WidgetProps<any, any>): JSX.Element;
41
+ defaultProps: {
42
+ formContext: {};
43
+ };
44
+ };
45
+ TextareaWidget: ({ disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, value, }: _rjsf_utils.WidgetProps<any, any>) => JSX.Element;
46
+ };
47
+
48
+ declare const Theme: ThemeProps;
49
+ declare const Form: React.ComponentType<FormProps>;
50
+
51
+ export { Form, Index as Templates, Theme, Widgets, Form as default };
package/package.json CHANGED
@@ -1,74 +1,70 @@
1
1
  {
2
2
  "name": "@rjsf/antd",
3
- "version": "4.2.3",
3
+ "version": "5.0.0-beta.10",
4
4
  "description": "Ant Design theme, fields and widgets for react-jsonschema-form",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/antd.esm.js",
7
+ "typings": "dist/index.d.ts",
7
8
  "scripts": {
8
- "start": "tsdx watch",
9
- "build": "rimraf dist && tsdx build --format cjs,es,umd",
10
- "test": "tsdx test",
11
- "test:update": "tsdx test --u"
9
+ "start": "dts watch",
10
+ "build": "rimraf dist && dts build --rollupTypes --format cjs,esm,umd",
11
+ "cs-check": "prettier -l \"{src,test}/**/*.ts?(x)\"",
12
+ "cs-format": "prettier \"{src,test}/**/*.ts?(x)\" --write",
13
+ "lint": "eslint src test",
14
+ "precommit": "lint-staged",
15
+ "test": "dts test",
16
+ "test:update": "dts test --u"
17
+ },
18
+ "lint-staged": {
19
+ "{src,test}/**/*.ts?(x)": [
20
+ "eslint --fix",
21
+ "prettier --write"
22
+ ]
12
23
  },
13
24
  "files": [
14
25
  "dist"
15
26
  ],
16
27
  "engineStrict": false,
17
28
  "engines": {
18
- "node": ">=12"
19
- },
20
- "jest": {
21
- "moduleNameMapper": {
22
- "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
23
- }
29
+ "node": ">=14"
24
30
  },
25
31
  "peerDependencies": {
26
32
  "@ant-design/icons": "^4.0.0",
27
- "@rjsf/core": "^4.0.0",
33
+ "@rjsf/core": "^5.0.0-beta.1",
34
+ "@rjsf/utils": "^5.0.0-beta.1",
28
35
  "antd": "^4.0.0",
29
- "antd-dayjs-webpack-plugin": "1.0.0",
30
36
  "dayjs": "^1.8.0",
31
- "lodash": "^4.17.15",
32
- "lodash-es": "^4.17.15",
33
- "react": ">=16"
37
+ "react": "^16.14.0 || >=17"
34
38
  },
35
39
  "devDependencies": {
36
- "@ant-design/icons": "^4.0.0",
37
- "@babel/cli": "^7.4.4",
38
- "@babel/core": "^7.4.5",
39
- "@babel/plugin-proposal-class-properties": "^7.5.5",
40
- "@babel/plugin-transform-react-jsx": "^7.3.0",
41
- "@babel/preset-env": "^7.10.3",
42
- "@babel/preset-react": "^7.0.0",
43
- "@babel/register": "^7.4.4",
44
- "@rjsf/core": "^4.2.3",
45
- "antd": "^4.0.0",
40
+ "@ant-design/icons": "^4.7.0",
41
+ "@babel/cli": "^7.18.10",
42
+ "@babel/core": "^7.18.13",
43
+ "@babel/eslint-parser": "^7.18.9",
44
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
45
+ "@babel/plugin-transform-react-jsx": "^7.18.10",
46
+ "@babel/preset-env": "^7.18.10",
47
+ "@babel/preset-react": "^7.18.6",
48
+ "@babel/register": "^7.18.9",
49
+ "@rjsf/core": "^5.0.0-beta.10",
50
+ "@rjsf/utils": "^5.0.0-beta.10",
51
+ "@rjsf/validator-ajv6": "^5.0.0-beta.10",
52
+ "@rollup/plugin-replace": "^4.0.0",
53
+ "@types/lodash": "^4.14.184",
54
+ "@types/react": "^17.0.39",
55
+ "@types/react-dom": "^17.0.17",
56
+ "@types/react-test-renderer": "^17.0.2",
57
+ "antd": "^4.22.8",
46
58
  "atob": "^2.0.3",
47
- "babel-eslint": "^10.0.1",
48
- "babel-loader": "^8.0.6",
49
- "concurrently": "^5.1.0",
50
- "cross-env": "^2.0.1",
51
- "css-loader": "^3.2.0",
52
- "dayjs": "^1.8.0",
53
- "eslint": "^4.9.0",
54
- "eslint-config-react-app": "^2.0.1",
55
- "eslint-plugin-flowtype": "^2.39.1",
56
- "eslint-plugin-import": "^2.21.2",
57
- "eslint-plugin-jsx-a11y": "^5.1.1",
58
- "eslint-plugin-react": "^7.4.0",
59
- "jest": "24.9.0",
60
- "less": "^3.10.3",
61
- "less-loader": "^5.0.0",
59
+ "dayjs": "^1.11.5",
60
+ "dts-cli": "^1.6.0",
61
+ "eslint": "^8.23.0",
62
62
  "lodash": "^4.17.15",
63
63
  "lodash-es": "^4.17.15",
64
- "react": "^16.8.6",
65
- "react-dom": "^16.8.6",
66
- "react-test-renderer": "^16.13.1",
67
- "rimraf": "^3.0.2",
68
- "style-loader": "^2.0.0",
69
- "webpack": "^4.20.2",
70
- "webpack-dev-middleware": "^3.4.0",
71
- "webpack-hot-middleware": "^2.13.2"
64
+ "react": "^17.0.2",
65
+ "react-dom": "^17.0.2",
66
+ "react-test-renderer": "^17.0.2",
67
+ "rimraf": "^3.0.2"
72
68
  },
73
69
  "repository": {
74
70
  "type": "git",
@@ -85,6 +81,9 @@
85
81
  "rjsf-antd"
86
82
  ],
87
83
  "author": "Delyan Ruskov <d.ruskov@gmail.com>",
84
+ "contributors": [
85
+ "Heath Chiavettone <heath.chiavettone@freenome.com"
86
+ ],
88
87
  "license": "Apache-2.0",
89
88
  "bugs": {
90
89
  "url": "https://github.com/rjsf-team/react-jsonschema-form/issues"
@@ -93,5 +92,5 @@
93
92
  "publishConfig": {
94
93
  "access": "public"
95
94
  },
96
- "gitHead": "35663cf43dd1351a9f0d8e7d238e7dca22b4d378"
95
+ "gitHead": "0326c281fc057d488cf46b0646a4d48cf1cc04de"
97
96
  }
@@ -1,4 +0,0 @@
1
- export default ErrorList;
2
- declare function ErrorList({ errors, }: {
3
- errors: any;
4
- }): JSX.Element;
@@ -1,24 +0,0 @@
1
- export default DatePicker;
2
- declare const DatePicker: import("react").ComponentClass<import("antd/lib/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, any> & {
3
- WeekPicker: import("react").ComponentClass<Pick<Pick<import("rc-picker/lib/Picker").PickerDateProps<import("dayjs").Dayjs>, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoComplete" | "autoFocus" | "name" | "value" | "showTime" | "picker" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showToday" | "disabledTime"> & {
4
- locale?: import("antd/lib/date-picker/generatePicker").PickerLocale | undefined;
5
- size?: import("antd/lib/button").ButtonSize;
6
- bordered?: boolean | undefined;
7
- }, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "bordered" | "size" | "locale" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoFocus" | "name" | "value" | "showTime" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showToday" | "disabledTime">, any>;
8
- MonthPicker: import("react").ComponentClass<Pick<Pick<import("rc-picker/lib/Picker").PickerDateProps<import("dayjs").Dayjs>, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoComplete" | "autoFocus" | "name" | "value" | "showTime" | "picker" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showToday" | "disabledTime"> & {
9
- locale?: import("antd/lib/date-picker/generatePicker").PickerLocale | undefined;
10
- size?: import("antd/lib/button").ButtonSize;
11
- bordered?: boolean | undefined;
12
- }, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "bordered" | "size" | "locale" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoFocus" | "name" | "value" | "showTime" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showToday" | "disabledTime">, any>;
13
- YearPicker: import("react").ComponentClass<Pick<Pick<import("rc-picker/lib/Picker").PickerDateProps<import("dayjs").Dayjs>, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoComplete" | "autoFocus" | "name" | "value" | "showTime" | "picker" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showToday" | "disabledTime"> & {
14
- locale?: import("antd/lib/date-picker/generatePicker").PickerLocale | undefined;
15
- size?: import("antd/lib/button").ButtonSize;
16
- bordered?: boolean | undefined;
17
- }, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "bordered" | "size" | "locale" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoFocus" | "name" | "value" | "showTime" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showToday" | "disabledTime">, any>;
18
- RangePicker: import("react").ComponentClass<import("antd/lib/date-picker/generatePicker").RangePickerProps<import("dayjs").Dayjs>, any>;
19
- TimePicker: import("react").ComponentClass<Pick<Pick<import("rc-picker/lib/Picker").PickerTimeProps<import("dayjs").Dayjs>, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoComplete" | "autoFocus" | "name" | "value" | "picker" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showHour" | "showMinute" | "showSecond" | "use12Hours" | "hourStep" | "minuteStep" | "secondStep" | "hideDisabledOptions" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "defaultOpenValue"> & {
20
- locale?: import("antd/lib/date-picker/generatePicker").PickerLocale | undefined;
21
- size?: import("antd/lib/button").ButtonSize;
22
- bordered?: boolean | undefined;
23
- }, "style" | "prefixCls" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "bordered" | "size" | "locale" | "defaultValue" | "placeholder" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onFocus" | "onBlur" | "onChange" | "onContextMenu" | "onMouseDown" | "onMouseUp" | "onSelect" | "disabled" | "open" | "autoFocus" | "name" | "value" | "mode" | "defaultPickerValue" | "disabledDate" | "dateRender" | "monthCellRender" | "renderExtraFooter" | "onPanelChange" | "onOk" | "direction" | "dropdownClassName" | "dropdownAlign" | "popupStyle" | "transitionName" | "allowClear" | "defaultOpen" | "inputReadOnly" | "format" | "suffixIcon" | "clearIcon" | "getPopupContainer" | "onOpenChange" | "pickerRef" | "showHour" | "showMinute" | "showSecond" | "use12Hours" | "hourStep" | "minuteStep" | "secondStep" | "hideDisabledOptions" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "defaultOpenValue">, any>;
24
- };
@@ -1,5 +0,0 @@
1
- export default DescriptionField;
2
- declare function DescriptionField({ description, id, }: {
3
- description: any;
4
- id: any;
5
- }): JSX.Element;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,19 +0,0 @@
1
- export default ArrayFieldTemplateItem;
2
- declare function ArrayFieldTemplateItem({ children, disabled, formContext, hasMoveDown, hasMoveUp, hasRemove, hasToolbar, index, onDropIndexClick, onReorderClick, readonly, }: {
3
- children: any;
4
- disabled: any;
5
- formContext: any;
6
- hasMoveDown: any;
7
- hasMoveUp: any;
8
- hasRemove: any;
9
- hasToolbar: any;
10
- index: any;
11
- onDropIndexClick: any;
12
- onReorderClick: any;
13
- readonly: any;
14
- }): JSX.Element;
15
- declare namespace ArrayFieldTemplateItem {
16
- export namespace defaultProps {
17
- export const formContext: {};
18
- }
19
- }
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,27 +0,0 @@
1
- export default ArrayFieldTemplate;
2
- declare function ArrayFieldTemplate({ DescriptionField, TitleField, autofocus, canAdd, className, disabled, formContext, formData, idSchema, items, label, name, onAddClick, onBlur, onChange, onFocus, placeholder, rawErrors, readonly, registry, required, schema, title, uiSchema, }: {
3
- DescriptionField: any;
4
- TitleField: any;
5
- autofocus: any;
6
- canAdd: any;
7
- className: any;
8
- disabled: any;
9
- formContext: any;
10
- formData: any;
11
- idSchema: any;
12
- items: any;
13
- label: any;
14
- name: any;
15
- onAddClick: any;
16
- onBlur: any;
17
- onChange: any;
18
- onFocus: any;
19
- placeholder: any;
20
- rawErrors: any;
21
- readonly: any;
22
- registry: any;
23
- required: any;
24
- schema: any;
25
- title: any;
26
- uiSchema: any;
27
- }): JSX.Element;
@@ -1,14 +0,0 @@
1
- export default WrapIfAdditional;
2
- declare function WrapIfAdditional({ children, classNames, disabled, formContext, id, label, onDropPropertyClick, onKeyChange, readonly, required, schema, }: {
3
- children: any;
4
- classNames: any;
5
- disabled: any;
6
- formContext: any;
7
- id: any;
8
- label: any;
9
- onDropPropertyClick: any;
10
- onKeyChange: any;
11
- readonly: any;
12
- required: any;
13
- schema: any;
14
- }): JSX.Element;
@@ -1,21 +0,0 @@
1
- export default FieldTemplate;
2
- declare function FieldTemplate({ children, classNames, description, disabled, displayLabel, formContext, help, hidden, id, label, onDropPropertyClick, onKeyChange, rawErrors, rawHelp, readonly, registry, required, schema, }: {
3
- children: any;
4
- classNames: any;
5
- description: any;
6
- disabled: any;
7
- displayLabel: any;
8
- formContext: any;
9
- help: any;
10
- hidden: any;
11
- id: any;
12
- label: any;
13
- onDropPropertyClick: any;
14
- onKeyChange: any;
15
- rawErrors: any;
16
- rawHelp: any;
17
- readonly: any;
18
- registry: any;
19
- required: any;
20
- schema: any;
21
- }): JSX.Element;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,13 +0,0 @@
1
- export default AltDateTimeWidget;
2
- declare function AltDateTimeWidget(props: any): JSX.Element;
3
- declare namespace AltDateTimeWidget {
4
- export const defaultProps: {
5
- showTime: boolean;
6
- autofocus: boolean;
7
- disabled: boolean;
8
- options: {
9
- yearsRange: number[];
10
- };
11
- readonly: boolean;
12
- };
13
- }
@@ -1,26 +0,0 @@
1
- export default AltDateWidget;
2
- declare function AltDateWidget({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, readonly, registry, showTime, value, }: {
3
- autofocus: any;
4
- disabled: any;
5
- formContext: any;
6
- id: any;
7
- onBlur: any;
8
- onChange: any;
9
- onFocus: any;
10
- options: any;
11
- readonly: any;
12
- registry: any;
13
- showTime: any;
14
- value: any;
15
- }): JSX.Element;
16
- declare namespace AltDateWidget {
17
- export const defaultProps: {
18
- autofocus: boolean;
19
- disabled: boolean;
20
- options: {
21
- yearsRange: number[];
22
- };
23
- readonly: boolean;
24
- showTime: boolean;
25
- };
26
- }
@@ -1,13 +0,0 @@
1
- export default CheckboxWidget;
2
- declare function CheckboxWidget({ autofocus, disabled, formContext, id, label, onBlur, onChange, onFocus, readonly, value, }: {
3
- autofocus: any;
4
- disabled: any;
5
- formContext: any;
6
- id: any;
7
- label: any;
8
- onBlur: any;
9
- onChange: any;
10
- onFocus: any;
11
- readonly: any;
12
- value: any;
13
- }): JSX.Element;
@@ -1,13 +0,0 @@
1
- export default CheckboxesWidget;
2
- declare function CheckboxesWidget({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, readonly, value, }: {
3
- autofocus: any;
4
- disabled: any;
5
- formContext: any;
6
- id: any;
7
- onBlur: any;
8
- onChange: any;
9
- onFocus: any;
10
- options: any;
11
- readonly: any;
12
- value: any;
13
- }): JSX.Element | null;
@@ -1,12 +0,0 @@
1
- export default ColorWidget;
2
- declare function ColorWidget({ disabled, formContext, id, onBlur, onChange, onFocus, placeholder, readonly, value, }: {
3
- disabled: any;
4
- formContext: any;
5
- id: any;
6
- onBlur: any;
7
- onChange: any;
8
- onFocus: any;
9
- placeholder: any;
10
- readonly: any;
11
- value: any;
12
- }): JSX.Element;
@@ -1,12 +0,0 @@
1
- export default DateTimeWidget;
2
- declare function DateTimeWidget({ disabled, formContext, id, onBlur, onChange, onFocus, placeholder, readonly, value, }: {
3
- disabled: any;
4
- formContext: any;
5
- id: any;
6
- onBlur: any;
7
- onChange: any;
8
- onFocus: any;
9
- placeholder: any;
10
- readonly: any;
11
- value: any;
12
- }): JSX.Element;
@@ -1,12 +0,0 @@
1
- export default DateWidget;
2
- declare function DateWidget({ disabled, formContext, id, onBlur, onChange, onFocus, placeholder, readonly, value, }: {
3
- disabled: any;
4
- formContext: any;
5
- id: any;
6
- onBlur: any;
7
- onChange: any;
8
- onFocus: any;
9
- placeholder: any;
10
- readonly: any;
11
- value: any;
12
- }): JSX.Element;
@@ -1,13 +0,0 @@
1
- export default EmailWidget;
2
- declare function EmailWidget({ disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, value, }: {
3
- disabled: any;
4
- formContext: any;
5
- id: any;
6
- onBlur: any;
7
- onChange: any;
8
- onFocus: any;
9
- options: any;
10
- placeholder: any;
11
- readonly: any;
12
- value: any;
13
- }): JSX.Element;
@@ -1,13 +0,0 @@
1
- export default PasswordWidget;
2
- declare function PasswordWidget({ disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, value, }: {
3
- disabled: any;
4
- formContext: any;
5
- id: any;
6
- onBlur: any;
7
- onChange: any;
8
- onFocus: any;
9
- options: any;
10
- placeholder: any;
11
- readonly: any;
12
- value: any;
13
- }): JSX.Element;
@@ -1,14 +0,0 @@
1
- export default RadioWidget;
2
- declare function RadioWidget({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, readonly, schema, value, }: {
3
- autofocus: any;
4
- disabled: any;
5
- formContext: any;
6
- id: any;
7
- onBlur: any;
8
- onChange: any;
9
- onFocus: any;
10
- options: any;
11
- readonly: any;
12
- schema: any;
13
- value: any;
14
- }): JSX.Element;
@@ -1,15 +0,0 @@
1
- export default RangeWidget;
2
- declare function RangeWidget({ autofocus, disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, schema, value, }: {
3
- autofocus: any;
4
- disabled: any;
5
- formContext: any;
6
- id: any;
7
- onBlur: any;
8
- onChange: any;
9
- onFocus: any;
10
- options: any;
11
- placeholder: any;
12
- readonly: any;
13
- schema: any;
14
- value: any;
15
- }): JSX.Element;
@@ -1,21 +0,0 @@
1
- export default SelectWidget;
2
- declare function SelectWidget({ autofocus, disabled, formContext, id, multiple, onBlur, onChange, onFocus, options, placeholder, readonly, schema, value, }: {
3
- autofocus: any;
4
- disabled: any;
5
- formContext: any;
6
- id: any;
7
- multiple: any;
8
- onBlur: any;
9
- onChange: any;
10
- onFocus: any;
11
- options: any;
12
- placeholder: any;
13
- readonly: any;
14
- schema: any;
15
- value: any;
16
- }): JSX.Element;
17
- declare namespace SelectWidget {
18
- export namespace defaultProps {
19
- export const formContext: {};
20
- }
21
- }
@@ -1,4 +0,0 @@
1
- declare function _default({ uiSchema }: {
2
- uiSchema: any;
3
- }): JSX.Element | null;
4
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default } from "./SubmitButton";
2
- export * from "./SubmitButton";