@elementor/editor-editing-panel 4.0.0-552 → 4.0.0-564
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 +115 -24
- package/dist/index.d.ts +115 -24
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/src/controls-registry/controls-registry.tsx +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -672,27 +672,79 @@ declare const controlTypes: {
|
|
|
672
672
|
}) => react.JSX.Element>;
|
|
673
673
|
readonly layout: "full";
|
|
674
674
|
readonly propTypeUtil: {
|
|
675
|
-
extract: (prop: unknown) =>
|
|
676
|
-
|
|
675
|
+
extract: (prop: unknown) => {
|
|
676
|
+
$$type: "string";
|
|
677
|
+
value: string | null;
|
|
678
|
+
disabled?: boolean | undefined;
|
|
679
|
+
}[] | null;
|
|
680
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<string, {
|
|
681
|
+
$$type: "string";
|
|
682
|
+
value: string | null;
|
|
683
|
+
disabled?: boolean | undefined;
|
|
684
|
+
}[]>;
|
|
677
685
|
create: {
|
|
678
|
-
(value:
|
|
679
|
-
|
|
680
|
-
|
|
686
|
+
(value: {
|
|
687
|
+
$$type: "string";
|
|
688
|
+
value: string | null;
|
|
689
|
+
disabled?: boolean | undefined;
|
|
690
|
+
}[]): _elementor_editor_props.TransformablePropValue<string, {
|
|
691
|
+
$$type: "string";
|
|
692
|
+
value: string | null;
|
|
693
|
+
disabled?: boolean | undefined;
|
|
694
|
+
}[]>;
|
|
695
|
+
(value: {
|
|
696
|
+
$$type: "string";
|
|
697
|
+
value: string | null;
|
|
698
|
+
disabled?: boolean | undefined;
|
|
699
|
+
}[], createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
700
|
+
$$type: "string";
|
|
701
|
+
value: string | null;
|
|
702
|
+
disabled?: boolean | undefined;
|
|
703
|
+
}[]>;
|
|
704
|
+
(value: (prev?: {
|
|
705
|
+
$$type: "string";
|
|
706
|
+
value: string | null;
|
|
707
|
+
disabled?: boolean | undefined;
|
|
708
|
+
}[] | undefined) => {
|
|
709
|
+
$$type: "string";
|
|
710
|
+
value: string | null;
|
|
711
|
+
disabled?: boolean | undefined;
|
|
712
|
+
}[], createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
713
|
+
$$type: "string";
|
|
714
|
+
value: string | null;
|
|
715
|
+
disabled?: boolean | undefined;
|
|
716
|
+
}[]>;
|
|
681
717
|
};
|
|
682
718
|
schema: zod.ZodObject<{
|
|
683
|
-
$$type: zod.ZodLiteral<
|
|
684
|
-
value: zod.ZodType<
|
|
719
|
+
$$type: zod.ZodLiteral<string>;
|
|
720
|
+
value: zod.ZodType<{
|
|
721
|
+
$$type: "string";
|
|
722
|
+
value: string | null;
|
|
723
|
+
disabled?: boolean | undefined;
|
|
724
|
+
}[], zod.ZodTypeDef, {
|
|
725
|
+
$$type: "string";
|
|
726
|
+
value: string | null;
|
|
727
|
+
disabled?: boolean | undefined;
|
|
728
|
+
}[]>;
|
|
685
729
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
686
730
|
}, "strict", zod.ZodTypeAny, {
|
|
687
|
-
$$type:
|
|
688
|
-
value:
|
|
731
|
+
$$type: string;
|
|
732
|
+
value: {
|
|
733
|
+
$$type: "string";
|
|
734
|
+
value: string | null;
|
|
735
|
+
disabled?: boolean | undefined;
|
|
736
|
+
}[];
|
|
689
737
|
disabled?: boolean | undefined;
|
|
690
738
|
}, {
|
|
691
|
-
$$type:
|
|
692
|
-
value:
|
|
739
|
+
$$type: string;
|
|
740
|
+
value: {
|
|
741
|
+
$$type: "string";
|
|
742
|
+
value: string | null;
|
|
743
|
+
disabled?: boolean | undefined;
|
|
744
|
+
}[];
|
|
693
745
|
disabled?: boolean | undefined;
|
|
694
746
|
}>;
|
|
695
|
-
key:
|
|
747
|
+
key: string;
|
|
696
748
|
};
|
|
697
749
|
};
|
|
698
750
|
readonly link: {
|
|
@@ -1204,27 +1256,66 @@ declare const controlTypes: {
|
|
|
1204
1256
|
}) => react.JSX.Element>;
|
|
1205
1257
|
readonly layout: "full";
|
|
1206
1258
|
readonly propTypeUtil: {
|
|
1207
|
-
extract: (prop: unknown) =>
|
|
1208
|
-
|
|
1259
|
+
extract: (prop: unknown) => {
|
|
1260
|
+
content: string | null;
|
|
1261
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1262
|
+
} | null;
|
|
1263
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1264
|
+
content: string | null;
|
|
1265
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1266
|
+
}>;
|
|
1209
1267
|
create: {
|
|
1210
|
-
(value:
|
|
1211
|
-
|
|
1212
|
-
|
|
1268
|
+
(value: {
|
|
1269
|
+
content: string | null;
|
|
1270
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1271
|
+
}): _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1272
|
+
content: string | null;
|
|
1273
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1274
|
+
}>;
|
|
1275
|
+
(value: {
|
|
1276
|
+
content: string | null;
|
|
1277
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1278
|
+
}, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1279
|
+
content: string | null;
|
|
1280
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1281
|
+
}>;
|
|
1282
|
+
(value: (prev?: {
|
|
1283
|
+
content: string | null;
|
|
1284
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1285
|
+
} | undefined) => {
|
|
1286
|
+
content: string | null;
|
|
1287
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1288
|
+
}, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1289
|
+
content: string | null;
|
|
1290
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1291
|
+
}>;
|
|
1213
1292
|
};
|
|
1214
1293
|
schema: zod.ZodObject<{
|
|
1215
|
-
$$type: zod.ZodLiteral<"html">;
|
|
1216
|
-
value: zod.ZodType<
|
|
1294
|
+
$$type: zod.ZodLiteral<"html-v2">;
|
|
1295
|
+
value: zod.ZodType<{
|
|
1296
|
+
content: string | null;
|
|
1297
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1298
|
+
}, zod.ZodTypeDef, {
|
|
1299
|
+
content: string | null;
|
|
1300
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1301
|
+
}>;
|
|
1217
1302
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1218
1303
|
}, "strict", zod.ZodTypeAny, {
|
|
1219
|
-
$$type: "html";
|
|
1220
|
-
value:
|
|
1304
|
+
$$type: "html-v2";
|
|
1305
|
+
value: {
|
|
1306
|
+
content: string | null;
|
|
1307
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1308
|
+
};
|
|
1221
1309
|
disabled?: boolean | undefined;
|
|
1222
1310
|
}, {
|
|
1223
|
-
$$type: "html";
|
|
1224
|
-
value:
|
|
1311
|
+
$$type: "html-v2";
|
|
1312
|
+
value: {
|
|
1313
|
+
content: string | null;
|
|
1314
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1315
|
+
};
|
|
1225
1316
|
disabled?: boolean | undefined;
|
|
1226
1317
|
}>;
|
|
1227
|
-
key: "html";
|
|
1318
|
+
key: "html-v2";
|
|
1228
1319
|
};
|
|
1229
1320
|
};
|
|
1230
1321
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -672,27 +672,79 @@ declare const controlTypes: {
|
|
|
672
672
|
}) => react.JSX.Element>;
|
|
673
673
|
readonly layout: "full";
|
|
674
674
|
readonly propTypeUtil: {
|
|
675
|
-
extract: (prop: unknown) =>
|
|
676
|
-
|
|
675
|
+
extract: (prop: unknown) => {
|
|
676
|
+
$$type: "string";
|
|
677
|
+
value: string | null;
|
|
678
|
+
disabled?: boolean | undefined;
|
|
679
|
+
}[] | null;
|
|
680
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<string, {
|
|
681
|
+
$$type: "string";
|
|
682
|
+
value: string | null;
|
|
683
|
+
disabled?: boolean | undefined;
|
|
684
|
+
}[]>;
|
|
677
685
|
create: {
|
|
678
|
-
(value:
|
|
679
|
-
|
|
680
|
-
|
|
686
|
+
(value: {
|
|
687
|
+
$$type: "string";
|
|
688
|
+
value: string | null;
|
|
689
|
+
disabled?: boolean | undefined;
|
|
690
|
+
}[]): _elementor_editor_props.TransformablePropValue<string, {
|
|
691
|
+
$$type: "string";
|
|
692
|
+
value: string | null;
|
|
693
|
+
disabled?: boolean | undefined;
|
|
694
|
+
}[]>;
|
|
695
|
+
(value: {
|
|
696
|
+
$$type: "string";
|
|
697
|
+
value: string | null;
|
|
698
|
+
disabled?: boolean | undefined;
|
|
699
|
+
}[], createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
700
|
+
$$type: "string";
|
|
701
|
+
value: string | null;
|
|
702
|
+
disabled?: boolean | undefined;
|
|
703
|
+
}[]>;
|
|
704
|
+
(value: (prev?: {
|
|
705
|
+
$$type: "string";
|
|
706
|
+
value: string | null;
|
|
707
|
+
disabled?: boolean | undefined;
|
|
708
|
+
}[] | undefined) => {
|
|
709
|
+
$$type: "string";
|
|
710
|
+
value: string | null;
|
|
711
|
+
disabled?: boolean | undefined;
|
|
712
|
+
}[], createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
713
|
+
$$type: "string";
|
|
714
|
+
value: string | null;
|
|
715
|
+
disabled?: boolean | undefined;
|
|
716
|
+
}[]>;
|
|
681
717
|
};
|
|
682
718
|
schema: zod.ZodObject<{
|
|
683
|
-
$$type: zod.ZodLiteral<
|
|
684
|
-
value: zod.ZodType<
|
|
719
|
+
$$type: zod.ZodLiteral<string>;
|
|
720
|
+
value: zod.ZodType<{
|
|
721
|
+
$$type: "string";
|
|
722
|
+
value: string | null;
|
|
723
|
+
disabled?: boolean | undefined;
|
|
724
|
+
}[], zod.ZodTypeDef, {
|
|
725
|
+
$$type: "string";
|
|
726
|
+
value: string | null;
|
|
727
|
+
disabled?: boolean | undefined;
|
|
728
|
+
}[]>;
|
|
685
729
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
686
730
|
}, "strict", zod.ZodTypeAny, {
|
|
687
|
-
$$type:
|
|
688
|
-
value:
|
|
731
|
+
$$type: string;
|
|
732
|
+
value: {
|
|
733
|
+
$$type: "string";
|
|
734
|
+
value: string | null;
|
|
735
|
+
disabled?: boolean | undefined;
|
|
736
|
+
}[];
|
|
689
737
|
disabled?: boolean | undefined;
|
|
690
738
|
}, {
|
|
691
|
-
$$type:
|
|
692
|
-
value:
|
|
739
|
+
$$type: string;
|
|
740
|
+
value: {
|
|
741
|
+
$$type: "string";
|
|
742
|
+
value: string | null;
|
|
743
|
+
disabled?: boolean | undefined;
|
|
744
|
+
}[];
|
|
693
745
|
disabled?: boolean | undefined;
|
|
694
746
|
}>;
|
|
695
|
-
key:
|
|
747
|
+
key: string;
|
|
696
748
|
};
|
|
697
749
|
};
|
|
698
750
|
readonly link: {
|
|
@@ -1204,27 +1256,66 @@ declare const controlTypes: {
|
|
|
1204
1256
|
}) => react.JSX.Element>;
|
|
1205
1257
|
readonly layout: "full";
|
|
1206
1258
|
readonly propTypeUtil: {
|
|
1207
|
-
extract: (prop: unknown) =>
|
|
1208
|
-
|
|
1259
|
+
extract: (prop: unknown) => {
|
|
1260
|
+
content: string | null;
|
|
1261
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1262
|
+
} | null;
|
|
1263
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1264
|
+
content: string | null;
|
|
1265
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1266
|
+
}>;
|
|
1209
1267
|
create: {
|
|
1210
|
-
(value:
|
|
1211
|
-
|
|
1212
|
-
|
|
1268
|
+
(value: {
|
|
1269
|
+
content: string | null;
|
|
1270
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1271
|
+
}): _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1272
|
+
content: string | null;
|
|
1273
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1274
|
+
}>;
|
|
1275
|
+
(value: {
|
|
1276
|
+
content: string | null;
|
|
1277
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1278
|
+
}, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1279
|
+
content: string | null;
|
|
1280
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1281
|
+
}>;
|
|
1282
|
+
(value: (prev?: {
|
|
1283
|
+
content: string | null;
|
|
1284
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1285
|
+
} | undefined) => {
|
|
1286
|
+
content: string | null;
|
|
1287
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1288
|
+
}, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v2", {
|
|
1289
|
+
content: string | null;
|
|
1290
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1291
|
+
}>;
|
|
1213
1292
|
};
|
|
1214
1293
|
schema: zod.ZodObject<{
|
|
1215
|
-
$$type: zod.ZodLiteral<"html">;
|
|
1216
|
-
value: zod.ZodType<
|
|
1294
|
+
$$type: zod.ZodLiteral<"html-v2">;
|
|
1295
|
+
value: zod.ZodType<{
|
|
1296
|
+
content: string | null;
|
|
1297
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1298
|
+
}, zod.ZodTypeDef, {
|
|
1299
|
+
content: string | null;
|
|
1300
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1301
|
+
}>;
|
|
1217
1302
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1218
1303
|
}, "strict", zod.ZodTypeAny, {
|
|
1219
|
-
$$type: "html";
|
|
1220
|
-
value:
|
|
1304
|
+
$$type: "html-v2";
|
|
1305
|
+
value: {
|
|
1306
|
+
content: string | null;
|
|
1307
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1308
|
+
};
|
|
1221
1309
|
disabled?: boolean | undefined;
|
|
1222
1310
|
}, {
|
|
1223
|
-
$$type: "html";
|
|
1224
|
-
value:
|
|
1311
|
+
$$type: "html-v2";
|
|
1312
|
+
value: {
|
|
1313
|
+
content: string | null;
|
|
1314
|
+
children: _elementor_editor_props.ChildElement[];
|
|
1315
|
+
};
|
|
1225
1316
|
disabled?: boolean | undefined;
|
|
1226
1317
|
}>;
|
|
1227
|
-
key: "html";
|
|
1318
|
+
key: "html-v2";
|
|
1228
1319
|
};
|
|
1229
1320
|
};
|
|
1230
1321
|
};
|
package/dist/index.js
CHANGED
|
@@ -2000,7 +2000,7 @@ var controlTypes = {
|
|
|
2000
2000
|
"html-tag": { component: import_editor_controls.HtmlTagControl, layout: "two-columns", propTypeUtil: import_editor_props4.stringPropTypeUtil },
|
|
2001
2001
|
toggle: { component: import_editor_controls.ToggleControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
|
|
2002
2002
|
"date-time": { component: import_editor_controls.DateTimeControl, layout: "full", propTypeUtil: import_editor_props4.DateTimePropTypeUtil },
|
|
2003
|
-
"inline-editing": { component: import_editor_controls.InlineEditingControl, layout: "full", propTypeUtil: import_editor_props4.
|
|
2003
|
+
"inline-editing": { component: import_editor_controls.InlineEditingControl, layout: "full", propTypeUtil: import_editor_props4.htmlV2PropTypeUtil }
|
|
2004
2004
|
};
|
|
2005
2005
|
var ControlsRegistry = class {
|
|
2006
2006
|
constructor(controlsRegistry2) {
|