@elementor/editor-editing-panel 4.1.0-737 → 4.1.0-739

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
@@ -197,13 +197,19 @@ declare const controlTypes: {
197
197
  } | {
198
198
  id: null;
199
199
  url?: any;
200
+ } | {
201
+ id?: any;
202
+ url?: any;
200
203
  } | null;
201
- isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"image-src", {
204
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"svg-src", {
202
205
  url: null;
203
206
  id?: any;
204
207
  } | {
205
208
  id: null;
206
209
  url?: any;
210
+ } | {
211
+ id?: any;
212
+ url?: any;
207
213
  }>;
208
214
  create: {
209
215
  (value: {
@@ -212,12 +218,18 @@ declare const controlTypes: {
212
218
  } | {
213
219
  id: null;
214
220
  url?: any;
215
- }): _elementor_editor_props.TransformablePropValue<"image-src", {
221
+ } | {
222
+ id?: any;
223
+ url?: any;
224
+ }): _elementor_editor_props.TransformablePropValue<"svg-src", {
216
225
  url: null;
217
226
  id?: any;
218
227
  } | {
219
228
  id: null;
220
229
  url?: any;
230
+ } | {
231
+ id?: any;
232
+ url?: any;
221
233
  }>;
222
234
  (value: {
223
235
  url: null;
@@ -225,12 +237,18 @@ declare const controlTypes: {
225
237
  } | {
226
238
  id: null;
227
239
  url?: any;
228
- }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"image-src", {
240
+ } | {
241
+ id?: any;
242
+ url?: any;
243
+ }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"svg-src", {
229
244
  url: null;
230
245
  id?: any;
231
246
  } | {
232
247
  id: null;
233
248
  url?: any;
249
+ } | {
250
+ id?: any;
251
+ url?: any;
234
252
  }>;
235
253
  (value: (prev?: {
236
254
  url: null;
@@ -238,58 +256,79 @@ declare const controlTypes: {
238
256
  } | {
239
257
  id: null;
240
258
  url?: any;
259
+ } | {
260
+ id?: any;
261
+ url?: any;
241
262
  } | undefined) => {
242
263
  url: null;
243
264
  id?: any;
244
265
  } | {
245
266
  id: null;
246
267
  url?: any;
247
- }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"image-src", {
268
+ } | {
269
+ id?: any;
270
+ url?: any;
271
+ }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"svg-src", {
248
272
  url: null;
249
273
  id?: any;
250
274
  } | {
251
275
  id: null;
252
276
  url?: any;
277
+ } | {
278
+ id?: any;
279
+ url?: any;
253
280
  }>;
254
281
  };
255
282
  schema: zod.ZodObject<{
256
- $$type: zod.ZodLiteral<"image-src">;
283
+ $$type: zod.ZodLiteral<"svg-src">;
257
284
  value: zod.ZodType<{
258
285
  url: null;
259
286
  id?: any;
260
287
  } | {
261
288
  id: null;
262
289
  url?: any;
290
+ } | {
291
+ id?: any;
292
+ url?: any;
263
293
  }, zod.ZodTypeDef, {
264
294
  url: null;
265
295
  id?: any;
266
296
  } | {
267
297
  id: null;
268
298
  url?: any;
299
+ } | {
300
+ id?: any;
301
+ url?: any;
269
302
  }>;
270
303
  disabled: zod.ZodOptional<zod.ZodBoolean>;
271
304
  }, "strict", zod.ZodTypeAny, {
272
- $$type: "image-src";
305
+ $$type: "svg-src";
273
306
  value: {
274
307
  url: null;
275
308
  id?: any;
276
309
  } | {
277
310
  id: null;
278
311
  url?: any;
312
+ } | {
313
+ id?: any;
314
+ url?: any;
279
315
  };
280
316
  disabled?: boolean | undefined;
281
317
  }, {
282
- $$type: "image-src";
318
+ $$type: "svg-src";
283
319
  value: {
284
320
  url: null;
285
321
  id?: any;
286
322
  } | {
287
323
  id: null;
288
324
  url?: any;
325
+ } | {
326
+ id?: any;
327
+ url?: any;
289
328
  };
290
329
  disabled?: boolean | undefined;
291
330
  }>;
292
- key: "image-src";
331
+ key: "svg-src";
293
332
  };
294
333
  };
295
334
  readonly text: {
package/dist/index.d.ts CHANGED
@@ -197,13 +197,19 @@ declare const controlTypes: {
197
197
  } | {
198
198
  id: null;
199
199
  url?: any;
200
+ } | {
201
+ id?: any;
202
+ url?: any;
200
203
  } | null;
201
- isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"image-src", {
204
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"svg-src", {
202
205
  url: null;
203
206
  id?: any;
204
207
  } | {
205
208
  id: null;
206
209
  url?: any;
210
+ } | {
211
+ id?: any;
212
+ url?: any;
207
213
  }>;
208
214
  create: {
209
215
  (value: {
@@ -212,12 +218,18 @@ declare const controlTypes: {
212
218
  } | {
213
219
  id: null;
214
220
  url?: any;
215
- }): _elementor_editor_props.TransformablePropValue<"image-src", {
221
+ } | {
222
+ id?: any;
223
+ url?: any;
224
+ }): _elementor_editor_props.TransformablePropValue<"svg-src", {
216
225
  url: null;
217
226
  id?: any;
218
227
  } | {
219
228
  id: null;
220
229
  url?: any;
230
+ } | {
231
+ id?: any;
232
+ url?: any;
221
233
  }>;
222
234
  (value: {
223
235
  url: null;
@@ -225,12 +237,18 @@ declare const controlTypes: {
225
237
  } | {
226
238
  id: null;
227
239
  url?: any;
228
- }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"image-src", {
240
+ } | {
241
+ id?: any;
242
+ url?: any;
243
+ }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"svg-src", {
229
244
  url: null;
230
245
  id?: any;
231
246
  } | {
232
247
  id: null;
233
248
  url?: any;
249
+ } | {
250
+ id?: any;
251
+ url?: any;
234
252
  }>;
235
253
  (value: (prev?: {
236
254
  url: null;
@@ -238,58 +256,79 @@ declare const controlTypes: {
238
256
  } | {
239
257
  id: null;
240
258
  url?: any;
259
+ } | {
260
+ id?: any;
261
+ url?: any;
241
262
  } | undefined) => {
242
263
  url: null;
243
264
  id?: any;
244
265
  } | {
245
266
  id: null;
246
267
  url?: any;
247
- }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"image-src", {
268
+ } | {
269
+ id?: any;
270
+ url?: any;
271
+ }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"svg-src", {
248
272
  url: null;
249
273
  id?: any;
250
274
  } | {
251
275
  id: null;
252
276
  url?: any;
277
+ } | {
278
+ id?: any;
279
+ url?: any;
253
280
  }>;
254
281
  };
255
282
  schema: zod.ZodObject<{
256
- $$type: zod.ZodLiteral<"image-src">;
283
+ $$type: zod.ZodLiteral<"svg-src">;
257
284
  value: zod.ZodType<{
258
285
  url: null;
259
286
  id?: any;
260
287
  } | {
261
288
  id: null;
262
289
  url?: any;
290
+ } | {
291
+ id?: any;
292
+ url?: any;
263
293
  }, zod.ZodTypeDef, {
264
294
  url: null;
265
295
  id?: any;
266
296
  } | {
267
297
  id: null;
268
298
  url?: any;
299
+ } | {
300
+ id?: any;
301
+ url?: any;
269
302
  }>;
270
303
  disabled: zod.ZodOptional<zod.ZodBoolean>;
271
304
  }, "strict", zod.ZodTypeAny, {
272
- $$type: "image-src";
305
+ $$type: "svg-src";
273
306
  value: {
274
307
  url: null;
275
308
  id?: any;
276
309
  } | {
277
310
  id: null;
278
311
  url?: any;
312
+ } | {
313
+ id?: any;
314
+ url?: any;
279
315
  };
280
316
  disabled?: boolean | undefined;
281
317
  }, {
282
- $$type: "image-src";
318
+ $$type: "svg-src";
283
319
  value: {
284
320
  url: null;
285
321
  id?: any;
286
322
  } | {
287
323
  id: null;
288
324
  url?: any;
325
+ } | {
326
+ id?: any;
327
+ url?: any;
289
328
  };
290
329
  disabled?: boolean | undefined;
291
330
  }>;
292
- key: "image-src";
331
+ key: "svg-src";
293
332
  };
294
333
  };
295
334
  readonly text: {
package/dist/index.js CHANGED
@@ -1957,7 +1957,7 @@ var import_editor_controls = require("@elementor/editor-controls");
1957
1957
  var import_editor_props4 = require("@elementor/editor-props");
1958
1958
  var controlTypes = {
1959
1959
  image: { component: import_editor_controls.ImageControl, layout: "custom", propTypeUtil: import_editor_props4.imagePropTypeUtil },
1960
- "svg-media": { component: import_editor_controls.SvgMediaControl, layout: "full", propTypeUtil: import_editor_props4.imageSrcPropTypeUtil },
1960
+ "svg-media": { component: import_editor_controls.SvgMediaControl, layout: "full", propTypeUtil: import_editor_props4.svgSrcPropTypeUtil },
1961
1961
  text: { component: import_editor_controls.TextControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
1962
1962
  textarea: { component: import_editor_controls.TextAreaControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
1963
1963
  size: { component: import_editor_controls.SizeControl, layout: "two-columns", propTypeUtil: import_editor_props4.sizePropTypeUtil },