amotify 0.0.7 → 0.0.9

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 (260) hide show
  1. package/{dist/@types/_.d.ts → @types/_.tsx} +3 -3
  2. package/{src/@types → @types}/amot.tsx +0 -1
  3. package/{src/@types → @types}/fn.tsx +1 -2
  4. package/{src/@types → @types}/index.tsx +1 -5
  5. package/{src/@types → @types}/jsminAmotifyExtension.tsx +1 -2
  6. package/dist/amotify.js +1 -0
  7. package/{public → dist}/amotify.min.css +22 -22
  8. package/package.json +4 -9
  9. package/src/{Atoms/@export.tsx → @atoms.tsx} +3 -3
  10. package/src/@functions.tsx +29 -0
  11. package/src/{Global/@export.tsx → @global.tsx} +2 -2
  12. package/src/{Molecules/@export.tsx → @molecules.tsx} +3 -3
  13. package/src/@organisms.tsx +5 -0
  14. package/src/@styles/@app.scss +2 -2
  15. package/src/@styles/UniStyling.scss +3 -3
  16. package/src/@styles/init.scss +1 -1
  17. package/src/@styles/{@variables/styleSet.scss → styleSet.scss} +1 -1
  18. package/src/{Templates/@export.tsx → @templates.tsx} +1 -1
  19. package/src/{Atoms → atoms}/FAIcon/style.module.scss +1 -2
  20. package/src/{Atoms → atoms}/Logo/parts.tsx +0 -1
  21. package/src/{Atoms → atoms}/Logo/style.module.scss +1 -2
  22. package/src/{Atoms → atoms}/Various/style.module.scss +2 -1
  23. package/src/{Functions → functions}/Button/style.module.scss +2 -1
  24. package/src/{Functions → functions}/Cropper/parts.tsx +1 -1
  25. package/src/{Functions → functions}/Cropper/style.module.scss +1 -1
  26. package/src/{Functions → functions}/Effects/style.module.scss +1 -1
  27. package/src/{Functions → functions}/Input/Chips/Selector.tsx +1 -2
  28. package/src/{Functions → functions}/Input/Chips/_.tsx +1 -5
  29. package/src/{Functions → functions}/Input/Chips/style.module.scss +1 -1
  30. package/src/{Functions → functions}/Input/DigitCharacters.tsx +1 -1
  31. package/src/{Functions → functions}/Input/File/_.tsx +1 -1
  32. package/src/{Functions → functions}/Input/File/style.module.scss +1 -1
  33. package/src/{Functions → functions}/Input/List/_.tsx +1 -1
  34. package/src/{Functions → functions}/Input/List/style.module.scss +1 -1
  35. package/src/{Functions → functions}/Input/Segmented/style.module.scss +1 -1
  36. package/src/{Functions → functions}/Input/Select/_.tsx +1 -1
  37. package/src/{Functions → functions}/Input/Select/style.module.scss +1 -1
  38. package/src/{Functions → functions}/Input/Slider/_.tsx +1 -1
  39. package/src/{Functions → functions}/Input/Slider/style.module.scss +1 -1
  40. package/src/{Functions → functions}/Input/Switch/_.tsx +1 -1
  41. package/src/{Functions → functions}/Input/Switch/style.module.scss +1 -1
  42. package/src/{Functions → functions}/Input/Time/Picker.tsx +1 -1
  43. package/src/{Functions → functions}/Input/Time/_.tsx +2 -2
  44. package/src/{Functions → functions}/Input/Time/style.module.scss +1 -1
  45. package/src/{Functions → functions}/Input/_.tsx +1 -1
  46. package/src/{Functions → functions}/Input/core.tsx +1 -1
  47. package/src/{Functions → functions}/Input/style.module.scss +1 -1
  48. package/src/{Functions → functions}/Inputs/style.module.scss +1 -1
  49. package/src/{Functions → functions}/Inputs/text.tsx +3 -16
  50. package/src/functions/Inputs/types.d.ts +13 -0
  51. package/src/{Functions → functions}/Layout/PageNotFound.tsx +2 -4
  52. package/src/{Functions → functions}/Layout/PageRouter.tsx +1 -1
  53. package/src/{Functions → functions}/Layout/PageViewController/parts.tsx +3 -1
  54. package/src/{Functions → functions}/Layout/RootViewController/parts.tsx +3 -5
  55. package/src/{Functions → functions}/Layout/RootViewController/style.module.scss +1 -1
  56. package/src/{Functions → functions}/Layout/SwipeView/parts.tsx +0 -1
  57. package/src/{Functions → functions}/Layout/SwipeView/style.module.scss +1 -1
  58. package/src/{Functions → functions}/Layout/TabBar.tsx +1 -1
  59. package/src/{Functions → functions}/Loader/style.module.scss +1 -1
  60. package/src/{Functions → functions}/Sheet/parts.tsx +1 -1
  61. package/src/{Functions → functions}/Sheet/style.module.scss +1 -1
  62. package/src/{Functions → functions}/SnackBar/parts.tsx +1 -1
  63. package/src/{Functions → functions}/SnackBar/style.module.scss +1 -1
  64. package/src/{Functions → functions}/Table/Data/parts.tsx +1 -1
  65. package/src/{Functions → functions}/Table/Drag/parts.tsx +1 -1
  66. package/src/{Functions → functions}/Table/Normal/parts.tsx +1 -2
  67. package/src/{Functions → functions}/Table/_.tsx +1 -2
  68. package/src/{Functions → functions}/Table/style.module.scss +2 -1
  69. package/src/{Functions → functions}/Tooltips/parts.tsx +1 -1
  70. package/src/{Global → global}/styleConverter.tsx +1 -5
  71. package/src/launch.tsx +5 -5
  72. package/src/{Molecules → molecules}/Accordion/style.module.scss +1 -1
  73. package/src/{Molecules → molecules}/LinkifyText/parts.tsx +1 -1
  74. package/src/{Organisms → organisms}/DisplayStyleInput/darkmode.tsx +1 -1
  75. package/src/{Organisms → organisms}/DisplayStyleInput/themeColor.tsx +1 -1
  76. package/src/{Templates → templates}/PlayGround/parts.tsx +26 -39
  77. package/src/{Templates → templates}/PlayGround/style.module.scss +1 -1
  78. package/tsconfig.json +20 -24
  79. package/webpack.config.js +11 -9
  80. package/dist/@jsminAmotifyExtension/_.d.ts +0 -4
  81. package/dist/@jsminAmotifyExtension/_.js +0 -6
  82. package/dist/@jsminAmotifyExtension/fetch.d.ts +0 -9
  83. package/dist/@jsminAmotifyExtension/fetch.js +0 -199
  84. package/dist/@jsminAmotifyExtension/formCollect.d.ts +0 -1
  85. package/dist/@jsminAmotifyExtension/formCollect.js +0 -137
  86. package/dist/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
  87. package/dist/@jsminAmotifyExtension/spreadSheet.js +0 -314
  88. package/dist/@jsminAmotifyExtension/variables.d.ts +0 -0
  89. package/dist/@jsminAmotifyExtension/variables.js +0 -186
  90. package/dist/@types/_.js +0 -8
  91. package/dist/@types/amot.d.ts +0 -260
  92. package/dist/@types/amot.js +0 -2
  93. package/dist/@types/fn.d.ts +0 -1040
  94. package/dist/@types/fn.js +0 -2
  95. package/dist/@types/index.d.ts +0 -62
  96. package/dist/@types/index.js +0 -2
  97. package/dist/@types/jsminAmotifyExtension.d.ts +0 -134
  98. package/dist/@types/jsminAmotifyExtension.js +0 -2
  99. package/dist/@types/module.d.ts +0 -2
  100. package/dist/@types/module.js +0 -1
  101. package/dist/@types/state.d.ts +0 -145
  102. package/dist/@types/state.js +0 -2
  103. package/dist/Atoms/@export.d.ts +0 -4
  104. package/dist/Atoms/@export.js +0 -16
  105. package/dist/Atoms/FAIcon/parts.d.ts +0 -2
  106. package/dist/Atoms/FAIcon/parts.js +0 -152
  107. package/dist/Atoms/Logo/parts.d.ts +0 -1
  108. package/dist/Atoms/Logo/parts.js +0 -154
  109. package/dist/Atoms/Various/parts.d.ts +0 -9
  110. package/dist/Atoms/Various/parts.js +0 -113
  111. package/dist/Functions/@export.d.ts +0 -12
  112. package/dist/Functions/@export.js +0 -25
  113. package/dist/Functions/Button/_.d.ts +0 -1
  114. package/dist/Functions/Button/_.js +0 -270
  115. package/dist/Functions/Cropper/parts.d.ts +0 -1
  116. package/dist/Functions/Cropper/parts.js +0 -783
  117. package/dist/Functions/Effects/Fade.d.ts +0 -1
  118. package/dist/Functions/Effects/Fade.js +0 -82
  119. package/dist/Functions/Effects/Ripple.d.ts +0 -1
  120. package/dist/Functions/Effects/Ripple.js +0 -107
  121. package/dist/Functions/Effects/_.d.ts +0 -3
  122. package/dist/Functions/Effects/_.js +0 -43
  123. package/dist/Functions/Input/Chips/Selector.d.ts +0 -1
  124. package/dist/Functions/Input/Chips/Selector.js +0 -356
  125. package/dist/Functions/Input/Chips/_.d.ts +0 -2
  126. package/dist/Functions/Input/Chips/_.js +0 -218
  127. package/dist/Functions/Input/DigitCharacters.d.ts +0 -1
  128. package/dist/Functions/Input/DigitCharacters.js +0 -178
  129. package/dist/Functions/Input/File/_.d.ts +0 -2
  130. package/dist/Functions/Input/File/_.js +0 -458
  131. package/dist/Functions/Input/Hidden.d.ts +0 -1
  132. package/dist/Functions/Input/Hidden.js +0 -30
  133. package/dist/Functions/Input/List/_.d.ts +0 -1
  134. package/dist/Functions/Input/List/_.js +0 -232
  135. package/dist/Functions/Input/Segmented/_.d.ts +0 -1
  136. package/dist/Functions/Input/Segmented/_.js +0 -111
  137. package/dist/Functions/Input/Select/_.d.ts +0 -1
  138. package/dist/Functions/Input/Select/_.js +0 -154
  139. package/dist/Functions/Input/Slider/_.d.ts +0 -1
  140. package/dist/Functions/Input/Slider/_.js +0 -308
  141. package/dist/Functions/Input/Switch/_.d.ts +0 -1
  142. package/dist/Functions/Input/Switch/_.js +0 -120
  143. package/dist/Functions/Input/Text.d.ts +0 -5
  144. package/dist/Functions/Input/Text.js +0 -340
  145. package/dist/Functions/Input/TextArea.d.ts +0 -1
  146. package/dist/Functions/Input/TextArea.js +0 -98
  147. package/dist/Functions/Input/Time/Picker.d.ts +0 -1
  148. package/dist/Functions/Input/Time/Picker.js +0 -581
  149. package/dist/Functions/Input/Time/_.d.ts +0 -2
  150. package/dist/Functions/Input/Time/_.js +0 -567
  151. package/dist/Functions/Input/_.d.ts +0 -5
  152. package/dist/Functions/Input/_.js +0 -446
  153. package/dist/Functions/Input/core.d.ts +0 -34
  154. package/dist/Functions/Input/core.js +0 -324
  155. package/dist/Functions/Inputs/_.d.ts +0 -3
  156. package/dist/Functions/Inputs/_.js +0 -7
  157. package/dist/Functions/Inputs/text.d.ts +0 -12
  158. package/dist/Functions/Inputs/text.js +0 -46
  159. package/dist/Functions/Layout/PageNotFound.d.ts +0 -1
  160. package/dist/Functions/Layout/PageNotFound.js +0 -30
  161. package/dist/Functions/Layout/PageRouter.d.ts +0 -2
  162. package/dist/Functions/Layout/PageRouter.js +0 -65
  163. package/dist/Functions/Layout/PageViewController/parts.d.ts +0 -1
  164. package/dist/Functions/Layout/PageViewController/parts.js +0 -31
  165. package/dist/Functions/Layout/Plate.d.ts +0 -1
  166. package/dist/Functions/Layout/Plate.js +0 -39
  167. package/dist/Functions/Layout/RootViewController/parts.d.ts +0 -1
  168. package/dist/Functions/Layout/RootViewController/parts.js +0 -202
  169. package/dist/Functions/Layout/SwipeView/parts.d.ts +0 -2
  170. package/dist/Functions/Layout/SwipeView/parts.js +0 -319
  171. package/dist/Functions/Layout/TabBar.d.ts +0 -1
  172. package/dist/Functions/Layout/TabBar.js +0 -49
  173. package/dist/Functions/Layout/_.d.ts +0 -2
  174. package/dist/Functions/Layout/_.js +0 -20
  175. package/dist/Functions/Loader/corner.d.ts +0 -1
  176. package/dist/Functions/Loader/corner.js +0 -59
  177. package/dist/Functions/Loader/mini.d.ts +0 -33
  178. package/dist/Functions/Loader/mini.js +0 -126
  179. package/dist/Functions/Loader/parts.d.ts +0 -3
  180. package/dist/Functions/Loader/parts.js +0 -108
  181. package/dist/Functions/Loader/top.d.ts +0 -1
  182. package/dist/Functions/Loader/top.js +0 -69
  183. package/dist/Functions/Sheet/parts.d.ts +0 -2
  184. package/dist/Functions/Sheet/parts.js +0 -724
  185. package/dist/Functions/SnackBar/parts.d.ts +0 -2
  186. package/dist/Functions/SnackBar/parts.js +0 -171
  187. package/dist/Functions/Table/Data/parts.d.ts +0 -3
  188. package/dist/Functions/Table/Data/parts.js +0 -629
  189. package/dist/Functions/Table/Drag/parts.d.ts +0 -1
  190. package/dist/Functions/Table/Drag/parts.js +0 -359
  191. package/dist/Functions/Table/Normal/parts.d.ts +0 -1
  192. package/dist/Functions/Table/Normal/parts.js +0 -92
  193. package/dist/Functions/Table/_.d.ts +0 -9
  194. package/dist/Functions/Table/_.js +0 -153
  195. package/dist/Functions/Tooltips/parts.d.ts +0 -2
  196. package/dist/Functions/Tooltips/parts.js +0 -71
  197. package/dist/Global/@export.d.ts +0 -12
  198. package/dist/Global/@export.js +0 -198
  199. package/dist/Global/LaunchReactApplication.d.ts +0 -1
  200. package/dist/Global/LaunchReactApplication.js +0 -48
  201. package/dist/Global/styleConverter.d.ts +0 -2
  202. package/dist/Global/styleConverter.js +0 -349
  203. package/dist/Molecules/@export.d.ts +0 -21
  204. package/dist/Molecules/@export.js +0 -41
  205. package/dist/Molecules/Accordion/parts.d.ts +0 -2
  206. package/dist/Molecules/Accordion/parts.js +0 -165
  207. package/dist/Molecules/LinkifyText/parts.d.ts +0 -1
  208. package/dist/Molecules/LinkifyText/parts.js +0 -39
  209. package/dist/Molecules/List.d.ts +0 -1
  210. package/dist/Molecules/List.js +0 -35
  211. package/dist/Organisms/@export.d.ts +0 -2
  212. package/dist/Organisms/@export.js +0 -5
  213. package/dist/Organisms/DisplayStyleInput/_.d.ts +0 -1
  214. package/dist/Organisms/DisplayStyleInput/_.js +0 -15
  215. package/dist/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
  216. package/dist/Organisms/DisplayStyleInput/darkmode.js +0 -77
  217. package/dist/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
  218. package/dist/Organisms/DisplayStyleInput/themeColor.js +0 -185
  219. package/dist/Templates/@export.d.ts +0 -2
  220. package/dist/Templates/@export.js +0 -5
  221. package/dist/Templates/PlayGround/parts.d.ts +0 -1
  222. package/dist/Templates/PlayGround/parts.js +0 -55
  223. package/dist/config.d.ts +0 -16
  224. package/dist/config.js +0 -171
  225. package/dist/launch.d.ts +0 -9
  226. package/dist/launch.js +0 -46
  227. package/dist/preload.d.ts +0 -1
  228. package/dist/preload.js +0 -73
  229. package/public/amotify.js +0 -1
  230. package/src/@types/_.tsx +0 -6
  231. package/src/Functions/@export.tsx +0 -29
  232. package/src/Functions/Inputs/types.d.ts +0 -1
  233. package/src/Global/exe.tsx +0 -0
  234. package/src/Organisms/@export.tsx +0 -5
  235. /package/{src/@types → @types}/module.tsx +0 -0
  236. /package/{src/@types → @types}/state.tsx +0 -0
  237. /package/src/@styles/{@variables/customProps.scss → props.scss} +0 -0
  238. /package/src/@styles/{@variables/themeColor.scss → themeColor.scss} +0 -0
  239. /package/src/@styles/{@variables/var.scss → var.scss} +0 -0
  240. /package/src/{Atoms → atoms}/FAIcon/parts.tsx +0 -0
  241. /package/src/{Atoms → atoms}/Various/parts.tsx +0 -0
  242. /package/src/{Functions → functions}/Button/_.tsx +0 -0
  243. /package/src/{Functions → functions}/Effects/Fade.tsx +0 -0
  244. /package/src/{Functions → functions}/Effects/Ripple.tsx +0 -0
  245. /package/src/{Functions → functions}/Effects/_.tsx +0 -0
  246. /package/src/{Functions → functions}/Input/Hidden.tsx +0 -0
  247. /package/src/{Functions → functions}/Input/Segmented/_.tsx +0 -0
  248. /package/src/{Functions → functions}/Input/Text.tsx +0 -0
  249. /package/src/{Functions → functions}/Input/TextArea.tsx +0 -0
  250. /package/src/{Functions → functions}/Inputs/_.tsx +0 -0
  251. /package/src/{Functions → functions}/Layout/Plate.tsx +0 -0
  252. /package/src/{Functions → functions}/Layout/_.tsx +0 -0
  253. /package/src/{Functions → functions}/Loader/corner.tsx +0 -0
  254. /package/src/{Functions → functions}/Loader/mini.tsx +0 -0
  255. /package/src/{Functions → functions}/Loader/parts.tsx +0 -0
  256. /package/src/{Functions → functions}/Loader/top.tsx +0 -0
  257. /package/src/{Global → global}/LaunchReactApplication.tsx +0 -0
  258. /package/src/{Molecules → molecules}/Accordion/parts.tsx +0 -0
  259. /package/src/{Molecules → molecules}/List.tsx +0 -0
  260. /package/src/{Organisms → organisms}/DisplayStyleInput/_.tsx +0 -0
