@anglr/common 17.0.0-beta.20230711095959 → 17.0.0-beta.20230815112307

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 (176) hide show
  1. package/changelog.md +89 -3
  2. package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js +15 -2
  3. package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
  4. package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +1 -1
  5. package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
  6. package/es2022/numeral/src/modules/numeral.module.js +4 -4
  7. package/es2022/numeral/src/modules/numeral.module.js.map +1 -1
  8. package/es2022/numeral/src/pipes/numeral.pipe.js +6 -6
  9. package/es2022/numeral/src/pipes/numeral.pipe.js.map +1 -1
  10. package/es2022/src/{modules/clickOutside/directives → directives}/clickOutside/clickOutside.directive.js +29 -22
  11. package/es2022/src/directives/clickOutside/clickOutside.directive.js.map +1 -0
  12. package/es2022/src/{modules/goBack/directives → directives}/goBack/goBack.directive.js +7 -6
  13. package/es2022/src/directives/goBack/goBack.directive.js.map +1 -0
  14. package/es2022/src/{modules/position/directives → directives}/positionTo/positionTo.directive.js +9 -8
  15. package/es2022/src/directives/positionTo/positionTo.directive.js.map +1 -0
  16. package/es2022/src/index.js +6 -5
  17. package/es2022/src/index.js.map +1 -1
  18. package/es2022/src/modules/commonUtils.module.js +21 -21
  19. package/es2022/src/modules/commonUtils.module.js.map +1 -1
  20. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js +15 -15
  21. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
  22. package/es2022/src/pipes/isNaN/isNaN.pipe.js +7 -6
  23. package/es2022/src/pipes/isNaN/isNaN.pipe.js.map +1 -1
  24. package/es2022/src/pipes/isPresent/isPresent.pipe.js +7 -6
  25. package/es2022/src/pipes/isPresent/isPresent.pipe.js.map +1 -1
  26. package/es2022/src/pipes/keys/keys.pipe.js +6 -6
  27. package/es2022/src/pipes/keys/keys.pipe.js.map +1 -1
  28. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +6 -6
  29. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +1 -1
  30. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js +6 -6
  31. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js.map +1 -1
  32. package/es2022/src/services/logger/logger.interface.js.map +1 -1
  33. package/es2022/src/services/notifications/defaultNotifications.service.js +12 -12
  34. package/es2022/src/services/notifications/defaultNotifications.service.js.map +1 -1
  35. package/es2022/src/services/notifications/notifications.interface.js +10 -1
  36. package/es2022/src/services/notifications/notifications.interface.js.map +1 -1
  37. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js +22 -0
  38. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js.map +1 -1
  39. package/es2022/src/services/permanentStorage/permanentStorage.interface.js.map +1 -1
  40. package/es2022/src/services/position/position.interface.js.map +1 -1
  41. package/es2022/src/services/stringLocalization/noStringLocalization.service.js +2 -4
  42. package/es2022/src/services/stringLocalization/noStringLocalization.service.js.map +1 -1
  43. package/es2022/src/services/stringLocalization/stringLocalization.interface.js.map +1 -1
  44. package/es2022/src/services/temporaryStorage/temporaryStorage.interface.js.map +1 -1
  45. package/es2022/src/types/providerDecoratedType.js +32 -0
  46. package/es2022/src/types/providerDecoratedType.js.map +1 -0
  47. package/es2022/src/types/providers.js +48 -0
  48. package/es2022/src/types/providers.js.map +1 -0
  49. package/es2022/store/src/index.js +1 -1
  50. package/es2022/store/src/index.js.map +1 -1
  51. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js +21 -1
  52. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js.map +1 -1
  53. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +21 -0
  54. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +1 -1
  55. package/es2022/structured-log/src/components/console/console.component.js +2 -2
  56. package/es2022/structured-log/src/components/console/console.component.js.map +1 -1
  57. package/es2022/structured-log/src/index.js +1 -0
  58. package/es2022/structured-log/src/index.js.map +1 -1
  59. package/es2022/structured-log/src/misc/providers.js +12 -0
  60. package/es2022/structured-log/src/misc/providers.js.map +1 -0
  61. package/es2022/structured-log/src/modules/consoleLog.module.js +0 -15
  62. package/es2022/structured-log/src/modules/consoleLog.module.js.map +1 -1
  63. package/es2022/structured-log/src/services/logger.service.js +21 -0
  64. package/es2022/structured-log/src/services/logger.service.js.map +1 -1
  65. package/es2022/structured-log/src/types/tokens.js +0 -9
  66. package/es2022/structured-log/src/types/tokens.js.map +1 -1
  67. package/floating-ui/src/services/floatingUiDomPosition.service.d.ts +3 -4
  68. package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
  69. package/numeral/src/modules/numeral.module.d.ts +1 -1
  70. package/numeral/src/pipes/numeral.pipe.d.ts +3 -3
  71. package/numeral/src/pipes/numeral.pipe.d.ts.map +1 -1
  72. package/package.json +3 -3
  73. package/src/directives/clickOutside/clickOutside.directive.d.ts +48 -0
  74. package/src/directives/clickOutside/clickOutside.directive.d.ts.map +1 -0
  75. package/src/{modules/goBack/directives → directives}/goBack/goBack.directive.d.ts +3 -3
  76. package/src/directives/goBack/goBack.directive.d.ts.map +1 -0
  77. package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts +4 -4
  78. package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts.map +1 -1
  79. package/src/index.d.ts +9 -8
  80. package/src/index.d.ts.map +1 -1
  81. package/src/modules/commonUtils.module.d.ts +1 -1
  82. package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +10 -9
  83. package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +1 -1
  84. package/src/pipes/isNaN/isNaN.pipe.d.ts +3 -3
  85. package/src/pipes/isNaN/isNaN.pipe.d.ts.map +1 -1
  86. package/src/pipes/isPresent/isPresent.pipe.d.ts +4 -4
  87. package/src/pipes/isPresent/isPresent.pipe.d.ts.map +1 -1
  88. package/src/pipes/keys/keys.pipe.d.ts +3 -3
  89. package/src/pipes/keys/keys.pipe.d.ts.map +1 -1
  90. package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts +3 -3
  91. package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts.map +1 -1
  92. package/src/pipes/urlEncode/urlEncode.pipe.d.ts +3 -3
  93. package/src/pipes/urlEncode/urlEncode.pipe.d.ts.map +1 -1
  94. package/src/services/logger/logger.interface.d.ts +6 -0
  95. package/src/services/logger/logger.interface.d.ts.map +1 -1
  96. package/src/services/notifications/defaultNotifications.service.d.ts +6 -6
  97. package/src/services/notifications/defaultNotifications.service.d.ts.map +1 -1
  98. package/src/services/notifications/notifications.interface.d.ts +19 -7
  99. package/src/services/notifications/notifications.interface.d.ts.map +1 -1
  100. package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts +5 -1
  101. package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts.map +1 -1
  102. package/src/services/permanentStorage/permanentStorage.interface.d.ts +6 -0
  103. package/src/services/permanentStorage/permanentStorage.interface.d.ts.map +1 -1
  104. package/src/services/position/position.interface.d.ts +6 -0
  105. package/src/services/position/position.interface.d.ts.map +1 -1
  106. package/src/services/stringLocalization/noStringLocalization.service.d.ts +1 -2
  107. package/src/services/stringLocalization/noStringLocalization.service.d.ts.map +1 -1
  108. package/src/services/stringLocalization/stringLocalization.interface.d.ts +6 -0
  109. package/src/services/stringLocalization/stringLocalization.interface.d.ts.map +1 -1
  110. package/src/services/temporaryStorage/temporaryStorage.interface.d.ts +6 -0
  111. package/src/services/temporaryStorage/temporaryStorage.interface.d.ts.map +1 -1
  112. package/src/types/providerDecoratedType.d.ts +12 -0
  113. package/src/types/providerDecoratedType.d.ts.map +1 -0
  114. package/src/types/providers.d.ts +32 -0
  115. package/src/types/providers.d.ts.map +1 -0
  116. package/store/src/index.d.ts +1 -1
  117. package/store/src/index.d.ts.map +1 -1
  118. package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts +5 -1
  119. package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts.map +1 -1
  120. package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts +5 -1
  121. package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts.map +1 -1
  122. package/structured-log/src/components/console/console.component.d.ts.map +1 -1
  123. package/structured-log/src/components/console/console.component.html +1 -1
  124. package/structured-log/src/index.d.ts +1 -0
  125. package/structured-log/src/index.d.ts.map +1 -1
  126. package/structured-log/src/misc/providers.d.ts +6 -0
  127. package/structured-log/src/misc/providers.d.ts.map +1 -0
  128. package/structured-log/src/modules/consoleLog.module.d.ts +0 -5
  129. package/structured-log/src/modules/consoleLog.module.d.ts.map +1 -1
  130. package/structured-log/src/services/logger.service.d.ts +5 -1
  131. package/structured-log/src/services/logger.service.d.ts.map +1 -1
  132. package/structured-log/src/types/tokens.d.ts +0 -4
  133. package/structured-log/src/types/tokens.d.ts.map +1 -1
  134. package/version.bak +1 -1
  135. package/es2022/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +0 -1
  136. package/es2022/src/modules/clickOutside/modules/clickOutside.module.js +0 -25
  137. package/es2022/src/modules/clickOutside/modules/clickOutside.module.js.map +0 -1
  138. package/es2022/src/modules/goBack/directives/goBack/goBack.directive.js.map +0 -1
  139. package/es2022/src/modules/goBack/directives/index.js +0 -2
  140. package/es2022/src/modules/goBack/directives/index.js.map +0 -1
  141. package/es2022/src/modules/goBack/index.js +0 -3
  142. package/es2022/src/modules/goBack/index.js.map +0 -1
  143. package/es2022/src/modules/goBack/modules/goBack.module.js +0 -24
  144. package/es2022/src/modules/goBack/modules/goBack.module.js.map +0 -1
  145. package/es2022/src/modules/goBack/modules/index.js +0 -2
  146. package/es2022/src/modules/goBack/modules/index.js.map +0 -1
  147. package/es2022/src/modules/position/directives/index.js +0 -2
  148. package/es2022/src/modules/position/directives/index.js.map +0 -1
  149. package/es2022/src/modules/position/directives/positionTo/positionTo.directive.js.map +0 -1
  150. package/es2022/src/modules/position/index.js +0 -3
  151. package/es2022/src/modules/position/index.js.map +0 -1
  152. package/es2022/src/modules/position/modules/index.js +0 -2
  153. package/es2022/src/modules/position/modules/index.js.map +0 -1
  154. package/es2022/src/modules/position/modules/position.module.js +0 -25
  155. package/es2022/src/modules/position/modules/position.module.js.map +0 -1
  156. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +0 -47
  157. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +0 -1
  158. package/src/modules/clickOutside/modules/clickOutside.module.d.ts +0 -11
  159. package/src/modules/clickOutside/modules/clickOutside.module.d.ts.map +0 -1
  160. package/src/modules/goBack/directives/goBack/goBack.directive.d.ts.map +0 -1
  161. package/src/modules/goBack/directives/index.d.ts +0 -2
  162. package/src/modules/goBack/directives/index.d.ts.map +0 -1
  163. package/src/modules/goBack/index.d.ts +0 -3
  164. package/src/modules/goBack/index.d.ts.map +0 -1
  165. package/src/modules/goBack/modules/goBack.module.d.ts +0 -11
  166. package/src/modules/goBack/modules/goBack.module.d.ts.map +0 -1
  167. package/src/modules/goBack/modules/index.d.ts +0 -2
  168. package/src/modules/goBack/modules/index.d.ts.map +0 -1
  169. package/src/modules/position/directives/index.d.ts +0 -2
  170. package/src/modules/position/directives/index.d.ts.map +0 -1
  171. package/src/modules/position/index.d.ts +0 -3
  172. package/src/modules/position/index.d.ts.map +0 -1
  173. package/src/modules/position/modules/index.d.ts +0 -2
  174. package/src/modules/position/modules/index.d.ts.map +0 -1
  175. package/src/modules/position/modules/position.module.d.ts +0 -11
  176. package/src/modules/position/modules/position.module.d.ts.map +0 -1
