@fewbox/den 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/index-app.d.ts +15 -0
  2. package/index.css +12226 -0
  3. package/index.js +2 -0
  4. package/index.js.map +1 -0
  5. package/jest.setup.d.ts +1 -0
  6. package/package.json +30 -0
  7. package/scripts/copy-templates.js +29 -0
  8. package/src/action/index.d.ts +9 -0
  9. package/src/components/Analyze/GA4/index.d.ts +9 -0
  10. package/src/components/Analyze/GA4NextJS/index.d.ts +5 -0
  11. package/src/components/Analyze/util.d.ts +115 -0
  12. package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
  13. package/src/components/Auth/GoogleGrant/index.d.ts +41 -0
  14. package/src/components/Auth/GoogleSignin/index.d.ts +18 -0
  15. package/src/components/Auth/WeComSignin/index.d.ts +8 -0
  16. package/src/components/Auth/util.d.ts +17 -0
  17. package/src/components/Debug/index.d.ts +6 -0
  18. package/src/components/Engine/Base/index.d.ts +228 -0
  19. package/src/components/Engine/BaseComponent/index.d.ts +9 -0
  20. package/src/components/Engine/index.d.ts +212 -0
  21. package/src/components/Layout/Display/index.d.ts +18 -0
  22. package/src/components/Layout/Dock/index.d.ts +23 -0
  23. package/src/components/Layout/DockBak/index.d.ts +24 -0
  24. package/src/components/Layout/Flex/index.d.ts +44 -0
  25. package/src/components/Layout/FlexItem/index.d.ts +18 -0
  26. package/src/components/Layout/Position/index.d.ts +33 -0
  27. package/src/components/Layout/PositionArea/index.d.ts +10 -0
  28. package/src/components/Layout/SBaseline/index.d.ts +5 -0
  29. package/src/components/Layout/SBottom/index.d.ts +6 -0
  30. package/src/components/Layout/SCenter/index.d.ts +5 -0
  31. package/src/components/Layout/SLeft/index.d.ts +5 -0
  32. package/src/components/Layout/SMiddle/index.d.ts +5 -0
  33. package/src/components/Layout/SRight/index.d.ts +5 -0
  34. package/src/components/Layout/SStretch/index.d.ts +5 -0
  35. package/src/components/Layout/STop/index.d.ts +5 -0
  36. package/src/components/Layout/X/index.d.ts +5 -0
  37. package/src/components/Layout/XAround/index.d.ts +5 -0
  38. package/src/components/Layout/XAutoBoth/index.d.ts +5 -0
  39. package/src/components/Layout/XAutoCenter/index.d.ts +5 -0
  40. package/src/components/Layout/XAutoLeft/index.d.ts +5 -0
  41. package/src/components/Layout/XAutoLefts/index.d.ts +5 -0
  42. package/src/components/Layout/XAutoRight/index.d.ts +5 -0
  43. package/src/components/Layout/XAutoRights/index.d.ts +5 -0
  44. package/src/components/Layout/XBase/index.d.ts +18 -0
  45. package/src/components/Layout/XBetween/index.d.ts +5 -0
  46. package/src/components/Layout/XCenter/index.d.ts +5 -0
  47. package/src/components/Layout/XCustom/index.d.ts +7 -0
  48. package/src/components/Layout/XCustomBoth/index.d.ts +7 -0
  49. package/src/components/Layout/XEvenly/index.d.ts +5 -0
  50. package/src/components/Layout/XLeft/index.d.ts +5 -0
  51. package/src/components/Layout/XRight/index.d.ts +5 -0
  52. package/src/components/Layout/XWrapAround/index.d.ts +5 -0
  53. package/src/components/Layout/XWrapBetween/index.d.ts +5 -0
  54. package/src/components/Layout/XWrapBottom/index.d.ts +5 -0
  55. package/src/components/Layout/XWrapEvenly/index.d.ts +5 -0
  56. package/src/components/Layout/XWrapMiddle/index.d.ts +5 -0
  57. package/src/components/Layout/XWrapTop/index.d.ts +5 -0
  58. package/src/components/Layout/Y/index.d.ts +5 -0
  59. package/src/components/Layout/YAround/index.d.ts +5 -0
  60. package/src/components/Layout/YAutoBoth/index.d.ts +5 -0
  61. package/src/components/Layout/YAutoBottom/index.d.ts +5 -0
  62. package/src/components/Layout/YAutoBottoms/index.d.ts +5 -0
  63. package/src/components/Layout/YAutoCenter/index.d.ts +5 -0
  64. package/src/components/Layout/YAutoTop/index.d.ts +5 -0
  65. package/src/components/Layout/YAutoTops/index.d.ts +5 -0
  66. package/src/components/Layout/YBase/index.d.ts +16 -0
  67. package/src/components/Layout/YBetween/index.d.ts +5 -0
  68. package/src/components/Layout/YBottom/index.d.ts +5 -0
  69. package/src/components/Layout/YCustom/index.d.ts +7 -0
  70. package/src/components/Layout/YCustomBoth/index.d.ts +7 -0
  71. package/src/components/Layout/YEvenly/index.d.ts +5 -0
  72. package/src/components/Layout/YMiddle/index.d.ts +5 -0
  73. package/src/components/Layout/YTop/index.d.ts +5 -0
  74. package/src/components/Layout/YWrapAround/index.d.ts +5 -0
  75. package/src/components/Layout/YWrapBetween/index.d.ts +5 -0
  76. package/src/components/Layout/YWrapCenter/index.d.ts +5 -0
  77. package/src/components/Layout/YWrapEvenly/index.d.ts +5 -0
  78. package/src/components/Layout/YWrapLeft/index.d.ts +5 -0
  79. package/src/components/Layout/YWrapRight/index.d.ts +5 -0
  80. package/src/components/Layout/index.d.ts +8 -0
  81. package/src/components/Layout/util.d.ts +6 -0
  82. package/src/components/View/VActionForm/index.d.ts +10 -0
  83. package/src/components/View/VAnimation/index.d.ts +127 -0
  84. package/src/components/View/VAudio/index.d.ts +10 -0
  85. package/src/components/View/VAvatar/index.d.ts +11 -0
  86. package/src/components/View/VBackground/index.d.ts +18 -0
  87. package/src/components/View/VBadge/index.d.ts +6 -0
  88. package/src/components/View/VBlock/index.d.ts +9 -0
  89. package/src/components/View/VBoundary/index.d.ts +6 -0
  90. package/src/components/View/VButton/index.d.ts +17 -0
  91. package/src/components/View/VCard/index.d.ts +8 -0
  92. package/src/components/View/VCardMedia/index.d.ts +9 -0
  93. package/src/components/View/VCardSocial/index.d.ts +13 -0
  94. package/src/components/View/VCardWindow/index.d.ts +15 -0
  95. package/src/components/View/VChromeExtensionValidator/index.d.ts +25 -0
  96. package/src/components/View/VDynamic/index.d.ts +7 -0
  97. package/src/components/View/VFooter/index.d.ts +5 -0
  98. package/src/components/View/VForm/index.d.ts +13 -0
  99. package/src/components/View/VFrame/index.d.ts +14 -0
  100. package/src/components/View/VGoogleFont/index.d.ts +18 -0
  101. package/src/components/View/VHR/index.d.ts +5 -0
  102. package/src/components/View/VHeader/index.d.ts +5 -0
  103. package/src/components/View/VHyperlink/index.d.ts +13 -0
  104. package/src/components/View/VImage/App/index.d.ts +16 -0
  105. package/src/components/View/VInput/VBase64File/App/index.d.ts +10 -0
  106. package/src/components/View/VInput/VCheckBox/index.d.ts +9 -0
  107. package/src/components/View/VInput/VColor/index.d.ts +7 -0
  108. package/src/components/View/VInput/VDate/index.d.ts +7 -0
  109. package/src/components/View/VInput/VDatetimeLocal/index.d.ts +7 -0
  110. package/src/components/View/VInput/VDropdown/index.d.ts +31 -0
  111. package/src/components/View/VInput/VEmail/index.d.ts +5 -0
  112. package/src/components/View/VInput/VFile/index.d.ts +22 -0
  113. package/src/components/View/VInput/VGroup/index.d.ts +11 -0
  114. package/src/components/View/VInput/VHidden/index.d.ts +8 -0
  115. package/src/components/View/VInput/VMonth/index.d.ts +5 -0
  116. package/src/components/View/VInput/VNumber/index.d.ts +5 -0
  117. package/src/components/View/VInput/VPassword/index.d.ts +5 -0
  118. package/src/components/View/VInput/VRadio/index.d.ts +6 -0
  119. package/src/components/View/VInput/VRange/index.d.ts +8 -0
  120. package/src/components/View/VInput/VSearch/index.d.ts +5 -0
  121. package/src/components/View/VInput/VSubmit/index.d.ts +7 -0
  122. package/src/components/View/VInput/VSubmitWrapper/index.d.ts +6 -0
  123. package/src/components/View/VInput/VTel/index.d.ts +5 -0
  124. package/src/components/View/VInput/VTextBox/index.d.ts +7 -0
  125. package/src/components/View/VInput/VTime/index.d.ts +5 -0
  126. package/src/components/View/VInput/VUrl/index.d.ts +5 -0
  127. package/src/components/View/VInput/VWeek/index.d.ts +5 -0
  128. package/src/components/View/VInput/index.d.ts +45 -0
  129. package/src/components/View/VLabel/index.d.ts +60 -0
  130. package/src/components/View/VLink/App/index.d.ts +6 -0
  131. package/src/components/View/VLoading/index.d.ts +8 -0
  132. package/src/components/View/VMain/index.d.ts +5 -0
  133. package/src/components/View/VMask/index.d.ts +5 -0
  134. package/src/components/View/VPaypal/index.d.ts +10 -0
  135. package/src/components/View/VPhoto/index.d.ts +20 -0
  136. package/src/components/View/VPureRoot/index.d.ts +7 -0
  137. package/src/components/View/VRoot/index.d.ts +7 -0
  138. package/src/components/View/VSection/index.d.ts +5 -0
  139. package/src/components/View/VSelect/index.d.ts +14 -0
  140. package/src/components/View/VShadow/index.d.ts +15 -0
  141. package/src/components/View/VShape/VEllipse/index.d.ts +10 -0
  142. package/src/components/View/VShape/VLine/index.d.ts +10 -0
  143. package/src/components/View/VShape/VRectangle/index.d.ts +10 -0
  144. package/src/components/View/VStack/index.d.ts +5 -0
  145. package/src/components/View/VSvg/index.d.ts +16 -0
  146. package/src/components/View/VSwitch/index.d.ts +13 -0
  147. package/src/components/View/VTemplate/index.d.ts +5 -0
  148. package/src/components/View/VText/index.d.ts +22 -0
  149. package/src/components/View/VTextArea/index.d.ts +17 -0
  150. package/src/components/View/VTheme/index.d.ts +43 -0
  151. package/src/components/View/VTooltip/index.d.ts +20 -0
  152. package/src/components/View/VTree/Block/index.d.ts +14 -0
  153. package/src/components/View/VTree/index.d.ts +15 -0
  154. package/src/components/View/VVideo/index.d.ts +10 -0
  155. package/src/components/View/VZone/index.d.ts +14 -0
  156. package/src/components/app.d.ts +134 -0
  157. package/src/components/util.d.ts +1 -0
  158. package/src/fewbox/index.d.ts +27 -0
  159. package/src/language/index.d.ts +5 -0
  160. package/src/network/FormHeaders.d.ts +2 -0
  161. package/src/network/IGraphQL.d.ts +6 -0
  162. package/src/network/JsonHeaders.d.ts +5 -0
  163. package/src/network/Network.d.ts +45 -0
  164. package/src/network/NetworkObservableBase.d.ts +13 -0
  165. package/src/network/StreamObservableBase.d.ts +11 -0
  166. package/src/network/UploadHeaders.d.ts +2 -0
  167. package/src/network/WS.d.ts +11 -0
  168. package/src/network/ajax/default/Delete.d.ts +5 -0
  169. package/src/network/ajax/default/DeleteText.d.ts +5 -0
  170. package/src/network/ajax/default/Get.d.ts +5 -0
  171. package/src/network/ajax/default/GetLocal.d.ts +5 -0
  172. package/src/network/ajax/default/GetText.d.ts +5 -0
  173. package/src/network/ajax/default/NetworkObservableAjax.d.ts +7 -0
  174. package/src/network/ajax/default/Patch.d.ts +5 -0
  175. package/src/network/ajax/default/PatchText.d.ts +5 -0
  176. package/src/network/ajax/default/Post.d.ts +5 -0
  177. package/src/network/ajax/default/PostText.d.ts +5 -0
  178. package/src/network/ajax/default/Put.d.ts +5 -0
  179. package/src/network/ajax/default/PutText.d.ts +5 -0
  180. package/src/network/ajax/external/DeleteExternal.d.ts +5 -0
  181. package/src/network/ajax/external/DeleteTextExternal.d.ts +5 -0
  182. package/src/network/ajax/external/GetExternal.d.ts +5 -0
  183. package/src/network/ajax/external/GetTextExternal.d.ts +5 -0
  184. package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +8 -0
  185. package/src/network/ajax/external/PatchExternal.d.ts +5 -0
  186. package/src/network/ajax/external/PatchTextExternal.d.ts +5 -0
  187. package/src/network/ajax/external/PostExternal.d.ts +5 -0
  188. package/src/network/ajax/external/PostTextExternal.d.ts +5 -0
  189. package/src/network/ajax/external/PutExternal.d.ts +5 -0
  190. package/src/network/ajax/external/PutTextExternal.d.ts +5 -0
  191. package/src/network/fetch/default/DeleteFetch.d.ts +5 -0
  192. package/src/network/fetch/default/GetFetch.d.ts +5 -0
  193. package/src/network/fetch/default/NetworkObservableFetch.d.ts +7 -0
  194. package/src/network/fetch/default/PatchFetch.d.ts +5 -0
  195. package/src/network/fetch/default/PostFetch.d.ts +5 -0
  196. package/src/network/fetch/default/PutFetch.d.ts +5 -0
  197. package/src/network/fetch/external/GetFetchExternal.d.ts +5 -0
  198. package/src/network/fetch/external/NetworkObservableFetchExternal.d.ts +8 -0
  199. package/src/network/fetch/external/PatchFetchExternal.d.ts +5 -0
  200. package/src/network/fetch/external/PostFetchExternal.d.ts +5 -0
  201. package/src/network/fetch/external/PutFetchExternal.d.ts +5 -0
  202. package/src/network/graphql/default/GQL.d.ts +6 -0
  203. package/src/network/graphql/default/GQLUpload.d.ts +6 -0
  204. package/src/network/graphql/default/NetworkObservableGQL.d.ts +7 -0
  205. package/src/network/graphql/external/GQLExternal.d.ts +6 -0
  206. package/src/network/graphql/external/GQLExternalUpload.d.ts +6 -0
  207. package/src/network/graphql/external/NetworkObservableGQLExternal.d.ts +7 -0
  208. package/src/network/index.d.ts +46 -0
  209. package/src/network/sse/default/GetSSE.d.ts +5 -0
  210. package/src/network/sse/default/PostSSE.d.ts +5 -0
  211. package/src/network/sse/default/StreamObservableSSE.d.ts +5 -0
  212. package/src/network/sse/external/GetSSEExternal.d.ts +5 -0
  213. package/src/network/sse/external/PostSSEExternal.d.ts +5 -0
  214. package/src/network/sse/external/StreamObservableSSEExternal.d.ts +6 -0
  215. package/src/network/util.d.ts +4 -0
  216. package/src/store/EnumDictionary.d.ts +3 -0
  217. package/src/store/IContinuePaging.d.ts +4 -0
  218. package/src/store/IList.d.ts +3 -0
  219. package/src/store/IMetaResponse.d.ts +5 -0
  220. package/src/store/IPaging.d.ts +6 -0
  221. package/src/store/IPayloadResponse.d.ts +4 -0
  222. package/src/store/Json.d.ts +9 -0
  223. package/src/store/index.d.ts +6 -0
  224. package/templates/FEWBOX.md +73 -0
  225. package/templates/style/_core.scss +297 -0
  226. package/templates/style/_root-properties.scss +57 -0
  227. package/templates/style/_root.scss +6 -0
  228. package/templates/style/_variables.scss +194 -0
