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

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 (702) hide show
  1. package/README.md +2 -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/{esm2020 → esm2022}/lib/components/form/checkbox/checkbox.enum.mjs +4 -4
  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/esm2022/lib/components/form/editor/config/default-inline-style.mjs +6 -0
  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 +261 -0
  46. package/esm2022/lib/components/form/editor/editor.module.mjs +45 -0
  47. package/{esm2020 → esm2022}/lib/components/form/editor/models/toolbar.model.mjs +1 -1
  48. package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +92 -0
  49. package/{esm2020 → esm2022}/lib/components/form/input-date-time/constants/value-models.mjs +13 -13
  50. package/{esm2020 → esm2022}/lib/components/form/input-date-time/enum/timezone.mjs +6 -6
  51. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/clean-date.mjs +4 -4
  52. package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +23 -0
  53. package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +10 -0
  54. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +9 -9
  55. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/validate-value-models.mjs +60 -60
  56. package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/value-parser.mjs +38 -38
  57. package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +386 -0
  58. package/{esm2020 → esm2022}/lib/components/form/input-date-time/input-date-time.enum.mjs +6 -6
  59. package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +46 -0
  60. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/constants/value-models.mjs +14 -14
  61. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/clean-date.mjs +4 -4
  62. package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +23 -0
  63. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +10 -0
  64. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +10 -0
  65. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +74 -74
  66. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/value-parser.mjs +47 -47
  67. package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +356 -0
  68. package/{esm2020 → esm2022}/lib/components/form/input-datepicker/input-datepicker.enum.mjs +6 -6
  69. package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +46 -0
  70. package/{esm2020 → esm2022}/lib/components/form/input-file/enums/error-messages.enum.mjs +7 -7
  71. package/esm2022/lib/components/form/input-file/input-file.component.mjs +370 -0
  72. package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.enum.mjs +7 -7
  73. package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.module.mjs +26 -26
  74. package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +88 -0
  75. package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +364 -0
  76. package/{esm2020 → esm2022}/lib/components/form/input-file-image/input-file-image.enum.mjs +9 -9
  77. package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +51 -0
  78. package/esm2022/lib/components/form/input-number/input-number.component.mjs +267 -0
  79. package/{esm2020 → esm2022}/lib/components/form/input-number/input-number.enum.mjs +6 -6
  80. package/esm2022/lib/components/form/input-number/input-number.module.mjs +55 -0
  81. package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +370 -0
  82. package/{esm2020 → esm2022}/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +7 -7
  83. package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +43 -0
  84. package/{esm2020 → esm2022}/lib/components/form/input-opt/input-opt.module.mjs +38 -38
  85. package/{esm2020 → esm2022}/lib/components/form/input-opt/models/input-opt.model.mjs +5 -5
  86. package/{esm2020 → esm2022}/lib/components/form/input-opt/services/input-opt.service.mjs +33 -33
  87. package/esm2022/lib/components/form/input-password/input-password.component.mjs +118 -0
  88. package/{esm2020 → esm2022}/lib/components/form/input-password/input-password.enum.mjs +6 -6
  89. package/{esm2020 → esm2022}/lib/components/form/input-password/input-password.module.mjs +36 -36
  90. package/esm2022/lib/components/form/input-phone/data/country-code.mjs +1331 -0
  91. package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +35 -0
  92. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/country-iso.enum.mjs +246 -246
  93. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/input-phone.enum.mjs +6 -6
  94. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/mask.enum.mjs +138 -138
  95. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +5 -5
  96. package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/search-country-field.enum.mjs +7 -7
  97. package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +679 -0
  98. package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +50 -0
  99. package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +61 -0
  100. package/{esm2020 → esm2022}/lib/components/form/input-phone/interfaces/change-data.mjs +1 -1
  101. package/{esm2020 → esm2022}/lib/components/form/input-phone/models/country.model.mjs +1 -1
  102. package/esm2022/lib/components/form/input-search/input-search.component.mjs +167 -0
  103. package/{esm2020 → esm2022}/lib/components/form/input-search/input-search.enum.mjs +6 -6
  104. package/esm2022/lib/components/form/input-search/input-search.module.mjs +41 -0
  105. package/esm2022/lib/components/form/input-select/input-select.component.mjs +253 -0
  106. package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.enum.mjs +5 -5
  107. package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.module.mjs +45 -45
  108. package/esm2022/lib/components/form/input-tel/assets/base64.mjs +4 -0
  109. package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +1323 -0
  110. package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
  111. package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +6 -0
  112. package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +8 -0
  113. package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
  114. package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +7 -0
  115. package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +400 -0
  116. package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +43 -0
  117. package/esm2022/lib/components/form/input-tel/models/country.model.mjs +2 -0
  118. package/esm2022/lib/components/form/input-text/input-text.component.mjs +189 -0
  119. package/{esm2020 → esm2022}/lib/components/form/input-text/input-text.enum.mjs +14 -14
  120. package/esm2022/lib/components/form/input-text/input-text.module.mjs +49 -0
  121. package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +197 -0
  122. package/{esm2020 → esm2022}/lib/components/form/input-textarea/input-textarea.enum.mjs +6 -6
  123. package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +49 -0
  124. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/constants/value-models.mjs +7 -7
  125. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/clean-date.mjs +4 -4
  126. package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +14 -0
  127. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +4 -4
  128. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-object.mjs +4 -4
  129. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +29 -29
  130. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/value-parser.mjs +17 -17
  131. package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +292 -0
  132. package/{esm2020 → esm2022}/lib/components/form/input-timepicker/input-timepicker.enum.mjs +6 -6
  133. package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +46 -0
  134. package/esm2022/lib/components/form/radio/radio.component.mjs +91 -0
  135. package/{esm2020 → esm2022}/lib/components/form/radio/radio.enum.mjs +4 -4
  136. package/{esm2020 → esm2022}/lib/components/form/radio/radio.module.mjs +20 -20
  137. package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +45 -0
  138. package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +66 -0
  139. package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
  140. package/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +11 -0
  141. package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
  142. package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +2 -0
  143. package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +175 -0
  144. package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +26 -0
  145. package/esm2022/lib/components/form/rating/rating.component.mjs +215 -0
  146. package/{esm2020 → esm2022}/lib/components/form/rating/rating.enum.mjs +15 -15
  147. package/{esm2020 → esm2022}/lib/components/form/rating/rating.module.mjs +25 -25
  148. package/esm2022/lib/components/form/switch/switch.component.mjs +95 -0
  149. package/{esm2020 → esm2022}/lib/components/form/switch/switch.enum.mjs +10 -10
  150. package/{esm2020 → esm2022}/lib/components/form/switch/switch.module.mjs +21 -21
  151. package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +39 -0
  152. package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +112 -0
  153. package/{esm2020 → esm2022}/lib/components/gallery/constants/custom-buttons-default.mjs +6 -6
  154. package/{esm2020 → esm2022}/lib/components/gallery/constants/thumbs-config-default.mjs +4 -4
  155. package/esm2022/lib/components/gallery/gallery.component.mjs +203 -0
  156. package/{esm2020 → esm2022}/lib/components/gallery/gallery.module.mjs +54 -54
  157. package/{esm2020 → esm2022}/lib/components/gallery/models/gallery-item.model.mjs +1 -1
  158. package/esm2022/lib/components/gallery/services/gallery.service.mjs +33 -0
  159. package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +121 -0
  160. package/{esm2020 → esm2022}/lib/components/hint-error-message/hint-error-message.module.mjs +19 -19
  161. package/esm2022/lib/components/icon-button/icon-button.component.mjs +49 -0
  162. package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.enum.mjs +15 -15
  163. package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.module.mjs +19 -19
  164. package/esm2022/lib/components/label/label.component.mjs +143 -0
  165. package/{esm2020 → esm2022}/lib/components/label/label.module.mjs +25 -25
  166. package/esm2022/lib/components/link/link.component.mjs +48 -0
  167. package/{esm2020 → esm2022}/lib/components/link/link.enum.mjs +19 -19
  168. package/{esm2020 → esm2022}/lib/components/link/link.module.mjs +19 -19
  169. package/esm2022/lib/components/loader/loader.component.mjs +24 -0
  170. package/{esm2020 → esm2022}/lib/components/loader/loader.enum.mjs +19 -19
  171. package/{esm2020 → esm2022}/lib/components/loader/loader.module.mjs +19 -19
  172. package/esm2022/lib/components/modal/modal.component.mjs +137 -0
  173. package/{esm2020 → esm2022}/lib/components/modal/modal.emun.mjs +20 -20
  174. package/{esm2020 → esm2022}/lib/components/modal/modal.module.mjs +20 -20
  175. package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +31 -0
  176. package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.enum.mjs +5 -5
  177. package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.module.mjs +24 -24
  178. package/esm2022/lib/components/paginator/paginator.component.mjs +140 -0
  179. package/{esm2020 → esm2022}/lib/components/paginator/paginator.enum.mjs +5 -5
  180. package/{esm2020 → esm2022}/lib/components/paginator/paginator.module.mjs +31 -31
  181. package/esm2022/lib/components/progress/progress.component.mjs +24 -0
  182. package/{esm2020 → esm2022}/lib/components/progress/progress.enum.mjs +7 -7
  183. package/{esm2020 → esm2022}/lib/components/progress/progress.module.mjs +19 -19
  184. package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +16 -0
  185. package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +16 -0
  186. package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +16 -0
  187. package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +16 -0
  188. package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +16 -0
  189. package/esm2022/lib/components/save-state/save-state.component.mjs +40 -0
  190. package/{esm2020 → esm2022}/lib/components/save-state/save-state.enum.mjs +1 -1
  191. package/{esm2020 → esm2022}/lib/components/save-state/save-state.module.mjs +37 -37
  192. package/esm2022/lib/components/stepper/stepper.component.mjs +52 -0
  193. package/{esm2020 → esm2022}/lib/components/stepper/stepper.enum.mjs +5 -5
  194. package/{esm2020 → esm2022}/lib/components/stepper/stepper.module.mjs +20 -20
  195. package/esm2022/lib/components/table/components/column/column.component.mjs +40 -0
  196. package/{esm2020 → esm2022}/lib/components/table/default/default-pager-settings.mjs +6 -6
  197. package/{esm2020 → esm2022}/lib/components/table/models/data-state-change.event.mjs +1 -1
  198. package/{esm2020 → esm2022}/lib/components/table/models/index.mjs +3 -3
  199. package/{esm2020 → esm2022}/lib/components/table/models/pager-settings.mjs +1 -1
  200. package/esm2022/lib/components/table/table.component.mjs +281 -0
  201. package/{esm2020 → esm2022}/lib/components/table/table.enum.mjs +7 -7
  202. package/{esm2020 → esm2022}/lib/components/table/table.module.mjs +50 -50
  203. package/esm2022/lib/components/tabs/tab/tab.component.mjs +33 -0
  204. package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +27 -0
  205. package/{esm2020 → esm2022}/lib/components/tabs/tabs.enum.mjs +13 -13
  206. package/{esm2020 → esm2022}/lib/components/tabs/tabs.module.mjs +20 -20
  207. package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +65 -0
  208. package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +36 -0
  209. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +10 -10
  210. package/esm2022/lib/components/tooltip/tooltip.component.mjs +59 -0
  211. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.enum.mjs +5 -5
  212. package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.module.mjs +21 -21
  213. package/{esm2020 → esm2022}/lib/components/truncate-text/directives/truncate-text.directive.mjs +149 -139
  214. package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +30 -0
  215. package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.enum.mjs +1 -1
  216. package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.module.mjs +21 -21
  217. package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
  218. package/{esm2020 → esm2022}/lib/components/warning-message/warning-message.module.mjs +19 -19
  219. package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +25 -0
  220. package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +5 -5
  221. package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -19
  222. package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +15 -0
  223. package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +23 -0
  224. package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +6 -6
  225. package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -20
  226. package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +99 -0
  227. package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +16 -16
  228. package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -24
  229. package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
  230. package/{esm2020 → esm2022}/lib/directives/autosize/autosize.module.mjs +24 -24
  231. package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
  232. package/{esm2020 → esm2022}/lib/directives/truncate/truncate.module.mjs +18 -18
  233. package/{esm2020 → esm2022}/lib/enums/typed.input.state.mjs +7 -7
  234. package/esm2022/lib/helpers/extension/input-file.extension.mjs +39 -0
  235. package/esm2022/lib/helpers/formatting-date.mjs +51 -0
  236. package/{esm2020 → esm2022}/lib/helpers/formatting-dates-from-array.mjs +18 -18
  237. package/{esm2020 → esm2022}/lib/helpers/formatting-iso-to-string.mjs +12 -12
  238. package/{esm2020 → esm2022}/lib/helpers/index.mjs +7 -7
  239. package/{esm2020 → esm2022}/lib/helpers/number-format.mjs +8 -8
  240. package/esm2022/lib/helpers/string-hash-code.mjs +17 -0
  241. package/{esm2020 → esm2022}/lib/helpers/word-form.mjs +10 -10
  242. package/{esm2020 → esm2022}/lib/models/index.mjs +2 -2
  243. package/{esm2020 → esm2022}/lib/models/input-file/input-file.model.mjs +1 -1
  244. package/{esm2020 → esm2022}/lib/models/typed-input-model.mjs +1 -1
  245. package/{esm2020 → esm2022}/lib/pipes/currency/currency.module.mjs +20 -20
  246. package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
  247. package/{esm2020 → esm2022}/lib/pipes/date/date-format.module.mjs +19 -19
  248. package/esm2022/lib/pipes/date/date-format.pipe.mjs +21 -0
  249. package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +21 -0
  250. package/{esm2020 → esm2022}/lib/pipes/date/enums/timezone.mjs +9 -9
  251. package/{esm2020 → esm2022}/lib/pipes/date/helpers/change-timezone.mjs +22 -22
  252. package/{esm2020 → esm2022}/lib/pipes/phone/phone-format.module.mjs +18 -18
  253. package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
  254. package/{esm2020 → esm2022}/lib/pipes/safe/safe.module.mjs +20 -20
  255. package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
  256. package/{esm2020 → esm2022}/lib/pipes/truncate/truncate.module.mjs +20 -20
  257. package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +23 -0
  258. package/esm2022/lib/services/file-upload/file-upload.service.mjs +27 -0
  259. package/{esm2020 → esm2022}/lib/services/index.mjs +6 -6
  260. package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +46 -0
  261. package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +50 -0
  262. package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +14 -0
  263. package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +29 -0
  264. package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +4 -0
  265. package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +5 -0
  266. package/esm2022/lib/services/modal-service/modal-service.service.mjs +84 -0
  267. package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +2 -0
  268. package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +43 -0
  269. package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +283 -0
  270. package/{esm2020 → esm2022}/lib/services/save-store/constants/constants.mjs +1 -1
  271. package/{esm2020 → esm2022}/lib/services/save-store/models/save-store.model.mjs +1 -1
  272. package/{esm2020 → esm2022}/lib/services/save-store/save-store.module.mjs +29 -29
  273. package/{esm2020 → esm2022}/lib/services/save-store/store/actions.mjs +22 -22
  274. package/esm2022/lib/services/save-store/store/effect.mjs +61 -0
  275. package/esm2022/lib/services/save-store/store/reducer.mjs +96 -0
  276. package/{esm2020 → esm2022}/lib/services/save-store/store/selectors.mjs +4 -4
  277. package/{esm2020 → esm2022}/lib/services/save-store/store/state.mjs +3 -3
  278. package/{esm2020 → esm2022}/myrta-ui.mjs +4 -4
  279. package/esm2022/public-api.mjs +176 -0
  280. package/fesm2022/myrta-ui.mjs +15458 -0
  281. package/fesm2022/myrta-ui.mjs.map +1 -0
  282. package/index.d.ts +5 -5
  283. package/lib/components/alert/alert.component.d.ts +17 -17
  284. package/lib/components/alert/alert.enum.d.ts +13 -13
  285. package/lib/components/alert/alert.module.d.ts +8 -8
  286. package/lib/components/badges/badge.enum.d.ts +38 -38
  287. package/lib/components/badges/badges.module.d.ts +9 -9
  288. package/lib/components/badges/components/badge/badge.component.d.ts +21 -21
  289. package/lib/components/badges/components/badge-group/badge-group.component.d.ts +5 -5
  290. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +11 -11
  291. package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +11 -11
  292. package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +8 -8
  293. package/lib/components/button/button.component.d.ts +31 -31
  294. package/lib/components/button/button.enum.d.ts +27 -29
  295. package/lib/components/button/button.module.d.ts +10 -10
  296. package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +13 -13
  297. package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +24 -24
  298. package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +10 -10
  299. package/lib/components/cdk-tooltip/constants/index.d.ts +7 -7
  300. package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +6 -6
  301. package/lib/components/chars-left/chars-left.component.d.ts +9 -9
  302. package/lib/components/chars-left/chars-left.module.d.ts +8 -8
  303. package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +9 -9
  304. package/lib/components/dropdown/dropdown.component.d.ts +26 -26
  305. package/lib/components/dropdown/dropdown.module.d.ts +10 -10
  306. package/lib/components/error-message/error-message.component.d.ts +10 -9
  307. package/lib/components/error-message/error-message.module.d.ts +8 -8
  308. package/lib/components/form/checkbox/checkbox.component.d.ts +48 -48
  309. package/lib/components/form/checkbox/checkbox.enum.d.ts +14 -14
  310. package/lib/components/form/checkbox/checkbox.module.d.ts +11 -11
  311. package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +54 -54
  312. package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +16 -16
  313. package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +19 -19
  314. package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +26 -26
  315. package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +3 -3
  316. package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +3 -3
  317. package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +2 -2
  318. package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +2 -2
  319. package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +2 -2
  320. package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +2 -2
  321. package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +15 -15
  322. package/lib/components/form/editor/config/default-inline-style.d.ts +11 -0
  323. package/lib/components/form/editor/config/index.d.ts +1 -1
  324. package/lib/components/form/editor/config/popups-toolbar.d.ts +15 -15
  325. package/lib/components/form/editor/config/toolbar.d.ts +2 -2
  326. package/lib/components/form/editor/editor.component.d.ts +63 -48
  327. package/lib/components/form/editor/editor.module.d.ts +14 -14
  328. package/lib/components/form/editor/models/toolbar.model.d.ts +6 -6
  329. package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -1
  330. package/lib/components/form/input-date-time/constants/value-models.d.ts +3 -3
  331. package/lib/components/form/input-date-time/enum/timezone.d.ts +6 -6
  332. package/lib/components/form/input-date-time/helpers/clean-date.d.ts +1 -1
  333. package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +1 -1
  334. package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +3 -3
  335. package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +2 -2
  336. package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +19 -19
  337. package/lib/components/form/input-date-time/helpers/value-parser.d.ts +4 -4
  338. package/lib/components/form/input-date-time/input-date-time.component.d.ts +72 -72
  339. package/lib/components/form/input-date-time/input-date-time.enum.d.ts +21 -21
  340. package/lib/components/form/input-date-time/input-date-time.module.d.ts +13 -13
  341. package/lib/components/form/input-datepicker/constants/value-models.d.ts +3 -3
  342. package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +1 -1
  343. package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +1 -1
  344. package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +3 -3
  345. package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +2 -2
  346. package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +20 -20
  347. package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +3 -3
  348. package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +69 -69
  349. package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +12 -12
  350. package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +13 -13
  351. package/lib/components/form/input-file/enums/error-messages.enum.d.ts +6 -6
  352. package/lib/components/form/input-file/input-file.component.d.ts +72 -72
  353. package/lib/components/form/input-file/input-file.enum.d.ts +7 -7
  354. package/lib/components/form/input-file/input-file.module.d.ts +13 -13
  355. package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +42 -33
  356. package/lib/components/form/input-file-image/input-file-image.component.d.ts +62 -59
  357. package/lib/components/form/input-file-image/input-file-image.enum.d.ts +8 -8
  358. package/lib/components/form/input-file-image/input-file-image.module.d.ts +15 -16
  359. package/lib/components/form/input-number/input-number.component.d.ts +64 -61
  360. package/lib/components/form/input-number/input-number.enum.d.ts +12 -12
  361. package/lib/components/form/input-number/input-number.module.d.ts +13 -13
  362. package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +77 -77
  363. package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +7 -7
  364. package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +8 -8
  365. package/lib/components/form/input-opt/input-opt.module.d.ts +11 -11
  366. package/lib/components/form/input-opt/models/input-opt.model.d.ts +26 -26
  367. package/lib/components/form/input-opt/services/input-opt.service.d.ts +11 -11
  368. package/lib/components/form/input-password/input-password.component.d.ts +38 -38
  369. package/lib/components/form/input-password/input-password.enum.d.ts +7 -7
  370. package/lib/components/form/input-password/input-password.module.d.ts +11 -11
  371. package/lib/components/form/input-phone/data/country-code.d.ts +6 -6
  372. package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +11 -11
  373. package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +245 -245
  374. package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +11 -11
  375. package/lib/components/form/input-phone/enums/mask.enum.d.ts +8 -8
  376. package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +4 -4
  377. package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +6 -6
  378. package/lib/components/form/input-phone/input-phone.component.d.ts +132 -132
  379. package/lib/components/form/input-phone/input-phone.module.d.ts +14 -14
  380. package/lib/components/form/input-phone/input-phone.validator.d.ts +5 -5
  381. package/lib/components/form/input-phone/interfaces/change-data.d.ts +9 -9
  382. package/lib/components/form/input-phone/models/country.model.d.ts +13 -13
  383. package/lib/components/form/input-search/input-search.component.d.ts +48 -48
  384. package/lib/components/form/input-search/input-search.enum.d.ts +6 -6
  385. package/lib/components/form/input-search/input-search.module.d.ts +12 -12
  386. package/lib/components/form/input-select/input-select.component.d.ts +84 -84
  387. package/lib/components/form/input-select/input-select.enum.d.ts +10 -10
  388. package/lib/components/form/input-select/input-select.module.d.ts +14 -14
  389. package/lib/components/form/input-tel/assets/base64.d.ts +3 -0
  390. package/lib/components/form/input-tel/data/all-countries.d.ts +1 -0
  391. package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -0
  392. package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -0
  393. package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -0
  394. package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -0
  395. package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -0
  396. package/lib/components/form/input-tel/input-tel.component.d.ts +89 -0
  397. package/lib/components/form/input-tel/input-tel.module.d.ts +13 -0
  398. package/lib/components/form/input-tel/models/country.model.d.ts +18 -0
  399. package/lib/components/form/input-text/input-text.component.d.ts +54 -54
  400. package/lib/components/form/input-text/input-text.enum.d.ts +19 -19
  401. package/lib/components/form/input-text/input-text.module.d.ts +14 -14
  402. package/lib/components/form/input-textarea/input-textarea.component.d.ts +54 -52
  403. package/lib/components/form/input-textarea/input-textarea.enum.d.ts +11 -11
  404. package/lib/components/form/input-textarea/input-textarea.module.d.ts +14 -14
  405. package/lib/components/form/input-timepicker/constants/value-models.d.ts +2 -2
  406. package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +1 -1
  407. package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +1 -1
  408. package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +3 -3
  409. package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +2 -2
  410. package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +10 -10
  411. package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +2 -2
  412. package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +60 -60
  413. package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +11 -11
  414. package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +13 -13
  415. package/lib/components/form/radio/radio.component.d.ts +29 -29
  416. package/lib/components/form/radio/radio.enum.d.ts +4 -4
  417. package/lib/components/form/radio/radio.module.d.ts +9 -9
  418. package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +18 -0
  419. package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +26 -0
  420. package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -0
  421. package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -0
  422. package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -0
  423. package/lib/components/form/radio-group/models/radio-group.model.d.ts +8 -0
  424. package/lib/components/form/radio-group/radio-group.component.d.ts +57 -0
  425. package/lib/components/form/radio-group/radio-group.module.d.ts +15 -0
  426. package/lib/components/form/rating/rating.component.d.ts +51 -51
  427. package/lib/components/form/rating/rating.enum.d.ts +27 -27
  428. package/lib/components/form/rating/rating.module.d.ts +9 -9
  429. package/lib/components/form/switch/switch.component.d.ts +32 -32
  430. package/lib/components/form/switch/switch.enum.d.ts +15 -15
  431. package/lib/components/form/switch/switch.module.d.ts +10 -10
  432. package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +21 -17
  433. package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +38 -38
  434. package/lib/components/gallery/constants/custom-buttons-default.d.ts +3 -3
  435. package/lib/components/gallery/constants/thumbs-config-default.d.ts +2 -2
  436. package/lib/components/gallery/gallery.component.d.ts +38 -38
  437. package/lib/components/gallery/gallery.module.d.ts +16 -16
  438. package/lib/components/gallery/models/gallery-item.model.d.ts +24 -24
  439. package/lib/components/gallery/services/gallery.service.d.ts +14 -14
  440. package/lib/components/hint-error-message/hint-error-message.component.d.ts +21 -21
  441. package/lib/components/hint-error-message/hint-error-message.module.d.ts +8 -8
  442. package/lib/components/icon-button/icon-button.component.d.ts +19 -19
  443. package/lib/components/icon-button/icon-button.enum.d.ts +15 -15
  444. package/lib/components/icon-button/icon-button.module.d.ts +9 -9
  445. package/lib/components/label/label.component.d.ts +44 -44
  446. package/lib/components/label/label.module.d.ts +14 -14
  447. package/lib/components/link/link.component.d.ts +18 -18
  448. package/lib/components/link/link.enum.d.ts +19 -19
  449. package/lib/components/link/link.module.d.ts +8 -8
  450. package/lib/components/loader/loader.component.d.ts +10 -10
  451. package/lib/components/loader/loader.enum.d.ts +19 -19
  452. package/lib/components/loader/loader.module.d.ts +8 -8
  453. package/lib/components/modal/modal.component.d.ts +36 -36
  454. package/lib/components/modal/modal.emun.d.ts +20 -20
  455. package/lib/components/modal/modal.module.d.ts +9 -9
  456. package/lib/components/pages-nav/pages-nav.component.d.ts +12 -12
  457. package/lib/components/pages-nav/pages-nav.enum.d.ts +5 -5
  458. package/lib/components/pages-nav/pages-nav.module.d.ts +8 -8
  459. package/lib/components/paginator/paginator.component.d.ts +29 -29
  460. package/lib/components/paginator/paginator.enum.d.ts +10 -10
  461. package/lib/components/paginator/paginator.module.d.ts +10 -10
  462. package/lib/components/progress/progress.component.d.ts +10 -10
  463. package/lib/components/progress/progress.enum.d.ts +7 -7
  464. package/lib/components/progress/progress.module.d.ts +8 -8
  465. package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +8 -8
  466. package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +8 -8
  467. package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +8 -8
  468. package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +8 -8
  469. package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +8 -8
  470. package/lib/components/save-state/save-state.component.d.ts +13 -13
  471. package/lib/components/save-state/save-state.enum.d.ts +1 -1
  472. package/lib/components/save-state/save-state.module.d.ts +13 -13
  473. package/lib/components/stepper/stepper.component.d.ts +17 -17
  474. package/lib/components/stepper/stepper.enum.d.ts +5 -5
  475. package/lib/components/stepper/stepper.module.d.ts +9 -9
  476. package/lib/components/table/components/column/column.component.d.ts +14 -14
  477. package/lib/components/table/default/default-pager-settings.d.ts +2 -2
  478. package/lib/components/table/models/data-state-change.event.d.ts +15 -15
  479. package/lib/components/table/models/index.d.ts +3 -3
  480. package/lib/components/table/models/pager-settings.d.ts +22 -22
  481. package/lib/components/table/table.component.d.ts +55 -55
  482. package/lib/components/table/table.enum.d.ts +32 -32
  483. package/lib/components/table/table.module.d.ts +14 -14
  484. package/lib/components/tabs/tab/tab.component.d.ts +13 -13
  485. package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +11 -11
  486. package/lib/components/tabs/tabs.enum.d.ts +11 -11
  487. package/lib/components/tabs/tabs.module.d.ts +9 -9
  488. package/lib/components/tooltip/services/tooltip.service.d.ts +18 -18
  489. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +15 -16
  490. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +10 -10
  491. package/lib/components/tooltip/tooltip.component.d.ts +18 -18
  492. package/lib/components/tooltip/tooltip.enum.d.ts +4 -4
  493. package/lib/components/tooltip/tooltip.module.d.ts +10 -10
  494. package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +37 -37
  495. package/lib/components/truncate-text/truncate-text.component.d.ts +12 -12
  496. package/lib/components/truncate-text/truncate-text.enum.d.ts +2 -2
  497. package/lib/components/truncate-text/truncate-text.module.d.ts +10 -10
  498. package/lib/components/warning-message/warning-message.component.d.ts +9 -9
  499. package/lib/components/warning-message/warning-message.module.d.ts +8 -8
  500. package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +10 -10
  501. package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +5 -5
  502. package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +8 -8
  503. package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +6 -6
  504. package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +10 -10
  505. package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +6 -6
  506. package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +9 -9
  507. package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +26 -26
  508. package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +15 -15
  509. package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +8 -8
  510. package/lib/directives/autosize/autosize.directive.d.ts +16 -16
  511. package/lib/directives/autosize/autosize.module.d.ts +8 -8
  512. package/lib/directives/truncate/truncate.directive.d.ts +12 -12
  513. package/lib/directives/truncate/truncate.module.d.ts +8 -8
  514. package/lib/enums/typed.input.state.d.ts +6 -6
  515. package/lib/helpers/extension/input-file.extension.d.ts +4 -4
  516. package/lib/helpers/formatting-date.d.ts +9 -9
  517. package/lib/helpers/formatting-dates-from-array.d.ts +2 -2
  518. package/lib/helpers/formatting-iso-to-string.d.ts +2 -2
  519. package/lib/helpers/index.d.ts +7 -7
  520. package/lib/helpers/number-format.d.ts +6 -6
  521. package/lib/helpers/string-hash-code.d.ts +2 -2
  522. package/lib/helpers/word-form.d.ts +7 -7
  523. package/lib/models/index.d.ts +2 -2
  524. package/lib/models/input-file/input-file.model.d.ts +22 -22
  525. package/lib/models/typed-input-model.d.ts +16 -16
  526. package/lib/pipes/currency/currency.module.d.ts +8 -8
  527. package/lib/pipes/currency/currency.pipe.d.ts +7 -7
  528. package/lib/pipes/date/date-format.module.d.ts +9 -9
  529. package/lib/pipes/date/date-format.pipe.d.ts +9 -9
  530. package/lib/pipes/date/date-time-format.pipe.d.ts +9 -9
  531. package/lib/pipes/date/enums/timezone.d.ts +8 -8
  532. package/lib/pipes/date/helpers/change-timezone.d.ts +2 -2
  533. package/lib/pipes/phone/phone-format.module.d.ts +8 -8
  534. package/lib/pipes/phone/phone-format.pipe.d.ts +8 -8
  535. package/lib/pipes/safe/safe.module.d.ts +8 -8
  536. package/lib/pipes/safe/safe.pipe.d.ts +10 -10
  537. package/lib/pipes/truncate/truncate.module.d.ts +8 -8
  538. package/lib/pipes/truncate/truncate.pipe.d.ts +7 -7
  539. package/lib/services/file-upload/file-upload.service.d.ts +12 -12
  540. package/lib/services/index.d.ts +6 -6
  541. package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +20 -0
  542. package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +21 -0
  543. package/lib/services/modal-service/helpers/modal-default-config.d.ts +3 -0
  544. package/lib/services/modal-service/helpers/modal-ref.d.ts +11 -0
  545. package/lib/services/modal-service/helpers/modal-tokens.d.ts +3 -0
  546. package/lib/services/modal-service/helpers/modal.component.d.ts +4 -0
  547. package/lib/services/modal-service/modal-service.service.d.ts +20 -0
  548. package/lib/services/modal-service/models/modal-config.model.d.ts +14 -0
  549. package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +19 -19
  550. package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +51 -51
  551. package/lib/services/save-store/constants/constants.d.ts +1 -1
  552. package/lib/services/save-store/models/save-store.model.d.ts +4 -4
  553. package/lib/services/save-store/save-store.module.d.ts +9 -9
  554. package/lib/services/save-store/store/actions.d.ts +21 -21
  555. package/lib/services/save-store/store/effect.d.ts +10 -16
  556. package/lib/services/save-store/store/reducer.d.ts +3 -3
  557. package/lib/services/save-store/store/selectors.d.ts +3 -3
  558. package/lib/services/save-store/store/state.d.ts +11 -11
  559. package/package.json +29 -37
  560. package/public-api.d.ts +162 -171
  561. package/esm2020/lib/components/alert/alert.component.mjs +0 -45
  562. package/esm2020/lib/components/badges/components/badge/badge.component.mjs +0 -61
  563. package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
  564. package/esm2020/lib/components/button/button.component.mjs +0 -102
  565. package/esm2020/lib/components/button/button.enum.mjs +0 -29
  566. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -28
  567. package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -95
  568. package/esm2020/lib/components/chars-left/chars-left.component.mjs +0 -26
  569. package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +0 -99
  570. package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +0 -324
  571. package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -51
  572. package/esm2020/lib/components/context-menu/context-menu.options.mjs +0 -2
  573. package/esm2020/lib/components/context-menu/context-menu.tokens.mjs +0 -3
  574. package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +0 -36
  575. package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +0 -61
  576. package/esm2020/lib/components/context-menu/models/context-menu.enum.mjs +0 -2
  577. package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +0 -103
  578. package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +0 -223
  579. package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -23
  580. package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -104
  581. package/esm2020/lib/components/error-message/error-message.component.mjs +0 -31
  582. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -150
  583. package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -178
  584. package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -103
  585. package/esm2020/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -20
  586. package/esm2020/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
  587. package/esm2020/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
  588. package/esm2020/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
  589. package/esm2020/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
  590. package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +0 -33
  591. package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +0 -105
  592. package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +0 -42
  593. package/esm2020/lib/components/form/document-editor/helpers/transform-sysname.mjs +0 -41
  594. package/esm2020/lib/components/form/document-editor/models/document-editor-short-codes.enum.mjs +0 -2
  595. package/esm2020/lib/components/form/editor/editor.component.mjs +0 -232
  596. package/esm2020/lib/components/form/editor/editor.module.mjs +0 -45
  597. package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
  598. package/esm2020/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
  599. package/esm2020/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
  600. package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +0 -381
  601. package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +0 -46
  602. package/esm2020/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
  603. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
  604. package/esm2020/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
  605. package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -354
  606. package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -46
  607. package/esm2020/lib/components/form/input-file/input-file.component.mjs +0 -362
  608. package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -66
  609. package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +0 -339
  610. package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +0 -58
  611. package/esm2020/lib/components/form/input-number/input-number.component.mjs +0 -238
  612. package/esm2020/lib/components/form/input-number/input-number.module.mjs +0 -55
  613. package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -363
  614. package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -44
  615. package/esm2020/lib/components/form/input-password/input-password.component.mjs +0 -119
  616. package/esm2020/lib/components/form/input-phone/data/country-code.mjs +0 -1333
  617. package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -33
  618. package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +0 -671
  619. package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +0 -50
  620. package/esm2020/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
  621. package/esm2020/lib/components/form/input-search/input-search.component.mjs +0 -166
  622. package/esm2020/lib/components/form/input-search/input-search.module.mjs +0 -41
  623. package/esm2020/lib/components/form/input-select/input-select.component.mjs +0 -243
  624. package/esm2020/lib/components/form/input-text/input-text.component.mjs +0 -188
  625. package/esm2020/lib/components/form/input-text/input-text.module.mjs +0 -49
  626. package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +0 -169
  627. package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +0 -48
  628. package/esm2020/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
  629. package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -290
  630. package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -46
  631. package/esm2020/lib/components/form/radio/radio.component.mjs +0 -91
  632. package/esm2020/lib/components/form/rating/rating.component.mjs +0 -217
  633. package/esm2020/lib/components/form/switch/switch.component.mjs +0 -97
  634. package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -22
  635. package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -102
  636. package/esm2020/lib/components/gallery/gallery.component.mjs +0 -197
  637. package/esm2020/lib/components/gallery/services/gallery.service.mjs +0 -31
  638. package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +0 -123
  639. package/esm2020/lib/components/icon-button/icon-button.component.mjs +0 -51
  640. package/esm2020/lib/components/label/label.component.mjs +0 -141
  641. package/esm2020/lib/components/link/link.component.mjs +0 -50
  642. package/esm2020/lib/components/loader/loader.component.mjs +0 -26
  643. package/esm2020/lib/components/modal/modal.component.mjs +0 -136
  644. package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +0 -33
  645. package/esm2020/lib/components/paginator/paginator.component.mjs +0 -142
  646. package/esm2020/lib/components/progress/progress.component.mjs +0 -26
  647. package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -15
  648. package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -15
  649. package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -15
  650. package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -15
  651. package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -15
  652. package/esm2020/lib/components/save-state/save-state.component.mjs +0 -39
  653. package/esm2020/lib/components/stepper/stepper.component.mjs +0 -54
  654. package/esm2020/lib/components/table/components/column/column.component.mjs +0 -40
  655. package/esm2020/lib/components/table/table.component.mjs +0 -274
  656. package/esm2020/lib/components/tabs/tab/tab.component.mjs +0 -31
  657. package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -29
  658. package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +0 -67
  659. package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -48
  660. package/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -60
  661. package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +0 -30
  662. package/esm2020/lib/components/warning-message/warning-message.component.mjs +0 -31
  663. package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -26
  664. package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -17
  665. package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -24
  666. package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -96
  667. package/esm2020/lib/directives/autosize/autosize.directive.mjs +0 -55
  668. package/esm2020/lib/directives/truncate/truncate.directive.mjs +0 -32
  669. package/esm2020/lib/helpers/extension/input-file.extension.mjs +0 -39
  670. package/esm2020/lib/helpers/formatting-date.mjs +0 -51
  671. package/esm2020/lib/helpers/string-hash-code.mjs +0 -17
  672. package/esm2020/lib/pipes/currency/currency.pipe.mjs +0 -22
  673. package/esm2020/lib/pipes/date/date-format.pipe.mjs +0 -21
  674. package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +0 -21
  675. package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +0 -23
  676. package/esm2020/lib/pipes/safe/safe.pipe.mjs +0 -20
  677. package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +0 -23
  678. package/esm2020/lib/services/file-upload/file-upload.service.mjs +0 -26
  679. package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -44
  680. package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -282
  681. package/esm2020/lib/services/save-store/store/effect.mjs +0 -31
  682. package/esm2020/lib/services/save-store/store/reducer.mjs +0 -79
  683. package/esm2020/public-api.mjs +0 -180
  684. package/fesm2015/myrta-ui.mjs +0 -13594
  685. package/fesm2015/myrta-ui.mjs.map +0 -1
  686. package/fesm2020/myrta-ui.mjs +0 -13637
  687. package/fesm2020/myrta-ui.mjs.map +0 -1
  688. package/lib/components/context-menu/components/context-menu/context-menu.component.d.ts +0 -34
  689. package/lib/components/context-menu/components/context-menu-content/context-menu-content.component.d.ts +0 -62
  690. package/lib/components/context-menu/context-menu.module.d.ts +0 -15
  691. package/lib/components/context-menu/context-menu.options.d.ts +0 -4
  692. package/lib/components/context-menu/context-menu.tokens.d.ts +0 -2
  693. package/lib/components/context-menu/directives/context-menu/context-menu.directive.d.ts +0 -12
  694. package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts +0 -30
  695. package/lib/components/context-menu/models/context-menu.enum.d.ts +0 -11
  696. package/lib/components/context-menu/services/context-menu/context-menu-fixed.service.d.ts +0 -11
  697. package/lib/components/context-menu/services/context-menu/context-menu.service.d.ts +0 -56
  698. package/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.d.ts +0 -22
  699. package/lib/components/form/document-editor/document-editor.component.d.ts +0 -37
  700. package/lib/components/form/document-editor/document-editor.module.d.ts +0 -13
  701. package/lib/components/form/document-editor/helpers/transform-sysname.d.ts +0 -5
  702. package/lib/components/form/document-editor/models/document-editor-short-codes.enum.d.ts +0 -6
