@zambon-dev/framework 1.3.0 → 1.4.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.
|
@@ -21,6 +21,18 @@ export declare class ButtonFiltersComponent extends BaseButton implements OnInit
|
|
|
21
21
|
setFilters(filters: {
|
|
22
22
|
[key: string]: any;
|
|
23
23
|
}): void;
|
|
24
|
+
/**
|
|
25
|
+
* Drops the controls that only hold a catalog selection's label.
|
|
26
|
+
*
|
|
27
|
+
* They are half of how `lib-catalog-select` works and are created by it, so a screen never asked
|
|
28
|
+
* for them and a backend has no filter behind them. Sent anyway they are dead weight, and worse:
|
|
29
|
+
* the day a service does filter by a name, it would receive the formatted label rather than the
|
|
30
|
+
* stored value and quietly match nothing.
|
|
31
|
+
*
|
|
32
|
+
* @param filters The filters as submitted.
|
|
33
|
+
* @returns The filters a backend should receive.
|
|
34
|
+
*/
|
|
35
|
+
private withoutDisplayControls;
|
|
24
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonFiltersComponent, never>;
|
|
25
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonFiltersComponent, "framework-button-filters", never, { "modalSize": { "alias": "modalSize"; "required": false; }; "modalTitle": { "alias": "modalTitle"; "required": false; }; "validateFormFunction": { "alias": "validateFormFunction"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
26
38
|
}
|
|
@@ -10,6 +10,8 @@ export declare class CustomReuseStrategy implements RouteReuseStrategy {
|
|
|
10
10
|
tabService?: TabService;
|
|
11
11
|
private applicationRef;
|
|
12
12
|
private cachedHandles;
|
|
13
|
+
private componentIDs;
|
|
14
|
+
private nextComponentID;
|
|
13
15
|
clearAllHandles(): void;
|
|
14
16
|
clearHandle(url: string): void;
|
|
15
17
|
retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null;
|
|
@@ -18,5 +20,7 @@ export declare class CustomReuseStrategy implements RouteReuseStrategy {
|
|
|
18
20
|
shouldReuseRoute(future: ActivatedRouteSnapshot, current: ActivatedRouteSnapshot): boolean;
|
|
19
21
|
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle): void;
|
|
20
22
|
private getCacheKey;
|
|
23
|
+
private getComponentID;
|
|
24
|
+
private getRouteDepth;
|
|
21
25
|
private getUrlFromRoute;
|
|
22
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zambon-dev/framework",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Angular framework components and infrastructure for Zambon applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@angular/forms": "^19.1.0",
|
|
26
26
|
"@angular/router": "^19.1.0",
|
|
27
27
|
"@auth0/angular-jwt": "^5.2.0",
|
|
28
|
-
"@zambon-dev/library": "^1.
|
|
28
|
+
"@zambon-dev/library": "^1.6.0",
|
|
29
29
|
"@ngx-translate/core": "^16.0.4",
|
|
30
30
|
"ngx-translate-multi-http-loader": "^19.0.2"
|
|
31
31
|
},
|