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,14 +1,15 @@
1
1
  import {
2
- useStore
3
- } from '~/Global/@export';
2
+ useStore,
3
+ React
4
+ } from '@global';
4
5
  import {
5
6
  Box
6
- } from '~/Atoms/@export';
7
+ } from '@atoms';
7
8
  import {
8
9
  Input,
9
10
  Buttons,
10
11
  Tooltips
11
- } from '~/Functions/@export';
12
+ } from '@fn';
12
13
 
13
14
  import {
14
15
  BoxWrapper,
@@ -17,11 +18,6 @@ import {
17
18
  CommonEffects
18
19
  } from '../core';
19
20
  import { Picker } from './Picker';
20
- const {
21
- useEffect,
22
- useState,
23
- useRef
24
- } = React;
25
21
 
26
22
  const PeriodMargin = ' ~ ';
27
23
 
@@ -298,7 +294,7 @@ type FocusProps = {
298
294
  prevIndex: number
299
295
  }
300
296
 
301
- export const TimeInput: FNC<amotify.fn.Input.Time.OriginParams> = ( params ) => {
297
+ export const TimeInput: React.FC<amotify.fn.Input.Time.OriginParams> = ( params ) => {
302
298
  let {
303
299
  tone,
304
300
  required,
@@ -323,9 +319,9 @@ export const TimeInput: FNC<amotify.fn.Input.Time.OriginParams> = ( params ) =>
323
319
  ...others
324
320
  } = params;
325
321
 
326
- let [ val_era,set_era ] = useState( era! );
322
+ let [ val_era,set_era ] = React.useState( era! );
327
323
 
328
- let [ val_status,set_status ] = useState( {
324
+ let [ val_status,set_status ] = React.useState( {
329
325
  componentID: params.componentID || '',
330
326
  ...DataLeveling( {
331
327
  restrict,
@@ -336,11 +332,11 @@ export const TimeInput: FNC<amotify.fn.Input.Time.OriginParams> = ( params ) =>
336
332
  eventID: $.uuidGen(),
337
333
  } as amotify.fn.Input.Status.Time );
338
334
 
339
- let [ val_validate,set_validate ] = useState( {
335
+ let [ val_validate,set_validate ] = React.useState( {
340
336
  ok: false,
341
337
  notice: []
342
338
  } as amotify.fn.Input.Validation.Result );
343
- let [ val_focus,set_focus ] = useState( {
339
+ let [ val_focus,set_focus ] = React.useState( {
344
340
  active: false,
345
341
  index: 0,
346
342
  prevIndex: -1
@@ -365,8 +361,8 @@ export const TimeInput: FNC<amotify.fn.Input.Time.OriginParams> = ( params ) =>
365
361
  }
366
362
  } );
367
363
 
368
- const mounted = useRef( false );
369
- useEffect( () => {
364
+ const mounted = React.useRef( false );
365
+ React.useEffect( () => {
370
366
  if ( mounted.current ) {
371
367
  set_status( {
372
368
  ...val_status,
@@ -423,7 +419,7 @@ export const TimeInput: FNC<amotify.fn.Input.Time.OriginParams> = ( params ) =>
423
419
  }
424
420
  } );
425
421
 
426
- useEffect( () => {
422
+ React.useEffect( () => {
427
423
  let { index,active } = val_focus;
428
424
  if ( active ) {
429
425
  index = Math.max( index,0 );
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Header {
3
3
  position: sticky;
4
4
  top: 0;
@@ -1,28 +1,23 @@
1
1
  import {
2
2
  StyleConverter,
3
3
  useStore,
4
- } from '~/Global/@export';
5
- const {
6
- useState,
7
- useEffect,
8
- useRef
9
- } = React;
10
-
4
+ React
5
+ } from '@global';
11
6
  import {
12
7
  Box,
13
8
  Flex,
14
9
  FAIcon,
15
10
  Span
16
- } from '~/Atoms/@export';
11
+ } from '@atoms';
17
12
  import {
18
13
  Row,
19
14
  Text,
20
15
  Column
21
- } from '~/Molecules/@export';
16
+ } from '@mols';
22
17
  import {
23
18
  Buttons,
24
19
  Tooltips
25
- } from '~/Functions/@export';
20
+ } from '@fn';
26
21
 
27
22
  import style from './style.module.scss';
28
23
 
@@ -45,12 +40,12 @@ import { FileInput } from './File/_';
45
40
  import { SliderInput } from './Slider/_';
46
41
  import { Segmented } from './Segmented/_';
47
42
 
48
- const UniComponent: FNC<{
43
+ const UniComponent: React.FC<{
49
44
  componentID?: string
50
- children: FNC<any>
45
+ children: React.FC<any>
51
46
  params: any
52
47
  }> = ( props ) => {
53
- let [ val_componentID ] = useState( props.componentID || $.uuidGen() );
48
+ let [ val_componentID ] = React.useState( props.componentID || $.uuidGen() );
54
49
 
55
50
  props.params = {
56
51
  enableFormSubmit: true,
@@ -101,8 +96,8 @@ const TextInputs: amotify.fn.Input.Text.Methods = {
101
96
  { ...props }
102
97
  /> ),
103
98
  Postal: ( params ) => {
104
- let [ val_postalEventID ] = useState( $.uuidGen() );
105
- useEffect( () => {
99
+ let [ val_postalEventID ] = React.useState( $.uuidGen() );
100
+ React.useEffect( () => {
106
101
  return () => {
107
102
  useStore.delete( val_postalEventID );
108
103
  }
@@ -181,7 +176,7 @@ const TimeInputs: amotify.fn.Input.Time.Methods & {
181
176
  Origin: ( props: amotify.fn.Input.Time.OriginParams ) => JSX.Element
182
177
  } = {
183
178
  Origin: ( rawParams ) => {
184
- let [ val_componentID ] = useState( rawParams.componentID || $.uuidGen() );
179
+ let [ val_componentID ] = React.useState( rawParams.componentID || $.uuidGen() );
185
180
  rawParams.componentID = val_componentID;
186
181
 
187
182
  if ( $.is.nullish( rawParams.rightIndicator ) ) {
@@ -224,7 +219,7 @@ const TimeInputs: amotify.fn.Input.Time.Methods & {
224
219
  Month: ( props ) => ( <TimeInputs.Origin restrict='month' { ...props } /> ),
225
220
  Year: ( props ) => ( <TimeInputs.Origin restrict='year' { ...props } /> ),
226
221
  DateWareki: ( params ) => {
227
- let [ val_componentID ] = useState( params.componentID || $.uuidGen() );
222
+ let [ val_componentID ] = React.useState( params.componentID || $.uuidGen() );
228
223
  params.componentID = val_componentID;
229
224
  let {
230
225
  defaultEra = 'wareki',
@@ -1,26 +1,21 @@
1
1
  import {
2
- useStore
3
- } from '~/Global/@export';
4
- const {
5
- useEffect,
6
- useState,
7
- useRef
8
- } = React;
9
-
2
+ useStore,
3
+ React
4
+ } from '@global';
10
5
  import {
11
6
  Box,
12
7
  Flex,
13
8
  FAIcon
14
- } from '~/Atoms/@export';
9
+ } from '@atoms';
15
10
  import {
16
11
  Column,
17
12
  Row,
18
13
  Text
19
- } from '~/Molecules/@export';
14
+ } from '@mols';
20
15
  import {
21
16
  Buttons,
22
17
  Tooltips
23
- } from '~/Functions/@export';
18
+ } from '@fn';
24
19
 
25
20
  import style from './style.module.scss';
26
21
 
@@ -32,7 +27,7 @@ type BoxWrapperParams = {
32
27
  children: ReactElement
33
28
  }
34
29
 
35
- export const BoxWrapper: FNC<BoxWrapperParams> = ( props ) => {
30
+ export const BoxWrapper: React.FC<BoxWrapperParams> = ( props ) => {
36
31
  let {
37
32
  children,
38
33
  val_status,
@@ -100,7 +95,7 @@ export const BoxWrapper: FNC<BoxWrapperParams> = ( props ) => {
100
95
  </Box>
101
96
  );
102
97
  }
103
- const GenNotices: FNC<{
98
+ const GenNotices: React.FC<{
104
99
  notice: amotify.fn.Input.Validation.NoticeTypes[]
105
100
  val_status: amotify.fn.Input.Status.Plain
106
101
  }> = ( params ) => {
@@ -234,9 +229,9 @@ export const CommonEffects: {
234
229
  componentID
235
230
  } = val_status;
236
231
 
237
- let [ val_refresh,set_refresh ] = useState( $.uuidGen() );
232
+ let [ val_refresh,set_refresh ] = React.useState( $.uuidGen() );
238
233
 
239
- useEffect( () => {
234
+ React.useEffect( () => {
240
235
  useStore.update( {
241
236
  key: componentID,
242
237
  value: {
@@ -259,8 +254,8 @@ export const CommonEffects: {
259
254
  }
260
255
  },[] );
261
256
 
262
- const mounted = useRef( false );
263
- useEffect( () => {
257
+ const mounted = React.useRef( false );
258
+ React.useEffect( () => {
264
259
  if ( mounted.current ) {
265
260
  set_status( {
266
261
  ...val_status,
@@ -271,7 +266,7 @@ export const CommonEffects: {
271
266
  mounted.current = true;
272
267
  }
273
268
  },[ val_refresh ] );
274
- useEffect( () => {
269
+ React.useEffect( () => {
275
270
  params.value = val_status.dataValue;
276
271
 
277
272
  $.interval.clear( 'ValidationTimer-' + componentID );
@@ -310,7 +305,7 @@ export const CommonEffects: {
310
305
  component.statusID = params.statusID;
311
306
  } )();
312
307
 
313
- useEffect( () => {
308
+ React.useEffect( () => {
314
309
  let {
315
310
  componentID,
316
311
  eventType,
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Input {
3
3
  &:focus, &:active {
4
4
  z-index: 1;
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Focus {
3
3
  &:focus, &:active {
4
4
  z-index: 1;
@@ -1,23 +1,11 @@
1
+ import React from 'react';
1
2
  import {
2
3
  StyleConverter
3
- } from '~/Global/@export';
4
- import style from './style.module.scss';
4
+ } from '@global';
5
5
 
6
+ import style from './style.module.scss';
6
7
 
7
- declare global {
8
- namespace Inputs {
9
- type ToneTypes = 'normal' | 'cloud' | 'bottomBorder' | 'plain'
10
-
11
- namespace Text {
12
- type Params =
13
- any &
14
- React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>,HTMLInputElement> &
15
- {
16
- tone?: ToneTypes
17
- }
18
- }
19
- }
20
- }
8
+ import { TextInputs } from './types';
21
9
 
22
10
  let ToneStyles: {
23
11
  common: amotifyBasicElement
@@ -48,7 +36,7 @@ let ToneStyles: {
48
36
  plain: {},
49
37
  }
50
38
 
51
- export const TextInput = ( params: Inputs.Text.Params ) => {
39
+ export const TextInput = ( params: TextInputs.Text.Params ) => {
52
40
  params = {
53
41
  ...ToneStyles.common,
54
42
  ...ToneStyles.bottomBorder,
@@ -0,0 +1,13 @@
1
+ namespace TextInputs {
2
+ type ToneTypes = 'normal' | 'cloud' | 'bottomBorder' | 'plain'
3
+
4
+ namespace Text {
5
+ type Params =
6
+ any &
7
+ React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>,HTMLInputElement> &
8
+ {
9
+ tone?: ToneTypes
10
+ }
11
+ }
12
+ }
13
+ export { TextInputs }
@@ -1,19 +1,18 @@
1
+ import React from 'react';
1
2
  import {
2
3
  Box,
3
- Flex,
4
- FAIcon,
5
- Paragraph
6
- } from '~/Atoms/@export';
4
+ FAIcon
5
+ } from '@atoms';
7
6
  import {
8
7
  Column,
9
8
  Row,
10
9
  Text
11
- } from '~/Molecules/@export';
10
+ } from '@mols';
12
11
  import {
13
12
  Buttons
14
- } from '~/Functions/@export';
13
+ } from '@fn';
15
14
 
16
- export const PageNotFound: FNC<{}> = () => {
15
+ export const PageNotFound: React.FC<{}> = () => {
17
16
 
18
17
  let { href } = location;
19
18
 
@@ -1,27 +1,23 @@
1
1
  import {
2
2
  useStore,
3
- ReactRouterDom
4
- } from '~/Global/@export';
3
+ React
4
+ } from '@global';
5
5
  import {
6
6
  Layout
7
- } from '~/Functions/@export';
8
- const {
9
- useEffect,
10
- useRef,
11
- } = React;
7
+ } from '@fn';
12
8
 
13
- const {
14
- useHistory,
9
+ import {
10
+ useNavigate,
15
11
  useLocation,
16
12
  BrowserRouter,
17
- Switch,
13
+ Routes,
18
14
  Route,
19
- } = ReactRouterDom;
15
+ } from 'react-router-dom';
20
16
 
21
17
  const userEffect = ( beforeCallback?: Function,afterCallback?: Function,afterFirstCallback?: Function ) => {
22
- const mounted = useRef( false );
18
+ const mounted = React.useRef( false );
23
19
  let location = useLocation();
24
- let history = useHistory();
20
+ let history = useNavigate();
25
21
  useStore.set( {
26
22
  key: 'history',
27
23
  value: history
@@ -29,7 +25,7 @@ const userEffect = ( beforeCallback?: Function,afterCallback?: Function,afterFir
29
25
 
30
26
  amotify.fn.Sheet.closeAll( true );
31
27
 
32
- useEffect( () => {
28
+ React.useEffect( () => {
33
29
  if ( mounted.current ) {
34
30
  $( '#TopNavigation' )
35
31
  .callback( ( topHeader ) => {
@@ -47,10 +43,10 @@ const userEffect = ( beforeCallback?: Function,afterCallback?: Function,afterFir
47
43
 
48
44
  if ( beforeCallback ) beforeCallback( location );
49
45
 
50
- useEffect( () => {
46
+ React.useEffect( () => {
51
47
  if ( afterFirstCallback ) afterFirstCallback( location );
52
48
  },[] );
53
- useEffect( () => {
49
+ React.useEffect( () => {
54
50
  setTimeout( () => {
55
51
  window.dispatchEvent( new Event( 'resize' ) );
56
52
  },200 );
@@ -63,29 +59,24 @@ const Switcher: React.FC<amotify.fn.Layout.PageRouter.RoutesSwitchProps> = ( pro
63
59
 
64
60
  userEffect( beforeCallBack,afterCallBack,afterFirstCallBack );
65
61
 
66
- let Routes = routes.map( ( page ) => {
62
+ let Routing = routes.map( ( page ) => {
67
63
  let { path,content } = page;
68
64
  path = '/' + path.replace( /^\//,'' );
69
65
 
70
- return (
71
- <Route
72
- key={ path }
73
- exact
74
- path={ path }
75
- render={ () => ( <>{ content }</> ) }
76
- />
77
- );
66
+ return <Route
67
+ key={ path }
68
+ path={ path }
69
+ element={ content }
70
+ />;
78
71
  } );
79
72
 
80
- return (
81
- <Switch>
82
- { Routes }
83
- <Route
84
- path='*'
85
- render={ () => ( <><Layout.PageNotFound /></> ) }
86
- />
87
- </Switch>
88
- );
73
+ return <Routes>
74
+ { Routing }
75
+ <Route
76
+ path='*'
77
+ element={ <Layout.PageNotFound /> }
78
+ />
79
+ </Routes>;
89
80
  }
90
81
 
91
82
  export const PageRouter: React.FC<amotify.fn.Layout.PageRouter.RouterProps> = ( props ) => {
@@ -1,15 +1,12 @@
1
1
  import {
2
2
  React
3
- } from '~/Global/@export';
3
+ } from '@global';
4
4
 
5
- const {
6
- useState,
7
- useEffect
8
- } = React;
9
-
10
- import { Effects } from '~/Functions/@export';
5
+ import {
6
+ Effects
7
+ } from '@fn';
11
8
 
12
- export const PageViewController: FNC<amotify.fn.Layout.PageViewController.Params> = ( params ) => {
9
+ export const PageViewController: React.FC<amotify.fn.Layout.PageViewController.Params> = ( params ) => {
13
10
  let {
14
11
  viewIndex = 0,
15
12
  views,
@@ -21,7 +18,7 @@ export const PageViewController: FNC<amotify.fn.Layout.PageViewController.Params
21
18
  } = params;
22
19
  viewIndex = Math.min( Math.max( viewIndex,0 ),views.length );
23
20
 
24
- let [ val_index,set_index ] = useState( viewIndex );
21
+ let [ val_index,set_index ] = React.useState( viewIndex );
25
22
  if ( val_index != viewIndex ) set_index( viewIndex );
26
23
 
27
24
  return (
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import {
2
3
  Box
3
- } from '~/Atoms/@export';
4
+ } from '@atoms';
4
5
 
5
- export const Plate: FNC<amotify.fn.Layout.Plate.Params> = ( props ) => {
6
+ export const Plate: React.FC<amotify.fn.Layout.Plate.Params> = ( props ) => {
6
7
  let {
7
8
  size = 'R',
8
9
  ...others
@@ -2,19 +2,17 @@ import {
2
2
  React,
3
3
  useRecycle,
4
4
  pageTransit
5
- } from '~/Global/@export';
5
+ } from '@global';
6
6
  import {
7
7
  Box,
8
8
  Flex,
9
- } from '~/Atoms/@export';
9
+ } from '@atoms';
10
10
  import {
11
- Column,
12
- Row
13
- } from '~/Molecules/@export';
11
+ Column
12
+ } from '@mols';
14
13
  import {
15
- Buttons,
16
- Input
17
- } from '~/Functions/@export';
14
+ Buttons
15
+ } from '@fn';
18
16
 
19
17
  import style from './style.module.scss';
20
18
 
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Content {
3
3
  @media (max-width:$breakPoint ) {
4
4
  min-height: calc($viewHeight - $topNavigationHeight - $footerNavigationHeight );
@@ -1,19 +1,14 @@
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
- const {
9
- useState,
10
- useEffect,
11
- useRef,
12
- } = React;
8
+ } from '@atoms';
13
9
 
14
10
  import style from './style.module.scss';
15
11
 
16
-
17
12
  type SlideEventProps = {
18
13
  eventType: 'usr' | 'sys' | 'init' | 'adjustLoop'
19
14
  index: number
@@ -38,7 +33,7 @@ export const SwipeView = ( params: amotify.fn.Layout.SwipeView.Params ) => {
38
33
  slideIndex={ Math.max( Math.min( params.slideIndex!,params.slides.length - 1 ),0 ) }
39
34
  /> );
40
35
  }
41
- export const Core: FNC<amotify.fn.Layout.SwipeView.Params> = ( params ) => {
36
+ export const Core: React.FC<amotify.fn.Layout.SwipeView.Params> = ( params ) => {
42
37
  let {
43
38
  options: {
44
39
  onSlideCallback,
@@ -53,21 +48,21 @@ export const Core: FNC<amotify.fn.Layout.SwipeView.Params> = ( params ) => {
53
48
  ...others
54
49
  } = params;
55
50
 
56
- let [ val_swipeID ] = useState( $.uuidGen() );
57
- let [ val_event,set_event ] = useState( {
51
+ let [ val_swipeID ] = React.useState( $.uuidGen() );
52
+ let [ val_event,set_event ] = React.useState( {
58
53
  eventType: 'init',
59
54
  index: params.slideIndex
60
55
  } as SlideEventProps );
61
56
 
62
- useEffect( () => {
57
+ React.useEffect( () => {
63
58
  useStore.set( {
64
59
  key: 'SwipeTimer-' + val_swipeID,
65
60
  value: null
66
61
  } );
67
62
  },[] );
68
63
 
69
- const mounted = useRef( false );
70
- useEffect( () => {
64
+ const mounted = React.useRef( false );
65
+ React.useEffect( () => {
71
66
  set_event( {
72
67
  eventType: 'usr',
73
68
  index: params.slideIndex!
@@ -76,7 +71,7 @@ export const Core: FNC<amotify.fn.Layout.SwipeView.Params> = ( params ) => {
76
71
  if ( !mounted.current ) mounted.current = true;
77
72
  },[ params.slideIndex ] );
78
73
 
79
- useEffect( () => {
74
+ React.useEffect( () => {
80
75
  let Index = val_event.index + ( loop ? 1 : 0 );
81
76
  let CopyIndex = [ -1,slides.length ].includes( val_event.index );
82
77
 
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Rail {
3
3
  &.ShowOther_true {
4
4
  > .Child {
@@ -1,22 +1,18 @@
1
1
  import {
2
2
  React,
3
- } from '~/Global/@export';
3
+ } from '@global';
4
4
  import {
5
5
  Box,
6
6
  Flex
7
- } from '~/Atoms/@export';
7
+ } from '@atoms';
8
8
  import {
9
9
  Row
10
- } from '~/Molecules/@export';
10
+ } from '@mols';
11
11
  import {
12
12
  Input
13
- } from '~/Functions/@export';
14
- const {
15
- useEffect,
16
- useState
17
- } = React;
13
+ } from '@fn';
18
14
 
19
- export const TabBar: FNC<amotify.fn.Layout.TabBar.Params> = ( params ) => {
15
+ export const TabBar: React.FC<amotify.fn.Layout.TabBar.Params> = ( params ) => {
20
16
  let {
21
17
  tabIndex,
22
18
  tabs,
@@ -25,7 +21,7 @@ export const TabBar: FNC<amotify.fn.Layout.TabBar.Params> = ( params ) => {
25
21
  ...others
26
22
  } = params;
27
23
 
28
- useEffect( () => {
24
+ React.useEffect( () => {
29
25
  if ( componentDidMount ) componentDidMount();
30
26
  },[] );
31
27
 
@@ -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 Corner = () => {
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 + '-corner',
26
20
  value: {