dt-shared-front 2.2.59-alpha.1 → 2.2.59-alpha.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.
@@ -12,6 +12,9 @@ export declare enum EIconVariant {
12
12
  attention = "attention",
13
13
  revert = "revert",
14
14
  warning = "warning",
15
+ error = "error",
16
+ neutral = "neutral",
17
+ success = "success",
15
18
  initial = "initial",
16
19
  light = "light",
17
20
  inherit = "inherit",
@@ -34,6 +34,8 @@ export declare type IInputProps = {
34
34
  debounceTime?: number;
35
35
  labelPlaceholder?: string | ReactNode;
36
36
  mask?: string;
37
+ maskObj?: any;
38
+ maskParams?: any;
37
39
  isWbTheme?: boolean;
38
40
  onClear?: (val?: string) => void;
39
41
  onBeforeMask?: (val?: string) => void;
@@ -59,6 +61,8 @@ export declare const Input: React.ForwardRefExoticComponent<{
59
61
  debounceTime?: number;
60
62
  labelPlaceholder?: string | ReactNode;
61
63
  mask?: string;
64
+ maskObj?: any;
65
+ maskParams?: any;
62
66
  isWbTheme?: boolean;
63
67
  onClear?: (val?: string) => void;
64
68
  onBeforeMask?: (val?: string) => void;
@@ -4,6 +4,7 @@ interface ISpoilerProps {
4
4
  title: string | ReactNode;
5
5
  initialValue?: boolean;
6
6
  className?: string;
7
+ isWbTheme?: boolean;
7
8
  }
8
9
  export declare const Spoiler: (props: PropsWithChildren<ISpoilerProps>) => React.JSX.Element;
9
10
  export {};
@@ -0,0 +1 @@
1
+ export { showToast } from './toast';
@@ -0,0 +1,3 @@
1
+ import type { ArgsProps } from 'antd/lib/notification';
2
+ export declare type IToastParams = ArgsProps;
3
+ export declare const showToast: (params: IToastParams) => void;
package/dist/index.d.ts CHANGED
@@ -53,3 +53,4 @@ export type { PropsWithPopover } from './components/popover';
53
53
  export type { IPopoverRef } from './components/popover/popover';
54
54
  export { adapter, BaseService } from './service';
55
55
  export type { IBaseServiceStreamOptions } from './service';
56
+ export { showToast } from './components/toast';