@seniorsistemas/data-seniorx-core 2.3.0 → 3.0.0-master-25c6c984

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 (393) hide show
  1. package/core/constants/autocomplete.const.d.ts +4 -0
  2. package/core/constants/context-selector.const.d.ts +1 -0
  3. package/core/constants/editable-overlay.const.d.ts +4 -0
  4. package/core/constants/gantt.const.d.ts +7 -0
  5. package/core/constants/help-popover.const.d.ts +7 -0
  6. package/core/constants/hyperlink.const.d.ts +1 -0
  7. package/core/constants/inline-edit.const.d.ts +4 -0
  8. package/core/constants/input-mask.const.d.ts +5 -0
  9. package/core/constants/kanban.const.d.ts +2 -0
  10. package/core/constants/navigation-button.const.d.ts +3 -0
  11. package/core/constants/object-card.const.d.ts +21 -0
  12. package/core/constants/pin-code-field.const.d.ts +5 -0
  13. package/core/constants/rating-scale.const.d.ts +1 -0
  14. package/core/constants/spotlight.const.d.ts +8 -0
  15. package/core/constants/star-rating.const.d.ts +4 -0
  16. package/core/constants/stepper.const.d.ts +1 -0
  17. package/core/constants/thumbnail.const.d.ts +6 -0
  18. package/core/constants/thumbnails.const.d.ts +4 -0
  19. package/core/constants/tiered-menu.const.d.ts +3 -0
  20. package/core/constants/token-list.const.d.ts +3 -0
  21. package/core/types/autocomplete.type.d.ts +9 -0
  22. package/core/types/button.type.d.ts +1 -1
  23. package/core/types/chat.type.d.ts +12 -0
  24. package/core/types/checkbox-list.type.d.ts +12 -0
  25. package/core/types/datepicker.type.d.ts +28 -0
  26. package/core/types/dynamic-form.type.d.ts +29 -0
  27. package/core/types/editable-overlay.type.d.ts +15 -0
  28. package/core/types/gantt.type.d.ts +22 -0
  29. package/core/types/grid-menu.type.d.ts +13 -0
  30. package/core/types/help-popover.type.d.ts +2 -0
  31. package/core/types/hyperlink.type.d.ts +1 -0
  32. package/core/types/image-cropper.type.d.ts +20 -0
  33. package/core/types/inline-edit.type.d.ts +26 -0
  34. package/core/types/input-mask.type.d.ts +6 -0
  35. package/core/types/kanban.type.d.ts +36 -0
  36. package/core/types/lookup.type.d.ts +45 -0
  37. package/core/types/navigation-button.type.d.ts +9 -0
  38. package/core/types/panel.type.d.ts +16 -0
  39. package/core/types/profile-picture-picker.type.d.ts +9 -0
  40. package/core/types/rating-scale.type.d.ts +5 -0
  41. package/core/types/row-card.type.d.ts +5 -0
  42. package/core/types/select-button.type.d.ts +1 -0
  43. package/core/types/semantics.type.d.ts +1 -1
  44. package/core/types/spotlight.type.d.ts +34 -0
  45. package/core/types/star-rating.type.d.ts +1 -0
  46. package/core/types/stepper.type.d.ts +20 -0
  47. package/core/types/table-column.type.d.ts +3 -1
  48. package/core/types/table-options.type.d.ts +9 -2
  49. package/core/types/table.type.d.ts +1 -1
  50. package/core/types/thumbnail.type.d.ts +1 -0
  51. package/core/types/thumbnails.type.d.ts +20 -0
  52. package/core/types/tiered-menu.type.d.ts +16 -0
  53. package/core/types/token-list.type.d.ts +6 -0
  54. package/core/types/tree.type.d.ts +25 -0
  55. package/core/types/workspace-switch.type.d.ts +6 -0
  56. package/core/utils/body-scroll.util.d.ts +2 -0
  57. package/core/utils/emoji-support.util.d.ts +12 -0
  58. package/core/utils/overlay-dismiss.util.d.ts +25 -0
  59. package/core/utils/roving-focus.util.d.ts +2 -0
  60. package/core/utils/selection.util.d.ts +3 -0
  61. package/core/utils/tree.util.d.ts +4 -0
  62. package/esm2022/core/config/row-card.type.config.mjs +3 -1
  63. package/esm2022/core/constants/autocomplete.const.mjs +5 -0
  64. package/esm2022/core/constants/context-selector.const.mjs +2 -0
  65. package/esm2022/core/constants/country-phone-picker.const.mjs +6 -6
  66. package/esm2022/core/constants/editable-overlay.const.mjs +5 -0
  67. package/esm2022/core/constants/gantt.const.mjs +7 -0
  68. package/esm2022/core/constants/help-popover.const.mjs +7 -0
  69. package/esm2022/core/constants/hyperlink.const.mjs +2 -1
  70. package/esm2022/core/constants/inline-edit.const.mjs +5 -0
  71. package/esm2022/core/constants/input-mask.const.mjs +6 -0
  72. package/esm2022/core/constants/kanban.const.mjs +3 -0
  73. package/esm2022/core/constants/navigation-button.const.mjs +4 -0
  74. package/esm2022/core/constants/object-card.const.mjs +23 -0
  75. package/esm2022/core/constants/pin-code-field.const.mjs +6 -0
  76. package/esm2022/core/constants/rating-scale.const.mjs +2 -0
  77. package/esm2022/core/constants/spotlight.const.mjs +9 -0
  78. package/esm2022/core/constants/star-rating.const.mjs +5 -0
  79. package/esm2022/core/constants/stepper.const.mjs +2 -0
  80. package/esm2022/core/constants/table.const.mjs +2 -2
  81. package/esm2022/core/constants/thumbnail.const.mjs +14 -0
  82. package/esm2022/core/constants/thumbnails.const.mjs +5 -0
  83. package/esm2022/core/constants/tiered-menu.const.mjs +4 -0
  84. package/esm2022/core/constants/token-list.const.mjs +4 -0
  85. package/esm2022/core/types/autocomplete.type.mjs +2 -0
  86. package/esm2022/core/types/button.type.mjs +1 -1
  87. package/esm2022/core/types/chat.type.mjs +2 -0
  88. package/esm2022/core/types/checkbox-list.type.mjs +2 -0
  89. package/esm2022/core/types/datepicker.type.mjs +2 -0
  90. package/esm2022/core/types/dynamic-form.type.mjs +2 -0
  91. package/esm2022/core/types/editable-overlay.type.mjs +2 -0
  92. package/esm2022/core/types/gantt.type.mjs +2 -0
  93. package/esm2022/core/types/grid-menu.type.mjs +2 -0
  94. package/esm2022/core/types/help-popover.type.mjs +2 -0
  95. package/esm2022/core/types/hyperlink.type.mjs +1 -1
  96. package/esm2022/core/types/image-cropper.type.mjs +2 -0
  97. package/esm2022/core/types/inline-edit.type.mjs +2 -0
  98. package/esm2022/core/types/input-mask.type.mjs +2 -0
  99. package/esm2022/core/types/kanban.type.mjs +2 -0
  100. package/esm2022/core/types/lookup.type.mjs +2 -0
  101. package/esm2022/core/types/navigation-button.type.mjs +2 -0
  102. package/esm2022/core/types/panel.type.mjs +9 -0
  103. package/esm2022/core/types/profile-picture-picker.type.mjs +2 -0
  104. package/esm2022/core/types/rating-scale.type.mjs +2 -0
  105. package/esm2022/core/types/row-card.type.mjs +1 -1
  106. package/esm2022/core/types/select-button.type.mjs +1 -1
  107. package/esm2022/core/types/semantics.type.mjs +1 -1
  108. package/esm2022/core/types/spotlight.type.mjs +2 -0
  109. package/esm2022/core/types/star-rating.type.mjs +2 -0
  110. package/esm2022/core/types/stepper.type.mjs +7 -0
  111. package/esm2022/core/types/table-column.type.mjs +1 -1
  112. package/esm2022/core/types/table-options.type.mjs +1 -1
  113. package/esm2022/core/types/table.type.mjs +1 -1
  114. package/esm2022/core/types/thumbnail.type.mjs +2 -0
  115. package/esm2022/core/types/thumbnails.type.mjs +2 -0
  116. package/esm2022/core/types/tiered-menu.type.mjs +2 -0
  117. package/esm2022/core/types/token-list.type.mjs +2 -0
  118. package/esm2022/core/types/tree.type.mjs +2 -0
  119. package/esm2022/core/types/workspace-switch.type.mjs +2 -0
  120. package/esm2022/core/utils/body-scroll.util.mjs +19 -0
  121. package/esm2022/core/utils/combobox.util.mjs +3 -2
  122. package/esm2022/core/utils/emoji-support.util.mjs +48 -0
  123. package/esm2022/core/utils/mask.util.mjs +2 -2
  124. package/esm2022/core/utils/overlay-dismiss.util.mjs +38 -0
  125. package/esm2022/core/utils/roving-focus.util.mjs +20 -0
  126. package/esm2022/core/utils/selection.util.mjs +13 -0
  127. package/esm2022/core/utils/string.util.mjs +8 -3
  128. package/esm2022/core/utils/tree.util.mjs +23 -0
  129. package/esm2022/features/accordion/accordion.component.mjs +2 -2
  130. package/esm2022/features/accordion/{accordion-item.component.mjs → components/accordion-item/accordion-item.component.mjs} +7 -7
  131. package/esm2022/features/alert/alert.component.mjs +5 -2
  132. package/esm2022/features/autocomplete/autocomplete.component.mjs +523 -0
  133. package/esm2022/features/autocomplete/components/autocomplete-chip/autocomplete-chip.component.mjs +30 -0
  134. package/esm2022/features/bignumber-input/bignumber-input.component.mjs +1 -1
  135. package/esm2022/features/breadcrumb/breadcrumb.component.mjs +2 -2
  136. package/esm2022/features/button/button.component.mjs +13 -5
  137. package/esm2022/features/card-list/card/card.component.mjs +63 -99
  138. package/esm2022/features/card-list/card-list.component.mjs +2 -2
  139. package/esm2022/features/chat/chat.component.mjs +126 -0
  140. package/esm2022/features/checkbox-list/checkbox-list.component.mjs +145 -0
  141. package/esm2022/features/chips/chips.component.mjs +3 -3
  142. package/esm2022/features/code-editor/code-editor.component.mjs +12 -3
  143. package/esm2022/features/combobox/combobox.component.mjs +20 -8
  144. package/esm2022/features/confirm/confirm.component.mjs +2 -2
  145. package/esm2022/features/context-selector/context-selector.component.mjs +198 -0
  146. package/esm2022/features/country-phone-picker/country-phone-picker.component.mjs +22 -18
  147. package/esm2022/features/currency/currency.component.mjs +3 -3
  148. package/esm2022/features/datepicker/datepicker.component.mjs +814 -0
  149. package/esm2022/features/dynamic-form/dynamic-form-field.directive.mjs +178 -0
  150. package/esm2022/features/dynamic-form/dynamic-form.component.mjs +60 -0
  151. package/esm2022/features/dynamic-form/dynamic-form.registry.mjs +13 -0
  152. package/esm2022/features/editable-overlay/editable-overlay-editor.directive.mjs +31 -0
  153. package/esm2022/features/editable-overlay/editable-overlay.component.mjs +217 -0
  154. package/esm2022/features/editor/editor.component.mjs +173 -0
  155. package/esm2022/features/empty-state/empty-state.component.mjs +3 -3
  156. package/esm2022/features/fileupload/fileupload.component.mjs +3 -3
  157. package/esm2022/features/filters/filters.component.mjs +1 -1
  158. package/esm2022/features/gantt/components/gantt-side-table/gantt-side-table.component.mjs +17 -0
  159. package/esm2022/features/gantt/gantt-date.utils.mjs +97 -0
  160. package/esm2022/features/gantt/gantt.component.mjs +89 -0
  161. package/esm2022/features/gantt/gantt.engine.mjs +662 -0
  162. package/esm2022/features/grid-menu/grid-menu.component.mjs +104 -0
  163. package/esm2022/features/help-popover/help-popover.component.mjs +204 -0
  164. package/esm2022/features/hyperlink/hyperlink.component.mjs +7 -4
  165. package/esm2022/features/icon-picker/icon-picker.component.mjs +4 -4
  166. package/esm2022/features/image-cropper/image-cropper.component.mjs +218 -0
  167. package/esm2022/features/image-cropper/services/image-cropper.service.mjs +50 -0
  168. package/esm2022/features/infinite-scroll/infinite-scroll.directive.mjs +89 -0
  169. package/esm2022/features/info-sign/info-sign.component.mjs +6 -3
  170. package/esm2022/features/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +38 -0
  171. package/esm2022/features/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.mjs +29 -0
  172. package/esm2022/features/inline-edit/components/fields/inline-edit-textarea/inline-edit-textarea.component.mjs +29 -0
  173. package/esm2022/features/inline-edit/components/inline-edit-item/inline-edit-item.component.mjs +131 -0
  174. package/esm2022/features/inline-edit/fields/inline-edit-field.mjs +17 -0
  175. package/esm2022/features/inline-edit/fields/inline-edit-number-field.mjs +15 -0
  176. package/esm2022/features/inline-edit/fields/inline-edit-text-field.mjs +11 -0
  177. package/esm2022/features/inline-edit/fields/inline-edit-textarea-field.mjs +15 -0
  178. package/esm2022/features/inline-edit/inline-edit.component.mjs +27 -0
  179. package/esm2022/features/input-mask/input-mask.directive.mjs +510 -0
  180. package/esm2022/features/interactive-content/interactive-content.directive.mjs +140 -0
  181. package/esm2022/features/kanban/components/kanban-column/kanban-column.component.mjs +88 -0
  182. package/esm2022/features/kanban/components/kanban-item/kanban-item.component.mjs +72 -0
  183. package/esm2022/features/kanban/components/kanban-item-dragging/kanban-item-dragging.component.mjs +19 -0
  184. package/esm2022/features/kanban/directives/kanban-template.directive.mjs +22 -0
  185. package/esm2022/features/kanban/kanban.component.mjs +198 -0
  186. package/esm2022/features/kanban/services/kanban-event.service.mjs +27 -0
  187. package/esm2022/features/list/list.component.mjs +2 -2
  188. package/esm2022/features/loading-state/loading-state.component.mjs +3 -62
  189. package/esm2022/features/localized-number-input/localized-number-input.component.mjs +3 -3
  190. package/esm2022/features/lookup/lookup.component.mjs +351 -0
  191. package/esm2022/features/modal/modal.component.mjs +6 -3
  192. package/esm2022/features/modalc/modalc.component.mjs +6 -3
  193. package/esm2022/features/mouse-events/directives/double-click.directive.mjs +34 -0
  194. package/esm2022/features/mouse-events/directives/long-press.directive.mjs +61 -0
  195. package/esm2022/features/navigation-button/navigation-button.component.mjs +172 -0
  196. package/esm2022/features/number-input/number-input.component.mjs +10 -4
  197. package/esm2022/features/object-card/components/object-card-field/object-card-field.component.mjs +89 -0
  198. package/esm2022/features/object-card/components/object-card-main/object-card-main.component.mjs +114 -0
  199. package/esm2022/features/object-card/object-card.component.mjs +199 -0
  200. package/esm2022/features/paginator/paginator.component.mjs +8 -3
  201. package/esm2022/features/panel/panel.component.mjs +43 -11
  202. package/esm2022/features/password-strength/password-strength.component.mjs +3 -3
  203. package/esm2022/features/pin-code-field/pin-code-field.component.mjs +244 -0
  204. package/esm2022/features/popover/popover.component.mjs +29 -3
  205. package/esm2022/features/profile-picture-picker/profile-picture-picker.component.mjs +339 -0
  206. package/esm2022/features/rating-scale/rating-scale.component.mjs +106 -0
  207. package/esm2022/features/row-card-list/row-card/row-card.component.mjs +19 -4
  208. package/esm2022/features/row-card-list/row-card-list.component.mjs +12 -3
  209. package/esm2022/features/scaffold/scaffold.component.mjs +4 -6
  210. package/esm2022/features/searchbox/searchbox.component.mjs +2 -2
  211. package/esm2022/features/select-button/select-button.component.mjs +29 -4
  212. package/esm2022/features/slider/slider.component.mjs +3 -3
  213. package/esm2022/features/speech-recognition/services/speech-recognition.service.mjs +148 -0
  214. package/esm2022/features/speech-recognition/services/text-to-speech.service.mjs +88 -0
  215. package/esm2022/features/speech-recognition/speech-recognition.component.mjs +243 -0
  216. package/esm2022/features/split-button/split-button.component.mjs +1 -1
  217. package/esm2022/features/spotlight/components/spotlight-overlay/spotlight-overlay.component.mjs +518 -0
  218. package/esm2022/features/spotlight/directives/spotlight-step.directive.mjs +38 -0
  219. package/esm2022/features/spotlight/services/spotlight-tour.service.mjs +179 -0
  220. package/esm2022/features/spotlight/spotlight.component.mjs +160 -0
  221. package/esm2022/features/star-rating/star-rating.component.mjs +116 -0
  222. package/esm2022/features/stepper/stepper.component.mjs +86 -0
  223. package/esm2022/features/switch/switch.component.mjs +12 -8
  224. package/esm2022/features/tab/{tab-item.component.mjs → components/tab-item/tab-item.component.mjs} +1 -1
  225. package/esm2022/features/tab/tab.component.mjs +4 -4
  226. package/esm2022/features/table/components/table-cell-content.component.mjs +14 -5
  227. package/esm2022/features/table/table.component.mjs +242 -30
  228. package/esm2022/features/table/utils/table-data.util.mjs +71 -8
  229. package/esm2022/features/table/utils/table-layout.util.mjs +21 -1
  230. package/esm2022/features/textarea/textarea.component.mjs +3 -3
  231. package/esm2022/features/thumbnail/thumbnail.component.mjs +86 -0
  232. package/esm2022/features/thumbnails/components/thumbnail-item/thumbnail-item.component.mjs +59 -0
  233. package/esm2022/features/thumbnails/components/thumbnail-item-image/thumbnail-item-image.component.mjs +25 -0
  234. package/esm2022/features/thumbnails/components/thumbnail-item-video/thumbnail-item-video.component.mjs +50 -0
  235. package/esm2022/features/thumbnails/thumbnails.component.mjs +76 -0
  236. package/esm2022/features/tiered-menu/components/tiered-menu/tiered-menu.component.mjs +367 -0
  237. package/esm2022/features/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.mjs +11 -0
  238. package/esm2022/features/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.mjs +97 -0
  239. package/esm2022/features/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.mjs +181 -0
  240. package/esm2022/features/tiered-menu/directives/tiered-menu.directive.mjs +258 -0
  241. package/esm2022/features/tiered-menu/services/tiered-menu.event.service.mjs +16 -0
  242. package/esm2022/features/tiered-menu/services/tiered-menu.global.service.mjs +12 -0
  243. package/esm2022/features/tiered-menu/services/tiered-menu.service.mjs +49 -0
  244. package/esm2022/features/token-list/token-list.component.mjs +64 -0
  245. package/esm2022/features/tree/components/tree-node-item/tree-node-item.component.mjs +169 -0
  246. package/esm2022/features/tree/tree.component.mjs +211 -0
  247. package/esm2022/features/visual-sql-editor/components/visual-sql-editor-field-modal/visual-sql-editor-field-modal.component.mjs +41 -0
  248. package/esm2022/features/visual-sql-editor/components/visual-sql-editor-filter-modal/visual-sql-editor-filter-modal.component.mjs +38 -0
  249. package/esm2022/features/visual-sql-editor/components/visual-sql-editor-join-modal/visual-sql-editor-join-modal.component.mjs +29 -0
  250. package/esm2022/features/visual-sql-editor/components/visual-sql-editor-sort-modal/visual-sql-editor-sort-modal.component.mjs +29 -0
  251. package/esm2022/features/visual-sql-editor/components/visual-sql-editor-source-modal/visual-sql-editor-source-modal.component.mjs +35 -0
  252. package/esm2022/features/visual-sql-editor/services/visual-sql-editor-flow.service.mjs +106 -0
  253. package/esm2022/features/visual-sql-editor/services/visual-sql-editor-state.service.mjs +230 -0
  254. package/esm2022/features/visual-sql-editor/types/visual-sql-editor.types.mjs +2 -0
  255. package/esm2022/features/visual-sql-editor/utils/visual-sql-editor-sanitize.util.mjs +72 -0
  256. package/esm2022/features/visual-sql-editor/utils/visual-sql-editor-sql.util.mjs +281 -0
  257. package/esm2022/features/visual-sql-editor/utils/visual-sql-editor-text.util.mjs +37 -0
  258. package/esm2022/features/visual-sql-editor/utils/visual-sql-editor.constants.mjs +89 -0
  259. package/esm2022/features/visual-sql-editor/visual-sql-editor.component.mjs +172 -630
  260. package/esm2022/locales/en.json +759 -3
  261. package/esm2022/locales/es-CO.json +772 -3
  262. package/esm2022/locales/pt.json +1387 -632
  263. package/esm2022/providers/features.provider.mjs +58 -4
  264. package/esm2022/providers/primeng-config.provider.mjs +14 -128
  265. package/esm2022/providers/translate.provider.mjs +2 -2
  266. package/esm2022/public-api.mjs +86 -3
  267. package/features/accordion/accordion.component.d.ts +1 -1
  268. package/features/accordion/{accordion-item.component.d.ts → components/accordion-item/accordion-item.component.d.ts} +1 -1
  269. package/features/alert/alert.component.d.ts +1 -0
  270. package/features/autocomplete/autocomplete.component.d.ts +108 -0
  271. package/features/autocomplete/components/autocomplete-chip/autocomplete-chip.component.d.ts +11 -0
  272. package/features/button/button.component.d.ts +3 -1
  273. package/features/card-list/card/card.component.d.ts +14 -34
  274. package/features/chat/chat.component.d.ts +31 -0
  275. package/features/checkbox-list/checkbox-list.component.d.ts +33 -0
  276. package/features/code-editor/code-editor.component.d.ts +5 -1
  277. package/features/combobox/combobox.component.d.ts +2 -1
  278. package/features/context-selector/context-selector.component.d.ts +37 -0
  279. package/features/country-phone-picker/country-phone-picker.component.d.ts +3 -0
  280. package/features/datepicker/datepicker.component.d.ts +118 -0
  281. package/features/dynamic-form/dynamic-form-field.directive.d.ts +26 -0
  282. package/features/dynamic-form/dynamic-form.component.d.ts +15 -0
  283. package/features/dynamic-form/dynamic-form.registry.d.ts +11 -0
  284. package/features/editable-overlay/editable-overlay-editor.directive.d.ts +22 -0
  285. package/features/editable-overlay/editable-overlay.component.d.ts +60 -0
  286. package/features/editor/editor.component.d.ts +47 -0
  287. package/features/gantt/components/gantt-side-table/gantt-side-table.component.d.ts +8 -0
  288. package/features/gantt/gantt-date.utils.d.ts +36 -0
  289. package/features/gantt/gantt.component.d.ts +24 -0
  290. package/features/gantt/gantt.engine.d.ts +52 -0
  291. package/features/grid-menu/grid-menu.component.d.ts +29 -0
  292. package/features/help-popover/help-popover.component.d.ts +81 -0
  293. package/features/hyperlink/hyperlink.component.d.ts +2 -1
  294. package/features/image-cropper/image-cropper.component.d.ts +43 -0
  295. package/features/image-cropper/services/image-cropper.service.d.ts +13 -0
  296. package/features/infinite-scroll/infinite-scroll.directive.d.ts +25 -0
  297. package/features/info-sign/info-sign.component.d.ts +2 -1
  298. package/features/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.d.ts +13 -0
  299. package/features/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.d.ts +13 -0
  300. package/features/inline-edit/components/fields/inline-edit-textarea/inline-edit-textarea.component.d.ts +13 -0
  301. package/features/inline-edit/components/inline-edit-item/inline-edit-item.component.d.ts +37 -0
  302. package/features/inline-edit/fields/inline-edit-field.d.ts +12 -0
  303. package/features/inline-edit/fields/inline-edit-number-field.d.ts +9 -0
  304. package/features/inline-edit/fields/inline-edit-text-field.d.ts +7 -0
  305. package/features/inline-edit/fields/inline-edit-textarea-field.d.ts +9 -0
  306. package/features/inline-edit/inline-edit.component.d.ts +13 -0
  307. package/features/input-mask/input-mask.directive.d.ts +117 -0
  308. package/features/interactive-content/interactive-content.directive.d.ts +31 -0
  309. package/features/kanban/components/kanban-column/kanban-column.component.d.ts +22 -0
  310. package/features/kanban/components/kanban-item/kanban-item.component.d.ts +23 -0
  311. package/features/kanban/components/kanban-item-dragging/kanban-item-dragging.component.d.ts +8 -0
  312. package/features/kanban/directives/kanban-template.directive.d.ts +10 -0
  313. package/features/kanban/kanban.component.d.ts +32 -0
  314. package/features/kanban/services/kanban-event.service.d.ts +15 -0
  315. package/features/loading-state/loading-state.component.d.ts +0 -2
  316. package/features/lookup/lookup.component.d.ts +104 -0
  317. package/features/modal/modal.component.d.ts +2 -1
  318. package/features/modalc/modalc.component.d.ts +2 -1
  319. package/features/mouse-events/directives/double-click.directive.d.ts +11 -0
  320. package/features/mouse-events/directives/long-press.directive.d.ts +14 -0
  321. package/features/navigation-button/navigation-button.component.d.ts +58 -0
  322. package/features/number-input/number-input.component.d.ts +3 -1
  323. package/features/object-card/components/object-card-field/object-card-field.component.d.ts +48 -0
  324. package/features/object-card/components/object-card-main/object-card-main.component.d.ts +57 -0
  325. package/features/object-card/object-card.component.d.ts +70 -0
  326. package/features/panel/panel.component.d.ts +12 -3
  327. package/features/pin-code-field/pin-code-field.component.d.ts +49 -0
  328. package/features/popover/popover.component.d.ts +4 -1
  329. package/features/profile-picture-picker/profile-picture-picker.component.d.ts +81 -0
  330. package/features/rating-scale/rating-scale.component.d.ts +32 -0
  331. package/features/row-card-list/row-card/row-card.component.d.ts +6 -1
  332. package/features/row-card-list/row-card-list.component.d.ts +4 -1
  333. package/features/select-button/select-button.component.d.ts +10 -1
  334. package/features/speech-recognition/services/speech-recognition.service.d.ts +29 -0
  335. package/features/speech-recognition/services/text-to-speech.service.d.ts +24 -0
  336. package/features/speech-recognition/speech-recognition.component.d.ts +50 -0
  337. package/features/spotlight/components/spotlight-overlay/spotlight-overlay.component.d.ts +59 -0
  338. package/features/spotlight/directives/spotlight-step.directive.d.ts +13 -0
  339. package/features/spotlight/services/spotlight-tour.service.d.ts +46 -0
  340. package/features/spotlight/spotlight.component.d.ts +59 -0
  341. package/features/star-rating/star-rating.component.d.ts +34 -0
  342. package/features/stepper/stepper.component.d.ts +23 -0
  343. package/features/switch/switch.component.d.ts +2 -1
  344. package/features/tab/tab.component.d.ts +1 -1
  345. package/features/table/components/table-cell-content.component.d.ts +4 -3
  346. package/features/table/table.component.d.ts +41 -5
  347. package/features/table/utils/table-data.util.d.ts +1 -0
  348. package/features/table/utils/table-layout.util.d.ts +1 -0
  349. package/features/thumbnail/thumbnail.component.d.ts +48 -0
  350. package/features/thumbnails/components/thumbnail-item/thumbnail-item.component.d.ts +29 -0
  351. package/features/thumbnails/components/thumbnail-item-image/thumbnail-item-image.component.d.ts +13 -0
  352. package/features/thumbnails/components/thumbnail-item-video/thumbnail-item-video.component.d.ts +19 -0
  353. package/features/thumbnails/thumbnails.component.d.ts +46 -0
  354. package/features/tiered-menu/components/tiered-menu/tiered-menu.component.d.ts +49 -0
  355. package/features/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.d.ts +5 -0
  356. package/features/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.d.ts +19 -0
  357. package/features/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.d.ts +26 -0
  358. package/features/tiered-menu/directives/tiered-menu.directive.d.ts +46 -0
  359. package/features/tiered-menu/services/tiered-menu.event.service.d.ts +13 -0
  360. package/features/tiered-menu/services/tiered-menu.global.service.d.ts +7 -0
  361. package/features/tiered-menu/services/tiered-menu.service.d.ts +14 -0
  362. package/features/token-list/token-list.component.d.ts +31 -0
  363. package/features/tree/components/tree-node-item/tree-node-item.component.d.ts +37 -0
  364. package/features/tree/tree.component.d.ts +37 -0
  365. package/features/visual-sql-editor/components/visual-sql-editor-field-modal/visual-sql-editor-field-modal.component.d.ts +18 -0
  366. package/features/visual-sql-editor/components/visual-sql-editor-filter-modal/visual-sql-editor-filter-modal.component.d.ts +17 -0
  367. package/features/visual-sql-editor/components/visual-sql-editor-join-modal/visual-sql-editor-join-modal.component.d.ts +13 -0
  368. package/features/visual-sql-editor/components/visual-sql-editor-sort-modal/visual-sql-editor-sort-modal.component.d.ts +13 -0
  369. package/features/visual-sql-editor/components/visual-sql-editor-source-modal/visual-sql-editor-source-modal.component.d.ts +15 -0
  370. package/features/visual-sql-editor/services/visual-sql-editor-flow.service.d.ts +26 -0
  371. package/features/visual-sql-editor/services/visual-sql-editor-state.service.d.ts +72 -0
  372. package/features/visual-sql-editor/types/visual-sql-editor.types.d.ts +182 -0
  373. package/features/visual-sql-editor/utils/visual-sql-editor-sanitize.util.d.ts +14 -0
  374. package/features/visual-sql-editor/utils/visual-sql-editor-sql.util.d.ts +81 -0
  375. package/features/visual-sql-editor/utils/visual-sql-editor-text.util.d.ts +15 -0
  376. package/features/visual-sql-editor/utils/visual-sql-editor.constants.d.ts +36 -0
  377. package/features/visual-sql-editor/visual-sql-editor.component.d.ts +37 -199
  378. package/fesm2022/seniorsistemas-data-seniorx-core.mjs +22719 -9514
  379. package/fesm2022/seniorsistemas-data-seniorx-core.mjs.map +1 -1
  380. package/package.json +20 -11
  381. package/providers/primeng-config.provider.d.ts +12 -0
  382. package/public-api.d.ts +110 -2
  383. package/src/locales/en.json +761 -15
  384. package/src/locales/es-CO.json +773 -14
  385. package/src/locales/pt.json +1388 -643
  386. package/styles/sdc-global-variables.scss +39 -1
  387. package/styles.css +133 -1
  388. package/styles.scss +2 -0
  389. package/esm2022/providers/custom/button.mjs +0 -93
  390. package/esm2022/providers/custom/toast.mjs +0 -75
  391. package/providers/custom/button.d.ts +0 -16
  392. package/providers/custom/toast.d.ts +0 -14
  393. /package/features/tab/{tab-item.component.d.ts → components/tab-item/tab-item.component.d.ts} +0 -0
