@elementor/editor-editing-panel 4.1.0-829 → 4.1.0-831

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1760,6 +1760,40 @@ declare const controlTypes: {
1760
1760
  key: "date-range";
1761
1761
  };
1762
1762
  };
1763
+ readonly 'attachment-type': {
1764
+ readonly component: ControlComponent<({ label, options }: {
1765
+ label?: string;
1766
+ options: {
1767
+ label: string;
1768
+ value: _elementor_editor_props.StringPropValue["value"];
1769
+ disabled?: boolean;
1770
+ }[];
1771
+ }) => react.JSX.Element>;
1772
+ readonly layout: "custom";
1773
+ readonly propTypeUtil: {
1774
+ extract: (prop: unknown) => string | null;
1775
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"string", string | null>;
1776
+ create: {
1777
+ (value: string | null): _elementor_editor_props.TransformablePropValue<"string", string | null>;
1778
+ (value: string | null, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
1779
+ (value: (prev?: string | null | undefined) => string | null, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
1780
+ };
1781
+ schema: zod.ZodObject<{
1782
+ $$type: zod.ZodLiteral<"string">;
1783
+ value: zod.ZodType<string | null, zod.ZodTypeDef, string | null>;
1784
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
1785
+ }, "strict", zod.ZodTypeAny, {
1786
+ $$type: "string";
1787
+ value: string | null;
1788
+ disabled?: boolean | undefined;
1789
+ }, {
1790
+ $$type: "string";
1791
+ value: string | null;
1792
+ disabled?: boolean | undefined;
1793
+ }>;
1794
+ key: "string";
1795
+ };
1796
+ };
1763
1797
  };
1764
1798
  type ControlType = keyof typeof controlTypes;
1765
1799
  type ControlTypes = {
package/dist/index.d.ts CHANGED
@@ -1760,6 +1760,40 @@ declare const controlTypes: {
1760
1760
  key: "date-range";
1761
1761
  };
1762
1762
  };
1763
+ readonly 'attachment-type': {
1764
+ readonly component: ControlComponent<({ label, options }: {
1765
+ label?: string;
1766
+ options: {
1767
+ label: string;
1768
+ value: _elementor_editor_props.StringPropValue["value"];
1769
+ disabled?: boolean;
1770
+ }[];
1771
+ }) => react.JSX.Element>;
1772
+ readonly layout: "custom";
1773
+ readonly propTypeUtil: {
1774
+ extract: (prop: unknown) => string | null;
1775
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"string", string | null>;
1776
+ create: {
1777
+ (value: string | null): _elementor_editor_props.TransformablePropValue<"string", string | null>;
1778
+ (value: string | null, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
1779
+ (value: (prev?: string | null | undefined) => string | null, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"string", string | null>;
1780
+ };
1781
+ schema: zod.ZodObject<{
1782
+ $$type: zod.ZodLiteral<"string">;
1783
+ value: zod.ZodType<string | null, zod.ZodTypeDef, string | null>;
1784
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
1785
+ }, "strict", zod.ZodTypeAny, {
1786
+ $$type: "string";
1787
+ value: string | null;
1788
+ disabled?: boolean | undefined;
1789
+ }, {
1790
+ $$type: "string";
1791
+ value: string | null;
1792
+ disabled?: boolean | undefined;
1793
+ }>;
1794
+ key: "string";
1795
+ };
1796
+ };
1763
1797
  };
1764
1798
  type ControlType = keyof typeof controlTypes;
1765
1799
  type ControlTypes = {
package/dist/index.js CHANGED
@@ -2054,7 +2054,8 @@ var controlTypes = {
2054
2054
  component: import_editor_controls.DateRangeControl,
2055
2055
  layout: "custom",
2056
2056
  propTypeUtil: import_editor_props4.dateRangePropTypeUtil
2057
- }
2057
+ },
2058
+ "attachment-type": { component: import_editor_controls.AttachmentTypeControl, layout: "custom", propTypeUtil: import_editor_props4.stringPropTypeUtil }
2058
2059
  };
2059
2060
  var ControlsRegistry = class {
2060
2061
  constructor(controlsRegistry2) {