amotify 0.0.8 → 0.0.10

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 (261) hide show
  1. package/{dist/@types/_.d.ts → @types/_.tsx} +3 -4
  2. package/{src/@types → @types}/amot.tsx +125 -85
  3. package/{src/@types → @types}/fn.tsx +52 -53
  4. package/{src/@types → @types}/jsminAmotifyExtension.tsx +1 -2
  5. package/@types/module.tsx +1 -0
  6. package/dist/amotify.js +328 -0
  7. package/{public → dist}/amotify.min.css +339 -339
  8. package/package.json +11 -12
  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} +9 -9
  12. package/src/@jsminAmotifyExtension/formCollect.tsx +1 -1
  13. package/src/{Molecules/@export.tsx → @molecules.tsx} +5 -4
  14. package/src/@organisms.tsx +5 -0
  15. package/src/@styles/UniStyling.scss +1 -1
  16. package/src/@styles/init.scss +1 -1
  17. package/src/@styles/styleSet.scss +1 -1
  18. package/src/{Templates/@export.tsx → @templates.tsx} +1 -1
  19. package/src/{Atoms → atoms}/FAIcon/parts.tsx +4 -3
  20. package/src/{Atoms → atoms}/FAIcon/style.module.scss +1 -2
  21. package/src/{Atoms → atoms}/Logo/parts.tsx +2 -2
  22. package/src/{Atoms → atoms}/Logo/style.module.scss +1 -2
  23. package/src/{Atoms → atoms}/Various/parts.tsx +10 -9
  24. package/src/{Atoms → atoms}/Various/style.module.scss +3 -2
  25. package/src/config.tsx +4 -4
  26. package/src/{Functions → functions}/Button/_.tsx +2 -1
  27. package/src/{Functions → functions}/Button/style.module.scss +3 -2
  28. package/src/{Functions → functions}/Cropper/parts.tsx +16 -20
  29. package/src/{Functions → functions}/Cropper/style.module.scss +1 -1
  30. package/src/{Functions → functions}/Effects/Fade.tsx +6 -11
  31. package/src/{Functions → functions}/Effects/style.module.scss +1 -1
  32. package/src/{Functions → functions}/Input/Chips/Selector.tsx +17 -21
  33. package/src/{Functions → functions}/Input/Chips/_.tsx +12 -17
  34. package/src/functions/Input/Chips/style.module.scss +6 -0
  35. package/src/{Functions → functions}/Input/DigitCharacters.tsx +6 -10
  36. package/src/{Functions → functions}/Input/File/_.tsx +13 -16
  37. package/src/{Functions → functions}/Input/File/style.module.scss +1 -1
  38. package/src/{Functions → functions}/Input/Hidden.tsx +4 -3
  39. package/src/{Functions → functions}/Input/List/_.tsx +8 -12
  40. package/src/{Functions → functions}/Input/List/style.module.scss +1 -1
  41. package/src/{Functions → functions}/Input/Segmented/_.tsx +2 -2
  42. package/src/{Functions → functions}/Input/Segmented/style.module.scss +2 -2
  43. package/src/{Functions → functions}/Input/Select/_.tsx +8 -11
  44. package/src/{Functions → functions}/Input/Select/style.module.scss +1 -1
  45. package/src/{Functions → functions}/Input/Slider/_.tsx +9 -12
  46. package/src/{Functions → functions}/Input/Slider/style.module.scss +2 -2
  47. package/src/{Functions → functions}/Input/Switch/_.tsx +7 -11
  48. package/src/{Functions → functions}/Input/Switch/style.module.scss +1 -1
  49. package/src/{Functions → functions}/Input/Text.tsx +6 -11
  50. package/src/{Functions → functions}/Input/TextArea.tsx +4 -8
  51. package/src/{Functions → functions}/Input/Time/Picker.tsx +11 -16
  52. package/src/{Functions → functions}/Input/Time/_.tsx +13 -17
  53. package/src/{Functions → functions}/Input/Time/style.module.scss +1 -1
  54. package/src/{Functions → functions}/Input/_.tsx +12 -17
  55. package/src/{Functions → functions}/Input/core.tsx +14 -19
  56. package/src/{Functions → functions}/Input/style.module.scss +1 -1
  57. package/src/{Functions → functions}/Inputs/style.module.scss +1 -1
  58. package/src/{Functions → functions}/Inputs/text.tsx +5 -17
  59. package/src/functions/Inputs/types.d.ts +13 -0
  60. package/src/{Functions → functions}/Layout/PageNotFound.tsx +6 -7
  61. package/src/{Functions → functions}/Layout/PageRouter.tsx +25 -34
  62. package/src/{Functions → functions}/Layout/PageViewController/parts.tsx +6 -9
  63. package/src/{Functions → functions}/Layout/Plate.tsx +3 -2
  64. package/src/{Functions → functions}/Layout/RootViewController/parts.tsx +6 -8
  65. package/src/{Functions → functions}/Layout/RootViewController/style.module.scss +1 -1
  66. package/src/{Functions → functions}/Layout/SwipeView/parts.tsx +11 -16
  67. package/src/{Functions → functions}/Layout/SwipeView/style.module.scss +1 -1
  68. package/src/{Functions → functions}/Layout/TabBar.tsx +6 -10
  69. package/src/{Functions → functions}/Loader/corner.tsx +6 -12
  70. package/src/{Functions → functions}/Loader/mini.tsx +9 -12
  71. package/src/{Functions → functions}/Loader/parts.tsx +7 -10
  72. package/src/{Functions → functions}/Loader/style.module.scss +1 -1
  73. package/src/{Functions → functions}/Loader/top.tsx +6 -12
  74. package/src/{Functions → functions}/Sheet/parts.tsx +16 -19
  75. package/src/{Functions → functions}/Sheet/style.module.scss +1 -1
  76. package/src/{Functions → functions}/SnackBar/parts.tsx +14 -17
  77. package/src/{Functions → functions}/SnackBar/style.module.scss +1 -1
  78. package/src/{Functions → functions}/Table/Data/parts.tsx +4 -4
  79. package/src/{Functions → functions}/Table/Drag/parts.tsx +12 -15
  80. package/src/{Functions → functions}/Table/Normal/parts.tsx +5 -5
  81. package/src/{Functions → functions}/Table/_.tsx +4 -4
  82. package/src/{Functions → functions}/Table/style.module.scss +3 -2
  83. package/src/{Functions → functions}/Tooltips/parts.tsx +3 -2
  84. package/src/{Global → global}/LaunchReactApplication.tsx +4 -3
  85. package/src/{Global → global}/styleConverter.tsx +3 -7
  86. package/src/launch.tsx +16 -11
  87. package/src/{Molecules → molecules}/Accordion/parts.tsx +8 -12
  88. package/src/{Molecules → molecules}/Accordion/style.module.scss +1 -1
  89. package/src/{Molecules → molecules}/LinkifyText/parts.tsx +4 -3
  90. package/src/{Molecules → molecules}/List.tsx +3 -2
  91. package/src/{Organisms → organisms}/DisplayStyleInput/darkmode.tsx +6 -11
  92. package/src/{Organisms → organisms}/DisplayStyleInput/themeColor.tsx +7 -12
  93. package/src/{Templates → templates}/PlayGround/parts.tsx +12 -40
  94. package/src/{Templates → templates}/PlayGround/style.module.scss +1 -1
  95. package/tsconfig.json +19 -5
  96. package/webpack.config.js +18 -7
  97. package/dist/@jsminAmotifyExtension/_.d.ts +0 -4
  98. package/dist/@jsminAmotifyExtension/_.js +0 -6
  99. package/dist/@jsminAmotifyExtension/fetch.d.ts +0 -9
  100. package/dist/@jsminAmotifyExtension/fetch.js +0 -199
  101. package/dist/@jsminAmotifyExtension/formCollect.d.ts +0 -1
  102. package/dist/@jsminAmotifyExtension/formCollect.js +0 -137
  103. package/dist/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
  104. package/dist/@jsminAmotifyExtension/spreadSheet.js +0 -314
  105. package/dist/@jsminAmotifyExtension/variables.d.ts +0 -0
  106. package/dist/@jsminAmotifyExtension/variables.js +0 -186
  107. package/dist/@types/_.js +0 -8
  108. package/dist/@types/amot.d.ts +0 -260
  109. package/dist/@types/amot.js +0 -2
  110. package/dist/@types/fn.d.ts +0 -1040
  111. package/dist/@types/fn.js +0 -2
  112. package/dist/@types/index.d.ts +0 -62
  113. package/dist/@types/index.js +0 -2
  114. package/dist/@types/jsminAmotifyExtension.d.ts +0 -134
  115. package/dist/@types/jsminAmotifyExtension.js +0 -2
  116. package/dist/@types/module.d.ts +0 -2
  117. package/dist/@types/module.js +0 -1
  118. package/dist/@types/state.d.ts +0 -145
  119. package/dist/@types/state.js +0 -2
  120. package/dist/Atoms/@export.d.ts +0 -4
  121. package/dist/Atoms/@export.js +0 -16
  122. package/dist/Atoms/FAIcon/parts.d.ts +0 -2
  123. package/dist/Atoms/FAIcon/parts.js +0 -152
  124. package/dist/Atoms/Logo/parts.d.ts +0 -1
  125. package/dist/Atoms/Logo/parts.js +0 -154
  126. package/dist/Atoms/Various/parts.d.ts +0 -9
  127. package/dist/Atoms/Various/parts.js +0 -113
  128. package/dist/Functions/@export.d.ts +0 -12
  129. package/dist/Functions/@export.js +0 -25
  130. package/dist/Functions/Button/_.d.ts +0 -1
  131. package/dist/Functions/Button/_.js +0 -270
  132. package/dist/Functions/Cropper/parts.d.ts +0 -1
  133. package/dist/Functions/Cropper/parts.js +0 -783
  134. package/dist/Functions/Effects/Fade.d.ts +0 -1
  135. package/dist/Functions/Effects/Fade.js +0 -82
  136. package/dist/Functions/Effects/Ripple.d.ts +0 -1
  137. package/dist/Functions/Effects/Ripple.js +0 -107
  138. package/dist/Functions/Effects/_.d.ts +0 -3
  139. package/dist/Functions/Effects/_.js +0 -43
  140. package/dist/Functions/Input/Chips/Selector.d.ts +0 -1
  141. package/dist/Functions/Input/Chips/Selector.js +0 -356
  142. package/dist/Functions/Input/Chips/_.d.ts +0 -2
  143. package/dist/Functions/Input/Chips/_.js +0 -218
  144. package/dist/Functions/Input/DigitCharacters.d.ts +0 -1
  145. package/dist/Functions/Input/DigitCharacters.js +0 -178
  146. package/dist/Functions/Input/File/_.d.ts +0 -2
  147. package/dist/Functions/Input/File/_.js +0 -458
  148. package/dist/Functions/Input/Hidden.d.ts +0 -1
  149. package/dist/Functions/Input/Hidden.js +0 -30
  150. package/dist/Functions/Input/List/_.d.ts +0 -1
  151. package/dist/Functions/Input/List/_.js +0 -232
  152. package/dist/Functions/Input/Segmented/_.d.ts +0 -1
  153. package/dist/Functions/Input/Segmented/_.js +0 -111
  154. package/dist/Functions/Input/Select/_.d.ts +0 -1
  155. package/dist/Functions/Input/Select/_.js +0 -154
  156. package/dist/Functions/Input/Slider/_.d.ts +0 -1
  157. package/dist/Functions/Input/Slider/_.js +0 -308
  158. package/dist/Functions/Input/Switch/_.d.ts +0 -1
  159. package/dist/Functions/Input/Switch/_.js +0 -120
  160. package/dist/Functions/Input/Text.d.ts +0 -5
  161. package/dist/Functions/Input/Text.js +0 -340
  162. package/dist/Functions/Input/TextArea.d.ts +0 -1
  163. package/dist/Functions/Input/TextArea.js +0 -98
  164. package/dist/Functions/Input/Time/Picker.d.ts +0 -1
  165. package/dist/Functions/Input/Time/Picker.js +0 -581
  166. package/dist/Functions/Input/Time/_.d.ts +0 -2
  167. package/dist/Functions/Input/Time/_.js +0 -567
  168. package/dist/Functions/Input/_.d.ts +0 -5
  169. package/dist/Functions/Input/_.js +0 -446
  170. package/dist/Functions/Input/core.d.ts +0 -34
  171. package/dist/Functions/Input/core.js +0 -324
  172. package/dist/Functions/Inputs/_.d.ts +0 -3
  173. package/dist/Functions/Inputs/_.js +0 -7
  174. package/dist/Functions/Inputs/text.d.ts +0 -12
  175. package/dist/Functions/Inputs/text.js +0 -46
  176. package/dist/Functions/Layout/PageNotFound.d.ts +0 -1
  177. package/dist/Functions/Layout/PageNotFound.js +0 -30
  178. package/dist/Functions/Layout/PageRouter.d.ts +0 -2
  179. package/dist/Functions/Layout/PageRouter.js +0 -65
  180. package/dist/Functions/Layout/PageViewController/parts.d.ts +0 -1
  181. package/dist/Functions/Layout/PageViewController/parts.js +0 -31
  182. package/dist/Functions/Layout/Plate.d.ts +0 -1
  183. package/dist/Functions/Layout/Plate.js +0 -39
  184. package/dist/Functions/Layout/RootViewController/parts.d.ts +0 -1
  185. package/dist/Functions/Layout/RootViewController/parts.js +0 -202
  186. package/dist/Functions/Layout/SwipeView/parts.d.ts +0 -2
  187. package/dist/Functions/Layout/SwipeView/parts.js +0 -319
  188. package/dist/Functions/Layout/TabBar.d.ts +0 -1
  189. package/dist/Functions/Layout/TabBar.js +0 -49
  190. package/dist/Functions/Layout/_.d.ts +0 -2
  191. package/dist/Functions/Layout/_.js +0 -20
  192. package/dist/Functions/Loader/corner.d.ts +0 -1
  193. package/dist/Functions/Loader/corner.js +0 -59
  194. package/dist/Functions/Loader/mini.d.ts +0 -33
  195. package/dist/Functions/Loader/mini.js +0 -126
  196. package/dist/Functions/Loader/parts.d.ts +0 -3
  197. package/dist/Functions/Loader/parts.js +0 -108
  198. package/dist/Functions/Loader/top.d.ts +0 -1
  199. package/dist/Functions/Loader/top.js +0 -69
  200. package/dist/Functions/Sheet/parts.d.ts +0 -2
  201. package/dist/Functions/Sheet/parts.js +0 -724
  202. package/dist/Functions/SnackBar/parts.d.ts +0 -2
  203. package/dist/Functions/SnackBar/parts.js +0 -171
  204. package/dist/Functions/Table/Data/parts.d.ts +0 -3
  205. package/dist/Functions/Table/Data/parts.js +0 -629
  206. package/dist/Functions/Table/Drag/parts.d.ts +0 -1
  207. package/dist/Functions/Table/Drag/parts.js +0 -359
  208. package/dist/Functions/Table/Normal/parts.d.ts +0 -1
  209. package/dist/Functions/Table/Normal/parts.js +0 -92
  210. package/dist/Functions/Table/_.d.ts +0 -9
  211. package/dist/Functions/Table/_.js +0 -153
  212. package/dist/Functions/Tooltips/parts.d.ts +0 -2
  213. package/dist/Functions/Tooltips/parts.js +0 -71
  214. package/dist/Global/@export.d.ts +0 -12
  215. package/dist/Global/@export.js +0 -198
  216. package/dist/Global/LaunchReactApplication.d.ts +0 -1
  217. package/dist/Global/LaunchReactApplication.js +0 -48
  218. package/dist/Global/styleConverter.d.ts +0 -2
  219. package/dist/Global/styleConverter.js +0 -349
  220. package/dist/Molecules/@export.d.ts +0 -21
  221. package/dist/Molecules/@export.js +0 -41
  222. package/dist/Molecules/Accordion/parts.d.ts +0 -2
  223. package/dist/Molecules/Accordion/parts.js +0 -165
  224. package/dist/Molecules/LinkifyText/parts.d.ts +0 -1
  225. package/dist/Molecules/LinkifyText/parts.js +0 -39
  226. package/dist/Molecules/List.d.ts +0 -1
  227. package/dist/Molecules/List.js +0 -35
  228. package/dist/Organisms/@export.d.ts +0 -2
  229. package/dist/Organisms/@export.js +0 -5
  230. package/dist/Organisms/DisplayStyleInput/_.d.ts +0 -1
  231. package/dist/Organisms/DisplayStyleInput/_.js +0 -15
  232. package/dist/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
  233. package/dist/Organisms/DisplayStyleInput/darkmode.js +0 -77
  234. package/dist/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
  235. package/dist/Organisms/DisplayStyleInput/themeColor.js +0 -185
  236. package/dist/Templates/@export.d.ts +0 -2
  237. package/dist/Templates/@export.js +0 -5
  238. package/dist/Templates/PlayGround/parts.d.ts +0 -1
  239. package/dist/Templates/PlayGround/parts.js +0 -55
  240. package/dist/config.d.ts +0 -16
  241. package/dist/config.js +0 -171
  242. package/dist/launch.d.ts +0 -9
  243. package/dist/launch.js +0 -46
  244. package/dist/preload.d.ts +0 -1
  245. package/dist/preload.js +0 -73
  246. package/public/amotify.js +0 -310
  247. package/src/@types/_.tsx +0 -6
  248. package/src/@types/index.tsx +0 -74
  249. package/src/@types/module.tsx +0 -2
  250. package/src/Functions/@export.tsx +0 -29
  251. package/src/Functions/Input/Chips/style.module.scss +0 -6
  252. package/src/Functions/Inputs/types.d.ts +0 -1
  253. package/src/Global/exe.tsx +0 -0
  254. package/src/Organisms/@export.tsx +0 -5
  255. package/src/index.js +0 -0
  256. /package/{src/@types → @types}/state.tsx +0 -0
  257. /package/src/{Functions → functions}/Effects/Ripple.tsx +0 -0
  258. /package/src/{Functions → functions}/Effects/_.tsx +0 -0
  259. /package/src/{Functions → functions}/Inputs/_.tsx +0 -0
  260. /package/src/{Functions → functions}/Layout/_.tsx +0 -0
  261. /package/src/{Organisms → organisms}/DisplayStyleInput/_.tsx +0 -0
