@seniorsistemas/angular-components 19.9.15 → 19.10.0-develop-ef29acb7

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 (505) hide show
  1. package/README.md +84 -2
  2. package/accordion/README.md +5 -4
  3. package/accordion/lib/accordion/accordion.module.d.ts +7 -0
  4. package/alert/lib/alert/alert.module.d.ts +7 -0
  5. package/badge/README.md +5 -4
  6. package/badge/lib/badge/badge.module.d.ts +10 -0
  7. package/bignumber-input/README.md +5 -4
  8. package/bignumber-input/lib/bignumber-input/bignumber-input.directive.d.ts +16 -39
  9. package/bignumber-input/lib/bignumber-input/bignumber-input.module.d.ts +7 -0
  10. package/breadcrumb/README.md +5 -4
  11. package/breadcrumb/lib/dynamic-breadcrumb/dynamic-breadcrumb.module.d.ts +5 -1
  12. package/button/lib/button/button.module.d.ts +7 -0
  13. package/calendar-mask/README.md +5 -4
  14. package/calendar-mask/lib/calendar-mask/calendar-mask.module.d.ts +7 -0
  15. package/card/README.md +6 -5
  16. package/card/lib/card/card.module.d.ts +7 -0
  17. package/chat/README.md +11 -8
  18. package/chat/lib/chat/chat.module.d.ts +7 -0
  19. package/checkbox-list/README.md +5 -4
  20. package/checkbox-list/lib/checkbox-list/checkbox-list.module.d.ts +7 -0
  21. package/chips/README.md +5 -4
  22. package/chips/lib/chips/chips.module.d.ts +7 -0
  23. package/code-editor/README.md +5 -4
  24. package/code-editor/lib/code-editor/code-editor.module.d.ts +7 -0
  25. package/collapse-link/README.md +5 -4
  26. package/collapse-link/lib/collapse-link/collapse-link.module.d.ts +7 -0
  27. package/common/lib/angular-components.module.d.ts +9 -0
  28. package/common/lib/provide-angular-components.d.ts +19 -0
  29. package/common/lib/svg-factory/svg-factory.module.d.ts +7 -0
  30. package/common/public-api.d.ts +1 -0
  31. package/content-generator/README.md +2 -2
  32. package/content-generator/lib/content-generator/content-generator.module.d.ts +7 -0
  33. package/control-errors/README.md +2 -2
  34. package/control-errors/lib/control-errors/control-errors.module.d.ts +7 -0
  35. package/country-phone-picker/README.md +2 -2
  36. package/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.d.ts +7 -0
  37. package/currency/README.md +1 -1
  38. package/custom-fields/README.md +14 -3
  39. package/custom-fields/lib/custom-fields/custom-fields.module.d.ts +7 -0
  40. package/custom-fields/lib/custom-fields/models/custom-field-value-parser.d.ts +21 -0
  41. package/custom-fields/lib/custom-fields/models/index.d.ts +1 -0
  42. package/dialog/README.md +1 -1
  43. package/drawer/README.md +8 -4
  44. package/drawer/lib/drawer/drawer.module.d.ts +10 -0
  45. package/dynamic-form/README.md +18 -2
  46. package/dynamic-form/dynamic-form/dynamic-form.module.d.ts +7 -0
  47. package/dynamic-form/dynamic-form/form-field/addon-config.d.ts +10 -1
  48. package/dynamic-form/dynamic-form/form-field/configurations/fields/currency-field.d.ts +15 -15
  49. package/dynamic-form/dynamic-form/form-field/configurations/fields/number-field.d.ts +8 -6
  50. package/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.d.ts +5 -2
  51. package/dynamic-form/public-api.d.ts +0 -1
  52. package/editable-overlay/README.md +2 -2
  53. package/editable-overlay/lib/editable-overlay/editable-overlay.module.d.ts +7 -0
  54. package/empty-state/README.md +5 -2
  55. package/empty-state/lib/empty-state/empty-state.module.d.ts +7 -0
  56. package/esm2022/accordion/lib/accordion/accordion.module.mjs +8 -1
  57. package/esm2022/alert/lib/alert/alert.module.mjs +8 -1
  58. package/esm2022/badge/lib/badge/badge.module.mjs +11 -1
  59. package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.directive.mjs +19 -127
  60. package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.module.mjs +8 -1
  61. package/esm2022/breadcrumb/lib/dynamic-breadcrumb/dynamic-breadcrumb.module.mjs +6 -2
  62. package/esm2022/button/lib/button/button.module.mjs +8 -1
  63. package/esm2022/calendar-mask/lib/calendar-mask/calendar-mask.module.mjs +8 -1
  64. package/esm2022/card/lib/card/card.module.mjs +8 -1
  65. package/esm2022/chat/lib/chat/chat.module.mjs +8 -1
  66. package/esm2022/checkbox-list/lib/checkbox-list/checkbox-list.module.mjs +8 -1
  67. package/esm2022/chips/lib/chips/chips.module.mjs +8 -1
  68. package/esm2022/code-editor/lib/code-editor/code-editor.component.mjs +10 -1
  69. package/esm2022/code-editor/lib/code-editor/code-editor.module.mjs +9 -15
  70. package/esm2022/collapse-link/lib/collapse-link/collapse-link.module.mjs +8 -1
  71. package/esm2022/common/lib/angular-components.module.mjs +10 -1
  72. package/esm2022/common/lib/provide-angular-components.mjs +22 -0
  73. package/esm2022/common/lib/svg-factory/svg-factory.module.mjs +8 -1
  74. package/esm2022/common/public-api.mjs +2 -1
  75. package/esm2022/content-generator/lib/content-generator/content-generator.module.mjs +8 -1
  76. package/esm2022/control-errors/lib/control-errors/control-errors.module.mjs +8 -1
  77. package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.mjs +8 -1
  78. package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.service.mjs +4 -3
  79. package/esm2022/custom-fields/lib/custom-fields/custom-fields.component.mjs +17 -13
  80. package/esm2022/custom-fields/lib/custom-fields/custom-fields.module.mjs +8 -1
  81. package/esm2022/custom-fields/lib/custom-fields/custom-fields.service.mjs +4 -3
  82. package/esm2022/custom-fields/lib/custom-fields/models/custom-field-type.mjs +4 -2
  83. package/esm2022/custom-fields/lib/custom-fields/models/custom-field-value-parser.mjs +46 -0
  84. package/esm2022/custom-fields/lib/custom-fields/models/index.mjs +2 -1
  85. package/esm2022/drawer/lib/drawer/drawer.module.mjs +11 -1
  86. package/esm2022/dynamic-form/dynamic-form/dynamic-form.module.mjs +8 -1
  87. package/esm2022/dynamic-form/dynamic-form/form-field/addon-config.mjs +6 -2
  88. package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/currency-field.mjs +1 -1
  89. package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/number-field.mjs +1 -1
  90. package/esm2022/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.mjs +33 -10
  91. package/esm2022/dynamic-form/public-api.mjs +2 -7
  92. package/esm2022/editable-overlay/lib/editable-overlay/editable-overlay.module.mjs +8 -1
  93. package/esm2022/empty-state/lib/empty-state/empty-state.module.mjs +8 -1
  94. package/esm2022/fieldset/lib/fieldset/fieldset.module.mjs +8 -1
  95. package/esm2022/file-picker/lib/file-picker/file-picker.module.mjs +8 -1
  96. package/esm2022/file-picker/lib/file-picker/file-picker.service.mjs +4 -3
  97. package/esm2022/gantt/lib/gantt/gantt.module.mjs +8 -1
  98. package/esm2022/global-search/lib/global-search/global-search.module.mjs +19 -1
  99. package/esm2022/grid-menu/lib/grid-menu/grid-menu.module.mjs +8 -1
  100. package/esm2022/help-popover/lib/help-popover/help-popover.module.mjs +8 -1
  101. package/esm2022/image-cropper/lib/image-cropper/image-cropper.module.mjs +12 -1
  102. package/esm2022/image-cropper/lib/image-cropper/image-cropper.service.mjs +4 -3
  103. package/esm2022/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.mjs +8 -1
  104. package/esm2022/info-sign/lib/info-sign/info-sign.module.mjs +8 -1
  105. package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +5 -5
  106. package/esm2022/inline-edit/lib/inline-edit/inline-edit.module.mjs +8 -1
  107. package/esm2022/input-group/lib/input-group/input-group.module.mjs +8 -1
  108. package/esm2022/input-mask/lib/input-mask/input-mask.module.mjs +8 -1
  109. package/esm2022/input-text/lib/input-text/input-text.module.mjs +8 -1
  110. package/esm2022/insights/lib/insights/insights.module.mjs +11 -1
  111. package/esm2022/kanban/lib/kanban/kanban-event.service.mjs +4 -3
  112. package/esm2022/kanban/lib/kanban/kanban.module.mjs +11 -1
  113. package/esm2022/label-value/lib/label-value/label-value.module.mjs +8 -1
  114. package/esm2022/loading-state/lib/loading-state/loading-state.module.mjs +8 -1
  115. package/esm2022/locale/lib/locale/locale.module.mjs +14 -1
  116. package/esm2022/locale/lib/locale/locale.service.mjs +10 -32
  117. package/esm2022/locale/lib/locale/options/index.mjs +1 -13
  118. package/esm2022/locale/lib/locale/options/locale-presets.mjs +199 -0
  119. package/esm2022/locale/lib/locale/pipes/localized-bignumber-impure.pipe.mjs +1 -1
  120. package/esm2022/locale/lib/locale/pipes/localized-bignumber.pipe.mjs +10 -2
  121. package/esm2022/locale/lib/locale/provide-locale.mjs +42 -0
  122. package/esm2022/locale/public-api.mjs +3 -1
  123. package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.directive.mjs +5 -1
  124. package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.module.mjs +8 -1
  125. package/esm2022/mask/lib/mask/mask-formatter.module.mjs +8 -1
  126. package/esm2022/mouse-events/lib/mouse-events/mouse-events.module.mjs +8 -1
  127. package/esm2022/navigation-button/lib/navigation-button/navigation-button.module.mjs +8 -1
  128. package/esm2022/number-input/lib/number-input/number-input.directive.mjs +2 -2
  129. package/esm2022/number-input/lib/number-input/number-input.module.mjs +9 -2
  130. package/esm2022/numeric/lib/numeric.module.mjs +8 -1
  131. package/esm2022/numeric-mask/lib/numeric-mask/numeric-mask.directive.mjs +178 -15
  132. package/esm2022/numeric-mask/lib/numeric-mask/numeric-mask.module.mjs +8 -1
  133. package/esm2022/object-card/lib/object-card/object-card.module.mjs +12 -1
  134. package/esm2022/panel/lib/panel/panel.module.mjs +11 -1
  135. package/esm2022/password-strength/lib/password-strength/password-strength.module.mjs +8 -1
  136. package/esm2022/picklist/lib/picklist/picklist.module.mjs +8 -1
  137. package/esm2022/pin-code-field/lib/pin-code-field.module.mjs +8 -1
  138. package/esm2022/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.mjs +8 -1
  139. package/esm2022/progressbar/lib/progressbar/progressbar.module.mjs +8 -1
  140. package/esm2022/rating-scale/lib/rating-scale/rating-scale.module.mjs +8 -1
  141. package/esm2022/select/lib/select/select.component.mjs +16 -3
  142. package/esm2022/select-button/lib/select-button/select-button.module.mjs +8 -1
  143. package/esm2022/shared/lib/shared/border-button/border-button.module.mjs +8 -1
  144. package/esm2022/slide-in-bar/lib/slide-in-bar/slide-in-bar.module.mjs +8 -1
  145. package/esm2022/slide-in-bar/lib/slide-in-bar/slide-in-bar.service.mjs +4 -3
  146. package/esm2022/slider/lib/slider/slider.module.mjs +8 -1
  147. package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition.module.mjs +8 -1
  148. package/esm2022/split-button/lib/split-button/split-button.module.mjs +8 -1
  149. package/esm2022/stats-card/lib/stats-card/stats-card.module.mjs +8 -1
  150. package/esm2022/stepper/lib/stepper/stepper.module.mjs +8 -1
  151. package/esm2022/structure/lib/structure/structure.module.mjs +8 -1
  152. package/esm2022/switch/lib/switch/switch.module.mjs +8 -1
  153. package/esm2022/table/lib/table/table.module.mjs +9 -1
  154. package/esm2022/table-header/lib/table-header/table-header-checkox.module.mjs +8 -1
  155. package/esm2022/template/lib/template/template.module.mjs +8 -1
  156. package/esm2022/text-area/lib/text-area.module.mjs +8 -1
  157. package/esm2022/thumbnail/lib/thumbnail/thumbnail.module.mjs +8 -1
  158. package/esm2022/thumbnails/lib/thumbnails/thumbnails.module.mjs +8 -1
  159. package/esm2022/tiered-menu/lib/tiered-menu/tiered-menu.module.mjs +8 -1
  160. package/esm2022/tile/lib/tile/tile.module.mjs +11 -1
  161. package/esm2022/timeline/lib/timeline/timeline.module.mjs +8 -1
  162. package/esm2022/toast/lib/toast/toast.module.mjs +8 -1
  163. package/esm2022/token-list/lib/token-list/token-list.module.mjs +8 -1
  164. package/esm2022/tooltip/lib/tooltip/tooltip.module.mjs +8 -1
  165. package/esm2022/topbar/lib/topbar/topbar.module.mjs +11 -1
  166. package/esm2022/tree/lib/tree/tree.module.mjs +8 -1
  167. package/esm2022/workspace-switch/lib/workspace-switch/workspace-switch.module.mjs +8 -1
  168. package/fesm2022/seniorsistemas-angular-components-accordion.mjs +7 -0
  169. package/fesm2022/seniorsistemas-angular-components-accordion.mjs.map +1 -1
  170. package/fesm2022/seniorsistemas-angular-components-alert.mjs +7 -0
  171. package/fesm2022/seniorsistemas-angular-components-alert.mjs.map +1 -1
  172. package/fesm2022/seniorsistemas-angular-components-badge.mjs +10 -0
  173. package/fesm2022/seniorsistemas-angular-components-badge.mjs.map +1 -1
  174. package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs +25 -126
  175. package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs.map +1 -1
  176. package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs +5 -1
  177. package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs.map +1 -1
  178. package/fesm2022/seniorsistemas-angular-components-button.mjs +7 -0
  179. package/fesm2022/seniorsistemas-angular-components-button.mjs.map +1 -1
  180. package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs +7 -0
  181. package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs.map +1 -1
  182. package/fesm2022/seniorsistemas-angular-components-card.mjs +7 -0
  183. package/fesm2022/seniorsistemas-angular-components-card.mjs.map +1 -1
  184. package/fesm2022/seniorsistemas-angular-components-chat.mjs +7 -0
  185. package/fesm2022/seniorsistemas-angular-components-chat.mjs.map +1 -1
  186. package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs +7 -0
  187. package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs.map +1 -1
  188. package/fesm2022/seniorsistemas-angular-components-chips.mjs +7 -0
  189. package/fesm2022/seniorsistemas-angular-components-chips.mjs.map +1 -1
  190. package/fesm2022/seniorsistemas-angular-components-code-editor.mjs +164 -160
  191. package/fesm2022/seniorsistemas-angular-components-code-editor.mjs.map +1 -1
  192. package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs +7 -0
  193. package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs.map +1 -1
  194. package/fesm2022/seniorsistemas-angular-components-common.mjs +38 -2
  195. package/fesm2022/seniorsistemas-angular-components-common.mjs.map +1 -1
  196. package/fesm2022/seniorsistemas-angular-components-content-generator.mjs +7 -0
  197. package/fesm2022/seniorsistemas-angular-components-content-generator.mjs.map +1 -1
  198. package/fesm2022/seniorsistemas-angular-components-control-errors.mjs +7 -0
  199. package/fesm2022/seniorsistemas-angular-components-control-errors.mjs.map +1 -1
  200. package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs +10 -2
  201. package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs.map +1 -1
  202. package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs +75 -15
  203. package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs.map +1 -1
  204. package/fesm2022/seniorsistemas-angular-components-drawer.mjs +10 -0
  205. package/fesm2022/seniorsistemas-angular-components-drawer.mjs.map +1 -1
  206. package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +52 -208
  207. package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -1
  208. package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs +7 -0
  209. package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs.map +1 -1
  210. package/fesm2022/seniorsistemas-angular-components-empty-state.mjs +7 -0
  211. package/fesm2022/seniorsistemas-angular-components-empty-state.mjs.map +1 -1
  212. package/fesm2022/seniorsistemas-angular-components-fieldset.mjs +7 -0
  213. package/fesm2022/seniorsistemas-angular-components-fieldset.mjs.map +1 -1
  214. package/fesm2022/seniorsistemas-angular-components-file-picker.mjs +10 -2
  215. package/fesm2022/seniorsistemas-angular-components-file-picker.mjs.map +1 -1
  216. package/fesm2022/seniorsistemas-angular-components-gantt.mjs +7 -0
  217. package/fesm2022/seniorsistemas-angular-components-gantt.mjs.map +1 -1
  218. package/fesm2022/seniorsistemas-angular-components-global-search.mjs +18 -0
  219. package/fesm2022/seniorsistemas-angular-components-global-search.mjs.map +1 -1
  220. package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs +7 -0
  221. package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs.map +1 -1
  222. package/fesm2022/seniorsistemas-angular-components-help-popover.mjs +7 -0
  223. package/fesm2022/seniorsistemas-angular-components-help-popover.mjs.map +1 -1
  224. package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs +14 -2
  225. package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs.map +1 -1
  226. package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs +7 -0
  227. package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs.map +1 -1
  228. package/fesm2022/seniorsistemas-angular-components-info-sign.mjs +7 -0
  229. package/fesm2022/seniorsistemas-angular-components-info-sign.mjs.map +1 -1
  230. package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +11 -4
  231. package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -1
  232. package/fesm2022/seniorsistemas-angular-components-input-group.mjs +7 -0
  233. package/fesm2022/seniorsistemas-angular-components-input-group.mjs.map +1 -1
  234. package/fesm2022/seniorsistemas-angular-components-input-mask.mjs +7 -0
  235. package/fesm2022/seniorsistemas-angular-components-input-mask.mjs.map +1 -1
  236. package/fesm2022/seniorsistemas-angular-components-input-text.mjs +7 -0
  237. package/fesm2022/seniorsistemas-angular-components-input-text.mjs.map +1 -1
  238. package/fesm2022/seniorsistemas-angular-components-insights.mjs +10 -0
  239. package/fesm2022/seniorsistemas-angular-components-insights.mjs.map +1 -1
  240. package/fesm2022/seniorsistemas-angular-components-kanban.mjs +13 -2
  241. package/fesm2022/seniorsistemas-angular-components-kanban.mjs.map +1 -1
  242. package/fesm2022/seniorsistemas-angular-components-label-value.mjs +7 -0
  243. package/fesm2022/seniorsistemas-angular-components-label-value.mjs.map +1 -1
  244. package/fesm2022/seniorsistemas-angular-components-loading-state.mjs +7 -0
  245. package/fesm2022/seniorsistemas-angular-components-loading-state.mjs.map +1 -1
  246. package/fesm2022/seniorsistemas-angular-components-locale.mjs +260 -33
  247. package/fesm2022/seniorsistemas-angular-components-locale.mjs.map +1 -1
  248. package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs +11 -0
  249. package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs.map +1 -1
  250. package/fesm2022/seniorsistemas-angular-components-mask.mjs +7 -0
  251. package/fesm2022/seniorsistemas-angular-components-mask.mjs.map +1 -1
  252. package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs +7 -0
  253. package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs.map +1 -1
  254. package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs +7 -0
  255. package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs.map +1 -1
  256. package/fesm2022/seniorsistemas-angular-components-number-input.mjs +9 -2
  257. package/fesm2022/seniorsistemas-angular-components-number-input.mjs.map +1 -1
  258. package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs +184 -14
  259. package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs.map +1 -1
  260. package/fesm2022/seniorsistemas-angular-components-numeric.mjs +7 -0
  261. package/fesm2022/seniorsistemas-angular-components-numeric.mjs.map +1 -1
  262. package/fesm2022/seniorsistemas-angular-components-object-card.mjs +11 -0
  263. package/fesm2022/seniorsistemas-angular-components-object-card.mjs.map +1 -1
  264. package/fesm2022/seniorsistemas-angular-components-panel.mjs +10 -0
  265. package/fesm2022/seniorsistemas-angular-components-panel.mjs.map +1 -1
  266. package/fesm2022/seniorsistemas-angular-components-password-strength.mjs +7 -0
  267. package/fesm2022/seniorsistemas-angular-components-password-strength.mjs.map +1 -1
  268. package/fesm2022/seniorsistemas-angular-components-picklist.mjs +7 -0
  269. package/fesm2022/seniorsistemas-angular-components-picklist.mjs.map +1 -1
  270. package/fesm2022/seniorsistemas-angular-components-pin-code-field.mjs +7 -0
  271. package/fesm2022/seniorsistemas-angular-components-pin-code-field.mjs.map +1 -1
  272. package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs +7 -0
  273. package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs.map +1 -1
  274. package/fesm2022/seniorsistemas-angular-components-progressbar.mjs +7 -0
  275. package/fesm2022/seniorsistemas-angular-components-progressbar.mjs.map +1 -1
  276. package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs +7 -0
  277. package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs.map +1 -1
  278. package/fesm2022/seniorsistemas-angular-components-select-button.mjs +7 -0
  279. package/fesm2022/seniorsistemas-angular-components-select-button.mjs.map +1 -1
  280. package/fesm2022/seniorsistemas-angular-components-select.mjs +15 -2
  281. package/fesm2022/seniorsistemas-angular-components-select.mjs.map +1 -1
  282. package/fesm2022/seniorsistemas-angular-components-shared.mjs +7 -0
  283. package/fesm2022/seniorsistemas-angular-components-shared.mjs.map +1 -1
  284. package/fesm2022/seniorsistemas-angular-components-slide-in-bar.mjs +10 -2
  285. package/fesm2022/seniorsistemas-angular-components-slide-in-bar.mjs.map +1 -1
  286. package/fesm2022/seniorsistemas-angular-components-slider.mjs +7 -0
  287. package/fesm2022/seniorsistemas-angular-components-slider.mjs.map +1 -1
  288. package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs +7 -0
  289. package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs.map +1 -1
  290. package/fesm2022/seniorsistemas-angular-components-split-button.mjs +7 -0
  291. package/fesm2022/seniorsistemas-angular-components-split-button.mjs.map +1 -1
  292. package/fesm2022/seniorsistemas-angular-components-stats-card.mjs +7 -0
  293. package/fesm2022/seniorsistemas-angular-components-stats-card.mjs.map +1 -1
  294. package/fesm2022/seniorsistemas-angular-components-stepper.mjs +7 -0
  295. package/fesm2022/seniorsistemas-angular-components-stepper.mjs.map +1 -1
  296. package/fesm2022/seniorsistemas-angular-components-structure.mjs +7 -0
  297. package/fesm2022/seniorsistemas-angular-components-structure.mjs.map +1 -1
  298. package/fesm2022/seniorsistemas-angular-components-switch.mjs +7 -0
  299. package/fesm2022/seniorsistemas-angular-components-switch.mjs.map +1 -1
  300. package/fesm2022/seniorsistemas-angular-components-table-header.mjs +7 -0
  301. package/fesm2022/seniorsistemas-angular-components-table-header.mjs.map +1 -1
  302. package/fesm2022/seniorsistemas-angular-components-table.mjs +8 -0
  303. package/fesm2022/seniorsistemas-angular-components-table.mjs.map +1 -1
  304. package/fesm2022/seniorsistemas-angular-components-template.mjs +7 -0
  305. package/fesm2022/seniorsistemas-angular-components-template.mjs.map +1 -1
  306. package/fesm2022/seniorsistemas-angular-components-text-area.mjs +7 -0
  307. package/fesm2022/seniorsistemas-angular-components-text-area.mjs.map +1 -1
  308. package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs +7 -0
  309. package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs.map +1 -1
  310. package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs +7 -0
  311. package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs.map +1 -1
  312. package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs +7 -0
  313. package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs.map +1 -1
  314. package/fesm2022/seniorsistemas-angular-components-tile.mjs +10 -0
  315. package/fesm2022/seniorsistemas-angular-components-tile.mjs.map +1 -1
  316. package/fesm2022/seniorsistemas-angular-components-timeline.mjs +7 -0
  317. package/fesm2022/seniorsistemas-angular-components-timeline.mjs.map +1 -1
  318. package/fesm2022/seniorsistemas-angular-components-toast.mjs +7 -0
  319. package/fesm2022/seniorsistemas-angular-components-toast.mjs.map +1 -1
  320. package/fesm2022/seniorsistemas-angular-components-token-list.mjs +7 -0
  321. package/fesm2022/seniorsistemas-angular-components-token-list.mjs.map +1 -1
  322. package/fesm2022/seniorsistemas-angular-components-tooltip.mjs +7 -0
  323. package/fesm2022/seniorsistemas-angular-components-tooltip.mjs.map +1 -1
  324. package/fesm2022/seniorsistemas-angular-components-topbar.mjs +10 -0
  325. package/fesm2022/seniorsistemas-angular-components-topbar.mjs.map +1 -1
  326. package/fesm2022/seniorsistemas-angular-components-tree.mjs +7 -0
  327. package/fesm2022/seniorsistemas-angular-components-tree.mjs.map +1 -1
  328. package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs +7 -0
  329. package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs.map +1 -1
  330. package/fieldset/README.md +2 -2
  331. package/fieldset/lib/fieldset/fieldset.module.d.ts +7 -0
  332. package/file-picker/README.md +2 -2
  333. package/file-picker/lib/file-picker/file-picker.module.d.ts +7 -0
  334. package/file-upload/README.md +1 -1
  335. package/gantt/README.md +2 -2
  336. package/gantt/lib/gantt/gantt.module.d.ts +7 -0
  337. package/global-search/README.md +5 -2
  338. package/global-search/lib/global-search/global-search.module.d.ts +18 -0
  339. package/grid-menu/README.md +5 -4
  340. package/grid-menu/lib/grid-menu/grid-menu.module.d.ts +7 -0
  341. package/help-popover/README.md +5 -4
  342. package/help-popover/lib/help-popover/help-popover.module.d.ts +7 -0
  343. package/ia-insight/README.md +1 -1
  344. package/image-cropper/README.md +6 -5
  345. package/image-cropper/lib/image-cropper/image-cropper.module.d.ts +11 -0
  346. package/infinite-scroll/README.md +5 -4
  347. package/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.d.ts +7 -0
  348. package/info-sign/README.md +5 -4
  349. package/info-sign/lib/info-sign/info-sign.module.d.ts +7 -0
  350. package/inline-edit/README.md +5 -4
  351. package/inline-edit/lib/inline-edit/inline-edit.module.d.ts +7 -0
  352. package/input-group/lib/input-group/input-group.module.d.ts +7 -0
  353. package/input-mask/lib/input-mask/input-mask.module.d.ts +7 -0
  354. package/input-text/lib/input-text/input-text.module.d.ts +7 -0
  355. package/insights/README.md +6 -4
  356. package/insights/lib/insights/insights.module.d.ts +10 -0
  357. package/kanban/README.md +6 -4
  358. package/kanban/lib/kanban/kanban.module.d.ts +10 -0
  359. package/label-value/README.md +5 -4
  360. package/label-value/lib/label-value/label-value.module.d.ts +7 -0
  361. package/loading-state/README.md +9 -5
  362. package/loading-state/lib/loading-state/loading-state.module.d.ts +7 -0
  363. package/locale/lib/locale/locale.module.d.ts +13 -0
  364. package/locale/lib/locale/locale.service.d.ts +0 -3
  365. package/locale/lib/locale/options/locale-presets.d.ts +22 -0
  366. package/locale/lib/locale/pipes/localized-bignumber-impure.pipe.d.ts +2 -2
  367. package/locale/lib/locale/pipes/localized-bignumber.pipe.d.ts +20 -1
  368. package/locale/lib/locale/provide-locale.d.ts +18 -0
  369. package/locale/public-api.d.ts +2 -0
  370. package/localized-number-input/README.md +32 -8
  371. package/localized-number-input/lib/localized-number-input/localized-number-input.directive.d.ts +4 -0
  372. package/localized-number-input/lib/localized-number-input/localized-number-input.module.d.ts +7 -0
  373. package/mask/lib/mask/mask-formatter.module.d.ts +7 -0
  374. package/mouse-events/README.md +5 -4
  375. package/mouse-events/lib/mouse-events/mouse-events.module.d.ts +7 -0
  376. package/navigation-button/README.md +5 -4
  377. package/navigation-button/lib/navigation-button/navigation-button.module.d.ts +7 -0
  378. package/number-input/lib/number-input/number-input.directive.d.ts +1 -1
  379. package/number-input/lib/number-input/number-input.module.d.ts +8 -1
  380. package/numeric/README.md +6 -5
  381. package/numeric/lib/numeric.module.d.ts +7 -0
  382. package/numeric-mask/README.md +44 -1
  383. package/numeric-mask/lib/numeric-mask/numeric-mask.directive.d.ts +65 -4
  384. package/numeric-mask/lib/numeric-mask/numeric-mask.module.d.ts +7 -0
  385. package/object-card/README.md +11 -4
  386. package/object-card/lib/object-card/object-card.module.d.ts +11 -0
  387. package/package.json +1 -1
  388. package/panel/README.md +8 -4
  389. package/panel/lib/panel/panel.module.d.ts +10 -0
  390. package/password-strength/README.md +6 -3
  391. package/password-strength/lib/password-strength/password-strength.module.d.ts +7 -0
  392. package/picklist/README.md +8 -5
  393. package/picklist/lib/picklist/picklist.module.d.ts +7 -0
  394. package/pin-code-field/lib/pin-code-field.module.d.ts +7 -0
  395. package/product-header/README.md +2 -2
  396. package/profile-picture-picker/README.md +6 -3
  397. package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.d.ts +7 -0
  398. package/progressbar/README.md +6 -3
  399. package/progressbar/lib/progressbar/progressbar.module.d.ts +7 -0
  400. package/rating-scale/README.md +6 -3
  401. package/rating-scale/lib/rating-scale/rating-scale.module.d.ts +7 -0
  402. package/schematics/collection.json +40 -0
  403. package/schematics/migrations/migrate-app-to-standalone/index.d.ts +32 -0
  404. package/schematics/migrations/migrate-app-to-standalone/index.js +98 -0
  405. package/schematics/migrations/migrate-app-to-standalone/index.js.map +1 -0
  406. package/schematics/migrations/migrate-deprecated-apis/index.d.ts +49 -0
  407. package/schematics/migrations/migrate-deprecated-apis/index.js +660 -0
  408. package/schematics/migrations/migrate-deprecated-apis/index.js.map +1 -0
  409. package/schematics/migrations/migrate-deprecated-datepicker/index.d.ts +31 -0
  410. package/schematics/migrations/migrate-deprecated-datepicker/index.js +115 -0
  411. package/schematics/migrations/migrate-deprecated-datepicker/index.js.map +1 -0
  412. package/schematics/migrations/migrate-deprecated-dynamic-form/index.d.ts +52 -0
  413. package/schematics/migrations/migrate-deprecated-dynamic-form/index.js +661 -0
  414. package/schematics/migrations/migrate-deprecated-dynamic-form/index.js.map +1 -0
  415. package/schematics/migrations/migrate-deprecated-imports/index.d.ts +23 -0
  416. package/schematics/migrations/migrate-deprecated-imports/index.js +335 -0
  417. package/schematics/migrations/migrate-deprecated-imports/index.js.map +1 -0
  418. package/schematics/migrations/migrate-deprecated-selectors/index.d.ts +15 -0
  419. package/schematics/migrations/migrate-deprecated-selectors/index.js +76 -0
  420. package/schematics/migrations/migrate-deprecated-selectors/index.js.map +1 -0
  421. package/schematics/migrations/migrate-modules-to-standalone/index.d.ts +51 -0
  422. package/schematics/migrations/migrate-modules-to-standalone/index.js +632 -0
  423. package/schematics/migrations/migrate-modules-to-standalone/index.js.map +1 -0
  424. package/schematics/migrations/migrate-modules-to-standalone/modules-map.json +1656 -0
  425. package/schematics/migrations/migrate-v20/index.d.ts +9 -0
  426. package/schematics/migrations/migrate-v20/index.js +90 -0
  427. package/schematics/migrations/migrate-v20/index.js.map +1 -0
  428. package/schematics/migrations/migrate-v20/items.d.ts +7 -0
  429. package/schematics/migrations/migrate-v20/items.js +54 -0
  430. package/schematics/migrations/migrate-v20/items.js.map +1 -0
  431. package/schematics/migrations/migrate-v20/plan.d.ts +32 -0
  432. package/schematics/migrations/migrate-v20/plan.js +29 -0
  433. package/schematics/migrations/migrate-v20/plan.js.map +1 -0
  434. package/schematics/migrations.json +5 -1
  435. package/schematics/schema/app-standalone.schema.json +21 -0
  436. package/schematics/schema/migrate-v20.schema.json +33 -0
  437. package/schematics/schema/scope.schema.json +17 -0
  438. package/schematics/utils/ast-utils.js +16 -0
  439. package/schematics/utils/ast-utils.js.map +1 -1
  440. package/schematics/utils/eol.d.ts +5 -0
  441. package/schematics/utils/eol.js +17 -0
  442. package/schematics/utils/eol.js.map +1 -0
  443. package/schematics/utils/prompt-utils.d.ts +62 -0
  444. package/schematics/utils/prompt-utils.js +166 -0
  445. package/schematics/utils/prompt-utils.js.map +1 -0
  446. package/schematics/utils/report.d.ts +27 -0
  447. package/schematics/utils/report.js +70 -0
  448. package/schematics/utils/report.js.map +1 -0
  449. package/schematics/utils/scope.d.ts +17 -0
  450. package/schematics/utils/scope.js +55 -0
  451. package/schematics/utils/scope.js.map +1 -0
  452. package/schematics/utils/selection.d.ts +21 -0
  453. package/schematics/utils/selection.js +60 -0
  454. package/schematics/utils/selection.js.map +1 -0
  455. package/schematics/utils/symbol-utils.d.ts +31 -0
  456. package/schematics/utils/symbol-utils.js +202 -0
  457. package/schematics/utils/symbol-utils.js.map +1 -0
  458. package/schematics/utils/template-utils.d.ts +62 -0
  459. package/schematics/utils/template-utils.js +165 -0
  460. package/schematics/utils/template-utils.js.map +1 -0
  461. package/schematics/utils/tsconfig-paths.d.ts +5 -0
  462. package/schematics/utils/tsconfig-paths.js +73 -0
  463. package/schematics/utils/tsconfig-paths.js.map +1 -0
  464. package/select/lib/select/select.component.d.ts +8 -0
  465. package/select-button/README.md +6 -3
  466. package/select-button/lib/select-button/select-button.module.d.ts +7 -0
  467. package/shared/lib/shared/border-button/border-button.module.d.ts +7 -0
  468. package/sidebar/README.md +2 -2
  469. package/slide-in-bar/README.md +5 -5
  470. package/slide-in-bar/lib/slide-in-bar/slide-in-bar.module.d.ts +7 -0
  471. package/slider/README.md +6 -3
  472. package/slider/lib/slider/slider.module.d.ts +7 -0
  473. package/speech-recognition/README.md +6 -3
  474. package/speech-recognition/lib/speech-recognition/speech-recognition.module.d.ts +7 -0
  475. package/split-button/README.md +6 -3
  476. package/split-button/lib/split-button/split-button.module.d.ts +7 -0
  477. package/stats-card/README.md +6 -3
  478. package/stats-card/lib/stats-card/stats-card.module.d.ts +7 -0
  479. package/stepper/README.md +6 -3
  480. package/stepper/lib/stepper/stepper.module.d.ts +7 -0
  481. package/structure/lib/structure/structure.module.d.ts +7 -0
  482. package/switch/README.md +6 -3
  483. package/switch/lib/switch/switch.module.d.ts +7 -0
  484. package/table/README.md +12 -4
  485. package/table/lib/table/table.module.d.ts +8 -0
  486. package/table-header/lib/table-header/table-header-checkox.module.d.ts +7 -0
  487. package/template/README.md +0 -11
  488. package/template/lib/template/template.module.d.ts +7 -0
  489. package/text-area/lib/text-area.module.d.ts +7 -0
  490. package/text-area-ia/README.md +1 -1
  491. package/thumbnail/lib/thumbnail/thumbnail.module.d.ts +7 -0
  492. package/thumbnails/lib/thumbnails/thumbnails.module.d.ts +7 -0
  493. package/tiered-menu/lib/tiered-menu/tiered-menu.module.d.ts +7 -0
  494. package/tile/lib/tile/tile.module.d.ts +10 -0
  495. package/timeline/lib/timeline/timeline.module.d.ts +7 -0
  496. package/toast/lib/toast/toast.module.d.ts +7 -0
  497. package/token-list/lib/token-list/token-list.module.d.ts +7 -0
  498. package/tooltip/lib/tooltip/tooltip.module.d.ts +7 -0
  499. package/topbar/lib/topbar/topbar.module.d.ts +10 -0
  500. package/tree/lib/tree/tree.module.d.ts +7 -0
  501. package/workspace-switch/lib/workspace-switch/workspace-switch.module.d.ts +7 -0
  502. package/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.d.ts +0 -664
  503. package/dynamic-form/dynamic-form/form-field/fields/number/number-field.component.d.ts +0 -29
  504. package/esm2022/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.mjs +0 -96
  505. package/esm2022/dynamic-form/dynamic-form/form-field/fields/number/number-field.component.mjs +0 -124
