amotify 0.0.4 → 0.0.5
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.
- package/package.json +1 -1
- package/public/amotify.js +1 -0
- package/public/amotify.min.css +24 -0
- package/dist/src/@jsminAmotifyExtension/_.d.ts +0 -4
- package/dist/src/@jsminAmotifyExtension/fetch.d.ts +0 -9
- package/dist/src/@jsminAmotifyExtension/formCollect.d.ts +0 -1
- package/dist/src/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
- package/dist/src/@jsminAmotifyExtension/variables.d.ts +0 -0
- package/dist/src/@types/_.d.ts +0 -6
- package/dist/src/@types/amot.d.ts +0 -260
- package/dist/src/@types/fn.d.ts +0 -1040
- package/dist/src/@types/index.d.ts +0 -62
- package/dist/src/@types/jsminAmotifyExtension.d.ts +0 -134
- package/dist/src/@types/module.d.ts +0 -2
- package/dist/src/@types/state.d.ts +0 -145
- package/dist/src/Atoms/@export.d.ts +0 -4
- package/dist/src/Atoms/FAIcon/parts.d.ts +0 -2
- package/dist/src/Atoms/Logo/parts.d.ts +0 -1
- package/dist/src/Atoms/Various/parts.d.ts +0 -9
- package/dist/src/Functions/@export.d.ts +0 -12
- package/dist/src/Functions/Button/_.d.ts +0 -1
- package/dist/src/Functions/Cropper/parts.d.ts +0 -1
- package/dist/src/Functions/Effects/Fade.d.ts +0 -1
- package/dist/src/Functions/Effects/Ripple.d.ts +0 -1
- package/dist/src/Functions/Effects/_.d.ts +0 -3
- package/dist/src/Functions/Input/Chips/Selector.d.ts +0 -1
- package/dist/src/Functions/Input/Chips/_.d.ts +0 -2
- package/dist/src/Functions/Input/DigitCharacters.d.ts +0 -1
- package/dist/src/Functions/Input/File/_.d.ts +0 -2
- package/dist/src/Functions/Input/Hidden.d.ts +0 -1
- package/dist/src/Functions/Input/List/_.d.ts +0 -1
- package/dist/src/Functions/Input/Segmented/_.d.ts +0 -1
- package/dist/src/Functions/Input/Select/_.d.ts +0 -1
- package/dist/src/Functions/Input/Slider/_.d.ts +0 -1
- package/dist/src/Functions/Input/Switch/_.d.ts +0 -1
- package/dist/src/Functions/Input/Text.d.ts +0 -5
- package/dist/src/Functions/Input/TextArea.d.ts +0 -1
- package/dist/src/Functions/Input/Time/Picker.d.ts +0 -1
- package/dist/src/Functions/Input/Time/_.d.ts +0 -2
- package/dist/src/Functions/Input/_.d.ts +0 -5
- package/dist/src/Functions/Input/core.d.ts +0 -34
- package/dist/src/Functions/Inputs/_.d.ts +0 -3
- package/dist/src/Functions/Inputs/text.d.ts +0 -12
- package/dist/src/Functions/Layout/PageNotFound.d.ts +0 -1
- package/dist/src/Functions/Layout/PageRouter.d.ts +0 -2
- package/dist/src/Functions/Layout/PageViewController/parts.d.ts +0 -1
- package/dist/src/Functions/Layout/Plate.d.ts +0 -1
- package/dist/src/Functions/Layout/RootViewController/parts.d.ts +0 -1
- package/dist/src/Functions/Layout/SwipeView/parts.d.ts +0 -2
- package/dist/src/Functions/Layout/TabBar.d.ts +0 -1
- package/dist/src/Functions/Layout/_.d.ts +0 -2
- package/dist/src/Functions/Loader/corner.d.ts +0 -1
- package/dist/src/Functions/Loader/mini.d.ts +0 -33
- package/dist/src/Functions/Loader/parts.d.ts +0 -3
- package/dist/src/Functions/Loader/top.d.ts +0 -1
- package/dist/src/Functions/Sheet/parts.d.ts +0 -2
- package/dist/src/Functions/SnackBar/parts.d.ts +0 -2
- package/dist/src/Functions/Table/Data/parts.d.ts +0 -3
- package/dist/src/Functions/Table/Drag/parts.d.ts +0 -1
- package/dist/src/Functions/Table/Normal/parts.d.ts +0 -1
- package/dist/src/Functions/Table/_.d.ts +0 -9
- package/dist/src/Functions/Tooltips/parts.d.ts +0 -2
- package/dist/src/Global/@export.d.ts +0 -12
- package/dist/src/Global/LaunchReactApplication.d.ts +0 -1
- package/dist/src/Global/styleConverter.d.ts +0 -2
- package/dist/src/Molecules/@export.d.ts +0 -21
- package/dist/src/Molecules/Accordion/parts.d.ts +0 -2
- package/dist/src/Molecules/LinkifyText/parts.d.ts +0 -1
- package/dist/src/Molecules/List.d.ts +0 -1
- package/dist/src/Organisms/@export.d.ts +0 -2
- package/dist/src/Organisms/DisplayStyleInput/_.d.ts +0 -1
- package/dist/src/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
- package/dist/src/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
- package/dist/src/Templates/@export.d.ts +0 -2
- package/dist/src/Templates/PlayGround/parts.d.ts +0 -1
- package/dist/src/config.d.ts +0 -16
- package/dist/src/launch.d.ts +0 -9
- package/dist/src/preload.d.ts +0 -1
- package/src/@jsminAmotifyExtension/_.tsx +0 -4
- package/src/@jsminAmotifyExtension/fetch.tsx +0 -107
- package/src/@jsminAmotifyExtension/formCollect.tsx +0 -89
- package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -159
- package/src/@jsminAmotifyExtension/variables.tsx +0 -130
- package/src/@styles/@app.scss +0 -4
- package/src/@styles/@variables/customProps.scss +0 -109
- package/src/@styles/@variables/styleSet.scss +0 -38
- package/src/@styles/@variables/themeColor.scss +0 -71
- package/src/@styles/@variables/var.scss +0 -171
- package/src/@styles/UniStyling.scss +0 -996
- package/src/@styles/init.scss +0 -154
- package/src/@types/_.tsx +0 -6
- package/src/@types/amot.tsx +0 -323
- package/src/@types/fn.tsx +0 -1210
- package/src/@types/index.tsx +0 -74
- package/src/@types/jsminAmotifyExtension.tsx +0 -143
- package/src/@types/module.tsx +0 -2
- package/src/@types/state.tsx +0 -199
- package/src/Atoms/@export.tsx +0 -32
- package/src/Atoms/FAIcon/parts.tsx +0 -117
- package/src/Atoms/FAIcon/style.module.scss +0 -9
- package/src/Atoms/Logo/parts.tsx +0 -335
- package/src/Atoms/Logo/style.module.scss +0 -96
- package/src/Atoms/Various/parts.tsx +0 -157
- package/src/Atoms/Various/style.module.scss +0 -40
- package/src/Functions/@export.tsx +0 -29
- package/src/Functions/Button/_.tsx +0 -305
- package/src/Functions/Button/style.module.scss +0 -183
- package/src/Functions/Cropper/parts.tsx +0 -1061
- package/src/Functions/Cropper/style.module.scss +0 -62
- package/src/Functions/Effects/Fade.tsx +0 -81
- package/src/Functions/Effects/Ripple.tsx +0 -141
- package/src/Functions/Effects/_.tsx +0 -33
- package/src/Functions/Effects/style.module.scss +0 -83
- package/src/Functions/Input/Chips/Selector.tsx +0 -451
- package/src/Functions/Input/Chips/_.tsx +0 -286
- package/src/Functions/Input/Chips/style.module.scss +0 -6
- package/src/Functions/Input/DigitCharacters.tsx +0 -241
- package/src/Functions/Input/File/_.tsx +0 -596
- package/src/Functions/Input/File/style.module.scss +0 -34
- package/src/Functions/Input/Hidden.tsx +0 -18
- package/src/Functions/Input/List/_.tsx +0 -383
- package/src/Functions/Input/List/style.module.scss +0 -84
- package/src/Functions/Input/Segmented/_.tsx +0 -238
- package/src/Functions/Input/Segmented/style.module.scss +0 -81
- package/src/Functions/Input/Select/_.tsx +0 -225
- package/src/Functions/Input/Select/style.module.scss +0 -10
- package/src/Functions/Input/Slider/_.tsx +0 -519
- package/src/Functions/Input/Slider/style.module.scss +0 -67
- package/src/Functions/Input/Switch/_.tsx +0 -177
- package/src/Functions/Input/Switch/style.module.scss +0 -18
- package/src/Functions/Input/Text.tsx +0 -437
- package/src/Functions/Input/TextArea.tsx +0 -115
- package/src/Functions/Input/Time/Picker.tsx +0 -950
- package/src/Functions/Input/Time/_.tsx +0 -736
- package/src/Functions/Input/Time/style.module.scss +0 -72
- package/src/Functions/Input/_.tsx +0 -793
- package/src/Functions/Input/core.tsx +0 -461
- package/src/Functions/Input/style.module.scss +0 -43
- package/src/Functions/Inputs/_.tsx +0 -5
- package/src/Functions/Inputs/style.module.scss +0 -15
- package/src/Functions/Inputs/text.tsx +0 -67
- package/src/Functions/Inputs/types.d.ts +0 -1
- package/src/Functions/Layout/PageNotFound.tsx +0 -81
- package/src/Functions/Layout/PageRouter.tsx +0 -107
- package/src/Functions/Layout/PageViewController/parts.tsx +0 -32
- package/src/Functions/Layout/Plate.tsx +0 -30
- package/src/Functions/Layout/RootViewController/parts.tsx +0 -290
- package/src/Functions/Layout/RootViewController/style.module.scss +0 -24
- package/src/Functions/Layout/SwipeView/parts.tsx +0 -380
- package/src/Functions/Layout/SwipeView/style.module.scss +0 -19
- package/src/Functions/Layout/TabBar.tsx +0 -64
- package/src/Functions/Layout/_.tsx +0 -20
- package/src/Functions/Loader/corner.tsx +0 -78
- package/src/Functions/Loader/mini.tsx +0 -117
- package/src/Functions/Loader/parts.tsx +0 -105
- package/src/Functions/Loader/style.module.scss +0 -222
- package/src/Functions/Loader/top.tsx +0 -90
- package/src/Functions/Sheet/parts.tsx +0 -972
- package/src/Functions/Sheet/style.module.scss +0 -235
- package/src/Functions/SnackBar/parts.tsx +0 -215
- package/src/Functions/SnackBar/style.module.scss +0 -25
- package/src/Functions/Table/Data/parts.tsx +0 -955
- package/src/Functions/Table/Drag/parts.tsx +0 -448
- package/src/Functions/Table/Normal/parts.tsx +0 -123
- package/src/Functions/Table/_.tsx +0 -170
- package/src/Functions/Table/style.module.scss +0 -92
- package/src/Functions/Tooltips/parts.tsx +0 -52
- package/src/Global/@export.tsx +0 -138
- package/src/Global/LaunchReactApplication.tsx +0 -30
- package/src/Global/exe.tsx +0 -0
- package/src/Global/styleConverter.tsx +0 -435
- package/src/Molecules/@export.tsx +0 -95
- package/src/Molecules/Accordion/parts.tsx +0 -146
- package/src/Molecules/Accordion/style.module.scss +0 -13
- package/src/Molecules/LinkifyText/parts.tsx +0 -54
- package/src/Molecules/List.tsx +0 -30
- package/src/Organisms/@export.tsx +0 -5
- package/src/Organisms/DisplayStyleInput/_.tsx +0 -18
- package/src/Organisms/DisplayStyleInput/darkmode.tsx +0 -112
- package/src/Organisms/DisplayStyleInput/themeColor.tsx +0 -210
- package/src/Templates/@export.tsx +0 -7
- package/src/Templates/PlayGround/parts.tsx +0 -115
- package/src/Templates/PlayGround/style.module.scss +0 -38
- package/src/config.tsx +0 -132
- package/src/launch.tsx +0 -100
- package/src/preload.tsx +0 -49
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LaunchReactApplication,
|
|
3
|
-
useStore
|
|
4
|
-
} from '@global';
|
|
5
|
-
const {
|
|
6
|
-
useEffect,
|
|
7
|
-
useState,
|
|
8
|
-
} = React;
|
|
9
|
-
|
|
10
|
-
import style from './style.module.scss';
|
|
11
|
-
|
|
12
|
-
export const memoryID = $.uuidGen();
|
|
13
|
-
import { Mini } from './mini';
|
|
14
|
-
import { Top } from './top';
|
|
15
|
-
import { Corner } from './corner';
|
|
16
|
-
|
|
17
|
-
const SizeWrapper: {
|
|
18
|
-
( params: {
|
|
19
|
-
color: amotify.fn.Loader.Colors
|
|
20
|
-
} ): {
|
|
21
|
-
S: FNC<amotify.fn.Loader.CompInput>
|
|
22
|
-
R: FNC<amotify.fn.Loader.CompInput>
|
|
23
|
-
L: FNC<amotify.fn.Loader.CompInput>
|
|
24
|
-
XL: FNC<amotify.fn.Loader.CompInput>
|
|
25
|
-
MAX: FNC<amotify.fn.Loader.CompInput>
|
|
26
|
-
}
|
|
27
|
-
} = ( params ) => {
|
|
28
|
-
let color = params.color;
|
|
29
|
-
return {
|
|
30
|
-
S: ( params ) => <Mini size='S' color={ color } { ...params } />,
|
|
31
|
-
R: ( params ) => <Mini size='R' color={ color } { ...params } />,
|
|
32
|
-
L: ( params ) => <Mini size='L' color={ color } { ...params } />,
|
|
33
|
-
XL: ( params ) => <Mini size='XL' color={ color } { ...params } />,
|
|
34
|
-
MAX: ( params ) => <Mini size='MAX' color={ color } { ...params } />,
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
const Loader: amotify.fn.Loader.Methods = {
|
|
39
|
-
__memoryID: memoryID,
|
|
40
|
-
Theme: SizeWrapper( { color: 'theme' } ),
|
|
41
|
-
Posi: SizeWrapper( { color: 'posi' } ),
|
|
42
|
-
Nega: SizeWrapper( { color: 'nega' } ),
|
|
43
|
-
Warn: SizeWrapper( { color: 'warn' } ),
|
|
44
|
-
White: SizeWrapper( { color: 'white' } ),
|
|
45
|
-
Cloud: SizeWrapper( { color: 'cloud' } ),
|
|
46
|
-
fn: {
|
|
47
|
-
top: {
|
|
48
|
-
active: () => {
|
|
49
|
-
useStore.get( memoryID + '-top' ).active();
|
|
50
|
-
},
|
|
51
|
-
stop: () => {
|
|
52
|
-
useStore.get( memoryID + '-top' ).stop();
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
corner: {
|
|
56
|
-
active: () => {
|
|
57
|
-
useStore.get( memoryID + '-corner' ).active();
|
|
58
|
-
},
|
|
59
|
-
stop: () => {
|
|
60
|
-
useStore.get( memoryID + '-corner' ).stop();
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
mini: {
|
|
64
|
-
active: ( keyCode = '' ) => {
|
|
65
|
-
$( '.' + style.MiniLoader ).for( ( elm ) => {
|
|
66
|
-
let { dataset: { componentId } = {} } = elm;
|
|
67
|
-
if ( !componentId ) return;
|
|
68
|
-
let fn = useStore.get( componentId );
|
|
69
|
-
if ( fn && fn.active ) fn.active( keyCode );
|
|
70
|
-
} );
|
|
71
|
-
},
|
|
72
|
-
stop: ( keyCode = '' ) => {
|
|
73
|
-
$( '.' + style.MiniLoader ).for( ( elm ) => {
|
|
74
|
-
let { dataset: { componentId } = {} } = elm;
|
|
75
|
-
if ( !componentId ) return;
|
|
76
|
-
let fn = useStore.get( componentId );
|
|
77
|
-
if ( fn && fn.stop ) fn.stop( keyCode );
|
|
78
|
-
} );
|
|
79
|
-
},
|
|
80
|
-
stopALL: () => {
|
|
81
|
-
$( '.' + style.MiniLoader ).for( ( elm ) => {
|
|
82
|
-
let { dataset: { componentId } = {} } = elm;
|
|
83
|
-
if ( !componentId ) return;
|
|
84
|
-
let fn = useStore.get( componentId );
|
|
85
|
-
if ( fn && fn.stopForce ) fn.stopForce();
|
|
86
|
-
} );
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
stopALL: () => {
|
|
90
|
-
Loader.fn.top.stop();
|
|
91
|
-
Loader.fn.corner.stop();
|
|
92
|
-
Loader.fn.mini.stopALL();
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
export { Loader }
|
|
97
|
-
|
|
98
|
-
LaunchReactApplication( {
|
|
99
|
-
baseElement: '#LOADER',
|
|
100
|
-
reactElement: <>
|
|
101
|
-
<Top />
|
|
102
|
-
<Corner />
|
|
103
|
-
</>,
|
|
104
|
-
nonRouter: true
|
|
105
|
-
} );
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
@use '@uniVar' as *;
|
|
2
|
-
:global {
|
|
3
|
-
#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: 1;
|
|
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
|
-
position: absolute;
|
|
193
|
-
fill: none;
|
|
194
|
-
}
|
|
195
|
-
.SVG1 {
|
|
196
|
-
stroke-width: 9;
|
|
197
|
-
stroke-dasharray: 220 220;
|
|
198
|
-
stroke-linecap: round;
|
|
199
|
-
animation: loader 1.8s infinite cubic-bezier(.4, 0, .3, 1), loading 1.4s infinite linear;
|
|
200
|
-
vertical-align: middle;
|
|
201
|
-
}
|
|
202
|
-
.SVG2 {
|
|
203
|
-
stroke-width: 6;
|
|
204
|
-
opacity: .2;
|
|
205
|
-
}
|
|
206
|
-
@keyframes loader {
|
|
207
|
-
from {
|
|
208
|
-
stroke-dashoffset: 220;
|
|
209
|
-
}
|
|
210
|
-
to {
|
|
211
|
-
stroke-dashoffset: -220;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
@keyframes loading {
|
|
215
|
-
from {
|
|
216
|
-
transform: none;
|
|
217
|
-
}
|
|
218
|
-
to {
|
|
219
|
-
transform: rotate(360deg);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useStore
|
|
3
|
-
} from '@global';
|
|
4
|
-
import {
|
|
5
|
-
Box,
|
|
6
|
-
Flex
|
|
7
|
-
} from '@atoms';
|
|
8
|
-
import {
|
|
9
|
-
Row
|
|
10
|
-
} from '@mols';
|
|
11
|
-
const {
|
|
12
|
-
useEffect,
|
|
13
|
-
useState,
|
|
14
|
-
} = React;
|
|
15
|
-
|
|
16
|
-
import style from './style.module.scss';
|
|
17
|
-
|
|
18
|
-
import { memoryID } from './parts';
|
|
19
|
-
|
|
20
|
-
export const Top = () => {
|
|
21
|
-
let [ val_active,set_active ] = useState( false );
|
|
22
|
-
|
|
23
|
-
useEffect( () => {
|
|
24
|
-
useStore.set( {
|
|
25
|
-
key: memoryID + '-top',
|
|
26
|
-
value: {
|
|
27
|
-
active: () => {
|
|
28
|
-
set_active( true );
|
|
29
|
-
},
|
|
30
|
-
stop: () => {
|
|
31
|
-
set_active( false );
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
} );
|
|
35
|
-
},[] );
|
|
36
|
-
|
|
37
|
-
return <Flex
|
|
38
|
-
className={ [
|
|
39
|
-
style.TopLoader,
|
|
40
|
-
style[ 'Active_' + val_active ]
|
|
41
|
-
].join( ' ' ) }
|
|
42
|
-
position='fixed'
|
|
43
|
-
top={ 0 }
|
|
44
|
-
left={ 0 }
|
|
45
|
-
right={ 0 }
|
|
46
|
-
bottom={ 0 }
|
|
47
|
-
horizontalAlign='center'
|
|
48
|
-
transition='long'
|
|
49
|
-
opacity='trans'
|
|
50
|
-
backgroundColor='lcOpHigh'
|
|
51
|
-
freeCSS={ {
|
|
52
|
-
paddingTop: 12 * 8,
|
|
53
|
-
pointerEvents: 'none'
|
|
54
|
-
} }
|
|
55
|
-
>
|
|
56
|
-
<Flex flexType='col' position='relative'>
|
|
57
|
-
<Flex className={ style.Center } flexCenter>
|
|
58
|
-
<Box>
|
|
59
|
-
<Box className={ [ style.Child,style.Child1 ].join( ' ' ) }>
|
|
60
|
-
<Box className={ style.Circle } backgroundColor='tcDarken' />
|
|
61
|
-
</Box>
|
|
62
|
-
<Box className={ [ style.Child,style.Child2 ].join( ' ' ) }>
|
|
63
|
-
<Box className={ style.Circle } backgroundColor='tcDarker' />
|
|
64
|
-
</Box>
|
|
65
|
-
<Box className={ [ style.Child,style.Child3 ].join( ' ' ) }>
|
|
66
|
-
<Box className={ style.Circle } backgroundColor='tcDarkest' />
|
|
67
|
-
</Box>
|
|
68
|
-
<Box className={ [ style.Child,style.Child4 ].join( ' ' ) }>
|
|
69
|
-
<Box className={ style.Circle } backgroundColor='tcLighten' />
|
|
70
|
-
</Box>
|
|
71
|
-
<Box className={ [ style.Child,style.Child5 ].join( ' ' ) }>
|
|
72
|
-
<Box className={ style.Circle } backgroundColor='tcLighter' />
|
|
73
|
-
</Box>
|
|
74
|
-
<Box className={ [ style.Child,style.Child6 ].join( ' ' ) }>
|
|
75
|
-
<Box className={ style.Circle } backgroundColor='tcLightest' />
|
|
76
|
-
</Box>
|
|
77
|
-
<Box className={ [ style.Child,style.Child7 ].join( ' ' ) }>
|
|
78
|
-
<Box className={ style.Circle } backgroundColor='theme' />
|
|
79
|
-
</Box>
|
|
80
|
-
</Box>
|
|
81
|
-
</Flex>
|
|
82
|
-
<Box
|
|
83
|
-
flexCenter
|
|
84
|
-
fontSize={ '2.normal' }
|
|
85
|
-
>
|
|
86
|
-
Loading...
|
|
87
|
-
</Box>
|
|
88
|
-
</Flex>
|
|
89
|
-
</Flex>;
|
|
90
|
-
}
|