@ecodev/natural 65.0.0 → 65.0.2

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/index.d.ts CHANGED
@@ -2748,13 +2748,6 @@ declare class TypeDateRangeComponent<D = any> implements DropdownComponent {
2748
2748
  static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateRangeComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
2749
2749
  }
2750
2750
 
2751
- type NaturalDropdownData<C = any> = {
2752
- condition: FilterGroupConditionField | null;
2753
- configuration: C;
2754
- title?: string;
2755
- };
2756
- declare const NATURAL_DROPDOWN_DATA: InjectionToken<NaturalDropdownData<any>>;
2757
-
2758
2751
  type TypeOption = {
2759
2752
  display: string;
2760
2753
  condition: Literal;
@@ -2763,13 +2756,12 @@ type TypeOptionsConfiguration = {
2763
2756
  options: TypeOption[];
2764
2757
  };
2765
2758
  declare class TypeOptionsComponent implements DropdownComponent {
2766
- readonly data: NaturalDropdownData<TypeOptionsConfiguration>;
2767
2759
  readonly renderedValue: BehaviorSubject<string>;
2768
2760
  readonly formControl: FormControl<TypeOption>;
2769
2761
  readonly configuration: Required<TypeOptionsConfiguration>;
2770
2762
  private readonly defaults;
2771
2763
  protected readonly dropdownRef: NaturalDropdownRef;
2772
- constructor(data: NaturalDropdownData<TypeOptionsConfiguration>);
2764
+ constructor();
2773
2765
  getCondition(): FilterGroupConditionField;
2774
2766
  isValid(): boolean;
2775
2767
  isDirty(): boolean;
@@ -2782,7 +2774,6 @@ type TypeBooleanConfiguration = {
2782
2774
  displayWhenInactive: string;
2783
2775
  };
2784
2776
  declare class TypeBooleanComponent extends TypeOptionsComponent implements DropdownComponent {
2785
- constructor();
2786
2777
  static ɵfac: i0.ɵɵFactoryDeclaration<TypeBooleanComponent, never>;
2787
2778
  static ɵcmp: i0.ɵɵComponentDeclaration<TypeBooleanComponent, "ng-component", never, {}, {}, never, never, true, never>;
2788
2779
  }
@@ -3374,6 +3365,13 @@ declare class NaturalRelationsComponent<TService extends NaturalAbstractModelSer
3374
3365
  static ɵcmp: i0.ɵɵComponentDeclaration<NaturalRelationsComponent<any>, "natural-relations", never, { "service": { "alias": "service"; "required": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "autocompleteSelectorFilter": { "alias": "autocompleteSelectorFilter"; "required": false; "isSignal": true; }; "displayWith": { "alias": "displayWith"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "main": { "alias": "main"; "required": true; }; "hierarchicSelectorFilters": { "alias": "hierarchicSelectorFilters"; "required": false; "isSignal": true; }; "hierarchicSelectorConfig": { "alias": "hierarchicSelectorConfig"; "required": false; "isSignal": true; }; "otherName": { "alias": "otherName"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; }, { "selectionChange": "selectionChange"; }, ["itemTemplate"], never, true, never>;
3375
3366
  }
3376
3367
 
3368
+ type NaturalDropdownData<C = any> = {
3369
+ condition: FilterGroupConditionField | null;
3370
+ configuration: C;
3371
+ title?: string;
3372
+ };
3373
+ declare const NATURAL_DROPDOWN_DATA: InjectionToken<NaturalDropdownData<any>>;
3374
+
3377
3375
  declare function toGraphQLDoctrineFilter(facets: NaturalSearchFacets | null, selections: NaturalSearchSelections | null): Filter;
3378
3376
 
3379
3377
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecodev/natural",
3
- "version": "65.0.0",
3
+ "version": "65.0.2",
4
4
  "license": "MIT",
5
5
  "repository": "github:Ecodev/natural",
6
6
  "sideEffects": false,