@anglr/common 11.3.0-beta.20220302063757 → 11.3.0-beta.20220413045755

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 (321) hide show
  1. package/changelog.md +37 -1
  2. package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  3. package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  4. package/es2015/forms/src/directives/hasError/hasError.directive.js +3 -3
  5. package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  6. package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  7. package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
  8. package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  9. package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  10. package/es2015/forms/src/index.js +1 -0
  11. package/es2015/forms/src/index.js.map +1 -1
  12. package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +74 -0
  13. package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -0
  14. package/es2015/forms/src/modules/errorMessage/components/index.js +2 -0
  15. package/es2015/forms/src/modules/errorMessage/components/index.js.map +1 -0
  16. package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +75 -0
  17. package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js.map +1 -0
  18. package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js +2 -0
  19. package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js.map +1 -0
  20. package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +27 -0
  21. package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -0
  22. package/es2015/forms/src/modules/errorMessage/directives/index.js +4 -0
  23. package/es2015/forms/src/modules/errorMessage/directives/index.js.map +1 -0
  24. package/es2015/forms/src/modules/errorMessage/index.js +5 -0
  25. package/es2015/forms/src/modules/errorMessage/index.js.map +1 -0
  26. package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js +47 -0
  27. package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -0
  28. package/es2015/forms/src/modules/errorMessage/modules/index.js +2 -0
  29. package/es2015/forms/src/modules/errorMessage/modules/index.js.map +1 -0
  30. package/es2015/forms/src/modules/errorMessage/pipes/index.js +2 -0
  31. package/es2015/forms/src/modules/errorMessage/pipes/index.js.map +1 -0
  32. package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +33 -0
  33. package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js.map +1 -0
  34. package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  35. package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
  36. package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
  37. package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
  38. package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
  39. package/es2015/forms/src/modules/hasError.module.js +4 -4
  40. package/es2015/forms/src/modules/numberInput.module.js +4 -4
  41. package/es2015/forms/src/modules/requiredClass.module.js +4 -4
  42. package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  43. package/es2015/forms/src/services/submitted/submitted.service.js +3 -3
  44. package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  45. package/es2015/hotkeys/src/services/appHotkeys.service.js +3 -3
  46. package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +4 -4
  47. package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
  48. package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js +18 -0
  49. package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -0
  50. package/es2015/material/src/components/titledDialog/titledDialog.component.js +7 -4
  51. package/es2015/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
  52. package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  53. package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  54. package/es2015/material/src/index.js +5 -2
  55. package/es2015/material/src/index.js.map +1 -1
  56. package/es2015/material/src/misc/interfaces/titledDialog.interface.js +1 -5
  57. package/es2015/material/src/misc/interfaces/titledDialog.interface.js.map +1 -1
  58. package/es2015/material/src/misc/tokens.js +4 -0
  59. package/es2015/material/src/misc/tokens.js.map +1 -1
  60. package/es2015/material/src/modules/confirmationDialog.module.js +4 -4
  61. package/es2015/material/src/modules/debugDataCopyClick.module.js +4 -4
  62. package/es2015/material/src/modules/movableTitledDialog.module.js +37 -0
  63. package/es2015/material/src/modules/movableTitledDialog.module.js.map +1 -0
  64. package/es2015/material/src/modules/titledDialog.module.js +4 -4
  65. package/es2015/material/src/services/titledDialog/titledDialog.service.js +15 -8
  66. package/es2015/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
  67. package/es2015/material/src/services/titledDialog/titledDialogService.options.js +19 -0
  68. package/es2015/material/src/services/titledDialog/titledDialogService.options.js.map +1 -0
  69. package/es2015/moment/src/modules/moment.module.js +4 -4
  70. package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  71. package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  72. package/es2015/numeral/src/modules/numeral.module.js +4 -4
  73. package/es2015/numeral/src/pipes/numeral.pipe.js +3 -3
  74. package/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +3 -3
  75. package/es2015/positions/src/modules/positions/modules/positions.module.js +4 -4
  76. package/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  77. package/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  78. package/es2015/positions/src/modules/tooltip/modules/tooltip.module.js +4 -4
  79. package/es2015/router/src/services/routing/dataRouter.js +3 -3
  80. package/es2015/router/src/services/routing/dataRouterData.js +3 -3
  81. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  82. package/es2015/src/modules/castPipes/modules/castPipes.module.js +4 -4
  83. package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  84. package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  85. package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  86. package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  87. package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +19 -5
  88. package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
  89. package/es2015/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  90. package/es2015/src/modules/commonDynamic.module.js +4 -4
  91. package/es2015/src/modules/commonLocalize.module.js +4 -4
  92. package/es2015/src/modules/commonUtils.module.js +11 -7
  93. package/es2015/src/modules/commonUtils.module.js.map +1 -1
  94. package/es2015/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  95. package/es2015/src/modules/debugData/modules/debugData.module.js +4 -4
  96. package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  97. package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  98. package/es2015/src/modules/goBack/modules/goBack.module.js +4 -4
  99. package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  100. package/es2015/src/modules/multiButton/modules/multiButton.module.js +4 -4
  101. package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  102. package/es2015/src/modules/position/modules/position.module.js +4 -4
  103. package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  104. package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  105. package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  106. package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
  107. package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  108. package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  109. package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  110. package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  111. package/es2015/src/modules/tooltip/modules/tooltip.module.js +4 -4
  112. package/es2015/src/pipes/index.js +1 -0
  113. package/es2015/src/pipes/index.js.map +1 -1
  114. package/es2015/src/pipes/isNaN/isNaN.pipe.js +3 -3
  115. package/es2015/src/pipes/isPresent/isPresent.pipe.js +3 -3
  116. package/es2015/src/pipes/keys/keys.pipe.js +25 -0
  117. package/es2015/src/pipes/keys/keys.pipe.js.map +1 -0
  118. package/es2015/src/pipes/localize/localize.pipe.js +3 -3
  119. package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  120. package/es2015/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  121. package/es2015/src/services/cookies/cookies.service.js +3 -3
  122. package/es2015/src/services/notifications/defaultNotifications.service.js +3 -3
  123. package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  124. package/es2015/src/services/statusCode/statusCode.service.js +3 -3
  125. package/es2015/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  126. package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  127. package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  128. package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  129. package/es2015/structured-log/src/components/console/console.component.js +3 -3
  130. package/es2015/structured-log/src/modules/consoleLog.module.js +4 -4
  131. package/es2015/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  132. package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  133. package/es2015/structured-log/src/services/logger.service.js +3 -3
  134. package/es2015/structured-log/src/services/rest/restSink.service.js +3 -3
  135. package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  136. package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
  137. package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
  138. package/es2020/forms/src/directives/hasError/hasError.directive.js +3 -3
  139. package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
  140. package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
  141. package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
  142. package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
  143. package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
  144. package/es2020/forms/src/index.js +1 -0
  145. package/es2020/forms/src/index.js.map +1 -1
  146. package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +72 -0
  147. package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -0
  148. package/es2020/forms/src/modules/errorMessage/components/index.js +2 -0
  149. package/es2020/forms/src/modules/errorMessage/components/index.js.map +1 -0
  150. package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +74 -0
  151. package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js.map +1 -0
  152. package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js +2 -0
  153. package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js.map +1 -0
  154. package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +27 -0
  155. package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -0
  156. package/es2020/forms/src/modules/errorMessage/directives/index.js +4 -0
  157. package/es2020/forms/src/modules/errorMessage/directives/index.js.map +1 -0
  158. package/es2020/forms/src/modules/errorMessage/index.js +5 -0
  159. package/es2020/forms/src/modules/errorMessage/index.js.map +1 -0
  160. package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js +47 -0
  161. package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -0
  162. package/es2020/forms/src/modules/errorMessage/modules/index.js +2 -0
  163. package/es2020/forms/src/modules/errorMessage/modules/index.js.map +1 -0
  164. package/es2020/forms/src/modules/errorMessage/pipes/index.js +2 -0
  165. package/es2020/forms/src/modules/errorMessage/pipes/index.js.map +1 -0
  166. package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +33 -0
  167. package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js.map +1 -0
  168. package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
  169. package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
  170. package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
  171. package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
  172. package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
  173. package/es2020/forms/src/modules/hasError.module.js +4 -4
  174. package/es2020/forms/src/modules/numberInput.module.js +4 -4
  175. package/es2020/forms/src/modules/requiredClass.module.js +4 -4
  176. package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
  177. package/es2020/forms/src/services/submitted/submitted.service.js +3 -3
  178. package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
  179. package/es2020/hotkeys/src/services/appHotkeys.service.js +3 -3
  180. package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js +4 -4
  181. package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
  182. package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js +18 -0
  183. package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -0
  184. package/es2020/material/src/components/titledDialog/titledDialog.component.js +7 -4
  185. package/es2020/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
  186. package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
  187. package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
  188. package/es2020/material/src/index.js +5 -2
  189. package/es2020/material/src/index.js.map +1 -1
  190. package/es2020/material/src/misc/interfaces/titledDialog.interface.js +1 -5
  191. package/es2020/material/src/misc/interfaces/titledDialog.interface.js.map +1 -1
  192. package/es2020/material/src/misc/tokens.js +4 -0
  193. package/es2020/material/src/misc/tokens.js.map +1 -1
  194. package/es2020/material/src/modules/confirmationDialog.module.js +4 -4
  195. package/es2020/material/src/modules/debugDataCopyClick.module.js +4 -4
  196. package/es2020/material/src/modules/movableTitledDialog.module.js +37 -0
  197. package/es2020/material/src/modules/movableTitledDialog.module.js.map +1 -0
  198. package/es2020/material/src/modules/titledDialog.module.js +4 -4
  199. package/es2020/material/src/services/titledDialog/titledDialog.service.js +15 -8
  200. package/es2020/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
  201. package/es2020/material/src/services/titledDialog/titledDialogService.options.js +19 -0
  202. package/es2020/material/src/services/titledDialog/titledDialogService.options.js.map +1 -0
  203. package/es2020/moment/src/modules/moment.module.js +4 -4
  204. package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
  205. package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
  206. package/es2020/numeral/src/modules/numeral.module.js +4 -4
  207. package/es2020/numeral/src/pipes/numeral.pipe.js +3 -3
  208. package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +3 -3
  209. package/es2020/positions/src/modules/positions/modules/positions.module.js +4 -4
  210. package/es2020/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  211. package/es2020/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  212. package/es2020/positions/src/modules/tooltip/modules/tooltip.module.js +4 -4
  213. package/es2020/router/src/services/routing/dataRouter.js +3 -3
  214. package/es2020/router/src/services/routing/dataRouterData.js +3 -3
  215. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
  216. package/es2020/src/modules/castPipes/modules/castPipes.module.js +4 -4
  217. package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
  218. package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
  219. package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
  220. package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
  221. package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +19 -5
  222. package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
  223. package/es2020/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
  224. package/es2020/src/modules/commonDynamic.module.js +4 -4
  225. package/es2020/src/modules/commonLocalize.module.js +4 -4
  226. package/es2020/src/modules/commonUtils.module.js +11 -7
  227. package/es2020/src/modules/commonUtils.module.js.map +1 -1
  228. package/es2020/src/modules/debugData/components/debugData/debugData.component.js +3 -3
  229. package/es2020/src/modules/debugData/modules/debugData.module.js +4 -4
  230. package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
  231. package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
  232. package/es2020/src/modules/goBack/modules/goBack.module.js +4 -4
  233. package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
  234. package/es2020/src/modules/multiButton/modules/multiButton.module.js +4 -4
  235. package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
  236. package/es2020/src/modules/position/modules/position.module.js +4 -4
  237. package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
  238. package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
  239. package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
  240. package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
  241. package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
  242. package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
  243. package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
  244. package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
  245. package/es2020/src/modules/tooltip/modules/tooltip.module.js +4 -4
  246. package/es2020/src/pipes/index.js +1 -0
  247. package/es2020/src/pipes/index.js.map +1 -1
  248. package/es2020/src/pipes/isNaN/isNaN.pipe.js +3 -3
  249. package/es2020/src/pipes/isPresent/isPresent.pipe.js +3 -3
  250. package/es2020/src/pipes/keys/keys.pipe.js +25 -0
  251. package/es2020/src/pipes/keys/keys.pipe.js.map +1 -0
  252. package/es2020/src/pipes/localize/localize.pipe.js +3 -3
  253. package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
  254. package/es2020/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
  255. package/es2020/src/services/cookies/cookies.service.js +3 -3
  256. package/es2020/src/services/notifications/defaultNotifications.service.js +3 -3
  257. package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
  258. package/es2020/src/services/statusCode/statusCode.service.js +3 -3
  259. package/es2020/src/services/stringLocalization/noStringLocalization.service.js +3 -3
  260. package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
  261. package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
  262. package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
  263. package/es2020/structured-log/src/components/console/console.component.js +3 -3
  264. package/es2020/structured-log/src/modules/consoleLog.module.js +4 -4
  265. package/es2020/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
  266. package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
  267. package/es2020/structured-log/src/services/logger.service.js +3 -3
  268. package/es2020/structured-log/src/services/rest/restSink.service.js +3 -3
  269. package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
  270. package/forms/src/index.d.ts +1 -0
  271. package/forms/src/index.d.ts.map +1 -1
  272. package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts +50 -0
  273. package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts.map +1 -0
  274. package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.html +7 -0
  275. package/forms/src/modules/errorMessage/components/index.d.ts +2 -0
  276. package/forms/src/modules/errorMessage/components/index.d.ts.map +1 -0
  277. package/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.d.ts +41 -0
  278. package/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.d.ts.map +1 -0
  279. package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.d.ts +27 -0
  280. package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.d.ts.map +1 -0
  281. package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts +17 -0
  282. package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts.map +1 -0
  283. package/forms/src/modules/errorMessage/directives/index.d.ts +4 -0
  284. package/forms/src/modules/errorMessage/directives/index.d.ts.map +1 -0
  285. package/forms/src/modules/errorMessage/index.d.ts +5 -0
  286. package/forms/src/modules/errorMessage/index.d.ts.map +1 -0
  287. package/forms/src/modules/errorMessage/modules/errorMessage.module.d.ts +16 -0
  288. package/forms/src/modules/errorMessage/modules/errorMessage.module.d.ts.map +1 -0
  289. package/forms/src/modules/errorMessage/modules/index.d.ts +2 -0
  290. package/forms/src/modules/errorMessage/modules/index.d.ts.map +1 -0
  291. package/forms/src/modules/errorMessage/pipes/index.d.ts +2 -0
  292. package/forms/src/modules/errorMessage/pipes/index.d.ts.map +1 -0
  293. package/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.d.ts +18 -0
  294. package/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.d.ts.map +1 -0
  295. package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts +10 -0
  296. package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts.map +1 -0
  297. package/material/src/components/movableTitledDialog/movableTitledDialog.component.html +14 -0
  298. package/material/src/components/titledDialog/titledDialog.component.d.ts +3 -0
  299. package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
  300. package/material/src/index.d.ts +6 -2
  301. package/material/src/index.d.ts.map +1 -1
  302. package/material/src/misc/interfaces/titledDialog.interface.d.ts +1 -5
  303. package/material/src/misc/interfaces/titledDialog.interface.d.ts.map +1 -1
  304. package/material/src/misc/tokens.d.ts +4 -0
  305. package/material/src/misc/tokens.d.ts.map +1 -1
  306. package/material/src/modules/movableTitledDialog.module.d.ts +14 -0
  307. package/material/src/modules/movableTitledDialog.module.d.ts.map +1 -0
  308. package/material/src/services/titledDialog/titledDialog.service.d.ts +5 -3
  309. package/material/src/services/titledDialog/titledDialog.service.d.ts.map +1 -1
  310. package/material/src/services/titledDialog/titledDialogService.options.d.ts +12 -0
  311. package/material/src/services/titledDialog/titledDialogService.options.d.ts.map +1 -0
  312. package/package.json +1 -1
  313. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +12 -3
  314. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +1 -1
  315. package/src/modules/commonUtils.module.d.ts +2 -1
  316. package/src/modules/commonUtils.module.d.ts.map +1 -1
  317. package/src/pipes/index.d.ts +1 -0
  318. package/src/pipes/index.d.ts.map +1 -1
  319. package/src/pipes/keys/keys.pipe.d.ts +16 -0
  320. package/src/pipes/keys/keys.pipe.d.ts.map +1 -0
  321. package/version.bak +1 -1
