@elementor/editor-editing-panel 4.5.0-1175 → 4.5.0-1177

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.mjs CHANGED
@@ -6774,21 +6774,16 @@ var ListItemLabelControl = ({ elementId, fallbackLabel }) => {
6774
6774
  ));
6775
6775
  };
6776
6776
 
6777
- // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
6777
+ // src/controls-registry/element-controls/menu-items-control/menu-items-control.tsx
6778
6778
  import * as React98 from "react";
6779
- import {
6780
- ControlFormLabel as ControlFormLabel5,
6781
- Repeater as Repeater3,
6782
- useBoundProp as useBoundProp8
6783
- } from "@elementor/editor-controls";
6779
+ import { useId as useId3 } from "react";
6780
+ import { ControlFormLabel as ControlFormLabel5, Repeater as Repeater3 } from "@elementor/editor-controls";
6784
6781
  import {
6785
6782
  updateElementEditorSettings as updateElementEditorSettings4,
6786
6783
  useElementChildren as useElementChildren3,
6787
6784
  useElementEditorSettings as useElementEditorSettings4
6788
6785
  } from "@elementor/editor-elements";
6789
- import { numberPropTypeUtil as numberPropTypeUtil4 } from "@elementor/editor-props";
6790
- import { InfoCircleFilledIcon as InfoCircleFilledIcon3 } from "@elementor/icons";
6791
- import { Alert as Alert5, Chip as Chip4, Infotip as Infotip3, Stack as Stack17, Switch as Switch2, TextField as TextField4, Typography as Typography5 } from "@elementor/ui";
6786
+ import { Stack as Stack17, TextField as TextField4 } from "@elementor/ui";
6792
6787
  import { __ as __76 } from "@wordpress/i18n";
6793
6788
 
6794
6789
  // src/controls-registry/element-controls/get-element-by-type.ts
@@ -6804,20 +6799,214 @@ var getElementByType = (elementId, type) => {
6804
6799
  return currentElement.children?.findRecursive?.((child) => child.model.get("elType") === type) ?? null;
6805
6800
  };
6806
6801
 
6807
- // src/controls-registry/element-controls/tabs-control/use-actions.ts
6808
- import { useBoundProp as useBoundProp7 } from "@elementor/editor-controls";
6802
+ // src/controls-registry/element-controls/menu-items-control/use-actions.ts
6809
6803
  import {
6810
6804
  createElements as createElements3,
6811
6805
  duplicateElements as duplicateElements3,
6806
+ generateElementId as generateElementId3,
6812
6807
  getContainer as getContainer8,
6813
6808
  moveElements as moveElements3,
6814
6809
  removeElements as removeElements3
6815
6810
  } from "@elementor/editor-elements";
6816
- import { numberPropTypeUtil as numberPropTypeUtil3 } from "@elementor/editor-props";
6811
+ import { escapedHtmlPropTypeUtil as escapedHtmlPropTypeUtil4 } from "@elementor/editor-props";
6817
6812
  import { __ as __75 } from "@wordpress/i18n";
6813
+ var MENU_ITEMS_ELEMENT_TYPE = "e-menu-items";
6814
+ var MENU_ENTRY_ELEMENT_TYPE = "e-menu-entry";
6815
+ var MENU_ITEM_ELEMENT_TYPE = "e-menu-item";
6816
+ var PARAGRAPH_WIDGET_TYPE3 = "e-paragraph";
6817
+ var getEntryTitle = () => __75("Menu item", "elementor");
6818
+ var buildEntryModel = (title) => ({
6819
+ elType: MENU_ENTRY_ELEMENT_TYPE,
6820
+ id: generateElementId3(),
6821
+ editor_settings: { title },
6822
+ elements: [
6823
+ {
6824
+ elType: MENU_ITEM_ELEMENT_TYPE,
6825
+ id: generateElementId3(),
6826
+ elements: [
6827
+ {
6828
+ elType: "widget",
6829
+ widgetType: PARAGRAPH_WIDGET_TYPE3,
6830
+ id: generateElementId3(),
6831
+ elements: [],
6832
+ settings: {
6833
+ paragraph: escapedHtmlPropTypeUtil4.create(title),
6834
+ tag: { $$type: "string", value: "span" }
6835
+ }
6836
+ }
6837
+ ]
6838
+ }
6839
+ ]
6840
+ });
6841
+ var useActions2 = () => {
6842
+ const addItem2 = ({ menuItemsId, items: items3 }) => {
6843
+ const menuItems = getContainer8(menuItemsId);
6844
+ if (!menuItems) {
6845
+ throw new Error("Menu items container not found");
6846
+ }
6847
+ items3.forEach(() => {
6848
+ createElements3({
6849
+ title: __75("Menu", "elementor"),
6850
+ elements: [
6851
+ {
6852
+ container: menuItems,
6853
+ model: buildEntryModel(getEntryTitle())
6854
+ }
6855
+ ]
6856
+ });
6857
+ });
6858
+ };
6859
+ const removeItem2 = ({ items: items3 }) => {
6860
+ removeElements3({
6861
+ title: __75("Menu", "elementor"),
6862
+ elementIds: items3.map(({ item }) => item.id)
6863
+ });
6864
+ };
6865
+ const duplicateItem2 = ({ items: items3 }) => {
6866
+ duplicateElements3({
6867
+ title: __75("Duplicate Menu item", "elementor"),
6868
+ elementIds: items3.map(({ item }) => item.id)
6869
+ });
6870
+ };
6871
+ const moveItem2 = ({
6872
+ menuItemsId,
6873
+ movedElementId,
6874
+ toIndex
6875
+ }) => {
6876
+ const menuItems = getContainer8(menuItemsId);
6877
+ const movedElement = getContainer8(movedElementId);
6878
+ if (!menuItems || !movedElement) {
6879
+ throw new Error("Menu item or container not found");
6880
+ }
6881
+ moveElements3({
6882
+ title: __75("Reorder Menu items", "elementor"),
6883
+ moves: [
6884
+ {
6885
+ element: movedElement,
6886
+ targetContainer: menuItems,
6887
+ options: { at: toIndex }
6888
+ }
6889
+ ]
6890
+ });
6891
+ };
6892
+ return { addItem: addItem2, removeItem: removeItem2, duplicateItem: duplicateItem2, moveItem: moveItem2 };
6893
+ };
6894
+
6895
+ // src/controls-registry/element-controls/menu-items-control/menu-items-control.tsx
6896
+ var MenuItemsControl = ({ label }) => {
6897
+ const { element } = useElement();
6898
+ const { addItem: addItem2, duplicateItem: duplicateItem2, moveItem: moveItem2, removeItem: removeItem2 } = useActions2();
6899
+ const { [MENU_ENTRY_ELEMENT_TYPE]: entries } = useElementChildren3(element.id, {
6900
+ [MENU_ITEMS_ELEMENT_TYPE]: MENU_ENTRY_ELEMENT_TYPE
6901
+ });
6902
+ const menuItems = getElementByType(element.id, MENU_ITEMS_ELEMENT_TYPE);
6903
+ const repeaterValues = entries.map((entry, index) => ({
6904
+ id: entry.id,
6905
+ title: entry.editorSettings?.title,
6906
+ index
6907
+ }));
6908
+ const setValue = (_newValues, _options, meta) => {
6909
+ if (!menuItems) {
6910
+ return;
6911
+ }
6912
+ if (meta?.action?.type === "add") {
6913
+ return addItem2({
6914
+ menuItemsId: menuItems.id,
6915
+ items: meta.action.payload
6916
+ });
6917
+ }
6918
+ if (meta?.action?.type === "remove") {
6919
+ return removeItem2({ items: meta.action.payload });
6920
+ }
6921
+ if (meta?.action?.type === "duplicate") {
6922
+ return duplicateItem2({ items: meta.action.payload });
6923
+ }
6924
+ if (meta?.action?.type === "reorder") {
6925
+ const { from, to } = meta.action.payload;
6926
+ return moveItem2({
6927
+ menuItemsId: menuItems.id,
6928
+ movedElementId: entries[from].id,
6929
+ toIndex: to
6930
+ });
6931
+ }
6932
+ };
6933
+ return /* @__PURE__ */ React98.createElement(
6934
+ Repeater3,
6935
+ {
6936
+ showToggle: false,
6937
+ values: repeaterValues,
6938
+ setValues: setValue,
6939
+ showRemove: repeaterValues.length > 1,
6940
+ label,
6941
+ adornment: () => null,
6942
+ itemSettings: {
6943
+ getId: ({ item }) => item.id,
6944
+ initialValues: { id: "", title: __76("Menu item", "elementor") },
6945
+ Label: ItemLabel3,
6946
+ Content: ItemContent3,
6947
+ Icon: () => null
6948
+ }
6949
+ }
6950
+ );
6951
+ };
6952
+ var ItemLabel3 = ({ value }) => /* @__PURE__ */ React98.createElement(Stack17, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, value.id ? /* @__PURE__ */ React98.createElement(EntryLabel, { elementId: value.id, fallbackTitle: value.title }) : /* @__PURE__ */ React98.createElement("span", null, value?.title));
6953
+ var EntryLabel = ({ elementId, fallbackTitle }) => {
6954
+ const editorSettings = useElementEditorSettings4(elementId);
6955
+ return /* @__PURE__ */ React98.createElement("span", null, editorSettings?.title ?? fallbackTitle ?? "");
6956
+ };
6957
+ var ItemContent3 = ({ value }) => {
6958
+ if (!value.id) {
6959
+ return null;
6960
+ }
6961
+ return /* @__PURE__ */ React98.createElement(Stack17, { p: 2, gap: 1.5 }, /* @__PURE__ */ React98.createElement(ItemNameControl2, { elementId: value.id }));
6962
+ };
6963
+ var ItemNameControl2 = ({ elementId }) => {
6964
+ const editorSettings = useElementEditorSettings4(elementId);
6965
+ const inputId = useId3();
6966
+ return /* @__PURE__ */ React98.createElement(Stack17, { gap: 1 }, /* @__PURE__ */ React98.createElement(ControlFormLabel5, { htmlFor: inputId }, __76("Name", "elementor")), /* @__PURE__ */ React98.createElement(
6967
+ TextField4,
6968
+ {
6969
+ id: inputId,
6970
+ size: "tiny",
6971
+ value: editorSettings?.title ?? "",
6972
+ onChange: ({ target }) => {
6973
+ updateElementEditorSettings4({ elementId, settings: { title: target.value } });
6974
+ }
6975
+ }
6976
+ ));
6977
+ };
6978
+
6979
+ // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
6980
+ import * as React99 from "react";
6981
+ import {
6982
+ ControlFormLabel as ControlFormLabel6,
6983
+ Repeater as Repeater4,
6984
+ useBoundProp as useBoundProp8
6985
+ } from "@elementor/editor-controls";
6986
+ import {
6987
+ updateElementEditorSettings as updateElementEditorSettings5,
6988
+ useElementChildren as useElementChildren4,
6989
+ useElementEditorSettings as useElementEditorSettings5
6990
+ } from "@elementor/editor-elements";
6991
+ import { numberPropTypeUtil as numberPropTypeUtil4 } from "@elementor/editor-props";
6992
+ import { InfoCircleFilledIcon as InfoCircleFilledIcon3 } from "@elementor/icons";
6993
+ import { Alert as Alert5, Chip as Chip4, Infotip as Infotip3, Stack as Stack18, Switch as Switch2, TextField as TextField5, Typography as Typography5 } from "@elementor/ui";
6994
+ import { __ as __78 } from "@wordpress/i18n";
6995
+
6996
+ // src/controls-registry/element-controls/tabs-control/use-actions.ts
6997
+ import { useBoundProp as useBoundProp7 } from "@elementor/editor-controls";
6998
+ import {
6999
+ createElements as createElements4,
7000
+ duplicateElements as duplicateElements4,
7001
+ getContainer as getContainer9,
7002
+ moveElements as moveElements4,
7003
+ removeElements as removeElements4
7004
+ } from "@elementor/editor-elements";
7005
+ import { numberPropTypeUtil as numberPropTypeUtil3 } from "@elementor/editor-props";
7006
+ import { __ as __77 } from "@wordpress/i18n";
6818
7007
  var TAB_ELEMENT_TYPE = "e-tab";
