@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.
Files changed (231) hide show
  1. package/index-app.d.ts +15 -0
  2. package/index.css +12225 -0
  3. package/index.js +2 -0
  4. package/index.js.map +1 -0
  5. package/package.json +30 -0
  6. package/scripts/copy-templates.js +29 -0
  7. package/src/action/index.d.ts +8 -0
  8. package/src/components/Analyze/GA4/index.d.ts +9 -0
  9. package/src/components/Analyze/GA4NextJS/index.d.ts +5 -0
  10. package/src/components/Analyze/util.d.ts +115 -0
  11. package/src/components/Api/GAPI/index.d.ts +7 -0
  12. package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
  13. package/src/components/Auth/GoogleSignin/index.d.ts +14 -0
  14. package/src/components/Auth/WeComSignin/index.d.ts +8 -0
  15. package/src/components/Auth/util.d.ts +17 -0
  16. package/src/components/Debug/index.d.ts +6 -0
  17. package/src/components/Engine/Base/index.d.ts +222 -0
  18. package/src/components/Engine/BaseComponent/index.d.ts +9 -0
  19. package/src/components/Engine/index.d.ts +212 -0
  20. package/src/components/Layout/Display/index.d.ts +18 -0
  21. package/src/components/Layout/Dock/index.d.ts +23 -0
  22. package/src/components/Layout/DockBak/index.d.ts +24 -0
  23. package/src/components/Layout/Flex/index.d.ts +44 -0
  24. package/src/components/Layout/FlexItem/index.d.ts +18 -0
  25. package/src/components/Layout/Position/index.d.ts +33 -0
  26. package/src/components/Layout/PositionArea/index.d.ts +10 -0
  27. package/src/components/Layout/SBaseline/index.d.ts +5 -0
  28. package/src/components/Layout/SBottom/index.d.ts +6 -0
  29. package/src/components/Layout/SCenter/index.d.ts +5 -0
  30. package/src/components/Layout/SLeft/index.d.ts +5 -0
  31. package/src/components/Layout/SMiddle/index.d.ts +5 -0
  32. package/src/components/Layout/SRight/index.d.ts +5 -0
  33. package/src/components/Layout/SStretch/index.d.ts +5 -0
  34. package/src/components/Layout/STop/index.d.ts +5 -0
  35. package/src/components/Layout/X/index.d.ts +5 -0
  36. package/src/components/Layout/XAround/index.d.ts +5 -0
  37. package/src/components/Layout/XAutoBoth/index.d.ts +5 -0
  38. package/src/components/Layout/XAutoCenter/index.d.ts +5 -0
  39. package/src/components/Layout/XAutoLeft/index.d.ts +5 -0
  40. package/src/components/Layout/XAutoLefts/index.d.ts +5 -0
  41. package/src/components/Layout/XAutoRight/index.d.ts +5 -0
  42. package/src/components/Layout/XAutoRights/index.d.ts +5 -0
  43. package/src/components/Layout/XBase/index.d.ts +18 -0
  44. package/src/components/Layout/XBetween/index.d.ts +5 -0
  45. package/src/components/Layout/XCenter/index.d.ts +5 -0
  46. package/src/components/Layout/XCustom/index.d.ts +7 -0
  47. package/src/components/Layout/XCustomBoth/index.d.ts +7 -0
  48. package/src/components/Layout/XEvenly/index.d.ts +5 -0
  49. package/src/components/Layout/XLeft/index.d.ts +5 -0
  50. package/src/components/Layout/XRight/index.d.ts +5 -0
  51. package/src/components/Layout/XWrapAround/index.d.ts +5 -0
  52. package/src/components/Layout/XWrapBetween/index.d.ts +5 -0
  53. package/src/components/Layout/XWrapBottom/index.d.ts +5 -0
  54. package/src/components/Layout/XWrapEvenly/index.d.ts +5 -0
  55. package/src/components/Layout/XWrapMiddle/index.d.ts +5 -0
  56. package/src/components/Layout/XWrapTop/index.d.ts +5 -0
  57. package/src/components/Layout/Y/index.d.ts +5 -0
  58. package/src/components/Layout/YAround/index.d.ts +5 -0
  59. package/src/components/Layout/YAutoBoth/index.d.ts +5 -0
  60. package/src/components/Layout/YAutoBottom/index.d.ts +5 -0
  61. package/src/components/Layout/YAutoBottoms/index.d.ts +5 -0
  62. package/src/components/Layout/YAutoCenter/index.d.ts +5 -0
  63. package/src/components/Layout/YAutoTop/index.d.ts +5 -0
  64. package/src/components/Layout/YAutoTops/index.d.ts +5 -0
  65. package/src/components/Layout/YBase/index.d.ts +16 -0
  66. package/src/components/Layout/YBetween/index.d.ts +5 -0
  67. package/src/components/Layout/YBottom/index.d.ts +5 -0
  68. package/src/components/Layout/YCustom/index.d.ts +7 -0
  69. package/src/components/Layout/YCustomBoth/index.d.ts +7 -0
  70. package/src/components/Layout/YEvenly/index.d.ts +5 -0
  71. package/src/components/Layout/YMiddle/index.d.ts +5 -0
  72. package/src/components/Layout/YTop/index.d.ts +5 -0
  73. package/src/components/Layout/YWrapAround/index.d.ts +5 -0
  74. package/src/components/Layout/YWrapBetween/index.d.ts +5 -0
  75. package/src/components/Layout/YWrapCenter/index.d.ts +5 -0
  76. package/src/components/Layout/YWrapEvenly/index.d.ts +5 -0
  77. package/src/components/Layout/YWrapLeft/index.d.ts +5 -0
  78. package/src/components/Layout/YWrapRight/index.d.ts +5 -0
  79. package/src/components/Layout/index.d.ts +8 -0
  80. package/src/components/Layout/util.d.ts +6 -0
  81. package/src/components/View/VActionForm/index.d.ts +10 -0
  82. package/src/components/View/VAnimation/index.d.ts +127 -0
  83. package/src/components/View/VAudio/index.d.ts +10 -0
  84. package/src/components/View/VAvatar/index.d.ts +11 -0
  85. package/src/components/View/VBackground/index.d.ts +18 -0
  86. package/src/components/View/VBadge/index.d.ts +6 -0
  87. package/src/components/View/VBlock/index.d.ts +9 -0
  88. package/src/components/View/VBoundary/index.d.ts +6 -0
  89. package/src/components/View/VButton/index.d.ts +17 -0
  90. package/src/components/View/VCard/index.d.ts +8 -0
  91. package/src/components/View/VCardMedia/index.d.ts +9 -0
  92. package/src/components/View/VCardSocial/index.d.ts +13 -0
  93. package/src/components/View/VCardWindow/index.d.ts +15 -0
  94. package/src/components/View/VChromeExtensionValidator/index.d.ts +25 -0
  95. package/src/components/View/VDesigner/VDesignerConnection/index.d.ts +10 -0
  96. package/src/components/View/VDesigner/VDesignerElement/index.d.ts +11 -0
  97. package/src/components/View/VDesigner/VDesignerGroup/index.d.ts +10 -0
  98. package/src/components/View/VDesigner/VDesignerNode/index.d.ts +68 -0
  99. package/src/components/View/VDesigner/index.d.ts +35 -0
  100. package/src/components/View/VDynamic/index.d.ts +7 -0
  101. package/src/components/View/VFooter/index.d.ts +5 -0
  102. package/src/components/View/VForm/index.d.ts +13 -0
  103. package/src/components/View/VFrame/index.d.ts +14 -0
  104. package/src/components/View/VGoogleFont/index.d.ts +18 -0
  105. package/src/components/View/VHR/index.d.ts +5 -0
  106. package/src/components/View/VHeader/index.d.ts +5 -0
  107. package/src/components/View/VHyperlink/index.d.ts +13 -0
  108. package/src/components/View/VImage/App/index.d.ts +16 -0
  109. package/src/components/View/VImage/Web/index.d.ts +6 -0
  110. package/src/components/View/VInput/VBase64File/App/index.d.ts +10 -0
  111. package/src/components/View/VInput/VBase64File/Web/index.d.ts +10 -0
  112. package/src/components/View/VInput/VCheckBox/index.d.ts +9 -0
  113. package/src/components/View/VInput/VColor/index.d.ts +7 -0
  114. package/src/components/View/VInput/VDate/index.d.ts +7 -0
  115. package/src/components/View/VInput/VDatetimeLocal/index.d.ts +7 -0
  116. package/src/components/View/VInput/VDropdown/index.d.ts +31 -0
  117. package/src/components/View/VInput/VEmail/index.d.ts +5 -0
  118. package/src/components/View/VInput/VFile/index.d.ts +22 -0
  119. package/src/components/View/VInput/VGroup/index.d.ts +11 -0
  120. package/src/components/View/VInput/VHidden/index.d.ts +8 -0
  121. package/src/components/View/VInput/VMonth/index.d.ts +5 -0
  122. package/src/components/View/VInput/VNumber/index.d.ts +5 -0
  123. package/src/components/View/VInput/VPassword/index.d.ts +5 -0
  124. package/src/components/View/VInput/VRadio/index.d.ts +6 -0
  125. package/src/components/View/VInput/VRange/index.d.ts +8 -0
  126. package/src/components/View/VInput/VSearch/index.d.ts +5 -0
  127. package/src/components/View/VInput/VSubmit/index.d.ts +7 -0
  128. package/src/components/View/VInput/VSubmitWrapper/index.d.ts +6 -0
  129. package/src/components/View/VInput/VTel/index.d.ts +5 -0
  130. package/src/components/View/VInput/VTextBox/index.d.ts +7 -0
  131. package/src/components/View/VInput/VTime/index.d.ts +5 -0
  132. package/src/components/View/VInput/VUrl/index.d.ts +5 -0
  133. package/src/components/View/VInput/VWeek/index.d.ts +5 -0
  134. package/src/components/View/VInput/index.d.ts +47 -0
  135. package/src/components/View/VLabel/index.d.ts +60 -0
  136. package/src/components/View/VLink/App/index.d.ts +6 -0
  137. package/src/components/View/VLink/Web/index.d.ts +6 -0
  138. package/src/components/View/VLoading/index.d.ts +8 -0
  139. package/src/components/View/VMain/index.d.ts +5 -0
  140. package/src/components/View/VMask/index.d.ts +5 -0
  141. package/src/components/View/VPaypal/index.d.ts +10 -0
  142. package/src/components/View/VPhoto/index.d.ts +20 -0
  143. package/src/components/View/VPureRoot/index.d.ts +7 -0
  144. package/src/components/View/VRoot/index.d.ts +7 -0
  145. package/src/components/View/VSection/index.d.ts +5 -0
  146. package/src/components/View/VSelect/index.d.ts +14 -0
  147. package/src/components/View/VShadow/index.d.ts +15 -0
  148. package/src/components/View/VShape/VEllipse/index.d.ts +10 -0
  149. package/src/components/View/VShape/VLine/index.d.ts +10 -0
  150. package/src/components/View/VShape/VRectangle/index.d.ts +10 -0
  151. package/src/components/View/VStack/index.d.ts +5 -0
  152. package/src/components/View/VSvg/index.d.ts +16 -0
  153. package/src/components/View/VSwitch/index.d.ts +13 -0
  154. package/src/components/View/VTemplate/index.d.ts +5 -0
  155. package/src/components/View/VText/index.d.ts +22 -0
  156. package/src/components/View/VTextArea/index.d.ts +17 -0
  157. package/src/components/View/VTheme/index.d.ts +43 -0
  158. package/src/components/View/VTooltip/index.d.ts +20 -0
  159. package/src/components/View/VTree/Block/index.d.ts +14 -0
  160. package/src/components/View/VTree/index.d.ts +15 -0
  161. package/src/components/View/VVideo/index.d.ts +10 -0
  162. package/src/components/View/VZone/index.d.ts +14 -0
  163. package/src/components/app.d.ts +138 -0
  164. package/src/components/util.d.ts +1 -0
  165. package/src/fewbox/index.d.ts +26 -0
  166. package/src/language/index.d.ts +5 -0
  167. package/src/network/Delete.d.ts +6 -0
  168. package/src/network/DeleteExternal.d.ts +6 -0
  169. package/src/network/DeleteForm.d.ts +6 -0
  170. package/src/network/DeleteFormExternal.d.ts +6 -0
  171. package/src/network/FormHeaders.d.ts +2 -0
  172. package/src/network/GQL.d.ts +7 -0
  173. package/src/network/GQLExternal.d.ts +7 -0
  174. package/src/network/GQLExternalUpload.d.ts +7 -0
  175. package/src/network/GQLUpload.d.ts +7 -0
  176. package/src/network/Get.d.ts +6 -0
  177. package/src/network/GetExternal.d.ts +6 -0
  178. package/src/network/GetFetch.d.ts +6 -0
  179. package/src/network/GetFetchExternal.d.ts +6 -0
  180. package/src/network/GetForm.d.ts +6 -0
  181. package/src/network/GetFormExternal.d.ts +6 -0
  182. package/src/network/GetLocal.d.ts +5 -0
  183. package/src/network/GetSSE.d.ts +5 -0
  184. package/src/network/IGraphQL.d.ts +6 -0
  185. package/src/network/JsonHeaders.d.ts +5 -0
  186. package/src/network/LoadPayload.d.ts +1 -0
  187. package/src/network/Network.d.ts +45 -0
  188. package/src/network/NetworkObservableAjax.d.ts +8 -0
  189. package/src/network/NetworkObservableAjaxExternal.d.ts +9 -0
  190. package/src/network/NetworkObservableBase.d.ts +11 -0
  191. package/src/network/NetworkObservableFetch.d.ts +7 -0
  192. package/src/network/NetworkObservableFetchExternal.d.ts +8 -0
  193. package/src/network/NetworkObservableGQL.d.ts +8 -0
  194. package/src/network/NetworkObservableGQLExternal.d.ts +9 -0
  195. package/src/network/Patch.d.ts +6 -0
  196. package/src/network/PatchExternal.d.ts +6 -0
  197. package/src/network/PatchFetch.d.ts +6 -0
  198. package/src/network/PatchFetchExternal.d.ts +6 -0
  199. package/src/network/PatchForm.d.ts +6 -0
  200. package/src/network/PatchFormExternal.d.ts +6 -0
  201. package/src/network/Post.d.ts +6 -0
  202. package/src/network/PostExternal.d.ts +6 -0
  203. package/src/network/PostFetch.d.ts +6 -0
  204. package/src/network/PostFetchExternal.d.ts +6 -0
  205. package/src/network/PostForm.d.ts +6 -0
  206. package/src/network/PostFormExternal.d.ts +6 -0
  207. package/src/network/PostSSE.d.ts +5 -0
  208. package/src/network/Put.d.ts +6 -0
  209. package/src/network/PutExternal.d.ts +6 -0
  210. package/src/network/PutFetch.d.ts +6 -0
  211. package/src/network/PutFetchExternal.d.ts +6 -0
  212. package/src/network/PutForm.d.ts +6 -0
  213. package/src/network/PutFormExternal.d.ts +6 -0
  214. package/src/network/SSEObservableBase.d.ts +12 -0
  215. package/src/network/UploadHeaders.d.ts +2 -0
  216. package/src/network/WS.d.ts +11 -0
  217. package/src/network/index.d.ts +43 -0
  218. package/src/network/util.d.ts +4 -0
  219. package/src/store/EnumDictionary.d.ts +3 -0
  220. package/src/store/IContinuePaging.d.ts +4 -0
  221. package/src/store/IList.d.ts +3 -0
  222. package/src/store/IMetaResponse.d.ts +5 -0
  223. package/src/store/IPaging.d.ts +6 -0
  224. package/src/store/IPayloadResponse.d.ts +4 -0
  225. package/src/store/Json.d.ts +9 -0
  226. package/src/store/index.d.ts +6 -0
  227. package/templates/FEWBOX.md +73 -0
  228. package/templates/style/_core.scss +297 -0
  229. package/templates/style/_root-properties.scss +56 -0
  230. package/templates/style/_root.scss +6 -0
  231. package/templates/style/_variables.scss +194 -0
