@flozy/editor 10.2.0 → 10.2.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/ChatEditor.js +16 -17
- package/dist/Editor/CommonEditor.js +16 -120
- package/dist/Editor/DialogWrapper.js +25 -31
- package/dist/Editor/Editor.css +8 -46
- package/dist/Editor/Elements/AI/PopoverAIInput.js +3 -11
- package/dist/Editor/Elements/Accordion/Accordion.js +2 -6
- package/dist/Editor/Elements/AppHeader/AppHeader.js +3 -3
- package/dist/Editor/Elements/Button/EditorButton.js +9 -25
- package/dist/Editor/Elements/Carousel/CarouselItem.js +1 -2
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +14 -61
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +1 -25
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +7 -10
- package/dist/Editor/Elements/Color Picker/Styles.js +13 -15
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +2 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +6 -21
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +1 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +0 -11
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +4 -8
- package/dist/Editor/Elements/Embed/Image.js +2 -3
- package/dist/Editor/Elements/Embed/Video.js +1 -1
- package/dist/Editor/Elements/EmbedScript/Code.js +2 -14
- package/dist/Editor/Elements/EmbedScript/EmbedScriptPopup.js +28 -57
- package/dist/Editor/Elements/Form/Form.js +168 -181
- package/dist/Editor/Elements/Form/FormElements/FormText.js +6 -23
- package/dist/Editor/Elements/Form/FormElements/FormTextArea.js +2 -3
- package/dist/Editor/Elements/Form/FormField.js +6 -13
- package/dist/Editor/Elements/Form/Workflow/Styles.js +22 -24
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +31 -36
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +4 -7
- package/dist/Editor/Elements/FreeGrid/Options/More.js +8 -8
- package/dist/Editor/Elements/FreeGrid/styles.js +7 -67
- package/dist/Editor/Elements/Grid/Grid.js +2 -14
- package/dist/Editor/Elements/Grid/GridItem.js +1 -1
- package/dist/Editor/Elements/List/CheckList.js +2 -3
- package/dist/Editor/Elements/Search/SearchAttachment.js +9 -40
- package/dist/Editor/Elements/Search/SearchButton.js +8 -9
- package/dist/Editor/Elements/Search/SearchList.js +7 -9
- package/dist/Editor/Elements/Signature/Signature.css +1 -2
- package/dist/Editor/Elements/Signature/SignatureOptions/DrawSignature.js +5 -18
- package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +3 -16
- package/dist/Editor/Elements/SimpleText/index.js +1 -6
- package/dist/Editor/Elements/SimpleText/style.js +2 -2
- package/dist/Editor/Elements/Table/DragButton.js +1 -0
- package/dist/Editor/Elements/Table/Draggable.js +2 -6
- package/dist/Editor/Elements/Table/Styles.js +0 -7
- package/dist/Editor/Elements/Table/Table.js +3 -3
- package/dist/Editor/Elements/Table/TableCell.js +5 -24
- package/dist/Editor/Elements/Title/title.js +6 -6
- package/dist/Editor/Elements/Variables/VariableButton.js +1 -10
- package/dist/Editor/MiniEditor.js +1 -2
- package/dist/Editor/Styles/EditorStyles.js +5 -5
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +3 -27
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +3 -4
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +2 -2
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +13 -10
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +1 -2
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/MiniColorPicker.js +2 -4
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +13 -6
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +42 -167
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +4 -7
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +1 -2
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +12 -72
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +27 -100
- package/dist/Editor/Toolbar/PopupTool/index.js +1 -1
- package/dist/Editor/Toolbar/toolbarGroups.js +6 -48
- package/dist/Editor/assets/svg/SettingsIcon.js +0 -1
- package/dist/Editor/common/ColorPickerButton.js +16 -38
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/FontLoader/FontLoader.js +0 -3
- package/dist/Editor/common/Icon.js +1 -31
- package/dist/Editor/common/ImageSelector/Styles.js +9 -3
- package/dist/Editor/common/LinkSettings/NavComponents.js +8 -34
- package/dist/Editor/common/LinkSettings/index.js +68 -84
- package/dist/Editor/common/LinkSettings/style.js +30 -245
- package/dist/Editor/common/RnD/ElementOptions/Actions.js +14 -13
- package/dist/Editor/common/RnD/ElementOptions/Icons/LinkIcon.js +0 -1
- package/dist/Editor/common/RnD/ElementOptions/index.js +2 -2
- package/dist/Editor/common/RnD/ElementOptions/styles.js +1 -28
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Settings.js +5 -6
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Signature.js +3 -4
- package/dist/Editor/common/RnD/ElementSettings/Settings/AppHeaderSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/BoxSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/ButtonSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/CodeSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +2 -4
- package/dist/Editor/common/RnD/ElementSettings/Settings/ImageSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TableSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TextSettings.js +1 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/VideoSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/styles.js +12 -147
- package/dist/Editor/common/RnD/OptionsPopup/index.js +5 -8
- package/dist/Editor/common/RnD/OptionsPopup/style.js +19 -121
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +5 -8
- package/dist/Editor/common/RnD/Theme/ViewportStimulator.js +3 -6
- package/dist/Editor/common/RnD/Utils/gridDropItem.js +19 -28
- package/dist/Editor/common/RnD/Utils/index.js +1 -3
- package/dist/Editor/common/RnD/VirtualElement/VirtualTextElement.js +54 -48
- package/dist/Editor/common/RnD/VirtualElement/helper.js +131 -143
- package/dist/Editor/common/RnD/VirtualElement/styles.js +0 -16
- package/dist/Editor/common/RnD/index.js +11 -6
- package/dist/Editor/common/Select/index.js +0 -2
- package/dist/Editor/common/Shorthands/elements.js +11 -65
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +2 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +0 -5
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +2 -12
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +7 -15
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +8 -16
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +10 -36
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +7 -16
- package/dist/Editor/common/StyleBuilder/fieldTypes/lineSpacing.js +6 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/menusArray.js +6 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +7 -15
- package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +7 -5
- package/dist/Editor/common/Uploader.js +0 -8
- package/dist/Editor/common/iconListV2.js +6 -156
- package/dist/Editor/common/iconslist.js +0 -24
- package/dist/Editor/commonStyle.js +62 -168
- package/dist/Editor/helper/index.js +0 -4
- package/dist/Editor/helper/theme.js +2 -203
- package/dist/Editor/hooks/useMouseMove.js +5 -8
- package/dist/Editor/hooks/useTable.js +4 -5
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +1 -3
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +173 -50
- package/dist/Editor/utils/SlateUtilityFunctions.js +45 -169
- package/dist/Editor/utils/accordion.js +4 -14
- package/dist/Editor/utils/button.js +17 -1
- package/dist/Editor/utils/customHooks/useTableResize.js +9 -49
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/events.js +6 -50
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/form.js +4 -4
- package/dist/Editor/utils/formfield.js +2 -8
- package/dist/Editor/utils/helper.js +19 -109
- package/dist/Editor/utils/signature.js +9 -2
- package/package.json +4 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +0 -454
- package/dist/Editor/Elements/EmbedScript/styles.js +0 -89
- package/dist/Editor/Elements/FreeGrid/helper.js +0 -113
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -439
- package/dist/Editor/assets/svg/BackIcon.js +0 -18
- package/dist/Editor/assets/svg/ClearAllRounded.js +0 -31
- package/dist/Editor/assets/svg/ResetIconNew.js +0 -23
- package/dist/Editor/assets/svg/ThemeIcons.js +0 -293
- package/dist/Editor/common/CustomColorPicker/index.js +0 -130
- package/dist/Editor/common/CustomColorPicker/style.js +0 -53
- package/dist/Editor/common/CustomDialog2/index.js +0 -94
- package/dist/Editor/common/CustomDialog2/style.js +0 -67
- package/dist/Editor/common/CustomSelect.js +0 -43
- package/dist/Editor/common/RnD/Theme/MainThemeProvider.js +0 -17
- package/dist/Editor/common/SnackBar/index.js +0 -43
- package/dist/Editor/helper/textIndeces.js +0 -58
- package/dist/Editor/hooks/useEditorTheme.js +0 -153
- package/dist/Editor/hooks/useThemeValues.js +0 -63
- package/dist/Editor/theme/index.js +0 -149
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -82
- package/dist/Editor/themeSettings/buttons/index.js +0 -300
- package/dist/Editor/themeSettings/buttons/style.js +0 -23
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -310
- package/dist/Editor/themeSettings/colorTheme/style.js +0 -81
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +0 -121
- package/dist/Editor/themeSettings/fonts/index.js +0 -240
- package/dist/Editor/themeSettings/fonts/style.js +0 -62
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -361
- package/dist/Editor/themeSettings/style.js +0 -299
- package/dist/Editor/themeSettingsAI/icons.js +0 -96
- package/dist/Editor/themeSettingsAI/index.js +0 -355
- package/dist/Editor/themeSettingsAI/saveTheme.js +0 -202
- package/dist/Editor/themeSettingsAI/style.js +0 -332
@@ -962,41 +962,6 @@ export function DragIcon() {
|
|
962
962
|
})]
|
963
963
|
});
|
964
964
|
}
|
965
|
-
export function ResizeIcon() {
|
966
|
-
return /*#__PURE__*/_jsxs("svg", {
|
967
|
-
width: "16",
|
968
|
-
height: "16",
|
969
|
-
viewBox: "0 0 16 16",
|
970
|
-
fill: "none",
|
971
|
-
xmlns: "http://www.w3.org/2000/svg",
|
972
|
-
children: [/*#__PURE__*/_jsx("rect", {
|
973
|
-
width: "16",
|
974
|
-
height: "16",
|
975
|
-
rx: "8",
|
976
|
-
fill: "#F8FAFC"
|
977
|
-
}), /*#__PURE__*/_jsx("rect", {
|
978
|
-
x: "0.5",
|
979
|
-
y: "0.5",
|
980
|
-
width: "15",
|
981
|
-
height: "15",
|
982
|
-
rx: "7.5",
|
983
|
-
stroke: "#2563EB",
|
984
|
-
strokeOpacity: "0.32"
|
985
|
-
}), /*#__PURE__*/_jsx("path", {
|
986
|
-
d: "M5.76758 6.44141L3.99981 8.20917L5.76758 9.97694",
|
987
|
-
stroke: "#94A3B8",
|
988
|
-
strokeWidth: "0.8",
|
989
|
-
strokeLinecap: "round",
|
990
|
-
strokeLinejoin: "round"
|
991
|
-
}), /*#__PURE__*/_jsx("path", {
|
992
|
-
d: "M10.2324 6.44141L12.0002 8.20917L10.2324 9.97694",
|
993
|
-
stroke: "#94A3B8",
|
994
|
-
strokeWidth: "0.8",
|
995
|
-
strokeLinecap: "round",
|
996
|
-
strokeLinejoin: "round"
|
997
|
-
})]
|
998
|
-
});
|
999
|
-
}
|
1000
965
|
export function LeftAlignTextFormat() {
|
1001
966
|
return /*#__PURE__*/_jsxs("svg", {
|
1002
967
|
width: "19",
|
@@ -1271,37 +1236,27 @@ export function ToggleFullScreenIcon() {
|
|
1271
1236
|
}
|
1272
1237
|
export function CodeElementIcon() {
|
1273
1238
|
return /*#__PURE__*/_jsxs("svg", {
|
1274
|
-
width: "
|
1275
|
-
height: "
|
1276
|
-
viewBox: "0 0
|
1239
|
+
width: "12",
|
1240
|
+
height: "9",
|
1241
|
+
viewBox: "0 0 12 9",
|
1277
1242
|
fill: "none",
|
1278
1243
|
xmlns: "http://www.w3.org/2000/svg",
|
1279
1244
|
className: "commonSvgStyle",
|
1280
1245
|
children: [/*#__PURE__*/_jsx("path", {
|
1281
|
-
d: "
|
1246
|
+
d: "M6.83331 1L4.83331 8",
|
1282
1247
|
stroke: "#64748B",
|
1283
|
-
strokeWidth: "1.5",
|
1284
1248
|
strokeMiterlimit: "10",
|
1285
1249
|
strokeLinecap: "round",
|
1286
1250
|
strokeLinejoin: "round"
|
1287
1251
|
}), /*#__PURE__*/_jsx("path", {
|
1288
|
-
d: "
|
1252
|
+
d: "M8.83331 2.32983L10.6666 4.32983L8.83331 6.32983",
|
1289
1253
|
stroke: "#64748B",
|
1290
|
-
strokeWidth: "1.5",
|
1291
1254
|
strokeMiterlimit: "10",
|
1292
1255
|
strokeLinecap: "round",
|
1293
1256
|
strokeLinejoin: "round"
|
1294
1257
|
}), /*#__PURE__*/_jsx("path", {
|
1295
|
-
d: "
|
1258
|
+
d: "M2.83333 2.32983L1 4.32983L2.83333 6.32983",
|
1296
1259
|
stroke: "#64748B",
|
1297
|
-
strokeWidth: "1.5",
|
1298
|
-
strokeMiterlimit: "10",
|
1299
|
-
strokeLinecap: "round",
|
1300
|
-
strokeLinejoin: "round"
|
1301
|
-
}), /*#__PURE__*/_jsx("path", {
|
1302
|
-
d: "M13 9.66992L11 14.33",
|
1303
|
-
stroke: "#64748B",
|
1304
|
-
strokeWidth: "1.5",
|
1305
1260
|
strokeMiterlimit: "10",
|
1306
1261
|
strokeLinecap: "round",
|
1307
1262
|
strokeLinejoin: "round"
|
@@ -1476,109 +1431,4 @@ export function SectionDragIcon() {
|
|
1476
1431
|
fill: "#94A3B8"
|
1477
1432
|
})]
|
1478
1433
|
});
|
1479
|
-
}
|
1480
|
-
export function PenIcon() {
|
1481
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1482
|
-
width: "17",
|
1483
|
-
height: "17",
|
1484
|
-
viewBox: "0 0 17 17",
|
1485
|
-
fill: "none",
|
1486
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1487
|
-
className: "commonSvgStyle",
|
1488
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1489
|
-
d: "M9.74898 3.14435L3.93357 9.29977C3.71398 9.53352 3.50148 9.99393 3.45898 10.3127L3.1969 12.6077C3.10482 13.4364 3.69982 14.0031 4.52148 13.8614L6.80232 13.4719C7.12107 13.4152 7.56732 13.1814 7.7869 12.9406L13.6023 6.78518C14.6081 5.72268 15.0615 4.51143 13.4961 3.03102C11.9377 1.56477 10.7548 2.08185 9.74898 3.14435Z",
|
1490
|
-
stroke: "#64748B",
|
1491
|
-
strokeWidth: "1.2",
|
1492
|
-
strokeMiterlimit: "10",
|
1493
|
-
strokeLinecap: "round",
|
1494
|
-
strokeLinejoin: "round"
|
1495
|
-
}), /*#__PURE__*/_jsx("path", {
|
1496
|
-
d: "M8.77734 4.17188C9.08193 6.12688 10.6686 7.62146 12.6378 7.81979",
|
1497
|
-
stroke: "#64748B",
|
1498
|
-
strokeWidth: "1.2",
|
1499
|
-
strokeMiterlimit: "10",
|
1500
|
-
strokeLinecap: "round",
|
1501
|
-
strokeLinejoin: "round"
|
1502
|
-
})]
|
1503
|
-
});
|
1504
|
-
}
|
1505
|
-
export function ResetIcon() {
|
1506
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1507
|
-
width: "24",
|
1508
|
-
height: "24",
|
1509
|
-
viewBox: "0 0 24 24",
|
1510
|
-
fill: "none",
|
1511
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1512
|
-
children: [/*#__PURE__*/_jsx("circle", {
|
1513
|
-
cx: "11.646",
|
1514
|
-
cy: "11.6452",
|
1515
|
-
r: "11.5",
|
1516
|
-
transform: "rotate(-89.2717 11.646 11.6452)",
|
1517
|
-
fill: "#2563EB",
|
1518
|
-
fillOpacity: "0.16"
|
1519
|
-
}), /*#__PURE__*/_jsx("path", {
|
1520
|
-
d: "M18.2814 11.8168V11.8168C18.2813 11.8313 18.2987 11.8387 18.3091 11.8287L19.2379 10.9273C19.6367 10.5404 20.247 10.5482 20.6358 10.9451C21.0245 11.342 21.0168 11.9495 20.6181 12.3364L17.9434 14.9012C17.5478 15.2806 16.9205 15.2708 16.5369 14.8792L13.9636 12.2519C13.7692 12.0534 13.674 11.7974 13.677 11.5622C13.6802 11.3075 13.7819 11.054 13.981 10.8801C14.3797 10.4932 14.9901 10.501 15.3788 10.8979L16.2708 11.8085C16.286 11.824 16.3124 11.8135 16.3126 11.7917V11.7917C16.351 8.77391 13.9017 6.27324 10.8698 6.2347C7.83784 6.19615 5.32577 8.63374 5.28741 11.6516C5.24904 14.6694 7.69833 17.1701 10.7303 17.2086C11.2815 17.2156 11.7092 17.6522 11.7022 18.2009C11.6952 18.7496 11.2566 19.1752 10.7054 19.1682C6.5709 19.1157 3.2663 15.7418 3.31861 11.6265C3.37093 7.51133 6.76023 4.22251 10.8947 4.27507C15.0095 4.32738 18.3338 7.70154 18.2814 11.8168Z",
|
1521
|
-
fill: "#2563EB"
|
1522
|
-
})]
|
1523
|
-
});
|
1524
|
-
}
|
1525
|
-
export function SaveTemplIcon() {
|
1526
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1527
|
-
width: "18",
|
1528
|
-
height: "18",
|
1529
|
-
viewBox: "0 0 18 18",
|
1530
|
-
fill: "none",
|
1531
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1532
|
-
className: "commonSvgStyle",
|
1533
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1534
|
-
d: "M9 1.5V6.75L10.5 5.25",
|
1535
|
-
stroke: "#64748B",
|
1536
|
-
strokeWidth: "1.2",
|
1537
|
-
strokeLinecap: "round",
|
1538
|
-
strokeLinejoin: "round"
|
1539
|
-
}), /*#__PURE__*/_jsx("path", {
|
1540
|
-
d: "M9 6.75L7.5 5.25",
|
1541
|
-
stroke: "#64748B",
|
1542
|
-
strokeWidth: "1.2",
|
1543
|
-
strokeLinecap: "round",
|
1544
|
-
strokeLinejoin: "round"
|
1545
|
-
}), /*#__PURE__*/_jsx("path", {
|
1546
|
-
d: "M1.48438 9.75H4.79187C5.07687 9.75 5.33188 9.9075 5.45938 10.1625L6.33687 11.9175C6.59187 12.4275 7.10938 12.75 7.67938 12.75H10.3269C10.8969 12.75 11.4144 12.4275 11.6694 11.9175L12.5469 10.1625C12.6744 9.9075 12.9369 9.75 13.2144 9.75H16.4844",
|
1547
|
-
stroke: "#64748B",
|
1548
|
-
strokeWidth: "1.2",
|
1549
|
-
strokeLinecap: "round",
|
1550
|
-
strokeLinejoin: "round"
|
1551
|
-
}), /*#__PURE__*/_jsx("path", {
|
1552
|
-
d: "M5.25 3.09766C2.595 3.48766 1.5 5.04766 1.5 8.25016V11.2502C1.5 15.0002 3 16.5002 6.75 16.5002H11.25C15 16.5002 16.5 15.0002 16.5 11.2502V8.25016C16.5 5.04766 15.405 3.48766 12.75 3.09766",
|
1553
|
-
stroke: "#64748B",
|
1554
|
-
strokeWidth: "1.2",
|
1555
|
-
strokeLinecap: "round",
|
1556
|
-
strokeLinejoin: "round"
|
1557
|
-
})]
|
1558
|
-
});
|
1559
|
-
}
|
1560
|
-
export function UploadIconCloud() {
|
1561
|
-
return /*#__PURE__*/_jsxs("svg", {
|
1562
|
-
width: "16",
|
1563
|
-
height: "16",
|
1564
|
-
viewBox: "0 0 16 16",
|
1565
|
-
fill: "none",
|
1566
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1567
|
-
className: "commonSvgStyle uploadIcon",
|
1568
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1569
|
-
d: "M6.00065 14.6673H4.66732C2.00065 14.6673 1.33398 14.0007 1.33398 11.334V4.66732C1.33398 2.00065 2.00065 1.33398 4.66732 1.33398H5.66732C6.66732 1.33398 6.88733 1.62733 7.26733 2.13399L8.26733 3.46733C8.52067 3.80066 8.66732 4.00065 9.33398 4.00065H11.334C14.0007 4.00065 14.6673 4.66732 14.6673 7.33398V8.66732",
|
1570
|
-
stroke: "#64748B",
|
1571
|
-
strokeWidth: "1.2",
|
1572
|
-
strokeMiterlimit: "10",
|
1573
|
-
strokeLinecap: "round",
|
1574
|
-
strokeLinejoin: "round"
|
1575
|
-
}), /*#__PURE__*/_jsx("path", {
|
1576
|
-
d: "M9.17305 12.2136C7.60638 12.3269 7.60638 14.5936 9.17305 14.7069H12.8797C13.3264 14.7069 13.7664 14.5402 14.093 14.2402C15.193 13.2802 14.6064 11.3602 13.1597 11.1802C12.6397 8.05358 8.11973 9.24024 9.18639 12.2202",
|
1577
|
-
stroke: "#64748B",
|
1578
|
-
strokeWidth: "1.2",
|
1579
|
-
strokeMiterlimit: "10",
|
1580
|
-
strokeLinecap: "round",
|
1581
|
-
strokeLinejoin: "round"
|
1582
|
-
})]
|
1583
|
-
});
|
1584
1434
|
}
|
@@ -1273,7 +1273,6 @@ export const GridSettingsIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
1273
1273
|
height: "22",
|
1274
1274
|
viewBox: "0 0 22 22",
|
1275
1275
|
fill: "none",
|
1276
|
-
className: "commonSvgStyle",
|
1277
1276
|
children: [/*#__PURE__*/_jsx("path", {
|
1278
1277
|
d: "M11 13.75C12.5188 13.75 13.75 12.5188 13.75 11C13.75 9.48122 12.5188 8.25 11 8.25C9.48122 8.25 8.25 9.48122 8.25 11C8.25 12.5188 9.48122 13.75 11 13.75Z",
|
1279
1278
|
stroke: "#64748B",
|
@@ -1342,7 +1341,6 @@ export const GridAddSectionIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
1342
1341
|
height: "20",
|
1343
1342
|
viewBox: "0 0 20 20",
|
1344
1343
|
fill: "none",
|
1345
|
-
className: "addIconCircle",
|
1346
1344
|
children: [/*#__PURE__*/_jsx("path", {
|
1347
1345
|
d: "M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19Z",
|
1348
1346
|
stroke: "#64748B",
|
@@ -1677,27 +1675,6 @@ export const CloseIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
1677
1675
|
strokeLinejoin: "round"
|
1678
1676
|
})]
|
1679
1677
|
});
|
1680
|
-
export const CloseIcon2 = props => /*#__PURE__*/_jsxs("svg", {
|
1681
|
-
width: "10",
|
1682
|
-
height: "10",
|
1683
|
-
viewBox: "0 0 10 10",
|
1684
|
-
fill: "none",
|
1685
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1686
|
-
...(props || {}),
|
1687
|
-
children: [/*#__PURE__*/_jsx("path", {
|
1688
|
-
d: "M9.12476 0.875L0.875176 9.12458",
|
1689
|
-
stroke: "#8F9CAE",
|
1690
|
-
strokeWidth: "1.5",
|
1691
|
-
strokeLinecap: "round",
|
1692
|
-
strokeLinejoin: "round"
|
1693
|
-
}), /*#__PURE__*/_jsx("path", {
|
1694
|
-
d: "M0.875183 0.875L9.12476 9.12458",
|
1695
|
-
stroke: "#8F9CAE",
|
1696
|
-
strokeWidth: "1.5",
|
1697
|
-
strokeLinecap: "round",
|
1698
|
-
strokeLinejoin: "round"
|
1699
|
-
})]
|
1700
|
-
});
|
1701
1678
|
export const SearchIcon = () => /*#__PURE__*/_jsxs("svg", {
|
1702
1679
|
width: "18",
|
1703
1680
|
height: "18",
|
@@ -1809,7 +1786,6 @@ export const Text = props => /*#__PURE__*/_jsxs("svg", {
|
|
1809
1786
|
viewBox: "0 0 15 14",
|
1810
1787
|
fill: "none",
|
1811
1788
|
xmlns: "http://www.w3.org/2000/svg",
|
1812
|
-
className: "commonSvgStyle",
|
1813
1789
|
children: [/*#__PURE__*/_jsx("path", {
|
1814
1790
|
d: "M2.5 4.1825V3.12083C2.5 2.45 3.0425 1.91333 3.7075 1.91333H12.1775C12.8483 1.91333 13.385 2.45583 13.385 3.12083V4.1825",
|
1815
1791
|
stroke: props?.stroke || "#000",
|
@@ -49,28 +49,31 @@ const useCommonStyle = theme => ({
|
|
49
49
|
fontWeight: "500",
|
50
50
|
fontFamily: "Inter, sans-serif"
|
51
51
|
},
|
52
|
-
"& .MuiPaper-root": {
|
53
|
-
border: `unset !important`,
|
54
|
-
borderRadius: "0px",
|
55
|
-
height: "fit-content",
|
56
|
-
padding: "2px"
|
57
|
-
},
|
58
52
|
"& p": {
|
59
53
|
marginBottom: "7px",
|
60
54
|
marginTop: "4px"
|
61
55
|
},
|
56
|
+
"& .MuiPaper-root": {
|
57
|
+
border: 'unset !important',
|
58
|
+
borderRadius: '0px',
|
59
|
+
height: 'fit-content',
|
60
|
+
padding: '2px'
|
61
|
+
},
|
62
62
|
"& .muiIconsListParent": {
|
63
63
|
"& svg": {
|
64
64
|
color: `${theme?.palette?.editor?.svgTextAlignStrokeColor} !important`
|
65
65
|
},
|
66
66
|
"&::-webkit-scrollbar-thumb": {
|
67
67
|
background: `${theme?.palette?.editor?.brainPopupScroll} !important`
|
68
|
+
},
|
69
|
+
"&::-webkit-scrollbar-track": {
|
70
|
+
visibility: "hidden"
|
68
71
|
}
|
69
72
|
},
|
70
73
|
"& .MuiGrid-root>.MuiGrid-item": {
|
71
74
|
paddingRight: "0px !important",
|
72
75
|
fontFamily: "Inter, sans-serif",
|
73
|
-
height:
|
76
|
+
height: 'fit-content'
|
74
77
|
},
|
75
78
|
"& .MuiInputBase-root": {
|
76
79
|
borderRadius: "10px",
|
@@ -129,16 +132,16 @@ const useCommonStyle = theme => ({
|
|
129
132
|
background: theme?.palette?.editor?.inputFieldBgColor,
|
130
133
|
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`,
|
131
134
|
borderRadius: "10px",
|
132
|
-
width: "
|
135
|
+
width: "46px !important",
|
133
136
|
marginLeft: "10px",
|
134
|
-
height:
|
137
|
+
height: '36px !important'
|
135
138
|
},
|
136
139
|
"& .spacingSlider": {
|
137
140
|
width: "calc(100% - 18px)"
|
138
141
|
}
|
139
142
|
},
|
140
|
-
|
141
|
-
margin:
|
143
|
+
'& .MuiFormHelperText-root': {
|
144
|
+
margin: '4px 0px 0px 0px',
|
142
145
|
color: theme?.palette?.editor?.closeButtonSvgStroke,
|
143
146
|
fontFamily: "Inter, sans-serif"
|
144
147
|
}
|
@@ -208,16 +211,16 @@ const useCommonStyle = theme => ({
|
|
208
211
|
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
209
212
|
},
|
210
213
|
"& .popup_tabs": {
|
211
|
-
backgroundColor: theme?.palette?.editor?.
|
214
|
+
backgroundColor: theme?.palette?.editor?.background,
|
212
215
|
"@media only screen and (max-width: 899px)": {
|
213
216
|
width: "100% !important"
|
214
217
|
}
|
215
218
|
},
|
216
219
|
"& .popup_tabs-header": {
|
217
|
-
backgroundColor: theme?.palette?.editor?.
|
220
|
+
backgroundColor: theme?.palette?.editor?.background,
|
218
221
|
"& .popup_tabs-header-label-active": {
|
219
222
|
color: theme?.palette?.editor?.activeColor,
|
220
|
-
backgroundColor: theme?.palette?.editor?.
|
223
|
+
backgroundColor: theme?.palette?.editor?.background
|
221
224
|
}
|
222
225
|
},
|
223
226
|
"& .colorpicker": {
|
@@ -246,40 +249,6 @@ const useCommonStyle = theme => ({
|
|
246
249
|
backgroundColor: theme?.palette?.editor?.miniToolBarBackground,
|
247
250
|
color: theme?.palette?.editor?.textColor
|
248
251
|
}
|
249
|
-
},
|
250
|
-
"& .colorPickerActionBtns": {
|
251
|
-
backgroundColor: theme?.palette?.editor?.miniToolBarBackground,
|
252
|
-
display: "flex",
|
253
|
-
justifyContent: "end",
|
254
|
-
padding: "10px",
|
255
|
-
position: "sticky",
|
256
|
-
bottom: 0,
|
257
|
-
right: 0,
|
258
|
-
boxShadow: `0px -3px 12px 0px ${theme?.palette?.editor?.cardShadow}`,
|
259
|
-
gap: "8px",
|
260
|
-
"& button": {
|
261
|
-
fontWeight: 600,
|
262
|
-
fontSize: "14px",
|
263
|
-
opacity: 1,
|
264
|
-
borderRadius: "8px",
|
265
|
-
textTransform: "math-auto",
|
266
|
-
padding: "4px 20px",
|
267
|
-
height: "fit-content",
|
268
|
-
minWidth: "90px",
|
269
|
-
"@media only screen and (max-width: 899px)": {
|
270
|
-
width: "50%"
|
271
|
-
},
|
272
|
-
"&.confirmBtn": {
|
273
|
-
backgroundColor: "#2563EB",
|
274
|
-
color: "#ffffff",
|
275
|
-
border: `1px solid #2563EB`
|
276
|
-
},
|
277
|
-
"&.cancelBtn": {
|
278
|
-
backgroundColor: theme?.palette?.editor?.closeButtonBackground,
|
279
|
-
color: theme?.palette?.editor?.customDialogueCloseBtnColor,
|
280
|
-
border: `1px solid ${theme?.palette?.editor?.customDialogueCloseBtnBorder}`
|
281
|
-
}
|
282
|
-
}
|
283
252
|
}
|
284
253
|
},
|
285
254
|
colorPickerBtnBorder: {
|
@@ -291,12 +260,6 @@ const useCommonStyle = theme => ({
|
|
291
260
|
"& .signature-canvas": {
|
292
261
|
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor} !important`
|
293
262
|
},
|
294
|
-
"& .clear-canvas": {
|
295
|
-
position: "absolute",
|
296
|
-
top: 6,
|
297
|
-
right: 6,
|
298
|
-
color: theme?.palette?.editor?.closeButtonSvgStroke
|
299
|
-
},
|
300
263
|
"& label": {
|
301
264
|
color: theme?.palette?.editor?.textColor
|
302
265
|
},
|
@@ -434,14 +397,14 @@ const useCommonStyle = theme => ({
|
|
434
397
|
padding: "8px 12px",
|
435
398
|
fontSize: "12px",
|
436
399
|
color: theme?.palette?.editor?.menuOptionTextColor,
|
437
|
-
fontWeight:
|
400
|
+
fontWeight: '500',
|
438
401
|
fontFamily: "Inter, sans-serif",
|
439
|
-
minHeight:
|
402
|
+
minHeight: '36px',
|
440
403
|
"&:hover": {
|
441
404
|
backgroundColor: theme?.palette?.editor?.menuOptionHoverBackground
|
442
405
|
}
|
443
406
|
},
|
444
|
-
|
407
|
+
'& .Mui-selected': {
|
445
408
|
background: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`
|
446
409
|
},
|
447
410
|
"& .MuiListSubheader-root": {
|
@@ -450,16 +413,16 @@ const useCommonStyle = theme => ({
|
|
450
413
|
fontSize: "12px"
|
451
414
|
},
|
452
415
|
"& .MuiPaper-root": {
|
453
|
-
borderRadius:
|
454
|
-
padding:
|
416
|
+
borderRadius: '8px',
|
417
|
+
padding: '0px',
|
455
418
|
background: `${theme?.palette?.editor?.textWeightPopUpBackground} !important`
|
456
419
|
},
|
457
|
-
|
458
|
-
margin:
|
459
|
-
borderRadius:
|
420
|
+
'& .MuiButtonBase-root': {
|
421
|
+
margin: '4px',
|
422
|
+
borderRadius: '6px'
|
460
423
|
},
|
461
|
-
|
462
|
-
padding:
|
424
|
+
'& .MuiList-root': {
|
425
|
+
padding: '0px'
|
463
426
|
}
|
464
427
|
},
|
465
428
|
datePicker: {
|
@@ -559,27 +522,27 @@ const useCommonStyle = theme => ({
|
|
559
522
|
}
|
560
523
|
}
|
561
524
|
},
|
525
|
+
pageSettingPopUpRoot: {
|
526
|
+
padding: "16px 8px 16px 10px!important",
|
527
|
+
height: "100%"
|
528
|
+
},
|
562
529
|
buttonMoreOption: {
|
563
530
|
background: `${theme?.palette?.editor?.aiInputBackground} !important`,
|
564
531
|
border: `1px solid ${theme?.palette?.editor?.buttonBorder1} !important`,
|
565
|
-
padding:
|
566
|
-
|
567
|
-
width:
|
568
|
-
height:
|
569
|
-
|
532
|
+
padding: '4px !important',
|
533
|
+
'& svg': {
|
534
|
+
width: '18px !important',
|
535
|
+
height: '18px !important',
|
536
|
+
'& path': {
|
570
537
|
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
571
538
|
}
|
572
539
|
}
|
573
540
|
},
|
574
|
-
pageSettingPopUpRoot: {
|
575
|
-
padding: "16px 8px 16px 10px!important",
|
576
|
-
height: "100%"
|
577
|
-
},
|
578
541
|
buttonMoreOption2: {
|
579
542
|
background: `${theme?.palette?.editor?.aiInputBackground} !important`,
|
580
543
|
border: `1px solid ${theme?.palette?.editor?.buttonBorder1} !important`,
|
581
|
-
|
582
|
-
|
544
|
+
'& svg': {
|
545
|
+
'& path': {
|
583
546
|
fill: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
584
547
|
}
|
585
548
|
}
|
@@ -587,11 +550,11 @@ const useCommonStyle = theme => ({
|
|
587
550
|
buttonMoreOption3: {
|
588
551
|
background: `${theme?.palette?.editor?.aiInputBackground} !important`,
|
589
552
|
border: `1px solid ${theme?.palette?.editor?.buttonBorder1} !important`,
|
590
|
-
padding:
|
591
|
-
|
592
|
-
width:
|
593
|
-
height:
|
594
|
-
|
553
|
+
padding: '5px !important',
|
554
|
+
'& svg': {
|
555
|
+
width: '16px !important',
|
556
|
+
height: '16px !important',
|
557
|
+
'& path': {
|
595
558
|
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
596
559
|
}
|
597
560
|
}
|
@@ -599,109 +562,40 @@ const useCommonStyle = theme => ({
|
|
599
562
|
resizeButton: {
|
600
563
|
background: theme?.palette?.editor?.aiInputBackground,
|
601
564
|
border: `1px solid ${theme?.palette?.editor?.buttonBorder1}`,
|
602
|
-
padding:
|
603
|
-
borderRadius:
|
604
|
-
|
605
|
-
width:
|
606
|
-
height:
|
607
|
-
|
565
|
+
padding: '5px !important',
|
566
|
+
borderRadius: '50% !important',
|
567
|
+
'& svg': {
|
568
|
+
width: '18px',
|
569
|
+
height: '18px',
|
570
|
+
'& path': {
|
608
571
|
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
609
572
|
}
|
610
573
|
},
|
611
|
-
|
574
|
+
'&:hover': {
|
612
575
|
background: theme?.palette?.editor?.aiInputBackground
|
613
576
|
}
|
614
577
|
},
|
615
578
|
gradientFillBtn: {
|
616
579
|
background: `linear-gradient(112.61deg, #2C63ED 19.3%, #8360FD 88.14%) !important`,
|
617
|
-
textTransform:
|
618
|
-
color:
|
619
|
-
padding:
|
620
|
-
height:
|
621
|
-
borderRadius:
|
622
|
-
fontWeight:
|
623
|
-
fontSize:
|
580
|
+
textTransform: 'math-auto !important',
|
581
|
+
color: '#FFFFFF !important',
|
582
|
+
padding: '0px 12px !important',
|
583
|
+
height: '32px',
|
584
|
+
borderRadius: '8px',
|
585
|
+
fontWeight: '500',
|
586
|
+
fontSize: '14px'
|
624
587
|
},
|
625
588
|
emptyThumbBtn: {
|
626
589
|
background: `${theme?.palette?.editor?.sectionSettingIconHover} !important`,
|
627
590
|
color: `${theme?.palette?.editor?.textColor} !important`,
|
628
|
-
fontSize:
|
629
|
-
|
630
|
-
width:
|
631
|
-
height:
|
632
|
-
|
591
|
+
fontSize: '14px !important',
|
592
|
+
'& svg': {
|
593
|
+
width: '20px !important',
|
594
|
+
height: '20px !important',
|
595
|
+
'& path': {
|
633
596
|
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
634
597
|
}
|
635
598
|
}
|
636
|
-
},
|
637
|
-
formStyles: {
|
638
|
-
"& input": {
|
639
|
-
background: theme?.palette?.editor?.inputFieldBgColor,
|
640
|
-
borderColor: theme?.palette?.editor?.inputFieldBorder,
|
641
|
-
height: "44px",
|
642
|
-
fontSize: "14px",
|
643
|
-
color: theme?.palette?.editor?.textColor
|
644
|
-
},
|
645
|
-
"& .form-btn-wrpr": {
|
646
|
-
"& button": {
|
647
|
-
fontWeight: 500,
|
648
|
-
height: "44px"
|
649
|
-
}
|
650
|
-
}
|
651
|
-
},
|
652
|
-
formMenuStyle: {
|
653
|
-
"& .MuiPaper-root": {
|
654
|
-
background: "transparent",
|
655
|
-
boxShadow: "none"
|
656
|
-
},
|
657
|
-
"& .MuiList-root": {
|
658
|
-
padding: "2px 0px 0px 16px"
|
659
|
-
},
|
660
|
-
"& .MuiButtonBase-root": {
|
661
|
-
padding: "2px"
|
662
|
-
},
|
663
|
-
"& li": {
|
664
|
-
marginLeft: "5px",
|
665
|
-
"&:hover": {
|
666
|
-
background: "transparent"
|
667
|
-
},
|
668
|
-
"& button": {
|
669
|
-
height: "28px",
|
670
|
-
width: "28px",
|
671
|
-
borderRadius: "50%",
|
672
|
-
background: theme?.palette?.editor?.signatureFontBtnBg,
|
673
|
-
border: `1px solid ${theme?.palette?.editor?.buttonBorder1} !important`,
|
674
|
-
boxShadow: "0px 0px 4px 0px #00000024",
|
675
|
-
"&:hover": {
|
676
|
-
background: theme?.palette?.editor?.signatureFontBtnBg
|
677
|
-
},
|
678
|
-
"& svg": {
|
679
|
-
height: "20px",
|
680
|
-
width: "20px"
|
681
|
-
},
|
682
|
-
"& .uploadIcon": {
|
683
|
-
height: "17px",
|
684
|
-
width: "17px"
|
685
|
-
},
|
686
|
-
"& .commonSvgStyle path": {
|
687
|
-
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
688
|
-
}
|
689
|
-
}
|
690
|
-
}
|
691
|
-
},
|
692
|
-
fieldBtnSettings: {
|
693
|
-
"& .MuiButtonBase-root": {
|
694
|
-
height: "28px",
|
695
|
-
width: "28px",
|
696
|
-
padding: "4px",
|
697
|
-
"& svg": {
|
698
|
-
width: "20px",
|
699
|
-
height: "20px",
|
700
|
-
"& path": {
|
701
|
-
stroke: theme?.palette?.editor?.closeButtonSvgStroke
|
702
|
-
}
|
703
|
-
}
|
704
|
-
}
|
705
599
|
}
|
706
600
|
});
|
707
601
|
export default useCommonStyle;
|