@rxap/environment 21.0.1 → 22.0.0-dev.1

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 (87) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +57 -5
  4. package/compodoc/components/EnvironmentComponent.html +87 -22
  5. package/compodoc/dependencies.html +84 -15
  6. package/compodoc/index.html +46 -5
  7. package/compodoc/interfaces/Environment.html +860 -671
  8. package/compodoc/js/architecture-graph.js +288 -0
  9. package/compodoc/js/libs/bootstrap-native.js +4 -2
  10. package/compodoc/js/libs/jszip.min.js +13 -0
  11. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  12. package/compodoc/js/libs/tablesort.min.js +3 -3
  13. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  14. package/compodoc/js/libs/vis-network.min.js +78 -0
  15. package/compodoc/js/menu-wc.js +25 -12
  16. package/compodoc/js/menu.js +10 -11
  17. package/compodoc/js/routes/routes_index.js +1 -0
  18. package/compodoc/js/routes.js +142 -34
  19. package/compodoc/js/search/search-lunr.js +6 -8
  20. package/compodoc/js/search/search.js +118 -66
  21. package/compodoc/js/search/search_index.js +2 -2
  22. package/compodoc/js/tabs.js +98 -15
  23. package/compodoc/js/tree.js +44 -7
  24. package/compodoc/license.html +48 -6
  25. package/compodoc/llms.txt +66 -0
  26. package/compodoc/miscellaneous/functions.html +63 -16
  27. package/compodoc/miscellaneous/typealiases.html +47 -5
  28. package/compodoc/miscellaneous/variables.html +58 -5
  29. package/compodoc/modules.html +44 -3
  30. package/compodoc/overview.html +54 -3
  31. package/compodoc/properties.html +45 -4
  32. package/compodoc/routes.html +227 -0
  33. package/compodoc/styles/compodoc.css +365 -44
  34. package/compodoc/styles/dark.css +16 -0
  35. package/compodoc/template-playground/default-templates.json +192 -0
  36. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  37. package/compodoc/template-playground/main.ts +9 -0
  38. package/compodoc/template-playground/template-editor.service.ts +173 -0
  39. package/compodoc/template-playground/template-playground.component.ts +614 -0
  40. package/compodoc/template-playground/template-playground.module.ts +29 -0
  41. package/compodoc/template-playground/zip-export.service.ts +86 -0
  42. package/compodoc/template-playground-app/app.js +1389 -0
  43. package/compodoc/template-playground-app/index.html +462 -0
  44. package/docs/documentation.json +306 -343
  45. package/docs/html/assets/highlight.css +1 -1
  46. package/docs/html/assets/icons.js +1 -1
  47. package/docs/html/assets/icons.svg +1 -1
  48. package/docs/html/assets/main.js +5 -5
  49. package/docs/html/assets/search.js +1 -1
  50. package/docs/html/assets/style.css +265 -228
  51. package/docs/html/classes/EnvironmentComponent.html +70 -3
  52. package/docs/html/functions/DetermineProductionEnvironmentName.html +42 -1
  53. package/docs/html/functions/DetermineReleaseName.html +43 -1
  54. package/docs/html/functions/IsNotReleaseVersion.html +42 -1
  55. package/docs/html/functions/ProvideEnvironment.html +42 -1
  56. package/docs/html/functions/UpdateEnvironment.html +45 -2
  57. package/docs/html/hierarchy.html +29 -0
  58. package/docs/html/index.html +40 -4
  59. package/docs/html/interfaces/Environment.html +188 -27
  60. package/docs/html/modules.html +52 -1
  61. package/docs/html/types/AnySchema.html +55 -1
  62. package/docs/html/variables/RXAP_ENVIRONMENT.html +33 -1
  63. package/docs/markdown/README.md +1 -1
  64. package/docs/markdown/classes/EnvironmentComponent.md +6 -6
  65. package/docs/markdown/functions/DetermineProductionEnvironmentName.md +4 -4
  66. package/docs/markdown/functions/DetermineReleaseName.md +4 -4
  67. package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
  68. package/docs/markdown/functions/ProvideEnvironment.md +2 -2
  69. package/docs/markdown/functions/UpdateEnvironment.md +4 -4
  70. package/docs/markdown/globals.md +2 -2
  71. package/docs/markdown/interfaces/Environment.md +63 -59
  72. package/docs/markdown/type-aliases/AnySchema.md +7 -5
  73. package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
  74. package/docs/wiki/Class.EnvironmentComponent.md +5 -5
  75. package/docs/wiki/Function.DetermineProductionEnvironmentName.md +3 -3
  76. package/docs/wiki/Function.DetermineReleaseName.md +3 -3
  77. package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
  78. package/docs/wiki/Function.ProvideEnvironment.md +1 -1
  79. package/docs/wiki/Function.UpdateEnvironment.md +3 -3
  80. package/docs/wiki/Interface.Environment.md +62 -58
  81. package/docs/wiki/TypeAlias.AnySchema.md +6 -4
  82. package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
  83. package/docs/wiki/globals.md +1 -1
  84. package/fesm2022/rxap-environment.mjs +68 -51
  85. package/fesm2022/rxap-environment.mjs.map +1 -1
  86. package/package.json +7 -7
  87. package/types/rxap-environment.d.ts +92 -100
