@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,194 @@
1
+ /*------------------*/
2
+ /* VARIABLES */
3
+ /*------------------*/
4
+ $var-prefix: --den-;
5
+
6
+ /*------------------*/
7
+ /* THEME COLOUR */
8
+ /*------------------*/
9
+ //font
10
+ $font-color: #000000;
11
+ //body
12
+ $body-color: #f5f8fa;
13
+ //component
14
+ $white-color: #ffffff;
15
+ $black-color: #000000;
16
+ $light-color: #f0f0f0;
17
+ $dark-color: #283252;
18
+ $primary-color: #cd0dad;
19
+ $secondary-color: #f782c2;
20
+ $tertiary-color: #f9c46b;
21
+ $info-color: #159ad8;
22
+ $success-color: #0fe66f;
23
+ $warning-color: #e7f152;
24
+ $error-color: #d6243c;
25
+ $placeholder-color: #e1e1e1;
26
+ $border-color: #e6e6e6;
27
+ $transparent-color: transparent;
28
+ $custom-color: #d132b9;
29
+ $colors: (
30
+ "font": $font-color,
31
+ "body": $body-color,
32
+ "white": $white-color,
33
+ "black": $black-color,
34
+ "light": $light-color,
35
+ "light75": rgba($light-color, 0.75),
36
+ "light50": rgba($light-color, 0.5),
37
+ "light25": rgba($light-color, 0.25),
38
+ "dark": $dark-color,
39
+ "dark75": rgba($dark-color, 0.75),
40
+ "dark50": rgba($dark-color, 0.5),
41
+ "dark25": rgba($dark-color, 0.25),
42
+ "primary": $primary-color,
43
+ "primary75": rgba($primary-color, 0.75),
44
+ "primary50": rgba($primary-color, 0.5),
45
+ "primary25": rgba($primary-color, 0.25),
46
+ "secondary": $secondary-color,
47
+ "secondary75": rgba($secondary-color, 0.75),
48
+ "secondary50": rgba($secondary-color, 0.5),
49
+ "secondary25": rgba($secondary-color, 0.25),
50
+ "tertiary": $tertiary-color,
51
+ "tertiary75": rgba($tertiary-color, 0.75),
52
+ "tertiary50": rgba($tertiary-color, 0.5),
53
+ "tertiary25": rgba($tertiary-color, 0.25),
54
+ "info": $info-color,
55
+ "info75": rgba($info-color, 0.75),
56
+ "info50": rgba($info-color, 0.5),
57
+ "info25": rgba($info-color, 0.25),
58
+ "success": $success-color,
59
+ "success75": rgba($success-color, 0.75),
60
+ "success50": rgba($success-color, 0.5),
61
+ "success25": rgba($success-color, 0.25),
62
+ "warning": $warning-color,
63
+ "warning75": rgba($warning-color, 0.75),
64
+ "warning50": rgba($warning-color, 0.5),
65
+ "warning25": rgba($warning-color, 0.25),
66
+ "error": $error-color,
67
+ "error75": rgba($error-color, 0.75),
68
+ "error50": rgba($error-color, 0.5),
69
+ "error25": rgba($error-color, 0.25),
70
+ "placeholder": $placeholder-color,
71
+ "placeholder75": rgba($placeholder-color, 0.75),
72
+ "placeholder50": rgba($placeholder-color, 0.5),
73
+ "placeholder25": rgba($placeholder-color, 0.25),
74
+ "border": $border-color,
75
+ "border75": rgba($border-color, 0.75),
76
+ "border50": rgba($border-color, 0.5),
77
+ "border25": rgba($border-color, 0.25),
78
+ "transparent": $transparent-color,
79
+ "custom": $custom-color,
80
+ "custom75": rgba($custom-color, 0.75),
81
+ "custom50": rgba($custom-color, 0.5),
82
+ "custom25": rgba($custom-color, 0.25),
83
+ );
84
+ //debug
85
+ $debug-color-position: #d132b9;
86
+ $debug-color-flex: #3266d0;
87
+ $debug-color-flex-item: #3266d0;
88
+
89
+ /*------------------*/
90
+ /* BOX MODEL */
91
+ /*------------------*/
92
+ $padding: 0;
93
+ $margin: 0;
94
+ //left right top bottom offset
95
+ $self-offset: 1em;
96
+ //border
97
+ $border-radius-sizes: (
98
+ "fixed": 0.8rem,
99
+ "max": 50%,
100
+ );
101
+ $box-sizing: border-box;
102
+
103
+ /*------------------*/
104
+ /* HTML ELEMENT */
105
+ /*------------------*/
106
+ //scrollbar
107
+ $scrollbar-size: 8px;
108
+ $scrollbar-track-color: $placeholder-color;
109
+ $scrollbar-thumb-color: $primary-color;
110
+ $scrollbar-thumb-hover-color: $primary-color;
111
+ $scrollbar-thumb-active-color: $primary-color;
112
+ $scrollbar-radius: 8px;
113
+
114
+ /*------------------*/
115
+ /* FONT */
116
+ /*------------------*/
117
+ $line-height: 1.4;
118
+ $letter-spacing: 0.01em;
119
+ $font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
120
+ "Segoe UI Emoji", "Segoe UI Symbol";
121
+ $font-size: 1em; // 16px * 0.875 = 14px;
122
+ //$font-size: calc(0.5em + 1vw);
123
+ $normal: 1rem;
124
+ $extra-small: $normal * 0.5;
125
+ $small: $normal * 0.8;
126
+ $large: $normal * 1.4;
127
+ $extra-large: $normal * 2.4;
128
+ $custom: $normal * 2.8;
129
+ $font-sizes: (
130
+ "normal": $normal,
131
+ "extra-small": $extra-small,
132
+ "small": $small,
133
+ "large": $large,
134
+ "extra-large": $extra-large,
135
+ "custom": $custom,
136
+ );
137
+ $auto-normal: 1em;
138
+ $auto-extra-small: $auto-normal * 0.5;
139
+ $auto-small: $auto-normal * 0.8;
140
+ $auto-large: $auto-normal * 1.4;
141
+ $auto-extra-large: $auto-normal * 2.4;
142
+ $auto-custom: $auto-normal * 2.8;
143
+ $auto-font-sizes: (
144
+ "normal": $auto-normal,
145
+ "extra-small": $auto-extra-small,
146
+ "small": $auto-small,
147
+ "large": $auto-large,
148
+ "extra-large": $auto-extra-large,
149
+ "custom": $auto-custom,
150
+ );
151
+ $font-weights: (
152
+ "thin": 100,
153
+ "extra-light": 200,
154
+ "light": 300,
155
+ "regular": 400,
156
+ "medium": 500,
157
+ "semi-bold": 600,
158
+ "bold": 700,
159
+ "extra-bold": 800,
160
+ "black": 900,
161
+ );
162
+
163
+ /*------------------*/
164
+ /* VISUAL COMPONENT */
165
+ /*------------------*/
166
+ $v-ellipse-size: 1em;
167
+ $v-rectangle-size: 1em;
168
+ $v-image-size: 3em;
169
+ $v-window-size: 16em;
170
+ $v-svg-size: 2.2em;
171
+
172
+ /*------------------*/
173
+ /* RESPONSIVE */
174
+ /*------------------*/
175
+ $response-breakpoints: (
176
+ "extra-small": 0,
177
+ "small": 576px,
178
+ "medium": 768px,
179
+ "large": 992px,
180
+ "extra-large": 1200px,
181
+ "extra-extra-large": 1400px,
182
+ );
183
+ $zone-padding-x: 1.5rem;
184
+ $zone-max-widths: (
185
+ "extra-small": 0,
186
+ "small": 540px,
187
+ "medium": 720px,
188
+ "large": 960px,
189
+ "extra-large": 1140px,
190
+ "extra-extra-large": 1320px,
191
+ ) !default;
192
+ $input-padding: 0.6em 1em;
193
+ $dropdown-hover-background-color: $primary-color;
194
+ $dropdown-hover-color: $white-color;