@elementor/editor-components 3.35.0-347 → 3.35.0-349
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.js +36 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +65 -55
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/src/component-overridable-transformer.ts +5 -25
- package/src/components/components-tab/components-item.tsx +32 -13
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { injectIntoLogic, injectIntoTop } from "@elementor/editor";
|
|
3
3
|
import {
|
|
4
4
|
registerElementType,
|
|
5
|
-
settingsTransformersRegistry
|
|
5
|
+
settingsTransformersRegistry
|
|
6
6
|
} from "@elementor/editor-canvas";
|
|
7
7
|
import { getV1CurrentDocument } from "@elementor/editor-documents";
|
|
8
8
|
import {
|
|
@@ -253,26 +253,10 @@ var componentInstanceTransformer = createTransformer(
|
|
|
253
253
|
);
|
|
254
254
|
|
|
255
255
|
// src/component-overridable-transformer.ts
|
|
256
|
-
import { createTransformer as createTransformer2
|
|
257
|
-
var componentOverridableTransformer = createTransformer2(
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
}
|
|
261
|
-
);
|
|
262
|
-
async function transformOriginValue(value, options) {
|
|
263
|
-
if (!value.origin_value || !value.origin_value.value || !value.origin_value.$$type) {
|
|
264
|
-
return null;
|
|
265
|
-
}
|
|
266
|
-
const transformer = settingsTransformersRegistry.get(value.origin_value.$$type);
|
|
267
|
-
if (!transformer) {
|
|
268
|
-
return null;
|
|
269
|
-
}
|
|
270
|
-
try {
|
|
271
|
-
return await transformer(value.origin_value.value, options);
|
|
272
|
-
} catch {
|
|
273
|
-
return null;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
256
|
+
import { createTransformer as createTransformer2 } from "@elementor/editor-canvas";
|
|
257
|
+
var componentOverridableTransformer = createTransformer2((value) => {
|
|
258
|
+
return value.origin_value;
|
|
259
|
+
});
|
|
276
260
|
|
|
277
261
|
// src/components/component-panel-header/component-panel-header.tsx
|
|
278
262
|
import * as React2 from "react";
|
|
@@ -458,7 +442,7 @@ var ComponentSearch = () => {
|
|
|
458
442
|
// src/components/components-tab/components-list.tsx
|
|
459
443
|
import * as React7 from "react";
|
|
460
444
|
import { ComponentsIcon as ComponentsIcon2, EyeIcon } from "@elementor/icons";
|
|
461
|
-
import { Box as Box6, Divider as Divider2, Icon, Link, List, Stack as
|
|
445
|
+
import { Box as Box6, Divider as Divider2, Icon, Link, List, Stack as Stack5, Typography as Typography3 } from "@elementor/ui";
|
|
462
446
|
import { __ as __6 } from "@wordpress/i18n";
|
|
463
447
|
|
|
464
448
|
// src/hooks/use-components.ts
|
|
@@ -473,7 +457,7 @@ var useComponents = () => {
|
|
|
473
457
|
import * as React5 from "react";
|
|
474
458
|
import { endDragElementFromPanel, startDragElementFromPanel } from "@elementor/editor-canvas";
|
|
475
459
|
import { dropElement } from "@elementor/editor-elements";
|
|
476
|
-
import { MenuListItem } from "@elementor/editor-ui";
|
|
460
|
+
import { EllipsisWithTooltip, MenuListItem } from "@elementor/editor-ui";
|
|
477
461
|
import { ComponentsIcon, DotsVerticalIcon } from "@elementor/icons";
|
|
478
462
|
import {
|
|
479
463
|
bindMenu,
|
|
@@ -482,8 +466,8 @@ import {
|
|
|
482
466
|
IconButton as IconButton2,
|
|
483
467
|
ListItemButton,
|
|
484
468
|
ListItemIcon,
|
|
485
|
-
ListItemText,
|
|
486
469
|
Menu,
|
|
470
|
+
Stack as Stack3,
|
|
487
471
|
Typography as Typography2,
|
|
488
472
|
usePopupState
|
|
489
473
|
} from "@elementor/ui";
|
|
@@ -889,21 +873,47 @@ var ComponentItem = ({ component }) => {
|
|
|
889
873
|
}
|
|
890
874
|
archiveComponent(component.id);
|
|
891
875
|
};
|
|
892
|
-
return /* @__PURE__ */ React5.createElement(
|
|
876
|
+
return /* @__PURE__ */ React5.createElement(Stack3, null, /* @__PURE__ */ React5.createElement(
|
|
893
877
|
ListItemButton,
|
|
894
878
|
{
|
|
895
879
|
draggable: true,
|
|
896
880
|
onDragStart: () => startDragElementFromPanel(componentModel),
|
|
897
881
|
onDragEnd: handleDragEnd,
|
|
898
882
|
shape: "rounded",
|
|
899
|
-
sx: {
|
|
883
|
+
sx: {
|
|
884
|
+
border: "solid 1px",
|
|
885
|
+
borderColor: "divider",
|
|
886
|
+
py: 0.5,
|
|
887
|
+
px: 1,
|
|
888
|
+
display: "flex",
|
|
889
|
+
width: "100%",
|
|
890
|
+
alignItems: "center",
|
|
891
|
+
gap: 1
|
|
892
|
+
}
|
|
900
893
|
},
|
|
901
|
-
/* @__PURE__ */ React5.createElement(
|
|
902
|
-
|
|
894
|
+
/* @__PURE__ */ React5.createElement(
|
|
895
|
+
Box4,
|
|
903
896
|
{
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
897
|
+
onClick: handleClick,
|
|
898
|
+
sx: {
|
|
899
|
+
display: "flex",
|
|
900
|
+
alignItems: "center",
|
|
901
|
+
gap: 1,
|
|
902
|
+
minWidth: 0,
|
|
903
|
+
flexGrow: 1
|
|
904
|
+
}
|
|
905
|
+
},
|
|
906
|
+
/* @__PURE__ */ React5.createElement(ListItemIcon, { size: "tiny" }, /* @__PURE__ */ React5.createElement(ComponentsIcon, { fontSize: "tiny" })),
|
|
907
|
+
/* @__PURE__ */ React5.createElement(Box4, { display: "flex", flex: 1, minWidth: 0, flexGrow: 1 }, /* @__PURE__ */ React5.createElement(
|
|
908
|
+
EllipsisWithTooltip,
|
|
909
|
+
{
|
|
910
|
+
title: component.name,
|
|
911
|
+
as: Typography2,
|
|
912
|
+
variant: "caption",
|
|
913
|
+
color: "text.primary"
|
|
914
|
+
}
|
|
915
|
+
))
|
|
916
|
+
),
|
|
907
917
|
/* @__PURE__ */ React5.createElement(IconButton2, { size: "tiny", ...bindTrigger(popupState), "aria-label": "More actions" }, /* @__PURE__ */ React5.createElement(DotsVerticalIcon, { fontSize: "tiny" }))
|
|
908
918
|
), /* @__PURE__ */ React5.createElement(
|
|
909
919
|
Menu,
|
|
@@ -936,12 +946,12 @@ var addComponentToPage = (model) => {
|
|
|
936
946
|
|
|
937
947
|
// src/components/components-tab/loading-components.tsx
|
|
938
948
|
import * as React6 from "react";
|
|
939
|
-
import { Box as Box5, ListItemButton as ListItemButton2, Skeleton, Stack as
|
|
949
|
+
import { Box as Box5, ListItemButton as ListItemButton2, Skeleton, Stack as Stack4 } from "@elementor/ui";
|
|
940
950
|
var ROWS_COUNT = 6;
|
|
941
951
|
var rows = Array.from({ length: ROWS_COUNT }, (_, index) => index);
|
|
942
952
|
var LoadingComponents = () => {
|
|
943
953
|
return /* @__PURE__ */ React6.createElement(
|
|
944
|
-
|
|
954
|
+
Stack4,
|
|
945
955
|
{
|
|
946
956
|
"aria-label": "Loading components",
|
|
947
957
|
gap: 1,
|
|
@@ -991,7 +1001,7 @@ function ComponentsList() {
|
|
|
991
1001
|
}
|
|
992
1002
|
var EmptyState = () => {
|
|
993
1003
|
return /* @__PURE__ */ React7.createElement(
|
|
994
|
-
|
|
1004
|
+
Stack5,
|
|
995
1005
|
{
|
|
996
1006
|
alignItems: "center",
|
|
997
1007
|
justifyContent: "center",
|
|
@@ -1025,7 +1035,7 @@ var EmptyState = () => {
|
|
|
1025
1035
|
var EmptySearchResult = () => {
|
|
1026
1036
|
const { searchValue, clearSearch } = useSearch();
|
|
1027
1037
|
return /* @__PURE__ */ React7.createElement(
|
|
1028
|
-
|
|
1038
|
+
Stack5,
|
|
1029
1039
|
{
|
|
1030
1040
|
color: "text.secondary",
|
|
1031
1041
|
pt: 5,
|
|
@@ -1099,7 +1109,7 @@ import { useEffect as useEffect2, useMemo as useMemo2, useRef as useRef2, useSta
|
|
|
1099
1109
|
import { getElementLabel } from "@elementor/editor-elements";
|
|
1100
1110
|
import { Form as FormElement, ThemeProvider as ThemeProvider2 } from "@elementor/editor-ui";
|
|
1101
1111
|
import { StarIcon } from "@elementor/icons";
|
|
1102
|
-
import { Alert, Button, FormLabel, Grid, Popover, Snackbar, Stack as
|
|
1112
|
+
import { Alert, Button, FormLabel, Grid, Popover, Snackbar, Stack as Stack6, TextField as TextField2, Typography as Typography4 } from "@elementor/ui";
|
|
1103
1113
|
import { __ as __8 } from "@wordpress/i18n";
|
|
1104
1114
|
|
|
1105
1115
|
// src/store/actions/create-unpublished-component.ts
|
|
@@ -1344,8 +1354,8 @@ var Form = ({
|
|
|
1344
1354
|
create: __8("Create", "elementor")
|
|
1345
1355
|
};
|
|
1346
1356
|
const nameInputId = "component-name";
|
|
1347
|
-
return /* @__PURE__ */ React9.createElement(FormElement, { onSubmit: handleSubmit }, /* @__PURE__ */ React9.createElement(
|
|
1348
|
-
|
|
1357
|
+
return /* @__PURE__ */ React9.createElement(FormElement, { onSubmit: handleSubmit }, /* @__PURE__ */ React9.createElement(Stack6, { alignItems: "start", width: "268px" }, /* @__PURE__ */ React9.createElement(
|
|
1358
|
+
Stack6,
|
|
1349
1359
|
{
|
|
1350
1360
|
direction: "row",
|
|
1351
1361
|
alignItems: "center",
|
|
@@ -1367,7 +1377,7 @@ var Form = ({
|
|
|
1367
1377
|
error: Boolean(errors.componentName),
|
|
1368
1378
|
helperText: errors.componentName
|
|
1369
1379
|
}
|
|
1370
|
-
))), /* @__PURE__ */ React9.createElement(
|
|
1380
|
+
))), /* @__PURE__ */ React9.createElement(Stack6, { direction: "row", justifyContent: "flex-end", alignSelf: "end", py: 1, px: 1.5 }, /* @__PURE__ */ React9.createElement(Button, { onClick: closePopup, color: "secondary", variant: "text", size: "small" }, texts.cancel), /* @__PURE__ */ React9.createElement(Button, { type: "submit", disabled: !isValid, variant: "contained", color: "primary", size: "small" }, texts.create))));
|
|
1371
1381
|
};
|
|
1372
1382
|
|
|
1373
1383
|
// src/components/edit-component/edit-component.tsx
|
|
@@ -1636,7 +1646,7 @@ function getComponentDOMElement(id) {
|
|
|
1636
1646
|
import * as React12 from "react";
|
|
1637
1647
|
import { closeDialog, openDialog } from "@elementor/editor-ui";
|
|
1638
1648
|
import { InfoCircleFilledIcon } from "@elementor/icons";
|
|
1639
|
-
import { Box as Box7, Button as Button2, DialogActions, DialogContent, DialogHeader, Icon as Icon2, Stack as
|
|
1649
|
+
import { Box as Box7, Button as Button2, DialogActions, DialogContent, DialogHeader, Icon as Icon2, Stack as Stack7, Typography as Typography5 } from "@elementor/ui";
|
|
1640
1650
|
import { __ as __10 } from "@wordpress/i18n";
|
|
1641
1651
|
var openEditModeDialog = (lockedBy) => {
|
|
1642
1652
|
openDialog({
|
|
@@ -1645,7 +1655,7 @@ var openEditModeDialog = (lockedBy) => {
|
|
|
1645
1655
|
};
|
|
1646
1656
|
var EditModeDialog = ({ lockedBy }) => {
|
|
1647
1657
|
const content = __10("%s is currently editing this document", "elementor").replace("%s", lockedBy);
|
|
1648
|
-
return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(DialogHeader, { logo: false }, /* @__PURE__ */ React12.createElement(Box7, { display: "flex", alignItems: "center", gap: 1 }, /* @__PURE__ */ React12.createElement(Icon2, { color: "secondary" }, /* @__PURE__ */ React12.createElement(InfoCircleFilledIcon, { fontSize: "medium" })), /* @__PURE__ */ React12.createElement(Typography5, { variant: "subtitle1" }, content))), /* @__PURE__ */ React12.createElement(DialogContent, null, /* @__PURE__ */ React12.createElement(
|
|
1658
|
+
return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(DialogHeader, { logo: false }, /* @__PURE__ */ React12.createElement(Box7, { display: "flex", alignItems: "center", gap: 1 }, /* @__PURE__ */ React12.createElement(Icon2, { color: "secondary" }, /* @__PURE__ */ React12.createElement(InfoCircleFilledIcon, { fontSize: "medium" })), /* @__PURE__ */ React12.createElement(Typography5, { variant: "subtitle1" }, content))), /* @__PURE__ */ React12.createElement(DialogContent, null, /* @__PURE__ */ React12.createElement(Stack7, { spacing: 2, direction: "column" }, /* @__PURE__ */ React12.createElement(Typography5, { variant: "body2" }, __10(
|
|
1649
1659
|
"You can wait for them to finish or reach out to coordinate your changes together.",
|
|
1650
1660
|
"elementor"
|
|
1651
1661
|
)), /* @__PURE__ */ React12.createElement(DialogActions, null, /* @__PURE__ */ React12.createElement(Button2, { color: "secondary", variant: "contained", onClick: closeDialog }, __10("Close", "elementor"))))));
|
|
@@ -1658,7 +1668,7 @@ import { useElementSetting, useSelectedElement } from "@elementor/editor-element
|
|
|
1658
1668
|
import { PanelBody, PanelHeader, PanelHeaderTitle } from "@elementor/editor-panels";
|
|
1659
1669
|
import { ComponentsIcon as ComponentsIcon3, PencilIcon as PencilIcon2 } from "@elementor/icons";
|
|
1660
1670
|
import { __getState as getState5 } from "@elementor/store";
|
|
1661
|
-
import { IconButton as IconButton3, Stack as
|
|
1671
|
+
import { IconButton as IconButton3, Stack as Stack10, Tooltip as Tooltip2 } from "@elementor/ui";
|
|
1662
1672
|
import { __ as __12 } from "@wordpress/i18n";
|
|
1663
1673
|
|
|
1664
1674
|
// src/prop-types/component-instance-prop-type.ts
|
|
@@ -1702,11 +1712,11 @@ var componentInstancePropTypeUtil = createPropUtils3(
|
|
|
1702
1712
|
// src/components/instance-editing-panel/empty-state.tsx
|
|
1703
1713
|
import * as React13 from "react";
|
|
1704
1714
|
import { ComponentPropListIcon as ComponentPropListIcon2, PencilIcon } from "@elementor/icons";
|
|
1705
|
-
import { Button as Button3, Stack as
|
|
1715
|
+
import { Button as Button3, Stack as Stack8, Typography as Typography6 } from "@elementor/ui";
|
|
1706
1716
|
import { __ as __11 } from "@wordpress/i18n";
|
|
1707
1717
|
var EmptyState2 = ({ onEditComponent }) => {
|
|
1708
1718
|
return /* @__PURE__ */ React13.createElement(
|
|
1709
|
-
|
|
1719
|
+
Stack8,
|
|
1710
1720
|
{
|
|
1711
1721
|
alignItems: "center",
|
|
1712
1722
|
justifyContent: "start",
|
|
@@ -1730,7 +1740,7 @@ import * as React14 from "react";
|
|
|
1730
1740
|
import { useId } from "react";
|
|
1731
1741
|
import { useStateByElement } from "@elementor/editor-editing-panel";
|
|
1732
1742
|
import { CollapseIcon } from "@elementor/editor-ui";
|
|
1733
|
-
import { Collapse, ListItemButton as ListItemButton3, ListItemText
|
|
1743
|
+
import { Collapse, ListItemButton as ListItemButton3, ListItemText, Stack as Stack9 } from "@elementor/ui";
|
|
1734
1744
|
function OverridePropsGroup({ group, props }) {
|
|
1735
1745
|
const [isOpen, setIsOpen] = useStateByElement(group.id, true);
|
|
1736
1746
|
const handleClick = () => {
|
|
@@ -1750,8 +1760,8 @@ function OverridePropsGroup({ group, props }) {
|
|
|
1750
1760
|
p: 0,
|
|
1751
1761
|
sx: { "&:hover": { backgroundColor: "transparent" } }
|
|
1752
1762
|
},
|
|
1753
|
-
/* @__PURE__ */ React14.createElement(
|
|
1754
|
-
|
|
1763
|
+
/* @__PURE__ */ React14.createElement(Stack9, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React14.createElement(
|
|
1764
|
+
ListItemText,
|
|
1755
1765
|
{
|
|
1756
1766
|
secondary: title,
|
|
1757
1767
|
secondaryTypographyProps: { color: "text.primary", variant: "caption", fontWeight: "bold" },
|
|
@@ -1759,7 +1769,7 @@ function OverridePropsGroup({ group, props }) {
|
|
|
1759
1769
|
}
|
|
1760
1770
|
)),
|
|
1761
1771
|
/* @__PURE__ */ React14.createElement(CollapseIcon, { open: isOpen, color: "secondary", fontSize: "tiny" })
|
|
1762
|
-
), /* @__PURE__ */ React14.createElement(Collapse, { id: contentId, "aria-labelledby": labelId, in: isOpen, timeout: "auto" }, /* @__PURE__ */ React14.createElement(
|
|
1772
|
+
), /* @__PURE__ */ React14.createElement(Collapse, { id: contentId, "aria-labelledby": labelId, in: isOpen, timeout: "auto" }, /* @__PURE__ */ React14.createElement(Stack9, { direction: "column", gap: 1, p: 2 }, group.props.map((propId) => (
|
|
1763
1773
|
// TODO: Render actual controls
|
|
1764
1774
|
/* @__PURE__ */ React14.createElement("pre", { key: propId }, JSON.stringify(props[propId], null, 2))
|
|
1765
1775
|
)))));
|
|
@@ -1782,7 +1792,7 @@ function InstanceEditingPanel() {
|
|
|
1782
1792
|
(groupId) => overridableProps.groups.items[groupId] ? overridableProps.groups.items[groupId] : null
|
|
1783
1793
|
).filter(Boolean);
|
|
1784
1794
|
const isEmpty = groups.length === 0 || Object.keys(overridableProps.props).length === 0;
|
|
1785
|
-
return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement(PanelHeader, { sx: { justifyContent: "start" } }, /* @__PURE__ */ React15.createElement(
|
|
1795
|
+
return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement(PanelHeader, { sx: { justifyContent: "start" } }, /* @__PURE__ */ React15.createElement(Stack10, { direction: "row", alignContent: "space-between", flexGrow: 1 }, /* @__PURE__ */ React15.createElement(Stack10, { direction: "row", alignItems: "center", justifyContent: "start", gap: 1, flexGrow: 1 }, /* @__PURE__ */ React15.createElement(ComponentsIcon3, { fontSize: "small", sx: { color: "text.tertiary" } }), /* @__PURE__ */ React15.createElement(PanelHeaderTitle, null, component.name)), /* @__PURE__ */ React15.createElement(Tooltip2, { title: panelTitle }, /* @__PURE__ */ React15.createElement(IconButton3, { size: "tiny", onClick: handleEditComponent, "aria-label": panelTitle }, /* @__PURE__ */ React15.createElement(PencilIcon2, { fontSize: "tiny" }))))), /* @__PURE__ */ React15.createElement(PanelBody, null, isEmpty ? /* @__PURE__ */ React15.createElement(EmptyState2, { onEditComponent: handleEditComponent }) : /* @__PURE__ */ React15.createElement(Stack10, { direction: "column", alignItems: "stretch" }, groups.map((group) => /* @__PURE__ */ React15.createElement(OverridePropsGroup, { key: group.id, group, props: overridableProps.props })))));
|
|
1786
1796
|
}
|
|
1787
1797
|
|
|
1788
1798
|
// src/components/overridable-props/overridable-prop-control.tsx
|
|
@@ -2109,7 +2119,7 @@ var Indicator = forwardRef(({ isOpen, isOverridable, ...props }, ref) => /* @__P
|
|
|
2109
2119
|
import * as React19 from "react";
|
|
2110
2120
|
import { useState as useState4 } from "react";
|
|
2111
2121
|
import { Form as Form2, MenuListItem as MenuListItem2 } from "@elementor/editor-ui";
|
|
2112
|
-
import { Button as Button4, FormLabel as FormLabel2, Grid as Grid2, Select, Stack as
|
|
2122
|
+
import { Button as Button4, FormLabel as FormLabel2, Grid as Grid2, Select, Stack as Stack11, TextField as TextField3, Typography as Typography7 } from "@elementor/ui";
|
|
2113
2123
|
import { __ as __15 } from "@wordpress/i18n";
|
|
2114
2124
|
var SIZE2 = "tiny";
|
|
2115
2125
|
var DEFAULT_GROUP = { value: null, label: __15("Default", "elementor") };
|
|
@@ -2121,8 +2131,8 @@ function OverridablePropForm({ onSubmit, groups, currentValue }) {
|
|
|
2121
2131
|
const isCreate = currentValue === void 0;
|
|
2122
2132
|
const title = isCreate ? __15("Create new property", "elementor") : __15("Update property", "elementor");
|
|
2123
2133
|
const ctaLabel = isCreate ? __15("Create", "elementor") : __15("Update", "elementor");
|
|
2124
|
-
return /* @__PURE__ */ React19.createElement(Form2, { onSubmit: () => onSubmit({ label: propLabel ?? "", group }) }, /* @__PURE__ */ React19.createElement(
|
|
2125
|
-
|
|
2134
|
+
return /* @__PURE__ */ React19.createElement(Form2, { onSubmit: () => onSubmit({ label: propLabel ?? "", group }) }, /* @__PURE__ */ React19.createElement(Stack11, { alignItems: "start", width: "268px" }, /* @__PURE__ */ React19.createElement(
|
|
2135
|
+
Stack11,
|
|
2126
2136
|
{
|
|
2127
2137
|
direction: "row",
|
|
2128
2138
|
alignItems: "center",
|
|
@@ -2159,7 +2169,7 @@ function OverridablePropForm({ onSubmit, groups, currentValue }) {
|
|
|
2159
2169
|
}
|
|
2160
2170
|
},
|
|
2161
2171
|
(groups ?? [DEFAULT_GROUP]).map(({ label: groupLabel, ...props }) => /* @__PURE__ */ React19.createElement(MenuListItem2, { key: props.value, ...props, value: props.value ?? "" }, groupLabel))
|
|
2162
|
-
))), /* @__PURE__ */ React19.createElement(
|
|
2172
|
+
))), /* @__PURE__ */ React19.createElement(Stack11, { direction: "row", justifyContent: "flex-end", alignSelf: "end", mt: 1.5, py: 1, px: 1.5 }, /* @__PURE__ */ React19.createElement(Button4, { type: "submit", disabled: !propLabel, variant: "contained", color: "primary", size: "small" }, ctaLabel))));
|
|
2163
2173
|
}
|
|
2164
2174
|
|
|
2165
2175
|
// src/components/overridable-props/utils/get-overridable-prop.ts
|
|
@@ -2597,8 +2607,8 @@ function init() {
|
|
|
2597
2607
|
condition: (_, elementType) => elementType.key === "e-component",
|
|
2598
2608
|
component: InstanceEditingPanel
|
|
2599
2609
|
});
|
|
2600
|
-
|
|
2601
|
-
|
|
2610
|
+
settingsTransformersRegistry.register("component-instance", componentInstanceTransformer);
|
|
2611
|
+
settingsTransformersRegistry.register("overridable", componentOverridableTransformer);
|
|
2602
2612
|
initMcp();
|
|
2603
2613
|
}
|
|
2604
2614
|
export {
|