@verisoft/ui-govcz 18.5.0 → 18.6.0

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 (595) hide show
  1. package/esm2022/index.mjs +2 -0
  2. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +34 -0
  3. package/esm2022/lib/components/breadcrumb/index.mjs +2 -0
  4. package/esm2022/lib/components/button/button.component.mjs +87 -0
  5. package/esm2022/lib/components/button/index.mjs +2 -0
  6. package/esm2022/lib/components/calendar/calendar.component.mjs +87 -0
  7. package/esm2022/lib/components/calendar/index.mjs +2 -0
  8. package/esm2022/lib/components/checkbox/checkbox.component.mjs +62 -0
  9. package/esm2022/lib/components/checkbox/index.mjs +2 -0
  10. package/esm2022/lib/components/confirm-dialog/confirm-dialog.component.mjs +72 -0
  11. package/esm2022/lib/components/confirm-dialog/index.mjs +2 -0
  12. package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +14 -0
  13. package/esm2022/lib/components/dropdown/dropdown.component.mjs +280 -0
  14. package/esm2022/lib/components/dropdown/dropdown.model.mjs +2 -0
  15. package/esm2022/lib/components/dropdown/index.mjs +2 -0
  16. package/esm2022/lib/components/errors/error.component.mjs +34 -0
  17. package/esm2022/lib/components/errors/index.mjs +2 -0
  18. package/esm2022/lib/components/form-field/form-field.component.mjs +92 -0
  19. package/esm2022/lib/components/form-field/index.mjs +2 -0
  20. package/esm2022/lib/components/header/header.component.mjs +85 -0
  21. package/esm2022/lib/components/header/index.mjs +2 -0
  22. package/esm2022/lib/components/index.mjs +34 -0
  23. package/esm2022/lib/components/input-group/index.mjs +2 -0
  24. package/esm2022/lib/components/input-group/input-group.component.mjs +89 -0
  25. package/esm2022/lib/components/loader/index.mjs +2 -0
  26. package/esm2022/lib/components/loader/loader.component.mjs +34 -0
  27. package/esm2022/lib/components/multiselect/index.mjs +2 -0
  28. package/esm2022/lib/components/multiselect/multiselect.component.mjs +121 -0
  29. package/esm2022/lib/components/number-input/index.mjs +2 -0
  30. package/esm2022/lib/components/number-input/number-input.component.mjs +104 -0
  31. package/esm2022/lib/components/page-header/index.mjs +2 -0
  32. package/esm2022/lib/components/page-header/page-header.component.mjs +28 -0
  33. package/esm2022/lib/components/password/index.mjs +2 -0
  34. package/esm2022/lib/components/password/password.component.mjs +94 -0
  35. package/esm2022/lib/components/radiobutton/index.mjs +2 -0
  36. package/esm2022/lib/components/radiobutton/radiobutton.component.mjs +50 -0
  37. package/esm2022/lib/components/search/index.mjs +2 -0
  38. package/esm2022/lib/components/search/search.component.mjs +40 -0
  39. package/esm2022/lib/components/section/index.mjs +2 -0
  40. package/esm2022/lib/components/section/section.component.mjs +70 -0
  41. package/esm2022/lib/components/shared-components/action-button-group/action-button-group.component.mjs +97 -0
  42. package/esm2022/lib/components/shared-components/action-button-group/components/action-button/action-button.component.mjs +64 -0
  43. package/esm2022/lib/components/shared-components/action-button-group/index.mjs +3 -0
  44. package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.mjs +91 -0
  45. package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component.component.mjs +42 -0
  46. package/esm2022/lib/components/shared-components/dynamic-component/index.mjs +3 -0
  47. package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-column.directive.mjs +43 -0
  48. package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.mjs +16 -0
  49. package/esm2022/lib/components/shared-components/feature-list/feature-list-filter.pipe.mjs +24 -0
  50. package/esm2022/lib/components/shared-components/feature-list/feature-list-page.component.mjs +43 -0
  51. package/esm2022/lib/components/shared-components/feature-list/feature-list-page.model.mjs +16 -0
  52. package/esm2022/lib/components/shared-components/feature-list/feature-list.component.mjs +285 -0
  53. package/esm2022/lib/components/shared-components/feature-list/index.mjs +6 -0
  54. package/esm2022/lib/components/shared-components/filter/directives/filter-field.directive.mjs +53 -0
  55. package/esm2022/lib/components/shared-components/filter/filter.component.mjs +195 -0
  56. package/esm2022/lib/components/shared-components/filter/filter.model.mjs +16 -0
  57. package/esm2022/lib/components/shared-components/filter/index.mjs +3 -0
  58. package/esm2022/lib/components/shared-components/generic-field/generic-field.component.mjs +98 -0
  59. package/esm2022/lib/components/shared-components/generic-field/index.mjs +2 -0
  60. package/esm2022/lib/components/shared-components/generic-form/generic-form.component.mjs +46 -0
  61. package/esm2022/lib/components/shared-components/generic-form/generic-form.model.mjs +50 -0
  62. package/esm2022/lib/components/shared-components/generic-form/index.mjs +3 -0
  63. package/esm2022/lib/components/shared-components/index.mjs +7 -0
  64. package/esm2022/lib/components/side-menu/index.mjs +3 -0
  65. package/esm2022/lib/components/side-menu/side-menu.component.mjs +48 -0
  66. package/esm2022/lib/components/side-menu/side-menu.module.mjs +59 -0
  67. package/esm2022/lib/components/snackbar/index.mjs +3 -0
  68. package/esm2022/lib/components/snackbar/services/snackbar.service.mjs +75 -0
  69. package/esm2022/lib/components/snackbar/snackbar.component.mjs +61 -0
  70. package/esm2022/lib/components/snackbar/snackbar.model.mjs +2 -0
  71. package/esm2022/lib/components/stepper/index.mjs +2 -0
  72. package/esm2022/lib/components/stepper/stepper.component.mjs +66 -0
  73. package/esm2022/lib/components/switch/index.mjs +2 -0
  74. package/esm2022/lib/components/switch/switch.component.mjs +45 -0
  75. package/esm2022/lib/components/tab-view/index.mjs +4 -0
  76. package/esm2022/lib/components/tab-view/tab-view-item.component.mjs +41 -0
  77. package/esm2022/lib/components/tab-view/tab-view.component.mjs +56 -0
  78. package/esm2022/lib/components/tab-view/tab-view.module.mjs +41 -0
  79. package/esm2022/lib/components/table/index.mjs +2 -0
  80. package/esm2022/lib/components/table/table-pagination-info.component.mjs +32 -0
  81. package/esm2022/lib/components/table/table.component.mjs +359 -0
  82. package/esm2022/lib/components/table/table.model.mjs +14 -0
  83. package/esm2022/lib/components/textarea/index.mjs +2 -0
  84. package/esm2022/lib/components/textarea/textarea.component.mjs +95 -0
  85. package/esm2022/lib/components/textfield/index.mjs +2 -0
  86. package/esm2022/lib/components/textfield/textfield.component.mjs +124 -0
  87. package/esm2022/lib/components/tooltip/index.mjs +2 -0
  88. package/esm2022/lib/components/tooltip/tooltip.component.mjs +66 -0
  89. package/esm2022/lib/components/tristatecheckbox/index.mjs +2 -0
  90. package/esm2022/lib/components/tristatecheckbox/tristatecheckbox.component.mjs +89 -0
  91. package/esm2022/lib/icons.mjs +35 -0
  92. package/esm2022/lib/index.mjs +6 -0
  93. package/esm2022/lib/init.service.mjs +17 -0
  94. package/esm2022/lib/pages/index.mjs +4 -0
  95. package/esm2022/lib/pages/not-authenticated/index.mjs +2 -0
  96. package/esm2022/lib/pages/not-authenticated/not-authenticated.component.mjs +17 -0
  97. package/esm2022/lib/pages/not-authorized/index.mjs +2 -0
  98. package/esm2022/lib/pages/not-authorized/not-authorized.component.mjs +20 -0
  99. package/esm2022/lib/pages/not-found/index.mjs +2 -0
  100. package/esm2022/lib/pages/not-found/not-found.component.mjs +20 -0
  101. package/esm2022/lib/pipes/color/color.pipe.mjs +27 -0
  102. package/esm2022/lib/pipes/index.mjs +4 -0
  103. package/esm2022/lib/pipes/multiselect/multiselect-options.pipe.mjs +52 -0
  104. package/esm2022/lib/pipes/size/size.pipe.mjs +23 -0
  105. package/esm2022/verisoft-ui-govcz.mjs +5 -0
  106. package/fesm2022/verisoft-ui-govcz.mjs +3728 -0
  107. package/fesm2022/verisoft-ui-govcz.mjs.map +1 -0
  108. package/{src/index.ts → index.d.ts} +1 -1
  109. package/lib/components/breadcrumb/breadcrumb.component.d.ts +7 -0
  110. package/{src/lib/components/breadcrumb/index.ts → lib/components/breadcrumb/index.d.ts} +1 -1
  111. package/lib/components/button/button.component.d.ts +26 -0
  112. package/lib/components/button/index.d.ts +1 -0
  113. package/lib/components/calendar/calendar.component.d.ts +23 -0
  114. package/lib/components/calendar/index.d.ts +1 -0
  115. package/lib/components/checkbox/checkbox.component.d.ts +15 -0
  116. package/lib/components/checkbox/index.d.ts +1 -0
  117. package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +15 -0
  118. package/{src/lib/components/confirm-dialog/index.ts → lib/components/confirm-dialog/index.d.ts} +1 -1
  119. package/lib/components/dropdown/dropdown-item.component.d.ts +7 -0
  120. package/lib/components/dropdown/dropdown.component.d.ts +65 -0
  121. package/{src/lib/components/dropdown/dropdown.model.ts → lib/components/dropdown/dropdown.model.d.ts} +6 -6
  122. package/{src/lib/components/dropdown/index.ts → lib/components/dropdown/index.d.ts} +1 -1
  123. package/lib/components/errors/error.component.d.ts +14 -0
  124. package/lib/components/errors/index.d.ts +1 -0
  125. package/lib/components/form-field/form-field.component.d.ts +25 -0
  126. package/{src/lib/components/form-field/index.ts → lib/components/form-field/index.d.ts} +1 -1
  127. package/lib/components/header/header.component.d.ts +25 -0
  128. package/lib/components/header/index.d.ts +1 -0
  129. package/{src/lib/components/index.ts → lib/components/index.d.ts} +33 -33
  130. package/lib/components/input-group/index.d.ts +1 -0
  131. package/lib/components/input-group/input-group.component.d.ts +24 -0
  132. package/lib/components/loader/index.d.ts +1 -0
  133. package/lib/components/loader/loader.component.d.ts +8 -0
  134. package/lib/components/multiselect/index.d.ts +1 -0
  135. package/lib/components/multiselect/multiselect.component.d.ts +35 -0
  136. package/lib/components/number-input/index.d.ts +1 -0
  137. package/lib/components/number-input/number-input.component.d.ts +29 -0
  138. package/lib/components/page-header/index.d.ts +1 -0
  139. package/lib/components/page-header/page-header.component.d.ts +9 -0
  140. package/{src/lib/components/password/index.ts → lib/components/password/index.d.ts} +1 -1
  141. package/lib/components/password/password.component.d.ts +23 -0
  142. package/lib/components/radiobutton/index.d.ts +1 -0
  143. package/lib/components/radiobutton/radiobutton.component.d.ts +12 -0
  144. package/lib/components/search/index.d.ts +1 -0
  145. package/lib/components/search/search.component.d.ts +14 -0
  146. package/lib/components/section/index.d.ts +1 -0
  147. package/lib/components/section/section.component.d.ts +18 -0
  148. package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +29 -0
  149. package/lib/components/shared-components/action-button-group/components/action-button/action-button.component.d.ts +24 -0
  150. package/{src/lib/components/shared-components/action-button-group/index.ts → lib/components/shared-components/action-button-group/index.d.ts} +2 -2
  151. package/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.d.ts +17 -0
  152. package/lib/components/shared-components/dynamic-component/dynamic-component.component.d.ts +16 -0
  153. package/{src/lib/components/shared-components/dynamic-component/index.ts → lib/components/shared-components/dynamic-component/index.d.ts} +2 -2
  154. package/lib/components/shared-components/feature-list/directives/feature-list-column.directive.d.ts +10 -0
  155. package/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.d.ts +6 -0
  156. package/lib/components/shared-components/feature-list/feature-list-filter.pipe.d.ts +9 -0
  157. package/lib/components/shared-components/feature-list/feature-list-page.component.d.ts +9 -0
  158. package/lib/components/shared-components/feature-list/feature-list-page.model.d.ts +23 -0
  159. package/lib/components/shared-components/feature-list/feature-list.component.d.ts +62 -0
  160. package/{src/lib/components/shared-components/feature-list/index.ts → lib/components/shared-components/feature-list/index.d.ts} +5 -5
  161. package/lib/components/shared-components/filter/directives/filter-field.directive.d.ts +20 -0
  162. package/lib/components/shared-components/filter/filter.component.d.ts +53 -0
  163. package/lib/components/shared-components/filter/filter.model.d.ts +2 -0
  164. package/{src/lib/components/shared-components/filter/index.ts → lib/components/shared-components/filter/index.d.ts} +2 -2
  165. package/lib/components/shared-components/generic-field/generic-field.component.d.ts +28 -0
  166. package/{src/lib/components/shared-components/generic-field/index.ts → lib/components/shared-components/generic-field/index.d.ts} +1 -1
  167. package/lib/components/shared-components/generic-form/generic-form.component.d.ts +15 -0
  168. package/lib/components/shared-components/generic-form/generic-form.model.d.ts +4 -0
  169. package/{src/lib/components/shared-components/generic-form/index.ts → lib/components/shared-components/generic-form/index.d.ts} +2 -2
  170. package/{src/lib/components/shared-components/index.ts → lib/components/shared-components/index.d.ts} +6 -6
  171. package/{src/lib/components/side-menu/index.ts → lib/components/side-menu/index.d.ts} +2 -2
  172. package/lib/components/side-menu/side-menu.component.d.ts +15 -0
  173. package/lib/components/side-menu/side-menu.module.d.ts +12 -0
  174. package/{src/lib/components/snackbar/index.ts → lib/components/snackbar/index.d.ts} +2 -2
  175. package/lib/components/snackbar/services/snackbar.service.d.ts +18 -0
  176. package/lib/components/snackbar/snackbar.component.d.ts +18 -0
  177. package/{src/lib/components/snackbar/snackbar.model.ts → lib/components/snackbar/snackbar.model.d.ts} +10 -10
  178. package/lib/components/stepper/index.d.ts +1 -0
  179. package/lib/components/stepper/stepper.component.d.ts +20 -0
  180. package/lib/components/switch/index.d.ts +1 -0
  181. package/lib/components/switch/switch.component.d.ts +12 -0
  182. package/{src/lib/components/tab-view/index.ts → lib/components/tab-view/index.d.ts} +3 -3
  183. package/lib/components/tab-view/tab-view-item.component.d.ts +14 -0
  184. package/lib/components/tab-view/tab-view.component.d.ts +19 -0
  185. package/lib/components/tab-view/tab-view.module.d.ts +12 -0
  186. package/{src/lib/components/table/index.ts → lib/components/table/index.d.ts} +1 -1
  187. package/lib/components/table/table-pagination-info.component.d.ts +12 -0
  188. package/lib/components/table/table.component.d.ts +91 -0
  189. package/lib/components/table/table.model.d.ts +3 -0
  190. package/lib/components/textarea/index.d.ts +1 -0
  191. package/lib/components/textarea/textarea.component.d.ts +25 -0
  192. package/lib/components/textfield/index.d.ts +1 -0
  193. package/lib/components/textfield/textfield.component.d.ts +28 -0
  194. package/lib/components/tooltip/index.d.ts +1 -0
  195. package/lib/components/tooltip/tooltip.component.d.ts +18 -0
  196. package/{src/lib/components/tristatecheckbox/index.ts → lib/components/tristatecheckbox/index.d.ts} +1 -1
  197. package/lib/components/tristatecheckbox/tristatecheckbox.component.d.ts +27 -0
  198. package/lib/icons.d.ts +2 -0
  199. package/{src/lib/index.ts → lib/index.d.ts} +5 -5
  200. package/lib/init.service.d.ts +6 -0
  201. package/{src/lib/pages/index.ts → lib/pages/index.d.ts} +3 -3
  202. package/{src/lib/pages/not-authenticated/index.ts → lib/pages/not-authenticated/index.d.ts} +1 -1
  203. package/lib/pages/not-authenticated/not-authenticated.component.d.ts +5 -0
  204. package/{src/lib/pages/not-authorized/index.ts → lib/pages/not-authorized/index.d.ts} +1 -1
  205. package/lib/pages/not-authorized/not-authorized.component.d.ts +6 -0
  206. package/{src/lib/pages/not-found/index.ts → lib/pages/not-found/index.d.ts} +1 -1
  207. package/lib/pages/not-found/not-found.component.d.ts +6 -0
  208. package/lib/pipes/color/color.pipe.d.ts +8 -0
  209. package/{src/lib/pipes/index.ts → lib/pipes/index.d.ts} +3 -3
  210. package/lib/pipes/multiselect/multiselect-options.pipe.d.ts +9 -0
  211. package/lib/pipes/size/size.pipe.d.ts +8 -0
  212. package/package.json +37 -21
  213. package/.eslintrc.json +0 -48
  214. package/assets/i18n/cs.json +0 -9
  215. package/assets/i18n/en.json +0 -9
  216. package/assets/icons/components/24-7.svg +0 -12
  217. package/assets/icons/components/NO-ICON.svg +0 -2
  218. package/assets/icons/components/add.svg +0 -6
  219. package/assets/icons/components/all.svg +0 -3
  220. package/assets/icons/components/arrival.svg +0 -12
  221. package/assets/icons/components/arrow-left.svg +0 -3
  222. package/assets/icons/components/arrow-right.svg +0 -3
  223. package/assets/icons/components/bars.svg +0 -3
  224. package/assets/icons/components/bell.svg +0 -4
  225. package/assets/icons/components/big-help.svg +0 -12
  226. package/assets/icons/components/book.svg +0 -10
  227. package/assets/icons/components/bookmarks.svg +0 -11
  228. package/assets/icons/components/box-arrow-up-right.svg +0 -11
  229. package/assets/icons/components/business-file.svg +0 -14
  230. package/assets/icons/components/businessman.svg +0 -3
  231. package/assets/icons/components/cactus.svg +0 -14
  232. package/assets/icons/components/calendar.svg +0 -3
  233. package/assets/icons/components/camera.svg +0 -5
  234. package/assets/icons/components/car.svg +0 -5
  235. package/assets/icons/components/card-400.svg +0 -11
  236. package/assets/icons/components/card-401.svg +0 -11
  237. package/assets/icons/components/card-403.svg +0 -11
  238. package/assets/icons/components/card-404.svg +0 -11
  239. package/assets/icons/components/card-500.svg +0 -11
  240. package/assets/icons/components/card-502.svg +0 -11
  241. package/assets/icons/components/card-503.svg +0 -12
  242. package/assets/icons/components/card-504.svg +0 -15
  243. package/assets/icons/components/caret-right-fill.svg +0 -3
  244. package/assets/icons/components/certification.svg +0 -14
  245. package/assets/icons/components/chamber-deputies-cr.svg +0 -11
  246. package/assets/icons/components/chamber-deputies.svg +0 -13
  247. package/assets/icons/components/chat.svg +0 -11
  248. package/assets/icons/components/check-circle.svg +0 -4
  249. package/assets/icons/components/check-lg.svg +0 -3
  250. package/assets/icons/components/chevron-double-left.svg +0 -4
  251. package/assets/icons/components/chevron-double-right.svg +0 -4
  252. package/assets/icons/components/chevron-down.svg +0 -3
  253. package/assets/icons/components/chevron-left.svg +0 -3
  254. package/assets/icons/components/chevron-right.svg +0 -3
  255. package/assets/icons/components/chevron-up.svg +0 -3
  256. package/assets/icons/components/cities.svg +0 -17
  257. package/assets/icons/components/city-office.svg +0 -17
  258. package/assets/icons/components/coins.svg +0 -14
  259. package/assets/icons/components/communication.svg +0 -4
  260. package/assets/icons/components/confusion.svg +0 -8
  261. package/assets/icons/components/contact.svg +0 -6
  262. package/assets/icons/components/copy.svg +0 -10
  263. package/assets/icons/components/court.svg +0 -5
  264. package/assets/icons/components/covid.svg +0 -5
  265. package/assets/icons/components/czech-lion.svg +0 -134
  266. package/assets/icons/components/dash-lg.svg +0 -3
  267. package/assets/icons/components/diagram.svg +0 -3
  268. package/assets/icons/components/digital.svg +0 -10
  269. package/assets/icons/components/disability.svg +0 -5
  270. package/assets/icons/components/doc-agreement.svg +0 -7
  271. package/assets/icons/components/doc-basic-info.svg +0 -18
  272. package/assets/icons/components/doc-business.svg +0 -8
  273. package/assets/icons/components/doc-car-point-list.svg +0 -16
  274. package/assets/icons/components/doc-diploma.svg +0 -17
  275. package/assets/icons/components/doc-driver-info.svg +0 -8
  276. package/assets/icons/components/doc-election.svg +0 -13
  277. package/assets/icons/components/doc-filled.svg +0 -16
  278. package/assets/icons/components/doc-health.svg +0 -3
  279. package/assets/icons/components/doc-judgment.svg +0 -8
  280. package/assets/icons/components/doc-patient.svg +0 -8
  281. package/assets/icons/components/doc-personal-info.svg +0 -11
  282. package/assets/icons/components/doc-petition.svg +0 -8
  283. package/assets/icons/components/doc-registers.svg +0 -7
  284. package/assets/icons/components/doc-review.svg +0 -20
  285. package/assets/icons/components/doc-search.svg +0 -8
  286. package/assets/icons/components/doc-stamp.svg +0 -15
  287. package/assets/icons/components/doc-state.svg +0 -13
  288. package/assets/icons/components/doc-taxes.svg +0 -16
  289. package/assets/icons/components/doc-universal.svg +0 -13
  290. package/assets/icons/components/doc-visa.svg +0 -14
  291. package/assets/icons/components/documents.svg +0 -11
  292. package/assets/icons/components/download.svg +0 -4
  293. package/assets/icons/components/driver-file.svg +0 -14
  294. package/assets/icons/components/driver.svg +0 -7
  295. package/assets/icons/components/driving-licence.svg +0 -7
  296. package/assets/icons/components/email-notification.svg +0 -12
  297. package/assets/icons/components/empty-file.svg +0 -13
  298. package/assets/icons/components/energy.svg +0 -11
  299. package/assets/icons/components/envelope-fill.svg +0 -3
  300. package/assets/icons/components/envelope.svg +0 -3
  301. package/assets/icons/components/error.svg +0 -12
  302. package/assets/icons/components/european-parliament.svg +0 -11
  303. package/assets/icons/components/exclamation-lg.svg +0 -3
  304. package/assets/icons/components/exclamation-triangle-fill.svg +0 -10
  305. package/assets/icons/components/export.svg +0 -13
  306. package/assets/icons/components/eye.svg +0 -4
  307. package/assets/icons/components/family.svg +0 -12
  308. package/assets/icons/components/fast-forward.svg +0 -1
  309. package/assets/icons/components/filter.svg +0 -3
  310. package/assets/icons/components/gear.svg +0 -11
  311. package/assets/icons/components/geo-alt-fill.svg +0 -10
  312. package/assets/icons/components/globe.svg +0 -12
  313. package/assets/icons/components/graduate.svg +0 -4
  314. package/assets/icons/components/group.svg +0 -3
  315. package/assets/icons/components/hand-503.svg +0 -10
  316. package/assets/icons/components/hand-504.svg +0 -7
  317. package/assets/icons/components/hand.svg +0 -14
  318. package/assets/icons/components/health.svg +0 -5
  319. package/assets/icons/components/help.svg +0 -4
  320. package/assets/icons/components/history.svg +0 -4
  321. package/assets/icons/components/holiday.svg +0 -13
  322. package/assets/icons/components/hourglass.svg +0 -4
  323. package/assets/icons/components/house-door-fill.svg +0 -3
  324. package/assets/icons/components/house.svg +0 -13
  325. package/assets/icons/components/id-card.svg +0 -6
  326. package/assets/icons/components/id-info.svg +0 -9
  327. package/assets/icons/components/id.svg +0 -6
  328. package/assets/icons/components/illness.svg +0 -9
  329. package/assets/icons/components/info-circle-fill.svg +0 -10
  330. package/assets/icons/components/info-circle.svg +0 -11
  331. package/assets/icons/components/info-list.svg +0 -14
  332. package/assets/icons/components/info.svg +0 -3
  333. package/assets/icons/components/institute-file.svg +0 -23
  334. package/assets/icons/components/institution.svg +0 -10
  335. package/assets/icons/components/job-loss.svg +0 -4
  336. package/assets/icons/components/job.svg +0 -3
  337. package/assets/icons/components/lightbulb-fill.svg +0 -10
  338. package/assets/icons/components/list.svg +0 -3
  339. package/assets/icons/components/loader.svg +0 -3
  340. package/assets/icons/components/login.svg +0 -11
  341. package/assets/icons/components/logout.svg +0 -13
  342. package/assets/icons/components/map.svg +0 -11
  343. package/assets/icons/components/mobile-phone.svg +0 -13
  344. package/assets/icons/components/moon.svg +0 -10
  345. package/assets/icons/components/mouse.svg +0 -3
  346. package/assets/icons/components/my-filing.svg +0 -15
  347. package/assets/icons/components/my-state-data.svg +0 -19
  348. package/assets/icons/components/new-comments.svg +0 -6
  349. package/assets/icons/components/newborn.svg +0 -16
  350. package/assets/icons/components/news.svg +0 -20
  351. package/assets/icons/components/packet.svg +0 -11
  352. package/assets/icons/components/passport.svg +0 -7
  353. package/assets/icons/components/pencil.svg +0 -3
  354. package/assets/icons/components/personal-file.svg +0 -14
  355. package/assets/icons/components/pet.svg +0 -10
  356. package/assets/icons/components/petrol-station.svg +0 -14
  357. package/assets/icons/components/pills.svg +0 -4
  358. package/assets/icons/components/plus-lg.svg +0 -3
  359. package/assets/icons/components/population-register.svg +0 -12
  360. package/assets/icons/components/port-card.svg +0 -8
  361. package/assets/icons/components/portal.svg +0 -8
  362. package/assets/icons/components/pregnant.svg +0 -11
  363. package/assets/icons/components/president.svg +0 -13
  364. package/assets/icons/components/presidential-election.svg +0 -12
  365. package/assets/icons/components/print-fill.svg +0 -4
  366. package/assets/icons/components/profile-settings.svg +0 -13
  367. package/assets/icons/components/property.svg +0 -4
  368. package/assets/icons/components/question-circle.svg +0 -4
  369. package/assets/icons/components/queue.svg +0 -13
  370. package/assets/icons/components/quotes.svg +0 -6
  371. package/assets/icons/components/region.svg +0 -11
  372. package/assets/icons/components/regional-elections-clear.svg +0 -11
  373. package/assets/icons/components/regional-elections.svg +0 -12
  374. package/assets/icons/components/register-of-persons.svg +0 -7
  375. package/assets/icons/components/retiree.svg +0 -8
  376. package/assets/icons/components/rings.svg +0 -5
  377. package/assets/icons/components/search.svg +0 -10
  378. package/assets/icons/components/senate.svg +0 -11
  379. package/assets/icons/components/senior.svg +0 -4
  380. package/assets/icons/components/settings.svg +0 -13
  381. package/assets/icons/components/simple-envelope.svg +0 -3
  382. package/assets/icons/components/sms-notification.svg +0 -7
  383. package/assets/icons/components/sos.svg +0 -6
  384. package/assets/icons/components/star-fill.svg +0 -10
  385. package/assets/icons/components/state-file.svg +0 -8
  386. package/assets/icons/components/sun.svg +0 -10
  387. package/assets/icons/components/telephone.svg +0 -10
  388. package/assets/icons/components/three-dots-vertical.svg +0 -3
  389. package/assets/icons/components/time.svg +0 -4
  390. package/assets/icons/components/tombstone.svg +0 -7
  391. package/assets/icons/components/trash.svg +0 -6
  392. package/assets/icons/components/twitter-x.svg +0 -10
  393. package/assets/icons/components/upload.svg +0 -4
  394. package/assets/icons/components/user-login.svg +0 -13
  395. package/assets/icons/components/user.svg +0 -3
  396. package/assets/icons/components/vaccine.svg +0 -11
  397. package/assets/icons/components/x-circle.svg +0 -4
  398. package/assets/icons/components/x-lg.svg +0 -3
  399. package/assets/icons/components/x.svg +0 -3
  400. package/assets/logos/v-logo.svg +0 -4
  401. package/jest.config.ts +0 -21
  402. package/ng-package.json +0 -10
  403. package/project.json +0 -56
  404. package/src/config.d.ts +0 -10
  405. package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -23
  406. package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -0
  407. package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +0 -21
  408. package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -30
  409. package/src/lib/components/button/button.component.html +0 -26
  410. package/src/lib/components/button/button.component.scss +0 -0
  411. package/src/lib/components/button/button.component.ts +0 -72
  412. package/src/lib/components/button/index.ts +0 -1
  413. package/src/lib/components/calendar/calendar.component.html +0 -28
  414. package/src/lib/components/calendar/calendar.component.scss +0 -0
  415. package/src/lib/components/calendar/calendar.component.ts +0 -79
  416. package/src/lib/components/calendar/index.ts +0 -1
  417. package/src/lib/components/checkbox/checkbox.component.html +0 -23
  418. package/src/lib/components/checkbox/checkbox.component.scss +0 -0
  419. package/src/lib/components/checkbox/checkbox.component.ts +0 -62
  420. package/src/lib/components/checkbox/index.ts +0 -1
  421. package/src/lib/components/confirm-dialog/confirm-dialog.component.html +0 -50
  422. package/src/lib/components/confirm-dialog/confirm-dialog.component.scss +0 -4
  423. package/src/lib/components/confirm-dialog/confirm-dialog.component.ts +0 -80
  424. package/src/lib/components/dropdown/dropdown-item.component.html +0 -8
  425. package/src/lib/components/dropdown/dropdown-item.component.ts +0 -18
  426. package/src/lib/components/dropdown/dropdown.component.html +0 -90
  427. package/src/lib/components/dropdown/dropdown.component.scss +0 -108
  428. package/src/lib/components/dropdown/dropdown.component.spec.ts +0 -21
  429. package/src/lib/components/dropdown/dropdown.component.ts +0 -297
  430. package/src/lib/components/errors/error.component.html +0 -11
  431. package/src/lib/components/errors/error.component.scss +0 -0
  432. package/src/lib/components/errors/error.component.spec.ts +0 -19
  433. package/src/lib/components/errors/error.component.ts +0 -30
  434. package/src/lib/components/errors/index.ts +0 -1
  435. package/src/lib/components/form-field/form-field.component.html +0 -14
  436. package/src/lib/components/form-field/form-field.component.scss +0 -0
  437. package/src/lib/components/form-field/form-field.component.spec.ts +0 -21
  438. package/src/lib/components/form-field/form-field.component.ts +0 -78
  439. package/src/lib/components/header/header.component.html +0 -122
  440. package/src/lib/components/header/header.component.scss +0 -0
  441. package/src/lib/components/header/header.component.ts +0 -91
  442. package/src/lib/components/header/index.ts +0 -1
  443. package/src/lib/components/input-group/index.ts +0 -1
  444. package/src/lib/components/input-group/input-group.component.html +0 -41
  445. package/src/lib/components/input-group/input-group.component.scss +0 -0
  446. package/src/lib/components/input-group/input-group.component.ts +0 -77
  447. package/src/lib/components/loader/index.ts +0 -1
  448. package/src/lib/components/loader/loader.component.html +0 -7
  449. package/src/lib/components/loader/loader.component.scss +0 -0
  450. package/src/lib/components/loader/loader.component.spec.ts +0 -21
  451. package/src/lib/components/loader/loader.component.ts +0 -33
  452. package/src/lib/components/multiselect/index.ts +0 -1
  453. package/src/lib/components/multiselect/multiselect.component.html +0 -21
  454. package/src/lib/components/multiselect/multiselect.component.scss +0 -0
  455. package/src/lib/components/multiselect/multiselect.component.spec.ts +0 -21
  456. package/src/lib/components/multiselect/multiselect.component.ts +0 -119
  457. package/src/lib/components/number-input/index.ts +0 -1
  458. package/src/lib/components/number-input/number-input.component.html +0 -48
  459. package/src/lib/components/number-input/number-input.component.scss +0 -0
  460. package/src/lib/components/number-input/number-input.component.ts +0 -82
  461. package/src/lib/components/page-header/index.ts +0 -1
  462. package/src/lib/components/page-header/page-header.component.html +0 -3
  463. package/src/lib/components/page-header/page-header.component.scss +0 -11
  464. package/src/lib/components/page-header/page-header.component.spec.ts +0 -21
  465. package/src/lib/components/page-header/page-header.component.ts +0 -29
  466. package/src/lib/components/password/password.component.html +0 -31
  467. package/src/lib/components/password/password.component.scss +0 -0
  468. package/src/lib/components/password/password.component.spec.ts +0 -21
  469. package/src/lib/components/password/password.component.ts +0 -85
  470. package/src/lib/components/radiobutton/index.ts +0 -1
  471. package/src/lib/components/radiobutton/radiobutton.component.html +0 -23
  472. package/src/lib/components/radiobutton/radiobutton.component.scss +0 -0
  473. package/src/lib/components/radiobutton/radiobutton.component.ts +0 -58
  474. package/src/lib/components/search/index.ts +0 -1
  475. package/src/lib/components/search/search.component.html +0 -23
  476. package/src/lib/components/search/search.component.scss +0 -0
  477. package/src/lib/components/search/search.component.ts +0 -47
  478. package/src/lib/components/section/index.ts +0 -1
  479. package/src/lib/components/section/section.component.html +0 -26
  480. package/src/lib/components/section/section.component.scss +0 -0
  481. package/src/lib/components/section/section.component.ts +0 -57
  482. package/src/lib/components/shared-components/action-button-group/action-button-group.component.html +0 -27
  483. package/src/lib/components/shared-components/action-button-group/action-button-group.component.scss +0 -0
  484. package/src/lib/components/shared-components/action-button-group/action-button-group.component.spec.ts +0 -21
  485. package/src/lib/components/shared-components/action-button-group/action-button-group.component.ts +0 -114
  486. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.html +0 -11
  487. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.scss +0 -0
  488. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.spec.ts +0 -21
  489. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.ts +0 -71
  490. package/src/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.ts +0 -142
  491. package/src/lib/components/shared-components/dynamic-component/dynamic-component.component.ts +0 -56
  492. package/src/lib/components/shared-components/feature-list/directives/feature-list-column.directive.ts +0 -32
  493. package/src/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.ts +0 -8
  494. package/src/lib/components/shared-components/feature-list/feature-list-filter.pipe.ts +0 -21
  495. package/src/lib/components/shared-components/feature-list/feature-list-page.component.ts +0 -31
  496. package/src/lib/components/shared-components/feature-list/feature-list-page.model.ts +0 -42
  497. package/src/lib/components/shared-components/feature-list/feature-list.component.html +0 -59
  498. package/src/lib/components/shared-components/feature-list/feature-list.component.scss +0 -10
  499. package/src/lib/components/shared-components/feature-list/feature-list.component.ts +0 -342
  500. package/src/lib/components/shared-components/filter/directives/filter-field.directive.ts +0 -35
  501. package/src/lib/components/shared-components/filter/filter.component.html +0 -68
  502. package/src/lib/components/shared-components/filter/filter.component.scss +0 -0
  503. package/src/lib/components/shared-components/filter/filter.component.spec.ts +0 -21
  504. package/src/lib/components/shared-components/filter/filter.component.stories.ts +0 -23
  505. package/src/lib/components/shared-components/filter/filter.component.ts +0 -284
  506. package/src/lib/components/shared-components/filter/filter.model.ts +0 -18
  507. package/src/lib/components/shared-components/generic-field/generic-field.component.html +0 -97
  508. package/src/lib/components/shared-components/generic-field/generic-field.component.spec.ts +0 -21
  509. package/src/lib/components/shared-components/generic-field/generic-field.component.ts +0 -94
  510. package/src/lib/components/shared-components/generic-form/generic-form.component.html +0 -46
  511. package/src/lib/components/shared-components/generic-form/generic-form.component.spec.ts +0 -21
  512. package/src/lib/components/shared-components/generic-form/generic-form.component.ts +0 -57
  513. package/src/lib/components/shared-components/generic-form/generic-form.model.spec.ts +0 -82
  514. package/src/lib/components/shared-components/generic-form/generic-form.model.ts +0 -68
  515. package/src/lib/components/side-menu/side-menu.component.html +0 -25
  516. package/src/lib/components/side-menu/side-menu.component.scss +0 -23
  517. package/src/lib/components/side-menu/side-menu.component.ts +0 -42
  518. package/src/lib/components/side-menu/side-menu.module.ts +0 -56
  519. package/src/lib/components/sidemenu/index.ts +0 -2
  520. package/src/lib/components/snackbar/services/snackbar.service.ts +0 -73
  521. package/src/lib/components/snackbar/snackbar.component.html +0 -14
  522. package/src/lib/components/snackbar/snackbar.component.scss +0 -0
  523. package/src/lib/components/snackbar/snackbar.component.spec.ts +0 -21
  524. package/src/lib/components/snackbar/snackbar.component.ts +0 -45
  525. package/src/lib/components/stepper/index.ts +0 -1
  526. package/src/lib/components/stepper/stepper.component.html +0 -35
  527. package/src/lib/components/stepper/stepper.component.scss +0 -9
  528. package/src/lib/components/stepper/stepper.component.ts +0 -61
  529. package/src/lib/components/switch/index.ts +0 -1
  530. package/src/lib/components/switch/switch.component.html +0 -16
  531. package/src/lib/components/switch/switch.component.scss +0 -0
  532. package/src/lib/components/switch/switch.component.ts +0 -37
  533. package/src/lib/components/tab-view/tab-view-item.component.ts +0 -23
  534. package/src/lib/components/tab-view/tab-view.component.html +0 -51
  535. package/src/lib/components/tab-view/tab-view.component.scss +0 -43
  536. package/src/lib/components/tab-view/tab-view.component.ts +0 -61
  537. package/src/lib/components/tab-view/tab-view.module.ts +0 -25
  538. package/src/lib/components/table/table-pagination-info.component.html +0 -9
  539. package/src/lib/components/table/table-pagination-info.component.ts +0 -22
  540. package/src/lib/components/table/table.component.html +0 -198
  541. package/src/lib/components/table/table.component.scss +0 -193
  542. package/src/lib/components/table/table.component.ts +0 -387
  543. package/src/lib/components/table/table.model.ts +0 -17
  544. package/src/lib/components/table/table.models.ts +0 -12
  545. package/src/lib/components/textarea/index.ts +0 -1
  546. package/src/lib/components/textarea/textarea.component.html +0 -50
  547. package/src/lib/components/textarea/textarea.component.scss +0 -0
  548. package/src/lib/components/textarea/textarea.component.ts +0 -78
  549. package/src/lib/components/textfield/index.ts +0 -1
  550. package/src/lib/components/textfield/textfield.component.html +0 -56
  551. package/src/lib/components/textfield/textfield.component.scss +0 -0
  552. package/src/lib/components/textfield/textfield.component.ts +0 -114
  553. package/src/lib/components/tooltip/index.ts +0 -1
  554. package/src/lib/components/tooltip/tooltip.component.html +0 -10
  555. package/src/lib/components/tooltip/tooltip.component.scss +0 -0
  556. package/src/lib/components/tooltip/tooltip.component.ts +0 -57
  557. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.html +0 -23
  558. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.scss +0 -0
  559. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.ts +0 -103
  560. package/src/lib/icons.ts +0 -36
  561. package/src/lib/init.service.ts +0 -11
  562. package/src/lib/interceptors/http-error-message.interceptor.ts +0 -45
  563. package/src/lib/pages/bad-request-page/bad-request-page.component.html +0 -5
  564. package/src/lib/pages/bad-request-page/bad-request-page.component.scss +0 -0
  565. package/src/lib/pages/bad-request-page/bad-request-page.component.ts +0 -15
  566. package/src/lib/pages/error-page/error-page.component.html +0 -5
  567. package/src/lib/pages/error-page/error-page.component.scss +0 -0
  568. package/src/lib/pages/error-page/error-page.component.ts +0 -32
  569. package/src/lib/pages/error-page/error-page.constants.ts +0 -19
  570. package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.html +0 -5
  571. package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.scss +0 -0
  572. package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.ts +0 -16
  573. package/src/lib/pages/not-authenticated/not-authenticated.component.html +0 -5
  574. package/src/lib/pages/not-authenticated/not-authenticated.component.ts +0 -14
  575. package/src/lib/pages/not-authorized/not-authorized.component.html +0 -5
  576. package/src/lib/pages/not-authorized/not-authorized.component.ts +0 -18
  577. package/src/lib/pages/not-found/not-found.component.html +0 -5
  578. package/src/lib/pages/not-found/not-found.component.ts +0 -18
  579. package/src/lib/pages/not-found-page/not-found-page.component.html +0 -6
  580. package/src/lib/pages/not-found-page/not-found-page.component.scss +0 -0
  581. package/src/lib/pages/not-found-page/not-found-page.component.ts +0 -16
  582. package/src/lib/pipes/color/color.pipe.ts +0 -24
  583. package/src/lib/pipes/multiselect/multiselect-options.pipe.ts +0 -61
  584. package/src/lib/pipes/size/size.pipe.ts +0 -20
  585. package/src/sass/header.css +0 -526
  586. package/src/sass/header.scss +0 -480
  587. package/src/sass/main.scss +0 -246
  588. package/src/sass/scrollbar.scss +0 -22
  589. package/src/sass/sidemenu.css +0 -205
  590. package/src/sass/vendors/_bootstrap.scss +0 -2
  591. package/src/test-setup.ts +0 -8
  592. package/tsconfig.json +0 -32
  593. package/tsconfig.lib.json +0 -17
  594. package/tsconfig.lib.prod.json +0 -10
  595. package/tsconfig.spec.json +0 -16
