@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.
- package/esm2020/lib/modules/common/services/seo.service.mjs +42 -13
- package/esm2020/lib/modules/icon/icon.component.mjs +6 -3
- package/esm2020/lib/modules/select/select-hierarchic/select-hierarchic.component.mjs +13 -8
- package/fesm2015/ecodev-natural.mjs +119 -86
- package/fesm2015/ecodev-natural.mjs.map +1 -1
- package/fesm2020/ecodev-natural.mjs +122 -86
- package/fesm2020/ecodev-natural.mjs.map +1 -1
- package/lib/modules/common/services/seo.service.d.ts +9 -1
- package/lib/modules/select/select-hierarchic/select-hierarchic.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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
|
*/
|