@@ -0,0 +1,33 @@
1
+ import { Inject, Pipe } from '@angular/core';
2
+ import { VALIDATION_ERROR_MESSAGES } from '../../../../misc/types';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Filters array of errors with messages
6
+ */
7
+ export class WithErrorMessagePipe {
8
+ //######################### constructor #########################
9
+ constructor(_errorMessages) {
10
+ this._errorMessages = _errorMessages;
11
+ }
12
+ //######################### public methods - implementation of PipeTransform #########################
13
+ /**
14
+ * Filters array of errors with messages
15
+ * @param value - Array of error names
16
+ */
17
+ transform(value) {
18
+ if (!value?.length) {
19
+ return value;
20
+ }
21
+ return value.filter(itm => this._errorMessages[itm]);
22
+ }
23
+ }
24
+ WithErrorMessagePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: WithErrorMessagePipe, deps: [{ token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Pipe });
25
+ WithErrorMessagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: WithErrorMessagePipe, name: "withErrorMessage" });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: WithErrorMessagePipe, decorators: [{
27
+ type: Pipe,
28
+ args: [{ name: 'withErrorMessage' }]
29
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
30
+ type: Inject,
31
+ args: [VALIDATION_ERROR_MESSAGES]
32
+ }] }]; } });
33
+ //# sourceMappingURL=withErrorMessage.pipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withErrorMessage.pipe.js","sourceRoot":"","sources":["../../../../../../../forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,yBAAyB,EAAC,MAAM,wBAAwB,CAAC;;AAEjE;;GAEG;AAEH,MAAM,OAAO,oBAAoB;IAE7B,iEAAiE;IACjE,YAAyD,cAAgC;QAAhC,mBAAc,GAAd,cAAc,CAAkB;IAEzF,CAAC;IAED,sGAAsG;IAEtG;;;OAGG;IACI,SAAS,CAAC,KAAe;QAE5B,IAAG,CAAC,KAAK,EAAE,MAAM,EACjB;YACI,OAAO,KAAK,CAAC;SAChB;QAED,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IACzD,CAAC;;iHArBQ,oBAAoB,kBAGT,yBAAyB;+GAHpC,oBAAoB;2FAApB,oBAAoB;kBADhC,IAAI;mBAAC,EAAC,IAAI,EAAE,kBAAkB,EAAC;;0BAIf,MAAM;2BAAC,yBAAyB","sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {StringDictionary} from '@jscrpt/common';\n\nimport {VALIDATION_ERROR_MESSAGES} from '../../../../misc/types';\n\n/**\n * Filters array of errors with messages\n */\n@Pipe({name: 'withErrorMessage'})\nexport class WithErrorMessagePipe implements PipeTransform\n{\n //######################### constructor #########################\n constructor(@Inject(VALIDATION_ERROR_MESSAGES) protected _errorMessages: StringDictionary)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Filters array of errors with messages\n * @param value - Array of error names\n */\n public transform(value: string[]): string[]\n {\n if(!value?.length)\n {\n return value;\n }\n\n return value.filter(itm => this._errorMessages[itm]);\n }\n}"]}
@@ -6,16 +6,16 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export class FormPipesModule {
8
8
  }
