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,2 +0,0 @@
1
- import { DisplayStyleInput } from './DisplayStyleInput/_';
2
- export { DisplayStyleInput };
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisplayStyleInput = void 0;
4
- var _1 = require("./DisplayStyleInput/_");
5
- Object.defineProperty(exports, "DisplayStyleInput", { enumerable: true, get: function () { return _1.DisplayStyleInput; } });
@@ -1 +0,0 @@
1
- export declare const DisplayStyleInput: amotify.orgs.DisplayStyleInput.Methods;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisplayStyleInput = void 0;
4
- var darkmode_1 = require("./darkmode");
5
- var themeColor_1 = require("./themeColor");
6
- exports.DisplayStyleInput = {
7
- Darkmode: darkmode_1.Darkmode,
8
- ThemeColor: {
9
- ALL: themeColor_1.ThemeColorALL,
10
- Originals: themeColor_1.ThemeColorOriginal,
11
- Brands: themeColor_1.ThemeColorBrands,
12
- Basics: themeColor_1.ThemeColorBasic,
13
- Keys: themeColor_1.Colors,
14
- }
15
- };
@@ -1 +0,0 @@
1
- export declare const Darkmode: (params: amotify.orgs.DisplayStyleInput.DarkmodeInput) => JSX.Element;
@@ -1,77 +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
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.Darkmode = void 0;
20
- var _global_1 = require("../../Global/@export");
21
- var _atoms_1 = require("../../Atoms/@export");
22
- var _mols_1 = require("../../Molecules/@export");
23
- var _functions_1 = require("../../Functions/@export");
24
- var useState = _global_1.React.useState, useEffect = _global_1.React.useEffect;
25
- var ColorCell = function (params) {
26
- if (params.colorType == 'light') {
27
- return _global_1.React.createElement(_atoms_1.Box, { freeCSS: {
28
- backgroundColor: '#FFF'
29
- }, width: 1, height: 1, isRounded: true });
30
- }
31
- else if (params.colorType == 'dark') {
32
- return _global_1.React.createElement(_atoms_1.Box, { freeCSS: {
33
- backgroundColor: '#333'
34
- }, width: 1, height: 1, isRounded: true });
35
- }
36
- else if (params.colorType == 'dim') {
37
- return _global_1.React.createElement(_atoms_1.Box, { freeCSS: {
38
- backgroundColor: '#666'
39
- }, width: 1, height: 1, isRounded: true });
40
- }
41
- return _global_1.React.createElement(_mols_1.Column, { width: 1, height: 1, isRounded: true, flexChilds: 'even', overflow: 'hidden', gap: '1/6', freeCSS: {
42
- transform: 'rotate(-45deg)'
43
- } },
44
- _global_1.React.createElement(_atoms_1.Box, { freeCSS: {
45
- backgroundColor: '#FFF'
46
- }, borderRadius: 1 }),
47
- _global_1.React.createElement(_atoms_1.Box, { freeCSS: {
48
- backgroundColor: '#333'
49
- }, borderRadius: 1 }));
50
- };
51
- var Darkmode = function (params) {
52
- var _a = __read(useState(amotify.config.darkMode || 'light'), 2), val_darkmode = _a[0], set_darkmode = _a[1];
53
- var mounted = _global_1.React.useRef(false);
54
- useEffect(function () {
55
- if (mounted.current) {
56
- params.onUpdate(val_darkmode);
57
- }
58
- else {
59
- mounted.current = true;
60
- }
61
- }, [val_darkmode]);
62
- return _global_1.React.createElement(_functions_1.Input.Radio, { icon: false, value: val_darkmode, cellStyles: {
63
- padding: '1/3',
64
- borderWidth: 2,
65
- ssSphere: 4,
66
- isRounded: true
67
- }, options: [
68
- { value: 'light', label: _global_1.React.createElement(ColorCell, { colorType: 'light' }) },
69
- { value: 'dark', label: _global_1.React.createElement(ColorCell, { colorType: 'dark' }) },
70
- { value: 'dim', label: _global_1.React.createElement(ColorCell, { colorType: 'dim' }) },
71
- { value: 'auto', label: _global_1.React.createElement(ColorCell, { colorType: 'auto' }) },
72
- ], onUpdateValidValue: function (_a) {
73
- var value = _a.value;
74
- set_darkmode(value[0]);
75
- } });
76
- };
77
- exports.Darkmode = Darkmode;
@@ -1,27 +0,0 @@
1
- export declare const Colors: {
2
- Basics: ({
3
- key: string;
4
- icon: JSX.Element;
5
- } | {
6
- key: string;
7
- icon: string;
8
- })[];
9
- Brands: {
10
- key: string;
11
- icon: JSX.Element;
12
- label: string;
13
- }[];
14
- Originals: ({
15
- key: string;
16
- icon: string;
17
- label?: undefined;
18
- } | {
19
- key: string;
20
- icon: string;
21
- label: string;
22
- })[];
23
- };
24
- export declare const ThemeColorALL: FNC<amotify.orgs.DisplayStyleInput.ThemeColorInput>;
25
- export declare const ThemeColorBasic: FNC<amotify.orgs.DisplayStyleInput.ThemeColorInput>;
26
- export declare const ThemeColorOriginal: FNC<amotify.orgs.DisplayStyleInput.ThemeColorInput>;
27
- export declare const ThemeColorBrands: FNC<amotify.orgs.DisplayStyleInput.ThemeColorInput>;
@@ -1,185 +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 __read = (this && this.__read) || function (o, n) {
14
- var m = typeof Symbol === "function" && o[Symbol.iterator];
15
- if (!m) return o;
16
- var i = m.call(o), r, ar = [], e;
17
- try {
18
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
19
- }
20
- catch (error) { e = { error: error }; }
21
- finally {
22
- try {
23
- if (r && !r.done && (m = i["return"])) m.call(i);
24
- }
25
- finally { if (e) throw e.error; }
26
- }
27
- return ar;
28
- };
29
- Object.defineProperty(exports, "__esModule", { value: true });
30
- exports.ThemeColorBrands = exports.ThemeColorOriginal = exports.ThemeColorBasic = exports.ThemeColorALL = exports.Colors = void 0;
31
- var _global_1 = require("../../Global/@export");
32
- var _atoms_1 = require("../../Atoms/@export");
33
- var _mols_1 = require("../../Molecules/@export");
34
- var _functions_1 = require("../../Functions/@export");
35
- var useState = _global_1.React.useState, useEffect = _global_1.React.useEffect;
36
- exports.Colors = {
37
- Basics: [
38
- {
39
- key: 'comun', icon: _global_1.React.createElement(_atoms_1.Box, { padding: '1/2' },
40
- _global_1.React.createElement(_atoms_1.Img, { src: _atoms_1.Img.uri.comunIconClear }))
41
- },
42
- { key: 'leaf', icon: 'leaf' },
43
- { key: 'heart', icon: 'heart' },
44
- { key: 'droplet', icon: 'droplet' },
45
- ],
46
- Brands: [
47
- { key: 'line', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "line" }), label: 'LINE' },
48
- { key: 'twitter', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "twitter" }), label: 'Twitter' },
49
- { key: 'amazon', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "amazon" }), label: 'Amazon' },
50
- { key: 'facebook', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "facebook" }), label: 'Facebook' },
51
- { key: 'android', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "android" }), label: 'Android' },
52
- { key: 'slackBlue', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "slack" }), label: 'Slack Blue' },
53
- { key: 'slackGreen', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "slack" }), label: 'Slack Green' },
54
- { key: 'slackRed', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "slack" }), label: 'Slack Red' },
55
- { key: 'slackYellow', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "slack" }), label: 'Slack Yellow' },
56
- { key: 'slackBase', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "slack" }), label: 'Slack Base' },
57
- { key: 'googleBlue', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "google" }), label: 'Google Blue' },
58
- { key: 'googleGreen', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "google" }), label: 'Google Green' },
59
- { key: 'googleYellow', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "google" }), label: 'Google Yellow' },
60
- { key: 'googleRed', icon: _global_1.React.createElement(_atoms_1.FAIcon, { isBrandIcon: true, d: "google" }), label: 'Google Red' }
61
- ],
62
- Originals: [
63
- { key: 'brick', icon: 'block-brick' },
64
- { key: 'flower', icon: 'flower-tulip' },
65
- { key: 'lip', icon: 'lips' },
66
- { key: 'wine', icon: 'wine-glass' },
67
- { key: 'theater', icon: 'theater-masks', label: 'entertainment' },
68
- { key: 'bat', icon: 'bat' },
69
- { key: 'poizon', icon: 'flask-poison' },
70
- { key: 'eggplant', icon: 'eggplant' },
71
- { key: 'ufo', icon: 'ufo', label: 'UFO' },
72
- { key: 'alien', icon: 'alien' },
73
- { key: 'tombstone', icon: 'tombstone' },
74
- { key: 'ninja', icon: 'user-ninja' },
75
- { key: 'moon', icon: 'moon' },
76
- { key: 'rain', icon: 'cloud-showers-heavy' },
77
- { key: 'unicorn', icon: 'alicorn' },
78
- { key: 'axe', icon: 'axe' },
79
- { key: 'gem', icon: 'gem' },
80
- { key: 'soap', icon: 'soap' },
81
- { key: 'drizzle', icon: 'cloud-drizzle' },
82
- { key: 'building', icon: 'building' },
83
- { key: 'fish', icon: 'fish' },
84
- { key: 'icicles', icon: 'icicles', label: 'ice' },
85
- { key: 'water', icon: 'water' },
86
- { key: 'tree1', icon: 'tree-alt' },
87
- { key: 'tree2', icon: 'trees' },
88
- { key: 'tree3', icon: 'tree' },
89
- { key: 'battery', icon: 'battery-bolt' },
90
- { key: 'seedle', icon: 'seedling' },
91
- { key: 'greenTea', icon: 'mug-tea' },
92
- { key: 'oak', icon: 'leaf-oak' },
93
- { key: 'salad', icon: 'salad' },
94
- { key: 'cloud', icon: 'cloud' },
95
- { key: 'lemon', icon: 'lemon' },
96
- { key: 'angel', icon: 'angel' },
97
- { key: 'parasol', icon: 'umbrella-beach' },
98
- { key: 'pizza', icon: 'pizza-slice' },
99
- { key: 'thunder', icon: 'thunderstorm' },
100
- { key: 'latte', icon: 'coffee-togo' },
101
- { key: 'island', icon: 'island-tropical' },
102
- { key: 'shovel', icon: 'shovel' },
103
- { key: 'coffee', icon: 'coffee' },
104
- { key: 'carrot', icon: 'carrot' },
105
- { key: 'cactus', icon: 'cactus' },
106
- { key: 'volcano', icon: 'volcano' },
107
- { key: 'choco', icon: 'candy-bar' },
108
- { key: 'industry', icon: 'industry-windows' },
109
- { key: 'gun', icon: 'gun' },
110
- { key: 'galaxy', icon: 'galaxy', label: 'blakchole' },
111
- ]
112
- };
113
- var GenOption = function (params) {
114
- var key = params.key, icon = params.icon, _a = params.label, label = _a === void 0 ? '' : _a;
115
- var Color = function (alfa) { return ("hsla( var( --cH_".concat(key, " ),var( --cS_").concat(key, " ),var( --cL_").concat(key, " ),").concat(alfa !== null && alfa !== void 0 ? alfa : 1, " ) ")); };
116
- return {
117
- value: params.key,
118
- label: _global_1.React.createElement(_global_1.React.Fragment, null, $.is.string(icon) ? _global_1.React.createElement(_atoms_1.FAIcon, { isSolidIcon: true, d: icon }) : icon),
119
- freeCSS: {
120
- backgroundColor: Color(0.15),
121
- color: Color()
122
- },
123
- checkedStyles: {
124
- fontColor: 'white',
125
- boxShadow: 3,
126
- freeCSS: {
127
- backgroundColor: Color(),
128
- color: 'white',
129
- transform: 'scale(1.1)'
130
- }
131
- }
132
- };
133
- };
134
- var ThemeColor = function (type) {
135
- var ColorsArray = [];
136
- if (type == 'all') {
137
- ColorsArray = [
138
- exports.Colors.Basics,
139
- exports.Colors.Brands,
140
- exports.Colors.Originals,
141
- ];
142
- }
143
- else if (type == 'original') {
144
- ColorsArray = [exports.Colors.Originals];
145
- }
146
- else if (type == 'basic') {
147
- ColorsArray = [exports.Colors.Basics];
148
- }
149
- else if (type = 'brand') {
150
- ColorsArray = [exports.Colors.Brands];
151
- }
152
- var UniParams = __assign(__assign({}, {}), { tone: 'plain', icon: false, override: 'force', flexType: 'row', gap: 1, horizontalAlign: 'around', cellStyles: {
153
- ssSphere: 3,
154
- flexCenter: true,
155
- borderRadius: '1.tone.primary',
156
- fontSize: '3.paragraph',
157
- transition: 'middle'
158
- } });
159
- var Comp = function (params) {
160
- var mounted = _global_1.React.useRef(false);
161
- var _a = __read(useState(amotify.config.themeColor), 2), val_ColorKey = _a[0], set_ColorKey = _a[1];
162
- useEffect(function () {
163
- if (mounted.current) {
164
- params.onUpdate(val_ColorKey);
165
- }
166
- else {
167
- mounted.current = true;
168
- }
169
- }, [val_ColorKey]);
170
- var Inputer = ColorsArray.map(function (Colors) {
171
- return _global_1.React.createElement(_functions_1.Input.Radio, __assign({}, UniParams, { value: val_ColorKey, options: Colors.map(function (info) {
172
- return GenOption(info);
173
- }), onUpdateValidValue: function (_a) {
174
- var value = _a.value;
175
- set_ColorKey(value[0]);
176
- } }));
177
- });
178
- return _global_1.React.createElement(_mols_1.Column, { gap: 2 }, Inputer);
179
- };
180
- return Comp;
181
- };
182
- exports.ThemeColorALL = ThemeColor('all');
183
- exports.ThemeColorBasic = ThemeColor('basic');
184
- exports.ThemeColorOriginal = ThemeColor('original');
185
- exports.ThemeColorBrands = ThemeColor('brand');
@@ -1,2 +0,0 @@
1
- import { PlayGround } from './PlayGround/parts';
2
- export { PlayGround };
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlayGround = void 0;
4
- var parts_1 = require("./PlayGround/parts");
5
- Object.defineProperty(exports, "PlayGround", { enumerable: true, get: function () { return parts_1.PlayGround; } });
@@ -1 +0,0 @@
1
- export declare const PlayGround: FNC<{}>;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlayGround = void 0;
4
- var _global_1 = require("../../Global/@export");
5
- var useEffect = _global_1.React.useEffect, useState = _global_1.React.useState;
6
- var _atoms_1 = require("../../Atoms/@export");
7
- var _mols_1 = require("../../Molecules/@export");
8
- var _orgs_1 = require("../../Organisms/@export");
9
- var _functions_1 = require("../../Functions/@export");
10
- var PlayGround = function () {
11
- return (_global_1.React.createElement(_global_1.React.Fragment, null,
12
- _global_1.React.createElement(_mols_1.Column, { gap: 2 },
13
- _global_1.React.createElement(_orgs_1.DisplayStyleInput.Darkmode, { onUpdate: function (value) {
14
- amotify.config.update.darkMode(value);
15
- } }),
16
- _global_1.React.createElement(_orgs_1.DisplayStyleInput.ThemeColor.Originals, { onUpdate: function (value) {
17
- amotify.config.update.themeColor(value);
18
- } }),
19
- _global_1.React.createElement(_orgs_1.DisplayStyleInput.ThemeColor.Brands, { onUpdate: function (value) {
20
- amotify.config.update.themeColor(value);
21
- } }),
22
- _global_1.React.createElement(_functions_1.Input.Text.Normal, null),
23
- _global_1.React.createElement(_functions_1.Input.Select, { options: [
24
- { value: 1, label: 'AAA' },
25
- { value: 2, label: 'BBB' },
26
- { value: 3, label: 'CCC' },
27
- {
28
- value: {
29
- test: 1,
30
- }, label: 'DDD'
31
- },
32
- ], onUpdateValidValue: function (_a) {
33
- var value = _a.value;
34
- console.log(value);
35
- } }),
36
- _global_1.React.createElement(_functions_1.Buttons.Button.Prime.R, { submitOption: {
37
- formName: 'test',
38
- callback: function (form) {
39
- console.log(form);
40
- }
41
- } }, "Submit"),
42
- _global_1.React.createElement(_atoms_1.Box, null,
43
- "Label1",
44
- _global_1.React.createElement(_functions_1.Inputs.TextInput, { tone: 'normal' })),
45
- _global_1.React.createElement(_atoms_1.Box, null,
46
- "Label2",
47
- _global_1.React.createElement(_functions_1.Inputs.TextInput, { tone: 'cloud', width: 1 })),
48
- _global_1.React.createElement(_atoms_1.Box, null,
49
- "Label3",
50
- _global_1.React.createElement(_functions_1.Inputs.TextInput, { tone: 'bottomBorder', unitWidth: 12 })),
51
- _global_1.React.createElement(_atoms_1.Box, null,
52
- "Label4",
53
- _global_1.React.createElement(_functions_1.Inputs.TextInput, { tone: 'plain', unitWidth: 6 })))));
54
- };
55
- exports.PlayGround = PlayGround;
package/dist/config.d.ts DELETED
@@ -1,16 +0,0 @@
1
- export declare const script: HTMLOrSVGScriptElement | null;
2
- export declare const fileName: string | null | undefined;
3
- export declare const Version: string;
4
- export declare const userAgent: string;
5
- export declare const deviceType: string;
6
- export declare const deviceIdentifier: () => {
7
- isWhat: "Windows";
8
- isTouchDevice: boolean;
9
- isPhone: boolean;
10
- isIOS: boolean;
11
- isSystemDarkmode: () => boolean;
12
- isBreakpoint: () => boolean;
13
- isPhonepoint: () => boolean;
14
- };
15
- export declare const SetThemeColorTag: () => void;
16
- export declare const defaultConfig: amotify.config.Methods;
package/dist/config.js DELETED
@@ -1,171 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
18
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
32
- }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
- }
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.defaultConfig = exports.SetThemeColorTag = exports.deviceIdentifier = exports.deviceType = exports.userAgent = exports.Version = exports.fileName = exports.script = void 0;
40
- exports.script = document.currentScript;
41
- exports.fileName = exports.script === null || exports.script === void 0 ? void 0 : exports.script.attributes.getNamedItem('src').textContent;
42
- exports.Version = ((exports.fileName === null || exports.fileName === void 0 ? void 0 : exports.fileName.match(/v\d\.\d\.\d/)) || ['v0.0.0'])[0];
43
- exports.userAgent = window.navigator.userAgent.toLowerCase();
44
- exports.deviceType = exports.userAgent.indexOf("windows nt") !== -1 ? 'Windows'
45
- : exports.userAgent.indexOf("android") !== -1 ? 'Android'
46
- : exports.userAgent.indexOf("iphone") !== -1 ? 'iPhone'
47
- : exports.userAgent.indexOf("ipad") > -1 || (exports.userAgent.indexOf("macintosh") > -1 && "ontouchend" in document) ? 'iPad'
48
- : exports.userAgent.indexOf("mac os x") !== -1 ? 'macOSX'
49
- : 'undefined';
50
- var deviceIdentifier = function () {
51
- var info = {
52
- isWhat: exports.deviceType,
53
- isTouchDevice: window.ontouchstart !== undefined && 0 < navigator.maxTouchPoints,
54
- isPhone: ['Android', 'iPhone'].includes(exports.deviceType),
55
- isIOS: ['iPhone', 'iPad'].includes(exports.deviceType),
56
- isSystemDarkmode: function () {
57
- return window.matchMedia('(prefers-color-scheme: dark)').matches == true;
58
- },
59
- isBreakpoint: function () { return window.innerWidth <= 896; },
60
- isPhonepoint: function () { return window.innerWidth <= 690; }
61
- };
62
- return info;
63
- };
64
- exports.deviceIdentifier = deviceIdentifier;
65
- var SetThemeColorTag = function () {
66
- var hex = '#45515c';
67
- var meta = $('#ThemeColorMetaTag');
68
- if (!meta[0])
69
- return;
70
- meta.setAttribute('content', hex);
71
- };
72
- exports.SetThemeColorTag = SetThemeColorTag;
73
- exports.defaultConfig = {
74
- version: exports.Version,
75
- tone: 'default',
76
- darkMode: 'light',
77
- themeColor: 'comun',
78
- roundness: 2,
79
- device: (0, exports.deviceIdentifier)(),
80
- update: {
81
- tone: function (value) {
82
- if (!['default', 'flat', 'sharp'].includes(value))
83
- value = 'default';
84
- if (value == amotify.config.tone)
85
- return;
86
- amotify.config.tone = value;
87
- var body = $('body');
88
- body
89
- .removeClass(body.findClass(/^bdsTN/))
90
- .addClass('bdsTN' + value)
91
- .callback(function () {
92
- (0, exports.SetThemeColorTag)();
93
- });
94
- amotify.glob.useRecycle.do('RootViewController');
95
- },
96
- themeColor: function (value) {
97
- if (![
98
- 'comun', 'leaf', 'heart', 'droplet',
99
- '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',
100
- 'line', 'twitter', 'amazon', 'facebook', 'android', 'slackBlue', 'slackGreen', 'slackRed', 'slackYellow', 'slackBase', 'googleBlue', 'googleGreen', 'googleYellow', 'googleRed'
101
- ].includes(value))
102
- value = 'comun';
103
- if (value == amotify.config.themeColor)
104
- return;
105
- amotify.config.themeColor = value;
106
- var body = $(document.body);
107
- body
108
- .removeClass(body.findClass(/^bdsTC/))
109
- .addClass('bdsTC_' + value)
110
- .callback(function () {
111
- (0, exports.SetThemeColorTag)();
112
- });
113
- amotify.glob.useRecycle.do('RootViewController');
114
- },
115
- darkMode: function (value) {
116
- if (!['light', 'dark', 'dim', 'auto'].includes(value))
117
- value = 'light';
118
- if (value == amotify.config.darkMode)
119
- return;
120
- var Value = value == 'auto'
121
- ? (0, exports.deviceIdentifier)().isSystemDarkmode()
122
- ? 'dark'
123
- : 'light'
124
- : value;
125
- amotify.config.darkMode = value;
126
- var body = $('body');
127
- body
128
- .removeClass(body.findClass(/^bdsDM/))
129
- .addClass('bdsDM_' + Value);
130
- amotify.glob.useRecycle.do('RootViewController');
131
- },
132
- roundness: function (value) {
133
- if (!(value >= 0 && value <= 5))
134
- value = 2;
135
- if (value == amotify.config.roundness)
136
- return;
137
- amotify.config.roundness = value;
138
- amotify.glob.useRecycle.do('RootViewController');
139
- },
140
- },
141
- readExtraCDN: function (key) { return __awaiter(void 0, void 0, void 0, function () {
142
- var url, valid;
143
- return __generator(this, function (_a) {
144
- switch (_a.label) {
145
- case 0:
146
- url = key;
147
- valid = false;
148
- if (!url) return [3 /*break*/, 2];
149
- return [4 /*yield*/, $.CDNReader(url)];
150
- case 1:
151
- _a.sent();
152
- console.log('Read extraCdn : ' + key);
153
- valid = true;
154
- _a.label = 2;
155
- case 2: return [2 /*return*/, valid];
156
- }
157
- });
158
- }); }
159
- };
160
- $('body').addClass([
161
- 'usrDevice_' + (0, exports.deviceIdentifier)().isWhat,
162
- 'bdsDM_' + exports.defaultConfig.darkMode,
163
- 'bdsTC_' + exports.defaultConfig.themeColor
164
- ]);
165
- $(window).addEvent({
166
- eventType: 'load',
167
- callback: function () {
168
- var style = document.body.style;
169
- style.setProperty('--viewHeight', window.innerHeight + 'px');
170
- }
171
- });
package/dist/launch.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import 'jsmin-front/dist/@types';
2
- import './@types/_';
3
- declare let publicURI: string;
4
- export { publicURI };
5
- import './@jsminAmotifyExtension/_';
6
- declare const amotify: amotify;
7
- export { amotify };
8
- import './@styles/@app.scss';
9
- import './preload';
package/dist/launch.js DELETED
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.amotify = exports.publicURI = void 0;
4
- require("jsmin-front/dist/@types");
5
- if (!global.$)
6
- console.log("%c\u203Bcan not find global.$,please read Jsmin to launch amotify.", 'color:orange;');
7
- require("./@types/_");
8
- var publicURI = 'https://public.comun.jp/';
9
- exports.publicURI = publicURI;
10
- require("./@jsminAmotifyExtension/_");
11
- var _global_1 = require("./Global/@export");
12
- var _atoms_1 = require("./Atoms/@export");
13
- var _mols_1 = require("./Molecules/@export");
14
- var _orgs_1 = require("./Organisms/@export");
15
- var _temps_1 = require("./Templates/@export");
16
- var _functions_1 = require("./Functions/@export");
17
- var config_1 = require("./config");
18
- var amotify = {
19
- config: config_1.defaultConfig,
20
- glob: { React: _global_1.React, ReactDom: _global_1.ReactDom, ReactRouterDom: _global_1.ReactRouterDom, pageTransit: _global_1.pageTransit, useStore: _global_1.useStore, useRecycle: _global_1.useRecycle, StyleConverter: _global_1.StyleConverter, LaunchReactApplication: _global_1.LaunchReactApplication },
21
- atoms: { Flex: _atoms_1.Flex, FlexBr: _atoms_1.FlexBr, FAIcon: _atoms_1.FAIcon, Placeholder: _atoms_1.Placeholder, Grid: _atoms_1.Grid, Logo: _atoms_1.Logo, Box: _atoms_1.Box, Span: _atoms_1.Span, Paragraph: _atoms_1.Paragraph, Img: _atoms_1.Img },
22
- mols: { List: _mols_1.List, Accordion: _mols_1.Accordion, LinkifyText: _mols_1.LinkifyText, Text: _mols_1.Text, Column: _mols_1.Column, Row: _mols_1.Row },
23
- orgs: { DisplayStyleInput: _orgs_1.DisplayStyleInput },
24
- temps: { PlayGround: _temps_1.PlayGround },
25
- fn: { Buttons: _functions_1.Buttons, Input: _functions_1.Input, Table: _functions_1.Table, Layout: _functions_1.Layout, Sheet: _functions_1.Sheet, SnackBar: _functions_1.SnackBar, Loader: _functions_1.Loader, Tooltips: _functions_1.Tooltips, Effects: _functions_1.Effects, Cropper: _functions_1.Cropper }
26
- };
27
- exports.amotify = amotify;
28
- global.amotify = amotify;
29
- Object.freeze(global.amotify.atoms);
30
- Object.freeze(global.amotify.mols);
31
- Object.freeze(global.amotify.orgs);
32
- Object.freeze(global.amotify.temps);
33
- Object.freeze(global.amotify.fn);
34
- Object.freeze(global.amotify);
35
- require("./@styles/@app.scss");
36
- require("./preload");
37
- // document.oncontextmenu = () => {return false;}
38
- $(window).addEvent({
39
- eventType: 'resize',
40
- eventID: 'getDeviceInfo',
41
- callback: function () {
42
- global.amotify.config.device = (0, config_1.deviceIdentifier)();
43
- $(document.body).setStyleProperty('--viewHeight', window.innerHeight + 'px');
44
- }
45
- });
46
- (0, config_1.SetThemeColorTag)();
package/dist/preload.d.ts DELETED
@@ -1 +0,0 @@
1
- declare let tags: Jsmin.CreateElement.Args[];