myrta-ui 14.0.0-beta.5 → 17.0.0-beta.10

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 (752) hide show
  1. package/README.md +1 -0
  2. package/esm2022/lib/components/alert/alert.component.mjs +43 -0
  3. package/{esm2020 → esm2022}/lib/components/alert/alert.enum.mjs +14 -14
  4. package/{esm2020 → esm2022}/lib/components/alert/alert.module.mjs +19 -19
  5. package/{esm2020 → esm2022}/lib/components/badges/badge.enum.mjs +31 -31
  6. package/{esm2020 → esm2022}/lib/components/badges/badges.module.mjs +30 -30
  7. package/esm2022/lib/components/badges/components/badge/badge.component.mjs +61 -0
  8. package/{esm2020 → esm2022}/lib/components/badges/components/badge-group/badge-group.component.mjs +11 -11
  9. package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +28 -0
  10. package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.enum.mjs +5 -5
  11. package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.module.mjs +25 -25
  12. package/esm2022/lib/components/button/button.component.mjs +100 -0
  13. package/esm2022/lib/components/button/button.enum.mjs +27 -0
  14. package/{esm2020 → esm2022}/lib/components/button/button.module.mjs +21 -21
  15. package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +29 -0
  16. package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +99 -0
  17. package/{esm2020 → esm2022}/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -21
  18. package/{esm2020 → esm2022}/lib/components/cdk-tooltip/constants/index.mjs +69 -69
  19. package/{esm2020 → esm2022}/lib/components/cdk-tooltip/models/tooltip-data.mjs +1 -1
  20. package/esm2022/lib/components/chars-left/chars-left.component.mjs +24 -0
  21. package/{esm2020 → esm2022}/lib/components/chars-left/chars-left.module.mjs +19 -19
  22. package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +24 -0
  23. package/esm2022/lib/components/dropdown/dropdown.component.mjs +107 -0
  24. package/{esm2020 → esm2022}/lib/components/dropdown/dropdown.module.mjs +21 -21
  25. package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
  26. package/{esm2020 → esm2022}/lib/components/error-message/error-message.module.mjs +19 -19
  27. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +153 -0
  28. package/esm2022/lib/components/form/checkbox/checkbox.enum.mjs +5 -0
  29. package/{esm2020 → esm2022}/lib/components/form/checkbox/checkbox.module.mjs +22 -22
  30. package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +178 -0
  31. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/checkbox-group.module.mjs +47 -47
  32. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +48 -49
  33. package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +106 -0
  34. package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +20 -0
  35. package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +15 -0
  36. package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +27 -0
  37. package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +20 -0
  38. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +10 -10
  39. package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +50 -0
  40. package/{esm2020 → esm2022}/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +1 -1
  41. package/{esm2020 → esm2022}/lib/components/form/editor/config/default-inline-style.mjs +5 -5
  42. package/{esm2020 → esm2022}/lib/components/form/editor/config/index.mjs +1 -1
  43. package/{esm2020 → esm2022}/lib/components/form/editor/config/popups-toolbar.mjs +8 -8
  44. package/{esm2020 → esm2022}/lib/components/form/editor/config/toolbar.mjs +71 -71
  45. package/esm2022/lib/components/form/editor/editor.component.mjs +265 -0
  46. package/{esm2020 → esm2022}/lib/components/form/editor/editor.enum.mjs +1 -1
  47. package/esm2022/lib/components/form/editor/editor.module.mjs +45 -0
  48. package/{esm2020 → esm2022}/lib/components/form/editor/models/toolbar.model.mjs +1 -1
  49. package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +92 -0
  50. package/{esm2020 → esm2022}/lib/components/form/input-date-time/constants/value-models.mjs +13 -13
  51. package/{esm2020 → esm2022}/lib/components/form/input-date-time/enum/timezone.mjs +6 -6
  52. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/clean-date.mjs +4 -4
  53. package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +23 -0
  54. package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +10 -0
  55. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +9 -9
  56. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/validate-value-models.mjs +60 -60
  57. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/value-parser.mjs +38 -38
  58. package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +386 -0
  59. package/{esm2020 → esm2022}/lib/components/form/input-date-time/input-date-time.enum.mjs +7 -7
  60. package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +46 -0
  61. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/constants/value-models.mjs +14 -14
  62. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/clean-date.mjs +4 -4
  63. package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +23 -0
  64. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +10 -0
  65. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +10 -0
  66. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +74 -74
  67. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/value-parser.mjs +47 -47
  68. package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +356 -0
  69. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/input-datepicker.enum.mjs +6 -6
  70. package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +46 -0
  71. package/{esm2020 → esm2022}/lib/components/form/input-file/enums/error-messages.enum.mjs +7 -7
  72. package/esm2022/lib/components/form/input-file/input-file.component.mjs +368 -0
  73. package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.enum.mjs +7 -7
  74. package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.module.mjs +26 -26
  75. package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +88 -0
  76. package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +356 -0
  77. package/{esm2020 → esm2022}/lib/components/form/input-file-image/input-file-image.enum.mjs +9 -9
  78. package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +53 -0
  79. package/esm2022/lib/components/form/input-number/input-number.component.mjs +267 -0
  80. package/{esm2020 → esm2022}/lib/components/form/input-number/input-number.enum.mjs +7 -7
  81. package/esm2022/lib/components/form/input-number/input-number.module.mjs +55 -0
  82. package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +370 -0
  83. package/{esm2020 → esm2022}/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +7 -7
  84. package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +43 -0
  85. package/{esm2020 → esm2022}/lib/components/form/input-opt/input-opt.module.mjs +38 -38
  86. package/{esm2020 → esm2022}/lib/components/form/input-opt/models/input-opt.model.mjs +5 -5
  87. package/{esm2020 → esm2022}/lib/components/form/input-opt/services/input-opt.service.mjs +33 -33
  88. package/esm2022/lib/components/form/input-password/input-password.component.mjs +118 -0
  89. package/{esm2020 → esm2022}/lib/components/form/input-password/input-password.enum.mjs +7 -7
  90. package/esm2022/lib/components/form/input-password/input-password.module.mjs +36 -0
  91. package/esm2022/lib/components/form/input-phone/data/country-code.mjs +1331 -0
  92. package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +35 -0
  93. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/country-iso.enum.mjs +246 -246
  94. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/input-phone.enum.mjs +6 -6
  95. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/mask.enum.mjs +138 -138
  96. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +5 -5
  97. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/search-country-field.enum.mjs +7 -7
  98. package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +679 -0
  99. package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +50 -0
  100. package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +61 -0
  101. package/{esm2020 → esm2022}/lib/components/form/input-phone/interfaces/change-data.mjs +1 -1
  102. package/{esm2020 → esm2022}/lib/components/form/input-phone/models/country.model.mjs +1 -1
  103. package/esm2022/lib/components/form/input-search/input-search.component.mjs +167 -0
  104. package/{esm2020 → esm2022}/lib/components/form/input-search/input-search.enum.mjs +7 -7
  105. package/esm2022/lib/components/form/input-search/input-search.module.mjs +41 -0
  106. package/esm2022/lib/components/form/input-select/input-select.component.mjs +253 -0
  107. package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.enum.mjs +5 -5
  108. package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.module.mjs +45 -45
  109. package/{esm2020 → esm2022}/lib/components/form/input-tel/assets/base64.mjs +3 -3
  110. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/all-countries.mjs +1323 -1323
  111. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/country-iso.enum.mjs +246 -246
  112. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/phone-number-format.enum.mjs +5 -5
  113. package/{esm2020 → esm2022}/lib/components/form/input-tel/data/search-country-field.enum.mjs +7 -7
  114. package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
  115. package/{esm2020 → esm2022}/lib/components/form/input-tel/enums/input-phone.enum.mjs +6 -6
  116. package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +400 -0
  117. package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +43 -0
  118. package/{esm2020 → esm2022}/lib/components/form/input-tel/models/country.model.mjs +1 -1
  119. package/esm2022/lib/components/form/input-text/input-text.component.mjs +189 -0
  120. package/{esm2020 → esm2022}/lib/components/form/input-text/input-text.enum.mjs +14 -14
  121. package/esm2022/lib/components/form/input-text/input-text.module.mjs +49 -0
  122. package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +197 -0
  123. package/{esm2020 → esm2022}/lib/components/form/input-textarea/input-textarea.enum.mjs +6 -6
  124. package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +49 -0
  125. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/constants/value-models.mjs +7 -7
  126. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/clean-date.mjs +4 -4
  127. package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +14 -0
  128. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +4 -4
  129. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-object.mjs +4 -4
  130. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +29 -29
  131. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/value-parser.mjs +17 -17
  132. package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +292 -0
  133. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/input-timepicker.enum.mjs +6 -6
  134. package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +46 -0
  135. package/esm2022/lib/components/form/radio/radio.component.mjs +91 -0
  136. package/{esm2020 → esm2022}/lib/components/form/radio/radio.enum.mjs +4 -4
  137. package/{esm2020 → esm2022}/lib/components/form/radio/radio.module.mjs +20 -20
  138. package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +45 -0
  139. package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +66 -0
  140. package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
  141. package/{esm2020 → esm2022}/lib/components/form/radio-group/helpers/get-item-by-id.mjs +10 -10
  142. package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
  143. package/{esm2020 → esm2022}/lib/components/form/radio-group/models/radio-group.model.mjs +2 -2
  144. package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +175 -0
  145. package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +26 -0
  146. package/esm2022/lib/components/form/rating/rating.component.mjs +215 -0
  147. package/{esm2020 → esm2022}/lib/components/form/rating/rating.enum.mjs +15 -15
  148. package/{esm2020 → esm2022}/lib/components/form/rating/rating.module.mjs +25 -25
  149. package/esm2022/lib/components/form/switch/switch.component.mjs +95 -0
  150. package/{esm2020 → esm2022}/lib/components/form/switch/switch.enum.mjs +10 -10
  151. package/{esm2020 → esm2022}/lib/components/form/switch/switch.module.mjs +21 -21
  152. package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +37 -0
  153. package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +112 -0
  154. package/{esm2020 → esm2022}/lib/components/gallery/constants/custom-buttons-default.mjs +6 -6
  155. package/{esm2020 → esm2022}/lib/components/gallery/constants/thumbs-config-default.mjs +4 -4
  156. package/esm2022/lib/components/gallery/gallery.component.mjs +203 -0
  157. package/{esm2020 → esm2022}/lib/components/gallery/gallery.module.mjs +54 -54
  158. package/{esm2020 → esm2022}/lib/components/gallery/models/gallery-item.model.mjs +1 -1
  159. package/esm2022/lib/components/gallery/services/gallery.service.mjs +33 -0
  160. package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +121 -0
  161. package/{esm2020 → esm2022}/lib/components/hint-error-message/hint-error-message.module.mjs +19 -19
  162. package/esm2022/lib/components/icon-button/icon-button.component.mjs +49 -0
  163. package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.enum.mjs +15 -15
  164. package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.module.mjs +19 -19
  165. package/esm2022/lib/components/label/label.component.mjs +143 -0
  166. package/{esm2020 → esm2022}/lib/components/label/label.module.mjs +25 -25
  167. package/esm2022/lib/components/link/link.component.mjs +48 -0
  168. package/{esm2020 → esm2022}/lib/components/link/link.enum.mjs +19 -19
  169. package/{esm2020 → esm2022}/lib/components/link/link.module.mjs +19 -19
  170. package/esm2022/lib/components/loader/loader.component.mjs +24 -0
  171. package/{esm2020 → esm2022}/lib/components/loader/loader.enum.mjs +19 -19
  172. package/{esm2020 → esm2022}/lib/components/loader/loader.module.mjs +19 -19
  173. package/esm2022/lib/components/modal/modal.component.mjs +137 -0
  174. package/{esm2020 → esm2022}/lib/components/modal/modal.emun.mjs +20 -20
  175. package/{esm2020 → esm2022}/lib/components/modal/modal.module.mjs +20 -20
  176. package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +31 -0
  177. package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.enum.mjs +5 -5
  178. package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.module.mjs +24 -24
  179. package/esm2022/lib/components/paginator/paginator.component.mjs +140 -0
  180. package/{esm2020 → esm2022}/lib/components/paginator/paginator.enum.mjs +5 -5
  181. package/esm2022/lib/components/paginator/paginator.module.mjs +31 -0
  182. package/esm2022/lib/components/progress/progress.component.mjs +24 -0
  183. package/{esm2020 → esm2022}/lib/components/progress/progress.enum.mjs +7 -7
  184. package/{esm2020 → esm2022}/lib/components/progress/progress.module.mjs +19 -19
  185. package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +16 -0
  186. package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +16 -0
  187. package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +16 -0
  188. package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +16 -0
  189. package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +16 -0
  190. package/esm2022/lib/components/save-state/save-state.component.mjs +40 -0
  191. package/{esm2020 → esm2022}/lib/components/save-state/save-state.enum.mjs +2 -2
  192. package/{esm2020 → esm2022}/lib/components/save-state/save-state.module.mjs +37 -37
  193. package/esm2022/lib/components/stepper/stepper.component.mjs +52 -0
  194. package/{esm2020 → esm2022}/lib/components/stepper/stepper.enum.mjs +5 -5
  195. package/{esm2020 → esm2022}/lib/components/stepper/stepper.module.mjs +20 -20
  196. package/esm2022/lib/components/table/components/column/column.component.mjs +40 -0
  197. package/{esm2020 → esm2022}/lib/components/table/default/default-pager-settings.mjs +6 -6
  198. package/{esm2020 → esm2022}/lib/components/table/models/data-state-change.event.mjs +1 -1
  199. package/{esm2020 → esm2022}/lib/components/table/models/index.mjs +3 -3
  200. package/{esm2020 → esm2022}/lib/components/table/models/pager-settings.mjs +1 -1
  201. package/esm2022/lib/components/table/table.component.mjs +281 -0
  202. package/{esm2020 → esm2022}/lib/components/table/table.enum.mjs +7 -7
  203. package/{esm2020 → esm2022}/lib/components/table/table.module.mjs +50 -50
  204. package/esm2022/lib/components/tabs/tab/tab.component.mjs +33 -0
  205. package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +27 -0
  206. package/{esm2020 → esm2022}/lib/components/tabs/tabs.enum.mjs +13 -13
  207. package/{esm2020 → esm2022}/lib/components/tabs/tabs.module.mjs +20 -20
  208. package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +65 -0
  209. package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +36 -0
  210. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +10 -10
  211. package/esm2022/lib/components/tooltip/tooltip.component.mjs +59 -0
  212. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.enum.mjs +5 -5
  213. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.module.mjs +21 -21
  214. package/{esm2020 → esm2022}/lib/components/truncate-text/directives/truncate-text.directive.mjs +149 -139
  215. package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +30 -0
  216. package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.enum.mjs +1 -1
  217. package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.module.mjs +21 -21
  218. package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
  219. package/{esm2020 → esm2022}/lib/components/warning-message/warning-message.module.mjs +19 -19
  220. package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +25 -0
  221. package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +5 -5
  222. package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -19
  223. package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +15 -0
  224. package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +23 -0
  225. package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +6 -6
  226. package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -20
  227. package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +99 -0
  228. package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +16 -16
  229. package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -24
  230. package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
  231. package/{esm2020 → esm2022}/lib/directives/autosize/autosize.module.mjs +24 -24
  232. package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
  233. package/{esm2020 → esm2022}/lib/directives/truncate/truncate.module.mjs +18 -18
  234. package/{esm2020 → esm2022}/lib/enums/typed.input.state.mjs +8 -8
  235. package/esm2022/lib/helpers/extension/input-file.extension.mjs +39 -0
  236. package/esm2022/lib/helpers/formatting-date.mjs +51 -0
  237. package/{esm2020 → esm2022}/lib/helpers/formatting-dates-from-array.mjs +18 -18
  238. package/{esm2020 → esm2022}/lib/helpers/formatting-iso-to-string.mjs +12 -12
  239. package/{esm2020 → esm2022}/lib/helpers/index.mjs +7 -7
  240. package/{esm2020 → esm2022}/lib/helpers/number-format.mjs +8 -8
  241. package/esm2022/lib/helpers/string-hash-code.mjs +17 -0
  242. package/{esm2020 → esm2022}/lib/helpers/word-form.mjs +10 -10
  243. package/{esm2020 → esm2022}/lib/models/index.mjs +2 -2
  244. package/esm2022/lib/models/input-file/input-file.model.mjs +2 -0
  245. package/{esm2020 → esm2022}/lib/models/typed-input-model.mjs +1 -1
  246. package/{esm2020 → esm2022}/lib/pipes/currency/currency.module.mjs +20 -20
  247. package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
  248. package/{esm2020 → esm2022}/lib/pipes/date/date-format.module.mjs +19 -19
  249. package/esm2022/lib/pipes/date/date-format.pipe.mjs +21 -0
  250. package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +21 -0
  251. package/{esm2020 → esm2022}/lib/pipes/date/enums/timezone.mjs +9 -9
  252. package/{esm2020 → esm2022}/lib/pipes/date/helpers/change-timezone.mjs +22 -22
  253. package/{esm2020 → esm2022}/lib/pipes/phone/phone-format.module.mjs +18 -18
  254. package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
  255. package/{esm2020 → esm2022}/lib/pipes/safe/safe.module.mjs +20 -20
  256. package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
  257. package/{esm2020 → esm2022}/lib/pipes/truncate/truncate.module.mjs +20 -20
  258. package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +23 -0
  259. package/esm2022/lib/services/file-upload/file-upload.service.mjs +28 -0
  260. package/esm2022/lib/services/index.mjs +11 -0
  261. package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +44 -0
  262. package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +48 -0
  263. package/esm2022/lib/services/modal-service/helpers/index.mjs +5 -0
  264. package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +14 -0
  265. package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +29 -0
  266. package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +4 -0
  267. package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +4 -0
  268. package/esm2022/lib/services/modal-service/modal-service.module.mjs +25 -0
  269. package/esm2022/lib/services/modal-service/modal-service.service.mjs +84 -0
  270. package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +2 -0
  271. package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +43 -0
  272. package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +283 -0
  273. package/{esm2020 → esm2022}/lib/services/save-store/constants/constants.mjs +1 -1
  274. package/{esm2020 → esm2022}/lib/services/save-store/models/save-store.model.mjs +1 -1
  275. package/{esm2020 → esm2022}/lib/services/save-store/save-store.module.mjs +29 -29
  276. package/{esm2020 → esm2022}/lib/services/save-store/store/actions.mjs +22 -22
  277. package/esm2022/lib/services/save-store/store/effect.mjs +61 -0
  278. package/esm2022/lib/services/save-store/store/reducer.mjs +96 -0
  279. package/{esm2020 → esm2022}/lib/services/save-store/store/selectors.mjs +4 -4
  280. package/{esm2020 → esm2022}/lib/services/save-store/store/state.mjs +3 -3
  281. package/{esm2020 → esm2022}/myrta-ui.mjs +4 -4
  282. package/esm2022/public-api.mjs +176 -0
  283. package/fesm2022/myrta-ui.mjs +15470 -0
  284. package/fesm2022/myrta-ui.mjs.map +1 -0
  285. package/index.d.ts +5 -5
  286. package/lib/components/alert/alert.component.d.ts +17 -17
  287. package/lib/components/alert/alert.enum.d.ts +13 -13
  288. package/lib/components/alert/alert.module.d.ts +8 -8
  289. package/lib/components/badges/badge.enum.d.ts +38 -38
  290. package/lib/components/badges/badges.module.d.ts +9 -9
  291. package/lib/components/badges/components/badge/badge.component.d.ts +21 -21
  292. package/lib/components/badges/components/badge-group/badge-group.component.d.ts +5 -5
  293. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +11 -11
  294. package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +11 -11
  295. package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +8 -8
  296. package/lib/components/button/button.component.d.ts +31 -31
  297. package/lib/components/button/button.enum.d.ts +27 -29
  298. package/lib/components/button/button.module.d.ts +10 -10
  299. package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +13 -13
  300. package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +24 -24
  301. package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +10 -10
  302. package/lib/components/cdk-tooltip/constants/index.d.ts +7 -7
  303. package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +6 -6
  304. package/lib/components/chars-left/chars-left.component.d.ts +9 -10
  305. package/lib/components/chars-left/chars-left.module.d.ts +8 -8
  306. package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +9 -9
  307. package/lib/components/dropdown/dropdown.component.d.ts +26 -26
  308. package/lib/components/dropdown/dropdown.module.d.ts +10 -10
  309. package/lib/components/error-message/error-message.component.d.ts +10 -10
  310. package/lib/components/error-message/error-message.module.d.ts +8 -8
  311. package/lib/components/form/checkbox/checkbox.component.d.ts +48 -46
  312. package/lib/components/form/checkbox/checkbox.enum.d.ts +14 -10
  313. package/lib/components/form/checkbox/checkbox.module.d.ts +11 -11
  314. package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +54 -56
  315. package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +16 -16
  316. package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +19 -19
  317. package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +26 -29
  318. package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +3 -3
  319. package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +3 -3
  320. package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +2 -2
  321. package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +2 -2
  322. package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +2 -2
  323. package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +2 -2
  324. package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +15 -15
  325. package/lib/components/form/editor/config/default-inline-style.d.ts +11 -11
  326. package/lib/components/form/editor/config/index.d.ts +1 -1
  327. package/lib/components/form/editor/config/popups-toolbar.d.ts +15 -15
  328. package/lib/components/form/editor/config/toolbar.d.ts +2 -2
  329. package/lib/components/form/editor/editor.component.d.ts +65 -57
  330. package/lib/components/form/editor/editor.enum.d.ts +5 -5
  331. package/lib/components/form/editor/editor.module.d.ts +14 -14
  332. package/lib/components/form/editor/models/toolbar.model.d.ts +6 -6
  333. package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -1
  334. package/lib/components/form/input-date-time/constants/value-models.d.ts +3 -3
  335. package/lib/components/form/input-date-time/enum/timezone.d.ts +6 -6
  336. package/lib/components/form/input-date-time/helpers/clean-date.d.ts +1 -1
  337. package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +1 -1
  338. package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +3 -3
  339. package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +2 -2
  340. package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +19 -19
  341. package/lib/components/form/input-date-time/helpers/value-parser.d.ts +4 -4
  342. package/lib/components/form/input-date-time/input-date-time.component.d.ts +72 -76
  343. package/lib/components/form/input-date-time/input-date-time.enum.d.ts +21 -21
  344. package/lib/components/form/input-date-time/input-date-time.module.d.ts +13 -13
  345. package/lib/components/form/input-datepicker/constants/value-models.d.ts +3 -3
  346. package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +1 -1
  347. package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +1 -1
  348. package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +3 -3
  349. package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +2 -2
  350. package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +20 -20
  351. package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +3 -3
  352. package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +69 -70
  353. package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +12 -12
  354. package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +13 -13
  355. package/lib/components/form/input-file/enums/error-messages.enum.d.ts +6 -6
  356. package/lib/components/form/input-file/input-file.component.d.ts +74 -72
  357. package/lib/components/form/input-file/input-file.enum.d.ts +7 -7
  358. package/lib/components/form/input-file/input-file.module.d.ts +13 -13
  359. package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +43 -39
  360. package/lib/components/form/input-file-image/input-file-image.component.d.ts +57 -61
  361. package/lib/components/form/input-file-image/input-file-image.enum.d.ts +8 -8
  362. package/lib/components/form/input-file-image/input-file-image.module.d.ts +15 -16
  363. package/lib/components/form/input-number/input-number.component.d.ts +64 -69
  364. package/lib/components/form/input-number/input-number.enum.d.ts +12 -12
  365. package/lib/components/form/input-number/input-number.module.d.ts +13 -13
  366. package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +77 -77
  367. package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +7 -7
  368. package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +8 -8
  369. package/lib/components/form/input-opt/input-opt.module.d.ts +11 -11
  370. package/lib/components/form/input-opt/models/input-opt.model.d.ts +26 -26
  371. package/lib/components/form/input-opt/services/input-opt.service.d.ts +11 -11
  372. package/lib/components/form/input-password/input-password.component.d.ts +38 -43
  373. package/lib/components/form/input-password/input-password.enum.d.ts +7 -11
  374. package/lib/components/form/input-password/input-password.module.d.ts +11 -13
  375. package/lib/components/form/input-phone/data/country-code.d.ts +6 -6
  376. package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +11 -11
  377. package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +245 -245
  378. package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +11 -11
  379. package/lib/components/form/input-phone/enums/mask.enum.d.ts +8 -8
  380. package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +4 -4
  381. package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +6 -6
  382. package/lib/components/form/input-phone/input-phone.component.d.ts +132 -132
  383. package/lib/components/form/input-phone/input-phone.module.d.ts +14 -14
  384. package/lib/components/form/input-phone/input-phone.validator.d.ts +5 -5
  385. package/lib/components/form/input-phone/interfaces/change-data.d.ts +9 -9
  386. package/lib/components/form/input-phone/models/country.model.d.ts +13 -13
  387. package/lib/components/form/input-search/input-search.component.d.ts +48 -52
  388. package/lib/components/form/input-search/input-search.enum.d.ts +6 -11
  389. package/lib/components/form/input-search/input-search.module.d.ts +12 -13
  390. package/lib/components/form/input-select/input-select.component.d.ts +94 -86
  391. package/lib/components/form/input-select/input-select.enum.d.ts +10 -10
  392. package/lib/components/form/input-select/input-select.module.d.ts +14 -14
  393. package/lib/components/form/input-tel/assets/base64.d.ts +3 -3
  394. package/lib/components/form/input-tel/data/all-countries.d.ts +1 -1
  395. package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -245
  396. package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -5
  397. package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -6
  398. package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -21
  399. package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -11
  400. package/lib/components/form/input-tel/input-tel.component.d.ts +89 -89
  401. package/lib/components/form/input-tel/input-tel.module.d.ts +13 -14
  402. package/lib/components/form/input-tel/models/country.model.d.ts +18 -18
  403. package/lib/components/form/input-text/input-text.component.d.ts +54 -57
  404. package/lib/components/form/input-text/input-text.enum.d.ts +19 -19
  405. package/lib/components/form/input-text/input-text.module.d.ts +14 -14
  406. package/lib/components/form/input-textarea/input-textarea.component.d.ts +54 -49
  407. package/lib/components/form/input-textarea/input-textarea.enum.d.ts +11 -11
  408. package/lib/components/form/input-textarea/input-textarea.module.d.ts +14 -14
  409. package/lib/components/form/input-timepicker/constants/value-models.d.ts +2 -2
  410. package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +1 -1
  411. package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +1 -1
  412. package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +3 -3
  413. package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +2 -2
  414. package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +10 -10
  415. package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +2 -2
  416. package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +60 -60
  417. package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +11 -11
  418. package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +13 -13
  419. package/lib/components/form/radio/radio.component.d.ts +29 -29
  420. package/lib/components/form/radio/radio.enum.d.ts +4 -4
  421. package/lib/components/form/radio/radio.module.d.ts +9 -9
  422. package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +18 -20
  423. package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +26 -28
  424. package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -2
  425. package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -2
  426. package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -2
  427. package/lib/components/form/radio-group/models/radio-group.model.d.ts +8 -12
  428. package/lib/components/form/radio-group/radio-group.component.d.ts +57 -60
  429. package/lib/components/form/radio-group/radio-group.module.d.ts +15 -16
  430. package/lib/components/form/rating/rating.component.d.ts +51 -51
  431. package/lib/components/form/rating/rating.enum.d.ts +27 -27
  432. package/lib/components/form/rating/rating.module.d.ts +9 -9
  433. package/lib/components/form/switch/switch.component.d.ts +32 -32
  434. package/lib/components/form/switch/switch.enum.d.ts +15 -15
  435. package/lib/components/form/switch/switch.module.d.ts +10 -10
  436. package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +20 -17
  437. package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +38 -38
  438. package/lib/components/gallery/constants/custom-buttons-default.d.ts +3 -3
  439. package/lib/components/gallery/constants/thumbs-config-default.d.ts +2 -2
  440. package/lib/components/gallery/gallery.component.d.ts +38 -38
  441. package/lib/components/gallery/gallery.module.d.ts +16 -16
  442. package/lib/components/gallery/models/gallery-item.model.d.ts +24 -24
  443. package/lib/components/gallery/services/gallery.service.d.ts +14 -14
  444. package/lib/components/hint-error-message/hint-error-message.component.d.ts +21 -21
  445. package/lib/components/hint-error-message/hint-error-message.module.d.ts +8 -8
  446. package/lib/components/icon-button/icon-button.component.d.ts +19 -19
  447. package/lib/components/icon-button/icon-button.enum.d.ts +15 -15
  448. package/lib/components/icon-button/icon-button.module.d.ts +9 -9
  449. package/lib/components/label/label.component.d.ts +44 -44
  450. package/lib/components/label/label.module.d.ts +14 -14
  451. package/lib/components/link/link.component.d.ts +18 -18
  452. package/lib/components/link/link.enum.d.ts +19 -19
  453. package/lib/components/link/link.module.d.ts +8 -8
  454. package/lib/components/loader/loader.component.d.ts +10 -10
  455. package/lib/components/loader/loader.enum.d.ts +19 -19
  456. package/lib/components/loader/loader.module.d.ts +8 -8
  457. package/lib/components/modal/modal.component.d.ts +36 -37
  458. package/lib/components/modal/modal.emun.d.ts +20 -20
  459. package/lib/components/modal/modal.module.d.ts +9 -9
  460. package/lib/components/pages-nav/pages-nav.component.d.ts +12 -12
  461. package/lib/components/pages-nav/pages-nav.enum.d.ts +5 -5
  462. package/lib/components/pages-nav/pages-nav.module.d.ts +8 -8
  463. package/lib/components/paginator/paginator.component.d.ts +29 -31
  464. package/lib/components/paginator/paginator.enum.d.ts +10 -10
  465. package/lib/components/paginator/paginator.module.d.ts +10 -10
  466. package/lib/components/progress/progress.component.d.ts +10 -10
  467. package/lib/components/progress/progress.enum.d.ts +7 -7
  468. package/lib/components/progress/progress.module.d.ts +8 -8
  469. package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +8 -8
  470. package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +8 -8
  471. package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +8 -8
  472. package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +8 -8
  473. package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +8 -8
  474. package/lib/components/save-state/save-state.component.d.ts +13 -13
  475. package/lib/components/save-state/save-state.enum.d.ts +1 -1
  476. package/lib/components/save-state/save-state.module.d.ts +13 -13
  477. package/lib/components/stepper/stepper.component.d.ts +17 -17
  478. package/lib/components/stepper/stepper.enum.d.ts +5 -5
  479. package/lib/components/stepper/stepper.module.d.ts +9 -9
  480. package/lib/components/table/components/column/column.component.d.ts +14 -14
  481. package/lib/components/table/default/default-pager-settings.d.ts +2 -2
  482. package/lib/components/table/models/data-state-change.event.d.ts +15 -15
  483. package/lib/components/table/models/index.d.ts +3 -3
  484. package/lib/components/table/models/pager-settings.d.ts +22 -22
  485. package/lib/components/table/table.component.d.ts +55 -55
  486. package/lib/components/table/table.enum.d.ts +32 -32
  487. package/lib/components/table/table.module.d.ts +14 -14
  488. package/lib/components/tabs/tab/tab.component.d.ts +13 -13
  489. package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +11 -11
  490. package/lib/components/tabs/tabs.enum.d.ts +11 -11
  491. package/lib/components/tabs/tabs.module.d.ts +9 -9
  492. package/lib/components/tooltip/services/tooltip.service.d.ts +18 -18
  493. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +15 -15
  494. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +10 -10
  495. package/lib/components/tooltip/tooltip.component.d.ts +18 -18
  496. package/lib/components/tooltip/tooltip.enum.d.ts +4 -4
  497. package/lib/components/tooltip/tooltip.module.d.ts +10 -10
  498. package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +37 -37
  499. package/lib/components/truncate-text/truncate-text.component.d.ts +12 -12
  500. package/lib/components/truncate-text/truncate-text.enum.d.ts +2 -2
  501. package/lib/components/truncate-text/truncate-text.module.d.ts +10 -10
  502. package/lib/components/warning-message/warning-message.component.d.ts +9 -9
  503. package/lib/components/warning-message/warning-message.module.d.ts +8 -8
  504. package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +10 -10
  505. package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +5 -5
  506. package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +8 -8
  507. package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +6 -6
  508. package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +10 -10
  509. package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +6 -6
  510. package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +9 -9
  511. package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +26 -26
  512. package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +15 -15
  513. package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +8 -8
  514. package/lib/directives/autosize/autosize.directive.d.ts +16 -16
  515. package/lib/directives/autosize/autosize.module.d.ts +8 -8
  516. package/lib/directives/truncate/truncate.directive.d.ts +12 -12
  517. package/lib/directives/truncate/truncate.module.d.ts +8 -8
  518. package/lib/enums/typed.input.state.d.ts +6 -6
  519. package/lib/helpers/extension/input-file.extension.d.ts +4 -4
  520. package/lib/helpers/formatting-date.d.ts +9 -9
  521. package/lib/helpers/formatting-dates-from-array.d.ts +2 -2
  522. package/lib/helpers/formatting-iso-to-string.d.ts +2 -2
  523. package/lib/helpers/index.d.ts +7 -7
  524. package/lib/helpers/number-format.d.ts +6 -6
  525. package/lib/helpers/string-hash-code.d.ts +2 -2
  526. package/lib/helpers/word-form.d.ts +7 -7
  527. package/lib/models/index.d.ts +2 -2
  528. package/lib/models/input-file/input-file.model.d.ts +23 -22
  529. package/lib/models/typed-input-model.d.ts +16 -16
  530. package/lib/pipes/currency/currency.module.d.ts +8 -8
  531. package/lib/pipes/currency/currency.pipe.d.ts +7 -7
  532. package/lib/pipes/date/date-format.module.d.ts +9 -9
  533. package/lib/pipes/date/date-format.pipe.d.ts +9 -9
  534. package/lib/pipes/date/date-time-format.pipe.d.ts +9 -9
  535. package/lib/pipes/date/enums/timezone.d.ts +8 -8
  536. package/lib/pipes/date/helpers/change-timezone.d.ts +2 -2
  537. package/lib/pipes/phone/phone-format.module.d.ts +8 -8
  538. package/lib/pipes/phone/phone-format.pipe.d.ts +8 -8
  539. package/lib/pipes/safe/safe.module.d.ts +8 -8
  540. package/lib/pipes/safe/safe.pipe.d.ts +10 -10
  541. package/lib/pipes/truncate/truncate.module.d.ts +8 -8
  542. package/lib/pipes/truncate/truncate.pipe.d.ts +7 -7
  543. package/lib/services/file-upload/file-upload.service.d.ts +12 -12
  544. package/lib/services/index.d.ts +10 -7
  545. package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +19 -0
  546. package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +20 -0
  547. package/lib/services/modal-service/helpers/index.d.ts +4 -0
  548. package/lib/services/modal-service/helpers/modal-default-config.d.ts +3 -0
  549. package/lib/services/modal-service/helpers/modal-ref.d.ts +11 -0
  550. package/lib/services/modal-service/helpers/modal-tokens.d.ts +3 -0
  551. package/lib/services/modal-service/helpers/modal.component.d.ts +3 -0
  552. package/lib/services/modal-service/modal-service.module.d.ts +9 -0
  553. package/lib/services/modal-service/modal-service.service.d.ts +20 -0
  554. package/lib/services/modal-service/models/modal-config.model.d.ts +14 -0
  555. package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +19 -19
  556. package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +51 -23
  557. package/lib/services/save-store/constants/constants.d.ts +1 -1
  558. package/lib/services/save-store/models/save-store.model.d.ts +4 -4
  559. package/lib/services/save-store/save-store.module.d.ts +9 -9
  560. package/lib/services/save-store/store/actions.d.ts +21 -21
  561. package/lib/services/save-store/store/effect.d.ts +10 -16
  562. package/lib/services/save-store/store/reducer.d.ts +3 -3
  563. package/lib/services/save-store/store/selectors.d.ts +3 -3
  564. package/lib/services/save-store/store/state.d.ts +11 -11
  565. package/package.json +27 -37
  566. package/public-api.d.ts +162 -176
  567. package/esm2020/lib/components/alert/alert.component.mjs +0 -45
  568. package/esm2020/lib/components/badges/components/badge/badge.component.mjs +0 -61
  569. package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
  570. package/esm2020/lib/components/button/button.component.mjs +0 -102
  571. package/esm2020/lib/components/button/button.enum.mjs +0 -29
  572. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -28
  573. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -95
  574. package/esm2020/lib/components/chars-left/chars-left.component.mjs +0 -29
  575. package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +0 -99
  576. package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +0 -324
  577. package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -51
  578. package/esm2020/lib/components/context-menu/context-menu.options.mjs +0 -2
  579. package/esm2020/lib/components/context-menu/context-menu.tokens.mjs +0 -3
  580. package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +0 -36
  581. package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +0 -61
  582. package/esm2020/lib/components/context-menu/models/context-menu.enum.mjs +0 -2
  583. package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +0 -103
  584. package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +0 -223
  585. package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -23
  586. package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -104
  587. package/esm2020/lib/components/error-message/error-message.component.mjs +0 -34
  588. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -143
  589. package/esm2020/lib/components/form/checkbox/checkbox.enum.mjs +0 -2
  590. package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -184
  591. package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -112
  592. package/esm2020/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -20
  593. package/esm2020/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
  594. package/esm2020/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
  595. package/esm2020/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
  596. package/esm2020/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
  597. package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +0 -33
  598. package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +0 -105
  599. package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +0 -42
  600. package/esm2020/lib/components/form/document-editor/helpers/transform-sysname.mjs +0 -41
  601. package/esm2020/lib/components/form/document-editor/models/document-editor-short-codes.enum.mjs +0 -2
  602. package/esm2020/lib/components/form/editor/editor.component.mjs +0 -264
  603. package/esm2020/lib/components/form/editor/editor.module.mjs +0 -45
  604. package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
  605. package/esm2020/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
  606. package/esm2020/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
  607. package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +0 -413
  608. package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +0 -46
  609. package/esm2020/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
  610. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
  611. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
  612. package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -359
  613. package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -46
  614. package/esm2020/lib/components/form/input-file/input-file.component.mjs +0 -363
  615. package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -66
  616. package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +0 -350
  617. package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +0 -58
  618. package/esm2020/lib/components/form/input-number/input-number.component.mjs +0 -265
  619. package/esm2020/lib/components/form/input-number/input-number.module.mjs +0 -55
  620. package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -361
  621. package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -44
  622. package/esm2020/lib/components/form/input-password/input-password.component.mjs +0 -133
  623. package/esm2020/lib/components/form/input-password/input-password.module.mjs +0 -44
  624. package/esm2020/lib/components/form/input-phone/data/country-code.mjs +0 -1333
  625. package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -33
  626. package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +0 -671
  627. package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +0 -50
  628. package/esm2020/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
  629. package/esm2020/lib/components/form/input-search/input-search.component.mjs +0 -174
  630. package/esm2020/lib/components/form/input-search/input-search.module.mjs +0 -44
  631. package/esm2020/lib/components/form/input-select/input-select.component.mjs +0 -249
  632. package/esm2020/lib/components/form/input-tel/directives/input-tel.directive.mjs +0 -62
  633. package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +0 -389
  634. package/esm2020/lib/components/form/input-tel/input-tel.module.mjs +0 -47
  635. package/esm2020/lib/components/form/input-text/input-text.component.mjs +0 -194
  636. package/esm2020/lib/components/form/input-text/input-text.module.mjs +0 -49
  637. package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +0 -174
  638. package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +0 -48
  639. package/esm2020/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
  640. package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -290
  641. package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -46
  642. package/esm2020/lib/components/form/radio/radio.component.mjs +0 -91
  643. package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +0 -49
  644. package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +0 -69
  645. package/esm2020/lib/components/form/radio-group/helpers/filter-search-group.mjs +0 -27
  646. package/esm2020/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +0 -27
  647. package/esm2020/lib/components/form/radio-group/radio-group.component.mjs +0 -185
  648. package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +0 -47
  649. package/esm2020/lib/components/form/rating/rating.component.mjs +0 -217
  650. package/esm2020/lib/components/form/switch/switch.component.mjs +0 -97
  651. package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -22
  652. package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -102
  653. package/esm2020/lib/components/gallery/gallery.component.mjs +0 -197
  654. package/esm2020/lib/components/gallery/services/gallery.service.mjs +0 -31
  655. package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +0 -123
  656. package/esm2020/lib/components/icon-button/icon-button.component.mjs +0 -51
  657. package/esm2020/lib/components/label/label.component.mjs +0 -141
  658. package/esm2020/lib/components/link/link.component.mjs +0 -50
  659. package/esm2020/lib/components/loader/loader.component.mjs +0 -26
  660. package/esm2020/lib/components/modal/modal.component.mjs +0 -146
  661. package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +0 -33
  662. package/esm2020/lib/components/paginator/paginator.component.mjs +0 -152
  663. package/esm2020/lib/components/paginator/paginator.module.mjs +0 -31
  664. package/esm2020/lib/components/progress/progress.component.mjs +0 -26
  665. package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -15
  666. package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -15
  667. package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -15
  668. package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -15
  669. package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -15
  670. package/esm2020/lib/components/save-state/save-state.component.mjs +0 -39
  671. package/esm2020/lib/components/stepper/stepper.component.mjs +0 -54
  672. package/esm2020/lib/components/table/components/column/column.component.mjs +0 -40
  673. package/esm2020/lib/components/table/table.component.mjs +0 -274
  674. package/esm2020/lib/components/tabs/tab/tab.component.mjs +0 -31
  675. package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -29
  676. package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +0 -67
  677. package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -38
  678. package/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -60
  679. package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +0 -30
  680. package/esm2020/lib/components/warning-message/warning-message.component.mjs +0 -31
  681. package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -26
  682. package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -17
  683. package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -24
  684. package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -96
  685. package/esm2020/lib/directives/autosize/autosize.directive.mjs +0 -55
  686. package/esm2020/lib/directives/truncate/truncate.directive.mjs +0 -32
  687. package/esm2020/lib/helpers/extension/input-file.extension.mjs +0 -39
  688. package/esm2020/lib/helpers/formatting-date.mjs +0 -51
  689. package/esm2020/lib/helpers/string-hash-code.mjs +0 -17
  690. package/esm2020/lib/models/input-file/input-file.model.mjs +0 -2
  691. package/esm2020/lib/pipes/currency/currency.pipe.mjs +0 -22
  692. package/esm2020/lib/pipes/date/date-format.pipe.mjs +0 -21
  693. package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +0 -21
  694. package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +0 -23
  695. package/esm2020/lib/pipes/safe/safe.pipe.mjs +0 -20
  696. package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +0 -23
  697. package/esm2020/lib/services/file-upload/file-upload.service.mjs +0 -26
  698. package/esm2020/lib/services/index.mjs +0 -8
  699. package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -44
  700. package/esm2020/lib/services/mrx-form-validator/constants/invalid-messages.mjs +0 -10
  701. package/esm2020/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +0 -10
  702. package/esm2020/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +0 -28
  703. package/esm2020/lib/services/mrx-form-validator/models/index.mjs +0 -4
  704. package/esm2020/lib/services/mrx-form-validator/models/validations-options.model.mjs +0 -2
  705. package/esm2020/lib/services/mrx-form-validator/models/validations-settings.model.mjs +0 -2
  706. package/esm2020/lib/services/mrx-form-validator/models/validations-types.model.mjs +0 -22
  707. package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -207
  708. package/esm2020/lib/services/mrx-form-validator/validations/callback.validation.mjs +0 -15
  709. package/esm2020/lib/services/mrx-form-validator/validations/email.validation.mjs +0 -11
  710. package/esm2020/lib/services/mrx-form-validator/validations/max-length.validation.mjs +0 -10
  711. package/esm2020/lib/services/mrx-form-validator/validations/max-value.validation.mjs +0 -10
  712. package/esm2020/lib/services/mrx-form-validator/validations/min-length.validation.mjs +0 -11
  713. package/esm2020/lib/services/mrx-form-validator/validations/min-value.validation.mjs +0 -10
  714. package/esm2020/lib/services/mrx-form-validator/validations/pattern.validation.mjs +0 -11
  715. package/esm2020/lib/services/mrx-form-validator/validations/required.validation.mjs +0 -22
  716. package/esm2020/lib/services/save-store/store/effect.mjs +0 -31
  717. package/esm2020/lib/services/save-store/store/reducer.mjs +0 -79
  718. package/esm2020/public-api.mjs +0 -186
  719. package/fesm2015/myrta-ui.mjs +0 -16283
  720. package/fesm2015/myrta-ui.mjs.map +0 -1
  721. package/fesm2020/myrta-ui.mjs +0 -16319
  722. package/fesm2020/myrta-ui.mjs.map +0 -1
  723. package/lib/components/context-menu/components/context-menu/context-menu.component.d.ts +0 -34
  724. package/lib/components/context-menu/components/context-menu-content/context-menu-content.component.d.ts +0 -62
  725. package/lib/components/context-menu/context-menu.module.d.ts +0 -15
  726. package/lib/components/context-menu/context-menu.options.d.ts +0 -4
  727. package/lib/components/context-menu/context-menu.tokens.d.ts +0 -2
  728. package/lib/components/context-menu/directives/context-menu/context-menu.directive.d.ts +0 -12
  729. package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts +0 -30
  730. package/lib/components/context-menu/models/context-menu.enum.d.ts +0 -11
  731. package/lib/components/context-menu/services/context-menu/context-menu-fixed.service.d.ts +0 -11
  732. package/lib/components/context-menu/services/context-menu/context-menu.service.d.ts +0 -56
  733. package/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.d.ts +0 -22
  734. package/lib/components/form/document-editor/document-editor.component.d.ts +0 -37
  735. package/lib/components/form/document-editor/document-editor.module.d.ts +0 -13
  736. package/lib/components/form/document-editor/helpers/transform-sysname.d.ts +0 -5
  737. package/lib/components/form/document-editor/models/document-editor-short-codes.enum.d.ts +0 -6
  738. package/lib/services/mrx-form-validator/constants/invalid-messages.d.ts +0 -9
  739. package/lib/services/mrx-form-validator/helpers/get-error-message.helper.d.ts +0 -3
  740. package/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.d.ts +0 -2
  741. package/lib/services/mrx-form-validator/models/index.d.ts +0 -3
  742. package/lib/services/mrx-form-validator/models/validations-options.model.d.ts +0 -28
  743. package/lib/services/mrx-form-validator/models/validations-settings.model.d.ts +0 -7
  744. package/lib/services/mrx-form-validator/models/validations-types.model.d.ts +0 -19
  745. package/lib/services/mrx-form-validator/validations/callback.validation.d.ts +0 -6
  746. package/lib/services/mrx-form-validator/validations/email.validation.d.ts +0 -6
  747. package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +0 -6
  748. package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +0 -6
  749. package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +0 -6
  750. package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +0 -6
  751. package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +0 -6
  752. package/lib/services/mrx-form-validator/validations/required.validation.d.ts +0 -6