9
- FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
9
+ FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
11
11
  AsFormControlPipe,
12
12
  AsFormGroupPipe,
13
13
  GetControlPipe], exports: [AsFormArrayPipe,
14
14
  AsFormControlPipe,
15
15
  AsFormGroupPipe,
16
16
  GetControlPipe] });
17
- FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: FormPipesModule });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: FormPipesModule, decorators: [{
17
+ FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  declarations: [
@@ -15,9 +15,9 @@ export class AsFormArrayPipe extends CastTypePipe {
15
15
  this._isInstanceOfPredicate = value => value instanceof FormArray;
16
16
  }
17
17
  }
18
- AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormArrayPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
- AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormArrayPipe, decorators: [{
18
+ AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
+ AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, decorators: [{
21
21
  type: Pipe,
22
22
  args: [{ name: 'asFormArray' }]
23
23
  }] });
@@ -15,9 +15,9 @@ export class AsFormControlPipe extends CastTypePipe {
15
15
  this._isInstanceOfPredicate = value => value instanceof FormControl;
16
16
  }
17
17
  }
18
- AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormControlPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
- AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormControlPipe, decorators: [{
18
+ AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
+ AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, decorators: [{
21
21
  type: Pipe,
22
22
  args: [{ name: 'asFormControl' }]
23
23
  }] });
@@ -15,9 +15,9 @@ export class AsFormGroupPipe extends CastTypePipe {
15
15
  this._isInstanceOfPredicate = value => value instanceof FormGroup;
16
16
  }
17
17
  }
18
- AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormGroupPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
- AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AsFormGroupPipe, decorators: [{
18
+ AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
19
+ AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, decorators: [{
21
21
  type: Pipe,
22
22
  args: [{ name: 'asFormGroup' }]
23
23
  }] });
@@ -22,9 +22,9 @@ export class GetControlPipe {
22
22
  return value.get(control);
23
23
  }
24
24
  }
25
- GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
26
- GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: GetControlPipe, name: "getControl" });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: GetControlPipe, decorators: [{
25
+ GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
26
+ GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, name: "getControl" });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, decorators: [{
28
28
  type: Pipe,
29
29
  args: [{ name: 'getControl' }]
30
30
  }] });
@@ -7,12 +7,12 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export class HasErrorModule {
9
9
  }
10
- HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
10
+ HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
12
12
  GroupHasErrorDirective], exports: [HasErrorDirective,
13
13
  GroupHasErrorDirective] });
