@elementor/editor-controls 4.0.0-564 → 4.0.0-573
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/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +195 -115
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +170 -91
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/controls/email-form-action-control.tsx +151 -0
- package/src/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -45,6 +45,7 @@ __export(index_exports, {
|
|
|
45
45
|
ControlToggleButtonGroup: () => ControlToggleButtonGroup,
|
|
46
46
|
DateTimeControl: () => DateTimeControl,
|
|
47
47
|
DisplayConditionsControl: () => DisplayConditionsControl,
|
|
48
|
+
EmailFormActionControl: () => EmailFormActionControl,
|
|
48
49
|
EqualUnequalSizesControl: () => EqualUnequalSizesControl,
|
|
49
50
|
FilterRepeaterControl: () => FilterRepeaterControl,
|
|
50
51
|
FontFamilyControl: () => FontFamilyControl,
|
|
@@ -6494,18 +6495,96 @@ var InlineEditingControl = createControl(
|
|
|
6494
6495
|
}
|
|
6495
6496
|
);
|
|
6496
6497
|
|
|
6498
|
+
// src/controls/email-form-action-control.tsx
|
|
6499
|
+
var React101 = __toESM(require("react"));
|
|
6500
|
+
var import_editor_props53 = require("@elementor/editor-props");
|
|
6501
|
+
var import_editor_ui13 = require("@elementor/editor-ui");
|
|
6502
|
+
var import_ui87 = require("@elementor/ui");
|
|
6503
|
+
var import_i18n50 = require("@wordpress/i18n");
|
|
6504
|
+
var EmailField = ({ bind, label, placeholder }) => /* @__PURE__ */ React101.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React101.createElement(import_ui87.Grid, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React101.createElement(import_ui87.Grid, { item: true }, /* @__PURE__ */ React101.createElement(ControlFormLabel, null, label)), /* @__PURE__ */ React101.createElement(import_ui87.Grid, { item: true }, /* @__PURE__ */ React101.createElement(TextControl, { placeholder }))));
|
|
6505
|
+
var SendToField = () => /* @__PURE__ */ React101.createElement(
|
|
6506
|
+
EmailField,
|
|
6507
|
+
{
|
|
6508
|
+
bind: "to",
|
|
6509
|
+
label: (0, import_i18n50.__)("Send To", "elementor"),
|
|
6510
|
+
placeholder: (0, import_i18n50.__)("Where should we send new submissions?", "elementor")
|
|
6511
|
+
}
|
|
6512
|
+
);
|
|
6513
|
+
var SubjectField = () => /* @__PURE__ */ React101.createElement(
|
|
6514
|
+
EmailField,
|
|
6515
|
+
{
|
|
6516
|
+
bind: "subject",
|
|
6517
|
+
label: (0, import_i18n50.__)("Email Subject", "elementor"),
|
|
6518
|
+
placeholder: (0, import_i18n50.__)("New form submission", "elementor")
|
|
6519
|
+
}
|
|
6520
|
+
);
|
|
6521
|
+
var MessageField = () => /* @__PURE__ */ React101.createElement(PropKeyProvider, { bind: "message" }, /* @__PURE__ */ React101.createElement(import_ui87.Grid, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React101.createElement(import_ui87.Grid, { item: true }, /* @__PURE__ */ React101.createElement(ControlFormLabel, null, (0, import_i18n50.__)("Message", "elementor"))), /* @__PURE__ */ React101.createElement(import_ui87.Grid, { item: true }, /* @__PURE__ */ React101.createElement(
|
|
6522
|
+
TextAreaControl,
|
|
6523
|
+
{
|
|
6524
|
+
placeholder: (0, import_i18n50.__)(
|
|
6525
|
+
"By default, all form fields are sent via [all-fields] shortcode.",
|
|
6526
|
+
"elementor"
|
|
6527
|
+
)
|
|
6528
|
+
}
|
|
6529
|
+
))));
|
|
6530
|
+
var FromEmailField = () => /* @__PURE__ */ React101.createElement(
|
|
6531
|
+
EmailField,
|
|
6532
|
+
{
|
|
6533
|
+
bind: "from",
|
|
6534
|
+
label: (0, import_i18n50.__)("From email", "elementor"),
|
|
6535
|
+
placeholder: (0, import_i18n50.__)("What email address should appear as the sender?", "elementor")
|
|
6536
|
+
}
|
|
6537
|
+
);
|
|
6538
|
+
var FromNameField = () => /* @__PURE__ */ React101.createElement(
|
|
6539
|
+
EmailField,
|
|
6540
|
+
{
|
|
6541
|
+
bind: "from-name",
|
|
6542
|
+
label: (0, import_i18n50.__)("From name", "elementor"),
|
|
6543
|
+
placeholder: (0, import_i18n50.__)("What name should appear as the sender?", "elementor")
|
|
6544
|
+
}
|
|
6545
|
+
);
|
|
6546
|
+
var ReplyToField = () => /* @__PURE__ */ React101.createElement(EmailField, { bind: "reply-to", label: (0, import_i18n50.__)("Reply-to", "elementor") });
|
|
6547
|
+
var CcField = () => /* @__PURE__ */ React101.createElement(EmailField, { bind: "cc", label: (0, import_i18n50.__)("Cc", "elementor") });
|
|
6548
|
+
var BccField = () => /* @__PURE__ */ React101.createElement(EmailField, { bind: "bcc", label: (0, import_i18n50.__)("Bcc", "elementor") });
|
|
6549
|
+
var MetaDataField = () => /* @__PURE__ */ React101.createElement(PropKeyProvider, { bind: "meta-data" }, /* @__PURE__ */ React101.createElement(import_ui87.Stack, { gap: 0.5 }, /* @__PURE__ */ React101.createElement(ControlLabel, null, (0, import_i18n50.__)("Meta data", "elementor")), /* @__PURE__ */ React101.createElement(
|
|
6550
|
+
ChipsControl,
|
|
6551
|
+
{
|
|
6552
|
+
options: [
|
|
6553
|
+
{ label: (0, import_i18n50.__)("Date", "elementor"), value: "date" },
|
|
6554
|
+
{ label: (0, import_i18n50.__)("Time", "elementor"), value: "time" },
|
|
6555
|
+
{ label: (0, import_i18n50.__)("Page URL", "elementor"), value: "page-url" },
|
|
6556
|
+
{ label: (0, import_i18n50.__)("User agent", "elementor"), value: "user-agent" },
|
|
6557
|
+
{ label: (0, import_i18n50.__)("Credit", "elementor"), value: "credit" }
|
|
6558
|
+
]
|
|
6559
|
+
}
|
|
6560
|
+
)));
|
|
6561
|
+
var SendAsField = () => /* @__PURE__ */ React101.createElement(PropKeyProvider, { bind: "send-as" }, /* @__PURE__ */ React101.createElement(import_ui87.Grid, { container: true, direction: "column", gap: 0.5 }, /* @__PURE__ */ React101.createElement(import_ui87.Grid, { item: true }, /* @__PURE__ */ React101.createElement(ControlFormLabel, null, (0, import_i18n50.__)("Send as", "elementor"))), /* @__PURE__ */ React101.createElement(import_ui87.Grid, { item: true }, /* @__PURE__ */ React101.createElement(
|
|
6562
|
+
SelectControl,
|
|
6563
|
+
{
|
|
6564
|
+
options: [
|
|
6565
|
+
{ label: (0, import_i18n50.__)("HTML", "elementor"), value: "html" },
|
|
6566
|
+
{ label: (0, import_i18n50.__)("Plain Text", "elementor"), value: "plain" }
|
|
6567
|
+
]
|
|
6568
|
+
}
|
|
6569
|
+
))));
|
|
6570
|
+
var AdvancedSettings = () => /* @__PURE__ */ React101.createElement(import_editor_ui13.CollapsibleContent, { defaultOpen: false }, /* @__PURE__ */ React101.createElement(import_ui87.Box, { sx: { pt: 2 } }, /* @__PURE__ */ React101.createElement(import_ui87.Stack, { gap: 2 }, /* @__PURE__ */ React101.createElement(FromNameField, null), /* @__PURE__ */ React101.createElement(ReplyToField, null), /* @__PURE__ */ React101.createElement(CcField, null), /* @__PURE__ */ React101.createElement(BccField, null), /* @__PURE__ */ React101.createElement(import_ui87.Divider, null), /* @__PURE__ */ React101.createElement(MetaDataField, null), /* @__PURE__ */ React101.createElement(SendAsField, null))));
|
|
6571
|
+
var EmailFormActionControl = createControl(() => {
|
|
6572
|
+
const { value, setValue, ...propContext } = useBoundProp(import_editor_props53.emailPropTypeUtil);
|
|
6573
|
+
return /* @__PURE__ */ React101.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React101.createElement(import_ui87.Stack, { gap: 2 }, /* @__PURE__ */ React101.createElement(ControlFormLabel, null, (0, import_i18n50.__)("Email settings", "elementor")), /* @__PURE__ */ React101.createElement(SendToField, null), /* @__PURE__ */ React101.createElement(SubjectField, null), /* @__PURE__ */ React101.createElement(MessageField, null), /* @__PURE__ */ React101.createElement(FromEmailField, null), /* @__PURE__ */ React101.createElement(AdvancedSettings, null)));
|
|
6574
|
+
});
|
|
6575
|
+
|
|
6497
6576
|
// src/components/promotions/display-conditions-control.tsx
|
|
6498
|
-
var
|
|
6577
|
+
var React103 = __toESM(require("react"));
|
|
6499
6578
|
var import_react56 = require("react");
|
|
6500
6579
|
var import_icons33 = require("@elementor/icons");
|
|
6501
|
-
var
|
|
6502
|
-
var
|
|
6580
|
+
var import_ui89 = require("@elementor/ui");
|
|
6581
|
+
var import_i18n51 = require("@wordpress/i18n");
|
|
6503
6582
|
|
|
6504
6583
|
// src/components/promotions/promotion-trigger.tsx
|
|
6505
|
-
var
|
|
6584
|
+
var React102 = __toESM(require("react"));
|
|
6506
6585
|
var import_react55 = require("react");
|
|
6507
|
-
var
|
|
6508
|
-
var
|
|
6586
|
+
var import_editor_ui14 = require("@elementor/editor-ui");
|
|
6587
|
+
var import_ui88 = require("@elementor/ui");
|
|
6509
6588
|
function getV4Promotion(key) {
|
|
6510
6589
|
return window.elementor?.config?.v4Promotions?.[key];
|
|
6511
6590
|
}
|
|
@@ -6515,8 +6594,8 @@ var PromotionTrigger = (0, import_react55.forwardRef)(
|
|
|
6515
6594
|
const promotion = getV4Promotion(promotionKey);
|
|
6516
6595
|
const toggle = () => setIsOpen((prev) => !prev);
|
|
6517
6596
|
(0, import_react55.useImperativeHandle)(ref, () => ({ toggle }), []);
|
|
6518
|
-
return /* @__PURE__ */
|
|
6519
|
-
|
|
6597
|
+
return /* @__PURE__ */ React102.createElement(React102.Fragment, null, promotion && /* @__PURE__ */ React102.createElement(
|
|
6598
|
+
import_editor_ui14.PromotionInfotip,
|
|
6520
6599
|
{
|
|
6521
6600
|
title: promotion.title,
|
|
6522
6601
|
content: promotion.content,
|
|
@@ -6528,8 +6607,8 @@ var PromotionTrigger = (0, import_react55.forwardRef)(
|
|
|
6528
6607
|
setIsOpen(false);
|
|
6529
6608
|
}
|
|
6530
6609
|
},
|
|
6531
|
-
/* @__PURE__ */
|
|
6532
|
-
|
|
6610
|
+
/* @__PURE__ */ React102.createElement(
|
|
6611
|
+
import_ui88.Box,
|
|
6533
6612
|
{
|
|
6534
6613
|
onClick: (e) => {
|
|
6535
6614
|
e.stopPropagation();
|
|
@@ -6537,18 +6616,18 @@ var PromotionTrigger = (0, import_react55.forwardRef)(
|
|
|
6537
6616
|
},
|
|
6538
6617
|
sx: { cursor: "pointer", display: "inline-flex" }
|
|
6539
6618
|
},
|
|
6540
|
-
children ?? /* @__PURE__ */
|
|
6619
|
+
children ?? /* @__PURE__ */ React102.createElement(import_editor_ui14.PromotionChip, null)
|
|
6541
6620
|
)
|
|
6542
6621
|
));
|
|
6543
6622
|
}
|
|
6544
6623
|
);
|
|
6545
6624
|
|
|
6546
6625
|
// src/components/promotions/display-conditions-control.tsx
|
|
6547
|
-
var ARIA_LABEL = (0,
|
|
6626
|
+
var ARIA_LABEL = (0, import_i18n51.__)("Display Conditions", "elementor");
|
|
6548
6627
|
var DisplayConditionsControl = createControl(() => {
|
|
6549
6628
|
const triggerRef = (0, import_react56.useRef)(null);
|
|
6550
|
-
return /* @__PURE__ */
|
|
6551
|
-
|
|
6629
|
+
return /* @__PURE__ */ React103.createElement(
|
|
6630
|
+
import_ui89.Stack,
|
|
6552
6631
|
{
|
|
6553
6632
|
direction: "row",
|
|
6554
6633
|
spacing: 2,
|
|
@@ -6557,9 +6636,9 @@ var DisplayConditionsControl = createControl(() => {
|
|
|
6557
6636
|
alignItems: "center"
|
|
6558
6637
|
}
|
|
6559
6638
|
},
|
|
6560
|
-
/* @__PURE__ */
|
|
6561
|
-
/* @__PURE__ */
|
|
6562
|
-
|
|
6639
|
+
/* @__PURE__ */ React103.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "displayConditions" }),
|
|
6640
|
+
/* @__PURE__ */ React103.createElement(import_ui89.Tooltip, { title: ARIA_LABEL, placement: "top" }, /* @__PURE__ */ React103.createElement(
|
|
6641
|
+
import_ui89.IconButton,
|
|
6563
6642
|
{
|
|
6564
6643
|
size: "tiny",
|
|
6565
6644
|
"aria-label": ARIA_LABEL,
|
|
@@ -6571,22 +6650,22 @@ var DisplayConditionsControl = createControl(() => {
|
|
|
6571
6650
|
borderRadius: 1
|
|
6572
6651
|
}
|
|
6573
6652
|
},
|
|
6574
|
-
/* @__PURE__ */
|
|
6653
|
+
/* @__PURE__ */ React103.createElement(import_icons33.SitemapIcon, { fontSize: "tiny", color: "disabled" })
|
|
6575
6654
|
))
|
|
6576
6655
|
);
|
|
6577
6656
|
});
|
|
6578
6657
|
|
|
6579
6658
|
// src/components/promotions/attributes-control.tsx
|
|
6580
|
-
var
|
|
6659
|
+
var React104 = __toESM(require("react"));
|
|
6581
6660
|
var import_react57 = require("react");
|
|
6582
6661
|
var import_icons34 = require("@elementor/icons");
|
|
6583
|
-
var
|
|
6584
|
-
var
|
|
6585
|
-
var ARIA_LABEL2 = (0,
|
|
6662
|
+
var import_ui90 = require("@elementor/ui");
|
|
6663
|
+
var import_i18n52 = require("@wordpress/i18n");
|
|
6664
|
+
var ARIA_LABEL2 = (0, import_i18n52.__)("Attributes", "elementor");
|
|
6586
6665
|
var AttributesControl = createControl(() => {
|
|
6587
6666
|
const triggerRef = (0, import_react57.useRef)(null);
|
|
6588
|
-
return /* @__PURE__ */
|
|
6589
|
-
|
|
6667
|
+
return /* @__PURE__ */ React104.createElement(
|
|
6668
|
+
import_ui90.Stack,
|
|
6590
6669
|
{
|
|
6591
6670
|
direction: "row",
|
|
6592
6671
|
spacing: 2,
|
|
@@ -6595,8 +6674,8 @@ var AttributesControl = createControl(() => {
|
|
|
6595
6674
|
alignItems: "center"
|
|
6596
6675
|
}
|
|
6597
6676
|
},
|
|
6598
|
-
/* @__PURE__ */
|
|
6599
|
-
/* @__PURE__ */
|
|
6677
|
+
/* @__PURE__ */ React104.createElement(PromotionTrigger, { ref: triggerRef, promotionKey: "attributes" }),
|
|
6678
|
+
/* @__PURE__ */ React104.createElement(import_ui90.Tooltip, { title: ARIA_LABEL2, placement: "top" }, /* @__PURE__ */ React104.createElement(
|
|
6600
6679
|
import_icons34.PlusIcon,
|
|
6601
6680
|
{
|
|
6602
6681
|
"aria-label": ARIA_LABEL2,
|
|
@@ -6610,21 +6689,21 @@ var AttributesControl = createControl(() => {
|
|
|
6610
6689
|
});
|
|
6611
6690
|
|
|
6612
6691
|
// src/components/icon-buttons/clear-icon-button.tsx
|
|
6613
|
-
var
|
|
6692
|
+
var React105 = __toESM(require("react"));
|
|
6614
6693
|
var import_icons35 = require("@elementor/icons");
|
|
6615
|
-
var
|
|
6616
|
-
var CustomIconButton = (0,
|
|
6694
|
+
var import_ui91 = require("@elementor/ui");
|
|
6695
|
+
var CustomIconButton = (0, import_ui91.styled)(import_ui91.IconButton)(({ theme }) => ({
|
|
6617
6696
|
width: theme.spacing(2.5),
|
|
6618
6697
|
height: theme.spacing(2.5)
|
|
6619
6698
|
}));
|
|
6620
|
-
var ClearIconButton = ({ tooltipText, onClick, disabled, size = "tiny" }) => /* @__PURE__ */
|
|
6699
|
+
var ClearIconButton = ({ tooltipText, onClick, disabled, size = "tiny" }) => /* @__PURE__ */ React105.createElement(import_ui91.Tooltip, { title: tooltipText, placement: "top", disableInteractive: true }, /* @__PURE__ */ React105.createElement(CustomIconButton, { "aria-label": tooltipText, size, onClick, disabled }, /* @__PURE__ */ React105.createElement(import_icons35.BrushBigIcon, { fontSize: size })));
|
|
6621
6700
|
|
|
6622
6701
|
// src/components/repeater/repeater.tsx
|
|
6623
|
-
var
|
|
6702
|
+
var React106 = __toESM(require("react"));
|
|
6624
6703
|
var import_react58 = require("react");
|
|
6625
6704
|
var import_icons36 = require("@elementor/icons");
|
|
6626
|
-
var
|
|
6627
|
-
var
|
|
6705
|
+
var import_ui92 = require("@elementor/ui");
|
|
6706
|
+
var import_i18n53 = require("@wordpress/i18n");
|
|
6628
6707
|
var SIZE10 = "tiny";
|
|
6629
6708
|
var EMPTY_OPEN_ITEM2 = -1;
|
|
6630
6709
|
var Repeater3 = ({
|
|
@@ -6705,8 +6784,8 @@ var Repeater3 = ({
|
|
|
6705
6784
|
};
|
|
6706
6785
|
const isButtonDisabled = disabled || disableAddItemButton;
|
|
6707
6786
|
const shouldShowInfotip = isButtonDisabled && addButtonInfotipContent;
|
|
6708
|
-
const addButton = /* @__PURE__ */
|
|
6709
|
-
|
|
6787
|
+
const addButton = /* @__PURE__ */ React106.createElement(
|
|
6788
|
+
import_ui92.IconButton,
|
|
6710
6789
|
{
|
|
6711
6790
|
size: SIZE10,
|
|
6712
6791
|
sx: {
|
|
@@ -6714,32 +6793,32 @@ var Repeater3 = ({
|
|
|
6714
6793
|
},
|
|
6715
6794
|
disabled: isButtonDisabled,
|
|
6716
6795
|
onClick: addRepeaterItem,
|
|
6717
|
-
"aria-label": (0,
|
|
6796
|
+
"aria-label": (0, import_i18n53.__)("Add item", "elementor")
|
|
6718
6797
|
},
|
|
6719
|
-
/* @__PURE__ */
|
|
6798
|
+
/* @__PURE__ */ React106.createElement(import_icons36.PlusIcon, { fontSize: SIZE10 })
|
|
6720
6799
|
);
|
|
6721
|
-
return /* @__PURE__ */
|
|
6722
|
-
|
|
6800
|
+
return /* @__PURE__ */ React106.createElement(SectionContent, { gap: 2 }, /* @__PURE__ */ React106.createElement(RepeaterHeader, { label, adornment: ControlAdornments }, shouldShowInfotip ? /* @__PURE__ */ React106.createElement(
|
|
6801
|
+
import_ui92.Infotip,
|
|
6723
6802
|
{
|
|
6724
6803
|
placement: "right",
|
|
6725
6804
|
content: addButtonInfotipContent,
|
|
6726
6805
|
color: "secondary",
|
|
6727
6806
|
slotProps: { popper: { sx: { width: 300 } } }
|
|
6728
6807
|
},
|
|
6729
|
-
/* @__PURE__ */
|
|
6730
|
-
) : addButton), 0 < uniqueKeys.length && /* @__PURE__ */
|
|
6808
|
+
/* @__PURE__ */ React106.createElement(import_ui92.Box, { sx: { ...isButtonDisabled ? { cursor: "not-allowed" } : {} } }, addButton)
|
|
6809
|
+
) : addButton), 0 < uniqueKeys.length && /* @__PURE__ */ React106.createElement(SortableProvider, { value: uniqueKeys, onChange: onChangeOrder }, uniqueKeys.map((key) => {
|
|
6731
6810
|
const index = uniqueKeys.indexOf(key);
|
|
6732
6811
|
const value = items2[index];
|
|
6733
6812
|
if (!value) {
|
|
6734
6813
|
return null;
|
|
6735
6814
|
}
|
|
6736
|
-
return /* @__PURE__ */
|
|
6815
|
+
return /* @__PURE__ */ React106.createElement(SortableItem, { id: key, key: `sortable-${key}`, disabled: !isSortable }, /* @__PURE__ */ React106.createElement(
|
|
6737
6816
|
RepeaterItem,
|
|
6738
6817
|
{
|
|
6739
6818
|
disabled,
|
|
6740
6819
|
propDisabled: value?.disabled,
|
|
6741
|
-
label: /* @__PURE__ */
|
|
6742
|
-
startIcon: /* @__PURE__ */
|
|
6820
|
+
label: /* @__PURE__ */ React106.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React106.createElement(itemSettings.Label, { value, index })),
|
|
6821
|
+
startIcon: /* @__PURE__ */ React106.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React106.createElement(itemSettings.Icon, { value })),
|
|
6743
6822
|
removeItem: () => removeRepeaterItem(index),
|
|
6744
6823
|
duplicateItem: () => duplicateRepeaterItem(index),
|
|
6745
6824
|
toggleDisableItem: () => toggleDisableRepeaterItem(index),
|
|
@@ -6751,7 +6830,7 @@ var Repeater3 = ({
|
|
|
6751
6830
|
actions: itemSettings.actions,
|
|
6752
6831
|
value
|
|
6753
6832
|
},
|
|
6754
|
-
(props) => /* @__PURE__ */
|
|
6833
|
+
(props) => /* @__PURE__ */ React106.createElement(
|
|
6755
6834
|
itemSettings.Content,
|
|
6756
6835
|
{
|
|
6757
6836
|
...props,
|
|
@@ -6781,26 +6860,26 @@ var RepeaterItem = ({
|
|
|
6781
6860
|
value
|
|
6782
6861
|
}) => {
|
|
6783
6862
|
const { popoverState, popoverProps, ref, setRef } = usePopover(openOnMount, onOpen);
|
|
6784
|
-
const duplicateLabel = (0,
|
|
6785
|
-
const toggleLabel = propDisabled ? (0,
|
|
6786
|
-
const removeLabel = (0,
|
|
6787
|
-
return /* @__PURE__ */
|
|
6863
|
+
const duplicateLabel = (0, import_i18n53.__)("Duplicate", "elementor");
|
|
6864
|
+
const toggleLabel = propDisabled ? (0, import_i18n53.__)("Show", "elementor") : (0, import_i18n53.__)("Hide", "elementor");
|
|
6865
|
+
const removeLabel = (0, import_i18n53.__)("Remove", "elementor");
|
|
6866
|
+
return /* @__PURE__ */ React106.createElement(React106.Fragment, null, /* @__PURE__ */ React106.createElement(
|
|
6788
6867
|
RepeaterTag,
|
|
6789
6868
|
{
|
|
6790
6869
|
disabled,
|
|
6791
6870
|
label,
|
|
6792
6871
|
ref: setRef,
|
|
6793
|
-
"aria-label": (0,
|
|
6794
|
-
...(0,
|
|
6872
|
+
"aria-label": (0, import_i18n53.__)("Open item", "elementor"),
|
|
6873
|
+
...(0, import_ui92.bindTrigger)(popoverState),
|
|
6795
6874
|
startIcon,
|
|
6796
|
-
actions: /* @__PURE__ */
|
|
6875
|
+
actions: /* @__PURE__ */ React106.createElement(React106.Fragment, null, showDuplicate && /* @__PURE__ */ React106.createElement(import_ui92.Tooltip, { title: duplicateLabel, placement: "top" }, /* @__PURE__ */ React106.createElement(import_ui92.IconButton, { size: SIZE10, onClick: duplicateItem, "aria-label": duplicateLabel }, /* @__PURE__ */ React106.createElement(import_icons36.CopyIcon, { fontSize: SIZE10 }))), showToggle && /* @__PURE__ */ React106.createElement(import_ui92.Tooltip, { title: toggleLabel, placement: "top" }, /* @__PURE__ */ React106.createElement(import_ui92.IconButton, { size: SIZE10, onClick: toggleDisableItem, "aria-label": toggleLabel }, propDisabled ? /* @__PURE__ */ React106.createElement(import_icons36.EyeOffIcon, { fontSize: SIZE10 }) : /* @__PURE__ */ React106.createElement(import_icons36.EyeIcon, { fontSize: SIZE10 }))), actions?.(value), showRemove && /* @__PURE__ */ React106.createElement(import_ui92.Tooltip, { title: removeLabel, placement: "top" }, /* @__PURE__ */ React106.createElement(import_ui92.IconButton, { size: SIZE10, onClick: removeItem, "aria-label": removeLabel }, /* @__PURE__ */ React106.createElement(import_icons36.XIcon, { fontSize: SIZE10 }))))
|
|
6797
6876
|
}
|
|
6798
|
-
), /* @__PURE__ */
|
|
6877
|
+
), /* @__PURE__ */ React106.createElement(RepeaterPopover, { width: ref?.getBoundingClientRect().width, ...popoverProps, anchorEl: ref }, /* @__PURE__ */ React106.createElement(import_ui92.Box, null, children({ anchorEl: ref }))));
|
|
6799
6878
|
};
|
|
6800
6879
|
var usePopover = (openOnMount, onOpen) => {
|
|
6801
6880
|
const [ref, setRef] = (0, import_react58.useState)(null);
|
|
6802
|
-
const popoverState = (0,
|
|
6803
|
-
const popoverProps = (0,
|
|
6881
|
+
const popoverState = (0, import_ui92.usePopupState)({ variant: "popover" });
|
|
6882
|
+
const popoverProps = (0, import_ui92.bindPopover)(popoverState);
|
|
6804
6883
|
(0, import_react58.useEffect)(() => {
|
|
6805
6884
|
if (openOnMount && ref) {
|
|
6806
6885
|
popoverState.open(ref);
|
|
@@ -6816,20 +6895,20 @@ var usePopover = (openOnMount, onOpen) => {
|
|
|
6816
6895
|
};
|
|
6817
6896
|
|
|
6818
6897
|
// src/components/inline-editor-toolbar.tsx
|
|
6819
|
-
var
|
|
6898
|
+
var React108 = __toESM(require("react"));
|
|
6820
6899
|
var import_react60 = require("react");
|
|
6821
6900
|
var import_editor_elements6 = require("@elementor/editor-elements");
|
|
6822
6901
|
var import_icons38 = require("@elementor/icons");
|
|
6823
|
-
var
|
|
6902
|
+
var import_ui94 = require("@elementor/ui");
|
|
6824
6903
|
var import_react61 = require("@tiptap/react");
|
|
6825
|
-
var
|
|
6904
|
+
var import_i18n55 = require("@wordpress/i18n");
|
|
6826
6905
|
|
|
6827
6906
|
// src/components/url-popover.tsx
|
|
6828
|
-
var
|
|
6907
|
+
var React107 = __toESM(require("react"));
|
|
6829
6908
|
var import_react59 = require("react");
|
|
6830
6909
|
var import_icons37 = require("@elementor/icons");
|
|
6831
|
-
var
|
|
6832
|
-
var
|
|
6910
|
+
var import_ui93 = require("@elementor/ui");
|
|
6911
|
+
var import_i18n54 = require("@wordpress/i18n");
|
|
6833
6912
|
var UrlPopover = ({
|
|
6834
6913
|
popupState,
|
|
6835
6914
|
restoreValue,
|
|
@@ -6849,41 +6928,41 @@ var UrlPopover = ({
|
|
|
6849
6928
|
restoreValue();
|
|
6850
6929
|
popupState.close();
|
|
6851
6930
|
};
|
|
6852
|
-
return /* @__PURE__ */
|
|
6853
|
-
|
|
6931
|
+
return /* @__PURE__ */ React107.createElement(
|
|
6932
|
+
import_ui93.Popover,
|
|
6854
6933
|
{
|
|
6855
6934
|
slotProps: {
|
|
6856
6935
|
paper: { sx: { borderRadius: "16px", width: anchorRef.current?.offsetWidth + "px", marginTop: -1 } }
|
|
6857
6936
|
},
|
|
6858
|
-
...(0,
|
|
6937
|
+
...(0, import_ui93.bindPopover)(popupState),
|
|
6859
6938
|
anchorOrigin: { vertical: "top", horizontal: "left" },
|
|
6860
6939
|
transformOrigin: { vertical: "top", horizontal: "left" },
|
|
6861
6940
|
onClose: handleClose
|
|
6862
6941
|
},
|
|
6863
|
-
/* @__PURE__ */
|
|
6864
|
-
|
|
6942
|
+
/* @__PURE__ */ React107.createElement(import_ui93.Stack, { direction: "row", alignItems: "center", gap: 1, sx: { p: 1.5 } }, /* @__PURE__ */ React107.createElement(
|
|
6943
|
+
import_ui93.TextField,
|
|
6865
6944
|
{
|
|
6866
6945
|
value,
|
|
6867
6946
|
onChange,
|
|
6868
6947
|
size: "tiny",
|
|
6869
6948
|
fullWidth: true,
|
|
6870
|
-
placeholder: (0,
|
|
6949
|
+
placeholder: (0, import_i18n54.__)("Type a URL", "elementor"),
|
|
6871
6950
|
inputProps: { ref: inputRef },
|
|
6872
6951
|
color: "secondary",
|
|
6873
6952
|
InputProps: { sx: { borderRadius: "8px" } },
|
|
6874
6953
|
onKeyUp: (event) => event.key === "Enter" && handleClose()
|
|
6875
6954
|
}
|
|
6876
|
-
), /* @__PURE__ */
|
|
6877
|
-
|
|
6955
|
+
), /* @__PURE__ */ React107.createElement(import_ui93.Tooltip, { title: (0, import_i18n54.__)("Open in a new tab", "elementor") }, /* @__PURE__ */ React107.createElement(
|
|
6956
|
+
import_ui93.ToggleButton,
|
|
6878
6957
|
{
|
|
6879
6958
|
size: "tiny",
|
|
6880
6959
|
value: "newTab",
|
|
6881
6960
|
selected: openInNewTab,
|
|
6882
6961
|
onClick: onToggleNewTab,
|
|
6883
|
-
"aria-label": (0,
|
|
6962
|
+
"aria-label": (0, import_i18n54.__)("Open in a new tab", "elementor"),
|
|
6884
6963
|
sx: { borderRadius: "8px" }
|
|
6885
6964
|
},
|
|
6886
|
-
/* @__PURE__ */
|
|
6965
|
+
/* @__PURE__ */ React107.createElement(import_icons37.ExternalLinkIcon, { fontSize: "tiny" })
|
|
6887
6966
|
)))
|
|
6888
6967
|
);
|
|
6889
6968
|
};
|
|
@@ -6893,7 +6972,7 @@ var InlineEditorToolbar = ({ editor, elementId, sx = {} }) => {
|
|
|
6893
6972
|
const [urlValue, setUrlValue] = (0, import_react60.useState)("");
|
|
6894
6973
|
const [openInNewTab, setOpenInNewTab] = (0, import_react60.useState)(false);
|
|
6895
6974
|
const toolbarRef = (0, import_react60.useRef)(null);
|
|
6896
|
-
const linkPopupState = (0,
|
|
6975
|
+
const linkPopupState = (0, import_ui94.usePopupState)({ variant: "popover" });
|
|
6897
6976
|
const isElementClickable = elementId ? checkIfElementIsClickable(elementId) : false;
|
|
6898
6977
|
const editorState = (0, import_react61.useEditorState)({
|
|
6899
6978
|
editor,
|
|
@@ -6936,11 +7015,11 @@ var InlineEditorToolbar = ({ editor, elementId, sx = {} }) => {
|
|
|
6936
7015
|
}
|
|
6937
7016
|
linkPopupState.close();
|
|
6938
7017
|
};
|
|
6939
|
-
|
|
7018
|
+
React108.useEffect(() => {
|
|
6940
7019
|
editor?.commands?.focus();
|
|
6941
7020
|
}, [editor]);
|
|
6942
|
-
return /* @__PURE__ */
|
|
6943
|
-
|
|
7021
|
+
return /* @__PURE__ */ React108.createElement(
|
|
7022
|
+
import_ui94.Box,
|
|
6944
7023
|
{
|
|
6945
7024
|
ref: toolbarRef,
|
|
6946
7025
|
sx: {
|
|
@@ -6956,9 +7035,9 @@ var InlineEditorToolbar = ({ editor, elementId, sx = {} }) => {
|
|
|
6956
7035
|
...sx
|
|
6957
7036
|
}
|
|
6958
7037
|
},
|
|
6959
|
-
/* @__PURE__ */
|
|
6960
|
-
/* @__PURE__ */
|
|
6961
|
-
|
|
7038
|
+
/* @__PURE__ */ React108.createElement(import_ui94.Tooltip, { title: clearButton.label, placement: "top", sx: { borderRadius: "8px" } }, /* @__PURE__ */ React108.createElement(import_ui94.IconButton, { "aria-label": clearButton.label, onClick: () => clearButton.method(editor), size: "tiny" }, clearButton.icon)),
|
|
7039
|
+
/* @__PURE__ */ React108.createElement(
|
|
7040
|
+
import_ui94.ToggleButtonGroup,
|
|
6962
7041
|
{
|
|
6963
7042
|
value: editorState,
|
|
6964
7043
|
size: "tiny",
|
|
@@ -6966,7 +7045,7 @@ var InlineEditorToolbar = ({ editor, elementId, sx = {} }) => {
|
|
|
6966
7045
|
display: "flex",
|
|
6967
7046
|
gap: 0.5,
|
|
6968
7047
|
border: "none",
|
|
6969
|
-
[`& .${
|
|
7048
|
+
[`& .${import_ui94.toggleButtonGroupClasses.firstButton}, & .${import_ui94.toggleButtonGroupClasses.middleButton}, & .${import_ui94.toggleButtonGroupClasses.lastButton}`]: {
|
|
6970
7049
|
borderRadius: "8px",
|
|
6971
7050
|
border: "none",
|
|
6972
7051
|
marginLeft: 0,
|
|
@@ -6979,8 +7058,8 @@ var InlineEditorToolbar = ({ editor, elementId, sx = {} }) => {
|
|
|
6979
7058
|
}
|
|
6980
7059
|
}
|
|
6981
7060
|
},
|
|
6982
|
-
formatButtonsList.map((button) => /* @__PURE__ */
|
|
6983
|
-
|
|
7061
|
+
formatButtonsList.map((button) => /* @__PURE__ */ React108.createElement(import_ui94.Tooltip, { title: button.label, key: button.action, placement: "top" }, /* @__PURE__ */ React108.createElement(
|
|
7062
|
+
import_ui94.ToggleButton,
|
|
6984
7063
|
{
|
|
6985
7064
|
value: button.action,
|
|
6986
7065
|
"aria-label": button.label,
|
|
@@ -6997,7 +7076,7 @@ var InlineEditorToolbar = ({ editor, elementId, sx = {} }) => {
|
|
|
6997
7076
|
button.icon
|
|
6998
7077
|
)))
|
|
6999
7078
|
),
|
|
7000
|
-
/* @__PURE__ */
|
|
7079
|
+
/* @__PURE__ */ React108.createElement(
|
|
7001
7080
|
UrlPopover,
|
|
7002
7081
|
{
|
|
7003
7082
|
popupState: linkPopupState,
|
|
@@ -7020,64 +7099,64 @@ var checkIfElementIsClickable = (elementId) => {
|
|
|
7020
7099
|
};
|
|
7021
7100
|
var toolbarButtons = {
|
|
7022
7101
|
clear: {
|
|
7023
|
-
label: (0,
|
|
7024
|
-
icon: /* @__PURE__ */
|
|
7102
|
+
label: (0, import_i18n55.__)("Clear", "elementor"),
|
|
7103
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.MinusIcon, { fontSize: "tiny" }),
|
|
7025
7104
|
action: "clear",
|
|
7026
7105
|
method: (editor) => {
|
|
7027
7106
|
editor.chain().focus().clearNodes().unsetAllMarks().run();
|
|
7028
7107
|
}
|
|
7029
7108
|
},
|
|
7030
7109
|
bold: {
|
|
7031
|
-
label: (0,
|
|
7032
|
-
icon: /* @__PURE__ */
|
|
7110
|
+
label: (0, import_i18n55.__)("Bold", "elementor"),
|
|
7111
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.BoldIcon, { fontSize: "tiny" }),
|
|
7033
7112
|
action: "bold",
|
|
7034
7113
|
method: (editor) => {
|
|
7035
7114
|
editor.chain().focus().toggleBold().run();
|
|
7036
7115
|
}
|
|
7037
7116
|
},
|
|
7038
7117
|
italic: {
|
|
7039
|
-
label: (0,
|
|
7040
|
-
icon: /* @__PURE__ */
|
|
7118
|
+
label: (0, import_i18n55.__)("Italic", "elementor"),
|
|
7119
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.ItalicIcon, { fontSize: "tiny" }),
|
|
7041
7120
|
action: "italic",
|
|
7042
7121
|
method: (editor) => {
|
|
7043
7122
|
editor.chain().focus().toggleItalic().run();
|
|
7044
7123
|
}
|
|
7045
7124
|
},
|
|
7046
7125
|
underline: {
|
|
7047
|
-
label: (0,
|
|
7048
|
-
icon: /* @__PURE__ */
|
|
7126
|
+
label: (0, import_i18n55.__)("Underline", "elementor"),
|
|
7127
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.UnderlineIcon, { fontSize: "tiny" }),
|
|
7049
7128
|
action: "underline",
|
|
7050
7129
|
method: (editor) => {
|
|
7051
7130
|
editor.chain().focus().toggleUnderline().run();
|
|
7052
7131
|
}
|
|
7053
7132
|
},
|
|
7054
7133
|
strike: {
|
|
7055
|
-
label: (0,
|
|
7056
|
-
icon: /* @__PURE__ */
|
|
7134
|
+
label: (0, import_i18n55.__)("Strikethrough", "elementor"),
|
|
7135
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.StrikethroughIcon, { fontSize: "tiny" }),
|
|
7057
7136
|
action: "strike",
|
|
7058
7137
|
method: (editor) => {
|
|
7059
7138
|
editor.chain().focus().toggleStrike().run();
|
|
7060
7139
|
}
|
|
7061
7140
|
},
|
|
7062
7141
|
superscript: {
|
|
7063
|
-
label: (0,
|
|
7064
|
-
icon: /* @__PURE__ */
|
|
7142
|
+
label: (0, import_i18n55.__)("Superscript", "elementor"),
|
|
7143
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.SuperscriptIcon, { fontSize: "tiny" }),
|
|
7065
7144
|
action: "superscript",
|
|
7066
7145
|
method: (editor) => {
|
|
7067
7146
|
editor.chain().focus().toggleSuperscript().run();
|
|
7068
7147
|
}
|
|
7069
7148
|
},
|
|
7070
7149
|
subscript: {
|
|
7071
|
-
label: (0,
|
|
7072
|
-
icon: /* @__PURE__ */
|
|
7150
|
+
label: (0, import_i18n55.__)("Subscript", "elementor"),
|
|
7151
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.SubscriptIcon, { fontSize: "tiny" }),
|
|
7073
7152
|
action: "subscript",
|
|
7074
7153
|
method: (editor) => {
|
|
7075
7154
|
editor.chain().focus().toggleSubscript().run();
|
|
7076
7155
|
}
|
|
7077
7156
|
},
|
|
7078
7157
|
link: {
|
|
7079
|
-
label: (0,
|
|
7080
|
-
icon: /* @__PURE__ */
|
|
7158
|
+
label: (0, import_i18n55.__)("Link", "elementor"),
|
|
7159
|
+
icon: /* @__PURE__ */ React108.createElement(import_icons38.LinkIcon, { fontSize: "tiny" }),
|
|
7081
7160
|
action: "link",
|
|
7082
7161
|
method: null
|
|
7083
7162
|
}
|
|
@@ -7086,8 +7165,8 @@ var { clear: clearButton, ...formatButtons } = toolbarButtons;
|
|
|
7086
7165
|
var possibleFormats = Object.keys(formatButtons);
|
|
7087
7166
|
|
|
7088
7167
|
// src/components/size/unstable-size-field.tsx
|
|
7089
|
-
var
|
|
7090
|
-
var
|
|
7168
|
+
var React111 = __toESM(require("react"));
|
|
7169
|
+
var import_ui96 = require("@elementor/ui");
|
|
7091
7170
|
|
|
7092
7171
|
// src/hooks/use-size-value.ts
|
|
7093
7172
|
var useSizeValue = (externalValue, onChange, defaultValue) => {
|
|
@@ -7127,17 +7206,17 @@ var differsFromExternal = (newState, externalState) => {
|
|
|
7127
7206
|
};
|
|
7128
7207
|
|
|
7129
7208
|
// src/components/size/unit-select.tsx
|
|
7130
|
-
var
|
|
7209
|
+
var React109 = __toESM(require("react"));
|
|
7131
7210
|
var import_react62 = require("react");
|
|
7132
|
-
var
|
|
7133
|
-
var
|
|
7211
|
+
var import_editor_ui15 = require("@elementor/editor-ui");
|
|
7212
|
+
var import_ui95 = require("@elementor/ui");
|
|
7134
7213
|
var menuItemContentStyles = {
|
|
7135
7214
|
display: "flex",
|
|
7136
7215
|
flexDirection: "column",
|
|
7137
7216
|
justifyContent: "center"
|
|
7138
7217
|
};
|
|
7139
7218
|
var UnitSelect = ({ value, showPrimaryColor, onClick, options }) => {
|
|
7140
|
-
const popupState = (0,
|
|
7219
|
+
const popupState = (0, import_ui95.usePopupState)({
|
|
7141
7220
|
variant: "popover",
|
|
7142
7221
|
popupId: (0, import_react62.useId)()
|
|
7143
7222
|
});
|
|
@@ -7145,8 +7224,8 @@ var UnitSelect = ({ value, showPrimaryColor, onClick, options }) => {
|
|
|
7145
7224
|
onClick(options[index]);
|
|
7146
7225
|
popupState.close();
|
|
7147
7226
|
};
|
|
7148
|
-
return /* @__PURE__ */
|
|
7149
|
-
|
|
7227
|
+
return /* @__PURE__ */ React109.createElement(React109.Fragment, null, /* @__PURE__ */ React109.createElement(StyledButton2, { isPrimaryColor: showPrimaryColor, size: "small", ...(0, import_ui95.bindTrigger)(popupState) }, value), /* @__PURE__ */ React109.createElement(import_ui95.Menu, { MenuListProps: { dense: true }, ...(0, import_ui95.bindMenu)(popupState) }, options.map((option, index) => /* @__PURE__ */ React109.createElement(
|
|
7228
|
+
import_editor_ui15.MenuListItem,
|
|
7150
7229
|
{
|
|
7151
7230
|
key: option,
|
|
7152
7231
|
onClick: () => handleMenuItemClick(index),
|
|
@@ -7164,7 +7243,7 @@ var UnitSelect = ({ value, showPrimaryColor, onClick, options }) => {
|
|
|
7164
7243
|
option.toUpperCase()
|
|
7165
7244
|
))));
|
|
7166
7245
|
};
|
|
7167
|
-
var StyledButton2 = (0,
|
|
7246
|
+
var StyledButton2 = (0, import_ui95.styled)(import_ui95.Button, {
|
|
7168
7247
|
shouldForwardProp: (prop) => prop !== "isPrimaryColor"
|
|
7169
7248
|
})(({ isPrimaryColor, theme }) => ({
|
|
7170
7249
|
color: isPrimaryColor ? theme.palette.text.primary : theme.palette.text.tertiary,
|
|
@@ -7174,11 +7253,11 @@ var StyledButton2 = (0, import_ui94.styled)(import_ui94.Button, {
|
|
|
7174
7253
|
}));
|
|
7175
7254
|
|
|
7176
7255
|
// src/components/size/unstable-size-input.tsx
|
|
7177
|
-
var
|
|
7256
|
+
var React110 = __toESM(require("react"));
|
|
7178
7257
|
var import_react63 = require("react");
|
|
7179
7258
|
var UnstableSizeInput = (0, import_react63.forwardRef)(
|
|
7180
7259
|
({ type, value, onChange, onKeyDown, onKeyUp, InputProps, onBlur, focused, disabled }, ref) => {
|
|
7181
|
-
return /* @__PURE__ */
|
|
7260
|
+
return /* @__PURE__ */ React110.createElement(
|
|
7182
7261
|
NumberInput,
|
|
7183
7262
|
{
|
|
7184
7263
|
ref,
|
|
@@ -7222,7 +7301,7 @@ var UnstableSizeField = ({
|
|
|
7222
7301
|
const shouldHighlightUnit = () => {
|
|
7223
7302
|
return hasValue(size);
|
|
7224
7303
|
};
|
|
7225
|
-
return /* @__PURE__ */
|
|
7304
|
+
return /* @__PURE__ */ React111.createElement(
|
|
7226
7305
|
UnstableSizeInput,
|
|
7227
7306
|
{
|
|
7228
7307
|
type: "number",
|
|
@@ -7231,7 +7310,7 @@ var UnstableSizeField = ({
|
|
|
7231
7310
|
onChange: (event) => setSize(event.target.value),
|
|
7232
7311
|
InputProps: {
|
|
7233
7312
|
...InputProps,
|
|
7234
|
-
endAdornment: /* @__PURE__ */
|
|
7313
|
+
endAdornment: /* @__PURE__ */ React111.createElement(import_ui96.InputAdornment, { position: "end" }, /* @__PURE__ */ React111.createElement(
|
|
7235
7314
|
UnitSelect,
|
|
7236
7315
|
{
|
|
7237
7316
|
options: units2,
|
|
@@ -7251,11 +7330,11 @@ var hasValue = (value) => {
|
|
|
7251
7330
|
// src/hooks/use-font-families.ts
|
|
7252
7331
|
var import_react64 = require("react");
|
|
7253
7332
|
var import_editor_v1_adapters = require("@elementor/editor-v1-adapters");
|
|
7254
|
-
var
|
|
7333
|
+
var import_i18n56 = require("@wordpress/i18n");
|
|
7255
7334
|
var supportedCategories = {
|
|
7256
|
-
system: (0,
|
|
7257
|
-
custom: (0,
|
|
7258
|
-
googlefonts: (0,
|
|
7335
|
+
system: (0, import_i18n56.__)("System", "elementor"),
|
|
7336
|
+
custom: (0, import_i18n56.__)("Custom Fonts", "elementor"),
|
|
7337
|
+
googlefonts: (0, import_i18n56.__)("Google Fonts", "elementor")
|
|
7259
7338
|
};
|
|
7260
7339
|
var getFontFamilies = () => {
|
|
7261
7340
|
const { controls } = (0, import_editor_v1_adapters.getElementorConfig)();
|
|
@@ -7302,6 +7381,7 @@ var useFontFamilies = () => {
|
|
|
7302
7381
|
ControlToggleButtonGroup,
|
|
7303
7382
|
DateTimeControl,
|
|
7304
7383
|
DisplayConditionsControl,
|
|
7384
|
+
EmailFormActionControl,
|
|
7305
7385
|
EqualUnequalSizesControl,
|
|
7306
7386
|
FilterRepeaterControl,
|
|
7307
7387
|
FontFamilyControl,
|