package/dist/@types/fn.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,62 +0,0 @@
1
- /// <reference types="react" />
2
- declare global {
3
- type ReactElement = React.ReactNode | React.ReactNode[];
4
- type React = typeof React;
5
- type FNC<P> = React.FC<P>;
6
- interface plainObject {
7
- [index: string]: any;
8
- }
9
- namespace amotify {
10
- type ToneTypes = 'default' | 'flat' | 'sharp';
11
- type DarkModeTypes = 'light' | 'auto' | 'dark' | 'dim';
12
- type ThemeColorTypes = 'comun' | 'leaf' | 'heart' | 'droplet' | 'brick' | 'flower' | 'lip' | 'wine' | 'theater' | 'bat' | 'poizon' | 'eggplant' | 'ufo' | 'alien' | 'tombstone' | 'ninja' | 'moon' | 'rain' | 'unicorn' | 'axe' | 'gem' | 'soap' | 'drizzle' | 'building' | 'fish' | 'icicles' | 'water' | 'tree1' | 'tree2' | 'tree3' | 'battery' | 'seedle' | 'greenTea' | 'oak' | 'salad' | 'cloudy' | 'lemon' | 'angel' | 'parasol' | 'pizza' | 'thunder' | 'latte' | 'island' | 'shovel' | 'coffee' | 'carrot' | 'cactus' | 'volcano' | 'choco' | 'industry' | 'gun' | 'galaxy' | 'line' | 'twitter' | 'amazon' | 'facebook' | 'android' | 'slackBlue' | 'slackGreen' | 'slackRed' | 'slackYellow' | 'slackBase' | 'googleBlue' | 'googleGreen' | 'googleYellow' | 'googleRed';
13
- type RoundnessTypes = 0 | 1 | 2 | 3 | 4 | 5;
14
- namespace config {
15
- type Methods = {
16
- version: string;
17
- tone: amotify.ToneTypes;
18
- themeColor: amotify.ThemeColorTypes;
19
- darkMode: amotify.DarkModeTypes;
20
- roundness: amotify.RoundnessTypes;
21
- device: {
22
- isWhat: 'Windows' | 'Android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined';
23
- isBreakpoint(): boolean;
24
- isPhonepoint(): boolean;
25
- isSystemDarkmode(): boolean;
26
- isPhone: boolean;
27
- isTouchDevice: boolean;
28
- isIOS: boolean;
29
- };
30
- update: {
31
- tone(value: amotify.ToneTypes): void;
32
- themeColor(value: amotify.ThemeColorTypes): void;
33
- darkMode(value: amotify.DarkModeTypes): void;
34
- roundness(value: amotify.RoundnessTypes): void;
35
- };
36
- readExtraCDN(url: string): Promise<boolean>;
37
- };
38
- }
39
- }
40
- interface amotify {
41
- config: amotify.config.Methods;
42
- glob: amotify.glob.Methods;
43
- atoms: amotify.atoms.Methods;
44
- mols: amotify.mols.Methods;
45
- orgs: amotify.orgs.Methods;
46
- temps: amotify.temps.Methods;
47
- fn: amotify.fn.Methods;
48
- }
49
- var amotify: amotify;
50
- namespace _WebSocket {
51
- interface Methods {
52
- emit(path: string, data: any): _WebSocket.Methods;
53
- on(path: string, data: {
54
- (data: any): void;
55
- }): _WebSocket.Methods;
56
- }
57
- }
58
- var io: {
59
- (url: string): _WebSocket.Methods;
60
- };
61
- }
62
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,134 +0,0 @@
1
- /// <reference types="react" />
2
- export {};
3
- declare global {
4
- interface JsminExtension {
5
- fetch: {
6
- get: JsminExtension.Fetch.CoreParams;
7
- post: JsminExtension.Fetch.CoreParams;
8
- put: JsminExtension.Fetch.CoreParams;
9
- options: JsminExtension.Fetch.CoreParams;
10
- waitList: string[];
11
- defaultHeaders: plainObject;
12
- defaultResultCallback?: {
13
- (params: Jsmin.Fetch.Output): void;
14
- };
15
- };
16
- }
17
- namespace JsminExtension {
18
- namespace Fetch {
19
- type CoreParams = {
20
- (params: JsminExtension.Fetch.Input, callback?: JsminExtension.Fetch.callback): Promise<Jsmin.Fetch.Output>;
21
- };
22
- type Input = {
23
- key: string;
24
- topLoader?: boolean;
25
- cornerLoader?: boolean;
26
- trafficControl?: number;
27
- preventMultiRequest?: boolean;
28
- } & Omit<Jsmin.Fetch.Input, 'method'>;
29
- type callback = {
30
- (result: Jsmin.Fetch.Output): void;
31
- };
32
- }
33
- }
34
- interface JsminExtension {
35
- spreadSheet: {
36
- readFromFile(file: amotify.fn.Input.Filer.CustomFile): Promise<JsminExtension.SpreadSheet.Method>;
37
- readFromJson(v: JsminExtension.SpreadSheet.JsonTypes): Promise<JsminExtension.SpreadSheet.Method>;
38
- };
39
- }
40
- namespace JsminExtension {
41
- namespace SpreadSheet {
42
- interface Instance {
43
- fn: Method;
44
- prototype: Method;
45
- (v: any, a: string): any;
46
- }
47
- interface Method {
48
- getWorkbook(): any;
49
- updateFileName(fileName: string): void;
50
- updateMerges(merges: MergeTypes[][]): void;
51
- updateStyles(styles: StyleTypes[][]): void;
52
- toJson(): {
53
- fileName: string;
54
- sheets: {
55
- sheetName: string;
56
- rows: any[];
57
- }[];
58
- };
59
- export(type?: 'xlsx' | 'csv'): void;
60
- }
61
- type JsonTypes = {
62
- fileName: string;
63
- sheets: SheetParams[];
64
- };
65
- type SheetParams = {
66
- sheetName: string;
67
- rows: RowParams[];
68
- headers?: HeaderParams[];
69
- merges?: MergeTypes[];
70
- styles?: StyleTypes[];
71
- };
72
- type HeaderParams = {
73
- key: string;
74
- value: string;
75
- };
76
- type RowParams = {
77
- [key: string]: string | number;
78
- };
79
- type MergeTypes = [string, string] | [null, null];
80
- type StyleTypes = {
81
- type: 'cell' | 'row' | 'column';
82
- target: string | number | (string | number)[];
83
- values: {
84
- [key: string]: any;
85
- };
86
- };
87
- }
88
- }
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
- copyToClipboard(data: any): Promise<{
100
- ok: boolean;
101
- body: any;
102
- }>;
103
- getCurrentLocation: {
104
- (): Promise<JsminExtension.getCurrentLocationOutput>;
105
- };
106
- CDNReader: {
107
- (url: string): void;
108
- };
109
- ImageLoader: {
110
- (dataUrl: string, img?: HTMLImageElement): Promise<HTMLImageElement>;
111
- };
112
- isJSXElement(v: any): v is JSX.Element;
113
- }
114
- namespace JsminExtension {
115
- type getCurrentLocationOutput = {
116
- ok: false;
117
- status: number;
118
- body: {
119
- reason: any;
120
- };
121
- } | {
122
- ok: true;
123
- status: 200;
124
- body: {
125
- lat: number;
126
- lng: number;
127
- };
128
- };
129
- }
130
- type base64ToBlobTypeProps = 'image/png' | 'image/jpeg' | string;
131
- interface String {
132
- zen2hanNumber(): string;
133
- }
134
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- declare module "*.scss";
2
- declare module "react-dom";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,145 +0,0 @@
1
- /// <reference types="react" />
2
- export {};
3
- declare global {
4
- type amotifyBasicElement = amotify.UniStyles.BasicTagParams & amotifyUniStyleParams;
5
- type amotifyUniStyleParams = amotify.UniStyles.Params & {
6
- freeCSS?: React.CSSProperties;
7
- UnderBreakPointStyles?: amotify.UniStyles.Params;
8
- hoverStyles?: amotify.UniStyles.Params;
9
- focusStyles?: amotify.UniStyles.Params;
10
- activeStyles?: amotify.UniStyles.Params;
11
- ssEffectsOnActive?: amotify.UniStyles.Others.EffectsOnActiveTypes | amotify.UniStyles.Others.EffectsOnActiveTypes[] | false;
12
- ssPushable?: boolean;
13
- ssLastChildLossBorder?: 'bottom' | 'right' | false;
14
- };
15
- namespace amotify {
16
- namespace UniStyles {
17
- type BasicTagParams = {
18
- className?: string;
19
- id?: string;
20
- componentID?: string;
21
- };
22
- type Params = Pargins.Params & Fonts.Params & Borders.Params & FlexGrids.Params & Sizes.Params & StyleSets.Params & {
23
- backgroundColor?: Others.BackgroundColorParams;
24
- gradients?: {
25
- deg: number;
26
- colors: string[];
27
- };
28
- boxShadow?: 0 | 1 | 2 | 3 | 4 | -1 | -2 | -3 | 'none' | 'borderBox';
29
- display?: 'block' | 'none' | 'flex' | 'grid' | 'inlineBlock' | 'inlineFlex';
30
- gap?: Others.gapParams;
31
- overflow?: Others.overflowParams;
32
- position?: 'relative' | 'absolute' | 'fixed' | 'sticky' | 'static';
33
- top?: Others.TRBLParams | 'topBase' | 'topNavigationHeight';
34
- right?: Others.TRBLParams;
35
- bottom?: Others.TRBLParams;
36
- left?: Others.TRBLParams;
37
- opacity?: 'trans' | 'low' | 'middle' | 'high' | 'most';
38
- transition?: 'none' | 'short' | 'middle' | 'long';
39
- };
40
- namespace Pargins {
41
- type Params = {
42
- margin?: GroupParams;
43
- marginTop?: UnitParams;
44
- marginRight?: UnitParams;
45
- marginBottom?: UnitParams;
46
- marginLeft?: UnitParams;
47
- padding?: GroupParams;
48
- paddingTop?: UnitParams;
49
- paddingRight?: UnitParams;
50
- paddingBottom?: UnitParams;
51
- paddingLeft?: UnitParams;
52
- };
53
- type UnitParams = 0 | '1/12' | '1/6' | '1/4' | '1/3' | '1/2' | '2/3' | '3/4' | 1 | 1.5 | 2 | 2.5 | 3 | 4 | 'auto' | 'safeAreaTop' | 'safeAreaBottom';
54
- type GroupParams = UnitParams | [UnitParams, UnitParams] | [UnitParams, UnitParams, UnitParams, UnitParams];
55
- }
56
- namespace Borders {
57
- type Params = {
58
- border?: BorderParams;
59
- borderTop?: BorderParams;
60
- borderRight?: BorderParams;
61
- borderBottom?: BorderParams;
62
- borderLeft?: BorderParams;
63
- borderWidth?: WidthParams;
64
- borderColor?: ColorParams;
65
- borderStyle?: StyleParams;
66
- borderRadius?: RadiusParams;
67
- borderTopLeftRadius?: RadiusParams;
68
- borderTopRightRadius?: RadiusParams;
69
- borderBottomLeftRadius?: RadiusParams;
70
- borderBottomRightRadius?: RadiusParams;
71
- };
72
- type BorderParams = boolean | '0.trans' | '1.thin' | '2.normal' | '3.strong' | 'unset';
73
- type WidthParams = 0 | 1 | 2 | 3 | 4;
74
- type ColorParams = '0.trans' | '1.thin' | '2.normal' | '3.strong' | 'theme' | 'posi' | 'nega' | 'warn' | 'white';
75
- type StyleParams = 'solid' | 'dashed' | 'double' | 'dotted';
76
- type RadiusParams = 0 | '1/3' | '2/3' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 'sphere' | 'inherit' | '1.tone.primary' | '2.tone.secondary' | '3.tone.tertiary';
77
- }
78
- namespace FlexGrids {
79
- type Params = {
80
- flexSizing?: 'none' | 'auto' | 0;
81
- flexWrap?: boolean;
82
- flexCenter?: boolean;
83
- flexType?: TypeParams;
84
- flexChilds?: 'even' | 'auto' | 'none' | 'unset';
85
- flexGrid?: GridParams;
86
- flexNewLine?: boolean;
87
- verticalAlign?: VerticalAlignParams;
88
- horizontalAlign?: HorizontalAlignParams;
89
- gridCenter?: boolean;
90
- gridCols?: GridColsParams;
91
- };
92
- type TypeParams = 'row' | 'row-r' | 'col' | 'col-r';
93
- type VerticalAlignParams = 'center' | 'top' | 'bottom' | 'baseline' | 'unset';
94
- type HorizontalAlignParams = 'center' | 'left' | 'right' | 'between' | 'around' | 'even' | 'unset';
95
- type GridParams = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'unset';
96
- type GridColsParams = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
97
- }
98
- namespace Fonts {
99
- type Params = {
100
- fontColor?: ColorParams;
101
- fontSize?: SizeParams;
102
- fontWeight?: WeightParams;
103
- isBoldFont?: boolean;
104
- isRounded?: boolean;
105
- textAlign?: 'left' | 'center' | 'right';
106
- };
107
- type WeightParams = '1.lighter' | '2.normal' | '3.bold';
108
- type ColorParams = Others.UniColors | '1.clear' | '2.normal' | '3.blur' | '4.thin' | '5.translucent' | '6.clear' | 'mono' | 'monoSecond' | 'logo';
109
- type SizeParams = '0.xs' | '1.mini' | '2.normal' | '3.paragraph' | '4.thirdTitle' | '5.subTitle' | '6.title' | '7.landing' | '8.xl' | 'inherit';
110
- }
111
- namespace Sizes {
112
- type Params = {
113
- maxHeight?: 0 | 1 | 'viewHeight' | 'topNavigationHeight' | 'sideNavigationHeight' | 'contentHeight' | 'unset';
114
- minHeight?: 0 | 1 | 'viewHeight' | 'topNavigationHeight' | 'sideNavigationHeight' | 'contentHeight' | 'unset';
115
- minWidth?: 0 | 1 | 'unset';
116
- maxWidth?: 0 | 1 | 'unset';
117
- unitWidth?: SizeParams;
118
- unitHeight?: SizeParams;
119
- width?: 0 | 1 | 'viewWidth' | 'auto';
120
- height?: 0 | 1 | 'viewHeight' | 'topNavigationHeight' | 'sideNavigationHeight' | 'contentHeight' | 'auto';
121
- };
122
- 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';
123
- }
124
- namespace StyleSets {
125
- type Params = {
126
- ssCardBox?: boolean | 'border' | 'layer' | 'cloud' | 'shadow';
127
- ssSphere?: Sizes.SizeParams;
128
- ssSquare?: Sizes.SizeParams;
129
- ssAbsoluteCovered?: boolean;
130
- ssTextEllipsis?: boolean;
131
- };
132
- }
133
- namespace Others {
134
- 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;
135
- type gapParams = gapUnitParams | [gapUnitParams, gapUnitParams];
136
- type overflowUnitParams = 'auto' | 'hidden' | 'scroll' | 'visible' | 'unset';
137
- type overflowParams = overflowUnitParams | [overflowUnitParams, overflowUnitParams];
138
- type UniColors = 'inherit' | 'theme' | 'posi' | 'nega' | 'warn' | 'white' | 'black' | amotify.ThemeColorTypes;
139
- type BackgroundColorParams = UniColors | '1.layer.base' | '2.layer.cloud' | '3.layer.canvas' | '4.layer.darken' | '5.layer.darker' | '6.layer.darkest' | 'cloud' | 'lcOpFew' | 'lcOpLow' | 'lcOpMiddle' | 'lcOpHigh' | 'tcOpFew' | 'tcOpLow' | 'tcOpMiddle' | 'tcOpHigh' | 'tcLighten' | 'tcLighter' | 'tcLightest' | 'tcDarken' | 'tcDarker' | 'tcDarkest' | 'negaOpLow' | 'negaOpMiddle' | 'posiOpLow' | 'posiOpMiddle' | 'trans' | 'dark' | 'monoPrime' | 'monoSecond' | 'none';
140
- type TRBLParams = 0 | '1/12' | '1/6' | '1/4' | '1/3' | '1/2' | '2/3' | '3/4' | 1 | 2 | 3 | 4 | '50%' | '100%';
141
- type EffectsOnActiveTypes = 'ripple.white' | 'ripple.cloud' | 'ripple.theme' | 'none' | 'expand' | 'shrink' | 'pudding' | 'fade';
142
- }
143
- }
144
- }
145
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { Box, Span, Img, Flex, FlexBr, Grid, Paragraph, Placeholder } from './Various/parts';
2
- import { FAIcon } from './FAIcon/parts';
3
- import { Logo } from './Logo/parts';
4
- export { Flex, FlexBr, FAIcon, Placeholder, Grid, Logo, Box, Span, Paragraph, Img };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Img = exports.Paragraph = exports.Span = exports.Box = exports.Logo = exports.Grid = exports.Placeholder = exports.FAIcon = exports.FlexBr = exports.Flex = void 0;
4
- var parts_1 = require("./Various/parts");
5
- Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return parts_1.Box; } });
6
- Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return parts_1.Span; } });
7
- Object.defineProperty(exports, "Img", { enumerable: true, get: function () { return parts_1.Img; } });
8
- Object.defineProperty(exports, "Flex", { enumerable: true, get: function () { return parts_1.Flex; } });
9
- Object.defineProperty(exports, "FlexBr", { enumerable: true, get: function () { return parts_1.FlexBr; } });
10
- Object.defineProperty(exports, "Grid", { enumerable: true, get: function () { return parts_1.Grid; } });
11
- Object.defineProperty(exports, "Paragraph", { enumerable: true, get: function () { return parts_1.Paragraph; } });
12
- Object.defineProperty(exports, "Placeholder", { enumerable: true, get: function () { return parts_1.Placeholder; } });
13
- var parts_2 = require("./FAIcon/parts");
14
- Object.defineProperty(exports, "FAIcon", { enumerable: true, get: function () { return parts_2.FAIcon; } });
15
- var parts_3 = require("./Logo/parts");
16
- Object.defineProperty(exports, "Logo", { enumerable: true, get: function () { return parts_3.Logo; } });
@@ -1,2 +0,0 @@
1
- declare const FAIcon: amotify.atoms.FAIcon.Method;
2
- export { FAIcon };
@@ -1,152 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- var __read = (this && this.__read) || function (o, n) {
25
- var m = typeof Symbol === "function" && o[Symbol.iterator];
26
- if (!m) return o;
27
- var i = m.call(o), r, ar = [], e;
28
- try {
29
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
30
- }
31
- catch (error) { e = { error: error }; }
32
- finally {
33
- try {
34
- if (r && !r.done && (m = i["return"])) m.call(i);
35
- }
36
- finally { if (e) throw e.error; }
37
- }
38
- return ar;
39
- };
40
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
41
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
42
- if (ar || !(i in from)) {
43
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
44
- ar[i] = from[i];
45
- }
46
- }
47
- return to.concat(ar || Array.prototype.slice.call(from));
48
- };
49
- var __values = (this && this.__values) || function(o) {
50
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
51
- if (m) return m.call(o);
52
- if (o && typeof o.length === "number") return {
53
- next: function () {
54
- if (o && i >= o.length) o = void 0;
55
- return { value: o && o[i++], done: !o };
56
- }
57
- };
58
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
59
- };
60
- var __importDefault = (this && this.__importDefault) || function (mod) {
61
- return (mod && mod.__esModule) ? mod : { "default": mod };
62
- };
63
- var e_1, _a;
64
- Object.defineProperty(exports, "__esModule", { value: true });
65
- exports.FAIcon = void 0;
66
- var style_module_scss_1 = __importDefault(require("./style.module.scss"));
67
- var parts_1 = require("../Various/parts");
68
- var FaIconComp = function (params) {
69
- var _a = params.iconAnimation, iconAnimation = _a === void 0 ? false : _a, iconFamily = params.iconFamily, isSolidIcon = params.isSolidIcon, isRegularIcon = params.isRegularIcon, isLightIcon = params.isLightIcon, isThinIcon = params.isThinIcon, isDuotoneIcon = params.isDuotoneIcon, _b = params.isBrandIcon, isBrandIcon = _b === void 0 ? false : _b, _c = params.d, d = _c === void 0 ? 'image-slash' : _c, others = __rest(params, ["iconAnimation", "iconFamily", "isSolidIcon", "isRegularIcon", "isLightIcon", "isThinIcon", "isDuotoneIcon", "isBrandIcon", "d"]);
70
- var ClassNames = [
71
- style_module_scss_1.default.FAIcon,
72
- 'fa-' + d,
73
- 'fa-fw'
74
- ];
75
- if (!isBrandIcon) {
76
- var tone = amotify.config.tone;
77
- if (!isSolidIcon && !isRegularIcon && !isLightIcon && !isThinIcon && !isDuotoneIcon)
78
- isRegularIcon = true;
79
- if (tone == 'default') {
80
- }
81
- else if (tone == 'sharp') {
82
- iconFamily = iconFamily || 'sharp';
83
- }
84
- var iconStyle = isSolidIcon ? 'solid' :
85
- isRegularIcon ? 'regular' :
86
- isLightIcon ? 'light' :
87
- isThinIcon ? 'thin' :
88
- isDuotoneIcon ? 'duotone' :
89
- 'regular';
90
- iconFamily = iconFamily || 'classic';
91
- if (iconAnimation == 'spin-reverse')
92
- iconAnimation = 'spin fa-spin-reverse';
93
- ClassNames = __spreadArray([
94
- 'fa-' + iconFamily,
95
- 'fa-' + iconStyle
96
- ], __read(ClassNames), false);
97
- if (iconAnimation)
98
- ClassNames.push('fa-' + iconAnimation);
99
- }
100
- else {
101
- ClassNames = __spreadArray([
102
- 'fa-brands'
103
- ], __read(ClassNames), false);
104
- }
105
- return (React.createElement(parts_1.Box, __assign({ verticalAlign: 'center', horizontalAlign: 'center' }, others, { freeCSS: __assign({ display: 'inline-flex' }, others.freeCSS) }),
106
- React.createElement("i", { className: ClassNames.join(' ') })));
107
- };
108
- var FAIcon = FaIconComp;
109
- exports.FAIcon = FAIcon;
110
- var shortKeys = [
111
- 'user',
112
- 'times',
113
- 'descktop',
114
- 'angle-right', 'angle-left', 'angle-up', 'angle-down',
115
- 'chevron-left', 'chevron-right', 'chevron-up', 'chevron-down',
116
- 'caret-left', 'caretRight', 'caret-up', 'caret-down',
117
- 'arrow-left', 'arrow-right', 'arrow-up', 'arrow-down',
118
- 'rotate', 'rotate-left', 'rotate-right', 'redo',
119
- 'play', 'pause', 'stop', 'forward-step', 'backward-step',
120
- 'check', 'check-circle',
121
- 'question', 'question-circle', 'exclamation', 'exclamation-triangle',
122
- 'home', 'share', 'volume',
123
- 'search', 'yen-sign', 'heart', 'star',
124
- 'edit', 'pen', 'copy', 'files', 'file',
125
- 'backspace',
126
- 'trash-alt',
127
- 'bars',
128
- 'download',
129
- 'link', 'link-slash', 'external-link-alt',
130
- 'gear',
131
- 'plus', 'minus', 'equals', 'calculator',
132
- 'image',
133
- 'badge-percent'
134
- ];
135
- var _loop_1 = function (key) {
136
- FAIcon[key.toCapital()] = function (params) {
137
- return React.createElement(FaIconComp, __assign({ d: key }, params));
138
- };
139
- };
140
- try {
141
- for (var shortKeys_1 = __values(shortKeys), shortKeys_1_1 = shortKeys_1.next(); !shortKeys_1_1.done; shortKeys_1_1 = shortKeys_1.next()) {
142
- var key = shortKeys_1_1.value;
143
- _loop_1(key);
144
- }
145
- }
146
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
147
- finally {
148
- try {
149
- if (shortKeys_1_1 && !shortKeys_1_1.done && (_a = shortKeys_1.return)) _a.call(shortKeys_1);
150
- }
151
- finally { if (e_1) throw e_1.error; }
152
- }
@@ -1 +0,0 @@
1
- export declare const Logo: amotify.atoms.Logos.Methods;