@fewbox/den 0.0.83
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 +12225 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/package.json +30 -0
- package/scripts/copy-templates.js +29 -0
- package/src/action/index.d.ts +8 -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/Api/GAPI/index.d.ts +7 -0
- package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
- package/src/components/Auth/GoogleSignin/index.d.ts +14 -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 +222 -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/VDesigner/VDesignerConnection/index.d.ts +10 -0
- package/src/components/View/VDesigner/VDesignerElement/index.d.ts +11 -0
- package/src/components/View/VDesigner/VDesignerGroup/index.d.ts +10 -0
- package/src/components/View/VDesigner/VDesignerNode/index.d.ts +68 -0
- package/src/components/View/VDesigner/index.d.ts +35 -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/VImage/Web/index.d.ts +6 -0
- package/src/components/View/VInput/VBase64File/App/index.d.ts +10 -0
- package/src/components/View/VInput/VBase64File/Web/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 +47 -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/VLink/Web/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 +138 -0
- package/src/components/util.d.ts +1 -0
- package/src/fewbox/index.d.ts +26 -0
- package/src/language/index.d.ts +5 -0
- package/src/network/Delete.d.ts +6 -0
- package/src/network/DeleteExternal.d.ts +6 -0
- package/src/network/DeleteForm.d.ts +6 -0
- package/src/network/DeleteFormExternal.d.ts +6 -0
- package/src/network/FormHeaders.d.ts +2 -0
- package/src/network/GQL.d.ts +7 -0
- package/src/network/GQLExternal.d.ts +7 -0
- package/src/network/GQLExternalUpload.d.ts +7 -0
- package/src/network/GQLUpload.d.ts +7 -0
- package/src/network/Get.d.ts +6 -0
- package/src/network/GetExternal.d.ts +6 -0
- package/src/network/GetFetch.d.ts +6 -0
- package/src/network/GetFetchExternal.d.ts +6 -0
- package/src/network/GetForm.d.ts +6 -0
- package/src/network/GetFormExternal.d.ts +6 -0
- package/src/network/GetLocal.d.ts +5 -0
- package/src/network/GetSSE.d.ts +5 -0
- package/src/network/IGraphQL.d.ts +6 -0
- package/src/network/JsonHeaders.d.ts +5 -0
- package/src/network/LoadPayload.d.ts +1 -0
- package/src/network/Network.d.ts +45 -0
- package/src/network/NetworkObservableAjax.d.ts +8 -0
- package/src/network/NetworkObservableAjaxExternal.d.ts +9 -0
- package/src/network/NetworkObservableBase.d.ts +11 -0
- package/src/network/NetworkObservableFetch.d.ts +7 -0
- package/src/network/NetworkObservableFetchExternal.d.ts +8 -0
- package/src/network/NetworkObservableGQL.d.ts +8 -0
- package/src/network/NetworkObservableGQLExternal.d.ts +9 -0
- package/src/network/Patch.d.ts +6 -0
- package/src/network/PatchExternal.d.ts +6 -0
- package/src/network/PatchFetch.d.ts +6 -0
- package/src/network/PatchFetchExternal.d.ts +6 -0
- package/src/network/PatchForm.d.ts +6 -0
- package/src/network/PatchFormExternal.d.ts +6 -0
- package/src/network/Post.d.ts +6 -0
- package/src/network/PostExternal.d.ts +6 -0
- package/src/network/PostFetch.d.ts +6 -0
- package/src/network/PostFetchExternal.d.ts +6 -0
- package/src/network/PostForm.d.ts +6 -0
- package/src/network/PostFormExternal.d.ts +6 -0
- package/src/network/PostSSE.d.ts +5 -0
- package/src/network/Put.d.ts +6 -0
- package/src/network/PutExternal.d.ts +6 -0
- package/src/network/PutFetch.d.ts +6 -0
- package/src/network/PutFetchExternal.d.ts +6 -0
- package/src/network/PutForm.d.ts +6 -0
- package/src/network/PutFormExternal.d.ts +6 -0
- package/src/network/SSEObservableBase.d.ts +12 -0
- package/src/network/UploadHeaders.d.ts +2 -0
- package/src/network/WS.d.ts +11 -0
- package/src/network/index.d.ts +43 -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 +56 -0
- package/templates/style/_root.scss +6 -0
- package/templates/style/_variables.scss +194 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
export declare const ga4Scope: (callback: () => void) => void;
|
|
2
|
+
export declare const ga4NextJSScope: (GA4: any, callback: () => void) => void;
|
|
3
|
+
export interface ICustomGA4Options {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export interface IGA4Options {
|
|
7
|
+
userId?: string;
|
|
8
|
+
app?: string;
|
|
9
|
+
version?: string;
|
|
10
|
+
cookieExpires?: number;
|
|
11
|
+
cookieDomain?: string;
|
|
12
|
+
cookieFlags?: string;
|
|
13
|
+
clientId?: string;
|
|
14
|
+
anonymizeIp?: boolean;
|
|
15
|
+
contentGroup1?: string;
|
|
16
|
+
contentGroup2?: string;
|
|
17
|
+
contentGroup3?: string;
|
|
18
|
+
contentGroup4?: string;
|
|
19
|
+
contentGroup5?: string;
|
|
20
|
+
allowAdFeatures?: boolean;
|
|
21
|
+
allowAdPersonalizationSignals?: boolean;
|
|
22
|
+
nonInteraction?: boolean;
|
|
23
|
+
page?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ICustomGAOptions {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}
|
|
28
|
+
export interface IGAOptions {
|
|
29
|
+
name?: string;
|
|
30
|
+
clientId?: string;
|
|
31
|
+
sampleRate?: number;
|
|
32
|
+
siteSpeedSampleRate?: number;
|
|
33
|
+
alwaysSendReferrer?: boolean;
|
|
34
|
+
allowAnchor?: boolean;
|
|
35
|
+
cookieName?: string;
|
|
36
|
+
cookieDomain?: string;
|
|
37
|
+
cookieExpires?: number;
|
|
38
|
+
cookieUpdate?: boolean;
|
|
39
|
+
legacyCookieDomain?: string;
|
|
40
|
+
legacyHistoryImport?: boolean;
|
|
41
|
+
allowLinker?: boolean;
|
|
42
|
+
userId?: string;
|
|
43
|
+
storage?: string;
|
|
44
|
+
storeGac?: boolean;
|
|
45
|
+
cookieFlags?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface ICustomGTagOptions {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}
|
|
50
|
+
export interface IGTagOptions {
|
|
51
|
+
}
|
|
52
|
+
export declare const ga4Init: (trackingId: string, isDebugMode?: boolean, gaOptions?: IGA4Options | ICustomGA4Options, gTagOptions?: IGTagOptions | ICustomGTagOptions) => void;
|
|
53
|
+
export declare const ga4NextJSInit: (GA4: any, trackingId: string, isDebugMode?: boolean, gaOptions?: IGA4Options | ICustomGA4Options, gTagOptions?: IGTagOptions | ICustomGTagOptions) => void;
|
|
54
|
+
export interface IGFieldsObject {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}
|
|
57
|
+
export declare const ga4SetFieldsObject: (fieldsObject: IGFieldsObject, isDebugMode?: boolean) => void;
|
|
58
|
+
export declare const ga4NextJSSetFieldsObject: (GA4: any, fieldsObject: IGFieldsObject, isDebugMode?: boolean) => void;
|
|
59
|
+
export declare const ga4Pageview: (path: string, isDebugMode?: boolean) => void;
|
|
60
|
+
export declare const ga4NextJSPageview: (GA4: any, path: string, isDebugMode?: boolean) => void;
|
|
61
|
+
export declare enum GAEventTransportType {
|
|
62
|
+
Beacon = "beacon",
|
|
63
|
+
Xhr = "xhr",
|
|
64
|
+
Image = "image"
|
|
65
|
+
}
|
|
66
|
+
export interface IGAEvent {
|
|
67
|
+
category: string;
|
|
68
|
+
action: string;
|
|
69
|
+
label?: string;
|
|
70
|
+
value?: number;
|
|
71
|
+
nonInteraction?: boolean;
|
|
72
|
+
transport?: GAEventTransportType;
|
|
73
|
+
dimension1?: string;
|
|
74
|
+
dimension2?: string;
|
|
75
|
+
dimension3?: string;
|
|
76
|
+
dimension4?: string;
|
|
77
|
+
dimension5?: string;
|
|
78
|
+
dimension6?: string;
|
|
79
|
+
dimension7?: string;
|
|
80
|
+
dimension8?: string;
|
|
81
|
+
dimension9?: string;
|
|
82
|
+
dimension10?: string;
|
|
83
|
+
dimension11?: string;
|
|
84
|
+
dimension12?: string;
|
|
85
|
+
dimension13?: string;
|
|
86
|
+
dimension14?: string;
|
|
87
|
+
dimension15?: string;
|
|
88
|
+
dimension16?: string;
|
|
89
|
+
dimension17?: string;
|
|
90
|
+
dimension18?: string;
|
|
91
|
+
dimension19?: string;
|
|
92
|
+
dimension20?: string;
|
|
93
|
+
metric1?: number;
|
|
94
|
+
metric2?: number;
|
|
95
|
+
metric3?: number;
|
|
96
|
+
metric4?: number;
|
|
97
|
+
metric5?: number;
|
|
98
|
+
metric6?: number;
|
|
99
|
+
metric7?: number;
|
|
100
|
+
metric8?: number;
|
|
101
|
+
metric9?: number;
|
|
102
|
+
metric10?: number;
|
|
103
|
+
metric11?: number;
|
|
104
|
+
metric12?: number;
|
|
105
|
+
metric13?: number;
|
|
106
|
+
metric14?: number;
|
|
107
|
+
metric15?: number;
|
|
108
|
+
metric16?: number;
|
|
109
|
+
metric17?: number;
|
|
110
|
+
metric18?: number;
|
|
111
|
+
metric19?: number;
|
|
112
|
+
metric20?: number;
|
|
113
|
+
}
|
|
114
|
+
export declare const ga4Event: (gaEvent: IGAEvent, isDebugMode?: boolean) => void;
|
|
115
|
+
export declare const ga4NextJSEvent: (GA4: any, gaEvent: IGAEvent, isDebugMode?: boolean) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IChildrenProps } from '../../Engine/Base';
|
|
2
|
+
export interface IFigmaSigninProps extends IChildrenProps {
|
|
3
|
+
clientId: string;
|
|
4
|
+
redirectUrl: string;
|
|
5
|
+
scope: string;
|
|
6
|
+
responseType: string;
|
|
7
|
+
}
|
|
8
|
+
declare const FigmaSignin: (props: IFigmaSigninProps) => JSX.Element;
|
|
9
|
+
export default FigmaSignin;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IChildrenProps } from '../../Engine/Base';
|
|
2
|
+
export interface IGoogleAccount {
|
|
3
|
+
token: string;
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
avatarUrl: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IGoogleSigninProps extends IChildrenProps {
|
|
9
|
+
showStopWorkingMessage: () => void;
|
|
10
|
+
showErrorMessage: (error: any) => void;
|
|
11
|
+
initGoogleAccount: (googleAccount: IGoogleAccount) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const GoogleSignin: (props: IGoogleSigninProps) => JSX.Element;
|
|
14
|
+
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,222 @@
|
|
|
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 interface IViewProps {
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
size?: FullSizeType;
|
|
12
|
+
isAutoSize?: boolean;
|
|
13
|
+
weight?: FontWeightType;
|
|
14
|
+
frontColor?: FullColorType;
|
|
15
|
+
backgroundColor?: FullColorType;
|
|
16
|
+
borderColor?: FullColorType;
|
|
17
|
+
borderDirection?: DirectionType;
|
|
18
|
+
pseudoType?: PseudoType;
|
|
19
|
+
pseudoFrontColor?: FullColorType;
|
|
20
|
+
pseudoBackgroundColor?: FullColorType;
|
|
21
|
+
pseudoBorderColor?: FullColorType;
|
|
22
|
+
pseudoBorderDirection?: DirectionType;
|
|
23
|
+
display?: Property.Display;
|
|
24
|
+
visibility?: Property.Visibility;
|
|
25
|
+
zIndex?: Property.ZIndex;
|
|
26
|
+
fontFamily?: Property.FontFamily;
|
|
27
|
+
borderWidth?: Property.BorderWidth<TLength>;
|
|
28
|
+
borderRadius?: Property.BorderRadius<TLength>;
|
|
29
|
+
borderStyle?: Property.BorderStyle;
|
|
30
|
+
padding?: Property.Padding<TLength>;
|
|
31
|
+
margin?: Property.Margin<TLength>;
|
|
32
|
+
height?: Property.Height<TLength>;
|
|
33
|
+
width?: Property.Width<TLength>;
|
|
34
|
+
minHeight?: Property.Width<TLength>;
|
|
35
|
+
minWidth?: Property.Width<TLength>;
|
|
36
|
+
maxHeight?: Property.Width<TLength>;
|
|
37
|
+
maxWidth?: Property.Width<TLength>;
|
|
38
|
+
opacity?: Property.Opacity;
|
|
39
|
+
letterSpacing?: Property.LetterSpacing<TLength>;
|
|
40
|
+
lineHeight?: Property.LineHeight<TLength>;
|
|
41
|
+
cursor?: Property.Cursor;
|
|
42
|
+
overflow?: Property.Overflow;
|
|
43
|
+
overflowX?: Property.OverflowX;
|
|
44
|
+
overflowY?: Property.OverflowY;
|
|
45
|
+
isDefaultValue?: boolean;
|
|
46
|
+
key?: React.Key | undefined;
|
|
47
|
+
ref?: React.LegacyRef<any> | undefined;
|
|
48
|
+
customAttibutes?: Object;
|
|
49
|
+
}
|
|
50
|
+
export interface IEventProps {
|
|
51
|
+
onCopy?: React.ClipboardEventHandler<any> | undefined;
|
|
52
|
+
onCopyCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
53
|
+
onCut?: React.ClipboardEventHandler<any> | undefined;
|
|
54
|
+
onCutCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
55
|
+
onPaste?: React.ClipboardEventHandler<any> | undefined;
|
|
56
|
+
onPasteCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
57
|
+
onCompositionEnd?: React.CompositionEventHandler<any> | undefined;
|
|
58
|
+
onCompositionEndCapture?: React.CompositionEventHandler<any> | undefined;
|
|
59
|
+
onCompositionStart?: React.CompositionEventHandler<any> | undefined;
|
|
60
|
+
onCompositionStartCapture?: React.CompositionEventHandler<any> | undefined;
|
|
61
|
+
onCompositionUpdate?: React.CompositionEventHandler<any> | undefined;
|
|
62
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<any> | undefined;
|
|
63
|
+
onFocus?: React.FocusEventHandler<any> | undefined;
|
|
64
|
+
onFocusCapture?: React.FocusEventHandler<any> | undefined;
|
|
65
|
+
onBlur?: React.FocusEventHandler<any> | undefined;
|
|
66
|
+
onBlurCapture?: React.FocusEventHandler<any> | undefined;
|
|
67
|
+
onChange?: React.FormEventHandler<any> | undefined;
|
|
68
|
+
onChangeCapture?: React.FormEventHandler<any> | undefined;
|
|
69
|
+
onBeforeInput?: React.FormEventHandler<any> | undefined;
|
|
70
|
+
onBeforeInputCapture?: React.FormEventHandler<any> | undefined;
|
|
71
|
+
onInput?: React.FormEventHandler<any> | undefined;
|
|
72
|
+
onInputCapture?: React.FormEventHandler<any> | undefined;
|
|
73
|
+
onReset?: React.FormEventHandler<any> | undefined;
|
|
74
|
+
onResetCapture?: React.FormEventHandler<any> | undefined;
|
|
75
|
+
onSubmit?: React.FormEventHandler<any> | undefined;
|
|
76
|
+
onSubmitCapture?: React.FormEventHandler<any> | undefined;
|
|
77
|
+
onInvalid?: React.FormEventHandler<any> | undefined;
|
|
78
|
+
onInvalidCapture?: React.FormEventHandler<any> | undefined;
|
|
79
|
+
onLoad?: React.ReactEventHandler<any> | undefined;
|
|
80
|
+
onLoadCapture?: React.ReactEventHandler<any> | undefined;
|
|
81
|
+
onError?: React.ReactEventHandler<any> | undefined;
|
|
82
|
+
onErrorCapture?: React.ReactEventHandler<any> | undefined;
|
|
83
|
+
onKeyDown?: React.KeyboardEventHandler<any> | undefined;
|
|
84
|
+
onKeyDownCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
85
|
+
onKeyPress?: React.KeyboardEventHandler<any> | undefined;
|
|
86
|
+
onKeyPressCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
87
|
+
onKeyUp?: React.KeyboardEventHandler<any> | undefined;
|
|
88
|
+
onKeyUpCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
89
|
+
onAbort?: React.ReactEventHandler<any> | undefined;
|
|
90
|
+
onAbortCapture?: React.ReactEventHandler<any> | undefined;
|
|
91
|
+
onCanPlay?: React.ReactEventHandler<any> | undefined;
|
|
92
|
+
onCanPlayCapture?: React.ReactEventHandler<any> | undefined;
|
|
93
|
+
onCanPlayThrough?: React.ReactEventHandler<any> | undefined;
|
|
94
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<any> | undefined;
|
|
95
|
+
onDurationChange?: React.ReactEventHandler<any> | undefined;
|
|
96
|
+
onDurationChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
97
|
+
onEmptied?: React.ReactEventHandler<any> | undefined;
|
|
98
|
+
onEmptiedCapture?: React.ReactEventHandler<any> | undefined;
|
|
99
|
+
onEncrypted?: React.ReactEventHandler<any> | undefined;
|
|
100
|
+
onEncryptedCapture?: React.ReactEventHandler<any> | undefined;
|
|
101
|
+
onEnded?: React.ReactEventHandler<any> | undefined;
|
|
102
|
+
onEndedCapture?: React.ReactEventHandler<any> | undefined;
|
|
103
|
+
onLoadedData?: React.ReactEventHandler<any> | undefined;
|
|
104
|
+
onLoadedDataCapture?: React.ReactEventHandler<any> | undefined;
|
|
105
|
+
onLoadedMetadata?: React.ReactEventHandler<any> | undefined;
|
|
106
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<any> | undefined;
|
|
107
|
+
onLoadStart?: React.ReactEventHandler<any> | undefined;
|
|
108
|
+
onLoadStartCapture?: React.ReactEventHandler<any> | undefined;
|
|
109
|
+
onPause?: React.ReactEventHandler<any> | undefined;
|
|
110
|
+
onPauseCapture?: React.ReactEventHandler<any> | undefined;
|
|
111
|
+
onPlay?: React.ReactEventHandler<any> | undefined;
|
|
112
|
+
onPlayCapture?: React.ReactEventHandler<any> | undefined;
|
|
113
|
+
onPlaying?: React.ReactEventHandler<any> | undefined;
|
|
114
|
+
onPlayingCapture?: React.ReactEventHandler<any> | undefined;
|
|
115
|
+
onProgress?: React.ReactEventHandler<any> | undefined;
|
|
116
|
+
onProgressCapture?: React.ReactEventHandler<any> | undefined;
|
|
117
|
+
onRateChange?: React.ReactEventHandler<any> | undefined;
|
|
118
|
+
onRateChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
119
|
+
onSeeked?: React.ReactEventHandler<any> | undefined;
|
|
120
|
+
onSeekedCapture?: React.ReactEventHandler<any> | undefined;
|
|
121
|
+
onSeeking?: React.ReactEventHandler<any> | undefined;
|
|
122
|
+
onSeekingCapture?: React.ReactEventHandler<any> | undefined;
|
|
123
|
+
onStalled?: React.ReactEventHandler<any> | undefined;
|
|
124
|
+
onStalledCapture?: React.ReactEventHandler<any> | undefined;
|
|
125
|
+
onSuspend?: React.ReactEventHandler<any> | undefined;
|
|
126
|
+
onSuspendCapture?: React.ReactEventHandler<any> | undefined;
|
|
127
|
+
onTimeUpdate?: React.ReactEventHandler<any> | undefined;
|
|
128
|
+
onTimeUpdateCapture?: React.ReactEventHandler<any> | undefined;
|
|
129
|
+
onVolumeChange?: React.ReactEventHandler<any> | undefined;
|
|
130
|
+
onVolumeChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
131
|
+
onWaiting?: React.ReactEventHandler<any> | undefined;
|
|
132
|
+
onWaitingCapture?: React.ReactEventHandler<any> | undefined;
|
|
133
|
+
onAuxClick?: React.MouseEventHandler<any> | undefined;
|
|
134
|
+
onAuxClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
135
|
+
onClick?: React.MouseEventHandler<any> | undefined;
|
|
136
|
+
onClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
137
|
+
onContextMenu?: React.MouseEventHandler<any> | undefined;
|
|
138
|
+
onContextMenuCapture?: React.MouseEventHandler<any> | undefined;
|
|
139
|
+
onDoubleClick?: React.MouseEventHandler<any> | undefined;
|
|
140
|
+
onDoubleClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
141
|
+
onDrag?: React.DragEventHandler<any> | undefined;
|
|
142
|
+
onDragCapture?: React.DragEventHandler<any> | undefined;
|
|
143
|
+
onDragEnd?: React.DragEventHandler<any> | undefined;
|
|
144
|
+
onDragEndCapture?: React.DragEventHandler<any> | undefined;
|
|
145
|
+
onDragEnter?: React.DragEventHandler<any> | undefined;
|
|
146
|
+
onDragEnterCapture?: React.DragEventHandler<any> | undefined;
|
|
147
|
+
onDragExit?: React.DragEventHandler<any> | undefined;
|
|
148
|
+
onDragExitCapture?: React.DragEventHandler<any> | undefined;
|
|
149
|
+
onDragLeave?: React.DragEventHandler<any> | undefined;
|
|
150
|
+
onDragLeaveCapture?: React.DragEventHandler<any> | undefined;
|
|
151
|
+
onDragOver?: React.DragEventHandler<any> | undefined;
|
|
152
|
+
onDragOverCapture?: React.DragEventHandler<any> | undefined;
|
|
153
|
+
onDragStart?: React.DragEventHandler<any> | undefined;
|
|
154
|
+
onDragStartCapture?: React.DragEventHandler<any> | undefined;
|
|
155
|
+
onDrop?: React.DragEventHandler<any> | undefined;
|
|
156
|
+
onDropCapture?: React.DragEventHandler<any> | undefined;
|
|
157
|
+
onMouseDown?: React.MouseEventHandler<any> | undefined;
|
|
158
|
+
onMouseDownCapture?: React.MouseEventHandler<any> | undefined;
|
|
159
|
+
onMouseEnter?: React.MouseEventHandler<any> | undefined;
|
|
160
|
+
onMouseLeave?: React.MouseEventHandler<any> | undefined;
|
|
161
|
+
onMouseMove?: React.MouseEventHandler<any> | undefined;
|
|
162
|
+
onMouseMoveCapture?: React.MouseEventHandler<any> | undefined;
|
|
163
|
+
onMouseOut?: React.MouseEventHandler<any> | undefined;
|
|
164
|
+
onMouseOutCapture?: React.MouseEventHandler<any> | undefined;
|
|
165
|
+
onMouseOver?: React.MouseEventHandler<any> | undefined;
|
|
166
|
+
onMouseOverCapture?: React.MouseEventHandler<any> | undefined;
|
|
167
|
+
onMouseUp?: React.MouseEventHandler<any> | undefined;
|
|
168
|
+
onMouseUpCapture?: React.MouseEventHandler<any> | undefined;
|
|
169
|
+
onSelect?: React.ReactEventHandler<any> | undefined;
|
|
170
|
+
onSelectCapture?: React.ReactEventHandler<any> | undefined;
|
|
171
|
+
onTouchCancel?: React.TouchEventHandler<any> | undefined;
|
|
172
|
+
onTouchCancelCapture?: React.TouchEventHandler<any> | undefined;
|
|
173
|
+
onTouchEnd?: React.TouchEventHandler<any> | undefined;
|
|
174
|
+
onTouchEndCapture?: React.TouchEventHandler<any> | undefined;
|
|
175
|
+
onTouchMove?: React.TouchEventHandler<any> | undefined;
|
|
176
|
+
onTouchMoveCapture?: React.TouchEventHandler<any> | undefined;
|
|
177
|
+
onTouchStart?: React.TouchEventHandler<any> | undefined;
|
|
178
|
+
onTouchStartCapture?: React.TouchEventHandler<any> | undefined;
|
|
179
|
+
onPointerDown?: React.PointerEventHandler<any> | undefined;
|
|
180
|
+
onPointerDownCapture?: React.PointerEventHandler<any> | undefined;
|
|
181
|
+
onPointerMove?: React.PointerEventHandler<any> | undefined;
|
|
182
|
+
onPointerMoveCapture?: React.PointerEventHandler<any> | undefined;
|
|
183
|
+
onPointerUp?: React.PointerEventHandler<any> | undefined;
|
|
184
|
+
onPointerUpCapture?: React.PointerEventHandler<any> | undefined;
|
|
185
|
+
onPointerCancel?: React.PointerEventHandler<any> | undefined;
|
|
186
|
+
onPointerCancelCapture?: React.PointerEventHandler<any> | undefined;
|
|
187
|
+
onPointerEnter?: React.PointerEventHandler<any> | undefined;
|
|
188
|
+
onPointerEnterCapture?: React.PointerEventHandler<any> | undefined;
|
|
189
|
+
onPointerLeave?: React.PointerEventHandler<any> | undefined;
|
|
190
|
+
onPointerLeaveCapture?: React.PointerEventHandler<any> | undefined;
|
|
191
|
+
onPointerOver?: React.PointerEventHandler<any> | undefined;
|
|
192
|
+
onPointerOverCapture?: React.PointerEventHandler<any> | undefined;
|
|
193
|
+
onPointerOut?: React.PointerEventHandler<any> | undefined;
|
|
194
|
+
onPointerOutCapture?: React.PointerEventHandler<any> | undefined;
|
|
195
|
+
onGotPointerCapture?: React.PointerEventHandler<any> | undefined;
|
|
196
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<any> | undefined;
|
|
197
|
+
onLostPointerCapture?: React.PointerEventHandler<any> | undefined;
|
|
198
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<any> | undefined;
|
|
199
|
+
onScroll?: React.UIEventHandler<any> | undefined;
|
|
200
|
+
onScrollCapture?: React.UIEventHandler<any> | undefined;
|
|
201
|
+
onWheel?: React.WheelEventHandler<any> | undefined;
|
|
202
|
+
onWheelCapture?: React.WheelEventHandler<any> | undefined;
|
|
203
|
+
onAnimationStart?: React.AnimationEventHandler<any> | undefined;
|
|
204
|
+
onAnimationStartCapture?: React.AnimationEventHandler<any> | undefined;
|
|
205
|
+
onAnimationEnd?: React.AnimationEventHandler<any> | undefined;
|
|
206
|
+
onAnimationEndCapture?: React.AnimationEventHandler<any> | undefined;
|
|
207
|
+
onAnimationIteration?: React.AnimationEventHandler<any> | undefined;
|
|
208
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<any> | undefined;
|
|
209
|
+
onTransitionEnd?: React.TransitionEventHandler<any> | undefined;
|
|
210
|
+
onTransitionEndCapture?: React.TransitionEventHandler<any> | undefined;
|
|
211
|
+
}
|
|
212
|
+
export interface IBaseProps extends IChildrenProps, IViewProps, IEventProps {
|
|
213
|
+
}
|
|
214
|
+
export interface IBaseStates {
|
|
215
|
+
}
|
|
216
|
+
export interface IBaseReturn {
|
|
217
|
+
getClassName: (vClassName: string) => string;
|
|
218
|
+
getStyle: () => object;
|
|
219
|
+
getChildren: (props: IChildrenProps) => React.ReactNode;
|
|
220
|
+
}
|
|
221
|
+
declare const Base: (props: IViewProps | IBaseProps) => IBaseReturn;
|
|
222
|
+
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;
|