@verisoft/ui-govcz 18.6.1 → 18.6.3

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 (597) hide show
  1. package/.eslintrc.json +48 -0
  2. package/assets/i18n/cs.json +9 -0
  3. package/assets/i18n/en.json +9 -0
  4. package/assets/icons/components/24-7.svg +12 -0
  5. package/assets/icons/components/NO-ICON.svg +2 -0
  6. package/assets/icons/components/add.svg +6 -0
  7. package/assets/icons/components/all.svg +3 -0
  8. package/assets/icons/components/arrival.svg +12 -0
  9. package/assets/icons/components/arrow-left.svg +3 -0
  10. package/assets/icons/components/arrow-right.svg +3 -0
  11. package/assets/icons/components/bars.svg +3 -0
  12. package/assets/icons/components/bell.svg +4 -0
  13. package/assets/icons/components/big-help.svg +12 -0
  14. package/assets/icons/components/book.svg +10 -0
  15. package/assets/icons/components/bookmarks.svg +11 -0
  16. package/assets/icons/components/box-arrow-up-right.svg +11 -0
  17. package/assets/icons/components/business-file.svg +14 -0
  18. package/assets/icons/components/businessman.svg +3 -0
  19. package/assets/icons/components/cactus.svg +14 -0
  20. package/assets/icons/components/calendar.svg +3 -0
  21. package/assets/icons/components/camera.svg +5 -0
  22. package/assets/icons/components/car.svg +5 -0
  23. package/assets/icons/components/card-400.svg +11 -0
  24. package/assets/icons/components/card-401.svg +11 -0
  25. package/assets/icons/components/card-403.svg +11 -0
  26. package/assets/icons/components/card-404.svg +11 -0
  27. package/assets/icons/components/card-500.svg +11 -0
  28. package/assets/icons/components/card-502.svg +11 -0
  29. package/assets/icons/components/card-503.svg +12 -0
  30. package/assets/icons/components/card-504.svg +15 -0
  31. package/assets/icons/components/caret-right-fill.svg +3 -0
  32. package/assets/icons/components/certification.svg +14 -0
  33. package/assets/icons/components/chamber-deputies-cr.svg +11 -0
  34. package/assets/icons/components/chamber-deputies.svg +13 -0
  35. package/assets/icons/components/chat.svg +11 -0
  36. package/assets/icons/components/check-circle.svg +4 -0
  37. package/assets/icons/components/check-lg.svg +3 -0
  38. package/assets/icons/components/chevron-double-left.svg +4 -0
  39. package/assets/icons/components/chevron-double-right.svg +4 -0
  40. package/assets/icons/components/chevron-down.svg +3 -0
  41. package/assets/icons/components/chevron-left.svg +3 -0
  42. package/assets/icons/components/chevron-right.svg +3 -0
  43. package/assets/icons/components/chevron-up.svg +3 -0
  44. package/assets/icons/components/cities.svg +17 -0
  45. package/assets/icons/components/city-office.svg +17 -0
  46. package/assets/icons/components/coins.svg +14 -0
  47. package/assets/icons/components/communication.svg +4 -0
  48. package/assets/icons/components/confusion.svg +8 -0
  49. package/assets/icons/components/contact.svg +6 -0
  50. package/assets/icons/components/copy.svg +10 -0
  51. package/assets/icons/components/court.svg +5 -0
  52. package/assets/icons/components/covid.svg +5 -0
  53. package/assets/icons/components/czech-lion.svg +134 -0
  54. package/assets/icons/components/dash-lg.svg +3 -0
  55. package/assets/icons/components/diagram.svg +3 -0
  56. package/assets/icons/components/digital.svg +10 -0
  57. package/assets/icons/components/disability.svg +5 -0
  58. package/assets/icons/components/doc-agreement.svg +7 -0
  59. package/assets/icons/components/doc-basic-info.svg +18 -0
  60. package/assets/icons/components/doc-business.svg +8 -0
  61. package/assets/icons/components/doc-car-point-list.svg +16 -0
  62. package/assets/icons/components/doc-diploma.svg +17 -0
  63. package/assets/icons/components/doc-driver-info.svg +8 -0
  64. package/assets/icons/components/doc-election.svg +13 -0
  65. package/assets/icons/components/doc-filled.svg +16 -0
  66. package/assets/icons/components/doc-health.svg +3 -0
  67. package/assets/icons/components/doc-judgment.svg +8 -0
  68. package/assets/icons/components/doc-patient.svg +8 -0
  69. package/assets/icons/components/doc-personal-info.svg +11 -0
  70. package/assets/icons/components/doc-petition.svg +8 -0
  71. package/assets/icons/components/doc-registers.svg +7 -0
  72. package/assets/icons/components/doc-review.svg +20 -0
  73. package/assets/icons/components/doc-search.svg +8 -0
  74. package/assets/icons/components/doc-stamp.svg +15 -0
  75. package/assets/icons/components/doc-state.svg +13 -0
  76. package/assets/icons/components/doc-taxes.svg +16 -0
  77. package/assets/icons/components/doc-universal.svg +13 -0
  78. package/assets/icons/components/doc-visa.svg +14 -0
  79. package/assets/icons/components/documents.svg +11 -0
  80. package/assets/icons/components/download.svg +4 -0
  81. package/assets/icons/components/driver-file.svg +14 -0
  82. package/assets/icons/components/driver.svg +7 -0
  83. package/assets/icons/components/driving-licence.svg +7 -0
  84. package/assets/icons/components/email-notification.svg +12 -0
  85. package/assets/icons/components/empty-file.svg +13 -0
  86. package/assets/icons/components/energy.svg +11 -0
  87. package/assets/icons/components/envelope-fill.svg +3 -0
  88. package/assets/icons/components/envelope.svg +3 -0
  89. package/assets/icons/components/error.svg +12 -0
  90. package/assets/icons/components/european-parliament.svg +11 -0
  91. package/assets/icons/components/exclamation-lg.svg +3 -0
  92. package/assets/icons/components/exclamation-triangle-fill.svg +10 -0
  93. package/assets/icons/components/export.svg +13 -0
  94. package/assets/icons/components/eye.svg +4 -0
  95. package/assets/icons/components/family.svg +12 -0
  96. package/assets/icons/components/fast-forward.svg +1 -0
  97. package/assets/icons/components/filter.svg +3 -0
  98. package/assets/icons/components/gear.svg +11 -0
  99. package/assets/icons/components/geo-alt-fill.svg +10 -0
  100. package/assets/icons/components/globe.svg +12 -0
  101. package/assets/icons/components/graduate.svg +4 -0
  102. package/assets/icons/components/group.svg +3 -0
  103. package/assets/icons/components/hand-503.svg +10 -0
  104. package/assets/icons/components/hand-504.svg +7 -0
  105. package/assets/icons/components/hand.svg +14 -0
  106. package/assets/icons/components/health.svg +5 -0
  107. package/assets/icons/components/help.svg +4 -0
  108. package/assets/icons/components/history.svg +4 -0
  109. package/assets/icons/components/holiday.svg +13 -0
  110. package/assets/icons/components/hourglass.svg +4 -0
  111. package/assets/icons/components/house-door-fill.svg +3 -0
  112. package/assets/icons/components/house.svg +13 -0
  113. package/assets/icons/components/id-card.svg +6 -0
  114. package/assets/icons/components/id-info.svg +9 -0
  115. package/assets/icons/components/id.svg +6 -0
  116. package/assets/icons/components/illness.svg +9 -0
  117. package/assets/icons/components/info-circle-fill.svg +10 -0
  118. package/assets/icons/components/info-circle.svg +11 -0
  119. package/assets/icons/components/info-list.svg +14 -0
  120. package/assets/icons/components/info.svg +3 -0
  121. package/assets/icons/components/institute-file.svg +23 -0
  122. package/assets/icons/components/institution.svg +10 -0
  123. package/assets/icons/components/job-loss.svg +4 -0
  124. package/assets/icons/components/job.svg +3 -0
  125. package/assets/icons/components/lightbulb-fill.svg +10 -0
  126. package/assets/icons/components/list.svg +3 -0
  127. package/assets/icons/components/loader.svg +3 -0
  128. package/assets/icons/components/login.svg +11 -0
  129. package/assets/icons/components/logout.svg +13 -0
  130. package/assets/icons/components/map.svg +11 -0
  131. package/assets/icons/components/mobile-phone.svg +13 -0
  132. package/assets/icons/components/moon.svg +10 -0
  133. package/assets/icons/components/mouse.svg +3 -0
  134. package/assets/icons/components/my-filing.svg +15 -0
  135. package/assets/icons/components/my-state-data.svg +19 -0
  136. package/assets/icons/components/new-comments.svg +6 -0
  137. package/assets/icons/components/newborn.svg +16 -0
  138. package/assets/icons/components/news.svg +20 -0
  139. package/assets/icons/components/packet.svg +11 -0
  140. package/assets/icons/components/passport.svg +7 -0
  141. package/assets/icons/components/pencil.svg +3 -0
  142. package/assets/icons/components/personal-file.svg +14 -0
  143. package/assets/icons/components/pet.svg +10 -0
  144. package/assets/icons/components/petrol-station.svg +14 -0
  145. package/assets/icons/components/pills.svg +4 -0
  146. package/assets/icons/components/plus-lg.svg +3 -0
  147. package/assets/icons/components/population-register.svg +12 -0
  148. package/assets/icons/components/port-card.svg +8 -0
  149. package/assets/icons/components/portal.svg +8 -0
  150. package/assets/icons/components/pregnant.svg +11 -0
  151. package/assets/icons/components/president.svg +13 -0
  152. package/assets/icons/components/presidential-election.svg +12 -0
  153. package/assets/icons/components/print-fill.svg +4 -0
  154. package/assets/icons/components/profile-settings.svg +13 -0
  155. package/assets/icons/components/property.svg +4 -0
  156. package/assets/icons/components/question-circle.svg +4 -0
  157. package/assets/icons/components/queue.svg +13 -0
  158. package/assets/icons/components/quotes.svg +6 -0
  159. package/assets/icons/components/region.svg +11 -0
  160. package/assets/icons/components/regional-elections-clear.svg +11 -0
  161. package/assets/icons/components/regional-elections.svg +12 -0
  162. package/assets/icons/components/register-of-persons.svg +7 -0
  163. package/assets/icons/components/retiree.svg +8 -0
  164. package/assets/icons/components/rings.svg +5 -0
  165. package/assets/icons/components/search.svg +10 -0
  166. package/assets/icons/components/senate.svg +11 -0
  167. package/assets/icons/components/senior.svg +4 -0
  168. package/assets/icons/components/settings.svg +13 -0
  169. package/assets/icons/components/simple-envelope.svg +3 -0
  170. package/assets/icons/components/sms-notification.svg +7 -0
  171. package/assets/icons/components/sos.svg +6 -0
  172. package/assets/icons/components/star-fill.svg +10 -0
  173. package/assets/icons/components/state-file.svg +8 -0
  174. package/assets/icons/components/sun.svg +10 -0
  175. package/assets/icons/components/telephone.svg +10 -0
  176. package/assets/icons/components/three-dots-vertical.svg +3 -0
  177. package/assets/icons/components/time.svg +4 -0
  178. package/assets/icons/components/tombstone.svg +7 -0
  179. package/assets/icons/components/trash.svg +6 -0
  180. package/assets/icons/components/twitter-x.svg +10 -0
  181. package/assets/icons/components/upload.svg +4 -0
  182. package/assets/icons/components/user-login.svg +13 -0
  183. package/assets/icons/components/user.svg +3 -0
  184. package/assets/icons/components/vaccine.svg +11 -0
  185. package/assets/icons/components/x-circle.svg +4 -0
  186. package/assets/icons/components/x-lg.svg +3 -0
  187. package/assets/icons/components/x.svg +3 -0
  188. package/assets/logos/v-logo.svg +4 -0
  189. package/jest.config.ts +21 -0
  190. package/ng-package.json +15 -0
  191. package/package.json +23 -38
  192. package/project.json +49 -0
  193. package/src/assets/main.css +18 -0
  194. package/src/config.d.ts +10 -0
  195. package/src/index.ts +1 -0
  196. package/src/lib/components/breadcrumb/breadcrumb.component.html +23 -0
  197. package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -0
  198. package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +21 -0
  199. package/src/lib/components/breadcrumb/breadcrumb.component.ts +30 -0
  200. package/{lib/components/breadcrumb/index.d.ts → src/lib/components/breadcrumb/index.ts} +1 -1
  201. package/src/lib/components/button/button.component.html +26 -0
  202. package/src/lib/components/button/button.component.scss +0 -0
  203. package/src/lib/components/button/button.component.ts +72 -0
  204. package/src/lib/components/button/index.ts +1 -0
  205. package/src/lib/components/calendar/calendar.component.html +28 -0
  206. package/src/lib/components/calendar/calendar.component.scss +0 -0
  207. package/src/lib/components/calendar/calendar.component.ts +79 -0
  208. package/src/lib/components/calendar/index.ts +1 -0
  209. package/src/lib/components/checkbox/checkbox.component.html +23 -0
  210. package/src/lib/components/checkbox/checkbox.component.scss +0 -0
  211. package/src/lib/components/checkbox/checkbox.component.ts +62 -0
  212. package/src/lib/components/checkbox/index.ts +1 -0
  213. package/src/lib/components/confirm-dialog/confirm-dialog.component.html +50 -0
  214. package/src/lib/components/confirm-dialog/confirm-dialog.component.scss +4 -0
  215. package/src/lib/components/confirm-dialog/confirm-dialog.component.ts +80 -0
  216. package/{lib/components/confirm-dialog/index.d.ts → src/lib/components/confirm-dialog/index.ts} +1 -1
  217. package/src/lib/components/dropdown/dropdown-item.component.html +8 -0
  218. package/src/lib/components/dropdown/dropdown-item.component.ts +18 -0
  219. package/src/lib/components/dropdown/dropdown.component.html +90 -0
  220. package/src/lib/components/dropdown/dropdown.component.scss +108 -0
  221. package/src/lib/components/dropdown/dropdown.component.spec.ts +21 -0
  222. package/src/lib/components/dropdown/dropdown.component.ts +297 -0
  223. package/{lib/components/dropdown/dropdown.model.d.ts → src/lib/components/dropdown/dropdown.model.ts} +6 -6
  224. package/{lib/components/dropdown/index.d.ts → src/lib/components/dropdown/index.ts} +1 -1
  225. package/src/lib/components/errors/error.component.html +11 -0
  226. package/src/lib/components/errors/error.component.scss +0 -0
  227. package/src/lib/components/errors/error.component.spec.ts +19 -0
  228. package/src/lib/components/errors/error.component.ts +30 -0
  229. package/src/lib/components/errors/index.ts +1 -0
  230. package/src/lib/components/form-field/form-field.component.html +14 -0
  231. package/src/lib/components/form-field/form-field.component.scss +0 -0
  232. package/src/lib/components/form-field/form-field.component.spec.ts +21 -0
  233. package/src/lib/components/form-field/form-field.component.ts +78 -0
  234. package/{lib/components/form-field/index.d.ts → src/lib/components/form-field/index.ts} +1 -1
  235. package/src/lib/components/header/header.component.html +122 -0
  236. package/src/lib/components/header/header.component.scss +0 -0
  237. package/src/lib/components/header/header.component.ts +91 -0
  238. package/src/lib/components/header/index.ts +1 -0
  239. package/{lib/components/index.d.ts → src/lib/components/index.ts} +33 -33
  240. package/src/lib/components/input-group/index.ts +1 -0
  241. package/src/lib/components/input-group/input-group.component.html +41 -0
  242. package/src/lib/components/input-group/input-group.component.scss +0 -0
  243. package/src/lib/components/input-group/input-group.component.ts +77 -0
  244. package/src/lib/components/loader/index.ts +1 -0
  245. package/src/lib/components/loader/loader.component.html +7 -0
  246. package/src/lib/components/loader/loader.component.scss +0 -0
  247. package/src/lib/components/loader/loader.component.spec.ts +21 -0
  248. package/src/lib/components/loader/loader.component.ts +33 -0
  249. package/src/lib/components/multiselect/index.ts +1 -0
  250. package/src/lib/components/multiselect/multiselect.component.html +21 -0
  251. package/src/lib/components/multiselect/multiselect.component.scss +0 -0
  252. package/src/lib/components/multiselect/multiselect.component.spec.ts +21 -0
  253. package/src/lib/components/multiselect/multiselect.component.ts +119 -0
  254. package/src/lib/components/number-input/index.ts +1 -0
  255. package/src/lib/components/number-input/number-input.component.html +48 -0
  256. package/src/lib/components/number-input/number-input.component.scss +0 -0
  257. package/src/lib/components/number-input/number-input.component.ts +82 -0
  258. package/src/lib/components/page-header/index.ts +1 -0
  259. package/src/lib/components/page-header/page-header.component.html +3 -0
  260. package/src/lib/components/page-header/page-header.component.scss +11 -0
  261. package/src/lib/components/page-header/page-header.component.spec.ts +21 -0
  262. package/src/lib/components/page-header/page-header.component.ts +29 -0
  263. package/{lib/components/password/index.d.ts → src/lib/components/password/index.ts} +1 -1
  264. package/src/lib/components/password/password.component.html +31 -0
  265. package/src/lib/components/password/password.component.scss +0 -0
  266. package/src/lib/components/password/password.component.spec.ts +21 -0
  267. package/src/lib/components/password/password.component.ts +85 -0
  268. package/src/lib/components/radiobutton/index.ts +1 -0
  269. package/src/lib/components/radiobutton/radiobutton.component.html +23 -0
  270. package/src/lib/components/radiobutton/radiobutton.component.scss +0 -0
  271. package/src/lib/components/radiobutton/radiobutton.component.ts +58 -0
  272. package/src/lib/components/search/index.ts +1 -0
  273. package/src/lib/components/search/search.component.html +23 -0
  274. package/src/lib/components/search/search.component.scss +0 -0
  275. package/src/lib/components/search/search.component.ts +47 -0
  276. package/src/lib/components/section/index.ts +1 -0
  277. package/src/lib/components/section/section.component.html +26 -0
  278. package/src/lib/components/section/section.component.scss +0 -0
  279. package/src/lib/components/section/section.component.ts +57 -0
  280. package/src/lib/components/shared-components/action-button-group/action-button-group.component.html +27 -0
  281. package/src/lib/components/shared-components/action-button-group/action-button-group.component.scss +0 -0
  282. package/src/lib/components/shared-components/action-button-group/action-button-group.component.spec.ts +21 -0
  283. package/src/lib/components/shared-components/action-button-group/action-button-group.component.ts +114 -0
  284. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.html +11 -0
  285. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.scss +0 -0
  286. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.spec.ts +21 -0
  287. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.ts +71 -0
  288. package/{lib/components/shared-components/action-button-group/index.d.ts → src/lib/components/shared-components/action-button-group/index.ts} +2 -2
  289. package/src/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.ts +142 -0
  290. package/src/lib/components/shared-components/dynamic-component/dynamic-component.component.ts +56 -0
  291. package/{lib/components/shared-components/dynamic-component/index.d.ts → src/lib/components/shared-components/dynamic-component/index.ts} +2 -2
  292. package/src/lib/components/shared-components/feature-list/directives/feature-list-column.directive.ts +32 -0
  293. package/src/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.ts +8 -0
  294. package/src/lib/components/shared-components/feature-list/feature-list-filter.pipe.ts +21 -0
  295. package/src/lib/components/shared-components/feature-list/feature-list-page.component.ts +31 -0
  296. package/src/lib/components/shared-components/feature-list/feature-list-page.model.ts +42 -0
  297. package/src/lib/components/shared-components/feature-list/feature-list.component.html +59 -0
  298. package/src/lib/components/shared-components/feature-list/feature-list.component.scss +10 -0
  299. package/src/lib/components/shared-components/feature-list/feature-list.component.ts +342 -0
  300. package/{lib/components/shared-components/feature-list/index.d.ts → src/lib/components/shared-components/feature-list/index.ts} +5 -5
  301. package/src/lib/components/shared-components/filter/directives/filter-field.directive.ts +35 -0
  302. package/src/lib/components/shared-components/filter/filter.component.html +68 -0
  303. package/src/lib/components/shared-components/filter/filter.component.scss +0 -0
  304. package/src/lib/components/shared-components/filter/filter.component.spec.ts +21 -0
  305. package/src/lib/components/shared-components/filter/filter.component.stories.ts +23 -0
  306. package/src/lib/components/shared-components/filter/filter.component.ts +284 -0
  307. package/src/lib/components/shared-components/filter/filter.model.ts +18 -0
  308. package/{lib/components/shared-components/filter/index.d.ts → src/lib/components/shared-components/filter/index.ts} +2 -2
  309. package/src/lib/components/shared-components/generic-field/generic-field.component.html +97 -0
  310. package/src/lib/components/shared-components/generic-field/generic-field.component.spec.ts +21 -0
  311. package/src/lib/components/shared-components/generic-field/generic-field.component.ts +94 -0
  312. package/{lib/components/shared-components/generic-field/index.d.ts → src/lib/components/shared-components/generic-field/index.ts} +1 -1
  313. package/src/lib/components/shared-components/generic-form/generic-form.component.html +46 -0
  314. package/src/lib/components/shared-components/generic-form/generic-form.component.spec.ts +21 -0
  315. package/src/lib/components/shared-components/generic-form/generic-form.component.ts +57 -0
  316. package/src/lib/components/shared-components/generic-form/generic-form.model.spec.ts +82 -0
  317. package/src/lib/components/shared-components/generic-form/generic-form.model.ts +68 -0
  318. package/{lib/components/shared-components/generic-form/index.d.ts → src/lib/components/shared-components/generic-form/index.ts} +2 -2
  319. package/{lib/components/shared-components/index.d.ts → src/lib/components/shared-components/index.ts} +6 -6
  320. package/{lib/components/side-menu/index.d.ts → src/lib/components/side-menu/index.ts} +2 -2
  321. package/src/lib/components/side-menu/side-menu.component.html +25 -0
  322. package/src/lib/components/side-menu/side-menu.component.scss +23 -0
  323. package/src/lib/components/side-menu/side-menu.component.ts +42 -0
  324. package/src/lib/components/side-menu/side-menu.module.ts +64 -0
  325. package/src/lib/components/sidemenu/index.ts +2 -0
  326. package/{lib/components/snackbar/index.d.ts → src/lib/components/snackbar/index.ts} +2 -2
  327. package/src/lib/components/snackbar/services/snackbar.service.ts +73 -0
  328. package/src/lib/components/snackbar/snackbar.component.html +14 -0
  329. package/src/lib/components/snackbar/snackbar.component.scss +0 -0
  330. package/src/lib/components/snackbar/snackbar.component.spec.ts +21 -0
  331. package/src/lib/components/snackbar/snackbar.component.ts +45 -0
  332. package/{lib/components/snackbar/snackbar.model.d.ts → src/lib/components/snackbar/snackbar.model.ts} +10 -10
  333. package/src/lib/components/stepper/index.ts +1 -0
  334. package/src/lib/components/stepper/stepper.component.html +35 -0
  335. package/src/lib/components/stepper/stepper.component.scss +9 -0
  336. package/src/lib/components/stepper/stepper.component.ts +61 -0
  337. package/src/lib/components/switch/index.ts +1 -0
  338. package/src/lib/components/switch/switch.component.html +16 -0
  339. package/src/lib/components/switch/switch.component.scss +0 -0
  340. package/src/lib/components/switch/switch.component.ts +37 -0
  341. package/{lib/components/tab-view/index.d.ts → src/lib/components/tab-view/index.ts} +3 -3
  342. package/src/lib/components/tab-view/tab-view-item.component.ts +23 -0
  343. package/src/lib/components/tab-view/tab-view.component.html +51 -0
  344. package/src/lib/components/tab-view/tab-view.component.scss +43 -0
  345. package/src/lib/components/tab-view/tab-view.component.ts +61 -0
  346. package/src/lib/components/tab-view/tab-view.module.ts +25 -0
  347. package/{lib/components/table/index.d.ts → src/lib/components/table/index.ts} +1 -1
  348. package/src/lib/components/table/table-pagination-info.component.html +9 -0
  349. package/src/lib/components/table/table-pagination-info.component.ts +22 -0
  350. package/src/lib/components/table/table.component.html +198 -0
  351. package/src/lib/components/table/table.component.scss +193 -0
  352. package/src/lib/components/table/table.component.ts +387 -0
  353. package/src/lib/components/table/table.model.ts +17 -0
  354. package/src/lib/components/table/table.models.ts +12 -0
  355. package/src/lib/components/textarea/index.ts +1 -0
  356. package/src/lib/components/textarea/textarea.component.html +50 -0
  357. package/src/lib/components/textarea/textarea.component.scss +0 -0
  358. package/src/lib/components/textarea/textarea.component.ts +78 -0
  359. package/src/lib/components/textfield/index.ts +1 -0
  360. package/src/lib/components/textfield/textfield.component.html +56 -0
  361. package/src/lib/components/textfield/textfield.component.scss +0 -0
  362. package/src/lib/components/textfield/textfield.component.ts +114 -0
  363. package/src/lib/components/tooltip/index.ts +1 -0
  364. package/src/lib/components/tooltip/tooltip.component.html +10 -0
  365. package/src/lib/components/tooltip/tooltip.component.scss +0 -0
  366. package/src/lib/components/tooltip/tooltip.component.ts +57 -0
  367. package/{lib/components/tristatecheckbox/index.d.ts → src/lib/components/tristatecheckbox/index.ts} +1 -1
  368. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.html +23 -0
  369. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.scss +0 -0
  370. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.ts +103 -0
  371. package/src/lib/icons.ts +36 -0
  372. package/{lib/index.d.ts → src/lib/index.ts} +5 -5
  373. package/src/lib/init.service.ts +11 -0
  374. package/src/lib/interceptors/http-error-message.interceptor.ts +45 -0
  375. package/src/lib/pages/bad-request-page/bad-request-page.component.html +5 -0
  376. package/src/lib/pages/bad-request-page/bad-request-page.component.scss +0 -0
  377. package/src/lib/pages/bad-request-page/bad-request-page.component.ts +15 -0
  378. package/src/lib/pages/error-page/error-page.component.html +5 -0
  379. package/src/lib/pages/error-page/error-page.component.scss +0 -0
  380. package/src/lib/pages/error-page/error-page.component.ts +32 -0
  381. package/src/lib/pages/error-page/error-page.constants.ts +19 -0
  382. package/{lib/pages/index.d.ts → src/lib/pages/index.ts} +3 -3
  383. package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.html +5 -0
  384. package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.scss +0 -0
  385. package/src/lib/pages/internal-server-error-page/internal-server-error-page.component.ts +16 -0
  386. package/{lib/pages/not-authenticated/index.d.ts → src/lib/pages/not-authenticated/index.ts} +1 -1
  387. package/src/lib/pages/not-authenticated/not-authenticated.component.html +5 -0
  388. package/src/lib/pages/not-authenticated/not-authenticated.component.ts +14 -0
  389. package/{lib/pages/not-authorized/index.d.ts → src/lib/pages/not-authorized/index.ts} +1 -1
  390. package/src/lib/pages/not-authorized/not-authorized.component.html +5 -0
  391. package/src/lib/pages/not-authorized/not-authorized.component.ts +18 -0
  392. package/{lib/pages/not-found/index.d.ts → src/lib/pages/not-found/index.ts} +1 -1
  393. package/src/lib/pages/not-found/not-found.component.html +5 -0
  394. package/src/lib/pages/not-found/not-found.component.ts +18 -0
  395. package/src/lib/pages/not-found-page/not-found-page.component.html +6 -0
  396. package/src/lib/pages/not-found-page/not-found-page.component.scss +0 -0
  397. package/src/lib/pages/not-found-page/not-found-page.component.ts +16 -0
  398. package/src/lib/pipes/color/color.pipe.ts +24 -0
  399. package/{lib/pipes/index.d.ts → src/lib/pipes/index.ts} +3 -3
  400. package/src/lib/pipes/multiselect/multiselect-options.pipe.ts +61 -0
  401. package/src/lib/pipes/size/size.pipe.ts +20 -0
  402. package/src/sass/header.css +526 -0
  403. package/src/sass/header.scss +480 -0
  404. package/src/sass/main.scss +246 -0
  405. package/src/sass/scrollbar.scss +22 -0
  406. package/src/sass/sidemenu.css +205 -0
  407. package/src/sass/vendors/_bootstrap.scss +2 -0
  408. package/src/test-setup.ts +8 -0
  409. package/tsconfig.json +30 -0
  410. package/tsconfig.lib.json +17 -0
  411. package/tsconfig.lib.prod.json +9 -0
  412. package/tsconfig.spec.json +16 -0
  413. package/esm2022/index.mjs +0 -2
  414. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -34
  415. package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
  416. package/esm2022/lib/components/button/button.component.mjs +0 -87
  417. package/esm2022/lib/components/button/index.mjs +0 -2
  418. package/esm2022/lib/components/calendar/calendar.component.mjs +0 -87
  419. package/esm2022/lib/components/calendar/index.mjs +0 -2
  420. package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -62
  421. package/esm2022/lib/components/checkbox/index.mjs +0 -2
  422. package/esm2022/lib/components/confirm-dialog/confirm-dialog.component.mjs +0 -72
  423. package/esm2022/lib/components/confirm-dialog/index.mjs +0 -2
  424. package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +0 -14
  425. package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -280
  426. package/esm2022/lib/components/dropdown/dropdown.model.mjs +0 -2
  427. package/esm2022/lib/components/dropdown/index.mjs +0 -2
  428. package/esm2022/lib/components/errors/error.component.mjs +0 -34
  429. package/esm2022/lib/components/errors/index.mjs +0 -2
  430. package/esm2022/lib/components/form-field/form-field.component.mjs +0 -92
  431. package/esm2022/lib/components/form-field/index.mjs +0 -2
  432. package/esm2022/lib/components/header/header.component.mjs +0 -85
  433. package/esm2022/lib/components/header/index.mjs +0 -2
  434. package/esm2022/lib/components/index.mjs +0 -34
  435. package/esm2022/lib/components/input-group/index.mjs +0 -2
  436. package/esm2022/lib/components/input-group/input-group.component.mjs +0 -89
  437. package/esm2022/lib/components/loader/index.mjs +0 -2
  438. package/esm2022/lib/components/loader/loader.component.mjs +0 -34
  439. package/esm2022/lib/components/multiselect/index.mjs +0 -2
  440. package/esm2022/lib/components/multiselect/multiselect.component.mjs +0 -121
  441. package/esm2022/lib/components/number-input/index.mjs +0 -2
  442. package/esm2022/lib/components/number-input/number-input.component.mjs +0 -104
  443. package/esm2022/lib/components/page-header/index.mjs +0 -2
  444. package/esm2022/lib/components/page-header/page-header.component.mjs +0 -28
  445. package/esm2022/lib/components/password/index.mjs +0 -2
  446. package/esm2022/lib/components/password/password.component.mjs +0 -94
  447. package/esm2022/lib/components/radiobutton/index.mjs +0 -2
  448. package/esm2022/lib/components/radiobutton/radiobutton.component.mjs +0 -50
  449. package/esm2022/lib/components/search/index.mjs +0 -2
  450. package/esm2022/lib/components/search/search.component.mjs +0 -40
  451. package/esm2022/lib/components/section/index.mjs +0 -2
  452. package/esm2022/lib/components/section/section.component.mjs +0 -70
  453. package/esm2022/lib/components/shared-components/action-button-group/action-button-group.component.mjs +0 -97
  454. package/esm2022/lib/components/shared-components/action-button-group/components/action-button/action-button.component.mjs +0 -64
  455. package/esm2022/lib/components/shared-components/action-button-group/index.mjs +0 -3
  456. package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.mjs +0 -91
  457. package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component.component.mjs +0 -42
  458. package/esm2022/lib/components/shared-components/dynamic-component/index.mjs +0 -3
  459. package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-column.directive.mjs +0 -43
  460. package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.mjs +0 -16
  461. package/esm2022/lib/components/shared-components/feature-list/feature-list-filter.pipe.mjs +0 -24
  462. package/esm2022/lib/components/shared-components/feature-list/feature-list-page.component.mjs +0 -43
  463. package/esm2022/lib/components/shared-components/feature-list/feature-list-page.model.mjs +0 -16
  464. package/esm2022/lib/components/shared-components/feature-list/feature-list.component.mjs +0 -285
  465. package/esm2022/lib/components/shared-components/feature-list/index.mjs +0 -6
  466. package/esm2022/lib/components/shared-components/filter/directives/filter-field.directive.mjs +0 -53
  467. package/esm2022/lib/components/shared-components/filter/filter.component.mjs +0 -195
  468. package/esm2022/lib/components/shared-components/filter/filter.model.mjs +0 -16
  469. package/esm2022/lib/components/shared-components/filter/index.mjs +0 -3
  470. package/esm2022/lib/components/shared-components/generic-field/generic-field.component.mjs +0 -98
  471. package/esm2022/lib/components/shared-components/generic-field/index.mjs +0 -2
  472. package/esm2022/lib/components/shared-components/generic-form/generic-form.component.mjs +0 -46
  473. package/esm2022/lib/components/shared-components/generic-form/generic-form.model.mjs +0 -50
  474. package/esm2022/lib/components/shared-components/generic-form/index.mjs +0 -3
  475. package/esm2022/lib/components/shared-components/index.mjs +0 -7
  476. package/esm2022/lib/components/side-menu/index.mjs +0 -3
  477. package/esm2022/lib/components/side-menu/side-menu.component.mjs +0 -48
  478. package/esm2022/lib/components/side-menu/side-menu.module.mjs +0 -73
  479. package/esm2022/lib/components/snackbar/index.mjs +0 -3
  480. package/esm2022/lib/components/snackbar/services/snackbar.service.mjs +0 -75
  481. package/esm2022/lib/components/snackbar/snackbar.component.mjs +0 -61
  482. package/esm2022/lib/components/snackbar/snackbar.model.mjs +0 -2
  483. package/esm2022/lib/components/stepper/index.mjs +0 -2
  484. package/esm2022/lib/components/stepper/stepper.component.mjs +0 -66
  485. package/esm2022/lib/components/switch/index.mjs +0 -2
  486. package/esm2022/lib/components/switch/switch.component.mjs +0 -45
  487. package/esm2022/lib/components/tab-view/index.mjs +0 -4
  488. package/esm2022/lib/components/tab-view/tab-view-item.component.mjs +0 -41
  489. package/esm2022/lib/components/tab-view/tab-view.component.mjs +0 -56
  490. package/esm2022/lib/components/tab-view/tab-view.module.mjs +0 -41
  491. package/esm2022/lib/components/table/index.mjs +0 -2
  492. package/esm2022/lib/components/table/table-pagination-info.component.mjs +0 -32
  493. package/esm2022/lib/components/table/table.component.mjs +0 -359
  494. package/esm2022/lib/components/table/table.model.mjs +0 -14
  495. package/esm2022/lib/components/textarea/index.mjs +0 -2
  496. package/esm2022/lib/components/textarea/textarea.component.mjs +0 -95
  497. package/esm2022/lib/components/textfield/index.mjs +0 -2
  498. package/esm2022/lib/components/textfield/textfield.component.mjs +0 -124
  499. package/esm2022/lib/components/tooltip/index.mjs +0 -2
  500. package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -66
  501. package/esm2022/lib/components/tristatecheckbox/index.mjs +0 -2
  502. package/esm2022/lib/components/tristatecheckbox/tristatecheckbox.component.mjs +0 -89
  503. package/esm2022/lib/icons.mjs +0 -35
  504. package/esm2022/lib/index.mjs +0 -6
  505. package/esm2022/lib/init.service.mjs +0 -17
  506. package/esm2022/lib/pages/index.mjs +0 -4
  507. package/esm2022/lib/pages/not-authenticated/index.mjs +0 -2
  508. package/esm2022/lib/pages/not-authenticated/not-authenticated.component.mjs +0 -17
  509. package/esm2022/lib/pages/not-authorized/index.mjs +0 -2
  510. package/esm2022/lib/pages/not-authorized/not-authorized.component.mjs +0 -20
  511. package/esm2022/lib/pages/not-found/index.mjs +0 -2
  512. package/esm2022/lib/pages/not-found/not-found.component.mjs +0 -20
  513. package/esm2022/lib/pipes/color/color.pipe.mjs +0 -27
  514. package/esm2022/lib/pipes/index.mjs +0 -4
  515. package/esm2022/lib/pipes/multiselect/multiselect-options.pipe.mjs +0 -52
  516. package/esm2022/lib/pipes/size/size.pipe.mjs +0 -23
  517. package/esm2022/verisoft-ui-govcz.mjs +0 -5
  518. package/fesm2022/verisoft-ui-govcz.mjs +0 -3742
  519. package/fesm2022/verisoft-ui-govcz.mjs.map +0 -1
  520. package/index.d.ts +0 -1
  521. package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -7
  522. package/lib/components/button/button.component.d.ts +0 -26
  523. package/lib/components/button/index.d.ts +0 -1
  524. package/lib/components/calendar/calendar.component.d.ts +0 -23
  525. package/lib/components/calendar/index.d.ts +0 -1
  526. package/lib/components/checkbox/checkbox.component.d.ts +0 -15
  527. package/lib/components/checkbox/index.d.ts +0 -1
  528. package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +0 -15
  529. package/lib/components/dropdown/dropdown-item.component.d.ts +0 -7
  530. package/lib/components/dropdown/dropdown.component.d.ts +0 -65
  531. package/lib/components/errors/error.component.d.ts +0 -14
  532. package/lib/components/errors/index.d.ts +0 -1
  533. package/lib/components/form-field/form-field.component.d.ts +0 -25
  534. package/lib/components/header/header.component.d.ts +0 -25
  535. package/lib/components/header/index.d.ts +0 -1
  536. package/lib/components/input-group/index.d.ts +0 -1
  537. package/lib/components/input-group/input-group.component.d.ts +0 -24
  538. package/lib/components/loader/index.d.ts +0 -1
  539. package/lib/components/loader/loader.component.d.ts +0 -8
  540. package/lib/components/multiselect/index.d.ts +0 -1
  541. package/lib/components/multiselect/multiselect.component.d.ts +0 -35
  542. package/lib/components/number-input/index.d.ts +0 -1
  543. package/lib/components/number-input/number-input.component.d.ts +0 -29
  544. package/lib/components/page-header/index.d.ts +0 -1
  545. package/lib/components/page-header/page-header.component.d.ts +0 -9
  546. package/lib/components/password/password.component.d.ts +0 -23
  547. package/lib/components/radiobutton/index.d.ts +0 -1
  548. package/lib/components/radiobutton/radiobutton.component.d.ts +0 -12
  549. package/lib/components/search/index.d.ts +0 -1
  550. package/lib/components/search/search.component.d.ts +0 -14
  551. package/lib/components/section/index.d.ts +0 -1
  552. package/lib/components/section/section.component.d.ts +0 -18
  553. package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +0 -29
  554. package/lib/components/shared-components/action-button-group/components/action-button/action-button.component.d.ts +0 -24
  555. package/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.d.ts +0 -17
  556. package/lib/components/shared-components/dynamic-component/dynamic-component.component.d.ts +0 -16
  557. package/lib/components/shared-components/feature-list/directives/feature-list-column.directive.d.ts +0 -10
  558. package/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.d.ts +0 -6
  559. package/lib/components/shared-components/feature-list/feature-list-filter.pipe.d.ts +0 -9
  560. package/lib/components/shared-components/feature-list/feature-list-page.component.d.ts +0 -9
  561. package/lib/components/shared-components/feature-list/feature-list-page.model.d.ts +0 -23
  562. package/lib/components/shared-components/feature-list/feature-list.component.d.ts +0 -62
  563. package/lib/components/shared-components/filter/directives/filter-field.directive.d.ts +0 -20
  564. package/lib/components/shared-components/filter/filter.component.d.ts +0 -53
  565. package/lib/components/shared-components/filter/filter.model.d.ts +0 -2
  566. package/lib/components/shared-components/generic-field/generic-field.component.d.ts +0 -28
  567. package/lib/components/shared-components/generic-form/generic-form.component.d.ts +0 -15
  568. package/lib/components/shared-components/generic-form/generic-form.model.d.ts +0 -4
  569. package/lib/components/side-menu/side-menu.component.d.ts +0 -15
  570. package/lib/components/side-menu/side-menu.module.d.ts +0 -12
  571. package/lib/components/snackbar/services/snackbar.service.d.ts +0 -18
  572. package/lib/components/snackbar/snackbar.component.d.ts +0 -18
  573. package/lib/components/stepper/index.d.ts +0 -1
  574. package/lib/components/stepper/stepper.component.d.ts +0 -20
  575. package/lib/components/switch/index.d.ts +0 -1
  576. package/lib/components/switch/switch.component.d.ts +0 -12
  577. package/lib/components/tab-view/tab-view-item.component.d.ts +0 -14
  578. package/lib/components/tab-view/tab-view.component.d.ts +0 -19
  579. package/lib/components/tab-view/tab-view.module.d.ts +0 -12
  580. package/lib/components/table/table-pagination-info.component.d.ts +0 -12
  581. package/lib/components/table/table.component.d.ts +0 -91
  582. package/lib/components/table/table.model.d.ts +0 -3
  583. package/lib/components/textarea/index.d.ts +0 -1
  584. package/lib/components/textarea/textarea.component.d.ts +0 -25
  585. package/lib/components/textfield/index.d.ts +0 -1
  586. package/lib/components/textfield/textfield.component.d.ts +0 -28
  587. package/lib/components/tooltip/index.d.ts +0 -1
  588. package/lib/components/tooltip/tooltip.component.d.ts +0 -18
  589. package/lib/components/tristatecheckbox/tristatecheckbox.component.d.ts +0 -27
  590. package/lib/icons.d.ts +0 -2
  591. package/lib/init.service.d.ts +0 -6
  592. package/lib/pages/not-authenticated/not-authenticated.component.d.ts +0 -5
  593. package/lib/pages/not-authorized/not-authorized.component.d.ts +0 -6
  594. package/lib/pages/not-found/not-found.component.d.ts +0 -6
  595. package/lib/pipes/color/color.pipe.d.ts +0 -8
  596. package/lib/pipes/multiselect/multiselect-options.pipe.d.ts +0 -9
  597. package/lib/pipes/size/size.pipe.d.ts +0 -8
