@main-class/componentes 2.2.1 → 3.0.0

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 (345) hide show
  1. package/README.md +49 -10
  2. package/arquivo/index.d.ts +0 -1
  3. package/arquivo/src/download-arquivo.directive.d.ts +1 -1
  4. package/arquivo/src/imagem.directive.d.ts +2 -2
  5. package/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts +1 -1
  6. package/arquivo/src/preview-arquivo/preview-arquivo.component.d.ts +6 -6
  7. package/core/index.d.ts +0 -1
  8. package/crud/index.d.ts +4 -1
  9. package/crud/src/abstract-consulta-paginada-component.d.ts +3 -3
  10. package/crud/src/abstract-edicao-component.d.ts +1 -1
  11. package/crud/src/query/query-field/query-field.component.d.ts +37 -0
  12. package/crud/src/query/query-form-field/query-form-field.component.d.ts +11 -0
  13. package/crud/src/query/query-form.component.d.ts +23 -0
  14. package/crud/src/query/query-modal-form/query-modal-form.component.d.ts +13 -0
  15. package/dialog/index.d.ts +7 -1
  16. package/dialog/src/dialog-confirmacao/dialog-confirmacao.component.d.ts +2 -2
  17. package/dialog/src/dialog-iframe/dialog-iframe.component.d.ts +1 -1
  18. package/dialog/src/dialog-sidebar/modal-template/modal-body.directive.d.ts +9 -0
  19. package/dialog/src/dialog-sidebar/modal-template/modal-close.directive.d.ts +9 -0
  20. package/dialog/src/dialog-sidebar/modal-template/modal-footer.directive.d.ts +6 -0
  21. package/dialog/src/dialog-sidebar/modal-template/modal-header.directive.d.ts +6 -0
  22. package/dialog/src/dialog-sidebar/modal-template/modal-template.component.d.ts +12 -0
  23. package/dialog/src/dialog-sidebar/modal.component.d.ts +8 -0
  24. package/dialog/src/dialog-sidebar/sidebar-modal-ref.d.ts +17 -0
  25. package/dialog/src/dialog.service.d.ts +6 -1
  26. package/fesm2022/main-class-componentes-arquivo.mjs +370 -0
  27. package/fesm2022/main-class-componentes-arquivo.mjs.map +1 -0
  28. package/{fesm2020 → fesm2022}/main-class-componentes-core.mjs +36 -56
  29. package/fesm2022/main-class-componentes-core.mjs.map +1 -0
  30. package/fesm2022/main-class-componentes-crud.mjs +443 -0
  31. package/fesm2022/main-class-componentes-crud.mjs.map +1 -0
  32. package/fesm2022/main-class-componentes-dialog.mjs +393 -0
  33. package/fesm2022/main-class-componentes-dialog.mjs.map +1 -0
  34. package/fesm2022/main-class-componentes-form.mjs +196 -0
  35. package/fesm2022/main-class-componentes-form.mjs.map +1 -0
  36. package/fesm2022/main-class-componentes-input.mjs +2040 -0
  37. package/fesm2022/main-class-componentes-input.mjs.map +1 -0
  38. package/{fesm2020 → fesm2022}/main-class-componentes-loader.mjs +38 -59
  39. package/fesm2022/main-class-componentes-loader.mjs.map +1 -0
  40. package/fesm2022/main-class-componentes-misc.mjs +353 -0
  41. package/fesm2022/main-class-componentes-misc.mjs.map +1 -0
  42. package/fesm2022/main-class-componentes-pipe.mjs +27 -0
  43. package/fesm2022/main-class-componentes-pipe.mjs.map +1 -0
  44. package/fesm2022/main-class-componentes-table.mjs +384 -0
  45. package/fesm2022/main-class-componentes-table.mjs.map +1 -0
  46. package/{fesm2015 → fesm2022}/main-class-componentes.mjs +4 -1
  47. package/fesm2022/main-class-componentes.mjs.map +1 -0
  48. package/form/index.d.ts +0 -1
  49. package/form/src/form.component.d.ts +2 -2
  50. package/form/src/mensagens-erro/mensagens-erro.component.d.ts +6 -3
  51. package/form/src/single-click.directive.d.ts +2 -2
  52. package/input/index.d.ts +13 -11
  53. package/input/src/abstract-mat-form-field-control.d.ts +5 -5
  54. package/input/src/abstract-mat-form-field-select-control.d.ts +30 -0
  55. package/input/src/input-currency/input-currency.component.d.ts +11 -0
  56. package/input/src/input-datetime/input-datetime.component.d.ts +11 -12
  57. package/input/src/input-fileupload/input-fileupload.component.d.ts +5 -5
  58. package/input/src/input-fileupload/input-fileupload.directive.d.ts +1 -1
  59. package/input/src/input-mask/input-cep.component.d.ts +11 -0
  60. package/input/src/input-mask/input-cnpj.component.d.ts +11 -0
  61. package/input/src/input-mask/input-cpf-cnpj.component.d.ts +8 -0
  62. package/input/src/input-mask/input-cpf.component.d.ts +11 -0
  63. package/input/src/input-mask/input-mask.component.d.ts +20 -0
  64. package/input/src/input-mask/input-phone.component.d.ts +12 -0
  65. package/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.d.ts +1 -1
  66. package/input/src/input-telefone-internacional/input-telefone-internacional.component.d.ts +1 -1
  67. package/input/src/option-checkbox/all-option-checkbox.component.d.ts +3 -3
  68. package/input/src/option-checkbox/node-pool.d.ts +1 -1
  69. package/input/src/option-checkbox/option-checkbox-group.component.d.ts +2 -2
  70. package/input/src/option-checkbox/option-checkbox.component.d.ts +3 -3
  71. package/input/src/option-checkbox/option-node.d.ts +1 -1
  72. package/input/src/select-autocomplete/select-autocomplete.component.d.ts +21 -0
  73. package/input/src/select-chips/select-chips.component.d.ts +10 -53
  74. package/input/src/select-many-checkbox/select-many-checkbox.component.d.ts +9 -49
  75. package/input/src/select-option/delegate-option-provider.directive.d.ts +13 -0
  76. package/input/src/select-option/select-option-provider.d.ts +10 -0
  77. package/input/src/select-option/select-option.component.d.ts +10 -0
  78. package/input/src/select-option/select-option.d.ts +4 -0
  79. package/input/src/select-radio/select-radio.component.d.ts +7 -45
  80. package/loader/index.d.ts +0 -1
  81. package/loader/src/loader.component.d.ts +3 -3
  82. package/loader/src/loader.service.d.ts +3 -3
  83. package/misc/index.d.ts +1 -15
  84. package/misc/src/cnpj/cnpj.directive.d.ts +2 -2
  85. package/misc/src/cnpj/cnpjs.pipe.d.ts +2 -2
  86. package/misc/src/cpf/cpf.directive.d.ts +2 -2
  87. package/misc/src/cpf/cpf.pipe.d.ts +2 -2
  88. package/misc/src/cpf-cnpj/cpf-cnpj.directive.d.ts +2 -2
  89. package/misc/src/cpf-cnpj/cpf-cnpj.pipe.d.ts +2 -2
  90. package/misc/src/mask/mask.pipe.d.ts +8 -0
  91. package/misc/src/monetario/monetario-mask.d.ts +1 -1
  92. package/misc/src/monetario/monetario.pipe.d.ts +1 -1
  93. package/misc/src/porcentagem/porcentagem-mask.d.ts +1 -1
  94. package/misc/src/porcentagem/porcentagem.pipe.d.ts +1 -1
  95. package/misc/src/telefone/telefone.pipe.d.ts +1 -1
  96. package/misc/src/unsafe-inner-html/unsafe-inner-html.directive.d.ts +1 -1
  97. package/package.json +19 -99
  98. package/pipe/index.d.ts +0 -1
  99. package/pipe/src/nome-resumido.pipe.d.ts +1 -1
  100. package/public-api.d.ts +2 -2
  101. package/table/index.d.ts +0 -2
  102. package/table/src/column/column-cell.directive.d.ts +1 -1
  103. package/table/src/column/column-footer.directive.d.ts +1 -1
  104. package/table/src/column/column-header.directive.d.ts +1 -1
  105. package/table/src/column/column.directive.d.ts +2 -2
  106. package/table/src/paginated-table/paginated-table.component.d.ts +10 -8
  107. package/table/src/paginator/paginator.component.d.ts +1 -1
  108. package/table/src/table/table.component.d.ts +7 -7
  109. package/table/src/td/td.component.d.ts +1 -1
  110. package/table/src/th/th.component.d.ts +1 -1
  111. package/arquivo/src/arquivo.module.d.ts +0 -17
  112. package/core/src/core.module.d.ts +0 -9
  113. package/crud/src/abstract-consulta-component.d.ts +0 -30
  114. package/date/index.d.ts +0 -3
  115. package/date/src/date.module.d.ts +0 -9
  116. package/date/src/validator/data-validator.directive.d.ts +0 -23
  117. package/date/src/validator/futuro.directive.d.ts +0 -8
  118. package/dialog/src/dialog.module.d.ts +0 -16
  119. package/esm2020/arquivo/index.mjs +0 -7
  120. package/esm2020/arquivo/main-class-componentes-arquivo.mjs +0 -5
  121. package/esm2020/arquivo/src/arquivo-manager.service.mjs +0 -3
  122. package/esm2020/arquivo/src/arquivo.module.mjs +0 -47
  123. package/esm2020/arquivo/src/download-arquivo.directive.mjs +0 -46
  124. package/esm2020/arquivo/src/imagem.directive.mjs +0 -89
  125. package/esm2020/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.mjs +0 -65
  126. package/esm2020/arquivo/src/preview-arquivo/preview-arquivo.component.mjs +0 -139
  127. package/esm2020/core/index.mjs +0 -6
  128. package/esm2020/core/main-class-componentes-core.mjs +0 -5
  129. package/esm2020/core/src/core.module.mjs +0 -32
  130. package/esm2020/core/src/criptografia/criptografia.service.mjs +0 -16
  131. package/esm2020/core/src/mensageria/mensageria.service.mjs +0 -57
  132. package/esm2020/core/src/mobile/mobile.service.mjs +0 -43
  133. package/esm2020/core/src/validator/valida-modulo11.service.mjs +0 -95
  134. package/esm2020/crud/index.mjs +0 -5
  135. package/esm2020/crud/main-class-componentes-crud.mjs +0 -5
  136. package/esm2020/crud/src/abstract-consulta-component.mjs +0 -55
  137. package/esm2020/crud/src/abstract-consulta-paginada-component.mjs +0 -48
  138. package/esm2020/crud/src/abstract-edicao-component.mjs +0 -30
  139. package/esm2020/crud/src/abstract-edicao-modal-component.mjs +0 -19
  140. package/esm2020/date/index.mjs +0 -4
  141. package/esm2020/date/main-class-componentes-date.mjs +0 -5
  142. package/esm2020/date/src/date.module.mjs +0 -25
  143. package/esm2020/date/src/validator/data-validator.directive.mjs +0 -105
  144. package/esm2020/date/src/validator/futuro.directive.mjs +0 -33
  145. package/esm2020/dialog/index.mjs +0 -5
  146. package/esm2020/dialog/main-class-componentes-dialog.mjs +0 -5
  147. package/esm2020/dialog/src/dialog-confirmacao/dialog-confirmacao.component.mjs +0 -44
  148. package/esm2020/dialog/src/dialog-iframe/dialog-iframe.component.mjs +0 -60
  149. package/esm2020/dialog/src/dialog.module.mjs +0 -53
  150. package/esm2020/dialog/src/dialog.service.mjs +0 -53
  151. package/esm2020/form/index.mjs +0 -5
  152. package/esm2020/form/main-class-componentes-form.mjs +0 -5
  153. package/esm2020/form/src/form.component.mjs +0 -106
  154. package/esm2020/form/src/form.module.mjs +0 -36
  155. package/esm2020/form/src/mensagens-erro/mensagens-erro.component.mjs +0 -33
  156. package/esm2020/form/src/single-click.directive.mjs +0 -35
  157. package/esm2020/input/index.mjs +0 -24
  158. package/esm2020/input/main-class-componentes-input.mjs +0 -5
  159. package/esm2020/input/src/abstract-mat-form-field-control.mjs +0 -116
  160. package/esm2020/input/src/input-datetime/input-datetime.component.mjs +0 -130
  161. package/esm2020/input/src/input-datetime/input-datetime.module.mjs +0 -101
  162. package/esm2020/input/src/input-fileupload/input-fileupload.component.mjs +0 -357
  163. package/esm2020/input/src/input-fileupload/input-fileupload.directive.mjs +0 -37
  164. package/esm2020/input/src/input-fileupload/input-fileupload.module.mjs +0 -57
  165. package/esm2020/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.mjs +0 -29
  166. package/esm2020/input/src/input-telefone-internacional/input-telefone-internacional.component.mjs +0 -78
  167. package/esm2020/input/src/input-telefone-internacional/input-telefone-internacional.module.mjs +0 -33
  168. package/esm2020/input/src/option-checkbox/all-option-checkbox.component.mjs +0 -38
  169. package/esm2020/input/src/option-checkbox/node-pool.mjs +0 -93
  170. package/esm2020/input/src/option-checkbox/option-checkbox-group.component.mjs +0 -80
  171. package/esm2020/input/src/option-checkbox/option-checkbox.component.mjs +0 -62
  172. package/esm2020/input/src/option-checkbox/option-checkbox.module.mjs +0 -39
  173. package/esm2020/input/src/option-checkbox/option-checkbox.service.mjs +0 -54
  174. package/esm2020/input/src/option-checkbox/option-node.mjs +0 -24
  175. package/esm2020/input/src/select-chips/select-chips.component.mjs +0 -202
  176. package/esm2020/input/src/select-chips/select-chips.module.mjs +0 -40
  177. package/esm2020/input/src/select-chips-autocomplete/select-chips-autocomplete.component.mjs +0 -207
  178. package/esm2020/input/src/select-chips-autocomplete/select-chips-autocomplete.module.mjs +0 -40
  179. package/esm2020/input/src/select-item/select-item.component.mjs +0 -19
  180. package/esm2020/input/src/select-item/select-item.module.mjs +0 -20
  181. package/esm2020/input/src/select-many-checkbox/select-many-checkbox.component.mjs +0 -170
  182. package/esm2020/input/src/select-many-checkbox/select-many-checkbox.module.mjs +0 -32
  183. package/esm2020/input/src/select-radio/select-radio.component.mjs +0 -143
  184. package/esm2020/input/src/select-radio/select-radio.module.mjs +0 -32
  185. package/esm2020/loader/index.mjs +0 -4
  186. package/esm2020/loader/main-class-componentes-loader.mjs +0 -5
  187. package/esm2020/loader/src/loader.component.mjs +0 -125
  188. package/esm2020/loader/src/loader.module.mjs +0 -37
  189. package/esm2020/loader/src/loader.service.mjs +0 -72
  190. package/esm2020/main-class-componentes.mjs +0 -5
  191. package/esm2020/misc/index.mjs +0 -27
  192. package/esm2020/misc/main-class-componentes-misc.mjs +0 -5
  193. package/esm2020/misc/src/cnpj/cnpj-model.directive.mjs +0 -17
  194. package/esm2020/misc/src/cnpj/cnpj.directive.mjs +0 -36
  195. package/esm2020/misc/src/cnpj/cnpj.module.mjs +0 -26
  196. package/esm2020/misc/src/cnpj/cnpjs.pipe.mjs +0 -19
  197. package/esm2020/misc/src/cpf/cpf-model.directive.mjs +0 -17
  198. package/esm2020/misc/src/cpf/cpf.directive.mjs +0 -36
  199. package/esm2020/misc/src/cpf/cpf.module.mjs +0 -24
  200. package/esm2020/misc/src/cpf/cpf.pipe.mjs +0 -19
  201. package/esm2020/misc/src/cpf-cnpj/cpf-cnpj-model.directive.mjs +0 -29
  202. package/esm2020/misc/src/cpf-cnpj/cpf-cnpj.directive.mjs +0 -37
  203. package/esm2020/misc/src/cpf-cnpj/cpf-cnpj.module.mjs +0 -24
  204. package/esm2020/misc/src/cpf-cnpj/cpf-cnpj.pipe.mjs +0 -22
  205. package/esm2020/misc/src/info/info.component.mjs +0 -20
  206. package/esm2020/misc/src/info/info.module.mjs +0 -24
  207. package/esm2020/misc/src/monetario/monetario-mask.mjs +0 -32
  208. package/esm2020/misc/src/monetario/monetario-model.directive.mjs +0 -133
  209. package/esm2020/misc/src/monetario/monetario.module.mjs +0 -21
  210. package/esm2020/misc/src/monetario/monetario.pipe.mjs +0 -17
  211. package/esm2020/misc/src/porcentagem/porcentagem-mask.mjs +0 -32
  212. package/esm2020/misc/src/porcentagem/porcentagem-model.directive.mjs +0 -108
  213. package/esm2020/misc/src/porcentagem/porcentagem.module.mjs +0 -21
  214. package/esm2020/misc/src/porcentagem/porcentagem.pipe.mjs +0 -17
  215. package/esm2020/misc/src/telefone/telefone-model.directive.mjs +0 -29
  216. package/esm2020/misc/src/telefone/telefone.module.mjs +0 -25
  217. package/esm2020/misc/src/telefone/telefone.pipe.mjs +0 -37
  218. package/esm2020/misc/src/unsafe-inner-html/unsafe-inner-html.directive.mjs +0 -25
  219. package/esm2020/misc/src/unsafe-inner-html/unsafe-inner-html.module.mjs +0 -20
  220. package/esm2020/model/index.mjs +0 -3
  221. package/esm2020/model/main-class-componentes-model.mjs +0 -5
  222. package/esm2020/model/src/masked-model.directive.mjs +0 -155
  223. package/esm2020/model/src/model.module.mjs +0 -24
  224. package/esm2020/pipe/index.mjs +0 -3
  225. package/esm2020/pipe/main-class-componentes-pipe.mjs +0 -5
  226. package/esm2020/pipe/src/nome-resumido.pipe.mjs +0 -20
  227. package/esm2020/pipe/src/pipe.module.mjs +0 -24
  228. package/esm2020/public-api.mjs +0 -5
  229. package/esm2020/scroll/index.mjs +0 -3
  230. package/esm2020/scroll/main-class-componentes-scroll.mjs +0 -5
  231. package/esm2020/scroll/src/scroll-container/scroll-container.component.mjs +0 -72
  232. package/esm2020/scroll/src/scroll.module.mjs +0 -22
  233. package/esm2020/table/index.mjs +0 -12
  234. package/esm2020/table/main-class-componentes-table.mjs +0 -5
  235. package/esm2020/table/src/column/column-cell.directive.mjs +0 -16
  236. package/esm2020/table/src/column/column-footer.directive.mjs +0 -16
  237. package/esm2020/table/src/column/column-header.directive.mjs +0 -16
  238. package/esm2020/table/src/column/column.directive.mjs +0 -37
  239. package/esm2020/table/src/infinite-table/infinite-table.component.mjs +0 -95
  240. package/esm2020/table/src/paginated-table/paginated-table.component.mjs +0 -69
  241. package/esm2020/table/src/paginator/paginator.component.mjs +0 -19
  242. package/esm2020/table/src/paginator-i18n.mjs +0 -23
  243. package/esm2020/table/src/table/table.component.mjs +0 -119
  244. package/esm2020/table/src/table.module.mjs +0 -120
  245. package/esm2020/table/src/td/td.component.mjs +0 -18
  246. package/esm2020/table/src/th/th.component.mjs +0 -18
  247. package/esm2020/util/index.mjs +0 -2
  248. package/esm2020/util/main-class-componentes-util.mjs +0 -5
  249. package/esm2020/util/src/string.util.mjs +0 -12
  250. package/fesm2015/main-class-componentes-arquivo.mjs +0 -389
  251. package/fesm2015/main-class-componentes-arquivo.mjs.map +0 -1
  252. package/fesm2015/main-class-componentes-core.mjs +0 -225
  253. package/fesm2015/main-class-componentes-core.mjs.map +0 -1
  254. package/fesm2015/main-class-componentes-crud.mjs +0 -176
  255. package/fesm2015/main-class-componentes-crud.mjs.map +0 -1
  256. package/fesm2015/main-class-componentes-date.mjs +0 -162
  257. package/fesm2015/main-class-componentes-date.mjs.map +0 -1
  258. package/fesm2015/main-class-componentes-dialog.mjs +0 -206
  259. package/fesm2015/main-class-componentes-dialog.mjs.map +0 -1
  260. package/fesm2015/main-class-componentes-form.mjs +0 -209
  261. package/fesm2015/main-class-componentes-form.mjs.map +0 -1
  262. package/fesm2015/main-class-componentes-input.mjs +0 -2103
  263. package/fesm2015/main-class-componentes-input.mjs.map +0 -1
  264. package/fesm2015/main-class-componentes-loader.mjs +0 -236
  265. package/fesm2015/main-class-componentes-loader.mjs.map +0 -1
  266. package/fesm2015/main-class-componentes-misc.mjs +0 -787
  267. package/fesm2015/main-class-componentes-misc.mjs.map +0 -1
  268. package/fesm2015/main-class-componentes-model.mjs +0 -183
  269. package/fesm2015/main-class-componentes-model.mjs.map +0 -1
  270. package/fesm2015/main-class-componentes-pipe.mjs +0 -48
  271. package/fesm2015/main-class-componentes-pipe.mjs.map +0 -1
  272. package/fesm2015/main-class-componentes-scroll.mjs +0 -98
  273. package/fesm2015/main-class-componentes-scroll.mjs.map +0 -1
  274. package/fesm2015/main-class-componentes-table.mjs +0 -532
  275. package/fesm2015/main-class-componentes-table.mjs.map +0 -1
  276. package/fesm2015/main-class-componentes-util.mjs +0 -18
  277. package/fesm2015/main-class-componentes-util.mjs.map +0 -1
  278. package/fesm2015/main-class-componentes.mjs.map +0 -1
  279. package/fesm2020/main-class-componentes-arquivo.mjs +0 -372
  280. package/fesm2020/main-class-componentes-arquivo.mjs.map +0 -1
  281. package/fesm2020/main-class-componentes-core.mjs.map +0 -1
  282. package/fesm2020/main-class-componentes-crud.mjs +0 -154
  283. package/fesm2020/main-class-componentes-crud.mjs.map +0 -1
  284. package/fesm2020/main-class-componentes-date.mjs +0 -162
  285. package/fesm2020/main-class-componentes-date.mjs.map +0 -1
  286. package/fesm2020/main-class-componentes-dialog.mjs +0 -201
  287. package/fesm2020/main-class-componentes-dialog.mjs.map +0 -1
  288. package/fesm2020/main-class-componentes-form.mjs +0 -204
  289. package/fesm2020/main-class-componentes-form.mjs.map +0 -1
  290. package/fesm2020/main-class-componentes-input.mjs +0 -2085
  291. package/fesm2020/main-class-componentes-input.mjs.map +0 -1
  292. package/fesm2020/main-class-componentes-loader.mjs.map +0 -1
  293. package/fesm2020/main-class-componentes-misc.mjs +0 -785
  294. package/fesm2020/main-class-componentes-misc.mjs.map +0 -1
  295. package/fesm2020/main-class-componentes-model.mjs +0 -183
  296. package/fesm2020/main-class-componentes-model.mjs.map +0 -1
  297. package/fesm2020/main-class-componentes-pipe.mjs +0 -48
  298. package/fesm2020/main-class-componentes-pipe.mjs.map +0 -1
  299. package/fesm2020/main-class-componentes-scroll.mjs +0 -98
  300. package/fesm2020/main-class-componentes-scroll.mjs.map +0 -1
  301. package/fesm2020/main-class-componentes-table.mjs +0 -519
  302. package/fesm2020/main-class-componentes-table.mjs.map +0 -1
  303. package/fesm2020/main-class-componentes-util.mjs +0 -18
  304. package/fesm2020/main-class-componentes-util.mjs.map +0 -1
  305. package/fesm2020/main-class-componentes.mjs +0 -9
  306. package/fesm2020/main-class-componentes.mjs.map +0 -1
  307. package/form/src/form.module.d.ts +0 -12
  308. package/input/src/input-datetime/input-datetime.module.d.ts +0 -13
  309. package/input/src/input-fileupload/input-fileupload.module.d.ts +0 -18
  310. package/input/src/input-telefone-internacional/input-telefone-internacional.module.d.ts +0 -11
  311. package/input/src/option-checkbox/option-checkbox.module.d.ts +0 -14
  312. package/input/src/select-chips/select-chips.module.d.ts +0 -13
  313. package/input/src/select-chips-autocomplete/select-chips-autocomplete.component.d.ts +0 -60
  314. package/input/src/select-chips-autocomplete/select-chips-autocomplete.module.d.ts +0 -13
  315. package/input/src/select-item/select-item.component.d.ts +0 -11
  316. package/input/src/select-item/select-item.module.d.ts +0 -8
  317. package/input/src/select-many-checkbox/select-many-checkbox.module.d.ts +0 -11
  318. package/input/src/select-radio/select-radio.module.d.ts +0 -11
  319. package/loader/src/loader.module.d.ts +0 -11
  320. package/misc/src/cnpj/cnpj-model.directive.d.ts +0 -8
  321. package/misc/src/cnpj/cnpj.module.d.ts +0 -11
  322. package/misc/src/cpf/cpf-model.directive.d.ts +0 -8
  323. package/misc/src/cpf/cpf.module.d.ts +0 -10
  324. package/misc/src/cpf-cnpj/cpf-cnpj-model.directive.d.ts +0 -10
  325. package/misc/src/cpf-cnpj/cpf-cnpj.module.d.ts +0 -10
  326. package/misc/src/info/info.component.d.ts +0 -9
  327. package/misc/src/info/info.module.d.ts +0 -9
  328. package/misc/src/monetario/monetario-model.directive.d.ts +0 -32
  329. package/misc/src/monetario/monetario.module.d.ts +0 -9
  330. package/misc/src/porcentagem/porcentagem-model.directive.d.ts +0 -28
  331. package/misc/src/porcentagem/porcentagem.module.d.ts +0 -9
  332. package/misc/src/telefone/telefone-model.directive.d.ts +0 -10
  333. package/misc/src/telefone/telefone.module.d.ts +0 -10
  334. package/misc/src/unsafe-inner-html/unsafe-inner-html.module.d.ts +0 -8
  335. package/model/index.d.ts +0 -2
  336. package/model/src/masked-model.directive.d.ts +0 -31
  337. package/model/src/model.module.d.ts +0 -8
  338. package/pipe/src/pipe.module.d.ts +0 -8
  339. package/scroll/index.d.ts +0 -2
  340. package/scroll/src/scroll-container/scroll-container.component.d.ts +0 -34
  341. package/scroll/src/scroll.module.d.ts +0 -8
  342. package/table/src/infinite-table/infinite-table.component.d.ts +0 -21
  343. package/table/src/table.module.d.ts +0 -29
  344. package/util/index.d.ts +0 -1
  345. package/util/src/string.util.d.ts +0 -4