14
- HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: HasErrorModule });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: HasErrorModule, decorators: [{
14
+ HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, decorators: [{
16
16
  type: NgModule,
17
17
  args: [{
18
18
  declarations: [
@@ -9,16 +9,16 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export class NumberInputModule {
11
11
  }
12
- NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
12
+ NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
14
14
  MinValueNumberValidatorDirective,
15
15
  NumberInputControlValueAccessor,
16
16
  NumberInputValidatorDirective], exports: [MaxValueNumberValidatorDirective,
17
17
  MinValueNumberValidatorDirective,
18
18
  NumberInputControlValueAccessor,
19
19
  NumberInputValidatorDirective] });
20
- NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: NumberInputModule });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: NumberInputModule, decorators: [{
20
+ NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, decorators: [{
22
22
  type: NgModule,
23
23
  args: [{
24
24
  declarations: [
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export class RequiredClassModule {
8
8
  }
9
- RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
11
- RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RequiredClassModule });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: RequiredClassModule, decorators: [{
9
+ RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
11
+ RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  declarations: [RequiredClassDirective],
@@ -58,9 +58,9 @@ export class ErrorMessagesExtractor {
58
58
  return result;
59
59
  }
60
60
  }
61
- ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: i0.Injector }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
62
- ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
61
+ ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: i0.Injector }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
62
+ ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
64
64
  type: Injectable,
65
65
  args: [{ providedIn: 'root' }]
66
66
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
@@ -41,9 +41,9 @@ export class SubmittedService {
41
41
  }
42
42
  }
43
43
  }
44
- SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: SubmittedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
- SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: SubmittedService });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: SubmittedService, decorators: [{
44
+ SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
+ SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService, decorators: [{
47
47
  type: Injectable
48
48
  }] });
49
49
  //# sourceMappingURL=submitted.service.js.map
@@ -31,9 +31,9 @@ export class ValidationErrorRendererFactory {
31
31
  return new opts.rendererType(this._errorMessagesExtractor, control, controlElement, this._document, injector, isSubmittedOrDirty, opts);
32
32
  }
33
33
  }
34
- ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ValidationErrorRendererFactory, deps: [{ token: i1.ErrorMessagesExtractor }, { token: DOCUMENT }, { token: VALIDATION_ERROR_RENDERER_FACTORY_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
35
- ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ValidationErrorRendererFactory, providedIn: 'root' });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ValidationErrorRendererFactory, decorators: [{
34
+ ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, deps: [{ token: i1.ErrorMessagesExtractor }, { token: DOCUMENT }, { token: VALIDATION_ERROR_RENDERER_FACTORY_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
35
+ ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, providedIn: 'root' });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, decorators: [{
37
37
  type: Injectable,
38
38
  args: [{ providedIn: 'root' }]
39
39
  }], ctorParameters: function () { return [{ type: i1.ErrorMessagesExtractor }, { type: Document, decorators: [{
@@ -124,9 +124,9 @@ export class AppHotkeysService {
124
124
  this._hotkeys.push(hotkey);
125
125
  }
126
126
  }
127
- AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AppHotkeysService, deps: [{ token: i1.HotkeysService }], target: i0.ɵɵFactoryTarget.Injectable });
128
- AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AppHotkeysService });
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: AppHotkeysService, decorators: [{
127
+ AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService, deps: [{ token: i1.HotkeysService }], target: i0.ɵɵFactoryTarget.Injectable });
128
+ AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService });
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService, decorators: [{
130
130
  type: Injectable
131
131
  }], ctorParameters: function () { return [{ type: i1.HotkeysService }]; } });
132
132
  //# sourceMappingURL=appHotkeys.service.js.map
@@ -2,7 +2,7 @@ import { Component, ChangeDetectionStrategy, Inject, Optional } from '@angular/c
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { extend } from '@jscrpt/common';
4
4
  import { CONFIRMATION_DIALOG_OPTIONS } from '../../misc/tokens';
5
- import { TITLED_DIALOG_DATA } from '../../misc/interfaces/titledDialog.interface';
5
+ import { TITLED_DIALOG_DATA } from '../../misc/tokens';
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@angular/material/dialog";
8
8
  import * as i2 from "@angular/common";
@@ -33,9 +33,9 @@ export class ConfirmationDialogComponent {
33
33
  this.options = extend(true, {}, defaultOptions, options ?? {}, data);
34
34
  }
35
35
  }
36
- ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: TITLED_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: CONFIRMATION_DIALOG_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
37
- ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: ConfirmationDialogComponent, selector: "confirmation-dialog", ngImport: i0, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
36
+ ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: TITLED_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: CONFIRMATION_DIALOG_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
37
+ ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: ConfirmationDialogComponent, selector: "confirmation-dialog", ngImport: i0, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
39
39
  type: Component,
