@fewbox/den-app 0.1.43
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 +13 -0
- package/index.css +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/jest.setup.d.ts +1 -0
- package/package.json +26 -0
- package/scripts/copy-templates.js +29 -0
- package/scripts/generate-packages.js +41 -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/NativeAttributeMap.d.ts +2 -0
- package/src/components/Engine/Base/ViewAttributes.d.ts +2 -0
- package/src/components/Engine/Base/index.d.ts +61 -0
- package/src/components/Engine/index.d.ts +125 -0
- package/src/components/Layout/Display/index.d.ts +18 -0
- package/src/components/Layout/Dock/index.d.ts +42 -0
- package/src/components/Layout/Flex/index.d.ts +45 -0
- package/src/components/Layout/FlexItem/index.d.ts +18 -0
- package/src/components/Layout/Position/index.d.ts +32 -0
- package/src/components/Layout/PositionArea/index.d.ts +10 -0
- package/src/components/Layout/Responsive/index.d.ts +8 -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 +18 -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 +7 -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 +12 -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/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 +23 -0
- package/src/components/View/VDynamic/index.d.ts +7 -0
- package/src/components/View/VErrorBoundary/index.d.ts +18 -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 +12 -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/index.d.ts +13 -0
- package/src/components/View/VInput/VBase64File/index.d.ts +10 -0
- package/src/components/View/VInput/VCheckBox/index.d.ts +6 -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 +38 -0
- package/src/components/View/VInput/VEmail/index.d.ts +5 -0
- package/src/components/View/VInput/VFile/index.d.ts +29 -0
- package/src/components/View/VInput/VGroup/index.d.ts +10 -0
- package/src/components/View/VInput/VHidden/index.d.ts +5 -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 +10 -0
- package/src/components/View/VInput/VSearch/index.d.ts +5 -0
- package/src/components/View/VInput/VSubmit/index.d.ts +8 -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 +6 -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 +29 -0
- package/src/components/View/VLabel/index.d.ts +57 -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/VMount/index.d.ts +5 -0
- package/src/components/View/VPhoto/index.d.ts +20 -0
- package/src/components/View/VRoot/index.d.ts +15 -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 +15 -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 +23 -0
- package/src/components/View/VTextArea/index.d.ts +12 -0
- package/src/components/View/VTheme/index.d.ts +42 -0
- package/src/components/View/VTooltip/index.d.ts +17 -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 +11 -0
- package/src/components/consts.d.ts +2 -0
- package/src/components/core.d.ts +117 -0
- package/src/components/util.d.ts +1 -0
- package/src/components/web.d.ts +9 -0
- package/src/fewbox/index.d.ts +42 -0
- package/src/language/index.d.ts +13 -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 +14 -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/DeleteFetchExternal.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 +5 -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 +47 -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 +5 -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 +7 -0
- package/templates/.claude/skills/fewbox-den/SKILL.md +1111 -0
- package/templates/FEWBOX.md +72 -0
- package/templates/style/_core.scss +288 -0
- package/templates/style/_root-properties.scss +55 -0
- package/templates/style/_root.scss +6 -0
- package/templates/style/_variables.scss +193 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
3
|
+
import { FlexAlignContentType, FlexWrapType, FlexJustifyContentType } from '../Flex';
|
|
4
|
+
import { FlexItemAlignSelfType } from '../FlexItem';
|
|
5
|
+
export declare enum YCrossType {
|
|
6
|
+
Left = "left",
|
|
7
|
+
Center = "center",
|
|
8
|
+
Right = "right",
|
|
9
|
+
Baseline = "baseline",
|
|
10
|
+
Stretch = "stretch"
|
|
11
|
+
}
|
|
12
|
+
export interface IYBaseProps extends IBaseProps {
|
|
13
|
+
gap?: string;
|
|
14
|
+
cross?: YCrossType;
|
|
15
|
+
itemsShrink?: Property.FlexShrink;
|
|
16
|
+
}
|
|
17
|
+
declare const YBase: (props: IYBaseProps, overwriteRenderChildren?: (child: any, childIndex: number, alignSelf?: FlexItemAlignSelfType, itemsShrink?: Property.FlexShrink) => React.JSX.Element, overwriteGetWrap?: () => FlexWrapType, overwriteGetAlignContent?: () => FlexAlignContentType, overwriteGetJustifyContent?: () => FlexJustifyContentType) => React.JSX.Element;
|
|
18
|
+
export default YBase;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { IYBaseProps } from '../YBase';
|
|
3
|
+
export interface IYCustomBothProps extends IYBaseProps {
|
|
4
|
+
basis?: Property.FlexBasis;
|
|
5
|
+
}
|
|
6
|
+
declare const YCustomBoth: (props: IYCustomBothProps) => React.JSX.Element;
|
|
7
|
+
export default YCustomBoth;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface IVActionFormProps extends IBaseProps<'form'> {
|
|
3
|
+
}
|
|
4
|
+
export interface IVActionFormStates {
|
|
5
|
+
}
|
|
6
|
+
declare const VActionForm: (props: IVActionFormProps) => React.JSX.Element;
|
|
7
|
+
export default VActionForm;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export declare enum AnimationCategory {
|
|
3
|
+
Bounce = "animate__bounce",
|
|
4
|
+
Flash = "animate__flash",
|
|
5
|
+
Pulse = "animate__pulse",
|
|
6
|
+
RubberBand = "animate__rubberBand",
|
|
7
|
+
ShakeX = "animate__shakeX",
|
|
8
|
+
ShakeY = "animate__shakeY",
|
|
9
|
+
HeadShake = "animate__headShake",
|
|
10
|
+
Swing = "animate__swing",
|
|
11
|
+
Tada = "animate__tada",
|
|
12
|
+
Wobble = "animate__wobble",
|
|
13
|
+
Jello = "animate__jello",
|
|
14
|
+
HeartBeat = "animate__heartBeat",
|
|
15
|
+
BackInDown = "animate__backInDown",
|
|
16
|
+
BackInLeft = "animate__backInLeft",
|
|
17
|
+
BackInRight = "animate__backInRight",
|
|
18
|
+
BackInUp = "animate__backInUp",
|
|
19
|
+
BackOutDown = "animate__backOutDown",
|
|
20
|
+
BackOutLeft = "animate__backOutLeft",
|
|
21
|
+
BackOutRight = "animate__backOutRight",
|
|
22
|
+
BackOutUp = "animate__backOutUp",
|
|
23
|
+
BounceIn = "animate__bounceIn",
|
|
24
|
+
BounceInDown = "animate__bounceInDown",
|
|
25
|
+
BounceInLeft = "animate__bounceInLeft",
|
|
26
|
+
BounceInRight = "animate__bounceInRight",
|
|
27
|
+
BounceInUp = "animate__bounceInUp",
|
|
28
|
+
BounceOut = "animate__bounceOut",
|
|
29
|
+
BounceOutDown = "animate__bounceOutDown",
|
|
30
|
+
BounceOutLeft = "animate__bounceOutLeft",
|
|
31
|
+
BounceOutRight = "animate__bounceOutRight",
|
|
32
|
+
BounceOutUp = "animate__bounceOutUp",
|
|
33
|
+
FadeIn = "animate__fadeIn",
|
|
34
|
+
FadeInDown = "animate__fadeInDown",
|
|
35
|
+
FadeInDownBig = "animate__fadeInDownBig",
|
|
36
|
+
FadeInLeft = "animate__fadeInLeft",
|
|
37
|
+
FadeInLeftBig = "animate__fadeInLeftBig",
|
|
38
|
+
FadeInRight = "animate__fadeInRight",
|
|
39
|
+
FadeInRightBig = "animate__fadeInRightBig",
|
|
40
|
+
FadeInUp = "animate__fadeInUp",
|
|
41
|
+
FadeInUpBig = "animate__fadeInUpBig",
|
|
42
|
+
FadeInTopLeft = "animate__fadeInTopLeft",
|
|
43
|
+
FadeInTopRight = "animate__fadeInTopRight",
|
|
44
|
+
FadeInBottomLeft = "animate__fadeInBottomLeft",
|
|
45
|
+
FadeInBottomRight = "animate__fadeInBottomRight",
|
|
46
|
+
FadeOut = "animate__fadeOut",
|
|
47
|
+
FadeOutDown = "animate__fadeOutDown",
|
|
48
|
+
FadeOutDownBig = "animate__fadeOutDownBig",
|
|
49
|
+
FadeOutLeft = "animate__fadeOutLeft",
|
|
50
|
+
FadeOutLeftBig = "animate__fadeOutLeftBig",
|
|
51
|
+
FadeOutRight = "animate__fadeOutRight",
|
|
52
|
+
FadeOutRightBig = "animate__fadeOutRightBig",
|
|
53
|
+
FadeOutUp = "animate__fadeOutUp",
|
|
54
|
+
FadeOutUpBig = "animate__fadeOutUpBig",
|
|
55
|
+
FadeOutTopLeft = "animate__fadeOutTopLeft",
|
|
56
|
+
FadeOutTopRight = "animate__fadeOutTopRight",
|
|
57
|
+
FadeOutBottomLeft = "animate__fadeOutBottomLeft",
|
|
58
|
+
FadeOutBottomRight = "animate__fadeOutBottomRight",
|
|
59
|
+
Flip = "animate__flip",
|
|
60
|
+
FlipInX = "animate__flipInX",
|
|
61
|
+
FlipInY = "animate__flipInY",
|
|
62
|
+
FlipOutX = "animate__flipOutX",
|
|
63
|
+
FlipOutY = "animate__flipOutY",
|
|
64
|
+
LightSpeedInRight = "animate__lightSpeedInRight",
|
|
65
|
+
LightSpeedInLeft = "animate__lightSpeedInLeft",
|
|
66
|
+
LightSpeedOutRight = "animate__lightSpeedOutRight",
|
|
67
|
+
LightSpeedOutLeft = "animate__lightSpeedOutLeft",
|
|
68
|
+
RotateIn = "animate__rotateIn",
|
|
69
|
+
RotateInDownLeft = "animate__rotateInDownLeft",
|
|
70
|
+
RotateInDownRight = "animate__rotateInDownRight",
|
|
71
|
+
RotateInUpLeft = "animate__rotateInUpLeft",
|
|
72
|
+
RotateInUpRight = "animate__rotateInUpRight",
|
|
73
|
+
RotateOut = "animate__rotateOut",
|
|
74
|
+
RotateOutDownLeft = "animate__rotateOutDownLeft",
|
|
75
|
+
RotateOutDownRight = "animate__rotateOutDownRight",
|
|
76
|
+
RotateOutUpLeft = "animate__rotateOutUpLeft",
|
|
77
|
+
RotateOutUpRight = "animate__rotateOutUpRight",
|
|
78
|
+
Hinge = "animate__hinge",
|
|
79
|
+
JackInTheBox = "animate__jackInTheBox",
|
|
80
|
+
RollIn = "animate__rollIn",
|
|
81
|
+
RollOut = "animate__rollOut",
|
|
82
|
+
ZoomIn = "animate__zoomIn",
|
|
83
|
+
ZoomInDown = "animate__zoomInDown",
|
|
84
|
+
ZoomInLeft = "animate__zoomInLeft",
|
|
85
|
+
ZoomInRight = "animate__zoomInRight",
|
|
86
|
+
ZoomInUp = "animate__zoomInUp",
|
|
87
|
+
ZoomOut = "animate__zoomOut",
|
|
88
|
+
ZoomOutDown = "animate__zoomOutDown",
|
|
89
|
+
ZoomOutLeft = "animate__zoomOutLeft",
|
|
90
|
+
ZoomOutRight = "animate__zoomOutRight",
|
|
91
|
+
ZoomOutUp = "animate__zoomOutUp",
|
|
92
|
+
SlideInDown = "animate__slideInDown",
|
|
93
|
+
SlideInLeft = "animate__slideInLeft",
|
|
94
|
+
SlideInRight = "animate__slideInRight",
|
|
95
|
+
SlideInUp = "animate__slideInUp",
|
|
96
|
+
SlideOutDown = "animate__slideOutDown",
|
|
97
|
+
SlideOutLeft = "animate__slideOutLeft",
|
|
98
|
+
SlideOutRight = "animate__slideOutRight",
|
|
99
|
+
SlideOutUp = "animate__slideOutUp"
|
|
100
|
+
}
|
|
101
|
+
export declare enum AnimationRepeat {
|
|
102
|
+
Once = "animate__repeat-1",
|
|
103
|
+
Twice = "animate__repeat-2",
|
|
104
|
+
Thrice = "animate__repeat-3",
|
|
105
|
+
Infinite = "animate__infinite"
|
|
106
|
+
}
|
|
107
|
+
export declare enum AnimationSpeed {
|
|
108
|
+
Slow = "animate__slow",
|
|
109
|
+
Slower = "animate__slower",
|
|
110
|
+
Fast = "animate__fast",
|
|
111
|
+
Faster = "animate__faster"
|
|
112
|
+
}
|
|
113
|
+
export declare enum AnimationDelay {
|
|
114
|
+
Delay1Second = "animate__delay-1s",
|
|
115
|
+
Delay2Second = "animate__delay-2s",
|
|
116
|
+
Delay3Second = "animate__delay-3s",
|
|
117
|
+
Delay4Second = "animate__delay-4s",
|
|
118
|
+
Delay5Second = "animate__delay-5s"
|
|
119
|
+
}
|
|
120
|
+
export interface IVAnimationProps extends IBaseProps {
|
|
121
|
+
category: AnimationCategory;
|
|
122
|
+
repeat?: AnimationRepeat;
|
|
123
|
+
speed?: AnimationSpeed;
|
|
124
|
+
delay?: AnimationDelay;
|
|
125
|
+
}
|
|
126
|
+
declare const VAnimation: (props: IVAnimationProps) => React.JSX.Element;
|
|
127
|
+
export default VAnimation;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface SourceItem {
|
|
3
|
+
src: string;
|
|
4
|
+
type: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IVAudioProps extends IBaseProps<'audio'> {
|
|
7
|
+
sources: SourceItem[];
|
|
8
|
+
}
|
|
9
|
+
declare const VAudio: (props: IVAudioProps) => React.JSX.Element;
|
|
10
|
+
export default VAudio;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
import { ColorType } from '../../Engine';
|
|
3
|
+
import './index.scss';
|
|
4
|
+
export interface IVAvatarProps extends IBaseProps {
|
|
5
|
+
avatar: string | React.JSX.Element;
|
|
6
|
+
badge?: string | React.JSX.Element;
|
|
7
|
+
status?: ColorType;
|
|
8
|
+
badgeOffset?: string;
|
|
9
|
+
statusOffset?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const VAvatar: (props: IVAvatarProps) => React.JSX.Element;
|
|
12
|
+
export default VAvatar;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
3
|
+
type TLength = (string & {}) | 0;
|
|
4
|
+
export declare enum BackgroundPositionType {
|
|
5
|
+
Top = "top",
|
|
6
|
+
Right = "right",
|
|
7
|
+
Bottom = "bottom",
|
|
8
|
+
Left = "left",
|
|
9
|
+
Center = "center"
|
|
10
|
+
}
|
|
11
|
+
export interface IVBackgroundProps extends IBaseProps {
|
|
12
|
+
image: string;
|
|
13
|
+
imageWidth?: Property.Width<TLength>;
|
|
14
|
+
imageHeight?: Property.Height<TLength>;
|
|
15
|
+
position?: BackgroundPositionType;
|
|
16
|
+
}
|
|
17
|
+
declare const VBackground: (props: IVBackgroundProps) => React.JSX.Element;
|
|
18
|
+
export default VBackground;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface IVBlockProps extends IBaseProps {
|
|
3
|
+
icon: React.JSX.Element;
|
|
4
|
+
action: React.JSX.Element;
|
|
5
|
+
caption: React.JSX.Element;
|
|
6
|
+
subCaption: React.JSX.Element;
|
|
7
|
+
}
|
|
8
|
+
declare const VBlock: (props: IVBlockProps) => React.JSX.Element;
|
|
9
|
+
export default VBlock;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface IVCardProps extends IBaseProps {
|
|
3
|
+
head?: React.JSX.Element;
|
|
4
|
+
body?: React.JSX.Element;
|
|
5
|
+
isDraggable?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const VCard: (props: IVCardProps) => React.JSX.Element;
|
|
8
|
+
export default VCard;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface IVCardMediaProps extends IBaseProps {
|
|
3
|
+
media: React.JSX.Element;
|
|
4
|
+
head?: React.JSX.Element;
|
|
5
|
+
body?: React.JSX.Element;
|
|
6
|
+
foot?: React.JSX.Element;
|
|
7
|
+
}
|
|
8
|
+
declare const VCardMedia: (props: IVCardMediaProps) => React.JSX.Element;
|
|
9
|
+
export default VCardMedia;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface IVCardSocialProps extends IBaseProps {
|
|
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
|
+
}
|
|
12
|
+
declare const VCardSocial: (props: IVCardSocialProps) => React.JSX.Element;
|
|
13
|
+
export default VCardSocial;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IBaseProps, IBaseStates } from '../../Engine/Base';
|
|
2
|
+
export declare enum CardWindowSizeType {
|
|
3
|
+
Auto = "auto",
|
|
4
|
+
Contain = "contain",
|
|
5
|
+
Cover = "cover"
|
|
6
|
+
}
|
|
7
|
+
export interface IVCardWindowProps extends IBaseProps {
|
|
8
|
+
backgroundUrl: string;
|
|
9
|
+
backgroundSize?: CardWindowSizeType;
|
|
10
|
+
}
|
|
11
|
+
export interface IVCardWindowStatus extends IBaseStates {
|
|
12
|
+
isDetailShow: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const VCardWindow: (props: IVCardWindowProps) => React.JSX.Element;
|
|
15
|
+
export default VCardWindow;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IChromeExtensionValidatorProps {
|
|
2
|
+
extensionId: string;
|
|
3
|
+
version?: string;
|
|
4
|
+
uninstalledMessage?: string | React.JSX.Element;
|
|
5
|
+
outdatedMessage?: string | React.JSX.Element;
|
|
6
|
+
downloadUrl?: string;
|
|
7
|
+
overWrite?: (status: ExtensionStatus, meta: any) => React.JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
export declare enum ExtensionStatus {
|
|
10
|
+
Uninstalled = "uninstalled",
|
|
11
|
+
Outdated = "outdated",
|
|
12
|
+
Ready = "ready"
|
|
13
|
+
}
|
|
14
|
+
interface Meta {
|
|
15
|
+
name: string;
|
|
16
|
+
version: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IChromeExtensionValidatorStates {
|
|
19
|
+
meta?: Meta;
|
|
20
|
+
status?: ExtensionStatus;
|
|
21
|
+
}
|
|
22
|
+
declare const ChromeExtensionValidator: (props: IChromeExtensionValidatorProps) => React.JSX.Element;
|
|
23
|
+
export default ChromeExtensionValidator;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component, ErrorInfo } from 'react';
|
|
2
|
+
export interface IVErrorBoundaryProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
fallback?: React.ReactNode | ((error: Error, errorInfo: ErrorInfo) => React.ReactNode);
|
|
5
|
+
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
6
|
+
}
|
|
7
|
+
interface IVErrorBoundaryState {
|
|
8
|
+
hasError: boolean;
|
|
9
|
+
error: Error | null;
|
|
10
|
+
errorInfo: ErrorInfo | null;
|
|
11
|
+
}
|
|
12
|
+
declare class VErrorBoundary extends Component<IVErrorBoundaryProps, IVErrorBoundaryState> {
|
|
13
|
+
constructor(props: IVErrorBoundaryProps);
|
|
14
|
+
static getDerivedStateFromError(error: Error): Partial<IVErrorBoundaryState>;
|
|
15
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
16
|
+
render(): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null | undefined;
|
|
17
|
+
}
|
|
18
|
+
export default VErrorBoundary;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export declare enum HandleSubmitCategory {
|
|
3
|
+
Json = "json",
|
|
4
|
+
FormData = "formdata"
|
|
5
|
+
}
|
|
6
|
+
export interface IVFormProps extends IBaseProps<'form'> {
|
|
7
|
+
handleSubmitCategory?: HandleSubmitCategory;
|
|
8
|
+
handleSubmit: (json: any) => void;
|
|
9
|
+
handleValidateError?: (input: HTMLInputElement) => void;
|
|
10
|
+
errorColor?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const VForm: (props: IVFormProps) => React.JSX.Element;
|
|
13
|
+
export default VForm;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface BackingBoard {
|
|
3
|
+
degree: string;
|
|
4
|
+
startColor: string;
|
|
5
|
+
endColor: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IVFrameProps extends IBaseProps {
|
|
8
|
+
image: string;
|
|
9
|
+
backingBoard?: BackingBoard;
|
|
10
|
+
}
|
|
11
|
+
declare const VFrame: (props: IVFrameProps) => React.JSX.Element;
|
|
12
|
+
export default VFrame;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FontWeightType } from '../../Engine';
|
|
2
|
+
export declare enum GoogleFontType {
|
|
3
|
+
Normal = "normal",
|
|
4
|
+
Italic = "italic"
|
|
5
|
+
}
|
|
6
|
+
export interface IGoogleFont {
|
|
7
|
+
type: GoogleFontType;
|
|
8
|
+
weight: FontWeightType;
|
|
9
|
+
}
|
|
10
|
+
export interface IGoogleTypeface {
|
|
11
|
+
family: string;
|
|
12
|
+
fonts?: IGoogleFont[];
|
|
13
|
+
}
|
|
14
|
+
export interface IVGoogleFontProps {
|
|
15
|
+
typefaces: IGoogleTypeface[];
|
|
16
|
+
}
|
|
17
|
+
declare const VGoogleFont: (props: IVGoogleFontProps) => React.JSX.Element;
|
|
18
|
+
export default VGoogleFont;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export declare enum HyperlinkCategory {
|
|
3
|
+
NewWindow = "_blank",
|
|
4
|
+
Self = "_self",
|
|
5
|
+
Parent = "_parent",
|
|
6
|
+
Top = "_top"
|
|
7
|
+
}
|
|
8
|
+
export interface IVHyperlinkProps extends IBaseProps<'a'> {
|
|
9
|
+
category: HyperlinkCategory;
|
|
10
|
+
to: string;
|
|
11
|
+
}
|
|
12
|
+
declare const VHyperlink: (props: IVHyperlinkProps) => React.JSX.Element;
|
|
13
|
+
export default VHyperlink;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export declare enum ImageCategory {
|
|
3
|
+
Default = "default",
|
|
4
|
+
Circle = "circle",
|
|
5
|
+
Squared = "squared",
|
|
6
|
+
FullSize = "full-size",
|
|
7
|
+
Scale = "scale"
|
|
8
|
+
}
|
|
9
|
+
export interface IVImageProps extends IBaseProps<'img'> {
|
|
10
|
+
category?: ImageCategory;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("react").MemoExoticComponent<(props: IVImageProps) => React.JSX.Element>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IBaseInputProps } from "..";
|
|
2
|
+
export interface IVBase64FileProps extends IBaseInputProps {
|
|
3
|
+
fileIcon?: React.JSX.Element;
|
|
4
|
+
base64Image: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IVBase64FileStates {
|
|
7
|
+
base64Image: string;
|
|
8
|
+
}
|
|
9
|
+
declare const VBase64File: (props: IVBase64FileProps) => React.JSX.Element;
|
|
10
|
+
export default VBase64File;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IBaseInputProps } from "..";
|
|
2
|
+
export interface IVDatetimeLocalProps extends IBaseInputProps {
|
|
3
|
+
}
|
|
4
|
+
export interface IVDatetimeLocalProps {
|
|
5
|
+
}
|
|
6
|
+
declare const VDatetimeLocal: (props: IVDatetimeLocalProps) => React.JSX.Element;
|
|
7
|
+
export default VDatetimeLocal;
|