@anglr/common 14.2.0-beta.20220809103327 → 14.2.0

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 (239) hide show
  1. package/changelog.md +26 -0
  2. package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  3. package/es2015/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
  4. package/es2015/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
  5. package/es2015/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
  6. package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  7. package/es2015/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
  8. package/es2015/forms/src/directives/hasError/hasError.directive.js +3 -3
  9. package/es2015/forms/src/directives/hasError/hasError.directive.js.map +1 -1
  10. package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  11. package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  12. package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +18 -7
  13. package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js.map +1 -1
  14. package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  15. package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  16. package/es2015/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
  17. package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -3
  18. package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
  19. package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
  20. package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js +4 -4
  21. package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
  22. package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  23. package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
  24. package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
  25. package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
  26. package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
  27. package/es2015/forms/src/modules/hasError.module.js +4 -4
  28. package/es2015/forms/src/modules/numberInput.module.js +4 -4
  29. package/es2015/forms/src/modules/requiredClass.module.js +4 -4
  30. package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  31. package/es2015/forms/src/services/formModelBuilder/formModelBuilder.service.js +3 -3
  32. package/es2015/forms/src/services/submitted/submitted.service.js +3 -3
  33. package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  34. package/es2015/hotkeys/src/services/appHotkeys.service.js +3 -3
  35. package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -3
  36. package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
  37. package/es2015/material/src/components/titledDialog/titledDialog.component.js +3 -3
  38. package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  39. package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  40. package/es2015/material/src/modules/confirmationDialog.module.js +4 -4
  41. package/es2015/material/src/modules/debugDataCopyClick.module.js +4 -4
  42. package/es2015/material/src/modules/movableTitledDialog.module.js +4 -4
  43. package/es2015/material/src/modules/titledDialog.module.js +4 -4
  44. package/es2015/material/src/services/titledDialog/titledDialog.service.js +3 -3
  45. package/es2015/moment/src/modules/moment.module.js +4 -4
  46. package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  47. package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  48. package/es2015/numeral/src/modules/numeral.module.js +4 -4
  49. package/es2015/numeral/src/pipes/numeral.pipe.js +3 -3
  50. package/es2015/router/src/services/routing/dataRouter.js +3 -3
  51. package/es2015/router/src/services/routing/dataRouterData.js +3 -3
  52. package/es2015/src/directives/bodyRender/bodyRender.directive.js +66 -0
  53. package/es2015/src/directives/bodyRender/bodyRender.directive.js.map +1 -0
  54. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  55. package/es2015/src/index.js +1 -0
  56. package/es2015/src/index.js.map +1 -1
  57. package/es2015/src/modules/castPipes/modules/castPipes.module.js +4 -4
  58. package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  59. package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  60. package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  61. package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  62. package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
  63. package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
  64. package/es2015/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  65. package/es2015/src/modules/commonDynamic.module.js +4 -4
  66. package/es2015/src/modules/commonLocalize.module.js +4 -4
  67. package/es2015/src/modules/commonUtils.module.js +4 -4
  68. package/es2015/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  69. package/es2015/src/modules/debugData/modules/debugData.module.js +4 -4
  70. package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  71. package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  72. package/es2015/src/modules/goBack/modules/goBack.module.js +4 -4
  73. package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  74. package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js.map +1 -1
  75. package/es2015/src/modules/multiButton/modules/multiButton.module.js +4 -4
  76. package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  77. package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js.map +1 -1
  78. package/es2015/src/modules/position/modules/position.module.js +4 -4
  79. package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  80. package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  81. package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
  82. package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  83. package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
  84. package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  85. package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js.map +1 -1
  86. package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  87. package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  88. package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
  89. package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  90. package/es2015/src/modules/tooltip/modules/tooltip.module.js +4 -4
  91. package/es2015/src/pipes/isNaN/isNaN.pipe.js +3 -3
  92. package/es2015/src/pipes/isPresent/isPresent.pipe.js +3 -3
  93. package/es2015/src/pipes/keys/keys.pipe.js +3 -3
  94. package/es2015/src/pipes/localize/localize.pipe.js +7 -3
  95. package/es2015/src/pipes/localize/localize.pipe.js.map +1 -1
  96. package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  97. package/es2015/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  98. package/es2015/src/services/cookies/cookies.service.js +3 -3
  99. package/es2015/src/services/cookies/cookies.service.js.map +1 -1
  100. package/es2015/src/services/notifications/defaultNotifications.service.js +3 -3
  101. package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  102. package/es2015/src/services/statusCode/statusCode.service.js +3 -3
  103. package/es2015/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  104. package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  105. package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  106. package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  107. package/es2015/structured-log/src/components/console/console.component.js +3 -3
  108. package/es2015/structured-log/src/modules/consoleLog.module.js +4 -4
  109. package/es2015/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  110. package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  111. package/es2015/structured-log/src/services/logger.service.js +3 -3
  112. package/es2015/structured-log/src/services/rest/restSink.service.js +3 -3
  113. package/es2015/structured-log/src/services/rest/restSink.service.js.map +1 -1
  114. package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  115. package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  116. package/es2020/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
  117. package/es2020/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
  118. package/es2020/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
  119. package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  120. package/es2020/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
  121. package/es2020/forms/src/directives/hasError/hasError.directive.js +3 -3
  122. package/es2020/forms/src/directives/hasError/hasError.directive.js.map +1 -1
  123. package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  124. package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  125. package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +18 -7
  126. package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js.map +1 -1
  127. package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  128. package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  129. package/es2020/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
  130. package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -3
  131. package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
  132. package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
  133. package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js +4 -4
  134. package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
  135. package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  136. package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
  137. package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
  138. package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
  139. package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
  140. package/es2020/forms/src/modules/hasError.module.js +4 -4
  141. package/es2020/forms/src/modules/numberInput.module.js +4 -4
  142. package/es2020/forms/src/modules/requiredClass.module.js +4 -4
  143. package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  144. package/es2020/forms/src/services/formModelBuilder/formModelBuilder.service.js +3 -3
  145. package/es2020/forms/src/services/submitted/submitted.service.js +3 -3
  146. package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  147. package/es2020/hotkeys/src/services/appHotkeys.service.js +3 -3
  148. package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -3
  149. package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
  150. package/es2020/material/src/components/titledDialog/titledDialog.component.js +3 -3
  151. package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  152. package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  153. package/es2020/material/src/modules/confirmationDialog.module.js +4 -4
  154. package/es2020/material/src/modules/debugDataCopyClick.module.js +4 -4
  155. package/es2020/material/src/modules/movableTitledDialog.module.js +4 -4
  156. package/es2020/material/src/modules/titledDialog.module.js +4 -4
  157. package/es2020/material/src/services/titledDialog/titledDialog.service.js +3 -3
  158. package/es2020/moment/src/modules/moment.module.js +4 -4
  159. package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  160. package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  161. package/es2020/numeral/src/modules/numeral.module.js +4 -4
  162. package/es2020/numeral/src/pipes/numeral.pipe.js +3 -3
  163. package/es2020/router/src/services/routing/dataRouter.js +3 -3
  164. package/es2020/router/src/services/routing/dataRouterData.js +3 -3
  165. package/es2020/src/directives/bodyRender/bodyRender.directive.js +65 -0
  166. package/es2020/src/directives/bodyRender/bodyRender.directive.js.map +1 -0
  167. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  168. package/es2020/src/index.js +1 -0
  169. package/es2020/src/index.js.map +1 -1
  170. package/es2020/src/modules/castPipes/modules/castPipes.module.js +4 -4
  171. package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  172. package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  173. package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  174. package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  175. package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
  176. package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
  177. package/es2020/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  178. package/es2020/src/modules/commonDynamic.module.js +4 -4
  179. package/es2020/src/modules/commonLocalize.module.js +4 -4
  180. package/es2020/src/modules/commonUtils.module.js +4 -4
  181. package/es2020/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  182. package/es2020/src/modules/debugData/modules/debugData.module.js +4 -4
  183. package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  184. package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  185. package/es2020/src/modules/goBack/modules/goBack.module.js +4 -4
  186. package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  187. package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js.map +1 -1
  188. package/es2020/src/modules/multiButton/modules/multiButton.module.js +4 -4
  189. package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  190. package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js.map +1 -1
  191. package/es2020/src/modules/position/modules/position.module.js +4 -4
  192. package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  193. package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  194. package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
  195. package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  196. package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
  197. package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  198. package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js.map +1 -1
  199. package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  200. package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  201. package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
  202. package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  203. package/es2020/src/modules/tooltip/modules/tooltip.module.js +4 -4
  204. package/es2020/src/pipes/isNaN/isNaN.pipe.js +3 -3
  205. package/es2020/src/pipes/isPresent/isPresent.pipe.js +3 -3
  206. package/es2020/src/pipes/keys/keys.pipe.js +3 -3
  207. package/es2020/src/pipes/localize/localize.pipe.js +7 -3
  208. package/es2020/src/pipes/localize/localize.pipe.js.map +1 -1
  209. package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  210. package/es2020/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  211. package/es2020/src/services/cookies/cookies.service.js +3 -3
  212. package/es2020/src/services/cookies/cookies.service.js.map +1 -1
  213. package/es2020/src/services/notifications/defaultNotifications.service.js +3 -3
  214. package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  215. package/es2020/src/services/statusCode/statusCode.service.js +3 -3
  216. package/es2020/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  217. package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  218. package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  219. package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  220. package/es2020/structured-log/src/components/console/console.component.js +3 -3
  221. package/es2020/structured-log/src/modules/consoleLog.module.js +4 -4
  222. package/es2020/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  223. package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  224. package/es2020/structured-log/src/services/logger.service.js +3 -3
  225. package/es2020/structured-log/src/services/rest/restSink.service.js +3 -3
  226. package/es2020/structured-log/src/services/rest/restSink.service.js.map +1 -1
  227. package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  228. package/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.d.ts +11 -3
  229. package/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.d.ts.map +1 -1
  230. package/package.json +1 -1
  231. package/src/directives/bodyRender/bodyRender.directive.d.ts +36 -0
  232. package/src/directives/bodyRender/bodyRender.directive.d.ts.map +1 -0
  233. package/src/index.d.ts +1 -0
  234. package/src/index.d.ts.map +1 -1
  235. package/src/modules/position/directives/positionTo/positionTo.directive.d.ts +2 -2
  236. package/src/modules/position/directives/positionTo/positionTo.directive.d.ts.map +1 -1
  237. package/src/pipes/localize/localize.pipe.d.ts +1 -1
  238. package/src/pipes/localize/localize.pipe.d.ts.map +1 -1
  239. package/version.bak +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cookies.service.js","sourceRoot":"","sources":["../../../../src/services/cookies/cookies.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACxE,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAC,0BAA0B,EAAC,MAAM,oBAAoB,CAAC;;AAE9D;;GAEG;AAEH,MAAM,OAAO,aAAa;IAStB,iEAAiE;IACjE,YAAiC,UAAkB,EACiB,cAAsB;QAAtB,mBAAc,GAAd,cAAc,CAAQ;QAT1F,oEAAoE;QAEpE;;WAEG;QACK,eAAU,GAAY,KAAK,CAAC;QAMhC,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IAEpE;;;;;;OAMG;IACI,SAAS,CAAC,IAAY,EAAE,iBAA2B;QAEtD,IAAG,CAAC,IAAI,CAAC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EACnD;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAEhC,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,GAAG,gBAAgB,EAAE,GAAG,CAAC,CAAC;QACnF,IAAI,MAAM,CAAC;QAEX,IAAG,OAAO,CAAC,IAAI,CAA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,CAAC;SACzC;QAED,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;IAChC,CAAC;IAED;;;;;;OAMG;IACI,YAAY,CAAC,IAAY,EAAE,IAAa,EAAE,MAAe;QAE5D,IAAG,CAAC,IAAI,CAAC,UAAU,EACnB;YACI,OAAO;SACV;QAED,uBAAuB;QACvB,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EACxB;YACI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;SAC9C;IACL,CAAC;;0GAlHQ,aAAa,kBAUF,WAAW,aACC,0BAA0B;8GAXjD,aAAa,cADD,MAAM;2FAClB,aAAa;kBADzB,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;0DAWiB,MAAM;0BAAtC,MAAM;2BAAC,WAAW;;0BAClB,QAAQ;;0BAAI,MAAM;2BAAC,0BAA0B","sourcesContent":["import {PLATFORM_ID, Inject, Optional, Injectable} from '@angular/core';\nimport {isPlatformBrowser} from '@angular/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {HTTP_REQUEST_COOKIE_HEADER} from '../../types/tokens';\n\n/**\n * Class that is used as wrapper for working with cookies\n */\n@Injectable({providedIn: 'root'})\nexport class CookieService\n{\n //######################### private fields #########################\n\n /**\n * Indication that current code is running in browser\n */\n private _isBrowser: boolean = false;\n\n //######################### constructor #########################\n constructor(@Inject(PLATFORM_ID) platformId: Object,\n @Optional() @Inject(HTTP_REQUEST_COOKIE_HEADER) private _serverCookies: string)\n {\n this._isBrowser = isPlatformBrowser(platformId);\n }\n\n //######################### public methods #########################\n\n /**\n * Retrieves a single cookie by it's name\n *\n * @param name - Identification of the Cookie\n * @param skipSerialization - Indication whether skip deserialization from json string\n * @returns The Cookie's value\n */\n public getCookie(name: string, skipSerialization?: boolean): any\n {\n if(!this._isBrowser && isBlank(this._serverCookies))\n {\n return null;\n }\n\n name = encodeURIComponent(name);\n \n const regexp = new RegExp('(?:^' + name + '|;\\\\s*' + name + ')=(.*?)(?:;|$)', 'g');\n let result;\n\n if(isBlank(this._serverCookies))\n {\n result = regexp.exec(document.cookie);\n }\n else\n {\n result = regexp.exec(this._serverCookies);\n }\n\n if(result === null)\n {\n return null;\n }\n\n const val = decodeURIComponent(result[1]);\n\n return skipSerialization ? val : JSON.parse(val);\n }\n\n /**\n * Save the Cookie\n *\n * @param name - Cookie's identification\n * @param value - Cookie's value\n * @param expires - Cookie's expiration date in days from now. If it's undefined the cookie is a session Cookie\n * @param path - Path relative to the domain where the cookie should be avaiable. Default /\n * @param domain - Domain where the cookie should be avaiable. Default current domain\n * @param skipSerialization - Indication whether skip serialization to json string\n */\n public setCookie(name: string, value: any, expires?: number, path?: string, domain?: string, skipSerialization?: boolean): void\n {\n if(!this._isBrowser)\n {\n return;\n }\n\n const val = skipSerialization ? value : JSON.stringify(value);\n let cookieStr = encodeURIComponent(name) + '=' + encodeURIComponent(val) + ';';\n\n if (expires)\n {\n const dtExpires = new Date(new Date().getTime() + expires * 1000 * 60 * 60 * 24);\n cookieStr += 'expires=' + dtExpires.toUTCString() + ';';\n }\n \n if (path)\n {\n cookieStr += 'path=' + path + ';';\n }\n \n if (domain)\n {\n cookieStr += 'domain=' + domain + ';';\n }\n\n document.cookie = cookieStr;\n }\n\n /**\n * Removes specified Cookie\n *\n * @param name - Cookie's identification\n * @param path - Path relative to the domain where the cookie should be avaiable. Default /\n * @param domain - Domain where the cookie should be avaiable. Default current domain\n */\n public deleteCookie(name: string, path?: string, domain?: string): void\n {\n if(!this._isBrowser)\n {\n return;\n }\n\n // If the cookie exists\n if (this.getCookie(name))\n {\n this.setCookie(name, '', -1, path, domain);\n }\n }\n}"]}
1
+ {"version":3,"file":"cookies.service.js","sourceRoot":"","sources":["../../../../src/services/cookies/cookies.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAC,MAAM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Aa,kBAUF,WAAW,aACC,0BAA0B;8GAXjD,aAAa,cADD,MAAM;2FAClB,aAAa;kBADzB,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;0BAWf,MAAM;2BAAC,WAAW;;0BAClB,QAAQ;;0BAAI,MAAM;2BAAC,0BAA0B","sourcesContent":["import {PLATFORM_ID, Inject, Optional, Injectable} from '@angular/core';\nimport {isPlatformBrowser} from '@angular/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {HTTP_REQUEST_COOKIE_HEADER} from '../../types/tokens';\n\n/**\n * Class that is used as wrapper for working with cookies\n */\n@Injectable({providedIn: 'root'})\nexport class CookieService\n{\n //######################### private fields #########################\n\n /**\n * Indication that current code is running in browser\n */\n private _isBrowser: boolean = false;\n\n //######################### constructor #########################\n constructor(@Inject(PLATFORM_ID) platformId: Object,\n @Optional() @Inject(HTTP_REQUEST_COOKIE_HEADER) private _serverCookies: string)\n {\n this._isBrowser = isPlatformBrowser(platformId);\n }\n\n //######################### public methods #########################\n\n /**\n * Retrieves a single cookie by it's name\n *\n * @param name - Identification of the Cookie\n * @param skipSerialization - Indication whether skip deserialization from json string\n * @returns The Cookie's value\n */\n public getCookie(name: string, skipSerialization?: boolean): any\n {\n if(!this._isBrowser && isBlank(this._serverCookies))\n {\n return null;\n }\n\n name = encodeURIComponent(name);\n \n const regexp = new RegExp('(?:^' + name + '|;\\\\s*' + name + ')=(.*?)(?:;|$)', 'g');\n let result;\n\n if(isBlank(this._serverCookies))\n {\n result = regexp.exec(document.cookie);\n }\n else\n {\n result = regexp.exec(this._serverCookies);\n }\n\n if(result === null)\n {\n return null;\n }\n\n const val = decodeURIComponent(result[1]);\n\n return skipSerialization ? val : JSON.parse(val);\n }\n\n /**\n * Save the Cookie\n *\n * @param name - Cookie's identification\n * @param value - Cookie's value\n * @param expires - Cookie's expiration date in days from now. If it's undefined the cookie is a session Cookie\n * @param path - Path relative to the domain where the cookie should be avaiable. Default /\n * @param domain - Domain where the cookie should be avaiable. Default current domain\n * @param skipSerialization - Indication whether skip serialization to json string\n */\n public setCookie(name: string, value: any, expires?: number, path?: string, domain?: string, skipSerialization?: boolean): void\n {\n if(!this._isBrowser)\n {\n return;\n }\n\n const val = skipSerialization ? value : JSON.stringify(value);\n let cookieStr = encodeURIComponent(name) + '=' + encodeURIComponent(val) + ';';\n\n if (expires)\n {\n const dtExpires = new Date(new Date().getTime() + expires * 1000 * 60 * 60 * 24);\n cookieStr += 'expires=' + dtExpires.toUTCString() + ';';\n }\n \n if (path)\n {\n cookieStr += 'path=' + path + ';';\n }\n \n if (domain)\n {\n cookieStr += 'domain=' + domain + ';';\n }\n\n document.cookie = cookieStr;\n }\n\n /**\n * Removes specified Cookie\n *\n * @param name - Cookie's identification\n * @param path - Path relative to the domain where the cookie should be avaiable. Default /\n * @param domain - Domain where the cookie should be avaiable. Default current domain\n */\n public deleteCookie(name: string, path?: string, domain?: string): void\n {\n if(!this._isBrowser)\n {\n return;\n }\n\n // If the cookie exists\n if (this.getCookie(name))\n {\n this.setCookie(name, '', -1, path, domain);\n }\n }\n}"]}
@@ -178,9 +178,9 @@ export class DefaultNotificationsService {
178
178
  return this;
179
179
  }
180
180
  }
181
- DefaultNotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultNotificationsService, deps: [{ token: i1.NotificationsOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
182
- DefaultNotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultNotificationsService });
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultNotificationsService, decorators: [{
181
+ DefaultNotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DefaultNotificationsService, deps: [{ token: i1.NotificationsOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
182
+ DefaultNotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DefaultNotificationsService });
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DefaultNotificationsService, decorators: [{
184
184
  type: Injectable
185
185
  }], ctorParameters: function () { return [{ type: i1.NotificationsOptions, decorators: [{
186
186
  type: Optional
@@ -35,9 +35,9 @@ export class CookiePermanentStorageService {
35
35
  this._cookies.deleteCookie(name, '/');
36
36
  }
37
37
  }
38
- CookiePermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookiePermanentStorageService, deps: [{ token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
39
- CookiePermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookiePermanentStorageService });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CookiePermanentStorageService, decorators: [{
38
+ CookiePermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: CookiePermanentStorageService, deps: [{ token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
39
+ CookiePermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: CookiePermanentStorageService });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: CookiePermanentStorageService, decorators: [{
41
41
  type: Injectable
42
42
  }], ctorParameters: function () { return [{ type: i1.CookieService }]; } });
43
43
  //# sourceMappingURL=cookiePermanentStorage.service.js.map
@@ -20,9 +20,9 @@ export class StatusCodeService {
20
20
  this._statusCode = code;
21
21
  }
22
22
  }
23
- StatusCodeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StatusCodeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
24
- StatusCodeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StatusCodeService, providedIn: 'root' });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StatusCodeService, decorators: [{
23
+ StatusCodeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StatusCodeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
24
+ StatusCodeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StatusCodeService, providedIn: 'root' });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StatusCodeService, decorators: [{
26
26
  type: Injectable,
27
27
  args: [{ providedIn: 'root' }]
28
28
  }] });
@@ -35,9 +35,9 @@ export class NoStringLocalizationService {
35
35
  return key;
36
36
  }
37
37
  }
38
- NoStringLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NoStringLocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
- NoStringLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NoStringLocalizationService });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NoStringLocalizationService, decorators: [{
38
+ NoStringLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NoStringLocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
+ NoStringLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NoStringLocalizationService });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NoStringLocalizationService, decorators: [{
41
41
  type: Injectable
42
42
  }] });
