amotify 0.0.7 → 0.0.9

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 (260) hide show
  1. package/{dist/@types/_.d.ts → @types/_.tsx} +3 -3
  2. package/{src/@types → @types}/amot.tsx +0 -1
  3. package/{src/@types → @types}/fn.tsx +1 -2
  4. package/{src/@types → @types}/index.tsx +1 -5
  5. package/{src/@types → @types}/jsminAmotifyExtension.tsx +1 -2
  6. package/dist/amotify.js +1 -0
  7. package/{public → dist}/amotify.min.css +22 -22
  8. package/package.json +4 -9
  9. package/src/{Atoms/@export.tsx → @atoms.tsx} +3 -3
  10. package/src/@functions.tsx +29 -0
  11. package/src/{Global/@export.tsx → @global.tsx} +2 -2
  12. package/src/{Molecules/@export.tsx → @molecules.tsx} +3 -3
  13. package/src/@organisms.tsx +5 -0
  14. package/src/@styles/@app.scss +2 -2
  15. package/src/@styles/UniStyling.scss +3 -3
  16. package/src/@styles/init.scss +1 -1
  17. package/src/@styles/{@variables/styleSet.scss → styleSet.scss} +1 -1
  18. package/src/{Templates/@export.tsx → @templates.tsx} +1 -1
  19. package/src/{Atoms → atoms}/FAIcon/style.module.scss +1 -2
  20. package/src/{Atoms → atoms}/Logo/parts.tsx +0 -1
  21. package/src/{Atoms → atoms}/Logo/style.module.scss +1 -2
  22. package/src/{Atoms → atoms}/Various/style.module.scss +2 -1
  23. package/src/{Functions → functions}/Button/style.module.scss +2 -1
  24. package/src/{Functions → functions}/Cropper/parts.tsx +1 -1
  25. package/src/{Functions → functions}/Cropper/style.module.scss +1 -1
  26. package/src/{Functions → functions}/Effects/style.module.scss +1 -1
  27. package/src/{Functions → functions}/Input/Chips/Selector.tsx +1 -2
  28. package/src/{Functions → functions}/Input/Chips/_.tsx +1 -5
  29. package/src/{Functions → functions}/Input/Chips/style.module.scss +1 -1
  30. package/src/{Functions → functions}/Input/DigitCharacters.tsx +1 -1
  31. package/src/{Functions → functions}/Input/File/_.tsx +1 -1
  32. package/src/{Functions → functions}/Input/File/style.module.scss +1 -1
  33. package/src/{Functions → functions}/Input/List/_.tsx +1 -1
  34. package/src/{Functions → functions}/Input/List/style.module.scss +1 -1
  35. package/src/{Functions → functions}/Input/Segmented/style.module.scss +1 -1
  36. package/src/{Functions → functions}/Input/Select/_.tsx +1 -1
  37. package/src/{Functions → functions}/Input/Select/style.module.scss +1 -1
  38. package/src/{Functions → functions}/Input/Slider/_.tsx +1 -1
  39. package/src/{Functions → functions}/Input/Slider/style.module.scss +1 -1
  40. package/src/{Functions → functions}/Input/Switch/_.tsx +1 -1
  41. package/src/{Functions → functions}/Input/Switch/style.module.scss +1 -1
  42. package/src/{Functions → functions}/Input/Time/Picker.tsx +1 -1
  43. package/src/{Functions → functions}/Input/Time/_.tsx +2 -2
  44. package/src/{Functions → functions}/Input/Time/style.module.scss +1 -1
  45. package/src/{Functions → functions}/Input/_.tsx +1 -1
  46. package/src/{Functions → functions}/Input/core.tsx +1 -1
  47. package/src/{Functions → functions}/Input/style.module.scss +1 -1
  48. package/src/{Functions → functions}/Inputs/style.module.scss +1 -1
  49. package/src/{Functions → functions}/Inputs/text.tsx +3 -16
  50. package/src/functions/Inputs/types.d.ts +13 -0
  51. package/src/{Functions → functions}/Layout/PageNotFound.tsx +2 -4
  52. package/src/{Functions → functions}/Layout/PageRouter.tsx +1 -1
  53. package/src/{Functions → functions}/Layout/PageViewController/parts.tsx +3 -1
  54. package/src/{Functions → functions}/Layout/RootViewController/parts.tsx +3 -5
  55. package/src/{Functions → functions}/Layout/RootViewController/style.module.scss +1 -1
  56. package/src/{Functions → functions}/Layout/SwipeView/parts.tsx +0 -1
  57. package/src/{Functions → functions}/Layout/SwipeView/style.module.scss +1 -1
  58. package/src/{Functions → functions}/Layout/TabBar.tsx +1 -1
  59. package/src/{Functions → functions}/Loader/style.module.scss +1 -1
  60. package/src/{Functions → functions}/Sheet/parts.tsx +1 -1
  61. package/src/{Functions → functions}/Sheet/style.module.scss +1 -1
  62. package/src/{Functions → functions}/SnackBar/parts.tsx +1 -1
  63. package/src/{Functions → functions}/SnackBar/style.module.scss +1 -1
  64. package/src/{Functions → functions}/Table/Data/parts.tsx +1 -1
  65. package/src/{Functions → functions}/Table/Drag/parts.tsx +1 -1
  66. package/src/{Functions → functions}/Table/Normal/parts.tsx +1 -2
  67. package/src/{Functions → functions}/Table/_.tsx +1 -2
  68. package/src/{Functions → functions}/Table/style.module.scss +2 -1
  69. package/src/{Functions → functions}/Tooltips/parts.tsx +1 -1
  70. package/src/{Global → global}/styleConverter.tsx +1 -5
  71. package/src/launch.tsx +5 -5
  72. package/src/{Molecules → molecules}/Accordion/style.module.scss +1 -1
  73. package/src/{Molecules → molecules}/LinkifyText/parts.tsx +1 -1
  74. package/src/{Organisms → organisms}/DisplayStyleInput/darkmode.tsx +1 -1
  75. package/src/{Organisms → organisms}/DisplayStyleInput/themeColor.tsx +1 -1
  76. package/src/{Templates → templates}/PlayGround/parts.tsx +26 -39
  77. package/src/{Templates → templates}/PlayGround/style.module.scss +1 -1
  78. package/tsconfig.json +20 -24
  79. package/webpack.config.js +11 -9
  80. package/dist/@jsminAmotifyExtension/_.d.ts +0 -4
  81. package/dist/@jsminAmotifyExtension/_.js +0 -6
  82. package/dist/@jsminAmotifyExtension/fetch.d.ts +0 -9
  83. package/dist/@jsminAmotifyExtension/fetch.js +0 -199
  84. package/dist/@jsminAmotifyExtension/formCollect.d.ts +0 -1
  85. package/dist/@jsminAmotifyExtension/formCollect.js +0 -137
  86. package/dist/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
  87. package/dist/@jsminAmotifyExtension/spreadSheet.js +0 -314
  88. package/dist/@jsminAmotifyExtension/variables.d.ts +0 -0
  89. package/dist/@jsminAmotifyExtension/variables.js +0 -186
  90. package/dist/@types/_.js +0 -8
  91. package/dist/@types/amot.d.ts +0 -260
  92. package/dist/@types/amot.js +0 -2
  93. package/dist/@types/fn.d.ts +0 -1040
  94. package/dist/@types/fn.js +0 -2
  95. package/dist/@types/index.d.ts +0 -62
  96. package/dist/@types/index.js +0 -2
  97. package/dist/@types/jsminAmotifyExtension.d.ts +0 -134
  98. package/dist/@types/jsminAmotifyExtension.js +0 -2
  99. package/dist/@types/module.d.ts +0 -2
  100. package/dist/@types/module.js +0 -1
  101. package/dist/@types/state.d.ts +0 -145
  102. package/dist/@types/state.js +0 -2
  103. package/dist/Atoms/@export.d.ts +0 -4
  104. package/dist/Atoms/@export.js +0 -16
  105. package/dist/Atoms/FAIcon/parts.d.ts +0 -2
  106. package/dist/Atoms/FAIcon/parts.js +0 -152
  107. package/dist/Atoms/Logo/parts.d.ts +0 -1
  108. package/dist/Atoms/Logo/parts.js +0 -154
  109. package/dist/Atoms/Various/parts.d.ts +0 -9
  110. package/dist/Atoms/Various/parts.js +0 -113
  111. package/dist/Functions/@export.d.ts +0 -12
  112. package/dist/Functions/@export.js +0 -25
  113. package/dist/Functions/Button/_.d.ts +0 -1
  114. package/dist/Functions/Button/_.js +0 -270
  115. package/dist/Functions/Cropper/parts.d.ts +0 -1
  116. package/dist/Functions/Cropper/parts.js +0 -783
  117. package/dist/Functions/Effects/Fade.d.ts +0 -1
  118. package/dist/Functions/Effects/Fade.js +0 -82
  119. package/dist/Functions/Effects/Ripple.d.ts +0 -1
  120. package/dist/Functions/Effects/Ripple.js +0 -107
  121. package/dist/Functions/Effects/_.d.ts +0 -3
  122. package/dist/Functions/Effects/_.js +0 -43
  123. package/dist/Functions/Input/Chips/Selector.d.ts +0 -1
  124. package/dist/Functions/Input/Chips/Selector.js +0 -356
  125. package/dist/Functions/Input/Chips/_.d.ts +0 -2
  126. package/dist/Functions/Input/Chips/_.js +0 -218
  127. package/dist/Functions/Input/DigitCharacters.d.ts +0 -1
  128. package/dist/Functions/Input/DigitCharacters.js +0 -178
  129. package/dist/Functions/Input/File/_.d.ts +0 -2
  130. package/dist/Functions/Input/File/_.js +0 -458
  131. package/dist/Functions/Input/Hidden.d.ts +0 -1
  132. package/dist/Functions/Input/Hidden.js +0 -30
  133. package/dist/Functions/Input/List/_.d.ts +0 -1
  134. package/dist/Functions/Input/List/_.js +0 -232
  135. package/dist/Functions/Input/Segmented/_.d.ts +0 -1
  136. package/dist/Functions/Input/Segmented/_.js +0 -111
  137. package/dist/Functions/Input/Select/_.d.ts +0 -1
  138. package/dist/Functions/Input/Select/_.js +0 -154
  139. package/dist/Functions/Input/Slider/_.d.ts +0 -1
  140. package/dist/Functions/Input/Slider/_.js +0 -308
  141. package/dist/Functions/Input/Switch/_.d.ts +0 -1
  142. package/dist/Functions/Input/Switch/_.js +0 -120
  143. package/dist/Functions/Input/Text.d.ts +0 -5
  144. package/dist/Functions/Input/Text.js +0 -340
  145. package/dist/Functions/Input/TextArea.d.ts +0 -1
  146. package/dist/Functions/Input/TextArea.js +0 -98
  147. package/dist/Functions/Input/Time/Picker.d.ts +0 -1
  148. package/dist/Functions/Input/Time/Picker.js +0 -581
  149. package/dist/Functions/Input/Time/_.d.ts +0 -2
  150. package/dist/Functions/Input/Time/_.js +0 -567
  151. package/dist/Functions/Input/_.d.ts +0 -5
  152. package/dist/Functions/Input/_.js +0 -446
  153. package/dist/Functions/Input/core.d.ts +0 -34
  154. package/dist/Functions/Input/core.js +0 -324
  155. package/dist/Functions/Inputs/_.d.ts +0 -3
  156. package/dist/Functions/Inputs/_.js +0 -7
  157. package/dist/Functions/Inputs/text.d.ts +0 -12
  158. package/dist/Functions/Inputs/text.js +0 -46
  159. package/dist/Functions/Layout/PageNotFound.d.ts +0 -1
  160. package/dist/Functions/Layout/PageNotFound.js +0 -30
  161. package/dist/Functions/Layout/PageRouter.d.ts +0 -2
  162. package/dist/Functions/Layout/PageRouter.js +0 -65
  163. package/dist/Functions/Layout/PageViewController/parts.d.ts +0 -1
  164. package/dist/Functions/Layout/PageViewController/parts.js +0 -31
  165. package/dist/Functions/Layout/Plate.d.ts +0 -1
  166. package/dist/Functions/Layout/Plate.js +0 -39
  167. package/dist/Functions/Layout/RootViewController/parts.d.ts +0 -1
  168. package/dist/Functions/Layout/RootViewController/parts.js +0 -202
  169. package/dist/Functions/Layout/SwipeView/parts.d.ts +0 -2
  170. package/dist/Functions/Layout/SwipeView/parts.js +0 -319
  171. package/dist/Functions/Layout/TabBar.d.ts +0 -1
  172. package/dist/Functions/Layout/TabBar.js +0 -49
  173. package/dist/Functions/Layout/_.d.ts +0 -2
  174. package/dist/Functions/Layout/_.js +0 -20
  175. package/dist/Functions/Loader/corner.d.ts +0 -1
  176. package/dist/Functions/Loader/corner.js +0 -59
  177. package/dist/Functions/Loader/mini.d.ts +0 -33
  178. package/dist/Functions/Loader/mini.js +0 -126
  179. package/dist/Functions/Loader/parts.d.ts +0 -3
  180. package/dist/Functions/Loader/parts.js +0 -108
  181. package/dist/Functions/Loader/top.d.ts +0 -1
  182. package/dist/Functions/Loader/top.js +0 -69
  183. package/dist/Functions/Sheet/parts.d.ts +0 -2
  184. package/dist/Functions/Sheet/parts.js +0 -724
  185. package/dist/Functions/SnackBar/parts.d.ts +0 -2
  186. package/dist/Functions/SnackBar/parts.js +0 -171
  187. package/dist/Functions/Table/Data/parts.d.ts +0 -3
  188. package/dist/Functions/Table/Data/parts.js +0 -629
  189. package/dist/Functions/Table/Drag/parts.d.ts +0 -1
  190. package/dist/Functions/Table/Drag/parts.js +0 -359
  191. package/dist/Functions/Table/Normal/parts.d.ts +0 -1
  192. package/dist/Functions/Table/Normal/parts.js +0 -92
  193. package/dist/Functions/Table/_.d.ts +0 -9
  194. package/dist/Functions/Table/_.js +0 -153
  195. package/dist/Functions/Tooltips/parts.d.ts +0 -2
  196. package/dist/Functions/Tooltips/parts.js +0 -71
  197. package/dist/Global/@export.d.ts +0 -12
  198. package/dist/Global/@export.js +0 -198
  199. package/dist/Global/LaunchReactApplication.d.ts +0 -1
  200. package/dist/Global/LaunchReactApplication.js +0 -48
  201. package/dist/Global/styleConverter.d.ts +0 -2
  202. package/dist/Global/styleConverter.js +0 -349
  203. package/dist/Molecules/@export.d.ts +0 -21
  204. package/dist/Molecules/@export.js +0 -41
  205. package/dist/Molecules/Accordion/parts.d.ts +0 -2
  206. package/dist/Molecules/Accordion/parts.js +0 -165
  207. package/dist/Molecules/LinkifyText/parts.d.ts +0 -1
  208. package/dist/Molecules/LinkifyText/parts.js +0 -39
  209. package/dist/Molecules/List.d.ts +0 -1
  210. package/dist/Molecules/List.js +0 -35
  211. package/dist/Organisms/@export.d.ts +0 -2
  212. package/dist/Organisms/@export.js +0 -5
  213. package/dist/Organisms/DisplayStyleInput/_.d.ts +0 -1
  214. package/dist/Organisms/DisplayStyleInput/_.js +0 -15
  215. package/dist/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
  216. package/dist/Organisms/DisplayStyleInput/darkmode.js +0 -77
  217. package/dist/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
  218. package/dist/Organisms/DisplayStyleInput/themeColor.js +0 -185
  219. package/dist/Templates/@export.d.ts +0 -2
  220. package/dist/Templates/@export.js +0 -5
  221. package/dist/Templates/PlayGround/parts.d.ts +0 -1
  222. package/dist/Templates/PlayGround/parts.js +0 -55
  223. package/dist/config.d.ts +0 -16
  224. package/dist/config.js +0 -171
  225. package/dist/launch.d.ts +0 -9
  226. package/dist/launch.js +0 -46
  227. package/dist/preload.d.ts +0 -1
  228. package/dist/preload.js +0 -73
  229. package/public/amotify.js +0 -1
  230. package/src/@types/_.tsx +0 -6
  231. package/src/Functions/@export.tsx +0 -29
  232. package/src/Functions/Inputs/types.d.ts +0 -1
  233. package/src/Global/exe.tsx +0 -0
  234. package/src/Organisms/@export.tsx +0 -5
  235. /package/{src/@types → @types}/module.tsx +0 -0
  236. /package/{src/@types → @types}/state.tsx +0 -0
  237. /package/src/@styles/{@variables/customProps.scss → props.scss} +0 -0
  238. /package/src/@styles/{@variables/themeColor.scss → themeColor.scss} +0 -0
  239. /package/src/@styles/{@variables/var.scss → var.scss} +0 -0
  240. /package/src/{Atoms → atoms}/FAIcon/parts.tsx +0 -0
  241. /package/src/{Atoms → atoms}/Various/parts.tsx +0 -0
  242. /package/src/{Functions → functions}/Button/_.tsx +0 -0
  243. /package/src/{Functions → functions}/Effects/Fade.tsx +0 -0
  244. /package/src/{Functions → functions}/Effects/Ripple.tsx +0 -0
  245. /package/src/{Functions → functions}/Effects/_.tsx +0 -0
  246. /package/src/{Functions → functions}/Input/Hidden.tsx +0 -0
  247. /package/src/{Functions → functions}/Input/Segmented/_.tsx +0 -0
  248. /package/src/{Functions → functions}/Input/Text.tsx +0 -0
  249. /package/src/{Functions → functions}/Input/TextArea.tsx +0 -0
  250. /package/src/{Functions → functions}/Inputs/_.tsx +0 -0
  251. /package/src/{Functions → functions}/Layout/Plate.tsx +0 -0
  252. /package/src/{Functions → functions}/Layout/_.tsx +0 -0
  253. /package/src/{Functions → functions}/Loader/corner.tsx +0 -0
  254. /package/src/{Functions → functions}/Loader/mini.tsx +0 -0
  255. /package/src/{Functions → functions}/Loader/parts.tsx +0 -0
  256. /package/src/{Functions → functions}/Loader/top.tsx +0 -0
  257. /package/src/{Global → global}/LaunchReactApplication.tsx +0 -0
  258. /package/src/{Molecules → molecules}/Accordion/parts.tsx +0 -0
  259. /package/src/{Molecules → molecules}/List.tsx +0 -0
  260. /package/src/{Organisms → organisms}/DisplayStyleInput/_.tsx +0 -0