@@ -1,4 +1,6 @@
1
+ import { __decorate } from "tslib";
1
2
  import { Injectable, Inject } from '@angular/core';
3
+ import { LOGGER, TypeProvider } from '@anglr/common';
2
4
  import { configure } from 'structured-log';
3
5
  import { LOGGER_SINKS } from '../types/tokens';
4
6
  import * as i0 from "@angular/core";
@@ -47,4 +49,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
47
49
  type: Inject,
48
50
  args: [LOGGER_SINKS]
49
51
  }] }]; } });
52
+ /**
53
+ * Provider for logger that is using structured log implementation
54
+ */
55
+ const STRUCTURED_LOG_LOGGER = {
56
+ provide: LOGGER,
57
+ useClass: LoggerService
58
+ };
59
+ /**
60
+ * Type that contains provider for structured log logger when used with `provideLogger`
61
+ */
62
+ let StructuredLogLoggerType = class StructuredLogLoggerType {
63
+ };
64
+ StructuredLogLoggerType = __decorate([
65
+ TypeProvider(STRUCTURED_LOG_LOGGER)
66
+ ], StructuredLogLoggerType);
67
+ /**
68
+ * Sets logger to use structured log logger when used with `provideLogger`
69
+ */
70
+ export const StructuredLogLogger = StructuredLogLoggerType;
50
71
  //# sourceMappingURL=logger.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger.service.js","sourceRoot":"","sources":["../../../../structured-log/src/services/logger.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAC,SAAS,EAAe,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;;AAE7C;;GAEG;AACH,MACa,aAAa;IAEtB,oEAAoE;IAEpE;;OAEG;IACK,OAAO,CAAS;IAExB,iEAAiE;IACjE,YAAkC,KAAa;QAE3C,MAAM,aAAa,GAAG,SAAS,EAAE,CAAC;QAElC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YAEjB,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC;IAC1C,CAAC;IAmBD,KAAK,CAAC,sBAA2B,EAAE,GAAG,UAAiB;QAEnD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC3D,CAAC;IAiBD,KAAK,CAAC,sBAA2B,EAAE,GAAG,UAAiB;QAEnD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC3D,CAAC;IAiBD,IAAI,CAAC,sBAA2B,EAAE,GAAG,UAAiB;QAElD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC1D,CAAC;IAiBD,IAAI,CAAC,sBAA2B,EAAE,GAAG,UAAiB;QAElD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC1D,CAAC;IAiBD,KAAK,CAAC,sBAA2B,EAAE,GAAG,UAAiB;QAEnD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC3D,CAAC;IAiBD,OAAO,CAAC,sBAA2B,EAAE,GAAG,UAAiB;QAErD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC7D,CAAC;uGA9IQ,aAAa,kBAUF,YAAY;2GAVvB,aAAa;;SAAb,aAAa;2FAAb,aAAa;kBADzB,UAAU;;0BAWM,MAAM;2BAAC,YAAY","sourcesContent":["import {Injectable, Inject} from '@angular/core';\nimport {Logger as LoggerInterface} from '@anglr/common';\nimport {configure, Sink, Logger} from 'structured-log';\n\nimport {LOGGER_SINKS} from '../types/tokens';\n\n/**\n * Service used for logging using structured-log\n */\n@Injectable()\nexport class LoggerService implements LoggerInterface\n{\n //######################### private fields #########################\n\n /**\n * Currently used instance of logger\n */\n private _logger: Logger;\n\n //######################### constructor #########################\n constructor(@Inject(LOGGER_SINKS) sinks: Sink[])\n {\n const configuration = configure();\n\n sinks.forEach(sink =>\n {\n configuration.writeTo(sink);\n });\n\n this._logger = configuration.create();\n }\n\n //######################### public methods #########################\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n fatal(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.fatal(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n error(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.error(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n warn(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.warn(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n info(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.info(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n debug(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.debug(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n verbose(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.verbose(errorOrMessageTemplate, properties);\n }\n}"]}