40
40
  args: [{ selector: 'confirmation-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n" }]
41
41
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"confirmationDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/confirmationDialog/confirmationDialog.component.ts","../../../../../material/src/components/confirmationDialog/confirmationDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAC,2BAA2B,EAAC,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,kBAAkB,EAAC,MAAM,8CAA8C,CAAC;;;;;AAGhF;;;GAGG;AACH,MAAM,cAAc,GACpB;IACI,gBAAgB,EAAE,0BAA0B;IAC5C,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EACV;QACI,mBAAmB,EAAE,kCAAkC;QACvD,WAAW,EAAE,yCAAyC;QACtD,eAAe,EAAE,WAAW;QAC5B,aAAa,EAAE,iBAAiB;QAChC,iBAAiB,EAAE,aAAa;KACnC;CACJ,CAAC;AAEF;;GAEG;AAOH,MAAM,OAAO,2BAA2B;IAUpC,iEAAiE;IACjE,YAAwC,IAA+B,EACpD,MAAwD,EACd,OAAkC;QAD5E,WAAM,GAAN,MAAM,CAAkD;QAGvE,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;wHAhBQ,2BAA2B,kBAWhB,kBAAkB,yCAElB,2BAA2B;4GAbtC,2BAA2B,2DCpCxC,6oBAaA;2FDuBa,2BAA2B;kBANvC,SAAS;+BAEI,qBAAqB,mBAEd,uBAAuB,CAAC,MAAM;;0BAalC,MAAM;2BAAC,kBAAkB;;0BAEzB,MAAM;2BAAC,2BAA2B;;0BAAG,QAAQ","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Optional} from '@angular/core';\nimport {MatDialogRef} from '@angular/material/dialog';\nimport {extend} from '@jscrpt/common';\n\nimport {CONFIRMATION_DIALOG_OPTIONS} from '../../misc/tokens';\nimport {TITLED_DIALOG_DATA} from '../../misc/interfaces/titledDialog.interface';\nimport {ConfirmationDialogOptions} from '../../misc/interfaces/confirmationDialog.interface';\n\n/**\n * Default options for dialog\n * @internal\n */\nconst defaultOptions: ConfirmationDialogOptions =\n{\n confirmationText: 'Do you wish to continue?',\n dialogCancelText: 'No',\n dialogConfirmText: 'Yes',\n cssClasses:\n {\n buttonsContainerDiv: 'flex-row flex-end margin-top-big',\n closeButton: 'btn btn-danger margin-right-extra-small',\n closeButtonIcon: 'fa fa-ban',\n confirmButton: 'btn btn-primary',\n confirmButtonIcon: 'fa fa-check'\n }\n};\n\n/**\n * Confirmation dialog component\n */\n@Component(\n{\n selector: 'confirmation-dialog',\n templateUrl: 'confirmationDialog.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ConfirmationDialogComponent\n{\n //######################### public properties - template bindings #########################\n\n /**\n * Options used for confirmation dialog component\n * @internal\n */\n public options: ConfirmationDialogOptions;\n\n //######################### constructor #########################\n constructor(@Inject(TITLED_DIALOG_DATA) data: ConfirmationDialogOptions,\n public dialog: MatDialogRef<ConfirmationDialogOptions, boolean>,\n @Inject(CONFIRMATION_DIALOG_OPTIONS) @Optional() options: ConfirmationDialogOptions)\n {\n this.options = extend(true, {}, defaultOptions, options ?? {}, data);\n }\n}\n","<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n"]}
1
+ {"version":3,"file":"confirmationDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/confirmationDialog/confirmationDialog.component.ts","../../../../../material/src/components/confirmationDialog/confirmationDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAC,2BAA2B,EAAC,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;;;;;AAGrD;;;GAGG;AACH,MAAM,cAAc,GACpB;IACI,gBAAgB,EAAE,0BAA0B;IAC5C,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EACV;QACI,mBAAmB,EAAE,kCAAkC;QACvD,WAAW,EAAE,yCAAyC;QACtD,eAAe,EAAE,WAAW;QAC5B,aAAa,EAAE,iBAAiB;QAChC,iBAAiB,EAAE,aAAa;KACnC;CACJ,CAAC;AAEF;;GAEG;AAOH,MAAM,OAAO,2BAA2B;IAUpC,iEAAiE;IACjE,YAAwC,IAA+B,EACpD,MAAwD,EACd,OAAkC;QAD5E,WAAM,GAAN,MAAM,CAAkD;QAGvE,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;wHAhBQ,2BAA2B,kBAWhB,kBAAkB,yCAElB,2BAA2B;4GAbtC,2BAA2B,2DCpCxC,6oBAaA;2FDuBa,2BAA2B;kBANvC,SAAS;+BAEI,qBAAqB,mBAEd,uBAAuB,CAAC,MAAM;;0BAalC,MAAM;2BAAC,kBAAkB;;0BAEzB,MAAM;2BAAC,2BAA2B;;0BAAG,QAAQ","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Optional} from '@angular/core';\nimport {MatDialogRef} from '@angular/material/dialog';\nimport {extend} from '@jscrpt/common';\n\nimport {CONFIRMATION_DIALOG_OPTIONS} from '../../misc/tokens';\nimport {TITLED_DIALOG_DATA} from '../../misc/tokens';\nimport {ConfirmationDialogOptions} from '../../misc/interfaces/confirmationDialog.interface';\n\n/**\n * Default options for dialog\n * @internal\n */\nconst defaultOptions: ConfirmationDialogOptions =\n{\n confirmationText: 'Do you wish to continue?',\n dialogCancelText: 'No',\n dialogConfirmText: 'Yes',\n cssClasses:\n {\n buttonsContainerDiv: 'flex-row flex-end margin-top-big',\n closeButton: 'btn btn-danger margin-right-extra-small',\n closeButtonIcon: 'fa fa-ban',\n confirmButton: 'btn btn-primary',\n confirmButtonIcon: 'fa fa-check'\n }\n};\n\n/**\n * Confirmation dialog component\n */\n@Component(\n{\n selector: 'confirmation-dialog',\n templateUrl: 'confirmationDialog.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ConfirmationDialogComponent\n{\n //######################### public properties - template bindings #########################\n\n /**\n * Options used for confirmation dialog component\n * @internal\n */\n public options: ConfirmationDialogOptions;\n\n //######################### constructor #########################\n constructor(@Inject(TITLED_DIALOG_DATA) data: ConfirmationDialogOptions,\n public dialog: MatDialogRef<ConfirmationDialogOptions, boolean>,\n @Inject(CONFIRMATION_DIALOG_OPTIONS) @Optional() options: ConfirmationDialogOptions)\n {\n this.options = extend(true, {}, defaultOptions, options ?? {}, data);\n }\n}\n","<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n"]}
@@ -0,0 +1,18 @@
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
+ import { TitledDialogComponent } from '../titledDialog/titledDialog.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/cdk/drag-drop";
5
+ import * as i2 from "../../../../src/directives/ngComponentOutletEx/ngComponentOutletEx.directive";
6
+ import * as i3 from "../../../../src/pipes/localize/localize.pipe";
7
+ /**
8
+ * Component used as wrapper for material dialog enhanced with title, which is movable
9
+ */
10
+ export class MovableTitledDialogComponent extends TitledDialogComponent {
11
+ }
12
+ MovableTitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
+ MovableTitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: MovableTitledDialogComponent, selector: "movable-titled-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], directives: [{ type: i1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogComponent, decorators: [{
15
+ type: Component,
16
+ args: [{ selector: 'movable-titled-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"] }]
17
+ }] });
18
+ //# sourceMappingURL=movableTitledDialog.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"movableTitledDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/movableTitledDialog/movableTitledDialog.component.ts","../../../../../material/src/components/movableTitledDialog/movableTitledDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAC,MAAM,eAAe,CAAC;AAEjE,OAAO,EAAC,qBAAqB,EAAC,MAAM,wCAAwC,CAAC;;;;;AAE7E;;GAEG;AAQH,MAAM,OAAO,4BAA6B,SAAQ,qBAAqB;;yHAA1D,4BAA4B;6GAA5B,4BAA4B,oFCdzC,whBAaM;2FDCO,4BAA4B;kBAPxC,SAAS;+BAEI,uBAAuB,mBAGhB,uBAAuB,CAAC,MAAM","sourcesContent":["import {Component, ChangeDetectionStrategy} from '@angular/core';\n\nimport {TitledDialogComponent} from '../titledDialog/titledDialog.component';\n\n/**\n * Component used as wrapper for material dialog enhanced with title, which is movable\n */\n@Component(\n{\n selector: 'movable-titled-dialog',\n templateUrl: 'movableTitledDialog.component.html',\n styleUrls: ['../titledDialog/titledDialog.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MovableTitledDialogComponent extends TitledDialogComponent\n{\n}\n","<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>"]}
@@ -1,6 +1,6 @@
1
1
  import { Component, ChangeDetectionStrategy, Inject, Injector, TemplateRef } from '@angular/core';
2
2
  import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
3
- import { TITLED_DIALOG_DATA } from '../../misc/interfaces/titledDialog.interface';
3
+ import { TITLED_DIALOG_DATA } from '../../misc/tokens';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/material/dialog";
6
6
  import * as i2 from "../../../../src/directives/ngComponentOutletEx/ngComponentOutletEx.directive";
@@ -23,6 +23,9 @@ export class TitledDialogComponent {
23
23
  parent: injector
24
24
  });
25
25
  }