@@ -1,110 +1,102 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
3
-
4
- type AnySchema = {
5
- validateAsync: (...args: any[]) => any;
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { InjectionToken } from "@angular/core";
6
+ export type AnySchema = {
7
+ validateAsync: (...args: any[]) => any;
6
8
  };
7
- interface Environment {
8
- /**
9
- * The name of the app
10
- */
11
- app: string;
12
- /**
13
- * The name of the environment
14
- */
9
+ export interface Environment {
10
+ /**
11
+ * The name of the app
12
+ */
13
+ app: string;
14
+ /**
15
+ * The name of the environment
16
+ */
17
+ name?: string;
18
+ /**
19
+ * The app is compiled from code in the production branch
20
+ */
21
+ production: boolean;
22
+ /**
23
+ * Where the service worker is active or not
24
+ */
25
+ serviceWorker?: boolean;
26
+ /**
27
+ * The current app release
28
+ */
29
+ release?: string | null;
30
+ /**
31
+ * The current commit
32
+ */
33
+ commit?: string | null;
34
+ /**
35
+ * The build timestamp
36
+ */
37
+ timestamp?: string | number | null;
38
+ /**
39
+ * The current branch
40
+ */
41
+ branch?: string | null;
42
+ /**
43
+ * The current tag
44
+ */
45
+ tag?: string | null;
46
+ tier?: string;
47
+ slug?: {
15
48
  name?: string;
49
+ };
50
+ moduleFederation?: {
51
+ manifest?: string | Record<string, string>;
52
+ };
53
+ sentry?: {
54
+ enabled?: boolean;
55
+ debug?: boolean;
56
+ dsn?: string;
57
+ integrations?: {
58
+ httpClient?: {
59
+ failedRequestTargets?: Array<string | RegExp>;
60
+ failedRequestStatusCodes?: Array<[number, number] | number>;
61
+ };
62
+ BrowserTracing?: {
63
+ tracePropagationTargets?: string[];
64
+ };
65
+ };
66
+ };
67
+ config?: string | {
68
+ fromUrlParam?: string | boolean;
69
+ fromLocalStorage?: boolean;
70
+ schema?: AnySchema;
71
+ strategy?: string;
72
+ url?: string | string[] | ((environment: Environment) => string | string[]);
16
73
  /**
17
- * The app is compiled from code in the production branch
18
- */
19
- production: boolean;
20
- /**
21
- * Where the service worker is active or not
22
- */
23
- serviceWorker?: boolean;
24
- /**
25
- * The current app release
26
- */
27
- release?: string | null;
28
- /**
29
- * The current commit
30
- */
31
- commit?: string | null;
32
- /**
33
- * The build timestamp
34
- */
35
- timestamp?: string | number | null;
36
- /**
37
- * The current branch
38
- */
39
- branch?: string | null;
40
- /**
41
- * The current tag
74
+ * static config values
42
75
  */
43
- tag?: string | null;
44
- tier?: string;
45
- slug?: {
46
- name?: string;
47
- };
48
- moduleFederation?: {
49
- manifest?: string | Record<string, string>;
50
- };
51
- sentry?: {
52
- enabled?: boolean;
53
- debug?: boolean;
54
- dsn?: string;
55
- integrations?: {
56
- httpClient?: {
57
- failedRequestTargets?: Array<string | RegExp>;
58
- failedRequestStatusCodes?: Array<[number, number] | number>;
59
- };
60
- BrowserTracing?: {
61
- tracePropagationTargets?: string[];
62
- };
63
- };
64
- };
65
- config?: string | {
66
- fromUrlParam?: string | boolean;
67
- fromLocalStorage?: boolean;
68
- schema?: AnySchema;
69
- strategy?: string;
70
- url?: string | string[] | ((environment: Environment) => string | string[]);
71
- /**
72
- * static config values
73
- */
74
- static?: Record<string, any>;
75
- };
76
- origin?: string;
77
- openApi?: {
78
- load?: {
79
- openApiUrl?: string;
80
- } | boolean;
81
- };
82
- [key: string]: any;
76
+ static?: Record<string, any>;
77
+ };
78
+ origin?: string;
79
+ openApi?: {
80
+ load?: {
81
+ openApiUrl?: string;
82
+ } | boolean;
83
+ };
84
+ [key: string]: any;
83
85
  }
84
-
85
- declare class EnvironmentComponent {
86
- readonly environment: Environment;
87
- static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentComponent, never>;
88
- static ɵcmp: i0.ɵɵComponentDeclaration<EnvironmentComponent, "rxap-environment", never, {}, {}, never, ["*"], true, never>;
86
+ export declare class EnvironmentComponent {
87
+ readonly environment: Environment;
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentComponent, never>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<EnvironmentComponent, "rxap-environment", never, {}, {}, never, ["*"], true, never>;
89
90
  }
90
-
91
- declare const RXAP_ENVIRONMENT: InjectionToken<Environment>;
92
-
93
- declare function DetermineProductionEnvironmentName(environment: Environment): string | undefined;
94
-
95
- declare function DetermineReleaseName(environment: Environment, defaultReleaseName?: string): string;
96
-
97
- declare function IsNotReleaseVersion(environment: Environment): boolean;
98
-
99
- declare function ProvideEnvironment(environment: Environment): {
100
- provide: i0.InjectionToken<Environment>;
101
- useValue: Environment;
91
+ export declare const RXAP_ENVIRONMENT: InjectionToken<Environment>;
92
+ export declare function DetermineProductionEnvironmentName(environment: Environment): string | undefined;
93
+ export declare function DetermineReleaseName(environment: Environment, defaultReleaseName?: string): string;
94
+ export declare function IsNotReleaseVersion(environment: Environment): boolean;
95
+ export declare function ProvideEnvironment(environment: Environment): {
96
+ provide: import("@angular/core").InjectionToken<Environment>;
97
+ useValue: Environment;
102
98
  };
103
-
104
99
  /**
105
100
  * Loads the build.json and adds all keys to the environment object
106
101
  */
107
- declare function UpdateEnvironment(environment: Environment, url?: string): Promise<void>;
108
-
109
- export { DetermineProductionEnvironmentName, DetermineReleaseName, EnvironmentComponent, IsNotReleaseVersion, ProvideEnvironment, RXAP_ENVIRONMENT, UpdateEnvironment };
110
- export type { AnySchema, Environment };
102
+ export declare function UpdateEnvironment(environment: Environment, url?: string): Promise<void>;