amotify 0.0.13 → 0.0.15
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/@types/amot.tsx +48 -63
- package/@types/fn.tsx +10 -16
- package/@types/state.tsx +2 -2
- package/dist/amotify.js +1 -1
- package/dist/amotify.min.css +12 -13
- package/dist/coreVender.js +14 -0
- package/package.json +27 -22
- package/src/@atoms.tsx +4 -2
- package/src/@global.tsx +5 -0
- package/src/@jsminAmotifyExtension/fetch.tsx +2 -0
- package/src/@jsminAmotifyExtension/variables.tsx +4 -0
- package/src/@organisms.tsx +1 -5
- package/src/@styles/UniStyling.scss +6 -0
- package/src/@styles/init.scss +42 -106
- package/src/@variables.tsx +70 -0
- package/src/atoms/FAI/parts.tsx +136 -0
- package/src/atoms/Logo/style.module.scss +6 -5
- package/src/atoms/Various/style.module.scss +11 -6
- package/src/config.tsx +31 -5
- package/src/functions/Button/_.tsx +27 -19
- package/src/functions/Button/style.module.scss +20 -22
- package/src/functions/Cropper/parts.tsx +18 -10
- package/src/functions/Cropper/style.module.scss +1 -0
- package/src/functions/Effects/Ripple.tsx +1 -1
- package/src/functions/Input/Chips/Selector.tsx +9 -9
- package/src/functions/Input/Chips/_.tsx +10 -3
- package/src/functions/Input/DigitCharacters.tsx +13 -15
- package/src/functions/Input/File/_.tsx +37 -67
- package/src/functions/Input/Hidden.tsx +3 -1
- package/src/functions/Input/List/_.tsx +8 -8
- package/src/functions/Input/Select/_.tsx +8 -7
- package/src/functions/Input/Select/style.module.scss +1 -0
- package/src/functions/Input/Slider/_.tsx +5 -5
- package/src/functions/Input/Switch/_.tsx +11 -8
- package/src/functions/Input/Text.tsx +3 -4
- package/src/functions/Input/TextArea.tsx +3 -3
- package/src/functions/Input/Time/Picker.tsx +10 -17
- package/src/functions/Input/Time/_.tsx +3 -2
- package/src/functions/Input/Time/style.module.scss +9 -2
- package/src/functions/Input/_.tsx +53 -42
- package/src/functions/Input/core.tsx +53 -54
- package/src/functions/Input/style.module.scss +66 -8
- package/src/functions/Layout/PageNotFound.tsx +2 -4
- package/src/functions/Layout/PageRouter.tsx +2 -3
- package/src/functions/Layout/RootViewController/parts.tsx +4 -16
- package/src/functions/Loader/parts.tsx +3 -1
- package/src/functions/Loader/style.module.scss +2 -1
- package/src/functions/Sheet/parts.tsx +45 -42
- package/src/functions/Sheet/style.module.scss +18 -25
- package/src/functions/SnackBar/parts.tsx +5 -3
- package/src/functions/SnackBar/style.module.scss +1 -1
- package/src/functions/Table/Data/parts.tsx +18 -12
- package/src/functions/Table/Drag/parts.tsx +7 -9
- package/src/functions/Table/_.tsx +2 -2
- package/src/global/LaunchReactApplication.tsx +17 -5
- package/src/launch.tsx +12 -5
- package/src/molecules/Accordion/parts.tsx +4 -1
- package/src/molecules/LinkifyText/parts.tsx +2 -3
- package/src/preload.tsx +19 -30
- package/tsconfig.json +19 -8
- package/webpack.config.js +16 -5
- package/src/atoms/FAIcon/parts.tsx +0 -118
- package/src/atoms/FAIcon/style.module.scss +0 -8
- package/src/organisms/DisplayStyleInput/_.tsx +0 -18
- package/src/organisms/DisplayStyleInput/darkmode.tsx +0 -107
- package/src/organisms/DisplayStyleInput/themeColor.tsx +0 -205
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
Box,
|
|
8
8
|
Flex,
|
|
9
|
-
|
|
9
|
+
FAI,
|
|
10
10
|
Span
|
|
11
11
|
} from '@atoms';
|
|
12
12
|
import {
|
|
@@ -19,6 +19,11 @@ import {
|
|
|
19
19
|
Tooltips
|
|
20
20
|
} from '@fn';
|
|
21
21
|
|
|
22
|
+
import { faEye } from '@fortawesome/pro-solid-svg-icons/faEye';
|
|
23
|
+
import { faClock } from '@fortawesome/pro-regular-svg-icons/faClock';
|
|
24
|
+
import { faCalendarLines } from '@fortawesome/pro-regular-svg-icons/faCalendarLines';
|
|
25
|
+
import { faAnglesUpDown } from '@fortawesome/pro-solid-svg-icons/faAnglesUpDown';
|
|
26
|
+
|
|
22
27
|
import style from './style.module.scss';
|
|
23
28
|
|
|
24
29
|
import { HiddenInput } from './Hidden';
|
|
@@ -49,12 +54,12 @@ const UniComponent: React.FC<{
|
|
|
49
54
|
|
|
50
55
|
props = { ...props }
|
|
51
56
|
props.params = {
|
|
52
|
-
|
|
57
|
+
enableFormSubmit: true,
|
|
53
58
|
// override: 'beforeModified',
|
|
59
|
+
status_id: $.uuidGen(),
|
|
54
60
|
override: 'never',
|
|
55
61
|
name: $.uuidGen(),
|
|
56
62
|
id: $.uuidGen(),
|
|
57
|
-
statusID: $.uuidGen(),
|
|
58
63
|
'aria-label': 'Input-' + val_componentID,
|
|
59
64
|
...props.params,
|
|
60
65
|
componentID: val_componentID,
|
|
@@ -122,10 +127,9 @@ const TextInputs: amotify.fn.Input.Text.Methods = {
|
|
|
122
127
|
padding={ 0 }
|
|
123
128
|
>
|
|
124
129
|
<Buttons.Button.Normal.R
|
|
125
|
-
padding={
|
|
130
|
+
padding={ [ 0,1 ] }
|
|
126
131
|
fontColor='theme'
|
|
127
|
-
|
|
128
|
-
borderBottomLeftRadius={ 0 }
|
|
132
|
+
borderRadius={ 'inherit' }
|
|
129
133
|
backgroundColor='inherit'
|
|
130
134
|
height={ 1 }
|
|
131
135
|
ssEffectsOnActive={ [ 'expand' ] }
|
|
@@ -150,8 +154,8 @@ const TextInputs: amotify.fn.Input.Text.Methods = {
|
|
|
150
154
|
} );
|
|
151
155
|
} }
|
|
152
156
|
>
|
|
153
|
-
<
|
|
154
|
-
|
|
157
|
+
<FAI
|
|
158
|
+
icon={ faEye }
|
|
155
159
|
freeCSS={ {
|
|
156
160
|
pointerEvents: 'none'
|
|
157
161
|
} }
|
|
@@ -183,7 +187,9 @@ const TimeInputs: amotify.fn.Input.Time.Methods & {
|
|
|
183
187
|
rawParams.componentID = val_componentID;
|
|
184
188
|
|
|
185
189
|
if ( $.is.nullish( rawParams.rightIndicator ) ) {
|
|
186
|
-
let icon = ( rawParams.restrict || '' ).match( /clock/ )
|
|
190
|
+
let icon = ( rawParams.restrict || '' ).match( /clock/ )
|
|
191
|
+
? faClock
|
|
192
|
+
: faCalendarLines;
|
|
187
193
|
|
|
188
194
|
rawParams.rightIndicator = <Input.Comps.RightIndicator
|
|
189
195
|
padding={ 0 }
|
|
@@ -191,13 +197,13 @@ const TimeInputs: amotify.fn.Input.Time.Methods & {
|
|
|
191
197
|
<Buttons.Button.Sub.R
|
|
192
198
|
color='cloud'
|
|
193
199
|
border='unset'
|
|
194
|
-
padding={
|
|
200
|
+
padding={ [ 0,1 ] }
|
|
195
201
|
fontColor='theme'
|
|
196
|
-
|
|
197
|
-
borderBottomLeftRadius={ 0 }
|
|
202
|
+
borderRadius={ 'inherit' }
|
|
198
203
|
backgroundColor='inherit'
|
|
204
|
+
flexCenter
|
|
199
205
|
height={ 1 }
|
|
200
|
-
ssEffectsOnActive={ [ 'ripple.
|
|
206
|
+
ssEffectsOnActive={ [ 'ripple.cloud' ] }
|
|
201
207
|
tabIndex={ -1 }
|
|
202
208
|
id={ 'Picker-' + rawParams.componentID }
|
|
203
209
|
onClick={ () => {
|
|
@@ -205,7 +211,7 @@ const TimeInputs: amotify.fn.Input.Time.Methods & {
|
|
|
205
211
|
if ( component ) component.openPicker();
|
|
206
212
|
} }
|
|
207
213
|
>
|
|
208
|
-
<
|
|
214
|
+
<FAI icon={ icon } />
|
|
209
215
|
</Buttons.Button.Sub.R>
|
|
210
216
|
</Input.Comps.RightIndicator>
|
|
211
217
|
}
|
|
@@ -260,11 +266,11 @@ const TimeInputs: amotify.fn.Input.Time.Methods & {
|
|
|
260
266
|
value={ era }
|
|
261
267
|
tone={ params.tone }
|
|
262
268
|
flexCenter
|
|
263
|
-
borderTopRightRadius={
|
|
264
|
-
borderBottomRightRadius={
|
|
269
|
+
borderTopRightRadius={ '2/3' }
|
|
270
|
+
borderBottomRightRadius={ '2/3' }
|
|
271
|
+
height={ 1 }
|
|
265
272
|
freeCSS={ {
|
|
266
|
-
whiteSpace: 'nowrap'
|
|
267
|
-
marginRight: -1
|
|
273
|
+
whiteSpace: 'nowrap'
|
|
268
274
|
} }
|
|
269
275
|
options={ [
|
|
270
276
|
{ value: 'year',label: '西暦' },
|
|
@@ -279,7 +285,7 @@ const TimeInputs: amotify.fn.Input.Time.Methods & {
|
|
|
279
285
|
|
|
280
286
|
if ( component && component.resetEra ) component.resetEra( value );
|
|
281
287
|
} }
|
|
282
|
-
|
|
288
|
+
// rightIcon={ false }
|
|
283
289
|
/> }
|
|
284
290
|
{ ...params }
|
|
285
291
|
era={ era }
|
|
@@ -389,10 +395,9 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
389
395
|
}
|
|
390
396
|
if ( rawParams.combineInput ) {
|
|
391
397
|
rawParams = {
|
|
392
|
-
digits: rawParams.digits,
|
|
393
398
|
textAlign: 'center',
|
|
394
399
|
width: 0,
|
|
395
|
-
|
|
400
|
+
...rawParams,
|
|
396
401
|
freeCSS: {
|
|
397
402
|
minWidth: 12 * 2,
|
|
398
403
|
marginRight: -1,
|
|
@@ -425,7 +430,7 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
425
430
|
className={ style.IndicatorIcon }
|
|
426
431
|
{ ...rawParams.rightIconStyles }
|
|
427
432
|
>
|
|
428
|
-
<
|
|
433
|
+
<FAI.AngleDown />
|
|
429
434
|
</Input.Comps.RightIcon>
|
|
430
435
|
}
|
|
431
436
|
if ( rawParams.rightIcon ) rawParams.paddingRight = rawParams.paddingRight ?? 3;
|
|
@@ -465,10 +470,7 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
465
470
|
} }
|
|
466
471
|
paddingLeft={ 3 }
|
|
467
472
|
rightIcon={ <Input.Comps.LeftIcon>
|
|
468
|
-
<
|
|
469
|
-
<FAIcon.AngleUp />
|
|
470
|
-
<FAIcon.AngleDown />
|
|
471
|
-
</Column>
|
|
473
|
+
<FAI icon={ faAnglesUpDown } />
|
|
472
474
|
</Input.Comps.LeftIcon> }
|
|
473
475
|
limit={ 1 }
|
|
474
476
|
{ ...params }
|
|
@@ -533,6 +535,15 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
533
535
|
{ ...params }
|
|
534
536
|
/> );
|
|
535
537
|
},
|
|
538
|
+
RequiredShortSign: ( params ) => {
|
|
539
|
+
return ( <Span
|
|
540
|
+
fontColor='nega'
|
|
541
|
+
padding={ [ '1/4','1/3' ] }
|
|
542
|
+
borderRadius={ '3.tone.tertiary' }
|
|
543
|
+
children={ '*' }
|
|
544
|
+
{ ...params }
|
|
545
|
+
/> );
|
|
546
|
+
},
|
|
536
547
|
OmitSign: ( params ) => {
|
|
537
548
|
return ( <Span
|
|
538
549
|
fontColor='white'
|
|
@@ -552,9 +563,8 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
552
563
|
|
|
553
564
|
return ( <Box
|
|
554
565
|
{ ...DefaultStyles.Indicator( tone! ) }
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
borderBottomRightRadius={ 0 }
|
|
566
|
+
borderTopRightRadius={ '2/3' }
|
|
567
|
+
borderBottomRightRadius={ '2/3' }
|
|
558
568
|
{ ...others }
|
|
559
569
|
/> );
|
|
560
570
|
},
|
|
@@ -564,13 +574,12 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
564
574
|
...others
|
|
565
575
|
} = params;
|
|
566
576
|
|
|
567
|
-
return
|
|
577
|
+
return <Box
|
|
568
578
|
{ ...DefaultStyles.Indicator( tone! ) }
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
borderBottomLeftRadius={ 0 }
|
|
579
|
+
borderTopLeftRadius={ '2/3' }
|
|
580
|
+
borderBottomLeftRadius={ '2/3' }
|
|
572
581
|
{ ...others }
|
|
573
|
-
|
|
582
|
+
/>;
|
|
574
583
|
},
|
|
575
584
|
RightIcon: ( params ) => {
|
|
576
585
|
let {
|
|
@@ -578,7 +587,7 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
578
587
|
...others
|
|
579
588
|
} = params;
|
|
580
589
|
|
|
581
|
-
return
|
|
590
|
+
return <Box
|
|
582
591
|
{ ...DefaultStyles.IndicatorIcon }
|
|
583
592
|
right={ '3/4' }
|
|
584
593
|
className={ style.IndicatorIcon }
|
|
@@ -588,7 +597,7 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
588
597
|
pointerEvents: 'none',
|
|
589
598
|
...others.freeCSS
|
|
590
599
|
} }
|
|
591
|
-
|
|
600
|
+
/>;
|
|
592
601
|
},
|
|
593
602
|
LeftIcon: ( params ) => {
|
|
594
603
|
let {
|
|
@@ -596,7 +605,7 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
596
605
|
...others
|
|
597
606
|
} = params;
|
|
598
607
|
|
|
599
|
-
return
|
|
608
|
+
return <Box
|
|
600
609
|
{ ...DefaultStyles.IndicatorIcon }
|
|
601
610
|
left={ '3/4' }
|
|
602
611
|
className={ style.IndicatorIcon }
|
|
@@ -606,7 +615,7 @@ export const Input: amotify.fn.Input.Methods = {
|
|
|
606
615
|
pointerEvents: 'none',
|
|
607
616
|
...others.freeCSS
|
|
608
617
|
} }
|
|
609
|
-
|
|
618
|
+
/>;
|
|
610
619
|
},
|
|
611
620
|
}
|
|
612
621
|
}
|
|
@@ -741,12 +750,14 @@ const DefaultStyles = {
|
|
|
741
750
|
...DefaultStyles.Input( params.tone ),
|
|
742
751
|
...params,
|
|
743
752
|
...params.leftIndicator ? {
|
|
744
|
-
borderTopLeftRadius:
|
|
745
|
-
borderBottomLeftRadius:
|
|
753
|
+
borderTopLeftRadius: '2/3',
|
|
754
|
+
borderBottomLeftRadius: '2/3',
|
|
755
|
+
marginLeft: '1/4'
|
|
746
756
|
} : null,
|
|
747
757
|
...params.rightIndicator ? {
|
|
748
|
-
borderTopRightRadius:
|
|
749
|
-
borderBottomRightRadius:
|
|
758
|
+
borderTopRightRadius: '2/3',
|
|
759
|
+
borderBottomRightRadius: '2/3',
|
|
760
|
+
marginRight: '1/4'
|
|
750
761
|
} : null,
|
|
751
762
|
className: [
|
|
752
763
|
style.Input,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
Box,
|
|
7
7
|
Flex,
|
|
8
|
-
|
|
8
|
+
FAI
|
|
9
9
|
} from '@atoms';
|
|
10
10
|
import {
|
|
11
11
|
Column,
|
|
@@ -44,56 +44,55 @@ export const BoxWrapper: React.FC<BoxWrapperParams> = ( props ) => {
|
|
|
44
44
|
|
|
45
45
|
if ( val_status.eventType == 'init' && !params.checkValidationAtFirst ) val_validate.notice = [];
|
|
46
46
|
|
|
47
|
-
return
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
return <Box
|
|
48
|
+
position='relative'
|
|
49
|
+
{ ...wrapStyles }
|
|
50
|
+
id={ 'BoxWrapper-' + val_status.componentID }
|
|
51
|
+
>
|
|
52
|
+
<Flex
|
|
53
|
+
flexWrap={ false }
|
|
54
|
+
// height='100%'
|
|
55
|
+
className={ style.Wrapper }
|
|
52
56
|
>
|
|
57
|
+
{ params.leftIndicator }
|
|
53
58
|
<Flex
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
position='relative'
|
|
60
|
+
flexSizing={ 'auto' }
|
|
56
61
|
>
|
|
57
|
-
{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
62
|
+
{ leftIcon }
|
|
63
|
+
{ children }
|
|
64
|
+
{ clearButton && !!val_status.dataValue ? <Buttons.Button.Normal.R
|
|
65
|
+
ssSphere={ 2 }
|
|
66
|
+
flexCenter
|
|
67
|
+
fontColor={ '5.translucent' }
|
|
68
|
+
ssEffectsOnActive={ [ 'ripple.theme' ] }
|
|
69
|
+
position='absolute'
|
|
70
|
+
right={ 1 }
|
|
71
|
+
top={ '50%' }
|
|
72
|
+
freeCSS={ {
|
|
73
|
+
zIndex: 3
|
|
74
|
+
} }
|
|
75
|
+
className={ style.IndicatorIcon }
|
|
76
|
+
onClick={ () => {
|
|
77
|
+
set_status( {
|
|
78
|
+
...val_status,
|
|
79
|
+
dataValue: '',
|
|
80
|
+
formatValue: '',
|
|
81
|
+
eventType: 'update',
|
|
82
|
+
eventID: $.uuidGen()
|
|
83
|
+
} as any );
|
|
84
|
+
} }
|
|
61
85
|
>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
{ clearButton && !!val_status.dataValue ? <Buttons.Button.Normal.R
|
|
65
|
-
ssSphere={ 2 }
|
|
66
|
-
flexCenter
|
|
67
|
-
fontColor={ '5.translucent' }
|
|
68
|
-
ssEffectsOnActive={ [ 'ripple.theme' ] }
|
|
69
|
-
position='absolute'
|
|
70
|
-
right={ 1 }
|
|
71
|
-
top={ '50%' }
|
|
72
|
-
freeCSS={ {
|
|
73
|
-
zIndex: 3
|
|
74
|
-
} }
|
|
75
|
-
className={ style.IndicatorIcon }
|
|
76
|
-
onClick={ () => {
|
|
77
|
-
set_status( {
|
|
78
|
-
...val_status,
|
|
79
|
-
dataValue: '',
|
|
80
|
-
formatValue: '',
|
|
81
|
-
eventType: 'update',
|
|
82
|
-
eventID: $.uuidGen()
|
|
83
|
-
} as any );
|
|
84
|
-
} }
|
|
85
|
-
>
|
|
86
|
-
<FAIcon.Times />
|
|
87
|
-
</Buttons.Button.Normal.R> : rightIcon }
|
|
88
|
-
</Flex>
|
|
89
|
-
{ params.rightIndicator }
|
|
86
|
+
<FAI.Times />
|
|
87
|
+
</Buttons.Button.Normal.R> : rightIcon }
|
|
90
88
|
</Flex>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
89
|
+
{ params.rightIndicator }
|
|
90
|
+
</Flex>
|
|
91
|
+
<GenNotices
|
|
92
|
+
notice={ val_validate.notice }
|
|
93
|
+
val_status={ val_status }
|
|
94
|
+
/>
|
|
95
|
+
</Box>;
|
|
97
96
|
}
|
|
98
97
|
const GenNotices: React.FC<{
|
|
99
98
|
notice: amotify.fn.Input.Validation.NoticeTypes[]
|
|
@@ -118,11 +117,16 @@ const GenNotices: React.FC<{
|
|
|
118
117
|
let Notices = notice.map( ( cell ) => {
|
|
119
118
|
let { type,label } = cell;
|
|
120
119
|
|
|
120
|
+
let ICON =
|
|
121
|
+
type == 'invalid' ? FAI.Times :
|
|
122
|
+
type == 'warn' ? FAI.Exclamation :
|
|
123
|
+
FAI.Check;
|
|
124
|
+
|
|
121
125
|
return <Row.Left
|
|
122
126
|
gap={ 0 }
|
|
123
127
|
borderRadius={ '2.tone.secondary' }
|
|
124
128
|
>
|
|
125
|
-
<
|
|
129
|
+
<ICON
|
|
126
130
|
flexCenter
|
|
127
131
|
fontSize='3.paragraph'
|
|
128
132
|
fontColor={ {
|
|
@@ -130,11 +134,6 @@ const GenNotices: React.FC<{
|
|
|
130
134
|
'warn': 'warn',
|
|
131
135
|
'valid': 'posi',
|
|
132
136
|
}[ type ] as 'theme' }
|
|
133
|
-
d={ {
|
|
134
|
-
'invalid': 'times',
|
|
135
|
-
'warn': 'exclamation',
|
|
136
|
-
'valid': 'check'
|
|
137
|
-
}[ type ] }
|
|
138
137
|
/>
|
|
139
138
|
<Box
|
|
140
139
|
fontColor='white'
|
|
@@ -293,7 +292,7 @@ export const CommonEffects: {
|
|
|
293
292
|
if ( !component ) return;
|
|
294
293
|
if (
|
|
295
294
|
params.value != val_status.dataValue &&
|
|
296
|
-
params.
|
|
295
|
+
params.status_id != component.status_id
|
|
297
296
|
) {
|
|
298
297
|
set_status( {
|
|
299
298
|
...val_status,
|
|
@@ -303,7 +302,7 @@ export const CommonEffects: {
|
|
|
303
302
|
eventID: $.uuidGen()
|
|
304
303
|
} );
|
|
305
304
|
}
|
|
306
|
-
component.
|
|
305
|
+
component.status_id = params.status_id;
|
|
307
306
|
} )();
|
|
308
307
|
|
|
309
308
|
React.useEffect( () => {
|
|
@@ -1,4 +1,55 @@
|
|
|
1
1
|
@use '@props' as *;
|
|
2
|
+
.Wrapper {
|
|
3
|
+
textarea {
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-height: $unit4;
|
|
7
|
+
resize: vertical;
|
|
8
|
+
transition-property: border, box-shadow, background-color !important;
|
|
9
|
+
}
|
|
10
|
+
input, select, textarea {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
&[ disabled] {
|
|
13
|
+
box-shadow: none !important;
|
|
14
|
+
background-color: $color-layer3 !important;
|
|
15
|
+
color: $font-color5 !important;
|
|
16
|
+
filter: grayscale(50%);
|
|
17
|
+
cursor: not-allowed !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
input, textarea {
|
|
21
|
+
cursor: text;
|
|
22
|
+
&::placeholder {
|
|
23
|
+
font-family: inherit;
|
|
24
|
+
color: $font-color5;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
input {
|
|
28
|
+
min-width: 0;
|
|
29
|
+
display: block;
|
|
30
|
+
&[ type="text"], &[ type="number"] {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
&[ type="number"] {
|
|
34
|
+
&::-webkit-inner-spin-button,
|
|
35
|
+
&::-webkit-outer-spin-button {
|
|
36
|
+
-webkit-appearance: none;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&[ type="radio"], &[ type="checkbox"], &[ type="file"] {
|
|
40
|
+
opacity: 0;
|
|
41
|
+
width: 0;
|
|
42
|
+
height: 0;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
position: absolute;
|
|
45
|
+
appearance: none;
|
|
46
|
+
}
|
|
47
|
+
&:-webkit-autofill {
|
|
48
|
+
box-shadow: 0 0 0 100rem $color-layer3 inset !important;
|
|
49
|
+
-webkit-text-fill-color: $font-color3;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
2
53
|
.Input {
|
|
3
54
|
&:focus, &:active {
|
|
4
55
|
z-index: 1;
|
|
@@ -20,13 +71,9 @@
|
|
|
20
71
|
&:focus-within {
|
|
21
72
|
border-color: $color-theme !important;
|
|
22
73
|
box-shadow: 0 0 0 $unit1_3 $color-theme-opacity-low;
|
|
23
|
-
}
|
|
74
|
+
}
|
|
24
75
|
}
|
|
25
76
|
}
|
|
26
|
-
|
|
27
|
-
textarea {
|
|
28
|
-
transition-property: border, box-shadow, background-color !important;
|
|
29
|
-
}
|
|
30
77
|
@keyframes ShowCell {
|
|
31
78
|
0% {}
|
|
32
79
|
100% {
|
|
@@ -37,7 +84,18 @@ textarea {
|
|
|
37
84
|
.IndicatorIcon {
|
|
38
85
|
transform: translateY(-50%);
|
|
39
86
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
87
|
+
.DigitCharacterCell {
|
|
88
|
+
&.Combined {
|
|
89
|
+
&:not(:first-child):not(:last-child) {
|
|
90
|
+
border-radius: 0 !important;
|
|
91
|
+
}
|
|
92
|
+
&:first-child {
|
|
93
|
+
border-top-right-radius: 0 !important;
|
|
94
|
+
border-bottom-right-radius: 0 !important;
|
|
95
|
+
}
|
|
96
|
+
&:last-child {
|
|
97
|
+
border-top-left-radius: 0 !important;
|
|
98
|
+
border-bottom-left-radius: 0 !important;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
43
101
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
Box,
|
|
4
|
-
|
|
4
|
+
FAI
|
|
5
5
|
} from '@atoms';
|
|
6
6
|
import {
|
|
7
7
|
Column,
|
|
@@ -29,10 +29,8 @@ export const PageNotFound: React.FC<{}> = () => {
|
|
|
29
29
|
maxWidth: 12 * 30
|
|
30
30
|
} }
|
|
31
31
|
>
|
|
32
|
-
<
|
|
32
|
+
<FAI.LinkSlash
|
|
33
33
|
fontColor={ 'theme' }
|
|
34
|
-
iconFamily='classic'
|
|
35
|
-
isDuotoneIcon
|
|
36
34
|
freeCSS={ {
|
|
37
35
|
fontSize: '3rem'
|
|
38
36
|
} }
|
|
@@ -23,10 +23,9 @@ const userEffect = ( beforeCallback?: Function,afterCallback?: Function,afterFir
|
|
|
23
23
|
value: navigate
|
|
24
24
|
} );
|
|
25
25
|
|
|
26
|
-
amotify.fn.Sheet.closeAll( true );
|
|
27
|
-
|
|
28
26
|
React.useEffect( () => {
|
|
29
27
|
if ( mounted.current ) {
|
|
28
|
+
amotify.fn.Sheet.closeAll( true );
|
|
30
29
|
$( '#TopNavigation' )
|
|
31
30
|
.callback( ( topHeader ) => {
|
|
32
31
|
let Body = $( document.body );
|
|
@@ -39,7 +38,7 @@ const userEffect = ( beforeCallback?: Function,afterCallback?: Function,afterFir
|
|
|
39
38
|
} else {
|
|
40
39
|
mounted.current = true;
|
|
41
40
|
}
|
|
42
|
-
},[ location ] );
|
|
41
|
+
},[ location.pathname ] );
|
|
43
42
|
|
|
44
43
|
if ( beforeCallback ) beforeCallback( location );
|
|
45
44
|
|
|
@@ -52,7 +52,7 @@ export const RootViewController: amotify.fn.Layout.RootViewController.Methods =
|
|
|
52
52
|
|
|
53
53
|
let Chilren: ReactElement = children;
|
|
54
54
|
|
|
55
|
-
return
|
|
55
|
+
return <Column
|
|
56
56
|
key={ Key }
|
|
57
57
|
className={ [
|
|
58
58
|
className,
|
|
@@ -84,7 +84,7 @@ export const RootViewController: amotify.fn.Layout.RootViewController.Methods =
|
|
|
84
84
|
</Box>
|
|
85
85
|
</Flex>
|
|
86
86
|
{ footerNavigation }
|
|
87
|
-
</Column
|
|
87
|
+
</Column>;
|
|
88
88
|
},
|
|
89
89
|
TopNavigation: ( params ) => {
|
|
90
90
|
let {
|
|
@@ -109,7 +109,7 @@ export const RootViewController: amotify.fn.Layout.RootViewController.Methods =
|
|
|
109
109
|
.setStyleProperty( '--topBase',topBase + 'px' );
|
|
110
110
|
},[] );
|
|
111
111
|
|
|
112
|
-
return
|
|
112
|
+
return <Flex
|
|
113
113
|
key={ val_componentID }
|
|
114
114
|
data-id={ val_componentID }
|
|
115
115
|
flexSizing={ 'none' }
|
|
@@ -124,20 +124,8 @@ export const RootViewController: amotify.fn.Layout.RootViewController.Methods =
|
|
|
124
124
|
style.TopNav
|
|
125
125
|
].join( ' ' ) }
|
|
126
126
|
>
|
|
127
|
-
<Box
|
|
128
|
-
position='absolute'
|
|
129
|
-
left={ 0 }
|
|
130
|
-
right={ 0 }
|
|
131
|
-
backgroundColor='inherit'
|
|
132
|
-
className={ style.TopCover }
|
|
133
|
-
freeCSS={ {
|
|
134
|
-
top: '-1rem',
|
|
135
|
-
height: '2rem',
|
|
136
|
-
zIndex: -1
|
|
137
|
-
} }
|
|
138
|
-
/>
|
|
139
127
|
{ children }
|
|
140
|
-
</Flex
|
|
128
|
+
</Flex>;
|
|
141
129
|
},
|
|
142
130
|
SideNavigation: ( params ) => {
|
|
143
131
|
let {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
|
+
baseElements,
|
|
3
4
|
LaunchReactApplication,
|
|
4
5
|
useStore
|
|
5
6
|
} from '@global';
|
|
@@ -92,7 +93,8 @@ const Loader: amotify.fn.Loader.Methods = {
|
|
|
92
93
|
export { Loader }
|
|
93
94
|
|
|
94
95
|
LaunchReactApplication( {
|
|
95
|
-
|
|
96
|
+
isRoot: false,
|
|
97
|
+
baseElement: '#' + baseElements.loaderID,
|
|
96
98
|
reactElement: <>
|
|
97
99
|
<Top />
|
|
98
100
|
<Corner />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '@props' as *;
|
|
2
2
|
:global {
|
|
3
|
-
|
|
3
|
+
.AMOTIFY_be_loader {
|
|
4
4
|
z-index: 10;
|
|
5
5
|
position: absolute;
|
|
6
6
|
}
|
|
@@ -189,6 +189,7 @@
|
|
|
189
189
|
animation: spin .5s linear infinite;
|
|
190
190
|
}
|
|
191
191
|
svg {
|
|
192
|
+
height: 100%;
|
|
192
193
|
position: absolute;
|
|
193
194
|
fill: none;
|
|
194
195
|
}
|