6819
7008
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
6820
- var useActions2 = () => {
7009
+ var useActions3 = () => {
6821
7010
  const { value, setValue: setDefaultActiveTab } = useBoundProp7(numberPropTypeUtil3);
6822
7011
  const defaultActiveTab = value ?? 0;
6823
7012
  const duplicateItem2 = ({
@@ -6830,14 +7019,14 @@ var useActions2 = () => {
6830
7019
  });
6831
7020
  items3.forEach(({ item, index }) => {
6832
7021
  const tabId = item.id;
6833
- const tabContentAreaContainer = getContainer8(tabContentAreaId);
7022
+ const tabContentAreaContainer = getContainer9(tabContentAreaId);
6834
7023
  const tabContentId = tabContentAreaContainer?.children?.[index]?.id;
6835
7024
  if (!tabContentId) {
6836
7025
  throw new Error("Original content ID is required for duplication");
6837
7026
  }
6838
- duplicateElements3({
7027
+ duplicateElements4({
6839
7028
  elementIds: [tabId, tabContentId],
6840
- title: __75("Duplicate Tab", "elementor"),
7029
+ title: __77("Duplicate Tab", "elementor"),
6841
7030
  onDuplicateElements: () => {
6842
7031
  if (newDefault !== defaultActiveTab) {
6843
7032
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -6858,10 +7047,10 @@ var useActions2 = () => {
6858
7047
  movedElementId,
6859
7048
  movedElementIndex
6860
7049
  }) => {
6861
- const tabContentContainer = getContainer8(tabContentAreaId);
7050
+ const tabContentContainer = getContainer9(tabContentAreaId);
6862
7051
  const tabContent = tabContentContainer?.children?.[movedElementIndex];
6863
- const movedElement = getContainer8(movedElementId);
6864
- const tabsMenu = getContainer8(tabsMenuId);
7052
+ const movedElement = getContainer9(movedElementId);
7053
+ const tabsMenu = getContainer9(tabsMenuId);
6865
7054
  if (!tabContent) {
6866
7055
  throw new Error("Content element is required");
6867
7056
  }
@@ -6873,8 +7062,8 @@ var useActions2 = () => {
6873
7062
  to: toIndex,
6874
7063
  defaultActiveTab
6875
7064
  });
6876
- moveElements3({
6877
- title: __75("Reorder Tabs", "elementor"),
7065
+ moveElements4({
7066
+ title: __77("Reorder Tabs", "elementor"),
6878
7067
  moves: [
6879
7068
  {
6880
7069
  element: movedElement,
@@ -6907,11 +7096,11 @@ var useActions2 = () => {
6907
7096
  items: items3,
6908
7097
  defaultActiveTab
6909
7098
  });
6910
- removeElements3({
6911
- title: __75("Tabs", "elementor"),
7099
+ removeElements4({
7100
+ title: __77("Tabs", "elementor"),
6912
7101
  elementIds: items3.flatMap(({ item, index }) => {
6913
7102
  const tabId = item.id;
6914
- const tabContentContainer = getContainer8(tabContentAreaId);
7103
+ const tabContentContainer = getContainer9(tabContentAreaId);
6915
7104
  const tabContentId = tabContentContainer?.children?.[index]?.id;
6916
7105
  if (!tabContentId) {
6917
7106
  throw new Error("Content ID is required");
@@ -6935,15 +7124,15 @@ var useActions2 = () => {
6935
7124
  tabsMenuId,
6936
7125
  items: items3
6937
7126
  }) => {
6938
- const tabContentArea = getContainer8(tabContentAreaId);
6939
- const tabsMenu = getContainer8(tabsMenuId);
7127
+ const tabContentArea = getContainer9(tabContentAreaId);
7128
+ const tabsMenu = getContainer9(tabsMenuId);
6940
7129
  if (!tabContentArea || !tabsMenu) {
6941
7130
  throw new Error("Tab containers not found");
6942
7131
  }
6943
7132
  items3.forEach(({ index }) => {
6944
7133
  const position = index + 1;
6945
- createElements3({
6946
- title: __75("Tabs", "elementor"),
7134
+ createElements4({
7135
+ title: __77("Tabs", "elementor"),
6947
7136
  elements: [
6948
7137
  {
6949
7138
  container: tabContentArea,
@@ -7012,12 +7201,12 @@ var calculateDefaultOnDuplicate = ({
7012
7201
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
7013
7202
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
7014
7203
  var TabsControl = ({ label }) => {
7015
- return /* @__PURE__ */ React98.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __76("Tabs", "elementor") }, /* @__PURE__ */ React98.createElement(TabsControlContent, { label }));
7204
+ return /* @__PURE__ */ React99.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __78("Tabs", "elementor") }, /* @__PURE__ */ React99.createElement(TabsControlContent, { label }));
7016
7205
  };
7017
7206
  var TabsControlContent = ({ label }) => {
7018
7207
  const { element } = useElement();
7019
- const { addItem: addItem2, duplicateItem: duplicateItem2, moveItem: moveItem2, removeItem: removeItem2 } = useActions2();
7020
- const { [TAB_ELEMENT_TYPE]: tabLinks } = useElementChildren3(element.id, {
7208
+ const { addItem: addItem2, duplicateItem: duplicateItem2, moveItem: moveItem2, removeItem: removeItem2 } = useActions3();
7209
+ const { [TAB_ELEMENT_TYPE]: tabLinks } = useElementChildren4(element.id, {
7021
7210
  [TAB_MENU_ELEMENT_TYPE]: TAB_ELEMENT_TYPE
7022
7211
  });
7023
7212
  const tabList = getElementByType(element.id, TAB_MENU_ELEMENT_TYPE);
@@ -7056,8 +7245,8 @@ var TabsControlContent = ({ label }) => {
7056
7245
  });
7057
7246
  }
7058
7247
  };
7059
- return /* @__PURE__ */ React98.createElement(
7060
- Repeater3,
7248
+ return /* @__PURE__ */ React99.createElement(
7249
+ Repeater4,
7061
7250
  {
7062
7251
  showToggle: false,
7063
7252
  values: repeaterValues,
@@ -7067,20 +7256,20 @@ var TabsControlContent = ({ label }) => {
7067
7256
  itemSettings: {
7068
7257
  getId: ({ item }) => item.id,
7069
7258
  initialValues: { id: "", title: "Tab" },
7070
- Label: ItemLabel3,
7071
- Content: ItemContent3,
7259
+ Label: ItemLabel4,
7260
+ Content: ItemContent4,
7072
7261
  Icon: () => null
7073
7262
  }
7074
7263
  }
7075
7264
  );
7076
7265
  };
7077
- var ItemLabel3 = ({ value, index }) => {
7078
- return /* @__PURE__ */ React98.createElement(Stack17, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, value.id ? /* @__PURE__ */ React98.createElement(TabRepeaterLabel, { elementId: value.id, fallbackTitle: value.title }) : /* @__PURE__ */ React98.createElement("span", null, value?.title), /* @__PURE__ */ React98.createElement(ItemDefaultTab, { index }));
7266
+ var ItemLabel4 = ({ value, index }) => {
7267
+ return /* @__PURE__ */ React99.createElement(Stack18, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, value.id ? /* @__PURE__ */ React99.createElement(TabRepeaterLabel, { elementId: value.id, fallbackTitle: value.title }) : /* @__PURE__ */ React99.createElement("span", null, value?.title), /* @__PURE__ */ React99.createElement(ItemDefaultTab, { index }));
7079
7268
  };
7080
7269
  var TabRepeaterLabel = ({ elementId, fallbackTitle }) => {
7081
- const editorSettings = useElementEditorSettings4(elementId);
7270
+ const editorSettings = useElementEditorSettings5(elementId);
7082
7271
  const label = editorSettings?.title ?? fallbackTitle ?? "";
7083
- return /* @__PURE__ */ React98.createElement("span", null, label);
7272
+ return /* @__PURE__ */ React99.createElement("span", null, label);
7084
7273
  };
7085
7274
  var ItemDefaultTab = ({ index }) => {
7086
7275
  const { value: defaultItem } = useBoundProp8(numberPropTypeUtil4);
@@ -7088,18 +7277,18 @@ var ItemDefaultTab = ({ index }) => {
7088
7277
  if (!isDefault) {
7089
7278
  return null;
7090
7279
  }
7091
- return /* @__PURE__ */ React98.createElement(Chip4, { size: "tiny", shape: "rounded", label: __76("Default", "elementor") });
7280
+ return /* @__PURE__ */ React99.createElement(Chip4, { size: "tiny", shape: "rounded", label: __78("Default", "elementor") });
7092
7281
  };
7093
- var ItemContent3 = ({ value, index }) => {
7282
+ var ItemContent4 = ({ value, index }) => {
7094
7283
  if (!value.id) {
7095
7284
  return null;
7096
7285
  }
7097
- return /* @__PURE__ */ React98.createElement(Stack17, { p: 2, gap: 1.5 }, /* @__PURE__ */ React98.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React98.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __76("Tabs", "elementor") }, /* @__PURE__ */ React98.createElement(DefaultTabControl, { tabIndex: index })));
7286
+ return /* @__PURE__ */ React99.createElement(Stack18, { p: 2, gap: 1.5 }, /* @__PURE__ */ React99.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React99.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: __78("Tabs", "elementor") }, /* @__PURE__ */ React99.createElement(DefaultTabControl, { tabIndex: index })));
7098
7287
  };
7099
7288
  var DefaultTabControl = ({ tabIndex }) => {
7100
7289
  const { value, setValue } = useBoundProp8(numberPropTypeUtil4);
7101
7290
  const isDefault = value === tabIndex;
7102
- return /* @__PURE__ */ React98.createElement(Stack17, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React98.createElement(ControlFormLabel5, null, __76("Set as default tab", "elementor")), /* @__PURE__ */ React98.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React98.createElement(
7291
+ return /* @__PURE__ */ React99.createElement(Stack18, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React99.createElement(ControlFormLabel6, null, __78("Set as default tab", "elementor")), /* @__PURE__ */ React99.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React99.createElement(
7103
7292
  Switch2,
7104
7293
  {
7105
7294
  size: "small",
@@ -7115,15 +7304,15 @@ var DefaultTabControl = ({ tabIndex }) => {
7115
7304
  )));
7116
7305
  };
7117
7306
  var TabLabelControl = ({ elementId }) => {
7118
- const editorSettings = useElementEditorSettings4(elementId);
7307
+ const editorSettings = useElementEditorSettings5(elementId);
7119
7308
  const label = editorSettings?.title ?? "";
7120
- return /* @__PURE__ */ React98.createElement(Stack17, { gap: 1 }, /* @__PURE__ */ React98.createElement(ControlFormLabel5, null, __76("Tab name", "elementor")), /* @__PURE__ */ React98.createElement(
7121
- TextField4,
7309
+ return /* @__PURE__ */ React99.createElement(Stack18, { gap: 1 }, /* @__PURE__ */ React99.createElement(ControlFormLabel6, null, __78("Tab name", "elementor")), /* @__PURE__ */ React99.createElement(
7310
+ TextField5,
7122
7311
  {
7123
7312
  size: "tiny",
7124
7313
  value: label,
7125
7314
  onChange: ({ target }) => {
7126
- updateElementEditorSettings4({
7315
+ updateElementEditorSettings5({
7127
7316
  elementId,
7128
7317
  settings: { title: target.value }
7129
7318
  });
@@ -7138,28 +7327,29 @@ var ConditionalTooltip = ({
7138
7327
  if (!showTooltip) {
7139
7328
  return children;
7140
7329
  }
7141
- return /* @__PURE__ */ React98.createElement(
7330
+ return /* @__PURE__ */ React99.createElement(
7142
7331
  Infotip3,
7143
7332
  {
7144
7333
  arrow: false,
7145
- content: /* @__PURE__ */ React98.createElement(
7334
+ content: /* @__PURE__ */ React99.createElement(
7146
7335
  Alert5,
7147
7336
  {
7148
7337
  color: "secondary",
7149
- icon: /* @__PURE__ */ React98.createElement(InfoCircleFilledIcon3, { fontSize: "tiny" }),
7338
+ icon: /* @__PURE__ */ React99.createElement(InfoCircleFilledIcon3, { fontSize: "tiny" }),
7150
7339
  size: "small",
7151
7340
  sx: { width: 288 }
7152
7341
  },
7153
- /* @__PURE__ */ React98.createElement(Typography5, { variant: "body2" }, __76("To change the default tab, simply set another tab as default.", "elementor"))
7342
+ /* @__PURE__ */ React99.createElement(Typography5, { variant: "body2" }, __78("To change the default tab, simply set another tab as default.", "elementor"))
7154
7343
  )
7155
7344
  },
7156
- /* @__PURE__ */ React98.createElement("span", null, children)
7345
+ /* @__PURE__ */ React99.createElement("span", null, children)
7157
7346
  );
7158
7347
  };
7159
7348
 
7160
7349
  // src/controls-registry/element-controls/registry.ts
7161
7350
  var controlTypes2 = {
7162
7351
  "list-items": { component: ListItemsControl, layout: "full" },
7352
+ "menu-items": { component: MenuItemsControl, layout: "full" },
7163
7353
  tabs: { component: TabsControl, layout: "full" },
7164
7354
  "accordion-items": { component: AccordionItemsControl, layout: "full" }
7165
7355
  };
@@ -7181,7 +7371,7 @@ import {
7181
7371
  import { controlActionsMenu as controlActionsMenu2 } from "@elementor/menus";
7182
7372
 
7183
7373
  // src/dynamics/components/background-control-dynamic-tag.tsx
7184
- import * as React99 from "react";
7374
+ import * as React100 from "react";
7185
7375
  import { PropKeyProvider as PropKeyProvider4, PropProvider as PropProvider4, useBoundProp as useBoundProp10 } from "@elementor/editor-controls";
7186
7376
  import {
7187
7377
  backgroundImageOverlayPropTypeUtil
@@ -7324,26 +7514,26 @@ var useDynamicTag = (tagName) => {
7324
7514
  };
7325
7515
 
7326
7516
  // src/dynamics/components/background-control-dynamic-tag.tsx
7327
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React99.createElement(DatabaseIcon, { fontSize: "tiny" });
7517
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React100.createElement(DatabaseIcon, { fontSize: "tiny" });
7328
7518
  var BackgroundControlDynamicTagLabel = ({ value }) => {
7329
7519
  const context = useBoundProp10(backgroundImageOverlayPropTypeUtil);
7330
- return /* @__PURE__ */ React99.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React99.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React99.createElement(Wrapper2, { rawValue: value.value })));
7520
+ return /* @__PURE__ */ React100.createElement(PropProvider4, { ...context, value: value.value }, /* @__PURE__ */ React100.createElement(PropKeyProvider4, { bind: "image" }, /* @__PURE__ */ React100.createElement(Wrapper2, { rawValue: value.value })));
7331
7521
  };
7332
7522
  var Wrapper2 = ({ rawValue }) => {
7333
7523
  const { propType } = useBoundProp10();
7334
7524
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
7335
- return /* @__PURE__ */ React99.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React99.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React99.createElement(Content, { rawValue: rawValue.image })));
7525
+ return /* @__PURE__ */ React100.createElement(PropProvider4, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React100.createElement(PropKeyProvider4, { bind: "src" }, /* @__PURE__ */ React100.createElement(Content, { rawValue: rawValue.image })));
7336
7526
  };
7337
7527
  var Content = ({ rawValue }) => {
7338
7528
  const src = rawValue.value.src;
7339
7529
  const dynamicTag = useDynamicTag(src.value.name || "");
7340
- return /* @__PURE__ */ React99.createElement(React99.Fragment, null, dynamicTag?.label);
7530
+ return /* @__PURE__ */ React100.createElement(React100.Fragment, null, dynamicTag?.label);
7341
7531
  };
7342
7532
 
7343
7533
  // src/dynamics/components/dynamic-selection-control.tsx
7344
- import * as React103 from "react";
7534
+ import * as React104 from "react";
7345
7535
  import {
7346
- ControlFormLabel as ControlFormLabel6,
7536
+ ControlFormLabel as ControlFormLabel7,
7347
7537
  PropKeyProvider as PropKeyProvider6,
7348
7538
  PropProvider as PropProvider6,
7349
7539
  useBoundProp as useBoundProp13
@@ -7358,7 +7548,7 @@ import {
7358
7548
  Grid as Grid8,
7359
7549
  IconButton as IconButton2,
7360
7550
  Popover,
7361
- Stack as Stack19,
7551
+ Stack as Stack20,
7362
7552
  Tab as Tab2,
7363
7553
  TabPanel as TabPanel2,
7364
7554
  Tabs as Tabs2,
@@ -7366,7 +7556,7 @@ import {
7366
7556
  usePopupState as usePopupState2,
7367
7557
  useTabs as useTabs2
7368
7558
  } from "@elementor/ui";
7369
- import { __ as __78 } from "@wordpress/i18n";
7559
+ import { __ as __80 } from "@wordpress/i18n";
7370
7560
 
7371
7561
  // src/hooks/use-persist-dynamic-value.ts
7372
7562
  import { useSessionStorage as useSessionStorage5 } from "@elementor/session";
@@ -7377,11 +7567,11 @@ var usePersistDynamicValue = (propKey) => {
7377
7567
  };
7378
7568
 
7379
7569
  // src/dynamics/dynamic-control.tsx
7380
- import * as React101 from "react";
7570
+ import * as React102 from "react";
7381
7571
  import { PropKeyProvider as PropKeyProvider5, PropProvider as PropProvider5, useBoundProp as useBoundProp11 } from "@elementor/editor-controls";
7382
7572
 
7383
7573
  // src/dynamics/components/dynamic-conditional-control.tsx
7384
- import * as React100 from "react";
7574
+ import * as React101 from "react";
7385
7575
  import { useMemo as useMemo13 } from "react";
7386
7576
  import { isDependencyMet as isDependencyMet3 } from "@elementor/editor-props";
7387
7577
  var DynamicConditionalControl = ({
@@ -7423,10 +7613,10 @@ var DynamicConditionalControl = ({
7423
7613
  return { ...defaults, ...convertedSettings };
7424
7614
  }, [defaults, convertedSettings]);
7425
7615
  if (!propType?.dependencies?.terms.length) {
7426
- return /* @__PURE__ */ React100.createElement(React100.Fragment, null, children);
7616
+ return /* @__PURE__ */ React101.createElement(React101.Fragment, null, children);
7427
7617
  }
7428
7618
  const isHidden = !isDependencyMet3(propType?.dependencies, effectiveSettings).isMet;
7429
- return isHidden ? null : /* @__PURE__ */ React100.createElement(React100.Fragment, null, children);
7619
+ return isHidden ? null : /* @__PURE__ */ React101.createElement(React101.Fragment, null, children);
7430
7620
  };
7431
7621
 
7432
7622
  // src/dynamics/dynamic-control.tsx
@@ -7451,7 +7641,7 @@ var DynamicControl = ({ bind, children }) => {
7451
7641
  });
7452
7642
  };
7453
7643
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
7454
- return /* @__PURE__ */ React101.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React101.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React101.createElement(
7644
+ return /* @__PURE__ */ React102.createElement(PropProvider5, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React102.createElement(PropKeyProvider5, { bind }, /* @__PURE__ */ React102.createElement(
7455
7645
  DynamicConditionalControl,
7456
7646
  {
7457
7647
  propType: dynamicPropType,
@@ -7463,13 +7653,13 @@ var DynamicControl = ({ bind, children }) => {
7463
7653
  };
7464
7654
 
7465
7655
  // src/dynamics/components/dynamic-selection.tsx
7466
- import * as React102 from "react";
7656
+ import * as React103 from "react";
7467
7657
  import { Fragment as Fragment17, useEffect as useEffect11, useState as useState11 } from "react";
7468
7658
  import { trackUpgradePromotionClick, trackViewPromotion, useBoundProp as useBoundProp12 } from "@elementor/editor-controls";
7469
7659
  import { CtaButton, PopoverHeader, PopoverMenuList, SearchField, SectionPopoverBody } from "@elementor/editor-ui";
7470
7660
  import { DatabaseIcon as DatabaseIcon2 } from "@elementor/icons";
7471
- import { Divider as Divider7, Link as Link3, Stack as Stack18, Typography as Typography6, useTheme as useTheme3 } from "@elementor/ui";
7472
- import { __ as __77 } from "@wordpress/i18n";
7661
+ import { Divider as Divider7, Link as Link3, Stack as Stack19, Typography as Typography6, useTheme as useTheme3 } from "@elementor/ui";
7662
+ import { __ as __79 } from "@wordpress/i18n";
7473
7663
  var SIZE2 = "tiny";
7474
7664
  var PROMO_TEXT_WIDTH = 170;
7475
7665
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
@@ -7516,19 +7706,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
7516
7706
  ]);
7517
7707
  const getPopOverContent = () => {
7518
7708
  if (hasNoDynamicTags) {
7519
- return /* @__PURE__ */ React102.createElement(NoDynamicTags, null);
7709
+ return /* @__PURE__ */ React103.createElement(NoDynamicTags, null);
7520
7710
  }
7521
7711
  if (expired) {
7522
- return /* @__PURE__ */ React102.createElement(ExpiredDynamicTags, null);
7712
+ return /* @__PURE__ */ React103.createElement(ExpiredDynamicTags, null);
7523
7713
  }
7524
- return /* @__PURE__ */ React102.createElement(Fragment17, null, /* @__PURE__ */ React102.createElement(
7714
+ return /* @__PURE__ */ React103.createElement(Fragment17, null, /* @__PURE__ */ React103.createElement(
7525
7715
  SearchField,
7526
7716
  {
7527
7717
  value: searchValue,
7528
7718
  onSearch: handleSearch,
7529
- placeholder: __77("Search dynamic tags\u2026", "elementor")
7719
+ placeholder: __79("Search dynamic tags\u2026", "elementor")
7530
7720
  }
7531
- ), /* @__PURE__ */ React102.createElement(Divider7, null), /* @__PURE__ */ React102.createElement(
7721
+ ), /* @__PURE__ */ React103.createElement(Divider7, null), /* @__PURE__ */ React103.createElement(
7532
7722
  PopoverMenuList,
7533
7723
  {
7534
7724
  items: virtualizedItems,
@@ -7536,21 +7726,21 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
7536
7726
  onClose: closePopover,
7537
7727
  selectedValue: dynamicValue?.name,
7538
7728
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
7539
- noResultsComponent: /* @__PURE__ */ React102.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
7729
+ noResultsComponent: /* @__PURE__ */ React103.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
7540
7730
  }
7541
7731
  ));
7542
7732
  };
7543
- return /* @__PURE__ */ React102.createElement(SectionPopoverBody, { "aria-label": __77("Dynamic tags", "elementor") }, /* @__PURE__ */ React102.createElement(
7733
+ return /* @__PURE__ */ React103.createElement(SectionPopoverBody, { "aria-label": __79("Dynamic tags", "elementor") }, /* @__PURE__ */ React103.createElement(
7544
7734
  PopoverHeader,
7545
7735
  {
7546
- title: __77("Dynamic tags", "elementor"),
7736
+ title: __79("Dynamic tags", "elementor"),
7547
7737
  onClose: closePopover,
7548
- icon: /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: SIZE2 })
7738
+ icon: /* @__PURE__ */ React103.createElement(DatabaseIcon2, { fontSize: SIZE2 })
7549
7739
  }
7550
7740
  ), getPopOverContent());
7551
7741
  };
7552
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React102.createElement(
7553
- Stack18,
7742
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React103.createElement(
7743
+ Stack19,
7554
7744
  {
7555
7745
  gap: 1,
7556
7746
  alignItems: "center",
@@ -7560,12 +7750,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React102.createEle
7560
7750
  color: "text.secondary",
7561
7751
  sx: { pb: 3.5 }
7562
7752
  },
7563
- /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: "large" }),
7564
- /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "subtitle2" }, __77("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React102.createElement("br", null), "\u201C", searchValue, "\u201D."),
7565
- /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __77("Try something else.", "elementor"), /* @__PURE__ */ React102.createElement(Link3, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __77("Clear & try again", "elementor")))
7753
+ /* @__PURE__ */ React103.createElement(DatabaseIcon2, { fontSize: "large" }),
7754
+ /* @__PURE__ */ React103.createElement(Typography6, { align: "center", variant: "subtitle2" }, __79("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React103.createElement("br", null), "\u201C", searchValue, "\u201D."),
7755
+ /* @__PURE__ */ React103.createElement(Typography6, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, __79("Try something else.", "elementor"), /* @__PURE__ */ React103.createElement(Link3, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __79("Clear & try again", "elementor")))
7566
7756
  );
7567
- var NoDynamicTags = () => /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(Divider7, null), /* @__PURE__ */ React102.createElement(
7568
- Stack18,
7757
+ var NoDynamicTags = () => /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(Divider7, null), /* @__PURE__ */ React103.createElement(
7758
+ Stack19,
7569
7759
  {
7570
7760
  gap: 1,
7571
7761
  alignItems: "center",
@@ -7575,10 +7765,10 @@ var NoDynamicTags = () => /* @__PURE__ */ React102.createElement(React102.Fragme
7575
7765
  color: "text.secondary",
7576
7766
  sx: { pb: 3.5 }
7577
7767
  },
7578
- /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: "large" }),
7579
- /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "subtitle2" }, __77("Streamline your workflow with dynamic tags", "elementor")),
7580
- /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __77("Upgrade now to display your content dynamically.", "elementor")),
7581
- /* @__PURE__ */ React102.createElement(
7768
+ /* @__PURE__ */ React103.createElement(DatabaseIcon2, { fontSize: "large" }),
7769
+ /* @__PURE__ */ React103.createElement(Typography6, { align: "center", variant: "subtitle2" }, __79("Streamline your workflow with dynamic tags", "elementor")),
7770
+ /* @__PURE__ */ React103.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __79("Upgrade now to display your content dynamically.", "elementor")),
7771
+ /* @__PURE__ */ React103.createElement(
7582
7772
  CtaButton,
7583
7773
  {
7584
7774
  size: "small",
@@ -7587,8 +7777,8 @@ var NoDynamicTags = () => /* @__PURE__ */ React102.createElement(React102.Fragme
7587
7777
  }
7588
7778
  )
7589
7779
  ));
7590
- var ExpiredDynamicTags = () => /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(Divider7, null), /* @__PURE__ */ React102.createElement(
7591
- Stack18,
7780
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(Divider7, null), /* @__PURE__ */ React103.createElement(
7781
+ Stack19,
7592
7782
  {
7593
7783
  gap: 1,
7594
7784
  alignItems: "center",
@@ -7598,16 +7788,16 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React102.createElement(React102.F
7598
7788
  color: "text.secondary",
7599
7789
  sx: { pb: 3.5 }
7600
7790
  },
7601
- /* @__PURE__ */ React102.createElement(DatabaseIcon2, { fontSize: "large" }),
7602
- /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "subtitle2" }, __77("Unlock your Dynamic tags again", "elementor")),
7603
- /* @__PURE__ */ React102.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __77("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
7604
- /* @__PURE__ */ React102.createElement(
7791
+ /* @__PURE__ */ React103.createElement(DatabaseIcon2, { fontSize: "large" }),
7792
+ /* @__PURE__ */ React103.createElement(Typography6, { align: "center", variant: "subtitle2" }, __79("Unlock your Dynamic tags again", "elementor")),
7793
+ /* @__PURE__ */ React103.createElement(Typography6, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, __79("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
7794
+ /* @__PURE__ */ React103.createElement(
7605
7795
  CtaButton,
7606
7796
  {
7607
7797
  size: "small",
7608
7798
  href: RENEW_DYNAMIC_TAGS_URL,
7609
7799
  onClick: () => trackUpgradePromotionClick({ target_name: "dynamic_tags" }),
7610
- children: __77("Renew Now", "elementor")
7800
+ children: __79("Renew Now", "elementor")
7611
7801
  }
7612
7802
  )
7613
7803
  ));
@@ -7644,7 +7834,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
7644
7834
  const { name: tagName = "" } = value;
7645
7835
  const dynamicTag = useDynamicTag(tagName);
7646
7836
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
7647
- return /* @__PURE__ */ React103.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React103.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React103.createElement(OriginalControl, { ...props })));
7837
+ return /* @__PURE__ */ React104.createElement(PropProvider6, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React104.createElement(PropKeyProvider6, { bind }, /* @__PURE__ */ React104.createElement(OriginalControl, { ...props })));
7648
7838
  }
7649
7839
  const removeDynamicTag = () => {
7650
7840
  setAnyValue(propValueFromHistory ?? null);
@@ -7652,25 +7842,25 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
7652
7842
  if (!dynamicTag) {
7653
7843
  throw new Error(`Dynamic tag ${tagName} not found`);
7654
7844
  }
7655
- return /* @__PURE__ */ React103.createElement(Box9, null, /* @__PURE__ */ React103.createElement(
7845
+ return /* @__PURE__ */ React104.createElement(Box9, null, /* @__PURE__ */ React104.createElement(
7656
7846
  Tag,
7657
7847
  {
7658
7848
  fullWidth: true,
7659
7849
  showActionsOnHover: true,
7660
7850
  label: dynamicTag.label,
7661
- startIcon: /* @__PURE__ */ React103.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
7851
+ startIcon: /* @__PURE__ */ React104.createElement(DatabaseIcon3, { fontSize: SIZE3 }),
7662
7852
  ...bindTrigger2(selectionPopoverState),
7663
- actions: /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React103.createElement(
7853
+ actions: /* @__PURE__ */ React104.createElement(React104.Fragment, null, /* @__PURE__ */ React104.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React104.createElement(
7664
7854
  IconButton2,
7665
7855
  {
7666
7856
  size: SIZE3,
7667
7857
  onClick: removeDynamicTag,
7668
- "aria-label": __78("Remove dynamic value", "elementor")
7858
+ "aria-label": __80("Remove dynamic value", "elementor")
7669
7859
  },
7670
- /* @__PURE__ */ React103.createElement(XIcon, { fontSize: SIZE3 })
7860
+ /* @__PURE__ */ React104.createElement(XIcon, { fontSize: SIZE3 })
7671
7861
  ))
7672
7862
  }
7673
- ), /* @__PURE__ */ React103.createElement(
7863
+ ), /* @__PURE__ */ React104.createElement(
7674
7864
  Popover,
7675
7865
  {
7676
7866
  disablePortal: true,
@@ -7682,7 +7872,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
7682
7872
  },
7683
7873
  ...bindPopover(selectionPopoverState)
7684
7874
  },
7685
- /* @__PURE__ */ React103.createElement(SectionPopoverBody2, { "aria-label": __78("Dynamic tags", "elementor") }, /* @__PURE__ */ React103.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
7875
+ /* @__PURE__ */ React104.createElement(SectionPopoverBody2, { "aria-label": __80("Dynamic tags", "elementor") }, /* @__PURE__ */ React104.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
7686
7876
  ));
7687
7877
  };
7688
7878
  var DynamicSettingsPopover = ({
@@ -7694,16 +7884,16 @@ var DynamicSettingsPopover = ({
7694
7884
  if (!hasDynamicSettings) {
7695
7885
  return null;
7696
7886
  }
7697
- return /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(
7887
+ return /* @__PURE__ */ React104.createElement(React104.Fragment, null, /* @__PURE__ */ React104.createElement(
7698
7888
  IconButton2,
7699
7889
  {
7700
7890
  size: SIZE3,
7701
7891
  disabled,
7702
7892
  ...!disabled && bindTrigger2(popupState),
7703
- "aria-label": __78("Dynamic settings", "elementor")
7893
+ "aria-label": __80("Dynamic settings", "elementor")
7704
7894
  },
7705
- /* @__PURE__ */ React103.createElement(SettingsIcon, { fontSize: SIZE3 })
7706
- ), /* @__PURE__ */ React103.createElement(
7895
+ /* @__PURE__ */ React104.createElement(SettingsIcon, { fontSize: SIZE3 })
7896
+ ), /* @__PURE__ */ React104.createElement(
7707
7897
  Popover,
7708
7898
  {
7709
7899
  disablePortal: true,
@@ -7715,14 +7905,14 @@ var DynamicSettingsPopover = ({
7715
7905
  },
7716
7906
  ...bindPopover(popupState)
7717
7907
  },
7718
- /* @__PURE__ */ React103.createElement(SectionPopoverBody2, { "aria-label": __78("Dynamic settings", "elementor") }, /* @__PURE__ */ React103.createElement(
7908
+ /* @__PURE__ */ React104.createElement(SectionPopoverBody2, { "aria-label": __80("Dynamic settings", "elementor") }, /* @__PURE__ */ React104.createElement(
7719
7909
  PopoverHeader2,
7720
7910
  {
7721
7911
  title: dynamicTag.label,
7722
7912
  onClose: popupState.close,
7723
- icon: /* @__PURE__ */ React103.createElement(DatabaseIcon3, { fontSize: SIZE3 })
7913
+ icon: /* @__PURE__ */ React104.createElement(DatabaseIcon3, { fontSize: SIZE3 })
7724
7914
  }
7725
- ), /* @__PURE__ */ React103.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
7915
+ ), /* @__PURE__ */ React104.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
7726
7916
  ));
7727
7917
  };
7728
7918
  var DynamicSettings = ({ controls, tagName }) => {
@@ -7733,9 +7923,9 @@ var DynamicSettings = ({ controls, tagName }) => {
7733
7923
  }
7734
7924
  if (tagsWithoutTabs.includes(tagName)) {
7735
7925
  const singleTab = tabs[0];
7736
- return /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(Divider8, null), /* @__PURE__ */ React103.createElement(ControlsItemsStack, { items: singleTab.value.items }));
7926
+ return /* @__PURE__ */ React104.createElement(React104.Fragment, null, /* @__PURE__ */ React104.createElement(Divider8, null), /* @__PURE__ */ React104.createElement(ControlsItemsStack, { items: singleTab.value.items }));
7737
7927
  }
7738
- return /* @__PURE__ */ React103.createElement(React103.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React103.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React103.createElement(
7928
+ return /* @__PURE__ */ React104.createElement(React104.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React104.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React104.createElement(
7739
7929
  Tab2,
7740
7930
  {
7741
7931
  key: index,
@@ -7743,15 +7933,15 @@ var DynamicSettings = ({ controls, tagName }) => {
7743
7933
  sx: { px: 1, py: 0.5 },
7744
7934
  ...getTabProps(index)
7745
7935
  }
7746
- ))), /* @__PURE__ */ React103.createElement(Divider8, null), tabs.map(({ value }, index) => {
7747
- return /* @__PURE__ */ React103.createElement(
7936
+ ))), /* @__PURE__ */ React104.createElement(Divider8, null), tabs.map(({ value }, index) => {
7937
+ return /* @__PURE__ */ React104.createElement(
7748
7938
  TabPanel2,
7749
7939
  {
7750
7940
  key: index,
7751
7941
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
7752
7942
  ...getTabPanelProps(index)
7753
7943
  },
7754
- /* @__PURE__ */ React103.createElement(ControlsItemsStack, { items: value.items })
7944
+ /* @__PURE__ */ React104.createElement(ControlsItemsStack, { items: value.items })
7755
7945
  );
7756
7946
  }));
7757
7947
  };
@@ -7793,11 +7983,11 @@ var Control2 = ({ control }) => {
7793
7983
  display: "grid",
7794
7984
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
7795
7985
  } : {};
7796
- return /* @__PURE__ */ React103.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React103.createElement(Grid8, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React103.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React103.createElement(ControlFormLabel6, null, control.label)) : null, /* @__PURE__ */ React103.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React103.createElement(Control, { type: control.type, props: controlProps }))));
7986
+ return /* @__PURE__ */ React104.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React104.createElement(Grid8, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React104.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React104.createElement(ControlFormLabel7, null, control.label)) : null, /* @__PURE__ */ React104.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React104.createElement(Control, { type: control.type, props: controlProps }))));
7797
7987
  };
7798
7988
  function ControlsItemsStack({ items: items3 }) {
7799
- return /* @__PURE__ */ React103.createElement(Stack19, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
7800
- (item) => item.type === "control" ? /* @__PURE__ */ React103.createElement(Control2, { key: item.value.bind, control: item.value }) : null
7989
+ return /* @__PURE__ */ React104.createElement(Stack20, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
7990
+ (item) => item.type === "control" ? /* @__PURE__ */ React104.createElement(Control2, { key: item.value.bind, control: item.value }) : null
7801
7991
  ));
7802
7992
  }
7803
7993
 
@@ -7854,18 +8044,18 @@ function getDynamicValue(name, settings, renderPostId) {
7854
8044
  }
7855
8045
 
7856
8046
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
7857
- import * as React104 from "react";
8047
+ import * as React105 from "react";
7858
8048
  import { useBoundProp as useBoundProp14 } from "@elementor/editor-controls";
7859
8049
  import { DatabaseIcon as DatabaseIcon4 } from "@elementor/icons";
7860
- import { __ as __79 } from "@wordpress/i18n";
8050
+ import { __ as __81 } from "@wordpress/i18n";
7861
8051
  var usePropDynamicAction = () => {
7862
8052
  const { propType } = useBoundProp14();
7863
8053
  const visible = !!propType && supportsDynamic(propType);
7864
8054
  return {
7865
8055
  visible,
7866
8056
  icon: DatabaseIcon4,
7867
- title: __79("Dynamic tags", "elementor"),
7868
- content: ({ close }) => /* @__PURE__ */ React104.createElement(DynamicSelection, { close })
8057
+ title: __81("Dynamic tags", "elementor"),
8058
+ content: ({ close }) => /* @__PURE__ */ React105.createElement(DynamicSelection, { close })
7869
8059
  };
7870
8060
  };
7871
8061
 
@@ -7900,7 +8090,7 @@ import { useBoundProp as useBoundProp15 } from "@elementor/editor-controls";
7900
8090
  import { hasVariable as hasVariable2 } from "@elementor/editor-variables";
7901
8091
  import { BrushBigIcon } from "@elementor/icons";
7902
8092
  import { controlActionsMenu as controlActionsMenu3 } from "@elementor/menus";
7903
- import { __ as __80 } from "@wordpress/i18n";
8093
+ import { __ as __82 } from "@wordpress/i18n";
7904
8094
 
7905
8095
  // src/utils/is-equal.ts
7906
8096
  function isEqual(a, b) {
@@ -7976,21 +8166,21 @@ function useResetStyleValueProps() {
7976
8166
  const visible = calculateVisibility();
7977
8167
  return {
7978
8168
  visible,
7979
- title: __80("Clear", "elementor"),
8169
+ title: __82("Clear", "elementor"),
7980
8170
  icon: BrushBigIcon,
7981
8171
  onClick: () => resetValue()
7982
8172
  };
7983
8173
  }
7984
8174
 
7985
8175
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
7986
- import * as React110 from "react";
8176
+ import * as React111 from "react";
7987
8177
  import { useBoundProp as useBoundProp16 } from "@elementor/editor-controls";
7988
8178
  import { isEmpty as isEmpty3 } from "@elementor/editor-props";
7989
8179
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY4 } from "@elementor/editor-styles-repository";
7990
- import { __ as __84 } from "@wordpress/i18n";
8180
+ import { __ as __86 } from "@wordpress/i18n";
7991
8181
 
7992
8182
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
7993
- import * as React109 from "react";
8183
+ import * as React110 from "react";
7994
8184
  import { useMemo as useMemo14, useRef as useRef22, useState as useState13 } from "react";
7995
8185
  import {
7996
8186
  createPropsResolver as createPropsResolver2,
@@ -8005,10 +8195,10 @@ import {
8005
8195
  ClickAwayListener,
8006
8196
  IconButton as IconButton3,
8007
8197
  Infotip as Infotip4,
8008
- Stack as Stack20,
8198
+ Stack as Stack21,
8009
8199
  Tooltip as Tooltip7
8010
8200
  } from "@elementor/ui";
8011
- import { __ as __83 } from "@wordpress/i18n";
8201
+ import { __ as __85 } from "@wordpress/i18n";
8012
8202
 
8013
8203
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
8014
8204
  import { isValidElement, useEffect as useEffect12, useState as useState12 } from "react";
@@ -8018,7 +8208,7 @@ import {
8018
8208
  isPseudoState
8019
8209
  } from "@elementor/editor-styles";
8020
8210
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY2 } from "@elementor/editor-styles-repository";
8021
- import { __ as __81 } from "@wordpress/i18n";
8211
+ import { __ as __83 } from "@wordpress/i18n";
8022
8212
  var MAXIMUM_ITEMS = 2;
8023
8213
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
8024
8214
  const [items3, setItems] = useState12([]);
@@ -8029,7 +8219,7 @@ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
8029
8219
  );
8030
8220
  const validItems = normalizedItems.map((item) => ({
8031
8221
  ...item,
8032
- displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __81("Base", "elementor")
8222
+ displayLabel: ELEMENTS_BASE_STYLES_PROVIDER_KEY2 !== item.provider ? item.displayLabel : __83("Base", "elementor")
8033
8223
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
8034
8224
  setItems(validItems);
8035
8225
  })();
@@ -8086,7 +8276,7 @@ var getTransformedValue = async (item, bind, resolve) => {
8086
8276
  };
8087
8277
 
8088
8278
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
8089
- import * as React105 from "react";
8279
+ import * as React106 from "react";
8090
8280
  import { useBreakpoints as useBreakpoints2 } from "@elementor/editor-responsive";
8091
8281
  import {
8092
8282
  DesktopIcon,
@@ -8117,20 +8307,20 @@ var BreakpointIcon = ({ breakpoint }) => {
8117
8307
  return null;
8118
8308
  }
8119
8309
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
8120
- return /* @__PURE__ */ React105.createElement(Tooltip4, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React105.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
8310
+ return /* @__PURE__ */ React106.createElement(Tooltip4, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React106.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
8121
8311
  };
8122
8312
 
8123
8313
  // src/styles-inheritance/components/infotip/label-chip.tsx
8124
- import * as React106 from "react";
8314
+ import * as React107 from "react";
8125
8315
  import { ELEMENTS_BASE_STYLES_PROVIDER_KEY as ELEMENTS_BASE_STYLES_PROVIDER_KEY3 } from "@elementor/editor-styles-repository";
8126
8316
  import { InfoCircleIcon as InfoCircleIcon2 } from "@elementor/icons";
8127
8317
  import { Chip as Chip5, Tooltip as Tooltip5 } from "@elementor/ui";
8128
- import { __ as __82 } from "@wordpress/i18n";
8318
+ import { __ as __84 } from "@wordpress/i18n";
8129
8319
  var SIZE5 = "tiny";
8130
8320
  var LabelChip = ({ displayLabel, provider }) => {
8131
8321
  const isBaseStyle = provider === ELEMENTS_BASE_STYLES_PROVIDER_KEY3;
8132
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React106.createElement(Tooltip5, { title: __82("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React106.createElement(InfoCircleIcon2, { fontSize: SIZE5 })) : void 0;
8133
- return /* @__PURE__ */ React106.createElement(
8322
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React107.createElement(Tooltip5, { title: __84("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React107.createElement(InfoCircleIcon2, { fontSize: SIZE5 })) : void 0;
8323
+ return /* @__PURE__ */ React107.createElement(
8134
8324
  Chip5,
8135
8325
  {
8136
8326
  label: displayLabel,
@@ -8156,10 +8346,10 @@ var LabelChip = ({ displayLabel, provider }) => {
8156
8346
  };
8157
8347
 
8158
8348
  // src/styles-inheritance/components/infotip/value-component.tsx
8159
- import * as React107 from "react";
8349
+ import * as React108 from "react";
8160
8350
  import { Tooltip as Tooltip6, Typography as Typography7 } from "@elementor/ui";
8161
8351
  var ValueComponent = ({ index, value }) => {
8162
- return /* @__PURE__ */ React107.createElement(Tooltip6, { title: value, placement: "top" }, /* @__PURE__ */ React107.createElement(
8352
+ return /* @__PURE__ */ React108.createElement(Tooltip6, { title: value, placement: "top" }, /* @__PURE__ */ React108.createElement(
8163
8353
  Typography7,
8164
8354
  {
8165
8355
  variant: "caption",
@@ -8181,9 +8371,9 @@ var ValueComponent = ({ index, value }) => {
8181
8371
  };
8182
8372
 
8183
8373
  // src/styles-inheritance/components/infotip/action-icons.tsx
8184
- import * as React108 from "react";
8374
+ import * as React109 from "react";
8185
8375
  import { Box as Box10 } from "@elementor/ui";
8186
- var ActionIcons = () => /* @__PURE__ */ React108.createElement(Box10, { display: "flex", gap: 0.5, alignItems: "center" });
8376
+ var ActionIcons = () => /* @__PURE__ */ React109.createElement(Box10, { display: "flex", gap: 0.5, alignItems: "center" });
8187
8377
 
8188
8378
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
8189
8379
  var SECTION_PADDING_INLINE = 32;
@@ -8219,7 +8409,7 @@ var StylesInheritanceInfotip = ({
8219
8409
  });
8220
8410
  }, [key, propType]);
8221
8411
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
8222
- const infotipContent = /* @__PURE__ */ React109.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React109.createElement(
8412
+ const infotipContent = /* @__PURE__ */ React110.createElement(ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React110.createElement(
8223
8413
  Card,
8224
8414
  {
8225
8415
  elevation: 0,
@@ -8232,7 +8422,7 @@ var StylesInheritanceInfotip = ({
8232
8422
  flexDirection: "column"
8233
8423
  }
8234
8424
  },
8235
- /* @__PURE__ */ React109.createElement(
8425
+ /* @__PURE__ */ React110.createElement(
8236
8426
  Box11,
8237
8427
  {
8238
8428
  sx: {
@@ -8242,9 +8432,9 @@ var StylesInheritanceInfotip = ({
8242
8432
  backgroundColor: "background.paper"
8243
8433
  }
8244
8434
  },
8245
- /* @__PURE__ */ React109.createElement(PopoverHeader3, { title: __83("Style origin", "elementor"), onClose: closeInfotip })
8435
+ /* @__PURE__ */ React110.createElement(PopoverHeader3, { title: __85("Style origin", "elementor"), onClose: closeInfotip })
8246
8436
  ),
8247
- /* @__PURE__ */ React109.createElement(
8437
+ /* @__PURE__ */ React110.createElement(
8248
8438
  CardContent,
8249
8439
  {
8250
8440
  sx: {
@@ -8258,39 +8448,39 @@ var StylesInheritanceInfotip = ({
8258
8448
  }
8259
8449
  }
8260
8450
  },
8261
- /* @__PURE__ */ React109.createElement(Stack20, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
8262
- return /* @__PURE__ */ React109.createElement(
8451
+ /* @__PURE__ */ React110.createElement(Stack21, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
8452
+ return /* @__PURE__ */ React110.createElement(
8263
8453
  Box11,
8264
8454
  {
8265
8455
  key: item.id,
8266
8456
  display: "flex",
8267
8457
  gap: 0.5,
8268
8458
  role: "listitem",
8269
- "aria-label": __83("Inheritance item: %s", "elementor").replace(
8459
+ "aria-label": __85("Inheritance item: %s", "elementor").replace(
8270
8460
  "%s",
8271
8461
  item.displayLabel
8272
8462
  )
8273
8463
  },
8274
- /* @__PURE__ */ React109.createElement(
8464
+ /* @__PURE__ */ React110.createElement(
8275
8465
  Box11,
8276
8466
  {
8277
8467
  display: "flex",
8278
8468
  gap: 0.5,
8279
8469
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
8280
8470
  },
8281
- /* @__PURE__ */ React109.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
8282
- /* @__PURE__ */ React109.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
8283
- /* @__PURE__ */ React109.createElement(ValueComponent, { index, value: item.value })
8471
+ /* @__PURE__ */ React110.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
8472
+ /* @__PURE__ */ React110.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
8473
+ /* @__PURE__ */ React110.createElement(ValueComponent, { index, value: item.value })
8284
8474
  ),
8285
- /* @__PURE__ */ React109.createElement(ActionIcons, null)
8475
+ /* @__PURE__ */ React110.createElement(ActionIcons, null)
8286
8476
  );
8287
8477
  }))
8288
8478
  )
8289
8479
  ));
8290
8480
  if (isDisabled) {
8291
- return /* @__PURE__ */ React109.createElement(Box11, { sx: { display: "inline-flex" } }, children);
8481
+ return /* @__PURE__ */ React110.createElement(Box11, { sx: { display: "inline-flex" } }, children);
8292
8482
  }
8293
- return /* @__PURE__ */ React109.createElement(Box11, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React109.createElement(
8483
+ return /* @__PURE__ */ React110.createElement(Box11, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React110.createElement(
8294
8484
  TooltipOrInfotip,
8295
8485
  {
8296
8486
  showInfotip,
@@ -8298,7 +8488,7 @@ var StylesInheritanceInfotip = ({
8298
8488
  infotipContent,
8299
8489
  isDisabled
8300
8490
  },
8301
- /* @__PURE__ */ React109.createElement(
8491
+ /* @__PURE__ */ React110.createElement(
8302
8492
  IconButton3,
8303
8493
  {
8304
8494
  onClick: toggleInfotip,
@@ -8318,10 +8508,10 @@ function TooltipOrInfotip({
8318
8508
  isDisabled
8319
8509
  }) {
8320
8510
  if (isDisabled) {
8321
- return /* @__PURE__ */ React109.createElement(Box11, { sx: { display: "inline-flex" } }, children);
8511
+ return /* @__PURE__ */ React110.createElement(Box11, { sx: { display: "inline-flex" } }, children);
8322
8512
  }
8323
8513
  if (showInfotip) {
8324
- return /* @__PURE__ */ React109.createElement(React109.Fragment, null, /* @__PURE__ */ React109.createElement(
8514
+ return /* @__PURE__ */ React110.createElement(React110.Fragment, null, /* @__PURE__ */ React110.createElement(
8325
8515
  Backdrop,
8326
8516
  {
8327
8517
  open: showInfotip,
@@ -8331,7 +8521,7 @@ function TooltipOrInfotip({
8331
8521
  zIndex: (theme) => theme.zIndex.modal - 1
8332
8522
  }
8333
8523
  }
8334
- ), /* @__PURE__ */ React109.createElement(
8524
+ ), /* @__PURE__ */ React110.createElement(
8335
8525
  Infotip4,
8336
8526
  {
8337
8527
  placement: "top-end",
@@ -8343,7 +8533,7 @@ function TooltipOrInfotip({
8343
8533
  children
8344
8534
  ));
8345
8535
  }
8346
- return /* @__PURE__ */ React109.createElement(Tooltip7, { title: __83("Style origin", "elementor"), placement: "top" }, children);
8536
+ return /* @__PURE__ */ React110.createElement(Tooltip7, { title: __85("Style origin", "elementor"), placement: "top" }, children);
8347
8537
  }
8348
8538
 
8349
8539
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -8356,7 +8546,7 @@ var StylesInheritanceIndicator = ({
8356
8546
  if (!path || !inheritanceChain.length) {
8357
8547
  return null;
8358
8548
  }
8359
- return /* @__PURE__ */ React110.createElement(Indicator, { inheritanceChain, path, propType });
8549
+ return /* @__PURE__ */ React111.createElement(Indicator, { inheritanceChain, path, propType });
8360
8550
  };
8361
8551
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
8362
8552
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -8372,7 +8562,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
8372
8562
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
8373
8563
  isOverridden: hasValue && !isFinalValue ? true : void 0
8374
8564
  };
8375
- return /* @__PURE__ */ React110.createElement(
8565
+ return /* @__PURE__ */ React111.createElement(
8376
8566
  StylesInheritanceInfotip,
8377
8567
  {
8378
8568
  inheritanceChain,
@@ -8381,17 +8571,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
8381
8571
  label,
8382
8572
  isDisabled
8383
8573
  },
8384
- /* @__PURE__ */ React110.createElement(StyleIndicator, { ...styleIndicatorProps })
8574
+ /* @__PURE__ */ React111.createElement(StyleIndicator, { ...styleIndicatorProps })
8385
8575
  );
8386
8576
  };
8387
8577
  var getLabel = ({ isFinalValue, hasValue }) => {
8388
8578
  if (isFinalValue) {
8389
- return __84("This is the final value", "elementor");
8579
+ return __86("This is the final value", "elementor");
8390
8580
  }
8391
8581
  if (hasValue) {
8392
- return __84("This value is overridden by another style", "elementor");
8582
+ return __86("This value is overridden by another style", "elementor");
8393
8583
  }
8394
- return __84("This has value from another style", "elementor");
8584
+ return __86("This has value from another style", "elementor");
8395
8585
  };
8396
8586
 
8397
8587
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -8416,7 +8606,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
8416
8606
  ]);
8417
8607
 
8418
8608
  // src/styles-inheritance/transformers/array-transformer.tsx
8419
- import * as React111 from "react";
8609
+ import * as React112 from "react";
8420
8610
  import { createTransformer as createTransformer2 } from "@elementor/editor-canvas";
8421
8611
  var arrayTransformer = createTransformer2((values) => {
8422
8612
  if (!values || values.length === 0) {
@@ -8426,16 +8616,16 @@ var arrayTransformer = createTransformer2((values) => {
8426
8616
  if (allStrings) {
8427
8617
  return values.join(" ");
8428
8618
  }
8429
- return /* @__PURE__ */ React111.createElement(React111.Fragment, null, values.map((item, index) => /* @__PURE__ */ React111.createElement(React111.Fragment, { key: index }, index > 0 && " ", item)));
8619
+ return /* @__PURE__ */ React112.createElement(React112.Fragment, null, values.map((item, index) => /* @__PURE__ */ React112.createElement(React112.Fragment, { key: index }, index > 0 && " ", item)));
8430
8620
  });
8431
8621
 
8432
8622
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
8433
- import * as React112 from "react";
8623
+ import * as React113 from "react";
8434
8624
  import { createTransformer as createTransformer3 } from "@elementor/editor-canvas";
8435
- import { Stack as Stack21, styled as styled7, UnstableColorIndicator } from "@elementor/ui";
8436
- var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React112.createElement(Stack21, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React112.createElement(ItemLabelColor, { value })));
8625
+ import { Stack as Stack22, styled as styled7, UnstableColorIndicator } from "@elementor/ui";
8626
+ var backgroundColorOverlayTransformer = createTransformer3((value) => /* @__PURE__ */ React113.createElement(Stack22, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React113.createElement(ItemLabelColor, { value })));
8437
8627
  var ItemLabelColor = ({ value: { color } }) => {
8438
- return /* @__PURE__ */ React112.createElement("span", null, color);
8628
+ return /* @__PURE__ */ React113.createElement("span", null, color);
8439
8629
  };
8440
8630
  var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) => ({
8441
8631
  width: "1em",
@@ -8446,20 +8636,20 @@ var StyledUnstableColorIndicator = styled7(UnstableColorIndicator)(({ theme }) =
8446
8636
  }));
8447
8637
 
8448
8638
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
8449
- import * as React113 from "react";
8639
+ import * as React114 from "react";
8450
8640
  import { createTransformer as createTransformer4 } from "@elementor/editor-canvas";
8451
- import { Stack as Stack22 } from "@elementor/ui";
8452
- import { __ as __85 } from "@wordpress/i18n";
8453
- var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React113.createElement(Stack22, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React113.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React113.createElement(ItemLabelGradient, { value })));
8641
+ import { Stack as Stack23 } from "@elementor/ui";
8642
+ import { __ as __87 } from "@wordpress/i18n";
8643
+ var backgroundGradientOverlayTransformer = createTransformer4((value) => /* @__PURE__ */ React114.createElement(Stack23, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React114.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React114.createElement(ItemLabelGradient, { value })));
8454
8644
  var ItemIconGradient = ({ value }) => {
8455
8645
  const gradient = getGradientValue(value);
8456
- return /* @__PURE__ */ React113.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
8646
+ return /* @__PURE__ */ React114.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
8457
8647
  };
8458
8648
  var ItemLabelGradient = ({ value }) => {
8459
8649
  if (value.type === "linear") {
8460
- return /* @__PURE__ */ React113.createElement("span", null, __85("Linear gradient", "elementor"));
8650
+ return /* @__PURE__ */ React114.createElement("span", null, __87("Linear gradient", "elementor"));
8461
8651
  }
8462
- return /* @__PURE__ */ React113.createElement("span", null, __85("Radial gradient", "elementor"));
8652
+ return /* @__PURE__ */ React114.createElement("span", null, __87("Radial gradient", "elementor"));
8463
8653
  };
8464
8654
  var getGradientValue = (gradient) => {
8465
8655
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -8473,15 +8663,15 @@ var getGradientValue = (gradient) => {
8473
8663
  };
8474
8664
 
8475
8665
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
8476
- import * as React114 from "react";
8666
+ import * as React115 from "react";
8477
8667
  import { createTransformer as createTransformer5 } from "@elementor/editor-canvas";
8478
8668
  import { EllipsisWithTooltip as EllipsisWithTooltip2 } from "@elementor/editor-ui";
8479
- import { CardMedia, Stack as Stack23 } from "@elementor/ui";
8669
+ import { CardMedia, Stack as Stack24 } from "@elementor/ui";
8480
8670
  import { useWpMediaAttachment } from "@elementor/wp-media";
8481
- var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React114.createElement(Stack23, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React114.createElement(ItemIconImage, { value }), /* @__PURE__ */ React114.createElement(ItemLabelImage, { value })));
8671
+ var backgroundImageOverlayTransformer = createTransformer5((value) => /* @__PURE__ */ React115.createElement(Stack24, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React115.createElement(ItemIconImage, { value }), /* @__PURE__ */ React115.createElement(ItemLabelImage, { value })));
8482
8672
  var ItemIconImage = ({ value }) => {
8483
8673
  const { imageUrl } = useImage(value);
8484
- return /* @__PURE__ */ React114.createElement(
8674
+ return /* @__PURE__ */ React115.createElement(
8485
8675
  CardMedia,
8486
8676
  {
8487
8677
  image: imageUrl,
@@ -8497,7 +8687,7 @@ var ItemIconImage = ({ value }) => {
8497
8687
  };
8498
8688
  var ItemLabelImage = ({ value }) => {
8499
8689
  const { imageTitle } = useImage(value);
8500
- return /* @__PURE__ */ React114.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React114.createElement("span", null, imageTitle));
8690
+ return /* @__PURE__ */ React115.createElement(EllipsisWithTooltip2, { title: imageTitle }, /* @__PURE__ */ React115.createElement("span", null, imageTitle));
8501
8691
  };
8502
8692
  var useImage = (image) => {
8503
8693
  let imageTitle, imageUrl = null;
@@ -8522,7 +8712,7 @@ var getFileExtensionFromFilename = (filename) => {
8522
8712
  };
8523
8713
 
8524
8714
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
8525
- import * as React115 from "react";
8715
+ import * as React116 from "react";
8526
8716
  import { createTransformer as createTransformer6 } from "@elementor/editor-canvas";
8527
8717
  var boxShadowTransformer = createTransformer6((value) => {
8528
8718
  if (!value) {
@@ -8532,13 +8722,13 @@ var boxShadowTransformer = createTransformer6((value) => {
8532
8722
  const colorValue = color || "#000000";
8533
8723
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
8534
8724
  const positionValue = position || "outset";
8535
- return /* @__PURE__ */ React115.createElement(React115.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
8725
+ return /* @__PURE__ */ React116.createElement(React116.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
8536
8726
  });
8537
8727
 
8538
8728
  // src/styles-inheritance/transformers/color-transformer.tsx
8539
- import * as React116 from "react";
8729
+ import * as React117 from "react";
8540
8730
  import { createTransformer as createTransformer7 } from "@elementor/editor-canvas";
8541
- import { Stack as Stack24, styled as styled8, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
8731
+ import { Stack as Stack25, styled as styled8, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
8542
8732
  function isValidCSSColor(value) {
8543
8733
  if (!value.trim()) {
8544
8734
  return false;
@@ -8556,7 +8746,7 @@ var colorTransformer = createTransformer7((value) => {
8556
8746
  if (!isValidCSSColor(value)) {
8557
8747
  return value;
8558
8748
  }
8559
- return /* @__PURE__ */ React116.createElement(Stack24, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React116.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React116.createElement("span", null, value));
8749
+ return /* @__PURE__ */ React117.createElement(Stack25, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React117.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React117.createElement("span", null, value));
8560
8750
  });
8561
8751
 
8562
8752
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx