@fewbox/den 0.0.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/index-app.d.ts +15 -0
- package/index.css +12226 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/jest.setup.d.ts +1 -0
- package/package.json +30 -0
- package/scripts/copy-templates.js +29 -0
- package/src/action/index.d.ts +9 -0
- package/src/components/Analyze/GA4/index.d.ts +9 -0
- package/src/components/Analyze/GA4NextJS/index.d.ts +5 -0
- package/src/components/Analyze/util.d.ts +115 -0
- package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
- package/src/components/Auth/GoogleGrant/index.d.ts +41 -0
- package/src/components/Auth/GoogleSignin/index.d.ts +18 -0
- package/src/components/Auth/WeComSignin/index.d.ts +8 -0
- package/src/components/Auth/util.d.ts +17 -0
- package/src/components/Debug/index.d.ts +6 -0
- package/src/components/Engine/Base/index.d.ts +228 -0
- package/src/components/Engine/BaseComponent/index.d.ts +9 -0
- package/src/components/Engine/index.d.ts +212 -0
- package/src/components/Layout/Display/index.d.ts +18 -0
- package/src/components/Layout/Dock/index.d.ts +23 -0
- package/src/components/Layout/DockBak/index.d.ts +24 -0
- package/src/components/Layout/Flex/index.d.ts +44 -0
- package/src/components/Layout/FlexItem/index.d.ts +18 -0
- package/src/components/Layout/Position/index.d.ts +33 -0
- package/src/components/Layout/PositionArea/index.d.ts +10 -0
- package/src/components/Layout/SBaseline/index.d.ts +5 -0
- package/src/components/Layout/SBottom/index.d.ts +6 -0
- package/src/components/Layout/SCenter/index.d.ts +5 -0
- package/src/components/Layout/SLeft/index.d.ts +5 -0
- package/src/components/Layout/SMiddle/index.d.ts +5 -0
- package/src/components/Layout/SRight/index.d.ts +5 -0
- package/src/components/Layout/SStretch/index.d.ts +5 -0
- package/src/components/Layout/STop/index.d.ts +5 -0
- package/src/components/Layout/X/index.d.ts +5 -0
- package/src/components/Layout/XAround/index.d.ts +5 -0
- package/src/components/Layout/XAutoBoth/index.d.ts +5 -0
- package/src/components/Layout/XAutoCenter/index.d.ts +5 -0
- package/src/components/Layout/XAutoLeft/index.d.ts +5 -0
- package/src/components/Layout/XAutoLefts/index.d.ts +5 -0
- package/src/components/Layout/XAutoRight/index.d.ts +5 -0
- package/src/components/Layout/XAutoRights/index.d.ts +5 -0
- package/src/components/Layout/XBase/index.d.ts +18 -0
- package/src/components/Layout/XBetween/index.d.ts +5 -0
- package/src/components/Layout/XCenter/index.d.ts +5 -0
- package/src/components/Layout/XCustom/index.d.ts +7 -0
- package/src/components/Layout/XCustomBoth/index.d.ts +7 -0
- package/src/components/Layout/XEvenly/index.d.ts +5 -0
- package/src/components/Layout/XLeft/index.d.ts +5 -0
- package/src/components/Layout/XRight/index.d.ts +5 -0
- package/src/components/Layout/XWrapAround/index.d.ts +5 -0
- package/src/components/Layout/XWrapBetween/index.d.ts +5 -0
- package/src/components/Layout/XWrapBottom/index.d.ts +5 -0
- package/src/components/Layout/XWrapEvenly/index.d.ts +5 -0
- package/src/components/Layout/XWrapMiddle/index.d.ts +5 -0
- package/src/components/Layout/XWrapTop/index.d.ts +5 -0
- package/src/components/Layout/Y/index.d.ts +5 -0
- package/src/components/Layout/YAround/index.d.ts +5 -0
- package/src/components/Layout/YAutoBoth/index.d.ts +5 -0
- package/src/components/Layout/YAutoBottom/index.d.ts +5 -0
- package/src/components/Layout/YAutoBottoms/index.d.ts +5 -0
- package/src/components/Layout/YAutoCenter/index.d.ts +5 -0
- package/src/components/Layout/YAutoTop/index.d.ts +5 -0
- package/src/components/Layout/YAutoTops/index.d.ts +5 -0
- package/src/components/Layout/YBase/index.d.ts +16 -0
- package/src/components/Layout/YBetween/index.d.ts +5 -0
- package/src/components/Layout/YBottom/index.d.ts +5 -0
- package/src/components/Layout/YCustom/index.d.ts +7 -0
- package/src/components/Layout/YCustomBoth/index.d.ts +7 -0
- package/src/components/Layout/YEvenly/index.d.ts +5 -0
- package/src/components/Layout/YMiddle/index.d.ts +5 -0
- package/src/components/Layout/YTop/index.d.ts +5 -0
- package/src/components/Layout/YWrapAround/index.d.ts +5 -0
- package/src/components/Layout/YWrapBetween/index.d.ts +5 -0
- package/src/components/Layout/YWrapCenter/index.d.ts +5 -0
- package/src/components/Layout/YWrapEvenly/index.d.ts +5 -0
- package/src/components/Layout/YWrapLeft/index.d.ts +5 -0
- package/src/components/Layout/YWrapRight/index.d.ts +5 -0
- package/src/components/Layout/index.d.ts +8 -0
- package/src/components/Layout/util.d.ts +6 -0
- package/src/components/View/VActionForm/index.d.ts +10 -0
- package/src/components/View/VAnimation/index.d.ts +127 -0
- package/src/components/View/VAudio/index.d.ts +10 -0
- package/src/components/View/VAvatar/index.d.ts +11 -0
- package/src/components/View/VBackground/index.d.ts +18 -0
- package/src/components/View/VBadge/index.d.ts +6 -0
- package/src/components/View/VBlock/index.d.ts +9 -0
- package/src/components/View/VBoundary/index.d.ts +6 -0
- package/src/components/View/VButton/index.d.ts +17 -0
- package/src/components/View/VCard/index.d.ts +8 -0
- package/src/components/View/VCardMedia/index.d.ts +9 -0
- package/src/components/View/VCardSocial/index.d.ts +13 -0
- package/src/components/View/VCardWindow/index.d.ts +15 -0
- package/src/components/View/VChromeExtensionValidator/index.d.ts +25 -0
- package/src/components/View/VDynamic/index.d.ts +7 -0
- package/src/components/View/VFooter/index.d.ts +5 -0
- package/src/components/View/VForm/index.d.ts +13 -0
- package/src/components/View/VFrame/index.d.ts +14 -0
- package/src/components/View/VGoogleFont/index.d.ts +18 -0
- package/src/components/View/VHR/index.d.ts +5 -0
- package/src/components/View/VHeader/index.d.ts +5 -0
- package/src/components/View/VHyperlink/index.d.ts +13 -0
- package/src/components/View/VImage/App/index.d.ts +16 -0
- package/src/components/View/VInput/VBase64File/App/index.d.ts +10 -0
- package/src/components/View/VInput/VCheckBox/index.d.ts +9 -0
- package/src/components/View/VInput/VColor/index.d.ts +7 -0
- package/src/components/View/VInput/VDate/index.d.ts +7 -0
- package/src/components/View/VInput/VDatetimeLocal/index.d.ts +7 -0
- package/src/components/View/VInput/VDropdown/index.d.ts +31 -0
- package/src/components/View/VInput/VEmail/index.d.ts +5 -0
- package/src/components/View/VInput/VFile/index.d.ts +22 -0
- package/src/components/View/VInput/VGroup/index.d.ts +11 -0
- package/src/components/View/VInput/VHidden/index.d.ts +8 -0
- package/src/components/View/VInput/VMonth/index.d.ts +5 -0
- package/src/components/View/VInput/VNumber/index.d.ts +5 -0
- package/src/components/View/VInput/VPassword/index.d.ts +5 -0
- package/src/components/View/VInput/VRadio/index.d.ts +6 -0
- package/src/components/View/VInput/VRange/index.d.ts +8 -0
- package/src/components/View/VInput/VSearch/index.d.ts +5 -0
- package/src/components/View/VInput/VSubmit/index.d.ts +7 -0
- package/src/components/View/VInput/VSubmitWrapper/index.d.ts +6 -0
- package/src/components/View/VInput/VTel/index.d.ts +5 -0
- package/src/components/View/VInput/VTextBox/index.d.ts +7 -0
- package/src/components/View/VInput/VTime/index.d.ts +5 -0
- package/src/components/View/VInput/VUrl/index.d.ts +5 -0
- package/src/components/View/VInput/VWeek/index.d.ts +5 -0
- package/src/components/View/VInput/index.d.ts +45 -0
- package/src/components/View/VLabel/index.d.ts +60 -0
- package/src/components/View/VLink/App/index.d.ts +6 -0
- package/src/components/View/VLoading/index.d.ts +8 -0
- package/src/components/View/VMain/index.d.ts +5 -0
- package/src/components/View/VMask/index.d.ts +5 -0
- package/src/components/View/VPaypal/index.d.ts +10 -0
- package/src/components/View/VPhoto/index.d.ts +20 -0
- package/src/components/View/VPureRoot/index.d.ts +7 -0
- package/src/components/View/VRoot/index.d.ts +7 -0
- package/src/components/View/VSection/index.d.ts +5 -0
- package/src/components/View/VSelect/index.d.ts +14 -0
- package/src/components/View/VShadow/index.d.ts +15 -0
- package/src/components/View/VShape/VEllipse/index.d.ts +10 -0
- package/src/components/View/VShape/VLine/index.d.ts +10 -0
- package/src/components/View/VShape/VRectangle/index.d.ts +10 -0
- package/src/components/View/VStack/index.d.ts +5 -0
- package/src/components/View/VSvg/index.d.ts +16 -0
- package/src/components/View/VSwitch/index.d.ts +13 -0
- package/src/components/View/VTemplate/index.d.ts +5 -0
- package/src/components/View/VText/index.d.ts +22 -0
- package/src/components/View/VTextArea/index.d.ts +17 -0
- package/src/components/View/VTheme/index.d.ts +43 -0
- package/src/components/View/VTooltip/index.d.ts +20 -0
- package/src/components/View/VTree/Block/index.d.ts +14 -0
- package/src/components/View/VTree/index.d.ts +15 -0
- package/src/components/View/VVideo/index.d.ts +10 -0
- package/src/components/View/VZone/index.d.ts +14 -0
- package/src/components/app.d.ts +134 -0
- package/src/components/util.d.ts +1 -0
- package/src/fewbox/index.d.ts +27 -0
- package/src/language/index.d.ts +5 -0
- package/src/network/FormHeaders.d.ts +2 -0
- package/src/network/IGraphQL.d.ts +6 -0
- package/src/network/JsonHeaders.d.ts +5 -0
- package/src/network/Network.d.ts +45 -0
- package/src/network/NetworkObservableBase.d.ts +13 -0
- package/src/network/StreamObservableBase.d.ts +11 -0
- package/src/network/UploadHeaders.d.ts +2 -0
- package/src/network/WS.d.ts +11 -0
- package/src/network/ajax/default/Delete.d.ts +5 -0
- package/src/network/ajax/default/DeleteText.d.ts +5 -0
- package/src/network/ajax/default/Get.d.ts +5 -0
- package/src/network/ajax/default/GetLocal.d.ts +5 -0
- package/src/network/ajax/default/GetText.d.ts +5 -0
- package/src/network/ajax/default/NetworkObservableAjax.d.ts +7 -0
- package/src/network/ajax/default/Patch.d.ts +5 -0
- package/src/network/ajax/default/PatchText.d.ts +5 -0
- package/src/network/ajax/default/Post.d.ts +5 -0
- package/src/network/ajax/default/PostText.d.ts +5 -0
- package/src/network/ajax/default/Put.d.ts +5 -0
- package/src/network/ajax/default/PutText.d.ts +5 -0
- package/src/network/ajax/external/DeleteExternal.d.ts +5 -0
- package/src/network/ajax/external/DeleteTextExternal.d.ts +5 -0
- package/src/network/ajax/external/GetExternal.d.ts +5 -0
- package/src/network/ajax/external/GetTextExternal.d.ts +5 -0
- package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +8 -0
- package/src/network/ajax/external/PatchExternal.d.ts +5 -0
- package/src/network/ajax/external/PatchTextExternal.d.ts +5 -0
- package/src/network/ajax/external/PostExternal.d.ts +5 -0
- package/src/network/ajax/external/PostTextExternal.d.ts +5 -0
- package/src/network/ajax/external/PutExternal.d.ts +5 -0
- package/src/network/ajax/external/PutTextExternal.d.ts +5 -0
- package/src/network/fetch/default/DeleteFetch.d.ts +5 -0
- package/src/network/fetch/default/GetFetch.d.ts +5 -0
- package/src/network/fetch/default/NetworkObservableFetch.d.ts +7 -0
- package/src/network/fetch/default/PatchFetch.d.ts +5 -0
- package/src/network/fetch/default/PostFetch.d.ts +5 -0
- package/src/network/fetch/default/PutFetch.d.ts +5 -0
- package/src/network/fetch/external/GetFetchExternal.d.ts +5 -0
- package/src/network/fetch/external/NetworkObservableFetchExternal.d.ts +8 -0
- package/src/network/fetch/external/PatchFetchExternal.d.ts +5 -0
- package/src/network/fetch/external/PostFetchExternal.d.ts +5 -0
- package/src/network/fetch/external/PutFetchExternal.d.ts +5 -0
- package/src/network/graphql/default/GQL.d.ts +6 -0
- package/src/network/graphql/default/GQLUpload.d.ts +6 -0
- package/src/network/graphql/default/NetworkObservableGQL.d.ts +7 -0
- package/src/network/graphql/external/GQLExternal.d.ts +6 -0
- package/src/network/graphql/external/GQLExternalUpload.d.ts +6 -0
- package/src/network/graphql/external/NetworkObservableGQLExternal.d.ts +7 -0
- package/src/network/index.d.ts +46 -0
- package/src/network/sse/default/GetSSE.d.ts +5 -0
- package/src/network/sse/default/PostSSE.d.ts +5 -0
- package/src/network/sse/default/StreamObservableSSE.d.ts +5 -0
- package/src/network/sse/external/GetSSEExternal.d.ts +5 -0
- package/src/network/sse/external/PostSSEExternal.d.ts +5 -0
- package/src/network/sse/external/StreamObservableSSEExternal.d.ts +6 -0
- package/src/network/util.d.ts +4 -0
- package/src/store/EnumDictionary.d.ts +3 -0
- package/src/store/IContinuePaging.d.ts +4 -0
- package/src/store/IList.d.ts +3 -0
- package/src/store/IMetaResponse.d.ts +5 -0
- package/src/store/IPaging.d.ts +6 -0
- package/src/store/IPayloadResponse.d.ts +4 -0
- package/src/store/Json.d.ts +9 -0
- package/src/store/index.d.ts +6 -0
- package/templates/FEWBOX.md +73 -0
- package/templates/style/_core.scss +297 -0
- package/templates/style/_root-properties.scss +57 -0
- package/templates/style/_root.scss +6 -0
- package/templates/style/_variables.scss +194 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IChildrenProps } from '../../Engine/Base';
|
|
2
|
+
export interface GoogleGrantToken {
|
|
3
|
+
accessToken: string;
|
|
4
|
+
expiresIn: string;
|
|
5
|
+
hd: string;
|
|
6
|
+
prompt: string;
|
|
7
|
+
tokenType: string;
|
|
8
|
+
scope: string;
|
|
9
|
+
state: string;
|
|
10
|
+
error: string;
|
|
11
|
+
errorDescription: string;
|
|
12
|
+
errorUri: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GoogleGrantCode {
|
|
15
|
+
code: string;
|
|
16
|
+
scope: string;
|
|
17
|
+
state: string;
|
|
18
|
+
error: string;
|
|
19
|
+
errorDescription: string;
|
|
20
|
+
errorUri: string;
|
|
21
|
+
}
|
|
22
|
+
export declare enum GoogleGrantUXMode {
|
|
23
|
+
Popup = "popup",
|
|
24
|
+
Redirect = "redirect"
|
|
25
|
+
}
|
|
26
|
+
export declare enum GoogleGrantCategory {
|
|
27
|
+
Implicit = "implicit",
|
|
28
|
+
AuthorizationCode = "authorization-code"
|
|
29
|
+
}
|
|
30
|
+
export interface IGoogleGrantProps extends IChildrenProps {
|
|
31
|
+
category?: GoogleGrantCategory;
|
|
32
|
+
uxMode?: GoogleGrantUXMode;
|
|
33
|
+
clientId: string;
|
|
34
|
+
scope: string;
|
|
35
|
+
isAutoRequest?: boolean;
|
|
36
|
+
callback: (callbackResult: GoogleGrantToken | GoogleGrantCode) => void;
|
|
37
|
+
enableGoogle: () => void;
|
|
38
|
+
disableGoogle: () => void;
|
|
39
|
+
}
|
|
40
|
+
declare const GoogleGrant: (props: IGoogleGrantProps) => JSX.Element;
|
|
41
|
+
export default GoogleGrant;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum GoogleSigninUXMode {
|
|
2
|
+
Prompt = "prompt",
|
|
3
|
+
Popup = "popup",
|
|
4
|
+
Redirect = "redirect"
|
|
5
|
+
}
|
|
6
|
+
export interface IGoogleSigninProps {
|
|
7
|
+
googleAuthButtonId?: string;
|
|
8
|
+
clientId: string;
|
|
9
|
+
uxMode: GoogleSigninUXMode;
|
|
10
|
+
redirectUrl?: string;
|
|
11
|
+
gsiButtonConfiguration?: google.accounts.id.GsiButtonConfiguration;
|
|
12
|
+
callback: (credential: string) => void;
|
|
13
|
+
switchAnotherIdentityProvider?: (reason: string) => void;
|
|
14
|
+
enableGoogle: () => void;
|
|
15
|
+
disableGoogle: () => void;
|
|
16
|
+
}
|
|
17
|
+
declare const GoogleSignin: (props: IGoogleSigninProps) => JSX.Element;
|
|
18
|
+
export default GoogleSignin;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IChildrenProps } from '../../Engine/Base';
|
|
2
|
+
export interface IWeComSigninProps extends IChildrenProps {
|
|
3
|
+
appId: string;
|
|
4
|
+
agentId: string;
|
|
5
|
+
redirectUrl: string;
|
|
6
|
+
}
|
|
7
|
+
declare const WeComSignin: (props: IWeComSigninProps) => JSX.Element;
|
|
8
|
+
export default WeComSignin;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IUserProfile {
|
|
2
|
+
tenant?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
mobile?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
issuer?: string;
|
|
9
|
+
audience?: string;
|
|
10
|
+
expire?: Date;
|
|
11
|
+
avatar?: string;
|
|
12
|
+
exp?: number;
|
|
13
|
+
iss?: string;
|
|
14
|
+
aud?: string;
|
|
15
|
+
api?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const parseJWT: (token: string) => IUserProfile;
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DirectionType, FullColorType, PseudoType, FullSizeType, FontWeightType } from '..';
|
|
3
|
+
import { Property } from 'csstype';
|
|
4
|
+
export type TLength = (string & {}) | 0;
|
|
5
|
+
export interface IChildrenProps {
|
|
6
|
+
children?: React.ReactNode | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare enum RootCategory {
|
|
9
|
+
Div = "div",
|
|
10
|
+
Span = "span"
|
|
11
|
+
}
|
|
12
|
+
export interface IViewProps {
|
|
13
|
+
rootCategory?: RootCategory;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
size?: FullSizeType;
|
|
17
|
+
isAutoSize?: boolean;
|
|
18
|
+
weight?: FontWeightType;
|
|
19
|
+
frontColor?: FullColorType;
|
|
20
|
+
backgroundColor?: FullColorType;
|
|
21
|
+
borderColor?: FullColorType;
|
|
22
|
+
borderDirection?: DirectionType;
|
|
23
|
+
pseudoType?: PseudoType;
|
|
24
|
+
pseudoFrontColor?: FullColorType;
|
|
25
|
+
pseudoBackgroundColor?: FullColorType;
|
|
26
|
+
pseudoBorderColor?: FullColorType;
|
|
27
|
+
pseudoBorderDirection?: DirectionType;
|
|
28
|
+
display?: Property.Display;
|
|
29
|
+
visibility?: Property.Visibility;
|
|
30
|
+
zIndex?: Property.ZIndex;
|
|
31
|
+
fontFamily?: Property.FontFamily;
|
|
32
|
+
borderWidth?: Property.BorderWidth<TLength>;
|
|
33
|
+
borderRadius?: Property.BorderRadius<TLength>;
|
|
34
|
+
borderStyle?: Property.BorderStyle;
|
|
35
|
+
padding?: Property.Padding<TLength>;
|
|
36
|
+
margin?: Property.Margin<TLength>;
|
|
37
|
+
height?: Property.Height<TLength>;
|
|
38
|
+
width?: Property.Width<TLength>;
|
|
39
|
+
minHeight?: Property.Width<TLength>;
|
|
40
|
+
minWidth?: Property.Width<TLength>;
|
|
41
|
+
maxHeight?: Property.Width<TLength>;
|
|
42
|
+
maxWidth?: Property.Width<TLength>;
|
|
43
|
+
opacity?: Property.Opacity;
|
|
44
|
+
letterSpacing?: Property.LetterSpacing<TLength>;
|
|
45
|
+
lineHeight?: Property.LineHeight<TLength>;
|
|
46
|
+
cursor?: Property.Cursor;
|
|
47
|
+
overflow?: Property.Overflow;
|
|
48
|
+
overflowX?: Property.OverflowX;
|
|
49
|
+
overflowY?: Property.OverflowY;
|
|
50
|
+
isDefaultValue?: boolean;
|
|
51
|
+
key?: React.Key;
|
|
52
|
+
ref?: React.RefObject<any>;
|
|
53
|
+
readonlyRef?: React.RefObject<any>;
|
|
54
|
+
customAttibutes?: Object;
|
|
55
|
+
}
|
|
56
|
+
export interface IEventProps {
|
|
57
|
+
onCopy?: React.ClipboardEventHandler<any> | undefined;
|
|
58
|
+
onCopyCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
59
|
+
onCut?: React.ClipboardEventHandler<any> | undefined;
|
|
60
|
+
onCutCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
61
|
+
onPaste?: React.ClipboardEventHandler<any> | undefined;
|
|
62
|
+
onPasteCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
63
|
+
onCompositionEnd?: React.CompositionEventHandler<any> | undefined;
|
|
64
|
+
onCompositionEndCapture?: React.CompositionEventHandler<any> | undefined;
|
|
65
|
+
onCompositionStart?: React.CompositionEventHandler<any> | undefined;
|
|
66
|
+
onCompositionStartCapture?: React.CompositionEventHandler<any> | undefined;
|
|
67
|
+
onCompositionUpdate?: React.CompositionEventHandler<any> | undefined;
|
|
68
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<any> | undefined;
|
|
69
|
+
onFocus?: React.FocusEventHandler<any> | undefined;
|
|
70
|
+
onFocusCapture?: React.FocusEventHandler<any> | undefined;
|
|
71
|
+
onBlur?: React.FocusEventHandler<any> | undefined;
|
|
72
|
+
onBlurCapture?: React.FocusEventHandler<any> | undefined;
|
|
73
|
+
onChange?: React.FormEventHandler<any> | undefined;
|
|
74
|
+
onChangeCapture?: React.FormEventHandler<any> | undefined;
|
|
75
|
+
onBeforeInput?: React.FormEventHandler<any> | undefined;
|
|
76
|
+
onBeforeInputCapture?: React.FormEventHandler<any> | undefined;
|
|
77
|
+
onInput?: React.FormEventHandler<any> | undefined;
|
|
78
|
+
onInputCapture?: React.FormEventHandler<any> | undefined;
|
|
79
|
+
onReset?: React.FormEventHandler<any> | undefined;
|
|
80
|
+
onResetCapture?: React.FormEventHandler<any> | undefined;
|
|
81
|
+
onSubmit?: React.FormEventHandler<any> | undefined;
|
|
82
|
+
onSubmitCapture?: React.FormEventHandler<any> | undefined;
|
|
83
|
+
onInvalid?: React.FormEventHandler<any> | undefined;
|
|
84
|
+
onInvalidCapture?: React.FormEventHandler<any> | undefined;
|
|
85
|
+
onLoad?: React.ReactEventHandler<any> | undefined;
|
|
86
|
+
onLoadCapture?: React.ReactEventHandler<any> | undefined;
|
|
87
|
+
onError?: React.ReactEventHandler<any> | undefined;
|
|
88
|
+
onErrorCapture?: React.ReactEventHandler<any> | undefined;
|
|
89
|
+
onKeyDown?: React.KeyboardEventHandler<any> | undefined;
|
|
90
|
+
onKeyDownCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
91
|
+
onKeyPress?: React.KeyboardEventHandler<any> | undefined;
|
|
92
|
+
onKeyPressCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
93
|
+
onKeyUp?: React.KeyboardEventHandler<any> | undefined;
|
|
94
|
+
onKeyUpCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
95
|
+
onAbort?: React.ReactEventHandler<any> | undefined;
|
|
96
|
+
onAbortCapture?: React.ReactEventHandler<any> | undefined;
|
|
97
|
+
onCanPlay?: React.ReactEventHandler<any> | undefined;
|
|
98
|
+
onCanPlayCapture?: React.ReactEventHandler<any> | undefined;
|
|
99
|
+
onCanPlayThrough?: React.ReactEventHandler<any> | undefined;
|
|
100
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<any> | undefined;
|
|
101
|
+
onDurationChange?: React.ReactEventHandler<any> | undefined;
|
|
102
|
+
onDurationChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
103
|
+
onEmptied?: React.ReactEventHandler<any> | undefined;
|
|
104
|
+
onEmptiedCapture?: React.ReactEventHandler<any> | undefined;
|
|
105
|
+
onEncrypted?: React.ReactEventHandler<any> | undefined;
|
|
106
|
+
onEncryptedCapture?: React.ReactEventHandler<any> | undefined;
|
|
107
|
+
onEnded?: React.ReactEventHandler<any> | undefined;
|
|
108
|
+
onEndedCapture?: React.ReactEventHandler<any> | undefined;
|
|
109
|
+
onLoadedData?: React.ReactEventHandler<any> | undefined;
|
|
110
|
+
onLoadedDataCapture?: React.ReactEventHandler<any> | undefined;
|
|
111
|
+
onLoadedMetadata?: React.ReactEventHandler<any> | undefined;
|
|
112
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<any> | undefined;
|
|
113
|
+
onLoadStart?: React.ReactEventHandler<any> | undefined;
|
|
114
|
+
onLoadStartCapture?: React.ReactEventHandler<any> | undefined;
|
|
115
|
+
onPause?: React.ReactEventHandler<any> | undefined;
|
|
116
|
+
onPauseCapture?: React.ReactEventHandler<any> | undefined;
|
|
117
|
+
onPlay?: React.ReactEventHandler<any> | undefined;
|
|
118
|
+
onPlayCapture?: React.ReactEventHandler<any> | undefined;
|
|
119
|
+
onPlaying?: React.ReactEventHandler<any> | undefined;
|
|
120
|
+
onPlayingCapture?: React.ReactEventHandler<any> | undefined;
|
|
121
|
+
onProgress?: React.ReactEventHandler<any> | undefined;
|
|
122
|
+
onProgressCapture?: React.ReactEventHandler<any> | undefined;
|
|
123
|
+
onRateChange?: React.ReactEventHandler<any> | undefined;
|
|
124
|
+
onRateChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
125
|
+
onSeeked?: React.ReactEventHandler<any> | undefined;
|
|
126
|
+
onSeekedCapture?: React.ReactEventHandler<any> | undefined;
|
|
127
|
+
onSeeking?: React.ReactEventHandler<any> | undefined;
|
|
128
|
+
onSeekingCapture?: React.ReactEventHandler<any> | undefined;
|
|
129
|
+
onStalled?: React.ReactEventHandler<any> | undefined;
|
|
130
|
+
onStalledCapture?: React.ReactEventHandler<any> | undefined;
|
|
131
|
+
onSuspend?: React.ReactEventHandler<any> | undefined;
|
|
132
|
+
onSuspendCapture?: React.ReactEventHandler<any> | undefined;
|
|
133
|
+
onTimeUpdate?: React.ReactEventHandler<any> | undefined;
|
|
134
|
+
onTimeUpdateCapture?: React.ReactEventHandler<any> | undefined;
|
|
135
|
+
onVolumeChange?: React.ReactEventHandler<any> | undefined;
|
|
136
|
+
onVolumeChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
137
|
+
onWaiting?: React.ReactEventHandler<any> | undefined;
|
|
138
|
+
onWaitingCapture?: React.ReactEventHandler<any> | undefined;
|
|
139
|
+
onAuxClick?: React.MouseEventHandler<any> | undefined;
|
|
140
|
+
onAuxClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
141
|
+
onClick?: React.MouseEventHandler<any> | undefined;
|
|
142
|
+
onClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
143
|
+
onContextMenu?: React.MouseEventHandler<any> | undefined;
|
|
144
|
+
onContextMenuCapture?: React.MouseEventHandler<any> | undefined;
|
|
145
|
+
onDoubleClick?: React.MouseEventHandler<any> | undefined;
|
|
146
|
+
onDoubleClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
147
|
+
onDrag?: React.DragEventHandler<any> | undefined;
|
|
148
|
+
onDragCapture?: React.DragEventHandler<any> | undefined;
|
|
149
|
+
onDragEnd?: React.DragEventHandler<any> | undefined;
|
|
150
|
+
onDragEndCapture?: React.DragEventHandler<any> | undefined;
|
|
151
|
+
onDragEnter?: React.DragEventHandler<any> | undefined;
|
|
152
|
+
onDragEnterCapture?: React.DragEventHandler<any> | undefined;
|
|
153
|
+
onDragExit?: React.DragEventHandler<any> | undefined;
|
|
154
|
+
onDragExitCapture?: React.DragEventHandler<any> | undefined;
|
|
155
|
+
onDragLeave?: React.DragEventHandler<any> | undefined;
|
|
156
|
+
onDragLeaveCapture?: React.DragEventHandler<any> | undefined;
|
|
157
|
+
onDragOver?: React.DragEventHandler<any> | undefined;
|
|
158
|
+
onDragOverCapture?: React.DragEventHandler<any> | undefined;
|
|
159
|
+
onDragStart?: React.DragEventHandler<any> | undefined;
|
|
160
|
+
onDragStartCapture?: React.DragEventHandler<any> | undefined;
|
|
161
|
+
onDrop?: React.DragEventHandler<any> | undefined;
|
|
162
|
+
onDropCapture?: React.DragEventHandler<any> | undefined;
|
|
163
|
+
onMouseDown?: React.MouseEventHandler<any> | undefined;
|
|
164
|
+
onMouseDownCapture?: React.MouseEventHandler<any> | undefined;
|
|
165
|
+
onMouseEnter?: React.MouseEventHandler<any> | undefined;
|
|
166
|
+
onMouseLeave?: React.MouseEventHandler<any> | undefined;
|
|
167
|
+
onMouseMove?: React.MouseEventHandler<any> | undefined;
|
|
168
|
+
onMouseMoveCapture?: React.MouseEventHandler<any> | undefined;
|
|
169
|
+
onMouseOut?: React.MouseEventHandler<any> | undefined;
|
|
170
|
+
onMouseOutCapture?: React.MouseEventHandler<any> | undefined;
|
|
171
|
+
onMouseOver?: React.MouseEventHandler<any> | undefined;
|
|
172
|
+
onMouseOverCapture?: React.MouseEventHandler<any> | undefined;
|
|
173
|
+
onMouseUp?: React.MouseEventHandler<any> | undefined;
|
|
174
|
+
onMouseUpCapture?: React.MouseEventHandler<any> | undefined;
|
|
175
|
+
onSelect?: React.ReactEventHandler<any> | undefined;
|
|
176
|
+
onSelectCapture?: React.ReactEventHandler<any> | undefined;
|
|
177
|
+
onTouchCancel?: React.TouchEventHandler<any> | undefined;
|
|
178
|
+
onTouchCancelCapture?: React.TouchEventHandler<any> | undefined;
|
|
179
|
+
onTouchEnd?: React.TouchEventHandler<any> | undefined;
|
|
180
|
+
onTouchEndCapture?: React.TouchEventHandler<any> | undefined;
|
|
181
|
+
onTouchMove?: React.TouchEventHandler<any> | undefined;
|
|
182
|
+
onTouchMoveCapture?: React.TouchEventHandler<any> | undefined;
|
|
183
|
+
onTouchStart?: React.TouchEventHandler<any> | undefined;
|
|
184
|
+
onTouchStartCapture?: React.TouchEventHandler<any> | undefined;
|
|
185
|
+
onPointerDown?: React.PointerEventHandler<any> | undefined;
|
|
186
|
+
onPointerDownCapture?: React.PointerEventHandler<any> | undefined;
|
|
187
|
+
onPointerMove?: React.PointerEventHandler<any> | undefined;
|
|
188
|
+
onPointerMoveCapture?: React.PointerEventHandler<any> | undefined;
|
|
189
|
+
onPointerUp?: React.PointerEventHandler<any> | undefined;
|
|
190
|
+
onPointerUpCapture?: React.PointerEventHandler<any> | undefined;
|
|
191
|
+
onPointerCancel?: React.PointerEventHandler<any> | undefined;
|
|
192
|
+
onPointerCancelCapture?: React.PointerEventHandler<any> | undefined;
|
|
193
|
+
onPointerEnter?: React.PointerEventHandler<any> | undefined;
|
|
194
|
+
onPointerEnterCapture?: React.PointerEventHandler<any> | undefined;
|
|
195
|
+
onPointerLeave?: React.PointerEventHandler<any> | undefined;
|
|
196
|
+
onPointerLeaveCapture?: React.PointerEventHandler<any> | undefined;
|
|
197
|
+
onPointerOver?: React.PointerEventHandler<any> | undefined;
|
|
198
|
+
onPointerOverCapture?: React.PointerEventHandler<any> | undefined;
|
|
199
|
+
onPointerOut?: React.PointerEventHandler<any> | undefined;
|
|
200
|
+
onPointerOutCapture?: React.PointerEventHandler<any> | undefined;
|
|
201
|
+
onGotPointerCapture?: React.PointerEventHandler<any> | undefined;
|
|
202
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<any> | undefined;
|
|
203
|
+
onLostPointerCapture?: React.PointerEventHandler<any> | undefined;
|
|
204
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<any> | undefined;
|
|
205
|
+
onScroll?: React.UIEventHandler<any> | undefined;
|
|
206
|
+
onScrollCapture?: React.UIEventHandler<any> | undefined;
|
|
207
|
+
onWheel?: React.WheelEventHandler<any> | undefined;
|
|
208
|
+
onWheelCapture?: React.WheelEventHandler<any> | undefined;
|
|
209
|
+
onAnimationStart?: React.AnimationEventHandler<any> | undefined;
|
|
210
|
+
onAnimationStartCapture?: React.AnimationEventHandler<any> | undefined;
|
|
211
|
+
onAnimationEnd?: React.AnimationEventHandler<any> | undefined;
|
|
212
|
+
onAnimationEndCapture?: React.AnimationEventHandler<any> | undefined;
|
|
213
|
+
onAnimationIteration?: React.AnimationEventHandler<any> | undefined;
|
|
214
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<any> | undefined;
|
|
215
|
+
onTransitionEnd?: React.TransitionEventHandler<any> | undefined;
|
|
216
|
+
onTransitionEndCapture?: React.TransitionEventHandler<any> | undefined;
|
|
217
|
+
}
|
|
218
|
+
export interface IBaseProps extends IChildrenProps, IViewProps, IEventProps {
|
|
219
|
+
}
|
|
220
|
+
export interface IBaseStates {
|
|
221
|
+
}
|
|
222
|
+
export interface IBaseReturn {
|
|
223
|
+
getClassName: (vClassName: string) => string;
|
|
224
|
+
getStyle: () => object;
|
|
225
|
+
getChildren: (props: IChildrenProps) => React.ReactNode;
|
|
226
|
+
}
|
|
227
|
+
declare const Base: (props: IViewProps | IBaseProps) => IBaseReturn;
|
|
228
|
+
export default Base;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IBaseProps, IBaseStates, IChildrenProps, IViewProps } from '../Base';
|
|
3
|
+
export default abstract class BaseComponent<P extends IViewProps | IBaseProps = {}, S extends IBaseStates = {}> extends React.Component<P, S> {
|
|
4
|
+
private _base;
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
protected getClassName(vClassName: string): string;
|
|
7
|
+
protected getStyle(): object;
|
|
8
|
+
protected getChildren(props: IChildrenProps): React.ReactNode;
|
|
9
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
export declare enum ColorType {
|
|
2
|
+
Font = "font",
|
|
3
|
+
Body = "body",
|
|
4
|
+
White = "white",
|
|
5
|
+
Black = "black",
|
|
6
|
+
Light = "light",
|
|
7
|
+
Light75 = "light75",
|
|
8
|
+
Light50 = "light50",
|
|
9
|
+
Light25 = "light25",
|
|
10
|
+
Dark = "dark",
|
|
11
|
+
Dark75 = "dark75",
|
|
12
|
+
Dark50 = "dark50",
|
|
13
|
+
Dark25 = "dark25",
|
|
14
|
+
Primary = "primary",
|
|
15
|
+
Primary75 = "primary75",
|
|
16
|
+
Primary50 = "primary50",
|
|
17
|
+
Primary25 = "primary25",
|
|
18
|
+
Secondary = "secondary",
|
|
19
|
+
Secondary75 = "secondary75",
|
|
20
|
+
Secondary50 = "secondary50",
|
|
21
|
+
Secondary25 = "secondary25",
|
|
22
|
+
Tertiary = "tertiary",
|
|
23
|
+
Tertiary75 = "tertiary75",
|
|
24
|
+
Tertiary50 = "tertiary50",
|
|
25
|
+
Tertiary25 = "tertiary25",
|
|
26
|
+
Info = "info",
|
|
27
|
+
Info75 = "info75",
|
|
28
|
+
Info50 = "info50",
|
|
29
|
+
Info25 = "info25",
|
|
30
|
+
Success = "success",
|
|
31
|
+
Success75 = "success75",
|
|
32
|
+
Success50 = "success50",
|
|
33
|
+
Success25 = "success25",
|
|
34
|
+
Warning = "warning",
|
|
35
|
+
Warning75 = "warning75",
|
|
36
|
+
Warning50 = "warning50",
|
|
37
|
+
Warning25 = "warning25",
|
|
38
|
+
Error = "error",
|
|
39
|
+
Error75 = "error75",
|
|
40
|
+
Error50 = "error50",
|
|
41
|
+
Error25 = "error25",
|
|
42
|
+
Border = "border",
|
|
43
|
+
Border75 = "border75",
|
|
44
|
+
Border50 = "border50",
|
|
45
|
+
Border25 = "border25",
|
|
46
|
+
Placeholder = "placeholder",
|
|
47
|
+
Placeholder75 = "placeholder75",
|
|
48
|
+
Placeholder50 = "placeholder50",
|
|
49
|
+
Placeholder25 = "placeholder25",
|
|
50
|
+
Transparent = "transparent"
|
|
51
|
+
}
|
|
52
|
+
export declare enum FontWeightType {
|
|
53
|
+
Thin = "font-weight-thin",
|
|
54
|
+
ExtraLight = "font-weight-extra-light",
|
|
55
|
+
Light = "font-weight-light",
|
|
56
|
+
Regular = "font-weight-regular",
|
|
57
|
+
Medium = "font-weight-medium",
|
|
58
|
+
SemiBold = "font-weight-semi-bold",
|
|
59
|
+
Bold = "font-weight-bold",
|
|
60
|
+
ExtraBold = "font-weight-extra-bold",
|
|
61
|
+
Black = "font-weight-black"
|
|
62
|
+
}
|
|
63
|
+
export declare enum FontFamilyType {
|
|
64
|
+
Default = "font-family"
|
|
65
|
+
}
|
|
66
|
+
export declare enum LineHeightType {
|
|
67
|
+
Default = "line-height"
|
|
68
|
+
}
|
|
69
|
+
export declare enum PaddingType {
|
|
70
|
+
Default = "padding"
|
|
71
|
+
}
|
|
72
|
+
export declare enum LetterSpacingType {
|
|
73
|
+
Default = "letter-spacing"
|
|
74
|
+
}
|
|
75
|
+
export declare enum BorderRadiusType {
|
|
76
|
+
Default = "border-radius",
|
|
77
|
+
Fixed = "border-radius-fixed",
|
|
78
|
+
Max = "border-radius-max"
|
|
79
|
+
}
|
|
80
|
+
export declare enum ViewSizeType {
|
|
81
|
+
Ellipse = "v-ellipse-size",
|
|
82
|
+
Rectangle = "v-rectangle-size",
|
|
83
|
+
Image = "v-image-size",
|
|
84
|
+
Svg = "v-svg-size",
|
|
85
|
+
Window = "v-window-size"
|
|
86
|
+
}
|
|
87
|
+
export declare const getWeightValue: (weightType: FontWeightType) => number;
|
|
88
|
+
export type FullSizeType = SizeType | string;
|
|
89
|
+
export declare enum SizeType {
|
|
90
|
+
Default = "font-size",
|
|
91
|
+
Normal = "font-size-normal",
|
|
92
|
+
Small = "font-size-small",
|
|
93
|
+
ExtraSmall = "font-size-extra-small",
|
|
94
|
+
Large = "font-size-large",
|
|
95
|
+
ExtraLarge = "font-size-extra-large",
|
|
96
|
+
AutoNormal = "auto-font-size-normal",
|
|
97
|
+
AutoSmall = "auto-font-size-small",
|
|
98
|
+
AutoExtraSmall = "auto-font-size-extra-small",
|
|
99
|
+
AutoLarge = "auto-font-size-large",
|
|
100
|
+
AutoExtraLarge = "auto-font-size-extra-large"
|
|
101
|
+
}
|
|
102
|
+
export type FullColorType = ColorType | string;
|
|
103
|
+
export declare enum PseudoType {
|
|
104
|
+
All = "all",
|
|
105
|
+
Before = "before",
|
|
106
|
+
After = "after"
|
|
107
|
+
}
|
|
108
|
+
export declare enum DirectionType {
|
|
109
|
+
All = "all",
|
|
110
|
+
Top = "top",
|
|
111
|
+
Right = "right",
|
|
112
|
+
Bottom = "bottom",
|
|
113
|
+
Left = "left",
|
|
114
|
+
ExceptTop = "except-top",
|
|
115
|
+
ExceptRight = "except-right",
|
|
116
|
+
ExceptBottom = "except-bottom",
|
|
117
|
+
ExceptLeft = "except-left",
|
|
118
|
+
RightTop = "right-top",
|
|
119
|
+
RightBottom = "right-bottom",
|
|
120
|
+
LeftTop = "left-top",
|
|
121
|
+
LeftBottom = "left-bottom",
|
|
122
|
+
TopBottom = "top-bottom",
|
|
123
|
+
LeftRight = "left-right"
|
|
124
|
+
}
|
|
125
|
+
export declare enum ComponentType {
|
|
126
|
+
Flex = "Flex",
|
|
127
|
+
FlexItem = "FlexItem",
|
|
128
|
+
Position = "Position",
|
|
129
|
+
PositionArea = "PositionArea",
|
|
130
|
+
SBaseline = "SBaseline",
|
|
131
|
+
SBottom = "SBottom",
|
|
132
|
+
SLeft = "SLeft",
|
|
133
|
+
SMiddle = "SMiddle",
|
|
134
|
+
SCenter = "SCenter",
|
|
135
|
+
SRight = "SRight",
|
|
136
|
+
SStretch = "SStretch",
|
|
137
|
+
STop = "STop",
|
|
138
|
+
X = "X",
|
|
139
|
+
XAround = "XAround",
|
|
140
|
+
XAutoBoth = "XAutoBoth",
|
|
141
|
+
XAutoCenter = "XAutoCenter",
|
|
142
|
+
XAutoLeft = "XAutoLeft",
|
|
143
|
+
XAutoLefts = "XAutoLefts",
|
|
144
|
+
XAutoRight = "XAutoRight",
|
|
145
|
+
XAutoRights = "XAutoRights",
|
|
146
|
+
XBetween = "XBetween",
|
|
147
|
+
XCenter = "XCenter",
|
|
148
|
+
XCustom = "XCustom",
|
|
149
|
+
XCustomBoth = "XCustomBoth",
|
|
150
|
+
XEvenly = "XEvenly",
|
|
151
|
+
XLeft = "XLeft",
|
|
152
|
+
XRight = "XRight",
|
|
153
|
+
XWrap = "XWrap",
|
|
154
|
+
XWrapAround = "XWrapAround",
|
|
155
|
+
XWrapBetween = "XWrapBetween",
|
|
156
|
+
XWrapBottom = "XWrapBottom",
|
|
157
|
+
XWrapEvenly = "XWrapEvenly",
|
|
158
|
+
XWrapMiddle = "XWrapMiddle",
|
|
159
|
+
XWrapTop = "XWrapTop",
|
|
160
|
+
Y = "Y",
|
|
161
|
+
YAround = "YAround",
|
|
162
|
+
YBetween = "YBetween",
|
|
163
|
+
YBottom = "YBottom",
|
|
164
|
+
YEvenly = "YEvenly",
|
|
165
|
+
YMiddle = "YMiddle",
|
|
166
|
+
YTop = "YTop",
|
|
167
|
+
VEllipse = "VEllipse",
|
|
168
|
+
VLine = "VLine",
|
|
169
|
+
VRectangle = "VRectangle",
|
|
170
|
+
VAvatar = "VAvatar",
|
|
171
|
+
VBlock = "VBlock",
|
|
172
|
+
VBoundary = "VBoundary",
|
|
173
|
+
VButton = "VButton",
|
|
174
|
+
VCard = "VCard",
|
|
175
|
+
VCardMedia = "VCardMedia",
|
|
176
|
+
VCardSocial = "VCardSocial",
|
|
177
|
+
VCardWindow = "VCardWindow",
|
|
178
|
+
VChromeExtensionValidator = "VChromeExtensionValidator",
|
|
179
|
+
VCodePreview = "VCodePreview",
|
|
180
|
+
VDesigner = "VDesigner",
|
|
181
|
+
VDynamic = "VDynamic",
|
|
182
|
+
VBackground = "VBackground",
|
|
183
|
+
VForm = "VForm",
|
|
184
|
+
VImage = "VImage",
|
|
185
|
+
VCheckBox = "VCheckBox",
|
|
186
|
+
VColor = "VColor",
|
|
187
|
+
VDate = "VDate",
|
|
188
|
+
VDatetimeLocal = "VDatetimeLocal",
|
|
189
|
+
VEmail = "VEmail",
|
|
190
|
+
VFile = "VFile",
|
|
191
|
+
VMonth = "VMonth",
|
|
192
|
+
VNumber = "VNumber",
|
|
193
|
+
VPassword = "VPassword",
|
|
194
|
+
VRadio = "VRadio",
|
|
195
|
+
VRange = "VRange",
|
|
196
|
+
VSearch = "VSearch",
|
|
197
|
+
VSubmit = "VSubmit",
|
|
198
|
+
VTel = "VTel",
|
|
199
|
+
VTextBox = "VTextBox",
|
|
200
|
+
VTime = "VTime",
|
|
201
|
+
VUrl = "VUrl",
|
|
202
|
+
VWeek = "VWeek",
|
|
203
|
+
VLabel = "VLabel",
|
|
204
|
+
VLink = "VLink",
|
|
205
|
+
VPhoto = "VPhoto",
|
|
206
|
+
VShadow = "VShadow",
|
|
207
|
+
VStack = "VStack",
|
|
208
|
+
VSvg = "VSvg",
|
|
209
|
+
VText = "VText",
|
|
210
|
+
VTooltip = "VTooltip"
|
|
211
|
+
}
|
|
212
|
+
export declare const getGeneratedClassName: (className: string, isDefaultValue: boolean | undefined, sizeType?: FullSizeType, isAutoSize?: boolean, weightType?: FontWeightType, frontColorType?: FullColorType, backgroundColorType?: FullColorType, borderColorType?: FullColorType, borderDirection?: DirectionType, pseudoType?: PseudoType, pseudoFrontColor?: FullColorType, pseudoBackgroundColor?: FullColorType, pseudoBorderColor?: FullColorType, pseudoBorderDirection?: DirectionType) => string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BreakpointType } from '..';
|
|
2
|
+
import { IChildrenProps } from '../../Engine/Base';
|
|
3
|
+
export declare enum DisplayCategory {
|
|
4
|
+
Visiable = "visiable",
|
|
5
|
+
Hidden = "hidden"
|
|
6
|
+
}
|
|
7
|
+
export declare enum DisplayType {
|
|
8
|
+
Only = "only",
|
|
9
|
+
Up = "up",
|
|
10
|
+
Down = "down"
|
|
11
|
+
}
|
|
12
|
+
export interface IDisplayProps extends IChildrenProps {
|
|
13
|
+
category: DisplayCategory;
|
|
14
|
+
type?: DisplayType;
|
|
15
|
+
breakpoint?: BreakpointType | BreakpointType[];
|
|
16
|
+
}
|
|
17
|
+
declare const Display: (props: IDisplayProps) => JSX.Element;
|
|
18
|
+
export default Display;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IChildrenProps, IEventProps, IViewProps } from '../../Engine/Base';
|
|
3
|
+
export declare enum DockCategory {
|
|
4
|
+
Top = "top",
|
|
5
|
+
Right = "right",
|
|
6
|
+
Bottom = "bottom",
|
|
7
|
+
Left = "left",
|
|
8
|
+
LeftTop = "left-top",
|
|
9
|
+
RightTop = "right-top",
|
|
10
|
+
LeftBottom = "left-bottom",
|
|
11
|
+
RightBottom = "right-bottom",
|
|
12
|
+
LeftInnerTop = "left-inner-top",
|
|
13
|
+
RightInnerTop = "right-inner-top",
|
|
14
|
+
LeftInnerBottom = "left-inner-bottom",
|
|
15
|
+
RightInnerBottom = "right-inner-bottom"
|
|
16
|
+
}
|
|
17
|
+
export interface IDockProps extends IChildrenProps, IEventProps, IViewProps {
|
|
18
|
+
category?: DockCategory;
|
|
19
|
+
overlayWidth?: string;
|
|
20
|
+
renderOverlay: () => JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
declare const Dock: React.FC<IDockProps>;
|
|
23
|
+
export default Dock;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IChildrenProps, IEventProps, IViewProps } from '../../Engine/Base';
|
|
3
|
+
export declare enum DockCategory {
|
|
4
|
+
Auto = "auto",
|
|
5
|
+
Fix = "fix"
|
|
6
|
+
}
|
|
7
|
+
export declare enum DockType {
|
|
8
|
+
Top = "top",
|
|
9
|
+
Right = "right",
|
|
10
|
+
Bottom = "bottom",
|
|
11
|
+
Left = "left",
|
|
12
|
+
LeftTop = "left-top",
|
|
13
|
+
RightTop = "right-top",
|
|
14
|
+
LeftBottom = "left-bottom",
|
|
15
|
+
RightBottom = "right-bottom"
|
|
16
|
+
}
|
|
17
|
+
export interface IDockProps extends IChildrenProps, IEventProps, IViewProps {
|
|
18
|
+
category?: DockCategory;
|
|
19
|
+
type?: DockType;
|
|
20
|
+
gap?: number;
|
|
21
|
+
renderOverlay: () => JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
declare const Dock: React.FC<IDockProps>;
|
|
24
|
+
export default Dock;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export declare enum FlexDirectionType {
|
|
3
|
+
Row = "row",
|
|
4
|
+
RowReverse = "row-reverse",
|
|
5
|
+
Column = "column",
|
|
6
|
+
ColumnReverse = "column-reverse"
|
|
7
|
+
}
|
|
8
|
+
export declare enum FlexWrapType {
|
|
9
|
+
NoWrap = "nowrap",
|
|
10
|
+
Wrap = "wrap"
|
|
11
|
+
}
|
|
12
|
+
export declare enum FlexJustifyContentType {
|
|
13
|
+
Start = "flex-start",
|
|
14
|
+
Center = "center",
|
|
15
|
+
End = "flex-end",
|
|
16
|
+
SpaceBetween = "space-between",
|
|
17
|
+
SpaceAround = "space-around",
|
|
18
|
+
SpaceEvenly = "space-evenly"
|
|
19
|
+
}
|
|
20
|
+
export declare enum FlexAlignItemsType {
|
|
21
|
+
Start = "flex-start",
|
|
22
|
+
Center = "center",
|
|
23
|
+
End = "flex-end",
|
|
24
|
+
Stretch = "stretch",
|
|
25
|
+
Baseline = "baseline"
|
|
26
|
+
}
|
|
27
|
+
export declare enum FlexAlignContentType {
|
|
28
|
+
Start = "flex-start",
|
|
29
|
+
Center = "center",
|
|
30
|
+
End = "flex-end",
|
|
31
|
+
SpaceBetween = "space-between",
|
|
32
|
+
SpaceAround = "space-around",
|
|
33
|
+
SpaceEvenly = "space-evenly"
|
|
34
|
+
}
|
|
35
|
+
export interface IFlexProps extends IBaseProps {
|
|
36
|
+
direction?: FlexDirectionType;
|
|
37
|
+
wrap?: FlexWrapType;
|
|
38
|
+
justifyContent?: FlexJustifyContentType;
|
|
39
|
+
alignItems?: FlexAlignItemsType;
|
|
40
|
+
alignContent?: FlexAlignContentType;
|
|
41
|
+
gap?: string;
|
|
42
|
+
}
|
|
43
|
+
declare const Flex: (props: IFlexProps) => JSX.Element;
|
|
44
|
+
export default Flex;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
3
|
+
export declare enum FlexItemAlignSelfType {
|
|
4
|
+
Start = "start",
|
|
5
|
+
Center = "center",
|
|
6
|
+
End = "end",
|
|
7
|
+
Stretch = "stretch",
|
|
8
|
+
Baseline = "baseline"
|
|
9
|
+
}
|
|
10
|
+
export interface IFlexItemProps extends IBaseProps {
|
|
11
|
+
alignSelf?: FlexItemAlignSelfType;
|
|
12
|
+
order?: Property.Order;
|
|
13
|
+
basis?: Property.FlexBasis;
|
|
14
|
+
grow?: Property.FlexGrow;
|
|
15
|
+
shrink?: Property.FlexShrink;
|
|
16
|
+
}
|
|
17
|
+
declare const FlexItem: (props: IFlexItemProps) => JSX.Element;
|
|
18
|
+
export default FlexItem;
|