@@ -0,0 +1,104 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, Input, Optional, Self, } from '@angular/core';
3
+ import { NgControl, ReactiveFormsModule, } from '@angular/forms';
4
+ import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
5
+ import { NUMBER_INPUT_COMPONENT_TOKEN, FieldType, BaseFormInputComponent, FieldSize, IconPosition, SlotPosition, } from '@verisoft/ui-core';
6
+ import { Icons } from '../../icons';
7
+ import { GovSizePipe } from '../../pipes';
8
+ import { ErrorComponent } from '../errors';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "@angular/forms";
11
+ import * as i2 from "@gov-design-system-ce/angular";
12
+ export class NumberInputComponent extends BaseFormInputComponent {
13
+ mode;
14
+ currency;
15
+ min;
16
+ max;
17
+ step = 1;
18
+ floatLabel;
19
+ type = FieldType.number;
20
+ minlength = 0;
21
+ maxlength = 524288;
22
+ prefix;
23
+ sufix;
24
+ message;
25
+ name;
26
+ role;
27
+ size = FieldSize.medium;
28
+ icon;
29
+ iconPos = IconPosition.right;
30
+ labelSlot = SlotPosition.top;
31
+ errorSlot = SlotPosition.bottom;
32
+ messageSlot = SlotPosition.bottom;
33
+ icons = Icons;
34
+ constructor(ngControl) {
35
+ super(ngControl);
36
+ }
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: NumberInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
38
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: NumberInputComponent, isStandalone: true, selector: "v-number-input", inputs: { mode: "mode", currency: "currency", min: "min", max: "max", step: "step", floatLabel: "floatLabel", type: "type", minlength: "minlength", maxlength: "maxlength", prefix: "prefix", sufix: "sufix", message: "message", name: "name", role: "role", size: "size", icon: "icon", iconPos: "iconPos", labelSlot: "labelSlot", errorSlot: "errorSlot", messageSlot: "messageSlot" }, providers: [
39
+ {
40
+ provide: NUMBER_INPUT_COMPONENT_TOKEN,
41
+ useExisting: NumberInputComponent,
42
+ },
43
+ ], usesInheritance: true, ngImport: i0, template: "<gov-form-control>\r\n @if (label) {\r\n <gov-form-label \r\n [slot]=\"labelSlot\"\r\n [size]=\"size | govSize\"\r\n >\r\n {{ label }}\r\n </gov-form-label>\r\n }\r\n <gov-form-group>\r\n <gov-form-input \r\n [attr.input-type]=\"type\"\r\n [formControl]=\"formControl\"\r\n [minlength]=\"minlength\" \r\n [maxlength]=\"maxlength\" \r\n [size]='size | govSize' \r\n [name]='name' \r\n [role]='role'\r\n [required]=\"required\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"ngControl?.errors ? true : false\"\r\n >\r\n @if (icon) {\r\n <gov-icon\r\n [name]=\"icon\"\r\n [slot]=\"iconPos === 'left' ? 'icon-start' : 'icon-end'\"\r\n />\r\n } @if (prefix) {\r\n <p slot=\"prefix\">\r\n {{ prefix }}\r\n </p>\r\n } @if (sufix) {\r\n <p slot=\"sufix\">\r\n {{ sufix }}\r\n </p>\r\n }\r\n </gov-form-input>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n @if (message) {\r\n <gov-form-message \r\n [slot]=\"messageSlot\" \r\n color=\"neutral\"\r\n >\r\n {{ message }}\r\n </gov-form-message>\r\n }\r\n </gov-form-group>\r\n</gov-form-control>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i2.GovFormControl, selector: "gov-form-control", inputs: ["disabled", "fieldset", "identifier", "invalid", "size", "success"] }, { kind: "component", type: i2.GovFormGroup, selector: "gov-form-group", inputs: ["gap", "orientation"] }, { kind: "component", type: i2.GovFormInput, selector: "gov-form-input", inputs: ["accessibleHidePasswordLabel", "accessibleShowPasswordLabel", "autocomplete", "autocorrect", "cols", "disabled", "identifier", "inputLang", "inputType", "invalid", "max", "maxlength", "min", "minlength", "multiline", "name", "placeholder", "readonly", "required", "role", "rows", "size", "spellcheck", "success", "type", "value"] }, { kind: "component", type: i2.GovFormLabel, selector: "gov-form-label", inputs: ["identifier", "legend", "required", "size"] }, { kind: "component", type: i2.GovFormMessage, selector: "gov-form-message", inputs: ["color", "size"] }, { kind: "component", type: i2.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "gov-form-input:not([input-type=number]),gov-form-autocomplete" }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "component", type: ErrorComponent, selector: "v-validation-message", inputs: ["ngControl", "errorSlot", "messageSlot"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
44
+ }
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: NumberInputComponent, decorators: [{
46
+ type: Component,
47
+ args: [{ selector: 'v-number-input', standalone: true, imports: [
48
+ CommonModule,
49
+ ReactiveFormsModule,
50
+ GovDesignSystemModule,
51
+ GovSizePipe,
52
+ ErrorComponent,
53
+ ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
54
+ {
55
+ provide: NUMBER_INPUT_COMPONENT_TOKEN,
56
+ useExisting: NumberInputComponent,
57
+ },
58
+ ], template: "<gov-form-control>\r\n @if (label) {\r\n <gov-form-label \r\n [slot]=\"labelSlot\"\r\n [size]=\"size | govSize\"\r\n >\r\n {{ label }}\r\n </gov-form-label>\r\n }\r\n <gov-form-group>\r\n <gov-form-input \r\n [attr.input-type]=\"type\"\r\n [formControl]=\"formControl\"\r\n [minlength]=\"minlength\" \r\n [maxlength]=\"maxlength\" \r\n [size]='size | govSize' \r\n [name]='name' \r\n [role]='role'\r\n [required]=\"required\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"ngControl?.errors ? true : false\"\r\n >\r\n @if (icon) {\r\n <gov-icon\r\n [name]=\"icon\"\r\n [slot]=\"iconPos === 'left' ? 'icon-start' : 'icon-end'\"\r\n />\r\n } @if (prefix) {\r\n <p slot=\"prefix\">\r\n {{ prefix }}\r\n </p>\r\n } @if (sufix) {\r\n <p slot=\"sufix\">\r\n {{ sufix }}\r\n </p>\r\n }\r\n </gov-form-input>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n @if (message) {\r\n <gov-form-message \r\n [slot]=\"messageSlot\" \r\n color=\"neutral\"\r\n >\r\n {{ message }}\r\n </gov-form-message>\r\n }\r\n </gov-form-group>\r\n</gov-form-control>\r\n" }]
59
+ }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
60
+ type: Optional
61
+ }, {
62
+ type: Self
63
+ }] }], propDecorators: { mode: [{
64
+ type: Input
65
+ }], currency: [{
66
+ type: Input
67
+ }], min: [{
68
+ type: Input
69
+ }], max: [{
70
+ type: Input
71
+ }], step: [{
72
+ type: Input
73
+ }], floatLabel: [{
74
+ type: Input
75
+ }], type: [{
76
+ type: Input
77
+ }], minlength: [{
78
+ type: Input
79
+ }], maxlength: [{
80
+ type: Input
81
+ }], prefix: [{
82
+ type: Input
83
+ }], sufix: [{
84
+ type: Input
85
+ }], message: [{
86
+ type: Input
87
+ }], name: [{
88
+ type: Input
89
+ }], role: [{
90
+ type: Input
91
+ }], size: [{
92
+ type: Input
93
+ }], icon: [{
94
+ type: Input
95
+ }], iconPos: [{
96
+ type: Input
97
+ }], labelSlot: [{
98
+ type: Input
99
+ }], errorSlot: [{
100
+ type: Input
101
+ }], messageS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i1mb3JtLWxhYmVsPlxyXG4gICAgfVxyXG4gICAgPGdvdi1mb3JtLWdyb3VwPlxyXG4gICAgICAgIDxnb3YtZm9ybS1pbnB1dCBcclxuICAgICAgICAgICAgW2F0dHIuaW5wdXQtdHlwZV09XCJ0eXBlXCJcclxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgICAgICAgW21pbmxlbmd0aF09XCJtaW5sZW5ndGhcIiBcclxuICAgICAgICAgICAgW21heGxlbmd0aF09XCJtYXhsZW5ndGhcIiBcclxuICAgICAgICAgICAgW3NpemVdPSdzaXplIHwgZ292U2l6ZScgIFxyXG4gICAgICAgICAgICBbbmFtZV09J25hbWUnIFxyXG4gICAgICAgICAgICBbcm9sZV09J3JvbGUnXHJcbiAgICAgICAgICAgIFtyZXF1aXJlZF09XCJyZXF1aXJlZFwiXHJcbiAgICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXHJcbiAgICAgICAgICAgIFtpbnZhbGlkXT1cIm5nQ29udHJvbD8uZXJyb3JzID8gdHJ1ZSA6IGZhbHNlXCJcclxuICAgICAgICA+XHJcbiAgICAgICAgICAgIEBpZiAoaWNvbikge1xyXG4gICAgICAgICAgICA8Z292LWljb25cclxuICAgICAgICAgICAgICAgIFtuYW1lXT1cImljb25cIlxyXG4gICAgICAgICAgICAgICAgW3Nsb3RdPVwiaWNvblBvcyA9PT0gJ2xlZnQnID8gJ2ljb24tc3RhcnQnIDogJ2ljb24tZW5kJ1wiXHJcbiAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIH0gQGlmIChwcmVmaXgpIHtcclxuICAgICAgICAgICAgPHAgc2xvdD1cInByZWZpeFwiPlxyXG4gICAgICAgICAgICAgICAge3sgcHJlZml4IH19XHJcbiAgICAgICAgICAgIDwvcD5cclxuICAgICAgICAgICAgfSBAaWYgKHN1Zml4KSB7XHJcbiAgICAgICAgICAgIDxwIHNsb3Q9XCJzdWZpeFwiPlxyXG4gICAgICAgICAgICAgICAge3sgc3VmaXggfX1cclxuICAgICAgICAgICAgPC9wPlxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgPC9nb3YtZm9ybS1pbnB1dD5cclxuICAgICAgICA8di12YWxpZGF0aW9uLW1lc3NhZ2UgW25nQ29udHJvbF09XCJuZ0NvbnRyb2xcIj48L3YtdmFsaWRhdGlvbi1tZXNzYWdlPlxyXG4gICAgICAgIEBpZiAobWVzc2FnZSkge1xyXG4gICAgICAgIDxnb3YtZm9ybS1tZXNzYWdlIFxyXG4gICAgICAgICAgICBbc2xvdF09XCJtZXNzYWdlU2xvdFwiIFxyXG4gICAgICAgICAgICBjb2xvcj1cIm5ldXRyYWxcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgIHt7IG1lc3NhZ2UgfX1cclxuICAgICAgICA8L2dvdi1mb3JtLW1lc3NhZ2U+XHJcbiAgICAgICAgfVxyXG4gICAgPC9nb3YtZm9ybS1ncm91cD5cclxuPC9nb3YtZm9ybS1jb250cm9sPlxyXG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './page-header.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvcGFnZS1oZWFkZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGFnZS1oZWFkZXIuY29tcG9uZW50JzsiXX0=
@@ -0,0 +1,28 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
3
+ import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
4
+ import { TranslateModule } from '@ngx-translate/core';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@ngx-translate/core";
7
+ export class PageHeaderComponent {
8
+ title = '';
9
+ subtitle;
10
+ showBackButton;
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: PageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: PageHeaderComponent, isStandalone: true, selector: "v-page-header", inputs: { title: "title", subtitle: "subtitle", showBackButton: "showBackButton" }, ngImport: i0, template: "<div class=\"d-flex gap-3 align-items-center\">\r\n <h2>{{ title | translate }}</h2>\r\n</div>", styles: ["h2{font-size:1.5rem;color:var(--color-neutral-700);margin:0}.d-flex{display:flex;align-items:center;gap:1rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
+ }
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: PageHeaderComponent, decorators: [{
15
+ type: Component,
16
+ args: [{ selector: 'v-page-header', standalone: true, imports: [
17
+ CommonModule,
18
+ GovDesignSystemModule,
19
+ TranslateModule,
20
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"d-flex gap-3 align-items-center\">\r\n <h2>{{ title | translate }}</h2>\r\n</div>", styles: ["h2{font-size:1.5rem;color:var(--color-neutral-700);margin:0}.d-flex{display:flex;align-items:center;gap:1rem}\n"] }]
21
+ }], propDecorators: { title: [{
22
+ type: Input
23
+ }], subtitle: [{
24
+ type: Input
25
+ }], showBackButton: [{
26
+ type: Input
27
+ }] } });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIj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KCkgdGl0bGUgPSAnJztcclxuXHJcbiAgQElucHV0KCkgc3VidGl0bGU6IHN0cmluZyB8IHVuZGVmaW5lZDtcclxuXHJcbiAgQElucHV0KCkgc2hvd0JhY2tCdXR0b246IGJvb2xlYW4gfCB1bmRlZmluZWQ7XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cImQtZmxleCBnYXAtMyBhbGlnbi1pdGVtcy1jZW50ZXJcIj5cclxuICA8aDI+e3sgdGl0bGUgfCB0cmFuc2xhdGUgfX08L2gyPlxyXG48L2Rpdj4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './password.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvcGFzc3dvcmQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGFzc3dvcmQuY29tcG9uZW50JztcclxuIl19
@@ -0,0 +1,94 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, Input, Optional, Self } from '@angular/core';
3
+ import { NgControl, ReactiveFormsModule } from '@angular/forms';
4
+ import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
5
+ import { BaseFormInputComponent, FieldType, PASSWORD_COMPONENT_TOKEN, SlotPosition, IconPosition, FieldSize, PasswordStrength, } from '@verisoft/ui-core';
6
+ import zxcvbn from 'zxcvbn';
7
+ import { Icons } from '../../icons';
8
+ import { GovSizePipe } from '../../pipes';
9
+ import { ErrorComponent } from '../errors';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@angular/forms";
12
+ import * as i2 from "@gov-design-system-ce/angular";
13
+ export class PasswordComponent extends BaseFormInputComponent {
14
+ toggleMask = true;
15
+ feedback = false;
16
+ labelSlot = SlotPosition.top;
17
+ requiredStrength = PasswordStrength.None;
18
+ message;
19
+ name;
20
+ role;
21
+ icon;
22
+ iconPos = IconPosition.right;
23
+ size = FieldSize.medium;
24
+ messageSlot = SlotPosition.bottom;
25
+ icons = Icons;
26
+ passwordStrength = PasswordStrength.None;
27
+ type = FieldType.password;
28
+ constructor(ngControl) {
29
+ super(ngControl);
30
+ }
31
+ valueChange(value) {
32
+ if (!value) {
33
+ this.passwordStrength = 0;
34
+ return;
35
+ }
36
+ const result = zxcvbn(value);
37
+ this.passwordStrength = result.score;
38
+ if (!this.formControl) {
39
+ return;
40
+ }
41
+ if (result.score < this.requiredStrength) {
42
+ this.formControl.setErrors({ passwordLowStrength: true }, { emitEvent: false });
43
+ }
44
+ }
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: PasswordComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
46
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: PasswordComponent, isStandalone: true, selector: "v-password", inputs: { toggleMask: "toggleMask", feedback: "feedback", labelSlot: "labelSlot", requiredStrength: "requiredStrength", message: "message", name: "name", role: "role", icon: "icon", iconPos: "iconPos", size: "size", messageSlot: "messageSlot" }, providers: [
47
+ {
48
+ provide: PASSWORD_COMPONENT_TOKEN,
49
+ useExisting: PasswordComponent
50
+ }
51
+ ], usesInheritance: true, ngImport: i0, template: "<gov-form-control class=\"mb-3\">\r\n @if (label) {\r\n <gov-form-label \r\n [slot]=\"labelSlot\"\r\n [size]=\"size | govSize\"\r\n >\r\n {{ label }}\r\n </gov-form-label>\r\n }\r\n <gov-form-group>\r\n @if (feedback) {\r\n <gov-form-password-power [power]=\"passwordStrength - 1\" />\r\n }\r\n <gov-form-input\r\n [formControl]=\"formControl\"\r\n [attr.input-type]=\"type\"\r\n [placeholder]=\"placeholder\"\r\n [invalid]=\"ngControl?.errors\"\r\n (ngModelChange)=\"valueChange($event)\"\r\n />\r\n </gov-form-group>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n @if (message) {\r\n <gov-form-message \r\n [slot]=\"messageSlot\" \r\n color=\"neutral\"\r\n >\r\n {{ message }}\r\n </gov-form-message>\r\n }\r\n</gov-form-control>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i2.GovFormControl, selector: "gov-form-control", inputs: ["disabled", "fieldset", "identifier", "invalid", "size", "success"] }, { kind: "component", type: i2.GovFormGroup, selector: "gov-form-group", inputs: ["gap", "orientation"] }, { kind: "component", type: i2.GovFormInput, selector: "gov-form-input", inputs: ["accessibleHidePasswordLabel", "accessibleShowPasswordLabel", "autocomplete", "autocorrect", "cols", "disabled", "identifier", "inputLang", "inputType", "invalid", "max", "maxlength", "min", "minlength", "multiline", "name", "placeholder", "readonly", "required", "role", "rows", "size", "spellcheck", "success", "type", "value"] }, { kind: "component", type: i2.GovFormLabel, selector: "gov-form-label", inputs: ["identifier", "legend", "required", "size"] }, { kind: "component", type: i2.GovFormMessage, selector: "gov-form-message", inputs: ["color", "size"] }, { kind: "component", type: i2.GovFormPasswordPower, selector: "gov-form-password-power", inputs: ["power"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "gov-form-input:not([input-type=number]),gov-form-autocomplete" }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "component", type: ErrorComponent, selector: "v-validation-message", inputs: ["ngControl", "errorSlot", "messageSlot"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
52
+ }
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: PasswordComponent, decorators: [{
54
+ type: Component,
55
+ args: [{ selector: 'v-password', standalone: true, imports: [
56
+ CommonModule,
57
+ ReactiveFormsModule,
58
+ GovDesignSystemModule,
59
+ GovSizePipe,
60
+ ErrorComponent,
61
+ ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
62
+ {
63
+ provide: PASSWORD_COMPONENT_TOKEN,
64
+ useExisting: PasswordComponent
65
+ }
66
+ ], template: "<gov-form-control class=\"mb-3\">\r\n @if (label) {\r\n <gov-form-label \r\n [slot]=\"labelSlot\"\r\n [size]=\"size | govSize\"\r\n >\r\n {{ label }}\r\n </gov-form-label>\r\n }\r\n <gov-form-group>\r\n @if (feedback) {\r\n <gov-form-password-power [power]=\"passwordStrength - 1\" />\r\n }\r\n <gov-form-input\r\n [formControl]=\"formControl\"\r\n [attr.input-type]=\"type\"\r\n [placeholder]=\"placeholder\"\r\n [invalid]=\"ngControl?.errors\"\r\n (ngModelChange)=\"valueChange($event)\"\r\n />\r\n </gov-form-group>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n @if (message) {\r\n <gov-form-message \r\n [slot]=\"messageSlot\" \r\n color=\"neutral\"\r\n >\r\n {{ message }}\r\n </gov-form-message>\r\n }\r\n</gov-form-control>\r\n" }]
67
+ }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
68
+ type: Optional
69
+ }, {
70
+ type: Self
71
+ }] }], propDecorators: { toggleMask: [{
72
+ type: Input
73
+ }], feedback: [{
74
+ type: Input
75
+ }], labelSlot: [{
76
+ type: Input
77
+ }], requiredStrength: [{
78
+ type: Input
79
+ }], message: [{
80
+ type: Input
81
+ }], name: [{
82
+ type: Input
83
+ }], role: [{
84
+ type: Input
85
+ }], icon: [{
86
+ type: Input
87
+ }], iconPos: [{
88
+ type: Input
89
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A8di12YWxpZGF0aW9uLW1lc3NhZ2UgW25nQ29udHJvbF09XCJuZ0NvbnRyb2xcIj48L3YtdmFsaWRhdGlvbi1tZXNzYWdlPlxyXG4gIEBpZiAobWVzc2FnZSkge1xyXG4gIDxnb3YtZm9ybS1tZXNzYWdlIFxyXG4gICAgICBbc2xvdF09XCJtZXNzYWdlU2xvdFwiIFxyXG4gICAgICBjb2xvcj1cIm5ldXRyYWxcIlxyXG4gICAgICA+XHJcbiAgICAgIHt7IG1lc3NhZ2UgfX1cclxuICA8L2dvdi1mb3JtLW1lc3NhZ2U+XHJcbiAgfVxyXG48L2dvdi1mb3JtLWNvbnRyb2w+XHJcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './radiobutton.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvcmFkaW9idXR0b24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmFkaW9idXR0b24uY29tcG9uZW50JzsiXX0=
@@ -0,0 +1,50 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, Input, Optional, Self, } from '@angular/core';
3
+ import { NgControl, ReactiveFormsModule, } from '@angular/forms';
4
+ import { RouterModule } from '@angular/router';
5
+ import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
6
+ import { BaseFormInputComponent, FieldSize, RADIOBUTTON_COMPONENT_TOKEN, } from '@verisoft/ui-core';
7
+ import { Icons } from '../../icons';
8
+ import { GovSizePipe } from '../../pipes';
9
+ import { ErrorComponent } from '../errors';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@angular/forms";
12
+ import * as i2 from "@gov-design-system-ce/angular";
13
+ export class RadioButtonComponent extends BaseFormInputComponent {
14
+ radioGroupName = Math.random().toString();
15
+ items = [];
16
+ size = FieldSize.medium;
17
+ icons = Icons;
18
+ constructor(ngControl) {
19
+ super(ngControl);
20
+ }
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: RadioButtonComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
22
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: RadioButtonComponent, isStandalone: true, selector: "v-radiobutton", inputs: { radioGroupName: "radioGroupName", items: "items", size: "size" }, providers: [
23
+ {
24
+ provide: RADIOBUTTON_COMPONENT_TOKEN,
25
+ useExisting: RadioButtonComponent,
26
+ },
27
+ ], usesInheritance: true, ngImport: i0, template: "<gov-form-control>\r\n <gov-form-radio-group [formControl]=\"formControl\">\r\n @if (items) { @for(item of items; track item) {\r\n <gov-form-radio\r\n [size]=\"size | govSize\"\r\n [value]=\"item.value\"\r\n [required]=\"required\"\r\n [identifier]=\"item.id\"\r\n [name]=\"radioGroupName\"\r\n [invalid]=\"ngControl?.errors\"\r\n [disabled]=\"formControl.disabled\"\r\n >\r\n <gov-form-label\r\n [size]=\"size | govSize\"\r\n slot=\"label\"\r\n >\r\n {{ label }}\r\n </gov-form-label>\r\n </gov-form-radio>\r\n } }\r\n </gov-form-radio-group>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n</gov-form-control>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i2.GovFormControl, selector: "gov-form-control", inputs: ["disabled", "fieldset", "identifier", "invalid", "size", "success"] }, { kind: "component", type: i2.GovFormLabel, selector: "gov-form-label", inputs: ["identifier", "legend", "required", "size"] }, { kind: "component", type: i2.GovFormRadio, selector: "gov-form-radio", inputs: ["checked", "disabled", "identifier", "invalid", "name", "noLabel", "required", "size", "value"] }, { kind: "component", type: i2.GovFormRadioGroup, selector: "gov-form-radio-group", inputs: ["gap", "orientation", "value"] }, { kind: "directive", type: i2.RadioValueAccessor, selector: "gov-form-radio" }, { kind: "directive", type: i2.GroupValueAccessor, selector: "gov-form-radio-group,gov-form-checkbox-group" }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "component", type: ErrorComponent, selector: "v-validation-message", inputs: ["ngControl", "errorSlot", "messageSlot"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: RadioButtonComponent, decorators: [{
30
+ type: Component,
31
+ args: [{ selector: "v-radiobutton", standalone: true, imports: [
32
+ CommonModule, GovDesignSystemModule, RouterModule, ReactiveFormsModule, GovSizePipe, ErrorComponent
33
+ ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
34
+ {
35
+ provide: RADIOBUTTON_COMPONENT_TOKEN,
36
+ useExisting: RadioButtonComponent,
37
+ },
38
+ ], template: "<gov-form-control>\r\n <gov-form-radio-group [formControl]=\"formControl\">\r\n @if (items) { @for(item of items; track item) {\r\n <gov-form-radio\r\n [size]=\"size | govSize\"\r\n [value]=\"item.value\"\r\n [required]=\"required\"\r\n [identifier]=\"item.id\"\r\n [name]=\"radioGroupName\"\r\n [invalid]=\"ngControl?.errors\"\r\n [disabled]=\"formControl.disabled\"\r\n >\r\n <gov-form-label\r\n [size]=\"size | govSize\"\r\n slot=\"label\"\r\n >\r\n {{ label }}\r\n </gov-form-label>\r\n </gov-form-radio>\r\n } }\r\n </gov-form-radio-group>\r\n <v-validation-message [ngControl]=\"ngControl\"></v-validation-message>\r\n</gov-form-control>\r\n" }]
39
+ }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
40
+ type: Optional
41
+ }, {
42
+ type: Self
43
+ }] }], propDecorators: { radioGroupName: [{
44
+ type: Input
45
+ }], items: [{
46
+ type: Input
47
+ }], size: [{
48
+ type: Input
49
+ }] } });
50
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYnMvdWktZ292Y3ovc3JjL2xpYi9jb21wb25lbnRzL3JhZGlvYnV0dG9uL3JhZGlvYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9yYWRpb2J1dHRvbi9yYWRpb2J1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsS0FBSyxFQUNMLFFBQVEsRUFDUixJQUFJLEdBQ0wsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUVMLFNBQVMsRUFDVCxtQkFBbUIsR0FDcEIsTUFBTSxnQkFBZ0IsQ0FBQztBQUN4QixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDdEU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ybS1yYWRpby1ncm91cD5cclxuICA8di12YWxpZGF0aW9uLW1lc3NhZ2UgW25nQ29udHJvbF09XCJuZ0NvbnRyb2xcIj48L3YtdmFsaWRhdGlvbi1tZXNzYWdlPlxyXG48L2dvdi1mb3JtLWNvbnRyb2w+XHJcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './search.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvc2VhcmNoL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlYXJjaC5jb21wb25lbnQnOyJdfQ==
@@ -0,0 +1,40 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
+ import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
5
+ import { FieldSize } from '@verisoft/ui-core';
6
+ import { Icons } from '../../icons';
7
+ import { GovSizePipe } from '../../pipes';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@gov-design-system-ce/angular";
10
+ export class SearchComponent {
11
+ placeholder;
12
+ size = FieldSize.medium;
13
+ searchTerm = new EventEmitter();
14
+ value;
15
+ icons = Icons;
16
+ setValue(event) {
17
+ this.value = event.detail.value;
18
+ }
19
+ search() {
20
+ this.searchTerm.emit(this.value);
21
+ }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: SearchComponent, isStandalone: true, selector: "v-search", inputs: { placeholder: "placeholder", size: "size" }, outputs: { searchTerm: "searchTerm" }, ngImport: i0, template: "<gov-form-control>\r\n <gov-form-group>\r\n <gov-form-search color=\"neutral\">\r\n <gov-form-input \r\n [placeholder]=\"placeholder\"\r\n [size]=\"size | govSize\"\r\n slot=\"input\"\r\n (gov-input)=\"setValue($event)\"\r\n />\r\n <gov-button\r\n [size]=\"size | govSize\"\r\n color=\"primary\"\r\n type=\"solid\"\r\n slot=\"button\"\r\n (gov-click)=\"search()\"\r\n >\r\n <gov-icon\r\n [name]=\"icons.search\"\r\n />\r\n </gov-button>\r\n </gov-form-search>\r\n </gov-form-group>\r\n</gov-form-control>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i1.GovButton, selector: "gov-button", inputs: ["color", "disabled", "download", "expanded", "focusable", "href", "hreflang", "identifier", "loading", "name", "nativeType", "referrerpolicy", "rel", "size", "target", "type"] }, { kind: "component", type: i1.GovFormControl, selector: "gov-form-control", inputs: ["disabled", "fieldset", "identifier", "invalid", "size", "success"] }, { kind: "component", type: i1.GovFormGroup, selector: "gov-form-group", inputs: ["gap", "orientation"] }, { kind: "component", type: i1.GovFormInput, selector: "gov-form-input", inputs: ["accessibleHidePasswordLabel", "accessibleShowPasswordLabel", "autocomplete", "autocorrect", "cols", "disabled", "identifier", "inputLang", "inputType", "invalid", "max", "maxlength", "min", "minlength", "multiline", "name", "placeholder", "readonly", "required", "role", "rows", "size", "spellcheck", "success", "type", "value"] }, { kind: "component", type: i1.GovFormSearch, selector: "gov-form-search", inputs: ["color", "size"] }, { kind: "component", type: i1.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "directive", type: i1.TextValueAccessor, selector: "gov-form-input:not([input-type=number]),gov-form-autocomplete" }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "ngmodule", type: ReactiveFormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SearchComponent, decorators: [{
26
+ type: Component,
27
+ args: [{ selector: 'v-search', standalone: true, imports: [
28
+ CommonModule,
29
+ GovDesignSystemModule,
30
+ GovSizePipe,
31
+ ReactiveFormsModule,
32
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<gov-form-control>\r\n <gov-form-group>\r\n <gov-form-search color=\"neutral\">\r\n <gov-form-input \r\n [placeholder]=\"placeholder\"\r\n [size]=\"size | govSize\"\r\n slot=\"input\"\r\n (gov-input)=\"setValue($event)\"\r\n />\r\n <gov-button\r\n [size]=\"size | govSize\"\r\n color=\"primary\"\r\n type=\"solid\"\r\n slot=\"button\"\r\n (gov-click)=\"search()\"\r\n >\r\n <gov-icon\r\n [name]=\"icons.search\"\r\n />\r\n </gov-button>\r\n </gov-form-search>\r\n </gov-form-group>\r\n</gov-form-control>" }]
33
+ }], propDecorators: { placeholder: [{
34
+ type: Input
35
+ }], size: [{
36
+ type: Input
37
+ }], searchTerm: [{
38
+ type: Output
39
+ }] } });
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQ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292U2l6ZVwiXHJcbiAgICAgICAgICAgICAgICBzbG90PVwiaW5wdXRcIlxyXG4gICAgICAgICAgICAgICAgKGdvdi1pbnB1dCk9XCJzZXRWYWx1ZSgkZXZlbnQpXCJcclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPGdvdi1idXR0b25cclxuICAgICAgICAgICAgICAgIFtzaXplXT1cInNpemUgfCBnb3ZTaXplXCJcclxuICAgICAgICAgICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICB0eXBlPVwic29saWRcIlxyXG4gICAgICAgICAgICAgICAgc2xvdD1cImJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICAoZ292LWNsaWNrKT1cInNlYXJjaCgpXCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgPGdvdi1pY29uXHJcbiAgICAgICAgICAgICAgICAgICAgW25hbWVdPVwiaWNvbnMuc2VhcmNoXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIDwvZ292LWJ1dHRvbj5cclxuICAgICAgICA8L2dvdi1mb3JtLXNlYXJjaD5cclxuICAgIDwvZ292LWZvcm0tZ3JvdXA+XHJcbjwvZ292LWZvcm0tY29udHJvbD4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './section.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvc2VjdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zZWN0aW9uLmNvbXBvbmVudCc7Il19
@@ -0,0 +1,70 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, Input, NO_ERRORS_SCHEMA, } from '@angular/core';
3
+ import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
4
+ import { TranslateModule } from '@ngx-translate/core';
5
+ import { FieldSize, SECTION_COMPONENT_TOKEN, } from '@verisoft/ui-core';
6
+ import { Icons } from '../../icons';
7
+ import { GovSizePipe } from '../../pipes';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@gov-design-system-ce/angular";
10
+ import * as i2 from "@ngx-translate/core";
11
+ export class SectionComponent {
12
+ title;
13
+ badge;
14
+ showContent = false;
15
+ backgroundColor;
16
+ annotation;
17
+ identifier;
18
+ icon;
19
+ iconType;
20
+ size = FieldSize.medium;
21
+ badgeSlot = 'sufix';
22
+ open = false;
23
+ icons = Icons;
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: SectionComponent, isStandalone: true, selector: "v-section", inputs: { title: "title", badge: "badge", showContent: "showContent", backgroundColor: "backgroundColor", annotation: "annotation", identifier: "identifier", icon: "icon", iconType: "iconType", size: "size", badgeSlot: "badgeSlot", open: "open" }, providers: [
26
+ {
27
+ provide: SECTION_COMPONENT_TOKEN,
28
+ useExisting: SectionComponent,
29
+ },
30
+ ], ngImport: i0, template: "<gov-accordion>\r\n <gov-accordion-item \r\n [size]=\"size | govSize\"\r\n [identifier]=\"identifier\"\r\n [open]=\"open\"\r\n >\r\n @if (icon) {\r\n <gov-icon\r\n [name]=\"icons.chevronDown\"\r\n />\r\n } @if (title) {\r\n <h2 slot=\"label\">{{ title | translate }}</h2>\r\n } @if (badge) {\r\n <gov-badge \r\n inverse=\"true\"\r\n size=\"s\"\r\n [slot]=\"badgeSlot\"\r\n >\r\n {{ badge }}\r\n </gov-badge>\r\n } @if (annotation) {\r\n <p slot=\"annotation\">{{ annotation | translate }}</p>\r\n }\r\n <ng-content></ng-content>\r\n </gov-accordion-item>\r\n</gov-accordion>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i1.GovAccordion, selector: "gov-accordion", inputs: ["noBorder", "size"] }, { kind: "component", type: i1.GovAccordionItem, selector: "gov-accordion-item", inputs: ["disabled", "identifier", "open", "size"] }, { kind: "component", type: i1.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: SectionComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'v-section', standalone: true, imports: [
35
+ CommonModule,
36
+ GovDesignSystemModule,
37
+ GovSizePipe,
38
+ TranslateModule,
39
+ ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
40
+ {
41
+ provide: SECTION_COMPONENT_TOKEN,
42
+ useExisting: SectionComponent,
43
+ },
44
+ ], schemas: [
45
+ NO_ERRORS_SCHEMA
46
+ ], template: "<gov-accordion>\r\n <gov-accordion-item \r\n [size]=\"size | govSize\"\r\n [identifier]=\"identifier\"\r\n [open]=\"open\"\r\n >\r\n @if (icon) {\r\n <gov-icon\r\n [name]=\"icons.chevronDown\"\r\n />\r\n } @if (title) {\r\n <h2 slot=\"label\">{{ title | translate }}</h2>\r\n } @if (badge) {\r\n <gov-badge \r\n inverse=\"true\"\r\n size=\"s\"\r\n [slot]=\"badgeSlot\"\r\n >\r\n {{ badge }}\r\n </gov-badge>\r\n } @if (annotation) {\r\n <p slot=\"annotation\">{{ annotation | translate }}</p>\r\n }\r\n <ng-content></ng-content>\r\n </gov-accordion-item>\r\n</gov-accordion>" }]
47
+ }], propDecorators: { title: [{
48
+ type: Input
49
+ }], badge: [{
50
+ type: Input
51
+ }], showContent: [{
52
+ type: Input
53
+ }], backgroundColor: [{
54
+ type: Input
55
+ }], annotation: [{
56
+ type: Input
57
+ }], identifier: [{
58
+ type: Input
59
+ }], icon: [{
60
+ type: Input
61
+ }], iconType: [{
62
+ type: Input
63
+ }], size: [{
64
+ type: Input
65
+ }], badgeSlot: [{
66
+ type: Input
67
+ }], open: [{
68
+ type: Input
69
+ }] } });
70
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvc2VjdGlvbi9zZWN0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9zZWN0aW9uL3NlY3Rpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssRUFDTCxnQkFBZ0IsR0FDbkIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDdEUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3RELE9BQU8sRUFFSCxTQUFTLEVBQ1QsdUJBQXVCLEdBRTFCLE1BQU0sbUJBQW1CLENBQUM7QUFDM0IsT0FBTyx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yaW5nO1xyXG4gICAgQElucHV0KCkgaWNvblR5cGUhOiBzdHJpbmc7XHJcbiAgICBASW5wdXQoKSBzaXplOiBGaWVsZFNpemVUeXBlID0gRmllbGRTaXplLm1lZGl1bTtcclxuICAgIEBJbnB1dCgpIGJhZGdlU2xvdDogJ3ByZWZpeCcgfCAnc3VmaXgnID0gJ3N1Zml4JztcclxuICAgIEBJbnB1dCgpIG9wZW4gPSBmYWxzZTtcclxuXHJcbiAgICBpY29ucyA9IEljb25zO1xyXG59XHJcbiIsIjxnb3YtYWNjb3JkaW9uPlxyXG4gICAgPGdvdi1hY2NvcmRpb24taXRlbSBcclxuICAgICAgICBbc2l6ZV09XCJzaXplIHwgZ292U2l6ZVwiXHJcbiAgICAgICAgW2lkZW50aWZpZXJdPVwiaWRlbnRpZmllclwiXHJcbiAgICAgICAgW29wZW5dPVwib3BlblwiXHJcbiAgICA+XHJcbiAgICAgICAgQGlmIChpY29uKSB7XHJcbiAgICAgICAgICAgIDxnb3YtaWNvblxyXG4gICAgICAgICAgICAgICAgW25hbWVdPVwiaWNvbnMuY2hldnJvbkRvd25cIlxyXG4gICAgICAgICAgICAvPlxyXG4gICAgICAgIH0gQGlmICh0aXRsZSkge1xyXG4gICAgICAgICAgICA8aDIgc2xvdD1cImxhYmVsXCI+e3sgdGl0bGUgfCB0cmFuc2xhdGUgfX08L2gyPlxyXG4gICAgICAgIH0gQGlmIChiYWRnZSkge1xyXG4gICAgICAgICAgICA8Z292LWJhZGdlIFxyXG4gICAgICAgICAgICAgICAgaW52ZXJzZT1cInRydWVcIlxyXG4gICAgICAgICAgICAgICAgc2l6ZT1cInNcIlxyXG4gICAgICAgICAgICAgICAgW3Nsb3RdPVwiYmFkZ2VTbG90XCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAge3sgYmFkZ2UgfX1cclxuICAgICAgICAgICAgPC9nb3YtYmFkZ2U+XHJcbiAgICAgICAgfSBAaWYgKGFubm90YXRpb24pIHtcclxuICAgICAgICAgICAgPHAgc2xvdD1cImFubm90YXRpb25cIj57eyBhbm5vdGF0aW9uIHwgdHJhbnNsYXRlIH19PC9wPlxyXG4gICAgICAgIH1cclxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICA8L2dvdi1hY2NvcmRpb24taXRlbT5cclxuPC9nb3YtYWNjb3JkaW9uPiJdfQ==