@flozy/editor 4.8.9 → 4.9.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/dist/Editor/CommonEditor.js +2 -1
- package/dist/Editor/Editor.css +3 -3
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +1 -1
- package/dist/Editor/Elements/Color Picker/Styles.js +5 -1
- package/dist/Editor/Elements/Grid/GridButton.js +2 -1
- package/dist/Editor/Elements/Grid/GridItem.js +4 -3
- package/dist/Editor/Elements/Grid/Styles.js +10 -0
- package/dist/Editor/Elements/Grid/templates/default_grid.js +4 -4
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -2
- package/dist/Editor/Elements/Signature/SignaturePopup.js +10 -46
- package/dist/Editor/Toolbar/FormatTools/BlockButton.js +7 -0
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +5 -11
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +8 -4
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +0 -2
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +3 -6
- package/dist/Editor/Toolbar/Mini/Styles.js +4 -1
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +6 -9
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +265 -40
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +12 -5
- package/dist/Editor/common/Icon.js +13 -18
- package/dist/Editor/common/MentionsPopup/Styles.js +135 -1
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +11 -2
- package/dist/Editor/common/iconListV2.js +304 -19
- package/dist/Editor/commonStyle.js +109 -8
- package/dist/Editor/utils/gridItem.js +8 -4
- package/package.json +1 -1
|
@@ -579,8 +579,9 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
579
579
|
setIsTextSelected: setIsTextSelected,
|
|
580
580
|
customProps: customProps,
|
|
581
581
|
editorWrapper: editorWrapper
|
|
582
|
-
}) : null, !readOnly
|
|
582
|
+
}) : null, !readOnly ? /*#__PURE__*/_jsx(SwitchViewport, {
|
|
583
583
|
breakpoint: breakpoint,
|
|
584
|
+
show: showViewport,
|
|
584
585
|
onChange: b => onSwitchBreakpoint(b)
|
|
585
586
|
}) : null]
|
|
586
587
|
})
|
package/dist/Editor/Editor.css
CHANGED
|
@@ -351,7 +351,7 @@ blockquote {
|
|
|
351
351
|
height: 100%;
|
|
352
352
|
width: 100%;
|
|
353
353
|
border: 1px solid #2563EB;
|
|
354
|
-
border-radius:
|
|
354
|
+
border-radius: 7px;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
.activeBrush svg {
|
|
@@ -383,7 +383,7 @@ blockquote {
|
|
|
383
383
|
|
|
384
384
|
.dialog-actions-si .MuiButtonBase-root {
|
|
385
385
|
opacity: 1;
|
|
386
|
-
padding:
|
|
386
|
+
padding: 0px 5px 0px 2px !important
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
.signature-tab {
|
|
@@ -846,7 +846,7 @@ blockquote {
|
|
|
846
846
|
|
|
847
847
|
.dialogComp .MuiInputBase-input {
|
|
848
848
|
border-radius: 8px;
|
|
849
|
-
box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.05);
|
|
849
|
+
/* box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.05); */
|
|
850
850
|
font-size: 12px;
|
|
851
851
|
font-weight: 500;
|
|
852
852
|
}
|
|
@@ -14,8 +14,12 @@ const ColorPickerStyles = theme => ({
|
|
|
14
14
|
},
|
|
15
15
|
colorPopper: {
|
|
16
16
|
marginTop: "20px",
|
|
17
|
+
borderRadius: "7px !important",
|
|
17
18
|
"& .MuiPaper-root": {
|
|
18
|
-
backgroundColor: theme?.palette?.editor?.
|
|
19
|
+
backgroundColor: `${theme?.palette?.editor?.miniToolBarBackground} !important`,
|
|
20
|
+
border: `1px solid ${theme?.palette?.editor?.miniToolBarBorder} !important`,
|
|
21
|
+
borderRadius: "7px !important",
|
|
22
|
+
padding: "0px 5px",
|
|
19
23
|
'@media only screen and (max-width: 600px)': {
|
|
20
24
|
marginTop: "-40px"
|
|
21
25
|
}
|
|
@@ -4,6 +4,7 @@ import { insertGrid, insertPlainGrid } from "../../utils/grid";
|
|
|
4
4
|
import { GridIcon } from "../../common/iconslist";
|
|
5
5
|
import ToolbarIcon from "../../common/ToolbarIcon";
|
|
6
6
|
import GridStyles from "./Styles";
|
|
7
|
+
import { GridElement } from "../../common/iconListV2";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -46,7 +47,7 @@ const GridButton = props => {
|
|
|
46
47
|
children: [/*#__PURE__*/_jsx(ToolbarIcon, {
|
|
47
48
|
title: "Column",
|
|
48
49
|
onClick: onButtonClick,
|
|
49
|
-
icon: /*#__PURE__*/_jsx(
|
|
50
|
+
icon: /*#__PURE__*/_jsx(GridElement, {}),
|
|
50
51
|
icoBtnType: icoBtnType
|
|
51
52
|
}), /*#__PURE__*/_jsxs(Dialog, {
|
|
52
53
|
open: open,
|
|
@@ -315,7 +315,8 @@ const GridItem = props => {
|
|
|
315
315
|
...giInProps,
|
|
316
316
|
width: "100%",
|
|
317
317
|
height: "100%",
|
|
318
|
-
color
|
|
318
|
+
// dark theme default color effect - FS-6961
|
|
319
|
+
color: textColor || "inherit",
|
|
319
320
|
"&:hover": {
|
|
320
321
|
borderColor: borderColorHover || borderColor || "transparent"
|
|
321
322
|
}
|
|
@@ -328,12 +329,12 @@ const GridItem = props => {
|
|
|
328
329
|
onClose: onClose,
|
|
329
330
|
onDelete: onDelete,
|
|
330
331
|
customProps: customProps
|
|
331
|
-
}) : null, /*#__PURE__*/_jsx(Resizer, {
|
|
332
|
+
}) : null, !readOnly ? /*#__PURE__*/_jsx(Resizer, {
|
|
332
333
|
classes: classes,
|
|
333
334
|
className: resizing ? "resizing" : "",
|
|
334
335
|
onMouseDown: onMouseDown,
|
|
335
336
|
height: "auto"
|
|
336
|
-
})]
|
|
337
|
+
}) : null]
|
|
337
338
|
});
|
|
338
339
|
};
|
|
339
340
|
export default GridItem;
|
|
@@ -38,14 +38,24 @@ const GridStyles = theme => ({
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
flex: "1 1 0",
|
|
41
|
+
height: "100%",
|
|
41
42
|
[theme?.breakpoints?.between("xs", "md")]: {
|
|
42
43
|
flex: "1 1 100%",
|
|
44
|
+
height: "auto",
|
|
43
45
|
padding: "0px !important",
|
|
44
46
|
minWidth: "100% !important",
|
|
45
47
|
maxWidth: "100% !important",
|
|
46
48
|
"& .col-width-resizer": {
|
|
47
49
|
display: "none !important"
|
|
48
50
|
}
|
|
51
|
+
},
|
|
52
|
+
"& .gi-inner-cw": {
|
|
53
|
+
overflowX: "auto",
|
|
54
|
+
"& .tableToolBar": {
|
|
55
|
+
display: "flex",
|
|
56
|
+
maxWidth: "100%",
|
|
57
|
+
overflowX: "auto"
|
|
58
|
+
}
|
|
49
59
|
}
|
|
50
60
|
},
|
|
51
61
|
"& .col-width-resizer": {
|
|
@@ -14,10 +14,10 @@ const default_grid = [{
|
|
|
14
14
|
bgColor: "rgba(255, 255, 255, 0)",
|
|
15
15
|
lockSpacing: true,
|
|
16
16
|
bannerSpacing: {
|
|
17
|
-
top: "
|
|
17
|
+
top: "8",
|
|
18
18
|
left: "0",
|
|
19
19
|
right: "0",
|
|
20
|
-
bottom: "
|
|
20
|
+
bottom: "16"
|
|
21
21
|
},
|
|
22
22
|
alignment: {
|
|
23
23
|
horizantal: "center"
|
|
@@ -36,10 +36,10 @@ const default_grid = [{
|
|
|
36
36
|
bgColor: "rgba(255, 255, 255, 0)",
|
|
37
37
|
lockSpacing: true,
|
|
38
38
|
bannerSpacing: {
|
|
39
|
-
top: "
|
|
39
|
+
top: "8",
|
|
40
40
|
left: "0",
|
|
41
41
|
right: "0",
|
|
42
|
-
bottom: "
|
|
42
|
+
bottom: "16"
|
|
43
43
|
},
|
|
44
44
|
forceFullWidth: true,
|
|
45
45
|
borderWidth: "0px"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import { signedTextFonts } from "../../../utils/font";
|
|
3
3
|
import { Grid, Button, TextField, InputAdornment, IconButton, Typography } from "@mui/material";
|
|
4
|
-
import
|
|
4
|
+
import ClearRoundedIcon from '@mui/icons-material/ClearRounded';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
const TypeSignature = props => {
|
|
@@ -73,7 +73,7 @@ const TypeSignature = props => {
|
|
|
73
73
|
position: "end",
|
|
74
74
|
children: /*#__PURE__*/_jsx(IconButton, {
|
|
75
75
|
onClick: () => setName(""),
|
|
76
|
-
children: /*#__PURE__*/_jsx(
|
|
76
|
+
children: /*#__PURE__*/_jsx(ClearRoundedIcon, {})
|
|
77
77
|
})
|
|
78
78
|
})
|
|
79
79
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import { Dialog, DialogTitle, DialogContent, DialogActions, Button, IconButton, Grid, TextField, Typography, Tabs, Tab, InputAdornment, Box } from "@mui/material";
|
|
3
|
-
import
|
|
3
|
+
import CloseRoundedIcon from "@mui/icons-material/CloseRounded";
|
|
4
4
|
import DatePicker from "react-datepicker";
|
|
5
5
|
import "react-datepicker/dist/react-datepicker.css";
|
|
6
6
|
import SignatureOptions from "./SignatureOptions";
|
|
@@ -158,7 +158,7 @@ const SignaturePopup = props => {
|
|
|
158
158
|
sx: {
|
|
159
159
|
borderRadius: "8px",
|
|
160
160
|
boxShadow: "0px 4px 10px 0px #00000029",
|
|
161
|
-
maxWidth: "
|
|
161
|
+
maxWidth: "530px"
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
sx: classes.signaturePopup,
|
|
@@ -200,7 +200,7 @@ const SignaturePopup = props => {
|
|
|
200
200
|
children: /*#__PURE__*/_jsx(IconButton, {
|
|
201
201
|
onClick: handleClose,
|
|
202
202
|
className: "close-popupbtn",
|
|
203
|
-
children: /*#__PURE__*/_jsx(
|
|
203
|
+
children: /*#__PURE__*/_jsx(CloseRoundedIcon, {})
|
|
204
204
|
})
|
|
205
205
|
})]
|
|
206
206
|
})
|
|
@@ -316,25 +316,7 @@ const SignaturePopup = props => {
|
|
|
316
316
|
defaultValue: defaultName || "",
|
|
317
317
|
size: "small",
|
|
318
318
|
onChange: onChange,
|
|
319
|
-
sx:
|
|
320
|
-
"& .MuiOutlinedInput-root": {
|
|
321
|
-
borderRadius: "10px",
|
|
322
|
-
"& fieldset": {
|
|
323
|
-
border: "1px solid #D8DDE1"
|
|
324
|
-
}
|
|
325
|
-
// '&:hover fieldset': {
|
|
326
|
-
// borderColor: 'yourHoverColor',
|
|
327
|
-
// },
|
|
328
|
-
// '&.Mui-focused fieldset': {
|
|
329
|
-
// borderColor: 'yourFocusedColor',
|
|
330
|
-
// },
|
|
331
|
-
},
|
|
332
|
-
|
|
333
|
-
"& .MuiInputBase-input::placeholder": {
|
|
334
|
-
fontFamily: '"Inter", sans-serif"',
|
|
335
|
-
fontSize: "14px"
|
|
336
|
-
}
|
|
337
|
-
}
|
|
319
|
+
sx: classes.signaturePopUpNameField
|
|
338
320
|
})
|
|
339
321
|
})]
|
|
340
322
|
}), /*#__PURE__*/_jsxs(Grid, {
|
|
@@ -459,25 +441,7 @@ const SignaturePopup = props => {
|
|
|
459
441
|
placeholder: "Enter Email",
|
|
460
442
|
size: "small",
|
|
461
443
|
onChange: onChange,
|
|
462
|
-
sx:
|
|
463
|
-
"& .MuiOutlinedInput-root": {
|
|
464
|
-
borderRadius: "10px",
|
|
465
|
-
"& fieldset": {
|
|
466
|
-
border: "1px solid #D8DDE1"
|
|
467
|
-
}
|
|
468
|
-
// '&:hover fieldset': {
|
|
469
|
-
// borderColor: 'yourHoverColor',
|
|
470
|
-
// },
|
|
471
|
-
// '&.Mui-focused fieldset': {
|
|
472
|
-
// borderColor: 'yourFocusedColor',
|
|
473
|
-
// },
|
|
474
|
-
},
|
|
475
|
-
|
|
476
|
-
"& .MuiInputBase-input::placeholder": {
|
|
477
|
-
fontFamily: '"Inter", sans-serif"',
|
|
478
|
-
fontSize: "14px"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
444
|
+
sx: classes.signaturePopUpNameField,
|
|
481
445
|
defaultValue: defaultEmail || ""
|
|
482
446
|
})
|
|
483
447
|
})]
|
|
@@ -530,13 +494,13 @@ const SignaturePopup = props => {
|
|
|
530
494
|
className: brush.size === m ? "activeBrush" : "",
|
|
531
495
|
children: /*#__PURE__*/_jsx("span", {
|
|
532
496
|
style: {
|
|
533
|
-
width:
|
|
534
|
-
height:
|
|
497
|
+
width: 17 + m,
|
|
498
|
+
height: 17 + m
|
|
535
499
|
},
|
|
536
500
|
children: /*#__PURE__*/_jsx(PencilIcon, {
|
|
537
501
|
style: {
|
|
538
|
-
width:
|
|
539
|
-
height:
|
|
502
|
+
width: 17 + m,
|
|
503
|
+
height: 17 + m
|
|
540
504
|
}
|
|
541
505
|
})
|
|
542
506
|
})
|
|
@@ -547,7 +511,7 @@ const SignaturePopup = props => {
|
|
|
547
511
|
}) : null, /*#__PURE__*/_jsxs(_Fragment, {
|
|
548
512
|
children: [!readOnly ? /*#__PURE__*/_jsx(Button, {
|
|
549
513
|
onClick: handleClear,
|
|
550
|
-
className:
|
|
514
|
+
className: `secondaryBtn actionBtn deleteBtn deleteButtonSignature`,
|
|
551
515
|
children: "Delete"
|
|
552
516
|
}) : null, /*#__PURE__*/_jsx(Button, {
|
|
553
517
|
onClick: handleSave,
|
|
@@ -2,6 +2,8 @@ import React from "react";
|
|
|
2
2
|
import Icon from "../../common/Icon";
|
|
3
3
|
import Button from "../../common/Button";
|
|
4
4
|
import { toggleBlock, isBlockActive, isMarkActive, toggleMark } from "../../utils/SlateUtilityFunctions.js";
|
|
5
|
+
import usePopupStyle from "../PopupTool/PopupToolStyle";
|
|
6
|
+
import { useEditorContext } from "../../hooks/useMouseMove";
|
|
5
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
8
|
const MARK_TYPES = ["doublequote"];
|
|
7
9
|
const BlockButton = props => {
|
|
@@ -12,6 +14,10 @@ const BlockButton = props => {
|
|
|
12
14
|
} = props;
|
|
13
15
|
const isMark = MARK_TYPES?.indexOf(format) >= 0;
|
|
14
16
|
const isActive = isMark ? isMarkActive(editor, format) : isBlockActive(editor, format);
|
|
17
|
+
const {
|
|
18
|
+
theme
|
|
19
|
+
} = useEditorContext();
|
|
20
|
+
const classes = usePopupStyle(theme);
|
|
15
21
|
return /*#__PURE__*/_jsx(Button, {
|
|
16
22
|
active: isActive,
|
|
17
23
|
format: format,
|
|
@@ -24,6 +30,7 @@ const BlockButton = props => {
|
|
|
24
30
|
}
|
|
25
31
|
},
|
|
26
32
|
title: title,
|
|
33
|
+
sx: classes.textAlignButtons,
|
|
27
34
|
children: /*#__PURE__*/_jsx(Icon, {
|
|
28
35
|
icon: format
|
|
29
36
|
})
|
|
@@ -23,23 +23,17 @@ const Dropdown = ({
|
|
|
23
23
|
value: value,
|
|
24
24
|
className: "editor-dd",
|
|
25
25
|
onChange: e => changeMarkData(e, format),
|
|
26
|
-
style: {
|
|
27
|
-
fontFamily: fontFamilyMap[value],
|
|
28
|
-
width: width || "100%",
|
|
29
|
-
height: "36px",
|
|
30
|
-
borderRadius: "10px",
|
|
31
|
-
fontSize: "12px"
|
|
32
|
-
},
|
|
33
26
|
MenuProps: {
|
|
34
27
|
PaperProps: {
|
|
35
28
|
sx: classes?.textOptions
|
|
36
29
|
}
|
|
37
30
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
31
|
+
sx: classes.textFormatSelect,
|
|
32
|
+
children: options.map((item, index) => /*#__PURE__*/_jsx(MenuItem
|
|
33
|
+
// style={{ fontFamily: item.text }}
|
|
34
|
+
, {
|
|
42
35
|
value: item.value,
|
|
36
|
+
sx: classes.textFormatSelectOptions,
|
|
43
37
|
children: item.text
|
|
44
38
|
}, index))
|
|
45
39
|
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Autocomplete, TextField } from "@mui/material";
|
|
3
3
|
import { activeMark, addMarkData } from "../../utils/SlateUtilityFunctions.js";
|
|
4
|
+
import usePopupStyle from "../PopupTool/PopupToolStyle.js";
|
|
5
|
+
import { useEditorContext } from "../../hooks/useMouseMove.js";
|
|
4
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
7
|
const FontFamilyAutocomplete = ({
|
|
6
8
|
editor,
|
|
@@ -27,17 +29,19 @@ const FontFamilyAutocomplete = ({
|
|
|
27
29
|
});
|
|
28
30
|
}
|
|
29
31
|
};
|
|
32
|
+
const {
|
|
33
|
+
theme
|
|
34
|
+
} = useEditorContext();
|
|
35
|
+
const classes = usePopupStyle(theme);
|
|
30
36
|
return /*#__PURE__*/_jsx(Autocomplete, {
|
|
31
37
|
size: "small",
|
|
32
38
|
style: {
|
|
33
39
|
fontFamily: `${value || ""}`,
|
|
34
|
-
width: width || "100%"
|
|
35
|
-
height: "36px",
|
|
36
|
-
borderRadius: "10px",
|
|
37
|
-
fontSize: "14px"
|
|
40
|
+
width: width || "100%"
|
|
38
41
|
},
|
|
39
42
|
value: value || options?.[0],
|
|
40
43
|
className: "editor-dd",
|
|
44
|
+
sx: classes.autoCompleteaFontFamily,
|
|
41
45
|
onChange: (e, newValue) => changeMarkData(e, newValue, format),
|
|
42
46
|
getOptionLabel: option => {
|
|
43
47
|
return option;
|
|
@@ -19,9 +19,9 @@ const POPUP_TYPES = {
|
|
|
19
19
|
addTemplate: AddTemplates
|
|
20
20
|
};
|
|
21
21
|
const POPUP_OFFSETS = {
|
|
22
|
-
textFormat: [
|
|
23
|
-
addElement: [
|
|
24
|
-
addTemplate: [
|
|
22
|
+
textFormat: [75, 5],
|
|
23
|
+
addElement: [40, 5],
|
|
24
|
+
addTemplate: [10, 5]
|
|
25
25
|
};
|
|
26
26
|
const FULLSCREEN_POPUP = {
|
|
27
27
|
addTemplate: true
|
|
@@ -180,9 +180,6 @@ const MiniToolbar = props => {
|
|
|
180
180
|
}],
|
|
181
181
|
children: PopupComponent ? /*#__PURE__*/_jsxs(Paper, {
|
|
182
182
|
className: "papper-wrpr",
|
|
183
|
-
style: {
|
|
184
|
-
borderRadius: "10px"
|
|
185
|
-
},
|
|
186
183
|
children: [/*#__PURE__*/_jsx(PopperHeader, {
|
|
187
184
|
title: POPUP_TITLE[popper],
|
|
188
185
|
classes: popupStyles,
|
|
@@ -39,7 +39,10 @@ const miniToolbarStyles = theme => ({
|
|
|
39
39
|
},
|
|
40
40
|
"&.active": {
|
|
41
41
|
"& svg": {
|
|
42
|
-
stroke: theme?.palette?.editor?.activeColor
|
|
42
|
+
stroke: theme?.palette?.editor?.activeColor,
|
|
43
|
+
"& path": {
|
|
44
|
+
stroke: theme?.palette?.editor?.activeColor
|
|
45
|
+
}
|
|
43
46
|
}
|
|
44
47
|
},
|
|
45
48
|
"&.activeUndo": {
|
|
@@ -4,6 +4,7 @@ import CloseIcon from "@mui/icons-material/Close";
|
|
|
4
4
|
import OpenInFullIcon from "@mui/icons-material/OpenInFull";
|
|
5
5
|
import CloseFullscreenIcon from "@mui/icons-material/CloseFullscreen";
|
|
6
6
|
import Icon from "../../common/Icon";
|
|
7
|
+
import { ToggleFullScreenIcon } from "../../common/iconListV2";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
10
|
const SearchBox = props => {
|
|
@@ -39,18 +40,14 @@ const PopperHeader = props => {
|
|
|
39
40
|
padding: 2,
|
|
40
41
|
className: "headerContainer",
|
|
41
42
|
style: {
|
|
42
|
-
paddingTop: "
|
|
43
|
+
paddingTop: "5px"
|
|
43
44
|
},
|
|
44
45
|
children: /*#__PURE__*/_jsxs(Grid, {
|
|
45
46
|
item: true,
|
|
46
47
|
xs: 12,
|
|
47
|
-
style: {
|
|
48
|
-
display: "flex",
|
|
49
|
-
borderBottom: "1px solid #DCE4EC"
|
|
50
|
-
},
|
|
51
48
|
justifyContent: "space-between",
|
|
52
49
|
alignItems: "center",
|
|
53
|
-
|
|
50
|
+
sx: classes.textSettingHeader,
|
|
54
51
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
55
52
|
color: "primary",
|
|
56
53
|
sx: {
|
|
@@ -83,11 +80,11 @@ const PopperHeader = props => {
|
|
|
83
80
|
children: /*#__PURE__*/_jsx(IconButton, {
|
|
84
81
|
style: {
|
|
85
82
|
marginRight: "8px",
|
|
86
|
-
marginLeft: "
|
|
83
|
+
marginLeft: "4px"
|
|
87
84
|
},
|
|
88
|
-
className: "close-popupbtn",
|
|
85
|
+
className: "close-popupbtn toogleFullScreenBtn",
|
|
89
86
|
onClick: toggleFullscreen,
|
|
90
|
-
children: fullScreen ? /*#__PURE__*/_jsx(CloseFullscreenIcon, {}) : /*#__PURE__*/_jsx(
|
|
87
|
+
children: fullScreen ? /*#__PURE__*/_jsx(CloseFullscreenIcon, {}) : /*#__PURE__*/_jsx(ToggleFullScreenIcon, {})
|
|
91
88
|
})
|
|
92
89
|
}) : null, /*#__PURE__*/_jsx(Tooltip, {
|
|
93
90
|
title: "Close",
|