@main-class/componentes 1.18.8 → 1.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (471) hide show
  1. package/arquivo/index.d.ts +6 -4
  2. package/arquivo/main-class-componentes-arquivo.d.ts +4 -0
  3. package/arquivo/main-class-componentes-arquivo.metadata.json +1 -0
  4. package/arquivo/package.json +11 -0
  5. package/arquivo/{download-arquivo.directive.d.ts → src/download-arquivo.directive.d.ts} +1 -1
  6. package/{core/imagem → arquivo/src}/imagem.directive.d.ts +1 -1
  7. package/arquivo/{preview-arquivo → src/preview-arquivo}/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts +1 -1
  8. package/arquivo/{preview-arquivo → src/preview-arquivo}/preview-arquivo.component.d.ts +1 -1
  9. package/bundles/main-class-componentes-arquivo.umd.js +687 -0
  10. package/bundles/main-class-componentes-arquivo.umd.js.map +1 -0
  11. package/bundles/main-class-componentes-arquivo.umd.min.js +16 -0
  12. package/bundles/main-class-componentes-arquivo.umd.min.js.map +1 -0
  13. package/bundles/main-class-componentes-core.umd.js +252 -0
  14. package/bundles/main-class-componentes-core.umd.js.map +1 -0
  15. package/bundles/main-class-componentes-core.umd.min.js +2 -0
  16. package/bundles/main-class-componentes-core.umd.min.js.map +1 -0
  17. package/bundles/main-class-componentes-crud.umd.js +543 -0
  18. package/bundles/main-class-componentes-crud.umd.js.map +1 -0
  19. package/bundles/main-class-componentes-crud.umd.min.js +16 -0
  20. package/bundles/main-class-componentes-crud.umd.min.js.map +1 -0
  21. package/bundles/main-class-componentes-date.umd.js +185 -0
  22. package/bundles/main-class-componentes-date.umd.js.map +1 -0
  23. package/bundles/main-class-componentes-date.umd.min.js +2 -0
  24. package/bundles/main-class-componentes-date.umd.min.js.map +1 -0
  25. package/bundles/main-class-componentes-dialog.umd.js +206 -0
  26. package/bundles/main-class-componentes-dialog.umd.js.map +1 -0
  27. package/bundles/main-class-componentes-dialog.umd.min.js +2 -0
  28. package/bundles/main-class-componentes-dialog.umd.min.js.map +1 -0
  29. package/bundles/main-class-componentes-form.umd.js +211 -0
  30. package/bundles/main-class-componentes-form.umd.js.map +1 -0
  31. package/bundles/main-class-componentes-form.umd.min.js +2 -0
  32. package/bundles/main-class-componentes-form.umd.min.js.map +1 -0
  33. package/bundles/main-class-componentes-input.umd.js +2244 -0
  34. package/bundles/main-class-componentes-input.umd.js.map +1 -0
  35. package/bundles/main-class-componentes-input.umd.min.js +17 -0
  36. package/bundles/main-class-componentes-input.umd.min.js.map +1 -0
  37. package/bundles/main-class-componentes-loader.umd.js +233 -0
  38. package/bundles/main-class-componentes-loader.umd.js.map +1 -0
  39. package/bundles/main-class-componentes-loader.umd.min.js +2 -0
  40. package/bundles/main-class-componentes-loader.umd.min.js.map +1 -0
  41. package/bundles/main-class-componentes-misc.umd.js +1122 -0
  42. package/bundles/main-class-componentes-misc.umd.js.map +1 -0
  43. package/bundles/main-class-componentes-misc.umd.min.js +16 -0
  44. package/bundles/main-class-componentes-misc.umd.min.js.map +1 -0
  45. package/bundles/main-class-componentes-model.umd.js +196 -0
  46. package/bundles/main-class-componentes-model.umd.js.map +1 -0
  47. package/bundles/main-class-componentes-model.umd.min.js +2 -0
  48. package/bundles/main-class-componentes-model.umd.min.js.map +1 -0
  49. package/bundles/main-class-componentes-pipe.umd.js +55 -0
  50. package/bundles/main-class-componentes-pipe.umd.js.map +1 -0
  51. package/bundles/main-class-componentes-pipe.umd.min.js +2 -0
  52. package/bundles/main-class-componentes-pipe.umd.min.js.map +1 -0
  53. package/bundles/main-class-componentes-scroll.umd.js +106 -0
  54. package/bundles/main-class-componentes-scroll.umd.js.map +1 -0
  55. package/bundles/main-class-componentes-scroll.umd.min.js +2 -0
  56. package/bundles/main-class-componentes-scroll.umd.min.js.map +1 -0
  57. package/bundles/main-class-componentes-table.umd.js +787 -0
  58. package/bundles/main-class-componentes-table.umd.js.map +1 -0
  59. package/bundles/main-class-componentes-table.umd.min.js +17 -0
  60. package/bundles/main-class-componentes-table.umd.min.js.map +1 -0
  61. package/bundles/main-class-componentes-util.umd.js +31 -0
  62. package/bundles/main-class-componentes-util.umd.js.map +1 -0
  63. package/bundles/main-class-componentes-util.umd.min.js +2 -0
  64. package/bundles/main-class-componentes-util.umd.min.js.map +1 -0
  65. package/bundles/main-class-componentes.umd.js +13 -5511
  66. package/bundles/main-class-componentes.umd.js.map +1 -1
  67. package/bundles/main-class-componentes.umd.min.js +1 -1
  68. package/bundles/main-class-componentes.umd.min.js.map +1 -1
  69. package/core/index.d.ts +5 -14
  70. package/core/main-class-componentes-core.d.ts +4 -0
  71. package/core/main-class-componentes-core.metadata.json +1 -0
  72. package/core/package.json +11 -0
  73. package/core/src/core.module.d.ts +4 -0
  74. package/core/{mensageria → src/mensageria}/mensageria.service.d.ts +1 -2
  75. package/crud/index.d.ts +4 -5
  76. package/crud/main-class-componentes-crud.d.ts +4 -0
  77. package/crud/main-class-componentes-crud.metadata.json +1 -0
  78. package/crud/package.json +11 -0
  79. package/crud/{abstract-consulta-component.d.ts → src/abstract-consulta-component.d.ts} +3 -2
  80. package/crud/{abstract-consulta-paginada-component.d.ts → src/abstract-consulta-paginada-component.d.ts} +3 -2
  81. package/crud/{abstract-edicao-component.d.ts → src/abstract-edicao-component.d.ts} +2 -1
  82. package/crud/{abstract-edicao-modal-component.d.ts → src/abstract-edicao-modal-component.d.ts} +3 -1
  83. package/date/index.d.ts +3 -3
  84. package/date/main-class-componentes-date.d.ts +4 -0
  85. package/date/main-class-componentes-date.metadata.json +1 -0
  86. package/date/package.json +11 -0
  87. package/dialog/index.d.ts +4 -0
  88. package/dialog/main-class-componentes-dialog.d.ts +4 -0
  89. package/dialog/main-class-componentes-dialog.metadata.json +1 -0
  90. package/dialog/package.json +11 -0
  91. package/dialog/src/dialog.module.d.ts +2 -0
  92. package/esm2015/arquivo/index.js +7 -5
  93. package/esm2015/arquivo/main-class-componentes-arquivo.js +5 -0
  94. package/esm2015/arquivo/src/arquivo-manager.service.js +3 -0
  95. package/esm2015/arquivo/src/arquivo.module.js +30 -0
  96. package/esm2015/arquivo/src/download-arquivo.directive.js +44 -0
  97. package/esm2015/arquivo/src/imagem.directive.js +80 -0
  98. package/esm2015/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.js +56 -0
  99. package/esm2015/arquivo/src/preview-arquivo/preview-arquivo.component.js +136 -0
  100. package/esm2015/core/index.js +6 -15
  101. package/esm2015/core/main-class-componentes-core.js +5 -0
  102. package/esm2015/core/src/core.module.js +27 -0
  103. package/esm2015/core/src/criptografia/criptografia.service.js +13 -0
  104. package/esm2015/core/src/mensageria/mensageria.service.js +48 -0
  105. package/esm2015/core/src/mobile/mobile.service.js +45 -0
  106. package/esm2015/core/src/validator/valida-modulo11.service.js +92 -0
  107. package/esm2015/crud/index.js +5 -6
  108. package/esm2015/crud/main-class-componentes-crud.js +5 -0
  109. package/esm2015/crud/src/abstract-consulta-component.js +60 -0
  110. package/esm2015/crud/src/abstract-consulta-paginada-component.js +48 -0
  111. package/esm2015/crud/src/abstract-edicao-component.js +29 -0
  112. package/esm2015/crud/src/abstract-edicao-modal-component.js +24 -0
  113. package/esm2015/date/index.js +4 -4
  114. package/esm2015/date/main-class-componentes-date.js +5 -0
  115. package/esm2015/date/src/date.module.js +19 -0
  116. package/esm2015/date/src/validator/data-validator.directive.js +97 -0
  117. package/esm2015/date/src/validator/futuro.directive.js +26 -0
  118. package/esm2015/dialog/index.js +5 -0
  119. package/esm2015/dialog/main-class-componentes-dialog.js +5 -0
  120. package/esm2015/dialog/src/dialog-confirmacao/dialog-confirmacao.component.js +40 -0
  121. package/esm2015/dialog/src/dialog-iframe/dialog-iframe.component.js +59 -0
  122. package/esm2015/dialog/src/dialog.module.js +28 -0
  123. package/esm2015/dialog/src/dialog.service.js +55 -0
  124. package/esm2015/form/index.js +5 -5
  125. package/esm2015/form/main-class-componentes-form.js +5 -0
  126. package/esm2015/form/src/form.component.js +103 -0
  127. package/esm2015/form/src/form.module.js +25 -0
  128. package/esm2015/form/src/mensagens-erro/mensagens-erro.component.js +31 -0
  129. package/esm2015/form/src/single-click.directive.js +35 -0
  130. package/esm2015/input/index.js +22 -22
  131. package/esm2015/input/main-class-componentes-input.js +6 -0
  132. package/esm2015/input/src/abstract-mat-form-field-control.js +110 -0
  133. package/esm2015/input/src/input-datetime/input-datetime.component.js +114 -0
  134. package/esm2015/input/{input-datetime → src/input-datetime}/input-datetime.module.js +3 -3
  135. package/esm2015/input/src/input-fileupload/input-fileupload.component.js +324 -0
  136. package/esm2015/input/src/input-fileupload/input-fileupload.directive.js +34 -0
  137. package/esm2015/input/src/input-fileupload/input-fileupload.module.js +34 -0
  138. package/esm2015/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.js +22 -0
  139. package/esm2015/input/src/input-telefone-internacional/input-telefone-internacional.component.js +66 -0
  140. package/esm2015/input/src/input-telefone-internacional/input-telefone-internacional.module.js +23 -0
  141. package/esm2015/input/src/option-checkbox/all-option-checkbox.component.js +36 -0
  142. package/esm2015/input/src/option-checkbox/node-pool.js +93 -0
  143. package/esm2015/input/src/option-checkbox/option-checkbox-group.component.js +71 -0
  144. package/esm2015/input/src/option-checkbox/option-checkbox.component.js +59 -0
  145. package/esm2015/input/src/option-checkbox/option-checkbox.module.js +23 -0
  146. package/esm2015/input/src/option-checkbox/option-checkbox.service.js +52 -0
  147. package/esm2015/input/src/option-checkbox/option-node.js +24 -0
  148. package/esm2015/input/src/select-chips/select-chips.component.js +177 -0
  149. package/esm2015/input/src/select-chips/select-chips.module.js +25 -0
  150. package/esm2015/input/src/select-item/select-item.component.js +20 -0
  151. package/esm2015/input/src/select-item/select-item.module.js +15 -0
  152. package/esm2015/input/src/select-many-checkbox/select-many-checkbox.component.js +150 -0
  153. package/esm2015/input/src/select-many-checkbox/select-many-checkbox.module.js +21 -0
  154. package/esm2015/input/src/select-radio/select-radio.component.js +124 -0
  155. package/esm2015/input/src/select-radio/select-radio.module.js +21 -0
  156. package/esm2015/loader/index.js +4 -0
  157. package/esm2015/loader/main-class-componentes-loader.js +5 -0
  158. package/esm2015/loader/src/loader.component.js +112 -0
  159. package/esm2015/loader/src/loader.module.js +21 -0
  160. package/esm2015/loader/src/loader.service.js +70 -0
  161. package/esm2015/misc/index.js +27 -27
  162. package/esm2015/misc/main-class-componentes-misc.js +5 -0
  163. package/esm2015/misc/src/cnpj/cnpj-model.directive.js +13 -0
  164. package/esm2015/misc/src/cnpj/cnpj.directive.js +31 -0
  165. package/esm2015/misc/src/cnpj/cnpj.module.js +19 -0
  166. package/esm2015/misc/src/cnpj/cnpjs.pipe.js +15 -0
  167. package/esm2015/misc/src/cpf/cpf-model.directive.js +13 -0
  168. package/esm2015/misc/src/cpf/cpf.directive.js +31 -0
  169. package/esm2015/misc/src/cpf/cpf.module.js +19 -0
  170. package/esm2015/misc/src/cpf/cpf.pipe.js +15 -0
  171. package/esm2015/misc/src/cpf-cnpj/cpf-cnpj-model.directive.js +25 -0
  172. package/esm2015/misc/src/cpf-cnpj/cpf-cnpj.directive.js +32 -0
  173. package/esm2015/misc/src/cpf-cnpj/cpf-cnpj.module.js +19 -0
  174. package/esm2015/misc/src/cpf-cnpj/cpf-cnpj.pipe.js +18 -0
  175. package/esm2015/misc/{info → src/info}/info.component.js +1 -1
  176. package/esm2015/misc/src/info/info.module.js +17 -0
  177. package/esm2015/misc/src/monetario/monetario-mask.js +34 -0
  178. package/esm2015/misc/src/monetario/monetario-model.directive.js +124 -0
  179. package/esm2015/misc/src/monetario/monetario.module.js +16 -0
  180. package/esm2015/misc/src/monetario/monetario.pipe.js +13 -0
  181. package/esm2015/misc/src/porcentagem/porcentagem-mask.js +34 -0
  182. package/esm2015/misc/src/porcentagem/porcentagem-model.directive.js +99 -0
  183. package/esm2015/misc/src/porcentagem/porcentagem.module.js +16 -0
  184. package/esm2015/misc/src/porcentagem/porcentagem.pipe.js +13 -0
  185. package/esm2015/misc/src/telefone/telefone-model.directive.js +25 -0
  186. package/esm2015/misc/src/telefone/telefone.module.js +18 -0
  187. package/esm2015/misc/src/telefone/telefone.pipe.js +33 -0
  188. package/esm2015/misc/src/unsafe-inner-html/unsafe-inner-html.directive.js +23 -0
  189. package/esm2015/misc/src/unsafe-inner-html/unsafe-inner-html.module.js +15 -0
  190. package/esm2015/model/index.js +3 -0
  191. package/esm2015/model/main-class-componentes-model.js +5 -0
  192. package/esm2015/model/src/masked-model.directive.js +149 -0
  193. package/esm2015/model/src/model.module.js +19 -0
  194. package/esm2015/pipe/index.js +3 -0
  195. package/esm2015/pipe/main-class-componentes-pipe.js +5 -0
  196. package/esm2015/pipe/src/nome-resumido.pipe.js +16 -0
  197. package/esm2015/pipe/src/pipe.module.js +16 -0
  198. package/esm2015/public-api.js +2 -11
  199. package/esm2015/scroll/index.js +3 -3
  200. package/esm2015/scroll/main-class-componentes-scroll.js +5 -0
  201. package/esm2015/scroll/src/scroll-container/scroll-container.component.js +69 -0
  202. package/esm2015/scroll/src/scroll.module.js +17 -0
  203. package/esm2015/table/index.js +12 -12
  204. package/esm2015/table/main-class-componentes-table.js +6 -0
  205. package/esm2015/table/src/column/column-cell.directive.js +15 -0
  206. package/esm2015/table/src/column/column-footer.directive.js +15 -0
  207. package/esm2015/table/src/column/column-header.directive.js +15 -0
  208. package/esm2015/table/src/column/column.directive.js +28 -0
  209. package/esm2015/table/src/infinite-table/infinite-table.component.js +92 -0
  210. package/esm2015/table/src/paginated-table/paginated-table.component.js +43 -0
  211. package/esm2015/table/{paginator → src/paginator}/paginator.component.js +1 -1
  212. package/esm2015/table/src/paginator-i18n.js +23 -0
  213. package/esm2015/table/src/table/table.component.js +119 -0
  214. package/esm2015/table/src/table.module.js +74 -0
  215. package/esm2015/table/src/td/td.component.js +19 -0
  216. package/esm2015/table/src/th/th.component.js +19 -0
  217. package/esm2015/util/index.js +2 -2
  218. package/esm2015/util/main-class-componentes-util.js +5 -0
  219. package/esm2015/util/src/string.util.js +12 -0
  220. package/fesm2015/main-class-componentes-arquivo.js +338 -0
  221. package/fesm2015/main-class-componentes-arquivo.js.map +1 -0
  222. package/fesm2015/main-class-componentes-core.js +219 -0
  223. package/fesm2015/main-class-componentes-core.js.map +1 -0
  224. package/fesm2015/main-class-componentes-crud.js +162 -0
  225. package/fesm2015/main-class-componentes-crud.js.map +1 -0
  226. package/fesm2015/main-class-componentes-date.js +143 -0
  227. package/fesm2015/main-class-componentes-date.js.map +1 -0
  228. package/fesm2015/main-class-componentes-dialog.js +177 -0
  229. package/fesm2015/main-class-componentes-dialog.js.map +1 -0
  230. package/fesm2015/main-class-componentes-form.js +191 -0
  231. package/fesm2015/main-class-componentes-form.js.map +1 -0
  232. package/fesm2015/main-class-componentes-input.js +1604 -0
  233. package/fesm2015/main-class-componentes-input.js.map +1 -0
  234. package/fesm2015/main-class-componentes-loader.js +206 -0
  235. package/fesm2015/main-class-componentes-loader.js.map +1 -0
  236. package/fesm2015/main-class-componentes-misc.js +688 -0
  237. package/fesm2015/main-class-componentes-misc.js.map +1 -0
  238. package/fesm2015/main-class-componentes-model.js +173 -0
  239. package/fesm2015/main-class-componentes-model.js.map +1 -0
  240. package/fesm2015/main-class-componentes-pipe.js +37 -0
  241. package/fesm2015/main-class-componentes-pipe.js.map +1 -0
  242. package/fesm2015/main-class-componentes-scroll.js +91 -0
  243. package/fesm2015/main-class-componentes-scroll.js.map +1 -0
  244. package/fesm2015/main-class-componentes-table.js +446 -0
  245. package/fesm2015/main-class-componentes-table.js.map +1 -0
  246. package/fesm2015/main-class-componentes-util.js +18 -0
  247. package/fesm2015/main-class-componentes-util.js.map +1 -0
  248. package/fesm2015/main-class-componentes.js +1 -4308
  249. package/fesm2015/main-class-componentes.js.map +1 -1
  250. package/form/index.d.ts +4 -4
  251. package/form/main-class-componentes-form.d.ts +4 -0
  252. package/form/main-class-componentes-form.metadata.json +1 -0
  253. package/form/package.json +11 -0
  254. package/input/index.d.ts +21 -21
  255. package/input/main-class-componentes-input.d.ts +5 -0
  256. package/input/main-class-componentes-input.metadata.json +1 -0
  257. package/input/package.json +11 -0
  258. package/input/{input-fileupload → src/input-fileupload}/input-fileupload.component.d.ts +2 -2
  259. package/loader/index.d.ts +3 -0
  260. package/loader/main-class-componentes-loader.d.ts +4 -0
  261. package/loader/main-class-componentes-loader.metadata.json +1 -0
  262. package/loader/package.json +11 -0
  263. package/{core/loader → loader/src}/loader.component.d.ts +1 -1
  264. package/loader/src/loader.module.d.ts +2 -0
  265. package/main-class-componentes.metadata.json +1 -1
  266. package/misc/index.d.ts +26 -26
  267. package/misc/main-class-componentes-misc.d.ts +4 -0
  268. package/misc/main-class-componentes-misc.metadata.json +1 -0
  269. package/misc/package.json +11 -0
  270. package/misc/{cnpj → src/cnpj}/cnpj-model.directive.d.ts +1 -1
  271. package/misc/{cnpj → src/cnpj}/cnpj.directive.d.ts +1 -1
  272. package/misc/{cpf → src/cpf}/cpf-model.directive.d.ts +1 -1
  273. package/misc/{cpf → src/cpf}/cpf.directive.d.ts +1 -1
  274. package/misc/{cpf-cnpj → src/cpf-cnpj}/cpf-cnpj-model.directive.d.ts +1 -1
  275. package/misc/{cpf-cnpj → src/cpf-cnpj}/cpf-cnpj.directive.d.ts +1 -1
  276. package/misc/{telefone → src/telefone}/telefone-model.directive.d.ts +1 -1
  277. package/model/index.d.ts +2 -0
  278. package/model/main-class-componentes-model.d.ts +4 -0
  279. package/model/main-class-componentes-model.metadata.json +1 -0
  280. package/model/package.json +11 -0
  281. package/model/src/model.module.d.ts +2 -0
  282. package/package.json +1 -1
  283. package/pipe/index.d.ts +2 -0
  284. package/pipe/main-class-componentes-pipe.d.ts +4 -0
  285. package/pipe/main-class-componentes-pipe.metadata.json +1 -0
  286. package/pipe/package.json +11 -0
  287. package/pipe/src/pipe.module.d.ts +2 -0
  288. package/public-api.d.ts +2 -10
  289. package/scroll/index.d.ts +2 -2
  290. package/scroll/main-class-componentes-scroll.d.ts +4 -0
  291. package/scroll/main-class-componentes-scroll.metadata.json +1 -0
  292. package/scroll/package.json +11 -0
  293. package/table/index.d.ts +11 -11
  294. package/table/main-class-componentes-table.d.ts +5 -0
  295. package/table/main-class-componentes-table.metadata.json +1 -0
  296. package/table/package.json +11 -0
  297. package/table/{infinite-table → src/infinite-table}/infinite-table.component.d.ts +2 -1
  298. package/table/{paginated-table → src/paginated-table}/paginated-table.component.d.ts +2 -2
  299. package/table/{table → src/table}/table.component.d.ts +1 -1
  300. package/util/index.d.ts +1 -1
  301. package/util/main-class-componentes-util.d.ts +4 -0
  302. package/util/main-class-componentes-util.metadata.json +1 -0
  303. package/util/package.json +11 -0
  304. package/core/componentes.module.d.ts +0 -4
  305. package/crud/crud.module.d.ts +0 -2
  306. package/esm2015/arquivo/arquivo.module.js +0 -29
  307. package/esm2015/arquivo/download-arquivo.directive.js +0 -44
  308. package/esm2015/arquivo/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.js +0 -56
  309. package/esm2015/arquivo/preview-arquivo/preview-arquivo.component.js +0 -136
  310. package/esm2015/core/arquivo/arquivo-manager.service.js +0 -3
  311. package/esm2015/core/componentes.module.js +0 -65
  312. package/esm2015/core/criptografia/criptografia.service.js +0 -13
  313. package/esm2015/core/dialog/dialog-confirmacao/dialog-confirmacao.component.js +0 -40
  314. package/esm2015/core/dialog/dialog-iframe/dialog-iframe.component.js +0 -59
  315. package/esm2015/core/dialog/dialog.service.js +0 -56
  316. package/esm2015/core/form/model/masked-model.directive.js +0 -149
  317. package/esm2015/core/form/validator/valida-modulo11.service.js +0 -92
  318. package/esm2015/core/imagem/imagem.directive.js +0 -80
  319. package/esm2015/core/loader/loader.component.js +0 -112
  320. package/esm2015/core/loader/loader.service.js +0 -70
  321. package/esm2015/core/mensageria/mensageria.service.js +0 -49
  322. package/esm2015/core/mobile/mobile.service.js +0 -46
  323. package/esm2015/core/pipe/nome-resumido.pipe.js +0 -16
  324. package/esm2015/crud/abstract-consulta-component.js +0 -60
  325. package/esm2015/crud/abstract-consulta-paginada-component.js +0 -48
  326. package/esm2015/crud/abstract-edicao-component.js +0 -29
  327. package/esm2015/crud/abstract-edicao-modal-component.js +0 -24
  328. package/esm2015/crud/crud.module.js +0 -14
  329. package/esm2015/date/date.module.js +0 -19
  330. package/esm2015/date/validator/data-validator.directive.js +0 -96
  331. package/esm2015/date/validator/futuro.directive.js +0 -26
  332. package/esm2015/form/form.component.js +0 -103
  333. package/esm2015/form/form.module.js +0 -25
  334. package/esm2015/form/mensagens-erro/mensagens-erro.component.js +0 -31
  335. package/esm2015/form/single-click.directive.js +0 -35
  336. package/esm2015/input/abstract-mat-form-field-control.js +0 -110
  337. package/esm2015/input/input-datetime/input-datetime.component.js +0 -114
  338. package/esm2015/input/input-fileupload/input-fileupload.component.js +0 -324
  339. package/esm2015/input/input-fileupload/input-fileupload.directive.js +0 -34
  340. package/esm2015/input/input-fileupload/input-fileupload.module.js +0 -34
  341. package/esm2015/input/input-telefone-internacional/input-telefone-internacional-validator.directive.js +0 -22
  342. package/esm2015/input/input-telefone-internacional/input-telefone-internacional.component.js +0 -66
  343. package/esm2015/input/input-telefone-internacional/input-telefone-internacional.module.js +0 -23
  344. package/esm2015/input/option-checkbox/all-option-checkbox.component.js +0 -36
  345. package/esm2015/input/option-checkbox/node-pool.js +0 -93
  346. package/esm2015/input/option-checkbox/option-checkbox-group.component.js +0 -71
  347. package/esm2015/input/option-checkbox/option-checkbox.component.js +0 -59
  348. package/esm2015/input/option-checkbox/option-checkbox.module.js +0 -23
  349. package/esm2015/input/option-checkbox/option-checkbox.service.js +0 -52
  350. package/esm2015/input/option-checkbox/option-node.js +0 -24
  351. package/esm2015/input/select-chips/select-chips.component.js +0 -177
  352. package/esm2015/input/select-chips/select-chips.module.js +0 -25
  353. package/esm2015/input/select-item/select-item.component.js +0 -20
  354. package/esm2015/input/select-item/select-item.module.js +0 -15
  355. package/esm2015/input/select-many-checkbox/select-many-checkbox.component.js +0 -150
  356. package/esm2015/input/select-many-checkbox/select-many-checkbox.module.js +0 -21
  357. package/esm2015/input/select-radio/select-radio.component.js +0 -124
  358. package/esm2015/input/select-radio/select-radio.module.js +0 -21
  359. package/esm2015/misc/cnpj/cnpj-model.directive.js +0 -13
  360. package/esm2015/misc/cnpj/cnpj.directive.js +0 -31
  361. package/esm2015/misc/cnpj/cnpj.module.js +0 -19
  362. package/esm2015/misc/cnpj/cnpjs.pipe.js +0 -15
  363. package/esm2015/misc/cpf/cpf-model.directive.js +0 -13
  364. package/esm2015/misc/cpf/cpf.directive.js +0 -31
  365. package/esm2015/misc/cpf/cpf.module.js +0 -19
  366. package/esm2015/misc/cpf/cpf.pipe.js +0 -15
  367. package/esm2015/misc/cpf-cnpj/cpf-cnpj-model.directive.js +0 -25
  368. package/esm2015/misc/cpf-cnpj/cpf-cnpj.directive.js +0 -32
  369. package/esm2015/misc/cpf-cnpj/cpf-cnpj.module.js +0 -19
  370. package/esm2015/misc/cpf-cnpj/cpf-cnpj.pipe.js +0 -18
  371. package/esm2015/misc/info/info.module.js +0 -17
  372. package/esm2015/misc/monetario/monetario-mask.js +0 -34
  373. package/esm2015/misc/monetario/monetario-model.directive.js +0 -124
  374. package/esm2015/misc/monetario/monetario.module.js +0 -16
  375. package/esm2015/misc/monetario/monetario.pipe.js +0 -13
  376. package/esm2015/misc/porcentagem/porcentagem-mask.js +0 -34
  377. package/esm2015/misc/porcentagem/porcentagem-model.directive.js +0 -99
  378. package/esm2015/misc/porcentagem/porcentagem.module.js +0 -16
  379. package/esm2015/misc/porcentagem/porcentagem.pipe.js +0 -13
  380. package/esm2015/misc/telefone/telefone-model.directive.js +0 -25
  381. package/esm2015/misc/telefone/telefone.module.js +0 -18
  382. package/esm2015/misc/telefone/telefone.pipe.js +0 -33
  383. package/esm2015/misc/unsafe-inner-html/unsafe-inner-html.directive.js +0 -23
  384. package/esm2015/misc/unsafe-inner-html/unsafe-inner-html.module.js +0 -15
  385. package/esm2015/scroll/scroll-container/scroll-container.component.js +0 -69
  386. package/esm2015/scroll/scroll.module.js +0 -17
  387. package/esm2015/table/column/column-cell.directive.js +0 -15
  388. package/esm2015/table/column/column-footer.directive.js +0 -15
  389. package/esm2015/table/column/column-header.directive.js +0 -15
  390. package/esm2015/table/column/column.directive.js +0 -28
  391. package/esm2015/table/infinite-table/infinite-table.component.js +0 -91
  392. package/esm2015/table/paginated-table/paginated-table.component.js +0 -43
  393. package/esm2015/table/paginator-i18n.js +0 -23
  394. package/esm2015/table/table/table.component.js +0 -119
  395. package/esm2015/table/table.module.js +0 -74
  396. package/esm2015/table/td/td.component.js +0 -19
  397. package/esm2015/table/th/th.component.js +0 -19
  398. package/esm2015/util/string.util.js +0 -12
  399. /package/{core/arquivo → arquivo/src}/arquivo-manager.service.d.ts +0 -0
  400. /package/arquivo/{arquivo.module.d.ts → src/arquivo.module.d.ts} +0 -0
  401. /package/core/{criptografia → src/criptografia}/criptografia.service.d.ts +0 -0
  402. /package/core/{mobile → src/mobile}/mobile.service.d.ts +0 -0
  403. /package/core/{form → src}/validator/valida-modulo11.service.d.ts +0 -0
  404. /package/date/{date.module.d.ts → src/date.module.d.ts} +0 -0
  405. /package/date/{validator → src/validator}/data-validator.directive.d.ts +0 -0
  406. /package/date/{validator → src/validator}/futuro.directive.d.ts +0 -0
  407. /package/{core/dialog → dialog/src}/dialog-confirmacao/dialog-confirmacao.component.d.ts +0 -0
  408. /package/{core/dialog → dialog/src}/dialog-iframe/dialog-iframe.component.d.ts +0 -0
  409. /package/{core/dialog → dialog/src}/dialog.service.d.ts +0 -0
  410. /package/form/{form.component.d.ts → src/form.component.d.ts} +0 -0
  411. /package/form/{form.module.d.ts → src/form.module.d.ts} +0 -0
  412. /package/form/{mensagens-erro → src/mensagens-erro}/mensagens-erro.component.d.ts +0 -0
  413. /package/form/{single-click.directive.d.ts → src/single-click.directive.d.ts} +0 -0
  414. /package/input/{abstract-mat-form-field-control.d.ts → src/abstract-mat-form-field-control.d.ts} +0 -0
  415. /package/input/{input-datetime → src/input-datetime}/input-datetime.component.d.ts +0 -0
  416. /package/input/{input-datetime → src/input-datetime}/input-datetime.module.d.ts +0 -0
  417. /package/input/{input-fileupload → src/input-fileupload}/input-fileupload.directive.d.ts +0 -0
  418. /package/input/{input-fileupload → src/input-fileupload}/input-fileupload.module.d.ts +0 -0
  419. /package/input/{input-telefone-internacional → src/input-telefone-internacional}/input-telefone-internacional-validator.directive.d.ts +0 -0
  420. /package/input/{input-telefone-internacional → src/input-telefone-internacional}/input-telefone-internacional.component.d.ts +0 -0
  421. /package/input/{input-telefone-internacional → src/input-telefone-internacional}/input-telefone-internacional.module.d.ts +0 -0
  422. /package/input/{option-checkbox → src/option-checkbox}/all-option-checkbox.component.d.ts +0 -0
  423. /package/input/{option-checkbox → src/option-checkbox}/node-pool.d.ts +0 -0
  424. /package/input/{option-checkbox → src/option-checkbox}/option-checkbox-group.component.d.ts +0 -0
  425. /package/input/{option-checkbox → src/option-checkbox}/option-checkbox.component.d.ts +0 -0
  426. /package/input/{option-checkbox → src/option-checkbox}/option-checkbox.module.d.ts +0 -0
  427. /package/input/{option-checkbox → src/option-checkbox}/option-checkbox.service.d.ts +0 -0
  428. /package/input/{option-checkbox → src/option-checkbox}/option-node.d.ts +0 -0
  429. /package/input/{select-chips → src/select-chips}/select-chips.component.d.ts +0 -0
  430. /package/input/{select-chips → src/select-chips}/select-chips.module.d.ts +0 -0
  431. /package/input/{select-item → src/select-item}/select-item.component.d.ts +0 -0
  432. /package/input/{select-item → src/select-item}/select-item.module.d.ts +0 -0
  433. /package/input/{select-many-checkbox → src/select-many-checkbox}/select-many-checkbox.component.d.ts +0 -0
  434. /package/input/{select-many-checkbox → src/select-many-checkbox}/select-many-checkbox.module.d.ts +0 -0
  435. /package/input/{select-radio → src/select-radio}/select-radio.component.d.ts +0 -0
  436. /package/input/{select-radio → src/select-radio}/select-radio.module.d.ts +0 -0
  437. /package/{core/loader → loader/src}/loader.service.d.ts +0 -0
  438. /package/misc/{cnpj → src/cnpj}/cnpj.module.d.ts +0 -0
  439. /package/misc/{cnpj → src/cnpj}/cnpjs.pipe.d.ts +0 -0
  440. /package/misc/{cpf → src/cpf}/cpf.module.d.ts +0 -0
  441. /package/misc/{cpf → src/cpf}/cpf.pipe.d.ts +0 -0
  442. /package/misc/{cpf-cnpj → src/cpf-cnpj}/cpf-cnpj.module.d.ts +0 -0
  443. /package/misc/{cpf-cnpj → src/cpf-cnpj}/cpf-cnpj.pipe.d.ts +0 -0
  444. /package/misc/{info → src/info}/info.component.d.ts +0 -0
  445. /package/misc/{info → src/info}/info.module.d.ts +0 -0
  446. /package/misc/{monetario → src/monetario}/monetario-mask.d.ts +0 -0
  447. /package/misc/{monetario → src/monetario}/monetario-model.directive.d.ts +0 -0
  448. /package/misc/{monetario → src/monetario}/monetario.module.d.ts +0 -0
  449. /package/misc/{monetario → src/monetario}/monetario.pipe.d.ts +0 -0
  450. /package/misc/{porcentagem → src/porcentagem}/porcentagem-mask.d.ts +0 -0
  451. /package/misc/{porcentagem → src/porcentagem}/porcentagem-model.directive.d.ts +0 -0
  452. /package/misc/{porcentagem → src/porcentagem}/porcentagem.module.d.ts +0 -0
  453. /package/misc/{porcentagem → src/porcentagem}/porcentagem.pipe.d.ts +0 -0
  454. /package/misc/{telefone → src/telefone}/telefone.module.d.ts +0 -0
  455. /package/misc/{telefone → src/telefone}/telefone.pipe.d.ts +0 -0
  456. /package/misc/{unsafe-inner-html → src/unsafe-inner-html}/unsafe-inner-html.directive.d.ts +0 -0
  457. /package/misc/{unsafe-inner-html → src/unsafe-inner-html}/unsafe-inner-html.module.d.ts +0 -0
  458. /package/{core/form/model → model/src}/masked-model.directive.d.ts +0 -0
  459. /package/{core/pipe → pipe/src}/nome-resumido.pipe.d.ts +0 -0
  460. /package/scroll/{scroll-container → src/scroll-container}/scroll-container.component.d.ts +0 -0
  461. /package/scroll/{scroll.module.d.ts → src/scroll.module.d.ts} +0 -0
  462. /package/table/{column → src/column}/column-cell.directive.d.ts +0 -0
  463. /package/table/{column → src/column}/column-footer.directive.d.ts +0 -0
  464. /package/table/{column → src/column}/column-header.directive.d.ts +0 -0
  465. /package/table/{column → src/column}/column.directive.d.ts +0 -0
  466. /package/table/{paginator → src/paginator}/paginator.component.d.ts +0 -0
  467. /package/table/{paginator-i18n.d.ts → src/paginator-i18n.d.ts} +0 -0
  468. /package/table/{table.module.d.ts → src/table.module.d.ts} +0 -0
  469. /package/table/{td → src/td}/td.component.d.ts +0 -0
  470. /package/table/{th → src/th}/th.component.d.ts +0 -0
  471. /package/util/{string.util.d.ts → src/string.util.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { AbstractControl, Validator } from '@angular/forms';
2
- import { ValidaModulo11Service } from '../../core/form/validator/valida-modulo11.service';
2
+ import { ValidaModulo11Service } from "@main-class/componentes/core";
3
3
  export declare class CpfCnpjDirective implements Validator {
4
4
  private modulo11Service;
5
5
  constructor(modulo11Service: ValidaModulo11Service);
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { MaskedModelDirective } from '../../core/form/model/masked-model.directive';
2
+ import { MaskedModelDirective } from '@main-class/componentes/model';
3
3
  export declare class TelefoneModelDirective extends MaskedModelDirective implements OnInit {
4
4
  ngOnInit(): void;
5
5
  protected applyMask(value: any): string;
@@ -0,0 +1,2 @@
1
+ export * from "./src/model.module";
2
+ export * from "./src/masked-model.directive";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"ModelModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"MaskedModelDirective"}],"exports":[{"__symbolic":"reference","name":"MaskedModelDirective"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4}]}]}],"members":{}},"doApplyMask":{"__symbolic":"function"},"doRemoveMask":{"__symbolic":"function"},"MaskedModelDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":48,"character":1},"arguments":[{"selector":"[mclModel][ngModel][mask]"}]}],"members":{"keepMask":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":3}}]}],"mclModelChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":61,"character":3}}]}],"delay":[{"__symbolic":"method"}],"processValue":[{"__symbolic":"method"}],"mask":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"maskValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3},"arguments":["mclModel"]}]}],"onInput":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":94,"character":3},"arguments":["input",["$event"]]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":101,"character":33}]}],"updateValue":[{"__symbolic":"method"}],"defineValue":[{"__symbolic":"method"}],"onValueChange":[{"__symbolic":"method"}],"removeMask":[{"__symbolic":"method"}],"applyMask":[{"__symbolic":"method"}]}}},"origins":{"ModelModule":"./src/model.module","doApplyMask":"./src/masked-model.directive","doRemoveMask":"./src/masked-model.directive","MaskedModelDirective":"./src/masked-model.directive"},"importAs":"@main-class/componentes/model"}
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/main-class-componentes-model.umd.js",
3
+ "module": "../fesm2015/main-class-componentes-model.js",
4
+ "es2015": "../fesm2015/main-class-componentes-model.js",
5
+ "esm2015": "../esm2015/model/main-class-componentes-model.js",
6
+ "fesm2015": "../fesm2015/main-class-componentes-model.js",
7
+ "typings": "main-class-componentes-model.d.ts",
8
+ "metadata": "main-class-componentes-model.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@main-class/componentes/model"
11
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ModelModule {
2
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@main-class/componentes",
3
- "version": "1.18.8",
3
+ "version": "1.19.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "~11.2.7",
6
6
  "@angular/core": "~11.2.7"
@@ -0,0 +1,2 @@
1
+ export * from "./src/pipe.module";
2
+ export * from "./src/nome-resumido.pipe";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"PipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NomeResumidoPipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":10,"character":4}]}]}],"members":{}},"NomeResumidoPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"nomeResumido"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"PipeModule":"./src/pipe.module","NomeResumidoPipe":"./src/nome-resumido.pipe"},"importAs":"@main-class/componentes/pipe"}
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/main-class-componentes-pipe.umd.js",
3
+ "module": "../fesm2015/main-class-componentes-pipe.js",
4
+ "es2015": "../fesm2015/main-class-componentes-pipe.js",
5
+ "esm2015": "../esm2015/pipe/main-class-componentes-pipe.js",
6
+ "fesm2015": "../fesm2015/main-class-componentes-pipe.js",
7
+ "typings": "main-class-componentes-pipe.d.ts",
8
+ "metadata": "main-class-componentes-pipe.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@main-class/componentes/pipe"
11
+ }
@@ -0,0 +1,2 @@
1
+ export declare class PipeModule {
2
+ }
package/public-api.d.ts CHANGED
@@ -1,10 +1,2 @@
1
- export * from './arquivo';
2
- export * from './core';
3
- export * from './crud';
4
- export * from './date';
5
- export * from './input';
6
- export * from './misc';
7
- export * from './scroll';
8
- export * from './table';
9
- export * from './util';
10
- export * from './form';
1
+ declare const _default: {};
2
+ export default _default;
package/scroll/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './scroll.module';
2
- export * from './scroll-container/scroll-container.component';
1
+ export * from './src/scroll.module';
2
+ export * from './src/scroll-container/scroll-container.component';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"ScrollModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ScrollContainerComponent"}],"exports":[{"__symbolic":"reference","name":"ScrollContainerComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":8}]}]}],"members":{}},"ScrollContainerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"selector":"mcl-scroll-container","template":"<ng-content></ng-content>\n","styles":[":host{overflow-y:auto}"]}]}],"members":{"more":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"scrollDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"scrollOffset":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"scrolled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":3}}]}],"$scroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":27,"character":3},"arguments":["scroll"]}]}],"$windowScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":28,"character":3},"arguments":["window:scroll"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":30,"character":29}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"setThrottle":[{"__symbolic":"method"}],"canScroll":[{"__symbolic":"method"}]}}},"origins":{"ScrollModule":"./src/scroll.module","ScrollContainerComponent":"./src/scroll-container/scroll-container.component"},"importAs":"@main-class/componentes/scroll"}
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/main-class-componentes-scroll.umd.js",
3
+ "module": "../fesm2015/main-class-componentes-scroll.js",
4
+ "es2015": "../fesm2015/main-class-componentes-scroll.js",
5
+ "esm2015": "../esm2015/scroll/main-class-componentes-scroll.js",
6
+ "fesm2015": "../fesm2015/main-class-componentes-scroll.js",
7
+ "typings": "main-class-componentes-scroll.d.ts",
8
+ "metadata": "main-class-componentes-scroll.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@main-class/componentes/scroll"
11
+ }
package/table/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from './table.module';
2
- export * from './column/column-cell.directive';
3
- export * from './column/column-footer.directive';
4
- export * from './column/column-header.directive';
5
- export * from './column/column.directive';
6
- export * from './infinite-table/infinite-table.component';
7
- export * from './paginated-table/paginated-table.component';
8
- export * from './table/table.component';
9
- export * from './td/td.component';
10
- export * from './th/th.component';
11
- export * from './paginator/paginator.component';
1
+ export * from './src/table.module';
2
+ export * from './src/column/column-cell.directive';
3
+ export * from './src/column/column-footer.directive';
4
+ export * from './src/column/column-header.directive';
5
+ export * from './src/column/column.directive';
6
+ export * from './src/infinite-table/infinite-table.component';
7
+ export * from './src/paginated-table/paginated-table.component';
8
+ export * from './src/table/table.component';
9
+ export * from './src/td/td.component';
10
+ export * from './src/th/th.component';
11
+ export * from './src/paginator/paginator.component';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ export { PaginatorI18n as ɵa } from './src/paginator-i18n';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"TableModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":24,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","name":"TableComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnHeaderDirective"},{"__symbolic":"reference","name":"ColumnCellDirective"},{"__symbolic":"reference","name":"ColumnFooterDirective"},{"__symbolic":"reference","name":"ThComponent"},{"__symbolic":"reference","name":"TdComponent"},{"__symbolic":"reference","name":"PaginatedTableComponent"},{"__symbolic":"reference","name":"InfiniteTableComponent"},{"__symbolic":"reference","name":"PaginatorComponent"}],"declarations":[{"__symbolic":"reference","name":"TableComponent"},{"__symbolic":"reference","name":"ColumnDirective"},{"__symbolic":"reference","name":"ColumnHeaderDirective"},{"__symbolic":"reference","name":"ColumnCellDirective"},{"__symbolic":"reference","name":"ColumnFooterDirective"},{"__symbolic":"reference","name":"ThComponent"},{"__symbolic":"reference","name":"TdComponent"},{"__symbolic":"reference","name":"PaginatedTableComponent"},{"__symbolic":"reference","name":"InfiniteTableComponent"},{"__symbolic":"reference","name":"PaginatorComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":50,"character":4},{"__symbolic":"reference","module":"@angular/material/table","name":"MatTableModule","line":51,"character":4},{"__symbolic":"reference","module":"@angular/material/paginator","name":"MatPaginatorModule","line":52,"character":4},{"__symbolic":"reference","module":"@angular/material/button","name":"MatButtonModule","line":53,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":54,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":55,"character":4},{"__symbolic":"reference","module":"@angular/material/form-field","name":"MatFormFieldModule","line":56,"character":4},{"__symbolic":"reference","module":"@angular/material/select","name":"MatSelectModule","line":57,"character":4},{"__symbolic":"reference","module":"@angular/material/tooltip","name":"MatTooltipModule","line":58,"character":4},{"__symbolic":"reference","module":"@main-class/componentes/loader","name":"LoaderModule","line":59,"character":4}],"providers":[{"provide":{"__symbolic":"reference","module":"@angular/material/paginator","name":"MatPaginatorIntl","line":63,"character":15},"deps":[{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService","line":63,"character":40}],"useFactory":{"__symbolic":"reference","name":"PaginatorIntlFactory"}}]}]}],"members":{}},"PaginatorIntlFactory":{"__symbolic":"function","parameters":["translateService"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"__symbolic":"reference","name":"translateService"}]},"member":"getPaginatorIntl"}}},"ColumnCellDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[mclColumnCell]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ColumnFooterDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[mclColumnFooter]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ColumnHeaderDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[mclColumnHeader]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ColumnDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"mcl-column,[mclColumn]"}]}],"members":{"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"viewType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":15,"character":3},"arguments":[{"__symbolic":"reference","name":"ColumnHeaderDirective"}]}]}],"cell":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":16,"character":3},"arguments":[{"__symbolic":"reference","name":"ColumnCellDirective"}]}]}],"footer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":17,"character":3},"arguments":[{"__symbolic":"reference","name":"ColumnFooterDirective"}]}]}],"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"lastId":0}},"InfiniteTableComponent":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"TableComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":40,"character":1},"arguments":[{"selector":"mcl-infinite-table","template":"<table mat-table [dataSource]=\"itemsSubject\">\n\n <tr mat-header-row *matHeaderRowDef=\"activeColumnNames; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: activeColumnNames;\"></tr>\n <ng-container *ngIf=\"hasFooter\">\n <tr mat-footer-row *matFooterRowDef=\"activeColumnNames;\"></tr>\n </ng-container>\n\n</table>\n\n<ng-container *ngIf=\"!hasNext && !loading && !items?.length\">\n <div *ngIf=\"!emptyStatePlaceholder\" class=\"empty-state\">\n {{emptyStateMessage | translate}}\n </div>\n <ng-container *ngIf=\"emptyStatePlaceholder\">\n <ng-content select=\"[mclEmptyState]\"></ng-content>\n </ng-container>\n</ng-container>\n\n<div #div class=\"loading\" [ngClass]=\"{'hidden':!loading}\">\n <mcl-loader #loader [showOnInit]=\"true\" [component]=\"div\"></mcl-loader>\n</div>\n","styles":[":host{justify-content:flex-start;display:flex;flex-direction:column}mcl-loader{flex-grow:0;flex-shrink:0;flex-basis:auto}.loading{height:100px;display:block}.loading.hidden{height:0;display:none}","table{width:100%}table::ng-deep th:not(:last-child),table td:not(:last-child){padding-right:5px}table::ng-deep th.text-center,table td.text-center{text-align:center}table::ng-deep th.text-right,table td.text-right{text-align:right}table::ng-deep th.text-left,table td.text-left{text-align:left}.empty-state{padding:10px;text-align:center}table::ng-deep tbody tr{transition:.5s}table::ng-deep tbody tr:hover{background-color:rgba(0,0,0,.03)}table::ng-deep tbody td[routerLink]{cursor:pointer}"]}]}],"members":{"next":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":46,"character":3}}]}],"hasNext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"scrollHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"loader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":51,"character":3},"arguments":[{"__symbolic":"reference","module":"@main-class/componentes/loader","name":"LoaderComponent","line":51,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":56,"character":5}}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":56,"character":29},{"__symbolic":"reference","module":"@main-class/componentes/core","name":"MobileService","line":57,"character":19}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"loadMore":[{"__symbolic":"method"}]}},"PAGINATION_CONFIGURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":44},"arguments":["PAGINATION_CONFIGURATION"]},"Page":{"__symbolic":"interface"},"PaginationEvent":{"__symbolic":"interface"},"PaginationConfiguration":{"__symbolic":"interface"},"PaginatedTableComponent":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"TableComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"selector":"mcl-table[page]","template":"<div #div>\n <table mat-table #matTable [dataSource]=\"itemsSubject\">\n\n <tr mat-header-row *matHeaderRowDef=\"activeColumnNames; sticky: page && !page.totalItens\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: activeColumnNames;\"></tr>\n <ng-container *ngIf=\"hasFooter\">\n <tr mat-footer-row *matFooterRowDef=\"activeColumnNames;\"></tr>\n </ng-container>\n\n </table>\n\n <mcl-loader [showOnInit]=\"true\" [component]=\"div\"></mcl-loader>\n</div>\n\n<div *ngIf=\"!items?.length && !emptyStatePlaceholder\" class=\"empty-state\">\n {{emptyStateMessage | translate}}\n</div>\n<ng-container *ngIf=\"!items?.length && emptyStatePlaceholder\">\n <ng-content select=\"[mclEmptyState]\"></ng-content>\n</ng-container>\n\n<mcl-paginator [pageSize]=\"page?.tamanhoPagina\"\n (page)=\"paginaEvent($event)\"\n [pageIndex]=\"(page?.paginaAtual || 1) - 1\"\n [length]=\"page?.totalItens\"\n [pageSizeOptions]=\"sizes\"\n [showFirstLastButtons]=\"true\"\n *ngIf=\"page?.totalItens\">\n</mcl-paginator>\n","styles":["","table{width:100%}table::ng-deep th:not(:last-child),table td:not(:last-child){padding-right:5px}table::ng-deep th.text-center,table td.text-center{text-align:center}table::ng-deep th.text-right,table td.text-right{text-align:right}table::ng-deep th.text-left,table td.text-left{text-align:left}.empty-state{padding:10px;text-align:center}table::ng-deep tbody tr{transition:.5s}table::ng-deep tbody tr:hover{background-color:rgba(0,0,0,.03)}table::ng-deep tbody td[routerLink]{cursor:pointer}"]}]}],"members":{"sizes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"paginate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":36,"character":3}}]}],"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"loader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":40,"character":3},"arguments":[{"__symbolic":"reference","module":"@main-class/componentes/loader","name":"LoaderComponent","line":40,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":44,"character":5},"arguments":[{"__symbolic":"reference","name":"PAGINATION_CONFIGURATION"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":44,"character":39}}]],"parameters":[{"__symbolic":"reference","module":"@main-class/componentes/core","name":"MobileService","line":43,"character":19},{"__symbolic":"reference","name":"any"}]}],"getCurrentLength":[{"__symbolic":"method"}],"getItems":[{"__symbolic":"method"}],"paginaEvent":[{"__symbolic":"method"}]}},"TableComponent":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":17,"character":1},"arguments":[{"selector":"mcl-table:not([page])","template":"<table mat-table [dataSource]=\"itemsSubject\">\n\n <tr mat-header-row *matHeaderRowDef=\"activeColumnNames; sticky: sticky\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: activeColumnNames;\"></tr>\n <ng-container *ngIf=\"hasFooter\">\n <tr mat-footer-row *matFooterRowDef=\"activeColumnNames;\"></tr>\n </ng-container>\n\n</table>\n\n<div *ngIf=\"!items?.length && !emptyStatePlaceholder\" class=\"empty-state\">\n {{emptyStateMessage | translate}}\n</div>\n<ng-container *ngIf=\"!items?.length && emptyStatePlaceholder\">\n <ng-content select=\"[mclEmptyState]\"></ng-content>\n</ng-container>\n","styles":["table{width:100%}table::ng-deep th:not(:last-child),table td:not(:last-child){padding-right:5px}table::ng-deep th.text-center,table td.text-center{text-align:center}table::ng-deep th.text-right,table td.text-right{text-align:right}table::ng-deep th.text-left,table td.text-left{text-align:left}.empty-state{padding:10px;text-align:center}table::ng-deep tbody tr{transition:.5s}table::ng-deep tbody tr:hover{background-color:rgba(0,0,0,.03)}table::ng-deep tbody td[routerLink]{cursor:pointer}"]}]}],"members":{"emptyStateMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"table":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/material/table","name":"MatTable","line":28,"character":13}]}]}],"emptyStatePlaceholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":30,"character":3},"arguments":["[mclEmptyState]",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":30,"character":42}}]}]}],"columnsDef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":32,"character":3},"arguments":[{"__symbolic":"reference","name":"ColumnDirective"}]}]}],"outerItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3},"arguments":["items"]}]}],"sticky":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@main-class/componentes/core","name":"MobileService","line":48,"character":27}]}],"mergeColumnsDef":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"getItems":[{"__symbolic":"method"}],"getCurrentLength":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"removeColumnDef":[{"__symbolic":"method"}],"addColumnDef":[{"__symbolic":"method"}],"mapColumnDef":[{"__symbolic":"method"}],"currentColumnsContains":[{"__symbolic":"method"}]}},"TdComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"td,mcl-td","template":"<ng-content></ng-content>\n","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":10,"character":5}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":10,"character":21}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ThComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"th,mcl-th","template":"<ng-content></ng-content>\n","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":10,"character":5}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":10,"character":21}]}],"ngOnInit":[{"__symbolic":"method"}]}},"PaginatorComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/material/paginator","name":"MatPaginator","line":8,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"mcl-paginator","template":"<div class=\"mat-paginator-outer-container\">\n <div class=\"mat-paginator-container\">\n <div class=\"mat-paginator-page-size\" *ngIf=\"!hidePageSize\">\n <div class=\"mat-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n <mat-form-field\n *ngIf=\"_displayedPageSizeOptions.length > 1\"\n appearance=\"standard\"\n [color]=\"color\"\n class=\"mat-paginator-page-size-select\">\n <mat-select\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [aria-label]=\"_intl.itemsPerPageLabel\"\n (selectionChange)=\"_changePageSize($event.value)\">\n <mat-option *ngFor=\"let pageSizeOption of _displayedPageSizeOptions\" [value]=\"pageSizeOption\">\n {{'mcl.table.option' | translate:{option:pageSizeOption} }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <div\n class=\"mat-paginator-page-size-value\"\n *ngIf=\"_displayedPageSizeOptions.length <= 1\">{{pageSize}}</div>\n </div>\n\n <div class=\"mat-paginator-range-actions\">\n\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n\n <div class=\"mat-paginator-range-label\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n </div>\n </div>\n</div>\n","styles":[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0;width:81px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}"]}]}],"members":{}},"ɵa":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService","line":5,"character":42}]}],"getPaginatorIntl":[{"__symbolic":"method"}],"getRangeLabel":[{"__symbolic":"method"}]}}},"origins":{"TableModule":"./src/table.module","PaginatorIntlFactory":"./src/table.module","ColumnCellDirective":"./src/column/column-cell.directive","ColumnFooterDirective":"./src/column/column-footer.directive","ColumnHeaderDirective":"./src/column/column-header.directive","ColumnDirective":"./src/column/column.directive","InfiniteTableComponent":"./src/infinite-table/infinite-table.component","PAGINATION_CONFIGURATION":"./src/paginated-table/paginated-table.component","Page":"./src/paginated-table/paginated-table.component","PaginationEvent":"./src/paginated-table/paginated-table.component","PaginationConfiguration":"./src/paginated-table/paginated-table.component","PaginatedTableComponent":"./src/paginated-table/paginated-table.component","TableComponent":"./src/table/table.component","TdComponent":"./src/td/td.component","ThComponent":"./src/th/th.component","PaginatorComponent":"./src/paginator/paginator.component","ɵa":"./src/paginator-i18n"},"importAs":"@main-class/componentes/table"}
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/main-class-componentes-table.umd.js",
3
+ "module": "../fesm2015/main-class-componentes-table.js",
4
+ "es2015": "../fesm2015/main-class-componentes-table.js",
5
+ "esm2015": "../esm2015/table/main-class-componentes-table.js",
6
+ "fesm2015": "../fesm2015/main-class-componentes-table.js",
7
+ "typings": "main-class-componentes-table.d.ts",
8
+ "metadata": "main-class-componentes-table.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@main-class/componentes/table"
11
+ }
@@ -1,6 +1,7 @@
1
1
  import { ElementRef, EventEmitter } from '@angular/core';
