@anglr/common 10.0.0-beta.20220215130133 → 11.0.0-beta.20220222093017

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.
Files changed (62) hide show
  1. package/changelog.md +19 -0
  2. package/es2015/material/src/components/titledDialog/titledDialog.component.js +12 -8
  3. package/es2015/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
  4. package/es2015/material/src/modules/titledDialog.module.js +7 -4
  5. package/es2015/material/src/modules/titledDialog.module.js.map +1 -1
  6. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +1 -0
  7. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
  8. package/es2020/material/src/components/titledDialog/titledDialog.component.js +12 -8
  9. package/es2020/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
  10. package/es2020/material/src/modules/titledDialog.module.js +7 -4
  11. package/es2020/material/src/modules/titledDialog.module.js.map +1 -1
  12. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +1 -0
  13. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
  14. package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
  15. package/material/src/modules/titledDialog.module.d.ts +1 -1
  16. package/material/src/modules/titledDialog.module.d.ts.map +1 -1
  17. package/package.json +23 -28
  18. package/readme.md +0 -1
  19. package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.d.ts.map +1 -1
  20. package/version.bak +1 -1
  21. package/common.d.ts +0 -1398
  22. package/common.internal.d.ts +0 -1438
  23. package/date-fns/common-date-fns.d.ts +0 -8
  24. package/date-fns/common-date-fns.internal.d.ts +0 -8
  25. package/date-fns/temp/common-date-fns.api.md +0 -12
  26. package/es2015/hmr/src/index.js +0 -35
  27. package/es2015/hmr/src/index.js.map +0 -1
  28. package/es2020/hmr/src/index.js +0 -35
  29. package/es2020/hmr/src/index.js.map +0 -1
  30. package/forms/common-forms.d.ts +0 -966
  31. package/forms/common-forms.internal.d.ts +0 -966
  32. package/forms/temp/common-forms.api.md +0 -445
  33. package/hmr/common-hmr.d.ts +0 -6
  34. package/hmr/common-hmr.internal.d.ts +0 -6
  35. package/hmr/package.json +0 -9
  36. package/hmr/src/index.d.ts +0 -6
  37. package/hmr/src/index.d.ts.map +0 -1
  38. package/hmr/temp/common-hmr.api.md +0 -12
  39. package/hotkeys/common-hotkeys.d.ts +0 -53
  40. package/hotkeys/common-hotkeys.internal.d.ts +0 -53
  41. package/hotkeys/temp/common-hotkeys.api.md +0 -25
  42. package/material/common-material.d.ts +0 -264
  43. package/material/common-material.internal.d.ts +0 -278
  44. package/material/temp/common-material.api.md +0 -164
  45. package/moment/common-moment.d.ts +0 -61
  46. package/moment/common-moment.internal.d.ts +0 -61
  47. package/moment/temp/common-moment.api.md +0 -47
  48. package/numeral/common-numeral.d.ts +0 -44
  49. package/numeral/common-numeral.internal.d.ts +0 -44
  50. package/numeral/temp/common-numeral.api.md +0 -37
  51. package/positions/common-positions.d.ts +0 -324
  52. package/positions/common-positions.internal.d.ts +0 -346
  53. package/positions/temp/common-positions.api.md +0 -170
  54. package/router/common-router.d.ts +0 -140
  55. package/router/common-router.internal.d.ts +0 -140
  56. package/router/temp/common-router.api.md +0 -74
  57. package/store/common-store.d.ts +0 -61
  58. package/store/common-store.internal.d.ts +0 -61
  59. package/store/temp/common-store.api.md +0 -37
  60. package/structured-log/common-structured-log.d.ts +0 -418
  61. package/structured-log/common-structured-log.internal.d.ts +0 -418
  62. package/structured-log/temp/common-structured-log.api.md +0 -193
