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,94 +0,0 @@
1
- import {
2
- useStore
3
- } from '@global'
4
-
5
- let formProcess = false
6
- $.formCollect = async ( form ) => {
7
- if ( formProcess ) return {
8
- valid: false,
9
- data: {}
10
- }
11
-
12
- let focusElement: HTMLElement = document.activeElement as any
13
- if ( focusElement ) focusElement.blur()
14
-
15
- formProcess = true
16
- let Inputs = $( `[data-form="${ form }"]` ),
17
- totalValid = 1,
18
- Values: plainObject = {}
19
-
20
- for ( let index = 0; index < Inputs.length; index++ ) {
21
- let Input = Inputs[ index ]
22
-
23
- let { componentId = '' } = Input.dataset
24
- let componentData = useStore.get( componentId )
25
-
26
- if ( componentData && componentData.Refresh ) await componentData.Refresh()
27
-
28
- let {
29
- value: displayValue,
30
- name,
31
- checked,
32
- dataset: {
33
- value,
34
- name: dataName = '',
35
- inputType = '',
36
- validation
37
- }
38
- } = Inputs[ index ] as any
39
- let Value: any = value
40
-
41
- name = name || dataName
42
-
43
- validation = Number( ( validation ?? 'true' ) == 'true' )
44
-
45
- if ( inputType == 'hidden' ) {
46
- if ( Value ) Value = JSON.parse( Value )
47
- } else if ( [ 'radio','checkbox','checker' ].includes( inputType ) ) {
48
- if ( Value ) {
49
- Value = JSON.parse( Value )
50
- if ( $.is.array( Value ) ) {
51
- Value = Value.map( ( v ) => JSON.parse( v ) )
52
- } else {
53
- Value = JSON.parse( Value )
54
- }
55
- if ( inputType == 'radio' ) {
56
- Value = Value[ 0 ]
57
- }
58
- if ( inputType == 'checker' ) {
59
- Value = Boolean( Value[ 0 ] )
60
- }
61
- }
62
- } else if ( [ 'chips-single','chips-multi' ].includes( inputType ) ) {
63
- Value = JSON.parse( Value )
64
- if ( Value.length ) {
65
- if ( inputType == 'chips-single' ) Value = Value[ 0 ]
66
- }
67
- } else if ( inputType == 'time' ) {
68
- if ( Value ) Value = JSON.parse( Value )
69
- } else if ( inputType == 'select' ) {
70
- if ( Value ) Value = JSON.parse( Value )
71
- } else if ( inputType == 'richSelect' ) {
72
- if ( Value ) Value = JSON.parse( Value )
73
- } else if ( inputType == 'file' ) {
74
- if ( componentData ) {
75
- let files = componentData.Files
76
- Value = files
77
- }
78
- } else if ( inputType == 'slider' ) {
79
- if ( Value ) Value = JSON.parse( Value )
80
- } else if ( inputType == 'switch' ) {
81
- Value = checked | 0
82
- }
83
- let valid = ( validation ?? 1 ) | 0
84
- totalValid &= valid
85
-
86
- if ( validation ) Values[ name ] = Value
87
- }
88
-
89
- formProcess = false
90
- return {
91
- valid: Boolean( totalValid ),
92
- data: Values
93
- }
94
- }
@@ -1,165 +0,0 @@
1
- export { }
2
- import { publicURI } from '../launch'
3
-
4
- declare global {
5
- var ExcelJS: any
6
- }
7
- {
8
- const D: JsminExtension.SpreadSheet.Instance = ( wb,fn ) => {
9
- return new ( D.fn as any ).SpreadSheet( wb,fn )
10
- }
11
- D.fn = D.prototype = {} as any
12
- $.extend( {
13
- SpreadSheet: function ( workbook: JsminExtension.SpreadSheet.Method,fileName: string ) {
14
- this.ok = true
15
- try {
16
- this.workbook = workbook
17
- this.fileName = fileName
18
- } catch ( error ) {
19
- console.log( error )
20
- this.ok = false
21
- }
22
- return this
23
- },
24
- isValid: function () {
25
- return this.ok
26
- },
27
- getWorkbook: function () {
28
- return this.workbook
29
- },
30
- updateFileName: function ( fileName: string ) {
31
- this.fileName = fileName
32
- return this
33
- },
34
- updateMerges: function ( merges: JsminExtension.SpreadSheet.MergeTypes[][] ) {
35
- let json = this.toJson() as JsminExtension.SpreadSheet.JsonTypes
36
- json.sheets.forEach( ( sheet,index ) => {
37
- let sheetMerges = merges[ index ]
38
- const worksheet = this.workbook.getWorksheet( sheet.sheetName )
39
- for ( let [ from,to ] of sheetMerges ) {
40
- if ( from && to ) worksheet.mergeCells( from + ':' + to )
41
- }
42
- } )
43
- },
44
- updateStyles: function ( styles: JsminExtension.SpreadSheet.StyleTypes[][] ) {
45
- let json = this.toJson() as JsminExtension.SpreadSheet.JsonTypes
46
- json.sheets.forEach( ( sheet,index ) => {
47
- let sheetStyles = styles[ index ]
48
- const worksheet = this.workbook.getWorksheet( sheet.sheetName )
49
- for ( let style of sheetStyles ) {
50
- let {
51
- type,
52
- target,
53
- values
54
- } = style
55
- let Targets = $.flatArray( target )
56
-
57
- for ( let [ key,value ] of Object.entries( values ) )
58
- for ( let Target of Targets )
59
- worksheet[ 'get' + type.toCapital() ]( Target )[ key ] = value
60
- }
61
- } )
62
- },
63
- toJson: function () {
64
- let json: any = {
65
- fileName: this.fileName,
66
- sheets: []
67
- }
68
- this.workbook.eachSheet( ( sheet: any,id: any ) => {
69
- let sheetJson: any = {
70
- sheetName: sheet.name,
71
- rows: []
72
- }
73
- sheet.eachRow( ( row: any,rowIndex: any ) => {
74
- let [ emp,...values ] = row.values
75
- sheetJson.rows.push( values )
76
- } )
77
- json.sheets.push( sheetJson )
78
- } )
79
- return json
80
- },
81
- export: async function ( fileType?: 'xlsx' | 'csv' ) {
82
- fileType = fileType || 'xlsx'
83
-
84
- const uint8Array = await this.workbook[ fileType ].writeBuffer()
85
- const blob = new Blob( [ uint8Array ],{ type: 'application/octet-binary' } )
86
- const dummyAnchor = document.createElement( 'a' )
87
- dummyAnchor.href = ( window.URL || window.webkitURL ).createObjectURL( blob )
88
- dummyAnchor.download = this.fileName + '.' + fileType
89
- dummyAnchor.click()
90
- dummyAnchor.remove()
91
- },
92
- },D );
93
-
94
- ( D.fn as any ).SpreadSheet.prototype = D.fn;
95
- ( D.fn as any ).SpreadSheet.prototype.constructor = D;
96
-
97
- let cdn_excelJS = publicURI + '@env/@foreign/exceljs.min.js'
98
-
99
- $.spreadSheet = {
100
- readFromFile: async ( file ) => {
101
- if ( !window.ExcelJS ) await amotify.config.readExtraCDN( cdn_excelJS )
102
- if ( !window.ExcelJS ) return
103
- let fileType = file.type
104
- let fileName = file.name.replace( /\.[^/.]+$/,'' )
105
- if ( fileType.match( /csv/ ) ) {
106
- let csv = await file.text()
107
- const rows = csv.split( /[\n\r]+/ ).map( row => row.split( /,/ ) )
108
-
109
- const workbook = new ExcelJS.Workbook()
110
- const workSheet = workbook.addWorksheet( 'Sheet1' )
111
- rows.forEach( row => workSheet.addRow( row ) )
112
- return D( workbook,fileName )
113
- }
114
-
115
- const workbook = new ExcelJS.Workbook()
116
- const buffer = ( await file.read( 'binaryString' ) as any ).target.result
117
- return D( await workbook.xlsx.load( buffer ),fileName )
118
- },
119
- readFromJson: async ( params ) => {
120
- if ( !window.ExcelJS ) {
121
- await amotify.config.readExtraCDN( cdn_excelJS )
122
- }
123
- if ( !window.ExcelJS ) return
124
-
125
- let {
126
- sheets,
127
- fileName = ''
128
- } = params
129
- fileName = fileName || $.uuidGen()
130
-
131
- const workbook = new ExcelJS.Workbook()
132
-
133
- sheets.forEach( ( sheet,index ) => {
134
- let {
135
- sheetName,
136
- rows,
137
- merges = [],
138
- styles = []
139
- } = sheet
140
- sheetName = sheetName || 'シート' + ( index + 1 )
141
-
142
- workbook.addWorksheet( sheetName )
143
- const worksheet = workbook.getWorksheet( sheetName )
144
- worksheet.addRows( rows )
145
-
146
- for ( let [ from,to ] of merges )
147
- if ( from && to ) worksheet.mergeCells( from + ':' + to )
148
- for ( let style of styles ) {
149
- let {
150
- type,
151
- target,
152
- values
153
- } = style
154
- let Targets = $.flatArray( target )
155
-
156
- for ( let [ key,value ] of Object.entries( values ) )
157
- for ( let Target of Targets )
158
- worksheet[ 'get' + type.toCapital() ]( Target )[ key ] = value
159
- }
160
- } )
161
-
162
- return D( workbook,fileName )
163
- }
164
- }
165
- }
@@ -1,137 +0,0 @@
1
- import {
2
- React
3
- } from '@global'
4
-
5
- $.NoticeHttpStatus = ( params ) => {
6
- let {
7
- status,
8
- statusText,
9
- label,
10
- ...others
11
- } = params
12
-
13
- if ( status >= 400 ) {
14
- others = {
15
- backgroundColor: 'nega',
16
- ...others,
17
- }
18
- }
19
-
20
- amotify.fn.SnackBar.add( {
21
- children: <amotify.atoms.Box>
22
- <amotify.mols.Text.Paragraph>
23
- 通信ステータス : { status } { statusText }
24
- </amotify.mols.Text.Paragraph>
25
- <amotify.mols.Text.Normal>
26
- { label }
27
- </amotify.mols.Text.Normal>
28
- </amotify.atoms.Box>,
29
- ...others
30
- } )
31
- }
32
- $.copyToClipboard = async ( rawData,notice = true ) => {
33
- let data = ''
34
- if ( $.is.string( rawData ) ) data = rawData
35
- else if ( $.is.function( rawData ) ) data = rawData() as any
36
-
37
- let response = {
38
- ok: false,
39
- body: 'NotSupported'
40
- }
41
-
42
- await ( async () => {
43
- let result
44
- if ( navigator.clipboard ) {
45
- result = await navigator
46
- .clipboard
47
- .writeText( data )
48
- .then(
49
- () => true,
50
- () => false
51
- )
52
- if ( !result ) return
53
- } else {
54
- let input = document.createElement( 'input' )
55
- $( document.body ).append( input )
56
- input.value = data
57
- input.select()
58
- result = document.execCommand( 'copy' )
59
- document.body.removeChild( input )
60
-
61
- if ( !result ) return
62
- }
63
-
64
- if ( notice ) {
65
- amotify.fn.SnackBar.add( {
66
- children: 'クリップボードにコピーしました'
67
- } )
68
- }
69
-
70
- response = {
71
- ok: true,
72
- body: ''
73
- }
74
- } )()
75
-
76
- return response
77
- }
78
- $.isJSXElement = function ( v ): v is JSX.Element {
79
- return v.$$typeof === Symbol.for( 'react.element' )
80
- }
81
- $.getCurrentLocation = () => {
82
- return new Promise( ( resolve,reject ) => {
83
- navigator.geolocation.getCurrentPosition( ( position ) => {
84
- let {
85
- latitude,
86
- longitude
87
- } = position.coords
88
- resolve( {
89
- ok: true,
90
- status: 200,
91
- body: {
92
- lat: latitude,
93
- lng: longitude
94
- }
95
- } )
96
- },( error ) => {
97
- resolve( {
98
- ok: false,
99
- status: 500,
100
- body: {
101
- reason: error
102
- }
103
- } )
104
- } )
105
- } )
106
- }
107
- $.CDNReader = ( url ) => {
108
- return new Promise( ( resolve,reject ) => {
109
- let tag = document.createElement( 'script' )
110
- tag.src = url
111
- tag.addEventListener( 'load',() => {
112
- resolve( 'OK' )
113
- } )
114
- $( document.body ).append( tag )
115
- } )
116
- }
117
- $.ImageLoader = ( dataUrl,img ) => {
118
- return new Promise( ( resolve,reject ) => {
119
- let Img = img ? img : new Image()
120
- Img.onload = () => resolve( Img )
121
- Img.onerror = ( e ) => reject( e )
122
- Img.src = dataUrl
123
- } )
124
- }
125
- $.extend( {
126
- zen2hanNumber: function ( this: string ) {
127
- return this.replace( /[0-9]/g,function ( s: any ) {
128
- return String.fromCharCode( s.charCodeAt( 0 ) - 0xFEE0 )
129
- } )
130
- .replace( /[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,'-' )
131
- .replace( /¥/,'¥' )
132
- .replace( /、/,',' )
133
- .replace( /(/,'(' )
134
- .replace( /)/,')' )
135
- .replace( /+/,'+' )
136
- }
137
- },String )
@@ -1,96 +0,0 @@
1
- import React from 'react'
2
- import {
3
- Span,
4
- Box,
5
- Flex
6
- } from '@atoms'
7
- import { List } from './molecules/List'
8
- import { Accordion } from './molecules/Accordion/parts'
9
- import { LinkifyText } from './molecules/LinkifyText/parts'
10
-
11
- const Text = {
12
- Title: ( params: amotify.atoms.BoxInput ) => ( <Box
13
- fontSize='6.title'
14
- fontWeight='3.semiBold'
15
- { ...params }
16
- /> ),
17
- SubTitle: ( params: amotify.atoms.BoxInput ) => ( <Box
18
- fontSize='5.subTitle'
19
- fontWeight='3.semiBold'
20
- { ...params }
21
- /> ),
22
- ThirdTitle: ( params: amotify.atoms.BoxInput ) => ( <Box
23
- fontSize='4.thirdTitle'
24
- fontWeight='3.semiBold'
25
- { ...params }
26
- /> ),
27
- Paragraph: ( params: amotify.atoms.BoxInput ) => ( <Box
28
- fontSize='3.paragraph'
29
- fontWeight='3.semiBold'
30
- { ...params }
31
- /> ),
32
- Normal: ( params: amotify.atoms.BoxInput ) => ( <Box
33
- { ...params }
34
- /> ),
35
- Description: ( params: amotify.atoms.BoxInput ) => ( <Box
36
- { ...params }
37
- freeCSS={ {
38
- whiteSpace: 'pre-wrap',
39
- ...params.freeCSS
40
- } }
41
- /> ),
42
- Supplement: ( params: amotify.atoms.BoxInput ) => ( <Box
43
- fontSize='1.mini'
44
- { ...params }
45
- /> ),
46
- NowrapSpan: ( params: amotify.atoms.SpanProps ) => ( <Span
47
- { ...params }
48
- freeCSS={ {
49
- whiteSpace: 'nowrap',
50
- ...params.freeCSS
51
- } }
52
- /> )
53
- }
54
- const Row = {
55
- Center: ( params: amotify.atoms.FlexProps ) => ( <Flex
56
- horizontalAlign='center'
57
- verticalAlign='center'
58
- flexWrap={ false }
59
- gap={ 1 }
60
- { ...params }
61
- /> ),
62
- Left: ( params: amotify.atoms.FlexProps ) => ( <Flex
63
- horizontalAlign='left'
64
- verticalAlign='center'
65
- flexWrap={ false }
66
- gap={ 1 }
67
- { ...params }
68
- /> ),
69
- Right: ( params: amotify.atoms.FlexProps ) => ( <Flex
70
- horizontalAlign='right'
71
- verticalAlign='center'
72
- flexWrap={ false }
73
- gap={ 1 }
74
- { ...params }
75
- /> ),
76
- Separate: ( params: amotify.atoms.FlexProps ) => ( <Flex
77
- horizontalAlign='between'
78
- verticalAlign='center'
79
- flexWrap={ false }
80
- gap={ 1 }
81
- { ...params }
82
- /> ),
83
- }
84
- const Column = ( params: amotify.atoms.FlexProps ) => ( <Flex
85
- flexType='col'
86
- gap={ 1 }
87
- { ...params }
88
- /> )
89
- export {
90
- List,
91
- Accordion,
92
- LinkifyText,
93
- Text,
94
- Column,
95
- Row
96
- }
@@ -1 +0,0 @@
1
- export {}
@@ -1,79 +0,0 @@
1
- /**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
-
11
- ( function () {
12
- 'use strict'; ( function ( c, x ) { "object" === typeof exports && "undefined" !== typeof module ? x( exports ) : "function" === typeof define && define.amd ? define( [ "exports" ], x ) : ( c = c || self, x( c.React = {} ) ) } )( this, function ( c ) {
13
- function x ( a ) { if ( null === a || "object" !== typeof a ) return null; a = V && a[ V ] || a[ "@@iterator" ]; return "function" === typeof a ? a : null } function w ( a, b, e ) { this.props = a; this.context = b; this.refs = W; this.updater = e || X } function Y () { } function K ( a, b, e ) { this.props = a; this.context = b; this.refs = W; this.updater = e || X } function Z ( a, b,
14
- e ) { var m, d = {}, c = null, h = null; if ( null != b ) for ( m in void 0 !== b.ref && ( h = b.ref ), void 0 !== b.key && ( c = "" + b.key ), b ) aa.call( b, m ) && !ba.hasOwnProperty( m ) && ( d[ m ] = b[ m ] ); var l = arguments.length - 2; if ( 1 === l ) d.children = e; else if ( 1 < l ) { for ( var f = Array( l ), k = 0; k < l; k++ )f[ k ] = arguments[ k + 2 ]; d.children = f } if ( a && a.defaultProps ) for ( m in l = a.defaultProps, l ) void 0 === d[ m ] && ( d[ m ] = l[ m ] ); return { $$typeof: y, type: a, key: c, ref: h, props: d, _owner: L.current } } function na ( a, b ) { return { $$typeof: y, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner } }
15
- function M ( a ) { return "object" === typeof a && null !== a && a.$$typeof === y } function oa ( a ) { var b = { "=": "=0", ":": "=2" }; return "$" + a.replace( /[=:]/g, function ( a ) { return b[ a ] } ) } function N ( a, b ) { return "object" === typeof a && null !== a && null != a.key ? oa( "" + a.key ) : b.toString( 36 ) } function B ( a, b, e, m, d ) {
16
- var c = typeof a; if ( "undefined" === c || "boolean" === c ) a = null; var h = !1; if ( null === a ) h = !0; else switch ( c ) { case "string": case "number": h = !0; break; case "object": switch ( a.$$typeof ) { case y: case pa: h = !0 } }if ( h ) return h = a, d = d( h ), a = "" === m ? "." +
17
- N( h, 0 ) : m, ca( d ) ? ( e = "", null != a && ( e = a.replace( da, "$&/" ) + "/" ), B( d, b, e, "", function ( a ) { return a } ) ) : null != d && ( M( d ) && ( d = na( d, e + ( !d.key || h && h.key === d.key ? "" : ( "" + d.key ).replace( da, "$&/" ) + "/" ) + a ) ), b.push( d ) ), 1; h = 0; m = "" === m ? "." : m + ":"; if ( ca( a ) ) for ( var l = 0; l < a.length; l++ ) { c = a[ l ]; var f = m + N( c, l ); h += B( c, b, e, f, d ) } else if ( f = x( a ), "function" === typeof f ) for ( a = f.call( a ), l = 0; !( c = a.next() ).done; )c = c.value, f = m + N( c, l++ ), h += B( c, b, e, f, d ); else if ( "object" === c ) throw b = String( a ), Error( "Objects are not valid as a React child (found: " +
18
- ( "[object Object]" === b ? "object with keys {" + Object.keys( a ).join( ", " ) + "}" : b ) + "). If you meant to render a collection of children, use an array instead." ); return h
19
- } function C ( a, b, e ) { if ( null == a ) return a; var c = [], d = 0; B( a, c, "", "", function ( a ) { return b.call( e, a, d++ ) } ); return c } function qa ( a ) {
20
- if ( -1 === a._status ) {
21
- var b = a._result; b = b(); b.then( function ( b ) { if ( 0 === a._status || -1 === a._status ) a._status = 1, a._result = b }, function ( b ) { if ( 0 === a._status || -1 === a._status ) a._status = 2, a._result = b } ); -1 === a._status && ( a._status =
22
- 0, a._result = b )
23
- } if ( 1 === a._status ) return a._result.default; throw a._result;
24
- } function O ( a, b ) { var e = a.length; a.push( b ); a: for ( ; 0 < e; ) { var c = e - 1 >>> 1, d = a[ c ]; if ( 0 < D( d, b ) ) a[ c ] = b, a[ e ] = d, e = c; else break a } } function p ( a ) { return 0 === a.length ? null : a[ 0 ] } function E ( a ) { if ( 0 === a.length ) return null; var b = a[ 0 ], e = a.pop(); if ( e !== b ) { a[ 0 ] = e; a: for ( var c = 0, d = a.length, k = d >>> 1; c < k; ) { var h = 2 * ( c + 1 ) - 1, l = a[ h ], f = h + 1, g = a[ f ]; if ( 0 > D( l, e ) ) f < d && 0 > D( g, l ) ? ( a[ c ] = g, a[ f ] = e, c = f ) : ( a[ c ] = l, a[ h ] = e, c = h ); else if ( f < d && 0 > D( g, e ) ) a[ c ] = g, a[ f ] = e, c = f; else break a } } return b }
25
- function D ( a, b ) { var c = a.sortIndex - b.sortIndex; return 0 !== c ? c : a.id - b.id } function P ( a ) { for ( var b = p( r ); null !== b; ) { if ( null === b.callback ) E( r ); else if ( b.startTime <= a ) E( r ), b.sortIndex = b.expirationTime, O( q, b ); else break; b = p( r ) } } function Q ( a ) { z = !1; P( a ); if ( !u ) if ( null !== p( q ) ) u = !0, R( S ); else { var b = p( r ); null !== b && T( Q, b.startTime - a ) } } function S ( a, b ) {
26
- u = !1; z && ( z = !1, ea( A ), A = -1 ); F = !0; var c = k; try {
27
- P( b ); for ( n = p( q ); null !== n && ( !( n.expirationTime > b ) || a && !fa() ); ) {
28
- var m = n.callback; if ( "function" === typeof m ) {
29
- n.callback = null;
30
- k = n.priorityLevel; var d = m( n.expirationTime <= b ); b = v(); "function" === typeof d ? n.callback = d : n === p( q ) && E( q ); P( b )
31
- } else E( q ); n = p( q )
32
- } if ( null !== n ) var g = !0; else { var h = p( r ); null !== h && T( Q, h.startTime - b ); g = !1 } return g
33
- } finally { n = null, k = c, F = !1 }
34
- } function fa () { return v() - ha < ia ? !1 : !0 } function R ( a ) { G = a; H || ( H = !0, I() ) } function T ( a, b ) { A = ja( function () { a( v() ) }, b ) } var y = Symbol.for( "react.element" ), pa = Symbol.for( "react.portal" ), ra = Symbol.for( "react.fragment" ), sa = Symbol.for( "react.strict_mode" ), ta = Symbol.for( "react.profiler" ),
35
- ua = Symbol.for( "react.provider" ), va = Symbol.for( "react.context" ), wa = Symbol.for( "react.forward_ref" ), xa = Symbol.for( "react.suspense" ), ya = Symbol.for( "react.memo" ), za = Symbol.for( "react.lazy" ), V = Symbol.iterator, X = { isMounted: function ( a ) { return !1 }, enqueueForceUpdate: function ( a, b, c ) { }, enqueueReplaceState: function ( a, b, c, m ) { }, enqueueSetState: function ( a, b, c, m ) { } }, ka = Object.assign, W = {}; w.prototype.isReactComponent = {}; w.prototype.setState = function ( a, b ) {
36
- if ( "object" !== typeof a && "function" !== typeof a && null != a ) throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." );
37
- this.updater.enqueueSetState( this, a, b, "setState" )
38
- }; w.prototype.forceUpdate = function ( a ) { this.updater.enqueueForceUpdate( this, a, "forceUpdate" ) }; Y.prototype = w.prototype; var t = K.prototype = new Y; t.constructor = K; ka( t, w.prototype ); t.isPureReactComponent = !0; var ca = Array.isArray, aa = Object.prototype.hasOwnProperty, L = { current: null }, ba = { key: !0, ref: !0, __self: !0, __source: !0 }, da = /\/+/g, g = { current: null }, J = { transition: null }; if ( "object" === typeof performance && "function" === typeof performance.now ) {
39
- var Aa = performance;
40
- var v = function () { return Aa.now() }
41
- } else { var la = Date, Ba = la.now(); v = function () { return la.now() - Ba } } var q = [], r = [], Ca = 1, n = null, k = 3, F = !1, u = !1, z = !1, ja = "function" === typeof setTimeout ? setTimeout : null, ea = "function" === typeof clearTimeout ? clearTimeout : null, ma = "undefined" !== typeof setImmediate ? setImmediate : null; "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind( navigator.scheduling ); var H = !1, G = null, A = -1, ia = 5, ha =
42
- -1, U = function () { if ( null !== G ) { var a = v(); ha = a; var b = !0; try { b = G( !0, a ) } finally { b ? I() : ( H = !1, G = null ) } } else H = !1 }; if ( "function" === typeof ma ) var I = function () { ma( U ) }; else if ( "undefined" !== typeof MessageChannel ) { t = new MessageChannel; var Da = t.port2; t.port1.onmessage = U; I = function () { Da.postMessage( null ) } } else I = function () { ja( U, 0 ) }; t = {
43
- ReactCurrentDispatcher: g, ReactCurrentOwner: L, ReactCurrentBatchConfig: J, Scheduler: {
44
- __proto__: null, unstable_ImmediatePriority: 1, unstable_UserBlockingPriority: 2, unstable_NormalPriority: 3,
45
- unstable_IdlePriority: 5, unstable_LowPriority: 4, unstable_runWithPriority: function ( a, b ) { switch ( a ) { case 1: case 2: case 3: case 4: case 5: break; default: a = 3 }var c = k; k = a; try { return b() } finally { k = c } }, unstable_next: function ( a ) { switch ( k ) { case 1: case 2: case 3: var b = 3; break; default: b = k }var c = k; k = b; try { return a() } finally { k = c } }, unstable_scheduleCallback: function ( a, b, c ) {
46
- var e = v(); "object" === typeof c && null !== c ? ( c = c.delay, c = "number" === typeof c && 0 < c ? e + c : e ) : c = e; switch ( a ) {
47
- case 1: var d = -1; break; case 2: d = 250; break; case 5: d =
48
- 1073741823; break; case 4: d = 1E4; break; default: d = 5E3
49
- }d = c + d; a = { id: Ca++, callback: b, priorityLevel: a, startTime: c, expirationTime: d, sortIndex: -1 }; c > e ? ( a.sortIndex = c, O( r, a ), null === p( q ) && a === p( r ) && ( z ? ( ea( A ), A = -1 ) : z = !0, T( Q, c - e ) ) ) : ( a.sortIndex = d, O( q, a ), u || F || ( u = !0, R( S ) ) ); return a
50
- }, unstable_cancelCallback: function ( a ) { a.callback = null }, unstable_wrapCallback: function ( a ) { var b = k; return function () { var c = k; k = b; try { return a.apply( this, arguments ) } finally { k = c } } }, unstable_getCurrentPriorityLevel: function () { return k }, unstable_shouldYield: fa,
51
- unstable_requestPaint: function () { }, unstable_continueExecution: function () { u || F || ( u = !0, R( S ) ) }, unstable_pauseExecution: function () { }, unstable_getFirstCallbackNode: function () { return p( q ) }, get unstable_now () { return v }, unstable_forceFrameRate: function ( a ) { 0 > a || 125 < a ? console.error( "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" ) : ia = 0 < a ? Math.floor( 1E3 / a ) : 5 }, unstable_Profiling: null
52
- }
53
- }; c.Children = {
54
- map: C, forEach: function ( a, b, c ) {
55
- C( a, function () {
56
- b.apply( this,
57
- arguments )
58
- }, c )
59
- }, count: function ( a ) { var b = 0; C( a, function () { b++ } ); return b }, toArray: function ( a ) { return C( a, function ( a ) { return a } ) || [] }, only: function ( a ) { if ( !M( a ) ) throw Error( "React.Children.only expected to receive a single React element child." ); return a }
60
- }; c.Component = w; c.Fragment = ra; c.Profiler = ta; c.PureComponent = K; c.StrictMode = sa; c.Suspense = xa; c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = t; c.cloneElement = function ( a, b, c ) {
61
- if ( null === a || void 0 === a ) throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " +
62
- a + "." ); var e = ka( {}, a.props ), d = a.key, k = a.ref, h = a._owner; if ( null != b ) { void 0 !== b.ref && ( k = b.ref, h = L.current ); void 0 !== b.key && ( d = "" + b.key ); if ( a.type && a.type.defaultProps ) var l = a.type.defaultProps; for ( f in b ) aa.call( b, f ) && !ba.hasOwnProperty( f ) && ( e[ f ] = void 0 === b[ f ] && void 0 !== l ? l[ f ] : b[ f ] ) } var f = arguments.length - 2; if ( 1 === f ) e.children = c; else if ( 1 < f ) { l = Array( f ); for ( var g = 0; g < f; g++ )l[ g ] = arguments[ g + 2 ]; e.children = l } return { $$typeof: y, type: a.type, key: d, ref: k, props: e, _owner: h }
63
- }; c.createContext = function ( a ) {
64
- a = {
65
- $$typeof: va,
66
- _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null
67
- }; a.Provider = { $$typeof: ua, _context: a }; return a.Consumer = a
68
- }; c.createElement = Z; c.createFactory = function ( a ) { var b = Z.bind( null, a ); b.type = a; return b }; c.createRef = function () { return { current: null } }; c.forwardRef = function ( a ) { return { $$typeof: wa, render: a } }; c.isValidElement = M; c.lazy = function ( a ) { return { $$typeof: za, _payload: { _status: -1, _result: a }, _init: qa } }; c.memo = function ( a, b ) {
69
- return {
70
- $$typeof: ya, type: a,
71
- compare: void 0 === b ? null : b
72
- }
73
- }; c.startTransition = function ( a, b ) { b = J.transition; J.transition = {}; try { a() } finally { J.transition = b } }; c.unstable_act = function ( a ) { throw Error( "act(...) is not supported in production builds of React." ); }; c.useCallback = function ( a, b ) { return g.current.useCallback( a, b ) }; c.useContext = function ( a ) { return g.current.useContext( a ) }; c.useDebugValue = function ( a, b ) { }; c.useDeferredValue = function ( a ) { return g.current.useDeferredValue( a ) }; c.useEffect = function ( a, b ) {
74
- return g.current.useEffect( a,
75
- b )
76
- }; c.useId = function () { return g.current.useId() }; c.useImperativeHandle = function ( a, b, c ) { return g.current.useImperativeHandle( a, b, c ) }; c.useInsertionEffect = function ( a, b ) { return g.current.useInsertionEffect( a, b ) }; c.useLayoutEffect = function ( a, b ) { return g.current.useLayoutEffect( a, b ) }; c.useMemo = function ( a, b ) { return g.current.useMemo( a, b ) }; c.useReducer = function ( a, b, c ) { return g.current.useReducer( a, b, c ) }; c.useRef = function ( a ) { return g.current.useRef( a ) }; c.useState = function ( a ) { return g.current.useState( a ) };
77
- c.useSyncExternalStore = function ( a, b, c ) { return g.current.useSyncExternalStore( a, b, c ) }; c.useTransition = function () { return g.current.useTransition() }; c.version = "18.2.0"
78
- } );
79
- } )();
@@ -1,31 +0,0 @@
1
- /**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- (function(){'use strict';(function(c,x){"object"===typeof exports&&"undefined"!==typeof module?x(exports):"function"===typeof define&&define.amd?define(["exports"],x):(c=c||self,x(c.React={}))})(this,function(c){function x(a){if(null===a||"object"!==typeof a)return null;a=V&&a[V]||a["@@iterator"];return"function"===typeof a?a:null}function w(a,b,e){this.props=a;this.context=b;this.refs=W;this.updater=e||X}function Y(){}function K(a,b,e){this.props=a;this.context=b;this.refs=W;this.updater=e||X}function Z(a,b,
11
- e){var m,d={},c=null,h=null;if(null!=b)for(m in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(c=""+b.key),b)aa.call(b,m)&&!ba.hasOwnProperty(m)&&(d[m]=b[m]);var l=arguments.length-2;if(1===l)d.children=e;else if(1<l){for(var f=Array(l),k=0;k<l;k++)f[k]=arguments[k+2];d.children=f}if(a&&a.defaultProps)for(m in l=a.defaultProps,l)void 0===d[m]&&(d[m]=l[m]);return{$$typeof:y,type:a,key:c,ref:h,props:d,_owner:L.current}}function na(a,b){return{$$typeof:y,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}
12
- function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===y}function oa(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?oa(""+a.key):b.toString(36)}function B(a,b,e,m,d){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var h=!1;if(null===a)h=!0;else switch(c){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case y:case pa:h=!0}}if(h)return h=a,d=d(h),a=""===m?"."+
13
- N(h,0):m,ca(d)?(e="",null!=a&&(e=a.replace(da,"$&/")+"/"),B(d,b,e,"",function(a){return a})):null!=d&&(M(d)&&(d=na(d,e+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(da,"$&/")+"/")+a)),b.push(d)),1;h=0;m=""===m?".":m+":";if(ca(a))for(var l=0;l<a.length;l++){c=a[l];var f=m+N(c,l);h+=B(c,b,e,f,d)}else if(f=x(a),"function"===typeof f)for(a=f.call(a),l=0;!(c=a.next()).done;)c=c.value,f=m+N(c,l++),h+=B(c,b,e,f,d);else if("object"===c)throw b=String(a),Error("Objects are not valid as a React child (found: "+
14
- ("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}function C(a,b,e){if(null==a)return a;var c=[],d=0;B(a,c,"","",function(a){return b.call(e,a,d++)});return c}function qa(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=
15
- 0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function O(a,b){var e=a.length;a.push(b);a:for(;0<e;){var c=e-1>>>1,d=a[c];if(0<D(d,b))a[c]=b,a[e]=d,e=c;else break a}}function p(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var b=a[0],e=a.pop();if(e!==b){a[0]=e;a:for(var c=0,d=a.length,k=d>>>1;c<k;){var h=2*(c+1)-1,l=a[h],f=h+1,g=a[f];if(0>D(l,e))f<d&&0>D(g,l)?(a[c]=g,a[f]=e,c=f):(a[c]=l,a[h]=e,c=h);else if(f<d&&0>D(g,e))a[c]=g,a[f]=e,c=f;else break a}}return b}
16
- function D(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function P(a){for(var b=p(r);null!==b;){if(null===b.callback)E(r);else if(b.startTime<=a)E(r),b.sortIndex=b.expirationTime,O(q,b);else break;b=p(r)}}function Q(a){z=!1;P(a);if(!u)if(null!==p(q))u=!0,R(S);else{var b=p(r);null!==b&&T(Q,b.startTime-a)}}function S(a,b){u=!1;z&&(z=!1,ea(A),A=-1);F=!0;var c=k;try{P(b);for(n=p(q);null!==n&&(!(n.expirationTime>b)||a&&!fa());){var m=n.callback;if("function"===typeof m){n.callback=null;
17
- k=n.priorityLevel;var d=m(n.expirationTime<=b);b=v();"function"===typeof d?n.callback=d:n===p(q)&&E(q);P(b)}else E(q);n=p(q)}if(null!==n)var g=!0;else{var h=p(r);null!==h&&T(Q,h.startTime-b);g=!1}return g}finally{n=null,k=c,F=!1}}function fa(){return v()-ha<ia?!1:!0}function R(a){G=a;H||(H=!0,I())}function T(a,b){A=ja(function(){a(v())},b)}var y=Symbol.for("react.element"),pa=Symbol.for("react.portal"),ra=Symbol.for("react.fragment"),sa=Symbol.for("react.strict_mode"),ta=Symbol.for("react.profiler"),
18
- ua=Symbol.for("react.provider"),va=Symbol.for("react.context"),wa=Symbol.for("react.forward_ref"),xa=Symbol.for("react.suspense"),ya=Symbol.for("react.memo"),za=Symbol.for("react.lazy"),V=Symbol.iterator,X={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,m){},enqueueSetState:function(a,b,c,m){}},ka=Object.assign,W={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
19
- this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Y.prototype=w.prototype;var t=K.prototype=new Y;t.constructor=K;ka(t,w.prototype);t.isPureReactComponent=!0;var ca=Array.isArray,aa=Object.prototype.hasOwnProperty,L={current:null},ba={key:!0,ref:!0,__self:!0,__source:!0},da=/\/+/g,g={current:null},J={transition:null};if("object"===typeof performance&&"function"===typeof performance.now){var Aa=performance;
20
- var v=function(){return Aa.now()}}else{var la=Date,Ba=la.now();v=function(){return la.now()-Ba}}var q=[],r=[],Ca=1,n=null,k=3,F=!1,u=!1,z=!1,ja="function"===typeof setTimeout?setTimeout:null,ea="function"===typeof clearTimeout?clearTimeout:null,ma="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var H=!1,G=null,A=-1,ia=5,ha=
21
- -1,U=function(){if(null!==G){var a=v();ha=a;var b=!0;try{b=G(!0,a)}finally{b?I():(H=!1,G=null)}}else H=!1};if("function"===typeof ma)var I=function(){ma(U)};else if("undefined"!==typeof MessageChannel){t=new MessageChannel;var Da=t.port2;t.port1.onmessage=U;I=function(){Da.postMessage(null)}}else I=function(){ja(U,0)};t={ReactCurrentDispatcher:g,ReactCurrentOwner:L,ReactCurrentBatchConfig:J,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
22
- unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=k;k=a;try{return b()}finally{k=c}},unstable_next:function(a){switch(k){case 1:case 2:case 3:var b=3;break;default:b=k}var c=k;k=b;try{return a()}finally{k=c}},unstable_scheduleCallback:function(a,b,c){var e=v();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?e+c:e):c=e;switch(a){case 1:var d=-1;break;case 2:d=250;break;case 5:d=
23
- 1073741823;break;case 4:d=1E4;break;default:d=5E3}d=c+d;a={id:Ca++,callback:b,priorityLevel:a,startTime:c,expirationTime:d,sortIndex:-1};c>e?(a.sortIndex=c,O(r,a),null===p(q)&&a===p(r)&&(z?(ea(A),A=-1):z=!0,T(Q,c-e))):(a.sortIndex=d,O(q,a),u||F||(u=!0,R(S)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=k;return function(){var c=k;k=b;try{return a.apply(this,arguments)}finally{k=c}}},unstable_getCurrentPriorityLevel:function(){return k},unstable_shouldYield:fa,
24
- unstable_requestPaint:function(){},unstable_continueExecution:function(){u||F||(u=!0,R(S))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return p(q)},get unstable_now(){return v},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ia=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:C,forEach:function(a,b,c){C(a,function(){b.apply(this,
25
- arguments)},c)},count:function(a){var b=0;C(a,function(){b++});return b},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};c.Component=w;c.Fragment=ra;c.Profiler=ta;c.PureComponent=K;c.StrictMode=sa;c.Suspense=xa;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=t;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+
26
- a+".");var e=ka({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=L.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var l=a.type.defaultProps;for(f in b)aa.call(b,f)&&!ba.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==l?l[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){l=Array(f);for(var g=0;g<f;g++)l[g]=arguments[g+2];e.children=l}return{$$typeof:y,type:a.type,key:d,ref:k,props:e,_owner:h}};c.createContext=function(a){a={$$typeof:va,
27
- _currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:ua,_context:a};return a.Consumer=a};c.createElement=Z;c.createFactory=function(a){var b=Z.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:wa,render:a}};c.isValidElement=M;c.lazy=function(a){return{$$typeof:za,_payload:{_status:-1,_result:a},_init:qa}};c.memo=function(a,b){return{$$typeof:ya,type:a,
28
- compare:void 0===b?null:b}};c.startTransition=function(a,b){b=J.transition;J.transition={};try{a()}finally{J.transition=b}};c.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React.");};c.useCallback=function(a,b){return g.current.useCallback(a,b)};c.useContext=function(a){return g.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return g.current.useDeferredValue(a)};c.useEffect=function(a,b){return g.current.useEffect(a,
29
- b)};c.useId=function(){return g.current.useId()};c.useImperativeHandle=function(a,b,c){return g.current.useImperativeHandle(a,b,c)};c.useInsertionEffect=function(a,b){return g.current.useInsertionEffect(a,b)};c.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return g.current.useMemo(a,b)};c.useReducer=function(a,b,c){return g.current.useReducer(a,b,c)};c.useRef=function(a){return g.current.useRef(a)};c.useState=function(a){return g.current.useState(a)};
30
- c.useSyncExternalStore=function(a,b,c){return g.current.useSyncExternalStore(a,b,c)};c.useTransition=function(){return g.current.useTransition()};c.version="18.2.0"});
31
- })();
@@ -1,4 +0,0 @@
1
- @use './props' as *;
2
- @forward './var';
3
- @forward './init';
4
- @forward './UniStyling';