@fewbox/den-app 0.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/index-app.d.ts +13 -0
  2. package/index.css +1 -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 +26 -0
  7. package/scripts/copy-templates.js +29 -0
  8. package/scripts/generate-packages.js +41 -0
  9. package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
  10. package/src/components/Auth/GoogleGrant/index.d.ts +41 -0
  11. package/src/components/Auth/GoogleSignin/index.d.ts +18 -0
  12. package/src/components/Auth/WeComSignin/index.d.ts +8 -0
  13. package/src/components/Auth/util.d.ts +17 -0
  14. package/src/components/Debug/index.d.ts +6 -0
  15. package/src/components/Engine/Base/NativeAttributeMap.d.ts +2 -0
  16. package/src/components/Engine/Base/ViewAttributes.d.ts +2 -0
  17. package/src/components/Engine/Base/index.d.ts +61 -0
  18. package/src/components/Engine/index.d.ts +125 -0
  19. package/src/components/Layout/Display/index.d.ts +18 -0
  20. package/src/components/Layout/Dock/index.d.ts +42 -0
  21. package/src/components/Layout/Flex/index.d.ts +45 -0
  22. package/src/components/Layout/FlexItem/index.d.ts +18 -0
  23. package/src/components/Layout/Position/index.d.ts +32 -0
  24. package/src/components/Layout/PositionArea/index.d.ts +10 -0
  25. package/src/components/Layout/Responsive/index.d.ts +8 -0
  26. package/src/components/Layout/SBaseline/index.d.ts +5 -0
  27. package/src/components/Layout/SBottom/index.d.ts +6 -0
  28. package/src/components/Layout/SCenter/index.d.ts +5 -0
  29. package/src/components/Layout/SLeft/index.d.ts +5 -0
  30. package/src/components/Layout/SMiddle/index.d.ts +5 -0
  31. package/src/components/Layout/SRight/index.d.ts +5 -0
  32. package/src/components/Layout/SStretch/index.d.ts +5 -0
  33. package/src/components/Layout/STop/index.d.ts +5 -0
  34. package/src/components/Layout/X/index.d.ts +5 -0
  35. package/src/components/Layout/XAround/index.d.ts +5 -0
  36. package/src/components/Layout/XAutoBoth/index.d.ts +5 -0
  37. package/src/components/Layout/XAutoCenter/index.d.ts +5 -0
  38. package/src/components/Layout/XAutoLeft/index.d.ts +5 -0
  39. package/src/components/Layout/XAutoLefts/index.d.ts +5 -0
  40. package/src/components/Layout/XAutoRight/index.d.ts +5 -0
  41. package/src/components/Layout/XAutoRights/index.d.ts +5 -0
  42. package/src/components/Layout/XBase/index.d.ts +18 -0
  43. package/src/components/Layout/XBetween/index.d.ts +5 -0
  44. package/src/components/Layout/XCenter/index.d.ts +5 -0
  45. package/src/components/Layout/XCustom/index.d.ts +7 -0
  46. package/src/components/Layout/XCustomBoth/index.d.ts +7 -0
  47. package/src/components/Layout/XEvenly/index.d.ts +5 -0
  48. package/src/components/Layout/XLeft/index.d.ts +5 -0
  49. package/src/components/Layout/XRight/index.d.ts +5 -0
  50. package/src/components/Layout/XWrapAround/index.d.ts +5 -0
  51. package/src/components/Layout/XWrapBetween/index.d.ts +5 -0
  52. package/src/components/Layout/XWrapBottom/index.d.ts +5 -0
  53. package/src/components/Layout/XWrapEvenly/index.d.ts +5 -0
  54. package/src/components/Layout/XWrapMiddle/index.d.ts +5 -0
  55. package/src/components/Layout/XWrapTop/index.d.ts +5 -0
  56. package/src/components/Layout/Y/index.d.ts +5 -0
  57. package/src/components/Layout/YAround/index.d.ts +5 -0
  58. package/src/components/Layout/YAutoBoth/index.d.ts +5 -0
  59. package/src/components/Layout/YAutoBottom/index.d.ts +5 -0
  60. package/src/components/Layout/YAutoBottoms/index.d.ts +5 -0
  61. package/src/components/Layout/YAutoCenter/index.d.ts +5 -0
  62. package/src/components/Layout/YAutoTop/index.d.ts +5 -0
  63. package/src/components/Layout/YAutoTops/index.d.ts +5 -0
  64. package/src/components/Layout/YBase/index.d.ts +18 -0
  65. package/src/components/Layout/YBetween/index.d.ts +5 -0
  66. package/src/components/Layout/YBottom/index.d.ts +5 -0
  67. package/src/components/Layout/YCustom/index.d.ts +7 -0
  68. package/src/components/Layout/YCustomBoth/index.d.ts +7 -0
  69. package/src/components/Layout/YEvenly/index.d.ts +5 -0
  70. package/src/components/Layout/YMiddle/index.d.ts +5 -0
  71. package/src/components/Layout/YTop/index.d.ts +5 -0
  72. package/src/components/Layout/YWrapAround/index.d.ts +5 -0
  73. package/src/components/Layout/YWrapBetween/index.d.ts +5 -0
  74. package/src/components/Layout/YWrapCenter/index.d.ts +5 -0
  75. package/src/components/Layout/YWrapEvenly/index.d.ts +5 -0
  76. package/src/components/Layout/YWrapLeft/index.d.ts +5 -0
  77. package/src/components/Layout/YWrapRight/index.d.ts +5 -0
  78. package/src/components/Layout/index.d.ts +8 -0
  79. package/src/components/Layout/util.d.ts +6 -0
  80. package/src/components/View/VActionForm/index.d.ts +7 -0
  81. package/src/components/View/VAnimation/index.d.ts +127 -0
  82. package/src/components/View/VAudio/index.d.ts +10 -0
  83. package/src/components/View/VAvatar/index.d.ts +12 -0
  84. package/src/components/View/VBackground/index.d.ts +18 -0
  85. package/src/components/View/VBadge/index.d.ts +6 -0
  86. package/src/components/View/VBlock/index.d.ts +9 -0
  87. package/src/components/View/VBoundary/index.d.ts +6 -0
  88. package/src/components/View/VCard/index.d.ts +8 -0
  89. package/src/components/View/VCardMedia/index.d.ts +9 -0
  90. package/src/components/View/VCardSocial/index.d.ts +13 -0
  91. package/src/components/View/VCardWindow/index.d.ts +15 -0
  92. package/src/components/View/VChromeExtensionValidator/index.d.ts +23 -0
  93. package/src/components/View/VDynamic/index.d.ts +7 -0
  94. package/src/components/View/VErrorBoundary/index.d.ts +18 -0
  95. package/src/components/View/VFooter/index.d.ts +5 -0
  96. package/src/components/View/VForm/index.d.ts +13 -0
  97. package/src/components/View/VFrame/index.d.ts +12 -0
  98. package/src/components/View/VGoogleFont/index.d.ts +18 -0
  99. package/src/components/View/VHR/index.d.ts +5 -0
  100. package/src/components/View/VHeader/index.d.ts +5 -0
  101. package/src/components/View/VHyperlink/index.d.ts +13 -0
  102. package/src/components/View/VImage/index.d.ts +13 -0
  103. package/src/components/View/VInput/VBase64File/index.d.ts +10 -0
  104. package/src/components/View/VInput/VCheckBox/index.d.ts +6 -0
  105. package/src/components/View/VInput/VColor/index.d.ts +7 -0
  106. package/src/components/View/VInput/VDate/index.d.ts +7 -0
  107. package/src/components/View/VInput/VDatetimeLocal/index.d.ts +7 -0
  108. package/src/components/View/VInput/VDropdown/index.d.ts +38 -0
  109. package/src/components/View/VInput/VEmail/index.d.ts +5 -0
  110. package/src/components/View/VInput/VFile/index.d.ts +29 -0
  111. package/src/components/View/VInput/VGroup/index.d.ts +10 -0
  112. package/src/components/View/VInput/VHidden/index.d.ts +5 -0
  113. package/src/components/View/VInput/VMonth/index.d.ts +5 -0
  114. package/src/components/View/VInput/VNumber/index.d.ts +5 -0
  115. package/src/components/View/VInput/VPassword/index.d.ts +5 -0
  116. package/src/components/View/VInput/VRadio/index.d.ts +6 -0
  117. package/src/components/View/VInput/VRange/index.d.ts +10 -0
  118. package/src/components/View/VInput/VSearch/index.d.ts +5 -0
  119. package/src/components/View/VInput/VSubmit/index.d.ts +8 -0
  120. package/src/components/View/VInput/VSubmitWrapper/index.d.ts +6 -0
  121. package/src/components/View/VInput/VTel/index.d.ts +5 -0
  122. package/src/components/View/VInput/VTextBox/index.d.ts +6 -0
  123. package/src/components/View/VInput/VTime/index.d.ts +5 -0
  124. package/src/components/View/VInput/VUrl/index.d.ts +5 -0
  125. package/src/components/View/VInput/VWeek/index.d.ts +5 -0
  126. package/src/components/View/VInput/index.d.ts +29 -0
  127. package/src/components/View/VLabel/index.d.ts +57 -0
  128. package/src/components/View/VLoading/index.d.ts +8 -0
  129. package/src/components/View/VMain/index.d.ts +5 -0
  130. package/src/components/View/VMask/index.d.ts +5 -0
  131. package/src/components/View/VMount/index.d.ts +5 -0
  132. package/src/components/View/VPhoto/index.d.ts +20 -0
  133. package/src/components/View/VRoot/index.d.ts +15 -0
  134. package/src/components/View/VSection/index.d.ts +5 -0
  135. package/src/components/View/VSelect/index.d.ts +14 -0
  136. package/src/components/View/VShadow/index.d.ts +15 -0
  137. package/src/components/View/VShape/VEllipse/index.d.ts +10 -0
  138. package/src/components/View/VShape/VLine/index.d.ts +10 -0
  139. package/src/components/View/VShape/VRectangle/index.d.ts +10 -0
  140. package/src/components/View/VStack/index.d.ts +5 -0
  141. package/src/components/View/VSvg/index.d.ts +15 -0
  142. package/src/components/View/VSwitch/index.d.ts +13 -0
  143. package/src/components/View/VTemplate/index.d.ts +5 -0
  144. package/src/components/View/VText/index.d.ts +23 -0
  145. package/src/components/View/VTextArea/index.d.ts +12 -0
  146. package/src/components/View/VTheme/index.d.ts +42 -0
  147. package/src/components/View/VTooltip/index.d.ts +17 -0
  148. package/src/components/View/VTree/Block/index.d.ts +14 -0
  149. package/src/components/View/VTree/index.d.ts +15 -0
  150. package/src/components/View/VVideo/index.d.ts +10 -0
  151. package/src/components/View/VZone/index.d.ts +14 -0
  152. package/src/components/app.d.ts +11 -0
  153. package/src/components/consts.d.ts +2 -0
  154. package/src/components/core.d.ts +117 -0
  155. package/src/components/util.d.ts +1 -0
  156. package/src/components/web.d.ts +9 -0
  157. package/src/fewbox/index.d.ts +42 -0
  158. package/src/language/index.d.ts +13 -0
  159. package/src/network/FormHeaders.d.ts +2 -0
  160. package/src/network/IGraphQL.d.ts +6 -0
  161. package/src/network/JsonHeaders.d.ts +5 -0
  162. package/src/network/Network.d.ts +45 -0
  163. package/src/network/NetworkObservableBase.d.ts +14 -0
  164. package/src/network/StreamObservableBase.d.ts +11 -0
  165. package/src/network/UploadHeaders.d.ts +2 -0
  166. package/src/network/WS.d.ts +11 -0
  167. package/src/network/ajax/default/Delete.d.ts +5 -0
  168. package/src/network/ajax/default/DeleteText.d.ts +5 -0
  169. package/src/network/ajax/default/Get.d.ts +5 -0
  170. package/src/network/ajax/default/GetLocal.d.ts +5 -0
  171. package/src/network/ajax/default/GetText.d.ts +5 -0
  172. package/src/network/ajax/default/NetworkObservableAjax.d.ts +7 -0
  173. package/src/network/ajax/default/Patch.d.ts +5 -0
  174. package/src/network/ajax/default/PatchText.d.ts +5 -0
  175. package/src/network/ajax/default/Post.d.ts +5 -0
  176. package/src/network/ajax/default/PostText.d.ts +5 -0
  177. package/src/network/ajax/default/Put.d.ts +5 -0
  178. package/src/network/ajax/default/PutText.d.ts +5 -0
  179. package/src/network/ajax/external/DeleteExternal.d.ts +5 -0
  180. package/src/network/ajax/external/DeleteTextExternal.d.ts +5 -0
  181. package/src/network/ajax/external/GetExternal.d.ts +5 -0
  182. package/src/network/ajax/external/GetTextExternal.d.ts +5 -0
  183. package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +8 -0
  184. package/src/network/ajax/external/PatchExternal.d.ts +5 -0
  185. package/src/network/ajax/external/PatchTextExternal.d.ts +5 -0
  186. package/src/network/ajax/external/PostExternal.d.ts +5 -0
  187. package/src/network/ajax/external/PostTextExternal.d.ts +5 -0
  188. package/src/network/ajax/external/PutExternal.d.ts +5 -0
  189. package/src/network/ajax/external/PutTextExternal.d.ts +5 -0
  190. package/src/network/fetch/default/DeleteFetch.d.ts +5 -0
  191. package/src/network/fetch/default/GetFetch.d.ts +5 -0
  192. package/src/network/fetch/default/NetworkObservableFetch.d.ts +7 -0
  193. package/src/network/fetch/default/PatchFetch.d.ts +5 -0
  194. package/src/network/fetch/default/PostFetch.d.ts +5 -0
  195. package/src/network/fetch/default/PutFetch.d.ts +5 -0
  196. package/src/network/fetch/external/DeleteFetchExternal.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 +5 -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 +47 -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 +5 -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 +7 -0
  224. package/templates/.claude/skills/fewbox-den/SKILL.md +1111 -0
  225. package/templates/FEWBOX.md +72 -0
  226. package/templates/style/_core.scss +288 -0
  227. package/templates/style/_root-properties.scss +55 -0
  228. package/templates/style/_root.scss +6 -0
  229. package/templates/style/_variables.scss +193 -0
