@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.
- package/README.md +49 -10
- package/arquivo/index.d.ts +0 -1
- package/arquivo/src/download-arquivo.directive.d.ts +1 -1
- package/arquivo/src/imagem.directive.d.ts +2 -2
- package/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts +1 -1
- package/arquivo/src/preview-arquivo/preview-arquivo.component.d.ts +6 -6
- package/core/index.d.ts +0 -1
- package/crud/index.d.ts +4 -1
- package/crud/src/abstract-consulta-paginada-component.d.ts +3 -3
- package/crud/src/abstract-edicao-component.d.ts +1 -1
- package/crud/src/query/query-field/query-field.component.d.ts +37 -0
- package/crud/src/query/query-form-field/query-form-field.component.d.ts +11 -0
- package/crud/src/query/query-form.component.d.ts +23 -0
- package/crud/src/query/query-modal-form/query-modal-form.component.d.ts +13 -0
- package/dialog/index.d.ts +7 -1
- package/dialog/src/dialog-confirmacao/dialog-confirmacao.component.d.ts +2 -2
- package/dialog/src/dialog-iframe/dialog-iframe.component.d.ts +1 -1
- package/dialog/src/dialog-sidebar/modal-template/modal-body.directive.d.ts +9 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-close.directive.d.ts +9 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-footer.directive.d.ts +6 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-header.directive.d.ts +6 -0
- package/dialog/src/dialog-sidebar/modal-template/modal-template.component.d.ts +12 -0
- package/dialog/src/dialog-sidebar/modal.component.d.ts +8 -0
- package/dialog/src/dialog-sidebar/sidebar-modal-ref.d.ts +17 -0
- package/dialog/src/dialog.service.d.ts +6 -1
- package/fesm2022/main-class-componentes-arquivo.mjs +370 -0
- package/fesm2022/main-class-componentes-arquivo.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/main-class-componentes-core.mjs +36 -56
- package/fesm2022/main-class-componentes-core.mjs.map +1 -0
- package/fesm2022/main-class-componentes-crud.mjs +443 -0
- package/fesm2022/main-class-componentes-crud.mjs.map +1 -0
- package/fesm2022/main-class-componentes-dialog.mjs +393 -0
- package/fesm2022/main-class-componentes-dialog.mjs.map +1 -0
- package/fesm2022/main-class-componentes-form.mjs +196 -0
- package/fesm2022/main-class-componentes-form.mjs.map +1 -0
- package/fesm2022/main-class-componentes-input.mjs +2040 -0
- package/fesm2022/main-class-componentes-input.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/main-class-componentes-loader.mjs +38 -59
- package/fesm2022/main-class-componentes-loader.mjs.map +1 -0
- package/fesm2022/main-class-componentes-misc.mjs +353 -0
- package/fesm2022/main-class-componentes-misc.mjs.map +1 -0
- package/fesm2022/main-class-componentes-pipe.mjs +27 -0
- package/fesm2022/main-class-componentes-pipe.mjs.map +1 -0
- package/fesm2022/main-class-componentes-table.mjs +384 -0
- package/fesm2022/main-class-componentes-table.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/main-class-componentes.mjs +4 -1
- package/fesm2022/main-class-componentes.mjs.map +1 -0
- package/form/index.d.ts +0 -1
- package/form/src/form.component.d.ts +2 -2
- package/form/src/mensagens-erro/mensagens-erro.component.d.ts +6 -3
- package/form/src/single-click.directive.d.ts +2 -2
- package/input/index.d.ts +13 -11
- package/input/src/abstract-mat-form-field-control.d.ts +5 -5
- package/input/src/abstract-mat-form-field-select-control.d.ts +30 -0
- package/input/src/input-currency/input-currency.component.d.ts +11 -0
- package/input/src/input-datetime/input-datetime.component.d.ts +11 -12
- package/input/src/input-fileupload/input-fileupload.component.d.ts +5 -5
- package/input/src/input-fileupload/input-fileupload.directive.d.ts +1 -1
- package/input/src/input-mask/input-cep.component.d.ts +11 -0
- package/input/src/input-mask/input-cnpj.component.d.ts +11 -0
- package/input/src/input-mask/input-cpf-cnpj.component.d.ts +8 -0
- package/input/src/input-mask/input-cpf.component.d.ts +11 -0
- package/input/src/input-mask/input-mask.component.d.ts +20 -0
- package/input/src/input-mask/input-phone.component.d.ts +12 -0
- package/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.d.ts +1 -1
- package/input/src/input-telefone-internacional/input-telefone-internacional.component.d.ts +1 -1
- package/input/src/option-checkbox/all-option-checkbox.component.d.ts +3 -3
- package/input/src/option-checkbox/node-pool.d.ts +1 -1
- package/input/src/option-checkbox/option-checkbox-group.component.d.ts +2 -2
- package/input/src/option-checkbox/option-checkbox.component.d.ts +3 -3
- package/input/src/option-checkbox/option-node.d.ts +1 -1
- package/input/src/select-autocomplete/select-autocomplete.component.d.ts +21 -0
- package/input/src/select-chips/select-chips.component.d.ts +10 -53
- package/input/src/select-many-checkbox/select-many-checkbox.component.d.ts +9 -49
- package/input/src/select-option/delegate-option-provider.directive.d.ts +13 -0
- package/input/src/select-option/select-option-provider.d.ts +10 -0
- package/input/src/select-option/select-option.component.d.ts +10 -0
- package/input/src/select-option/select-option.d.ts +4 -0
- package/input/src/select-radio/select-radio.component.d.ts +7 -45
- package/loader/index.d.ts +0 -1
- package/loader/src/loader.component.d.ts +3 -3
- package/loader/src/loader.service.d.ts +3 -3
- package/misc/index.d.ts +1 -15
- package/misc/src/cnpj/cnpj.directive.d.ts +2 -2
- package/misc/src/cnpj/cnpjs.pipe.d.ts +2 -2
- package/misc/src/cpf/cpf.directive.d.ts +2 -2
- package/misc/src/cpf/cpf.pipe.d.ts +2 -2
- package/misc/src/cpf-cnpj/cpf-cnpj.directive.d.ts +2 -2
- package/misc/src/cpf-cnpj/cpf-cnpj.pipe.d.ts +2 -2
- package/misc/src/mask/mask.pipe.d.ts +8 -0
- package/misc/src/monetario/monetario-mask.d.ts +1 -1
- package/misc/src/monetario/monetario.pipe.d.ts +1 -1
- package/misc/src/porcentagem/porcentagem-mask.d.ts +1 -1
- package/misc/src/porcentagem/porcentagem.pipe.d.ts +1 -1
- package/misc/src/telefone/telefone.pipe.d.ts +1 -1
- package/misc/src/unsafe-inner-html/unsafe-inner-html.directive.d.ts +1 -1
- package/package.json +19 -99
- package/pipe/index.d.ts +0 -1
- package/pipe/src/nome-resumido.pipe.d.ts +1 -1
- package/public-api.d.ts +2 -2
- package/table/index.d.ts +0 -2
- package/table/src/column/column-cell.directive.d.ts +1 -1
- package/table/src/column/column-footer.directive.d.ts +1 -1
- package/table/src/column/column-header.directive.d.ts +1 -1
- package/table/src/column/column.directive.d.ts +2 -2
- package/table/src/paginated-table/paginated-table.component.d.ts +10 -8
- package/table/src/paginator/paginator.component.d.ts +1 -1
- package/table/src/table/table.component.d.ts +7 -7
- package/table/src/td/td.component.d.ts +1 -1
- package/table/src/th/th.component.d.ts +1 -1
- package/arquivo/src/arquivo.module.d.ts +0 -17
- package/core/src/core.module.d.ts +0 -9
- package/crud/src/abstract-consulta-component.d.ts +0 -30
- package/date/index.d.ts +0 -3
- package/date/src/date.module.d.ts +0 -9
- package/date/src/validator/data-validator.directive.d.ts +0 -23
- package/date/src/validator/futuro.directive.d.ts +0 -8
- package/dialog/src/dialog.module.d.ts +0 -16
- package/esm2020/arquivo/index.mjs +0 -7
- package/esm2020/arquivo/main-class-componentes-arquivo.mjs +0 -5
- package/esm2020/arquivo/src/arquivo-manager.service.mjs +0 -3
- package/esm2020/arquivo/src/arquivo.module.mjs +0 -47
- package/esm2020/arquivo/src/download-arquivo.directive.mjs +0 -46
- package/esm2020/arquivo/src/imagem.directive.mjs +0 -89
- package/esm2020/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.mjs +0 -65
- package/esm2020/arquivo/src/preview-arquivo/preview-arquivo.component.mjs +0 -139
- package/esm2020/core/index.mjs +0 -6
- package/esm2020/core/main-class-componentes-core.mjs +0 -5
- package/esm2020/core/src/core.module.mjs +0 -32
- package/esm2020/core/src/criptografia/criptografia.service.mjs +0 -16
- package/esm2020/core/src/mensageria/mensageria.service.mjs +0 -57
- package/esm2020/core/src/mobile/mobile.service.mjs +0 -43
- package/esm2020/core/src/validator/valida-modulo11.service.mjs +0 -95
- package/esm2020/crud/index.mjs +0 -5
- package/esm2020/crud/main-class-componentes-crud.mjs +0 -5
- package/esm2020/crud/src/abstract-consulta-component.mjs +0 -55
- package/esm2020/crud/src/abstract-consulta-paginada-component.mjs +0 -48
- package/esm2020/crud/src/abstract-edicao-component.mjs +0 -30
- package/esm2020/crud/src/abstract-edicao-modal-component.mjs +0 -19
- package/esm2020/date/index.mjs +0 -4
- package/esm2020/date/main-class-componentes-date.mjs +0 -5
- package/esm2020/date/src/date.module.mjs +0 -25
- package/esm2020/date/src/validator/data-validator.directive.mjs +0 -105
- package/esm2020/date/src/validator/futuro.directive.mjs +0 -33
- package/esm2020/dialog/index.mjs +0 -5
- package/esm2020/dialog/main-class-componentes-dialog.mjs +0 -5
- package/esm2020/dialog/src/dialog-confirmacao/dialog-confirmacao.component.mjs +0 -44
- package/esm2020/dialog/src/dialog-iframe/dialog-iframe.component.mjs +0 -60
- package/esm2020/dialog/src/dialog.module.mjs +0 -53
- package/esm2020/dialog/src/dialog.service.mjs +0 -53
- package/esm2020/form/index.mjs +0 -5
- package/esm2020/form/main-class-componentes-form.mjs +0 -5
- package/esm2020/form/src/form.component.mjs +0 -106
- package/esm2020/form/src/form.module.mjs +0 -36
- package/esm2020/form/src/mensagens-erro/mensagens-erro.component.mjs +0 -33
- package/esm2020/form/src/single-click.directive.mjs +0 -35
- package/esm2020/input/index.mjs +0 -24
- package/esm2020/input/main-class-componentes-input.mjs +0 -5
- package/esm2020/input/src/abstract-mat-form-field-control.mjs +0 -116
- package/esm2020/input/src/input-datetime/input-datetime.component.mjs +0 -130
- package/esm2020/input/src/input-datetime/input-datetime.module.mjs +0 -101
- package/esm2020/input/src/input-fileupload/input-fileupload.component.mjs +0 -357
- package/esm2020/input/src/input-fileupload/input-fileupload.directive.mjs +0 -37
- package/esm2020/input/src/input-fileupload/input-fileupload.module.mjs +0 -57
- package/esm2020/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.mjs +0 -29
- package/esm2020/input/src/input-telefone-internacional/input-telefone-internacional.component.mjs +0 -78
- package/esm2020/input/src/input-telefone-internacional/input-telefone-internacional.module.mjs +0 -33
- package/esm2020/input/src/option-checkbox/all-option-checkbox.component.mjs +0 -38
- package/esm2020/input/src/option-checkbox/node-pool.mjs +0 -93
- package/esm2020/input/src/option-checkbox/option-checkbox-group.component.mjs +0 -80
- package/esm2020/input/src/option-checkbox/option-checkbox.component.mjs +0 -62
- package/esm2020/input/src/option-checkbox/option-checkbox.module.mjs +0 -39
- package/esm2020/input/src/option-checkbox/option-checkbox.service.mjs +0 -54
- package/esm2020/input/src/option-checkbox/option-node.mjs +0 -24
- package/esm2020/input/src/select-chips/select-chips.component.mjs +0 -202
- package/esm2020/input/src/select-chips/select-chips.module.mjs +0 -40
- package/esm2020/input/src/select-chips-autocomplete/select-chips-autocomplete.component.mjs +0 -207
- package/esm2020/input/src/select-chips-autocomplete/select-chips-autocomplete.module.mjs +0 -40
- package/esm2020/input/src/select-item/select-item.component.mjs +0 -19
- package/esm2020/input/src/select-item/select-item.module.mjs +0 -20
- package/esm2020/input/src/select-many-checkbox/select-many-checkbox.component.mjs +0 -170
- package/esm2020/input/src/select-many-checkbox/select-many-checkbox.module.mjs +0 -32
- package/esm2020/input/src/select-radio/select-radio.component.mjs +0 -143
- package/esm2020/input/src/select-radio/select-radio.module.mjs +0 -32
- package/esm2020/loader/index.mjs +0 -4
- package/esm2020/loader/main-class-componentes-loader.mjs +0 -5
- package/esm2020/loader/src/loader.component.mjs +0 -125
- package/esm2020/loader/src/loader.module.mjs +0 -37
- package/esm2020/loader/src/loader.service.mjs +0 -72
- package/esm2020/main-class-componentes.mjs +0 -5
- package/esm2020/misc/index.mjs +0 -27
- package/esm2020/misc/main-class-componentes-misc.mjs +0 -5
- package/esm2020/misc/src/cnpj/cnpj-model.directive.mjs +0 -17
- package/esm2020/misc/src/cnpj/cnpj.directive.mjs +0 -36
- package/esm2020/misc/src/cnpj/cnpj.module.mjs +0 -26
- package/esm2020/misc/src/cnpj/cnpjs.pipe.mjs +0 -19
- package/esm2020/misc/src/cpf/cpf-model.directive.mjs +0 -17
- package/esm2020/misc/src/cpf/cpf.directive.mjs +0 -36
- package/esm2020/misc/src/cpf/cpf.module.mjs +0 -24
- package/esm2020/misc/src/cpf/cpf.pipe.mjs +0 -19
- package/esm2020/misc/src/cpf-cnpj/cpf-cnpj-model.directive.mjs +0 -29
- package/esm2020/misc/src/cpf-cnpj/cpf-cnpj.directive.mjs +0 -37
- package/esm2020/misc/src/cpf-cnpj/cpf-cnpj.module.mjs +0 -24
- package/esm2020/misc/src/cpf-cnpj/cpf-cnpj.pipe.mjs +0 -22
- package/esm2020/misc/src/info/info.component.mjs +0 -20
- package/esm2020/misc/src/info/info.module.mjs +0 -24
- package/esm2020/misc/src/monetario/monetario-mask.mjs +0 -32
- package/esm2020/misc/src/monetario/monetario-model.directive.mjs +0 -133
- package/esm2020/misc/src/monetario/monetario.module.mjs +0 -21
- package/esm2020/misc/src/monetario/monetario.pipe.mjs +0 -17
- package/esm2020/misc/src/porcentagem/porcentagem-mask.mjs +0 -32
- package/esm2020/misc/src/porcentagem/porcentagem-model.directive.mjs +0 -108
- package/esm2020/misc/src/porcentagem/porcentagem.module.mjs +0 -21
- package/esm2020/misc/src/porcentagem/porcentagem.pipe.mjs +0 -17
- package/esm2020/misc/src/telefone/telefone-model.directive.mjs +0 -29
- package/esm2020/misc/src/telefone/telefone.module.mjs +0 -25
- package/esm2020/misc/src/telefone/telefone.pipe.mjs +0 -37
- package/esm2020/misc/src/unsafe-inner-html/unsafe-inner-html.directive.mjs +0 -25
- package/esm2020/misc/src/unsafe-inner-html/unsafe-inner-html.module.mjs +0 -20
- package/esm2020/model/index.mjs +0 -3
- package/esm2020/model/main-class-componentes-model.mjs +0 -5
- package/esm2020/model/src/masked-model.directive.mjs +0 -155
- package/esm2020/model/src/model.module.mjs +0 -24
- package/esm2020/pipe/index.mjs +0 -3
- package/esm2020/pipe/main-class-componentes-pipe.mjs +0 -5
- package/esm2020/pipe/src/nome-resumido.pipe.mjs +0 -20
- package/esm2020/pipe/src/pipe.module.mjs +0 -24
- package/esm2020/public-api.mjs +0 -5
- package/esm2020/scroll/index.mjs +0 -3
- package/esm2020/scroll/main-class-componentes-scroll.mjs +0 -5
- package/esm2020/scroll/src/scroll-container/scroll-container.component.mjs +0 -72
- package/esm2020/scroll/src/scroll.module.mjs +0 -22
- package/esm2020/table/index.mjs +0 -12
- package/esm2020/table/main-class-componentes-table.mjs +0 -5
- package/esm2020/table/src/column/column-cell.directive.mjs +0 -16
- package/esm2020/table/src/column/column-footer.directive.mjs +0 -16
- package/esm2020/table/src/column/column-header.directive.mjs +0 -16
- package/esm2020/table/src/column/column.directive.mjs +0 -37
- package/esm2020/table/src/infinite-table/infinite-table.component.mjs +0 -95
- package/esm2020/table/src/paginated-table/paginated-table.component.mjs +0 -69
- package/esm2020/table/src/paginator/paginator.component.mjs +0 -19
- package/esm2020/table/src/paginator-i18n.mjs +0 -23
- package/esm2020/table/src/table/table.component.mjs +0 -119
- package/esm2020/table/src/table.module.mjs +0 -120
- package/esm2020/table/src/td/td.component.mjs +0 -18
- package/esm2020/table/src/th/th.component.mjs +0 -18
- package/esm2020/util/index.mjs +0 -2
- package/esm2020/util/main-class-componentes-util.mjs +0 -5
- package/esm2020/util/src/string.util.mjs +0 -12
- package/fesm2015/main-class-componentes-arquivo.mjs +0 -389
- package/fesm2015/main-class-componentes-arquivo.mjs.map +0 -1
- package/fesm2015/main-class-componentes-core.mjs +0 -225
- package/fesm2015/main-class-componentes-core.mjs.map +0 -1
- package/fesm2015/main-class-componentes-crud.mjs +0 -176
- package/fesm2015/main-class-componentes-crud.mjs.map +0 -1
- package/fesm2015/main-class-componentes-date.mjs +0 -162
- package/fesm2015/main-class-componentes-date.mjs.map +0 -1
- package/fesm2015/main-class-componentes-dialog.mjs +0 -206
- package/fesm2015/main-class-componentes-dialog.mjs.map +0 -1
- package/fesm2015/main-class-componentes-form.mjs +0 -209
- package/fesm2015/main-class-componentes-form.mjs.map +0 -1
- package/fesm2015/main-class-componentes-input.mjs +0 -2103
- package/fesm2015/main-class-componentes-input.mjs.map +0 -1
- package/fesm2015/main-class-componentes-loader.mjs +0 -236
- package/fesm2015/main-class-componentes-loader.mjs.map +0 -1
- package/fesm2015/main-class-componentes-misc.mjs +0 -787
- package/fesm2015/main-class-componentes-misc.mjs.map +0 -1
- package/fesm2015/main-class-componentes-model.mjs +0 -183
- package/fesm2015/main-class-componentes-model.mjs.map +0 -1
- package/fesm2015/main-class-componentes-pipe.mjs +0 -48
- package/fesm2015/main-class-componentes-pipe.mjs.map +0 -1
- package/fesm2015/main-class-componentes-scroll.mjs +0 -98
- package/fesm2015/main-class-componentes-scroll.mjs.map +0 -1
- package/fesm2015/main-class-componentes-table.mjs +0 -532
- package/fesm2015/main-class-componentes-table.mjs.map +0 -1
- package/fesm2015/main-class-componentes-util.mjs +0 -18
- package/fesm2015/main-class-componentes-util.mjs.map +0 -1
- package/fesm2015/main-class-componentes.mjs.map +0 -1
- package/fesm2020/main-class-componentes-arquivo.mjs +0 -372
- package/fesm2020/main-class-componentes-arquivo.mjs.map +0 -1
- package/fesm2020/main-class-componentes-core.mjs.map +0 -1
- package/fesm2020/main-class-componentes-crud.mjs +0 -154
- package/fesm2020/main-class-componentes-crud.mjs.map +0 -1
- package/fesm2020/main-class-componentes-date.mjs +0 -162
- package/fesm2020/main-class-componentes-date.mjs.map +0 -1
- package/fesm2020/main-class-componentes-dialog.mjs +0 -201
- package/fesm2020/main-class-componentes-dialog.mjs.map +0 -1
- package/fesm2020/main-class-componentes-form.mjs +0 -204
- package/fesm2020/main-class-componentes-form.mjs.map +0 -1
- package/fesm2020/main-class-componentes-input.mjs +0 -2085
- package/fesm2020/main-class-componentes-input.mjs.map +0 -1
- package/fesm2020/main-class-componentes-loader.mjs.map +0 -1
- package/fesm2020/main-class-componentes-misc.mjs +0 -785
- package/fesm2020/main-class-componentes-misc.mjs.map +0 -1
- package/fesm2020/main-class-componentes-model.mjs +0 -183
- package/fesm2020/main-class-componentes-model.mjs.map +0 -1
- package/fesm2020/main-class-componentes-pipe.mjs +0 -48
- package/fesm2020/main-class-componentes-pipe.mjs.map +0 -1
- package/fesm2020/main-class-componentes-scroll.mjs +0 -98
- package/fesm2020/main-class-componentes-scroll.mjs.map +0 -1
- package/fesm2020/main-class-componentes-table.mjs +0 -519
- package/fesm2020/main-class-componentes-table.mjs.map +0 -1
- package/fesm2020/main-class-componentes-util.mjs +0 -18
- package/fesm2020/main-class-componentes-util.mjs.map +0 -1
- package/fesm2020/main-class-componentes.mjs +0 -9
- package/fesm2020/main-class-componentes.mjs.map +0 -1
- package/form/src/form.module.d.ts +0 -12
- package/input/src/input-datetime/input-datetime.module.d.ts +0 -13
- package/input/src/input-fileupload/input-fileupload.module.d.ts +0 -18
- package/input/src/input-telefone-internacional/input-telefone-internacional.module.d.ts +0 -11
- package/input/src/option-checkbox/option-checkbox.module.d.ts +0 -14
- package/input/src/select-chips/select-chips.module.d.ts +0 -13
- package/input/src/select-chips-autocomplete/select-chips-autocomplete.component.d.ts +0 -60
- package/input/src/select-chips-autocomplete/select-chips-autocomplete.module.d.ts +0 -13
- package/input/src/select-item/select-item.component.d.ts +0 -11
- package/input/src/select-item/select-item.module.d.ts +0 -8
- package/input/src/select-many-checkbox/select-many-checkbox.module.d.ts +0 -11
- package/input/src/select-radio/select-radio.module.d.ts +0 -11
- package/loader/src/loader.module.d.ts +0 -11
- package/misc/src/cnpj/cnpj-model.directive.d.ts +0 -8
- package/misc/src/cnpj/cnpj.module.d.ts +0 -11
- package/misc/src/cpf/cpf-model.directive.d.ts +0 -8
- package/misc/src/cpf/cpf.module.d.ts +0 -10
- package/misc/src/cpf-cnpj/cpf-cnpj-model.directive.d.ts +0 -10
- package/misc/src/cpf-cnpj/cpf-cnpj.module.d.ts +0 -10
- package/misc/src/info/info.component.d.ts +0 -9
- package/misc/src/info/info.module.d.ts +0 -9
- package/misc/src/monetario/monetario-model.directive.d.ts +0 -32
- package/misc/src/monetario/monetario.module.d.ts +0 -9
- package/misc/src/porcentagem/porcentagem-model.directive.d.ts +0 -28
- package/misc/src/porcentagem/porcentagem.module.d.ts +0 -9
- package/misc/src/telefone/telefone-model.directive.d.ts +0 -10
- package/misc/src/telefone/telefone.module.d.ts +0 -10
- package/misc/src/unsafe-inner-html/unsafe-inner-html.module.d.ts +0 -8
- package/model/index.d.ts +0 -2
- package/model/src/masked-model.directive.d.ts +0 -31
- package/model/src/model.module.d.ts +0 -8
- package/pipe/src/pipe.module.d.ts +0 -8
- package/scroll/index.d.ts +0 -2
- package/scroll/src/scroll-container/scroll-container.component.d.ts +0 -34
- package/scroll/src/scroll.module.d.ts +0 -8
- package/table/src/infinite-table/infinite-table.component.d.ts +0 -21
- package/table/src/table.module.d.ts +0 -29
- package/util/index.d.ts +0 -1
- package/util/src/string.util.d.ts +0 -4
package/README.md
CHANGED
|
@@ -1,24 +1,63 @@
|
|
|
1
1
|
# Componentes
|
|
2
2
|
|
|
3
|
-
This
|
|
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
|
-
|
|
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
|
-
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
15
18
|
|
|
16
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
61
|
+
## Additional Resources
|
|
23
62
|
|
|
24
|
-
|
|
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.
|
package/arquivo/index.d.ts
CHANGED
|
@@ -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,
|
|
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,
|
|
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
|
}
|
package/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts
CHANGED
|
@@ -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,
|
|
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
|
|
10
|
-
type
|
|
9
|
+
filename?: string;
|
|
10
|
+
type?: 'image' | 'pdf' | 'other';
|
|
11
11
|
showLoading: boolean;
|
|
12
12
|
height: string;
|
|
13
13
|
width: string;
|
|
14
|
-
group
|
|
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,
|
|
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
package/crud/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export * from './src/
|
|
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
|
|
11
|
-
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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;
|