amotify 0.0.65 → 0.0.66

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 (114) hide show
  1. package/dist/amotify.js +3 -2
  2. package/dist/amotify.min.css +2 -2
  3. package/dist/coreVender.js +14 -2
  4. package/package.json +10 -10
  5. package/tsconfig.json +13 -5
  6. package/@types/_.tsx +0 -7
  7. package/@types/amot.tsx +0 -355
  8. package/@types/fn.tsx +0 -1280
  9. package/@types/jsminAmotifyExtension.tsx +0 -137
  10. package/@types/module.tsx +0 -1
  11. package/@types/state.tsx +0 -231
  12. package/src/@atoms.tsx +0 -34
  13. package/src/@functions.tsx +0 -29
  14. package/src/@global.tsx +0 -145
  15. package/src/@jsminAmotifyExtension/_.tsx +0 -4
  16. package/src/@jsminAmotifyExtension/fetch.tsx +0 -110
  17. package/src/@jsminAmotifyExtension/formCollect.tsx +0 -94
  18. package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -165
  19. package/src/@jsminAmotifyExtension/variables.tsx +0 -137
  20. package/src/@molecules.tsx +0 -96
  21. package/src/@organisms.tsx +0 -1
  22. package/src/@reactPacks/reactProduction@18.2.0.js +0 -79
  23. package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +0 -31
  24. package/src/@styles/@app.scss +0 -4
  25. package/src/@styles/UniStyling.scss +0 -1028
  26. package/src/@styles/init.scss +0 -94
  27. package/src/@styles/props.scss +0 -109
  28. package/src/@styles/styleSet.scss +0 -38
  29. package/src/@styles/themeColor.scss +0 -71
  30. package/src/@styles/var.scss +0 -182
  31. package/src/@templates.tsx +0 -7
  32. package/src/@variables.tsx +0 -74
  33. package/src/atoms/FAI/parts.tsx +0 -139
  34. package/src/atoms/Logo/parts.tsx +0 -335
  35. package/src/atoms/Logo/style.module.scss +0 -96
  36. package/src/atoms/Various/parts.tsx +0 -159
  37. package/src/atoms/Various/style.module.scss +0 -46
  38. package/src/config.tsx +0 -191
  39. package/src/functions/Button/_.tsx +0 -331
  40. package/src/functions/Button/style.module.scss +0 -157
  41. package/src/functions/Cropper/parts.tsx +0 -1084
  42. package/src/functions/Cropper/style.module.scss +0 -64
  43. package/src/functions/Effects/Fade.tsx +0 -76
  44. package/src/functions/Effects/Ripple.tsx +0 -141
  45. package/src/functions/Effects/_.tsx +0 -33
  46. package/src/functions/Effects/style.module.scss +0 -91
  47. package/src/functions/Input/Chips/Selector.tsx +0 -445
  48. package/src/functions/Input/Chips/_.tsx +0 -289
  49. package/src/functions/Input/Chips/style.module.scss +0 -6
  50. package/src/functions/Input/Contenteditable.tsx +0 -114
  51. package/src/functions/Input/DigitCharacters.tsx +0 -235
  52. package/src/functions/Input/File/_.tsx +0 -553
  53. package/src/functions/Input/File/style.module.scss +0 -34
  54. package/src/functions/Input/Hidden.tsx +0 -21
  55. package/src/functions/Input/List/_.tsx +0 -383
  56. package/src/functions/Input/List/style.module.scss +0 -84
  57. package/src/functions/Input/RichSelect/_.tsx +0 -230
  58. package/src/functions/Input/RichSelect/style.module.scss +0 -11
  59. package/src/functions/Input/Segmented/_.tsx +0 -246
  60. package/src/functions/Input/Segmented/style.module.scss +0 -81
  61. package/src/functions/Input/Select/_.tsx +0 -218
  62. package/src/functions/Input/Select/style.module.scss +0 -11
  63. package/src/functions/Input/Slider/_.tsx +0 -524
  64. package/src/functions/Input/Slider/style.module.scss +0 -67
  65. package/src/functions/Input/Switch/_.tsx +0 -176
  66. package/src/functions/Input/Switch/style.module.scss +0 -18
  67. package/src/functions/Input/Text.tsx +0 -487
  68. package/src/functions/Input/TextArea.tsx +0 -109
  69. package/src/functions/Input/Time/Picker.tsx +0 -1361
  70. package/src/functions/Input/Time/_.tsx +0 -749
  71. package/src/functions/Input/Time/style.module.scss +0 -79
  72. package/src/functions/Input/_.tsx +0 -881
  73. package/src/functions/Input/core.tsx +0 -473
  74. package/src/functions/Input/style.module.scss +0 -102
  75. package/src/functions/Inputs/_.tsx +0 -5
  76. package/src/functions/Inputs/style.module.scss +0 -15
  77. package/src/functions/Inputs/text.tsx +0 -53
  78. package/src/functions/Inputs/types.d.ts +0 -13
  79. package/src/functions/Layout/PageNotFound.tsx +0 -78
  80. package/src/functions/Layout/PageRouter.tsx +0 -89
  81. package/src/functions/Layout/PageViewController/parts.tsx +0 -27
  82. package/src/functions/Layout/Plate.tsx +0 -30
  83. package/src/functions/Layout/RootViewController/parts.tsx +0 -300
  84. package/src/functions/Layout/RootViewController/style.module.scss +0 -23
  85. package/src/functions/Layout/SwipeView/parts.tsx +0 -375
  86. package/src/functions/Layout/SwipeView/style.module.scss +0 -20
  87. package/src/functions/Layout/TabBar.tsx +0 -60
  88. package/src/functions/Layout/_.tsx +0 -20
  89. package/src/functions/Loader/corner.tsx +0 -74
  90. package/src/functions/Loader/mini.tsx +0 -114
  91. package/src/functions/Loader/parts.tsx +0 -103
  92. package/src/functions/Loader/style.module.scss +0 -223
  93. package/src/functions/Loader/top.tsx +0 -84
  94. package/src/functions/Sheet/parts.tsx +0 -994
  95. package/src/functions/Sheet/style.module.scss +0 -208
  96. package/src/functions/SnackBar/parts.tsx +0 -215
  97. package/src/functions/SnackBar/style.module.scss +0 -25
  98. package/src/functions/Table/Data/parts.tsx +0 -965
  99. package/src/functions/Table/Drag/parts.tsx +0 -442
  100. package/src/functions/Table/Normal/parts.tsx +0 -124
  101. package/src/functions/Table/_.tsx +0 -177
  102. package/src/functions/Table/style.module.scss +0 -93
  103. package/src/functions/Tooltips/parts.tsx +0 -53
  104. package/src/global/LaunchReactApplication.tsx +0 -40
  105. package/src/global/styleConverter.tsx +0 -465
  106. package/src/launch.tsx +0 -117
  107. package/src/molecules/Accordion/parts.tsx +0 -146
  108. package/src/molecules/Accordion/style.module.scss +0 -13
  109. package/src/molecules/LinkifyText/parts.tsx +0 -52
  110. package/src/molecules/List.tsx +0 -31
  111. package/src/preload.tsx +0 -31
  112. package/src/templates/PlayGround/parts.tsx +0 -96
  113. package/src/templates/PlayGround/style.module.scss +0 -38
  114. package/webpack.config.js +0 -146
