@jswork/antd-components 1.0.94 → 1.0.95

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/main.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { HTMLAttributes, Component, ReactNode } from 'react';
2
- import * as antd from 'antd';
3
- import { InputProps, BreadcrumbProps, MenuProps, CheckboxProps, PopconfirmProps, ButtonProps, DatePickerProps, InputNumberProps, RateProps, SelectProps, SliderSingleProps, SwitchProps, TimePickerProps, TransferProps, TreeProps, TreeSelectProps, UploadFile, UploadProps } from 'antd';
2
+ import * as antd_es_modal_confirm from 'antd/es/modal/confirm';
3
+ import { InputProps, BreadcrumbProps, MenuProps, CheckboxProps, PopconfirmProps, ButtonProps, DatePickerProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderSingleProps, SwitchProps, TimePickerProps, TransferProps, TreeProps, TreeSelectProps, UploadFile, UploadProps } from 'antd';
4
4
  import { TemplateArgs } from '@jswork/react-list';
5
5
  import { SizeType } from 'antd/es/config-provider/SizeContext';
6
6
  import { CheckableTagProps } from 'antd/es/tag';
@@ -76,7 +76,7 @@ declare global {
76
76
  }
77
77
  declare const alert: (inMessage: string, inTitle?: String) => {
78
78
  destroy: () => void;
79
- update: (configUpdate: antd.ModalFuncProps | ((prevConfig: antd.ModalFuncProps) => antd.ModalFuncProps)) => void;
79
+ update: (configUpdate: antd_es_modal_confirm.ConfigUpdate) => void;
80
80
  };
81
81
  declare const confirm: (inMessage: string, inTitle?: String) => Promise<unknown>;
82
82
  declare const prompt: (inMessage: string, inOptions?: InputProps) => Promise<unknown>;
@@ -659,7 +659,7 @@ type Props$f = {
659
659
  template?: TemplateCallback$2;
660
660
  templateOptions?: any;
661
661
  buttonStyle?: 'solid' | 'outline';
662
- } & HTMLAttributes<any>;
662
+ } & RadioGroupProps & HTMLAttributes<any>;
663
663
  declare class AcRadioGroup extends React.Component<Props$f> {
664
664
  static displayName: string;
665
665
  static formSchema: string;
package/dist/main.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { HTMLAttributes, Component, ReactNode } from 'react';
2
- import * as antd from 'antd';
3
- import { InputProps, BreadcrumbProps, MenuProps, CheckboxProps, PopconfirmProps, ButtonProps, DatePickerProps, InputNumberProps, RateProps, SelectProps, SliderSingleProps, SwitchProps, TimePickerProps, TransferProps, TreeProps, TreeSelectProps, UploadFile, UploadProps } from 'antd';
2
+ import * as antd_es_modal_confirm from 'antd/es/modal/confirm';
3
+ import { InputProps, BreadcrumbProps, MenuProps, CheckboxProps, PopconfirmProps, ButtonProps, DatePickerProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderSingleProps, SwitchProps, TimePickerProps, TransferProps, TreeProps, TreeSelectProps, UploadFile, UploadProps } from 'antd';
4
4
  import { TemplateArgs } from '@jswork/react-list';
5
5
  import { SizeType } from 'antd/es/config-provider/SizeContext';
6
6
  import { CheckableTagProps } from 'antd/es/tag';
@@ -76,7 +76,7 @@ declare global {
76
76
  }
77
77
  declare const alert: (inMessage: string, inTitle?: String) => {
78
78
  destroy: () => void;
79
- update: (configUpdate: antd.ModalFuncProps | ((prevConfig: antd.ModalFuncProps) => antd.ModalFuncProps)) => void;
79
+ update: (configUpdate: antd_es_modal_confirm.ConfigUpdate) => void;
80
80
  };
81
81
  declare const confirm: (inMessage: string, inTitle?: String) => Promise<unknown>;
82
82
  declare const prompt: (inMessage: string, inOptions?: InputProps) => Promise<unknown>;
@@ -659,7 +659,7 @@ type Props$f = {
659
659
  template?: TemplateCallback$2;
660
660
  templateOptions?: any;
661
661
  buttonStyle?: 'solid' | 'outline';
662
- } & HTMLAttributes<any>;
662
+ } & RadioGroupProps & HTMLAttributes<any>;
663
663
  declare class AcRadioGroup extends React.Component<Props$f> {
664
664
  static displayName: string;
665
665
  static formSchema: string;