package/README.md CHANGED
@@ -54,8 +54,27 @@ npm install @seniorsistemas/angular-components
54
54
  Cada componente é importado individualmente pelo seu sub-pacote:
55
55
 
56
56
  ```typescript
57
- import { ButtonModule } from '@seniorsistemas/angular-components/button';
58
- import { DynamicFormModule } from '@seniorsistemas/angular-components/dynamic-form';
57
+ import { ButtonComponent } from '@seniorsistemas/angular-components/button';
58
+ import { DynamicFormComponent } from '@seniorsistemas/angular-components/dynamic-form';
59
+
60
+ @Component({
61
+ standalone: true,
62
+ imports: [ButtonComponent, DynamicFormComponent],
63
+ })
64
+ export class MeuComponent {}
65
+ ```
66
+
67
+ Os componentes são standalone. Os `*Module` (ex.: `ButtonModule`) estão depreciados e serão removidos na v20; para migrar o seu código automaticamente, use `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`.
68
+
69
+ Para a configuração global da aplicação (`app.config.ts`), use as funções `provide*` no lugar dos `forRoot()` dos módulos:
70
+
71
+ ```typescript
72
+ import { provideAngularComponents } from '@seniorsistemas/angular-components/common';
73
+ import { provideLocale } from '@seniorsistemas/angular-components/locale';
74
+
75
+ export const appConfig: ApplicationConfig = {
76
+ providers: [provideAngularComponents({ domain: 'meu_dominio', service: 'meu_servico' }), provideLocale()],
77
+ };
59
78
  ```
