@fewbox/den-web 0.0.106 → 0.1.2
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.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Auth/FigmaSignin/index.d.ts +2 -2
- package/src/components/Auth/GoogleGrant/index.d.ts +2 -2
- package/src/components/Auth/WeComSignin/index.d.ts +2 -2
- package/src/components/Debug/index.d.ts +2 -2
- package/src/components/Engine/Base/NativeAttributeMap.d.ts +2 -0
- package/src/components/Engine/Base/index.d.ts +9 -179
- package/src/components/Engine/BaseComponent/index.d.ts +4 -4
- package/src/components/Engine/index.d.ts +3 -3
- package/src/components/Layout/Display/index.d.ts +2 -2
- package/src/components/Layout/Dock/index.d.ts +2 -3
- package/src/components/Layout/DockBak/index.d.ts +2 -3
- package/src/components/Layout/Flex/index.d.ts +2 -1
- package/src/components/Layout/FlexItem/index.d.ts +1 -1
- package/src/components/Layout/Position/index.d.ts +2 -3
- package/src/components/Layout/PositionArea/index.d.ts +2 -2
- package/src/components/Layout/SBaseline/index.d.ts +2 -2
- package/src/components/Layout/SBottom/index.d.ts +2 -2
- package/src/components/Layout/SCenter/index.d.ts +2 -2
- package/src/components/Layout/SLeft/index.d.ts +2 -2
- package/src/components/Layout/SMiddle/index.d.ts +2 -2
- package/src/components/Layout/SRight/index.d.ts +2 -2
- package/src/components/Layout/SStretch/index.d.ts +2 -2
- package/src/components/Layout/STop/index.d.ts +2 -2
- package/src/components/Layout/XBase/index.d.ts +0 -2
- package/src/components/View/VActionForm/index.d.ts +2 -5
- package/src/components/View/VAnimation/index.d.ts +2 -2
- package/src/components/View/VAudio/index.d.ts +1 -1
- package/src/components/View/VBlock/index.d.ts +2 -2
- package/src/components/View/VBoundary/index.d.ts +1 -3
- package/src/components/View/VButton/index.d.ts +0 -2
- package/src/components/View/VCardSocial/index.d.ts +1 -1
- package/src/components/View/VFooter/index.d.ts +1 -1
- package/src/components/View/VForm/index.d.ts +2 -2
- package/src/components/View/VFrame/index.d.ts +0 -2
- package/src/components/View/VHR/index.d.ts +1 -1
- package/src/components/View/VHeader/index.d.ts +1 -1
- package/src/components/View/VHyperlink/index.d.ts +1 -1
- package/src/components/View/VImage/App/index.d.ts +1 -4
- package/src/components/View/VInput/VDropdown/index.d.ts +3 -4
- package/src/components/View/VInput/VFile/index.d.ts +5 -6
- package/src/components/View/VInput/VGroup/index.d.ts +0 -1
- package/src/components/View/VInput/VHidden/index.d.ts +1 -2
- package/src/components/View/VInput/VSubmitWrapper/index.d.ts +1 -1
- package/src/components/View/VInput/VTextBox/index.d.ts +1 -2
- package/src/components/View/VInput/index.d.ts +4 -6
- package/src/components/View/VLabel/index.d.ts +5 -9
- package/src/components/View/VLink/App/index.d.ts +2 -2
- package/src/components/View/VLoading/index.d.ts +2 -2
- package/src/components/View/VMain/index.d.ts +1 -1
- package/src/components/View/VRoot/index.d.ts +2 -4
- package/src/components/View/VSection/index.d.ts +1 -1
- package/src/components/View/VSelect/index.d.ts +1 -1
- package/src/components/View/VSvg/index.d.ts +0 -1
- package/src/components/View/VTemplate/index.d.ts +1 -1
- package/src/components/View/VText/index.d.ts +6 -5
- package/src/components/View/VTextArea/index.d.ts +2 -5
- package/src/components/View/VTheme/index.d.ts +4 -5
- package/src/components/View/VTooltip/index.d.ts +1 -1
- package/src/components/View/VVideo/index.d.ts +1 -1
- package/src/components/web.d.ts +2 -5
- package/templates/FEWBOX.md +4 -4
- package/src/components/Analyze/GA4NextJS/index.d.ts +0 -5
- package/src/components/Analyze/util.d.ts +0 -115
- package/src/components/View/VPaypal/index.d.ts +0 -10
- package/src/components/View/VPureRoot/index.d.ts +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export interface GoogleGrantToken {
|
|
3
3
|
accessToken: string;
|
|
4
4
|
expiresIn: string;
|
|
@@ -27,7 +27,7 @@ export declare enum GoogleGrantCategory {
|
|
|
27
27
|
Implicit = "implicit",
|
|
28
28
|
AuthorizationCode = "authorization-code"
|
|
29
29
|
}
|
|
30
|
-
export interface IGoogleGrantProps extends
|
|
30
|
+
export interface IGoogleGrantProps extends IBaseProps {
|
|
31
31
|
category?: GoogleGrantCategory;
|
|
32
32
|
uxMode?: GoogleGrantUXMode;
|
|
33
33
|
clientId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IWeComSigninProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface IWeComSigninProps extends IBaseProps {
|
|
3
3
|
appId: string;
|
|
4
4
|
agentId: string;
|
|
5
5
|
redirectUrl: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IDebugProps extends
|
|
1
|
+
import { IBaseProps } from '../Engine/Base';
|
|
2
|
+
export interface IDebugProps extends IBaseProps {
|
|
3
3
|
isDebug: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare const Debug: (props: IDebugProps) => JSX.Element;
|
|
@@ -1,21 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { DirectionType, FullColorType, PseudoType, FullSizeType, FontWeightType } from '..';
|
|
1
|
+
import { DirectionType, FullColorType, PseudoType, FullFontSizeType, FontWeightType } from '..';
|
|
3
2
|
import { Property } from 'csstype';
|
|
4
3
|
export type TLength = (string & {}) | 0;
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export declare enum RootCategory {
|
|
9
|
-
Div = "div",
|
|
10
|
-
Span = "span"
|
|
11
|
-
}
|
|
4
|
+
export type ViewPropsKey = keyof IViewProps;
|
|
5
|
+
export declare const ViewPropsKeys: ViewPropsKey[];
|
|
12
6
|
export interface IViewProps {
|
|
13
|
-
rootCategory?: RootCategory;
|
|
14
7
|
className?: string;
|
|
15
8
|
style?: React.CSSProperties;
|
|
16
|
-
|
|
9
|
+
fontSize?: FullFontSizeType;
|
|
17
10
|
isAutoSize?: boolean;
|
|
18
|
-
|
|
11
|
+
fontWeight?: FontWeightType;
|
|
19
12
|
frontColor?: FullColorType;
|
|
20
13
|
backgroundColor?: FullColorType;
|
|
21
14
|
borderColor?: FullColorType;
|
|
@@ -48,180 +41,17 @@ export interface IViewProps {
|
|
|
48
41
|
overflowX?: Property.OverflowX;
|
|
49
42
|
overflowY?: Property.OverflowY;
|
|
50
43
|
isDefaultValue?: boolean;
|
|
51
|
-
key?: React.Key;
|
|
52
44
|
readonlyRef?: React.RefObject<any>;
|
|
53
45
|
customAttibutes?: Object;
|
|
54
46
|
}
|
|
55
|
-
export
|
|
56
|
-
onCopy?: React.ClipboardEventHandler<any> | undefined;
|
|
57
|
-
onCopyCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
58
|
-
onCut?: React.ClipboardEventHandler<any> | undefined;
|
|
59
|
-
onCutCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
60
|
-
onPaste?: React.ClipboardEventHandler<any> | undefined;
|
|
61
|
-
onPasteCapture?: React.ClipboardEventHandler<any> | undefined;
|
|
62
|
-
onCompositionEnd?: React.CompositionEventHandler<any> | undefined;
|
|
63
|
-
onCompositionEndCapture?: React.CompositionEventHandler<any> | undefined;
|
|
64
|
-
onCompositionStart?: React.CompositionEventHandler<any> | undefined;
|
|
65
|
-
onCompositionStartCapture?: React.CompositionEventHandler<any> | undefined;
|
|
66
|
-
onCompositionUpdate?: React.CompositionEventHandler<any> | undefined;
|
|
67
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<any> | undefined;
|
|
68
|
-
onFocus?: React.FocusEventHandler<any> | undefined;
|
|
69
|
-
onFocusCapture?: React.FocusEventHandler<any> | undefined;
|
|
70
|
-
onBlur?: React.FocusEventHandler<any> | undefined;
|
|
71
|
-
onBlurCapture?: React.FocusEventHandler<any> | undefined;
|
|
72
|
-
onChange?: React.FormEventHandler<any> | undefined;
|
|
73
|
-
onChangeCapture?: React.FormEventHandler<any> | undefined;
|
|
74
|
-
onBeforeInput?: React.FormEventHandler<any> | undefined;
|
|
75
|
-
onBeforeInputCapture?: React.FormEventHandler<any> | undefined;
|
|
76
|
-
onInput?: React.FormEventHandler<any> | undefined;
|
|
77
|
-
onInputCapture?: React.FormEventHandler<any> | undefined;
|
|
78
|
-
onReset?: React.FormEventHandler<any> | undefined;
|
|
79
|
-
onResetCapture?: React.FormEventHandler<any> | undefined;
|
|
80
|
-
onSubmit?: React.FormEventHandler<any> | undefined;
|
|
81
|
-
onSubmitCapture?: React.FormEventHandler<any> | undefined;
|
|
82
|
-
onInvalid?: React.FormEventHandler<any> | undefined;
|
|
83
|
-
onInvalidCapture?: React.FormEventHandler<any> | undefined;
|
|
84
|
-
onLoad?: React.ReactEventHandler<any> | undefined;
|
|
85
|
-
onLoadCapture?: React.ReactEventHandler<any> | undefined;
|
|
86
|
-
onError?: React.ReactEventHandler<any> | undefined;
|
|
87
|
-
onErrorCapture?: React.ReactEventHandler<any> | undefined;
|
|
88
|
-
onKeyDown?: React.KeyboardEventHandler<any> | undefined;
|
|
89
|
-
onKeyDownCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
90
|
-
onKeyPress?: React.KeyboardEventHandler<any> | undefined;
|
|
91
|
-
onKeyPressCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
92
|
-
onKeyUp?: React.KeyboardEventHandler<any> | undefined;
|
|
93
|
-
onKeyUpCapture?: React.KeyboardEventHandler<any> | undefined;
|
|
94
|
-
onAbort?: React.ReactEventHandler<any> | undefined;
|
|
95
|
-
onAbortCapture?: React.ReactEventHandler<any> | undefined;
|
|
96
|
-
onCanPlay?: React.ReactEventHandler<any> | undefined;
|
|
97
|
-
onCanPlayCapture?: React.ReactEventHandler<any> | undefined;
|
|
98
|
-
onCanPlayThrough?: React.ReactEventHandler<any> | undefined;
|
|
99
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<any> | undefined;
|
|
100
|
-
onDurationChange?: React.ReactEventHandler<any> | undefined;
|
|
101
|
-
onDurationChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
102
|
-
onEmptied?: React.ReactEventHandler<any> | undefined;
|
|
103
|
-
onEmptiedCapture?: React.ReactEventHandler<any> | undefined;
|
|
104
|
-
onEncrypted?: React.ReactEventHandler<any> | undefined;
|
|
105
|
-
onEncryptedCapture?: React.ReactEventHandler<any> | undefined;
|
|
106
|
-
onEnded?: React.ReactEventHandler<any> | undefined;
|
|
107
|
-
onEndedCapture?: React.ReactEventHandler<any> | undefined;
|
|
108
|
-
onLoadedData?: React.ReactEventHandler<any> | undefined;
|
|
109
|
-
onLoadedDataCapture?: React.ReactEventHandler<any> | undefined;
|
|
110
|
-
onLoadedMetadata?: React.ReactEventHandler<any> | undefined;
|
|
111
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<any> | undefined;
|
|
112
|
-
onLoadStart?: React.ReactEventHandler<any> | undefined;
|
|
113
|
-
onLoadStartCapture?: React.ReactEventHandler<any> | undefined;
|
|
114
|
-
onPause?: React.ReactEventHandler<any> | undefined;
|
|
115
|
-
onPauseCapture?: React.ReactEventHandler<any> | undefined;
|
|
116
|
-
onPlay?: React.ReactEventHandler<any> | undefined;
|
|
117
|
-
onPlayCapture?: React.ReactEventHandler<any> | undefined;
|
|
118
|
-
onPlaying?: React.ReactEventHandler<any> | undefined;
|
|
119
|
-
onPlayingCapture?: React.ReactEventHandler<any> | undefined;
|
|
120
|
-
onProgress?: React.ReactEventHandler<any> | undefined;
|
|
121
|
-
onProgressCapture?: React.ReactEventHandler<any> | undefined;
|
|
122
|
-
onRateChange?: React.ReactEventHandler<any> | undefined;
|
|
123
|
-
onRateChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
124
|
-
onSeeked?: React.ReactEventHandler<any> | undefined;
|
|
125
|
-
onSeekedCapture?: React.ReactEventHandler<any> | undefined;
|
|
126
|
-
onSeeking?: React.ReactEventHandler<any> | undefined;
|
|
127
|
-
onSeekingCapture?: React.ReactEventHandler<any> | undefined;
|
|
128
|
-
onStalled?: React.ReactEventHandler<any> | undefined;
|
|
129
|
-
onStalledCapture?: React.ReactEventHandler<any> | undefined;
|
|
130
|
-
onSuspend?: React.ReactEventHandler<any> | undefined;
|
|
131
|
-
onSuspendCapture?: React.ReactEventHandler<any> | undefined;
|
|
132
|
-
onTimeUpdate?: React.ReactEventHandler<any> | undefined;
|
|
133
|
-
onTimeUpdateCapture?: React.ReactEventHandler<any> | undefined;
|
|
134
|
-
onVolumeChange?: React.ReactEventHandler<any> | undefined;
|
|
135
|
-
onVolumeChangeCapture?: React.ReactEventHandler<any> | undefined;
|
|
136
|
-
onWaiting?: React.ReactEventHandler<any> | undefined;
|
|
137
|
-
onWaitingCapture?: React.ReactEventHandler<any> | undefined;
|
|
138
|
-
onAuxClick?: React.MouseEventHandler<any> | undefined;
|
|
139
|
-
onAuxClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
140
|
-
onClick?: React.MouseEventHandler<any> | undefined;
|
|
141
|
-
onClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
142
|
-
onContextMenu?: React.MouseEventHandler<any> | undefined;
|
|
143
|
-
onContextMenuCapture?: React.MouseEventHandler<any> | undefined;
|
|
144
|
-
onDoubleClick?: React.MouseEventHandler<any> | undefined;
|
|
145
|
-
onDoubleClickCapture?: React.MouseEventHandler<any> | undefined;
|
|
146
|
-
onDrag?: React.DragEventHandler<any> | undefined;
|
|
147
|
-
onDragCapture?: React.DragEventHandler<any> | undefined;
|
|
148
|
-
onDragEnd?: React.DragEventHandler<any> | undefined;
|
|
149
|
-
onDragEndCapture?: React.DragEventHandler<any> | undefined;
|
|
150
|
-
onDragEnter?: React.DragEventHandler<any> | undefined;
|
|
151
|
-
onDragEnterCapture?: React.DragEventHandler<any> | undefined;
|
|
152
|
-
onDragExit?: React.DragEventHandler<any> | undefined;
|
|
153
|
-
onDragExitCapture?: React.DragEventHandler<any> | undefined;
|
|
154
|
-
onDragLeave?: React.DragEventHandler<any> | undefined;
|
|
155
|
-
onDragLeaveCapture?: React.DragEventHandler<any> | undefined;
|
|
156
|
-
onDragOver?: React.DragEventHandler<any> | undefined;
|
|
157
|
-
onDragOverCapture?: React.DragEventHandler<any> | undefined;
|
|
158
|
-
onDragStart?: React.DragEventHandler<any> | undefined;
|
|
159
|
-
onDragStartCapture?: React.DragEventHandler<any> | undefined;
|
|
160
|
-
onDrop?: React.DragEventHandler<any> | undefined;
|
|
161
|
-
onDropCapture?: React.DragEventHandler<any> | undefined;
|
|
162
|
-
onMouseDown?: React.MouseEventHandler<any> | undefined;
|
|
163
|
-
onMouseDownCapture?: React.MouseEventHandler<any> | undefined;
|
|
164
|
-
onMouseEnter?: React.MouseEventHandler<any> | undefined;
|
|
165
|
-
onMouseLeave?: React.MouseEventHandler<any> | undefined;
|
|
166
|
-
onMouseMove?: React.MouseEventHandler<any> | undefined;
|
|
167
|
-
onMouseMoveCapture?: React.MouseEventHandler<any> | undefined;
|
|
168
|
-
onMouseOut?: React.MouseEventHandler<any> | undefined;
|
|
169
|
-
onMouseOutCapture?: React.MouseEventHandler<any> | undefined;
|
|
170
|
-
onMouseOver?: React.MouseEventHandler<any> | undefined;
|
|
171
|
-
onMouseOverCapture?: React.MouseEventHandler<any> | undefined;
|
|
172
|
-
onMouseUp?: React.MouseEventHandler<any> | undefined;
|
|
173
|
-
onMouseUpCapture?: React.MouseEventHandler<any> | undefined;
|
|
174
|
-
onSelect?: React.ReactEventHandler<any> | undefined;
|
|
175
|
-
onSelectCapture?: React.ReactEventHandler<any> | undefined;
|
|
176
|
-
onTouchCancel?: React.TouchEventHandler<any> | undefined;
|
|
177
|
-
onTouchCancelCapture?: React.TouchEventHandler<any> | undefined;
|
|
178
|
-
onTouchEnd?: React.TouchEventHandler<any> | undefined;
|
|
179
|
-
onTouchEndCapture?: React.TouchEventHandler<any> | undefined;
|
|
180
|
-
onTouchMove?: React.TouchEventHandler<any> | undefined;
|
|
181
|
-
onTouchMoveCapture?: React.TouchEventHandler<any> | undefined;
|
|
182
|
-
onTouchStart?: React.TouchEventHandler<any> | undefined;
|
|
183
|
-
onTouchStartCapture?: React.TouchEventHandler<any> | undefined;
|
|
184
|
-
onPointerDown?: React.PointerEventHandler<any> | undefined;
|
|
185
|
-
onPointerDownCapture?: React.PointerEventHandler<any> | undefined;
|
|
186
|
-
onPointerMove?: React.PointerEventHandler<any> | undefined;
|
|
187
|
-
onPointerMoveCapture?: React.PointerEventHandler<any> | undefined;
|
|
188
|
-
onPointerUp?: React.PointerEventHandler<any> | undefined;
|
|
189
|
-
onPointerUpCapture?: React.PointerEventHandler<any> | undefined;
|
|
190
|
-
onPointerCancel?: React.PointerEventHandler<any> | undefined;
|
|
191
|
-
onPointerCancelCapture?: React.PointerEventHandler<any> | undefined;
|
|
192
|
-
onPointerEnter?: React.PointerEventHandler<any> | undefined;
|
|
193
|
-
onPointerEnterCapture?: React.PointerEventHandler<any> | undefined;
|
|
194
|
-
onPointerLeave?: React.PointerEventHandler<any> | undefined;
|
|
195
|
-
onPointerLeaveCapture?: React.PointerEventHandler<any> | undefined;
|
|
196
|
-
onPointerOver?: React.PointerEventHandler<any> | undefined;
|
|
197
|
-
onPointerOverCapture?: React.PointerEventHandler<any> | undefined;
|
|
198
|
-
onPointerOut?: React.PointerEventHandler<any> | undefined;
|
|
199
|
-
onPointerOutCapture?: React.PointerEventHandler<any> | undefined;
|
|
200
|
-
onGotPointerCapture?: React.PointerEventHandler<any> | undefined;
|
|
201
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<any> | undefined;
|
|
202
|
-
onLostPointerCapture?: React.PointerEventHandler<any> | undefined;
|
|
203
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<any> | undefined;
|
|
204
|
-
onScroll?: React.UIEventHandler<any> | undefined;
|
|
205
|
-
onScrollCapture?: React.UIEventHandler<any> | undefined;
|
|
206
|
-
onWheel?: React.WheelEventHandler<any> | undefined;
|
|
207
|
-
onWheelCapture?: React.WheelEventHandler<any> | undefined;
|
|
208
|
-
onAnimationStart?: React.AnimationEventHandler<any> | undefined;
|
|
209
|
-
onAnimationStartCapture?: React.AnimationEventHandler<any> | undefined;
|
|
210
|
-
onAnimationEnd?: React.AnimationEventHandler<any> | undefined;
|
|
211
|
-
onAnimationEndCapture?: React.AnimationEventHandler<any> | undefined;
|
|
212
|
-
onAnimationIteration?: React.AnimationEventHandler<any> | undefined;
|
|
213
|
-
onAnimationIterationCapture?: React.AnimationEventHandler<any> | undefined;
|
|
214
|
-
onTransitionEnd?: React.TransitionEventHandler<any> | undefined;
|
|
215
|
-
onTransitionEndCapture?: React.TransitionEventHandler<any> | undefined;
|
|
216
|
-
}
|
|
217
|
-
export interface IBaseProps extends IChildrenProps, IViewProps, IEventProps {
|
|
218
|
-
}
|
|
47
|
+
export type IBaseProps<T extends keyof JSX.IntrinsicElements = 'div'> = IViewProps & React.ComponentPropsWithoutRef<T>;
|
|
219
48
|
export interface IBaseStates {
|
|
220
49
|
}
|
|
221
50
|
export interface IBaseReturn {
|
|
222
51
|
getClassName: (vClassName: string) => string;
|
|
223
52
|
getStyle: () => object;
|
|
224
|
-
getChildren: (
|
|
53
|
+
getChildren: () => React.ReactNode;
|
|
54
|
+
getProps: <T extends keyof JSX.IntrinsicElements = 'div'>(tag: T) => object;
|
|
225
55
|
}
|
|
226
|
-
declare const Base: (
|
|
56
|
+
declare const Base: (restProps: IBaseProps<any>) => IBaseReturn;
|
|
227
57
|
export default Base;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IBaseProps, IBaseStates
|
|
3
|
-
export default abstract class BaseComponent<P extends
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import { IBaseProps, IBaseStates } from '../Base';
|
|
3
|
+
export default abstract class BaseComponent<P extends IBaseProps<any>, S extends IBaseStates = {}> extends Component<P, S> {
|
|
4
4
|
private _base;
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
protected getClassName(vClassName: string): string;
|
|
7
7
|
protected getStyle(): object;
|
|
8
|
-
protected getChildren(
|
|
8
|
+
protected getChildren(): React.ReactNode;
|
|
9
9
|
}
|
|
@@ -85,8 +85,8 @@ export declare enum ViewSizeType {
|
|
|
85
85
|
Window = "v-window-size"
|
|
86
86
|
}
|
|
87
87
|
export declare const getWeightValue: (weightType: FontWeightType) => number;
|
|
88
|
-
export type
|
|
89
|
-
export declare enum
|
|
88
|
+
export type FullFontSizeType = FontSizeType | string;
|
|
89
|
+
export declare enum FontSizeType {
|
|
90
90
|
Default = "font-size",
|
|
91
91
|
Normal = "font-size-normal",
|
|
92
92
|
Small = "font-size-small",
|
|
@@ -209,4 +209,4 @@ export declare enum ComponentType {
|
|
|
209
209
|
VText = "VText",
|
|
210
210
|
VTooltip = "VTooltip"
|
|
211
211
|
}
|
|
212
|
-
export declare const getGeneratedClassName: (className: string, isDefaultValue: boolean | undefined, sizeType?:
|
|
212
|
+
export declare const getGeneratedClassName: (className: string, isDefaultValue: boolean | undefined, sizeType?: FullFontSizeType, isAutoSize?: boolean, weightType?: FontWeightType, frontColorType?: FullColorType, backgroundColorType?: FullColorType, borderColorType?: FullColorType, borderDirection?: DirectionType, pseudoType?: PseudoType, pseudoFrontColor?: FullColorType, pseudoBackgroundColor?: FullColorType, pseudoBorderColor?: FullColorType, pseudoBorderDirection?: DirectionType) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BreakpointType } from '..';
|
|
2
|
-
import {
|
|
2
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
3
3
|
export declare enum DisplayCategory {
|
|
4
4
|
Visiable = "visiable",
|
|
5
5
|
Hidden = "hidden"
|
|
@@ -9,7 +9,7 @@ export declare enum DisplayType {
|
|
|
9
9
|
Up = "up",
|
|
10
10
|
Down = "down"
|
|
11
11
|
}
|
|
12
|
-
export interface IDisplayProps extends
|
|
12
|
+
export interface IDisplayProps extends IBaseProps {
|
|
13
13
|
category: DisplayCategory;
|
|
14
14
|
type?: DisplayType;
|
|
15
15
|
breakpoint?: BreakpointType | BreakpointType[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IChildrenProps, IEventProps, IViewProps } from '../../Engine/Base';
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
3
2
|
export declare enum DockCategory {
|
|
4
3
|
Top = "top",
|
|
5
4
|
Right = "right",
|
|
@@ -14,7 +13,7 @@ export declare enum DockCategory {
|
|
|
14
13
|
LeftInnerBottom = "left-inner-bottom",
|
|
15
14
|
RightInnerBottom = "right-inner-bottom"
|
|
16
15
|
}
|
|
17
|
-
export interface IDockProps extends
|
|
16
|
+
export interface IDockProps extends IBaseProps {
|
|
18
17
|
category?: DockCategory;
|
|
19
18
|
overlayWidth?: string;
|
|
20
19
|
renderOverlay: () => JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IChildrenProps, IEventProps, IViewProps } from '../../Engine/Base';
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
3
2
|
export declare enum DockCategory {
|
|
4
3
|
Auto = "auto",
|
|
5
4
|
Fix = "fix"
|
|
@@ -14,7 +13,7 @@ export declare enum DockType {
|
|
|
14
13
|
LeftBottom = "left-bottom",
|
|
15
14
|
RightBottom = "right-bottom"
|
|
16
15
|
}
|
|
17
|
-
export interface IDockProps extends
|
|
16
|
+
export interface IDockProps extends IBaseProps<'div'> {
|
|
18
17
|
category?: DockCategory;
|
|
19
18
|
type?: DockType;
|
|
20
19
|
gap?: number;
|
|
@@ -32,7 +32,8 @@ export declare enum FlexAlignContentType {
|
|
|
32
32
|
SpaceAround = "space-around",
|
|
33
33
|
SpaceEvenly = "space-evenly"
|
|
34
34
|
}
|
|
35
|
-
export interface IFlexProps extends IBaseProps {
|
|
35
|
+
export interface IFlexProps extends IBaseProps<'div'> {
|
|
36
|
+
vClassName: string;
|
|
36
37
|
direction?: FlexDirectionType;
|
|
37
38
|
wrap?: FlexWrapType;
|
|
38
39
|
justifyContent?: FlexJustifyContentType;
|
|
@@ -7,7 +7,7 @@ export declare enum FlexItemAlignSelfType {
|
|
|
7
7
|
Stretch = "stretch",
|
|
8
8
|
Baseline = "baseline"
|
|
9
9
|
}
|
|
10
|
-
export interface IFlexItemProps extends IBaseProps {
|
|
10
|
+
export interface IFlexItemProps extends IBaseProps<any> {
|
|
11
11
|
alignSelf?: FlexItemAlignSelfType;
|
|
12
12
|
order?: Property.Order;
|
|
13
13
|
basis?: Property.FlexBasis;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IChildrenProps } from '../../Engine/Base';
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
3
2
|
import { Property } from 'csstype';
|
|
4
3
|
export declare enum PositionCategory {
|
|
5
4
|
Edge = "edge",
|
|
@@ -18,7 +17,7 @@ export declare enum PositionType {
|
|
|
18
17
|
RightBottom = "right-bottom",
|
|
19
18
|
Center = "center"
|
|
20
19
|
}
|
|
21
|
-
export interface IPositionProps extends
|
|
20
|
+
export interface IPositionProps extends IBaseProps {
|
|
22
21
|
category: PositionCategory;
|
|
23
22
|
type?: PositionType;
|
|
24
23
|
top?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export declare enum PositionAreaCategory {
|
|
3
3
|
Default = "default",
|
|
4
4
|
FullSize = "full-size"
|
|
5
5
|
}
|
|
6
|
-
export interface IPositionAreaProps extends
|
|
6
|
+
export interface IPositionAreaProps extends IBaseProps {
|
|
7
7
|
category?: PositionAreaCategory;
|
|
8
8
|
}
|
|
9
9
|
declare const PositionArea: (props: IPositionAreaProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISBaselineProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface ISBaselineProps extends IBaseProps {
|
|
3
3
|
}
|
|
4
4
|
declare const SBaseline: (props: ISBaselineProps) => JSX.Element;
|
|
5
5
|
export default SBaseline;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
import { ISCenterProps } from '../SCenter';
|
|
3
|
-
export interface ISBottomProps extends
|
|
3
|
+
export interface ISBottomProps extends IBaseProps {
|
|
4
4
|
}
|
|
5
5
|
declare const SBottom: (props: ISCenterProps) => JSX.Element;
|
|
6
6
|
export default SBottom;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISCenterProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface ISCenterProps extends IBaseProps {
|
|
3
3
|
}
|
|
4
4
|
declare const SCenter: (props: ISCenterProps) => JSX.Element;
|
|
5
5
|
export default SCenter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISLeftProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface ISLeftProps extends IBaseProps {
|
|
3
3
|
}
|
|
4
4
|
declare const SLeft: (props: ISLeftProps) => JSX.Element;
|
|
5
5
|
export default SLeft;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISMiddleProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface ISMiddleProps extends IBaseProps {
|
|
3
3
|
}
|
|
4
4
|
declare const SMiddle: (props: ISMiddleProps) => JSX.Element;
|
|
5
5
|
export default SMiddle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISRightProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface ISRightProps extends IBaseProps {
|
|
3
3
|
}
|
|
4
4
|
declare const SRight: (props: ISRightProps) => JSX.Element;
|
|
5
5
|
export default SRight;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISStretchProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface ISStretchProps extends IBaseProps {
|
|
3
3
|
}
|
|
4
4
|
declare const SStretch: (props: ISStretchProps) => JSX.Element;
|
|
5
5
|
export default SStretch;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ISTopProps extends
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface ISTopProps extends IBaseProps {
|
|
3
3
|
}
|
|
4
4
|
declare const STop: (props: ISTopProps) => JSX.Element;
|
|
5
5
|
export default STop;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
3
2
|
import { FlexAlignContentType, FlexJustifyContentType, FlexWrapType } from '../Flex';
|
|
4
3
|
import { FlexItemAlignSelfType } from '../FlexItem';
|
|
@@ -12,7 +11,6 @@ export declare enum XCrossType {
|
|
|
12
11
|
export interface IXBaseProps extends IBaseProps {
|
|
13
12
|
gap?: string;
|
|
14
13
|
cross?: XCrossType;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
14
|
}
|
|
17
15
|
declare const XBase: (props: IXBaseProps, overwriteRenderChildren?: (child: any, childIndex: number, alignSelf?: FlexItemAlignSelfType) => JSX.Element, overwriteGetWrap?: () => FlexWrapType, overwriteGetJustifyContent?: () => FlexJustifyContentType, overwriteGetAlignContent?: () => FlexAlignContentType) => JSX.Element;
|
|
18
16
|
export default XBase;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IVActionFormProps extends
|
|
3
|
-
action: string | undefined;
|
|
4
|
-
method: string | undefined;
|
|
5
|
-
target: string | undefined;
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
|
+
export interface IVActionFormProps extends IBaseProps<'form'> {
|
|
6
3
|
}
|
|
7
4
|
export interface IVActionFormStates {
|
|
8
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export declare enum AnimationCategory {
|
|
3
3
|
Bounce = "animate__bounce",
|
|
4
4
|
Flash = "animate__flash",
|
|
@@ -117,7 +117,7 @@ export declare enum AnimationDelay {
|
|
|
117
117
|
Delay4Second = "animate__delay-4s",
|
|
118
118
|
Delay5Second = "animate__delay-5s"
|
|
119
119
|
}
|
|
120
|
-
export interface IVAnimationProps extends
|
|
120
|
+
export interface IVAnimationProps extends IBaseProps {
|
|
121
121
|
category: AnimationCategory;
|
|
122
122
|
repeat?: AnimationRepeat;
|
|
123
123
|
speed?: AnimationSpeed;
|
|
@@ -3,7 +3,7 @@ export interface SourceItem {
|
|
|
3
3
|
src: string;
|
|
4
4
|
type: string;
|
|
5
5
|
}
|
|
6
|
-
export interface IVAudioProps extends IBaseProps {
|
|
6
|
+
export interface IVAudioProps extends IBaseProps<'audio'> {
|
|
7
7
|
sources: SourceItem[];
|
|
8
8
|
}
|
|
9
9
|
declare const VAudio: (props: IVAudioProps) => JSX.Element;
|
|
@@ -2,8 +2,8 @@ import { IBaseProps } from '../../Engine/Base';
|
|
|
2
2
|
export interface IVBlockProps extends IBaseProps {
|
|
3
3
|
icon: JSX.Element;
|
|
4
4
|
action: JSX.Element;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
caption: JSX.Element;
|
|
6
|
+
subCaption: JSX.Element;
|
|
7
7
|
}
|
|
8
8
|
declare const VBlock: (props: IVBlockProps) => JSX.Element;
|
|
9
9
|
export default VBlock;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
3
2
|
export interface IVBoundaryProps extends IBaseProps {
|
|
4
|
-
id?: string;
|
|
5
3
|
}
|
|
6
|
-
declare const VBoundary:
|
|
4
|
+
declare const VBoundary: import("react").ForwardRefExoticComponent<IVBoundaryProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
5
|
export default VBoundary;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { IBaseProps, IBaseStates } from '../../Engine/Base';
|
|
3
2
|
export declare enum ButtonCategory {
|
|
4
3
|
Round = "round",
|
|
@@ -8,7 +7,6 @@ export interface IVButtonProps extends IBaseProps {
|
|
|
8
7
|
category?: ButtonCategory;
|
|
9
8
|
icon?: JSX.Element;
|
|
10
9
|
caption?: string | JSX.Element;
|
|
11
|
-
onClick?: React.MouseEventHandler;
|
|
12
10
|
}
|
|
13
11
|
export interface IVButtonStates extends IBaseStates {
|
|
14
12
|
isClick: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IBaseProps } from '../../Engine/Base';
|
|
2
2
|
export declare enum HandleSubmitCategory {
|
|
3
3
|
Json = "json",
|
|
4
4
|
FormData = "formdata"
|
|
5
5
|
}
|
|
6
|
-
export interface IVFormProps extends
|
|
6
|
+
export interface IVFormProps extends IBaseProps<'form'> {
|
|
7
7
|
handleSubmitCategory?: HandleSubmitCategory;
|
|
8
8
|
handleSubmit: (json: any) => void;
|
|
9
9
|
handleValidateError?: (input: HTMLInputElement) => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Property } from 'csstype';
|
|
2
1
|
import { IBaseProps } from '../../Engine/Base';
|
|
3
2
|
export interface BackingBoard {
|
|
4
3
|
degree: string;
|
|
@@ -7,7 +6,6 @@ export interface BackingBoard {
|
|
|
7
6
|
}
|
|
8
7
|
export interface IVFrameProps extends IBaseProps {
|
|
9
8
|
image: string;
|
|
10
|
-
padding?: Property.Padding;
|
|
11
9
|
backingBoard?: BackingBoard;
|
|
12
10
|
}
|
|
13
11
|
declare const VFrame: (props: IVFrameProps) => JSX.Element;
|
|
@@ -6,11 +6,8 @@ export declare enum ImageCategory {
|
|
|
6
6
|
FullSize = "full-size",
|
|
7
7
|
Scale = "scale"
|
|
8
8
|
}
|
|
9
|
-
export interface IVImageProps extends IBaseProps {
|
|
9
|
+
export interface IVImageProps extends IBaseProps<'img'> {
|
|
10
10
|
category?: ImageCategory;
|
|
11
|
-
src: string;
|
|
12
|
-
srcSet?: string;
|
|
13
|
-
alt: string;
|
|
14
11
|
}
|
|
15
12
|
declare const VImage: (props: IVImageProps) => JSX.Element;
|
|
16
13
|
export default VImage;
|