myrta-ui 14.0.0-beta.1 → 17.0.0-beta.1

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 (701) hide show
  1. package/esm2022/lib/components/alert/alert.component.mjs +43 -0
  2. package/{esm2020 → esm2022}/lib/components/alert/alert.enum.mjs +14 -14
  3. package/{esm2020 → esm2022}/lib/components/alert/alert.module.mjs +19 -19
  4. package/{esm2020 → esm2022}/lib/components/badges/badge.enum.mjs +31 -31
  5. package/{esm2020 → esm2022}/lib/components/badges/badges.module.mjs +30 -30
  6. package/esm2022/lib/components/badges/components/badge/badge.component.mjs +61 -0
  7. package/{esm2020 → esm2022}/lib/components/badges/components/badge-group/badge-group.component.mjs +11 -11
  8. package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +28 -0
  9. package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.enum.mjs +5 -5
  10. package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.module.mjs +25 -25
  11. package/esm2022/lib/components/button/button.component.mjs +100 -0
  12. package/esm2022/lib/components/button/button.enum.mjs +27 -0
  13. package/{esm2020 → esm2022}/lib/components/button/button.module.mjs +21 -21
  14. package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +29 -0
  15. package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +99 -0
  16. package/{esm2020 → esm2022}/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -21
  17. package/{esm2020 → esm2022}/lib/components/cdk-tooltip/constants/index.mjs +69 -69
  18. package/{esm2020 → esm2022}/lib/components/cdk-tooltip/models/tooltip-data.mjs +1 -1
  19. package/esm2022/lib/components/chars-left/chars-left.component.mjs +24 -0
  20. package/{esm2020 → esm2022}/lib/components/chars-left/chars-left.module.mjs +19 -19
  21. package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +24 -0
  22. package/esm2022/lib/components/dropdown/dropdown.component.mjs +107 -0
  23. package/{esm2020 → esm2022}/lib/components/dropdown/dropdown.module.mjs +21 -21
  24. package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
  25. package/{esm2020 → esm2022}/lib/components/error-message/error-message.module.mjs +19 -19
  26. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +153 -0
  27. package/{esm2020 → esm2022}/lib/components/form/checkbox/checkbox.enum.mjs +4 -4
  28. package/{esm2020 → esm2022}/lib/components/form/checkbox/checkbox.module.mjs +22 -22
  29. package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +178 -0
  30. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/checkbox-group.module.mjs +47 -47
  31. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +48 -49
  32. package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +106 -0
  33. package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +20 -0
  34. package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +15 -0
  35. package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +27 -0
  36. package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +20 -0
  37. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +10 -10
  38. package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +50 -0
  39. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +1 -1
  40. package/esm2022/lib/components/form/editor/config/default-inline-style.mjs +6 -0
  41. package/{esm2020 → esm2022}/lib/components/form/editor/config/index.mjs +1 -1
  42. package/{esm2020 → esm2022}/lib/components/form/editor/config/popups-toolbar.mjs +8 -8
  43. package/{esm2020 → esm2022}/lib/components/form/editor/config/toolbar.mjs +71 -71
  44. package/esm2022/lib/components/form/editor/editor.component.mjs +261 -0
  45. package/esm2022/lib/components/form/editor/editor.module.mjs +45 -0
  46. package/{esm2020 → esm2022}/lib/components/form/editor/models/toolbar.model.mjs +1 -1
  47. package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +92 -0
  48. package/{esm2020 → esm2022}/lib/components/form/input-date-time/constants/value-models.mjs +13 -13
  49. package/{esm2020 → esm2022}/lib/components/form/input-date-time/enum/timezone.mjs +6 -6
  50. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/clean-date.mjs +4 -4
  51. package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +23 -0
  52. package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +10 -0
  53. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +9 -9
  54. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/validate-value-models.mjs +60 -60
  55. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/value-parser.mjs +38 -38
  56. package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +386 -0
  57. package/{esm2020 → esm2022}/lib/components/form/input-date-time/input-date-time.enum.mjs +6 -6
  58. package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +46 -0
  59. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/constants/value-models.mjs +14 -14
  60. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/clean-date.mjs +4 -4
  61. package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +23 -0
  62. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +10 -0
  63. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +10 -0
  64. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +74 -74
  65. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/value-parser.mjs +47 -47
  66. package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +356 -0
  67. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/input-datepicker.enum.mjs +6 -6
  68. package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +46 -0
  69. package/{esm2020 → esm2022}/lib/components/form/input-file/enums/error-messages.enum.mjs +7 -7
  70. package/esm2022/lib/components/form/input-file/input-file.component.mjs +370 -0
  71. package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.enum.mjs +7 -7
  72. package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.module.mjs +26 -26
  73. package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +88 -0
  74. package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +364 -0
  75. package/{esm2020 → esm2022}/lib/components/form/input-file-image/input-file-image.enum.mjs +9 -9
  76. package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +51 -0
  77. package/esm2022/lib/components/form/input-number/input-number.component.mjs +267 -0
  78. package/{esm2020 → esm2022}/lib/components/form/input-number/input-number.enum.mjs +6 -6
  79. package/esm2022/lib/components/form/input-number/input-number.module.mjs +55 -0
  80. package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +370 -0
  81. package/{esm2020 → esm2022}/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +7 -7
  82. package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +43 -0
  83. package/{esm2020 → esm2022}/lib/components/form/input-opt/input-opt.module.mjs +38 -38
  84. package/{esm2020 → esm2022}/lib/components/form/input-opt/models/input-opt.model.mjs +5 -5
  85. package/{esm2020 → esm2022}/lib/components/form/input-opt/services/input-opt.service.mjs +33 -33
  86. package/esm2022/lib/components/form/input-password/input-password.component.mjs +118 -0
  87. package/{esm2020 → esm2022}/lib/components/form/input-password/input-password.enum.mjs +6 -6
  88. package/{esm2020 → esm2022}/lib/components/form/input-password/input-password.module.mjs +36 -36
  89. package/esm2022/lib/components/form/input-phone/data/country-code.mjs +1331 -0
  90. package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +35 -0
  91. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/country-iso.enum.mjs +246 -246
  92. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/input-phone.enum.mjs +6 -6
  93. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/mask.enum.mjs +138 -138
  94. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +5 -5
  95. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/search-country-field.enum.mjs +7 -7
  96. package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +679 -0
  97. package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +50 -0
  98. package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +61 -0
  99. package/{esm2020 → esm2022}/lib/components/form/input-phone/interfaces/change-data.mjs +1 -1
  100. package/{esm2020 → esm2022}/lib/components/form/input-phone/models/country.model.mjs +1 -1
  101. package/esm2022/lib/components/form/input-search/input-search.component.mjs +167 -0
  102. package/{esm2020 → esm2022}/lib/components/form/input-search/input-search.enum.mjs +6 -6
  103. package/esm2022/lib/components/form/input-search/input-search.module.mjs +41 -0
  104. package/esm2022/lib/components/form/input-select/input-select.component.mjs +253 -0
  105. package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.enum.mjs +5 -5
  106. package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.module.mjs +45 -45
  107. package/esm2022/lib/components/form/input-tel/assets/base64.mjs +4 -0
  108. package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +1323 -0
  109. package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
  110. package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +6 -0
  111. package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +8 -0
  112. package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
  113. package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +7 -0
  114. package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +400 -0
  115. package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +43 -0
  116. package/esm2022/lib/components/form/input-tel/models/country.model.mjs +2 -0
  117. package/esm2022/lib/components/form/input-text/input-text.component.mjs +189 -0
  118. package/{esm2020 → esm2022}/lib/components/form/input-text/input-text.enum.mjs +14 -14
  119. package/esm2022/lib/components/form/input-text/input-text.module.mjs +49 -0
  120. package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +197 -0
  121. package/{esm2020 → esm2022}/lib/components/form/input-textarea/input-textarea.enum.mjs +6 -6
  122. package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +49 -0
  123. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/constants/value-models.mjs +7 -7
  124. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/clean-date.mjs +4 -4
  125. package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +14 -0
  126. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +4 -4
  127. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-object.mjs +4 -4
  128. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +29 -29
  129. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/value-parser.mjs +17 -17
  130. package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +292 -0
  131. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/input-timepicker.enum.mjs +6 -6
  132. package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +46 -0
  133. package/esm2022/lib/components/form/radio/radio.component.mjs +91 -0
  134. package/{esm2020 → esm2022}/lib/components/form/radio/radio.enum.mjs +4 -4
  135. package/{esm2020 → esm2022}/lib/components/form/radio/radio.module.mjs +20 -20
  136. package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +45 -0
  137. package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +66 -0
  138. package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
  139. package/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +11 -0
  140. package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
  141. package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +2 -0
  142. package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +175 -0
  143. package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +26 -0
  144. package/esm2022/lib/components/form/rating/rating.component.mjs +215 -0
  145. package/{esm2020 → esm2022}/lib/components/form/rating/rating.enum.mjs +15 -15
  146. package/{esm2020 → esm2022}/lib/components/form/rating/rating.module.mjs +25 -25
  147. package/esm2022/lib/components/form/switch/switch.component.mjs +95 -0
  148. package/{esm2020 → esm2022}/lib/components/form/switch/switch.enum.mjs +10 -10
  149. package/{esm2020 → esm2022}/lib/components/form/switch/switch.module.mjs +21 -21
  150. package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +39 -0
  151. package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +112 -0
  152. package/{esm2020 → esm2022}/lib/components/gallery/constants/custom-buttons-default.mjs +6 -6
  153. package/{esm2020 → esm2022}/lib/components/gallery/constants/thumbs-config-default.mjs +4 -4
  154. package/esm2022/lib/components/gallery/gallery.component.mjs +203 -0
  155. package/{esm2020 → esm2022}/lib/components/gallery/gallery.module.mjs +54 -54
  156. package/{esm2020 → esm2022}/lib/components/gallery/models/gallery-item.model.mjs +1 -1
  157. package/esm2022/lib/components/gallery/services/gallery.service.mjs +33 -0
  158. package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +121 -0
  159. package/{esm2020 → esm2022}/lib/components/hint-error-message/hint-error-message.module.mjs +19 -19
  160. package/esm2022/lib/components/icon-button/icon-button.component.mjs +49 -0
  161. package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.enum.mjs +15 -15
  162. package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.module.mjs +19 -19
  163. package/esm2022/lib/components/label/label.component.mjs +143 -0
  164. package/{esm2020 → esm2022}/lib/components/label/label.module.mjs +25 -25
  165. package/esm2022/lib/components/link/link.component.mjs +48 -0
  166. package/{esm2020 → esm2022}/lib/components/link/link.enum.mjs +19 -19
  167. package/{esm2020 → esm2022}/lib/components/link/link.module.mjs +19 -19
  168. package/esm2022/lib/components/loader/loader.component.mjs +24 -0
  169. package/{esm2020 → esm2022}/lib/components/loader/loader.enum.mjs +19 -19
  170. package/{esm2020 → esm2022}/lib/components/loader/loader.module.mjs +19 -19
  171. package/esm2022/lib/components/modal/modal.component.mjs +137 -0
  172. package/{esm2020 → esm2022}/lib/components/modal/modal.emun.mjs +20 -20
  173. package/{esm2020 → esm2022}/lib/components/modal/modal.module.mjs +20 -20
  174. package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +31 -0
  175. package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.enum.mjs +5 -5
  176. package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.module.mjs +24 -24
  177. package/esm2022/lib/components/paginator/paginator.component.mjs +140 -0
  178. package/{esm2020 → esm2022}/lib/components/paginator/paginator.enum.mjs +5 -5
  179. package/{esm2020 → esm2022}/lib/components/paginator/paginator.module.mjs +31 -31
  180. package/esm2022/lib/components/progress/progress.component.mjs +24 -0
  181. package/{esm2020 → esm2022}/lib/components/progress/progress.enum.mjs +7 -7
  182. package/{esm2020 → esm2022}/lib/components/progress/progress.module.mjs +19 -19
  183. package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +16 -0
  184. package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +16 -0
  185. package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +16 -0
  186. package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +16 -0
  187. package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +16 -0
  188. package/esm2022/lib/components/save-state/save-state.component.mjs +40 -0
  189. package/{esm2020 → esm2022}/lib/components/save-state/save-state.enum.mjs +1 -1
  190. package/{esm2020 → esm2022}/lib/components/save-state/save-state.module.mjs +37 -37
  191. package/esm2022/lib/components/stepper/stepper.component.mjs +52 -0
  192. package/{esm2020 → esm2022}/lib/components/stepper/stepper.enum.mjs +5 -5
  193. package/{esm2020 → esm2022}/lib/components/stepper/stepper.module.mjs +20 -20
  194. package/esm2022/lib/components/table/components/column/column.component.mjs +40 -0
  195. package/{esm2020 → esm2022}/lib/components/table/default/default-pager-settings.mjs +6 -6
  196. package/{esm2020 → esm2022}/lib/components/table/models/data-state-change.event.mjs +1 -1
  197. package/{esm2020 → esm2022}/lib/components/table/models/index.mjs +3 -3
  198. package/{esm2020 → esm2022}/lib/components/table/models/pager-settings.mjs +1 -1
  199. package/esm2022/lib/components/table/table.component.mjs +281 -0
  200. package/{esm2020 → esm2022}/lib/components/table/table.enum.mjs +7 -7
  201. package/{esm2020 → esm2022}/lib/components/table/table.module.mjs +50 -50
  202. package/esm2022/lib/components/tabs/tab/tab.component.mjs +33 -0
  203. package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +27 -0
  204. package/{esm2020 → esm2022}/lib/components/tabs/tabs.enum.mjs +13 -13
  205. package/{esm2020 → esm2022}/lib/components/tabs/tabs.module.mjs +20 -20
  206. package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +65 -0
  207. package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +36 -0
  208. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +10 -10
  209. package/esm2022/lib/components/tooltip/tooltip.component.mjs +59 -0
  210. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.enum.mjs +5 -5
  211. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.module.mjs +21 -21
  212. package/{esm2020 → esm2022}/lib/components/truncate-text/directives/truncate-text.directive.mjs +149 -139
  213. package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +30 -0
  214. package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.enum.mjs +1 -1
  215. package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.module.mjs +21 -21
  216. package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
  217. package/{esm2020 → esm2022}/lib/components/warning-message/warning-message.module.mjs +19 -19
  218. package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +25 -0
  219. package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +5 -5
  220. package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -19
  221. package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +15 -0
  222. package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +23 -0
  223. package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +6 -6
  224. package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -20
  225. package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +99 -0
  226. package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +16 -16
  227. package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -24
  228. package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
  229. package/{esm2020 → esm2022}/lib/directives/autosize/autosize.module.mjs +24 -24
  230. package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
  231. package/{esm2020 → esm2022}/lib/directives/truncate/truncate.module.mjs +18 -18
  232. package/{esm2020 → esm2022}/lib/enums/typed.input.state.mjs +7 -7
  233. package/esm2022/lib/helpers/extension/input-file.extension.mjs +39 -0
  234. package/esm2022/lib/helpers/formatting-date.mjs +51 -0
  235. package/{esm2020 → esm2022}/lib/helpers/formatting-dates-from-array.mjs +18 -18
  236. package/{esm2020 → esm2022}/lib/helpers/formatting-iso-to-string.mjs +12 -12
  237. package/{esm2020 → esm2022}/lib/helpers/index.mjs +7 -7
  238. package/{esm2020 → esm2022}/lib/helpers/number-format.mjs +8 -8
  239. package/esm2022/lib/helpers/string-hash-code.mjs +17 -0
  240. package/{esm2020 → esm2022}/lib/helpers/word-form.mjs +10 -10
  241. package/{esm2020 → esm2022}/lib/models/index.mjs +2 -2
  242. package/{esm2020 → esm2022}/lib/models/input-file/input-file.model.mjs +1 -1
  243. package/{esm2020 → esm2022}/lib/models/typed-input-model.mjs +1 -1
  244. package/{esm2020 → esm2022}/lib/pipes/currency/currency.module.mjs +20 -20
  245. package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
  246. package/{esm2020 → esm2022}/lib/pipes/date/date-format.module.mjs +19 -19
  247. package/esm2022/lib/pipes/date/date-format.pipe.mjs +21 -0
  248. package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +21 -0
  249. package/{esm2020 → esm2022}/lib/pipes/date/enums/timezone.mjs +9 -9
  250. package/{esm2020 → esm2022}/lib/pipes/date/helpers/change-timezone.mjs +22 -22
  251. package/{esm2020 → esm2022}/lib/pipes/phone/phone-format.module.mjs +18 -18
  252. package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
  253. package/{esm2020 → esm2022}/lib/pipes/safe/safe.module.mjs +20 -20
  254. package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
  255. package/{esm2020 → esm2022}/lib/pipes/truncate/truncate.module.mjs +20 -20
  256. package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +23 -0
  257. package/esm2022/lib/services/file-upload/file-upload.service.mjs +27 -0
  258. package/{esm2020 → esm2022}/lib/services/index.mjs +6 -6
  259. package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +46 -0
  260. package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +50 -0
  261. package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +14 -0
  262. package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +29 -0
  263. package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +4 -0
  264. package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +5 -0
  265. package/esm2022/lib/services/modal-service/modal-service.service.mjs +84 -0
  266. package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +2 -0
  267. package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +43 -0
  268. package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +283 -0
  269. package/{esm2020 → esm2022}/lib/services/save-store/constants/constants.mjs +1 -1
  270. package/{esm2020 → esm2022}/lib/services/save-store/models/save-store.model.mjs +1 -1
  271. package/{esm2020 → esm2022}/lib/services/save-store/save-store.module.mjs +29 -29
  272. package/{esm2020 → esm2022}/lib/services/save-store/store/actions.mjs +22 -22
  273. package/esm2022/lib/services/save-store/store/effect.mjs +61 -0
  274. package/esm2022/lib/services/save-store/store/reducer.mjs +96 -0
  275. package/{esm2020 → esm2022}/lib/services/save-store/store/selectors.mjs +4 -4
  276. package/{esm2020 → esm2022}/lib/services/save-store/store/state.mjs +3 -3
  277. package/{esm2020 → esm2022}/myrta-ui.mjs +4 -4
  278. package/esm2022/public-api.mjs +176 -0
  279. package/fesm2022/myrta-ui.mjs +15458 -0
  280. package/fesm2022/myrta-ui.mjs.map +1 -0
  281. package/index.d.ts +5 -5
  282. package/lib/components/alert/alert.component.d.ts +17 -17
  283. package/lib/components/alert/alert.enum.d.ts +13 -13
  284. package/lib/components/alert/alert.module.d.ts +8 -8
  285. package/lib/components/badges/badge.enum.d.ts +38 -38
  286. package/lib/components/badges/badges.module.d.ts +9 -9
  287. package/lib/components/badges/components/badge/badge.component.d.ts +21 -21
  288. package/lib/components/badges/components/badge-group/badge-group.component.d.ts +5 -5
  289. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +11 -11
  290. package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +11 -11
  291. package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +8 -8
  292. package/lib/components/button/button.component.d.ts +31 -31
  293. package/lib/components/button/button.enum.d.ts +27 -29
  294. package/lib/components/button/button.module.d.ts +10 -10
  295. package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +13 -13
  296. package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +24 -24
  297. package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +10 -10
  298. package/lib/components/cdk-tooltip/constants/index.d.ts +7 -7
  299. package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +6 -6
  300. package/lib/components/chars-left/chars-left.component.d.ts +9 -9
  301. package/lib/components/chars-left/chars-left.module.d.ts +8 -8
  302. package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +9 -9
  303. package/lib/components/dropdown/dropdown.component.d.ts +26 -26
  304. package/lib/components/dropdown/dropdown.module.d.ts +10 -10
  305. package/lib/components/error-message/error-message.component.d.ts +10 -9
  306. package/lib/components/error-message/error-message.module.d.ts +8 -8
  307. package/lib/components/form/checkbox/checkbox.component.d.ts +48 -48
  308. package/lib/components/form/checkbox/checkbox.enum.d.ts +14 -14
  309. package/lib/components/form/checkbox/checkbox.module.d.ts +11 -11
  310. package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +54 -54
  311. package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +16 -16
  312. package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +19 -19
  313. package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +26 -26
  314. package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +3 -3
  315. package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +3 -3
  316. package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +2 -2
  317. package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +2 -2
  318. package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +2 -2
  319. package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +2 -2
  320. package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +15 -15
  321. package/lib/components/form/editor/config/default-inline-style.d.ts +11 -0
  322. package/lib/components/form/editor/config/index.d.ts +1 -1
  323. package/lib/components/form/editor/config/popups-toolbar.d.ts +15 -15
  324. package/lib/components/form/editor/config/toolbar.d.ts +2 -2
  325. package/lib/components/form/editor/editor.component.d.ts +63 -48
  326. package/lib/components/form/editor/editor.module.d.ts +14 -14
  327. package/lib/components/form/editor/models/toolbar.model.d.ts +6 -6
  328. package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -1
  329. package/lib/components/form/input-date-time/constants/value-models.d.ts +3 -3
  330. package/lib/components/form/input-date-time/enum/timezone.d.ts +6 -6
  331. package/lib/components/form/input-date-time/helpers/clean-date.d.ts +1 -1
  332. package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +1 -1
  333. package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +3 -3
  334. package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +2 -2
  335. package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +19 -19
  336. package/lib/components/form/input-date-time/helpers/value-parser.d.ts +4 -4
  337. package/lib/components/form/input-date-time/input-date-time.component.d.ts +72 -72
  338. package/lib/components/form/input-date-time/input-date-time.enum.d.ts +21 -21
  339. package/lib/components/form/input-date-time/input-date-time.module.d.ts +13 -13
  340. package/lib/components/form/input-datepicker/constants/value-models.d.ts +3 -3
  341. package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +1 -1
  342. package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +1 -1
  343. package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +3 -3
  344. package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +2 -2
  345. package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +20 -20
  346. package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +3 -3
  347. package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +69 -69
  348. package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +12 -12
  349. package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +13 -13
  350. package/lib/components/form/input-file/enums/error-messages.enum.d.ts +6 -6
  351. package/lib/components/form/input-file/input-file.component.d.ts +72 -72
  352. package/lib/components/form/input-file/input-file.enum.d.ts +7 -7
  353. package/lib/components/form/input-file/input-file.module.d.ts +13 -13
  354. package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +42 -33
  355. package/lib/components/form/input-file-image/input-file-image.component.d.ts +62 -59
  356. package/lib/components/form/input-file-image/input-file-image.enum.d.ts +8 -8
  357. package/lib/components/form/input-file-image/input-file-image.module.d.ts +15 -16
  358. package/lib/components/form/input-number/input-number.component.d.ts +64 -61
  359. package/lib/components/form/input-number/input-number.enum.d.ts +12 -12
  360. package/lib/components/form/input-number/input-number.module.d.ts +13 -13
  361. package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +77 -77
  362. package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +7 -7
  363. package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +8 -8
  364. package/lib/components/form/input-opt/input-opt.module.d.ts +11 -11
  365. package/lib/components/form/input-opt/models/input-opt.model.d.ts +26 -26
  366. package/lib/components/form/input-opt/services/input-opt.service.d.ts +11 -11
  367. package/lib/components/form/input-password/input-password.component.d.ts +38 -38
  368. package/lib/components/form/input-password/input-password.enum.d.ts +7 -7
  369. package/lib/components/form/input-password/input-password.module.d.ts +11 -11
  370. package/lib/components/form/input-phone/data/country-code.d.ts +6 -6
  371. package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +11 -11
  372. package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +245 -245
  373. package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +11 -11
  374. package/lib/components/form/input-phone/enums/mask.enum.d.ts +8 -8
  375. package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +4 -4
  376. package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +6 -6
  377. package/lib/components/form/input-phone/input-phone.component.d.ts +132 -132
  378. package/lib/components/form/input-phone/input-phone.module.d.ts +14 -14
  379. package/lib/components/form/input-phone/input-phone.validator.d.ts +5 -5
  380. package/lib/components/form/input-phone/interfaces/change-data.d.ts +9 -9
  381. package/lib/components/form/input-phone/models/country.model.d.ts +13 -13
  382. package/lib/components/form/input-search/input-search.component.d.ts +48 -48
  383. package/lib/components/form/input-search/input-search.enum.d.ts +6 -6
  384. package/lib/components/form/input-search/input-search.module.d.ts +12 -12
  385. package/lib/components/form/input-select/input-select.component.d.ts +84 -84
  386. package/lib/components/form/input-select/input-select.enum.d.ts +10 -10
  387. package/lib/components/form/input-select/input-select.module.d.ts +14 -14
  388. package/lib/components/form/input-tel/assets/base64.d.ts +3 -0
  389. package/lib/components/form/input-tel/data/all-countries.d.ts +1 -0
  390. package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -0
  391. package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -0
  392. package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -0
  393. package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -0
  394. package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -0
  395. package/lib/components/form/input-tel/input-tel.component.d.ts +89 -0
  396. package/lib/components/form/input-tel/input-tel.module.d.ts +13 -0
  397. package/lib/components/form/input-tel/models/country.model.d.ts +18 -0
  398. package/lib/components/form/input-text/input-text.component.d.ts +54 -54
  399. package/lib/components/form/input-text/input-text.enum.d.ts +19 -19
  400. package/lib/components/form/input-text/input-text.module.d.ts +14 -14
  401. package/lib/components/form/input-textarea/input-textarea.component.d.ts +54 -52
  402. package/lib/components/form/input-textarea/input-textarea.enum.d.ts +11 -11
  403. package/lib/components/form/input-textarea/input-textarea.module.d.ts +14 -14
  404. package/lib/components/form/input-timepicker/constants/value-models.d.ts +2 -2
  405. package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +1 -1
  406. package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +1 -1
  407. package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +3 -3
  408. package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +2 -2
  409. package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +10 -10
  410. package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +2 -2
  411. package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +60 -60
  412. package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +11 -11
  413. package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +13 -13
  414. package/lib/components/form/radio/radio.component.d.ts +29 -29
  415. package/lib/components/form/radio/radio.enum.d.ts +4 -4
  416. package/lib/components/form/radio/radio.module.d.ts +9 -9
  417. package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +18 -0
  418. package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +26 -0
  419. package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -0
  420. package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -0
  421. package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -0
  422. package/lib/components/form/radio-group/models/radio-group.model.d.ts +8 -0
  423. package/lib/components/form/radio-group/radio-group.component.d.ts +57 -0
  424. package/lib/components/form/radio-group/radio-group.module.d.ts +15 -0
  425. package/lib/components/form/rating/rating.component.d.ts +51 -51
  426. package/lib/components/form/rating/rating.enum.d.ts +27 -27
  427. package/lib/components/form/rating/rating.module.d.ts +9 -9
  428. package/lib/components/form/switch/switch.component.d.ts +32 -32
  429. package/lib/components/form/switch/switch.enum.d.ts +15 -15
  430. package/lib/components/form/switch/switch.module.d.ts +10 -10
  431. package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +21 -17
  432. package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +38 -38
  433. package/lib/components/gallery/constants/custom-buttons-default.d.ts +3 -3
  434. package/lib/components/gallery/constants/thumbs-config-default.d.ts +2 -2
  435. package/lib/components/gallery/gallery.component.d.ts +38 -38
  436. package/lib/components/gallery/gallery.module.d.ts +16 -16
  437. package/lib/components/gallery/models/gallery-item.model.d.ts +24 -24
  438. package/lib/components/gallery/services/gallery.service.d.ts +14 -14
  439. package/lib/components/hint-error-message/hint-error-message.component.d.ts +21 -21
  440. package/lib/components/hint-error-message/hint-error-message.module.d.ts +8 -8
  441. package/lib/components/icon-button/icon-button.component.d.ts +19 -19
  442. package/lib/components/icon-button/icon-button.enum.d.ts +15 -15
  443. package/lib/components/icon-button/icon-button.module.d.ts +9 -9
  444. package/lib/components/label/label.component.d.ts +44 -44
  445. package/lib/components/label/label.module.d.ts +14 -14
  446. package/lib/components/link/link.component.d.ts +18 -18
  447. package/lib/components/link/link.enum.d.ts +19 -19
  448. package/lib/components/link/link.module.d.ts +8 -8
  449. package/lib/components/loader/loader.component.d.ts +10 -10
  450. package/lib/components/loader/loader.enum.d.ts +19 -19
  451. package/lib/components/loader/loader.module.d.ts +8 -8
  452. package/lib/components/modal/modal.component.d.ts +36 -36
  453. package/lib/components/modal/modal.emun.d.ts +20 -20
  454. package/lib/components/modal/modal.module.d.ts +9 -9
  455. package/lib/components/pages-nav/pages-nav.component.d.ts +12 -12
  456. package/lib/components/pages-nav/pages-nav.enum.d.ts +5 -5
  457. package/lib/components/pages-nav/pages-nav.module.d.ts +8 -8
  458. package/lib/components/paginator/paginator.component.d.ts +29 -29
  459. package/lib/components/paginator/paginator.enum.d.ts +10 -10
  460. package/lib/components/paginator/paginator.module.d.ts +10 -10
  461. package/lib/components/progress/progress.component.d.ts +10 -10
  462. package/lib/components/progress/progress.enum.d.ts +7 -7
  463. package/lib/components/progress/progress.module.d.ts +8 -8
  464. package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +8 -8
  465. package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +8 -8
  466. package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +8 -8
  467. package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +8 -8
  468. package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +8 -8
  469. package/lib/components/save-state/save-state.component.d.ts +13 -13
  470. package/lib/components/save-state/save-state.enum.d.ts +1 -1
  471. package/lib/components/save-state/save-state.module.d.ts +13 -13
  472. package/lib/components/stepper/stepper.component.d.ts +17 -17
  473. package/lib/components/stepper/stepper.enum.d.ts +5 -5
  474. package/lib/components/stepper/stepper.module.d.ts +9 -9
  475. package/lib/components/table/components/column/column.component.d.ts +14 -14
  476. package/lib/components/table/default/default-pager-settings.d.ts +2 -2
  477. package/lib/components/table/models/data-state-change.event.d.ts +15 -15
  478. package/lib/components/table/models/index.d.ts +3 -3
  479. package/lib/components/table/models/pager-settings.d.ts +22 -22
  480. package/lib/components/table/table.component.d.ts +55 -55
  481. package/lib/components/table/table.enum.d.ts +32 -32
  482. package/lib/components/table/table.module.d.ts +14 -14
  483. package/lib/components/tabs/tab/tab.component.d.ts +13 -13
  484. package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +11 -11
  485. package/lib/components/tabs/tabs.enum.d.ts +11 -11
  486. package/lib/components/tabs/tabs.module.d.ts +9 -9
  487. package/lib/components/tooltip/services/tooltip.service.d.ts +18 -18
  488. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +15 -16
  489. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +10 -10
  490. package/lib/components/tooltip/tooltip.component.d.ts +18 -18
  491. package/lib/components/tooltip/tooltip.enum.d.ts +4 -4
  492. package/lib/components/tooltip/tooltip.module.d.ts +10 -10
  493. package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +37 -37
  494. package/lib/components/truncate-text/truncate-text.component.d.ts +12 -12
  495. package/lib/components/truncate-text/truncate-text.enum.d.ts +2 -2
  496. package/lib/components/truncate-text/truncate-text.module.d.ts +10 -10
  497. package/lib/components/warning-message/warning-message.component.d.ts +9 -9
  498. package/lib/components/warning-message/warning-message.module.d.ts +8 -8
  499. package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +10 -10
  500. package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +5 -5
  501. package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +8 -8
  502. package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +6 -6
  503. package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +10 -10
  504. package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +6 -6
  505. package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +9 -9
  506. package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +26 -26
  507. package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +15 -15
  508. package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +8 -8
  509. package/lib/directives/autosize/autosize.directive.d.ts +16 -16
  510. package/lib/directives/autosize/autosize.module.d.ts +8 -8
  511. package/lib/directives/truncate/truncate.directive.d.ts +12 -12
  512. package/lib/directives/truncate/truncate.module.d.ts +8 -8
  513. package/lib/enums/typed.input.state.d.ts +6 -6
  514. package/lib/helpers/extension/input-file.extension.d.ts +4 -4
  515. package/lib/helpers/formatting-date.d.ts +9 -9
  516. package/lib/helpers/formatting-dates-from-array.d.ts +2 -2
  517. package/lib/helpers/formatting-iso-to-string.d.ts +2 -2
  518. package/lib/helpers/index.d.ts +7 -7
  519. package/lib/helpers/number-format.d.ts +6 -6
  520. package/lib/helpers/string-hash-code.d.ts +2 -2
  521. package/lib/helpers/word-form.d.ts +7 -7
  522. package/lib/models/index.d.ts +2 -2
  523. package/lib/models/input-file/input-file.model.d.ts +22 -22
  524. package/lib/models/typed-input-model.d.ts +16 -16
  525. package/lib/pipes/currency/currency.module.d.ts +8 -8
  526. package/lib/pipes/currency/currency.pipe.d.ts +7 -7
  527. package/lib/pipes/date/date-format.module.d.ts +9 -9
  528. package/lib/pipes/date/date-format.pipe.d.ts +9 -9
  529. package/lib/pipes/date/date-time-format.pipe.d.ts +9 -9
  530. package/lib/pipes/date/enums/timezone.d.ts +8 -8
  531. package/lib/pipes/date/helpers/change-timezone.d.ts +2 -2
  532. package/lib/pipes/phone/phone-format.module.d.ts +8 -8
  533. package/lib/pipes/phone/phone-format.pipe.d.ts +8 -8
  534. package/lib/pipes/safe/safe.module.d.ts +8 -8
  535. package/lib/pipes/safe/safe.pipe.d.ts +10 -10
  536. package/lib/pipes/truncate/truncate.module.d.ts +8 -8
  537. package/lib/pipes/truncate/truncate.pipe.d.ts +7 -7
  538. package/lib/services/file-upload/file-upload.service.d.ts +12 -12
  539. package/lib/services/index.d.ts +6 -6
  540. package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +20 -0
  541. package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +21 -0
  542. package/lib/services/modal-service/helpers/modal-default-config.d.ts +3 -0
  543. package/lib/services/modal-service/helpers/modal-ref.d.ts +11 -0
  544. package/lib/services/modal-service/helpers/modal-tokens.d.ts +3 -0
  545. package/lib/services/modal-service/helpers/modal.component.d.ts +4 -0
  546. package/lib/services/modal-service/modal-service.service.d.ts +20 -0
  547. package/lib/services/modal-service/models/modal-config.model.d.ts +14 -0
  548. package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +19 -19
  549. package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +51 -51
  550. package/lib/services/save-store/constants/constants.d.ts +1 -1
  551. package/lib/services/save-store/models/save-store.model.d.ts +4 -4
  552. package/lib/services/save-store/save-store.module.d.ts +9 -9
  553. package/lib/services/save-store/store/actions.d.ts +21 -21
  554. package/lib/services/save-store/store/effect.d.ts +10 -16
  555. package/lib/services/save-store/store/reducer.d.ts +3 -3
  556. package/lib/services/save-store/store/selectors.d.ts +3 -3
  557. package/lib/services/save-store/store/state.d.ts +11 -11
  558. package/package.json +29 -37
  559. package/public-api.d.ts +162 -171
  560. package/esm2020/lib/components/alert/alert.component.mjs +0 -45
  561. package/esm2020/lib/components/badges/components/badge/badge.component.mjs +0 -61
  562. package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
  563. package/esm2020/lib/components/button/button.component.mjs +0 -102
  564. package/esm2020/lib/components/button/button.enum.mjs +0 -29
  565. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -28
  566. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -95
  567. package/esm2020/lib/components/chars-left/chars-left.component.mjs +0 -26
  568. package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +0 -99
  569. package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +0 -324
  570. package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -51
  571. package/esm2020/lib/components/context-menu/context-menu.options.mjs +0 -2
  572. package/esm2020/lib/components/context-menu/context-menu.tokens.mjs +0 -3
  573. package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +0 -36
  574. package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +0 -61
  575. package/esm2020/lib/components/context-menu/models/context-menu.enum.mjs +0 -2
  576. package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +0 -103
  577. package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +0 -223
  578. package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -23
  579. package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -104
  580. package/esm2020/lib/components/error-message/error-message.component.mjs +0 -31
  581. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -150
  582. package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -178
  583. package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -103
  584. package/esm2020/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -20
  585. package/esm2020/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
  586. package/esm2020/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
  587. package/esm2020/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
  588. package/esm2020/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
  589. package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +0 -33
  590. package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +0 -105
  591. package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +0 -42
  592. package/esm2020/lib/components/form/document-editor/helpers/transform-sysname.mjs +0 -41
  593. package/esm2020/lib/components/form/document-editor/models/document-editor-short-codes.enum.mjs +0 -2
  594. package/esm2020/lib/components/form/editor/editor.component.mjs +0 -232
  595. package/esm2020/lib/components/form/editor/editor.module.mjs +0 -45
  596. package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
  597. package/esm2020/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
  598. package/esm2020/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
  599. package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +0 -381
  600. package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +0 -46
  601. package/esm2020/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
  602. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
  603. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
  604. package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -354
  605. package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -46
  606. package/esm2020/lib/components/form/input-file/input-file.component.mjs +0 -362
  607. package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -66
  608. package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +0 -339
  609. package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +0 -58
  610. package/esm2020/lib/components/form/input-number/input-number.component.mjs +0 -238
  611. package/esm2020/lib/components/form/input-number/input-number.module.mjs +0 -55
  612. package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -363
  613. package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -44
  614. package/esm2020/lib/components/form/input-password/input-password.component.mjs +0 -119
  615. package/esm2020/lib/components/form/input-phone/data/country-code.mjs +0 -1333
  616. package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -33
  617. package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +0 -671
  618. package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +0 -50
  619. package/esm2020/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
  620. package/esm2020/lib/components/form/input-search/input-search.component.mjs +0 -166
  621. package/esm2020/lib/components/form/input-search/input-search.module.mjs +0 -41
  622. package/esm2020/lib/components/form/input-select/input-select.component.mjs +0 -243
  623. package/esm2020/lib/components/form/input-text/input-text.component.mjs +0 -188
  624. package/esm2020/lib/components/form/input-text/input-text.module.mjs +0 -49
  625. package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +0 -169
  626. package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +0 -48
  627. package/esm2020/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
  628. package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -290
  629. package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -46
  630. package/esm2020/lib/components/form/radio/radio.component.mjs +0 -91
  631. package/esm2020/lib/components/form/rating/rating.component.mjs +0 -217
  632. package/esm2020/lib/components/form/switch/switch.component.mjs +0 -97
  633. package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -22
  634. package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -102
  635. package/esm2020/lib/components/gallery/gallery.component.mjs +0 -197
  636. package/esm2020/lib/components/gallery/services/gallery.service.mjs +0 -31
  637. package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +0 -123
  638. package/esm2020/lib/components/icon-button/icon-button.component.mjs +0 -51
  639. package/esm2020/lib/components/label/label.component.mjs +0 -141
  640. package/esm2020/lib/components/link/link.component.mjs +0 -50
  641. package/esm2020/lib/components/loader/loader.component.mjs +0 -26
  642. package/esm2020/lib/components/modal/modal.component.mjs +0 -136
  643. package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +0 -33
  644. package/esm2020/lib/components/paginator/paginator.component.mjs +0 -142
  645. package/esm2020/lib/components/progress/progress.component.mjs +0 -26
  646. package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -15
  647. package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -15
  648. package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -15
  649. package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -15
  650. package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -15
  651. package/esm2020/lib/components/save-state/save-state.component.mjs +0 -39
  652. package/esm2020/lib/components/stepper/stepper.component.mjs +0 -54
  653. package/esm2020/lib/components/table/components/column/column.component.mjs +0 -40
  654. package/esm2020/lib/components/table/table.component.mjs +0 -274
  655. package/esm2020/lib/components/tabs/tab/tab.component.mjs +0 -31
  656. package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -29
  657. package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +0 -67
  658. package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -48
  659. package/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -60
  660. package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +0 -30
  661. package/esm2020/lib/components/warning-message/warning-message.component.mjs +0 -31
  662. package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -26
  663. package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -17
  664. package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -24
  665. package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -96
  666. package/esm2020/lib/directives/autosize/autosize.directive.mjs +0 -55
  667. package/esm2020/lib/directives/truncate/truncate.directive.mjs +0 -32
  668. package/esm2020/lib/helpers/extension/input-file.extension.mjs +0 -39
  669. package/esm2020/lib/helpers/formatting-date.mjs +0 -51
  670. package/esm2020/lib/helpers/string-hash-code.mjs +0 -17
  671. package/esm2020/lib/pipes/currency/currency.pipe.mjs +0 -22
  672. package/esm2020/lib/pipes/date/date-format.pipe.mjs +0 -21
  673. package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +0 -21
  674. package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +0 -23
  675. package/esm2020/lib/pipes/safe/safe.pipe.mjs +0 -20
  676. package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +0 -23
  677. package/esm2020/lib/services/file-upload/file-upload.service.mjs +0 -26
  678. package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -44
  679. package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -282
  680. package/esm2020/lib/services/save-store/store/effect.mjs +0 -31
  681. package/esm2020/lib/services/save-store/store/reducer.mjs +0 -79
  682. package/esm2020/public-api.mjs +0 -180
  683. package/fesm2015/myrta-ui.mjs +0 -13594
  684. package/fesm2015/myrta-ui.mjs.map +0 -1
  685. package/fesm2020/myrta-ui.mjs +0 -13637
  686. package/fesm2020/myrta-ui.mjs.map +0 -1
  687. package/lib/components/context-menu/components/context-menu/context-menu.component.d.ts +0 -34
  688. package/lib/components/context-menu/components/context-menu-content/context-menu-content.component.d.ts +0 -62
  689. package/lib/components/context-menu/context-menu.module.d.ts +0 -15
  690. package/lib/components/context-menu/context-menu.options.d.ts +0 -4
  691. package/lib/components/context-menu/context-menu.tokens.d.ts +0 -2
  692. package/lib/components/context-menu/directives/context-menu/context-menu.directive.d.ts +0 -12
  693. package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts +0 -30
  694. package/lib/components/context-menu/models/context-menu.enum.d.ts +0 -11
  695. package/lib/components/context-menu/services/context-menu/context-menu-fixed.service.d.ts +0 -11
  696. package/lib/components/context-menu/services/context-menu/context-menu.service.d.ts +0 -56
  697. package/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.d.ts +0 -22
  698. package/lib/components/form/document-editor/document-editor.component.d.ts +0 -37
  699. package/lib/components/form/document-editor/document-editor.module.d.ts +0 -13
  700. package/lib/components/form/document-editor/helpers/transform-sysname.d.ts +0 -5
  701. package/lib/components/form/document-editor/models/document-editor-short-codes.enum.d.ts +0 -6