60
79
 
61
80
  ## Schematics de migração
@@ -76,9 +95,72 @@ Migrations disponíveis (por versão em que passam a ser aplicadas):
76
95
  | `19.6.0` | `migration-v19-6-0-p-editor` | Migra `p-editor` (PrimeNG/Quill) para `s-editor`: renomeia tag e eventos, remove atributos sem equivalente, limpa configs legadas do `DynamicForm` e atualiza dependências do `package.json` |
77
96
  | `19.6.2` | `migration-v19-6-2-s-chips-outputs` | Renomeia outputs legados do `s-chips`: `onAdd`→`added`, `onRemove`→`removed`, `onChipClick`→`chipClicked`, `onFocus`→`focused`, `onBlur`→`focusLost` |
78
97
  | `19.9.3` | `migration-v19-9-3-fieldset-body-template` | Envolve o conteúdo projetado do `s-fieldset` em `<ng-template sTemplate="body">`, mantendo templates de slot como `sTemplate="header"` fora do body, e garante o `TemplateDirective` no escopo do componente (standalone ou via `NgModule`) |
98
+ | `20.0.0` | `migration-v20-0-0-migrate-v20` | Prepara o projeto para a v20, executando automaticamente seletores, pacotes alias, APIs depreciadas, `dynamic-form`, datepicker e módulos → standalone (ver [Preparar para a v20](#preparar-para-a-v20)) |
79
99
 
80
100
  A lista completa, com a `version` que dispara cada migration e a `factory` correspondente, fica em [`projects/angular-components/schematics/migrations.json`](projects/angular-components/schematics/migrations.json).
81
101
 
102
+ ### Preparar para a v20
103
+
104
+ A v20 remove os seletores, pacotes alias, APIs e `*Module` depreciados na v19. Você pode migrar o seu código **agora, ainda na v19**, com o schematic `migrate-v20`. Ao atualizar para a `20.0.0`, o `ng update` executa **todos os itens automaticamente, sem perguntar**, porque tudo isso deixa de existir na v20:
105
+
106
+ ```bash
107
+ ng generate @seniorsistemas/angular-components:migrate-v20
108
+ ```
109
+
110
+ Rodando pelo `ng generate`, ele pergunta o que migrar, com um checkbox por item e a opção **Marcar todos** (liga e desliga todos os itens):
111
+
112
+ ```
113
+ ? O que deseja migrar?
114
+ ◉ Marcar todos
115
+ ◉ Seletores depreciados (s-sidebar → s-drawer, s-steps → s-stepper, ...)
116
+ ◉ Pacotes e símbolos alias (sidebar → drawer, steps → stepper, ...)
117
+ ◉ Inputs, outputs e APIs depreciadas (onCodeChange, scale, pipes localized*, ...)
118
+ ◉ Dynamic-form (fields → configs, integer → number, textAreaIA, ...)
119
+ ◉ Datepicker (remove sCalendarMask e sDatepickerNoPeriodTab)
120
+ ◉ Módulos → standalone (ButtonModule, LocaleModule.forRoot(), ...)
121
+ ```
122
+
123
+ No final ele mostra um resumo por item e a lista de **pendências manuais** (com arquivo e linha) que a migração automática não conseguiu resolver. Recomendamos commitar antes de rodar, para revisar o diff. Use `--dry-run` para ver o que seria alterado sem gravar.
124
+
125
+ **Atualize a lib antes de rodar pelo `ng generate`.** O código migrado usa APIs novas, como `provideLocale()` e `provideAngularComponents()`. Se o projeto ainda estiver numa versão anterior da lib, ele não compila depois da migração. Pelo `ng update` isso não acontece, porque a lib é atualizada antes das migrações.
126
+
127
+ O item de módulos lê o template de cada componente declarado no `NgModule` para importar só os standalones usados. Ele segue imports relativos e os aliases de `paths` do `tsconfig.json` (ex.: `~features/*`). Quando não consegue ler um template, importa todos os standalones do módulo e avisa nas pendências manuais.
128
+
129
+ Para usar sem terminal interativo (CI) ou migrar só uma parte:
130
+
131
+ | Opção | O que faz |
132
+ | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
133
+ | `--all` | Executa todos os itens, sem perguntar |
134
+ | `--items=a,b` | Executa só os itens informados: `selectors`, `imports`, `apis`, `dynamic-form`, `datepicker`, `modules`, `app-standalone` |
135
+ | `--skip=a,b` | Pula os itens informados |
136
+ | `--path=src/app` | Limita a migração a uma pasta |
137
+ | `--project=meu-app` | Limita a migração ao projeto do `angular.json` |
138
+
139
+ Sem terminal interativo e sem `--items`/`--all`, todos os itens são executados (a conversão do app para standalone só roda com `--items=app-standalone`).
140
+
141
+ Cada item também roda isolado, sem perguntas:
142
+
143
+ ```bash
144
+ ng generate @seniorsistemas/angular-components:migrate-deprecated-selectors
145
+ ng generate @seniorsistemas/angular-components:migrate-deprecated-imports
146
+ ng generate @seniorsistemas/angular-components:migrate-deprecated-apis
147
+ ng generate @seniorsistemas/angular-components:migrate-deprecated-dynamic-form
148
+ ng generate @seniorsistemas/angular-components:migrate-deprecated-datepicker
149
+ ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone
150
+ ```
151
+
152
+ **Migrações nativas do Angular (standalone).** O `migrate-v20` **não pergunta** sobre a conversão do seu app para standalone. Ao terminar, ele avisa que existe um schematic para isso e lista o que ele faz. Essas migrações são feitas **pelo Angular**: o `migrate-app-to-standalone` é só um wrapper que chama o schematic oficial [`@angular/core:standalone`](https://angular.dev/reference/migrations/standalone). Por isso o resultado e eventuais problemas dessa etapa vêm do schematic do Angular, e não do angular-components. O Angular a executa em 3 modos, nesta ordem:
153
+
154
+ 1. `convert-to-standalone`: converte componentes, diretivas e pipes para standalone (remove `standalone: false` e adiciona as dependências ao `imports` de cada um) e atualiza os NgModules que os declaravam, que passam a importá-los em vez de declará-los.
155
+ 2. `prune-ng-modules`: remove os NgModules que ficaram sem função depois da conversão (sem `declarations`, `providers` nem `bootstrap`, e que não são usados em testes) e as referências a eles nos `imports`/`exports` de outros módulos.
156
+ 3. `standalone-bootstrap`: troca `platformBrowserDynamic().bootstrapModule(AppModule)` por `bootstrapApplication(AppComponent, ...)`, move os providers e imports do módulo raiz para a configuração do bootstrap (por exemplo, `app.config.ts`, usando funções como `provideRouter` e `provideHttpClient` quando há equivalente) e remove o módulo raiz.
157
+
158
+ O Angular recomenda rodar um modo por vez, conferir o build e revisar o diff entre eles. Para executar, use `--mode` e `--path` para limitar:
159
+
160
+ ```bash
161
+ ng generate @seniorsistemas/angular-components:migrate-app-to-standalone
162
+ ```
163
+
82
164
  ### Executando uma migration individualmente
83
165
 
84
166
  Se você já está na versão instalada (não chegou até ela via `ng update`) e só precisa aplicar uma migration específica no seu projeto, sem atualizar nada, há duas formas:
@@ -20,12 +20,13 @@ Componente de acordeão para organizar conteúdo em painéis expansíveis e cola
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { AccordionModule } from '@seniorsistemas/angular-components/accordion';
23
+ import { AccordionComponent, AccordionPanelComponent } from '@seniorsistemas/angular-components/accordion';
24
24
 
25
- @NgModule({
26
- imports: [AccordionModule],
25
+ @Component({
26
+ standalone: true,
27
+ imports: [AccordionComponent, AccordionPanelComponent],
27
28
  })
28
- export class MeuModule {}
29
+ export class MeuComponent {}
29
30
  ```
30
31
 
31
32
  ## Uso básico
@@ -1,6 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./accordion.component";
3
3
  import * as i2 from "./components/accordion-panel/accordion-panel.component";
4
+ /**
5
+ * @deprecated Será removido na v20. Importe diretamente os standalones `AccordionComponent` e
6
+ * `AccordionPanelComponent` (de `@seniorsistemas/angular-components/accordion`) no lugar deste módulo.
7
+ *
8
+ * Migração automática (também executada pelo `ng update` na v20):
9
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
10
+ */
4
11
  export declare class AccordionModule {
5
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionModule, never>;
6
13
  static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionModule, never, [typeof i1.AccordionComponent, typeof i2.AccordionPanelComponent], [typeof i1.AccordionComponent, typeof i2.AccordionPanelComponent]>;
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./alert.component";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `AlertComponent` (de
5
+ * `@seniorsistemas/angular-components/alert`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class AlertModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<AlertModule, never, [typeof i1.AlertComponent], [typeof i1.AlertComponent]>;
package/badge/README.md CHANGED
@@ -20,12 +20,13 @@ Componente para exibir rótulos visuais compactos, tags, status, categorias e co
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { BadgeModule } from '@seniorsistemas/angular-components/badge';
23
+ import { BadgeComponent } from '@seniorsistemas/angular-components/badge';
24
24
 
25
- @NgModule({
26
- imports: [BadgeModule],
25
+ @Component({
26
+ standalone: true,
27
+ imports: [BadgeComponent],
27
28
  })
28
- export class MeuModule {}
29
+ export class MeuComponent {}
29
30
  ```
30
31
 
31
32
  ## Uso básico
@@ -1,6 +1,16 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "@angular/router";
3
3
  import * as i2 from "./badge.component";
4
+ /**
5
+ * @deprecated Será removido na v20. Importe diretamente o standalone `BadgeComponent` (de
6
+ * `@seniorsistemas/angular-components/badge`) no lugar deste módulo.
7
+ *
8
+ * Este módulo também reexportava `RouterModule` (`@angular/router`, usado em templates por `<router-outlet>`,
9
+ * `[routerLink]`, `[routerLinkActive]`). Se o seu template usa algum deles, importe-o diretamente.
10
+ *
11
+ * Migração automática (também executada pelo `ng update` na v20):
12
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
13
+ */
4
14
  export declare class BadgeModule {
5
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeModule, never>;
6
16
  static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeModule, never, [typeof i1.RouterModule, typeof i2.BadgeComponent], [typeof i2.BadgeComponent, typeof i1.RouterModule]>;
@@ -28,12 +28,13 @@ Diretiva de máscara para campos de entrada de números de grande precisão. Per
28
28
  ## Instalação (legado)
29
29
 
30
30
  ```typescript
31
- import { BignumberInputModule } from '@seniorsistemas/angular-components/bignumber-input';
31
+ import { BignumberInputDirective } from '@seniorsistemas/angular-components/bignumber-input';
32
32
 
33
- @NgModule({
34
- imports: [BignumberInputModule],
33
+ @Component({
34
+ standalone: true,
35
+ imports: [BignumberInputDirective],
35
36
  })
36
- export class MeuModule {}
37
+ export class MeuComponent {}
37
38
  ```
38
39
 
39
40
  ## Uso básico
@@ -1,5 +1,4 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { AbstractControl, ValidationErrors } from '@angular/forms';
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
3
2
  import { NumericMaskDirective } from '@seniorsistemas/angular-components/numeric-mask';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
@@ -10,11 +9,17 @@ export declare enum BignumberAlignmentOption {
10
9
  LEFT = "left"
11
10
  }
12
11
  /**
13
- * @deprecated Utilize a diretiva `BigNumberInput` ao invés desta.
12
+ * @deprecated Utilize a diretiva `sNumericMask` ao invés desta.
14
13
  * @description Diretiva de máscara para campos de entrada de números de grande precisão,
15
14
  * adaptada do `CurrencyMaskDirective`. Permite configurar precisão, escala,
16
15
  * separadores decimais e de milhar de acordo com o locale da aplicação.
17
16
  *
17
+ * `precision`, o `maxLength` nativo, o `placeholder` auto-calculado, `pasteRejected` e a
18
+ * preservação de separador explícito entre trocas de locale são herdados de
19
+ * `NumericMaskDirective` (lá são opt-in; aqui ficam sempre ativos por causa do default de
20
+ * `precision`). Esta classe só mapeia os aliases depreciados próprios dela (`scale`,
21
+ * `thousandsSeparator`) para os inputs reais da base.
22
+ *
18
23
  * @example
19
24
  * ```html
20
25
  * <input sBignumberInput [precision]="15" [scale]="2" [allowNegative]="false" />
@@ -22,7 +27,7 @@ export declare enum BignumberAlignmentOption {
22
27
  *
23
28
  * @category Inputs
24
29
  */
25
- export declare class BignumberInputDirective extends NumericMaskDirective implements OnInit, OnChanges {
30
+ export declare class BignumberInputDirective extends NumericMaskDirective implements OnChanges {
26
31
  /**
27
32
  * @description Número total de dígitos significativos aceitos pelo campo (parte inteira + parte decimal).
28
33
  *
@@ -33,7 +38,7 @@ export declare class BignumberInputDirective extends NumericMaskDirective implem
33
38
  *
34
39
  * @default 15
35
40
  */
36
- precision: import("@angular/core").InputSignal<number>;
41
+ precision: import("@angular/core").InputSignal<number | undefined>;
37
42
  /**
38
43
  * @deprecated Use `minDecimalPlaces` e `maxDecimalPlaces` ao invés deste.
39
44
  * @description Número de casas decimais exibidas e aceitas pelo campo.
@@ -87,41 +92,13 @@ export declare class BignumberInputDirective extends NumericMaskDirective implem
87
92
  */
88
93
  blockDecimalOverflow: import("@angular/core").InputSignal<boolean>;
89
94
  /**
90
- * @description Texto de placeholder exibido quando o campo está vazio.
91
- */
92
- placeholder: import("@angular/core").ModelSignal<string | undefined>;
93
- maxLength?: number;
94
- /**
95
- * @description Emitido quando uma colagem (paste) é rejeitada pela validação do campo.
96
- * Emite a string colada que foi recusada.
95
+ * Maps this directive's own deprecated aliases (`scale`, `thousandsSeparator`) into the
96
+ * base's real inputs (`minDecimalPlaces`/`maxDecimalPlaces`/`thousandSeparator`) before
97
+ * delegating to `NumericMaskDirective`, which recalculates `maxLength`/`placeholder` from
98
+ * whichever of its own tracked inputs changed. Recalculates once more afterwards for the
99
+ * alias-driven changes, which the base has no knowledge of.
97
100
  */
98
- pasteRejected: import("@angular/core").OutputEmitterRef<string>;
99
- private _decimalSeparatorExplicit;
100
- private _thousandSeparatorExplicit;
101
- private _lastAutoPlaceholder;
102
- constructor();
103
- ngOnInit(): void;
104
101
  ngOnChanges(changes: SimpleChanges): void;
105
- /**
106
- * Overrides base paste handler to add precision validation.
107
- * If the pasted value exceeds `precision` digits, the paste is rejected.
108
- */
109
- onPaste(event: ClipboardEvent): void;
110
- /**
111
- * Overrides locale-derived separators with explicitly set inputs, if provided.
112
- * If no explicit separator is set, the locale-derived value is used.
113
- */
114
- protected updateSeparators(): void;
115
- /**
116
- * Overrides base validator to add precision validation.
117
- * If the total number of significant digits exceeds `precision`, returns an `exceedsPrecision` error.
118
- */
119
- validate(control: AbstractControl): ValidationErrors | null;
120
- /**
121
- * Responsible to calculate the field maximum length considering the separators.
122
- */
123
- private calculateMaxLength;
124
- private updatePlaceholder;
125
102
  static ɵfac: i0.ɵɵFactoryDeclaration<BignumberInputDirective, never>;
126
- static ɵdir: i0.ɵɵDirectiveDeclaration<BignumberInputDirective, "input[sBignumberInput]", never, { "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "scale": { "alias": "scale"; "required": false; "isSignal": true; }; "minDecimalPlaces": { "alias": "minDecimalPlaces"; "required": false; "isSignal": true; }; "maxDecimalPlaces": { "alias": "maxDecimalPlaces"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; "isSignal": true; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; "isSignal": true; }; "alignTo": { "alias": "alignTo"; "required": false; "isSignal": true; }; "allowNegative": { "alias": "allowNegative"; "required": false; "isSignal": true; }; "blockDecimalOverflow": { "alias": "blockDecimalOverflow"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "minDecimalPlaces": "minDecimalPlacesChange"; "maxDecimalPlaces": "maxDecimalPlacesChange"; "decimalSeparator": "decimalSeparatorChange"; "thousandSeparator": "thousandSeparatorChange"; "placeholder": "placeholderChange"; "pasteRejected": "pasteRejected"; }, never, never, true, never>;
103
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BignumberInputDirective, "input[sBignumberInput]", never, { "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "scale": { "alias": "scale"; "required": false; "isSignal": true; }; "minDecimalPlaces": { "alias": "minDecimalPlaces"; "required": false; "isSignal": true; }; "maxDecimalPlaces": { "alias": "maxDecimalPlaces"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; "isSignal": true; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; "isSignal": true; }; "alignTo": { "alias": "alignTo"; "required": false; "isSignal": true; }; "allowNegative": { "alias": "allowNegative"; "required": false; "isSignal": true; }; "blockDecimalOverflow": { "alias": "blockDecimalOverflow"; "required": false; "isSignal": true; }; }, { "minDecimalPlaces": "minDecimalPlacesChange"; "maxDecimalPlaces": "maxDecimalPlacesChange"; "decimalSeparator": "decimalSeparatorChange"; "thousandSeparator": "thousandSeparatorChange"; }, never, never, true, never>;
127
104
  }
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./bignumber-input.directive";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `BignumberInputDirective` (de
5
+ * `@seniorsistemas/angular-components/bignumber-input`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class BignumberInputModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<BignumberInputModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<BignumberInputModule, never, [typeof i1.BignumberInputDirective], [typeof i1.BignumberInputDirective]>;
@@ -20,12 +20,13 @@ Componente de trilha de navegação que constrói automaticamente o caminho hier
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { BreadcrumbModule } from '@seniorsistemas/angular-components/breadcrumb';
23
+ import { DynamicBreadcrumbComponent } from '@seniorsistemas/angular-components/breadcrumb';
24
24
 
25
- @NgModule({
26
- imports: [BreadcrumbModule],
25
+ @Component({
26
+ standalone: true,
27
+ imports: [DynamicBreadcrumbComponent],
27
28
  })
28
- export class MeuModule {}
29
+ export class MeuComponent {}
29
30
  ```
30
31
 
31
32
  ## Uso básico
@@ -1,7 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./dynamic-breadcrumb.component";
3
3
  /**
4
- * @deprecated utilizar DynamicBreadcrumbComponent (standalone)
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `DynamicBreadcrumbComponent` (de
5
+ * `@seniorsistemas/angular-components/breadcrumb`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
5
9
  */
6
10
  export declare class BreadcrumbModule {
7
11
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbModule, never>;
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./button.component";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `ButtonComponent` (de
5
+ * `@seniorsistemas/angular-components/button`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class ButtonModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, never, [typeof i1.ButtonComponent], [typeof i1.ButtonComponent]>;
@@ -23,12 +23,13 @@ Diretiva que aplica máscara de entrada ao componente `p-calendar` do PrimeNG, f
23
23
  ## Instalação
24
24
 
25
25
  ```typescript
26
- import { CalendarMaskModule } from '@seniorsistemas/angular-components/calendar-mask';
26
+ import { CalendarMaskDirective } from '@seniorsistemas/angular-components/calendar-mask';
27
27
 
28
- @NgModule({
29
- imports: [CalendarMaskModule],
28
+ @Component({
29
+ standalone: true,
30
+ imports: [CalendarMaskDirective],
30
31
  })
31
- export class MeuModule {}
32
+ export class MeuComponent {}
32
33
  ```
33
34
 
34
35
  ## Uso básico
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./calendar-mask.directive";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `CalendarMaskDirective` (de
5
+ * `@seniorsistemas/angular-components/calendar-mask`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class CalendarMaskModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMaskModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarMaskModule, never, [typeof i1.CalendarMaskDirective], [typeof i1.CalendarMaskDirective]>;
package/card/README.md CHANGED
@@ -20,13 +20,14 @@ Componente container para agrupar conteúdo relacionado de forma visual e organi
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { CardModule } from '@seniorsistemas/angular-components/card';
24
- import { TemplateModule } from '@seniorsistemas/angular-components/template';
23
+ import { CardComponent } from '@seniorsistemas/angular-components/card';
24
+ import { TemplateDirective } from '@seniorsistemas/angular-components/template';
25
25
 
26
- @NgModule({
27
- imports: [CardModule, TemplateModule],
26
+ @Component({
27
+ standalone: true,
28
+ imports: [CardComponent, TemplateDirective],
28
29
  })
29
- export class MeuModule {}
30
+ export class MeuComponent {}
30
31
  ```
31
32
 
32
33
  ## Uso básico
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./card.component";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `CardComponent` (de
5
+ * `@seniorsistemas/angular-components/card`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class CardModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CardModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, never, [typeof i1.CardComponent], [typeof i1.CardComponent]>;
package/chat/README.md CHANGED
@@ -18,20 +18,23 @@ Componente para exibir conversas em formato de chat com mensagens enviadas e rec
18
18
  ## Instalação
19
19
 
20
20
  ```typescript
21
- import { ChatModule } from '@seniorsistemas/angular-components/chat';
21
+ import { ChatComponent } from '@seniorsistemas/angular-components/chat';
22
22
 
23
- @NgModule({
24
- imports: [ChatModule],
23
+ @Component({
24
+ standalone: true,
25
+ imports: [ChatComponent],
25
26
  })
26
- export class MeuModule {}
27
+ export class MeuComponent {}
27
28
  ```
28
29
 
29
- > **Dependência:** O componente usa `LocaleService` para formatar timestamps. Importe `LocaleModule` no módulo raiz:
30
+ > **Dependência:** O componente usa `LocaleService` para formatar timestamps. Registre `provideLocale()` nos providers da aplicação:
30
31
  >
31
32
  > ```typescript
32
- > import { LocaleModule } from '@seniorsistemas/angular-components/locale';
33
- > @NgModule({ imports: [LocaleModule] })
34
- > export class AppModule {}
33
+ > import { provideLocale } from '@seniorsistemas/angular-components/locale';
34
+ >
35
+ > export const appConfig: ApplicationConfig = {
36
+ > providers: [provideLocale()],
37
+ > };
35
38
  > ```
36
39
 
37
40
  ## Uso básico
@@ -1,6 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "@ngx-translate/core";
3
3
  import * as i2 from "./chat.component";
4
+ /**
5
+ * @deprecated Será removido na v20. Importe diretamente o standalone `ChatComponent` (de
6
+ * `@seniorsistemas/angular-components/chat`) no lugar deste módulo.
7
+ *
8
+ * Migração automática (também executada pelo `ng update` na v20):
9
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
10
+ */
4
11
  export declare class ChatModule {
5
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatModule, never>;
6
13
  static ɵmod: i0.ɵɵNgModuleDeclaration<ChatModule, never, [typeof i1.TranslateModule, typeof i2.ChatComponent], [typeof i2.ChatComponent]>;
@@ -20,12 +20,13 @@ Componente de lista de checkboxes com suporte a hierarquia multinível. Gerencia
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { CheckboxListModule } from '@seniorsistemas/angular-components/checkbox-list';
23
+ import { CheckboxListComponent } from '@seniorsistemas/angular-components/checkbox-list';
24
24
 
25
- @NgModule({
26
- imports: [CheckboxListModule],
25
+ @Component({
26
+ standalone: true,
27
+ imports: [CheckboxListComponent],
27
28
  })
28
- export class MeuModule {}
29
+ export class MeuComponent {}
29
30
  ```
30
31
 
31
32
  ## Uso básico
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./checkbox-list.component";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `CheckboxListComponent` (de
5
+ * `@seniorsistemas/angular-components/checkbox-list`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class CheckboxListModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxListModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxListModule, never, [typeof i1.CheckboxListComponent], [typeof i1.CheckboxListComponent]>;
package/chips/README.md CHANGED
@@ -20,12 +20,13 @@ Componente para entrada de múltiplos valores em formato de chips/tags removíve
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { ChipsModule } from '@seniorsistemas/angular-components/chips';
23
+ import { ChipsComponent } from '@seniorsistemas/angular-components/chips';
24
24
 
25
- @NgModule({
26
- imports: [ChipsModule],
25
+ @Component({
26
+ standalone: true,
27
+ imports: [ChipsComponent],
27
28
  })
28
- export class MeuModule {}
29
+ export class MeuComponent {}
29
30
  ```
30
31
 
31
32
  ## Uso básico
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./chips/chips.component";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `ChipsComponent` (de
5
+ * `@seniorsistemas/angular-components/chips`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class ChipsModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipsModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<ChipsModule, never, [typeof i1.ChipsComponent], [typeof i1.ChipsComponent]>;
@@ -20,12 +20,13 @@ Componente de editor de código com syntax highlighting, construído sobre CodeM
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { CodeEditorModule } from '@seniorsistemas/angular-components/code-editor';
23
+ import { CodeEditorComponent } from '@seniorsistemas/angular-components/code-editor';
24
24
 
25
- @NgModule({
26
- imports: [CodeEditorModule],
25
+ @Component({
26
+ standalone: true,
27
+ imports: [CodeEditorComponent],
27
28
  })
28
- export class MeuModule {}
29
+ export class MeuComponent {}
29
30
  ```
30
31
 
31
32
  ## Uso básico
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./code-editor.component";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `CodeEditorComponent` (de
5
+ * `@seniorsistemas/angular-components/code-editor`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class CodeEditorModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CodeEditorModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<CodeEditorModule, never, [typeof i1.CodeEditorComponent], [typeof i1.CodeEditorComponent]>;
@@ -20,12 +20,13 @@ Componente de link de expansão/recolhimento com animação suave. Exibe um bot
20
20
  ## Instalação
21
21
 
22
22
  ```typescript
23
- import { CollapseLinkModule } from '@seniorsistemas/angular-components/collapse-link';
23
+ import { CollapseLinkComponent } from '@seniorsistemas/angular-components/collapse-link';
24
24
 
25
- @NgModule({
26
- imports: [CollapseLinkModule],
25
+ @Component({
26
+ standalone: true,
27
+ imports: [CollapseLinkComponent],
27
28
  })
28
- export class MeuModule {}
29
+ export class MeuComponent {}
29
30
  ```
30
31
 
31
32
  ## Uso básico
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./collapse-link.component";
3
+ /**
4
+ * @deprecated Será removido na v20. Importe diretamente o standalone `CollapseLinkComponent` (de
5
+ * `@seniorsistemas/angular-components/collapse-link`) no lugar deste módulo.
6
+ *
7
+ * Migração automática (também executada pelo `ng update` na v20):
8
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
9
+ */
3
10
  export declare class CollapseLinkModule {
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CollapseLinkModule, never>;
5
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<CollapseLinkModule, never, [typeof i1.CollapseLinkComponent], [typeof i1.CollapseLinkComponent]>;
@@ -5,6 +5,15 @@ export interface HostProjectConfigs {
5
5
  domain: string;
6
6
  service: string;
7
7
  }
8
+ /**
9
+ * @deprecated Será removido na v20.
10
+ *
11
+ * Substitua `AngularComponentsModule.forRoot(...)` por `provideAngularComponents(...)` (de
12
+ * `@seniorsistemas/angular-components/common`).
13
+ *
14
+ * Migração automática (também executada pelo `ng update` na v20):
15
+ * `ng generate @seniorsistemas/angular-components:migrate-modules-to-standalone`
16
+ */
8
17
  export declare class AngularComponentsModule {
9
18
  static forRoot(config: HostProjectConfigs): ModuleWithProviders<AngularComponentsModule>;
10
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularComponentsModule, never>;