@sis-cc/dotstatsuite-visions 6.5.0 → 6.5.1
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/es/AuthDialog/index.js +23 -7
- package/lib/AuthDialog/index.js +23 -13
- package/package.json +1 -1
package/es/AuthDialog/index.js
CHANGED
|
@@ -28,9 +28,7 @@ import Button from '../Button';
|
|
|
28
28
|
import Checkbox from '@material-ui/core/Checkbox';
|
|
29
29
|
import CloseIcon from '@material-ui/icons/Close';
|
|
30
30
|
import Dialog from '@material-ui/core/Dialog';
|
|
31
|
-
import MuiDialogTitle from '@material-ui/core/DialogTitle';
|
|
32
31
|
import IconButton from '@material-ui/core/IconButton';
|
|
33
|
-
import Input from '@material-ui/core/Input';
|
|
34
32
|
import PersonIcon from '@material-ui/icons/Person';
|
|
35
33
|
import TextField from '@material-ui/core/TextField';
|
|
36
34
|
import Typography from '@material-ui/core/Typography';
|
|
@@ -132,20 +130,38 @@ var AuthDialog = function AuthDialog(_ref) {
|
|
|
132
130
|
)
|
|
133
131
|
),
|
|
134
132
|
React.createElement(
|
|
135
|
-
'
|
|
133
|
+
'form',
|
|
136
134
|
{ className: classes.content },
|
|
137
|
-
|
|
135
|
+
React.createElement(
|
|
136
|
+
'label',
|
|
137
|
+
{ htmlFor: 'login' },
|
|
138
|
+
labels.user
|
|
139
|
+
),
|
|
138
140
|
React.createElement(TextField, {
|
|
139
|
-
inputProps: {
|
|
141
|
+
inputProps: {
|
|
142
|
+
className: classes.input,
|
|
143
|
+
id: 'login',
|
|
144
|
+
autoComplete: 'username',
|
|
145
|
+
name: 'username'
|
|
146
|
+
},
|
|
140
147
|
value: user,
|
|
141
148
|
onChange: function onChange(e) {
|
|
142
149
|
return setUser(e.target.value);
|
|
143
150
|
},
|
|
144
151
|
disabled: isAnonymous
|
|
145
152
|
}),
|
|
146
|
-
|
|
153
|
+
React.createElement(
|
|
154
|
+
'label',
|
|
155
|
+
{ htmlFor: 'password' },
|
|
156
|
+
labels.password
|
|
157
|
+
),
|
|
147
158
|
React.createElement(TextField, {
|
|
148
|
-
inputProps: {
|
|
159
|
+
inputProps: {
|
|
160
|
+
className: classes.input,
|
|
161
|
+
id: 'password',
|
|
162
|
+
autoComplete: 'current-password',
|
|
163
|
+
name: 'password'
|
|
164
|
+
},
|
|
149
165
|
value: password,
|
|
150
166
|
onChange: function onChange(e) {
|
|
151
167
|
return setPassword(e.target.value);
|
package/lib/AuthDialog/index.js
CHANGED
|
@@ -28,18 +28,10 @@ var _Dialog = require('@material-ui/core/Dialog');
|
|
|
28
28
|
|
|
29
29
|
var _Dialog2 = _interopRequireDefault(_Dialog);
|
|
30
30
|
|
|
31
|
-
var _DialogTitle = require('@material-ui/core/DialogTitle');
|
|
32
|
-
|
|
33
|
-
var _DialogTitle2 = _interopRequireDefault(_DialogTitle);
|
|
34
|
-
|
|
35
31
|
var _IconButton = require('@material-ui/core/IconButton');
|
|
36
32
|
|
|
37
33
|
var _IconButton2 = _interopRequireDefault(_IconButton);
|
|
38
34
|
|
|
39
|
-
var _Input = require('@material-ui/core/Input');
|
|
40
|
-
|
|
41
|
-
var _Input2 = _interopRequireDefault(_Input);
|
|
42
|
-
|
|
43
35
|
var _Person = require('@material-ui/icons/Person');
|
|
44
36
|
|
|
45
37
|
var _Person2 = _interopRequireDefault(_Person);
|
|
@@ -175,20 +167,38 @@ var AuthDialog = function AuthDialog(_ref) {
|
|
|
175
167
|
)
|
|
176
168
|
),
|
|
177
169
|
_react2.default.createElement(
|
|
178
|
-
'
|
|
170
|
+
'form',
|
|
179
171
|
{ className: classes.content },
|
|
180
|
-
|
|
172
|
+
_react2.default.createElement(
|
|
173
|
+
'label',
|
|
174
|
+
{ htmlFor: 'login' },
|
|
175
|
+
labels.user
|
|
176
|
+
),
|
|
181
177
|
_react2.default.createElement(_TextField2.default, {
|
|
182
|
-
inputProps: {
|
|
178
|
+
inputProps: {
|
|
179
|
+
className: classes.input,
|
|
180
|
+
id: 'login',
|
|
181
|
+
autoComplete: 'username',
|
|
182
|
+
name: 'username'
|
|
183
|
+
},
|
|
183
184
|
value: user,
|
|
184
185
|
onChange: function onChange(e) {
|
|
185
186
|
return setUser(e.target.value);
|
|
186
187
|
},
|
|
187
188
|
disabled: isAnonymous
|
|
188
189
|
}),
|
|
189
|
-
|
|
190
|
+
_react2.default.createElement(
|
|
191
|
+
'label',
|
|
192
|
+
{ htmlFor: 'password' },
|
|
193
|
+
labels.password
|
|
194
|
+
),
|
|
190
195
|
_react2.default.createElement(_TextField2.default, {
|
|
191
|
-
inputProps: {
|
|
196
|
+
inputProps: {
|
|
197
|
+
className: classes.input,
|
|
198
|
+
id: 'password',
|
|
199
|
+
autoComplete: 'current-password',
|
|
200
|
+
name: 'password'
|
|
201
|
+
},
|
|
192
202
|
value: password,
|
|
193
203
|
onChange: function onChange(e) {
|
|
194
204
|
return setPassword(e.target.value);
|