@anglr/common 17.0.0-beta.20230711090239 → 17.0.0-beta.20230814105451

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 (97) hide show
  1. package/changelog.md +45 -1
  2. package/es2022/hotkeys/src/services/appHotkeys.service.js +6 -2
  3. package/es2022/hotkeys/src/services/appHotkeys.service.js.map +1 -1
  4. package/es2022/numeral/src/modules/numeral.module.js +4 -4
  5. package/es2022/numeral/src/modules/numeral.module.js.map +1 -1
  6. package/es2022/numeral/src/pipes/numeral.pipe.js +6 -6
  7. package/es2022/numeral/src/pipes/numeral.pipe.js.map +1 -1
  8. package/es2022/src/index.js +3 -1
  9. package/es2022/src/index.js.map +1 -1
  10. package/es2022/src/modules/debugData/components/debugData/debugData.component.js +26 -26
  11. package/es2022/src/modules/debugData/components/debugData/debugData.component.js.map +1 -1
  12. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js +15 -15
  13. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
  14. package/es2022/src/services/logger/logger.interface.js.map +1 -1
  15. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js +22 -0
  16. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js.map +1 -1
  17. package/es2022/src/services/permanentStorage/permanentStorage.interface.js.map +1 -1
  18. package/es2022/src/services/position/position.interface.js.map +1 -1
  19. package/es2022/src/services/stringLocalization/stringLocalization.interface.js.map +1 -1
  20. package/es2022/src/services/temporaryStorage/temporaryStorage.interface.js.map +1 -1
  21. package/es2022/src/types/providerDecoratedType.js +32 -0
  22. package/es2022/src/types/providerDecoratedType.js.map +1 -0
  23. package/es2022/src/types/providers.js +48 -0
  24. package/es2022/src/types/providers.js.map +1 -0
  25. package/es2022/store/src/index.js +1 -1
  26. package/es2022/store/src/index.js.map +1 -1
  27. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js +21 -1
  28. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js.map +1 -1
  29. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +21 -0
  30. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +1 -1
  31. package/es2022/structured-log/src/index.js +2 -1
  32. package/es2022/structured-log/src/index.js.map +1 -1
  33. package/es2022/structured-log/src/misc/providers.js +12 -0
  34. package/es2022/structured-log/src/misc/providers.js.map +1 -0
  35. package/es2022/structured-log/src/modules/consoleLog.module.js +0 -15
  36. package/es2022/structured-log/src/modules/consoleLog.module.js.map +1 -1
  37. package/es2022/structured-log/src/services/logger.service.js +21 -0
  38. package/es2022/structured-log/src/services/logger.service.js.map +1 -1
  39. package/es2022/structured-log/src/services/rest/restSink.options.js +40 -0
  40. package/es2022/structured-log/src/services/rest/restSink.options.js.map +1 -0
  41. package/es2022/structured-log/src/services/rest/restSink.service.js +22 -12
  42. package/es2022/structured-log/src/services/rest/restSink.service.js.map +1 -1
  43. package/es2022/structured-log/src/types/tokens.js +0 -9
  44. package/es2022/structured-log/src/types/tokens.js.map +1 -1
  45. package/hotkeys/src/services/appHotkeys.service.d.ts.map +1 -1
  46. package/numeral/src/modules/numeral.module.d.ts +1 -1
  47. package/numeral/src/pipes/numeral.pipe.d.ts +3 -3
  48. package/numeral/src/pipes/numeral.pipe.d.ts.map +1 -1
  49. package/package.json +1 -1
  50. package/src/index.d.ts +6 -4
  51. package/src/index.d.ts.map +1 -1
  52. package/src/modules/debugData/components/debugData/debugData.component.d.ts +8 -8
  53. package/src/modules/debugData/components/debugData/debugData.component.d.ts.map +1 -1
  54. package/src/modules/debugData/components/debugData/debugData.component.html +1 -1
  55. package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +10 -9
  56. package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +1 -1
  57. package/src/services/logger/logger.interface.d.ts +6 -0
  58. package/src/services/logger/logger.interface.d.ts.map +1 -1
  59. package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts +5 -1
  60. package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts.map +1 -1
  61. package/src/services/permanentStorage/permanentStorage.interface.d.ts +6 -0
  62. package/src/services/permanentStorage/permanentStorage.interface.d.ts.map +1 -1
  63. package/src/services/position/position.interface.d.ts +6 -0
  64. package/src/services/position/position.interface.d.ts.map +1 -1
  65. package/src/services/stringLocalization/stringLocalization.interface.d.ts +6 -0
  66. package/src/services/stringLocalization/stringLocalization.interface.d.ts.map +1 -1
  67. package/src/services/temporaryStorage/temporaryStorage.interface.d.ts +6 -0
  68. package/src/services/temporaryStorage/temporaryStorage.interface.d.ts.map +1 -1
  69. package/src/types/providerDecoratedType.d.ts +12 -0
  70. package/src/types/providerDecoratedType.d.ts.map +1 -0
  71. package/src/types/providers.d.ts +32 -0
  72. package/src/types/providers.d.ts.map +1 -0
  73. package/store/src/index.d.ts +1 -1
  74. package/store/src/index.d.ts.map +1 -1
  75. package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts +5 -1
  76. package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts.map +1 -1
  77. package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts +5 -1
  78. package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts.map +1 -1
  79. package/structured-log/src/index.d.ts +2 -1
  80. package/structured-log/src/index.d.ts.map +1 -1
  81. package/structured-log/src/misc/providers.d.ts +6 -0
  82. package/structured-log/src/misc/providers.d.ts.map +1 -0
  83. package/structured-log/src/modules/consoleLog.module.d.ts +0 -5
  84. package/structured-log/src/modules/consoleLog.module.d.ts.map +1 -1
  85. package/structured-log/src/services/logger.service.d.ts +5 -1
  86. package/structured-log/src/services/logger.service.d.ts.map +1 -1
  87. package/structured-log/src/services/rest/restSink.options.d.ts +24 -0
  88. package/structured-log/src/services/rest/restSink.options.d.ts.map +1 -0
  89. package/structured-log/src/services/rest/restSink.service.d.ts +7 -4
  90. package/structured-log/src/services/rest/restSink.service.d.ts.map +1 -1
  91. package/structured-log/src/types/tokens.d.ts +0 -4
  92. package/structured-log/src/types/tokens.d.ts.map +1 -1
  93. package/version.bak +1 -1
  94. package/es2022/structured-log/src/services/rest/restSinkConfig.service.js +0 -60
  95. package/es2022/structured-log/src/services/rest/restSinkConfig.service.js.map +0 -1
  96. package/structured-log/src/services/rest/restSinkConfig.service.d.ts +0 -22
  97. package/structured-log/src/services/rest/restSinkConfig.service.d.ts.map +0 -1