@@ -1,20 +1,20 @@
1
- export declare const validateDateModel: (value: string) => DateModel;
2
- export declare const validateTimeModel: (value: string) => TimeModel;
3
- export declare const validateDay: (value: string) => string;
4
- export declare const validateMonth: (value: string) => string;
5
- export declare const validateHours: (value: string) => string;
6
- export declare const validateMinutes: (value: string) => string;
7
- export declare type DateModel = {
8
- view: string;
9
- day: string;
10
- month: string;
11
- year: string;
12
- invalid: boolean;
13
- };
14
- export declare type TimeModel = {
15
- view: string;
16
- hour: string;
17
- minute: string;
18
- second: string;
19
- invalid: boolean;
20
- };
1
+ export declare const validateDateModel: (value: string) => DateModel;
2
+ export declare const validateTimeModel: (value: string) => TimeModel;
3
+ export declare const validateDay: (value: string) => string;
4
+ export declare const validateMonth: (value: string) => string;
5
+ export declare const validateHours: (value: string) => string;
6
+ export declare const validateMinutes: (value: string) => string;
7
+ export type DateModel = {
8
+ view: string;
9
+ day: string;
10
+ month: string;
11
+ year: string;
12
+ invalid: boolean;
13
+ };
14
+ export type TimeModel = {
15
+ view: string;
16
+ hour: string;
17
+ minute: string;
18
+ second: string;
19
+ invalid: boolean;
20
+ };
@@ -1,3 +1,3 @@
1
- import { DateModel, TimeModel } from './validate-value-models';
2
- export declare const dateModelValueParse: (value: string, format: string) => DateModel;
3
- export declare const timeModelValueParse: (value: string, format: string) => TimeModel;
1
+ import { DateModel, TimeModel } from './validate-value-models';
2
+ export declare const dateModelValueParse: (value: string, format: string) => DateModel;
3
+ export declare const timeModelValueParse: (value: string, format: string) => TimeModel;
@@ -1,69 +1,69 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { InputDateSizesTypes, InputDateTimeValidation, InputDateTimeValueTypes, InputDateTimeValueWithId } from './input-datepicker.enum';
4
- import { DateModel, TimeModel } from './helpers/validate-value-models';
5
- import { Field } from '../../../services';
6
- import * as i0 from "@angular/core";
7
- export declare class InputDatepickerComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
8
- dt: any;
9
- value: any;
10
- dateModel: DateModel;
11
- timeModel: TimeModel;
12
- innerInvalid: boolean;
13
- innerInvalidMessage: string;
14
- uuid: string;
15
- fields: Field[];
16
- size: InputDateSizesTypes;
17
- format: string;
18
- locale: 'ru' | 'en';
19
- customClasses: string;
20
- dateLabel: string;
21
- timeLabel: string;
22
- datePlaceholder: string;
23
- placeholder: string;
24
- disabled: boolean;
25
- readonly: boolean;
26
- required: boolean;
27
- timepicker: boolean;
28
- minDate: string;
29
- maxDate: string;
30
- inline: boolean;
31
- closable: boolean;
32
- leadZeroDateTime: boolean;
33
- mask: string;
34
- container: string;
35
- validationType: InputDateTimeValidation;
36
- invalid: boolean;
37
- invalidMessage: string | string[];
38
- checkInvalid: true | false | null;
39
- isShowMessages: boolean;
40
- dateInput: ElementRef;
41
- changed: EventEmitter<string>;
42
- modelChange: EventEmitter<InputDateTimeValueWithId>;
43
- constructor();
44
- ngAfterViewInit(): void;
45
- ngOnChanges(changes: SimpleChanges): void;
46
- get getDateValue(): string;
47
- get getClasses(): string;
48
- private get isValidModels();
49
- get isViewCleanIcon(): boolean;
50
- get checkValidClasses(): string;
51
- private get getLocale();
52
- clickToIconCalendar(): void;
53
- clickToIconClear(): void;
54
- private updateValueModel;
55
- private invalidMessageOn;
56
- private invalidMessageOff;
57
- updateDateValue(dateInput: HTMLInputElement): void;
58
- clickToInput(input: HTMLInputElement): void;
59
- private checkingInvalid;
60
- writeValue(outsideValue: InputDateTimeValueTypes): void;
61
- private onChange;
62
- private onTouched;
63
- registerOnChange(fn: any): void;
64
- registerOnTouched(fn: () => {}): void;
65
- setDisabledState(isDisabled: boolean): void;
66
- updateValue(insideValue: InputDateTimeValueTypes): void;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<InputDatepickerComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<InputDatepickerComponent, "mrx-input-datepicker", never, { "fields": "fields"; "size": "size"; "format": "format"; "locale": "locale"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "minDate": "minDate"; "maxDate": "maxDate"; "inline": "inline"; "closable": "closable"; "leadZeroDateTime": "leadZeroDateTime"; "mask": "mask"; "container": "container"; "validationType": "validationType"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "isShowMessages": "isShowMessages"; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false>;
69
- }
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { InputDateSizesTypes, InputDateTimeValidation, InputDateTimeValueTypes, InputDateTimeValueWithId } from './input-datepicker.enum';
4
+ import { DateModel, TimeModel } from './helpers/validate-value-models';
5
+ import { Field } from '../../../services';
6
+ import * as i0 from "@angular/core";
7
+ export declare class InputDatepickerComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
8
+ dt: any;
9
+ value: any;
10
+ dateModel: DateModel;
11
+ timeModel: TimeModel;
12
+ innerInvalid: boolean;
13
+ innerInvalidMessage: string;
14
+ uuid: string;
15
+ fields: Field[];
16
+ size: InputDateSizesTypes;
17
+ format: string;
18
+ locale: 'ru' | 'en';
19
+ customClasses: string;
20
+ dateLabel: string;
21
+ timeLabel: string;
22
+ datePlaceholder: string;
23
+ placeholder: string;
24
+ disabled: boolean;
25
+ readonly: boolean;
26
+ required: boolean;
27
+ timepicker: boolean;
28
+ minDate: string;
29
+ maxDate: string;
30
+ inline: boolean;
31
+ closable: boolean;
32
+ leadZeroDateTime: boolean;
33
+ mask: string;
34
+ container: string;
35
+ validationType: InputDateTimeValidation;
36
+ invalid: boolean;
37
+ invalidMessage: string | string[];
38
+ checkInvalid: true | false | null;
39
+ isShowMessages: boolean;
40
+ dateInput: ElementRef;
41
+ changed: EventEmitter<string>;
42
+ modelChange: EventEmitter<InputDateTimeValueWithId>;
43
+ constructor();
44
+ ngAfterViewInit(): void;
45
+ ngOnChanges(changes: SimpleChanges): void;
46
+ get getDateValue(): string;
47
+ get getClasses(): string;
48
+ private get isValidModels();
49
+ get isViewCleanIcon(): boolean;
50
+ get checkValidClasses(): string;
51
+ private get getLocale();
52
+ clickToIconCalendar(): void;
53
+ clickToIconClear(): void;
54
+ private updateValueModel;
55
+ private invalidMessageOn;
56
+ private invalidMessageOff;
57
+ updateDateValue(dateInput: HTMLInputElement): void;
58
+ clickToInput(input: HTMLInputElement): void;
59
+ private checkingInvalid;
60
+ writeValue(outsideValue: InputDateTimeValueTypes): void;
61
+ private onChange;
62
+ private onTouched;
63
+ registerOnChange(fn: any): void;
64
+ registerOnTouched(fn: () => {}): void;
65
+ setDisabledState(isDisabled: boolean): void;
66
+ updateValue(insideValue: InputDateTimeValueTypes): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDatepickerComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDatepickerComponent, "mrx-input-datepicker", never, { "fields": { "alias": "fields"; "required": false; }; "size": { "alias": "size"; "required": false; }; "format": { "alias": "format"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "dateLabel": { "alias": "dateLabel"; "required": false; }; "timeLabel": { "alias": "timeLabel"; "required": false; }; "datePlaceholder": { "alias": "datePlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "timepicker": { "alias": "timepicker"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "leadZeroDateTime": { "alias": "leadZeroDateTime"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "container": { "alias": "container"; "required": false; }; "validationType": { "alias": "validationType"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; "isShowMessages": { "alias": "isShowMessages"; "required": false; }; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false, never>;
69
+ }
@@ -1,12 +1,12 @@
1
- export declare enum InputDateSizesEnum {
2
- 'small' = "mrx-input-date-sm",
3
- 'medium' = "mrx-input-date-md",
4
- 'large' = "mrx-input-date-lg"
5
- }
6
- export declare type InputDateSizesTypes = 'small' | 'medium' | 'large';
7
- export declare type InputDateTimeValueTypes = string;
8
- export interface InputDateTimeValueWithId {
9
- value: InputDateTimeValueTypes;
10
- id: string;
11
- }
12
- export declare type InputDateTimeValidation = 'default' | 'double';
1
+ export declare enum InputDateSizesEnum {
2
+ 'small' = "mrx-input-date-sm",
3
+ 'medium' = "mrx-input-date-md",
4
+ 'large' = "mrx-input-date-lg"
5
+ }
6
+ export type InputDateSizesTypes = 'small' | 'medium' | 'large';
7
+ export type InputDateTimeValueTypes = string;
8
+ export interface InputDateTimeValueWithId {
9
+ value: InputDateTimeValueTypes;
10
+ id: string;
11
+ }
12
+ export type InputDateTimeValidation = 'default' | 'double';
@@ -1,13 +1,13 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-datepicker.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "../../save-state/save-state.module";
6
- import * as i5 from "../../error-message/error-message.module";
7
- import * as i6 from "../../label/label.module";
8
- import * as i7 from "ngx-mask";
9
- export declare class InputDatepickerModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<InputDatepickerModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputDatepickerModule, [typeof i1.InputDatepickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.SaveStateModule, typeof i5.ErrorMessageModule, typeof i6.LabelModule, typeof i7.NgxMaskModule], [typeof i1.InputDatepickerComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<InputDatepickerModule>;
13
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-datepicker.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../../save-state/save-state.module";
6
+ import * as i5 from "../../error-message/error-message.module";
7
+ import * as i6 from "../../label/label.module";
8
+ import * as i7 from "ngx-mask";
9
+ export declare class InputDatepickerModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDatepickerModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputDatepickerModule, [typeof i1.InputDatepickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.SaveStateModule, typeof i5.ErrorMessageModule, typeof i6.LabelModule, typeof i7.NgxMaskDirective], [typeof i1.InputDatepickerComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputDatepickerModule>;
13
+ }
@@ -1,6 +1,6 @@
1
- export declare enum ErrorMessagesEnum {
2
- TooManyFiles = "\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u043E\u0432",
3
- FileTooBig = "\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0444\u0430\u0439\u043B",
4
- EmptyFile = "\u041F\u0443\u0441\u0442\u043E\u0439 \u0444\u0430\u0439\u043B",
5
- InvalidFileFormat = "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0444\u0430\u0439\u043B\u0430"
6
- }
1
+ export declare enum ErrorMessagesEnum {
2
+ TooManyFiles = "\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u043E\u0432",
3
+ FileTooBig = "\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0444\u0430\u0439\u043B",
4
+ EmptyFile = "\u041F\u0443\u0441\u0442\u043E\u0439 \u0444\u0430\u0439\u043B",
5
+ InvalidFileFormat = "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0444\u0430\u0439\u043B\u0430"
6
+ }
@@ -1,72 +1,72 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { NgxFileDropEntry } from 'ngx-file-drop';
3
- import { InputFileModel, UploadedFileModel } from '../../../models/input-file/input-file.model';
4
- import { formatBytes } from '../../../helpers/extension/input-file.extension';
5
- import { FileUploadService } from '../../../services/file-upload/file-upload.service';
6
- import { InputFileTargetTypes } from './input-file.enum';
7
- import * as i0 from "@angular/core";
8
- export declare class InputFileComponent {
9
- private fileUploadService;
10
- formatBytes: typeof formatBytes;
11
- extensions?: string;
12
- allowedExtensions: string[];
13
- files: InputFileModel[];
14
- autoUpload: boolean;
15
- required: boolean;
16
- disabled: boolean;
17
- viewOnly: boolean;
18
- lightDisabled: boolean;
19
- bottomFiles: boolean;
20
- maxSize: number;
21
- maxFiles: number;
22
- minFiles: number;
23
- formData: any;
24
- uploadEndPoint: string;
25
- deleteEndPoint?: string;
26
- downloadEndPoint?: string;
27
- fileNamePlaceholder?: string;
28
- showInputWithError: boolean;
29
- showDeleteButton: boolean;
30
- isTooltipValue: boolean;
31
- isDownloadingFile: boolean;
32
- isHideListFiles: boolean;
33
- target: InputFileTargetTypes;
34
- deleteConfirm?: (file: UploadedFileModel, result: (ok: boolean) => void) => void;
35
- innerTemplate: TemplateRef<any>;
36
- uploadAdditionalData: any;
37
- invalid: boolean;
38
- invalidMessage: string | string[];
39
- checkInvalid: true | false | null;
40
- messageTooManyFiles: string;
41
- messageFileTooBig: string;
42
- messageEmptyFile: string;
43
- messageInvalidFileFormat: string;
44
- placeholder: string;
45
- placeholderFileMaxSize: string;
46
- placeholderFileFormat: string;
47
- set initFiles(data: UploadedFileModel[] | UploadedFileModel);
48
- set initAllowedExtensions(val: string[]);
49
- filesChanged: EventEmitter<InputFileModel[]>;
50
- checkDroppedFile: EventEmitter<InputFileModel>;
51
- constructor(fileUploadService: FileUploadService);
52
- get canAdd(): boolean;
53
- get getTarget(): string;
54
- get isInvalidMessage(): boolean;
55
- get checkValidClasses(): string;
56
- get getClasses(): string;
57
- get isValid(): boolean;
58
- getTooltipValue(value: string | undefined): string;
59
- protected baseValidate(): boolean;
60
- trackByFn(index: number, item: InputFileModel): string | undefined;
61
- delete(file: UploadedFileModel): void;
62
- canCancelUploading(file: InputFileModel): boolean;
63
- clear(file: InputFileModel): void;
64
- downloadUrl(file: UploadedFileModel): string;
65
- dropped(files: NgxFileDropEntry[]): void;
66
- private formDataKeys;
67
- private createFormData;
68
- private uploadFile;
69
- private checkForUpload;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFileComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFileComponent, "mrx-input-file", never, { "autoUpload": "autoUpload"; "required": "required"; "disabled": "disabled"; "viewOnly": "viewOnly"; "lightDisabled": "lightDisabled"; "bottomFiles": "bottomFiles"; "maxSize": "maxSize"; "maxFiles": "maxFiles"; "minFiles": "minFiles"; "formData": "formData"; "uploadEndPoint": "uploadEndPoint"; "deleteEndPoint": "deleteEndPoint"; "downloadEndPoint": "downloadEndPoint"; "fileNamePlaceholder": "fileNamePlaceholder"; "showInputWithError": "showInputWithError"; "showDeleteButton": "showDeleteButton"; "isTooltipValue": "isTooltipValue"; "isDownloadingFile": "isDownloadingFile"; "isHideListFiles": "isHideListFiles"; "target": "target"; "deleteConfirm": "deleteConfirm"; "innerTemplate": "innerTemplate"; "uploadAdditionalData": "uploadAdditionalData"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "messageTooManyFiles": "messageTooManyFiles"; "messageFileTooBig": "messageFileTooBig"; "messageEmptyFile": "messageEmptyFile"; "messageInvalidFileFormat": "messageInvalidFileFormat"; "placeholder": "placeholder"; "placeholderFileMaxSize": "placeholderFileMaxSize"; "placeholderFileFormat": "placeholderFileFormat"; "initFiles": "files"; "initAllowedExtensions": "allowedExtensions"; }, { "filesChanged": "filesChanged"; "checkDroppedFile": "checkDroppedFile"; }, never, never, false>;
72
- }
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { NgxFileDropEntry } from 'ngx-file-drop';
3
+ import { InputFileModel, UploadedFileModel } from '../../../models/input-file/input-file.model';
4
+ import { formatBytes } from '../../../helpers/extension/input-file.extension';
5
+ import { FileUploadService } from '../../../services/file-upload/file-upload.service';
6
+ import { InputFileTargetTypes } from './input-file.enum';
7
+ import * as i0 from "@angular/core";
8
+ export declare class InputFileComponent {
9
+ private fileUploadService;
10
+ formatBytes: typeof formatBytes;
11
+ extensions?: string;
12
+ allowedExtensions: string[];
13
+ files: InputFileModel[];
14
+ autoUpload: boolean;
15
+ required: boolean;
16
+ disabled: boolean;
17
+ viewOnly: boolean;
18
+ lightDisabled: boolean;
19
+ bottomFiles: boolean;
20
+ maxSize: number;
21
+ maxFiles: number;
22
+ minFiles: number;
23
+ formData: any;
24
+ uploadEndPoint: string;
25
+ deleteEndPoint?: string;
26
+ downloadEndPoint?: string;
27
+ fileNamePlaceholder?: string;
28
+ showInputWithError: boolean;
29
+ showDeleteButton: boolean;
30
+ isTooltipValue: boolean;
31
+ isDownloadingFile: boolean;
32
+ isHideListFiles: boolean;
33
+ target: InputFileTargetTypes;
34
+ deleteConfirm?: (file: UploadedFileModel, result: (ok: boolean) => void) => void;
35
+ innerTemplate: TemplateRef<any>;
36
+ uploadAdditionalData: any;
37
+ invalid: boolean;
38
+ invalidMessage: string | string[];
39
+ checkInvalid: true | false | null;
40
+ messageTooManyFiles: string;
41
+ messageFileTooBig: string;
42
+ messageEmptyFile: string;
43
+ messageInvalidFileFormat: string;
44
+ placeholder: string;
45
+ placeholderFileMaxSize: string;
46
+ placeholderFileFormat: string;
47
+ set initFiles(data: UploadedFileModel[] | UploadedFileModel);
48
+ set initAllowedExtensions(val: string[]);
49
+ filesChanged: EventEmitter<InputFileModel[]>;
50
+ checkDroppedFile: EventEmitter<InputFileModel>;
51
+ constructor(fileUploadService: FileUploadService);
52
+ get canAdd(): boolean;
53
+ get getTarget(): string;
54
+ get isInvalidMessage(): boolean;
55
+ get checkValidClasses(): string;
56
+ get getClasses(): string;
57
+ get isValid(): boolean;
58
+ getTooltipValue(value: string | undefined): string;
59
+ protected baseValidate(): boolean;
60
+ trackByFn(index: number, item: InputFileModel): string | undefined;
61
+ delete(file: UploadedFileModel): void;
62
+ canCancelUploading(file: InputFileModel): boolean;
63
+ clear(file: InputFileModel): void;
64
+ downloadUrl(file: UploadedFileModel): string;
65
+ dropped(files: NgxFileDropEntry[]): void;
66
+ private formDataKeys;
67
+ private createFormData;
68
+ private uploadFile;
69
+ private checkForUpload;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFileComponent, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFileComponent, "mrx-input-file", never, { "autoUpload": { "alias": "autoUpload"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "viewOnly": { "alias": "viewOnly"; "required": false; }; "lightDisabled": { "alias": "lightDisabled"; "required": false; }; "bottomFiles": { "alias": "bottomFiles"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "maxFiles": { "alias": "maxFiles"; "required": false; }; "minFiles": { "alias": "minFiles"; "required": false; }; "formData": { "alias": "formData"; "required": false; }; "uploadEndPoint": { "alias": "uploadEndPoint"; "required": false; }; "deleteEndPoint": { "alias": "deleteEndPoint"; "required": false; }; "downloadEndPoint": { "alias": "downloadEndPoint"; "required": false; }; "fileNamePlaceholder": { "alias": "fileNamePlaceholder"; "required": false; }; "showInputWithError": { "alias": "showInputWithError"; "required": false; }; "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; "isTooltipValue": { "alias": "isTooltipValue"; "required": false; }; "isDownloadingFile": { "alias": "isDownloadingFile"; "required": false; }; "isHideListFiles": { "alias": "isHideListFiles"; "required": false; }; "target": { "alias": "target"; "required": false; }; "deleteConfirm": { "alias": "deleteConfirm"; "required": false; }; "innerTemplate": { "alias": "innerTemplate"; "required": false; }; "uploadAdditionalData": { "alias": "uploadAdditionalData"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; "messageTooManyFiles": { "alias": "messageTooManyFiles"; "required": false; }; "messageFileTooBig": { "alias": "messageFileTooBig"; "required": false; }; "messageEmptyFile": { "alias": "messageEmptyFile"; "required": false; }; "messageInvalidFileFormat": { "alias": "messageInvalidFileFormat"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placeholderFileMaxSize": { "alias": "placeholderFileMaxSize"; "required": false; }; "placeholderFileFormat": { "alias": "placeholderFileFormat"; "required": false; }; "initFiles": { "alias": "files"; "required": false; }; "initAllowedExtensions": { "alias": "allowedExtensions"; "required": false; }; }, { "filesChanged": "filesChanged"; "checkDroppedFile": "checkDroppedFile"; }, never, never, false, never>;
72
+ }
@@ -1,7 +1,7 @@
1
- export declare enum InputFileTargetTypesEnum {
2
- '_self' = "_self",
3
- '_blank' = "_blank",
4
- '_parent' = "_parent",
5
- '_top' = "_top"
6
- }
7
- export declare type InputFileTargetTypes = '_self' | '_blank' | '_parent' | '_top';
1
+ export declare enum InputFileTargetTypesEnum {
2
+ '_self' = "_self",
3
+ '_blank' = "_blank",
4
+ '_parent' = "_parent",
5
+ '_top' = "_top"
6
+ }
7
+ export type InputFileTargetTypes = '_self' | '_blank' | '_parent' | '_top';
@@ -1,13 +1,13 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-file.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/common/http";
6
- import * as i5 from "ngx-file-drop";
7
- import * as i6 from "../../error-message/error-message.module";
8
- import * as i7 from "../../cdk-tooltip/cdk-tooltip.module";
9
- export declare class InputFileModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFileModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputFileModule, [typeof i1.InputFileComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.HttpClientModule, typeof i5.NgxFileDropModule, typeof i6.ErrorMessageModule, typeof i7.CdkTooltipModule], [typeof i1.InputFileComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<InputFileModule>;
13
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-file.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/common/http";
6
+ import * as i5 from "ngx-file-drop";
7
+ import * as i6 from "../../error-message/error-message.module";
8
+ import * as i7 from "../../cdk-tooltip/cdk-tooltip.module";
9
+ export declare class InputFileModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFileModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputFileModule, [typeof i1.InputFileComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.HttpClientModule, typeof i5.NgxFileDropModule, typeof i6.ErrorMessageModule, typeof i7.CdkTooltipModule], [typeof i1.InputFileComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputFileModule>;
13
+ }
@@ -1,33 +1,42 @@
1
- import { SimpleModalComponent } from 'ngx-simple-modal';
2
- import { CropperSettings, ImageCroppedEvent, ImageTransform, LoadedImage } from 'ngx-image-cropper';
3
- import * as i0 from "@angular/core";
4
- export interface ImageEditSelect {
5
- title: string;
6
- fileImage?: any;
7
- }
8
- export interface ImageEditResult {
9
- result: boolean;
10
- fileImage?: any;
11
- fileUrl?: string;
12
- }
13
- export declare class FileImageEditModalComponent extends SimpleModalComponent<ImageEditSelect, ImageEditResult> {
14
- title: string;
15
- fileImage?: any;
16
- imageChangedEvent: any;
17
- croppedImage: string;
18
- canvasRotation: number;
19
- transform: ImageTransform;
20
- cropperSettings: CropperSettings;
21
- constructor();
22
- ok(): void;
23
- rotateLeft(): void;
24
- rotateRight(): void;
25
- private flipAfterRotate;
26
- fileChangeEvent(event: any): void;
27
- imageCropped(event: ImageCroppedEvent): void;
28
- imageLoaded(image: LoadedImage): void;
29
- cropperReady(): void;
30
- loadImageFailed(): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<FileImageEditModalComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<FileImageEditModalComponent, "mrx-file-image-edit-modal", never, {}, {}, never, never, false>;
33
- }
1
+ import { ImageCroppedEvent, ImageTransform, LoadedImage } from 'ngx-image-cropper';
2
+ import { ModalComponent } from '../../../../../services/modal-service/helpers/modal.component';
3
+ import { ModalRef } from '../../../../../services/modal-service/helpers/modal-ref';
4
+ import * as i0 from "@angular/core";
5
+ export interface ImageEditSelect {
6
+ title: string;
7
+ fileImage?: any;
8
+ cropperMaxWidth: number;
9
+ cropperMaxHeight: number;
10
+ aspectRatio: number;
11
+ }
12
+ export interface ImageEditResult {
13
+ result: boolean;
14
+ fileImage?: any;
15
+ fileUrl?: string;
16
+ }
17
+ export declare class FileImageEditModalComponent extends ModalComponent<ImageEditSelect, ImageEditResult> {
18
+ private dialogRef;
19
+ data: ImageEditSelect;
20
+ title: string;
21
+ fileImage?: any;
22
+ cropperMaxWidth: number;
23
+ cropperMaxHeight: number;
24
+ aspectRatio: number;
25
+ imageChangedEvent: any;
26
+ croppedImage: string;
27
+ canvasRotation: number;
28
+ transform: ImageTransform;
29
+ constructor(dialogRef: ModalRef<ImageEditResult>, data: ImageEditSelect);
30
+ ok(): Promise<void>;
31
+ rotateLeft(): void;
32
+ rotateRight(): void;
33
+ private flipAfterRotate;
34
+ fileChangeEvent(event: any): void;
35
+ imageCropped(event: ImageCroppedEvent): void;
36
+ imageLoaded(image: LoadedImage): void;
37
+ cropperReady(): void;
38
+ loadImageFailed(): void;
39
+ close(): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileImageEditModalComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileImageEditModalComponent, "mrx-file-image-edit-modal", never, {}, {}, never, never, false, never>;
42
+ }