@@ -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,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,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;
@@ -0,0 +1,22 @@
1
+ import { IBaseInputProps } from "..";
2
+ import { ColorType, SizeType } from "../../../Engine";
3
+ export declare enum FileCategory {
4
+ Vertical = "Vertical",
5
+ Horizontal = "Horizontal"
6
+ }
7
+ export interface IVFileProps extends IBaseInputProps {
8
+ category?: FileCategory;
9
+ fileIcon: JSX.Element;
10
+ caption?: JSX.Element | string;
11
+ emptyMessage: string;
12
+ autoUpload?: (file: any, complete: () => void) => void;
13
+ renderLoading?: () => JSX.Element;
14
+ loadingSize?: SizeType;
15
+ loadingColor?: ColorType;
16
+ }
17
+ export interface IVFileStates {
18
+ isLoading: boolean;
19
+ fileName: string;
20
+ }
21
+ declare const VFile: (props: IVFileProps) => JSX.Element;
22
+ export default VFile;
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ import { IBaseProps } from "../../../Engine/Base";
3
+ export interface IVGroupProps extends IBaseProps {
4
+ selectedValue: string;
5
+ renderGroup: (selectedValue: string, hanldeSelect: React.ChangeEventHandler<any>) => JSX.Element;
6
+ }
7
+ export interface IVGroupStates {
8
+ selectedValue: string;
9
+ }
10
+ declare const VGroup: (props: IVGroupProps) => JSX.Element;
11
+ export default VGroup;
@@ -0,0 +1,8 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVHiddenProps extends IBaseInputProps {
3
+ id?: string;
4
+ name: string | undefined;
5
+ value?: string | ReadonlyArray<string> | number | undefined;
6
+ }
7
+ declare const VHidden: (props: IVHiddenProps) => JSX.Element;
8
+ export default VHidden;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVMonthProps extends IBaseInputProps {
3
+ }
4
+ declare const VMonth: (props: IVMonthProps) => JSX.Element;
5
+ export default VMonth;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVNumberProps extends IBaseInputProps {
3
+ }
4
+ declare const VNumber: (props: IVNumberProps) => JSX.Element;
5
+ export default VNumber;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVPasswordProps extends IBaseInputProps {
3
+ }
4
+ declare const VPassword: (props: IVPasswordProps) => JSX.Element;
5
+ export default VPassword;
@@ -0,0 +1,6 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVRadioProps extends IBaseInputProps {
3
+ isChecked?: boolean;
4
+ }
5
+ declare const VRadio: (props: IVRadioProps) => JSX.Element;
6
+ export default VRadio;
@@ -0,0 +1,8 @@
1
+ import { IBaseInputProps } from "..";
2
+ import { ColorType } from "../../../Engine";
3
+ export interface IVRangeProps extends IBaseInputProps {
4
+ controlBackgroundColor: ColorType;
5
+ controlBorderColor: ColorType;
6
+ }
7
+ declare const VRange: (props: IVRangeProps) => JSX.Element;
8
+ export default VRange;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVSearchProps extends IBaseInputProps {
3
+ }
4
+ declare const VSearch: (props: IVSearchProps) => JSX.Element;
5
+ export default VSearch;
@@ -0,0 +1,7 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVSubmitProps extends IBaseInputProps {
3
+ caption: string | JSX.Element;
4
+ isFormNoValidate?: boolean;
5
+ }
6
+ declare const VSubmit: (props: IVSubmitProps) => JSX.Element;
7
+ export default VSubmit;
@@ -0,0 +1,6 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVSubmitWrapperProps extends IBaseInputProps {
3
+ content: JSX.Element;
4
+ }
5
+ declare const VSubmitWrapper: (props: IVSubmitWrapperProps) => JSX.Element;
6
+ export default VSubmitWrapper;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVTelProps extends IBaseInputProps {
3
+ }
4
+ declare const VTel: (props: IVTelProps) => JSX.Element;
5
+ export default VTel;
@@ -0,0 +1,7 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVTextBoxProps extends IBaseInputProps {
3
+ enableClear?: boolean;
4
+ isFocus?: boolean;
5
+ }
6
+ declare const VTextBox: (props: IVTextBoxProps) => JSX.Element;
7
+ export default VTextBox;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVTimeProps extends IBaseInputProps {
3
+ }
4
+ declare const VTime: (props: IVTimeProps) => JSX.Element;
5
+ export default VTime;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVUrlProps extends IBaseInputProps {
3
+ }
4
+ declare const VUrl: (props: IVUrlProps) => JSX.Element;
5
+ export default VUrl;
@@ -0,0 +1,5 @@
1
+ import { IBaseInputProps } from "..";
2
+ export interface IVWeekProps extends IBaseInputProps {
3
+ }
4
+ declare const VWeek: (props: IVWeekProps) => JSX.Element;
5
+ export default VWeek;
@@ -0,0 +1,45 @@
1
+ import * as React from "react";
2
+ import { IBaseProps, TLength } from "../../Engine/Base";
3
+ import { ColorType, SizeType } from "../../Engine";
4
+ import { LabelCategory } from "../VLabel";
5
+ import { Property } from 'csstype';
6
+ export interface InputExtensionItem {
7
+ option: JSX.Element;
8
+ handleOption: (input: any) => void;
9
+ }
10
+ export interface IBaseInputProps extends IBaseProps {
11
+ type?: React.HTMLInputTypeAttribute | undefined;
12
+ icon?: JSX.Element;
13
+ extensions?: InputExtensionItem[];
14
+ id?: string;
15
+ name?: string;
16
+ label?: string | JSX.Element;
17
+ value?: string | ReadonlyArray<string> | number | undefined;
18
+ valueHook?: string;
19
+ setStateHook?: (value: string) => void;
20
+ placeholder?: string | undefined;
21
+ onChange?: React.ChangeEventHandler<any> | undefined;
22
+ isValueShow?: boolean;
23
+ isReadonly?: boolean;
24
+ min?: number;
25
+ max?: number;
26
+ step?: number;
27
+ valueSize?: SizeType;
28
+ valueColor?: ColorType;
29
+ valueCategory?: LabelCategory;
30
+ valuePadding?: Property.Padding<TLength>;
31
+ inputStyle?: React.CSSProperties;
32
+ inputClassName?: string;
33
+ isRequired?: boolean;
34
+ disabled?: boolean;
35
+ overWrite?: (inputRef: React.RefObject<HTMLInputElement>) => JSX.Element;
36
+ }
37
+ export interface IVInputProps extends IBaseInputProps {
38
+ inheritClassName?: string;
39
+ isFocus?: boolean;
40
+ }
41
+ export interface IVInputStates {
42
+ value?: string | ReadonlyArray<string> | number | undefined;
43
+ }
44
+ declare const VInput: (props: IVInputProps) => JSX.Element;
45
+ export default VInput;
@@ -0,0 +1,60 @@
1
+ import * as React from 'react';
2
+ import { IBaseProps } from '../../Engine/Base';
3
+ export declare enum LabelCategory {
4
+ Div = "div",
5
+ Abbr = "abbr",
6
+ Span = "span",
7
+ H1 = "h1",
8
+ H2 = "h2",
9
+ H3 = "h3",
10
+ H4 = "h4",
11
+ H5 = "h5",
12
+ H6 = "h6",
13
+ I = "i",
14
+ B = "b",
15
+ U = "u",
16
+ Em = "em",
17
+ Strong = "strong",
18
+ Blockquote = "blockquote",
19
+ Cite = "cite",
20
+ Code = "code",
21
+ Del = "del",
22
+ Dfn = "dfn",
23
+ Ins = "ins",
24
+ Kbd = "kbd",
25
+ Mark = "mark",
26
+ Pre = "pre",
27
+ Q = "q",
28
+ S = "s",
29
+ Samp = "samp",
30
+ Small = "small",
31
+ Summary = "summary",
32
+ Sup = "sup",
33
+ Sub = "sub",
34
+ Time = "time",
35
+ Var = "var",
36
+ Wbr = "wbr"
37
+ }
38
+ export declare enum LabelType {
39
+ Default = "default",
40
+ Circle = "circle"
41
+ }
42
+ export declare enum LabelAlignType {
43
+ Justify = 0,
44
+ Left = 1,
45
+ Right = 2,
46
+ Center = 3
47
+ }
48
+ export interface IVLabelProps extends IBaseProps {
49
+ category?: LabelCategory;
50
+ type?: LabelType;
51
+ alignType?: LabelAlignType;
52
+ title?: string;
53
+ cite?: string;
54
+ isTextOverflow?: boolean;
55
+ caption: string | JSX.Element;
56
+ onMouseEnter?: React.MouseEventHandler<any>;
57
+ onMouseLeave?: React.MouseEventHandler<any>;
58
+ }
59
+ declare const VLabel: (props: IVLabelProps) => JSX.Element;
60
+ export default VLabel;
@@ -0,0 +1,6 @@
1
+ import { IChildrenProps } from '../../../Engine/Base';
2
+ export interface IVLinkProps extends IChildrenProps {
3
+ to: string;
4
+ }
5
+ declare const VLink: (props: IVLinkProps) => JSX.Element;
6
+ export default VLink;
@@ -0,0 +1,8 @@
1
+ import { IChildrenProps } from '../../Engine/Base';
2
+ import { AnimationCategory, AnimationSpeed } from '../VAnimation';
3
+ export interface ILoadingProps extends IChildrenProps {
4
+ animationCategory?: AnimationCategory;
5
+ animationSpeed?: AnimationSpeed;
6
+ }
7
+ declare const VLoading: (props: ILoadingProps) => JSX.Element;
8
+ export default VLoading;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVMainProps extends IBaseProps {
3
+ }
4
+ declare const VMain: (props: IVMainProps) => JSX.Element;
5
+ export default VMain;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVMaskProps extends IBaseProps {
3
+ }
4
+ declare const VMask: (props: IVMaskProps) => JSX.Element;
5
+ export default VMask;
@@ -0,0 +1,10 @@
1
+ import { ReactPayPalScriptOptions } from '@paypal/react-paypal-js';
2
+ import type { PayPalButtonsComponentOptions } from "@paypal/paypal-js/types/components/buttons";
3
+ export interface IVPaypalProps {
4
+ options: ReactPayPalScriptOptions;
5
+ buttonOptions?: PayPalButtonsComponentOptions;
6
+ }
7
+ export interface IVPaypalStates {
8
+ }
9
+ declare const VPaypal: (props: IVPaypalProps) => JSX.Element;
10
+ export default VPaypal;