@@ -1,12 +1,11 @@
1
1
  import { Sink, LogEvent } from 'structured-log';
2
- import { RestSinkConfigService } from './restSinkConfig.service';
2
+ import { RestSinkOptions } from './restSink.options';
3
3
  import { LoggerRestClient } from '../../types/logger.interface';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Sink that is used for storing logs using REST
7
7
  */
8
8
  export declare class RestSinkService implements Sink {
9
- private _configSvc;
10
9
  private _restClient;
11
10
  /**
12
11
  * Indication that prototype of MessageTemplate was updated
@@ -20,7 +19,11 @@ export declare class RestSinkService implements Sink {
20
19
  * Interval timer id
21
20
  */
22
21
  private _timer;
23
- constructor(_configSvc: RestSinkConfigService, isStable: Promise<void>, _restClient: LoggerRestClient);
22
+ /**
23
+ * Configuration options for rest sink
24
+ */
25
+ private _config;
26
+ constructor(isStable: Promise<void>, _restClient: LoggerRestClient, config?: RestSinkOptions);
24
27
  /**
25
28
  * Called when component is destroyed
26
29
  */
@@ -38,7 +41,7 @@ export declare class RestSinkService implements Sink {
38
41
  * Updates prototype of MessageTemplate
39
42
  */
40
43
  private _updatePrototype;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<RestSinkService, never>;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestSinkService, [null, null, { optional: true; }]>;
42
45
  static ɵprov: i0.ɵɵInjectableDeclaration<RestSinkService>;
43
46
  }
44
47
  //# sourceMappingURL=restSink.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restSink.service.d.ts","sourceRoot":"","sources":["restSink.service.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,IAAI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EAAE,OAAO,CAAC,IAAI,CAAC,EACP,WAAW,EAAE,gBAAgB,EACrD,MAAM,CAAC,EAAE,eAAe;IAsBhD;;OAEG;IACI,WAAW,IAAI,IAAI;IAY1B;;;OAGG;IACI,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI;IA+CrC;;OAEG;IACI,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IA0B7B;;OAEG;IACH,OAAO,CAAC,gBAAgB;yCAnJf,eAAe;6CAAf,eAAe;CA4J3B"}
@@ -35,8 +35,4 @@ export declare const REST_SINK: Provider;
35
35
  * Provider for `DeveloperConsoleSinkService` for logger
36
36
  */
37
37
  export declare const DEVELOPER_CONSOLE_SINK: Provider;
38
- /**
39
- * Provider for logger that is using structured log implementation
40
- */
41
- export declare const STRUCTURED_LOG_LOGGER: Provider;
42
38
  //# sourceMappingURL=tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,QAAQ,EAAmD,MAAM,eAAe,CAAC;AAEzG,OAAO,EAAC,IAAI,EAAC,MAAM,gBAAgB,CAAC;AAEpC,OAAO,EAAC,oBAAoB,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAC,2BAA2B,EAAC,MAAM,kDAAkD,CAAC;AAE7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AAIvF;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,wBAAwB,GAAG,2BAA2B,CAG5G;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,IAAI,EAAE,CAA6C,CAAC;AAE9F;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAAc,CAAC,oBAAoB,CAA8E,CAAC;AAE/J;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,gBAA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@ -1 +1 @@
1
- 17.0.0-beta.20230711090239
1
+ 17.0.0-beta.20230814105451
@@ -1,60 +0,0 @@
1
- import { Injectable, Inject, Injector } from '@angular/core';
2
- import { isBlank } from '@jscrpt/common';
3
- import { LogEventLevel } from 'structured-log';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "structured-log";
6
- /**
7
- * Service used as configuration for *rest sink*
8
- */
9
- class RestSinkConfigService {
10
- secondsToFlushAfter;
11
- flushAfterNumberOfLogs;
12
- immediateFlushMinLevel;
13
- restrictToLevel;
14
- //######################### constructor #########################
15
- /**
16
- * Creates instance of `RestSinkConfigService`
17
- * @param secondsToFlushAfter - Number of seconds after which should be flush called
18
- * @param flushAfterNumberOfLogs - Number of logs after which should be flush called
19
- * @param immediateFlushMinLevel - Minimal log level that will be flushed immediately
20
- * @param restrictToLevel - Minimal log level to be displayed
21
- */
22
- constructor(secondsToFlushAfter, flushAfterNumberOfLogs, immediateFlushMinLevel, restrictToLevel) {
23
- this.secondsToFlushAfter = secondsToFlushAfter;
24
- this.flushAfterNumberOfLogs = flushAfterNumberOfLogs;
25
- this.immediateFlushMinLevel = immediateFlushMinLevel;
26
- this.restrictToLevel = restrictToLevel;
27
- if (isBlank(secondsToFlushAfter)) {
28
- this.secondsToFlushAfter = 300;
29
- }
30
- if (isBlank(flushAfterNumberOfLogs)) {
31
- this.flushAfterNumberOfLogs = 50;
32
- }
33
- if (isBlank(immediateFlushMinLevel)) {
34
- this.immediateFlushMinLevel = LogEventLevel.error;
35
- }
36
- if (isBlank(restrictToLevel)) {
37
- this.restrictToLevel = LogEventLevel.warning;
38
- }
39
- }
40
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RestSinkConfigService, deps: [{ token: Injector }, { token: Injector }, { token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
41
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RestSinkConfigService, providedIn: 'root', useFactory: () => new RestSinkConfigService() });
42
- }
43
- export { RestSinkConfigService };
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RestSinkConfigService, decorators: [{
45
- type: Injectable,
46
- args: [{ providedIn: 'root', useFactory: () => new RestSinkConfigService() }]
47
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
48
- type: Inject,
49
- args: [Injector]
50
- }] }, { type: undefined, decorators: [{
51
- type: Inject,
52
- args: [Injector]
53
- }] }, { type: i1.LogEventLevel, decorators: [{
54
- type: Inject,
55
- args: [Injector]
56
- }] }, { type: i1.LogEventLevel, decorators: [{
57
- type: Inject,
58
- args: [Injector]
59
- }] }]; } });
60
- //# sourceMappingURL=restSinkConfig.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"restSinkConfig.service.js","sourceRoot":"","sources":["../../../../../structured-log/src/services/rest/restSinkConfig.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;;;AAE7C;;GAEG;AACH,MACa,qBAAqB;IAWO;IACA;IACA;IACA;IAZrC,iEAAiE;IAEjE;;;;;;OAMG;IACH,YAAqC,mBAA4B,EAC5B,sBAA+B,EAC/B,sBAAsC,EACtC,eAA+B;QAH/B,wBAAmB,GAAnB,mBAAmB,CAAS;QAC5B,2BAAsB,GAAtB,sBAAsB,CAAS;QAC/B,2BAAsB,GAAtB,sBAAsB,CAAgB;QACtC,oBAAe,GAAf,eAAe,CAAgB;QAEhE,IAAG,OAAO,CAAC,mBAAmB,CAAC,EAC/B;YACI,IAAI,CAAC,mBAAmB,GAAG,GAAG,CAAC;SAClC;QAED,IAAG,OAAO,CAAC,sBAAsB,CAAC,EAClC;YACI,IAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;SACpC;QAED,IAAG,OAAO,CAAC,sBAAsB,CAAC,EAClC;YACI,IAAI,CAAC,sBAAsB,GAAG,aAAa,CAAC,KAAK,CAAC;SACrD;QAED,IAAG,OAAO,CAAC,eAAe,CAAC,EAC3B;YACI,IAAI,CAAC,eAAe,GAAG,aAAa,CAAC,OAAO,CAAC;SAChD;IACL,CAAC;uGAnCQ,qBAAqB,kBAWV,QAAQ,aACR,QAAQ,aACR,QAAQ,aACR,QAAQ;2GAdnB,qBAAqB,cADT,MAAM,cAAc,GAAG,EAAE,CAAC,IAAI,qBAAqB,EAAE;;SACjE,qBAAqB;2FAArB,qBAAqB;kBADjC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,2BAA2B,EAAC;;0BAY9D,MAAM;2BAAC,QAAQ;;0BACf,MAAM;2BAAC,QAAQ;;0BACf,MAAM;2BAAC,QAAQ;;0BACf,MAAM;2BAAC,QAAQ","sourcesContent":["import {Injectable, Inject, Injector} from '@angular/core';\nimport {isBlank} from '@jscrpt/common';\nimport {LogEventLevel} from 'structured-log';\n\n/**\n * Service used as configuration for *rest sink*\n */\n@Injectable({providedIn: 'root', useFactory: () => new RestSinkConfigService()})\nexport class RestSinkConfigService\n{\n //######################### constructor #########################\n\n /**\n * Creates instance of `RestSinkConfigService`\n * @param secondsToFlushAfter - Number of seconds after which should be flush called\n * @param flushAfterNumberOfLogs - Number of logs after which should be flush called\n * @param immediateFlushMinLevel - Minimal log level that will be flushed immediately\n * @param restrictToLevel - Minimal log level to be displayed\n */\n constructor(@Inject(Injector) public secondsToFlushAfter?: number,\n @Inject(Injector) public flushAfterNumberOfLogs?: number,\n @Inject(Injector) public immediateFlushMinLevel?: LogEventLevel,\n @Inject(Injector) public restrictToLevel?: LogEventLevel)\n {\n if(isBlank(secondsToFlushAfter))\n {\n this.secondsToFlushAfter = 300;\n }\n\n if(isBlank(flushAfterNumberOfLogs))\n {\n this.flushAfterNumberOfLogs = 50;\n }\n\n if(isBlank(immediateFlushMinLevel))\n {\n this.immediateFlushMinLevel = LogEventLevel.error;\n }\n\n if(isBlank(restrictToLevel))\n {\n this.restrictToLevel = LogEventLevel.warning;\n }\n }\n}"]}
@@ -1,22 +0,0 @@
1
- import { LogEventLevel } from 'structured-log';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Service used as configuration for *rest sink*
5
- */
6
- export declare class RestSinkConfigService {
7
- secondsToFlushAfter?: number;
8
- flushAfterNumberOfLogs?: number;
9
- immediateFlushMinLevel?: LogEventLevel;
10
- restrictToLevel?: LogEventLevel;
11
- /**
12
- * Creates instance of `RestSinkConfigService`
13
- * @param secondsToFlushAfter - Number of seconds after which should be flush called
14
- * @param flushAfterNumberOfLogs - Number of logs after which should be flush called
15
- * @param immediateFlushMinLevel - Minimal log level that will be flushed immediately
16
- * @param restrictToLevel - Minimal log level to be displayed
17
- */
18
- constructor(secondsToFlushAfter?: number, flushAfterNumberOfLogs?: number, immediateFlushMinLevel?: LogEventLevel, restrictToLevel?: LogEventLevel);
19
- static ɵfac: i0.ɵɵFactoryDeclaration<RestSinkConfigService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<RestSinkConfigService>;
21
- }
22
- //# sourceMappingURL=restSinkConfig.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"restSinkConfig.service.d.ts","sourceRoot":"","sources":["restSinkConfig.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;;AAE7C;;GAEG;AACH,qBACa,qBAAqB;IAWO,mBAAmB,CAAC,EAAE,MAAM;IAC5B,sBAAsB,CAAC,EAAE,MAAM;IAC/B,sBAAsB,CAAC,EAAE,aAAa;IACtC,eAAe,CAAC,EAAE,aAAa;IAVpE;;;;;;OAMG;gBACkC,mBAAmB,CAAC,EAAE,MAAM,EAC5B,sBAAsB,CAAC,EAAE,MAAM,EAC/B,sBAAsB,CAAC,EAAE,aAAa,EACtC,eAAe,CAAC,EAAE,aAAa;yCAd3D,qBAAqB;6CAArB,qBAAqB;CAoCjC"}