@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 +1 @@
1
- {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../structured-log/src/types/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAA6D,MAAM,eAAe,CAAC;AACzG,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AAIrC,OAAO,EAAC,2BAA2B,EAAC,MAAM,kDAAkD,CAAC;AAC7F,OAAO,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAC,eAAe,EAAC,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAC,2BAA2B,EAAC,MAAM,2DAA2D,CAAC;AAEtG;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,SAAmC;IAE3E,OAAO,IAAI,2BAA2B,CAAC,SAAS,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAA2B,IAAI,cAAc,CAAS,aAAa,CAAC,CAAC;AAE9F;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,IAAI,cAAc,CAAuB,gCAAgC,CAAC,CAAC;AAE/J;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAqC,IAAI,cAAc,CAAmB,oBAAoB,CAAC,CAAC;AAE/H;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAEpD;IACI,OAAO,EAAE,8BAA8B;IACvC,UAAU,EAAE,2BAA2B;IACvC,IAAI,EAAE,CAAC,wBAAwB,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAEnC;IACI,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAEtB;IACI,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAEnC;IACI,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,2BAA2B;IACrC,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAElC;IACI,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,aAAa;CAC1B,CAAC","sourcesContent":["import {InjectionToken, Provider, ExistingProvider, ClassProvider, FactoryProvider} from '@angular/core';\nimport {LOGGER} from '@anglr/common';\nimport {Sink} from 'structured-log';\n\nimport {ConsoleComponentSink, LoggerRestClient} from './logger.interface';\nimport {ConsoleComponentSinkService} from '../services/console/consoleComponentSink.service';\nimport {LoggerService} from '../services/logger.service';\nimport {ConsoleSinkConfigService} from '../services/console/consoleSinkConfig.service';\nimport {RestSinkService} from '../services/rest/restSink.service';\nimport {DeveloperConsoleSinkService} from '../services/developerConsole/developerConsoleSink.service';\n\n/**\n * Factory method for `ConsoleComponentSink`\n */\nexport function consoleComponentSinkFactory(configSvc: ConsoleSinkConfigService): ConsoleComponentSinkService\n{\n return new ConsoleComponentSinkService(configSvc);\n}\n\n/**\n * Injection token for obtaining loggers sinks\n */\nexport const LOGGER_SINKS: InjectionToken<Sink[]> = new InjectionToken<Sink[]>('LOGGER_SINK');\n\n/**\n * Injection token for obtaining sink service for `ConsoleComponent`\n */\nexport const CONSOLE_COMPONENT_SINK_SERVICE: InjectionToken<ConsoleComponentSink> = new InjectionToken<ConsoleComponentSink>('CONSOLE_COMPONENT_SINK_SERVICE');\n\n/**\n * Injection token for obtaining rest client for rest sink\n */\nexport const LOGGER_REST_CLIENT: InjectionToken<LoggerRestClient> = new InjectionToken<LoggerRestClient>('LOGGER_REST_CLIENT');\n\n/**\n * Provider for `ConsoleComponentSinkService` for logger\n */\nexport const CONSOLE_COMPONENT_SINK_SERVICE_PROVIDER: Provider =\n<FactoryProvider>\n{\n provide: CONSOLE_COMPONENT_SINK_SERVICE,\n useFactory: consoleComponentSinkFactory,\n deps: [ConsoleSinkConfigService]\n};\n\n/**\n * Provider for `ConsoleComponentSink` for logger\n */\nexport const CONSOLE_COMPONENT_SINK: Provider =\n<ExistingProvider>\n{\n provide: LOGGER_SINKS,\n useExisting: CONSOLE_COMPONENT_SINK_SERVICE,\n multi: true\n};\n\n/**\n * Provider for `RestSinkService` for logger\n */\nexport const REST_SINK: Provider =\n<ClassProvider>\n{\n provide: LOGGER_SINKS,\n useClass: RestSinkService,\n multi: true\n};\n\n/**\n * Provider for `DeveloperConsoleSinkService` for logger\n */\nexport const DEVELOPER_CONSOLE_SINK: Provider =\n<ClassProvider>\n{\n provide: LOGGER_SINKS,\n useClass: DeveloperConsoleSinkService,\n multi: true\n};\n\n/**\n * Provider for logger that is using structured log implementation\n */\nexport const STRUCTURED_LOG_LOGGER: Provider =\n<ClassProvider>\n{\n provide: LOGGER,\n useClass: LoggerService\n};"]}
1
+ {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../structured-log/src/types/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAA6D,MAAM,eAAe,CAAC;AAIzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,kDAAkD,CAAC;AAC7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAC,eAAe,EAAC,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAC,2BAA2B,EAAC,MAAM,2DAA2D,CAAC;AAEtG;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,SAAmC;IAE3E,OAAO,IAAI,2BAA2B,CAAC,SAAS,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAA2B,IAAI,cAAc,CAAS,aAAa,CAAC,CAAC;AAE9F;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,IAAI,cAAc,CAAuB,gCAAgC,CAAC,CAAC;AAE/J;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAqC,IAAI,cAAc,CAAmB,oBAAoB,CAAC,CAAC;AAE/H;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAEpD;IACI,OAAO,EAAE,8BAA8B;IACvC,UAAU,EAAE,2BAA2B;IACvC,IAAI,EAAE,CAAC,wBAAwB,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAEnC;IACI,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAEtB;IACI,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAEnC;IACI,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,2BAA2B;IACrC,KAAK,EAAE,IAAI;CACd,CAAC","sourcesContent":["import {InjectionToken, Provider, ExistingProvider, ClassProvider, FactoryProvider} from '@angular/core';\nimport {Sink} from 'structured-log';\n\nimport {ConsoleComponentSink, LoggerRestClient} from './logger.interface';\nimport {ConsoleComponentSinkService} from '../services/console/consoleComponentSink.service';\nimport {ConsoleSinkConfigService} from '../services/console/consoleSinkConfig.service';\nimport {RestSinkService} from '../services/rest/restSink.service';\nimport {DeveloperConsoleSinkService} from '../services/developerConsole/developerConsoleSink.service';\n\n/**\n * Factory method for `ConsoleComponentSink`\n */\nexport function consoleComponentSinkFactory(configSvc: ConsoleSinkConfigService): ConsoleComponentSinkService\n{\n return new ConsoleComponentSinkService(configSvc);\n}\n\n/**\n * Injection token for obtaining loggers sinks\n */\nexport const LOGGER_SINKS: InjectionToken<Sink[]> = new InjectionToken<Sink[]>('LOGGER_SINK');\n\n/**\n * Injection token for obtaining sink service for `ConsoleComponent`\n */\nexport const CONSOLE_COMPONENT_SINK_SERVICE: InjectionToken<ConsoleComponentSink> = new InjectionToken<ConsoleComponentSink>('CONSOLE_COMPONENT_SINK_SERVICE');\n\n/**\n * Injection token for obtaining rest client for rest sink\n */\nexport const LOGGER_REST_CLIENT: InjectionToken<LoggerRestClient> = new InjectionToken<LoggerRestClient>('LOGGER_REST_CLIENT');\n\n/**\n * Provider for `ConsoleComponentSinkService` for logger\n */\nexport const CONSOLE_COMPONENT_SINK_SERVICE_PROVIDER: Provider =\n<FactoryProvider>\n{\n provide: CONSOLE_COMPONENT_SINK_SERVICE,\n useFactory: consoleComponentSinkFactory,\n deps: [ConsoleSinkConfigService]\n};\n\n/**\n * Provider for `ConsoleComponentSink` for logger\n */\nexport const CONSOLE_COMPONENT_SINK: Provider =\n<ExistingProvider>\n{\n provide: LOGGER_SINKS,\n useExisting: CONSOLE_COMPONENT_SINK_SERVICE,\n multi: true\n};\n\n/**\n * Provider for `RestSinkService` for logger\n */\nexport const REST_SINK: Provider =\n<ClassProvider>\n{\n provide: LOGGER_SINKS,\n useClass: RestSinkService,\n multi: true\n};\n\n/**\n * Provider for `DeveloperConsoleSinkService` for logger\n */\nexport const DEVELOPER_CONSOLE_SINK: Provider =\n<ClassProvider>\n{\n provide: LOGGER_SINKS,\n useClass: DeveloperConsoleSinkService,\n multi: true\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"appHotkeys.service.d.ts","sourceRoot":"","sources":["appHotkeys.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,cAAc,EAAS,MAAM,kBAAkB,CAAC;;AAGxD;;GAEG;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;OAGG;IACH,OAAO,CAAC,oBAAoB;yCAzJnB,iBAAiB;6CAAjB,iBAAiB;CAwL7B"}
@@ -5,7 +5,7 @@ import * as i1 from "../pipes/numeral.pipe";
5
5
  */
6
6
  export declare class NumeralModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NumeralModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NumeralModule, [typeof i1.NumeralPipe], never, [typeof i1.NumeralPipe]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NumeralModule, never, [typeof i1.NumeralSAPipe], [typeof i1.NumeralSAPipe]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<NumeralModule>;
10
10
  }
11
11
  //# sourceMappingURL=numeral.module.d.ts.map
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Pipe to transform numbers to regional formatting using numeraljs.
6
6
  */
7
- export declare class NumeralPipe implements PipeTransform, OnDestroy {
7
+ export declare class NumeralSAPipe implements PipeTransform, OnDestroy {
8
8
  /**
9
9
  * Subscription for globalization changes
10
10
  */
@@ -20,7 +20,7 @@ export declare class NumeralPipe implements PipeTransform, OnDestroy {
20
20
  * Called when component is destroyed
21
21
  */
22
22
  ngOnDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<NumeralPipe, never>;
24
- static ɵpipe: i0.ɵɵPipeDeclaration<NumeralPipe, "numeral", false>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumeralSAPipe, never>;
24
+ static ɵpipe: i0.ɵɵPipeDeclaration<NumeralSAPipe, "numeral", true>;
25
25
  }
26
26
  //# sourceMappingURL=numeral.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"numeral.pipe.d.ts","sourceRoot":"","sources":["numeral.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;;AAKnD;;GAEG;AACH,qBACa,WAAY,YAAW,aAAa,EAAE,SAAS;IAIxD;;OAEG;IACH,OAAO,CAAC,gCAAgC,CAAoB;gBAGhD,gBAAgB,EAAE,oBAAoB;IAWlD;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAiBvD;;OAEG;IACI,WAAW,IAAI,IAAI;yCA9CjB,WAAW;uCAAX,WAAW;CAsDvB"}
1
+ {"version":3,"file":"numeral.pipe.d.ts","sourceRoot":"","sources":["numeral.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;;AAKnD;;GAEG;AACH,qBACa,aAAc,YAAW,aAAa,EAAE,SAAS;IAI1D;;OAEG;IACH,OAAO,CAAC,gCAAgC,CAAoB;gBAGhD,gBAAgB,EAAE,oBAAoB;IAWlD;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAiBvD;;OAEG;IACI,WAAW,IAAI,IAAI;yCA9CjB,aAAa;uCAAb,aAAa;CAsDzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anglr/common",
3
- "version": "17.0.0-beta.20230711090239",
3
+ "version": "17.0.0-beta.20230814105451",
4
4
  "description": "Angular module for common angular stuff",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/src/index.d.ts CHANGED
@@ -21,13 +21,15 @@ export * from './pipes';
21
21
  export * from './types/host';
22
22
  export * from './types/styles';
23
23
  export * from './types/tokens';
24
+ export * from './types/providers';
25
+ export * from './types/providerDecoratedType';
24
26
  export * from './utils';
25
27
  export { CookieService } from './services/cookies/cookies.service';
26
28
  export { StatusCodeService } from './services/statusCode/statusCode.service';
27
- export { CookiePermanentStorageService, PermanentStorage } from './services/permanentStorage';
28
- export { MemoryTemporaryStorageService, TemporaryStorage } from './services/temporaryStorage';
29
- export { NoStringLocalizationService, StringLocalization } from './services/stringLocalization';
30
- export { Logger } from './services/logger';
29
+ export { CookiePermanentStorageService, PermanentStorage, PermanentStorageType, CookiePermanentStorage } from './services/permanentStorage';
30
+ export { MemoryTemporaryStorageService, TemporaryStorage, TemporaryStorageType } from './services/temporaryStorage';
31
+ export { NoStringLocalizationService, StringLocalization, StringLocalizationType } from './services/stringLocalization';
32
+ export { Logger, LoggerType } from './services/logger';
31
33
  export * from './directives/bodyRender/bodyRender.directive';
32
34
  export { NgComponentOutletEx } from './directives/ngComponentOutletEx/ngComponentOutletEx.directive';
33
35
  export { APP_STABLE, extractAppStableResolve, runWhenModuleStable, runWhenAppStable } from './utils';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAC,oBAAoB,EAAC,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAC,kBAAkB,EAAC,MAAM,8DAA8D,CAAC;AAChG,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,qBAAqB,EAAC,MAAM,uEAAuE,CAAC;AAC5G,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAC,oBAAoB,EAAC,MAAM,oEAAoE,CAAC;AACxG,OAAO,EAAC,qBAAqB,EAAC,MAAM,oEAAoE,CAAC;AACzG,OAAO,EAAC,wBAAwB,EAAC,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAC,iBAA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EAAE,sBAAsB,EAAC,MAAM,+BAA+B,CAAC;AACtH,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,mBAAmB,CAAC;AACrD,cAAc,8CAA8C,CAAC;AAC7D,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,UAAU,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,gBAAgB,EAAC,MAAM,SAAS,CAAC;AACnG,OAAO,EAAC,qBAAqB,EAAE,2BAA2B,EAAE,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,iCAAiC,EAAC,MAAM,0BAA0B,CAAC;AAC3P,cAAc,qBAAqB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit, ChangeDetectorRef, ElementRef } from '@angular/core';
1
+ import { OnDestroy, OnInit, ChangeDetectorRef, ElementRef, WritableSignal } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
3
  import { DebugDataEnabledService } from '../../services/debugDataEnabled/debugDataEnabled.service';
4
4
  import * as i0 from "@angular/core";
@@ -6,20 +6,20 @@ import * as i0 from "@angular/core";
6
6
  * Component used for displaying debug data
7
7
  */
8
8
  export declare class DebugDataComponent implements OnDestroy, OnInit {
9
- protected _debugDataEnabledSvc: DebugDataEnabledService;
10
- protected _changeDetector: ChangeDetectorRef;
11
- protected _element: ElementRef<HTMLElement>;
9
+ protected debugDataEnabledSvc: DebugDataEnabledService;
10
+ protected changeDetector: ChangeDetectorRef;
11
+ protected element: ElementRef<HTMLElement>;
12
12
  /**
13
13
  * Subscription for changes of debug data enabled
14
14
  */
15
- protected _debugDataEnabledChangeSubscription: Subscription;
15
+ protected debugDataEnabledChangeSubscription: Subscription | undefined | null;
16
16
  /**
17
17
  * Indication whether is debug data enabled
18
18
  *
19
19
  * @internal
20
20
  */
21
- enabled: boolean;
22
- constructor(_debugDataEnabledSvc: DebugDataEnabledService, _changeDetector: ChangeDetectorRef, _element: ElementRef<HTMLElement>);
21
+ protected enabled: WritableSignal<boolean>;
22
+ constructor(debugDataEnabledSvc: DebugDataEnabledService, changeDetector: ChangeDetectorRef, element: ElementRef<HTMLElement>);
23
23
  /**
24
24
  * Initialize component
25
25
  */
@@ -31,7 +31,7 @@ export declare class DebugDataComponent implements OnDestroy, OnInit {
31
31
  /**
32
32
  * Sets enabled css class according enabled state
33
33
  */
34
- private _setEnabledCssClass;
34
+ protected setEnabledCssClass(): void;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<DebugDataComponent, never>;
36
36
  static ɵcmp: i0.ɵɵComponentDeclaration<DebugDataComponent, "debug-data", never, {}, {}, never, ["*"], false, never>;
37
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"debugData.component.d.ts","sourceRoot":"","sources":["debugData.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,uBAAuB,EAAC,MAAM,0DAA0D,CAAC;;AAOjG;;GAEG;AACH,qBAOa,kBAAmB,YAAW,SAAS,EAAE,MAAM;IAmB5C,SAAS,CAAC,oBAAoB,EAAE,uBAAuB;IACvD,SAAS,CAAC,eAAe,EAAE,iBAAiB;IAC5C,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAjBvD;;OAEG;IACH,SAAS,CAAC,mCAAmC,EAAE,YAAY,CAAC;IAI5D;;;;OAIG;IACI,OAAO,EAAE,OAAO,CAAS;gBAGV,oBAAoB,EAAE,uBAAuB,EAC7C,eAAe,EAAE,iBAAiB,EAClC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAMvD;;OAEG;IACI,QAAQ,IAAI,IAAI;IAgBvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAQ1B;;OAEG;IACH,OAAO,CAAC,mBAAmB;yCA5DlB,kBAAkB;2CAAlB,kBAAkB;CAuE9B"}
1
+ {"version":3,"file":"debugData.component.d.ts","sourceRoot":"","sources":["debugData.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAU,cAAc,EAAC,MAAM,eAAe,CAAC;AAC3I,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,uBAAuB,EAAC,MAAM,0DAA0D,CAAC;;AAOjG;;GAEG;AACH,qBAOa,kBAAmB,YAAW,SAAS,EAAE,MAAM;IAmB5C,SAAS,CAAC,mBAAmB,EAAE,uBAAuB;IACtD,SAAS,CAAC,cAAc,EAAE,iBAAiB;IAC3C,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IAjBtD;;OAEG;IACH,SAAS,CAAC,kCAAkC,EAAE,YAAY,GAAC,SAAS,GAAC,IAAI,CAAC;IAI1E;;;;OAIG;IACH,SAAS,CAAC,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,CAAiB;gBAGrC,mBAAmB,EAAE,uBAAuB,EAC5C,cAAc,EAAE,iBAAiB,EACjC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IAMtD;;OAEG;IACI,QAAQ,IAAI,IAAI;IAgBvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAQ1B;;OAEG;IACH,SAAS,CAAC,kBAAkB,IAAI,IAAI;yCA5D3B,kBAAkB;2CAAlB,kBAAkB;CAuE9B"}
@@ -1,3 +1,3 @@
1
- <ng-template [ngIf]="enabled">
1
+ <ng-template [ngIf]="enabled()">
2
2
  <ng-content></ng-content>
3
3
  </ng-template>
@@ -1,21 +1,22 @@
1
1
  import { TemplateRef, ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { Invalidatable } from '@jscrpt/common';
2
3
  import { TooltipTemplateContext } from '../../directives';
3
4
  import { TooltipRenderer } from '../../misc/tooltip.interface';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * Component used for displaying tooltip content
7
8
  */
8
- export declare class TooltipComponent<TData = any> implements TooltipRenderer<TData> {
9
- protected _changeDetector: ChangeDetectorRef;
10
- protected _element: ElementRef<HTMLElement>;
9
+ export declare class TooltipComponent<TData = any> implements TooltipRenderer<TData>, Invalidatable {
10
+ protected changeDetector: ChangeDetectorRef;
11
+ protected element: ElementRef<HTMLElement>;
11
12
  /**
12
13
  * Called when mouse enter tooltip component, hover
13
14
  */
14
- protected _enterFn: () => void;
15
+ protected enterFn: () => void;
15
16
  /**
16
17
  * Called when mouse leaves tooltip component
17
18
  */
18
- protected _leaveFn: () => void;
19
+ protected leaveFn: () => void;
19
20
  /**
20
21
  * Data that are rendered in tooltip
21
22
  */
@@ -32,7 +33,7 @@ export declare class TooltipComponent<TData = any> implements TooltipRenderer<TD
32
33
  * Css class that is applied to tooltip renderer component
33
34
  */
34
35
  cssClass: string | null | undefined;
35
- constructor(_changeDetector: ChangeDetectorRef, _element: ElementRef<HTMLElement>);
36
+ constructor(changeDetector: ChangeDetectorRef, element: ElementRef<HTMLElement>);
36
37
  /**
37
38
  * Registers handlers that allows reaction to entering or leaving tooltip
38
39
  * @param enter - Called when mouse enter tooltip component, hover
@@ -40,19 +41,19 @@ export declare class TooltipComponent<TData = any> implements TooltipRenderer<TD
40
41
  */
41
42
  registerHoverEvents(enter: () => void, leave: () => void): void;
42
43
  /**
43
- * Explicitly runs invalidation of content (change detection)
44
+ * @inheritdoc
44
45
  */
45
46
  invalidateVisuals(): void;
46
47
  /**
47
48
  * Handles mouse enter event over tooltip
48
49
  * @internal
49
50
  */
50
- mouseEnter(): void;
51
+ protected mouseEnter(): void;
51
52
  /**
52
53
  * Handles mouse leave event over tooltip
53
54
  * @internal
54
55
  */
55
- mouseLeave(): void;
56
+ protected mouseLeave(): void;
56
57
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent<any>, never>;
57
58
  static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent<any>, "tooltip-popup", never, {}, {}, never, never, false, never>;
58
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.component.d.ts","sourceRoot":"","sources":["tooltip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAe,MAAM,eAAe,CAAC;AAE3H,OAAO,EAAC,sBAAsB,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;;AAE7D;;GAEG;AACH,qBAOa,gBAAgB,CAAC,KAAK,GAAG,GAAG,CAAE,YAAW,eAAe,CAAC,KAAK,CAAC;IAqC5D,SAAS,CAAC,eAAe,EAAE,iBAAiB;IAC5C,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAlCvD;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAc;IAE5C;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAc;IAI5C;;OAEG;IACI,IAAI,EAAE,KAAK,GAAC,IAAI,GAAC,SAAS,CAAC;IAElC;;OAEG;IACI,QAAQ,EAAE,WAAW,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,GAAC,IAAI,GAAC,SAAS,CAAC;IAE3E;;OAEG;IACI,SAAS,EAAE,OAAO,CAAS;IAElC;;OAEG;IACI,QAAQ,EAAE,MAAM,GAAC,IAAI,GAAC,SAAS,CAAC;gBAGjB,eAAe,EAAE,iBAAiB,EAClC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAMvD;;;;OAIG;IACI,mBAAmB,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM,IAAI,GAAG,IAAI;IAMtE;;OAEG;IACI,iBAAiB,IAAI,IAAI;IAYhC;;;OAGG;IAEI,UAAU,IAAI,IAAI;IAKzB;;;OAGG;IAEI,UAAU,IAAI,I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IAK5B;;;OAGG;IAEH,SAAS,CAAC,UAAU,IAAI,IAAI;yCArFnB,gBAAgB;2CAAhB,gBAAgB;CAyF5B"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  /**
2
3
  * Interface for general logger
3
4
  */
@@ -81,4 +82,9 @@ export interface Logger {
81
82
  */
82
83
  verbose(error: Error, messageTemplate: string, ...properties: any[]): void;
83
84
  }
85
+ /**
86
+ * Used for restriction of logger provider type only for type decorated with logger provider
87
+ */
88
+ export interface LoggerType extends Type<unknown> {
89
+ }
84
90
  //# sourceMappingURL=logger.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger.interface.d.ts","sourceRoot":"","sources":["logger.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,MAAM;IAInB;;;;OAIG;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE3D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE3D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE1D;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAExE;;;;OAIG;IACH,I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AK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE1D;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAExE;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE1D;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAExE;;;;OAIG;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE3D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,OAAO,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE7D;;;;;OAKG;IACH,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;CAC9E;AAED;;GAEG;AACH,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,OAAO,CAAC;CAEhD"}
@@ -1,4 +1,4 @@
1
- import { PermanentStorage } from './permanentStorage.interface';
1
+ import { PermanentStorage, PermanentStorageType } from './permanentStorage.interface';
2
2
  import { CookieService } from '../cookies/cookies.service';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -33,4 +33,8 @@ export declare class CookiePermanentStorageService implements PermanentStorage {
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<CookiePermanentStorageService, never>;
34
34
  static ɵprov: i0.ɵɵInjectableDeclaration<CookiePermanentStorageService>;
35
35
  }
36
+ /**
37
+ * Sets permanent storage to use cookie permanent storage when used with `providePermanentStorage`
38
+ */
39
+ export declare const CookiePermanentStorage: PermanentStorageType;
36
40
  //# sourceMappingURL=cookiePermanentStorage.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cookiePermanentStorage.service.d.ts","sourceRoot":"","sources":["cookiePermanentStorage.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;;AAEzD;;GAEG;AACH,qBACa,6BAA8B,YAAW,gBAAgB;IAGtD,OAAO,CAAC,QAAQ;gBAAR,QAAQ,EAAE,aAAa;IAM3C;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAazD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAhDxB,6BAA6B;6CAA7B,6BAA6B;CAoDzC"}
1
+ {"version":3,"file":"cookiePermanentStorage.service.d.ts","sourceRoot":"","sources":["cookiePermanentStorage.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,8BAA8B,CAAC;AACpF,OAAO,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;;AAIzD;;GAEG;AACH,qBACa,6BAA8B,YAAW,gBAAgB;IAGtD,OAAO,CAAC,QAAQ;gBAAR,QAAQ,EAAE,aAAa;IAM3C;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAazD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAhDxB,6BAA6B;6CAA7B,6BAA6B;CAoDzC;AAqBD;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,oBAAiD,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  /**
2
3
  * Provides api for implementing permanent storage
3
4
  */
@@ -26,4 +27,9 @@ export interface PermanentStorage {
26
27
  */
27
28
  remove(name: string): void;
28
29
  }
30
+ /**
31
+ * Used for restriction of permanent storage provider type only for type decorated with permanent storage provider
32
+ */
33
+ export interface PermanentStorageType extends Type<unknown> {
34
+ }
29
35
  //# sourceMappingURL=permanentStorage.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"permanentStorage.interface.d.ts","sourceRoot":"","sources":["permanentStorage.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IAEnD;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
1
+ {"version":3,"file":"permanentStorage.interface.d.ts","sourceRoot":"","sources":["permanentStorage.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IAEnD;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,OAAO,CAAC;CAE1D"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  import { Func1 } from '@jscrpt/common';
2
3
  import { Observable } from 'rxjs';
3
4
  import { PositionOffsetString, PositionPlacement } from './position.types';
@@ -127,4 +128,9 @@ export interface Position {
127
128
  */
128
129
  placeElement(target: Element, source: Element, options?: Partial<PositionOptions>): Observable<PositionResult>;
129
130
  }
131
+ /**
132
+ * Used for restriction of position provider type only for type decorated with position provider
133
+ */
134
+ export interface PositionType extends Type<unknown> {
135
+ }
130
136
  //# sourceMappingURL=position.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"position.interface.d.ts","sourceRoot":"","sources":["position.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AACrC,OAAO,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a,SAAQ,IAAI,CAAC,OAAO,CAAC;CAElD"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  import { Observable } from 'rxjs';
2
3
  /**
3
4
  * Provides api to localize strings
@@ -14,4 +15,9 @@ export interface StringLocalization {
14
15
  */
15
16
  get(key: string, interpolateParams?: Object): string;
16
17
  }
18
+ /**
19
+ * Used for restriction of string localization provider type only for type decorated with string localization provider
20
+ */
21
+ export interface StringLocalizationType extends Type<unknown> {
22
+ }
17
23
  //# sourceMappingURL=stringLocalization.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stringLocalization.interface.d.ts","sourceRoot":"","sources":["stringLocalization.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAE/B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;OAIG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxD"}
1
+ {"version":3,"file":"stringLocalization.interface.d.ts","sourceRoot":"","sources":["stringLocalization.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAE/B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;OAIG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,OAAO,CAAC;CAE5D"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  /**
2
3
  * Provides api for implementing temporary storage
3
4
  */
@@ -19,4 +20,9 @@ export interface TemporaryStorage {
19
20
  */
20
21
  remove(name: string): void;
21
22
  }
23
+ /**
24
+ * Used for restriction of temporary storage provider type only for type decorated with temporary storage provider
25
+ */
26
+ export interface TemporaryStorageType extends Type<unknown> {
27
+ }
22
28
  //# sourceMappingURL=temporaryStorage.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"temporaryStorage.interface.d.ts","sourceRoot":"","sources":["temporaryStorage.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
1
+ {"version":3,"file":"temporaryStorage.interface.d.ts","sourceRoot":"","sources":["temporaryStorage.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,OAAO,CAAC;CAE1D"}
@@ -0,0 +1,12 @@
1
+ import { Provider, Type } from '@angular/core';
2
+ /**
3
+ * Gets provider from type
4
+ * @param type - Type that should contain provider
5
+ */
6
+ export declare function getProviderForType(type: Type<unknown>): Provider;
7
+ /**
8
+ * Attach provider to type
9
+ * @param provider - Provider to be attached
10
+ */
11
+ export declare function TypeProvider(provider: Provider): ClassDecorator;
12
+ //# sourceMappingURL=providerDecoratedType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providerDecoratedType.d.ts","sourceRoot":"","sources":["providerDecoratedType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAc7C;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,QAAQ,CAUhE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,cAAc,CAoB/D"}
@@ -0,0 +1,32 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { LoggerType } from '../services/logger/logger.interface';
3
+ import { PermanentStorageType } from '../services/permanentStorage/permanentStorage.interface';
4
+ import { PositionType } from '../services/position/position.interface';
5
+ import { StringLocalizationType } from '../services/stringLocalization/stringLocalization.interface';
6
+ import { TemporaryStorageType } from '../services/temporaryStorage/temporaryStorage.interface';
7
+ /**
8
+ * Provides logger service type
9
+ * @param type - Type of logger that should be used
10
+ */
11
+ export declare function provideLogger(type: LoggerType): EnvironmentProviders;
12
+ /**
13
+ * Provides permanent storage service type
14
+ * @param type - Type of permanent storage that should be used
15
+ */
16
+ export declare function providePermanentStorage(type: PermanentStorageType): EnvironmentProviders;
17
+ /**
18
+ * Provides position service type
19
+ * @param type - Type of position that should be used
20
+ */
21
+ export declare function providePosition(type: PositionType): EnvironmentProviders;
22
+ /**
23
+ * Provides string localization service type
24
+ * @param type - Type of string localization that should be used
25
+ */
26
+ export declare function provideStringLocalization(type: StringLocalizationType): EnvironmentProviders;
27
+ /**
28
+ * Provides temporary storage service type
29
+ * @param type - Type of temporary storage that should be used
30
+ */
31
+ export declare function provideTemporaryStorage(type: TemporaryStorageType): EnvironmentProviders;
32
+ //# sourceMappingURL=providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAA2B,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAC,UAAU,EAAC,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAC,oBAAoB,EAAC,MAAM,yDAAyD,CAAC;AAC7F,OAAO,EAAC,YAAY,EAAC,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAC,sBAAsB,EAAC,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAC,oBAAoB,EAAC,MAAM,yDAAyD,CAAC;AAG7F;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,oBAAoB,CAMpE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,CAMxF;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,YAAY,GAAG,oBAAoB,CAMxE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,sBAAsB,GAAG,oBAAoB,CAM5F;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,CAMxF"}
@@ -1,2 +1,2 @@
1
- export { LocalPermanentStorageService, SessionTemporaryStorageService } from './services';
1
+ export { LocalPermanentStorageService, SessionTemporaryStorageService, SessionTemporaryStorage, LocalPermanentStorage } from './services';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAE,8BAA8B,EAAC,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,qBAAqB,EAAC,MAAM,YAAY,CAAC"}
@@ -1,4 +1,4 @@
1
- import { PermanentStorage } from '@anglr/common';
1
+ import { PermanentStorage, PermanentStorageType } from '@anglr/common';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Implementation of permanent storage using LocalStorage
@@ -31,4 +31,8 @@ export declare class LocalPermanentStorageService implements PermanentStorage {
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalPermanentStorageService, never>;
32
32
  static ɵprov: i0.ɵɵInjectableDeclaration<LocalPermanentStorageService>;
33
33
  }
34
+ /**
35
+ * Sets permanent storage to use local permanent storage when used with `providePermanentStorage`
36
+ */
37
+ export declare const LocalPermanentStorage: PermanentStorageType;
34
38
  //# sourceMappingURL=localPermanentStorage.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"localPermanentStorage.service.d.ts","sourceRoot":"","sources":["localPermanentStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;;AAM/C;;GAEG;AACH,qBACa,4BAA6B,YAAW,gBAAgB;;IAWjE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAoBzD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAzDxB,4BAA4B;6CAA5B,4BAA4B;CA6DxC"}
1
+ {"version":3,"file":"localPermanentStorage.service.d.ts","sourceRoot":"","sources":["localPermanentStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,gBAAgB,EAAE,oBAAoB,EAAe,MAAM,eAAe,CAAC;;AAItG;;GAEG;AACH,qBACa,4BAA6B,YAAW,gBAAgB;;IAWjE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAoBzD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAzDxB,4BAA4B;6CAA5B,4BAA4B;CA6DxC;AAoBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,oBAAgD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { TemporaryStorage } from '@anglr/common';
1
+ import { TemporaryStorage, TemporaryStorageType } from '@anglr/common';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Implementation of temporary storage using SessionStorage
@@ -23,4 +23,8 @@ export declare class SessionTemporaryStorageService implements TemporaryStorage
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<SessionTemporaryStorageService, never>;
24
24
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionTemporaryStorageService>;
25
25
  }
26
+ /**
27
+ * Sets temporary storage to use session temporary storage when used with `provideTemporaryStorage`
28
+ */
29
+ export declare const SessionTemporaryStorage: TemporaryStorageType;
26
30
  //# sourceMappingURL=sessionTemporaryStorage.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sessionTemporaryStorage.service.d.ts","sourceRoot":"","sources":["sessionTemporaryStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;;AAG/C;;GAEG;AACH,qBACa,8BAA+B,YAAW,gBAAgB;IAInE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAK1C;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCA3BxB,8BAA8B;6CAA9B,8BAA8B;CA+B1C"}
1
+ {"version":3,"file":"sessionTemporaryStorage.service.d.ts","sourceRoot":"","sources":["sessionTemporaryStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,gBAAgB,EAAE,oBAAoB,EAAe,MAAM,eAAe,CAAC;;AAGtG;;GAEG;AACH,qBACa,8BAA+B,YAAW,gBAAgB;IAInE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAK1C;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCA3BxB,8BAA8B;6CAA9B,8BAA8B;CA+B1C;AAoBD;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,oBAAkD,CAAC"}
@@ -1,13 +1,14 @@
1
1
  export * from './components/console/console.component.animations';
2
2
  export * from './components/console/console.component';
3
3
  export * from './modules/consoleLog.module';
4
+ export * from './misc/providers';
4
5
  export * from './misc/utils';
5
6
  export * from './types/tokens';
6
7
  export * from './types/logger.interface';
7
8
  export * from './services/console/consoleComponentSink.service';
8
9
  export * from './services/console/consoleSinkConfig.service';
9
10
  export * from './services/logger.service';
10
- export * from './services/rest/restSinkConfig.service';
11
+ export * from './services/rest/restSink.options';
11
12
  export * from './services/rest/restSink.service';
12
13
  export * from './services/developerConsole/developerConsoleSink.options';
13
14
  export * from './services/developerConsole/developerConsoleSink.service';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0DAA0D,CAAC;AACzE,cAAc,0DAA0D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0DAA0D,CAAC;AACzE,cAAc,0DAA0D,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ /**
3
+ * Provides console component as sink for logger
4
+ */
5
+ export declare function provideConsoleComponentSink(): EnvironmentProviders;
6
+ //# sourceMappingURL=providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAA2B,MAAM,eAAe,CAAC;AAI7E;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,oBAAoB,CAOlE"}
@@ -1,4 +1,3 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  import * as i1 from "../components/console/console.component";
4
3
  import * as i2 from "@angular/common";
@@ -6,10 +5,6 @@ import * as i2 from "@angular/common";
6
5
  * Module containing component Console (log)
7
6
  */
8
7
  export declare class ConsoleLogModule {
9
- /**
10
- * Registers structured-log as logger service, with console component sink
11
- */
12
- static forRoot(): ModuleWithProviders<ConsoleLogModule>;
13
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ConsoleLogModule, never>;
14
9
  static ɵmod: i0.ɵɵNgModuleDeclaration<ConsoleLogModule, [typeof i1.ConsoleComponent], [typeof i2.CommonModule], [typeof i1.ConsoleComponent]>;
15
10
  static ɵinj: i0.ɵɵInjectorDeclaration<ConsoleLogModule>;
@@ -1 +1 @@
1
- {"version":3,"file":"consoleLog.module.d.ts","sourceRoot":"","sources":["consoleLog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,mBAAmB,EAAC,MAAM,eAAe,CAAC;;;;AAM5D;;GAEG;AACH,qBAea,gBAAgB;IAIzB;;OAEG;WACW,OAAO,IAAI,mBAAmB,CAAC,gBAAgB,CAAC;yCAPrD,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAmB5B"}
1
+ {"version":3,"file":"consoleLog.module.d.ts","sourceRoot":"","sources":["consoleLog.module.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,qBAea,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAE5B"}
@@ -1,4 +1,4 @@
1
- import { Logger as LoggerInterface } from '@anglr/common';
1
+ import { Logger as LoggerInterface, PositionType } from '@anglr/common';
2
2
  import { Sink } from 'structured-log';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -91,4 +91,8 @@ export declare class LoggerService implements LoggerInterface {
91
91
  static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>;
92
92
  static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
93
93
  }
94
+ /**
95
+ * Sets logger to use structured log logger when used with `provideLogger`
96
+ */
97
+ export declare const StructuredLogLogger: PositionType;
94
98
  //# sourceMappingURL=logger.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger.service.d.ts","sourceRoot":"","sources":["logger.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,IAAI,eAAe,EAAC,MAAM,eAAe,CAAC;AACxD,OAAO,EAAY,IAAI,EAAS,MAAM,gBAAgB,CAAC;;AAIvD;;GAEG;AACH,qBACa,aAAc,YAAW,eAAe;IAIjD;;OAEG;IACH,OAAO,CAAC,OAAO,CAAS;gBAGU,KAAK,EAAE,IAAI,EAAE;IAc/C;;;;OAIG;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAE1D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOxE;;;;OAIG;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAE1D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOxE;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAEzD;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOvE;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAEzD;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,E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AAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOxE;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAEzD;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOvE;;;;OAIG;IACH,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAEzD;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOvE;;;;OAIG;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAE1D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOxE;;;;OAIG;IACH,OAAO,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAE5D;;;;;OAKG;IACH,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;yCAzIjE,aAAa;6CAAb,aAAa;CA+IzB;AAoBD;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAAsC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { LogEventLevel } from 'structured-log';
2
+ /**
3
+ * Options for rest sink
4
+ */
5
+ export declare class RestSinkOptions {
6
+ /**
7
+ * Number of seconds after which should be flush called
8
+ */
9
+ secondsToFlushAfter: number;
10
+ /**
11
+ * Number of logs after which should be flush called
12
+ */
13
+ flushAfterNumberOfLogs: number;
14
+ /**
15
+ * Minimal log level that will be flushed immediately
16
+ */
17
+ immediateFlushMinLevel: LogEventLevel;
18
+ /**
19
+ * Restricts logs to specified level
20
+ */
21
+ restrictToLevel: LogEventLevel;
22
+ constructor(secondsToFlushAfter?: number, flushAfterNumberOfLogs?: number, immediateFlushMinLevel?: LogEventLevel, restrictToLevel?: LogEventLevel);
23
+ }
24
+ //# sourceMappingURL=restSink.options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restSink.options.d.ts","sourceRoot":"","sources":["restSink.options.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,qBAAa,eAAe;IAIxB;;OAEG;IACI,mBAAmB,EAAE,MAAM,CAAO;IAEzC;;OAEG;IACI,sBAAsB,EAAE,MAAM,CAAM;IAE3C;;OAEG;IACI,sBAAsB,EAAE,aAAa,CAAuB;IAEnE;;OAEG;IACI,eAAe,EAAE,aAAa,CAAyB;gBAGlD,mBAAmB,CAAC,EAAE,MAAM,EAC5B,sBAAsB,CAAC,EAAE,MAAM,EAC/B,sBAAsB,CAAC,EAAE,aAAa,EACtC,eAAe,CAAC,EAAE,aAAa;CAsB9C"}