@@ -1,170 +0,0 @@
1
- ## API Report File for "@anglr/common-positions"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { ApplicationRef } from '@angular/core';
8
- import { ChangeDetectorRef } from '@angular/core';
9
- import { ComponentFactoryResolver } from '@angular/core';
10
- import { ComponentRef } from '@angular/core';
11
- import { ElementRef } from '@angular/core';
12
- import { EventEmitter } from '@angular/core';
13
- import * as i0 from '@angular/core';
14
- import * as i3 from '@angular/common';
15
- import { InjectionToken } from '@angular/core';
16
- import { Injector } from '@angular/core';
17
- import { OnChanges } from '@angular/core';
18
- import { OnDestroy } from '@angular/core';
19
- import type { PositionsCoordinates } from 'positions';
20
- import { SimpleChanges } from '@angular/core';
21
- import { TemplateRef } from '@angular/core';
22
- import { Type } from '@angular/core';
23
-
24
- // @public
25
- export type FLIP_DIRECTION = 'vertical' | 'horizontal' | 'verticalOriginal' | 'horizontalOriginal';
26
-
27
- // @public
28
- export interface FlipCallback {
29
- // (undocumented)
30
- (direction: FLIP_DIRECTION): void;
31
- }
32
-
33
- // @public
34
- export class PositionsModule {
35
- // (undocumented)
36
- static ɵfac: i0.ɵɵFactoryDeclaration<PositionsModule, never>;
37
- // (undocumented)
38
- static ɵinj: i0.ɵɵInjectorDeclaration<PositionsModule>;
39
- // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
40
- //
41
- // (undocumented)
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<PositionsModule, [typeof i1.PositionToDirective], never, [typeof i1.PositionToDirective]>;
43
- }
44
-
45
- // @public
46
- export function positionsWithFlip(element: HTMLElement, elementCoordinates: PositionsCoordinates, target: HTMLElement, targetCoordinates: PositionsCoordinates, htmlDocument?: Document, flipCallback?: FlipCallback): void;
47
-
48
- // @public
49
- export class PositionToDirective implements OnChanges {
50
- constructor(_element: ElementRef<HTMLElement>, _document: Document);
51
- elementCoordinates: PositionsCoordinates;
52
- flip: EventEmitter<void>;
53
- ngOnChanges(changes: SimpleChanges): void;
54
- target: HTMLElement;
55
- targetCoordinates: PositionsCoordinates;
56
- // (undocumented)
57
- static ɵdir: i0.ɵɵDirectiveDeclaration<PositionToDirective, "[positionTo]", never, { "target": "positionTo"; "elementCoordinates": "elementCoordinates"; "targetCoordinates": "targetCoordinates"; }, { "flip": "flip"; }, never>;
58
- // (undocumented)
59
- static ɵfac: i0.ɵɵFactoryDeclaration<PositionToDirective, never>;
60
- }
61
-
62
- // @public
63
- export const TOOLTIP_OPTIONS: InjectionToken<TooltipOptions>;
64
-
65
- // @public
66
- export class TooltipComponent<TData = any> implements TooltipRenderer<TData> {
67
- constructor(_changeDetector: ChangeDetectorRef, _element: ElementRef<HTMLElement>);
68
- allowHtml: boolean;
69
- // @internal
70
- animation: boolean;
71
- // (undocumented)
72
- protected _changeDetector: ChangeDetectorRef;
73
- cssClass: string | null;
74
- data: TData | null;
75
- // (undocumented)
76
- protected _element: ElementRef<HTMLElement>;
77
- protected _enterFn: () => void;
78
- invalidateVisuals(): void;
79
- protected _leaveFn: () => void;
80
- // @internal
81
- mouseEnter(): void;
82
- // @internal
83
- mouseLeave(): void;
84
- registerHoverEvents(enter: () => void, leave: () => void): void;
85
- template: TemplateRef<TData> | null;
86
- // (undocumented)
87
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent<any>, "tooltip-popup", never, {}, {}, never, never>;
88
- // (undocumented)
89
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent<any>, never>;
90
- }
91
-
92
- // @public
93
- export class TooltipDirective<TData = any> implements OnChanges, OnDestroy {
94
- constructor(_componentFactoryResolver: ComponentFactoryResolver, _appRef: ApplicationRef, _injector: Injector, _element: ElementRef<HTMLElement>, options: TooltipOptions);
95
- allowHtml: boolean;
96
- // (undocumented)
97
- protected _appRef: ApplicationRef;
98
- // (undocumented)
99
- protected _componentFactoryResolver: ComponentFactoryResolver;
100
- protected _createTooltip(): void;
101
- protected _destroyTooltip(): void;
102
- // (undocumented)
103
- protected _element: ElementRef<HTMLElement>;
104
- protected _hideTooltip(): void;
105
- // (undocumented)
106
- protected _injector: Injector;
107
- protected _keepOpen: boolean;
108
- // @internal
109
- mouseLeave(event: MouseEvent): void;
110
- // @internal
111
- mouseMove(event: MouseEvent): void;
112
- ngOnChanges(changes: SimpleChanges): void;
113
- ngOnDestroy(): void;
114
- protected _options: TooltipOptions;
115
- protected _showData(): void;
116
- protected _showRequest: boolean;
117
- protected _showTooltip(xCoordinate?: number): void;
118
- protected _timeout: number | null;
119
- tooltip?: TData | string;
120
- protected _tooltipComponent?: ComponentRef<TooltipRenderer>;
121
- protected _tooltipElement?: HTMLElement;
122
- get tooltipOptions(): TooltipOptions;
123
- set tooltipOptions(value: TooltipOptions);
124
- tooltipTemplate?: TemplateRef<any>;
125
- tooltipTemplateChild?: TemplateRef<any>;
126
- tooltipVisible?: boolean;
127
- // (undocumented)
128
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective<any>, "[tooltip]", never, { "tooltip": "tooltip"; "allowHtml": "allowHtml"; "tooltipTemplate": "tooltipTemplate"; "tooltipOptions": "tooltipOptions"; "tooltipVisible": "tooltipVisible"; }, {}, ["tooltipTemplateChild"]>;
129
- // (undocumented)
130
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective<any>, [null, null, null, null, { optional: true; }]>;
131
- }
132
-
133
- // @public
134
- export class TooltipModule {
135
- // (undocumented)
136
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
137
- // (undocumented)
138
- static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
139
- // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
140
- // Warning: (ae-forgotten-export) The symbol "i2" needs to be exported by the entry point index.d.ts
141
- //
142
- // (undocumented)
143
- static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof i1_2.TooltipDirective, typeof i2.TooltipComponent], [typeof i3.CommonModule], [typeof i1_2.TooltipDirective]>;
144
- }
145
-
146
- // @public
147
- export interface TooltipOptions {
148
- allowSelection?: boolean | null;
149
- delay?: number;
150
- elementPositionAt?: PositionsCoordinates;
151
- fixedPosition?: boolean;
152
- stopPropagation?: boolean | null;
153
- tooltipCssClass?: string | null;
154
- tooltipPosition?: PositionsCoordinates;
155
- tooltipRenderer?: Type<TooltipRenderer>;
156
- }
157
-
158
- // @public
159
- export interface TooltipRenderer<TData = any> {
160
- allowHtml: boolean;
161
- cssClass: string | null;
162
- data: TData | null;
163
- invalidateVisuals(): void;
164
- registerHoverEvents(enter: () => void, leave: () => void): void;
165
- template: TemplateRef<TData> | null;
166
- }
167
-
168
- // (No @packageDocumentation comment for this package)
169
-
170
- ```
@@ -1,140 +0,0 @@
1
- import { ExtraOptions } from '@angular/router';
2
- import * as i0 from '@angular/core';
3
- import { Route } from '@angular/router';
4
- import { Router } from '@angular/router';
5
- import { Type } from '@angular/core';
6
-
7
- /**
8
- * Defines redirection route to component's route on which is this decorator applied
9
- * @param redirectFrom - Path from which should redirection occur
10
- * @param redirectTo - Path to which should be redirect performed, if not specified and only one route is defined, its path will be used
11
- * @param pathMatchFull - Indication that full path match should be used, default is true
12
- * @returns ClassDecorator
13
- */
14
- export declare function ComponentRedirectRoute(redirectFrom: string, redirectTo?: string, pathMatchFull?: boolean): ClassDecorator;
15
-
16
- /**
17
- * Defines route for component on which is this decorator applied
18
- * @param route - route Definition of route, does not require component to be set
19
- */
20
- export declare function ComponentRoute(route: ComponentRouteDefinition): ClassDecorator;
21
-
22
- /**
23
- * Extended route with possibility to extract children from components
24
- */
25
- export declare interface ComponentRouteChildren extends Route {
26
- /**
27
- * Array of components which contains routes
28
- */
29
- childrenComponents?: Type<any>[];
30
- }
31
-
32
- /**
33
- * Type that represents options that can be passed to control represented by model property
34
- */
35
- export declare type ComponentRouteDefinition = Omit<Route, keyof Pick<Route, 'component'>>;
36
-
37
- /**
38
- * Special implementation of router that allows routing with sending complex data to routed component
39
- */
40
- export declare class DataRouter<TData = any> {
41
- private _router;
42
- /**
43
- * Value that is going to be used for next routed data
44
- */
45
- private _nextValue;
46
- /**
47
- * Url path of next route
48
- */
49
- private _nextUrlPath;
50
- /**
51
- * Promise that resolves into value for current route
52
- */
53
- private _valuePromise;
54
- /**
55
- * Gets promise that resolves into value for current route
56
- */
57
- get valuePromise(): Promise<TData>;
58
- constructor(_router: Router);
59
- /**
60
- * Navigate based on the provided Route Link DSL. This method also allows you to provide complex data for your route
61
- * @param linkParams - Link params that are used as for standard router
62
- * @param routeData - Any type of object that can be passed to your routed component
63
- * @returns Promise
64
- */
65
- navigate(linkParams: any[], routeData: TData): Promise<boolean>;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRouter<any>, never>;
67
- static ɵprov: i0.ɵɵInjectableDeclaration<DataRouter<any>>;
68
- }
69
-
70
- /**
71
- * Class that is used for obtaining complex routed data
72
- * @deprecated - Do not use this class, use directly DataRouter
73
- */
74
- export declare class DataRouterData {
75
- /**
76
- * Value of DataRouter for currently routed page
77
- */
78
- value: Promise<any>;
79
- constructor(dataRouter: DataRouter);
80
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRouterData, never>;
81
- static ɵprov: i0.ɵɵInjectableDeclaration<DataRouterData>;
82
- }
83
-
84
- /**
85
- * Extracts route definitions from components if routes are set using decorator ComponentRoute
86
- * @param components - Array of components to be used for extraction
87
- * @returns RouteDefinition Extracted routes
88
- */
89
- export declare function extractRoutes(components: any[]): Route[];
90
-
91
- /**
92
- * Registers routes for module to which is attached
93
- * @param routedComponents - Array of components that will be used for routes extration
94
- * @param options - Optional options for defining routes
95
- */
96
- export declare function ModuleRoutes(routedComponents: Type<any>[], options?: ModuleRoutesOptions): <TFunction extends Function>(target: TFunction) => TFunction;
97
-
98
- /**
99
- * Describes options for ModuleRoutes decorator
100
- */
101
- export declare interface ModuleRoutesOptions {
102
- /**
103
- * Indication that `forRoot` should be used during registration of routes
104
- */
105
- rootModule?: boolean;
106
- /**
107
- * Extra options used for `forRoot` module creation
108
- */
109
- rootModuleConfig?: ExtraOptions;
110
- /**
111
- * Routes that will be set before routedComponents
112
- */
113
- staticRoutesBefore?: ComponentRouteChildren[];
114
- /**
115
- * Routes that will be set after routedComponents
116
- */
117
- staticRoutesAfter?: ComponentRouteChildren[];
118
- }
119
-
120
- /**
121
- * Extended type with redirect route definition
122
- */
123
- export declare interface RedirectRouteDecoratedComponent {
124
- /**
125
- * Definition of redirection routes that are assigned to this type
126
- */
127
- redirectRouteValues: Route[];
128
- }
129
-
130
- /**
131
- * Extended type with route definition
132
- */
133
- export declare interface RouteDecoratedComponent {
134
- /**
135
- * Definition of routes that are assigned to this type
136
- */
137
- routeValues: Route[];
138
- }
139
-
140
- export { }
@@ -1,140 +0,0 @@
1
- import { ExtraOptions } from '@angular/router';
2
- import * as i0 from '@angular/core';
3
- import { Route } from '@angular/router';
4
- import { Router } from '@angular/router';
5
- import { Type } from '@angular/core';
6
-
7
- /**
8
- * Defines redirection route to component's route on which is this decorator applied
9
- * @param redirectFrom - Path from which should redirection occur
10
- * @param redirectTo - Path to which should be redirect performed, if not specified and only one route is defined, its path will be used
11
- * @param pathMatchFull - Indication that full path match should be used, default is true
12
- * @returns ClassDecorator
13
- */
14
- export declare function ComponentRedirectRoute(redirectFrom: string, redirectTo?: string, pathMatchFull?: boolean): ClassDecorator;
15
-
16
- /**
17
- * Defines route for component on which is this decorator applied
18
- * @param route - route Definition of route, does not require component to be set
19
- */
20
- export declare function ComponentRoute(route: ComponentRouteDefinition): ClassDecorator;
21
-
22
- /**
23
- * Extended route with possibility to extract children from components
24
- */
25
- export declare interface ComponentRouteChildren extends Route {
26
- /**
27
- * Array of components which contains routes
28
- */
29
- childrenComponents?: Type<any>[];
30
- }
31
-
32
- /**
33
- * Type that represents options that can be passed to control represented by model property
34
- */
35
- export declare type ComponentRouteDefinition = Omit<Route, keyof Pick<Route, 'component'>>;
36
-
37
- /**
38
- * Special implementation of router that allows routing with sending complex data to routed component
39
- */
40
- export declare class DataRouter<TData = any> {
41
- private _router;
42
- /**
43
- * Value that is going to be used for next routed data
44
- */
45
- private _nextValue;
46
- /**
47
- * Url path of next route
48
- */
49
- private _nextUrlPath;
50
- /**
51
- * Promise that resolves into value for current route
52
- */
53
- private _valuePromise;
54
- /**
55
- * Gets promise that resolves into value for current route
56
- */
57
- get valuePromise(): Promise<TData>;
58
- constructor(_router: Router);
59
- /**
60
- * Navigate based on the provided Route Link DSL. This method also allows you to provide complex data for your route
61
- * @param linkParams - Link params that are used as for standard router
62
- * @param routeData - Any type of object that can be passed to your routed component
63
- * @returns Promise
64
- */
65
- navigate(linkParams: any[], routeData: TData): Promise<boolean>;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRouter<any>, never>;
67
- static ɵprov: i0.ɵɵInjectableDeclaration<DataRouter<any>>;
68
- }
69
-
70
- /**
71
- * Class that is used for obtaining complex routed data
72
- * @deprecated - Do not use this class, use directly DataRouter
73
- */
74
- export declare class DataRouterData {
75
- /**
76
- * Value of DataRouter for currently routed page
77
- */
78
- value: Promise<any>;
79
- constructor(dataRouter: DataRouter);
80
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRouterData, never>;
81
- static ɵprov: i0.ɵɵInjectableDeclaration<DataRouterData>;
82
- }
83
-
84
- /**
85
- * Extracts route definitions from components if routes are set using decorator ComponentRoute
86
- * @param components - Array of components to be used for extraction
87
- * @returns RouteDefinition Extracted routes
88
- */
89
- export declare function extractRoutes(components: any[]): Route[];
90
-
91
- /**
92
- * Registers routes for module to which is attached
93
- * @param routedComponents - Array of components that will be used for routes extration
94
- * @param options - Optional options for defining routes
95
- */
96
- export declare function ModuleRoutes(routedComponents: Type<any>[], options?: ModuleRoutesOptions): <TFunction extends Function>(target: TFunction) => TFunction;
97
-
98
- /**
99
- * Describes options for ModuleRoutes decorator
100
- */
101
- export declare interface ModuleRoutesOptions {
102
- /**
103
- * Indication that `forRoot` should be used during registration of routes
104
- */
105
- rootModule?: boolean;
106
- /**
107
- * Extra options used for `forRoot` module creation
108
- */
109
- rootModuleConfig?: ExtraOptions;
110
- /**
111
- * Routes that will be set before routedComponents
112
- */
113
- staticRoutesBefore?: ComponentRouteChildren[];
114
- /**
115
- * Routes that will be set after routedComponents
116
- */
117
- staticRoutesAfter?: ComponentRouteChildren[];
118
- }
119
-
120
- /**
121
- * Extended type with redirect route definition
122
- */
123
- export declare interface RedirectRouteDecoratedComponent {
124
- /**
125
- * Definition of redirection routes that are assigned to this type
126
- */
127
- redirectRouteValues: Route[];
128
- }
129
-
130
- /**
131
- * Extended type with route definition
132
- */
133
- export declare interface RouteDecoratedComponent {
134
- /**
135
- * Definition of routes that are assigned to this type
136
- */
137
- routeValues: Route[];
138
- }
139
-
140
- export { }
@@ -1,74 +0,0 @@
1
- ## API Report File for "@anglr/common-router"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { ExtraOptions } from '@angular/router';
8
- import * as i0 from '@angular/core';
9
- import { Route } from '@angular/router';
10
- import { Router } from '@angular/router';
11
- import { Type } from '@angular/core';
12
-
13
- // @public
14
- export function ComponentRedirectRoute(redirectFrom: string, redirectTo?: string, pathMatchFull?: boolean): ClassDecorator;
15
-
16
- // @public
17
- export function ComponentRoute(route: ComponentRouteDefinition): ClassDecorator;
18
-
19
- // @public
20
- export interface ComponentRouteChildren extends Route {
21
- childrenComponents?: Type<any>[];
22
- }
23
-
24
- // @public
25
- export type ComponentRouteDefinition = Omit<Route, keyof Pick<Route, 'component'>>;
26
-
27
- // @public
28
- export class DataRouter<TData = any> {
29
- constructor(_router: Router);
30
- navigate(linkParams: any[], routeData: TData): Promise<boolean>;
31
- get valuePromise(): Promise<TData>;
32
- // (undocumented)
33
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRouter<any>, never>;
34
- // (undocumented)
35
- static ɵprov: i0.ɵɵInjectableDeclaration<DataRouter<any>>;
36
- }
37
-
38
- // @public @deprecated
39
- export class DataRouterData {
40
- constructor(dataRouter: DataRouter);
41
- value: Promise<any>;
42
- // (undocumented)
43
- static ɵfac: i0.ɵɵFactoryDeclaration<DataRouterData, never>;
44
- // (undocumented)
45
- static ɵprov: i0.ɵɵInjectableDeclaration<DataRouterData>;
46
- }
47
-
48
- // @public
49
- export function extractRoutes(components: any[]): Route[];
50
-
51
- // @public
52
- export function ModuleRoutes(routedComponents: Type<any>[], options?: ModuleRoutesOptions): <TFunction extends Function>(target: TFunction) => TFunction;
53
-
54
- // @public
55
- export interface ModuleRoutesOptions {
56
- rootModule?: boolean;
57
- rootModuleConfig?: ExtraOptions;
58
- staticRoutesAfter?: ComponentRouteChildren[];
59
- staticRoutesBefore?: ComponentRouteChildren[];
60
- }
61
-
62
- // @public
63
- export interface RedirectRouteDecoratedComponent {
64
- redirectRouteValues: Route[];
65
- }
66
-
67
- // @public
68
- export interface RouteDecoratedComponent {
69
- routeValues: Route[];
70
- }
71
-
72
- // (No @packageDocumentation comment for this package)
73
-
74
- ```
@@ -1,61 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { PermanentStorage } from '@anglr/common';
3
- import { TemporaryStorage } from '@anglr/common';
4
-
5
- /**
6
- * Implementation of permanent storage using LocalStorage
7
- */
8
- export declare class LocalPermanentStorageService implements PermanentStorage {
9
- constructor();
10
- /**
11
- * Gets value that was stored with 'name' from permanent storage
12
- * @param name - Name with which was value stored
13
- */
14
- get<TResult>(name: string): TResult;
15
- /**
16
- * Sets value that will be stored with 'name'e in permanent storage
17
- * @param name - Name with which will be value stored
18
- * @param value - Value to be stored
19
- */
20
- set(name: string, value: any): void;
21
- /**
22
- * Sets value that will be stored with 'name' in permanent storage until expiration date
23
- * @param name - Name with which will be value stored
24
- * @param value - Value to be stored
25
- * @param expires - Time when value should expire
26
- */
27
- set(name: string, value: any, expires: Date): void;
28
- /**
29
- * Removes value stored with 'name' from permanent storage
30
- * @param name - Name of stored value that will be removed
31
- */
32
- remove(name: string): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalPermanentStorageService, never>;
34
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalPermanentStorageService>;
35
- }
36
-
37
- /**
38
- * Implementation of temporary storage using SessionStorage
39
- */
40
- export declare class SessionTemporaryStorageService implements TemporaryStorage {
41
- /**
42
- * Gets value that was stored with 'name' from temporary storage
43
- * @param name - Name with which was value stored
44
- */
45
- get<TResult>(name: string): TResult;
46
- /**
47
- * Sets value that will be stored with 'name'e in temporary storage
48
- * @param name - Name with which will be value stored
49
- * @param value - Value to be stored
50
- */
51
- set(name: string, value: any): void;
52
- /**
53
- * Removes value stored with 'name' from temporary storage
54
- * @param name - Name of stored value that will be removed
55
- */
56
- remove(name: string): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<SessionTemporaryStorageService, never>;
58
- static ɵprov: i0.ɵɵInjectableDeclaration<SessionTemporaryStorageService>;
59
- }
60
-
61
- export { }
@@ -1,61 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { PermanentStorage } from '@anglr/common';
3
- import { TemporaryStorage } from '@anglr/common';
4
-
5
- /**
6
- * Implementation of permanent storage using LocalStorage
7
- */
8
- export declare class LocalPermanentStorageService implements PermanentStorage {
9
- constructor();
10
- /**
11
- * Gets value that was stored with 'name' from permanent storage
12
- * @param name - Name with which was value stored
13
- */
14
- get<TResult>(name: string): TResult;
15
- /**
16
- * Sets value that will be stored with 'name'e in permanent storage
17
- * @param name - Name with which will be value stored
18
- * @param value - Value to be stored
19
- */
20
- set(name: string, value: any): void;
21
- /**
22
- * Sets value that will be stored with 'name' in permanent storage until expiration date
23
- * @param name - Name with which will be value stored
24
- * @param value - Value to be stored
25
- * @param expires - Time when value should expire
26
- */
27
- set(name: string, value: any, expires: Date): void;
28
- /**
29
- * Removes value stored with 'name' from permanent storage
30
- * @param name - Name of stored value that will be removed
31
- */
32
- remove(name: string): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalPermanentStorageService, never>;
34
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalPermanentStorageService>;
35
- }
36
-
37
- /**
38
- * Implementation of temporary storage using SessionStorage
39
- */
40
- export declare class SessionTemporaryStorageService implements TemporaryStorage {
41
- /**
42
- * Gets value that was stored with 'name' from temporary storage
43
- * @param name - Name with which was value stored
44
- */
45
- get<TResult>(name: string): TResult;
46
- /**
47
- * Sets value that will be stored with 'name'e in temporary storage
48
- * @param name - Name with which will be value stored
49
- * @param value - Value to be stored
50
- */
51
- set(name: string, value: any): void;
52
- /**
53
- * Removes value stored with 'name' from temporary storage
54
- * @param name - Name of stored value that will be removed
55
- */
56
- remove(name: string): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<SessionTemporaryStorageService, never>;
58
- static ɵprov: i0.ɵɵInjectableDeclaration<SessionTemporaryStorageService>;
59
- }
60
-
61
- export { }
@@ -1,37 +0,0 @@
1
- ## API Report File for "@anglr/common-store"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as i0 from '@angular/core';
8
- import { PermanentStorage } from '@anglr/common';
9
- import { TemporaryStorage } from '@anglr/common';
10
-
11
- // @public
12
- export class LocalPermanentStorageService implements PermanentStorage {
13
- constructor();
14
- get<TResult>(name: string): TResult;
15
- remove(name: string): void;
16
- set(name: string, value: any): void;
17
- set(name: string, value: any, expires: Date): void;
18
- // (undocumented)
19
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalPermanentStorageService, never>;
20
- // (undocumented)
21
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalPermanentStorageService>;
22
- }
23
-
24
- // @public
25
- export class SessionTemporaryStorageService implements TemporaryStorage {
26
- get<TResult>(name: string): TResult;
27
- remove(name: string): void;
28
- set(name: string, value: any): void;
29
- // (undocumented)
30
- static ɵfac: i0.ɵɵFactoryDeclaration<SessionTemporaryStorageService, never>;
31
- // (undocumented)
32
- static ɵprov: i0.ɵɵInjectableDeclaration<SessionTemporaryStorageService>;
33
- }
34
-
35
- // (No @packageDocumentation comment for this package)
36
-
37
- ```