@africanies/angular-web-sdk 0.1.11 → 0.1.13

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 (228) hide show
  1. package/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +66 -1
  2. package/.nx/cache/13293303228070520113/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -0
  3. package/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +6 -1
  4. package/.nx/cache/{6673686859704879504 → 13387631073062967069}/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +31 -13
  5. package/.nx/cache/13387631073062967069/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -0
  6. package/.nx/cache/{6673686859704879504 → 13387631073062967069}/dist/libs/africanies-theme/tailwind-preset.cjs +85 -17
  7. package/.nx/cache/{6673686859704879504 → 13387631073062967069}/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +7 -3
  8. package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/README.md +31 -0
  9. package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs +249 -0
  10. package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs.map +1 -0
  11. package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/package.json +26 -0
  12. package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/types/africanies-africanies-storage.d.ts +210 -0
  13. package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +2998 -1122
  14. package/.nx/cache/2427575433215940812/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
  15. package/.nx/cache/{14995846848874973576 → 2427575433215940812}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +450 -140
  16. package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/assets/icons.sprite.svg +7 -0
  17. package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +7 -0
  18. package/.nx/cache/7730350229628359718/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +1 -0
  19. package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/types/africanies-africanies-icons.d.ts +2 -2
  20. package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +2572 -962
  21. package/.nx/cache/7821397806208783174/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
  22. package/.nx/cache/{14876618240301288353 → 7821397806208783174}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +460 -147
  23. package/.nx/cache/run.json +35 -35
  24. package/.nx/cache/terminalOutputs/10603154579345867998 +397 -0
  25. package/.nx/cache/terminalOutputs/12354163057083828162 +80 -0
  26. package/.nx/cache/terminalOutputs/{9040451482998546630 → 13293303228070520113} +1 -1
  27. package/.nx/cache/terminalOutputs/{6673686859704879504 → 13387631073062967069} +1 -1
  28. package/.nx/cache/terminalOutputs/{14061940909886036014 → 14876351543379349919} +46 -43
  29. package/.nx/cache/terminalOutputs/15336883221450327589 +21 -0
  30. package/.nx/cache/terminalOutputs/16208231681037145050 +87 -0
  31. package/.nx/cache/terminalOutputs/{13466509747676776487 → 16704640000606796352} +6 -6
  32. package/.nx/cache/terminalOutputs/1811006905937373707 +74 -0
  33. package/.nx/cache/terminalOutputs/2005781115771702035 +8 -0
  34. package/.nx/cache/terminalOutputs/2360743690449633551 +21 -0
  35. package/.nx/cache/terminalOutputs/{14876618240301288353 → 2427575433215940812} +2 -2
  36. package/.nx/cache/terminalOutputs/2981230413857865352 +8 -0
  37. package/.nx/cache/terminalOutputs/3243550283886864639 +8 -0
  38. package/.nx/cache/terminalOutputs/3380188914363501109 +231 -0
  39. package/.nx/cache/terminalOutputs/3699068646900552690 +8 -0
  40. package/.nx/cache/terminalOutputs/5175669339257931410 +8 -0
  41. package/.nx/cache/terminalOutputs/6040230831125637867 +8 -0
  42. package/.nx/cache/terminalOutputs/7730350229628359718 +21 -0
  43. package/.nx/cache/terminalOutputs/{14995846848874973576 → 7821397806208783174} +2 -2
  44. package/.nx/cache/terminalOutputs/8098730470212963224 +87 -0
  45. package/.nx/cache/terminalOutputs/8928690901537686687 +21 -0
  46. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db +0 -0
  47. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-shm +0 -0
  48. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-wal +0 -0
  49. package/.nx/workspace-data/d/daemon.log +4176 -0
  50. package/.nx/workspace-data/d/server-process.json +2 -2
  51. package/.nx/workspace-data/file-map.json +2995 -2989
  52. package/.nx/workspace-data/nx_files.nxt +0 -0
  53. package/.nx/workspace-data/project-graph.json +2 -2
  54. package/apps/playground/src/app/pages/forms-page.ts +70 -14
  55. package/apps/playground/src/app/snippets/forms.snippets.ts +41 -6
  56. package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +60 -0
  57. package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -1
  58. package/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +6 -0
  59. package/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +1 -1
  60. package/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs +6 -0
  61. package/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs.map +1 -1
  62. package/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +6 -0
  63. package/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -1
  64. package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +1323 -85
  65. package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -1
  66. package/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +201 -15
  67. package/libs/africanies-core/src/lib/auth/auth-token.service.ts +3 -0
  68. package/libs/africanies-core/src/lib/auth/auth.service.ts +3 -0
  69. package/libs/africanies-core/src/lib/country/country.service.ts +3 -0
  70. package/libs/africanies-core/src/lib/currency/currency.service.ts +3 -0
  71. package/libs/africanies-core/src/lib/document/document.service.ts +3 -0
  72. package/libs/africanies-core/src/lib/file/file.service.ts +3 -0
  73. package/libs/africanies-core/src/lib/filters/filter-options.resolver.ts +3 -0
  74. package/libs/africanies-core/src/lib/http/api-client.ts +3 -0
  75. package/libs/africanies-core/src/lib/mode/mode-config.service.ts +3 -0
  76. package/libs/africanies-core/src/lib/notification/notification.service.ts +3 -0
  77. package/libs/africanies-core/src/lib/overlay/route-overlay.service.ts +3 -0
  78. package/libs/africanies-core/src/lib/payment-method/payment-method.service.ts +3 -0
  79. package/libs/africanies-core/src/lib/plan/plan.service.ts +3 -0
  80. package/libs/africanies-core/src/lib/product/product.service.ts +3 -0
  81. package/libs/africanies-core/src/lib/service/service.service.ts +3 -0
  82. package/libs/africanies-core/src/lib/shipment-method/shipment-method.service.ts +3 -0
  83. package/libs/africanies-core/src/lib/shipping/shipping-mode.service.ts +3 -0
  84. package/libs/africanies-core/src/lib/user/user.service.ts +3 -0
  85. package/libs/africanies-core/src/lib/warehouse/warehouse.service.ts +3 -0
  86. package/libs/africanies-core/src/lib/zone/zone.service.ts +3 -0
  87. package/libs/africanies-icons/src/lib/africanies-icon.component.ts +3 -0
  88. package/libs/africanies-icons/src/lib/icon-registry.service.ts +3 -0
  89. package/libs/africanies-storage/src/lib/local-storage.service.ts +3 -0
  90. package/libs/africanies-storage/src/lib/session-storage.service.ts +3 -0
  91. package/libs/africanies-theme/src/lib/mode-color.service.ts +3 -0
  92. package/libs/africanies-theme/src/lib/theme.service.ts +3 -0
  93. package/libs/africanies-ui/src/index.ts +18 -0
  94. package/libs/africanies-ui/src/lib/accordion/accordion.component.ts +3 -0
  95. package/libs/africanies-ui/src/lib/action-menu/action-menu-trigger.directive.ts +3 -0
  96. package/libs/africanies-ui/src/lib/action-menu/action-menu.component.ts +3 -0
  97. package/libs/africanies-ui/src/lib/alert/alert.component.ts +3 -0
  98. package/libs/africanies-ui/src/lib/avatar/avatar-menu.component.ts +3 -0
  99. package/libs/africanies-ui/src/lib/avatar/avatar.component.ts +3 -0
  100. package/libs/africanies-ui/src/lib/brand/brand-logo.component.ts +3 -0
  101. package/libs/africanies-ui/src/lib/button/button.component.ts +3 -0
  102. package/libs/africanies-ui/src/lib/carrier/carrier-logo.component.ts +3 -0
  103. package/libs/africanies-ui/src/lib/chip/chip.component.ts +3 -0
  104. package/libs/africanies-ui/src/lib/content-stack/content-stack.component.ts +3 -0
  105. package/libs/africanies-ui/src/lib/copy-button/copy-button.component.ts +3 -0
  106. package/libs/africanies-ui/src/lib/feedback/async-state.component.ts +3 -0
  107. package/libs/africanies-ui/src/lib/feedback/empty-state.component.ts +3 -0
  108. package/libs/africanies-ui/src/lib/feedback/error-indicator.component.ts +3 -0
  109. package/libs/africanies-ui/src/lib/feedback/error-state.component.ts +3 -0
  110. package/libs/africanies-ui/src/lib/feedback/loading-state.component.ts +3 -0
  111. package/libs/africanies-ui/src/lib/filters/filter-drawer.panel.ts +3 -0
  112. package/libs/africanies-ui/src/lib/filters/filter-drawer.service.ts +3 -0
  113. package/libs/africanies-ui/src/lib/filters/filter-query.service.ts +3 -0
  114. package/libs/africanies-ui/src/lib/forms/address-input/address-input.component.ts +3 -0
  115. package/libs/africanies-ui/src/lib/forms/address-input/google-places.service.ts +3 -0
  116. package/libs/africanies-ui/src/lib/forms/checkbox/checkbox.component.ts +3 -0
  117. package/libs/africanies-ui/src/lib/forms/date-picker/date-picker.component.ts +3 -0
  118. package/libs/africanies-ui/src/lib/forms/file-upload/camera-capture.dialog.ts +3 -0
  119. package/libs/africanies-ui/src/lib/forms/file-upload/file-preview.dialog.ts +3 -0
  120. package/libs/africanies-ui/src/lib/forms/file-upload/file-upload.component.ts +3 -0
  121. package/libs/africanies-ui/src/lib/forms/index.ts +20 -0
  122. package/libs/africanies-ui/src/lib/forms/number-input/number-input.component.ts +3 -0
  123. package/libs/africanies-ui/src/lib/forms/otp-input/otp-input.component.ts +3 -0
  124. package/libs/africanies-ui/src/lib/forms/phone-input/index.ts +21 -0
  125. package/libs/africanies-ui/src/lib/forms/phone-input/phone-codes.ts +264 -0
  126. package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.component.ts +480 -0
  127. package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.types.ts +35 -0
  128. package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.utils.spec.ts +81 -0
  129. package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.utils.ts +275 -0
  130. package/libs/africanies-ui/src/lib/forms/radio/radio.component.ts +3 -0
  131. package/libs/africanies-ui/src/lib/forms/search-combobox/search-combobox.component.ts +3 -0
  132. package/libs/africanies-ui/src/lib/forms/select/select.component.ts +3 -0
  133. package/libs/africanies-ui/src/lib/forms/text-input/text-input.component.ts +3 -0
  134. package/libs/africanies-ui/src/lib/forms/textarea/textarea.component.ts +3 -0
  135. package/libs/africanies-ui/src/lib/forms/toggle/toggle.component.ts +3 -0
  136. package/libs/africanies-ui/src/lib/image/image.component.ts +3 -0
  137. package/libs/africanies-ui/src/lib/info-popover/info-popover-content.directive.ts +3 -0
  138. package/libs/africanies-ui/src/lib/info-popover/info-popover-trigger.directive.ts +3 -0
  139. package/libs/africanies-ui/src/lib/info-popover/info-popover.component.ts +3 -0
  140. package/libs/africanies-ui/src/lib/layout/app-shell-content-header.component.ts +3 -0
  141. package/libs/africanies-ui/src/lib/layout/app-shell-header-slot.directive.ts +3 -0
  142. package/libs/africanies-ui/src/lib/layout/app-shell-header.component.ts +9 -0
  143. package/libs/africanies-ui/src/lib/layout/app-shell.component.ts +3 -0
  144. package/libs/africanies-ui/src/lib/layout/header-weather.spec.ts +62 -94
  145. package/libs/africanies-ui/src/lib/layout/header-weather.ts +54 -61
  146. package/libs/africanies-ui/src/lib/layout/page-header.component.ts +3 -0
  147. package/libs/africanies-ui/src/lib/modules/africanies-actions.module.ts +3 -0
  148. package/libs/africanies-ui/src/lib/modules/africanies-feedback.module.ts +3 -0
  149. package/libs/africanies-ui/src/lib/modules/africanies-forms.module.ts +5 -0
  150. package/libs/africanies-ui/src/lib/modules/africanies-info-popover.module.ts +3 -0
  151. package/libs/africanies-ui/src/lib/modules/africanies-navigation.module.ts +3 -0
  152. package/libs/africanies-ui/src/lib/modules/africanies-stepper.module.ts +3 -0
  153. package/libs/africanies-ui/src/lib/modules/africanies-table.module.ts +3 -0
  154. package/libs/africanies-ui/src/lib/modules/africanies-tooltip.module.ts +3 -0
  155. package/libs/africanies-ui/src/lib/navigation/breadcrumb/breadcrumb.component.ts +3 -0
  156. package/libs/africanies-ui/src/lib/navigation/segment/segment.component.ts +5 -1
  157. package/libs/africanies-ui/src/lib/navigation/shipping-mode-switch/shipping-mode-switch.component.ts +3 -0
  158. package/libs/africanies-ui/src/lib/navigation/side-nav/africanies-side-nav.component.ts +3 -0
  159. package/libs/africanies-ui/src/lib/navigation/tabs/tab-def.directive.ts +3 -0
  160. package/libs/africanies-ui/src/lib/navigation/tabs/tabs.component.ts +3 -0
  161. package/libs/africanies-ui/src/lib/notifications/notification-drawer.panel.ts +3 -0
  162. package/libs/africanies-ui/src/lib/notifications/notification-drawer.service.ts +3 -0
  163. package/libs/africanies-ui/src/lib/overlay/confirm-dialog.component.ts +3 -0
  164. package/libs/africanies-ui/src/lib/overlay/confirm.service.ts +3 -0
  165. package/libs/africanies-ui/src/lib/overlay/drawer.service.ts +3 -0
  166. package/libs/africanies-ui/src/lib/overlay/modal.service.ts +3 -0
  167. package/libs/africanies-ui/src/lib/overlay/overlay-frame.component.ts +9 -0
  168. package/libs/africanies-ui/src/lib/pagination/pagination.component.ts +3 -0
  169. package/libs/africanies-ui/src/lib/stepper/step-def.directive.ts +3 -0
  170. package/libs/africanies-ui/src/lib/stepper/stepper.component.ts +3 -0
  171. package/libs/africanies-ui/src/lib/table/cell-def.directive.ts +3 -0
  172. package/libs/africanies-ui/src/lib/table/header-cell-def.directive.ts +3 -0
  173. package/libs/africanies-ui/src/lib/table/row-detail-def.directive.ts +3 -0
  174. package/libs/africanies-ui/src/lib/table/table.component.ts +3 -0
  175. package/libs/africanies-ui/src/lib/toast/toast-host.component.ts +4 -1
  176. package/libs/africanies-ui/src/lib/toast/toast-item.component.ts +3 -0
  177. package/libs/africanies-ui/src/lib/toast/toast.service.ts +3 -0
  178. package/libs/africanies-ui/src/lib/tooltip/tooltip-trigger.directive.ts +3 -0
  179. package/libs/africanies-ui/src/lib/tooltip/tooltip.component.ts +3 -0
  180. package/package.json +1 -1
  181. package/.nx/cache/13466509747676776487/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
  182. package/.nx/cache/14416694322692463866/dist/libs/africanies-models/README.md +0 -60
  183. package/.nx/cache/14416694322692463866/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs +0 -599
  184. package/.nx/cache/14416694322692463866/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs.map +0 -1
  185. package/.nx/cache/14416694322692463866/dist/libs/africanies-models/package.json +0 -23
  186. package/.nx/cache/14416694322692463866/dist/libs/africanies-models/types/africanies-africanies-models.d.ts +0 -1452
  187. package/.nx/cache/14876618240301288353/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
  188. package/.nx/cache/14995846848874973576/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
  189. package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +0 -221
  190. package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
  191. package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/tailwind-preset.cjs +0 -253
  192. package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +0 -166
  193. package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +0 -1
  194. package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/README.md +0 -46
  195. package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
  196. package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/package.json +0 -35
  197. package/.nx/cache/9040451482998546630/dist/libs/africanies-core/README.md +0 -85
  198. package/.nx/cache/9040451482998546630/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +0 -4511
  199. package/.nx/cache/9040451482998546630/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
  200. package/.nx/cache/9040451482998546630/dist/libs/africanies-core/package.json +0 -31
  201. package/.nx/cache/9040451482998546630/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +0 -2741
  202. package/.nx/cache/terminalOutputs/13555699813138069787 +0 -6
  203. package/.nx/cache/terminalOutputs/14416694322692463866 +0 -108
  204. package/.nx/cache/terminalOutputs/1446890025183346611 +0 -32
  205. package/.nx/cache/terminalOutputs/17394769338046050914 +0 -8
  206. package/.nx/cache/terminalOutputs/17626862048742598274 +0 -21
  207. package/.nx/cache/terminalOutputs/6337357866566791975 +0 -6
  208. package/.nx/cache/terminalOutputs/6664915487114632770 +0 -44
  209. package/.nx/cache/terminalOutputs/783228502946611950 +0 -19
  210. package/.nx/cache/terminalOutputs/7978448102466861029 +0 -32
  211. /package/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/README.md +0 -0
  212. /package/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/package.json +0 -0
  213. /package/.nx/cache/{17626862048742598274 → 13387631073062967069}/dist/libs/africanies-theme/README.md +0 -0
  214. /package/.nx/cache/{17626862048742598274 → 13387631073062967069}/dist/libs/africanies-theme/package.json +0 -0
  215. /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/README.md +0 -0
  216. /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
  217. /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
  218. /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
  219. /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
  220. /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/package.json +0 -0
  221. /package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/README.md +0 -0
  222. /package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/package.json +0 -0
  223. /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/README.md +0 -0
  224. /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
  225. /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
  226. /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
  227. /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
  228. /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/package.json +0 -0
@@ -26,6 +26,26 @@ export {
26
26
  } from './file-upload';
27
27
  export { NumberInputComponent } from './number-input';
28
28
  export { OtpInputComponent, type OtpInputVariant } from './otp-input';
29
+ export {
30
+ buildPhoneNumberValue,
31
+ dialCodeForIso2,
32
+ formatNationalDigits,
33
+ isPhoneNumberComplete,
34
+ matchDialCode,
35
+ normalizePhoneIso2,
36
+ parsePhoneControlValue,
37
+ PHONE_DIAL_CODES,
38
+ PHONE_MAX_NATIONAL_DIGITS,
39
+ PHONE_MIN_NATIONAL_DIGITS,
40
+ phoneCountryName,
41
+ type PhoneCountryOption,
42
+ phoneCountryOptions,
43
+ phoneDigitsOnly,
44
+ PhoneInputComponent,
45
+ type PhoneNumberValue,
46
+ phoneToE164,
47
+ removeDialCode,
48
+ } from './phone-input';
29
49
  export { RadioComponent, type RadioOption } from './radio';
30
50
  export {
31
51
  type SearchComboboxBadge,
@@ -148,6 +148,9 @@ function formatWhileTyping(raw: string): {
148
148
  }
149
149
  `,
150
150
  })
151
+ /**
152
+ * Numeric field following the shared AFRICANIES form field pattern.
153
+ */
151
154
  export class NumberInputComponent implements ControlValueAccessor {
152
155
  protected readonly controlId = `africanies-number-input-${++nextNumberInputId}`;
153
156
  protected readonly hintId = `${this.controlId}-hint`;
@@ -148,6 +148,9 @@ export type OtpInputVariant = 'default' | 'masked';
148
148
  </div>
149
149
  `,
150
150
  })
151
+ /**
152
+ * One-time-passcode field — discrete digit cells, single string model.
153
+ */
151
154
  export class OtpInputComponent implements ControlValueAccessor, OnDestroy {
152
155
  private readonly destroyRef = inject(DestroyRef);
153
156
  private readonly cellInputs =
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Phone input form control exports.
3
+ */
4
+ export { PHONE_DIAL_CODES, PHONE_MAX_NATIONAL_DIGITS, PHONE_MIN_NATIONAL_DIGITS } from './phone-codes';
5
+ export { PhoneInputComponent } from './phone-input.component';
6
+ export type { PhoneCountryOption, PhoneNumberValue } from './phone-input.types';
7
+ export {
8
+ buildPhoneNumberValue,
9
+ dialCodeForIso2,
10
+ filterPhoneCountries,
11
+ formatNationalDigits,
12
+ isPhoneNumberComplete,
13
+ matchDialCode,
14
+ normalizePhoneIso2,
15
+ parsePhoneControlValue,
16
+ phoneCountryName,
17
+ phoneCountryOptions,
18
+ phoneDigitsOnly,
19
+ phoneToE164,
20
+ removeDialCode,
21
+ } from './phone-input.utils';
@@ -0,0 +1,264 @@
1
+ /**
2
+ * ISO 3166-1 alpha-2 → dial code (with `+`).
3
+ *
4
+ * Shared with classic import-export phone fields; used when
5
+ * `libphonenumber-js` is not bundled as a peer.
6
+ */
7
+ export const PHONE_DIAL_CODES: Readonly<Record<string, string>> = {
8
+ AF: '+93',
9
+ AX: '+358',
10
+ AL: '+355',
11
+ DZ: '+213',
12
+ AS: '+1',
13
+ AD: '+376',
14
+ AO: '+244',
15
+ AI: '+1',
16
+ AQ: '+672',
17
+ AG: '+1',
18
+ AR: '+54',
19
+ AM: '+374',
20
+ AW: '+297',
21
+ AU: '+61',
22
+ AT: '+43',
23
+ AZ: '+994',
24
+ BS: '+1',
25
+ BH: '+973',
26
+ BD: '+880',
27
+ BB: '+1',
28
+ BY: '+375',
29
+ BE: '+32',
30
+ BZ: '+501',
31
+ BJ: '+229',
32
+ BM: '+1',
33
+ BT: '+975',
34
+ BO: '+591',
35
+ BQ: '+599',
36
+ BA: '+387',
37
+ BW: '+267',
38
+ BV: '+55',
39
+ BR: '+55',
40
+ IO: '+246',
41
+ BN: '+673',
42
+ BG: '+359',
43
+ BF: '+226',
44
+ BI: '+257',
45
+ KH: '+855',
46
+ CM: '+237',
47
+ CA: '+1',
48
+ CV: '+238',
49
+ KY: '+1',
50
+ CF: '+236',
51
+ TD: '+235',
52
+ CL: '+56',
53
+ CN: '+86',
54
+ CX: '+61',
55
+ CC: '+61',
56
+ CO: '+57',
57
+ KM: '+269',
58
+ CG: '+242',
59
+ CK: '+682',
60
+ CR: '+506',
61
+ HR: '+385',
62
+ CU: '+53',
63
+ CW: '+599',
64
+ CY: '+357',
65
+ CZ: '+420',
66
+ DK: '+45',
67
+ DJ: '+253',
68
+ DM: '+1',
69
+ DO: '+1',
70
+ CD: '+243',
71
+ EC: '+593',
72
+ EG: '+20',
73
+ SV: '+503',
74
+ GQ: '+240',
75
+ ER: '+291',
76
+ EE: '+370',
77
+ ET: '+251',
78
+ FK: '+500',
79
+ FO: '+298',
80
+ FJ: '+679',
81
+ FI: '+358',
82
+ FR: '+33',
83
+ GF: '+594',
84
+ PF: '+689',
85
+ TF: '+262',
86
+ GA: '+241',
87
+ GM: '+220',
88
+ GE: '+995',
89
+ DE: '+49',
90
+ GH: '+233',
91
+ GI: '+350',
92
+ GR: '+30',
93
+ GL: '+299',
94
+ GD: '+1',
95
+ GP: '+590',
96
+ GU: '+1',
97
+ GT: '+502',
98
+ GG: '+44',
99
+ GN: '+224',
100
+ GW: '+245',
101
+ GY: '+592',
102
+ HT: '+509',
103
+ HM: '+672',
104
+ HN: '+504',
105
+ HK: '+852',
106
+ HU: '+36',
107
+ IS: '+354',
108
+ IN: '+91',
109
+ ID: '+62',
110
+ IR: '+98',
111
+ IQ: '+964',
112
+ IE: '+353',
113
+ IM: '+44',
114
+ IL: '+972',
115
+ IT: '+39',
116
+ CI: '+225',
117
+ JM: '+1',
118
+ JP: '+81',
119
+ JE: '+44',
120
+ JO: '+962',
121
+ KZ: '+7',
122
+ KE: '+254',
123
+ KI: '+686',
124
+ XK: '+383',
125
+ KW: '+965',
126
+ KG: '+996',
127
+ LA: '+856',
128
+ LV: '+371',
129
+ LB: '+961',
130
+ LS: '+266',
131
+ LR: '+231',
132
+ LY: '+218',
133
+ LI: '+423',
134
+ LT: '+370',
135
+ LU: '+352',
136
+ MO: '+853',
137
+ MK: '+389',
138
+ MG: '+261',
139
+ MW: '+265',
140
+ MY: '+60',
141
+ MV: '+960',
142
+ ML: '+223',
143
+ MT: '+356',
144
+ MH: '+692',
145
+ MQ: '+596',
146
+ MR: '+222',
147
+ MU: '+230',
148
+ YT: '+262',
149
+ MX: '+52',
150
+ FM: '+691',
151
+ MD: '+373',
152
+ MC: '+377',
153
+ MN: '+976',
154
+ ME: '+382',
155
+ MS: '+1',
156
+ MA: '+212',
157
+ MZ: '+258',
158
+ MM: '+95',
159
+ NA: '+264',
160
+ NR: '+674',
161
+ NP: '+977',
162
+ NL: '+31',
163
+ AN: '+599',
164
+ NC: '+687',
165
+ NZ: '+64',
166
+ NI: '+505',
167
+ NE: '+227',
168
+ NG: '+234',
169
+ NU: '+683',
170
+ NF: '+672',
171
+ MP: '+1',
172
+ KP: '+850',
173
+ NO: '+47',
174
+ OM: '+968',
175
+ PK: '+92',
176
+ PW: '+680',
177
+ PS: '+970',
178
+ PA: '+507',
179
+ PG: '+675',
180
+ PY: '+595',
181
+ PE: '+51',
182
+ PH: '+63',
183
+ PN: '+64',
184
+ PL: '+48',
185
+ PT: '+351',
186
+ PR: '+1',
187
+ QA: '+974',
188
+ RO: '+40',
189
+ RU: '+7',
190
+ RW: '+250',
191
+ RE: '+262',
192
+ BL: '+590',
193
+ MF: '+590',
194
+ SH: '+290',
195
+ KN: '+1',
196
+ LC: '+1',
197
+ PM: '+508',
198
+ VC: '+1',
199
+ WS: '+685',
200
+ SM: '+378',
201
+ ST: '+239',
202
+ SA: '+966',
203
+ SN: '+221',
204
+ RS: '+381',
205
+ SC: '+248',
206
+ SL: '+232',
207
+ SG: '+65',
208
+ SX: '+1',
209
+ SK: '+421',
210
+ SI: '+386',
211
+ SB: '+677',
212
+ SO: '+252',
213
+ ZA: '+27',
214
+ GS: '+500',
215
+ KR: '+82',
216
+ SS: '+211',
217
+ ES: '+34',
218
+ LK: '+94',
219
+ SD: '+249',
220
+ SR: '+597',
221
+ SJ: '+47',
222
+ SZ: '+268',
223
+ SE: '+46',
224
+ CH: '+41',
225
+ SY: '+963',
226
+ TW: '+886',
227
+ TJ: '+992',
228
+ TZ: '+255',
229
+ TH: '+66',
230
+ TL: '+670',
231
+ TG: '+228',
232
+ TK: '+690',
233
+ TO: '+676',
234
+ TT: '+1',
235
+ TN: '+216',
236
+ TR: '+90',
237
+ TM: '+993',
238
+ TC: '+1',
239
+ TV: '+688',
240
+ UG: '+256',
241
+ UA: '+380',
242
+ AE: '+971',
243
+ GB: '+44',
244
+ US: '+1',
245
+ UY: '+598',
246
+ UZ: '+998',
247
+ VU: '+678',
248
+ VA: '+379',
249
+ VE: '+58',
250
+ VN: '+84',
251
+ VG: '+1',
252
+ VI: '+1',
253
+ WF: '+681',
254
+ EH: '+212',
255
+ YE: '+967',
256
+ ZM: '+260',
257
+ ZW: '+263',
258
+ };
259
+
260
+ /** Max national digit count (ITU E.164 national significant number). */
261
+ export const PHONE_MAX_NATIONAL_DIGITS = 15;
262
+
263
+ /** Minimum national digits before we treat a draft as a complete number. */
264
+ export const PHONE_MIN_NATIONAL_DIGITS = 4;