43
43
  //# sourceMappingURL=noStringLocalization.service.js.map
@@ -35,9 +35,9 @@ export class MemoryTemporaryStorageService {
35
35
  delete this._memory[name];
36
36
  }
37
37
  }
38
- MemoryTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MemoryTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
- MemoryTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MemoryTemporaryStorageService });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MemoryTemporaryStorageService, decorators: [{
38
+ MemoryTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MemoryTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
+ MemoryTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MemoryTemporaryStorageService });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MemoryTemporaryStorageService, decorators: [{
41
41
  type: Injectable
42
42
  }] });
43
43
  //# sourceMappingURL=memoryTemporaryStorage.service.js.map
@@ -41,9 +41,9 @@ export class LocalPermanentStorageService {
41
41
  store.remove(name);
42
42
  }
43
43
  }
44
- LocalPermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalPermanentStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
- LocalPermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalPermanentStorageService });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LocalPermanentStorageService, decorators: [{
44
+ LocalPermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LocalPermanentStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
+ LocalPermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LocalPermanentStorageService });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LocalPermanentStorageService, decorators: [{
47
47
  type: Injectable
48
48
  }], ctorParameters: function () { return []; } });
49
49
  //# sourceMappingURL=localPermanentStorage.service.js.map
@@ -29,9 +29,9 @@ export class SessionTemporaryStorageService {
29
29
  store.remove(name);
30
30
  }
