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
@@ -1,33 +0,0 @@
1
- export declare const Mini: (params: amotify.UniStyles.Pargins.Params & amotify.UniStyles.Fonts.Params & amotify.UniStyles.Borders.Params & amotify.UniStyles.FlexGrids.Params & amotify.UniStyles.Sizes.Params & amotify.UniStyles.StyleSets.Params & {
2
- backgroundColor?: amotify.UniStyles.Others.BackgroundColorParams | undefined;
3
- gradients?: {
4
- deg: number;
5
- colors: string[];
6
- } | undefined;
7
- boxShadow?: 0 | "none" | 1 | 2 | 3 | 4 | -1 | -2 | -3 | "borderBox" | undefined;
8
- display?: "none" | "block" | "flex" | "grid" | "inlineBlock" | "inlineFlex" | undefined;
9
- gap?: amotify.UniStyles.Others.gapParams | undefined;
10
- overflow?: amotify.UniStyles.Others.overflowParams | undefined;
11
- position?: "relative" | "absolute" | "fixed" | "sticky" | "static" | undefined;
12
- top?: amotify.UniStyles.Others.TRBLParams | "topBase" | "topNavigationHeight" | undefined;
13
- right?: amotify.UniStyles.Others.TRBLParams | undefined;
14
- bottom?: amotify.UniStyles.Others.TRBLParams | undefined;
15
- left?: amotify.UniStyles.Others.TRBLParams | undefined;
16
- opacity?: "trans" | "low" | "middle" | "high" | "most" | undefined;
17
- transition?: "none" | "middle" | "short" | "long" | undefined;
18
- } & {
19
- freeCSS?: React.CSSProperties | undefined;
20
- UnderBreakPointStyles?: amotify.UniStyles.Params | undefined;
21
- hoverStyles?: amotify.UniStyles.Params | undefined;
22
- focusStyles?: amotify.UniStyles.Params | undefined;
23
- activeStyles?: amotify.UniStyles.Params | undefined;
24
- ssEffectsOnActive?: false | amotify.UniStyles.Others.EffectsOnActiveTypes | amotify.UniStyles.Others.EffectsOnActiveTypes[] | undefined;
25
- ssPushable?: boolean | undefined;
26
- ssLastChildLossBorder?: false | "bottom" | "right" | undefined;
27
- } & {
28
- showInitial?: boolean | undefined;
29
- loaderID?: string | undefined;
30
- } & {
31
- color?: amotify.fn.Loader.Colors | undefined;
32
- size?: amotify.fn.Loader.Sizes | undefined;
33
- }) => JSX.Element;
@@ -1,126 +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 __importDefault = (this && this.__importDefault) || function (mod) {
41
- return (mod && mod.__esModule) ? mod : { "default": mod };
42
- };
43
- Object.defineProperty(exports, "__esModule", { value: true });
44
- exports.Mini = void 0;
45
- var _global_1 = require("../../Global/@export");
46
- var _mols_1 = require("../../Molecules/@export");
47
- var useEffect = React.useEffect, useState = React.useState;
48
- var style_module_scss_1 = __importDefault(require("./style.module.scss"));
49
- var Mini = function (params) {
50
- var _a = params.color, color = _a === void 0 ? 'theme' : _a, _b = params.size, size = _b === void 0 ? 'R' : _b, _c = params.showInitial, showInitial = _c === void 0 ? false : _c, _d = params.loaderID, loaderID = _d === void 0 ? '' : _d, props = __rest(params, ["color", "size", "showInitial", "loaderID"]);
51
- var _e = __read(useState(loaderID), 1), val_key = _e[0];
52
- var _f = __read(useState($.uuidGen()), 1), val_componentID = _f[0];
53
- var _g = __read(useState(showInitial), 2), val_active = _g[0], set_active = _g[1];
54
- var Size = 0;
55
- if (size == 'S') {
56
- Size = 1;
57
- }
58
- else if (size == 'R') {
59
- Size = 1.5;
60
- }
61
- else if (size == 'L') {
62
- Size = 3;
63
- }
64
- else if (size == 'XL') {
65
- Size = 4;
66
- }
67
- else if (size == 'MAX') {
68
- Size = 6;
69
- }
70
- var BorderColor = {
71
- 'theme': 'hsl( var( --color-theme-hsl ) )',
72
- 'posi': 'var( --color-positive )',
73
- 'nega': 'var( --color-negative )',
74
- 'warn': 'var( --color-warning )',
75
- 'cloud': 'hsl( var( --color-layer5-hsl ) )',
76
- 'white': 'white',
77
- }[color];
78
- var QuerySelector = '[data-component-id="' + val_componentID + '"]';
79
- useEffect(function () {
80
- if (val_active) {
81
- $(QuerySelector)
82
- .removeClass(style_module_scss_1.default.Hide)
83
- .await(10)
84
- .addClass(style_module_scss_1.default.Active);
85
- }
86
- else {
87
- $(QuerySelector)
88
- .removeClass(style_module_scss_1.default.Active)
89
- .await(210)
90
- .addClass(style_module_scss_1.default.Hide);
91
- }
92
- }, [val_active]);
93
- useEffect(function () {
94
- _global_1.useStore.set({
95
- key: val_componentID,
96
- value: {
97
- active: function (keyCode) {
98
- if (val_key != keyCode)
99
- return;
100
- set_active(true);
101
- },
102
- stop: function (keyCode) {
103
- if (val_key != keyCode)
104
- return;
105
- set_active(false);
106
- },
107
- stopForce: function () {
108
- set_active(false);
109
- }
110
- }
111
- });
112
- }, []);
113
- return React.createElement(_mols_1.Row.Center, __assign({ ssSphere: Size, className: [
114
- style_module_scss_1.default.MiniLoader,
115
- showInitial ? '' : style_module_scss_1.default.Hide
116
- ].join(' '), componentID: val_componentID, position: 'relative' }, props),
117
- React.createElement("svg", { className: style_module_scss_1.default.SVG1, width: "100", height: "100", viewBox: "0 0 100 100", style: {
118
- stroke: BorderColor
119
- } },
120
- React.createElement("circle", { cx: "50", cy: "50", r: "40" })),
121
- React.createElement("svg", { className: style_module_scss_1.default.SVG2, width: "100", height: "100", viewBox: "0 0 100 100", style: {
122
- stroke: BorderColor
123
- } },
124
- React.createElement("circle", { cx: "50", cy: "50", r: "40" })));
125
- };
126
- exports.Mini = Mini;
@@ -1,3 +0,0 @@
1
- export declare const memoryID: string;
2
- declare const Loader: amotify.fn.Loader.Methods;
3
- export { Loader };
@@ -1,108 +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 __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Loader = exports.memoryID = void 0;
18
- var _global_1 = require("../../Global/@export");
19
- var useEffect = React.useEffect, useState = React.useState;
20
- var style_module_scss_1 = __importDefault(require("./style.module.scss"));
21
- exports.memoryID = $.uuidGen();
22
- var mini_1 = require("./mini");
23
- var top_1 = require("./top");
24
- var corner_1 = require("./corner");
25
- var SizeWrapper = function (params) {
26
- var color = params.color;
27
- return {
28
- S: function (params) { return React.createElement(mini_1.Mini, __assign({ size: 'S', color: color }, params)); },
29
- R: function (params) { return React.createElement(mini_1.Mini, __assign({ size: 'R', color: color }, params)); },
30
- L: function (params) { return React.createElement(mini_1.Mini, __assign({ size: 'L', color: color }, params)); },
31
- XL: function (params) { return React.createElement(mini_1.Mini, __assign({ size: 'XL', color: color }, params)); },
32
- MAX: function (params) { return React.createElement(mini_1.Mini, __assign({ size: 'MAX', color: color }, params)); },
33
- };
34
- };
35
- var Loader = {
36
- __memoryID: exports.memoryID,
37
- Theme: SizeWrapper({ color: 'theme' }),
38
- Posi: SizeWrapper({ color: 'posi' }),
39
- Nega: SizeWrapper({ color: 'nega' }),
40
- Warn: SizeWrapper({ color: 'warn' }),
41
- White: SizeWrapper({ color: 'white' }),
42
- Cloud: SizeWrapper({ color: 'cloud' }),
43
- fn: {
44
- top: {
45
- active: function () {
46
- _global_1.useStore.get(exports.memoryID + '-top').active();
47
- },
48
- stop: function () {
49
- _global_1.useStore.get(exports.memoryID + '-top').stop();
50
- },
51
- },
52
- corner: {
53
- active: function () {
54
- _global_1.useStore.get(exports.memoryID + '-corner').active();
55
- },
56
- stop: function () {
57
- _global_1.useStore.get(exports.memoryID + '-corner').stop();
58
- },
59
- },
60
- mini: {
61
- active: function (keyCode) {
62
- if (keyCode === void 0) { keyCode = ''; }
63
- $('.' + style_module_scss_1.default.MiniLoader).for(function (elm) {
64
- var _a = elm.dataset, _b = _a === void 0 ? {} : _a, componentId = _b.componentId;
65
- if (!componentId)
66
- return;
67
- var fn = _global_1.useStore.get(componentId);
68
- if (fn && fn.active)
69
- fn.active(keyCode);
70
- });
71
- },
72
- stop: function (keyCode) {
73
- if (keyCode === void 0) { keyCode = ''; }
74
- $('.' + style_module_scss_1.default.MiniLoader).for(function (elm) {
75
- var _a = elm.dataset, _b = _a === void 0 ? {} : _a, componentId = _b.componentId;
76
- if (!componentId)
77
- return;
78
- var fn = _global_1.useStore.get(componentId);
79
- if (fn && fn.stop)
80
- fn.stop(keyCode);
81
- });
82
- },
83
- stopALL: function () {
84
- $('.' + style_module_scss_1.default.MiniLoader).for(function (elm) {
85
- var _a = elm.dataset, _b = _a === void 0 ? {} : _a, componentId = _b.componentId;
86
- if (!componentId)
87
- return;
88
- var fn = _global_1.useStore.get(componentId);
89
- if (fn && fn.stopForce)
90
- fn.stopForce();
91
- });
92
- },
93
- },
94
- stopALL: function () {
95
- Loader.fn.top.stop();
96
- Loader.fn.corner.stop();
97
- Loader.fn.mini.stopALL();
98
- }
99
- }
100
- };
101
- exports.Loader = Loader;
102
- (0, _global_1.LaunchReactApplication)({
103
- baseElement: '#LOADER',
104
- reactElement: React.createElement(React.Fragment, null,
105
- React.createElement(top_1.Top, null),
106
- React.createElement(corner_1.Corner, null)),
107
- nonRouter: true
108
- });
@@ -1 +0,0 @@
1
- export declare const Top: () => JSX.Element;
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __read = (this && this.__read) || function (o, n) {
3
- var m = typeof Symbol === "function" && o[Symbol.iterator];
4
- if (!m) return o;
5
- var i = m.call(o), r, ar = [], e;
6
- try {
7
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
8
- }
9
- catch (error) { e = { error: error }; }
10
- finally {
11
- try {
12
- if (r && !r.done && (m = i["return"])) m.call(i);
13
- }
14
- finally { if (e) throw e.error; }
15
- }
16
- return ar;
17
- };
18
- var __importDefault = (this && this.__importDefault) || function (mod) {
19
- return (mod && mod.__esModule) ? mod : { "default": mod };
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.Top = void 0;
23
- var _global_1 = require("../../Global/@export");
24
- var _atoms_1 = require("../../Atoms/@export");
25
- var useEffect = React.useEffect, useState = React.useState;
26
- var style_module_scss_1 = __importDefault(require("./style.module.scss"));
27
- var parts_1 = require("./parts");
28
- var Top = function () {
29
- var _a = __read(useState(false), 2), val_active = _a[0], set_active = _a[1];
30
- useEffect(function () {
31
- _global_1.useStore.set({
32
- key: parts_1.memoryID + '-top',
33
- value: {
34
- active: function () {
35
- set_active(true);
36
- },
37
- stop: function () {
38
- set_active(false);
39
- }
40
- }
41
- });
42
- }, []);
43
- return React.createElement(_atoms_1.Flex, { className: [
44
- style_module_scss_1.default.TopLoader,
45
- style_module_scss_1.default['Active_' + val_active]
46
- ].join(' '), position: 'fixed', top: 0, left: 0, right: 0, bottom: 0, horizontalAlign: 'center', transition: 'long', opacity: 'trans', backgroundColor: 'lcOpHigh', freeCSS: {
47
- paddingTop: 12 * 8,
48
- pointerEvents: 'none'
49
- } },
50
- React.createElement(_atoms_1.Flex, { flexType: 'col', position: 'relative' },
51
- React.createElement(_atoms_1.Flex, { className: style_module_scss_1.default.Center, flexCenter: true },
52
- React.createElement(_atoms_1.Box, null,
53
- React.createElement(_atoms_1.Box, { className: [style_module_scss_1.default.Child, style_module_scss_1.default.Child1].join(' ') },
54
- React.createElement(_atoms_1.Box, { className: style_module_scss_1.default.Circle, backgroundColor: 'tcDarken' })),
55
- React.createElement(_atoms_1.Box, { className: [style_module_scss_1.default.Child, style_module_scss_1.default.Child2].join(' ') },
56
- React.createElement(_atoms_1.Box, { className: style_module_scss_1.default.Circle, backgroundColor: 'tcDarker' })),
57
- React.createElement(_atoms_1.Box, { className: [style_module_scss_1.default.Child, style_module_scss_1.default.Child3].join(' ') },
58
- React.createElement(_atoms_1.Box, { className: style_module_scss_1.default.Circle, backgroundColor: 'tcDarkest' })),
59
- React.createElement(_atoms_1.Box, { className: [style_module_scss_1.default.Child, style_module_scss_1.default.Child4].join(' ') },
60
- React.createElement(_atoms_1.Box, { className: style_module_scss_1.default.Circle, backgroundColor: 'tcLighten' })),
61
- React.createElement(_atoms_1.Box, { className: [style_module_scss_1.default.Child, style_module_scss_1.default.Child5].join(' ') },
62
- React.createElement(_atoms_1.Box, { className: style_module_scss_1.default.Circle, backgroundColor: 'tcLighter' })),
63
- React.createElement(_atoms_1.Box, { className: [style_module_scss_1.default.Child, style_module_scss_1.default.Child6].join(' ') },
64
- React.createElement(_atoms_1.Box, { className: style_module_scss_1.default.Circle, backgroundColor: 'tcLightest' })),
65
- React.createElement(_atoms_1.Box, { className: [style_module_scss_1.default.Child, style_module_scss_1.default.Child7].join(' ') },
66
- React.createElement(_atoms_1.Box, { className: style_module_scss_1.default.Circle, backgroundColor: 'theme' })))),
67
- React.createElement(_atoms_1.Box, { flexCenter: true, fontSize: '2.normal' }, "Loading...")));
68
- };
69
- exports.Top = Top;
@@ -1,2 +0,0 @@
1
- declare const Sheet: amotify.fn.Sheet.Methods;
2
- export { Sheet };