@flozy/editor 3.7.1 → 3.7.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/ChatEditor.js +211 -0
- package/dist/Editor/CommonEditor.js +169 -111
- package/dist/Editor/Elements/Accordion/Accordion.js +74 -7
- package/dist/Editor/Elements/Accordion/AccordionBtnPopup.js +3 -2
- package/dist/Editor/Elements/Accordion/AccordionSummary.js +4 -60
- package/dist/Editor/Elements/AppHeader/AppHeader.js +26 -4
- package/dist/Editor/Elements/Button/EditorButton.js +34 -18
- package/dist/Editor/Elements/ChipText/ChipText.js +3 -3
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +60 -17
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +25 -1
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +4 -4
- package/dist/Editor/Elements/Color Picker/Styles.js +2 -1
- package/dist/Editor/Elements/Embed/Frames/ImageFrame.js +1 -0
- package/dist/Editor/Elements/Embed/Image.js +28 -20
- package/dist/Editor/Elements/Embed/Video.js +15 -11
- package/dist/Editor/Elements/Emoji/EmojiButton.js +2 -2
- package/dist/Editor/Elements/Emoji/EmojiPicker.js +16 -0
- package/dist/Editor/Elements/Form/Workflow/FormWorkflow.js +12 -3
- package/dist/Editor/Elements/Form/Workflow/UserInputs.js +2 -1
- package/dist/Editor/Elements/Grid/Grid.js +3 -1
- package/dist/Editor/Elements/Grid/GridItem.js +4 -2
- package/dist/Editor/Elements/InlineIcon/InlineIcon.js +2 -3
- package/dist/Editor/Elements/Link/Link.js +6 -1
- package/dist/Editor/Elements/Link/LinkButton.js +4 -2
- package/dist/Editor/Elements/Link/LinkPopup.js +11 -3
- package/dist/Editor/Elements/Link/LinkPopupStyles.js +28 -0
- package/dist/Editor/Elements/List/CheckList.js +6 -2
- package/dist/Editor/Elements/Table/TableCell.js +1 -1
- package/dist/Editor/MiniEditor.js +3 -1
- package/dist/Editor/Styles/EditorStyles.js +3 -2
- package/dist/Editor/Toolbar/Basic/index.js +4 -2
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +26 -2
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +2 -2
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +5 -11
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +4 -11
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +213 -86
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +2 -1
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +20 -13
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +52 -7
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +438 -0
- package/dist/Editor/Toolbar/PopupTool/index.js +9 -2
- package/dist/Editor/Toolbar/toolbarGroups.js +48 -6
- package/dist/Editor/assets/svg/ThemeIcons.js +291 -0
- package/dist/Editor/common/ColorPickerButton.js +25 -9
- package/dist/Editor/common/CustomColorPicker/index.js +106 -0
- package/dist/Editor/common/CustomColorPicker/style.js +53 -0
- package/dist/Editor/common/CustomDialog/index.js +94 -0
- package/dist/Editor/common/CustomDialog/style.js +67 -0
- package/dist/Editor/common/CustomSelect.js +33 -0
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/EditorCmds.js +35 -0
- package/dist/Editor/common/Icon.js +30 -2
- package/dist/Editor/common/MUIIcon/index.js +48 -0
- package/dist/Editor/common/MentionsPopup/MentionsListCard.js +5 -2
- package/dist/Editor/common/MentionsPopup/Styles.js +6 -3
- package/dist/Editor/common/Shorthands/elements.js +54 -0
- package/dist/Editor/common/StyleBuilder/accordionTitleBtnStyle.js +7 -7
- package/dist/Editor/common/StyleBuilder/accordionTitleStyle.js +16 -16
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +4 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +13 -3
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +15 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +31 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +13 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/icons.js +12 -28
- package/dist/Editor/common/StyleBuilder/fieldTypes/loadIcon.js +13 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/mui_filled_icons.js +2 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +14 -4
- package/dist/Editor/common/StyleBuilder/formStyle.js +25 -26
- package/dist/Editor/common/StyleBuilder/index.js +1 -1
- package/dist/Editor/helper/index.js +15 -0
- package/dist/Editor/helper/theme.js +190 -4
- package/dist/Editor/hooks/useEditorTheme.js +139 -0
- package/dist/Editor/hooks/useMouseMove.js +15 -6
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +47 -5
- package/dist/Editor/plugins/withLayout.js +15 -10
- package/dist/Editor/plugins/withTable.js +2 -2
- package/dist/Editor/theme/ThemeList.js +50 -173
- package/dist/Editor/theme/index.js +144 -0
- package/dist/Editor/themeSettings/ActiveTheme.js +72 -0
- package/dist/Editor/themeSettings/buttons/index.js +290 -0
- package/dist/Editor/themeSettings/buttons/style.js +21 -0
- package/dist/Editor/themeSettings/colorTheme/index.js +290 -0
- package/dist/Editor/themeSettings/colorTheme/style.js +77 -0
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +123 -0
- package/dist/Editor/themeSettings/fonts/index.js +213 -0
- package/dist/Editor/themeSettings/fonts/style.js +44 -0
- package/dist/Editor/themeSettings/icons.js +60 -0
- package/dist/Editor/themeSettings/index.js +320 -0
- package/dist/Editor/themeSettings/style.js +152 -0
- package/dist/Editor/themeSettingsAI/icons.js +96 -0
- package/dist/Editor/themeSettingsAI/index.js +356 -0
- package/dist/Editor/themeSettingsAI/saveTheme.js +190 -0
- package/dist/Editor/themeSettingsAI/style.js +247 -0
- package/dist/Editor/utils/SlateUtilityFunctions.js +157 -25
- package/dist/Editor/utils/button.js +1 -17
- package/dist/Editor/utils/chatEditor/SlateUtilityFunctions.js +361 -0
- package/dist/Editor/utils/events.js +11 -4
- package/dist/Editor/utils/font.js +40 -37
- package/dist/Editor/utils/form.js +2 -2
- package/dist/Editor/utils/helper.js +71 -12
- package/dist/Editor/utils/serializeToHTML.js +25 -13
- package/dist/index.js +5 -1
- package/package.json +4 -4
@@ -1,29 +1,10 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { Grid, IconButton, TextField, Tooltip } from "@mui/material";
|
3
|
-
import
|
3
|
+
import MUIIcon from "./loadIcon";
|
4
|
+
import MUIFilledIcons from "./mui_filled_icons";
|
4
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
5
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
6
7
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
7
|
-
const MUIIcons = Object.keys(fIcons).reduce((a, b) => {
|
8
|
-
if (b.indexOf("Outlined") > -1) {
|
9
|
-
a.outlined.push(b);
|
10
|
-
} else if (b.indexOf("Rounded") > -1) {
|
11
|
-
a.rounded.push(b);
|
12
|
-
} else if (b.indexOf("Sharp") > -1) {
|
13
|
-
a.sharp.push(b);
|
14
|
-
} else if (b.indexOf("TwoTone") > -1) {
|
15
|
-
a.tt.push(b);
|
16
|
-
} else {
|
17
|
-
a.filled.push(b);
|
18
|
-
}
|
19
|
-
return a;
|
20
|
-
}, {
|
21
|
-
filled: [],
|
22
|
-
outlined: [],
|
23
|
-
rounded: [],
|
24
|
-
tt: [],
|
25
|
-
sharp: []
|
26
|
-
});
|
27
8
|
const Icons = props => {
|
28
9
|
const {
|
29
10
|
value,
|
@@ -34,7 +15,7 @@ const Icons = props => {
|
|
34
15
|
key
|
35
16
|
} = data;
|
36
17
|
const [val, setVal] = useState("");
|
37
|
-
const [list, setList] = useState(
|
18
|
+
const [list, setList] = useState(MUIFilledIcons.slice(0, 90));
|
38
19
|
const onSelectIcon = ico => () => {
|
39
20
|
onChange({
|
40
21
|
[key]: ico
|
@@ -44,11 +25,11 @@ const Icons = props => {
|
|
44
25
|
const keyVal = e.target.value?.toLowerCase();
|
45
26
|
setVal(keyVal);
|
46
27
|
if (keyVal) {
|
47
|
-
setList(
|
28
|
+
setList(MUIFilledIcons.filter(f => {
|
48
29
|
return f.toLowerCase().indexOf(keyVal) > -1;
|
49
30
|
}).slice(0, 90));
|
50
31
|
} else {
|
51
|
-
setList(
|
32
|
+
setList(MUIFilledIcons.slice(0, 90));
|
52
33
|
}
|
53
34
|
};
|
54
35
|
const onRemoveIcon = () => {
|
@@ -56,7 +37,7 @@ const Icons = props => {
|
|
56
37
|
[key]: null
|
57
38
|
});
|
58
39
|
};
|
59
|
-
const SelectedIcon = value ?
|
40
|
+
const SelectedIcon = value ? value : null;
|
60
41
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
61
42
|
children: [/*#__PURE__*/_jsx(Grid, {
|
62
43
|
item: true,
|
@@ -92,7 +73,9 @@ const Icons = props => {
|
|
92
73
|
arrow: true,
|
93
74
|
children: /*#__PURE__*/_jsx(IconButton, {
|
94
75
|
onClick: onRemoveIcon,
|
95
|
-
children: /*#__PURE__*/_jsx(
|
76
|
+
children: /*#__PURE__*/_jsx(MUIIcon, {
|
77
|
+
iconName: value
|
78
|
+
})
|
96
79
|
})
|
97
80
|
}) : ""
|
98
81
|
})]
|
@@ -107,13 +90,14 @@ const Icons = props => {
|
|
107
90
|
paddingTop: "5px"
|
108
91
|
},
|
109
92
|
children: list.map(m => {
|
110
|
-
const Ico = fIcons[m];
|
111
93
|
return /*#__PURE__*/_jsx(Tooltip, {
|
112
94
|
title: m,
|
113
95
|
arrow: true,
|
114
96
|
children: /*#__PURE__*/_jsx(IconButton, {
|
115
97
|
onClick: onSelectIcon(m),
|
116
|
-
children: /*#__PURE__*/_jsx(
|
98
|
+
children: /*#__PURE__*/_jsx(MUIIcon, {
|
99
|
+
iconName: m
|
100
|
+
})
|
117
101
|
})
|
118
102
|
}, `mui_ico_${m}`);
|
119
103
|
})
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import DynamicIcon from "../../MUIIcon";
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
+
const MUIIcon = ({
|
5
|
+
iconName,
|
6
|
+
...rest
|
7
|
+
}) => {
|
8
|
+
return /*#__PURE__*/_jsx(DynamicIcon, {
|
9
|
+
iconName: iconName,
|
10
|
+
...rest
|
11
|
+
});
|
12
|
+
};
|
13
|
+
export default MUIIcon;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
const MUIFilledIcons = ["Abc", "AcUnit", "AccessAlarm", "AccessAlarms", "AccessTime", "AccessTimeFilled", "Accessibility", "AccessibilityNew", "Accessible", "AccessibleForward", "AccountBalance", "AccountBalanceWallet", "AccountBox", "AccountCircle", "AccountTree", "AdUnits", "Adb", "Add", "AddAPhoto", "AddAlarm", "AddAlert", "AddBox", "AddBusiness", "AddCard", "AddCircle", "AddCircleOutline", "AddComment", "AddHome", "AddHomeWork", "AddIcCall", "AddLink", "AddLocation", "AddLocationAlt", "AddModerator", "AddPhotoAlternate", "AddReaction", "AddRoad", "AddShoppingCart", "AddTask", "AddToDrive", "AddToHomeScreen", "AddToPhotos", "AddToQueue", "Addchart", "AdfScanner", "Adjust", "AdminPanelSettings", "AdsClick", "Agriculture", "Air", "AirlineSeatFlat", "AirlineSeatFlatAngled", "AirlineSeatIndividualSuite", "AirlineSeatLegroomExtra", "AirlineSeatLegroomNormal", "AirlineSeatLegroomReduced", "AirlineSeatReclineExtra", "AirlineSeatReclineNormal", "AirlineStops", "Airlines", "AirplaneTicket", "AirplanemodeActive", "AirplanemodeInactive", "Airplay", "AirportShuttle", "Alarm", "AlarmAdd", "AlarmOff", "AlarmOn", "Album", "AlignHorizontalCenter", "AlignHorizontalLeft", "AlignHorizontalRight", "AlignVerticalBottom", "AlignVerticalCenter", "AlignVerticalTop", "AllInbox", "AllInclusive", "AllOut", "AltRoute", "AlternateEmail", "Analytics", "Anchor", "Android", "Animation", "Announcement", "Aod", "Apartment", "Api", "AppBlocking", "AppRegistration", "AppSettingsAlt", "AppShortcut", "Apple", "Approval", "Apps", "AppsOutage", "Architecture", "Archive", "ArrowBack", "ArrowBackIos", "ArrowBackIosNew", "ArrowCircleDown", "ArrowCircleLeft", "ArrowCircleRight", "ArrowCircleUp", "ArrowDownward", "ArrowDropDown", "ArrowDropDownCircle", "ArrowDropUp", "ArrowForward", "ArrowForwardIos", "ArrowLeft", "ArrowOutward", "ArrowRight", "ArrowRightAlt", "ArrowUpward", "ArtTrack", "Article", "AspectRatio", "Assessment", "Assignment", "AssignmentInd", "AssignmentLate", "AssignmentReturn", "AssignmentReturned", "AssignmentTurnedIn", "AssistWalker", "Assistant", "AssistantDirection", "AssistantPhoto", "AssuredWorkload", "Atm", "AttachEmail", "AttachFile", "AttachMoney", "Attachment", "Attractions", "Attribution", "AudioFile", "Audiotrack", "AutoAwesome", "AutoAwesomeMosaic", "AutoAwesomeMotion", "AutoDelete", "AutoFixHigh", "AutoFixNormal", "AutoFixOff", "AutoGraph", "AutoMode", "AutoStories", "AutofpsSelect", "Autorenew", "AvTimer", "BabyChangingStation", "BackHand", "Backpack", "Backspace", "Backup", "BackupTable", "Badge", "BakeryDining", "Balance", "Balcony", "Ballot", "BarChart", "BatchPrediction", "Bathroom", "Bathtub", "Battery0Bar", "Battery1Bar", "Battery20", "Battery2Bar", "Battery30", "Battery3Bar", "Battery4Bar", "Battery50", "Battery5Bar", "Battery60", "Battery6Bar", "Battery80", "Battery90", "BatteryAlert", "BatteryCharging20", "BatteryCharging30", "BatteryCharging50", "BatteryCharging60", "BatteryCharging80", "BatteryCharging90", "BatteryChargingFull", "BatteryFull", "BatterySaver", "BatteryStd", "BatteryUnknown", "BeachAccess", "Bed", "BedroomBaby", "BedroomChild", "BedroomParent", "Bedtime", "BedtimeOff", "Beenhere", "Bento", "BikeScooter", "Biotech", "Blender", "Blind", "Blinds", "BlindsClosed", "Block", "Bloodtype", "Bluetooth", "BluetoothAudio", "BluetoothConnected", "BluetoothDisabled", "BluetoothDrive", "BluetoothSearching", "BlurCircular", "BlurLinear", "BlurOff", "BlurOn", "Bolt", "Book", "BookOnline", "Bookmark", "BookmarkAdd", "BookmarkAdded", "BookmarkBorder", "BookmarkRemove", "Bookmarks", "BorderAll", "BorderBottom", "BorderClear", "BorderColor", "BorderHorizontal", "BorderInner", "BorderLeft", "BorderOuter", "BorderRight", "BorderStyle", "BorderTop", "BorderVertical", "Boy", "BrandingWatermark", "BreakfastDining", "Brightness1", "Brightness2", "Brightness3", "Brightness4", "Brightness5", "Brightness6", "Brightness7", "BrightnessAuto", "BrightnessHigh", "BrightnessLow", "BrightnessMedium", "BroadcastOnHome", "BroadcastOnPersonal", "BrokenImage", "BrowseGallery", "BrowserNotSupported", "BrowserUpdated", "BrunchDining", "Brush", "BubbleChart", "BugReport", "Build", "BuildCircle", "Bungalow", "BurstMode", "BusAlert", "Business", "BusinessCenter", "Cabin", "Cable", "Cached", "Cake", "Calculate", "CalendarMonth", "CalendarToday", "CalendarViewDay", "CalendarViewMonth", "CalendarViewWeek", "Call", "CallEnd", "CallMade", "CallMerge", "CallMissed", "CallMissedOutgoing", "CallReceived", "CallSplit", "CallToAction", "Camera", "CameraAlt", "CameraEnhance", "CameraFront", "CameraIndoor", "CameraOutdoor", "CameraRear", "CameraRoll", "Cameraswitch", "Campaign", "Cancel", "CancelPresentation", "CancelScheduleSend", "CandlestickChart", "CarCrash", "CarRental", "CarRepair", "CardGiftcard", "CardMembership", "CardTravel", "Carpenter", "Cases", "Casino", "Cast", "CastConnected", "CastForEducation", "Castle", "CatchingPokemon", "Category", "Celebration", "CellTower", "CellWifi", "CenterFocusStrong", "CenterFocusWeak", "Chair", "ChairAlt", "Chalet", "ChangeCircle", "ChangeHistory", "ChargingStation", "Chat", "ChatBubble", "ChatBubbleOutline", "Check", "CheckBox", "CheckBoxOutlineBlank", "CheckCircle", "CheckCircleOutline", "Checklist", "ChecklistRtl", "Checkroom", "ChevronLeft", "ChevronRight", "ChildCare", "ChildFriendly", "ChromeReaderMode", "Church", "Circle", "CircleNotifications", "Class", "CleanHands", "CleaningServices", "Clear", "ClearAll", "Close", "CloseFullscreen", "ClosedCaption", "ClosedCaptionDisabled", "ClosedCaptionOff", "Cloud", "CloudCircle", "CloudDone", "CloudDownload", "CloudOff", "CloudQueue", "CloudSync", "CloudUpload", "Co2", "CoPresent", "Code", "CodeOff", "Coffee", "CoffeeMaker", "Collections", "CollectionsBookmark", "ColorLens", "Colorize", "Comment", "CommentBank", "CommentsDisabled", "Commit", "Commute", "Compare", "CompareArrows", "CompassCalibration", "Compress", "Computer", "ConfirmationNumber", "ConnectWithoutContact", "ConnectedTv", "ConnectingAirports", "Construction", "ContactEmergency", "ContactMail", "ContactPage", "ContactPhone", "ContactSupport", "Contactless", "Contacts", "ContentCopy", "ContentCut", "ContentPaste", "ContentPasteGo", "ContentPasteOff", "ContentPasteSearch", "Contrast", "ControlCamera", "ControlPoint", "ControlPointDuplicate", "Cookie", "CopyAll", "Copyright", "Coronavirus", "CorporateFare", "Cottage", "Countertops", "Create", "CreateNewFolder", "CreditCard", "CreditCardOff", "CreditScore", "Crib", "CrisisAlert", "Crop", "Crop169", "Crop32", "Crop54", "Crop75", "CropDin", "CropFree", "CropLandscape", "CropOriginal", "CropPortrait", "CropRotate", "CropSquare", "Css", "CurrencyBitcoin", "CurrencyExchange", "CurrencyFranc", "CurrencyLira", "CurrencyPound", "CurrencyRuble", "CurrencyRupee", "CurrencyYen", "CurrencyYuan", "Curtains", "CurtainsClosed", "Cyclone", "Dangerous", "DarkMode", "Dashboard", "DashboardCustomize", "DataArray", "DataObject", "DataSaverOff", "DataSaverOn", "DataThresholding", "DataUsage", "Dataset", "DatasetLinked", "DateRange", "Deblur", "Deck", "Dehaze", "Delete", "DeleteForever", "DeleteOutline", "DeleteSweep", "DeliveryDining", "DensityLarge", "DensityMedium", "DensitySmall", "DepartureBoard", "Description", "Deselect", "DesignServices", "Desk", "DesktopAccessDisabled", "DesktopMac", "DesktopWindows", "Details", "DeveloperBoard", "DeveloperBoardOff", "DeveloperMode", "DeviceHub", "DeviceThermostat", "DeviceUnknown", "Devices", "DevicesFold", "DevicesOther", "DialerSip", "Dialpad", "Diamond", "Difference", "Dining", "DinnerDining", "Directions", "DirectionsBike", "DirectionsBoat", "DirectionsBoatFilled", "DirectionsBus", "DirectionsBusFilled", "DirectionsCar", "DirectionsCarFilled", "DirectionsOff", "DirectionsRailway", "DirectionsRailwayFilled", "DirectionsRun", "DirectionsSubway", "DirectionsSubwayFilled", "DirectionsTransit", "DirectionsTransitFilled", "DirectionsWalk", "DirtyLens", "DisabledByDefault", "DiscFull", "Discount", "DisplaySettings", "Diversity1", "Diversity2", "Diversity3", "Dns", "DoDisturb", "DoDisturbAlt", "DoDisturbOff", "DoDisturbOn", "DoNotDisturb", "DoNotDisturbAlt", "DoNotDisturbOff", "DoNotDisturbOn", "DoNotDisturbOnTotalSilence", "DoNotStep", "DoNotTouch", "Dock", "DocumentScanner", "Domain", "DomainAdd", "DomainDisabled", "DomainVerification", "Done", "DoneAll", "DoneOutline", "DonutLarge", "DonutSmall", "DoorBack", "DoorFront", "DoorSliding", "Doorbell", "DoubleArrow", "DownhillSkiing", "Download", "DownloadDone", "DownloadForOffline", "Downloading", "Drafts", "DragHandle", "DragIndicator", "Draw", "DriveEta", "DriveFileMove", "DriveFileRenameOutline", "DriveFolderUpload", "Dry", "DryCleaning", "Duo", "Dvr", "DynamicFeed", "DynamicForm", "EMobiledata", "Earbuds", "EarbudsBattery", "East", "EdgesensorHigh", "EdgesensorLow", "Edit", "EditAttributes", "EditCalendar", "EditLocation", "EditLocationAlt", "EditNote", "EditNotifications", "EditOff", "EditRoad", "Egg", "EggAlt", "EightK", "EightKPlus", "EightMp", "EighteenMp", "EighteenUpRating", "EightteenMp", "Eject", "Elderly", "ElderlyWoman", "ElectricBike", "ElectricBolt", "ElectricCar", "ElectricMeter", "ElectricMoped", "ElectricRickshaw", "ElectricScooter", "ElectricalServices", "Elevator", "ElevenMp", "Email", "EmergencyRecording", "EmergencyShare", "EmojiEmotions", "EmojiEvents", "EmojiFlags", "EmojiFoodBeverage", "EmojiNature", "EmojiObjects", "EmojiPeople", "EmojiSymbols", "EmojiTransportation", "EnergySavingsLeaf", "Engineering", "EnhancedEncryption", "Equalizer", "Error", "ErrorOutline", "Escalator", "EscalatorWarning", "Euro", "EuroSymbol", "EvStation", "Event", "EventAvailable", "EventBusy", "EventNote", "EventRepeat", "EventSeat", "ExitToApp", "Expand", "ExpandCircleDown", "ExpandLess", "ExpandMore", "Explicit", "Explore", "ExploreOff", "Exposure", "Extension", "ExtensionOff", "Face", "Face2", "Face3", "Face4", "Face5", "Face6", "FaceRetouchingNatural", "FaceRetouchingOff", "Facebook", "FactCheck", "Factory", "FamilyRestroom", "FastForward", "FastRewind", "Fastfood", "Favorite", "FavoriteBorder", "Fax", "FeaturedPlayList", "FeaturedVideo", "Feed", "Feedback", "Female", "Fence", "Festival", "FiberDvr", "FiberManualRecord", "FiberNew", "FiberPin", "FiberSmartRecord", "FifteenMp", "FileCopy", "FileDownload", "FileDownloadDone", "FileDownloadOff", "FileOpen", "FilePresent", "FileUpload", "Filter", "Filter1", "Filter2", "Filter3", "Filter4", "Filter5", "Filter6", "Filter7", "Filter8", "Filter9", "Filter9Plus", "FilterAlt", "FilterAltOff", "FilterBAndW", "FilterCenterFocus", "FilterDrama", "FilterFrames", "FilterHdr", "FilterList", "FilterListOff", "FilterNone", "FilterTiltShift", "FilterVintage", "FindInPage", "FindReplace", "Fingerprint", "FireExtinguisher", "FireHydrantAlt", "FireTruck", "Fireplace", "FirstPage", "FitScreen", "Fitbit", "FitnessCenter", "FiveG", "FiveK", "FiveKPlus", "FiveMp", "FivteenMp", "Flag", "FlagCircle", "Flaky", "Flare", "FlashAuto", "FlashOff", "FlashOn", "FlashlightOff", "FlashlightOn", "Flatware", "Flight", "FlightClass", "FlightLand", "FlightTakeoff", "Flip", "FlipCameraAndroid", "FlipCameraIos", "FlipToBack", "FlipToFront", "Flood", "Fluorescent", "FlutterDash", "FmdBad", "FmdGood", "Folder", "FolderCopy", "FolderDelete", "FolderOff", "FolderOpen", "FolderShared", "FolderSpecial", "FolderZip", "FollowTheSigns", "FontDownload", "FontDownloadOff", "FoodBank", "Forest", "ForkLeft", "ForkRight", "FormatAlignCenter", "FormatAlignJustify", "FormatAlignLeft", "FormatAlignRight", "FormatBold", "FormatClear", "FormatColorFill", "FormatColorReset", "FormatColorText", "FormatIndentDecrease", "FormatIndentIncrease", "FormatItalic", "FormatLineSpacing", "FormatListBulleted", "FormatListNumbered", "FormatListNumberedRtl", "FormatOverline", "FormatPaint", "FormatQuote", "FormatShapes", "FormatSize", "FormatStrikethrough", "FormatTextdirectionLToR", "FormatTextdirectionRToL", "FormatUnderlined", "Fort", "Forum", "Forward", "Forward10", "Forward30", "Forward5", "ForwardToInbox", "Foundation", "FourGMobiledata", "FourGPlusMobiledata", "FourK", "FourKPlus", "FourMp", "FourteenMp", "FreeBreakfast", "Fullscreen", "FullscreenExit", "Functions", "GMobiledata", "GTranslate", "Gamepad", "Games", "Garage", "GasMeter", "Gavel", "Gesture", "GetApp", "Gif", "GifBox", "Girl", "GitHub", "Gite", "GolfCourse", "Google", "GppBad", "GppGood", "GppMaybe", "GpsFixed", "GpsNotFixed", "GpsOff", "Grade", "Gradient", "Grading", "Grain", "GraphicEq", "Grass", "Grid3x3", "Grid4x4", "GridGoldenratio", "GridOff", "GridOn", "GridView", "Group", "GroupAdd", "GroupRemove", "GroupWork", "Groups", "Groups2", "Groups3", "HMobiledata", "HPlusMobiledata", "Hail", "Handshake", "Handyman", "Hardware", "Hd", "HdrAuto", "HdrAutoSelect", "HdrEnhancedSelect", "HdrOff", "HdrOffSelect", "HdrOn", "HdrOnSelect", "HdrPlus", "HdrStrong", "HdrWeak", "Headphones", "HeadphonesBattery", "Headset", "HeadsetMic", "HeadsetOff", "Healing", "HealthAndSafety", "Hearing", "HearingDisabled", "HeartBroken", "HeatPump", "Height", "Help", "HelpCenter", "HelpOutline", "Hevc", "Hexagon", "HideImage", "HideSource", "HighQuality", "Highlight", "HighlightAlt", "HighlightOff", "Hiking", "History", "HistoryEdu", "HistoryToggleOff", "Hive", "Hls", "HlsOff", "HolidayVillage", "Home", "HomeMax", "HomeMini", "HomeRepairService", "HomeWork", "HorizontalRule", "HorizontalSplit", "HotTub", "Hotel", "HourglassBottom", "HourglassDisabled", "HourglassEmpty", "HourglassFull", "HourglassTop", "House", "HouseSiding", "Houseboat", "HowToReg", "HowToVote", "Html", "Http", "Https", "Hub", "Hvac", "IceSkating", "Icecream", "Image", "ImageAspectRatio", "ImageNotSupported", "ImageSearch", "ImagesearchRoller", "ImportContacts", "ImportExport", "ImportantDevices", "Inbox", "IndeterminateCheckBox", "Info", "Input", "InsertChart", "InsertComment", "InsertDriveFile", "InsertEmoticon", "InsertInvitation", "InsertLink", "InsertPageBreak", "InsertPhoto", "Insights", "Instagram", "InstallDesktop", "InstallMobile", "IntegrationInstructions", "Interests", "InterpreterMode", "Inventory", "Inventory2", "InvertColors", "InvertColorsOff", "IosShare", "Iron", "Iso", "Javascript", "JoinFull", "JoinInner", "JoinLeft", "JoinRight", "Kayaking", "KebabDining", "Key", "KeyOff", "Keyboard", "KeyboardAlt", "KeyboardArrowDown", "KeyboardArrowLeft", "KeyboardArrowRight", "KeyboardArrowUp", "KeyboardBackspace", "KeyboardCapslock", "KeyboardCommandKey", "KeyboardControlKey", "KeyboardDoubleArrowDown", "KeyboardDoubleArrowLeft", "KeyboardDoubleArrowRight", "KeyboardDoubleArrowUp", "KeyboardHide", "KeyboardOptionKey", "KeyboardReturn", "KeyboardTab", "KeyboardVoice", "KingBed", "Kitchen", "Kitesurfing", "Label", "LabelImportant", "LabelOff", "Lan", "Landscape", "Landslide", "Language", "Laptop", "LaptopChromebook", "LaptopMac", "LaptopWindows", "LastPage", "Launch", "Layers", "LayersClear", "Leaderboard", "LeakAdd", "LeakRemove", "LegendToggle", "Lens", "LensBlur", "LibraryAdd", "LibraryAddCheck", "LibraryBooks", "LibraryMusic", "Light", "LightMode", "Lightbulb", "LightbulbCircle", "LineAxis", "LineStyle", "LineWeight", "LinearScale", "Link", "LinkOff", "LinkedCamera", "LinkedIn", "Liquor", "List", "ListAlt", "LiveHelp", "LiveTv", "Living", "LocalActivity", "LocalAirport", "LocalAtm", "LocalBar", "LocalCafe", "LocalCarWash", "LocalConvenienceStore", "LocalDining", "LocalDrink", "LocalFireDepartment", "LocalFlorist", "LocalGasStation", "LocalGroceryStore", "LocalHospital", "LocalHotel", "LocalLaundryService", "LocalLibrary", "LocalMall", "LocalMovies", "LocalOffer", "LocalParking", "LocalPharmacy", "LocalPhone", "LocalPizza", "LocalPlay", "LocalPolice", "LocalPostOffice", "LocalPrintshop", "LocalSee", "LocalShipping", "LocalTaxi", "LocationCity", "LocationDisabled", "LocationOff", "LocationOn", "LocationSearching", "Lock", "LockClock", "LockOpen", "LockPerson", "LockReset", "Login", "LogoDev", "Logout", "Looks", "Looks3", "Looks4", "Looks5", "Looks6", "LooksOne", "LooksTwo", "Loop", "Loupe", "LowPriority", "Loyalty", "LteMobiledata", "LtePlusMobiledata", "Luggage", "LunchDining", "Lyrics", "MacroOff", "Mail", "MailLock", "MailOutline", "Male", "Man", "Man2", "Man3", "Man4", "ManageAccounts", "ManageHistory", "ManageSearch", "Map", "MapsHomeWork", "MapsUgc", "Margin", "MarkAsUnread", "MarkChatRead", "MarkChatUnread", "MarkEmailRead", "MarkEmailUnread", "MarkUnreadChatAlt", "Markunread", "MarkunreadMailbox", "Masks", "Maximize", "MediaBluetoothOff", "MediaBluetoothOn", "Mediation", "MedicalInformation", "MedicalServices", "Medication", "MedicationLiquid", "MeetingRoom", "Memory", "Menu", "MenuBook", "MenuOpen", "Merge", "MergeType", "Message", "Mic", "MicExternalOff", "MicExternalOn", "MicNone", "MicOff", "Microsoft", "Microwave", "MilitaryTech", "Minimize", "MinorCrash", "MiscellaneousServices", "MissedVideoCall", "Mms", "MobileFriendly", "MobileOff", "MobileScreenShare", "MobiledataOff", "Mode", "ModeComment", "ModeEdit", "ModeEditOutline", "ModeFanOff", "ModeNight", "ModeOfTravel", "ModeStandby", "ModelTraining", "MonetizationOn", "Money", "MoneyOff", "MoneyOffCsred", "Monitor", "MonitorHeart", "MonitorWeight", "MonochromePhotos", "Mood", "MoodBad", "Moped", "More", "MoreHoriz", "MoreTime", "MoreVert", "Mosque", "MotionPhotosAuto", "MotionPhotosOff", "Mouse", "MoveDown", "MoveToInbox", "MoveUp", "Movie", "MovieCreation", "MovieFilter", "Moving", "Mp", "MultilineChart", "MultipleStop", "Museum", "MusicNote", "MusicOff", "MusicVideo", "MyLocation", "Nat", "Nature", "NaturePeople", "NavigateBefore", "NavigateNext", "Navigation", "NearMe", "NearMeDisabled", "NearbyError", "NearbyOff", "NestCamWiredStand", "NetworkCell", "NetworkCheck", "NetworkLocked", "NetworkPing", "NetworkWifi", "NetworkWifi1Bar", "NetworkWifi2Bar", "NetworkWifi3Bar", "NewReleases", "Newspaper", "NextPlan", "NextWeek", "Nfc", "NightShelter", "Nightlife", "Nightlight", "NightlightRound", "NightsStay", "NineK", "NineKPlus", "NineMp", "NineteenMp", "NoAccounts", "NoAdultContent", "NoBackpack", "NoCell", "NoCrash", "NoDrinks", "NoEncryption", "NoEncryptionGmailerrorred", "NoFlash", "NoFood", "NoLuggage", "NoMeals", "NoMeetingRoom", "NoPhotography", "NoSim", "NoStroller", "NoTransfer", "NoiseAware", "NoiseControlOff", "NordicWalking", "North", "NorthEast", "NorthWest", "NotAccessible", "NotInterested", "NotListedLocation", "NotStarted", "Note", "NoteAdd", "NoteAlt", "Notes", "NotificationAdd", "NotificationImportant", "Notifications", "NotificationsActive", "NotificationsNone", "NotificationsOff", "NotificationsPaused", "Numbers", "OfflineBolt", "OfflinePin", "OfflineShare", "OilBarrel", "OnDeviceTraining", "OndemandVideo", "OneK", "OneKPlus", "OneKk", "OnlinePrediction", "Opacity", "OpenInBrowser", "OpenInFull", "OpenInNew", "OpenInNewOff", "OpenWith", "OtherHouses", "Outbound", "Outbox", "OutdoorGrill", "Outlet", "Output", "Padding", "Pages", "Pageview", "Paid", "Palette", "PanTool", "PanToolAlt", "Panorama", "PanoramaFishEye", "PanoramaHorizontal", "PanoramaHorizontalSelect", "PanoramaPhotosphere", "PanoramaPhotosphereSelect", "PanoramaVertical", "PanoramaVerticalSelect", "PanoramaWideAngle", "PanoramaWideAngleSelect", "Paragliding", "Park", "PartyMode", "Password", "Pattern", "Pause", "PauseCircle", "PauseCircleFilled", "PauseCircleOutline", "PausePresentation", "Payment", "Payments", "PedalBike", "Pending", "PendingActions", "Pentagon", "People", "PeopleAlt", "PeopleOutline", "Percent", "PermCameraMic", "PermContactCalendar", "PermDataSetting", "PermDeviceInformation", "PermIdentity", "PermMedia", "PermPhoneMsg", "PermScanWifi", "Person", "Person2", "Person3", "Person4", "PersonAdd", "PersonAddAlt", "PersonAddAlt1", "PersonAddDisabled", "PersonOff", "PersonOutline", "PersonPin", "PersonPinCircle", "PersonRemove", "PersonRemoveAlt1", "PersonSearch", "PersonalVideo", "PestControl", "PestControlRodent", "Pets", "Phishing", "Phone", "PhoneAndroid", "PhoneBluetoothSpeaker", "PhoneCallback", "PhoneDisabled", "PhoneEnabled", "PhoneForwarded", "PhoneInTalk", "PhoneIphone", "PhoneLocked", "PhoneMissed", "PhonePaused", "Phonelink", "PhonelinkErase", "PhonelinkLock", "PhonelinkOff", "PhonelinkRing", "PhonelinkSetup", "Photo", "PhotoAlbum", "PhotoCamera", "PhotoCameraBack", "PhotoCameraFront", "PhotoFilter", "PhotoLibrary", "PhotoSizeSelectActual", "PhotoSizeSelectLarge", "PhotoSizeSelectSmall", "Php", "Piano", "PianoOff", "PictureAsPdf", "PictureInPicture", "PictureInPictureAlt", "PieChart", "PieChartOutline", "Pin", "PinDrop", "Pinch", "Pinterest", "PivotTableChart", "Pix", "Place", "Plagiarism", "PlayArrow", "PlayCircle", "PlayCircleFilled", "PlayCircleFilledWhite", "PlayCircleOutline", "PlayDisabled", "PlayForWork", "PlayLesson", "PlaylistAdd", "PlaylistAddCheck", "PlaylistAddCheckCircle", "PlaylistAddCircle", "PlaylistPlay", "PlaylistRemove", "Plumbing", "PlusOne", "Podcasts", "PointOfSale", "Policy", "Poll", "Polyline", "Pool", "PortableWifiOff", "Portrait", "PostAdd", "Power", "PowerInput", "PowerOff", "PowerSettingsNew", "PrecisionManufacturing", "PregnantWoman", "PresentToAll", "Preview", "PriceChange", "PriceCheck", "Print", "PrintDisabled", "PriorityHigh", "PrivacyTip", "ProductionQuantityLimits", "Propane", "PropaneTank", "Psychology", "PsychologyAlt", "Public", "PublicOff", "Publish", "PublishedWithChanges", "PunchClock", "PushPin", "QrCode", "QrCode2", "QrCodeScanner", "QueryBuilder", "QueryStats", "QuestionAnswer", "QuestionMark", "Queue", "QueueMusic", "QueuePlayNext", "Quickreply", "Quiz", "RMobiledata", "Radar", "Radio", "RadioButtonChecked", "RadioButtonUnchecked", "RailwayAlert", "RamenDining", "RampLeft", "RampRight", "RateReview", "RawOff", "RawOn", "ReadMore", "Receipt", "ReceiptLong", "RecentActors", "Recommend", "RecordVoiceOver", "Rectangle", "Recycling", "Reddit", "Redeem", "Redo", "ReduceCapacity", "Refresh", "RememberMe", "Remove", "RemoveCircle", "RemoveCircleOutline", "RemoveDone", "RemoveFromQueue", "RemoveModerator", "RemoveRedEye", "RemoveRoad", "RemoveShoppingCart", "Reorder", "Repartition", "Repeat", "RepeatOn", "RepeatOne", "RepeatOneOn", "Replay", "Replay10", "Replay30", "Replay5", "ReplayCircleFilled", "Reply", "ReplyAll", "Report", "ReportGmailerrorred", "ReportOff", "ReportProblem", "RequestPage", "RequestQuote", "ResetTv", "RestartAlt", "Restaurant", "RestaurantMenu", "Restore", "RestoreFromTrash", "RestorePage", "Reviews", "RiceBowl", "RingVolume", "Rocket", "RocketLaunch", "RollerShades", "RollerShadesClosed", "RollerSkating", "Roofing", "Room", "RoomPreferences", "RoomService", "Rotate90DegreesCcw", "Rotate90DegreesCw", "RotateLeft", "RotateRight", "RoundaboutLeft", "RoundaboutRight", "Route", "Router", "Rowing", "RssFeed", "Rsvp", "Rtt", "Rule", "RuleFolder", "RunCircle", "RunningWithErrors", "RvHookup", "SafetyCheck", "SafetyDivider", "Sailing", "Sanitizer", "Satellite", "SatelliteAlt", "Save", "SaveAlt", "SaveAs", "SavedSearch", "Savings", "Scale", "Scanner", "ScatterPlot", "Schedule", "ScheduleSend", "Schema", "School", "Science", "Score", "Scoreboard", "ScreenLockLandscape", "ScreenLockPortrait", "ScreenLockRotation", "ScreenRotation", "ScreenRotationAlt", "ScreenSearchDesktop", "ScreenShare", "Screenshot", "ScreenshotMonitor", "ScubaDiving", "Sd", "SdCard", "SdCardAlert", "SdStorage", "Search", "SearchOff", "Security", "SecurityUpdate", "SecurityUpdateGood", "SecurityUpdateWarning", "Segment", "SelectAll", "SelfImprovement", "Sell", "Send", "SendAndArchive", "SendTimeExtension", "SendToMobile", "SensorDoor", "SensorOccupied", "SensorWindow", "Sensors", "SensorsOff", "SentimentDissatisfied", "SentimentNeutral", "SentimentSatisfied", "SentimentSatisfiedAlt", "SentimentVeryDissatisfied", "SentimentVerySatisfied", "SetMeal", "Settings", "SettingsAccessibility", "SettingsApplications", "SettingsBackupRestore", "SettingsBluetooth", "SettingsBrightness", "SettingsCell", "SettingsEthernet", "SettingsInputAntenna", "SettingsInputComponent", "SettingsInputComposite", "SettingsInputHdmi", "SettingsInputSvideo", "SettingsOverscan", "SettingsPhone", "SettingsPower", "SettingsRemote", "SettingsSuggest", "SettingsSystemDaydream", "SettingsVoice", "SevenK", "SevenKPlus", "SevenMp", "SeventeenMp", "SevereCold", "ShapeLine", "Share", "ShareLocation", "Shield", "ShieldMoon", "Shop", "Shop2", "ShopTwo", "ShoppingBag", "ShoppingBasket", "ShoppingCart", "ShoppingCartCheckout", "ShortText", "Shortcut", "ShowChart", "Shower", "Shuffle", "ShuffleOn", "ShutterSpeed", "Sick", "SignLanguage", "SignalCellular0Bar", "SignalCellular1Bar", "SignalCellular2Bar", "SignalCellular3Bar", "SignalCellular4Bar", "SignalCellularAlt", "SignalCellularAlt1Bar", "SignalCellularAlt2Bar", "SignalCellularConnectedNoInternet0Bar", "SignalCellularConnectedNoInternet1Bar", "SignalCellularConnectedNoInternet2Bar", "SignalCellularConnectedNoInternet3Bar", "SignalCellularConnectedNoInternet4Bar", "SignalCellularNoSim", "SignalCellularNodata", "SignalCellularNull", "SignalCellularOff", "SignalWifi0Bar", "SignalWifi1Bar", "SignalWifi1BarLock", "SignalWifi2Bar", "SignalWifi2BarLock", "SignalWifi3Bar", "SignalWifi3BarLock", "SignalWifi4Bar", "SignalWifi4BarLock", "SignalWifiBad", "SignalWifiConnectedNoInternet4", "SignalWifiOff", "SignalWifiStatusbar4Bar", "SignalWifiStatusbarConnectedNoInternet4", "SignalWifiStatusbarNull", "Signpost", "SimCard", "SimCardAlert", "SimCardDownload", "SingleBed", "Sip", "SixK", "SixKPlus", "SixMp", "SixteenMp", "SixtyFps", "SixtyFpsSelect", "Skateboarding", "SkipNext", "SkipPrevious", "Sledding", "Slideshow", "SlowMotionVideo", "SmartButton", "SmartDisplay", "SmartScreen", "SmartToy", "Smartphone", "SmokeFree", "SmokingRooms", "Sms", "SmsFailed", "SnippetFolder", "Snooze", "Snowboarding", "Snowmobile", "Snowshoeing", "Soap", "SocialDistance", "SolarPower", "Sort", "SortByAlpha", "Sos", "SoupKitchen", "Source", "South", "SouthAmerica", "SouthEast", "SouthWest", "Spa", "SpaceBar", "SpaceDashboard", "SpatialAudio", "SpatialAudioOff", "SpatialTracking", "Speaker", "SpeakerGroup", "SpeakerNotes", "SpeakerNotesOff", "SpeakerPhone", "Speed", "Spellcheck", "Splitscreen", "Spoke", "Sports", "SportsBar", "SportsBaseball", "SportsBasketball", "SportsCricket", "SportsEsports", "SportsFootball", "SportsGolf", "SportsGymnastics", "SportsHandball", "SportsHockey", "SportsKabaddi", "SportsMartialArts", "SportsMma", "SportsMotorsports", "SportsRugby", "SportsScore", "SportsSoccer", "SportsTennis", "SportsVolleyball", "Square", "SquareFoot", "SsidChart", "StackedBarChart", "StackedLineChart", "Stadium", "Stairs", "Star", "StarBorder", "StarBorderPurple500", "StarHalf", "StarOutline", "StarPurple500", "StarRate", "Stars", "Start", "StayCurrentLandscape", "StayCurrentPortrait", "StayPrimaryLandscape", "StayPrimaryPortrait", "StickyNote2", "Stop", "StopCircle", "StopScreenShare", "Storage", "Store", "StoreMallDirectory", "Storefront", "Storm", "Straight", "Straighten", "Stream", "Streetview", "StrikethroughS", "Stroller", "Style", "SubdirectoryArrowLeft", "SubdirectoryArrowRight", "Subject", "Subscript", "Subscriptions", "Subtitles", "SubtitlesOff", "Subway", "Summarize", "Superscript", "SupervisedUserCircle", "SupervisorAccount", "Support", "SupportAgent", "Surfing", "SurroundSound", "SwapCalls", "SwapHoriz", "SwapHorizontalCircle", "SwapVert", "SwapVerticalCircle", "Swipe", "SwipeDown", "SwipeDownAlt", "SwipeLeft", "SwipeLeftAlt", "SwipeRight", "SwipeRightAlt", "SwipeUp", "SwipeUpAlt", "SwipeVertical", "SwitchAccessShortcut", "SwitchAccessShortcutAdd", "SwitchAccount", "SwitchCamera", "SwitchLeft", "SwitchRight", "SwitchVideo", "Synagogue", "Sync", "SyncAlt", "SyncDisabled", "SyncLock", "SyncProblem", "SystemSecurityUpdate", "SystemSecurityUpdateGood", "SystemSecurityUpdateWarning", "SystemUpdate", "SystemUpdateAlt", "Tab", "TabUnselected", "TableBar", "TableChart", "TableRestaurant", "TableRows", "TableView", "Tablet", "TabletAndroid", "TabletMac", "Tag", "TagFaces", "TakeoutDining", "TapAndPlay", "Tapas", "Task", "TaskAlt", "TaxiAlert", "Telegram", "TempleBuddhist", "TempleHindu", "TenMp", "Terminal", "Terrain", "TextDecrease", "TextFields", "TextFormat", "TextIncrease", "TextRotateUp", "TextRotateVertical", "TextRotationAngledown", "TextRotationAngleup", "TextRotationDown", "TextRotationNone", "TextSnippet", "Textsms", "Texture", "TheaterComedy", "Theaters", "Thermostat", "ThermostatAuto", "ThirteenMp", "ThirtyFps", "ThirtyFpsSelect", "ThreeDRotation", "ThreeGMobiledata", "ThreeK", "ThreeKPlus", "ThreeMp", "ThreeP", "ThreeSixty", "ThumbDown", "ThumbDownAlt", "ThumbDownOffAlt", "ThumbUp", "ThumbUpAlt", "ThumbUpOffAlt", "ThumbsUpDown", "Thunderstorm", "TimeToLeave", "Timelapse", "Timeline", "Timer", "Timer10", "Timer10Select", "Timer3", "Timer3Select", "TimerOff", "TimesOneMobiledata", "TipsAndUpdates", "TireRepair", "Title", "Toc", "Today", "ToggleOff", "ToggleOn", "Token", "Toll", "Tonality", "Topic", "Tornado", "TouchApp", "Tour", "Toys", "TrackChanges", "Traffic", "Train", "Tram", "Transcribe", "TransferWithinAStation", "Transform", "Transgender", "TransitEnterexit", "Translate", "TravelExplore", "TrendingDown", "TrendingFlat", "TrendingUp", "TripOrigin", "Troubleshoot", "Try", "Tsunami", "Tty", "Tune", "Tungsten", "TurnLeft", "TurnRight", "TurnSlightLeft", "TurnSlightRight", "TurnedIn", "TurnedInNot", "Tv", "TvOff", "TwelveMp", "TwentyFourMp", "TwentyOneMp", "TwentyThreeMp", "TwentyTwoMp", "TwentyZeroMp", "Twitter", "TwoK", "TwoKPlus", "TwoMp", "TwoWheeler", "TypeSpecimen", "UTurnLeft", "UTurnRight", "Umbrella", "Unarchive", "Undo", "UnfoldLess", "UnfoldLessDouble", "UnfoldMore", "UnfoldMoreDouble", "Unpublished", "Unsubscribe", "Upcoming", "Update", "UpdateDisabled", "Upgrade", "Upload", "UploadFile", "Usb", "UsbOff", "Vaccines", "VapeFree", "VapingRooms", "Verified", "VerifiedUser", "VerticalAlignBottom", "VerticalAlignCenter", "VerticalAlignTop", "VerticalShades", "VerticalShadesClosed", "VerticalSplit", "Vibration", "VideoCall", "VideoCameraBack", "VideoCameraFront", "VideoChat", "VideoFile", "VideoLabel", "VideoLibrary", "VideoSettings", "VideoStable", "Videocam", "VideocamOff", "VideogameAsset", "VideogameAssetOff", "ViewAgenda", "ViewArray", "ViewCarousel", "ViewColumn", "ViewComfy", "ViewComfyAlt", "ViewCompact", "ViewCompactAlt", "ViewCozy", "ViewDay", "ViewHeadline", "ViewInAr", "ViewKanban", "ViewList", "ViewModule", "ViewQuilt", "ViewSidebar", "ViewStream", "ViewTimeline", "ViewWeek", "Vignette", "Villa", "Visibility", "VisibilityOff", "VoiceChat", "VoiceOverOff", "Voicemail", "Volcano", "VolumeDown", "VolumeMute", "VolumeOff", "VolumeUp", "VolunteerActivism", "VpnKey", "VpnKeyOff", "VpnLock", "Vrpano", "Wallet", "Wallpaper", "Warehouse", "Warning", "WarningAmber", "Wash", "Watch", "WatchLater", "WatchOff", "Water", "WaterDamage", "WaterDrop", "WaterfallChart", "Waves", "WavingHand", "WbAuto", "WbCloudy", "WbIncandescent", "WbIridescent", "WbShade", "WbSunny", "WbTwilight", "Wc", "Web", "WebAsset", "WebAssetOff", "WebStories", "Webhook", "Weekend", "West", "WhatsApp", "Whatshot", "WheelchairPickup", "WhereToVote", "Widgets", "WidthFull", "WidthNormal", "WidthWide", "Wifi", "Wifi1Bar", "Wifi2Bar", "WifiCalling", "WifiCalling3", "WifiChannel", "WifiFind", "WifiLock", "WifiOff", "WifiPassword", "WifiProtectedSetup", "WifiTethering", "WifiTetheringError", "WifiTetheringOff", "WindPower", "Window", "WineBar", "Woman", "Woman2", "Work", "WorkHistory", "WorkOff", "WorkOutline", "WorkspacePremium", "Workspaces", "WrapText", "WrongLocation", "Wysiwyg", "Yard", "YouTube", "YoutubeSearchedFor", "ZoomIn", "ZoomInMap", "ZoomOut", "ZoomOutMap"];
|
2
|
+
export default MUIFilledIcons;
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { useMemo } from "react";
|
2
2
|
import { FormControl, Grid, ListItemIcon, ListSubheader, MenuItem, Select, Typography } from "@mui/material";
|
3
|
-
import { getBreakPointsValue } from "../../../helper/theme";
|
3
|
+
import { getBreakPointsValue, getElementStyle } from "../../../helper/theme";
|
4
4
|
import useWindowResize from "../../../hooks/useWindowResize";
|
5
|
+
import { useSlateStatic } from "slate-react";
|
5
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
7
8
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
@@ -22,10 +23,19 @@ const TextOptions = props => {
|
|
22
23
|
isBreakpoint,
|
23
24
|
options,
|
24
25
|
renderOption,
|
25
|
-
width
|
26
|
+
width,
|
27
|
+
themeEnabled
|
26
28
|
} = data;
|
27
29
|
const [size] = useWindowResize();
|
28
|
-
const
|
30
|
+
const editor = useSlateStatic();
|
31
|
+
const value = useMemo(() => {
|
32
|
+
const userValue = isBreakpoint ? getBreakPointsValue(val, size?.device) : val;
|
33
|
+
if (themeEnabled) {
|
34
|
+
// editor takes a little amount of time to update the new style in element, in that case userValue will be returned
|
35
|
+
return getElementStyle(editor, elementProps, key) || userValue;
|
36
|
+
}
|
37
|
+
return userValue;
|
38
|
+
}, [editor, isBreakpoint, val, size?.device]);
|
29
39
|
const metaDataMappingOptions = metaMappings?.boards || [];
|
30
40
|
const updatedOption = elementProps?.metadatamapping ? [...options, ...metaDataMappingOptions] : options;
|
31
41
|
const handleChange = (e, d) => {
|
@@ -129,32 +129,31 @@ const formStyle = [{
|
|
129
129
|
key: "backgroundImage",
|
130
130
|
type: "backgroundImage"
|
131
131
|
}]
|
132
|
-
},
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
{
|
132
|
+
}, {
|
133
|
+
tab: "Add to Boards",
|
134
|
+
value: "metadatamapping",
|
135
|
+
fields: [{
|
136
|
+
label: "Add response to contacts board",
|
137
|
+
key: "metadatamapping",
|
138
|
+
type: "metadatamapping",
|
139
|
+
compType: "card",
|
140
|
+
content: "By default, form responses are added as separate cards on the default contact board.",
|
141
|
+
value: "mappingToContactBoard",
|
142
|
+
infoIcon: /*#__PURE__*/_jsx(Icon, {
|
143
|
+
icon: "info"
|
144
|
+
})
|
145
|
+
}, {
|
146
|
+
label: "Create a separate board",
|
147
|
+
key: "metadatamapping",
|
148
|
+
type: "metadatamapping",
|
149
|
+
compType: "card",
|
150
|
+
content: "By default, form responses are added as separate cards on a new board (Contact Us).",
|
151
|
+
value: "mappingToSeparateBoard",
|
152
|
+
infoIcon: /*#__PURE__*/_jsx(Icon, {
|
153
|
+
icon: "info"
|
154
|
+
})
|
155
|
+
}]
|
156
|
+
}, {
|
158
157
|
tab: "Save As Template",
|
159
158
|
value: "saveAsTemplate",
|
160
159
|
needActions: false,
|
@@ -139,4 +139,19 @@ export const isEmptyTextNode = element => {
|
|
139
139
|
console.log(err);
|
140
140
|
return false;
|
141
141
|
}
|
142
|
+
};
|
143
|
+
export const debounce = function (func, wait, immediate) {
|
144
|
+
let timeout;
|
145
|
+
return function () {
|
146
|
+
const context = this,
|
147
|
+
args = arguments,
|
148
|
+
later = function () {
|
149
|
+
timeout = null;
|
150
|
+
if (!immediate) func.apply(context, args);
|
151
|
+
},
|
152
|
+
callNow = immediate && !timeout;
|
153
|
+
clearTimeout(timeout);
|
154
|
+
timeout = setTimeout(later, wait);
|
155
|
+
if (callNow) func.apply(context, args);
|
156
|
+
};
|
142
157
|
};
|
@@ -1,4 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { ReactEditor } from "slate-react";
|
2
|
+
import { fontFamilyMap, sizeMap } from "../utils/font";
|
3
|
+
import { Editor, Node } from "slate";
|
2
4
|
export const breakpoints = {
|
3
5
|
small: 0,
|
4
6
|
mobile: 600,
|
@@ -27,7 +29,7 @@ const overrideValues = (value, ot) => {
|
|
27
29
|
return Object.keys(value).reduce((a, b) => {
|
28
30
|
return {
|
29
31
|
...a,
|
30
|
-
[b]: overrides[ot] ? overrides[ot](value[b]) : value
|
32
|
+
[b]: overrides[ot] ? overrides[ot](value[b], value) : value
|
31
33
|
};
|
32
34
|
}, {});
|
33
35
|
};
|
@@ -44,7 +46,15 @@ const overrides = {
|
|
44
46
|
overrideReSizeH: val => {
|
45
47
|
return `${val?.height}px`;
|
46
48
|
},
|
47
|
-
overrideBorderRadius: val => {
|
49
|
+
overrideBorderRadius: (val, breakpointValues) => {
|
50
|
+
if (!val?.topLeft) {
|
51
|
+
Object.values(breakpointValues || {}).forEach(v => {
|
52
|
+
if (v) {
|
53
|
+
// Applying the values from breakpoints that exist to those that do not have
|
54
|
+
val = v;
|
55
|
+
}
|
56
|
+
});
|
57
|
+
}
|
48
58
|
return `${val?.topLeft}px ${val?.topRight}px ${val?.bottomLeft}px ${val?.bottomRight}px`;
|
49
59
|
}
|
50
60
|
};
|
@@ -97,4 +107,180 @@ export const getTRBLBreakPoints = (value, breakpoint) => {
|
|
97
107
|
} catch (err) {
|
98
108
|
console.log(err);
|
99
109
|
}
|
100
|
-
};
|
110
|
+
};
|
111
|
+
export function getElementStyle(editor, element, stylePropertyName) {
|
112
|
+
try {
|
113
|
+
const path = ReactEditor.findPath(editor, element);
|
114
|
+
if (path?.length) {
|
115
|
+
const currentEle = Node.get(editor, path);
|
116
|
+
const dom = ReactEditor.toDOMNode(editor, currentEle);
|
117
|
+
const editorBtn = dom?.querySelector("button.theme-element");
|
118
|
+
const elementStyle = window.getComputedStyle(editorBtn);
|
119
|
+
const style = elementStyle[stylePropertyName];
|
120
|
+
if (stylePropertyName === "fontFamily") {
|
121
|
+
const val = Object.entries(fontFamilyMap).find(([key, value]) => value === style)?.[0];
|
122
|
+
return val;
|
123
|
+
}
|
124
|
+
return style;
|
125
|
+
}
|
126
|
+
} catch (err) {
|
127
|
+
// console.log(err);
|
128
|
+
}
|
129
|
+
}
|
130
|
+
export function getTextSizeVal(editor) {
|
131
|
+
try {
|
132
|
+
const currentNode = Node.get(editor, editor.selection.anchor.path);
|
133
|
+
const currentElement = ReactEditor.toDOMNode(editor, currentNode);
|
134
|
+
if (currentElement) {
|
135
|
+
const element = document.querySelector('span[data-slate-string="true"]');
|
136
|
+
const computedStyle = window.getComputedStyle(element);
|
137
|
+
return computedStyle.getPropertyValue("font-size") || "";
|
138
|
+
}
|
139
|
+
} catch (err) {
|
140
|
+
// console.log(err);
|
141
|
+
}
|
142
|
+
}
|
143
|
+
export function getVariableValue(val) {
|
144
|
+
const bodyElement = document.body;
|
145
|
+
const computedStyle = getComputedStyle(bodyElement);
|
146
|
+
const [, variableName] = val?.match(/var\((--[^)]+)\)/) || [];
|
147
|
+
const varValue = computedStyle.getPropertyValue(variableName).trim();
|
148
|
+
return varValue;
|
149
|
+
}
|
150
|
+
export const textThemeFields = ["fontFamily", "fontSize", "color", "bold", "italic"
|
151
|
+
// "underline",
|
152
|
+
// "strikethrough",
|
153
|
+
];
|
154
|
+
|
155
|
+
const themeElements = ["headingOne", "headingTwo", "headingThree", "headingFour", "headingFive", "headingSix", "paragraphOne", "paragraphTwo", "paragraphThree"];
|
156
|
+
export const isTextCustomized = editor => {
|
157
|
+
try {
|
158
|
+
if (editor.selection) {
|
159
|
+
const currentElement = Node.parent(editor, editor?.selection?.anchor?.path);
|
160
|
+
if (!currentElement) {
|
161
|
+
return false;
|
162
|
+
}
|
163
|
+
const {
|
164
|
+
children,
|
165
|
+
type
|
166
|
+
} = currentElement;
|
167
|
+
if (!themeElements.includes(type)) {
|
168
|
+
return false;
|
169
|
+
}
|
170
|
+
if (children?.length > 1) {
|
171
|
+
return true;
|
172
|
+
}
|
173
|
+
const customized = textThemeFields.some(field => {
|
174
|
+
const element = children[0] || {};
|
175
|
+
const value = element[field];
|
176
|
+
if (field === "fontSize") {
|
177
|
+
return Object.keys(value || {}).length;
|
178
|
+
} else {
|
179
|
+
return value;
|
180
|
+
}
|
181
|
+
});
|
182
|
+
return customized;
|
183
|
+
} else {
|
184
|
+
return null;
|
185
|
+
}
|
186
|
+
} catch (err) {
|
187
|
+
return null;
|
188
|
+
}
|
189
|
+
};
|
190
|
+
const addToTheme = (field, value, element) => {
|
191
|
+
switch (field) {
|
192
|
+
case "fontFamily":
|
193
|
+
return {
|
194
|
+
fontFamily: fontFamilyMap[value]
|
195
|
+
};
|
196
|
+
case "fontSize":
|
197
|
+
return {
|
198
|
+
fontSize: value?.lg
|
199
|
+
};
|
200
|
+
case "color":
|
201
|
+
return {
|
202
|
+
color: value
|
203
|
+
};
|
204
|
+
case "bold":
|
205
|
+
return {
|
206
|
+
fontWeight: "bold"
|
207
|
+
};
|
208
|
+
case "italic":
|
209
|
+
return {
|
210
|
+
fontStyle: "italic"
|
211
|
+
};
|
212
|
+
// case "underline":
|
213
|
+
// case "strikethrough":
|
214
|
+
// let textDecoration = "";
|
215
|
+
|
216
|
+
// if (element.underline) {
|
217
|
+
// textDecoration = "underline";
|
218
|
+
// }
|
219
|
+
|
220
|
+
// if (element.strikethrough) {
|
221
|
+
// textDecoration += " strikethrough";
|
222
|
+
// }
|
223
|
+
|
224
|
+
// return { textDecoration };
|
225
|
+
default:
|
226
|
+
return {};
|
227
|
+
}
|
228
|
+
};
|
229
|
+
const MAP_TEXT_THEME_FIELD = {
|
230
|
+
headingOne: "h1",
|
231
|
+
headingTwo: "h2",
|
232
|
+
headingThree: "h3",
|
233
|
+
headingFour: "h4",
|
234
|
+
headingFive: "h5",
|
235
|
+
headingSix: "h6",
|
236
|
+
paragraphOne: "para1",
|
237
|
+
paragraphTwo: "para2",
|
238
|
+
paragraphThree: "para3"
|
239
|
+
};
|
240
|
+
export const saveToTheme = editor => {
|
241
|
+
try {
|
242
|
+
if (editor.selection) {
|
243
|
+
const currentElement = Node.parent(editor, editor?.selection?.anchor?.path);
|
244
|
+
if (!currentElement) {
|
245
|
+
return false;
|
246
|
+
}
|
247
|
+
const {
|
248
|
+
children
|
249
|
+
} = currentElement;
|
250
|
+
if (children?.length > 1) {
|
251
|
+
return true;
|
252
|
+
}
|
253
|
+
let theme = {};
|
254
|
+
textThemeFields.forEach(field => {
|
255
|
+
const element = children[0] || {};
|
256
|
+
const value = element[field];
|
257
|
+
let style = {};
|
258
|
+
let isValueExist = false;
|
259
|
+
if (value) {
|
260
|
+
isValueExist = true;
|
261
|
+
if (field === "fontSize") {
|
262
|
+
isValueExist = !!Object.keys(value).length;
|
263
|
+
}
|
264
|
+
}
|
265
|
+
if (isValueExist) {
|
266
|
+
style = addToTheme(field, value, element);
|
267
|
+
}
|
268
|
+
theme = {
|
269
|
+
...theme,
|
270
|
+
...style
|
271
|
+
};
|
272
|
+
});
|
273
|
+
textThemeFields.forEach(field => {
|
274
|
+
Editor.removeMark(editor, field);
|
275
|
+
});
|
276
|
+
return {
|
277
|
+
field: MAP_TEXT_THEME_FIELD[currentElement?.type],
|
278
|
+
theme
|
279
|
+
};
|
280
|
+
}
|
281
|
+
} catch (err) {
|
282
|
+
return;
|
283
|
+
}
|
284
|
+
};
|
285
|
+
export const HEADING_THEME_FIELDS = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
286
|
+
export const PARAGRAPH_THEME_FIELDS = ["para1", "para2", "para3"];
|