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,25 +1,20 @@
1
1
  import {
2
- useRecycle,
3
- useStore
4
- } from '~/Global/@export';
5
- const {
6
- useEffect,
7
- useState
8
- } = React;
2
+ React
3
+ } from '@global';
9
4
  import {
10
5
  FAIcon
11
- } from '~/Atoms/@export';
6
+ } from '@atoms';
12
7
  import {
13
8
  Column,
14
9
  Row,
15
10
  Text
16
- } from '~/Molecules/@export';
11
+ } from '@mols';
17
12
  import {
18
13
  Input,
19
14
  Buttons,
20
15
  Loader,
21
16
  Sheet
22
- } from '~/Functions/@export';
17
+ } from '@fn';
23
18
 
24
19
  import {
25
20
  BoxWrapper,
@@ -57,7 +52,7 @@ function DefaultValidation( props: {
57
52
  }
58
53
  }
59
54
 
60
- const DataWrapping: FNC<amotify.fn.Input.Chips.PlainParams> = ( params ) => {
55
+ const DataWrapping: React.FC<amotify.fn.Input.Chips.PlainParams> = ( params ) => {
61
56
  let DefaultValues = [ ...( params.value || [] ) ];
62
57
  let Values = DefaultValues.splice( 0,params.limit || 65535 );
63
58
 
@@ -99,7 +94,7 @@ const DataWrapping: FNC<amotify.fn.Input.Chips.PlainParams> = ( params ) => {
99
94
  /> );
100
95
  }
101
96
 
102
- const Core: FNC<amotify.fn.Input.Chips.PlainParams> = ( params ) => {
97
+ const Core: React.FC<amotify.fn.Input.Chips.PlainParams> = ( params ) => {
103
98
  let {
104
99
  required,
105
100
  form,
@@ -118,19 +113,19 @@ const Core: FNC<amotify.fn.Input.Chips.PlainParams> = ( params ) => {
118
113
  } = params;
119
114
  AddButtonComponent = AddButtonComponent!;
120
115
 
121
- let [ val_selectorID ] = useState( $.uuidGen() );
122
- let [ val_status,set_status ] = useState( {
116
+ let [ val_selectorID ] = React.useState( $.uuidGen() );
117
+ let [ val_status,set_status ] = React.useState( {
123
118
  componentID: params.componentID || '',
124
119
  dataValue: value.map( ( val: any ) => val ),
125
120
  eventID: $.uuidGen(),
126
121
  eventType: 'init'
127
122
  } as amotify.fn.Input.Status.Plain );
128
- let [ val_validate,set_validate ] = useState( {
123
+ let [ val_validate,set_validate ] = React.useState( {
129
124
  ok: false,
130
125
  notice: []
131
126
  } as amotify.fn.Input.Validation.Result );
132
127
 
133
- let [ val_selected,set_selected ] = useState( [ ...value ] );
128
+ let [ val_selected,set_selected ] = React.useState( [ ...value ] );
134
129
 
135
130
  CommonEffects( {
136
131
  params,
@@ -179,7 +174,7 @@ const Core: FNC<amotify.fn.Input.Chips.PlainParams> = ( params ) => {
179
174
  let isFully = limit && limit <= val_selected.length;
180
175
 
181
176
  const mounted = React.useRef( false );
182
- useEffect( () => {
177
+ React.useEffect( () => {
183
178
  if ( mounted.current ) {
184
179
  if ( isFully ) {
185
180
  Sheet.close( val_selectorID );
@@ -0,0 +1,6 @@
1
+ @use '@props' as *;
2
+ @use'@styleSet' as *;
3
+
4
+ .SelectorWrapper {
5
+ @include OriginScrollBar();
6
+ }
@@ -1,16 +1,12 @@
1
1
  import {
2
2
  React
3
- } from '~/Global/@export';
4
- const {
5
- useState
6
- } = React;
7
-
3
+ } from '@global';
8
4
  import {
9
5
  Flex
10
- } from '~/Atoms/@export';
6
+ } from '@atoms';
11
7
  import {
12
8
  Input
13
- } from '~/Functions/@export';
9
+ } from '@fn';
14
10
  import {
15
11
  BoxWrapper,
16
12
  SubmitForm,
@@ -71,7 +67,7 @@ const formatToData = ( value: any = '' ) => {
71
67
  }
72
68
 
73
69
 
74
- export const DigitCharactersInput: FNC<amotify.fn.Input.DigitCharacters.PlainParams> = ( params ) => {
70
+ export const DigitCharactersInput: React.FC<amotify.fn.Input.DigitCharacters.PlainParams> = ( params ) => {
75
71
  let {
76
72
  tone,
77
73
  required,
@@ -108,8 +104,8 @@ export const DigitCharactersInput: FNC<amotify.fn.Input.DigitCharacters.PlainPar
108
104
  eventID: $.uuidGen()
109
105
  }
110
106
 
111
- let [ val_status,set_status ] = useState( Default_Status );
112
- let [ val_validate,set_validate ] = useState( {
107
+ let [ val_status,set_status ] = React.useState( Default_Status );
108
+ let [ val_validate,set_validate ] = React.useState( {
113
109
  ok: false,
114
110
  notice: []
115
111
  } as amotify.fn.Input.Validation.Result );
@@ -1,25 +1,22 @@
1
1
  import {
2
- useStore
3
- } from '~/Global/@export';
4
- const {
5
- useEffect,
6
- useState
7
- } = React;
2
+ useStore,
3
+ React
4
+ } from '@global';
8
5
  import {
9
6
  Box,
10
7
  Flex,
11
8
  FAIcon
12
- } from '~/Atoms/@export';
9
+ } from '@atoms';
13
10
  import {
14
11
  Column,
15
12
  Row,
16
13
  Text
17
- } from '~/Molecules/@export';
14
+ } from '@mols';
18
15
  import {
19
16
  Input,
20
17
  Buttons,
21
18
  SnackBar
22
- } from '~/Functions/@export';
19
+ } from '@fn';
23
20
 
24
21
  import {
25
22
  BoxWrapper,
@@ -47,7 +44,7 @@ function DefaultValidation( props: {
47
44
  }
48
45
  }
49
46
 
50
- const FileComponent: FNC<amotify.fn.Input.Filer.PlainParams> = ( params ) => {
47
+ const FileComponent: React.FC<amotify.fn.Input.Filer.PlainParams> = ( params ) => {
51
48
  let {
52
49
  tone,
53
50
  required,
@@ -76,8 +73,8 @@ const FileComponent: FNC<amotify.fn.Input.Filer.PlainParams> = ( params ) => {
76
73
  eventType: 'init',
77
74
  eventID: $.uuidGen()
78
75
  }
79
- let [ val_status,set_status ] = useState( Default_Status );
80
- let [ val_validate,set_validate ] = useState( {
76
+ let [ val_status,set_status ] = React.useState( Default_Status );
77
+ let [ val_validate,set_validate ] = React.useState( {
81
78
  ok: false,
82
79
  notice: []
83
80
  } as amotify.fn.Input.Validation.Result );
@@ -202,7 +199,7 @@ const FileComponent: FNC<amotify.fn.Input.Filer.PlainParams> = ( params ) => {
202
199
  );
203
200
  }
204
201
 
205
- const FileList: FNC<{
202
+ const FileList: React.FC<{
206
203
  files: File[]
207
204
  params: amotify.fn.Input.Filer.PlainParams
208
205
  val_status: amotify.fn.Input.Status.Plain
@@ -290,7 +287,7 @@ const FileList: FNC<{
290
287
  );
291
288
  }
292
289
 
293
- const FileCell: FNC<{
290
+ const FileCell: React.FC<{
294
291
  index: number
295
292
  file: File
296
293
  className?: string
@@ -312,7 +309,7 @@ const FileCell: FNC<{
312
309
  type,
313
310
  } = file;
314
311
 
315
- let [ val_edit,set_edit ] = useState( false );
312
+ let [ val_edit,set_edit ] = React.useState( false );
316
313
  let FileID = $.uuidGen();
317
314
  let Size = size.rank();
318
315
  let [ name,extension ] = fileName
@@ -385,7 +382,7 @@ const FileCell: FNC<{
385
382
  }
386
383
  }
387
384
 
388
- useEffect( () => {
385
+ React.useEffect( () => {
389
386
  if ( val_edit ) {
390
387
  setTimeout( () => {
391
388
  $( '#' + FileID )[ 0 ].focus();
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
 
3
3
  .Input:focus {
4
4
  + .List .AddButton {
@@ -1,4 +1,5 @@
1
- export const HiddenInput: FNC<amotify.fn.Input.Hidden.PlainParams> = ( params ) => {
1
+ import React from 'react';
2
+ export const HiddenInput: React.FC<amotify.fn.Input.Hidden.PlainParams> = ( params ) => {
2
3
  let {
3
4
  componentID = '',
4
5
  form,
@@ -6,7 +7,7 @@ export const HiddenInput: FNC<amotify.fn.Input.Hidden.PlainParams> = ( params )
6
7
  ...others
7
8
  } = params;
8
9
 
9
- return ( <input
10
+ return <input
10
11
  value={ JSON.stringify( value ) }
11
12
  data-input-type={ 'hidden' }
12
13
  data-form={ form }
@@ -14,5 +15,5 @@ export const HiddenInput: FNC<amotify.fn.Input.Hidden.PlainParams> = ( params )
14
15
  data-value={ JSON.stringify( value ) }
15
16
  { ...others }
16
17
  type='hidden'
17
- /> );
18
+ />;
18
19
  }
@@ -1,19 +1,15 @@
1
1
  import {
2
2
  React
3
- } from '~/Global/@export';
4
- const {
5
- useState
6
- } = React;
7
-
3
+ } from '@global';
8
4
  import {
9
5
  Box,
10
6
  Flex,
11
7
  FAIcon
12
- } from '~/Atoms/@export';
8
+ } from '@atoms';
13
9
  import {
14
10
  Input,
15
11
  Buttons
16
- } from '~/Functions/@export';
12
+ } from '@fn';
17
13
  import {
18
14
  BoxWrapper,
19
15
  CommonEffects,
@@ -53,7 +49,7 @@ function DefaultValidation( props: {
53
49
  }
54
50
  }
55
51
 
56
- export const ListInput: FNC<amotify.fn.Input.List.OriginParams> = ( props ) => {
52
+ export const ListInput: React.FC<amotify.fn.Input.List.OriginParams> = ( props ) => {
57
53
  let { value,options = [] } = props;
58
54
  let Values = $.is.exist( value ) ? $.flatArray( value ) : [];
59
55
  let DefaultOptions = options.map( ( option ) => {
@@ -80,7 +76,7 @@ export const ListInput: FNC<amotify.fn.Input.List.OriginParams> = ( props ) => {
80
76
  />;
81
77
  }
82
78
 
83
- const Core: FNC<amotify.fn.Input.List.OriginParams> = ( params ) => {
79
+ const Core: React.FC<amotify.fn.Input.List.OriginParams> = ( params ) => {
84
80
  let {
85
81
  type,
86
82
  tone,
@@ -114,8 +110,8 @@ const Core: FNC<amotify.fn.Input.List.OriginParams> = ( params ) => {
114
110
  eventType: 'init',
115
111
  eventID: $.uuidGen()
116
112
  }
117
- let [ val_status,set_status ] = useState( Default_Status );
118
- let [ val_validate,set_validate ] = useState( {
113
+ let [ val_status,set_status ] = React.useState( Default_Status );
114
+ let [ val_validate,set_validate ] = React.useState( {
119
115
  ok: false,
120
116
  notice: []
121
117
  } as amotify.fn.Input.Validation.Result );
@@ -153,7 +149,7 @@ const Core: FNC<amotify.fn.Input.List.OriginParams> = ( params ) => {
153
149
  </BoxWrapper> );
154
150
  }
155
151
 
156
- const CellList: FNC<{
152
+ const CellList: React.FC<{
157
153
  params: amotify.fn.Input.List.OriginParams
158
154
  val_status: amotify.fn.Input.Status.Plain
159
155
  set_status: React.Dispatch<React.SetStateAction<amotify.fn.Input.Status.Plain>>
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .CellBase {
3
3
  &.HideInput_true .Input {
4
4
  display: none;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  React
3
- } from '~/Global/@export';
3
+ } from '@global';
4
4
 
5
5
  import { ListInputs } from '../_';
6
6
 
@@ -168,7 +168,7 @@ type CoreParams = amotify.fn.Input.Segmented.Params & {
168
168
  appearance: amotify.fn.Input.Segmented.Tones
169
169
  }
170
170
 
171
- const Core: FNC<CoreParams> = ( params ) => {
171
+ const Core: React.FC<CoreParams> = ( params ) => {
172
172
  let {
173
173
  tone,
174
174
  appearance,
@@ -1,5 +1,5 @@
1
- @use 'src/@styles/props' as *;
2
- @use'src/@styles/styleSet' as *;
1
+ @use '@props' as *;
2
+ @use'@styleSet' as *;
3
3
  .Label {
4
4
  user-select: none;
5
5
  -webkit-user-select: none;
@@ -1,13 +1,10 @@
1
1
  import {
2
2
  React,
3
- } from '~/Global/@export';
4
- const {
5
- useState
6
- } = React;
3
+ } from '@global';
7
4
 
8
5
  import {
9
6
  Box
10
- } from '~/Atoms/@export';
7
+ } from '@atoms';
11
8
  import {
12
9
  BoxWrapper,
13
10
  SubmitForm,
@@ -16,7 +13,7 @@ import {
16
13
  } from '../core';
17
14
  import {
18
15
  Buttons
19
- } from '~/Functions/@export';
16
+ } from '@fn';
20
17
 
21
18
 
22
19
  import style from './style.module.scss';
@@ -48,7 +45,7 @@ function DefaultValidation( props: {
48
45
  }
49
46
  }
50
47
 
51
- export const SelectInput: FNC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
48
+ export const SelectInput: React.FC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
52
49
  let {
53
50
  value = null,
54
51
  placeholder,
@@ -80,7 +77,7 @@ export const SelectInput: FNC<amotify.fn.Input.Select.PlainParams> = ( params )
80
77
  );
81
78
  }
82
79
 
83
- const Core: FNC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
80
+ const Core: React.FC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
84
81
  let {
85
82
  tone,
86
83
  required,
@@ -110,8 +107,8 @@ const Core: FNC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
110
107
  eventType: 'init',
111
108
  eventID: $.uuidGen()
112
109
  }
113
- let [ val_status,set_status ] = useState( Default_Status );
114
- let [ val_validate,set_validate ] = useState( {
110
+ let [ val_status,set_status ] = React.useState( Default_Status );
111
+ let [ val_validate,set_validate ] = React.useState( {
115
112
  ok: false,
116
113
  notice: []
117
114
  } as amotify.fn.Input.Validation.Result );
@@ -187,7 +184,7 @@ const Core: FNC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
187
184
  </BoxWrapper> );
188
185
  }
189
186
 
190
- const Options: FNC<{ params: amotify.fn.Input.Select.PlainParams }> = ( props ) => {
187
+ const Options: React.FC<{ params: amotify.fn.Input.Select.PlainParams }> = ( props ) => {
191
188
  let {
192
189
  value,
193
190
  options = [],
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Select {
3
3
  position: absolute;
4
4
  top: 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
7
  Flex,
7
- } from '~/Atoms/@export';
8
+ } from '@atoms';
8
9
  import {
9
10
  Input,
10
11
  Buttons
11
- } from '~/Functions/@export';
12
+ } from '@fn';
12
13
 
13
14
  import {
14
15
  BoxWrapper,
@@ -16,10 +17,6 @@ import {
16
17
  CommonEffects
17
18
  } from '../core';
18
19
  import style from './style.module.scss';
19
- const {
20
- useState,
21
- useEffect
22
- } = React;
23
20
 
24
21
  function DefaultValidation( props: {
25
22
  value: any
@@ -68,7 +65,7 @@ const DataLeveling: {
68
65
  };
69
66
  }
70
67
 
71
- export const SliderInput: FNC<amotify.fn.Input.Slider.PlainParams> = ( params ) => {
68
+ export const SliderInput: React.FC<amotify.fn.Input.Slider.PlainParams> = ( params ) => {
72
69
  let {
73
70
  color = 'theme',
74
71
  required,
@@ -100,8 +97,8 @@ export const SliderInput: FNC<amotify.fn.Input.Slider.PlainParams> = ( params )
100
97
  eventType: 'init',
101
98
  eventID: $.uuidGen(),
102
99
  }
103
- let [ val_status,set_status ] = useState( Default_Status );
104
- let [ val_validate,set_validate ] = useState( {
100
+ let [ val_status,set_status ] = React.useState( Default_Status );
101
+ let [ val_validate,set_validate ] = React.useState( {
105
102
  ok: false,
106
103
  notice: []
107
104
  } as amotify.fn.Input.Validation.Result );
@@ -224,7 +221,7 @@ const Comps = {
224
221
  /> );
225
222
  }
226
223
 
227
- useEffect( () => {
224
+ React.useEffect( () => {
228
225
  const LabelLeveling = () => {
229
226
  let Labels = $( '#Labels-' + componentID );
230
227
  let {
@@ -1,5 +1,5 @@
1
- @use 'src/@styles/props' as *;
2
- @use'src/@styles/styleSet' as *;
1
+ @use '@props' as *;
2
+ @use'@styleSet' as *;
3
3
  .Label {
4
4
  &:before {
5
5
  content: "";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  React
3
- } from '~/Global/@export';
3
+ } from '@global';
4
4
  import {
5
5
  Box,
6
6
  FAIcon
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
  Buttons
13
- } from '~/Functions/@export';
13
+ } from '@fn';
14
14
  import {
15
15
  BoxWrapper,
16
16
  SubmitForm,
@@ -19,10 +19,6 @@ import {
19
19
  } from '../core';
20
20
  import style from './style.module.scss';
21
21
 
22
- const {
23
- useState
24
- } = React;
25
-
26
22
  function DefaultValidation( props: {
27
23
  value: any
28
24
  params: any
@@ -41,7 +37,7 @@ function DefaultValidation( props: {
41
37
  }
42
38
  }
43
39
 
44
- export const SwitchInput: FNC<amotify.fn.Input.Switch.PlainParams> = ( params ) => {
40
+ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( params ) => {
45
41
  let {
46
42
  componentID,
47
43
  color = 'posi',
@@ -68,8 +64,8 @@ export const SwitchInput: FNC<amotify.fn.Input.Switch.PlainParams> = ( params )
68
64
  eventType: 'init',
69
65
  eventID: $.uuidGen()
70
66
  }
71
- let [ val_status,set_status ] = useState( Default_Status );
72
- let [ val_validate,set_validate ] = useState( {
67
+ let [ val_status,set_status ] = React.useState( Default_Status );
68
+ let [ val_validate,set_validate ] = React.useState( {
73
69
  ok: false,
74
70
  notice: []
75
71
  } as amotify.fn.Input.Validation.Result );
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Input {
3
3
  position: absolute;
4
4
  height: 0;
@@ -1,14 +1,9 @@
1
1
  import {
2
2
  React,
3
- } from '~/Global/@export';
4
- const {
5
- useEffect,
6
- useState,
7
- } = React;
8
-
3
+ } from '@global';
9
4
  import {
10
5
  Box,
11
- } from '~/Atoms/@export';
6
+ } from '@atoms';
12
7
 
13
8
  import {
14
9
  BoxWrapper,
@@ -251,7 +246,7 @@ function DefaultValidation( props: {
251
246
  }
252
247
  }
253
248
 
254
- export const TextInput: FNC<amotify.fn.Input.Text.OriginParams> = ( params ) => {
249
+ export const TextInput: React.FC<amotify.fn.Input.Text.OriginParams> = ( params ) => {
255
250
  let {
256
251
  componentID,
257
252
  tone,
@@ -294,8 +289,8 @@ export const TextInput: FNC<amotify.fn.Input.Text.OriginParams> = ( params ) =>
294
289
  caretFrom: null as any,
295
290
  caretTo: null as any
296
291
  }
297
- let [ val_status,set_status ] = useState( Default_Status );
298
- let [ val_validate,set_validate ] = useState( {
292
+ let [ val_status,set_status ] = React.useState( Default_Status );
293
+ let [ val_validate,set_validate ] = React.useState( {
299
294
  ok: false,
300
295
  notice: []
301
296
  } as amotify.fn.Input.Validation.Result );
@@ -318,7 +313,7 @@ export const TextInput: FNC<amotify.fn.Input.Text.OriginParams> = ( params ) =>
318
313
  }
319
314
  } );
320
315
 
321
- useEffect( () => {
316
+ React.useEffect( () => {
322
317
  setSelection( { id: params.id,restrict,val_status } );
323
318
  },[ val_status ] );
324
319
 
@@ -1,10 +1,6 @@
1
1
  import {
2
2
  React,
3
- } from '~/Global/@export';
4
- const {
5
- useState
6
- } = React;
7
-
3
+ } from '@global';
8
4
  import {
9
5
  BoxWrapper,
10
6
  SubmitForm,
@@ -32,7 +28,7 @@ function DefaultValidation( props: {
32
28
  }
33
29
  }
34
30
 
35
- export const TextAreaInput: FNC<amotify.fn.Input.TextArea.PlainParams> = ( params ) => {
31
+ export const TextAreaInput: React.FC<amotify.fn.Input.TextArea.PlainParams> = ( params ) => {
36
32
  let {
37
33
  componentID,
38
34
  tone,
@@ -58,8 +54,8 @@ export const TextAreaInput: FNC<amotify.fn.Input.TextArea.PlainParams> = ( param
58
54
  eventType: 'init',
59
55
  eventID: $.uuidGen()
60
56
  }
61
- let [ val_status,set_status ] = useState( Default_Status );
62
- let [ val_validate,set_validate ] = useState( {
57
+ let [ val_status,set_status ] = React.useState( Default_Status );
58
+ let [ val_validate,set_validate ] = React.useState( {
63
59
  ok: false,
64
60
  notice: []
65
61
  } as amotify.fn.Input.Validation.Result );
@@ -1,27 +1,22 @@
1
1
  import {
2
2
  React
3
- } from '~/Global/@export';
3
+ } from '@global';
4
4
  import {
5
5
  Grid,
6
6
  Box,
7
7
  Flex,
8
8
  FAIcon
9
- } from '~/Atoms/@export';
9
+ } from '@atoms';
10
10
  import {
11
11
  Column,
12
12
  Row,
13
13
  Text
14
- } from '~/Molecules/@export';
14
+ } from '@mols';
15
15
  import {
16
16
  Buttons,
17
17
  Input,
18
18
  Tooltips
19
- } from '~/Functions/@export';
20
- const {
21
- useEffect,
22
- useRef,
23
- useState
24
- } = React;
19
+ } from '@fn';
25
20
 
26
21
  import style from './style.module.scss';
27
22
 
@@ -70,7 +65,7 @@ type SendParams<T> = amotify.fn.Input.Time.PickerParams & {
70
65
  set_value: React.Dispatch<React.SetStateAction<T>>
71
66
  }
72
67
 
73
- export const Picker: FNC<amotify.fn.Input.Time.PickerParams> = ( params ) => {
68
+ export const Picker: React.FC<amotify.fn.Input.Time.PickerParams> = ( params ) => {
74
69
  let {
75
70
  restrict,
76
71
  defaultValue = ''
@@ -78,9 +73,9 @@ export const Picker: FNC<amotify.fn.Input.Time.PickerParams> = ( params ) => {
78
73
 
79
74
  params.tipsID = params.tipsID || $.uuidGen();
80
75
 
81
- const mounted = useRef( false );
76
+ const mounted = React.useRef( false );
82
77
 
83
- let [ val_value,set_value ] = useState( ( () => {
78
+ let [ val_value,set_value ] = React.useState( ( () => {
84
79
  if ( restrict == 'clock' ) {
85
80
  let partValues: any = String( defaultValue ).split( /[^\d]/ );
86
81
 
@@ -133,7 +128,7 @@ export const Picker: FNC<amotify.fn.Input.Time.PickerParams> = ( params ) => {
133
128
  return {}
134
129
  } )() as any );
135
130
 
136
- useEffect( () => {
131
+ React.useEffect( () => {
137
132
  if ( mounted.current ) {
138
133
  if ( val_value.modifiedType == 'update' ) {
139
134
  let sendValue = '';
@@ -209,10 +204,10 @@ const Comps = {
209
204
  set_value
210
205
  } = params;
211
206
 
212
- let [ val_ampm,set_ampm ] = useState( val_value.hour > 12 ? 2 : 1 );
213
- let [ val_unit,set_unit ] = useState( Number( localStorage.getItem( 'timePickerUnit' ) || 5 ) );
207
+ let [ val_ampm,set_ampm ] = React.useState( val_value.hour > 12 ? 2 : 1 );
208
+ let [ val_unit,set_unit ] = React.useState( Number( localStorage.getItem( 'timePickerUnit' ) || 5 ) );
214
209
 
215
- useEffect( () => {
210
+ React.useEffect( () => {
216
211
  localStorage.setItem( 'timePickerUnit',String( val_unit ) );
217
212
  },[ val_unit ] );
218
213