amotify 0.0.65 → 0.0.67

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 (275) hide show
  1. package/dist/amotify.js +3 -2
  2. package/dist/amotify.min.css +2 -2
  3. package/dist/coreVender.js +14 -2
  4. package/dist/node_modules/@fortawesome/free-regular-svg-icons/faCalendarAlt.d.ts +7 -0
  5. package/dist/node_modules/@fortawesome/free-regular-svg-icons/faCalendarDays.d.ts +14 -0
  6. package/dist/node_modules/@fortawesome/free-regular-svg-icons/faClock.d.ts +14 -0
  7. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleDown.d.ts +14 -0
  8. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleLeft.d.ts +14 -0
  9. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleRight.d.ts +14 -0
  10. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleUp.d.ts +14 -0
  11. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowDown.d.ts +14 -0
  12. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowLeft.d.ts +14 -0
  13. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowRight.d.ts +14 -0
  14. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowRotateRight.d.ts +14 -0
  15. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowUp.d.ts +14 -0
  16. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faBars.d.ts +14 -0
  17. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faBarsStaggered.d.ts +14 -0
  18. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretDown.d.ts +14 -0
  19. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretLeft.d.ts +14 -0
  20. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretRight.d.ts +14 -0
  21. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretUp.d.ts +14 -0
  22. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCheck.d.ts +14 -0
  23. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCheckCircle.d.ts +7 -0
  24. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronDown.d.ts +14 -0
  25. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronLeft.d.ts +14 -0
  26. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronRight.d.ts +14 -0
  27. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronUp.d.ts +14 -0
  28. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCircleCheck.d.ts +14 -0
  29. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCircleQuestion.d.ts +14 -0
  30. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCloudArrowUp.d.ts +14 -0
  31. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCopy.d.ts +14 -0
  32. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faDownload.d.ts +14 -0
  33. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEdit.d.ts +7 -0
  34. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsis.d.ts +14 -0
  35. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisH.d.ts +7 -0
  36. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisV.d.ts +7 -0
  37. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisVertical.d.ts +14 -0
  38. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExclamation.d.ts +14 -0
  39. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExclamationTriangle.d.ts +7 -0
  40. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExternalLinkAlt.d.ts +7 -0
  41. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEye.d.ts +14 -0
  42. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faFile.d.ts +14 -0
  43. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faFilter.d.ts +14 -0
  44. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faGear.d.ts +14 -0
  45. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faGripVertical.d.ts +14 -0
  46. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHeart.d.ts +14 -0
  47. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHome.d.ts +7 -0
  48. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHouse.d.ts +14 -0
  49. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faImage.d.ts +14 -0
  50. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faLink.d.ts +14 -0
  51. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faLinkSlash.d.ts +14 -0
  52. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faMagnifyingGlass.d.ts +14 -0
  53. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faMinus.d.ts +14 -0
  54. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPalette.d.ts +14 -0
  55. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPaperPlane.d.ts +14 -0
  56. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPen.d.ts +14 -0
  57. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPenToSquare.d.ts +14 -0
  58. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPlus.d.ts +14 -0
  59. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faQuestion.d.ts +14 -0
  60. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faQuestionCircle.d.ts +7 -0
  61. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRedo.d.ts +7 -0
  62. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotate.d.ts +14 -0
  63. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotateLeft.d.ts +14 -0
  64. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotateRight.d.ts +14 -0
  65. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faSearch.d.ts +7 -0
  66. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faShare.d.ts +14 -0
  67. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faStar.d.ts +14 -0
  68. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTimes.d.ts +7 -0
  69. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTrashAlt.d.ts +7 -0
  70. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTrashCan.d.ts +14 -0
  71. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTriangleExclamation.d.ts +14 -0
  72. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faUpRightFromSquare.d.ts +14 -0
  73. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faUser.d.ts +14 -0
  74. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faXmark.d.ts +14 -0
  75. package/dist/node_modules/@fortawesome/free-solid-svg-icons/faYenSign.d.ts +14 -0
  76. package/dist/node_modules/@fortawesome/react-fontawesome/index.es.d.ts +2 -0
  77. package/dist/node_modules/@remix-run/router/dist/router.d.ts +317 -0
  78. package/dist/node_modules/css-loader/dist/runtime/api.d.ts +2 -0
  79. package/dist/node_modules/css-loader/dist/runtime/noSourceMaps.d.ts +2 -0
  80. package/dist/node_modules/jsmin-front/dist/jsmin.d.ts +3 -0
  81. package/dist/node_modules/prop-types/factoryWithThrowingShims.d.ts +86 -0
  82. package/dist/node_modules/prop-types/index.d.ts +2 -0
  83. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.d.ts +2 -0
  84. package/dist/node_modules/react/cjs/react.production.min.d.ts +116 -0
  85. package/dist/node_modules/react/index.d.ts +2 -0
  86. package/dist/node_modules/react-dom/cjs/react-dom.production.min.d.ts +37 -0
  87. package/dist/node_modules/react-dom/client.d.ts +2 -0
  88. package/dist/node_modules/react-dom/index.d.ts +2 -0
  89. package/dist/node_modules/react-router/dist/index.d.ts +241 -0
  90. package/dist/node_modules/react-router-dom/dist/index.d.ts +139 -0
  91. package/dist/node_modules/scheduler/cjs/scheduler.production.min.d.ts +20 -0
  92. package/dist/node_modules/scheduler/index.d.ts +2 -0
  93. package/dist/src/@atoms.d.ts +4 -0
  94. package/dist/src/@declations/_.d.ts +23 -0
  95. package/dist/src/@declations/amotify.d.ts +1358 -0
  96. package/dist/src/@declations/jsminAmotifyExtension.d.ts +132 -0
  97. package/dist/src/@declations/module.d.ts +1 -0
  98. package/dist/src/@declations/styles.d.ts +145 -0
  99. package/dist/src/@functions.d.ts +12 -0
  100. package/dist/src/@global.d.ts +23 -0
  101. package/dist/src/@jsminAmotifyExtension/_.d.ts +4 -0
  102. package/dist/src/@jsminAmotifyExtension/fetch.d.ts +1 -0
  103. package/dist/src/@jsminAmotifyExtension/formCollect.d.ts +1 -0
  104. package/dist/src/@jsminAmotifyExtension/spreadSheet.d.ts +4 -0
  105. package/dist/src/@jsminAmotifyExtension/variables.d.ts +1 -0
  106. package/dist/src/@molecules.d.ts +23 -0
  107. package/dist/src/@organisms.d.ts +1 -0
  108. package/dist/src/@templates.d.ts +2 -0
  109. package/dist/src/@variables.d.ts +8 -0
  110. package/dist/src/atoms/FAI/parts.d.ts +3 -0
  111. package/dist/src/atoms/Logo/parts.d.ts +2 -0
  112. package/dist/src/atoms/Various/parts.d.ts +11 -0
  113. package/dist/src/config.d.ts +19 -0
  114. package/dist/src/functions/Button/_.d.ts +2 -0
  115. package/dist/src/functions/Cropper/parts.d.ts +2 -0
  116. package/dist/src/functions/Effects/Fade.d.ts +2 -0
  117. package/dist/src/functions/Effects/Ripple.d.ts +1 -0
  118. package/dist/src/functions/Effects/_.d.ts +4 -0
  119. package/dist/src/functions/Input/Chips/Selector.d.ts +2 -0
  120. package/dist/src/functions/Input/Chips/_.d.ts +3 -0
  121. package/dist/src/functions/Input/Contenteditable.d.ts +4 -0
  122. package/dist/src/functions/Input/DigitCharacters.d.ts +4 -0
  123. package/dist/src/functions/Input/File/_.d.ts +3 -0
  124. package/dist/src/functions/Input/Hidden.d.ts +3 -0
  125. package/dist/src/functions/Input/List/_.d.ts +4 -0
  126. package/dist/src/functions/Input/RichSelect/_.d.ts +4 -0
  127. package/dist/src/functions/Input/Segmented/_.d.ts +2 -0
  128. package/dist/src/functions/Input/Select/_.d.ts +4 -0
  129. package/dist/src/functions/Input/Slider/_.d.ts +4 -0
  130. package/dist/src/functions/Input/Switch/_.d.ts +4 -0
  131. package/dist/src/functions/Input/Text.d.ts +8 -0
  132. package/dist/src/functions/Input/TextArea.d.ts +4 -0
  133. package/dist/src/functions/Input/Time/Picker.d.ts +4 -0
  134. package/dist/src/functions/Input/Time/_.d.ts +5 -0
  135. package/dist/src/functions/Input/_.d.ts +6 -0
  136. package/dist/src/functions/Input/core.d.ts +36 -0
  137. package/dist/src/functions/Inputs/_.d.ts +4 -0
  138. package/dist/src/functions/Inputs/text.d.ts +3 -0
  139. package/dist/src/functions/Layout/PageNotFound.d.ts +2 -0
  140. package/dist/src/functions/Layout/PageRouter.d.ts +4 -0
  141. package/dist/src/functions/Layout/PageViewController/parts.d.ts +4 -0
  142. package/dist/src/functions/Layout/Plate.d.ts +3 -0
  143. package/dist/src/functions/Layout/RootViewController/parts.d.ts +2 -0
  144. package/dist/src/functions/Layout/SwipeView/parts.d.ts +5 -0
  145. package/dist/src/functions/Layout/TabBar.d.ts +4 -0
  146. package/dist/src/functions/Layout/_.d.ts +3 -0
  147. package/dist/src/functions/Loader/corner.d.ts +3 -0
  148. package/dist/src/functions/Loader/mini.d.ts +7 -0
  149. package/dist/src/functions/Loader/parts.d.ts +4 -0
  150. package/dist/src/functions/Loader/top.d.ts +3 -0
  151. package/dist/src/functions/Sheet/parts.d.ts +3 -0
  152. package/dist/src/functions/SnackBar/parts.d.ts +3 -0
  153. package/dist/src/functions/Table/Data/parts.d.ts +6 -0
  154. package/dist/src/functions/Table/Drag/parts.d.ts +4 -0
  155. package/dist/src/functions/Table/Normal/parts.d.ts +3 -0
  156. package/dist/src/functions/Table/_.d.ts +10 -0
  157. package/dist/src/functions/Tooltips/parts.d.ts +3 -0
  158. package/dist/src/global/LaunchReactApplication.d.ts +3 -0
  159. package/dist/src/global/styleConverter.d.ts +3 -0
  160. package/dist/src/launch.d.ts +10 -0
  161. package/dist/src/molecules/Accordion/parts.d.ts +3 -0
  162. package/dist/src/molecules/LinkifyText/parts.d.ts +3 -0
  163. package/dist/src/molecules/List.d.ts +3 -0
  164. package/dist/src/templates/PlayGround/parts.d.ts +2 -0
  165. package/package.json +10 -10
  166. package/tsconfig.json +14 -7
  167. package/@types/_.tsx +0 -7
  168. package/@types/amot.tsx +0 -355
  169. package/@types/fn.tsx +0 -1280
  170. package/@types/jsminAmotifyExtension.tsx +0 -137
  171. package/@types/module.tsx +0 -1
  172. package/@types/state.tsx +0 -231
  173. package/src/@atoms.tsx +0 -34
  174. package/src/@functions.tsx +0 -29
  175. package/src/@global.tsx +0 -145
  176. package/src/@jsminAmotifyExtension/_.tsx +0 -4
  177. package/src/@jsminAmotifyExtension/fetch.tsx +0 -110
  178. package/src/@jsminAmotifyExtension/formCollect.tsx +0 -94
  179. package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -165
  180. package/src/@jsminAmotifyExtension/variables.tsx +0 -137
  181. package/src/@molecules.tsx +0 -96
  182. package/src/@organisms.tsx +0 -1
  183. package/src/@reactPacks/reactProduction@18.2.0.js +0 -79
  184. package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +0 -31
  185. package/src/@styles/@app.scss +0 -4
  186. package/src/@styles/UniStyling.scss +0 -1028
  187. package/src/@styles/init.scss +0 -94
  188. package/src/@styles/props.scss +0 -109
  189. package/src/@styles/styleSet.scss +0 -38
  190. package/src/@styles/themeColor.scss +0 -71
  191. package/src/@styles/var.scss +0 -182
  192. package/src/@templates.tsx +0 -7
  193. package/src/@variables.tsx +0 -74
  194. package/src/atoms/FAI/parts.tsx +0 -139
  195. package/src/atoms/Logo/parts.tsx +0 -335
  196. package/src/atoms/Logo/style.module.scss +0 -96
  197. package/src/atoms/Various/parts.tsx +0 -159
  198. package/src/atoms/Various/style.module.scss +0 -46
  199. package/src/config.tsx +0 -191
  200. package/src/functions/Button/_.tsx +0 -331
  201. package/src/functions/Button/style.module.scss +0 -157
  202. package/src/functions/Cropper/parts.tsx +0 -1084
  203. package/src/functions/Cropper/style.module.scss +0 -64
  204. package/src/functions/Effects/Fade.tsx +0 -76
  205. package/src/functions/Effects/Ripple.tsx +0 -141
  206. package/src/functions/Effects/_.tsx +0 -33
  207. package/src/functions/Effects/style.module.scss +0 -91
  208. package/src/functions/Input/Chips/Selector.tsx +0 -445
  209. package/src/functions/Input/Chips/_.tsx +0 -289
  210. package/src/functions/Input/Chips/style.module.scss +0 -6
  211. package/src/functions/Input/Contenteditable.tsx +0 -114
  212. package/src/functions/Input/DigitCharacters.tsx +0 -235
  213. package/src/functions/Input/File/_.tsx +0 -553
  214. package/src/functions/Input/File/style.module.scss +0 -34
  215. package/src/functions/Input/Hidden.tsx +0 -21
  216. package/src/functions/Input/List/_.tsx +0 -383
  217. package/src/functions/Input/List/style.module.scss +0 -84
  218. package/src/functions/Input/RichSelect/_.tsx +0 -230
  219. package/src/functions/Input/RichSelect/style.module.scss +0 -11
  220. package/src/functions/Input/Segmented/_.tsx +0 -246
  221. package/src/functions/Input/Segmented/style.module.scss +0 -81
  222. package/src/functions/Input/Select/_.tsx +0 -218
  223. package/src/functions/Input/Select/style.module.scss +0 -11
  224. package/src/functions/Input/Slider/_.tsx +0 -524
  225. package/src/functions/Input/Slider/style.module.scss +0 -67
  226. package/src/functions/Input/Switch/_.tsx +0 -176
  227. package/src/functions/Input/Switch/style.module.scss +0 -18
  228. package/src/functions/Input/Text.tsx +0 -487
  229. package/src/functions/Input/TextArea.tsx +0 -109
  230. package/src/functions/Input/Time/Picker.tsx +0 -1361
  231. package/src/functions/Input/Time/_.tsx +0 -749
  232. package/src/functions/Input/Time/style.module.scss +0 -79
  233. package/src/functions/Input/_.tsx +0 -881
  234. package/src/functions/Input/core.tsx +0 -473
  235. package/src/functions/Input/style.module.scss +0 -102
  236. package/src/functions/Inputs/_.tsx +0 -5
  237. package/src/functions/Inputs/style.module.scss +0 -15
  238. package/src/functions/Inputs/text.tsx +0 -53
  239. package/src/functions/Inputs/types.d.ts +0 -13
  240. package/src/functions/Layout/PageNotFound.tsx +0 -78
  241. package/src/functions/Layout/PageRouter.tsx +0 -89
  242. package/src/functions/Layout/PageViewController/parts.tsx +0 -27
  243. package/src/functions/Layout/Plate.tsx +0 -30
  244. package/src/functions/Layout/RootViewController/parts.tsx +0 -300
  245. package/src/functions/Layout/RootViewController/style.module.scss +0 -23
  246. package/src/functions/Layout/SwipeView/parts.tsx +0 -375
  247. package/src/functions/Layout/SwipeView/style.module.scss +0 -20
  248. package/src/functions/Layout/TabBar.tsx +0 -60
  249. package/src/functions/Layout/_.tsx +0 -20
  250. package/src/functions/Loader/corner.tsx +0 -74
  251. package/src/functions/Loader/mini.tsx +0 -114
  252. package/src/functions/Loader/parts.tsx +0 -103
  253. package/src/functions/Loader/style.module.scss +0 -223
  254. package/src/functions/Loader/top.tsx +0 -84
  255. package/src/functions/Sheet/parts.tsx +0 -994
  256. package/src/functions/Sheet/style.module.scss +0 -208
  257. package/src/functions/SnackBar/parts.tsx +0 -215
  258. package/src/functions/SnackBar/style.module.scss +0 -25
  259. package/src/functions/Table/Data/parts.tsx +0 -965
  260. package/src/functions/Table/Drag/parts.tsx +0 -442
  261. package/src/functions/Table/Normal/parts.tsx +0 -124
  262. package/src/functions/Table/_.tsx +0 -177
  263. package/src/functions/Table/style.module.scss +0 -93
  264. package/src/functions/Tooltips/parts.tsx +0 -53
  265. package/src/global/LaunchReactApplication.tsx +0 -40
  266. package/src/global/styleConverter.tsx +0 -465
  267. package/src/launch.tsx +0 -117
  268. package/src/molecules/Accordion/parts.tsx +0 -146
  269. package/src/molecules/Accordion/style.module.scss +0 -13
  270. package/src/molecules/LinkifyText/parts.tsx +0 -52
  271. package/src/molecules/List.tsx +0 -31
  272. package/src/preload.tsx +0 -31
  273. package/src/templates/PlayGround/parts.tsx +0 -96
  274. package/src/templates/PlayGround/style.module.scss +0 -38
  275. package/webpack.config.js +0 -146
