myrta-ui 17.0.20 → 17.0.22

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 (1454) hide show
  1. package/esm2022/lib/components/alert/alert.component.mjs +43 -0
  2. package/esm2022/lib/components/alert/alert.enum.mjs +15 -0
  3. package/esm2022/lib/components/alert/alert.module.mjs +19 -0
  4. package/esm2022/lib/components/badges/badge.enum.mjs +32 -0
  5. package/esm2022/lib/components/badges/badges.module.mjs +30 -0
  6. package/esm2022/lib/components/badges/components/badge/badge.component.mjs +61 -0
  7. package/esm2022/lib/components/badges/components/badge-group/badge-group.component.mjs +11 -0
  8. package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +29 -0
  9. package/esm2022/lib/components/breadcrumbs/breadcrumbs.enum.mjs +6 -0
  10. package/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +31 -0
  11. package/esm2022/lib/components/button/button.component.mjs +100 -0
  12. package/esm2022/lib/components/button/button.enum.mjs +27 -0
  13. package/esm2022/lib/components/button/button.module.mjs +21 -0
  14. package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +29 -0
  15. package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +99 -0
  16. package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -0
  17. package/esm2022/lib/components/cdk-tooltip/constants/index.mjs +70 -0
  18. package/esm2022/lib/components/cdk-tooltip/models/tooltip-data.mjs +2 -0
  19. package/esm2022/lib/components/chars-left/chars-left.component.mjs +24 -0
  20. package/esm2022/lib/components/chars-left/chars-left.module.mjs +19 -0
  21. package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +24 -0
  22. package/esm2022/lib/components/dropdown/dropdown.component.mjs +107 -0
  23. package/esm2022/lib/components/dropdown/dropdown.module.mjs +21 -0
  24. package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
  25. package/esm2022/lib/components/error-message/error-message.module.mjs +19 -0
  26. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +146 -0
  27. package/esm2022/lib/components/form/checkbox/checkbox.enum.mjs +2 -0
  28. package/esm2022/lib/components/form/checkbox/checkbox.module.mjs +22 -0
  29. package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +216 -0
  30. package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +47 -0
  31. package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +48 -0
  32. package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +114 -0
  33. package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +19 -0
  34. package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +15 -0
  35. package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +27 -0
  36. package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +20 -0
  37. package/esm2022/lib/components/form/checkbox-group/helpers/get-inner-list.helper.mjs +46 -0
  38. package/esm2022/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +11 -0
  39. package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +50 -0
  40. package/esm2022/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.mjs +13 -0
  41. package/esm2022/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +2 -0
  42. package/esm2022/lib/components/form/editor/config/default-inline-style.mjs +6 -0
  43. package/esm2022/lib/components/form/editor/config/index.mjs +2 -0
  44. package/esm2022/lib/components/form/editor/config/popups-toolbar.mjs +9 -0
  45. package/esm2022/lib/components/form/editor/config/toolbar.mjs +72 -0
  46. package/esm2022/lib/components/form/editor/editor.component.mjs +281 -0
  47. package/esm2022/lib/components/form/editor/editor.enum.mjs +7 -0
  48. package/esm2022/lib/components/form/editor/editor.module.mjs +45 -0
  49. package/esm2022/lib/components/form/editor/models/toolbar.model.mjs +2 -0
  50. package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +92 -0
  51. package/esm2022/lib/components/form/input-date-time/constants/value-models.mjs +14 -0
  52. package/esm2022/lib/components/form/input-date-time/enum/timezone.mjs +7 -0
  53. package/esm2022/lib/components/form/input-date-time/helpers/clean-date.mjs +5 -0
  54. package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +23 -0
  55. package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +10 -0
  56. package/esm2022/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +10 -0
  57. package/esm2022/lib/components/form/input-date-time/helpers/validate-value-models.mjs +60 -0
  58. package/esm2022/lib/components/form/input-date-time/helpers/value-parser.mjs +39 -0
  59. package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +386 -0
  60. package/esm2022/lib/components/form/input-date-time/input-date-time.enum.mjs +7 -0
  61. package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +46 -0
  62. package/esm2022/lib/components/form/input-datepicker/constants/value-models.mjs +15 -0
  63. package/esm2022/lib/components/form/input-datepicker/helpers/clean-date.mjs +5 -0
  64. package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +23 -0
  65. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +10 -0
  66. package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +10 -0
  67. package/esm2022/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +74 -0
  68. package/esm2022/lib/components/form/input-datepicker/helpers/value-parser.mjs +47 -0
  69. package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +356 -0
  70. package/esm2022/lib/components/form/input-datepicker/input-datepicker.enum.mjs +7 -0
  71. package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +46 -0
  72. package/esm2022/lib/components/form/input-file/enums/error-messages.enum.mjs +8 -0
  73. package/esm2022/lib/components/form/input-file/input-file.component.mjs +366 -0
  74. package/esm2022/lib/components/form/input-file/input-file.enum.mjs +8 -0
  75. package/esm2022/lib/components/form/input-file/input-file.module.mjs +26 -0
  76. package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +88 -0
  77. package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +350 -0
  78. package/esm2022/lib/components/form/input-file-image/input-file-image.enum.mjs +10 -0
  79. package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +53 -0
  80. package/esm2022/lib/components/form/input-number/input-number.component.mjs +267 -0
  81. package/esm2022/lib/components/form/input-number/input-number.enum.mjs +7 -0
  82. package/esm2022/lib/components/form/input-number/input-number.module.mjs +55 -0
  83. package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +370 -0
  84. package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +8 -0
  85. package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +43 -0
  86. package/esm2022/lib/components/form/input-opt/input-opt.module.mjs +38 -0
  87. package/esm2022/lib/components/form/input-opt/models/input-opt.model.mjs +6 -0
  88. package/esm2022/lib/components/form/input-opt/services/input-opt.service.mjs +33 -0
  89. package/esm2022/lib/components/form/input-password/input-password.component.mjs +118 -0
  90. package/esm2022/lib/components/form/input-password/input-password.enum.mjs +7 -0
  91. package/esm2022/lib/components/form/input-password/input-password.module.mjs +36 -0
  92. package/esm2022/lib/components/form/input-phone/data/country-code.mjs +1331 -0
  93. package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +35 -0
  94. package/esm2022/lib/components/form/input-phone/enums/country-iso.enum.mjs +247 -0
  95. package/esm2022/lib/components/form/input-phone/enums/input-phone.enum.mjs +7 -0
  96. package/esm2022/lib/components/form/input-phone/enums/mask.enum.mjs +139 -0
  97. package/esm2022/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +6 -0
  98. package/esm2022/lib/components/form/input-phone/enums/search-country-field.enum.mjs +8 -0
  99. package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +679 -0
  100. package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +50 -0
  101. package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +61 -0
  102. package/esm2022/lib/components/form/input-phone/interfaces/change-data.mjs +2 -0
  103. package/esm2022/lib/components/form/input-phone/models/country.model.mjs +2 -0
  104. package/esm2022/lib/components/form/input-search/input-search.component.mjs +167 -0
  105. package/esm2022/lib/components/form/input-search/input-search.enum.mjs +7 -0
  106. package/esm2022/lib/components/form/input-search/input-search.module.mjs +41 -0
  107. package/esm2022/lib/components/form/input-select/input-select.component.mjs +253 -0
  108. package/esm2022/lib/components/form/input-select/input-select.enum.mjs +6 -0
  109. package/esm2022/lib/components/form/input-select/input-select.module.mjs +45 -0
  110. package/esm2022/lib/components/form/input-tel/assets/base64.mjs +4 -0
  111. package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +1323 -0
  112. package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
  113. package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +6 -0
  114. package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +8 -0
  115. package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
  116. package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +7 -0
  117. package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +400 -0
  118. package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +43 -0
  119. package/esm2022/lib/components/form/input-tel/models/country.model.mjs +2 -0
  120. package/esm2022/lib/components/form/input-text/input-text.component.mjs +189 -0
  121. package/esm2022/lib/components/form/input-text/input-text.enum.mjs +15 -0
  122. package/esm2022/lib/components/form/input-text/input-text.module.mjs +49 -0
  123. package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +197 -0
  124. package/esm2022/lib/components/form/input-textarea/input-textarea.enum.mjs +7 -0
  125. package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +49 -0
  126. package/esm2022/lib/components/form/input-timepicker/constants/value-models.mjs +8 -0
  127. package/esm2022/lib/components/form/input-timepicker/helpers/clean-date.mjs +5 -0
  128. package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +14 -0
  129. package/esm2022/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +5 -0
  130. package/esm2022/lib/components/form/input-timepicker/helpers/get-date-object.mjs +5 -0
  131. package/esm2022/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +29 -0
  132. package/esm2022/lib/components/form/input-timepicker/helpers/value-parser.mjs +18 -0
  133. package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +292 -0
  134. package/esm2022/lib/components/form/input-timepicker/input-timepicker.enum.mjs +7 -0
  135. package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +46 -0
  136. package/esm2022/lib/components/form/json-editor/json-editor.component.mjs +224 -0
  137. package/esm2022/lib/components/form/json-editor/json-editor.enum.mjs +2 -0
  138. package/esm2022/lib/components/form/json-editor/json-editor.module.mjs +24 -0
  139. package/esm2022/lib/components/form/json-editor/utils/jsoneditoroptions.mjs +133 -0
  140. package/esm2022/lib/components/form/radio/radio.component.mjs +91 -0
  141. package/esm2022/lib/components/form/radio/radio.enum.mjs +5 -0
  142. package/esm2022/lib/components/form/radio/radio.module.mjs +20 -0
  143. package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +48 -0
  144. package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +72 -0
  145. package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
  146. package/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +11 -0
  147. package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
  148. package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +2 -0
  149. package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +192 -0
  150. package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +47 -0
  151. package/esm2022/lib/components/form/rating/rating.component.mjs +215 -0
  152. package/esm2022/lib/components/form/rating/rating.enum.mjs +16 -0
  153. package/esm2022/lib/components/form/rating/rating.module.mjs +25 -0
  154. package/esm2022/lib/components/form/switch/switch.component.mjs +95 -0
  155. package/esm2022/lib/components/form/switch/switch.enum.mjs +11 -0
  156. package/esm2022/lib/components/form/switch/switch.module.mjs +21 -0
  157. package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +37 -0
  158. package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +112 -0
  159. package/esm2022/lib/components/gallery/constants/custom-buttons-default.mjs +7 -0
  160. package/esm2022/lib/components/gallery/constants/thumbs-config-default.mjs +5 -0
  161. package/esm2022/lib/components/gallery/gallery.component.mjs +203 -0
  162. package/esm2022/lib/components/gallery/gallery.module.mjs +54 -0
  163. package/esm2022/lib/components/gallery/models/gallery-item.model.mjs +2 -0
  164. package/esm2022/lib/components/gallery/services/gallery.service.mjs +33 -0
  165. package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +121 -0
  166. package/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +19 -0
  167. package/esm2022/lib/components/icon-button/icon-button.component.mjs +55 -0
  168. package/esm2022/lib/components/icon-button/icon-button.enum.mjs +17 -0
  169. package/esm2022/lib/components/icon-button/icon-button.module.mjs +19 -0
  170. package/esm2022/lib/components/label/label.component.mjs +143 -0
  171. package/esm2022/lib/components/label/label.module.mjs +25 -0
  172. package/esm2022/lib/components/link/link.component.mjs +61 -0
  173. package/esm2022/lib/components/link/link.enum.mjs +20 -0
  174. package/esm2022/lib/components/link/link.module.mjs +20 -0
  175. package/esm2022/lib/components/loader/loader.component.mjs +24 -0
  176. package/esm2022/lib/components/loader/loader.enum.mjs +20 -0
  177. package/esm2022/lib/components/loader/loader.module.mjs +19 -0
  178. package/esm2022/lib/components/modal/modal.component.mjs +137 -0
  179. package/esm2022/lib/components/modal/modal.emun.mjs +21 -0
  180. package/esm2022/lib/components/modal/modal.module.mjs +20 -0
  181. package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +31 -0
  182. package/esm2022/lib/components/pages-nav/pages-nav.enum.mjs +6 -0
  183. package/esm2022/lib/components/pages-nav/pages-nav.module.mjs +24 -0
  184. package/esm2022/lib/components/paginator/paginator.component.mjs +140 -0
  185. package/esm2022/lib/components/paginator/paginator.enum.mjs +6 -0
  186. package/esm2022/lib/components/paginator/paginator.module.mjs +31 -0
  187. package/esm2022/lib/components/pdf-viewer/pdf-viewer.component.mjs +268 -0
  188. package/esm2022/lib/components/pdf-viewer/pdf-viewer.module.mjs +59 -0
  189. package/esm2022/lib/components/progress/progress.component.mjs +24 -0
  190. package/esm2022/lib/components/progress/progress.enum.mjs +8 -0
  191. package/esm2022/lib/components/progress/progress.module.mjs +19 -0
  192. package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +16 -0
  193. package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +16 -0
  194. package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +16 -0
  195. package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +16 -0
  196. package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +16 -0
  197. package/esm2022/lib/components/save-state/save-state.component.mjs +40 -0
  198. package/esm2022/lib/components/save-state/save-state.enum.mjs +2 -0
  199. package/esm2022/lib/components/save-state/save-state.module.mjs +37 -0
  200. package/esm2022/lib/components/stepper/stepper.component.mjs +52 -0
  201. package/esm2022/lib/components/stepper/stepper.enum.mjs +6 -0
  202. package/esm2022/lib/components/stepper/stepper.module.mjs +20 -0
  203. package/esm2022/lib/components/table/components/column/column.component.mjs +40 -0
  204. package/esm2022/lib/components/table/default/default-pager-settings.mjs +7 -0
  205. package/esm2022/lib/components/table/models/data-state-change.event.mjs +2 -0
  206. package/esm2022/lib/components/table/models/index.mjs +4 -0
  207. package/esm2022/lib/components/table/models/pager-settings.mjs +2 -0
  208. package/esm2022/lib/components/table/table.component.mjs +274 -0
  209. package/esm2022/lib/components/table/table.enum.mjs +8 -0
  210. package/esm2022/lib/components/table/table.module.mjs +50 -0
  211. package/esm2022/lib/components/tabs/tab/tab.component.mjs +33 -0
  212. package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +27 -0
  213. package/esm2022/lib/components/tabs/tabs.enum.mjs +14 -0
  214. package/esm2022/lib/components/tabs/tabs.module.mjs +20 -0
  215. package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +65 -0
  216. package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +36 -0
  217. package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +11 -0
  218. package/esm2022/lib/components/tooltip/tooltip.component.mjs +59 -0
  219. package/esm2022/lib/components/tooltip/tooltip.enum.mjs +6 -0
  220. package/esm2022/lib/components/tooltip/tooltip.module.mjs +21 -0
  221. package/esm2022/lib/components/truncate-text/directives/truncate-text.directive.mjs +149 -0
  222. package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +30 -0
  223. package/esm2022/lib/components/truncate-text/truncate-text.enum.mjs +2 -0
  224. package/esm2022/lib/components/truncate-text/truncate-text.module.mjs +21 -0
  225. package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
  226. package/esm2022/lib/components/warning-message/warning-message.module.mjs +19 -0
  227. package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +25 -0
  228. package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +6 -0
  229. package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -0
  230. package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +15 -0
  231. package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +23 -0
  232. package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +7 -0
  233. package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -0
  234. package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +99 -0
  235. package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +17 -0
  236. package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -0
  237. package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
  238. package/esm2022/lib/directives/autosize/autosize.module.mjs +24 -0
  239. package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
  240. package/esm2022/lib/directives/truncate/truncate.module.mjs +18 -0
  241. package/esm2022/lib/enums/typed.input.state.mjs +8 -0
  242. package/esm2022/lib/helpers/extension/input-file.extension.mjs +39 -0
  243. package/esm2022/lib/helpers/formatting-date.mjs +51 -0
  244. package/esm2022/lib/helpers/formatting-dates-from-array.mjs +18 -0
  245. package/esm2022/lib/helpers/formatting-iso-to-string.mjs +13 -0
  246. package/esm2022/lib/helpers/index.mjs +8 -0
  247. package/esm2022/lib/helpers/number-format.mjs +9 -0
  248. package/esm2022/lib/helpers/string-hash-code.mjs +17 -0
  249. package/esm2022/lib/helpers/word-form.mjs +11 -0
  250. package/esm2022/lib/models/index.mjs +3 -0
  251. package/esm2022/lib/models/input-file/input-file.model.mjs +2 -0
  252. package/esm2022/lib/models/typed-input-model.mjs +2 -0
  253. package/esm2022/lib/pipes/currency/currency.module.mjs +20 -0
  254. package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
  255. package/esm2022/lib/pipes/date/date-format.module.mjs +19 -0
  256. package/esm2022/lib/pipes/date/date-format.pipe.mjs +21 -0
  257. package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +21 -0
  258. package/esm2022/lib/pipes/date/enums/timezone.mjs +10 -0
  259. package/esm2022/lib/pipes/date/helpers/change-timezone.mjs +23 -0
  260. package/esm2022/lib/pipes/phone/phone-format.module.mjs +18 -0
  261. package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
  262. package/esm2022/lib/pipes/safe/safe.module.mjs +20 -0
  263. package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
  264. package/esm2022/lib/pipes/truncate/truncate.module.mjs +20 -0
  265. package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +23 -0
  266. package/esm2022/lib/services/file-upload/file-upload.service.mjs +27 -0
  267. package/esm2022/lib/services/index.mjs +16 -0
  268. package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +44 -0
  269. package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +48 -0
  270. package/esm2022/lib/services/modal-service/helpers/index.mjs +5 -0
  271. package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +14 -0
  272. package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +29 -0
  273. package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +4 -0
  274. package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +4 -0
  275. package/esm2022/lib/services/modal-service/modal-service.module.mjs +25 -0
  276. package/esm2022/lib/services/modal-service/modal-service.service.mjs +84 -0
  277. package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +2 -0
  278. package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +43 -0
  279. package/esm2022/lib/services/mrx-form-validator/constants/invalid-messages.mjs +10 -0
  280. package/esm2022/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +10 -0
  281. package/esm2022/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +29 -0
  282. package/esm2022/lib/services/mrx-form-validator/models/index.mjs +4 -0
  283. package/esm2022/lib/services/mrx-form-validator/models/validations-options.model.mjs +2 -0
  284. package/esm2022/lib/services/mrx-form-validator/models/validations-settings.model.mjs +2 -0
  285. package/esm2022/lib/services/mrx-form-validator/models/validations-types.model.mjs +22 -0
  286. package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +197 -0
  287. package/esm2022/lib/services/mrx-form-validator/validations/callback.validation.mjs +15 -0
  288. package/esm2022/lib/services/mrx-form-validator/validations/email.validation.mjs +11 -0
  289. package/esm2022/lib/services/mrx-form-validator/validations/max-length.validation.mjs +14 -0
  290. package/esm2022/lib/services/mrx-form-validator/validations/max-value.validation.mjs +10 -0
  291. package/esm2022/lib/services/mrx-form-validator/validations/min-length.validation.mjs +15 -0
  292. package/esm2022/lib/services/mrx-form-validator/validations/min-value.validation.mjs +10 -0
  293. package/esm2022/lib/services/mrx-form-validator/validations/pattern.validation.mjs +11 -0
  294. package/esm2022/lib/services/mrx-form-validator/validations/required.validation.mjs +22 -0
  295. package/esm2022/lib/services/save-store/constants/constants.mjs +2 -0
  296. package/esm2022/lib/services/save-store/models/save-store.model.mjs +2 -0
  297. package/esm2022/lib/services/save-store/save-store.module.mjs +29 -0
  298. package/esm2022/lib/services/save-store/store/actions.mjs +23 -0
  299. package/esm2022/lib/services/save-store/store/effect.mjs +61 -0
  300. package/esm2022/lib/services/save-store/store/reducer.mjs +96 -0
  301. package/esm2022/lib/services/save-store/store/selectors.mjs +5 -0
  302. package/esm2022/lib/services/save-store/store/state.mjs +4 -0
  303. package/esm2022/lib/services/toaster-service/components/toaster/toaster.component.mjs +29 -0
  304. package/esm2022/lib/services/toaster-service/config/index.mjs +11 -0
  305. package/esm2022/lib/services/toaster-service/models/toaster.model.mjs +15 -0
  306. package/esm2022/lib/services/toaster-service/toaster-service.module.mjs +36 -0
  307. package/esm2022/lib/services/toaster-service/toaster-service.service.mjs +53 -0
  308. package/esm2022/myrta-ui.mjs +5 -0
  309. package/esm2022/public-api.mjs +183 -0
  310. package/fesm2022/myrta-ui.mjs +16509 -0
  311. package/fesm2022/myrta-ui.mjs.map +1 -0
  312. package/index.d.ts +5 -0
  313. package/lib/components/alert/alert.component.d.ts +17 -0
  314. package/lib/components/alert/alert.enum.d.ts +13 -0
  315. package/lib/components/alert/alert.module.d.ts +8 -0
  316. package/lib/components/badges/badge.enum.d.ts +38 -0
  317. package/lib/components/badges/badges.module.d.ts +9 -0
  318. package/lib/components/badges/components/badge/badge.component.d.ts +21 -0
  319. package/lib/components/badges/components/badge-group/badge-group.component.d.ts +5 -0
  320. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +11 -0
  321. package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +16 -0
  322. package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +9 -0
  323. package/lib/components/button/button.component.d.ts +31 -0
  324. package/lib/components/button/button.enum.d.ts +27 -0
  325. package/lib/components/button/button.module.d.ts +10 -0
  326. package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +13 -0
  327. package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +24 -0
  328. package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +10 -0
  329. package/lib/components/cdk-tooltip/constants/index.d.ts +7 -0
  330. package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +6 -0
  331. package/lib/components/chars-left/chars-left.component.d.ts +9 -0
  332. package/lib/components/chars-left/chars-left.module.d.ts +8 -0
  333. package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +9 -0
  334. package/lib/components/dropdown/dropdown.component.d.ts +26 -0
  335. package/lib/components/dropdown/dropdown.module.d.ts +10 -0
  336. package/lib/components/error-message/error-message.component.d.ts +10 -0
  337. package/lib/components/error-message/error-message.module.d.ts +8 -0
  338. package/lib/components/form/checkbox/checkbox.component.d.ts +46 -0
  339. package/lib/components/form/checkbox/checkbox.enum.d.ts +10 -0
  340. package/lib/components/form/checkbox/checkbox.module.d.ts +11 -0
  341. package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +63 -0
  342. package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +16 -0
  343. package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +19 -0
  344. package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +33 -0
  345. package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +3 -0
  346. package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +3 -0
  347. package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +2 -0
  348. package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +2 -0
  349. package/lib/components/form/checkbox-group/helpers/get-inner-list.helper.d.ts +2 -0
  350. package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +2 -0
  351. package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +2 -0
  352. package/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.d.ts +2 -0
  353. package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +26 -0
  354. package/lib/components/form/editor/config/default-inline-style.d.ts +11 -0
  355. package/lib/components/form/editor/config/index.d.ts +1 -0
  356. package/lib/components/form/editor/config/popups-toolbar.d.ts +15 -0
  357. package/lib/components/form/editor/config/toolbar.d.ts +2 -0
  358. package/lib/components/form/editor/editor.component.d.ts +60 -0
  359. package/lib/components/form/editor/editor.enum.d.ts +10 -0
  360. package/lib/components/form/editor/editor.module.d.ts +14 -0
  361. package/lib/components/form/editor/models/toolbar.model.d.ts +6 -0
  362. package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -0
  363. package/lib/components/form/input-date-time/constants/value-models.d.ts +3 -0
  364. package/lib/components/form/input-date-time/enum/timezone.d.ts +6 -0
  365. package/lib/components/form/input-date-time/helpers/clean-date.d.ts +1 -0
  366. package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +1 -0
  367. package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +3 -0
  368. package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +2 -0
  369. package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +19 -0
  370. package/lib/components/form/input-date-time/helpers/value-parser.d.ts +4 -0
  371. package/lib/components/form/input-date-time/input-date-time.component.d.ts +72 -0
  372. package/lib/components/form/input-date-time/input-date-time.enum.d.ts +21 -0
  373. package/lib/components/form/input-date-time/input-date-time.module.d.ts +13 -0
  374. package/lib/components/form/input-datepicker/constants/value-models.d.ts +3 -0
  375. package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +1 -0
  376. package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +1 -0
  377. package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +3 -0
  378. package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +2 -0
  379. package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +20 -0
  380. package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +3 -0
  381. package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +69 -0
  382. package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +12 -0
  383. package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +13 -0
  384. package/lib/components/form/input-file/enums/error-messages.enum.d.ts +6 -0
  385. package/lib/components/form/input-file/input-file.component.d.ts +74 -0
  386. package/lib/components/form/input-file/input-file.enum.d.ts +7 -0
  387. package/lib/components/form/input-file/input-file.module.d.ts +13 -0
  388. package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +43 -0
  389. package/lib/components/form/input-file-image/input-file-image.component.d.ts +57 -0
  390. package/lib/components/form/input-file-image/input-file-image.enum.d.ts +8 -0
  391. package/lib/components/form/input-file-image/input-file-image.module.d.ts +15 -0
  392. package/lib/components/form/input-number/input-number.component.d.ts +64 -0
  393. package/lib/components/form/input-number/input-number.enum.d.ts +12 -0
  394. package/lib/components/form/input-number/input-number.module.d.ts +13 -0
  395. package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +77 -0
  396. package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +7 -0
  397. package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +8 -0
  398. package/lib/components/form/input-opt/input-opt.module.d.ts +11 -0
  399. package/lib/components/form/input-opt/models/input-opt.model.d.ts +26 -0
  400. package/lib/components/form/input-opt/services/input-opt.service.d.ts +11 -0
  401. package/lib/components/form/input-password/input-password.component.d.ts +38 -0
  402. package/lib/components/form/input-password/input-password.enum.d.ts +7 -0
  403. package/lib/components/form/input-password/input-password.module.d.ts +11 -0
  404. package/lib/components/form/input-phone/data/country-code.d.ts +6 -0
  405. package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +11 -0
  406. package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +245 -0
  407. package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +11 -0
  408. package/lib/components/form/input-phone/enums/mask.enum.d.ts +8 -0
  409. package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +4 -0
  410. package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +6 -0
  411. package/lib/components/form/input-phone/input-phone.component.d.ts +132 -0
  412. package/lib/components/form/input-phone/input-phone.module.d.ts +14 -0
  413. package/lib/components/form/input-phone/input-phone.validator.d.ts +5 -0
  414. package/lib/components/form/input-phone/interfaces/change-data.d.ts +9 -0
  415. package/lib/components/form/input-phone/models/country.model.d.ts +13 -0
  416. package/lib/components/form/input-search/input-search.component.d.ts +48 -0
  417. package/lib/components/form/input-search/input-search.enum.d.ts +6 -0
  418. package/lib/components/form/input-search/input-search.module.d.ts +12 -0
  419. package/lib/components/form/input-select/input-select.component.d.ts +95 -0
  420. package/lib/components/form/input-select/input-select.enum.d.ts +10 -0
  421. package/lib/components/form/input-select/input-select.module.d.ts +14 -0
  422. package/lib/components/form/input-tel/assets/base64.d.ts +3 -0
  423. package/lib/components/form/input-tel/data/all-countries.d.ts +1 -0
  424. package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -0
  425. package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -0
  426. package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -0
  427. package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -0
  428. package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -0
  429. package/lib/components/form/input-tel/input-tel.component.d.ts +89 -0
  430. package/lib/components/form/input-tel/input-tel.module.d.ts +13 -0
  431. package/lib/components/form/input-tel/models/country.model.d.ts +18 -0
  432. package/lib/components/form/input-text/input-text.component.d.ts +54 -0
  433. package/lib/components/form/input-text/input-text.enum.d.ts +19 -0
  434. package/lib/components/form/input-text/input-text.module.d.ts +14 -0
  435. package/lib/components/form/input-textarea/input-textarea.component.d.ts +54 -0
  436. package/lib/components/form/input-textarea/input-textarea.enum.d.ts +11 -0
  437. package/lib/components/form/input-textarea/input-textarea.module.d.ts +14 -0
  438. package/lib/components/form/input-timepicker/constants/value-models.d.ts +2 -0
  439. package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +1 -0
  440. package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +1 -0
  441. package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +3 -0
  442. package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +2 -0
  443. package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +10 -0
  444. package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +2 -0
  445. package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +60 -0
  446. package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +11 -0
  447. package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +13 -0
  448. package/lib/components/form/json-editor/json-editor.component.d.ts +58 -0
  449. package/lib/components/form/json-editor/json-editor.enum.d.ts +5 -0
  450. package/lib/components/form/json-editor/json-editor.module.d.ts +8 -0
  451. package/lib/components/form/json-editor/utils/jsoneditoroptions.d.ts +128 -0
  452. package/lib/components/form/radio/radio.component.d.ts +29 -0
  453. package/lib/components/form/radio/radio.enum.d.ts +4 -0
  454. package/lib/components/form/radio/radio.module.d.ts +9 -0
  455. package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +20 -0
  456. package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +28 -0
  457. package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -0
  458. package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -0
  459. package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -0
  460. package/lib/components/form/radio-group/models/radio-group.model.d.ts +12 -0
  461. package/lib/components/form/radio-group/radio-group.component.d.ts +63 -0
  462. package/lib/components/form/radio-group/radio-group.module.d.ts +16 -0
  463. package/lib/components/form/rating/rating.component.d.ts +51 -0
  464. package/lib/components/form/rating/rating.enum.d.ts +27 -0
  465. package/lib/components/form/rating/rating.module.d.ts +9 -0
  466. package/lib/components/form/switch/switch.component.d.ts +32 -0
  467. package/lib/components/form/switch/switch.enum.d.ts +15 -0
  468. package/lib/components/form/switch/switch.module.d.ts +10 -0
  469. package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +20 -0
  470. package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +38 -0
  471. package/lib/components/gallery/constants/custom-buttons-default.d.ts +3 -0
  472. package/lib/components/gallery/constants/thumbs-config-default.d.ts +2 -0
  473. package/lib/components/gallery/gallery.component.d.ts +38 -0
  474. package/lib/components/gallery/gallery.module.d.ts +16 -0
  475. package/lib/components/gallery/models/gallery-item.model.d.ts +24 -0
  476. package/lib/components/gallery/services/gallery.service.d.ts +14 -0
  477. package/lib/components/hint-error-message/hint-error-message.component.d.ts +21 -0
  478. package/lib/components/hint-error-message/hint-error-message.module.d.ts +8 -0
  479. package/lib/components/icon-button/icon-button.component.d.ts +22 -0
  480. package/lib/components/icon-button/icon-button.enum.d.ts +16 -0
  481. package/lib/components/icon-button/icon-button.module.d.ts +9 -0
  482. package/lib/components/label/label.component.d.ts +44 -0
  483. package/lib/components/label/label.module.d.ts +14 -0
  484. package/lib/components/link/link.component.d.ts +25 -0
  485. package/lib/components/link/link.enum.d.ts +19 -0
  486. package/lib/components/link/link.module.d.ts +9 -0
  487. package/lib/components/loader/loader.component.d.ts +10 -0
  488. package/lib/components/loader/loader.enum.d.ts +19 -0
  489. package/lib/components/loader/loader.module.d.ts +8 -0
  490. package/lib/components/modal/modal.component.d.ts +36 -0
  491. package/lib/components/modal/modal.emun.d.ts +20 -0
  492. package/lib/components/modal/modal.module.d.ts +9 -0
  493. package/lib/components/pages-nav/pages-nav.component.d.ts +12 -0
  494. package/lib/components/pages-nav/pages-nav.enum.d.ts +5 -0
  495. package/lib/components/pages-nav/pages-nav.module.d.ts +8 -0
  496. package/lib/components/paginator/paginator.component.d.ts +29 -0
  497. package/lib/components/paginator/paginator.enum.d.ts +10 -0
  498. package/lib/components/paginator/paginator.module.d.ts +10 -0
  499. package/lib/components/pdf-viewer/pdf-viewer.component.d.ts +70 -0
  500. package/lib/components/pdf-viewer/pdf-viewer.module.d.ts +16 -0
  501. package/lib/components/progress/progress.component.d.ts +10 -0
  502. package/lib/components/progress/progress.enum.d.ts +7 -0
  503. package/lib/components/progress/progress.module.d.ts +8 -0
  504. package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +8 -0
  505. package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +8 -0
  506. package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +8 -0
  507. package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +8 -0
  508. package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +8 -0
  509. package/lib/components/save-state/save-state.component.d.ts +13 -0
  510. package/lib/components/save-state/save-state.enum.d.ts +1 -0
  511. package/lib/components/save-state/save-state.module.d.ts +13 -0
  512. package/lib/components/stepper/stepper.component.d.ts +17 -0
  513. package/lib/components/stepper/stepper.enum.d.ts +5 -0
  514. package/lib/components/stepper/stepper.module.d.ts +9 -0
  515. package/lib/components/table/components/column/column.component.d.ts +14 -0
  516. package/lib/components/table/default/default-pager-settings.d.ts +2 -0
  517. package/lib/components/table/models/data-state-change.event.d.ts +15 -0
  518. package/lib/components/table/models/index.d.ts +3 -0
  519. package/lib/components/table/models/pager-settings.d.ts +22 -0
  520. package/lib/components/table/table.component.d.ts +55 -0
  521. package/lib/components/table/table.enum.d.ts +32 -0
  522. package/lib/components/table/table.module.d.ts +14 -0
  523. package/lib/components/tabs/tab/tab.component.d.ts +13 -0
  524. package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +11 -0
  525. package/lib/components/tabs/tabs.enum.d.ts +11 -0
  526. package/lib/components/tabs/tabs.module.d.ts +9 -0
  527. package/lib/components/tooltip/services/tooltip.service.d.ts +18 -0
  528. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +15 -0
  529. package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +10 -0
  530. package/lib/components/tooltip/tooltip.component.d.ts +18 -0
  531. package/lib/components/tooltip/tooltip.enum.d.ts +4 -0
  532. package/lib/components/tooltip/tooltip.module.d.ts +10 -0
  533. package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +37 -0
  534. package/lib/components/truncate-text/truncate-text.component.d.ts +12 -0
  535. package/lib/components/truncate-text/truncate-text.enum.d.ts +2 -0
  536. package/lib/components/truncate-text/truncate-text.module.d.ts +10 -0
  537. package/lib/components/warning-message/warning-message.component.d.ts +9 -0
  538. package/lib/components/warning-message/warning-message.module.d.ts +8 -0
  539. package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +10 -0
  540. package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +5 -0
  541. package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +8 -0
  542. package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +6 -0
  543. package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +10 -0
  544. package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +6 -0
  545. package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +9 -0
  546. package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +26 -0
  547. package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +15 -0
  548. package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +8 -0
  549. package/lib/directives/autosize/autosize.directive.d.ts +16 -0
  550. package/lib/directives/autosize/autosize.module.d.ts +8 -0
  551. package/lib/directives/truncate/truncate.directive.d.ts +12 -0
  552. package/lib/directives/truncate/truncate.module.d.ts +8 -0
  553. package/lib/enums/typed.input.state.d.ts +6 -0
  554. package/lib/helpers/extension/input-file.extension.d.ts +4 -0
  555. package/lib/helpers/formatting-date.d.ts +9 -0
  556. package/lib/helpers/formatting-dates-from-array.d.ts +2 -0
  557. package/lib/helpers/formatting-iso-to-string.d.ts +2 -0
  558. package/lib/helpers/index.d.ts +7 -0
  559. package/lib/helpers/number-format.d.ts +6 -0
  560. package/lib/helpers/string-hash-code.d.ts +2 -0
  561. package/lib/helpers/word-form.d.ts +7 -0
  562. package/lib/models/index.d.ts +2 -0
  563. package/lib/models/input-file/input-file.model.d.ts +23 -0
  564. package/lib/models/typed-input-model.d.ts +16 -0
  565. package/lib/pipes/currency/currency.module.d.ts +8 -0
  566. package/lib/pipes/currency/currency.pipe.d.ts +7 -0
  567. package/lib/pipes/date/date-format.module.d.ts +9 -0
  568. package/lib/pipes/date/date-format.pipe.d.ts +9 -0
  569. package/lib/pipes/date/date-time-format.pipe.d.ts +9 -0
  570. package/lib/pipes/date/enums/timezone.d.ts +8 -0
  571. package/lib/pipes/date/helpers/change-timezone.d.ts +2 -0
  572. package/lib/pipes/phone/phone-format.module.d.ts +8 -0
  573. package/lib/pipes/phone/phone-format.pipe.d.ts +8 -0
  574. package/lib/pipes/safe/safe.module.d.ts +8 -0
  575. package/lib/pipes/safe/safe.pipe.d.ts +10 -0
  576. package/lib/pipes/truncate/truncate.module.d.ts +8 -0
  577. package/lib/pipes/truncate/truncate.pipe.d.ts +7 -0
  578. package/lib/services/file-upload/file-upload.service.d.ts +12 -0
  579. package/lib/services/index.d.ts +15 -0
  580. package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +19 -0
  581. package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +20 -0
  582. package/lib/services/modal-service/helpers/index.d.ts +4 -0
  583. package/lib/services/modal-service/helpers/modal-default-config.d.ts +3 -0
  584. package/lib/services/modal-service/helpers/modal-ref.d.ts +11 -0
  585. package/lib/services/modal-service/helpers/modal-tokens.d.ts +3 -0
  586. package/lib/services/modal-service/helpers/modal.component.d.ts +3 -0
  587. package/lib/services/modal-service/modal-service.module.d.ts +9 -0
  588. package/lib/services/modal-service/modal-service.service.d.ts +20 -0
  589. package/lib/services/modal-service/models/modal-config.model.d.ts +14 -0
  590. package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +19 -0
  591. package/lib/services/mrx-form-validator/constants/invalid-messages.d.ts +9 -0
  592. package/lib/services/mrx-form-validator/helpers/get-error-message.helper.d.ts +3 -0
  593. package/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.d.ts +2 -0
  594. package/lib/services/mrx-form-validator/models/index.d.ts +3 -0
  595. package/lib/services/mrx-form-validator/models/validations-options.model.d.ts +31 -0
  596. package/lib/services/mrx-form-validator/models/validations-settings.model.d.ts +7 -0
  597. package/lib/services/mrx-form-validator/models/validations-types.model.d.ts +19 -0
  598. package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +24 -0
  599. package/lib/services/mrx-form-validator/validations/callback.validation.d.ts +5 -0
  600. package/lib/services/mrx-form-validator/validations/email.validation.d.ts +5 -0
  601. package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +5 -0
  602. package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +5 -0
  603. package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +5 -0
  604. package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +5 -0
  605. package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +5 -0
  606. package/lib/services/mrx-form-validator/validations/required.validation.d.ts +5 -0
  607. package/lib/services/save-store/constants/constants.d.ts +1 -0
  608. package/lib/services/save-store/models/save-store.model.d.ts +4 -0
  609. package/lib/services/save-store/save-store.module.d.ts +9 -0
  610. package/lib/services/save-store/store/actions.d.ts +21 -0
  611. package/lib/services/save-store/store/effect.d.ts +10 -0
  612. package/lib/services/save-store/store/reducer.d.ts +3 -0
  613. package/lib/services/save-store/store/selectors.d.ts +3 -0
  614. package/lib/services/save-store/store/state.d.ts +11 -0
  615. package/lib/services/toaster-service/components/toaster/toaster.component.d.ts +12 -0
  616. package/lib/services/toaster-service/config/index.d.ts +2 -0
  617. package/lib/services/toaster-service/models/toaster.model.d.ts +12 -0
  618. package/lib/services/toaster-service/toaster-service.module.d.ts +10 -0
  619. package/lib/services/toaster-service/toaster-service.service.d.ts +15 -0
  620. package/package.json +61 -47
  621. package/public-api.d.ts +170 -0
  622. package/.browserslistrc +0 -16
  623. package/karma.conf.js +0 -44
  624. package/ng-package.json +0 -28
  625. package/src/lib/components/alert/alert.component.html +0 -17
  626. package/src/lib/components/alert/alert.component.less +0 -2
  627. package/src/lib/components/alert/alert.component.ts +0 -30
  628. package/src/lib/components/alert/alert.enum.ts +0 -15
  629. package/src/lib/components/alert/alert.module.ts +0 -11
  630. package/src/lib/components/alert/assets/alert-colors.less +0 -29
  631. package/src/lib/components/alert/assets/alert.less +0 -32
  632. package/src/lib/components/badges/badge.enum.ts +0 -45
  633. package/src/lib/components/badges/badges.module.ts +0 -21
  634. package/src/lib/components/badges/components/badge/assets/badge-colors.less +0 -62
  635. package/src/lib/components/badges/components/badge/assets/badge-tag.less +0 -12
  636. package/src/lib/components/badges/components/badge/assets/badge-types.less +0 -26
  637. package/src/lib/components/badges/components/badge/assets/badge.less +0 -7
  638. package/src/lib/components/badges/components/badge/badge.component.html +0 -28
  639. package/src/lib/components/badges/components/badge/badge.component.less +0 -4
  640. package/src/lib/components/badges/components/badge/badge.component.ts +0 -55
  641. package/src/lib/components/badges/components/badge-group/badge-group.component.html +0 -3
  642. package/src/lib/components/badges/components/badge-group/badge-group.component.less +0 -5
  643. package/src/lib/components/badges/components/badge-group/badge-group.component.ts +0 -11
  644. package/src/lib/components/breadcrumbs/assets/breadcrumbs.less +0 -50
  645. package/src/lib/components/breadcrumbs/breadcrumbs.component.html +0 -51
  646. package/src/lib/components/breadcrumbs/breadcrumbs.component.less +0 -1
  647. package/src/lib/components/breadcrumbs/breadcrumbs.component.ts +0 -19
  648. package/src/lib/components/breadcrumbs/breadcrumbs.enum.ts +0 -15
  649. package/src/lib/components/breadcrumbs/breadcrumbs.module.ts +0 -22
  650. package/src/lib/components/button/assets/button-colors.less +0 -309
  651. package/src/lib/components/button/assets/button-disabled.less +0 -96
  652. package/src/lib/components/button/assets/button-icon-loading.less +0 -21
  653. package/src/lib/components/button/assets/button-primary.less +0 -56
  654. package/src/lib/components/button/assets/button-secondary.less +0 -169
  655. package/src/lib/components/button/assets/button-sizes.less +0 -71
  656. package/src/lib/components/button/assets/button-tertiary.less +0 -166
  657. package/src/lib/components/button/assets/button-with-icon.less +0 -64
  658. package/src/lib/components/button/assets/button.less +0 -12
  659. package/src/lib/components/button/button.component.html +0 -81
  660. package/src/lib/components/button/button.component.less +0 -9
  661. package/src/lib/components/button/button.component.ts +0 -88
  662. package/src/lib/components/button/button.enum.ts +0 -35
  663. package/src/lib/components/button/button.module.ts +0 -13
  664. package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.html +0 -10
  665. package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.less +0 -128
  666. package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.ts +0 -26
  667. package/src/lib/components/cdk-tooltip/cdk-tooltip.directive.ts +0 -82
  668. package/src/lib/components/cdk-tooltip/cdk-tooltip.module.ts +0 -14
  669. package/src/lib/components/cdk-tooltip/constants/index.ts +0 -94
  670. package/src/lib/components/cdk-tooltip/models/tooltip-data.ts +0 -8
  671. package/src/lib/components/chars-left/chars-left.component.html +0 -3
  672. package/src/lib/components/chars-left/chars-left.component.less +0 -11
  673. package/src/lib/components/chars-left/chars-left.component.ts +0 -17
  674. package/src/lib/components/chars-left/chars-left.module.ts +0 -11
  675. package/src/lib/components/dropdown/assets/dropdown-menu.less +0 -75
  676. package/src/lib/components/dropdown/assets/dropdown-toggle.less +0 -3
  677. package/src/lib/components/dropdown/assets/dropdown.less +0 -12
  678. package/src/lib/components/dropdown/directives/hide-after-click.directive.ts +0 -14
  679. package/src/lib/components/dropdown/dropdown.component.html +0 -14
  680. package/src/lib/components/dropdown/dropdown.component.less +0 -3
  681. package/src/lib/components/dropdown/dropdown.component.ts +0 -112
  682. package/src/lib/components/dropdown/dropdown.module.ts +0 -15
  683. package/src/lib/components/error-message/error-message.component.html +0 -9
  684. package/src/lib/components/error-message/error-message.component.less +0 -20
  685. package/src/lib/components/error-message/error-message.component.ts +0 -26
  686. package/src/lib/components/error-message/error-message.module.ts +0 -11
  687. package/src/lib/components/form/checkbox/assets/checkbox-error.less +0 -27
  688. package/src/lib/components/form/checkbox/assets/checkbox-indeterminate.less +0 -77
  689. package/src/lib/components/form/checkbox/assets/checkbox-input-disabled.less +0 -28
  690. package/src/lib/components/form/checkbox/assets/checkbox-input.less +0 -14
  691. package/src/lib/components/form/checkbox/assets/checkbox-label.less +0 -26
  692. package/src/lib/components/form/checkbox/assets/checkbox-mark.less +0 -54
  693. package/src/lib/components/form/checkbox/assets/checkbox-wrapper.less +0 -6
  694. package/src/lib/components/form/checkbox/assets/checkbox.less +0 -19
  695. package/src/lib/components/form/checkbox/checkbox.component.html +0 -46
  696. package/src/lib/components/form/checkbox/checkbox.component.less +0 -8
  697. package/src/lib/components/form/checkbox/checkbox.component.ts +0 -168
  698. package/src/lib/components/form/checkbox/checkbox.enum.ts +0 -12
  699. package/src/lib/components/form/checkbox/checkbox.module.ts +0 -14
  700. package/src/lib/components/form/checkbox-group/checkbox-group.component.html +0 -46
  701. package/src/lib/components/form/checkbox-group/checkbox-group.component.less +0 -36
  702. package/src/lib/components/form/checkbox-group/checkbox-group.component.ts +0 -211
  703. package/src/lib/components/form/checkbox-group/checkbox-group.module.ts +0 -27
  704. package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.html +0 -16
  705. package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.less +0 -5
  706. package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.ts +0 -34
  707. package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.html +0 -50
  708. package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.less +0 -23
  709. package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.ts +0 -107
  710. package/src/lib/components/form/checkbox-group/helpers/change-group-value.ts +0 -23
  711. package/src/lib/components/form/checkbox-group/helpers/change-item-value.ts +0 -18
  712. package/src/lib/components/form/checkbox-group/helpers/filter-search-group.ts +0 -29
  713. package/src/lib/components/form/checkbox-group/helpers/get-checked-items.ts +0 -23
  714. package/src/lib/components/form/checkbox-group/helpers/get-inner-list.helper.ts +0 -51
  715. package/src/lib/components/form/checkbox-group/helpers/get-item-by-id.ts +0 -11
  716. package/src/lib/components/form/checkbox-group/helpers/get-sorted-list.ts +0 -45
  717. package/src/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.ts +0 -15
  718. package/src/lib/components/form/checkbox-group/models/checkbox-group.model.ts +0 -32
  719. package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.html +0 -20
  720. package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.ts +0 -69
  721. package/src/lib/components/form/document-editor/document-editor.component.html +0 -41
  722. package/src/lib/components/form/document-editor/document-editor.component.less +0 -7
  723. package/src/lib/components/form/document-editor/document-editor.component.ts +0 -109
  724. package/src/lib/components/form/document-editor/document-editor.module.ts +0 -29
  725. package/src/lib/components/form/document-editor/helpers/transform-sysname.ts +0 -57
  726. package/src/lib/components/form/document-editor/models/document-editor-short-codes.enum.ts +0 -6
  727. package/src/lib/components/form/editor/assets/editor-borders.less +0 -29
  728. package/src/lib/components/form/editor/assets/editor-clear-elements.less +0 -5
  729. package/src/lib/components/form/editor/assets/editor-clear-out-elements.less +0 -46
  730. package/src/lib/components/form/editor/assets/editor-error.less +0 -33
  731. package/src/lib/components/form/editor/assets/editor-popups.less +0 -11
  732. package/src/lib/components/form/editor/assets/editor-table.less +0 -5
  733. package/src/lib/components/form/editor/assets/editor-toolbar.less +0 -53
  734. package/src/lib/components/form/editor/assets/editor-wysiwyg.less +0 -21
  735. package/src/lib/components/form/editor/assets/editor.less +0 -10
  736. package/src/lib/components/form/editor/assets/jodit.less +0 -5364
  737. package/src/lib/components/form/editor/config/default-inline-style.ts +0 -5
  738. package/src/lib/components/form/editor/config/index.ts +0 -1
  739. package/src/lib/components/form/editor/config/popups-toolbar.ts +0 -9
  740. package/src/lib/components/form/editor/config/toolbar.ts +0 -73
  741. package/src/lib/components/form/editor/editor.component.html +0 -22
  742. package/src/lib/components/form/editor/editor.component.less +0 -15
  743. package/src/lib/components/form/editor/editor.component.ts +0 -271
  744. package/src/lib/components/form/editor/editor.enum.ts +0 -12
  745. package/src/lib/components/form/editor/editor.module.ts +0 -25
  746. package/src/lib/components/form/editor/models/toolbar.model.ts +0 -6
  747. package/src/lib/components/form/editor/modules/change-icon-module.ts +0 -91
  748. package/src/lib/components/form/input-date-time/assets/input-date-error.less +0 -21
  749. package/src/lib/components/form/input-date-time/assets/input-date-icons.less +0 -36
  750. package/src/lib/components/form/input-date-time/assets/input-date-sizes.less +0 -31
  751. package/src/lib/components/form/input-date-time/assets/input-date.less +0 -27
  752. package/src/lib/components/form/input-date-time/constants/value-models.ts +0 -16
  753. package/src/lib/components/form/input-date-time/enum/timezone.ts +0 -7
  754. package/src/lib/components/form/input-date-time/helpers/clean-date.ts +0 -5
  755. package/src/lib/components/form/input-date-time/helpers/cursor-position.ts +0 -18
  756. package/src/lib/components/form/input-date-time/helpers/formatting-from-models.ts +0 -10
  757. package/src/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.ts +0 -12
  758. package/src/lib/components/form/input-date-time/helpers/validate-value-models.ts +0 -84
  759. package/src/lib/components/form/input-date-time/helpers/value-parser.ts +0 -46
  760. package/src/lib/components/form/input-date-time/input-date-time.component.html +0 -60
  761. package/src/lib/components/form/input-date-time/input-date-time.component.ts +0 -378
  762. package/src/lib/components/form/input-date-time/input-date-time.components.less +0 -4
  763. package/src/lib/components/form/input-date-time/input-date-time.enum.ts +0 -25
  764. package/src/lib/components/form/input-date-time/input-date-time.module.ts +0 -30
  765. package/src/lib/components/form/input-datepicker/assets/input-date-disabled.less +0 -17
  766. package/src/lib/components/form/input-datepicker/assets/input-date-error.less +0 -21
  767. package/src/lib/components/form/input-datepicker/assets/input-date-icons.less +0 -36
  768. package/src/lib/components/form/input-datepicker/assets/input-date-sizes.less +0 -31
  769. package/src/lib/components/form/input-datepicker/assets/input-date.less +0 -23
  770. package/src/lib/components/form/input-datepicker/constants/value-models.ts +0 -17
  771. package/src/lib/components/form/input-datepicker/helpers/clean-date.ts +0 -5
  772. package/src/lib/components/form/input-datepicker/helpers/cursor-position.ts +0 -18
  773. package/src/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.ts +0 -10
  774. package/src/lib/components/form/input-datepicker/helpers/get-date-object.ts +0 -10
  775. package/src/lib/components/form/input-datepicker/helpers/validate-value-models.ts +0 -100
  776. package/src/lib/components/form/input-datepicker/helpers/value-parser.ts +0 -54
  777. package/src/lib/components/form/input-datepicker/input-datepicker.component.html +0 -60
  778. package/src/lib/components/form/input-datepicker/input-datepicker.component.ts +0 -342
  779. package/src/lib/components/form/input-datepicker/input-datepicker.components.less +0 -5
  780. package/src/lib/components/form/input-datepicker/input-datepicker.enum.ts +0 -16
  781. package/src/lib/components/form/input-datepicker/input-datepicker.module.ts +0 -30
  782. package/src/lib/components/form/input-editor/assets/style.less +0 -321
  783. package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.html +0 -252
  784. package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.less +0 -1
  785. package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.ts +0 -390
  786. package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.html +0 -12
  787. package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.less +0 -13
  788. package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.ts +0 -22
  789. package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.html +0 -18
  790. package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.less +0 -131
  791. package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.ts +0 -205
  792. package/src/lib/components/form/input-editor/config/index.ts +0 -77
  793. package/src/lib/components/form/input-editor/helpers/is-defined.ts +0 -3
  794. package/src/lib/components/form/input-editor/input-editor.component.html +0 -68
  795. package/src/lib/components/form/input-editor/input-editor.component.less +0 -64
  796. package/src/lib/components/form/input-editor/input-editor.component.ts +0 -430
  797. package/src/lib/components/form/input-editor/input-editor.module.ts +0 -24
  798. package/src/lib/components/form/input-editor/models/editor-select.model.ts +0 -4
  799. package/src/lib/components/form/input-editor/services/editor.service.ts +0 -307
  800. package/src/lib/components/form/input-file/assets/input-file-controls.less +0 -8
  801. package/src/lib/components/form/input-file/assets/input-file-drop-placeholder.less +0 -31
  802. package/src/lib/components/form/input-file/assets/input-file-drop.less +0 -35
  803. package/src/lib/components/form/input-file/assets/input-file-error.less +0 -50
  804. package/src/lib/components/form/input-file/assets/input-file-list-item.less +0 -52
  805. package/src/lib/components/form/input-file/assets/input-file-list.less +0 -8
  806. package/src/lib/components/form/input-file/assets/input-file.less +0 -20
  807. package/src/lib/components/form/input-file/enums/error-messages.enum.ts +0 -6
  808. package/src/lib/components/form/input-file/input-file.component.html +0 -135
  809. package/src/lib/components/form/input-file/input-file.component.less +0 -7
  810. package/src/lib/components/form/input-file/input-file.component.ts +0 -329
  811. package/src/lib/components/form/input-file/input-file.enum.ts +0 -8
  812. package/src/lib/components/form/input-file/input-file.module.ts +0 -18
  813. package/src/lib/components/form/input-file-image/assets/input-file-image-avatar.less +0 -93
  814. package/src/lib/components/form/input-file-image/assets/input-file-image-controls.less +0 -35
  815. package/src/lib/components/form/input-file-image/assets/input-file-image-drop.less +0 -24
  816. package/src/lib/components/form/input-file-image/assets/input-file-image-input.less +0 -45
  817. package/src/lib/components/form/input-file-image/assets/input-file-image-preview.less +0 -107
  818. package/src/lib/components/form/input-file-image/assets/input-file-image.less +0 -7
  819. package/src/lib/components/form/input-file-image/components/file-image-edit-modal/assets/input-image-cropper.less +0 -25
  820. package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.html +0 -68
  821. package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.less +0 -1
  822. package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.ts +0 -114
  823. package/src/lib/components/form/input-file-image/input-file-image.component.html +0 -151
  824. package/src/lib/components/form/input-file-image/input-file-image.component.less +0 -7
  825. package/src/lib/components/form/input-file-image/input-file-image.component.ts +0 -365
  826. package/src/lib/components/form/input-file-image/input-file-image.enum.ts +0 -10
  827. package/src/lib/components/form/input-file-image/input-file-image.module.ts +0 -31
  828. package/src/lib/components/form/input-number/assets/input-number-disabled.less +0 -17
  829. package/src/lib/components/form/input-number/assets/input-number-error.less +0 -21
  830. package/src/lib/components/form/input-number/assets/input-number-sizes.less +0 -61
  831. package/src/lib/components/form/input-number/assets/input-number.less +0 -45
  832. package/src/lib/components/form/input-number/input-number.component.html +0 -35
  833. package/src/lib/components/form/input-number/input-number.component.less +0 -4
  834. package/src/lib/components/form/input-number/input-number.component.ts +0 -284
  835. package/src/lib/components/form/input-number/input-number.enum.ts +0 -16
  836. package/src/lib/components/form/input-number/input-number.module.ts +0 -40
  837. package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-error.less +0 -23
  838. package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-sizes.less +0 -73
  839. package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt.less +0 -20
  840. package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.html +0 -39
  841. package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.less +0 -3
  842. package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.ts +0 -417
  843. package/src/lib/components/form/input-opt/components/input-opt/input-opt.enum.ts +0 -8
  844. package/src/lib/components/form/input-opt/directives/opt-pattern.directive.ts +0 -34
  845. package/src/lib/components/form/input-opt/input-opt.module.ts +0 -25
  846. package/src/lib/components/form/input-opt/models/input-opt.model.ts +0 -30
  847. package/src/lib/components/form/input-opt/services/input-opt.service.ts +0 -40
  848. package/src/lib/components/form/input-password/assets/input-password-bullets.less +0 -12
  849. package/src/lib/components/form/input-password/assets/input-password-error.less +0 -21
  850. package/src/lib/components/form/input-password/assets/input-password-icons.less +0 -16
  851. package/src/lib/components/form/input-password/assets/input-password-sizes.less +0 -31
  852. package/src/lib/components/form/input-password/assets/input-password.less +0 -43
  853. package/src/lib/components/form/input-password/input-password.component.html +0 -41
  854. package/src/lib/components/form/input-password/input-password.component.less +0 -5
  855. package/src/lib/components/form/input-password/input-password.component.ts +0 -106
  856. package/src/lib/components/form/input-password/input-password.enum.ts +0 -9
  857. package/src/lib/components/form/input-password/input-password.module.ts +0 -24
  858. package/src/lib/components/form/input-phone/assets/input-phone-country-flags.less +0 -271
  859. package/src/lib/components/form/input-phone/assets/input-phone-dropdown.less +0 -46
  860. package/src/lib/components/form/input-phone/assets/input-phone-error.less +0 -21
  861. package/src/lib/components/form/input-phone/assets/input-phone-flags-icon.less +0 -28
  862. package/src/lib/components/form/input-phone/assets/input-phone-search.less +0 -17
  863. package/src/lib/components/form/input-phone/assets/input-phone-sizes.less +0 -31
  864. package/src/lib/components/form/input-phone/assets/input-phone-sprite.less +0 -1297
  865. package/src/lib/components/form/input-phone/assets/input-phone.less +0 -85
  866. package/src/lib/components/form/input-phone/data/country-code.ts +0 -1326
  867. package/src/lib/components/form/input-phone/directives/native-element-injector.directive.ts +0 -27
  868. package/src/lib/components/form/input-phone/enums/country-iso.enum.ts +0 -245
  869. package/src/lib/components/form/input-phone/enums/input-phone.enum.ts +0 -14
  870. package/src/lib/components/form/input-phone/enums/mask.enum.ts +0 -147
  871. package/src/lib/components/form/input-phone/enums/phone-number-format.enum.ts +0 -4
  872. package/src/lib/components/form/input-phone/enums/search-country-field.enum.ts +0 -6
  873. package/src/lib/components/form/input-phone/input-phone.component.html +0 -86
  874. package/src/lib/components/form/input-phone/input-phone.component.less +0 -9
  875. package/src/lib/components/form/input-phone/input-phone.component.ts +0 -693
  876. package/src/lib/components/form/input-phone/input-phone.module.ts +0 -34
  877. package/src/lib/components/form/input-phone/input-phone.validator.ts +0 -70
  878. package/src/lib/components/form/input-phone/interfaces/change-data.ts +0 -9
  879. package/src/lib/components/form/input-phone/models/country.model.ts +0 -15
  880. package/src/lib/components/form/input-search/assets/input-search-error.less +0 -21
  881. package/src/lib/components/form/input-search/assets/input-search-icons.less +0 -16
  882. package/src/lib/components/form/input-search/assets/input-search-sizes.less +0 -31
  883. package/src/lib/components/form/input-search/assets/input-search.less +0 -45
  884. package/src/lib/components/form/input-search/input-search.component.html +0 -44
  885. package/src/lib/components/form/input-search/input-search.component.less +0 -4
  886. package/src/lib/components/form/input-search/input-search.component.ts +0 -160
  887. package/src/lib/components/form/input-search/input-search.enum.ts +0 -7
  888. package/src/lib/components/form/input-search/input-search.module.ts +0 -27
  889. package/src/lib/components/form/input-select/assets/input-select-checked.less +0 -18
  890. package/src/lib/components/form/input-select/assets/input-select-dropdown.less +0 -92
  891. package/src/lib/components/form/input-select/assets/input-select-error.less +0 -43
  892. package/src/lib/components/form/input-select/assets/input-select-sizes.less +0 -135
  893. package/src/lib/components/form/input-select/assets/input-select-types.less +0 -85
  894. package/src/lib/components/form/input-select/assets/input-select.less +0 -191
  895. package/src/lib/components/form/input-select/input-select.component.html +0 -80
  896. package/src/lib/components/form/input-select/input-select.component.less +0 -6
  897. package/src/lib/components/form/input-select/input-select.component.ts +0 -180
  898. package/src/lib/components/form/input-select/input-select.enum.ts +0 -13
  899. package/src/lib/components/form/input-select/input-select.module.ts +0 -25
  900. package/src/lib/components/form/input-select/input-select.test.html +0 -13
  901. package/src/lib/components/form/input-tel/assets/base64.ts +0 -5
  902. package/src/lib/components/form/input-tel/assets/flags.png +0 -0
  903. package/src/lib/components/form/input-tel/assets/input-tel-country-flags.less +0 -986
  904. package/src/lib/components/form/input-tel/assets/input-tel-dropdown.less +0 -52
  905. package/src/lib/components/form/input-tel/assets/input-tel-error.less +0 -21
  906. package/src/lib/components/form/input-tel/assets/input-tel-flags-icon.less +0 -29
  907. package/src/lib/components/form/input-tel/assets/input-tel-sizes.less +0 -39
  908. package/src/lib/components/form/input-tel/assets/input-tel.less +0 -85
  909. package/src/lib/components/form/input-tel/data/all-countries.ts +0 -1323
  910. package/src/lib/components/form/input-tel/data/country-iso.enum.ts +0 -245
  911. package/src/lib/components/form/input-tel/data/phone-number-format.enum.ts +0 -6
  912. package/src/lib/components/form/input-tel/data/search-country-field.enum.ts +0 -6
  913. package/src/lib/components/form/input-tel/directives/input-tel.directive.ts +0 -59
  914. package/src/lib/components/form/input-tel/enums/input-phone.enum.ts +0 -14
  915. package/src/lib/components/form/input-tel/input-tel.component.html +0 -88
  916. package/src/lib/components/form/input-tel/input-tel.component.less +0 -6
  917. package/src/lib/components/form/input-tel/input-tel.component.ts +0 -374
  918. package/src/lib/components/form/input-tel/input-tel.module.ts +0 -26
  919. package/src/lib/components/form/input-tel/models/country.model.ts +0 -19
  920. package/src/lib/components/form/input-text/assets/input-text-disabled.less +0 -17
  921. package/src/lib/components/form/input-text/assets/input-text-error.less +0 -33
  922. package/src/lib/components/form/input-text/assets/input-text-icon.less +0 -25
  923. package/src/lib/components/form/input-text/assets/input-text-sizes.less +0 -61
  924. package/src/lib/components/form/input-text/assets/input-text.less +0 -25
  925. package/src/lib/components/form/input-text/input-text.component.html +0 -46
  926. package/src/lib/components/form/input-text/input-text.component.less +0 -5
  927. package/src/lib/components/form/input-text/input-text.component.ts +0 -176
  928. package/src/lib/components/form/input-text/input-text.enum.ts +0 -24
  929. package/src/lib/components/form/input-text/input-text.module.ts +0 -31
  930. package/src/lib/components/form/input-textarea/assets/input-textarea-disabled-block.less +0 -23
  931. package/src/lib/components/form/input-textarea/assets/input-textarea-error.less +0 -21
  932. package/src/lib/components/form/input-textarea/assets/input-textarea-sizes.less +0 -34
  933. package/src/lib/components/form/input-textarea/assets/input-textarea.less +0 -24
  934. package/src/lib/components/form/input-textarea/input-textarea.component.html +0 -46
  935. package/src/lib/components/form/input-textarea/input-textarea.component.less +0 -4
  936. package/src/lib/components/form/input-textarea/input-textarea.component.ts +0 -191
  937. package/src/lib/components/form/input-textarea/input-textarea.enum.ts +0 -14
  938. package/src/lib/components/form/input-textarea/input-textarea.module.ts +0 -31
  939. package/src/lib/components/form/input-timepicker/constants/value-models.ts +0 -9
  940. package/src/lib/components/form/input-timepicker/helpers/clean-date.ts +0 -5
  941. package/src/lib/components/form/input-timepicker/helpers/cursor-position.ts +0 -12
  942. package/src/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.ts +0 -6
  943. package/src/lib/components/form/input-timepicker/helpers/get-date-object.ts +0 -6
  944. package/src/lib/components/form/input-timepicker/helpers/validate-value-models.ts +0 -42
  945. package/src/lib/components/form/input-timepicker/helpers/value-parser.ts +0 -21
  946. package/src/lib/components/form/input-timepicker/input-timepicker.component.html +0 -57
  947. package/src/lib/components/form/input-timepicker/input-timepicker.component.ts +0 -293
  948. package/src/lib/components/form/input-timepicker/input-timepicker.components.scss +0 -1
  949. package/src/lib/components/form/input-timepicker/input-timepicker.enum.ts +0 -14
  950. package/src/lib/components/form/input-timepicker/input-timepicker.module.ts +0 -30
  951. package/src/lib/components/form/json-editor/json-editor.component.html +0 -1
  952. package/src/lib/components/form/json-editor/json-editor.component.less +0 -1912
  953. package/src/lib/components/form/json-editor/json-editor.component.ts +0 -254
  954. package/src/lib/components/form/json-editor/json-editor.enum.ts +0 -6
  955. package/src/lib/components/form/json-editor/json-editor.module.ts +0 -18
  956. package/src/lib/components/form/json-editor/utils/jsoneditoroptions.ts +0 -167
  957. package/src/lib/components/form/radio/assets/radio-error.less +0 -9
  958. package/src/lib/components/form/radio/assets/radio-input.less +0 -10
  959. package/src/lib/components/form/radio/assets/radio-label.less +0 -26
  960. package/src/lib/components/form/radio/assets/radio-mark.less +0 -62
  961. package/src/lib/components/form/radio/assets/radio-wrapper.less +0 -5
  962. package/src/lib/components/form/radio/assets/radio.less +0 -11
  963. package/src/lib/components/form/radio/radio.component.html +0 -25
  964. package/src/lib/components/form/radio/radio.component.less +0 -6
  965. package/src/lib/components/form/radio/radio.component.ts +0 -74
  966. package/src/lib/components/form/radio/radio.enum.ts +0 -5
  967. package/src/lib/components/form/radio/radio.module.ts +0 -14
  968. package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.html +0 -14
  969. package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.ts +0 -32
  970. package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.html +0 -51
  971. package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.less +0 -17
  972. package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.ts +0 -55
  973. package/src/lib/components/form/radio-group/helpers/filter-search-group.ts +0 -29
  974. package/src/lib/components/form/radio-group/helpers/get-item-by-id.ts +0 -11
  975. package/src/lib/components/form/radio-group/helpers/move-selected-to-first.ts +0 -33
  976. package/src/lib/components/form/radio-group/models/radio-group.model.ts +0 -15
  977. package/src/lib/components/form/radio-group/radio-group.component.html +0 -47
  978. package/src/lib/components/form/radio-group/radio-group.component.less +0 -21
  979. package/src/lib/components/form/radio-group/radio-group.component.ts +0 -163
  980. package/src/lib/components/form/radio-group/radio-group.module.ts +0 -30
  981. package/src/lib/components/form/rating/assets/rating-disabled.less +0 -5
  982. package/src/lib/components/form/rating/assets/rating-item.less +0 -44
  983. package/src/lib/components/form/rating/assets/rating-size.less +0 -24
  984. package/src/lib/components/form/rating/assets/rating.less +0 -17
  985. package/src/lib/components/form/rating/rating.component.html +0 -75
  986. package/src/lib/components/form/rating/rating.component.less +0 -4
  987. package/src/lib/components/form/rating/rating.component.ts +0 -213
  988. package/src/lib/components/form/rating/rating.enum.ts +0 -36
  989. package/src/lib/components/form/rating/rating.module.ts +0 -15
  990. package/src/lib/components/form/switch/assets/switch-label.less +0 -26
  991. package/src/lib/components/form/switch/assets/switch-sizes.less +0 -50
  992. package/src/lib/components/form/switch/assets/switch-types.less +0 -18
  993. package/src/lib/components/form/switch/assets/switch.less +0 -73
  994. package/src/lib/components/form/switch/switch.component.html +0 -53
  995. package/src/lib/components/form/switch/switch.component.less +0 -4
  996. package/src/lib/components/form/switch/switch.component.ts +0 -85
  997. package/src/lib/components/form/switch/switch.enum.ts +0 -20
  998. package/src/lib/components/form/switch/switch.module.ts +0 -13
  999. package/src/lib/components/gallery/assets/fancybox.less +0 -1319
  1000. package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.html +0 -30
  1001. package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.ts +0 -43
  1002. package/src/lib/components/gallery/components/gallery-item/gallery-item.component.html +0 -58
  1003. package/src/lib/components/gallery/components/gallery-item/gallery-item.component.less +0 -85
  1004. package/src/lib/components/gallery/components/gallery-item/gallery-item.component.ts +0 -106
  1005. package/src/lib/components/gallery/constants/custom-buttons-default.ts +0 -15
  1006. package/src/lib/components/gallery/constants/thumbs-config-default.ts +0 -6
  1007. package/src/lib/components/gallery/gallery.component.html +0 -32
  1008. package/src/lib/components/gallery/gallery.component.less +0 -14
  1009. package/src/lib/components/gallery/gallery.component.ts +0 -202
  1010. package/src/lib/components/gallery/gallery.module.ts +0 -32
  1011. package/src/lib/components/gallery/helpers/rotate-image.ts +0 -33
  1012. package/src/lib/components/gallery/models/gallery-item.model.ts +0 -26
  1013. package/src/lib/components/gallery/services/gallery.service.ts +0 -33
  1014. package/src/lib/components/hint-error-message/hint-error-message.component.html +0 -5
  1015. package/src/lib/components/hint-error-message/hint-error-message.component.less +0 -11
  1016. package/src/lib/components/hint-error-message/hint-error-message.component.ts +0 -125
  1017. package/src/lib/components/hint-error-message/hint-error-message.module.ts +0 -11
  1018. package/src/lib/components/icon-button/icon-button.component.html +0 -11
  1019. package/src/lib/components/icon-button/icon-button.component.less +0 -84
  1020. package/src/lib/components/icon-button/icon-button.component.ts +0 -44
  1021. package/src/lib/components/icon-button/icon-button.enum.ts +0 -21
  1022. package/src/lib/components/icon-button/icon-button.module.ts +0 -11
  1023. package/src/lib/components/label/label.component.html +0 -57
  1024. package/src/lib/components/label/label.component.less +0 -49
  1025. package/src/lib/components/label/label.component.ts +0 -103
  1026. package/src/lib/components/label/label.module.ts +0 -19
  1027. package/src/lib/components/link/assets/link-monochrome.less +0 -21
  1028. package/src/lib/components/link/assets/link.less +0 -54
  1029. package/src/lib/components/link/link.component.html +0 -27
  1030. package/src/lib/components/link/link.component.less +0 -2
  1031. package/src/lib/components/link/link.component.ts +0 -52
  1032. package/src/lib/components/link/link.enum.ts +0 -24
  1033. package/src/lib/components/link/link.module.ts +0 -13
  1034. package/src/lib/components/loader/assets/loader-color.less +0 -60
  1035. package/src/lib/components/loader/assets/loader-sizes.less +0 -21
  1036. package/src/lib/components/loader/assets/loader.less +0 -25
  1037. package/src/lib/components/loader/loader.component.html +0 -13
  1038. package/src/lib/components/loader/loader.component.less +0 -3
  1039. package/src/lib/components/loader/loader.component.ts +0 -17
  1040. package/src/lib/components/loader/loader.enum.ts +0 -22
  1041. package/src/lib/components/loader/loader.module.ts +0 -11
  1042. package/src/lib/components/modal/assets/modal-animations.less +0 -13
  1043. package/src/lib/components/modal/assets/modal-body.less +0 -19
  1044. package/src/lib/components/modal/assets/modal-colors.less +0 -62
  1045. package/src/lib/components/modal/assets/modal-footer.less +0 -5
  1046. package/src/lib/components/modal/assets/modal-header.less +0 -48
  1047. package/src/lib/components/modal/assets/modal-sizes.less +0 -17
  1048. package/src/lib/components/modal/assets/modal.less +0 -47
  1049. package/src/lib/components/modal/modal.component.html +0 -49
  1050. package/src/lib/components/modal/modal.component.less +0 -7
  1051. package/src/lib/components/modal/modal.component.ts +0 -107
  1052. package/src/lib/components/modal/modal.emun.ts +0 -25
  1053. package/src/lib/components/modal/modal.module.ts +0 -12
  1054. package/src/lib/components/pages-nav/pages-nav.component.html +0 -20
  1055. package/src/lib/components/pages-nav/pages-nav.component.less +0 -40
  1056. package/src/lib/components/pages-nav/pages-nav.component.ts +0 -22
  1057. package/src/lib/components/pages-nav/pages-nav.enum.ts +0 -6
  1058. package/src/lib/components/pages-nav/pages-nav.module.ts +0 -18
  1059. package/src/lib/components/paginator/assets/paginator-types.less +0 -13
  1060. package/src/lib/components/paginator/assets/paginator.less +0 -83
  1061. package/src/lib/components/paginator/paginator.component.html +0 -64
  1062. package/src/lib/components/paginator/paginator.component.less +0 -2
  1063. package/src/lib/components/paginator/paginator.component.ts +0 -129
  1064. package/src/lib/components/paginator/paginator.enum.ts +0 -18
  1065. package/src/lib/components/paginator/paginator.module.ts +0 -20
  1066. package/src/lib/components/pdf-viewer/assets/pdf-viewer__container.less +0 -43
  1067. package/src/lib/components/pdf-viewer/assets/pdf-viewer__print-dialog.less +0 -42
  1068. package/src/lib/components/pdf-viewer/assets/pdf-viewer__sidebar.less +0 -173
  1069. package/src/lib/components/pdf-viewer/assets/pdf-viewer__toolbar.less +0 -210
  1070. package/src/lib/components/pdf-viewer/pdf-viewer.component.html +0 -188
  1071. package/src/lib/components/pdf-viewer/pdf-viewer.component.less +0 -4
  1072. package/src/lib/components/pdf-viewer/pdf-viewer.component.ts +0 -297
  1073. package/src/lib/components/pdf-viewer/pdf-viewer.module.ts +0 -32
  1074. package/src/lib/components/progress/assets/progress-color.less +0 -26
  1075. package/src/lib/components/progress/assets/progress.less +0 -12
  1076. package/src/lib/components/progress/progress.component.html +0 -3
  1077. package/src/lib/components/progress/progress.component.less +0 -2
  1078. package/src/lib/components/progress/progress.component.ts +0 -19
  1079. package/src/lib/components/progress/progress.enum.ts +0 -7
  1080. package/src/lib/components/progress/progress.module.ts +0 -11
  1081. package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.html +0 -66
  1082. package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.less +0 -32
  1083. package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.ts +0 -14
  1084. package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.html +0 -66
  1085. package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.less +0 -32
  1086. package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.ts +0 -14
  1087. package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.html +0 -66
  1088. package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.less +0 -32
  1089. package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.ts +0 -14
  1090. package/src/lib/components/save-state/components/save-state-input/save-state-input.component.html +0 -66
  1091. package/src/lib/components/save-state/components/save-state-input/save-state-input.component.less +0 -34
  1092. package/src/lib/components/save-state/components/save-state-input/save-state-input.component.ts +0 -14
  1093. package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.html +0 -66
  1094. package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.less +0 -32
  1095. package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.ts +0 -14
  1096. package/src/lib/components/save-state/save-state.component.html +0 -11
  1097. package/src/lib/components/save-state/save-state.component.less +0 -0
  1098. package/src/lib/components/save-state/save-state.component.ts +0 -32
  1099. package/src/lib/components/save-state/save-state.enum.ts +0 -1
  1100. package/src/lib/components/save-state/save-state.module.ts +0 -28
  1101. package/src/lib/components/stepper/stepper.component.html +0 -30
  1102. package/src/lib/components/stepper/stepper.component.less +0 -27
  1103. package/src/lib/components/stepper/stepper.component.ts +0 -38
  1104. package/src/lib/components/stepper/stepper.enum.ts +0 -5
  1105. package/src/lib/components/stepper/stepper.module.ts +0 -12
  1106. package/src/lib/components/table/assets/table-counter.less +0 -8
  1107. package/src/lib/components/table/assets/table-download.less +0 -19
  1108. package/src/lib/components/table/assets/table-empty-message.less +0 -38
  1109. package/src/lib/components/table/assets/table-overlay.less +0 -17
  1110. package/src/lib/components/table/assets/table-paginator.less +0 -9
  1111. package/src/lib/components/table/assets/table-sort-select.less +0 -70
  1112. package/src/lib/components/table/assets/table-striped.less +0 -42
  1113. package/src/lib/components/table/assets/table-toggle.less +0 -22
  1114. package/src/lib/components/table/assets/table-types.less +0 -118
  1115. package/src/lib/components/table/assets/table.less +0 -36
  1116. package/src/lib/components/table/components/column/column.component.ts +0 -17
  1117. package/src/lib/components/table/default/default-pager-settings.ts +0 -8
  1118. package/src/lib/components/table/models/data-state-change.event.ts +0 -16
  1119. package/src/lib/components/table/models/index.ts +0 -3
  1120. package/src/lib/components/table/models/pager-settings.ts +0 -26
  1121. package/src/lib/components/table/table.component.html +0 -220
  1122. package/src/lib/components/table/table.component.less +0 -10
  1123. package/src/lib/components/table/table.component.ts +0 -252
  1124. package/src/lib/components/table/table.enum.ts +0 -41
  1125. package/src/lib/components/table/table.module.ts +0 -30
  1126. package/src/lib/components/tabs/tab/tab.component.html +0 -4
  1127. package/src/lib/components/tabs/tab/tab.component.less +0 -15
  1128. package/src/lib/components/tabs/tab/tab.component.ts +0 -22
  1129. package/src/lib/components/tabs/tabs-group/assets/tabs-button.less +0 -43
  1130. package/src/lib/components/tabs/tabs-group/assets/tabs-group.less +0 -9
  1131. package/src/lib/components/tabs/tabs-group/assets/tabs-size.less +0 -50
  1132. package/src/lib/components/tabs/tabs-group/assets/tabs-types.less +0 -63
  1133. package/src/lib/components/tabs/tabs-group/tabs-group.component.html +0 -5
  1134. package/src/lib/components/tabs/tabs-group/tabs-group.component.less +0 -4
  1135. package/src/lib/components/tabs/tabs-group/tabs-group.component.ts +0 -23
  1136. package/src/lib/components/tabs/tabs.enum.ts +0 -15
  1137. package/src/lib/components/tabs/tabs.module.ts +0 -12
  1138. package/src/lib/components/tooltip/services/tooltip.service.ts +0 -74
  1139. package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-right.less +0 -39
  1140. package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-top.less +0 -41
  1141. package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger.less +0 -29
  1142. package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.html +0 -11
  1143. package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.less +0 -3
  1144. package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.ts +0 -29
  1145. package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.ts +0 -13
  1146. package/src/lib/components/tooltip/tooltip.component.html +0 -4
  1147. package/src/lib/components/tooltip/tooltip.component.less +0 -19
  1148. package/src/lib/components/tooltip/tooltip.component.ts +0 -51
  1149. package/src/lib/components/tooltip/tooltip.enum.ts +0 -4
  1150. package/src/lib/components/tooltip/tooltip.module.ts +0 -13
  1151. package/src/lib/components/truncate-text/directives/truncate-text.directive.ts +0 -158
  1152. package/src/lib/components/truncate-text/truncate-text.component.html +0 -21
  1153. package/src/lib/components/truncate-text/truncate-text.component.ts +0 -19
  1154. package/src/lib/components/truncate-text/truncate-text.enum.ts +0 -2
  1155. package/src/lib/components/truncate-text/truncate-text.module.ts +0 -13
  1156. package/src/lib/components/warning-message/warning-message.component.html +0 -8
  1157. package/src/lib/components/warning-message/warning-message.component.less +0 -12
  1158. package/src/lib/components/warning-message/warning-message.component.ts +0 -24
  1159. package/src/lib/components/warning-message/warning-message.module.ts +0 -11
  1160. package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.html +0 -9
  1161. package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.less +0 -13
  1162. package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.ts +0 -18
  1163. package/src/lib/components/wrappers/content-wrapper/content-wrapper.enum.ts +0 -6
  1164. package/src/lib/components/wrappers/content-wrapper/content-wrapper.module.ts +0 -13
  1165. package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.html +0 -6
  1166. package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.less +0 -39
  1167. package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.ts +0 -11
  1168. package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.html +0 -7
  1169. package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.less +0 -30
  1170. package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.ts +0 -18
  1171. package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.ts +0 -7
  1172. package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.module.ts +0 -14
  1173. package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.html +0 -50
  1174. package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.less +0 -88
  1175. package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.ts +0 -82
  1176. package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.ts +0 -17
  1177. package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.module.ts +0 -18
  1178. package/src/lib/directives/autosize/autosize.directive.ts +0 -55
  1179. package/src/lib/directives/autosize/autosize.module.ts +0 -16
  1180. package/src/lib/directives/delayed-value/delayed-value.directive.ts +0 -37
  1181. package/src/lib/directives/delayed-value/delayed-value.module.ts +0 -16
  1182. package/src/lib/directives/truncate/truncate.directive.ts +0 -26
  1183. package/src/lib/directives/truncate/truncate.module.ts +0 -10
  1184. package/src/lib/enums/typed.input.state.ts +0 -6
  1185. package/src/lib/helpers/extension/input-file.extension.ts +0 -47
  1186. package/src/lib/helpers/formatting-date.ts +0 -65
  1187. package/src/lib/helpers/formatting-dates-from-array.ts +0 -21
  1188. package/src/lib/helpers/formatting-iso-to-string.ts +0 -20
  1189. package/src/lib/helpers/index.ts +0 -8
  1190. package/src/lib/helpers/mrx-gallery-lib/README.md +0 -0
  1191. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.css +0 -1
  1192. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.d.ts +0 -1
  1193. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.js +0 -1
  1194. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.umd.js +0 -1
  1195. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.css +0 -1
  1196. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.esm.js +0 -1
  1197. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.css +0 -1
  1198. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.d.ts +0 -1
  1199. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.js +0 -1
  1200. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.umd.js +0 -1
  1201. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.umd.js +0 -1
  1202. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.esm.js +0 -1
  1203. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.umd.js +0 -1
  1204. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.esm.js +0 -1
  1205. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.umd.js +0 -1
  1206. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.esm.js +0 -1
  1207. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.umd.js +0 -1
  1208. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.esm.js +0 -1
  1209. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.umd.js +0 -1
  1210. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.esm.js +0 -1
  1211. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.umd.js +0 -1
  1212. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.esm.js +0 -1
  1213. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.umd.js +0 -1
  1214. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.esm.js +0 -1
  1215. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.umd.js +0 -1
  1216. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.esm.js +0 -1
  1217. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.umd.js +0 -1
  1218. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.esm.js +0 -1
  1219. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.umd.js +0 -1
  1220. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.esm.js +0 -1
  1221. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.umd.js +0 -1
  1222. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.esm.js +0 -1
  1223. package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.umd.js +0 -1
  1224. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.css +0 -1
  1225. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.esm.js +0 -1
  1226. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.umd.js +0 -1
  1227. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.esm.js +0 -1
  1228. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.umd.js +0 -1
  1229. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.esm.js +0 -1
  1230. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.umd.js +0 -1
  1231. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.esm.js +0 -1
  1232. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.umd.js +0 -1
  1233. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.esm.js +0 -1
  1234. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.umd.js +0 -1
  1235. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.esm.js +0 -1
  1236. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.umd.js +0 -1
  1237. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.esm.js +0 -1
  1238. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.umd.js +0 -1
  1239. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.esm.js +0 -1
  1240. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.umd.js +0 -1
  1241. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.esm.js +0 -1
  1242. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.umd.js +0 -1
  1243. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.esm.js +0 -1
  1244. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.umd.js +0 -1
  1245. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.esm.js +0 -1
  1246. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.umd.js +0 -1
  1247. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.esm.js +0 -1
  1248. package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.umd.js +0 -1
  1249. package/src/lib/helpers/mrx-gallery-lib/dist/index.esm.js +0 -1
  1250. package/src/lib/helpers/mrx-gallery-lib/dist/index.umd.js +0 -1
  1251. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.esm.js +0 -1
  1252. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.umd.js +0 -1
  1253. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.esm.js +0 -1
  1254. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.umd.js +0 -1
  1255. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.esm.js +0 -1
  1256. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.umd.js +0 -1
  1257. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.esm.js +0 -1
  1258. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.umd.js +0 -1
  1259. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.esm.js +0 -1
  1260. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.umd.js +0 -1
  1261. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.esm.js +0 -1
  1262. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.umd.js +0 -1
  1263. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.esm.js +0 -1
  1264. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.umd.js +0 -1
  1265. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.esm.js +0 -1
  1266. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.umd.js +0 -1
  1267. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.esm.js +0 -1
  1268. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.umd.js +0 -1
  1269. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.esm.js +0 -1
  1270. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.umd.js +0 -1
  1271. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.esm.js +0 -1
  1272. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.umd.js +0 -1
  1273. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.css +0 -1
  1274. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.esm.js +0 -1
  1275. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.css +0 -1
  1276. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.d.ts +0 -1
  1277. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.js +0 -1
  1278. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.umd.js +0 -1
  1279. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.css +0 -1
  1280. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.d.ts +0 -1
  1281. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.js +0 -1
  1282. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.umd.js +0 -1
  1283. package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.umd.js +0 -1
  1284. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/cs.ts +0 -5
  1285. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/de.ts +0 -5
  1286. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/en.ts +0 -5
  1287. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/es.ts +0 -5
  1288. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/fr.ts +0 -5
  1289. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/it.ts +0 -5
  1290. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/ja.ts +0 -5
  1291. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/lv.ts +0 -5
  1292. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/pl.ts +0 -5
  1293. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/sk.ts +0 -5
  1294. package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/zh_CN.ts +0 -5
  1295. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/cs.ts +0 -20
  1296. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/de.ts +0 -20
  1297. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/en.ts +0 -20
  1298. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/es.ts +0 -20
  1299. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/fr.ts +0 -20
  1300. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/it.ts +0 -20
  1301. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/ja.ts +0 -20
  1302. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/lv.ts +0 -20
  1303. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/pl.ts +0 -20
  1304. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/sk.ts +0 -20
  1305. package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/zh_CN.ts +0 -20
  1306. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/cs.ts +0 -26
  1307. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/de.ts +0 -26
  1308. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/en.ts +0 -26
  1309. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/es.ts +0 -26
  1310. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/fr.ts +0 -26
  1311. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/it.ts +0 -26
  1312. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/ja.ts +0 -26
  1313. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/lv.ts +0 -26
  1314. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/pl.ts +0 -26
  1315. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/sk.ts +0 -26
  1316. package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/zh_CN.ts +0 -26
  1317. package/src/lib/helpers/mrx-gallery-lib/package.json +0 -15
  1318. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/Carousel.d.ts +0 -186
  1319. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/consts.d.ts +0 -8
  1320. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/options.d.ts +0 -108
  1321. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Autoplay/Autoplay.d.ts +0 -62
  1322. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Dots/Dots.d.ts +0 -44
  1323. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Navigation/Navigation.d.ts +0 -41
  1324. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Sync/Sync.d.ts +0 -44
  1325. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Thumbs/Thumbs.d.ts +0 -99
  1326. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/index.d.ts +0 -5
  1327. package/src/lib/helpers/mrx-gallery-lib/types/Carousel/types.d.ts +0 -94
  1328. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/Fancybox.d.ts +0 -231
  1329. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/consts.d.ts +0 -13
  1330. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/options.d.ts +0 -171
  1331. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Hash/Hash.d.ts +0 -34
  1332. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Html/Html.d.ts +0 -105
  1333. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Images/Images.d.ts +0 -66
  1334. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Slideshow/Slideshow.d.ts +0 -42
  1335. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Thumbs/Thumbs.d.ts +0 -42
  1336. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Toolbar/Toolbar.d.ts +0 -86
  1337. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/index.d.ts +0 -8
  1338. package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/types.d.ts +0 -91
  1339. package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/Panzoom.d.ts +0 -357
  1340. package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/consts.d.ts +0 -9
  1341. package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/options.d.ts +0 -172
  1342. package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Pins/Pins.d.ts +0 -18
  1343. package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Toolbar/Toolbar.d.ts +0 -31
  1344. package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/index.d.ts +0 -2
  1345. package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/types.d.ts +0 -112
  1346. package/src/lib/helpers/mrx-gallery-lib/types/index.d.ts +0 -3
  1347. package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Base.d.ts +0 -16
  1348. package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Component.d.ts +0 -9
  1349. package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Plugin.d.ts +0 -7
  1350. package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/types.d.ts +0 -9
  1351. package/src/lib/helpers/mrx-gallery-lib/types/shared/buttons.d.ts +0 -88
  1352. package/src/lib/helpers/mrx-gallery-lib/types/shared/spinner.d.ts +0 -1
  1353. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/PointerTracker.d.ts +0 -45
  1354. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/addClass.d.ts +0 -1
  1355. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/canUseDOM.d.ts +0 -4
  1356. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDimensions.d.ts +0 -8
  1357. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDirectChildren.d.ts +0 -1
  1358. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getScrollableParent.d.ts +0 -2
  1359. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isInViewport.d.ts +0 -1
  1360. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isNode.d.ts +0 -1
  1361. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isPlainObject.d.ts +0 -1
  1362. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/merge.d.ts +0 -1
  1363. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/removeClass.d.ts +0 -1
  1364. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/resolve.d.ts +0 -1
  1365. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/round.d.ts +0 -4
  1366. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/setFocusOn.d.ts +0 -2
  1367. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/splitClasses.d.ts +0 -1
  1368. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/stringToHtml.d.ts +0 -1
  1369. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/throttle.d.ts +0 -5
  1370. package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/toggleClass.d.ts +0 -1
  1371. package/src/lib/helpers/number-format.ts +0 -8
  1372. package/src/lib/helpers/string-hash-code.ts +0 -16
  1373. package/src/lib/helpers/word-form.ts +0 -11
  1374. package/src/lib/models/index.ts +0 -2
  1375. package/src/lib/models/input-file/input-file.model.ts +0 -26
  1376. package/src/lib/models/typed-input-model.ts +0 -17
  1377. package/src/lib/myrta-ui.module.ts +0 -146
  1378. package/src/lib/pipes/currency/currency.module.ts +0 -14
  1379. package/src/lib/pipes/currency/currency.pipe.ts +0 -19
  1380. package/src/lib/pipes/date/date-format.module.ts +0 -11
  1381. package/src/lib/pipes/date/date-format.pipe.ts +0 -17
  1382. package/src/lib/pipes/date/date-time-format.pipe.ts +0 -17
  1383. package/src/lib/pipes/date/enums/timezone.ts +0 -10
  1384. package/src/lib/pipes/date/helpers/change-timezone.ts +0 -25
  1385. package/src/lib/pipes/phone/phone-format.module.ts +0 -10
  1386. package/src/lib/pipes/phone/phone-format.pipe.ts +0 -16
  1387. package/src/lib/pipes/safe/safe.module.ts +0 -14
  1388. package/src/lib/pipes/safe/safe.pipe.ts +0 -14
  1389. package/src/lib/pipes/truncate/truncate.module.ts +0 -14
  1390. package/src/lib/pipes/truncate/truncate.pipe.ts +0 -19
  1391. package/src/lib/services/dialog/components/dialog/dialog.component.html +0 -7
  1392. package/src/lib/services/dialog/components/dialog/dialog.component.less +0 -22
  1393. package/src/lib/services/dialog/components/dialog/dialog.component.ts +0 -55
  1394. package/src/lib/services/dialog/dialog.module.ts +0 -19
  1395. package/src/lib/services/dialog/directives/insertion.directive.ts +0 -8
  1396. package/src/lib/services/dialog/services/dialog.service.ts +0 -68
  1397. package/src/lib/services/dialog/utils/dialog-config.ts +0 -3
  1398. package/src/lib/services/dialog/utils/dialog-injector.ts +0 -17
  1399. package/src/lib/services/dialog/utils/dialog-ref.ts +0 -12
  1400. package/src/lib/services/file-upload/file-upload.service.ts +0 -24
  1401. package/src/lib/services/index.ts +0 -19
  1402. package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.html +0 -20
  1403. package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.less +0 -0
  1404. package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.ts +0 -47
  1405. package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.html +0 -29
  1406. package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.less +0 -0
  1407. package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.ts +0 -51
  1408. package/src/lib/services/modal-service/helpers/index.ts +0 -4
  1409. package/src/lib/services/modal-service/helpers/modal-default-config.ts +0 -16
  1410. package/src/lib/services/modal-service/helpers/modal-ref.ts +0 -36
  1411. package/src/lib/services/modal-service/helpers/modal-tokens.ts +0 -4
  1412. package/src/lib/services/modal-service/helpers/modal.component.ts +0 -3
  1413. package/src/lib/services/modal-service/modal-service.module.ts +0 -15
  1414. package/src/lib/services/modal-service/modal-service.service.ts +0 -100
  1415. package/src/lib/services/modal-service/models/modal-config.model.ts +0 -16
  1416. package/src/lib/services/mrx-autosave/mrx-autosave.service.ts +0 -58
  1417. package/src/lib/services/mrx-form-validator/constants/invalid-messages.ts +0 -9
  1418. package/src/lib/services/mrx-form-validator/helpers/get-error-message.helper.ts +0 -17
  1419. package/src/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.ts +0 -30
  1420. package/src/lib/services/mrx-form-validator/models/index.ts +0 -3
  1421. package/src/lib/services/mrx-form-validator/models/validations-options.model.ts +0 -35
  1422. package/src/lib/services/mrx-form-validator/models/validations-settings.model.ts +0 -8
  1423. package/src/lib/services/mrx-form-validator/models/validations-types.model.ts +0 -23
  1424. package/src/lib/services/mrx-form-validator/mrx-form-validator.ts +0 -278
  1425. package/src/lib/services/mrx-form-validator/validations/callback.validation.ts +0 -24
  1426. package/src/lib/services/mrx-form-validator/validations/email.validation.ts +0 -20
  1427. package/src/lib/services/mrx-form-validator/validations/max-length.validation.ts +0 -26
  1428. package/src/lib/services/mrx-form-validator/validations/max-value.validation.ts +0 -21
  1429. package/src/lib/services/mrx-form-validator/validations/min-length.validation.ts +0 -26
  1430. package/src/lib/services/mrx-form-validator/validations/min-value.validation.ts +0 -19
  1431. package/src/lib/services/mrx-form-validator/validations/pattern.validation.ts +0 -20
  1432. package/src/lib/services/mrx-form-validator/validations/required.validation.ts +0 -34
  1433. package/src/lib/services/save-store/constants/constants.ts +0 -1
  1434. package/src/lib/services/save-store/models/save-store.model.ts +0 -4
  1435. package/src/lib/services/save-store/save-store.module.ts +0 -17
  1436. package/src/lib/services/save-store/store/actions.ts +0 -56
  1437. package/src/lib/services/save-store/store/effect.ts +0 -61
  1438. package/src/lib/services/save-store/store/reducer.ts +0 -103
  1439. package/src/lib/services/save-store/store/selectors.ts +0 -10
  1440. package/src/lib/services/save-store/store/state.ts +0 -16
  1441. package/src/lib/services/toaster-service/components/toaster/assets/toaster-colors.less +0 -78
  1442. package/src/lib/services/toaster-service/components/toaster/assets/toaster-content.less +0 -17
  1443. package/src/lib/services/toaster-service/components/toaster/assets/toaster.less +0 -45
  1444. package/src/lib/services/toaster-service/components/toaster/toaster.component.html +0 -37
  1445. package/src/lib/services/toaster-service/components/toaster/toaster.component.less +0 -3
  1446. package/src/lib/services/toaster-service/components/toaster/toaster.component.ts +0 -26
  1447. package/src/lib/services/toaster-service/config/index.ts +0 -12
  1448. package/src/lib/services/toaster-service/models/toaster.model.ts +0 -14
  1449. package/src/lib/services/toaster-service/toaster-service.module.ts +0 -20
  1450. package/src/lib/services/toaster-service/toaster-service.service.ts +0 -51
  1451. package/src/public-api.ts +0 -244
  1452. package/tsconfig.lib.json +0 -15
  1453. package/tsconfig.lib.prod.json +0 -10
  1454. package/tsconfig.spec.json +0 -17
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbi1lZGl0b3IuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2pzb24tZWRpdG9yL2pzb24tZWRpdG9yLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEpzb25FZGl0b3JWYWx1ZVR5cGVzID0gc3RyaW5nO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBKc29uRWRpdG9yVmFsdWVXaXRoSWQge1xyXG4gIHZhbHVlOiBKc29uRWRpdG9yVmFsdWVUeXBlcyxcclxuICBpZDogc3RyaW5nXHJcbn1cclxuIl19
@@ -0,0 +1,24 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { JsonEditorComponent } from './json-editor.component';
4
+ import * as i0 from "@angular/core";
5
+ export class JsonEditorModule {
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JsonEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: JsonEditorModule, declarations: [JsonEditorComponent], imports: [CommonModule], exports: [JsonEditorComponent] });
8
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JsonEditorModule, imports: [CommonModule] });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JsonEditorModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [
14
+ JsonEditorComponent
15
+ ],
16
+ imports: [
17
+ CommonModule
18
+ ],
19
+ exports: [
20
+ JsonEditorComponent
21
+ ]
22
+ }]
23
+ }] });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbi1lZGl0b3IubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vanNvbi1lZGl0b3IvanNvbi1lZGl0b3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDOztBQWM5RCxNQUFNLE9BQU8sZ0JBQWdCO3dHQUFoQixnQkFBZ0I7eUdBQWhCLGdCQUFnQixpQkFUckIsbUJBQW1CLGFBR25CLFlBQVksYUFHWixtQkFBbUI7eUdBR2QsZ0JBQWdCLFlBTnJCLFlBQVk7OzRGQU1QLGdCQUFnQjtrQkFYNUIsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUU7d0JBQ1YsbUJBQW1CO3FCQUN0QjtvQkFDRCxPQUFPLEVBQUU7d0JBQ0wsWUFBWTtxQkFDZjtvQkFDRCxPQUFPLEVBQUU7d0JBQ0wsbUJBQW1CO3FCQUN0QjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgSnNvbkVkaXRvckNvbXBvbmVudCB9IGZyb20gJy4vanNvbi1lZGl0b3IuY29tcG9uZW50JztcblxuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBKc29uRWRpdG9yQ29tcG9uZW50XG4gICAgXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZVxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBKc29uRWRpdG9yQ29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBKc29uRWRpdG9yTW9kdWxlIHtcbn1cbiJdfQ==
@@ -0,0 +1,133 @@
1
+ /* eslint-disable @typescript-eslint/ban-types */
2
+ export class JsonEditorOptions {
3
+ ace;
4
+ ajv;
5
+ /**
6
+ * {function} onChange Callback method, triggered
7
+ on change of contents.
8
+ Does not pass the contents itself.
9
+ See also `onChangeJSON` and
10
+ `onChangeText`.
11
+ */
12
+ onChange;
13
+ /**
14
+ * // {function} onChangeJSON Callback method, triggered
15
+ // in modes on change of contents,
16
+ // passing the changed contents
17
+ // as JSON.
18
+ // Only applicable for modes
19
+ // 'tree', 'view', and 'form'.
20
+ */
21
+ onChangeJSON;
22
+ onNodeName;
23
+ onCreateMenu;
24
+ onColorPicker;
25
+ /**
26
+ // {function} onChangeText Callback method, triggered
27
+ // in modes on change of contents,
28
+ // passing the changed contents
29
+ // as stringified JSON.
30
+ */
31
+ onChangeText;
32
+ /**
33
+ * {function} onSelectionChange Callback method,
34
+ triggered on node selection change
35
+ Only applicable for modes
36
+ 'tree', 'view', and 'form'
37
+ */
38
+ onSelectionChange;
39
+ /**
40
+ * {function} onTextSelectionChange Callback method,
41
+ triggered on text selection change
42
+ Only applicable for modes
43
+ */
44
+ onTextSelectionChange;
45
+ /**
46
+ * // {function} onEvent Callback method, triggered
47
+ // when an event occurs in
48
+ // a JSON field or value.
49
+ // Only applicable for
50
+ // modes 'form', 'tree' and
51
+ // 'view'
52
+ */
53
+ onEvent;
54
+ /**
55
+ * // * {function} onFocus Callback method, triggered
56
+ // when the editor comes into focus,
57
+ // passing an object {type, target},
58
+ // Applicable for all modes
59
+ */
60
+ onFocus;
61
+ // * {function} onBlur Callback method, triggered
62
+ // when the editor goes out of focus,
63
+ // passing an object {type, target},
64
+ // Applicable for all modes
65
+ onBlur;
66
+ /**
67
+ * // * {function} onClassName Callback method, triggered
68
+ // when a Node DOM is rendered. Function returns
69
+ // a css class name to be set on a node.
70
+ // Only applicable for
71
+ // modes 'form', 'tree' and
72
+ // 'view'
73
+ */
74
+ onClassName;
75
+ onEditable;
76
+ /**
77
+ * {function} onError Callback method, triggered
78
+ when an error occurs
79
+ */
80
+ onError;
81
+ onModeChange;
82
+ onValidate;
83
+ onValidationError;
84
+ enableSort;
85
+ enableTransform;
86
+ escapeUnicode;
87
+ expandAll;
88
+ sortObjectKeys;
89
+ history;
90
+ mode;
91
+ modes;
92
+ name;
93
+ schema;
94
+ search;
95
+ indentation;
96
+ templates;
97
+ theme;
98
+ language;
99
+ languages;
100
+ /**
101
+ * Adds main menu bar - Contains format, sort, transform, search etc. functionality. True
102
+ * by default. Applicable in all types of mode.
103
+ */
104
+ mainMenuBar;
105
+ /**
106
+ * Adds navigation bar to the menu - the navigation bar visualize the current position on
107
+ * the tree structure as well as allows breadcrumbs navigation.
108
+ * True by default.
109
+ * Only applicable when mode is 'tree', 'form' or 'view'.
110
+ */
111
+ navigationBar;
112
+ /**
113
+ * Adds status bar to the bottom of the editor - the status bar shows the cursor position
114
+ * and a count of the selected characters.
115
+ * True by default.
116
+ * Only applicable when mode is 'code' or 'text'.
117
+ */
118
+ statusBar;
119
+ constructor() {
120
+ this.enableSort = true;
121
+ this.enableTransform = true;
122
+ this.escapeUnicode = false;
123
+ this.expandAll = false;
124
+ this.sortObjectKeys = false;
125
+ this.history = true;
126
+ this.mode = 'tree';
127
+ this.search = true;
128
+ this.indentation = 2;
129
+ this.mainMenuBar = true;
130
+ this.navigationBar = true;
131
+ }
132
+ }
133
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbmVkaXRvcm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9qc29uLWVkaXRvci91dGlscy9qc29uZWRpdG9yb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxpREFBaUQ7QUFlakQsTUFBTSxPQUFPLGlCQUFpQjtJQUNyQixHQUFHLENBQU07SUFDVCxHQUFHLENBQVU7SUFHcEI7Ozs7OztPQU1HO0lBQ0ksUUFBUSxDQUFjO0lBRTdCOzs7Ozs7O09BT0c7S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RoZSBlZGl0b3IgLSB0aGUgc3RhdHVzIGJhciBzaG93cyB0aGUgY3Vyc29yIHBvc2l0aW9uXHJcbiAgICogYW5kIGEgY291bnQgb2YgdGhlIHNlbGVjdGVkIGNoYXJhY3RlcnMuXHJcbiAgICogVHJ1ZSBieSBkZWZhdWx0LlxyXG4gICAqIE9ubHkgYXBwbGljYWJsZSB3aGVuIG1vZGUgaXMgJ2NvZGUnIG9yICd0ZXh0Jy5cclxuICAgKi9cclxuICBwdWJsaWMgc3RhdHVzQmFyITogYm9vbGVhbjtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7XHJcbiAgICB0aGlzLmVuYWJsZVNvcnQgPSB0cnVlO1xyXG4gICAgdGhpcy5lbmFibGVUcmFuc2Zvcm0gPSB0cnVlO1xyXG4gICAgdGhpcy5lc2NhcGVVbmljb2RlID0gZmFsc2U7XHJcbiAgICB0aGlzLmV4cGFuZEFsbCA9IGZhbHNlO1xyXG4gICAgdGhpcy5zb3J0T2JqZWN0S2V5cyA9IGZhbHNlO1xyXG4gICAgdGhpcy5oaXN0b3J5ID0gdHJ1ZTtcclxuICAgIHRoaXMubW9kZSA9ICd0cmVlJztcclxuICAgIHRoaXMuc2VhcmNoID0gdHJ1ZTtcclxuICAgIHRoaXMuaW5kZW50YXRpb24gPSAyO1xyXG4gICAgdGhpcy5tYWluTWVudUJhciA9IHRydWVcclxuICAgIHRoaXMubmF2aWdhdGlvbkJhciA9IHRydWVcclxuICB9XHJcbn1cclxuIl19
@@ -0,0 +1,91 @@
1
+ import { ChangeDetectionStrategy, Component, forwardRef, Input } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from "@angular/forms";
3
+ import { RadioTypesEnum } from "./radio.enum";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ import * as i2 from "@angular/forms";
7
+ export class RadioComponent {
8
+ modelValue;
9
+ required = false;
10
+ type = 'default';
11
+ name = '';
12
+ boldLabel = true;
13
+ disabled = false;
14
+ readonly = false;
15
+ placeholder = '';
16
+ label = '';
17
+ customClasses = '';
18
+ invalid = false;
19
+ _value;
20
+ get value() {
21
+ return this._value;
22
+ }
23
+ set value(value) {
24
+ if (!!value) {
25
+ this._value = value;
26
+ this.onChange(value);
27
+ this.onTouched();
28
+ }
29
+ }
30
+ get getClasses() {
31
+ return `${RadioTypesEnum[this.type]} ${this.customClasses}`;
32
+ }
33
+ onChange = (value) => {
34
+ };
35
+ onTouched = () => {
36
+ };
37
+ registerOnChange(fn) {
38
+ this.onChange = fn;
39
+ }
40
+ registerOnTouched(fn) {
41
+ this.onTouched = fn;
42
+ }
43
+ writeValue(outsideValue) {
44
+ this.modelValue = outsideValue;
45
+ }
46
+ valueChanged(event) {
47
+ this.onChange(this.modelValue);
48
+ }
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
50
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: RadioComponent, selector: "mrx-radio", inputs: { required: "required", type: "type", name: "name", boldLabel: "boldLabel", disabled: "disabled", readonly: "readonly", placeholder: "placeholder", label: "label", customClasses: "customClasses", invalid: "invalid", _value: ["value", "_value"] }, providers: [
51
+ {
52
+ provide: NG_VALUE_ACCESSOR,
53
+ useExisting: forwardRef(() => RadioComponent),
54
+ multi: true,
55
+ },
56
+ ], ngImport: i0, template: "<div class=\"mrx-radio__wrapper\">\r\n <label\r\n class=\"mrx-radio\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n >\r\n <input\r\n type=\"radio\"\r\n [name]=\"name\"\r\n [value]=\"value\"\r\n [(ngModel)]=\"modelValue\"\r\n [disabled]=\"disabled || readonly\"\r\n [readonly]=\"readonly\"\r\n (change)=\"valueChanged(value)\"\r\n />\r\n\r\n <span class=\"mrx-radio__mark\"><span class=\"mrx-radio__mark__inner\"></span></span>\r\n\r\n <span class=\"ml-1\" [class]=\"boldLabel ? 'mrx-radio__label--bold' : 'mrx-radio__label'\">\r\n {{label}}\r\n <ng-content></ng-content>\r\n <span *ngIf=\"required && !disabled\" class=\"required-active\">*</span>\r\n </span>\r\n </label>\r\n</div>\r\n", styles: [".mrx-radio.mrx-radio{display:flex!important;align-items:center;min-height:auto!important;margin-bottom:0!important;overflow:visible;background-color:transparent;cursor:pointer;box-sizing:border-box;position:relative}.mrx-radio input[type=radio]{position:absolute;z-index:-1;opacity:0;width:0;height:0;margin:0}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark{display:flex;align-items:center;justify-content:center;height:var(--sizing-4);width:var(--sizing-4);min-width:var(--sizing-4);border:var(--border-width-checkbox) solid var(--neutral-bg-stroke-default, #DBDFE5);border-radius:50%;transition:border .2s;position:relative}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark .mrx-radio__mark__inner{display:block;width:6px;height:6px;border-radius:50%;background:var(--brand-bg-primary-default, #2A6AB8);opacity:0;transition:opacity .2s}.mrx-radio.mrx-radio.mrx-radio-default:hover .mrx-radio__mark{border-color:var(--neutral-bg-stroke-hover, #0F54AA)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark{border-color:var(--brand-bg-primary-default, #2A6AB8)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark .mrx-radio__mark__inner{opacity:1}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:not(:checked):disabled+.mrx-radio__mark{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark{border-color:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark .mrx-radio__mark__inner{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-input-error.mrx-radio-default .mrx-radio__mark{border-color:var(--system-bg-controls-negative-default, #B83B15)}.mrx-radio.mrx-radio .mrx-radio__label{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:400;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .mrx-radio__label--bold{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:700;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .required-active{font-family:var(--body-md-bold-font-family);font-size:var(--body-md-bold-font-size);font-weight:var(--body-md-bold-font-weight);line-height:var(--body-md-bold-line-height);color:var(--system-icon-negative, #C65836);margin-left:var(--spacing-1);position:relative;display:inline-block}.mrx-radio__wrapper.mrx-radio__wrapper{display:flex;align-items:center;justify-content:flex-start}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
57
+ }
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioComponent, decorators: [{
59
+ type: Component,
60
+ args: [{ selector: 'mrx-radio', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
61
+ {
62
+ provide: NG_VALUE_ACCESSOR,
63
+ useExisting: forwardRef(() => RadioComponent),
64
+ multi: true,
65
+ },
66
+ ], template: "<div class=\"mrx-radio__wrapper\">\r\n <label\r\n class=\"mrx-radio\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n >\r\n <input\r\n type=\"radio\"\r\n [name]=\"name\"\r\n [value]=\"value\"\r\n [(ngModel)]=\"modelValue\"\r\n [disabled]=\"disabled || readonly\"\r\n [readonly]=\"readonly\"\r\n (change)=\"valueChanged(value)\"\r\n />\r\n\r\n <span class=\"mrx-radio__mark\"><span class=\"mrx-radio__mark__inner\"></span></span>\r\n\r\n <span class=\"ml-1\" [class]=\"boldLabel ? 'mrx-radio__label--bold' : 'mrx-radio__label'\">\r\n {{label}}\r\n <ng-content></ng-content>\r\n <span *ngIf=\"required && !disabled\" class=\"required-active\">*</span>\r\n </span>\r\n </label>\r\n</div>\r\n", styles: [".mrx-radio.mrx-radio{display:flex!important;align-items:center;min-height:auto!important;margin-bottom:0!important;overflow:visible;background-color:transparent;cursor:pointer;box-sizing:border-box;position:relative}.mrx-radio input[type=radio]{position:absolute;z-index:-1;opacity:0;width:0;height:0;margin:0}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark{display:flex;align-items:center;justify-content:center;height:var(--sizing-4);width:var(--sizing-4);min-width:var(--sizing-4);border:var(--border-width-checkbox) solid var(--neutral-bg-stroke-default, #DBDFE5);border-radius:50%;transition:border .2s;position:relative}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark .mrx-radio__mark__inner{display:block;width:6px;height:6px;border-radius:50%;background:var(--brand-bg-primary-default, #2A6AB8);opacity:0;transition:opacity .2s}.mrx-radio.mrx-radio.mrx-radio-default:hover .mrx-radio__mark{border-color:var(--neutral-bg-stroke-hover, #0F54AA)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark{border-color:var(--brand-bg-primary-default, #2A6AB8)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark .mrx-radio__mark__inner{opacity:1}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:not(:checked):disabled+.mrx-radio__mark{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark{border-color:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark .mrx-radio__mark__inner{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-input-error.mrx-radio-default .mrx-radio__mark{border-color:var(--system-bg-controls-negative-default, #B83B15)}.mrx-radio.mrx-radio .mrx-radio__label{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:400;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .mrx-radio__label--bold{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:700;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .required-active{font-family:var(--body-md-bold-font-family);font-size:var(--body-md-bold-font-size);font-weight:var(--body-md-bold-font-weight);line-height:var(--body-md-bold-line-height);color:var(--system-icon-negative, #C65836);margin-left:var(--spacing-1);position:relative;display:inline-block}.mrx-radio__wrapper.mrx-radio__wrapper{display:flex;align-items:center;justify-content:flex-start}\n"] }]
67
+ }], propDecorators: { required: [{
68
+ type: Input
69
+ }], type: [{
70
+ type: Input
71
+ }], name: [{
72
+ type: Input
73
+ }], boldLabel: [{
74
+ type: Input
75
+ }], disabled: [{
76
+ type: Input
77
+ }], readonly: [{
78
+ type: Input
79
+ }], placeholder: [{
80
+ type: Input
81
+ }], label: [{
82
+ type: Input
83
+ }], customClasses: [{
84
+ type: Input
85
+ }], invalid: [{
86
+ type: Input
87
+ }], _value: [{
88
+ type: Input,
89
+ args: ['value']
90
+ }] } });
91
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi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m1yeC1yYWRpb1wiXHJcbiAgICBbY2xhc3NdPVwiZ2V0Q2xhc3Nlc1wiXHJcbiAgICBbY2xhc3MubXJ4LWlucHV0LWVycm9yXT1cImludmFsaWRcIlxyXG4gID5cclxuICAgIDxpbnB1dFxyXG4gICAgICB0eXBlPVwicmFkaW9cIlxyXG4gICAgICBbbmFtZV09XCJuYW1lXCJcclxuICAgICAgW3ZhbHVlXT1cInZhbHVlXCJcclxuICAgICAgWyhuZ01vZGVsKV09XCJtb2RlbFZhbHVlXCJcclxuICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkIHx8IHJlYWRvbmx5XCJcclxuICAgICAgW3JlYWRvbmx5XT1cInJlYWRvbmx5XCJcclxuICAgICAgKGNoYW5nZSk9XCJ2YWx1ZUNoYW5nZWQodmFsdWUpXCJcclxuICAgIC8+XHJcblxyXG4gICAgPHNwYW4gY2xhc3M9XCJtcngtcmFkaW9fX21hcmtcIj48c3BhbiBjbGFzcz1cIm1yeC1yYWRpb19fbWFya19faW5uZXJcIj48L3NwYW4+PC9zcGFuPlxyXG5cclxuICAgIDxzcGFuIGNsYXNzPVwibWwtMVwiIFtjbGFzc109XCJib2xkTGFiZWwgPyAnbXJ4LXJhZGlvX19sYWJlbC0tYm9sZCcgOiAnbXJ4LXJhZGlvX19sYWJlbCdcIj5cclxuICAgICAgICB7e2xhYmVsfX1cclxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgICAgIDxzcGFuICpuZ0lmPVwicmVxdWlyZWQgJiYgIWRpc2FibGVkXCIgY2xhc3M9XCJyZXF1aXJlZC1hY3RpdmVcIj4qPC9zcGFuPlxyXG4gICAgPC9zcGFuPlxyXG4gIDwvbGFiZWw+XHJcbjwvZGl2PlxyXG4iXX0=
@@ -0,0 +1,5 @@
1
+ export var RadioTypesEnum;
2
+ (function (RadioTypesEnum) {
3
+ RadioTypesEnum["default"] = "mrx-radio-default";
4
+ })(RadioTypesEnum || (RadioTypesEnum = {}));
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL3JhZGlvL3JhZGlvLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksY0FFWDtBQUZELFdBQVksY0FBYztJQUN4QiwrQ0FBK0IsQ0FBQTtBQUNqQyxDQUFDLEVBRlcsY0FBYyxLQUFkLGNBQWMsUUFFekIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBSYWRpb1R5cGVzRW51bSB7XHJcbiAgJ2RlZmF1bHQnID0gJ21yeC1yYWRpby1kZWZhdWx0JyxcclxufVxyXG4vLyB8ICdpbmRldGVybWluYXRlJ1xyXG5leHBvcnQgdHlwZSBSYWRpb1R5cGVzID0gJ2RlZmF1bHQnXHJcbiJdfQ==
@@ -0,0 +1,20 @@
1
+ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { RadioComponent } from './radio.component';
4
+ import { FormsModule } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ export class RadioModule {
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: RadioModule, declarations: [RadioComponent], imports: [CommonModule, FormsModule], exports: [RadioComponent] });
9
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioModule, imports: [CommonModule, FormsModule] });
10
+ }
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioModule, decorators: [{
12
+ type: NgModule,
13
+ args: [{
14
+ declarations: [RadioComponent],
15
+ imports: [CommonModule, FormsModule],
16
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
17
+ exports: [RadioComponent]
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vcmFkaW8vcmFkaW8ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBVTdDLE1BQU0sT0FBTyxXQUFXO3dHQUFYLFdBQVc7eUdBQVgsV0FBVyxpQkFMUCxjQUFjLGFBQ25CLFlBQVksRUFBRSxXQUFXLGFBRXpCLGNBQWM7eUdBRWIsV0FBVyxZQUpaLFlBQVksRUFBRSxXQUFXOzs0RkFJeEIsV0FBVztrQkFOdkIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxjQUFjLENBQUM7b0JBQzlCLE9BQU8sRUFBRSxDQUFDLFlBQVksRUFBRSxXQUFXLENBQUM7b0JBQ3BDLE9BQU8sRUFBRSxDQUFDLHNCQUFzQixDQUFDO29CQUNqQyxPQUFPLEVBQUUsQ0FBQyxjQUFjLENBQUM7aUJBQzFCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQSwgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcclxuaW1wb3J0IHsgUmFkaW9Db21wb25lbnQgfSBmcm9tICcuL3JhZGlvLmNvbXBvbmVudCc7XHJcbmltcG9ydCB7IEZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1JhZGlvQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBGb3Jtc01vZHVsZV0sXHJcbiAgc2NoZW1hczogW0NVU1RPTV9FTEVNRU5UU19TQ0hFTUFdLFxyXG4gIGV4cG9ydHM6IFtSYWRpb0NvbXBvbmVudF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFJhZGlvTW9kdWxlIHsgfVxyXG4iXX0=
@@ -0,0 +1,48 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/forms";
5
+ import * as i3 from "../../../input-search/input-search.component";
6
+ import * as i4 from "../../../../label/label.component";
7
+ export class RadioGroupHeaderComponent {
8
+ searchValue = '';
9
+ searchSize = 'medium';
10
+ searchable = false;
11
+ searchPlaceholder = '';
12
+ // LABEL
13
+ tooltip = '';
14
+ labelText = '';
15
+ linkText = '';
16
+ checkedItemsCount = 0;
17
+ required = false;
18
+ updateradioGroupSearchValue = new EventEmitter();
19
+ constructor() { }
20
+ changeSearchValue(searchValue) {
21
+ this.updateradioGroupSearchValue.emit(searchValue);
22
+ }
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: RadioGroupHeaderComponent, selector: "mrx-radio-group-header", inputs: { searchSize: "searchSize", searchable: "searchable", searchPlaceholder: "searchPlaceholder", tooltip: "tooltip", labelText: "labelText", linkText: "linkText", checkedItemsCount: "checkedItemsCount", required: "required" }, outputs: { updateradioGroupSearchValue: "updateradioGroupSearchValue" }, ngImport: i0, template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"required\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-radio-group-head--search mb-12px\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"searchSize\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.InputSearchComponent, selector: "mrx-input-search", inputs: ["disabled", "required", "readonly", "maxlength", "minlength", "placeholder", "invalid", "invalidMessage", "checkInvalid", "customClasses", "mask", "size"], outputs: ["changed", "cleared", "searched"] }, { kind: "component", type: i4.LabelComponent, selector: "mrx-label", inputs: ["requiredHidden", "required", "boldLabel", "disabled", "placeholder", "label", "customClasses", "triggerTextPosition", "isPublicInfo", "publicInfoTooltip", "isSwitch", "switchLabel", "switchValue", "counter", "linkText", "linkPrevent", "linkType", "linkMonochrome", "href", "triggerType", "tooltip", "tooltipInitialVisible", "isSaveToStorage"], outputs: ["changeCheckboxValue", "clickedLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
+ }
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupHeaderComponent, decorators: [{
27
+ type: Component,
28
+ args: [{ selector: 'mrx-radio-group-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"required\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-radio-group-head--search mb-12px\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"searchSize\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n" }]
29
+ }], ctorParameters: () => [], propDecorators: { searchSize: [{
30
+ type: Input
31
+ }], searchable: [{
32
+ type: Input
33
+ }], searchPlaceholder: [{
34
+ type: Input
35
+ }], tooltip: [{
36
+ type: Input
37
+ }], labelText: [{
38
+ type: Input
39
+ }], linkText: [{
40
+ type: Input
41
+ }], checkedItemsCount: [{
42
+ type: Input
43
+ }], required: [{
44
+ type: Input
45
+ }], updateradioGroupSearchValue: [{
46
+ type: Output
47
+ }] } });
48
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tZ3JvdXAtaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL3JhZGlvLWdyb3VwL2NvbXBvbmVudHMv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bmdNb2RlbF09XCJzZWFyY2hWYWx1ZVwiXHJcbiAgICBbc2l6ZV09XCJzZWFyY2hTaXplXCJcclxuICAgIFtwbGFjZWhvbGRlcl09XCJzZWFyY2hQbGFjZWhvbGRlclwiXHJcbiAgICAobmdNb2RlbENoYW5nZSk9XCJjaGFuZ2VTZWFyY2hWYWx1ZSgkZXZlbnQpXCJcclxuICA+PC9tcngtaW5wdXQtc2VhcmNoPlxyXG48L2Rpdj5cclxuIl19
@@ -0,0 +1,72 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/forms";
5
+ import * as i3 from "../../../radio/radio.component";
6
+ export class RadioGroupItemComponent {
7
+ detector;
8
+ invalid = false;
9
+ name = '';
10
+ selectedValue = null;
11
+ item;
12
+ displaced = false;
13
+ level = 0;
14
+ bold = false;
15
+ animationTrigger = null;
16
+ isLast;
17
+ disabled = false;
18
+ readonly = false;
19
+ animationEnd = new EventEmitter();
20
+ radioChanged = new EventEmitter();
21
+ constructor(detector) {
22
+ this.detector = detector;
23
+ }
24
+ get isIndeterminate() {
25
+ return this.item.id === null;
26
+ }
27
+ trackByFn(index, item) {
28
+ return item.id;
29
+ }
30
+ radioChangeModel(value, item) {
31
+ if (this.isIndeterminate) {
32
+ this.radioChanged.emit({ value: false, item });
33
+ }
34
+ else {
35
+ this.radioChanged.emit({ value: value, item });
36
+ }
37
+ this.detector.detectChanges();
38
+ }
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
40
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: RadioGroupItemComponent, selector: "mrx-radio-group-item", inputs: { invalid: "invalid", name: "name", selectedValue: "selectedValue", item: "item", displaced: "displaced", level: "level", bold: "bold", animationTrigger: "animationTrigger", isLast: "isLast", disabled: "disabled", readonly: "readonly" }, outputs: { animationEnd: "animationEnd", radioChanged: "radioChanged" }, ngImport: i0, template: "<div class=\"mrx-radio-group__item\" [class.mrx-radio-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-radio-group__item--array\" *ngIf=\"item.array.length && level < 10; else singleradioTemplate\">\r\n <div class=\"mrx-radio-group__item--array-head mb-12px\">\r\n\r\n <mrx-radio\r\n [ngModel]=\"selectedValue?.id\"\r\n [value]=\"item.id\"\r\n [name]=\"name\"\r\n [boldLabel]=\"bold\"\r\n [invalid]=\"invalid\"\r\n (ngModelChange)=\"radioChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-radio>\r\n </div>\r\n\r\n <div class=\"mrx-radio-group__item--array-list\">\r\n <ng-container>\r\n <mrx-radio-group-item\r\n *ngFor=\"let child of item.array; trackBy: trackByFn\"\r\n [level]=\"level + 1\"\r\n [selectedValue]=\"selectedValue\"\r\n [item]=\"child\"\r\n [invalid]=\"invalid\"\r\n [bold]=\"bold\"\r\n [name]=\"name\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [animationTrigger]=\"animationTrigger\"\r\n (radioChanged)=\"radioChanged.emit($event)\"\r\n ></mrx-radio-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleradioTemplate>\r\n <div class=\"mrx-radio-group__item--single\">\r\n <mrx-radio\r\n [ngModel]=\"selectedValue?.id\"\r\n [name]=\"name\"\r\n [boldLabel]=\"bold\"\r\n [type]=\"'default'\"\r\n [value]=\"item.id\"\r\n [invalid]=\"invalid\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n (ngModelChange)=\"radioChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-radio>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-radio-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-radio-group__item--array-list{padding-left:20px}.mrx-radio-group__item--buttom-ident{margin-bottom:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.RadioComponent, selector: "mrx-radio", inputs: ["required", "type", "name", "boldLabel", "disabled", "readonly", "placeholder", "label", "customClasses", "invalid", "value"] }, { kind: "component", type: RadioGroupItemComponent, selector: "mrx-radio-group-item", inputs: ["invalid", "name", "selectedValue", "item", "displaced", "level", "bold", "animationTrigger", "isLast", "disabled", "readonly"], outputs: ["animationEnd", "radioChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupItemComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: 'mrx-radio-group-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mrx-radio-group__item\" [class.mrx-radio-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-radio-group__item--array\" *ngIf=\"item.array.length && level < 10; else singleradioTemplate\">\r\n <div class=\"mrx-radio-group__item--array-head mb-12px\">\r\n\r\n <mrx-radio\r\n [ngModel]=\"selectedValue?.id\"\r\n [value]=\"item.id\"\r\n [name]=\"name\"\r\n [boldLabel]=\"bold\"\r\n [invalid]=\"invalid\"\r\n (ngModelChange)=\"radioChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-radio>\r\n </div>\r\n\r\n <div class=\"mrx-radio-group__item--array-list\">\r\n <ng-container>\r\n <mrx-radio-group-item\r\n *ngFor=\"let child of item.array; trackBy: trackByFn\"\r\n [level]=\"level + 1\"\r\n [selectedValue]=\"selectedValue\"\r\n [item]=\"child\"\r\n [invalid]=\"invalid\"\r\n [bold]=\"bold\"\r\n [name]=\"name\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [animationTrigger]=\"animationTrigger\"\r\n (radioChanged)=\"radioChanged.emit($event)\"\r\n ></mrx-radio-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleradioTemplate>\r\n <div class=\"mrx-radio-group__item--single\">\r\n <mrx-radio\r\n [ngModel]=\"selectedValue?.id\"\r\n [name]=\"name\"\r\n [boldLabel]=\"bold\"\r\n [type]=\"'default'\"\r\n [value]=\"item.id\"\r\n [invalid]=\"invalid\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n (ngModelChange)=\"radioChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-radio>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-radio-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-radio-group__item--array-list{padding-left:20px}.mrx-radio-group__item--buttom-ident{margin-bottom:12px}\n"] }]
45
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { invalid: [{
46
+ type: Input
47
+ }], name: [{
48
+ type: Input
49
+ }], selectedValue: [{
50
+ type: Input
51
+ }], item: [{
52
+ type: Input
53
+ }], displaced: [{
54
+ type: Input
55
+ }], level: [{
56
+ type: Input
57
+ }], bold: [{
58
+ type: Input
59
+ }], animationTrigger: [{
60
+ type: Input
61
+ }], isLast: [{
62
+ type: Input
63
+ }], disabled: [{
64
+ type: Input
65
+ }], readonly: [{
66
+ type: Input
67
+ }], animationEnd: [{
68
+ type: Output
69
+ }], radioChanged: [{
70
+ type: Output
71
+ }] } });
72
+ //# sourceMappingURL=data:application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JcclxuICAgICAgICAgIFtuYW1lXT1cIm5hbWVcIlxyXG4gICAgICAgICAgW2JvbGRMYWJlbF09XCJib2xkXCJcclxuICAgICAgICAgIFtpbnZhbGlkXT1cImludmFsaWRcIlxyXG4gICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicmFkaW9DaGFuZ2VNb2RlbCgkZXZlbnQsIGl0ZW0pXCJcclxuICAgICAgPnt7IGl0ZW0udGV4dCB9fTwvbXJ4LXJhZGlvPlxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPGRpdiBjbGFzcz1cIm1yeC1yYWRpby1ncm91cF9faXRlbS0tYXJyYXktbGlzdFwiPlxyXG4gICAgICA8bmctY29udGFpbmVyPlxyXG4gICAgICAgIDxtcngtcmFkaW8tZ3JvdXAtaXRlbVxyXG4gICAgICAgICAgICAqbmdGb3I9XCJsZXQgY2hpbGQgb2YgaXRlbS5hcnJheTsgdHJhY2tCeTogdHJhY2tCeUZuXCJcclxuICAgICAgICAgICAgW2xldmVsXT1cImxldmVsICsgMVwiXHJcbiAgICAgICAgICAgIFtzZWxlY3RlZFZhbHVlXT1cInNlbGVjdGVkVmFsdWVcIlxyXG4gICAgICAgICAgICBbaXRlbV09XCJjaGlsZFwiXHJcbiAgICAgICAgICAgIFtpbnZhbGlkXT1cImludmFsaWRcIlxyXG4gICAgICAgICAgICBbYm9sZF09XCJib2xkXCJcclxuICAgICAgICAgICAgW25hbWVdPVwibmFtZVwiXHJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXHJcbiAgICAgICAgICAgIFthbmltYXRpb25UcmlnZ2VyXT1cImFuaW1hdGlvblRyaWdnZXJcIlxyXG4gICAgICAgICAgICAocmFkaW9DaGFuZ2VkKT1cInJhZGlvQ2hhbmdlZC5lbWl0KCRldmVudClcIlxyXG4gICAgICAgID48L21yeC1yYWRpby1ncm91cC1pdGVtPlxyXG4gICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG5cclxuICA8bmctdGVtcGxhdGUgI3NpbmdsZXJhZGlvVGVtcGxhdGU+XHJcbiAgICA8ZGl2IGNsYXNzPVwibXJ4LXJhZGlvLWdyb3VwX19pdGVtLS1zaW5nbGVcIj5cclxuICAgICAgPG1yeC1yYWRpb1xyXG4gICAgICAgICAgW25nTW9kZWxdPVwic2VsZWN0ZWRWYWx1ZT8uaWRcIlxyXG4gICAgICAgICAgW25hbWVdPVwibmFtZVwiXHJcbiAgICAgICAgICBbYm9sZExhYmVsXT1cImJvbGRcIlxyXG4gICAgICAgICAgW3R5cGVdPVwiJ2RlZmF1bHQnXCJcclxuICAgICAgICAgIFt2YWx1ZV09XCJpdGVtLmlkXCJcclxuICAgICAgICAgIFtpbnZhbGlkXT1cImludmFsaWRcIlxyXG4gICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcclxuICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXHJcbiAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJyYWRpb0NoYW5nZU1vZGVsKCRldmVudCwgaXRlbSlcIlxyXG4gICAgICA+e3sgaXRlbS50ZXh0IH19PC9tcngtcmFkaW8+XHJcbiAgICA8L2Rpdj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG48L2Rpdj5cclxuXHJcblxyXG4iXX0=
@@ -0,0 +1,27 @@
1
+ export const filterSearchGroup = (list, searchValue) => {
2
+ if (!list)
3
+ return list;
4
+ const getIntersectionsFromString = (array) => {
5
+ const searchArray = [];
6
+ array.forEach((item) => {
7
+ if (item.text.toLowerCase().includes(searchValue.toLowerCase())) {
8
+ if (item.array) {
9
+ const newArray = getIntersectionsFromString(item.array);
10
+ searchArray.push({ ...item, array: newArray });
11
+ }
12
+ else {
13
+ searchArray.push(item);
14
+ }
15
+ }
16
+ else {
17
+ if (item.array) {
18
+ const newArray = getIntersectionsFromString(item.array);
19
+ newArray.length && searchArray.push({ ...item, array: newArray });
20
+ }
21
+ }
22
+ });
23
+ return searchArray;
24
+ };
25
+ return getIntersectionsFromString(list);
26
+ };
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXNlYXJjaC1ncm91cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL3JhZGlvLWdyb3VwL2hlbHBlcnMvZmlsdGVyLXNlYXJjaC1ncm91cC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxDQUFDLElBQXNCLEVBQUUsV0FBa0MsRUFBRSxFQUFFO0lBQzlGLElBQUksQ0FBQyxJQUFJO1FBQUUsT0FBTyxJQUFJLENBQUE7SUFFdEIsTUFBTSwwQkFBMEIsR0FBRyxDQUFDLEtBQXVCLEVBQUUsRUFBRTtRQUM3RCxNQUFNLFdBQVcsR0FBcUIsRUFBRSxDQUFBO1FBRXhDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxJQUFvQixFQUFFLEVBQUU7WUFDckMsSUFBSSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDLFFBQVEsQ0FBQyxXQUFXLENBQUMsV0FBVyxFQUFFLENBQUMsRUFBRSxDQUFDO2dCQUNoRSxJQUFJLElBQUksQ0FBQyxLQUFLLEVBQUUsQ0FBQztvQkFDZixNQUFNLFFBQVEsR0FBcUIsMEJBQTBCLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFBO29CQUN6RSxXQUFXLENBQUMsSUFBSSxDQUFDLEVBQUMsR0FBRyxJQUFJLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBQyxD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BbXVxyXG5cclxuICAgIGFycmF5LmZvckVhY2goKGl0ZW06IFJhZGlvR3JvdXBJdGVtKSA9PiB7XHJcbiAgICAgIGlmIChpdGVtLnRleHQudG9Mb3dlckNhc2UoKS5pbmNsdWRlcyhzZWFyY2hWYWx1ZS50b0xvd2VyQ2FzZSgpKSkge1xyXG4gICAgICAgIGlmIChpdGVtLmFycmF5KSB7XHJcbiAgICAgICAgICBjb25zdCBuZXdBcnJheTogUmFkaW9Hcm91cEl0ZW1bXSA9IGdldEludGVyc2VjdGlvbnNGcm9tU3RyaW5nKGl0ZW0uYXJyYXkpXHJcbiAgICAgICAgICBzZWFyY2hBcnJheS5wdXNoKHsuLi5pdGVtLCBhcnJheTogbmV3QXJyYXl9KVxyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICBzZWFyY2hBcnJheS5wdXNoKGl0ZW0pXHJcbiAgICAgICAgfVxyXG4gICAgICB9IGVsc2Uge1xyXG4gICAgICAgIGlmIChpdGVtLmFycmF5KSB7XHJcbiAgICAgICAgICBjb25zdCBuZXdBcnJheTogUmFkaW9Hcm91cEl0ZW1bXSA9IGdldEludGVyc2VjdGlvbnNGcm9tU3RyaW5nKGl0ZW0uYXJyYXkpXHJcbiAgICAgICAgICBuZXdBcnJheS5sZW5ndGggJiYgc2VhcmNoQXJyYXkucHVzaCh7Li4uaXRlbSwgYXJyYXk6IG5ld0FycmF5fSlcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH0pXHJcblxyXG4gICAgcmV0dXJuIHNlYXJjaEFycmF5XHJcbiAgfVxyXG5cclxuICByZXR1cm4gZ2V0SW50ZXJzZWN0aW9uc0Zyb21TdHJpbmcobGlzdClcclxufVxyXG4iXX0=
@@ -0,0 +1,11 @@
1
+ export const getItemById = (list, itemId) => {
2
+ const findById = (acc, el) => {
3
+ if (el?.id === itemId)
4
+ return el;
5
+ if (el?.array)
6
+ return el.array.reduce(findById, acc);
7
+ return acc;
8
+ };
9
+ return list.redu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2M6IFJhZGlvR3JvdXBJdGVtIHwgbnVsbCwgZWw6IFJhZGlvR3JvdXBJdGVtIHwgbnVsbCk6IFJhZGlvR3JvdXBJdGVtIHwgbnVsbCA9PiB7XHJcbiAgICBpZiAoIGVsPy5pZCA9PT0gaXRlbUlkICkgcmV0dXJuIGVsO1xyXG4gICAgaWYgKCBlbD8uYXJyYXkgKSByZXR1cm4gZWwuYXJyYXkucmVkdWNlKGZpbmRCeUlkLCBhY2MpO1xyXG4gICAgcmV0dXJuIGFjYztcclxuICB9XHJcblxyXG4gIHJldHVybiBsaXN0LnJlZHVjZShmaW5kQnlJZCwgbnVsbCk7XHJcbn1cclxuIl19
@@ -0,0 +1,27 @@
1
+ export const moveSelectedToFirst = (list, sortable, targetItem) => {
2
+ if (!list || !sortable || !targetItem)
3
+ return list;
4
+ const sortArray = (array) => {
5
+ for (let i = 0; i < array.length; i++) {
6
+ const item = array[i];
7
+ if (item.id === targetItem.id) {
8
+ const sortedArr = [item, ...array.filter((x) => x.id !== item.id)];
9
+ return { hasTargetElement: true, sortedArr };
10
+ }
11
+ else if (item.array?.length) {
12
+ {
13
+ const { sortedArr: newArr, hasTargetElement } = sortArray(item.array);
14
+ if (hasTargetElement) {
15
+ item.array = newArr;
16
+ const sortedArr = [item, ...array.filter((x) => x.id !== item.id)];
17
+ return { hasTargetElement, sortedArr };
18
+ }
19
+ }
20
+ }
21
+ }
22
+ return { hasTargetElement: false, sortedArr: array };
23
+ };
24
+ const { sortedArr } = sortArray(list);
25
+ return sortedArr;
26
+ };
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW92ZS1zZWxlY3RlZC10by1maXJzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL3JhZGlvLWdyb3VwL2hlbHBlcnMvbW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