@@ -1,19 +1,19 @@
1
- import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ContentWrapperComponent } from './content-wrapper.component';
4
- import * as i0 from "@angular/core";
5
- export class ContentWrapperModule {
6
- }
7
- ContentWrapperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- ContentWrapperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ContentWrapperModule, declarations: [ContentWrapperComponent], imports: [CommonModule], exports: [ContentWrapperComponent] });
9
- ContentWrapperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentWrapperModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentWrapperModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [ContentWrapperComponent],
14
- imports: [CommonModule],
15
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
16
- exports: [ContentWrapperComponent]
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13cmFwcGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy93cmFwcGVycy9jb250ZW50LXdyYXBwZXIvY29udGVudC13cmFwcGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7QUFVdEUsTUFBTSxPQUFPLG9CQUFvQjs7aUhBQXBCLG9CQUFvQjtrSEFBcEIsb0JBQW9CLGlCQUxoQix1QkFBdUIsYUFDNUIsWUFBWSxhQUVaLHVCQUF1QjtrSEFFdEIsb0JBQW9CLFlBSnJCLFlBQVk7MkZBSVgsb0JBQW9CO2tCQU5oQyxRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLHVCQUF1QixDQUFDO29CQUN2QyxPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLE9BQU8sRUFBRSxDQUFDLHNCQUFzQixDQUFDO29CQUNqQyxPQUFPLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztpQkFDbkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDVVNUT01fRUxFTUVOVFNfU0NIRU1BLCBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBDb250ZW50V3JhcHBlckNvbXBvbmVudCB9IGZyb20gJy4vY29udGVudC13cmFwcGVyLmNvbXBvbmVudCc7XHJcblxyXG5cclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbQ29udGVudFdyYXBwZXJDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG4gIHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcclxuICBleHBvcnRzOiBbQ29udGVudFdyYXBwZXJDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDb250ZW50V3JhcHBlck1vZHVsZSB7IH1cclxuIl19
1
+ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ContentWrapperComponent } from './content-wrapper.component';
4
+ import * as i0 from "@angular/core";
5
+ export class ContentWrapperModule {
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ContentWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: ContentWrapperModule, declarations: [ContentWrapperComponent], imports: [CommonModule], exports: [ContentWrapperComponent] });
8
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ContentWrapperModule, imports: [CommonModule] });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ContentWrapperModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [ContentWrapperComponent],
14
+ imports: [CommonModule],
15
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
16
+ exports: [ContentWrapperComponent]
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13cmFwcGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy93cmFwcGVycy9jb250ZW50LXdyYXBwZXIvY29udGVudC13cmFwcGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7QUFVdEUsTUFBTSxPQUFPLG9CQUFvQjt3R0FBcEIsb0JBQW9CO3lHQUFwQixvQkFBb0IsaUJBTGhCLHVCQUF1QixhQUM1QixZQUFZLGFBRVosdUJBQXVCO3lHQUV0QixvQkFBb0IsWUFKckIsWUFBWTs7NEZBSVgsb0JBQW9CO2tCQU5oQyxRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLHVCQUF1QixDQUFDO29CQUN2QyxPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLE9BQU8sRUFBRSxDQUFDLHNCQUFzQixDQUFDO29CQUNqQyxPQUFPLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztpQkFDbkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDVVNUT01fRUxFTUVOVFNfU0NIRU1BLCBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBDb250ZW50V3JhcHBlckNvbXBvbmVudCB9IGZyb20gJy4vY29udGVudC13cmFwcGVyLmNvbXBvbmVudCc7XHJcblxyXG5cclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbQ29udGVudFdyYXBwZXJDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG4gIHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcclxuICBleHBvcnRzOiBbQ29udGVudFdyYXBwZXJDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDb250ZW50V3JhcHBlck1vZHVsZSB7IH1cclxuIl19
@@ -0,0 +1,15 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class ControlsItemComponent {
5
+ separator = false;
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ControlsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ControlsItemComponent, selector: "mrx-controls-item", inputs: { separator: "separator" }, ngImport: i0, template: "<div class=\"mrx-controls-wrapper__controls--item\" *ngIf=\"!separator; else separatorTemplate\">\r\n <ng-content></ng-content>\r\n</div>\r\n<ng-template #separatorTemplate>\r\n <div class=\"mrx-controls-wrapper__controls--separator\"></div>\r\n</ng-template>\r\n", styles: [".mrx-controls-wrapper__controls--item{height:24px;min-width:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#fff}.mrx-controls-wrapper__controls--item:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.mrx-controls-wrapper__controls--item:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.mrx-controls-wrapper__controls--item:hover{background-color:#eef0f4}.mrx-controls-wrapper__controls--separator{height:24px;display:flex;align-items:center;justify-content:center}.mrx-controls-wrapper__controls--separator:after{content:\"\";display:block;height:16px;width:1px;background-color:#bfc5cc;border-radius:4px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ControlsItemComponent, decorators: [{
10
+ type: Component,
11
+ args: [{ selector: 'mrx-controls-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mrx-controls-wrapper__controls--item\" *ngIf=\"!separator; else separatorTemplate\">\r\n <ng-content></ng-content>\r\n</div>\r\n<ng-template #separatorTemplate>\r\n <div class=\"mrx-controls-wrapper__controls--separator\"></div>\r\n</ng-template>\r\n", styles: [".mrx-controls-wrapper__controls--item{height:24px;min-width:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#fff}.mrx-controls-wrapper__controls--item:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.mrx-controls-wrapper__controls--item:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.mrx-controls-wrapper__controls--item:hover{background-color:#eef0f4}.mrx-controls-wrapper__controls--separator{height:24px;display:flex;align-items:center;justify-content:center}.mrx-controls-wrapper__controls--separator:after{content:\"\";display:block;height:16px;width:1px;background-color:#bfc5cc;border-radius:4px}\n"] }]
12
+ }], propDecorators: { separator: [{
13
+ type: Input
14
+ }] } });
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbHM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sczogWycuL2NvbnRyb2xzLWl0ZW0uY29tcG9uZW50Lmxlc3MnXSxcclxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcclxufSlcclxuZXhwb3J0IGNsYXNzIENvbnRyb2xzSXRlbUNvbXBvbmVudCB7XHJcbiAgQElucHV0KCkgc2VwYXJhdG9yID0gZmFsc2VcclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwibXJ4LWNvbnRyb2xzLXdyYXBwZXJfX2NvbnRyb2xzLS1pdGVtXCIgKm5nSWY9XCIhc2VwYXJhdG9yOyBlbHNlIHNlcGFyYXRvclRlbXBsYXRlXCI+XHJcbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG48L2Rpdj5cclxuPG5nLXRlbXBsYXRlICNzZXBhcmF0b3JUZW1wbGF0ZT5cclxuICA8ZGl2IGNsYXNzPVwibXJ4LWNvbnRyb2xzLXdyYXBwZXJfX2NvbnRyb2xzLS1zZXBhcmF0b3JcIj48L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
@@ -0,0 +1,23 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, Input } from '@angular/core';
2
+ import { ControlsVisibilityEnum } from './controls-wrapper.enum';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ export class ControlsWrapperComponent {
6
+ visibility = 'auto';
7
+ controls;
8
+ get getClasses() {
9
+ return `${ControlsVisibilityEnum[this.visibility]}`;
10
+ }
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ControlsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ControlsWrapperComponent, selector: "mrx-controls-wrapper", inputs: { visibility: "visibility" }, queries: [{ propertyName: "controls", first: true, predicate: ["controls"], descendants: true }], ngImport: i0, template: "<div class=\"mrx-controls-wrapper\">\r\n <ng-content></ng-content>\r\n\r\n <div class=\"mrx-controls-wrapper__controls\" [class]=\"getClasses\">\r\n <ng-container *ngTemplateOutlet=\"controls\"></ng-container>\r\n </div>\r\n</div>\r\n", styles: [".mrx-controls-wrapper.mrx-controls-wrapper{position:relative}.mrx-controls-wrapper.mrx-controls-wrapper .mrx-controls-wrapper__controls{position:absolute;top:-12px;right:-12px;box-shadow:0 1px 4px #3a3a3a4d;border-radius:4px;display:flex}.mrx-controls-wrapper.mrx-controls-wrapper .mrx-controls-wrapper__controls.visibility-auto{visibility:hidden;opacity:0;transition:.3s}.mrx-controls-wrapper.mrx-controls-wrapper .mrx-controls-wrapper__controls.visibility-hide{visibility:hidden;opacity:0}.mrx-controls-wrapper.mrx-controls-wrapper:hover .visibility-auto{visibility:visible;opacity:1}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
+ }
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ControlsWrapperComponent, decorators: [{
15
+ type: Component,
16
+ args: [{ selector: 'mrx-controls-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mrx-controls-wrapper\">\r\n <ng-content></ng-content>\r\n\r\n <div class=\"mrx-controls-wrapper__controls\" [class]=\"getClasses\">\r\n <ng-container *ngTemplateOutlet=\"controls\"></ng-container>\r\n </div>\r\n</div>\r\n", styles: [".mrx-controls-wrapper.mrx-controls-wrapper{position:relative}.mrx-controls-wrapper.mrx-controls-wrapper .mrx-controls-wrapper__controls{position:absolute;top:-12px;right:-12px;box-shadow:0 1px 4px #3a3a3a4d;border-radius:4px;display:flex}.mrx-controls-wrapper.mrx-controls-wrapper .mrx-controls-wrapper__controls.visibility-auto{visibility:hidden;opacity:0;transition:.3s}.mrx-controls-wrapper.mrx-controls-wrapper .mrx-controls-wrapper__controls.visibility-hide{visibility:hidden;opacity:0}.mrx-controls-wrapper.mrx-controls-wrapper:hover .visibility-auto{visibility:visible;opacity:1}\n"] }]
17
+ }], propDecorators: { visibility: [{
18
+ type: Input
19
+ }], controls: [{
20
+ type: ContentChild,
21
+ args: ['controls']
22
+ }] } });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbHMtd3JhcHBlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvd3JhcHBlcnMvY29udHJvbHMtd3JhcHBlci9jb250cm9scy13cmFwcGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy93cmFwcGVycy9jb250cm9scy13cmFwcGVyL2NvbnRyb2xzLXdyYXBwZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQWMsS0FBSyxFQUFlLE1BQU0sZUFBZSxDQUFDO0FBQ2pILE9BQU8sRUFBRSxzQkFBc0IsRUFBMkIsTUFBTSx5QkFBeUIsQ0FBQzs7O0FBUTFGLE1BQU0sT0FBTyx3QkFBd0I7SUFDMUIsVUFBVSxHQUE0QixNQUFNLENBQUE7SUFFM0IsUUFBUSxDQUEyQjtJQUU3RCxJQUFXLFVBQVU7UUFDbkIsT0FBTyxHQUFHLHNCQUFzQixDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsRUFBRSxDQUFDO0lBQ3RELENBQUM7d0dBUFUsd0JBQXdCOzRGQ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W5nIHtcclxuICAgIHJldHVybiBgJHtDb250cm9sc1Zpc2liaWxpdHlFbnVtW3RoaXMudmlzaWJpbGl0eV19YDtcclxuICB9XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cIm1yeC1jb250cm9scy13cmFwcGVyXCI+XHJcbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG5cclxuICA8ZGl2IGNsYXNzPVwibXJ4LWNvbnRyb2xzLXdyYXBwZXJfX2NvbnRyb2xzXCIgW2NsYXNzXT1cImdldENsYXNzZXNcIj5cclxuICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJjb250cm9sc1wiPjwvbmctY29udGFpbmVyPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -1,7 +1,7 @@
1
- export var ControlsVisibilityEnum;
2
- (function (ControlsVisibilityEnum) {
3
- ControlsVisibilityEnum["auto"] = "visibility-auto";
4
- ControlsVisibilityEnum["show"] = "visibility-show";
5
- ControlsVisibilityEnum["hide"] = "visibility-hide";
6
- })(ControlsVisibilityEnum || (ControlsVisibilityEnum = {}));
1
+ export var ControlsVisibilityEnum;
2
+ (function (ControlsVisibilityEnum) {
3
+ ControlsVisibilityEnum["auto"] = "visibility-auto";
4
+ ControlsVisibilityEnum["show"] = "visibility-show";
5
+ ControlsVisibilityEnum["hide"] = "visibility-hide";
6
+ })(ControlsVisibilityEnum || (ControlsVisibilityEnum = {}));
7
7
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbHMtd3JhcHBlci5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3dyYXBwZXJzL2NvbnRyb2xzLXdyYXBwZXIvY29udHJvbHMtd3JhcHBlci5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHNCQUlYO0FBSkQsV0FBWSxzQkFBc0I7SUFDaEMsa0RBQTBCLENBQUE7SUFDMUIsa0RBQTBCLENBQUE7SUFDMUIsa0RBQTBCLENBQUE7QUFDNUIsQ0FBQyxFQUpXLHNCQUFzQixLQUF0QixzQkFBc0IsUUFJakMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBDb250cm9sc1Zpc2liaWxpdHlFbnVtIHtcclxuICAnYXV0bycgPSAndmlzaWJpbGl0eS1hdXRvJyxcclxuICAnc2hvdycgPSAndmlzaWJpbGl0eS1zaG93JyxcclxuICAnaGlkZScgPSAndmlzaWJpbGl0eS1oaWRlJyxcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgQ29udHJvbHNWaXNpYmlsaXR5VHlwZXMgPSAnYXV0bycgfCAnc2hvdycgfCAnaGlkZSc7XHJcbiJdfQ==
@@ -1,20 +1,20 @@
1
- import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ControlsWrapperComponent } from './controls-wrapper.component';
4
- import { ControlsItemComponent } from './components/controls-item/controls-item.component';
5
- import * as i0 from "@angular/core";
6
- export class ControlsWrapperModule {
7
- }
8
- ControlsWrapperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ControlsWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- ControlsWrapperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ControlsWrapperModule, declarations: [ControlsWrapperComponent, ControlsItemComponent], imports: [CommonModule], exports: [ControlsWrapperComponent, ControlsItemComponent] });
10
- ControlsWrapperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ControlsWrapperModule, imports: [CommonModule] });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ControlsWrapperModule, decorators: [{
12
- type: NgModule,
13
- args: [{
14
- declarations: [ControlsWrapperComponent, ControlsItemComponent],
15
- imports: [CommonModule],
16
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
17
- exports: [ControlsWrapperComponent, ControlsItemComponent]
18
- }]
19
- }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbHMtd3JhcHBlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvd3JhcHBlcnMvY29udHJvbHMtd3JhcHBlci9jb250cm9scy13cmFwcGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUN4RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxvREFBb0QsQ0FBQzs7QUFVM0YsTUFBTSxPQUFPLHFCQUFxQjs7a0hBQXJCLHFCQUFxQjttSEFBckIscUJBQXFCLGlCQUxqQix3QkFBd0IsRUFBRSxxQkFBcUIsYUFDcEQsWUFBWSxhQUVaLHdCQUF3QixFQUFFLHFCQUFxQjttSEFFOUMscUJBQXFCLFlBSnRCLFlBQVk7MkZBSVgscUJBQXFCO2tCQU5qQyxRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLHdCQUF3QixFQUFFLHFCQUFxQixDQUFDO29CQUMvRCxPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLE9BQU8sRUFBRSxDQUFDLHNCQUFzQixDQUFDO29CQUNqQyxPQUFPLEVBQUUsQ0FBQyx3QkFBd0IsRUFBRSxxQkFBcUIsQ0FBQztpQkFDM0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDVVNUT01fRUxFTUVOVFNfU0NIRU1BLCBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBDb250cm9sc1dyYXBwZXJDb21wb25lbnQgfSBmcm9tICcuL2NvbnRyb2xzLXdyYXBwZXIuY29tcG9uZW50JztcclxuaW1wb3J0IHsgQ29udHJvbHNJdGVtQ29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2NvbnRyb2xzLWl0ZW0vY29udHJvbHMtaXRlbS5jb21wb25lbnQnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0NvbnRyb2xzV3JhcHBlckNvbXBvbmVudCwgQ29udHJvbHNJdGVtQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcclxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXHJcbiAgZXhwb3J0czogW0NvbnRyb2xzV3JhcHBlckNvbXBvbmVudCwgQ29udHJvbHNJdGVtQ29tcG9uZW50XVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ29udHJvbHNXcmFwcGVyTW9kdWxlIHsgfVxyXG4iXX0=
1
+ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ControlsWrapperComponent } from './controls-wrapper.component';
4
+ import { ControlsItemComponent } from './components/controls-item/controls-item.component';
5
+ import * as i0 from "@angular/core";
6
+ export class ControlsWrapperModule {
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ControlsWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: ControlsWrapperModule, declarations: [ControlsWrapperComponent, ControlsItemComponent], imports: [CommonModule], exports: [ControlsWrapperComponent, ControlsItemComponent] });
9
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ControlsWrapperModule, imports: [CommonModule] });
10
+ }
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ControlsWrapperModule, decorators: [{
12
+ type: NgModule,
13
+ args: [{
14
+ declarations: [ControlsWrapperComponent, ControlsItemComponent],
15
+ imports: [CommonModule],
16
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
17
+ exports: [ControlsWrapperComponent, ControlsItemComponent]
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbHMtd3JhcHBlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvd3JhcHBlcnMvY29udHJvbHMtd3JhcHBlci9jb250cm9scy13cmFwcGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUU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tQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcclxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXHJcbiAgZXhwb3J0czogW0NvbnRyb2xzV3JhcHBlckNvbXBvbmVudCwgQ29udHJvbHNJdGVtQ29tcG9uZW50XVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ29udHJvbHNXcmFwcGVyTW9kdWxlIHsgfVxyXG4iXX0=
@@ -0,0 +1,99 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Input, Output } from '@angular/core';
2
+ import { animate, keyframes, state, style, transition, trigger } from '@angular/animations';
3
+ import { WidgetWrapperTitleStatusIconEnum, WidgetWrapperTitleStatusTextEnum } from "./widget-wrapper.enum";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ export class WidgetWrapperComponent {
7
+ _animateState = 'initial';
8
+ title = '';
9
+ titleInfo = '';
10
+ titleStatus = 'default';
11
+ iconClass = '';
12
+ isOpen = true;
13
+ customClasses = '';
14
+ toggleWidgetContent = new EventEmitter();
15
+ templateHeadTitle;
16
+ templateHeadLeft;
17
+ templateHeadRight;
18
+ templateContent;
19
+ constructor() { }
20
+ ngOnInit() {
21
+ this._animateState = this.isOpen ? 'expanded' : 'initial';
22
+ }
23
+ get getClasses() {
24
+ return `${this.customClasses}`;
25
+ }
26
+ get isOpenState() {
27
+ return this._animateState;
28
+ }
29
+ get getTitleTextClasses() {
30
+ return `${WidgetWrapperTitleStatusTextEnum[this.titleStatus]}`;
31
+ }
32
+ get getTitleIconClasses() {
33
+ return `${WidgetWrapperTitleStatusIconEnum[this.titleStatus]} ${this.iconClass}`;
34
+ }
35
+ changeVisibleContent() {
36
+ this.isOpen = !this.isOpen;
37
+ this._animateState = this._animateState === 'initial' ? 'expanded' : 'initial';
38
+ this.toggleWidgetContent.emit(this.isOpen);
39
+ }
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: WidgetWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: WidgetWrapperComponent, selector: "mrx-widget-wrapper", inputs: { title: "title", titleInfo: "titleInfo", titleStatus: "titleStatus", iconClass: "iconClass", isOpen: "isOpen", customClasses: "customClasses" }, outputs: { toggleWidgetContent: "toggleWidgetContent" }, queries: [{ propertyName: "templateHeadTitle", first: true, predicate: ["templateHeadTitle"], descendants: true }, { propertyName: "templateHeadLeft", first: true, predicate: ["templateHeadLeft"], descendants: true }, { propertyName: "templateHeadRight", first: true, predicate: ["templateHeadRight"], descendants: true }, { propertyName: "templateContent", first: true, predicate: ["templateContent"], descendants: true }], ngImport: i0, template: "<div class=\"mrx-widget\" [class]=\"getClasses\">\r\n <div class=\"mrx-widget__header\" (click)=\"changeVisibleContent()\">\r\n <div class=\"mrx-widget__header-content mr-4 flex-column flex-sm-row align-items-start align-items-sm-center\">\r\n <div class=\"mrx-widget__header-content--left justify-content-start\">\r\n <div class=\"mrx-widget__header-title\" *ngIf=\"!templateHeadTitle; else titleTemplate\">\r\n <h6 class=\"mrx-widget__header-title--wrapper\">\r\n <span\r\n *ngIf=\"iconClass\"\r\n [class]=\"getTitleIconClasses\"\r\n class=\"mrx-icon icon-font-24 icon-filled-color-negative\"\r\n ></span>\r\n <span\r\n *ngIf=\"title\"\r\n [class]=\"getTitleTextClasses\"\r\n class=\"mrx-widget__header-title--text color-negative\"\r\n >{{ title }}</span>\r\n </h6>\r\n <span class=\"mrx-widget__header-title--info\" *ngIf=\"titleInfo\">{{ titleInfo }}</span>\r\n </div>\r\n <ng-template #titleTemplate>\r\n <ng-container *ngTemplateOutlet=\"templateHeadTitle\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngTemplateOutlet=\"templateHeadLeft\"></ng-container>\r\n </div>\r\n <div class=\"mrx-widget__header-content--right justify-content-start\" *ngIf=\"templateHeadRight\">\r\n <ng-container *ngTemplateOutlet=\"templateHeadRight\"></ng-container>\r\n </div>\r\n </div>\r\n <div class=\"mrx-widget__header-arrow\">\r\n <span class=\"mrx-widget__header-arrow--text mr-2 d-none d-md-flex justify-content-end\">{{ isOpen ? '\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C' : '\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C' }}</span>\r\n <span\r\n [ngStyle]=\"{transform: isOpen ? 'rotate(0deg)' : 'rotate(180deg)'}\"\r\n class=\"mrx-icon icon-chevron-up icon-font-24\"\r\n ></span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"mrx-widget__content\" [@expandedPanel]=\"isOpenState\">\r\n <div class=\"mrx-widget__content-box px-4 py-3\">\r\n <ng-container *ngIf=\"templateContent; else contentTemplate\">\r\n <ng-container *ngTemplateOutlet=\"templateContent\"></ng-container>\r\n </ng-container>\r\n <ng-template #contentTemplate>\r\n <ng-content></ng-content>\r\n </ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-widget{box-shadow:0 2px 10px #3a3a3a1a;border-radius:var(--border-radius-1);background:#fff}.mrx-widget__header{padding:var(--spacing-2) var(--spacing-6);cursor:pointer;display:flex;justify-content:space-between;align-items:center}.mrx-widget__header-content{display:flex;align-items:center;justify-content:space-between;flex-grow:1;flex-wrap:wrap;gap:var(--spacing-2)}.mrx-widget__header-content--left{display:flex;align-items:center;justify-content:flex-start;flex-grow:1;flex-wrap:wrap;gap:var(--spacing-2)}.mrx-widget__header-content--right{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0}.mrx-widget__header-title{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.mrx-widget__header-title--wrapper{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.mrx-widget__header-title--text{font-family:var(--headlines-lvl-6-font-family);font-size:var(--headlines-lvl-6-font-size);font-weight:var(--headlines-lvl-6-font-weight);line-height:var(--headlines-lvl-6-line-height);color:var(--neutral-text-primary, #282828)}.mrx-widget__header-title--info{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height);color:var(--neutral-text-secondary, #4D5157)}.mrx-widget__header-arrow{display:flex;align-items:center;flex-shrink:0}.mrx-widget__header-arrow--text{font-family:var(--body-md-bold-font-family);font-size:var(--body-md-bold-font-size);font-weight:var(--body-md-bold-font-weight);line-height:var(--body-md-bold-line-height);min-width:70px}.mrx-widget__content{border-top:1px solid var(--neutral-bg-stroke-default)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [
42
+ trigger('expandedPanel', [
43
+ state('initial', style({ height: 0, opacity: 0 })),
44
+ state('expanded', style({ height: '*', opacity: 1 })),
45
+ transition('initial => expanded', animate('0.2s', keyframes([
46
+ style({ height: '*', offset: 0.7 }),
47
+ style({ opacity: 1, offset: 1 })
48
+ ]))),
49
+ transition('expanded => initial', animate('0.2s', keyframes([
50
+ style({ opacity: 0, offset: 0.4 }),
51
+ style({ height: 0, offset: 1 })
52
+ ])))
53
+ ]),
54
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
+ }
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: WidgetWrapperComponent, decorators: [{
57
+ type: Component,
58
+ args: [{ selector: 'mrx-widget-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
59
+ trigger('expandedPanel', [
60
+ state('initial', style({ height: 0, opacity: 0 })),
61
+ state('expanded', style({ height: '*', opacity: 1 })),
62
+ transition('initial => expanded', animate('0.2s', keyframes([
63
+ style({ height: '*', offset: 0.7 }),
64
+ style({ opacity: 1, offset: 1 })
65
+ ]))),
66
+ transition('expanded => initial', animate('0.2s', keyframes([
67
+ style({ opacity: 0, offset: 0.4 }),
68
+ style({ height: 0, offset: 1 })
69
+ ])))
70
+ ]),
71
+ ], template: "<div class=\"mrx-widget\" [class]=\"getClasses\">\r\n <div class=\"mrx-widget__header\" (click)=\"changeVisibleContent()\">\r\n <div class=\"mrx-widget__header-content mr-4 flex-column flex-sm-row align-items-start align-items-sm-center\">\r\n <div class=\"mrx-widget__header-content--left justify-content-start\">\r\n <div class=\"mrx-widget__header-title\" *ngIf=\"!templateHeadTitle; else titleTemplate\">\r\n <h6 class=\"mrx-widget__header-title--wrapper\">\r\n <span\r\n *ngIf=\"iconClass\"\r\n [class]=\"getTitleIconClasses\"\r\n class=\"mrx-icon icon-font-24 icon-filled-color-negative\"\r\n ></span>\r\n <span\r\n *ngIf=\"title\"\r\n [class]=\"getTitleTextClasses\"\r\n class=\"mrx-widget__header-title--text color-negative\"\r\n >{{ title }}</span>\r\n </h6>\r\n <span class=\"mrx-widget__header-title--info\" *ngIf=\"titleInfo\">{{ titleInfo }}</span>\r\n </div>\r\n <ng-template #titleTemplate>\r\n <ng-container *ngTemplateOutlet=\"templateHeadTitle\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngTemplateOutlet=\"templateHeadLeft\"></ng-container>\r\n </div>\r\n <div class=\"mrx-widget__header-content--right justify-content-start\" *ngIf=\"templateHeadRight\">\r\n <ng-container *ngTemplateOutlet=\"templateHeadRight\"></ng-container>\r\n </div>\r\n </div>\r\n <div class=\"mrx-widget__header-arrow\">\r\n <span class=\"mrx-widget__header-arrow--text mr-2 d-none d-md-flex justify-content-end\">{{ isOpen ? '\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C' : '\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C' }}</span>\r\n <span\r\n [ngStyle]=\"{transform: isOpen ? 'rotate(0deg)' : 'rotate(180deg)'}\"\r\n class=\"mrx-icon icon-chevron-up icon-font-24\"\r\n ></span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"mrx-widget__content\" [@expandedPanel]=\"isOpenState\">\r\n <div class=\"mrx-widget__content-box px-4 py-3\">\r\n <ng-container *ngIf=\"templateContent; else contentTemplate\">\r\n <ng-container *ngTemplateOutlet=\"templateContent\"></ng-container>\r\n </ng-container>\r\n <ng-template #contentTemplate>\r\n <ng-content></ng-content>\r\n </ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-widget{box-shadow:0 2px 10px #3a3a3a1a;border-radius:var(--border-radius-1);background:#fff}.mrx-widget__header{padding:var(--spacing-2) var(--spacing-6);cursor:pointer;display:flex;justify-content:space-between;align-items:center}.mrx-widget__header-content{display:flex;align-items:center;justify-content:space-between;flex-grow:1;flex-wrap:wrap;gap:var(--spacing-2)}.mrx-widget__header-content--left{display:flex;align-items:center;justify-content:flex-start;flex-grow:1;flex-wrap:wrap;gap:var(--spacing-2)}.mrx-widget__header-content--right{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0}.mrx-widget__header-title{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.mrx-widget__header-title--wrapper{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.mrx-widget__header-title--text{font-family:var(--headlines-lvl-6-font-family);font-size:var(--headlines-lvl-6-font-size);font-weight:var(--headlines-lvl-6-font-weight);line-height:var(--headlines-lvl-6-line-height);color:var(--neutral-text-primary, #282828)}.mrx-widget__header-title--info{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height);color:var(--neutral-text-secondary, #4D5157)}.mrx-widget__header-arrow{display:flex;align-items:center;flex-shrink:0}.mrx-widget__header-arrow--text{font-family:var(--body-md-bold-font-family);font-size:var(--body-md-bold-font-size);font-weight:var(--body-md-bold-font-weight);line-height:var(--body-md-bold-line-height);min-width:70px}.mrx-widget__content{border-top:1px solid var(--neutral-bg-stroke-default)}\n"] }]
72
+ }], ctorParameters: () => [], propDecorators: { title: [{
73
+ type: Input
74
+ }], titleInfo: [{
75
+ type: Input
76
+ }], titleStatus: [{
77
+ type: Input
78
+ }], iconClass: [{
79
+ type: Input
80
+ }], isOpen: [{
81
+ type: Input
82
+ }], customClasses: [{
83
+ type: Input
84
+ }], toggleWidgetContent: [{
85
+ type: Output
86
+ }], templateHeadTitle: [{
87
+ type: ContentChild,
88
+ args: ['templateHeadTitle']
89
+ }], templateHeadLeft: [{
90
+ type: ContentChild,
91
+ args: ['templateHeadLeft']
92
+ }], templateHeadRight: [{
93
+ type: ContentChild,
94
+ args: ['templateHeadRight']
95
+ }], templateContent: [{
96
+ type: ContentChild,
97
+ args: ['templateContent']
98
+ }] } });
99
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXdyYXBwZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3dyYXBwZXJzL3dpZGdldC13cmFwcGVyL3dpZGdldC13cmFwcGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy93cmFwcGVycy93aWRnZXQtd3JhcHBlci93aWRnZXQtd3JhcHBlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxZQUFZLEVBQ1osWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEVBRVAsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBT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W50PlxyXG4gICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgPC9kaXY+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG5cclxuXHJcbiJdfQ==
@@ -1,17 +1,17 @@
1
- export var WidgetWrapperTitleStatusTextEnum;
2
- (function (WidgetWrapperTitleStatusTextEnum) {
3
- WidgetWrapperTitleStatusTextEnum["default"] = "";
4
- WidgetWrapperTitleStatusTextEnum["positive"] = "color-positive";
5
- WidgetWrapperTitleStatusTextEnum["negative"] = "color-negative";
6
- WidgetWrapperTitleStatusTextEnum["attention"] = "color-attention";
7
- WidgetWrapperTitleStatusTextEnum["info"] = "color-info";
8
- })(WidgetWrapperTitleStatusTextEnum || (WidgetWrapperTitleStatusTextEnum = {}));
9
- export var WidgetWrapperTitleStatusIconEnum;
10
- (function (WidgetWrapperTitleStatusIconEnum) {
11
- WidgetWrapperTitleStatusIconEnum["default"] = "";
12
- WidgetWrapperTitleStatusIconEnum["positive"] = "icon-filled-color-positive";
13
- WidgetWrapperTitleStatusIconEnum["negative"] = "icon-filled-color-negative";
14
- WidgetWrapperTitleStatusIconEnum["attention"] = "icon-filled-color-attention";
15
- WidgetWrapperTitleStatusIconEnum["info"] = "";
16
- })(WidgetWrapperTitleStatusIconEnum || (WidgetWrapperTitleStatusIconEnum = {}));
1
+ export var WidgetWrapperTitleStatusTextEnum;
2
+ (function (WidgetWrapperTitleStatusTextEnum) {
3
+ WidgetWrapperTitleStatusTextEnum["default"] = "";
4
+ WidgetWrapperTitleStatusTextEnum["positive"] = "color-positive";
5
+ WidgetWrapperTitleStatusTextEnum["negative"] = "color-negative";
6
+ WidgetWrapperTitleStatusTextEnum["attention"] = "color-attention";
7
+ WidgetWrapperTitleStatusTextEnum["info"] = "color-info";
8
+ })(WidgetWrapperTitleStatusTextEnum || (WidgetWrapperTitleStatusTextEnum = {}));
9
+ export var WidgetWrapperTitleStatusIconEnum;
10
+ (function (WidgetWrapperTitleStatusIconEnum) {
11
+ WidgetWrapperTitleStatusIconEnum["default"] = "";
12
+ WidgetWrapperTitleStatusIconEnum["positive"] = "icon-filled-color-positive";
13
+ WidgetWrapperTitleStatusIconEnum["negative"] = "icon-filled-color-negative";
14
+ WidgetWrapperTitleStatusIconEnum["attention"] = "icon-filled-color-attention";
15
+ WidgetWrapperTitleStatusIconEnum["info"] = "";
16
+ })(WidgetWrapperTitleStatusIconEnum || (WidgetWrapperTitleStatusIconEnum = {}));
17
17
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXdyYXBwZXIuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy93cmFwcGVycy93aWRnZXQtd3JhcHBlci93aWRnZXQtd3JhcHBlci5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdDQU1YO0FBTkQsV0FBWSxnQ0FBZ0M7SUFDMUMsZ0RBQWMsQ0FBQTtJQUNkLCtEQUE2QixDQUFBO0lBQzdCLCtEQUE2QixDQUFBO0lBQzdCLGlFQUErQixDQUFBO0lBQy9CLHVEQUFxQixDQUFBO0FBQ3ZCLENBQUMsRUFOVyxnQ0FBZ0MsS0FBaEMsZ0NBQWdDLFFBTTNDO0FBRUQsTUFBTSxDQUFOLElBQVksZ0NBTVg7QUFORCxXQUFZLGdDQUFnQztJQUMxQyxnREFBYyxDQUFBO0lBQ2QsMkVBQXlDLENBQUE7SUFDekMsMkVBQXlDLENBQUE7SUFDekMsNkVBQTJDLENBQUE7SUFDM0MsNkNBQVcsQ0FBQTtBQUNiLENBQUMsRUFOVyxnQ0FBZ0MsS0FBaEMsZ0NBQWdDLFFBTTNDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gV2lkZ2V0V3JhcHBlclRpdGxlU3RhdHVzVGV4dEVudW0ge1xyXG4gICdkZWZhdWx0JyA9ICcnLFxyXG4gICdwb3NpdGl2ZScgPSAnY29sb3ItcG9zaXRpdmUnLFxyXG4gICduZWdhdGl2ZScgPSAnY29sb3ItbmVnYXRpdmUnLFxyXG4gICdhdHRlbnRpb24nID0gJ2NvbG9yLWF0dGVudGlvbicsXHJcbiAgJ2luZm8nID0gJ2NvbG9yLWluZm8nLFxyXG59XHJcblxyXG5leHBvcnQgZW51bSBXaWRnZXRXcmFwcGVyVGl0bGVTdGF0dXNJY29uRW51bSB7XHJcbiAgJ2RlZmF1bHQnID0gJycsXHJcbiAgJ3Bvc2l0aXZlJyA9ICdpY29uLWZpbGxlZC1jb2xvci1wb3NpdGl2ZScsXHJcbiAgJ25lZ2F0aXZlJyA9ICdpY29uLWZpbGxlZC1jb2xvci1uZWdhdGl2ZScsXHJcbiAgJ2F0dGVudGlvbicgPSAnaWNvbi1maWxsZWQtY29sb3ItYXR0ZW50aW9uJyxcclxuICAnaW5mbycgPSAnJyxcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgV2lkZ2V0V3JhcHBlclRpdGxlU3RhdHVzVHlwZXMgPSAnZGVmYXVsdCcgfCAncG9zaXRpdmUnIHwgJ25lZ2F0aXZlJyB8ICdhdHRlbnRpb24nIHwgJ2luZm8nXHJcbiJdfQ==
@@ -1,24 +1,24 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { WidgetWrapperComponent } from './widget-wrapper.component';
4
- import * as i0 from "@angular/core";
5
- export class WidgetWrapperModule {
6
- }
7
- WidgetWrapperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WidgetWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- WidgetWrapperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: WidgetWrapperModule, declarations: [WidgetWrapperComponent], imports: [CommonModule], exports: [WidgetWrapperComponent] });
9
- WidgetWrapperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WidgetWrapperModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WidgetWrapperModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [
14
- WidgetWrapperComponent
15
- ],
16
- imports: [
17
- CommonModule
18
- ],
19
- exports: [
20
- WidgetWrapperComponent
21
- ]
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXdyYXBwZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3dyYXBwZXJzL3dpZGdldC13cmFwcGVyL3dpZGdldC13cmFwcGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7QUFlcEUsTUFBTSxPQUFPLG1CQUFtQjs7Z0hBQW5CLG1CQUFtQjtpSEFBbkIsbUJBQW1CLGlCQVQ1QixzQkFBc0IsYUFHdEIsWUFBWSxhQUdaLHNCQUFzQjtpSEFHYixtQkFBbUIsWUFONUIsWUFBWTsyRkFNSCxtQkFBbUI7a0JBWC9CLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFO3dCQUNaLHNCQUFzQjtxQkFDdkI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFlBQVk7cUJBQ2I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLHNCQUFzQjtxQkFDdkI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBXaWRnZXRXcmFwcGVyQ29tcG9uZW50IH0gZnJvbSAnLi93aWRnZXQtd3JhcHBlci5jb21wb25lbnQnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgV2lkZ2V0V3JhcHBlckNvbXBvbmVudFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBXaWRnZXRXcmFwcGVyQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgV2lkZ2V0V3JhcHBlck1vZHVsZSB7IH1cclxuIl19
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { WidgetWrapperComponent } from './widget-wrapper.component';
4
+ import * as i0 from "@angular/core";
5
+ export class WidgetWrapperModule {
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: WidgetWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: WidgetWrapperModule, declarations: [WidgetWrapperComponent], imports: [CommonModule], exports: [WidgetWrapperComponent] });
8
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: WidgetWrapperModule, imports: [CommonModule] });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: WidgetWrapperModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [
14
+ WidgetWrapperComponent
15
+ ],
16
+ imports: [
17
+ CommonModule
18
+ ],
19
+ exports: [
20
+ WidgetWrapperComponent
21
+ ]
22
+ }]
23
+ }] });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXdyYXBwZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3dyYXBwZXJzL3dpZGdldC13cmFwcGVyL3dpZGdldC13cmFwcGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7QUFlcEUsTUFBTSxPQUFPLG1CQUFtQjt3R0FBbkIsbUJBQW1CO3lHQUFuQixtQkFBbUIsaUJBVDVCLHNCQUFzQixhQUd0QixZQUFZLGFBR1osc0JBQXNCO3lHQUdiLG1CQUFtQixZQU41QixZQUFZOzs0RkFNSCxtQkFBbUI7a0JBWC9CLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFO3dCQUNaLHNCQUFzQjtxQkFDdkI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFlBQVk7cUJBQ2I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLHNCQUFzQjtxQkFDdkI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBXaWRnZXRXcmFwcGVyQ29tcG9uZW50IH0gZnJvbSAnLi93aWRnZXQtd3JhcHBlci5jb21wb25lbnQnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgV2lkZ2V0V3JhcHBlckNvbXBvbmVudFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBXaWRnZXRXcmFwcGVyQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgV2lkZ2V0V3JhcHBlck1vZHVsZSB7IH1cclxuIl19
@@ -0,0 +1,57 @@
1
+ import { Directive, HostBinding, HostListener, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class AutosizeDirective {
4
+ elem;
5
+ renderer;
6
+ overflow = 'hidden';
7
+ rows = 1;
8
+ autosize = true;
9
+ constructor(elem, renderer) {
10
+ this.elem = elem;
11
+ this.renderer = renderer;
12
+ }
13
+ ngAfterViewInit() {
14
+ this.resize();
15
+ }
16
+ ngDoCheck() {
17
+ this.resize();
18
+ }
19
+ resize() {
20
+ if (!this.autosize) {
21
+ this.overflow = 'auto';
22
+ return;
23
+ }
24
+ const textarea = this.elem.nativeElement;
25
+ // Calculate border height which is not included in scrollHeight
26
+ const borderHeight = textarea.offsetHeight - textarea.clientHeight;
27
+ // Reset textarea height to auto that correctly calculate the new height
28
+ this.setHeight('auto');
29
+ // Set new height
30
+ this.setHeight(`${textarea.scrollHeight + borderHeight}px`);
31
+ }
32
+ setHeight(value) {
33
+ this.renderer.setStyle(this.elem.nativeElement, 'height', value);
34
+ }
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AutosizeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
36
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: AutosizeDirective, selector: "[mrxAutosize]", inputs: { rows: "rows", autosize: "autosize" }, host: { listeners: { "input": "resize()" }, properties: { "style.overflow": "this.overflow", "rows": "this.rows" } }, ngImport: i0 });
37
+ }
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AutosizeDirective, decorators: [{
39
+ type: Directive,
40
+ args: [{
41
+ selector: '[mrxAutosize]'
42
+ }]
43
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { overflow: [{
44
+ type: HostBinding,
45
+ args: ['style.overflow']
46
+ }], rows: [{
47
+ type: Input
48
+ }, {
49
+ type: HostBinding,
50
+ args: ['rows']
51
+ }], autosize: [{
52
+ type: Input
53
+ }], resize: [{
54
+ type: HostListener,
55
+ args: ['input']
56
+ }] } });
57
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b3NpemUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9kaXJlY3RpdmVzL2F1dG9zaXplL2F1dG9zaXplLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsU0FBUyxFQUdULFdBQVcsRUFDWCxZQUFZLEVBQ1osS0FBSyxFQUVOLE1BQU0sZUFBZSxDQUFDOztBQUt2QixNQUFNLE9BQU8saUJBQWlCO0lBV1I7SU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cclxuICB9XHJcbn1cclxuIl19
@@ -1,24 +1,24 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { AutosizeDirective } from './autosize.directive';
4
- import * as i0 from "@angular/core";
5
- export class AutosizeModule {
6
- }
7
- AutosizeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AutosizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- AutosizeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: AutosizeModule, declarations: [AutosizeDirective], imports: [CommonModule], exports: [AutosizeDirective] });
9
- AutosizeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AutosizeModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AutosizeModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [
14
- AutosizeDirective
15
- ],
16
- imports: [
17
- CommonModule
18
- ],
19
- exports: [
20
- AutosizeDirective
21
- ]
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b3NpemUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9kaXJlY3RpdmVzL2F1dG9zaXplL2F1dG9zaXplLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFhekQsTUFBTSxPQUFPLGNBQWM7OzJHQUFkLGNBQWM7NEdBQWQsY0FBYyxpQkFUdkIsaUJBQWlCLGFBR2pCLFlBQVksYUFHWixpQkFBaUI7NEdBR1IsY0FBYyxZQU52QixZQUFZOzJGQU1ILGNBQWM7a0JBWDFCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFO3dCQUNaLGlCQUFpQjtxQkFDbEI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFlBQVk7cUJBQ2I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLGlCQUFpQjtxQkFDbEI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBBdXRvc2l6ZURpcmVjdGl2ZSB9IGZyb20gJy4vYXV0b3NpemUuZGlyZWN0aXZlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBBdXRvc2l6ZURpcmVjdGl2ZVxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBBdXRvc2l6ZURpcmVjdGl2ZVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEF1dG9zaXplTW9kdWxlIHsgfVxyXG4iXX0=
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { AutosizeDirective } from './autosize.directive';
4
+ import * as i0 from "@angular/core";
5
+ export class AutosizeModule {
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AutosizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: AutosizeModule, declarations: [AutosizeDirective], imports: [CommonModule], exports: [AutosizeDirective] });
8
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AutosizeModule, imports: [CommonModule] });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AutosizeModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [
14
+ AutosizeDirective
15
+ ],
16
+ imports: [
17
+ CommonModule
18
+ ],
19
+ exports: [
20
+ AutosizeDirective
21
+ ]
22
+ }]
23
+ }] });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b3NpemUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9kaXJlY3RpdmVzL2F1dG9zaXplL2F1dG9zaXplLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFhekQsTUFBTSxPQUFPLGNBQWM7d0dBQWQsY0FBYzt5R0FBZCxjQUFjLGlCQVR2QixpQkFBaUIsYUFHakIsWUFBWSxhQUdaLGlCQUFpQjt5R0FHUixjQUFjLFlBTnZCLFlBQVk7OzRGQU1ILGNBQWM7a0JBWDFCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFO3dCQUNaLGlCQUFpQjtxQkFDbEI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFlBQVk7cUJBQ2I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLGlCQUFpQjtxQkFDbEI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBBdXRvc2l6ZURpcmVjdGl2ZSB9IGZyb20gJy4vYXV0b3NpemUuZGlyZWN0aXZlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBBdXRvc2l6ZURpcmVjdGl2ZVxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBBdXRvc2l6ZURpcmVjdGl2ZVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEF1dG9zaXplTW9kdWxlIHsgfVxyXG4iXX0=
@@ -0,0 +1,34 @@
1
+ import { Directive, Input, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class TruncateDirective {
4
+ elementRef;
5
+ renderer;
6
+ rows = '1';
7
+ height = '20px';
8
+ constructor(elementRef, renderer) {
9
+ this.elementRef = elementRef;
10
+ this.renderer = renderer;
11
+ }
12
+ ngOnInit() {
13
+ this.renderer.setStyle(this.elementRef.nativeElement, 'overflow', 'hidden');
14
+ this.renderer.setStyle(this.elementRef.nativeElement, 'display', '-webkit-box');
15
+ this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-line-clamp', this.rows);
16
+ this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-box-orient', 'vertical');
17
+ this.renderer.setStyle(this.elementRef.nativeElement, 'max-height', this.height);
18
+ }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: TruncateDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: TruncateDirective, selector: "[mrxTruncate]", inputs: { rows: ["mrxTruncateRows", "rows"], height: ["mrxTruncateHeight", "height"] }, ngImport: i0 });
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: TruncateDirective, decorators: [{
23
+ type: Directive,
24
+ args: [{
25
+ selector: '[mrxTruncate]',
26
+ }]
27
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { rows: [{
28
+ type: Input,
29
+ args: ['mrxTruncateRows']
30
+ }], height: [{
31
+ type: Input,
32
+ args: ['mrxTruncateHeight']
33
+ }] } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1bmNhdGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9kaXJlY3RpdmVzL3RydW5jYXRlL3RydW5jYXRlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULEtBQUssR0FDTixNQUFNLGVBQWUsQ0FBQzs7QUFLdkIsTUFBTSxPQUFPLGlCQUFpQjtJQUtsQjtJQUNBO0lBTGdCLElBQUksR0FBRyxHQUFHLENBQUE7SUFDUixNQUFNLEdBQUcsTUFBTSxDQUFBO0lBRTNDLFlBQ1UsVUFBc0IsRUFDdEIsUUFBbUI7UUFEbkIsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQU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