1
+ {"version":3,"file":"logger.service.js","sourceRoot":"","sources":["../../../../structured-log/src/services/logger.service.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,UAAU,EAAE,MAAM,EAA0B,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAC,MAAM,EAA2C,YAAY,EAAC,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAC,SAAS,EAAe,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;;AAE7C;;GAEG;AACH,MACa,aAAa;IAEtB,oEAAoE;IAEpE;;OAEG;IACK,OAAO,CAAS;IAExB,iEAAiE;IACjE,YAA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AAM;IACf,QAAQ,EAAE,aAAa;CAC1B,CAAC;AAEF;;GAEG;AAEH,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAE5B,CAAA;AAFK,uBAAuB;IAD5B,YAAY,CAAC,qBAAqB,CAAC;GAC9B,uBAAuB,CAE5B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAiB,uBAAuB,CAAC","sourcesContent":["import {Injectable, Inject, Provider, ClassProvider} from '@angular/core';\nimport {LOGGER, Logger as LoggerInterface, PositionType, TypeProvider} from '@anglr/common';\nimport {configure, Sink, Logger} from 'structured-log';\n\nimport {LOGGER_SINKS} from '../types/tokens';\n\n/**\n * Service used for logging using structured-log\n */\n@Injectable()\nexport class LoggerService implements LoggerInterface\n{\n //######################### private fields #########################\n\n /**\n * Currently used instance of logger\n */\n private _logger: Logger;\n\n //######################### constructor #########################\n constructor(@Inject(LOGGER_SINKS) sinks: Sink[])\n {\n const configuration = configure();\n\n sinks.forEach(sink =>\n {\n configuration.writeTo(sink);\n });\n\n this._logger = configuration.create();\n }\n\n //######################### public methods #########################\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n fatal(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.fatal(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n error(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.error(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n warn(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.warn(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n info(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.info(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n debug(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.debug(errorOrMessageTemplate, properties);\n }\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n verbose(errorOrMessageTemplate: any, ...properties: any[]): void\n {\n this._logger.verbose(errorOrMessageTemplate, properties);\n }\n}\n\n/**\n * Provider for logger that is using structured log implementation\n */\nconst STRUCTURED_LOG_LOGGER: Provider =\n<ClassProvider>\n{\n provide: LOGGER,\n useClass: LoggerService\n};\n\n/**\n * Type that contains provider for structured log logger when used with `provideLogger`\n */\n@TypeProvider(STRUCTURED_LOG_LOGGER)\nclass StructuredLogLoggerType\n{\n}\n\n/**\n * Sets logger to use structured log logger when used with `provideLogger`\n */\nexport const StructuredLogLogger: PositionType = StructuredLogLoggerType;"]}
@@ -1,7 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { LOGGER } from '@anglr/common';
3
2
  import { ConsoleComponentSinkService } from '../services/console/consoleComponentSink.service';
4
- import { LoggerService } from '../services/logger.service';
5
3
  import { ConsoleSinkConfigService } from '../services/console/consoleSinkConfig.service';
6
4
  import { RestSinkService } from '../services/rest/restSink.service';
7
5
  import { DeveloperConsoleSinkService } from '../services/developerConsole/developerConsoleSink.service';
@@ -55,11 +53,4 @@ export const DEVELOPER_CONSOLE_SINK = {
55
53
  useClass: DeveloperConsoleSinkService,
56
54
  multi: true
57
55
  };
58
- /**
59
- * Provider for logger that is using structured log implementation
60
- */
61
- export const STRUCTURED_LOG_LOGGER = {
62
- provide: LOGGER,
63
- useClass: LoggerService
64
- };
65
56
  //# sourceMappingURL=tokens.js.map
@@ -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,2BA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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,5 +1,4 @@
1
- import { ClassProvider } from '@angular/core';
2
- import { Position, PositionResult, PositionOptions } from '@anglr/common';
1
+ import { Position, PositionResult, PositionOptions, PositionType } from '@anglr/common';
3
2
  import { Placement, Middleware } from '@floating-ui/dom';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from "@angular/core";
@@ -32,7 +31,7 @@ export declare class FloatingUiDomPosition implements Position {
32
31
  static ɵprov: i0.ɵɵInjectableDeclaration<FloatingUiDomPosition>;
33
32
  }
34
33
  /**
35
- * Provider for floating ui position implementation
34
+ * Sets position to use floating ui position when used with `providePosition`
36
35
  */
37
- export declare const FLOATING_UI_POSITION: ClassProvider;
36
+ export declare const FloatingUiPosition: PositionType;
38
37
  //# sourceMappingURL=floatingUiDomPosition.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"floatingUiDomPosition.service.d.ts","sourceRoot":"","sources":["floatingUiDomPosition.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,E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OAAO,CAAC,eAAe,CAAC,GAAG,UAAU,CAAC,cAAc,CAAC;IAmFrH;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,eAAe,GAAG,IAAI;IAQ7E;;;;OAIG;IACH,SAAS,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,eAAe,GAAG,IAAI;IA6G/E;;;OAGG;IACH,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,eAAe,GAAG,SAAS;yCA7NnD,qBAAqB;6CAArB,qBAAqB;CAoRjC;AAoBD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,YAAqC,CAAC"}
@@ -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.20230711095959",
3
+ "version": "17.0.0-beta.20230815112307",
4
4
  "description": "Angular module for common angular stuff",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -103,7 +103,7 @@
103
103
  "@angular/material": ">=16.0.3",
104
104
  "@anglr/animations": ">=9.1.0",
105
105
  "rxjs": ">=7.5.7",
106
- "@jscrpt/common": ">=3.4.0",
106
+ "@jscrpt/common": ">=4.0.0",
107
107
  "numeral": "^2.0.6",
108
108
  "angular2-hotkeys": ">=15.0.0",
109
109
  "store": "^2.0.12",
@@ -125,7 +125,7 @@
125
125
  "@angular/material": "^16.0.3",
126
126
  "@anglr/animations": "^9.1.0",
127
127
  "rxjs": "^7.5.7",
128
- "@jscrpt/common": "^3.4.0",
128
+ "@jscrpt/common": "^4.0.0",
129
129
  "angular2-hotkeys": "^15.0.0",
130
130
  "store": "^2.0.12",
131
131
  "structured-log": "^0.2.0",
@@ -0,0 +1,48 @@
1
+ import { OnInit, OnDestroy, EventEmitter, ElementRef, NgZone } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Directive that handles click outside of element
5
+ */
6
+ export declare class ClickOutsideSADirective implements OnInit, OnDestroy {
7
+ protected element: ElementRef<HTMLElement>;
8
+ protected document: Document;
9
+ protected ngZone: NgZone;
10
+ /**
11
+ * Variable that is used for displaying element that handles click outside
12
+ */
13
+ protected ɵclickOutsideCondition: boolean;
14
+ /**
15
+ * Variable that is used for displaying element that handles click outside
16
+ */
17
+ get clickOutsideCondition(): boolean;
18
+ set clickOutsideCondition(value: boolean);
19
+ /**
20
+ * Additional element that is checked for click
21
+ */
22
+ clickOutsideElement: HTMLElement | undefined | null;
23
+ /**
24
+ * Used for emitting event when click outside occurs
25
+ */
26
+ clickOutsideConditionChange: EventEmitter<boolean>;
27
+ constructor(element: ElementRef<HTMLElement>, document: Document, ngZone: NgZone);
28
+ /**
29
+ * Initialize component
30
+ */
31
+ ngOnInit(): void;
32
+ /**
33
+ * Called when component is destroyed
34
+ */
35
+ ngOnDestroy(): void;
36
+ /**
37
+ * Handles click outside of element
38
+ * @param event - Mouse event object
39
+ */
40
+ protected handleClickOutside: (event: MouseEvent) => void;
41
+ /**
42
+ * Custom input type for `clickOutsideCondition` input
43
+ */
44
+ static ngAcceptInputType_clickOutsideCondition: boolean | '';
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideSADirective, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideSADirective, "[clickOutside]", never, { "clickOutsideCondition": { "alias": "clickOutside"; "required": false; }; "clickOutsideElement": { "alias": "clickOutsideElement"; "required": false; }; }, { "clickOutsideConditionChange": "clickOutsideChange"; }, never, never, true, never>;
47
+ }
48
+ //# sourceMappingURL=clickOutside.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clickOutside.directive.d.ts","sourceRoot":"","sources":["clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,SAAS,EAAS,YAAY,EAAU,UAAU,EAAU,MAAM,EAAC,MAAM,eAAe,CAAC;;AAIpH;;GAEG;AACH,qBAKa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IA8CjD,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IACxB,SAAS,CAAC,QAAQ,EAAE,QAAQ;IAC9C,SAAS,CAAC,MAAM,EAAE,MAAM;IA5CpC;;OAEG;IACH,SAAS,CAAC,sBAAsB,EAAE,OAAO,CAAS;IAIlD;;OAEG;IACH,IACW,qBAAqB,IAAI,OAAO,CAG1C;IACD,IAAW,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAU9C;IAED;;OAEG;IAEI,mBAAmB,EAAE,WAAW,GAAC,SAAS,GAAC,IAAI,CAAC;IAIvD;;OAEG;IAEI,2BAA2B,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;gBAGlE,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,EACd,QAAQ,EAAE,QAAQ,EACpC,MAAM,EAAE,MAAM;IAMpC;;OAEG;IACI,QAAQ,IAAI,IAAI;IAUvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAU1B;;;OAGG;IACH,SAAS,CAAC,kBAAkB,UAAW,UAAU,UAUhD;IAID;;OAEG;IACH,OAAc,uCAAuC,EAAE,OAAO,GAAC,EAAE,CAAC;yCArGzD,uBAAuB;2CAAvB,uBAAuB;CAsGnC"}
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Directive that performs browser back button action on click
5
5
  */
6
- export declare class GoBackDirective {
6
+ export declare class GoBackSADirective {
7
7
  private _location;
8
8
  constructor(_location: Location);
9
9
  /**
@@ -11,7 +11,7 @@ export declare class GoBackDirective {
11
11
  * @param event - Mouse event that occured
12
12
  */
13
13
  goBack(event: MouseEvent): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<GoBackDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<GoBackDirective, "[goBack]", never, {}, {}, never, never, false, never>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoBackSADirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GoBackSADirective, "[goBack]", never, {}, {}, never, never, true, never>;
16
16
  }
17
17
  //# sourceMappingURL=goBack.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goBack.directive.d.ts","sourceRoot":"","sources":["goBack.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;;AAEzC;;GAEG;AACH,qBAKa,iBAAiB;IAGd,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,QAAQ;IAMvC;;;OAGG;IAEI,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCAd7B,iBAAiB;2CAAjB,iBAAiB;CAqB7B"}
@@ -1,11 +1,11 @@
1
1
  import { ElementRef, OnChanges, SimpleChanges, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { Func1, NoopAction } from '@jscrpt/common';
3
- import { Position, PositionPlacement, PositionOffsetString, PositionOffsets, PositionArguments, AutoUpdateOptions } from '../../../../services/position';
3
+ import { Position, PositionPlacement, PositionOffsetString, PositionOffsets, PositionArguments, AutoUpdateOptions } from '../../services/position';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Sets position of attached element relative to provided element
7
7
  */
8
- export declare class PositionToDirective implements OnChanges, OnDestroy {
8
+ export declare class PositionToSADirective implements OnChanges, OnDestroy {
9
9
  protected target: ElementRef<HTMLElement>;
10
10
  protected position: Position;
11
11
  /**
@@ -67,7 +67,7 @@ export declare class PositionToDirective implements OnChanges, OnDestroy {
67
67
  * Custom input type for `source` input
68
68
  */
69
69
  static ngAcceptInputType_source: HTMLElement | ElementRef<HTMLElement>;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<PositionToDirective, never>;
71
- static ɵdir: i0.ɵɵDirectiveDeclaration<PositionToDirective, "[positionTo]", never, { "source": { "alias": "positionTo"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "autoUpdate": { "alias": "autoUpdate"; "required": false; }; }, { "flip": "flip"; "done": "done"; }, never, never, false, never>;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<PositionToSADirective, never>;
71
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PositionToSADirective, "[positionTo]", never, { "source": { "alias": "positionTo"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "autoUpdate": { "alias": "autoUpdate"; "required": false; }; }, { "flip": "flip"; "done": "done"; }, never, never, true, never>;
72
72
  }
73
73
  //# sourceMappingURL=positionTo.directive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"positionTo.directive.d.ts","sourceRoot":"","sources":["positionTo.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,SAAS,EAAE,aAAa,EAAkB,YAAY,EAAE,SAAS,E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W,GAAC,SAAS,GAAC,IAAI,CAG9C;IACD,IAAW,MAAM,CAAC,KAAK,EAAE,WAAW,GAAC,SAAS,GAAC,IAAI,EAUlD;IAED;;OAEG;IACH,IACW,SAAS,IAAI,iBAAiB,GAAC,SAAS,GAAC,IAAI,CAGvD;IACD,IAAW,SAAS,CAAC,KAAK,EAAE,iBAAiB,GAAC,SAAS,GAAC,IAAI,EAU3D;IAED;;OAEG;IAEI,MAAM,EAAE,oBAAoB,GAAC,MAAM,GAAC,eAAe,GAAC,KAAK,CAAC,MAAM,GAAC,eAAe,EAAE,iBAAiB,CAAC,CAAU;IAErH;;OAEG;IAEI,UAAU,EAAE,OAAO,GAAC,iBAAiB,CAAQ;IAIpD;;OAEG;IAEI,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAE3D;;OAEG;IAEI,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;gBAGrC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC,EACb,QAAQ,EAAE,QAAQ;IAM1D;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAYhD;;OAEG;IACI,WAAW,IAAI,IAAI;IAO1B;;OAEG;IACH,SAAS,CAAC,cAAc,IAAI,IAAI;IAyChC;;OAEG;IACH,OAAc,2BAA2B,EAAE,iBAAiB,GAAC,SAAS,GAAC,IAAI,GAAC,MAAM,OAAO,iBAAiB,CAAC;IAI3G;;OAEG;IACH,OAAc,wBAAwB,EAAE,WAAW,GAAC,UAAU,CAAC,WAAW,CAAC,CAAC;yCA9KnE,qBAAqB;2CAArB,qBAAqB;CA+KjC"}
package/src/index.d.ts CHANGED
@@ -5,30 +5,31 @@ export { CommonUtilsModule } from './modules/commonUtils.module';
5
5
  export { DebugDataModule } from './modules/debugData/modules/debugData.module';
6
6
  export { DebugDataComponent } from './modules/debugData/components/debugData/debugData.component';
7
7
  export { DebugDataEnabledService } from './modules/debugData/services/debugDataEnabled/debugDataEnabled.service';
8
- export { ClickOutsideDirective } from './modules/clickOutside/directives/clickOutside/clickOutside.directive';
9
- export { ClickOutsideModule } from './modules/clickOutside/modules/clickOutside.module';
10
8
  export { MultiButtonComponent } from './modules/multiButton/components/multiButton/multiButton.component';
11
9
  export { MultiButtonCssClasses } from './modules/multiButton/components/multiButton/multiButton.interface';
12
10
  export { MULTI_BUTTON_CSS_CLASSES } from './modules/multiButton/misc/tokens';
13
11
  export { MultiButtonModule } from './modules/multiButton/modules/multiButton.module';
14
12
  export * from './decorators';
15
13
  export * from './modules/castPipes';
16
- export * from './modules/goBack';
17
- export * from './modules/position';
18
14
  export * from './modules/progressIndicator';
19
15
  export * from './modules/tooltip';
20
16
  export * from './pipes';
21
17
  export * from './types/host';
22
18
  export * from './types/styles';
23
19
  export * from './types/tokens';
20
+ export * from './types/providers';
21
+ export * from './types/providerDecoratedType';
24
22
  export * from './utils';
25
23
  export { CookieService } from './services/cookies/cookies.service';
26
24
  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';
25
+ export { CookiePermanentStorageService, PermanentStorage, PermanentStorageType, CookiePermanentStorage } from './services/permanentStorage';
26
+ export { MemoryTemporaryStorageService, TemporaryStorage, TemporaryStorageType } from './services/temporaryStorage';
27
+ export { NoStringLocalizationService, StringLocalization, StringLocalizationType } from './services/stringLocalization';
28
+ export { Logger, LoggerType } from './services/logger';
31
29
  export * from './directives/bodyRender/bodyRender.directive';
30
+ export * from './directives/clickOutside/clickOutside.directive';
31
+ export * from './directives/goBack/goBack.directive';
32
+ export * from './directives/positionTo/positionTo.directive';
32
33
  export { NgComponentOutletEx } from './directives/ngComponentOutletEx/ngComponentOutletEx.directive';
33
34
  export { APP_STABLE, extractAppStableResolve, runWhenModuleStable, runWhenAppStable } from './utils';
34
35
  export { DEFAULT_NOTIFICATIONS, DefaultNotificationsService, Notification, NotificationSeverity, Notifications, NotificationsOptions, NotificationsProvider, NotificationsScopeProvider, NotificationsScopeProviderFactory } from './services/notifications';
@@ -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,iBAAiB,EAAC,MAAM,kDAAkD,CAAC;AACnF,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAC,aAAa,EAAC,MAAM,oCAAoC,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C3P,cAAc,qBAAqB,CAAC"}
@@ -9,7 +9,7 @@ import * as i5 from "../pipes/keys/keys.pipe";
9
9
  */
10
10
  export declare class CommonUtilsModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonUtilsModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<CommonUtilsModule, [typeof i1.IsNaNPipe, typeof i2.IsPresentPipe, typeof i3.UrlEncodePipe, typeof i4.MergeCssClassesPipe, typeof i5.KeysPipe], never, [typeof i1.IsNaNPipe, typeof i2.IsPresentPipe, typeof i3.UrlEncodePipe, typeof i4.MergeCssClassesPipe, typeof i5.KeysPipe]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CommonUtilsModule, never, [typeof i1.IsNaNSAPipe, typeof i2.IsPresentSAPipe, typeof i3.UrlEncodeSAPipe, typeof i4.MergeCssClassesSAPipe, typeof i5.KeysSAPipe], [typeof i1.IsNaNSAPipe, typeof i2.IsPresentSAPipe, typeof i3.UrlEncodeSAPipe, typeof i4.MergeCssClassesSAPipe, typeof i5.KeysSAPipe]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<CommonUtilsModule>;
14
14
  }
15
15
  //# sourceMappingURL=commonUtils.module.d.ts.map
@@ -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,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xD,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;;AAE7D;;GAEG;AACH,qBAOa,gBAAgB,CAAC,KAAK,GAAG,GAAG,CAAE,YAAW,eAAe,CAAC,KAAK,CAAC,EAAE,aAAa;IAqC3E,SAAS,CAAC,cAAc,EAAE,iBAAiB;IAC3C,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IAlCtD;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,MAAM,IAAI,CAAc;IAE3C;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,MAAM,IAAI,CAAc;IAI3C;;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,cAAc,EAAE,iBAAiB,EACjC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IAMtD;;;;OAIG;IACI,mBAAmB,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM,IAAI,GAAG,IAAI;IAMtE;;OAEG;IACI,iBAAiB,IAAI,IAAI;IAYhC;;;OAGG;IAEH,SAAS,CAAC,UAAU,IAAI,IAAI;IAK5B;;;OAGG;IAEH,SAAS,CAAC,UAAU,IAAI,IAAI;yCArFnB,gBAAgB;2CAAhB,gBAAgB;CAyF5B"}
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Returns true if object is NaN
5
5
  */
6
- export declare class IsNaNPipe implements PipeTransform {
6
+ export declare class IsNaNSAPipe implements PipeTransform {
7
7
  /**
8
8
  * Checks whether is value NaN
9
9
  * @param value - Value to be checked
10
10
  */
11
11
  transform(value: any): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<IsNaNPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<IsNaNPipe, "isNaN", false>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsNaNSAPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsNaNSAPipe, "isNaN", true>;
14
14
  }
15
15
  //# sourceMappingURL=isNaN.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isNaN.pipe.d.ts","sourceRoot":"","sources":["isNaN.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAElD;;GAEG;AACH,qBAIa,SAAU,YAAW,aAAa;IAI3C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;yCAR5B,SAAS;uCAAT,SAAS;CAYrB"}
1
+ {"version":3,"file":"isNaN.pipe.d.ts","sourceRoot":"","sources":["isNaN.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAElD;;GAEG;AACH,qBAKa,WAAY,YAAW,aAAa;IAI7C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;yCAR5B,WAAW;uCAAX,WAAW;CAYvB"}
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Returns true if object is different from null or undefined
5
5
  */
6
- export declare class IsPresentPipe implements PipeTransform {
6
+ export declare class IsPresentSAPipe implements PipeTransform {
7
7
  /**
8
8
  * Checks whether is value different from null or undefined
9
9
  * @param value - Value to be checked
10
10
  */
11
- transform(value: any): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<IsPresentPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<IsPresentPipe, "isPresent", false>;
11
+ transform(value: unknown): boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsPresentSAPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsPresentSAPipe, "isPresent", true>;
14
14
  }
15
15
  //# sourceMappingURL=isPresent.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isPresent.pipe.d.ts","sourceRoot":"","sources":["isPresent.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBAIa,aAAc,YAAW,aAAa;IAI/C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;yCAR5B,aAAa;uCAAb,aAAa;CAYzB"}
1
+ {"version":3,"file":"isPresent.pipe.d.ts","sourceRoot":"","sources":["isPresent.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBAKa,eAAgB,YAAW,aAAa;IAIjD;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;yCARhC,eAAe;uCAAf,eAAe;CAY3B"}
@@ -4,13 +4,13 @@ import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Gets object keys/property names
6
6
  */
7
- export declare class KeysPipe implements PipeTransform {
7
+ export declare class KeysSAPipe implements PipeTransform {
8
8
  /**
9
9
  * Gets object keys/property names
10
10
  * @param value - Object containing keys which will be obtained
11
11
  */
12
12
  transform(value: Dictionary<any>): string[];
13
- static ɵfac: i0.ɵɵFactoryDeclaration<KeysPipe, never>;
14
- static ɵpipe: i0.ɵɵPipeDeclaration<KeysPipe, "keys", false>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeysSAPipe, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<KeysSAPipe, "keys", true>;
15
15
  }
16
16
  //# sourceMappingURL=keys.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keys.pipe.d.ts","sourceRoot":"","sources":["keys.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAU,MAAM,gBAAgB,CAAC;;AAEnD;;GAEG;AACH,qBACa,QAAS,YAAW,aAAa;IAE1C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,EAAE;yCANzC,QAAQ;uCAAR,QAAQ;CAepB"}
1
+ {"version":3,"file":"keys.pipe.d.ts","sourceRoot":"","sources":["keys.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAU,MAAM,gBAAgB,CAAC;;AAEnD;;GAEG;AACH,qBACa,UAAW,YAAW,aAAa;IAE5C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,EAAE;yCANzC,UAAU;uCAAV,UAAU;CAetB"}
@@ -8,14 +8,14 @@ export type NgClassType = string | string[] | Dictionary<boolean>;
8
8
  /**
9
9
  * Merges css classes that will be passed to ngClass
10
10
  */
11
- export declare class MergeCssClassesPipe implements PipeTransform {
11
+ export declare class MergeCssClassesSAPipe implements PipeTransform {
12
12
  /**
13
13
  * Merges css classes that will be passed to ngClass
14
14
  * @param value - Css class to be merged
15
15
  * @param mergeClasses - Definition of css classes that will be merged
16
16
  */
17
17
  transform(value: NgClassType, mergeClasses: NgClassType[]): Dictionary<boolean>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<MergeCssClassesPipe, never>;
19
- static ɵpipe: i0.ɵɵPipeDeclaration<MergeCssClassesPipe, "mergeCssClasses", false>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<MergeCssClassesSAPipe, never>;
19
+ static ɵpipe: i0.ɵɵPipeDeclaration<MergeCssClassesSAPipe, "mergeCssClasses", true>;
20
20
  }
21
21
  //# sourceMappingURL=mergeCssClasses.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mergeCssClasses.pipe.d.ts","sourceRoot":"","sources":["mergeCssClasses.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAW,MAAM,gBAAgB,CAAC;;AAEpD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAElE;;GAEG;AACH,qBACa,mBAAoB,YAAW,aAAa;IAErD;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC;yCAP7E,mBAAmB;uCAAnB,mBAAmB;CA0C/B"}
1
+ {"version":3,"file":"mergeCssClasses.pipe.d.ts","sourceRoot":"","sources":["mergeCssClasses.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAW,MAAM,gBAAgB,CAAC;;AAEpD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAElE;;GAEG;AACH,qBACa,qBAAsB,YAAW,aAAa;IAEvD;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC;yCAP7E,qBAAqB;uCAArB,qBAAqB;CA0CjC"}
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Pipe that encodes data for url
5
5
  */
6
- export declare class UrlEncodePipe implements PipeTransform {
6
+ export declare class UrlEncodeSAPipe implements PipeTransform {
7
7
  /**
8
8
  * Encodes data for URL
9
9
  * @param value - Value to be encoded
10
10
  */
11
11
  transform(value: object): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<UrlEncodePipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<UrlEncodePipe, "urlEncode", false>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<UrlEncodeSAPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<UrlEncodeSAPipe, "urlEncode", true>;
14
14
  }
15
15
  //# sourceMappingURL=urlEncode.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"urlEncode.pipe.d.ts","sourceRoot":"","sources":["urlEncode.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBACa,aAAc,YAAW,aAAa;IAI/C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;yCAR9B,aAAa;uCAAb,aAAa;CAiBzB"}
1
+ {"version":3,"file":"urlEncode.pipe.d.ts","sourceRoot":"","sources":["urlEncode.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBACa,eAAgB,YAAW,aAAa;IAIjD;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;yCAR9B,eAAe;uCAAf,eAAe;CAiB3B"}
@@ -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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