26
+ /**
27
+ * Instance of component that will be rendered in dialog
28
+ */
26
29
  get component() {
27
30
  if (this.data?.componentOrTemplateRef instanceof TemplateRef) {
28
31
  return null;
@@ -30,9 +33,9 @@ export class TitledDialogComponent {
30
33
  return this.data.componentOrTemplateRef;
31
34
  }
32
35
  }
33
- TitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TitledDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
34
- TitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TitledDialogComponent, selector: "titled-dialog", ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], directives: [{ type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TitledDialogComponent, decorators: [{
36
+ TitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
37
+ TitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: TitledDialogComponent, selector: "titled-dialog", ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], directives: [{ type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogComponent, decorators: [{
36
39
  type: Component,
37
40
  args: [{ selector: 'titled-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"] }]
38
41
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"titledDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/titledDialog/titledDialog.component.ts","../../../../../material/src/components/titledDialog/titledDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAiB,WAAW,EAAC,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAC,eAAe,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAGvE,OAAO,EAAuB,kBAAkB,EAAC,MAAM,8CAA8C,CAAC;;;;;AAEtG;;GAEG;AAQH,MAAM,OAAO,qBAAqB;IAmB9B,iEAAiE;IACjE,YAA4C,IAA0B,EACnD,SAA6C,EACpD,QAAkB;QAFc,SAAI,GAAJ,IAAI,CAAsB;QACnD,cAAS,GAAT,SAAS,CAAoC;QAG5D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAC/B;YACI,SAAS,EACT;gBAEI;oBACI,OAAO,EAAE,kBAAkB;oBAC3B,QAAQ,EAAE,IAAI,CAAC,IAAI;iBACtB;aACJ;YACD,MAAM,EAAE,QAAQ;SACnB,CAAC,CAAC;IACP,CAAC;IA3BD,IAAW,SAAS;QAEhB,IAAG,IAAI,CAAC,IAAI,EAAE,sBAAsB,YAAY,WAAW,EAC3D;YACI,OAAO,IAAI,CAAC;SACf;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC;IAC5C,CAAC;;kHAjBQ,qBAAqB,kBAoBV,eAAe;sGApB1B,qBAAqB,qDChBlC,gcAUM;2FDMO,qBAAqB;kBAPjC,SAAS;+BAEI,eAAe,mBAGR,uBAAuB,CAAC,MAAM;;0BAsBlC,MAAM;2BAAC,eAAe","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Injector, ValueProvider, TemplateRef} from '@angular/core';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\n\nimport {ɵTitledDialogOptions, TITLED_DIALOG_DATA} from '../../misc/interfaces/titledDialog.interface';\n\n/**\n * Component used as wrapper for material dialog enhanced with title\n */\n@Component(\n{\n selector: 'titled-dialog',\n templateUrl: 'titledDialog.component.html',\n styleUrls: ['titledDialog.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TitledDialogComponent\n{\n //######################### public properties - template bindings #########################\n\n /**\n * Injector used for creating component or template\n */\n public injector: Injector;\n\n public get component(): ComponentType<any>\n {\n if(this.data?.componentOrTemplateRef instanceof TemplateRef)\n {\n return null;\n }\n\n return this.data.componentOrTemplateRef;\n }\n\n //######################### constructor #########################\n constructor(@Inject(MAT_DIALOG_DATA) public data: ɵTitledDialogOptions,\n public dialogRef: MatDialogRef<ɵTitledDialogOptions>,\n injector: Injector)\n {\n this.injector = Injector.create(\n {\n providers:\n [\n <ValueProvider>\n {\n provide: TITLED_DIALOG_DATA,\n useValue: data.data\n }\n ],\n parent: injector\n });\n }\n}","<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>"]}
1
+ {"version":3,"file":"titledDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/titledDialog/titledDialog.component.ts","../../../../../material/src/components/titledDialog/titledDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAiB,WAAW,EAAC,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAC,eAAe,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAGvE,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;;;;;AAGrD;;GAEG;AAQH,MAAM,OAAO,qBAAqB;IAsB9B,iEAAiE;IACjE,YAA4C,IAA0B,EACnD,SAA6C,EACpD,QAAkB;QAFc,SAAI,GAAJ,IAAI,CAAsB;QACnD,cAAS,GAAT,SAAS,CAAoC;QAG5D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAC/B;YACI,SAAS,EACT;gBAEI;oBACI,OAAO,EAAE,kBAAkB;oBAC3B,QAAQ,EAAE,IAAI,CAAC,IAAI;iBACtB;aACJ;YACD,MAAM,EAAE,QAAQ;SACnB,CAAC,CAAC;IACP,CAAC;IA9BD;;OAEG;IACH,IAAW,SAAS;QAEhB,IAAG,IAAI,CAAC,IAAI,EAAE,sBAAsB,YAAY,WAAW,EAC3D;YACI,OAAO,IAAI,CAAC;SACf;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC;IAC5C,CAAC;;kHApBQ,qBAAqB,kBAuBV,eAAe;sGAvB1B,qBAAqB,qDCjBlC,gcAUM;2FDOO,qBAAqB;kBAPjC,SAAS;+BAEI,eAAe,mBAGR,uBAAuB,CAAC,MAAM;;0BAyBlC,MAAM;2BAAC,eAAe","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Injector, ValueProvider, TemplateRef} from '@angular/core';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\n\nimport {TITLED_DIALOG_DATA} from '../../misc/tokens';\nimport {ɵTitledDialogOptions} from '../../misc/interfaces/titledDialog.interface';\n\n/**\n * Component used as wrapper for material dialog enhanced with title\n */\n@Component(\n{\n selector: 'titled-dialog',\n templateUrl: 'titledDialog.component.html',\n styleUrls: ['titledDialog.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TitledDialogComponent\n{\n //######################### public properties - template bindings #########################\n\n /**\n * Injector used for creating component or template\n */\n public injector: Injector;\n\n /**\n * Instance of component that will be rendered in dialog\n */\n public get component(): ComponentType<any>\n {\n if(this.data?.componentOrTemplateRef instanceof TemplateRef)\n {\n return null;\n }\n\n return this.data.componentOrTemplateRef;\n }\n\n //######################### constructor #########################\n constructor(@Inject(MAT_DIALOG_DATA) public data: ɵTitledDialogOptions,\n public dialogRef: MatDialogRef<ɵTitledDialogOptions>,\n injector: Injector)\n {\n this.injector = Injector.create(\n {\n providers:\n [\n <ValueProvider>\n {\n provide: TITLED_DIALOG_DATA,\n useValue: data.data\n }\n ],\n parent: injector\n });\n }\n}","<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>"]}
@@ -73,9 +73,9 @@ export class ConfirmationDialogDirective {
73
73
  }
74
74
  }
75
75
  }
76
- ConfirmationDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogDirective, deps: [{ token: i1.TitledDialogService }], target: i0.ɵɵFactoryTarget.Directive });
77
- ConfirmationDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: ConfirmationDialogDirective, selector: "[confirmation]", inputs: { confirmationText: ["confirmation", "confirmationText"], confirmationTitle: "confirmationTitle", confirmationConfirm: "confirmationConfirm", confirmationCancel: "confirmationCancel", confirmationCssClasses: "confirmationCssClasses", skipConfirmation: "skipConfirmation", preventDefaultsAndPropagation: "preventDefaultsAndPropagation" }, outputs: { confirm: "confirm" }, host: { listeners: { "click": "click($event)" } }, ngImport: i0 });
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogDirective, decorators: [{
76
+ ConfirmationDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogDirective, deps: [{ token: i1.TitledDialogService }], target: i0.ɵɵFactoryTarget.Directive });
77
+ ConfirmationDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: ConfirmationDialogDirective, selector: "[confirmation]", inputs: { confirmationText: ["confirmation", "confirmationText"], confirmationTitle: "confirmationTitle", confirmationConfirm: "confirmationConfirm", confirmationCancel: "confirmationCancel", confirmationCssClasses: "confirmationCssClasses", skipConfirmation: "skipConfirmation", preventDefaultsAndPropagation: "preventDefaultsAndPropagation" }, outputs: { confirm: "confirm" }, host: { listeners: { "click": "click($event)" } }, ngImport: i0 });
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogDirective, decorators: [{
79
79
  type: Directive,
80
80
  args: [{
81
81
  selector: '[confirmation]'
@@ -27,9 +27,9 @@ export class DebugDataCopyClickDirective {
27
27
  this._clipboard.copy(JSON.stringify(this.data, null, 4));
28
28
  }
29
29
  }
30
- DebugDataCopyClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: DebugDataCopyClickDirective, deps: [{ token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Directive });
31
- DebugDataCopyClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: DebugDataCopyClickDirective, selector: "debug-data[copyClick]", inputs: { data: ["copyClick", "data"] }, host: { listeners: { "click": "copyData()" }, properties: { "class.clickable": "this.clickable" } }, ngImport: i0 });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: DebugDataCopyClickDirective, decorators: [{
30
+ DebugDataCopyClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickDirective, deps: [{ token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Directive });
31
+ DebugDataCopyClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DebugDataCopyClickDirective, selector: "debug-data[copyClick]", inputs: { data: ["copyClick", "data"] }, host: { listeners: { "click": "copyData()" }, properties: { "class.clickable": "this.clickable" } }, ngImport: i0 });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickDirective, decorators: [{
33
33
  type: Directive,
34
34
  args: [{
35
35
  selector: 'debug-data[copyClick]'
@@ -1,10 +1,13 @@
1
1
  export { TitledDialogModule } from './modules/titledDialog.module';
2
2
  export { DebugDataCopyClickModule } from './modules/debugDataCopyClick.module';
3
+ export { MovableTitledDialogModule } from './modules/movableTitledDialog.module';
3
4
  export { TitledDialogService } from './services/titledDialog/titledDialog.service';
4
- export { TITLED_DIALOG_DATA } from './misc/interfaces/titledDialog.interface';
5
+ export { TitledDialogServiceOptions } from './services/titledDialog/titledDialogService.options';
5
6
  export { ConfirmationDialogModule } from './modules/confirmationDialog.module';
7
+ export { TitledDialogComponent } from './components/titledDialog/titledDialog.component';
8
+ export { MovableTitledDialogComponent } from './components/movableTitledDialog/movableTitledDialog.component';
6
9
  export { ConfirmationDialogComponent } from './components/confirmationDialog/confirmationDialog.component';
7
10
  export { ConfirmationDialogDirective } from './directives/confirmationDialog/confirmationDialog.directive';
8
11
  export { DebugDataCopyClickDirective } from './directives/debugDataCopyClick/debugDataCopyClick.directive';
9
- export { CONFIRMATION_DIALOG_OPTIONS } from './misc/tokens';
12
+ export { CONFIRMATION_DIALOG_OPTIONS, TITLED_DIALOG_DATA } from './misc/tokens';
10
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../material/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAqB,kBAAkB,EAAC,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AAEzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {TitledDialogModule} from './modules/titledDialog.module';\nexport {DebugDataCopyClickModule} from './modules/debugDataCopyClick.module';\nexport {TitledDialogService} from './services/titledDialog/titledDialog.service';\nexport {TitledDialogConfig, TITLED_DIALOG_DATA} from './misc/interfaces/titledDialog.interface';\nexport {ConfirmationDialogModule} from './modules/confirmationDialog.module';\nexport {ConfirmationDialogComponent} from './components/confirmationDialog/confirmationDialog.component';\nexport {ConfirmationDialogDirective} from './directives/confirmationDialog/confirmationDialog.directive';\nexport {DebugDataCopyClickDirective} from './directives/debugDataCopyClick/debugDataCopyClick.directive';\nexport {ConfirmationDialogOptions, ConfirmationDialogCssClasses} from './misc/interfaces/confirmationDialog.interface';\nexport {CONFIRMATION_DIALOG_OPTIONS} from './misc/tokens';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../material/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAC,yBAAyB,EAAC,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAC,mBAAmB,EAAC,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAC,0BAA0B,EAAC,MAAM,qDAAqD,CAAC;AAE/F,OAAO,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAC,qBAAqB,EAAC,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAC,4BAA4B,EAAC,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AAEzG,OAAO,EAAC,2BAA2B,EAAE,kBAAkB,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {TitledDialogModule} from './modules/titledDialog.module';\nexport {DebugDataCopyClickModule} from './modules/debugDataCopyClick.module';\nexport {MovableTitledDialogModule} from './modules/movableTitledDialog.module';\nexport {TitledDialogService} from './services/titledDialog/titledDialog.service';\nexport {TitledDialogServiceOptions} from './services/titledDialog/titledDialogService.options';\nexport {TitledDialogConfig} from './misc/interfaces/titledDialog.interface';\nexport {ConfirmationDialogModule} from './modules/confirmationDialog.module';\nexport {TitledDialogComponent} from './components/titledDialog/titledDialog.component';\nexport {MovableTitledDialogComponent} from './components/movableTitledDialog/movableTitledDialog.component';\nexport {ConfirmationDialogComponent} from './components/confirmationDialog/confirmationDialog.component';\nexport {ConfirmationDialogDirective} from './directives/confirmationDialog/confirmationDialog.directive';\nexport {DebugDataCopyClickDirective} from './directives/debugDataCopyClick/debugDataCopyClick.directive';\nexport {ConfirmationDialogOptions, ConfirmationDialogCssClasses} from './misc/interfaces/confirmationDialog.interface';\nexport {CONFIRMATION_DIALOG_OPTIONS, TITLED_DIALOG_DATA} from './misc/tokens';\n"]}
@@ -1,6 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * Injection token that can be used to access the data that was passed in to a titled dialog.
4
- */
5
- export const TITLED_DIALOG_DATA = new InjectionToken('TITLED_DIALOG_DATA');
1
+ export {};
6
2
  //# sourceMappingURL=titledDialog.interface.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"titledDialog.interface.js","sourceRoot":"","sources":["../../../../../material/src/misc/interfaces/titledDialog.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAC,MAAM,eAAe,CAAC;AAoC1D;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAwB,IAAI,cAAc,CAAM,oBAAoB,CAAC,CAAC","sourcesContent":["import {TemplateRef, InjectionToken} from '@angular/core';\nimport {MatDialogConfig} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\n\n/**\n * Configuration for opening a titled modal dialog with the MatDialog service.\n */\nexport interface TitledDialogConfig<TData> extends MatDialogConfig<TData>\n{\n /**\n * Title that is displayed in title of dialog\n */\n title?: string;\n}\n\n/**\n * Titled dialog options passed to titled dialog component\n */\nexport interface ɵTitledDialogOptions\n{\n /**\n * Title that is displayed in title of dialog\n */\n title?: string;\n\n /**\n * Data passed to rendered component\n */\n data?: any;\n\n /**\n * Component or template to be rendered\n */\n componentOrTemplateRef?: ComponentType<any> | TemplateRef<any>;\n}\n\n/** \n * Injection token that can be used to access the data that was passed in to a titled dialog. \n */\nexport const TITLED_DIALOG_DATA: InjectionToken<any> = new InjectionToken<any>('TITLED_DIALOG_DATA');\n"]}
1
+ {"version":3,"file":"titledDialog.interface.js","sourceRoot":"","sources":["../../../../../material/src/misc/interfaces/titledDialog.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {TemplateRef} from '@angular/core';\nimport {MatDialogConfig} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\n\n/**\n * Configuration for opening a titled modal dialog with the MatDialog service.\n */\nexport interface TitledDialogConfig<TData> extends MatDialogConfig<TData>\n{\n /**\n * Title that is displayed in title of dialog\n */\n title?: string;\n}\n\n/**\n * Titled dialog options passed to titled dialog component\n */\nexport interface ɵTitledDialogOptions\n{\n /**\n * Title that is displayed in title of dialog\n */\n title?: string;\n\n /**\n * Data passed to rendered component\n */\n data?: any;\n\n /**\n * Component or template to be rendered\n */\n componentOrTemplateRef?: ComponentType<any> | TemplateRef<any>;\n}\n"]}
@@ -3,4 +3,8 @@ import { InjectionToken } from '@angular/core';
3
3
  * Injection token used for setting global default options for confirmation dialog
4
4
  */
5
5
  export const CONFIRMATION_DIALOG_OPTIONS = new InjectionToken('CONFIRMATION_DIALOG_OPTIONS');
6
+ /**
7
+ * Injection token that can be used to access the data that was passed in to a titled dialog.
8
+ */
9
+ export const TITLED_DIALOG_DATA = new InjectionToken('TITLED_DIALOG_DATA');
6
10
  //# sourceMappingURL=tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../material/src/misc/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAI7C;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAA8C,IAAI,cAAc,CAA4B,6BAA6B,CAAC,CAAC","sourcesContent":["import {InjectionToken} from '@angular/core';\n\nimport {ConfirmationDialogOptions} from './interfaces/confirmationDialog.interface';\n\n/**\n * Injection token used for setting global default options for confirmation dialog\n */\nexport const CONFIRMATION_DIALOG_OPTIONS: InjectionToken<ConfirmationDialogOptions> = new InjectionToken<ConfirmationDialogOptions>('CONFIRMATION_DIALOG_OPTIONS');\n"]}
1
+ {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../material/src/misc/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAI7C;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAA8C,IAAI,cAAc,CAA4B,6BAA6B,CAAC,CAAC;AAEnK;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAwB,IAAI,cAAc,CAAM,oBAAoB,CAAC,CAAC","sourcesContent":["import {InjectionToken} from '@angular/core';\n\nimport {ConfirmationDialogOptions} from './interfaces/confirmationDialog.interface';\n\n/**\n * Injection token used for setting global default options for confirmation dialog\n */\nexport const CONFIRMATION_DIALOG_OPTIONS: InjectionToken<ConfirmationDialogOptions> = new InjectionToken<ConfirmationDialogOptions>('CONFIRMATION_DIALOG_OPTIONS');\n\n/** \n * Injection token that can be used to access the data that was passed in to a titled dialog. \n */\nexport const TITLED_DIALOG_DATA: InjectionToken<any> = new InjectionToken<any>('TITLED_DIALOG_DATA');\n"]}
@@ -10,17 +10,17 @@ import * as i0 from "@angular/core";
10
10
  */
11
11
  export class ConfirmationDialogModule {
12
12
  }
13
- ConfirmationDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
- ConfirmationDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogModule, declarations: [ConfirmationDialogComponent,
13
+ ConfirmationDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
+ ConfirmationDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogModule, declarations: [ConfirmationDialogComponent,
15
15
  ConfirmationDialogDirective], imports: [CommonModule,
16
16
  CommonLocalizeModule,
17
17
  TitledDialogModule], exports: [ConfirmationDialogDirective] });
18
- ConfirmationDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogModule, imports: [[
18
+ ConfirmationDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogModule, imports: [[
19
19
  CommonModule,
20
20
  CommonLocalizeModule,
21
21
  TitledDialogModule
22
22
  ]] });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ConfirmationDialogModule, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogModule, decorators: [{
24
24
  type: NgModule,
25
25
  args: [{
26
26
  imports: [
@@ -7,11 +7,11 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export class DebugDataCopyClickModule {
9
9
  }
10
- DebugDataCopyClickModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: DebugDataCopyClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- DebugDataCopyClickModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: DebugDataCopyClickModule, declarations: [DebugDataCopyClickDirective], exports: [DebugDataCopyClickDirective,
10
+ DebugDataCopyClickModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ DebugDataCopyClickModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickModule, declarations: [DebugDataCopyClickDirective], exports: [DebugDataCopyClickDirective,
12
12
  DebugDataModule] });
13
- DebugDataCopyClickModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: DebugDataCopyClickModule, imports: [[], DebugDataModule] });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: DebugDataCopyClickModule, decorators: [{
13
+ DebugDataCopyClickModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickModule, imports: [[], DebugDataModule] });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickModule, decorators: [{
15
15
  type: NgModule,
16
16
  args: [{
17
17
  imports: [],
@@ -0,0 +1,37 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { MatDialogModule } from '@angular/material/dialog';
3
+ import { DragDropModule } from '@angular/cdk/drag-drop';
4
+ import { CommonDynamicModule, CommonLocalizeModule } from '@anglr/common';
5
+ import { MovableTitledDialogComponent } from '../components/movableTitledDialog/movableTitledDialog.component';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Module for components for displaying movable titled dialog
9
+ */
10
+ export class MovableTitledDialogModule {
11
+ }
12
+ MovableTitledDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ MovableTitledDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogModule, declarations: [MovableTitledDialogComponent], imports: [CommonDynamicModule,
14
+ CommonLocalizeModule,
15
+ MatDialogModule,
16
+ DragDropModule] });
17
+ MovableTitledDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogModule, imports: [[
18
+ CommonDynamicModule,
19
+ CommonLocalizeModule,
20
+ MatDialogModule,
21
+ DragDropModule,
22
+ ]] });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogModule, decorators: [{
24
+ type: NgModule,
25
+ args: [{
26
+ imports: [
27
+ CommonDynamicModule,
28
+ CommonLocalizeModule,
29
+ MatDialogModule,
30
+ DragDropModule,
31
+ ],
32
+ declarations: [
33
+ MovableTitledDialogComponent
34
+ ],
35
+ }]
36
+ }] });
37
+ //# sourceMappingURL=movableTitledDialog.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"movableTitledDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/movableTitledDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAExE,OAAO,EAAC,4BAA4B,EAAC,MAAM,iEAAiE,CAAC;;AAE7G;;GAEG;AAeH,MAAM,OAAO,yBAAyB;;sHAAzB,yBAAyB;uHAAzB,yBAAyB,iBAH9B,4BAA4B,aAP5B,mBAAmB;QACnB,oBAAoB;QACpB,eAAe;QACf,cAAc;uHAOT,yBAAyB,YAXlC;YACI,mBAAmB;YACnB,oBAAoB;YACpB,eAAe;YACf,cAAc;SACjB;2FAMQ,yBAAyB;kBAdrC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,mBAAmB;wBACnB,oBAAoB;wBACpB,eAAe;wBACf,cAAc;qBACjB;oBACD,YAAY,EACZ;wBACI,4BAA4B;qBAC/B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {MatDialogModule} from '@angular/material/dialog';\nimport {DragDropModule} from '@angular/cdk/drag-drop';\nimport {CommonDynamicModule, CommonLocalizeModule} from '@anglr/common';\n\nimport {MovableTitledDialogComponent} from '../components/movableTitledDialog/movableTitledDialog.component';\n\n/**\n * Module for components for displaying movable titled dialog\n */\n@NgModule(\n{\n imports:\n [\n CommonDynamicModule,\n CommonLocalizeModule,\n MatDialogModule,\n DragDropModule,\n ],\n declarations:\n [\n MovableTitledDialogComponent\n ],\n})\nexport class MovableTitledDialogModule\n{\n}\n"]}