argous 1.2.225 → 1.2.226
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.
|
@@ -213,6 +213,6 @@ var Input = function () {
|
|
|
213
213
|
react_1.default.createElement(PrivacySelection_1.default, { disabled: loading.save, value: privacyType, onChange: function (event) { return setPrivacyType(event.target.value); } })))),
|
|
214
214
|
react_1.default.createElement("div", { className: classes.buttonsDiv },
|
|
215
215
|
(replying) && (react_1.default.createElement(core_1.Button, { color: 'default', variant: 'contained', size: 'small', onClick: cancelReply }, "Cancelar")),
|
|
216
|
-
react_1.default.createElement(core_1.Button, { color: 'primary', variant: 'contained', size: 'small', disabled: !text.length || loading.save, onClick: saveAnnotation, style: { width: (replying) ? 97.13 : 72.45 } }, (loading.save) ? react_1.default.createElement(core_1.CircularProgress, { color: 'primary', size: 22 }) : (replying) ? 'Responder' : 'Anotar')));
|
|
216
|
+
react_1.default.createElement(core_1.Button, { color: 'primary', variant: 'contained', size: 'small', disabled: !text.length || loading.save || loading.file, onClick: saveAnnotation, style: { width: (replying) ? 97.13 : 72.45 } }, (loading.save) ? react_1.default.createElement(core_1.CircularProgress, { color: 'primary', size: 22 }) : (replying) ? 'Responder' : 'Anotar')));
|
|
217
217
|
};
|
|
218
218
|
exports.default = Input;
|
|
@@ -179,7 +179,7 @@ var Annotations = function (_a) {
|
|
|
179
179
|
handleDialogClose: handleDialogClose,
|
|
180
180
|
dispatch: dispatch })); }, [code, pgTitle, annotationParameters, openAnnotationParameters, loggedUser, state, handleDialogClose, dispatch]);
|
|
181
181
|
return react_1.default.createElement(exports.AnnotationsContext.Provider, { value: contextValues },
|
|
182
|
-
react_1.default.createElement(core_1.Dialog, __assign({}, { open: open }, { maxWidth: 'lg', disableRestoreFocus: true, disableEnforceFocus: true, ref: dialogRef, onClose: handleDialogClose }),
|
|
182
|
+
react_1.default.createElement(core_1.Dialog, __assign({}, { open: open }, { fullWidth: true, maxWidth: 'lg', disableRestoreFocus: true, disableEnforceFocus: true, ref: dialogRef, onClose: handleDialogClose }),
|
|
183
183
|
react_1.default.createElement("div", { className: classes.dialogContainer },
|
|
184
184
|
react_1.default.createElement("div", { className: classes.dialogHeader },
|
|
185
185
|
react_1.default.createElement(core_1.Typography, { variant: 'h6' },
|
|
@@ -176,7 +176,7 @@ const Input = () => {
|
|
|
176
176
|
color='primary'
|
|
177
177
|
variant='contained'
|
|
178
178
|
size='small'
|
|
179
|
-
disabled={!text.length || loading.save}
|
|
179
|
+
disabled={!text.length || loading.save || loading.file}
|
|
180
180
|
onClick={saveAnnotation}
|
|
181
181
|
style={{ width: (replying) ? 97.13 : 72.45 }}
|
|
182
182
|
>
|
|
@@ -114,7 +114,7 @@ const Annotations = ({ open, proceed, onClose, code, pgTitle, annotationParamete
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
return <AnnotationsContext.Provider value={contextValues}>
|
|
117
|
-
<Dialog {...{ open }} maxWidth='lg' disableRestoreFocus disableEnforceFocus ref={dialogRef} onClose={handleDialogClose}>
|
|
117
|
+
<Dialog {...{ open }} fullWidth maxWidth='lg' disableRestoreFocus disableEnforceFocus ref={dialogRef} onClose={handleDialogClose}>
|
|
118
118
|
<div className={classes.dialogContainer}>
|
|
119
119
|
<div className={classes.dialogHeader}>
|
|
120
120
|
<Typography variant='h6'>Anotações {pgTitle}</Typography>
|