@@ -1,137 +0,0 @@
1
- export default { }
2
-
3
- declare global {
4
- // Fetch
5
- interface JsminExtension {
6
- fetch: {
7
- get: JsminExtension.Fetch.CoreParams
8
- post: JsminExtension.Fetch.CoreParams
9
- put: JsminExtension.Fetch.CoreParams
10
- options: JsminExtension.Fetch.CoreParams
11
- waitList: string[]
12
- defaultHeaders: plainObject
13
- defaultResultCallback?: {
14
- ( params: Jsmin.Fetch.Output ): void
15
- }
16
- }
17
- }
18
- namespace JsminExtension {
19
- namespace Fetch {
20
- type CoreParams = {
21
- ( params: JsminExtension.Fetch.Input,callback?: JsminExtension.Fetch.callback ): Promise<Jsmin.Fetch.Output>
22
- }
23
- type Input = {
24
- key?: string
25
- topLoader?: boolean
26
- cornerLoader?: boolean
27
- trafficControl?: number
28
- preventMultiRequest?: boolean
29
- } & Omit<Jsmin.Fetch.Input,'method'>
30
- type callback = {
31
- ( result: Jsmin.Fetch.Output ): void
32
- }
33
- }
34
- }
35
- // SpreadSheet
36
- interface JsminExtension {
37
- spreadSheet: {
38
- readFromFile( file: amotify.fn.Input.Filer.CustomFile ): Promise<JsminExtension.SpreadSheet.Method>
39
- readFromJson( v: JsminExtension.SpreadSheet.JsonTypes ): Promise<JsminExtension.SpreadSheet.Method>
40
- }
41
- }
42
- namespace JsminExtension {
43
- namespace SpreadSheet {
44
- interface Instance {
45
- fn: Method
46
- prototype: Method
47
-
48
- ( v: any,a: string ): any
49
- }
50
- interface Method {
51
- isValid(): boolean
52
- getWorkbook(): any
53
- updateFileName( fileName: string ): void
54
- updateMerges( merges: MergeTypes[][] ): void
55
- updateStyles( styles: StyleTypes[][] ): void
56
- toJson(): {
57
- fileName: string
58
- sheets: {
59
- sheetName: string
60
- rows: any[]
61
- }[]
62
- }
63
- export( type?: 'xlsx' | 'csv' ): void
64
- }
65
-
66
- type JsonTypes = {
67
- fileName: string
68
- sheets: SheetParams[]
69
- }
70
- type SheetParams = {
71
- sheetName: string
72
- rows: RowParams[]
73
- merges?: MergeTypes[]
74
- styles?: StyleTypes[]
75
- }
76
- type RowParams = ( string | number )[]
77
- type MergeTypes = [ string,string ] | [ null,null ]
78
- type StyleTypes = {
79
- type: 'cell' | 'row' | 'column'
80
- target: string | number | ( string | number )[]
81
- values: {
82
- [ key: string ]: any
83
- }
84
- }
85
- }
86
- }
87
-
88
- // Others
89
- interface JsminExtension {
90
- formCollect( form: string ): Promise<{
91
- valid: boolean
92
- data: plainObject
93
- }>
94
- NoticeHttpStatus( params: {
95
- status: number
96
- statusText: string
97
- label: ReactElement
98
- } & amotify.fn.SnackBar.AddParams ): void
99
-
100
- copyToClipboard( data: any,notice?:boolean ): Promise<{
101
- ok: boolean
102
- body: any
103
- }>
104
- getCurrentLocation: {
105
- (): Promise<JsminExtension.getCurrentLocationOutput>
106
- }
107
- CDNReader: {
108
- ( url: string ): void
109
- }
110
- ImageLoader: {
111
- ( dataUrl: string,img?: HTMLImageElement ): Promise<HTMLImageElement>
112
- }
113
- isJSXElement( v: any ): v is JSX.Element
114
- }
115
- namespace JsminExtension {
116
- type getCurrentLocationOutput = {
117
- ok: false
118
- status: number
119
- body: {
120
- reason: any
121
- }
122
- } | {
123
- ok: true
124
- status: 200
125
- body: {
126
- lat: number
127
- lng: number
128
- }
129
- }
130
-
131
- }
132
- type base64ToBlobTypeProps = 'image/png' | 'image/jpeg' | string
133
-
134
- interface String {
135
- zen2hanNumber(): string
136
- }
137
- }
package/@types/module.tsx DELETED
@@ -1 +0,0 @@
1
- declare module "*.scss"
package/@types/state.tsx DELETED
@@ -1,231 +0,0 @@
1
- export default {}
2
-
3
- declare global {
4
- type amotifyBasicElement = amotify.UniStyles.BasicTagParams & amotifyUniStyleParams
5
- type amotifyUniStyleParams = amotify.UniStyles.Params & {
6
- freeCSS?: React.CSSProperties
7
-
8
- UnderBreakPointStyles?: amotify.UniStyles.Params
9
- hoverStyles?: amotify.UniStyles.Params
10
- focusStyles?: amotify.UniStyles.Params
11
- activeStyles?: amotify.UniStyles.Params
12
-
13
- ssEffectsOnActive?: amotify.UniStyles.Others.EffectsOnActiveTypes | amotify.UniStyles.Others.EffectsOnActiveTypes[] | false
14
- ssPushable?: boolean
15
- ssLastChildLossBorder?: 'bottom' | 'right' | false
16
- }
17
- namespace amotify {
18
- namespace UniStyles {
19
- type BasicTagParams = {
20
- className?: string
21
- id?: string
22
- componentID?: string
23
- }
24
-
25
- type Params = Pargins.Params & Fonts.Params & Borders.Params & FlexGrids.Params & Sizes.Params & StyleSets.Params & {
26
- backgroundColor?: Others.BackgroundColorParams
27
- gradients?: {
28
- deg: number
29
- colors: string[]
30
- }
31
-
32
- // 0 => 0.thin
33
- // 1 => 0.normal
34
- // 2 => 1.remark
35
- // 3 => 3.remark
36
- // 4 => 4.remark
37
- // -1 => 0.remark.inset
38
- // -2 => 1.remark.inset
39
- // -3 => 2.remark.inset
40
- // boxShadow?: 0 | 1 | 2 | 3 | 4 | -1 | -2 | -3 | 'none' | 'borderBox'
41
- boxShadow?:
42
- '3.thin.inset' | '3.normal.inset' | '3.remark.inset' | '3.thick.inset' | '3.most.inset' |
43
- '2.thin.inset' | '2.normal.inset' | '2.remark.inset' | '2.thick.inset' | '2.most.inset' |
44
- '1.thin.inset' | '1.normal.inset' | '1.remark.inset' | '1.thick.inset' | '1.most.inset' |
45
- '0.thin.inset' | '0.normal.inset' | '0.remark.inset' | '0.thick.inset' | '0.most.inset' |
46
-
47
- '0.thin' | '0.normal' | '0.remark' | '0.thick' | '0.most' |
48
- '1.thin' | '1.normal' | '1.remark' | '1.thick' | '1.most' |
49
- '2.thin' | '2.normal' | '2.remark' | '2.thick' | '2.most' |
50
- '3.thin' | '3.normal' | '3.remark' | '3.thick' | '3.most' |
51
- '4.thin' | '4.normal' | '4.remark' | '4.thick' | '4.most' |
52
- '5.thin' | '5.normal' | '5.remark' | '5.thick' | '5.most' |
53
- 'none';
54
-
55
- display?: 'block' | 'none' | 'flex' | 'grid' | 'inlineBlock' | 'inlineFlex'
56
-
57
- gap?: Others.gapParams
58
- overflow?: Others.overflowParams
59
- position?: 'relative' | 'absolute' | 'fixed' | 'sticky' | 'static'
60
-
61
- top?: Others.TRBLParams | 'topBase' | 'topNavigationHeight'
62
- right?: Others.TRBLParams
63
- bottom?: Others.TRBLParams
64
- left?: Others.TRBLParams
65
-
66
- opacity?: 'trans' | 'few' | 'low' | 'middle' | 'high' | 'most'
67
-
68
- transition?: 'none' | 'short' | 'middle' | 'long'
69
- }
70
- namespace Pargins {
71
- type Params = {
72
- margin?: GroupParams
73
- marginTop?: UnitParams
74
- marginRight?: UnitParams
75
- marginBottom?: UnitParams
76
- marginLeft?: UnitParams
77
-
78
- padding?: GroupParams
79
- paddingTop?: UnitParams
80
- paddingRight?: UnitParams
81
- paddingBottom?: UnitParams
82
- paddingLeft?: UnitParams
83
- }
84
-
85
- type UnitParams =
86
- 0 | '1/12' | '1/6' | '1/4' | '1/3' | '1/2' | '2/3' | '3/4' |
87
- 1 | 1.5 | 2 | 2.5 | 3 | 4 |
88
- 'auto' | 'safeAreaTop' | 'safeAreaBottom'
89
- type GroupParams = UnitParams | [ UnitParams,UnitParams ] | [ UnitParams,UnitParams,UnitParams,UnitParams ]
90
- }
91
- namespace Borders {
92
- type Params = {
93
- border?: BorderParams
94
- borderTop?: BorderParams
95
- borderRight?: BorderParams
96
- borderBottom?: BorderParams
97
- borderLeft?: BorderParams
98
-
99
- borderWidth?: WidthParams
100
- borderColor?: ColorParams
101
- borderStyle?: StyleParams
102
-
103
- borderRadius?: RadiusParams
104
- borderTopLeftRadius?: RadiusParams
105
- borderTopRightRadius?: RadiusParams
106
- borderBottomLeftRadius?: RadiusParams
107
- borderBottomRightRadius?: RadiusParams
108
- }
109
- type BorderParams = boolean | '0.trans' | '1.thin' | '2.normal' | '3.strong' | 'unset'
110
- type WidthParams = 0 | 1 | 2 | 3 | 4
111
- type ColorParams = '0.trans' | '1.thin' | '2.normal' | '3.strong' | 'theme' | 'posi' | 'nega' | 'warn' | 'white'
112
- type StyleParams = 'solid' | 'dashed' | 'double' | 'dotted' | 'none'
113
- type RadiusParams = 0 | '1/3' | '2/3' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 'sphere' | 'inherit' |
114
- '1.tone.primary' | '2.tone.secondary' | '3.tone.tertiary'
115
- }
116
- namespace FlexGrids {
117
- type Params = {
118
- flexSizing?: 'none' | 'auto' | 0
119
- flexWrap?: boolean
120
- flexCenter?: boolean
121
- flexType?: TypeParams
122
- flexChilds?: 'even' | 'auto' | 'none' | 'unset'
123
- flexGrid?: GridParams
124
- flexNewLine?: boolean
125
- verticalAlign?: VerticalAlignParams
126
- horizontalAlign?: HorizontalAlignParams
127
-
128
- gridCenter?: boolean
129
- gridCols?: GridColsParams
130
- }
131
-
132
- type TypeParams = 'row' | 'row-r' | 'col' | 'col-r'
133
- type VerticalAlignParams = 'center' | 'top' | 'bottom' | 'baseline' | 'unset'
134
- type HorizontalAlignParams = 'center' | 'left' | 'right' | 'between' | 'around' | 'even' | 'unset'
135
- type GridParams = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'unset'
136
-
137
- type GridColsParams = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
138
- }
139
- namespace Fonts {
140
- type Params = {
141
- fontColor?: ColorParams
142
- fontSize?: SizeParams
143
- fontWeight?: WeightParams
144
-
145
- isLightFont?: boolean
146
- isSemiBoldFont?: boolean
147
- isBoldFont?: boolean
148
-
149
- isRounded?: boolean
150
-
151
- textAlign?: 'left' | 'center' | 'right'
152
- }
153
- type WeightParams = '0.thin' | '1.light' | '2.normal' | '3.semiBold' | '4.bold' | '5.extraBold' | 'inherit' | 'lighter' | 'bolder'
154
- type ColorParams =
155
- Others.UniColors |
156
- '1.clear' | '2.normal' | '3.blur' | '4.thin' | '5.translucent' | '6.clear' |
157
- 'mono' | 'monoSecond' | 'logo' | 'trans'
158
- type SizeParams =
159
- '0.xs' |
160
- '1.mini' |
161
- '2.normal' |
162
- '3.paragraph' |
163
- '4.thirdTitle' |
164
- '5.subTitle' |
165
- '6.title' |
166
- '7.landing' |
167
- '8.xl' | 'inherit'
168
- }
169
- namespace Sizes {
170
- type Params = {
171
- maxHeight?: 0 | 1 | 'viewHeight' | 'topNavigationHeight' | 'sideNavigationHeight' | 'contentHeight' | 'unset'
172
- minHeight?: 0 | 1 | 'viewHeight' | 'topNavigationHeight' | 'sideNavigationHeight' | 'contentHeight' | 'unset'
173
- minWidth?: 0 | 1 | 'unset'
174
- maxWidth?: 0 | 1 | 'unset'
175
-
176
- unitWidth?: SizeParams
177
- unitHeight?: SizeParams
178
- width?: 0 | 1 | 'viewWidth' | 'auto'
179
- height?: 0 | 1 | 'viewHeight' | 'topNavigationHeight' | 'sideNavigationHeight' | 'contentHeight' | 'auto'
180
- }
181
-
182
- type SizeParams = 0 | '1/12' | '1/6' | '1/4' | '1/3' | '1/2' | '2/3' | '3/4' | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 6 | 8 | 12 | 'unset'
183
- }
184
- namespace StyleSets {
185
- type Params = {
186
- ssCardBox?: boolean | 'border' | 'layer' | 'cloud' | 'shadow'
187
- ssSphere?: Sizes.SizeParams
188
- ssSquare?: Sizes.SizeParams
189
- ssAbsoluteCovered?: boolean
190
- ssTextEllipsis?: boolean
191
- }
192
- }
193
- namespace Others {
194
- type gapUnitParams = 0 | '1/12' | '1/6' | '1/4' | '1/3' | '1/2' | '2/3' | '3/4' | 1 | 1.5 | 2 | 2.5 | 3 | 4
195
- type gapParams = gapUnitParams | [ gapUnitParams,gapUnitParams ]
196
-
197
- type overflowUnitParams = 'auto' | 'hidden' | 'scroll' | 'visible' | 'unset'
198
- type overflowParams = overflowUnitParams | [ overflowUnitParams,overflowUnitParams ]
199
-
200
- type UniColors = 'inherit' | 'theme' | 'posi' | 'nega' | 'warn' | 'white' | 'black' | amotify.ThemeColorTypes
201
- type BackgroundColorParams = UniColors |
202
- '1.layer.base' | '2.layer.cloud' | '3.layer.canvas' | '4.layer.darken' | '5.layer.darker' | '6.layer.darkest' |
203
- 'cloud' |
204
-
205
- 'lcOpFew' | 'lcOpLow' | 'lcOpMiddle' | 'lcOpHigh' |
206
- 'tcOpFew' | 'tcOpLow' | 'tcOpMiddle' | 'tcOpHigh' |
207
- 'tcLighten' | 'tcLighter' | 'tcLightest' |
208
- 'tcDarken' | 'tcDarker' | 'tcDarkest' |
209
- 'negaOpLow' | 'negaOpMiddle' |
210
- 'posiOpLow' | 'posiOpMiddle' |
211
- 'trans' | 'dark' | 'monoPrime' | 'monoSecond' | 'none'
212
-
213
- type TRBLParams =
214
- 0 | '1/12' | '1/6' | '1/4' | '1/3' | '1/2' | '2/3' | '3/4' |
215
- 1 | 2 | 3 | 4 |
216
- '50%' | '100%'
217
-
218
- type EffectsOnActiveTypes =
219
- 'ripple.white' |
220
- 'ripple.cloud' |
221
- 'ripple.theme' |
222
- 'push' |
223
- 'expand' |
224
- 'shrink' |
225
- 'pudding' |
226
- 'fade' |
227
- 'none'
228
- }
229
- }
230
- }
231
- }
package/src/@atoms.tsx DELETED
@@ -1,34 +0,0 @@
1
- import {
2
- Box,
3
- Span,
4
- Img,
5
- Flex,
6
- FlexBr,
7
- Grid,
8
- Paragraph,
9
- Placeholder
10
- } from './atoms/Various/parts'
11
-
12
- import {
13
- FAI
14
- } from './atoms/FAI/parts'
15
-
16
- import { Logo } from './atoms/Logo/parts'
17
-
18
- export {
19
- Flex,
20
- FlexBr,
21
-
22
- FAI,
23
-
24
- Placeholder,
25
-
26
- Grid,
27
-
28
- Logo,
29
-
30
- Box,
31
- Span,
32
- Paragraph,
33
- Img
34
- }
@@ -1,29 +0,0 @@
1
- import {
2
- Effects
3
- } from './functions/Effects/_'
4
-
5
- import { Buttons } from './functions/Button/_'
6
- import { Input } from './functions/Input/_'
7
- import { Inputs } from './functions/Inputs/_'
8
- import { Layout } from './functions/Layout/_'
9
- import { Table } from './functions/Table/_'
10
- import { Sheet } from './functions/Sheet/parts'
11
- import { SnackBar } from './functions/SnackBar/parts'
12
- import { Loader } from './functions/Loader/parts'
13
- import { Tooltips } from './functions/Tooltips/parts'
14
-
15
- import { Cropper } from './functions/Cropper/parts'
16
-
17
- export {
18
- Buttons,
19
- Input,
20
- Inputs,
21
- Table,
22
- Layout,
23
- Sheet,
24
- SnackBar,
25
- Loader,
26
- Tooltips,
27
- Effects,
28
- Cropper,
29
- }
package/src/@global.tsx DELETED
@@ -1,145 +0,0 @@
1
- import React from 'react'
2
- import ReactDOM from 'react-dom'
3
- import * as ReactRouterDOM from 'react-router-dom'
4
- import { launchID } from './@variables'
5
-
6
- import { LaunchReactApplication } from './global/LaunchReactApplication'
7
-
8
- export { launchID }
9
- const Inmemory: {
10
- [ key: string ]: {
11
- privateKey?: string
12
- value: any
13
- }
14
- } = {}
15
- const useStore: amotify.global.useStoreParams = {
16
- set: ( params ) => {
17
- let {
18
- key,
19
- value,
20
- privateKey
21
- } = params
22
- let Prev = Inmemory[ key ] || {}
23
- if ( Prev && Prev.privateKey && Prev.privateKey != privateKey ) return false
24
-
25
- Inmemory[ key ] = {
26
- privateKey,
27
- value
28
- }
29
- return true
30
- },
31
- update: ( params ) => {
32
- let {
33
- key,
34
- value,
35
- privateKey
36
- } = params
37
-
38
- let Prev = Inmemory[ key ] || {}
39
- if ( Prev && Prev.privateKey && Prev.privateKey != privateKey ) return false
40
-
41
- Inmemory[ key ] = {
42
- ...Inmemory[ key ],
43
- value: {
44
- ...Inmemory[ key ]?.value,
45
- ...value
46
- }
47
- }
48
- return true
49
- },
50
- get: ( key,privateKey ) => {
51
- let Data = Inmemory[ key ]
52
- if ( Data && Data.privateKey && Data.privateKey != privateKey ) return void 0
53
- return Data?.value
54
- },
55
- delete: ( key,privateKey ) => {
56
- let Data = Inmemory[ key ]
57
- if ( Data && Data.privateKey && Data.privateKey != privateKey ) return false
58
- delete Inmemory[ key ]
59
- return true
60
- }
61
- }
62
- const useRecycle: amotify.global.useRecycleParams = {
63
- set: ( key ) => {
64
- let [ val_recycleID ] = React.useState( $.uuidGen() )
65
- let [ val_refresh,set_refresh ] = React.useState( $.uuidGen() )
66
-
67
- useStore.set( {
68
- key: 'RecycleKey_' + val_recycleID,
69
- value: () => {
70
- set_refresh( $.uuidGen() )
71
- }
72
- } )
73
- useStore.update( {
74
- key: 'RecycleKeys_' + key,
75
- value: {
76
- keys: [
77
- ...useStore.get( 'RecycleKeys_' + key )?.keys || [],
78
- val_recycleID
79
- ]
80
- }
81
- } )
82
- return val_refresh
83
- },
84
- do: ( key ) => {
85
- let Keys = useStore.get( 'RecycleKeys_' + key )?.keys || []
86
-
87
- if ( !Keys.length ) return
88
- for ( let key of Keys ) {
89
- let receiver = useStore.get( 'RecycleKey_' + key )
90
- if ( receiver ) receiver()
91
- }
92
- }
93
- }
94
-
95
- const pageTransit: amotify.global.PageTransitParams = {
96
- open: ( url ) => {
97
- window.open( url )
98
- },
99
- pushSync: ( url ) => {
100
- window.location.href = url
101
- },
102
- pushAsync: ( url ) => {
103
- if ( url.match( /https?:\/\// ) ) {
104
- pageTransit.pushSync( url )
105
- return
106
- }
107
- let navigate = useStore.get( 'navigate' )
108
- navigate( url )
109
- },
110
- push: ( url,newTab ) => {
111
- if ( newTab ) {
112
- pageTransit.open( url )
113
- return
114
- }
115
- pageTransit.pushAsync( url )
116
- },
117
- back: () => {
118
- let navigate = useStore.get( 'navigate' )
119
- navigate( -1 )
120
- },
121
- }
122
-
123
- import {
124
- ReadStyleSet,
125
- ToClassName
126
- } from './global/styleConverter'
127
-
128
- const StyleConverter = {
129
- ReadStyleSet,
130
- ToClassName
131
- }
132
-
133
- if ( !global.React ) global.React = React
134
- if ( !global.ReactDOM ) global.ReactDOM = ReactDOM
135
-
136
- export {
137
- React,
138
- ReactDOM,
139
- ReactRouterDOM,
140
- pageTransit,
141
- useStore,
142
- useRecycle,
143
- StyleConverter,
144
- LaunchReactApplication
145
- }
@@ -1,4 +0,0 @@
1
- import './variables'
2
- import './fetch'
3
- import './formCollect'
4
- import './spreadSheet'
@@ -1,110 +0,0 @@
1
- import React from 'react'
2
-
3
- const fetcher = async ( params: JsminExtension.Fetch.Input & {
4
- method: string
5
- },callback?: JsminExtension.Fetch.callback ) => {
6
- let {
7
- method,
8
- key = $.uuidGen( 16 ),
9
- url = '',
10
- trafficControl = 500,
11
- // trafficControl = 1000,
12
- preventMultiRequest = true,
13
- topLoader = false,
14
- cornerLoader = true,
15
- ...Params
16
- } = params || {}
17
-
18
- let result: Jsmin.Fetch.Output = await ( async () => {
19
- let exist = $.fetch.waitList.includes( key )
20
-
21
- if ( preventMultiRequest && exist ) {
22
- return {
23
- ok: false,
24
- status: 405,
25
- statusText: 'NoAcceptedMultiRequests',
26
- body: 'NoAcceptedMultiRequests',
27
- requestTime: 0,
28
- rawData: null as any
29
- }
30
- }
31
-
32
- $.fetch.waitList = [ ...$.fetch.waitList,key ]
33
-
34
- if ( !url.match( /https?:/ ) ) {
35
- url = '/' + url.replace( /^\//,"" )
36
-
37
- Params.headers = {
38
- ...$.fetch.defaultHeaders || {},
39
- ...Params.headers || {}
40
- }
41
- }
42
-
43
- amotify.fn.Loader.fn.mini.active( params.key || '' )
44
- !topLoader || amotify.fn.Loader.fn.top.active()
45
- !cornerLoader || amotify.fn.Loader.fn.corner.active()
46
-
47
- let result = await $.ajax( {
48
- method,
49
- url,
50
- ...Params
51
- } )
52
-
53
- $.fetch.defaultResultCallback && $.fetch.defaultResultCallback( result )
54
-
55
- if ( trafficControl ) {
56
- let { requestTime } = result
57
- if ( requestTime <= trafficControl ) {
58
- let CoolDownTime = Number( trafficControl - requestTime )
59
- await ( () => {
60
- result.requestTime = trafficControl
61
- return new Promise( ( resolve,reject ) => {
62
- setTimeout( () => {
63
- resolve( void 0 )
64
- },CoolDownTime )
65
- } )
66
- } )()
67
- }
68
- }
69
-
70
- amotify.fn.Loader.fn.mini.stop( params.key || '' )
71
- !topLoader || amotify.fn.Loader.fn.top.stop()
72
- !cornerLoader || amotify.fn.Loader.fn.corner.stop()
73
- $.fetch.waitList.splice( $.fetch.waitList.findIndex( ( a ) => a == key ),1 )
74
- return result
75
- } )()
76
-
77
- if ( callback ) callback( result )
78
- return result
79
- }
80
-
81
- $.fetch = {
82
- get: async ( params,callback ) => {
83
- return await fetcher( { ...params,method: 'get' },callback )
84
- },
85
- post: async ( params,callback ) => {
86
- return await fetcher( { ...params,method: 'post' },callback )
87
- },
88
- options: async ( params,callback ) => {
89
- return await fetcher( { ...params,method: 'options' },callback )
90
- },
91
- put: async ( params,callback ) => {
92
- return await fetcher( { ...params,method: 'put' },callback )
93
- },
94
- waitList: [],
95
- defaultHeaders: {},
96
- defaultResultCallback: ( result ) => {
97
- let {
98
- status,
99
- statusText
100
- } = result
101
- if ( status == 500 ) {
102
- $.NoticeHttpStatus( {
103
- status,statusText,
104
- label: <>
105
- Internal Server Error
106
- </>
107
- } )
108
- }
109
- }
110
- }