@@ -0,0 +1,127 @@
1
+ import { IChildrenProps } 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__zoomIn",
81
+ RollOut = "animate__zoomIn",
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 IChildrenProps {
121
+ category: AnimationCategory;
122
+ repeat?: AnimationRepeat;
123
+ speed?: AnimationSpeed;
124
+ delay?: AnimationDelay;
125
+ }
126
+ declare const VAnimation: (props: IVAnimationProps) => 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 {
7
+ sources: SourceItem[];
8
+ }
9
+ declare const VAudio: (props: IVAudioProps) => JSX.Element;
10
+ export default VAudio;
@@ -0,0 +1,11 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ import { ColorType } from '../../Engine';
3
+ export interface IVAvatarProps extends IBaseProps {
4
+ avatar: string | JSX.Element;
5
+ badge?: string | JSX.Element;
6
+ status?: ColorType;
7
+ badgeOffset?: string;
8
+ statusOffset?: string;
9
+ }
10
+ declare const VAvatar: (props: IVAvatarProps) => JSX.Element;
11
+ 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) => JSX.Element;
18
+ export default VBackground;
@@ -0,0 +1,6 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVBadgeProps extends IBaseProps {
3
+ badge?: string | JSX.Element;
4
+ }
5
+ declare const VBadge: (props: IVBadgeProps) => JSX.Element;
6
+ export default VBadge;
@@ -0,0 +1,9 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVBlockProps extends IBaseProps {
3
+ icon: JSX.Element;
4
+ action: JSX.Element;
5
+ title: JSX.Element;
6
+ subTitle: JSX.Element;
7
+ }
8
+ declare const VBlock: (props: IVBlockProps) => JSX.Element;
9
+ export default VBlock;
@@ -0,0 +1,6 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVBoundaryProps extends IBaseProps {
3
+ id?: string;
4
+ }
5
+ declare const VBoundary: (props: IVBoundaryProps) => JSX.Element;
6
+ export default VBoundary;
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { IBaseProps, IBaseStates } from '../../Engine/Base';
3
+ export declare enum ButtonCategory {
4
+ Round = "round",
5
+ Circle = "circle"
6
+ }
7
+ export interface IVButtonProps extends IBaseProps {
8
+ category?: ButtonCategory;
9
+ icon?: JSX.Element;
10
+ caption?: string | JSX.Element;
11
+ onClick?: React.MouseEventHandler;
12
+ }
13
+ export interface IVButtonStates extends IBaseStates {
14
+ isClick: boolean;
15
+ }
16
+ declare const VButton: (props: IVButtonProps) => JSX.Element;
17
+ export default VButton;
@@ -0,0 +1,8 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVCardProps extends IBaseProps {
3
+ head?: JSX.Element;
4
+ body?: JSX.Element;
5
+ isDraggable?: boolean;
6
+ }
7
+ declare const VCard: (props: IVCardProps) => JSX.Element;
8
+ export default VCard;
@@ -0,0 +1,9 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVCardMediaProps extends IBaseProps {
3
+ media: JSX.Element;
4
+ head?: JSX.Element;
5
+ body?: JSX.Element;
6
+ foot?: JSX.Element;
7
+ }
8
+ declare const VCardMedia: (props: IVCardMediaProps) => JSX.Element;
9
+ export default VCardMedia;
@@ -0,0 +1,13 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVCardSocialProps extends IBaseProps {
3
+ title: JSX.Element;
4
+ icon: JSX.Element;
5
+ avatar: JSX.Element;
6
+ name: JSX.Element;
7
+ post: JSX.Element;
8
+ hashTags: JSX.Element[];
9
+ leftAction: JSX.Element;
10
+ rightAction: JSX.Element;
11
+ }
12
+ declare const VCardSocial: (props: IVCardSocialProps) => 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) => JSX.Element;
15
+ export default VCardWindow;
@@ -0,0 +1,25 @@
1
+ export interface IChromeExtensionValidatorProps {
2
+ extensionId: string;
3
+ version?: string;
4
+ uninstalledCaption?: string | JSX.Element;
5
+ outdatedCaption?: string | JSX.Element;
6
+ downloadUrl?: string;
7
+ waitingTime?: number;
8
+ overWrite?: (status: ExtensionStatus) => JSX.Element;
9
+ }
10
+ export declare enum ExtensionStatus {
11
+ Uninstalled = "uninstalled",
12
+ Outdated = "outdated",
13
+ Ready = "ready"
14
+ }
15
+ export interface IChromeExtensionValidatorStates {
16
+ status?: ExtensionStatus;
17
+ }
18
+ export interface MetaEvent {
19
+ version: string;
20
+ }
21
+ export interface ValidationEvent {
22
+ id: string;
23
+ }
24
+ declare const ChromeExtensionValidator: (props: IChromeExtensionValidatorProps) => JSX.Element;
25
+ export default ChromeExtensionValidator;
@@ -0,0 +1,10 @@
1
+ import VDesignerNode, { DesignerConnectionPointType, IVDesignerNodePorps } from "../VDesignerNode";
2
+ export interface IVDesignerConnectionProps extends IVDesignerNodePorps {
3
+ upstream: string;
4
+ downstream: string;
5
+ isAnimated?: boolean;
6
+ upstreamPointType?: DesignerConnectionPointType;
7
+ downstreamPointType?: DesignerConnectionPointType;
8
+ }
9
+ export default class VDesignerConnection extends VDesignerNode<IVDesignerConnectionProps> {
10
+ }
@@ -0,0 +1,11 @@
1
+ import VDesignerNode, { DesignerConnectionPointType, IVDesignerNodePorps } from "../VDesignerNode";
2
+ export interface IVDesignerElementProps extends IVDesignerNodePorps {
3
+ connectionPointType?: DesignerConnectionPointType;
4
+ x: number;
5
+ y: number;
6
+ width: number;
7
+ content: JSX.Element | string;
8
+ isGlobalStyle?: boolean;
9
+ }
10
+ export default class VDesignerElement extends VDesignerNode<IVDesignerElementProps> {
11
+ }
@@ -0,0 +1,10 @@
1
+ import VDesignerNode, { DesignerConnectionPointType, IVDesignerNodePorps } from "../VDesignerNode";
2
+ import { IVDesignerElementProps } from "../VDesignerElement";
3
+ export interface IVDesignerGroupProps extends IVDesignerNodePorps {
4
+ connectionPointType?: DesignerConnectionPointType;
5
+ x: number;
6
+ y: number;
7
+ children: (IVDesignerElementProps | IVDesignerGroupProps)[];
8
+ }
9
+ export default class VDesignerGroup extends VDesignerNode<IVDesignerGroupProps> {
10
+ }
@@ -0,0 +1,68 @@
1
+ import Konva from "konva";
2
+ import { IVDesignerGroupProps } from "../VDesignerGroup";
3
+ import { IVDesignerElementProps } from "../VDesignerElement";
4
+ import { IVDesignerConnectionProps } from "../VDesignerConnection";
5
+ export interface ClientReact {
6
+ width: number;
7
+ height: number;
8
+ x: number;
9
+ y: number;
10
+ }
11
+ export interface PositionDictionary {
12
+ [id: number]: {
13
+ x: number;
14
+ y: number;
15
+ };
16
+ }
17
+ export declare enum DesignerNodeType {
18
+ Element = "element",
19
+ Group = "group",
20
+ Connection = "connection"
21
+ }
22
+ export declare enum DesignerConnectionPointType {
23
+ None = 0,
24
+ Top = 2,
25
+ Right = 4,
26
+ Bottom = 8,
27
+ Left = 16,
28
+ LeftTop = 32,
29
+ RightTop = 64,
30
+ LeftBottom = 128,
31
+ RightBottom = 256,
32
+ Center = 512,
33
+ All = 1022
34
+ }
35
+ export declare const getConnectionPointType: (name: string) => DesignerConnectionPointType.Top | DesignerConnectionPointType.Right | DesignerConnectionPointType.Bottom | DesignerConnectionPointType.Left | DesignerConnectionPointType.LeftTop | DesignerConnectionPointType.RightTop | DesignerConnectionPointType.LeftBottom | DesignerConnectionPointType.RightBottom | DesignerConnectionPointType.Center;
36
+ export interface IVDesignerNodePorps {
37
+ id: string;
38
+ type: DesignerNodeType;
39
+ zIndex?: number;
40
+ onClick?: (sender: Konva.Group) => void;
41
+ }
42
+ export interface IVDesignerNode<P extends IVDesignerNodePorps> {
43
+ props: P;
44
+ draw: () => void;
45
+ }
46
+ export default class VDesignerNode<P extends IVDesignerGroupProps | IVDesignerElementProps | IVDesignerConnectionProps> implements IVDesignerNode<P> {
47
+ private rootContainer;
48
+ private layer;
49
+ props: P;
50
+ private startConnectPointCallback?;
51
+ private selectedColor;
52
+ private normalColor;
53
+ private connectionColor;
54
+ constructor(layer: Konva.Layer, props: P, selectedColor: string, normalColor: string, connectionColor: string, startConnectPointCallback?: (id: string, pointType: DesignerConnectionPointType) => void);
55
+ private buildElement;
56
+ private buildAnchor;
57
+ private buildControlAnchor;
58
+ private buildAnimated;
59
+ private getPosition;
60
+ private getAngle;
61
+ private getAutoPosition;
62
+ private buildConnection;
63
+ private bindPointEvent;
64
+ private buildConnectionPoints;
65
+ private getPointPositions;
66
+ private drawGroup;
67
+ draw(): void;
68
+ }
@@ -0,0 +1,35 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ import { IVDesignerGroupProps } from './VDesignerGroup';
3
+ import { IVDesignerElementProps } from './VDesignerElement';
4
+ import { Property } from 'csstype';
5
+ import { IVDesignerConnectionProps } from './VDesignerConnection';
6
+ import { IVTreeNode } from '../VTree';
7
+ type TLength = (string & {}) | 0;
8
+ export interface StructureNode extends IVTreeNode {
9
+ }
10
+ export interface IVDesignerProps extends IBaseProps {
11
+ downloadIcon?: JSX.Element;
12
+ clearIcon?: JSX.Element;
13
+ debugIcon?: JSX.Element;
14
+ leftIcon?: JSX.Element;
15
+ rightIcon?: JSX.Element;
16
+ closeIcon?: JSX.Element;
17
+ deleteIcon?: JSX.Element;
18
+ toolboxCaption: JSX.Element | string;
19
+ contextMenuCaption: JSX.Element | string;
20
+ deleteCaption: JSX.Element | string;
21
+ selectedColor: string;
22
+ normalColor: string;
23
+ connectionColor: string;
24
+ containerName?: string;
25
+ nodeItems?: (IVDesignerElementProps | IVDesignerGroupProps | IVDesignerConnectionProps)[];
26
+ isAutoLayout?: boolean;
27
+ autosizeHeight: Property.Height<TLength>;
28
+ toolbox?: JSX.Element;
29
+ }
30
+ export interface IDesignerStates {
31
+ isToolboxExtend: boolean;
32
+ debugNode?: StructureNode;
33
+ }
34
+ declare const VDesigner: (props: IVDesignerProps) => JSX.Element;
35
+ export default VDesigner;
@@ -0,0 +1,7 @@
1
+ export interface IVDynamicProps {
2
+ components: object;
3
+ name: string;
4
+ notFindMessage?: string | JSX.Element;
5
+ [inject: string]: any;
6
+ }
7
+ export default function VDynamic(props: IVDynamicProps): JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVFooterProps extends IBaseProps {
3
+ }
4
+ declare const VFooter: (props: IVFooterProps) => JSX.Element;
5
+ export default VFooter;
@@ -0,0 +1,13 @@
1
+ import { IChildrenProps } from '../../Engine/Base';
2
+ export declare enum HandleSubmitCategory {
3
+ Json = "json",
4
+ FormData = "formdata"
5
+ }
6
+ export interface IVFormProps extends IChildrenProps {
7
+ handleSubmitCategory?: HandleSubmitCategory;
8
+ handleSubmit: (json: any) => void;
9
+ handleValidateError?: (input: HTMLInputElement) => void;
10
+ errorColor?: string;
11
+ }
12
+ declare const VForm: (props: IVFormProps) => JSX.Element;
13
+ export default VForm;
@@ -0,0 +1,14 @@
1
+ import { Property } from 'csstype';
2
+ import { IBaseProps } from '../../Engine/Base';
3
+ export interface BackingBoard {
4
+ degree: string;
5
+ startColor: string;
6
+ endColor: string;
7
+ }
8
+ export interface IVFrameProps extends IBaseProps {
9
+ image: string;
10
+ padding?: Property.Padding;
11
+ backingBoard?: BackingBoard;
12
+ }
13
+ declare const VFrame: (props: IVFrameProps) => JSX.Element;
14
+ 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) => JSX.Element;
18
+ export default VGoogleFont;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVHRProps extends IBaseProps {
3
+ }
4
+ declare const VHR: (props: IVHRProps) => JSX.Element;
5
+ export default VHR;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVHeaderProps extends IBaseProps {
3
+ }
4
+ declare const VHeader: (props: IVHeaderProps) => JSX.Element;
5
+ export default VHeader;
@@ -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 {
9
+ category: HyperlinkCategory;
10
+ to: string;
11
+ }
12
+ declare const VHyperlink: (props: IVHyperlinkProps) => JSX.Element;
13
+ export default VHyperlink;
@@ -0,0 +1,16 @@
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 {
10
+ category?: ImageCategory;
11
+ src: string;
12
+ srcSet?: string;
13
+ alt: string;
14
+ }
15
+ declare const VImage: (props: IVImageProps) => JSX.Element;
16
+ export default VImage;
@@ -0,0 +1,6 @@
1
+ import { ImageProps } from "next/image";
2
+ export interface IVBackgroundProps extends Omit<ImageProps, 'alt'> {
3
+ alt: string;
4
+ }
5
+ declare const VBackground: (props: IVBackgroundProps) => JSX.Element;
6
+ export default VBackground;
@@ -0,0 +1,10 @@
1
+ import { IBaseInputProps } from "../..";
2
+ export interface IVBase64FileProps extends IBaseInputProps {
3
+ fileIcon?: JSX.Element;
4
+ base64Image: string;
5
+ }
6
+ export interface IVBase64FileStates {
7
+ base64Image: string;
8
+ }
9
+ declare const VBase64File: (props: IVBase64FileProps) => JSX.Element;
10
+ export default VBase64File;
@@ -0,0 +1,10 @@
1
+ import { IBaseInputProps } from "../..";
2
+ export interface IVBase64FileProps extends IBaseInputProps {
3
+ fileIcon?: JSX.Element;
4
+ base64Image: string;
5
+ }
6
+ export interface IVBase64FileStates {
7
+ base64Image: string;
8
+ }
9
+ declare const VBase64File: (props: IVBase64FileProps) => JSX.Element;
10
+ export default VBase64File;
@@ -0,0 +1,9 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVCheckBoxProps extends IBaseInputProps {
3
+ isChecked?: boolean;
4
+ }
5
+ export interface IVCheckBoxStates {
6
+ isChecked?: boolean;
7
+ }
8
+ declare const VCheckBox: (props: IVCheckBoxProps) => JSX.Element;
9
+ export default VCheckBox;
@@ -0,0 +1,7 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVColorProps extends IBaseInputProps {
3
+ }
4
+ export interface IVColorProps {
5
+ }
6
+ declare const VColor: (props: IVColorProps) => JSX.Element;
7
+ export default VColor;
@@ -0,0 +1,7 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVDateProps extends IBaseInputProps {
3
+ }
4
+ export interface IVDateProps {
5
+ }
6
+ declare const VDate: (props: IVDateProps) => JSX.Element;
7
+ export default VDate;
@@ -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) => JSX.Element;
7
+ export default VDatetimeLocal;
@@ -0,0 +1,31 @@
1
+ import { IViewProps } from "../../../Engine/Base";
2
+ import { InputExtensionItem } from "..";
3
+ export interface IDropdownItemData {
4
+ icon?: JSX.Element;
5
+ caption: string;
6
+ value: string;
7
+ }
8
+ export interface IVDropdownProps extends IViewProps {
9
+ id?: string;
10
+ value?: string | ReadonlyArray<string> | number | undefined;
11
+ name?: string;
12
+ icon?: JSX.Element;
13
+ emptyIcon: JSX.Element;
14
+ downIcon: JSX.Element;
15
+ upIcon: JSX.Element;
16
+ enableClear?: boolean;
17
+ isReadonly?: boolean;
18
+ items: IDropdownItemData[];
19
+ extensions?: InputExtensionItem[];
20
+ overWriteDropdownItem?: (item: IDropdownItemData) => JSX.Element;
21
+ onChange?: (value: string) => void;
22
+ }
23
+ export interface IVDropdownStates {
24
+ isSelectionShow: boolean;
25
+ selectIcon?: JSX.Element;
26
+ selectValue: string | ReadonlyArray<string> | number | undefined;
27
+ selectCaption: string | ReadonlyArray<string> | number | undefined;
28
+ items: IDropdownItemData[];
29
+ }
30
+ declare const VDropdown: (props: IVDropdownProps) => JSX.Element;
31
+ export default VDropdown;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVEmailProps extends IBaseInputProps {
3
+ }
4
+ declare const VEmail: (props: IVEmailProps) => JSX.Element;
5
+ export default VEmail;