31
31
  }
32
- SessionTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
33
- SessionTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionTemporaryStorageService });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SessionTemporaryStorageService, decorators: [{
32
+ SessionTemporaryStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SessionTemporaryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
33
+ SessionTemporaryStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SessionTemporaryStorageService });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SessionTemporaryStorageService, decorators: [{
35
35
  type: Injectable
36
36
  }] });
37
37
  //# sourceMappingURL=sessionTemporaryStorage.service.js.map
@@ -83,9 +83,9 @@ export class ConsoleComponent {
83
83
  }
84
84
  }
85
85
  }
86
- ConsoleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponent, deps: [{ token: CONSOLE_COMPONENT_SINK_SERVICE }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
87
- ConsoleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ConsoleComponent, selector: "console", ngImport: i0, template: "<div class=\"console-data thin-scrollbar\">\n <div class=\"console-log\" [ngClass]=\"log?.logLevel\" *ngFor=\"let log of currentLogs\">\n <div class=\"console-log-icon fa\" [class.fa-angle-right]=\"!log?.expanded\" [class.fa-angle-down]=\"log?.expanded\" (click)=\"log.expanded = !log.expanded\"></div>\n <div class=\"console-log-text\" [class.expanded]=\"log?.expanded\" (click)=\"copyMessage(log?.text)\">{{log?.text}}</div>\n </div>\n\n <div class=\"clear-icon\" (click)=\"clear()\" title=\"clear log\">\n <div class=\"fa fa-times\"></div>\n </div>\n\n <div class=\"copy-icon\" (click)=\"copy()\" title=\"copy to clipboard\" *ngIf=\"canCopy\">\n <div class=\"fa fa-copy\"></div>\n </div>\n</div>\n\n<div class=\"console-filter\">\n <input type=\"text\" placeholder=\"Filter messages\" (input)=\"filterValue = $any($event.target).value; setMessages()\">\n</div>", styles: [":host\n{\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n height: 50%;\n}\n\n.console-data\n{\n background-color: #000000c7;\n border: none;\n border-bottom: 1px solid #AAA;\n border-radius: 0;\n color: #EEE;\n flex: 1;\n min-height: 0;\n min-width: 0;\n overflow-y: auto;\n overflow-x: hidden;\n cursor: pointer;\n}\n\n.console-filter\n{\n align-self: stretch;\n}\n\n.console-filter input\n{\n width: 100%;\n background-color: #000000c7;\n color: #FFF;\n border: none;\n border-bottom: 1px solid #AAA;\n padding: 0 4px;\n}\n\n.copy-icon,\n.clear-icon\n{\n position: absolute;\n top: 0;\n right: 0;\n padding: 4px 14px;\n}\n\n.copy-icon\n{\n margin-right: 20px;\n}\n\n.clear-icon div:hover,\n.copy-icon div:hover\n{\n color: #31A1FF;\n cursor: pointer;\n}\n\n.console-log\n{\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 12px;\n display: flex;\n flex-direction: row;\n}\n\n.console-log.error,\n.console-log.fatal\n{\n color: #FF3131;\n}\n\n.console-log.warning\n{\n color: #FFC531;\n}\n\n.console-log.debug,\n.console-log.verbose\n{\n color: #31A1FF;\n}\n\n.console-log-icon\n{\n color: #FFF;\n font-weight: bold;\n margin: 2px 4px 0;\n}\n\n.console-log-icon.fa-angle-down\n{\n margin: 3px 3px 0 2px;\n}\n\n.console-log-text\n{\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.console-log-text.expanded\n{\n white-space: pre;\n text-overflow: initial;\n}"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponent, decorators: [{
86
+ ConsoleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleComponent, deps: [{ token: CONSOLE_COMPONENT_SINK_SERVICE }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
87
+ ConsoleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ConsoleComponent, selector: "console", ngImport: i0, template: "<div class=\"console-data thin-scrollbar\">\n <div class=\"console-log\" [ngClass]=\"log?.logLevel\" *ngFor=\"let log of currentLogs\">\n <div class=\"console-log-icon fa\" [class.fa-angle-right]=\"!log?.expanded\" [class.fa-angle-down]=\"log?.expanded\" (click)=\"log.expanded = !log.expanded\"></div>\n <div class=\"console-log-text\" [class.expanded]=\"log?.expanded\" (click)=\"copyMessage(log?.text)\">{{log?.text}}</div>\n </div>\n\n <div class=\"clear-icon\" (click)=\"clear()\" title=\"clear log\">\n <div class=\"fa fa-times\"></div>\n </div>\n\n <div class=\"copy-icon\" (click)=\"copy()\" title=\"copy to clipboard\" *ngIf=\"canCopy\">\n <div class=\"fa fa-copy\"></div>\n </div>\n</div>\n\n<div class=\"console-filter\">\n <input type=\"text\" placeholder=\"Filter messages\" (input)=\"filterValue = $any($event.target).value; setMessages()\">\n</div>", styles: [":host\n{\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n height: 50%;\n}\n\n.console-data\n{\n background-color: #000000c7;\n border: none;\n border-bottom: 1px solid #AAA;\n border-radius: 0;\n color: #EEE;\n flex: 1;\n min-height: 0;\n min-width: 0;\n overflow-y: auto;\n overflow-x: hidden;\n cursor: pointer;\n}\n\n.console-filter\n{\n align-self: stretch;\n}\n\n.console-filter input\n{\n width: 100%;\n background-color: #000000c7;\n color: #FFF;\n border: none;\n border-bottom: 1px solid #AAA;\n padding: 0 4px;\n}\n\n.copy-icon,\n.clear-icon\n{\n position: absolute;\n top: 0;\n right: 0;\n padding: 4px 14px;\n}\n\n.copy-icon\n{\n margin-right: 20px;\n}\n\n.clear-icon div:hover,\n.copy-icon div:hover\n{\n color: #31A1FF;\n cursor: pointer;\n}\n\n.console-log\n{\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 12px;\n display: flex;\n flex-direction: row;\n}\n\n.console-log.error,\n.console-log.fatal\n{\n color: #FF3131;\n}\n\n.console-log.warning\n{\n color: #FFC531;\n}\n\n.console-log.debug,\n.console-log.verbose\n{\n color: #31A1FF;\n}\n\n.console-log-icon\n{\n color: #FFF;\n font-weight: bold;\n margin: 2px 4px 0;\n}\n\n.console-log-icon.fa-angle-down\n{\n margin: 3px 3px 0 2px;\n}\n\n.console-log-text\n{\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.console-log-text.expanded\n{\n white-space: pre;\n text-overflow: initial;\n}"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{ selector: 'console', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"console-data thin-scrollbar\">\n <div class=\"console-log\" [ngClass]=\"log?.logLevel\" *ngFor=\"let log of currentLogs\">\n <div class=\"console-log-icon fa\" [class.fa-angle-right]=\"!log?.expanded\" [class.fa-angle-down]=\"log?.expanded\" (click)=\"log.expanded = !log.expanded\"></div>\n <div class=\"console-log-text\" [class.expanded]=\"log?.expanded\" (click)=\"copyMessage(log?.text)\">{{log?.text}}</div>\n </div>\n\n <div class=\"clear-icon\" (click)=\"clear()\" title=\"clear log\">\n <div class=\"fa fa-times\"></div>\n </div>\n\n <div class=\"copy-icon\" (click)=\"copy()\" title=\"copy to clipboard\" *ngIf=\"canCopy\">\n <div class=\"fa fa-copy\"></div>\n </div>\n</div>\n\n<div class=\"console-filter\">\n <input type=\"text\" placeholder=\"Filter messages\" (input)=\"filterValue = $any($event.target).value; setMessages()\">\n</div>", styles: [":host\n{\n display: flex;\n flex-direction: column;\n position: absolute;\n width: 100%;\n height: 50%;\n}\n\n.console-data\n{\n background-color: #000000c7;\n border: none;\n border-bottom: 1px solid #AAA;\n border-radius: 0;\n color: #EEE;\n flex: 1;\n min-height: 0;\n min-width: 0;\n overflow-y: auto;\n overflow-x: hidden;\n cursor: pointer;\n}\n\n.console-filter\n{\n align-self: stretch;\n}\n\n.console-filter input\n{\n width: 100%;\n background-color: #000000c7;\n color: #FFF;\n border: none;\n border-bottom: 1px solid #AAA;\n padding: 0 4px;\n}\n\n.copy-icon,\n.clear-icon\n{\n position: absolute;\n top: 0;\n right: 0;\n padding: 4px 14px;\n}\n\n.copy-icon\n{\n margin-right: 20px;\n}\n\n.clear-icon div:hover,\n.copy-icon div:hover\n{\n color: #31A1FF;\n cursor: pointer;\n}\n\n.console-log\n{\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 12px;\n display: flex;\n flex-direction: row;\n}\n\n.console-log.error,\n.console-log.fatal\n{\n color: #FF3131;\n}\n\n.console-log.warning\n{\n color: #FFC531;\n}\n\n.console-log.debug,\n.console-log.verbose\n{\n color: #31A1FF;\n}\n\n.console-log-icon\n{\n color: #FFF;\n font-weight: bold;\n margin: 2px 4px 0;\n}\n\n.console-log-icon.fa-angle-down\n{\n margin: 3px 3px 0 2px;\n}\n\n.console-log-text\n{\n flex: 1;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.console-log-text.expanded\n{\n white-space: pre;\n text-overflow: initial;\n}"] }]
91
91
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -22,10 +22,10 @@ export class ConsoleLogModule {
22
22
  };
23
23
  }
24
24
  }
25
- ConsoleLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
- ConsoleLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, declarations: [ConsoleComponent], imports: [CommonModule], exports: [ConsoleComponent] });
27
- ConsoleLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, imports: [CommonModule] });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleLogModule, decorators: [{
25
+ ConsoleLogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleLogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
+ ConsoleLogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: ConsoleLogModule, declarations: [ConsoleComponent], imports: [CommonModule], exports: [ConsoleComponent] });
27
+ ConsoleLogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleLogModule, imports: [CommonModule] });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleLogModule, decorators: [{
29
29
  type: NgModule,
30
30
  args: [{
31
31
  imports: [
@@ -88,9 +88,9 @@ export class ConsoleComponentSinkService {
88
88
  }
89
89
  }
90
90
  }
91
- ConsoleComponentSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponentSinkService, deps: [{ token: i1.ConsoleSinkConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
92
- ConsoleComponentSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponentSinkService });
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleComponentSinkService, decorators: [{
91
+ ConsoleComponentSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleComponentSinkService, deps: [{ token: i1.ConsoleSinkConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
92
+ ConsoleComponentSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleComponentSinkService });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleComponentSinkService, decorators: [{
94
94
  type: Injectable
95
95
  }], ctorParameters: function () { return [{ type: i1.ConsoleSinkConfigService }]; } });
96
96
  //# sourceMappingURL=consoleComponentSink.service.js.map
@@ -29,9 +29,9 @@ export class ConsoleSinkConfigService {
29
29
  }
30
30
  }
31
31
  }
32
- ConsoleSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleSinkConfigService, deps: [{ token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
33
- ConsoleSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleSinkConfigService, providedIn: 'root', useFactory: () => new ConsoleSinkConfigService() });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ConsoleSinkConfigService, decorators: [{
32
+ ConsoleSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleSinkConfigService, deps: [{ token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
33
+ ConsoleSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleSinkConfigService, providedIn: 'root', useFactory: () => new ConsoleSinkConfigService() });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConsoleSinkConfigService, decorators: [{
35
35
  type: Injectable,
36
36
  args: [{ providedIn: 'root', useFactory: () => new ConsoleSinkConfigService() }]
37
37
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -33,9 +33,9 @@ export class LoggerService {
33
33
  this._logger.verbose(errorOrMessageTemplate, properties);
34
34
  }
35
35
  }
36
- LoggerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LoggerService, deps: [{ token: LOGGER_SINKS }], target: i0.ɵɵFactoryTarget.Injectable });
37
- LoggerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LoggerService });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: LoggerService, decorators: [{
36
+ LoggerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LoggerService, deps: [{ token: LOGGER_SINKS }], target: i0.ɵɵFactoryTarget.Injectable });
37
+ LoggerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LoggerService });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: LoggerService, decorators: [{
39
39
  type: Injectable
40
40
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
41
41
  type: Inject,
@@ -104,9 +104,9 @@ export class RestSinkService {
104
104
  }
105
105
  }
106
106
  }
