@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,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,47 @@
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
+ inputRef?: React.RefObject<HTMLInputElement>;
37
+ inputReadonlyRef?: React.RefObject<any>;
38
+ }
39
+ export interface IVInputProps extends IBaseInputProps {
40
+ inheritClassName?: string;
41
+ isFocus?: boolean;
42
+ }
43
+ export interface IVInputStates {
44
+ value?: string | ReadonlyArray<string> | number | undefined;
45
+ }
46
+ declare const VInput: (props: IVInputProps) => JSX.Element;
47
+ 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,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;
@@ -0,0 +1,20 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export declare enum PhotoCategory {
3
+ Auto = "auto",
4
+ Contain = "contain",
5
+ Cover = "cover"
6
+ }
7
+ export declare enum PhotoPositionType {
8
+ Left = "left",
9
+ Center = "center",
10
+ Right = "right"
11
+ }
12
+ export interface IVPhotoProps extends IBaseProps {
13
+ category: PhotoCategory;
14
+ position?: PhotoPositionType;
15
+ src: string;
16
+ width?: string;
17
+ height?: string;
18
+ }
19
+ declare const VPhoto: (props: IVPhotoProps) => JSX.Element;
20
+ export default VPhoto;
@@ -0,0 +1,7 @@
1
+ import { IViewProps, IChildrenProps } from '../../Engine/Base';
2
+ export interface IVPureRootProps extends IViewProps, IChildrenProps {
3
+ vClassName: string;
4
+ id?: string;
5
+ }
6
+ declare const VPureRoot: (props: IVPureRootProps) => JSX.Element;
7
+ export default VPureRoot;
@@ -0,0 +1,7 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVRootProps extends IBaseProps {
3
+ vClassName: string;
4
+ id?: string;
5
+ }
6
+ declare const VRoot: (props: IVRootProps) => JSX.Element;
7
+ export default VRoot;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVSectionProps extends IBaseProps {
3
+ }
4
+ declare const VSection: (props: IVSectionProps) => JSX.Element;
5
+ export default VSection;
@@ -0,0 +1,14 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISelectItemData {
3
+ caption: string;
4
+ value: string;
5
+ }
6
+ export interface IVSelectProps extends IBaseProps {
7
+ name?: string;
8
+ items: ISelectItemData[];
9
+ value?: string;
10
+ isMultiple?: boolean;
11
+ fontFamily?: string;
12
+ }
13
+ declare const VSelect: (props: IVSelectProps) => JSX.Element;
14
+ export default VSelect;
@@ -0,0 +1,15 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export declare enum ShadowCategory {
3
+ Default = "default",
4
+ Max = "max"
5
+ }
6
+ export interface IVShadowProps extends IBaseProps {
7
+ category?: ShadowCategory;
8
+ x?: number;
9
+ y?: number;
10
+ blur?: number;
11
+ spread?: number;
12
+ color?: string;
13
+ }
14
+ declare const VShadow: (props: IVShadowProps) => JSX.Element;
15
+ export default VShadow;
@@ -0,0 +1,10 @@
1
+ import { IBaseProps } from '../../../Engine/Base';
2
+ export declare enum EllipseCategory {
3
+ Default = "default",
4
+ Fixed = "fixed"
5
+ }
6
+ export interface IVEllipseProps extends IBaseProps {
7
+ category?: EllipseCategory;
8
+ }
9
+ declare const VEllipse: (props: IVEllipseProps) => JSX.Element;
10
+ export default VEllipse;
@@ -0,0 +1,10 @@
1
+ import { IBaseProps } from '../../../Engine/Base';
2
+ export declare enum LineCategory {
3
+ Vertical = "vertical",
4
+ Horizontal = "horizontal"
5
+ }
6
+ export interface IVLineProps extends IBaseProps {
7
+ category: LineCategory;
8
+ }
9
+ declare const VLine: (props: IVLineProps) => JSX.Element;
10
+ export default VLine;
@@ -0,0 +1,10 @@
1
+ import { IBaseProps } from '../../../Engine/Base';
2
+ export declare enum RectangleCategory {
3
+ Default = "default",
4
+ Fixed = "fixed"
5
+ }
6
+ export interface IVRectangleProps extends IBaseProps {
7
+ category?: RectangleCategory;
8
+ }
9
+ declare const VRectangle: (props: IVRectangleProps) => JSX.Element;
10
+ export default VRectangle;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVStackProps extends IBaseProps {
3
+ }
4
+ declare const VStack: (props: IVStackProps) => JSX.Element;
5
+ export default VStack;
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { IBaseProps } from '../../Engine/Base';
3
+ export declare enum SvgCategory {
4
+ Default = "default",
5
+ Circle = "circle",
6
+ Squared = "squared",
7
+ Custom = "custom"
8
+ }
9
+ export interface IVSvgProps extends IBaseProps {
10
+ category?: SvgCategory;
11
+ onClick?: React.MouseEventHandler<any>;
12
+ onMouseEnter?: React.MouseEventHandler<any>;
13
+ onMouseLeave?: React.MouseEventHandler<any>;
14
+ }
15
+ declare const VSvg: (props: IVSvgProps) => JSX.Element;
16
+ export default VSvg;
@@ -0,0 +1,13 @@
1
+ import { IBaseProps, IBaseStates } from '../../Engine/Base';
2
+ export interface IVSwitchProps extends IBaseProps {
3
+ isOn: boolean;
4
+ icon?: JSX.Element;
5
+ gap?: string;
6
+ isDisabled?: boolean;
7
+ onSwitch?: (isOn: boolean) => void;
8
+ }
9
+ export interface IVSwitchStates extends IBaseStates {
10
+ isOn: boolean;
11
+ }
12
+ declare const VSwitch: (props: IVSwitchProps) => JSX.Element;
13
+ export default VSwitch;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVTemplateProps extends IBaseProps {
3
+ }
4
+ declare const VTemplate: (props: IVTemplateProps) => JSX.Element;
5
+ export default VTemplate;
@@ -0,0 +1,22 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export declare enum TextCategory {
3
+ P = "p",
4
+ Address = "address",
5
+ Article = "article",
6
+ Aside = "aside",
7
+ Details = "details",
8
+ Section = "section"
9
+ }
10
+ export declare enum TextAlignType {
11
+ Justify = 0,
12
+ Left = 1,
13
+ Right = 2,
14
+ Center = 3
15
+ }
16
+ export interface IVTextProps extends IBaseProps {
17
+ category?: TextCategory;
18
+ alignType?: TextAlignType;
19
+ content: string | number | undefined | JSX.Element;
20
+ }
21
+ declare const VText: (props: IVTextProps) => JSX.Element;
22
+ export default VText;
@@ -0,0 +1,17 @@
1
+ import { IBaseProps, IBaseStates } from '../../Engine/Base';
2
+ export interface IVTextAreaProps extends IBaseProps {
3
+ id?: string;
4
+ name?: string;
5
+ icon?: JSX.Element;
6
+ placeholder?: string;
7
+ isRequired?: boolean;
8
+ rows: number;
9
+ value?: string | ReadonlyArray<string> | number | undefined;
10
+ valueHook?: string;
11
+ setStateHook?: (value: string) => void;
12
+ }
13
+ export interface IVTextAreaStates extends IBaseStates {
14
+ value?: string | ReadonlyArray<string> | number | undefined;
15
+ }
16
+ declare const VTextArea: (props: IVTextAreaProps) => JSX.Element;
17
+ export default VTextArea;
@@ -0,0 +1,43 @@
1
+ import * as React from 'react';
2
+ import { BorderRadiusType, ColorType, FontFamilyType, SizeType, FontWeightType, LetterSpacingType, LineHeightType, PaddingType, ViewSizeType } from '../../Engine';
3
+ import { IChildrenProps } from '../../Engine/Base';
4
+ export interface Theme<C extends string, FS extends string, FW extends string, FF extends string, BR extends string, LH extends string, LS extends string, P extends string, VS extends string> {
5
+ colors: {
6
+ [key in C]: string;
7
+ };
8
+ fontSizes: {
9
+ [key in FS]: string;
10
+ };
11
+ fontWeights: {
12
+ [key in FW]: string;
13
+ };
14
+ fontFamilies: {
15
+ [key in FF]: string;
16
+ };
17
+ borderRadius: {
18
+ [key in BR]: string;
19
+ };
20
+ lineHeights: {
21
+ [key in LH]: string;
22
+ };
23
+ letterSpacings: {
24
+ [key in LS]: string;
25
+ };
26
+ paddings: {
27
+ [key in P]: string;
28
+ };
29
+ viewSizes: {
30
+ [key in VS]: string;
31
+ };
32
+ }
33
+ export declare enum ThemeCategory {
34
+ Global = "global",
35
+ Area = "area"
36
+ }
37
+ export interface IVThemeProps extends IChildrenProps {
38
+ category?: ThemeCategory;
39
+ area?: string;
40
+ theme: Theme<ColorType.Font | ColorType.Body | ColorType.White | ColorType.Black | ColorType.Light | ColorType.Light75 | ColorType.Light50 | ColorType.Light25 | ColorType.Dark | ColorType.Dark75 | ColorType.Dark50 | ColorType.Dark25 | ColorType.Primary | ColorType.Primary75 | ColorType.Primary50 | ColorType.Primary25 | ColorType.Secondary | ColorType.Secondary75 | ColorType.Secondary50 | ColorType.Secondary25 | ColorType.Tertiary | ColorType.Tertiary75 | ColorType.Tertiary50 | ColorType.Tertiary25 | ColorType.Info | ColorType.Info75 | ColorType.Info50 | ColorType.Info25 | ColorType.Success | ColorType.Success75 | ColorType.Success50 | ColorType.Success25 | ColorType.Warning | ColorType.Warning75 | ColorType.Warning50 | ColorType.Warning25 | ColorType.Error | ColorType.Error75 | ColorType.Error50 | ColorType.Error25 | ColorType.Border | ColorType.Border75 | ColorType.Border50 | ColorType.Border25 | ColorType.Placeholder | ColorType.Placeholder75 | ColorType.Placeholder50 | ColorType.Placeholder25, SizeType.AutoExtraLarge | SizeType.AutoExtraSmall | SizeType.AutoLarge | SizeType.AutoNormal | SizeType.AutoSmall | SizeType.Default | SizeType.ExtraLarge | SizeType.ExtraSmall | SizeType.Large | SizeType.Normal | SizeType.Small, FontWeightType.Black | FontWeightType.Bold | FontWeightType.ExtraBold | FontWeightType.ExtraLight | FontWeightType.Light | FontWeightType.Medium | FontWeightType.Regular | FontWeightType.SemiBold | FontWeightType.Thin, FontFamilyType.Default, BorderRadiusType.Default | BorderRadiusType.Fixed | BorderRadiusType.Max, LineHeightType.Default, LetterSpacingType.Default, PaddingType.Default, ViewSizeType.Ellipse | ViewSizeType.Image | ViewSizeType.Rectangle | ViewSizeType.Svg | ViewSizeType.Window>;
41
+ }
42
+ declare const VTheme: React.FC<IVThemeProps>;
43
+ export default VTheme;
@@ -0,0 +1,20 @@
1
+ import { IBaseProps, IBaseStates } from '../../Engine/Base';
2
+ import { ColorType } from '../../Engine';
3
+ import { DockCategory } from '../../Layout/Dock';
4
+ export declare enum TooltipCategory {
5
+ Hover = "hover",
6
+ Click = "click"
7
+ }
8
+ export interface IVTooltipProps extends IBaseProps {
9
+ category?: TooltipCategory;
10
+ dockCategory?: DockCategory;
11
+ caption: string | JSX.Element;
12
+ textFrontColor: ColorType;
13
+ textBackgroundColor: ColorType;
14
+ content?: JSX.Element;
15
+ }
16
+ export interface IVTooltipStates extends IBaseStates {
17
+ isShow: boolean;
18
+ }
19
+ declare const VTooltip: (props: IVTooltipProps) => JSX.Element;
20
+ export default VTooltip;
@@ -0,0 +1,14 @@
1
+ import { IBaseProps, IBaseStates } from '../../../Engine/Base';
2
+ import { IVTreeNode } from '..';
3
+ export interface IVTreeBlockProps extends IBaseProps {
4
+ node: IVTreeNode;
5
+ expandIcon?: JSX.Element;
6
+ collapseIcon?: JSX.Element;
7
+ isExpand?: boolean;
8
+ renderItem?: (node: IVTreeNode) => JSX.Element;
9
+ }
10
+ export interface IVTreeBlockStates extends IBaseStates {
11
+ isExpand?: boolean;
12
+ }
13
+ declare const VTreeBlock: (props: IVTreeBlockProps) => JSX.Element;
14
+ export default VTreeBlock;
@@ -0,0 +1,15 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface IVTreeNode {
3
+ key: string;
4
+ name: string;
5
+ icon?: JSX.Element;
6
+ children?: IVTreeNode[];
7
+ }
8
+ export interface IVTreeProps extends IBaseProps {
9
+ rootNode: IVTreeNode;
10
+ isExpand?: boolean;
11
+ expandIcon?: JSX.Element;
12
+ collapseIcon?: JSX.Element;
13
+ }
14
+ declare const VTree: (props: IVTreeProps) => JSX.Element;
15
+ export default VTree;
@@ -0,0 +1,10 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface SourceItem {
3
+ src: string;
4
+ type: string;
5
+ }
6
+ export interface IVVideoProps extends IBaseProps {
7
+ sources: SourceItem[];
8
+ }
9
+ declare const VVideo: (props: IVVideoProps) => JSX.Element;
10
+ export default VVideo;
@@ -0,0 +1,14 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export declare enum ZoneCategory {
3
+ Fluid = "fluid",
4
+ Small = "small",
5
+ Medium = "medium",
6
+ Large = "large",
7
+ ExtraLarge = "extra-large",
8
+ ExtraExtraLarge = "extra-extra-large"
9
+ }
10
+ export interface IVZoneProps extends IBaseProps {
11
+ category: ZoneCategory;
12
+ }
13
+ declare const VZone: (props: IVZoneProps) => JSX.Element;
14
+ export default VZone;