ordering-ui-admin-external 1.17.0 → 1.18.0
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/_bundles/{ordering-ui-admin.6c1919d6b0356a2f522f.js → ordering-ui-admin.d6ceaa81e226693746d5.js} +2 -2
- package/_modules/components/Delivery/DeliveryUsersListing/index.js +4 -2
- package/_modules/components/Delivery/DriversGroupLogistics/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupLogs/index.js +1 -0
- package/_modules/components/Delivery/UsersList/index.js +47 -51
- package/_modules/components/Delivery/UsersList/styles.js +6 -4
- package/_modules/components/MyProducts/AdvancedSettings/ButtonShadow.js +98 -0
- package/_modules/components/MyProducts/AdvancedSettings/FontStyleGroup.js +28 -7
- package/_modules/components/MyProducts/AdvancedSettings/HideCheckBox.js +47 -0
- package/_modules/components/MyProducts/AdvancedSettings/ImageBox.js +12 -3
- package/_modules/components/MyProducts/AdvancedSettings/SettingComponent.js +15 -15
- package/_modules/components/MyProducts/AdvancedSettings/index.js +102 -117
- package/_modules/components/MyProducts/AppResources/index.js +132 -0
- package/_modules/components/Orders/Messages/index.js +9 -5
- package/_modules/components/Orders/OrderBill/index.js +1 -1
- package/_modules/components/Orders/OrderNotification/index.js +4 -2
- package/_modules/components/Orders/OrdersManager/index.js +3 -1
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +1 -1
- package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
- package/_modules/components/Stores/BusinessDetails/index.js +27 -8
- package/_modules/components/Stores/BusinessPlace/index.js +127 -0
- package/_modules/components/Stores/BusinessPlace/styles.js +55 -0
- package/_modules/components/Stores/BusinessPlaceGroup/index.js +258 -0
- package/_modules/components/Stores/BusinessPlaceGroup/styles.js +102 -0
- package/_modules/components/Stores/BusinessPreorderDetails/index.js +13 -1
- package/_modules/components/Stores/BusinessProductList/index.js +3 -3
- package/_modules/components/Stores/BusinessProductsListing/index.js +2 -1
- package/_modules/components/Stores/BusinessSummary/index.js +12 -3
- package/_modules/components/Stores/ProductStep/index.js +15 -3
- package/_modules/components/Stores/SpoonityApiKey/index.js +97 -0
- package/_modules/components/Stores/SpoonityApiKey/styles.js +47 -0
- package/_modules/components/Stores/UploadMenuGuide/index.js +8 -0
- package/_modules/components/Users/CustomerPointsWallet/index.js +126 -9
- package/_modules/components/Users/CustomerPointsWallet/styles.js +8 -4
- package/package.json +2 -2
- package/src/components/Delivery/DeliveryUsersListing/index.js +3 -1
- package/src/components/Delivery/DriversGroupLogistics/index.js +1 -1
- package/src/components/Delivery/DriversGroupLogs/index.js +2 -0
- package/src/components/Delivery/UsersList/index.js +79 -61
- package/src/components/Delivery/UsersList/styles.js +4 -12
- package/src/components/MyProducts/AdvancedSettings/ButtonShadow.js +102 -0
- package/src/components/MyProducts/AdvancedSettings/FontStyleGroup.js +23 -5
- package/src/components/MyProducts/AdvancedSettings/HideCheckBox.js +33 -0
- package/src/components/MyProducts/AdvancedSettings/ImageBox.js +10 -3
- package/src/components/MyProducts/AdvancedSettings/SettingComponent.js +10 -15
- package/src/components/MyProducts/AdvancedSettings/index.js +119 -149
- package/src/components/MyProducts/AppResources/index.js +167 -0
- package/src/components/Orders/Messages/index.js +38 -0
- package/src/components/Orders/OrderBill/index.js +1 -1
- package/src/components/Orders/OrderNotification/index.js +6 -2
- package/src/components/Orders/OrdersManager/index.js +1 -1
- package/src/components/Stores/BusinessAdd/DeliveryZone/index.js +1 -1
- package/src/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
- package/src/components/Stores/BusinessDetails/index.js +24 -1
- package/src/components/Stores/BusinessPlace/index.js +137 -0
- package/src/components/Stores/BusinessPlace/styles.js +132 -0
- package/src/components/Stores/BusinessPlaceGroup/index.js +272 -0
- package/src/components/Stores/BusinessPlaceGroup/styles.js +248 -0
- package/src/components/Stores/BusinessPreorderDetails/index.js +2 -2
- package/src/components/Stores/BusinessProductList/index.js +9 -1
- package/src/components/Stores/BusinessProductsListing/index.js +1 -0
- package/src/components/Stores/BusinessSummary/index.js +16 -5
- package/src/components/Stores/ProductStep/index.js +19 -2
- package/src/components/Stores/SpoonityApiKey/index.js +87 -0
- package/src/components/Stores/SpoonityApiKey/styles.js +68 -0
- package/src/components/Stores/UploadMenuGuide/index.js +10 -1
- package/src/components/Users/CustomerPointsWallet/index.js +130 -2
- package/src/components/Users/CustomerPointsWallet/styles.js +40 -1
- /package/_bundles/{ordering-ui-admin.6c1919d6b0356a2f522f.js.LICENSE.txt → ordering-ui-admin.d6ceaa81e226693746d5.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react'
|
|
2
|
+
import { useLanguage } from 'ordering-components-admin-external'
|
|
3
|
+
import { Button, Input } from '../../../styles'
|
|
4
|
+
import { Alert } from '../../Shared'
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
BusinessOrderingChannelsContainer,
|
|
8
|
+
Title,
|
|
9
|
+
BusinessCustomSlugContainer,
|
|
10
|
+
FormControl,
|
|
11
|
+
Label,
|
|
12
|
+
} from './styles'
|
|
13
|
+
|
|
14
|
+
export const SpoonityApiKey = (props) => {
|
|
15
|
+
const {
|
|
16
|
+
spoonityConfig,
|
|
17
|
+
handleUpdateSpoonityKey,
|
|
18
|
+
spoonityKeyState
|
|
19
|
+
} = props
|
|
20
|
+
|
|
21
|
+
const [, t] = useLanguage()
|
|
22
|
+
const [spoonityKey, setSpoonityKey] = useState(spoonityConfig?.value)
|
|
23
|
+
const [alertState, setAlertState] = useState({ open: false, content: [], success: false })
|
|
24
|
+
|
|
25
|
+
const changeSpoonityKey = () => {
|
|
26
|
+
if (spoonityKey === '') {
|
|
27
|
+
setAlertState({
|
|
28
|
+
...alertState,
|
|
29
|
+
open: true,
|
|
30
|
+
content: [t('SPOONITY_KEY_REQUIRED', 'Spoonity key is required')]
|
|
31
|
+
})
|
|
32
|
+
return
|
|
33
|
+
}
|
|
34
|
+
handleUpdateSpoonityKey(spoonityKey, spoonityConfig.id)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const closeAlert = () => {
|
|
38
|
+
setAlertState({
|
|
39
|
+
...alertState,
|
|
40
|
+
open: false,
|
|
41
|
+
content: []
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
useEffect(() => {
|
|
46
|
+
if (spoonityKeyState?.key && !spoonityKeyState?.loading) setSpoonityKey(spoonityKey)
|
|
47
|
+
}, [spoonityKeyState?.key, spoonityKeyState?.loading])
|
|
48
|
+
|
|
49
|
+
useEffect(() => {
|
|
50
|
+
if(!spoonityKeyState?.key) return
|
|
51
|
+
setSpoonityKey(spoonityKeyState?.key)
|
|
52
|
+
}, [spoonityKeyState?.key])
|
|
53
|
+
|
|
54
|
+
return (
|
|
55
|
+
<>
|
|
56
|
+
<BusinessOrderingChannelsContainer>
|
|
57
|
+
<Title>{t('SPOONITY_KEY', 'Spoonity key')}</Title>
|
|
58
|
+
<BusinessCustomSlugContainer>
|
|
59
|
+
<FormControl>
|
|
60
|
+
<Label>{t('API_KEY', 'Api key')}</Label>
|
|
61
|
+
<Input
|
|
62
|
+
type='text'
|
|
63
|
+
value={spoonityKey}
|
|
64
|
+
placeholder={t('SPOONITY_PLACEHOLDER', 'Spoonity key')}
|
|
65
|
+
onChange={(e) => setSpoonityKey(e.target.value)}
|
|
66
|
+
onKeyPress={(e) => {
|
|
67
|
+
if (!/^[0-9a-zA-Z]$/.test(e.key)) {
|
|
68
|
+
e.preventDefault()
|
|
69
|
+
}
|
|
70
|
+
}}
|
|
71
|
+
/>
|
|
72
|
+
</FormControl>
|
|
73
|
+
<Button color='primary' onClick={changeSpoonityKey}>{t('SAVE', 'Save')}</Button>
|
|
74
|
+
</BusinessCustomSlugContainer>
|
|
75
|
+
</BusinessOrderingChannelsContainer>
|
|
76
|
+
<Alert
|
|
77
|
+
title={t('SPOONITY_KEY', 'Spoonity key')}
|
|
78
|
+
content={alertState.content}
|
|
79
|
+
acceptText={t('ACCEPT', 'Accept')}
|
|
80
|
+
open={alertState.open}
|
|
81
|
+
onClose={() => closeAlert()}
|
|
82
|
+
onAccept={() => closeAlert()}
|
|
83
|
+
closeOnBackdrop={false}
|
|
84
|
+
/>
|
|
85
|
+
</>
|
|
86
|
+
)
|
|
87
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const BusinessOrderingChannelsContainer = styled.div`
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
@media (min-width: 576px) {
|
|
6
|
+
padding: 20px;
|
|
7
|
+
}
|
|
8
|
+
`
|
|
9
|
+
export const Title = styled.h1`
|
|
10
|
+
font-size: 20px;
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
color: ${props => props.theme.colors?.headingColor};
|
|
13
|
+
margin-bottom: 25px;
|
|
14
|
+
`
|
|
15
|
+
|
|
16
|
+
export const BusinessCustomSlugContainer = styled.div`
|
|
17
|
+
button {
|
|
18
|
+
border-radius: 7.6px;
|
|
19
|
+
height: 44px;
|
|
20
|
+
}
|
|
21
|
+
`
|
|
22
|
+
|
|
23
|
+
export const FormControl = styled.div`
|
|
24
|
+
margin-bottom: 20px;
|
|
25
|
+
|
|
26
|
+
input[type=text] {
|
|
27
|
+
border: 1px solid #DEE2E6;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
border-radius: 7.6px;
|
|
30
|
+
height: 44px;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
`
|
|
34
|
+
|
|
35
|
+
export const Label = styled.p`
|
|
36
|
+
margin-top: 0;
|
|
37
|
+
margin-bottom: 10px;
|
|
38
|
+
font-size: 14px;
|
|
39
|
+
color: ${props => props.theme?.colors.headingColor};
|
|
40
|
+
`
|
|
41
|
+
|
|
42
|
+
export const Tabs = styled.div`
|
|
43
|
+
display: flex;
|
|
44
|
+
width: 100%;
|
|
45
|
+
margin-bottom: 25px;
|
|
46
|
+
border-bottom: 1px solid ${props => props.theme.colors.borderColor};
|
|
47
|
+
`
|
|
48
|
+
|
|
49
|
+
export const Tab = styled.div`
|
|
50
|
+
user-select: none;
|
|
51
|
+
padding: 10px 0px;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
color: ${props => props.theme.colors?.headingColor};
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
color: ${props => props.theme.colors.lightGray};
|
|
57
|
+
${props => props.theme?.rtl ? css`
|
|
58
|
+
margin-left: 30px;
|
|
59
|
+
` : css`
|
|
60
|
+
margin-right: 30px;
|
|
61
|
+
`}
|
|
62
|
+
|
|
63
|
+
${({ active }) => active && css`
|
|
64
|
+
border-bottom: 1px solid;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
color: ${props => props.theme.colors.headingColor};
|
|
67
|
+
`}
|
|
68
|
+
`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState, useRef } from 'react'
|
|
1
|
+
import React, { useState, useRef, useEffect } from 'react'
|
|
2
2
|
import { useLanguage, ExamineClick, DragAndDrop, UploadMenu } from 'ordering-components-admin-external'
|
|
3
3
|
import { CloudUploadFill, FileEarmarkPdfFill } from 'react-bootstrap-icons'
|
|
4
4
|
import { Button, Input } from '../../../styles'
|
|
@@ -76,6 +76,15 @@ const UploadMenuGuideUI = (props) => {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
useEffect(() => {
|
|
80
|
+
if (formState?.error) {
|
|
81
|
+
setAlertState({
|
|
82
|
+
open: true,
|
|
83
|
+
content: formState.error
|
|
84
|
+
})
|
|
85
|
+
}
|
|
86
|
+
}, [formState?.error])
|
|
87
|
+
|
|
79
88
|
return (
|
|
80
89
|
<>
|
|
81
90
|
<Container>
|
|
@@ -4,6 +4,9 @@ import { useLanguage, UserWallet as UserWalletController } from 'ordering-compon
|
|
|
4
4
|
import { useTheme } from 'styled-components'
|
|
5
5
|
import Skeleton from 'react-loading-skeleton'
|
|
6
6
|
import { CustomerWalletEvents } from '../CustomerWalletEvents'
|
|
7
|
+
import { Button, Input, TextArea } from '../../../styles'
|
|
8
|
+
import { Alert } from '../../Shared'
|
|
9
|
+
|
|
7
10
|
import {
|
|
8
11
|
Container,
|
|
9
12
|
PointsWalletContainer,
|
|
@@ -11,20 +14,32 @@ import {
|
|
|
11
14
|
Tabs,
|
|
12
15
|
Tab,
|
|
13
16
|
LoyaltyLevel,
|
|
14
|
-
LoyaltyLevelContent
|
|
17
|
+
LoyaltyLevelContent,
|
|
18
|
+
|
|
19
|
+
SectionContainer,
|
|
20
|
+
FormController
|
|
15
21
|
} from './styles'
|
|
16
22
|
|
|
17
23
|
const CustomerPointsWalletUI = (props) => {
|
|
18
24
|
const {
|
|
19
25
|
walletState,
|
|
20
|
-
user
|
|
26
|
+
user,
|
|
27
|
+
|
|
28
|
+
handleChangeInput,
|
|
29
|
+
actionState,
|
|
30
|
+
addWalletState,
|
|
31
|
+
reduceWalletState,
|
|
32
|
+
handleAddWalletMoney,
|
|
33
|
+
handleReduceWalletMoney
|
|
21
34
|
} = props
|
|
22
35
|
|
|
23
36
|
const history = useHistory()
|
|
24
37
|
const query = new URLSearchParams(useLocation().search)
|
|
25
38
|
const [, t] = useLanguage()
|
|
26
39
|
const theme = useTheme()
|
|
40
|
+
|
|
27
41
|
const [showOption, setShowOption] = useState('points_wallet')
|
|
42
|
+
const [alertState, setAlertState] = useState({ open: false, content: [] })
|
|
28
43
|
|
|
29
44
|
const handleTabClick = (tab, isInitialRender) => {
|
|
30
45
|
setShowOption(tab)
|
|
@@ -45,6 +60,36 @@ const CustomerPointsWalletUI = (props) => {
|
|
|
45
60
|
}
|
|
46
61
|
}, [])
|
|
47
62
|
|
|
63
|
+
const onAddWalletMoney = () => {
|
|
64
|
+
if (!addWalletState?.amount) {
|
|
65
|
+
setAlertState({
|
|
66
|
+
open: true,
|
|
67
|
+
content: [t('VALIDATION_ERROR_REQUIRED', 'The amount is required').replace('_attribute_', t('AMOUNT', 'Amount'))]
|
|
68
|
+
})
|
|
69
|
+
return
|
|
70
|
+
}
|
|
71
|
+
handleAddWalletMoney()
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const onReduceWalletMoney = () => {
|
|
75
|
+
if (!reduceWalletState?.amount) {
|
|
76
|
+
setAlertState({
|
|
77
|
+
open: true,
|
|
78
|
+
content: [t('VALIDATION_ERROR_REQUIRED', 'The amount is required').replace('_attribute_', t('AMOUNT', 'Amount'))]
|
|
79
|
+
})
|
|
80
|
+
return
|
|
81
|
+
}
|
|
82
|
+
handleReduceWalletMoney()
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
useEffect(() => {
|
|
86
|
+
if (actionState.loading || !actionState.error) return
|
|
87
|
+
setAlertState({
|
|
88
|
+
open: true,
|
|
89
|
+
content: actionState.error
|
|
90
|
+
})
|
|
91
|
+
}, [actionState])
|
|
92
|
+
|
|
48
93
|
return (
|
|
49
94
|
<Container>
|
|
50
95
|
<h1>{t('POINTS_WALLET', 'Points wallet')}</h1>
|
|
@@ -96,6 +141,79 @@ const CustomerPointsWalletUI = (props) => {
|
|
|
96
141
|
</LoyaltyLevelContent>
|
|
97
142
|
</LoyaltyLevel>
|
|
98
143
|
)}
|
|
144
|
+
|
|
145
|
+
<SectionContainer>
|
|
146
|
+
<p>{t('ADD_WALLET_MONEY', 'Add wallet money')}</p>
|
|
147
|
+
<FormController>
|
|
148
|
+
<label>{t('INDICATE_THE_AMOUNT_TO_ADD', 'Indicate the amount to add')}</label>
|
|
149
|
+
<Input
|
|
150
|
+
type='number'
|
|
151
|
+
name='amount'
|
|
152
|
+
placeholder={t('POINTS', 'Points')}
|
|
153
|
+
onKeyPress={(e) => {
|
|
154
|
+
if (!/^[0-9.]$/.test(e.key)) {
|
|
155
|
+
e.preventDefault()
|
|
156
|
+
}
|
|
157
|
+
}}
|
|
158
|
+
value={addWalletState?.amount || ''}
|
|
159
|
+
onChange={(e) => handleChangeInput(e, true)}
|
|
160
|
+
/>
|
|
161
|
+
</FormController>
|
|
162
|
+
<FormController>
|
|
163
|
+
<label>{t('COMMENT', 'Comment')}</label>
|
|
164
|
+
<TextArea
|
|
165
|
+
name='description'
|
|
166
|
+
rows={3}
|
|
167
|
+
value={addWalletState?.description || ''}
|
|
168
|
+
onChange={(e) => handleChangeInput(e, true)}
|
|
169
|
+
placeholder={t('WRITE_SHORT_COMMENT', 'Write a short comment')}
|
|
170
|
+
/>
|
|
171
|
+
</FormController>
|
|
172
|
+
<Button
|
|
173
|
+
borderRadius='8px'
|
|
174
|
+
color='primary'
|
|
175
|
+
onClick={() => onAddWalletMoney()}
|
|
176
|
+
disabled={actionState.loading || Object.keys(addWalletState).length === 0}
|
|
177
|
+
>
|
|
178
|
+
{t('ADD', 'Add')}
|
|
179
|
+
</Button>
|
|
180
|
+
</SectionContainer>
|
|
181
|
+
<SectionContainer>
|
|
182
|
+
<p>{t('REDUCE_WALLET_MONEY', 'Reduce wallet money')}</p>
|
|
183
|
+
<FormController>
|
|
184
|
+
<label>{t('INDICATE_THE_AMOUNT_TO_REDUCE', 'Indicate the amount to reduce')}</label>
|
|
185
|
+
<Input
|
|
186
|
+
type='number'
|
|
187
|
+
name='amount'
|
|
188
|
+
placeholder={t('POINTS', 'Points')}
|
|
189
|
+
value={reduceWalletState?.amount || ''}
|
|
190
|
+
onChange={e => handleChangeInput(e, false)}
|
|
191
|
+
onKeyPress={(e) => {
|
|
192
|
+
if (!/^[0-9.]$/.test(e.key)) {
|
|
193
|
+
e.preventDefault()
|
|
194
|
+
}
|
|
195
|
+
}}
|
|
196
|
+
/>
|
|
197
|
+
</FormController>
|
|
198
|
+
<FormController>
|
|
199
|
+
<label>{t('COMMENT', 'Comment')}</label>
|
|
200
|
+
<TextArea
|
|
201
|
+
rows={3}
|
|
202
|
+
name='description'
|
|
203
|
+
value={reduceWalletState?.description || ''}
|
|
204
|
+
onChange={e => handleChangeInput(e, false)}
|
|
205
|
+
placeholder={t('WRITE_SHORT_COMMENT', 'Write a short comment')}
|
|
206
|
+
/>
|
|
207
|
+
</FormController>
|
|
208
|
+
<Button
|
|
209
|
+
borderRadius='8px'
|
|
210
|
+
color='black'
|
|
211
|
+
onClick={() => onReduceWalletMoney()}
|
|
212
|
+
disabled={actionState.loading || Object.keys(reduceWalletState).length === 0}
|
|
213
|
+
>
|
|
214
|
+
{t('REDUCE', 'Reduce')}
|
|
215
|
+
</Button>
|
|
216
|
+
</SectionContainer>
|
|
99
217
|
</PointsWalletContainer>
|
|
100
218
|
</>
|
|
101
219
|
)}
|
|
@@ -104,6 +222,16 @@ const CustomerPointsWalletUI = (props) => {
|
|
|
104
222
|
{showOption === 'history' && (
|
|
105
223
|
<CustomerWalletEvents {...props} />
|
|
106
224
|
)}
|
|
225
|
+
<Alert
|
|
226
|
+
width='800px'
|
|
227
|
+
title={t('LOGIN')}
|
|
228
|
+
content={alertState.content}
|
|
229
|
+
acceptText={t('ACCEPT')}
|
|
230
|
+
open={alertState.open}
|
|
231
|
+
onClose={() => setAlertState({ open: false, content: [] })}
|
|
232
|
+
onAccept={() => setAlertState({ open: false, content: [] })}
|
|
233
|
+
closeOnBackdrop={false}
|
|
234
|
+
/>
|
|
107
235
|
</Container>
|
|
108
236
|
)
|
|
109
237
|
}
|
|
@@ -14,7 +14,7 @@ export const Container = styled.div`
|
|
|
14
14
|
|
|
15
15
|
export const PointsWalletContainer = styled.div`
|
|
16
16
|
width: 100%;
|
|
17
|
-
padding
|
|
17
|
+
padding: 30px 0;
|
|
18
18
|
`
|
|
19
19
|
|
|
20
20
|
export const PointsWrapper = styled.div`
|
|
@@ -121,3 +121,42 @@ export const LoyaltyLevelContent = styled.div`
|
|
|
121
121
|
text-align: center;
|
|
122
122
|
}
|
|
123
123
|
`
|
|
124
|
+
|
|
125
|
+
export const SectionContainer = styled.div`
|
|
126
|
+
margin-top: 54px;
|
|
127
|
+
margin-bottom: 30px;
|
|
128
|
+
> p {
|
|
129
|
+
font-size: 16px;
|
|
130
|
+
font-weight: 600;
|
|
131
|
+
margin-top: 0;
|
|
132
|
+
margin-bottom: 22px;
|
|
133
|
+
}
|
|
134
|
+
> button {
|
|
135
|
+
height: 44px;
|
|
136
|
+
}
|
|
137
|
+
`
|
|
138
|
+
export const FormController = styled.div`
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
margin-bottom: 26px;
|
|
142
|
+
|
|
143
|
+
label {
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
margin-bottom: 10px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
input,
|
|
149
|
+
textarea {
|
|
150
|
+
font-size: 14px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
input::-webkit-outer-spin-button,
|
|
154
|
+
input::-webkit-inner-spin-button {
|
|
155
|
+
-webkit-appearance: none;
|
|
156
|
+
margin: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
input[type=number] {
|
|
160
|
+
-moz-appearance: textfield;
|
|
161
|
+
}
|
|
162
|
+
`
|