package/README.md CHANGED
@@ -1,24 +1,63 @@
1
1
  # Componentes
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.7.
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.0.
4
4
 
5
5
  ## Code scaffolding
6
6
 
7
- Run `ng generate component component-name --project componentes` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project componentes`.
8
- > Note: Don't forget to add `--project componentes` or else it will be added to the default project in your `angular.json` file.
7
+ Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
9
8
 
10
- ## Build
9
+ ```bash
10
+ ng generate component component-name
11
+ ```
11
12
 
12
- Run `ng build componentes` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+ For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
13
14
 
14
- ## Publishing
15
+ ```bash
16
+ ng generate --help
17
+ ```
15
18
 
16
- After building your library with `ng build componentes`, go to the dist folder `cd dist/componentes` and run `npm publish`.
19
+ ## Building
20
+
21
+ To build the library, run:
22
+
23
+ ```bash
24
+ ng build componentes
25
+ ```
26
+
27
+ This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
+
29
+ ### Publishing the Library
30
+
31
+ Once the project is built, you can publish your library by following these steps:
32
+
33
+ 1. Navigate to the `dist` directory:
34
+ ```bash
35
+ cd dist/componentes
36
+ ```
37
+
38
+ 2. Run the `npm publish` command to publish your library to the npm registry:
39
+ ```bash
40
+ npm publish
41
+ ```
17
42
 
18
43
  ## Running unit tests
19
44
 
20
- Run `ng test componentes` to execute the unit tests via [Karma](https://karma-runner.github.io).
45
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
46
+
47
+ ```bash
48
+ ng test
49
+ ```
50
+
51
+ ## Running end-to-end tests
52
+
53
+ For end-to-end (e2e) testing, run:
54
+
55
+ ```bash
56
+ ng e2e
57
+ ```
58
+
59
+ Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
21
60
 
22
- ## Further help
61
+ ## Additional Resources
23
62
 
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
63
+ For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -1,4 +1,3 @@
1
- export * from './src/arquivo.module';
2
1
  export * from './src/download-arquivo.directive';
3
2
  export * from './src/preview-arquivo/preview-arquivo.component';
4
3
  export * from './src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component';
@@ -8,5 +8,5 @@ export declare class DownloadArquivoDirective {
8
8
  private getUrlArquivo;
9
9
  download(): Promise<void>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DownloadArquivoDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<DownloadArquivoDirective, "[mclDownloadArquivo]", never, { "attachment": "mclDownloadArquivo"; "target": "target"; }, {}, never, never, false, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DownloadArquivoDirective, "[mclDownloadArquivo]", never, { "attachment": { "alias": "mclDownloadArquivo"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, {}, never, never, true, never>;
12
12
  }
@@ -7,7 +7,7 @@ export declare class ImagemDirective implements OnInit {
7
7
  private element;
8
8
  private arquivoManagerService;
9
9
  private _path;
10
- private _setter;
10
+ private _setter?;
11
11
  private backgroundSetter;
12
12
  private srcSetter;
13
13
  constructor(_padrao: string, element: ElementRef, arquivoManagerService: ArquivoManagerService);
@@ -17,5 +17,5 @@ export declare class ImagemDirective implements OnInit {
17
17
  private setPath;
18
18
  ngOnInit(): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<ImagemDirective, [{ optional: true; }, { self: true; }, null]>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<ImagemDirective, "[mclImagemSrc],[mclImagemBackground]", never, { "imagemSrc": "mclImagemSrc"; "imagemBackground": "mclImagemBackground"; "padrao": "padrao"; }, {}, never, never, false, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ImagemDirective, "[mclImagemSrc],[mclImagemBackground]", never, { "imagemSrc": { "alias": "mclImagemSrc"; "required": false; }; "imagemBackground": { "alias": "mclImagemBackground"; "required": false; }; "padrao": { "alias": "padrao"; "required": false; }; }, {}, never, never, true, never>;
21
21
  }
@@ -19,5 +19,5 @@ export declare class DialogPreviewArquivoComponent implements OnInit {
19
19
  previewCarregado(e?: CustomEvent): void;
20
20
  download(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogPreviewArquivoComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogPreviewArquivoComponent, "mcl-dialog-preview-arquivo", never, {}, {}, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogPreviewArquivoComponent, "mcl-dialog-preview-arquivo", never, {}, {}, never, never, true, never>;
23
23
  }
@@ -6,14 +6,14 @@ export declare class PreviewArquivoComponent implements OnInit {
6
6
  private arquivoManagerService;
7
7
  private dialog;
8
8
  src: any;
9
- filename: string;
10
- type: 'image' | 'pdf' | 'other';
9
+ filename?: string;
10
+ type?: 'image' | 'pdf' | 'other';
11
11
  showLoading: boolean;
12
12
  height: string;
13
13
  width: string;
14
- group: Array<string>;
15
- private $arquivo;
16
- private $url;
14
+ group?: Array<string>;
15
+ private $arquivo?;
16
+ private $url?;
17
17
  constructor(arquivoManagerService: ArquivoManagerService, dialog: MatDialog);
18
18
  ngOnInit(): void;
19
19
  get arquivo(): any;
@@ -23,5 +23,5 @@ export declare class PreviewArquivoComponent implements OnInit {
23
23
  private parseType;
24
24
  abrePreview(): Promise<void>;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<PreviewArquivoComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<PreviewArquivoComponent, "mcl-preview-arquivo", never, { "showLoading": "showLoading"; "height": "height"; "width": "width"; "group": "group"; "arquivo": "arquivo"; }, {}, never, never, false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<PreviewArquivoComponent, "mcl-preview-arquivo", never, { "showLoading": { "alias": "showLoading"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "group": { "alias": "group"; "required": false; }; "arquivo": { "alias": "arquivo"; "required": false; }; }, {}, never, never, true, never>;
27
27
  }
package/core/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- export * from './src/core.module';
2
1
  export * from './src/criptografia/criptografia.service';
3
2
  export * from './src/validator/valida-modulo11.service';
4
3
  export * from './src/mensageria/mensageria.service';
package/crud/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
- export * from './src/abstract-consulta-component';
1
+ export * from './src/query/query-field/query-field.component';
2
+ export * from './src/query/query-form-field/query-form-field.component';
3
+ export * from './src/query/query-modal-form/query-modal-form.component';
4
+ export * from './src/query/query-form.component';
2
5
  export * from './src/abstract-consulta-paginada-component';
3
6
  export * from './src/abstract-edicao-component';
4
7
  export * from './src/abstract-edicao-modal-component';
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
7
7
  export declare abstract class AbstractConsultaPaginadaComponent<T> implements AfterViewInit {
8
8
  private timeoutConsulta;
9
9
  filtro: any;
10
- page: MCPaginaDTO<T> | SpringPage<T>;
11
- infiniteTable: PaginatedTableComponent<T>;
10
+ page?: MCPaginaDTO<T> | SpringPage<T>;
11
+ table: PaginatedTableComponent<T>;
12
12
  protected abstract get router(): Router;
13
13
  protected abstract get activatedRoute(): ActivatedRoute;
14
14
  protected abstract get dialogService(): DialogService;
@@ -21,5 +21,5 @@ export declare abstract class AbstractConsultaPaginadaComponent<T> implements Af
21
21
  busca(event?: PaginationEvent): Promise<void>;
22
22
  remove(entidade: T): Promise<void>;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConsultaPaginadaComponent<any>, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractConsultaPaginadaComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractConsultaPaginadaComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
25
25
  }
@@ -15,5 +15,5 @@ export declare abstract class AbstractEdicaoComponent<T> implements OnInit {
15
15
  ngOnInit(): void;
16
16
  salva(form: NgForm): Promise<void>;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractEdicaoComponent<any>, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractEdicaoComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractEdicaoComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
19
19
  }
@@ -0,0 +1,37 @@
1
+ import { QueryList } from '@angular/core';
2
+ import { AbstractControl } from "@angular/forms";
3
+ import { Observable } from 'rxjs';
4
+ import { SelectOptionProvider } from '@main-class/componentes/input';
5
+ import { SelectOptionComponent, SelectOption } from '@main-class/componentes/input';
6
+ import * as i0 from "@angular/core";
7
+ type FieldType = 'group' | 'input' | 'cpf' | 'cnpj' | 'cpf_cnpj' | 'date' | 'option' | 'currency' | 'mask';
8
+ export declare class QueryFieldComponent implements SelectOptionProvider {
9
+ optionProvider?: SelectOptionProvider | undefined;
10
+ private cpfCnpjPipe;
11
+ private datePipe;
12
+ private currencyPipe;
13
+ private maskPipe;
14
+ private $fieldType?;
15
+ formControl: AbstractControl;
16
+ labelText?: string;
17
+ description?: string;
18
+ mask?: string;
19
+ name?: string;
20
+ options?: QueryList<SelectOptionComponent>;
21
+ fields?: QueryList<QueryFieldComponent>;
22
+ constructor(optionProvider?: SelectOptionProvider | undefined);
23
+ get fieldType(): FieldType | undefined;
24
+ set fieldType(fieldType: FieldType | undefined);
25
+ get empty(): boolean;
26
+ get value(): string | undefined | null;
27
+ type(): "number" | "object" | "string" | "date";
28
+ provide(search: string | null): Observable<SelectOption<any>[]>;
29
+ label(value: any): string;
30
+ trackBy(value: any): any;
31
+ clear(): void;
32
+ serialized(): string | undefined;
33
+ desserialize(value: string | undefined): any;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryFieldComponent, [{ optional: true; self: true; }]>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<QueryFieldComponent, "mcl-query-field", never, { "labelText": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "name": { "alias": "name"; "required": false; }; "fieldType": { "alias": "type"; "required": false; }; }, {}, ["options", "fields"], never, true, never>;
36
+ }
37
+ export {};
@@ -0,0 +1,11 @@
1
+ import { AbstractControl, FormControl, FormGroup } from "@angular/forms";
2
+ import { QueryFieldComponent } from "../query-field/query-field.component";
3
+ import * as i0 from "@angular/core";
4
+ export declare class QueryFormFieldComponent {
5
+ field?: QueryFieldComponent;
6
+ control?: AbstractControl;
7
+ get formControl(): FormControl;
8
+ get formGroup(): FormGroup;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryFormFieldComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<QueryFormFieldComponent, "mcl-query-form-field", never, { "field": { "alias": "field"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,23 @@
1
+ import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
2
+ import { QueryFieldComponent } from "./query-field/query-field.component";
3
+ import { Validators } from "@angular/forms";
4
+ import { DialogService } from '@main-class/componentes/dialog';
5
+ import { ActivatedRoute, Router } from '@angular/router';
6
+ import * as i0 from "@angular/core";
7
+ export declare class QueryFormComponent implements OnInit {
8
+ private router;
9
+ private dialogService;
10
+ private activatedRoute;
11
+ fields?: QueryList<QueryFieldComponent>;
12
+ modalTemplate?: TemplateRef<any>;
13
+ query: EventEmitter<any>;
14
+ constructor(router: Router, dialogService: DialogService, activatedRoute: ActivatedRoute);
15
+ ngOnInit(): void;
16
+ get filterCount(): number;
17
+ openFilter($event: MouseEvent): void;
18
+ protected readonly Validators: typeof Validators;
19
+ private serialized;
20
+ private desserialize;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryFormComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<QueryFormComponent, "mcl-query-form", never, {}, { "query": "query"; }, ["fields"], never, true, never>;
23
+ }
@@ -0,0 +1,13 @@
1
+ import { QueryFieldComponent } from "../query-field/query-field.component";
2
+ import { FormBuilder, FormGroup } from "@angular/forms";
3
+ import { SidebarModalRef } from '@main-class/componentes/dialog';
4
+ import * as i0 from "@angular/core";
5
+ export declare class QueryModalFormComponent {
6
+ private modalRef;
7
+ fields: Array<QueryFieldComponent>;
8
+ form: FormGroup;
9
+ constructor(fb: FormBuilder, modalRef: SidebarModalRef<any>, fields: Array<QueryFieldComponent>);
10
+ apply(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryModalFormComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<QueryModalFormComponent, "mcl-query-form", never, {}, {}, never, never, true, never>;
13
+ }
package/dialog/index.d.ts CHANGED
@@ -1,4 +1,10 @@
1
- export * from './src/dialog.module';
2
1
  export * from './src/dialog.service';
3
2
  export * from './src/dialog-confirmacao/dialog-confirmacao.component';
4
3
  export * from './src/dialog-iframe/dialog-iframe.component';
4
+ export * from './src/dialog-sidebar/sidebar-modal-ref';
5
+ export * from './src/dialog-sidebar/modal.component';
6
+ export * from './src/dialog-sidebar/modal-template/modal-close.directive';
7
+ export * from './src/dialog-sidebar/modal-template/modal-footer.directive';
8
+ export * from './src/dialog-sidebar/modal-template/modal-header.directive';
9
+ export * from './src/dialog-sidebar/modal-template/modal-body.directive';
10
+ export * from './src/dialog-sidebar/modal-template/modal-template.component';
@@ -15,9 +15,9 @@ export declare class DialogConfirmacaoComponent implements OnInit {
15
15
  get titulo(): string;
16
16
  get mensagem(): string;
17
17
  get okLabel(): string;
18
- get cancelLabel(): string;
18
+ get cancelLabel(): string | undefined;
19
19
  ngOnInit(): void;
20
20
  confirma(form: NgForm): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogConfirmacaoComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogConfirmacaoComponent, "mcl-dialog-confirmacao", never, {}, {}, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogConfirmacaoComponent, "mcl-dialog-confirmacao", never, {}, {}, never, never, true, never>;
23
23
  }
@@ -16,6 +16,6 @@ export declare class DialogIframeComponent implements AfterViewInit {
16
16
  private returnValue;
17
17
  close(): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogIframeComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogIframeComponent, "mcl-dialog-iframe", never, {}, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogIframeComponent, "mcl-dialog-iframe", never, {}, {}, never, never, true, never>;
20
20
  }
21
21
  export declare function closeDialogIframe(returnValue?: any): void;
@@ -0,0 +1,9 @@
1
+ import { SidebarModalOptions } from "../sidebar-modal-ref";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModalBodyDirective {
4
+ private config;
5
+ constructor(config: SidebarModalOptions);
6
+ get size(): "small" | "medium" | "large" | "auto" | undefined;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalBodyDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalBodyDirective, "[mclSidebarModalBody]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { SidebarModalRef } from "../sidebar-modal-ref";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModalCloseDirective {
4
+ private modalRef;
5
+ constructor(modalRef: SidebarModalRef<any>);
6
+ onClick(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalCloseDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalCloseDirective, "[mclSidebarModalClose]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ModalFooterDirective {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalFooterDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalFooterDirective, "[mclSidebarModalFooter]", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ModalHeaderDirective {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalHeaderDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalHeaderDirective, "[mclSidebarModalHeader]", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,12 @@
1
+ import { SidebarModalOptions, SidebarModalRef } from "../sidebar-modal-ref";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModalTemplateComponent {
4
+ modalRef: SidebarModalRef<any>;
5
+ private config;
6
+ constructor(modalRef: SidebarModalRef<any>, config: SidebarModalOptions);
7
+ get fixed(): boolean;
8
+ get size(): "small" | "medium" | "large" | "auto" | undefined;
9
+ close(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalTemplateComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalTemplateComponent, "mcl-sidebar-modal-template", never, {}, {}, never, ["br-modal-content"], true, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModalComponent {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "mcl-modal", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { Observable } from "rxjs";
2
+ import { InjectionToken } from "@angular/core";
3
+ export declare const SIDEBAR_MODAL_DATA: InjectionToken<unknown>;
4
+ export declare const SIDEBAR_MODAL_OPTIONS: InjectionToken<unknown>;
5
+ export interface SidebarModalOptions {
6
+ size?: 'small' | 'medium' | 'large' | 'auto';
7
+ closeable?: boolean;
8
+ data?: any;
9
+ container?: HTMLElement;
10
+ }
11
+ export declare class SidebarModalRef<T> {
12
+ private $closeSubject;
13
+ readonly size: 'small' | 'medium' | 'large' | 'auto';
14
+ constructor(options?: SidebarModalOptions);
15
+ afterClosed(): Observable<T | undefined>;
16
+ close(result?: T): void;
17
+ }
@@ -1,9 +1,14 @@
1
+ import { ApplicationRef, Injector } from '@angular/core';
1
2
  import { Observable } from 'rxjs';
2
3
  import { MatDialog } from '@angular/material/dialog';
4
+ import { SidebarModalOptions, SidebarModalRef } from './dialog-sidebar/sidebar-modal-ref';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class DialogService {
7
+ private appRef;
8
+ private injector;
5
9
  private dialog;
6
- constructor(dialog: MatDialog);
10
+ constructor(appRef: ApplicationRef, injector: Injector, dialog: MatDialog);
11
+ openSidebar<T = any>(component: any, options?: SidebarModalOptions): SidebarModalRef<T>;
7
12
  confirma(mensagem: string, config?: {
8
13
  icon?: string;
9
14
  titulo?: string;