@elementor/editor-props 4.2.0-938 → 4.2.0-940

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -55,6 +55,7 @@ __export(index_exports, {
55
55
  filterEmptyValues: () => filterEmptyValues,
56
56
  filterPropTypeUtil: () => filterPropTypeUtil,
57
57
  flexPropTypeUtil: () => flexPropTypeUtil,
58
+ fontFamilyPropTypeUtil: () => fontFamilyPropTypeUtil,
58
59
  getPropSchemaFromCache: () => getPropSchemaFromCache,
59
60
  gradientColorStopPropTypeUtil: () => gradientColorStopPropTypeUtil,
60
61
  gridTrackSizePropTypeUtil: () => gridTrackSizePropTypeUtil,
@@ -234,30 +235,43 @@ var flexPropTypeUtil = createPropUtils(
234
235
  })
235
236
  );
236
237
 
237
- // src/prop-types/image.ts
238
+ // src/prop-types/font-family.ts
238
239
  var import_schema10 = require("@elementor/schema");
240
+ var baseUtil = createPropUtils("font-family", import_schema10.z.string().nullable());
241
+ var fontFamilyPropTypeUtil = Object.assign(baseUtil, {
242
+ getEnqueueFontFamily: (value) => {
243
+ const trimmed = value.trim();
244
+ if (trimmed.startsWith('"') && trimmed.endsWith('"') || trimmed.startsWith("'") && trimmed.endsWith("'")) {
245
+ return trimmed.slice(1, -1).trim();
246
+ }
247
+ return trimmed;
248
+ }
249
+ });
250
+
251
+ // src/prop-types/image.ts
252
+ var import_schema11 = require("@elementor/schema");
239
253
  var imagePropTypeUtil = createPropUtils(
240
254
  "image",
241
- import_schema10.z.strictObject({
255
+ import_schema11.z.strictObject({
242
256
  src: unknownChildrenSchema,
243
257
  size: unknownChildrenSchema
244
258
  })
245
259
  );
246
260
 
247
261
  // src/prop-types/image-attachment-id.ts
248
- var import_schema11 = require("@elementor/schema");
249
- var imageAttachmentIdPropType = createPropUtils("image-attachment-id", import_schema11.z.number());
262
+ var import_schema12 = require("@elementor/schema");
263
+ var imageAttachmentIdPropType = createPropUtils("image-attachment-id", import_schema12.z.number());
250
264
 
251
265
  // src/prop-types/image-src.ts
252
- var import_schema12 = require("@elementor/schema");
266
+ var import_schema13 = require("@elementor/schema");
253
267
  var imageSrcPropTypeUtil = createPropUtils(
254
268
  "image-src",
255
- import_schema12.z.strictObject({
269
+ import_schema13.z.strictObject({
256
270
  id: unknownChildrenSchema,
257
- url: import_schema12.z.null(),
271
+ url: import_schema13.z.null(),
258
272
  alt: unknownChildrenSchema.optional().default(null)
259
273
  }).or(
260
- import_schema12.z.strictObject({
274
+ import_schema13.z.strictObject({
261
275
  id: unknownChildrenSchema.optional().default(null),
262
276
  url: unknownChildrenSchema,
263
277
  alt: unknownChildrenSchema.optional().default(null)
@@ -266,17 +280,17 @@ var imageSrcPropTypeUtil = createPropUtils(
266
280
  );
267
281
 
268
282
  // src/prop-types/svg-src.ts
269
- var import_schema13 = require("@elementor/schema");
270
- var svgSrcValueSchema = import_schema13.z.strictObject({
283
+ var import_schema14 = require("@elementor/schema");
284
+ var svgSrcValueSchema = import_schema14.z.strictObject({
271
285
  id: unknownChildrenSchema,
272
- url: import_schema13.z.null()
286
+ url: import_schema14.z.null()
273
287
  }).or(
274
- import_schema13.z.strictObject({
275
- id: import_schema13.z.null(),
288
+ import_schema14.z.strictObject({
289
+ id: import_schema14.z.null(),
276
290
  url: unknownChildrenSchema
277
291
  })
278
292
  ).or(
279
- import_schema13.z.strictObject({
293
+ import_schema14.z.strictObject({
280
294
  id: unknownChildrenSchema,
281
295
  url: unknownChildrenSchema
282
296
  })
@@ -284,29 +298,29 @@ var svgSrcValueSchema = import_schema13.z.strictObject({
284
298
  var svgSrcPropTypeUtil = createPropUtils("svg-src", svgSrcValueSchema);
285
299
 
286
300
  // src/prop-types/video-attachment-id.ts
287
- var import_schema14 = require("@elementor/schema");
288
- var videoAttachmentIdPropType = createPropUtils("video-attachment-id", import_schema14.z.number());
301
+ var import_schema15 = require("@elementor/schema");
302
+ var videoAttachmentIdPropType = createPropUtils("video-attachment-id", import_schema15.z.number());
289
303
 
290
304
  // src/prop-types/video-src.ts
291
- var import_schema15 = require("@elementor/schema");
305
+ var import_schema16 = require("@elementor/schema");
292
306
  var videoSrcPropTypeUtil = createPropUtils(
293
307
  "video-src",
294
- import_schema15.z.strictObject({
308
+ import_schema16.z.strictObject({
295
309
  id: unknownChildrenSchema,
296
- url: import_schema15.z.null()
310
+ url: import_schema16.z.null()
297
311
  }).or(
298
- import_schema15.z.strictObject({
299
- id: import_schema15.z.null(),
312
+ import_schema16.z.strictObject({
313
+ id: import_schema16.z.null(),
300
314
  url: unknownChildrenSchema
301
315
  })
302
316
  )
303
317
  );
304
318
 
305
319
  // src/prop-types/dimensions.ts
306
- var import_schema16 = require("@elementor/schema");
320
+ var import_schema17 = require("@elementor/schema");
307
321
  var dimensionsPropTypeUtil = createPropUtils(
308
322
  "dimensions",
309
- import_schema16.z.strictObject({
323
+ import_schema17.z.strictObject({
310
324
  "block-start": unknownChildrenSchema,
311
325
  "block-end": unknownChildrenSchema,
312
326
  "inline-start": unknownChildrenSchema,
@@ -315,95 +329,95 @@ var dimensionsPropTypeUtil = createPropUtils(
315
329
  );
316
330
 
317
331
  // src/prop-types/number.ts
318
- var import_schema17 = require("@elementor/schema");
319
- var numberPropTypeUtil = createPropUtils("number", import_schema17.z.number().nullable());
332
+ var import_schema18 = require("@elementor/schema");
333
+ var numberPropTypeUtil = createPropUtils("number", import_schema18.z.number().nullable());
320
334
 
321
335
  // src/prop-types/size.ts
322
- var import_schema18 = require("@elementor/schema");
323
- var sizeNumberOrEmpty = import_schema18.z.union([import_schema18.z.number(), import_schema18.z.literal("")]);
336
+ var import_schema19 = require("@elementor/schema");
337
+ var sizeNumberOrEmpty = import_schema19.z.union([import_schema19.z.number(), import_schema19.z.literal("")]);
324
338
  var sizePropTypeUtil = createPropUtils(
325
339
  "size",
326
- import_schema18.z.strictObject({
327
- unit: import_schema18.z.enum(["px", "em", "rem", "%", "vw", "vh", "ch"]),
340
+ import_schema19.z.strictObject({
341
+ unit: import_schema19.z.enum(["px", "em", "rem", "%", "vw", "vh", "ch"]),
328
342
  size: sizeNumberOrEmpty
329
343
  }).or(
330
- import_schema18.z.strictObject({
331
- unit: import_schema18.z.enum(["deg", "rad", "grad", "turn"]),
344
+ import_schema19.z.strictObject({
345
+ unit: import_schema19.z.enum(["deg", "rad", "grad", "turn"]),
332
346
  size: sizeNumberOrEmpty
333
347
  })
334
348
  ).or(
335
- import_schema18.z.strictObject({
336
- unit: import_schema18.z.enum(["s", "ms"]),
349
+ import_schema19.z.strictObject({
350
+ unit: import_schema19.z.enum(["s", "ms"]),
337
351
  size: sizeNumberOrEmpty
338
352
  })
339
353
  ).or(
340
- import_schema18.z.strictObject({
341
- unit: import_schema18.z.literal("auto"),
342
- size: import_schema18.z.literal("")
354
+ import_schema19.z.strictObject({
355
+ unit: import_schema19.z.literal("auto"),
356
+ size: import_schema19.z.literal("")
343
357
  })
344
358
  ).or(
345
- import_schema18.z.strictObject({
346
- unit: import_schema18.z.literal("custom"),
347
- size: import_schema18.z.string()
359
+ import_schema19.z.strictObject({
360
+ unit: import_schema19.z.literal("custom"),
361
+ size: import_schema19.z.string()
348
362
  })
349
363
  )
350
364
  );
351
365
 
352
366
  // src/prop-types/grid-track-size.ts
353
- var import_schema19 = require("@elementor/schema");
367
+ var import_schema20 = require("@elementor/schema");
354
368
  var gridTrackSizePropTypeUtil = createPropUtils(
355
369
  "grid-track-size",
356
- import_schema19.z.strictObject({
357
- unit: import_schema19.z.literal("fr"),
358
- size: import_schema19.z.union([import_schema19.z.number(), import_schema19.z.literal("")])
370
+ import_schema20.z.strictObject({
371
+ unit: import_schema20.z.literal("fr"),
372
+ size: import_schema20.z.union([import_schema20.z.number(), import_schema20.z.literal("")])
359
373
  }).or(
360
- import_schema19.z.strictObject({
361
- unit: import_schema19.z.literal("custom"),
362
- size: import_schema19.z.string()
374
+ import_schema20.z.strictObject({
375
+ unit: import_schema20.z.literal("custom"),
376
+ size: import_schema20.z.string()
363
377
  })
364
378
  )
365
379
  );
366
380
 
367
381
  // src/prop-types/span.ts
368
- var import_schema20 = require("@elementor/schema");
369
- var spanPropTypeUtil = createPropUtils("span", import_schema20.z.string().nullable());
382
+ var import_schema21 = require("@elementor/schema");
383
+ var spanPropTypeUtil = createPropUtils("span", import_schema21.z.string().nullable());
370
384
 
371
385
  // src/prop-types/string.ts
372
- var import_schema21 = require("@elementor/schema");
373
- var stringPropTypeUtil = createPropUtils("string", import_schema21.z.string().nullable());
386
+ var import_schema22 = require("@elementor/schema");
387
+ var stringPropTypeUtil = createPropUtils("string", import_schema22.z.string().nullable());
374
388
 
375
389
  // src/prop-types/string-array.ts
376
390
  var stringArrayPropTypeUtil = createArrayPropUtils(stringPropTypeUtil.key, stringPropTypeUtil.schema);
377
391
 
378
392
  // src/prop-types/stroke.ts
379
- var import_schema22 = require("@elementor/schema");
393
+ var import_schema23 = require("@elementor/schema");
380
394
  var strokePropTypeUtil = createPropUtils(
381
395
  "stroke",
382
- import_schema22.z.strictObject({
396
+ import_schema23.z.strictObject({
383
397
  color: unknownChildrenSchema,
384
398
  width: unknownChildrenSchema
385
399
  })
386
400
  );
387
401
 
388
402
  // src/prop-types/url.ts
389
- var import_schema23 = require("@elementor/schema");
390
- var urlPropTypeUtil = createPropUtils("url", import_schema23.z.string().nullable());
403
+ var import_schema24 = require("@elementor/schema");
404
+ var urlPropTypeUtil = createPropUtils("url", import_schema24.z.string().nullable());
391
405
 
392
406
  // src/prop-types/layout-direction.ts
393
- var import_schema24 = require("@elementor/schema");
407
+ var import_schema25 = require("@elementor/schema");
394
408
  var layoutDirectionPropTypeUtil = createPropUtils(
395
409
  "layout-direction",
396
- import_schema24.z.object({
397
- row: import_schema24.z.any(),
398
- column: import_schema24.z.any()
410
+ import_schema25.z.object({
411
+ row: import_schema25.z.any(),
412
+ column: import_schema25.z.any()
399
413
  })
400
414
  );
401
415
 
402
416
  // src/prop-types/link.ts
403
- var import_schema25 = require("@elementor/schema");
417
+ var import_schema26 = require("@elementor/schema");
404
418
  var linkPropTypeUtil = createPropUtils(
405
419
  "link",
406
- import_schema25.z.strictObject({
420
+ import_schema26.z.strictObject({
407
421
  destination: unknownChildrenSchema,
408
422
  isTargetBlank: unknownChildrenSchema,
409
423
  tag: unknownChildrenSchema
@@ -411,10 +425,10 @@ var linkPropTypeUtil = createPropUtils(
411
425
  );
412
426
 
413
427
  // src/prop-types/email.ts
414
- var import_schema26 = require("@elementor/schema");
428
+ var import_schema27 = require("@elementor/schema");
415
429
  var emailPropTypeUtil = createPropUtils(
416
430
  "email",
417
- import_schema26.z.strictObject({
431
+ import_schema27.z.strictObject({
418
432
  to: unknownChildrenSchema,
419
433
  subject: unknownChildrenSchema,
420
434
  message: unknownChildrenSchema,
@@ -429,10 +443,10 @@ var emailPropTypeUtil = createPropUtils(
429
443
  );
430
444
 
431
445
  // src/prop-types/emails.ts
432
- var import_schema27 = require("@elementor/schema");
446
+ var import_schema28 = require("@elementor/schema");
433
447
  var emailsPropTypeUtil = createPropUtils(
434
448
  "emails",
435
- import_schema27.z.strictObject({
449
+ import_schema28.z.strictObject({
436
450
  to: unknownChildrenSchema,
437
451
  subject: unknownChildrenSchema,
438
452
  message: unknownChildrenSchema,
@@ -447,13 +461,13 @@ var emailsPropTypeUtil = createPropUtils(
447
461
  );
448
462
 
449
463
  // src/prop-types/selection-size.ts
450
- var import_schema29 = require("@elementor/schema");
464
+ var import_schema30 = require("@elementor/schema");
451
465
 
452
466
  // src/prop-types/key-value.ts
453
- var import_schema28 = require("@elementor/schema");
467
+ var import_schema29 = require("@elementor/schema");
454
468
  var keyValuePropTypeUtil = createPropUtils(
455
469
  "key-value",
456
- import_schema28.z.strictObject({
470
+ import_schema29.z.strictObject({
457
471
  key: unknownChildrenSchema,
458
472
  value: unknownChildrenSchema
459
473
  })
@@ -462,17 +476,17 @@ var keyValuePropTypeUtil = createPropUtils(
462
476
  // src/prop-types/selection-size.ts
463
477
  var selectionSizePropTypeUtil = createPropUtils(
464
478
  "selection-size",
465
- import_schema29.z.strictObject({
466
- selection: import_schema29.z.union([keyValuePropTypeUtil.schema, stringPropTypeUtil.schema]),
479
+ import_schema30.z.strictObject({
480
+ selection: import_schema30.z.union([keyValuePropTypeUtil.schema, stringPropTypeUtil.schema]),
467
481
  size: unknownChildrenSchema
468
482
  })
469
483
  );
470
484
 
471
485
  // src/prop-types/background-prop-types/background.ts
472
- var import_schema30 = require("@elementor/schema");
486
+ var import_schema31 = require("@elementor/schema");
473
487
  var backgroundPropTypeUtil = createPropUtils(
474
488
  "background",
475
- import_schema30.z.strictObject({
489
+ import_schema31.z.strictObject({
476
490
  color: unknownChildrenSchema,
477
491
  clip: unknownChildrenSchema,
478
492
  "background-overlay": unknownChildrenSchema
@@ -480,7 +494,7 @@ var backgroundPropTypeUtil = createPropUtils(
480
494
  );
481
495
 
482
496
  // src/prop-types/background-prop-types/background-overlay.ts
483
- var import_schema31 = require("@elementor/schema");
497
+ var import_schema32 = require("@elementor/schema");
484
498
 
485
499
  // src/prop-types/background-prop-types/background-color-overlay.ts
486
500
  var backgroundColorOverlayPropTypeUtil = createPropUtils("background-color-overlay", unknownChildrenSchema);
@@ -496,7 +510,7 @@ var backgroundImageOverlayPropTypeUtil = createPropUtils("background-image-overl
496
510
 
497
511
  // src/prop-types/background-prop-types/background-overlay.ts
498
512
  var backgroundOverlayItem = backgroundColorOverlayPropTypeUtil.schema.or(backgroundGradientOverlayPropTypeUtil.schema).or(backgroundImageOverlayPropTypeUtil.schema);
499
- var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay", import_schema31.z.array(backgroundOverlayItem));
513
+ var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay", import_schema32.z.array(backgroundOverlayItem));
500
514
 
501
515
  // src/prop-types/background-prop-types/background-image-position-offset.ts
502
516
  var backgroundImagePositionOffsetPropTypeUtil = createPropUtils(
@@ -511,71 +525,71 @@ var backgroundImageSizeScalePropTypeUtil = createPropUtils(
511
525
  );
512
526
 
513
527
  // src/prop-types/boolean.ts
514
- var import_schema32 = require("@elementor/schema");
515
- var booleanPropTypeUtil = createPropUtils("boolean", import_schema32.z.boolean().nullable());
528
+ var import_schema33 = require("@elementor/schema");
529
+ var booleanPropTypeUtil = createPropUtils("boolean", import_schema33.z.boolean().nullable());
516
530
 
517
531
  // src/prop-types/color-stop.ts
518
- var import_schema33 = require("@elementor/schema");
532
+ var import_schema34 = require("@elementor/schema");
519
533
  var colorStopPropTypeUtil = createPropUtils(
520
534
  "color-stop",
521
- import_schema33.z.strictObject({
535
+ import_schema34.z.strictObject({
522
536
  color: unknownChildrenSchema,
523
537
  offset: unknownChildrenSchema
524
538
  })
525
539
  );
526
540
 
527
541
  // src/prop-types/gradient-color-stop.ts
528
- var import_schema34 = require("@elementor/schema");
542
+ var import_schema35 = require("@elementor/schema");
529
543
  var gradientColorStopPropTypeUtil = createPropUtils(
530
544
  "gradient-color-stop",
531
- import_schema34.z.array(colorStopPropTypeUtil.schema)
545
+ import_schema35.z.array(colorStopPropTypeUtil.schema)
532
546
  );
533
547
 
534
548
  // src/prop-types/number-range.ts
535
- var import_schema35 = require("@elementor/schema");
549
+ var import_schema36 = require("@elementor/schema");
536
550
  var numberRangePropTypeUtil = createPropUtils(
537
551
  "number-range",
538
- import_schema35.z.strictObject({
552
+ import_schema36.z.strictObject({
539
553
  min: unknownChildrenSchema,
540
554
  max: unknownChildrenSchema
541
555
  })
542
556
  );
543
557
 
544
558
  // src/prop-types/date-time.ts
545
- var import_schema36 = require("@elementor/schema");
559
+ var import_schema37 = require("@elementor/schema");
546
560
  var DateTimePropTypeUtil = createPropUtils(
547
561
  "date-time",
548
- import_schema36.z.strictObject({
562
+ import_schema37.z.strictObject({
549
563
  date: unknownChildrenSchema,
550
564
  time: unknownChildrenSchema
551
565
  })
552
566
  );
553
567
 
554
568
  // src/prop-types/position.ts
555
- var import_schema37 = require("@elementor/schema");
569
+ var import_schema38 = require("@elementor/schema");
556
570
  var positionPropTypeUtil = createPropUtils(
557
571
  "object-position",
558
- import_schema37.z.strictObject({
572
+ import_schema38.z.strictObject({
559
573
  x: unknownChildrenSchema,
560
574
  y: unknownChildrenSchema
561
575
  })
562
576
  );
563
577
 
564
578
  // src/prop-types/query.ts
565
- var import_schema38 = require("@elementor/schema");
579
+ var import_schema39 = require("@elementor/schema");
566
580
  var queryPropTypeUtil = createPropUtils(
567
581
  "query",
568
- import_schema38.z.strictObject({
582
+ import_schema39.z.strictObject({
569
583
  id: unknownChildrenSchema,
570
584
  label: unknownChildrenSchema
571
585
  })
572
586
  );
573
587
 
574
588
  // src/prop-types/query-filter.ts
575
- var import_schema39 = require("@elementor/schema");
589
+ var import_schema40 = require("@elementor/schema");
576
590
  var queryFilterPropTypeUtil = createPropUtils(
577
591
  "query-filter",
578
- import_schema39.z.strictObject({
592
+ import_schema40.z.strictObject({
579
593
  key: unknownChildrenSchema,
580
594
  values: unknownChildrenSchema,
581
595
  taxonomies: unknownChildrenSchema
@@ -587,41 +601,41 @@ var queryFilterArrayPropTypeUtil = createArrayPropUtils(
587
601
  );
588
602
 
589
603
  // src/prop-types/html.ts
590
- var import_schema40 = require("@elementor/schema");
591
- var htmlPropTypeUtil = createPropUtils("html", import_schema40.z.string().nullable());
604
+ var import_schema41 = require("@elementor/schema");
605
+ var htmlPropTypeUtil = createPropUtils("html", import_schema41.z.string().nullable());
592
606
 
593
607
  // src/prop-types/html-v2.ts
594
- var import_schema41 = require("@elementor/schema");
595
- var childElementSchema = import_schema41.z.lazy(
596
- () => import_schema41.z.object({
597
- id: import_schema41.z.string(),
598
- type: import_schema41.z.string(),
599
- content: import_schema41.z.string().optional(),
600
- children: import_schema41.z.array(childElementSchema).optional()
608
+ var import_schema42 = require("@elementor/schema");
609
+ var childElementSchema = import_schema42.z.lazy(
610
+ () => import_schema42.z.object({
611
+ id: import_schema42.z.string(),
612
+ type: import_schema42.z.string(),
613
+ content: import_schema42.z.string().optional(),
614
+ children: import_schema42.z.array(childElementSchema).optional()
601
615
  })
602
616
  );
603
- var htmlV2ValueSchema = import_schema41.z.object({
604
- content: import_schema41.z.string().nullable(),
605
- children: import_schema41.z.array(childElementSchema)
617
+ var htmlV2ValueSchema = import_schema42.z.object({
618
+ content: import_schema42.z.string().nullable(),
619
+ children: import_schema42.z.array(childElementSchema)
606
620
  });
607
621
  var htmlV2PropTypeUtil = createPropUtils("html-v2", htmlV2ValueSchema);
608
622
 
609
623
  // src/prop-types/html-v3.ts
610
- var import_schema42 = require("@elementor/schema");
611
- var htmlV3ValueSchema = import_schema42.z.object({
624
+ var import_schema43 = require("@elementor/schema");
625
+ var htmlV3ValueSchema = import_schema43.z.object({
612
626
  content: stringPropTypeUtil.schema.nullable(),
613
- children: import_schema42.z.array(import_schema42.z.unknown())
627
+ children: import_schema43.z.array(import_schema43.z.unknown())
614
628
  });
615
629
  var htmlV3PropTypeUtil = createPropUtils("html-v3", htmlV3ValueSchema);
616
630
 
617
631
  // src/prop-types/filter-prop-types/filter.ts
618
- var import_schema48 = require("@elementor/schema");
632
+ var import_schema49 = require("@elementor/schema");
619
633
 
620
634
  // src/prop-types/filter-prop-types/drop-shadow-filter.ts
621
- var import_schema43 = require("@elementor/schema");
635
+ var import_schema44 = require("@elementor/schema");
622
636
  var dropShadowFilterPropTypeUtil = createPropUtils(
623
637
  "drop-shadow",
624
- import_schema43.z.object({
638
+ import_schema44.z.object({
625
639
  xAxis: unknownChildrenSchema,
626
640
  yAxis: unknownChildrenSchema,
627
641
  blur: unknownChildrenSchema,
@@ -630,37 +644,37 @@ var dropShadowFilterPropTypeUtil = createPropUtils(
630
644
  );
631
645
 
632
646
  // src/prop-types/filter-prop-types/filter-functions/blur-filter.ts
633
- var import_schema44 = require("@elementor/schema");
647
+ var import_schema45 = require("@elementor/schema");
634
648
  var blurFilterPropTypeUtil = createPropUtils(
635
649
  "blur",
636
- import_schema44.z.strictObject({
650
+ import_schema45.z.strictObject({
637
651
  size: unknownChildrenSchema
638
652
  })
639
653
  );
640
654
 
641
655
  // src/prop-types/filter-prop-types/filter-functions/color-tone-filter.ts
642
- var import_schema45 = require("@elementor/schema");
656
+ var import_schema46 = require("@elementor/schema");
643
657
  var colorToneFilterPropTypeUtil = createPropUtils(
644
658
  "color-tone",
645
- import_schema45.z.strictObject({
659
+ import_schema46.z.strictObject({
646
660
  size: unknownChildrenSchema
647
661
  })
648
662
  );
649
663
 
650
664
  // src/prop-types/filter-prop-types/filter-functions/hue-rotate-filter.ts
651
- var import_schema46 = require("@elementor/schema");
665
+ var import_schema47 = require("@elementor/schema");
652
666
  var hueRotateFilterPropTypeUtil = createPropUtils(
653
667
  "hue-rotate",
654
- import_schema46.z.strictObject({
668
+ import_schema47.z.strictObject({
655
669
  size: unknownChildrenSchema
656
670
  })
657
671
  );
658
672
 
659
673
  // src/prop-types/filter-prop-types/filter-functions/intensity-filter.ts
660
- var import_schema47 = require("@elementor/schema");
674
+ var import_schema48 = require("@elementor/schema");
661
675
  var intensityFilterPropTypeUtil = createPropUtils(
662
676
  "intensity",
663
- import_schema47.z.strictObject({
677
+ import_schema48.z.strictObject({
664
678
  size: unknownChildrenSchema
665
679
  })
666
680
  );
@@ -668,9 +682,9 @@ var intensityFilterPropTypeUtil = createPropUtils(
668
682
  // src/prop-types/filter-prop-types/filter.ts
669
683
  var cssFilterFunctionPropUtil = createPropUtils(
670
684
  "css-filter-func",
671
- import_schema48.z.object({
685
+ import_schema49.z.object({
672
686
  func: stringPropTypeUtil.schema,
673
- args: import_schema48.z.union([
687
+ args: import_schema49.z.union([
674
688
  blurFilterPropTypeUtil.schema,
675
689
  intensityFilterPropTypeUtil.schema,
676
690
  colorToneFilterPropTypeUtil.schema,
@@ -679,13 +693,13 @@ var cssFilterFunctionPropUtil = createPropUtils(
679
693
  ])
680
694
  })
681
695
  );
682
- var filterPropTypeUtil = createPropUtils("filter", import_schema48.z.array(cssFilterFunctionPropUtil.schema));
696
+ var filterPropTypeUtil = createPropUtils("filter", import_schema49.z.array(cssFilterFunctionPropUtil.schema));
683
697
 
684
698
  // src/prop-types/transform-prop-types/transform.ts
685
- var import_schema49 = require("@elementor/schema");
699
+ var import_schema50 = require("@elementor/schema");
686
700
  var transformPropTypeUtil = createPropUtils(
687
701
  "transform",
688
- import_schema49.z.strictObject({
702
+ import_schema50.z.strictObject({
689
703
  "transform-functions": unknownChildrenSchema,
690
704
  "transform-origin": unknownChildrenSchema,
691
705
  perspective: unknownChildrenSchema,
@@ -694,10 +708,10 @@ var transformPropTypeUtil = createPropUtils(
694
708
  );
695
709
 
696
710
  // src/prop-types/transform-prop-types/transform-functions.ts
697
- var import_schema54 = require("@elementor/schema");
711
+ var import_schema55 = require("@elementor/schema");
698
712
 
699
713
  // src/prop-types/transform-prop-types/transform-functions/move-transform.ts
700
- var import_schema50 = require("@elementor/schema");
714
+ var import_schema51 = require("@elementor/schema");
701
715
 
702
716
  // src/prop-types/transform-prop-types/types.ts
703
717
  var TransformFunctionKeys = {
@@ -710,7 +724,7 @@ var TransformFunctionKeys = {
710
724
  // src/prop-types/transform-prop-types/transform-functions/move-transform.ts
711
725
  var moveTransformPropTypeUtil = createPropUtils(
712
726
  TransformFunctionKeys.move,
713
- import_schema50.z.strictObject({
727
+ import_schema51.z.strictObject({
714
728
  x: unknownChildrenSchema,
715
729
  y: unknownChildrenSchema,
716
730
  z: unknownChildrenSchema
@@ -718,10 +732,10 @@ var moveTransformPropTypeUtil = createPropUtils(
718
732
  );
719
733
 
720
734
  // src/prop-types/transform-prop-types/transform-functions/rotate-transform.ts
721
- var import_schema51 = require("@elementor/schema");
735
+ var import_schema52 = require("@elementor/schema");
722
736
  var rotateTransformPropTypeUtil = createPropUtils(
723
737
  TransformFunctionKeys.rotate,
724
- import_schema51.z.strictObject({
738
+ import_schema52.z.strictObject({
725
739
  x: unknownChildrenSchema,
726
740
  y: unknownChildrenSchema,
727
741
  z: unknownChildrenSchema
@@ -729,10 +743,10 @@ var rotateTransformPropTypeUtil = createPropUtils(
729
743
  );
730
744
 
731
745
  // src/prop-types/transform-prop-types/transform-functions/scale-transform.ts
732
- var import_schema52 = require("@elementor/schema");
746
+ var import_schema53 = require("@elementor/schema");
733
747
  var scaleTransformPropTypeUtil = createPropUtils(
734
748
  TransformFunctionKeys.scale,
735
- import_schema52.z.strictObject({
749
+ import_schema53.z.strictObject({
736
750
  x: numberPropTypeUtil.schema.nullable(),
737
751
  y: numberPropTypeUtil.schema.nullable(),
738
752
  z: numberPropTypeUtil.schema.nullable()
@@ -740,10 +754,10 @@ var scaleTransformPropTypeUtil = createPropUtils(
740
754
  );
741
755
 
742
756
  // src/prop-types/transform-prop-types/transform-functions/skew-transform.ts
743
- var import_schema53 = require("@elementor/schema");
757
+ var import_schema54 = require("@elementor/schema");
744
758
  var skewTransformPropTypeUtil = createPropUtils(
745
759
  TransformFunctionKeys.skew,
746
- import_schema53.z.strictObject({
760
+ import_schema54.z.strictObject({
747
761
  x: unknownChildrenSchema,
748
762
  y: unknownChildrenSchema
749
763
  })
@@ -751,13 +765,13 @@ var skewTransformPropTypeUtil = createPropUtils(
751
765
 
752
766
  // src/prop-types/transform-prop-types/transform-functions.ts
753
767
  var filterTypes = moveTransformPropTypeUtil.schema.or(scaleTransformPropTypeUtil.schema).or(rotateTransformPropTypeUtil.schema).or(skewTransformPropTypeUtil.schema);
754
- var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", import_schema54.z.array(filterTypes));
768
+ var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", import_schema55.z.array(filterTypes));
755
769
 
756
770
  // src/prop-types/transform-prop-types/transform-origin.ts
757
- var import_schema55 = require("@elementor/schema");
771
+ var import_schema56 = require("@elementor/schema");
758
772
  var transformOriginPropTypeUtil = createPropUtils(
759
773
  "transform-origin",
760
- import_schema55.z.strictObject({
774
+ import_schema56.z.strictObject({
761
775
  x: unknownChildrenSchema,
762
776
  y: unknownChildrenSchema,
763
777
  z: unknownChildrenSchema
@@ -765,49 +779,49 @@ var transformOriginPropTypeUtil = createPropUtils(
765
779
  );
766
780
 
767
781
  // src/prop-types/transform-prop-types/perspective-origin.ts
768
- var import_schema56 = require("@elementor/schema");
782
+ var import_schema57 = require("@elementor/schema");
769
783
  var perspectiveOriginPropTypeUtil = createPropUtils(
770
784
  "perspective-origin",
771
- import_schema56.z.strictObject({
785
+ import_schema57.z.strictObject({
772
786
  x: unknownChildrenSchema,
773
787
  y: unknownChildrenSchema
774
788
  })
775
789
  );
776
790
 
777
791
  // src/prop-types/filter-prop-types/backdrop-filter.ts
778
- var import_schema57 = require("@elementor/schema");
792
+ var import_schema58 = require("@elementor/schema");
779
793
  var backdropFilterPropTypeUtil = createPropUtils(
780
794
  "backdrop-filter",
781
- import_schema57.z.array(cssFilterFunctionPropUtil.schema)
795
+ import_schema58.z.array(cssFilterFunctionPropUtil.schema)
782
796
  );
783
797
 
784
798
  // src/prop-types/date-range.ts
785
- var import_schema58 = require("@elementor/schema");
799
+ var import_schema59 = require("@elementor/schema");
786
800
  var dateRangePropTypeUtil = createPropUtils(
787
801
  "date-range",
788
- import_schema58.z.strictObject({
802
+ import_schema59.z.strictObject({
789
803
  min: unknownChildrenSchema,
790
804
  max: unknownChildrenSchema
791
805
  })
792
806
  );
793
807
 
794
808
  // src/prop-types/date-string.ts
795
- var import_schema59 = require("@elementor/schema");
796
- var dateStringPropTypeUtil = createPropUtils("date-string", import_schema59.z.string());
809
+ var import_schema60 = require("@elementor/schema");
810
+ var dateStringPropTypeUtil = createPropUtils("date-string", import_schema60.z.string());
797
811
 
798
812
  // src/prop-types/time-range.ts
799
- var import_schema60 = require("@elementor/schema");
813
+ var import_schema61 = require("@elementor/schema");
800
814
  var timeRangePropTypeUtil = createPropUtils(
801
815
  "time-range",
802
- import_schema60.z.strictObject({
816
+ import_schema61.z.strictObject({
803
817
  min: unknownChildrenSchema,
804
818
  max: unknownChildrenSchema
805
819
  })
806
820
  );
807
821
 
808
822
  // src/prop-types/time-string.ts
809
- var import_schema61 = require("@elementor/schema");
810
- var timeStringPropTypeUtil = createPropUtils("time-string", import_schema61.z.string());
823
+ var import_schema62 = require("@elementor/schema");
824
+ var timeStringPropTypeUtil = createPropUtils("time-string", import_schema62.z.string());
811
825
 
812
826
  // src/utils/adjust-llm-prop-value-schema.ts
813
827
  var ensureNotNull = (v, fallback) => v === null ? fallback : v;
@@ -1271,11 +1285,11 @@ var validatePropValue = (schema, value) => {
1271
1285
  };
1272
1286
 
1273
1287
  // src/utils/is-transformable.ts
1274
- var import_schema62 = require("@elementor/schema");
1275
- var transformableSchema = import_schema62.z.object({
1276
- $$type: import_schema62.z.string(),
1277
- value: import_schema62.z.any(),
1278
- disabled: import_schema62.z.boolean().optional()
1288
+ var import_schema63 = require("@elementor/schema");
1289
+ var transformableSchema = import_schema63.z.object({
1290
+ $$type: import_schema63.z.string(),
1291
+ value: import_schema63.z.any(),
1292
+ disabled: import_schema63.z.boolean().optional()
1279
1293
  });
1280
1294
  var isTransformable = (value) => {
1281
1295
  return transformableSchema.safeParse(value).success;
@@ -1549,6 +1563,7 @@ var Schema = {
1549
1563
  filterEmptyValues,
1550
1564
  filterPropTypeUtil,
1551
1565
  flexPropTypeUtil,
1566
+ fontFamilyPropTypeUtil,
1552
1567
  getPropSchemaFromCache,
1553
1568
  gradientColorStopPropTypeUtil,
1554
1569
  gridTrackSizePropTypeUtil,