@rjsf/antd 4.2.0 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ErrorList.d.ts +4 -0
- package/dist/antd.cjs.development.js +1798 -0
- package/dist/antd.cjs.development.js.map +1 -0
- package/dist/antd.cjs.production.min.js +2 -0
- package/dist/antd.cjs.production.min.js.map +1 -0
- package/dist/antd.esm.js +1788 -0
- package/dist/antd.esm.js.map +1 -0
- package/dist/antd.umd.development.js +1799 -0
- package/dist/antd.umd.development.js.map +1 -0
- package/dist/antd.umd.production.min.js +2 -0
- package/dist/antd.umd.production.min.js.map +1 -0
- package/dist/components/DatePicker/index.d.ts +24 -0
- package/dist/fields/DescriptionField/index.d.ts +5 -0
- package/dist/fields/TitleField/index.d.ts +2 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.js +8 -0
- package/dist/templates/ArrayFieldTemplate/ArrayFieldTemplateItem.d.ts +19 -0
- package/dist/templates/ArrayFieldTemplate/FixedArrayFieldTemplate.d.ts +2 -0
- package/dist/templates/ArrayFieldTemplate/NormalArrayFieldTemplate.d.ts +2 -0
- package/dist/templates/ArrayFieldTemplate/index.d.ts +27 -0
- package/dist/templates/FieldTemplate/WrapIfAdditional.d.ts +14 -0
- package/dist/templates/FieldTemplate/index.d.ts +21 -0
- package/dist/templates/ObjectFieldTemplate/index.d.ts +2 -0
- package/dist/widgets/AltDateTimeWidget/index.d.ts +13 -0
- package/dist/widgets/AltDateWidget/index.d.ts +26 -0
- package/dist/widgets/CheckboxWidget/index.d.ts +13 -0
- package/dist/widgets/CheckboxesWidget/index.d.ts +13 -0
- package/dist/widgets/ColorWidget/index.d.ts +12 -0
- package/dist/widgets/DateTimeWidget/index.d.ts +12 -0
- package/dist/widgets/DateWidget/index.d.ts +12 -0
- package/dist/widgets/EmailWidget/index.d.ts +13 -0
- package/dist/widgets/PasswordWidget/index.d.ts +13 -0
- package/dist/widgets/RadioWidget/index.d.ts +14 -0
- package/dist/widgets/RangeWidget/index.d.ts +15 -0
- package/dist/widgets/SelectWidget/index.d.ts +21 -0
- package/dist/widgets/SubmitButton/SubmitButton.d.ts +4 -0
- package/dist/widgets/SubmitButton/index.d.ts +2 -0
- package/dist/widgets/TextWidget/index.d.ts +14 -0
- package/dist/widgets/TextareaWidget/index.d.ts +13 -0
- package/dist/widgets/URLWidget/index.d.ts +13 -0
- package/dist/widgets/UpDownWidget/index.d.ts +12 -0
- package/package.json +11 -15
- package/dist/cjs/ErrorList.js +0 -44
- package/dist/cjs/components/DatePicker/index.js +0 -17
- package/dist/cjs/fields/DescriptionField/index.js +0 -22
- package/dist/cjs/fields/TitleField/index.js +0 -65
- package/dist/cjs/index.js +0 -109
- package/dist/cjs/templates/ArrayFieldTemplate/ArrayFieldTemplateItem.js +0 -84
- package/dist/cjs/templates/ArrayFieldTemplate/FixedArrayFieldTemplate.js +0 -103
- package/dist/cjs/templates/ArrayFieldTemplate/NormalArrayFieldTemplate.js +0 -103
- package/dist/cjs/templates/ArrayFieldTemplate/index.js +0 -186
- package/dist/cjs/templates/FieldTemplate/WrapIfAdditional.js +0 -123
- package/dist/cjs/templates/FieldTemplate/index.js +0 -102
- package/dist/cjs/templates/ObjectFieldTemplate/index.js +0 -142
- package/dist/cjs/widgets/AltDateTimeWidget/index.js +0 -34
- package/dist/cjs/widgets/AltDateWidget/index.js +0 -236
- package/dist/cjs/widgets/CheckboxWidget/index.js +0 -57
- package/dist/cjs/widgets/CheckboxesWidget/index.js +0 -70
- package/dist/cjs/widgets/ColorWidget/index.js +0 -62
- package/dist/cjs/widgets/DateTimeWidget/index.js +0 -66
- package/dist/cjs/widgets/DateWidget/index.js +0 -66
- package/dist/cjs/widgets/EmailWidget/index.js +0 -63
- package/dist/cjs/widgets/PasswordWidget/index.js +0 -58
- package/dist/cjs/widgets/RadioWidget/index.js +0 -69
- package/dist/cjs/widgets/RangeWidget/index.js +0 -72
- package/dist/cjs/widgets/SelectWidget/index.js +0 -128
- package/dist/cjs/widgets/SubmitButton/SubmitButton.js +0 -38
- package/dist/cjs/widgets/SubmitButton/index.js +0 -32
- package/dist/cjs/widgets/TextWidget/index.js +0 -81
- package/dist/cjs/widgets/TextareaWidget/index.js +0 -64
- package/dist/cjs/widgets/URLWidget/index.js +0 -63
- package/dist/cjs/widgets/UpDownWidget/index.js +0 -61
- package/dist/es/ErrorList.js +0 -30
- package/dist/es/components/DatePicker/index.js +0 -5
- package/dist/es/fields/DescriptionField/index.js +0 -12
- package/dist/es/fields/TitleField/index.js +0 -51
- package/dist/es/index.js +0 -71
- package/dist/es/templates/ArrayFieldTemplate/ArrayFieldTemplateItem.js +0 -67
- package/dist/es/templates/ArrayFieldTemplate/FixedArrayFieldTemplate.js +0 -84
- package/dist/es/templates/ArrayFieldTemplate/NormalArrayFieldTemplate.js +0 -84
- package/dist/es/templates/ArrayFieldTemplate/index.js +0 -172
- package/dist/es/templates/FieldTemplate/WrapIfAdditional.js +0 -105
- package/dist/es/templates/FieldTemplate/index.js +0 -89
- package/dist/es/templates/ObjectFieldTemplate/index.js +0 -122
- package/dist/es/widgets/AltDateTimeWidget/index.js +0 -23
- package/dist/es/widgets/AltDateWidget/index.js +0 -215
- package/dist/es/widgets/CheckboxWidget/index.js +0 -46
- package/dist/es/widgets/CheckboxesWidget/index.js +0 -58
- package/dist/es/widgets/ColorWidget/index.js +0 -50
- package/dist/es/widgets/DateTimeWidget/index.js +0 -53
- package/dist/es/widgets/DateWidget/index.js +0 -53
- package/dist/es/widgets/EmailWidget/index.js +0 -51
- package/dist/es/widgets/PasswordWidget/index.js +0 -47
- package/dist/es/widgets/RadioWidget/index.js +0 -58
- package/dist/es/widgets/RangeWidget/index.js +0 -59
- package/dist/es/widgets/SelectWidget/index.js +0 -115
- package/dist/es/widgets/SubmitButton/SubmitButton.js +0 -23
- package/dist/es/widgets/SubmitButton/index.js +0 -3
- package/dist/es/widgets/TextWidget/index.js +0 -68
- package/dist/es/widgets/TextareaWidget/index.js +0 -52
- package/dist/es/widgets/URLWidget/index.js +0 -51
- package/dist/es/widgets/UpDownWidget/index.js +0 -49
- package/dist/rjsf-antd.js +0 -38
- package/dist/rjsf-antd.js.map +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
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";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,21 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,15 @@
|
|
|
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;
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default TextWidget;
|
|
2
|
+
declare function TextWidget({ disabled, formContext, id, onBlur, onChange, onFocus, options, placeholder, readonly, schema, 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
|
+
schema: any;
|
|
13
|
+
value: any;
|
|
14
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default TextareaWidget;
|
|
2
|
+
declare function TextareaWidget({ 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;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default URLWidget;
|
|
2
|
+
declare function URLWidget({ 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;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default UpDownWidget;
|
|
2
|
+
declare function UpDownWidget({ 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;
|
package/package.json
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rjsf/antd",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "Ant Design theme, fields and widgets for react-jsonschema-form",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "dist/
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/antd.esm.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"
|
|
9
|
-
"build
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"clean": "rimraf dist",
|
|
13
|
-
"lint": "eslint src test",
|
|
14
|
-
"start": "concurrently \"npm:build:* -- --watch\"",
|
|
15
|
-
"test": "cross-env NODE_ENV=test BABEL_ENV=test jest",
|
|
16
|
-
"test:update": "cross-env NODE_ENV=test BABEL_ENV=test jest --u"
|
|
8
|
+
"start": "tsdx watch",
|
|
9
|
+
"build": "rimraf dist && tsdx build --format cjs,es,umd",
|
|
10
|
+
"test": "tsdx test",
|
|
11
|
+
"test:update": "tsdx test --u"
|
|
17
12
|
},
|
|
18
13
|
"files": [
|
|
19
14
|
"dist"
|
|
@@ -34,6 +29,7 @@
|
|
|
34
29
|
"antd-dayjs-webpack-plugin": "1.0.0",
|
|
35
30
|
"dayjs": "^1.8.0",
|
|
36
31
|
"lodash": "^4.17.15",
|
|
32
|
+
"lodash-es": "^4.17.15",
|
|
37
33
|
"react": ">=16"
|
|
38
34
|
},
|
|
39
35
|
"devDependencies": {
|
|
@@ -45,7 +41,7 @@
|
|
|
45
41
|
"@babel/preset-env": "^7.10.3",
|
|
46
42
|
"@babel/preset-react": "^7.0.0",
|
|
47
43
|
"@babel/register": "^7.4.4",
|
|
48
|
-
"@rjsf/core": "^4.2.
|
|
44
|
+
"@rjsf/core": "^4.2.3",
|
|
49
45
|
"antd": "^4.0.0",
|
|
50
46
|
"atob": "^2.0.3",
|
|
51
47
|
"babel-eslint": "^10.0.1",
|
|
@@ -64,13 +60,13 @@
|
|
|
64
60
|
"less": "^3.10.3",
|
|
65
61
|
"less-loader": "^5.0.0",
|
|
66
62
|
"lodash": "^4.17.15",
|
|
63
|
+
"lodash-es": "^4.17.15",
|
|
67
64
|
"react": "^16.8.6",
|
|
68
65
|
"react-dom": "^16.8.6",
|
|
69
66
|
"react-test-renderer": "^16.13.1",
|
|
70
67
|
"rimraf": "^3.0.2",
|
|
71
68
|
"style-loader": "^2.0.0",
|
|
72
69
|
"webpack": "^4.20.2",
|
|
73
|
-
"webpack-cli": "^3.1.2",
|
|
74
70
|
"webpack-dev-middleware": "^3.4.0",
|
|
75
71
|
"webpack-hot-middleware": "^2.13.2"
|
|
76
72
|
},
|
|
@@ -97,5 +93,5 @@
|
|
|
97
93
|
"publishConfig": {
|
|
98
94
|
"access": "public"
|
|
99
95
|
},
|
|
100
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "35663cf43dd1351a9f0d8e7d238e7dca22b4d378"
|
|
101
97
|
}
|
package/dist/cjs/ErrorList.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _alert = _interopRequireDefault(require("antd/lib/alert"));
|
|
11
|
-
|
|
12
|
-
var _list = _interopRequireDefault(require("antd/lib/list"));
|
|
13
|
-
|
|
14
|
-
var _space = _interopRequireDefault(require("antd/lib/space"));
|
|
15
|
-
|
|
16
|
-
var _ExclamationCircleOutlined = _interopRequireDefault(require("@ant-design/icons/ExclamationCircleOutlined"));
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
20
|
-
var ErrorList = function ErrorList(_ref) {
|
|
21
|
-
var errors = _ref.errors;
|
|
22
|
-
|
|
23
|
-
var renderErrors = function renderErrors() {
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(_list.default, {
|
|
25
|
-
className: "list-group",
|
|
26
|
-
size: "small"
|
|
27
|
-
}, errors.map(function (error, index) {
|
|
28
|
-
return /*#__PURE__*/_react.default.createElement(_list.default.Item, {
|
|
29
|
-
key: index
|
|
30
|
-
}, /*#__PURE__*/_react.default.createElement(_space.default, null, /*#__PURE__*/_react.default.createElement(_ExclamationCircleOutlined.default, null), error.stack));
|
|
31
|
-
}));
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
return /*#__PURE__*/_react.default.createElement(_alert.default, {
|
|
35
|
-
className: "panel panel-danger errors",
|
|
36
|
-
description: renderErrors(),
|
|
37
|
-
message: "Errors",
|
|
38
|
-
type: "error"
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
var _default = ErrorList;
|
|
43
|
-
exports.default = _default;
|
|
44
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9FcnJvckxpc3QuanMiXSwibmFtZXMiOlsiRXJyb3JMaXN0IiwiZXJyb3JzIiwicmVuZGVyRXJyb3JzIiwibWFwIiwiZXJyb3IiLCJpbmRleCIsInN0YWNrIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUE7O0FBQ0E7O0FBQ0E7O0FBQ0E7Ozs7QUFFQSxJQUFNQSxTQUFTLEdBQUcsU0FBWkEsU0FBWSxPQU1aO0FBQUEsTUFKSkMsTUFJSSxRQUpKQSxNQUlJOztBQUNKLE1BQU1DLFlBQVksR0FBRyxTQUFmQSxZQUFlO0FBQUEsd0JBQ25CLDZCQUFDLGFBQUQ7QUFBTSxNQUFBLFNBQVMsRUFBQyxZQUFoQjtBQUE2QixNQUFBLElBQUksRUFBQztBQUFsQyxPQUNHRCxNQUFNLENBQUNFLEdBQVAsQ0FBVyxVQUFDQyxLQUFELEVBQVFDLEtBQVI7QUFBQSwwQkFDViw2QkFBQyxhQUFELENBQU0sSUFBTjtBQUFXLFFBQUEsR0FBRyxFQUFFQTtBQUFoQixzQkFDRSw2QkFBQyxjQUFELHFCQUNFLDZCQUFDLGtDQUFELE9BREYsRUFFR0QsS0FBSyxDQUFDRSxLQUZULENBREYsQ0FEVTtBQUFBLEtBQVgsQ0FESCxDQURtQjtBQUFBLEdBQXJCOztBQWFBLHNCQUNFLDZCQUFDLGNBQUQ7QUFDRSxJQUFBLFNBQVMsRUFBQywyQkFEWjtBQUVFLElBQUEsV0FBVyxFQUFFSixZQUFZLEVBRjNCO0FBR0UsSUFBQSxPQUFPLEVBQUMsUUFIVjtBQUlFLElBQUEsSUFBSSxFQUFDO0FBSlAsSUFERjtBQVFELENBNUJEOztlQThCZUYsUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5cbmltcG9ydCBBbGVydCBmcm9tICdhbnRkL2xpYi9hbGVydCc7XG5pbXBvcnQgTGlzdCBmcm9tICdhbnRkL2xpYi9saXN0JztcbmltcG9ydCBTcGFjZSBmcm9tICdhbnRkL2xpYi9zcGFjZSc7XG5pbXBvcnQgRXhjbGFtYXRpb25DaXJjbGVPdXRsaW5lZCBmcm9tICdAYW50LWRlc2lnbi9pY29ucy9FeGNsYW1hdGlvbkNpcmNsZU91dGxpbmVkJztcblxuY29uc3QgRXJyb3JMaXN0ID0gKHtcbiAgLy8gZXJyb3JTY2hlbWEsXG4gIGVycm9ycyxcbiAgLy8gZm9ybUNvbnRleHQsXG4gIC8vIHNjaGVtYSxcbiAgLy8gdWlTY2hlbWEsXG59KSA9PiB7XG4gIGNvbnN0IHJlbmRlckVycm9ycyA9ICgpID0+IChcbiAgICA8TGlzdCBjbGFzc05hbWU9XCJsaXN0LWdyb3VwXCIgc2l6ZT1cInNtYWxsXCI+XG4gICAgICB7ZXJyb3JzLm1hcCgoZXJyb3IsIGluZGV4KSA9PiAoXG4gICAgICAgIDxMaXN0Lkl0ZW0ga2V5PXtpbmRleH0+XG4gICAgICAgICAgPFNwYWNlPlxuICAgICAgICAgICAgPEV4Y2xhbWF0aW9uQ2lyY2xlT3V0bGluZWQgLz5cbiAgICAgICAgICAgIHtlcnJvci5zdGFja31cbiAgICAgICAgICA8L1NwYWNlPlxuICAgICAgICA8L0xpc3QuSXRlbT5cbiAgICAgICkpfVxuICAgIDwvTGlzdD5cbiAgKTtcblxuICByZXR1cm4gKFxuICAgIDxBbGVydFxuICAgICAgY2xhc3NOYW1lPVwicGFuZWwgcGFuZWwtZGFuZ2VyIGVycm9yc1wiXG4gICAgICBkZXNjcmlwdGlvbj17cmVuZGVyRXJyb3JzKCl9XG4gICAgICBtZXNzYWdlPVwiRXJyb3JzXCJcbiAgICAgIHR5cGU9XCJlcnJvclwiXG4gICAgLz5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEVycm9yTGlzdDtcbiJdfQ==
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _dayjs = _interopRequireDefault(require("rc-picker/lib/generate/dayjs"));
|
|
9
|
-
|
|
10
|
-
var _generatePicker = _interopRequireDefault(require("antd/lib/date-picker/generatePicker"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
var DatePicker = (0, _generatePicker.default)(_dayjs.default);
|
|
15
|
-
var _default = DatePicker;
|
|
16
|
-
exports.default = _default;
|
|
17
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0RhdGVQaWNrZXIvaW5kZXguanMiXSwibmFtZXMiOlsiRGF0ZVBpY2tlciIsImRheWpzR2VuZXJhdGVDb25maWciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7OztBQUVBLElBQU1BLFVBQVUsR0FBRyw2QkFBZUMsY0FBZixDQUFuQjtlQUVlRCxVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGRheWpzR2VuZXJhdGVDb25maWcgZnJvbSAncmMtcGlja2VyL2xpYi9nZW5lcmF0ZS9kYXlqcyc7XG5pbXBvcnQgZ2VuZXJhdGVQaWNrZXIgZnJvbSAnYW50ZC9saWIvZGF0ZS1waWNrZXIvZ2VuZXJhdGVQaWNrZXInO1xuXG5jb25zdCBEYXRlUGlja2VyID0gZ2VuZXJhdGVQaWNrZXIoZGF5anNHZW5lcmF0ZUNvbmZpZyk7XG5cbmV4cG9ydCBkZWZhdWx0IERhdGVQaWNrZXI7XG4iXX0=
|