myrta-ui 1.0.65 → 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 (755) 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/esm2022/lib/components/alert/alert.module.mjs +19 -0
  4. package/{esm2020 → esm2022}/lib/components/badges/badge.enum.mjs +31 -31
  5. package/esm2022/lib/components/badges/badges.module.mjs +30 -0
  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/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +25 -0
  11. package/esm2022/lib/components/button/button.component.mjs +100 -0
  12. package/esm2022/lib/components/button/button.enum.mjs +27 -0
  13. package/esm2022/lib/components/button/button.module.mjs +21 -0
  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/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -0
  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/esm2022/lib/components/chars-left/chars-left.module.mjs +19 -0
  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/esm2022/lib/components/dropdown/dropdown.module.mjs +21 -0
  24. package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
  25. package/esm2022/lib/components/error-message/error-message.module.mjs +19 -0
  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/esm2022/lib/components/form/checkbox/checkbox.module.mjs +22 -0
  29. package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +178 -0
  30. package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +47 -0
  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/{esm2020 → esm2022}/lib/components/form/editor/config/default-inline-style.mjs +5 -5
  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/esm2022/lib/components/form/input-file/input-file.module.mjs +26 -0
  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/esm2022/lib/components/form/input-opt/input-opt.module.mjs +38 -0
  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/esm2022/lib/components/form/input-password/input-password.module.mjs +36 -0
  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/esm2022/lib/components/form/input-select/input-select.module.mjs +45 -0
  107. package/{esm2020 → esm2022}/lib/components/form/input-tel/assets/base64.mjs +3 -3
  108. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/all-countries.mjs +1322 -1322
  109. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/country-iso.enum.mjs +246 -246
  110. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/phone-number-format.enum.mjs +5 -5
  111. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/search-country-field.enum.mjs +7 -7
  112. package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
  113. package/{esm2020 → esm2022}/lib/components/form/input-tel/enums/input-phone.enum.mjs +6 -6
  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/{esm2020 → esm2022}/lib/components/form/input-tel/models/country.model.mjs +1 -1
  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/esm2022/lib/components/form/radio/radio.module.mjs +20 -0
  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/{esm2020 → esm2022}/lib/components/form/radio-group/helpers/get-item-by-id.mjs +10 -10
  140. package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
  141. package/{esm2020 → esm2022}/lib/components/form/radio-group/models/radio-group.model.mjs +1 -1
  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/esm2022/lib/components/form/rating/rating.module.mjs +25 -0
  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/esm2022/lib/components/form/switch/switch.module.mjs +21 -0
  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/esm2022/lib/components/gallery/gallery.module.mjs +54 -0
  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/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +19 -0
  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/esm2022/lib/components/icon-button/icon-button.module.mjs +19 -0
  163. package/esm2022/lib/components/label/label.component.mjs +143 -0
  164. package/esm2022/lib/components/label/label.module.mjs +25 -0
  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/esm2022/lib/components/link/link.module.mjs +19 -0
  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/esm2022/lib/components/loader/loader.module.mjs +19 -0
  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/esm2022/lib/components/modal/modal.module.mjs +20 -0
  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/esm2022/lib/components/pages-nav/pages-nav.module.mjs +24 -0
  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/esm2022/lib/components/paginator/paginator.module.mjs +31 -0
  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/esm2022/lib/components/progress/progress.module.mjs +19 -0
  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/esm2022/lib/components/save-state/save-state.module.mjs +37 -0
  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/esm2022/lib/components/stepper/stepper.module.mjs +20 -0
  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/esm2022/lib/components/table/table.module.mjs +50 -0
  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/esm2022/lib/components/tabs/tabs.module.mjs +20 -0
  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/esm2022/lib/components/tooltip/tooltip.module.mjs +21 -0
  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/esm2022/lib/components/truncate-text/truncate-text.module.mjs +21 -0
  216. package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
  217. package/esm2022/lib/components/warning-message/warning-message.module.mjs +19 -0
  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/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -0
  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/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -0
  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/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -0
  228. package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
  229. package/esm2022/lib/directives/autosize/autosize.module.mjs +24 -0
  230. package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
  231. package/esm2022/lib/directives/truncate/truncate.module.mjs +18 -0
  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/esm2022/lib/pipes/currency/currency.module.mjs +20 -0
  245. package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
  246. package/esm2022/lib/pipes/date/date-format.module.mjs +19 -0
  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/esm2022/lib/pipes/phone/phone-format.module.mjs +18 -0
  252. package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
  253. package/esm2022/lib/pipes/safe/safe.module.mjs +20 -0
  254. package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
  255. package/esm2022/lib/pipes/truncate/truncate.module.mjs +20 -0
  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/esm2022/lib/services/save-store/save-store.module.mjs +29 -0
  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/{myrta-ui.d.ts → 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 -10
  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 -11
  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 -49
  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 -39
  355. package/lib/components/form/input-file-image/input-file-image.component.d.ts +62 -62
  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 -64
  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 -3
  389. package/lib/components/form/input-tel/data/all-countries.d.ts +1 -1
  390. package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -245
  391. package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -5
  392. package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -6
  393. package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -21
  394. package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -11
  395. package/lib/components/form/input-tel/input-tel.component.d.ts +89 -89
  396. package/lib/components/form/input-tel/input-tel.module.d.ts +13 -14
  397. package/lib/components/form/input-tel/models/country.model.d.ts +18 -18
  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 -54
  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 -18
  418. package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +26 -26
  419. package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -2
  420. package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -2
  421. package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -2
  422. package/lib/components/form/radio-group/models/radio-group.model.d.ts +8 -8
  423. package/lib/components/form/radio-group/radio-group.component.d.ts +57 -57
  424. package/lib/components/form/radio-group/radio-group.module.d.ts +15 -15
  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 -37
  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 -15
  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 -39
  559. package/public-api.d.ts +162 -175
  560. package/esm2020/lib/components/alert/alert.component.mjs +0 -45
  561. package/esm2020/lib/components/alert/alert.module.mjs +0 -19
  562. package/esm2020/lib/components/badges/badges.module.mjs +0 -32
  563. package/esm2020/lib/components/badges/components/badge/badge.component.mjs +0 -61
  564. package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
  565. package/esm2020/lib/components/breadcrumbs/breadcrumbs.module.mjs +0 -27
  566. package/esm2020/lib/components/button/button.component.mjs +0 -102
  567. package/esm2020/lib/components/button/button.enum.mjs +0 -29
  568. package/esm2020/lib/components/button/button.module.mjs +0 -21
  569. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -28
  570. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -95
  571. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +0 -21
  572. package/esm2020/lib/components/chars-left/chars-left.component.mjs +0 -26
  573. package/esm2020/lib/components/chars-left/chars-left.module.mjs +0 -19
  574. package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +0 -121
  575. package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +0 -343
  576. package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -51
  577. package/esm2020/lib/components/context-menu/context-menu.options.mjs +0 -2
  578. package/esm2020/lib/components/context-menu/context-menu.tokens.mjs +0 -3
  579. package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +0 -36
  580. package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +0 -61
  581. package/esm2020/lib/components/context-menu/models/context-menu.enum.mjs +0 -2
  582. package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +0 -103
  583. package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +0 -223
  584. package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -23
  585. package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -104
  586. package/esm2020/lib/components/dropdown/dropdown.module.mjs +0 -21
  587. package/esm2020/lib/components/error-message/error-message.component.mjs +0 -34
  588. package/esm2020/lib/components/error-message/error-message.module.mjs +0 -19
  589. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -150
  590. package/esm2020/lib/components/form/checkbox/checkbox.module.mjs +0 -22
  591. package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -178
  592. package/esm2020/lib/components/form/checkbox-group/checkbox-group.module.mjs +0 -49
  593. package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -103
  594. package/esm2020/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -20
  595. package/esm2020/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
  596. package/esm2020/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
  597. package/esm2020/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
  598. package/esm2020/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
  599. package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +0 -33
  600. package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +0 -105
  601. package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +0 -44
  602. package/esm2020/lib/components/form/document-editor/helpers/transform-sysname.mjs +0 -41
  603. package/esm2020/lib/components/form/document-editor/models/document-editor-short-codes.enum.mjs +0 -2
  604. package/esm2020/lib/components/form/editor/editor.component.mjs +0 -240
  605. package/esm2020/lib/components/form/editor/editor.module.mjs +0 -47
  606. package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
  607. package/esm2020/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
  608. package/esm2020/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
  609. package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +0 -381
  610. package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +0 -48
  611. package/esm2020/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
  612. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
  613. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
  614. package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -354
  615. package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -48
  616. package/esm2020/lib/components/form/input-file/input-file.component.mjs +0 -362
  617. package/esm2020/lib/components/form/input-file/input-file.module.mjs +0 -26
  618. package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -66
  619. package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +0 -354
  620. package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +0 -60
  621. package/esm2020/lib/components/form/input-number/input-number.component.mjs +0 -258
  622. package/esm2020/lib/components/form/input-number/input-number.module.mjs +0 -57
  623. package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -361
  624. package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -44
  625. package/esm2020/lib/components/form/input-opt/input-opt.module.mjs +0 -40
  626. package/esm2020/lib/components/form/input-password/input-password.component.mjs +0 -119
  627. package/esm2020/lib/components/form/input-password/input-password.module.mjs +0 -38
  628. package/esm2020/lib/components/form/input-phone/data/country-code.mjs +0 -1333
  629. package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -33
  630. package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +0 -671
  631. package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +0 -52
  632. package/esm2020/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
  633. package/esm2020/lib/components/form/input-search/input-search.component.mjs +0 -166
  634. package/esm2020/lib/components/form/input-search/input-search.module.mjs +0 -43
  635. package/esm2020/lib/components/form/input-select/input-select.component.mjs +0 -243
  636. package/esm2020/lib/components/form/input-select/input-select.module.mjs +0 -47
  637. package/esm2020/lib/components/form/input-tel/directives/input-tel.directive.mjs +0 -62
  638. package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +0 -389
  639. package/esm2020/lib/components/form/input-tel/input-tel.module.mjs +0 -49
  640. package/esm2020/lib/components/form/input-text/input-text.component.mjs +0 -188
  641. package/esm2020/lib/components/form/input-text/input-text.module.mjs +0 -51
  642. package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +0 -195
  643. package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +0 -50
  644. package/esm2020/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
  645. package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -290
  646. package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -48
  647. package/esm2020/lib/components/form/radio/radio.component.mjs +0 -91
  648. package/esm2020/lib/components/form/radio/radio.module.mjs +0 -20
  649. package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +0 -46
  650. package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +0 -63
  651. package/esm2020/lib/components/form/radio-group/helpers/filter-search-group.mjs +0 -27
  652. package/esm2020/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +0 -27
  653. package/esm2020/lib/components/form/radio-group/radio-group.component.mjs +0 -175
  654. package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +0 -26
  655. package/esm2020/lib/components/form/rating/rating.component.mjs +0 -217
  656. package/esm2020/lib/components/form/rating/rating.module.mjs +0 -27
  657. package/esm2020/lib/components/form/switch/switch.component.mjs +0 -97
  658. package/esm2020/lib/components/form/switch/switch.module.mjs +0 -21
  659. package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -22
  660. package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -102
  661. package/esm2020/lib/components/gallery/gallery.component.mjs +0 -197
  662. package/esm2020/lib/components/gallery/gallery.module.mjs +0 -56
  663. package/esm2020/lib/components/gallery/services/gallery.service.mjs +0 -31
  664. package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +0 -123
  665. package/esm2020/lib/components/hint-error-message/hint-error-message.module.mjs +0 -19
  666. package/esm2020/lib/components/icon-button/icon-button.component.mjs +0 -51
  667. package/esm2020/lib/components/icon-button/icon-button.module.mjs +0 -19
  668. package/esm2020/lib/components/label/label.component.mjs +0 -141
  669. package/esm2020/lib/components/label/label.module.mjs +0 -25
  670. package/esm2020/lib/components/link/link.component.mjs +0 -50
  671. package/esm2020/lib/components/link/link.module.mjs +0 -19
  672. package/esm2020/lib/components/loader/loader.component.mjs +0 -26
  673. package/esm2020/lib/components/loader/loader.module.mjs +0 -19
  674. package/esm2020/lib/components/modal/modal.component.mjs +0 -146
  675. package/esm2020/lib/components/modal/modal.module.mjs +0 -20
  676. package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +0 -33
  677. package/esm2020/lib/components/pages-nav/pages-nav.module.mjs +0 -26
  678. package/esm2020/lib/components/paginator/paginator.component.mjs +0 -142
  679. package/esm2020/lib/components/paginator/paginator.module.mjs +0 -33
  680. package/esm2020/lib/components/progress/progress.component.mjs +0 -26
  681. package/esm2020/lib/components/progress/progress.module.mjs +0 -19
  682. package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -15
  683. package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -15
  684. package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -15
  685. package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -15
  686. package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -15
  687. package/esm2020/lib/components/save-state/save-state.component.mjs +0 -39
  688. package/esm2020/lib/components/save-state/save-state.module.mjs +0 -39
  689. package/esm2020/lib/components/stepper/stepper.component.mjs +0 -54
  690. package/esm2020/lib/components/stepper/stepper.module.mjs +0 -20
  691. package/esm2020/lib/components/table/components/column/column.component.mjs +0 -40
  692. package/esm2020/lib/components/table/table.component.mjs +0 -274
  693. package/esm2020/lib/components/table/table.module.mjs +0 -52
  694. package/esm2020/lib/components/tabs/tab/tab.component.mjs +0 -31
  695. package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -29
  696. package/esm2020/lib/components/tabs/tabs.module.mjs +0 -20
  697. package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +0 -67
  698. package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -38
  699. package/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -60
  700. package/esm2020/lib/components/tooltip/tooltip.module.mjs +0 -21
  701. package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +0 -30
  702. package/esm2020/lib/components/truncate-text/truncate-text.module.mjs +0 -21
  703. package/esm2020/lib/components/warning-message/warning-message.component.mjs +0 -31
  704. package/esm2020/lib/components/warning-message/warning-message.module.mjs +0 -19
  705. package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -26
  706. package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +0 -19
  707. package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -17
  708. package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -24
  709. package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +0 -20
  710. package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -96
  711. package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +0 -26
  712. package/esm2020/lib/directives/autosize/autosize.directive.mjs +0 -55
  713. package/esm2020/lib/directives/autosize/autosize.module.mjs +0 -26
  714. package/esm2020/lib/directives/truncate/truncate.directive.mjs +0 -32
  715. package/esm2020/lib/directives/truncate/truncate.module.mjs +0 -18
  716. package/esm2020/lib/helpers/extension/input-file.extension.mjs +0 -39
  717. package/esm2020/lib/helpers/formatting-date.mjs +0 -51
  718. package/esm2020/lib/helpers/string-hash-code.mjs +0 -17
  719. package/esm2020/lib/pipes/currency/currency.module.mjs +0 -22
  720. package/esm2020/lib/pipes/currency/currency.pipe.mjs +0 -22
  721. package/esm2020/lib/pipes/date/date-format.module.mjs +0 -19
  722. package/esm2020/lib/pipes/date/date-format.pipe.mjs +0 -21
  723. package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +0 -21
  724. package/esm2020/lib/pipes/phone/phone-format.module.mjs +0 -18
  725. package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +0 -23
  726. package/esm2020/lib/pipes/safe/safe.module.mjs +0 -22
  727. package/esm2020/lib/pipes/safe/safe.pipe.mjs +0 -20
  728. package/esm2020/lib/pipes/truncate/truncate.module.mjs +0 -22
  729. package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +0 -23
  730. package/esm2020/lib/services/file-upload/file-upload.service.mjs +0 -26
  731. package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -44
  732. package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -283
  733. package/esm2020/lib/services/save-store/save-store.module.mjs +0 -31
  734. package/esm2020/lib/services/save-store/store/effect.mjs +0 -31
  735. package/esm2020/lib/services/save-store/store/reducer.mjs +0 -79
  736. package/esm2020/public-api.mjs +0 -185
  737. package/fesm2015/myrta-ui.mjs +0 -16173
  738. package/fesm2015/myrta-ui.mjs.map +0 -1
  739. package/fesm2020/myrta-ui.mjs +0 -16212
  740. package/fesm2020/myrta-ui.mjs.map +0 -1
  741. package/lib/components/context-menu/components/context-menu/context-menu.component.d.ts +0 -34
  742. package/lib/components/context-menu/components/context-menu-content/context-menu-content.component.d.ts +0 -62
  743. package/lib/components/context-menu/context-menu.module.d.ts +0 -15
  744. package/lib/components/context-menu/context-menu.options.d.ts +0 -4
  745. package/lib/components/context-menu/context-menu.tokens.d.ts +0 -2
  746. package/lib/components/context-menu/directives/context-menu/context-menu.directive.d.ts +0 -12
  747. package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts +0 -30
  748. package/lib/components/context-menu/models/context-menu.enum.d.ts +0 -11
  749. package/lib/components/context-menu/services/context-menu/context-menu-fixed.service.d.ts +0 -11
  750. package/lib/components/context-menu/services/context-menu/context-menu.service.d.ts +0 -56
  751. package/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.d.ts +0 -22
  752. package/lib/components/form/document-editor/document-editor.component.d.ts +0 -37
  753. package/lib/components/form/document-editor/document-editor.module.d.ts +0 -13
  754. package/lib/components/form/document-editor/helpers/transform-sysname.d.ts +0 -5
  755. package/lib/components/form/document-editor/models/document-editor-short-codes.enum.d.ts +0 -6
@@ -1,72 +1,72 @@
1
- export const defaultToolbar = {
2
- buttons: [
3
- 'paragraph',
4
- '|',
5
- 'font',
6
- 'fontsize',
7
- 'brush',
8
- '|',
9
- 'bold',
10
- 'italic',
11
- 'underline',
12
- 'strikethrough',
13
- '|',
14
- {
15
- name: 'left',
16
- list: ['left', 'right', 'center', 'justify'],
17
- },
18
- '|',
19
- 'lineHeight',
20
- 'indent',
21
- 'outdent',
22
- '|',
23
- {
24
- name: 'ul',
25
- list: ''
26
- },
27
- {
28
- name: 'ol',
29
- list: ''
30
- },
31
- '|',
32
- 'link',
33
- {
34
- name: 'image',
35
- css: {
36
- display: 'flex'
37
- }
38
- },
39
- 'table',
40
- 'video',
41
- 'source',
42
- '|',
43
- 'find',
44
- 'undo',
45
- 'redo',
46
- ],
47
- // buttonsMD: [
48
- // 'paragraph',
49
- // '|',
50
- // 'font',
51
- // 'fontsize',
52
- // 'brush',
53
- // 'dots'
54
- // ],
55
- // buttonsSM: [
56
- // 'paragraph',
57
- // '|',
58
- // 'font',
59
- // 'fontsize',
60
- // 'brush',
61
- // 'dots'
62
- // ],
63
- // buttonsXS: [
64
- // 'paragraph',
65
- // '|',
66
- // 'font',
67
- // 'fontsize',
68
- // 'brush',
69
- // 'dots'
70
- // ]
71
- };
1
+ export const defaultToolbar = {
2
+ buttons: [
3
+ 'paragraph',
4
+ '|',
5
+ 'font',
6
+ 'fontsize',
7
+ 'brush',
8
+ '|',
9
+ 'bold',
10
+ 'italic',
11
+ 'underline',
12
+ 'strikethrough',
13
+ '|',
14
+ {
15
+ name: 'left',
16
+ list: ['left', 'right', 'center', 'justify'],
17
+ },
18
+ '|',
19
+ 'lineHeight',
20
+ 'indent',
21
+ 'outdent',
22
+ '|',
23
+ {
24
+ name: 'ul',
25
+ list: ''
26
+ },
27
+ {
28
+ name: 'ol',
29
+ list: ''
30
+ },
31
+ '|',
32
+ 'link',
33
+ {
34
+ name: 'image',
35
+ css: {
36
+ display: 'flex'
37
+ }
38
+ },
39
+ 'table',
40
+ 'video',
41
+ 'source',
42
+ '|',
43
+ 'find',
44
+ 'undo',
45
+ 'redo',
46
+ ],
47
+ // buttonsMD: [
48
+ // 'paragraph',
49
+ // '|',
50
+ // 'font',
51
+ // 'fontsize',
52
+ // 'brush',
53
+ // 'dots'
54
+ // ],
55
+ // buttonsSM: [
56
+ // 'paragraph',
57
+ // '|',
58
+ // 'font',
59
+ // 'fontsize',
60
+ // 'brush',
61
+ // 'dots'
62
+ // ],
63
+ // buttonsXS: [
64
+ // 'paragraph',
65
+ // '|',
66
+ // 'font',
67
+ // 'fontsize',
68
+ // 'brush',
69
+ // 'dots'
70
+ // ]
71
+ };
72
72
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2VkaXRvci9jb25maWcvdG9vbGJhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQWtCO0lBQzNDLE9BQU8sRUFBRTtRQUNQLFdBQVc7UUFDWCxHQUFHO1FBQ0gsTUFBTTtRQUNOLFVBQVU7UUFDVixPQUFPO1FBQ1AsR0FBRztRQUNILE1BQU07UUFDTixRQUFRO1FBQ1IsV0FBVztRQUNYLGVBQWU7UUFDZixHQUFHO1FBQ0g7WUFDRSxJQUFJLE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XHJcbiAgLy8gICAnYnJ1c2gnLFxyXG4gIC8vICAgJ2RvdHMnXHJcbiAgLy8gXSxcclxuICAvLyBidXR0b25zU006IFtcclxuICAvLyAgICdwYXJhZ3JhcGgnLFxyXG4gIC8vICAgJ3wnLFxyXG4gIC8vICAgJ2ZvbnQnLFxyXG4gIC8vICAgJ2ZvbnRzaXplJyxcclxuICAvLyAgICdicnVzaCcsXHJcbiAgLy8gICAnZG90cydcclxuICAvLyBdLFxyXG4gIC8vIGJ1dHRvbnNYUzogW1xyXG4gIC8vICAgJ3BhcmFncmFwaCcsXHJcbiAgLy8gICAnfCcsXHJcbiAgLy8gICAnZm9udCcsXHJcbiAgLy8gICAnZm9udHNpemUnLFxyXG4gIC8vICAgJ2JydXNoJyxcclxuICAvLyAgICdkb3RzJ1xyXG4gIC8vIF1cclxufVxyXG4iXX0=
@@ -0,0 +1,261 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output, ViewChild } from '@angular/core';
2
+ import { changeIconsFunction } from './modules/change-icon-module';
3
+ import { defaultToolbar } from './config';
4
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
+ import { popupToolbars } from './config/popups-toolbar';
6
+ import { v4 as uuidv4 } from 'uuid';
7
+ import { defaultInlineStyleConstant } from './config/default-inline-style';
8
+ import { Jodit } from "jodit";
9
+ import ru from 'jodit/esm/langs/ru.js';
10
+ import 'jodit/esm/plugins/source/source.js';
11
+ import 'jodit/esm/plugins/line-height/line-height.js';
12
+ import 'jodit/esm/plugins/indent/indent.js';
13
+ import 'jodit/esm/plugins/video/video.js';
14
+ import 'jodit/esm/plugins/search/search.js';
15
+ import * as i0 from "@angular/core";
16
+ import * as i1 from "@angular/common";
17
+ import * as i2 from "@angular/forms";
18
+ import * as i3 from "ngx-jodit";
19
+ import * as i4 from "../../chars-left/chars-left.component";
20
+ import * as i5 from "../../error-message/error-message.component";
21
+ import * as i6 from "../../save-state/save-state.component";
22
+ Jodit.lang.de = ru;
23
+ export class EditorComponent {
24
+ changeDetection;
25
+ _isInit = false;
26
+ value = '';
27
+ valueLength = 0;
28
+ isFocused = false;
29
+ options = {
30
+ language: 'ru'
31
+ };
32
+ defaultConfig = {
33
+ ...defaultToolbar,
34
+ popup: popupToolbars,
35
+ language: 'ru',
36
+ showCharsCounter: false,
37
+ showWordsCounter: false,
38
+ showXPathInStatusbar: false,
39
+ link: {
40
+ noFollowCheckbox: false
41
+ },
42
+ minHeight: 110,
43
+ iframe: false,
44
+ imageDefaultWidth: 200,
45
+ editHTMLDocumentMode: true,
46
+ cleanHTML: {
47
+ fillEmptyParagraph: true
48
+ },
49
+ placeholder: '',
50
+ toolbarAdaptive: false,
51
+ toolbarInline: true,
52
+ toolbarInlineForSelection: false,
53
+ toolbarInlineDisableFor: [],
54
+ toolbarInlineDisabledButtons: ['source'],
55
+ disabled: false,
56
+ readonly: false,
57
+ askBeforePasteHTML: false,
58
+ defaultActionOnPaste: 'insert_only_text',
59
+ askBeforePasteFromWord: false,
60
+ hidePoweredByJodit: true,
61
+ beautifyHTML: true,
62
+ addNewLine: true,
63
+ createAttributes: {},
64
+ getIcon: (iconName) => {
65
+ return changeIconsFunction(iconName);
66
+ },
67
+ events: {
68
+ focus: () => {
69
+ this.changeFocused(true);
70
+ },
71
+ blur: () => {
72
+ this.changeFocused(false);
73
+ }
74
+ }
75
+ // uploader: {
76
+ // insertImageAsBase64URI: true
77
+ // },
78
+ // limitChars: 10,
79
+ // limitHTML: 170,
80
+ };
81
+ // SAVE STATE
82
+ uuid = uuidv4();
83
+ fields = [];
84
+ toolbar;
85
+ maxLength = 0;
86
+ minHeight = 110;
87
+ customClasses = '';
88
+ placeholder = '';
89
+ disabled = false;
90
+ readonly = false;
91
+ iframe = false;
92
+ defaultInlineStyle = false;
93
+ config = this.defaultConfig;
94
+ editHTMLDocumentMode = false;
95
+ invalid = false;
96
+ invalidMessage = '';
97
+ checkInvalid = null;
98
+ editorElementRef;
99
+ changed = new EventEmitter();
100
+ constructor(changeDetection) {
101
+ this.changeDetection = changeDetection;
102
+ }
103
+ ngOnChanges(changes) {
104
+ if (changes['toolbar']) {
105
+ this.defaultConfig = { ...this.defaultConfig, ...changes['toolbar'].currentValue };
106
+ }
107
+ if (changes['maxLength']) {
108
+ this.defaultConfig = { ...this.defaultConfig, limitChars: changes['maxLength'].currentValue };
109
+ }
110
+ if (changes['placeholder']) {
111
+ this.defaultConfig = { ...this.defaultConfig, placeholder: changes['placeholder'].currentValue };
112
+ }
113
+ if (changes['disabled']) {
114
+ this.defaultConfig = { ...this.defaultConfig, disabled: changes['disabled'].currentValue };
115
+ }
116
+ if (changes['readonly']) {
117
+ this.defaultConfig = { ...this.defaultConfig, readonly: changes['readonly'].currentValue };
118
+ }
119
+ if (changes['iframe']) {
120
+ this.defaultConfig = { ...this.defaultConfig, iframe: changes['iframe'].currentValue };
121
+ }
122
+ if (changes['defaultInlineStyle']) {
123
+ this.defaultConfig = { ...this.defaultConfig, createAttributes: { ...this.defaultConfig.createAttributes, ...defaultInlineStyleConstant } };
124
+ }
125
+ if (changes['editHTMLDocumentMode']) {
126
+ this.defaultConfig = {
127
+ ...this.defaultConfig,
128
+ editHTMLDocumentMode: changes['editHTMLDocumentMode'].currentValue
129
+ };
130
+ }
131
+ if (changes['askBeforePasteHTML']) {
132
+ this.defaultConfig = { ...this.defaultConfig, askBeforePasteHTML: changes['askBeforePasteHTML'].currentValue };
133
+ }
134
+ if (changes['askBeforePasteFromWord']) {
135
+ this.defaultConfig = {
136
+ ...this.defaultConfig,
137
+ askBeforePasteFromWord: changes['askBeforePasteFromWord'].currentValue
138
+ };
139
+ }
140
+ if (changes['defaultActionOnPaste']) {
141
+ this.defaultConfig = {
142
+ ...this.defaultConfig,
143
+ defaultActionOnPaste: changes['defaultActionOnPaste'].currentValue
144
+ };
145
+ }
146
+ if (changes['minHeight']) {
147
+ this.defaultConfig = { ...this.defaultConfig, minHeight: changes['minHeight'].currentValue };
148
+ }
149
+ if (changes['config']) {
150
+ this.defaultConfig = { ...this.defaultConfig, ...changes['config'].currentValue };
151
+ }
152
+ }
153
+ get isValid() {
154
+ return true;
155
+ }
156
+ get isInvalidMessage() {
157
+ return !!this.invalidMessage || !!this.invalidMessage.length;
158
+ }
159
+ get checkValidClasses() {
160
+ return this.checkInvalid === false ? 'mrx-input-checked-success' : this.checkInvalid === true ? 'mrx-input-checked-error' : '';
161
+ }
162
+ get getClasses() {
163
+ return `${this.customClasses} ${this.checkValidClasses}`;
164
+ }
165
+ insertPositionText(text) {
166
+ this.editorElementRef.editor.s.insertHTML(text);
167
+ }
168
+ changeFocused(value) {
169
+ this.isFocused = value;
170
+ this.changeDetection.detectChanges();
171
+ }
172
+ onChange = (value) => {
173
+ };
174
+ onTouched = () => {
175
+ };
176
+ registerOnChange(fn) {
177
+ this.onChange = fn;
178
+ }
179
+ registerOnTouched(fn) {
180
+ this.onTouched = fn;
181
+ }
182
+ writeValue(outsideValue) {
183
+ this.value = this._sanitizeValue(outsideValue);
184
+ if (outsideValue !== null) {
185
+ setTimeout(() => {
186
+ this._isInit = true;
187
+ }, 100);
188
+ }
189
+ }
190
+ updateValue(insideValue) {
191
+ if (this.maxLength) {
192
+ this._calculateChartsCount();
193
+ }
194
+ if (this._isInit) {
195
+ this.value = insideValue;
196
+ this.changed.emit(insideValue);
197
+ this.onChange(insideValue);
198
+ this.onTouched();
199
+ }
200
+ }
201
+ _sanitizeValue(value) {
202
+ return value ? value.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, '') : value;
203
+ }
204
+ _calculateChartsCount() {
205
+ this.valueLength = this.editorElementRef.editor.text.replace(/\s+/g, '').length;
206
+ }
207
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: EditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
208
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: EditorComponent, selector: "mrx-editor", inputs: { fields: "fields", toolbar: "toolbar", maxLength: "maxLength", minHeight: "minHeight", customClasses: "customClasses", placeholder: "placeholder", disabled: "disabled", readonly: "readonly", iframe: "iframe", defaultInlineStyle: "defaultInlineStyle", config: "config", editHTMLDocumentMode: "editHTMLDocumentMode", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid" }, outputs: { changed: "changed" }, providers: [
209
+ {
210
+ provide: NG_VALUE_ACCESSOR,
211
+ useExisting: forwardRef(() => EditorComponent),
212
+ multi: true,
213
+ },
214
+ ], viewQueries: [{ propertyName: "editorElementRef", first: true, predicate: ["editorElementRef"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\r\n class=\"mrx-editor\"\r\n [class.mrx-input-focused]=\"isFocused\"\r\n [class.mrx-input-error]=\"!isValid || invalid\"\r\n [class]=\"getClasses\"\r\n>\r\n <ngx-jodit\r\n #editorElementRef\r\n [(ngModel)]=\"value\"\r\n [options]=\"defaultConfig\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n ></ngx-jodit>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-chars-left [maxlength]=\"maxLength\" [valueLength]=\"valueLength\"></mrx-chars-left>\r\n\r\n <mrx-save-state type=\"editor\" [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [":host::ng-deep .jodit-toolbar__box button{margin-bottom:0!important}:host::ng-deep .jodit-source *{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace!important;font-size:12px;font-style:normal}:host::ng-deep .mrx-editor .jodit-toolbar__box:not(:empty){background-color:#fff;padding:4px}:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-collection_size_middle.jodit-toolbar-collection_mode_horizontal,:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal,:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-editor-collection_size_middle.jodit-toolbar-collection_mode_horizontal,:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-editor-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:none}:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-editor-collection:after{display:none}:host::ng-deep .mrx-editor .jodit-ui-group{flex-wrap:wrap;gap:var(--sizing-1)}:host::ng-deep .mrx-editor .jodit-toolbar-button{height:28px;margin:0;border:none}:host::ng-deep .mrx-editor .jodit-toolbar-button.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:transparent;box-shadow:0 1px 4px #3a3a3a4d}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__button{height:28px}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__button:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__button[aria-pressed=true]:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}:host::ng-deep .mrx-editor .jodit-ui-separator{border-color:var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-editor .jodit-add-new-line{display:none}:host::ng-deep .mrx-editor{position:relative}:host::ng-deep .mrx-editor .jodit-container .jodit-wysiwyg{padding:var(--spacing-3) var(--spacing-4)}:host::ng-deep .mrx-editor .jodit-container:not(.jodit_inline).jodit_disabled .jodit-toolbar__box{background-color:var(--neutral-bg-island-default)}:host::ng-deep .mrx-editor .jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace{opacity:1;background-color:var(--neutral-bg-disabled)}:host::ng-deep .mrx-editor.mrx-input-error .jodit-container,:host::ng-deep .mrx-editor.mrx-input-checked-error .jodit-container{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)!important}:host::ng-deep .mrx-editor.mrx-input-error .jodit-container .jodit-toolbar__box:not(:empty),:host::ng-deep .mrx-editor.mrx-input-checked-error .jodit-container .jodit-toolbar__box:not(:empty){border-bottom:var(--border-width-default) solid var(--system-bg-controls-negative-default)!important}:host::ng-deep .mrx-editor.mrx-input-success .jodit-container,:host::ng-deep .mrx-editor.mrx-input-checked-success .jodit-container{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)!important}:host::ng-deep .mrx-editor.mrx-input-success .jodit-container .jodit-toolbar__box:not(:empty),:host::ng-deep .mrx-editor.mrx-input-checked-success .jodit-container .jodit-toolbar__box:not(:empty){border-bottom:var(--border-width-default) solid var(--system-bg-controls-positive-default)!important}:host::ng-deep .mrx-editor.mrx-input-checked-error .jodit-workplace{background-color:var(--system-bg-negative-secondary)!important}:host::ng-deep .mrx-editor.mrx-input-checked-success .jodit-workplace{background-color:var(--system-bg-positive-secondary)!important}:host::ng-deep .mrx-editor .jodit-container{transition:border .2s;border:var(--border-width-default) solid var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-editor .jodit-container:not(.jodit_inline),:host::ng-deep .mrx-editor .jodit-container .jodit-workplace{border-radius:4px}:host::ng-deep .mrx-editor .jodit-container .jodit-toolbar__box:not(:empty){transition:border .2s;border-bottom:var(--border-width-default) solid var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-editor .jodit-container:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}:host::ng-deep .mrx-editor .jodit-container:hover .jodit-toolbar__box:not(:empty){border-bottom:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}:host::ng-deep .mrx-editor.mrx-input-focused .jodit-container{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-popup__content:not(:empty){background-color:#fff;padding:4px}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-ui-group{flex-wrap:wrap;gap:var(--sizing-1)}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-toolbar-button.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:transparent;box-shadow:0 1px 4px #3a3a3a4d}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-toolbar-button .jodit-toolbar-button__button:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-toolbar-button .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}::ng-deep .jodit.jodit-popup-container .jodit-toolbar-button_nullable{display:none!important}::ng-deep .jodit.jodit-popup-container .jodit-form__table-creator-box .jodit-form__container span.jodit_hovered{background-color:var(--system-diagram-diagram-2);border-color:var(--system-diagram-diagram-2)}::ng-deep .jodit.jodit-popup-container .jodit-popup__content .jodit-ui-checkbox__wrapper .jodit-ui-checkbox__input{-webkit-appearance:checkbox!important;position:static!important;width:auto!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.NgxJoditComponent, selector: "ngx-jodit", inputs: ["options", "value"], outputs: ["valueChange", "joditChange", "joditKeyDown", "joditKeyUp", "joditMousedown", "joditMouseup", "joditClick", "joditFocus", "joditPaste", "joditResize", "joditBeforeEnter", "joditBeforeCommand", "joditAfterExec", "joditAfterPaste", "joditChangeSelection"] }, { kind: "component", type: i4.CharsLeftComponent, selector: "mrx-chars-left", inputs: ["maxlength", "valueLength", "value"] }, { kind: "component", type: i5.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: i6.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
215
+ }
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: EditorComponent, decorators: [{
217
+ type: Component,
218
+ args: [{ selector: 'mrx-editor', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
219
+ {
220
+ provide: NG_VALUE_ACCESSOR,
221
+ useExisting: forwardRef(() => EditorComponent),
222
+ multi: true,
223
+ },
224
+ ], template: "<div\r\n class=\"mrx-editor\"\r\n [class.mrx-input-focused]=\"isFocused\"\r\n [class.mrx-input-error]=\"!isValid || invalid\"\r\n [class]=\"getClasses\"\r\n>\r\n <ngx-jodit\r\n #editorElementRef\r\n [(ngModel)]=\"value\"\r\n [options]=\"defaultConfig\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n ></ngx-jodit>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-chars-left [maxlength]=\"maxLength\" [valueLength]=\"valueLength\"></mrx-chars-left>\r\n\r\n <mrx-save-state type=\"editor\" [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [":host::ng-deep .jodit-toolbar__box button{margin-bottom:0!important}:host::ng-deep .jodit-source *{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace!important;font-size:12px;font-style:normal}:host::ng-deep .mrx-editor .jodit-toolbar__box:not(:empty){background-color:#fff;padding:4px}:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-collection_size_middle.jodit-toolbar-collection_mode_horizontal,:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal,:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-editor-collection_size_middle.jodit-toolbar-collection_mode_horizontal,:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-editor-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:none}:host::ng-deep .mrx-editor .jodit-toolbar__box .jodit-toolbar-editor-collection:after{display:none}:host::ng-deep .mrx-editor .jodit-ui-group{flex-wrap:wrap;gap:var(--sizing-1)}:host::ng-deep .mrx-editor .jodit-toolbar-button{height:28px;margin:0;border:none}:host::ng-deep .mrx-editor .jodit-toolbar-button.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:transparent;box-shadow:0 1px 4px #3a3a3a4d}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__button{height:28px}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__button:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__button[aria-pressed=true]:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}:host::ng-deep .mrx-editor .jodit-toolbar-button .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}:host::ng-deep .mrx-editor .jodit-ui-separator{border-color:var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-editor .jodit-add-new-line{display:none}:host::ng-deep .mrx-editor{position:relative}:host::ng-deep .mrx-editor .jodit-container .jodit-wysiwyg{padding:var(--spacing-3) var(--spacing-4)}:host::ng-deep .mrx-editor .jodit-container:not(.jodit_inline).jodit_disabled .jodit-toolbar__box{background-color:var(--neutral-bg-island-default)}:host::ng-deep .mrx-editor .jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace{opacity:1;background-color:var(--neutral-bg-disabled)}:host::ng-deep .mrx-editor.mrx-input-error .jodit-container,:host::ng-deep .mrx-editor.mrx-input-checked-error .jodit-container{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)!important}:host::ng-deep .mrx-editor.mrx-input-error .jodit-container .jodit-toolbar__box:not(:empty),:host::ng-deep .mrx-editor.mrx-input-checked-error .jodit-container .jodit-toolbar__box:not(:empty){border-bottom:var(--border-width-default) solid var(--system-bg-controls-negative-default)!important}:host::ng-deep .mrx-editor.mrx-input-success .jodit-container,:host::ng-deep .mrx-editor.mrx-input-checked-success .jodit-container{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)!important}:host::ng-deep .mrx-editor.mrx-input-success .jodit-container .jodit-toolbar__box:not(:empty),:host::ng-deep .mrx-editor.mrx-input-checked-success .jodit-container .jodit-toolbar__box:not(:empty){border-bottom:var(--border-width-default) solid var(--system-bg-controls-positive-default)!important}:host::ng-deep .mrx-editor.mrx-input-checked-error .jodit-workplace{background-color:var(--system-bg-negative-secondary)!important}:host::ng-deep .mrx-editor.mrx-input-checked-success .jodit-workplace{background-color:var(--system-bg-positive-secondary)!important}:host::ng-deep .mrx-editor .jodit-container{transition:border .2s;border:var(--border-width-default) solid var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-editor .jodit-container:not(.jodit_inline),:host::ng-deep .mrx-editor .jodit-container .jodit-workplace{border-radius:4px}:host::ng-deep .mrx-editor .jodit-container .jodit-toolbar__box:not(:empty){transition:border .2s;border-bottom:var(--border-width-default) solid var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-editor .jodit-container:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}:host::ng-deep .mrx-editor .jodit-container:hover .jodit-toolbar__box:not(:empty){border-bottom:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}:host::ng-deep .mrx-editor.mrx-input-focused .jodit-container{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-popup__content:not(:empty){background-color:#fff;padding:4px}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-ui-group{flex-wrap:wrap;gap:var(--sizing-1)}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-toolbar-button.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:transparent;box-shadow:0 1px 4px #3a3a3a4d}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-toolbar-button .jodit-toolbar-button__button:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}::ng-deep .jodit.jodit-popup-container .jodit-popup .jodit-toolbar-button .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:var(--brand-bg-tertiary-hover)}::ng-deep .jodit.jodit-popup-container .jodit-toolbar-button_nullable{display:none!important}::ng-deep .jodit.jodit-popup-container .jodit-form__table-creator-box .jodit-form__container span.jodit_hovered{background-color:var(--system-diagram-diagram-2);border-color:var(--system-diagram-diagram-2)}::ng-deep .jodit.jodit-popup-container .jodit-popup__content .jodit-ui-checkbox__wrapper .jodit-ui-checkbox__input{-webkit-appearance:checkbox!important;position:static!important;width:auto!important}\n"] }]
225
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { fields: [{
226
+ type: Input
227
+ }], toolbar: [{
228
+ type: Input
229
+ }], maxLength: [{
230
+ type: Input
231
+ }], minHeight: [{
232
+ type: Input
233
+ }], customClasses: [{
234
+ type: Input
235
+ }], placeholder: [{
236
+ type: Input
237
+ }], disabled: [{
238
+ type: Input
239
+ }], readonly: [{
240
+ type: Input
241
+ }], iframe: [{
242
+ type: Input
243
+ }], defaultInlineStyle: [{
244
+ type: Input
245
+ }], config: [{
246
+ type: Input
247
+ }], editHTMLDocumentMode: [{
248
+ type: Input
249
+ }], invalid: [{
250
+ type: Input
251
+ }], invalidMessage: [{
252
+ type: Input
253
+ }], checkInvalid: [{
254
+ type: Input
255
+ }], editorElementRef: [{
256
+ type: ViewChild,
257
+ args: ['editorElementRef']
258
+ }], changed: [{
259
+ type: Output
260
+ }] } });
261
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnR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FsdWVMZW5ndGhdPVwidmFsdWVMZW5ndGhcIj48L21yeC1jaGFycy1sZWZ0PlxyXG5cclxuICA8bXJ4LXNhdmUtc3RhdGUgdHlwZT1cImVkaXRvclwiIFtpZF09XCJ1dWlkXCIgW2ZpZWxkc109XCJmaWVsZHNcIj48L21yeC1zYXZlLXN0YXRlPlxyXG48L2Rpdj5cclxuIl19
@@ -0,0 +1,45 @@
1
+ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { EditorComponent } from './editor.component';
4
+ import { FormsModule } from '@angular/forms';
5
+ import { CharsLeftModule } from '../../chars-left/chars-left.module';
6
+ import { SafeModule } from '../../../pipes/safe/safe.module';
7
+ import { ErrorMessageModule } from '../../error-message/error-message.module';
8
+ import { SaveStateModule } from '../../save-state/save-state.module';
9
+ import { NgxJoditComponent } from 'ngx-jodit';
10
+ import * as i0 from "@angular/core";
11
+ export class EditorModule {
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: EditorModule, declarations: [EditorComponent], imports: [CommonModule,
14
+ FormsModule,
15
+ NgxJoditComponent,
16
+ CharsLeftModule,
17
+ SafeModule,
18
+ ErrorMessageModule,
19
+ SaveStateModule], exports: [EditorComponent] });
20
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: EditorModule, imports: [CommonModule,
21
+ FormsModule,
22
+ NgxJoditComponent,
23
+ CharsLeftModule,
24
+ SafeModule,
25
+ ErrorMessageModule,
26
+ SaveStateModule] });
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: EditorModule, decorators: [{
29
+ type: NgModule,
30
+ args: [{
31
+ declarations: [EditorComponent],
32
+ imports: [
33
+ CommonModule,
34
+ FormsModule,
35
+ NgxJoditComponent,
36
+ CharsLeftModule,
37
+ SafeModule,
38
+ ErrorMessageModule,
39
+ SaveStateModule
40
+ ],
41
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
42
+ exports: [EditorComponent]
43
+ }]
44
+ }] });
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2VkaXRvci9lZGl0b3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUM5RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sV0FBVyxDQUFDOztBQWdCOUMsTUFBTSxPQUFPLFlBQVk7d0dBQVosWUFBWTt5R0FBWixZQU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1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBUb29sYmFyQ29uZmlnIHtcclxuICBidXR0b25zOiBhbnksXHJcbiAgYnV0dG9uc01EPzogYW55LFxyXG4gIGJ1dHRvbnNTTT86IGFueSxcclxuICBidXR0b25zWFM/OiBhbnlcclxufVxyXG4iXX0=