Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Agiliza
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
evologica
Agiliza
Commits
69a2359e
Commit
69a2359e
authored
Oct 06, 2021
by
Rafael
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Atualiza versões e mudanças diversas.
parent
efc55b0a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
20 deletions
+20
-20
babel.config.json
cli/web/cliente/babel.config.json
+0
-1
package.json
cli/web/cliente/package.json
+5
-5
ImageUpload.tsx
...ente/src/components/organisms/ImageUpload/ImageUpload.tsx
+5
-5
index.ts
cli/web/cliente/src/theme/index.ts
+1
-0
References.tsx
...ProposalData/pages/CustomerData/References/References.tsx
+1
-1
yarn.lock
cli/web/cliente/yarn.lock
+8
-8
No files found.
cli/web/cliente/babel.config.json
View file @
69a2359e
...
...
@@ -36,7 +36,6 @@
},
"icons"
],
[
"babel-plugin-direct-import"
,
{
"modules"
:
[
"@mui/material"
,
"@mui/icons-material"
]
}],
"@babel/plugin-proposal-optional-chaining"
,
"@babel/plugin-proposal-nullish-coalescing-operator"
,
"@babel/plugin-proposal-object-rest-spread"
,
...
...
cli/web/cliente/package.json
View file @
69a2359e
...
...
@@ -47,12 +47,12 @@
"@types/react-redux"
:
"7.1.16"
,
"@types/react-router"
:
"5.1.14"
,
"@types/react-router-dom"
:
"5.1.7"
,
"@types/react-swipeable-views"
:
"^0.13.1"
,
"@types/react-swipeable-views-utils"
:
"^0.13.3"
,
"@types/redux-logger"
:
"^3.0.7"
,
"@types/webpack"
:
"5.28.0"
,
"@types/webpack-bundle-analyzer"
:
"4.4.0"
,
"@types/webpack-dev-server"
:
"3.11.4"
,
"@types/react-swipeable-views"
:
"^0.13.1"
,
"@types/react-swipeable-views-utils"
:
"^0.13.3"
,
"@typescript-eslint/eslint-plugin"
:
"^4.31.0"
,
"@typescript-eslint/parser"
:
"^4.29.2"
,
"autoprefixer"
:
"^10.2.5"
,
...
...
@@ -82,13 +82,13 @@
"ts-node"
:
"10.0.0"
,
"typescript"
:
"^4.0.0"
,
"webpack"
:
"5.37.1"
,
"webpack-cli"
:
"^3.0.0"
,
"webpack-bundle-analyzer"
:
"^4.4.2"
,
"webpack-cli"
:
"^3.0.0"
,
"webpack-dev-server"
:
"3.11.2"
},
"dependencies"
:
{
"@curio/client"
:
"1.3.3"
,
"@curio/components"
:
"^1.0.
3
"
,
"@curio/components"
:
"^1.0.
4
"
,
"@curio/ui"
:
"^0.1.0"
,
"@date-io/date-fns"
:
"^1.0.0"
,
"@dynamo/components"
:
"0.70.1"
,
...
...
@@ -116,7 +116,7 @@
"react-redux"
:
"^7.2.0"
,
"react-router"
:
"5.2.0"
,
"react-router-dom"
:
"5.2.0"
,
"redux"
:
"^4.0.
5
"
,
"redux"
:
"^4.0.
0
"
,
"redux-logger"
:
"^3.0.6"
,
"redux-observable"
:
"^1.2.0"
,
"reselect"
:
"^4.0.0"
,
...
...
cli/web/cliente/src/components/organisms/ImageUpload/ImageUpload.tsx
View file @
69a2359e
...
...
@@ -2,7 +2,7 @@ import deepmerge from 'deepmerge'
import
React
from
'react'
import
{
PhotoCamera
as
PhotoCameraIcon
}
from
'@mui/icons-material'
import
{
Button
,
ButtonProps
}
from
'@mui/material'
import
{
B
ox
,
B
utton
,
ButtonProps
}
from
'@mui/material'
import
{
useTheme
}
from
'@mui/material/styles'
import
useStyles
from
'./styles'
...
...
@@ -18,14 +18,14 @@ interface Props {
}
const
ImageUpload
=
(
props
:
Props
)
=>
{
const
{
s
tyle
,
s
x
=
{},
image
,
onChangeImage
,
label
,
imageStyle
=
{}
}
=
props
const
{
sx
=
{},
image
,
onChangeImage
,
label
,
imageStyle
=
{}
}
=
props
const
styles
=
useStyles
(
useTheme
())
return
(
<
div
style=
{
deepmerge
(
style
||
{},
styles
.
container
)
}
>
<
Box
sx=
{
deepmerge
(
sx
||
{},
styles
.
container
)
}
>
{
/* <Button variant="text" sx={deepmerge(styles.photoBtn, sx || {})} > */
}
<
Button
variant=
"text"
component=
"label"
sx=
{
deepmerge
(
styles
.
photoBtn
,
sx
||
{})
}
>
<
Button
variant=
"text"
component=
"label"
sx=
{
styles
.
photoBtn
}
>
{
image
?
(
<
div
style=
{
deepmerge
(
styles
.
card
,
imageStyle
)
}
>
<
img
src=
{
'data:image/png;base64,'
+
image
}
style=
{
styles
.
media
}
/>
...
...
@@ -42,7 +42,7 @@ const ImageUpload = (props: Props) => {
onChange=
{
onChangeImage
}
/>
</
Button
>
</
div
>
</
Box
>
)
}
...
...
cli/web/cliente/src/theme/index.ts
View file @
69a2359e
...
...
@@ -6,6 +6,7 @@ export const defaultToobarHeight = 64
export
const
theme
=
createTheme
({
palette
:
{
// mode: 'dark',
primary
:
{
light
:
'#034da6'
,
main
:
'#0d3366'
,
...
...
cli/web/cliente/src/views/ProposalData/pages/CustomerData/References/References.tsx
View file @
69a2359e
...
...
@@ -29,7 +29,7 @@ const References = (props: Props) => {
const
[
open
,
setOpen
]
=
useState
(
false
)
useEffect
(()
=>
{
props
.
getReferences
({
personId
,
projectId
})
if
(
!
references
.
length
)
props
.
getReferences
({
personId
,
projectId
})
},
[])
const
handleClickListItem
=
(
reference
:
Reference
)
=>
()
=>
{
...
...
cli/web/cliente/yarn.lock
View file @
69a2359e
...
...
@@ -1004,10 +1004,10 @@
react-loading-skeleton "^2.0.1"
xstate "^4.19.1"
"@curio/components@^1.0.
3
":
version "1.0.
3
"
resolved "https://nexus.dev.evologica.com.br/repository/npm/@curio/components/-/components-1.0.
3.tgz#50ebd731a9fcadc2d091980c99669a3e7d182c01
"
integrity sha512-
Xxk5IB8V6nyXeWRZdJMvwvj1xc1Xsj7QL1RPL2Emn7A28G2lZV+EstSiN6Q7SGpm+HvW8pxFvrkipv1wqAfamA
==
"@curio/components@^1.0.
4
":
version "1.0.
4
"
resolved "https://nexus.dev.evologica.com.br/repository/npm/@curio/components/-/components-1.0.
4.tgz#d8ddf8a1d6b83142ef67d45f8d465156b8012ec5
"
integrity sha512-
SDkiUx0/c5BJExkk0AuuE6/oKplhrk+TXk5OBzut7qL90d98a28oPG2Kr6VYvzSXMIYznv1Xhv+/7hftn9ABdw
==
dependencies:
"@curio/client" "1.3.3"
"@date-io/date-fns" "^1.0.0"
...
...
@@ -1951,9 +1951,9 @@
"@types/react" "*"
"@types/react@*":
version "17.0.2
5
"
resolved "https://nexus.dev.evologica.com.br/repository/npm/@types/react/-/react-17.0.2
5.tgz#8b88c226e54910762decc9de2aa36b4dc9240503
"
integrity sha512-
IXrzSOr3CVbEQgmjEdCWF57J7CVaJ7lL/n4penxHm8h0XIcr0AxqGucogh2zj3qRxgk4M4JImOP/MfomkPOhvQ
==
version "17.0.2
7
"
resolved "https://nexus.dev.evologica.com.br/repository/npm/@types/react/-/react-17.0.2
7.tgz#6498ed9b3ad117e818deb5525fa1946c09f2e0e6
"
integrity sha512-
zgiJwtsggVGtr53MndV7jfiUESTqrbxOcBvwfe6KS/9bzaVPCTDieTWnFNecVNx6EAaapg5xsLLWFfHHR437AA
==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
...
...
@@ -3897,7 +3897,7 @@ eslint-visitor-keys@^2.0.0:
resolved "https://nexus.dev.evologica.com.br/repository/npm/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
eslint@^7.
27
.0:
eslint@^7.
0
.0:
version "7.32.0"
resolved "https://nexus.dev.evologica.com.br/repository/npm/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d"
integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment