@ngstarter-ui/components 22.3.5 → 22.4.1

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 (476) hide show
  1. package/README.md +27 -0
  2. package/ai/component-registry.json +186 -101
  3. package/fesm2022/attachment-block-BK9QxVjq.mjs +163 -0
  4. package/fesm2022/attachment-block-BK9QxVjq.mjs.map +1 -0
  5. package/fesm2022/callout-block-Bl4GZYz8.mjs +196 -0
  6. package/fesm2022/callout-block-Bl4GZYz8.mjs.map +1 -0
  7. package/fesm2022/code-block.component-DCRD-9iP.mjs +393 -0
  8. package/fesm2022/code-block.component-DCRD-9iP.mjs.map +1 -0
  9. package/fesm2022/content-builder.store-D622mHxt.mjs +328 -0
  10. package/fesm2022/content-builder.store-D622mHxt.mjs.map +1 -0
  11. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs +1110 -0
  12. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs.map +1 -0
  13. package/fesm2022/cursor-controller-DKfBII1n.mjs +55 -0
  14. package/fesm2022/cursor-controller-DKfBII1n.mjs.map +1 -0
  15. package/fesm2022/default-converters-9oSKDsXP.mjs +140 -0
  16. package/fesm2022/default-converters-9oSKDsXP.mjs.map +1 -0
  17. package/fesm2022/divider-block.component-Dvgeq_D0.mjs +148 -0
  18. package/fesm2022/divider-block.component-Dvgeq_D0.mjs.map +1 -0
  19. package/fesm2022/embed-block-CYkOv4Wt.mjs +565 -0
  20. package/fesm2022/embed-block-CYkOv4Wt.mjs.map +1 -0
  21. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs +122 -0
  22. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs.map +1 -0
  23. package/fesm2022/gallery-block-DT3uIURY.mjs +365 -0
  24. package/fesm2022/gallery-block-DT3uIURY.mjs.map +1 -0
  25. package/fesm2022/grid-block-ZVDT3m8-.mjs +504 -0
  26. package/fesm2022/grid-block-ZVDT3m8-.mjs.map +1 -0
  27. package/fesm2022/heading-block.component-iCpJGTMh.mjs +274 -0
  28. package/fesm2022/heading-block.component-iCpJGTMh.mjs.map +1 -0
  29. package/fesm2022/html-utils-DywL8gGa.mjs +24 -0
  30. package/fesm2022/html-utils-DywL8gGa.mjs.map +1 -0
  31. package/fesm2022/image-block.component-DJ7-HCR8.mjs +285 -0
  32. package/fesm2022/image-block.component-DJ7-HCR8.mjs.map +1 -0
  33. package/fesm2022/list-block.component-qFIebEBO.mjs +312 -0
  34. package/fesm2022/list-block.component-qFIebEBO.mjs.map +1 -0
  35. package/fesm2022/nested-blocks-CXhgXJ1H.mjs +345 -0
  36. package/fesm2022/nested-blocks-CXhgXJ1H.mjs.map +1 -0
  37. package/fesm2022/ngstarter-ui-components-action-required.mjs +150 -45
  38. package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -1
  39. package/fesm2022/ngstarter-ui-components-alert.mjs +318 -133
  40. package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -1
  41. package/fesm2022/ngstarter-ui-components-announcement.mjs +280 -88
  42. package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -1
  43. package/fesm2022/ngstarter-ui-components-autocomplete.mjs +647 -386
  44. package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -1
  45. package/fesm2022/ngstarter-ui-components-avatar.mjs +715 -482
  46. package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -1
  47. package/fesm2022/ngstarter-ui-components-badge.mjs +308 -97
  48. package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -1
  49. package/fesm2022/ngstarter-ui-components-block-loader.mjs +164 -47
  50. package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -1
  51. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +278 -315
  52. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -1
  53. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +707 -205
  54. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -1
  55. package/fesm2022/ngstarter-ui-components-button-toggle.mjs +518 -175
  56. package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -1
  57. package/fesm2022/ngstarter-ui-components-button.mjs +294 -68
  58. package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
  59. package/fesm2022/ngstarter-ui-components-calendar.mjs +442 -250
  60. package/fesm2022/ngstarter-ui-components-calendar.mjs.map +1 -1
  61. package/fesm2022/ngstarter-ui-components-card-overlay.mjs +159 -47
  62. package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -1
  63. package/fesm2022/ngstarter-ui-components-card.mjs +619 -194
  64. package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -1
  65. package/fesm2022/ngstarter-ui-components-carousel.mjs +1012 -634
  66. package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -1
  67. package/fesm2022/ngstarter-ui-components-checkbox.mjs +715 -308
  68. package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -1
  69. package/fesm2022/ngstarter-ui-components-chips.mjs +1397 -667
  70. package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -1
  71. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +519 -357
  72. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -1
  73. package/fesm2022/ngstarter-ui-components-color-picker.mjs +1218 -604
  74. package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -1
  75. package/fesm2022/ngstarter-ui-components-color-scheme.mjs +265 -134
  76. package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -1
  77. package/fesm2022/ngstarter-ui-components-color-switcher.mjs +190 -71
  78. package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -1
  79. package/fesm2022/ngstarter-ui-components-command-bar.mjs +197 -58
  80. package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -1
  81. package/fesm2022/ngstarter-ui-components-comment-editor.mjs +2212 -1128
  82. package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -1
  83. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +269 -183
  84. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -1
  85. package/fesm2022/ngstarter-ui-components-confirm.mjs +164 -86
  86. package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -1
  87. package/fesm2022/ngstarter-ui-components-content-editor.mjs +6240 -2
  88. package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -1
  89. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +244 -108
  90. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -1
  91. package/fesm2022/ngstarter-ui-components-core.mjs +2110 -1592
  92. package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
  93. package/fesm2022/ngstarter-ui-components-country-select.mjs +1970 -588
  94. package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -1
  95. package/fesm2022/ngstarter-ui-components-crop.mjs +249 -191
  96. package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -1
  97. package/fesm2022/ngstarter-ui-components-currency-select.mjs +1658 -452
  98. package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -1
  99. package/fesm2022/ngstarter-ui-components-data-view.mjs +4538 -2497
  100. package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
  101. package/fesm2022/ngstarter-ui-components-date-format-select.mjs +357 -157
  102. package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -1
  103. package/fesm2022/ngstarter-ui-components-datepicker.mjs +2587 -1264
  104. package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
  105. package/fesm2022/ngstarter-ui-components-dialog.mjs +681 -385
  106. package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -1
  107. package/fesm2022/ngstarter-ui-components-digit-roller.mjs +1000 -750
  108. package/fesm2022/ngstarter-ui-components-digit-roller.mjs.map +1 -1
  109. package/fesm2022/ngstarter-ui-components-divider.mjs +164 -41
  110. package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -1
  111. package/fesm2022/ngstarter-ui-components-drawer.mjs +218 -143
  112. package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -1
  113. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +345 -247
  114. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -1
  115. package/fesm2022/ngstarter-ui-components-empty-state.mjs +244 -74
  116. package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -1
  117. package/fesm2022/ngstarter-ui-components-events.mjs +467 -126
  118. package/fesm2022/ngstarter-ui-components-events.mjs.map +1 -1
  119. package/fesm2022/ngstarter-ui-components-expand.mjs +191 -59
  120. package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -1
  121. package/fesm2022/ngstarter-ui-components-expansion.mjs +529 -193
  122. package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -1
  123. package/fesm2022/ngstarter-ui-components-file-type.mjs +270 -171
  124. package/fesm2022/ngstarter-ui-components-file-type.mjs.map +1 -1
  125. package/fesm2022/ngstarter-ui-components-filter-builder.mjs +741 -352
  126. package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
  127. package/fesm2022/ngstarter-ui-components-form-builder.mjs +9032 -6964
  128. package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
  129. package/fesm2022/ngstarter-ui-components-form-field.mjs +741 -276
  130. package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -1
  131. package/fesm2022/ngstarter-ui-components-gauge.mjs +155 -43
  132. package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -1
  133. package/fesm2022/ngstarter-ui-components-grid.mjs +197 -81
  134. package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -1
  135. package/fesm2022/ngstarter-ui-components-guided-tour.mjs +881 -740
  136. package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -1
  137. package/fesm2022/ngstarter-ui-components-headless-editor.mjs +3573 -3656
  138. package/fesm2022/ngstarter-ui-components-headless-editor.mjs.map +1 -1
  139. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +277 -204
  140. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -1
  141. package/fesm2022/ngstarter-ui-components-icon.mjs +209 -182
  142. package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -1
  143. package/fesm2022/ngstarter-ui-components-image-designer.mjs +5096 -4066
  144. package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
  145. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +45 -19
  146. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -1
  147. package/fesm2022/ngstarter-ui-components-image-resizer.mjs +333 -154
  148. package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -1
  149. package/fesm2022/ngstarter-ui-components-image-viewer.mjs +564 -358
  150. package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -1
  151. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +246 -167
  152. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -1
  153. package/fesm2022/ngstarter-ui-components-incidents.mjs +732 -258
  154. package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -1
  155. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +244 -182
  156. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -1
  157. package/fesm2022/ngstarter-ui-components-input-mask.mjs +314 -174
  158. package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -1
  159. package/fesm2022/ngstarter-ui-components-input-validator.mjs +45 -69
  160. package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -1
  161. package/fesm2022/ngstarter-ui-components-input.mjs +303 -161
  162. package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -1
  163. package/fesm2022/ngstarter-ui-components-kanban-board.mjs +504 -159
  164. package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
  165. package/fesm2022/ngstarter-ui-components-kbd.mjs +86 -30
  166. package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -1
  167. package/fesm2022/ngstarter-ui-components-layout.mjs +681 -220
  168. package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
  169. package/fesm2022/ngstarter-ui-components-list.mjs +968 -281
  170. package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -1
  171. package/fesm2022/ngstarter-ui-components-logo.mjs +181 -51
  172. package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -1
  173. package/fesm2022/ngstarter-ui-components-marquee.mjs +226 -147
  174. package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -1
  175. package/fesm2022/ngstarter-ui-components-menu.mjs +1686 -1091
  176. package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
  177. package/fesm2022/ngstarter-ui-components-micro-chart.mjs +1541 -943
  178. package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -1
  179. package/fesm2022/ngstarter-ui-components-navigation.mjs +1035 -455
  180. package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -1
  181. package/fesm2022/ngstarter-ui-components-notifications.mjs +678 -230
  182. package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -1
  183. package/fesm2022/ngstarter-ui-components-number-input.mjs +616 -316
  184. package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -1
  185. package/fesm2022/ngstarter-ui-components-option.mjs +405 -163
  186. package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -1
  187. package/fesm2022/ngstarter-ui-components-overlay.mjs +107 -111
  188. package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -1
  189. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +131 -76
  190. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -1
  191. package/fesm2022/ngstarter-ui-components-paginator.mjs +543 -295
  192. package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -1
  193. package/fesm2022/ngstarter-ui-components-password-strength.mjs +785 -340
  194. package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -1
  195. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +3705 -2695
  196. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
  197. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +1179 -851
  198. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
  199. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +2973 -2070
  200. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
  201. package/fesm2022/ngstarter-ui-components-phone-input.mjs +2081 -770
  202. package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
  203. package/fesm2022/ngstarter-ui-components-pin-input.mjs +366 -198
  204. package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -1
  205. package/fesm2022/ngstarter-ui-components-popover.mjs +558 -308
  206. package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -1
  207. package/fesm2022/ngstarter-ui-components-progress-bar.mjs +178 -73
  208. package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -1
  209. package/fesm2022/ngstarter-ui-components-radio-card.mjs +301 -105
  210. package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -1
  211. package/fesm2022/ngstarter-ui-components-radio.mjs +417 -157
  212. package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -1
  213. package/fesm2022/ngstarter-ui-components-rail-nav.mjs +208 -88
  214. package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -1
  215. package/fesm2022/ngstarter-ui-components-resizable-container.mjs +123 -74
  216. package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -1
  217. package/fesm2022/ngstarter-ui-components-screen-loader.mjs +197 -95
  218. package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -1
  219. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +383 -245
  220. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
  221. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +705 -581
  222. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -1
  223. package/fesm2022/ngstarter-ui-components-segmented.mjs +422 -220
  224. package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -1
  225. package/fesm2022/ngstarter-ui-components-select.mjs +1862 -1159
  226. package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -1
  227. package/fesm2022/ngstarter-ui-components-side-panel.mjs +313 -118
  228. package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -1
  229. package/fesm2022/ngstarter-ui-components-sidebar.mjs +1239 -470
  230. package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -1
  231. package/fesm2022/ngstarter-ui-components-sidenav.mjs +664 -354
  232. package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -1
  233. package/fesm2022/ngstarter-ui-components-signature-pad.mjs +1092 -643
  234. package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
  235. package/fesm2022/ngstarter-ui-components-skeleton.mjs +153 -43
  236. package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -1
  237. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +425 -108
  238. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -1
  239. package/fesm2022/ngstarter-ui-components-slider.mjs +645 -487
  240. package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -1
  241. package/fesm2022/ngstarter-ui-components-snack-bar.mjs +372 -354
  242. package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -1
  243. package/fesm2022/ngstarter-ui-components-sort.mjs +378 -147
  244. package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
  245. package/fesm2022/ngstarter-ui-components-spinner.mjs +242 -76
  246. package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -1
  247. package/fesm2022/ngstarter-ui-components-splash-screen.mjs +142 -91
  248. package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -1
  249. package/fesm2022/ngstarter-ui-components-split.mjs +1067 -929
  250. package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -1
  251. package/fesm2022/ngstarter-ui-components-step-tracker.mjs +617 -331
  252. package/fesm2022/ngstarter-ui-components-step-tracker.mjs.map +1 -1
  253. package/fesm2022/ngstarter-ui-components-stepper.mjs +357 -126
  254. package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -1
  255. package/fesm2022/ngstarter-ui-components-suggestions.mjs +259 -72
  256. package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -1
  257. package/fesm2022/ngstarter-ui-components-tab-panel.mjs +674 -267
  258. package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -1
  259. package/fesm2022/ngstarter-ui-components-table.mjs +1144 -662
  260. package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
  261. package/fesm2022/ngstarter-ui-components-tabs.mjs +1236 -615
  262. package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -1
  263. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +414 -216
  264. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -1
  265. package/fesm2022/ngstarter-ui-components-tiles.mjs +939 -647
  266. package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -1
  267. package/fesm2022/ngstarter-ui-components-timeline.mjs +418 -122
  268. package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -1
  269. package/fesm2022/ngstarter-ui-components-timepicker.mjs +870 -508
  270. package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -1
  271. package/fesm2022/ngstarter-ui-components-timezone-select.mjs +651 -371
  272. package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -1
  273. package/fesm2022/ngstarter-ui-components-toolbar.mjs +727 -320
  274. package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -1
  275. package/fesm2022/ngstarter-ui-components-tooltip.mjs +601 -521
  276. package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -1
  277. package/fesm2022/ngstarter-ui-components-tree-select.mjs +1197 -434
  278. package/fesm2022/ngstarter-ui-components-tree-select.mjs.map +1 -1
  279. package/fesm2022/ngstarter-ui-components-tree.mjs +1821 -1262
  280. package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -1
  281. package/fesm2022/ngstarter-ui-components-upload.mjs +1059 -345
  282. package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -1
  283. package/fesm2022/ngstarter-ui-components-video-player.mjs +763 -533
  284. package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -1
  285. package/fesm2022/ngstarter-ui-components-video-viewer.mjs +630 -229
  286. package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -1
  287. package/fesm2022/ngstarter-ui-components-visual-builder.mjs +40 -17
  288. package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -1
  289. package/fesm2022/ngstarter-ui-components-whiteboard.mjs +3039 -1803
  290. package/fesm2022/ngstarter-ui-components-whiteboard.mjs.map +1 -1
  291. package/fesm2022/ngstarter-ui-components.mjs +3 -5
  292. package/fesm2022/ngstarter-ui-components.mjs.map +1 -1
  293. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs +264 -0
  294. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs.map +1 -0
  295. package/fesm2022/plain-text-settings-BnxCxLhA.mjs +354 -0
  296. package/fesm2022/plain-text-settings-BnxCxLhA.mjs.map +1 -0
  297. package/fesm2022/quote-block.component-tRmrU97F.mjs +309 -0
  298. package/fesm2022/quote-block.component-tRmrU97F.mjs.map +1 -0
  299. package/fesm2022/table-block.component-BuzRRggv.mjs +1859 -0
  300. package/fesm2022/table-block.component-BuzRRggv.mjs.map +1 -0
  301. package/fesm2022/toggle-block-C5Jo2YDf.mjs +150 -0
  302. package/fesm2022/toggle-block-C5Jo2YDf.mjs.map +1 -0
  303. package/fesm2022/upload-status-tZ0x0BUB.mjs +107 -0
  304. package/fesm2022/upload-status-tZ0x0BUB.mjs.map +1 -0
  305. package/fesm2022/video-block.component-CpAXibm6.mjs +312 -0
  306. package/fesm2022/video-block.component-CpAXibm6.mjs.map +1 -0
  307. package/package.json +11 -10
  308. package/styles/_tokens.scss +1 -0
  309. package/types/ngstarter-ui-components-action-required.d.ts +34 -14
  310. package/types/ngstarter-ui-components-alert.d.ts +53 -44
  311. package/types/ngstarter-ui-components-announcement.d.ts +74 -53
  312. package/types/ngstarter-ui-components-autocomplete.d.ts +141 -84
  313. package/types/ngstarter-ui-components-avatar.d.ts +113 -66
  314. package/types/ngstarter-ui-components-badge.d.ts +73 -37
  315. package/types/ngstarter-ui-components-block-loader.d.ts +32 -20
  316. package/types/ngstarter-ui-components-bottom-sheet.d.ts +125 -132
  317. package/types/ngstarter-ui-components-breadcrumbs.d.ts +93 -88
  318. package/types/ngstarter-ui-components-button-toggle.d.ts +124 -54
  319. package/types/ngstarter-ui-components-button.d.ts +69 -27
  320. package/types/ngstarter-ui-components-calendar.d.ts +123 -71
  321. package/types/ngstarter-ui-components-card-overlay.d.ts +31 -19
  322. package/types/ngstarter-ui-components-card.d.ts +75 -71
  323. package/types/ngstarter-ui-components-carousel.d.ts +115 -69
  324. package/types/ngstarter-ui-components-checkbox.d.ts +183 -86
  325. package/types/ngstarter-ui-components-chips.d.ts +288 -195
  326. package/types/ngstarter-ui-components-code-highlighter.d.ts +71 -28
  327. package/types/ngstarter-ui-components-color-picker.d.ts +140 -89
  328. package/types/ngstarter-ui-components-color-scheme.d.ts +43 -52
  329. package/types/ngstarter-ui-components-color-switcher.d.ts +46 -26
  330. package/types/ngstarter-ui-components-command-bar.d.ts +40 -26
  331. package/types/ngstarter-ui-components-comment-editor.d.ts +311 -235
  332. package/types/ngstarter-ui-components-comparison-slider.d.ts +41 -40
  333. package/types/ngstarter-ui-components-confirm.d.ts +24 -29
  334. package/types/ngstarter-ui-components-content-editor.d.ts +1482 -998
  335. package/types/ngstarter-ui-components-cookie-popup.d.ts +43 -38
  336. package/types/ngstarter-ui-components-core.d.ts +513 -467
  337. package/types/ngstarter-ui-components-country-select.d.ts +170 -97
  338. package/types/ngstarter-ui-components-crop.d.ts +67 -52
  339. package/types/ngstarter-ui-components-currency-select.d.ts +127 -90
  340. package/types/ngstarter-ui-components-data-view.d.ts +811 -567
  341. package/types/ngstarter-ui-components-date-format-select.d.ts +90 -58
  342. package/types/ngstarter-ui-components-datepicker.d.ts +589 -373
  343. package/types/ngstarter-ui-components-dialog.d.ts +138 -116
  344. package/types/ngstarter-ui-components-digit-roller.d.ts +228 -131
  345. package/types/ngstarter-ui-components-divider.d.ts +29 -17
  346. package/types/ngstarter-ui-components-drawer.d.ts +39 -30
  347. package/types/ngstarter-ui-components-emoji-picker.d.ts +69 -47
  348. package/types/ngstarter-ui-components-empty-state.d.ts +20 -28
  349. package/types/ngstarter-ui-components-events.d.ts +73 -57
  350. package/types/ngstarter-ui-components-expand.d.ts +55 -25
  351. package/types/ngstarter-ui-components-expansion.d.ts +93 -64
  352. package/types/ngstarter-ui-components-file-type.d.ts +53 -27
  353. package/types/ngstarter-ui-components-filter-builder.d.ts +131 -100
  354. package/types/ngstarter-ui-components-form-builder.d.ts +1094 -881
  355. package/types/ngstarter-ui-components-form-field.d.ts +116 -105
  356. package/types/ngstarter-ui-components-gauge.d.ts +32 -20
  357. package/types/ngstarter-ui-components-grid.d.ts +66 -50
  358. package/types/ngstarter-ui-components-guided-tour.d.ts +250 -222
  359. package/types/ngstarter-ui-components-headless-editor.d.ts +708 -658
  360. package/types/ngstarter-ui-components-headless-stepper.d.ts +84 -64
  361. package/types/ngstarter-ui-components-icon.d.ts +39 -38
  362. package/types/ngstarter-ui-components-image-designer.d.ts +422 -341
  363. package/types/ngstarter-ui-components-image-placeholder.d.ts +5 -8
  364. package/types/ngstarter-ui-components-image-resizer.d.ts +40 -33
  365. package/types/ngstarter-ui-components-image-viewer.d.ts +67 -54
  366. package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +29 -33
  367. package/types/ngstarter-ui-components-incidents.d.ts +97 -104
  368. package/types/ngstarter-ui-components-inline-text-edit.d.ts +54 -39
  369. package/types/ngstarter-ui-components-input-mask.d.ts +54 -34
  370. package/types/ngstarter-ui-components-input-validator.d.ts +7 -11
  371. package/types/ngstarter-ui-components-input.d.ts +82 -54
  372. package/types/ngstarter-ui-components-kanban-board.d.ts +76 -63
  373. package/types/ngstarter-ui-components-kbd.d.ts +8 -12
  374. package/types/ngstarter-ui-components-layout.d.ts +131 -87
  375. package/types/ngstarter-ui-components-list.d.ts +123 -88
  376. package/types/ngstarter-ui-components-logo.d.ts +21 -21
  377. package/types/ngstarter-ui-components-marquee.d.ts +41 -34
  378. package/types/ngstarter-ui-components-menu.d.ts +329 -221
  379. package/types/ngstarter-ui-components-micro-chart.d.ts +385 -186
  380. package/types/ngstarter-ui-components-navigation.d.ts +186 -125
  381. package/types/ngstarter-ui-components-notifications.d.ts +104 -89
  382. package/types/ngstarter-ui-components-number-input.d.ts +138 -96
  383. package/types/ngstarter-ui-components-option.d.ts +102 -68
  384. package/types/ngstarter-ui-components-overlay.d.ts +7 -12
  385. package/types/ngstarter-ui-components-page-loading-bar.d.ts +23 -20
  386. package/types/ngstarter-ui-components-paginator.d.ts +171 -129
  387. package/types/ngstarter-ui-components-password-strength.d.ts +217 -102
  388. package/types/ngstarter-ui-components-pdf-builder.d.ts +717 -649
  389. package/types/ngstarter-ui-components-pdf-signer.d.ts +202 -142
  390. package/types/ngstarter-ui-components-pdf-viewer.d.ts +544 -385
  391. package/types/ngstarter-ui-components-phone-input.d.ts +175 -115
  392. package/types/ngstarter-ui-components-pin-input.d.ts +83 -45
  393. package/types/ngstarter-ui-components-popover.d.ts +128 -89
  394. package/types/ngstarter-ui-components-progress-bar.d.ts +49 -30
  395. package/types/ngstarter-ui-components-radio-card.d.ts +50 -34
  396. package/types/ngstarter-ui-components-radio.d.ts +100 -47
  397. package/types/ngstarter-ui-components-rail-nav.d.ts +36 -29
  398. package/types/ngstarter-ui-components-resizable-container.d.ts +30 -25
  399. package/types/ngstarter-ui-components-screen-loader.d.ts +38 -32
  400. package/types/ngstarter-ui-components-scroll-spy.d.ts +56 -60
  401. package/types/ngstarter-ui-components-scrollbar-area.d.ts +116 -86
  402. package/types/ngstarter-ui-components-segmented.d.ts +93 -61
  403. package/types/ngstarter-ui-components-select.d.ts +366 -266
  404. package/types/ngstarter-ui-components-side-panel.d.ts +59 -40
  405. package/types/ngstarter-ui-components-sidebar.d.ts +208 -154
  406. package/types/ngstarter-ui-components-sidenav.d.ts +136 -78
  407. package/types/ngstarter-ui-components-signature-pad.d.ts +165 -92
  408. package/types/ngstarter-ui-components-skeleton.d.ts +18 -17
  409. package/types/ngstarter-ui-components-slide-toggle.d.ts +113 -44
  410. package/types/ngstarter-ui-components-slider.d.ts +123 -82
  411. package/types/ngstarter-ui-components-snack-bar.d.ts +126 -134
  412. package/types/ngstarter-ui-components-sort.d.ts +99 -63
  413. package/types/ngstarter-ui-components-spinner.d.ts +49 -27
  414. package/types/ngstarter-ui-components-splash-screen.d.ts +34 -29
  415. package/types/ngstarter-ui-components-split.d.ts +276 -195
  416. package/types/ngstarter-ui-components-step-tracker.d.ts +102 -83
  417. package/types/ngstarter-ui-components-stepper.d.ts +57 -43
  418. package/types/ngstarter-ui-components-suggestions.d.ts +41 -28
  419. package/types/ngstarter-ui-components-tab-panel.d.ts +110 -83
  420. package/types/ngstarter-ui-components-table.d.ts +256 -228
  421. package/types/ngstarter-ui-components-tabs.d.ts +231 -138
  422. package/types/ngstarter-ui-components-thumbnail-maker.d.ts +40 -34
  423. package/types/ngstarter-ui-components-tiles.d.ts +166 -104
  424. package/types/ngstarter-ui-components-timeline.d.ts +45 -57
  425. package/types/ngstarter-ui-components-timepicker.d.ts +166 -111
  426. package/types/ngstarter-ui-components-timezone-select.d.ts +110 -70
  427. package/types/ngstarter-ui-components-toolbar.d.ts +89 -72
  428. package/types/ngstarter-ui-components-tooltip.d.ts +89 -52
  429. package/types/ngstarter-ui-components-tree-select.d.ts +182 -105
  430. package/types/ngstarter-ui-components-tree.d.ts +355 -229
  431. package/types/ngstarter-ui-components-upload.d.ts +216 -131
  432. package/types/ngstarter-ui-components-video-player.d.ts +130 -67
  433. package/types/ngstarter-ui-components-video-viewer.d.ts +140 -91
  434. package/types/ngstarter-ui-components-visual-builder.d.ts +5 -8
  435. package/types/ngstarter-ui-components-whiteboard.d.ts +412 -339
  436. package/types/ngstarter-ui-components.d.ts +2 -2
  437. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-8OmuepvH.mjs +0 -35
  438. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-8OmuepvH.mjs.map +0 -1
  439. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-Dp5tISk3.mjs +0 -26
  440. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-Dp5tISk3.mjs.map +0 -1
  441. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-BbBs-R_y.mjs +0 -220
  442. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-BbBs-R_y.mjs.map +0 -1
  443. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +0 -99
  444. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +0 -1
  445. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs +0 -40
  446. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs.map +0 -1
  447. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-DGCCeU-Y.mjs +0 -375
  448. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-DGCCeU-Y.mjs.map +0 -1
  449. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-BJfRgtaA.mjs +0 -80
  450. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-BJfRgtaA.mjs.map +0 -1
  451. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-C_L7hF2G.mjs +0 -65
  452. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-C_L7hF2G.mjs.map +0 -1
  453. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-durrPUhm.mjs +0 -137
  454. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-durrPUhm.mjs.map +0 -1
  455. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-BoL1jZpT.mjs +0 -113
  456. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-BoL1jZpT.mjs.map +0 -1
  457. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-ChZpgXO5.mjs +0 -235
  458. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-ChZpgXO5.mjs.map +0 -1
  459. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-DwyNFnII.mjs +0 -117
  460. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-DwyNFnII.mjs.map +0 -1
  461. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-BWpJv6CO.mjs +0 -4464
  462. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-BWpJv6CO.mjs.map +0 -1
  463. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-BvNvkqTO.mjs +0 -132
  464. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-BvNvkqTO.mjs.map +0 -1
  465. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-tgNKltfK.mjs +0 -171
  466. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-tgNKltfK.mjs.map +0 -1
  467. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-BcAlqmh8.mjs +0 -1653
  468. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-BcAlqmh8.mjs.map +0 -1
  469. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-S474I51r.mjs +0 -20
  470. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-S474I51r.mjs.map +0 -1
  471. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs +0 -19
  472. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs.map +0 -1
  473. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-Dj82fxTI.mjs +0 -134
  474. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-Dj82fxTI.mjs.map +0 -1
  475. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs +0 -159
  476. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs.map +0 -1
@@ -1,455 +1,1661 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ElementRef, Renderer2, model, signal, input, booleanAttribute, computed, viewChild, DestroyRef, output, effect, forwardRef, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1 from '@angular/forms';
4
- import { NgControl, FormsModule } from '@angular/forms';
5
- import { FORM_FIELD, FormFieldControl } from '@ngstarter-ui/components/form-field';
6
- import { Option, Select, SelectHeader, SelectTrigger } from '@ngstarter-ui/components/select';
7
- import { Subject } from 'rxjs';
8
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
9
- import { FocusMonitor } from '@angular/cdk/a11y';
10
- import { Icon } from '@ngstarter-ui/components/icon';
11
- import { Button } from '@ngstarter-ui/components/button';
12
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, Renderer2, booleanAttribute, computed, effect, forwardRef, inject, input, model, output, signal, viewChild } from "@angular/core";
3
+ import { Icon } from "@ngstarter-ui/components/icon";
4
+ import { Button } from "@ngstarter-ui/components/button";
5
+ import { Subject } from "rxjs";
6
+ import { FORM_FIELD, FormFieldControl } from "@ngstarter-ui/components/form-field";
7
+ import * as i1 from "@angular/forms";
8
+ import { FormsModule, NgControl } from "@angular/forms";
9
+ import { FocusMonitor } from "@angular/cdk/a11y";
10
+ import { Option, Select, SelectHeader, SelectTrigger } from "@ngstarter-ui/components/select";
13
11
  const currencies = [
14
- { "code": "AED", "name": "UAE Dirham", "symbol": "د.إ", "countryCode": "AE", "flag": "🇦🇪" },
15
- { "code": "AFN", "name": "Afghan Afghani", "symbol": "؋", "countryCode": "AF", "flag": "🇦🇫" },
16
- { "code": "ALL", "name": "Albanian Lek", "symbol": "L", "countryCode": "AL", "flag": "🇦🇱" },
17
- { "code": "AMD", "name": "Armenian Dram", "symbol": "֏", "countryCode": "AM", "flag": "🇦🇲" },
18
- { "code": "ANG", "name": "Netherlands Antillean Guilder", "symbol": "ƒ", "countryCode": "AN", "flag": "🇦🇳" },
19
- { "code": "AOA", "name": "Angolan Kwanza", "symbol": "Kz", "countryCode": "AO", "flag": "🇦🇴" },
20
- { "code": "ARS", "name": "Argentine Peso", "symbol": "$", "countryCode": "AR", "flag": "🇦🇷" },
21
- { "code": "AUD", "name": "Australian Dollar", "symbol": "$", "countryCode": "AU", "flag": "🇦🇺" },
22
- { "code": "AWG", "name": "Aruban Florin", "symbol": "ƒ", "countryCode": "AW", "flag": "🇦🇼" },
23
- { "code": "AZN", "name": "Azerbaijani Manat", "symbol": "₼", "countryCode": "AZ", "flag": "🇦🇿" },
24
- { "code": "BAM", "name": "Bosnia-Herzegovina Convertible Mark", "symbol": "KM", "countryCode": "BA", "flag": "🇧🇦" },
25
- { "code": "BBD", "name": "Barbadian Dollar", "symbol": "$", "countryCode": "BB", "flag": "🇧🇧" },
26
- { "code": "BDT", "name": "Bangladeshi Taka", "symbol": "৳", "countryCode": "BD", "flag": "🇧🇩" },
27
- { "code": "BGN", "name": "Bulgarian Lev", "symbol": "лв", "countryCode": "BG", "flag": "🇧🇬" },
28
- { "code": "BHD", "name": "Bahraini Dinar", "symbol": ".د.ب", "countryCode": "BH", "flag": "🇧🇭" },
29
- { "code": "BIF", "name": "Burundian Franc", "symbol": "FBu", "countryCode": "BI", "flag": "🇧🇮" },
30
- { "code": "BMD", "name": "Bermudan Dollar", "symbol": "$", "countryCode": "BM", "flag": "🇧🇲" },
31
- { "code": "BND", "name": "Brunei Dollar", "symbol": "$", "countryCode": "BN", "flag": "🇧🇳" },
32
- { "code": "BOB", "name": "Bolivian Boliviano", "symbol": "Bs.", "countryCode": "BO", "flag": "🇧🇴" },
33
- { "code": "BRL", "name": "Brazilian Real", "symbol": "R$", "countryCode": "BR", "flag": "🇧🇷" },
34
- { "code": "BSD", "name": "Bahamian Dollar", "symbol": "$", "countryCode": "BS", "flag": "🇧🇸" },
35
- { "code": "BTN", "name": "Bhutanese Ngultrum", "symbol": "Nu.", "countryCode": "BT", "flag": "🇧🇹" },
36
- { "code": "BWP", "name": "Botswanan Pula", "symbol": "P", "countryCode": "BW", "flag": "🇧🇼" },
37
- { "code": "BYN", "name": "Belarusian Ruble", "symbol": "Br", "countryCode": "BY", "flag": "🇧🇾" },
38
- { "code": "BZD", "name": "Belize Dollar", "symbol": "BZ$", "countryCode": "BZ", "flag": "🇧🇿" },
39
- { "code": "CAD", "name": "Canadian Dollar", "symbol": "$", "countryCode": "CA", "flag": "🇨🇦" },
40
- { "code": "CDF", "name": "Congolese Franc", "symbol": "FC", "countryCode": "CD", "flag": "🇨🇩" },
41
- { "code": "CHF", "name": "Swiss Franc", "symbol": "CHF", "countryCode": "CH", "flag": "🇨🇭" },
42
- { "code": "CLP", "name": "Chilean Peso", "symbol": "$", "countryCode": "CL", "flag": "🇨🇱" },
43
- { "code": "CNY", "name": "Chinese Yuan", "symbol": "¥", "countryCode": "CN", "flag": "🇨🇳" },
44
- { "code": "COP", "name": "Colombian Peso", "symbol": "$", "countryCode": "CO", "flag": "🇨🇴" },
45
- { "code": "CRC", "name": "Costa Rican Colón", "symbol": "₡", "countryCode": "CR", "flag": "🇨🇷" },
46
- { "code": "CUP", "name": "Cuban Peso", "symbol": "₱", "countryCode": "CU", "flag": "🇨🇺" },
47
- { "code": "CVE", "name": "Cape Verdean Escudo", "symbol": "$", "countryCode": "CV", "flag": "🇨🇻" },
48
- { "code": "CZK", "name": "Czech Koruna", "symbol": "Kč", "countryCode": "CZ", "flag": "🇨🇿" },
49
- { "code": "DJF", "name": "Djiboutian Franc", "symbol": "Fdj", "countryCode": "DJ", "flag": "🇩🇯" },
50
- { "code": "DKK", "name": "Danish Krone", "symbol": "kr", "countryCode": "DK", "flag": "🇩🇰" },
51
- { "code": "DOP", "name": "Dominican Peso", "symbol": "RD$", "countryCode": "DO", "flag": "🇩🇴" },
52
- { "code": "DZD", "name": "Algerian Dinar", "symbol": "د.ج", "countryCode": "DZ", "flag": "🇩🇿" },
53
- { "code": "EGP", "name": "Egyptian Pound", "symbol": "£", "countryCode": "EG", "flag": "🇪🇬" },
54
- { "code": "ERN", "name": "Eritrean Nakfa", "symbol": "Nfk", "countryCode": "ER", "flag": "🇪🇷" },
55
- { "code": "ETB", "name": "Ethiopian Birr", "symbol": "Br", "countryCode": "ET", "flag": "🇪🇹" },
56
- { "code": "EUR", "name": "Euro", "symbol": "€", "countryCode": "EU", "flag": "🇪🇺" },
57
- { "code": "FJD", "name": "Fijian Dollar", "symbol": "$", "countryCode": "FJ", "flag": "🇫🇯" },
58
- { "code": "FKP", "name": "Falkland Islands Pound", "symbol": "£", "countryCode": "FK", "flag": "🇫🇰" },
59
- { "code": "GBP", "name": "British Pound", "symbol": "£", "countryCode": "GB", "flag": "🇬🇧" },
60
- { "code": "GEL", "name": "Georgian Lari", "symbol": "₾", "countryCode": "GE", "flag": "🇬🇪" },
61
- { "code": "GHS", "name": "Ghanaian Cedi", "symbol": "GH₵", "countryCode": "GH", "flag": "🇬🇭" },
62
- { "code": "GIP", "name": "Gibraltar Pound", "symbol": "£", "countryCode": "GI", "flag": "🇬🇮" },
63
- { "code": "GMD", "name": "Gambian Dalasi", "symbol": "D", "countryCode": "GM", "flag": "🇬🇲" },
64
- { "code": "GNF", "name": "Guinean Franc", "symbol": "FG", "countryCode": "GN", "flag": "🇬🇳" },
65
- { "code": "GTQ", "name": "Guatemalan Quetzal", "symbol": "Q", "countryCode": "GT", "flag": "🇬🇹" },
66
- { "code": "GYD", "name": "Guyanaese Dollar", "symbol": "$", "countryCode": "GY", "flag": "🇬🇾" },
67
- { "code": "HKD", "name": "Hong Kong Dollar", "symbol": "$", "countryCode": "HK", "flag": "🇭🇰" },
68
- { "code": "HNL", "name": "Honduran Lempira", "symbol": "L", "countryCode": "HN", "flag": "🇭🇳" },
69
- { "code": "HRK", "name": "Croatian Kuna", "symbol": "kn", "countryCode": "HR", "flag": "🇭🇷" },
70
- { "code": "HTG", "name": "Haitian Gourde", "symbol": "G", "countryCode": "HT", "flag": "🇭🇹" },
71
- { "code": "HUF", "name": "Hungarian Forint", "symbol": "Ft", "countryCode": "HU", "flag": "🇭🇺" },
72
- { "code": "IDR", "name": "Indonesian Rupiah", "symbol": "Rp", "countryCode": "ID", "flag": "🇮🇩" },
73
- { "code": "ILS", "name": "Israeli New Shekel", "symbol": "₪", "countryCode": "IL", "flag": "🇮🇱" },
74
- { "code": "INR", "name": "Indian Rupee", "symbol": "₹", "countryCode": "IN", "flag": "🇮🇳" },
75
- { "code": "IQD", "name": "Iraqi Dinar", "symbol": "ع.د", "countryCode": "IQ", "flag": "🇮🇶" },
76
- { "code": "IRR", "name": "Iranian Rial", "symbol": "﷼", "countryCode": "IR", "flag": "🇮🇷" },
77
- { "code": "ISK", "name": "Icelandic Króna", "symbol": "kr", "countryCode": "IS", "flag": "🇮🇸" },
78
- { "code": "JMD", "name": "Jamaican Dollar", "symbol": "J$", "countryCode": "JM", "flag": "🇯🇲" },
79
- { "code": "JOD", "name": "Jordanian Dinar", "symbol": "JD", "countryCode": "JO", "flag": "🇯🇴" },
80
- { "code": "JPY", "name": "Japanese Yen", "symbol": "¥", "countryCode": "JP", "flag": "🇯🇵" },
81
- { "code": "KES", "name": "Kenyan Shilling", "symbol": "KSh", "countryCode": "KE", "flag": "🇰🇪" },
82
- { "code": "KGS", "name": "Kyrgystani Som", "symbol": "с", "countryCode": "KG", "flag": "🇰🇬" },
83
- { "code": "KHR", "name": "Cambodian Riel", "symbol": "៛", "countryCode": "KH", "flag": "🇰🇭" },
84
- { "code": "KMF", "name": "Comorian Franc", "symbol": "CF", "countryCode": "KM", "flag": "🇰🇲" },
85
- { "code": "KPW", "name": "North Korean Won", "symbol": "₩", "countryCode": "KP", "flag": "🇰🇵" },
86
- { "code": "KRW", "name": "South Korean Won", "symbol": "₩", "countryCode": "KR", "flag": "🇰🇷" },
87
- { "code": "KWD", "name": "Kuwaiti Dinar", "symbol": "د.ك", "countryCode": "KW", "flag": "🇰🇼" },
88
- { "code": "KYD", "name": "Cayman Islands Dollar", "symbol": "$", "countryCode": "KY", "flag": "🇰🇾" },
89
- { "code": "KZT", "name": "Kazakhstani Tenge", "symbol": "₸", "countryCode": "KZ", "flag": "🇰🇿" },
90
- { "code": "LAK", "name": "Laotian Kip", "symbol": "₭", "countryCode": "LA", "flag": "🇱🇦" },
91
- { "code": "LBP", "name": "Lebanese Pound", "symbol": "£", "countryCode": "LB", "flag": "🇱🇧" },
92
- { "code": "LKR", "name": "Sri Lankan Rupee", "symbol": "₨", "countryCode": "LK", "flag": "🇱🇰" },
93
- { "code": "LRD", "name": "Liberian Dollar", "symbol": "$", "countryCode": "LR", "flag": "🇱🇷" },
94
- { "code": "LSL", "name": "Lesotho Loti", "symbol": "L", "countryCode": "LS", "flag": "🇱🇸" },
95
- { "code": "LYD", "name": "Libyan Dinar", "symbol": "ل.د", "countryCode": "LY", "flag": "🇱🇾" },
96
- { "code": "MAD", "name": "Moroccan Dirham", "symbol": "د.م.", "countryCode": "MA", "flag": "🇲🇦" },
97
- { "code": "MDL", "name": "Moldovan Leu", "symbol": "L", "countryCode": "MD", "flag": "🇲🇩" },
98
- { "code": "MGA", "name": "Malagasy Ariary", "symbol": "Ar", "countryCode": "MG", "flag": "🇲🇬" },
99
- { "code": "MKD", "name": "Macedonian Denar", "symbol": "ден", "countryCode": "MK", "flag": "🇲🇰" },
100
- { "code": "MMK", "name": "Myanma Kyat", "symbol": "K", "countryCode": "MM", "flag": "🇲🇲" },
101
- { "code": "MNT", "name": "Mongolian Tugrik", "symbol": "₮", "countryCode": "MN", "flag": "🇲🇳" },
102
- { "code": "MOP", "name": "Macanese Pataca", "symbol": "MOP$", "countryCode": "MO", "flag": "🇲🇴" },
103
- { "code": "MRU", "name": "Mauritanian Ouguiya", "symbol": "UM", "countryCode": "MR", "flag": "🇲🇷" },
104
- { "code": "MUR", "name": "Mauritian Rupee", "symbol": "₨", "countryCode": "MU", "flag": "🇲🇺" },
105
- { "code": "MVR", "name": "Maldivian Rufiyaa", "symbol": ".ރ", "countryCode": "MV", "flag": "🇲🇻" },
106
- { "code": "MWK", "name": "Malawian Kwacha", "symbol": "MK", "countryCode": "MW", "flag": "🇲🇼" },
107
- { "code": "MXN", "name": "Mexican Peso", "symbol": "$", "countryCode": "MX", "flag": "🇲🇽" },
108
- { "code": "MYR", "name": "Malaysian Ringgit", "symbol": "RM", "countryCode": "MY", "flag": "🇲🇾" },
109
- { "code": "MZN", "name": "Mozambican Metical", "symbol": "MT", "countryCode": "MZ", "flag": "🇲🇿" },
110
- { "code": "NAD", "name": "Namibian Dollar", "symbol": "$", "countryCode": "NA", "flag": "🇳🇦" },
111
- { "code": "NGN", "name": "Nigerian Naira", "symbol": "₦", "countryCode": "NG", "flag": "🇳🇬" },
112
- { "code": "NIO", "name": "Nicaraguan Córdoba", "symbol": "C$", "countryCode": "NI", "flag": "🇳🇮" },
113
- { "code": "NOK", "name": "Norwegian Krone", "symbol": "kr", "countryCode": "NO", "flag": "🇳🇴" },
114
- { "code": "NPR", "name": "Nepalese Rupee", "symbol": "₨", "countryCode": "NP", "flag": "🇳🇵" },
115
- { "code": "NZD", "name": "New Zealand Dollar", "symbol": "$", "countryCode": "NZ", "flag": "🇳🇿" },
116
- { "code": "OMR", "name": "Omani Rial", "symbol": "ر.ع.", "countryCode": "OM", "flag": "🇴🇲" },
117
- { "code": "PAB", "name": "Panamanian Balboa", "symbol": "B/.", "countryCode": "PA", "flag": "🇵🇦" },
118
- { "code": "PEN", "name": "Peruvian Nuevo Sol", "symbol": "S/.", "countryCode": "PE", "flag": "🇵🇪" },
119
- { "code": "PGK", "name": "Papua New Guinean Kina", "symbol": "K", "countryCode": "PG", "flag": "🇵🇬" },
120
- { "code": "PHP", "name": "Philippine Peso", "symbol": "₱", "countryCode": "PH", "flag": "🇵🇭" },
121
- { "code": "PKR", "name": "Pakistani Rupee", "symbol": "₨", "countryCode": "PK", "flag": "🇵🇰" },
122
- { "code": "PLN", "name": "Polish Złoty", "symbol": "zł", "countryCode": "PL", "flag": "🇵🇱" },
123
- { "code": "PYG", "name": "Paraguayan Guarani", "symbol": "₲", "countryCode": "PY", "flag": "🇵🇾" },
124
- { "code": "QAR", "name": "Qatari Riyal", "symbol": "ر.ق", "countryCode": "QA", "flag": "🇶🇦" },
125
- { "code": "RON", "name": "Romanian Leu", "symbol": "lei", "countryCode": "RO", "flag": "🇷🇴" },
126
- { "code": "RSD", "name": "Serbian Dinar", "symbol": "дин.", "countryCode": "RS", "flag": "🇷🇸" },
127
- { "code": "RUB", "name": "Russian Ruble", "symbol": "₽", "countryCode": "RU", "flag": "🇷🇺" },
128
- { "code": "RWF", "name": "Rwandan Franc", "symbol": "R₣", "countryCode": "RW", "flag": "🇷🇼" },
129
- { "code": "SAR", "name": "Saudi Riyal", "symbol": "ر.س", "countryCode": "SA", "flag": "🇸🇦" },
130
- { "code": "SBD", "name": "Solomon Islands Dollar", "symbol": "$", "countryCode": "SB", "flag": "🇸🇧" },
131
- { "code": "SCR", "name": "Seychellois Rupee", "symbol": "₨", "countryCode": "SC", "flag": "🇸🇨" },
132
- { "code": "SDG", "name": "Sudanese Pound", "symbol": "ج.س.", "countryCode": "SD", "flag": "🇸🇩" },
133
- { "code": "SEK", "name": "Swedish Krona", "symbol": "kr", "countryCode": "SE", "flag": "🇸🇪" },
134
- { "code": "SGD", "name": "Singapore Dollar", "symbol": "$", "countryCode": "SG", "flag": "🇸🇬" },
135
- { "code": "SHP", "name": "Saint Helena Pound", "symbol": "£", "countryCode": "SH", "flag": "🇸🇭" },
136
- { "code": "SLL", "name": "Sierra Leonean Leone", "symbol": "Le", "countryCode": "SL", "flag": "🇸🇱" },
137
- { "code": "SOS", "name": "Somali Shilling", "symbol": "S", "countryCode": "SO", "flag": "🇸🇴" },
138
- { "code": "SRD", "name": "Surinamese Dollar", "symbol": "$", "countryCode": "SR", "flag": "🇸🇷" },
139
- { "code": "SSP", "name": "South Sudanese Pound", "symbol": "£", "countryCode": "SS", "flag": "🇸🇸" },
140
- { "code": "STN", "name": "São Tomé and Príncipe Dobra", "symbol": "Db", "countryCode": "ST", "flag": "🇸🇹" },
141
- { "code": "SVC", "name": "Salvadoran Colón", "symbol": "$", "countryCode": "SV", "flag": "🇸🇻" },
142
- { "code": "SYP", "name": "Syrian Pound", "symbol": "£", "countryCode": "SY", "flag": "🇸🇾" },
143
- { "code": "SZL", "name": "Swazi Lilangeni", "symbol": "L", "countryCode": "SZ", "flag": "🇸🇿" },
144
- { "code": "THB", "name": "Thai Baht", "symbol": "฿", "countryCode": "TH", "flag": "🇹🇭" },
145
- { "code": "TJS", "name": "Tajikistani Somoni", "symbol": "SM", "countryCode": "TJ", "flag": "🇹🇯" },
146
- { "code": "TMT", "name": "Turkmenistani Manat", "symbol": "T", "countryCode": "TM", "flag": "🇹🇲" },
147
- { "code": "TND", "name": "Tunisian Dinar", "symbol": "د.ت", "countryCode": "TN", "flag": "🇹🇳" },
148
- { "code": "TOP", "name": "Tongan Paʻanga", "symbol": "T$", "countryCode": "TO", "flag": "🇹🇴" },
149
- { "code": "TRY", "name": "Turkish Lira", "symbol": "₺", "countryCode": "TR", "flag": "🇹🇷" },
150
- { "code": "TTD", "name": "Trinidad and Tobago Dollar", "symbol": "TT$", "countryCode": "TT", "flag": "🇹🇹" },
151
- { "code": "TWD", "name": "New Taiwan Dollar", "symbol": "NT$", "countryCode": "TW", "flag": "🇹🇼" },
152
- { "code": "TZS", "name": "Tanzanian Shilling", "symbol": "TSh", "countryCode": "TZ", "flag": "🇹🇿" },
153
- { "code": "UAH", "name": "Ukrainian Hryvnia", "symbol": "₴", "countryCode": "UA", "flag": "🇺🇦" },
154
- { "code": "UGX", "name": "Ugandan Shilling", "symbol": "USh", "countryCode": "UG", "flag": "🇺🇬" },
155
- { "code": "USD", "name": "United States Dollar", "symbol": "$", "countryCode": "US", "flag": "🇺🇸" },
156
- { "code": "UYU", "name": "Uruguayan Peso", "symbol": "$U", "countryCode": "UY", "flag": "🇺🇾" },
157
- { "code": "UZS", "name": "Uzbekistani Som", "symbol": "сўм", "countryCode": "UZ", "flag": "🇺🇿" },
158
- { "code": "VEF", "name": "Venezuelan Bolívar Fuerte", "symbol": "Bs", "countryCode": "VE", "flag": "🇻🇪" },
159
- { "code": "VND", "name": "Vietnamese Dong", "symbol": "₫", "countryCode": "VN", "flag": "🇻🇳" },
160
- { "code": "VUV", "name": "Vanuatu Vatu", "symbol": "VT", "countryCode": "VU", "flag": "🇻🇺" },
161
- { "code": "WST", "name": "Samoan Tala", "symbol": "WS$", "countryCode": "WS", "flag": "🇼🇸" },
162
- { "code": "XAF", "name": "CFA Franc BEAC", "symbol": "FCFA", "countryCode": "CM", "flag": "🇨🇲" },
163
- { "code": "XCD", "name": "East Caribbean Dollar", "symbol": "$", "countryCode": "AG", "flag": "🇦🇬" },
164
- { "code": "XOF", "name": "CFA Franc BCEAO", "symbol": "CFA", "countryCode": "BJ", "flag": "🇧🇯" },
165
- { "code": "XPF", "name": "CFP Franc", "symbol": "₣", "countryCode": "PF", "flag": "🇵🇫" },
166
- { "code": "YER", "name": "Yemeni Rial", "symbol": "﷼", "countryCode": "YE", "flag": "🇾🇪" },
167
- { "code": "ZAR", "name": "South African Rand", "symbol": "R", "countryCode": "ZA", "flag": "🇿🇦" },
168
- { "code": "ZMW", "name": "Zambian Kwacha", "symbol": "ZK", "countryCode": "ZM", "flag": "🇿🇲" },
169
- { "code": "ZWL", "name": "Zimbabwean Dollar", "symbol": "$", "countryCode": "ZW", "flag": "🇿🇼" }
12
+ {
13
+ "code": "AED",
14
+ "name": "UAE Dirham",
15
+ "symbol": "د.إ",
16
+ "countryCode": "AE",
17
+ "flag": "🇦🇪"
18
+ },
19
+ {
20
+ "code": "AFN",
21
+ "name": "Afghan Afghani",
22
+ "symbol": "؋",
23
+ "countryCode": "AF",
24
+ "flag": "🇦🇫"
25
+ },
26
+ {
27
+ "code": "ALL",
28
+ "name": "Albanian Lek",
29
+ "symbol": "L",
30
+ "countryCode": "AL",
31
+ "flag": "🇦🇱"
32
+ },
33
+ {
34
+ "code": "AMD",
35
+ "name": "Armenian Dram",
36
+ "symbol": "֏",
37
+ "countryCode": "AM",
38
+ "flag": "🇦🇲"
39
+ },
40
+ {
41
+ "code": "ANG",
42
+ "name": "Netherlands Antillean Guilder",
43
+ "symbol": "ƒ",
44
+ "countryCode": "AN",
45
+ "flag": "🇦🇳"
46
+ },
47
+ {
48
+ "code": "AOA",
49
+ "name": "Angolan Kwanza",
50
+ "symbol": "Kz",
51
+ "countryCode": "AO",
52
+ "flag": "🇦🇴"
53
+ },
54
+ {
55
+ "code": "ARS",
56
+ "name": "Argentine Peso",
57
+ "symbol": "$",
58
+ "countryCode": "AR",
59
+ "flag": "🇦🇷"
60
+ },
61
+ {
62
+ "code": "AUD",
63
+ "name": "Australian Dollar",
64
+ "symbol": "$",
65
+ "countryCode": "AU",
66
+ "flag": "🇦🇺"
67
+ },
68
+ {
69
+ "code": "AWG",
70
+ "name": "Aruban Florin",
71
+ "symbol": "ƒ",
72
+ "countryCode": "AW",
73
+ "flag": "🇦🇼"
74
+ },
75
+ {
76
+ "code": "AZN",
77
+ "name": "Azerbaijani Manat",
78
+ "symbol": "₼",
79
+ "countryCode": "AZ",
80
+ "flag": "🇦🇿"
81
+ },
82
+ {
83
+ "code": "BAM",
84
+ "name": "Bosnia-Herzegovina Convertible Mark",
85
+ "symbol": "KM",
86
+ "countryCode": "BA",
87
+ "flag": "🇧🇦"
88
+ },
89
+ {
90
+ "code": "BBD",
91
+ "name": "Barbadian Dollar",
92
+ "symbol": "$",
93
+ "countryCode": "BB",
94
+ "flag": "🇧🇧"
95
+ },
96
+ {
97
+ "code": "BDT",
98
+ "name": "Bangladeshi Taka",
99
+ "symbol": "৳",
100
+ "countryCode": "BD",
101
+ "flag": "🇧🇩"
102
+ },
103
+ {
104
+ "code": "BGN",
105
+ "name": "Bulgarian Lev",
106
+ "symbol": "лв",
107
+ "countryCode": "BG",
108
+ "flag": "🇧🇬"
109
+ },
110
+ {
111
+ "code": "BHD",
112
+ "name": "Bahraini Dinar",
113
+ "symbol": ".د.ب",
114
+ "countryCode": "BH",
115
+ "flag": "🇧🇭"
116
+ },
117
+ {
118
+ "code": "BIF",
119
+ "name": "Burundian Franc",
120
+ "symbol": "FBu",
121
+ "countryCode": "BI",
122
+ "flag": "🇧🇮"
123
+ },
124
+ {
125
+ "code": "BMD",
126
+ "name": "Bermudan Dollar",
127
+ "symbol": "$",
128
+ "countryCode": "BM",
129
+ "flag": "🇧🇲"
130
+ },
131
+ {
132
+ "code": "BND",
133
+ "name": "Brunei Dollar",
134
+ "symbol": "$",
135
+ "countryCode": "BN",
136
+ "flag": "🇧🇳"
137
+ },
138
+ {
139
+ "code": "BOB",
140
+ "name": "Bolivian Boliviano",
141
+ "symbol": "Bs.",
142
+ "countryCode": "BO",
143
+ "flag": "🇧🇴"
144
+ },
145
+ {
146
+ "code": "BRL",
147
+ "name": "Brazilian Real",
148
+ "symbol": "R$",
149
+ "countryCode": "BR",
150
+ "flag": "🇧🇷"
151
+ },
152
+ {
153
+ "code": "BSD",
154
+ "name": "Bahamian Dollar",
155
+ "symbol": "$",
156
+ "countryCode": "BS",
157
+ "flag": "🇧🇸"
158
+ },
159
+ {
160
+ "code": "BTN",
161
+ "name": "Bhutanese Ngultrum",
162
+ "symbol": "Nu.",
163
+ "countryCode": "BT",
164
+ "flag": "🇧🇹"
165
+ },
166
+ {
167
+ "code": "BWP",
168
+ "name": "Botswanan Pula",
169
+ "symbol": "P",
170
+ "countryCode": "BW",
171
+ "flag": "🇧🇼"
172
+ },
173
+ {
174
+ "code": "BYN",
175
+ "name": "Belarusian Ruble",
176
+ "symbol": "Br",
177
+ "countryCode": "BY",
178
+ "flag": "🇧🇾"
179
+ },
180
+ {
181
+ "code": "BZD",
182
+ "name": "Belize Dollar",
183
+ "symbol": "BZ$",
184
+ "countryCode": "BZ",
185
+ "flag": "🇧🇿"
186
+ },
187
+ {
188
+ "code": "CAD",
189
+ "name": "Canadian Dollar",
190
+ "symbol": "$",
191
+ "countryCode": "CA",
192
+ "flag": "🇨🇦"
193
+ },
194
+ {
195
+ "code": "CDF",
196
+ "name": "Congolese Franc",
197
+ "symbol": "FC",
198
+ "countryCode": "CD",
199
+ "flag": "🇨🇩"
200
+ },
201
+ {
202
+ "code": "CHF",
203
+ "name": "Swiss Franc",
204
+ "symbol": "CHF",
205
+ "countryCode": "CH",
206
+ "flag": "🇨🇭"
207
+ },
208
+ {
209
+ "code": "CLP",
210
+ "name": "Chilean Peso",
211
+ "symbol": "$",
212
+ "countryCode": "CL",
213
+ "flag": "🇨🇱"
214
+ },
215
+ {
216
+ "code": "CNY",
217
+ "name": "Chinese Yuan",
218
+ "symbol": "¥",
219
+ "countryCode": "CN",
220
+ "flag": "🇨🇳"
221
+ },
222
+ {
223
+ "code": "COP",
224
+ "name": "Colombian Peso",
225
+ "symbol": "$",
226
+ "countryCode": "CO",
227
+ "flag": "🇨🇴"
228
+ },
229
+ {
230
+ "code": "CRC",
231
+ "name": "Costa Rican Colón",
232
+ "symbol": "₡",
233
+ "countryCode": "CR",
234
+ "flag": "🇨🇷"
235
+ },
236
+ {
237
+ "code": "CUP",
238
+ "name": "Cuban Peso",
239
+ "symbol": "₱",
240
+ "countryCode": "CU",
241
+ "flag": "🇨🇺"
242
+ },
243
+ {
244
+ "code": "CVE",
245
+ "name": "Cape Verdean Escudo",
246
+ "symbol": "$",
247
+ "countryCode": "CV",
248
+ "flag": "🇨🇻"
249
+ },
250
+ {
251
+ "code": "CZK",
252
+ "name": "Czech Koruna",
253
+ "symbol": "Kč",
254
+ "countryCode": "CZ",
255
+ "flag": "🇨🇿"
256
+ },
257
+ {
258
+ "code": "DJF",
259
+ "name": "Djiboutian Franc",
260
+ "symbol": "Fdj",
261
+ "countryCode": "DJ",
262
+ "flag": "🇩🇯"
263
+ },
264
+ {
265
+ "code": "DKK",
266
+ "name": "Danish Krone",
267
+ "symbol": "kr",
268
+ "countryCode": "DK",
269
+ "flag": "🇩🇰"
270
+ },
271
+ {
272
+ "code": "DOP",
273
+ "name": "Dominican Peso",
274
+ "symbol": "RD$",
275
+ "countryCode": "DO",
276
+ "flag": "🇩🇴"
277
+ },
278
+ {
279
+ "code": "DZD",
280
+ "name": "Algerian Dinar",
281
+ "symbol": "د.ج",
282
+ "countryCode": "DZ",
283
+ "flag": "🇩🇿"
284
+ },
285
+ {
286
+ "code": "EGP",
287
+ "name": "Egyptian Pound",
288
+ "symbol": "£",
289
+ "countryCode": "EG",
290
+ "flag": "🇪🇬"
291
+ },
292
+ {
293
+ "code": "ERN",
294
+ "name": "Eritrean Nakfa",
295
+ "symbol": "Nfk",
296
+ "countryCode": "ER",
297
+ "flag": "🇪🇷"
298
+ },
299
+ {
300
+ "code": "ETB",
301
+ "name": "Ethiopian Birr",
302
+ "symbol": "Br",
303
+ "countryCode": "ET",
304
+ "flag": "🇪🇹"
305
+ },
306
+ {
307
+ "code": "EUR",
308
+ "name": "Euro",
309
+ "symbol": "€",
310
+ "countryCode": "EU",
311
+ "flag": "🇪🇺"
312
+ },
313
+ {
314
+ "code": "FJD",
315
+ "name": "Fijian Dollar",
316
+ "symbol": "$",
317
+ "countryCode": "FJ",
318
+ "flag": "🇫🇯"
319
+ },
320
+ {
321
+ "code": "FKP",
322
+ "name": "Falkland Islands Pound",
323
+ "symbol": "£",
324
+ "countryCode": "FK",
325
+ "flag": "🇫🇰"
326
+ },
327
+ {
328
+ "code": "GBP",
329
+ "name": "British Pound",
330
+ "symbol": "£",
331
+ "countryCode": "GB",
332
+ "flag": "🇬🇧"
333
+ },
334
+ {
335
+ "code": "GEL",
336
+ "name": "Georgian Lari",
337
+ "symbol": "₾",
338
+ "countryCode": "GE",
339
+ "flag": "🇬🇪"
340
+ },
341
+ {
342
+ "code": "GHS",
343
+ "name": "Ghanaian Cedi",
344
+ "symbol": "GH₵",
345
+ "countryCode": "GH",
346
+ "flag": "🇬🇭"
347
+ },
348
+ {
349
+ "code": "GIP",
350
+ "name": "Gibraltar Pound",
351
+ "symbol": "£",
352
+ "countryCode": "GI",
353
+ "flag": "🇬🇮"
354
+ },
355
+ {
356
+ "code": "GMD",
357
+ "name": "Gambian Dalasi",
358
+ "symbol": "D",
359
+ "countryCode": "GM",
360
+ "flag": "🇬🇲"
361
+ },
362
+ {
363
+ "code": "GNF",
364
+ "name": "Guinean Franc",
365
+ "symbol": "FG",
366
+ "countryCode": "GN",
367
+ "flag": "🇬🇳"
368
+ },
369
+ {
370
+ "code": "GTQ",
371
+ "name": "Guatemalan Quetzal",
372
+ "symbol": "Q",
373
+ "countryCode": "GT",
374
+ "flag": "🇬🇹"
375
+ },
376
+ {
377
+ "code": "GYD",
378
+ "name": "Guyanaese Dollar",
379
+ "symbol": "$",
380
+ "countryCode": "GY",
381
+ "flag": "🇬🇾"
382
+ },
383
+ {
384
+ "code": "HKD",
385
+ "name": "Hong Kong Dollar",
386
+ "symbol": "$",
387
+ "countryCode": "HK",
388
+ "flag": "🇭🇰"
389
+ },
390
+ {
391
+ "code": "HNL",
392
+ "name": "Honduran Lempira",
393
+ "symbol": "L",
394
+ "countryCode": "HN",
395
+ "flag": "🇭🇳"
396
+ },
397
+ {
398
+ "code": "HRK",
399
+ "name": "Croatian Kuna",
400
+ "symbol": "kn",
401
+ "countryCode": "HR",
402
+ "flag": "🇭🇷"
403
+ },
404
+ {
405
+ "code": "HTG",
406
+ "name": "Haitian Gourde",
407
+ "symbol": "G",
408
+ "countryCode": "HT",
409
+ "flag": "🇭🇹"
410
+ },
411
+ {
412
+ "code": "HUF",
413
+ "name": "Hungarian Forint",
414
+ "symbol": "Ft",
415
+ "countryCode": "HU",
416
+ "flag": "🇭🇺"
417
+ },
418
+ {
419
+ "code": "IDR",
420
+ "name": "Indonesian Rupiah",
421
+ "symbol": "Rp",
422
+ "countryCode": "ID",
423
+ "flag": "🇮🇩"
424
+ },
425
+ {
426
+ "code": "ILS",
427
+ "name": "Israeli New Shekel",
428
+ "symbol": "₪",
429
+ "countryCode": "IL",
430
+ "flag": "🇮🇱"
431
+ },
432
+ {
433
+ "code": "INR",
434
+ "name": "Indian Rupee",
435
+ "symbol": "₹",
436
+ "countryCode": "IN",
437
+ "flag": "🇮🇳"
438
+ },
439
+ {
440
+ "code": "IQD",
441
+ "name": "Iraqi Dinar",
442
+ "symbol": "ع.د",
443
+ "countryCode": "IQ",
444
+ "flag": "🇮🇶"
445
+ },
446
+ {
447
+ "code": "IRR",
448
+ "name": "Iranian Rial",
449
+ "symbol": "﷼",
450
+ "countryCode": "IR",
451
+ "flag": "🇮🇷"
452
+ },
453
+ {
454
+ "code": "ISK",
455
+ "name": "Icelandic Króna",
456
+ "symbol": "kr",
457
+ "countryCode": "IS",
458
+ "flag": "🇮🇸"
459
+ },
460
+ {
461
+ "code": "JMD",
462
+ "name": "Jamaican Dollar",
463
+ "symbol": "J$",
464
+ "countryCode": "JM",
465
+ "flag": "🇯🇲"
466
+ },
467
+ {
468
+ "code": "JOD",
469
+ "name": "Jordanian Dinar",
470
+ "symbol": "JD",
471
+ "countryCode": "JO",
472
+ "flag": "🇯🇴"
473
+ },
474
+ {
475
+ "code": "JPY",
476
+ "name": "Japanese Yen",
477
+ "symbol": "¥",
478
+ "countryCode": "JP",
479
+ "flag": "🇯🇵"
480
+ },
481
+ {
482
+ "code": "KES",
483
+ "name": "Kenyan Shilling",
484
+ "symbol": "KSh",
485
+ "countryCode": "KE",
486
+ "flag": "🇰🇪"
487
+ },
488
+ {
489
+ "code": "KGS",
490
+ "name": "Kyrgystani Som",
491
+ "symbol": "с",
492
+ "countryCode": "KG",
493
+ "flag": "🇰🇬"
494
+ },
495
+ {
496
+ "code": "KHR",
497
+ "name": "Cambodian Riel",
498
+ "symbol": "៛",
499
+ "countryCode": "KH",
500
+ "flag": "🇰🇭"
501
+ },
502
+ {
503
+ "code": "KMF",
504
+ "name": "Comorian Franc",
505
+ "symbol": "CF",
506
+ "countryCode": "KM",
507
+ "flag": "🇰🇲"
508
+ },
509
+ {
510
+ "code": "KPW",
511
+ "name": "North Korean Won",
512
+ "symbol": "₩",
513
+ "countryCode": "KP",
514
+ "flag": "🇰🇵"
515
+ },
516
+ {
517
+ "code": "KRW",
518
+ "name": "South Korean Won",
519
+ "symbol": "₩",
520
+ "countryCode": "KR",
521
+ "flag": "🇰🇷"
522
+ },
523
+ {
524
+ "code": "KWD",
525
+ "name": "Kuwaiti Dinar",
526
+ "symbol": "د.ك",
527
+ "countryCode": "KW",
528
+ "flag": "🇰🇼"
529
+ },
530
+ {
531
+ "code": "KYD",
532
+ "name": "Cayman Islands Dollar",
533
+ "symbol": "$",
534
+ "countryCode": "KY",
535
+ "flag": "🇰🇾"
536
+ },
537
+ {
538
+ "code": "KZT",
539
+ "name": "Kazakhstani Tenge",
540
+ "symbol": "₸",
541
+ "countryCode": "KZ",
542
+ "flag": "🇰🇿"
543
+ },
544
+ {
545
+ "code": "LAK",
546
+ "name": "Laotian Kip",
547
+ "symbol": "₭",
548
+ "countryCode": "LA",
549
+ "flag": "🇱🇦"
550
+ },
551
+ {
552
+ "code": "LBP",
553
+ "name": "Lebanese Pound",
554
+ "symbol": "£",
555
+ "countryCode": "LB",
556
+ "flag": "🇱🇧"
557
+ },
558
+ {
559
+ "code": "LKR",
560
+ "name": "Sri Lankan Rupee",
561
+ "symbol": "₨",
562
+ "countryCode": "LK",
563
+ "flag": "🇱🇰"
564
+ },
565
+ {
566
+ "code": "LRD",
567
+ "name": "Liberian Dollar",
568
+ "symbol": "$",
569
+ "countryCode": "LR",
570
+ "flag": "🇱🇷"
571
+ },
572
+ {
573
+ "code": "LSL",
574
+ "name": "Lesotho Loti",
575
+ "symbol": "L",
576
+ "countryCode": "LS",
577
+ "flag": "🇱🇸"
578
+ },
579
+ {
580
+ "code": "LYD",
581
+ "name": "Libyan Dinar",
582
+ "symbol": "ل.د",
583
+ "countryCode": "LY",
584
+ "flag": "🇱🇾"
585
+ },
586
+ {
587
+ "code": "MAD",
588
+ "name": "Moroccan Dirham",
589
+ "symbol": "د.م.",
590
+ "countryCode": "MA",
591
+ "flag": "🇲🇦"
592
+ },
593
+ {
594
+ "code": "MDL",
595
+ "name": "Moldovan Leu",
596
+ "symbol": "L",
597
+ "countryCode": "MD",
598
+ "flag": "🇲🇩"
599
+ },
600
+ {
601
+ "code": "MGA",
602
+ "name": "Malagasy Ariary",
603
+ "symbol": "Ar",
604
+ "countryCode": "MG",
605
+ "flag": "🇲🇬"
606
+ },
607
+ {
608
+ "code": "MKD",
609
+ "name": "Macedonian Denar",
610
+ "symbol": "ден",
611
+ "countryCode": "MK",
612
+ "flag": "🇲🇰"
613
+ },
614
+ {
615
+ "code": "MMK",
616
+ "name": "Myanma Kyat",
617
+ "symbol": "K",
618
+ "countryCode": "MM",
619
+ "flag": "🇲🇲"
620
+ },
621
+ {
622
+ "code": "MNT",
623
+ "name": "Mongolian Tugrik",
624
+ "symbol": "₮",
625
+ "countryCode": "MN",
626
+ "flag": "🇲🇳"
627
+ },
628
+ {
629
+ "code": "MOP",
630
+ "name": "Macanese Pataca",
631
+ "symbol": "MOP$",
632
+ "countryCode": "MO",
633
+ "flag": "🇲🇴"
634
+ },
635
+ {
636
+ "code": "MRU",
637
+ "name": "Mauritanian Ouguiya",
638
+ "symbol": "UM",
639
+ "countryCode": "MR",
640
+ "flag": "🇲🇷"
641
+ },
642
+ {
643
+ "code": "MUR",
644
+ "name": "Mauritian Rupee",
645
+ "symbol": "₨",
646
+ "countryCode": "MU",
647
+ "flag": "🇲🇺"
648
+ },
649
+ {
650
+ "code": "MVR",
651
+ "name": "Maldivian Rufiyaa",
652
+ "symbol": ".ރ",
653
+ "countryCode": "MV",
654
+ "flag": "🇲🇻"
655
+ },
656
+ {
657
+ "code": "MWK",
658
+ "name": "Malawian Kwacha",
659
+ "symbol": "MK",
660
+ "countryCode": "MW",
661
+ "flag": "🇲🇼"
662
+ },
663
+ {
664
+ "code": "MXN",
665
+ "name": "Mexican Peso",
666
+ "symbol": "$",
667
+ "countryCode": "MX",
668
+ "flag": "🇲🇽"
669
+ },
670
+ {
671
+ "code": "MYR",
672
+ "name": "Malaysian Ringgit",
673
+ "symbol": "RM",
674
+ "countryCode": "MY",
675
+ "flag": "🇲🇾"
676
+ },
677
+ {
678
+ "code": "MZN",
679
+ "name": "Mozambican Metical",
680
+ "symbol": "MT",
681
+ "countryCode": "MZ",
682
+ "flag": "🇲🇿"
683
+ },
684
+ {
685
+ "code": "NAD",
686
+ "name": "Namibian Dollar",
687
+ "symbol": "$",
688
+ "countryCode": "NA",
689
+ "flag": "🇳🇦"
690
+ },
691
+ {
692
+ "code": "NGN",
693
+ "name": "Nigerian Naira",
694
+ "symbol": "₦",
695
+ "countryCode": "NG",
696
+ "flag": "🇳🇬"
697
+ },
698
+ {
699
+ "code": "NIO",
700
+ "name": "Nicaraguan Córdoba",
701
+ "symbol": "C$",
702
+ "countryCode": "NI",
703
+ "flag": "🇳🇮"
704
+ },
705
+ {
706
+ "code": "NOK",
707
+ "name": "Norwegian Krone",
708
+ "symbol": "kr",
709
+ "countryCode": "NO",
710
+ "flag": "🇳🇴"
711
+ },
712
+ {
713
+ "code": "NPR",
714
+ "name": "Nepalese Rupee",
715
+ "symbol": "₨",
716
+ "countryCode": "NP",
717
+ "flag": "🇳🇵"
718
+ },
719
+ {
720
+ "code": "NZD",
721
+ "name": "New Zealand Dollar",
722
+ "symbol": "$",
723
+ "countryCode": "NZ",
724
+ "flag": "🇳🇿"
725
+ },
726
+ {
727
+ "code": "OMR",
728
+ "name": "Omani Rial",
729
+ "symbol": "ر.ع.",
730
+ "countryCode": "OM",
731
+ "flag": "🇴🇲"
732
+ },
733
+ {
734
+ "code": "PAB",
735
+ "name": "Panamanian Balboa",
736
+ "symbol": "B/.",
737
+ "countryCode": "PA",
738
+ "flag": "🇵🇦"
739
+ },
740
+ {
741
+ "code": "PEN",
742
+ "name": "Peruvian Nuevo Sol",
743
+ "symbol": "S/.",
744
+ "countryCode": "PE",
745
+ "flag": "🇵🇪"
746
+ },
747
+ {
748
+ "code": "PGK",
749
+ "name": "Papua New Guinean Kina",
750
+ "symbol": "K",
751
+ "countryCode": "PG",
752
+ "flag": "🇵🇬"
753
+ },
754
+ {
755
+ "code": "PHP",
756
+ "name": "Philippine Peso",
757
+ "symbol": "₱",
758
+ "countryCode": "PH",
759
+ "flag": "🇵🇭"
760
+ },
761
+ {
762
+ "code": "PKR",
763
+ "name": "Pakistani Rupee",
764
+ "symbol": "₨",
765
+ "countryCode": "PK",
766
+ "flag": "🇵🇰"
767
+ },
768
+ {
769
+ "code": "PLN",
770
+ "name": "Polish Złoty",
771
+ "symbol": "zł",
772
+ "countryCode": "PL",
773
+ "flag": "🇵🇱"
774
+ },
775
+ {
776
+ "code": "PYG",
777
+ "name": "Paraguayan Guarani",
778
+ "symbol": "₲",
779
+ "countryCode": "PY",
780
+ "flag": "🇵🇾"
781
+ },
782
+ {
783
+ "code": "QAR",
784
+ "name": "Qatari Riyal",
785
+ "symbol": "ر.ق",
786
+ "countryCode": "QA",
787
+ "flag": "🇶🇦"
788
+ },
789
+ {
790
+ "code": "RON",
791
+ "name": "Romanian Leu",
792
+ "symbol": "lei",
793
+ "countryCode": "RO",
794
+ "flag": "🇷🇴"
795
+ },
796
+ {
797
+ "code": "RSD",
798
+ "name": "Serbian Dinar",
799
+ "symbol": "дин.",
800
+ "countryCode": "RS",
801
+ "flag": "🇷🇸"
802
+ },
803
+ {
804
+ "code": "RUB",
805
+ "name": "Russian Ruble",
806
+ "symbol": "₽",
807
+ "countryCode": "RU",
808
+ "flag": "🇷🇺"
809
+ },
810
+ {
811
+ "code": "RWF",
812
+ "name": "Rwandan Franc",
813
+ "symbol": "R₣",
814
+ "countryCode": "RW",
815
+ "flag": "🇷🇼"
816
+ },
817
+ {
818
+ "code": "SAR",
819
+ "name": "Saudi Riyal",
820
+ "symbol": "ر.س",
821
+ "countryCode": "SA",
822
+ "flag": "🇸🇦"
823
+ },
824
+ {
825
+ "code": "SBD",
826
+ "name": "Solomon Islands Dollar",
827
+ "symbol": "$",
828
+ "countryCode": "SB",
829
+ "flag": "🇸🇧"
830
+ },
831
+ {
832
+ "code": "SCR",
833
+ "name": "Seychellois Rupee",
834
+ "symbol": "₨",
835
+ "countryCode": "SC",
836
+ "flag": "🇸🇨"
837
+ },
838
+ {
839
+ "code": "SDG",
840
+ "name": "Sudanese Pound",
841
+ "symbol": "ج.س.",
842
+ "countryCode": "SD",
843
+ "flag": "🇸🇩"
844
+ },
845
+ {
846
+ "code": "SEK",
847
+ "name": "Swedish Krona",
848
+ "symbol": "kr",
849
+ "countryCode": "SE",
850
+ "flag": "🇸🇪"
851
+ },
852
+ {
853
+ "code": "SGD",
854
+ "name": "Singapore Dollar",
855
+ "symbol": "$",
856
+ "countryCode": "SG",
857
+ "flag": "🇸🇬"
858
+ },
859
+ {
860
+ "code": "SHP",
861
+ "name": "Saint Helena Pound",
862
+ "symbol": "£",
863
+ "countryCode": "SH",
864
+ "flag": "🇸🇭"
865
+ },
866
+ {
867
+ "code": "SLL",
868
+ "name": "Sierra Leonean Leone",
869
+ "symbol": "Le",
870
+ "countryCode": "SL",
871
+ "flag": "🇸🇱"
872
+ },
873
+ {
874
+ "code": "SOS",
875
+ "name": "Somali Shilling",
876
+ "symbol": "S",
877
+ "countryCode": "SO",
878
+ "flag": "🇸🇴"
879
+ },
880
+ {
881
+ "code": "SRD",
882
+ "name": "Surinamese Dollar",
883
+ "symbol": "$",
884
+ "countryCode": "SR",
885
+ "flag": "🇸🇷"
886
+ },
887
+ {
888
+ "code": "SSP",
889
+ "name": "South Sudanese Pound",
890
+ "symbol": "£",
891
+ "countryCode": "SS",
892
+ "flag": "🇸🇸"
893
+ },
894
+ {
895
+ "code": "STN",
896
+ "name": "São Tomé and Príncipe Dobra",
897
+ "symbol": "Db",
898
+ "countryCode": "ST",
899
+ "flag": "🇸🇹"
900
+ },
901
+ {
902
+ "code": "SVC",
903
+ "name": "Salvadoran Colón",
904
+ "symbol": "$",
905
+ "countryCode": "SV",
906
+ "flag": "🇸🇻"
907
+ },
908
+ {
909
+ "code": "SYP",
910
+ "name": "Syrian Pound",
911
+ "symbol": "£",
912
+ "countryCode": "SY",
913
+ "flag": "🇸🇾"
914
+ },
915
+ {
916
+ "code": "SZL",
917
+ "name": "Swazi Lilangeni",
918
+ "symbol": "L",
919
+ "countryCode": "SZ",
920
+ "flag": "🇸🇿"
921
+ },
922
+ {
923
+ "code": "THB",
924
+ "name": "Thai Baht",
925
+ "symbol": "฿",
926
+ "countryCode": "TH",
927
+ "flag": "🇹🇭"
928
+ },
929
+ {
930
+ "code": "TJS",
931
+ "name": "Tajikistani Somoni",
932
+ "symbol": "SM",
933
+ "countryCode": "TJ",
934
+ "flag": "🇹🇯"
935
+ },
936
+ {
937
+ "code": "TMT",
938
+ "name": "Turkmenistani Manat",
939
+ "symbol": "T",
940
+ "countryCode": "TM",
941
+ "flag": "🇹🇲"
942
+ },
943
+ {
944
+ "code": "TND",
945
+ "name": "Tunisian Dinar",
946
+ "symbol": "د.ت",
947
+ "countryCode": "TN",
948
+ "flag": "🇹🇳"
949
+ },
950
+ {
951
+ "code": "TOP",
952
+ "name": "Tongan Paʻanga",
953
+ "symbol": "T$",
954
+ "countryCode": "TO",
955
+ "flag": "🇹🇴"
956
+ },
957
+ {
958
+ "code": "TRY",
959
+ "name": "Turkish Lira",
960
+ "symbol": "₺",
961
+ "countryCode": "TR",
962
+ "flag": "🇹🇷"
963
+ },
964
+ {
965
+ "code": "TTD",
966
+ "name": "Trinidad and Tobago Dollar",
967
+ "symbol": "TT$",
968
+ "countryCode": "TT",
969
+ "flag": "🇹🇹"
970
+ },
971
+ {
972
+ "code": "TWD",
973
+ "name": "New Taiwan Dollar",
974
+ "symbol": "NT$",
975
+ "countryCode": "TW",
976
+ "flag": "🇹🇼"
977
+ },
978
+ {
979
+ "code": "TZS",
980
+ "name": "Tanzanian Shilling",
981
+ "symbol": "TSh",
982
+ "countryCode": "TZ",
983
+ "flag": "🇹🇿"
984
+ },
985
+ {
986
+ "code": "UAH",
987
+ "name": "Ukrainian Hryvnia",
988
+ "symbol": "₴",
989
+ "countryCode": "UA",
990
+ "flag": "🇺🇦"
991
+ },
992
+ {
993
+ "code": "UGX",
994
+ "name": "Ugandan Shilling",
995
+ "symbol": "USh",
996
+ "countryCode": "UG",
997
+ "flag": "🇺🇬"
998
+ },
999
+ {
1000
+ "code": "USD",
1001
+ "name": "United States Dollar",
1002
+ "symbol": "$",
1003
+ "countryCode": "US",
1004
+ "flag": "🇺🇸"
1005
+ },
1006
+ {
1007
+ "code": "UYU",
1008
+ "name": "Uruguayan Peso",
1009
+ "symbol": "$U",
1010
+ "countryCode": "UY",
1011
+ "flag": "🇺🇾"
1012
+ },
1013
+ {
1014
+ "code": "UZS",
1015
+ "name": "Uzbekistani Som",
1016
+ "symbol": "сўм",
1017
+ "countryCode": "UZ",
1018
+ "flag": "🇺🇿"
1019
+ },
1020
+ {
1021
+ "code": "VEF",
1022
+ "name": "Venezuelan Bolívar Fuerte",
1023
+ "symbol": "Bs",
1024
+ "countryCode": "VE",
1025
+ "flag": "🇻🇪"
1026
+ },
1027
+ {
1028
+ "code": "VND",
1029
+ "name": "Vietnamese Dong",
1030
+ "symbol": "₫",
1031
+ "countryCode": "VN",
1032
+ "flag": "🇻🇳"
1033
+ },
1034
+ {
1035
+ "code": "VUV",
1036
+ "name": "Vanuatu Vatu",
1037
+ "symbol": "VT",
1038
+ "countryCode": "VU",
1039
+ "flag": "🇻🇺"
1040
+ },
1041
+ {
1042
+ "code": "WST",
1043
+ "name": "Samoan Tala",
1044
+ "symbol": "WS$",
1045
+ "countryCode": "WS",
1046
+ "flag": "🇼🇸"
1047
+ },
1048
+ {
1049
+ "code": "XAF",
1050
+ "name": "CFA Franc BEAC",
1051
+ "symbol": "FCFA",
1052
+ "countryCode": "CM",
1053
+ "flag": "🇨🇲"
1054
+ },
1055
+ {
1056
+ "code": "XCD",
1057
+ "name": "East Caribbean Dollar",
1058
+ "symbol": "$",
1059
+ "countryCode": "AG",
1060
+ "flag": "🇦🇬"
1061
+ },
1062
+ {
1063
+ "code": "XOF",
1064
+ "name": "CFA Franc BCEAO",
1065
+ "symbol": "CFA",
1066
+ "countryCode": "BJ",
1067
+ "flag": "🇧🇯"
1068
+ },
1069
+ {
1070
+ "code": "XPF",
1071
+ "name": "CFP Franc",
1072
+ "symbol": "₣",
1073
+ "countryCode": "PF",
1074
+ "flag": "🇵🇫"
1075
+ },
1076
+ {
1077
+ "code": "YER",
1078
+ "name": "Yemeni Rial",
1079
+ "symbol": "﷼",
1080
+ "countryCode": "YE",
1081
+ "flag": "🇾🇪"
1082
+ },
1083
+ {
1084
+ "code": "ZAR",
1085
+ "name": "South African Rand",
1086
+ "symbol": "R",
1087
+ "countryCode": "ZA",
1088
+ "flag": "🇿🇦"
1089
+ },
1090
+ {
1091
+ "code": "ZMW",
1092
+ "name": "Zambian Kwacha",
1093
+ "symbol": "ZK",
1094
+ "countryCode": "ZM",
1095
+ "flag": "🇿🇲"
1096
+ },
1097
+ {
1098
+ "code": "ZWL",
1099
+ "name": "Zimbabwean Dollar",
1100
+ "symbol": "$",
1101
+ "countryCode": "ZW",
1102
+ "flag": "🇿🇼"
1103
+ }
170
1104
  ];
171
-
172
- class CurrencySelect {
173
- static CURRENCY_RENDER_CHUNK_SIZE = 32;
174
- static CURRENCY_RENDER_CHUNK_DELAY = 50;
175
- _elementRef = inject(ElementRef);
176
- _renderer = inject(Renderer2);
177
- _formField = inject(FORM_FIELD, { optional: true });
178
- static nextId = 0;
179
- id = `ngs-currency-select-${CurrencySelect.nextId++}`;
180
- stateChanges = new Subject();
181
- controlType = 'ngs-currency-select';
182
- autofilled;
183
- searchTerm = model('', /* @ts-ignore */
184
- ...(ngDevMode ? [{ debugName: "searchTerm" }] : /* istanbul ignore next */ []));
185
- visibleCurrencyCount = signal(CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE, /* @ts-ignore */
186
- ...(ngDevMode ? [{ debugName: "visibleCurrencyCount" }] : /* istanbul ignore next */ []));
187
- _valueSignal = signal(null, /* @ts-ignore */
188
- ...(ngDevMode ? [{ debugName: "_valueSignal" }] : /* istanbul ignore next */ []));
189
- _focusedSignal = signal(false, /* @ts-ignore */
190
- ...(ngDevMode ? [{ debugName: "_focusedSignal" }] : /* istanbul ignore next */ []));
191
- _touched = false;
192
- placeholderInputSignal = input('', { ...(ngDevMode ? { debugName: "placeholderInputSignal" } : /* istanbul ignore next */ {}), alias: 'placeholder' });
193
- isRequiredSignal = model(false, { ...(ngDevMode ? { debugName: "isRequiredSignal" } : /* istanbul ignore next */ {}), alias: 'required' });
194
- isDisabledSignal = model(false, { ...(ngDevMode ? { debugName: "isDisabledSignal" } : /* istanbul ignore next */ {}), alias: 'disabled' });
195
- showCountryName = input(false, { ...(ngDevMode ? { debugName: "showCountryName" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
196
- internalCurrencies = currencies;
197
- filteredCurrencies = computed(() => {
198
- const term = this.searchTerm();
199
- const currencies = this.internalCurrencies;
200
- if (!term || term.trim() === '') {
201
- return currencies;
202
- }
203
- const filterValue = term.trim().toLowerCase();
204
- return currencies.filter(currency => currency.name.toLowerCase().includes(filterValue) ||
205
- currency.code.toLowerCase().includes(filterValue));
206
- }, /* @ts-ignore */
207
- ...(ngDevMode ? [{ debugName: "filteredCurrencies" }] : /* istanbul ignore next */ []));
208
- visibleCurrencies = computed(() => {
209
- return this.filteredCurrencies().slice(0, this.visibleCurrencyCount());
210
- }, /* @ts-ignore */
211
- ...(ngDevMode ? [{ debugName: "visibleCurrencies" }] : /* istanbul ignore next */ []));
212
- selectedCurrencyDisplay = computed(() => {
213
- return this.internalCurrencies.find(c => c.code === this._valueSignal());
214
- }, /* @ts-ignore */
215
- ...(ngDevMode ? [{ debugName: "selectedCurrencyDisplay" }] : /* istanbul ignore next */ []));
216
- ngsSelect = viewChild('ngsSelect', /* @ts-ignore */
217
- ...(ngDevMode ? [{ debugName: "ngsSelect" }] : /* istanbul ignore next */ []));
218
- searchInput = viewChild('searchInput', /* @ts-ignore */
219
- ...(ngDevMode ? [{ debugName: "searchInput" }] : /* istanbul ignore next */ []));
220
- fm = inject(FocusMonitor);
221
- elRef = inject(ElementRef);
222
- ngControl = inject(NgControl, { self: true, optional: true });
223
- destroyRef = inject(DestroyRef);
224
- opened = output();
225
- closed = output();
226
- onChangeFn = () => { };
227
- onTouchedFn = () => { };
228
- _currencyRenderTimeout;
229
- constructor() {
230
- if (this.ngControl) {
231
- this.ngControl.valueAccessor = this;
232
- }
233
- this.destroyRef.onDestroy(() => {
234
- this.clearCurrencySelectTimeouts();
235
- this.fm.stopMonitoring(this.elRef.nativeElement);
236
- this.stateChanges.complete();
237
- });
238
- effect(() => {
239
- this.onChangeFn(this._valueSignal());
240
- });
241
- effect(() => {
242
- this._valueSignal();
243
- this._focusedSignal();
244
- this.isRequiredSignal();
245
- this.isDisabledSignal();
246
- this.placeholderInputSignal();
247
- this.ngControl?.control?.status;
248
- this.stateChanges.next();
249
- });
250
- }
251
- ngOnInit() {
252
- if (this.ngControl?.control) {
253
- const control = this.ngControl.control;
254
- if (control.validator) {
255
- const validator = control.validator({});
256
- if (validator && validator['required']) {
257
- this.isRequiredSignal.set(true);
258
- }
259
- }
260
- this.isDisabledSignal.set(control.disabled);
261
- }
262
- if (this._formField) {
263
- this._renderer.addClass(this._formField.elementRef.nativeElement, 'ngs-form-field-type-currency-select');
264
- }
265
- }
266
- ngOnDestroy() {
267
- this.clearCurrencySelectTimeouts();
268
- }
269
- get value() {
270
- return this._valueSignal();
271
- }
272
- set value(val) {
273
- this._valueSignal.set(val);
274
- }
275
- get focused() {
276
- return this._focusedSignal() || (this.ngsSelect?.()?.focused ?? false);
277
- }
278
- onFocusIn() {
279
- if (!this._focusedSignal()) {
280
- this._focusedSignal.set(true);
281
- this.stateChanges.next();
282
- }
283
- }
284
- onFocusOut(event) {
285
- if (!this._elementRef.nativeElement.contains(event.relatedTarget)) {
286
- this._touched = true;
287
- this._focusedSignal.set(false);
288
- this.onTouchedFn();
289
- this.stateChanges.next();
290
- }
291
- }
292
- get placeholder() {
293
- return this.placeholderInputSignal();
294
- }
295
- set placeholder(plh) {
296
- this.stateChanges.next();
297
- }
298
- get required() {
299
- return this.isRequiredSignal();
300
- }
301
- set required(req) {
302
- this.isRequiredSignal.set(coerceBooleanProperty(req));
303
- }
304
- get disabled() {
305
- return this.isDisabledSignal();
306
- }
307
- set disabled(dis) {
308
- this.isDisabledSignal.set(coerceBooleanProperty(dis));
309
- }
310
- get empty() {
311
- return !this._valueSignal();
312
- }
313
- get shouldLabelFloat() {
314
- return this.focused || !this.empty;
315
- }
316
- get errorState() {
317
- return !!(this.ngControl?.invalid && (this.ngControl?.touched || this._touched));
318
- }
319
- get touched() {
320
- return this._touched;
321
- }
322
- setDescribedByIds(ids) {
323
- const controlElement = this.elRef.nativeElement.querySelector('.select-trigger');
324
- if (controlElement) {
325
- controlElement.setAttribute('aria-describedby', ids.join(' '));
326
- }
327
- }
328
- onContainerClick(event) {
329
- if (this.disabled) {
330
- return;
331
- }
332
- this._focusedSignal.set(true);
333
- this.ngsSelect()?.onContainerClick(event);
334
- }
335
- writeValue(value) {
336
- this._valueSignal.set(value);
337
- }
338
- registerOnChange(fn) {
339
- this.onChangeFn = fn;
340
- }
341
- registerOnTouched(fn) {
342
- this.onTouchedFn = () => {
343
- this._touched = true;
344
- fn();
345
- this.stateChanges.next();
346
- };
347
- }
348
- setDisabledState(isDisabled) {
349
- this.disabled = isDisabled;
350
- }
351
- onSelectionChange(event) {
352
- this.value = event.value;
353
- this.onTouchedFn();
354
- }
355
- clearSearch(event) {
356
- event.stopPropagation();
357
- this.onCurrencySearch('');
358
- this.searchInput()?.nativeElement.focus();
359
- }
360
- onCurrencySearch(searchTerm) {
361
- this.searchTerm.set(searchTerm);
362
- this.visibleCurrencyCount.set(CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE);
363
- this.scheduleCurrencyRendering();
364
- }
365
- onSelectOpened() {
366
- this.visibleCurrencyCount.set(this.getInitialVisibleCurrencyCount());
367
- this.scheduleCurrencyRendering();
368
- this.opened.emit();
369
- }
370
- onSelectClosed() {
371
- this.clearCurrencySelectTimeouts();
372
- this._focusedSignal.set(false);
373
- this.searchTerm.set('');
374
- this.visibleCurrencyCount.set(CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE);
375
- if (!this._touched) {
376
- this.onTouchedFn();
377
- }
378
- this.closed.emit();
379
- }
380
- focus() {
381
- this.ngsSelect()?.focus();
382
- }
383
- getInitialVisibleCurrencyCount() {
384
- const currencies = this.filteredCurrencies();
385
- const selectedCurrencyCode = this._valueSignal();
386
- if (!selectedCurrencyCode) {
387
- return CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE;
388
- }
389
- const selectedCurrencyIndex = currencies.findIndex((currency) => currency.code === selectedCurrencyCode);
390
- if (selectedCurrencyIndex === -1) {
391
- return CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE;
392
- }
393
- return Math.min(Math.max(selectedCurrencyIndex + 1, CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE), currencies.length);
394
- }
395
- scheduleCurrencyRendering() {
396
- this.clearCurrencyRenderTimeout();
397
- if (this.visibleCurrencyCount() >= this.filteredCurrencies().length) {
398
- return;
399
- }
400
- this._currencyRenderTimeout = setTimeout(() => {
401
- this.visibleCurrencyCount.update((count) => {
402
- return Math.min(count + CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE, this.filteredCurrencies().length);
403
- });
404
- this.scheduleCurrencyRendering();
405
- }, CurrencySelect.CURRENCY_RENDER_CHUNK_DELAY);
406
- }
407
- clearCurrencySelectTimeouts() {
408
- this.clearCurrencyRenderTimeout();
409
- }
410
- clearCurrencyRenderTimeout() {
411
- if (!this._currencyRenderTimeout) {
412
- return;
413
- }
414
- clearTimeout(this._currencyRenderTimeout);
415
- this._currencyRenderTimeout = undefined;
416
- }
417
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CurrencySelect, deps: [], target: i0.ɵɵFactoryTarget.Component });
418
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: CurrencySelect, isStandalone: true, selector: "ngs-currency-select", inputs: { searchTerm: { classPropertyName: "searchTerm", publicName: "searchTerm", isSignal: true, isRequired: false, transformFunction: null }, placeholderInputSignal: { classPropertyName: "placeholderInputSignal", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, isRequiredSignal: { classPropertyName: "isRequiredSignal", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, isDisabledSignal: { classPropertyName: "isDisabledSignal", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, showCountryName: { classPropertyName: "showCountryName", publicName: "showCountryName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { searchTerm: "searchTermChange", isRequiredSignal: "requiredChange", isDisabledSignal: "disabledChange", opened: "opened", closed: "closed" }, host: { attributes: { "tabindex": "-1" }, listeners: { "focus": "onFocusIn()", "blur": "onFocusOut($event)" }, properties: { "class.floating": "shouldLabelFloat", "id": "id" }, classAttribute: "ngs-currency-select" }, providers: [
419
- {
420
- provide: FormFieldControl,
421
- useExisting: forwardRef(() => CurrencySelect),
422
- },
423
- ], viewQueries: [{ propertyName: "ngsSelect", first: true, predicate: ["ngsSelect"], descendants: true, isSignal: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, isSignal: true }], exportAs: ["ngsCurrencySelect"], ngImport: i0, template: "<ngs-select\n #ngsSelect\n [value]=\"value\"\n (selectionChange)=\"onSelectionChange($event)\"\n (opened)=\"onSelectOpened()\"\n (closed)=\"onSelectClosed()\"\n [placeholder]=\"placeholder\"\n [required]=\"isRequiredSignal()\"\n [disabled]=\"isDisabledSignal()\">\n <ngs-select-trigger class=\"select-trigger\">\n @let selectedCurrency = selectedCurrencyDisplay();\n @if (selectedCurrency) {\n <span class=\"ngs-select-trigger-content\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ selectedCurrency.flag }}</span>\n <span class=\"ngs-select-trigger-text\">\n <span class=\"currency-code uppercase\">\n {{ selectedCurrency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ selectedCurrency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ selectedCurrency.name }}\n }\n </span>\n </span>\n }\n\n @if (!selectedCurrencyDisplay() && placeholder) {\n <span class=\"ngs-select-trigger-text placeholder-text\">\n {{ placeholder }}\n </span>\n }\n </ngs-select-trigger>\n\n <ngs-select-header>\n <div class=\"sticky top-0 z-1 bg-surface-container-lowest\">\n <input #searchInput\n type=\"text\"\n placeholder=\"Search...\"\n autocomplete=\"off\"\n [ngModel]=\"searchTerm()\"\n (ngModelChange)=\"onCurrencySearch($event)\"\n class=\"h-10 w-full border-b border-surface-container-high px-3 text-sm focus:border-b-primary focus:outline-none\">\n @if (searchTerm().trim()) {\n <div class=\"absolute end-1 top-1/2 -translate-y-1/2\">\n <button\n ngsIconButton\n (click)=\"clearSearch($event)\"\n class=\"clear-button\"\n type=\"button\"\n aria-label=\"Clear search\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n }\n </div>\n </ngs-select-header>\n\n @for (currency of visibleCurrencies(); track currency.code) {\n <ngs-option [value]=\"currency.code\">\n <div class=\"select-option-content flex h-full w-full min-w-0 items-center gap-(--ngs-dropdown-item-gap) overflow-hidden whitespace-nowrap\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ currency.flag }}</span>\n <span class=\"select-option-text min-w-0 overflow-hidden text-ellipsis whitespace-nowrap\">\n <span class=\"currency-code uppercase\">\n {{ currency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ currency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ currency.name }}\n }\n </span>\n </div>\n </ngs-option>\n } @empty {\n @if (searchTerm()) {\n <div class=\"text-sm px-4 py-3\">\n <span i18n>Currency not found</span>.\n </div>\n }\n }\n\n @if (visibleCurrencyCount() < filteredCurrencies().length) {\n <div class=\"select-loading\">\n Loading more currencies...\n </div>\n }\n</ngs-select>\n", styles: [":host{display:block}:host .placeholder-text{color:var(--ngs-select-placeholder-color, var(--ngs-field-label-color))}:host .select-loading{padding:calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 4);color:var(--ngs-color-on-surface-variant);font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Option, selector: "ngs-option", inputs: ["id", "value", "data", "disabled", "selected"], outputs: ["onSelectionChange"], exportAs: ["ngsOption"] }, { kind: "component", type: Icon, selector: "ngs-icon", inputs: ["name"], exportAs: ["ngsIcon"] }, { kind: "component", type: Select, selector: "ngs-select", inputs: ["id", "placeholder", "disabled", "required", "multiple", "hideCheckIcon", "clearable", "dataSource", "pageSize", "searchable", "searchDebounce", "minSearchLength", "loadOnOpen", "aria-label", "tabIndex", "aria-describedby", "value"], outputs: ["selectionChange", "opened", "closed", "valueChange"], exportAs: ["ngsSelect"] }, { kind: "component", type: SelectHeader, selector: "ngs-select-header" }, { kind: "directive", type: SelectTrigger, selector: "ngs-select-trigger" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: Button, selector: " button[ngsButton], button[ngsIconButton], a[ngsButton], a[ngsIconButton] ", inputs: ["ngsButton", "ngsIconButton", "loading", "disabled", "disabledInteractive", "disableRipple", "reverse", "fullWidth", "hideTextOnMobile"], exportAs: ["ngsButton"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
424
- }
425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CurrencySelect, decorators: [{
426
- type: Component,
427
- args: [{ selector: 'ngs-currency-select', exportAs: 'ngsCurrencySelect', providers: [
428
- {
429
- provide: FormFieldControl,
430
- useExisting: forwardRef(() => CurrencySelect),
431
- },
432
- ], host: {
433
- 'class': 'ngs-currency-select',
434
- '[class.floating]': 'shouldLabelFloat',
435
- '[id]': 'id',
436
- 'tabindex': '-1',
437
- '(focus)': 'onFocusIn()',
438
- '(blur)': 'onFocusOut($event)',
439
- }, changeDetection: ChangeDetectionStrategy.Eager, imports: [
440
- Option,
441
- Icon,
442
- Select,
443
- SelectHeader,
444
- SelectTrigger,
445
- FormsModule,
446
- Button
447
- ], template: "<ngs-select\n #ngsSelect\n [value]=\"value\"\n (selectionChange)=\"onSelectionChange($event)\"\n (opened)=\"onSelectOpened()\"\n (closed)=\"onSelectClosed()\"\n [placeholder]=\"placeholder\"\n [required]=\"isRequiredSignal()\"\n [disabled]=\"isDisabledSignal()\">\n <ngs-select-trigger class=\"select-trigger\">\n @let selectedCurrency = selectedCurrencyDisplay();\n @if (selectedCurrency) {\n <span class=\"ngs-select-trigger-content\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ selectedCurrency.flag }}</span>\n <span class=\"ngs-select-trigger-text\">\n <span class=\"currency-code uppercase\">\n {{ selectedCurrency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ selectedCurrency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ selectedCurrency.name }}\n }\n </span>\n </span>\n }\n\n @if (!selectedCurrencyDisplay() && placeholder) {\n <span class=\"ngs-select-trigger-text placeholder-text\">\n {{ placeholder }}\n </span>\n }\n </ngs-select-trigger>\n\n <ngs-select-header>\n <div class=\"sticky top-0 z-1 bg-surface-container-lowest\">\n <input #searchInput\n type=\"text\"\n placeholder=\"Search...\"\n autocomplete=\"off\"\n [ngModel]=\"searchTerm()\"\n (ngModelChange)=\"onCurrencySearch($event)\"\n class=\"h-10 w-full border-b border-surface-container-high px-3 text-sm focus:border-b-primary focus:outline-none\">\n @if (searchTerm().trim()) {\n <div class=\"absolute end-1 top-1/2 -translate-y-1/2\">\n <button\n ngsIconButton\n (click)=\"clearSearch($event)\"\n class=\"clear-button\"\n type=\"button\"\n aria-label=\"Clear search\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n }\n </div>\n </ngs-select-header>\n\n @for (currency of visibleCurrencies(); track currency.code) {\n <ngs-option [value]=\"currency.code\">\n <div class=\"select-option-content flex h-full w-full min-w-0 items-center gap-(--ngs-dropdown-item-gap) overflow-hidden whitespace-nowrap\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ currency.flag }}</span>\n <span class=\"select-option-text min-w-0 overflow-hidden text-ellipsis whitespace-nowrap\">\n <span class=\"currency-code uppercase\">\n {{ currency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ currency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ currency.name }}\n }\n </span>\n </div>\n </ngs-option>\n } @empty {\n @if (searchTerm()) {\n <div class=\"text-sm px-4 py-3\">\n <span i18n>Currency not found</span>.\n </div>\n }\n }\n\n @if (visibleCurrencyCount() < filteredCurrencies().length) {\n <div class=\"select-loading\">\n Loading more currencies...\n </div>\n }\n</ngs-select>\n", styles: [":host{display:block}:host .placeholder-text{color:var(--ngs-select-placeholder-color, var(--ngs-field-label-color))}:host .select-loading{padding:calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 4);color:var(--ngs-color-on-surface-variant);font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
448
- }], ctorParameters: () => [], propDecorators: { searchTerm: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchTerm", required: false }] }, { type: i0.Output, args: ["searchTermChange"] }], placeholderInputSignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], isRequiredSignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }, { type: i0.Output, args: ["requiredChange"] }], isDisabledSignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], showCountryName: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCountryName", required: false }] }], ngsSelect: [{ type: i0.ViewChild, args: ['ngsSelect', { isSignal: true }] }], searchInput: [{ type: i0.ViewChild, args: ['searchInput', { isSignal: true }] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
449
-
450
- /**
451
- * Generated bundle index. Do not edit.
452
- */
453
-
1105
+ var CurrencySelect = class CurrencySelect {
1106
+ static CURRENCY_RENDER_CHUNK_SIZE = 32;
1107
+ static CURRENCY_RENDER_CHUNK_DELAY = 50;
1108
+ _elementRef = inject(ElementRef);
1109
+ _renderer = inject(Renderer2);
1110
+ _formField = inject(FORM_FIELD, { optional: true });
1111
+ static nextId = 0;
1112
+ id = `ngs-currency-select-${CurrencySelect.nextId++}`;
1113
+ stateChanges = new Subject();
1114
+ controlType = "ngs-currency-select";
1115
+ autofilled;
1116
+ searchTerm = model("", ...ngDevMode ? [{ debugName: "searchTerm" }] : /* istanbul ignore next */ []);
1117
+ visibleCurrencyCount = signal(CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE, ...ngDevMode ? [{ debugName: "visibleCurrencyCount" }] : /* istanbul ignore next */ []);
1118
+ value = model(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
1119
+ readonly = input(false, {
1120
+ ...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
1121
+ transform: booleanAttribute
1122
+ });
1123
+ invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
1124
+ touched = input(false, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
1125
+ touch = output();
1126
+ _focusedSignal = signal(false, ...ngDevMode ? [{ debugName: "_focusedSignal" }] : /* istanbul ignore next */ []);
1127
+ placeholderInputSignal = input("", {
1128
+ ...ngDevMode ? { debugName: "placeholderInputSignal" } : /* istanbul ignore next */ {},
1129
+ alias: "placeholder"
1130
+ });
1131
+ required = input(false, {
1132
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
1133
+ transform: booleanAttribute
1134
+ });
1135
+ disabled = input(false, {
1136
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
1137
+ transform: booleanAttribute
1138
+ });
1139
+ showCountryName = input(false, {
1140
+ ...ngDevMode ? { debugName: "showCountryName" } : /* istanbul ignore next */ {},
1141
+ transform: booleanAttribute
1142
+ });
1143
+ internalCurrencies = currencies;
1144
+ filteredCurrencies = computed(() => {
1145
+ const term = this.searchTerm();
1146
+ const currencies = this.internalCurrencies;
1147
+ if (!term || term.trim() === "") return currencies;
1148
+ const filterValue = term.trim().toLowerCase();
1149
+ return currencies.filter((currency) => currency.name.toLowerCase().includes(filterValue) || currency.code.toLowerCase().includes(filterValue));
1150
+ }, ...ngDevMode ? [{ debugName: "filteredCurrencies" }] : /* istanbul ignore next */ []);
1151
+ visibleCurrencies = computed(() => {
1152
+ return this.filteredCurrencies().slice(0, this.visibleCurrencyCount());
1153
+ }, ...ngDevMode ? [{ debugName: "visibleCurrencies" }] : /* istanbul ignore next */ []);
1154
+ selectedCurrencyDisplay = computed(() => {
1155
+ return this.internalCurrencies.find((c) => c.code === this.value());
1156
+ }, ...ngDevMode ? [{ debugName: "selectedCurrencyDisplay" }] : /* istanbul ignore next */ []);
1157
+ ngsSelect = viewChild("ngsSelect", ...ngDevMode ? [{ debugName: "ngsSelect" }] : /* istanbul ignore next */ []);
1158
+ searchInput = viewChild("searchInput", ...ngDevMode ? [{ debugName: "searchInput" }] : /* istanbul ignore next */ []);
1159
+ fm = inject(FocusMonitor);
1160
+ elRef = inject(ElementRef);
1161
+ ngControl = inject(NgControl, {
1162
+ self: true,
1163
+ optional: true
1164
+ });
1165
+ destroyRef = inject(DestroyRef);
1166
+ opened = output();
1167
+ closed = output();
1168
+ _currencyRenderTimeout;
1169
+ constructor() {
1170
+ this.destroyRef.onDestroy(() => {
1171
+ this.clearCurrencySelectTimeouts();
1172
+ this.fm.stopMonitoring(this.elRef.nativeElement);
1173
+ this.stateChanges.complete();
1174
+ });
1175
+ effect(() => {
1176
+ this.value();
1177
+ this._focusedSignal();
1178
+ this.required();
1179
+ this.disabled();
1180
+ this.placeholderInputSignal();
1181
+ this.ngControl?.control?.status;
1182
+ this.stateChanges.next();
1183
+ });
1184
+ }
1185
+ ngOnInit() {
1186
+ if (this._formField) this._renderer.addClass(this._formField.elementRef.nativeElement, "ngs-form-field-type-currency-select");
1187
+ }
1188
+ ngOnDestroy() {
1189
+ this.clearCurrencySelectTimeouts();
1190
+ }
1191
+ get focused() {
1192
+ return this._focusedSignal() || (this.ngsSelect?.()?.focused ?? false);
1193
+ }
1194
+ onFocusIn() {
1195
+ if (!this._focusedSignal()) {
1196
+ this._focusedSignal.set(true);
1197
+ this.stateChanges.next();
1198
+ }
1199
+ }
1200
+ onFocusOut(event) {
1201
+ if (!this._elementRef.nativeElement.contains(event.relatedTarget)) {
1202
+ this._focusedSignal.set(false);
1203
+ this.touch.emit();
1204
+ this.stateChanges.next();
1205
+ }
1206
+ }
1207
+ get placeholder() {
1208
+ return this.placeholderInputSignal();
1209
+ }
1210
+ set placeholder(plh) {
1211
+ this.stateChanges.next();
1212
+ }
1213
+ get empty() {
1214
+ return !this.value();
1215
+ }
1216
+ get shouldLabelFloat() {
1217
+ return this.focused || !this.empty;
1218
+ }
1219
+ get errorState() {
1220
+ return !!((this.invalid() || this.ngControl?.invalid) && this.touched());
1221
+ }
1222
+ setDescribedByIds(ids) {
1223
+ const controlElement = this.elRef.nativeElement.querySelector(".select-trigger");
1224
+ if (controlElement) controlElement.setAttribute("aria-describedby", ids.join(" "));
1225
+ }
1226
+ onContainerClick(event) {
1227
+ if (this.disabled()) return;
1228
+ this._focusedSignal.set(true);
1229
+ this.ngsSelect()?.onContainerClick(event);
1230
+ }
1231
+ onSelectionChange(event) {
1232
+ this.value.set(event.value);
1233
+ }
1234
+ clearSearch(event) {
1235
+ event.stopPropagation();
1236
+ this.onCurrencySearch("");
1237
+ this.searchInput()?.nativeElement.focus();
1238
+ }
1239
+ onCurrencySearch(searchTerm) {
1240
+ this.searchTerm.set(searchTerm);
1241
+ this.visibleCurrencyCount.set(CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE);
1242
+ this.scheduleCurrencyRendering();
1243
+ }
1244
+ onSelectOpened() {
1245
+ this.visibleCurrencyCount.set(this.getInitialVisibleCurrencyCount());
1246
+ this.scheduleCurrencyRendering();
1247
+ this.opened.emit();
1248
+ }
1249
+ onSelectClosed() {
1250
+ this.clearCurrencySelectTimeouts();
1251
+ this._focusedSignal.set(false);
1252
+ this.searchTerm.set("");
1253
+ this.visibleCurrencyCount.set(CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE);
1254
+ this.closed.emit();
1255
+ }
1256
+ focus() {
1257
+ this.ngsSelect()?.focus();
1258
+ }
1259
+ getInitialVisibleCurrencyCount() {
1260
+ const currencies = this.filteredCurrencies();
1261
+ const selectedCurrencyCode = this.value();
1262
+ if (!selectedCurrencyCode) return CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE;
1263
+ const selectedCurrencyIndex = currencies.findIndex((currency) => currency.code === selectedCurrencyCode);
1264
+ if (selectedCurrencyIndex === -1) return CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE;
1265
+ return Math.min(Math.max(selectedCurrencyIndex + 1, CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE), currencies.length);
1266
+ }
1267
+ scheduleCurrencyRendering() {
1268
+ this.clearCurrencyRenderTimeout();
1269
+ if (this.visibleCurrencyCount() >= this.filteredCurrencies().length) return;
1270
+ this._currencyRenderTimeout = setTimeout(() => {
1271
+ this.visibleCurrencyCount.update((count) => {
1272
+ return Math.min(count + CurrencySelect.CURRENCY_RENDER_CHUNK_SIZE, this.filteredCurrencies().length);
1273
+ });
1274
+ this.scheduleCurrencyRendering();
1275
+ }, CurrencySelect.CURRENCY_RENDER_CHUNK_DELAY);
1276
+ }
1277
+ clearCurrencySelectTimeouts() {
1278
+ this.clearCurrencyRenderTimeout();
1279
+ }
1280
+ clearCurrencyRenderTimeout() {
1281
+ if (!this._currencyRenderTimeout) return;
1282
+ clearTimeout(this._currencyRenderTimeout);
1283
+ this._currencyRenderTimeout = void 0;
1284
+ }
1285
+ static ɵfac = i0.ɵɵngDeclareFactory({
1286
+ minVersion: "12.0.0",
1287
+ version: "22.3.0",
1288
+ ngImport: i0,
1289
+ type: CurrencySelect,
1290
+ deps: [],
1291
+ target: i0.ɵɵFactoryTarget.Component
1292
+ });
1293
+ static ɵcmp = i0.ɵɵngDeclareComponent({
1294
+ minVersion: "17.0.0",
1295
+ version: "22.3.0",
1296
+ type: CurrencySelect,
1297
+ isStandalone: true,
1298
+ selector: "ngs-currency-select",
1299
+ inputs: {
1300
+ searchTerm: {
1301
+ classPropertyName: "searchTerm",
1302
+ publicName: "searchTerm",
1303
+ isSignal: true,
1304
+ isRequired: false,
1305
+ transformFunction: null
1306
+ },
1307
+ value: {
1308
+ classPropertyName: "value",
1309
+ publicName: "value",
1310
+ isSignal: true,
1311
+ isRequired: false,
1312
+ transformFunction: null
1313
+ },
1314
+ readonly: {
1315
+ classPropertyName: "readonly",
1316
+ publicName: "readonly",
1317
+ isSignal: true,
1318
+ isRequired: false,
1319
+ transformFunction: null
1320
+ },
1321
+ invalid: {
1322
+ classPropertyName: "invalid",
1323
+ publicName: "invalid",
1324
+ isSignal: true,
1325
+ isRequired: false,
1326
+ transformFunction: null
1327
+ },
1328
+ touched: {
1329
+ classPropertyName: "touched",
1330
+ publicName: "touched",
1331
+ isSignal: true,
1332
+ isRequired: false,
1333
+ transformFunction: null
1334
+ },
1335
+ placeholderInputSignal: {
1336
+ classPropertyName: "placeholderInputSignal",
1337
+ publicName: "placeholder",
1338
+ isSignal: true,
1339
+ isRequired: false,
1340
+ transformFunction: null
1341
+ },
1342
+ required: {
1343
+ classPropertyName: "required",
1344
+ publicName: "required",
1345
+ isSignal: true,
1346
+ isRequired: false,
1347
+ transformFunction: null
1348
+ },
1349
+ disabled: {
1350
+ classPropertyName: "disabled",
1351
+ publicName: "disabled",
1352
+ isSignal: true,
1353
+ isRequired: false,
1354
+ transformFunction: null
1355
+ },
1356
+ showCountryName: {
1357
+ classPropertyName: "showCountryName",
1358
+ publicName: "showCountryName",
1359
+ isSignal: true,
1360
+ isRequired: false,
1361
+ transformFunction: null
1362
+ }
1363
+ },
1364
+ outputs: {
1365
+ searchTerm: "searchTermChange",
1366
+ value: "valueChange",
1367
+ touch: "touch",
1368
+ opened: "opened",
1369
+ closed: "closed"
1370
+ },
1371
+ host: {
1372
+ attributes: { "tabindex": "-1" },
1373
+ listeners: {
1374
+ "focus": "onFocusIn()",
1375
+ "blur": "onFocusOut($event)"
1376
+ },
1377
+ properties: {
1378
+ "attr.aria-readonly": "readonly() || null",
1379
+ "class.floating": "shouldLabelFloat",
1380
+ "id": "id"
1381
+ },
1382
+ classAttribute: "ngs-currency-select"
1383
+ },
1384
+ providers: [{
1385
+ provide: FormFieldControl,
1386
+ useExisting: forwardRef(() => CurrencySelect)
1387
+ }],
1388
+ viewQueries: [{
1389
+ propertyName: "ngsSelect",
1390
+ first: true,
1391
+ predicate: ["ngsSelect"],
1392
+ descendants: true,
1393
+ isSignal: true
1394
+ }, {
1395
+ propertyName: "searchInput",
1396
+ first: true,
1397
+ predicate: ["searchInput"],
1398
+ descendants: true,
1399
+ isSignal: true
1400
+ }],
1401
+ exportAs: ["ngsCurrencySelect"],
1402
+ ngImport: i0,
1403
+ template: "<ngs-select\n #ngsSelect\n [value]=\"value()\"\n (selectionChange)=\"onSelectionChange($event)\"\n (opened)=\"onSelectOpened()\"\n (closed)=\"onSelectClosed()\"\n [placeholder]=\"placeholder\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n (touch)=\"touch.emit()\">\n <ngs-select-trigger class=\"select-trigger\">\n @let selectedCurrency = selectedCurrencyDisplay();\n @if (selectedCurrency) {\n <span class=\"ngs-select-trigger-content\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ selectedCurrency.flag }}</span>\n <span class=\"ngs-select-trigger-text\">\n <span class=\"currency-code uppercase\">\n {{ selectedCurrency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ selectedCurrency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ selectedCurrency.name }}\n }\n </span>\n </span>\n }\n\n @if (!selectedCurrencyDisplay() && placeholder) {\n <span class=\"ngs-select-trigger-text placeholder-text\">\n {{ placeholder }}\n </span>\n }\n </ngs-select-trigger>\n\n <ngs-select-header>\n <div class=\"sticky top-0 z-1 bg-surface-container-lowest\">\n <input #searchInput\n type=\"text\"\n placeholder=\"Search...\"\n autocomplete=\"off\"\n [ngModel]=\"searchTerm()\"\n (ngModelChange)=\"onCurrencySearch($event)\"\n class=\"h-10 w-full border-b border-surface-container-high px-3 text-sm focus:border-b-primary focus:outline-none\">\n @if (searchTerm().trim()) {\n <div class=\"absolute end-1 top-1/2 -translate-y-1/2\">\n <button\n ngsIconButton\n (click)=\"clearSearch($event)\"\n class=\"clear-button\"\n type=\"button\"\n aria-label=\"Clear search\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n }\n </div>\n </ngs-select-header>\n\n @for (currency of visibleCurrencies(); track currency.code) {\n <ngs-option [value]=\"currency.code\">\n <div class=\"select-option-content flex h-full w-full min-w-0 items-center gap-(--ngs-dropdown-item-gap) overflow-hidden whitespace-nowrap\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ currency.flag }}</span>\n <span class=\"select-option-text min-w-0 overflow-hidden text-ellipsis whitespace-nowrap\">\n <span class=\"currency-code uppercase\">\n {{ currency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ currency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ currency.name }}\n }\n </span>\n </div>\n </ngs-option>\n } @empty {\n @if (searchTerm()) {\n <div class=\"text-sm px-4 py-3\">\n <span i18n>Currency not found</span>.\n </div>\n }\n }\n\n @if (visibleCurrencyCount() < filteredCurrencies().length) {\n <div class=\"select-loading\">\n Loading more currencies...\n </div>\n }\n</ngs-select>\n",
1404
+ styles: [":host{display:block}:host .placeholder-text{color:var(--ngs-select-placeholder-color, var(--ngs-field-label-color))}:host .select-loading{padding:calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 4);color:var(--ngs-color-on-surface-variant);font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
1405
+ dependencies: [
1406
+ {
1407
+ kind: "component",
1408
+ type: Option,
1409
+ selector: "ngs-option",
1410
+ inputs: [
1411
+ "id",
1412
+ "value",
1413
+ "data",
1414
+ "disabled",
1415
+ "selected"
1416
+ ],
1417
+ outputs: ["onSelectionChange"],
1418
+ exportAs: ["ngsOption"]
1419
+ },
1420
+ {
1421
+ kind: "component",
1422
+ type: Icon,
1423
+ selector: "ngs-icon",
1424
+ inputs: ["name"],
1425
+ exportAs: ["ngsIcon"]
1426
+ },
1427
+ {
1428
+ kind: "component",
1429
+ type: Select,
1430
+ selector: "ngs-select",
1431
+ inputs: [
1432
+ "readonly",
1433
+ "invalid",
1434
+ "touched",
1435
+ "id",
1436
+ "placeholder",
1437
+ "disabled",
1438
+ "required",
1439
+ "multiple",
1440
+ "hideCheckIcon",
1441
+ "clearable",
1442
+ "dataSource",
1443
+ "pageSize",
1444
+ "searchable",
1445
+ "searchDebounce",
1446
+ "minSearchLength",
1447
+ "loadOnOpen",
1448
+ "aria-label",
1449
+ "tabIndex",
1450
+ "aria-describedby",
1451
+ "value"
1452
+ ],
1453
+ outputs: [
1454
+ "touch",
1455
+ "selectionChange",
1456
+ "opened",
1457
+ "closed",
1458
+ "valueChange"
1459
+ ],
1460
+ exportAs: ["ngsSelect"]
1461
+ },
1462
+ {
1463
+ kind: "component",
1464
+ type: SelectHeader,
1465
+ selector: "ngs-select-header"
1466
+ },
1467
+ {
1468
+ kind: "directive",
1469
+ type: SelectTrigger,
1470
+ selector: "ngs-select-trigger"
1471
+ },
1472
+ {
1473
+ kind: "ngmodule",
1474
+ type: FormsModule
1475
+ },
1476
+ {
1477
+ kind: "directive",
1478
+ type: i1.DefaultValueAccessor,
1479
+ selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]"
1480
+ },
1481
+ {
1482
+ kind: "directive",
1483
+ type: i1.NgControlStatus,
1484
+ selector: "[formControlName],[ngModel],[formControl]"
1485
+ },
1486
+ {
1487
+ kind: "directive",
1488
+ type: i1.NgModel,
1489
+ selector: "[ngModel]:not([formControlName]):not([formControl])",
1490
+ inputs: [
1491
+ "name",
1492
+ "disabled",
1493
+ "ngModel",
1494
+ "ngModelOptions"
1495
+ ],
1496
+ outputs: ["ngModelChange"],
1497
+ exportAs: ["ngModel"]
1498
+ },
1499
+ {
1500
+ kind: "component",
1501
+ type: Button,
1502
+ selector: "\n button[ngsButton], button[ngsIconButton],\n a[ngsButton], a[ngsIconButton]\n ",
1503
+ inputs: [
1504
+ "ngsButton",
1505
+ "ngsIconButton",
1506
+ "loading",
1507
+ "disabled",
1508
+ "disabledInteractive",
1509
+ "disableRipple",
1510
+ "reverse",
1511
+ "fullWidth",
1512
+ "hideTextOnMobile"
1513
+ ],
1514
+ exportAs: ["ngsButton"]
1515
+ }
1516
+ ],
1517
+ changeDetection: i0.ChangeDetectionStrategy.Eager
1518
+ });
1519
+ };
1520
+ i0.ɵɵngDeclareClassMetadata({
1521
+ minVersion: "12.0.0",
1522
+ version: "22.3.0",
1523
+ ngImport: i0,
1524
+ type: CurrencySelect,
1525
+ decorators: [{
1526
+ type: Component,
1527
+ args: [{
1528
+ selector: "ngs-currency-select",
1529
+ exportAs: "ngsCurrencySelect",
1530
+ providers: [{
1531
+ provide: FormFieldControl,
1532
+ useExisting: forwardRef(() => CurrencySelect)
1533
+ }],
1534
+ host: {
1535
+ "[attr.aria-readonly]": "readonly() || null",
1536
+ "class": "ngs-currency-select",
1537
+ "[class.floating]": "shouldLabelFloat",
1538
+ "[id]": "id",
1539
+ "tabindex": "-1",
1540
+ "(focus)": "onFocusIn()",
1541
+ "(blur)": "onFocusOut($event)"
1542
+ },
1543
+ changeDetection: ChangeDetectionStrategy.Eager,
1544
+ imports: [
1545
+ Option,
1546
+ Icon,
1547
+ Select,
1548
+ SelectHeader,
1549
+ SelectTrigger,
1550
+ FormsModule,
1551
+ Button
1552
+ ],
1553
+ template: "<ngs-select\n #ngsSelect\n [value]=\"value()\"\n (selectionChange)=\"onSelectionChange($event)\"\n (opened)=\"onSelectOpened()\"\n (closed)=\"onSelectClosed()\"\n [placeholder]=\"placeholder\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n (touch)=\"touch.emit()\">\n <ngs-select-trigger class=\"select-trigger\">\n @let selectedCurrency = selectedCurrencyDisplay();\n @if (selectedCurrency) {\n <span class=\"ngs-select-trigger-content\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ selectedCurrency.flag }}</span>\n <span class=\"ngs-select-trigger-text\">\n <span class=\"currency-code uppercase\">\n {{ selectedCurrency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ selectedCurrency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ selectedCurrency.name }}\n }\n </span>\n </span>\n }\n\n @if (!selectedCurrencyDisplay() && placeholder) {\n <span class=\"ngs-select-trigger-text placeholder-text\">\n {{ placeholder }}\n </span>\n }\n </ngs-select-trigger>\n\n <ngs-select-header>\n <div class=\"sticky top-0 z-1 bg-surface-container-lowest\">\n <input #searchInput\n type=\"text\"\n placeholder=\"Search...\"\n autocomplete=\"off\"\n [ngModel]=\"searchTerm()\"\n (ngModelChange)=\"onCurrencySearch($event)\"\n class=\"h-10 w-full border-b border-surface-container-high px-3 text-sm focus:border-b-primary focus:outline-none\">\n @if (searchTerm().trim()) {\n <div class=\"absolute end-1 top-1/2 -translate-y-1/2\">\n <button\n ngsIconButton\n (click)=\"clearSearch($event)\"\n class=\"clear-button\"\n type=\"button\"\n aria-label=\"Clear search\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n }\n </div>\n </ngs-select-header>\n\n @for (currency of visibleCurrencies(); track currency.code) {\n <ngs-option [value]=\"currency.code\">\n <div class=\"select-option-content flex h-full w-full min-w-0 items-center gap-(--ngs-dropdown-item-gap) overflow-hidden whitespace-nowrap\">\n <span class=\"flag-icon inline-flex size-5.5 flex-none items-center justify-center text-[22px] leading-none\" aria-hidden=\"true\">{{ currency.flag }}</span>\n <span class=\"select-option-text min-w-0 overflow-hidden text-ellipsis whitespace-nowrap\">\n <span class=\"currency-code uppercase\">\n {{ currency.code }}\n <span class=\"currency-symbol ms-0.5 inline-block text-neutral-500\">{{ currency.symbol }}</span>\n </span>\n @if (showCountryName()) {\n &ndash; {{ currency.name }}\n }\n </span>\n </div>\n </ngs-option>\n } @empty {\n @if (searchTerm()) {\n <div class=\"text-sm px-4 py-3\">\n <span i18n>Currency not found</span>.\n </div>\n }\n }\n\n @if (visibleCurrencyCount() < filteredCurrencies().length) {\n <div class=\"select-loading\">\n Loading more currencies...\n </div>\n }\n</ngs-select>\n",
1554
+ styles: [":host{display:block}:host .placeholder-text{color:var(--ngs-select-placeholder-color, var(--ngs-field-label-color))}:host .select-loading{padding:calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 4);color:var(--ngs-color-on-surface-variant);font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
1555
+ }]
1556
+ }],
1557
+ ctorParameters: () => [],
1558
+ propDecorators: {
1559
+ searchTerm: [{
1560
+ type: i0.Input,
1561
+ args: [{
1562
+ isSignal: true,
1563
+ alias: "searchTerm",
1564
+ required: false
1565
+ }]
1566
+ }, {
1567
+ type: i0.Output,
1568
+ args: ["searchTermChange"]
1569
+ }],
1570
+ value: [{
1571
+ type: i0.Input,
1572
+ args: [{
1573
+ isSignal: true,
1574
+ alias: "value",
1575
+ required: false
1576
+ }]
1577
+ }, {
1578
+ type: i0.Output,
1579
+ args: ["valueChange"]
1580
+ }],
1581
+ readonly: [{
1582
+ type: i0.Input,
1583
+ args: [{
1584
+ isSignal: true,
1585
+ alias: "readonly",
1586
+ required: false
1587
+ }]
1588
+ }],
1589
+ invalid: [{
1590
+ type: i0.Input,
1591
+ args: [{
1592
+ isSignal: true,
1593
+ alias: "invalid",
1594
+ required: false
1595
+ }]
1596
+ }],
1597
+ touched: [{
1598
+ type: i0.Input,
1599
+ args: [{
1600
+ isSignal: true,
1601
+ alias: "touched",
1602
+ required: false
1603
+ }]
1604
+ }],
1605
+ touch: [{
1606
+ type: i0.Output,
1607
+ args: ["touch"]
1608
+ }],
1609
+ placeholderInputSignal: [{
1610
+ type: i0.Input,
1611
+ args: [{
1612
+ isSignal: true,
1613
+ alias: "placeholder",
1614
+ required: false
1615
+ }]
1616
+ }],
1617
+ required: [{
1618
+ type: i0.Input,
1619
+ args: [{
1620
+ isSignal: true,
1621
+ alias: "required",
1622
+ required: false
1623
+ }]
1624
+ }],
1625
+ disabled: [{
1626
+ type: i0.Input,
1627
+ args: [{
1628
+ isSignal: true,
1629
+ alias: "disabled",
1630
+ required: false
1631
+ }]
1632
+ }],
1633
+ showCountryName: [{
1634
+ type: i0.Input,
1635
+ args: [{
1636
+ isSignal: true,
1637
+ alias: "showCountryName",
1638
+ required: false
1639
+ }]
1640
+ }],
1641
+ ngsSelect: [{
1642
+ type: i0.ViewChild,
1643
+ args: ["ngsSelect", { isSignal: true }]
1644
+ }],
1645
+ searchInput: [{
1646
+ type: i0.ViewChild,
1647
+ args: ["searchInput", { isSignal: true }]
1648
+ }],
1649
+ opened: [{
1650
+ type: i0.Output,
1651
+ args: ["opened"]
1652
+ }],
1653
+ closed: [{
1654
+ type: i0.Output,
1655
+ args: ["closed"]
1656
+ }]
1657
+ }
1658
+ });
454
1659
  export { CurrencySelect, currencies };
455
- //# sourceMappingURL=ngstarter-ui-components-currency-select.mjs.map
1660
+
1661
+ //# sourceMappingURL=ngstarter-ui-components-currency-select.mjs.map