@ecodev/natural 47.0.1 → 47.2.0

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.
@@ -75,7 +75,10 @@ export declare function stripTags(str: string): string;
75
75
  *
76
76
  * The full title has the following structure:
77
77
  *
78
- * page title - extra part - app name
78
+ * dialog title - page title - extra part - app name
79
+ *
80
+ * `dialog title` only exists if a `NaturalDialogTriggerComponent` is currently open, and that some SEO is
81
+ * configured for it in the routing.
79
82
  */
80
83
  export declare class NaturalSeoService {
81
84
  private readonly config;
@@ -94,11 +97,16 @@ export declare class NaturalSeoService {
94
97
  * needed. For those cases the Component can inject this service and update the SEO directly.
95
98
  */
96
99
  update(seo: NaturalSeoBasic): void;
100
+ private join;
97
101
  private updateTag;
98
102
  /**
99
103
  * Returns the data from the most deep/specific activated route
100
104
  */
101
105
  private getRouteData;
106
+ /**
107
+ * Returns the data from the `NaturalDialogTriggerComponent` if one is open
108
+ */
109
+ private getDialogRouteData;
102
110
  private toBasic;
103
111
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalSeoService, never>;
104
112
  static ɵprov: i0.ɵɵInjectableDeclaration<NaturalSeoService>;
@@ -26,8 +26,10 @@ export declare class NaturalSelectHierarchicComponent extends AbstractSelect<Lit
26
26
  selectLabel?: string;
27
27
  /**
28
28
  * Configuration for hierarchic relations
29
+ *
30
+ * It should be an array with at least one element with `selectableAtKey` configured, otherwise the selector will never open.
29
31
  */
30
- config: NaturalHierarchicConfiguration[];
32
+ config: NaturalHierarchicConfiguration[] | null;
31
33
  /**
32
34
  * Filters formatted for hierarchic selector
33
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecodev/natural",
3
- "version": "47.0.1",
3
+ "version": "47.2.0",
4
4
  "license": "MIT",
5
5
  "repository": "github:Ecodev/natural",
6
6
  "sideEffects": false,