@@ -1,13 +1,10 @@
1
1
  import {
2
- useStore
3
- } from '~/Global/@export';
2
+ useStore,
3
+ React
4
+ } from '@global';
4
5
  import {
5
6
  Row
6
- } from '~/Molecules/@export';
7
- const {
8
- useEffect,
9
- useState,
10
- } = React;
7
+ } from '@mols';
11
8
 
12
9
  import style from './style.module.scss';
13
10
 
@@ -22,9 +19,9 @@ export const Mini = ( params: amotify.fn.Loader.CompInput & {
22
19
  loaderID = '',
23
20
  ...props
24
21
  } = params;
25
- let [ val_key ] = useState( loaderID );
26
- let [ val_componentID ] = useState( $.uuidGen() );
27
- let [ val_active,set_active ] = useState( showInitial );
22
+ let [ val_key ] = React.useState( loaderID );
23
+ let [ val_componentID ] = React.useState( $.uuidGen() );
24
+ let [ val_active,set_active ] = React.useState( showInitial );
28
25
 
29
26
  let Size: amotify.UniStyles.Sizes.SizeParams = 0;
30
27
  if ( size == 'S' ) {
@@ -48,7 +45,7 @@ export const Mini = ( params: amotify.fn.Loader.CompInput & {
48
45
  }[ color as 'theme' ];
49
46
 
50
47
  let QuerySelector = '[data-component-id="' + val_componentID + '"]';
51
- useEffect( () => {
48
+ React.useEffect( () => {
52
49
  if ( val_active ) {
53
50
  $( QuerySelector )
54
51
  .removeClass( style.Hide )
@@ -62,7 +59,7 @@ export const Mini = ( params: amotify.fn.Loader.CompInput & {
62
59
  }
63
60
  },[ val_active ] );
64
61
 
65
- useEffect( () => {
62
+ React.useEffect( () => {
66
63
  useStore.set( {
67
64
  key: val_componentID,
68
65
  value: {
@@ -1,11 +1,8 @@
1
+ import React from 'react';
1
2
  import {
2
3
  LaunchReactApplication,
3
4
  useStore
4
- } from '~/Global/@export';
5
- const {
6
- useEffect,
7
- useState,
8
- } = React;
5
+ } from '@global';
9
6
 
10
7
  import style from './style.module.scss';
11
8
 
@@ -18,11 +15,11 @@ const SizeWrapper: {
18
15
  ( params: {
19
16
  color: amotify.fn.Loader.Colors
20
17
  } ): {
21
- S: FNC<amotify.fn.Loader.CompInput>
22
- R: FNC<amotify.fn.Loader.CompInput>
23
- L: FNC<amotify.fn.Loader.CompInput>
24
- XL: FNC<amotify.fn.Loader.CompInput>
25
- MAX: FNC<amotify.fn.Loader.CompInput>
18
+ S: React.FC<amotify.fn.Loader.CompInput>
19
+ R: React.FC<amotify.fn.Loader.CompInput>
20
+ L: React.FC<amotify.fn.Loader.CompInput>
21
+ XL: React.FC<amotify.fn.Loader.CompInput>
22
+ MAX: React.FC<amotify.fn.Loader.CompInput>
26
23
  }
27
24
  } = ( params ) => {
28
25
  let color = params.color;
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  :global {
3
3
  #LOADER {
4
4
  z-index: 10;
@@ -1,26 +1,20 @@
1
1
  import {
2
- useStore
3
- } from '~/Global/@export';
2
+ useStore,
3
+ React
4
+ } from '@global';
4
5
  import {
5
6
  Box,
6
7
  Flex
7
- } from '~/Atoms/@export';
8
- import {
9
- Row
10
- } from '~/Molecules/@export';
11
- const {
12
- useEffect,
13
- useState,
14
- } = React;
8
+ } from '@atoms';
15
9
 
16
10
  import style from './style.module.scss';
17
11
 
18
12
  import { memoryID } from './parts';
19
13
 
20
14
  export const Top = () => {
21
- let [ val_active,set_active ] = useState( false );
15
+ let [ val_active,set_active ] = React.useState( false );
22
16
 
23
- useEffect( () => {
17
+ React.useEffect( () => {
24
18
  useStore.set( {
25
19
  key: memoryID + '-top',
26
20
  value: {
@@ -1,27 +1,24 @@
1
1
  import {
2
+ React,
2
3
  LaunchReactApplication,
3
4
  useStore
4
- } from '~/Global/@export';
5
+ } from '@global';
5
6
  import {
6
7
  Img,
7
8
  Box,
8
9
  Flex,
9
10
  FAIcon
10
- } from '~/Atoms/@export';
11
+ } from '@atoms';
11
12
  import {
12
13
  Column,
13
14
  Row,
14
15
  Text
15
- } from '~/Molecules/@export';
16
+ } from '@mols';
16
17
  import {
17
18
  Buttons,
18
19
  Input,
19
20
  Layout
20
- } from '~/Functions/@export';
21
- const {
22
- useEffect,
23
- useState,
24
- } = React;
21
+ } from '@fn';
25
22
 
26
23
  import style from './style.module.scss';
27
24
 
@@ -81,9 +78,9 @@ const Comps = {
81
78
  mainSheetScrolls: 0,
82
79
  subSheetLength: 0,
83
80
  Core: ( params: Params ) => {
84
- let [ val_componentID ] = useState( $.uuidGen() );
85
- let [ val_params,set_params ] = useState( params );
86
- let [ val_open,set_open ] = useState( true );
81
+ let [ val_componentID ] = React.useState( $.uuidGen() );
82
+ let [ val_params,set_params ] = React.useState( params );
83
+ let [ val_open,set_open ] = React.useState( true );
87
84
 
88
85
  let {
89
86
  type,
@@ -113,7 +110,7 @@ const Comps = {
113
110
  'custom': 'Custom',
114
111
  }[ type ] as 'Normal' ];
115
112
 
116
- useEffect( () => {
113
+ React.useEffect( () => {
117
114
  useStore.set( {
118
115
  key: sheetID!,
119
116
  value: {
@@ -148,7 +145,7 @@ const Comps = {
148
145
  }
149
146
  } );
150
147
  } );
151
- useEffect( () => {
148
+ React.useEffect( () => {
152
149
  let {
153
150
  closeOption
154
151
  } = params;
@@ -168,7 +165,7 @@ const Comps = {
168
165
  } );
169
166
  } );
170
167
  },[] );
171
- useEffect( () => {
168
+ React.useEffect( () => {
172
169
  $.fnScope( () => {
173
170
  // #ROOT
174
171
  if ( !isNewSheet ) return;
@@ -412,8 +409,8 @@ const Comps = {
412
409
  'L': 3
413
410
  }
414
411
 
415
- let [ val_stableSize,set_stableSize ] = useState( size as any );
416
- let [ val_edit,set_edit ] = useState( {
412
+ let [ val_stableSize,set_stableSize ] = React.useState( size as any );
413
+ let [ val_edit,set_edit ] = React.useState( {
417
414
  process: false,
418
415
  processStart: 0,
419
416
  originY: 0,
@@ -527,7 +524,7 @@ const Comps = {
527
524
  }
528
525
 
529
526
  const mounted = React.useRef( false );
530
- useEffect( () => {
527
+ React.useEffect( () => {
531
528
  if ( mounted.current ) {
532
529
  if ( val_stableSize == 'ZERO' ) {
533
530
  if ( swipeDown ) Sheet.close( sheetID! );
@@ -828,8 +825,8 @@ const Sheet: amotify.fn.Sheet.Methods = {
828
825
  transformOrigin: 'top'
829
826
  },
830
827
  content: () => {
831
- let [ val_image ] = useState( $.flatArray( src ) );
832
- let [ val_viewIndex,set_viewIndex ] = useState( 0 );
828
+ let [ val_image ] = React.useState( $.flatArray( src ) );
829
+ let [ val_viewIndex,set_viewIndex ] = React.useState( 0 );
833
830
 
834
831
  let Radio: amotify.fn.Input.List.OptionParams[] = [];
835
832
  let Slides: ReactElement[] = [];
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  //SheetBase
3
3
  :global {
4
4
  #SHEET {
@@ -1,23 +1,20 @@
1
1
  import {
2
2
  LaunchReactApplication,
3
- useStore
4
- } from '~/Global/@export';
3
+ useStore,
4
+ React
5
+ } from '@global';
5
6
  import {
6
7
  Box,
7
8
  Flex,
8
9
  FAIcon
9
- } from '~/Atoms/@export';
10
+ } from '@atoms';
10
11
  import {
11
12
  Row,
12
13
  Column
13
- } from '~/Molecules/@export';
14
+ } from '@mols';
14
15
  import {
15
16
  Buttons
16
- } from '~/Functions/@export';
17
- const {
18
- useEffect,
19
- useState,
20
- } = React;
17
+ } from '@fn';
21
18
 
22
19
  import style from './style.module.scss';
23
20
 
@@ -38,7 +35,7 @@ type ElementParams = amotify.fn.SnackBar.AddParams & {
38
35
  snackID: string
39
36
  }
40
37
 
41
- const Cell: FNC<ElementParams> = ( props ) => {
38
+ const Cell: React.FC<ElementParams> = ( props ) => {
42
39
  let {
43
40
  snackID,
44
41
  secondsToClose = 10,
@@ -48,10 +45,10 @@ const Cell: FNC<ElementParams> = ( props ) => {
48
45
  ...others
49
46
  } = props;
50
47
 
51
- let [ val_componentID ] = useState( componentID );
52
- let [ val_mouseOn,set_mouseOn ] = useState( false );
48
+ let [ val_componentID ] = React.useState( componentID );
49
+ let [ val_mouseOn,set_mouseOn ] = React.useState( false );
53
50
 
54
- useEffect( () => {
51
+ React.useEffect( () => {
55
52
  let Query = '[data-component-id="' + val_componentID + '"]';
56
53
  setTimeout( () => {
57
54
  $( Query ).addClass( style.FadeIn );
@@ -67,7 +64,7 @@ const Cell: FNC<ElementParams> = ( props ) => {
67
64
  } );
68
65
  },[] );
69
66
 
70
- useEffect( () => {
67
+ React.useEffect( () => {
71
68
  $.interval.clear( 'SnackBar-' + val_componentID );
72
69
  if ( !val_mouseOn ) {
73
70
  setTimeout( () => {
@@ -138,10 +135,10 @@ const Cell: FNC<ElementParams> = ( props ) => {
138
135
 
139
136
  let SnackBarElements: ElementParams[] = [];
140
137
 
141
- const SnackBarsWrap: FNC<{}> = () => {
142
- let [ val_refresh,set_refresh ] = useState( $.uuidGen() );
138
+ const SnackBarsWrap: React.FC<{}> = () => {
139
+ let [ val_refresh,set_refresh ] = React.useState( $.uuidGen() );
143
140
 
144
- useEffect( () => {
141
+ React.useEffect( () => {
145
142
  useStore.set( {
146
143
  key: 'SnackBar',
147
144
  privateKey: SnackBar.__memoryID,
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  :global {
3
3
  #SNACKBARS {
4
4
  z-index: 8;
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useStore,
3
3
  React
4
- } from '~/Global/@export';
4
+ } from '@global';
5
5
  import {
6
6
  Flex,
7
7
  Box,
8
8
  Span,
9
9
  FAIcon
10
- } from '~/Atoms/@export';
10
+ } from '@atoms';
11
11
  import {
12
12
  Column,
13
13
  Row,Text
14
- } from '~/Molecules/@export';
14
+ } from '@mols';
15
15
  import {
16
16
  Buttons,
17
17
  Input,
18
18
  Sheet,
19
- } from '~/Functions/@export';
19
+ } from '@fn';
20
20
 
21
21
  import style from '../style.module.scss';
22
22
 
@@ -1,17 +1,14 @@
1
1
  import {
2
- useStore
3
- } from '~/Global/@export';
2
+ useStore,
3
+ React
4
+ } from '@global';
4
5
  import {
5
6
  FAIcon
6
- } from '~/Atoms/@export';
7
+ } from '@atoms';
7
8
  import {
8
9
  Buttons,
9
10
  Tooltips,
10
- } from '~/Functions/@export';
11
- const {
12
- useState,
13
- useEffect,
14
- } = React;
11
+ } from '@fn';
15
12
 
16
13
  import {
17
14
  Comps,
@@ -20,7 +17,7 @@ import {
20
17
 
21
18
  import style from '../style.module.scss';
22
19
 
23
- const HeadRow: FNC<amotify.fn.Tables.Drag.Params> = ( props ) => {
20
+ const HeadRow: React.FC<amotify.fn.Tables.Drag.Params> = ( props ) => {
24
21
  let {
25
22
  cellStyles = {},
26
23
  cellClassName = '',
@@ -70,7 +67,7 @@ const HeadRow: FNC<amotify.fn.Tables.Drag.Params> = ( props ) => {
70
67
  children={ Cols }
71
68
  /> );
72
69
  }
73
- const BodyRows: FNC<amotify.fn.Tables.Drag.Params> = ( props ) => {
70
+ const BodyRows: React.FC<amotify.fn.Tables.Drag.Params> = ( props ) => {
74
71
  let {
75
72
  cellStyles = {},
76
73
  cellClassName = '',
@@ -81,8 +78,8 @@ const BodyRows: FNC<amotify.fn.Tables.Drag.Params> = ( props ) => {
81
78
  onOrderChanged
82
79
  } = props;
83
80
 
84
- let [ val_componentID ] = useState( $.uuidGen() );
85
- let [ val_info,set_info ] = useState( {
81
+ let [ val_componentID ] = React.useState( $.uuidGen() );
82
+ let [ val_info,set_info ] = React.useState( {
86
83
  rows: rows,
87
84
  origin: 0,
88
85
  to: NaN
@@ -253,7 +250,7 @@ const BodyRows: FNC<amotify.fn.Tables.Drag.Params> = ( props ) => {
253
250
  /> )
254
251
  }
255
252
 
256
- useEffect( () => {
253
+ React.useEffect( () => {
257
254
  useStore.set( {
258
255
  key: val_componentID,
259
256
  value: {
@@ -291,7 +288,7 @@ const BodyRows: FNC<amotify.fn.Tables.Drag.Params> = ( props ) => {
291
288
  }
292
289
  } )
293
290
  } );
294
- useEffect( () => {
291
+ React.useEffect( () => {
295
292
  return () => {
296
293
  useStore.delete( val_componentID );
297
294
  }
@@ -303,7 +300,7 @@ const BodyRows: FNC<amotify.fn.Tables.Drag.Params> = ( props ) => {
303
300
  }
304
301
 
305
302
 
306
- export const DragTable: FNC<amotify.fn.Tables.Drag.Params> = ( params ) => {
303
+ export const DragTable: React.FC<amotify.fn.Tables.Drag.Params> = ( params ) => {
307
304
  params.colLength = params.colLength + 1;
308
305
 
309
306
  if ( params.head ) {
@@ -1,11 +1,11 @@
1
- import style from '../style.module.scss';
2
-
1
+ import React from 'react';
3
2
  import {
4
3
  Comps,
5
4
  DefaultCellSystemStyles
6
5
  } from '../_';
6
+ import style from '../style.module.scss';
7
7
 
8
- const HeadRow: FNC<amotify.fn.Tables.Normal.Params> = ( params ) => {
8
+ const HeadRow: React.FC<amotify.fn.Tables.Normal.Params> = ( params ) => {
9
9
  let {
10
10
  cellStyles = {},
11
11
  cellClassName = '',
@@ -52,7 +52,7 @@ const HeadRow: FNC<amotify.fn.Tables.Normal.Params> = ( params ) => {
52
52
  children={ Cols }
53
53
  /> );
54
54
  }
55
- const BodyRows: FNC<amotify.fn.Tables.Normal.Params> = ( params ) => {
55
+ const BodyRows: React.FC<amotify.fn.Tables.Normal.Params> = ( params ) => {
56
56
  let {
57
57
  cellStyles = {},
58
58
  cellClassName = '',
@@ -110,7 +110,7 @@ const BodyRows: FNC<amotify.fn.Tables.Normal.Params> = ( params ) => {
110
110
  </> );
111
111
  }
112
112
 
113
- export const NormalTable: FNC<amotify.fn.Tables.Normal.Params> = ( params ) => {
113
+ export const NormalTable: React.FC<amotify.fn.Tables.Normal.Params> = ( params ) => {
114
114
  params.rows = params.rows.map( ( row,rowIndex ) => {
115
115
  row.rowID = row.rowID || rowIndex;
116
116
  return row;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  StyleConverter,
3
- useStore
4
- } from '~/Global/@export';
3
+ React
4
+ } from '@global';
5
5
 
6
6
  import {
7
7
  Box,
8
8
  FAIcon
9
- } from '~/Atoms/@export';
9
+ } from '@atoms';
10
10
 
11
11
  export const Comps: amotify.fn.Tables.CompsMethods = {
12
12
  Table: ( params ) => ( <table { ...StyleConverter.ToClassName( params ) } /> ),
@@ -38,7 +38,7 @@ import { DragTable } from './Drag/parts';
38
38
 
39
39
  import style from './style.module.scss';
40
40
 
41
- const Wrapper: FNC<amotify.fn.Tables.Uni.Params & {
41
+ const Wrapper: React.FC<amotify.fn.Tables.Uni.Params & {
42
42
  type: amotify.fn.Tables.Types
43
43
  }> = ( params ) => {
44
44
  let {
@@ -1,5 +1,6 @@
1
- @use 'src/@styles/props' as *;
2
- @use'src/@styles/styleSet' as *;
1
+ @use '@props' as *;
2
+ @use'@styleSet' as *;
3
+
3
4
  .Wrap {
4
5
  &.RowClickable_true {
5
6
  .Row {
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import {
2
3
  Box
3
- } from '~/Atoms/@export';
4
+ } from '@atoms';
4
5
  import {
5
6
  Sheet
6
- } from '~/Functions/@export';
7
+ } from '@fn';
7
8
 
8
9
  const Tooltips: amotify.fn.Tooltips.Methods = {
9
10
  __memoryID: $.uuidGen(),
@@ -1,7 +1,8 @@
1
- import * as ReactDom from 'react-dom';
1
+ import React from 'react';
2
+ import ReactDOMCLient from 'react-dom/client';
2
3
  import * as ReactRouterDom from 'react-router-dom';
3
4
 
4
- export const LaunchReactApplication: amotify.glob.LaunchReactApplicationParams = ( props ) => {
5
+ export const LaunchReactApplication: amotify.global.LaunchReactApplicationParams = ( props ) => {
5
6
  let {
6
7
  baseElement = '#ROOT',
7
8
  reactElement,
@@ -26,5 +27,5 @@ export const LaunchReactApplication: amotify.glob.LaunchReactApplicationParams =
26
27
  }
27
28
  let reactDom = nonRouter ? reactElement : <ReactRouterDom.BrowserRouter children={ reactElement } />;
28
29
 
29
- ReactDom.createRoot( Base ).render( <React.StrictMode children={ reactDom } /> );
30
+ ReactDOMCLient.createRoot( Base ).render( <React.StrictMode children={ reactDom } /> );
30
31
  }
@@ -1,7 +1,3 @@
1
- import {
2
- useStore
3
- } from '~/Global/@export';
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,
@@ -242,7 +238,7 @@ const FNs = {
242
238
  }
243
239
  }
244
240
 
245
- export const ReadStyleSet: amotify.glob.StyleConverter.ReadStyleSet = ( rawParams ) => {
241
+ export const ReadStyleSet: amotify.global.StyleConverter.ReadStyleSet = ( rawParams ) => {
246
242
  let params: amotifyBasicElement = { ...rawParams } as any;
247
243
  let {
248
244
  gradients,
@@ -371,7 +367,7 @@ export const ReadStyleSet: amotify.glob.StyleConverter.ReadStyleSet = ( rawParam
371
367
 
372
368
  return ReturnParams as any;
373
369
  }
374
- export const ToClassName: amotify.glob.StyleConverter.ToClassName = ( rawParams ) => {
370
+ export const ToClassName: amotify.global.StyleConverter.ToClassName = ( rawParams ) => {
375
371
  let params = ReadStyleSet( rawParams ) as amotifyBasicElement;
376
372
 
377
373
  let {
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 }
@@ -10,14 +10,14 @@ export { publicURI }
10
10
  import './@jsminAmotifyExtension/_';
11
11
  import {
12
12
  React,
13
- ReactDom,
14
- ReactRouterDom,
13
+ ReactDOM,
14
+ ReactRouterDOM,
15
15
  pageTransit,
16
16
  useStore,
17
17
  useRecycle,
18
18
  StyleConverter,
19
19
  LaunchReactApplication
20
- } from './Global/@export';
20
+ } from './@global';
21
21
  import {
22
22
  Flex,
23
23
  FlexBr,
@@ -29,7 +29,7 @@ import {
29
29
  Span,
30
30
  Paragraph,
31
31
  Img
32
- } from './Atoms/@export';
32
+ } from '@atoms';
33
33
  import {
34
34
  List,
35
35
  Accordion,
@@ -37,13 +37,13 @@ import {
37
37
  Text,
38
38
  Column,
39
39
  Row
40
- } from './Molecules/@export';
40
+ } from '@mols';
41
41
  import {
42
42
  DisplayStyleInput
43
- } from './Organisms/@export';
43
+ } from '@orgs';
44
44
  import {
45
45
  PlayGround
46
- } from './Templates/@export';
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/@export';
59
+ } from '@fn';
60
60
 
61
61
  import {
62
62
  deviceIdentifier,
@@ -66,7 +66,12 @@ import {
66
66
 
67
67
  const amotify: amotify = {
68
68
  config: defaultConfig,
69
- glob: { React,ReactDom,ReactRouterDom: ReactRouterDom as any,pageTransit,useStore,useRecycle,StyleConverter,LaunchReactApplication },
69
+ global: {
70
+ React,
71
+ ReactDOM,
72
+ ReactRouterDOM,
73
+ pageTransit,useStore,useRecycle,StyleConverter,LaunchReactApplication
74
+ },
70
75
  atoms: { Flex,FlexBr,FAIcon,Placeholder,Grid,Logo,Box,Span,Paragraph,Img },
71
76
  mols: { List,Accordion,LinkifyText,Text,Column,Row },
72
77
  orgs: { DisplayStyleInput },
@@ -1,18 +1,14 @@
1
1
  import {
2
2
  useStore,
3
3
  React
4
- } from '~/Global/@export';
4
+ } from '@global';
5
5
  import {
6
6
  Box
7
- } from '~/Atoms/@export';
8
- const {
9
- useEffect,
10
- useState,
11
- } = React;
7
+ } from '@atoms';
12
8
 
13
9
  import style from './style.module.scss';
14
10
 
15
- const Component: FNC<amotify.mols.Accordion.Params> = ( params ) => {
11
+ const Component: React.FC<amotify.mols.Accordion.Params> = ( params ) => {
16
12
  let {
17
13
  accordionID = '',
18
14
  slideAnimation = 'fast',
@@ -20,16 +16,16 @@ const Component: FNC<amotify.mols.Accordion.Params> = ( params ) => {
20
16
  ...others
21
17
  } = params;
22
18
 
23
- let [ val_wrapID ] = useState( $.uuidGen() );
24
- let [ val_contentID ] = useState( $.uuidGen() );
25
- let [ val_open,set_open ] = useState( open );
19
+ let [ val_wrapID ] = React.useState( $.uuidGen() );
20
+ let [ val_contentID ] = React.useState( $.uuidGen() );
21
+ let [ val_open,set_open ] = React.useState( open );
26
22
 
27
23
  if ( val_open != open ) set_open( open );
28
24
 
29
25
  let Query = '[data-accordion-content-id="' + val_contentID + '"]';
30
26
 
31
27
  const mounted = React.useRef( false );
32
- useEffect( () => {
28
+ React.useEffect( () => {
33
29
  let Content = $( Query )[ 0 ];
34
30
  if ( Content ) {
35
31
  let contentHeight = Content.offsetHeight;
@@ -45,7 +41,7 @@ const Component: FNC<amotify.mols.Accordion.Params> = ( params ) => {
45
41
  } )
46
42
  }
47
43
  },[] );
48
- useEffect( () => {
44
+ React.useEffect( () => {
49
45
  let Wrap = $( '#' + val_wrapID );
50
46
  let Content = $( Query )[ 0 ];
51
47
  if ( mounted.current ) {