2
2
  import { TableComponent } from '../table/table.component';
3
- import { LoaderComponent, MobileService } from '../../core';
3
+ import { MobileService } from '@main-class/componentes/core';
4
+ import { LoaderComponent } from '@main-class/componentes/loader';
4
5
  export declare class InfiniteTableComponent<T> extends TableComponent<T> {
5
6
  private element;
6
7
  next: EventEmitter<LoaderComponent>;
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter, InjectionToken } from '@angular/core';
2
2
  import { TableComponent } from '../table/table.component';
3
3
  import { PageEvent } from '@angular/material/paginator';
4
- import { LoaderComponent } from '../../core/loader/loader.component';
5
- import { MobileService } from '../../core';
4
+ import { LoaderComponent } from '@main-class/componentes/loader';
5
+ import { MobileService } from '@main-class/componentes/core';
6
6
  export declare const PAGINATION_CONFIGURATION: InjectionToken<unknown>;
7
7
  export interface Page<T> {
8
8
  itens: Array<T>;
@@ -2,7 +2,7 @@ import { AfterViewInit, DoCheck, ElementRef, OnDestroy, QueryList } from '@angul
2
2
  import { ColumnDirective } from '../column/column.directive';
3
3
  import { MatTable } from '@angular/material/table';
4
4
  import { BehaviorSubject } from 'rxjs';
5
- import { MobileService } from '../../core';
5
+ import { MobileService } from '@main-class/componentes/core';
6
6
  export declare class TableComponent<T> implements AfterViewInit, DoCheck, OnDestroy {
7
7
  private mobileService;
8
8
  itemsSubject: BehaviorSubject<any[]>;
package/util/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './string.util';
1
+ export * from './src/string.util';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"StringUtil":{"__symbolic":"class","members":{},"statics":{"like":{"__symbolic":"function","parameters":["value","query"],"value":{"__symbolic":"binop","operator":">=","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"StringUtil"},"member":"normalize"},"arguments":[{"__symbolic":"reference","name":"value"}]},"member":"indexOf"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"StringUtil"},"member":"normalize"},"arguments":[{"__symbolic":"reference","name":"query"}]}]},"right":0}}}}},"origins":{"StringUtil":"./src/string.util"},"importAs":"@main-class/componentes/util"}
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/main-class-componentes-util.umd.js",
3
+ "module": "../fesm2015/main-class-componentes-util.js",
4
+ "es2015": "../fesm2015/main-class-componentes-util.js",
5
+ "esm2015": "../esm2015/util/main-class-componentes-util.js",
6
+ "fesm2015": "../fesm2015/main-class-componentes-util.js",
7
+ "typings": "main-class-componentes-util.d.ts",
8
+ "metadata": "main-class-componentes-util.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@main-class/componentes/util"
11
+ }
@@ -1,4 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- export declare class ComponentesModule {
3
- static forRoot(): ModuleWithProviders<ComponentesModule>;
4
- }
@@ -1,2 +0,0 @@
1
- export declare class CrudModule {
2
- }
@@ -1,29 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { PreviewArquivoComponent } from './preview-arquivo/preview-arquivo.component';
4
- import { DownloadArquivoDirective } from './download-arquivo.directive';
5
- import { MatIconModule } from '@angular/material/icon';
6
- import { PdfViewerModule } from 'ng2-pdf-viewer';
7
- import { DialogPreviewArquivoComponent } from './preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component';
8
- import { MatDialogModule } from '@angular/material/dialog';
9
- import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
10
- import { MatButtonModule } from '@angular/material/button';
11
- import { ImageViewerModule } from '@jmcrommen/ngx-image-viewer';
12
- export class ArquivoModule {
13
- }
14
- ArquivoModule.decorators = [
15
- { type: NgModule, args: [{
16
- declarations: [PreviewArquivoComponent, DownloadArquivoDirective, DialogPreviewArquivoComponent],
17
- exports: [PreviewArquivoComponent, DownloadArquivoDirective],
18
- imports: [
19
- CommonModule,
20
- MatIconModule,
21
- PdfViewerModule,
22
- MatDialogModule,
23
- MatProgressSpinnerModule,
24
- MatButtonModule,
25
- ImageViewerModule
26
- ]
27
- },] }
28
- ];
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJxdWl2by5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYWluLWNsYXNzL2NvbXBvbmVudGVzL3NyYy9hcnF1aXZvL2FycXVpdm8ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyx1QkFBdUIsRUFBQyxNQUFNLDZDQUE2QyxDQUFDO0FBQ3BGLE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3RFLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUNyRCxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDL0MsT0FBTyxFQUFDLDZCQUE2QixFQUFDLE1BQU0sMkVBQTJFLENBQUM7QUFDeEgsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQ3pELE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLG9DQUFvQyxDQUFDO0FBQzVFLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSwwQkFBME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ydCB7TWF0RGlhbG9nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9kaWFsb2cnO1xuaW1wb3J0IHtNYXRQcm9ncmVzc1NwaW5uZXJNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL21hdGVyaWFsL3Byb2dyZXNzLXNwaW5uZXInO1xuaW1wb3J0IHtNYXRCdXR0b25Nb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL21hdGVyaWFsL2J1dHRvbic7XG5pbXBvcnQge0ltYWdlVmlld2VyTW9kdWxlfSBmcm9tICdAam1jcm9tbWVuL25neC1pbWFnZS12aWV3ZXInO1xuXG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1ByZXZpZXdBcnF1aXZvQ29tcG9uZW50LCBEb3dubG9hZEFycXVpdm9EaXJlY3RpdmUsIERpYWxvZ1ByZXZpZXdBcnF1aXZvQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW1ByZXZpZXdBcnF1aXZvQ29tcG9uZW50LCBEb3dubG9hZEFycXVpdm9EaXJlY3RpdmVdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBNYXRJY29uTW9kdWxlLFxuICAgICAgICBQZGZWaWV3ZXJNb2R1bGUsXG4gICAgICAgIE1hdERpYWxvZ01vZHVsZSxcbiAgICAgICAgTWF0UHJvZ3Jlc3NTcGlubmVyTW9kdWxlLFxuICAgICAgICBNYXRCdXR0b25Nb2R1bGUsXG4gICAgICAgIEltYWdlVmlld2VyTW9kdWxlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBBcnF1aXZvTW9kdWxlIHtcbn1cbiJdfQ==
@@ -1,44 +0,0 @@
1
- import { __awaiter } from "tslib";
2
- import { Directive, HostListener, Inject, Input } from '@angular/core';
3
- import { ARQUIVO_MANAGER_SERVICE } from '../core';
4
- export class DownloadArquivoDirective {
5
- constructor(arquivoService) {
6
- this.arquivoService = arquivoService;
7
- this.target = '_blank';
8
- }
9
- getUrlArquivo() {
10
- return __awaiter(this, void 0, void 0, function* () {
11
- if (typeof this.attachment === 'string') {
12
- return this.attachment;
13
- }
14
- return yield this.arquivoService.downloadURL(this.attachment).toPromise();
15
- });
16
- }
17
- download() {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- if (!this.attachment) {
20
- return;
21
- }
22
- const link = document.createElement('a');
23
- link.href = yield this.getUrlArquivo();
24
- link.target = this.target;
25
- document.body.appendChild(link);
26
- link.click();
27
- document.body.removeChild(link);
28
- });
29
- }
30
- }
31
- DownloadArquivoDirective.decorators = [
32
- { type: Directive, args: [{
33
- selector: '[mclDownloadArquivo]'
34
- },] }
35
- ];
36
- DownloadArquivoDirective.ctorParameters = () => [
37
- { type: undefined, decorators: [{ type: Inject, args: [ARQUIVO_MANAGER_SERVICE,] }] }
38
- ];
39
- DownloadArquivoDirective.propDecorators = {
40
- attachment: [{ type: Input, args: ['mclDownloadArquivo',] }],
41
- target: [{ type: Input }],
42
- download: [{ type: HostListener, args: ['click',] }]
43
- };
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG93bmxvYWQtYXJxdWl2by5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYWluLWNsYXNzL2NvbXBvbmVudGVzL3NyYy9hcnF1aXZvL2Rvd25sb2FkLWFycXVpdm8uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBQyx1QkFBdUIsRUFBd0IsTUFBTSxTQUFTLENBQUM7QUFLdkUsTUFBTSxPQUFPLHdCQUF3QjtJQU1uQyxZQUMyQyxjQUFxQztR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0IGxpbmsgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdhJyk7XHJcblxyXG4gICAgbGluay5ocmVmID0gYXdhaXQgdGhpcy5nZXRVcmxBcnF1aXZvKCk7XHJcbiAgICBsaW5rLnRhcmdldCA9IHRoaXMudGFyZ2V0O1xyXG5cclxuICAgIGRvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQobGluayk7XHJcbiAgICBsaW5rLmNsaWNrKCk7XHJcbiAgICBkb2N1bWVudC5ib2R5LnJlbW92ZUNoaWxkKGxpbmspO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
@@ -1,56 +0,0 @@
1
- import { Component, Inject } from '@angular/core';
2
- import { MAT_DIALOG_DATA } from '@angular/material/dialog';
3
- import { ARQUIVO_MANAGER_SERVICE } from '../../../core';
4
- export class DialogPreviewArquivoComponent {
5
- constructor(dadosPreview, arquivoService) {
6
- this.dadosPreview = dadosPreview;
7
- this.arquivoService = arquivoService;
8
- this.loadingFile = true;
9
- }
10
- ngOnInit() {
11
- if (this.type === 'image') {
12
- this.previewCarregado();
13
- }
14
- }
15
- get src() {
16
- return this.dadosPreview.src;
17
- }
18
- get type() {
19
- return this.dadosPreview.type;
20
- }
21
- get group() {
22
- return this.dadosPreview.group;
23
- }
24
- handleEvent(evento) {
25
- if (evento.name === 'download') {
26
- this.download();
27
- }
28
- }
29
- previewCarregado(e) {
30
- this.loadingFile = false;
31
- }
32
- download() {
33
- if (typeof this.src === 'string') {
34
- const link = document.createElement('a');
35
- link.href = this.src;
36
- link.target = '_blank';
37
- document.body.appendChild(link);
38
- link.click();
39
- document.body.removeChild(link);
40
- }
41
- else {
42
- }
43
- }
44
- }
45
- DialogPreviewArquivoComponent.decorators = [
46
- { type: Component, args: [{
47
- selector: 'mcl-dialog-preview-arquivo',
48
- template: "<mat-dialog-content>\r\n <div class=\"spinner-wrapper\" *ngIf=\"loadingFile\">\r\n <mat-spinner style=\"margin: 0 auto\" [diameter]=\"50\" color=\"warn\"></mat-spinner>\r\n </div>\r\n\r\n <pdf-viewer (page-rendered)=\"previewCarregado($event)\" *ngIf=\"type === 'pdf'\"\r\n [src]=\"src\" [original-size]=\"false\"></pdf-viewer>\r\n\r\n <ngx-image-viewer [src]=\"group\" [index]=\"group.indexOf(src)\" *ngIf=\"type === 'image' && group\"\r\n [config]=\"{customBtns:[{name: 'download', icon: 'fa fa-download'}]}\"\r\n (customEvent)=\"handleEvent($event)\"></ngx-image-viewer>\r\n\r\n <ngx-image-viewer [src]=\"[src]\" [index]=\"0\" *ngIf=\"type === 'image' && !group\"\r\n [config]=\"{customBtns:[{name: 'download', icon: 'fa fa-download'}]}\"\r\n (customEvent)=\"handleEvent($event)\"></ngx-image-viewer>\r\n</mat-dialog-content>\r\n\r\n<div mat-dialog-actions>\r\n <button mat-button mat-dialog-close>\r\n <mat-icon>close</mat-icon>\r\n Fechar\r\n </button>\r\n\r\n <div class=\"spacer\"></div>\r\n\r\n <button mat-stroked-button (click)=\"download()\" *ngIf=\"!loadingFile\">\r\n <mat-icon>cloud_download</mat-icon>\r\n Realizar o Download\r\n </button>\r\n</div>\r\n",
49
- styles: ["pdf-viewer{width:100%;display:block}.spinner-wrapper{margin:30px auto;width:800px;height:400px}.dialog-title-text{margin-right:10px;line-height:38px}[mat-dialog-title]{display:flex;padding:8px 24px 7px}[mat-dialog-title] .spacer{flex:1 1 auto}[mat-dialog-actions]{text-align:right}[mat-dialog-actions] button{margin-left:auto}[mat-dialog-actions] button mat-icon{vertical-align:middle;margin-right:10px}"]
50
- },] }
51
- ];
52
- DialogPreviewArquivoComponent.ctorParameters = () => [
53
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
54
- { type: undefined, decorators: [{ type: Inject, args: [ARQUIVO_MANAGER_SERVICE,] }] }
55
- ];
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLXByZXZpZXctYXJxdWl2by5jb21wb25lbnQuanMiLCJz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