@@ -0,0 +1,53 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule, NgOptimizedImage } from '@angular/common';
3
+ import { InputFileImageComponent } from './input-file-image.component';
4
+ import { FormsModule } from '@angular/forms';
5
+ import { HttpClientModule } from '@angular/common/http';
6
+ import { NgxFileDropModule } from 'ngx-file-drop';
7
+ import { ImageCropperComponent } from 'ngx-image-cropper';
8
+ import { FileImageEditModalComponent } from './components/file-image-edit-modal/file-image-edit-modal.component';
9
+ import { ModalModule } from '../../modal/modal.module';
10
+ import { ButtonModule } from '../../button/button.module';
11
+ import * as i0 from "@angular/core";
12
+ export class InputFileImageModule {
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputFileImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: InputFileImageModule, declarations: [InputFileImageComponent,
15
+ FileImageEditModalComponent], imports: [CommonModule,
16
+ FormsModule,
17
+ HttpClientModule,
18
+ NgxFileDropModule,
19
+ ModalModule,
20
+ ButtonModule,
21
+ ImageCropperComponent,
22
+ NgOptimizedImage], exports: [InputFileImageComponent] });
23
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputFileImageModule, imports: [CommonModule,
24
+ FormsModule,
25
+ HttpClientModule,
26
+ NgxFileDropModule,
27
+ ModalModule,
28
+ ButtonModule,
29
+ ImageCropperComponent] });
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputFileImageModule, decorators: [{
32
+ type: NgModule,
33
+ args: [{
34
+ declarations: [
35
+ InputFileImageComponent,
36
+ FileImageEditModalComponent
37
+ ],
38
+ imports: [
39
+ CommonModule,
40
+ FormsModule,
41
+ HttpClientModule,
42
+ NgxFileDropModule,
43
+ ModalModule,
44
+ ButtonModule,
45
+ ImageCropperComponent,
46
+ NgOptimizedImage
47
+ ],
48
+ exports: [
49
+ InputFileImageComponent
50
+ ]
51
+ }]
52
+ }] });
53
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZmlsZS1pbWFnZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC1maWxlLWltYWdlL2lucHV0LWZpbGUtaW1hZ2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlCQUFpQixDQ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ZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBJbnB1dEZpbGVJbWFnZUNvbXBvbmVudCxcclxuICAgIEZpbGVJbWFnZUVkaXRNb2RhbENvbXBvbmVudFxyXG4gIF0sXHJcbiAgICBpbXBvcnRzOiBbXHJcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgICAgIEZvcm1zTW9kdWxlLFxyXG4gICAgICAgIEh0dHBDbGllbnRNb2R1bGUsXHJcbiAgICAgICAgTmd4RmlsZURyb3BNb2R1bGUsXHJcbiAgICAgICAgTW9kYWxNb2R1bGUsXHJcbiAgICAgICAgQnV0dG9uTW9kdWxlLFxyXG4gICAgICAgIEltYWdlQ3JvcHBlckNvbXBvbmVudCxcclxuICAgICAgICBOZ09wdGltaXplZEltYWdlXHJcbiAgICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIElucHV0RmlsZUltYWdlQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgSW5wdXRGaWxlSW1hZ2VNb2R1bGUgeyB9XHJcbiJdfQ==
@@ -0,0 +1,267 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output, ViewChild } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR, Validators } from '@angular/forms';
3
+ import { InputNumberSizesEnum } from './input-number.enum';
4
+ import { v4 as uuidv4 } from 'uuid';
5
+ import { distinctUntilChanged, pairwise, startWith } from 'rxjs/operators';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/forms";
8
+ import * as i2 from "@angular/common";
9
+ import * as i3 from "../../save-state/save-state.component";
10
+ import * as i4 from "../../error-message/error-message.component";
11
+ import * as i5 from "ngx-mask";
12
+ const noop = () => {
13
+ };
14
+ export class InputNumberComponent {
15
+ static decimalMarker;
16
+ static _delimitersInitialised = false;
17
+ static thousandsSeparator;
18
+ disabled = false;
19
+ readonly = false;
20
+ numberForm;
21
+ invalidMessageStart;
22
+ invalidMessageEnd;
23
+ decimals = 2;
24
+ invokeChanged = true;
25
+ onTouchedCallback = noop;
26
+ propagateChange = noop;
27
+ _min = -999999999.99;
28
+ _max = 999999999.99;
29
+ _isValid = true;
30
+ // SAVE STATE
31
+ uuid = uuidv4();
32
+ fields = [];
33
+ placeholder;
34
+ innerClass = '';
35
+ customClasses = '';
36
+ required = false;
37
+ allowNegative = false;
38
+ size = 'large';
39
+ separator;
40
+ decimalSeparator;
41
+ isNullableValue = false;
42
+ isAutoCorrectingValue = false;
43
+ // ERROR
44
+ invalid = false;
45
+ checkInvalid = null;
46
+ inputElement;
47
+ set setNumberType(value) {
48
+ this.decimals = value === 'float' ? 2 : value === 'percent' ? 1 : 0;
49
+ }
50
+ set setInvalidMessage(value) {
51
+ if (value) {
52
+ const para = value.split('{0}');
53
+ this.invalidMessageStart = para[0];
54
+ this.invalidMessageEnd = para[1];
55
+ }
56
+ else {
57
+ this.invalidMessageStart = null;
58
+ this.invalidMessageEnd = null;
59
+ }
60
+ }
61
+ set setDisabled(value) {
62
+ this.invokeChanged = false;
63
+ this.disabled = value;
64
+ if (value) {
65
+ this.numberForm.disable();
66
+ }
67
+ else {
68
+ this.numberForm.enable();
69
+ }
70
+ this.invokeChanged = true;
71
+ }
72
+ set setReadonly(value) {
73
+ this.invokeChanged = false;
74
+ this.readonly = value;
75
+ if (value) {
76
+ this.numberForm.disable();
77
+ }
78
+ else {
79
+ this.numberForm.enable();
80
+ }
81
+ this.invokeChanged = true;
82
+ }
83
+ set setMin(val) {
84
+ if (val) {
85
+ this._min = val;
86
+ const c = this.getControl('number');
87
+ if (c) {
88
+ c.setValidators([Validators.min(this._min), Validators.max(this._max)]);
89
+ }
90
+ }
91
+ }
92
+ set setMax(val) {
93
+ if (val) {
94
+ this._max = val;
95
+ const c = this.getControl('number');
96
+ if (c) {
97
+ c.setValidators([Validators.min(this._min), Validators.max(this._max)]);
98
+ }
99
+ }
100
+ }
101
+ modelChange = new EventEmitter();
102
+ constructor(fb) {
103
+ this.numberForm = fb.group({
104
+ number: [''],
105
+ });
106
+ InputNumberComponent.initNumberFormat();
107
+ }
108
+ get getClasses() {
109
+ return `${InputNumberSizesEnum[this.size]} ${this.customClasses}`;
110
+ }
111
+ get decimalMarker() {
112
+ return this.decimalSeparator || InputNumberComponent.decimalMarker || ',';
113
+ }
114
+ get thousandsSeparator() {
115
+ return this.separator || InputNumberComponent.thousandsSeparator;
116
+ }
117
+ get isValid() {
118
+ return this._isValid;
119
+ }
120
+ get maxMessage() {
121
+ const dec = this.decimalMarker[0];
122
+ return this._max.toLocaleString('en').split(',').join(this.thousandsSeparator).replace('.', dec);
123
+ }
124
+ get isVerified() {
125
+ const f = this.getControl('number');
126
+ return !this.required ||
127
+ (this.required && f.value !== null && f.value !== undefined && this.isValid);
128
+ }
129
+ static initNumberFormat() {
130
+ if (this._delimitersInitialised) {
131
+ return;
132
+ }
133
+ // системный формат числа с дробной частью и группой разраядов (тысячи)
134
+ const c = Intl.NumberFormat().formatToParts(1234.5);
135
+ const t = c.find(x => x.type === 'group')?.value;
136
+ // разделитель групп
137
+ this.thousandsSeparator = t?.charCodeAt(0) === 160 ? ' ' : t || ' ';
138
+ // разделитель дробной части
139
+ this.decimalMarker = c.find(x => x.type === 'decimal')?.value;
140
+ this._delimitersInitialised = true;
141
+ }
142
+ ngOnInit() {
143
+ this.numberForm.valueChanges.pipe(startWith(null), distinctUntilChanged(), pairwise()).subscribe(([oldValue, newValue]) => {
144
+ this._updateValue(newValue.number);
145
+ });
146
+ this.numberForm.statusChanges.subscribe(val => {
147
+ this.checkIsValid();
148
+ });
149
+ }
150
+ _updateValue(insideValue) {
151
+ if (this.invokeChanged) {
152
+ if (this.numberForm.valid) {
153
+ const num = insideValue;
154
+ let numValue;
155
+ if (num === '') {
156
+ this.propagateChange(null);
157
+ this.modelChange.emit({ value: null, id: this.uuid });
158
+ }
159
+ if (num && typeof (num) === 'string') {
160
+ numValue = parseFloat(num.replace(',', '.').split(this.thousandsSeparator).join(''));
161
+ this.propagateChange(numValue);
162
+ this.modelChange.emit({ value: numValue, id: this.uuid });
163
+ }
164
+ else if (typeof (num) === 'number') {
165
+ numValue = num;
166
+ this.propagateChange(numValue);
167
+ this.modelChange.emit({ value: numValue, id: this.uuid });
168
+ }
169
+ }
170
+ }
171
+ }
172
+ resetToMax(event) {
173
+ event.preventDefault();
174
+ const f = this.getControl('number');
175
+ f.setValue(this._max);
176
+ }
177
+ checkIsValid() {
178
+ if (!this.isAutoCorrectingValue) {
179
+ const f = this.getControl('number');
180
+ this._isValid = this.numberForm.disabled || (f && f.valid || (!f.dirty && !f.touched));
181
+ }
182
+ }
183
+ onPhoneInputBlur() {
184
+ if (this.isAutoCorrectingValue) {
185
+ const f = this.getControl('number');
186
+ if (f.value > this._max) {
187
+ f.setValue(this._max);
188
+ }
189
+ if (f.value < this._min) {
190
+ f.setValue(this._min);
191
+ }
192
+ }
193
+ }
194
+ writeValue(value) {
195
+ const f = this.getControl('number');
196
+ f.setValue(value, { emitEvent: false, emitViewToModelChange: false });
197
+ }
198
+ getControl(name) {
199
+ return this.numberForm.get(name);
200
+ }
201
+ registerOnChange(fn) {
202
+ this.propagateChange = fn;
203
+ }
204
+ registerOnTouched(fn) {
205
+ this.onTouchedCallback = fn;
206
+ }
207
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputNumberComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
208
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: InputNumberComponent, selector: "mrx-input-number", inputs: { fields: "fields", placeholder: "placeholder", innerClass: "innerClass", customClasses: "customClasses", required: "required", allowNegative: "allowNegative", size: "size", separator: "separator", decimalSeparator: "decimalSeparator", isNullableValue: "isNullableValue", isAutoCorrectingValue: "isAutoCorrectingValue", invalid: "invalid", checkInvalid: "checkInvalid", setNumberType: ["numberType", "setNumberType"], setInvalidMessage: ["invalidMessage", "setInvalidMessage"], setDisabled: ["disabled", "setDisabled"], setReadonly: ["readonly", "setReadonly"], setMin: ["minValue", "setMin"], setMax: ["maxValue", "setMax"] }, outputs: { modelChange: "modelChange" }, providers: [
209
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => InputNumberComponent), multi: true },
210
+ ], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-number\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"!isValid || invalid\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n>\r\n <div class=\"mrx-input-number__wrapper\">\r\n <form [formGroup]=\"numberForm\">\r\n <div>\r\n <input\r\n #inputElement\r\n autocomplete=\"nope\"\r\n formControlName=\"number\"\r\n type=\"text\"\r\n [thousandSeparator]=\"thousandsSeparator\"\r\n [decimalMarker]=\"decimalMarker\"\r\n [class]=\"innerClass\"\r\n [mask]=\"'separator.' + decimals\"\r\n [allowNegativeNumbers]=\"allowNegative\"\r\n [placeholder]=\"placeholder ? placeholder : ''\"\r\n (blur)=\"onPhoneInputBlur()\"\r\n />\r\n </div>\r\n </form>\r\n </div>\r\n\r\n <mrx-error-message *ngIf=\"!isValid && invalidMessageStart\">\r\n {{invalidMessageStart}}\r\n <a href=\"#\" (click)=\"resetToMax($event)\">{{maxMessage}}</a>\r\n {{invalidMessageEnd}}\r\n </mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-input-number.mrx-input-number{width:100%;position:relative}.mrx-input-number.mrx-input-number .mrx-input-text__wrapper{position:relative}.mrx-input-number.mrx-input-number input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;transition:outline-width .2s,border .2s}.mrx-input-number.mrx-input-number input:focus,.mrx-input-number.mrx-input-number input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-number.mrx-input-number input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-number.mrx-input-number.mrx-input__readonly input[type=tel]:disabled{background-color:inherit}.mrx-input-number.mrx-input-number.mrx-input__readonly input{background-color:inherit}.mrx-input-number.mrx-input-number.mrx-input-number-lg input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-number.mrx-input-number.mrx-input-number-lg:not(.mrx-input-number-with-icon) input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-number.mrx-input-number.mrx-input-number-lg.mrx-input-number-with-icon input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-number.mrx-input-number.mrx-input-number-md input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-number.mrx-input-number.mrx-input-number-md:not(.mrx-input-number-with-icon) input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-number.mrx-input-number.mrx-input-number-md.mrx-input-number-with-icon input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-number.mrx-input-number.mrx-input-number-sm input{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-number.mrx-input-number.mrx-input-number-sm:not(.mrx-input-number-with-icon) input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4)}.mrx-input-number.mrx-input-number.mrx-input-number-sm.mrx-input-number-with-icon input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-8)}.mrx-input-number.mrx-input-number.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-number.mrx-input-number.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-number.mrx-input-number.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-number.mrx-input-number.-disabled input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-tertiary, #71767E);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-number.mrx-input-number.-readonly input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-primary, #262626);color:var(--neutral-text-primary, #262626)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "component", type: i4.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "directive", type: i5.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
211
+ }
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputNumberComponent, decorators: [{
213
+ type: Component,
214
+ args: [{ selector: 'mrx-input-number', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
215
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => InputNumberComponent), multi: true },
216
+ ], template: "<div\r\n class=\"mrx-input-number\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"!isValid || invalid\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n>\r\n <div class=\"mrx-input-number__wrapper\">\r\n <form [formGroup]=\"numberForm\">\r\n <div>\r\n <input\r\n #inputElement\r\n autocomplete=\"nope\"\r\n formControlName=\"number\"\r\n type=\"text\"\r\n [thousandSeparator]=\"thousandsSeparator\"\r\n [decimalMarker]=\"decimalMarker\"\r\n [class]=\"innerClass\"\r\n [mask]=\"'separator.' + decimals\"\r\n [allowNegativeNumbers]=\"allowNegative\"\r\n [placeholder]=\"placeholder ? placeholder : ''\"\r\n (blur)=\"onPhoneInputBlur()\"\r\n />\r\n </div>\r\n </form>\r\n </div>\r\n\r\n <mrx-error-message *ngIf=\"!isValid && invalidMessageStart\">\r\n {{invalidMessageStart}}\r\n <a href=\"#\" (click)=\"resetToMax($event)\">{{maxMessage}}</a>\r\n {{invalidMessageEnd}}\r\n </mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-input-number.mrx-input-number{width:100%;position:relative}.mrx-input-number.mrx-input-number .mrx-input-text__wrapper{position:relative}.mrx-input-number.mrx-input-number input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;transition:outline-width .2s,border .2s}.mrx-input-number.mrx-input-number input:focus,.mrx-input-number.mrx-input-number input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-number.mrx-input-number input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-number.mrx-input-number.mrx-input__readonly input[type=tel]:disabled{background-color:inherit}.mrx-input-number.mrx-input-number.mrx-input__readonly input{background-color:inherit}.mrx-input-number.mrx-input-number.mrx-input-number-lg input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-number.mrx-input-number.mrx-input-number-lg:not(.mrx-input-number-with-icon) input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-number.mrx-input-number.mrx-input-number-lg.mrx-input-number-with-icon input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-number.mrx-input-number.mrx-input-number-md input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-number.mrx-input-number.mrx-input-number-md:not(.mrx-input-number-with-icon) input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-number.mrx-input-number.mrx-input-number-md.mrx-input-number-with-icon input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-number.mrx-input-number.mrx-input-number-sm input{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-number.mrx-input-number.mrx-input-number-sm:not(.mrx-input-number-with-icon) input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4)}.mrx-input-number.mrx-input-number.mrx-input-number-sm.mrx-input-number-with-icon input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-8)}.mrx-input-number.mrx-input-number.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-number.mrx-input-number.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-number.mrx-input-number.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-number.mrx-input-number.-disabled input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-tertiary, #71767E);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-number.mrx-input-number.-readonly input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-primary, #262626);color:var(--neutral-text-primary, #262626)}\n"] }]
217
+ }], ctorParameters: () => [{ type: i1.FormBuilder }], propDecorators: { fields: [{
218
+ type: Input
219
+ }], placeholder: [{
220
+ type: Input
221
+ }], innerClass: [{
222
+ type: Input
223
+ }], customClasses: [{
224
+ type: Input
225
+ }], required: [{
226
+ type: Input
227
+ }], allowNegative: [{
228
+ type: Input
229
+ }], size: [{
230
+ type: Input
231
+ }], separator: [{
232
+ type: Input
233
+ }], decimalSeparator: [{
234
+ type: Input
235
+ }], isNullableValue: [{
236
+ type: Input
237
+ }], isAutoCorrectingValue: [{
238
+ type: Input
239
+ }], invalid: [{
240
+ type: Input
241
+ }], checkInvalid: [{
242
+ type: Input
243
+ }], inputElement: [{
244
+ type: ViewChild,
245
+ args: ['inputElement']
246
+ }], setNumberType: [{
247
+ type: Input,
248
+ args: ['numberType']
249
+ }], setInvalidMessage: [{
250
+ type: Input,
251
+ args: ['invalidMessage']
252
+ }], setDisabled: [{
253
+ type: Input,
254
+ args: ['disabled']
255
+ }], setReadonly: [{
256
+ type: Input,
257
+ args: ['readonly']
258
+ }], setMin: [{
259
+ type: Input,
260
+ args: ['minValue']
261
+ }], setMax: [{
262
+ type: Input,
263
+ args: ['maxValue']
264
+ }], modelChange: [{
265
+ type: Output
266
+ }] } });
267
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2lucHV0LW51bWJlci9pbnB1dC1udW1iZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtbnVtYmVyL2lucHV0LW51bWJlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFFVCxZQUFZLEVBQ1osVUFBVSxFQUNWLEtBQUssRUFFTCxNQUFNLEVBQ04sU0FBUyxFQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFLTCxpQkFBaUIsRUFDakIsVUFBVSxFQUNYLE1BQU0sZ0JBQWd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zXCJcclxuICAgICAgICAgICAgW2FsbG93TmVnYXRpdmVOdW1iZXJzXT1cImFsbG93TmVnYXRpdmVcIlxyXG4gICAgICAgICAgICBbcGxhY2Vob2xkZXJdPVwicGxhY2Vob2xkZXIgPyBwbGFjZWhvbGRlciA6ICcnXCJcclxuICAgICAgICAgICAgKGJsdXIpPVwib25QaG9uZUlucHV0Qmx1cigpXCJcclxuICAgICAgICAvPlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZm9ybT5cclxuICA8L2Rpdj5cclxuXHJcbiAgPG1yeC1lcnJvci1tZXNzYWdlICpuZ0lmPVwiIWlzVmFsaWQgJiYgaW52YWxpZE1lc3NhZ2VTdGFydFwiPlxyXG4gICAge3tpbnZhbGlkTWVzc2FnZVN0YXJ0fX1cclxuICAgIDxhIGhyZWY9XCIjXCIgKGNsaWNrKT1cInJlc2V0VG9NYXgoJGV2ZW50KVwiPnt7bWF4TWVzc2FnZX19PC9hPlxyXG4gICAge3tpbnZhbGlkTWVzc2FnZUVuZH19XHJcbiAgPC9tcngtZXJyb3ItbWVzc2FnZT5cclxuXHJcbiAgPG1yeC1zYXZlLXN0YXRlIFtpZF09XCJ1dWlkXCIgW2ZpZWxkc109XCJmaWVsZHNcIj48L21yeC1zYXZlLXN0YXRlPlxyXG48L2Rpdj5cclxuIl19
@@ -1,7 +1,7 @@
1
- export var InputNumberSizesEnum;
2
- (function (InputNumberSizesEnum) {
3
- InputNumberSizesEnum["small"] = "mrx-input-number-sm";
4
- InputNumberSizesEnum["medium"] = "mrx-input-number-md";
5
- InputNumberSizesEnum["large"] = "mrx-input-number-lg";
6
- })(InputNumberSizesEnum || (InputNumberSizesEnum = {}));
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC1udW1iZXIvaW5wdXQtbnVtYmVyLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFOLElBQVksb0JBSVg7QUFKRCxXQUFZLG9CQUFvQjtJQUM5QixxREFBK0IsQ0FBQTtJQUMvQixzREFBZ0MsQ0FBQTtJQUNoQyxxREFBK0IsQ0FBQTtBQUNqQyxDQUFDLEVBSlcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUkvQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIElucHV0TnVtYmVyVHlwZSA9ICdpbnQnIHwgJ2Zsb2F0JyB8ICdwZXJjZW50JztcclxuXHJcbmV4cG9ydCBlbnVtIElucHV0TnVtYmVyU2l6ZXNFbnVtIHtcclxuICAnc21hbGwnID0gJ21yeC1pbnB1dC1udW1iZXItc20nLFxyXG4gICdtZWRpdW0nID0gJ21yeC1pbnB1dC1udW1iZXItbWQnLFxyXG4gICdsYXJnZScgPSAnbXJ4LWlucHV0LW51bWJlci1sZycsXHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIElucHV0TnVtYmVyU2l6ZXNUeXBlcyA9ICdzbWFsbCcgfCAnbWVkaXVtJyB8ICdsYXJnZSc7XHJcblxyXG5leHBvcnQgdHlwZSBJbnB1dE51bWJlclZhbHVlVHlwZXMgPSBudW1iZXIgfCBudWxsO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJbnB1dE51bWJlclZhbHVlV2l0aElkIHtcclxuICB2YWx1ZTogSW5wdXROdW1iZXJWYWx1ZVR5cGVzLFxyXG4gIGlkOiBzdHJpbmdcclxufVxyXG4iXX0=
1
+ export var InputNumberSizesEnum;
2
+ (function (InputNumberSizesEnum) {
3
+ InputNumberSizesEnum["small"] = "mrx-input-number-sm";
4
+ InputNumberSizesEnum["medium"] = "mrx-input-number-md";
5
+ InputNumberSizesEnum["large"] = "mrx-input-number-lg";
6
+ })(InputNumberSizesEnum || (InputNumberSizesEnum = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC1udW1iZXIvaW5wdXQtbnVtYmVyLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFOLElBQVksb0JBSVg7QUFKRCxXQUFZLG9CQUFvQjtJQUM5QixxREFBK0IsQ0FBQTtJQUMvQixzREFBZ0MsQ0FBQTtJQUNoQyxxREFBK0IsQ0FBQTtBQUNqQyxDQUFDLEVBSlcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUkvQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIElucHV0TnVtYmVyVHlwZSA9ICdpbnQnIHwgJ2Zsb2F0JyB8ICdwZXJjZW50JztcclxuXHJcbmV4cG9ydCBlbnVtIElucHV0TnVtYmVyU2l6ZXNFbnVtIHtcclxuICAnc21hbGwnID0gJ21yeC1pbnB1dC1udW1iZXItc20nLFxyXG4gICdtZWRpdW0nID0gJ21yeC1pbnB1dC1udW1iZXItbWQnLFxyXG4gICdsYXJnZScgPSAnbXJ4LWlucHV0LW51bWJlci1sZycsXHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIElucHV0TnVtYmVyU2l6ZXNUeXBlcyA9ICdzbWFsbCcgfCAnbWVkaXVtJyB8ICdsYXJnZSc7XHJcblxyXG5leHBvcnQgdHlwZSBJbnB1dE51bWJlclZhbHVlVHlwZXMgPSBudW1iZXI7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElucHV0TnVtYmVyVmFsdWVXaXRoSWQge1xyXG4gIHZhbHVlOiBJbnB1dE51bWJlclZhbHVlVHlwZXMgfCBudWxsLFxyXG4gIGlkOiBzdHJpbmdcclxufVxyXG4iXX0=
@@ -0,0 +1,55 @@
1
+ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { InputNumberComponent } from './input-number.component';
4
+ import { NgxMaskDirective, provideNgxMask } from 'ngx-mask';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import { CharsLeftModule } from '../../chars-left/chars-left.module';
7
+ import { ErrorMessageModule } from "../../error-message/error-message.module";
8
+ import { SaveStateModule } from "../../save-state/save-state.module";
9
+ import * as i0 from "@angular/core";
10
+ const maskConfigFunction = () => {
11
+ // системный формат числа с дробной частью и группой разраядов (тысячи)
12
+ const c = Intl.NumberFormat().formatToParts(1234.5);
13
+ const t = c.find(x => x.type === 'group')?.value;
14
+ const d = c.find(x => x.type === 'decimal')?.value;
15
+ return {
16
+ validation: false,
17
+ thousandSeparator: t,
18
+ decimalMarker: d
19
+ };
20
+ };
21
+ export class InputNumberModule {
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
23
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: InputNumberModule, declarations: [InputNumberComponent], imports: [CommonModule,
24
+ FormsModule,
25
+ ReactiveFormsModule,
26
+ CharsLeftModule,
27
+ SaveStateModule,
28
+ ErrorMessageModule,
29
+ NgxMaskDirective], exports: [InputNumberComponent] });
30
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputNumberModule, providers: [provideNgxMask(maskConfigFunction)], imports: [CommonModule,
31
+ FormsModule,
32
+ ReactiveFormsModule,
33
+ CharsLeftModule,
34
+ SaveStateModule,
35
+ ErrorMessageModule] });
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: InputNumberModule, decorators: [{
38
+ type: NgModule,
39
+ args: [{
40
+ declarations: [InputNumberComponent],
41
+ imports: [
42
+ CommonModule,
43
+ FormsModule,
44
+ ReactiveFormsModule,
45
+ CharsLeftModule,
46
+ SaveStateModule,
47
+ ErrorMessageModule,
48
+ NgxMaskDirective
49
+ ],
50
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
51
+ providers: [provideNgxMask(maskConfigFunction)],
52
+ exports: [InputNumberComponent],
53
+ }]
54
+ }] });
55
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2lucHV0LW51bWJlci9pbnB1dC1udW1iZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBVyxjQUFjLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDckUsT0FBTyxFQUFFLFdBQVcsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNyRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwwQ0F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