@@ -0,0 +1,4 @@
1
+ export declare const AUTOCOMPLETE_DEFAULT_DELAY = 300;
2
+ export declare const AUTOCOMPLETE_DEFAULT_MIN_LENGTH = 1;
3
+ export declare const AUTOCOMPLETE_DEFAULT_EMPTY_MESSAGE_KEY = "platform.datacore.autocomplete.empty";
4
+ export declare const AUTOCOMPLETE_DEFAULT_PLACEHOLDER_KEY = "platform.datacore.autocomplete.placeholder";
@@ -0,0 +1 @@
1
+ export declare const CONTEXT_SELECTOR_DEFAULT_FOOTER_BUTTON_LABEL_KEY = "platform.datacore.context_selector.add";
@@ -0,0 +1,4 @@
1
+ export declare const EDITABLE_OVERLAY_EDIT_KEY = "platform.datacore.editable_overlay.edit";
2
+ export declare const EDITABLE_OVERLAY_SAVE_KEY = "platform.datacore.editable_overlay.save";
3
+ export declare const EDITABLE_OVERLAY_CANCEL_KEY = "platform.datacore.editable_overlay.cancel";
4
+ export declare const EDITABLE_OVERLAY_EMPTY_KEY = "platform.datacore.editable_overlay.empty";
@@ -0,0 +1,7 @@
1
+ import type { GanttViewMode } from '../types/gantt.type';
2
+ export declare const GANTT_DEFAULT_VIEW_MODE: GanttViewMode;
3
+ export declare const GANTT_DEFAULT_COLUMN_TITLE_KEY = "platform.datacore.gantt.column_title";
4
+ export declare const GANTT_DEFAULT_BAR_COLOR = "#7892a1";
5
+ export declare const GANTT_ROW_HEIGHT = 44;
6
+ export declare const GANTT_HEADER_HEIGHT = 94;
7
+ export declare const GANTT_BAR_HEIGHT = 20;
@@ -0,0 +1,7 @@
1
+ import type { HelpPopoverArrowPosition, HelpPopoverPosition } from '../types/help-popover.type';
2
+ export declare const HELP_POPOVER_DEFAULT_POSITION: HelpPopoverPosition;
3
+ export declare const HELP_POPOVER_DEFAULT_ARROW_POSITION: HelpPopoverArrowPosition;
4
+ export declare const HELP_POPOVER_DEFAULT_ARIA_LABEL_KEY = "platform.datacore.help_popover.aria_label";
5
+ export declare const HELP_POPOVER_CLOSE_ARIA_LABEL_KEY = "platform.datacore.help_popover.close";
6
+ export declare const HELP_POPOVER_PANEL_HOST_CLASS = "sdc-help-popover-panel-host";
7
+ export declare const HELP_POPOVER_SIDE_GAP_PX = 8;
@@ -8,6 +8,7 @@ export declare const DEFAULT_HYPERLINK_ICON_POSITION: HyperlinkIconPosition;
8
8
  export declare const DEFAULT_HYPERLINK_TARGET: HyperlinkTarget;
9
9
  export declare const DEFAULT_HYPERLINK_REL = "";
10
10
  export declare const DEFAULT_HYPERLINK_DISABLED = false;
11
+ export declare const DEFAULT_HYPERLINK_REQUIRED = false;
11
12
  export declare const DEFAULT_HYPERLINK_UNDERLINE: HyperlinkUnderline;
12
13
  export declare const DEFAULT_HYPERLINK_APPEARANCE: HyperlinkAppearance;
13
14
  export declare const DEFAULT_HYPERLINK_HOVER_STYLE: HyperlinkHoverStyle;
@@ -0,0 +1,4 @@
1
+ export declare const INLINE_EDIT_ADD_INFO_KEY = "platform.datacore.inline_edit.add_information";
2
+ export declare const INLINE_EDIT_EDIT_KEY = "platform.datacore.inline_edit.edit";
3
+ export declare const INLINE_EDIT_SAVE_KEY = "platform.datacore.inline_edit.save";
4
+ export declare const INLINE_EDIT_CANCEL_KEY = "platform.datacore.inline_edit.cancel";
@@ -0,0 +1,5 @@
1
+ export declare const INPUT_MASK_DEFAULT_SLOT_CHAR = "_";
2
+ export declare const INPUT_MASK_DEFAULT_CHARACTER_PATTERN = "[A-Za-z]";
3
+ export declare const INPUT_MASK_DEFAULT_UNMASK = false;
4
+ export declare const INPUT_MASK_DEFAULT_AUTO_CLEAR = true;
5
+ export declare const INPUT_MASK_NAVIGATION_KEYS: string[];
@@ -0,0 +1,2 @@
1
+ export declare const KANBAN_ITEMS_SELECTED_KEY = "platform.datacore.kanban.items_selected";
2
+ export declare const KANBAN_DRAGGING_KEY = "platform.datacore.kanban.dragging";
@@ -0,0 +1,3 @@
1
+ export declare const NAVIGATION_BUTTON_PREVIOUS_ARIA_LABEL_KEY = "platform.datacore.navigation_button.previous";
2
+ export declare const NAVIGATION_BUTTON_NEXT_ARIA_LABEL_KEY = "platform.datacore.navigation_button.next";
3
+ export declare const NAVIGATION_BUTTON_OPEN_MENU_ARIA_LABEL_KEY = "platform.datacore.navigation_button.open_menu";
@@ -0,0 +1,21 @@
1
+ export declare const OBJECT_CARD_ID_PREFIX = "sdc-object-card";
2
+ export declare const OBJECT_CARD_MAIN_ID_PREFIX = "sdc-object-card-main";
3
+ export declare const OBJECT_CARD_FIELD_ID_PREFIX = "sdc-object-card-field";
4
+ /** @description Largura mínima padrão (px) de cada campo visível/oculto. */
5
+ export declare const OBJECT_CARD_DEFAULT_FIELDS_MIN_WIDTH_PX = 200;
6
+ /**
7
+ * @description Abaixo desta largura de viewport (px) todos os campos são
8
+ * empurrados para o painel expansível, independente do espaço disponível no container.
9
+ * Mesmo valor usado pelo `Breakpoints.SM_MAX` do angular-components.
10
+ */
11
+ export declare const OBJECT_CARD_MOBILE_BREAKPOINT_PX = 767;
12
+ /** @description Largura estimada (px) do botão de expandir, usada como fallback antes da primeira medição via ResizeObserver. */
13
+ export declare const OBJECT_CARD_EXPAND_ICON_ESTIMATED_WIDTH_PX = 35;
14
+ export declare const OBJECT_CARD_EXPAND_TOOLTIP_KEY = "platform.datacore.object_card.expand_panel";
15
+ export declare const OBJECT_CARD_COLLAPSE_TOOLTIP_KEY = "platform.datacore.object_card.collapse_panel";
16
+ /**
17
+ * @description Ícone padrão do thumbnail principal do `sdc-object-card-main`.
18
+ * O AC usa `fa fa-picture-o` (FontAwesome 4), sem equivalente direto no fontawesome-pro
19
+ * usado pelo DataCore. Reaproveita o mesmo default do `sdc-thumbnail` para manter consistência visual.
20
+ */
21
+ export declare const OBJECT_CARD_MAIN_DEFAULT_ICON_CLASS = "far fa-image";
@@ -0,0 +1,5 @@
1
+ export declare const PIN_CODE_FIELD_DEFAULT_LENGTH = 6;
2
+ export declare const PIN_CODE_FIELD_DEFAULT_ALPHANUMERIC = false;
3
+ export declare const PIN_CODE_FIELD_GROUP_ARIA_LABEL_KEY = "platform.datacore.pin_code_field.group_label";
4
+ export declare const PIN_CODE_FIELD_DIGIT_ARIA_LABEL_KEY = "platform.datacore.pin_code_field.digit_n_of_total";
5
+ export declare const PIN_CODE_FIELD_CHARACTER_ARIA_LABEL_KEY = "platform.datacore.pin_code_field.character_n_of_total";
@@ -0,0 +1 @@
1
+ export declare const RATING_SCALE_ARIA_LABEL_KEY = "platform.datacore.rating_scale.aria_label";
@@ -0,0 +1,8 @@
1
+ export declare const SPOTLIGHT_CLOSE_LABEL_KEY = "platform.datacore.spotlight.close";
2
+ export declare const SPOTLIGHT_BACK_LABEL_KEY = "platform.datacore.spotlight.back";
3
+ export declare const SPOTLIGHT_NEXT_LABEL_KEY = "platform.datacore.spotlight.next";
4
+ export declare const SPOTLIGHT_COMPLETE_LABEL_KEY = "platform.datacore.spotlight.complete";
5
+ export declare const SPOTLIGHT_UNDERSTOOD_LABEL_KEY = "platform.datacore.spotlight.understood";
6
+ export declare const SPOTLIGHT_DO_NOT_SHOW_AGAIN_LABEL_KEY = "platform.datacore.spotlight.do_not_show_again";
7
+ export declare const SPOTLIGHT_STEP_COUNTER_LABEL_KEY = "platform.datacore.spotlight.step_counter";
8
+ export declare const SPOTLIGHT_STEP_PROGRESS_LABEL_KEY = "platform.datacore.spotlight.step_progress";
@@ -0,0 +1,4 @@
1
+ export declare const STAR_RATING_DEFAULT_MAX = 5;
2
+ export declare const STAR_RATING_DEFAULT_VALUE = 0;
3
+ export declare const STAR_RATING_ARIA_LABEL_KEY = "platform.datacore.star_rating.aria_label";
4
+ export declare const STAR_RATING_STAR_LABEL_KEY = "platform.datacore.star_rating.star_n";
@@ -0,0 +1 @@
1
+ export declare const STEPPER_DEFAULT_ACTIVE_INDEX = 0;
@@ -0,0 +1,6 @@
1
+ import type { ThumbnailSize } from '../types/thumbnail.type';
2
+ export declare const THUMBNAIL_ID_PREFIX = "sdc-thumbnail";
3
+ export declare const THUMBNAIL_DEFAULT_ICON_CLASS = "far fa-image";
4
+ export declare const THUMBNAIL_DEFAULT_ACTION_ICON_CLASS = "fas fa-camera";
5
+ export declare const THUMBNAIL_SIZE_PX: Record<ThumbnailSize, number>;
6
+ export declare const THUMBNAIL_BRAND_WIDTH_PX: Record<ThumbnailSize, number>;
@@ -0,0 +1,4 @@
1
+ export declare const THUMBNAILS_LISTEN_KEY = "platform.datacore.thumbnails.listen";
2
+ export declare const THUMBNAILS_VIEW_KEY = "platform.datacore.thumbnails.view";
3
+ export declare const THUMBNAILS_WATCH_KEY = "platform.datacore.thumbnails.watch";
4
+ export declare const THUMBNAILS_SELECT_ITEM_KEY = "platform.datacore.thumbnails.select_item";
@@ -0,0 +1,3 @@
1
+ export declare const TIERED_MENU_DEFAULT_TRIGGER_EVENT = "click";
2
+ export declare const TIERED_MENU_SUBMENU_OPEN_DELAY_MS = 180;
3
+ export declare const TIERED_MENU_MOBILE_BREAKPOINT_PX = 600;
@@ -0,0 +1,3 @@
1
+ export declare const TOKEN_LIST_ID_PREFIX = "sdc-token-list";
2
+ export declare const TOKEN_LIST_REMOVE_ARIA_LABEL_KEY = "platform.datacore.token_list.remove_token";
3
+ export declare const TOKEN_LIST_REMOVE_ARIA_LABEL_PLACEHOLDER = "{label}";
@@ -0,0 +1,9 @@
1
+ export type AutocompleteValue<T> = T | string | null;
2
+ export type AutocompleteWriteValue<T> = T | T[] | string | null;
3
+ export type AutocompleteLazyLoadEvent<T> = {
4
+ query: string;
5
+ response: (data: T[]) => void;
6
+ };
7
+ export type AutocompleteCompleteEvent = {
8
+ query: string;
9
+ };
@@ -1,5 +1,5 @@
1
1
  import type { BadgeColor } from './badge.type';