@@ -1,103 +0,0 @@
1
- import React from 'react'
2
- import {
3
- launchID,
4
- LaunchReactApplication,
5
- useStore
6
- } from '@global'
7
-
8
- import style from './style.module.scss'
9
-
10
- export const memoryID = $.uuidGen()
11
- import { Mini } from './mini'
12
- import { Top } from './top'
13
- import { Corner } from './corner'
14
-
15
- const SizeWrapper: {
16
- ( params: {
17
- color: amotify.fn.Loader.Colors
18
- } ): {
19
- S: React.FC<amotify.fn.Loader.CompInput>
20
- R: React.FC<amotify.fn.Loader.CompInput>
21
- L: React.FC<amotify.fn.Loader.CompInput>
22
- XL: React.FC<amotify.fn.Loader.CompInput>
23
- MAX: React.FC<amotify.fn.Loader.CompInput>
24
- }
25
- } = ( params ) => {
26
- let color = params.color
27
- return {
28
- S: ( params ) => <Mini size='S' color={ color } { ...params } />,
29
- R: ( params ) => <Mini size='R' color={ color } { ...params } />,
30
- L: ( params ) => <Mini size='L' color={ color } { ...params } />,
31
- XL: ( params ) => <Mini size='XL' color={ color } { ...params } />,
32
- MAX: ( params ) => <Mini size='MAX' color={ color } { ...params } />,
33
- }
34
- }
35
- const Loader: amotify.fn.Loader.Methods = {
36
- __memoryID: 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: () => {
46
- useStore.get( memoryID + '-top' ).active()
47
- },
48
- stop: () => {
49
- useStore.get( memoryID + '-top' ).stop()
50
- },
51
- },
52
- corner: {
53
- active: () => {
54
- useStore.get( memoryID + '-corner' ).active()
55
- },
56
- stop: () => {
57
- useStore.get( memoryID + '-corner' ).stop()
58
- },
59
- },
60
- mini: {
61
- active: ( keyCode = '' ) => {
62
- $( '.' + style.MiniLoader ).for( ( elm ) => {
63
- let { dataset: { componentId } = {} } = elm
64
- if ( !componentId ) return
65
- let fn = useStore.get( componentId )
66
- if ( fn && fn.active ) fn.active( keyCode )
67
- } )
68
- },
69
- stop: ( keyCode = '' ) => {
70
- $( '.' + style.MiniLoader ).for( ( elm ) => {
71
- let { dataset: { componentId } = {} } = elm
72
- if ( !componentId ) return
73
- let fn = useStore.get( componentId )
74
- if ( fn && fn.stop ) fn.stop( keyCode )
75
- } )
76
- },
77
- stopALL: () => {
78
- $( '.' + style.MiniLoader ).for( ( elm ) => {
79
- let { dataset: { componentId } = {} } = elm
80
- if ( !componentId ) return
81
- let fn = useStore.get( componentId )
82
- if ( fn && fn.stopForce ) fn.stopForce()
83
- } )
84
- },
85
- },
86
- stopALL: () => {
87
- Loader.fn.top.stop()
88
- Loader.fn.corner.stop()
89
- Loader.fn.mini.stopALL()
90
- }
91
- }
92
- }
93
- export { Loader }
94
-
95
- LaunchReactApplication( {
96
- isRoot: false,
97
- baseElement: '#' + launchID + ' .AMOTIFY_be_loader',
98
- reactElement: <>
99
- <Top />
100
- <Corner />
101
- </>,
102
- nonRouter: true
103
- } )
@@ -1,223 +0,0 @@
1
- @use '@props' as *;
2
- :global {
3
- .AMOTIFY_be_loader {
4
- z-index: 10;
5
- position: absolute;
6
- }
7
- }
8
- .TopLoader {
9
- z-index: 3000;
10
- cursor: not-allowed !important;
11
- .Center {
12
- width: 10rem;
13
- height: 10rem;
14
- }
15
- .Child {
16
- position: absolute;
17
- $cubic : cubic-bezier(.61, .48, .61, .76);
18
- transform-origin: 0 0;
19
- justify-content: flex-end;
20
- align-items: center;
21
- display: flex;
22
- height: 0;
23
- background-color: white;
24
- .Circle {
25
- border-radius: 50%;
26
- animation: expander 6s $cubic infinite;
27
- }
28
- &.Child1 {
29
- $size : 20px;
30
- width: 3rem;
31
- animation: rotation 4s $cubic infinite -2.5s;
32
- .Circle {
33
- width: $size;
34
- height: $size;
35
- }
36
- }
37
- &.Child2 {
38
- $size : 10px;
39
- width: 45px;
40
- animation: rotation 4.7s $cubic infinite -1.4s;
41
- .Circle {
42
- width: $size;
43
- height: $size;
44
- }
45
- }
46
- &.Child3 {
47
- $size : 10px;
48
- width: 46px;
49
- animation: rotation 3s $cubic infinite -3.6s;
50
- .Circle {
51
- width: $size;
52
- height: $size;
53
- }
54
- }
55
- &.Child4 {
56
- $size : 6px;
57
- width: 32px;
58
- animation: rotation 5.3s $cubic infinite -1.4s;
59
- .Circle {
60
- width: $size;
61
- height: $size;
62
- }
63
- }
64
- &.Child5 {
65
- $size : 8px;
66
- width: 22px;
67
- animation: rotation 4.9s $cubic infinite -.9s;
68
- .Circle {
69
- width: $size;
70
- height: $size;
71
- }
72
- }
73
- &.Child6 {
74
- $size : 15px;
75
- width: 38px;
76
- animation: rotation 5.4s $cubic infinite -3.1s;
77
- .Circle {
78
- width: $size;
79
- height: $size;
80
- }
81
- }
82
- &.Child7 {
83
- $size : 6px;
84
- width: 42px;
85
- animation: rotation 6s $cubic infinite -2s;
86
- .Circle {
87
- width: $size;
88
- height: $size;
89
- }
90
- }
91
- }
92
- @keyframes rotation {
93
- 0% {
94
- transform: rotate(0deg);
95
- }
96
- 50% {
97
- transform: rotate(360deg);
98
- }
99
- 100% {
100
- transform: rotate(720deg);
101
- }
102
- }
103
- @keyframes expander {
104
- 0% {
105
- transform: scale(1);
106
- }
107
- 30% {
108
- transform: scale(0);
109
- }
110
- 70% {
111
- transform: scale(1.4);
112
- }
113
- 100% {
114
- transform: scale(1);
115
- }
116
- }
117
- &.Active_true {
118
- opacity: 1;
119
- pointer-events: all;
120
- }
121
- }
122
- .CornerLoader {
123
- @keyframes ldAnm {
124
- 0% {
125
- height: 20%
126
- }
127
- 40% {
128
- height: 100%
129
- }
130
- 80% {
131
- height: 20%
132
- }
133
- }
134
- .Wrap {
135
- height: 1rem;
136
- gap: 1px;
137
- > div {
138
- box-shadow: $shadow2;
139
- background-color: white;
140
- border-radius: 4px;
141
- width: 2px;
142
- height: 20%;
143
- }
144
- }
145
- &.Active_true {
146
- opacity: .7;
147
- .Wrap {
148
- > div {
149
- animation: 1.2s ldAnm ease infinite;
150
- @for $i from 1 to 5 {
151
- &.Ld#{ $i } {
152
- animation-delay: calc(#{ $i - 1 } * .15s);
153
- }
154
- }
155
- }
156
- }
157
- }
158
- }
159
- @keyframes ldAnm {
160
- 0% {
161
- height: 50%;
162
- }
163
- 25% {
164
- height: 100%;
165
- }
166
- 50% {
167
- height: 20%;
168
- }
169
- 75% {
170
- height: 50%;
171
- }
172
- }
173
- .MiniLoader {
174
- transition: .1s;
175
- &.Active_false {
176
- display: none !important;
177
- }
178
- &.Hide {
179
- display: none !important;
180
- }
181
- &:not(.Active) {
182
- overflow: hidden;
183
- padding: 0 !important;
184
- margin: 0 !important;
185
- width: 0 !important;
186
- height: 0 !important;
187
- }
188
- > .Core {
189
- animation: spin .5s linear infinite;
190
- }
191
- svg {
192
- height: 100%;
193
- position: absolute;
194
- fill: none;
195
- }
196
- .SVG1 {
197
- stroke-width: 9;
198
- stroke-dasharray: 220 220;
199
- stroke-linecap: round;
200
- animation: loader 1.8s infinite cubic-bezier(.4, 0, .3, 1), loading 1.4s infinite linear;
201
- vertical-align: middle;
202
- }
203
- .SVG2 {
204
- stroke-width: 6;
205
- opacity: .2;
206
- }
207
- @keyframes loader {
208
- from {
209
- stroke-dashoffset: 220;
210
- }
211
- to {
212
- stroke-dashoffset: -220;
213
- }
214
- }
215
- @keyframes loading {
216
- from {
217
- transform: none;
218
- }
219
- to {
220
- transform: rotate(360deg);
221
- }
222
- }
223
- }
@@ -1,84 +0,0 @@
1
- import {
2
- useStore,
3
- React
4
- } from '@global'
5
- import {
6
- Box,
7
- Flex
8
- } from '@atoms'
9
-
10
- import style from './style.module.scss'
11
-
12
- import { memoryID } from './parts'
13
-
14
- export const Top = () => {
15
- let [ val_active,set_active ] = React.useState( false )
16
-
17
- React.useEffect( () => {
18
- useStore.set( {
19
- key: memoryID + '-top',
20
- value: {
21
- active: () => {
22
- set_active( true )
23
- },
24
- stop: () => {
25
- set_active( false )
26
- }
27
- }
28
- } )
29
- },[] )
30
-
31
- return <Flex
32
- className={ [
33
- style.TopLoader,
34
- style[ 'Active_' + val_active ]
35
- ].join( ' ' ) }
36
- position='fixed'
37
- top={ 0 }
38
- left={ 0 }
39
- right={ 0 }
40
- bottom={ 0 }
41
- horizontalAlign='center'
42
- transition='long'
43
- opacity='trans'
44
- backgroundColor='lcOpHigh'
45
- freeCSS={ {
46
- paddingTop: 12 * 8,
47
- pointerEvents: 'none'
48
- } }
49
- >
50
- <Flex flexType='col' position='relative'>
51
- <Flex className={ style.Center } flexCenter>
52
- <Box>
53
- <Box className={ [ style.Child,style.Child1 ].join( ' ' ) }>
54
- <Box className={ style.Circle } backgroundColor='tcDarken' />
55
- </Box>
56
- <Box className={ [ style.Child,style.Child2 ].join( ' ' ) }>
57
- <Box className={ style.Circle } backgroundColor='tcDarker' />
58
- </Box>
59
- <Box className={ [ style.Child,style.Child3 ].join( ' ' ) }>
60
- <Box className={ style.Circle } backgroundColor='tcDarkest' />
61
- </Box>
62
- <Box className={ [ style.Child,style.Child4 ].join( ' ' ) }>
63
- <Box className={ style.Circle } backgroundColor='tcLighten' />
64
- </Box>
65
- <Box className={ [ style.Child,style.Child5 ].join( ' ' ) }>
66
- <Box className={ style.Circle } backgroundColor='tcLighter' />
67
- </Box>
68
- <Box className={ [ style.Child,style.Child6 ].join( ' ' ) }>
69
- <Box className={ style.Circle } backgroundColor='tcLightest' />
70
- </Box>
71
- <Box className={ [ style.Child,style.Child7 ].join( ' ' ) }>
72
- <Box className={ style.Circle } backgroundColor='theme' />
73
- </Box>
74
- </Box>
75
- </Flex>
76
- <Box
77
- flexCenter
78
- fontSize={ '2.normal' }
79
- >
80
- Loading...
81
- </Box>
82
- </Flex>
83
- </Flex>
84
- }