@elementor/editor-props 4.2.0-874 → 4.2.0-876

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
@@ -3467,35 +3467,44 @@ declare const queryFilterPropTypeUtil: {
3467
3467
  extract: (prop: unknown) => {
3468
3468
  values?: any;
3469
3469
  key?: any;
3470
+ taxonomies?: any;
3470
3471
  } | null;
3471
3472
  isValid: (prop: unknown) => prop is TransformablePropValue$1<"query-filter", {
3472
3473
  values?: any;
3473
3474
  key?: any;
3475
+ taxonomies?: any;
3474
3476
  }>;
3475
3477
  create: {
3476
3478
  (value: {
3477
3479
  values?: any;
3478
3480
  key?: any;
3481
+ taxonomies?: any;
3479
3482
  }): TransformablePropValue$1<"query-filter", {
3480
3483
  values?: any;
3481
3484
  key?: any;
3485
+ taxonomies?: any;
3482
3486
  }>;
3483
3487
  (value: {
3484
3488
  values?: any;
3485
3489
  key?: any;
3490
+ taxonomies?: any;
3486
3491
  }, createOptions?: CreateOptions): TransformablePropValue$1<"query-filter", {
3487
3492
  values?: any;
3488
3493
  key?: any;
3494
+ taxonomies?: any;
3489
3495
  }>;
3490
3496
  (value: (prev?: {
3491
3497
  values?: any;
3492
3498
  key?: any;
3499
+ taxonomies?: any;
3493
3500
  } | undefined) => {
3494
3501
  values?: any;
3495
3502
  key?: any;
3503
+ taxonomies?: any;
3496
3504
  }, createOptions: CreateOptions): TransformablePropValue$1<"query-filter", {
3497
3505
  values?: any;
3498
3506
  key?: any;
3507
+ taxonomies?: any;
3499
3508
  }>;
3500
3509
  };
3501
3510
  schema: z.ZodObject<{
@@ -3503,9 +3512,11 @@ declare const queryFilterPropTypeUtil: {
3503
3512
  value: z.ZodType<{
3504
3513
  values?: any;
3505
3514
  key?: any;
3515
+ taxonomies?: any;
3506
3516
  }, z.ZodTypeDef, {
3507
3517
  values?: any;
3508
3518
  key?: any;
3519
+ taxonomies?: any;
3509
3520
  }>;
3510
3521
  disabled: z.ZodOptional<z.ZodBoolean>;
3511
3522
  }, "strict", z.ZodTypeAny, {
@@ -3513,6 +3524,7 @@ declare const queryFilterPropTypeUtil: {
3513
3524
  value: {
3514
3525
  values?: any;
3515
3526
  key?: any;
3527
+ taxonomies?: any;
3516
3528
  };
3517
3529
  disabled?: boolean | undefined;
3518
3530
  }, {
@@ -3520,6 +3532,7 @@ declare const queryFilterPropTypeUtil: {
3520
3532
  value: {
3521
3533
  values?: any;
3522
3534
  key?: any;
3535
+ taxonomies?: any;
3523
3536
  };
3524
3537
  disabled?: boolean | undefined;
3525
3538
  }>;
@@ -3532,6 +3545,7 @@ declare const queryFilterArrayPropTypeUtil: {
3532
3545
  value: {
3533
3546
  values?: any;
3534
3547
  key?: any;
3548
+ taxonomies?: any;
3535
3549
  };
3536
3550
  disabled?: boolean | undefined;
3537
3551
  }[] | null;
@@ -3540,6 +3554,7 @@ declare const queryFilterArrayPropTypeUtil: {
3540
3554
  value: {
3541
3555
  values?: any;
3542
3556
  key?: any;
3557
+ taxonomies?: any;
3543
3558
  };
3544
3559
  disabled?: boolean | undefined;
3545
3560
  }[]>;
@@ -3549,6 +3564,7 @@ declare const queryFilterArrayPropTypeUtil: {
3549
3564
  value: {
3550
3565
  values?: any;
3551
3566
  key?: any;
3567
+ taxonomies?: any;
3552
3568
  };
3553
3569
  disabled?: boolean | undefined;
3554
3570
  }[]): TransformablePropValue$1<string, {
@@ -3556,6 +3572,7 @@ declare const queryFilterArrayPropTypeUtil: {
3556
3572
  value: {
3557
3573
  values?: any;
3558
3574
  key?: any;
3575
+ taxonomies?: any;
3559
3576
  };
3560
3577
  disabled?: boolean | undefined;
3561
3578
  }[]>;
@@ -3564,6 +3581,7 @@ declare const queryFilterArrayPropTypeUtil: {
3564
3581
  value: {
3565
3582
  values?: any;
3566
3583
  key?: any;
3584
+ taxonomies?: any;
3567
3585
  };
3568
3586
  disabled?: boolean | undefined;
3569
3587
  }[], createOptions?: CreateOptions): TransformablePropValue$1<string, {
@@ -3571,6 +3589,7 @@ declare const queryFilterArrayPropTypeUtil: {
3571
3589
  value: {
3572
3590
  values?: any;
3573
3591
  key?: any;
3592
+ taxonomies?: any;
3574
3593
  };
3575
3594
  disabled?: boolean | undefined;
3576
3595
  }[]>;
@@ -3579,6 +3598,7 @@ declare const queryFilterArrayPropTypeUtil: {
3579
3598
  value: {
3580
3599
  values?: any;
3581
3600
  key?: any;
3601
+ taxonomies?: any;
3582
3602
  };
3583
3603
  disabled?: boolean | undefined;
3584
3604
  }[] | undefined) => {
@@ -3586,6 +3606,7 @@ declare const queryFilterArrayPropTypeUtil: {
3586
3606
  value: {
3587
3607
  values?: any;
3588
3608
  key?: any;
3609
+ taxonomies?: any;
3589
3610
  };
3590
3611
  disabled?: boolean | undefined;
3591
3612
  }[], createOptions: CreateOptions): TransformablePropValue$1<string, {
@@ -3593,6 +3614,7 @@ declare const queryFilterArrayPropTypeUtil: {
3593
3614
  value: {
3594
3615
  values?: any;
3595
3616
  key?: any;
3617
+ taxonomies?: any;
3596
3618
  };
3597
3619
  disabled?: boolean | undefined;
3598
3620
  }[]>;
@@ -3604,6 +3626,7 @@ declare const queryFilterArrayPropTypeUtil: {
3604
3626
  value: {
3605
3627
  values?: any;
3606
3628
  key?: any;
3629
+ taxonomies?: any;
3607
3630
  };
3608
3631
  disabled?: boolean | undefined;
3609
3632
  }[], z.ZodTypeDef, {
@@ -3611,6 +3634,7 @@ declare const queryFilterArrayPropTypeUtil: {
3611
3634
  value: {
3612
3635
  values?: any;
3613
3636
  key?: any;
3637
+ taxonomies?: any;
3614
3638
  };
3615
3639
  disabled?: boolean | undefined;
3616
3640
  }[]>;
@@ -3622,6 +3646,7 @@ declare const queryFilterArrayPropTypeUtil: {
3622
3646
  value: {
3623
3647
  values?: any;
3624
3648
  key?: any;
3649
+ taxonomies?: any;
3625
3650
  };
3626
3651
  disabled?: boolean | undefined;
3627
3652
  }[];
@@ -3633,6 +3658,7 @@ declare const queryFilterArrayPropTypeUtil: {
3633
3658
  value: {
3634
3659
  values?: any;
3635
3660
  key?: any;
3661
+ taxonomies?: any;
3636
3662
  };
3637
3663
  disabled?: boolean | undefined;
3638
3664
  }[];
@@ -3647,6 +3673,15 @@ type QueryFilterKeyConfig = {
3647
3673
  params?: Record<string, unknown>;
3648
3674
  } | null;
3649
3675
  chipsPlaceholder?: string;
3676
+ valueType?: 'chips' | 'taxonomies';
3677
+ staticOptions?: {
3678
+ value: string;
3679
+ label: string;
3680
+ }[];
3681
+ visibleWhen?: {
3682
+ path: string[];
3683
+ in: string[];
3684
+ };
3650
3685
  };
3651
3686
 
3652
3687
  declare const htmlPropTypeUtil: {
package/dist/index.d.ts CHANGED
@@ -3467,35 +3467,44 @@ declare const queryFilterPropTypeUtil: {
3467
3467
  extract: (prop: unknown) => {
3468
3468
  values?: any;
3469
3469
  key?: any;
3470
+ taxonomies?: any;
3470
3471
  } | null;
3471
3472
  isValid: (prop: unknown) => prop is TransformablePropValue$1<"query-filter", {
3472
3473
  values?: any;
3473
3474
  key?: any;
3475
+ taxonomies?: any;
3474
3476
  }>;
3475
3477
  create: {
3476
3478
  (value: {
3477
3479
  values?: any;
3478
3480
  key?: any;
3481
+ taxonomies?: any;
3479
3482
  }): TransformablePropValue$1<"query-filter", {
3480
3483
  values?: any;
3481
3484
  key?: any;
3485
+ taxonomies?: any;
3482
3486
  }>;
3483
3487
  (value: {
3484
3488
  values?: any;
3485
3489
  key?: any;
3490
+ taxonomies?: any;
3486
3491
  }, createOptions?: CreateOptions): TransformablePropValue$1<"query-filter", {
3487
3492
  values?: any;
3488
3493
  key?: any;
3494
+ taxonomies?: any;
3489
3495
  }>;
3490
3496
  (value: (prev?: {
3491
3497
  values?: any;
3492
3498
  key?: any;
3499
+ taxonomies?: any;
3493
3500
  } | undefined) => {
3494
3501
  values?: any;
3495
3502
  key?: any;
3503
+ taxonomies?: any;
3496
3504
  }, createOptions: CreateOptions): TransformablePropValue$1<"query-filter", {
3497
3505
  values?: any;
3498
3506
  key?: any;
3507
+ taxonomies?: any;
3499
3508
  }>;
3500
3509
  };
3501
3510
  schema: z.ZodObject<{
@@ -3503,9 +3512,11 @@ declare const queryFilterPropTypeUtil: {
3503
3512
  value: z.ZodType<{
3504
3513
  values?: any;
3505
3514
  key?: any;
3515
+ taxonomies?: any;
3506
3516
  }, z.ZodTypeDef, {
3507
3517
  values?: any;
3508
3518
  key?: any;
3519
+ taxonomies?: any;
3509
3520
  }>;
3510
3521
  disabled: z.ZodOptional<z.ZodBoolean>;
3511
3522
  }, "strict", z.ZodTypeAny, {
@@ -3513,6 +3524,7 @@ declare const queryFilterPropTypeUtil: {
3513
3524
  value: {
3514
3525
  values?: any;
3515
3526
  key?: any;
3527
+ taxonomies?: any;
3516
3528
  };
3517
3529
  disabled?: boolean | undefined;
3518
3530
  }, {
@@ -3520,6 +3532,7 @@ declare const queryFilterPropTypeUtil: {
3520
3532
  value: {
3521
3533
  values?: any;
3522
3534
  key?: any;
3535
+ taxonomies?: any;
3523
3536
  };
3524
3537
  disabled?: boolean | undefined;
3525
3538
  }>;
@@ -3532,6 +3545,7 @@ declare const queryFilterArrayPropTypeUtil: {
3532
3545
  value: {
3533
3546
  values?: any;
3534
3547
  key?: any;
3548
+ taxonomies?: any;
3535
3549
  };
3536
3550
  disabled?: boolean | undefined;
3537
3551
  }[] | null;
@@ -3540,6 +3554,7 @@ declare const queryFilterArrayPropTypeUtil: {
3540
3554
  value: {
3541
3555
  values?: any;
3542
3556
  key?: any;
3557
+ taxonomies?: any;
3543
3558
  };
3544
3559
  disabled?: boolean | undefined;
3545
3560
  }[]>;
@@ -3549,6 +3564,7 @@ declare const queryFilterArrayPropTypeUtil: {
3549
3564
  value: {
3550
3565
  values?: any;
3551
3566
  key?: any;
3567
+ taxonomies?: any;
3552
3568
  };
3553
3569
  disabled?: boolean | undefined;
3554
3570
  }[]): TransformablePropValue$1<string, {
@@ -3556,6 +3572,7 @@ declare const queryFilterArrayPropTypeUtil: {
3556
3572
  value: {
3557
3573
  values?: any;
3558
3574
  key?: any;
3575
+ taxonomies?: any;
3559
3576
  };
3560
3577
  disabled?: boolean | undefined;
3561
3578
  }[]>;
@@ -3564,6 +3581,7 @@ declare const queryFilterArrayPropTypeUtil: {
3564
3581
  value: {
3565
3582
  values?: any;
3566
3583
  key?: any;
3584
+ taxonomies?: any;
3567
3585
  };
3568
3586
  disabled?: boolean | undefined;
3569
3587
  }[], createOptions?: CreateOptions): TransformablePropValue$1<string, {
@@ -3571,6 +3589,7 @@ declare const queryFilterArrayPropTypeUtil: {
3571
3589
  value: {
3572
3590
  values?: any;
3573
3591
  key?: any;
3592
+ taxonomies?: any;
3574
3593
  };
3575
3594
  disabled?: boolean | undefined;
3576
3595
  }[]>;
@@ -3579,6 +3598,7 @@ declare const queryFilterArrayPropTypeUtil: {
3579
3598
  value: {
3580
3599
  values?: any;
3581
3600
  key?: any;
3601
+ taxonomies?: any;
3582
3602
  };
3583
3603
  disabled?: boolean | undefined;
3584
3604
  }[] | undefined) => {
@@ -3586,6 +3606,7 @@ declare const queryFilterArrayPropTypeUtil: {
3586
3606
  value: {
3587
3607
  values?: any;
3588
3608
  key?: any;
3609
+ taxonomies?: any;
3589
3610
  };
3590
3611
  disabled?: boolean | undefined;
3591
3612
  }[], createOptions: CreateOptions): TransformablePropValue$1<string, {
@@ -3593,6 +3614,7 @@ declare const queryFilterArrayPropTypeUtil: {
3593
3614
  value: {
3594
3615
  values?: any;
3595
3616
  key?: any;
3617
+ taxonomies?: any;
3596
3618
  };
3597
3619
  disabled?: boolean | undefined;
3598
3620
  }[]>;
@@ -3604,6 +3626,7 @@ declare const queryFilterArrayPropTypeUtil: {
3604
3626
  value: {
3605
3627
  values?: any;
3606
3628
  key?: any;
3629
+ taxonomies?: any;
3607
3630
  };
3608
3631
  disabled?: boolean | undefined;
3609
3632
  }[], z.ZodTypeDef, {
@@ -3611,6 +3634,7 @@ declare const queryFilterArrayPropTypeUtil: {
3611
3634
  value: {
3612
3635
  values?: any;
3613
3636
  key?: any;
3637
+ taxonomies?: any;
3614
3638
  };
3615
3639
  disabled?: boolean | undefined;
3616
3640
  }[]>;
@@ -3622,6 +3646,7 @@ declare const queryFilterArrayPropTypeUtil: {
3622
3646
  value: {
3623
3647
  values?: any;
3624
3648
  key?: any;
3649
+ taxonomies?: any;
3625
3650
  };
3626
3651
  disabled?: boolean | undefined;
3627
3652
  }[];
@@ -3633,6 +3658,7 @@ declare const queryFilterArrayPropTypeUtil: {
3633
3658
  value: {
3634
3659
  values?: any;
3635
3660
  key?: any;
3661
+ taxonomies?: any;
3636
3662
  };
3637
3663
  disabled?: boolean | undefined;
3638
3664
  }[];
@@ -3647,6 +3673,15 @@ type QueryFilterKeyConfig = {
3647
3673
  params?: Record<string, unknown>;
3648
3674
  } | null;
3649
3675
  chipsPlaceholder?: string;
3676
+ valueType?: 'chips' | 'taxonomies';
3677
+ staticOptions?: {
3678
+ value: string;
3679
+ label: string;
3680
+ }[];
3681
+ visibleWhen?: {
3682
+ path: string[];
3683
+ in: string[];
3684
+ };
3650
3685
  };
3651
3686
 
3652
3687
  declare const htmlPropTypeUtil: {
package/dist/index.js CHANGED
@@ -561,7 +561,8 @@ var queryFilterPropTypeUtil = createPropUtils(
561
561
  "query-filter",
562
562
  import_schema38.z.strictObject({
563
563
  key: unknownChildrenSchema,
564
- values: unknownChildrenSchema
564
+ values: unknownChildrenSchema,
565
+ taxonomies: unknownChildrenSchema
565
566
  })
566
567
  );
567
568
  var queryFilterArrayPropTypeUtil = createArrayPropUtils(