2
- export type ButtonPriority = 'primary' | 'secondary' | 'link' | 'default' | 'danger';
2
+ export type ButtonPriority = 'primary' | 'secondary' | 'link' | 'default' | 'danger' | 'outline';
3
3
  export type ButtonSize = 'small' | 'default';
4
4
  export type ButtonBadgeConfig = {
5
5
  text?: string;
@@ -0,0 +1,12 @@
1
+ export type SdcChatMessageStatus = 'sent' | 'delivered' | 'read';
2
+ export type SdcChatMessage = {
3
+ id: string;
4
+ senderName: string;
5
+ text: string;
6
+ isMine: boolean;
7
+ avatarUrl?: string;
8
+ attachmentUrl?: string;
9
+ attachmentName?: string;
10
+ sentAt?: Date | string;
11
+ status?: SdcChatMessageStatus;
12
+ };
@@ -0,0 +1,12 @@
1
+ export interface CheckboxListData {
2
+ label: string;
3
+ children?: CheckboxListData[];
4
+ renderType?: 'inline' | 'block';
5
+ }
6
+ export type CheckboxListChildren = Record<string, CheckboxListState>;
7
+ export interface CheckboxListState {
8
+ checked: boolean;
9
+ indeterminate?: boolean;
10
+ disabled?: boolean;
11
+ children?: CheckboxListChildren;
12
+ }
@@ -0,0 +1,28 @@
1
+ export type DatePickerMode = 'date' | 'datetime' | 'time' | 'range' | 'month';
2
+ export type DatePickerSelectionMode = 'single' | 'multiple';
3
+ export type DateRange = {
4
+ start: Date | null;
5
+ end: Date | null;
6
+ };
7
+ export type CalendarDay = {
8
+ date: Date;
9
+ day: number;
10
+ currentMonth: boolean;
11
+ today: boolean;
12
+ selected: boolean;
13
+ disabled: boolean;
14
+ inRange: boolean;
15
+ rangeStart: boolean;
16
+ rangeEnd: boolean;
17
+ };
18
+ export type CalendarMonth = {
19
+ month: number;
20
+ name: string;
21
+ selected: boolean;
22
+ disabled: boolean;
23
+ };
24
+ export type DatepickerView = 'days' | 'months' | 'years';
25
+ export type DatepickerMonthChangeEvent = {
26
+ month: number;
27
+ year: number;
28
+ };
@@ -0,0 +1,29 @@
1
+ export type DynamicFormFieldType = 'text' | 'textarea' | 'number' | 'bignumber' | 'boolean' | 'checkbox' | 'select' | 'autocomplete' | 'date' | 'chips' | 'currency' | 'country-phone-picker' | 'file-picker' | 'slider' | 'star-rating' | 'radio-button' | 'password' | 'profile-picture' | 'button-field' | 'lookup' | 'editor' | 'calendar-mask' | 'checkbox-list' | 'code-editor' | 'color-picker' | 'icon-picker' | 'localized-number-input' | 'mask' | 'pin-code-field' | 'rating-scale' | 'select-button' | 'navigation-button' | 'editable-overlay';
2
+ export type DynamicFieldType = DynamicFormFieldType | (string & {
3
+ sdcCustomFieldTypeMarker?: never;
4
+ });
5
+ export interface DynamicFieldConfig {
6
+ type: DynamicFieldType;
7
+ name: string;
8
+ label?: string;
9
+ placeholder?: string;
10
+ required?: boolean | (() => boolean);
11
+ disabled?: boolean | (() => boolean);
12
+ hidden?: boolean | (() => boolean);
13
+ width?: string;
14
+ gridColumn?: string;
15
+ options?: {
16
+ text: string;
17
+ value: unknown;
18
+ }[];
19
+ min?: number | Date;
20
+ max?: number | Date;
21
+ maxlength?: number;
22
+ [key: string]: unknown;
23
+ }
24
+ export interface DynamicStructureConfig {
25
+ type: 'row' | 'grid';
26
+ columns?: number;
27
+ gap?: string;
28
+ fields: (DynamicFieldConfig | DynamicStructureConfig)[];
29
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Context exposed to a custom editor template projected via
3
+ * `<ng-template sdcEditableOverlayEditor let-value let-commit="commit">`.
4
+ *
5
+ * `value` (and `$implicit`) hold the current draft value while the overlay is open.
6
+ * `commit` updates the draft (it does NOT save/close the overlay - the sdc-editable-overlay
7
+ * footer Save/Cancel buttons remain responsible for that).
8
+ * `cancel` discards the draft and closes the overlay, equivalent to clicking Cancel.
9
+ */
10
+ export interface EditableOverlayEditorContext<T = unknown> {
11
+ $implicit: T;
12
+ value: T;
13
+ commit: (value: T) => void;
14
+ cancel: () => void;
15
+ }
@@ -0,0 +1,22 @@
1
+ export interface GanttTask {
2
+ id: string;
3
+ name: string;
4
+ start: Date;
5
+ end: Date;
6
+ color?: string;
7
+ showTaskName?: boolean;
8
+ dependencies?: string[];
9
+ customClass?: string;
10
+ }
11
+ export interface GanttTaskGroup {
12
+ id: string;
13
+ title: string;
14
+ subtitle: string;
15
+ tasks: GanttTask[];
16
+ }
17
+ export type GanttViewMode = 'hour' | 'day' | 'week' | 'month';
18
+ export interface GanttTaskDateChangedEvent {
19
+ task: GanttTask;
20
+ start: Date;
21
+ end: Date;
22
+ }
@@ -0,0 +1,13 @@
1
+ import type { RenderableIconType } from './icon.type';
2
+ export type SdcGridMenuItem = {
3
+ id: string;
4
+ label: string;
5
+ description?: string;
6
+ icon?: string;
7
+ iconType?: RenderableIconType;
8
+ disabled?: boolean | (() => boolean);
9
+ selected?: boolean;
10
+ route?: string | any[];
11
+ href?: string;
12
+ command?: (item: SdcGridMenuItem) => void;
13
+ };
@@ -0,0 +1,2 @@
1
+ export type HelpPopoverPosition = 'top' | 'right' | 'bottom' | 'left';
2
+ export type HelpPopoverArrowPosition = 'beginning' | 'middle' | 'end';
@@ -15,6 +15,7 @@ export interface HyperlinkConfig {
15
15
  target?: HyperlinkTarget;
16
16
  rel?: string;
17
17
  disabled?: boolean;
18
+ required?: boolean;
18
19
  underline?: HyperlinkUnderline;
19
20
  appearance?: HyperlinkAppearance;
20
21
  hoverStyle?: HyperlinkHoverStyle;
@@ -0,0 +1,20 @@
1
+ export interface ImageCropperConfig {
2
+ imageSource?: string;
3
+ header?: string;
4
+ cropLabel?: string;
5
+ cancelLabel?: string;
6
+ removeLabel?: string;
7
+ selectAnotherLabel?: string;
8
+ emptyStateTitle?: string;
9
+ emptyStateActionLabel?: string;
10
+ aspectRatio?: number;
11
+ rounded?: boolean;
12
+ allowSelectAnother?: boolean;
13
+ allowRemove?: boolean;
14
+ allowCancel?: boolean;
15
+ croppedImage?: (base64: string) => void;
16
+ croppedCanvas?: (canvas: HTMLCanvasElement) => void;
17
+ changeImage?: () => void;
18
+ removedImage?: () => void;
19
+ cancel?: () => void;
20
+ }
@@ -0,0 +1,26 @@
1
+ export interface InlineEditFieldOptions {
2
+ /** Rótulo visível do campo. */
3
+ label: string;
4
+ /** Nome do FormControl correspondente. */
5
+ name: string;
6
+ /** Texto exibido como tooltip no label. */
7
+ tooltip?: string;
8
+ /** Mensagens de erro customizadas por chave de validação. */
9
+ errorMessages?: Record<string, string> | (() => Record<string, string>);
10
+ }
11
+ export interface InlineEditTextFieldOptions extends InlineEditFieldOptions {
12
+ placeholder?: string;
13
+ maxlength?: number;
14
+ }
15
+ export interface InlineEditNumberFieldOptions extends InlineEditFieldOptions {
16
+ placeholder?: string;
17
+ min?: number;
18
+ max?: number;
19
+ step?: number;
20
+ }
21
+ export interface InlineEditTextAreaFieldOptions extends InlineEditFieldOptions {
22
+ rows?: number;
23
+ cols?: number;
24
+ placeholder?: string;
25
+ maxlength?: number;
26
+ }
@@ -0,0 +1,6 @@
1
+ export type InputMaskTokenType = 'literal' | 'digit' | 'alpha' | 'alphanumeric';
2
+ export type InputMaskToken = {
3
+ type: InputMaskTokenType;
4
+ char?: string;
5
+ optional: boolean;
6
+ };
@@ -0,0 +1,36 @@
1
+ export interface KanbanData {
2
+ columns: KanbanColumn[];
3
+ }
4
+ export interface KanbanColumn {
5
+ id?: string;
6
+ title: string;
7
+ color?: string;
8
+ items: KanbanItem[];
9
+ options?: KanbanColumnOption[];
10
+ }
11
+ export interface KanbanItem {
12
+ data: unknown;
13
+ options?: KanbanItemOption[];
14
+ disabled?: boolean;
15
+ frozen?: boolean;
16
+ }
17
+ export interface KanbanColumnOption {
18
+ label?: string;
19
+ iconClass?: string;
20
+ command: (column: KanbanColumn) => void;
21
+ disabled?: boolean;
22
+ divider?: boolean;
23
+ }
24
+ export interface KanbanItemOption {
25
+ label?: string;
26
+ iconClass?: string;
27
+ command: (item: KanbanItem) => void;
28
+ disabled?: boolean;
29
+ divider?: boolean;
30
+ }
31
+ export interface KanbanItemMovedData {
32
+ items: KanbanItem[];
33
+ previousColumn: KanbanColumn;
34
+ targetColumn: KanbanColumn;
35
+ }
36
+ export type KanbanTemplateType = 'column-header' | 'column-empty-message' | 'item-header' | 'item-body' | 'item-footer';
@@ -0,0 +1,45 @@
1
+ export type LookupGridField = {
2
+ name: string;
3
+ label: string;
4
+ type?: 'string' | 'number' | 'date';
5
+ width?: string;
6
+ };
7
+ export type LookupFilterOption = {
8
+ value: string;
9
+ label: string;
10
+ };
11
+ export type LookupFilterField = {
12
+ /** Key used in `LookupSearchRequest.filters` and echoed back on `onDialogSearch`. */
13
+ name: string;
14
+ label: string;
15
+ type?: 'text' | 'select';
16
+ /** Required when `type` is `'select'`. */
17
+ options?: LookupFilterOption[];
18
+ placeholder?: string;
19
+ };
20
+ export type LookupSearchRequest = {
21
+ query: string;
22
+ pageSize: number;
23
+ page: number;
24
+ sortField?: string;
25
+ sortOrder?: 'asc' | 'desc';
26
+ /** Present only when `LookupConfig.filters` is configured; keyed by `LookupFilterField.name`. */
27
+ filters?: Record<string, string>;
28
+ };
29
+ export type LookupSearchResponse<T = Record<string, unknown>> = {
30
+ items: T[];
31
+ totalRecords: number;
32
+ };
33
+ export type LookupConfig = {
34
+ dataKey: string;
35
+ displayField: string;
36
+ gridFields: LookupGridField[];
37
+ pageSize?: number;
38
+ placeholder?: string;
39
+ dialogTitle?: string;
40
+ showSearch?: boolean;
41
+ /** Enables checkbox multi-selection in the dialog table. */
42
+ multiple?: boolean;
43
+ /** Expandable filter fields rendered above the dialog table. */
44
+ filters?: LookupFilterField[];
45
+ };
@@ -0,0 +1,9 @@
1
+ export interface NavigationButtonItem {
2
+ label: string;
3
+ value: unknown;
4
+ tooltip?: string;
5
+ }
6
+ export interface NavigationButtonStepChangedInfo {
7
+ previous: NavigationButtonItem | null;
8
+ current: NavigationButtonItem;
9
+ }
@@ -0,0 +1,16 @@
1
+ export type Severities = 'default' | 'info' | 'warn' | 'error' | 'success';
2
+ export declare enum EnumSeverity {
3
+ Default = "default",
4
+ Info = "info",
5
+ Warn = "warn",
6
+ Error = "error",
7
+ Success = "success"
8
+ }
9
+ export type BorderButtonOptions = {
10
+ label: (severity: Severities) => string;
11
+ onClick?: (severity: Severities) => void;
12
+ visible?: (severity: Severities) => boolean;
13
+ disabled?: (severity: Severities) => boolean;
14
+ tooltip?: (severity: Severities) => string;
15
+ icon?: (severity: Severities) => string;
16
+ };
@@ -0,0 +1,9 @@
1
+ export interface ProfilePicturePickerData {
2
+ source: File;
3
+ base64: string;
4
+ }
5
+ export type FileValidation = 'maxFileSize' | 'maxFileLimit' | 'typeInvalid' | 'unsupportedExtension';
6
+ export interface FileValidationErrors {
7
+ file: File | null;
8
+ validation: FileValidation;
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface RatingScaleNode {
2
+ id: string;
3
+ title?: string;
4
+ icon?: string;
5
+ }
@@ -12,10 +12,14 @@ export interface OptionsRowCard {
12
12
  leftTitleColor?: string;
13
13
  leftSubtitleColor?: string;
14
14
  infoTooltip?: string | null;
15
+ infoTooltipAllowHtml?: boolean;
15
16
  statusTooltip?: string | null;
17
+ statusTooltipAllowHtml?: boolean;
16
18
  rightTitleColor?: string;
17
19
  rightSubtitleColor?: string;
18
20
  badgeTitle?: string;
21
+ /** @description Trunca o `left_title` com reticências (…) em vez de deixar o texto quebrar/estourar o card. @default true */
22
+ titleEllipsis?: boolean;
19
23
  }
20
24
  export interface RowCardListOptions {
21
25
  enablePagination?: boolean;
@@ -40,6 +44,7 @@ export interface RowCard {
40
44
  hasBorder?: boolean;
41
45
  badge?: RowCardBadge;
42
46
  buttonLabel?: string;
47
+ loading?: boolean;
43
48
  meta?: Record<string, unknown>;
44
49
  }
45
50
  export declare const mockRowCardList: RowCard[];
@@ -2,5 +2,6 @@ export interface SelectButtonItem<TValue = unknown> {
2
2
  label: string;
3
3
  value?: TValue;
4
4
  disabled?: boolean;
5
+ iconClass?: string;
5
6
  [key: string]: unknown;
6
7
  }
@@ -12,7 +12,7 @@ export type OptionItem = {
12
12
  };
13
13
  export type Options = OptionItem[] | string;
14
14
  export type Severity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'help' | 'danger' | 'contrast';
15
- export type Priority = 'primary' | 'secondary' | 'default' | 'link' | 'danger';
15
+ export type Priority = 'primary' | 'secondary' | 'default' | 'link' | 'danger' | 'outline';
16
16
  export type SeverityToast = 'success' | 'info' | 'warning' | 'error';
17
17
  export type SeverityConfirm = 'question' | 'remove';
18
18
  export type TypeCustomFilter = 'multiselect' | 'combobox';
@@ -0,0 +1,34 @@
1
+ import type { TemplateRef } from '@angular/core';
2
+ export type SpotlightPosition = 'top-start' | 'top-center' | 'top-end' | 'right-start' | 'right-center' | 'right-end' | 'bottom-start' | 'bottom-center' | 'bottom-end' | 'left-start' | 'left-center' | 'left-end';
3
+ export interface SpotlightStepAction {
4
+ label: string;
5
+ handler: () => void;
6
+ }
7
+ export interface SpotlightStep {
8
+ stepId: string;
9
+ title: string | TemplateRef<unknown>;
10
+ message: string | TemplateRef<unknown>;
11
+ position?: SpotlightPosition;
12
+ content?: TemplateRef<unknown> | null;
13
+ actions?: SpotlightStepAction[];
14
+ showBackdrop?: boolean;
15
+ dismissible?: boolean;
16
+ beforeNext?: () => void | Promise<void>;
17
+ beforePrevious?: () => void | Promise<void>;
18
+ }
19
+ export type SpotlightConfig = Omit<SpotlightStep, 'stepId' | 'beforeNext' | 'beforePrevious'> & {
20
+ showDoNotShowAgain?: boolean;
21
+ };
22
+ export type SpotlightStopReason = 'completed' | 'interrupted' | 'dismissed';
23
+ export interface SpotlightStopEvent {
24
+ reason: SpotlightStopReason;
25
+ doNotShowAgain: boolean;
26
+ stepId: string;
27
+ stepIndex: number;
28
+ totalSteps: number;
29
+ }
30
+ export interface SpotlightStepChangedEvent {
31
+ stepId: string;
32
+ stepIndex: number;
33
+ totalSteps: number;
34
+ }
@@ -0,0 +1 @@
1
+ export type StarRatingJustify = 'start' | 'center' | 'end';
@@ -0,0 +1,20 @@
1
+ export declare enum StepState {
2
+ Default = "default",
3
+ Success = "success",
4
+ Warning = "warning"
5
+ }
6
+ export interface Step {
7
+ id: unknown;
8
+ label: string;
9
+ ariaLabel?: string;
10
+ ariaControls?: string;
11
+ state?: StepState;
12
+ disabled?: boolean;
13
+ hidden?: boolean;
14
+ tooltip?: string;
15
+ }
16
+ export interface StepSelectionEvent {
17
+ step: Step;
18
+ index: number;
19
+ event: Event;
20
+ }
@@ -15,6 +15,8 @@ export interface TableColumn<T extends RowBase = RowBase> {
15
15
  actionField?: keyof T & string;
16
16
  format?: string;
17
17
  align?: TableColumnAlignment;
18
+ headerAlign?: TableColumnAlignment;
19
+ cellAlign?: TableColumnAlignment;
18
20
  sortable?: boolean;
19
21
  searchable?: boolean;
20
22
  tagConfig?: TableTagConfigInput<T>;
@@ -27,5 +29,5 @@ export interface TableColumn<T extends RowBase = RowBase> {
27
29
  content?: TableColumnContent[];
28
30
  textOverflow?: TableTextOverflow;
29
31
  maxChars?: number;
30
- width?: string;
32
+ width?: number;
31
33
  }