@@ -1,104 +0,0 @@
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
- }], messageSlot: [{
102
- type: Input
103
- }] } });
104
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib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YtZm9ybS1pbnB1dCBcclxuICAgICAgICAgICAgW2F0dHIuaW5wdXQtdHlwZV09XCJ0eXBlXCJcclxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgICAgICAgW21pbmxlbmd0aF09XCJtaW5sZW5ndGhcIiBcclxuICAgICAgICAgICAgW21heGxlbmd0aF09XCJtYXhsZW5ndGhcIiBcclxuICAgICAgICAgICAgW3NpemVdPSdzaXplIHwgZ292U2l6ZScgIFxyXG4gICAgICAgICAgICBbbmFtZV09J25hbWUnIFxyXG4gICAgICAgICAgICBbcm9sZV09J3JvbGUnXHJcbiAgICAgICAgICAgIFtyZXF1aXJlZF09XCJyZXF1aXJlZFwiXHJcbiAgICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXHJcbiAgICAgICAgICAgIFtpbnZhbGlkXT1cIm5nQ29udHJvbD8uZXJyb3JzID8gdHJ1ZSA6IGZhbHNlXCJcclxuICAgICAgICA+XHJcbiAgICAgICAgICAgIEBpZiAoaWNvbikge1xyXG4gICAgICAgICAgICA8Z292LWljb25cclxuICAgICAgICAgICAgICAgIFtuYW1lXT1cImljb25cIlxyXG4gICAgICAgICAgICAgICAgW3Nsb3RdPVwiaWNvblBvcyA9PT0gJ2xlZnQnID8gJ2ljb24tc3RhcnQnIDogJ2ljb24tZW5kJ1wiXHJcbiAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIH0gQGlmIChwcmVmaXgpIHtcclxuICAgICAgICAgICAgPHAgc2xvdD1cInByZWZpeFwiPlxyXG4gICAgICAgICAgICAgICAge3sgcHJlZml4IH19XHJcbiAgICAgICAgICAgIDwvcD5cclxuICAgICAgICAgICAgfSBAaWYgKHN1Zml4KSB7XHJcbiAgICAgICAgICAgIDxwIHNsb3Q9XCJzdWZpeFwiPlxyXG4gICAgICAgICAgICAgICAge3sgc3VmaXggfX1cclxuICAgICAgICAgICAgPC9wPlxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgPC9nb3YtZm9ybS1pbnB1dD5cclxuICAgICAgICA8di12YWxpZGF0aW9uLW1lc3NhZ2UgW25nQ29udHJvbF09XCJuZ0NvbnRyb2xcIj48L3YtdmFsaWRhdGlvbi1tZXNzYWdlPlxyXG4gICAgICAgIEBpZiAobWVzc2FnZSkge1xyXG4gICAgICAgIDxnb3YtZm9ybS1tZXNzYWdlIFxyXG4gICAgICAgICAgICBbc2xvdF09XCJtZXNzYWdlU2xvdFwiIFxyXG4gICAgICAgICAgICBjb2xvcj1cIm5ldXRyYWxcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgIHt7IG1lc3NhZ2UgfX1cclxuICAgICAgICA8L2dvdi1mb3JtLW1lc3NhZ2U+XHJcbiAgICAgICAgfVxyXG4gICAgPC9nb3YtZm9ybS1ncm91cD5cclxuPC9nb3YtZm9ybS1jb250cm9sPlxyXG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './page-header.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvcGFnZS1oZWFkZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGFnZS1oZWFkZXIuY29tcG9uZW50JzsiXX0=
@@ -1,28 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vL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Y2tCdXR0b246IGJvb2xlYW4gfCB1bmRlZmluZWQ7XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cImQtZmxleCBnYXAtMyBhbGlnbi1pdGVtcy1jZW50ZXJcIj5cclxuICA8aDI+e3sgdGl0bGUgfCB0cmFuc2xhdGUgfX08L2gyPlxyXG48L2Rpdj4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './password.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvcGFzc3dvcmQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGFzc3dvcmQuY29tcG9uZW50JztcclxuIl19
@@ -1,94 +0,0 @@
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
- }], size: [{
90
- type: Input
91
- }], messageSlot: [{
92
- type: Input
93
- }] } });
94
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2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b2xvcj1cIm5ldXRyYWxcIlxyXG4gICAgICA+XHJcbiAgICAgIHt7IG1lc3NhZ2UgfX1cclxuICA8L2dvdi1mb3JtLW1lc3NhZ2U+XHJcbiAgfVxyXG48L2dvdi1mb3JtLWNvbnRyb2w+XHJcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './radiobutton.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvcmFkaW9idXR0b24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmFkaW9idXR0b24uY29tcG9uZW50JzsiXX0=
@@ -1,50 +0,0 @@
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
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di1mb3JtLWNvbnRyb2w+XHJcbiAgPGdvdi1mb3JtLXJhZGlvLWdyb3VwIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiPlxyXG4gICAgQGlmIChpdGVtcykgeyBAZm9yKGl0ZW0gb2YgaXRlbXM7IHRyYWNrIGl0ZW0pIHtcclxuICAgIDxnb3YtZm9ybS1yYWRpb1xyXG4gICAgICBbc2l6ZV09XCJzaXplIHwgZ292U2l6ZVwiXHJcbiAgICAgIFt2YWx1ZV09XCJpdGVtLnZhbHVlXCJcclxuICAgICAgW3JlcXVpcmVkXT1cInJlcXVpcmVkXCJcclxuICAgICAgW2lkZW50aWZpZXJdPVwiaXRlbS5pZFwiXHJcbiAgICAgIFtuYW1lXT1cInJhZGlvR3JvdXBOYW1lXCJcclxuICAgICAgW2ludmFsaWRdPVwibmdDb250cm9sPy5lcnJvcnNcIlxyXG4gICAgICBbZGlzYWJsZWRdPVwiZm9ybUNvbnRyb2wuZGlzYWJsZWRcIlxyXG4gICAgPlxyXG4gICAgICA8Z292LWZvcm0tbGFiZWxcclxuICAgICAgICBbc2l6ZV09XCJzaXplIHwgZ292U2l6ZVwiXHJcbiAgICAgICAgc2xvdD1cImxhYmVsXCJcclxuICAgICAgPlxyXG4gICAgICAgIHt7IGxhYmVsIH19XHJcbiAgICAgIDwvZ292LWZvcm0tbGFiZWw+XHJcbiAgICA8L2dvdi1mb3JtLXJhZGlvPlxyXG4gICAgfSB9XHJcbiAgPC9nb3YtZm9ybS1yYWRpby1ncm91cD5cclxuICA8di12YWxpZGF0aW9uLW1lc3NhZ2UgW25nQ29udHJvbF09XCJuZ0NvbnRyb2xcIj48L3YtdmFsaWRhdGlvbi1tZXNzYWdlPlxyXG48L2dvdi1mb3JtLWNvbnRyb2w+XHJcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './search.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvc2VhcmNoL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlYXJjaC5jb21wb25lbnQnOyJdfQ==
@@ -1,40 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sR0FDVCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUN0RSxPQUFPLEVB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yXG4gICAgQElucHV0KCkgcGxhY2Vob2xkZXIhOiBzdHJpbmc7XHJcblxyXG4gICAgQElucHV0KCkgc2l6ZTogRmllbGRTaXplVHlwZSA9IEZpZWxkU2l6ZS5tZWRpdW07XHJcblxyXG4gICAgQE91dHB1dCgpIHNlYXJjaFRlcm0gPSBuZXcgRXZlbnRFbWl0dGVyPHN0cmluZz4oKTtcclxuXHJcbiAgICB2YWx1ZSE6IHN0cmluZztcclxuXHJcbiAgICBpY29ucyA9IEljb25zXHJcblxyXG4gICAgc2V0VmFsdWUoZXZlbnQ6IGFueSkge1xyXG4gICAgICAgIHRoaXMudmFsdWUgPSBldmVudC5kZXRhaWwudmFsdWU7XHJcbiAgICB9XHJcblxyXG4gICAgc2VhcmNoKCkge1xyXG4gICAgICAgIHRoaXMuc2VhcmNoVGVybS5lbWl0KHRoaXMudmFsdWUpO1xyXG4gICAgfVxyXG59XHJcbiIsIjxnb3YtZm9ybS1jb250cm9sPlxyXG4gICAgPGdvdi1mb3JtLWdyb3VwPlxyXG4gICAgICAgIDxnb3YtZm9ybS1zZWFyY2ggY29sb3I9XCJuZXV0cmFsXCI+XHJcbiAgICAgICAgICAgIDxnb3YtZm9ybS1pbnB1dCBcclxuICAgICAgICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXHJcbiAgICAgICAgICAgICAgICBbc2l6ZV09XCJzaXplIHwgZ292U2l6ZVwiXHJcbiAgICAgICAgICAgICAgICBzbG90PVwiaW5wdXRcIlxyXG4gICAgICAgICAgICAgICAgKGdvdi1pbnB1dCk9XCJzZXRWYWx1ZSgkZXZlbnQpXCJcclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPGdvdi1idXR0b25cclxuICAgICAgICAgICAgICAgIFtzaXplXT1cInNpemUgfCBnb3ZTaXplXCJcclxuICAgICAgICAgICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICB0eXBlPVwic29saWRcIlxyXG4gICAgICAgICAgICAgICAgc2xvdD1cImJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICAoZ292LWNsaWNrKT1cInNlYXJjaCgpXCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgPGdvdi1pY29uXHJcbiAgICAgICAgICAgICAgICAgICAgW25hbWVdPVwiaWNvbnMuc2VhcmNoXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIDwvZ292LWJ1dHRvbj5cclxuICAgICAgICA8L2dvdi1mb3JtLXNlYXJjaD5cclxuICAgIDwvZ292LWZvcm0tZ3JvdXA+XHJcbjwvZ292LWZvcm0tY29udHJvbD4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './section.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvc2VjdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zZWN0aW9uLmNvbXBvbmVudCc7Il19
@@ -1,70 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi5jb21wb25lbnQuanMiLC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wiXHJcbiAgICAgICAgW2lkZW50aWZpZXJdPVwiaWRlbnRpZmllclwiXHJcbiAgICAgICAgW29wZW5dPVwib3BlblwiXHJcbiAgICA+XHJcbiAgICAgICAgQGlmIChpY29uKSB7XHJcbiAgICAgICAgICAgIDxnb3YtaWNvblxyXG4gICAgICAgICAgICAgICAgW25hbWVdPVwiaWNvbnMuY2hldnJvbkRvd25cIlxyXG4gICAgICAgICAgICAvPlxyXG4gICAgICAgIH0gQGlmICh0aXRsZSkge1xyXG4gICAgICAgICAgICA8aDIgc2xvdD1cImxhYmVsXCI+e3sgdGl0bGUgfCB0cmFuc2xhdGUgfX08L2gyPlxyXG4gICAgICAgIH0gQGlmIChiYWRnZSkge1xyXG4gICAgICAgICAgICA8Z292LWJhZGdlIFxyXG4gICAgICAgICAgICAgICAgaW52ZXJzZT1cInRydWVcIlxyXG4gICAgICAgICAgICAgICAgc2l6ZT1cInNcIlxyXG4gICAgICAgICAgICAgICAgW3Nsb3RdPVwiYmFkZ2VTbG90XCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAge3sgYmFkZ2UgfX1cclxuICAgICAgICAgICAgPC9nb3YtYmFkZ2U+XHJcbiAgICAgICAgfSBAaWYgKGFubm90YXRpb24pIHtcclxuICAgICAgICAgICAgPHAgc2xvdD1cImFubm90YXRpb25cIj57eyBhbm5vdGF0aW9uIHwgdHJhbnNsYXRlIH19PC9wPlxyXG4gICAgICAgIH1cclxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICA8L2dvdi1hY2NvcmRpb24taXRlbT5cclxuPC9nb3YtYWNjb3JkaW9uPiJdfQ==