@@ -0,0 +1,17 @@
1
+ export interface IUserProfile {
2
+ tenant?: string;
3
+ id?: string;
4
+ name?: string;
5
+ role?: string;
6
+ mobile?: string;
7
+ email?: string;
8
+ issuer?: string;
9
+ audience?: string;
10
+ expire?: Date;
11
+ avatar?: string;
12
+ exp?: number;
13
+ iss?: string;
14
+ aud?: string;
15
+ api?: string;
16
+ }
17
+ export declare const parseJWT: (token: string) => IUserProfile;
@@ -0,0 +1,6 @@
1
+ import { IBaseProps } from '../Engine/Base';
2
+ export interface IDebugProps extends IBaseProps {
3
+ isDebug: boolean;
4
+ }
5
+ declare const Debug: (props: IDebugProps) => React.JSX.Element;
6
+ export default Debug;
@@ -0,0 +1,2 @@
1
+ declare const NativeAttributeMap: Record<string, string[]>;
2
+ export default NativeAttributeMap;
@@ -0,0 +1,2 @@
1
+ declare const ViewAttributes: string[];
2
+ export default ViewAttributes;
@@ -0,0 +1,61 @@
1
+ import { DirectionType, FullColorType, PseudoType, FullFontSizeType, FontWeightType } from '..';
2
+ import { Property } from 'csstype';
3
+ export type TLength = (string & {}) | 0;
4
+ export interface IViewProps {
5
+ className?: string;
6
+ style?: React.CSSProperties;
7
+ fontSize?: FullFontSizeType;
8
+ isAutoSize?: boolean;
9
+ fontWeight?: FontWeightType;
10
+ frontColor?: FullColorType;
11
+ backgroundColor?: FullColorType;
12
+ borderColor?: FullColorType;
13
+ borderDirection?: DirectionType;
14
+ pseudoType?: PseudoType;
15
+ pseudoFrontColor?: FullColorType;
16
+ pseudoBackgroundColor?: FullColorType;
17
+ pseudoBorderColor?: FullColorType;
18
+ pseudoBorderDirection?: DirectionType;
19
+ display?: Property.Display;
20
+ visibility?: Property.Visibility;
21
+ zIndex?: Property.ZIndex;
22
+ fontFamily?: Property.FontFamily;
23
+ borderWidth?: Property.BorderWidth<TLength>;
24
+ borderRadius?: Property.BorderRadius<TLength>;
25
+ borderStyle?: Property.BorderStyle;
26
+ padding?: Property.Padding<TLength>;
27
+ margin?: Property.Margin<TLength>;
28
+ height?: Property.Height<TLength>;
29
+ width?: Property.Width<TLength>;
30
+ minHeight?: Property.Width<TLength>;
31
+ minWidth?: Property.Width<TLength>;
32
+ maxHeight?: Property.Width<TLength>;
33
+ maxWidth?: Property.Width<TLength>;
34
+ opacity?: Property.Opacity;
35
+ letterSpacing?: Property.LetterSpacing<TLength>;
36
+ lineHeight?: Property.LineHeight<TLength>;
37
+ cursor?: Property.Cursor;
38
+ overflow?: Property.Overflow;
39
+ overflowX?: Property.OverflowX;
40
+ overflowY?: Property.OverflowY;
41
+ selfShrink?: Property.FlexShrink;
42
+ selfGrow?: Property.FlexGrow;
43
+ selfBasis?: Property.FlexBasis;
44
+ isDefaultValue?: boolean;
45
+ customAttributes?: Object;
46
+ }
47
+ export type IBaseProps<T extends keyof React.JSX.IntrinsicElements = 'div'> = IViewProps & React.ComponentPropsWithoutRef<T>;
48
+ export interface IBaseStates {
49
+ }
50
+ export interface IProps {
51
+ view: object;
52
+ html: object;
53
+ }
54
+ export interface IBaseReturn {
55
+ getClassName: (vClassName: string) => string;
56
+ getStyle: (style?: React.CSSProperties) => object;
57
+ getChildren: () => React.ReactNode;
58
+ getProps: <T extends keyof React.JSX.IntrinsicElements = 'div'>(tag: T) => IProps;
59
+ }
60
+ declare const Base: (restProps: IBaseProps<any>) => IBaseReturn;
61
+ export default Base;
@@ -0,0 +1,125 @@
1
+ export declare enum ColorType {
2
+ Font = "font",
3
+ Body = "body",
4
+ White = "white",
5
+ Black = "black",
6
+ Light = "light",
7
+ Light75 = "light75",
8
+ Light50 = "light50",
9
+ Light25 = "light25",
10
+ Dark = "dark",
11
+ Dark75 = "dark75",
12
+ Dark50 = "dark50",
13
+ Dark25 = "dark25",
14
+ Primary = "primary",
15
+ Primary75 = "primary75",
16
+ Primary50 = "primary50",
17
+ Primary25 = "primary25",
18
+ Secondary = "secondary",
19
+ Secondary75 = "secondary75",
20
+ Secondary50 = "secondary50",
21
+ Secondary25 = "secondary25",
22
+ Tertiary = "tertiary",
23
+ Tertiary75 = "tertiary75",
24
+ Tertiary50 = "tertiary50",
25
+ Tertiary25 = "tertiary25",
26
+ Info = "info",
27
+ Info75 = "info75",
28
+ Info50 = "info50",
29
+ Info25 = "info25",
30
+ Success = "success",
31
+ Success75 = "success75",
32
+ Success50 = "success50",
33
+ Success25 = "success25",
34
+ Warning = "warning",
35
+ Warning75 = "warning75",
36
+ Warning50 = "warning50",
37
+ Warning25 = "warning25",
38
+ Error = "error",
39
+ Error75 = "error75",
40
+ Error50 = "error50",
41
+ Error25 = "error25",
42
+ Border = "border",
43
+ Border75 = "border75",
44
+ Border50 = "border50",
45
+ Border25 = "border25",
46
+ Placeholder = "placeholder",
47
+ Placeholder75 = "placeholder75",
48
+ Placeholder50 = "placeholder50",
49
+ Placeholder25 = "placeholder25",
50
+ Transparent = "transparent"
51
+ }
52
+ export declare enum FontWeightType {
53
+ Thin = "font-weight-thin",
54
+ ExtraLight = "font-weight-extra-light",
55
+ Light = "font-weight-light",
56
+ Regular = "font-weight-regular",
57
+ Medium = "font-weight-medium",
58
+ SemiBold = "font-weight-semi-bold",
59
+ Bold = "font-weight-bold",
60
+ ExtraBold = "font-weight-extra-bold",
61
+ Black = "font-weight-black"
62
+ }
63
+ export declare enum FontFamilyType {
64
+ Default = "font-family"
65
+ }
66
+ export declare enum LineHeightType {
67
+ Default = "line-height"
68
+ }
69
+ export declare enum PaddingType {
70
+ Default = "padding"
71
+ }
72
+ export declare enum LetterSpacingType {
73
+ Default = "letter-spacing"
74
+ }
75
+ export declare enum BorderRadiusType {
76
+ Default = "border-radius",
77
+ Fixed = "border-radius-fixed",
78
+ Max = "border-radius-max"
79
+ }
80
+ export declare enum ViewSizeType {
81
+ Ellipse = "v-ellipse-size",
82
+ Rectangle = "v-rectangle-size",
83
+ Image = "v-image-size",
84
+ Svg = "v-svg-size",
85
+ Window = "v-window-size"
86
+ }
87
+ export declare const getWeightValue: (weightType: FontWeightType) => number;
88
+ export type FullFontSizeType = FontSizeType | string;
89
+ export declare enum FontSizeType {
90
+ Default = "font-size",
91
+ Normal = "font-size-normal",
92
+ Small = "font-size-small",
93
+ ExtraSmall = "font-size-extra-small",
94
+ Large = "font-size-large",
95
+ ExtraLarge = "font-size-extra-large",
96
+ AutoNormal = "auto-font-size-normal",
97
+ AutoSmall = "auto-font-size-small",
98
+ AutoExtraSmall = "auto-font-size-extra-small",
99
+ AutoLarge = "auto-font-size-large",
100
+ AutoExtraLarge = "auto-font-size-extra-large"
101
+ }
102
+ export type FullColorType = ColorType | string;
103
+ export declare enum PseudoType {
104
+ All = "all",
105
+ Before = "before",
106
+ After = "after"
107
+ }
108
+ export declare enum DirectionType {
109
+ All = "all",
110
+ Top = "top",
111
+ Right = "right",
112
+ Bottom = "bottom",
113
+ Left = "left",
114
+ ExceptTop = "except-top",
115
+ ExceptRight = "except-right",
116
+ ExceptBottom = "except-bottom",
117
+ ExceptLeft = "except-left",
118
+ RightTop = "right-top",
119
+ RightBottom = "right-bottom",
120
+ LeftTop = "left-top",
121
+ LeftBottom = "left-bottom",
122
+ TopBottom = "top-bottom",
123
+ LeftRight = "left-right"
124
+ }
125
+ export declare const getGeneratedClassName: (className: string, isDefaultValue: boolean | undefined, sizeType?: FullFontSizeType, isAutoSize?: boolean, weightType?: FontWeightType, frontColorType?: FullColorType, backgroundColorType?: FullColorType, borderColorType?: FullColorType, borderDirection?: DirectionType, pseudoType?: PseudoType, pseudoFrontColor?: FullColorType, pseudoBackgroundColor?: FullColorType, pseudoBorderColor?: FullColorType, pseudoBorderDirection?: DirectionType) => string;
@@ -0,0 +1,18 @@
1
+ import { BreakpointType } from '..';
2
+ import { IBaseProps } from '../../Engine/Base';
3
+ export declare enum DisplayCategory {
4
+ Visiable = "visiable",
5
+ Hidden = "hidden"
6
+ }
7
+ export declare enum DisplayType {
8
+ Only = "only",
9
+ Up = "up",
10
+ Down = "down"
11
+ }
12
+ export interface IDisplayProps extends IBaseProps {
13
+ category: DisplayCategory;
14
+ type?: DisplayType;
15
+ breakpoint?: BreakpointType | BreakpointType[];
16
+ }
17
+ declare const Display: (props: IDisplayProps) => React.JSX.Element;
18
+ export default Display;
@@ -0,0 +1,42 @@
1
+ import { IBaseProps, IBaseStates } from '../../Engine/Base';
2
+ import { Property } from 'csstype';
3
+ export declare enum DockCategory {
4
+ Top = "top",
5
+ Right = "right",
6
+ Bottom = "bottom",
7
+ Left = "left",
8
+ LeftTop = "left-top",
9
+ RightTop = "right-top",
10
+ LeftBottom = "left-bottom",
11
+ RightBottom = "right-bottom",
12
+ InnerTop = "inner-top",
13
+ InnerRight = "inner-right",
14
+ InnerBottom = "inner-bottom",
15
+ InnerLeft = "inner-left",
16
+ InnerLeftTop = "inner-left-top",
17
+ InnerRightTop = "inner-right-top",
18
+ InnerLeftBottom = "inner-left-bottom",
19
+ InnerRightBottom = "inner-right-bottom"
20
+ }
21
+ export declare enum DockAlignment {
22
+ Horizontal = "horizontal",
23
+ Vertical = "vertical"
24
+ }
25
+ type AlignmentCategory = DockCategory.LeftTop | DockCategory.RightTop | DockCategory.RightBottom | DockCategory.LeftBottom;
26
+ type NonAlignmentCategory = Exclude<DockCategory, AlignmentCategory>;
27
+ interface IDockBaseProps extends IBaseProps {
28
+ offset?: number;
29
+ overlayZIndex?: Property.ZIndex;
30
+ renderOverlay: () => React.JSX.Element;
31
+ }
32
+ export type IDockProps = ({
33
+ category: AlignmentCategory;
34
+ alignment?: DockAlignment;
35
+ } | {
36
+ category: NonAlignmentCategory;
37
+ }) & IDockBaseProps;
38
+ export interface IDockStates extends IBaseStates {
39
+ isMounted: boolean;
40
+ }
41
+ declare const Dock: (props: IDockProps) => React.JSX.Element;
42
+ export default Dock;
@@ -0,0 +1,45 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export declare enum FlexDirectionType {
3
+ Row = "row",
4
+ RowReverse = "row-reverse",
5
+ Column = "column",
6
+ ColumnReverse = "column-reverse"
7
+ }
8
+ export declare enum FlexWrapType {
9
+ NoWrap = "nowrap",
10
+ Wrap = "wrap"
11
+ }
12
+ export declare enum FlexJustifyContentType {
13
+ Start = "flex-start",
14
+ Center = "center",
15
+ End = "flex-end",
16
+ SpaceBetween = "space-between",
17
+ SpaceAround = "space-around",
18
+ SpaceEvenly = "space-evenly"
19
+ }
20
+ export declare enum FlexAlignItemsType {
21
+ Start = "flex-start",
22
+ Center = "center",
23
+ End = "flex-end",
24
+ Stretch = "stretch",
25
+ Baseline = "baseline"
26
+ }
27
+ export declare enum FlexAlignContentType {
28
+ Start = "flex-start",
29
+ Center = "center",
30
+ End = "flex-end",
31
+ SpaceBetween = "space-between",
32
+ SpaceAround = "space-around",
33
+ SpaceEvenly = "space-evenly"
34
+ }
35
+ export interface IFlexProps extends IBaseProps<'div'> {
36
+ vClassName: string;
37
+ direction?: FlexDirectionType;
38
+ wrap?: FlexWrapType;
39
+ justifyContent?: FlexJustifyContentType;
40
+ alignItems?: FlexAlignItemsType;
41
+ alignContent?: FlexAlignContentType;
42
+ gap?: string;
43
+ }
44
+ declare const Flex: (props: IFlexProps) => React.JSX.Element;
45
+ export default Flex;
@@ -0,0 +1,18 @@
1
+ import { Property } from 'csstype';
2
+ import { IBaseProps } from '../../Engine/Base';
3
+ export declare enum FlexItemAlignSelfType {
4
+ Start = "start",
5
+ Center = "center",
6
+ End = "end",
7
+ Stretch = "stretch",
8
+ Baseline = "baseline"
9
+ }
10
+ export interface IFlexItemProps extends IBaseProps<any> {
11
+ alignSelf?: FlexItemAlignSelfType;
12
+ order?: Property.Order;
13
+ basis?: Property.FlexBasis;
14
+ grow?: Property.FlexGrow;
15
+ shrink?: Property.FlexShrink;
16
+ }
17
+ declare const FlexItem: (props: IFlexItemProps) => React.JSX.Element;
18
+ export default FlexItem;
@@ -0,0 +1,32 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ import { Property } from 'csstype';
3
+ export declare enum PositionCategory {
4
+ Edge = "edge",
5
+ Window = "window",
6
+ Area = "area",
7
+ Self = "self"
8
+ }
9
+ export declare enum PositionType {
10
+ Top = "top",
11
+ Right = "right",
12
+ Bottom = "bottom",
13
+ Left = "left",
14
+ LeftTop = "left-top",
15
+ RightTop = "right-top",
16
+ LeftBottom = "left-bottom",
17
+ RightBottom = "right-bottom",
18
+ Center = "center"
19
+ }
20
+ export interface IPositionProps extends IBaseProps {
21
+ category: PositionCategory;
22
+ type?: PositionType;
23
+ top?: string;
24
+ right?: string;
25
+ bottom?: string;
26
+ left?: string;
27
+ zIndex?: Property.ZIndex;
28
+ isFullWidth?: boolean;
29
+ style?: React.CSSProperties;
30
+ }
31
+ declare const Position: (props: IPositionProps) => React.JSX.Element;
32
+ export default Position;
@@ -0,0 +1,10 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export declare enum PositionAreaCategory {
3
+ Default = "default",
4
+ FullSize = "full-size"
5
+ }
6
+ export interface IPositionAreaProps extends IBaseProps {
7
+ category?: PositionAreaCategory;
8
+ }
9
+ declare const PositionArea: (props: IPositionAreaProps) => React.JSX.Element;
10
+ export default PositionArea;
@@ -0,0 +1,8 @@
1
+ import { BreakpointType } from '..';
2
+ export interface IResponsiveProps {
3
+ breakpointType?: BreakpointType;
4
+ desktop: React.JSX.Element;
5
+ mobile: React.JSX.Element;
6
+ }
7
+ declare const Responsive: (props: IResponsiveProps) => React.JSX.Element;
8
+ export default Responsive;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISBaselineProps extends IBaseProps {
3
+ }
4
+ declare const SBaseline: (props: ISBaselineProps) => React.JSX.Element;
5
+ export default SBaseline;
@@ -0,0 +1,6 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ import { ISCenterProps } from '../SCenter';
3
+ export interface ISBottomProps extends IBaseProps {
4
+ }
5
+ declare const SBottom: (props: ISCenterProps) => React.JSX.Element;
6
+ export default SBottom;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISCenterProps extends IBaseProps {
3
+ }
4
+ declare const SCenter: (props: ISCenterProps) => React.JSX.Element;
5
+ export default SCenter;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISLeftProps extends IBaseProps {
3
+ }
4
+ declare const SLeft: (props: ISLeftProps) => React.JSX.Element;
5
+ export default SLeft;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISMiddleProps extends IBaseProps {
3
+ }
4
+ declare const SMiddle: (props: ISMiddleProps) => React.JSX.Element;
5
+ export default SMiddle;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISRightProps extends IBaseProps {
3
+ }
4
+ declare const SRight: (props: ISRightProps) => React.JSX.Element;
5
+ export default SRight;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISStretchProps extends IBaseProps {
3
+ }
4
+ declare const SStretch: (props: ISStretchProps) => React.JSX.Element;
5
+ export default SStretch;
@@ -0,0 +1,5 @@
1
+ import { IBaseProps } from '../../Engine/Base';
2
+ export interface ISTopProps extends IBaseProps {
3
+ }
4
+ declare const STop: (props: ISTopProps) => React.JSX.Element;
5
+ export default STop;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXProps extends IXBaseProps {
3
+ }
4
+ declare const X: (props: IXProps) => React.JSX.Element;
5
+ export default X;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXAroundProps extends IXBaseProps {
3
+ }
4
+ declare const XAround: (props: IXAroundProps) => React.JSX.Element;
5
+ export default XAround;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXAutoBothProps extends IXBaseProps {
3
+ }
4
+ declare const XAutoBoth: (props: IXAutoBothProps) => React.JSX.Element;
5
+ export default XAutoBoth;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXAutoCenterProps extends IXBaseProps {
3
+ }
4
+ declare const XAutoCenter: (props: IXAutoCenterProps) => React.JSX.Element;
5
+ export default XAutoCenter;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXAutoLeftProps extends IXBaseProps {
3
+ }
4
+ declare const XAutoLeft: (props: IXAutoLeftProps) => React.JSX.Element;
5
+ export default XAutoLeft;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXAutoLeftsProps extends IXBaseProps {
3
+ }
4
+ declare const XAutoLefts: (props: IXAutoLeftsProps) => React.JSX.Element;
5
+ export default XAutoLefts;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXAutoRightProps extends IXBaseProps {
3
+ }
4
+ declare const XAutoRight: (props: IXAutoRightProps) => React.JSX.Element;
5
+ export default XAutoRight;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXAutoRightsProps extends IXBaseProps {
3
+ }
4
+ declare const XAutoRights: (props: IXAutoRightsProps) => React.JSX.Element;
5
+ export default XAutoRights;
@@ -0,0 +1,18 @@
1
+ import { Property } from 'csstype';
2
+ import { IBaseProps } from '../../Engine/Base';
3
+ import { FlexAlignContentType, FlexJustifyContentType, FlexWrapType } from '../Flex';
4
+ import { FlexItemAlignSelfType } from '../FlexItem';
5
+ export declare enum XCrossType {
6
+ Top = "top",
7
+ Middle = "middle",
8
+ Bottom = "bottom",
9
+ Stretch = "stretch",
10
+ Baseline = "baseline"
11
+ }
12
+ export interface IXBaseProps extends IBaseProps {
13
+ gap?: string;
14
+ cross?: XCrossType;
15
+ itemsShrink?: Property.FlexShrink;
16
+ }
17
+ declare const XBase: (props: IXBaseProps, overwriteRenderChildren?: (child: any, childIndex: number, alignSelf?: FlexItemAlignSelfType, itemsShrink?: Property.FlexShrink) => React.JSX.Element, overwriteGetWrap?: () => FlexWrapType, overwriteGetJustifyContent?: () => FlexJustifyContentType, overwriteGetAlignContent?: () => FlexAlignContentType) => React.JSX.Element;
18
+ export default XBase;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXBetweenProps extends IXBaseProps {
3
+ }
4
+ declare const XBetween: (props: IXBetweenProps) => React.JSX.Element;
5
+ export default XBetween;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXCenterProps extends IXBaseProps {
3
+ }
4
+ declare const XCenter: (props: IXCenterProps) => React.JSX.Element;
5
+ export default XCenter;
@@ -0,0 +1,7 @@
1
+ import { Property } from 'csstype';
2
+ import { IXBaseProps } from '../XBase';
3
+ export interface IXCustomProps extends IXBaseProps {
4
+ basises?: Property.FlexBasis[];
5
+ }
6
+ declare const XCustom: (props: IXCustomProps) => React.JSX.Element;
7
+ export default XCustom;
@@ -0,0 +1,7 @@
1
+ import { Property } from 'csstype';
2
+ import { IXBaseProps } from '../XBase';
3
+ export interface IXCustomBothProps extends IXBaseProps {
4
+ basis?: Property.FlexBasis;
5
+ }
6
+ declare const XCustomBoth: (props: IXCustomBothProps) => React.JSX.Element;
7
+ export default XCustomBoth;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXEvenlyProps extends IXBaseProps {
3
+ }
4
+ declare const XEvenly: (props: IXEvenlyProps) => React.JSX.Element;
5
+ export default XEvenly;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXLeftProps extends IXBaseProps {
3
+ }
4
+ declare const XLeft: (props: IXLeftProps) => React.JSX.Element;
5
+ export default XLeft;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXRightProps extends IXBaseProps {
3
+ }
4
+ declare const XRight: (props: IXRightProps) => React.JSX.Element;
5
+ export default XRight;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXWrapAroundProps extends IXBaseProps {
3
+ }
4
+ declare const XWrapAround: (props: IXWrapAroundProps) => React.JSX.Element;
5
+ export default XWrapAround;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXWrapBetweenProps extends IXBaseProps {
3
+ }
4
+ declare const XWrapBetween: (props: IXWrapBetweenProps) => React.JSX.Element;
5
+ export default XWrapBetween;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXWrapBottomProps extends IXBaseProps {
3
+ }
4
+ declare const XWrapBottom: (props: IXWrapBottomProps) => React.JSX.Element;
5
+ export default XWrapBottom;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXWrapEvenlyProps extends IXBaseProps {
3
+ }
4
+ declare const XWrapEvenly: (props: IXWrapEvenlyProps) => React.JSX.Element;
5
+ export default XWrapEvenly;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXWrapMiddleProps extends IXBaseProps {
3
+ }
4
+ declare const XWrapMiddle: (props: IXWrapMiddleProps) => React.JSX.Element;
5
+ export default XWrapMiddle;
@@ -0,0 +1,5 @@
1
+ import { IXBaseProps } from '../XBase';
2
+ export interface IXWrapTopProps extends IXBaseProps {
3
+ }
4
+ declare const XWrapTop: (props: IXWrapTopProps) => React.JSX.Element;
5
+ export default XWrapTop;
@@ -0,0 +1,5 @@
1
+ import { IYBaseProps } from '../YBase';
2
+ export interface IYProps extends IYBaseProps {
3
+ }
4
+ declare const Y: (props: IYProps) => React.JSX.Element;
5
+ export default Y;
@@ -0,0 +1,5 @@
1
+ import { IYBaseProps } from '../YBase';
2
+ export interface IYAroundProps extends IYBaseProps {
3
+ }
4
+ declare const YAround: (props: IYAroundProps) => React.JSX.Element;
5
+ export default YAround;
@@ -0,0 +1,5 @@
1
+ import { IYBaseProps } from '../YBase';
2
+ export interface IYAutoBothProps extends IYBaseProps {
3
+ }
4
+ declare const YAutoBoth: (props: IYAutoBothProps) => React.JSX.Element;
5
+ export default YAutoBoth;