107
- RestSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkService, deps: [{ token: i1.RestSinkConfigService }, { token: APP_STABLE }, { token: LOGGER_REST_CLIENT }], target: i0.ɵɵFactoryTarget.Injectable });
108
- RestSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkService });
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkService, decorators: [{
107
+ RestSinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RestSinkService, deps: [{ token: i1.RestSinkConfigService }, { token: APP_STABLE }, { token: LOGGER_REST_CLIENT }], target: i0.ɵɵFactoryTarget.Injectable });
108
+ RestSinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RestSinkService });
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RestSinkService, decorators: [{
110
110
  type: Injectable
111
111
  }], ctorParameters: function () { return [{ type: i1.RestSinkConfigService }, { type: Promise, decorators: [{
112
112
  type: Inject,
@@ -1 +1 @@
1
- {"version":3,"file":"restSink.service.js","sourceRoot":"","sources":["../../../../../structured-log/src/services/rest/restSink.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAiB,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAC,MAAM,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAC,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;;;AAGtD;;GAEG;AAEH,MAAM,OAAO,eAAe;IAmBxB,iEAAiE;IACjE,YAAoB,UA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AAC,MAAM,EAC/I;YACI,uBAAuB,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;SACjE;IACL,CAAC;;4GA7IQ,eAAe,uDAqBJ,UAAU,aACV,kBAAkB;gHAtB7B,eAAe;2FAAf,eAAe;kBAD3B,UAAU;8FAsBmC,OAAO;0BAApC,MAAM;2BAAC,UAAU;;0BACjB,MAAM;2BAAC,kBAAkB","sourcesContent":["import {Injectable, Inject} from '@angular/core';\nimport {APP_STABLE} from '@anglr/common';\nimport {isPresent} from '@jscrpt/common';\nimport {Sink, LogEvent, LogEventLevel} from 'structured-log';\n\nimport {toText, isEnabled} from '../../misc/utils';\nimport {RestSinkConfigService} from './restSinkConfig.service';\nimport {LOGGER_REST_CLIENT} from '../../types/tokens';\nimport {LoggerRestClient, RestLog} from '../../types/logger.interface';\n\n/**\n * Sink that is used for storing logs using REST\n */\n@Injectable()\nexport class RestSinkService implements Sink\n{\n //######################### private fields #########################\n\n /**\n * Indication that prototype of MessageTemplate was updated\n */\n private _prototypeUpdated: boolean = false;\n\n /**\n * Array of unflushed logs\n */\n private _logs: RestLog[] = [];\n\n /**\n * Interval timer id\n */\n private _timer: number;\n\n //######################### constructor #########################\n constructor(private _configSvc: RestSinkConfigService,\n @Inject(APP_STABLE) isStable: Promise<void>,\n @Inject(LOGGER_REST_CLIENT) private _restClient: LoggerRestClient)\n {\n isStable.then(() =>\n {\n this._timer = setInterval(() =>\n {\n this.flush();\n }, this._configSvc.secondsToFlushAfter * 1000) as any;\n });\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n if(isPresent(this._timer))\n {\n clearInterval(this._timer);\n }\n\n this.flush();\n }\n\n //######################### public methods - implementation of Sink #########################\n\n /**\n * Emits events into log\n * @param events - Events to be emitted\n */\n public emit(events: LogEvent[]): void\n {\n if(!events || !events.length)\n {\n return;\n }\n\n let forceFlush = false;\n\n events.forEach(e =>\n {\n if(!this._prototypeUpdated)\n {\n this._updatePrototype(e);\n\n this._prototypeUpdated = true;\n }\n\n if (!isEnabled(this._configSvc.restrictToLevel, e.level))\n {\n return;\n }\n\n const logLevel = LogEventLevel[e.level].toUpperCase();\n const timestamp = e.timestamp;\n const message = e.messageTemplate.render(e.properties);\n\n this._logs.push(\n {\n logLevel,\n message,\n timestamp\n });\n\n if (isEnabled(this._configSvc.immediateFlushMinLevel, e.level))\n {\n forceFlush = true;\n }\n });\n\n //flush if number of records is bigger than max or flush is required\n if(forceFlush || this._logs.length >= this._configSvc.flushAfterNumberOfLogs)\n {\n this.flush();\n }\n }\n\n /**\n * Flushes logs\n */\n public flush(): Promise<void>\n {\n let promise: Promise<void>;\n\n //no logs available\n if(!this._logs.length)\n {\n return Promise.resolve(null);\n }\n\n try\n {\n promise = this._restClient.log(this._logs).toPromise();\n }\n catch(e)\n {\n console.log(e);\n }\n\n this._logs = [];\n\n return promise ?? Promise.resolve(null);\n }\n\n //######################### private methods #########################\n\n /**\n * Updates prototype of MessageTemplate\n */\n private _updatePrototype(e: LogEvent): void\n {\n const messageTemplateInstance = (<any>e.messageTemplate);\n\n if(messageTemplateInstance.constructor && messageTemplateInstance.constructor.prototype && messageTemplateInstance.constructor.prototype.toText)\n {\n messageTemplateInstance.constructor.prototype.toText = toText;\n }\n }\n}"]}
1
+ {"version":3,"file":"restSink.service.js","sourceRoot":"","sources":["../../../../../structured-log/src/services/rest/restSink.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAiB,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAC,MAAM,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAC,MAAM,0BA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,CAAC,CAAC,eAAgB,CAAC;QAEzD,IAAG,uBAAuB,CAAC,WAAW,IAAI,uBAAuB,CAAC,WAAW,CAAC,SAAS,IAAI,uBAAuB,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,EAC/I;YACI,uBAAuB,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;SACjE;IACL,CAAC;;4GA7IQ,eAAe,uDAqBJ,UAAU,aACV,kBAAkB;gHAtB7B,eAAe;2FAAf,eAAe;kBAD3B,UAAU;;0BAsBM,MAAM;2BAAC,UAAU;;0BACjB,MAAM;2BAAC,kBAAkB","sourcesContent":["import {Injectable, Inject} from '@angular/core';\nimport {APP_STABLE} from '@anglr/common';\nimport {isPresent} from '@jscrpt/common';\nimport {Sink, LogEvent, LogEventLevel} from 'structured-log';\n\nimport {toText, isEnabled} from '../../misc/utils';\nimport {RestSinkConfigService} from './restSinkConfig.service';\nimport {LOGGER_REST_CLIENT} from '../../types/tokens';\nimport {LoggerRestClient, RestLog} from '../../types/logger.interface';\n\n/**\n * Sink that is used for storing logs using REST\n */\n@Injectable()\nexport class RestSinkService implements Sink\n{\n //######################### private fields #########################\n\n /**\n * Indication that prototype of MessageTemplate was updated\n */\n private _prototypeUpdated: boolean = false;\n\n /**\n * Array of unflushed logs\n */\n private _logs: RestLog[] = [];\n\n /**\n * Interval timer id\n */\n private _timer: number;\n\n //######################### constructor #########################\n constructor(private _configSvc: RestSinkConfigService,\n @Inject(APP_STABLE) isStable: Promise<void>,\n @Inject(LOGGER_REST_CLIENT) private _restClient: LoggerRestClient)\n {\n isStable.then(() =>\n {\n this._timer = setInterval(() =>\n {\n this.flush();\n }, this._configSvc.secondsToFlushAfter * 1000) as any;\n });\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n if(isPresent(this._timer))\n {\n clearInterval(this._timer);\n }\n\n this.flush();\n }\n\n //######################### public methods - implementation of Sink #########################\n\n /**\n * Emits events into log\n * @param events - Events to be emitted\n */\n public emit(events: LogEvent[]): void\n {\n if(!events || !events.length)\n {\n return;\n }\n\n let forceFlush = false;\n\n events.forEach(e =>\n {\n if(!this._prototypeUpdated)\n {\n this._updatePrototype(e);\n\n this._prototypeUpdated = true;\n }\n\n if (!isEnabled(this._configSvc.restrictToLevel, e.level))\n {\n return;\n }\n\n const logLevel = LogEventLevel[e.level].toUpperCase();\n const timestamp = e.timestamp;\n const message = e.messageTemplate.render(e.properties);\n\n this._logs.push(\n {\n logLevel,\n message,\n timestamp\n });\n\n if (isEnabled(this._configSvc.immediateFlushMinLevel, e.level))\n {\n forceFlush = true;\n }\n });\n\n //flush if number of records is bigger than max or flush is required\n if(forceFlush || this._logs.length >= this._configSvc.flushAfterNumberOfLogs)\n {\n this.flush();\n }\n }\n\n /**\n * Flushes logs\n */\n public flush(): Promise<void>\n {\n let promise: Promise<void>;\n\n //no logs available\n if(!this._logs.length)\n {\n return Promise.resolve(null);\n }\n\n try\n {\n promise = this._restClient.log(this._logs).toPromise();\n }\n catch(e)\n {\n console.log(e);\n }\n\n this._logs = [];\n\n return promise ?? Promise.resolve(null);\n }\n\n //######################### private methods #########################\n\n /**\n * Updates prototype of MessageTemplate\n */\n private _updatePrototype(e: LogEvent): void\n {\n const messageTemplateInstance = (<any>e.messageTemplate);\n\n if(messageTemplateInstance.constructor && messageTemplateInstance.constructor.prototype && messageTemplateInstance.constructor.prototype.toText)\n {\n messageTemplateInstance.constructor.prototype.toText = toText;\n }\n }\n}"]}
@@ -34,9 +34,9 @@ export class RestSinkConfigService {
34
34
  }
35
35
  }
36
36
  }
37
- RestSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkConfigService, deps: [{ token: Injector }, { token: Injector }, { token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
38
- RestSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkConfigService, providedIn: 'root', useFactory: () => new RestSinkConfigService() });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RestSinkConfigService, decorators: [{
37
+ RestSinkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RestSinkConfigService, deps: [{ token: Injector }, { token: Injector }, { token: Injector }, { token: Injector }], target: i0.ɵɵFactoryTarget.Injectable });
38
+ RestSinkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RestSinkConfigService, providedIn: 'root', useFactory: () => new RestSinkConfigService() });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RestSinkConfigService, decorators: [{
40
40
  type: Injectable,
41
41
  args: [{ providedIn: 'root', useFactory: () => new RestSinkConfigService() }]
42
42
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -12,19 +12,27 @@ export declare class NumberInputControlValueAccessor implements ControlValueAcce
12
12
  * Method that is called when picker was touched
13
13
  */
14
14
  onTouched: () => void;
15
+ /**
16
+ * Indication whether is number input disabled
17
+ */
18
+ disabled: boolean;
15
19
  constructor(_renderer: Renderer2, _elementRef: ElementRef);
16
20
  /**
17
- * Sets value to select
21
+ * @inheritdoc
18
22
  */
19
23
  writeValue(value: any): void;
20
24
  /**
21
- * Registers callback that is called when value of select changes
25
+ * @inheritdoc
22
26
  */
23
27
  registerOnChange(fn: (data: any) => any): void;
24
28
  /**
25
- * Registers callback that is called when select is closed
29
+ * @inheritdoc
26
30
  */
27
31
  registerOnTouched(fn: () => any): void;
32
+ /**
33
+ * @inheritdoc
34
+ */
35
+ setDisabledState?(isDisabled: boolean): void;
28
36
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputControlValueAccessor, never>;
29
37
  static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputControlValueAccessor, "input[number][formControlName],input[number][formControl],input[number][ngModel]", never, {}, {}, never, never, false>;
30
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"numberInputControlValueAccessor.directive.d.ts","sourceRoot":"","sources":["numberInputControlValueAccessor.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAoB,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;;AAavE;;GAEG;AACH,qBAWa,+BAAgC,YAAW,oBAAoB;IAY5D,OAAO,CAAC,SAAS;IAAa,OAAO,CAAC,WAAW;IARtD,QAAQ,MAAO,GAAG,UAAQ;IAEjC;;OAEG;IACI,SAAS,aAAY;gBAGR,SAAS,EAAE,SAAS,EAAU,WAAW,EAAE,UAAU;IAMzE;;OAEG;IACI,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAKnC;;OAEG;IACI,gBAAgB,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,GAAG,IAAI;IAyBrD;;OAEG;IACI,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,GAAG,IAAI;yCAzDpC,+BAA+B;2CAA/B,+BAA+B;CA6D3C"}
1
+ {"version":3,"file":"numberInputControlValueAccessor.directive.d.ts","sourceRoot":"","sources":["numberInputControlValueAccessor.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAoB,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;;AAavE;;GAEG;AACH,qBAYa,+BAAgC,YAAW,oBAAoB;IAiB5D,OAAO,CAAC,SAAS;IAAa,OAAO,CAAC,WAAW;IAbtD,QAAQ,MAAO,GAAG,UAAQ;IAEjC;;OAEG;IACI,SAAS,aAAY;IAE5B;;OAEG;IACI,QAAQ,EAAE,OAAO,CAAS;gBAGb,SAAS,EAAE,SAAS,EAAU,WAAW,EAAE,UAAU;IAMzE;;OAEG;IACI,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAKnC;;OAEG;IACI,gBAAgB,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,GAAG,IAAI;IAyBrD;;OAEG;IACI,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,GAAG,IAAI;IAK7C;;OAEG;IACI,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;yCAtE1C,+BAA+B;2CAA/B,+BAA+B;CA0E3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anglr/common",
3
- "version": "14.2.0-beta.20220809103327",
3
+ "version": "14.2.0",
4
4
  "description": "Angular module for common angular stuff",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -0,0 +1,36 @@
1
+ import { EmbeddedViewRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Renders element into body directly at the end
5
+ */
6
+ export declare class BodyRenderSADirective implements OnInit, OnDestroy {
7
+ protected template: TemplateRef<void>;
8
+ protected viewContainer: ViewContainerRef;
9
+ protected document: Document;
10
+ /**
11
+ * Instance of created embedded view
12
+ */
13
+ protected view: EmbeddedViewRef<void> | undefined | null;
14
+ /**
15
+ * Instance of created element
16
+ */
17
+ protected element: HTMLElement | undefined | null;
18
+ /**
19
+ * String that defines element in which should be template rendered, if not specified, body is used
20
+ *
21
+ * Allows also css class to be specified (div.body-box)
22
+ */
23
+ targetElement: string | undefined | null;
24
+ constructor(template: TemplateRef<void>, viewContainer: ViewContainerRef, document: Document);
25
+ /**
26
+ * Initialize component
27
+ */
28
+ ngOnInit(): void;
29
+ /**
30
+ * Called when component is destroyed
31
+ */
32
+ ngOnDestroy(): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<BodyRenderSADirective, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BodyRenderSADirective, "[bodyRender]", never, { "targetElement": "bodyRender"; }, {}, never, never, true>;
35
+ }
36
+ //# sourceMappingURL=bodyRender.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bodyRender.directive.d.ts","sourceRoot":"","sources":["bodyRender.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,eAAe,EAAiB,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;;AAG1H;;GAEG;AACH,qBAKa,qBAAsB,YAAW,MAAM,EAAE,SAAS;IAyB/C,SAAS,CAAC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC;IACrC,SAAS,CAAC,aAAa,EAAE,gBAAgB;IACvB,SAAS,CAAC,QAAQ,EAAE,QAAQ;IAvB1D;;OAEG;IACH,SAAS,CAAC,IAAI,EAAE,eAAe,CAAC,IAAI,CAAC,GAAC,SAAS,GAAC,IAAI,CAAC;IAErD;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,WAAW,GAAC,SAAS,GAAC,IAAI,CAAC;IAI9C;;;;OAIG;IAEI,aAAa,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,CAAC;gBAGtB,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,EAC3B,aAAa,EAAE,gBAAgB,EACb,QAAQ,EAAE,QAAQ;IAM1D;;OAEG;IACI,QAAQ,IAAI,IAAI;IAmCvB;;OAEG;IACI,WAAW,IAAI,IAAI;yCA1EjB,qBAAqB;2CAArB,qBAAqB;CAiFjC"}
package/src/index.d.ts CHANGED
@@ -28,6 +28,7 @@ export { CookiePermanentStorageService, PermanentStorage } from './services/perm
28
28
  export { MemoryTemporaryStorageService, TemporaryStorage } from './services/temporaryStorage';
29
29
  export { NoStringLocalizationService, StringLocalization } from './services/stringLocalization';
30
30
  export { Logger } from './services/logger';
31
+ export * from './directives/bodyRender/bodyRender.directive';
31
32
  export { NgComponentOutletEx } from './directives/ngComponentOutletEx/ngComponentOutletEx.directive';
32
33
  export { APP_STABLE, extractAppStableResolve, runWhenModuleStable } from './utils';
33
34
  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,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c,qBAAqB,CAAC"}
@@ -43,9 +43,9 @@ export declare class PositionToDirective implements OnChanges {
43
43
  */
44
44
  static ngAcceptInputType_placement: PositionPlacement | undefined | null | keyof typeof PositionPlacement;
45
45
  /**
46
- * Custom input type for `positionTo` input
46
+ * Custom input type for `source` input
47
47
  */
48
- static ngAcceptInputType_positionTo: HTMLElement | ElementRef<HTMLElement>;
48
+ static ngAcceptInputType_source: HTMLElement | ElementRef<HTMLElement>;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<PositionToDirective, never>;
50
50
  static ɵdir: i0.ɵɵDirectiveDeclaration<PositionToDirective, "[positionTo]", never, { "source": "positionTo"; "placement": "placement"; }, { "flip": "flip"; }, never, never, false>;
51
51
  }
@@ -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,EAAC,MAAM,eAAe,CAAC;AAGnH,OAAO,EAAsB,QAAQ,EAAE,iBAAiB,EAAkB,MAAM,+BAA+B,CAAC;;AAGhH;;GAEG;AACH,qBAIa,mBAAoB,YAAW,SAAS;IAiErC,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IACxB,SAAS,CAAC,SAAS,EAAE,QAAQ;IA9D3D;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,iBAAiB,GAAC,IAAI,GAAC,SAAS,CAAC;IAEvD;;OAEG;IACH,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IAIhC;;OAEG;IACH,IACW,MAAM,IAAI,WAAW,CAG/B;IACD,IAAW,MAAM,CAAC,KAAK,EAAE,WAAW,EAUnC;IAED;;OAEG;IACH,IACW,SAAS,IAAI,iBAAiB,GAAC,IAAI,GAAC,SAAS,CAGvD;IACD,IAAW,SAAS,CAAC,KAAK,EAAE,iBAAiB,GAAC,IAAI,GAAC,SAAS,EAU3D;IAID;;OAE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;OAEG;IAEI,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;gBAGrC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,EACd,SAAS,EAAE,QAAQ;IAM3D;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAYhD;;OAEG;cACa,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAyB/C;;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;yCA7HnE,mBAAmB;2CAAnB,mBAAmB;CA8H/B"}
@@ -17,7 +17,7 @@ export declare class LocalizePipe implements PipeTransform, OnInit, OnDestroy {
17
17
  * @param key - Key to be localized
18
18
  * @param interpolateParams - Optional object storing interpolation parameters
19
19
  */
20
- transform(key: string, interpolateParams?: Object): string;
20
+ transform(key: string | undefined | null, interpolateParams?: Object): string;
21
21
  /**
22
22
  * Initialize component
23
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"localize.pipe.d.ts","sourceRoot":"","sources":["localize.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAU,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAIhG,OAAO,EAAC,kBAAkB,EAAC,MAAM,mCAAmC,CAAC;;AAErE;;GAEG;AACH,qBAKa,YAAa,YAAW,aAAa,EAAE,MAAM,EAAE,SAAS;IAUxB,OAAO,CAAC,gBAAgB;IACrD,OAAO,CAAC,eAAe;IAPnC;;OAEG;IACH,OAAO,CAAC,aAAa,CAAe;gBAGa,gBAAgB,EAAE,kBAAkB,EACjE,eAAe,EAAE,iBAAiB;IAMtD;;;;OAIG;IACI,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAA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