@@ -1,6 +1,5 @@
1
1
  import {
2
- StyleConverter,
3
- useStore
2
+ StyleConverter
4
3
  } from '@global';
5
4
 
6
5
  import {
@@ -1,5 +1,6 @@
1
- @use '@uniVar' as *;
1
+ @use '@props' as *;
2
2
  @use'@styleSet' as *;
3
+
3
4
  .Wrap {
4
5
  &.RowClickable_true {
5
6
  .Row {
@@ -3,7 +3,7 @@ import {
3
3
  } from '@atoms';
4
4
  import {
5
5
  Sheet
6
- } from '@functions';
6
+ } from '@fn';
7
7
 
8
8
  const Tooltips: amotify.fn.Tooltips.Methods = {
9
9
  __memoryID: $.uuidGen(),
@@ -1,7 +1,3 @@
1
- import {
2
- useStore
3
- } from '@global';
4
-
5
1
  type StyleType = '¥' | '¥_h' | '¥_f' | '¥_a' | '¥bk';
6
2
 
7
3
  const FNs = {
@@ -19,7 +15,7 @@ const FNs = {
19
15
  },
20
16
  ev: ( v: any ) => $.is.nullish( v ),
21
17
  ClassNames: ( type: StyleType,params: amotifyUniStyleParams ) => {
22
- let CLS = [];
18
+ let CLS: string[] = [];
23
19
 
24
20
  let {
25
21
  gap,
package/src/launch.tsx CHANGED
@@ -1,8 +1,8 @@
1
1
  import 'jsmin-front/dist/@types';
2
2
 
3
- if ( !global.$ ) console.log( `%c※can not find global.$,please read Jsmin to launch amotify.`,'color:orange;' );
3
+ import '../@types/_';
4
4
 
5
- import './@types/_';
5
+ if ( !global.$ ) console.log( `%c※can not find global.$,please read Jsmin to launch amotify.`,'color:orange;' );
6
6
 
7
7
  let publicURI = 'https://public.comun.jp/';
8
8
  export { publicURI }
@@ -17,7 +17,7 @@ import {
17
17
  useRecycle,
18
18
  StyleConverter,
19
19
  LaunchReactApplication
20
- } from '@global';
20
+ } from './@global';
21
21
  import {
22
22
  Flex,
23
23
  FlexBr,
@@ -43,7 +43,7 @@ import {
43
43
  } from '@orgs';
44
44
  import {
45
45
  PlayGround
46
- } from '@temps';
46
+ } from './@templates';
47
47
  import {
48
48
  Buttons,
49
49
  Input,
@@ -56,7 +56,7 @@ import {
56
56
  Tooltips,
57
57
  Effects,
58
58
  Cropper,
59
- } from '@functions';
59
+ } from '@fn';
60
60
 
61
61
  import {
62
62
  deviceIdentifier,
@@ -1,4 +1,4 @@
1
- @use '@uniVar' as *;
1
+ @use '@props' as *;
2
2
  .Wrap {
3
3
  &.Open_true {
4
4
  opacity: 1;
@@ -3,7 +3,7 @@ import {
3
3
  } from '@atoms';
4
4
  import {
5
5
  Buttons
6
- } from '@functions';
6
+ } from '@fn';
7
7
 
8
8
  const {
9
9
  Anchor
@@ -14,7 +14,7 @@ import {
14
14
  } from '@mols';
15
15
  import {
16
16
  Input
17
- } from '@functions';
17
+ } from '@fn';
18
18
 
19
19
  const {
20
20
  useState,
@@ -14,7 +14,7 @@ import {
14
14
  } from '@mols';
15
15
  import {
16
16
  Input
17
- } from '@functions';
17
+ } from '@fn';
18
18
 
19
19
  const {
20
20
  useState,
@@ -1,50 +1,37 @@
1
- import {
2
- React,
3
- } from '@global';
4
- const {
5
- useEffect,
6
- useState
7
- } = React;
1
+ // import {
2
+ // React,
3
+ // } from '@global';
4
+ // const {
5
+ // useEffect,
6
+ // useState
7
+ // } = React;
8
8
 
9
9
  import {
10
10
  Box
11
11
  } from '@atoms';
12
- import {
13
- Column,
14
- Row,
15
- Text
16
- } from '@mols';
17
- import {
18
- DisplayStyleInput
19
- } from '@orgs';
20
- import {
21
- Buttons,
22
- Input,
23
- Inputs
24
- } from '@functions';
12
+ // import {
13
+ // Column
14
+ // } from '@mols';
15
+
16
+ // import {
17
+ // Buttons,
18
+ // Input,
19
+ // Inputs
20
+ // } from '@fn';
25
21
 
26
22
  import style from './style.module.scss';
27
23
 
28
24
  export const PlayGround: FNC<{}> = () => {
29
25
  return ( <>
30
- <Column
26
+ <Box
27
+ padding={ 2 }
28
+ backgroundColor='cloud'
29
+ >
30
+ AAAA
31
+ </Box>
32
+ {/* <Column
31
33
  gap={ 2 }
32
34
  >
33
- <DisplayStyleInput.Darkmode
34
- onUpdate={ ( value ) => {
35
- amotify.config.update.darkMode( value );
36
- } }
37
- />
38
- <DisplayStyleInput.ThemeColor.Originals
39
- onUpdate={ ( value ) => {
40
- amotify.config.update.themeColor( value );
41
- } }
42
- />
43
- <DisplayStyleInput.ThemeColor.Brands
44
- onUpdate={ ( value ) => {
45
- amotify.config.update.themeColor( value );
46
- } }
47
- />
48
35
  <Input.Text.Normal
49
36
  />
50
37
  <Input.Select
@@ -104,12 +91,12 @@ export const PlayGround: FNC<{}> = () => {
104
91
  unitWidth={ 6 }
105
92
  />
106
93
  </Box>
107
- {/* <Input.Select
94
+ <Input.Select
108
95
  name='test-segmented'
109
96
  form='test'
110
97
  required
111
98
  list={ val_select }
112
- /> */}
113
- </Column>
99
+ />
100
+ </Column> */}
114
101
  </> );
115
102
  }
@@ -1,4 +1,4 @@
1
- @use '@uniVar' as *;
1
+ @use '@props' as *;
2
2
  .TestAnimation {
3
3
  animation: .25s ease-in-out jiggly infinite;
4
4
  cursor: grab;
package/tsconfig.json CHANGED
@@ -9,37 +9,35 @@
9
9
  "sourceMap": false,
10
10
  "baseUrl": "./",
11
11
  "paths": {
12
- "@uniVar": [
13
- "src/@styles/@variables/var"
14
- ],
15
- "@styleSet": [
16
- "src/@styles/@variables/styleSet"
12
+ "~": [
13
+ "src"
17
14
  ],
18
- "@global": [
19
- "src/Global/@export"
15
+ "~/*": [
16
+ "src/*"
20
17
  ],
21
- "@atoms": [
22
- "src/Atoms/@export"
23
- ],
24
- "@mols": [
25
- "src/Molecules/@export"
18
+ "@uniVar": [
19
+ "src/@styles/props"
26
20
  ],
27
- "@orgs": [
28
- "src/Organisms/@export"
21
+ "@brandVar": [
22
+ "src/@styles/brand"
29
23
  ],
30
- "@temps": [
31
- "src/Templates/@export"
24
+ "@styleSet": [
25
+ "src/@styles/styleSet"
32
26
  ],
33
- "@functions": [
34
- "src/Functions/@export"
35
- ]
27
+
28
+ "@global": [ "src/@global" ],
29
+ "@atoms": [ "src/@atoms" ],
30
+ "@mols": [ "src/@molecules" ],
31
+ "@orgs": [ "src/@organisms" ],
32
+ "@temps": [ "src/@templates" ],
33
+ "@fn": [ "src/@functions" ],
36
34
  },
37
35
  "strict": true,
38
36
  "skipLibCheck": true,
39
37
  "forceConsistentCasingInFileNames": true,
40
38
  "downlevelIteration": true,
41
39
  "allowJs": true,
42
- "declaration": true,
40
+ "declaration": false,
43
41
  // "emitDeclarationOnly": true,
44
42
  "outDir": "./dist",
45
43
  "noImplicitAny": true,
@@ -53,9 +51,7 @@
53
51
  },
54
52
  "exclude": [
55
53
  "node_modules",
56
- "public"
57
- ],
58
- "include": [
59
- "src/launch.tsx"
54
+ "public/*",
55
+ "dist/*"
60
56
  ]
61
57
  }
package/webpack.config.js CHANGED
@@ -24,7 +24,7 @@ module.exports = ( () => {
24
24
  entry: entry,
25
25
  output: {
26
26
  filename: '[name].js',
27
- path: __dirname + '/public/',
27
+ path: __dirname + '/dist/',
28
28
  devtoolModuleFilenameTemplate: 'src/[resource-path]'
29
29
  },
30
30
  optimization: {
@@ -99,15 +99,17 @@ module.exports = ( () => {
99
99
  extensions: [ '.js', '.jsx', '.tsx', 'ts' ],
100
100
  alias: {
101
101
  '~': `${ __dirname }/src`,
102
- '@uniVar': path.resolve( __dirname, 'src/@styles/@variables/customProps' ),
103
- '@styleSet': path.resolve( __dirname, 'src/@styles/@variables/styleSet' ),
104
102
 
105
- '@global': path.resolve( __dirname, 'src/Global/@export' ),
106
- '@atoms': path.resolve( __dirname, 'src/Atoms/@export' ),
107
- '@mols': path.resolve( __dirname, 'src/Molecules/@export' ),
108
- '@orgs': path.resolve( __dirname, 'src/Organisms/@export' ),
109
- '@temps': path.resolve( __dirname, 'src/Templates/@export' ),
110
- '@functions': path.resolve( __dirname, 'src/Functions/@export' )
103
+ '@props': path.resolve( __dirname, 'src/@styles/props' ),
104
+ '@brandVar': path.resolve( __dirname, 'src/@styles/brand' ),
105
+ '@styleSet': path.resolve( __dirname, 'src/@styles/styleSet' ),
106
+
107
+ '@global': path.resolve( __dirname, 'src/@global' ),
108
+ '@atoms': path.resolve( __dirname, 'src/@atoms' ),
109
+ '@mols': path.resolve( __dirname, 'src/@molecules' ),
110
+ '@orgs': path.resolve( __dirname, 'src/@organisms' ),
111
+ '@temps': path.resolve( __dirname, 'src/@templates' ),
112
+ '@fn': path.resolve( __dirname, 'src/@functions' ),
111
113
  }
112
114
  },
113
115
  }
@@ -1,4 +0,0 @@
1
- import './variables';
2
- import './fetch';
3
- import './formCollect';
4
- import './spreadSheet';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- require("./variables");
4
- require("./fetch");
5
- require("./formCollect");
6
- require("./spreadSheet");
@@ -1,9 +0,0 @@
1
- declare const fetcher: (params: {
2
- key: string;
3
- topLoader?: boolean | undefined;
4
- cornerLoader?: boolean | undefined;
5
- trafficControl?: number | undefined;
6
- preventMultiRequest?: boolean | undefined;
7
- } & Omit<Jsmin.Fetch.Input, "method"> & {
8
- method: string;
9
- }, callback?: JsminExtension.Fetch.callback | undefined) => Promise<Jsmin.Fetch.Output>;
@@ -1,199 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
- return new (P || (P = Promise))(function (resolve, reject) {
16
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
- step((generator = generator.apply(thisArg, _arguments || [])).next());
20
- });
21
- };
22
- var __generator = (this && this.__generator) || function (thisArg, body) {
23
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
- function verb(n) { return function (v) { return step([n, v]); }; }
26
- function step(op) {
27
- if (f) throw new TypeError("Generator is already executing.");
28
- while (_) try {
29
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
- if (y = 0, t) op = [op[0] & 2, t.value];
31
- switch (op[0]) {
32
- case 0: case 1: t = op; break;
33
- case 4: _.label++; return { value: op[1], done: false };
34
- case 5: _.label++; y = op[1]; op = [0]; continue;
35
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
- default:
37
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
- if (t[2]) _.ops.pop();
42
- _.trys.pop(); continue;
43
- }
44
- op = body.call(thisArg, _);
45
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
- }
48
- };
49
- var __rest = (this && this.__rest) || function (s, e) {
50
- var t = {};
51
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
52
- t[p] = s[p];
53
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
54
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
55
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
56
- t[p[i]] = s[p[i]];
57
- }
58
- return t;
59
- };
60
- var __read = (this && this.__read) || function (o, n) {
61
- var m = typeof Symbol === "function" && o[Symbol.iterator];
62
- if (!m) return o;
63
- var i = m.call(o), r, ar = [], e;
64
- try {
65
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
66
- }
67
- catch (error) { e = { error: error }; }
68
- finally {
69
- try {
70
- if (r && !r.done && (m = i["return"])) m.call(i);
71
- }
72
- finally { if (e) throw e.error; }
73
- }
74
- return ar;
75
- };
76
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
77
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
78
- if (ar || !(i in from)) {
79
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
80
- ar[i] = from[i];
81
- }
82
- }
83
- return to.concat(ar || Array.prototype.slice.call(from));
84
- };
85
- var fetcher = function (params, callback) { return __awaiter(void 0, void 0, void 0, function () {
86
- var _a, method, _b, key, _c, url, _d, trafficControl, _e,
87
- // trafficControl = 1000,
88
- preventMultiRequest, _f, topLoader, _g, cornerLoader, Params, result;
89
- return __generator(this, function (_h) {
90
- switch (_h.label) {
91
- case 0:
92
- _a = params || {}, method = _a.method, _b = _a.key, key = _b === void 0 ? $.uuidGen(16) : _b, _c = _a.url, url = _c === void 0 ? '' : _c, _d = _a.trafficControl, trafficControl = _d === void 0 ? 500 : _d, _e = _a.preventMultiRequest, preventMultiRequest = _e === void 0 ? true : _e, _f = _a.topLoader, topLoader = _f === void 0 ? false : _f, _g = _a.cornerLoader, cornerLoader = _g === void 0 ? true : _g, Params = __rest(_a, ["method", "key", "url", "trafficControl", "preventMultiRequest", "topLoader", "cornerLoader"]);
93
- return [4 /*yield*/, (function () { return __awaiter(void 0, void 0, void 0, function () {
94
- var exist, result, requestTime, CoolDownTime_1;
95
- return __generator(this, function (_a) {
96
- switch (_a.label) {
97
- case 0:
98
- exist = $.fetch.waitList.includes(key);
99
- if (preventMultiRequest && exist) {
100
- return [2 /*return*/, {
101
- ok: false,
102
- status: 405,
103
- statusText: 'NoAcceptedMultiRequests',
104
- body: 'NoAcceptedMultiRequests',
105
- requestTime: 0,
106
- rawData: null
107
- }];
108
- }
109
- $.fetch.waitList = __spreadArray(__spreadArray([], __read($.fetch.waitList), false), [key], false);
110
- if (!url.match(/https?:/)) {
111
- url = '/' + url.replace(/^\//, "");
112
- Params.headers = __assign(__assign({}, $.fetch.defaultHeaders || {}), Params.headers || {});
113
- }
114
- amotify.fn.Loader.fn.mini.active(params.key || '');
115
- !topLoader || amotify.fn.Loader.fn.top.active();
116
- !cornerLoader || amotify.fn.Loader.fn.corner.active();
117
- return [4 /*yield*/, $.ajax(__assign({ method: method, url: url }, Params))];
118
- case 1:
119
- result = _a.sent();
120
- if ($.fetch.defaultResultCallback)
121
- $.fetch.defaultResultCallback(result);
122
- if (!trafficControl) return [3 /*break*/, 3];
123
- requestTime = result.requestTime;
124
- if (!(requestTime <= trafficControl)) return [3 /*break*/, 3];
125
- CoolDownTime_1 = Number(trafficControl - requestTime);
126
- return [4 /*yield*/, (function () {
127
- result.requestTime = trafficControl;
128
- return new Promise(function (resolve, reject) {
129
- setTimeout(function () {
130
- resolve(void 0);
131
- }, CoolDownTime_1);
132
- });
133
- })()];
134
- case 2:
135
- _a.sent();
136
- _a.label = 3;
137
- case 3:
138
- amotify.fn.Loader.fn.mini.stop(params.key || '');
139
- !topLoader || amotify.fn.Loader.fn.top.stop();
140
- !cornerLoader || amotify.fn.Loader.fn.corner.stop();
141
- $.fetch.waitList.splice($.fetch.waitList.findIndex(function (a) { return a == key; }), 1);
142
- return [2 /*return*/, result];
143
- }
144
- });
145
- }); })()];
146
- case 1:
147
- result = _h.sent();
148
- if (callback)
149
- callback(result);
150
- return [2 /*return*/, result];
151
- }
152
- });
153
- }); };
154
- $.fetch = {
155
- get: function (params, callback) { return __awaiter(void 0, void 0, void 0, function () {
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
158
- case 0: return [4 /*yield*/, fetcher(__assign(__assign({}, params), { method: 'get' }), callback)];
159
- case 1: return [2 /*return*/, _a.sent()];
160
- }
161
- });
162
- }); },
163
- post: function (params, callback) { return __awaiter(void 0, void 0, void 0, function () {
164
- return __generator(this, function (_a) {
165
- switch (_a.label) {
166
- case 0: return [4 /*yield*/, fetcher(__assign(__assign({}, params), { method: 'post' }), callback)];
167
- case 1: return [2 /*return*/, _a.sent()];
168
- }
169
- });
170
- }); },
171
- options: function (params, callback) { return __awaiter(void 0, void 0, void 0, function () {
172
- return __generator(this, function (_a) {
173
- switch (_a.label) {
174
- case 0: return [4 /*yield*/, fetcher(__assign(__assign({}, params), { method: 'options' }), callback)];
175
- case 1: return [2 /*return*/, _a.sent()];
176
- }
177
- });
178
- }); },
179
- put: function (params, callback) { return __awaiter(void 0, void 0, void 0, function () {
180
- return __generator(this, function (_a) {
181
- switch (_a.label) {
182
- case 0: return [4 /*yield*/, fetcher(__assign(__assign({}, params), { method: 'put' }), callback)];
183
- case 1: return [2 /*return*/, _a.sent()];
184
- }
185
- });
186
- }); },
187
- waitList: [],
188
- defaultHeaders: {},
189
- defaultResultCallback: function (result) {
190
- var status = result.status, statusText = result.statusText;
191
- if (status == 500) {
192
- $.NoticeHttpStatus({
193
- status: status,
194
- statusText: statusText,
195
- label: React.createElement(React.Fragment, null, "Internal Server Error")
196
- });
197
- }
198
- }
199
- };
@@ -1 +0,0 @@
1
- export {};