@fewbox/den-web 0.1.12 → 0.1.16
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/index-core.d.ts +5 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +4 -5
- package/src/components/Auth/FigmaSignin/index.d.ts +1 -1
- package/src/components/Auth/GoogleGrant/index.d.ts +1 -1
- package/src/components/Auth/GoogleSignin/index.d.ts +1 -1
- package/src/components/Auth/WeComSignin/index.d.ts +1 -1
- package/src/components/Debug/index.d.ts +1 -1
- package/src/components/Engine/Base/index.d.ts +2 -2
- package/src/components/Layout/Display/index.d.ts +1 -1
- package/src/components/Layout/Dock/index.d.ts +2 -2
- package/src/components/Layout/Flex/index.d.ts +1 -1
- package/src/components/Layout/FlexItem/index.d.ts +1 -1
- package/src/components/Layout/Position/index.d.ts +1 -1
- package/src/components/Layout/PositionArea/index.d.ts +1 -1
- package/src/components/Layout/Responsive/index.d.ts +3 -3
- package/src/components/Layout/SBaseline/index.d.ts +1 -1
- package/src/components/Layout/SBottom/index.d.ts +1 -1
- package/src/components/Layout/SCenter/index.d.ts +1 -1
- package/src/components/Layout/SLeft/index.d.ts +1 -1
- package/src/components/Layout/SMiddle/index.d.ts +1 -1
- package/src/components/Layout/SRight/index.d.ts +1 -1
- package/src/components/Layout/SStretch/index.d.ts +1 -1
- package/src/components/Layout/STop/index.d.ts +1 -1
- package/src/components/Layout/X/index.d.ts +1 -1
- package/src/components/Layout/XAround/index.d.ts +1 -1
- package/src/components/Layout/XAutoBoth/index.d.ts +1 -1
- package/src/components/Layout/XAutoCenter/index.d.ts +1 -1
- package/src/components/Layout/XAutoLeft/index.d.ts +1 -1
- package/src/components/Layout/XAutoLefts/index.d.ts +1 -1
- package/src/components/Layout/XAutoRight/index.d.ts +1 -1
- package/src/components/Layout/XAutoRights/index.d.ts +1 -1
- package/src/components/Layout/XBase/index.d.ts +1 -1
- package/src/components/Layout/XBetween/index.d.ts +1 -1
- package/src/components/Layout/XCenter/index.d.ts +1 -1
- package/src/components/Layout/XCustom/index.d.ts +1 -1
- package/src/components/Layout/XCustomBoth/index.d.ts +1 -1
- package/src/components/Layout/XEvenly/index.d.ts +1 -1
- package/src/components/Layout/XLeft/index.d.ts +1 -1
- package/src/components/Layout/XRight/index.d.ts +1 -1
- package/src/components/Layout/XWrapAround/index.d.ts +1 -1
- package/src/components/Layout/XWrapBetween/index.d.ts +1 -1
- package/src/components/Layout/XWrapBottom/index.d.ts +1 -1
- package/src/components/Layout/XWrapEvenly/index.d.ts +1 -1
- package/src/components/Layout/XWrapMiddle/index.d.ts +1 -1
- package/src/components/Layout/XWrapTop/index.d.ts +1 -1
- package/src/components/Layout/Y/index.d.ts +1 -1
- package/src/components/Layout/YAround/index.d.ts +1 -1
- package/src/components/Layout/YAutoBoth/index.d.ts +1 -1
- package/src/components/Layout/YAutoBottom/index.d.ts +1 -1
- package/src/components/Layout/YAutoBottoms/index.d.ts +1 -1
- package/src/components/Layout/YAutoCenter/index.d.ts +1 -1
- package/src/components/Layout/YAutoTop/index.d.ts +1 -1
- package/src/components/Layout/YAutoTops/index.d.ts +1 -1
- package/src/components/Layout/YBase/index.d.ts +1 -1
- package/src/components/Layout/YBetween/index.d.ts +1 -1
- package/src/components/Layout/YBottom/index.d.ts +1 -1
- package/src/components/Layout/YCustom/index.d.ts +1 -1
- package/src/components/Layout/YCustomBoth/index.d.ts +1 -1
- package/src/components/Layout/YEvenly/index.d.ts +1 -1
- package/src/components/Layout/YMiddle/index.d.ts +1 -1
- package/src/components/Layout/YTop/index.d.ts +1 -1
- package/src/components/Layout/YWrapAround/index.d.ts +1 -1
- package/src/components/Layout/YWrapBetween/index.d.ts +1 -1
- package/src/components/Layout/YWrapCenter/index.d.ts +1 -1
- package/src/components/Layout/YWrapEvenly/index.d.ts +1 -1
- package/src/components/Layout/YWrapLeft/index.d.ts +1 -1
- package/src/components/Layout/YWrapRight/index.d.ts +1 -1
- package/src/components/View/VActionForm/index.d.ts +1 -1
- package/src/components/View/VAnimation/index.d.ts +1 -1
- package/src/components/View/VAudio/index.d.ts +1 -1
- package/src/components/View/VAvatar/index.d.ts +3 -3
- package/src/components/View/VBackground/index.d.ts +1 -1
- package/src/components/View/VBadge/index.d.ts +2 -2
- package/src/components/View/VBlock/index.d.ts +5 -5
- package/src/components/View/VCard/index.d.ts +3 -3
- package/src/components/View/VCardMedia/index.d.ts +5 -5
- package/src/components/View/VCardSocial/index.d.ts +9 -9
- package/src/components/View/VCardWindow/index.d.ts +1 -1
- package/src/components/View/VChromeExtensionValidator/index.d.ts +4 -4
- package/src/components/View/VFooter/index.d.ts +1 -1
- package/src/components/View/VForm/index.d.ts +1 -1
- package/src/components/View/VFrame/index.d.ts +1 -1
- package/src/components/View/VGoogleFont/index.d.ts +1 -1
- package/src/components/View/VHR/index.d.ts +1 -1
- package/src/components/View/VHeader/index.d.ts +1 -1
- package/src/components/View/VHyperlink/index.d.ts +1 -1
- package/src/components/View/VImage/index.d.ts +1 -1
- package/src/components/View/VInput/VBase64File/index.d.ts +2 -2
- package/src/components/View/VInput/VCheckBox/index.d.ts +1 -1
- package/src/components/View/VInput/VColor/index.d.ts +1 -1
- package/src/components/View/VInput/VDate/index.d.ts +1 -1
- package/src/components/View/VInput/VDatetimeLocal/index.d.ts +1 -1
- package/src/components/View/VInput/VDropdown/index.d.ts +8 -8
- package/src/components/View/VInput/VEmail/index.d.ts +1 -1
- package/src/components/View/VInput/VFile/index.d.ts +4 -4
- package/src/components/View/VInput/VGroup/index.d.ts +2 -2
- package/src/components/View/VInput/VMonth/index.d.ts +1 -1
- package/src/components/View/VInput/VNumber/index.d.ts +1 -1
- package/src/components/View/VInput/VPassword/index.d.ts +1 -1
- package/src/components/View/VInput/VRadio/index.d.ts +1 -1
- package/src/components/View/VInput/VRange/index.d.ts +1 -1
- package/src/components/View/VInput/VSearch/index.d.ts +1 -1
- package/src/components/View/VInput/VSubmit/index.d.ts +2 -2
- package/src/components/View/VInput/VSubmitWrapper/index.d.ts +2 -2
- package/src/components/View/VInput/VTel/index.d.ts +1 -1
- package/src/components/View/VInput/VTime/index.d.ts +1 -1
- package/src/components/View/VInput/VUrl/index.d.ts +1 -1
- package/src/components/View/VInput/VWeek/index.d.ts +1 -1
- package/src/components/View/VInput/index.d.ts +3 -3
- package/src/components/View/VLabel/index.d.ts +2 -2
- package/src/components/View/VLoading/index.d.ts +1 -1
- package/src/components/View/VMain/index.d.ts +1 -1
- package/src/components/View/VMask/index.d.ts +1 -1
- package/src/components/View/VPhoto/index.d.ts +1 -1
- package/src/components/View/VSection/index.d.ts +1 -1
- package/src/components/View/VSelect/index.d.ts +1 -1
- package/src/components/View/VShadow/index.d.ts +1 -1
- package/src/components/View/VShape/VEllipse/index.d.ts +1 -1
- package/src/components/View/VShape/VLine/index.d.ts +1 -1
- package/src/components/View/VShape/VRectangle/index.d.ts +1 -1
- package/src/components/View/VStack/index.d.ts +1 -1
- package/src/components/View/VSvg/index.d.ts +1 -1
- package/src/components/View/VSwitch/index.d.ts +2 -2
- package/src/components/View/VTemplate/index.d.ts +1 -1
- package/src/components/View/VText/index.d.ts +2 -2
- package/src/components/View/VTextArea/index.d.ts +1 -1
- package/src/components/View/VTooltip/index.d.ts +2 -2
- package/src/components/View/VTree/Block/index.d.ts +4 -4
- package/src/components/View/VTree/index.d.ts +4 -4
- package/src/components/View/VVideo/index.d.ts +1 -1
- package/src/components/View/VZone/index.d.ts +1 -1
- package/src/components/core.d.ts +117 -0
- package/src/components/web.d.ts +1 -114
- package/templates/FEWBOX.md +6 -7
- package/src/components/Engine/BaseComponent/index.d.ts +0 -9
- package/src/components/View/VButton/index.d.ts +0 -15
- package/src/components/View/VLink/App/index.d.ts +0 -6
|
@@ -2,11 +2,11 @@ import { IBaseProps } from '../../Engine/Base';
|
|
|
2
2
|
import { ColorType } from '../../Engine';
|
|
3
3
|
import './index.scss';
|
|
4
4
|
export interface IVAvatarProps extends IBaseProps {
|
|
5
|
-
avatar: string | JSX.Element;
|
|
6
|
-
badge?: string | JSX.Element;
|
|
5
|
+
avatar: string | React.JSX.Element;
|
|
6
|
+
badge?: string | React.JSX.Element;
|
|
7
7
|
status?: ColorType;
|
|
8
8
|
badgeOffset?: string;
|
|
9
9
|
statusOffset?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const VAvatar: (props: IVAvatarProps) => JSX.Element;
|
|
11
|
+
declare const VAvatar: (props: IVAvatarProps) => React.JSX.Element;
|
|
12
12
|
export default VAvatar;
|
|
@@ -14,5 +14,5 @@ export interface IVBackgroundProps extends IBaseProps {
|
|
|
14
14
|
imageHeight?: Property.Height<TLength>;
|
|
15
15
|
position?: BackgroundPositionType;
|
|
16
16
|
}
|
|
17
|
-
declare const VBackground: (props: IVBackgroundProps) => JSX.Element;
|
|
17
|
+
declare const VBackground: (props: IVBackgroundProps) => React.JSX.Element;
|
|
18
18
|
export default VBackground;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVBadgeProps extends IBaseProps {
|
|
3
|
-
badge?: string | JSX.Element;
|
|
3
|
+
badge?: string | React.JSX.Element;
|
|
4
4
|
}
|
|
5
|
-
declare const VBadge: (props: IVBadgeProps) => JSX.Element;
|
|
5
|
+
declare const VBadge: (props: IVBadgeProps) => React.JSX.Element;
|
|
6
6
|
export default VBadge;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVBlockProps extends IBaseProps {
|
|
3
|
-
icon: JSX.Element;
|
|
4
|
-
action: JSX.Element;
|
|
5
|
-
caption: JSX.Element;
|
|
6
|
-
subCaption: JSX.Element;
|
|
3
|
+
icon: React.JSX.Element;
|
|
4
|
+
action: React.JSX.Element;
|
|
5
|
+
caption: React.JSX.Element;
|
|
6
|
+
subCaption: React.JSX.Element;
|
|
7
7
|
}
|
|
8
|
-
declare const VBlock: (props: IVBlockProps) => JSX.Element;
|
|
8
|
+
declare const VBlock: (props: IVBlockProps) => React.JSX.Element;
|
|
9
9
|
export default VBlock;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVCardProps extends IBaseProps {
|
|
3
|
-
head?: JSX.Element;
|
|
4
|
-
body?: JSX.Element;
|
|
3
|
+
head?: React.JSX.Element;
|
|
4
|
+
body?: React.JSX.Element;
|
|
5
5
|
isDraggable?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const VCard: (props: IVCardProps) => JSX.Element;
|
|
7
|
+
declare const VCard: (props: IVCardProps) => React.JSX.Element;
|
|
8
8
|
export default VCard;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVCardMediaProps extends IBaseProps {
|
|
3
|
-
media: JSX.Element;
|
|
4
|
-
head?: JSX.Element;
|
|
5
|
-
body?: JSX.Element;
|
|
6
|
-
foot?: JSX.Element;
|
|
3
|
+
media: React.JSX.Element;
|
|
4
|
+
head?: React.JSX.Element;
|
|
5
|
+
body?: React.JSX.Element;
|
|
6
|
+
foot?: React.JSX.Element;
|
|
7
7
|
}
|
|
8
|
-
declare const VCardMedia: (props: IVCardMediaProps) => JSX.Element;
|
|
8
|
+
declare const VCardMedia: (props: IVCardMediaProps) => React.JSX.Element;
|
|
9
9
|
export default VCardMedia;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVCardSocialProps extends IBaseProps {
|
|
3
|
-
caption: JSX.Element;
|
|
4
|
-
icon: JSX.Element;
|
|
5
|
-
avatar: JSX.Element;
|
|
6
|
-
name: JSX.Element;
|
|
7
|
-
post: JSX.Element;
|
|
8
|
-
hashTags: JSX.Element[];
|
|
9
|
-
leftAction: JSX.Element;
|
|
10
|
-
rightAction: JSX.Element;
|
|
3
|
+
caption: React.JSX.Element;
|
|
4
|
+
icon: React.JSX.Element;
|
|
5
|
+
avatar: React.JSX.Element;
|
|
6
|
+
name: React.JSX.Element;
|
|
7
|
+
post: React.JSX.Element;
|
|
8
|
+
hashTags: React.JSX.Element[];
|
|
9
|
+
leftAction: React.JSX.Element;
|
|
10
|
+
rightAction: React.JSX.Element;
|
|
11
11
|
}
|
|
12
|
-
declare const VCardSocial: (props: IVCardSocialProps) => JSX.Element;
|
|
12
|
+
declare const VCardSocial: (props: IVCardSocialProps) => React.JSX.Element;
|
|
13
13
|
export default VCardSocial;
|
|
@@ -11,5 +11,5 @@ export interface IVCardWindowProps extends IBaseProps {
|
|
|
11
11
|
export interface IVCardWindowStatus extends IBaseStates {
|
|
12
12
|
isDetailShow: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const VCardWindow: (props: IVCardWindowProps) => JSX.Element;
|
|
14
|
+
declare const VCardWindow: (props: IVCardWindowProps) => React.JSX.Element;
|
|
15
15
|
export default VCardWindow;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export interface IChromeExtensionValidatorProps {
|
|
2
2
|
extensionId: string;
|
|
3
3
|
version?: string;
|
|
4
|
-
uninstalledMessage?: string | JSX.Element;
|
|
5
|
-
outdatedMessage?: string | JSX.Element;
|
|
4
|
+
uninstalledMessage?: string | React.JSX.Element;
|
|
5
|
+
outdatedMessage?: string | React.JSX.Element;
|
|
6
6
|
downloadUrl?: string;
|
|
7
|
-
overWrite?: (status: ExtensionStatus, meta: any) => JSX.Element;
|
|
7
|
+
overWrite?: (status: ExtensionStatus, meta: any) => React.JSX.Element;
|
|
8
8
|
}
|
|
9
9
|
export declare enum ExtensionStatus {
|
|
10
10
|
Uninstalled = "uninstalled",
|
|
@@ -19,5 +19,5 @@ export interface IChromeExtensionValidatorStates {
|
|
|
19
19
|
meta?: Meta;
|
|
20
20
|
status?: ExtensionStatus;
|
|
21
21
|
}
|
|
22
|
-
declare const ChromeExtensionValidator: (props: IChromeExtensionValidatorProps) => JSX.Element;
|
|
22
|
+
declare const ChromeExtensionValidator: (props: IChromeExtensionValidatorProps) => React.JSX.Element;
|
|
23
23
|
export default ChromeExtensionValidator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVFooterProps extends IBaseProps<'footer'> {
|
|
3
3
|
}
|
|
4
|
-
declare const VFooter: (props: IVFooterProps) => JSX.Element;
|
|
4
|
+
declare const VFooter: (props: IVFooterProps) => React.JSX.Element;
|
|
5
5
|
export default VFooter;
|
|
@@ -9,5 +9,5 @@ export interface IVFormProps extends IBaseProps<'form'> {
|
|
|
9
9
|
handleValidateError?: (input: HTMLInputElement) => void;
|
|
10
10
|
errorColor?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const VForm: (props: IVFormProps) => JSX.Element;
|
|
12
|
+
declare const VForm: (props: IVFormProps) => React.JSX.Element;
|
|
13
13
|
export default VForm;
|
|
@@ -14,5 +14,5 @@ export interface IGoogleTypeface {
|
|
|
14
14
|
export interface IVGoogleFontProps {
|
|
15
15
|
typefaces: IGoogleTypeface[];
|
|
16
16
|
}
|
|
17
|
-
declare const VGoogleFont: (props: IVGoogleFontProps) => JSX.Element;
|
|
17
|
+
declare const VGoogleFont: (props: IVGoogleFontProps) => React.JSX.Element;
|
|
18
18
|
export default VGoogleFont;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVHeaderProps extends IBaseProps<'header'> {
|
|
3
3
|
}
|
|
4
|
-
declare const VHeader: (props: IVHeaderProps) => JSX.Element;
|
|
4
|
+
declare const VHeader: (props: IVHeaderProps) => React.JSX.Element;
|
|
5
5
|
export default VHeader;
|
|
@@ -9,5 +9,5 @@ export interface IVHyperlinkProps extends IBaseProps<'a'> {
|
|
|
9
9
|
category: HyperlinkCategory;
|
|
10
10
|
to: string;
|
|
11
11
|
}
|
|
12
|
-
declare const VHyperlink: (props: IVHyperlinkProps) => JSX.Element;
|
|
12
|
+
declare const VHyperlink: (props: IVHyperlinkProps) => React.JSX.Element;
|
|
13
13
|
export default VHyperlink;
|
|
@@ -9,5 +9,5 @@ export declare enum ImageCategory {
|
|
|
9
9
|
export interface IVImageProps extends IBaseProps<'img'> {
|
|
10
10
|
category?: ImageCategory;
|
|
11
11
|
}
|
|
12
|
-
declare const VImage: (props: IVImageProps) => JSX.Element;
|
|
12
|
+
declare const VImage: (props: IVImageProps) => React.JSX.Element;
|
|
13
13
|
export default VImage;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IBaseInputProps } from "..";
|
|
2
2
|
export interface IVBase64FileProps extends IBaseInputProps {
|
|
3
|
-
fileIcon?: JSX.Element;
|
|
3
|
+
fileIcon?: React.JSX.Element;
|
|
4
4
|
base64Image: string;
|
|
5
5
|
}
|
|
6
6
|
export interface IVBase64FileStates {
|
|
7
7
|
base64Image: string;
|
|
8
8
|
}
|
|
9
|
-
declare const VBase64File: (props: IVBase64FileProps) => JSX.Element;
|
|
9
|
+
declare const VBase64File: (props: IVBase64FileProps) => React.JSX.Element;
|
|
10
10
|
export default VBase64File;
|
|
@@ -5,5 +5,5 @@ export interface IVCheckBoxProps extends IBaseInputProps {
|
|
|
5
5
|
export interface IVCheckBoxStates {
|
|
6
6
|
isChecked?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const VCheckBox: (props: IVCheckBoxProps) => JSX.Element;
|
|
8
|
+
declare const VCheckBox: (props: IVCheckBoxProps) => React.JSX.Element;
|
|
9
9
|
export default VCheckBox;
|
|
@@ -3,5 +3,5 @@ export interface IVDatetimeLocalProps extends IBaseInputProps {
|
|
|
3
3
|
}
|
|
4
4
|
export interface IVDatetimeLocalProps {
|
|
5
5
|
}
|
|
6
|
-
declare const VDatetimeLocal: (props: IVDatetimeLocalProps) => JSX.Element;
|
|
6
|
+
declare const VDatetimeLocal: (props: IVDatetimeLocalProps) => React.JSX.Element;
|
|
7
7
|
export default VDatetimeLocal;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { IBaseProps } from "../../../Engine/Base";
|
|
2
2
|
import { InputExtensionItem } from "..";
|
|
3
3
|
export interface IDropdownItemData {
|
|
4
|
-
icon?: JSX.Element;
|
|
4
|
+
icon?: React.JSX.Element;
|
|
5
5
|
caption: string;
|
|
6
6
|
value: string;
|
|
7
7
|
}
|
|
8
8
|
export interface IVDropdownProps extends IBaseProps {
|
|
9
9
|
value?: string | ReadonlyArray<string> | number | undefined;
|
|
10
10
|
name?: string;
|
|
11
|
-
icon?: JSX.Element;
|
|
12
|
-
emptyIcon: JSX.Element;
|
|
13
|
-
downIcon: JSX.Element;
|
|
14
|
-
upIcon: JSX.Element;
|
|
11
|
+
icon?: React.JSX.Element;
|
|
12
|
+
emptyIcon: React.JSX.Element;
|
|
13
|
+
downIcon: React.JSX.Element;
|
|
14
|
+
upIcon: React.JSX.Element;
|
|
15
15
|
enableClear?: boolean;
|
|
16
16
|
isReadonly?: boolean;
|
|
17
17
|
items: IDropdownItemData[];
|
|
18
18
|
extensions?: InputExtensionItem[];
|
|
19
|
-
overWriteDropdownItem?: (item: IDropdownItemData) => JSX.Element;
|
|
19
|
+
overWriteDropdownItem?: (item: IDropdownItemData) => React.JSX.Element;
|
|
20
20
|
handleChange?: (value: string) => void;
|
|
21
21
|
}
|
|
22
22
|
export interface IVDropdownStates {
|
|
23
23
|
isSelectionShow: boolean;
|
|
24
|
-
selectIcon?: JSX.Element;
|
|
24
|
+
selectIcon?: React.JSX.Element;
|
|
25
25
|
selectValue: string | ReadonlyArray<string> | number | undefined;
|
|
26
26
|
selectCaption: string | ReadonlyArray<string> | number | undefined;
|
|
27
27
|
items: IDropdownItemData[];
|
|
28
28
|
}
|
|
29
|
-
declare const VDropdown: (props: IVDropdownProps) => JSX.Element;
|
|
29
|
+
declare const VDropdown: (props: IVDropdownProps) => React.JSX.Element;
|
|
30
30
|
export default VDropdown;
|
|
@@ -10,19 +10,19 @@ export interface InputFile {
|
|
|
10
10
|
}
|
|
11
11
|
export interface IVFileProps extends IBaseInputProps {
|
|
12
12
|
category?: FileCategory;
|
|
13
|
-
appearance: JSX.Element;
|
|
14
|
-
loader?: JSX.Element;
|
|
13
|
+
appearance: React.JSX.Element;
|
|
14
|
+
loader?: React.JSX.Element;
|
|
15
15
|
loaderSize?: FontSizeType;
|
|
16
16
|
loaderColor?: ColorType;
|
|
17
17
|
isPreview: boolean;
|
|
18
18
|
previewImageWidth?: number;
|
|
19
19
|
textLength?: number;
|
|
20
20
|
autoUpload?: (files: File[], complete: () => void) => void;
|
|
21
|
-
renderLoader?: () => JSX.Element;
|
|
21
|
+
renderLoader?: () => React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
export interface IVFileStates {
|
|
24
24
|
isLoading: boolean;
|
|
25
25
|
inputFiles: InputFile[];
|
|
26
26
|
}
|
|
27
|
-
declare const VFile: (props: IVFileProps) => JSX.Element;
|
|
27
|
+
declare const VFile: (props: IVFileProps) => React.JSX.Element;
|
|
28
28
|
export default VFile;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IBaseProps } from "../../../Engine/Base";
|
|
2
2
|
export interface IVGroupProps extends IBaseProps {
|
|
3
3
|
selectedValue: string;
|
|
4
|
-
renderGroup: (selectedValue: string, hanldeSelect: React.ChangeEventHandler<any>) => JSX.Element;
|
|
4
|
+
renderGroup: (selectedValue: string, hanldeSelect: React.ChangeEventHandler<any>) => React.JSX.Element;
|
|
5
5
|
}
|
|
6
6
|
export interface IVGroupStates {
|
|
7
7
|
selectedValue: string;
|
|
8
8
|
}
|
|
9
|
-
declare const VGroup: (props: IVGroupProps) => JSX.Element;
|
|
9
|
+
declare const VGroup: (props: IVGroupProps) => React.JSX.Element;
|
|
10
10
|
export default VGroup;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBaseInputProps } from "..";
|
|
2
2
|
export interface IVPasswordProps extends IBaseInputProps {
|
|
3
3
|
}
|
|
4
|
-
declare const VPassword: (props: IVPasswordProps) => JSX.Element;
|
|
4
|
+
declare const VPassword: (props: IVPasswordProps) => React.JSX.Element;
|
|
5
5
|
export default VPassword;
|
|
@@ -2,5 +2,5 @@ import { IBaseInputProps } from "..";
|
|
|
2
2
|
export interface IVRadioProps extends IBaseInputProps {
|
|
3
3
|
isChecked?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const VRadio: (props: IVRadioProps) => JSX.Element;
|
|
5
|
+
declare const VRadio: (props: IVRadioProps) => React.JSX.Element;
|
|
6
6
|
export default VRadio;
|
|
@@ -4,5 +4,5 @@ export interface IVRangeProps extends IBaseInputProps {
|
|
|
4
4
|
controlBackgroundColor: ColorType;
|
|
5
5
|
controlBorderColor: ColorType;
|
|
6
6
|
}
|
|
7
|
-
declare const VRange: (props: IVRangeProps) => JSX.Element;
|
|
7
|
+
declare const VRange: (props: IVRangeProps) => React.JSX.Element;
|
|
8
8
|
export default VRange;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IBaseInputProps } from "..";
|
|
2
2
|
export interface IVSubmitProps extends IBaseInputProps {
|
|
3
|
-
caption: string | JSX.Element;
|
|
3
|
+
caption: string | React.JSX.Element;
|
|
4
4
|
isFormNoValidate?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const VSubmit: (props: IVSubmitProps) => JSX.Element;
|
|
6
|
+
declare const VSubmit: (props: IVSubmitProps) => React.JSX.Element;
|
|
7
7
|
export default VSubmit;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IBaseInputProps } from "..";
|
|
2
2
|
export interface IVSubmitWrapperProps extends IBaseInputProps {
|
|
3
|
-
body: JSX.Element;
|
|
3
|
+
body: React.JSX.Element;
|
|
4
4
|
}
|
|
5
|
-
declare const VSubmitWrapper: (props: IVSubmitWrapperProps) => JSX.Element;
|
|
5
|
+
declare const VSubmitWrapper: (props: IVSubmitWrapperProps) => React.JSX.Element;
|
|
6
6
|
export default VSubmitWrapper;
|
|
@@ -3,14 +3,14 @@ import { ColorType, FontSizeType } from "../../Engine";
|
|
|
3
3
|
import { LabelCategory } from "../VLabel";
|
|
4
4
|
import { Property } from 'csstype';
|
|
5
5
|
export interface InputExtensionItem {
|
|
6
|
-
option: JSX.Element;
|
|
6
|
+
option: React.JSX.Element;
|
|
7
7
|
handleOption: (input: any) => void;
|
|
8
8
|
}
|
|
9
9
|
export interface IBaseInputProps extends IBaseProps<'input'> {
|
|
10
10
|
type?: React.HTMLInputTypeAttribute | undefined;
|
|
11
11
|
isFocus?: boolean;
|
|
12
12
|
label?: string;
|
|
13
|
-
icon?: JSX.Element;
|
|
13
|
+
icon?: React.JSX.Element;
|
|
14
14
|
extensions?: InputExtensionItem[];
|
|
15
15
|
value?: string | ReadonlyArray<string> | number | undefined;
|
|
16
16
|
valueHook?: string;
|
|
@@ -23,7 +23,7 @@ export interface IBaseInputProps extends IBaseProps<'input'> {
|
|
|
23
23
|
valuePadding?: Property.Padding<TLength>;
|
|
24
24
|
inputStyle?: React.CSSProperties;
|
|
25
25
|
inputClassName?: string;
|
|
26
|
-
overWrite?: (inputRef: React.RefObject<HTMLInputElement>) => JSX.Element;
|
|
26
|
+
overWrite?: (inputRef: React.RefObject<HTMLInputElement | null>) => React.JSX.Element;
|
|
27
27
|
}
|
|
28
28
|
export interface IVInputProps extends IBaseInputProps {
|
|
29
29
|
inheritClassName?: string;
|
|
@@ -50,7 +50,7 @@ export type IVLabelProps<C extends LabelCategory = LabelCategory.Span> = IBasePr
|
|
|
50
50
|
type?: LabelType;
|
|
51
51
|
alignType?: LabelAlignType;
|
|
52
52
|
isTextOverflow?: boolean;
|
|
53
|
-
caption: string | JSX.Element;
|
|
53
|
+
caption: string | React.JSX.Element;
|
|
54
54
|
};
|
|
55
|
-
declare const VLabel: <C extends LabelCategory>(props: IVLabelProps<C>) => JSX.Element;
|
|
55
|
+
declare const VLabel: <C extends LabelCategory>(props: IVLabelProps<C>) => React.JSX.Element;
|
|
56
56
|
export default VLabel;
|
|
@@ -4,5 +4,5 @@ export interface ILoadingProps extends IBaseProps {
|
|
|
4
4
|
animationCategory?: AnimationCategory;
|
|
5
5
|
animationSpeed?: AnimationSpeed;
|
|
6
6
|
}
|
|
7
|
-
declare const VLoading: (props: ILoadingProps) => JSX.Element;
|
|
7
|
+
declare const VLoading: (props: ILoadingProps) => React.JSX.Element;
|
|
8
8
|
export default VLoading;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVSectionProps extends IBaseProps<'section'> {
|
|
3
3
|
}
|
|
4
|
-
declare const VSection: (props: IVSectionProps) => JSX.Element;
|
|
4
|
+
declare const VSection: (props: IVSectionProps) => React.JSX.Element;
|
|
5
5
|
export default VSection;
|
|
@@ -10,5 +10,5 @@ export interface IVSelectProps extends IBaseProps<'select'> {
|
|
|
10
10
|
isMultiple?: boolean;
|
|
11
11
|
fontFamily?: string;
|
|
12
12
|
}
|
|
13
|
-
declare const VSelect: (props: IVSelectProps) => JSX.Element;
|
|
13
|
+
declare const VSelect: (props: IVSelectProps) => React.JSX.Element;
|
|
14
14
|
export default VSelect;
|
|
@@ -6,5 +6,5 @@ export declare enum EllipseCategory {
|
|
|
6
6
|
export interface IVEllipseProps extends IBaseProps {
|
|
7
7
|
category?: EllipseCategory;
|
|
8
8
|
}
|
|
9
|
-
declare const VEllipse: (props: IVEllipseProps) => JSX.Element;
|
|
9
|
+
declare const VEllipse: (props: IVEllipseProps) => React.JSX.Element;
|
|
10
10
|
export default VEllipse;
|
|
@@ -6,5 +6,5 @@ export declare enum RectangleCategory {
|
|
|
6
6
|
export interface IVRectangleProps extends IBaseProps {
|
|
7
7
|
category?: RectangleCategory;
|
|
8
8
|
}
|
|
9
|
-
declare const VRectangle: (props: IVRectangleProps) => JSX.Element;
|
|
9
|
+
declare const VRectangle: (props: IVRectangleProps) => React.JSX.Element;
|
|
10
10
|
export default VRectangle;
|
|
@@ -11,5 +11,5 @@ export interface IVSvgProps extends IBaseProps {
|
|
|
11
11
|
onMouseEnter?: React.MouseEventHandler<any>;
|
|
12
12
|
onMouseLeave?: React.MouseEventHandler<any>;
|
|
13
13
|
}
|
|
14
|
-
declare const VSvg: (props: IVSvgProps) => JSX.Element;
|
|
14
|
+
declare const VSvg: (props: IVSvgProps) => React.JSX.Element;
|
|
15
15
|
export default VSvg;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IBaseProps, IBaseStates } from '../../Engine/Base';
|
|
2
2
|
export interface IVSwitchProps extends IBaseProps {
|
|
3
3
|
isOn: boolean;
|
|
4
|
-
icon?: JSX.Element;
|
|
4
|
+
icon?: React.JSX.Element;
|
|
5
5
|
gap?: string;
|
|
6
6
|
isDisabled?: boolean;
|
|
7
7
|
onSwitch?: (isOn: boolean) => void;
|
|
@@ -9,5 +9,5 @@ export interface IVSwitchProps extends IBaseProps {
|
|
|
9
9
|
export interface IVSwitchStates extends IBaseStates {
|
|
10
10
|
isOn: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const VSwitch: (props: IVSwitchProps) => JSX.Element;
|
|
12
|
+
declare const VSwitch: (props: IVSwitchProps) => React.JSX.Element;
|
|
13
13
|
export default VSwitch;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface IVTemplateProps extends IBaseProps<'template'> {
|
|
3
3
|
}
|
|
4
|
-
declare const VTemplate: (props: IVTemplateProps) => JSX.Element;
|
|
4
|
+
declare const VTemplate: (props: IVTemplateProps) => React.JSX.Element;
|
|
5
5
|
export default VTemplate;
|
|
@@ -17,7 +17,7 @@ export declare enum TextAlignType {
|
|
|
17
17
|
export type IVTextProps<C extends TextCategory = TextCategory.P> = IBaseProps<ElementOf<C>> & {
|
|
18
18
|
category?: C;
|
|
19
19
|
alignType?: TextAlignType;
|
|
20
|
-
renderContent: () => JSX.Element;
|
|
20
|
+
renderContent: () => React.JSX.Element;
|
|
21
21
|
};
|
|
22
|
-
declare const VText: <C extends TextCategory = TextCategory.P>(props: IVTextProps<C>) => JSX.Element;
|
|
22
|
+
declare const VText: <C extends TextCategory = TextCategory.P>(props: IVTextProps<C>) => React.JSX.Element;
|
|
23
23
|
export default VText;
|